/* Шрифт Onest — свои файлы, без внешних серверов (лицензия SIL OFL). */
@font-face { font-family: 'Onest'; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url(../fonts/onest-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Onest'; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url(../fonts/onest-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* Ночное небо и огни маршрутов: одна тёмная тема — сцена первого экрана задаёт тон всему сайту. */
:root {
  --bg: #050B16;
  --bg-2: #081223;
  --glass: rgba(150, 190, 240, 0.05);
  --glass-2: rgba(150, 190, 240, 0.09);
  --line: rgba(150, 190, 240, 0.14);
  --line-2: rgba(150, 190, 240, 0.26);
  --ink: #EAF2FB;
  --ink-2: #BCCBDD;
  --muted: #8EA2BC;
  --amber: #FFB547;
  --amber-text: #FFC870;
  --blue: #5AA9FF;
  --blue-text: #8CC4FF;
  --radius: 18px;
  --wrap: 1120px;
  --gutter: 24px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.6 'Onest', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -0.02em; margin: 0; font-weight: 700; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Кнопки */
.btn { display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 24px; border-radius: 999px;
  font: 600 16px/1 'Onest', sans-serif; text-decoration: none; border: 1px solid var(--line-2); color: var(--ink);
  background: var(--glass); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: background .2s, border-color .2s, transform .2s; cursor: pointer; }
.btn:hover { background: var(--glass-2); border-color: rgba(150, 190, 240, 0.45); }
.btn:active { transform: scale(.98); }
.btn--main { background: var(--amber); border-color: var(--amber); color: #1A1204; }
.btn--main:hover { background: #FFC56E; border-color: #FFC56E; }
.btn svg { width: 18px; height: 18px; flex: none; }

/* Шапка */
.top { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .3s, border-color .3s; border-bottom: 1px solid transparent; }
.top.is-solid { background: rgba(5, 11, 22, 0.78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--line); }
.top__in { display: flex; align-items: center; gap: 28px; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 700; font-size: 17px; letter-spacing: -0.01em; white-space: nowrap; }
.brand svg { width: 34px; height: 34px; flex: none; }
.nav { display: flex; gap: 24px; margin-left: auto; }
.nav a { text-decoration: none; color: var(--ink-2); font-size: 15px; font-weight: 500; transition: color .2s; }
.nav a:hover { color: var(--ink); }
.top .btn { height: 42px; padding: 0 18px; font-size: 15px; }
@media (max-width: 960px) { .nav { display: none; } .top .btn { margin-left: auto; } }

/* Первый экран */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; overflow: hidden;
  background: radial-gradient(120% 80% at 70% 0%, #0D1E3A 0%, #071226 45%, var(--bg) 100%); }
.hero__stars, .hero__globe { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__globe { display: block; }
/* Притенение слева: маршруты не спорят с текстом. */
.hero::after { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, rgba(5, 11, 22, 0.62) 0%, rgba(5, 11, 22, 0.3) 42%, rgba(5, 11, 22, 0) 68%); }
.hero__in { position: relative; z-index: 2; flex: 1; display: flex; flex-direction: column; justify-content: center; padding-top: 104px; padding-bottom: 28px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--blue-text); }
.eyebrow::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 4px rgba(255, 181, 71, 0.18); }
.hero h1 { margin-top: 20px; max-width: 21ch; font-size: clamp(36px, 4.9vw, 66px); font-weight: 750; text-wrap: balance; }
.hero h1 em { font-style: normal; color: var(--amber-text); }
/* Без WebGL — нарисованный край шара вместо сцены. */
.hero.no-webgl .hero__globe { display: none; }
.hero.no-webgl::before { content: ''; position: absolute; left: -30%; right: -30%; top: 64%; height: 220%; border-radius: 50%;
  background: radial-gradient(60% 40% at 50% 0%, #0B1D3A 0%, #040A16 70%); box-shadow: 0 -2px 70px rgba(90, 169, 255, 0.35), inset 0 2px 0 rgba(140, 196, 255, 0.35); }
.lead { margin-top: 20px; max-width: 46ch; font-size: clamp(17px, 1.6vw, 20px); color: var(--ink-2); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.facts { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: auto;
  border-top: 1px solid var(--line); }
.fact { padding: 22px 20px 26px 0; }
.fact + .fact { padding-left: 20px; border-left: 1px solid var(--line); }
.fact b { display: block; font-size: clamp(26px, 3vw, 38px); font-weight: 700; letter-spacing: -0.02em; }
.fact span { display: block; margin-top: 4px; font-size: 14px; color: var(--ink-2); line-height: 1.4; }
@media (max-width: 760px) {
  .facts { grid-template-columns: 1fr 1fr; }
  .fact:nth-child(3) { padding-left: 0; border-left: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid var(--line); }
}


/* Путь по странице: маршрут с самолётом */
.journey { position: relative; }
.route { position: absolute; left: 0; top: 0; width: 100%; pointer-events: none; z-index: 0; overflow: visible; }
.route__base { fill: none; stroke: rgba(140, 196, 255, 0.28); stroke-width: 1.5; stroke-dasharray: 2 9; stroke-linecap: round; }
.route__done { fill: none; stroke: url(#routeGrad); stroke-width: 2; stroke-linecap: round; }
.route__wp circle { fill: var(--bg); stroke: rgba(140, 196, 255, 0.4); stroke-width: 1.5; transition: stroke .3s, fill .3s; }
.route__wp.is-passed circle { stroke: var(--amber); fill: #2A1C05; }
.route__plane path { fill: var(--amber); }
.route__plane .halo { fill: rgba(255, 181, 71, 0.16); }

.section { position: relative; z-index: 1; padding: 120px 0; }
.section + .section { padding-top: 40px; }
.section__head { max-width: 760px; margin-bottom: 48px; }
.kicker { font-size: 14px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue-text); }
.section h2 { margin-top: 14px; font-size: clamp(32px, 4.2vw, 52px); text-wrap: balance; }
.section__head p { margin-top: 18px; color: var(--ink-2); font-size: 18px; }

/* Стеклянные карточки */
.card { position: relative; background: linear-gradient(180deg, rgba(150, 190, 240, 0.07), rgba(150, 190, 240, 0.03));
  border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.card h3 { font-size: 22px; letter-spacing: -0.01em; }
.card p { margin-top: 12px; color: var(--ink-2); font-size: 16px; }
.icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 22px;
  background: rgba(255, 181, 71, 0.1); color: var(--amber); border: 1px solid rgba(255, 181, 71, 0.25); }
.icon svg { width: 24px; height: 24px; }
/* Карточка с фото сверху: фото во всю ширину, значок наезжает на его нижний край. */
.card--photo { padding-top: 0; overflow: hidden; }
.card__img { position: relative; margin: 0 -28px; aspect-ratio: 16 / 9; overflow: hidden; }
.card__img img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.85); transition: transform .6s; }
.card--photo:hover .card__img img { transform: scale(1.04); }
.card__img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5, 11, 22, 0) 45%, rgba(8, 18, 35, 0.9) 100%); }
.card--photo .icon { position: relative; z-index: 1; margin-top: -24px; background: #1B1606; }
/* Широкое фото с заголовком раздела поверх. */
.banner { position: relative; display: flex; align-items: flex-end; min-height: clamp(280px, 36vw, 440px); margin-bottom: 18px;
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; }
.banner::after { content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(5, 11, 22, 0) 35%, rgba(5, 11, 22, 0.88) 100%), linear-gradient(90deg, rgba(5, 11, 22, 0.55), rgba(5, 11, 22, 0) 60%); }
.banner__head { position: relative; z-index: 1; margin: 0; padding: 32px; }

.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 900px) { .grid3 { grid-template-columns: 1fr; } .card__img { aspect-ratio: 21 / 9; } }

/* Проекты: «бенто» */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.p { grid-column: span 3; display: flex; flex-direction: column; text-decoration: none; overflow: hidden; padding: 0; transition: border-color .25s, transform .25s; }
a.p:hover { border-color: rgba(255, 181, 71, 0.45); transform: translateY(-3px); }
.p--wide { grid-column: span 6; }
.p--third { grid-column: span 2; }
.p__body { padding: 28px; display: flex; flex-direction: column; flex: 1; }
.p__tag { font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--blue-text); }
.p h3 { margin-top: 10px; font-size: 24px; }
.p__more { margin-top: auto; padding-top: 22px; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; color: var(--amber-text); }
.p__more--soon { color: var(--muted); font-weight: 500; }
.p__shot { aspect-ratio: 16 / 9; overflow: hidden; border-bottom: 1px solid var(--line); background: #0B1830; }
.p__shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .6s; }
a.p:hover .p__shot img { transform: scale(1.03); }
.p__nums { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 22px; }
.p__nums b { display: block; font-size: 30px; letter-spacing: -0.02em; }
.p__nums span { display: block; font-size: 13px; color: var(--muted); line-height: 1.35; max-width: 18ch; }
.p--wide .p__body { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: start; }
.p--wide .p__more { grid-column: 1; }
.peak { padding: 22px; border-radius: 14px; background: rgba(5, 11, 22, 0.55); border: 1px solid var(--line); }
.peak__row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--line); font-size: 15px; color: var(--ink-2); }
.peak__row:last-child { border-bottom: 0; }
.peak__row b { font-size: 28px; color: var(--ink); letter-spacing: -0.02em; }
.peak__row--hot b { color: var(--amber-text); }
.orbit { position: relative; height: 150px; margin: 6px 0 4px; }
.orbit i { position: absolute; left: 50%; top: 50%; border: 1px dashed rgba(140, 196, 255, 0.3); border-radius: 50%; transform: translate(-50%, -50%); }
.orbit i::after { content: ''; position: absolute; top: -4px; left: 50%; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 12px var(--blue); }
.orbit i:nth-child(1) { width: 60px; height: 60px; animation: spin 7s linear infinite; }
.orbit i:nth-child(2) { width: 104px; height: 104px; animation: spin 12s linear infinite reverse; }
.orbit i:nth-child(3) { width: 148px; height: 148px; animation: spin 19s linear infinite; }
.orbit i:nth-child(3)::after { background: var(--amber); box-shadow: 0 0 12px var(--amber); }
.orbit b { position: absolute; left: 50%; top: 50%; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 22px var(--amber); }
@keyframes spin { to { transform: translate(-50%, -50%) rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .orbit i { animation: none; } }
.tg { margin: 4px 0 0; padding: 14px; border-radius: 14px; background: rgba(5, 11, 22, 0.55); border: 1px solid var(--line); }
.tg__img { height: 86px; border-radius: 10px; background: linear-gradient(135deg, #12305A, #0B1A33 60%, #3A2A0E); position: relative; overflow: hidden; }
.tg__img::after { content: ''; position: absolute; left: 14px; right: 40%; bottom: 14px; height: 10px; border-radius: 4px; background: rgba(255, 255, 255, 0.55); box-shadow: 0 -16px 0 rgba(255, 255, 255, 0.85); }
.tg__line { height: 8px; border-radius: 4px; background: rgba(150, 190, 240, 0.18); margin-top: 10px; }
.tg__line:nth-child(3) { width: 82%; }
.tg__line:nth-child(4) { width: 58%; }
.slides { display: flex; gap: 10px; margin-top: 4px; }
.slides img { width: calc((100% - 20px) / 3); aspect-ratio: 9 / 10; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); }
@media (max-width: 900px) { .p, .p--third, .p--wide { grid-column: span 6; } .p--wide .p__body { grid-template-columns: 1fr; gap: 26px; } }

/* Авиация */
.path { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; position: relative; margin-bottom: 18px; }
.path__node { position: relative; padding: 26px 24px 24px; }
.path__node small { display: block; font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.path__node h3 { margin-top: 10px; font-size: 20px; }
.path__node p { margin-top: 10px; font-size: 15px; }
.path__node--now { border-color: rgba(255, 181, 71, 0.45); }
.path__node--now small { color: var(--amber-text); }
.path__node:not(:last-child)::after { content: ''; position: absolute; top: 50%; right: -18px; width: 18px; height: 1px; background: var(--line-2); }
@media (max-width: 900px) { .path { grid-template-columns: 1fr; } .path__node:not(:last-child)::after { top: auto; bottom: -18px; right: auto; left: 32px; width: 1px; height: 18px; } }
.duo { display: grid; grid-template-columns: 1fr 1.4fr; gap: 18px; }
@media (max-width: 900px) { .duo { grid-template-columns: 1fr; } }
.does { list-style: none; margin: 0; padding: 0; }
.does li { padding: 16px 0; border-bottom: 1px solid var(--line); color: var(--ink-2); font-size: 16px; }
.does li:first-child { padding-top: 0; }
.does li:last-child { border-bottom: 0; padding-bottom: 0; }
.does b { color: var(--ink); }
.quote { margin-top: 18px; font-size: clamp(20px, 2.2vw, 26px); line-height: 1.4; font-weight: 500; color: var(--ink); max-width: 36ch; }
.quote::before { content: ''; display: block; width: 40px; height: 2px; background: var(--amber); margin-bottom: 18px; }
.edu b { display: block; font-size: 44px; letter-spacing: -0.03em; line-height: 1; }
.edu p { margin-top: 10px; }

/* Направления */
.dirs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 960px) { .dirs { grid-template-columns: 1fr; } }
.dirs__group h3 { font-size: 15px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue-text); margin-bottom: 14px; }
.dir { display: grid; grid-template-columns: 40px 1fr; gap: 4px 12px; padding: 18px 20px; margin-bottom: 12px; border-radius: 14px;
  border: 1px solid var(--line); background: rgba(150, 190, 240, 0.03); }
.dir i { grid-row: span 2; font-style: normal; font-weight: 700; color: var(--amber-text); font-size: 15px; padding-top: 2px; font-variant-numeric: tabular-nums; }
.dir b { font-size: 16px; line-height: 1.4; }
.dir span { font-size: 14px; color: var(--muted); line-height: 1.45; }

/* Как я работаю */
.steps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 48px; counter-reset: s; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }
.step { display: grid; grid-template-columns: 56px 1fr; gap: 16px; padding: 24px 0; border-top: 1px solid var(--line); }
.step::before { counter-increment: s; content: counter(s, decimal-leading-zero); font-weight: 700; font-size: 15px; color: var(--amber-text); padding-top: 3px; font-variant-numeric: tabular-nums; }
.step b { display: block; font-size: 18px; }
.step p { margin-top: 6px; color: var(--ink-2); font-size: 16px; }

/* Инструменты */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips span { padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line); background: rgba(150, 190, 240, 0.04); font-size: 15px; color: var(--ink-2); }

/* Связаться */
.contact { text-align: center; padding: 72px 28px; overflow: hidden; }
.contact h2 { font-size: clamp(36px, 5vw, 64px); margin-top: 14px; }
.contact p { max-width: 52ch; margin: 18px auto 0; color: var(--ink-2); font-size: 18px; }
.contact__big { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 36px; margin-top: 36px; }
.contact__big a { font-size: clamp(22px, 2.6vw, 30px); font-weight: 700; text-decoration: none; letter-spacing: -0.01em; border-bottom: 2px solid rgba(255, 181, 71, 0.4); padding-bottom: 2px; transition: border-color .2s; }
.contact__big a:hover { border-color: var(--amber); }
.contact__msg { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }
.contact__note { margin-top: 26px !important; font-size: 14px !important; color: var(--muted) !important; }
.contact .runway { position: absolute; left: 50%; bottom: 0; width: 2px; height: 56px; background: repeating-linear-gradient(var(--amber) 0 8px, transparent 8px 16px); opacity: .5; }

.foot { position: relative; z-index: 1; padding: 36px 0 48px; color: var(--muted); font-size: 14px; }
.foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.foot a { color: var(--ink-2); }

/* Появление при прокрутке */
.rise { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.rise.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rise { opacity: 1; transform: none; transition: none; } }

/* Страница проекта */
.case-hero { position: relative; padding: 150px 0 40px; overflow: hidden;
  background: radial-gradient(90% 70% at 80% 0%, #0D1E3A 0%, #071226 50%, var(--bg) 100%); }
.back { display: flex; width: fit-content; align-items: center; gap: 8px; color: var(--ink-2); text-decoration: none; font-size: 15px; font-weight: 500; margin-bottom: 28px; }
.back:hover { color: var(--ink); }
.case-hero h1 { margin-top: 16px; font-size: clamp(36px, 5.4vw, 66px); max-width: 18ch; text-wrap: balance; }
.case-hero .lead { max-width: 58ch; }
.case-hero .hero__cta { margin-top: 30px; }
.case-hero + .journey .section:first-of-type { padding-top: 72px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 56px; border-top: 1px solid var(--line); }
.stats div { padding: 22px 20px 6px 0; }
.stats div + div { padding-left: 20px; border-left: 1px solid var(--line); }
.stats b { display: block; font-size: clamp(26px, 3vw, 38px); letter-spacing: -0.02em; }
.stats span { display: block; margin-top: 4px; font-size: 14px; color: var(--ink-2); line-height: 1.4; }
@media (max-width: 760px) { .stats { grid-template-columns: 1fr 1fr; } .stats div:nth-child(3) { padding-left: 0; border-left: 0; } .stats div:nth-child(n+3) { border-top: 1px solid var(--line); } }
.frame { border-radius: 16px; overflow: hidden; border: 1px solid var(--line-2); background: #0B1830; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.7); }
.frame__bar { display: flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px; border-bottom: 1px solid var(--line); background: rgba(150, 190, 240, 0.06); }
.frame__bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(150, 190, 240, 0.25); }
.frame__bar span { margin-left: 12px; font-size: 13px; color: var(--muted); }
.frame--phone { max-width: 300px; border-radius: 34px; padding: 10px; background: #0B1830; }
.frame--phone img { border-radius: 26px; }
.story { display: grid; grid-template-columns: 1fr 1.25fr; gap: 56px; align-items: center; }
.story--flip > :first-child { order: 2; }
.story h2 { font-size: clamp(26px, 3vw, 36px); }
.story p { margin-top: 16px; color: var(--ink-2); font-size: 17px; }
.story p + p { margin-top: 12px; }
.story--text { grid-template-columns: 1fr; max-width: 760px; }
.story .frame--phone { margin: 0 auto; }
.quote-big { margin-top: 28px; padding: 26px 28px; border-radius: 16px; border: 1px solid rgba(255, 181, 71, 0.35); background: rgba(255, 181, 71, 0.06); font-size: clamp(20px, 2.2vw, 26px); font-weight: 600; line-height: 1.35; }
.quote-big small { display: block; margin-top: 10px; font-size: 14px; font-weight: 500; color: var(--ink-2); }
@media (max-width: 900px) { .story { grid-template-columns: 1fr; gap: 32px; } .story--flip > :first-child { order: 0; } }
.tally { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 28px; }
.tally div { padding: 18px; border-radius: 14px; border: 1px solid var(--line); background: rgba(150, 190, 240, 0.04); }
.tally b { display: block; font-size: 30px; letter-spacing: -0.02em; }
.tally span { display: block; font-size: 14px; color: var(--ink-2); line-height: 1.4; margin-top: 4px; }
.story .tally { grid-template-columns: 1fr 1fr; }
.tally .is-hot { border-color: rgba(255, 181, 71, 0.45); }
.tally .is-hot b { color: var(--amber-text); }
@media (max-width: 760px) { .tally { grid-template-columns: 1fr 1fr; } }
.next { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 40px 0 0; border-top: 1px solid var(--line); margin-top: 32px; }
.next a { text-decoration: none; }
.next small { display: block; color: var(--muted); font-size: 14px; }
.next b { display: block; margin-top: 6px; font-size: clamp(22px, 2.6vw, 30px); }

@media (max-width: 600px) {
  :root { --gutter: 16px; }
  .card__img { margin: 0 -22px; }
  .banner__head { padding: 22px; }
  body { font-size: 16px; }
  .section { padding: 88px 0; }
  .card { padding: 22px; }
  .p__body { padding: 22px; }
  .hero h1 { font-size: 34px; }
  .lead { font-size: 16px; }
  .hero__cta .btn { flex: 1 1 0; justify-content: center; padding: 0 14px; }
  .hero__cta .btn svg { display: none; }
  .brand { font-size: 15px; }
}

/* Страница программы: широкие снимки во всю колонку, подпись под ними. */
.story--wide { grid-template-columns: 1fr; gap: 28px; }
.story--wide > :first-child { max-width: 760px; }
.shots { display: grid; gap: 16px; }
.frame--light { background: #fff; }
.frame a { display: block; cursor: zoom-in; }
.cap { margin-top: 12px; font-size: 14px; line-height: 1.5; color: var(--muted); }
.cap b { color: var(--ink-2); font-weight: 600; }
