  :root {
    --green-soft: #C2D4B6;
    --green: #85CEA3;
    --accent: #E2AC1A;
    --on-accent: #33373D;
    --ink: #33373D;
    --muted: #606368;
    --sand: #E2CFC1;
    --sand-deep: #D9C7A3;
    --stone: #C4B59B;
    --mist: #DED4C3;
    --paper: #f6f3ee;
    --white: #ffffff;
    --max: 1120px;
    --hdr-h: 104px;
  }
  * { box-sizing: border-box; }
  html { scroll-behavior: smooth; scroll-padding-top: 176px; }
  body {
    margin: 0;
    font-family: Montserrat, "Helvetica Neue", Arial, sans-serif;
    color: var(--ink);
    background: var(--white);
    font-size: 16px;
    line-height: 1.5;
  }
  img { max-width: 100%; }
  a { color: inherit; }
  h1, h2, h3, p { margin: 0; }
  h1 { font-size: clamp(32px, 4vw, 44px); line-height: 1.15; font-weight: 600; letter-spacing: -0.03em; }
  h2 { font-size: clamp(26px, 3vw, 32px); line-height: 1.2; font-weight: 600; letter-spacing: -0.03em; }
  h3 { font-size: 18px; line-height: 1.35; font-weight: 600; }
  .wrap { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }

  /* ---------- Шапка и панель версии для слабовидящих (как в kpt-deti-maket) ---------- */
  .site-header {
    position: sticky; top: 0; z-index: 20;
    background: rgba(255,255,255,.94);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--mist);
  }
  .header-bar {
    display: flex; align-items: center; gap: 28px;
    min-height: 72px; padding: 10px 0;
  }
  .brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: 0 0 auto; }
  .brand img { height: 36px; width: auto; }
  .brand span {
    display: block; max-width: 8.2em;
    color: var(--ink); font-size: 13px; font-weight: 600; line-height: 1.15; letter-spacing: -0.02em;
  }
  .a11y-bar { background: var(--paper); border-bottom: 1px solid var(--mist); }
  .a11y-bar .wrap { display: flex; justify-content: flex-end; }
  .a11y-open {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 7px 0; border: 0; color: var(--ink); background: transparent;
    font: 600 13px/1.2 Montserrat, sans-serif; cursor: pointer;
  }
  .a11y-open svg { width: 22px; height: 16px; flex: 0 0 auto; }
  .a11y-panel { display: none; background: #eee; border-bottom: 1px solid #000; }
  html.a11y-on .a11y-panel { display: block; }
  .a11y-panel-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; padding: 10px 0; }
  .a11y-group { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
  .a11y-group > span { font-size: 13px; font-weight: 700; }
  .a11y-panel button {
    border: 1px solid #000; background: #fff; color: #000;
    border-radius: 8px; padding: 6px 10px;
    font: 600 14px/1 Montserrat, sans-serif; cursor: pointer;
  }
  .a11y-panel button[aria-pressed="true"] { background: #000; color: #fff; }
  .a11y-off { margin-left: auto; }
  html.a11y-on body { zoom: var(--a11y-zoom, 1.25); }
  html.a11y-images-off img { visibility: hidden; }
  html.a11y-images-off .brand img,
  html.a11y-images-off .a11y-open svg { visibility: visible; }

  html.a11y-theme-white :is(body, .site-header, .site-footer, .a11y-bar, section, article, .hero-copy, .ph, .stat, .pill, .who-pill, .fact, .chip, .btn, .phone, .num, .program, .program-no, .meta, .event-strip, .ticker, .count, .grant-chip, .note-box, .each, .study li, form, .side-card, input) {
    background: #fff !important; color: #000 !important; border-color: #000 !important; box-shadow: none !important;
  }
  html.a11y-theme-white :is(a, .muted, .kicker, .cta-note, .stat span) { color: #000 !important; }
  html.a11y-theme-black :is(body, .site-header, .site-footer, .a11y-bar, section, article, .hero-copy, .ph, .stat, .pill, .who-pill, .fact, .chip, .btn, .phone, .num, .program, .program-no, .meta, .event-strip, .ticker, .count, .grant-chip, .note-box, .each, .study li, form, .side-card, input) {
    background: #000 !important; color: #fff !important; border-color: #fff !important; box-shadow: none !important;
  }
  html.a11y-theme-black :is(a, .muted, .kicker, .cta-note, .stat span) { color: #fff !important; }
  html.a11y-theme-black .brand img { filter: invert(1); }
  html.a11y-theme-blue :is(body, .site-header, .site-footer, .a11y-bar, section, article, .hero-copy, .ph, .stat, .pill, .who-pill, .fact, .chip, .btn, .phone, .num, .program, .program-no, .meta, .event-strip, .ticker, .count, .grant-chip, .note-box, .each, .study li, form, .side-card, input) {
    background: #9dd1ff !important; color: #063462 !important; border-color: #063462 !important; box-shadow: none !important;
  }
  html.a11y-theme-blue :is(a, .muted, .kicker, .cta-note, .stat span) { color: #063462 !important; }
  html.a11y-on :is(.btn, .hero-copy, .stat, .program, .meta, .note-box, .each, .fact, .chip, .pill, .who-pill, .grant-chip, .num) { border: 1px solid currentColor !important; }
  html.a11y-on .a11y-panel,
  html.a11y-on .a11y-panel .a11y-group > span { background: #eee !important; color: #000 !important; }
  html.a11y-on .a11y-panel button { background: #fff !important; color: #000 !important; border-color: #000 !important; }
  html.a11y-on .a11y-panel button[aria-pressed="true"] { background: #000 !important; color: #fff !important; }

  .nav-row {
    display: flex; align-items: center; justify-content: center; flex-wrap: wrap;
    gap: 8px 20px; flex: 1;
  }
  .nav-row a { text-decoration: none; font-size: 15px; font-weight: 500; }
  .nav-row a:hover { color: var(--muted); }
  .nav-toggle {
    display: none; flex: 0 0 auto;
    align-items: center; justify-content: center;
    width: 40px; height: 40px; padding: 0;
    border: 1px solid var(--ink); border-radius: 999px;
    background: var(--white); color: var(--ink); cursor: pointer;
  }
  .nav-toggle span,
  .nav-toggle span::before,
  .nav-toggle span::after {
    content: ""; display: block; width: 16px; height: 2px;
    border-radius: 2px; background: currentColor;
  }
  .nav-toggle span { position: relative; }
  .nav-toggle span::before,
  .nav-toggle span::after { position: absolute; left: 0; }
  .nav-toggle span::before { top: -5px; }
  .nav-toggle span::after { top: 5px; }
  .nav-toggle[aria-expanded="true"] span { background: transparent; }
  .nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }
  .phone {
    flex: 0 0 auto; text-decoration: none; font-weight: 600; white-space: nowrap;
    background: var(--ink); color: var(--white);
    border-radius: 999px; padding: 8px 16px; font-size: 14px;
  }
  .phone:hover { background: #22252a; }

  /* ---------- Тонкая полоска события: дата, подарок, одна кнопка ---------- */
  .event-strip {
    position: sticky; top: var(--hdr-h); z-index: 19;
    background: var(--white); border-bottom: 1px solid var(--mist);
  }
  .ticker { overflow: hidden; background: var(--ink); color: var(--white); padding: 11px 0; }
  .ticker-track {
    display: flex; width: max-content; gap: 0;
    animation: ticker 32s linear infinite;
  }
  .ticker-track span {
    padding-right: 4em; font-size: 18px; font-weight: 700;
    letter-spacing: .01em; white-space: nowrap;
  }
  @keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
  @media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } }
  .strip-bar {
    display: flex; align-items: center; gap: 16px 24px;
    min-height: 72px; padding: 10px 0;
  }
  .count {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 12px;
    margin: 0; padding: 10px 18px;
    background: var(--ink); color: var(--white);
    border-radius: 16px;
    font-size: 15px; font-weight: 600; line-height: 1;
  }
  .count-label,
  .count-unit { white-space: nowrap; }
  .count-unit { display: inline-flex; align-items: baseline; gap: 5px; }
  .count b {
    font-size: 30px; font-weight: 700; letter-spacing: -0.04em;
    font-variant-numeric: tabular-nums; line-height: 1;
    color: var(--accent);
  }
  .strip-bar .btn { margin-left: auto; }
  .grant-chip {
    background: var(--sand); border-radius: 999px; padding: 6px 12px;
    font-size: 14px; font-weight: 600; white-space: nowrap;
  }
  .event-strip .btn { margin-left: auto; }
  html.a11y-on .event-strip { position: static; }

  /* ---------- Кнопки-пилюли ---------- */
  .btn {
    display: inline-flex; align-items: center; justify-content: center;
    width: auto; max-width: 100%;
    background: var(--accent); color: var(--on-accent); text-decoration: none;
    border: 0; border-radius: 999px;
    padding: 16px 32px; font: 600 17px/1.25 Montserrat, sans-serif;
    white-space: nowrap; cursor: pointer;
    box-shadow: 0 6px 16px rgba(226, 172, 26, .28);
  }
  .btn:hover { background: #c9960f; }
  .btn.ghost { background: var(--white); color: var(--ink); box-shadow: none; border: 1px solid var(--ink); }
  .btn.ghost:hover { background: var(--mist); }
  .btn.small { padding: 10px 16px; font-size: 14px; box-shadow: none; }
  .actions {
    display: flex; flex-direction: column; align-items: center;
    gap: 10px; margin-top: 28px; text-align: center;
  }
  .cta-note { font-size: 14px; color: var(--muted); }

  /* ---------- Секции ---------- */
  section { padding: 72px 0; }
  .band { background: var(--paper); }
  .kicker {
    font-size: 12px; letter-spacing: .08em; text-transform: uppercase;
    font-weight: 600; color: var(--muted); margin-bottom: 8px;
  }
  .lead { font-size: 18px; line-height: 1.45; }
  .muted { color: var(--muted); }
  .nowrap { white-space: nowrap; }
  .section-head { margin-bottom: 22px; max-width: 40em; }
  .prose { display: grid; gap: 14px; margin-top: 18px; }
  .prose p { max-width: 46em; }
  .split { display: grid; grid-template-columns: 1.15fr .85fr; gap: 28px; align-items: center; }
  .list { margin: 8px 0 0; padding-left: 18px; }
  .list li { margin: 6px 0; }

  /* Фото: скругление 20 px. Пока файла нет, на месте фото подпись с его именем, как плашки в макетах. */
  .ph {
    position: relative;
    background: var(--sand);
    border-radius: 20px;
    min-height: 180px;
    display: flex; align-items: flex-end;
    padding: 16px;
    color: var(--muted);
    font-size: 14px; font-weight: 600;
    overflow-wrap: anywhere;
  }
  .ph.photo { padding: 0; overflow: hidden; display: block; }
  .ph.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
  .ph.photo.face img { object-position: center 22%; }
  .ph.is-empty { display: flex; padding: 16px; overflow: hidden; }
  .hero-photos .ph.is-empty, .speaker .ph.is-empty { padding: 10px; font-size: 11px; }
  .ph.is-empty img { display: none; }
  .ph.is-empty::after { content: attr(data-file); }

  /* ---------- Первый экран ---------- */
  .hero { padding: 28px 0 48px; }
  .hero-copy {
    background: #E3CEC1;
    border-radius: 28px;
    padding: 28px 8px 16px 28px;
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  .hero-main {
    display: grid;
    grid-template-columns: minmax(0, .82fr) minmax(420px, 1.2fr);
    gap: 4px 0;
    align-items: stretch;
  }
  .hero-text { min-width: 0; display: flex; flex-direction: column; gap: 14px; padding: 8px 8px 0 12px; }
  .hero-copy h1 { max-width: none; font-size: clamp(28px, 3.1vw, 38px); line-height: 1.12; }
  .pill {
    align-self: flex-start;
    background: var(--ink); color: var(--white);
    border-radius: 999px; padding: 6px 12px;
    font-size: 12px; font-weight: 600; letter-spacing: .06em;
  }
  .topic { font-size: 18px; }
  .topic b { font-weight: 600; }
  .fact {
    align-self: flex-start;
    margin: 0;
    padding: 0 0 0 12px;
    border-left: 3px solid var(--accent);
    background: none;
    color: var(--ink);
    font-size: 18px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.35;
  }
  .hero-cta { align-items: flex-start; width: auto; margin-top: 4px; }
  .hero-cta .btn { width: auto; }
  .hero-copy .cta-note { color: var(--ink); }
  .day {
    font-size: clamp(20px, 2.2vw, 24px);
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.25;
  }
  .pair { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
  .hero-photos {
    width: 100%;
    align-self: stretch;
    min-height: 560px;
    overflow: hidden;
  }
  .hero-photos img {
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: cover;
    object-position: center 18%;
    display: block;
  }
  .hero-people {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 0;
    padding: 0;
  }
  .hero-people > div {
    background: rgba(255, 255, 255, .82);
    border-radius: 20px;
    padding: 16px 18px 12px;
  }
  .hero-people .person-name { margin-bottom: 8px; font-size: 16px; }
  .hero-people .list { margin: 0; padding-left: 16px; font-size: 13.5px; line-height: 1.35; }
  .hero-people .list li { margin: 3px 0; }
  .part .person-name { margin-bottom: 2px; }
  .part .list { margin: 0; padding-left: 18px; font-size: 14.5px; line-height: 1.4; }
  .part .list li { margin: 4px 0; }
  .webinar-accent {
    background: var(--accent);
    color: var(--ink);
    padding: 88px 0 96px;
  }
  .webinar-accent h2 { font-size: clamp(36px, 4.6vw, 52px); max-width: 11em; }
  .webinar-accent .lead { font-size: 20px; max-width: 34em; }
  .webinar-accent .part,
  .webinar-accent .part.sand { background: var(--white); }
  .webinar-accent .chip { background: var(--ink); color: var(--white); }
  .webinar-accent .meta { background: var(--paper); }
  .reg-note {
    border: 0; border-radius: 24px; padding: 12px 12px 8px; width: min(460px, calc(100% - 32px));
    max-height: calc(100dvh - 32px); overflow: auto;
    color: var(--ink); font: 500 16px/1.45 Montserrat, sans-serif;
  }
  .reg-note::backdrop { background: rgba(51, 55, 61, .45); }
  .reg-widget { width: 100%; min-height: 240px; }
  .reg-close {
    display: block; margin: 0 0 4px auto; width: 36px; height: 36px; padding: 0;
    border: 0; border-radius: 50%; background: transparent; color: var(--ink);
    font: 400 28px/1 Montserrat, sans-serif; cursor: pointer;
  }
  .person-name { display: block; font-weight: 600; line-height: 1.3; }
  .person-role { display: block; font-size: 14px; line-height: 1.4; margin-top: 2px; }

  /* ---------- Короткий текст ---------- */
  .intro { padding: 40px 0 28px; }
  .intro-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(260px, .72fr);
    gap: 16px;
    align-items: stretch;
  }
  .intro-grid .prose {
    margin: 0;
    background: var(--white);
    border-radius: 24px;
    padding: 28px 28px 26px;
  }
  .intro-grid .prose p,
  .intro-grid .prose .lead { max-width: none; font-size: 16px; line-height: 1.5; }
  .intro-grid .side-card {
    margin: 0;
    background: var(--sand);
    border: 0;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
  }
  .intro-grid .side-card p { margin-top: 6px; }
  .intro-grid .side-card .actions { align-items: center; margin-top: 16px; }
  #dlya-kogo { padding: 36px 0 48px; }
  #dlya-kogo .nums article {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    padding: 16px 18px;
  }
  #dlya-kogo .num { margin: 0; }
  .limit {
    margin: 22px 0 0;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    color: var(--muted);
  }
  #dlya-kogo .actions { margin-top: 16px; }

  /* ---------- Карточки с номерами (как «Кому подойдет обучение» в kpt-online) ---------- */
  .nums { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
  .nums article, .side-card, form {
    background: var(--white);
    border: 1px solid var(--stone);
    border-radius: 24px;
    padding: 22px;
    box-shadow: 0 12px 32px rgba(51, 55, 61, .06);
  }
  .num {
    width: 44px; height: 44px; margin-bottom: 12px;
    display: grid; place-items: center;
    border-radius: 14px; background: var(--accent); color: var(--on-accent);
    font-size: 18px; font-weight: 700;
  }

  /* ---------- Две части вебинара ---------- */
  .ph.wide { aspect-ratio: 1672 / 941; min-height: 0; }
  .parts { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 40px; }
  .part {
    background: #E3CEC1; border-radius: 24px; padding: 28px;
    display: flex; flex-direction: column; gap: 14px; min-width: 0;
  }
  .part.sand { background: #C2D5B6; }
  .part .kicker { color: var(--ink); }
  .chip {
    align-self: flex-start;
    display: inline-flex; align-items: center;
    background: var(--white); color: var(--ink);
    border-radius: 999px; padding: 4px 10px;
    font-size: 11px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  }
  .part h3 { font-size: clamp(22px, 2vw, 26px); line-height: 1.2; letter-spacing: -0.02em; }
  .part .lead-in { margin-top: 6px; }
  .part .person-name { font-size: 18px; }
  .part .list { margin-top: 4px; }
  .part .lecture-titles {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  .part .lecture-titles li {
    margin: 0;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.35;
  }
  .who-pills { display: flex; flex-wrap: wrap; gap: 8px; }
  .who-pill {
    display: inline-flex; align-items: center;
    background: var(--ink); color: var(--white);
    border-radius: 999px; padding: 6px 12px;
    font-size: 13px; font-weight: 600; line-height: 1.3;
  }
  .speaker { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 18px; align-items: end; }
  .speaker .ph { aspect-ratio: 1 / 1; min-height: 0; background: #C2D5B6; }
  .meta {
    margin-top: auto;
    background: rgba(255,255,255,.8);
    border-radius: 18px;
    padding: 16px 18px;
  }

  /* ---------- Программа: цветные строки, как «Список программ» в kpt-online ---------- */
  .programs { display: grid; gap: 12px; margin: 22px 0 0; padding: 0; list-style: none; }
  .program {
    display: flex; align-items: center; gap: 16px;
    border-radius: 24px; padding: 14px 22px 14px 14px;
    font-size: 17px; font-weight: 500; line-height: 1.4;
  }
  .program:nth-child(5n+1) { background: var(--green-soft); }
  .program:nth-child(5n+2) { background: var(--sand); }
  .program:nth-child(5n+3) { background: var(--mist); }
  .program:nth-child(5n+4) { background: var(--sand-deep); }
  .program:nth-child(5n+5) { background: var(--green); }
  .program-no {
    flex: 0 0 auto; width: 48px; height: 48px; border-radius: 16px;
    display: grid; place-items: center;
    background: rgba(255,255,255,.78);
    font-weight: 700; letter-spacing: -0.04em;
  }
  .program p { min-width: 0; }

  /* ---------- Что Вы получите: четыре карточки и грант-плашка ---------- */
  .gains-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 14px; align-items: stretch; }
  .stat {
    background: var(--ink); color: var(--white);
    border-radius: 20px; padding: 18px 20px;
    border-top: 8px solid var(--accent);
  }
  .stat b { display: block; font-size: 40px; letter-spacing: -0.04em; line-height: 1; margin-bottom: 8px; }
  .stat span { color: var(--mist); font-size: 15px; }
  .stat.grant {
    background: var(--sand); color: var(--ink);
    display: flex; flex-direction: column; justify-content: center; gap: 14px;
    padding: 28px 24px;
  }
  .stat.grant b { font-size: clamp(44px, 4.6vw, 60px); margin: 0; white-space: nowrap; }
  .stat.grant .unit { display: block; margin-top: 6px; font-size: 22px; letter-spacing: -0.02em; }
  .stat.grant span { color: var(--ink); font-size: 16px; font-weight: 600; line-height: 1.45; }

  /* ---------- Курс ---------- */
  .why-title { margin-top: 48px; }
  .advantages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 18px; }
  .advantages article { border-radius: 24px; padding: 22px; }
  .advantages article:nth-child(1) { background: var(--sand); }
  .advantages article:nth-child(2) { background: var(--green); }
  .advantages article:nth-child(3) { background: var(--mist); }
  .advantages b { font-weight: 600; }

  /* ---------- Что Вы изучите ---------- */
  .study {
    list-style: none; margin: 22px 0 0; padding: 0;
    display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
  }
  .study li {
    margin: 0; min-height: 100%;
    display: flex; align-items: flex-start; gap: 14px;
    border-radius: 20px; padding: 16px 18px;
    font-size: 16px; font-weight: 600; line-height: 1.35;
  }
  .study li span {
    flex: 0 0 auto; width: 36px; height: 36px; border-radius: 12px;
    display: grid; place-items: center;
    background: rgba(255,255,255,.78);
    font-size: 14px; font-weight: 700; letter-spacing: -0.03em;
  }
  .study li:nth-child(6n+1) { background: var(--green); }
  .study li:nth-child(6n+2) { background: var(--sand); }
  .study li:nth-child(6n+3) { background: var(--mist); }
  .study li:nth-child(6n+4) { background: var(--sand-deep); }
  .study li:nth-child(6n+5) { background: var(--green-soft); }
  .study li:nth-child(6n+6) { background: var(--stone); }

  /* ---------- Формат обучения: тёмные плашки, как «Курс включает» в kpt-deti ---------- */
  .stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 22px; }
  .stats .stat {
    border-radius: 24px; padding: 24px 22px;
    border-top-width: 10px;
    display: flex; flex-direction: column; gap: 10px;
    min-height: 168px;
  }
  .stats .stat b { font-size: 24px; line-height: 1.2; letter-spacing: -0.02em; margin: 0; }
  .note-box {
    margin-top: 22px;
    background: var(--sand-deep);
    border-radius: 24px;
    padding: 22px 24px;
  }
  .note-box p { max-width: 52em; }
  .note-box b { font-weight: 600; }

  /* ---------- Запись ---------- */
  .apply { display: grid; grid-template-columns: 1.2fr .8fr; gap: 14px 28px; align-items: start; margin-top: 28px; }
  .fields { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  label { display: grid; gap: 6px; font-size: 13px; font-weight: 600; }
  label.wide { grid-column: 1 / -1; }
  input {
    width: 100%; border: 1px solid var(--stone); border-radius: 12px;
    padding: 12px; font: 400 15px/1.4 Montserrat, sans-serif;
    color: var(--ink); background: var(--white);
  }
  .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; margin: 12px 0 0; }
  .check input { width: auto; margin-top: 3px; }
  form .actions { margin-top: 20px; }
  .side-card p { margin-top: 8px; }
  .side-card .actions { align-items: flex-start; margin-top: 18px; }

  /* ---------- Подвал (дословно как в kpt-deti-maket) ---------- */
  .site-footer { background: var(--ink); color: var(--white); padding: 22px 0 18px; font-size: 14px; line-height: 1.35; }
  .site-footer a { color: var(--white); }
  .foot-top { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 22px; }
  .foot-top p { margin: 0; }
  .foot-links { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 10px; }
  .foot-links a { font-weight: 600; }
  .fine { margin-top: 10px; color: var(--mist); font-size: 13px; }

  :focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

  @media screen and (max-width: 1100px) {
    .stats { grid-template-columns: 1fr 1fr; }
  }
  @media screen and (max-width: 900px) {
    .split, .nums, .parts, .gains-grid, .advantages, .apply, .intro-grid, .study { grid-template-columns: minmax(0, 1fr); }
    section { padding: 48px 0; }
    .header-bar { flex-wrap: wrap; row-gap: 8px; }
    .nav-row { order: 3; flex-basis: 100%; justify-content: flex-start; }
    .phone { margin-left: auto; }
    .btn { white-space: normal; text-align: center; }
    .event-strip { position: static; }
    .strip-bar { flex-wrap: wrap; }
    .hero-copy { padding: 24px; }
    .hero-main { grid-template-columns: 1fr; align-items: start; }
    .hero-text { padding: 0; }
    .hero-copy h1 { font-size: 30px; }
    .hero-cta, .hero-cta .btn { width: 100%; }
    .hero-photos { width: 100%; min-height: 0; height: 420px; margin-inline: auto; }
    .hero-photos img { height: 100%; max-height: none; object-position: center 15%; }
    .hero-people { grid-template-columns: 1fr; }
    .speaker { grid-template-columns: 140px minmax(0, 1fr); }
  }
  @media screen and (max-width: 640px) {
    h1 { font-size: 26px; }
    h2 { font-size: 24px; }
    h3 { font-size: 17px; }
    .wrap { width: min(var(--max), calc(100% - 32px)); }
    section { padding: 36px 0; }
    .hero { padding: 16px 0 28px; }
    .lead, .topic { font-size: 16px; }
    .header-bar { flex-wrap: nowrap; gap: 8px; min-height: 60px; }
    .brand span { display: block; font-size: 11px; max-width: 7.6em; }
    .brand img { height: 28px; }
    .a11y-open { font-size: 12px; }
    .a11y-off { margin-left: 0; }
    .phone { margin-left: auto; padding: 8px 10px; font-size: 13px; }
    .nav-toggle { display: inline-flex; }
    .nav-row {
      display: none;
      position: absolute;
      left: 0; right: 0; top: 100%;
      flex-basis: auto; order: 0;
      flex-direction: column; align-items: stretch; gap: 0;
      padding: 4px 16px 12px;
      background: rgba(255,255,255,.98);
      border-bottom: 1px solid var(--mist);
      box-shadow: 0 16px 28px rgba(51, 55, 61, .08);
    }
    .nav-row.open { display: flex; }
    .nav-row a { padding: 14px 2px; border-bottom: 1px solid var(--mist); font-size: 16px; }
    .nav-row a:last-child { border-bottom: 0; }
    .strip-bar { flex-direction: column; align-items: stretch; padding: 12px 0; }
    .strip-bar .btn { margin-left: 0; }
    .count { justify-content: center; }
    .count b { font-size: 24px; }
    .hero-copy { padding: 16px; border-radius: 22px; }
    .hero-copy h1 { font-size: 26px; }
    .hero-photos { height: 320px; }
    .actions { align-items: stretch; }
    .pair { flex-direction: column; align-items: stretch; }
    .actions .btn, form .btn { width: 100%; padding: 14px 18px; font-size: 15px; }
    .side-card .actions { align-items: stretch; }
    .webinar-accent { padding: 44px 0 48px; }
    .webinar-accent h2 { font-size: 30px; }
    .nums article, .side-card, form, .part, .advantages article, .study li, .note-box { padding: 18px 16px; border-radius: 20px; }
    .speaker { grid-template-columns: 112px minmax(0, 1fr); gap: 14px; }
    .program { padding: 10px 14px 10px 10px; font-size: 15px; gap: 12px; border-radius: 20px; }
    .program-no { width: 40px; height: 40px; border-radius: 14px; }
    .stats { grid-template-columns: minmax(0, 1fr); }
    .stats .stat { min-height: 0; padding: 18px 16px; }
    .stats .stat b { font-size: 20px; }
    .stat.grant b { font-size: 44px; }
    .fields { grid-template-columns: 1fr; }
    .btn, h1, h2, h3 { overflow-wrap: anywhere; }
  }
  @media print {
    @page { size: 1280px 1800px; margin: 28px 0 32px; }
    .site-header, .event-strip { position: static; }
    body { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
    *, *::before, *::after { box-shadow: none !important; backdrop-filter: none !important; }
    section { break-inside: auto; page-break-inside: auto; padding: 40px 0; }
    article, .program, .side-card, .stat, .note-box, .part, .seats, .study li, .advantages article {
      break-inside: avoid;
      page-break-inside: avoid;
    }
    h2, h3 { break-after: avoid; page-break-after: avoid; }
    .site-footer { padding: 12px 0 8px; }
    .fine { margin-top: 4px; }
    .nav-toggle { display: none; }
    .nav-row { display: flex; position: static; flex-direction: row; }
    .hero-copy { display: flex; flex-direction: column; padding: 28px 8px 16px 28px; }
    .hero-main { display: grid; grid-template-columns: minmax(0, .82fr) minmax(420px, 1.2fr); align-items: stretch; }
    .hero-photos { min-height: 560px; height: auto; width: 100%; }
    .hero-photos img { height: 100%; max-height: none; object-fit: cover; object-position: center 18%; }
    .hero-people { grid-template-columns: 1fr 1fr; }
    .hero-cta, .hero-cta .btn { width: auto; }
    .strip-bar, .seats { flex-direction: row; align-items: center; }
    .intro-grid { grid-template-columns: minmax(0, 1.4fr) minmax(260px, .72fr); }
    .study { grid-template-columns: 1fr 1fr; }
    .hero-text { padding: 8px 8px 0 12px; }
    .hero-copy h1 { max-width: none; font-size: 38px; }
    .btn { white-space: nowrap; }
    .split { grid-template-columns: 1.15fr .85fr; }
    .nums, .parts { grid-template-columns: 1fr 1fr; }
    .advantages { grid-template-columns: repeat(3, 1fr); }
    .gains-grid { grid-template-columns: 2fr 1fr; }
    .stats { grid-template-columns: repeat(4, 1fr); }
    .apply { grid-template-columns: 1.2fr .8fr; }
    .fields { grid-template-columns: 1fr 1fr; }
    .header-bar { flex-wrap: nowrap; }
  }
