/* «Старт» · Табло — одна вёрстка вместо артбордов «Главная · 1440» и «Главная · телефон 390» (холст CXGMLDZVPzf9wDSJT68sQ7).
   Телефонный вид — до 959 px, компьютерный — с 960 px; токены — паспорт «Старта». Метки оболочки (.sd-*) подогнаны под экраны
   «Форма · ошибки / отправляем / не отправилась». */

:root {
  --bg: #0b0d0c;
  --foot: #080a09;
  --panel: #0d100f;
  --rim: #262b28;
  --line: #3a403c;
  --rule: #1d2220;
  --amber: #ffb21a;
  --amber-hi: #ffc54d;
  --amber-soft: #ffd27a;
  --white: #f4f1e8;
  --muted: #b8bcb5;
  --muted-2: #a9ada6;
  --label: #c9ccc5;
  --soft: #d6d9d2;
  --opt: #8f948c;
  --red: #ff4a3d;
  --err-rim: #ff6b5f;
  --err: #ff8c82;
  --sd-error: #ff8c82;
  --gut: 16px;
  --dots: 5px;
  color-scheme: dark;
}
@media (min-width: 600px) { :root { --gut: 32px; } }
@media (min-width: 960px) { :root { --gut: 40px; --dots: 6px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--white); font-family: "Golos Text", system-ui, sans-serif; font-size: 17px; line-height: normal; overflow-x: clip; }
h1, h2, h3, p { margin: 0; }
img { display: block; max-width: 100%; }
a { color: var(--amber); text-underline-offset: 3px; }
a:hover { color: var(--amber-soft); }
a.plain { color: var(--white); }
::selection { background: var(--amber); color: var(--bg); }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 2px; }
.muted { color: var(--muted); }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--amber); color: var(--bg); font-weight: 600; border-radius: 6px; }
.skip:focus, .skip:hover { top: 12px; color: var(--bg); }

/* Лампы табло: Oswald + маска точек */
.lamp { font-family: "Oswald", sans-serif; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; line-height: .95;
  -webkit-mask-image: radial-gradient(circle at center, #000 55%, transparent 62%); -webkit-mask-size: .085em .085em;
  mask-image: radial-gradient(circle at center, #000 55%, transparent 62%); mask-size: .085em .085em; }
.glow { filter: drop-shadow(0 0 4px rgba(255, 178, 26, .55)); }
.glow-red { filter: drop-shadow(0 0 5px rgba(255, 74, 61, .6)); }
@media (min-width: 960px) { .glow { filter: drop-shadow(0 0 5px rgba(255, 178, 26, .55)); } .glow-red { filter: drop-shadow(0 0 6px rgba(255, 74, 61, .6)); } }
.board { background-color: var(--panel); background-image: radial-gradient(circle, rgba(255, 255, 255, .06) 1px, transparent 1.4px); background-size: var(--dots) var(--dots); border: 2px solid var(--rim); border-radius: 6px; }
@media (min-width: 960px) { .board { background-image: radial-gradient(circle, rgba(255, 255, 255, .06) 1.1px, transparent 1.5px); } }
.cell { border: 1px solid var(--rim); border-radius: 4px; background: rgba(0, 0, 0, .35); }
.kicker { font-family: "Oswald", sans-serif; font-weight: 500; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); line-height: 1.3; }
.kicker--lit { color: var(--amber); }
@media (min-width: 960px) { .kicker { font-size: 14px; } }
.dot { display: inline-block; width: .62em; height: .62em; margin-right: .45em; border-radius: 50%; background: currentColor; vertical-align: .02em; }
.diamond::before { content: ""; display: inline-block; width: .42em; height: .42em; margin: 0 .55em .14em .05em; background: currentColor; transform: rotate(45deg); vertical-align: middle; }

/* Кнопки */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 20px; border: 0; border-radius: 6px; font-family: "Oswald", sans-serif; font-weight: 700; font-size: 19px; letter-spacing: .04em; text-transform: uppercase; text-decoration: none; line-height: 1.1; text-align: center; cursor: pointer; transition: background-color .15s, color .15s, box-shadow .15s; }
@media (min-width: 960px) { .btn { padding: 0 26px; font-size: 20px; } }
.btn-lit { background: var(--amber); color: var(--bg); box-shadow: 0 0 0 2px var(--amber), 0 0 20px rgba(255, 178, 26, .45); }
.btn-lit:hover { background: var(--amber-hi); color: var(--bg); }
@media (min-width: 960px) { .btn-lit { box-shadow: 0 0 0 2px var(--amber), 0 0 24px rgba(255, 178, 26, .45); } }
.btn-ghost { border: 2px dashed var(--amber); color: var(--amber); background: transparent; }
.btn-ghost:hover { background: rgba(255, 178, 26, .1); color: var(--amber-soft); }
.btn-line { border: 2px solid var(--line); color: var(--white); background: transparent; }
.btn-line:hover { border-color: var(--white); color: var(--white); }
.btn-text { font-family: "Golos Text", sans-serif; font-weight: 600; font-size: 17px; letter-spacing: 0; text-transform: none; }
.btn-block { display: flex; width: 100%; }
.btn-sm { min-height: 46px; font-size: 16px; padding: 0 16px; }
@media (min-width: 960px) { .btn-sm { min-height: 44px; } }
.icon-btn { height: 44px; min-width: 44px; padding: 0 14px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1.5px solid var(--line); border-radius: 6px; background: transparent; color: var(--white); font: 600 15px/1 "Golos Text", sans-serif; text-decoration: none; cursor: pointer; }
.icon-btn:hover { border-color: var(--white); color: var(--white); }
.icon-btn--sq, .top__call { width: 44px; padding: 0; }
.arrow { display: inline-block; width: .9em; height: .9em; margin-left: .35em; vertical-align: -.1em; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12h15M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12h15M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat; }

/* Плашка «Демо-сайт» и шапка */
.demo-bar { background: var(--amber); color: var(--bg); font-size: 13px; font-weight: 600; text-align: center; padding: 6px 12px; line-height: 1.4; }
@media (min-width: 960px) { .demo-bar { font-size: 14px; padding: 7px 16px; } }
.top { position: sticky; top: 0; z-index: 20; background: rgba(11, 13, 12, .94); border-bottom: 1px solid var(--rim); }
.top__in { max-width: 1440px; margin: 0 auto; height: 60px; padding: 0 var(--gut); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--white); }
.brand:hover { color: var(--white); }
.brand__name { font-size: 26px; color: var(--amber); }
.brand__tag { font-size: 12px; line-height: 1.15; color: var(--label); width: 96px; }
.nav, .top__phone, .top__cta { display: none; }
.top__act { display: flex; align-items: center; gap: 8px; }
@media (min-width: 960px) {
  .top__in { height: 72px; gap: 24px; max-width: 1440px; }
  .brand { gap: 14px; }
  .brand__name { font-size: 30px; }
  .brand__tag { font-size: 14px; line-height: 1.2; width: auto; max-width: 170px; }
}
@media (min-width: 1024px) {
  .nav { display: flex; gap: 30px; font-size: 16px; font-weight: 500; }
  .nav a { color: var(--white); text-decoration: none; }
  .nav a:hover { color: var(--amber); }
  .top__cta { display: inline-flex; min-height: 44px; font-size: 17px; padding: 0 18px; }
  .top__call, .top__menu { display: none; }
  .top__act { gap: 18px; }
}
@media (min-width: 1200px) { .top__phone { display: inline; color: var(--white); text-decoration: none; font-weight: 600; font-size: 16px; white-space: nowrap; } }
@media (min-width: 1024px) and (max-width: 1199px) { .nav { gap: 22px; } }

/* Меню на телефоне */
.menu { position: fixed; inset: 0; z-index: 50; display: flex; flex-direction: column; background: var(--bg); overflow-y: auto; overscroll-behavior: contain; }
.menu[hidden] { display: none; }
.menu__head { height: 60px; padding: 0 var(--gut); display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--rim); flex: none; }
.menu__nav { padding: 12px var(--gut) 0; display: flex; flex-direction: column; }
.menu__nav a { display: flex; justify-content: space-between; align-items: center; min-height: 64px; border-bottom: 1px solid var(--rim); text-decoration: none; color: var(--white); }
.menu__nav .lamp { font-size: 30px; }
.menu__lit { color: var(--amber); }
.menu__meta { font-size: 14px; color: var(--muted-2); }
.menu__foot { margin-top: auto; padding: 16px var(--gut) calc(16px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 12px; }
.menu__card { padding: 16px; display: flex; flex-direction: column; gap: 6px; font-size: 15px; }
.menu__phone { color: var(--white); font-weight: 600; font-size: 17px; }
.menu__foot .btn { min-height: 54px; }
.menu__tg { text-align: center; font-weight: 600; font-size: 16px; padding: 8px; }

/* Первый экран: телефон — табло колонкой над фото */
.hero { position: relative; min-height: 820px; overflow: hidden; }
.hero__plate { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 68% top; }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 13, 12, .1) 0%, rgba(11, 13, 12, 0) 50%, rgba(11, 13, 12, .9) 100%); }
.tablo { position: absolute; top: 28px; left: 50%; transform: translateX(-50%); width: min(100% - 2 * var(--gut), 520px); }
.tablo__board { padding: 18px; box-shadow: 0 18px 40px rgba(0, 0, 0, .55); display: flex; flex-direction: column; gap: 14px; }
.tablo__next { display: flex; flex-direction: column; gap: 14px; }
.tablo__group { font-size: 50px; color: var(--amber); }
.tablo__years { font-size: 34px; }
.tablo__when { font-size: 21px; }
.tablo__trial { border-top: 2px dotted var(--line); padding-top: 14px; display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.tablo__trial .kicker { display: none; }
.tablo__trial-word { font-size: 30px; color: var(--amber); }
.tablo__zero { font-size: 64px; color: var(--red); white-space: nowrap; }
.tablo__foot { display: flex; flex-direction: column; gap: 14px; }
.tablo__foot h1 { font-size: 22px; line-height: 1.25; font-weight: 700; border-top: 2px dotted var(--line); padding-top: 14px; text-wrap: balance; }
.tablo__cta { min-height: 56px; width: 100%; }
.tablo__legs { display: flex; justify-content: space-between; padding: 0 60px; }
.tablo__legs span { display: block; width: 18px; height: 70px; background: linear-gradient(90deg, #141816, #232826, #141816); }
.strip { position: absolute; left: var(--gut); right: var(--gut); bottom: 18px; }
.strip__in { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; max-width: 520px; margin: 0 auto; }
.strip__group { display: none; }
.strip__fact { padding: 10px; display: flex; flex-direction: column; gap: 2px; border: 1px solid var(--rim); border-radius: 4px; background: rgba(11, 13, 12, .85); }
.strip__fact .lamp { font-size: 22px; color: var(--amber); line-height: 1.15; }
.strip__fact .muted { font-size: 12px; line-height: 1.35; }
@media (min-width: 600px) { .hero__plate { object-position: 68% top; } }

/* Первый экран: компьютер — табло в долях ширины (правка 01.11: голова мальчика ниже табло) */
@media (min-width: 960px) {
  .hero { aspect-ratio: 1440 / 880; min-height: 720px; container-type: inline-size; }
  .hero__plate { object-position: center top; }
  .hero__shade { background: linear-gradient(180deg, rgba(11, 13, 12, .15) 0%, rgba(11, 13, 12, 0) 30%, rgba(11, 13, 12, 0) 70%, rgba(11, 13, 12, .85) 100%); }
  .tablo { top: 5.6cqw; width: 68cqw; }
  .tablo__board { padding: 1.7cqw 2cqw; box-shadow: 0 24px 60px rgba(0, 0, 0, .55); display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 0; }
  .tablo__next { padding: .3cqw 1.6cqw 1.4cqw .4cqw; border-right: 2px dotted var(--line); gap: .9cqw; }
  .tablo__next .kicker, .tablo__trial .kicker { font-size: max(12px, .95cqw); }
  .tablo__group { font-size: 5.1cqw; }
  .tablo__years { font-size: 3.6cqw; }
  .tablo__when { font-size: 2.1cqw; }
  .tablo__trial { border-top: 0; padding: .3cqw .4cqw 1.4cqw 1.9cqw; flex-direction: column; align-items: flex-start; justify-content: center; gap: .7cqw; }
  .tablo__trial .kicker { display: block; }
  .tablo__trial-word { font-size: 3.75cqw; }
  .tablo__zero { font-size: 7.8cqw; }
  .tablo__foot { grid-column: 1 / -1; border-top: 2px dotted var(--line); padding-top: 1.4cqw; flex-direction: row; align-items: center; justify-content: space-between; gap: 1.9cqw; }
  .tablo__foot h1 { font-size: max(20px, 2.1cqw); line-height: 1.2; border-top: 0; padding-top: 0; max-width: 39cqw; }
  .tablo__cta { width: auto; min-height: max(48px, 4.2cqw); font-size: max(16px, 1.5cqw); padding: 0 2.1cqw; white-space: nowrap; flex: none; }
  .tablo__legs { position: relative; display: block; height: 7cqw; padding: 0; }
  .tablo__legs span { position: absolute; top: 0; width: 1.8cqw; height: 100%; }
  .tablo__legs span:first-child { left: 14%; }
  .tablo__legs span:last-child { left: 46%; }
  .strip { left: 0; right: 0; bottom: 0; background: rgba(11, 13, 12, .86); border-top: 1px solid var(--rim); }
  .strip__in { max-width: 1440px; padding: 18px var(--gut); grid-template-columns: repeat(4, minmax(0, 1fr)) repeat(3, minmax(0, .8fr)); gap: 0; }
  .strip__group, .strip__fact { display: block; padding: 4px 18px; border: 0; border-right: 1px dashed var(--line); border-radius: 0; background: none; color: var(--white); text-decoration: none; line-height: 1.4; }
  .strip__group:first-child { padding-left: 0; }
  .strip__fact:last-child { border-right: 0; padding-right: 0; }
  .strip__group b { display: block; color: var(--amber); font-size: 17px; }
  .strip__group:hover b { color: var(--amber-soft); }
  .strip__group .muted, .strip__fact .muted { display: block; font-size: 14px; }
  .strip__fact .lamp { display: block; font-size: 26px; line-height: 1.25; }
}

/* Разделы */
.wrap { max-width: 1440px; margin: 0 auto; padding: 0 var(--gut); display: flex; flex-direction: column; gap: 18px; }
.sec { padding: 56px 0 48px; scroll-margin-top: 60px; }
/* Скорость: разделы ниже первого экрана браузер не рисует, пока до них не долистали (маски ламп и сетка панелей — дорогие);
   перед переходом по якорю site.js включает .cv-all — прокрутка идёт по настоящим высотам */
.sec, .foot { content-visibility: auto; contain-intrinsic-size: auto 900px; }
.cv-all .sec, .cv-all .foot { content-visibility: visible; }
.sec--next { padding-top: 24px; }
.sec__head { display: flex; flex-direction: column; gap: 18px; }
.sec__title { display: flex; flex-direction: column; gap: 18px; }
.sec__title h2 { font-size: 44px; color: var(--amber); }
.sec__intro { font-size: 16px; line-height: 1.5; }
@media (min-width: 960px) {
  .wrap { gap: 36px; }
  .sec { padding: 110px 0 100px; scroll-margin-top: 72px; }
  .sec--next { padding-top: 40px; }
  .sec--last { padding-bottom: 110px; }
  .sec__head { flex-direction: row; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 40px; }
  .sec__title { gap: 14px; }
  .sec__title h2 { font-size: 72px; }
  .sec__intro { max-width: 460px; font-size: 18px; }
}

/* Расписание: таблица с 1200 px, ниже — карточки */
.sched-table { display: none; }
.sched__next { display: none; font-size: 13px; color: var(--amber); font-weight: 600; }
.is-next .sched__next { display: block; }
.len { display: flex; align-items: center; gap: 10px; }
.len__bar { display: block; height: 8px; width: calc(var(--m) * 1.111%); background: var(--white); border-radius: 2px; }
.len__txt { font-size: 14px; color: var(--muted); white-space: nowrap; }
.is-next .len__bar { background: var(--amber); box-shadow: 0 0 8px rgba(255, 178, 26, .6); }
.is-next .len__txt { color: var(--amber); }
.is-next .btn-ghost { background: var(--amber); color: var(--bg); border: 0; box-shadow: 0 0 0 2px var(--amber), 0 0 20px rgba(255, 178, 26, .45); }
.is-next .btn-ghost:hover { background: var(--amber-hi); color: var(--bg); }
.sched-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
@media (min-width: 640px) { .sched-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.sched-card { padding: 16px; display: flex; flex-direction: column; gap: 12px; font-size: 16px; opacity: .85; }
.sched-card.is-next { opacity: 1; border-color: var(--amber); box-shadow: 0 0 0 1px var(--amber), 0 0 24px rgba(255, 178, 26, .2); }
.sched-card__top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 15px; }
.sched-card .sched__name { font-size: 28px; }
.sched-card.is-next .sched__name { color: var(--amber); filter: drop-shadow(0 0 4px rgba(255, 178, 26, .55)); }
.sched-card__coach { font-size: 14px; }
.notes { display: flex; flex-direction: column; gap: 8px; font-size: 14px; line-height: 1.5; }
.notes__clock { display: none; }
@media (min-width: 960px) { .notes { flex-direction: row; flex-wrap: wrap; gap: 28px; font-size: 16px; } .notes__clock { display: block; } }
@media (min-width: 1200px) {
  .sched-cards { display: none; }
  .sched-table { display: block; padding: 28px 28px 8px; overflow-x: auto; }
  table { border-collapse: collapse; width: 100%; }
  th { font-family: "Oswald", sans-serif; font-weight: 500; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); text-align: left; padding: 0 16px 14px; border-bottom: 1px solid var(--rim); white-space: nowrap; }
  td { padding: 22px 16px; border-bottom: 1px solid var(--rule); font-size: 18px; vertical-align: middle; }
  tbody tr { opacity: .78; }
  tbody tr.is-next { opacity: 1; background: rgba(255, 178, 26, .07); box-shadow: inset 4px 0 0 var(--amber); }
  .sched-table .sched__name { font-size: 26px; }
  tr.is-next .sched__name { color: var(--amber); filter: drop-shadow(0 0 5px rgba(255, 178, 26, .55)); }
  .sched-table__len { width: 200px; }
  .sched-table .len__bar { height: 10px; width: calc(var(--m) * .885%); }
  .sched-table .len__txt { font-size: 15px; }
  tr.is-next .len__bar { box-shadow: 0 0 10px rgba(255, 178, 26, .6); }
  .sched-table__btn { text-align: right; }
}

/* Тренеры */
.coaches { display: grid; gap: 18px; }
.coach { padding: 18px; display: flex; gap: 16px; align-items: flex-start; }
.coach__mono { width: 84px; height: 84px; flex: none; display: flex; align-items: center; justify-content: center; }
.coach__mono .lamp { font-size: 38px; color: var(--amber); }
.coach__body { display: flex; flex-direction: column; gap: 6px; }
.coach h3 { font-size: 21px; font-weight: 700; }
.coach__role { font-size: 15px; color: var(--amber); }
.coach__exp { font-size: 15px; line-height: 1.45; }
.coach__groups { display: none; }
@media (min-width: 960px) {
  .coaches { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
  .coach { padding: 32px; display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 28px; align-items: start; }
  .coach__mono { width: auto; height: 150px; }
  .coach__mono .lamp { font-size: 70px; }
  .coach__body { gap: 12px; }
  .coach h3 { font-size: 30px; }
  .coach__role { font-size: 18px; }
  .coach__exp { font-size: 17px; line-height: 1.5; }
  .coach__groups { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 0; padding: 0; list-style: none; }
  .coach__groups li { padding: 6px 12px; font-size: 14px; }
}

/* Абонементы */
.plans { display: grid; gap: 18px; }
.plan { padding: 20px; display: flex; flex-direction: column; gap: 14px; container-type: inline-size; }
.plan--trial { border-color: var(--amber); box-shadow: 0 0 0 1px var(--amber), 0 0 24px rgba(255, 178, 26, .18); }
.plan__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.plan__tag { font-size: 12px; font-weight: 600; color: var(--bg); background: var(--white); padding: 4px 8px; border-radius: 4px; white-space: nowrap; }
.plan__price { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.plan__zero { font-size: 64px; color: var(--red); white-space: nowrap; }
.plan__sum { font-size: 58px; color: var(--amber); white-space: nowrap; }
.plan__period { font-size: 15px; }
.plan__lead { font-size: 17px; font-weight: 600; }
.plan__lead--count { display: none; }
.plan__list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 9px; font-size: 15px; color: var(--soft); }
.plan__btn { margin-top: auto; }
@media (min-width: 960px) {
  .plans { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; align-items: stretch; }
  .plan { padding: 32px; gap: 20px; }
  .plan--trial { box-shadow: 0 0 0 1px var(--amber), 0 0 40px rgba(255, 178, 26, .18); }
  .plan__count { display: none; }
  .plan__lead--count { display: block; }
  .plan__tag { font-size: 13px; padding: 5px 10px; }
  .plan__zero, .plan__sum { font-size: min(96px, 26cqi); }
  .plan__price { gap: 14px; }
  .plan__period { font-size: 17px; }
  .plan__lead { font-size: 19px; }
  .plan__list { gap: 12px; font-size: 17px; }
}

/* Частые вопросы */
.faq { gap: 10px; }
.faq .sec__title h2 { margin-bottom: 8px; }
.faq__list { border-top: 1px solid var(--rim); }
details { border-bottom: 1px solid var(--rim); }
summary { cursor: pointer; list-style: none; padding: 20px 0; font-size: 18px; font-weight: 600; display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary:hover { color: var(--amber-soft); }
.pm { position: relative; flex: none; width: 14px; height: 14px; margin-top: .3em; color: var(--amber); }
.pm::before, .pm::after { content: ""; position: absolute; left: 0; top: 6px; width: 14px; height: 2px; background: currentColor; transition: transform .2s; }
.pm::after { transform: rotate(90deg); }
details[open] .pm::after { transform: rotate(0deg); }
details p { margin: 0 0 20px; font-size: 16px; line-height: 1.55; max-width: 760px; }
@media (min-width: 960px) {
  .faq { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 60px; }
  .faq .sec__title h2 { margin-bottom: 0; }
  summary { padding: 24px 0; font-size: 21px; gap: 24px; }
  details p { margin-bottom: 24px; font-size: 18px; }
}

/* Запись и контакты */
.book { display: grid; gap: 18px; }
.book__side { display: flex; flex-direction: column; gap: 18px; }
@media (min-width: 960px) {
  .book { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 28px; align-items: start; }
  .book__side { gap: 28px; }
}
.form { padding: 20px; display: flex; flex-direction: column; gap: 16px; }
.form__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; border-bottom: 2px dotted var(--line); padding-bottom: 14px; }
.form__head h3 { margin: 0 0 6px; font-size: 21px; }
.form__head p { font-size: 14px; }
.form__zero { font-size: 40px; color: var(--red); white-space: nowrap; }
.form__grid { display: grid; gap: 16px; }
.form label { font-size: 15px; color: var(--label); display: flex; flex-direction: column; gap: 7px; }
.opt { color: var(--opt); white-space: nowrap; }
input, select, textarea { font-family: "Golos Text", sans-serif; font-size: 16px; color: var(--white); background: var(--bg); border: 1.5px solid var(--line); border-radius: 6px; padding: 13px 14px; width: 100%; }
textarea { resize: vertical; }
select { appearance: none; padding-right: 44px; cursor: pointer;
  background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23ffb21a' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center; }
::placeholder { color: var(--opt); opacity: 1; }
input:hover, select:hover, textarea:hover { border-color: #5a615c; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--amber); outline-offset: 1px; border-color: var(--amber); }
.form__send { display: flex; flex-direction: column; gap: 16px; }
.form__submit { width: 100%; min-height: 56px; }
.form__tg { font-size: 16px; font-weight: 600; text-align: center; }
.nw { white-space: nowrap; }
.helper .btn-lit { box-shadow: none; }
@media (min-width: 600px) and (max-width: 959px) { .form__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .form__wide { grid-column: 1 / -1; } }
@media (min-width: 960px) {
  .form { padding: 36px; gap: 20px; }
  .form__head { align-items: center; gap: 20px; padding-bottom: 20px; }
  .form__head h3 { font-size: 28px; }
  .form__head p { font-size: 16px; }
  .form__zero { font-size: 64px; }
  .form__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
  .form__wide { grid-column: 1 / -1; }
  input, select, textarea { font-size: 17px; }
  .form__send { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 24px; }
  .form__submit { width: auto; min-height: 60px; font-size: 22px; }
  .form__tg { font-size: 17px; text-align: left; }
}

/* Метки оболочки: согласие, ошибки, сводка, «отправляем», «не отправилась» */
.form .sd-consent.sd-consent { flex-direction: row; gap: 12px; font-size: 14px; line-height: 1.45; color: var(--label); }
.form .sd-consent.sd-consent input { width: 22px; height: 22px; min-height: 0; margin: 0; accent-color: var(--amber); color-scheme: light; }
.sd-consent a { color: var(--amber); text-decoration: none; }
.sd-consent a:hover { text-decoration: underline; }
@media (min-width: 960px) { .form .sd-consent.sd-consent { font-size: 15px; } }
.sd-error.sd-error { display: flex; gap: 8px; align-items: flex-start; margin: 0; font-size: 14px; line-height: 1.35; color: var(--err); }
.sd-error::before { content: ""; flex: none; width: 16px; height: 16px; margin-top: 1px; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 7v6M12 17h.01'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 7v6M12 17h.01'/%3E%3C/svg%3E") center / contain no-repeat; }
[data-sd-consent] .sd-error { margin-top: 8px; }
.form [aria-invalid="true"] { outline: none; border-color: var(--err-rim); box-shadow: 0 0 0 1px var(--err-rim); }
.form [aria-invalid="true"]:focus-visible { outline: 2px solid var(--err-rim); outline-offset: 1px; }
.form input[type="checkbox"][aria-invalid="true"] { outline: 2px solid var(--err-rim); outline-offset: 2px; box-shadow: none; }
.sd-summary.sd-summary { border: 1.5px solid var(--err-rim); border-radius: 6px; padding: 12px 14px; font-size: 15px; line-height: 1.4; background: rgba(255, 107, 95, .08); color: var(--white); }
.sd-senderr.sd-senderr { flex-basis: 100%; margin: 0; border: 1.5px solid var(--err-rim); border-radius: 6px; padding: 14px; background: rgba(255, 107, 95, .08); display: flex; flex-direction: column; gap: 10px; }
.sd-senderr .sd-senderr__title { margin: 0; font-size: 17px; font-weight: 700; color: var(--err); }
.sd-senderr .sd-senderr__text { margin: 0; font-size: 15px; line-height: 1.45; }
.sd-senderr .sd-senderr__actions { gap: 8px 16px; font-size: 15px; font-weight: 600; }
.sd-senderr .sd-senderr__actions a, .sd-senderr .sd-senderr__actions button { color: var(--amber); text-decoration: none; font-weight: 600; }
.sd-senderr .sd-senderr__actions a:hover, .sd-senderr .sd-senderr__actions button:hover { text-decoration: underline; }
.form__submit[aria-busy="true"] { background: #3a3020; color: var(--amber-soft); box-shadow: inset 0 0 0 2px var(--amber); gap: 12px; cursor: progress; }
.form__submit[aria-busy="true"]::before { content: ""; width: 18px; height: 18px; border: 2.4px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .form__submit[aria-busy="true"]::before { animation: none; } }

/* Телефон: столбиком, как на артборде 390 (телефон и почта там переносятся друг под друга); почта не рвётся посреди адреса */
.info { padding: 20px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px 24px; }
.info p { margin-top: 6px; font-size: 17px; line-height: 1.45; }
@media (min-width: 600px) { .info { grid-template-columns: repeat(2, minmax(0, 1fr)); } .info__wide, .info__hours, .info__tg { grid-column: 1 / -1; } }
.info__tg .kicker { display: none; }
.info__tg p { margin-top: 0; font-weight: 600; }
.map { position: relative; height: 200px; overflow: hidden; background-image: repeating-linear-gradient(0deg, transparent 0 29px, rgba(255, 255, 255, .05) 29px 30px), repeating-linear-gradient(90deg, transparent 0 29px, rgba(255, 255, 255, .05) 29px 30px); }
.map__pin { position: absolute; font-size: 13px; font-weight: 600; color: var(--bg); padding: 5px 8px; border-radius: 4px; white-space: nowrap; }
.map__pin--north { left: 18%; top: 36%; background: var(--amber); }
.map__pin--south { left: 44%; top: 60%; background: var(--white); }
.map__pin .dot { width: .55em; height: .55em; }
.map__link { position: absolute; left: 14px; bottom: 12px; font-size: 15px; font-weight: 600; }
@media (min-width: 960px) {
  .info { padding: 32px; gap: 24px 28px; }
  .info__hours, .info__tg { grid-column: auto; }
  .info p { margin-top: 8px; font-size: 19px; }
  .info__tg .kicker { display: inline; }
  .info__tg p { margin-top: 8px; font-weight: 400; }
  .map { height: 260px; background-image: repeating-linear-gradient(0deg, transparent 0 39px, rgba(255, 255, 255, .05) 39px 40px), repeating-linear-gradient(90deg, transparent 0 39px, rgba(255, 255, 255, .05) 39px 40px); }
  .map__pin { font-size: 14px; padding: 6px 10px; }
  .map__pin--north { left: 34%; top: 42%; }
  .map__pin--south { left: 58%; top: 62%; }
  .map__link { left: auto; right: 16px; bottom: 14px; font-size: 16px; }
}

/* Подвал: реквизиты — метка data-sd-legal, столбиком под «Документы» */
.foot { border-top: 1px solid var(--rim); background: var(--foot); padding: 32px 0 calc(110px + env(safe-area-inset-bottom)); font-size: 14px; }
.foot__in { gap: 12px; }
.foot__brand, .foot__col { display: flex; flex-direction: column; gap: 12px; }
.foot__name { font-size: 28px; color: var(--amber); }
.foot__col > .kicker, .foot__col--contacts { display: none; }
/* Разделители « · » оболочки — текстом между ссылками: прячем размером 0, ссылки — строками */
.foot__legal { font-size: 0; line-height: 1.5; }
.foot__legal > * { display: block; font-size: 14px; }
.foot__legal > * + * { margin-top: 12px; }
.foot__legal .sd-legal__op { color: var(--muted); }
.foot__legal a { color: var(--soft); text-decoration: underline; text-decoration-thickness: 1px; }
.foot__legal a:hover, .foot__credit:hover { color: var(--amber); text-decoration: underline; }
.foot__legal .sd-legal__demo { color: var(--muted-2); font-size: 13px; margin: 0; }
.foot__legal .sd-legal__cookies { color: var(--soft); text-align: left; font-size: 14px; text-decoration: none; }
.foot__credit { color: var(--muted-2); text-decoration: underline; text-decoration-thickness: 1px; }
.foot a.plain { text-decoration: none; }
.foot a.plain:hover { color: var(--amber); }
@media (min-width: 960px) {
  .foot { padding: 48px 0 40px; font-size: 15px; }
  .foot__in { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); gap: 40px; }
  .foot__name { font-size: 34px; }
  .foot__col { gap: 10px; }
  .foot__col > .kicker { display: block; }
  .foot__col--contacts { display: flex; }
  .foot__legal > * + * { margin-top: 10px; }
  .foot__legal > *, .foot__legal .sd-legal__cookies { font-size: 15px; }
  .foot__credit { margin-top: 8px; }
}

/* Помощник: кнопка на компьютере, липкая полоса записи на телефоне */
.ask { display: none; }
.dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: flex; gap: 10px; padding: 10px var(--gut) calc(14px + env(safe-area-inset-bottom)); background: rgba(11, 13, 12, .95); border-top: 1px solid var(--rim); }
.dock__cta { flex: 1; min-height: 50px; font-size: 17px; }
.dock__ask { width: 50px; height: 50px; flex: none; display: flex; align-items: center; justify-content: center; border: 2px solid var(--amber); border-radius: 25px; background: transparent; color: var(--amber); cursor: pointer; }
@media (min-width: 960px) {
  .dock { display: none; }
  .ask { position: fixed; right: 28px; bottom: 28px; z-index: 30; display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 20px 0 16px; border-radius: 26px; border: 2px solid var(--amber); background: var(--bg); color: var(--amber); font: 600 16px/1 "Golos Text", sans-serif; cursor: pointer; box-shadow: 0 8px 24px rgba(0, 0, 0, .5); }
  .ask:hover { background: #17140c; }
}
.helper { position: fixed; inset: 0; z-index: 60; }
.helper[hidden] { display: none; }
.helper__shade { position: absolute; inset: 0; background: rgba(5, 6, 6, .72); }
.helper__sheet { position: absolute; left: 0; right: 0; bottom: 0; background: var(--bg); border-top: 2px solid var(--amber); border-radius: 14px 14px 0 0; padding: 18px var(--gut) calc(24px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 18px; box-shadow: 0 -12px 40px rgba(0, 0, 0, .6); max-height: 100%; overflow-y: auto; }
.helper__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.helper__head > div { display: flex; flex-direction: column; gap: 4px; }
.helper__title { font-size: 26px; color: var(--amber); }
.helper__sub { font-size: 13px; color: var(--muted-2); }
.helper__text { padding: 18px; font-size: 16px; line-height: 1.5; }
.helper__note { font-size: 13px; line-height: 1.45; color: var(--muted-2); }
@media (min-width: 960px) {
  .helper__sheet { left: auto; right: 28px; bottom: 28px; width: 400px; border: 2px solid var(--rim); border-top: 2px solid var(--amber); border-radius: 14px; padding: 22px; max-height: calc(100% - 56px); }
}

/* Включение ламп при прокрутке — одно движение страницы, только без «уменьшить движение». Погашенные — 50 %: контраст ≥ 3:1 (крупный текст) */
@media (prefers-reduced-motion: no-preference) {
  .js .sec__title h2.is-off { opacity: .5; filter: none; }
  .js .sec__title h2.is-on { animation: lamp-on .7s cubic-bezier(.16, 1, .3, 1) both; }
  @keyframes lamp-on { 0% { opacity: .5; filter: none; } 18% { opacity: 1; } 30% { opacity: .55; } 46% { opacity: 1; filter: drop-shadow(0 0 5px rgba(255, 178, 26, .55)); } 100% { opacity: 1; filter: drop-shadow(0 0 5px rgba(255, 178, 26, .55)); } }
}
