/* ============================================================
   V3: взрослее и технологичнее — переопределения и новые блоки
   ============================================================ */

/* --- Приглушаем «детские» элементы v1/v2 --- */
.marquee { transform: none; margin-top: 0; padding: 12px 0; background: var(--navy-deep); }
.mq-item { font-family: var(--font-body); font-weight: 700; font-size: 13.5px; letter-spacing: .02em; }
.mq-dot { color: #33508F; }
.free-pill { animation: none; font-size: 13px; font-weight: 800; letter-spacing: .02em; height: 36px; }
.logo-mark svg { animation: none; }
.site-header:hover .logo-mark svg { animation: logoSpin 12s linear infinite; }

/* Секции «включаются» роботом: точка-индикатор + подчёркивание заголовка */
.section-title { position: relative; padding-bottom: 14px; }
.section-title::after {
  content: ''; position: absolute; left: 0; bottom: 0; height: 4px; width: 0;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--orange), var(--cyan));
  transition: width .9s var(--ease);
}
section.is-on .section-title::after { width: 84px; }
section.is-on .section-kicker { color: var(--orange); }
@keyframes sectionZap {
  0% { box-shadow: 0 0 0 0 rgba(41,168,223,.0); }
  30% { box-shadow: 0 0 0 6px rgba(41,168,223,.18); }
  100% { box-shadow: 0 0 0 0 rgba(41,168,223,0); }
}
section.is-zap .section-title { animation: sectionZap 1s var(--ease); border-radius: 8px; }

/* ============================================================
   V3: ПРОГРЕСС-ЛИНИЯ СЛЕВА
   ============================================================ */
.rail { position: fixed; left: 20px; top: 50%; transform: translateY(-50%); z-index: 80; display: none; }
@media (min-width: 1200px) { .rail { display: block; } }
.rail-line {
  position: absolute; left: 5px; top: 6px; bottom: 6px; width: 2px;
  background: #D8E2F0; border-radius: 1px;
}
.rail-fill {
  width: 100%; height: 0; border-radius: 1px;
  background: linear-gradient(180deg, var(--cyan), var(--orange));
  transition: height .2s linear;
}
.rail-node { position: relative; display: flex; align-items: center; gap: 12px; padding: 13px 0; }
.rail-node i {
  width: 12px; height: 12px; border-radius: 50%; background: #fff;
  border: 2px solid #C4D2E5; position: relative; z-index: 1;
  transition: border-color .3s, background .3s, box-shadow .3s;
}
.rail-node span {
  font-size: 12.5px; font-weight: 800; color: var(--ink-soft); opacity: 0;
  transform: translateX(-6px); transition: opacity .25s, transform .25s;
  background: #fff; padding: 3px 10px; border-radius: 8px; box-shadow: var(--shadow);
  white-space: nowrap; pointer-events: none;
}
.rail-node:hover span { opacity: 1; transform: translateX(0); }
.rail-node.lit i { border-color: var(--cyan); background: var(--cyan); box-shadow: 0 0 10px rgba(41,168,223,.6); }
.rail-node.now i { border-color: var(--orange); background: var(--orange); box-shadow: 0 0 12px rgba(242,101,34,.65); }

/* ============================================================
   V3: РОБОТ — редизайн поведения
   ============================================================ */
.robot { right: auto; left: 0; top: 26vh; }
.robot-zap { opacity: 0; }
.robot.is-zapping .robot-zap { opacity: 1; animation: zapFlick .5s steps(2) 2; }
@keyframes zapFlick { 0%,100% { opacity: 1; } 50% { opacity: .2; } }

/* ============================================================
   V3: ЕДИНЫЙ ФЛОУ ЗАПИСИ
   ============================================================ */
.flow { position: relative; max-width: 860px; }
.flow::before {
  content: ''; position: absolute; left: 27px; top: 10px; bottom: 30px; width: 3px;
  background: linear-gradient(180deg, var(--cyan) 0%, var(--orange) 60%, var(--green) 100%);
  border-radius: 2px; opacity: .35;
}
.flow-step { position: relative; display: flex; gap: 26px; padding-bottom: 34px; }
.flow-step:last-child { padding-bottom: 0; }
.flow-marker {
  position: relative; z-index: 1; flex: none;
  width: 56px; height: 56px; border-radius: 18px;
  background: var(--navy); color: #fff;
  display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 700; font-size: 22px;
  box-shadow: 0 8px 20px rgba(15,35,87,.25);
}
.flow-step:nth-child(1) .flow-marker { background: var(--cyan); }
.flow-step:nth-child(2) .flow-marker { background: var(--blue); }
.flow-step:nth-child(3) .flow-marker { background: var(--orange); }
.flow-step:nth-child(4) .flow-marker { background: var(--green); }
.flow-card {
  flex: 1; min-width: 0; background: var(--surface); border-radius: var(--radius);
  padding: 26px 30px; box-shadow: var(--shadow); border: 1px solid var(--line);
}
.flow-card > h3 { margin: 4px 0 10px; font-size: 20px; font-weight: 800; color: var(--navy); }
.flow-card > p { margin: 0 0 14px; color: var(--ink-soft); font-size: 15.5px; }
.flow-note {
  background: #EFF5FD; border-left: 4px solid var(--cyan); border-radius: 8px;
  padding: 10px 16px; font-size: 14px; color: var(--ink); margin-top: 14px;
}
.flow-note-warn { background: #FFF6EC; border-left-color: var(--orange); }
.flow-alert {
  background: #FDEBE8; border: 1px solid #F0B6AC; border-left: 4px solid var(--red);
  border-radius: 8px; padding: 12px 16px; margin-top: 14px;
  font-size: 14.5px; font-weight: 800; color: #A32619; line-height: 1.5;
}
.check-only {
  margin-top: 6px !important; font-size: 13px !important; font-weight: 700;
  color: var(--orange) !important;
}
.flow-card .step-actions { margin: 4px 0 0; }
.flow-card .docs-progress { margin: 16px 0 6px; }
.flow-card .check-list { margin-top: 12px; gap: 10px; }
.flow-card .check-step { padding: 16px 18px; box-shadow: none; border: 1px solid var(--line); }
.flow-card .check-step.is-done { border-color: #BFE8CC; }
.flow-card .check-body h3 { font-size: 16px; }
.flow-card .check-body p { font-size: 14px; }
.flow-card .check-box { width: 46px; height: 46px; border-radius: 13px; }
.flow-card .check-body { padding-left: 0; }
.bring-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 16px; }
.bring-item {
  background: #F2F8F4; border: 1px solid #D6EBDD; border-radius: 12px; padding: 12px 14px;
  display: flex; flex-direction: column; gap: 2px;
}
.bring-item span { font-size: 11.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: #187A33; }
.bring-item b { font-size: 14.5px; color: var(--ink); }
.flow-card-final { border-color: #CBE8D4; }

/* СНИЛС внутри шага 2 */
.snils-details { margin-top: 16px; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.snils-details summary {
  list-style: none; cursor: pointer; padding: 14px 18px;
  font-weight: 800; font-size: 15px; color: var(--blue);
  display: flex; align-items: center; gap: 10px;
  transition: background var(--dur);
}
.snils-details summary::-webkit-details-marker { display: none; }
.snils-details summary::before {
  content: ''; width: 8px; height: 8px; flex: none;
  border-right: 2.5px solid var(--blue); border-bottom: 2.5px solid var(--blue);
  transform: rotate(-45deg); transition: transform .25s; margin-left: 4px;
}
.snils-details[open] summary::before { transform: rotate(45deg); }
.snils-details summary:hover { background: #F4F8FE; }
.snils-embed { padding: 4px 18px 18px; }
.snils-embed > p { font-size: 14px; color: var(--ink-soft); margin: 0 0 14px; }
.snils-embed code { background: #E9F0FB; border-radius: 6px; padding: 2px 8px; font-size: 13px; }

/* ============================================================
   V3: РАСПИСАНИЕ — АККОРДЕОН
   ============================================================ */
.acc {
  border: 1px solid #26407F; border-radius: var(--radius-sm);
  background: #16295C; overflow: hidden;
}
.acc + .acc { margin-top: 8px; }
@media (min-width: 900px) {
  .sched-list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; align-items: start; }
  .acc + .acc { margin-top: 0; }
  .sched-day-list { grid-column: 1 / -1; }
  .sched-empty { grid-column: 1 / -1; }
}
.acc-head {
  width: 100%; display: flex; align-items: center; gap: 14px; text-align: left;
  background: none; border: none; color: inherit; padding: 14px 18px;
  min-height: 52px; transition: background var(--dur);
}
.acc-head:hover { background: #1A3068; }
.acc-title { flex: 1; min-width: 0; font-weight: 800; font-size: 15.5px; color: #fff; }
.acc-age { flex: none; font-size: 12.5px; font-weight: 700; color: #8FD9FF; }
.acc-sum { flex: none; font-size: 12.5px; font-weight: 800; padding: 4px 12px; border-radius: 999px; }
.acc-sum.ok { background: #123F24; color: #7BE39A; }
.acc-sum.no { background: #4A1610; color: #FF9E93; }
.acc-sum.part { background: #3D3313; color: #FFD97A; }
.acc-chev {
  flex: none; width: 9px; height: 9px;
  border-right: 2.5px solid #8CA2D4; border-bottom: 2.5px solid #8CA2D4;
  transform: rotate(45deg); transition: transform .25s; margin-top: -4px;
}
.acc.open .acc-chev { transform: rotate(-135deg); margin-top: 4px; }
.acc-body { display: none; padding: 2px 18px 16px; }
.acc.open .acc-body { display: block; }
.acc-teacher { font-size: 12.5px; color: #8CA2D4; margin: 0 0 10px; }
.acc .sched-chips { min-width: 0; }
.acc .gchip { font-size: 12.5px; padding: 5px 10px; gap: 6px; }
.acc .gchip.is-open-slot { border-left: 3px solid #2BA84A; }
.acc .gchip.is-full { border-left: 3px solid #D93A2B; }

/* ============================================================
   V3.1: ГЕРОЙ — ФОТО ЗДАНИЯ В РАМКЕ
   ============================================================ */
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(circle, #B8C9E4 1.2px, transparent 1.3px);
  background-size: 26px 26px; opacity: .35;
  -webkit-mask-image: radial-gradient(70% 70% at 60% 40%, #000 0%, transparent 75%);
  mask-image: radial-gradient(70% 70% at 60% 40%, #000 0%, transparent 75%);
}
.photo-card { position: relative; margin: 0; }
.photo-frame {
  position: absolute; inset: -14px -14px 14px 14px; border-radius: 28px;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  opacity: .18; transform: rotate(2deg);
}
.photo-card::before {
  content: ''; position: absolute; top: -22px; right: -10px; width: 74px; height: 74px;
  border-radius: 20px; border: 4px solid var(--orange); opacity: .55; z-index: 0;
}
.photo-img {
  position: relative; z-index: 1; display: block; width: 100%; height: auto;
  border-radius: 22px; box-shadow: 0 26px 60px rgba(15, 35, 87, .22);
  background: #fff; object-fit: cover;
}
.photo-fallback { padding: 22px 18px 14px; }
.photo-card figcaption {
  position: absolute; z-index: 2; left: 16px; bottom: 16px;
  background: rgba(15, 35, 87, .82); color: #fff;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  border-radius: 14px; padding: 10px 18px;
  display: flex; flex-direction: column; gap: 1px;
}
.photo-card figcaption b { font-size: 14.5px; font-weight: 800; }
.photo-card figcaption span { font-size: 12.5px; color: #B9D2F5; font-weight: 600; }

/* ============================================================
   V3.1: КАРТОЧКИ НАПРАВЛЕНИЙ — ЖИВОЙ ХОВЕР
   ============================================================ */
.prog-card { overflow: hidden; }
.prog-card::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 4px;
  background: linear-gradient(90deg, var(--cyan), var(--blue));
  transform: scaleX(0); transform-origin: left;
  transition: transform .35s var(--ease);
}
.prog-card.cat-dom::after { background: linear-gradient(90deg, var(--orange), var(--red)); }
.prog-card:hover::after, .prog-card:focus-visible::after { transform: scaleX(1); }
.prog-card .prog-art svg { transition: transform .35s var(--ease); }
.prog-card:hover .prog-art svg { transform: translateY(-5px) rotate(-4deg) scale(1.09); }
.prog-card h3 { transition: color .25s; }
.prog-card.cat-kvant:hover h3 { color: var(--cyan); }
.prog-card.cat-dom:hover h3 { color: var(--orange); }
.prog-card.cat-kvant:hover { box-shadow: 0 18px 44px rgba(41, 168, 223, .22); }
.prog-card.cat-dom:hover { box-shadow: 0 18px 44px rgba(242, 101, 34, .2); }
.prog-card .prog-more { transition: letter-spacing .25s var(--ease); }
.prog-card:hover .prog-more { letter-spacing: .03em; }

/* ============================================================
   V3.1: ВОЗРАСТ В РАСПИСАНИИ — ЯВНАЯ ПОДПИСЬ
   ============================================================ */
.gc-age {
  background: #10306E; border: 1px solid #2C4C95; border-radius: 6px;
  padding: 1px 8px; font-size: 11.5px !important; white-space: nowrap;
}
.tvg-age {
  background: #10306E; border-radius: .35em; padding: 0 .45em; white-space: nowrap;
}

/* ============================================================
   V3.1: СНИЛС — ОТКРЫТЫЙ БЛОК В ШАГЕ 2
   ============================================================ */
.snils-inline { margin-top: 20px; border-top: 1px dashed var(--line); padding-top: 18px; }
.snils-inline h4 { margin: 0 0 8px; font-size: 16.5px; font-weight: 800; color: var(--navy); }
.snils-inline > p { font-size: 14px; color: var(--ink-soft); margin: 0 0 14px; }
.snils-inline code { background: #E9F0FB; border-radius: 6px; padding: 2px 8px; font-size: 13px; }
.snils-phone { margin: 14px 0 0; font-size: 14px; color: var(--ink-soft); }
.snils-phone a { font-weight: 800; white-space: nowrap; }

/* ============================================================
   V3.1: АВТОБУС — МАРШРУТ ДОМ ↔ ТЕХНОПАРК (без скролла)
   ============================================================ */
.route-point {
  position: absolute; bottom: 44px; display: flex; flex-direction: column;
  align-items: center; gap: 4px; color: var(--navy); opacity: .75;
}
.route-point svg { width: 34px; height: 34px; }
.route-point span { font-size: 12.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.route-home { left: 4vw; }
.route-park { right: 4vw; }
.bus-wrap {
  --bus-w: min(300px, 56vw);
  left: calc(4vw + 44px); width: var(--bus-w);
  animation: busDrive 20s ease-in-out infinite;
  will-change: transform;
}
@keyframes busDrive {
  0%   { transform: translateX(0) scaleX(1); }
  45%  { transform: translateX(calc(92vw - var(--bus-w) - 88px)) scaleX(1); }
  50%  { transform: translateX(calc(92vw - var(--bus-w) - 88px)) scaleX(-1); }
  95%  { transform: translateX(0) scaleX(-1); }
  100% { transform: translateX(0) scaleX(1); }
}
@media (prefers-reduced-motion: reduce) { .bus-wrap { animation: none; } }

/* ============================================================
   V3.3: ГЕРОЙ-ИНТРО в стиле киновступления — светлый фон
   ============================================================ */
.hero-intro { position: relative; overflow: visible; padding: 36px 0 0; background: var(--bg); }
.hero-intro::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(circle, #B8C9E4 1.2px, transparent 1.3px);
  background-size: 28px 28px; opacity: .35;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
  mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
}
/* Кино-баннер */
.cinema2 {
  position: relative; border-radius: 26px; overflow: hidden;
  aspect-ratio: 21 / 9; min-height: 340px; max-height: 66vh;
  background: var(--navy-deep);
  box-shadow: 0 34px 80px rgba(15, 35, 87, .28);
}
.cinema2-empty { display: grid; place-items: center; padding: 30px; aspect-ratio: 16/7; }
.cinema2-frames {
  position: absolute; inset: -3%;
  background-size: cover; background-position: center;
  will-change: transform; transform: scale(1.04);
}
.cinema2-frames.gliding { transition: transform 1.05s linear; }
.cinema2-frames.finale { transition: transform 4.6s ease-in-out; }
.cinema2-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10, 24, 56, .18) 0%, rgba(10, 24, 56, .08) 45%, rgba(10, 24, 56, .55) 100%);
}
.cinema2-flash {
  position: absolute; inset: 0; background: #fff; opacity: 0; pointer-events: none;
}
.cinema2-flash.blip { transition: none; opacity: .4; }
.cinema2-flash.fade { transition: opacity .45s ease; opacity: 0; }
.cinema2-title {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 8px; text-align: center;
  padding: 0 16px;
}
.clip-title {
  font-family: var(--font-head); font-weight: 900;
  font-size: clamp(34px, 7.2vw, 108px); line-height: 1.04; letter-spacing: .005em;
  background-size: cover; background-position: center 40%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: contrast(1.35) saturate(1.25) brightness(1.08);
  text-shadow: none;
}
.clip-sub {
  font-family: var(--font-head); font-weight: 700;
  font-size: clamp(12px, 1.6vw, 22px); letter-spacing: .3em; color: #fff;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .55);
}
.cinema2-finale {
  position: absolute; left: 0; right: 0; bottom: 24px; text-align: center;
  font-family: var(--font-head); font-weight: 900; color: #fff;
  font-size: clamp(22px, 2.6vw, 40px); letter-spacing: .05em;
  text-shadow: 0 4px 30px rgba(0, 0, 0, .8);
  opacity: 0; transform: translateY(14px);
  transition: opacity .6s ease, transform .6s var(--ease);
  pointer-events: none;
}
.cinema2-finale.show { opacity: 1; transform: translateY(0); }
/* Текст и статистика под баннером */
.hero-bottom {
  position: relative; display: grid; grid-template-columns: 1.25fr .75fr;
  gap: 40px; align-items: center; padding: 44px 0 64px;
}
.hero-intro .hero-kicker { color: var(--cyan); margin-bottom: 10px; }
.hero-intro h1 {
  font-family: var(--font-head); font-weight: 900; color: var(--navy);
  font-size: clamp(26px, 3.1vw, 40px); line-height: 1.16; letter-spacing: -.01em;
  margin: 0 0 14px;
}
.hero-intro .hero-sub { color: var(--ink-soft); font-size: 16.5px; max-width: 560px; margin: 0 0 24px; }
.hero-intro .hero-cta { margin: 0; }
.hero-intro .hero-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0; }
.hero-intro .stat {
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px;
  padding: 14px 18px; box-shadow: var(--shadow); min-width: 0;
}
.hero-intro .stat b {
  display: block; font-family: var(--font-head); font-weight: 700;
  font-size: 24px; color: var(--navy); line-height: 1.1; white-space: nowrap;
}
.hero-intro .stat span { font-size: 12px; font-weight: 700; color: var(--ink-soft); line-height: 1.35; display: block; margin-top: 4px; }
.hero-intro .stat-free { background: #EAF9EF; border-color: #BFE8CC; }
.hero-intro .stat-free b { color: #1B8A3C; }
.hero-intro .stat-free span { color: #187A33; }

/* ============================================================
   V3.2: ГЕРОЙ-КИНО — тёмный экран со слайд-шоу (не используется)
   ============================================================ */
.hero-cinema {
  background:
    radial-gradient(90% 120% at 85% -10%, #1E3A7C 0%, transparent 60%),
    radial-gradient(70% 90% at 0% 100%, #132C63 0%, transparent 55%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
  padding: 64px 0 0;
}
.hero-cinema::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(circle, #3D5CA6 1px, transparent 1.2px);
  background-size: 30px 30px; opacity: .22;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 80%);
  mask-image: linear-gradient(180deg, #000 0%, transparent 80%);
}
.hero-cinema { position: relative; overflow: hidden; }
.hero-grid {
  position: relative; display: grid; grid-template-columns: 1fr 1.05fr;
  gap: 56px; align-items: center; padding-top: 28px; padding-bottom: 72px;
}
.hero-cinema .hero-kicker { color: #8FD9FF; }
.hero-cinema h1 {
  font-family: var(--font-head); font-weight: 900; color: #fff;
  font-size: clamp(28px, 3.6vw, 46px); line-height: 1.14; letter-spacing: -.01em;
  margin: 0 0 18px;
}
.hero-cinema .hero-sub { color: #B9C7E4; max-width: 500px; font-size: 17px; margin: 0 0 26px; }
.hero-stats { display: grid; grid-template-columns: repeat(4, auto); gap: 12px; margin-bottom: 30px; }
.stat {
  background: #ffffff0d; border: 1px solid #ffffff1f; border-radius: 14px;
  padding: 12px 16px; min-width: 108px;
}
.stat b {
  display: block; font-family: var(--font-head); font-weight: 700;
  font-size: 22px; color: #fff; line-height: 1.1; white-space: nowrap;
}
.stat span { font-size: 11.5px; font-weight: 700; color: #8CA2D4; line-height: 1.3; display: block; margin-top: 4px; }
.stat-free { background: rgba(43, 168, 74, .16); border-color: rgba(123, 227, 154, .45); }
.stat-free b { color: #7BE39A; }
.stat-free span { color: #A9EDBD; }
.hero-cinema .btn-ghost { border-color: #51699F; color: #EAF1FF; }
.hero-cinema .btn-ghost:hover { background: #ffffff14; color: #fff; }

/* Экран слайд-шоу */
.cinema {
  position: relative; aspect-ratio: 4 / 3; border-radius: 22px; overflow: hidden;
  background: #0B1A3E; box-shadow: 0 30px 80px rgba(4, 12, 32, .55), 0 0 0 1px #ffffff14;
}
.cinema-empty { display: grid; place-items: center; padding: 30px; }
.cinema-stage { position: absolute; inset: 0; }
.cinema-img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity .7s ease;
}
.cinema-img.show { opacity: 1; }
.cinema-img.kb-a.show { animation: kbA 5s ease-out forwards; }
.cinema-img.kb-b.show { animation: kbB 5s ease-out forwards; }
.cinema-img.kb-final.show { animation: kbFinal 7.5s ease-in-out forwards; }
@keyframes kbA { from { transform: scale(1.12) translate(1.5%, 1%); } to { transform: scale(1) translate(0, 0); } }
@keyframes kbB { from { transform: scale(1.12) translate(-1.5%, -1%); } to { transform: scale(1) translate(0, 0); } }
@keyframes kbFinal { from { transform: scale(1); } to { transform: scale(1.18); } }
/* Словесная вставка: фото просвечивает сквозь буквы */
.cinema-word {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: var(--navy-deep); opacity: 0; pointer-events: none;
  font-family: var(--font-head); font-weight: 900;
  font-size: clamp(34px, 5vw, 72px); letter-spacing: .02em; text-align: center;
  -webkit-background-clip: unset;
  transition: opacity .3s ease;
}
.cinema-word.show { opacity: 1; }
.cinema-word i {
  font-style: normal;
  background-size: cover; background-position: center;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: contrast(1.15) saturate(1.15);
  animation: wordPunch .9s var(--ease);
}
@keyframes wordPunch { 0% { transform: scale(.86); } 60% { transform: scale(1.04); } 100% { transform: scale(1); } }
/* Финальная надпись */
.cinema-finale {
  position: absolute; left: 0; right: 0; bottom: 26px; text-align: center;
  font-family: var(--font-head); font-weight: 900; color: #fff;
  font-size: clamp(26px, 3vw, 44px); letter-spacing: .04em;
  text-shadow: 0 4px 30px rgba(0, 0, 0, .75);
  opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s var(--ease);
  pointer-events: none;
}
.cinema-finale.show { opacity: 1; transform: translateY(0); }
/* Прогресс-сегменты (как в сторис) */
.cinema-progress {
  position: absolute; z-index: 3; top: 12px; left: 14px; right: 14px;
  display: flex; gap: 5px;
}
.cinema-progress i {
  flex: 1; height: 3.5px; border-radius: 2px; background: #ffffff3d; overflow: hidden;
  position: relative;
}
.cinema-progress i::after {
  content: ''; position: absolute; inset: 0; background: #fff;
  transform: scaleX(0); transform-origin: left;
}
.cinema-progress i.done::after { transform: scaleX(1); }
.cinema-progress i.active::after { transform: scaleX(1); transition: transform var(--seg, 4s) linear; }

/* ============================================================
   V3: АДАПТИВ
   ============================================================ */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 34px; padding-bottom: 48px; }
  .hero-bottom { grid-template-columns: 1fr; gap: 28px; padding: 32px 0 52px; }
  .cinema2 { aspect-ratio: 16 / 9; min-height: 260px; }
}
@media (max-width: 640px) {
  .cinema2 { aspect-ratio: 4 / 3; min-height: 220px; border-radius: 18px; }
  .clip-sub { letter-spacing: .18em; }
  .hero-intro .hero-stats { grid-template-columns: 1fr 1fr; gap: 10px; }
  .hero-intro .stat { padding: 12px 14px; }
}
@media (max-width: 860px) {
  .bring-grid { grid-template-columns: 1fr 1fr; }
  .flow::before { left: 21px; }
  .flow-marker { width: 44px; height: 44px; border-radius: 14px; font-size: 18px; }
  .flow-step { gap: 16px; }
  .flow-card { padding: 20px; }
}
@media (max-width: 640px) {
  .snils-row { flex-direction: column; }
  .acc-age { display: none; }
  .acc-head { flex-wrap: wrap; }
}
