/* ==========================================================
   Girne Bi Taksi — tokens
   Client palette: gece siyahı, şampanya altını, fildişi, antrasit.
   ========================================================== */
:root {
  --night: #101114;        /* gece siyahı: main dark background */
  --anthracite: #252629;   /* antrasit: cards and secondary dark surfaces */
  --line-dark: #36373B;
  --gold: #C6A15B;         /* şampanya altını: logo, buttons, details */
  --gold-press: #B48E48;
  --gold-ink: #7A5E28;     /* gold dark enough for text on light (4.5:1+) */
  --ivory: #F3EFE6;        /* fildişi: service sections */
  --paper: #FFFFFF;
  --ink: #101114;
  --muted: #5E5A52;
  --line: #E2DCCF;
  --on-dark: #F3EFE6;
  --on-dark-muted: #A9A69F;
  --wa: #1F7A4D;
  --wa-press: #186640;
  --danger: #B3261E;

  --font-display: "DM Serif Display", Georgia, "Times New Roman", serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 22px;

  --ease-out: cubic-bezier(.2, .8, .2, 1);
  --t-fast: 160ms;
  --t-med: 320ms;
  --t-slow: 700ms;

  --header-h: 72px;
  --dock-h: 76px;
  --gutter: 20px;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  padding-bottom: calc(var(--dock-h) + env(safe-area-inset-bottom));
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { margin: 0; font-weight: 400; }
h1, h2 { font-family: var(--font-display); letter-spacing: -0.01em; line-height: 1.05; }
h2 { font-size: clamp(2rem, 6vw, 3.1rem); }
h3 { font-family: var(--font-body); font-weight: 700; font-size: 1.15rem; line-height: 1.3; }
p { margin: 0; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: var(--gutter); }
.ic { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--gold); color: var(--ink); padding: 10px 14px; border-radius: var(--r-sm);
  font-weight: 700; text-decoration: none;
}
.skip:focus { top: 12px; }

/* ---------- logo ---------- */
/* Wordmark: "Girne [bi] taksi" — the "bi" sits in a gold taxi roof sign */
.brand { display: inline-flex; align-items: center; text-decoration: none; color: var(--on-dark); }
.brand-word {
  display: inline-flex; align-items: center; white-space: nowrap;
  font-family: var(--font-display); font-size: 1.6rem; line-height: 1;
}
.bi-sign {
  position: relative; display: inline-grid; place-items: center;
  height: .98em; margin: 0 .2em; padding: 0 .48em .04em;
  background: var(--gold); color: var(--night);
  font-style: italic; font-size: .8em;
  clip-path: polygon(9% 0, 91% 0, 100% 100%, 0 100%);
  box-shadow: inset 0 -.12em 0 #6E5527;
  transform: translateY(-.06em);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 20px;
  border: 1.5px solid transparent; border-radius: var(--r-md);
  font-weight: 700; font-size: 1rem; text-decoration: none; cursor: pointer;
  transition: background-color var(--t-fast), border-color var(--t-fast), transform var(--t-fast);
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(.98); }
.btn-sm { min-height: 42px; padding: 0 14px; font-size: .95rem; }
.btn-lg { min-height: 56px; padding: 0 24px; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--gold-press); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: var(--wa-press); }
.btn-dark { background: var(--night); color: var(--on-dark); }
.btn-dark:hover { background: var(--anthracite); }
.btn-ghost-light { border-color: rgba(243, 239, 230, .3); color: var(--on-dark); }
.btn-ghost-light:hover { border-color: var(--on-dark); background: rgba(255, 255, 255, .05); }

.icon-btn {
  display: inline-grid; place-items: center; width: 48px; height: 48px;
  border: 1.5px solid var(--line-dark); border-radius: var(--r-md);
  background: transparent; color: var(--on-dark); cursor: pointer;
}

/* ---------- header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: var(--night); color: var(--on-dark);
  border-bottom: 1px solid var(--line-dark);
}
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: var(--header-h); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.lang-btn {
  min-width: 48px; height: 48px; padding: 0 12px;
  background: transparent; border: 1.5px solid var(--line-dark); border-radius: var(--r-md);
  color: var(--on-dark); font-weight: 700; letter-spacing: .04em; cursor: pointer;
}
.lang-btn:hover, .icon-btn:hover { border-color: var(--on-dark-muted); }
.header-call { display: none; }

.menu-btn .ic-close { display: none; }
.menu-btn[aria-expanded="true"] .ic-open { display: none; }
.menu-btn[aria-expanded="true"] .ic-close { display: block; }

/* mobile nav panel */
.nav {
  position: fixed; inset: var(--header-h) 0 auto 0;
  display: grid; gap: 4px; padding: 12px var(--gutter) 24px;
  max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
  background: var(--night); border-bottom: 1px solid var(--line-dark);
  transform: translateY(-8px); opacity: 0; visibility: hidden;
  transition: opacity var(--t-med) var(--ease-out), transform var(--t-med) var(--ease-out), visibility 0s linear var(--t-med);
}
.nav.open { opacity: 1; transform: none; visibility: visible; transition-delay: 0s; }
.nav a {
  display: flex; align-items: center; gap: 10px; min-height: 52px;
  font-size: 1.1rem; text-decoration: none; border-bottom: 1px solid var(--line-dark);
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--gold); }
.nav .nav-call { color: var(--gold); font-weight: 700; border-bottom: 0; }

/* ---------- hero ---------- */
.hero { background: var(--night); color: var(--on-dark); padding: 40px 0 88px; overflow: hidden; }
.hero-grid { display: grid; gap: 36px; }

.status { display: inline-flex; align-items: center; gap: 10px; color: var(--on-dark-muted); font-size: .95rem; }
.pulse { position: relative; width: 10px; height: 10px; border-radius: 50%; background: var(--gold); flex: none; }
.pulse::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--gold);
  animation: pulse 2.4s var(--ease-out) infinite;
}
@keyframes pulse { from { transform: scale(1); opacity: .6; } to { transform: scale(3); opacity: 0; } }

.hero-title { margin: 22px 0; font-size: clamp(3rem, 12vw, 5.6rem); line-height: 1.02; }
.hl { display: block; }
.rotator { position: relative; display: block; height: 1.2em; overflow: hidden; }
.word {
  position: absolute; left: 0; top: 0; white-space: nowrap;
  transform: translateY(140%);
  transition: transform 700ms var(--ease-out);
}
.word::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .1em; height: .06em;
  background: var(--gold); border-radius: 2px;
  transform: scaleX(0); transform-origin: left;
  transition: transform 600ms var(--ease-out) 380ms;
}
.word.is-on { transform: none; }
.word.is-on::after { transform: scaleX(1); }
.word.is-out { transform: translateY(-140%); }
.word.is-out::after { transition-delay: 0s; transform: scaleX(0); transform-origin: right; }

.hero-lead { max-width: 34rem; color: var(--on-dark-muted); font-size: 1.08rem; }
.hero-cta { display: grid; gap: 12px; margin-top: 28px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 28px; color: var(--on-dark-muted); font-size: .92rem; }
.hero-facts li { display: inline-flex; align-items: center; gap: 8px; }
.hero-facts .ic { width: 18px; height: 18px; color: var(--gold); }

/* The photo lives inside the same dark hero band as the copy.
   Phones: it fills the bottom of the band and the copy runs over its darkened sky.
   Desktop (below): it fills the whole band, copy on the left, car on the right. */
.hero { position: relative; padding-bottom: calc(68vw + 8px); }
.hero-copy { position: relative; z-index: 2; }
.hero-media { position: absolute; left: 0; right: 0; bottom: 0; z-index: 0; margin: 0; }
.hero-media img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: 74% 50%; }

/* One shared grade so stock photos read as a single commissioned set */
.hero-media img, .car-img img { filter: saturate(.88) contrast(1.06) brightness(.97); }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, rgba(16, 17, 20, 1) 0%, rgba(16, 17, 20, .7) 28%, rgba(16, 17, 20, 0) 55%),
    linear-gradient(to top, rgba(16, 17, 20, .85) 0%, rgba(16, 17, 20, 0) 22%);
  pointer-events: none;
}
.hero-media figcaption {
  position: absolute; right: 14px; bottom: 66px; z-index: 1;
  font-size: .75rem; color: rgba(243, 239, 230, .8);
}

/* sub-page hero */
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; color: var(--on-dark-muted); font-size: .9rem; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--gold); }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .6; }
.page-title { margin: 18px 0 18px; font-size: clamp(2.5rem, 9vw, 4.4rem); line-height: 1.04; }
.page-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 28px; background: var(--line-dark); border: 1px solid var(--line-dark); border-radius: var(--r-md); overflow: hidden; }
.page-facts div { padding: 14px 12px; background: var(--night); }
.page-facts dt { color: var(--on-dark-muted); font-size: .8rem; }
.page-facts dd { margin: 2px 0 0; color: var(--on-dark); font-weight: 700; }

/* page-load sequence: one orchestrated moment */
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * { animation: rise 800ms var(--ease-out) both; }
  .hero-copy > :nth-child(1) { animation-delay: 60ms; }
  .hero-copy > :nth-child(2) { animation-delay: 140ms; }
  .hero-copy > :nth-child(3) { animation-delay: 260ms; }
  .hero-copy > :nth-child(4) { animation-delay: 340ms; }
  .hero-copy > :nth-child(5) { animation-delay: 420ms; }
  .hero-media img { animation: settle 1400ms var(--ease-out) both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes settle { from { opacity: 0; transform: scale(1.08); } to { opacity: 1; transform: none; } }

/* ---------- quote form ---------- */
.quote-wrap { position: relative; z-index: 2; margin-top: -56px; }
.quote {
  background: var(--paper);
  border: 1px solid var(--line); border-top: 3px solid var(--gold); border-radius: var(--r-lg);
  padding: 26px 20px 22px;
  box-shadow: 0 24px 48px -28px rgba(16, 17, 20, .5);
}
.quote-head { margin-bottom: 20px; }
.quote-head h2 { font-size: clamp(1.8rem, 6vw, 2.4rem); }
.quote-head p { margin-top: 6px; color: var(--muted); font-size: .95rem; }

.field { display: grid; gap: 6px; }
.field label { font-size: .9rem; font-weight: 700; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 12px 14px;
  font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--ivory); border: 1.5px solid transparent; border-radius: var(--r-sm);
  transition: border-color var(--t-fast), background-color var(--t-fast);
  -webkit-appearance: none; appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%235E5A52' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; padding-right: 40px;
}
.field textarea { min-height: 80px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--line); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold-ink); background: var(--paper); }
.field input::placeholder, .field textarea::placeholder { color: #857F74; }
.field input[aria-invalid="true"] { border-color: var(--danger); background: #FDF3F2; }

.input-ic { position: relative; }
.input-ic .ic { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.input-ic input { padding-left: 44px; }
.route-fields .input-ic input { padding-right: 60px; }
.err { color: var(--danger); font-size: .88rem; font-weight: 500; }

.route-fields { position: relative; display: grid; gap: 14px; }
.swap {
  position: absolute; right: 10px; top: 50%; z-index: 1; transform: translateY(-50%);
  display: grid; place-items: center; width: 44px; height: 44px;
  background: var(--paper); border: 1.5px solid var(--line); border-radius: 50%;
  color: var(--gold-ink); cursor: pointer;
  transition: transform var(--t-med) var(--ease-out), border-color var(--t-fast);
}
.swap:hover { border-color: var(--gold-ink); }
.swap.spin { transform: translateY(-50%) rotate(180deg); }

.row-3 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 14px; }
.row-3 .field:first-child { grid-column: 1 / -1; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* V-Class hint: grid-rows trick animates height smoothly */
.vnote { display: grid; grid-template-rows: 0fr; transition: grid-template-rows var(--t-med) var(--ease-out), margin var(--t-med) var(--ease-out); }
.vnote > .vnote-inner { overflow: hidden; }
.vnote.show { grid-template-rows: 1fr; margin-top: 14px; }
.vnote-inner {
  display: flex; gap: 12px; align-items: flex-start; min-height: 0;
  background: #F8F1E1; border-radius: var(--r-sm); color: var(--ink); font-size: .95rem;
}
.vnote.show .vnote-inner { padding: 14px 16px; border: 1px solid #E6D3A8; }
.vnote .ic { color: var(--gold-ink); margin-top: 2px; }
.vnote strong { display: block; }

.more { margin: 16px 0 18px; }
.more summary {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  color: var(--gold-ink); font-weight: 700; cursor: pointer; list-style: none;
}
.more summary::-webkit-details-marker { display: none; }
.more summary .ic { transition: transform var(--t-med) var(--ease-out); }
.more[open] summary .ic { transform: rotate(45deg); }
.more-body { display: grid; gap: 14px; padding-top: 10px; }

.fine { margin-top: 12px; color: var(--muted); font-size: .85rem; }

/* ---------- sections ---------- */
.section { padding: 80px 0; }
.section-dark { background: var(--night); color: var(--on-dark); }
.section-ivory { background: var(--ivory); }

.sec-head { max-width: 40rem; margin-bottom: 36px; }
.sec-head > p:last-child:not(.kicker) { margin-top: 14px; color: var(--muted); font-size: 1.05rem; }
.section-dark .sec-head > p:last-child:not(.kicker) { color: var(--on-dark-muted); }
.kicker {
  display: inline-flex; align-items: center; gap: 12px; margin-bottom: 14px;
  color: var(--gold-ink); font-weight: 700; font-size: .95rem;
}
.kicker::before { content: ""; width: 28px; height: 2px; border-radius: 2px; background: var(--gold); }
.section-dark .kicker { color: var(--gold); }

.prose { max-width: 42rem; display: grid; gap: 14px; color: var(--muted); font-size: 1.05rem; }
.prose strong { color: var(--ink); }

/* ---------- fleet ---------- */
.fleet { display: grid; gap: 20px; }
.car {
  display: flex; flex-direction: column;
  border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--paper);
}
.car-img { position: relative; overflow: hidden; background: var(--ivory); }
.car-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.car-body { display: grid; gap: 14px; padding: 22px 22px 26px; }
.car-body h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.9rem; }
.car-body > p { color: var(--muted); }

.specs { display: flex; flex-wrap: wrap; gap: 8px; }
.specs li {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 12px; border-radius: 999px; background: var(--ivory);
  font-size: .9rem; font-weight: 500;
}
.specs .ic { width: 18px; height: 18px; color: var(--gold-ink); }

.car-v { background: var(--night); color: var(--on-dark); border-color: var(--night); }
.car-v .car-img img { aspect-ratio: 3 / 2; object-position: 50% 45%; }
.car-v .car-body > p { color: var(--on-dark-muted); }
.car-v .specs li { background: var(--anthracite); }
.car-v .specs .ic { color: var(--gold); }
.car-v .btn { justify-self: start; margin-top: 4px; }
.tag {
  position: absolute; left: 16px; top: 16px;
  padding: 6px 12px; border-radius: 999px;
  background: var(--gold); color: var(--ink); font-size: .85rem; font-weight: 700;
}

/* six seats fill in when the card enters the viewport */
.seats { display: flex; align-items: center; gap: 8px; }
.seats span {
  width: 22px; height: 28px; border-radius: 7px 7px 4px 4px;
  border: 2px solid var(--line-dark); background: transparent;
}
.seats b { margin-left: 8px; font-weight: 700; color: var(--gold); }
.car-v.in .seats span { animation: seat 380ms var(--ease-out) both; }
.car-v.in .seats span:nth-child(1) { animation-delay: 200ms; }
.car-v.in .seats span:nth-child(2) { animation-delay: 320ms; }
.car-v.in .seats span:nth-child(3) { animation-delay: 440ms; }
.car-v.in .seats span:nth-child(4) { animation-delay: 560ms; }
.car-v.in .seats span:nth-child(5) { animation-delay: 680ms; }
.car-v.in .seats span:nth-child(6) { animation-delay: 800ms; }
@keyframes seat {
  from { background: transparent; border-color: var(--line-dark); transform: scale(.85); }
  to   { background: var(--gold); border-color: var(--gold); transform: none; }
}
html:not(.js) .seats span { background: var(--gold); border-color: var(--gold); }
.seats-e span { border-color: var(--gold); background: var(--gold); }
.seats-e b { color: var(--gold-ink); }

/* E-Class card: ivory panel beside the dark V-Class */
.car-e { background: var(--ivory); border-color: var(--line); }
.car-e .car-body { padding: 28px 24px 30px; gap: 18px; }
.car-e .specs li { background: var(--paper); }

.photo-note { margin-top: 14px; color: var(--muted); font-size: .82rem; }

/* ---------- routes ---------- */
.routes { border-top: 1px solid var(--line-dark); }
.route {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 4px 16px;
  width: 100%; padding: 20px 4px; text-align: left; text-decoration: none;
  background: transparent; border: 0; border-bottom: 1px solid var(--line-dark);
  color: var(--on-dark); cursor: pointer;
  transition: background-color var(--t-fast);
}
.route { position: relative; }
.route::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: -1px; width: 2px;
  background: var(--gold); transform: scaleY(0); transform-origin: top;
  transition: transform var(--t-med) var(--ease-out);
}
.route:hover, .route:focus-visible { background: rgba(255, 255, 255, .03); }
.route:hover::before, .route:focus-visible::before { transform: scaleY(1); }
.route-ic {
  width: 44px; height: 44px; padding: 11px;
  border: 1.5px solid var(--line-dark); border-radius: 12px; color: var(--gold);
}
.route-main { display: grid; gap: 2px; min-width: 0; }
.route-name { font-size: 1.25rem; font-weight: 500; }
.route-sub { color: var(--on-dark-muted); font-size: .9rem; }
.route-time { grid-column: 2; color: var(--gold); font-size: .85rem; font-weight: 700; }
.route-arrow { grid-column: 3; grid-row: 1 / span 2; color: var(--gold); transition: transform var(--t-med) var(--ease-out); }
.route:hover .route-arrow, .route:focus-visible .route-arrow { transform: translateX(4px); }

/* ---------- points (sub-pages) ---------- */
.points { display: grid; gap: 14px; }
.point { display: grid; grid-template-columns: auto 1fr; gap: 16px; padding: 22px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); }
.point .ic { width: 44px; height: 44px; padding: 11px; border-radius: 12px; background: var(--ivory); color: var(--gold-ink); }
.point p { margin-top: 6px; color: var(--muted); }

/* ---------- how it works ---------- */
.steps { display: grid; }
.steps li { display: grid; grid-template-columns: auto 1fr; gap: 18px; padding: 22px 0; border-top: 1px solid var(--line); }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.step-n {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  border: 1.5px solid var(--gold); color: var(--ink); font-weight: 700;
}
.steps p { margin-top: 6px; color: var(--muted); }

/* ---------- areas / related links ---------- */
.areas { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.areas button, .areas a {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  width: 100%; min-height: 56px; padding: 0 16px;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md);
  font-weight: 700; text-align: left; text-decoration: none; cursor: pointer;
  transition: border-color var(--t-fast), color var(--t-fast);
}
.areas button::after, .areas a::after {
  content: ""; width: 8px; height: 8px; flex: none;
  border-top: 2px solid var(--gold-ink); border-right: 2px solid var(--gold-ink);
  transform: rotate(45deg); transition: transform var(--t-med) var(--ease-out);
}
.areas button:hover, .areas a:hover { border-color: var(--gold-ink); color: var(--gold-ink); }
.areas button:hover::after, .areas a:hover::after { transform: translateX(3px) rotate(45deg); }
.related { grid-template-columns: 1fr; }

/* ---------- faq ---------- */
.faq-grid { display: grid; gap: 8px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 64px; padding: 16px 0;
  font-weight: 700; font-size: 1.05rem; cursor: pointer; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { color: var(--gold-ink); transition: transform var(--t-med) var(--ease-out); }
.faq details[open] summary .ic { transform: rotate(45deg); }
.faq details p { padding: 0 0 20px; color: var(--muted); max-width: 40rem; }
@media (prefers-reduced-motion: no-preference) {
  .faq details[open] p { animation: rise 420ms var(--ease-out); }
}

/* ---------- CTA band ---------- */
.cta-band { background: var(--anthracite); color: var(--on-dark); padding: 64px 0; border-top: 1px solid var(--line-dark); }
.cta-row { display: grid; gap: 26px; }
.cta-band h2 { font-size: clamp(2rem, 6vw, 3.2rem); }
.cta-band p { margin-top: 10px; font-size: 1.05rem; color: var(--on-dark-muted); }
.cta-actions { display: grid; gap: 12px; }

/* ---------- footer ---------- */
.footer { background: var(--night); color: var(--on-dark-muted); padding: 64px 0 28px; }
.footer-grid { display: grid; gap: 36px; }
.footer-brand p { margin-top: 16px; max-width: 26rem; }
.footer h3 { color: var(--on-dark); font-size: 1rem; margin-bottom: 12px; }
.footer ul { display: grid; gap: 4px; }
.footer li, .footer li a { display: inline-flex; align-items: center; min-height: 40px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--gold); }
.footer-phone {
  display: inline-block; margin-bottom: 6px;
  font-family: var(--font-display); font-size: 2rem; color: var(--gold);
}
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px;
  margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line-dark); font-size: .85rem;
}

/* ---------- mobile dock ---------- */
.dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .94);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
}
.dock .btn { min-height: 52px; }

/* No generic fade-up on every section: motion is kept to the hero sequence,
   the headline rotator, the V-Class seat fill and direct responses to input. */

/* ---------- tablet ---------- */
@media (min-width: 640px) {
  :root { --gutter: 32px; }
  .hero-cta { display: flex; flex-wrap: wrap; }
  .hero { padding-bottom: calc(46vw + 8px); }
  .hero-media img { aspect-ratio: 16 / 9; object-position: 64% 55%; }
  .quote { padding: 32px; }
  .row-3 { grid-template-columns: 1fr 1fr 1fr; }
  .row-3 .field:first-child { grid-column: auto; }
  .areas { grid-template-columns: repeat(3, 1fr); }
  .related { grid-template-columns: repeat(2, 1fr); }
  .points { grid-template-columns: 1fr 1fr; }
  .cta-actions { display: flex; flex-wrap: wrap; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

/* ---------- hero side by side (copy left, car right) from mid widths up ---------- */
@media (min-width: 720px) {
  .hero { display: flex; align-items: center; min-height: 600px; padding: 72px 0 140px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: min(600px, 54%); }
  .hero-title { font-size: clamp(3rem, 7vw, 5.6rem); }
  .hero-media { position: absolute; inset: 0; overflow: hidden; }
  .hero-media img { width: 100%; height: 100%; aspect-ratio: auto; object-position: 76% 55%; }
  .hero-media::after {
    background:
      linear-gradient(90deg, rgba(16, 17, 20, .96) 0%, rgba(16, 17, 20, .86) 30%, rgba(16, 17, 20, .4) 55%, rgba(16, 17, 20, 0) 78%),
      linear-gradient(to top, rgba(16, 17, 20, .95) 0%, rgba(16, 17, 20, 0) 32%);
  }
  .hero-media figcaption { right: 24px; bottom: 90px; }
  .page-facts { max-width: 460px; }
}
@media (min-width: 1200px) {
  .hero-media img { object-position: 68% 55%; }
}

/* ---------- desktop ---------- */
@media (min-width: 960px) {
  :root { --header-h: 84px; }
  body { padding-bottom: 0; }
  .dock { display: none; }

  .menu-btn { display: none; }
  .header-call { display: inline-flex; }
  .nav {
    position: static; display: flex; gap: 28px; padding: 0; max-height: none; overflow: visible;
    background: none; border: 0; opacity: 1; visibility: visible; transform: none; transition: none;
  }
  .nav a { min-height: 44px; font-size: .98rem; border: 0; }
  .nav .nav-call { display: none; }

  /* Desktop hero: the photo fills the whole band and the copy sits over its darkened left side */
  .hero { position: relative; display: flex; align-items: center; min-height: 680px; padding: 88px 0 150px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { position: relative; z-index: 2; max-width: 600px; }
  .hero-media { position: absolute; inset: 0; z-index: 0; margin: 0; border-radius: 0; overflow: hidden; }
  .hero { padding-bottom: 150px; }
  .hero-media img { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; object-position: 68% 55%; }
  .hero-media::after {
    inset: 0; height: auto;
    background:
      linear-gradient(90deg, rgba(16, 17, 20, .96) 0%, rgba(16, 17, 20, .86) 30%, rgba(16, 17, 20, .4) 55%, rgba(16, 17, 20, 0) 78%),
      linear-gradient(to top, rgba(16, 17, 20, .95) 0%, rgba(16, 17, 20, 0) 32%);
  }
  .hero-media figcaption { right: 28px; bottom: 96px; }

  .quote-wrap { margin-top: -72px; }
  .quote { padding: 36px 40px; }
  .quote-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; }
  .route-fields { grid-template-columns: 1fr auto 1fr; align-items: end; gap: 16px; }
  .swap { position: static; transform: none; margin-bottom: 4px; }
  .route-fields .input-ic input { padding-right: 14px; }
  .swap svg { transform: rotate(90deg); }
  .swap.spin { transform: rotate(180deg); }
  .row-3 { grid-template-columns: 160px 1fr 1fr; }

  .section { padding: 112px 0; }
  .fleet { grid-template-columns: 5fr 7fr; align-items: stretch; }
  .car-v .car-img img { aspect-ratio: 16 / 10; }

  .routes-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; }
  .routes-grid .sec-head { position: sticky; top: calc(var(--header-h) + 32px); }
  .route { padding: 24px 8px; grid-template-columns: auto 1fr auto auto; }
  .route-time { grid-column: 3; grid-row: 1; }
  .route-arrow { grid-column: 4; grid-row: 1; }

  .split { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; }

  .areas { grid-template-columns: repeat(5, 1fr); }
  .related { grid-template-columns: repeat(3, 1fr); }

  .faq-grid { grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; }

  .cta-row { grid-template-columns: 1fr auto; align-items: center; }

  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
  .footer-brand { grid-column: auto; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .pulse::after { display: none; }
  .seats span { background: var(--gold); border-color: var(--gold); }
}
