/* =====================================================================
   ДАЙМОНД МОТОРС — стили
   Палитра бренда: чёрный, графит, тёплый серый, золото, жёлтый, белый.
   ===================================================================== */
:root {
  --bg: #0c0b09;
  --bg-2: #13120f;
  --card: #1a1814;
  --card-2: #221f19;
  --stroke: rgba(255, 238, 200, 0.09);
  --stroke-2: rgba(226, 180, 67, 0.34);
  --text: #f6f3ea;
  --muted: #a7a092;
  --muted-2: #7d776b;

  --gold-1: #f8e3a1;
  --gold-2: #e2b443;
  --gold-3: #b58620;
  --yellow: #f4c430;
  --gold: linear-gradient(135deg, #f8e3a1 0%, #e6b947 46%, #b58620 100%);
  --gold-text: linear-gradient(100deg, #fbe8ad 0%, #eec24f 45%, #c6942a 100%);
  /* табло: графит проекта + золотая волна, которая переливается (см. @keyframes flow) */
  --tablo: linear-gradient(100deg, #1c1912 0%, #2e2614 14%, #5c4718 26%, #94701f 34%, #5c4718 42%, #2e2614 54%, #1c1912 68%, #2e2614 82%, #1c1912 100%);
  --tablo-2: #16140f;
  --gold-flow: linear-gradient(100deg, #b58620 0%, #e6b947 20%, #fbe8ad 32%, #e6b947 44%, #b58620 60%, #e6b947 80%, #b58620 100%);

  --paper: #f4f2ec;
  --paper-2: #e8e4da;
  --ink: #15130f;
  --ink-2: #4c473d;
  --ink-3: #7a7466;

  --r-xl: 32px;
  --r-lg: 24px;
  --r-md: 16px;
  --pad: clamp(16px, 4vw, 56px);
  --header-h: 84px;
  --ease: cubic-bezier(.22, .8, .2, 1);
  --shadow: 0 30px 60px -30px rgba(0, 0, 0, .65);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body {
  font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px; line-height: 1.5; color: var(--text); background: var(--bg);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse 70% 45% at 50% -8%, rgba(226, 180, 67, .12), transparent 70%);
}
body.lock { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
svg { flex: none; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.wrap { width: 100%; max-width: 1520px; margin-inline: auto; padding-inline: var(--pad); }
:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 300; padding: 10px 18px; border-radius: 99px; background: var(--gold); color: var(--ink); font-weight: 700; transition: top .2s; }
.skip:focus { top: 12px; }
.link { color: var(--gold-3); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Кнопки ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 28px; border-radius: 99px; font-weight: 700; font-size: 15px; letter-spacing: .01em;
  white-space: nowrap; overflow: hidden; isolation: isolate;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s;
}
.btn svg { width: 18px; height: 18px; }
.btn--block { width: 100%; }
.btn--sm { height: 42px; padding: 0 18px; font-size: 14px; }
.btn--gold { color: var(--ink); background: var(--gold); box-shadow: 0 10px 26px -12px rgba(226, 180, 67, .7); }
.btn--gold::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .55) 50%, transparent 65%); transform: translateX(-120%); }
.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(226, 180, 67, .85); }
.btn--gold:hover::after { transform: translateX(120%); transition: transform .8s var(--ease); }
.btn--ink { color: var(--gold-1); background: var(--ink); }
.btn--ink:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -14px rgba(0, 0, 0, .7); }
.btn--line { color: var(--text); box-shadow: inset 0 0 0 1.5px var(--stroke-2); }
.btn--line:hover { background: rgba(226, 180, 67, .12); }
.btn--line-ink { color: var(--ink); box-shadow: inset 0 0 0 1.5px rgba(21, 19, 15, .45); }
.btn--line-ink:hover { background: rgba(21, 19, 15, .08); transform: translateY(-2px); }
.btn--ghost { color: var(--ink); box-shadow: inset 0 0 0 1.5px rgba(21, 19, 15, .2); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn--dark-ghost { color: var(--text); box-shadow: inset 0 0 0 1.5px var(--stroke); background: rgba(255,255,255,.03); }
.btn--dark-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--stroke-2); }
.btn:disabled { opacity: .55; pointer-events: none; }

.round {
  display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  color: var(--gold-1); box-shadow: inset 0 0 0 1.5px var(--stroke-2); background: rgba(226, 180, 67, .06);
  transition: background .25s, color .25s, transform .25s var(--ease);
}
.round svg { width: 20px; height: 20px; }
.round:hover { background: var(--gold); color: var(--ink); transform: scale(1.05); }
.round--ink { color: var(--ink); background: transparent; box-shadow: inset 0 0 0 1.5px rgba(21, 19, 15, .25); }
.round--ink:hover { background: var(--ink); color: var(--gold-1); }
.round:disabled { opacity: .35; pointer-events: none; }

.icon-btn { display: none; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: var(--gold-1); box-shadow: inset 0 0 0 1.5px var(--stroke-2); }
.icon-btn svg { width: 20px; height: 20px; }

/* =====================================================================
   ШАПКА
   ===================================================================== */
.header {
  position: sticky; top: 0; z-index: 60; height: var(--header-h);
  background: linear-gradient(180deg, rgba(12, 11, 9, .94), rgba(12, 11, 9, .78));
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s, background .3s;
}
.header.is-scrolled { border-bottom-color: var(--stroke); background: rgba(12, 11, 9, .96); }
.header__bar { position: relative; display: flex; align-items: center; gap: 24px; height: 100%; }
.logo { flex: none; }
.logo img { width: 168px; height: auto; }

/* ---- Табло: стиль Figma, размеры ventriloc.ca ---- */
.tablo {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%;
  border-radius: 200px; background: var(--tablo); background-size: 300% 100%;
  box-shadow: inset 0 0 0 1px rgba(226, 180, 67, .3), inset 0 1px 0 rgba(255, 240, 200, .12), 0 10px 30px -18px rgba(0, 0, 0, .8);
  animation: flow 9s linear infinite;
}
/* перелив: градиент непрерывно едет слева направо */
@keyframes flow { from { background-position: 100% 0; } to { background-position: -50% 0; } }
.tablo__link { text-shadow: 0 1px 6px rgba(0, 0, 0, .45); }
.tablo__list { position: relative; display: flex; align-items: center; }
.tablo__link {
  position: relative; z-index: 1; display: flex; align-items: center; gap: 8px;
  height: 40px; padding: 0 12px 2px; font-size: 16px; font-weight: 500; line-height: 1;
  color: #fff; white-space: nowrap; transition: color .2s;
}
.tablo__item:first-child > .tablo__link { padding-left: 18px; }
.tablo__item:last-child > .tablo__link { padding-right: 18px; }
.tablo__link:hover { color: var(--gold-1); }
.chev { width: 10px; height: 6px; transition: transform .3s var(--ease); }
.tablo__link[aria-expanded="true"] .chev, .callbar__more[aria-expanded="true"] .chev { transform: rotate(180deg); }
.tablo__link[aria-expanded="true"] { color: var(--gold-1); }
/* бегунок под пунктом, как на ventriloc */
.tablo__marker {
  position: absolute; z-index: 0; top: 0; left: 0; height: 100%; width: 0; border-radius: 200px;
  background: rgba(12, 11, 9, .5); box-shadow: inset 0 0 0 1px rgba(248, 227, 161, .18);
  opacity: 0; transition: opacity .15s linear, width .2s cubic-bezier(.455, .03, .515, .955), translate .2s cubic-bezier(.455, .03, .515, .955);
}
.tablo__marker.is-on { opacity: 1; }
.tablo__marker.is-instant { transition: opacity .15s linear; }

/* ---- Табло справа: звонок | контакты ---- */
.callbar {
  position: relative; margin-left: auto; display: flex; align-items: center; height: 40px;
  border-radius: 200px; background: var(--tablo-2); box-shadow: inset 0 0 0 1px rgba(226, 180, 67, .3);
}
.callbar__phone {
  display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 18px 2px; border-radius: 200px;
  font-size: 16px; font-weight: 700; color: var(--ink); white-space: nowrap;
  background: var(--gold-flow); background-size: 300% 100%; animation: flow 9s linear infinite;
  box-shadow: 0 8px 22px -12px rgba(226, 180, 67, .8);
  transition: filter .2s, box-shadow .2s;
}
.callbar__phone svg { width: 16px; height: 16px; color: var(--ink); }
.callbar__phone:hover { filter: brightness(1.08); box-shadow: 0 10px 26px -10px rgba(226, 180, 67, .95); }
.callbar__more { display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 18px 2px 14px; font-size: 16px; font-weight: 500; color: #fff; white-space: nowrap; }
.callbar__more:hover, .callbar__more[aria-expanded="true"] { color: var(--gold-1); }

/* ---- Выпадающие панели: не во всю ширину, по центру под табло ---- */
.veil { position: fixed; inset: 0; z-index: 50; background: rgba(0, 0, 0, .55); opacity: 0; transition: opacity .3s; }
.veil.is-on { opacity: 1; }
.dd {
  position: absolute; z-index: 61; top: calc(100% - 8px); left: 50%;
  width: min(960px, calc(100vw - 32px)); translate: -50% 0;
  padding: 28px; border-radius: 24px;
  background: linear-gradient(180deg, #17150f, #0f0e0b);
  box-shadow: inset 0 0 0 1px var(--stroke), 0 40px 80px -30px rgba(0, 0, 0, .9);
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s .25s;
}
.dd.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.dd--contacts { left: auto; right: var(--pad); translate: none; width: 400px; padding: 22px; }
.dd__grid { display: grid; gap: 20px; }
.dd__grid--3 { grid-template-columns: 1fr 1.05fr .95fr; }
.dd__grid--2 { grid-template-columns: 1.7fr 1fr; }
.dd__title { margin: 0 0 8px; padding-inline: 12px; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-2); }
.dd__list--cols { display: grid; grid-template-columns: 1fr 1fr; column-gap: 6px; }
.dd__item { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2px 10px; padding: 10px 12px; border-radius: 14px; transition: background .2s; }
.dd__item:hover { background: rgba(226, 180, 67, .09); }
.dd__name { font-size: 15px; font-weight: 600; transition: color .2s; }
.dd__item:hover .dd__name { color: var(--gold-1); }
.dd__desc { grid-column: 1; font-size: 13px; color: var(--muted); }
.dd__cnt { grid-row: 1 / span 2; grid-column: 2; font-size: 12px; font-weight: 700; color: var(--muted); padding: 3px 9px; border-radius: 99px; box-shadow: inset 0 0 0 1px var(--stroke); }
.dd__ic { grid-row: 1 / span 2; grid-column: 2; width: 18px; height: 18px; color: var(--gold-2); opacity: 0; transform: translateX(-4px); transition: .25s var(--ease); }
.dd__item:hover .dd__ic { opacity: 1; transform: none; }
.dd__model { display: grid; grid-template-columns: 64px 1fr auto; align-items: center; gap: 12px; padding: 6px 12px 6px 6px; border-radius: 14px; transition: background .2s; }
.dd__model:hover { background: rgba(226, 180, 67, .09); }
.dd__model .ph { width: 64px; height: 44px; border-radius: 10px; background: linear-gradient(180deg, #f1eee7, #dcd7cb); display: grid; place-items: center; overflow: hidden; }
.dd__model .ph img { width: 92%; height: auto; }
.dd__model b { font-size: 14px; font-weight: 600; }
.dd__model span { font-size: 13px; font-weight: 700; color: var(--gold-1); white-space: nowrap; }
.dd__feature {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 4px;
  min-height: 250px; padding: 20px; border-radius: 18px; overflow: hidden; background: #15120c; box-shadow: inset 0 0 0 1px var(--stroke-2);
}
.dd__feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: transform .8s var(--ease); }
.dd__feature:hover img { transform: scale(1.05); }
.dd__feature::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 25%, rgba(12, 11, 9, .95)); }
.dd__feature > :not(img) { position: relative; z-index: 1; }
.dd__feature small { font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-1); }
.dd__feature strong { font-size: 19px; font-weight: 800; line-height: 1.25; }
.dd__feature span { font-size: 13px; color: var(--muted); }
/* поочерёдное появление */
.st { opacity: 0; transform: translateY(8px); transition: opacity .3s var(--ease), transform .3s var(--ease), background .2s; }
.dd.is-open .st { opacity: 1; transform: none; transition-delay: calc(var(--i, 0) * 40ms + 60ms), calc(var(--i, 0) * 40ms + 60ms), 0s; }

/* контакты */
.ct { display: grid; gap: 16px; }
.ct__row { display: flex; gap: 12px; align-items: flex-start; }
.ct__row b { display: block; font-size: 15px; line-height: 1.35; }
.ct__ic { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--gold); color: var(--ink); }
.ct__ic svg { width: 18px; height: 18px; }
.ct__link { font-size: 13px; color: var(--gold-1); text-decoration: underline; text-underline-offset: 3px; }
.ct__phones { display: grid; gap: 2px; padding: 6px; border-radius: 16px; background: rgba(255, 255, 255, .03); box-shadow: inset 0 0 0 1px var(--stroke); }
.ct__phones a { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 9px 12px; border-radius: 12px; font-weight: 700; font-size: 16px; transition: background .2s; }
.ct__phones a:hover { background: rgba(226, 180, 67, .1); }
.ct__phones small { font-size: 12px; font-weight: 500; color: var(--muted); text-align: right; }
.ct__msg { display: flex; flex-wrap: wrap; gap: 8px; }
.pill-link { display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 14px; border-radius: 99px; font-size: 13px; font-weight: 600; box-shadow: inset 0 0 0 1px var(--stroke-2); transition: background .2s; }
.pill-link svg { width: 16px; height: 16px; color: var(--gold-2); }
.pill-link:hover { background: rgba(226, 180, 67, .12); }

/* мобильное меню */
.mnav { position: fixed; z-index: 55; inset: var(--header-h) 0 0 0; overflow-y: auto; background: #0c0b09; padding: 12px var(--pad) 120px; }
.mnav__inner { display: grid; gap: 2px; }
.mnav__big { display: flex; align-items: center; height: 56px; font-size: 20px; font-weight: 700; border-bottom: 1px solid var(--stroke); }
.mnav__contacts { margin-top: 20px; display: grid; gap: 14px; }

/* =====================================================================
   ПЕРВЫЙ ЭКРАН
   ===================================================================== */
.hero { padding-top: 16px; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 2.1fr) minmax(360px, 1fr); gap: 28px; align-items: start; }
.hero__stage { min-width: 0; }
.hero { --hero-h: clamp(560px, calc(100vh - var(--header-h) - 92px), 760px); }
.slider {
  position: relative; height: var(--hero-h);
  border-radius: var(--r-xl); overflow: hidden; background: #110f0b; box-shadow: inset 0 0 0 1px var(--stroke);
  cursor: grab; touch-action: pan-y; user-select: none;
}
.slider:active { cursor: grabbing; }
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .8s ease, visibility 0s .8s; }
.slide.is-active { opacity: 1; visibility: visible; transition: opacity .8s ease; }
.slide::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg, rgba(10, 9, 6, .86) 0%, rgba(10, 9, 6, .5) 38%, transparent 66%); }
.slide__img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: var(--pos, 62% 50%); transform: scale(1.08); transition: transform 7s ease-out, opacity 1s ease .1s; }
.slide.is-active .slide__img { transform: none; opacity: 1; }
.slide__text { position: absolute; z-index: 2; left: clamp(24px, 4vw, 52px); top: clamp(28px, 4vw, 52px); right: 24px; }
.slide__title { font-weight: 900; font-size: clamp(28px, 3.3vw, 54px); line-height: 1.08; letter-spacing: .005em; text-shadow: 0 4px 24px rgba(0, 0, 0, .5); }
.slide__title span { display: block; opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s var(--ease); }
.slide__title .accent { color: var(--yellow); background: var(--gold-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; text-shadow: none; }
.slide.is-active .slide__title span { opacity: 1; transform: none; }
.slide.is-active .slide__title span:nth-child(1) { transition-delay: .2s; }
.slide.is-active .slide__title span:nth-child(2) { transition-delay: .32s; }
.slide.is-active .slide__title span:nth-child(3) { transition-delay: .44s; }
.slide__sub { margin-top: 16px; max-width: 30ch; font-size: clamp(15px, 1.15vw, 18px); font-weight: 500; color: var(--gold-1); opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s var(--ease); }
.slide.is-active .slide__sub { opacity: .92; transform: none; transition-delay: .56s; }

/* точки — как в готовом прототипе */
.dots { display: flex; align-items: center; justify-content: center; gap: 18px; height: 56px; }
.dot { position: relative; flex: none; width: var(--d, 12px); height: var(--d, 12px); border-radius: 99px; background: rgba(226, 180, 67, .28); overflow: hidden; transition: width .4s var(--ease), height .4s var(--ease), background .2s; }
.dot:hover { background: rgba(226, 180, 67, .55); }
.dot.is-active { width: 44px; height: 12px; }
.dot__fill { position: absolute; inset: 0 auto 0 0; width: 0; border-radius: 99px; background: var(--gold); }
.dot:not(.is-active) .dot__fill { display: none; }

/* ---- Форма подбора ---- */
.finder {
  display: flex; flex-direction: column; gap: 18px; padding: 32px 30px 26px; border-radius: var(--r-xl);
  background: radial-gradient(ellipse 80% 40% at 100% 0%, rgba(226, 180, 67, .16), transparent 70%), linear-gradient(160deg, #262013 0%, #100e0a 70%);
  box-shadow: inset 0 0 0 1px var(--stroke-2);
}
.hero__grid > .finder { min-height: var(--hero-h); }
.finder .btn--block { margin-top: auto; }
.finder__title { font-weight: 900; font-size: clamp(28px, 2.3vw, 38px); line-height: 1.08; }
.finder__alt { align-self: center; font-size: 13px; font-weight: 500; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.finder__alt:hover { color: var(--gold-1); }
.fg { border: 0; min-width: 0; }
.fg > legend, .lbl { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 500; color: var(--gold-1); opacity: .9; }

.seg { position: relative; display: grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 99px; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px var(--stroke); isolation: isolate; }
.seg__btn { position: relative; z-index: 1; height: 40px; border-radius: 99px; font-size: 14px; font-weight: 600; color: var(--muted); transition: color .25s; }
.seg__btn.is-on { color: var(--ink); }
.seg__thumb { position: absolute; z-index: 0; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 99px; background: var(--gold); transition: translate .35s var(--ease); }
.seg[data-on="driver"] .seg__thumb { translate: 100% 0; }
.seg--light { width: 340px; background: rgba(21, 19, 15, .06); box-shadow: inset 0 0 0 1px rgba(21, 19, 15, .12); }
.seg--light .seg__btn { color: var(--ink-2); }
.seg--light .seg__btn.is-on { color: var(--gold-1); }
.seg--light .seg__thumb { background: var(--ink); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; inset: 0; opacity: 0; cursor: pointer; margin: 0; }
.chip span { display: inline-flex; align-items: center; height: 38px; padding: 0 15px; border-radius: 99px; font-size: 13.5px; font-weight: 500; white-space: nowrap; background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px var(--stroke); transition: .25s var(--ease); }
.chip:hover span { box-shadow: inset 0 0 0 1px var(--stroke-2); }
.chip input:checked + span { color: var(--ink); font-weight: 700; background: var(--gold); box-shadow: none; }
.chip input:focus-visible + span { outline: 2px solid var(--gold-2); outline-offset: 2px; }

/* ---- Поля дат: общий компонент (форма, каталог, бронь) ---- */
.trip { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.trip > *, .toolbar__sel > *, .row2 > * { min-width: 0; }
.layer__ghostbox { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.tf { position: relative; display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 0 6px; padding: 9px 14px 8px; border-radius: 16px; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px var(--stroke); transition: box-shadow .2s; }
.tf:focus-within { box-shadow: inset 0 0 0 1.5px var(--gold-2); }
.tf__k { grid-column: 1 / -1; font-size: 11.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.tf input, .tf select { width: 100%; min-width: 0; height: 28px; border: 0; outline: 0; background: none; font-size: 15px; font-weight: 600; color-scheme: dark; }
.tf__d { position: relative; display: flex; align-items: center; gap: 8px; height: 28px; min-width: 0; font-size: 15px; font-weight: 600; white-space: nowrap; cursor: pointer; }
.tf__d svg { width: 15px; height: 15px; color: var(--gold-2); opacity: .8; }
.tf__d input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; font-size: 16px; }
.tf__d input::-webkit-calendar-picker-indicator { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.tf select { width: auto; cursor: pointer; appearance: none; -webkit-appearance: none; padding-right: 2px; color: var(--gold-1); }
.tf select option { color: #000; }
.tf--wide { grid-column: 1 / -1; }
.stepper { display: flex; align-items: center; gap: 10px; }
.sec--light .stepper button { color: var(--ink); box-shadow: inset 0 0 0 1px rgba(21,19,15,.25); }
.stepper button { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--stroke-2); color: var(--gold-1); }
.stepper button:hover { background: rgba(226, 180, 67, .15); }
.stepper button svg { width: 14px; height: 14px; }
.stepper output { min-width: 3.5ch; text-align: center; font-weight: 700; font-size: 15px; }
.trip__sum { grid-column: 1 / -1; display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--muted); }
.trip__sum b { color: var(--text); }
.trip__sum svg { width: 16px; height: 16px; color: var(--gold-2); }
.trip__warn { color: #ff9f8a; }
.place { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.place label { position: relative; }
.place input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.place span { display: flex; flex-direction: column; justify-content: center; min-height: 52px; padding: 7px 14px; border-radius: 14px; font-size: 13.5px; font-weight: 600; line-height: 1.25; box-shadow: inset 0 0 0 1px var(--stroke); transition: .2s; }
.place small { font-size: 12px; font-weight: 500; color: var(--muted); }
.place input:checked + span { box-shadow: inset 0 0 0 1.5px var(--gold-2); background: rgba(226, 180, 67, .1); }
.place input:focus-visible + span { outline: 2px solid var(--gold-2); outline-offset: 2px; }

/* =====================================================================
   СЕКЦИИ: общий каркас
   ===================================================================== */
.kicker { display: inline-flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-2); }
.kicker::before { content: ""; width: 36px; height: 1px; background: currentColor; }
.sec-title { margin-top: 14px; font-weight: 900; font-size: clamp(32px, 3.6vw, 56px); line-height: 1.05; letter-spacing: -.01em; }
.sec-sub { margin-top: 16px; max-width: 46ch; font-size: clamp(15px, 1.1vw, 18px); font-weight: 500; line-height: 1.6; color: var(--muted); }
.sec-head { margin-bottom: 40px; }
.sec-head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.sec { position: relative; margin-top: -40px; padding: 96px 0 120px; border-radius: 44px 44px 0 0; }
.sec--light { background: linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%); color: var(--ink); }
.sec--light .kicker { color: var(--gold-3); }
.sec--light .sec-sub { color: var(--ink-3); }
.sec--dark { background: linear-gradient(165deg, #1b1810 0%, #0c0b09 70%); box-shadow: inset 0 1px 0 var(--stroke); }
.sec--gold { background: linear-gradient(135deg, #f6dd92 0%, #e2b443 55%, #b58620 100%); color: var(--ink); }
.sec--gold .kicker { color: #5a4310; }
.sec--gold .sec-sub { color: #4a3a12; }

/* появление при прокрутке */
.js .rv { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .9s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.js .rv.in { opacity: 1; transform: none; }

/* ---------- Бегущая строка марок ---------- */
.brands { padding: 8px 0 40px; }
.brands__viewport {
  overflow: hidden; border-block: 1px solid var(--stroke);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.brands__track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.brands__viewport:hover .brands__track, .brands__viewport:focus-within .brands__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.brands__track li { display: flex; align-items: center; }
.brands__track li::after { content: ""; width: 9px; height: 9px; margin-inline: 34px; rotate: 45deg; background: var(--gold); opacity: .7; }
.brand-item { display: inline-flex; align-items: baseline; gap: 8px; padding: 22px 0; font-weight: 900; font-style: italic; font-size: clamp(22px, 2.2vw, 34px); letter-spacing: .03em; line-height: 1; text-transform: uppercase; white-space: nowrap; color: transparent; -webkit-text-stroke: 1.2px rgba(248, 227, 161, .75); transition: color .3s, -webkit-text-stroke-color .3s; }
.brand-item small { font-size: 13px; font-style: normal; font-weight: 700; letter-spacing: .06em; color: var(--muted-2); -webkit-text-stroke: 0; }
.brand-item:hover, .brand-item:focus-visible { color: var(--gold-1); -webkit-text-stroke-color: transparent; }
.brand-item:hover small { color: var(--gold-2); }
.brand-chip { display: inline-flex; align-items: center; gap: 8px; margin-left: 12px; height: 30px; padding: 0 12px; border-radius: 99px; font-size: 13px; font-weight: 700; color: var(--gold-1); background: var(--ink); vertical-align: middle; }
.brand-chip svg { width: 12px; height: 12px; }
@media (prefers-reduced-motion: reduce) { .brands__viewport { overflow-x: auto; } }
@media (max-width: 720px) { .brands { padding-bottom: 28px; } .brands__track li::after { margin-inline: 22px; } .brand-item { padding: 18px 0; } }

/* ---------- Преимущества ---------- */
.perks { padding: 0 0 88px; }
.perks__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.perk { display: flex; gap: 14px; align-items: flex-start; padding: 20px; border-radius: 22px; box-shadow: inset 0 0 0 1px var(--stroke); background: linear-gradient(160deg, rgba(226, 180, 67, .07), transparent); }
.perk__ic { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; color: var(--gold-1); box-shadow: inset 0 0 0 1px var(--stroke-2); }
.perk__ic svg { width: 22px; height: 22px; }
.perk h3 { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.perk p { font-size: 14px; color: var(--muted); }

/* =====================================================================
   АКЦИИ — логотипы над автомобилем
   ===================================================================== */
.offers { position: relative; margin-top: -40px; padding: 96px 0 130px; border-radius: 44px 44px 0 0; background: linear-gradient(165deg, #211b0e 0%, #0f0d09 62%, #0c0b09 100%); box-shadow: inset 0 1px 0 var(--stroke); overflow: hidden; }
.offers__grid { display: grid; grid-template-columns: minmax(330px, 420px) minmax(0, 1fr); gap: 48px; }
.price-card { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 28px 26px; border-radius: 32px; background: linear-gradient(160deg, #2e2512 0%, #16120b 60%, #0f0d09 100%); box-shadow: inset 0 0 0 1px var(--stroke-2), var(--shadow); }
.price-card__tag { align-self: flex-start; padding: 5px 12px; border-radius: 99px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-1); box-shadow: inset 0 0 0 1px var(--stroke-2); }
.price-card__old { display: flex; align-items: center; justify-content: flex-end; gap: 12px; min-height: 40px; font-weight: 700; font-size: 24px; color: rgba(246, 243, 234, .5); }
.price-card__was { display: inline-flex; align-items: baseline; gap: 8px; font-size: 16px; font-weight: 600; color: var(--muted); }
.price-card__old s { position: relative; font-size: 30px; font-weight: 800; color: rgba(246, 243, 234, .62); text-decoration: none; }
.price-card__old s::after { content: ""; position: absolute; left: -4px; right: -4px; top: 52%; height: 3px; border-radius: 2px; background: #ff7a5c; transform: rotate(-8deg); }
.price-card__save { margin: -6px 0 6px; text-align: right; font-size: 15px; font-weight: 600; color: var(--gold-1); }
.price-card__save b { font-weight: 800; color: #fff; }
.price-card__save.is-empty { visibility: hidden; }
.price-card__old.is-empty { visibility: hidden; }
.badge { padding: 5px 12px; border-radius: 99px; font-size: 15px; font-weight: 900; color: #fff; background: #e0553a; box-shadow: 0 6px 16px -6px rgba(224, 85, 58, .7); }
.price-card__now { display: flex; align-items: baseline; justify-content: flex-end; margin-bottom: 8px; white-space: nowrap; }
.price-card__now .num { font-weight: 900; font-size: clamp(52px, 4.4vw, 68px); line-height: 1; font-variant-numeric: tabular-nums; }
.price-card__now .cur { font-weight: 800; font-size: clamp(38px, 3.2vw, 50px); }
.price-card__now .per { margin-left: 6px; font-weight: 600; font-size: 19px; color: var(--muted); }
.spec { display: flex; align-items: center; gap: 14px; height: 50px; padding-right: 18px; border-radius: 99px; background: rgba(255, 255, 255, .03); box-shadow: inset 0 0 0 1px var(--stroke); white-space: nowrap; }
.spec__val { flex: none; display: grid; place-items: center; min-width: 120px; height: 100%; padding: 0 16px; border-radius: 99px; font-size: 14px; font-weight: 800; color: var(--ink); background: var(--gold); }
.spec__name { flex: 1; font-size: 15px; font-weight: 500; }
.spec svg { width: 20px; height: 20px; color: var(--text); opacity: .8; }
.price-card .btn { margin-top: 10px; align-self: center; min-width: 240px; }

.stage { position: relative; display: grid; grid-template-rows: 96px minmax(0, 1fr) 64px; min-height: 560px; isolation: isolate; }
/* Ряд логотипов — отдельная строка сетки, поэтому никогда не перекрывает машину */
.stage__brand { position: relative; grid-row: 1; z-index: 3; }
.brand { position: absolute; inset: 0; display: flex; align-items: center; justify-content: flex-end; gap: 22px; opacity: 0; transform: translateY(12px); transition: opacity .5s ease, transform .6s var(--ease); }
.brand.is-on { opacity: 1; transform: none; transition-delay: .25s; }
.brand img.lada { height: 64px; width: auto; }
.brand img.aura { height: 48px; width: auto; }
.brand__word { font-weight: 900; font-style: italic; font-size: clamp(30px, 3vw, 48px); letter-spacing: .04em; line-height: 1; color: #fff; }
.brand__mark { font-weight: 700; font-size: 14px; letter-spacing: .3em; color: var(--gold-2); padding: 7px 14px; border-radius: 99px; box-shadow: inset 0 0 0 1px var(--stroke-2); }
.stage__cars { position: relative; grid-row: 2; }
.stage__glow { position: absolute; z-index: -2; inset: -10% -5% -10% 5%; background: radial-gradient(ellipse 55% 50% at 55% 55%, rgba(226, 180, 67, .26), transparent 70%); animation: glow 7s ease-in-out infinite alternate; }
@keyframes glow { from { opacity: .55; transform: scale(.94); } to { opacity: 1; transform: scale(1.04); } }
.stage__floor { position: absolute; z-index: -1; left: 10%; right: 6%; bottom: 2%; height: 60px; background: radial-gradient(ellipse at center, rgba(0, 0, 0, .7), transparent 70%); filter: blur(6px); }
.layer { position: absolute; inset: 0; display: flex; align-items: center; justify-content: flex-end; opacity: 0; visibility: hidden; transition: opacity .7s ease, visibility 0s .9s; }
.layer.is-on { opacity: 1; visibility: visible; transition: opacity .7s ease; }
.layer__ghost { position: absolute; z-index: 0; right: 0; top: 50%; translate: 0 -50%; font-weight: 900; font-size: clamp(90px, 13vw, 210px); line-height: 1; letter-spacing: .02em; white-space: nowrap; color: transparent; -webkit-text-stroke: 1px rgba(226, 180, 67, .18); pointer-events: none; transition: transform 1.2s var(--ease); }
.layer__car { position: relative; z-index: 1; width: 100%; height: 100%; display: flex; align-items: center; justify-content: flex-end; transition: transform 1s var(--ease), filter .9s ease; }
.layer__car img { max-width: 100%; max-height: 100%; object-fit: contain; filter: drop-shadow(0 34px 34px rgba(0, 0, 0, .55)); }
.layer--photo .layer__car img { width: 72%; height: 100%; max-height: 420px; object-fit: cover; border-radius: 28px; filter: none; box-shadow: 0 30px 60px -30px #000; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 26%); mask-image: linear-gradient(90deg, transparent 0%, #000 26%); }
.layer.is-next .layer__car { transform: translateX(14%) scale(.94); filter: blur(10px); }
.layer.is-prev .layer__car { transform: translateX(-14%) scale(.94); filter: blur(10px); }
.layer.is-on .layer__car img { animation: float 7s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.stage__ctrl { grid-row: 3; position: relative; display: flex; align-items: center; justify-content: flex-end; gap: 16px; }
.counter { font-weight: 700; font-size: 16px; letter-spacing: .1em; color: var(--muted); font-variant-numeric: tabular-nums; }
.counter b { color: var(--gold-1); }
.bar { position: absolute; left: 0; right: 0; bottom: -10px; height: 2px; background: rgba(226, 180, 67, .16); border-radius: 2px; overflow: hidden; }
.bar i { position: absolute; inset: 0 auto 0 0; width: 0; background: var(--gold); }

/* =====================================================================
   КАТАЛОГ
   ===================================================================== */
.toolbar { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; margin-bottom: 18px; }
.toolbar > *, .toolbar__row > * { min-width: 0; }
.trip--bar { grid-template-columns: repeat(2, minmax(0, 1fr)) minmax(0, 1.25fr); }
.trip--bar.is-driver { grid-template-columns: minmax(0, 1fr) minmax(0, .8fr) minmax(0, 1.25fr); }
.sec--light .tf, .sheet .tf.light { background: #fff; box-shadow: inset 0 0 0 1px rgba(21, 19, 15, .12); }
.sec--light .tf input, .sec--light .tf select { color-scheme: light; color: var(--ink); }
.sec--light .tf select { color: var(--gold-3); }
.sec--light .tf__k { color: var(--ink-3); }
.sec--light .tf:focus-within { box-shadow: inset 0 0 0 1.5px var(--gold-3); }
.sec--light .trip__sum { color: var(--ink-3); }
.sec--light .trip__sum b { color: var(--ink); }
.sec--light .place span { background: #fff; box-shadow: inset 0 0 0 1px rgba(21, 19, 15, .12); }
.sec--light .place small { color: var(--ink-3); }
.sec--light .place input:checked + span { box-shadow: inset 0 0 0 1.5px var(--gold-3); background: #fdf6e2; }
.trip--bar .trip__sum { grid-column: auto; display: flex; padding: 0 16px; border-radius: 16px; background: var(--ink); color: var(--muted); }
.sec--light .trip--bar .trip__sum { color: #cfc8b8; }
.sec--light .trip--bar .trip__sum b { color: var(--gold-1); }
.trip--bar .place { display: none; }

.toolbar__row { display: flex; align-items: center; justify-content: space-between; gap: 12px 20px; flex-wrap: wrap; }
.fchips { display: flex; flex-wrap: wrap; gap: 8px; }
.fchip { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px; border-radius: 99px; font-weight: 600; font-size: 14px; color: var(--ink); box-shadow: inset 0 0 0 1.5px rgba(21, 19, 15, .16); transition: .25s var(--ease); }
.fchip small { font-size: 12px; font-weight: 700; color: var(--ink-3); }
.fchip:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.fchip.is-on { background: var(--ink); color: var(--gold-1); box-shadow: none; }
.fchip.is-on small { color: var(--gold-2); }
.toolbar__sel { display: flex; gap: 8px; }
.sel { position: relative; min-width: 0; }
.sel select { appearance: none; -webkit-appearance: none; height: 42px; padding: 0 38px 0 16px; border: 0; border-radius: 99px; font-size: 14px; font-weight: 600; color: var(--ink); background: #fff; box-shadow: inset 0 0 0 1.5px rgba(21, 19, 15, .12); cursor: pointer; }
.sel::after { content: ""; position: absolute; right: 16px; top: 50%; width: 7px; height: 7px; border: solid var(--ink-2); border-width: 0 1.6px 1.6px 0; transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.cat-count { margin: 6px 0 18px; font-size: 14px; font-weight: 500; color: var(--ink-3); }
.cat-count b { color: var(--ink); }
.cat-empty { padding: 48px 0; text-align: center; font-weight: 500; color: var(--ink-2); }

.cat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.car { position: relative; display: flex; flex-direction: column; border-radius: 28px; overflow: hidden; background: var(--card); color: var(--text); box-shadow: 0 24px 44px -26px rgba(40, 32, 12, .55); transition: transform .45s var(--ease), box-shadow .45s var(--ease); animation: cin .5s var(--ease) both; animation-delay: calc(var(--i, 0) * 40ms); }
.car:hover { transform: translateY(-6px); box-shadow: 0 34px 54px -28px rgba(40, 32, 12, .7); }
@keyframes cin { from { opacity: 0; transform: translateY(14px); } }
.car__photo { position: relative; display: grid; place-items: center; aspect-ratio: 16 / 10; padding: 34px 22px 14px; background: radial-gradient(ellipse 70% 40% at 50% 92%, rgba(21, 19, 15, .16), transparent 70%), linear-gradient(180deg, #f6f4ef 0%, #e6e2d8 100%); cursor: pointer; }
.car__photo img { width: 100%; height: 100%; object-fit: contain; transition: transform .7s var(--ease); }
.car:hover .car__photo img { transform: scale(1.04) translateY(-2px); }
.car__cls { position: absolute; left: 14px; top: 14px; padding: 5px 11px; border-radius: 99px; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-1); background: var(--ink); }
.car__promo { position: absolute; right: 14px; top: 14px; padding: 5px 11px; border-radius: 99px; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); background: var(--gold); }
.car__pics { position: absolute; right: 14px; bottom: 12px; display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 99px; font-size: 11.5px; font-weight: 700; color: var(--ink-2); background: rgba(255, 255, 255, .8); }
.car__body { display: flex; flex-direction: column; gap: 14px; flex: 1; padding: 18px 20px 20px; background: linear-gradient(160deg, #221d12, #13110d); }
.car__name { font-weight: 800; font-size: 21px; line-height: 1.2; cursor: pointer; }
.car__name:hover { color: var(--gold-1); }
.car__specs { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13px; color: var(--muted); }
.car__specs span { display: inline-flex; align-items: center; gap: 6px; }
.car__specs svg { width: 16px; height: 16px; color: var(--gold-2); }
.car__foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--stroke); }
.car__price { display: grid; gap: 2px; }
.car__price b { font-weight: 900; font-size: 24px; line-height: 1.05; white-space: nowrap; }
.car__price b small { font-size: 13px; font-weight: 600; color: var(--muted); margin-left: 3px; }
.car__price s { font-size: 13px; font-weight: 600; color: var(--muted-2); }
.car__total { font-size: 13px; font-weight: 500; color: var(--muted); }
.car__total strong { color: var(--gold-1); font-weight: 700; }
.car__dep { font-size: 12px; color: var(--muted-2); }

/* =====================================================================
   УСЛУГИ, УСЛОВИЯ, ЮРЛИЦА, ОТЗЫВЫ, FAQ, КОНТАКТЫ
   ===================================================================== */
.srv-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.srv { display: flex; flex-direction: column; gap: 10px; padding: 26px; border-radius: 26px; box-shadow: inset 0 0 0 1px var(--stroke); background: linear-gradient(160deg, rgba(226, 180, 67, .07), rgba(255, 255, 255, .01)); transition: transform .4s var(--ease), box-shadow .4s; text-align: left; }
.srv:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px var(--stroke-2); }
.srv__ic { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; color: var(--ink); background: var(--gold); }
.srv__ic svg { width: 26px; height: 26px; }
.srv h3 { margin-top: 8px; font-size: 18px; font-weight: 800; line-height: 1.25; }
.srv p { font-size: 14px; line-height: 1.55; color: var(--muted); }
.srv__price { font-size: 14px; font-weight: 700; color: var(--gold-1); }
.srv__go { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 8px; font-weight: 700; font-size: 14px; color: var(--gold-2); }
.srv__go svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.srv:hover .srv__go svg { transform: translateX(4px); }

.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-bottom: 18px; }
.step { padding: 28px 24px; border-radius: 26px; background: rgba(255, 255, 255, .7); box-shadow: inset 0 0 0 1px rgba(21, 19, 15, .08); }
.step__n { display: block; margin-bottom: 14px; font-size: 40px; font-weight: 900; line-height: 1; background: var(--gold); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.step h3 { font-size: 18px; font-weight: 800; margin-bottom: 6px; }
.step p { font-size: 14px; line-height: 1.55; color: var(--ink-3); }
.terms-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.panel { padding: 28px; border-radius: 26px; background: var(--ink); color: var(--text); }
.panel h3 { width: fit-content; margin-bottom: 16px; font-size: 21px; font-weight: 800; background: var(--gold-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.panel h4 { margin: 24px 0 12px; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.checks { display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 30px; font-size: 15px; line-height: 1.45; }
.checks li::before { content: ""; position: absolute; left: 0; top: 1px; width: 19px; height: 19px; border-radius: 50%; background: var(--gold); }
.checks li::after { content: ""; position: absolute; left: 6.5px; top: 5px; width: 5px; height: 9px; border: solid var(--ink); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.checks--muted li { color: var(--muted); font-size: 14px; }
.checks--muted li::before { background: rgba(226, 180, 67, .2); }
.checks--muted li::after { border-color: var(--gold-1); }
.checks--no li { color: var(--muted); font-size: 14px; }
.checks--no li::before { background: rgba(255, 140, 110, .16); }
.checks--no li::after { left: 5px; top: 9px; width: 9px; height: 0; border-width: 2px 0 0; border-color: #ff9f8a; transform: none; }
.checks--ink li::before { background: var(--ink); }
.checks--ink li::after { border-color: var(--gold-1); }
.tariff { display: grid; gap: 0; }
.tariff > div { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; padding: 11px 0; border-bottom: 1px dashed var(--stroke); }
.tariff dt { font-size: 14px; color: var(--muted); }
.tariff dd { font-size: 15px; font-weight: 700; white-space: nowrap; }
.disc { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.disc div { padding: 12px 10px; border-radius: 16px; text-align: center; box-shadow: inset 0 0 0 1px var(--stroke-2); }
.disc b { display: block; font-size: 26px; font-weight: 900; line-height: 1.1; color: var(--gold-1); }
.disc span { font-size: 12.5px; color: var(--muted); }

.biz { display: grid; grid-template-columns: 1fr 1.1fr; align-items: center; gap: 48px; padding: 48px; border-radius: 36px; background: rgba(255, 255, 255, .26); box-shadow: inset 0 0 0 1px rgba(21, 19, 15, .16); }
.biz__img { width: 100%; height: 400px; object-fit: cover; border-radius: 26px; box-shadow: 0 30px 50px -26px rgba(40, 28, 5, .6); }
.biz .checks { margin-top: 24px; }
.biz__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.rev-track { display: flex; gap: 20px; margin-inline: calc(var(--pad) * -1); padding: 8px var(--pad) 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-padding-inline: var(--pad); }
.rev-track::-webkit-scrollbar { display: none; }
.rcard { flex: 0 0 min(420px, 84vw); display: flex; flex-direction: column; gap: 16px; padding: 28px; border-radius: 28px; scroll-snap-align: start; background: #fff; box-shadow: 0 18px 36px -24px rgba(40, 32, 12, .45), inset 0 0 0 1px rgba(21, 19, 15, .06); }
.stars { display: flex; gap: 3px; color: var(--gold-2); }
.stars svg { width: 18px; height: 18px; }
.rcard__q { font-size: 15.5px; line-height: 1.65; color: #2b271d; }
.rcard__who { display: flex; align-items: center; gap: 12px; margin-top: auto; font-size: 13px; color: var(--ink-3); }
.rcard__who b { display: block; font-size: 15px; color: var(--ink); }
.avatar { display: grid; place-items: center; width: 42px; height: 42px; flex: none; border-radius: 50%; color: var(--gold-1); background: var(--ink); }
.avatar svg { width: 20px; height: 20px; }
.arrows { display: flex; gap: 10px; }

.faq-wrap { display: grid; grid-template-columns: 1fr 1.4fr; gap: 56px; align-items: start; }
.faq__cta { margin-top: 26px; }
.faq details { border-bottom: 1px solid var(--stroke); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px 0; font-weight: 700; font-size: 18px; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { position: relative; flex: none; width: 18px; height: 18px; }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 0; top: 50%; width: 100%; height: 2px; background: var(--gold-2); transition: transform .3s var(--ease); }
.faq summary i::after { transform: rotate(90deg); }
.faq details[open] summary i::after { transform: rotate(0); }
.faq summary:hover { color: var(--gold-1); }
.faq details p { padding: 0 40px 22px 0; line-height: 1.65; color: var(--muted); }

.contacts-grid { display: grid; grid-template-columns: .85fr 1.4fr; gap: 20px; }
.info { display: flex; flex-direction: column; gap: 24px; padding: 32px; border-radius: 28px; background: #fff; box-shadow: inset 0 0 0 1px rgba(21, 19, 15, .06); }
.info__item { display: flex; gap: 14px; align-items: center; }
.info__item--top { align-items: flex-start; }
.info__ic { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--gold); color: var(--ink); }
.info__ic svg { width: 20px; height: 20px; }
.info__k { display: block; margin-bottom: 4px; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.info b { font-size: 17px; }
.info__phones { display: grid; gap: 4px; }
.info__phones a { font-size: 18px; font-weight: 800; }
.info__phones a:hover { color: var(--gold-3); }
.info__phones small { display: block; font-size: 12px; font-weight: 500; color: var(--ink-3); margin-top: -2px; }
.info__actions { display: grid; gap: 10px; margin-top: auto; }
.map { position: relative; min-height: 440px; border-radius: 28px; overflow: hidden; background: #e2ddd0; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map__ph { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 8px; color: var(--ink-3); }

/* ---------- Подвал ---------- */
.footer { position: relative; margin-top: -40px; padding: 96px 0 36px; border-radius: 44px 44px 0 0; background: linear-gradient(165deg, #1b1810 0%, #0c0b09 70%); box-shadow: inset 0 1px 0 var(--stroke); }
.cta { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; padding: 44px 48px; margin-bottom: 64px; border-radius: 36px; color: var(--ink); background: linear-gradient(135deg, #f6dd92 0%, #e2b443 55%, #b58620 100%); }
.cta__title { max-width: 18ch; font-size: clamp(26px, 2.6vw, 40px); font-weight: 900; line-height: 1.1; }
.cta__sub { margin-top: 10px; font-weight: 500; color: #4a3a12; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.footer__row { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 32px; }
.footer__brand { max-width: 320px; display: grid; gap: 14px; color: var(--muted); font-size: 15px; }
.footer__brand img { width: 170px; height: auto; }
.footer__nav { display: grid; grid-template-columns: repeat(2, auto); gap: 10px 40px; color: var(--muted); font-size: 15px; }
.footer__nav a:hover { color: var(--gold-1); }
.footer__col { display: grid; gap: 6px; color: var(--muted); font-size: 15px; }
.footer__phone { font-size: 26px; font-weight: 800; color: var(--text); }
.footer__copy { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--stroke); font-size: 13px; color: var(--muted-2); }
.footer__copy a { text-decoration: underline; text-underline-offset: 3px; }
.dock { display: none; }

/* =====================================================================
   КАРТОЧКА АВТО + БРОНИРОВАНИЕ (боковая панель)
   ===================================================================== */
.sheet { position: fixed; inset: 0; z-index: 90; display: flex; justify-content: flex-end; background: rgba(6, 5, 3, .6); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); opacity: 0; transition: opacity .3s; }
.sheet.is-open { opacity: 1; }
.sheet__panel { position: relative; width: min(640px, 100%); height: 100%; background: #0f0e0b; box-shadow: -30px 0 60px -20px #000, inset 1px 0 0 var(--stroke); transform: translateX(40px); transition: transform .4s var(--ease); }
.sheet.is-open .sheet__panel { transform: none; }
.sheet__scroll { height: 100%; overflow-y: auto; overscroll-behavior: contain; padding-bottom: 40px; }
.sheet__x { position: absolute; z-index: 5; right: 16px; top: 16px; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: var(--ink); background: rgba(255, 255, 255, .92); box-shadow: 0 6px 16px -6px rgba(0, 0, 0, .5); }
.sheet__x:hover { background: #fff; }

.gal { position: relative; background: linear-gradient(180deg, #f6f4ef, #e3dfd4); }
.gal__main { position: relative; aspect-ratio: 16 / 10; display: grid; place-items: center; overflow: hidden; }
.gal__main img { width: 100%; height: 100%; object-fit: contain; padding: 44px 34px 22px; }
.gal__main img.is-photo { object-fit: cover; padding: 0; }
.gal__nav { position: absolute; top: 50%; translate: 0 -50%; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .9); color: var(--ink); box-shadow: 0 6px 14px -6px rgba(0, 0, 0, .45); }
.gal__nav svg { width: 18px; height: 18px; }
.gal__nav--l { left: 14px; } .gal__nav--r { right: 14px; }
.gal__thumbs { display: flex; gap: 8px; padding: 10px 14px 14px; overflow-x: auto; scrollbar-width: none; }
.gal__thumbs button { flex: none; width: 76px; height: 50px; border-radius: 10px; overflow: hidden; opacity: .6; box-shadow: inset 0 0 0 2px transparent; transition: .2s; background: #ddd8cc; }
.gal__thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.gal__thumbs button img.cut { object-fit: contain; padding: 4px; }
.gal__thumbs button.is-on { opacity: 1; box-shadow: 0 0 0 2px var(--gold-3); }

.sh { padding: 24px 28px 0; display: grid; gap: 22px; }
.sh__head { display: grid; gap: 6px; }
.sh__cls { font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-2); }
.sh__name { font-size: clamp(26px, 3vw, 34px); font-weight: 900; line-height: 1.1; }
.sh__note { font-size: 14px; color: var(--muted); }
.sh__specs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.sh__specs div { padding: 12px 14px; border-radius: 16px; background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px var(--stroke); }
.sh__specs span { display: block; font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.sh__specs b { font-size: 15px; }
.sh__block { display: grid; gap: 12px; }
.sh__h { font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.tiers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.tiers div { padding: 10px 8px; border-radius: 14px; text-align: center; box-shadow: inset 0 0 0 1px var(--stroke); transition: .25s; }
.tiers div.is-on { box-shadow: inset 0 0 0 1.5px var(--gold-2); background: rgba(226, 180, 67, .1); }
.tiers span { display: block; font-size: 12px; color: var(--muted); }
.tiers b { font-size: 16px; font-weight: 800; white-space: nowrap; }
.tiers small { display: block; font-size: 11.5px; color: var(--gold-2); font-weight: 700; }
.incl { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--muted); }
.incl span { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 99px; box-shadow: inset 0 0 0 1px var(--stroke); }
.incl svg { width: 14px; height: 14px; color: var(--gold-2); }

.extras { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ex { position: relative; }
.ex input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.ex span { display: grid; grid-template-columns: 20px 1fr; align-items: center; gap: 2px 10px; min-height: 58px; padding: 9px 12px; border-radius: 14px; font-size: 13.5px; font-weight: 600; line-height: 1.25; box-shadow: inset 0 0 0 1px var(--stroke); transition: .2s; }
.ex i { grid-row: 1 / span 2; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 6px; box-shadow: inset 0 0 0 1.5px var(--stroke-2); }
.ex i svg { width: 14px; height: 14px; color: var(--ink); opacity: 0; }
.ex small { font-size: 12px; font-weight: 500; color: var(--muted); }
.ex input:checked + span { box-shadow: inset 0 0 0 1.5px var(--gold-2); background: rgba(226, 180, 67, .08); }
.ex input:checked + span i { background: var(--gold); box-shadow: none; }
.ex input:checked + span i svg { opacity: 1; }
.ex input:focus-visible + span { outline: 2px solid var(--gold-2); outline-offset: 2px; }

.field { width: 100%; height: 52px; padding: 0 18px; border: 0; outline: 0; border-radius: 16px; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px var(--stroke); font-size: 15px; font-weight: 500; color: var(--text); transition: box-shadow .2s; }
textarea.field { height: 84px; padding: 14px 18px; resize: vertical; }
.field::placeholder { color: var(--muted-2); }
.field:focus { box-shadow: inset 0 0 0 1.5px var(--gold-2); }
.field.is-bad { box-shadow: inset 0 0 0 1.5px #ff8a70; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

.sum { display: grid; gap: 0; padding: 18px 20px; border-radius: 20px; background: linear-gradient(160deg, #262013, #15120c); box-shadow: inset 0 0 0 1px var(--stroke-2); }
.sum__row { display: flex; justify-content: space-between; gap: 14px; padding: 7px 0; font-size: 14px; color: var(--muted); }
.sum__row b { color: var(--text); font-weight: 600; white-space: nowrap; }
.sum__row.is-disc b { color: #9fe0a0; }
.sum__total { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; margin-top: 8px; padding-top: 14px; border-top: 1px solid var(--stroke); }
.sum__total span { font-size: 15px; font-weight: 700; }
.sum__total b { font-size: 30px; font-weight: 900; white-space: nowrap; }
.sum__dep { margin-top: 6px; font-size: 13px; color: var(--muted); }
.sh__submit { position: sticky; bottom: 0; z-index: 2; display: grid; gap: 6px; margin: 0 -28px; padding: 12px 28px 14px; background: rgba(15, 14, 11, .96); box-shadow: 0 -1px 0 var(--stroke); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.sh__submit .form-status:empty { display: none; }
.form-status { min-height: 1.2em; font-size: 13.5px; text-align: center; }
.form-status.is-err { color: #ff9f8a; }
.form-status.is-ok { color: var(--gold-1); }
.consent { font-size: 12px; line-height: 1.4; text-align: center; color: var(--muted); }
.consent a { text-decoration: underline; }

.done { display: grid; justify-items: center; gap: 14px; padding: 60px 28px 30px; text-align: center; }
.done__ic { display: grid; place-items: center; width: 76px; height: 76px; border-radius: 50%; background: var(--gold); color: var(--ink); animation: pop .5s var(--ease); }
.done__ic svg { width: 36px; height: 36px; }
.done h3 { font-size: 28px; font-weight: 900; line-height: 1.15; }
.done p { max-width: 40ch; color: var(--muted); }
.done__num { font-weight: 800; color: var(--gold-1); }
.done__list { width: 100%; max-width: 420px; display: grid; gap: 4px; margin: 6px 0; padding: 16px 18px; border-radius: 18px; text-align: left; font-size: 14px; box-shadow: inset 0 0 0 1px var(--stroke); }
.done__list div { display: flex; justify-content: space-between; gap: 12px; color: var(--muted); }
.done__list b { color: var(--text); text-align: right; }
.done .btn { width: 100%; max-width: 420px; }

/* окно обратного звонка */
.modal { margin: auto; padding: 0; border: 0; background: transparent; color: var(--text); width: min(440px, calc(100vw - 32px)); overflow: visible; }
.modal::backdrop { background: rgba(5, 4, 2, .7); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.modal[open] { animation: pop .35s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(16px) scale(.97); } }
.modal__box { position: relative; padding: 36px 30px 26px; border-radius: 30px; background: radial-gradient(ellipse 80% 40% at 100% 0%, rgba(226, 180, 67, .18), transparent 70%), linear-gradient(160deg, #262013 0%, #100e0a 72%); box-shadow: inset 0 0 0 1px var(--stroke-2), 0 30px 60px -20px #000; }
.modal__box h2 { font-size: 28px; font-weight: 900; line-height: 1.15; padding-right: 30px; }
.modal__sub { margin: 6px 0 20px; color: var(--gold-1); font-weight: 500; }
.modal__x { position: absolute; right: 16px; top: 16px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: var(--gold-1); box-shadow: inset 0 0 0 1px var(--stroke); }
.modal__x:hover { background: rgba(226, 180, 67, .15); }
.modal__form { display: grid; gap: 8px; }
.modal__form .btn { margin-top: 10px; }

.toast { position: fixed; z-index: 120; left: 50%; bottom: 24px; translate: -50% 20px; max-width: calc(100vw - 32px); padding: 12px 20px; border-radius: 99px; font-size: 14px; font-weight: 600; color: var(--ink); background: var(--gold); box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .6); opacity: 0; pointer-events: none; transition: .3s var(--ease); }
.toast.is-on { opacity: 1; translate: -50% 0; }

/* =====================================================================
   АДАПТИВ
   ===================================================================== */
@media (min-width: 1700px) { .cat-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

@media (max-width: 1320px) {
  .logo img { width: 140px; }
  .callbar__phone span { display: none; }
  .callbar__phone { padding: 0 14px; }
  .srv-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1180px) {
  .hero__grid { grid-template-columns: 1fr; gap: 6px; }
  .slider { height: clamp(420px, 56vw, 600px); }
  .hero__grid > .finder { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 24px; min-height: 0; }
  .finder__title, .finder .seg, .finder .fg, .finder .trip, .finder .btn, .finder__alt { grid-column: 1 / -1; }
  .finder .seg { max-width: 420px; }
  .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .perks__grid { grid-template-columns: repeat(2, 1fr); }
  .offers__grid { grid-template-columns: 1fr; }
  .price-card { order: 2; }
  .stage { min-height: 460px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .terms-grid { grid-template-columns: 1fr 1fr; }
  .terms-grid .panel:last-child { grid-column: 1 / -1; }
  .faq-wrap, .contacts-grid, .biz { grid-template-columns: 1fr; }
  .biz__img { height: 300px; }
  .trip--bar, .trip--bar.is-driver { grid-template-columns: 1fr 1fr; }
  .trip--bar .trip__sum { grid-column: 1 / -1; min-height: 48px; }
}

/* планшеты и телефоны: табло прячется в бургер */
@media (max-width: 1060px) {
  :root { --header-h: 68px; }
  .tablo, .callbar, .dd { display: none; }
  .icon-btn { display: grid; }
  .icon-btn--phone { margin-left: auto; }
  .burger i, .burger i::before, .burger i::after { display: block; width: 18px; height: 2px; background: var(--gold-1); transition: transform .3s, background .3s; }
  .burger i { position: relative; }
  .burger i::before, .burger i::after { content: ""; position: absolute; left: 0; }
  .burger i::before { top: -6px; } .burger i::after { top: 6px; }
  .burger[aria-expanded="true"] i { background: transparent; }
  .burger[aria-expanded="true"] i::before { transform: translateY(6px) rotate(45deg); }
  .burger[aria-expanded="true"] i::after { transform: translateY(-6px) rotate(-45deg); }
  .header { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(12, 11, 9, .97); }
}

@media (max-width: 720px) {
  body { padding-bottom: 76px; }
  .logo img { width: 128px; }
  .sec, .offers { margin-top: -28px; padding: 64px 0 84px; border-radius: 28px 28px 0 0; }
  .footer { margin-top: -28px; padding-top: 64px; border-radius: 28px 28px 0 0; }
  .sec-head { margin-bottom: 26px; }
  .sec-head--row { align-items: flex-start; }
  .slider { height: 480px; border-radius: 24px; }
  .slide::before { background: linear-gradient(180deg, rgba(10, 9, 6, .88) 0%, rgba(10, 9, 6, .45) 42%, transparent 70%); }
  .hero__grid > .finder { display: flex; padding: 24px 18px 20px; border-radius: 24px; }
  .trip { grid-template-columns: 1fr; }
  .place { grid-template-columns: 1fr 1fr; }
  .perks { padding-bottom: 64px; }
  .perks__grid { grid-template-columns: 1fr; gap: 10px; }
  .perk { padding: 16px; }
  .stage { grid-template-rows: 64px 260px 56px; min-height: 0; }
  .brand img.lada { height: 44px; } .brand img.aura { height: 32px; }
  .brand__mark { display: none; }
  .layer--photo .layer__car img { width: 100%; max-height: 260px; -webkit-mask-image: none; mask-image: none; }
  .layer__ghost { font-size: 80px; }
  .price-card { padding: 22px 18px; }
  .spec__val { min-width: 104px; }
  .seg--light { width: 100%; }
  .trip--bar, .trip--bar.is-driver { grid-template-columns: 1fr; }
  .toolbar__row { flex-direction: column; flex-wrap: nowrap; align-items: stretch; }
  .fchips { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--pad) * -1); padding: 2px var(--pad); scrollbar-width: none; }
  .fchips::-webkit-scrollbar { display: none; }
  .fchip { flex: none; }
  .toolbar__sel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .sel select { text-overflow: ellipsis; }
  .sel select { width: 100%; }
  .cat-grid, .srv-grid, .steps, .terms-grid { grid-template-columns: 1fr; }
  .terms-grid .panel:last-child { grid-column: auto; }
  .car__name { font-size: 20px; }
  .biz { padding: 20px; gap: 24px; border-radius: 26px; }
  .biz__img { height: 220px; }
  .biz__actions .btn { width: 100%; }
  .arrows { display: none; }
  .faq summary { font-size: 16px; }
  .faq details p { padding-right: 0; }
  .info { padding: 22px; }
  .map { min-height: 320px; }
  .cta { padding: 28px 22px; border-radius: 26px; margin-bottom: 44px; }
  .cta__actions, .cta__actions .btn { width: 100%; }
  .footer__row { flex-direction: column; }
  .dock { position: fixed; z-index: 70; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: 1fr 1.3fr; gap: 10px; padding: 10px var(--pad) calc(10px + env(safe-area-inset-bottom)); background: rgba(12, 11, 9, .95); box-shadow: 0 -1px 0 var(--stroke); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
  .dock .btn { height: 48px; padding: 0 14px; }
  .sheet__panel { width: 100%; }
  .sh { padding: 20px 18px 0; }
  .sh__submit { margin: 0 -18px; padding: 12px 18px 16px; }
  .sh__specs { grid-template-columns: 1fr 1fr; }
  .tiers { grid-template-columns: 1fr 1fr; }
  .extras { grid-template-columns: 1fr; }
  .row2 { grid-template-columns: 1fr; }
  .modal__box { padding: 30px 20px 20px; }
}

@media (max-width: 380px) {
  .chip span { padding: 0 12px; }
  .btn { padding: 0 18px; }
  .place { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
}

/* ---------- соцсети ---------- */
.info__social, .footer__social { display: flex; flex-wrap: wrap; gap: 10px; }
.info__social .btn { flex: 1; }
.sec-title, .finder__title { white-space: pre-line; }

/* =====================================================================
   НОВОСТИ — карточки (главная, список, «другие новости»)
   ===================================================================== */
.news-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); grid-auto-rows: minmax(0, auto); gap: 20px; }
.news-grid.is-single { grid-template-columns: minmax(0, 1fr); }
.nc { position: relative; display: flex; flex-direction: column; min-width: 0; border-radius: var(--r-lg); overflow: hidden; background: var(--card); box-shadow: inset 0 0 0 1px var(--stroke); isolation: isolate; transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.nc:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px var(--stroke-2), 0 30px 60px -30px rgba(0, 0, 0, .8); }
.nc__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: radial-gradient(ellipse 70% 70% at 55% 60%, rgba(226, 180, 67, .28), transparent 70%), linear-gradient(135deg, #221d12, #0e0d0a); }
.nc__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.nc__media.is-cut img { object-fit: contain; padding: 6% 8%; filter: drop-shadow(0 22px 22px rgba(0, 0, 0, .5)); }
.nc:hover .nc__media img { transform: scale(1.05); }
.nc__ph { position: absolute; inset: 0; display: grid; place-items: center; font-size: 42px; font-weight: 900; color: rgba(226, 180, 67, .35); }
.nc__body { display: flex; flex-direction: column; gap: 10px; flex: 1; padding: 20px 22px 22px; }
.nc__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font-size: 13px; font-weight: 500; color: var(--muted); }
.nc__tag { display: inline-flex; align-items: center; height: 26px; padding: 0 11px; border-radius: 99px; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--gold-1); background: rgba(226, 180, 67, .12); box-shadow: inset 0 0 0 1px var(--stroke-2); }
.nc__title { font-size: clamp(17px, 1.25vw, 20px); font-weight: 800; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.nc__ex { font-size: 14.5px; line-height: 1.55; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.nc__more { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 4px; font-size: 14px; font-weight: 700; color: var(--gold-2); }
.nc__more svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.nc:hover .nc__more svg { transform: translateX(4px); }

/* крупная новость: фото на всю карточку, текст поверх */
.nc--hero { grid-row: span var(--rows, 3); min-height: 520px; justify-content: flex-end; }
.nc--hero .nc__media { position: absolute; inset: 0; aspect-ratio: auto; z-index: -1; }
.nc--hero .nc__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(10, 9, 6, .55) 55%, rgba(10, 9, 6, .94) 100%); }
.nc--hero .nc__media.is-cut img { padding: 6% 8% 34%; object-position: 50% 30%; }
.nc--hero .nc__body { flex: none; padding: clamp(22px, 2.6vw, 40px); gap: 14px; }
.nc--hero .nc__title { font-size: clamp(24px, 2.3vw, 38px); font-weight: 900; line-height: 1.12; letter-spacing: -.01em; }
.nc--hero .nc__ex { font-size: 16px; color: rgba(246, 243, 234, .78); max-width: 52ch; }
.nc--hero .nc__meta { color: rgba(246, 243, 234, .75); }

/* новость в строку: фото слева */
.nc--row { flex-direction: row; }
.nc--row .nc__media { flex: 0 0 38%; aspect-ratio: auto; min-height: 168px; }
.nc--row .nc__body { padding: 18px 20px; gap: 8px; }
.nc--row .nc__title { -webkit-line-clamp: 2; font-size: clamp(16px, 1.1vw, 18px); }
.nc--row .nc__ex { -webkit-line-clamp: 2; font-size: 14px; }

/* на светлом фоне */
.sec--light .nc { background: #fff; color: var(--ink); box-shadow: 0 1px 0 rgba(21, 19, 15, .04), 0 18px 40px -28px rgba(21, 19, 15, .35); }
.sec--light .nc:hover { box-shadow: 0 30px 60px -30px rgba(21, 19, 15, .45); }
.sec--light .nc__meta, .sec--light .nc__ex { color: var(--ink-3); }
.sec--light .nc__tag { color: #7a5a14; background: rgba(226, 180, 67, .16); box-shadow: none; }
.sec--light .nc__more { color: var(--gold-3); }

/* =====================================================================
   СТРАНИЦА НОВОСТЕЙ
   ===================================================================== */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 28px; font-size: 14px; color: var(--muted); }
.crumbs a:hover { color: var(--gold-1); }
.crumbs b { font-weight: 600; color: var(--text); }
.np-hero { padding: clamp(32px, 5vw, 72px) 0 40px; }
.np-hero--empty { padding-bottom: 160px; }
.np-hero--empty .btn { margin-top: 28px; }
.np-tags { display: flex; gap: 8px; margin-top: 32px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
.np-tags::-webkit-scrollbar { display: none; }
.np-tag { flex: none; height: 40px; padding: 0 18px; border-radius: 99px; font-size: 14px; font-weight: 600; color: var(--text); background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px var(--stroke); transition: .25s var(--ease); }
.np-tag:hover { box-shadow: inset 0 0 0 1px var(--stroke-2); }
.np-tag.is-on { color: var(--ink); background: var(--gold); box-shadow: none; }
.np-list { padding-bottom: 140px; }
.np-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 24px; }
.np-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.np-grid .nc--wide { grid-column: 1 / -1; flex-direction: row; }
.np-grid .nc--wide .nc__media { flex: 0 0 58%; aspect-ratio: 16 / 9; }
.np-grid .nc--wide .nc__body { justify-content: center; padding: clamp(24px, 3vw, 48px); gap: 16px; }
.np-grid .nc--wide .nc__title { font-size: clamp(22px, 2vw, 34px); font-weight: 900; line-height: 1.15; }
.np-grid .nc--wide .nc__ex { font-size: 16px; -webkit-line-clamp: 4; }
.np-grid .nc--wide .nc__more { margin-top: 8px; }
.np-empty { color: var(--muted); }

/* статья */
.art__head { padding: clamp(28px, 4vw, 56px) 0 calc(40px + clamp(24px, 4vw, 56px)); }
.art__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; font-size: 14px; color: var(--muted); }
.art__title { margin-top: 18px; max-width: 24ch; font-weight: 900; font-size: clamp(30px, 4.2vw, 64px); line-height: 1.05; letter-spacing: -.015em; text-wrap: balance; }
.art__lead { margin-top: 20px; max-width: 60ch; font-size: clamp(16px, 1.35vw, 21px); line-height: 1.55; font-weight: 500; color: var(--gold-1); opacity: .9; }
.art__cover { margin: clamp(28px, 4vw, 48px) 0 0; aspect-ratio: 21 / 9; border-radius: var(--r-xl); overflow: hidden; background: radial-gradient(ellipse 60% 70% at 55% 60%, rgba(226, 180, 67, .28), transparent 70%), linear-gradient(135deg, #221d12, #0e0d0a); box-shadow: inset 0 0 0 1px var(--stroke); }
.art__cover img { width: 100%; height: 100%; object-fit: cover; }
.art__cover.is-cut img { object-fit: contain; padding: 4% 10%; filter: drop-shadow(0 30px 30px rgba(0, 0, 0, .55)); }
.art__sec { padding-top: clamp(56px, 6vw, 96px); }
.art__layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(32px, 5vw, 88px); align-items: start; }
.art__body { max-width: 720px; font-size: clamp(16px, 1.15vw, 18.5px); line-height: 1.75; color: var(--ink-2); }
.art__body > * + * { margin-top: 1.1em; }
.art__body h2 { margin-top: 1.8em; font-size: clamp(21px, 1.7vw, 28px); line-height: 1.2; font-weight: 800; color: var(--ink); }
.art__body ul { display: grid; gap: .55em; padding: 0; list-style: none; }
.art__body li { position: relative; padding-left: 30px; }
.art__body li::before { content: ""; position: absolute; left: 4px; top: .62em; width: 10px; height: 10px; border-radius: 3px; transform: rotate(45deg); background: var(--gold); }
.art__body p:first-child { font-size: 1.08em; color: var(--ink); }
.art__side { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 16px; }
.art__box { display: grid; gap: 14px; padding: 24px; border-radius: var(--r-lg); background: #fff; box-shadow: 0 18px 40px -28px rgba(21, 19, 15, .35); }
.art__box p { color: var(--ink-2); font-size: 15px; }
.art__box-t { font-size: 13px !important; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-3) !important; }
.art__box--gold { background: linear-gradient(135deg, #f6dd92 0%, #e2b443 55%, #b58620 100%); }
.art__box--gold .art__box-t { color: #5a4310 !important; }
.art__box--gold p { color: #3d300f; }
.art__share { display: flex; flex-wrap: wrap; gap: 8px; }
.art__share svg { width: 16px; height: 16px; }
.art__phone { justify-self: center; font-size: 20px; font-weight: 800; color: var(--ink); }
.art__more { margin-top: clamp(72px, 8vw, 120px); }
.art__more .sec-title { margin-top: 0; font-size: clamp(26px, 2.6vw, 40px); }
.tablo__link.is-current { color: var(--gold-1); }

@media (max-width: 1180px) {
  .news-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .nc--hero { grid-column: 1 / -1; grid-row: auto; min-height: 460px; }
  .nc--row { flex-direction: column; }
  .nc--row .nc__media { flex: none; aspect-ratio: 16 / 10; min-height: 0; }
  .news-grid .nc--row:last-child:nth-child(even) { grid-column: 1 / -1; }
  .art__layout { grid-template-columns: minmax(0, 1fr); }
  .art__side { position: static; grid-template-columns: 1fr 1fr; max-width: 760px; }
  .np-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .np-grid--3 .nc:nth-child(3) { display: none; }
}
@media (max-width: 860px) {
  .np-grid .nc--wide { flex-direction: column; }
  .np-grid .nc--wide .nc__media { flex: none; }
}
@media (max-width: 720px) {
  .news-grid { display: flex; gap: 14px; margin-inline: calc(var(--pad) * -1); padding-inline: var(--pad); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--pad); scrollbar-width: none; padding-bottom: 4px; }
  .news-grid::-webkit-scrollbar { display: none; }
  .news-grid > .nc { flex: 0 0 84%; scroll-snap-align: start; }
  .news-grid.is-single > .nc { flex-basis: 100%; }
  .nc--hero { min-height: 0; justify-content: flex-start; }
  .nc--hero .nc__media { position: relative; aspect-ratio: 16 / 10; z-index: 0; }
  .nc--hero .nc__media::after { display: none; }
  .nc--hero .nc__media.is-cut img { padding: 6% 8%; object-position: 50% 50%; }
  .nc--hero .nc__body { flex: 1; padding: 20px 22px 22px; gap: 10px; }
  .nc--hero .nc__title { font-size: 19px; font-weight: 800; }
  .nc--hero .nc__ex { font-size: 14.5px; color: var(--muted); }
  .nc--hero .nc__meta { color: var(--muted); }
  .art__cover { aspect-ratio: 4 / 3; border-radius: var(--r-lg); }
  .art__side { grid-template-columns: minmax(0, 1fr); }
  .np-grid--3 { grid-template-columns: minmax(0, 1fr); }
  .np-grid--3 .nc:nth-child(3) { display: flex; }
  .art__more .sec-head--row .btn { display: none; }
}
