/* =========================================================================
   Секция футбола WINNER — fcwinner.ru
   Стиль «Стадионное табло»: светлый фон, тёмно-синий только в плашках.
   Ритм страницы строится на чередовании тёмных полос со светлыми блоками —
   не убирать, это осознанное решение (см. HANDOFF.md).
   ========================================================================= */

:root {
  --bg:       #EEF1F4;
  --card:     #FFFFFF;
  --navy:     #0B2240;
  --navy-2:   #143254;
  --ink:      #0B2240;
  --ink-2:    #55697C;
  --ink-3:    #8697A8;
  --line:     #DCE3EA;
  --line-strong: #B9C7D4;
  --accent:   #00A0E0;
  --accent-d: #0086BE;
  --live:     #9BE86B;
  --gold:     #E9C46A;
  --gold-ink: #8A6A15;
  --gold-bg:  #FFF8E6;
  --good:     #1B8A5A;
  --shadow:   0 1px 2px rgba(11,34,64,.05), 0 8px 22px rgba(11,34,64,.06);
  --wrap:     1120px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--accent-d); }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 3px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* --- фирменный скролл проекта: браузерный нигде не используем --- */
.table-scroll, .site-scroll { scrollbar-width: thin; scrollbar-color: transparent transparent; }
.table-scroll:hover, .table-scroll.is-scrolling,
.site-scroll:hover, .site-scroll.is-scrolling { scrollbar-color: var(--line-strong) transparent; }
.table-scroll::-webkit-scrollbar, .site-scroll::-webkit-scrollbar { width: 10px; height: 10px; }
.table-scroll::-webkit-scrollbar-track, .site-scroll::-webkit-scrollbar-track { background: transparent; }
.table-scroll::-webkit-scrollbar-thumb, .site-scroll::-webkit-scrollbar-thumb {
  background-color: transparent; border-radius: 8px; border: 2px solid transparent;
  background-clip: padding-box; transition: background-color .2s ease;
}
.table-scroll:hover::-webkit-scrollbar-thumb, .table-scroll.is-scrolling::-webkit-scrollbar-thumb,
.site-scroll:hover::-webkit-scrollbar-thumb, .site-scroll.is-scrolling::-webkit-scrollbar-thumb {
  background-color: var(--line-strong); background-clip: padding-box;
}
.table-scroll::-webkit-scrollbar-thumb:hover, .site-scroll::-webkit-scrollbar-thumb:hover { background-color: var(--accent); }
.table-scroll::-webkit-scrollbar-corner, .site-scroll::-webkit-scrollbar-corner { background: transparent; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.site-scroll { overflow-y: auto; -webkit-overflow-scrolling: touch; }

/* ================================ типографика ============================ */

.eyebrow {
  font-family: "Oswald", sans-serif; font-weight: 500; font-size: 11px;
  letter-spacing: .18em; text-transform: uppercase; color: var(--accent-d);
  margin: 0 0 10px;
}
h2.t {
  font-family: "Oswald", sans-serif; font-weight: 700; text-transform: uppercase;
  font-size: clamp(24px, 3.6vw, 36px); line-height: 1.04; margin: 0 0 14px;
  text-wrap: balance;
}
h2.t em { font-style: normal; color: var(--accent-d); }
.p { color: var(--ink-2); font-size: 15.5px; margin: 0; max-width: 64ch; }
.p.small { font-size: 13.5px; }
.p strong { color: var(--ink); font-weight: 600; }

section { padding: 56px 0; }
section.tight { padding: 40px 0; }

/* ================================ кнопки ================================= */

.cta {
  display: inline-block; border: none; cursor: pointer;
  background: var(--accent); color: #fff; text-decoration: none;
  font-family: "Oswald", sans-serif; font-weight: 600; font-size: 15px;
  letter-spacing: .04em; text-transform: uppercase; padding: 14px 26px;
  clip-path: polygon(0 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
  transition: background-color .18s ease;
}
.cta:hover { background: #16B4F0; }
.cta.sm { font-size: 12px; padding: 9px 18px; clip-path: polygon(0 0, 100% 0, calc(100% - 9px) 100%, 0 100%); }
.cta.dark { background: var(--navy); }
.cta.dark:hover { background: var(--navy-2); }
.cta.out {
  background: transparent; color: var(--navy); border: 1px solid var(--line-strong);
  clip-path: none; border-radius: 3px;
}
.cta.out:hover { border-color: var(--navy); background: transparent; }
.cta.on-dark.out { color: #fff; border-color: rgba(255,255,255,.3); }

/* ================================ шапка ================================== */

.hd {
  position: sticky; top: 0; z-index: 40;
  background: var(--navy); color: #fff;
}
.hd-in { display: flex; align-items: center; gap: 16px; padding: 12px 20px; max-width: var(--wrap); margin: 0 auto; }
.hd-logo { display: flex; align-items: center; gap: 9px; text-decoration: none; color: #fff; }
.hd-logo img { width: 26px; height: 26px; object-fit: contain; }
.hd-logo span { font-family: "Oswald", sans-serif; font-weight: 600; font-size: 18px; letter-spacing: .18em; }
.hd-live {
  display: flex; align-items: center; gap: 6px;
  font-family: "IBM Plex Mono", monospace; font-size: 10.5px; color: var(--live);
  text-transform: uppercase; letter-spacing: .1em; white-space: nowrap;
}
.hd-live i { width: 7px; height: 7px; border-radius: 50%; background: var(--live); display: block; }
.hd-nav { display: flex; gap: 18px; margin-left: auto; }
.hd-nav a { font-size: 13.5px; color: rgba(255,255,255,.75); text-decoration: none; }
.hd-nav a:hover { color: #fff; }
.hd-burger {
  display: none; margin-left: auto; background: none; border: 1px solid rgba(255,255,255,.25);
  border-radius: 5px; padding: 7px 9px; cursor: pointer;
}
.hd-burger span { display: block; width: 18px; height: 2px; background: #fff; margin: 3px 0; }

/* ================================ первый экран =========================== */

.hero { background: radial-gradient(circle at 15% 0%, rgba(0,160,224,.18), transparent 55%), var(--card); }
.hero-in {
  max-width: var(--wrap); margin: 0 auto; padding: 40px 20px;
  display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center;
}
.hero h1 {
  font-family: "Oswald", sans-serif; font-weight: 700; text-transform: uppercase;
  font-size: clamp(30px, 5.2vw, 50px); line-height: 1; margin: 0 0 14px; text-wrap: balance;
}
.hero h1 em { font-style: normal; color: var(--accent-d); }
.hero-sub { font-size: 16px; color: var(--ink-2); margin: 0 0 24px; max-width: 46ch; }
.hero-trust {
  margin-top: 18px; display: flex; gap: 8px 22px; flex-wrap: wrap;
  font-family: "IBM Plex Mono", monospace; font-size: 12px; color: var(--ink-3);
}
.hero-photo { display: none; }

/* табло */
.board { background: var(--navy); border-radius: 8px; padding: 18px 22px; color: #fff; min-width: 268px; }
.board-lab {
  font-family: "Oswald", sans-serif; font-size: 10px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 10px;
}
.board-row { display: flex; gap: 6px; }
.seg { background: rgba(255,255,255,.07); border-radius: 4px; padding: 8px 10px; text-align: center; min-width: 58px; }
.seg b {
  display: block; font-family: "IBM Plex Mono", monospace; font-weight: 600;
  font-size: 25px; line-height: 1; color: var(--live); font-variant-numeric: tabular-nums;
}
.seg span { font-size: 9.5px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.board-when { margin-top: 11px; font-size: 12px; color: rgba(255,255,255,.68); }

/* бегущая строка */
.ticker { background: var(--navy); color: #fff; overflow: hidden; padding: 11px 0; }
.ticker-in {
  display: flex; gap: 34px; white-space: nowrap; width: max-content;
  animation: slide 32s linear infinite;
  font-family: "Oswald", sans-serif; font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase;
}
.ticker-in b { color: var(--live); font-weight: 600; }
@keyframes slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ================================ три шага =============================== */

.strip { height: 220px; overflow: hidden; }
.strip img { width: 100%; height: 100%; object-fit: cover; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); }
.step { background: var(--card); padding: 24px 22px; display: flex; flex-direction: column; gap: 8px; }
.step-n { font-family: "Oswald", sans-serif; font-weight: 700; font-size: 36px; color: var(--accent); line-height: 1; }
.step-t { font-family: "Oswald", sans-serif; font-weight: 500; font-size: 17px; text-transform: uppercase; letter-spacing: .02em; }
.step-d { font-size: 14px; color: var(--ink-2); }

/* ================================ для кого =============================== */

.section-card { background: var(--card); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center; }
.fear-list { display: flex; flex-direction: column; gap: 16px; }
.fear { border-left: 2px solid var(--accent); padding-left: 14px; }
.fear-q { font-family: "Oswald", sans-serif; font-weight: 500; font-size: 16px; margin-bottom: 3px; }
.fear-a { font-size: 14px; color: var(--ink-2); }
.photo img { width: 100%; height: auto; border-radius: 8px; }

/* ================================ расписание ============================= */

.sched { background: var(--navy); color: #fff; }
.sched .eyebrow { color: var(--live); }
.sched h2.t { color: #fff; }
.srow {
  display: grid; grid-template-columns: 140px 96px 1fr auto; gap: 14px; align-items: center;
  background: rgba(255,255,255,.06); border-left: 3px solid var(--live);
  border-radius: 5px; padding: 14px 16px; margin-bottom: 8px;
}
.srow:last-child { margin-bottom: 0; border-left-color: rgba(255,255,255,.3); }
.sday { font-family: "Oswald", sans-serif; font-weight: 500; font-size: 15px; text-transform: uppercase; letter-spacing: .03em; }
.stime { font-family: "IBM Plex Mono", monospace; font-weight: 600; font-size: 15px; color: var(--live); }
.splace { font-size: 13.5px; color: rgba(255,255,255,.66); }

/* ================================ цены =================================== */
/* ЗАФИКСИРОВАНО: оформление и суммы согласованы 03.09.2026 — не менять без явного запроса пользователя */

.trial {
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
  background: var(--navy); color: #fff; border-radius: 8px; padding: 22px 26px; margin-bottom: 20px;
}
.trial-p { font-family: "Oswald", sans-serif; font-weight: 700; font-size: 42px; line-height: 1; color: var(--live); }
.trial-t { font-size: 14.5px; max-width: 46ch; color: rgba(255,255,255,.82); }
.trial-t b {
  display: block; font-family: "Oswald", sans-serif; font-weight: 600; font-size: 16px;
  text-transform: uppercase; letter-spacing: .02em; color: #fff;
}
.trial .cta { margin-left: auto; }

.pcards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.pc { background: var(--card); border: 1px solid var(--line); border-radius: 9px; overflow: hidden; display: flex; flex-direction: column; }
.pc-h {
  background: var(--navy); color: #fff; padding: 12px 16px;
  font-family: "Oswald", sans-serif; font-size: 12.5px; letter-spacing: .08em;
  text-transform: uppercase; display: flex; justify-content: space-between; gap: 8px;
}
.pc.hi .pc-h { background: var(--accent); }
.pc-h em { font-style: normal; color: var(--live); font-size: 10.5px; letter-spacing: .1em; }
.pc.hi .pc-h em { color: #fff; }
.pc-b { padding: 18px 16px; display: flex; flex-direction: column; gap: 6px; }
.pc-p { font-family: "Oswald", sans-serif; font-weight: 700; font-size: 32px; line-height: 1; }
.pc-per { font-family: "IBM Plex Mono", monospace; font-size: 12px; color: var(--ink-3); }
.pc-save { font-size: 12.5px; color: var(--good); font-weight: 600; }

.once { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 14px; }
.once .o {
  background: var(--card); border: 1px solid var(--line); border-radius: 7px;
  padding: 15px 18px; display: flex; align-items: baseline; gap: 12px;
}
.once .o b { font-family: "Oswald", sans-serif; font-weight: 700; font-size: 24px; }
.once .o span { font-size: 13.5px; color: var(--ink-2); }

/* ================================ прокачка =============================== */

.wgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: stretch; }
.wcol { display: flex; flex-direction: column; gap: 14px; }
.w { background: var(--card); border-radius: 16px; padding: 22px; box-shadow: var(--shadow); }
.w-grow { flex: 1; }
.w-lab {
  font-family: "Oswald", sans-serif; font-size: 10.5px; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 14px;
}
.ring-wrap { display: flex; align-items: center; gap: 16px; }
.ring { width: 88px; height: 88px; flex: none; }
.ring-t { font-family: "Oswald", sans-serif; font-weight: 600; font-size: 15px; text-transform: uppercase; letter-spacing: .02em; margin-bottom: 4px; }
.ring-d { font-size: 13.5px; color: var(--ink-2); }

.skl { margin-bottom: 10px; }
.skl:last-of-type { margin-bottom: 0; }
.skl-h { display: flex; justify-content: space-between; font-size: 13px; margin-bottom: 5px; color: var(--ink-2); }
.skl-h b { font-family: "IBM Plex Mono", monospace; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.track { height: 7px; background: #E7EDF3; border-radius: 99px; overflow: hidden; }
.track i {
  display: block; height: 100%; width: 0; border-radius: 99px;
  background: linear-gradient(90deg, var(--accent), #5BD1F5);
  transition: width 1.1s cubic-bezier(.2,.7,.3,1);
}
.track.go i { width: var(--w); }

.coin-rows { display: flex; flex-direction: column; gap: 9px; }
.coin-row { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ink-2); }
.coin-row b {
  margin-left: auto; font-family: "IBM Plex Mono", monospace; font-weight: 600;
  color: var(--gold-ink); background: var(--gold-bg); border-radius: 99px;
  padding: 3px 11px; white-space: nowrap;
}
.coin-ic {
  width: 24px; height: 24px; border-radius: 50%; background: var(--gold-bg);
  color: var(--gold-ink); display: grid; place-items: center; font-size: 12px; flex: none;
}

.swap { background: var(--navy); color: #fff; display: flex; align-items: center; gap: 20px; padding: 18px 22px; flex-wrap: wrap; }
.swap .w-lab { color: var(--live); margin-bottom: 0; flex-basis: 100%; }
.swap-eq { display: flex; align-items: center; gap: 12px; flex: none; }
.swap-eq span { font-family: "Oswald", sans-serif; font-weight: 700; font-size: 30px; }
.swap-eq em { font-style: normal; font-size: 20px; color: var(--live); }
.swap p { margin: 0; font-size: 13.5px; color: rgba(255,255,255,.75); flex: 1 1 260px; }

.badges { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.badge {
  display: flex; align-items: center; gap: 6px; background: var(--gold-bg); color: var(--gold-ink);
  font-size: 12.5px; font-weight: 600; padding: 6px 12px; border-radius: 99px;
}
.badge.off { background: #EAEEF3; color: #93A4B6; }

/* ================================ тест =================================== */

.quiz { display: flex; flex-direction: column; gap: 16px; }
.quiz-q > p { font-family: "Oswald", sans-serif; font-size: 15px; margin: 0 0 8px; }
.quiz-opts { display: flex; gap: 7px; flex-wrap: wrap; }
.qopt {
  font-family: inherit; font-size: 13px; background: var(--card); color: var(--ink-2);
  border: 1px solid var(--line); border-radius: 99px; padding: 8px 15px; cursor: pointer;
  transition: border-color .15s ease, color .15s ease;
}
.qopt:hover { border-color: var(--accent); color: var(--ink); }
.qopt[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #fff; font-weight: 600; }
.qres { background: var(--card); border-radius: 16px; padding: 24px; box-shadow: var(--shadow); text-align: center; }
.qres-big { font-family: "Oswald", sans-serif; font-weight: 700; font-size: 56px; line-height: 1; color: var(--accent-d); }
.qres-lvl { font-family: "Oswald", sans-serif; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 14px; }

/* ================================ отзывы ================================= */

.revs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.rev { background: var(--card); border: 1px solid var(--line); border-radius: 9px; padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.rev-t { font-size: 14px; color: var(--ink-2); line-height: 1.55; margin: 0; }
.rev-w { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.rev-ava { width: 40px; height: 40px; border-radius: 50%; background: #E7EDF3; display: grid; place-items: center; font-family: "Oswald", sans-serif; font-size: 14px; color: var(--ink-2); flex: none; object-fit: cover; }
.rev-who { display: flex; flex-direction: column; line-height: 1.3; }
.rev-n { font-family: "Oswald", sans-serif; font-weight: 500; font-size: 14px; letter-spacing: .03em; }
.rev-m { font-size: 12px; color: var(--ink-3); }

/* ================================ лига =================================== */

.liga { background: var(--navy); color: #fff; }
.liga .eyebrow { color: var(--live); }
.liga h2.t { color: #fff; }
.liga .p { color: rgba(255,255,255,.72); }
.rank { width: 100%; border-collapse: collapse; font-size: 13.5px; min-width: 380px; }
.rank th { text-align: left; font-family: "Oswald", sans-serif; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.5); padding: 0 8px 8px; font-weight: 500; }
.rank td { padding: 10px 8px; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.85); }
.rank .num { font-family: "IBM Plex Mono", monospace; text-align: right; font-variant-numeric: tabular-nums; }
.rank .pos { font-family: "Oswald", sans-serif; font-weight: 600; color: var(--live); width: 26px; }

/* ================================ тренер ================================= */

.coach-photo {
  background: linear-gradient(180deg, #E8EDF2, #DCE4EB); border-radius: 10px;
  aspect-ratio: 1/1; display: grid; place-items: center; overflow: hidden;
  max-width: 460px;
}
.coach-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.coach-photo .ph-note { font-size: 13px; color: var(--ink-3); text-align: center; padding: 20px; }
.coach-name { font-family: "Oswald", sans-serif; font-weight: 600; font-size: 22px; text-transform: uppercase; letter-spacing: .03em; margin: 0 0 8px; }

/* ================================ галерея ================================ */

.gal { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.gal img { width: 100%; height: auto; aspect-ratio: 1/1; object-fit: cover; border-radius: 6px; transition: transform .35s ease; }
.gal img:hover { transform: scale(1.04); }
.gal-hint { display: none; font-size: 12.5px; color: var(--ink-3); margin: 10px 0 0; }

/* ================================ вопросы ================================ */

.faq { max-width: 800px; }
.q { border-top: 1px solid var(--line); }
.q:last-child { border-bottom: 1px solid var(--line); }
.q-btn {
  width: 100%; background: none; border: none; cursor: pointer; text-align: left;
  font-family: "Oswald", sans-serif; font-weight: 500; font-size: 16px; color: var(--ink);
  padding: 16px 0; display: flex; justify-content: space-between; gap: 16px; align-items: center;
}
.q-btn::after { content: "+"; color: var(--accent); font-size: 22px; line-height: 1; flex: none; transition: transform .2s ease; }
.q-btn[aria-expanded="true"]::after { transform: rotate(45deg); }
.q-a { display: none; padding: 0 0 16px; font-size: 14.5px; color: var(--ink-2); max-width: 70ch; }
.q-a.open { display: block; }

/* ================================ площадки =============================== */

.venues { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.venue { background: var(--card); border: 1px solid var(--line); border-radius: 9px; padding: 20px; display: flex; flex-direction: column; gap: 8px; }
.venue-a { font-family: "Oswald", sans-serif; font-weight: 500; font-size: 16px; }
.venue-d { font-size: 13.5px; color: var(--ink-2); }
.venue-map { border: 0; width: 100%; height: 200px; border-radius: 6px; margin-top: 4px; }
.route {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; text-decoration: none;
  font-family: "Oswald", sans-serif; font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase;
  background: var(--navy); color: #fff; border-radius: 3px; padding: 9px 14px;
}
.route:hover { background: var(--navy-2); }

/* ================================ финал ================================== */

.final { position: relative; padding: 64px 0; text-align: center; color: #fff; overflow: hidden; }
.final-img { position: absolute; inset: 0; }
.final-img img { width: 100%; height: 100%; object-fit: cover; }
.final-img::after { content: ""; position: absolute; inset: 0; background: rgba(11,34,64,.82); }
.final-in { position: relative; }
.final h2 { font-family: "Oswald", sans-serif; font-weight: 700; text-transform: uppercase; font-size: clamp(26px, 4vw, 40px); margin: 0 0 14px; line-height: 1.04; }
.final .p { color: rgba(255,255,255,.82); margin: 0 auto 24px; }
.final-or { margin-top: 18px; font-size: 14px; color: rgba(255,255,255,.7); }
.final-or a { color: #fff; }

/* ================================ подвал ================================= */

.foot { background: var(--navy); color: rgba(255,255,255,.65); padding: 32px 0; font-size: 13.5px; }
.foot-in { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.foot b { display: block; font-family: "Oswald", sans-serif; font-weight: 500; font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: #fff; margin-bottom: 9px; }
.foot a { color: rgba(255,255,255,.75); text-decoration: none; display: block; }
.foot a:hover { color: #fff; }
.foot-legal { margin-top: 24px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.12); font-size: 12.5px; color: rgba(255,255,255,.45); }

/* ================================ модалка записи ========================= */

.modal { position: fixed; inset: 0; z-index: 90; display: none; }
.modal.open { display: block; }
.modal-bg { position: absolute; inset: 0; background: rgba(11,34,64,.6); }
.modal-box {
  position: relative; background: var(--card); border-radius: 14px; max-width: 440px;
  margin: 8vh auto 0; padding: 26px; box-shadow: 0 20px 60px rgba(11,34,64,.3);
  max-height: 84vh;
}
.modal-box h3 { font-family: "Oswald", sans-serif; font-weight: 700; font-size: 22px; text-transform: uppercase; margin: 0 0 6px; }
.modal-close { position: absolute; top: 12px; right: 12px; background: none; border: none; font-size: 24px; line-height: 1; color: var(--ink-3); cursor: pointer; padding: 4px 8px; }
.form { display: flex; flex-direction: column; gap: 12px; margin-top: 18px; }
.form input[type="text"], .form input[type="tel"] {
  font-family: inherit; font-size: 15px; padding: 12px 14px;
  border: 1px solid var(--line); border-radius: 6px; background: #F7F9FB; color: var(--ink);
}
.form input::placeholder { color: var(--ink-3); }
.form label.check { display: flex; gap: 9px; align-items: flex-start; font-size: 12.5px; color: var(--ink-2); line-height: 1.4; }
.form .cta { width: 100%; text-align: center; }
.form-alt { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--ink-2); }
.form-alt a { font-weight: 600; }
.form-msg { font-size: 13.5px; margin: 0; }
.form-msg.err { color: #B0432C; }
.form-msg.ok { color: var(--good); }

/* ================================ телефон ================================ */

@media (max-width: 860px) {
  .hd-nav { display: none; }
  .hd-nav.open {
    display: flex; flex-direction: column; gap: 0; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--navy); padding: 8px 20px 16px; border-top: 1px solid rgba(255,255,255,.12);
  }
  .hd-nav.open a { padding: 11px 0; border-bottom: 1px solid rgba(255,255,255,.08); font-size: 15px; }
  .hd-burger { display: block; }
  .hd .cta { display: none; }
  .hd-in { position: relative; }

  .hero-in { grid-template-columns: 1fr; padding: 30px 20px; }
  .two, .wgrid, .venues, .once, .pcards, .revs, .steps { grid-template-columns: 1fr; }
  .foot-in { grid-template-columns: 1fr; }
  /* Галерея на телефоне — лента, листается вбок: квадратики по два в ряд
     слишком мелкие, лиц не разглядеть. Скролл фирменный (.table-scroll). */
  .gal {
    display: flex; grid-template-columns: none; gap: 10px;
    overflow-x: auto; scroll-snap-type: x mandatory;
    padding-bottom: 12px; margin-right: -20px; padding-right: 20px;
  }
  .gal img { flex: 0 0 80%; height: auto; aspect-ratio: 4/3; scroll-snap-align: start; }
  .gal-hint { display: block; }
  .srow { grid-template-columns: 1fr; gap: 6px; }
  .srow .cta { justify-self: start; margin-top: 4px; }
  section { padding: 40px 0; }
  .strip { height: 170px; }
  .trial .cta { margin-left: 0; }
  .modal-box { margin: 4vh 14px 0; padding: 22px 18px; }
}

@media (prefers-reduced-motion: reduce) {
  .ticker-in { animation: none; }
  .track i { transition: none; width: var(--w); }
  .gal img { transition: none; }
  .scrolltop { transition: opacity .15s ease; }
}

/* ============================ кнопка "наверх" ============================ */
.scrolltop {
  position: fixed; right: 18px; bottom: 18px; z-index: 400;
  width: 46px; height: 46px; border: none; border-radius: 50%;
  background: var(--accent); color: #fff; font-size: 19px; line-height: 1;
  cursor: pointer; box-shadow: 0 6px 18px rgba(11,34,64,.28);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transform: translateY(8px);
  transition: opacity .25s ease, transform .25s ease, background .2s ease;
}
.scrolltop.show { opacity: 1; pointer-events: auto; transform: translateY(0); }
.scrolltop:hover { background: #16B4F0; }
@media (max-width: 700px) {
  .scrolltop { right: 14px; bottom: 14px; width: 42px; height: 42px; }
}
