/* Auto Nic Drive — stylesheet
   Palette from the brand itself: white school cars, royal-blue lettering,
   the orange ȘCOALĂ / EXAMEN roof sign. One family: Plus Jakarta Sans. */

:root {
  --paper: #ffffff;
  --tint: #f1f4f9;
  --tint-2: #e6ebf4;
  --ink: #0a1a3a;
  --muted: #45536f;
  --blue: #1d4ed8;
  --blue-deep: #1640b0;
  --blue-bright: #5b8cff;
  --navy-2: #13254d;
  --signal: #ff6b1a;
  --signal-deep: #ee5a08;
  --on-dark: #eef2fb;
  --on-dark-muted: #b4c0da;
  --km: #56688f;
  --km-on-dark: #6f8cd0;

  --font: "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --t-small: 0.875rem;
  --t-body: clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  --t-lead: clamp(1.1875rem, 1.05rem + 0.6vw, 1.5rem);
  --t-head: clamp(2.25rem, 1.4rem + 3.4vw, 4.5rem);
  --t-display: clamp(3.25rem, 1.6rem + 7vw, 8.25rem);

  --m: clamp(20px, 4vw, 56px);
  --maxw: 1480px;
  --radius: 22px;
  --gap-section: clamp(96px, 11vw, 176px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --nav-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 16px); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--t-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  -webkit-tap-highlight-color: transparent;
}
img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p, dl, dd, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration-thickness: 1.5px; text-underline-offset: 0.2em; }
button, input, textarea { font: inherit; color: inherit; }
::selection { background: var(--blue); color: #fff; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--m); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: var(--m); top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 10px; }
.skip:focus { top: 12px; }

h2 { font-size: var(--t-head); line-height: 1.02; letter-spacing: -0.035em; font-weight: 700; text-wrap: balance; }
h3 { font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.625rem); line-height: 1.2; letter-spacing: -0.02em; font-weight: 700; }

.section { padding-block: var(--gap-section); }
.section--tint { background: var(--tint); }
.section--ink { background: var(--ink); color: var(--on-dark); }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: 999px; border: 2px solid transparent;
  font-weight: 700; font-size: 1rem; letter-spacing: -0.01em; text-decoration: none; white-space: nowrap;
  cursor: pointer; transition: background-color .25s var(--ease), color .25s var(--ease), transform .2s var(--ease), border-color .25s var(--ease);
}
.btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn:active { transform: scale(0.97); }
.btn--lg { min-height: 58px; padding: 0 30px; font-size: 1.0625rem; }
.btn--signal { background: var(--signal); color: var(--ink); }
.btn--signal:hover { background: var(--signal-deep); }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: var(--blue); }
.btn--ghost { border-color: rgba(255,255,255,.85); color: #fff; }
.btn--ghost:hover { background: #fff; color: var(--blue); }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; min-height: 44px; }
.link-arrow::after { content: "→"; transition: transform .3s var(--ease); }
.link-arrow:hover::after { transform: translateX(5px); }
.link-arrow:hover { color: var(--blue); }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--nav-h);
  background: var(--paper); transition: transform .45s var(--ease);
}

.nav__inner { height: 100%; display: flex; align-items: center; gap: 32px; }
.brand { display: inline-flex; flex-direction: column; text-decoration: none; margin-right: auto; }
.brand__name { font-weight: 800; font-size: 1.25rem; letter-spacing: -0.03em; line-height: 1; text-transform: uppercase; }
.brand__swoosh { width: 100%; height: 8px; margin-top: 4px; fill: var(--blue); }
.nav__links { display: flex; gap: 28px; }
.nav__links a { text-decoration: none; font-weight: 600; font-size: 0.9375rem; position: relative; padding-block: 10px; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); }
.nav__cta svg { fill: currentColor; stroke: none; width: 18px; height: 18px; }
.nav__cta:hover svg { transform: rotate(-12deg); }
.nav__menu { display: none; background: none; border: 0; font-weight: 700; padding: 12px 0 12px 12px; cursor: pointer; min-height: 44px; }
.about { padding-top: clamp(48px, 6vw, 96px); }
.sheet { position: absolute; inset: var(--nav-h) 0 auto; background: var(--paper); padding: 12px var(--m) 28px; display: grid; gap: 4px; }
.sheet[hidden] { display: none; }
.sheet a:not(.btn) { font-size: 1.75rem; font-weight: 700; letter-spacing: -0.03em; text-decoration: none; padding: 8px 0; }
.sheet .btn { margin-top: 16px; }

/* ---------- Hero ---------- */
.hero { padding-top: calc(var(--nav-h) + clamp(28px, 5vw, 72px)); padding-bottom: clamp(64px, 8vw, 120px); }
.hero__grid { display: grid; gap: clamp(24px, 3vw, 40px); }
@media (min-width: 1101px) {
  .hero__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px; align-items: end; }
  .hero__title { grid-column: 1 / span 8; }
  .hero__side { grid-column: 9 / span 4; flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: 28px; padding-bottom: 0.6rem; }
}
.hero__title { font-size: var(--t-display); line-height: 0.94; letter-spacing: -0.05em; font-weight: 800; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: 0.1em; margin-bottom: -0.1em; }
.hero__title .line > span { display: block; }
.hero__title .line:last-child > span { color: var(--blue); }
.hero__side { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 48px; }
.hero__lead { font-size: var(--t-lead); line-height: 1.45; max-width: 36ch; }
.hero__lead strong { font-weight: 700; }
.hero__actions { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }

.hero__media {
  margin-top: clamp(36px, 4.5vw, 64px);
  display: grid; grid-template-columns: minmax(0, 2.45fr) minmax(0, 1fr); gap: 16px;
  height: clamp(360px, 62vh, 680px); position: relative;
  transform-origin: 50% 0;
}
.hero__photo, .hero__inset { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--tint-2); }
.hero__photo img, .hero__inset img { width: 100%; height: 100%; object-fit: cover; }
.hero__photo img { object-position: 50% 62%; transform: scale(1.12); transform-origin: 50% 50%; }
.hero__inset img { object-position: 50% 30%; }
.hero__inset figcaption {
  position: absolute; left: 14px; right: 14px; bottom: 14px; padding: 14px 16px;
  background: var(--paper); border-radius: 14px; font-size: var(--t-small); line-height: 1.35; color: var(--ink);
}
.hero__inset figcaption strong { display: block; font-size: 1.375rem; letter-spacing: -0.03em; color: var(--blue); }
.hero__chip {
  position: absolute; left: 18px; bottom: 18px; display: flex; align-items: center; gap: 14px;
  background: var(--paper); border-radius: 18px; padding: 14px 20px 14px 14px; max-width: 330px;
}
.hero__chip p { display: grid; font-size: var(--t-small); line-height: 1.35; color: var(--muted); }
.hero__chip strong { font-size: 1rem; color: var(--ink); }
.gauge { width: 52px; height: 52px; flex: none; background: var(--tint); border-radius: 14px; padding: 6px; }
.gauge path { fill: none; stroke: var(--blue); stroke-width: 4; stroke-linecap: round; }
.gauge .gauge__needle { stroke: var(--signal); transform-origin: 24px 30px; animation: needle 3.2s var(--ease) infinite alternate; }
@keyframes needle { from { transform: rotate(-95deg); } to { transform: rotate(10deg); } }

.hero__facts { margin-top: clamp(32px, 4vw, 56px); display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.hero__facts > div { display: flex; flex-direction: column-reverse; gap: 4px; }
.hero__facts dd { font-size: clamp(2.25rem, 1.6rem + 2.6vw, 4rem); font-weight: 700; letter-spacing: -0.045em; line-height: 1; font-variant-numeric: tabular-nums; }
.hero__facts dt { color: var(--muted); font-weight: 500; }

/* ---------- Km markers: the road runs through the page ---------- */
.km { display: flex; align-items: center; gap: clamp(14px, 1.6vw, 22px); margin-bottom: clamp(28px, 3.5vw, 48px); }
.km__post {
  flex: none; width: 18px; height: 28px; border-radius: 9px 9px 3px 3px; background: var(--paper);
  border: 3px solid var(--ink); position: relative; overflow: hidden;
}
.km__post::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 8px; background: var(--signal); }
.km__post--end::after { background: var(--blue); }
.km__num { font-size: clamp(2.75rem, 1.4rem + 5vw, 6.75rem); font-weight: 800; letter-spacing: -0.06em; line-height: 0.8; color: var(--km); white-space: nowrap; }
.section--tint .km__num { color: #4f6188; }
.km--light .km__num { color: var(--km-on-dark); }
.km--light .km__post { background: var(--ink); border-color: var(--on-dark); }

/* ---------- About ---------- */
.about__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px; align-items: start; }
.about__title { grid-column: 1 / span 5; }
.about__body { grid-column: 7 / span 6; display: grid; gap: 36px; justify-items: start; }
.statement { font-size: clamp(1.375rem, 1rem + 1.2vw, 1.875rem); line-height: 1.3; letter-spacing: -0.02em; font-weight: 600; }
.statement .w { opacity: 0.18; }
.about__proof { display: flex; align-items: center; gap: 16px; background: var(--tint); padding: 10px 22px 10px 10px; border-radius: 999px; }
.avatars { display: flex; flex: none; }
.avatars img, .avatars span { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 3px solid var(--tint); margin-left: -12px; }
.avatars img:first-child { margin-left: 0; }
.avatars span { display: grid; place-items: center; background: var(--blue); color: #fff; font-size: 0.8125rem; font-weight: 700; }

/* ---------- Figures ---------- */
.figures { padding-top: 0; }
.figures__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: clamp(48px, 6vw, 88px); }
.figures__head h2 { max-width: 13ch; }
.speedo { width: clamp(120px, 14vw, 200px); flex: none; }
.speedo__track, .speedo__fill { fill: none; stroke-width: 10; stroke-linecap: round; }
.speedo__track { stroke: var(--tint-2); }
.speedo__fill { stroke: var(--blue); stroke-dasharray: 100; stroke-dashoffset: 100; }
.speedo__needle { stroke: var(--signal); stroke-width: 5; stroke-linecap: round; transform-origin: 60px 70px; transform: rotate(-90deg); }
.speedo circle { fill: var(--ink); }
.figures__row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.figures__row > div { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 14px; background: var(--tint); border-radius: var(--radius); padding: clamp(24px, 2.4vw, 36px); min-height: 260px; }
.figures__row > div:nth-child(2) { background: var(--blue); color: #fff; }
.figures__row > div:nth-child(2) dt { color: rgba(255,255,255,.9); }
.figures__row dd { font-size: clamp(3rem, 2rem + 3.4vw, 5.5rem); font-weight: 800; letter-spacing: -0.055em; line-height: 0.95; font-variant-numeric: tabular-nums; margin-top: auto; }
.figures__row dt { color: var(--muted); max-width: 24ch; }

/* ---------- Categories (live selector) ---------- */
.cats__head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px; align-items: end; margin-bottom: clamp(40px, 5vw, 72px); }
.cats__head h2 { grid-column: 1 / span 6; }
.cats__head p { grid-column: 8 / span 5; color: var(--muted); }
.cats__ui { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
.cats__tabs { grid-column: 1 / span 4; display: grid; gap: 10px; align-content: start; }
.cats__tabs button {
  display: flex; align-items: center; gap: 18px; width: 100%; text-align: left;
  background: var(--paper); border: 0; border-radius: 18px; padding: 18px 22px; cursor: pointer;
  transition: background-color .3s var(--ease), color .3s var(--ease), transform .2s var(--ease);
}
.cats__tabs button:hover { background: var(--tint-2); }
.cats__tabs button:active { transform: scale(0.98); }
.cats__tabs button[aria-selected="true"] { background: var(--ink); color: #fff; }
.cats__letter { font-size: clamp(1.75rem, 1.3rem + 1.4vw, 2.75rem); font-weight: 800; letter-spacing: -0.05em; min-width: 2.2ch; line-height: 1; }
.cats__name { font-weight: 600; }
.cats__tabs button[aria-selected="true"] .cats__letter { color: var(--signal); }
.cats__panels { grid-column: 5 / span 8; display: grid; gap: 16px; }
.cat { display: grid; grid-template-columns: 1.15fr 1fr; background: var(--paper); border-radius: var(--radius); overflow: hidden; min-height: 470px; }
.cat[hidden] { display: none; }
.cat__photo { overflow: hidden; background: var(--tint-2); }
.cat__photo img { width: 100%; height: 100%; object-fit: cover; }
.cat__text { padding: clamp(24px, 3vw, 44px); display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.cat__text h3 { font-size: clamp(1.75rem, 1.3rem + 1.2vw, 2.5rem); letter-spacing: -0.04em; }
.cat__text > p { color: var(--muted); }
.cat__facts { display: grid; gap: 10px; width: 100%; margin-bottom: 8px; }
.cat__facts li { display: grid; gap: 2px; background: var(--tint); border-radius: 12px; padding: 12px 16px; font-weight: 600; }
.cat__facts span { font-size: var(--t-small); font-weight: 500; color: var(--muted); }
.cat__text .btn { margin-top: auto; }

/* ---------- Why ---------- */
.why__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px; }
.why__aside { grid-column: 1 / span 5; position: sticky; top: calc(var(--nav-h) + 32px); align-self: start; display: grid; gap: 24px; }
.why__aside > p { color: var(--muted); max-width: 36ch; font-size: var(--t-lead); line-height: 1.45; }
.wheel { width: clamp(150px, 16vw, 230px); margin-top: 12px; }
.wheel__rim { fill: none; stroke: var(--ink); stroke-width: 14; }
.wheel__hub { fill: var(--blue); }
.wheel__spoke { fill: none; stroke: var(--ink); stroke-width: 14; stroke-linecap: round; }
.wheel__mark { fill: var(--signal); }
.why__list { grid-column: 7 / span 6; display: grid; gap: 12px; }
.why__list li { background: var(--tint); border-radius: var(--radius); padding: clamp(24px, 2.6vw, 36px); display: grid; grid-template-columns: auto 1fr; gap: 6px 20px; }
.why__list li::before { content: ""; grid-row: span 2; width: 14px; height: 14px; margin-top: 0.5em; border-radius: 4px; background: var(--blue); }
.why__list li:nth-child(3n+2)::before { background: var(--signal); }
.why__list p { color: var(--muted); }

/* ---------- Route (pinned scroll scene) ---------- */
.route { overflow: hidden; }
.route__pin { min-height: 100svh; display: flex; align-items: center; padding-block: clamp(80px, 8vw, 120px); }
.route__head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px; align-items: end; }
.route__head h2 { grid-column: 1 / span 7; color: #fff; }
.route__head p { grid-column: 9 / span 4; color: var(--on-dark-muted); }
.route__map { margin-block: clamp(20px, 2.5vw, 40px); }
.route__map svg { width: 100%; height: auto; overflow: visible; max-height: 34svh; }
.route__road { fill: none; stroke: var(--navy-2); stroke-width: 54; stroke-linecap: round; }
.route__dash { fill: none; stroke: rgba(255,255,255,.32); stroke-width: 3; stroke-dasharray: 16 18; }
.route__done { fill: none; stroke: var(--blue-bright); stroke-width: 8; stroke-linecap: round; }
.route__stop circle { fill: var(--ink); stroke: var(--on-dark); stroke-width: 4; transition: fill .3s, stroke .3s; }
.route__stop.is-on circle { fill: var(--signal); stroke: var(--signal); }
.car__body { fill: #fff; }
.car__glass { fill: var(--ink); }
.car__sign { fill: var(--signal); }
.route__steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.route__steps li { background: var(--navy-2); border-radius: var(--radius); padding: 24px 26px 28px; transition: background-color .4s var(--ease); }
.route__steps h3 { color: #fff; margin-bottom: 8px; }
.route__steps p { color: var(--on-dark-muted); font-size: 1rem; transition: color .4s; }
.route__steps li.is-on { background: var(--blue); }
.route__steps li.is-on p { color: #fff; }

/* ---------- Gallery (rising triptych) ---------- */
.gallery { position: relative; padding-top: var(--gap-section); }
.gallery__head { text-align: center; display: grid; justify-items: center; gap: 16px; }
.gallery__head .km { margin-bottom: 4px; }
.gallery__head h2 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3.5rem); }
.gallery__head p { color: var(--muted); max-width: 44ch; }
.gallery__trio { display: flex; justify-content: center; align-items: flex-start; gap: 12px; margin-top: 48px; }
.g { overflow: hidden; border-radius: var(--radius); background: var(--tint-2); flex: none; }
.g img { width: 100%; height: 100%; object-fit: cover; }
.g--c { width: min(760px, 50vw); aspect-ratio: 4 / 5; }
.g--l, .g--r { width: min(380px, 25vw); aspect-ratio: 360 / 530; margin-top: 56px; }
html.motion .gallery { height: 205svh; padding-top: 0; }
html.motion .gallery__stage { position: sticky; top: 0; height: 100svh; overflow: hidden; padding-top: calc(var(--nav-h) + 3svh); }
html.motion .gallery__trio { position: absolute; left: 0; right: 0; top: 62%; margin-top: 0; }

/* ---------- Proof ---------- */
.proof__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px; align-items: start; }
.proof__portrait { grid-column: 1 / span 5; aspect-ratio: 3 / 4; border-radius: var(--radius); overflow: hidden; background: var(--tint-2); }
.proof__portrait img { width: 100%; height: 115%; object-fit: cover; object-position: 50% 30%; }
.proof__text { grid-column: 7 / span 6; display: grid; gap: 24px; justify-items: start; padding-top: clamp(0px, 6vw, 96px); }
.proof__big { font-size: clamp(1.625rem, 1.2rem + 1.6vw, 2.25rem); line-height: 1.3; letter-spacing: -0.03em; font-weight: 600; max-width: 22ch; }
.proof__big strong { color: var(--blue); }
.proof__text > p:not(.proof__big) { color: var(--muted); max-width: 46ch; }
.proof__small { width: min(320px, 70%); margin-top: 24px; justify-self: end; }
.proof__small img { aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); width: 100%; }
.proof__small figcaption { font-size: var(--t-small); color: var(--muted); margin-top: 10px; }

/* ---------- Prices ---------- */
.prices__head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px; align-items: end; margin-bottom: clamp(40px, 5vw, 64px); }
.prices__head h2 { grid-column: 1 / span 7; }
.prices__head p { grid-column: 9 / span 4; color: var(--muted); }
.table-wrap { overflow-x: auto; border-radius: var(--radius); background: var(--paper); }
.ptable { width: 100%; min-width: 760px; border-collapse: collapse; font-size: clamp(1rem, 0.9rem + 0.35vw, 1.25rem); }
.ptable th, .ptable td { text-align: left; padding: 20px 24px; vertical-align: top; }
.ptable thead th { font-size: clamp(1.75rem, 1.2rem + 1.6vw, 3rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1; padding-top: 36px; padding-bottom: 28px; }
.ptable thead th span { display: block; font-size: var(--t-body); font-weight: 600; letter-spacing: 0; margin-top: 10px; color: var(--muted); }
.ptable thead th:first-child { font-size: var(--t-body); letter-spacing: 0; color: var(--muted); font-weight: 600; vertical-align: bottom; }
.ptable tbody th { font-weight: 600; color: var(--muted); }
.ptable tbody tr:nth-child(odd) { background: var(--tint); }
.ptable .is-top { background: var(--blue); color: #fff; }
.ptable tbody tr:nth-child(odd) .is-top { background: var(--blue-deep); }
.ptable thead .is-top span { color: rgba(255,255,255,.92); }
.ptable__cta td, .ptable__cta th { padding-top: 24px; padding-bottom: 32px; }
.ptable tbody tr.ptable__cta { background: var(--paper); }
.ptable tbody tr.ptable__cta .is-top { background: var(--blue); }
.plans-m { display: none; }
.plan-m { background: var(--paper); border-radius: var(--radius); padding: 28px; display: grid; gap: 16px; }
.plan-m.is-top { background: var(--blue); color: #fff; }
.plan-m__name { font-size: 2.75rem; font-weight: 800; letter-spacing: -0.05em; line-height: 1; }
.plan-m__top { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.plan-m__price { font-weight: 700; font-size: 1.125rem; margin-top: 6px; }
.plan-m dl { display: grid; gap: 10px; }
.plan-m dt { font-size: var(--t-small); color: var(--muted); }
.plan-m.is-top dt { color: rgba(255,255,255,.88); }
.plan-m dd { font-weight: 600; }

/* ---------- FAQ ---------- */
.faq__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px; }
.faq__grid h2 { grid-column: 1 / span 4; position: sticky; top: calc(var(--nav-h) + 32px); align-self: start; font-size: clamp(2rem, 1.4rem + 2.4vw, 3.5rem); }
.faq__list { grid-column: 6 / span 7; display: grid; gap: clamp(36px, 4vw, 56px); }
.faq__row { display: grid; gap: 12px; }
.faq__row dt { font-size: clamp(1.375rem, 1.1rem + 1vw, 2rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1.15; }
.faq__row dd { max-width: 58ch; }

/* ---------- Contact ---------- */
.contact__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px; align-items: start; }
.contact__info { grid-column: 1 / span 6; display: grid; gap: 28px; }
.contact__info h2 { max-width: 12ch; }
.contact__lead { font-size: var(--t-lead); line-height: 1.45; max-width: 34ch; }
.contact__list { display: grid; gap: 10px; }
.contact__list li { background: var(--paper); border-radius: 16px; padding: 14px 20px; font-weight: 600; }
.contact__list span { display: block; font-size: var(--t-small); font-weight: 500; color: var(--muted); }
.contact__list a { text-decoration: none; }
.contact__list a:hover { color: var(--blue); text-decoration: underline; }
.form { grid-column: 8 / span 5; background: var(--paper); border-radius: var(--radius); padding: clamp(24px, 3vw, 40px); display: grid; gap: 20px; }
.form h3 { margin-bottom: 4px; }
.form__field { display: grid; gap: 8px; border: 0; padding: 0; margin: 0; min-width: 0; }
.form__field label, .form__field legend { font-weight: 600; font-size: 0.9375rem; padding: 0; }
.form__field legend { margin-bottom: 8px; }
.form input[type="text"], .form input[type="tel"], .form textarea {
  width: 100%; min-height: 52px; border: 1.5px solid #c9d2e4; border-radius: 14px; padding: 12px 16px; background: var(--paper);
  font-size: 1rem; transition: border-color .2s, box-shadow .2s;
}
.form textarea { resize: vertical; min-height: 96px; }
.form input:focus, .form textarea:focus { outline: 2px solid var(--blue); outline-offset: 2px; border-color: var(--blue); }
.form input[aria-invalid="true"] { border-color: #c2261b; }
.form small { color: var(--muted); font-size: var(--t-small); }
.seg { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; margin: 0; }
.seg span { display: grid; place-items: center; min-height: 48px; border-radius: 12px; background: var(--tint); font-weight: 800; letter-spacing: -0.02em; transition: background-color .2s, color .2s; }
.seg label:hover span { background: var(--tint-2); }
.seg input:checked + span { background: var(--ink); color: #fff; }
.seg input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
.form__error { color: #b3261e; font-weight: 600; }
.form__done { background: var(--tint); border-radius: 12px; padding: 12px 16px; font-weight: 500; }
.form .btn { justify-self: start; }

.contact__place { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; margin-top: clamp(48px, 6vw, 88px); }
.contact__city { grid-column: 1 / span 7; position: relative; border-radius: var(--radius); overflow: hidden; height: clamp(300px, 34vw, 480px); }
.contact__city img { width: 100%; height: 118%; object-fit: cover; }
.contact__city figcaption { position: absolute; left: 16px; bottom: 16px; background: var(--paper); border-radius: 12px; padding: 10px 14px; font-weight: 600; font-size: var(--t-small); }
.contact__map { grid-column: 8 / span 5; border-radius: var(--radius); overflow: hidden; height: clamp(300px, 34vw, 480px); background: var(--tint-2); }
.contact__map iframe { width: 100%; height: 100%; border: 0; }

/* ---------- CTA ---------- */
.cta { position: relative; background: var(--blue); color: #fff; overflow: hidden; padding-block: clamp(110px, 13vw, 200px); }
.cta__road { position: absolute; inset: auto 0 0; width: 100%; height: 70%; }
.cta__asphalt { fill: none; stroke: rgba(10, 26, 58, .28); stroke-width: 80; }
.cta__lane { fill: none; stroke: rgba(255,255,255,.7); stroke-width: 4; stroke-dasharray: 26 22; }
.cta__inner { position: relative; text-align: center; display: grid; justify-items: center; gap: 24px; }
.cta h2 { font-size: clamp(2.75rem, 1.4rem + 5.6vw, 7rem); letter-spacing: -0.05em; line-height: 0.95; max-width: 14ch; }
.cta p { font-size: var(--t-lead); color: #fff; max-width: 40ch; }
.cta__actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin-top: 12px; }

/* ---------- Footer, revealed from under the page ---------- */
.footer { background: var(--ink); color: var(--on-dark); overflow: hidden; }
.footer__inner { display: grid; padding-top: clamp(56px, 6vw, 96px); padding-bottom: 28px; gap: clamp(48px, 7vw, 120px) 24px; }
.footer__cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.footer__cols p { color: var(--on-dark-muted); line-height: 1.8; }
.footer__cols .footer__h { color: #fff; font-weight: 700; margin-bottom: 6px; }
.footer__cols a { text-decoration: none; }
.footer__cols a:hover { color: #fff; text-decoration: underline; }
.footer__word { font-weight: 800; letter-spacing: -0.06em; line-height: 0.8; white-space: nowrap; font-size: 12.4vw; color: #fff; text-transform: uppercase; }
.footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; font-size: var(--t-small); color: var(--on-dark-muted); padding-top: 12px; }
.footer__legal .credits { max-width: 80ch; }
.footer__legal a:hover { color: #fff; }

/* ---------- Floating contact: WhatsApp + call ---------- */
.fab {
  position: fixed; right: var(--m); bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 45;
  display: grid; gap: 12px; justify-items: end;
}
.fab__btn {
  position: relative; display: flex; align-items: center; justify-content: center;
  width: 60px; height: 60px; border-radius: 999px; color: #fff; text-decoration: none;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .22); /* taste-skill-ignore: these buttons float over the page */
  transition: transform .3s var(--ease), background-color .25s;
  animation: fab-in .7s var(--ease) both;
}
.fab__btn--wa { background: #25d366; animation-delay: 1.1s; }
.fab__btn--wa:hover { background: #1ebe5b; }
.fab__btn--call { background: var(--signal); color: var(--ink); animation-delay: 1.25s; }
.fab__btn--call:hover { background: var(--signal-deep); }
.fab__btn svg { width: 28px; height: 28px; fill: currentColor; }
.fab__btn:hover { transform: translateY(-3px) scale(1.04); }
.fab__btn:active { transform: scale(0.94); }
.fab__btn:focus-visible { outline-offset: 4px; border-radius: 999px; }
.fab__btn--wa::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; border: 2px solid #25d366;
  animation: fab-ping 2.4s var(--ease) 2s 3; opacity: 0; pointer-events: none;
}
.fab__label {
  display: none; position: absolute; right: calc(100% + 12px); top: 50%; transform: translateY(-50%); pointer-events: none;
  background: var(--ink); color: #fff; font-weight: 700; font-size: var(--t-small); padding: 8px 12px; border-radius: 10px; white-space: nowrap;
}
.fab__btn:hover .fab__label, .fab__btn:focus-visible .fab__label { display: block; animation: fab-label .25s var(--ease) both; }
@keyframes fab-label { from { opacity: 0; transform: translate(8px, -50%); } to { opacity: 1; transform: translate(0, -50%); } }
@keyframes fab-in { from { opacity: 0; transform: translateY(24px) scale(.8); } to { opacity: 1; transform: none; } }
@keyframes fab-ping { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.6); opacity: 0; } }
@media (max-width: 720px) {
  .fab { right: 16px; gap: 10px; }
  .fab__btn { width: 54px; height: 54px; }
  .fab__label { display: none; }
}

/* ---------- Odometer (in the nav: the scroll is the drive) ---------- */
.odo { display: flex; align-items: baseline; gap: 8px; background: var(--tint); border-radius: 999px; padding: 10px 18px; white-space: nowrap; }
.odo__label { font-size: var(--t-small); color: var(--muted); font-weight: 600; }
.odo__val { font-size: 1rem; font-weight: 800; min-width: 4.2ch; }
.odo__dest { font-size: var(--t-small); font-weight: 700; color: var(--blue); min-width: 11ch; }

/* ---------- Motion states (only when the script runs) ---------- */
html.js .hero__title .line > span { transform: translateY(110%); }
html.js [data-hero-fade] { opacity: 0; transform: translateY(18px); }
html.js.is-loaded .hero__title .line > span { transform: none; transition: transform 1s var(--ease); }
html.js.is-loaded .hero__title .line:nth-child(2) > span { transition-delay: .11s; }
html.js.is-loaded [data-hero-fade] { opacity: 1; transform: none; transition: opacity .8s var(--ease) .45s, transform .8s var(--ease) .45s; }
html.fade-ready [data-fade] { opacity: 0.15; transform: translateY(36px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
html.fade-ready [data-fade].in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  html.js .hero__title .line > span, html.js [data-hero-fade], [data-fade] { transform: none !important; opacity: 1 !important; }
  .statement .w { opacity: 1 !important; }
  .hero__photo img { transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1240px) {
  .odo { display: none; }
}
@media (max-width: 1100px) {
  .nav__links { gap: 20px; }
  .cats__tabs { grid-column: 1 / -1; grid-template-columns: repeat(4, 1fr); }
  .cats__tabs button { flex-direction: column; align-items: flex-start; gap: 6px; }
  .cats__panels { grid-column: 1 / -1; }
  .route__steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .nav__links, .nav__cta { display: none; }
  .nav__menu { display: block; }
  .about__title, .about__body, .why__aside, .why__list, .proof__portrait, .proof__text,
  .contact__info, .form, .contact__city, .contact__map, .faq__grid h2, .faq__list,
  .cats__head h2, .cats__head p, .prices__head h2, .prices__head p, .route__head h2, .route__head p { grid-column: 1 / -1; }
  .why__aside, .faq__grid h2 { position: static; }
  .figures__row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .proof__portrait { max-width: 520px; }
  .proof__text { padding-top: 0; }
  .footer__cols { grid-template-columns: repeat(2, 1fr); }
  .table-wrap { display: none; }
  .plans-m { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
}
@media (max-width: 720px) {
  :root { --nav-h: 64px; --radius: 18px; }
  .hero__media { grid-template-columns: 1fr; height: auto; }
  .hero__photo { aspect-ratio: 4 / 3.6; }
  .hero__inset { display: none; }
  .hero__chip { left: 12px; right: 12px; bottom: 12px; max-width: none; }
  .hero__facts { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
  .hero__side { flex-direction: column; align-items: flex-start; }
  .figures__head { flex-direction: column; align-items: flex-start; }
  .figures__row > div { min-height: 190px; padding: 20px; }
  .figures__row dd { font-size: clamp(2.25rem, 10vw, 3rem); }
  .figures__row dt { font-size: 0.9375rem; }
  .cats__tabs { grid-template-columns: repeat(2, 1fr); }
  .cat { grid-template-columns: 1fr; min-height: 0; }
  .cat__photo { aspect-ratio: 4 / 3; }
  .route__steps { grid-template-columns: 1fr; gap: 10px; }
  .route__steps li { padding: 18px 20px 20px; }
  .gallery__trio { gap: 8px; }
  .g--c { width: 66vw; }
  .g--l, .g--r { width: 34vw; }
  .contact__city, .contact__map { height: 280px; }
  .plans-m { grid-template-columns: 1fr; }
  .statement { font-size: 1.25rem; }
  .hero__chip { top: 12px; bottom: auto; }
  .hero__title { font-size: 11.2vw; }
  .hero__lead { max-width: none; }
  .proof__big { font-size: 1.375rem; }
  .form .btn { justify-self: stretch; }
  .footer__word { font-size: 13vw; }
}
