/* Гараж на час — лендинг. Мир «Талон ГСК»: сталь ворот, бетон, бумага талонов, фиолетовый штемпель, жёлтая разметка. */
@font-face { font-family: "PT Sans Narrow"; src: url("fonts/ptsansnarrow-700-cyrillic.woff2") format("woff2"); font-weight: 700; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "PT Sans Narrow"; src: url("fonts/ptsansnarrow-700-latin.woff2") format("woff2"); font-weight: 700; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Golos Text"; src: url("fonts/golostext-var-cyrillic.woff2") format("woff2"); font-weight: 400 900; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Golos Text"; src: url("fonts/golostext-var-latin.woff2") format("woff2"); font-weight: 400 900; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "PT Mono"; src: url("fonts/ptmono-400-cyrillic.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "PT Mono"; src: url("fonts/ptmono-400-latin.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --steel-950: #141618;
  --steel-900: #1b1e21;
  --steel-850: #212529;
  --steel-800: #282d31;
  --steel-600: #48505a;
  --steel-400: #8c949c;
  --steel-200: #c9ced2;
  --steel-100: #e6e9eb;
  --paper: #ece4cf;
  --paper-2: #e2d8bf;
  --paper-edge: #cfc3a4;
  --ink: #1f1d1a;
  --ink-2: #4b4638;
  --rule: rgba(31, 29, 26, .28);
  --violet: #5a3e9e;
  --violet-ink: rgba(90, 62, 158, .88);
  --signal: #e4b726;
  --signal-deep: #a9840f;
  --display: "PT Sans Narrow", "Arial Narrow", "Golos Text", sans-serif;
  --text: "Golos Text", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --typed: "PT Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
  --gutter: clamp(16px, 4vw, 48px);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --paper-grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .3 0 0 0 0 .26 0 0 0 0 .18 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --concrete: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='c'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.55' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .045 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23c)'/%3E%3C/svg%3E");
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scrollbar-color: var(--steel-600) var(--steel-950); }
body {
  margin: 0; background: var(--steel-900); color: var(--steel-100);
  font: 400 1.0625rem/1.6 var(--text); font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  caret-color: var(--signal);
}
::selection { background: var(--violet); color: var(--paper); }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
:focus-visible { outline: 3px solid var(--signal); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: .98; letter-spacing: .005em; margin: 0; text-wrap: balance; }
h1, h2 { text-transform: uppercase; }
p { margin: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--signal); color: var(--ink); padding: 10px 14px; font-weight: 600; }
.skip:focus { top: 12px; }
.wrap { width: min(1240px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.ico { width: 1.15em; height: 1.15em; flex: none; }

/* ── Кнопки-штемпели: честный ход клавиши ── */
.press {
  --bg: var(--signal); --fg: var(--ink); --edge: var(--signal-deep);
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: .7em 1.15em .62em; border: 0; border-radius: 4px;
  background: var(--bg); color: var(--fg); border-bottom: 3px solid var(--edge);
  font: 600 1rem/1.1 var(--text); letter-spacing: .01em; text-decoration: none; cursor: pointer;
  box-shadow: 0 6px 14px -8px rgba(0, 0, 0, .55);
  transition: transform .12s var(--ease-out), border-bottom-width .12s var(--ease-out), background-color .2s, box-shadow .12s;
}
.press:hover { --bg: #f0c63a; }
.press:active { transform: translateY(2px); border-bottom-width: 1px; box-shadow: 0 2px 6px -4px rgba(0, 0, 0, .6); }
.press--ink { --bg: transparent; --fg: var(--ink); --edge: var(--ink); border: 1.5px solid var(--ink); border-bottom-width: 3px; box-shadow: none; }
.press--ink:hover { --bg: rgba(31, 29, 26, .07); }
.press--sm { min-height: 40px; padding: .5em .9em .45em; font-size: .94rem; }
.press[aria-disabled="true"] { opacity: .55; transform: none; border-bottom-width: 1px; pointer-events: none; }

/* ── Шапка ── */
.bar {
  position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 24px;
  padding: 10px var(--gutter); background: rgba(20, 22, 24, .9);
  border-bottom: 1px solid rgba(201, 206, 210, .1);
  backdrop-filter: saturate(1.2) blur(10px); -webkit-backdrop-filter: saturate(1.2) blur(10px);
}
.mark { display: inline-flex; align-items: baseline; gap: .38em; text-decoration: none; font: 700 1.32rem/1 var(--display); letter-spacing: .05em; white-space: nowrap; }
.mark-a { color: var(--steel-100); }
.mark-b { color: var(--ink); background: var(--signal); padding: .06em .32em .02em; border-radius: 2px; }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { color: var(--steel-200); text-decoration: none; font-size: .95rem; font-weight: 500; padding: 6px 0; border-bottom: 2px solid transparent; transition: color .2s, border-color .2s; }
.nav a:hover { color: #fff; border-bottom-color: var(--signal); }
@media (max-width: 860px) { .nav { display: none; } .bar-cta { margin-left: auto; } }

/* ── Проезд ГСК: 3D-сцена + талон ── */
.yard {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: clamp(640px, 100svh - 61px, 960px);
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end;
  padding: clamp(28px, 6vh, 72px) var(--gutter) clamp(28px, 7vh, 80px);
  background: linear-gradient(180deg, #2b3138 0%, #23272b 52%, #1d2024 100%);
}
.yard-scene { position: absolute; inset: 0; z-index: -1; scroll-margin-top: 64px; }
.yard-scene canvas { display: block; width: 100%; height: 100%; }
.yard::after { /* тень бетона под текстом, чтобы читалось на любой сцене */
  content: ""; position: absolute; inset: auto 0 0 0; height: 46%; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(16, 18, 20, .72));
}
.yard-copy { max-width: 36rem; padding-bottom: 4px; }
.yard h1 { font-size: clamp(3.2rem, 6.4vw, 6rem); color: #f3f4f5; text-shadow: 0 2px 18px rgba(0, 0, 0, .45); }
.lede { margin-top: 18px; font-size: clamp(1.05rem, 1.4vw, 1.22rem); line-height: 1.55; color: var(--steel-100); max-width: 30rem; text-shadow: 0 1px 10px rgba(0, 0, 0, .5); }

/* Резерв без WebGL: рисованные ворота */
.gate-fallback { position: absolute; right: calc(var(--gutter) + 440px); bottom: 14%; width: min(38vw, 520px); aspect-ratio: 1.25; }
.gf-gate { position: absolute; inset: 22% 6% 0; border: 10px solid #3a4046; border-bottom: 0; background: repeating-linear-gradient(180deg, #8f979e 0 26px, #737b82 26px 29px, #9ea6ac 29px 31px); box-shadow: inset 0 -30px 50px rgba(0, 0, 0, .35); }
.gf-num { position: absolute; left: 50%; top: 0; transform: translateX(-50%); font: 700 2.4rem/1 var(--display); color: #eef0f1; opacity: .85; }
.gate-fallback::before { content: ""; position: absolute; inset: 22% 6% 0; background: radial-gradient(60% 50% at 50% 30%, #fff1dc 0, #b9a888 35%, #3a3733 80%); }
.gf-gate { transition: clip-path 1.6s var(--ease-out) .35s; clip-path: inset(0 0 0 0); }
.yard.is-open .gf-gate { clip-path: inset(0 0 94% 0); }
.gf-lamp { position: absolute; left: 50%; top: 16%; width: 60px; height: 8px; transform: translateX(-50%); background: #ffd99c; border-radius: 4px; box-shadow: 0 18px 60px 26px rgba(255, 205, 130, .22); }
.yard.has-3d .gate-fallback { display: none; }

/* ── Талон ── */
.talon--hero {
  position: relative; width: min(400px, 100%); justify-self: end; align-self: center;
  background:
    radial-gradient(circle at 7px 3px, var(--paper-edge) 2.2px, transparent 2.8px) 0 13px / 14px 6px repeat-x,
    var(--paper-grain), var(--paper);
  color: var(--ink);
  padding: 34px 26px 22px; border-radius: 3px;
  transform: rotate(-1.4deg); transform-origin: 50% 0;
  box-shadow: 0 1px 0 var(--paper-edge), 0 24px 50px -18px rgba(0, 0, 0, .7), 0 4px 10px -4px rgba(0, 0, 0, .4);
}
.talon--hero::before, .talon--hero::after { /* скотч */
  content: ""; position: absolute; top: -10px; width: 74px; height: 24px; background: rgba(233, 226, 205, .62);
  box-shadow: 0 1px 2px rgba(0, 0, 0, .15); border-left: 1px dashed rgba(0, 0, 0, .08); border-right: 1px dashed rgba(0, 0, 0, .08);
}
.talon--hero::before { left: 18px; transform: rotate(-6deg); }
.talon--hero::after { right: 18px; transform: rotate(5deg); }
.yard.has-3d .talon--hero { position: absolute; left: var(--tx, auto); top: var(--ty, auto); right: auto; transform: translate(-50%, -50%) rotate(-1.4deg); }
.ht-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; border-bottom: 2px solid var(--ink); padding-bottom: 10px; margin-bottom: 14px; }
.ht-title { font-size: 2rem; letter-spacing: .02em; text-transform: uppercase; line-height: .95; }
.ht-date { font-size: .95rem; color: var(--ink-2); }
.ht-field { display: grid; gap: 6px; margin-bottom: 12px; }
.ht-label, .ht-grid dt, .t-fields dt { font: 600 .74rem/1.2 var(--text); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.ht-select {
  appearance: none; width: 100%; min-height: 44px; padding: 8px 36px 6px 0; border: 0; border-bottom: 1.5px solid var(--ink);
  border-radius: 0; background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%231f1d1a' stroke-width='1.8'/%3E%3C/svg%3E") right 4px center / 12px no-repeat;
  font: 400 1.08rem/1.3 var(--typed); color: var(--ink); cursor: pointer;
}
.ht-select:focus-visible { outline-offset: 2px; }
.ht-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 16px; margin: 6px 0 18px; }
.ht-grid .ht-live { grid-column: 1 / -1; }
.t-row dd { white-space: nowrap; }
.ht-actions .press { flex: 1 1 auto; }
.ht-grid > div { border-bottom: 1px solid var(--rule); padding-bottom: 6px; }
.ht-grid dd, .t-fields dd { margin: 3px 0 0; }
.typed { font-family: var(--typed); font-size: 1.05rem; color: var(--ink); font-variant-numeric: tabular-nums; }
.ht-live dd, .t-live dd { color: var(--violet); }
.ht-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.ht-actions .press--signal { flex: 1 1 auto; }
.ht-path { margin-top: 12px; font-size: .84rem; color: var(--ink-2); }
.ht-demo {
  margin-top: 14px; padding: 6px 0; border: 0; background: none; cursor: pointer;
  font: 600 .92rem/1.3 var(--text); color: var(--violet); text-decoration: underline; text-underline-offset: .25em; text-decoration-style: dashed;
}
.ht-demo:hover { text-decoration-style: solid; }

/* Штамп ОПЛАЧЕНО */
.stamp {
  position: absolute; right: 12px; top: 20px; pointer-events: none; opacity: 0;
  transform: rotate(-13deg) scale(1.7); filter: blur(3px); mix-blend-mode: multiply;
}
/* Штемпельная краска: неровный край (SVG-фильтр #ink-rough) + пропуски от неравного нажима (маска) + лёгкий двойной оттиск */
.stamp-ink {
  display: block; padding: 7px 14px 4px; border: 3px solid var(--violet-ink); border-radius: 5px;
  box-shadow: inset 0 0 0 2px transparent, inset 0 0 0 4px var(--violet-ink);
  font: 700 1.9rem/1 var(--display); letter-spacing: .08em; color: var(--violet-ink);
  text-shadow: .7px .5px 0 rgba(90, 62, 158, .35);
  filter: url(#ink-rough);
  -webkit-mask: var(--ink-voids); mask: var(--ink-voids);
}
:root { --ink-voids: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='120'%3E%3Cfilter id='v'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='3' seed='4'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -2.6 0 0 0 2.15'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23v)'/%3E%3C/svg%3E"); }
.stamp.is-on { animation: stamp .42s var(--ease-out) forwards; }
@keyframes stamp { 0% { opacity: 0; transform: rotate(-13deg) scale(1.7); filter: blur(3px); } 62% { opacity: .95; transform: rotate(-11deg) scale(.96); filter: blur(0); } 100% { opacity: .9; transform: rotate(-11deg) scale(1); filter: blur(0); } }

/* ── Табы как штемпели ── */
.tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.tab {
  min-height: 36px; padding: 6px 11px 4px; border: 1.5px solid var(--ink); border-radius: 3px; background: transparent;
  font: 500 .9rem/1.2 var(--text); color: var(--ink); cursor: pointer; transition: background-color .15s, color .15s, transform .1s;
}
.tab:hover { background: rgba(31, 29, 26, .07); }
.tab[aria-selected="true"] { background: var(--violet); border-color: var(--violet); color: var(--paper); transform: translateY(1px); box-shadow: inset 0 2px 3px rgba(0, 0, 0, .25); }
.tabs--dark .tab { border-color: var(--steel-400); color: var(--steel-100); }
.tabs--dark .tab:hover { background: rgba(255, 255, 255, .06); }
.tabs--dark .tab[aria-selected="true"] { background: var(--signal); border-color: var(--signal); color: var(--ink); }

/* ── Ряд талонов ── */
.boxes { padding: clamp(64px, 9vw, 120px) 0; background: var(--steel-850) var(--concrete); }
.boxes-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 18px 48px; align-items: end; margin-bottom: 36px; }
.boxes-head h2, .how h2, .faq h2 { font-size: clamp(2.7rem, 5.6vw, 4.6rem); color: #f1f2f3; }
.boxes-head .tabs { grid-column: 1 / -1; }
.sec-lede { color: var(--steel-200); max-width: 36rem; }
@media (max-width: 760px) { .boxes-head { grid-template-columns: 1fr; } .strip { align-items: start; } .talon:not(.talon--hero) .t-actions { margin-top: 6px; } }

.strip {
  list-style: none; margin: 0; padding: 0 0 18px; display: grid; grid-auto-flow: column;
  grid-auto-columns: minmax(270px, 1fr); overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scrollbar-width: thin;
  filter: drop-shadow(0 22px 26px rgba(0, 0, 0, .35));
}
.talon:not(.talon--hero) {
  scroll-snap-align: start; display: flex; flex-direction: column; min-width: 0;
  background: var(--paper) var(--paper-grain); color: var(--ink);
  border-left: 2px dotted var(--paper-edge);
}
.talon:not(.talon--hero):first-child { border-left: 0; border-radius: 3px 0 0 3px; }
.talon:not(.talon--hero):last-child { border-radius: 0 3px 3px 0; }
.talon[hidden] { display: none !important; }
.t-stub {
  display: flex; align-items: baseline; gap: .3em; padding: 18px 22px 14px;
  border-bottom: 2px dashed var(--paper-edge); background: var(--paper-2);
}
.t-stub-price { font: 700 clamp(2.7rem, 3.9vw, 3.3rem)/1 var(--display); color: var(--ink); font-variant-numeric: tabular-nums; }
.t-stub-unit { font: 600 .9rem/1 var(--text); color: var(--ink-2); }
.t-body { display: flex; flex-direction: column; gap: 10px; padding: 16px 22px 22px; flex: 1; }

.t-title { font-size: 1.6rem; line-height: 1.02; letter-spacing: .005em; }
.t-place { font-size: .9rem; color: var(--ink-2); }
.t-fields { margin: 4px 0 0; display: grid; gap: 0; }
.t-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 7px 0 5px; border-bottom: 1px solid var(--rule); }
.t-row dd { margin: 0; text-align: right; }
.t-facts { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.t-facts li { font-size: .82rem; line-height: 1.2; padding: 4px 8px 3px; border: 1px solid var(--rule); border-radius: 2px; color: var(--ink-2); }
.t-actions { margin-top: auto; padding-top: 12px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.t-actions .press { min-height: 44px; padding-inline: .7em; font-size: .93rem; }
.empty { color: var(--steel-200); padding: 24px 0; }

/* ── Квитанция ── */
.how { padding: clamp(64px, 9vw, 120px) 0; background: var(--steel-900); }
.how-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.how-copy .sec-lede { margin-top: 20px; font-size: 1.12rem; }
.receipt {
  position: relative; margin: 0; padding: 26px clamp(20px, 3vw, 36px) 74px;
  background: var(--paper) var(--paper-grain); color: var(--ink); border-radius: 2px; transform: rotate(.6deg);
  box-shadow: 0 30px 60px -28px rgba(0, 0, 0, .75), 0 3px 8px -3px rgba(0, 0, 0, .4);
}
.rc-head { font: 700 1.35rem/1.1 var(--display); letter-spacing: .04em; text-transform: uppercase; padding-bottom: 12px; border-bottom: 2px solid var(--ink); }
.rc-row { display: grid; grid-template-columns: 7.4rem 1fr; gap: 14px; padding: 13px 0 11px; border-bottom: 1px solid var(--rule); }
.rc-k { font: 600 .78rem/1.5 var(--text); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.rc-v { font: 1rem/1.5 var(--typed); }
.rc-stamp { position: absolute; right: 26px; bottom: 14px; transform: rotate(-9deg); mix-blend-mode: multiply; }
.rc-stamp .stamp-ink { border-radius: 50% / 46%; font-size: 1.15rem; padding: 10px 18px 7px; }
@media (max-width: 860px) { .how-grid { grid-template-columns: 1fr; } .receipt { transform: none; } }
@media (max-width: 480px) { .rc-row { grid-template-columns: 1fr; gap: 2px; } }

/* ── Заявление владельца ── */
.owners { padding: clamp(64px, 9vw, 120px) 0; background: var(--steel-850) var(--concrete); }
.sheet {
  max-width: 860px; margin-inline: auto; padding: clamp(26px, 4vw, 52px);
  background: var(--paper) var(--paper-grain); color: var(--ink); border-radius: 2px;
  box-shadow: 0 34px 70px -30px rgba(0, 0, 0, .8), 0 3px 8px -3px rgba(0, 0, 0, .4);
}

.sheet h2 { font-size: clamp(2.6rem, 5.4vw, 4.2rem); color: var(--ink); padding-bottom: 14px; border-bottom: 2px solid var(--ink); }
.sh-lede { margin-top: 14px; font-size: 1.12rem; max-width: 40rem; }
.sh-list { list-style: none; margin: 26px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 36px; }
.sh-list li { padding: 14px 0 12px; border-bottom: 1px solid var(--rule); font-size: 1rem; }
.sh-list b { font-weight: 650; }
.sh-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.sh-foot { margin-top: 18px; font-size: .95rem; color: var(--ink-2); }
.sh-foot a { color: var(--violet); font-weight: 600; }
@media (max-width: 680px) { .sh-list { grid-template-columns: 1fr; } }

/* ── Вопросы ── */
.faq { padding: clamp(64px, 9vw, 120px) 0; background: var(--steel-900); }
.faq-grid { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: 24px clamp(32px, 6vw, 96px); align-items: start; }
.faq-list details { border-bottom: 1px solid rgba(201, 206, 210, .16); }
.faq-list summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; align-items: center;
  padding: 20px 0 18px; font: 600 1.12rem/1.35 var(--text); color: #f1f2f3;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ""; flex: none; width: 14px; height: 14px; background: linear-gradient(var(--signal), var(--signal)) center / 14px 2px no-repeat, linear-gradient(var(--signal), var(--signal)) center / 2px 14px no-repeat; transition: transform .25s var(--ease-out); }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list summary:hover { color: var(--signal); }
.faq-list p { padding: 0 0 20px; color: var(--steel-200); max-width: 62ch; }
.faq-list a { color: var(--signal); }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; } }

/* ── Подвал ── */
.foot { padding: 40px 0 calc(40px + env(safe-area-inset-bottom)); background: var(--steel-950); border-top: 1px solid rgba(201, 206, 210, .08); }
.foot-grid { display: grid; grid-template-columns: auto 1fr; gap: 16px 40px; align-items: center; }
.foot-links { display: flex; flex-wrap: wrap; gap: 10px 22px; justify-content: flex-end; }
.foot-links a { color: var(--steel-200); text-decoration: none; font-size: .95rem; }
.foot-links a:hover { color: #fff; text-decoration: underline; }
.foot-copy { grid-column: 1 / -1; color: var(--steel-400); font-size: .88rem; }
@media (max-width: 680px) { .foot-grid { grid-template-columns: 1fr; } .foot-links { justify-content: flex-start; } }

/* ── Телефон и узкий десктоп: сцена сверху, талон под воротами ── */
@media (max-width: 1180px) {
  /* сцена во всю ширину сверху, заголовок поверх неба, талон наезжает на низ сцены */
  .yard { min-height: 0; grid-template-columns: 1fr; align-items: start; padding-top: 0; background: var(--steel-900); }
  .yard-scene {
    order: 0; position: relative; inset: auto; z-index: 0; height: clamp(460px, 76svh, 680px);
    margin: 0 calc(-1 * var(--gutter));
    -webkit-mask: linear-gradient(180deg, #000 82%, transparent 100%); mask: linear-gradient(180deg, #000 82%, transparent 100%);
  }
  .yard::after { inset: 0 0 auto 0; height: 44%; z-index: 0; background: linear-gradient(180deg, rgba(14, 17, 21, .78), rgba(14, 17, 21, 0)); }
  .yard-copy { position: absolute; z-index: 1; top: clamp(18px, 4svh, 40px); left: var(--gutter); right: var(--gutter); padding: 0; }
  .yard h1 { font-size: clamp(3rem, 13.5vw, 5.2rem); }
  .lede { font-size: 1.02rem; max-width: 27rem; margin-top: 12px; }
  .talon--hero, .yard.has-3d .talon--hero { order: 1; position: relative; z-index: 1; left: auto; top: auto; justify-self: center; margin-top: -120px; transform: rotate(-1deg); }
  .gate-fallback { left: 50%; right: auto; width: min(78vw, 460px); bottom: 20%; transform: translateX(-50%); }
}

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