/* WICOS Mobile Detailing — site styles */
@font-face { font-family: Poppins; font-weight: 400; font-display: swap; src: url(fonts/poppins-regular.woff2) format("woff2"); }
@font-face { font-family: Poppins; font-weight: 500; font-display: swap; src: url(fonts/poppins-medium.woff2) format("woff2"); }
@font-face { font-family: Poppins; font-weight: 700; font-display: swap; src: url(fonts/poppins-bold.woff2) format("woff2"); }

:root {
  --deep: #0E1620;
  --deep-2: #1B2B3D;
  --ocean: #1A6BC4;
  --ocean-dark: #14559E;
  --foam: #6AAEF2;
  --foam-soft: #EAF2FC;
  --sun: #FFD166;
  --bg: #F7F9FC;
  --surface: #FFFFFF;
  --ink: #111111;
  --muted: #5B6676;
  --line: #DDE3EC;
  --danger: #C2412D;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(14,22,32,.06), 0 8px 24px rgba(14,22,32,.08);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.6 Poppins, system-ui, -apple-system, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
a { color: var(--ocean); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 760px; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4em; background: var(--ocean); color: #fff; border: 2px solid var(--ocean); border-radius: 999px; padding: .6em 1.3em; font-family: inherit; font-weight: 500; font-size: 1rem; line-height: 1.2; text-decoration: none; cursor: pointer; transition: background .15s, transform .1s, border-color .15s; }
.btn:hover { background: var(--ocean-dark); border-color: var(--ocean-dark); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn-sm { padding: .45em 1em; font-size: .9rem; }
.btn-lg { padding: .8em 1.6em; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn-outline { background: transparent; color: var(--ocean); }
.btn-outline:hover { background: var(--foam-soft); color: var(--ocean-dark); }
.btn-ghost { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.55); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.2); border-color: #fff; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand img { display: block; height: 40px; width: auto; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 500; font-size: .95rem; }
.nav a:not(.btn):hover { color: var(--ocean); }

/* Hero */
.hero { position: relative; color: #fff; background: radial-gradient(900px 480px at 85% 10%, rgba(26,107,196,.45) 0%, transparent 65%), linear-gradient(160deg, var(--deep-2), var(--deep) 70%); padding: 72px 0 120px; overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; gap: 32px; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .8rem; font-weight: 500; color: var(--foam); margin: 0 0 12px; }
.hero h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); font-weight: 700; letter-spacing: -.01em; }
.lead { font-size: 1.15rem; color: #D3DEEA; max-width: 34em; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 22px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 8px 22px; padding: 0; margin: 0; list-style: none; font-size: .95rem; color: #D3DEEA; }
.hero-points li::before { content: "✓"; color: var(--foam); font-weight: 700; margin-right: 8px; }
.hero-art { display: grid; place-items: center; }
.hero-art img { width: min(440px, 100%); height: auto; }
@keyframes bob { 50% { transform: translateY(-10px); } }
@media (prefers-reduced-motion: reduce) { .hero-art img { animation: none; } html { scroll-behavior: auto; } }
.hero-wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 90px; }

/* Sections */
.section { padding: 72px 0; }
.section-alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-title { font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--deep); }
.section-sub { color: var(--muted); max-width: 40em; margin: 0 0 32px; }

/* Service cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.card h3 { color: var(--deep); font-size: 1.25rem; }
.card p { margin: 0 0 12px; }
.card .btn { margin-top: auto; }
.card-popular { border: 2px solid var(--ocean); }
.badge { position: absolute; top: -12px; left: 24px; background: var(--ocean); color: #fff; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; padding: 3px 10px; border-radius: 999px; }
.price { font-size: 2rem; font-weight: 700; color: var(--ocean); margin: 0 0 2px !important; }
.price span { font-size: .9rem; font-weight: 500; color: var(--muted); }
.extras { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 28px; }
.extras h3 { font-size: 1rem; color: var(--deep); }
.price-list { list-style: none; padding: 0; margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.price-list li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 18px; border-bottom: 1px solid var(--line); }
.price-list li:last-child { border-bottom: 0; }
.price-list li span:last-child { font-weight: 500; color: var(--ocean); white-space: nowrap; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0 0 40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.steps li { background: var(--bg); border-radius: var(--radius); padding: 24px; }
.steps h3 { font-size: 1.1rem; color: var(--deep); margin-top: 12px; }
.steps p { margin: 0; color: var(--muted); }
.step-n { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--ocean); color: #fff; font-weight: 700; font-size: .95rem; flex: none; }
.area h3 { font-size: 1rem; color: var(--deep); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 10px; }
.chips li { background: var(--foam-soft); color: var(--deep); border-radius: 999px; padding: 6px 14px; font-size: .9rem; font-weight: 500; }

/* Contact */
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.contact-card { display: flex; flex-direction: column; gap: 4px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.contact-name { font-size: .8rem; font-weight: 500; text-transform: uppercase; letter-spacing: .12em; color: var(--ocean); }
.contact-phone { font-size: 1.45rem; font-weight: 700; color: var(--ink); text-decoration: none; }
.contact-email { font-size: 1.02rem; word-break: break-all; padding: 6px 0 4px; }
.contact-actions { display: flex; gap: 8px; margin-top: 10px; }

/* Booking */
.book-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 24px; align-items: start; }
.book-form { display: grid; gap: 20px; }
.step { border: 1px solid var(--line); background: var(--surface); border-radius: var(--radius); padding: 22px; margin: 0; min-width: 0; box-shadow: var(--shadow); }
.step legend { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--deep); font-size: 1.1rem; padding: 0; float: left; width: 100%; margin-bottom: 16px; }
.step legend + * { clear: both; }
.label { font-weight: 500; margin: 18px 0 8px; font-size: .95rem; }
.opt-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.opt { position: relative; cursor: pointer; }
.opt input, .seg input, .check input { position: absolute; opacity: 0; pointer-events: none; }
.opt-body { display: flex; flex-direction: column; gap: 2px; height: 100%; border: 2px solid var(--line); border-radius: 12px; padding: 12px 14px; transition: border-color .15s, background .15s; }
.opt-body .muted { font-size: .85rem; }
.opt input:checked + .opt-body { border-color: var(--ocean); background: var(--foam-soft); }
.opt input:focus-visible + .opt-body, .seg input:focus-visible + span, .check input:focus-visible + span { outline: 3px solid var(--sun); outline-offset: 2px; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg label { cursor: pointer; }
.seg span, .check span { display: inline-block; border: 2px solid var(--line); border-radius: 999px; padding: 7px 14px; font-size: .92rem; transition: all .15s; }
.seg input:checked + span { border-color: var(--ocean); background: var(--ocean); color: #fff; }
.addon-list { display: flex; flex-wrap: wrap; gap: 8px; }
.check { cursor: pointer; }
.check em { font-style: normal; color: var(--muted); }
.check input:checked + span { border-color: var(--ocean); background: var(--foam-soft); }
.check input:checked + span::before { content: "✓ "; color: var(--ocean); font-weight: 700; }

.days-wrap { display: flex; align-items: center; gap: 6px; }
.days { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 2px; flex: 1; }
.days::-webkit-scrollbar { display: none; }
.day-nav { flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--deep); font-size: 1.3rem; line-height: 1; cursor: pointer; }
.day-nav:hover { background: var(--foam-soft); }
.day { flex: none; scroll-snap-align: start; width: 68px; display: flex; flex-direction: column; align-items: center; gap: 0; border: 2px solid var(--line); border-radius: 12px; background: var(--surface); padding: 8px 4px; cursor: pointer; font: inherit; color: var(--ink); }
.day .dow { font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.day .dnum { font-size: 1.35rem; font-weight: 700; line-height: 1.2; }
.day .mon { font-size: .75rem; color: var(--muted); }
.day .open { font-size: .7rem; color: var(--ocean); font-weight: 500; margin-top: 2px; }
.day:hover:not(:disabled) { border-color: var(--foam); }
.day[aria-selected="true"] { border-color: var(--ocean); background: var(--ocean); color: #fff; }
.day[aria-selected="true"] .dow, .day[aria-selected="true"] .mon, .day[aria-selected="true"] .open { color: #DCE9F8; }
.day:disabled { cursor: not-allowed; opacity: .45; background: var(--bg); }
.day:disabled .open { color: var(--muted); }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 8px; margin-top: 16px; }
.slots:empty { display: none; }
.slots .hint { grid-column: 1 / -1; margin: 0; color: var(--muted); }
.slot { border: 2px solid var(--line); background: var(--surface); border-radius: 10px; padding: 9px 4px; font-family: inherit; font-weight: 500; font-size: .95rem; color: var(--ink); cursor: pointer; }
.slot:hover { border-color: var(--foam); }
.slot[aria-pressed="true"] { border-color: var(--ocean); background: var(--ocean); color: #fff; }

.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: .92rem; font-weight: 500; }
.field-wide { grid-column: 1 / -1; }
.field input, .field select, .field textarea { font-family: inherit; font-size: 1rem; line-height: 1.4; color: var(--ink); background: var(--surface); border: 1.5px solid var(--line); border-radius: 10px; padding: 11px 12px; width: 100%; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ocean); box-shadow: 0 0 0 3px rgba(26,107,196,.18); }
.field .invalid, .field input[aria-invalid="true"] { border-color: var(--danger); }
.err { color: var(--danger); font-size: .85rem; font-style: normal; font-weight: 500; margin: 6px 0 0; }
.err:empty { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.summary { position: sticky; top: 88px; background: var(--deep); color: #fff; border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.summary h3 { font-size: 1.1rem; }
.summary dl { margin: 0 0 16px; display: grid; grid-template-columns: auto 1fr; gap: 8px 14px; font-size: .92rem; }
.summary dt { color: #9FB0C4; }
.summary dd { margin: 0; text-align: right; font-weight: 500; }
.sum-total { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid rgba(255,255,255,.18); padding-top: 14px; margin-bottom: 8px; }
.sum-total strong { font-size: 1.9rem; color: var(--foam); }
.summary .muted { color: #9FB0C4; }
.summary .btn { background: var(--foam); border-color: var(--foam); color: var(--deep); font-weight: 700; margin-top: 6px; }
.summary .btn:hover:not(:disabled) { background: #fff; border-color: #fff; }
.summary .err { color: #FFB4A6; }

.success { max-width: 560px; margin: 0 auto; text-align: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 40px 28px; box-shadow: var(--shadow); }
.success:focus { outline: none; }
.success-icon { width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 50%; display: grid; place-items: center; background: var(--foam-soft); color: var(--ocean); font-size: 2rem; font-weight: 700; }
.success h3 { color: var(--deep); font-size: 1.5rem; }
.ref { font-size: 1.1rem; }
.ref strong { font-family: ui-monospace, Menlo, monospace; background: var(--foam-soft); color: var(--deep); padding: 2px 10px; border-radius: 6px; letter-spacing: .05em; }
.alert { background: #FFF4E5; border: 1px solid #F5C77E; padding: 12px 16px; border-radius: 10px; }

/* FAQ */
details { border-bottom: 1px solid var(--line); padding: 16px 0; }
summary { cursor: pointer; font-weight: 500; color: var(--deep); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--ocean); }
details[open] summary::after { content: "–"; }
details p { margin: 10px 0 0; color: var(--muted); }

/* Footer */
.site-footer { background: var(--deep); color: #D3DEEA; padding: 40px 0; }
.footer-inner { display: flex; gap: 32px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.footer-inner img { height: 40px; width: auto; }
.footer-inner p { margin: 0 0 4px; text-align: right; }
.site-footer a { color: #fff; }
.site-footer .muted { color: #8C9AAD; }

/* Responsive */
@media (max-width: 900px) {
  .book-layout { grid-template-columns: 1fr; }
  .summary { position: static; }
  .cards, .steps, .contact-cards { grid-template-columns: 1fr; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-art { display: none; }
}
@media (max-width: 640px) {
  .nav a:not(.btn) { display: none; }
  .brand img { height: 38px; }
  .hero { padding: 48px 0 100px; }
  .section { padding: 52px 0; }
  .extras, .fields, .opt-grid { grid-template-columns: 1fr; }
  .day-nav { display: none; }
  .step { padding: 18px 16px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-inner p { text-align: left; }
}
