/* РАИТ — Республиканская академия информационных технологий.
   Цвета бренда СТРОГО три (владелец, 07.10.2026): кольцо #1F4E9C, беркут/орнамент/рамка
   #D4A12A, фон внутри круга #FBF6EA. Других оттенков бренда нет. Для текста — нейтральные
   чёрный и серый (мелкий текст золотом и синим на кремовом не читается), для карточек —
   белый. Золото — только на кнопках (тёмный текст), крупных цифрах и декоре. Прозрачность
   брендовых цветов используется для узоров и водяных знаков, новых оттенков не вводим. */
:root {
  --blue: #1F4E9C;
  --gold: #D4A12A;
  --cream: #FBF6EA;
  --white: #FFFFFF;
  --ink: #141821;
  --muted: #5D6370;
  --line: rgba(20, 24, 33, .09);
  --line-light: rgba(251, 246, 234, .18);
  --r-card: 22px;
  --r-btn: 14px;
  --shadow: 0 1px 2px rgba(20, 24, 33, .04), 0 14px 36px rgba(31, 78, 156, .08);
  --shadow-up: 0 2px 4px rgba(20, 24, 33, .05), 0 22px 48px rgba(31, 78, 156, .14);
  --hdr: 72px;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

/* ── база ─────────────────────────────────────────────────── */
*, *::before, *::after { 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(--white); color: var(--ink); font: 400 17px/1.6 var(--sans); overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
[id] { scroll-margin-top: calc(var(--hdr) + 20px); }
.ic { width: 1.1em; height: 1.1em; flex: none; fill: currentColor; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--blue); color: var(--white); padding: 10px 16px; border-radius: 10px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 16px; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 28px; }
.narrow { max-width: 840px; }
@media (max-width: 640px) { .wrap { padding: 0 20px; } }

/* ── кнопки ───────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; text-align: center;
  min-height: 54px; padding: 0 24px; border-radius: var(--r-btn); border: 1.5px solid transparent;
  font: 700 16px/1.25 var(--sans); letter-spacing: -.005em; text-decoration: none; cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, border-color .18s ease;
  -webkit-tap-highlight-color: transparent;
}
.btn .ic { width: 1.15em; height: 1.15em; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-gold { background: var(--gold); color: var(--ink); box-shadow: 0 8px 20px rgba(212, 161, 42, .28); }
.btn-gold:hover { box-shadow: 0 12px 26px rgba(212, 161, 42, .4); }
.btn-ghost { background: var(--white); color: var(--ink); border-color: var(--line); box-shadow: var(--shadow); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn-ghost .ic { color: var(--blue); }
.btn-lg { min-height: 60px; padding: 0 28px; font-size: 17px; }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 14.5px; border-radius: 11px; box-shadow: none; }
.btn-full { width: 100%; }
.btn[disabled] { opacity: .65; cursor: progress; transform: none; }

/* ── шапка ────────────────────────────────────────────────── */
.hdr { position: sticky; top: 0; z-index: 40; background: rgba(251, 246, 234, .86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.hdr.scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px rgba(20, 24, 33, .06); }
.hdr-in { display: flex; align-items: center; gap: 28px; min-height: var(--hdr); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.brand img { width: 44px; height: 44px; }
.brand-txt { display: flex; flex-direction: column; line-height: 1.05; }
.brand-txt b { font-size: 21px; font-weight: 800; color: var(--blue); letter-spacing: .06em; }
.brand-txt small { font-size: 10px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; margin-top: 4px; max-width: 220px; line-height: 1.2; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav > a { font-size: 15px; font-weight: 600; color: var(--ink); text-decoration: none; white-space: nowrap; padding: 9px 13px; border-radius: 10px; transition: background-color .15s, color .15s; }
.nav > a:hover { background: var(--white); color: var(--blue); }
.nav-contacts { display: none; }
.hdr-act { display: flex; align-items: center; gap: 14px; margin-left: 8px; }
.hdr-act .btn { white-space: nowrap; }
@media (max-width: 1440px) { .nav > a { padding: 9px 10px; font-size: 14.5px; } }
.phone { font-weight: 700; font-size: 15px; color: var(--blue); text-decoration: none; white-space: nowrap; }
.burger { display: none; width: 44px; height: 44px; border: 0; background: transparent; border-radius: 10px; cursor: pointer; place-items: center; }
.burger-i, .burger-i::before, .burger-i::after { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s, opacity .2s; }
.burger-i { position: relative; }
.burger-i::before, .burger-i::after { content: ""; position: absolute; left: 0; }
.burger-i::before { top: -7px; } .burger-i::after { top: 7px; }
html.menu-open .burger-i { background: transparent; }
html.menu-open .burger-i::before { transform: translateY(7px) rotate(45deg); }
html.menu-open .burger-i::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1400px) { .brand-txt small { display: none; } }
@media (max-width: 1240px) { .phone { display: none; } }
@media (max-width: 1023px) {
  .hdr-in { gap: 12px; }
  .hdr-act .btn { display: none; }
  .burger { display: grid; }
  .nav {
    position: fixed; left: 0; right: 0; top: var(--hdr); bottom: 0; margin: 0; z-index: 39;
    flex-direction: column; align-items: stretch; gap: 4px; padding: 20px 20px 40px; overflow: auto;
    background: var(--cream); border-top: 1px solid var(--line);
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .22s, transform .22s, visibility 0s .22s;
  }
  html.menu-open .nav { opacity: 1; visibility: visible; transform: none; transition: opacity .22s, transform .22s; }
  .nav > a { font-size: 19px; font-weight: 700; padding: 14px 12px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav-contacts { display: grid; gap: 14px; margin-top: 24px; }
  .nav-contacts .btn { min-height: 56px; }
  .nav-link-row { font-size: 17px; font-weight: 700; color: var(--blue); text-decoration: none; padding: 6px 12px; }
}
@media (max-width: 640px) { :root { --hdr: 64px; } .brand img { width: 40px; height: 40px; } .brand-txt b { font-size: 19px; } }

/* ── первый экран ─────────────────────────────────────────── */
.hero { position: relative; background: var(--cream); padding: 48px 0 0; overflow: clip; }
.hero-bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'><path d='M32 21c1.3 5.3 5.7 9.7 11 11-5.3 1.3-9.7 5.7-11 11-1.3-5.3-5.7-9.7-11-11 5.3-1.3 9.7-5.7 11-11z' fill='%23D4A12A' fill-opacity='.22'/></svg>");
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(70% 80% at 72% 45%, #000 10%, transparent 72%); mask-image: radial-gradient(70% 80% at 72% 45%, #000 10%, transparent 72%);
}
.hero-in { position: relative; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); align-items: center; gap: 48px; padding-bottom: 72px; }
.tag { display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px 9px 12px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--blue); box-shadow: var(--shadow); margin-bottom: 26px; }
.tag .ic { color: var(--gold); }
.hero h1 { font-size: clamp(36px, 4.3vw, 58px); font-weight: 800; line-height: 1.04; letter-spacing: -.03em; text-wrap: balance; }
.hl { background: linear-gradient(transparent 64%, var(--gold) 64% 94%, transparent 94%); padding: 0 .08em; margin: 0 -.08em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.nb { white-space: nowrap; }
.lead { margin-top: 22px; font-size: 19px; line-height: 1.55; color: var(--muted); max-width: 560px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.stats { display: flex; gap: 0; margin-top: 44px; border-top: 1px solid var(--line); padding-top: 24px; }
.stats li { display: flex; flex-direction: column; gap: 2px; padding: 0 28px 0 0; margin-right: 28px; border-right: 1px solid var(--line); }
.stats li:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.stats b { font-size: 32px; font-weight: 800; letter-spacing: -.03em; line-height: 1; color: var(--blue); }
.stats span { font-size: 13.5px; font-weight: 600; color: var(--muted); }

.hero-art { display: flex; justify-content: center; }
.stage { position: relative; width: min(520px, 100%); aspect-ratio: 1; }
.orbit { position: absolute; inset: -5%; border: 1.5px dashed var(--gold); border-radius: 50%; opacity: .55; animation: spin 90s linear infinite; }
.emblem { position: relative; width: 100%; height: 100%; filter: drop-shadow(0 24px 40px rgba(31, 78, 156, .18)); }
.chip { position: absolute; display: flex; align-items: center; gap: 10px; background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 12px 16px; box-shadow: var(--shadow-up); font-size: 14px; font-weight: 700; white-space: nowrap; }
.chip .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(212, 161, 42, .22); }
.chip-a { left: -11%; top: 5%; animation: float 7s ease-in-out infinite; }
.chip-b { right: -9%; bottom: 9%; flex-direction: column; align-items: flex-start; gap: 2px; animation: float 8s ease-in-out infinite reverse; }
.chip-b b { font-size: 15px; color: var(--blue); }
.chip-b span { font-size: 12.5px; font-weight: 600; color: var(--muted); }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.ticker { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--white); overflow: hidden; }
.ticker-track { display: flex; width: max-content; animation: ticker 48s linear infinite; }
.ticker-track span { position: relative; padding: 16px 30px; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; color: var(--blue); white-space: nowrap; }
.ticker-track span::after { content: ""; position: absolute; right: -5px; top: 50%; width: 9px; height: 9px; transform: translateY(-50%) rotate(45deg); background: var(--gold); border-radius: 2px; }
@keyframes ticker { to { transform: translateX(-50%); } }
.ticker:hover .ticker-track { animation-play-state: paused; }

@media (max-width: 960px) {
  .hero { padding-top: 40px; }
  .hero-in { grid-template-columns: minmax(0, 1fr); gap: 36px; padding-bottom: 52px; }
  .hero-art { order: 2; }
  .stage { width: min(320px, 78%); }
  .chip { display: none; }
  .cta-row .btn { flex: 1 1 100%; }
  .stats { margin-top: 32px; }
  .stats li { flex: 1; padding-right: 14px; margin-right: 14px; }
  .stats b { font-size: 26px; }
  .stats span { font-size: 12.5px; }
}

/* ── секции ───────────────────────────────────────────────── */
.sec { padding: 104px 0; }
.sec-cream { background: var(--cream); }
.sec-blue { background: var(--blue); color: var(--cream); }
.sec-head { max-width: 780px; margin-bottom: 44px; }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 12.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .14em; color: var(--blue); margin-bottom: 16px; }
.kicker .ic { color: var(--gold); width: 1.2em; height: 1.2em; }
.kicker-light { color: var(--cream); }
.sec h2 { font-size: clamp(30px, 3.7vw, 46px); font-weight: 800; line-height: 1.08; letter-spacing: -.025em; text-wrap: balance; }
.sec-blue h2 { color: var(--white); }
.sec-lead { margin-top: 18px; font-size: 18px; line-height: 1.55; color: var(--muted); max-width: 680px; }
.sec-blue .sec-lead { color: var(--cream); opacity: .9; }
@media (max-width: 640px) { .sec { padding: 68px 0; } .sec-head { margin-bottom: 30px; } }

/* ── почему IT ────────────────────────────────────────────── */
.why { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: start; }
.why-head { position: sticky; top: calc(var(--hdr) + 32px); }
.why-list { border-top: 1px solid var(--line); }
.why-list li { display: grid; grid-template-columns: 76px 1fr; gap: 20px; padding: 32px 0; border-bottom: 1px solid var(--line); }
.why-list .n { font-size: 40px; font-weight: 800; letter-spacing: -.04em; line-height: 1; color: var(--gold); padding-top: 2px; }
.why-list h3 { font-size: 22px; font-weight: 800; letter-spacing: -.015em; line-height: 1.25; margin-bottom: 10px; }
.why-list p { color: var(--muted); font-size: 16.5px; }
@media (max-width: 900px) { .why { grid-template-columns: minmax(0, 1fr); gap: 28px; } .why-head { position: static; } .why-list li { grid-template-columns: 56px 1fr; gap: 14px; padding: 24px 0; } .why-list .n { font-size: 30px; } .why-list h3 { font-size: 19px; } }

/* ── программы ────────────────────────────────────────────── */
.seg { position: relative; display: inline-flex; padding: 6px; background: var(--white); border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow); margin-bottom: 26px; }
.seg-ind { position: absolute; top: 6px; bottom: 6px; left: 0; width: 0; background: var(--blue); border-radius: 999px; transition: transform .32s cubic-bezier(.4, 0, .2, 1), width .32s cubic-bezier(.4, 0, .2, 1); }
.seg [role="tab"] { position: relative; z-index: 1; min-height: 48px; padding: 0 24px; border: 0; border-radius: 999px; background: transparent; font-weight: 700; font-size: 16px; color: var(--ink); cursor: pointer; transition: color .2s; }
.seg [role="tab"][aria-selected="true"] { color: var(--white); }
.prog { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); padding: 40px; box-shadow: var(--shadow); }
.prog-top { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 32px; align-items: center; padding-bottom: 28px; margin-bottom: 28px; border-bottom: 1px solid var(--line); }
.age { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; min-width: 118px; padding: 16px 18px; border-radius: 18px; background: var(--cream); border: 1px solid var(--line); }
.age b { font-size: 40px; font-weight: 800; letter-spacing: -.04em; line-height: 1; color: var(--blue); }
.age small { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-top: 6px; }
.prog-lead { font-size: 21px; font-weight: 700; line-height: 1.4; letter-spacing: -.01em; }
.prog-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr) minmax(0, 1.35fr); gap: 20px; }
.pcol { background: var(--cream); border-radius: 18px; padding: 24px; }
.pcol h3 { font-size: 12.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; color: var(--blue); margin-bottom: 14px; }
.pcol p, .pcol li { color: var(--muted); font-size: 15.5px; line-height: 1.55; }
.pcol ul { display: grid; gap: 10px; }
.pcol li { position: relative; padding-left: 26px; }
.pcol li::before { content: ""; position: absolute; left: 0; top: .3em; width: 17px; height: 17px; background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><circle cx='12' cy='12' r='12' fill='%23D4A12A'/><path d='M7 12.5l3.2 3.2L17 8.8' fill='none' stroke='%23FBF6EA' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'/></svg>") center/contain no-repeat; }
.prog > .btn { margin-top: 30px; }
@media (max-width: 960px) {
  .seg { display: flex; }
  .seg [role="tab"] { flex: 1; padding: 0 10px; }
  .prog { padding: 24px 20px; }
  .prog-top { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .age { align-self: flex-start; flex-direction: row; align-items: baseline; gap: 8px; min-width: 0; padding: 10px 16px; }
  .age b { font-size: 28px; } .age small { margin: 0; }
  .prog-lead { font-size: 18px; }
  .prog-cols { grid-template-columns: minmax(0, 1fr); }
  .prog > .btn { width: 100%; }
}

/* ── методология (бенто) ──────────────────────────────────── */
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.bento-head { grid-column: span 2; padding: 10px 40px 10px 8px; align-self: center; }
.bento-head h2 { margin-top: 0; }
.step { position: relative; background: rgba(251, 246, 234, .06); border: 1px solid var(--line-light); border-radius: var(--r-card); padding: 28px; transition: transform .2s, border-color .2s, background-color .2s; }
.step:hover { transform: translateY(-3px); border-color: var(--gold); background: rgba(251, 246, 234, .09); }
.step .n { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 800; letter-spacing: .14em; color: var(--gold); }
.step .n::after { content: ""; width: 28px; height: 1.5px; background: var(--gold); }
.step h3 { font-size: 19px; font-weight: 800; line-height: 1.3; letter-spacing: -.01em; color: var(--white); margin: 14px 0 10px; }
.step p { font-size: 15.5px; color: var(--cream); opacity: .88; }
@media (max-width: 960px) { .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); } .bento-head { grid-column: span 2; padding: 0 0 8px; } }
@media (max-width: 640px) { .bento { grid-template-columns: minmax(0, 1fr); } .bento-head { grid-column: auto; } }

/* ── результаты ───────────────────────────────────────────── */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.photo { position: relative; }
.photo::before { content: ""; position: absolute; inset: 22px -22px -22px 22px; border: 2px solid var(--gold); border-radius: var(--r-card); }
.photo img { position: relative; border-radius: var(--r-card); box-shadow: var(--shadow-up); }
.points { display: grid; gap: 22px; margin: 32px 0 34px; }
.points li { display: grid; grid-template-columns: 36px 1fr; gap: 16px; }
.pt { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--blue); color: var(--white); box-shadow: 0 0 0 3px var(--white), 0 0 0 4.5px var(--gold); }
.points h3 { font-size: 19px; font-weight: 800; letter-spacing: -.01em; line-height: 1.3; margin-bottom: 6px; }
.points p { color: var(--muted); font-size: 16px; }
@media (max-width: 900px) { .split { grid-template-columns: minmax(0, 1fr); gap: 36px; } .split .btn { width: 100%; } .photo::before { inset: 14px -14px -14px 14px; } }

/* ── мастер-класс ─────────────────────────────────────────── */
.flow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; margin-bottom: 44px; }
.flow li { position: relative; padding-right: 20px; }
.flow li:not(:last-child)::before { content: ""; position: absolute; left: 60px; right: -34px; top: 26px; border-top: 2px dashed var(--gold); opacity: .55; }
.flow-n { position: relative; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--blue); color: var(--white); font-size: 20px; font-weight: 800; box-shadow: 0 0 0 5px var(--cream), 0 0 0 6.5px var(--gold); margin-bottom: 22px; }
.flow h3 { font-size: 20px; font-weight: 800; line-height: 1.3; letter-spacing: -.01em; }
.flow p { color: var(--muted); font-size: 15.5px; margin-top: 10px; }
@media (max-width: 900px) { .flow { grid-template-columns: minmax(0, 1fr); gap: 30px; } .flow li { padding: 0 0 0 70px; min-height: 52px; } .flow-n { position: absolute; left: 0; top: 0; margin: 0; } .flow li:not(:last-child)::before { left: 25px; right: auto; top: 60px; bottom: -34px; width: 0; border-top: 0; border-left: 2px dashed var(--gold); } #mk .btn { width: 100%; } }

/* ── эксперты ─────────────────────────────────────────────── */
.team { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.person { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; }
.person:hover { transform: translateY(-3px); box-shadow: var(--shadow-up); }
/* портреты 09.10.2026: вырезаны со старой полосатой стены на кремовый фон, свет и цвет выровнены, головы одного размера */
.person img { width: 100%; aspect-ratio: 1; object-fit: cover; background: var(--cream); border-bottom: 1px solid var(--line); }
.person-body { padding: 20px 22px 24px; }
.person h3 { font-size: 19px; font-weight: 800; letter-spacing: -.01em; line-height: 1.25; }
.role { display: inline-flex; align-items: center; gap: 8px; margin: 8px 0 10px; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--blue); }
.role::before { content: ""; width: 7px; height: 7px; flex: none; border-radius: 2px; background: var(--gold); transform: rotate(45deg); }
.person p { color: var(--muted); font-size: 15px; line-height: 1.5; }
@media (max-width: 900px) { .team { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; } .person-body { padding: 14px 14px 18px; } .person h3 { font-size: 17px; } }
@media (max-width: 520px) { .team { grid-template-columns: minmax(0, 1fr); gap: 12px; } .person { flex-direction: row; align-items: center; gap: 14px; padding: 12px; } .person img { width: 96px; height: 96px; flex: none; border-radius: 16px; border-bottom: 0; } .person-body { padding: 0; min-width: 0; } .person h3 { font-size: 16.5px; } .role { margin: 4px 0 4px; font-size: 11px; } .person p { font-size: 14px; } }

/* ── форма ────────────────────────────────────────────────── */
.cta { position: relative; overflow: clip; }
.cta-eagle { position: absolute; left: -140px; bottom: -160px; width: 620px; opacity: .08; pointer-events: none; }
.cta-in { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; align-items: center; }
.cta-list { display: grid; gap: 12px; margin-top: 28px; }
.cta-list li { display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: 16.5px; color: var(--white); }
.cta-list .ic { width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: var(--gold); color: var(--ink); }
.form { background: var(--white); color: var(--ink); border-radius: 26px; padding: 36px; box-shadow: 0 30px 70px rgba(0, 0, 0, .28); }
.form-title { font-size: 22px; font-weight: 800; letter-spacing: -.015em; margin-bottom: 20px; }
.form label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 10px; }
.phone-row { display: flex; align-items: stretch; border: 2px solid var(--line); border-radius: var(--r-btn); background: var(--cream); overflow: hidden; transition: border-color .15s, box-shadow .15s; }
.phone-row:focus-within { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(31, 78, 156, .12); }
.phone-prefix { display: grid; place-items: center; padding: 0 16px; font-weight: 800; font-size: 19px; color: var(--ink); border-right: 1px solid var(--line); }
.phone-row input { flex: 1; min-width: 0; width: 100%; border: 0; outline: 0; padding: 18px 16px; font: 600 20px/1 var(--sans); letter-spacing: .01em; color: var(--ink); background: transparent; }
.phone-row input::placeholder { color: rgba(20, 24, 33, .35); font-weight: 500; }
.err { min-height: 22px; font-size: 14px; font-weight: 600; color: #B42318; margin: 8px 0 8px; }
.consent { font-size: 13px; color: var(--muted); margin-top: 14px; text-align: center; }
.wa { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 14px; font-weight: 700; font-size: 15px; color: var(--blue); }
.form-done { text-align: center; padding: 20px 0; }
.done-ic { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 50%; background: var(--gold); color: var(--ink); }
.done-ic .ic { width: 30px; height: 30px; }
.done-title { font-size: 30px; font-weight: 800; letter-spacing: -.02em; color: var(--blue); margin-bottom: 6px; }
@media (max-width: 900px) { .cta-in { grid-template-columns: minmax(0, 1fr); gap: 30px; } .cta-eagle { width: 420px; left: -120px; bottom: -120px; opacity: .06; } .form { padding: 26px 20px; border-radius: 22px; } }

/* ── FAQ ──────────────────────────────────────────────────── */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 16px; transition: border-color .2s, box-shadow .2s; }
.faq details[open] { border-color: var(--gold); box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 20px 20px 24px; font-weight: 700; font-size: 17px; line-height: 1.4; }
.faq summary::-webkit-details-marker { display: none; }
.faq-ic { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--cream); color: var(--blue); transition: transform .25s, background-color .2s, color .2s; }
.faq details[open] .faq-ic { transform: rotate(45deg); background: var(--blue); color: var(--white); }
.faq details p { padding: 0 72px 22px 24px; color: var(--muted); }
@media (max-width: 640px) { .faq summary { font-size: 16px; padding: 16px 16px 16px 18px; } .faq details p { padding: 0 18px 18px; } }

/* ── подвал ───────────────────────────────────────────────── */
.foot { background: var(--blue); color: var(--cream); padding: 64px 0 28px; }
.foot-in { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr); gap: 40px; }
.foot-brand { display: flex; gap: 18px; align-items: flex-start; }
.foot-brand img { width: 80px; height: 80px; flex: none; }
.foot-name { font-size: 26px; font-weight: 800; letter-spacing: .06em; color: var(--white); line-height: 1; }
.foot-sub { font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; margin: 8px 0 12px; max-width: 320px; line-height: 1.3; }
.foot-claim { font-size: 15px; opacity: .85; max-width: 380px; }
.foot-nav, .foot-contact { display: grid; gap: 10px; align-content: start; justify-items: start; }
.foot a { color: var(--cream); text-decoration: none; font-size: 15px; font-weight: 600; }
.foot a:hover { color: var(--gold); }
.foot-phone { font-size: 20px !important; font-weight: 800 !important; color: var(--white) !important; }
.foot-contact .btn { margin-top: 6px; color: var(--ink); }
.foot-copy { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line-light); font-size: 13.5px; opacity: .75; }
@media (max-width: 860px) { .foot-in { grid-template-columns: minmax(0, 1fr); gap: 28px; } .foot { padding-top: 48px; } }

/* ── из презентации (09.10.2026): экранное время, причины, модули, проекты учеников, доверие ── */
.screen { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-bottom: 64px; }
.screen-stat { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 24px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); padding: 28px 32px; box-shadow: var(--shadow); }
.screen-stat b { font-size: 76px; font-weight: 800; letter-spacing: -.05em; line-height: .9; color: var(--blue); }
.screen-stat b small { font-size: 30px; letter-spacing: -.02em; margin-left: 4px; color: var(--gold); }
.screen-stat span { font-size: 17px; font-weight: 600; line-height: 1.45; color: var(--ink); }
.self { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 56px; align-items: start; }
.self-head { position: sticky; top: calc(var(--hdr) + 32px); }
.self-head h3 { font-size: 27px; font-weight: 800; line-height: 1.2; letter-spacing: -.02em; }
.self-head p { margin-top: 14px; color: var(--muted); }
.reasons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; counter-reset: rs; }
.reasons li { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); padding: 26px 24px 24px; counter-increment: rs; }
.reasons li::before { content: "0" counter(rs); display: block; font-size: 13px; font-weight: 800; letter-spacing: .14em; color: var(--gold); margin-bottom: 12px; }
.reasons h4 { font-size: 18px; font-weight: 800; line-height: 1.3; letter-spacing: -.01em; margin: 0 0 8px; }
.reasons p { font-size: 15.5px; color: var(--muted); }
.answer { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 44px; padding: 28px 32px; border-radius: var(--r-card); background: var(--blue); color: var(--cream); }
.answer p { font-size: 18px; line-height: 1.5; max-width: 700px; }
.answer b { color: var(--white); }
.answer .btn { flex: none; }
@media (max-width: 960px) {
  .screen { grid-template-columns: minmax(0, 1fr); gap: 12px; margin-bottom: 44px; }
  .screen-stat { padding: 22px 20px; gap: 18px; } .screen-stat b { font-size: 58px; } .screen-stat span { font-size: 15.5px; }
  .self { grid-template-columns: minmax(0, 1fr); gap: 24px; } .self-head { position: static; } .self-head h3 { font-size: 22px; }
  .reasons { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .answer { flex-direction: column; align-items: stretch; padding: 24px 20px; } .answer .btn { width: 100%; }
}

.mods { margin-top: 20px; border: 1px solid var(--line); border-radius: 18px; background: var(--white); }
.mods summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 16px 16px 22px; font-weight: 700; font-size: 16px; }
.mods summary::-webkit-details-marker { display: none; }
.mods summary b { color: var(--blue); }
.mods[open] .faq-ic { transform: rotate(45deg); background: var(--blue); color: var(--white); }
.mods-list { columns: 2; column-gap: 32px; padding: 0 22px 8px; }
.mods-list li { break-inside: avoid; display: grid; grid-template-columns: 28px 1fr auto; gap: 10px; align-items: baseline; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.mods-list .mi { font-size: 13px; font-weight: 800; color: var(--muted); }
.mods-list .mh { font-size: 13.5px; font-weight: 700; color: var(--muted); white-space: nowrap; }
.mods-list li.ms .mi { color: var(--gold); }
.mods-list li.ms .mn { font-weight: 700; }
.mods-note { padding: 4px 22px 18px; font-size: 13.5px; color: var(--muted); }
@media (max-width: 760px) { .mods-list { columns: 1; padding: 0 16px 6px; } .mods summary { padding: 14px 14px 14px 16px; font-size: 15px; } .mods-note { padding: 4px 16px 16px; } }

.stud + .stud { margin-top: 48px; }
.stud-h { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.stud-h img { width: 64px; height: 64px; object-fit: cover; border-radius: 18px; border: 3px solid var(--white); box-shadow: 0 0 0 1.5px var(--gold), var(--shadow); }
.stud-h b { display: block; font-size: 20px; font-weight: 800; letter-spacing: -.01em; }
.stud-h span { color: var(--muted); font-size: 15px; font-weight: 600; }
.proj-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.proj-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 820px; }
.proj { display: flex; flex-direction: column; text-align: left; padding: 0; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--white); box-shadow: var(--shadow); overflow: hidden; cursor: pointer; transition: transform .2s, box-shadow .2s; }
.proj:hover { transform: translateY(-3px); box-shadow: var(--shadow-up); }
.proj-shot { position: relative; display: block; aspect-ratio: 800 / 446; overflow: hidden; background: var(--blue); }
.proj-shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.proj:hover .proj-shot img { transform: scale(1.04); }
.proj-play { position: absolute; left: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px 9px 11px; border-radius: 999px; background: var(--gold); color: var(--ink); font-size: 14px; font-weight: 800; box-shadow: 0 8px 20px rgba(0, 0, 0, .25); }
.proj-play .ic { width: 18px; height: 18px; }
.proj-body { display: grid; gap: 4px; padding: 16px 18px 18px; }
.proj-body b { font-size: 17px; font-weight: 800; letter-spacing: -.01em; }
.proj-body span { font-size: 14.5px; color: var(--muted); line-height: 1.45; }
.stud-note { margin-top: 14px; font-size: 14px; color: var(--muted); }
.proj-modal { width: min(1200px, 96vw); height: min(780px, 90vh); max-width: none; max-height: none; padding: 0; border: 0; border-radius: 20px; background: var(--ink); overflow: hidden; box-shadow: 0 40px 90px rgba(0, 0, 0, .45); }
.proj-modal::backdrop { background: rgba(20, 24, 33, .72); backdrop-filter: blur(3px); }
.proj-modal[open] { display: flex; flex-direction: column; }
.pm-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 10px 10px 20px; background: var(--blue); color: var(--white); }
.pm-bar b { font-size: 16px; font-weight: 800; }
.pm-close { display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 12px; background: rgba(251, 246, 234, .14); color: var(--white); cursor: pointer; }
.pm-close .ic { transform: rotate(45deg); width: 22px; height: 22px; }
.pm-close:hover { background: var(--gold); color: var(--ink); }
.proj-modal iframe { flex: 1; width: 100%; border: 0; background: var(--white); }
@media (max-width: 960px) { .proj-grid, .proj-grid-2 { grid-template-columns: minmax(0, 1fr); max-width: none; gap: 14px; } .proj-modal { width: 100vw; height: 100dvh; border-radius: 0; } }

.trust { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 20px; align-items: stretch; }
.trust-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); box-shadow: var(--shadow); overflow: hidden; margin: 0; }
.trust-hub { padding: 32px; display: flex; flex-direction: column; }
.hub-mark { align-self: flex-start; padding: 6px 12px; border-radius: 999px; background: var(--ink); color: var(--white); font-size: 13px; font-weight: 700; letter-spacing: .02em; margin-bottom: 22px; }
.trust-hub h3 { font-size: 26px; font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }
.trust-hub > p { margin-top: 12px; color: var(--muted); font-size: 16px; }
.hub-facts { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) minmax(0, .95fr); gap: 10px; margin: 22px 0 0; }
.hub-facts div { padding: 14px 12px 12px; border-radius: 16px; background: var(--cream); border: 1px solid var(--line); }
.hub-facts dt { font-size: 13px; font-weight: 600; color: var(--muted); white-space: nowrap; }
.hub-facts dd { margin: 4px 0 0; font-size: 19px; white-space: nowrap; font-weight: 800; letter-spacing: -.02em; color: var(--blue); }
.trust-list { display: grid; gap: 12px; margin-top: auto; padding-top: 24px; }
@media (max-width: 520px) { .hub-facts { grid-template-columns: minmax(0, 1fr); gap: 8px; } .hub-facts div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 11px 14px; } .hub-facts dd { margin: 0; font-size: 17px; } }

/* первый экран: строка о бесплатном мастер-классе под кнопками (09.10.2026) */
.hero-note { display: flex; align-items: center; gap: 10px; margin-top: 16px; font-size: 15px; font-weight: 600; color: var(--muted); }
.hero-note .ic { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--gold); color: var(--ink); }
.hero-note + .stats { margin-top: 32px; }
.hero .cta-row { gap: 12px; }
@media (min-width: 901px) { .hero .btn-lg { padding: 0 24px; } }

/* мастер-класс: условия четырьмя фактами */
.mk-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 0 0 40px; }
.mk-facts li { display: flex; flex-direction: column; gap: 4px; padding: 18px 20px; border-radius: 18px; background: var(--white); border: 1px solid var(--line); }
.mk-facts b { font-size: 17px; font-weight: 800; color: var(--blue); }
.mk-facts span { font-size: 14.5px; color: var(--muted); line-height: 1.45; }
@media (max-width: 900px) { .mk-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 30px; } .mk-facts li { padding: 14px 14px; } .mk-facts b { font-size: 15.5px; } .mk-facts span { font-size: 13.5px; } }
.trust-list li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; font-size: 15.5px; line-height: 1.45; }
.trust-list .ic { width: 24px; height: 24px; padding: 4px; border-radius: 50%; background: var(--gold); color: var(--ink); flex: none; }
.trust-pride { display: flex; flex-direction: column; }
.trust-pride img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; }
.trust-pride figcaption { padding: 24px 28px 28px; }
.medal { display: inline-block; padding: 5px 10px; border-radius: 999px; background: var(--blue); color: var(--white); font-size: 11.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.trust-pride h3 { margin-top: 12px; font-size: 22px; font-weight: 800; letter-spacing: -.015em; }
.trust-pride p { margin-top: 8px; color: var(--muted); font-size: 16px; }
@media (max-width: 960px) { .trust { grid-template-columns: minmax(0, 1fr); gap: 14px; } .trust-hub { padding: 24px 20px; } .trust-pride figcaption { padding: 20px; } }
@media (prefers-reduced-motion: reduce) { .proj, .proj-shot img { transition: none; } }

/* ── появление при прокрутке ──────────────────────────────── */
html.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
html.js [data-reveal].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html.js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .orbit, .chip, .ticker-track { animation: none; }
  .btn, .step, .person { transition: none; }
}
