/* Стили секций сайта. Значения — из get_design_context секций Sections (Desktop 1440 / Tablet 744 / Mobile 402),
   цвета, отступы и радиусы — только через токены (tokens.css). Брейкпоинты: ≤1023 — Tablet, ≤639 — Mobile. */

@font-face { font-family: 'TTCommonsPro'; font-weight: 500; font-display: swap; src: url('https://ftcdn.kiwitaxi.com/app2/assets/fonts/TTCommonsPro-Md.woff2') format('woff2'); }
@font-face { font-family: 'TTCommonsPro'; font-weight: 800; font-display: swap; src: url('https://ftcdn.kiwitaxi.com/app2/assets/fonts/TTCommonsPro-XBd.woff2') format('woff2'); }

:root {
  --font: 'TTCommonsPro', 'TT Commons Pro', 'Figtree', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --container: 1128px;
  --gutter: var(--spacing-3xl);
  --section-py: var(--spacing-9xl);
  --section-gap: var(--spacing-7xl);
  --shadow-card: 0 4px 12px rgba(217, 209, 231, 0.48);
  --shadow-2: 0 4px 24px rgba(217, 209, 231, 0.48); /* стиль shadow-2 в Figma: радиус 24 = blur в box-shadow */
  --glass: rgba(237, 236, 244, 0.8);
  --ease-menu: cubic-bezier(.4, 0, .2, 1); /* мягкий старт и финиш: мобильное меню */
}
@media (max-width: 1023px) { :root { --section-py: var(--spacing-7xl); --gutter: var(--spacing-6xl); } }
@media (max-width: 639px)  { :root { --section-py: var(--spacing-6xl); --section-gap: var(--spacing-6xl); --gutter: var(--spacing-3xl); } }

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; }
html { scroll-behavior: smooth; } /* якорные CTA ведут к форме плавно */
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { font-family: var(--font); font-weight: 500; color: var(--color-text-primary); background: var(--color-bg-primary); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
p, h1, h2, h3 { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }

.container { width: min(var(--container), 100% - 2 * var(--gutter)); margin-inline: auto; }
.section { padding-block: var(--section-py); display: flex; flex-direction: column; gap: var(--section-gap); align-items: center; }
.section > .container { width: min(var(--container), 100% - 2 * var(--gutter)); }

/* Типографика */
.eyebrow { font-weight: 800; font-size: 19px; line-height: 24px; letter-spacing: -0.38px; }
.h1, .h2 { font-weight: 800; text-wrap: balance; }
/* Ручные переносы из макета: ключ br в strings. no-* — брейкпоинт, где этого разрыва нет */
@media (min-width: 1024px) { br.no-d { display: none; } }
@media (min-width: 640px) and (max-width: 1023px) { br.no-t { display: none; } }
@media (max-width: 639px) { br.no-m { display: none; } }
.nowrap { white-space: nowrap; }
.h1 { font-size: 48px; line-height: 60px; letter-spacing: -1.44px; }
.h2 { font-size: 40px; line-height: 48px; letter-spacing: -1.2px; }
.sub { font-weight: 800; font-size: 19px; line-height: 24px; letter-spacing: -0.38px; color: var(--color-text-quaternary); text-wrap: balance; }
/* Иконка — inline SVG мастер-компонента (24×24, штрих 2): размер и цвет задаёт CSS, штрих пропорционален размеру */
.icon { display: block; width: 48px; height: 48px; flex: none; }
.mixed { font-weight: 800; font-size: 19px; line-height: 24px; letter-spacing: -0.38px; color: var(--color-text-quaternary); }
.mixed .t { color: var(--color-text-primary); }
@media (max-width: 1023px) { .h1 { font-size: 40px; line-height: 48px; letter-spacing: -1.2px; } }
@media (max-width: 639px)  { .h1, .h2 { font-size: 27px; line-height: 36px; letter-spacing: -0.54px; } }

.head { display: flex; flex-direction: column; gap: var(--spacing-3xl); align-items: center; text-align: center; max-width: 552px; margin-inline: auto; }
.head__title { display: flex; flex-direction: column; gap: var(--spacing-xs); align-items: center; }
@media (max-width: 1023px) { .head { max-width: 424px; } }
@media (max-width: 639px)  { .head { max-width: none; } }

/* Двойная кнопка (Multibutton) */
.multibutton { display: inline-flex; align-items: center; gap: var(--spacing-xl); height: 72px; padding: var(--spacing-lg) var(--spacing-lg) var(--spacing-lg) var(--spacing-3xl);
  border-radius: var(--radius-full); background: var(--glass); backdrop-filter: blur(32px); -webkit-backdrop-filter: blur(32px); white-space: nowrap; }
.multibutton__label { font-size: 16px; line-height: 24px; }
.btn-primary { display: inline-flex; align-items: center; padding: var(--spacing-lg) var(--spacing-xl); border-radius: var(--radius-full);
  background: var(--color-button-primary-bg); border: 1px solid var(--color-button-primary-border); color: var(--color-button-primary-fg);
  font-weight: 800; font-size: 16px; line-height: 24px; text-decoration: none; transition: background .15s; }
.btn-primary:hover { background: var(--color-button-primary-bg-hover); border-color: var(--color-button-primary-border-hover); }
.center { display: flex; justify-content: center; }

/* Шапка (встроена в Hero; Figma 4870:4088). Desktop — выпадающие меню у пунктов, ≤1023 — бургер и меню на весь экран.
   Иконки inline, цвет — currentColor: светлая шапка (B01, поверх фото) и тёмная переключаются одним color. */
.site-nav { position: relative; z-index: 20; --nav-fg: var(--color-button-tertiary-fg); }
.site-nav--dark { --nav-fg: var(--grey-3); }
.nav { padding-block: var(--spacing-lg); }
.nav .icon { width: 24px; height: 24px; }
.nav a { text-decoration: none; }
.nav a:not([href]) { cursor: default; } /* пункт без страницы на сайте */
.nav__inner { display: flex; align-items: center; justify-content: space-between; }
.nav__left, .nav__right { display: flex; align-items: center; }
.nav__left { gap: var(--spacing-5xl); }
.nav__right { gap: var(--spacing-lg); }
.nav__menu { display: flex; align-items: center; gap: var(--spacing-3xl); margin: 0; padding: 0; list-style: none; }
.nav__item { display: inline-flex; align-items: center; gap: var(--spacing-sm); font-weight: 800; font-size: 16px; line-height: 24px; color: var(--nav-fg); white-space: nowrap; }
.nav__chev { display: inline-flex; transition: transform .2s; }
[aria-expanded="true"] > .nav__chev { transform: rotate(180deg); }
.nav__logo { width: 48px; height: 48px; display: grid; place-items: center; }
.nav__logo img { width: 43px; height: 40px; }
.nav__logo-dark { display: none; }
.site-nav:not(.site-nav--dark) .nav__logo-light { display: none; }
.site-nav:not(.site-nav--dark) .nav__logo-dark { display: block; }
.nav__icon-btn { width: 48px; height: 48px; display: grid; place-items: center; border-radius: var(--radius-md); color: var(--nav-fg); }
@media (hover: hover) {
  .nav__icon-btn:hover { background: var(--color-button-tertiary-bg-hover); }
  .site-nav--dark .nav__icon-btn:hover { background: rgba(255, 255, 255, 0.12); }
}
.nav__chat { display: inline-flex; align-items: center; gap: var(--spacing-md); padding: var(--spacing-lg) var(--spacing-xl); border-radius: var(--radius-full);
  background: var(--color-button-secondary-bg); border: 1px solid var(--color-button-secondary-border); color: var(--color-button-secondary-fg);
  font-weight: 800; font-size: 16px; line-height: 24px; }

/* Выпадающее меню (Desktop): 384px по центру пункта, 16px под ним */
.nav__group { position: relative; }
.nav__dropdown { position: absolute; left: 50%; top: calc(100% + 16px); width: 384px; transform: translate(-50%, -4px);
  opacity: 0; visibility: hidden; transition: opacity .15s, transform .15s, visibility .15s; }
.nav__group.is-open .nav__dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav__dropdown::before { content: ''; position: absolute; left: 0; right: 0; top: -16px; height: 16px; } /* мост под курсор */
.nav__panel { display: flex; flex-direction: column; gap: var(--spacing-sm); padding: var(--spacing-lg); background: var(--color-bg-primary);
  border: 1px solid var(--color-border-secondary); border-radius: var(--radius-5xl); box-shadow: var(--shadow-card); }
.nav-link { display: flex; align-items: flex-start; gap: var(--spacing-lg); padding: var(--spacing-xl) var(--spacing-lg); border-radius: var(--radius-xl); transition: background .15s; }
.nav-link:focus-visible { background: var(--color-bg-primary-hover); outline: none; }
@media (hover: hover) { .nav-link:hover { background: var(--color-bg-primary-hover); } }
.nav-link .icon { color: var(--color-fg-brand); }
.nav-link__text { display: flex; flex-direction: column; gap: var(--spacing-xs); }
.nav-link__title { font-weight: 800; font-size: 16px; line-height: 24px; color: var(--color-text-primary); }
.nav-link__desc { font-size: 12px; line-height: 16px; color: var(--color-text-secondary); }

/* Tablet и Mobile: бургер, меню на весь экран под белой шапкой */
.nav--compact { display: none; }
.nav__bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; width: calc(100% - 2 * var(--spacing-xl)); margin-inline: auto; }
.nav__side { display: flex; }
.nav__side--end { justify-content: flex-end; }
/* Бургер и крестик стоят друг на друге и сменяются плавно */
.nav__burger .icon { grid-area: 1 / 1; transition: opacity .3s ease, transform .45s var(--ease-menu); }
.nav__burger .icon + .icon, .nav__burger[aria-expanded="true"] .icon:first-child { opacity: 0; transform: rotate(-45deg) scale(.8); }
.nav__burger[aria-expanded="true"] .icon + .icon { opacity: 1; transform: none; }
.mnav { display: none; }
@media (max-width: 1023px) {
  .nav--full { display: none; }
  .nav--compact { display: block; }
  .nav--compact, .nav--compact * { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
  .nav--compact :focus:not(:focus-visible) { outline: none; }
  /* Анимируются только прозрачность и сдвиг: их видеокарта считает отдельно от раскладки, поэтому движение не дёргается */
  .nav--compact.is-open { position: fixed; inset: 0; z-index: 100; display: flex; flex-direction: column; padding: 0; isolation: isolate; }
  .nav--compact.is-open::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--color-bg-primary); animation: mnav-fade-in .45s var(--ease-menu) both; }
  .nav--compact.is-closing::before { animation: mnav-fade-out .4s var(--ease-menu) both; }
  .nav--compact .nav__bar { border-bottom: 1px solid transparent; transition: border-color .45s var(--ease-menu); }
  .nav--compact.is-open .nav__bar { width: 100%; padding: var(--spacing-lg) var(--spacing-xl); border-bottom-color: var(--color-border-primary); }
  .nav--compact.is-closing .nav__bar { border-bottom-color: transparent; }
  /* открытое меню — шапка белая: тёмные иконки и логотип даже поверх фото. Цвет и логотип сменяются вместе с фоном */
  .nav--compact .nav__icon-btn { transition: color .45s var(--ease-menu); }
  .site-nav--dark .nav--compact.is-open:not(.is-closing) { --nav-fg: var(--color-button-tertiary-fg); }
  .site-nav--dark .nav--compact .nav__logo img { grid-area: 1 / 1; display: block; transition: opacity .45s var(--ease-menu); }
  .site-nav--dark .nav--compact .nav__logo-dark { opacity: 0; }
  .site-nav--dark .nav--compact.is-open:not(.is-closing) .nav__logo-light { opacity: 0; }
  .site-nav--dark .nav--compact.is-open:not(.is-closing) .nav__logo-dark { opacity: 1; }
  @media (hover: hover) { .nav--compact.is-open .nav__icon-btn:hover { background: var(--color-button-tertiary-bg-hover); } }
  .nav--compact.is-open .mnav { display: block; flex: 1; overflow-y: auto; overscroll-behavior: contain; padding-block: var(--spacing-3xl); transition: opacity .3s ease; }
  .nav--compact.is-closing .mnav { opacity: 0; }
  /* Пункты появляются по очереди, сверху вниз */
  .nav--compact.is-open .mnav > * { animation: mnav-item-in .5s var(--ease-menu) both; animation-delay: calc(var(--i, 0) * 45ms + 80ms); }
}
@keyframes mnav-fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes mnav-fade-out { from { opacity: 1; } to { opacity: 0; } }
@keyframes mnav-item-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.mnav__row { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: var(--spacing-lg); padding: var(--spacing-xl) var(--spacing-3xl);
  font-weight: 800; font-size: 16px; line-height: 24px; color: var(--color-text-primary); text-align: left; -webkit-user-select: none; user-select: none; }
.mnav__row .nav__chev { color: var(--color-button-tertiary-fg); }
/* Плавное раскрытие: высота идёт от 0 до содержимого через строку сетки, старт и финиш мягкие, содержимое проявляется поверх. Закрытый раздел скрыт и от клавиатуры */
.mnav__sub { display: grid; grid-template-rows: 0fr; visibility: hidden; padding: 0 var(--spacing-lg);
  transition: grid-template-rows .5s var(--ease-menu), visibility 0s linear .5s; }
.mnav__group.is-open .mnav__sub { grid-template-rows: 1fr; visibility: visible; transition-delay: 0s; }
.mnav__sub-inner { min-height: 0; overflow: hidden; padding: 0 var(--spacing-lg) var(--spacing-lg); margin: 0 calc(-1 * var(--spacing-lg)) calc(-1 * var(--spacing-lg)); /* место под тень панели */ opacity: 0; transition: opacity .25s ease; }
.mnav__group.is-open .mnav__sub-inner { opacity: 1; transition: opacity .4s ease .1s; }
.mnav__row .nav__chev { transition: transform .5s var(--ease-menu); }
@media (prefers-reduced-motion: reduce) {
  .mnav__sub, .mnav__sub-inner, .mnav__group.is-open .mnav__sub-inner, .mnav__row .nav__chev, .nav__burger .icon, .nav--compact .nav__icon-btn, .nav--compact .nav__bar, .nav--compact .nav__logo img, .nav--compact.is-open .mnav { transition: none !important; }
  .nav--compact.is-open::before, .nav--compact.is-open .mnav > * { animation: none !important; }
}
.mnav__sub .nav__panel { gap: 0; padding: var(--spacing-md) 0; }
.mnav__sub .nav-link { padding: var(--spacing-xl) var(--spacing-3xl); border-radius: 0; }
html.nav-locked, html.nav-locked body { overflow: hidden; }

/* Низкий телефон с баннером: фото шире своей высоты, кадр прижат к верху, иначе заголовок наезжает на машину */
@media (max-width: 639px) and (max-height: 720px) { html.has-cookie .hero-a__photo > img, html.has-cookie .hero-a__photo > picture > img { object-position: center top; } }

/* A03 Cookie: закреплён снизу, Hero и страница уступают ему место. Слой ниже шапки: открытое мобильное меню закрывает баннер */
.cookie { display: none; }
html.has-cookie { --cookie-h: 73px; }
html.has-cookie body { padding-bottom: var(--cookie-h); }
html.has-cookie .cookie { display: block; position: fixed; inset: auto 0 0; z-index: 15; background: var(--black); border-top: 1px solid var(--color-border-primary);
  padding-bottom: env(safe-area-inset-bottom); transition: transform .4s var(--ease-menu); }
html.has-cookie .cookie.is-leaving { transform: translateY(100%); }
html.cookie-closing .hero { transition: height .4s var(--ease-menu); }
html.cookie-closing .hero-a__bottom { transition: padding-bottom .4s var(--ease-menu); }
html.cookie-closing body { transition: padding-bottom .4s var(--ease-menu); }
.cookie__inner { display: flex; align-items: center; gap: var(--spacing-xl); padding: var(--spacing-xl); }
.cookie__icon { flex: none; width: 40px; height: 40px; display: grid; place-items: center; border-radius: var(--radius-full); background: var(--grey-11); color: var(--white); }
.cookie__icon .icon { width: 20px; height: 20px; }
.cookie__text { flex: 1; margin: 0; font-weight: 800; font-size: 14px; line-height: 20px; color: var(--color-text-white-primary); text-wrap: pretty; }
.cookie__more { color: var(--color-text-white-secondary); }
.cookie__more a { color: inherit; text-underline-position: from-font; }
.cookie__ok { flex: none; padding: 9px 11px; border-radius: var(--radius-md); background: var(--color-button-secondary-bg); border: 1px solid var(--color-button-secondary-border);
  color: var(--color-button-secondary-fg); font-weight: 800; font-size: 14px; line-height: 20px; cursor: pointer; transition: background .15s; }
@media (hover: hover) { .cookie__ok:hover { background: var(--color-button-secondary-bg-hover); color: var(--color-button-secondary-fg-hover); } }
.cookie__ok-wide { display: none; }
@media (min-width: 640px) and (max-width: 1023px) { .cookie__text { font-size: 16px; line-height: 24px; } }
@media (min-width: 1024px) {
  html.has-cookie { --cookie-h: 72px; }
  /* Desktop: плашка 648×72 по центру, скруглена сверху (Figma 8535:34599) */
  html.has-cookie .cookie { width: min(648px, 100%); margin-inline: auto; border: 1px solid var(--color-border-primary); border-bottom: 0; border-radius: 32px 32px 0 0; }
  .cookie__inner { padding: 15px 15px 16px; }
  .cookie__ok { border-radius: var(--radius-full); }
  .cookie__ok-short, .cookie__dot { display: none; }
  .cookie__ok-wide { display: inline; }
  html.has-cookie .hero__handle { display: none; }
}
@media (prefers-reduced-motion: reduce) { html.has-cookie .cookie { transition: none; } }

/* B02 Hero */
/* Hero всегда ровно в высоту экрана (правило заказчика 29.10.2026): фото забирает остаток */
.hero { position: relative; display: flex; flex-direction: column; height: 100vh; height: var(--vh, 100svh); min-height: 560px; }
html.has-cookie .hero { height: calc(var(--vh, 100svh) - var(--cookie-h)); }
/* Hero с чёрным низом: занимает весь экран, баннер лежит на чёрной части, от подзаголовка до баннера 24px (Figma 8535:34599, 8535:34500) */
html.has-cookie .hero--a { height: var(--vh, 100svh); }
html.has-cookie .hero-a__bottom { padding-bottom: calc(var(--spacing-3xl) + var(--cookie-h)); }
html.cookie-closing .hero-a__bottom { padding-bottom: var(--spacing-8xl); }
@media (max-width: 1023px) { html.cookie-closing .hero-a__bottom { padding-bottom: 42px; } }
/* Отступы текста hero по макету: 48 / 48 / 40 сверху, 80 снизу везде; мультикнопка (72px) наполовину
   заходит на фото, поэтому от подзаголовка до CTA всегда 80 − 36 = 44px */
.hero__text { padding: var(--spacing-6xl) 0 var(--spacing-8xl); }
.hero__text .head { max-width: 744px; }
.hero__media { position: relative; width: var(--container); max-width: 100%; margin-inline: auto; flex: 1 1 auto; min-height: 160px; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-5xl) var(--radius-5xl) 0 0; }
.hero__media .multibutton { position: absolute; left: 50%; top: -36px; transform: translateX(-50%); }
.hero__handle { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); width: 96px; height: 6px; border-radius: 12px; background: var(--grey-5); }
@media (max-width: 1023px) {
  .hero__handle { display: none; } /* полоска внизу Hero — только Desktop (заказчик, 02.11.2026) */
  .hero__text { padding: var(--spacing-6xl) var(--gutter) var(--spacing-8xl); }
  .hero__text .head { max-width: 648px; }
  .hero__media { width: 100%; }
  .hero__media img { border-radius: 0; }
}
@media (max-width: 639px) { .hero__text { padding-top: var(--spacing-5xl); } }
/* Tablet: на низком экране (телефон лёжа) заголовок наезжал на фото — Hero не ниже 900px (заказчик, 02.11.2026) */
@media (min-width: 640px) and (max-width: 1023px) { .hero { min-height: 900px; } }

/* C01 Metrics */
.metrics { background: var(--color-bg-brand); }
.metrics__row { display: flex; gap: var(--spacing-3xl); }
.metric { flex: 1 1 0; display: flex; flex-direction: column; align-items: center; gap: var(--spacing-lg); text-align: center; color: var(--color-text-white-primary); }
.metric .icon { color: var(--color-fg-white); }
.metric__num { font-weight: 800; font-size: 48px; line-height: 60px; letter-spacing: -1.44px; }
.metric__text { font-weight: 800; font-size: 14px; line-height: 20px; color: var(--color-text-white-secondary); }
@media (max-width: 1023px) { .metrics__row { flex-direction: column; gap: var(--spacing-6xl); } }
@media (max-width: 639px) { .metric__num { font-size: 40px; line-height: 48px; } .metrics__row { gap: var(--spacing-4xl); } }

/* Пункты с иконкой (D01) */
.media-block { width: 100%; height: 560px; }
.media-block img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-5xl); }
.items { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--spacing-3xl); }
.item { display: flex; flex-direction: column; gap: var(--spacing-lg); }
.item .icon { color: var(--color-fg-brand); }
@media (max-width: 639px) { .item .icon { width: 40px; height: 40px; } }
.stack { display: flex; flex-direction: column; gap: var(--spacing-7xl); align-items: center; }
@media (max-width: 1023px) { .media-block { height: 480px; } .items { grid-template-columns: 1fr 1fr; row-gap: var(--spacing-6xl); } }
@media (max-width: 639px) { .media-block { height: 384px; } .items { grid-template-columns: 1fr; row-gap: var(--spacing-4xl); } .stack { gap: var(--spacing-6xl); } }

/* E01 Steps, Brand */
.steps { background: var(--color-bg-brand); color: var(--color-text-white-primary); }
.steps .sub { color: var(--color-text-white-secondary); }
.steps__row { display: flex; gap: var(--spacing-3xl); }
.step { flex: 1 1 0; min-height: 264px; display: flex; flex-direction: column; gap: var(--spacing-3xl); padding: var(--spacing-3xl); border-radius: var(--radius-5xl);
  background: var(--color-bg-primary); box-shadow: var(--shadow-2); }
.step__num { flex: none; width: 48px; height: 48px; border: 4px solid var(--color-fg-brand); border-radius: var(--radius-full); display: grid; place-items: center;
  font-weight: 800; font-size: 27px; line-height: 36px; letter-spacing: -0.54px; color: var(--color-fg-brand); }
@media (max-width: 1023px) { .steps__row { flex-direction: column; } .step { flex: none; min-height: 0; } }

/* Карусели */
.carousel { display: flex; flex-direction: column; gap: var(--spacing-7xl); }
.carousel__track { display: flex; gap: var(--spacing-3xl); overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding-inline: max(var(--gutter), (100% - var(--container)) / 2); scroll-padding-inline: max(var(--gutter), (100% - var(--container)) / 2);
  scrollbar-width: none; padding-bottom: 16px; margin-bottom: -16px; }
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track > * { scroll-snap-align: start; flex: 0 0 auto; }
.carousel.is-static .carousel__track > * { flex: 1 1 0; }
.carousel__actions { display: flex; justify-content: flex-end; gap: var(--spacing-lg); }
.arrow { width: 56px; height: 56px; display: grid; place-items: center; border-radius: var(--radius-full);
  background: var(--color-button-secondary-bg); border: 1px solid var(--color-button-secondary-border); }
.arrow:hover:not(:disabled) { background: var(--color-button-secondary-bg-hover); }
.arrow:disabled { cursor: default; border-color: var(--color-border-disabled); opacity: .45; }
.arrow img { width: 24px; height: 24px; }
/* Не 100vw: он включает ширину полосы прокрутки (Windows, macOS с мышью) и даёт горизонтальный скролл страницы */
.full-bleed { width: 100%; align-self: stretch; }

/* E03 Car classes */
.cars { background: var(--color-bg-tertiary); }
.tabs { display: inline-flex; gap: var(--spacing-xs); padding: var(--spacing-lg); border-radius: var(--radius-full); background: var(--glass);
  backdrop-filter: blur(32px); max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { padding: 10px var(--spacing-lg); border-radius: var(--radius-full); font-weight: 800; font-size: 14px; line-height: 20px; color: var(--color-text-quaternary); white-space: nowrap; }
.tab.is-active { background: var(--color-bg-brand); color: var(--color-text-white-primary); }
.card { background: var(--color-bg-primary); border: 1px solid var(--color-border-secondary); border-radius: var(--radius-5xl); box-shadow: var(--shadow-card);
  display: flex; flex-direction: column; }
.car { width: 264px; }
.car__body { flex: 1; padding: var(--spacing-3xl) var(--spacing-3xl) 0; display: flex; flex-direction: column; gap: var(--spacing-3xl); }
.car__img { height: 160px; } .car__img img { width: 100%; height: 100%; object-fit: contain; }
.car__name { font-weight: 800; font-size: 19px; line-height: 24px; letter-spacing: -0.38px; }
.car__desc { font-size: 19px; line-height: 24px; letter-spacing: -0.38px; color: var(--color-text-tertiary); margin-top: var(--spacing-lg); }
.car__info { display: flex; gap: var(--spacing-xl); padding: var(--spacing-3xl); }
.info { display: inline-flex; align-items: center; gap: var(--spacing-lg); font-size: 16px; line-height: 24px; color: var(--color-text-secondary); }
.info img { width: 24px; height: 24px; }
@media (max-width: 1023px) { .car { width: 200px; } }
@media (max-width: 639px) { .car { width: 189px; } .car__body { padding: var(--spacing-xl) var(--spacing-xl) 0; } .car__info { padding: var(--spacing-xl); } .car__desc { font-size: 16px; } }

/* D03 Carousel 1 */
.dest { width: 360px; display: flex; flex-direction: column; gap: var(--spacing-4xl); }
.dest__img { height: 384px; } .dest__img img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-5xl); }
.dest__text { padding-inline: var(--spacing-xl); }
@media (max-width: 1023px) { .dest { width: 300px; } .dest__img { height: 320px; } }
@media (max-width: 639px) { .dest { width: 260px; } .dest__img { height: 280px; } }

/* F01 Reviews */
.rating { display: inline-flex; align-items: center; gap: var(--spacing-xl); height: 72px; padding: var(--spacing-lg) var(--spacing-2xl) var(--spacing-lg) var(--spacing-lg);
  border-radius: var(--radius-full); background: var(--color-bg-brand); color: var(--color-text-white-primary); }
.rating__num { height: 100%; display: inline-flex; align-items: center; gap: var(--spacing-xs); padding-inline: 12px; border-radius: var(--radius-full);
  background: var(--color-bg-primary); color: var(--color-text-primary); font-weight: 800; font-size: 19px; line-height: 24px; letter-spacing: -0.38px; }
.rating__num img { width: 20px; height: 20px; }
.rating__count { font-size: 16px; line-height: 24px; max-width: 120px; }
.review { width: 264px; }
.review__text { flex: 1; padding: var(--spacing-3xl) var(--spacing-3xl) 0; font-size: 19px; line-height: 24px; letter-spacing: -0.38px; color: var(--color-text-tertiary); }
.review__foot { padding: var(--spacing-3xl); display: flex; flex-direction: column; gap: var(--spacing-3xl); }
.review__name { font-weight: 800; font-size: 19px; line-height: 24px; letter-spacing: -0.38px; }
.stars { display: flex; } .stars img { width: 20px; height: 20px; }
.review__info { display: flex; flex-direction: column; gap: var(--spacing-xl); }
.platforms { background: var(--color-bg-tertiary); border-radius: var(--radius-5xl); padding: var(--spacing-7xl) var(--spacing-3xl); display: flex; justify-content: center; gap: var(--spacing-3xl); flex-wrap: wrap; }
.platform { display: flex; flex-direction: column; gap: var(--spacing-xl); color: inherit; text-decoration: none; transition: opacity .15s; }
.platform:hover { opacity: .8; }
/* логотип в родных пропорциях: не растягивается по колонке, на узком экране уменьшается целиком */
.platform__logo { width: auto; height: auto; max-width: 100%; max-height: 48px; align-self: flex-start; }
.platform .rating__num { color: var(--black); }
.platform--ta .rating { background: #00e19f; color: var(--black); }
.platform--rio .rating { background: #067c74; }
@media (max-width: 1023px) { .platforms { flex-direction: column; align-items: center; } }
@media (max-width: 639px) { .review { width: 260px; } }

/* J01 FAQ */
.faq__grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--spacing-3xl); align-items: start; }
.faq__head { display: flex; flex-direction: column; gap: var(--spacing-3xl); padding-right: var(--spacing-5xl); }
.faq__list { display: flex; flex-direction: column; gap: var(--spacing-3xl); }
.faq-item { border: 1px solid transparent; border-radius: var(--radius-5xl); padding: var(--spacing-3xl); transition: background .15s, box-shadow .15s; }
.faq-item[open] { background: var(--color-bg-primary); border-color: var(--color-border-secondary); box-shadow: var(--shadow-card); }
.faq-item summary { list-style: none; display: flex; gap: var(--spacing-3xl); justify-content: space-between; cursor: pointer;
  font-weight: 800; font-size: 19px; line-height: 24px; letter-spacing: -0.38px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: ''; flex: 0 0 24px; height: 24px; background: url('../assets/icons/plus-circle.svg') center / contain no-repeat; }
.faq-item[open] summary::after { background-image: url('../assets/icons/minus-circle.svg'); }
.faq-item__a { margin-top: var(--spacing-lg); font-size: 16px; line-height: 24px; color: var(--color-text-tertiary); white-space: pre-line; padding-right: 48px; }
@media (max-width: 1023px) { .faq__grid { grid-template-columns: 1fr; gap: var(--spacing-6xl); } .faq__head { padding-right: 0; text-align: center; align-items: center; max-width: 424px; margin-inline: auto; } }
@media (max-width: 639px) { .faq__head { max-width: none; } .faq-item { padding: var(--spacing-xl); } }

/* H03 CTA — плашка с иконкой. Может ждать успешной отправки формы (after_registration) */
.section[hidden] { display: none; }
.notice { display: flex; flex-direction: column; align-items: center; gap: var(--spacing-6xl); padding: var(--spacing-7xl) var(--spacing-6xl);
  border-radius: var(--radius-5xl); background: var(--color-bg-tertiary); text-align: center; }
.notice__text { display: flex; flex-direction: column; gap: var(--spacing-3xl); align-items: center; width: 100%; max-width: 744px; }
.notice__title { display: flex; flex-direction: column; gap: var(--spacing-xs); align-items: center; }
.notice__title .icon { width: 64px; height: 64px; color: var(--color-text-primary); }
@media (max-width: 639px) { .notice { gap: var(--spacing-5xl); padding: var(--spacing-6xl) var(--spacing-4xl); } }

/* H02 CTA */
.cta__grid { display: flex; align-items: center; gap: var(--spacing-7xl); }
.cta__img { flex: 0 0 552px; height: 560px; } .cta__img img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-5xl); }
.cta__content { flex: 1; display: flex; flex-direction: column; gap: var(--spacing-6xl); align-items: flex-start; }
/* шапка в колонке прижата влево вместе с кнопкой (у .head по умолчанию margin-inline: auto — центрирует) */
.cta__content .head { align-items: flex-start; text-align: left; max-width: none; margin-inline: 0; }
.cta__content .head__title { align-items: flex-start; }
@media (max-width: 1023px) {
  .cta__grid { flex-direction: column-reverse; gap: var(--spacing-6xl); }
  .cta__img { flex: none; width: 100%; height: 640px; }
  .cta__content { align-items: center; }
  .cta__content .head, .cta__content .head__title { align-items: center; text-align: center; }
  .cta__content .head { max-width: 424px; margin-inline: auto; }
}
@media (max-width: 639px) { .cta__img { height: 384px; } .cta__content .head { max-width: none; } }
/* Самые узкие телефоны: двойная кнопка не влезает в строку — подпись переносится, кнопка остаётся целой */
@media (max-width: 374px) {
  .cta__content { width: 100%; }
  .cta__content .multibutton { max-width: 100%; }
  .cta__content .multibutton__label { white-space: normal; line-height: 20px; }
  .cta__content .multibutton .btn-primary { flex: none; }
}
@media (max-width: 359px) { .cta__content .multibutton__label { display: none; } .cta__content .multibutton { padding-left: var(--spacing-lg); } }

/* K01 Footer */
.footer { background: var(--color-bg-tertiary); text-align: center; }
.footer__inner { display: flex; flex-direction: column; gap: var(--spacing-6xl); align-items: center; }
.footer__sign { display: flex; flex-direction: column; gap: var(--spacing-md); font-size: 16px; line-height: 24px; }
.footer__sign b { font-weight: 800; color: var(--black); }
.footer__sign span { color: var(--color-text-tertiary); }
.badges { display: flex; gap: var(--spacing-lg); justify-content: center; margin-top: var(--spacing-3xl); }
.badges a { display: block; }
.badges img { height: 40px; width: auto; }
.legal { font-size: 14px; line-height: 20px; color: var(--color-text-tertiary); display: flex; flex-direction: column; gap: 20px; }
.legal a, .sub a { color: inherit; text-underline-position: from-font; transition: color .15s; }
.legal a:hover, .sub a:hover { color: var(--color-text-primary); }
.socials { display: flex; gap: var(--spacing-xl); }
.socials a { display: block; }
.socials img { width: 24px; height: 24px; }

/* Светлый фон секции (D06, G01) */
.section--tint { background: var(--color-bg-tertiary); }

/* B01 Hero Type-A: фото на всю ширину, шапка и H1 поверх; подзаголовок на чёрном. Отступ заголовка сверху (от края
   секции, шапка 72px поверх фото) — 104 / 84 / 96; низ: 80 / 60·42 / 60·42, мультикнопка наполовину на фото */
.hero--a { background: var(--black); }
/* Низкие ноутбуки: Hero не ниже 800px, иначе заголовок наезжает на машину (исключение из правила «ровно в высоту экрана», заказчик 05.11.2026) */
@media (min-width: 1024px) { .hero--a { min-height: 800px; } }
.hero-a__photo { position: relative; flex: 1 1 auto; min-height: 320px; display: flex; justify-content: center; padding: 104px var(--gutter) 0; overflow: hidden; }
.hero-a__photo > img, .hero-a__photo > picture > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; } /* как Fill в Figma — по центру */
.hero--a > .site-nav { position: absolute; top: 0; left: 0; right: 0; }
.hero-a__title { position: relative; max-width: 552px; text-align: center; color: var(--color-text-white-primary); }
.hero-a__title .h1 { max-width: 15em; margin-inline: auto; } /* две строки не сливаются в одну при мелком кегле на широком экране (890px) */
@media (min-width: 1024px) { .hero-a__title .h1 { font-size: 40px; line-height: 48px; letter-spacing: -1.2px; } } /* Desktop: 40/48, решение заказчика 05.11.2026 */
.h1__light { display: block; font-weight: 500; }
@media (max-width: 374px) { .hero-a__photo { padding-inline: var(--spacing-xl); } } /* при 360px строке не хватало 1px */
.hero-a__bottom { position: relative; display: flex; justify-content: center; padding: var(--spacing-8xl) var(--gutter); background: var(--black); }
.hero-a__bottom .multibutton { position: absolute; left: 50%; top: -36px; transform: translateX(-50%); background: rgba(255, 255, 255, 0.8); z-index: 1; }
.hero-a__sub { max-width: 744px; text-align: center; color: var(--color-text-white-secondary); }
.hero-a__sub .t { color: var(--color-text-white-primary); }
@media (max-width: 1023px) {
  .hero-a__photo { padding-top: 84px; }
  .hero-a__title { max-width: 648px; }
  .hero-a__title .h1 { font-size: 48px; line-height: 60px; letter-spacing: -1.44px; }
  .hero-a__bottom { padding: 60px var(--gutter) 42px; }
  .hero-a__sub { max-width: 648px; }
}
@media (max-width: 639px) {
  .hero-a__photo { padding-top: var(--spacing-9xl); }
  .hero-a__title .h1 { font-size: 27px; line-height: 36px; letter-spacing: -0.54px; }
}

/* D02 — заголовок + фото: два рядом на Desktop, первое — на Tablet и Mobile */
.gallery { display: flex; gap: var(--spacing-3xl); }
.gallery__img { flex: 1 1 0; height: 560px; }
.gallery__img img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-5xl); }
@media (max-width: 1023px) {
  /* Фото идут от края до края экрана: обрезает сам экран, а не отступы контейнера */
  .section > .container.gallery { width: 100%; max-width: none; padding-inline: 0; justify-content: center; overflow: hidden; }
  .gallery__img { flex: 0 0 472px; height: 480px; }
}
@media (max-width: 639px) { .gallery__img { flex-basis: 260px; height: 282px; } }

/* D06 Icon cards: в ряд, высота по самой высокой; на Tablet и Mobile — столбиком через 32 */
.fcards { display: flex; gap: var(--spacing-3xl); }
.fcard { flex: 1 1 0; display: flex; flex-direction: column; gap: var(--spacing-3xl); padding: var(--spacing-3xl); border-radius: var(--radius-5xl);
  background: var(--color-bg-primary); box-shadow: var(--shadow-card); }
.fcard .icon { color: var(--color-fg-brand); }
.fcard__text { display: flex; flex-direction: column; gap: var(--spacing-lg); }
.fcard__title { margin: 0; font-weight: 800; font-size: 19px; line-height: 24px; letter-spacing: -0.38px; text-wrap: balance; }
.fcard__desc { font-size: 14px; line-height: 20px; color: var(--color-text-secondary); }
@media (max-width: 1023px) { .fcards { flex-direction: column; gap: var(--spacing-4xl); } }

/* E03, вариант «описание + модели» (без пассажиров и багажа) */
.car--long .car__body { padding: var(--spacing-3xl); }
.car--long .car__desc { color: var(--color-text-secondary); margin-top: var(--spacing-lg); }
.car__models { margin-top: var(--spacing-lg); font-size: 14px; line-height: 20px; color: var(--color-text-tertiary); }

/* H01 — бейджи сторов вместо кнопки: 48px, на Mobile 40px */
.badges--cta { margin-top: 0; justify-content: flex-start; }
.badges--cta img { height: 48px; }
@media (max-width: 1023px) { .badges--cta { justify-content: center; } }
@media (max-width: 639px) { .badges--cta img { height: 40px; } }

/* F03 Quotes: три длинные цитаты, карточка 420px, текст по центру */
.quotes__row { display: flex; gap: var(--spacing-3xl); }
.quote { flex: 1 1 0; min-height: 420px; margin: 0; padding: var(--spacing-3xl); align-items: center; justify-content: center; gap: var(--spacing-3xl); text-align: center; }
.quote__mark { width: 58px; height: 48px; transform: rotate(180deg); }
.quote__text { margin: 0; font-size: 19px; line-height: 24px; letter-spacing: -0.38px; color: var(--color-text-primary); }
.quotes .rating__count { width: 141px; max-width: none; }
@media (max-width: 1023px) {
  .quotes__row { flex-direction: column; }
  .quotes .platforms { flex-direction: row; align-items: flex-start; }
}
@media (max-width: 639px) { .quotes .platforms { flex-direction: column; align-items: center; gap: var(--spacing-6xl); padding: var(--spacing-6xl) var(--spacing-3xl); } }

/* G01 — логотипы партнёров, переносятся по центру */
.logos { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--spacing-4xl); padding-block: var(--spacing-3xl); }
.logos img { height: 48px; width: auto; }
@media (max-width: 639px) { .logos img { height: 32px; } }

/* Исключение (заказчик, 30.10.2026): раскрытый складной телефон (ширина ~890, iPhone Duo) — заголовок Hero
   уменьшается до Display 27/36, как на Mobile. Для всех Hero (B01–B04); стоит в конце файла, чтобы перебить
   размеры Tablet у отдельных героев. Диапазон ±10px — ширина окна у устройств и браузеров немного разнится. */
@media (min-width: 880px) and (max-width: 900px) {
  .hero .h1 { font-size: 27px; line-height: 36px; letter-spacing: -0.54px; }
}

/* Закреплённый хедер (Header navigation, Figma 8369:48454): Desktop — с меню, ≤639 — логотип и кнопка.
   Якоря на такой странице останавливаются под хедером — scroll-padding. */
:root { --sticky-nav-h: 65px; }
@media (max-width: 639px) { :root { --sticky-nav-h: 64px; } }
.has-sticky-nav { scroll-padding-top: var(--sticky-nav-h); }
.sticky-nav { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--sticky-nav-h); display: flex; align-items: center;
  background: rgba(255, 255, 255, 0.8); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border-bottom: 1px solid var(--color-border-primary);
  transform: translateY(-100%); visibility: hidden; transition: transform .3s ease, visibility 0s linear .3s; }
.sticky-nav.is-solid { background: var(--color-bg-primary); }
.sticky-nav.is-visible { transform: none; visibility: visible; transition: transform .3s ease, visibility 0s; }
@media (prefers-reduced-motion: reduce) { .sticky-nav, .sticky-nav.is-visible { transition: none; } }
.sticky-nav__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--spacing-xl); }
.sticky-nav__brand { display: flex; align-items: center; gap: var(--spacing-lg); min-width: 0; }
.sticky-nav__logo { flex: none; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 9px; background: var(--purple-12); }
.sticky-nav__title { font-weight: 800; font-size: 19px; line-height: 24px; letter-spacing: -0.38px; margin-bottom: -2px; white-space: nowrap; }
.sticky-nav__sub { font-size: 12px; line-height: 16px; color: var(--color-text-secondary); white-space: nowrap; }
.sticky-nav__actions, .sticky-nav__menu { display: flex; align-items: center; gap: var(--spacing-xl); }
.sticky-nav__menu a { font-size: 14px; line-height: 20px; color: var(--color-text-primary); text-decoration: none; white-space: nowrap; transition: color .15s; }
.sticky-nav__menu a:hover { color: var(--color-text-tertiary); }
.btn-primary--sm { padding: 9px 11px; font-size: 14px; line-height: 20px; white-space: nowrap; }
@media (max-width: 639px) {
  .sticky-nav__inner { width: 100%; padding-inline: var(--spacing-xl); }
  .sticky-nav__menu { display: none; }
}

/* Эксперимент: отъезд камеры в Hero (B01, поле intro в strings, скрипт в партиале). Картинка свёрстана крупной и уменьшается,
   а не наоборот: iOS Safari растеризует слой в исходном размере, и увеличенный крупный план был бы размытым. */
.hero-a__photo > picture { display: contents; }
.hero-a__photo.is-intro img { max-width: none; inset: auto; width: calc(var(--intro-zoom) * 100%); height: calc(var(--intro-zoom) * 100%);
  left: calc(50% - var(--intro-zoom) * 50%); top: calc(50% - var(--intro-zoom) * 50%);
  transform: translate(var(--intro-x), var(--intro-y)); will-change: transform; }
.hero-a__photo.is-playing img { animation: hero-pullback 4s cubic-bezier(.45, 0, .15, 1) .5s both; }
@keyframes hero-pullback { to { transform: translate(0, 0) scale(calc(1 / var(--intro-zoom))); } }
/* Заголовок проявляется под конец отъезда и заканчивает вместе с ним (3,3 + 1,2 = 0,5 + 4 с) */
.hero-a__photo.is-intro .hero-a__title { opacity: 0; }
.hero-a__photo.is-playing .hero-a__title { animation: hero-title-in 1.2s cubic-bezier(.22, .61, .36, 1) 3.3s both; }
@keyframes hero-title-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* Раскрытие двойной кнопки (всегда) и таб-бара (data-reveal, Figma 8405:56279 → 8405:56287, 8405:56563 → 8405:56484). Поведение и ширины — site.js */
.multibutton.is-collapsed { justify-content: flex-end; overflow: hidden; }
.multibutton.is-collapsed .multibutton__label { flex: none; opacity: 0; }
.multibutton.is-collapsed .btn-primary { flex: none; }
.tabs.is-collapsed { overflow: hidden; }
.tabs.is-collapsed .tab:not(.is-active) { opacity: 0; }
.multibutton.is-revealing, .tabs.is-revealing { transition: width .8s cubic-bezier(.22, .61, .36, 1) .15s; }
.tabs.is-revealing .tab:not(.is-active) { opacity: 1; transition: opacity .6s ease .3s; }
.multibutton.is-revealing .multibutton__label { opacity: 1; transition: opacity .6s ease .3s; }
