/* =========================================================
   One Way Logistic — landing
   Палітра: золото + графіт. 2 шрифти: Unbounded (display) + Manrope (text)
   ========================================================= */

:root {
    /* colors */
    --gold: #E1C650;
    --gold-600: #CDB13C;
    --gold-soft: rgba(225, 198, 80, .14);
    --ink: #141414;
    --graphite: #222222;
    --graphite-2: #2c2c2c;
    --text: #1d1d1d;
    --text-2: #5f5f5f;
    --text-inv: #f4f4f2;
    --text-inv-2: rgba(244, 244, 242, .66);
    --bg: #ffffff;
    --bg-muted: #f6f5f1;
    --line: rgba(20, 20, 20, .1);
    --line-inv: rgba(255, 255, 255, .12);
    --green: #0a9b4f;

    /* type */
    --font-display: "Unbounded", "Manrope", system-ui, sans-serif;
    --font-text: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

    --fs-xs: .8125rem;   /* 13 */
    --fs-sm: .9375rem;   /* 15 */
    --fs-base: 1.0625rem;/* 17 */
    --fs-lg: 1.25rem;    /* 20 */
    --fs-h4: 1.125rem;   /* 18 */
    --fs-h3: clamp(1.25rem, 1.1rem + .6vw, 1.5rem);
    --fs-h2: clamp(1.75rem, 1.2rem + 2.2vw, 3rem);
    --fs-h1: clamp(2rem, 1.1rem + 2.9vw, 3.6rem);

    /* spacing */
    --space-section: clamp(4.5rem, 3rem + 6vw, 8.5rem);
    --gutter: clamp(1.25rem, .8rem + 2vw, 2rem);
    --radius: 18px;
    --radius-sm: 12px;

    /* one soft shadow instead of heavy drop shadows */
    --shadow: 0 1px 2px rgba(20, 20, 20, .04), 0 12px 32px -12px rgba(20, 20, 20, .12);

    --ease: cubic-bezier(.22, .61, .36, 1);
    --header-h: 76px;
}

/* ---------- base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { overflow-x: hidden; scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    overflow-x: clip;
    font-family: var(--font-text);
    font-size: var(--fs-base);
    line-height: 1.6;
    font-weight: 500;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }
button, input, select { font: inherit; color: inherit; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.skip-link {
    position: absolute; left: 1rem; top: -100px; z-index: 100;
    padding: .75rem 1rem; background: var(--gold); color: var(--ink); border-radius: 8px; font-weight: 700;
}
.skip-link:focus { top: 1rem; }

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); }

.text-gold { color: var(--gold); }
.text-green { color: var(--green); }

/* ---------- typography ---------- */
.eyebrow {
    display: inline-flex; align-items: center; gap: .6rem;
    font-size: var(--fs-xs); font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
    color: var(--gold-600);
    margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 24px; height: 2px; background: currentColor; border-radius: 2px; }

.h2, .hero__title {
    font-family: var(--font-display);
    font-weight: 600;
    letter-spacing: -.02em;
    line-height: 1.12;
    text-wrap: balance;
}
.h2 { font-size: var(--fs-h2); }
.h4 { font-size: var(--fs-h4); font-weight: 800; line-height: 1.3; letter-spacing: -.005em; }

.section { padding: var(--space-section) 0; }
.section--muted { background: var(--bg-muted); }
.section--dark { background: var(--ink); color: var(--text-inv); }

.section-head { max-width: 720px; margin-bottom: clamp(2.5rem, 2rem + 2vw, 4rem); }
.section-head__text { margin-top: 1.25rem; color: var(--text-2); font-size: var(--fs-lg); line-height: 1.55; }
.section-head--light .section-head__text { color: var(--text-inv-2); }
.section-head--light .eyebrow { color: var(--gold); }

/* ---------- buttons ---------- */
.btn {
    --btn-bg: transparent;
    display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
    min-height: 52px; padding: .875rem 1.75rem;
    border: 1.5px solid transparent; border-radius: 999px;
    background: var(--btn-bg);
    font-weight: 800; font-size: var(--fs-sm); letter-spacing: .02em;
    text-decoration: none; cursor: pointer;
    transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn--gold { --btn-bg: var(--gold); color: var(--ink); }
.btn--gold:hover { --btn-bg: #ebd56c; }
.btn--outline { border-color: var(--line); color: var(--ink); }
.btn--outline:hover { border-color: var(--ink); background: var(--ink); color: #fff; }
.btn--lg { min-height: 60px; padding: 1rem 2.25rem; font-size: var(--fs-base); }
.btn--block { width: 100%; }

/* ---------- header ---------- */
.site-header {
    position: fixed; inset: 0 0 auto; z-index: 50;
    height: var(--header-h);
    color: #fff;
    transition: background-color .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.is-scrolled { background: rgba(20, 20, 20, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--line-inv); }
.site-header__inner { height: 100%; display: flex; align-items: center; gap: 2rem; }
.site-header__logo img { height: 40px; width: auto; }

.site-nav { flex: 1; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.site-nav__list { display: flex; gap: 2rem; }
.site-nav__link { font-size: var(--fs-sm); font-weight: 600; text-decoration: none; opacity: .82; transition: opacity .2s, color .2s; }
.site-nav__link:hover { opacity: 1; color: var(--gold); }
.site-nav__contacts { display: flex; align-items: center; gap: .5rem; }

.social { display: inline-flex; width: 36px; height: 36px; border-radius: 50%; transition: transform .2s var(--ease); }
.social img { width: 100%; height: 100%; object-fit: contain; }
.social:hover { transform: translateY(-2px); }

.site-header__phone { margin-left: .75rem; font-weight: 800; text-decoration: none; white-space: nowrap; }
.site-header__phone:hover { color: var(--gold); }

.burger { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; padding: 10px; }
.burger span { display: block; height: 2px; margin: 6px 0; background: currentColor; border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- hero ----------
   Концепція: «студія» — графітовий фон, золоте світло, авто як головний герой.
   Цінники біля авто показують головну ідею: ринок UA → зі США під ключ.
   ------------------------------------------------------------------------- */
.hero {
    position: relative; isolation: isolate; overflow: hidden;
    height: 100vh; height: 100svh; min-height: 640px; max-height: 1000px;
    display: flex; flex-direction: column;
    padding: var(--header-h) 0 0;
    background: #121212; color: #fff;
}

/* фон */
.hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; transform: translate3d(0, var(--hero-shift, 0px), 0); }
.hero__bg::before { /* тонка сітка-«креслення» */
    content: ""; position: absolute; inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
    background-size: 64px 64px;
    -webkit-mask: radial-gradient(70% 60% at 68% 45%, #000, transparent 75%); mask: radial-gradient(70% 60% at 68% 45%, #000, transparent 75%);
}
.hero__glow {
    position: absolute; left: 44%; top: 8%; width: 62vw; height: 62vw; max-width: 980px; max-height: 980px;
    border-radius: 50%; background: radial-gradient(closest-side, rgba(225, 198, 80, .22), rgba(225, 198, 80, .06) 55%, transparent);
    animation: glow-in 1.6s 1.9s var(--ease) backwards;
}
.hero__word {
    position: absolute; right: -2vw; top: 50%; transform: translateY(-62%);
    font-family: var(--font-display); font-weight: 800; line-height: .8; letter-spacing: -.05em;
    font-size: clamp(12rem, 30vw, 30rem); color: transparent;
    -webkit-text-stroke: 1px rgba(225, 198, 80, .16);
    animation: word-in 1.6s 1.9s var(--ease) backwards;
}
.hero__floor { /* підлога-відблиск */
    position: absolute; left: 0; right: 0; bottom: 0; height: 38%;
    background:
        radial-gradient(50% 40% at 70% 0%, rgba(255, 255, 255, .07), transparent 70%),
        linear-gradient(180deg, transparent, rgba(0, 0, 0, .55));
    border-top: 1px solid rgba(255, 255, 255, .05);
}

.hero__inner {
    flex: 1; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: clamp(1.5rem, 3vw, 3rem); align-items: center;
    opacity: calc(1 - var(--hero-p, 0) * 1.4); transform: translateY(calc(var(--hero-p, 0) * -40px));
}
.hero .eyebrow { color: var(--gold); margin-bottom: 1rem; }
.hero__title { max-width: 14ch; font-size: clamp(2rem, 1rem + 2.4vw + 1vh, 3.5rem); }
.hero__lead { max-width: 30rem; margin: clamp(1rem, 2vh, 1.5rem) 0 clamp(1.5rem, 3.5vh, 2.25rem); font-size: clamp(1rem, .92rem + .25vw, 1.15rem); color: rgba(255, 255, 255, .7); line-height: 1.6; }

.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.hero__alt { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; color: #fff; font-weight: 700; font-size: var(--fs-sm); line-height: 1.3; }
.hero__alt img { width: 44px; height: 44px; padding: 8px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .22); transition: border-color .2s, background-color .2s; }
.hero__alt small { display: block; font-weight: 500; color: rgba(255, 255, 255, .55); font-size: var(--fs-xs); }
.hero__alt:hover img { border-color: var(--gold); background: rgba(225, 198, 80, .08); }

/* CTA */
.hero .btn--gold { position: relative; overflow: hidden; transition: transform .3s var(--ease), background-color .25s; }
.hero .btn--gold::after {
    content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .65), transparent); transform: skewX(-20deg);
    animation: btn-sheen 4.5s 3.2s ease-in-out infinite;
}

/* ===== сцена з авто ===== */
.stage {
    position: relative; margin: 0; margin-right: calc(var(--gutter) * -1 - 4vw);
    aspect-ratio: 845 / 520;
    transform: perspective(1200px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
    transition: transform .6s var(--ease);
}
.stage.is-tilting { transition: transform .1s linear; }
.stage__cars { position: absolute; inset: 0; z-index: 1; }
.stage__car {
    position: absolute; left: 0; right: 0; bottom: 6%; width: 100%; height: auto;
    filter: drop-shadow(0 26px 30px rgba(0, 0, 0, .6));
    transition: transform var(--sr-drive, 1.1s) cubic-bezier(.22, .8, .25, 1), opacity .6s ease-out;
    will-change: transform, opacity; backface-visibility: hidden;
}
.stage__car.is-first { animation: car-in 1.5s 2s cubic-bezier(.2, .8, .2, 1) backwards; }
/* заїзд справа (авто дивиться вліво — їде вперед) */
.stage__car.is-enter { transform: translate3d(60%, 0, 0) scale(.94); opacity: 0; transition: none; }
.stage__car.is-on { transform: translate3d(0, 0, 0); opacity: 1; }
/* виїзд вліво з розгоном */
.stage__car.is-leave {
    transform: translate3d(-70%, 0, 0) scale(.96); opacity: 0;
    transition: transform .95s cubic-bezier(.5, 0, .75, .3), opacity .55s .3s ease-in;
}
.stage__shadow {
    position: absolute; left: 10%; right: 8%; bottom: 5%; height: 9%;
    border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 0, 0, .85), transparent);
    animation: fade-in 1s 2.7s var(--ease) backwards;
    transition: transform .6s var(--ease), opacity .6s;
}
.is-driving .stage__shadow { transform: scaleX(.6); opacity: .4; }

/* дорога: золоті штрихи розмітки, що «біжать» під час зміни авто */
.stage__road {
    position: absolute; left: -10%; right: -20%; bottom: 4%; height: 2px; z-index: 0; overflow: hidden;
    -webkit-mask: linear-gradient(90deg, transparent, #000 20%, #000 80%, transparent); mask: linear-gradient(90deg, transparent, #000 20%, #000 80%, transparent);
}
.stage__road::before {
    content: ""; position: absolute; inset: 0; width: 200%;
    background: repeating-linear-gradient(90deg, rgba(225, 198, 80, .55) 0 46px, transparent 46px 92px);
    transform: translate3d(var(--road-x, 0px), 0, 0); will-change: transform;
}
@keyframes road-run { to { transform: translateX(-92px); } }

/* швидкісні лінії під час зміни */
.stage::after {
    content: ""; position: absolute; left: -5%; right: -5%; top: 35%; bottom: 18%; z-index: 0; pointer-events: none;
    background:
        linear-gradient(90deg, transparent, rgba(255, 255, 255, .22), transparent) 0 12% / 40% 1px no-repeat,
        linear-gradient(90deg, transparent, rgba(225, 198, 80, .35), transparent) 30% 38% / 55% 1px no-repeat,
        linear-gradient(90deg, transparent, rgba(255, 255, 255, .16), transparent) 80% 62% / 35% 1px no-repeat,
        linear-gradient(90deg, transparent, rgba(225, 198, 80, .25), transparent) 10% 86% / 45% 1px no-repeat;
    opacity: 0;
}
.is-driving::after { animation: speed-lines .9s var(--ease); }
@keyframes speed-lines { 0% { opacity: 0; transform: translateX(30%); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateX(-40%); } }

/* пагінація з прогресом */
.stage__pager { position: absolute; right: 14%; bottom: -2%; z-index: 3; display: flex; gap: 6px; }
.stage__pager button { position: relative; width: 26px; height: 20px; padding: 0; background: none; border: 0; cursor: pointer; }
.stage__pager button i { position: absolute; left: 0; right: 0; top: 9px; height: 2px; border-radius: 2px; background: rgba(255, 255, 255, .2); overflow: hidden; transition: background-color .2s; }
.stage__pager button:hover i { background: rgba(255, 255, 255, .4); }
.stage__pager button[aria-selected="true"] { width: 44px; }
.stage__pager button[aria-selected="true"] i::after { content: ""; position: absolute; inset: 0; background: var(--gold); transform-origin: left; }
.stage__pager.is-run button[aria-selected="true"] i::after { animation: sr-progress var(--sr-int, 5s) linear; }
.is-paused .stage__pager button[aria-selected="true"] i::after { animation-play-state: paused; }
@keyframes sr-progress { from { transform: scaleX(0); } }
/* прогрес — це таймер автоплею, тож лишаємо реальну тривалість навіть при reduced motion */
@media (prefers-reduced-motion: reduce) {
    .stage__pager.is-run button[aria-selected="true"] i::after { animation-duration: var(--sr-int, 5s) !important; }
}

/* цінники */
.tag {
    position: absolute; z-index: 2; display: grid; gap: .2rem;
    padding: .7rem 1rem; border-radius: 14px;
    background: rgba(22, 22, 22, .72); border: 1px solid rgba(255, 255, 255, .12);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .8);
    animation: tag-in .8s var(--ease) backwards;
    transform: translateZ(40px);
}
.tag > span { font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .55); white-space: nowrap; }
.tag strong, .tag s { font-family: var(--font-display); font-weight: 600; line-height: 1.1; white-space: nowrap; }

.tag strong, .tag s, .tag--model strong { transition: opacity .3s, transform .3s var(--ease); }
.is-swapping .tag--model strong { opacity: 0; transform: translateY(-6px); }

.tag--model { left: 4%; top: 2%; animation-delay: 2.9s; background: transparent; border-color: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; padding-left: 0; }
.tag--model strong { font-family: var(--font-text); font-weight: 800; font-size: clamp(.95rem, .85rem + .3vw, 1.1rem); color: #fff; }

.tag--market { left: 4%; top: 25%; animation-delay: 3.05s; }
.tag--market s { font-size: clamp(1.1rem, .9rem + .6vw, 1.5rem); color: rgba(255, 255, 255, .5); text-decoration-color: rgba(255, 92, 92, .9); text-decoration-thickness: 2px; }

.tag--usa {
    right: 14%; top: 10%; padding: .9rem 1.25rem; animation-delay: 3.2s;
    background: linear-gradient(160deg, rgba(225, 198, 80, .2), rgba(22, 22, 22, .8) 60%); border-color: rgba(225, 198, 80, .5);
    box-shadow: 0 24px 50px -18px rgba(0, 0, 0, .8), 0 0 0 6px rgba(225, 198, 80, .06);
}
.tag--usa > span { color: var(--gold); }
.tag--usa strong { font-size: clamp(1.6rem, 1.1rem + 1.4vw, 2.5rem); color: #fff; font-variant-numeric: tabular-nums; }
.tag--usa strong b { font-weight: inherit; }

.tag--save {
    left: 30%; bottom: 0; grid-auto-flow: column; align-items: center; gap: .75rem;
    padding: .55rem .9rem .55rem .75rem; border-radius: 999px; animation-delay: 3.7s;
    background: rgba(10, 155, 79, .16); border-color: rgba(79, 224, 143, .35);
}
.tag--save::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #4fe08f; box-shadow: 0 0 0 4px rgba(79, 224, 143, .18); }
.tag--save > span { color: rgba(255, 255, 255, .75); }
.tag--save strong { font-size: 1.05rem; color: #4fe08f; }

/* нижня смуга фактів */
.hero__bar { position: relative; z-index: 1; opacity: calc(1 - var(--hero-p, 0) * 2); }
/* мобілка: hero високий і складений в колонку — загальне затемнення гасило б контент, який ще на екрані */
@media (max-width: 960px) {
    .hero__inner, .hero__bar { opacity: 1; transform: none; }
}
.hero__facts {
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
    border-top: 1px solid rgba(255, 255, 255, .12);
    animation: fade-up .9s 2.7s var(--ease) backwards;
}
.hero__fact { padding: clamp(1rem, 2.5vh, 1.6rem) 1.5rem clamp(1.1rem, 3vh, 1.9rem) 0; }
.hero__fact + .hero__fact { padding-left: 1.5rem; border-left: 1px solid rgba(255, 255, 255, .08); }
.hero__fact strong { display: block; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.05rem, .85rem + .7vw, 1.45rem); color: #fff; letter-spacing: -.01em; white-space: nowrap; }
.hero__fact:first-child strong, .hero__fact:nth-child(2) strong { color: var(--gold); }
.hero__fact > span { display: block; margin-top: .3rem; font-size: var(--fs-xs); color: rgba(255, 255, 255, .55); line-height: 1.35; }

.hero__scroll { display: none; }

/* ===== інтро «USA → UA»: золоті контурні літери, камера пролітає крізь них ===== */
.hero__intro {
    position: absolute; inset: 0; z-index: 5; pointer-events: none;
    display: grid; place-items: center;
    background: #0b0b0b;
    animation: intro-out .6s 1.8s linear forwards;
}
/* літери — SVG-контури Unbounded 700; кожну «прописує» золота лінія */
.hero__intro-text {
    width: min(86vw, 1100px); height: auto; overflow: visible;
    transform-origin: 58% 40%;
    animation: intro-zoom 1.1s 1.4s cubic-bezier(.7, 0, .2, 1) forwards;
}
.hero__intro-text .ip {
    fill: none;
    stroke: var(--gold); stroke-width: 9; stroke-linejoin: round; stroke-linecap: round;
    stroke-dasharray: 1; stroke-dashoffset: 1;
    animation: ip-draw .75s calc(.1s + var(--d) * .09s) cubic-bezier(.65, 0, .35, 1) forwards;
}
.hero__intro-text .ip--arrow { fill: none; stroke-width: 34; animation: ip-draw .5s .45s cubic-bezier(.65, 0, .35, 1) forwards; }
@keyframes ip-draw { to { stroke-dashoffset: 0; } }

/* заголовок: слова піднімаються з-під маски */
.hero__title .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.hero__title .w > span { display: inline-block; transform: translateY(110%); animation: word-up 1s var(--ease) both; animation-delay: calc(2s + var(--i) * .05s); }
.hero__title .text-gold .w > span {
    background: linear-gradient(100deg, var(--gold) 0%, var(--gold) 40%, #fff6cf 50%, var(--gold) 60%, var(--gold) 100%);
    background-size: 250% 100%; background-position: 100% 0;
    -webkit-background-clip: text; background-clip: text; color: transparent;
    animation: word-up 1s var(--ease) both, shine 3.5s 3s ease-in-out infinite;
    animation-delay: calc(2s + var(--i) * .05s), calc(3s + var(--i) * .05s);
}

.hero__content > * { animation: fade-up .9s var(--ease) backwards; }
.hero__content > :nth-child(1) { animation-delay: 1.95s; }
.hero__content > :nth-child(2) { animation: none; }
.hero__content > :nth-child(3) { animation-delay: 2.3s; }
.hero__content > :nth-child(4) { animation-delay: 2.45s; }

@keyframes intro-zoom { to { transform: scale(38); } }
@keyframes intro-out { to { opacity: 0; visibility: hidden; } }
@keyframes car-in { from { opacity: 0; transform: translateX(-45%); } to { opacity: 1; transform: none; } }
@keyframes tag-in { from { opacity: 0; transform: translateY(14px) scale(.92); } }
@keyframes glow-in { from { opacity: 0; transform: scale(.6); } }
@keyframes word-in { from { opacity: 0; transform: translate(6%, -62%); } }
@keyframes fade-in { from { opacity: 0; } }
@keyframes word-up { to { transform: none; } }
@keyframes shine { 0%, 55% { background-position: 100% 0; } 100% { background-position: 0% 0; } }
@keyframes btn-sheen { 0% { left: -60%; } 30%, 100% { left: 130%; } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(58, 208, 122, .6); } 70%, 100% { box-shadow: 0 0 0 8px rgba(58, 208, 122, 0); } }
@keyframes track { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes scroll-hint { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }
@keyframes fade-up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* повторний візит у сесії — без інтро (зсув таймінгу на −1.9s) */
.no-intro .hero__intro { display: none; }
.no-intro .hero__content > *, .no-intro .hero__title .w > span, .no-intro .hero__glow, .no-intro .hero__word,
.no-intro .stage__car.is-first, .no-intro .stage__shadow, .no-intro .hero__facts { animation-delay: 0s !important; }
.no-intro .tag--model { animation-delay: .5s !important; }
.no-intro .tag--market { animation-delay: .7s !important; }
.no-intro .tag--usa { animation-delay: 1s !important; }
.no-intro .tag--save { animation-delay: 1.5s !important; }
.no-intro .hero__title .text-gold .w > span { animation-delay: 0s, 1s !important; }

/* низькі екрани ноутбуків */
@media (max-height: 760px) and (min-width: 961px) {
    .hero__lead { margin-bottom: 1.25rem; }
    .stage { max-height: 62vh; aspect-ratio: auto; height: 62vh; }
}


/* ---------- cards / fields ---------- */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); }
.card--dark { background: var(--ink); border-color: var(--ink); color: var(--text-inv); }

.field { display: flex; flex-direction: column; gap: .5rem; min-width: 0; }
.field[hidden] { display: none; }
.field + .field, .field + .field-row, .field-row + .field, .field-row + .field-row { margin-top: 1.5rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field__label { font-size: var(--fs-sm); font-weight: 700; color: var(--text-2); }
.field__input {
    width: 100%; min-height: 52px; padding: .75rem 1rem;
    border: 1.5px solid var(--line); border-radius: var(--radius-sm);
    background: #fff; color: var(--text);
    font-weight: 600; font-variant-numeric: tabular-nums;
    transition: border-color .2s, box-shadow .2s;
    -moz-appearance: textfield;
}
.field__input::-webkit-outer-spin-button, .field__input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
select.field__input {
    appearance: none; -webkit-appearance: none; padding-right: 2.5rem; cursor: pointer;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath stroke='%23141414' stroke-width='1.6' d='m1 1.5 5 5 5-5'/%3E%3C/svg%3E") no-repeat right 1rem center;
}
.field__input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px var(--gold-soft); }
.field__input.is-invalid { border-color: #d0453b; box-shadow: 0 0 0 4px rgba(208, 69, 59, .12); }
.field__input::placeholder { color: #9a9a9a; font-weight: 500; }

#calc-price { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; min-height: 60px; }

.range { width: 100%; margin: .5rem 0 0; accent-color: var(--gold); height: 24px; cursor: pointer; }

.segmented { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; padding: 4px; background: var(--bg-muted); border-radius: var(--radius-sm); }
.segmented label { position: relative; }
.segmented input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.segmented span { display: block; padding: .7rem .25rem; text-align: center; font-size: var(--fs-sm); font-weight: 700; border-radius: 9px; color: var(--text-2); transition: background-color .2s, color .2s; }
.segmented input:checked + span { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(20, 20, 20, .1); }
.segmented input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 1px; }

/* ---------- calculator ---------- */
.calc__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(1rem, .5rem + 1.5vw, 1.75rem); align-items: start; }
.calc__result { position: sticky; top: calc(var(--header-h) + 1.5rem); }
.calc__list > div { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: .8rem 0; border-bottom: 1px solid var(--line-inv); }
.calc__list dt { color: var(--text-inv-2); font-size: var(--fs-sm); display: inline-flex; align-items: center; gap: .4rem; }
.calc__list dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.calc__total { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: 1.5rem 0 1.75rem; }
.calc__total span { font-weight: 700; }
.calc__total strong { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.75rem, 1.3rem + 1.8vw, 2.5rem); color: var(--gold); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }

/* компактний калькулятор */
.section-head--row { max-width: none; display: grid; grid-template-columns: 1.1fr 1fr; gap: 1rem clamp(1rem, .5rem + 1.5vw, 1.75rem); align-items: end; margin-bottom: clamp(1.5rem, 1rem + 1.5vw, 2.25rem); }
.section-head--row .section-head__text { margin: 0; font-size: var(--fs-sm); }
.calc__grid { grid-template-columns: 1.15fr 1fr; align-items: stretch; }
.calc .card { padding: clamp(1.25rem, .9rem + 1.2vw, 1.75rem); }
.calc .field { gap: .4rem; }
.calc .field + .field, .calc .field + .field-row, .calc .field-row + .field, .calc .field-row + .field-row { margin-top: 1.1rem; }
.calc .field__label { font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .06em; color: var(--text-2); }
.calc .field__input { min-height: 46px; padding: .6rem .85rem; }
.calc select.field__input { background-position: right .85rem center; padding-right: 2.2rem; }
.field-row--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; }
/* поля в одному ряду не отримують відступ «.field + .field» — інакше інпути стрибають */
.calc .field-row > .field.field, .field-row > .field.field { margin-top: 0; }
.field-row { align-items: end; }
.calc .field__label { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.price-box { position: relative; }
.price-box__cur { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); font-family: var(--font-display); font-size: 1.35rem; font-weight: 600; color: var(--text-2); pointer-events: none; }
.calc #calc-price { min-height: 56px; padding-left: 2.4rem; font-size: 1.5rem; }

.calc .range {
    --p: 16%;
    -webkit-appearance: none; appearance: none; height: 22px; margin: .35rem 0 0; background: none;
}
.calc .range::-webkit-slider-runnable-track { height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--gold) var(--p), var(--line) var(--p)); }
.calc .range::-moz-range-track { height: 6px; border-radius: 6px; background: var(--line); }
.calc .range::-moz-range-progress { height: 6px; border-radius: 6px; background: var(--gold); }
.calc .range::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; margin-top: -8px; border-radius: 50%; background: #fff; border: 5px solid var(--gold); box-shadow: 0 2px 6px rgba(20, 20, 20, .2); transition: transform .15s; }
.calc .range::-moz-range-thumb { width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 5px solid var(--gold); box-shadow: 0 2px 6px rgba(20, 20, 20, .2); }
.calc .range:active::-webkit-slider-thumb { transform: scale(1.15); }
.calc .range:focus-visible { outline: none; }
.calc .range:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 5px var(--gold-soft); }
.range__scale { display: flex; justify-content: space-between; font-size: 11px; font-weight: 600; color: #9a9a9a; font-variant-numeric: tabular-nums; }

.calc .segmented span { padding: .55rem .25rem; font-size: var(--fs-xs); }
.segmented--3 { grid-template-columns: repeat(3, 1fr); }
/* один чіткий стан «обрано» замість двох різних (білий + золота рамка фокусу) */
.calc .segmented input:checked + span { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--gold), 0 2px 8px rgba(20, 20, 20, .08); }
.calc .segmented input:focus-visible + span { outline: none; box-shadow: inset 0 0 0 1.5px var(--gold), 0 0 0 3px var(--gold-soft); }
.calc .segmented input:not(:checked) + span:hover { color: var(--ink); }
.segmented span small { display: block; margin-top: .1rem; font-size: 10.5px; font-weight: 600; letter-spacing: .02em; color: #9a9a9a; }

.calc__result { display: flex; flex-direction: column; }
.calc__result .calc__total { flex-direction: column; align-items: flex-start; gap: .2rem; padding: 0 0 1rem; border-bottom: 1px solid var(--line-inv); }
.calc__result .calc__total span { font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .08em; color: var(--text-inv-2); }
.calc__result .calc__total strong { font-size: clamp(2rem, 1.5rem + 1.8vw, 2.75rem); line-height: 1.05; }
.calc .calc__list { margin: .25rem 0 0; }
.calc .calc__list > div { padding: .5rem 0; }
.calc .calc__list > div:last-child { border-bottom: 0; }
.calc .calc__list dt { font-size: var(--fs-xs); }
.calc .calc__list dd { font-size: var(--fs-sm); }
.calc .lead-form { gap: .6rem; margin-top: auto; }
.calc .lead-form--calc { padding-top: 1rem; border-top: 1px solid var(--line-inv); }
.calc .lead-form__title { font-size: var(--fs-sm); margin: 0; }
.calc .lead-form__note { font-size: 11px; }
.calc .btn--block { min-height: 48px; }

/* мобільна плашка з живим підсумком */
.calc-bar { display: none; }
@media (max-width: 960px) {
    .calc-bar {
        display: flex; align-items: center; gap: .75rem;
        position: fixed; left: .75rem; right: .75rem; bottom: calc(.75rem + env(safe-area-inset-bottom)); z-index: 45;
        padding: .7rem .8rem .7rem 1.1rem; border-radius: 16px;
        background: rgba(20, 20, 20, .94); color: #fff; text-decoration: none;
        -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
        box-shadow: 0 10px 30px rgba(0, 0, 0, .25), inset 0 0 0 1px rgba(225, 198, 80, .25);
        opacity: 0; visibility: hidden; transform: translateY(calc(100% + 1rem));
        transition: opacity .3s, transform .4s var(--ease), visibility 0s .4s;
    }
    .calc-bar.is-on { opacity: 1; visibility: visible; transform: none; transition: opacity .3s, transform .4s var(--ease), visibility 0s; }
    .calc-bar__label { font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .6); line-height: 1.2; max-width: 6.5em; }
    .calc-bar__sum { font-family: var(--font-display); font-weight: 600; font-size: 1.35rem; color: var(--gold); letter-spacing: -.02em; font-variant-numeric: tabular-nums; white-space: nowrap; }
    .calc-bar__cta { margin-left: auto; padding: .6rem .9rem; border-radius: 11px; background: var(--gold); color: var(--ink); font-size: 13px; font-weight: 800; white-space: nowrap; }
    #calc-result { scroll-margin-top: calc(var(--header-h) + .75rem); }
    /* зона натискання ≥44px для пальця */
    .calc .segmented span { min-height: 44px; display: flex; flex-direction: column; align-items: center; justify-content: center; }
    .calc .segmented span small { font-size: 11px; }
    .calc .range { height: 32px; }
}

/* десктоп: весь калькулятор (заголовок + обидві картки) вміщується в один екран */
@media (min-width: 961px) {
    .section.calc {
        min-height: calc(100svh - var(--header-h)); display: flex; align-items: center;
        padding: clamp(1.5rem, 4vh, 3.5rem) 0;
        scroll-margin-top: var(--header-h);
    }
    .calc > .container { width: 100%; }
    .calc .section-head--row { margin-bottom: clamp(1rem, 2.5vh, 1.75rem); }
    .calc .section-head--row .eyebrow { margin-bottom: .5rem; }
    .calc .section-head--row .h2 { font-size: clamp(1.6rem, .9rem + 1.5vw, 2.4rem); }
    .calc .section-head--row .section-head__text { max-width: 52ch; line-height: 1.5; }

    .calc .card { padding: clamp(1.1rem, 2.4vh, 1.6rem) clamp(1.25rem, .9rem + 1vw, 1.75rem); }
    .calc .field { gap: .35rem; }
    .calc .field + .field, .calc .field + .field-row, .calc .field-row + .field, .calc .field-row + .field-row { margin-top: clamp(.75rem, 1.8vh, 1.1rem); }
    .calc .field__input { min-height: 44px; padding: .5rem .8rem; }
    .calc #calc-price { min-height: 52px; font-size: 1.4rem; }
    .calc .range { margin-top: .2rem; }
    .calc .segmented span { padding: .5rem .25rem; }

    .calc__result .calc__total { padding-bottom: .75rem; }
    .calc__result .calc__total strong { font-size: clamp(1.9rem, 1.3rem + 1.4vw, 2.5rem); }
    .calc .calc__list { margin-top: .1rem; }
    .calc .calc__list > div { padding: clamp(.3rem, .9vh, .5rem) 0; }
    .calc .lead-form { gap: .5rem; }
    .calc .lead-form--calc { padding-top: .85rem; margin-top: auto; }
    .calc .lead-form__note { margin: 0; }
    .calc .btn--block { min-height: 46px; }
}

/* невисокі ноутбуки: ще щільніше */
@media (min-width: 961px) and (max-height: 820px) {
    .calc .section-head--row .eyebrow { display: none; }
    .calc .section-head--row .h2 { font-size: clamp(1.5rem, .9rem + 1.2vw, 2.1rem); }
    .calc .section-head--row .section-head__text { font-size: var(--fs-xs); }
    .calc .field__input { min-height: 40px; }
    .calc #calc-price { min-height: 46px; font-size: 1.3rem; }
    .calc .segmented span { padding: .4rem .25rem; }
    .calc .segmented span small { display: inline; margin: 0 0 0 .3rem; }
    .calc .range__scale { display: none; }
    .calc .lead-form__title { font-size: var(--fs-xs); }
    .calc .lead-form__note { font-size: 10.5px; }
    .calc .btn--block { min-height: 44px; }
    .section.calc { padding: 1rem 0; }
    .calc .section-head--row { margin-bottom: .9rem; }
    .calc__result .calc__total { padding-bottom: .5rem; }
    .calc__result .calc__total strong { font-size: clamp(1.7rem, 1.2rem + 1.2vw, 2.2rem); }
    .calc .calc__list > div { padding: .28rem 0; }
    .calc .lead-form { gap: .4rem; }
    .calc .lead-form--calc { padding-top: .7rem; }
    .calc .lead-form__fields { gap: .5rem; }
}

.hint {
    position: relative; width: 18px; height: 18px; padding: 0; border: 1px solid var(--line-inv); border-radius: 50%;
    background: none; color: var(--text-inv-2); font-size: 11px; font-weight: 800; line-height: 1; cursor: help;
}
.hint:hover::after, .hint:focus-visible::after {
    content: attr(data-tooltip);
    position: absolute; left: 50%; bottom: calc(100% + 8px); transform: translateX(-50%);
    width: max-content; max-width: 240px; padding: .5rem .75rem; border-radius: 8px;
    background: #fff; color: var(--ink); font-size: 12px; font-weight: 600; line-height: 1.4; text-align: left;
    box-shadow: var(--shadow); z-index: 5;
}

/* ---------- lead form ---------- */
.lead-form { display: grid; gap: .75rem; }
.lead-form__title { font-weight: 700; line-height: 1.45; margin-bottom: .25rem; }
.lead-form__fields { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.lead-form__note { font-size: var(--fs-xs); color: var(--text-inv-2); text-align: center; }
.lead-form--calc { padding-top: 1.5rem; border-top: 1px solid var(--line-inv); }
.card--dark .field__input { background: var(--graphite); border-color: transparent; color: #fff; }
.card--dark .field__input::placeholder { color: rgba(255, 255, 255, .45); }
.lead-form.is-sent { opacity: .6; pointer-events: none; }

/* ---------- cases ---------- */
.cases__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, .5rem + 1.5vw, 1.75rem); }
.case { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); transition: box-shadow .35s var(--ease), transform .35s var(--ease); }
.case:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.case__media { position: relative; aspect-ratio: 4 / 3; background: linear-gradient(180deg, #fbfaf6 0%, #efede5 100%); display: grid; place-items: center; overflow: hidden; }
.case__img { width: 88%; height: auto; object-fit: contain; transition: transform .6s var(--ease), opacity .4s var(--ease); }
.case:hover .case__img { transform: scale(1.03); }
.case__img--after { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; }
.case__media.show-after .case__img--after { opacity: 1; }
.case__badge { position: absolute; top: 1rem; left: 1rem; padding: .3rem .7rem; border-radius: 999px; background: var(--ink); color: #fff; font-size: 12px; font-weight: 700; }
.case__badge::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: .4rem; border-radius: 50%; background: #3ad07a; vertical-align: middle; }
.case__toggle { position: absolute; bottom: .75rem; left: 50%; transform: translateX(-50%); display: flex; padding: 3px; border-radius: 999px; background: rgba(20, 20, 20, .75); backdrop-filter: blur(6px); }
.case__toggle button { border: 0; padding: .35rem .8rem; border-radius: 999px; background: none; color: #fff; font-size: 12px; font-weight: 700; cursor: pointer; }
.case__toggle button[aria-pressed="true"] { background: var(--gold); color: var(--ink); }

.case__body { display: flex; flex-direction: column; flex: 1; padding: 1.5rem; }
.case__title { font-size: var(--fs-h3); font-weight: 800; letter-spacing: -.01em; line-height: 1.25; }
.case__meta { margin-top: .35rem; font-size: var(--fs-sm); color: var(--text-2); }
.case__flow { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: .75rem; margin: 1.25rem 0 0; padding: 1rem; background: var(--bg-muted); border-radius: var(--radius-sm); }
.case__flow span, .case__stats span { display: block; font-size: 12px; font-weight: 600; color: var(--text-2); }
.case__flow strong { display: block; margin-top: .15rem; font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.case__flow strong.text-gold { color: #b39a2c; }
.case__arrow { width: 20px; height: 20px; fill: none; stroke: var(--text-2); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.case__stats { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; margin: 1rem 0 1.5rem; padding: 0 1rem; }
.case__stats strong { display: block; margin-top: .1rem; font-weight: 800; }
.case .btn { margin-top: auto; }
/* «Розрахунок по статтях» притиснуте до кнопки внизу картки - однаковий відступ у всіх картках */
.case__more { display: inline-block; align-self: flex-start; margin: auto 0 1.25rem; padding-top: .25rem; }
.case__more + .btn { margin-top: 0; }

/* ---------- why ---------- */
.why__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; }
.why__list { display: grid; gap: 1.25rem; margin-top: 2rem; }
.why__list li { position: relative; padding-left: 2.25rem; color: var(--text-2); }
.why__list li::before {
    content: ""; position: absolute; left: 0; top: .2rem; width: 22px; height: 22px; border-radius: 50%;
    background: var(--gold-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='10' fill='none'%3E%3Cpath stroke='%23b39a2c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='m1.5 5 3 3 6-6.5'/%3E%3C/svg%3E") no-repeat center;
}
.why__list strong { color: var(--text); }
.why__media img { width: 100%; }

/* ---------- about ---------- */
.about__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line-inv); border: 1px solid var(--line-inv); border-radius: var(--radius); overflow: hidden; }
.about__item { padding: 2rem 1.75rem; background: var(--ink); }
.about__item .h4 { color: var(--gold); margin-bottom: .75rem; }
.about__item p { color: var(--text-inv-2); font-size: var(--fs-sm); line-height: 1.65; }

/* ---------- timeline ---------- */
.timeline { position: relative; display: grid; gap: clamp(1.5rem, 1rem + 2vw, 2.5rem); counter-reset: step; }
.timeline::before, .timeline::after {
    content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; margin-left: -1px; border-radius: 2px;
}
.timeline::before { background: var(--line); }
.timeline::after { background: var(--gold); transform-origin: top; transform: scaleY(var(--progress, 0)); }

.timeline__item { position: relative; display: grid; grid-template-columns: 1fr 64px 1fr; align-items: start; }
.timeline__dot {
    grid-column: 2; z-index: 1; justify-self: center;
    display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
    background: #fff; border: 2px solid var(--line); color: var(--text-2);
    font-family: var(--font-display); font-weight: 600; font-size: .95rem;
    transition: background-color .4s var(--ease), border-color .4s var(--ease), color .4s var(--ease), transform .4s var(--ease);
}
.timeline__card {
    grid-row: 1; padding: 1.5rem 1.75rem; border-radius: var(--radius); border: 1px solid var(--line); background: #fff;
    opacity: .45; transform: translateY(12px);
    transition: opacity .6s var(--ease), transform .6s var(--ease), border-color .4s;
}
.timeline__item:nth-child(odd) .timeline__card { grid-column: 1; }
.timeline__item:nth-child(even) .timeline__card { grid-column: 3; }
.timeline__icon { width: 40px; height: 40px; object-fit: contain; margin-bottom: 1rem; opacity: .85; }
.timeline__card p { margin-top: .5rem; color: var(--text-2); font-size: var(--fs-sm); line-height: 1.65; }
.timeline__card a { font-weight: 700; text-decoration-color: var(--gold); text-underline-offset: 3px; }

.timeline__item.is-active .timeline__dot { background: var(--gold); border-color: var(--gold); color: var(--ink); transform: scale(1.06); }
.timeline__item.is-active .timeline__card { opacity: 1; transform: none; border-color: rgba(225, 198, 80, .55); }

/* ---------- final CTA ---------- */
.cta__box {
    display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 1rem + 3vw, 4rem); align-items: center;
    padding: clamp(2rem, 1rem + 4vw, 4.5rem); border-radius: calc(var(--radius) + 6px);
    background: var(--ink) url("../images/counter-bg.jpg") center / cover no-repeat; color: var(--text-inv);
    position: relative; isolation: isolate; overflow: hidden;
}
.cta__box::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(20, 20, 20, .95) 30%, rgba(20, 20, 20, .8)); }
.cta__box .eyebrow { color: var(--gold); }
.cta__text > p:not(.eyebrow) { margin-top: 1rem; color: var(--text-inv-2); font-size: var(--fs-lg); }
.cta__box .lead-form__fields { grid-template-columns: 1fr; }
.cta__box .field__input { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .14); color: #fff; }
.cta__box .field__input::placeholder { color: rgba(255, 255, 255, .5); }

/* ---------- footer ---------- */
.site-footer { padding: 2.5rem 0; background: var(--ink); color: var(--text-inv-2); }
.site-footer__inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1.5rem; }
.site-footer__inner img { height: 40px; width: auto; }
.site-footer__contacts { display: flex; align-items: center; gap: .5rem; color: #fff; }
.site-footer__copy { width: 100%; padding-top: 1.5rem; border-top: 1px solid var(--line-inv); font-size: var(--fs-xs); }
.site-footer__copy a { color: var(--gold); text-decoration: none; }

/* ---------- toast ---------- */
.toast {
    position: fixed; left: 50%; bottom: 1.5rem; z-index: 90; transform: translate(-50%, 20px);
    max-width: calc(100% - 2rem); padding: 1rem 1.5rem; border-radius: 14px;
    background: var(--ink); color: #fff; font-weight: 600; box-shadow: var(--shadow);
    border-left: 4px solid var(--gold);
    opacity: 0; transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* =========================================================
   Motion: scroll reveal (1 ефект для всіх секцій)
   ========================================================= */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--delay, 0s); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    .js .reveal, .timeline__card { opacity: 1; transform: none; }
    .hero__intro { display: none; }
    .hero *, .hero *::before { animation-delay: 0s !important; }
    .route__line { stroke-dashoffset: 0; }
    .route__stops li { opacity: 1; }
}

/* ---------- compare: Україна vs США ---------- */
.compare__box { border: 1px solid var(--line); border-radius: calc(var(--radius) + 6px); background: #fff; overflow: hidden; }
.compare__tabs { display: flex; gap: 4px; padding: 6px; margin: 1.25rem; width: fit-content; max-width: calc(100% - 2.5rem); overflow-x: auto; border-radius: 999px; background: var(--bg-muted); scrollbar-width: none; }
.compare__tabs button { flex: none; border: 0; padding: .6rem 1.1rem; border-radius: 999px; background: none; font-weight: 700; font-size: var(--fs-sm); color: var(--text-2); cursor: pointer; transition: background-color .25s, color .25s; }
.compare__tabs button[aria-selected="true"] { background: var(--ink); color: #fff; }
.compare__body { display: grid; grid-template-columns: 240px minmax(0, 1fr) 260px; gap: clamp(1.5rem, 3vw, 3rem); align-items: center; padding: 0 clamp(1.25rem, 3vw, 2.5rem) clamp(1.5rem, 3vw, 2.5rem); }
.compare__car { text-align: center; }
.compare__img { width: 100%; transition: opacity .3s var(--ease), transform .5s var(--ease); }
.compare__img.is-swap { opacity: 0; transform: translateX(-20px); }
.compare__name { margin-top: .5rem; font-weight: 800; }
.compare__bars { display: grid; gap: 1.75rem; }
.compare__label { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: .6rem; }
.compare__label span { font-weight: 700; color: var(--text-2); }
.compare__label small { font-size: var(--fs-xs); font-weight: 600; }
.compare__label strong { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.3rem, 1rem + 1vw, 1.75rem); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.compare__label strong.text-gold { color: #b39a2c; }
.compare__track { display: flex; height: 14px; border-radius: 999px; background: var(--bg-muted); overflow: hidden; }
.compare__bar { display: block; height: 100%; width: var(--w); transition: width 1s var(--ease); }
.compare__bar--ua { background: #c9c6bc; }
.compare__bar--lot { background: var(--gold); }
.compare__bar--rest { background: #efe3a6; }
.js .compare:not(.is-in) .compare__bar { width: 0; }
.compare__legend { display: flex; flex-wrap: wrap; gap: .4rem 1.25rem; margin-top: .65rem; font-size: var(--fs-xs); color: var(--text-2); }
.compare__legend i { display: inline-block; width: 10px; height: 10px; margin-right: .4rem; border-radius: 3px; vertical-align: -1px; }
.compare__legend .lot { background: var(--gold); }
.compare__legend .rest { background: #efe3a6; }
.compare__legend b { color: var(--text); }
.compare__save { display: grid; gap: .25rem; padding: 1.5rem; border-radius: var(--radius); background: var(--ink); color: #fff; }
.compare__save span { font-size: var(--fs-sm); color: var(--text-inv-2); }
.compare__save strong { font-family: var(--font-display); font-weight: 600; font-size: clamp(2rem, 1.5rem + 1.5vw, 2.6rem); color: #4fe08f; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.compare__save em { font-style: normal; font-size: var(--fs-xs); color: var(--text-inv-2); margin-bottom: 1rem; }

/* ---------- route map ---------- */
.route { overflow: hidden; }
.route__map { position: relative; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.route__svg { display: block; width: 100%; height: auto; overflow: visible; }
.route__base { fill: none; stroke: rgba(255, 255, 255, .12); stroke-width: 2; stroke-dasharray: 2 8; stroke-linecap: round; }
.route__line { fill: none; stroke: url(#routeGrad); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.route.is-in .route__line { transition: stroke-dashoffset 4s cubic-bezier(.45, 0, .25, 1); stroke-dashoffset: 0; }
.route__ship { opacity: 0; transition: opacity .4s; }
.route.is-in .route__ship { opacity: 1; }
.route__ship-dot { fill: var(--gold); }
.route__ship-halo { fill: rgba(225, 198, 80, .25); animation: halo 1.6s ease-out infinite; transform-box: fill-box; transform-origin: center; }
.route__stops li { position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, 18px); text-align: center; white-space: nowrap; opacity: 0; transition: opacity .6s var(--ease), transform .6s var(--ease); }
.route__stops li::before { content: ""; position: absolute; left: 50%; top: -24px; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: var(--ink); border: 2px solid var(--gold); }
.route__stops li:first-child { transform: translate(-15%, 18px); text-align: left; }
.route__stops li:first-child::before { left: 15%; }
.route__stops li:last-child { transform: translate(-85%, 18px); text-align: right; }
.route__stops li:last-child::before { left: 85%; }
.route__stops b { display: block; font-weight: 800; color: #fff; }
.route__stops span { display: block; font-size: var(--fs-xs); color: var(--text-inv-2); }
.route__road { display: none; }
.route.is-in .route__stops li { opacity: 1; }
.route.is-in .route__stops li:nth-child(1) { transition-delay: .1s; }
.route.is-in .route__stops li:nth-child(2) { transition-delay: .9s; }
.route.is-in .route__stops li:nth-child(3) { transition-delay: 1.8s; }
.route.is-in .route__stops li:nth-child(4) { transition-delay: 2.8s; }
.route.is-in .route__stops li:nth-child(5) { transition-delay: 3.6s; }
@keyframes halo { from { transform: scale(.6); opacity: 1; } to { transform: scale(1.8); opacity: 0; } }

/* ---------- in transit ---------- */
.transit { padding: clamp(1.25rem, 3vw, 2rem); border: 1px solid var(--line-inv); border-radius: calc(var(--radius) + 4px); background: rgba(255, 255, 255, .03); }
.transit__head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1.25rem; }
.transit__head .h4 { display: inline-flex; align-items: center; gap: .6rem; color: #fff; }
.transit__head a { color: var(--gold); font-weight: 700; font-size: var(--fs-sm); text-decoration: none; }
.transit__live { width: 8px; height: 8px; border-radius: 50%; background: #3ad07a; animation: pulse 2.2s infinite; }
.transit__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.transit__item { display: grid; gap: .6rem; padding: 1rem; border-radius: var(--radius-sm); background: rgba(255, 255, 255, .05); }
.transit__item b { display: block; color: #fff; font-weight: 800; line-height: 1.3; }
.transit__item span { display: block; margin-top: .2rem; font-size: var(--fs-xs); color: var(--text-inv-2); }
.transit__item em { justify-self: start; padding: .2rem .6rem; border-radius: 999px; background: var(--gold-soft); color: var(--gold); font-style: normal; font-size: 12px; font-weight: 700; }
.transit__bar { height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.transit__bar i { display: block; height: 100%; width: 0; border-radius: 4px; background: var(--gold); transition: width 1.4s .3s var(--ease); }
.transit.is-visible .transit__bar i { width: var(--p); }

/* ---------- FAQ ---------- */
.faq__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.faq .section-head { position: sticky; top: calc(var(--header-h) + 2rem); margin-bottom: 0; }
.faq .section-head__text a { color: var(--ink); font-weight: 700; }
.faq__list { display: grid; gap: .75rem; }
.faq__item { border-radius: var(--radius); background: #fff; border: 1px solid var(--line); transition: border-color .25s, box-shadow .25s; }
.faq__item[open] { border-color: rgba(205, 177, 60, .5); box-shadow: var(--shadow); }
.faq__item summary { position: relative; padding: 1.25rem 3.5rem 1.25rem 1.5rem; font-weight: 800; font-size: var(--fs-base); line-height: 1.4; cursor: pointer; list-style: none; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; position: absolute; right: 1.25rem; top: 50%; width: 28px; height: 28px; margin-top: -14px; display: grid; place-items: center; border-radius: 50%; background: var(--bg-muted); font-size: 18px; font-weight: 600; transition: transform .3s var(--ease), background-color .25s; }
.faq__item[open] summary::after { transform: rotate(45deg); background: var(--gold); }
.faq__item p { padding: 0 1.5rem 1.35rem; color: var(--text-2); line-height: 1.65; }
.faq__item[open] p { animation: fade-up .4s var(--ease); }

/* ---------- quiz ---------- */
.quiz__perks { display: grid; gap: .5rem; margin-top: 1.5rem; }
.quiz__perks li { position: relative; padding-left: 1.75rem; color: var(--text-inv-2); font-size: var(--fs-sm); }
.quiz__perks li::before { content: ""; position: absolute; left: 0; top: .3em; width: 16px; height: 16px; border-radius: 50%; background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23141414' stroke-width='2' d='m4.5 8.2 2.3 2.3 4.7-4.9'/%3E%3C/svg%3E") center/100% no-repeat; }
.quiz__form { position: relative; align-content: start; min-height: 330px; padding: clamp(1.25rem, 3vw, 2rem); border-radius: var(--radius); background: rgba(255, 255, 255, .04); border: 1px solid var(--line-inv); }
.quiz__progress { height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.quiz__progress i { display: block; height: 100%; width: 25%; background: var(--gold); border-radius: 4px; transition: width .5s var(--ease); }
.quiz__counter { font-size: var(--fs-xs); color: var(--text-inv-2); }
.quiz__counter b { color: var(--gold); }
.quiz__step { display: none; margin: 0; padding: 0; border: 0; min-width: 0; }
.quiz__step.is-active { display: grid; gap: 1rem; animation: quiz-in .45s var(--ease); }
.quiz__step legend { padding: 0; margin-bottom: 1rem; font-family: var(--font-display); font-weight: 600; font-size: var(--fs-h3); color: #fff; line-height: 1.25; }
.quiz__options { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.quiz__options label { position: relative; cursor: pointer; }
.quiz__options input { position: absolute; opacity: 0; }
.quiz__options span { display: flex; align-items: center; min-height: 56px; padding: .75rem 1rem; border-radius: var(--radius-sm); border: 1.5px solid var(--line-inv); background: rgba(255, 255, 255, .04); color: #fff; font-weight: 700; transition: border-color .2s, background-color .2s, transform .2s var(--ease); }
.quiz__options label:hover span { border-color: rgba(225, 198, 80, .6); }
.quiz__options input:checked + span { border-color: var(--gold); background: var(--gold-soft); }
.quiz__options input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.quiz__back { justify-self: start; border: 0; padding: .25rem 0; background: none; color: var(--text-inv-2); font-weight: 700; font-size: var(--fs-sm); cursor: pointer; }
.quiz__back:hover { color: #fff; }
.quiz .field__input { background: var(--graphite); border-color: transparent; color: #fff; }
.quiz .field__input::placeholder { color: rgba(255, 255, 255, .45); }
@keyframes quiz-in { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }

@media (max-width: 1100px) {
    .compare__body { grid-template-columns: 200px minmax(0, 1fr); }
    .compare__save { grid-column: 1 / -1; grid-template-columns: auto auto 1fr; align-items: baseline; column-gap: 1rem; }
    .compare__save .btn { grid-column: 1 / -1; }
    .transit__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
    .faq__grid { grid-template-columns: 1fr; }
    .faq .section-head { position: static; }
}
@media (max-width: 640px) {
    .compare__tabs { margin: 1rem; max-width: calc(100% - 2rem); }
    .compare__body { grid-template-columns: 1fr; }
    .compare__car { max-width: 220px; margin: 0 auto; }
    .compare__save { grid-template-columns: 1fr; }
    .transit__list { grid-template-columns: 1fr; }
    .quiz__options { grid-template-columns: 1fr; }
    .quiz__options span { min-height: 50px; }
}

/* =========================================================
   WOW 1: «дорога» прогресу скролу в хедері (JS пише --sp 0…1)
   ========================================================= */
.road-progress {
    position: absolute; left: 0; right: 0; bottom: 0; height: 2px; pointer-events: none;
    opacity: 0; transition: opacity .4s var(--ease);
}
.site-header.is-scrolled .road-progress { opacity: 1; }
.road-progress::before {
    content: ""; position: absolute; inset: 0;
    background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .22) 0 14px, transparent 14px 26px);
}
.road-progress__fill {
    position: absolute; inset: 0; transform-origin: left; transform: scaleX(var(--sp, 0));
    background: linear-gradient(90deg, rgba(225, 198, 80, .25), var(--gold) 70%, #fff6cf);
    box-shadow: 0 0 12px rgba(225, 198, 80, .55);
}
.road-progress__car {
    position: absolute; left: calc(var(--sp, 0) * (100% - 24px)); top: 50%; margin-top: -6px; width: 24px; height: 12px;
    color: var(--gold);
}
.road-progress__car svg { width: 24px; height: 12px; display: block; filter: drop-shadow(0 0 6px rgba(225, 198, 80, .7)); }
/* десктоп: під меню лише авто (без лінії/заливки/підписів) — лінія є зліва; планшет/мобілка — повна «дорога» */
@media (min-width: 961px) {
    .road-progress { display: none; }
}
.road-progress__label {
    position: absolute; bottom: 6px; font-family: var(--font-display); font-size: 9px; font-weight: 600; letter-spacing: .14em;
    color: rgba(255, 255, 255, .4); padding: 0 var(--gutter);
}
.road-progress__label--from { left: 0; }
.road-progress__label--to { right: 0; color: var(--gold); opacity: calc(.35 + var(--sp, 0) * .65); }

/* =========================================================
   WOW 2: наскрізна дорога з авто, що їде зверху вниз (JS: --rp, --at)
   ========================================================= */
.route-rail { display: none; }
@media (min-width: 1360px) {
    .js .route-rail {
        display: block; position: fixed; z-index: 40;
        top: calc(var(--header-h) + 3rem); bottom: 3rem;
        left: max(1.25rem, calc((100vw - 1240px) / 2 - 3.5rem));
        width: 24px;
        opacity: 0; transform: translateX(-12px);
        transition: opacity .5s var(--ease), transform .5s var(--ease);
        pointer-events: none;
    }
    .js .route-rail.is-on { opacity: 1; transform: none; pointer-events: auto; }
}
.route-rail__track {
    position: absolute; top: 12px; bottom: 12px; left: 50%; width: 2px; margin-left: -1px; overflow: hidden; border-radius: 2px;
    background: repeating-linear-gradient(180deg, rgba(128, 128, 128, .35) 0 10px, transparent 10px 20px);
}
.route-rail__fill {
    position: absolute; inset: 0; transform-origin: top; transform: scaleY(var(--rp, 0));
    background: linear-gradient(180deg, rgba(225, 198, 80, .2), var(--gold));
}
.route-rail__car {
    position: absolute; top: 0; left: 0; width: 24px; height: calc(100% - 24px);
    transform: translateY(calc(var(--rp, 0) * 100%)); will-change: transform; pointer-events: none;
    color: var(--gold);
}
.route-rail__car svg {
    display: block; width: 24px; height: 24px; padding: 3px; border-radius: 50%;
    background: var(--ink); transform: rotate(90deg);
    box-shadow: 0 0 0 1px rgba(225, 198, 80, .45), 0 0 18px rgba(225, 198, 80, .5);
}
.route-rail__stops li { position: absolute; left: 0; top: calc(var(--at, 0) * (100% - 24px) + 12px); transform: translateY(-50%); }
.route-rail__stops a { position: relative; display: block; width: 24px; height: 24px; }
.route-rail__stops a::before {
    content: ""; position: absolute; top: 50%; left: 50%; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%;
    background: #fff; border: 2px solid rgba(128, 128, 128, .5);
    transition: background-color .3s, border-color .3s, transform .3s var(--ease);
}
.route-rail__stops a::after {
    content: ""; position: absolute; top: 50%; left: 50%; width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%;
    background: rgba(225, 198, 80, .35); opacity: 0; transform: scale(.4);
}
.route-rail__stops li.is-passed a::before { background: var(--gold); border-color: var(--gold); }
.route-rail__stops li.is-hit a::after { animation: halo 1s ease-out; }
.route-rail__stops a:hover::before { transform: scale(1.35); }
.route-rail__stops span {
    position: absolute; left: 32px; top: 50%; padding: .3rem .65rem; border-radius: 999px; white-space: nowrap;
    font-size: var(--fs-xs); font-weight: 700; color: #fff; background: rgba(20, 20, 20, .88);
    opacity: 0; transform: translate(-6px, -50%); transition: opacity .25s, transform .25s var(--ease); pointer-events: none;
}
.route-rail__stops a:hover span, .route-rail__stops a:focus-visible span,
.route-rail__stops li.is-current span { opacity: 1; transform: translate(0, -50%); }

/* =========================================================
   WOW 3: бігуча стрічка між секціями (JS рухає --mx; швидкість ~ скрол)
   ========================================================= */
.marquee {
    position: relative; overflow: hidden; padding: clamp(1.5rem, 3vw, 2.5rem) 0;
    background: var(--bg); border-block: 1px solid var(--line);
}
.marquee--dark { background: var(--ink); border-color: var(--line-inv); }
.marquee__track {
    display: flex; align-items: center; gap: clamp(1.5rem, 3vw, 3rem); width: max-content;
    transform: translate3d(var(--mx, 0px), 0, 0) skewX(var(--mskew, 0deg)); will-change: transform;
}
.marquee span {
    font-family: var(--font-display); font-weight: 700; text-transform: uppercase; line-height: 1; letter-spacing: -.02em; white-space: nowrap;
    font-size: clamp(2.5rem, 1.5rem + 5vw, 6.5rem);
    color: transparent; -webkit-text-stroke: 1.5px rgba(20, 20, 20, .22);
    transition: color .35s var(--ease), -webkit-text-stroke-color .35s;
}
.marquee span:hover { color: var(--gold); -webkit-text-stroke-color: var(--gold); }
.marquee--dark span { -webkit-text-stroke-color: rgba(255, 255, 255, .2); }
.marquee i { flex: none; width: .9rem; height: .9rem; border-radius: 50%; background: var(--gold); box-shadow: 0 0 16px rgba(225, 198, 80, .6); }
.marquee::before, .marquee::after {
    content: ""; position: absolute; top: 0; bottom: 0; z-index: 1; width: 12vw; pointer-events: none;
}
.marquee::before { left: 0; background: linear-gradient(90deg, var(--bg), transparent); }
.marquee::after { right: 0; background: linear-gradient(-90deg, var(--bg), transparent); }
.marquee--dark::before { background: linear-gradient(90deg, var(--ink), transparent); }
.marquee--dark::after { background: linear-gradient(-90deg, var(--ink), transparent); }

@media (prefers-reduced-motion: reduce) {
    .road-progress__car, .route-rail__car { transition: none; }
    .marquee__track { transform: none; }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1100px) {
    .site-nav__list { gap: 1.25rem; }
    .site-nav .social { display: none; }
    .cases__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .about__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 960px) {
    :root { --header-h: 64px; }
    .burger { display: block; color: #fff; }
    .site-nav {
        position: fixed; inset: var(--header-h) 0 auto; flex-direction: column; align-items: stretch; gap: 1.5rem;
        padding: 1.5rem var(--gutter) 2rem; background: var(--ink);
        border-top: 1px solid var(--line-inv);
        opacity: 0; visibility: hidden; transform: translateY(-8px);
        transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
    }
    .site-nav.is-open { opacity: 1; visibility: visible; transform: none; }
    .site-nav__list { flex-direction: column; gap: 0; }
    .site-nav__link { display: block; padding: .9rem 0; font-size: var(--fs-lg); border-bottom: 1px solid var(--line-inv); opacity: 1; }
    .site-nav .social { display: inline-flex; }
    .site-header.menu-open { background: var(--ink); }

    .hero { height: auto; max-height: none; min-height: 0; }
    .hero__inner { grid-template-columns: 1fr; gap: 0; padding-top: 2.5rem; }
    .hero__title { max-width: 18ch; }
    .stage { margin: 1rem calc(var(--gutter) * -.5) 0; max-width: 680px; width: 100%; justify-self: center; }
    .hero__word { top: auto; bottom: 12%; transform: none; font-size: 38vw; }
    @keyframes word-in { from { opacity: 0; } }
    .hero__glow { left: 10%; top: 40%; width: 110vw; height: 110vw; }
    .hero__facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hero__fact:nth-child(3) { padding-left: 0; border-left: 0; }
    .hero__fact:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .08); }
    .calc__grid { grid-template-columns: 1fr; }
    .calc__result { position: static; }
    .section-head--row { grid-template-columns: 1fr; }
    .why__grid { grid-template-columns: 1fr; }
    .why__media { order: -1; max-width: 560px; }
    .cta__box { grid-template-columns: 1fr; }

    /* timeline: одна колонка, лінія зліва — та сама розмітка */
    .timeline::before, .timeline::after { left: 22px; top: 22px; bottom: var(--tl-tail, 22px); }
    .timeline__item { grid-template-columns: 44px 1fr; gap: 1rem; }
    .timeline__dot { grid-column: 1; }
    .timeline__item:nth-child(odd) .timeline__card,
    .timeline__item:nth-child(even) .timeline__card { grid-column: 2; }

    /* мобілка: звивиста дорога, зупинки зліва/справа */
    .route__svg { display: none; }
    .route__stops { position: relative; display: grid; gap: 4.5rem; padding: .5rem 0; }
    .route__stops li, .route__stops li:first-child, .route__stops li:last-child {
        position: relative; z-index: 1; left: auto; top: auto; transform: none; opacity: 1;
        width: 62%; justify-self: start; text-align: left; padding-left: 2.6rem;
    }
    .route__stops li:nth-of-type(even) { justify-self: end; text-align: right; padding: 0 2.6rem 0 0; }
    .route__stops li::before, .route__stops li:first-child::before, .route__stops li:last-child::before {
        left: .45rem; top: calc(.75em - 9px); width: 18px; height: 18px; margin: 0; z-index: 2;
        border-width: 3px; box-shadow: 0 0 0 5px var(--ink);
        transition: background-color .35s, transform .35s var(--ease);
    }
    .route__stops li:nth-of-type(even)::before { left: auto; right: .45rem; }
    .route__stops li.is-passed::before { background: var(--gold); transform: scale(1.1); }
    .route__stops b { font-size: 1.05rem; }
    .route__road { display: block; position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
    .route__road-asphalt { fill: none; stroke: rgba(255, 255, 255, .07); stroke-width: 22; stroke-linecap: round; }
    .route__road-edge { fill: none; stroke: rgba(255, 255, 255, .1); stroke-width: 24; stroke-linecap: round; }
    .route__road-dash { fill: none; stroke: rgba(225, 198, 80, .45); stroke-width: 2; stroke-dasharray: 7 9; }
    .route__road-done { fill: none; stroke: var(--gold); stroke-width: 3; stroke-linecap: round; }
    .route__road-car { transition: opacity .3s; }
}

@media (max-width: 640px) {
    .hero__inner { padding-top: 1.75rem; }
    .hero__lead { margin-bottom: 1.25rem; }
    .hero__alt { display: none; }
    .hero .btn--lg { width: 100%; }
    .stage { margin-top: 1.25rem; aspect-ratio: 845 / 780; }
    .stage__car { left: 4%; width: 92%; bottom: 13%; }
    .stage__shadow { bottom: 12%; }
    .stage__road { bottom: 15.5%; }
    .tag { padding: .5rem .7rem; border-radius: 11px; }
    .tag > span { font-size: 9.5px; }
    .tag--model { left: 0; top: 0; }
    .tag--market { left: 0; top: 15%; }
    .tag--usa { right: 0; top: 4%; padding: .6rem .85rem; }
    .tag--save { left: 0; bottom: 0; }
    .stage__pager { right: 0; bottom: 2%; }
    .tag--save strong { font-size: .95rem; }
    .hero__fact, .hero__fact + .hero__fact { padding: .9rem .75rem .9rem 0; }
    .hero__fact:nth-child(even) { padding-left: .9rem; }
    .hero__fact strong { font-size: 1rem; }
    .hero__fact > span { font-size: 11px; }

    .field-row, .lead-form__fields { grid-template-columns: 1fr; }
    .segmented { grid-template-columns: repeat(2, 1fr); }
    .calc .segmented:not(.segmented--3) { grid-template-columns: repeat(4, 1fr); }
    .segmented--3 { grid-template-columns: repeat(3, 1fr); }
    .calc .segmented span { padding: .55rem .1rem; font-size: 12px; }
    .calc .field-row--3 { grid-template-columns: 1fr 1fr; }
    .calc .field-row--3 > .field:last-child { grid-column: 1 / -1; }
    .cases__list { grid-template-columns: 1fr; }
    .about__grid { grid-template-columns: 1fr; }
    .timeline__card { padding: 1.25rem; }
    .site-footer__inner { justify-content: center; text-align: center; }
}



/* =========================================================
   Живий лот: ставки ростуть → SOLD → ціна під ключ
   ========================================================= */
.has-lot > .container { position: relative; }
.lot {
    position: absolute; right: var(--gutter); top: 0; z-index: 1; width: 340px;
    padding: 1rem 1rem 1.05rem; border-radius: 20px; overflow: hidden;
    background: linear-gradient(160deg, #222 0%, #141414 55%); color: #fff;
    border: 1px solid rgba(255, 255, 255, .08);
    box-shadow: 0 1px 0 rgba(255, 255, 255, .08) inset, 0 40px 70px -35px rgba(20, 20, 20, .55), 0 0 0 8px rgba(225, 198, 80, .05);
    transform: rotate(2deg); transform-origin: 50% 0;
    font-variant-numeric: tabular-nums;
}
.js .lot { opacity: 0; translate: 0 24px; transition: opacity .8s var(--ease), translate .8s var(--ease); }
.js .lot.is-in { opacity: 1; translate: 0 0; }
.lot.is-done { animation: lotSway 7s ease-in-out infinite alternate; }
@keyframes lotSway { from { transform: rotate(2deg); } to { transform: rotate(.6deg) translateY(-6px); } }

.lot__top { display: flex; align-items: center; justify-content: space-between; gap: .75rem; font-size: 10.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .5); }
.lot__top b { color: rgba(255, 255, 255, .85); font-weight: 800; }
.lot__live { display: inline-flex; align-items: center; gap: .45rem; padding: .3rem .55rem; border-radius: 999px; background: rgba(224, 82, 82, .14); color: #ff7a7a; }
.lot__live i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; animation: lotLive 1.2s ease-in-out infinite; }
@keyframes lotLive { 50% { opacity: .25; } }
.lot.is-sold .lot__live { background: rgba(225, 198, 80, .14); color: var(--gold); }
.lot.is-sold .lot__live i { animation: none; }

.lot__body { display: grid; grid-template-columns: 104px 1fr; gap: .9rem; align-items: center; margin-top: .9rem; }
.lot__img { width: 104px; height: 78px; object-fit: contain; border-radius: 12px; background: radial-gradient(120% 90% at 50% 100%, #f3f1ea, #fff); padding: .25rem; }
.lot__model { font-size: 13px; font-weight: 700; color: rgba(255, 255, 255, .8); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lot__label { margin-top: .35rem; font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .4); }
.lot__bid { display: block; margin-top: .15rem; font-family: var(--font-display); font-size: 2rem; font-weight: 600; line-height: 1; letter-spacing: -.02em; transition: color .5s; }
.lot__bid.is-bump { animation: lotBump .55s var(--ease); }
@keyframes lotBump { 0% { color: var(--gold); transform: translateY(-4px); } 100% { color: #fff; transform: none; } }
.lot__bid { display: inline-block; }
.lot.is-sold .lot__bid { color: rgba(255, 255, 255, .55); }

.lot__foot { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .75rem; margin-top: 1rem; font-size: 11px; font-weight: 700; color: rgba(255, 255, 255, .5); }
.lot__timer { font-family: var(--font-display); font-size: 13px; color: #fff; min-width: 3.2em; }
.lot__timer.is-hot { color: #ff7a7a; }
.lot__bar { height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.lot__bar i { display: block; height: 100%; width: 100%; background: var(--gold); transform-origin: left; transform: scaleX(var(--t, 1)); transition: transform .25s linear; }

.lot__result { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .7s var(--ease); }
.lot__result > div { overflow: hidden; }
.lot__result-in {
    display: flex; align-items: baseline; justify-content: space-between; gap: .75rem; flex-wrap: wrap;
    margin-top: .95rem; padding-top: .95rem; border-top: 1px dashed rgba(225, 198, 80, .35);
}
.lot__result span { font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }
.lot__result strong { font-family: var(--font-display); font-size: 1.6rem; font-weight: 600; line-height: 1; color: var(--gold); }
.lot__result em { flex-basis: 100%; font-style: normal; font-size: 12px; font-weight: 700; color: #7fd49a; }
.lot.is-result .lot__result { grid-template-rows: 1fr; }

.lot__stamp {
    position: absolute; right: 1.1rem; top: 3.3rem; padding: .3rem .8rem;
    font-family: var(--font-display); font-size: 1.6rem; font-weight: 800; letter-spacing: .14em; line-height: 1;
    color: var(--gold); border: 3px solid var(--gold); border-radius: 8px;
    mix-blend-mode: screen; opacity: 0; transform: rotate(-14deg) scale(2.4); pointer-events: none;
    -webkit-mask: radial-gradient(circle at 30% 40%, #000 60%, rgba(0,0,0,.75) 61%, #000 70%);
}
.lot.is-sold .lot__stamp { animation: lotStamp .55s cubic-bezier(.3, 1.6, .5, 1) forwards; }
@keyframes lotStamp { 0% { opacity: 0; transform: rotate(-14deg) scale(2.4); } 60% { opacity: 1; } 100% { opacity: .95; transform: rotate(-14deg) scale(1); } }
.lot.is-thud { animation: lotThud .35s var(--ease); }
@keyframes lotThud { 30% { transform: rotate(2deg) scale(.985); } }

/* заголовок не залазить під картку */
@media (min-width: 1100px) {
    .has-lot .section-head { max-width: min(720px, calc(100% - 400px)); min-height: 300px; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; }
}
@media (max-width: 1099px) {
    .lot { position: relative; right: auto; width: auto; max-width: 420px; margin: 0 0 2rem; transform: none; }
    .lot.is-done { animation: none; }
    .lot.is-thud { animation: none; }
    .has-lot .section-head { margin-bottom: 1.5rem; }
}
/* зміна лота на мобілці: старий з'їжджає вліво, новий наїжджає справа */
.lot.is-leave { opacity: 0 !important; translate: -40px 0 !important; transition: opacity .4s var(--ease), translate .45s var(--ease) !important; }
.lot.is-enter { opacity: 0 !important; translate: 60px 0 !important; transition: none !important; }
@media (max-width: 560px) {
    .lot { padding: .85rem .9rem .9rem; border-radius: 16px; }
    .lot__body { grid-template-columns: 1fr auto; margin-top: .6rem; }
    .lot__img { display: none; }
    .lot__bid { font-size: 1.6rem; }
    .lot__stamp { top: 3rem; right: .9rem; font-size: 1.25rem; }
}
@media (prefers-reduced-motion: reduce) {
    .lot.is-done, .lot__live i { animation: none; }
}


/* =========================================================
   Етапи: компактна сітка 4×2 з прогресом
   ========================================================= */
@media (min-width: 561px) {
    .timeline { grid-template-columns: repeat(4, 1fr); gap: 1rem; }
    .timeline::before, .timeline::after { display: none; }
    .timeline__item { display: flex; flex-direction: column; gap: 0; }
    .timeline__item:nth-child(n) .timeline__card { grid-column: auto; grid-row: auto; }
    .timeline__card {
        position: relative; flex: 1; overflow: hidden;
        padding: 4.4rem 1.25rem 1.35rem; border-radius: var(--radius);
        opacity: .55; transform: translateY(10px);
    }
    .timeline__card::before {
        content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px;
        background: var(--gold); transform: scaleX(0); transform-origin: left;
        transition: transform .9s var(--ease); transition-delay: inherit;
    }
    .timeline__dot {
        position: absolute; left: 1.25rem; top: 1.25rem; z-index: 2;
        width: 36px; height: 36px; font-size: .85rem;
    }
    .timeline__icon { position: absolute; right: 1.15rem; top: 1.15rem; width: 34px; height: 34px; margin: 0; opacity: .5; transition: opacity .4s; }
    .timeline__card .h4 { font-size: 1rem; }
    .timeline__card p { margin-top: .4rem; font-size: .875rem; line-height: 1.55; }
    .timeline__item.is-active .timeline__card { opacity: 1; transform: none; }
    .timeline__item.is-active .timeline__card::before { transform: scaleX(1); }
    .timeline__item.is-active .timeline__icon { opacity: .9; }
    .timeline__item.is-active .timeline__dot { transform: none; }
    .timeline__item:nth-child(4n+2), .timeline__item:nth-child(4n+2) .timeline__card, .timeline__item:nth-child(4n+2) .timeline__dot { transition-delay: .12s; }
    .timeline__item:nth-child(4n+3), .timeline__item:nth-child(4n+3) .timeline__card, .timeline__item:nth-child(4n+3) .timeline__dot { transition-delay: .24s; }
    .timeline__item:nth-child(4n+4), .timeline__item:nth-child(4n+4) .timeline__card, .timeline__item:nth-child(4n+4) .timeline__dot { transition-delay: .36s; }
    .timeline__item:last-child .timeline__card { background: linear-gradient(160deg, #fffbea, #fff 60%); }
}
@media (min-width: 561px) and (max-width: 1100px) {
    .timeline { grid-template-columns: repeat(2, 1fr); }
    .timeline__item:nth-child(n), .timeline__item:nth-child(n) .timeline__card, .timeline__item:nth-child(n) .timeline__dot { transition-delay: 0s; }
    .timeline__item:nth-child(even), .timeline__item:nth-child(even) .timeline__card, .timeline__item:nth-child(even) .timeline__dot { transition-delay: .12s; }
}
/* мобільний: компактніша вертикальна стрічка */
@media (max-width: 560px) {
    .timeline { gap: .75rem; }
    .timeline__card { padding: 1rem 1.1rem; }
    .timeline__icon { display: none; }
    .timeline__card p { margin-top: .3rem; font-size: .875rem; line-height: 1.5; }
}

/* =========================================================
   Квіз: живий підбір + преміальні опції
   ========================================================= */
.cta__box::after {
    content: ""; position: absolute; z-index: -1; pointer-events: none;
    width: 60%; aspect-ratio: 1; right: -15%; top: -30%; border-radius: 50%;
    background: radial-gradient(closest-side, rgba(225, 198, 80, .16), transparent);
    animation: ctaGlow 9s ease-in-out infinite alternate;
}
@keyframes ctaGlow { to { transform: translate(-12%, 18%) scale(1.15); } }

.quiz__form {
    background: linear-gradient(170deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02));
    border-color: rgba(255, 255, 255, .1);
    box-shadow: 0 1px 0 rgba(255, 255, 255, .08) inset, 0 40px 80px -40px rgba(0, 0, 0, .8);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.quiz__progress { height: 3px; }
.quiz__progress i { box-shadow: 0 0 12px rgba(225, 198, 80, .7); }

.quiz__options { counter-reset: opt; }
.quiz__options span { gap: .75rem; padding-right: 2.6rem; position: relative; }
.quiz__options span::before {
    counter-increment: opt; content: counter(opt, upper-alpha);
    flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 7px;
    border: 1px solid rgba(255, 255, 255, .18); font-size: 11px; font-weight: 800; color: rgba(255, 255, 255, .6);
    transition: background-color .2s, color .2s, border-color .2s;
}
.quiz__options span::after {
    content: ""; position: absolute; right: .9rem; top: 50%; width: 18px; height: 18px; margin-top: -9px; border-radius: 50%;
    background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23141414' stroke-width='2' d='m4.5 8.2 2.3 2.3 4.7-4.9'/%3E%3C/svg%3E") center/100% no-repeat;
    transform: scale(0); transition: transform .3s cubic-bezier(.3, 1.6, .5, 1);
}
.quiz__options label:hover span { transform: translateY(-2px); background: rgba(255, 255, 255, .07); }
.quiz__options label:hover span::before { border-color: var(--gold); color: var(--gold); }
.quiz__options input:checked + span { box-shadow: 0 0 0 4px rgba(225, 198, 80, .1); }
.quiz__options input:checked + span::before { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.quiz__options input:checked + span::after { transform: scale(1); }

/* живий підбір */
.quiz-match {
    display: grid; grid-template-columns: 132px 1fr; gap: 1.1rem; align-items: center;
    margin-top: 2rem; padding: 1rem 1.1rem 1rem 1rem; max-width: 460px;
    border-radius: var(--radius); border: 1px solid rgba(225, 198, 80, .25);
    background: linear-gradient(150deg, rgba(225, 198, 80, .1), rgba(255, 255, 255, .02) 60%);
}
.quiz-match__media { position: relative; height: 92px; border-radius: 12px; overflow: hidden; background: radial-gradient(120% 90% at 50% 100%, #f3f1ea, #fff); }
.quiz-match__car {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: .35rem;
    opacity: 0; transform: translateX(30%); transition: opacity .5s var(--ease), transform .6s var(--ease);
}
.quiz-match__car.is-on { opacity: 1; transform: none; }
.quiz-match__car.is-out { opacity: 0; transform: translateX(-30%); }
.quiz-match__label { display: flex; align-items: center; gap: .45rem; font-size: 10.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .5); }
.quiz-match__label i { width: 6px; height: 6px; border-radius: 50%; background: #ff7a7a; animation: lotLive 1.2s ease-in-out infinite; }
.quiz-match__count { margin-top: .3rem; font-size: var(--fs-sm); color: var(--text-inv-2); }
.quiz-match__count strong { font-family: var(--font-display); font-size: 1.6rem; font-weight: 600; color: #fff; font-variant-numeric: tabular-nums; margin-right: .2rem; }
.quiz-match.is-bump .quiz-match__count strong { color: var(--gold); transition: color .2s; }
.quiz-match__chips { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .55rem; min-height: 24px; }
.quiz-match__chips li {
    padding: .2rem .55rem; border-radius: 999px; font-size: 11.5px; font-weight: 700;
    background: rgba(225, 198, 80, .14); color: var(--gold); animation: chipIn .4s cubic-bezier(.3, 1.6, .5, 1);
}
.quiz-match__chips li.is-hint { background: rgba(255, 255, 255, .06); color: rgba(255, 255, 255, .45); animation: none; }
@keyframes chipIn { from { opacity: 0; transform: scale(.6); } }

@media (max-width: 960px) {
    .quiz-match { max-width: none; }
}
@media (max-width: 560px) {
    .quiz-match { grid-template-columns: 96px 1fr; gap: .85rem; padding: .85rem; margin-top: 1.5rem; }
    .quiz-match__media { height: 72px; }
    .quiz-match__count strong { font-size: 1.35rem; }
}
@media (prefers-reduced-motion: reduce) {
    .cta__box::after, .quiz-match__label i { animation: none; }
}

/* --- квіз: компактна картка, живий підбір — футер форми --- */
.cta__box.quiz { align-items: center; }
.quiz__form { display: flex; flex-direction: column; gap: 1rem; min-height: 0; }
.quiz__counter { margin: .25rem 0 0; }
.quiz__step legend { margin-bottom: 1.25rem; }
.quiz__options { grid-auto-rows: 1fr; gap: .7rem; }
.quiz__options span { height: 100%; min-height: 58px; padding: .75rem 2.6rem .75rem .85rem; white-space: nowrap; font-size: .95rem; }
@media (max-width: 1180px) and (min-width: 961px) { .quiz__options span { font-size: .875rem; } }
.quiz__back:not([hidden]) { margin-top: -.25rem; }

.quiz__form .quiz-match {
    grid-template-columns: 112px 1fr; gap: 1rem; max-width: none;
    margin: .5rem -.25rem 0; padding: 1.1rem .25rem 0;
    border: 0; border-top: 1px dashed rgba(225, 198, 80, .28); border-radius: 0; background: none;
}
.quiz__form .quiz-match__media {
    height: 72px; overflow: visible;
    background: radial-gradient(70% 60% at 50% 70%, rgba(225, 198, 80, .22), transparent 70%);
}
.quiz__form .quiz-match__media::after {
    content: ""; position: absolute; left: 14%; right: 14%; bottom: 6px; height: 8px; border-radius: 50%;
    background: rgba(0, 0, 0, .55); filter: blur(5px);
}
.quiz__form .quiz-match__car { z-index: 1; padding: 0; filter: drop-shadow(0 6px 8px rgba(0, 0, 0, .35)); }
.quiz__form .quiz-match__count { margin-top: .2rem; }
.quiz__form .quiz-match__count strong { font-size: 1.4rem; }
.quiz__form .quiz-match__chips { margin-top: .45rem; }
@media (max-width: 560px) {
    .quiz__form .quiz-match { grid-template-columns: 84px 1fr; gap: .75rem; }
    .quiz__form .quiz-match__media { height: 58px; }
    .quiz__options span { white-space: normal; }
}

/* ---------- згода на обробку даних під кнопками ---------- */
.consent { font-size: 11.5px; line-height: 1.45; color: var(--text-inv-2); text-align: center; }
.consent a { color: inherit; text-decoration: underline; text-decoration-color: rgba(225, 198, 80, .6); text-underline-offset: 2px; }
.consent a:hover { color: var(--gold); }

/* посилання на сторінку всіх кейсів */
.cases__all { display: inline-block; margin-top: 1.25rem; font-size: var(--fs-sm); font-weight: 800; color: var(--ink); text-decoration: none; border-bottom: 2px solid var(--gold); padding-bottom: 2px; transition: color .2s; }
.cases__all:hover { color: var(--gold-600); }

/* =========================================================
   Блоки довіри: цифри + аукціони, відгуки, договір і гарантії
   ========================================================= */
.auctions { display: flex; align-items: center; gap: clamp(1.25rem, 3vw, 2.5rem); flex-wrap: wrap; margin: 0; padding: 0; list-style: none; }
.auctions img { height: 28px; width: auto; display: block; opacity: .85; transition: opacity .2s; }
.auctions li:hover img { opacity: 1; }
.auctions--sm img { height: 18px; opacity: .55; }

.trust-bar { margin-top: clamp(2rem, 1.5rem + 2vw, 3rem); display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2rem 3rem; padding: clamp(1.5rem, 1rem + 2vw, 2.25rem); border: 1px solid var(--line-inv); border-radius: var(--radius); background: linear-gradient(120deg, rgba(225, 198, 80, .07), transparent 55%); }
.trust-bar__stats { display: grid; grid-template-columns: repeat(4, auto); gap: 1.5rem clamp(1.5rem, 3vw, 3rem); margin: 0; }
.trust-bar__stats div { display: flex; flex-direction: column-reverse; gap: .3rem; }
.trust-bar__stats dd { margin: 0; font-family: Unbounded, sans-serif; font-weight: 600; font-size: clamp(1.35rem, 1rem + 1.2vw, 1.9rem); color: var(--gold); line-height: 1.1; white-space: nowrap; }
.trust-bar__stats dt { font-size: var(--fs-xs); color: var(--text-inv-2); }
.trust-bar__auctions { display: flex; flex-direction: column; gap: .75rem; padding-left: clamp(1.5rem, 3vw, 3rem); border-left: 1px solid var(--line-inv); }
.trust-bar__auctions > span { font-size: var(--fs-xs); letter-spacing: .12em; text-transform: uppercase; color: var(--text-inv-2); }

/* --- відгуки: горизонтальна стрічка --- */
.reviews { overflow: hidden; }
.reviews__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; margin-bottom: clamp(2rem, 1.5rem + 2vw, 3rem); }
.reviews__head .h2 { max-width: 18ch; }
.reviews__nav { display: flex; gap: .5rem; flex: none; }
.reviews__btn { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line); background: #fff; font-size: 1.25rem; cursor: pointer; transition: background-color .2s, border-color .2s, transform .2s var(--ease); }
.reviews__btn:hover { background: var(--gold); border-color: var(--gold); transform: translateY(-2px); }
.reviews__btn:disabled { opacity: .35; pointer-events: none; }
.reviews__viewport { --pad: max(var(--gutter), calc((100vw - 1240px) / 2 + var(--gutter))); }
.reviews__track { display: flex; gap: 1.25rem; margin: 0; padding: .5rem var(--pad) 1.5rem; list-style: none; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--pad); scrollbar-width: none; overscroll-behavior-x: contain; cursor: grab; }
.reviews__track::-webkit-scrollbar { display: none; }
.reviews__track.is-drag { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.reviews__track.is-drag a { pointer-events: none; }
.review { flex: 0 0 clamp(280px, 30vw, 380px); scroll-snap-align: start; display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: 0 1px 0 var(--line), 0 18px 40px -28px rgba(20, 20, 20, .35); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.review:hover { transform: translateY(-4px); box-shadow: 0 1px 0 var(--line), 0 26px 50px -28px rgba(20, 20, 20, .45); }
.review__photo { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; background: #e9e7e0; }
.review__photo img { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }
.review__body { display: flex; flex-direction: column; gap: .75rem; padding: 1.25rem 1.35rem 1.4rem; flex: 1; }
.review__stars { color: var(--gold-600); letter-spacing: .15em; font-size: .9rem; }
.review__text { margin: 0; font-size: var(--fs-sm); line-height: 1.6; color: #2a2a2a; flex: 1; }
.review__who { margin: 0; font-size: var(--fs-sm); color: var(--text-2); }
.review__who b { color: var(--ink); }
.review__case { align-self: flex-start; padding: .45rem .8rem; border-radius: 999px; background: var(--gold-soft); color: var(--ink); font-size: var(--fs-xs); font-weight: 800; text-decoration: none; transition: background-color .2s; }
.review__case:hover { background: var(--gold); }

/* --- договір і гарантії --- */
.guarantee__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.guarantee__card { position: relative; padding: clamp(1.5rem, 1rem + 1.5vw, 2.25rem); border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.guarantee__card .h4 { margin: .75rem 0 1rem; }
.guarantee__num { font-family: Unbounded, sans-serif; font-weight: 600; font-size: var(--fs-xs); color: var(--gold-600); letter-spacing: .1em; }
.guarantee__card ul { margin: 0; padding: 0; list-style: none; display: grid; gap: .7rem; }
.guarantee__card ul li { position: relative; padding-left: 1.6rem; font-size: var(--fs-sm); line-height: 1.55; color: var(--text-2); }
.guarantee__card ul li::before { content: ""; position: absolute; left: 0; top: .3em; width: 1rem; height: 1rem; border-radius: 50%; background: var(--gold-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.3 2.3 4.7-4.9' fill='none' stroke='%23CDB13C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat; }
.guarantee__card--pay { background: var(--ink); color: #fff; border-color: var(--ink); }
.guarantee__card--pay .guarantee__num { color: var(--gold); }
.guarantee__pay { margin: 0; padding: 0; list-style: none; display: grid; gap: .55rem; counter-reset: pay; }
.guarantee__pay li { display: grid; grid-template-columns: 6.2rem 1fr; gap: .75rem; align-items: baseline; padding-bottom: .55rem; border-bottom: 1px dashed var(--line-inv); font-size: var(--fs-sm); }
.guarantee__pay b { color: var(--gold); font-weight: 800; }
.guarantee__pay span { color: var(--text-inv-2); line-height: 1.45; }
.guarantee__bank { margin: 1.1rem 0 0; font-size: var(--fs-xs); color: var(--text-inv-2); line-height: 1.55; }

/* футер */
.site-footer__auctions { display: flex; align-items: center; gap: 1rem; font-size: var(--fs-xs); color: var(--text-inv-2); }

@media (max-width: 1100px) {
    .trust-bar { grid-template-columns: 1fr; }
    .trust-bar__auctions { padding-left: 0; padding-top: 1.5rem; border-left: 0; border-top: 1px solid var(--line-inv); }
    .guarantee__grid { grid-template-columns: 1fr 1fr; }
    .guarantee__card--pay { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
    .trust-bar__stats { grid-template-columns: 1fr 1fr; }
    .reviews__nav { display: none; }
    .review { flex-basis: 82vw; }
    .guarantee__grid { grid-template-columns: 1fr; }
    .site-footer__auctions { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
    .review, .review:hover, .reviews__btn:hover { transition: none; transform: none; }
}

/* =========================================================================
   Big footer (.sf) — спільний для всіх сторінок
   ========================================================================= */
.sf { position: relative; overflow: hidden; padding: clamp(3rem, 2rem + 4vw, 5.5rem) 0 1.5rem; background: var(--ink); color: var(--text-inv-2); }
.sf::before { content: ""; position: absolute; inset: 0 0 auto; height: 1px; background: linear-gradient(90deg, transparent, rgba(225, 198, 80, .55), transparent); }
.sf a { color: inherit; text-decoration: none; transition: color .2s; }
.sf a:hover { color: var(--gold); }

.sf-cta { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); border: 1px solid var(--line-inv); border-radius: calc(var(--radius) + 6px);
    background: radial-gradient(120% 140% at 0% 0%, rgba(225, 198, 80, .14), transparent 55%), rgba(255, 255, 255, .025); }
.sf-cta__eyebrow { display: inline-flex; align-items: center; gap: .55rem; margin: 0 0 .6rem; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--text-inv-2); }
.sf-live { width: 8px; height: 8px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 0 0 rgba(61, 220, 132, .6); animation: sfPulse 2s infinite; }
@keyframes sfPulse { 70% { box-shadow: 0 0 0 8px rgba(61, 220, 132, 0); } 100% { box-shadow: 0 0 0 0 rgba(61, 220, 132, 0); } }
.sf-cta__title { margin: 0; max-width: 22ch; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.4rem, 1rem + 1.6vw, 2.25rem); line-height: 1.15; letter-spacing: -.02em; color: #fff; }
.sf-cta__title em { font-style: normal; color: var(--gold); }
.sf-cta__actions { display: flex; flex-direction: column; align-items: flex-end; gap: .9rem; }
.sf .sf-phone { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem); color: #fff; white-space: nowrap; }
.sf-msg { display: flex; gap: .5rem; }
.sf-msg a { display: inline-flex; align-items: center; gap: .5rem; padding: .35rem .9rem .35rem .35rem; border: 1px solid var(--line-inv); border-radius: 999px; font-size: var(--fs-xs); font-weight: 700; color: #fff; transition: border-color .2s, background-color .2s; }
.sf-msg a:hover { border-color: var(--gold); background: rgba(225, 198, 80, .08); color: #fff; }
.sf-msg img { width: 30px; height: auto; }

.sf-grid { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: clamp(1.5rem, 3vw, 3rem); padding: clamp(2.5rem, 2rem + 2vw, 4rem) 0 clamp(2rem, 1.5rem + 2vw, 3rem); }
.sf-logo { display: inline-flex; align-items: center; gap: .75rem; }
.sf-logo img { height: 40px; width: auto; }
.sf-logo span { font-family: var(--font-display); font-weight: 600; font-size: .95rem; line-height: 1.1; color: #fff; }
.sf-brand > p { margin: 1.1rem 0 0; max-width: 34ch; font-size: var(--fs-sm); line-height: 1.6; }
.sf-stats { display: flex; gap: 1.5rem; margin: 1.5rem 0 0; }
.sf-stats div { display: flex; flex-direction: column-reverse; }
.sf-stats dt { font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; color: #fff; }
.sf-stats dd { margin: 0; font-size: 12px; }
.sf-auctions { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; margin-top: 1.5rem; font-size: 12px; }
.sf-auctions .auctions { margin: 0; }

.sf-col__title { margin: 0 0 1rem; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.sf-col ul { margin: 0; padding: 0; list-style: none; display: grid; gap: .55rem; }
.sf-col li a { font-size: var(--fs-sm); color: var(--text-inv); opacity: .78; }
.sf-col li a:hover { opacity: 1; }
.sf .sf-tel { display: inline-block; margin: 0 0 1.5rem; font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; color: #fff; white-space: nowrap; text-decoration: none; transition: color .2s; }
.sf .sf-tel:hover { color: var(--gold); }
.sf-offices li { display: flex; flex-direction: column; }
.sf-offices b { font-size: var(--fs-sm); color: #fff; }
.sf-offices span { font-size: 12px; }
.sf-dealers { margin: 1rem 0 0; font-size: 12px; line-height: 1.5; }

.sf > .container { container-type: inline-size; }
.sf-word { font-family: var(--font-display); font-weight: 700; font-size: 8.4vw; font-size: 8.6cqi; line-height: .85; letter-spacing: -.04em; white-space: nowrap; text-align: center; user-select: none;
    color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .1); background: linear-gradient(180deg, rgba(225, 198, 80, .22), rgba(225, 198, 80, 0) 85%); -webkit-background-clip: text; background-clip: text; }

.sf-bottom { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid var(--line-inv); font-size: var(--fs-xs); }
.sf-bottom a { color: var(--gold); }
/* підпис розробника - компактна «пілюля» */
.sf-bottom a.dev-credit {
    display: inline-flex; align-items: center; gap: .55rem;
    padding: .35rem .8rem .35rem .35rem; border: 1px solid var(--line-inv); border-radius: 999px;
    color: rgba(255, 255, 255, .55); text-decoration: none; line-height: 1;
    transition: border-color .25s, background-color .25s, color .25s;
}
.dev-credit__logo {
    display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%;
    background: var(--gold); color: #141414;
    font-family: var(--font-display); font-size: 11px; font-weight: 700;
    transition: transform .4s cubic-bezier(.3, 1.6, .5, 1);
}
.dev-credit__by { font-size: 11px; font-weight: 600; letter-spacing: .02em; }
.dev-credit__name { font-family: var(--font-display); font-size: 11.5px; font-weight: 600; letter-spacing: .01em; color: #fff; transition: color .25s; }
.dev-credit__arrow { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s; }
.sf-bottom a.dev-credit:hover, .sf-bottom a.dev-credit:focus-visible { border-color: rgba(225, 198, 80, .55); background: rgba(225, 198, 80, .06); color: var(--gold); }
.dev-credit:hover .dev-credit__name, .dev-credit:focus-visible .dev-credit__name { color: var(--gold); }
.dev-credit:hover .dev-credit__logo { transform: rotate(-12deg) scale(1.08); }
.dev-credit:hover .dev-credit__arrow { transform: translate(2px, -2px); }
@media (prefers-reduced-motion: reduce) { .dev-credit__logo, .dev-credit__arrow { transition: none; } }
.sf-bottom a.dev-credit { position: relative; }
/* дві «смуги» по рамці пілюлі: низом авто їде вправо і пірнає в «тунель» біля стрілки,
   верхом повертається вліво і зникає в «тунелі» біля «K». Краї смуг затемнені маскою = в'їзд у тунель */
.dev-credit__lane {
    position: absolute; left: 16px; right: 16px; height: 12px; overflow: hidden; pointer-events: none;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 16px, #000 calc(100% - 16px), transparent 100%);
            mask-image: linear-gradient(90deg, transparent 0, #000 16px, #000 calc(100% - 16px), transparent 100%);
}
.dev-credit__lane--b { bottom: -6px; }
.dev-credit__lane--t { top: -6px; }
.dev-credit__trail {
    position: absolute; left: 0; right: 0; top: 50%; height: 1px; margin-top: -.5px; transform: scaleX(0);
    box-shadow: 0 0 8px rgba(225, 198, 80, .6);
}
.dev-credit__lane--b .dev-credit__trail { transform-origin: left; background: linear-gradient(90deg, rgba(225, 198, 80, 0), var(--gold)); }
.dev-credit__lane--t .dev-credit__trail { transform-origin: right; background: linear-gradient(270deg, rgba(225, 198, 80, 0), var(--gold)); }
.dev-credit__car {
    position: absolute; top: 1px; left: -20px; width: 18px; height: 10px; color: var(--gold);
}
.dev-credit__lane--t .dev-credit__car { left: 100%; }
.dev-credit__lane--t .dev-credit__car svg { transform: scaleX(-1); }
.dev-credit__car svg { display: block; width: 18px; height: 10px; filter: drop-shadow(0 0 5px rgba(225, 198, 80, .75)); }

/* одне коло = низ (0–46%) → тунель → верх (52–98%) → тунель */
.dev-credit .dev-credit__lane--b .dev-credit__car,
.dev-credit:hover .dev-credit__lane--b .dev-credit__car,
.dev-credit:focus-visible .dev-credit__lane--b .dev-credit__car { animation: devLaneB 4.2s cubic-bezier(.45, 0, .55, 1) infinite; }
.dev-credit .dev-credit__lane--t .dev-credit__car,
.dev-credit:hover .dev-credit__lane--t .dev-credit__car,
.dev-credit:focus-visible .dev-credit__lane--t .dev-credit__car { animation: devLaneT 4.2s cubic-bezier(.45, 0, .55, 1) infinite; }
.dev-credit .dev-credit__lane--b .dev-credit__trail,
.dev-credit:hover .dev-credit__lane--b .dev-credit__trail,
.dev-credit:focus-visible .dev-credit__lane--b .dev-credit__trail { animation: devTrailB 4.2s cubic-bezier(.45, 0, .55, 1) infinite; }
.dev-credit .dev-credit__lane--t .dev-credit__trail,
.dev-credit:hover .dev-credit__lane--t .dev-credit__trail,
.dev-credit:focus-visible .dev-credit__lane--t .dev-credit__trail { animation: devTrailT 4.2s cubic-bezier(.45, 0, .55, 1) infinite; }
.dev-credit .dev-credit__arrow,
.dev-credit:hover .dev-credit__arrow { animation: devArrow 4.2s ease infinite; }
.dev-credit .dev-credit__logo,
.dev-credit:hover .dev-credit__logo { animation: devLogo 4.2s ease infinite; }
/* їздить колами постійно (нескінченний цикл) */
.dev-credit .dev-credit__car, .dev-credit .dev-credit__trail,
.dev-credit .dev-credit__arrow, .dev-credit .dev-credit__logo { animation-iteration-count: infinite; }

@keyframes devLaneB { 0% { left: -20px; } 46%, 100% { left: 100%; } }
@keyframes devLaneT { 0%, 52% { left: 100%; } 98%, 100% { left: -20px; } }
@keyframes devTrailB { 0% { transform: scaleX(0); opacity: 1; } 46% { transform: scaleX(1); opacity: 1; } 60%, 100% { transform: scaleX(1); opacity: 0; } }
@keyframes devTrailT { 0%, 52% { transform: scaleX(0); opacity: 1; } 98% { transform: scaleX(1); opacity: 1; } 100% { transform: scaleX(1); opacity: 0; } }
/* стрілка «приймає» авто на виїзді з нижнього тунелю, «K» — на верхньому */
@keyframes devArrow { 0%, 42% { transform: none; color: inherit; } 49% { transform: translate(3px, -3px); color: var(--gold); } 58%, 100% { transform: none; } }
@keyframes devLogo { 0%, 94% { transform: none; box-shadow: none; } 98% { transform: scale(1.15); box-shadow: 0 0 12px rgba(225, 198, 80, .7); } 100% { transform: none; box-shadow: none; } }
/* слід «прив'язаний» до авто: закінчується під машинкою і рівно по її центру */
.dev-credit__lane .dev-credit__trail { display: none; }
.dev-credit__car::before {
    content: ""; position: absolute; top: 50%; height: 1px; margin-top: -.5px; width: 300px;
    box-shadow: 0 0 6px rgba(225, 198, 80, .6); pointer-events: none;
}
.dev-credit__lane--b .dev-credit__car::before { right: calc(100% - 3px); background: linear-gradient(90deg, rgba(225, 198, 80, 0), var(--gold)); animation: devTrailFadeB 4.2s linear infinite; }
.dev-credit__lane--t .dev-credit__car::before { left: calc(100% - 3px); background: linear-gradient(270deg, rgba(225, 198, 80, 0), var(--gold)); animation: devTrailFadeT 4.2s linear infinite; }
.dev-credit__car svg { position: relative; }
@keyframes devTrailFadeB { 0%, 46% { opacity: 1; } 60%, 100% { opacity: 0; } }
@keyframes devTrailFadeT { 0%, 96% { opacity: 1; } 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
    .dev-credit__lane { display: none; }
    .dev-credit * { animation: none !important; }
}
.sf .sf-up { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line-inv); border-radius: 50%; color: #fff; font-size: 1.1rem; transition: border-color .2s, transform .2s; }
.sf .sf-up:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-3px); }

@media (max-width: 1100px) {
    .sf-grid { grid-template-columns: repeat(3, 1fr); }
    .sf-brand { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
    .sf-cta__actions { align-items: flex-start; width: 100%; }
    .sf-msg { flex-wrap: wrap; }
    .sf-grid { grid-template-columns: 1fr 1fr; gap: 2rem 1.25rem; }
    .sf-col--contacts { grid-column: 1 / -1; }
    .sf-bottom { justify-content: center; text-align: center; }
    .sf-up { display: none !important; }
}
.guarantee__doc { display: inline-flex; gap: .4rem; margin-top: 1rem; font-weight: 700; font-size: var(--fs-sm); color: var(--gold-600); text-decoration: none; }
.guarantee__doc:hover { text-decoration: underline; }
/* road-progress під шапкою: на сторінках з суцільною шапкою — видно одразу */
.site-header--solid .road-progress { opacity: 1; }
@media (max-width: 960px) {
    .road-progress { height: 3px; }
    /* підписи — «язички» під шапкою, не налазять на логотип і бургер */
    .road-progress__label {
        bottom: auto; top: 100%; padding: 4px 8px 3px; line-height: 1;
        background: rgba(20, 20, 20, .88); border-radius: 0 0 7px 7px;
        -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
    }
    .road-progress__label--from { left: var(--gutter); }
    .road-progress__label--to { right: var(--gutter); }
}
