:root {
  --bg: #eef0f3;
  --paper: #ffffff;
  --ink: #0e1116;
  --ink-2: #3b414b;
  --muted: #7a818d;
  --line: rgba(14, 17, 22, .08);
  --coral: #f16043;
  --coral-d: #dc4b2f;
  --ok: #17a96b;
  --busy: #e0473f;
  --r: 28px;
  --shadow: 0 1px 2px rgba(14, 17, 22, .04), 0 12px 32px -12px rgba(14, 17, 22, .14);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.55 Onest, system-ui, sans-serif; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; letter-spacing: -.03em; line-height: 1.02; }
.wrap { width: min(1280px, 100% - 32px); margin-inline: auto; }
.muted { color: var(--muted); }
.tiny { font-size: 12px; color: var(--muted); margin: 6px 0 0; text-align: center; }
.i { width: 18px; height: 18px; flex: none; }

/* ---------- кнопки, чипы ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 54px; padding: 0 26px; border: 0; border-radius: 999px; background: var(--coral); color: #fff; font: 600 15px Onest, sans-serif; cursor: pointer; transition: transform .25s, background .25s, box-shadow .25s; box-shadow: 0 10px 24px -10px rgba(241, 96, 67, .8); white-space: nowrap; }
.btn:hover { background: var(--coral-d); transform: translateY(-1px); }
.btn .i { transition: transform .25s; }
.btn:hover .i { transform: translateX(3px); }
.btn--glass { background: rgba(255, 255, 255, .16); color: #fff; box-shadow: none; border: 1px solid rgba(255, 255, 255, .35); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); }
.btn--glass:hover { background: rgba(255, 255, 255, .28); }
.btn--dark { background: var(--ink); box-shadow: none; }
.btn--dark:hover { background: #262b33; }
.btn--sm { height: 42px; padding: 0 20px; font-size: 14px; }
.btn--wide { width: 100%; }
.chip { display: inline-flex; align-items: center; gap: 8px; margin: 0; height: 34px; padding: 0 14px; border-radius: 999px; font-size: 13px; font-weight: 500; }
.chip--glass { background: rgba(255, 255, 255, .18); color: #fff; border: 1px solid rgba(255, 255, 255, .3); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #3ee08f; box-shadow: 0 0 0 4px rgba(62, 224, 143, .25); }

/* ---------- шапка ---------- */
.nav { position: fixed; z-index: 30; top: 14px; left: 50%; transform: translateX(-50%); width: min(1280px, 100% - 32px); display: flex; align-items: center; gap: 22px; height: 64px; padding: 0 12px 0 22px; border-radius: 999px; background: rgba(255, 255, 255, .72); border: 1px solid rgba(255, 255, 255, .8); box-shadow: 0 8px 30px -14px rgba(14, 17, 22, .25); backdrop-filter: blur(20px) saturate(1.6); -webkit-backdrop-filter: blur(20px) saturate(1.6); }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 19px; letter-spacing: -.02em; color: var(--ink); }
.logo__mark { width: 34px; height: 23px; color: var(--ink); }
.logo__word b { color: var(--coral); font-weight: 800; }
.nav__links { display: flex; gap: 26px; margin-left: 18px; font-size: 15px; color: var(--ink-2); }
.nav__links a { transition: color .2s; }
.nav__links a:hover { color: var(--coral); }
.nav__phone { margin-left: auto; font-weight: 600; font-size: 15px; }

/* ---------- главный экран ---------- */
.hero { position: relative; margin: 10px; height: min(100svh - 20px, 900px); min-height: 620px; border-radius: 34px; overflow: hidden; background: #1a1d22; color: #fff; isolation: isolate; }
.hero__media { position: absolute; inset: 0; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.08); transition: opacity 1.6s ease, transform 7s cubic-bezier(.2, .7, .2, 1); }
.hero__img.on { opacity: 1; transform: scale(1); }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 10, 14, .62) 0%, rgba(8, 10, 14, .25) 45%, rgba(8, 10, 14, 0) 70%), linear-gradient(0deg, rgba(8, 10, 14, .55) 0%, rgba(8, 10, 14, 0) 45%); pointer-events: none; }
.hero__copy { position: absolute; left: clamp(24px, 5vw, 72px); bottom: clamp(32px, 7vh, 80px); max-width: 780px; }
.hero__title { margin: 22px 0 18px; font-size: clamp(44px, 5.6vw, 86px); font-weight: 700; }
.hero__lead { margin: 0 0 30px; max-width: 470px; font-size: 18px; color: rgba(255, 255, 255, .86); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__copy > * { animation: rise .9s cubic-bezier(.2, .7, .2, 1) both; }
.hero__copy > :nth-child(2) { animation-delay: .08s; }
.hero__copy > :nth-child(3) { animation-delay: .16s; }
.hero__copy > :nth-child(4) { animation-delay: .24s; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } }

/* стеклянная карточка выбора машины */
.pick { position: absolute; right: clamp(20px, 3vw, 40px); bottom: clamp(24px, 6vh, 64px); width: 360px; padding: 20px; border-radius: 26px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .28); backdrop-filter: blur(24px) saturate(1.5); -webkit-backdrop-filter: blur(24px) saturate(1.5); box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .5); animation: rise .9s .3s cubic-bezier(.2, .7, .2, 1) both; }
.pick__top { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; }
.pick__top > div:first-child, .pick__price { transition: opacity .35s, transform .35s; }
.pick.swap .pick__top > div:first-child, .pick.swap .pick__price { opacity: 0; transform: translateY(6px); }
.pick__name { font-size: 22px; font-weight: 700; letter-spacing: -.02em; }
.pick__sub { font-size: 14px; color: rgba(255, 255, 255, .75); }
.pick__price { text-align: right; font-size: 15px; line-height: 1.1; }
.pick__price b { font-size: 28px; font-weight: 700; letter-spacing: -.02em; }
.pick__price small { display: block; font-size: 12px; color: rgba(255, 255, 255, .7); }
.pick__cars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 18px 0 16px; }
.pick__car { position: relative; padding: 0; border: 0; border-radius: 14px; overflow: hidden; aspect-ratio: 1 / .8; cursor: pointer; background: #000; outline: 2px solid transparent; outline-offset: 2px; transition: outline-color .3s, transform .3s; }
.pick__car img { width: 100%; height: 100%; object-fit: cover; opacity: .62; transition: opacity .3s, transform .5s; }
.pick__car:hover img { opacity: .9; transform: scale(1.06); }
.pick__car.on { outline-color: #fff; }
.pick__car.on img { opacity: 1; }
.pick__car i { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--coral); }
.pick__car.on i { animation: fill var(--t, 7s) linear forwards; }
@keyframes fill { to { width: 100%; } }

/* ---------- факты ---------- */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 12px; }
.fact { padding: 24px 26px; border-radius: 24px; background: var(--paper); box-shadow: var(--shadow); }
.fact b { display: block; font-size: 30px; font-weight: 700; letter-spacing: -.03em; }
.fact span { color: var(--muted); font-size: 15px; }

/* ---------- секции ---------- */
.section { padding: 110px 0 0; }
.head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 36px; }
.h2 { font-size: clamp(36px, 4.6vw, 64px); font-weight: 700; }
.head__note { margin: 0; max-width: 360px; color: var(--muted); }

/* автопарк */
.fleet { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.car { position: relative; display: flex; flex-direction: column; border-radius: var(--r); background: var(--paper); box-shadow: var(--shadow); overflow: hidden; cursor: pointer; transition: transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .35s; }
.car:hover { transform: translateY(-4px); box-shadow: 0 1px 2px rgba(14, 17, 22, .04), 0 26px 50px -20px rgba(14, 17, 22, .28); }
.car__pic { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #dfe2e6; }
.car__pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.car:hover .car__pic img { transform: scale(1.04); }
.badge { position: absolute; z-index: 2; top: 16px; left: 16px; display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 13px; border-radius: 999px; font-size: 13px; font-weight: 600; background: rgba(255, 255, 255, .88); color: var(--ok); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.badge--busy { color: var(--busy); }
.car__body { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 6px 16px; padding: 22px 24px 24px; }
.car__name { font-size: 26px; font-weight: 700; letter-spacing: -.03em; line-height: 1.1; }
.car__sub { color: var(--muted); }
.car__specs { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 6px; padding: 0; list-style: none; }
.car__specs li { height: 30px; padding: 0 12px; display: flex; align-items: center; border-radius: 999px; background: var(--bg); font-size: 13px; color: var(--ink-2); }
.car__price { font-size: 15px; color: var(--muted); }
.car__price b { font-size: 26px; color: var(--ink); font-weight: 700; letter-spacing: -.02em; }
.car__go { width: 52px; height: 52px; padding: 0; }

/* шаги */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.step { padding: 30px; border-radius: var(--r); background: var(--paper); box-shadow: var(--shadow); min-height: 250px; display: flex; flex-direction: column; }
.step__n { font-size: 15px; font-weight: 700; color: var(--coral); margin-bottom: auto; }
.step h3 { font-size: 26px; font-weight: 700; margin: 40px 0 10px; }
.step p { margin: 0; color: var(--muted); }

/* детали */
.details { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 16px; margin-top: 110px; }
.details img { width: 100%; height: 360px; object-fit: cover; border-radius: var(--r); }

/* подача */
.delivery { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: start; }
.delivery .h2 { margin-bottom: 16px; }
.places { margin: 0; padding: 8px 26px; list-style: none; border-radius: var(--r); background: var(--paper); box-shadow: var(--shadow); }
.places li { display: flex; justify-content: space-between; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
.places li:last-child { border-bottom: 0; }
.places b { font-weight: 600; }

/* условия */
.terms { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.term { padding: 28px; border-radius: var(--r); background: var(--paper); box-shadow: var(--shadow); }
.term h3 { font-size: 20px; margin-bottom: 12px; }
.term p { margin: 0; color: var(--muted); }

/* контакты */
#contacts { padding-top: 110px; }
.cta { display: flex; justify-content: space-between; align-items: center; gap: 32px; padding: clamp(32px, 5vw, 64px); border-radius: 34px; background: var(--ink) url(img/hero-genesis.jpg) center 70% / cover; background-blend-mode: soft-light; color: #fff; }
.cta p { margin: 14px 0 0; color: rgba(255, 255, 255, .75); font-size: 18px; }
.cta__btns { display: flex; flex-wrap: wrap; gap: 12px; }
.footer { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 36px 0 44px; font-size: 14px; }

/* ---------- окно брони ---------- */
.book { width: min(980px, 100% - 24px); max-height: calc(100dvh - 24px); padding: 0; border: 0; border-radius: 30px; background: var(--paper); color: var(--ink); box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .5); }
.book::backdrop { background: rgba(14, 17, 22, .45); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.book[open] { animation: pop .4s cubic-bezier(.2, .7, .2, 1); }
@keyframes pop { from { opacity: 0; transform: translateY(16px) scale(.98); } }
.book__card { position: relative; display: grid; grid-template-columns: 1.15fr 1fr; }
.book__x { position: absolute; z-index: 2; top: 14px; right: 14px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--bg); font-size: 24px; line-height: 1; cursor: pointer; }
.book__gallery { padding: 14px; }
.book__img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 20px; background: var(--bg); }
.book__thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; }
.book__thumbs img { width: 64px; height: 48px; flex: none; object-fit: cover; border-radius: 10px; cursor: pointer; opacity: .55; transition: opacity .2s; }
.book__thumbs img.on, .book__thumbs img:hover { opacity: 1; }
.book__body { padding: 30px 28px 28px 14px; }
.book__body h3 { font-size: 28px; padding-right: 40px; }
.book__body > .muted { margin: 6px 0 22px; }
.book__dates { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.book__dates label { display: grid; gap: 6px; min-width: 0; font-size: 13px; color: var(--muted); }
.book input { min-width: 0; width: 100%; height: 50px; padding: 0 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--bg); color: var(--ink); font: 500 15px Onest, sans-serif; }
.book input:focus { outline: 2px solid var(--coral); outline-offset: 1px; }
.book__status { margin: 14px 0; padding: 16px; border-radius: 16px; background: var(--bg); font-size: 15px; color: var(--ink-2); }
.book__status b { display: block; font-size: 17px; margin-bottom: 4px; color: var(--ink); }
.book__status.ok { background: #e7f7ef; }
.book__status.ok b { color: var(--ok); }
.book__status.busy { background: #fdecea; }
.book__status.busy b { color: var(--busy); }
.book__status .sum { font-weight: 700; font-size: 18px; color: var(--ink); }
.book__lead { display: grid; gap: 10px; }
.book__lead[hidden] { display: none; }

/* ---------- появление при прокрутке ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- планшет и телефон ---------- */
@media (max-width: 1080px) {
  .nav__links { display: none; }
  .facts, .terms { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .step { min-height: 0; }
  .step h3 { margin-top: 18px; }
}
@media (max-width: 760px) {
  .nav { top: 10px; height: 56px; padding: 0 8px 0 16px; width: calc(100% - 20px); }
  .nav__phone { display: none; }
  .nav .btn { margin-left: auto; }
  .hero { margin: 0; border-radius: 0 0 28px 28px; height: auto; min-height: 0; padding: 110px 20px 20px; display: flex; flex-direction: column; justify-content: flex-end; min-height: 100svh; }
  .hero__shade { background: linear-gradient(0deg, rgba(8, 10, 14, .82) 0%, rgba(8, 10, 14, .35) 55%, rgba(8, 10, 14, .1) 100%); }
  .hero__copy { position: relative; left: auto; bottom: auto; }
  .hero__title { font-size: 44px; margin: 16px 0 12px; }
  .hero__lead { font-size: 16px; margin-bottom: 22px; }
  .hero__cta .btn { flex: 1; }
  .pick { position: relative; right: auto; bottom: auto; width: auto; margin-top: 20px; padding: 16px; }
  .facts { grid-template-columns: 1fr 1fr; gap: 10px; }
  .fact { padding: 18px; }
  .fact b { font-size: 22px; }
  .fact span { font-size: 13px; }
  .section, #contacts { padding-top: 72px; }
  .head { flex-direction: column; align-items: flex-start; margin-bottom: 24px; }
  .fleet, .delivery, .terms { grid-template-columns: 1fr; }
  .delivery { gap: 20px; }
  .details { grid-template-columns: 1fr 1fr; margin-top: 72px; }
  .details img { height: 200px; }
  .details img:first-child { grid-column: 1 / -1; }
  .car__name { font-size: 22px; }
  .cta { flex-direction: column; align-items: flex-start; }
  .cta__btns, .cta__btns .btn { width: 100%; }
  .book__card { grid-template-columns: 1fr; }
  .book__body { padding: 4px 18px 20px; }
  .book__body h3 { font-size: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* правки: окно брони не шире экрана; на телефоне первый экран без карточки выбора */
.book__card > * { min-width: 0; }
@media (max-width: 760px) {
  .pick { display: none; }
  .hero { min-height: 92svh; padding-bottom: 28px; }
}
.hero__copy, .pick { z-index: 2; }
.hero__shade, .hero__copy, .pick { transform: translateZ(0); }

video.hero__img, video.hero__img.on { transform: none; }

/* ---------- автопарк и тарифы ---------- */
.when { display: grid; grid-template-columns: 1fr 1fr auto; gap: 12px; align-items: end; padding: 18px; border-radius: var(--r); background: var(--paper); box-shadow: var(--shadow); }
.when__f { display: grid; gap: 6px; min-width: 0; font-size: 13px; color: var(--muted); }
.when__in { display: flex; min-width: 0; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: var(--bg); }
.when__in input { min-width: 0; height: 54px; padding: 0 14px; border: 0; background: transparent; color: var(--ink); font: 500 16px Onest, sans-serif; }
.when__in input[type=date] { flex: 1; }
.when__in input[type=time] { width: 104px; flex: none; background: var(--coral); color: #fff; font-weight: 600; color-scheme: dark; }
.when__in:focus-within { outline: 2px solid var(--coral); outline-offset: 1px; }
.when .btn { height: 56px; }
.when__note { margin: 14px 4px 28px; color: var(--muted); }
.when__note a { color: var(--coral); font-weight: 600; }
.tariffs__class { margin: 26px 0 8px; padding: 12px; border-radius: 14px; background: #e3ebf3; text-align: center; font-weight: 600; }
.tariffs__class:first-child { margin-top: 0; }
.trow { display: grid; grid-template-columns: 190px minmax(160px, 1fr) minmax(0, 2.4fr) auto; align-items: center; gap: 22px; padding: 14px 10px; border-bottom: 1px solid var(--line); cursor: pointer; transition: background .2s; }
.trow:hover { background: rgba(255, 255, 255, .6); }
.trow__pic { aspect-ratio: 16 / 10; border-radius: 14px; overflow: hidden; background: #e7e9ec; }
.trow__pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.trow:hover .trow__pic img { transform: scale(1.05); }
.trow__name b { display: block; font-size: 20px; letter-spacing: -.02em; line-height: 1.2; }
.trow__name span { font-size: 13px; color: var(--muted); }
.trow__tiers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.trow__tiers div { padding: 6px 8px; border-radius: 10px; }
.trow__tiers small { display: block; font-size: 12px; color: var(--muted); white-space: nowrap; }
.trow__tiers b { font-size: 18px; font-weight: 600; }
.trow__tiers .on { background: #fdebe6; }
.trow__tiers .on b { color: var(--coral-d); }
.trow__go { display: flex; align-items: center; gap: 14px; justify-content: flex-end; }
.trow__sum { text-align: right; font-weight: 700; font-size: 18px; white-space: nowrap; }
.trow__sum small { display: block; font-weight: 400; font-size: 12px; color: var(--muted); }
@media (max-width: 1100px) {
  .trow { grid-template-columns: 150px 1fr auto; }
  .trow__tiers { grid-column: 1 / -1; grid-row: 2; }
}
@media (max-width: 760px) {
  .when { grid-template-columns: 1fr; }
  .trow { grid-template-columns: 112px 1fr; gap: 10px 14px; padding: 14px 4px; }
  .trow__tiers { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2px; }
  .trow__tiers div { padding: 6px 2px; text-align: center; }
  .trow__tiers small { font-size: 10px; white-space: normal; line-height: 1.2; }
  .trow__tiers b { font-size: 14px; }
  .trow__go { grid-column: 1 / -1; justify-content: space-between; }
  .trow__go .btn { flex: 1; max-width: 220px; }
}

/* главный экран: метки под заголовком, ролики сменяются наплывом без стоп-кадра */
.hero__tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; padding: 0; list-style: none; }
.hero__tags .chip { height: 38px; font-size: 15px; }
video.hero__img { transition: opacity 1s ease; }
.steps--2 { grid-template-columns: repeat(2, 1fr); }
.steps--2 .step { min-height: 0; }
.steps--2 .step h3 { margin-top: 24px; }
@media (max-width: 760px) { .steps--2 { grid-template-columns: 1fr; } }

/* подсказка «номер скопирован» для Max */
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 50; max-width: min(520px, calc(100% - 32px)); padding: 14px 20px; border-radius: 16px; background: var(--ink); color: #fff; font-size: 15px; box-shadow: 0 20px 50px -20px rgba(0,0,0,.5); opacity: 0; pointer-events: none; transform: translate(-50%, 12px); transition: opacity .3s, transform .3s; }
.toast.on { opacity: 1; transform: translate(-50%, 0); }
button.btn { cursor: pointer; }

/* ---------- контакты ---------- */
.contacts { display: grid; grid-template-columns: 1fr 1.2fr; gap: 16px; align-items: stretch; }
.contacts:has(.contacts__map[hidden]) { grid-template-columns: 1fr; }
.contacts__list { margin: 0; padding: 12px 30px; border-radius: var(--r); background: var(--paper); box-shadow: var(--shadow); }
.contacts__list > div { padding: 16px 0; border-bottom: 1px solid var(--line); }
.contacts__list > div:last-child { border-bottom: 0; }
.contacts__list dt { font-size: 13px; color: var(--muted); }
.contacts__list dd { margin: 4px 0 0; font-size: 18px; font-weight: 600; }
.contacts__list a { color: var(--ink); text-decoration: none; }
.contacts__list a:hover { color: var(--coral); }
.contacts__map { min-height: 380px; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); background: var(--paper); }
.contacts__map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }
.reviews { margin-top: 16px; padding: 24px 30px; border-radius: var(--r); background: var(--paper); box-shadow: var(--shadow); }
.reviews h3 { margin: 0 0 14px; font-size: 20px; }
.reviews__ya { height: 520px; overflow: hidden; border-radius: 16px; margin-bottom: 14px; }
.reviews__ya iframe { width: 100%; height: 100%; border: 1px solid var(--line); border-radius: 16px; box-sizing: border-box; }
@media (max-width: 760px) { .contacts { grid-template-columns: 1fr; } .contacts__list { padding: 6px 20px; } .reviews { padding: 20px; } }

.reviews__grid { display: grid; grid-template-columns: minmax(0, 760px) 1fr; gap: 24px; align-items: start; }
.reviews__ya { margin-bottom: 0; }
.reviews__side { display: grid; gap: 12px; align-content: start; }
.reviews__side p { margin: 0 0 6px; color: var(--muted); font-size: 17px; }
@media (max-width: 1100px) { .reviews__grid { grid-template-columns: 1fr; } }

/* ---------- юридическое: согласие, cookie, подвал, страницы документов ---------- */
.agree { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 1.45; color: var(--muted); cursor: pointer; }
.agree input { width: 18px; height: 18px; min-width: 18px; margin: 1px 0 0; padding: 0; accent-color: var(--coral); }
.agree a { color: var(--ink-2); text-decoration: underline; }
.btn:disabled { opacity: .45; cursor: not-allowed; box-shadow: none; }
.cookie { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60; max-width: 760px; margin: 0 auto; display: flex; align-items: center; gap: 16px; padding: 14px 16px 14px 20px; border-radius: 20px; background: var(--paper); box-shadow: 0 20px 60px -20px rgba(0,0,0,.35); font-size: 14px; }
.cookie[hidden] { display: none; }
.cookie p { margin: 0; color: var(--ink-2); }
.cookie a { color: var(--ink); text-decoration: underline; }
.footer { display: block; }
.footer__top { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer__legal { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.footer__legal p { margin: 0 0 6px; }
.footer__links { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-top: 10px !important; }
.footer__links a, .doc a { color: var(--ink-2); text-decoration: underline; }
.op { background: #fff1c2; color: #7a5b00; border-radius: 4px; padding: 0 3px; }
.docpage { background: var(--bg); }
.doc { max-width: 820px; padding: 40px 0 80px; font-size: 16px; line-height: 1.65; }
.doc h1 { font-size: clamp(28px, 4vw, 40px); line-height: 1.15; margin: 18px 0 8px; }
.doc h2 { font-size: 20px; margin: 30px 0 8px; }
.doc ul { padding-left: 22px; }
.doc__back { font-size: 14px; color: var(--muted) !important; text-decoration: none !important; }
@media (max-width: 760px) { .cookie { flex-direction: column; align-items: stretch; } }

.book__how { margin: 0 0 4px; font-size: 14px; color: var(--muted); }
.btn--line { background: transparent; color: var(--ink); box-shadow: none; border: 1px solid var(--line); }
.btn--line:hover { background: var(--bg); }

/* ---------- тёмная тема (2026-11-16): светлый фон резал глаза ---------- */
:root {
  --bg: #0f1216;
  --paper: #181c22;
  --ink: #eef0f3;
  --ink-2: #c3c8d0;
  --muted: #8b929d;
  --line: rgba(255, 255, 255, .08);
  --coral-d: #ff7a5c;
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 12px 32px -12px rgba(0, 0, 0, .55);
  color-scheme: dark;
}
.nav { background: rgba(20, 23, 28, .72); border: 1px solid rgba(255, 255, 255, .07); }
.btn--dark { background: #2a3038; color: #fff; }
.btn--dark:hover { background: #343b45; }
.cta { background-color: #0b0d10; }
.trow:hover { background: rgba(255, 255, 255, .03); }
.tariffs__class { background: #20262e; color: var(--ink); }
.trow__pic { background: #20252c; }
.trow__tiers .on { background: rgba(241, 96, 67, .16); }
.book__status.ok { background: rgba(23, 169, 107, .14); }
.book__status.busy { background: rgba(224, 71, 63, .14); }
.badge { background: rgba(20, 23, 28, .85); }
.when__in input[type=date] { color-scheme: dark; }
.book::backdrop { background: rgba(0, 0, 0, .6); }
.toast { background: #2a3038; }
.reviews__ya iframe, .contacts__map { border-color: var(--line); }
.op { background: #4a3b10; color: #ffd76a; }

/* ---------- прокрутка меняет интерфейс ---------- */
/* главный экран: видео приближается, текст уходит вверх и гаснет, вся сцена чуть отъезжает */
.hero { scale: calc(1 - var(--p, 0) * .06); transform-origin: 50% 0; }
.hero__media { scale: calc(1 + var(--p, 0) * .14); }
.hero__copy { translate: 0 calc(var(--p, 0) * -70px); opacity: calc(1 - var(--p, 0) * 1.7); }
.hero__shade { opacity: calc(1 + var(--p, 0) * .6); }
/* меню: после начала прокрутки становится компактнее и плотнее */
.nav { transition: height .35s, background .35s, top .35s; }
.nav.small { height: 54px; top: 8px; background: rgba(15, 18, 22, .9); }

/* история «как забронировать»: блок закреплён, шаги и картинки меняются при прокрутке */
.story { position: relative; height: 260vh; margin: 40px 0; }
.story__pin { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.story__media { position: absolute; inset: 10px; border-radius: 34px; overflow: hidden; background: #111; }
.story__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; scale: calc(1.04 + var(--sp, 0) * .1); transition: opacity 1s ease; }
.story__img.on { opacity: 1; }
.story__shade { position: absolute; inset: 10px; border-radius: 34px; pointer-events: none;
  background: linear-gradient(90deg, rgba(8, 10, 14, .85) 0%, rgba(8, 10, 14, .55) 42%, rgba(8, 10, 14, .1) 75%), linear-gradient(0deg, rgba(8, 10, 14, .5), transparent 40%); }
.story__text { position: absolute; left: clamp(28px, 6vw, 90px); top: 50%; translate: 0 -50%; width: min(520px, 100% - 56px); color: #fff; }
.story__text .h2 { margin-bottom: 26px; font-size: clamp(32px, 3.2vw, 46px); line-height: 1.08; }
.story__text { width: min(600px, 100% - 56px); }
.story__steps { display: grid; gap: 22px; }
.story__step { opacity: .32; transition: opacity .5s, translate .5s; translate: 0 6px; }
.story__step.on { opacity: 1; translate: 0 0; }
.story__step h3 { font-size: 24px; margin: 6px 0 8px; }
.story__step p { margin: 0; color: rgba(255, 255, 255, .78); }
.story__bar { margin-top: 30px; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .15); overflow: hidden; }
.story__bar i { display: block; height: 100%; width: calc(var(--sp, 0) * 100%); background: var(--coral); }
.story__ui { position: absolute; right: clamp(28px, 5vw, 80px); bottom: clamp(36px, 9vh, 90px); width: 320px; }
.story__card { position: absolute; right: 0; bottom: 0; width: 100%; padding: 20px 22px; border-radius: 24px; color: #fff;
  background: rgba(20, 23, 28, .55); border: 1px solid rgba(255, 255, 255, .14); backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3);
  opacity: 0; translate: 0 24px; transition: opacity .6s, translate .6s cubic-bezier(.2, .7, .2, 1); }
.story__card.on { opacity: 1; translate: 0 0; }
.story__card small { display: block; color: rgba(255, 255, 255, .65); font-size: 13px; }
.story__card > b { display: block; font-size: 20px; margin: 4px 0 10px; }
.story__ok { display: inline-block; padding: 4px 10px; border-radius: 999px; background: rgba(23, 169, 107, .22); color: #5be0a4; font-size: 13px; font-weight: 600; }
.story__sum { margin-top: 12px; font-size: 14px; color: rgba(255, 255, 255, .8); }
.story__sum b { font-size: 18px; color: #fff; }
@media (max-width: 760px) {
  .story { height: 240vh; }
  .story__shade { background: linear-gradient(0deg, rgba(8, 10, 14, .92) 0%, rgba(8, 10, 14, .7) 55%, rgba(8, 10, 14, .25) 100%); }
  .story__text { top: auto; bottom: 34px; translate: none; left: 26px; width: calc(100% - 52px); }
  .story__text .h2 { font-size: 28px; margin-bottom: 16px; }
  .story__steps { display: block; position: relative; min-height: 190px; }
  /* шаги лежат друг на друге: старый сначала гаснет, новый появляется после — текст не накладывается */
  .story__step { position: absolute; inset: 0 0 auto 0; opacity: 0; visibility: hidden; transition: opacity .2s, visibility 0s .2s; }
  .story__step.on { opacity: 1; visibility: visible; transition: opacity .3s .22s, visibility 0s .22s; }
  .story__step h3 { font-size: 21px; }
  .story__step p { font-size: 15px; }
  .story__ui { left: 26px; right: 26px; top: 90px; bottom: auto; width: auto; }
  .story__card { top: 0; bottom: auto; padding: 14px 16px; }
  .story__card > b { font-size: 17px; margin-bottom: 6px; }
}
/* кто просит меньше анимаций — показываем всё сразу, без закрепления */
@media (prefers-reduced-motion: reduce) {
  .hero, .hero__media, .hero__copy { scale: none; translate: none; opacity: 1; }
  .story { height: auto; }
  .story__pin { position: relative; height: auto; min-height: 100svh; }
  .story__step { opacity: 1; translate: none; }
}

/* окно брони: где получить / где сдать, расчёт, предупреждение о предоплате */
.book__where { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
.book__where label { display: grid; gap: 6px; min-width: 0; font-size: 13px; color: var(--muted); }
.book__where select { min-width: 0; width: 100%; height: 50px; padding: 0 12px; border: 1px solid var(--line); border-radius: 14px; background: var(--bg); color: var(--ink); font: 500 14px Onest, sans-serif; color-scheme: dark; }
.book__calc { display: grid; gap: 6px; margin-bottom: 6px; padding: 14px 16px; border-radius: 16px; background: var(--bg); font-size: 14px; }
.book__calc div { display: flex; justify-content: space-between; gap: 12px; color: var(--ink-2); }
.book__calc div b { white-space: nowrap; color: var(--ink); font-weight: 600; }
.book__calc .book__total { margin-top: 4px; padding-top: 8px; border-top: 1px solid var(--line); font-size: 17px; }
.book__calc .book__total b { font-weight: 800; color: var(--coral-d); }
.book__calc small { color: var(--muted); font-size: 12px; }
.book__go { display: grid; gap: 10px; padding: 18px; border-radius: 18px; background: rgba(241, 96, 67, .1); border: 1px solid rgba(241, 96, 67, .35); }
.book__go[hidden] { display: none; }
.book__go b { font-size: 17px; }
.book__go p { margin: 0; color: var(--ink-2); font-size: 14px; }
.book__go .book__note { color: var(--muted); font-size: 13px; }
@media (max-width: 520px) { .book__where { grid-template-columns: 1fr; } }

.book__calc .book__dep { padding-top: 6px; border-top: 1px dashed var(--line); }

/* посадочные страницы (make_pages.py) */
.lp__hero { position: relative; min-height: 78vh; display: flex; align-items: flex-end; color: #fff; overflow: hidden; }
.lp__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.lp__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,18,22,.35) 0%, rgba(15,18,22,.15) 40%, rgba(15,18,22,.8) 100%); }
.lp__copy { position: relative; padding-top: 120px; padding-bottom: 56px; }
.lp__title { font-size: clamp(36px, 4.6vw, 68px); max-width: 16ch; }
.lp__lead { max-width: 640px; font-size: 19px; color: rgba(255,255,255,.85); margin: 0 0 18px; }
.lp__crumbs { margin: 0; font-size: 14px; color: rgba(255,255,255,.7); }
.lp__crumbs a { color: inherit; }
.lp__body { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: start; }
.lp__about p { font-size: 18px; margin: 0 0 14px; }
.lp__facts { display: grid; gap: 14px; }
.lp__fact { padding: 22px 24px; border-radius: var(--r); background: var(--paper); box-shadow: var(--shadow); display: grid; gap: 4px; }
.lp__fact small { color: var(--muted); font-size: 14px; }
.lp__fact b { font-size: 28px; }
.lp__fact span { color: var(--muted); font-size: 14px; }
.lp__steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: s; }
.lp__steps li { padding: 24px; border-radius: var(--r); background: var(--paper); box-shadow: var(--shadow); display: grid; gap: 8px; counter-increment: s; }
.lp__steps li::before { content: counter(s); font-weight: 700; font-size: 32px; color: var(--muted); }
.lp__steps b { font-size: 20px; }
.lp__steps span { color: var(--muted); }
.lp__faq { display: grid; gap: 10px; max-width: 860px; }
.lp__faq details { padding: 18px 22px; border-radius: var(--r); background: var(--paper); box-shadow: var(--shadow); }
.lp__faq summary { cursor: pointer; font-weight: 600; font-size: 18px; }
.lp__faq p { margin: 12px 0 0; color: var(--muted); }
.lp__links { display: flex; flex-wrap: wrap; gap: 10px; }
.lp__links a { padding: 10px 16px; border-radius: 999px; background: var(--paper); box-shadow: var(--shadow); color: inherit; text-decoration: none; font-size: 15px; }
.lp__links a:hover { box-shadow: 0 0 0 2px currentColor; }
@media (max-width: 860px) {
  .lp__body, .lp__steps { grid-template-columns: 1fr; }
  .lp__hero { min-height: 88vh; }
  .lp__lead { font-size: 17px; }
}
