/* ============================================================
   Автошкола «Драйв» — стили лендинга
   Тема: асфальт + дорожная разметка
   ============================================================ */

:root {
  --bg: #F6F7F9;
  --surface: #FFFFFF;
  --ink: #171A20;
  --ink-soft: #59606E;
  --line: #E3E6EC;

  --asphalt: #1B1E25;
  --asphalt-2: #23262F;
  --asphalt-line: #343947;

  --yellow: #FFC933;
  --yellow-deep: #E8AF1B;
  --yellow-soft: #FFF4D6;

  --green: #2E9E6B;
  --red: #D64545;

  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 10px 30px -12px rgba(23, 26, 32, .18);
  --shadow-lg: 0 24px 60px -20px rgba(23, 26, 32, .28);

  --font-display: 'Unbounded', 'Manrope', sans-serif;
  --font-body: 'Manrope', 'Segoe UI', sans-serif;

  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --dur: .5s;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }

:focus-visible {
  outline: 3px solid var(--yellow-deep);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: min(1180px, 100% - 40px);
  margin-inline: auto;
}
.container--narrow { width: min(860px, 100% - 40px); }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 999px;
  padding: 14px 28px;
  min-height: 48px;
  transition: transform .18s var(--ease-out), box-shadow .18s var(--ease-out),
              background-color .18s, color .18s, border-color .18s;
  cursor: pointer;
  position: relative;
  white-space: nowrap;
}
.btn:active { transform: scale(.97); }

.btn--primary {
  background: var(--yellow);
  color: var(--ink);
  box-shadow: 0 8px 20px -8px rgba(232, 175, 27, .7);
}
.btn--primary:hover {
  background: #FFD35C;
  box-shadow: 0 12px 26px -8px rgba(232, 175, 27, .85);
  transform: translateY(-2px);
}

.btn--ghost {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, .35);
}
.btn--ghost:hover { border-color: var(--yellow); color: var(--yellow); transform: translateY(-2px); }

.btn--ghost-dark {
  background: transparent;
  color: var(--ink);
  border: 2px solid var(--line);
}
.btn--ghost-dark:hover { border-color: var(--ink); }

.btn--outline {
  background: transparent;
  color: #fff;
  border: 2px solid var(--asphalt-line);
}
.btn--outline:hover { border-color: var(--yellow); color: var(--yellow); }

.btn--sm { padding: 10px 20px; min-height: 44px; font-size: 15px; }
.btn--lg { padding: 17px 34px; font-size: 18px; }
.btn--block { width: 100%; }

/* ============================================================
   ШАПКА
   ============================================================ */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  background: rgba(27, 30, 37, .85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, .07);
  transition: background-color .3s;
}
.header.is-scrolled { background: rgba(23, 26, 32, .96); }

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 74px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #fff;
}
.logo__sign { display: block; width: 38px; height: 38px; flex-shrink: 0; }
.logo__sign svg { width: 100%; height: 100%; }
.logo__text {
  font-size: 12px;
  line-height: 1.25;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .65);
}
.logo__text strong {
  display: block;
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: 0;
  text-transform: none;
  color: #fff;
}

.nav { display: flex; gap: 4px; }
.nav__link {
  color: rgba(255, 255, 255, .78);
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  padding: 9px 13px;
  border-radius: 999px;
  transition: color .18s, background-color .18s;
}
.nav__link:hover { color: #fff; background: rgba(255, 255, 255, .08); }

.header__actions { display: flex; align-items: center; gap: 16px; }
.header__phone {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  white-space: nowrap;
  transition: color .18s;
}
.header__phone svg { width: 17px; height: 17px; color: var(--yellow); }
.header__phone:hover { color: var(--yellow); }

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  padding: 11px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .08);
}
.burger span {
  height: 2px;
  width: 100%;
  background: #fff;
  border-radius: 2px;
  transition: transform .25s var(--ease-out), opacity .2s;
}
.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   ГЛАВНЫЙ ЭКРАН
   ============================================================ */
.hero {
  position: relative;
  background: linear-gradient(180deg, #171A20 0%, var(--asphalt) 55%, #202430 100%);
  color: #fff;
  padding: 160px 0 0;
  overflow: hidden;
}

.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.hero__glow {
  position: absolute;
  top: -220px;
  right: -160px;
  width: 640px;
  height: 640px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 201, 51, .16) 0%, transparent 65%);
}
.hero__city {
  position: absolute;
  bottom: 210px;
  left: 0;
  width: 100%;
  height: 150px;
  color: rgba(255, 255, 255, .045);
}

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  align-items: end;
  gap: 40px;
}

.hero__content { padding-bottom: 90px; }

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 999px;
  padding: 9px 18px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, .9);
  margin-bottom: 28px;
}
.pulse-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--yellow);
  position: relative;
}
.pulse-dot::after {
  content: '';
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 2px solid var(--yellow);
  animation: pulse 2s ease-out infinite;
}
@keyframes pulse {
  0% { transform: scale(.5); opacity: 1; }
  100% { transform: scale(1.4); opacity: 0; }
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(30px, 4.4vw, 54px);
  line-height: 1.14;
  letter-spacing: -.01em;
  margin-bottom: 22px;
}

.marker {
  position: relative;
  white-space: nowrap;
  color: var(--ink);
  padding: 0 .18em;
  z-index: 0;
}
.marker::before {
  content: '';
  position: absolute;
  inset: .08em -.06em -.02em;
  background: var(--yellow);
  border-radius: .18em;
  transform: rotate(-1.2deg);
  z-index: -1;
}

.hero__subtitle {
  font-size: 18px;
  color: rgba(255, 255, 255, .72);
  max-width: 520px;
  margin-bottom: 34px;
}

.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 48px; }

.hero__stats {
  display: flex;
  gap: 44px;
  flex-wrap: wrap;
}
.hero__stats li { display: flex; flex-direction: column; gap: 2px; }
.hero__stats b {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  color: var(--yellow);
  font-variant-numeric: tabular-nums;
}
.hero__stats span {
  font-size: 13.5px;
  line-height: 1.4;
  color: rgba(255, 255, 255, .6);
}

/* --- Машина в hero --- */
.hero__visual { position: relative; align-self: end; }
.hero-road { position: relative; padding-bottom: 34px; }

.car { width: 100%; height: auto; }
.car--hero {
  max-width: 560px;
  margin-inline: auto;
  animation: car-bob 2.6s ease-in-out infinite;
  transform-origin: 50% 100%;
}
@keyframes car-bob {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  30% { transform: translateY(-4px) rotate(-.35deg); }
  65% { transform: translateY(-1px) rotate(.25deg); }
}

.car__rim {
  animation: wheel-spin 1.1s linear infinite;
  transform-origin: var(--wx, 50%) var(--wy, 50%);
  transform-box: view-box;
}
@keyframes wheel-spin { to { transform: rotate(-360deg); } }

.car__sign { animation: sign-sway 2.6s ease-in-out infinite; transform-origin: 256px 58px; transform-box: view-box; }
@keyframes sign-sway {
  0%, 100% { transform: rotate(0deg); }
  40% { transform: rotate(-1.6deg); }
  75% { transform: rotate(1.2deg); }
}

.car__speed line { animation: speed-dash 1s linear infinite; }
.car__speed line:nth-child(2) { animation-delay: .33s; }
.car__speed line:nth-child(3) { animation-delay: .66s; }
@keyframes speed-dash {
  0% { transform: translateX(0); opacity: 0; }
  25% { opacity: .8; }
  100% { transform: translateX(60px); opacity: 0; }
}

.car__shadow { animation: shadow-breathe 2.6s ease-in-out infinite; transform-origin: 280px 238px; transform-box: view-box; }
@keyframes shadow-breathe {
  0%, 100% { transform: scaleX(1); opacity: 1; }
  30% { transform: scaleX(.96); opacity: .8; }
}

/* --- Дорога под машиной --- */
.road {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 100vw;
  height: 34px;
  background: #12141A;
  overflow: hidden;
}
.road::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: rgba(255, 255, 255, .08);
}
.road__line {
  position: absolute;
  top: 50%;
  left: 0;
  width: 200%;
  height: 5px;
  transform: translateY(-50%);
  background: repeating-linear-gradient(90deg,
    var(--yellow) 0 46px,
    transparent 46px 92px);
  animation: road-move 1.1s linear infinite;
}
@keyframes road-move { to { transform: translate(-92px, -50%); } }

/* ============================================================
   БЕГУЩАЯ СТРОКА
   ============================================================ */
.ticker {
  background: var(--yellow);
  color: var(--ink);
  overflow: hidden;
  padding: 13px 0;
  border-block: 3px solid var(--ink);
}
.ticker__track {
  display: flex;
  align-items: center;
  gap: 28px;
  width: max-content;
  animation: ticker-scroll 28s linear infinite;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: .02em;
  text-transform: uppercase;
  white-space: nowrap;
}
.ticker__track i { font-style: normal; opacity: .55; }
@keyframes ticker-scroll { to { transform: translateX(-50%); } }

/* ============================================================
   СЕКЦИИ (общее)
   ============================================================ */
.section { padding: 96px 0; position: relative; }
.section--tint { background: #EEF0F4; }
.section--dark {
  background: linear-gradient(180deg, var(--asphalt) 0%, #202430 100%);
  color: #fff;
}

.road-divider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: repeating-linear-gradient(90deg, var(--yellow) 0 46px, transparent 46px 92px);
  opacity: .85;
}

.section__head { max-width: 720px; margin-bottom: 56px; }
.section__eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--yellow);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.section__eyebrow--dark { background: var(--yellow); color: var(--ink); }
.section__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(26px, 3.4vw, 40px);
  line-height: 1.18;
  letter-spacing: -.01em;
}
.section__lead {
  margin-top: 16px;
  font-size: 18px;
  color: var(--ink-soft);
  max-width: 640px;
}
.section--dark .section__lead { color: rgba(255, 255, 255, .68); }

/* ============================================================
   ПРЕИМУЩЕСТВА
   ============================================================ */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.benefit {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out), border-color .25s;
}
.benefit:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: transparent;
}
.benefit__icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: var(--yellow-soft);
  color: var(--yellow-deep);
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  transition: transform .25s var(--ease-out), background-color .25s;
}
.benefit:hover .benefit__icon { background: var(--yellow); color: var(--ink); transform: rotate(-6deg) scale(1.06); }
.benefit__icon svg { width: 26px; height: 26px; }
.benefit h3 { font-size: 18.5px; font-weight: 800; margin-bottom: 10px; letter-spacing: -.01em; }
.benefit p { font-size: 15.5px; color: var(--ink-soft); }

/* ============================================================
   ЦЕНЫ
   ============================================================ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: stretch;
}
.price-card {
  display: flex;
  flex-direction: column;
  background: var(--asphalt-2);
  border: 1px solid var(--asphalt-line);
  border-radius: var(--radius);
  padding: 34px 30px;
  position: relative;
  transition: transform .25s var(--ease-out), border-color .25s, box-shadow .25s;
}
.price-card:hover { transform: translateY(-6px); border-color: rgba(255, 201, 51, .55); }

.price-card--featured {
  background: linear-gradient(165deg, #2A2E3A 0%, var(--asphalt-2) 100%);
  border-color: var(--yellow);
  box-shadow: 0 24px 56px -22px rgba(255, 201, 51, .35);
}
.price-card__badge {
  position: absolute;
  top: -15px;
  left: 28px;
  background: var(--yellow);
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  padding: 6px 16px;
  border-radius: 999px;
}
.price-card__head h3 {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  margin-bottom: 8px;
}
.price-card__head p { font-size: 14.5px; color: rgba(255, 255, 255, .6); min-height: 3em; }
.price-card__price {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 20px 0 24px;
  padding-bottom: 22px;
  border-bottom: 1px dashed var(--asphalt-line);
}
.price-card__price b {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  color: var(--yellow);
  font-variant-numeric: tabular-nums;
}
.price-card__price s { color: rgba(255, 255, 255, .4); font-size: 17px; }
.price-card__unit { color: rgba(255, 255, 255, .55); font-size: 16px; }

.price-card__list { flex: 1; display: grid; gap: 12px; margin-bottom: 28px; }
.price-card__list li {
  position: relative;
  padding-left: 30px;
  font-size: 15px;
  color: rgba(255, 255, 255, .82);
}
.price-card__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23171A20' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/11px no-repeat;
}

.pricing-note {
  margin-top: 34px;
  text-align: center;
  font-size: 15px;
  color: rgba(255, 255, 255, .55);
  max-width: 760px;
  margin-inline: auto;
}

/* ============================================================
   ЭТАПЫ
   ============================================================ */
.steps { position: relative; padding-left: 76px; }

.steps__road {
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 44px;
}
.steps__road-line {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: var(--asphalt);
  overflow: hidden;
}
.steps__road-line::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 4px;
  transform: translateX(-50%);
  background: repeating-linear-gradient(180deg, var(--yellow) 0 26px, transparent 26px 52px);
}

.car--mini {
  position: absolute;
  left: 50%;
  top: 0;
  width: 92px;
  transform: translate(-50%, -10px) rotate(90deg);
  filter: drop-shadow(0 4px 10px rgba(23, 26, 32, .35));
  will-change: top;
  z-index: 2;
}
.car--mini .car__rim { animation-duration: .9s; }

.steps__list { display: grid; gap: 26px; }
.step {
  display: flex;
  gap: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 30px;
  transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out);
}
.step:hover { transform: translateX(6px); box-shadow: var(--shadow); }
.step__num {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 1.6px var(--yellow-deep);
  flex-shrink: 0;
  line-height: 1.1;
}
.step__body h3 { font-size: 19px; font-weight: 800; margin-bottom: 8px; }
.step__body p { font-size: 15.5px; color: var(--ink-soft); }

.steps__note {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-top: 40px;
  background: var(--yellow-soft);
  border: 1px solid #F2DC9E;
  border-radius: var(--radius);
  padding: 20px 24px;
}
.steps__note svg { width: 24px; height: 24px; flex-shrink: 0; color: var(--yellow-deep); margin-top: 2px; }
.steps__note p { font-size: 15.5px; }

/* ============================================================
   АВТОПАРК И КОМАНДА
   ============================================================ */
.cars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 56px;
}
.car-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  text-align: center;
  transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out);
}
.car-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.car-card__pic {
  background: linear-gradient(180deg, #F1F3F7 0%, #E7EAF0 100%);
  border-radius: var(--radius-sm);
  padding: 18px 12px 8px;
  margin-bottom: 18px;
  overflow: hidden;
}
.car-card__pic svg { transition: transform .3s var(--ease-out); }
.car-card:hover .car-card__pic svg { transform: translateX(8px); }
.car-card h3 { font-size: 18px; font-weight: 800; margin-bottom: 4px; }
.car-card p { font-size: 14.5px; color: var(--ink-soft); }

.team {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.team__item {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 22px;
  transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out);
}
.team__item:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.team__avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--av, var(--yellow));
  color: #fff;
  font-weight: 800;
  font-size: 18px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.team__item h4 { font-size: 16.5px; font-weight: 800; }
.team__item p { font-size: 14px; color: var(--ink-soft); }

/* ============================================================
   ОТЗЫВЫ
   ============================================================ */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.review {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out);
}
.review:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.review__stars { display: flex; gap: 3px; color: var(--yellow-deep); margin-bottom: 16px; }
.review__stars svg { width: 18px; height: 18px; }
.review p { flex: 1; font-size: 15.5px; color: #33394a; }
.review footer { margin-top: 20px; padding-top: 18px; border-top: 1px dashed var(--line); }
.review footer b { display: block; font-size: 15.5px; }
.review footer span { font-size: 13.5px; color: var(--ink-soft); }

/* ============================================================
   FAQ
   ============================================================ */
.faq { display: grid; gap: 14px; }
.faq__item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .2s, box-shadow .25s var(--ease-out);
}
.faq__item[open] { border-color: var(--yellow); box-shadow: var(--shadow); }
.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 26px;
  font-size: 17px;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
  user-select: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__chevron {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--yellow-soft);
  position: relative;
  transition: transform .3s var(--ease-out), background-color .2s;
}
.faq__chevron::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 9px;
  height: 9px;
  border-right: 2.4px solid var(--ink);
  border-bottom: 2.4px solid var(--ink);
  transform: translate(-50%, -65%) rotate(45deg);
}
.faq__item[open] .faq__chevron { transform: rotate(180deg); background: var(--yellow); }
.faq__answer { padding: 0 26px 24px; }
.faq__answer p { color: var(--ink-soft); font-size: 15.5px; }

/* ============================================================
   ЗАПИСЬ / ФОРМА
   ============================================================ */
.signup__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 460px);
  gap: 64px;
  align-items: start;
}
.signup__perks { display: grid; gap: 14px; margin-top: 30px; }
.signup__perks li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  font-weight: 600;
  color: rgba(255, 255, 255, .88);
}
.signup__perks svg {
  width: 26px;
  height: 26px;
  padding: 5px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--ink);
  flex-shrink: 0;
}

.form {
  background: var(--surface);
  color: var(--ink);
  border-radius: 22px;
  padding: 36px 34px;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.form__row { margin-bottom: 20px; position: relative; }
.form__label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 8px;
}
.form__label span { color: var(--red); }
.form__input {
  width: 100%;
  font: inherit;
  font-size: 16px;
  padding: 14px 18px;
  min-height: 52px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: #FAFBFC;
  color: var(--ink);
  transition: border-color .18s, box-shadow .18s, background-color .18s;
}
.form__input::placeholder { color: #9AA1AF; }
.form__input:hover { border-color: #C6CBD6; }
.form__input:focus {
  outline: none;
  border-color: var(--yellow-deep);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(255, 201, 51, .25);
}
.form__select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2359606E' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; background-size: 18px; cursor: pointer; }

.form__row.has-error .form__input { border-color: var(--red); box-shadow: 0 0 0 4px rgba(214, 69, 69, .14); }
.form__error {
  display: none;
  font-size: 13.5px;
  color: var(--red);
  margin-top: 6px;
  font-weight: 600;
}
.form__row.has-error .form__error { display: block; }

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  font-size: 14px;
  line-height: 1.5;
}
.checkbox input {
  position: absolute;
  opacity: 0;
  width: 24px;
  height: 24px;
}
.checkbox__box {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 7px;
  border: 2px solid #C6CBD6;
  background: #fff;
  display: grid;
  place-items: center;
  color: var(--ink);
  transition: background-color .15s, border-color .15s, transform .15s var(--ease-out);
  margin-top: 1px;
}
.checkbox__box svg { width: 14px; height: 14px; opacity: 0; transform: scale(.4); transition: opacity .15s, transform .2s var(--ease-out); }
.checkbox input:checked + .checkbox__box { background: var(--yellow); border-color: var(--yellow-deep); }
.checkbox input:checked + .checkbox__box svg { opacity: 1; transform: scale(1); }
.checkbox input:focus-visible + .checkbox__box { outline: 3px solid var(--yellow-deep); outline-offset: 2px; }
.checkbox:hover .checkbox__box { border-color: var(--yellow-deep); }
.checkbox__text a { color: inherit; font-weight: 700; text-decoration-color: var(--yellow-deep); text-underline-offset: 3px; }
.checkbox__text a:hover { color: var(--yellow-deep); }

.form__error--submit:not([hidden]) {
  display: block;
  text-align: center;
  margin-top: 14px;
  background: rgba(214, 69, 69, .08);
  border: 1px solid rgba(214, 69, 69, .3);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
}
.form__error--submit a { color: inherit; }

.form__note {
  margin-top: 16px;
  font-size: 12.5px;
  color: var(--ink-soft);
  text-align: center;
}
.form__note a { color: inherit; text-underline-offset: 2px; }

.btn__spinner {
  display: none;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(23, 26, 32, .25);
  border-top-color: var(--ink);
  border-radius: 50%;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.btn.is-loading { pointer-events: none; opacity: .85; }
.btn.is-loading .btn__spinner { display: inline-block; }
.btn.is-loading .btn__label { opacity: .6; }

.form__success[hidden] { display: none; }
.form__success {
  position: absolute;
  inset: 0;
  background: var(--surface);
  border-radius: 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px;
  animation: success-in .45s var(--ease-out);
}
@keyframes success-in {
  from { opacity: 0; transform: scale(.94); }
  to { opacity: 1; transform: scale(1); }
}
.form__success svg { width: 64px; height: 64px; color: var(--green); margin-bottom: 20px; }
.form__success h3 { font-family: var(--font-display); font-size: 22px; margin-bottom: 12px; }
.form__success p { font-size: 15px; color: var(--ink-soft); }

/* ============================================================
   КОНТАКТЫ
   ============================================================ */
.contacts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.contact-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
  transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out);
}
.contact-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.contact-card svg {
  width: 30px;
  height: 30px;
  color: var(--yellow-deep);
  margin-bottom: 16px;
}
.contact-card h3 { font-size: 16px; font-weight: 800; margin-bottom: 8px; }
.contact-card p { font-size: 15px; }
.contact-card a { font-weight: 700; text-decoration-color: var(--yellow-deep); text-underline-offset: 3px; }
.contact-card a:hover { color: var(--yellow-deep); }
.contact-card span { font-size: 13.5px; color: var(--ink-soft); }
.contact-card p + p { margin-top: 10px; }
.contact-card__metro {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 14px !important;
  font-weight: 700;
  color: var(--ink-soft);
}
.metro-dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--m, #999);
  flex-shrink: 0;
}

/* ============================================================
   ПОДВАЛ
   ============================================================ */
.footer {
  background: #12141A;
  color: rgba(255, 255, 255, .68);
  padding: 64px 0 0;
  border-top: 5px solid var(--yellow);
}
.footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}
.footer__col h4 {
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.footer__col a {
  display: block;
  color: rgba(255, 255, 255, .68);
  text-decoration: none;
  font-size: 15px;
  padding: 5px 0;
  transition: color .15s;
}
.footer__col a:hover { color: var(--yellow); }
.footer__col p { font-size: 14.5px; padding: 5px 0; }
.footer__col--about p { margin-top: 18px; font-size: 14px; line-height: 1.6; }
.logo--footer .logo__text { color: rgba(255,255,255,.55); }

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, .09);
  padding: 22px 0 28px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.footer__bottom p { font-size: 13px; color: rgba(255, 255, 255, .45); }

/* ============================================================
   COOKIE-БАННЕР
   ============================================================ */
.cookie-banner[hidden] { display: none; }
.cookie-banner {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 200;
  margin-inline: auto;
  max-width: 720px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  padding: 22px 26px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  animation: cookie-in .5s var(--ease-out);
}
@keyframes cookie-in {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.cookie-banner.is-hiding { animation: cookie-out .3s ease-in forwards; }
@keyframes cookie-out {
  to { opacity: 0; transform: translateY(30px); }
}
.cookie-banner__icon {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--yellow-soft);
  color: var(--yellow-deep);
  display: grid;
  place-items: center;
}
.cookie-banner__icon svg { width: 24px; height: 24px; }
.cookie-banner__text { flex: 1; }
.cookie-banner__text b { font-size: 15.5px; display: block; margin-bottom: 4px; }
.cookie-banner__text p { font-size: 13.5px; color: var(--ink-soft); line-height: 1.55; }
.cookie-banner__text a { color: inherit; font-weight: 700; text-underline-offset: 2px; }
.cookie-banner__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-shrink: 0;
}

/* ============================================================
   ДОКУМЕНТЫ (privacy / cookies / consent)
   ============================================================ */
.doc-page { background: var(--bg); }
.doc {
  padding: 140px 0 90px;
}
.doc__body {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: clamp(28px, 5vw, 60px);
  box-shadow: var(--shadow);
}
.doc h1 {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.2;
  margin-bottom: 10px;
}
.doc__updated {
  font-size: 14px;
  color: var(--ink-soft);
  margin-bottom: 36px;
  padding-bottom: 24px;
  border-bottom: 1px dashed var(--line);
}
.doc h2 {
  font-size: 20px;
  font-weight: 800;
  margin: 36px 0 14px;
}
.doc h3 { font-size: 17px; font-weight: 800; margin: 24px 0 10px; }
.doc p { margin-bottom: 14px; font-size: 15.5px; color: #33394a; }
.doc ul, .doc ol { margin: 0 0 16px 22px; }
.doc ul { list-style: disc; }
.doc ol { list-style: decimal; }
.doc li { margin-bottom: 8px; font-size: 15.5px; color: #33394a; }
.doc a { color: var(--ink); font-weight: 700; text-decoration-color: var(--yellow-deep); text-underline-offset: 3px; }
.doc a:hover { color: var(--yellow-deep); }
.doc table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0 24px;
  font-size: 14.5px;
}
.doc th, .doc td {
  border: 1px solid var(--line);
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
}
.doc th { background: #F1F3F7; font-weight: 800; }
.doc__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 26px;
  font-weight: 700;
  text-decoration: none;
  color: var(--ink-soft);
  transition: color .15s;
}
.doc__back:hover { color: var(--ink); }
.doc__back svg { width: 18px; height: 18px; }

/* ============================================================
   АНИМАЦИИ ПОЯВЛЕНИЯ
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .6s var(--ease-out), transform .6s var(--ease-out);
  transition-delay: var(--reveal-delay, 0s);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ============================================================
   АДАПТИВ
   ============================================================ */
@media (max-width: 1080px) {
  .nav { display: none; }
  .header__phone { display: none; }
  .burger { display: flex; }

  .nav.is-open {
    display: flex;
    position: fixed;
    top: 74px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--asphalt);
    padding: 18px 20px 26px;
    gap: 6px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    box-shadow: 0 30px 50px rgba(0, 0, 0, .4);
  }
  .nav.is-open .nav__link { padding: 13px 16px; font-size: 17px; }

  .benefits-grid, .pricing-grid, .cars-grid, .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .contacts-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .signup__inner { grid-template-columns: 1fr; gap: 44px; }
  .price-card--featured { order: -1; }
}

@media (max-width: 900px) {
  .hero { padding-top: 130px; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__content { padding-bottom: 30px; }
  .hero__visual { max-width: 480px; margin-inline: auto; width: 100%; }
  .hero__city { bottom: 190px; }
}

@media (max-width: 680px) {
  body { font-size: 16px; }
  .section { padding: 68px 0; }
  .section__head { margin-bottom: 36px; }

  .benefits-grid, .pricing-grid, .cars-grid, .reviews-grid,
  .contacts-grid, .team { grid-template-columns: 1fr; }

  .hero__stats { gap: 24px; }
  .hero__stats b { font-size: 26px; }
  .hero__cta .btn { width: 100%; }

  .steps { padding-left: 54px; }
  .steps__road { width: 30px; }
  .car--mini { width: 64px; }
  .step { flex-direction: column; gap: 10px; padding: 22px; }
  .step:hover { transform: none; }

  .footer__top { grid-template-columns: 1fr; gap: 30px; }
  .footer__bottom { flex-direction: column; gap: 8px; }

  .cookie-banner {
    flex-direction: column;
    left: 12px;
    right: 12px;
    bottom: 12px;
    padding: 20px;
  }
  .cookie-banner__actions { flex-direction: row; width: 100%; }
  .cookie-banner__actions .btn { flex: 1; white-space: normal; }

  .form { padding: 28px 22px; }
  .doc { padding: 110px 0 60px; }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .car--mini { transition: none; }
}
