/* Профориентационный тест Колледжа Президентской академии.
   Визуальный язык — буклет колледжа 2026: оранжевый #EE5F23, красный #E83233, чёрные плашки,
   строгие рамки, заголовки Montserrat; основной текст Manrope, как на siu.ranepa.ru. */

@font-face { font-family: 'Manrope'; font-weight: 400; font-display: swap; src: url(fonts/manrope-cyrillic-400.woff2) format('woff2'); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: 'Manrope'; font-weight: 500; font-display: swap; src: url(fonts/manrope-cyrillic-500.woff2) format('woff2'); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: 'Manrope'; font-weight: 600; font-display: swap; src: url(fonts/manrope-cyrillic-600.woff2) format('woff2'); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: 'Manrope'; font-weight: 700; font-display: swap; src: url(fonts/manrope-cyrillic-700.woff2) format('woff2'); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: 'Manrope'; font-weight: 800; font-display: swap; src: url(fonts/manrope-cyrillic-800.woff2) format('woff2'); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: 'Manrope'; font-weight: 400; font-display: swap; src: url(fonts/manrope-latin-400.woff2) format('woff2'); unicode-range: U+0000-00FF,U+2000-206F,U+20AC,U+20BD,U+2122; }
@font-face { font-family: 'Manrope'; font-weight: 500; font-display: swap; src: url(fonts/manrope-latin-500.woff2) format('woff2'); unicode-range: U+0000-00FF,U+2000-206F,U+20AC,U+20BD,U+2122; }
@font-face { font-family: 'Manrope'; font-weight: 600; font-display: swap; src: url(fonts/manrope-latin-600.woff2) format('woff2'); unicode-range: U+0000-00FF,U+2000-206F,U+20AC,U+20BD,U+2122; }
@font-face { font-family: 'Manrope'; font-weight: 700; font-display: swap; src: url(fonts/manrope-latin-700.woff2) format('woff2'); unicode-range: U+0000-00FF,U+2000-206F,U+20AC,U+20BD,U+2122; }
@font-face { font-family: 'Manrope'; font-weight: 800; font-display: swap; src: url(fonts/manrope-latin-800.woff2) format('woff2'); unicode-range: U+0000-00FF,U+2000-206F,U+20AC,U+20BD,U+2122; }
@font-face { font-family: 'Montserrat'; font-weight: 600; font-display: swap; src: url(fonts/montserrat-cyrillic-600.woff2) format('woff2'); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: 'Montserrat'; font-weight: 700; font-display: swap; src: url(fonts/montserrat-cyrillic-700.woff2) format('woff2'); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: 'Montserrat'; font-weight: 800; font-display: swap; src: url(fonts/montserrat-cyrillic-800.woff2) format('woff2'); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: 'Montserrat'; font-weight: 600; font-display: swap; src: url(fonts/montserrat-latin-600.woff2) format('woff2'); unicode-range: U+0000-00FF,U+2000-206F,U+20AC,U+2122; }
@font-face { font-family: 'Montserrat'; font-weight: 700; font-display: swap; src: url(fonts/montserrat-latin-700.woff2) format('woff2'); unicode-range: U+0000-00FF,U+2000-206F,U+20AC,U+2122; }
@font-face { font-family: 'Montserrat'; font-weight: 800; font-display: swap; src: url(fonts/montserrat-latin-800.woff2) format('woff2'); unicode-range: U+0000-00FF,U+2000-206F,U+20AC,U+2122; }

:root {
  --orange: #EE5F23;
  --orange-dark: #D44D14;
  --orange-soft: #FDEFE8;
  --orange-line: #F7B79B;
  --red: #E83233;
  --black: #111014;
  --dark: #1B1A1F;      /* основной текст; имя оставлено для страницы стенда */
  --dark2: #24222B;     /* тёмные панели */
  --muted: #6B6A73;
  --sub: #9A99A3;
  --bg: #F4F3F6;
  --line: #E6E4EB;
  --white: #fff;
  --head: 'Montserrat', 'Manrope', Arial, sans-serif;
  --r: 8px;             /* скругления сдержанные, как у плашек буклета */
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Manrope', Arial, sans-serif;
  color: var(--dark);
  background: var(--bg);
  line-height: 1.5;
  min-height: 100dvh;
  display: flex; flex-direction: column;
  -webkit-font-smoothing: antialiased;
}
button { font: inherit; color: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; }
a { -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; }
svg { display: block; }
.hidden { display: none !important; }
:focus-visible { outline: 3px solid rgba(238,95,35,.45); outline-offset: 2px; }

/* ── Шапка ── */
.top { background: var(--white); padding: 10px 0; border-bottom: 1px solid var(--line); }
.top-inner { max-width: 560px; margin: 0 auto; padding: 0 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.top-event { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.top-event-name { font-family: var(--head); font-size: 10.5px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--orange); }
.top-event-date { font-family: var(--head); font-size: 17px; font-weight: 800; color: var(--black); }
.top-logo { height: 40px; width: auto; flex-shrink: 0; }

#app { flex: 1; width: 100%; max-width: 560px; margin: 0 auto; padding: 16px 16px 28px; }
.screen { animation: screenIn .35s ease; }
@keyframes screenIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ── Кнопки ── */
.btn { display: block; width: 100%; border: 2px solid transparent; border-radius: var(--r); padding: 15px 18px; font-size: 16px; font-weight: 700; text-align: center; transition: transform .08s, background .2s, border-color .2s, color .2s; }
.btn:active { transform: scale(.985); }
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-dark); }
.btn-primary:disabled { background: #F3B59B; cursor: default; transform: none; }
.btn-big { padding: 18px; font-size: 18px; }
.btn-outline { background: var(--white); color: var(--black); border-color: var(--black); }
.btn-outline:hover { background: var(--black); color: #fff; }
.btn-ghost { background: transparent; color: var(--muted); font-weight: 600; }
.btn-ghost:hover { color: var(--orange); }

/* ═════════ СТАРТ ═════════ */
.start-card { background: var(--white); border-radius: 12px; padding: 28px 22px 0; overflow: hidden; position: relative; }
.start-card h1 { font-family: var(--head); font-size: clamp(21px, 5.6vw, 28px); font-weight: 800; line-height: 1.15; letter-spacing: -.01em; margin-bottom: 14px; color: var(--black); }
.start-card h1 span { color: var(--orange); }
.lead { color: var(--muted); font-size: 15px; margin-bottom: 18px; }
.start-facts { list-style: none; display: flex; gap: 8px; margin-bottom: 20px; }
.start-facts li { flex: 1; border: 1.5px solid var(--orange); border-radius: 6px; padding: 8px 10px; display: flex; align-items: baseline; gap: 6px; }
.start-facts b { font-family: var(--head); font-size: 22px; font-weight: 800; color: var(--orange); line-height: 1; }
.start-facts span { font-size: 12.5px; font-weight: 600; color: var(--muted); }

.start-hero { position: relative; margin: 24px -22px 0; height: 270px; background: var(--orange); overflow: hidden; }
.start-hero::before { content: ''; position: absolute; left: 50%; bottom: -150px; width: 340px; height: 340px; transform: translateX(-50%); border-radius: 50%; background: rgba(255,255,255,.13); }
.start-hero::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: var(--red); }
.start-hero .hero-man { position: absolute; left: 50%; bottom: -140px; height: 380px; width: auto; transform: translateX(-50%); filter: drop-shadow(0 10px 18px rgba(0,0,0,.22)); }
.start-hero .star { position: absolute; fill: #fff; opacity: .92; }
.start-hero .s1 { width: 34px; top: 22px; left: 26px; }
.start-hero .s2 { width: 18px; top: 66px; left: 66px; opacity: .7; }
.start-hero .s3 { width: 26px; top: 30px; right: 30px; }
.hero-chip { position: absolute; background: #fff; color: var(--black); font-family: var(--head); font-size: 12px; font-weight: 700; padding: 8px 12px; border-radius: 6px; box-shadow: 0 6px 18px rgba(0,0,0,.15); white-space: nowrap; animation: float 3.2s ease-in-out infinite; }
.hero-chip::before { content: ''; display: inline-block; width: 7px; height: 7px; background: var(--orange); margin-right: 7px; vertical-align: 1px; }
.hero-chip.c1 { left: 12px; top: 150px; }
.hero-chip.c2 { right: 12px; top: 70px; animation-delay: -1.1s; }
.hero-chip.c3 { right: 12px; bottom: 30px; animation-delay: -2.2s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

/* ═════════ ВОПРОСЫ ═════════ */
.quiz-top { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.icon-btn { width: 42px; height: 42px; flex-shrink: 0; display: grid; place-items: center; border: 1.5px solid var(--line); border-radius: var(--r); background: var(--white); transition: border-color .2s, color .2s, opacity .2s; }
.icon-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.icon-btn:hover:not(:disabled) { border-color: var(--orange); color: var(--orange); }
.icon-btn:disabled { opacity: .35; cursor: default; }
.steps { flex: 1; display: grid; grid-template-columns: repeat(12, 1fr); gap: 3px; }
.steps i { height: 6px; border-radius: 2px; background: #DEDCE4; transition: background .25s; }
.steps i.done { background: var(--orange); }
.steps i.now { background: var(--black); }
.counter { font-family: var(--head); font-size: 13px; font-weight: 600; color: var(--sub); min-width: 52px; text-align: right; }
.counter b { color: var(--black); font-weight: 800; }

.q-card { background: var(--white); border-radius: 12px; padding: 22px 18px 18px; }
.q-card.in { animation: qIn .32s ease; }
.q-card.out { animation: qOut .2s ease forwards; }
@keyframes qIn { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }
@keyframes qOut { to { opacity: 0; transform: translateX(-24px); } }
.q-meta { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.q-label { font-family: var(--head); font-size: 11px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; background: var(--black); color: #fff; padding: 4px 8px; border-radius: 3px; }
.q-theme { font-family: var(--head); font-size: 11px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; color: var(--orange); border: 1.5px solid var(--orange); padding: 3px 8px; border-radius: 3px; }
.q-text { font-family: var(--head); font-size: clamp(18px, 4.8vw, 21px); font-weight: 700; line-height: 1.32; color: var(--black); }
.q-hint { font-size: 14px; color: var(--muted); margin-top: 6px; }
.q-hint:empty { display: none; }
.q-body { margin-top: 18px; }

/* обычный выбор */
.opts { display: flex; flex-direction: column; gap: 10px; }
.opt { display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; background: var(--white); border: 1.5px solid var(--line); border-radius: var(--r); padding: 14px 14px; font-size: 15.5px; font-weight: 600; line-height: 1.35; transition: border-color .15s, background .15s, transform .08s; }
.opt:hover { border-color: var(--orange-line); }
.opt:active { transform: scale(.99); }
.opt .key { flex-shrink: 0; width: 32px; height: 32px; display: grid; place-items: center; border: 1.5px solid var(--orange); border-radius: 4px; font-family: var(--head); font-size: 14px; font-weight: 800; color: var(--orange); transition: background .15s, color .15s; }
.opt.on { border-color: var(--orange); background: var(--orange-soft); }
.opt.on .key { background: var(--orange); color: #fff; }

/* это или то */
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; position: relative; }
.pair-or { position: absolute; left: 50%; top: 39px; transform: translate(-50%, -50%); width: 32px; height: 32px; display: grid; place-items: center; background: var(--black); color: #fff; border-radius: 50%; font-family: var(--head); font-size: 11px; font-weight: 800; z-index: 1; pointer-events: none; }
.tile { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; text-align: left; background: var(--white); border: 1.5px solid var(--line); border-radius: var(--r); padding: 16px 14px; min-height: 170px; transition: border-color .15s, background .15s, transform .08s; }
.tile:hover { border-color: var(--orange-line); }
.tile:active { transform: scale(.985); }
.tile svg { width: 46px; height: 46px; fill: none; stroke: var(--orange); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.tile b { font-size: 15px; font-weight: 700; line-height: 1.3; }
.tile span { font-size: 13px; color: var(--muted); line-height: 1.4; }
.tile.on { border-color: var(--orange); background: var(--orange); color: #fff; }
.tile.on svg { stroke: #fff; }
.tile.on span { color: rgba(255,255,255,.85); }

/* шкала */
.scale { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.scale button { aspect-ratio: 1; max-height: 64px; width: 100%; border: 1.5px solid var(--line); border-radius: var(--r); background: var(--white); font-family: var(--head); font-size: 20px; font-weight: 800; color: var(--black); transition: border-color .15s, background .15s, color .15s, transform .08s; }
.scale button:hover { border-color: var(--orange); }
.scale button:active { transform: scale(.96); }
.scale button.on { background: var(--orange); border-color: var(--orange); color: #fff; }
.scale-ends { display: flex; justify-content: space-between; gap: 12px; margin-top: 10px; font-size: 12.5px; font-weight: 600; color: var(--muted); }
.scale-ends span:last-child { text-align: right; }

/* несколько вариантов */
.multi { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.chk { display: flex; align-items: center; gap: 10px; text-align: left; background: var(--white); border: 1.5px solid var(--line); border-radius: var(--r); padding: 13px 12px; font-size: 14.5px; font-weight: 600; line-height: 1.25; transition: border-color .15s, background .15s; }
.chk:hover { border-color: var(--orange-line); }
.chk i { flex-shrink: 0; width: 20px; height: 20px; border: 1.5px solid var(--orange); border-radius: 3px; display: grid; place-items: center; transition: background .15s; }
.chk i svg { width: 14px; height: 14px; fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; opacity: 0; }
.chk.on { border-color: var(--orange); background: var(--orange-soft); }
.chk.on i { background: var(--orange); }
.chk.on i svg { opacity: 1; }
.chk:disabled { opacity: .45; cursor: default; }
.multi-next { margin-top: 14px; }

/* ═════════ ПОДСЧЁТ ═════════ */
.calc { background: var(--white); border-radius: 12px; padding: 40px 22px; min-height: 340px; display: flex; flex-direction: column; justify-content: center; }
.calc-label { font-family: var(--head); font-size: 20px; font-weight: 800; text-transform: uppercase; color: var(--black); margin-bottom: 26px; }
.calc-label::after { content: ''; display: inline-block; width: 1.2em; text-align: left; animation: dots 1s steps(4) infinite; }
@keyframes dots { 0% { content: ''; } 25% { content: '.'; } 50% { content: '..'; } 75% { content: '...'; } }
.calc-rows { display: flex; flex-direction: column; gap: 16px; }
.calc-row span { display: block; font-size: 14px; font-weight: 700; margin-bottom: 6px; }
.calc-row i { display: block; height: 10px; background: var(--bg); border-radius: 2px; overflow: hidden; }
.calc-row em { display: block; height: 100%; width: 0; background: var(--orange); animation: fillcalc 1.3s ease-in-out infinite alternate; }
.calc-row:nth-child(2) em { animation-delay: .2s; background: var(--black); }
.calc-row:nth-child(3) em { animation-delay: .4s; background: var(--red); }
@keyframes fillcalc { from { width: 8%; } to { width: 92%; } }

/* ═════════ РЕЗУЛЬТАТ ═════════ */
.r-hero { position: relative; background: var(--orange); color: #fff; border-radius: 12px; overflow: hidden; min-height: 300px; padding: 24px 20px 0; display: flex; }
.r-hero::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: var(--red); }
.r-hero-text { position: relative; z-index: 2; max-width: 55%; padding-bottom: 26px; }
.r-kicker { display: inline-block; font-family: var(--head); font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; background: #fff; color: var(--orange); padding: 4px 8px; border-radius: 3px; }
.r-title { font-family: var(--head); font-size: clamp(21px, 6vw, 30px); font-weight: 800; line-height: 1.1; margin-top: 14px; }
.r-role { font-size: 14.5px; font-weight: 600; color: rgba(255,255,255,.9); margin-top: 10px; line-height: 1.35; }
.r-match { display: inline-flex; align-items: stretch; margin-top: 16px; font-family: var(--head); }
.r-match span { background: var(--black); color: #fff; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; padding: 8px 10px; display: flex; align-items: center; }
.r-match b { background: #fff; color: var(--black); font-size: 20px; font-weight: 800; padding: 4px 12px; border: 2px solid var(--black); display: flex; align-items: center; }
.r-img { position: absolute; right: -10px; bottom: 6px; height: 280px; width: auto; max-width: 44%; object-fit: contain; object-position: right bottom; z-index: 1; filter: drop-shadow(0 10px 16px rgba(0,0,0,.2)); }
.r-hero.anim { animation: pop .45s cubic-bezier(.2,.9,.3,1.15); }
@keyframes pop { from { opacity: 0; transform: scale(.96) translateY(10px); } to { opacity: 1; transform: none; } }

.panel { background: var(--white); border-radius: 12px; padding: 20px 18px; margin-top: 12px; }
.h-label { display: inline-block; font-family: var(--head); font-size: 13px; font-weight: 800; letter-spacing: .6px; text-transform: uppercase; color: #fff; background: var(--black); padding: 5px 10px; border-radius: 3px; margin-bottom: 16px; }
.note { font-size: 13px; color: var(--muted); margin-top: 12px; }
.note.top { margin: -6px 0 12px; }

.bars { display: flex; flex-direction: column; gap: 8px; }
.bar { display: grid; grid-template-columns: 1fr auto; gap: 6px 10px; align-items: center; width: 100%; text-align: left; background: transparent; border: 1.5px solid transparent; border-radius: var(--r); padding: 10px 10px 12px; transition: border-color .15s, background .15s; }
.bar:hover { background: var(--bg); }
.bar.sel { border-color: var(--orange); background: var(--orange-soft); }
.bar-name { font-family: var(--head); font-size: 14px; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.bar-name small { font-family: 'Manrope', sans-serif; font-size: 11px; font-weight: 700; color: #fff; background: var(--orange); padding: 2px 6px; border-radius: 3px; }
.bar-pct { font-family: var(--head); font-size: 16px; font-weight: 800; color: var(--black); }
.bar-track { display: block; grid-column: 1 / -1; height: 10px; background: #ECEAF0; border-radius: 2px; overflow: hidden; }
.bar-fill { display: block; height: 100%; width: 0; background: var(--black); transition: width .9s cubic-bezier(.2,.8,.2,1); }
.bar.top .bar-fill { background: var(--orange); }

.about { font-size: 15.5px; line-height: 1.6; }
.strengths { list-style: none; display: flex; flex-direction: column; gap: 8px; margin-top: 16px; }
.strengths li { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; font-weight: 600; line-height: 1.4; }
.strengths li::before { content: ''; flex-shrink: 0; width: 10px; height: 10px; background: var(--orange); margin-top: 5px; }
.mix { margin-top: 16px; padding: 12px 14px; border-left: 4px solid var(--orange); background: var(--orange-soft); font-size: 14px; line-height: 1.5; border-radius: 0 6px 6px 0; }
.mix:empty { display: none; }

/* специальность — как колонка буклета */
.spec { background: var(--white); border-radius: 12px; margin-top: 12px; overflow: hidden; }
.spec.swap { animation: swap .3s ease; }
@keyframes swap { from { opacity: .3; } to { opacity: 1; } }
.spec-head { background: var(--orange); color: #fff; padding: 20px 18px 18px; }
.spec-code { display: inline-block; font-family: var(--head); font-size: 12px; font-weight: 700; background: #fff; color: var(--orange); padding: 3px 8px; border-radius: 3px; }
.spec-name { font-family: var(--head); font-size: clamp(19px, 5vw, 23px); font-weight: 800; line-height: 1.2; margin-top: 10px; }
.spec-body { padding: 18px; }
.spec-dl dt { font-family: var(--head); font-size: 13px; font-weight: 700; color: var(--orange); }
.spec-dl dd { font-size: 15px; margin: 2px 0 14px; line-height: 1.5; }
.two-col { display: grid; grid-template-columns: 1fr; gap: 16px; padding-top: 16px; border-top: 1px dashed var(--line); }
.two-col h4 { font-family: var(--head); font-size: 13px; font-weight: 700; color: var(--orange); margin-bottom: 8px; }
.dash { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.dash li { position: relative; padding-left: 22px; font-size: 14.5px; line-height: 1.4; }
.dash li::before { content: ''; position: absolute; left: 0; top: 9px; width: 12px; height: 2px; background: var(--red); }

.seg { display: grid; grid-template-columns: 1fr 1fr; margin-top: 22px; border: 1.5px solid var(--orange); border-radius: var(--r); overflow: hidden; }
.seg button { border: 0; background: var(--white); padding: 11px 6px; font-family: var(--head); font-size: 13px; font-weight: 700; color: var(--orange); transition: background .15s, color .15s; }
.seg button[aria-selected="true"] { background: var(--orange); color: #fff; }

.terms { margin-top: 12px; display: flex; flex-direction: column; gap: 10px; }
.term { display: grid; grid-template-columns: auto 1fr; border: 1.5px solid var(--line); border-radius: var(--r); overflow: hidden; }
.term-form { display: flex; align-items: center; justify-content: center; writing-mode: vertical-rl; transform: rotate(180deg); font-family: var(--head); font-size: 11px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: #fff; background: var(--orange); padding: 10px 6px; }
.term.za .term-form { background: var(--black); }
.term-cells { display: grid; grid-template-columns: 1.25fr 1fr 1fr; }
.term-cells div { padding: 10px 12px; border-left: 1px solid var(--line); }
.term-cells div:first-child { border-left: 0; }
.term-cells span { display: block; font-size: 11.5px; color: var(--muted); font-weight: 600; }
.term-cells b { display: block; font-family: var(--head); font-size: 15px; font-weight: 800; color: var(--black); margin-top: 2px; white-space: nowrap; }
.term-cells b.no { color: var(--sub); font-weight: 600; }

.score { margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--line); }
.score p { font-size: 14px; color: var(--muted); line-height: 1.5; }
.score-boxes { display: flex; gap: 10px; margin-top: 10px; flex-wrap: wrap; }
.sbox { display: inline-flex; align-items: stretch; font-family: var(--head); font-size: 14px; font-weight: 700; background: var(--black); color: #fff; padding-left: 10px; border: 2px solid var(--black); }
.sbox { align-items: center; gap: 10px; }
.sbox b { background: #fff; color: var(--black); padding: 4px 10px; font-weight: 800; }

.actions { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; }

/* календарь — как в буклете */
.cal { display: flex; flex-direction: column; gap: 8px; }
.cal-head { display: flex; justify-content: space-between; font-size: 11.5px; color: var(--muted); font-weight: 600; padding: 0 2px; }
.cal-row { display: flex; gap: 8px; }
.cal-main { flex: 1; border: 1.5px solid var(--red); padding: 9px 10px; font-size: 13.5px; color: var(--red); line-height: 1.3; }
.cal-main b { font-family: var(--head); font-weight: 800; }
.cal-side { flex-shrink: 0; border: 1.5px solid var(--red); padding: 9px 10px; font-size: 13.5px; color: var(--red); display: flex; align-items: center; gap: 4px; }
.cal-side b { font-family: var(--head); font-weight: 800; }
.cal-row.dark .cal-main, .cal-row.dark .cal-side { border-color: var(--black); color: var(--black); }
.sub { font-family: var(--head); font-size: 13px; font-weight: 800; text-transform: uppercase; color: var(--red); margin: 20px 0 10px; letter-spacing: .3px; }
.enroll { display: flex; flex-direction: column; gap: 8px; }
.enroll div { display: flex; justify-content: space-between; align-items: stretch; border: 1.5px solid var(--red); font-size: 13.5px; color: var(--red); }
.enroll span { padding: 9px 10px; }
.enroll b { background: var(--red); color: #fff; font-family: var(--head); font-weight: 800; padding: 9px 12px; display: flex; align-items: center; }
.enroll .dark { border-color: var(--black); color: var(--black); }
.enroll .dark b { background: var(--black); }

.checks { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.checks li { position: relative; padding-left: 26px; font-size: 14.5px; line-height: 1.45; }
.checks li::before { content: ''; position: absolute; left: 0; top: 3px; width: 13px; height: 13px; border: 1.5px solid var(--black); }

.why { list-style: none; counter-reset: why; display: flex; flex-direction: column; gap: 16px; }
.why li { counter-increment: why; display: grid; grid-template-columns: 40px 1fr; column-gap: 12px; }
.why li::before { content: counter(why); grid-row: span 2; font-family: var(--head); font-size: 44px; font-weight: 800; color: var(--orange); line-height: .9; }
.why b { font-family: var(--head); font-size: 13px; font-weight: 800; text-transform: uppercase; color: var(--orange); line-height: 1.25; }
.why span { font-size: 14px; color: var(--muted); line-height: 1.45; margin-top: 3px; }

.contacts .c-big { display: block; font-family: var(--head); font-size: 18px; font-weight: 800; color: var(--black); text-decoration: none; padding: 3px 0; }
.contacts .c-big:hover { color: var(--orange); }
.c-addr { color: var(--muted); font-size: 14px; margin-top: 4px; }
.links { display: flex; flex-direction: column; margin-top: 16px; border-top: 1px solid var(--line); }
.links a { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 13px 2px; border-bottom: 1px solid var(--line); font-size: 15px; font-weight: 600; color: var(--black); text-decoration: none; }
.links a:hover { color: var(--orange); }
.links svg { width: 18px; height: 18px; fill: none; stroke: var(--orange); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

/* ── Подвал ── */
.foot { text-align: center; padding: 18px 16px 28px; font-size: 12px; color: var(--sub); display: flex; flex-direction: column; gap: 4px; }
.foot-slogan { font-family: var(--head); font-weight: 800; color: var(--orange); font-size: 15px; }

.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px); background: var(--black); color: #fff; padding: 12px 18px; border-radius: var(--r); font-size: 14px; font-weight: 600; opacity: 0; pointer-events: none; transition: .25s; z-index: 50; max-width: 90vw; text-align: center; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ── Адаптив ── */
@media (min-width: 600px) {
  #app { padding-top: 28px; }
  .start-card { padding: 34px 32px 0; }
  .start-hero { margin: 28px -32px 0; height: 300px; }
  .start-hero .hero-man { height: 410px; bottom: -150px; }
  .hero-chip { font-size: 13px; padding: 9px 14px; }
  .hero-chip.c1 { left: 40px; top: 130px; }
  .hero-chip.c2 { right: 40px; top: 96px; }
  .hero-chip.c3 { right: 48px; bottom: 40px; }
  .q-card { padding: 28px 26px 24px; }
  .panel { padding: 24px 24px; }
  .spec-head { padding: 24px; }
  .spec-body { padding: 22px 24px 24px; }
  .two-col { grid-template-columns: 1fr 1fr; }
  .r-hero { padding: 28px 26px 0; min-height: 320px; }
  .r-img { height: 310px; right: 0; }
  .actions { flex-direction: row; flex-wrap: wrap; }
  .actions .btn { flex: 1 1 45%; }
  .actions .btn-ghost { flex-basis: 100%; }
}
@media (max-width: 400px) {
  .hero-chip { font-size: 11px; padding: 6px 9px; }
  .start-hero .s3 { top: 26px; right: 22px; }
  .r-img { height: 240px; right: -24px; }
  .r-hero-text { max-width: 64%; }
  .tile { min-height: 158px; padding: 14px 12px; }
  .multi { grid-template-columns: 1fr; }
}
@media (max-width: 360px) {
  .top-event-name { font-size: 9.5px; letter-spacing: .5px; }
  .top-logo { height: 34px; }
  .start-facts span { font-size: 11px; }
  .term-cells div { padding: 9px 8px; }
  .term-cells b { font-size: 13.5px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
