/* Доработка HTML-версии с хостинга от 08.09.2026. Исходные стили — style.css. */
:root { --container: 1440px; --header-height: 88px; }
html { scroll-padding-top: calc(var(--header-height) + 20px); scrollbar-gutter: stable; }
body { overflow-x: clip; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; font: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #a70068; outline-offset: 5px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.container { width: min(calc(100% - 64px), var(--container)); }
.icon { display: inline-block; width: 24px; height: 24px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.btn { gap: 10px; line-height: 1.25; text-align: center; }
.skip-link { position: fixed; top: 8px; left: 16px; padding: 12px; z-index: 200; background: white; transform: translateY(-160%); }
.skip-link:focus { transform: none; }
.site-header { background: rgba(255, 255, 255, .6); -webkit-backdrop-filter: blur(7px); backdrop-filter: blur(7px); }
.header-inner, .site-header.is-scrolled .header-inner { height: var(--header-height); grid-template-columns: 172px minmax(0, 1fr) auto; gap: 24px; transition: none; }
.brand-image { display: block; width: 164px; line-height: 1; }
.brand-image img { display: block; width: 100%; height: auto; }
.nav { gap: clamp(13px, 1.2vw, 22px); font-size: 13px; font-weight: 700; align-items: center; }
.nav a, .nav button { white-space: nowrap; }
.nav button { border: 0; padding: 0; background: transparent; color: inherit; font: inherit; }
.nav a:hover, .nav button:hover { color: var(--pink); }
.header-actions { gap: 12px; }
.header-messengers { display: grid; gap: 5px; }
.messenger-label { color: #6a6169; font-size: 11px; text-align: center; line-height: 1.2; }
.messenger-buttons { display: flex; gap: 8px; flex-wrap: wrap; }
.messenger { display: inline-grid; place-items: center; width: 44px; height: 44px; min-height: 0; padding: 0; border: 0; border-radius: 11px; background: transparent; box-shadow: 0 4px 14px #2b17301c; transition: transform .2s, box-shadow .2s; }
.messenger-logo { display: block; width: 100%; height: 100%; border-radius: inherit; }
.messenger:hover { transform: translateY(-2px); box-shadow: 0 7px 18px #2b17302b; }
.header-messengers .messenger { width: 33px; height: 33px; border-radius: 9px; }
.header-register { width: 320px; max-width: min(320px, 24vw); min-height: 42px; padding: 0 18px; border-radius: 11px; font-size: 13px; }
.hamburger { display: none; place-items: center; flex-shrink: 0; }
.close-icon { display: none; }
.hamburger[aria-expanded="true"] .menu-icon { display: none; }
.hamburger[aria-expanded="true"] .close-icon { display: block; }

/* Первый экран масштабируется по высоте окна; квадратный исходник показывается целиком. */
.hero { padding: 0; overflow: clip; }
.hero-shell { min-height: calc(100svh - var(--header-height) - 1px); display: grid; grid-template-rows: 1fr auto; gap: 24px; padding-top: 24px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr); gap: clamp(32px, 3.3vw, 64px); align-items: center; min-height: 0; }
.hero-media { width: min(100%, calc(100svh - 240px)); height: auto; min-height: 0; aspect-ratio: 1; border-radius: 28px; justify-self: center; background: #f6d4e2; }
.hero-media img { width: 100%; height: 100%; display: block; object-fit: contain; object-position: center; }
.hero-badge { display: flex; gap: 8px; align-items: center; left: 18px; right: 18px; bottom: 18px; width: fit-content; max-width: calc(100% - 36px); padding: 10px 13px; font-size: 11px; background: linear-gradient(135deg, rgba(255,255,255,.9), rgba(255,238,247,.78)); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.hero-badge .icon { width: 19px; height: 19px; color: var(--pink); }
.hero-content { padding: 0; min-width: 0; }
.hero-content .eyebrow { font-size: 12px; margin-bottom: 14px; }
.hero-heading-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 14px; }
.hero h1 { min-width: 0; font-size: clamp(50px, 4.35vw, 78px); line-height: 1.02; margin: 0; }
.hero-brand-line { display: block; }
.hero-title-dash { white-space: nowrap; }
.hero h1 .accent { display: block; margin-top: 7px; color: #ff004c; color: #ff004cc9; font-size: 35px; white-space: normal; }
.hero-subline { margin: 0 0 20px; color: var(--muted); font-size: 14px; }
.partnership-link { display: inline-flex; align-items: center; gap: 8px; flex: 0 0 auto; min-height: 0; margin-bottom: 8px; padding: 0; border: 0; background: transparent; color: #b60048; border-radius: 0; font-size: 12px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.partnership-link .icon { width: 15px; height: 15px; }
.partnership-link:hover { color: #820034; }
.hero-copy { font-size: clamp(16px, 1.25vw, 19px); line-height: 1.55; margin-bottom: 16px; }
.hero-stats { margin-bottom: 20px; gap: 10px; }
.stat-card { min-width: 0; padding: 12px 10px; gap: 9px; border-radius: 15px; }
.stat-icon { width: 36px; height: 36px; flex: 0 0 36px; border-radius: 11px; }
.stat-icon .icon { width: 23px; height: 23px; }
.stat-card strong { font-size: 18px; white-space: nowrap; }
.stat-card small { font-size: 11px; }
.hero-cta { gap: 12px; }
.hero-cta .btn { min-height: 49px; padding-inline: 22px; font-size: 14px; }
.hero-note { margin: 0; font-size: 11px; line-height: 1.4; }
.hero-note .icon { width: 17px; height: 17px; color: #9f3864; }
.hero-registration-form { display: grid; gap: 12px; padding: 16px; border: 1px solid #f0dce4; border-radius: 20px; background: linear-gradient(135deg, #fffafb, #fff); box-shadow: 0 12px 34px #4c18310a; scroll-margin-top: calc(var(--header-height) + 18px); }
.hero-form-head { display: flex; align-items: baseline; gap: 12px; }
.hero-form-head strong { flex: 0 0 auto; font: 700 17px/1.2 Georgia, serif; }
.hero-form-head span { color: var(--muted); font-size: 11px; line-height: 1.35; }
.hero-form-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hero-form-fields label { min-width: 0; }
.hero-form-fields input { width: 100%; height: 49px; padding: 0 14px; border: 1px solid #ded4d9; border-radius: 12px; background: #fff; color: var(--ink); font-size: 14px; outline: none; }
.hero-form-fields input::placeholder { color: #91858c; }
.hero-form-fields input:focus { border-color: #d54f80; box-shadow: 0 0 0 3px #ffedf3; }
.hero-form-fields input[aria-invalid="true"] { border-color: #c5234c; }
.hero-consent { display: flex; align-items: flex-start; gap: 9px; color: #6f646b; font-size: 10px; line-height: 1.4; cursor: pointer; }
.hero-consent input { width: 16px; height: 16px; flex: 0 0 auto; margin: 1px 0 0; accent-color: var(--pink); }
.hero-consent a { color: #a80046; text-decoration: underline; text-underline-offset: 2px; }
.hero-registration-form .hero-cta { display: flex; gap: 12px; }
.hero-registration-form .hero-cta .btn { flex: 1; }
.form-trap { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; }
.hero-registration-form .form-status:not([hidden]) { display: block; margin: 0; padding: 10px 12px; font-size: 11px; line-height: 1.4; }
.hero-registration-form .form-status.error { background: #fff0f2; color: #9b1738; }
.benefits-ribbon { transform: none; margin-top: 0; border-radius: 22px 22px 0 0; box-shadow: 0 -8px 28px #38102706; }
.ribbon-item { min-width: 0; align-items: center; padding: 19px 20px; gap: 12px; }
.ribbon-icon { width: 40px; height: 40px; border-radius: 12px; }
.ribbon-icon .icon { width: 25px; height: 25px; }
.ribbon-item strong { font-size: 13px; line-height: 1.35; margin-bottom: 3px; }
.ribbon-item span { font-size: 11px; line-height: 1.4; display: block; }

.section { padding: 90px 0; }
.section-title { font-size: clamp(36px, 3.55vw, 56px); line-height: 1.08; }
.section-head { margin-bottom: 42px; }
.section-head.centered { text-align: center; margin-inline: auto; }
.section-head.centered .section-lead { margin-inline: auto; }
.section-lead { font-size: 18px; }
.program { background: #fff; }
.first-step { grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr); gap: 56px; padding: 28px; background: #fffafb; border: 1px solid #f0e4e8; border-radius: 30px; }
.promo-image { padding: 0; border: 0; background: transparent; border-radius: 22px; overflow: hidden; }
.promo-image img { display: block; width: 100%; height: auto; max-height: 490px; object-fit: contain; }
.promo-content .badge { gap: 7px; align-items: center; margin-bottom: 18px; }
.badge .icon { width: 18px; height: 18px; }
.promo-title { font: 700 clamp(29px, 2.75vw, 43px)/1.08 Georgia, serif; letter-spacing: -.03em; margin: 0 0 20px; }
.promo-content .section-lead { font-size: 17px; }
.promo-conditions { margin: 24px 0; gap: 16px; font-size: 15px; }
.inline-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; }
.inline-actions .btn { min-height: 48px; }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: #ad0044; }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.text-link .icon { width: 18px; height: 18px; }
.legal-hint { line-height: 1.5; }
.program-next { text-align: center; margin: 46px auto 28px; max-width: 780px; }
.program-next h3 { font-size: 23px; margin: 0 0 10px; }
.program-next p { color: var(--muted); font-size: 15px; margin: 0; }
.program-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.program-card { border: 1px solid var(--line); border-radius: 24px; padding: 22px; display: flex; flex-direction: column; min-width: 0; background: #fff; }
.step-label { color: var(--pink); text-transform: uppercase; font-size: 11px; letter-spacing: .1em; font-weight: 800; }
.program-card > img, .program-choice { width: 100%; height: 185px; object-fit: contain; margin: 18px 0; }
.program-choice { display: flex; align-items: center; gap: 4px; }
.program-choice img { min-width: 0; width: 46%; height: 100%; object-fit: contain; }
.program-choice > span { color: var(--muted); font-size: 11px; }
.program-card-copy { flex: 1; display: flex; flex-direction: column; }
.program-card h3 { font-size: 18px; line-height: 1.25; margin: 0 0 10px; }
.program-card p { font-size: 13px; color: var(--muted); margin: 0 0 20px; }
.program-price { color: #b60048; font-size: 19px; font-weight: 800; margin-top: auto; }
.program-price span { color: #81727a; font-size: 12px; font-weight: 400; }
.program-footnote { text-align: center; font-size: 12px; color: var(--muted); max-width: 780px; margin: 24px auto 0; }
.program-footnote a { text-decoration: underline; text-underline-offset: 3px; }
.program-card-cta { width: 100%; min-height: 42px; margin-top: 18px; padding-inline: 12px; font-size: 12px; }
.promo-expired { display: flex; gap: 22px; border: 1px solid #f0d4df; background: #fff7fa; padding: 32px; border-radius: 24px; }
.promo-expired > .icon { width: 48px; height: 48px; color: var(--pink); }
.promo-expired h3 { margin-top: 0; }
.order-grid { list-style: none; padding: 0; margin: 0; gap: 18px; }
.order-step { padding: 26px; }
.order-step-top { display: flex; align-items: center; justify-content: space-between; color: var(--pink); margin-bottom: 20px; }
.order-step-top b { margin: 0; }
.order-step-top .icon { width: 31px; height: 31px; }
.order-step strong { display: block; max-width: 290px; font-size: 18px; line-height: 1.35; }
.order-step p { font-size: 14px; margin: 10px 0 0; color: var(--muted); }
.catalog-grid { margin-top: 0; }
.catalog-card { grid-template-columns: 190px minmax(0, 1fr); padding: 26px; gap: 25px; min-width: 0; }
.catalog-cover { display: block; }
.catalog-card .catalog-cover img { width: 100%; height: auto; aspect-ratio: 456/640; object-fit: contain; border-radius: 8px; display: block; }
.catalog-period { display: inline-block; font-size: 11px; color: #8f6675; margin-bottom: 18px; }
.catalog-card h3 { margin-bottom: 16px; }
.catalog-card p { font-size: 14px; }
.catalog-card .btn { font-size: 13px; padding-inline: 15px; }
.catalog-card .btn .icon { width: 18px; height: 18px; }
.catalog-action-note { display: block; margin-top: 10px; font-size: 11px; color: var(--muted); }
.catalog-options { display: flex; justify-content: space-between; align-items: center; gap: 28px; border-top: 1px solid #e8e1de; margin-top: 34px; padding-top: 24px; }
.digital-link { font-size: 15px; }
.catalog-messengers { display: flex; align-items: center; gap: 20px; }
.catalog-messengers > span { font-size: 13px; color: #665b62; }
.faq { margin-top: 0; }
.faq-question { list-style: none; align-items: center; margin: 0; min-height: 76px; }
.faq-question::-webkit-details-marker { display: none; }
.faq-question .icon { width: 21px; height: 21px; transition: transform .2s; color: var(--pink); }
.faq-item[open] .faq-question .icon { transform: rotate(45deg); }
.faq-content p { margin: 0; padding: 0 46px 24px 0; color: var(--muted); font-size: 15px; line-height: 1.65; }
.contacts { padding-top: 0; }
.mentor-card { grid-template-columns: .8fr 1.2fr; background: linear-gradient(120deg, #7a235f, #b13787 55%, #c4427d); }
.mentor-intro { text-align: center; padding: 44px; display: flex; flex-direction: column; justify-content: center; align-items: center; background: #ffffff0c; }
.mentor-intro .mentor-badge { position: static; background: #ffffff18; color: #fff; border: 1px solid #ffffff40; font-size: 11px; font-weight: 400; }
.support-portrait { width: 192px; height: 192px; border: 1px solid #ffffff50; border-radius: 50%; background: #ffffff15; display: grid; place-items: center; margin: 30px 0 24px; overflow: hidden; }
.support-portrait img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.support-portrait .icon { width: 59px; height: 59px; stroke-width: 1.2; }
.mentor-name { font: 700 31px/1.2 Georgia, serif; margin: 0 0 12px; }
.mentor-caption { color: #f7e8f1; margin: 0; font-size: 14px; }
.mentor-copy { padding: 50px 58px; }
.mentor-copy .eyebrow { color: #ffe1ef; }
.mentor-copy > p { color: #fff0f6; font-size: 16px; line-height: 1.65; }
.support-contacts { display: grid; gap: 12px; margin-top: 26px; }
.support-contacts a { display: flex; align-items: center; gap: 11px; font-size: 15px; }
.support-contacts .icon { width: 20px; height: 20px; }
.support-contacts span { overflow-wrap: anywhere; }
.contact-line .messenger { width: 48px; height: 48px; }
.site-footer { background: #222; color: #fff; padding: 54px 0 24px; border-top: 1px solid #3b353d; }
.footer-grid { grid-template-columns: 1.2fr 1fr 1.2fr 1fr; gap: 36px; }
.footer-brand .brand { margin-bottom: 17px; }
.site-footer .brand-image { width: 174px; padding: 8px 12px; background: #fff; border-radius: 12px; }
.footer-col h4 { color: #fff; }
.footer-brand p, .footer-col a, .footer-col span { color: #cfc7cc; font-size: 12px; }
.footer-col a { overflow-wrap: anywhere; }
.footer-col a:hover { color: var(--pink); }
.footer-col button { text-align: left; color: #cfc7cc; border: 0; background: transparent; padding: 0; font-size: 12px; }
.footer-col button:hover { color: var(--pink); }
.footer-messengers { display: flex; gap: 10px; margin-top: 4px; }
.footer-messengers .messenger { width: 33px; height: 33px; border-radius: 9px; }
.footer-bottom { border-color: #484149; color: #a9a0a6; font-size: 10px; margin-top: 34px; }
.cookie-banner { max-width: 720px; padding: 14px 16px; gap: 18px; background: #7a235f; border: 1px solid #a65c87; box-shadow: 0 8px 30px #49223530; }
.cookie-banner p { color: white; }
.cookie-banner .btn { flex-shrink: 0; }

/* Диалог: собственная прокрутка, постоянная рамка при переключении вкладок. */
.info-dialog { padding: 0; width: min(660px, calc(100% - 32px)); max-width: none; max-height: min(760px, calc(100dvh - 40px)); border: 1px solid #f0dbe5; border-radius: 26px; color: var(--ink); background: #fff; box-shadow: 0 30px 120px #29112040; overflow: hidden; }
.info-dialog[open] { display: flex; flex-direction: column; }
.info-dialog::backdrop { background: #281c2b70; backdrop-filter: blur(5px); }
.dialog-heading { display: flex; justify-content: space-between; align-items: start; gap: 20px; padding: 28px 30px 22px; flex-shrink: 0; }
.dialog-heading .eyebrow { font-size: 10px; margin-bottom: 10px; }
.dialog-heading h2 { font: 700 32px/1.1 Georgia, serif; letter-spacing: -.03em; margin: 0; }
.dialog-close { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 11px; background: #fff; flex-shrink: 0; }
.dialog-close:hover { background: #fff0f6; }
.dialog-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; margin: 0 30px; padding: 5px; background: #faf0f5; border-radius: 14px; flex-shrink: 0; }
.dialog-tabs button { display: flex; justify-content: center; align-items: center; gap: 9px; min-height: 44px; padding: 10px; color: #84717d; background: transparent; border: 0; border-radius: 10px; font-size: 14px; font-weight: 700; }
.dialog-tabs button[aria-selected="true"] { background: #fff; color: #b00050; box-shadow: 0 2px 9px #8c27551a; }
.dialog-tabs .icon { width: 21px; height: 21px; }
.dialog-content { padding: 24px 30px 28px; min-height: 0; height: 400px; overflow-y: auto; overscroll-behavior: contain; scrollbar-gutter: stable; }
.partnership-dialog .dialog-content { height: auto; max-height: min(500px, calc(100dvh - 150px)); }
.dialog-content h3 { font-size: 20px; line-height: 1.3; margin: 0 0 12px; }
.dialog-content p { color: #73636d; font-size: 14px; margin: 0 0 18px; }
.info-row { display: flex; align-items: flex-start; gap: 13px; margin: 20px 0; }
.info-row > .icon { width: 24px; height: 24px; color: #c0005a; margin-top: 1px; }
.info-row h4 { font-size: 14px; margin: 0 0 5px; }
.info-row p { font-size: 13px; line-height: 1.55; margin: 0; }
.dialog-footer { display: flex; justify-content: center; flex-wrap: wrap; align-items: center; gap: 8px; padding: 17px 25px; border-top: 1px solid var(--line); font-size: 12px; flex-shrink: 0; background: #fffbfd; }
.dialog-footer .icon { width: 19px; height: 19px; color: #b00050; }
.dialog-footer a { color: #ae004b; font-weight: 700; }
body.modal-open .mobile-cta { visibility: hidden; }
.mobile-cta.is-redundant { visibility: hidden; pointer-events: none; }
.doc { overflow-wrap: anywhere; }
@media (max-width: 600px) { .doc h1 { font-size: 32px; } }

@media (min-width: 1101px) and (max-height: 800px) {
  :root { --header-height: 80px; }
  .hero-shell { padding-top: 20px; gap: 18px; }
  .hero-media { width: min(100%, calc(100svh - 216px)); }
  .hero h1 { font-size: clamp(46px, 4vw, 66px); }
  .hero-content .eyebrow { margin-bottom: 10px; }
  .partnership-link { margin-bottom: 16px; }
  .hero-copy { font-size: 16px; margin-bottom: 16px; }
  .hero-stats { margin-bottom: 16px; }
  .stat-card { padding-block: 10px; }
  .hero-note { margin-top: 12px; }
  .ribbon-item { padding-block: 16px; }
}
@media (max-width: 1250px) {
  .header-inner, .site-header.is-scrolled .header-inner { grid-template-columns: 140px minmax(0, 1fr) auto; gap: 18px; }
  .brand-image { width: 140px; }
  .nav { font-size: 12px; gap: 13px; }
  .header-messengers .messenger { width: 32px; height: 32px; }
  .header-register { padding-inline: 14px; font-size: 12px; }
  .catalog-card { grid-template-columns: 150px minmax(0, 1fr); padding: 22px; gap: 20px; }
}
@media (max-width: 1100px) {
  :root { --header-height: 78px; }
  .header-inner, .site-header.is-scrolled .header-inner { grid-template-columns: 1fr auto; }
  .header-actions { grid-column: 2; }
  .header-actions > .header-register { display: inline-flex; }
  .header-register { width: auto; }
  .hamburger { display: grid; }
  .nav { display: none; }
  .nav.mobile-open { position: absolute; inset: var(--header-height) 0 auto; display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0; max-height: calc(100dvh - var(--header-height)); overflow: auto; padding: 16px 32px 24px; font-size: 17px; background: #fff; border-bottom: 1px solid #e8dce2; box-shadow: 0 15px 25px #54324910; }
  .nav.mobile-open a, .nav.mobile-open button { padding: 14px 0; text-align: left; border-bottom: 1px solid #f4eaf0; }
  .nav.mobile-open a::after { display: none; }
  .hero-shell { min-height: auto; padding-top: 28px; }
  .hero-media { width: 100%; }
  .hero h1 { font-size: 43px; }
  .hero-heading-row { align-items: flex-start; }
  .hero-grid { gap: 30px; }
  .hero-stats { grid-template-columns: 1fr 1fr 1fr; }
  .stat-card { flex-direction: column; align-items: flex-start; gap: 8px; }
  .hero-cta .btn { font-size: 13px; padding-inline: 16px; }
  .ribbon-item { padding: 18px 12px; gap: 8px; }
  .ribbon-item strong { font-size: 12px; }
  .ribbon-icon { width: 34px; height: 34px; }
  .first-step { gap: 32px; }
  .program-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .program-card > img, .program-choice { height: 215px; }
  .catalog-grid { gap: 18px; }
  .catalog-card { grid-template-columns: 110px minmax(0, 1fr); padding: 18px; gap: 18px; }
  .catalog-card h3 { font-size: 26px; }
  .catalog-card .btn { font-size: 12px; padding-inline: 12px; }
  .catalog-card .btn .icon { display: none; }
  .catalog-messengers { flex-direction: column; align-items: flex-end; gap: 10px; }
  .mentor-copy { padding: 38px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  :root { --header-height: 74px; }
  .container { width: calc(100% - 36px); }
  .hero-shell { gap: 24px; padding-top: 28px; }
  .hero-grid { display: flex; flex-direction: column; gap: 24px; }
  .hero-content { order: 1; padding: 0; }
  .hero-media { order: 2; width: 100%; max-width: 540px; min-height: 0; border-radius: 24px; }
  .hero h1 { font-size: clamp(39px, 7.8vw, 56px); }
  .hero h1 .accent { font-size: clamp(28px, 6vw, 35px); }
  .hero-heading-row { display: block; }
  .partnership-link { margin: 9px 0 0; }
  .hero-copy { font-size: 16px; }
  .hero-form-head { align-items: flex-start; flex-direction: column; gap: 4px; }
  .hero-form-fields { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .stat-card:nth-child(3) { grid-column: auto; }
  .stat-card { padding: 12px 10px; flex-direction: row; align-items: center; }
  .stat-card strong { font-size: 17px; }
  .stat-icon { width: 30px; height: 30px; flex-basis: 30px; }
  .stat-icon .icon { width: 21px; height: 21px; }
  .hero-cta { display: flex; }
  .hero-cta .btn { width: auto; flex: 1; }
  .hero-cta .btn-primary { flex: 1.5; }
  .hero-note { font-size: 11px; }
  .benefits-ribbon { grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: 22px; }
  .ribbon-item { padding: 18px 14px; gap: 10px; align-items: flex-start; }
  .ribbon-item + .ribbon-item { border: 0; }
  .ribbon-item:nth-child(even) { border-left: 1px solid var(--line); }
  .ribbon-item:nth-child(n+3) { border-top: 1px solid var(--line); }
  .section { padding: 64px 0; }
  .section-title { font-size: clamp(34px, 7vw, 44px); }
  .section-lead { font-size: 16px; }
  .section-head { margin-bottom: 30px; }
  .section-head .section-lead br { display: none; }
  .first-step { display: flex; flex-direction: column; padding: 20px; gap: 24px; border-radius: 24px; }
  .promo-image { width: 100%; max-width: 450px; }
  .promo-title { font-size: 34px; }
  .promo-content .badge { font-size: 10px; }
  .promo-content .section-lead { font-size: 16px; }
  .promo-conditions { font-size: 14px; }
  .program-next { margin-top: 34px; }
  .program-next h3 { font-size: 21px; }
  .program-next p { font-size: 14px; }
  .program-grid { gap: 12px; }
  .program-card { padding: 16px; border-radius: 18px; }
  .program-card > img, .program-choice { height: 165px; }
  .program-card h3 { font-size: 17px; }
  .order-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .order-step { padding: 20px; }
  .order-step strong { font-size: 16px; }
  .order-step p { font-size: 13px; }
  .catalog-grid { grid-template-columns: 1fr; }
  .catalog-card { grid-template-columns: 160px minmax(0, 1fr); padding: 20px; gap: 24px; }
  .catalog-card .btn { font-size: 13px; }
  .catalog-options { flex-direction: column; align-items: center; gap: 24px; }
  .catalog-messengers { align-items: center; gap: 12px; }
  .faq-question { font-size: 15px; line-height: 1.4; min-height: 68px; padding-block: 20px; }
  .faq-content p { padding-right: 20px; font-size: 14px; }
  .contacts { padding-top: 0; }
  .mentor-card { grid-template-columns: 1fr; }
  .mentor-intro { padding: 32px 24px; }
  .support-portrait { width: 138px; height: 138px; margin: 22px 0 18px; }
  .support-portrait .icon { width: 43px; height: 43px; }
  .mentor-name { font-size: 28px; }
  .mentor-copy { padding: 30px 26px 36px; }
  .mentor-copy > p { font-size: 15px; }
  .footer-grid { gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-brand p { max-width: 500px; }
  .footer-col:last-child { grid-column: 1 / -1; }
  .footer-bottom { gap: 12px; line-height: 1.5; }
  .mobile-cta { display: flex; }
  body { padding-bottom: 76px; }
  .mobile-cta .btn { min-height: 48px; }
  .cookie-banner { bottom: 82px; left: 12px; right: 12px; flex-direction: row; align-items: center; padding: 12px; gap: 12px; }
  .cookie-banner p { font-size: 11px; }
  .cookie-banner .btn { width: auto; min-height: 40px; font-size: 11px; padding-inline: 12px; }
  .info-dialog { max-height: calc(100dvh - 24px); width: calc(100% - 24px); border-radius: 20px; }
  .dialog-heading { padding: 22px 20px 18px; gap: 10px; }
  .dialog-heading h2 { font-size: 28px; }
  .dialog-tabs { margin-inline: 20px; }
  .dialog-content { padding: 22px 20px; height: 390px; }
  .dialog-content h3 { font-size: 19px; }
  .dialog-footer { padding: 14px; font-size: 11px; }
}
@media (max-width: 480px) {
  .header-inner, .site-header.is-scrolled .header-inner { gap: 8px; }
  .brand-image { width: 104px; }
  .header-actions { gap: 7px; }
  .header-messengers { gap: 0; }
  .header-messengers .messenger { width: 28px; height: 28px; border-radius: 8px; }
  .header-messengers .messenger-buttons { justify-content: center; gap: 6px; }
  .messenger-label { display: none; }
  .header-register { min-height: 36px; padding-inline: 10px; font-size: 10px; border-radius: 9px; }
  .hamburger { width: 38px; height: 38px; }
  .hero .eyebrow { font-size: 10px; }
  .hero h1 { font-size: 40px; }
  .hero-copy { font-size: 15px; }
  .hero-registration-form { padding: 14px; gap: 11px; border-radius: 17px; }
  .hero-form-head strong { font-size: 16px; }
  .hero-form-fields input { height: 47px; }
  .hero-consent { font-size: 10px; }
  .stat-card { flex-direction: column; align-items: flex-start; padding: 11px 10px; gap: 8px; }
  .stat-card strong { font-size: 17px; }
  .stat-card small { font-size: 10px; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; }
  .ribbon-item { flex-direction: column; padding: 16px; }
  .ribbon-item strong { font-size: 12px; }
  .ribbon-item span { font-size: 10px; }
  .promo-title { font-size: 31px; }
  .program-grid { grid-template-columns: 1fr; }
  .program-card { padding: 22px; }
  .program-card > img, .program-choice { height: 205px; margin-block: 15px; }
  .program-card h3 { font-size: 20px; }
  .program-card p { font-size: 14px; }
  .order-grid { grid-template-columns: 1fr; }
  .order-step { padding: 22px; }
  .order-step-top { margin-bottom: 14px; }
  .catalog-card { grid-template-columns: 112px minmax(0, 1fr); padding: 16px; gap: 17px; }
  .catalog-period { font-size: 10px; margin-bottom: 12px; }
  .catalog-card h3 { font-size: 25px; margin-bottom: 10px; }
  .catalog-card p { font-size: 12px; margin-bottom: 14px; }
  .catalog-card .btn { font-size: 11px; min-height: 42px; padding-inline: 9px; }
  .catalog-action-note { font-size: 10px; }
  .support-contacts a { font-size: 13px; }
  .contact-line { gap: 8px; }
  .contact-line .messenger { width: 46px; height: 46px; }
  .footer-messengers .messenger { width: 28px; height: 28px; border-radius: 8px; }
  .dialog-heading h2 { font-size: 25px; }
  .dialog-heading .eyebrow { font-size: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
