/* CEKSAN 8 — лендинг АО «Автобау» */

/* ---------- Fonts (self-hosted, SIL Open Font License) ---------- */
@font-face {
  font-family: "Onest";
  src: url("../fonts/onest-cyrillic-wght-normal.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Onest";
  src: url("../fonts/onest-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Unbounded";
  src: url("../fonts/unbounded-cyrillic-wght-normal.woff2") format("woff2");
  font-weight: 200 900; font-style: normal; font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Unbounded";
  src: url("../fonts/unbounded-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 900; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Tokens ---------- */
:root {
  --ink: #111418;
  --ink-2: #191d23;
  --ink-3: #232931;
  --ink-line: rgba(255, 255, 255, .12);
  --paper: #f3f1eb;
  --paper-2: #e8e5dc;
  --white: #ffffff;
  --text: #15181d;
  --text-2: #4d5561;
  --text-inv: #f4f4f1;
  --text-inv-2: #a7aeb8;
  --line: #d9d5ca;
  --yellow: #ffc629;
  --yellow-hover: #ffd459;
  --on-yellow: #121212;
  --green: #005134;
  --ok: #39d98a;
  --winter: #7cc4ff;
  --error: #ff6b5b;

  --font-d: "Unbounded", "Arial Black", Arial, sans-serif;
  --font-t: "Onest", "Segoe UI", Roboto, Arial, sans-serif;

  --container: 1200px;
  --gutter: 24px;
  --radius: 4px;
  --header-h: 76px;
  --section-y: clamp(64px, 9vw, 112px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font: 400 17px/1.6 var(--font-t);
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3 { margin: 0; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
dl, dd { margin: 0; }
figure { margin: 0; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
.ico { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--yellow); color: var(--on-yellow); padding: 10px 16px; font-weight: 600; border-radius: var(--radius); }
.skip-link:focus { top: 12px; }

/* ---------- Typography ---------- */
.h2 {
  font: 700 clamp(28px, 3.6vw, 46px)/1.12 var(--font-d);
  letter-spacing: -.01em;
  margin-bottom: 20px;
  text-wrap: balance;
}
.h3 { font: 600 clamp(20px, 2vw, 24px)/1.25 var(--font-d); margin-bottom: 14px; }
.lead { font-size: clamp(17px, 1.5vw, 19px); line-height: 1.6; color: var(--text-2); }
.section--dark .lead, .hero .lead { color: var(--text-inv-2); }

/* Airport taxiway sign: location sign (yellow on black) + direction sign (black on yellow) */
.sign {
  display: inline-flex; align-items: stretch; margin: 0 0 22px;
  font: 600 12px/1 var(--font-d); letter-spacing: .08em; text-transform: uppercase;
  box-shadow: 0 1px 0 rgba(0, 0, 0, .15);
}
.sign__loc {
  display: grid; place-items: center; min-width: 34px; padding: 0 9px;
  background: #0d0f12; color: var(--yellow); border: 2px solid var(--yellow);
}
.sign__dir {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 12px;
  background: var(--yellow); color: var(--on-yellow);
}
.sign__dir .ico { width: 15px; height: 15px; stroke-width: 2.6; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 0 26px;
  font: 600 16px/1.2 var(--font-t); text-decoration: none; text-align: center;
  border: 0; border-radius: var(--radius);
  transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--ease);
}
.btn .ico { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.btn:hover .ico { transform: translateX(3px); }
.btn--primary { background: var(--yellow); color: var(--on-yellow); }
.btn--primary:hover { background: var(--yellow-hover); }
.btn--ghost { background: transparent; color: inherit; box-shadow: inset 0 0 0 1.5px currentColor; }
.btn--ghost:hover { background: rgba(255, 255, 255, .08); }
.btn--dark { background: var(--ink); color: var(--white); }
.btn--dark:hover { background: var(--ink-3); }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: 15px; }
.btn--wide { width: 100%; }
.btn:active { transform: translateY(1px); }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(17, 20, 24, .94);
  -webkit-backdrop-filter: saturate(140%) blur(10px); backdrop-filter: saturate(140%) blur(10px);
  color: var(--text-inv);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.header.is-scrolled { border-color: var(--ink-line); box-shadow: 0 8px 30px rgba(0, 0, 0, .25); }
.header__inner { display: flex; align-items: center; gap: 28px; height: var(--header-h); }
.header__brand { display: flex; align-items: center; gap: 14px; text-decoration: none; flex: none; }
.header__logo { width: 84px; height: auto; }
.header__product { display: flex; flex-direction: column; padding-left: 14px; border-left: 1px solid var(--ink-line); line-height: 1.2; }
.header__product b { font: 700 14px/1.2 var(--font-d); color: var(--yellow); letter-spacing: .02em; }
.header__product span { font-size: 13px; color: var(--text-inv-2); }

.nav { display: flex; align-items: center; gap: 22px; margin-left: auto; }
.nav a { font-size: 15px; font-weight: 500; text-decoration: none; color: var(--text-inv-2); transition: color .2s; white-space: nowrap; }
.nav a:hover, .nav a.is-current { color: var(--white); }
.nav__phone { display: none; }

.header__actions { display: flex; align-items: center; gap: 18px; flex: none; }
.header__phone { display: flex; flex-direction: column; align-items: flex-end; text-decoration: none; line-height: 1.2; }
.header__phone span { font-weight: 700; font-size: 16px; white-space: nowrap; }
.header__phone small { font-size: 12px; color: var(--text-inv-2); }
.burger { display: none; width: 44px; height: 44px; border: 0; border-radius: var(--radius); background: rgba(255, 255, 255, .08); color: var(--white); place-items: center; }
.burger .ico { width: 22px; height: 22px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(255, 198, 41, .10), transparent 60%),
    linear-gradient(180deg, #14181d 0%, #0f1215 100%);
  color: var(--text-inv);
  padding: clamp(48px, 7vw, 96px) 0 clamp(40px, 5vw, 64px);
}
.hero__taxiway { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: .5; }
.taxi-center { fill: none; stroke: var(--yellow); stroke-width: 5; opacity: .55; }
.taxi-edge { fill: none; stroke: var(--yellow); stroke-width: 2; stroke-dasharray: 18 14; opacity: .28; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero__title {
  font: 800 clamp(32px, 4.1vw, 56px)/1.08 var(--font-d);
  letter-spacing: -.02em; margin-bottom: 24px;
}
.hero__lead { font-size: clamp(17px, 1.55vw, 20px); color: var(--text-inv-2); max-width: 36em; margin-bottom: 32px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 18px; }
.hero__note { font-size: 14px; color: var(--text-inv-2); margin: 0; }
.hero__media figcaption { margin-top: 12px; font-size: 13px; color: var(--text-inv-2); }
.hero__photo { position: relative; padding: 10px; }
.hero__photo img { width: 100%; border-radius: 2px; box-shadow: 0 30px 60px rgba(0, 0, 0, .45); }
.corner { position: absolute; width: 26px; height: 26px; border-color: var(--yellow); border-style: solid; border-width: 0; }
.corner--tl { top: 0; left: 0; border-top-width: 3px; border-left-width: 3px; }
.corner--tr { top: 0; right: 0; border-top-width: 3px; border-right-width: 3px; }
.corner--bl { bottom: 0; left: 0; border-bottom-width: 3px; border-left-width: 3px; }
.corner--br { bottom: 0; right: 0; border-bottom-width: 3px; border-right-width: 3px; }

.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin-top: clamp(40px, 6vw, 72px); border-top: 1px solid var(--ink-line); }
.stat { padding: 26px 24px 0 0; display: flex; flex-direction: column; gap: 8px; }
.stat + .stat { padding-left: 24px; border-left: 1px solid var(--ink-line); }
.stat__num { font: 700 clamp(30px, 3.3vw, 44px)/1 var(--font-d); color: var(--yellow); white-space: nowrap; }
.stat span { font-size: 14px; line-height: 1.45; color: var(--text-inv-2); max-width: 22em; }

/* ---------- Trust strip ---------- */
.trust { background: var(--yellow); color: var(--on-yellow); }
.trust__list { display: grid; grid-template-columns: repeat(4, auto); justify-content: space-between; gap: 12px 24px; padding-top: 18px; padding-bottom: 18px; }
.trust__list li { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; }
@media (min-width: 1181px) { .trust__list li { white-space: nowrap; } }
.trust__list .ico { width: 18px; height: 18px; stroke-width: 3; }

/* ---------- Sections ---------- */
.section { padding: var(--section-y) 0; position: relative; }
.section--paper { background: var(--paper); }
.section--white { background: var(--white); }
.section--dark { background: var(--ink); color: var(--text-inv); }
.section + .section:not(.section--dark):not(.section--paper):not(.section--white) { border-top: 1px solid var(--line); }
.section-head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head--row { max-width: none; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: 24px 64px; align-items: end; }
.section-head--row .lead { margin-bottom: 20px; }
.section-head__aside { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding-bottom: 20px; }
.section-head__aside p { margin: 0; color: var(--text-2); }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.split--reverse .split__text { order: 2; }
.split__media { display: flex; flex-direction: column; gap: 24px; }
.framed__img { position: relative; display: block; isolation: isolate; margin-right: 14px; }
.framed__img img { width: 100%; border-radius: var(--radius); }
.framed__img::before { content: ""; position: absolute; inset: 14px -14px -14px 14px; border: 2px solid var(--yellow); border-radius: var(--radius); z-index: -1; }
.framed figcaption { margin-top: 26px; }
.framed figcaption, .panel__media figcaption { margin-top: 12px; font-size: 13px; color: var(--text-2); }

/* Problem */
.pains { display: grid; gap: 12px; margin-top: 28px; }
.pain { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding: 16px 18px; background: var(--white); border-left: 4px solid var(--yellow); border-radius: var(--radius); }
.pain b { font: 600 15px/1.4 var(--font-d); }
.pain span { color: var(--text-2); font-size: 15.5px; line-height: 1.5; }

/* ---------- Seasons (tabs) ---------- */
.seasons { overflow: hidden; }
.tabs { display: inline-flex; gap: 6px; padding: 6px; background: var(--ink-2); border: 1px solid var(--ink-line); border-radius: 8px; margin-bottom: 32px; }
.tab {
  display: flex; align-items: center; gap: 12px; padding: 12px 22px; border: 0; border-radius: 5px;
  background: transparent; color: var(--text-inv-2); font-size: 15px; text-align: left;
  transition: background-color .25s, color .25s;
}
.tab b { display: block; font: 700 16px/1.2 var(--font-d); color: var(--white); }
.tab .ico { width: 26px; height: 26px; }
.tab:hover { color: var(--white); }
.tab.is-active { background: var(--yellow); color: var(--on-yellow); }
.tab.is-active b { color: var(--on-yellow); }
#tab-winter.is-active { background: var(--winter); }
.panel { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.panel[hidden] { display: none; }
.panel.is-active { animation: panelIn .45s var(--ease); }
@keyframes panelIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.panel__text > p { color: var(--text-inv-2); }
.panel__media img { width: 100%; border-radius: var(--radius); }
.panel__media figcaption { color: var(--text-inv-2); }
.panel__media--duo { display: grid; gap: 16px; }
.panel__photo img { width: 100%; border-radius: var(--radius); }
.panel__scheme { display: grid; grid-template-columns: minmax(0, 190px) minmax(0, 1fr); gap: 18px; align-items: center; padding: 14px 20px 14px 14px; background: var(--white); border-radius: 8px; }
.panel__scheme img { width: 100%; border-radius: 0; }
.panel__media .panel__scheme figcaption { margin: 0; font-size: 14px; line-height: 1.45; color: var(--text-2); }
.panel__scheme figcaption b { display: block; margin-bottom: 4px; font: 600 15px/1.3 var(--font-d); color: var(--text); }

/* key–value lists */
.kv { display: grid; margin-top: 24px; border-top: 1px solid var(--ink-line); }
.kv > div { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--ink-line); }
.kv dt { color: var(--text-inv-2); font-size: 15px; }
.kv dd { font-weight: 600; font-size: 15px; font-variant-numeric: tabular-nums; }
.kv--compact > div { padding: 9px 0; }
.panel--winter .kv dd { color: var(--white); }

/* ---------- Advantages ---------- */
.adv { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.adv__item { background: var(--white); padding: 30px 26px 32px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background-color .25s, opacity .7s var(--ease), transform .7s var(--ease); }
.adv__item:hover { background: #fffbef; }
.adv__num { display: inline-block; font: 700 14px/1 var(--font-d); color: var(--on-yellow); background: var(--yellow); padding: 7px 9px; margin-bottom: 22px; }
.adv__item h3 { font: 600 17px/1.3 var(--font-d); margin-bottom: 12px; }
.adv__item p { margin: 0; font-size: 15.5px; line-height: 1.55; color: var(--text-2); }

/* ---------- Specs ---------- */
.specs { columns: 2; column-gap: 28px; }
.spec { break-inside: avoid; margin: 0 0 24px; border: 1px solid var(--line); border-radius: 6px; background: var(--white); }
.spec summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 16px 52px 16px 20px; font: 600 16px/1.3 var(--font-d);
  border-bottom: 1px solid transparent;
}
.spec summary::-webkit-details-marker { display: none; }
.spec summary::after {
  content: ""; position: absolute; right: 20px; top: 50%; width: 10px; height: 10px; margin-top: -7px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform .2s;
}
.spec[open] summary { border-bottom-color: var(--line); }
.spec[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.spec--winter summary { box-shadow: inset 4px 0 0 var(--winter); }
.spec--summer summary { box-shadow: inset 4px 0 0 var(--yellow); }
.spec dl { padding: 4px 20px 10px; }
.spec dl > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; padding: 10px 0; border-bottom: 1px dashed var(--line); font-size: 15px; }
.spec dl > div:last-child { border-bottom: 0; }
.spec dt { color: var(--text-2); }
.spec dd { font-weight: 600; font-variant-numeric: tabular-nums; }
.footnote { font-size: 13px; color: var(--text-2); margin: 8px 0 0; max-width: 60em; }

/* ---------- Options ---------- */
.options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.option { display: flex; flex-direction: column; background: var(--ink-2); border: 1px solid var(--ink-line); border-radius: 8px; overflow: hidden; }
.option__media { aspect-ratio: 3 / 2; overflow: hidden; background: #000; }
.option__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.option:hover .option__media img { transform: scale(1.03); }
.option__body { display: flex; flex-direction: column; flex: 1; padding: clamp(22px, 3vw, 34px); }
.option__body > p { color: var(--text-inv-2); font-size: 16px; }
.option__body .kv { margin: 8px 0 28px; }
.option__body .btn { margin-top: auto; align-self: flex-start; }

/* ---------- Departure board ---------- */
.board {
  background: #0b0d10; color: #f2f2ee; border-radius: 10px; padding: 18px 20px 10px;
  box-shadow: 0 30px 60px rgba(17, 20, 24, .25), inset 0 0 0 1px rgba(255, 255, 255, .06);
  overflow-x: auto;
}
.board__top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 4px 4px 14px; border-bottom: 2px solid var(--yellow); }
.board__title { font: 600 13px/1 var(--font-d); letter-spacing: .1em; text-transform: uppercase; color: var(--yellow); }
.board__clock { display: inline-flex; align-items: center; gap: 8px; font: 600 15px/1 var(--font-d); color: var(--yellow); font-variant-numeric: tabular-nums; }
.board__clock .ico { width: 16px; height: 16px; }
.board__table { width: 100%; border-collapse: separate; border-spacing: 0 6px; min-width: 640px; }
.board__table th { text-align: left; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #8d949e; padding: 10px 12px 2px; }
.board__table td {
  padding: 11px 12px; font-weight: 600; font-size: 16px; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap;
  background: linear-gradient(180deg, #171a1f 0 49%, #0b0d10 49% 51%, #14171b 51% 100%);
  font-variant-numeric: tabular-nums;
}
.board__table td:first-child { color: var(--yellow); border-radius: 4px 0 0 4px; }
.board__table td:last-child { border-radius: 0 4px 4px 0; }
.board__table td + td { box-shadow: inset 2px 0 0 #0b0d10; }
.board__status { display: inline-flex; align-items: center; gap: 8px; color: var(--ok); }
.board__status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 10px currentColor; animation: blink 2.4s infinite; }
@keyframes blink { 50% { opacity: .35; } }

.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 40px; }
.facts li { display: flex; flex-direction: column; gap: 8px; padding-top: 18px; border-top: 3px solid var(--ink); }
.facts b { font: 700 clamp(28px, 3vw, 38px)/1 var(--font-d); }
.facts span { color: var(--text-2); font-size: 15.5px; line-height: 1.5; }

/* ---------- Service ---------- */
.service { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 28px; margin: 28px 0 30px; }
.service li { display: flex; flex-direction: column; gap: 6px; padding-left: 18px; border-left: 3px solid var(--yellow); }
.service b { font: 600 16px/1.3 var(--font-d); }
.service span { font-size: 15.5px; line-height: 1.5; color: var(--text-2); }
.warranty { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); background: var(--ink); color: var(--text-inv); border-radius: 8px; overflow: hidden; }
.warranty > div { display: flex; flex-direction: column; gap: 6px; padding: 22px 24px; }
.warranty > div + div { border-left: 1px solid var(--ink-line); }
.warranty b { font: 700 19px/1.2 var(--font-d); color: var(--yellow); }
.warranty span { font-size: 14px; color: var(--text-inv-2); }
.base-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 12px; }
.base-facts li { display: flex; flex-direction: column; gap: 4px; }
.base-facts b { font: 700 20px/1.2 var(--font-d); }
.base-facts span { font-size: 14px; color: var(--text-2); line-height: 1.4; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0; counter-reset: s; position: relative; }
.steps::before { content: ""; position: absolute; left: 0; right: 0; top: 23px; height: 3px; background: repeating-linear-gradient(90deg, var(--yellow) 0 22px, transparent 22px 36px); opacity: .7; }
.step { position: relative; padding-right: 20px; }
.step__num { position: relative; display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 22px; font: 700 18px/1 var(--font-d); background: var(--ink); color: var(--yellow); border: 2px solid var(--yellow); border-radius: 50%; }
.step h3 { font: 600 17px/1.3 var(--font-d); margin-bottom: 10px; }
.step p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--text-inv-2); }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.gallery__item { position: relative; display: block; overflow: hidden; border-radius: var(--radius); background: var(--paper-2); aspect-ratio: 3 / 2; }
.gallery__item--big { grid-column: span 2; grid-row: span 2; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease), filter .3s; }
.gallery__item::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 0 var(--yellow); transition: box-shadow .25s; }
.gallery__item:hover img { transform: scale(1.04); }
.gallery__item:hover::after, .gallery__item:focus-visible::after { box-shadow: inset 0 0 0 4px var(--yellow); }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.faq-wrap__head { position: sticky; top: calc(var(--header-h) + 32px); }
.faq-wrap__head p:last-child { color: var(--text-2); }
.faq-wrap__head a { font-weight: 600; white-space: nowrap; }
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  list-style: none; cursor: pointer; position: relative; padding: 22px 56px 22px 0;
  font: 600 17px/1.4 var(--font-t);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::before, .faq__item summary::after {
  content: ""; position: absolute; right: 10px; top: 50%; width: 18px; height: 2px; background: var(--text); transition: transform .25s var(--ease);
}
.faq__item summary::after { transform: rotate(90deg); }
.faq__item[open] summary::after { transform: rotate(0); }
.faq__item summary:hover { color: #6d5200; }
.faq__item div { padding: 0 48px 20px 0; color: var(--text-2); }
.faq__item div p { margin: 0; }

/* ---------- Lead form ---------- */
.lead-section { background: radial-gradient(900px 500px at 100% 0%, rgba(255, 198, 41, .12), transparent 60%), var(--ink); }
.lead-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.form { margin-top: 32px; }
.form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; border: 0; margin: 0; padding: 0; }
.field--wide { grid-column: 1 / -1; }
.field__label { font-size: 14px; font-weight: 500; color: var(--text-inv-2); padding: 0; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 13px 16px; font-size: 16px;
  background: var(--ink-2); color: var(--white);
  border: 1.5px solid #343b45; border-radius: var(--radius);
  transition: border-color .2s, background-color .2s;
}
.field textarea { resize: vertical; min-height: 96px; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--text-inv-2) 50%), linear-gradient(135deg, var(--text-inv-2) 50%, transparent 50%); background-position: calc(100% - 22px) 23px, calc(100% - 16px) 23px; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 44px; }
.field select option { background: var(--ink-2); color: var(--white); }
.field input::placeholder, .field textarea::placeholder { color: #707884; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #4a525e; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--yellow); background: #1d2229; }
.field.is-invalid input, .consent.is-invalid span::before { border-color: var(--error); }
.checks { flex-direction: row; flex-wrap: wrap; gap: 10px 24px; }
.checks legend { width: 100%; margin-bottom: 8px; }
.check, .consent { position: relative; display: inline-flex; align-items: flex-start; gap: 12px; cursor: pointer; font-size: 15px; line-height: 1.45; }
.check input, .consent input { position: absolute; opacity: 0; width: 22px; height: 22px; margin: 0; }
.check span::before, .consent span::before {
  content: ""; flex: none; display: inline-block; width: 22px; height: 22px; margin-right: 12px; vertical-align: -6px;
  border: 1.5px solid #4a525e; border-radius: 3px; background: var(--ink-2) center / 14px no-repeat;
  transition: background-color .15s, border-color .15s;
}
.check input:checked + span::before, .consent input:checked + span::before {
  background-color: var(--yellow); border-color: var(--yellow);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23121212' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}
.check input:focus-visible + span::before, .consent input:focus-visible + span::before { outline: 3px solid var(--yellow); outline-offset: 2px; }
.check span, .consent span { display: block; padding-left: 34px; text-indent: -34px; }
.consent { margin: 22px 0 22px; color: var(--text-inv-2); font-size: 14px; }
.consent a { color: var(--white); }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__status { margin: 14px 0 0; min-height: 1.5em; font-size: 15px; }
.form__status.is-error { color: var(--error); }
.form__status.is-ok { color: var(--ok); }
.form.is-sending button[type=submit] { opacity: .7; pointer-events: none; }
.form-success { margin-top: 32px; padding: 28px; border: 2px solid var(--ok); border-radius: 8px; background: rgba(57, 217, 138, .06); }
.form-success b { display: block; font: 700 22px/1.3 var(--font-d); margin-bottom: 8px; }
.form-success p { margin: 0; color: var(--text-inv-2); }

.contact-card { background: var(--ink-2); border: 1px solid var(--ink-line); border-top: 4px solid var(--yellow); border-radius: 8px; padding: 30px 28px; margin-top: 8px; }
.contact-card__eyebrow { font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: var(--yellow); font-weight: 600; margin-bottom: 14px; }
.contact-card__name { font: 700 22px/1.25 var(--font-d); margin-bottom: 6px; }
.contact-card__role { color: var(--text-inv-2); font-size: 15px; }
.contact-card__list { display: grid; gap: 14px; margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--ink-line); }
.contact-card__list li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; line-height: 1.45; }
.contact-card__list .ico { color: var(--yellow); margin-top: 1px; }
.contact-card__list a { text-decoration: none; font-weight: 600; }
.contact-card__list a:hover { color: var(--yellow); }
.contact-card__list span { color: var(--text-inv-2); }

/* ---------- Footer ---------- */
.footer { background: #0a0c0f; color: var(--text-inv-2); padding: 56px 0 28px; font-size: 15px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; padding-bottom: 32px; border-bottom: 1px solid var(--ink-line); }
.footer__brand img { width: 120px; margin-bottom: 16px; }
.footer__brand p { max-width: 30em; margin: 0; }
.footer__nav, .footer__contacts { display: flex; flex-direction: column; gap: 10px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--yellow); }
.footer__contacts a { color: var(--text-inv); font-weight: 500; }
.footer__legal { display: grid; gap: 6px; padding-top: 22px; font-size: 13px; }
.footer__legal p { margin: 0; }
.footer__legal a { text-decoration: underline; }

/* ---------- Mobile bar ---------- */
.mobile-bar { display: none; }

/* ---------- Modal ---------- */
.modal { width: min(520px, calc(100% - 32px)); max-height: calc(100% - 32px); padding: 0; border: 0; border-radius: 10px; background: var(--ink); color: var(--text-inv); box-shadow: 0 40px 80px rgba(0, 0, 0, .5); }
.modal::backdrop { background: rgba(8, 10, 12, .72); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.modal[open] { animation: modalIn .3s var(--ease); }
@keyframes modalIn { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }
.modal__box { position: relative; padding: 36px 32px 28px; border-top: 4px solid var(--yellow); }
.modal__close { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .08); color: var(--white); }
.modal__close:hover { background: rgba(255, 255, 255, .16); }
.modal__title { font: 700 24px/1.2 var(--font-d); margin-bottom: 10px; padding-right: 32px; }
.modal__text { color: var(--text-inv-2); }
.form--modal { margin-top: 20px; display: grid; gap: 16px; }
.form--modal .consent { margin: 4px 0; }
.modal .sign { margin-bottom: 18px; }
.modal__option { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 4px; padding: 6px 12px; border-radius: 99px; background: rgba(255, 198, 41, .14); color: var(--yellow); font-size: 14px; font-weight: 600; }
.modal__option[hidden] { display: none; }
body.modal-open { overflow: hidden; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 100; display: grid; grid-template-columns: 64px minmax(0, 1fr) 64px; align-items: center; gap: 8px; padding: 24px; background: rgba(8, 10, 12, .94); }
.lightbox[hidden] { display: none; }
.lightbox__figure { display: flex; flex-direction: column; align-items: center; gap: 14px; min-width: 0; }
.lightbox__figure img { max-width: min(100%, 960px); max-height: calc(100vh - 140px); width: auto; border-radius: var(--radius); box-shadow: 0 20px 60px rgba(0, 0, 0, .6); }
.lightbox__figure figcaption { color: var(--text-inv-2); font-size: 15px; text-align: center; }
.lightbox__btn { width: 52px; height: 52px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .1); color: var(--white); transition: background-color .2s; }
.lightbox__btn:hover { background: var(--yellow); color: var(--on-yellow); }
.lightbox__btn .ico { width: 24px; height: 24px; }
.lightbox__close { position: absolute; top: 18px; right: 18px; }

/* ---------- Cookie ---------- */
.cookie { position: fixed; left: 16px; bottom: 16px; z-index: 60; max-width: 420px; display: flex; gap: 16px; align-items: center; padding: 16px 18px; background: var(--ink-2); color: var(--text-inv-2); border: 1px solid var(--ink-line); border-radius: 8px; font-size: 13.5px; box-shadow: 0 20px 40px rgba(0, 0, 0, .3); }
.cookie[hidden] { display: none; }
.cookie p { margin: 0; }
.cookie a { color: var(--white); }

/* ---------- Reveal on scroll ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .nav { display: none; }
  .burger { display: grid; }
  .header__actions { margin-left: auto; }
  .nav.is-open {
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    position: absolute; top: var(--header-h); left: 0; right: 0;
    padding: 8px var(--gutter) 24px; background: var(--ink); border-bottom: 1px solid var(--ink-line);
    box-shadow: 0 30px 50px rgba(0, 0, 0, .4);
  }
  .nav.is-open a { padding: 15px 0; font-size: 17px; color: var(--text-inv); border-bottom: 1px solid var(--ink-line); }
  .nav.is-open .nav__phone { display: block; color: var(--yellow); border-bottom: 0; font-weight: 700; }
  .adv { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 0; }
  .steps::before { display: none; }
}

@media (max-width: 960px) {
  :root { --header-h: 68px; }
  .hero__grid, .split, .panel, .lead-grid, .faq-wrap, .section-head--row { grid-template-columns: minmax(0, 1fr); }
  .split--reverse .split__text { order: 0; }
  .hero__media { max-width: 640px; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .stat { padding-bottom: 8px; }
  .trust__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .options { grid-template-columns: minmax(0, 1fr); }
  .specs { columns: 1; }
  .faq-wrap__head { position: static; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .section-head--row .lead { margin-bottom: 0; }
  .section-head__aside { padding-bottom: 0; }
  .panel__media--duo { max-width: 640px; }
}

@media (max-width: 720px) {
  :root { --gutter: 16px; }
  body { font-size: 16px; }
  .header__phone, .header__actions > .btn { display: none; }
  .header__logo { width: 70px; }
  .header__product b { font-size: 13px; }
  .hero__cta .btn { width: 100%; }
  .stats { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .stat { padding-right: 12px; }
  .stat + .stat { padding-left: 12px; }
  .stat:nth-child(3) { padding-left: 0; }
  .stat span { font-size: 13px; }
  .trust__list { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .pain { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .tabs { display: flex; width: 100%; }
  .tab { flex: 1; padding: 12px 14px; gap: 10px; }
  .tab .ico { width: 22px; height: 22px; }
  .kv > div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .panel__scheme { grid-template-columns: minmax(0, 130px) minmax(0, 1fr); gap: 12px; padding: 10px 14px 10px 10px; }
  .adv { grid-template-columns: minmax(0, 1fr); }
  .adv__item { padding: 24px 20px; }
  .spec dl > div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .spec dl { padding: 4px 16px 8px; }
  .spec summary { padding: 15px 48px 15px 16px; }
  .facts { grid-template-columns: minmax(0, 1fr); }
  .service, .warranty, .base-facts { grid-template-columns: minmax(0, 1fr); }
  .warranty > div + div { border-left: 0; border-top: 1px solid var(--ink-line); }
  .base-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .base-facts b { font-size: 16px; }
  .base-facts span { font-size: 12.5px; }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .step { display: grid; grid-template-columns: 48px minmax(0, 1fr); column-gap: 18px; padding: 0 0 28px; }
  .step::before { content: ""; position: absolute; left: 23px; top: 52px; bottom: 4px; width: 2px; background: repeating-linear-gradient(180deg, var(--yellow) 0 10px, transparent 10px 18px); opacity: .6; }
  .step:last-child::before { display: none; }
  .step__num { grid-row: span 2; margin: 0; }
  .step h3 { align-self: center; margin: 12px 0 6px; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .form__grid { grid-template-columns: minmax(0, 1fr); }
  .contact-card { padding: 24px 20px; }
  .footer__grid { grid-template-columns: minmax(0, 1fr); }
  .footer { padding-bottom: 96px; }
  .framed__img { margin-right: 8px; }
  .framed__img::before { inset: 10px -8px -10px 10px; }
  .lightbox { grid-template-columns: minmax(0, 1fr); padding: 64px 12px 90px; }
  .lightbox__prev, .lightbox__next { position: absolute; bottom: 20px; }
  .lightbox__prev { left: calc(50% - 64px); }
  .lightbox__next { right: calc(50% - 64px); }
  .cookie { right: 16px; bottom: 84px; max-width: none; flex-direction: column; align-items: stretch; }
  .board { padding: 14px 12px 8px; }

  /* departure board becomes stacked cards */
  .board__table { min-width: 0; border-spacing: 0; }
  .board__table thead { display: none; }
  .board__table tr { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 2px 12px; padding: 12px 10px; margin-top: 8px; border-radius: 6px; background: #15181d; }
  .board__table td { padding: 0; background: none; box-shadow: none !important; white-space: normal; font-size: 14px; }
  .board__table td:nth-child(1) { grid-row: 1; grid-column: 1; }
  .board__table td:nth-child(2) { grid-row: 1; grid-column: 2; }
  .board__table td:nth-child(3) { grid-column: 1 / -1; color: #b7bec7; font-size: 13px; }
  .board__table td:nth-child(4) { grid-column: 1 / -1; font-size: 12px; }

  .mobile-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    display: grid; grid-template-columns: 1fr 1.3fr; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(17, 20, 24, .96); border-top: 1px solid var(--ink-line);
    transform: translateY(110%); transition: transform .3s var(--ease);
  }
  .mobile-bar.is-visible { transform: none; }
  .mobile-bar a, .mobile-bar button { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border: 0; border-radius: var(--radius); font-weight: 600; font-size: 16px; text-decoration: none; }
  .mobile-bar__call { background: rgba(255, 255, 255, .1); color: var(--white); }
  .mobile-bar__cta { background: var(--yellow); color: var(--on-yellow); }
}

@media (max-width: 400px) {
  .hero__title { font-size: 30px; }
  .h2 { font-size: 26px; }
  .tab span { font-size: 13px; }
  .tab b { font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

@media print {
  .header, .mobile-bar, .modal, .lightbox, .cookie, .hero__taxiway { display: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}
