/* ==========================================================================
   AUTOHAUS website - styles.css   (v3, clean showroom style)
   Built by MEdge Studios.

   1. Tokens            6. Vehicle card          11. Track and request
   2. Base              7. Inventory page        12. Footer and credit
   3. Navigation        8. Vehicle detail        13. Floating WhatsApp button
   4. Buttons, fields   9. Route map + stats     14. Style guide
   5. Hero slideshow    10. Why AUTOHAUS, FAQ
   ========================================================================== */

/* 1. Tokens */
:root {
  --ink: #000000;           /* headings, primary text */
  --text: #111827;
  --gray: #4B5563;          /* body copy */
  --gray-2: #6B7280;        /* captions */
  --line: rgba(0, 0, 0, .1);/* borders */
  --zinc-50: #FAFAFA;       /* alternate section */
  --zinc-100: #F4F4F5;      /* image wells, map */
  --white: #FFFFFF;
  --brand: #F0501E;         /* AUTOHAUS orange: buttons, accent words, badges */
  --brand-hover: #D9420F;
  --brand-text: #D9420F;    /* orange used for small text */
  --brand-soft: rgba(240, 80, 30, .15);
  --wa: #1FA855;
  --danger: #DC2626;
  --success: #15803D;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif;
  --r-sm: 6px; --r-lg: 16px; --pill: 999px;
  --wrap: 1280px;
  --nav-h: 64px;
  color-scheme: light;
}

/* 2. Base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }
body { margin: 0; background: var(--white); color: var(--text); font: 400 16px/1.5 var(--font); -webkit-font-smoothing: antialiased; }
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); letter-spacing: -0.02em; line-height: 1.1; }
p { margin: 0; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
@media (min-width: 640px) { .wrap { padding-inline: 24px; } }
@media (min-width: 1024px) { .wrap { padding-inline: 32px; } }
.accent { color: var(--brand); }
.muted { color: var(--gray); }
.num { font-variant-numeric: tabular-nums; }
.section { padding-block: 96px; }
.section--tight { padding-block: 64px; }
.section--zinc { background: var(--zinc-50); }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px 24px; margin-bottom: 48px; }
.section-head h2, .h2 { font-size: clamp(30px, 3.6vw, 36px); font-weight: 700; }
.section-head p { color: var(--gray); margin-top: 8px; }
.link-arrow { display: inline-flex; align-items: center; gap: 4px; color: var(--brand-text); font-weight: 500; }
.link-arrow:hover { color: var(--brand); }
.icon { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon--lg { width: 24px; height: 24px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--white); padding: 8px 12px; border-radius: var(--r-sm); }
.skip-link:focus { left: 8px; }
.page-head { padding-top: calc(var(--nav-h) + 48px); padding-bottom: 32px; }
.page-head h1 { font-size: clamp(36px, 5vw, 56px); font-weight: 700; }
.page-head p { color: var(--gray); font-size: 18px; margin-top: 12px; max-width: 64ch; }
.crumbs { font-size: 14px; color: var(--gray-2); margin-bottom: 16px; }
.crumbs a:hover { color: var(--ink); }
.row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.stack { display: grid; gap: 16px; }

/* 3. Navigation (frosted, fixed) */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; background: rgba(255,255,255,.8); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); border-bottom: 1px solid var(--line); padding-top: env(safe-area-inset-top, 0px); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: var(--nav-h); }
.wordmark { font-weight: 900; font-size: 22px; letter-spacing: -0.02em; color: var(--ink); }
.wordmark span { color: var(--brand); }
.nav__links { display: flex; align-items: center; gap: 32px; }
.nav__links a { font-size: 14px; font-weight: 500; color: var(--gray); transition: color .15s; }
.nav__links a:hover, .nav__links a[aria-current="page"] { color: var(--ink); }
.nav__toggle { display: none; background: none; border: 0; color: var(--ink); padding: 8px; margin-right: -8px; cursor: pointer; }
.nav__toggle .icon { width: 24px; height: 24px; }
.nav__menu { display: none; }
@media (max-width: 1023px) { .nav__links { gap: 18px; } }
@media (max-width: 860px) {
  .nav__links { display: none; }
  .nav__toggle { display: inline-flex; }
  .nav__menu.is-open { display: grid; padding: 8px 16px 20px; border-top: 1px solid var(--line); background: var(--white); }
  .nav__menu a { padding: 14px 0; border-bottom: 1px solid var(--line); font-weight: 500; }
  .nav__menu .btn { margin-top: 16px; }
}

/* 4. Buttons and fields */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid transparent; border-radius: var(--pill); font-weight: 500; font-size: 15px; line-height: 1; cursor: pointer; white-space: nowrap; transition: background-color .15s, border-color .15s, color .15s; }
.btn--brand { background: var(--brand); color: #fff; }
.btn--brand:hover { background: var(--brand-hover); }
.btn--white { background: #fff; color: var(--ink); }
.btn--white:hover { background: rgba(255,255,255,.9); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #222; }
.btn--outline { background: #fff; color: var(--ink); border-color: var(--line); }
.btn--outline:hover { border-color: rgba(0,0,0,.35); }
.btn--wa { background: var(--wa); color: #fff; }
.btn--wa:hover { background: #188F48; }
.btn--sm { height: 36px; padding: 0 20px; font-size: 14px; }
.btn--md { height: 48px; padding: 0 32px; }
.btn--lg { height: 56px; padding: 0 32px; font-size: 16px; }
.btn--block { width: 100%; }
.btn--square { border-radius: var(--r-sm); height: 36px; padding: 0 16px; font-size: 14px; box-shadow: 0 1px 2px rgba(0,0,0,.06); }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.field { display: grid; gap: 6px; min-width: 0; }
.field > label, .field__label { font-size: 14px; font-weight: 500; color: var(--ink); }
.field__hint { font-size: 13px; color: var(--gray-2); }
.input, .select, .textarea { width: 100%; height: 44px; padding: 0 14px; border: 1px solid rgba(0,0,0,.15); border-radius: 10px; background: #fff; color: var(--ink); font: 400 15px var(--font); }
.textarea { height: auto; min-height: 104px; padding: 12px 14px; resize: vertical; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(0,0,0,.06); }
.input[aria-invalid="true"] { border-color: var(--danger); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .span-2 { grid-column: 1 / -1; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
.form-error { color: var(--danger); font-size: 14px; font-weight: 500; }
.pill { display: inline-flex; align-items: center; font-size: 12px; line-height: 1; padding: 6px 10px; border-radius: var(--pill); white-space: nowrap; }
.pill--glass { background: rgba(255,255,255,.8); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: var(--ink); }
.pill--brand { background: var(--brand); color: #fff; }
.pill--soft { background: var(--brand-soft); color: var(--brand-text); font-weight: 500; }
.pill--green { background: #DCFCE7; color: var(--success); font-weight: 500; }
.toggle { display: inline-flex; background: var(--zinc-100); border-radius: var(--pill); padding: 4px; gap: 4px; }
.toggle button { border: 0; background: transparent; color: var(--gray); padding: 0 18px; height: 36px; border-radius: var(--pill); font-size: 14px; font-weight: 500; cursor: pointer; }
.toggle button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.12); }

/* 5. Hero slideshow (full screen) */
.hero { position: relative; height: 100svh; min-height: 600px; overflow: hidden; background: #000; }
.hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity .9s ease; }
.hero__slide.is-active { opacity: 1; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; }
.hero__slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.6) 0%, rgba(0,0,0,.25) 50%, rgba(0,0,0,.7) 100%); }
.hero__content { position: relative; z-index: 10; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: calc(var(--nav-h) + 16px) 20px 80px; color: #fff; }
.hero__brand { font-size: clamp(30px, 5vw, 60px); font-weight: 900; letter-spacing: -0.02em; margin-bottom: 16px; }
.hero__brand span { color: var(--brand); }
.hero h1 { color: #fff; font-size: clamp(30px, 6vw, 72px); font-weight: 700; letter-spacing: -0.03em; margin-bottom: 20px; max-width: 16ch; text-wrap: balance; }
.hero h1 span { color: var(--brand); }
.hero__caption { font-size: clamp(16px, 1.6vw, 20px); color: #fff; text-decoration: underline; text-underline-offset: 4px; margin-bottom: 40px; }
.hero__caption:hover { color: rgba(255,255,255,.85); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }
.hero__arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 20; width: 44px; height: 44px; border-radius: 12px; border: 0; background: rgba(255,255,255,.25); color: #fff; display: grid; place-items: center; cursor: pointer; transition: background .15s; }
.hero__arrow:hover { background: rgba(255,255,255,.45); }
.hero__arrow .icon { width: 22px; height: 22px; }
.hero__arrow--prev { left: max(12px, env(safe-area-inset-left, 0px)); }
.hero__arrow--next { right: max(12px, env(safe-area-inset-right, 0px)); }
.hero__dots { position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%); z-index: 20; display: flex; gap: 12px; }
.hero__dots button { width: 10px; height: 10px; border-radius: var(--pill); border: 0; padding: 0; background: rgba(255,255,255,.4); cursor: pointer; transition: width .3s, background .3s; }
.hero__dots button[aria-current="true"] { width: 32px; background: #fff; }
@media (min-width: 768px) { .hero__arrow--prev { left: 24px; } .hero__arrow--next { right: 24px; } }
@media (max-width: 640px) { .hero__content { justify-content: flex-end; } .hero__ctas { flex-direction: column; width: 100%; max-width: 320px; } .hero__ctas .btn { width: 100%; } .hero__arrow { top: 38%; } }

/* Feature band (video + copy), like the reference's subscription band */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.feature video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--zinc-100); border-radius: var(--r-lg); }
.feature h2 { font-size: clamp(30px, 4.4vw, 48px); font-weight: 700; }
.feature p { color: var(--gray); font-size: 18px; margin-top: 16px; }
.feature ul { margin: 20px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; color: var(--text); }
.feature li { display: flex; gap: 10px; align-items: flex-start; }
.feature li .icon { color: var(--brand); margin-top: 4px; }
.feature .btn { margin-top: 32px; }
@media (max-width: 767px) { .feature { grid-template-columns: 1fr; } .feature > div:last-child { text-align: center; } .feature ul { text-align: left; } }

/* 6. Vehicle card */
.cars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
@media (max-width: 1023px) { .cars { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; } }
@media (max-width: 680px) { .cars { grid-template-columns: 1fr; } }
.car { position: relative; min-width: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; transition: transform .3s, border-color .3s; }
.car:hover { transform: translateY(-4px); border-color: rgba(240, 80, 30, .5); }
.car__media { position: relative; aspect-ratio: 16 / 10; background: var(--zinc-100); overflow: hidden; }
.car__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.car:hover .car__media img { transform: scale(1.03); }
.car__badges { position: absolute; top: 12px; left: 12px; display: flex; gap: 8px; flex-wrap: wrap; }
.car__body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.car__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 8px; margin-bottom: 8px; }
.car__title { font-size: 18px; font-weight: 600; color: var(--ink); letter-spacing: -0.01em; line-height: 1.3; }
.car__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.car__sub { font-size: 14px; color: var(--gray); }
.car__price { font-size: 20px; font-weight: 700; color: var(--ink); text-align: right; }
.car__stats { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 14px; color: var(--gray); margin-bottom: 20px; }
.car__stats span { display: inline-flex; align-items: center; gap: 4px; }
.car__note { font-size: 14px; color: var(--gray-2); margin-bottom: 12px; margin-top: auto; }
.car__actions { position: relative; z-index: 2; display: flex; flex-wrap: wrap; gap: 8px; }

/* 7. Inventory page */
.filterbar { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(4, minmax(0, 1fr)); gap: 12px; align-items: end; padding: 20px; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; margin-bottom: 20px; }
@media (max-width: 1023px) { .filterbar { grid-template-columns: repeat(2, minmax(0, 1fr)); } .filterbar .field--search { grid-column: 1 / -1; } }
@media (max-width: 480px) { .filterbar { grid-template-columns: 1fr; } }
.results-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 24px; }
.results-bar strong { font-size: 16px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); background: #fff; color: var(--ink); border-radius: var(--pill); padding: 6px 12px; font-size: 13px; font-weight: 500; cursor: pointer; }
.chip:hover { border-color: rgba(0,0,0,.35); }
.pager { display: flex; justify-content: center; align-items: center; gap: 16px; margin-top: 48px; font-size: 14px; color: var(--gray); }
.empty { grid-column: 1 / -1; border: 1px dashed rgba(0,0,0,.2); border-radius: var(--r-lg); padding: 40px 32px; display: grid; gap: 12px; justify-items: start; background: var(--zinc-50); }
.empty h3 { font-size: 22px; font-weight: 600; }

/* 8. Vehicle detail */
.detail { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 40px; align-items: start; padding-top: calc(var(--nav-h) + 32px); padding-bottom: 64px; }
.detail__media { aspect-ratio: 16 / 10; border-radius: var(--r-lg); overflow: hidden; background: var(--zinc-100); position: relative; }
.detail__media img { width: 100%; height: 100%; object-fit: cover; }
.detail__aside { position: sticky; top: calc(var(--nav-h) + 24px); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; display: grid; gap: 20px; background: #fff; }
.detail__aside h1 { font-size: clamp(28px, 3vw, 36px); font-weight: 700; }
.detail__price { font-size: 36px; font-weight: 700; color: var(--ink); letter-spacing: -0.02em; }
.spec-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0; }
.spec-grid div { background: var(--zinc-50); border-radius: 12px; padding: 12px 14px; }
.spec-grid dt { font-size: 13px; color: var(--gray-2); }
.spec-grid dd { margin: 2px 0 0; font-weight: 600; color: var(--ink); }
.included { border-radius: var(--r-lg); background: var(--zinc-50); padding: 24px; display: grid; gap: 12px; }
.included h2 { font-size: 20px; font-weight: 600; }
.included ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; color: var(--gray); }
.included li { display: flex; gap: 10px; }
.included li .icon { color: var(--brand); margin-top: 4px; }
.share { display: flex; gap: 8px; }
@media (max-width: 900px) { .detail { grid-template-columns: 1fr; } .detail__aside { position: static; } }

/* 9. Route map + stats */
.map-card { position: relative; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); }
.map { height: 520px; width: 100%; background: var(--zinc-100); z-index: 0; }
.map .leaflet-tile-pane { filter: grayscale(1); }
.map-chip { position: absolute; left: 16px; bottom: 16px; z-index: 500; display: inline-flex; align-items: center; gap: 8px; background: #fff; padding: 10px 16px; border-radius: var(--r-sm); box-shadow: 0 1px 3px rgba(0,0,0,.15); font-weight: 500; font-size: 14px; color: var(--ink); }
.map-chip .icon { color: var(--brand); }
.map-foot { margin-top: 40px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 32px; }
.map-foot h2 { font-size: clamp(36px, 5.5vw, 60px); font-weight: 600; letter-spacing: -0.03em; }
.map-foot p { color: var(--gray); font-size: 18px; margin-top: 12px; max-width: 52ch; }
.stats { display: flex; gap: 40px; }
.stat__n { display: flex; align-items: center; gap: 8px; font-size: clamp(36px, 4vw, 48px); font-weight: 600; color: var(--ink); letter-spacing: -0.02em; }
.stat__dot { width: 40px; height: 40px; border-radius: var(--pill); display: grid; place-items: center; color: #fff; background: var(--brand); }
.stat__dot--gray { background: var(--gray-2); }
.stat__dot .icon { width: 20px; height: 20px; }
.stat p { color: var(--gray); font-size: 18px; }
.leaflet-tooltip.route-label { background: #fff; border: 0; border-radius: var(--pill); box-shadow: 0 1px 3px rgba(0,0,0,.2); font: 600 12px var(--font); color: var(--ink); padding: 5px 10px; }
@media (max-width: 767px) { .map { height: 420px; } }

/* 10. Why AUTOHAUS, steps, FAQ, CTA */
.why-title { text-align: center; font-size: clamp(30px, 3.6vw, 36px); font-weight: 700; margin-bottom: 64px; }
.why { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.why__item { text-align: center; padding: 24px; }
.why__icon { width: 56px; height: 56px; border-radius: var(--r-lg); background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; margin: 0 auto 16px; }
.why__icon .icon { width: 26px; height: 26px; }
.why__item h3 { font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.why__item p { color: var(--gray); font-size: 14px; }
@media (max-width: 900px) { .why { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .why { grid-template-columns: 1fr; } }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; counter-reset: s; }
.steps li { counter-increment: s; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; display: grid; gap: 8px; align-content: start; background: #fff; }
.steps li::before { content: counter(s); width: 40px; height: 40px; border-radius: 12px; background: var(--brand-soft); color: var(--brand-text); font-weight: 700; display: grid; place-items: center; margin-bottom: 8px; }
.steps h3 { font-size: 17px; font-weight: 600; }
.steps p { font-size: 14px; color: var(--gray); }
@media (max-width: 1100px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.compare__card { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; display: grid; gap: 16px; align-content: start; background: #fff; }
.compare__card--dark { background: var(--ink); border-color: var(--ink); }
.compare__card--dark h3, .compare__card--dark dd { color: #fff; }
.compare__card--dark p, .compare__card--dark dt { color: rgba(255,255,255,.65); }
.compare__card h3 { font-size: 24px; font-weight: 700; }
.compare__card dl { display: grid; grid-template-columns: auto 1fr; gap: 10px 20px; margin: 0; }
.compare__card dt { color: var(--gray-2); }
.compare__card dd { margin: 0; font-weight: 500; color: var(--ink); }
@media (max-width: 760px) { .compare { grid-template-columns: 1fr; } }
.faq { max-width: 860px; margin-inline: auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; padding: 22px 0; font-weight: 600; font-size: 17px; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 24px; line-height: 1; color: var(--brand); font-weight: 400; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { padding-bottom: 22px; color: var(--gray); max-width: 70ch; }
.cta { border-radius: 24px; background: var(--ink); color: #fff; padding: 56px 48px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; }
.cta h2 { color: #fff; font-size: clamp(28px, 3.6vw, 40px); font-weight: 700; max-width: 18ch; }
.cta h2 span { color: var(--brand); }
.cta p { color: rgba(255,255,255,.7); margin-top: 10px; font-size: 17px; }
@media (max-width: 600px) { .cta { padding: 36px 24px; } }

/* 11. Track and request */
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: start; padding-bottom: 96px; }
.two-col--wide { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
@media (max-width: 860px) { .two-col, .two-col--wide { grid-template-columns: 1fr; } }
.card { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; display: grid; gap: 18px; background: #fff; align-content: start; }
.card h2 { font-size: 22px; font-weight: 600; }
.card--zinc { background: var(--zinc-50); border-color: transparent; }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; }
.timeline li { position: relative; display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; gap: 14px; padding-bottom: 22px; }
.timeline li::after { content: ""; position: absolute; left: 11px; top: 26px; bottom: 2px; width: 2px; border-radius: 2px; background: var(--zinc-100); }
.timeline li:last-child::after { display: none; }
.timeline__dot { position: relative; z-index: 1; width: 24px; height: 24px; border-radius: var(--pill); border: 2px solid rgba(0,0,0,.15); background: #fff; }
.timeline li.is-done .timeline__dot { background: var(--ink); border-color: var(--ink); }
.timeline li.is-done::after { background: var(--ink); }
.timeline li.is-current .timeline__dot { background: var(--brand); border-color: var(--brand); box-shadow: 0 0 0 5px var(--brand-soft); }
.timeline b { display: block; font-weight: 600; color: var(--ink); }
.timeline li.is-upcoming b { color: var(--gray-2); font-weight: 500; }
.timeline span, .timeline time { font-size: 14px; color: var(--gray-2); }
.notice { background: var(--zinc-50); border-radius: 12px; padding: 12px 14px; font-size: 14px; color: var(--gray); }
.success { border: 1px solid #BBF7D0; background: #F0FDF4; border-radius: var(--r-lg); padding: 24px; display: grid; gap: 12px; }
.success b { color: var(--success); font-size: 17px; }

/* 12. Footer and studio credit */
.footer { background: #fff; border-top: 1px solid var(--line); padding-top: 64px; }
.footer__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px; margin-bottom: 48px; }
.footer__grid .wordmark { font-size: 20px; display: inline-block; margin-bottom: 16px; }
.footer__grid p { color: var(--gray); font-size: 14px; line-height: 1.65; }
.footer h4 { font-size: 16px; font-weight: 600; margin-bottom: 16px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 14px; color: var(--gray); }
.footer ul a:hover { color: var(--ink); }
.footer li { display: flex; align-items: center; gap: 8px; }
.footer__bottom { border-top: 1px solid var(--line); padding-block: 32px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; font-size: 14px; color: var(--gray-2); }
.footer__bottom nav { display: flex; gap: 24px; }
.footer__bottom a:hover { color: var(--ink); }
@media (max-width: 860px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; } }
.powered-by { display: flex; align-items: center; justify-content: center; padding: 0 16px 24px; opacity: .9; font-size: 12px; letter-spacing: .2px; }
.powered-by span { color: var(--gray-2); }
.powered-by strong { color: var(--ink); font-weight: 700; }
.powered-by img { width: 16px; height: 16px; margin-inline: 6px; object-fit: contain; }
@media (min-width: 768px) { .powered-by img { width: 18px; height: 18px; } }

/* 13. Floating WhatsApp button */
.float-wa { position: fixed; right: max(16px, env(safe-area-inset-right, 0px)); bottom: max(20px, env(safe-area-inset-bottom, 0px)); z-index: 60; display: inline-flex; align-items: center; gap: 8px; height: 56px; padding: 0 22px; border-radius: var(--pill); background: var(--wa); color: #fff; font-weight: 600; font-size: 14px; box-shadow: 0 10px 25px rgba(0,0,0,.2); transition: transform .2s; }
.float-wa:hover { transform: scale(1.03); }
.float-wa::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: rgba(31,168,85,.4); animation: ping 2.4s cubic-bezier(0,0,.2,1) infinite; z-index: -1; }
.float-wa .icon { width: 22px; height: 22px; fill: currentColor; stroke: none; }
@keyframes ping { 75%, 100% { transform: scale(1.5); opacity: 0; } }
@media (max-width: 640px) { .float-wa { width: 56px; padding: 0; justify-content: center; } .float-wa span { display: none; } }

/* 14. Style guide */
.sg { display: grid; gap: 24px; padding-bottom: 96px; }
.sg-swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.sg-swatch { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; font-size: 13px; }
.sg-swatch div { height: 64px; }
.sg-swatch p { padding: 10px 12px; }
.sg-swatch code { color: var(--gray-2); font-size: 12px; }
.sg-type > div { display: grid; grid-template-columns: 180px 1fr; gap: 16px; align-items: baseline; padding-block: 12px; border-bottom: 1px dashed var(--line); }
.sg-type > div:last-child { border-bottom: 0; }
.sg-label { font-size: 12px; font-weight: 600; color: var(--brand-text); }
@media (max-width: 640px) { .sg-type > div { grid-template-columns: 1fr; gap: 4px; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
