/* ================================================================
   МТИ — стили сайта. Перенос макета Claude Design в production CSS.
   Палитра (строго 9 цветов бренд-партнёра):
     основные:    #FFED00 (акцент) · #2B2B2B (ink) · #FFFFFF (bg)
     вспомогательные: #3D3D3D · #666767 · #92979A · #BBBEC5 · #E5E6EA · #EEEEEE
   Шрифты: Golos Text (осн.), JetBrains Mono (акцентные подписи)
   ================================================================ */

:root {
  --accent: #FFED00;
  --ink: #2B2B2B;
  --bg: #FFFFFF;
  --ink-2: #3D3D3D;   /* поверхность/бордер на тёмном фоне */
  --gray-1: #666767;  /* вторичный текст на светлом фоне */
  --gray-2: #92979A;  /* вторичный текст/бордер на тёмном фоне */
  --gray-3: #BBBEC5;  /* светлый бордер / приглушённый текст на тёмном */
  --gray-4: #E5E6EA;  /* светлая поверхность (футер) */
  --gray-5: #EEEEEE;  /* светлая поверхность (программы) / разделители */
  --muted: var(--gray-1);
  --line: var(--gray-5);
  --container: 1240px;
  --pad: 32px;
  --radius: 3px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Golos Text', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.4;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
::selection { background: var(--accent); color: var(--ink); }
input::placeholder { color: var(--gray-2); }
a { color: inherit; }

@keyframes floatUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }

.container { max-width: var(--container); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--ink); color: #fff; padding: 12px 18px; border-radius: var(--radius);
}
.skip-link:focus { left: 16px; top: 16px; }

/* ---- Кнопки ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: inherit; font-weight: 700; font-size: 15px; line-height: 1;
  padding: 12px 22px; border-radius: var(--radius); text-decoration: none;
  border: 1.5px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform .12s ease, background .15s ease, color .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.btn--accent { background: var(--accent); color: var(--ink); }
.btn--accent:hover { box-shadow: 0 6px 18px rgba(255,237,0,.35); }
.btn--dark { background: var(--ink); color: #fff; font-size: 16px; padding: 16px 28px; }
.btn--outline { background: #fff; color: var(--ink); border-color: var(--ink); font-size: 16px; padding: 16px 28px; }
.btn--outline:hover { background: var(--ink); color: #fff; }
.btn--lg { font-size: 18px; font-weight: 800; padding: 19px 56px; }
.btn--sm { font-size: 14px; font-weight: 700; padding: 11px 18px; }
.btn--block { width: 100%; }
.btn--ghost-dark { background: transparent; color: #fff; border-color: var(--ink-2); font-weight: 600; }
.btn--ghost-dark:hover { background: rgba(255,255,255,.06); }

/* ---- Надзаголовок (eyebrow) ---- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin: 0 0 24px;
  font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 13px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .08em; color: var(--gray-1);
}
.eyebrow__dot { width: 8px; height: 8px; background: var(--accent); border-radius: 50%; }
.eyebrow--muted { margin-bottom: 14px; }
.eyebrow--accent { color: var(--accent); margin-bottom: 16px; }

.section-title { margin: 0 0 30px; font-size: 46px; font-weight: 900; letter-spacing: -.02em; line-height: 1.05; }

/* ---- TOP STRIP ---- */
.topbar { background: var(--ink); color: var(--gray-3); font-size: 13px; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 9px; padding-bottom: 9px; }
.topbar__note { letter-spacing: .02em; }
.topbar__links { display: flex; align-items: center; gap: 24px; }
.topbar__links a { color: var(--gray-3); text-decoration: none; }
.topbar__links a:hover { color: #fff; }

/* ---- HEADER ---- */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 18px; padding-bottom: 18px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand__logo { display: block; height: 28px; width: auto; }
.mainnav { display: flex; align-items: center; gap: 30px; font-size: 15px; font-weight: 500; }
.mainnav a { color: var(--ink); text-decoration: none; position: relative; padding: 4px 0; }
.mainnav a::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--accent); transition: width .2s ease; }
.mainnav a:hover::after { width: 100%; }
.header__cta { }
.burger { display: none; width: 44px; height: 44px; background: none; border: none; cursor: pointer; padding: 10px; }
.burger span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.burger span + span { margin-top: 5px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---- HERO ---- */
.hero { border-bottom: 1px solid var(--line); }
.hero__inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; padding: 80px 32px 90px; }
.hero__title { margin: 0 0 22px; font-size: 58px; line-height: 1.18; font-weight: 900; letter-spacing: -.02em; }
/* Подсветка расширяется наружу (отрицательные поля гасят паддинги),
   поэтому текст не сдвигается и в начале строки нет «лишнего пробела». */
.hero__title mark { background: var(--accent); color: inherit; padding: 0 6px; margin: 0 -6px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.hero__lead { margin: 0 0 34px; font-size: 19px; line-height: 1.55; color: var(--muted); max-width: 520px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__media { margin: 0 0 -18px; margin-top: -140px; position: relative; display: flex; align-items: flex-end; justify-content: center; aspect-ratio: 4/5; }
.hero__media::before { content: ""; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); width: 100%; aspect-ratio: 1/1; max-height: 86%; background: var(--accent); border-radius: 50%; z-index: 0; }
.hero__img { position: relative; z-index: 1; width: 96%; height: auto; max-height: 100%; object-fit: contain; filter: drop-shadow(0 18px 34px rgba(0,0,0,.18)); }

/* ---- STATS ---- */
.stats { background: var(--ink); color: #fff; }
.stats__inner { display: grid; grid-template-columns: repeat(3,1fr); gap: 32px; padding-top: 54px; padding-bottom: 54px; }
.stat__num { font-size: 48px; font-weight: 900; letter-spacing: -.02em; color: var(--accent); }
.stat__num span { font-size: 30px; }
.stat__label { margin-top: 6px; font-size: 15px; color: var(--gray-2); }

/* ---- PROMO / DISCOUNT ---- */
.promo { background: var(--ink); color: #fff; }
.promo__inner { display: flex; align-items: center; gap: 48px; flex-wrap: wrap; padding-top: 56px; padding-bottom: 56px; }
.promo__figure { display: flex; align-items: baseline; line-height: .86; color: var(--accent); font-weight: 900; letter-spacing: -.04em; }
.promo__upto { font-size: 64px; margin-right: 14px; }
.promo__num { font-size: 132px; }
.promo__pct { font-size: 64px; }
.promo__text { flex: 1; min-width: 280px; }
.promo__badge { display: inline-flex; align-items: center; gap: 9px; font-family: 'JetBrains Mono', monospace; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--ink); background: var(--accent); padding: 6px 12px; border-radius: var(--radius); margin-bottom: 18px; }
.promo__title { margin: 0 0 10px; font-size: 38px; line-height: 1.05; font-weight: 900; letter-spacing: -.02em; }
.promo__desc { margin: 0; font-size: 17px; line-height: 1.5; color: var(--gray-3); max-width: 460px; }

/* ---- ПРОГРАММЫ ---- */
.programs { background: var(--gray-5); border-bottom: 1px solid var(--line); padding: 78px 0 88px; }
.tabs { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.tab {
  background: #fff; color: var(--ink); border: 1.5px solid var(--gray-3); font-weight: 600; font-size: 16px;
  padding: 13px 26px; border-radius: var(--radius); cursor: pointer; font-family: inherit; transition: all .15s;
}
.tab:hover { border-color: var(--gray-2); }
.tab.is-active { background: var(--ink); color: #fff; border-color: var(--ink); font-weight: 700; }
.tab:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

.programs__meta { display: flex; align-items: center; justify-content: space-between; gap: 14px 24px; margin-bottom: 22px; flex-wrap: wrap; }
.programs__caption { margin: 0; font-size: 16px; color: var(--muted); }

.programs__grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.programs__grid[hidden] { display: none; }
.prog-card {
  position: relative; overflow: hidden; background: var(--ink); border: 1px solid var(--ink-2);
  border-radius: 4px; padding: 26px; min-height: 236px; animation: floatUp .35s ease both;
}
.prog-card.hidden { display: none; }
.prog-card__num { position: absolute; right: 18px; bottom: -10px; font-weight: 900; font-size: 96px; line-height: 1; color: rgba(255,255,255,.045); pointer-events: none; font-family: 'JetBrains Mono', monospace; }
.prog-card__body { position: relative; z-index: 1; display: flex; flex-direction: column; height: 100%; }
.prog-card__top { display: flex; align-items: center; justify-content: space-between; gap: 8px 14px; flex-wrap: wrap; margin-bottom: 14px; }
.prog-card__level { font-family: 'JetBrains Mono', monospace; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--accent); }
.prog-card__dur { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--gray-2); white-space: nowrap; }
.prog-card__dur svg { flex: none; }
/* margin-bottom: auto прижимает формы/цену/кнопки к низу — карточки в ряду
   выглядят одинаково при любой длине названия. */
.prog-card__title { margin: 0 0 auto; padding-bottom: 16px; font-size: 21px; line-height: 1.22; font-weight: 800; color: #fff; }
.prog-card__forms { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 16px; }
.prog-card__form { font-size: 12px; font-weight: 600; color: var(--gray-3); border: 1px solid var(--ink-2); padding: 5px 11px; border-radius: 999px; }
.prog-card__price { font-size: 19px; font-weight: 800; color: #fff; margin-bottom: 22px; }
.prog-card__price span { font-size: 13px; font-weight: 500; color: var(--gray-2); }
.prog-card__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.programs__more { display: flex; justify-content: center; margin-top: 36px; }
.programs__more .btn[hidden] { display: none; }

/* ---- Бакалавриат: карточки-категории (тот же стиль) → список профилей ---- */
.bachelor-view[hidden] { display: none; }
.cat-grid[hidden] { display: none; }
.cat-card { transition: border-color .15s, transform .15s; }
.cat-card:hover { border-color: var(--ink-2); transform: translateY(-3px); }
.cat-card__count { border-color: var(--accent); color: var(--accent); }

.cat-detail[hidden] { display: none; }
.cat-detail__head { display: flex; align-items: flex-start; gap: 18px; flex-wrap: wrap; margin-bottom: 24px; }
.cat-back {
  background: #fff; color: var(--ink); border: 1.5px solid var(--gray-3); font-weight: 600; font-size: 15px;
  padding: 11px 18px; border-radius: var(--radius); cursor: pointer; font-family: inherit; transition: all .15s;
}
.cat-back:hover { border-color: var(--ink); }
.cat-back:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.cat-detail__eyebrow { font-family: 'JetBrains Mono', monospace; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--gray-1); margin-bottom: 6px; }
.cat-detail__title { margin: 0; font-size: 26px; line-height: 1.15; font-weight: 800; color: var(--ink); }

/* ---- КОЛЛЕДЖ + ВУЗ ---- */
.combo { border-bottom: 1px solid var(--line); padding: 78px 0; }
.combo__lead { margin: 0 0 46px; font-size: 18px; line-height: 1.55; color: var(--muted); max-width: 640px; }
.combo__lead b { color: var(--ink); }
.combo__row { display: grid; grid-template-columns: 1fr 52px 1fr 52px 1fr; align-items: stretch; }
.combo__card { position: relative; background: var(--ink); border-radius: 4px; padding: 24px; min-height: 316px; display: flex; flex-direction: column; }
.combo__card--accent { background: var(--accent); }
.combo__tags { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; position: relative; z-index: 1; }
.tag { font-weight: 800; font-size: 13px; padding: 7px 13px; border-radius: var(--radius); }
.tag--accent { background: var(--accent); color: var(--ink); }
.tag--white { background: #fff; color: var(--ink); }
.combo__pic { width: 100%; height: 156px; flex: 0 0 auto; margin: 16px 0; border-radius: 6px; overflow: hidden; display: block; }
.combo__img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; display: block; }
.combo__img--college { object-position: center 46%; }
.combo__img--higher { object-position: center 42%; }
.combo__img--diploma { object-position: center 30%; }
.combo__name { font-size: 27px; font-weight: 900; color: #fff; letter-spacing: -.01em; }
.combo__name--dark { color: var(--ink); }
.combo__op { display: flex; align-items: center; justify-content: center; font-size: 34px; font-weight: 900; color: var(--ink); }

/* ---- ПРЕИМУЩЕСТВА ---- */
.benefits { border-bottom: 1px solid var(--line); padding: 78px 0; }
.benefits .section-title { max-width: 620px; margin-bottom: 44px; font-size: 40px; }
.benefits__grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.benefit { border-top: 3px solid var(--accent); padding-top: 20px; }
.benefit__title { font-size: 19px; font-weight: 800; margin: 0 0 10px; }
.benefit p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--muted); }

/* ---- FAQ ---- */
.faq { border-bottom: 1px solid var(--line); padding: 78px 0; }
.faq__inner { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: start; }
.faq__head .section-title { font-size: 38px; margin-bottom: 0; }
.faq__list { display: flex; flex-direction: column; gap: 0; }
.faq__item { border-top: 1px solid var(--line); }
.faq__item:last-child { border-bottom: 1px solid var(--line); }
.faq__q { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; font-size: 19px; font-weight: 700; position: relative; }
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 26px; font-weight: 400; color: var(--gray-2); transition: transform .2s ease; }
.faq__item[open] .faq__q::after { content: "−"; color: var(--ink); }
.faq__q:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.faq__a { padding: 0 40px 24px 0; }
.faq__a p { margin: 0; font-size: 16px; line-height: 1.65; color: var(--muted); }

/* ---- ФОРМА ЗАЯВКИ ---- */
.apply { background: var(--ink); color: #fff; }
.apply__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding-top: 72px; padding-bottom: 72px; }
.apply__title { margin: 0 0 18px; font-size: 42px; font-weight: 900; letter-spacing: -.02em; line-height: 1.06; }
.apply__lead { margin: 0; font-size: 17px; line-height: 1.55; color: var(--gray-2); max-width: 440px; }
.apply__form { background: var(--ink-2); border: 1px solid var(--gray-1); border-radius: 5px; padding: 32px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13px; color: var(--gray-2); margin-bottom: 7px; }
.field input { width: 100%; background: var(--ink); border: 1px solid var(--ink-2); color: #fff; font-size: 15px; padding: 14px 16px; border-radius: var(--radius); font-family: inherit; }
.field input:focus { outline: none; border-color: var(--accent); }
.field input:user-invalid { border-color: var(--accent); }

.contact-field { border: none; margin: 0 0 18px; padding: 0; min-width: 0; }
.contact-field legend { padding: 0; font-size: 13px; color: var(--gray-2); margin-bottom: 7px; }
.contact-field__input-label { margin-top: 12px; }
.contact-methods { display: flex; gap: 8px; flex-wrap: wrap; }
.contact-btn {
  background: var(--ink); color: var(--gray-3); border: 1.5px solid var(--ink-2); font-weight: 600; font-size: 14px;
  padding: 10px 18px; border-radius: var(--radius); cursor: pointer; font-family: inherit; transition: all .15s;
}
.contact-btn:hover { border-color: var(--gray-1); color: #fff; }
.contact-btn.is-active { background: var(--accent); color: var(--ink); border-color: var(--accent); font-weight: 700; }
.contact-btn:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.apply__form .btn { margin-top: 6px; }
.apply__consent { margin: 14px 0 0; font-size: 12px; color: var(--gray-2); line-height: 1.5; }
.apply__consent a { color: var(--gray-3); }
.apply__success { margin: 14px 0 0; font-size: 14px; color: var(--accent); font-weight: 600; }
.apply__error { margin: 14px 0 0; font-size: 13px; color: var(--accent); line-height: 1.5; }
.apply__error a { color: #fff; font-weight: 600; }
.apply__form .btn[disabled] { opacity: .6; cursor: not-allowed; transform: none; }

/* ---- FOOTER ---- */
.footer { background: var(--gray-4); color: var(--muted); }
.footer__inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; padding-top: 56px; padding-bottom: 40px; }
.footer__logo { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.footer__logo-img { display: block; height: 26px; width: auto; max-width: 100%; }
.footer__brand p { margin: 0; font-size: 14px; line-height: 1.6; max-width: 320px; }
.footer__partner { margin: 10px 0 0; font-size: 13px; line-height: 1.6; max-width: 340px; color: var(--gray-1); }
.footer__col { display: flex; flex-direction: column; }
.footer__h { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--gray-1); margin: 0 0 14px; font-weight: 600; }
.footer__col a { color: var(--ink); text-decoration: none; font-size: 15px; margin-bottom: 11px; }
.footer__col a:hover { text-decoration: underline; }
.footer__bottom { border-top: 1px solid var(--gray-3); }
.footer__bottom-inner { padding-top: 18px; padding-bottom: 18px; font-size: 13px; color: var(--gray-1); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer__bottom-inner a { color: var(--gray-1); text-decoration: none; }
.footer__bottom-inner a:hover { color: var(--ink); }
.footer__legal { padding-top: 14px; padding-bottom: 4px; font-size: 12px; line-height: 1.6; color: var(--gray-1); border-top: 1px solid var(--gray-3); }
.footer__legal p { margin: 0 0 6px; }
.footer__legal a { color: var(--gray-1); }
.footer__legal a:hover { color: var(--ink); }
.footer__ad-notice { font-weight: 600; color: var(--ink); }

/* ---- ПРАВОВЫЕ СТРАНИЦЫ (напр. /privacy.html) ---- */
.legal { padding: 64px 0 96px; }
.legal .container { max-width: 820px; }
.legal h1 { font-size: 40px; font-weight: 900; margin: 0 0 10px; letter-spacing: -.02em; }
.legal__updated { font-size: 13px; color: var(--gray-1); margin: 0 0 28px; }
.legal__notice { margin: 0 0 32px; padding: 14px 18px; background: var(--gray-5); border-radius: var(--radius); font-size: 14px; font-weight: 700; }
.legal h2 { font-size: 22px; font-weight: 800; margin: 40px 0 12px; }
.legal p, .legal li { font-size: 16px; line-height: 1.65; color: var(--ink); }
.legal p { margin: 0 0 16px; }
.legal ul { padding-left: 20px; margin: 0 0 16px; }
.legal a { color: var(--ink); text-decoration: underline; }

/* ================= RESPONSIVE ================= */
@media (max-width: 1080px) {
  .hero__title { font-size: 48px; }
  .section-title { font-size: 40px; }
  .promo__upto { font-size: 52px; margin-right: 11px; }
  .promo__num { font-size: 104px; }
  .promo__pct { font-size: 52px; }
  .programs__grid { grid-template-columns: repeat(2,1fr); }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .mainnav {
    position: fixed; inset: 0 0 0 auto; width: min(320px, 82vw);
    flex-direction: column; align-items: flex-start; gap: 4px;
    background: #fff; padding: 88px 28px 28px; box-shadow: -16px 0 40px rgba(0,0,0,.12);
    transform: translateX(100%); transition: transform .25s ease; z-index: 45; font-size: 18px;
  }
  .mainnav.is-open { transform: translateX(0); }
  .mainnav a { width: 100%; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .mainnav a::after { display: none; }
  .header__cta { display: none; }
  .burger { display: block; z-index: 46; }
  body.nav-open { overflow: hidden; }
  /* backdrop-filter на .header создаёт containing block для position:fixed
     потомков — из-за этого .mainnav схлопывался в размер хедера вместо экрана.
     Отключаем фильтр, пока меню открыто. */
  body.nav-open .header { backdrop-filter: none; -webkit-backdrop-filter: none; }
  .brand__logo { height: 24px; }

  .hero__inner { grid-template-columns: 1fr; gap: 36px; padding: 56px 32px 60px; }
  .hero__media { max-width: 420px; margin: 0 auto; }
  .stats__inner { grid-template-columns: repeat(3,1fr); gap: 28px 24px; }
  .apply__inner { grid-template-columns: 1fr; gap: 32px; }
  .faq__inner { grid-template-columns: 1fr; gap: 24px; }
  .benefits__grid { grid-template-columns: repeat(2,1fr); gap: 32px 28px; }

  /* Колледж + ВУЗ → вертикально */
  .combo__row { grid-template-columns: 1fr; gap: 14px; }
  .combo__op { padding: 4px 0; }
}

@media (max-width: 620px) {
  :root { --pad: 20px; }
  .topbar { display: none; }
  .brand__logo { height: 21px; max-width: calc(100vw - 130px); }
  .hero__inner { padding: 44px 20px 52px; gap: 30px; }
  .hero__title { font-size: 34px; line-height: 1.22; }
  .hero__title mark { padding: 0 5px; }
  .hero__lead { font-size: 16px; margin-bottom: 26px; }
  .hero__actions { gap: 10px; }
  .hero__actions .btn { flex: 1 1 100%; padding: 15px 20px; }
  .hero__media { max-width: 300px; margin-bottom: 0; }
  .section-title { font-size: 28px; }
  .programs { padding: 52px 0 60px; }
  .programs__grid { grid-template-columns: 1fr; gap: 14px; }
  .programs__more { margin-top: 26px; }
  .programs__more .btn { width: 100%; padding: 15px 20px; }
  .tabs { gap: 6px; }
  .tabs .tab { flex: 1 1 auto; padding: 12px 5px; font-size: 13px; }
  .prog-card { padding: 22px 18px; min-height: 0; }
  .prog-card__title { font-size: 19px; }
  .prog-card__num { font-size: 72px; right: 12px; }
  .prog-card__actions .btn { flex: 1 1 auto; }
  .combo, .benefits, .faq { padding: 52px 0; }
  .combo__card { min-height: 0; }
  .stats__inner { grid-template-columns: 1fr; gap: 22px; padding-top: 40px; padding-bottom: 40px; }
  .stat__num { font-size: 40px; }
  .promo__inner { gap: 20px; padding-top: 44px; padding-bottom: 44px; }
  .promo__upto { font-size: 36px; margin-right: 8px; }
  .promo__num { font-size: 72px; }
  .promo__pct { font-size: 36px; }
  .promo__title { font-size: 26px; }
  .promo__desc { font-size: 15px; }
  .promo__figure { line-height: 1; }
  .btn--lg { width: 100%; padding: 17px 24px; }
  .benefits__grid { grid-template-columns: 1fr; gap: 26px; }
  .apply__inner { padding-top: 52px; padding-bottom: 52px; }
  .apply__title, .combo .section-title { font-size: 26px; }
  .apply__form { padding: 22px 18px; }
  .contact-btn { padding: 10px 14px; font-size: 13px; }
  .footer__inner { grid-template-columns: 1fr; gap: 28px; padding-top: 44px; }
  .faq__q { font-size: 16.5px; padding-right: 34px; }
  .faq__a { padding-right: 0; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto !important; transition: none !important; }
}
