/* ============================================================
   КОЛЕСО — аренда авто и трансфер
   Тон: ночная трасса. Тёмно-синий фон, холодный циан на кнопках,
   моноширинные цифры в характеристиках. Карточки машин широкие,
   с таблицей параметров — так их и сравнивают, а не по картинке.
   ============================================================ */

:root {
  --night: #0a1424;
  --panel: #101d33;
  --panel-2: #16263f;
  --line: #22344f;
  --text: #e8eef7;
  --muted: #8ba0bd;
  --cyan: #35c8e8;
  --cyan-2: #5ad8f2;
  --soft: #f2f6fa;

  --body: "Manrope", -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, monospace;

  --cart-bg: #101d33;
  --cart-fg: var(--text);
  --cart-shadow: -22px 0 70px rgba(0, 0, 0, 0.6);

  --gut: clamp(16px, 4.5vw, 56px);
  --sec-y: clamp(52px, 7vw, 100px);
}

body { background: var(--night); color: var(--text); font-family: var(--body); font-size: 16px; line-height: 1.6; }
.wrap { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: var(--gut); }

h1, h2, h3 { font-weight: 800; line-height: 1.08; letter-spacing: -0.02em; }
.kicker { margin-bottom: 16px; color: var(--cyan); font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; }
.p { max-width: 34em; margin-bottom: 14px; color: var(--muted); }

/* ── Кнопки ─────────────────────────────────────────────── */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  padding: 12px 24px; border: 1px solid transparent; border-radius: 8px;
  background: transparent;
  font-size: 14px; font-weight: 700; text-decoration: none; white-space: nowrap;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.btn--lg { padding: 16px 32px; font-size: 15.5px; }
.btn--sm { padding: 9px 16px; font-size: 13px; }
.btn--full { width: 100%; }
.btn--cyan { background: var(--cyan); color: #06131f; }
.btn--cyan:hover { background: var(--cyan-2); }
.btn--cyan:disabled { background: #2c3f59; color: #6b8099; cursor: not-allowed; }
.btn--line { border-color: var(--line); color: var(--text); }
.btn--line:hover { border-color: var(--cyan); color: var(--cyan); }
.btn--ghost { border-color: var(--line); color: var(--text); background: none; }
.btn--ghost:hover { border-color: var(--cyan); color: var(--cyan); }
.btn__q:not(:empty) { display: inline-grid; place-items: center; min-width: 18px; height: 18px; border-radius: 999px; background: rgba(6,19,31,0.2); font-size: 11px; }
[data-add][data-in-cart] { background: #1e9c78; color: #04140f; border-color: #1e9c78; }

/* ── Шапка ──────────────────────────────────────────────── */

.hdr { position: sticky; top: var(--demo-bar-h); z-index: 100; background: rgba(10,20,36,0.9); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.hdr__in { display: flex; align-items: center; gap: 22px; padding-block: 13px; }
.brand { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 800; letter-spacing: 0.12em; text-decoration: none; }
.brand__mark { width: 27px; height: 27px; color: var(--cyan); }

.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { color: var(--muted); font-size: 14px; text-decoration: none; white-space: nowrap; }
.nav a:hover { color: var(--text); }
.hdr__side { display: flex; align-items: center; gap: 14px; }
.phone { font-size: 14.5px; font-weight: 700; text-decoration: none; white-space: nowrap; }

.cart-btn { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--cyan); border-radius: 8px; background: none; color: var(--cyan); padding: 10px 17px; font-size: 13.5px; font-weight: 700; }
.cart-btn:hover { background: var(--cyan); color: #06131f; }
.cart-btn__n { display: grid; place-items: center; min-width: 19px; height: 19px; border-radius: 999px; background: var(--cyan); color: #06131f; font-size: 11px; font-variant-numeric: tabular-nums; }
.cart-btn:hover .cart-btn__n { background: #06131f; color: var(--cyan); }

.burger { display: none; width: 40px; height: 40px; border: 0; background: none; padding: 9px 8px; }
.burger span { display: block; height: 2px; border-radius: 2px; background: var(--text); margin: 5px 0; }

@media (max-width: 1000px) {
  .hdr__in { position: relative; }
  .nav { display: none; position: absolute; inset: 100% 0 auto; flex-direction: column; gap: 0; background: var(--panel); border-bottom: 1px solid var(--line); padding: 4px var(--gut) 16px; margin: 0; }
  .nav[data-open] { display: flex; }
  .nav a { padding: 13px 0; border-top: 1px solid var(--line); font-size: 16px; }
  .hdr__side { margin-left: auto; }
  .burger { display: block; }
}
@media (max-width: 660px) { .phone { display: none; } }

/* ── Первый экран ───────────────────────────────────────── */

.hero { padding-block: clamp(38px, 5vw, 80px); }
.hero__in { display: grid; gap: clamp(32px, 4vw, 60px); align-items: center; }
.hero h1 { font-size: clamp(34px, 5.6vw, 64px); }
.hero h1 em { font-style: normal; color: var(--cyan); }
.lede { max-width: 31em; margin-top: 20px; color: var(--muted); font-size: clamp(16px, 1.5vw, 18px); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.marks { display: grid; gap: 18px; margin-top: 38px; padding-top: 24px; border-top: 1px solid var(--line); }
.marks b { display: block; font-size: 24px; font-weight: 800; color: var(--cyan); }
.marks span { color: var(--muted); font-size: 12.5px; }
@media (min-width: 520px) { .marks { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 980px) { .hero__in { grid-template-columns: 1.08fr 0.92fr; } }

/* Машина на дороге: прямоугольники со скруглениями и световой конус. */
.hero__art { position: relative; min-height: 250px; display: grid; place-items: center; }
.road { position: absolute; left: 0; right: 0; bottom: 22%; height: 2px; background: linear-gradient(90deg, transparent, var(--line) 15%, var(--line) 85%, transparent); }
.road::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, var(--cyan) 0 22px, transparent 22px 54px); opacity: 0.5; }
.auto { position: absolute; left: 12%; right: 12%; bottom: 24%; height: 96px; }
.auto__b { position: absolute; inset: 38px 0 14px; border-radius: 12px 22px 8px 8px; background: linear-gradient(180deg, #263d5c, #16263f); }
.auto__c { position: absolute; left: 24%; right: 30%; top: 2px; height: 44px; border-radius: 18px 22px 0 0; background: linear-gradient(180deg, #35516f, #22374f); }
.auto__w { position: absolute; bottom: 0; width: 32px; height: 32px; border-radius: 50%; background: #060d17; border: 5px solid #3d5878; }
.auto__w--l { left: 15%; } .auto__w--r { right: 15%; }
.auto__l { position: absolute; right: -4%; bottom: 42px; width: 26%; height: 16px; border-radius: 999px; background: linear-gradient(90deg, rgba(53,200,232,0.55), transparent); }

/* ── Секции ─────────────────────────────────────────────── */

.sec { padding-block: var(--sec-y); }
.sec--deep { background: var(--panel); border-block: 1px solid var(--line); }
.sec--soft { background: var(--panel-2); }
.sec__head { max-width: 46em; margin-bottom: clamp(24px, 3vw, 40px); }
.sec__head h2 { font-size: clamp(26px, 3.8vw, 42px); }
.sec__head p { margin-top: 14px; color: var(--muted); }

/* ── Фильтры ────────────────────────────────────────────── */

.filters { display: grid; gap: 12px; margin-bottom: 28px; }
.filters__row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.filters__l { min-width: 72px; color: var(--muted); font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; }
.chip { border: 1px solid var(--line); border-radius: 999px; padding: 8px 17px; background: none; color: var(--muted); font-size: 13.5px; transition: all 0.2s; }
.chip:hover { border-color: var(--cyan); color: var(--text); }
.chip[data-on] { background: var(--cyan); border-color: var(--cyan); color: #06131f; font-weight: 700; }

/* ── Машины ─────────────────────────────────────────────── */

.cars { display: grid; gap: 18px; }
.car { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); overflow: hidden; }
.car:hover { border-color: var(--cyan); }
.car__b { display: flex; flex-direction: column; flex: 1; padding: 18px 20px 20px; }
.car h3 { font-size: 19px; margin-bottom: 12px; }
.car__spec { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.car__spec dt { color: var(--muted); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; }
.car__spec dd { margin: 1px 0 0; font-family: var(--mono); font-size: 13px; }
.car__f { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 18px; }
.car__p { font-size: 20px; font-weight: 800; color: var(--cyan); }
.car__p i { display: block; margin-top: 2px; color: var(--muted); font-size: 11px; font-style: normal; font-weight: 400; }
.empty { padding: 44px 0; text-align: center; color: var(--muted); }
@media (min-width: 620px) { .cars { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1020px) { .cars { grid-template-columns: repeat(4, 1fr); } }

/* ── Опции ──────────────────────────────────────────────── */

.extra { display: grid; gap: 10px; }
.extra li { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; border: 1px solid var(--line); border-radius: 12px; padding: 15px 18px; background: var(--night); }
.extra li > div { flex: 1 1 220px; }
.extra b { display: block; font-size: 15px; }
.extra span { color: var(--muted); font-size: 13px; }
.extra em { font-family: var(--mono); font-size: 16px; font-style: normal; color: var(--cyan); }
@media (min-width: 900px) { .extra { grid-template-columns: repeat(2, 1fr); } }

/* ── Условия ────────────────────────────────────────────── */

.terms { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.terms li { background: var(--night); padding: 24px; }
.terms__n { display: block; margin-bottom: 12px; color: var(--cyan); font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; }
.terms h3 { font-size: 18px; margin-bottom: 9px; }
.terms li p { color: var(--muted); font-size: 14.5px; }
@media (min-width: 700px) { .terms { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1060px) { .terms { grid-template-columns: repeat(4, 1fr); } }

/* ── Трансфер ───────────────────────────────────────────── */

.transfer { display: grid; gap: clamp(28px, 3.5vw, 52px); }
.transfer h2 { font-size: clamp(26px, 3.6vw, 40px); margin-bottom: 16px; }
.transfer__list { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.transfer__list li { display: flex; justify-content: space-between; gap: 16px; background: var(--panel); padding: 16px 20px; }
.transfer__list span { color: var(--muted); font-size: 14.5px; }
.transfer__list b { font-family: var(--mono); font-size: 16px; color: var(--cyan); white-space: nowrap; }
@media (min-width: 920px) { .transfer { grid-template-columns: 1.05fr 0.95fr; align-items: center; } }

/* ── Бронь ──────────────────────────────────────────────── */

.book { display: grid; gap: clamp(28px, 3.5vw, 52px); }
.book h2 { font-size: clamp(26px, 3.6vw, 40px); margin-bottom: 16px; }
.book__form { display: grid; gap: 14px; border: 1px solid var(--line); border-radius: 16px; padding: clamp(20px, 2.6vw, 30px); background: var(--panel); }
.book__row { display: grid; gap: 14px; }
label { display: grid; gap: 6px; color: var(--muted); font-size: 12.5px; }
input { border: 1px solid var(--line); border-radius: 8px; background: var(--night); color: var(--text); padding: 12px 14px; font-size: 15px; }
input::placeholder { color: #5d7391; }
input:focus { outline: 2px solid var(--cyan); outline-offset: 0; border-color: var(--cyan); }
.book__sum { display: flex; align-items: baseline; justify-content: space-between; padding-top: 14px; border-top: 1px solid var(--line); }
.book__sum b { font-size: 26px; font-weight: 800; }
.legal { color: var(--muted); font-size: 12px; }
@media (min-width: 560px) { .book__row { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .book { grid-template-columns: 0.85fr 1.15fr; align-items: start; } }

.done { grid-column: 1 / -1; border: 1px solid #1e9c78; border-radius: 16px; padding: 24px; background: rgba(30,156,120,0.1); }
.done__t { font-size: 20px; font-weight: 800; }
.done__s { margin-top: 8px; color: var(--muted); }
.done__d { margin-top: 14px; color: #6b8099; font-size: 13px; }

/* ── Вопросы ────────────────────────────────────────────── */

.faq__h { font-size: clamp(26px, 3.6vw, 40px); margin-bottom: 24px; }
.faq details { border: 1px solid var(--line); border-radius: 12px; margin-bottom: 10px; background: var(--panel); }
.faq summary { display: flex; justify-content: space-between; gap: 20px; padding: 17px 20px; cursor: pointer; font-size: 16px; font-weight: 700; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--cyan); font-size: 21px; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 20px 18px; color: var(--muted); font-size: 14.5px; max-width: 62em; }

/* ── Панель брони ───────────────────────────────────────── */

.cart__top { display: flex; align-items: center; justify-content: space-between; padding: 20px var(--gut) 16px; border-bottom: 1px solid var(--line); }
.cart__top h2 { font-size: 22px; }
.cart__x { width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 8px; background: none; font-size: 19px; line-height: 1; color: var(--text); }
.cart__x:hover { background: var(--cyan); border-color: var(--cyan); color: #06131f; }
.cart__empty { padding: 32px var(--gut); color: var(--muted); }
.cart__empty a { color: var(--cyan); }
.cart__body { display: flex; flex-direction: column; flex: 1; min-height: 0; }
.cart__lines { flex: 1; padding: 6px var(--gut); }

.line { display: grid; grid-template-columns: 1fr auto auto auto; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.line__i b { display: block; font-size: 14px; font-weight: 700; }
.line__u { color: var(--muted); font-size: 12px; }
.line__q { display: flex; align-items: center; gap: 4px; }
.line__q button { width: 27px; height: 27px; border: 1px solid var(--line); border-radius: 6px; background: none; color: var(--text); font-size: 14px; line-height: 1; }
.line__q button:hover { border-color: var(--cyan); color: var(--cyan); }
.line__q span { min-width: 18px; text-align: center; font-size: 14px; font-variant-numeric: tabular-nums; }
.line__p { font-weight: 700; font-size: 14px; white-space: nowrap; }
.line__x { width: 26px; height: 26px; border: 0; background: none; color: #5d7391; font-size: 18px; line-height: 1; }
.line__x:hover { color: var(--cyan); }

.promo { display: flex; gap: 8px; padding: 14px var(--gut) 0; }
.promo input { flex: 1; }
.promo__msg { padding: 8px var(--gut) 0; color: #f0a37a; font-size: 13px; }
.promo__msg[data-ok] { color: #4bd6a8; }

.cart__sum { padding: 14px var(--gut); border-top: 1px solid var(--line); display: grid; gap: 7px; }
.cart__sum > div { display: flex; justify-content: space-between; gap: 14px; font-size: 14px; color: var(--muted); }
.cart__sum--total { padding-top: 8px; border-top: 1px dashed var(--line); color: var(--text) !important; font-size: 18px !important; }
.cart__sum--total dd { font-weight: 800; }
.cart__note { padding: 0 var(--gut) 12px; color: var(--muted); font-size: 12.5px; }
.cart__body > .btn { margin: 0 var(--gut) calc(var(--gut) + 6px); width: auto; }
.cart__backdrop { position: fixed; inset: 0; z-index: 290; border: 0; }

/* ── Подвал ─────────────────────────────────────────────── */

.foot { background: #06101d; color: #7e93af; padding-block: clamp(36px, 5vw, 60px); border-top: 1px solid var(--line); }
.foot__in { display: grid; gap: 28px; }
.foot__brand { font-size: 21px; font-weight: 800; letter-spacing: 0.12em; color: var(--text); }
.foot__t { margin-top: 10px; font-size: 13.5px; line-height: 1.7; }
.foot h3 { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cyan); margin-bottom: 12px; font-weight: 400; }
.foot a { display: block; padding: 4px 0; color: #7e93af; font-size: 14px; text-decoration: none; }
.foot a:hover { color: var(--text); }
@media (min-width: 700px) { .foot__in { grid-template-columns: 1.7fr 1fr 1fr; } }

.car__pic {
  display: block; width: 100%; height: 132px; object-fit: cover; background: #13233a;
}
