/* ================================================================
   ЕДИНЫЙ ОБРАЗОВАТЕЛЬНЫЙ ЦЕНТР / static homepage
   Local assets, no framework, no webfonts, no build tools.
   Screens: 01 hero / 02 catalogue / 03 trust / 04 people / 05 contact.
   Breakpoints: 1360, 1100, 900, 640, 479 px.
   ================================================================ */
:root {
  --ink: #102b53;
  --navy: #0b2f6b;
  --navy-dark: #082758;
  --blue: #1854d9;
  --muted: #63799f;
  --border: #e1e9f7;
  --pale: #f4f8ff;
  --white: #fff;
  --gold: #f2a21b;
  --radius: 16px;
  --shadow: 0 8px 25px rgb(21 51 99 / 4%);
  --section-gap: 62px;
  --container: 1800px;
  --gutter: 48px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 122px; }
body { margin: 0; color: var(--ink); background: #fcfdff; font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, Arial, sans-serif; font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
body.menu-is-open { overflow: hidden; }
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea, summary { -webkit-tap-highlight-color: transparent; }
button, summary, select { cursor: pointer; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { text-wrap: pretty; }
h1, h2 { letter-spacing: -.024em; line-height: 1.26; }
h2 { font-size: clamp(26px, 1.94vw, 36px); font-weight: 700; }
h3 { line-height: 1.45; font-weight: 650; }
ul, ol { margin: 0; padding: 0; }
button { border: 0; }
:focus-visible { outline: 3px solid #2772ef; outline-offset: 5px; }
[hidden] { display: none !important; }
.container { width: min(var(--container), calc(100% - var(--gutter) * 2)); margin-inline: auto; }
.section { margin-bottom: var(--section-gap); }
.section-heading { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-bottom: 24px; }
.section-heading h2 { min-width: 0; }
.text-link { display: inline-flex; align-items: center; gap: 14px; flex: 0 0 auto; color: var(--blue); font-size: 14px; font-weight: 500; }
.text-link:hover { color: var(--navy); }
.text-link .icon { width: 20px; height: 20px; }
.icon { display: inline-block; width: 24px; height: 24px; flex: 0 0 auto; vertical-align: middle; fill: none; stroke: currentColor; stroke-width: 1.55; stroke-linecap: round; stroke-linejoin: round; }
.icon .accent { stroke: var(--gold); }
.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon-button { background: transparent; width: 44px; height: 44px; display: inline-grid; place-items: center; color: var(--navy); border-radius: 10px; flex: 0 0 auto; }
.icon-button:hover { background: var(--pale); }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 12px; min-height: 56px; padding: 15px 25px; border: 1px solid transparent; border-radius: 10px; font-size: 15px; line-height: 1.4; font-weight: 600; text-align: center; transition: background .18s, border-color .18s, box-shadow .18s, transform .18s; }
.button:hover { box-shadow: 0 7px 18px rgb(12 46 100 / 10%); }
.button:active { transform: translateY(1px); }
.button-primary { color: #fff; background: linear-gradient(115deg, #103773, #08295d); border-color: #0b2f6b; }
.button-primary:hover { background: #164689; }
.button-outline { color: var(--navy); background: rgb(255 255 255 / 75%); border-color: #d5e0f3; }
.button-outline:hover { border-color: #98b4e2; background: #fff; }
.button-small { min-height: 42px; border-radius: 7px; padding: 10px 22px; font-size: 14px; }
.button:disabled { cursor: not-allowed; opacity: .6; }
.section-panel { padding: 32px; border: 1px solid var(--border); border-radius: 20px; background: #fff; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: -100px; left: 16px; z-index: 150; padding: 12px 20px; background: #fff; border: 2px solid var(--blue); border-radius: 6px; }
.skip-link:focus { top: 12px; }

/* Header. It is shared by all screens, never repeated within content. */
.topbar { background: #f5f8fe; border-bottom: 1px solid var(--border); }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 26px; min-height: 49px; font-size: 13px; }
.topbar-item { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; }
.topbar-item .icon { width: 20px; height: 20px; }
.topbar-license span { text-decoration: underline; text-underline-offset: 3px; }
.topbar-hours { margin-left: auto; }
.topbar-phone strong { font-size: 14px; }
.site-header { position: sticky; top: 0; z-index: 40; background: rgb(255 255 255 / 97%); border-bottom: 1px solid transparent; backdrop-filter: blur(12px); }
.header-inner { min-height: 120px; display: flex; align-items: center; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 11px; flex-shrink: 0; color: var(--navy); }
.brand > img { width: 59px; height: auto; mix-blend-mode: multiply; }
.brand-type { display: flex; flex-direction: column; gap: 2px; }
.brand-name { font-size: 36px; font-weight: 400; line-height: 1.2; letter-spacing: .025em; }
.brand-caption { font-size: 12px; font-weight: 700; line-height: 1.3; letter-spacing: .02em; }
.desktop-nav { display: flex; align-items: center; gap: clamp(15px, 1.15vw, 24px); margin-left: auto; font-size: 14px; font-weight: 600; white-space: nowrap; }
.nav-group { position: relative; }
.nav-group > summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 6px; padding-block: 12px; }
summary::-webkit-details-marker { display: none; }
.nav-group > summary .icon { width: 13px; height: 13px; }
.nav-group[open] > summary .icon { transform: rotate(180deg); }
.nav-link:hover, .nav-group > summary:hover { color: var(--blue); }
.nav-dropdown { position: absolute; top: calc(100% + 3px); left: -18px; width: 292px; padding: 10px; background: #fff; border: 1px solid var(--border); border-radius: 12px; box-shadow: 0 15px 45px rgb(12 45 96 / 12%); white-space: normal; }
.nav-dropdown a { display: block; padding: 11px 12px; border-radius: 7px; line-height: 1.45; }
.nav-dropdown a:hover { color: var(--blue); background: var(--pale); }
.desktop-nav .nav-group:last-child .nav-dropdown { left: auto; right: 0; }
.header-actions { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.header-search { margin-right: 0; }
.account-link { display: flex; align-items: center; gap: 9px; border-left: 1px solid var(--border); padding-left: 18px; font-size: 13px; white-space: nowrap; }
.account-link .icon { width: 20px; height: 20px; }
.header-cta { min-height: 52px; padding-inline: 23px; font-size: 14px; }
.menu-toggle { display: none; }
.mobile-menu { width: min(440px, 100%); height: 100dvh; max-width: 100%; max-height: 100dvh; margin: 0 0 0 auto; border: 0; padding: 0; background: #fff; color: var(--ink); overflow-y: auto; overscroll-behavior: contain; }
.mobile-menu::backdrop { background: rgb(9 29 60 / 40%); backdrop-filter: blur(3px); }
.mobile-menu-head { display: flex; align-items: center; justify-content: space-between; padding: 20px; border-bottom: 1px solid var(--border); }
.mobile-menu-search { display: flex; align-items: center; gap: 12px; padding: 15px; margin: 20px; border: 1px solid var(--border); border-radius: 10px; }
.mobile-menu-search a { flex: 1; }
.mobile-nav { padding: 0 20px; }
.mobile-nav .nav-group { border-bottom: 1px solid var(--border); }
.mobile-nav .nav-group > summary, .mobile-nav > .nav-link { display: flex; padding: 16px 4px; font-size: 16px; font-weight: 600; }
.mobile-nav > .nav-link { border-bottom: 1px solid var(--border); }
.mobile-nav .nav-dropdown { position: static; width: auto; box-shadow: none; padding: 0 5px 12px; border: 0; }
.mobile-nav .nav-dropdown a { font-size: 14px; font-weight: 400; }
.mobile-menu-bottom { padding: 24px 20px; display: grid; gap: 12px; }
.mobile-menu-contacts { display: grid; gap: 10px; font-size: 14px; padding-top: 12px; }
.mobile-menu-contacts > * { display: flex; gap: 10px; align-items: center; }

/* Screen 01 */
.hero { padding-top: 53px; background: radial-gradient(ellipse at 70% 26%, #f7faff, transparent 66%); }
.hero-grid { display: grid; grid-template-columns: 1fr 1.025fr; grid-template-areas: "intro art" "bottom art"; column-gap: 18px; row-gap: 34px; align-items: start; }
.hero-intro { grid-area: intro; }
h1 { font-size: clamp(33px, 2.48vw, 48px); line-height: 1.27; font-weight: 700; letter-spacing: -.023em; }
.hero-lead { margin-top: 24px; font-size: 19px; line-height: 1.65; }
.hero-art { grid-area: art; align-self: center; position: relative; min-width: 0; margin: -22px -8px -5px -20px; }
.hero-art-image { width: 100%; height: auto; }
.hero-note { position: absolute; display: flex; align-items: flex-start; gap: 10px; background: #fff; border-radius: 14px; box-shadow: 0 10px 30px rgb(38 70 127 / 5%); padding: 16px 12px; font-size: clamp(9px, .78vw, 15px); line-height: 1.55; }
.hero-note-top { top: 6.1%; left: 65%; width: 29.6%; min-height: 16.1%; }
.hero-note-bottom { top: 56%; left: 5.8%; width: 29.7%; min-height: 16%; }
.hero-note > .icon { width: 34px; height: 34px; border-radius: 50%; background: #f1f6ff; color: var(--blue); padding: 5px; }
.hero-note strong { display: block; margin-bottom: 5px; font-size: .96em; font-weight: 700; white-space: nowrap; }
.hero-note span { display: block; font-size: .97em; }
.hero-bottom { grid-area: bottom; }
.hero-trust { display: grid; grid-template-columns: 1fr .9fr 1.17fr; gap: 22px; }
.hero-trust > div { display: flex; align-items: flex-start; gap: 17px; }
.hero-trust .icon { color: var(--navy); width: 42px; height: 42px; margin-top: 2px; stroke-width: 1.2; }
.hero-trust p { font-size: 14px; line-height: 1.55; }
.hero-trust strong { font-weight: 650; }
.search-box { border: 1px solid var(--border); background: rgb(255 255 255 / 88%); border-radius: 20px; padding: 15px; margin-top: 34px; scroll-margin-top: 140px; }
.search-form { display: flex; align-items: stretch; gap: 12px; }
.search-field { display: flex; align-items: center; gap: 12px; min-width: 0; flex: 1; border: 1px solid #d4e0f3; border-radius: 11px; background: #fff; padding: 0 16px; }
.search-field:focus-within { outline: 2px solid #78a4f0; outline-offset: 1px; }
.search-field input { width: 100%; min-width: 0; border: 0; background: transparent; outline: 0; height: 58px; font-size: 14px; color: var(--ink); }
.search-field input::placeholder { color: #617494; opacity: 1; }
.search-field .icon { width: 21px; height: 21px; }
.search-form .button { flex-shrink: 0; font-size: 14px; padding-inline: 24px; }
.search-suggestions { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 14px; }
.chip { display: inline-flex; align-items: center; justify-content: center; background: #f6f9ff; border: 1px solid #e5ecf8; border-radius: 99px; color: #224579; padding: 7px 13px; font-size: 12px; line-height: 1.5; transition: background .2s; }
.chip:hover { background: #eaf1ff; }
.hero-buttons { display: flex; gap: 22px; margin-top: 24px; }
.hero-buttons .button { min-height: 61px; padding-inline: 24px; font-size: 14px; }
.proof-strip { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; padding: 36px 16px 32px; border: 1px solid var(--border); border-radius: 24px; background: #fff; margin-top: 50px; }
.proof-item { text-align: center; padding: 0 17px; border-right: 1px solid #e7edf8; }
.proof-item:last-child { border-right: 0; }
.proof-item > .icon { width: 62px; height: 62px; stroke-width: 1.2; color: var(--navy); margin-bottom: 14px; }
.proof-item h3 { font-size: 15px; font-weight: 650; line-height: 1.4; }
.proof-item p { margin-top: 7px; font-size: 14px; line-height: 1.6; }

/* Screen 02 */
.goal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.goal-card { position: relative; display: flex; align-items: center; min-width: 0; padding: 28px 24px; border: 1px solid var(--border); border-radius: var(--radius); background: #fff; min-height: 236px; overflow: hidden; }
.goal-content { position: relative; z-index: 1; width: 63%; min-width: 0; align-self: stretch; display: flex; flex-direction: column; align-items: flex-start; }
.goal-content h3 { font-size: 23px; line-height: 1.35; letter-spacing: -.025em; }
.goal-content p { font-size: 15px; line-height: 1.65; margin-top: 10px; margin-bottom: 23px; }
.goal-content .button { margin-top: auto; }
.goal-art { width: 34%; max-height: 190px; object-fit: contain; margin-left: auto; }
.directions-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.direction-card { min-width: 0; display: flex; align-items: center; gap: 24px; padding: 21px 26px; min-height: 109px; border: 1px solid var(--border); border-radius: 13px; background: #fff; transition: border-color .18s, box-shadow .18s; }
.direction-card:hover { border-color: #a7bfee; box-shadow: var(--shadow); }
.direction-card > img { width: 68px; height: 68px; object-fit: contain; flex: 0 0 auto; mix-blend-mode: multiply; }
.direction-card > span { font-size: 17px; font-weight: 600; line-height: 1.5; }
.direction-all { grid-column: span 2; justify-content: space-between; padding-inline: 38px; color: var(--blue); background: #f6f9ff; border-color: #afc8fd; }
.direction-all > span { font-size: 16px; }
.program-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.program-card { min-width: 0; display: flex; flex-direction: column; padding: 23px 21px 20px; border: 1px solid var(--border); border-radius: 14px; background: #fff; transition: box-shadow .2s, border-color .2s; }
.program-card:hover { border-color: #b2c8f0; box-shadow: var(--shadow); }
.program-head { display: flex; gap: 15px; min-height: 67px; align-items: flex-start; }
.program-head h3 { font-size: 15px; line-height: 1.5; }
.program-head a:hover { color: var(--blue); }
.program-icon { width: 38px; height: 42px; flex: 0 0 auto; }
.program-icon img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.program-icon > .icon { width: 35px; height: 35px; color: #4072c1; stroke-width: 1.2; }
.program-meta { display: grid; gap: 10px; margin-top: 15px; margin-bottom: 25px; list-style: none; color: var(--muted); font-size: 14px; }
.program-meta li { display: flex; align-items: flex-start; gap: 11px; line-height: 1.5; }
.program-meta .icon { width: 17px; height: 20px; }
.program-price { margin-top: auto; margin-bottom: 16px; color: var(--navy); font-size: 24px; font-weight: 700; letter-spacing: -.02em; line-height: 1.4; }
.program-card .button { width: 100%; }

/* Screen 03 */
.learning, .documents { margin-bottom: 22px; }
.learning { margin-top: 8px; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); list-style: none; padding: 8px 12px 0; }
.step { position: relative; text-align: center; padding: 0 20px; }
.step:not(:last-child)::after { content: ""; position: absolute; top: 54px; left: calc(50% + 70px); width: calc(100% - 140px); border-top: 2px dashed #d6e4ff; }
.step-picture { position: relative; width: 115px; height: 115px; margin: 0 auto 19px; }
.step-number { position: absolute; left: -41px; top: 4px; display: grid; place-items: center; width: 40px; height: 40px; background: linear-gradient(120deg, #2c5ba1, #0b3476); border: 4px solid #e7f0ff; box-shadow: 0 0 0 2px #f2f6ff; border-radius: 50%; color: #fff; line-height: 1; font-size: 23px; }
.step-circle { display: flex; align-items: center; justify-content: center; width: 115px; height: 115px; border: 1px solid var(--border); border-radius: 50%; background: #fff; }
.step-circle > .icon { width: 58px; height: 58px; color: #456ead; stroke-width: 1; }
.step h3 { font-size: 17px; }
.step p { font-size: 15px; line-height: 1.6; margin-top: 11px; }
.document-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.document-card { min-width: 0; display: grid; grid-template-columns: 39% 1fr; gap: 24px; padding: 19px; border: 1px solid var(--border); border-radius: 15px; align-items: start; }
.document-preview { width: 100%; height: 100%; max-height: 236px; object-fit: contain; }
.document-card h3 { font-size: 23px; margin-bottom: 11px; }
.document-card p { font-size: 15px; line-height: 1.7; }
.document-card p + p { margin-top: 18px; }
.credibility-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 25px; }
.credibility h2 { font-size: clamp(24px, 1.62vw, 31px); }
.license-body { display: grid; grid-template-columns: 1.1fr .9fr; gap: 22px; margin-top: 26px; }
.license-card { background: #f8faff; border: 1px solid var(--border); border-radius: 12px; padding: 23px 18px 18px; display: flex; flex-direction: column; }
.license-caption { display: flex; align-items: center; gap: 22px; }
.license-caption > .icon { color: var(--navy); width: 68px; height: 68px; stroke-width: 1.1; }
.license-caption p { font-size: 15px; line-height: 1.65; }
.license-number { font-size: clamp(18px, 1.22vw, 24px); font-weight: 700; text-align: center; margin-block: 18px 24px; white-space: nowrap; letter-spacing: -.04em; }
.license-card .button { margin-top: auto; font-size: 13px; padding-inline: 10px; }
.license-card .button .icon { width: 18px; height: 18px; }
.license-facts { display: grid; gap: 15px; }
.license-facts > div { display: flex; align-items: flex-start; gap: 14px; }
.license-facts > div > .icon { width: 32px; height: 36px; stroke-width: 1.2; color: #6189c8; }
.license-facts strong { display: block; font-size: 14px; line-height: 1.4; font-weight: 600; }
.license-facts span { display: block; font-size: 13px; line-height: 1.55; margin-top: 5px; }
.business-panel { position: relative; overflow: hidden; background: radial-gradient(ellipse at 85% 40%, #eff5ff, #fff 70%); }
.business-content { position: relative; z-index: 1; min-height: 100%; display: flex; flex-direction: column; align-items: flex-start; }
.business-content h2 { margin-bottom: 18px; }
.business-content ul { padding-left: 19px; width: 60%; font-size: 14px; line-height: 1.7; }
.business-content li { padding-left: 1px; margin-bottom: 9px; }
.business-content .button { margin-top: auto; }
.business-art { position: absolute; width: 46%; right: 5px; bottom: 11px; mix-blend-mode: multiply; }

/* Screen 04 */
.teacher-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.teacher-card { display: grid; grid-template-columns: 42% minmax(0, 1fr); padding: 16px 17px 0 0; border: 1px solid var(--border); border-radius: 17px; background: #fff; overflow: hidden; gap: 17px; }
.teacher-photo { width: 100%; height: 100%; max-height: 290px; object-fit: contain; object-position: bottom; align-self: end; mix-blend-mode: multiply; }
.teacher-info { padding-block: 10px 18px; }
.teacher-info h3 { font-size: 17px; line-height: 1.5; }
.teacher-role { font-size: 14px; line-height: 1.55; color: var(--muted); margin-top: 8px; min-height: 43px; }
.tag { display: inline-flex; border: 1px solid #dbe6fc; background: #f1f6ff; padding: 3px 10px; font-size: 13px; line-height: 1.5; border-radius: 99px; margin-top: 10px; }
.teacher-specialty { margin-top: 12px; font-size: 14px; line-height: 1.6; }
.teacher-specialty strong { display: block; font-weight: 500; margin-bottom: 3px; }
.teacher-specialty span { display: block; }
.reviews-wrap { position: relative; }
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.review-card { display: flex; flex-direction: column; min-width: 0; background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 25px; }
.review-top { display: flex; align-items: center; gap: 15px; }
.review-avatar { width: 57px; height: 57px; object-fit: cover; border-radius: 50%; }
.review-top h3 { font-size: 16px; }
.review-top p { font-size: 13px; color: var(--muted); margin-top: 2px; }
.stars { margin-left: auto; white-space: nowrap; align-self: flex-start; color: var(--gold); letter-spacing: 3px; font-size: 22px; line-height: 1.6; }
.review-card blockquote { font-size: 16px; line-height: 1.65; margin: 23px 0 24px; }
.review-card time { font-size: 14px; color: var(--muted); margin-top: auto; }
.review-arrow { display: none; width: 35px; height: 35px; border-radius: 50%; background: #fff; border: 1px solid #cddcf5; }
.review-prev .icon { transform: rotate(90deg); }
.review-next .icon { transform: rotate(-90deg); }
.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.article-card { display: grid; grid-template-columns: 37% minmax(0, 1fr); border: 1px solid var(--border); border-radius: 17px; background: #fff; overflow: hidden; min-width: 0; }
.article-image-link { display: block; height: 100%; min-height: 207px; }
.article-image-link img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.article-card:hover .article-image-link img { transform: scale(1.035); }
.article-image-link { overflow: hidden; }
.article-info { padding: 21px; display: flex; flex-direction: column; }
.article-info h3 { font-size: 16px; line-height: 1.5; }
.article-info h3 a:hover { color: var(--blue); }
.article-info > p { margin-top: 12px; font-size: 14px; line-height: 1.55; }
.article-meta { display: flex; flex-wrap: wrap; gap: 7px; font-size: 13px; color: var(--muted); padding-top: 20px; margin-top: auto; }

/* Screen 05 */
.faq-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.faq-column { align-self: start; border: 1px solid var(--border); border-radius: 12px; background: #fff; overflow: hidden; }
.faq-item + .faq-item { border-top: 1px solid var(--border); }
.faq-item > summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px 25px; font-size: 16px; line-height: 1.5; font-weight: 450; }
.faq-item > summary:hover { color: var(--blue); background: #fcfdff; }
.faq-item > summary > .icon { width: 18px; height: 18px; stroke-width: 1.5; transition: transform .18s; }
.faq-item[open] > summary > .icon { transform: rotate(45deg); }
.faq-item[open] > summary { color: var(--blue); }
.faq-answer { padding: 0 25px 23px; font-size: 15px; color: #556c91; line-height: 1.75; }
.consultation { margin-bottom: 26px; }
.consultation-panel { border: 1px solid #dce6fa; border-radius: 25px; padding: 36px; display: grid; grid-template-columns: 1.1fr 1.12fr .59fr; gap: 30px; align-items: center; background: radial-gradient(ellipse at 100% 90%, #eef5ff, #fff 60%); position: relative; overflow: hidden; }
.consultation-copy { align-self: center; position: relative; z-index: 1; }
.consultation-copy h2 { font-size: clamp(27px, 2vw, 37px); }
.consultation-lead { font-size: 18px; line-height: 1.6; margin-top: 19px; }
.consultation-perks { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 18px; margin-top: 39px; }
.consultation-perks .icon { width: 44px; height: 44px; color: var(--navy); stroke-width: 1.15; }
.consultation-perks p { margin-top: 14px; font-size: 15px; line-height: 1.7; }
.consultation-form { position: relative; z-index: 1; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { position: relative; display: block; min-width: 0; }
.field input, .field select, .field textarea { width: 100%; color: var(--ink); background: #fff; border: 1px solid #dce5f4; border-radius: 7px; padding: 15px 17px; font-size: 14px; line-height: 1.5; transition: border-color .18s, box-shadow .18s; min-width: 0; }
.field input, .field select { height: 51px; }
.field input::placeholder, .field textarea::placeholder { color: #7e90af; opacity: 1; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: #6592de; box-shadow: 0 0 0 3px #ecf3ff; }
.field textarea { resize: vertical; min-height: 122px; display: block; }
.field-full { grid-column: 1 / -1; }
.select-field select { appearance: none; -webkit-appearance: none; padding-right: 37px; color: #7388ad; }
.select-field > .icon { pointer-events: none; position: absolute; right: 13px; top: 17px; width: 16px; height: 16px; color: #537bb6; }
.consent { display: flex; align-items: flex-start; gap: 9px; font-size: 11px; line-height: 1.6; color: #6b80a4; margin: 14px 0; cursor: pointer; }
.consent input { width: 15px; height: 15px; margin: 2px 0 0; flex-shrink: 0; accent-color: var(--navy); cursor: pointer; }
.consent a { color: #426fb2; text-decoration: underline; text-underline-offset: 2px; }
.form-buttons { display: grid; grid-template-columns: 1fr 1.1fr; gap: 14px; }
.form-buttons > .button { min-height: 49px; padding: 12px 8px; font-size: 13px; gap: 9px; }
.form-buttons .icon { width: 18px; height: 18px; }
.form-status { color: #50739e; font-size: 12px; line-height: 1.6; }
.form-status:not(:empty) { margin-top: 12px; }
.consultation-photo { width: calc(100% + 35px); max-width: none; align-self: end; margin: 0 -20px -25px; mix-blend-mode: multiply; }
.site-footer { padding-bottom: 20px; }
.footer-panel { border: 1px solid var(--border); background: #fff; border-radius: 26px; padding: 33px 30px 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1.15fr 1.25fr 1.02fr 1.05fr; gap: 26px; }
.footer-grid > div + div { padding-left: 25px; border-left: 1px solid #e8eef9; }
.footer-grid h3 { font-size: 16px; margin-bottom: 17px; }
.footer-brand .brand-name { font-size: 29px; }
.footer-brand .brand-caption { font-size: 10px; }
.footer-brand .brand > img { width: 51px; }
.footer-brand > p { font-size: 14px; line-height: 1.7; margin-top: 23px; max-width: 320px; }
.socials { display: flex; gap: 11px; margin-top: 20px; }
.social-link { display: inline-grid; place-items: center; color: #fff; background: var(--navy); border-radius: 50%; width: 34px; height: 34px; }
.social-link:hover { background: var(--blue); }
.social-link .icon { width: 19px; height: 19px; stroke-width: 1.5; }
.footer-links > a { display: block; font-size: 13px; line-height: 1.6; margin-bottom: 8px; }
.footer-links > a:hover, .footer-bottom a:hover { color: var(--blue); text-decoration: underline; }
.footer-contacts > p, .footer-contacts > a { display: flex; align-items: flex-start; gap: 11px; font-size: 14px; margin-bottom: 18px; line-height: 1.5; }
.footer-contacts .icon { width: 20px; height: 20px; }
.footer-contacts small { font-size: 13px; color: var(--muted); display: block; margin-top: 5px; }
.footer-newsletter > p { font-size: 13px; color: var(--muted); line-height: 1.6; }
.footer-newsletter form { margin-top: 18px; }
.footer-newsletter .button { width: 100%; min-height: 45px; padding: 11px; font-size: 14px; }
.footer-newsletter .field input { height: 46px; font-size: 13px; padding-inline: 13px; }
.footer-newsletter .consent { font-size: 10px; margin-block: 10px; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 25px; border-top: 1px solid #ebf0fa; margin-top: 28px; padding-block: 18px; color: var(--muted); font-size: 12px; }
.footer-bottom > div { display: flex; gap: 38px; }
.demo-caption { text-align: center; font-size: 11px; line-height: 1.7; color: #8290a7; max-width: 1000px; margin: 17px auto 0; }
.toast { position: fixed; z-index: 120; left: 50%; bottom: 24px; width: max-content; max-width: min(590px, calc(100vw - 32px)); background: #0d2f65; color: #fff; padding: 16px 23px; border-radius: 13px; box-shadow: 0 8px 35px rgb(10 37 78 / 22%); font-size: 14px; line-height: 1.6; opacity: 0; transform: translate(-50%, 16px); transition: opacity .2s, transform .2s; pointer-events: none; }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
.no-script-note { background: #fff4db; color: #453823; padding: 18px; }

/* Compact desktop */
@media (min-width: 1361px) and (max-width: 1700px) {
  :root { --gutter: 40px; --section-gap: 52px; }
  .header-inner { gap: 24px; min-height: 104px; }
  .brand > img { width: 50px; }
  .brand-name { font-size: 31px; }
  .brand-caption { font-size: 10px; }
  .desktop-nav { font-size: 12px; gap: 18px; }
  .header-actions { gap: 12px; }
  .header-cta { font-size: 12px; padding-inline: 17px; min-height: 47px; }
  .account-link { font-size: 11px; padding-left: 12px; }
  .header-search { width: 30px; }
  .topbar-inner { font-size: 11px; gap: 19px; }
  .topbar-phone strong { font-size: 12px; }
  .hero { padding-top: 43px; }
  .hero-lead { font-size: 17px; }
  .hero-grid { row-gap: 31px; }
  .hero-trust { gap: 12px; }
  .hero-trust > div { gap: 12px; }
  .hero-trust p { font-size: 12px; }
  .hero-trust .icon { width: 35px; height: 35px; }
  .hero-buttons { gap: 16px; }
  .hero-buttons .button { font-size: 12px; padding: 13px 20px; min-height: 54px; }
  .search-field input { height: 52px; font-size: 12px; }
  .search-form .button { font-size: 12px; padding-inline: 20px; min-height: 52px; }
  .search-box { padding: 12px; margin-top: 28px; }
  .chip { font-size: 10px; padding: 6px 10px; }
  .hero-note { padding: 12px 10px; gap: 8px; }
  .hero-note > .icon { width: 29px; height: 29px; }
  .proof-item h3 { font-size: 13px; }
  .proof-item p { font-size: 12px; }
  .proof-item > .icon { width: 54px; height: 54px; }
  .goal-content h3 { font-size: 20px; }
  .goal-content p { font-size: 13px; }
  .goal-card { padding: 24px 20px; min-height: 227px; }
  .direction-card { gap: 20px; padding: 18px 24px; }
  .direction-card > span { font-size: 15px; }
  .direction-card > img { width: 57px; height: 57px; }
  .program-card { padding: 19px 17px 18px; }
  .program-head { gap: 11px; }
  .program-head h3 { font-size: 13px; }
  .program-icon { width: 30px; height: 35px; }
  .program-meta { font-size: 12px; }
  .document-card { padding: 16px; gap: 20px; }
  .document-card h3 { font-size: 20px; }
  .document-card p { font-size: 13px; }
  .step h3 { font-size: 16px; }
  .step p { font-size: 13px; }
  .section-panel { padding: 27px; }
  .license-body { gap: 17px; }
  .license-caption > .icon { width: 54px; height: 54px; }
  .license-caption p { font-size: 12px; }
  .license-card { padding-inline: 14px; }
  .license-facts strong { font-size: 12px; }
  .license-facts span { font-size: 11px; }
  .license-facts > div { gap: 11px; }
  .business-content ul { font-size: 12px; }
  .teacher-grid { gap: 20px; }
  .teacher-card { gap: 14px; padding-right: 12px; }
  .teacher-info h3 { font-size: 15px; }
  .teacher-role, .teacher-specialty { font-size: 12px; }
  .teacher-role { min-height: 37px; }
  .tag { font-size: 12px; }
  .review-top h3 { font-size: 14px; }
  .review-top p { font-size: 11px; }
  .stars { font-size: 19px; letter-spacing: 2px; }
  .review-card blockquote { font-size: 14px; }
  .article-info { padding: 20px; }
  .article-info h3 { font-size: 14px; }
  .article-info > p, .article-meta { font-size: 12px; }
  .faq-item > summary { font-size: 14px; }
  .consultation-panel { gap: 24px; padding: 30px; }
  .consultation-lead { font-size: 16px; }
  .consultation-perks p { font-size: 13px; }
  .consultation-perks { gap: 15px; }
  .field input, .field select, .field textarea { font-size: 12px; }
  .form-buttons > .button { font-size: 11px; gap: 6px; }
  .footer-grid { gap: 21px; }
  .footer-grid > div + div { padding-left: 20px; }
  .footer-brand .brand-name { font-size: 26px; }
  .footer-brand .brand-caption { font-size: 9px; }
  .footer-brand .brand > img { width: 45px; }
  .footer-brand > p { font-size: 12px; }
  .footer-grid h3 { font-size: 14px; }
  .footer-links > a { font-size: 12px; }
  .footer-contacts > p, .footer-contacts > a { font-size: 12px; }
}

/* Tablet landscape and smaller laptops */
@media (max-width: 1360px) {
  :root { --gutter: 32px; --section-gap: 50px; }
  html { scroll-padding-top: 106px; }
  .desktop-nav, .header-search, .account-link { display: none; }
  .header-inner { min-height: 98px; }
  .header-actions { margin-left: auto; }
  .menu-toggle { display: inline-grid; }
  .brand > img { width: 52px; }
  .brand-name { font-size: 31px; }
  .brand-caption { font-size: 10px; }
  .topbar-inner { font-size: 12px; gap: 18px; min-height: 42px; }
  .topbar-format { display: none; }
  .topbar-phone strong { font-size: 12px; }
  .hero { padding-top: 38px; }
  .hero-grid { grid-template-columns: 1.14fr 1fr; column-gap: 15px; row-gap: 25px; }
  h1 { font-size: clamp(28px, 2.6vw, 36px); }
  .desktop-br { display: none; }
  .hero-lead { font-size: 16px; margin-top: 17px; }
  .hero-art { align-self: start; margin: 4px -8px 0 -8px; }
  .hero-note { padding: 9px 8px; gap: 6px; font-size: clamp(9px,.83vw,12px); }
  .hero-note > .icon { width: 25px; height: 25px; padding: 4px; }
  .hero-note strong { white-space: normal; line-height: 1.4; margin-bottom: 4px; }
  .hero-trust { gap: 12px; }
  .hero-trust > div { gap: 9px; }
  .hero-trust .icon { width: 28px; height: 30px; }
  .hero-trust p { font-size: 11px; }
  .search-box { padding: 10px; margin-top: 24px; }
  .search-field { padding-inline: 12px; gap: 8px; }
  .search-field input { font-size: 11px; height: 50px; }
  .search-form { gap: 8px; }
  .search-form .button { padding-inline: 13px; min-height: 50px; font-size: 12px; }
  .chip { font-size: 10px; padding: 5px 9px; }
  .hero-buttons { gap: 12px; margin-top: 18px; }
  .hero-buttons .button { padding-inline: 12px; font-size: 11px; min-height: 52px; gap: 8px; }
  .hero-buttons .icon { width: 21px; height: 21px; }
  .proof-strip { margin-top: 36px; grid-template-columns: repeat(3, 1fr); row-gap: 26px; padding: 26px 8px; }
  .proof-item:nth-child(3) { border-right: 0; }
  .proof-item > .icon { width: 48px; height: 48px; margin-bottom: 9px; }
  .proof-item h3 { font-size: 14px; }
  .proof-item p { font-size: 12px; }
  .goal-grid { gap: 18px; }
  .goal-card { min-height: 235px; padding: 22px 18px; }
  .goal-content { width: 66%; }
  .goal-content h3 { font-size: 20px; }
  .goal-content p { font-size: 13px; }
  .goal-art { width: 31%; }
  .directions-grid { grid-template-columns: repeat(4,1fr); }
  .direction-all { grid-column: 1 / -1; min-height: 65px; }
  .direction-card { padding: 17px 21px; gap: 17px; min-height: 95px; }
  .direction-card > img { width: 48px; height: 54px; }
  .direction-card > span { font-size: 14px; }
  .program-grid { grid-template-columns: repeat(3,1fr); gap: 20px; }
  .program-head { min-height: 51px; }
  .program-head h3 { font-size: 16px; }
  .program-meta { font-size: 14px; margin-bottom: 18px; }
  .section-panel { padding: 24px; }
  .step { padding-inline: 12px; }
  .step-circle, .step-picture { width: 94px; height: 94px; }
  .step-number { left: -27px; width: 34px; height: 34px; font-size: 18px; }
  .step:not(:last-child)::after { top: 46px; left: calc(50% + 55px); width: calc(100% - 110px); }
  .step h3 { font-size: 15px; }
  .step p { font-size: 12px; }
  .step p br { display: none; }
  .document-card { grid-template-columns: 32% minmax(0,1fr); gap: 16px; padding: 17px; }
  .document-card h3 { font-size: 19px; }
  .document-card p { font-size: 13px; }
  .document-card p + p { margin-top: 14px; }
  .credibility-grid { gap: 20px; }
  .license-body { grid-template-columns: 1fr; gap: 20px; }
  .license-caption > .icon { width: 50px; height: 50px; }
  .license-caption p { font-size: 14px; }
  .license-number { font-size: 22px; }
  .license-facts { grid-template-columns: repeat(3,1fr); gap: 14px; }
  .license-facts > div { display: block; }
  .license-facts > div > .icon { margin-bottom: 6px; }
  .license-facts strong { font-size: 12px; }
  .license-facts span { font-size: 11px; }
  .business-content ul { width: 90%; margin-bottom: 190px; }
  .business-art { width: 64%; bottom: 15px; right: 4px; }
  .business-content .button { max-width: 45%; font-size: 12px; }
  .teacher-grid { grid-template-columns: repeat(2,1fr); }
  .teacher-card { grid-template-columns: 34% minmax(0,1fr); min-height: 240px; }
  .teacher-photo { max-height: 260px; }
  .teacher-role { min-height: auto; }
  .teacher-specialty { font-size: 14px; }
  .review-card { padding: 21px; }
  .review-top { flex-wrap: wrap; gap: 11px; }
  .review-top > div { flex: 1; }
  .review-top h3 { font-size: 14px; }
  .review-top p { font-size: 12px; }
  .review-avatar { width: 45px; height: 45px; }
  .stars { font-size: 19px; width: 100%; margin-left: 0; line-height: 1; }
  .review-card blockquote { font-size: 14px; margin-block: 17px 21px; }
  .review-card time { font-size: 12px; }
  .article-card { grid-template-columns: 1fr; }
  .article-image-link { height: 172px; min-height: 0; }
  .article-image-link img { object-position: center 55%; }
  .article-info { padding: 21px; }
  .article-info h3 { font-size: 16px; }
  .faq-item > summary { font-size: 14px; padding: 20px 23px; }
  .consultation-panel { grid-template-columns: .95fr 1.05fr; padding: 28px; gap: 30px; }
  .consultation-photo { display: none; }
  .consultation-perks { gap: 12px; margin-top: 30px; }
  .consultation-perks p { font-size: 13px; }
  .consultation-lead { font-size: 16px; }
  .consultation-copy h2 { font-size: 28px; }
  .field input, .field select, .field textarea { font-size: 12px; }
  .form-buttons { gap: 9px; }
  .form-buttons .button { font-size: 12px; gap: 6px; }
  .footer-grid { grid-template-columns: repeat(3,1fr); gap: 30px; }
  .footer-grid > div + div { border: 0; padding: 0; }
  .footer-brand { grid-column: span 1; }
  .footer-contacts { grid-column: 2; }
  .footer-newsletter { grid-column: 3; }
  .footer-brand .brand-name { font-size: 26px; }
  .footer-links > a { font-size: 13px; }
}

@media (max-width: 1100px) {
  :root { --gutter: 28px; }
  .hero-grid { grid-template-columns: 1.05fr 1fr; }
  .hero-bottom { grid-column: 1 / -1; }
  .hero-art { align-self: center; margin-top: -22px; margin-bottom: -5px; }
  .hero-trust { grid-template-columns: 1fr 1fr 1fr; max-width: 780px; }
  .hero-trust p { font-size: 13px; }
  .hero-trust .icon { width: 37px; height: 37px; }
  .search-field input { font-size: 15px; height: 55px; }
  .search-form .button { min-width: 190px; font-size: 14px; }
  .chip { font-size: 12px; padding: 6px 12px; }
  .hero-buttons .button { font-size: 14px; min-height: 55px; padding-inline: 22px; }
  .hero-note { font-size: 10px; }
  .goal-card { flex-direction: column-reverse; align-items: flex-start; padding: 22px; }
  .goal-art { width: 105px; height: 105px; margin: 0 0 18px; }
  .goal-content { width: 100%; flex: 1; }
  .goal-content h3 { font-size: 19px; }
  .direction-card { padding-inline: 17px; gap: 14px; }
  .direction-card > img { width: 42px; height: 46px; }
  .direction-card > span { font-size: 13px; }
  .document-card { grid-template-columns: 1fr; }
  .document-preview { height: 150px; max-height: none; object-position: left center; }
  .document-card h3 { margin-top: 2px; }
  .document-card p { font-size: 14px; }
  .credibility h2 { font-size: 25px; }
  .consultation-panel { grid-template-columns: 1fr; }
  .consultation-copy h2 { font-size: 31px; }
  .consultation-perks { max-width: 720px; margin-top: 24px; }
  .consultation-perks > div { display: flex; align-items: center; gap: 14px; }
  .consultation-perks p { margin: 0; }
  .consultation-perks .icon { flex: 0 0 auto; width: 38px; height: 38px; }
  .consultation-form { max-width: none; }
  .field input, .field select, .field textarea { font-size: 14px; }
  .form-buttons .button { font-size: 14px; }
  .form-buttons { grid-template-columns: 1fr 1fr; }
}

/* Tablet portrait */
@media (max-width: 900px) {
  :root { --gutter: 24px; --section-gap: 42px; }
  .topbar-license { display: none; }
  .topbar-hours { margin-left: auto; }
  .header-inner { min-height: 88px; gap: 20px; }
  .header-cta { font-size: 13px; min-height: 47px; }
  .hero-grid { row-gap: 28px; }
  .hero-lead { font-size: 15px; }
  h1 { font-size: 30px; }
  .hero-note { font-size: 8px; border-radius: 7px; padding: 7px 5px; gap: 4px; }
  .hero-note > .icon { width: 21px; height: 21px; padding: 3px; }
  .hero-note strong { font-size: 8px; }
  .goal-grid { gap: 16px; }
  .goal-card { padding: 20px; }
  .goal-content h3 { font-size: 18px; overflow-wrap: anywhere; }
  .goal-content p { font-size: 13px; }
  .directions-grid { grid-template-columns: repeat(2,1fr); gap: 14px; }
  .direction-card > span { font-size: 16px; }
  .direction-card > img { width: 53px; height: 58px; }
  .direction-card { padding: 20px 24px; gap: 23px; }
  .program-grid { grid-template-columns: repeat(2,1fr); gap: 18px; }
  .program-card { padding: 23px; }
  .program-head h3 { font-size: 17px; }
  .program-meta { margin-bottom: 24px; }
  .program-price { font-size: 25px; }
  .steps { grid-template-columns: repeat(2,1fr); gap: 30px 20px; }
  .step:nth-child(2)::after { display: none; }
  .step p { font-size: 14px; max-width: 260px; margin-inline: auto; }
  .step h3 { font-size: 17px; }
  .credibility-grid { grid-template-columns: 1fr; }
  .license-body { grid-template-columns: 1fr 1fr; }
  .license-facts { grid-template-columns: 1fr; }
  .license-facts > div { display: flex; }
  .license-facts strong { font-size: 14px; }
  .license-facts span { font-size: 12px; }
  .business-content ul { width: 62%; margin-bottom: 28px; font-size: 14px; }
  .business-content .button { max-width: none; font-size: 14px; }
  .business-art { width: 39%; bottom: 10px; }
  .teacher-card { grid-template-columns: 37% minmax(0,1fr); gap: 12px; }
  .teacher-info h3 { font-size: 15px; }
  .teacher-role, .teacher-specialty { font-size: 12px; }
  .tag { font-size: 11px; padding: 3px 7px; }
  .review-grid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: calc(50% - 10px); gap: 20px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: #d8e4f8 transparent; padding-bottom: 12px; }
  .review-card { scroll-snap-align: start; }
  .review-arrow { display: inline-grid; position: absolute; z-index: 2; top: 45%; }
  .review-prev { left: -16px; }
  .review-next { right: -16px; }
  .article-grid { gap: 16px; }
  .article-image-link { height: 145px; }
  .article-info { padding: 17px; }
  .article-info h3 { font-size: 14px; }
  .article-info > p, .article-meta { font-size: 12px; }
  .faq-columns { gap: 18px; }
  .faq-item > summary { padding: 20px 18px; gap: 15px; font-size: 13px; }
  .faq-answer { font-size: 13px; padding-inline: 18px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 15px 30px; align-items: center; }
  .footer-brand > p { margin: 0; }
  .socials { margin: 0; }
  .footer-contacts { grid-column: 1; }
  .footer-newsletter { grid-column: 2; }
  .footer-bottom { align-items: flex-start; }
  .footer-bottom > div { gap: 10px; flex-direction: column; }
}

/* Mobile */
@media (max-width: 640px) {
  :root { --gutter: 20px; --section-gap: 36px; }
  html { scroll-padding-top: 88px; }
  body { font-size: 14px; }
  h2 { font-size: 26px; line-height: 1.3; }
  .section-heading { margin-bottom: 19px; gap: 14px; align-items: flex-start; }
  .section-heading .text-link { font-size: 11px; gap: 6px; padding-top: 7px; }
  .section-heading .text-link .icon { width: 16px; height: 16px; }
  .topbar-inner { font-size: 10px; min-height: 34px; gap: 8px; }
  .topbar-item { gap: 5px; }
  .topbar-item .icon { width: 14px; height: 14px; }
  .topbar-phone strong { font-size: 11px; }
  .topbar-hours { display: none; }
  .header-inner { min-height: 76px; gap: 12px; }
  .brand { gap: 8px; }
  .brand > img { width: 42px; }
  .brand-name { font-size: 26px; }
  .brand-caption { font-size: 8.5px; letter-spacing: 0; }
  .header-cta { display: none; }
  .header-actions { gap: 8px; }
  .menu-toggle { border: 1px solid var(--border); border-radius: 9px; }
  .hero { padding-top: 27px; }
  .hero-grid { display: flex; flex-direction: column; gap: 0; }
  .hero-intro { order: 1; }
  h1 { font-size: clamp(27px, 5.5vw, 35px); line-height: 1.27; letter-spacing: -.028em; }
  .hero-lead { font-size: 15px; line-height: 1.65; margin-top: 18px; }
  .hero-art { order: 2; width: 100%; margin: 19px 0 22px; }
  .hero-note { border-radius: 10px; font-size: clamp(8px, 1.9vw, 11px); padding: 8px 6px; }
  .hero-note strong { font-size: 1em; }
  .hero-note > .icon { width: 22px; height: 22px; }
  .hero-bottom { order: 3; width: 100%; }
  .hero-trust { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .hero-trust > div { display: block; }
  .hero-trust .icon { width: 31px; height: 31px; margin-bottom: 6px; }
  .hero-trust p { font-size: 10px; line-height: 1.6; }
  .hero-trust p br { display: none; }
  .search-box { margin-top: 22px; padding: 11px; border-radius: 16px; }
  .search-form { flex-wrap: wrap; gap: 10px; }
  .search-field { flex-basis: 100%; }
  .search-field input { height: 51px; font-size: 13px; }
  .search-form .button { width: 100%; min-height: 49px; }
  .search-suggestions { gap: 7px; }
  .chip { font-size: 11px; padding: 6px 10px; }
  .hero-buttons { flex-direction: column; gap: 11px; margin-top: 15px; }
  .hero-buttons .button { width: 100%; min-height: 52px; font-size: 13px; }
  .proof-strip { grid-template-columns: repeat(2,1fr); row-gap: 26px; margin-top: 29px; padding: 25px 10px; border-radius: 20px; }
  .proof-item { padding-inline: 10px; }
  .proof-item:nth-child(3) { border-right: 1px solid #e7edf8; }
  .proof-item:nth-child(even) { border-right: 0; }
  .proof-item > .icon { width: 42px; height: 42px; margin-bottom: 9px; }
  .proof-item h3 { font-size: 12px; line-height: 1.5; }
  .proof-item p { font-size: 11px; line-height: 1.6; }
  .proof-item p br { display: none; }
  .goal-grid { grid-template-columns: 1fr; gap: 15px; }
  .goal-card { flex-direction: row; min-height: 218px; padding: 22px 20px; }
  .goal-content { width: 63%; flex: 0 0 auto; }
  .goal-content h3 { font-size: 20px; overflow-wrap: normal; }
  .goal-content p { font-size: 13px; line-height: 1.6; margin-bottom: 18px; }
  .goal-art { width: 32%; height: auto; max-height: 150px; margin: 0 0 0 auto; }
  .button-small { font-size: 13px; padding-inline: 18px; min-height: 41px; }
  .directions-grid { gap: 11px; }
  .direction-card { flex-direction: column; text-align: center; align-items: center; justify-content: center; padding: 17px 11px; gap: 10px; min-height: 134px; }
  .direction-card > img { width: 45px; height: 47px; }
  .direction-card > span { font-size: 13px; line-height: 1.45; }
  .direction-all { flex-direction: row; min-height: 58px; justify-content: space-between; text-align: left; padding-inline: 22px; }
  .direction-all > span { font-size: 14px; }
  .program-grid { gap: 14px; }
  .program-card { padding: 19px 16px 16px; }
  .program-head { display: block; min-height: 108px; }
  .program-icon { display: block; width: 33px; height: 35px; margin-bottom: 13px; }
  .program-head h3 { font-size: 14px; }
  .program-meta { font-size: 12px; gap: 8px; margin-top: 14px; margin-bottom: 18px; }
  .program-meta li { gap: 7px; }
  .program-meta .icon { width: 14px; height: 18px; }
  .program-price { font-size: 23px; margin-bottom: 15px; }
  .program-card .button { font-size: 13px; }
  .section-panel { padding: 22px 18px; border-radius: 17px; }
  .steps { gap: 29px 17px; padding: 4px 0 0; }
  .step { padding-inline: 0; }
  .step:not(:last-child)::after { display: none; }
  .step-circle, .step-picture { width: 78px; height: 78px; }
  .step-picture { margin-bottom: 14px; }
  .step-circle > .icon { width: 43px; height: 43px; }
  .step-number { width: 31px; height: 31px; left: -13px; top: -5px; font-size: 16px; border-width: 3px; }
  .step h3 { font-size: 14px; }
  .step p { font-size: 12px; line-height: 1.6; margin-top: 8px; }
  .learning, .documents { margin-bottom: 18px; }
  .document-grid { grid-template-columns: 1fr; gap: 15px; }
  .document-card { grid-template-columns: 33% minmax(0,1fr); padding: 16px 13px; gap: 17px; }
  .document-preview { height: auto; max-height: 190px; margin-top: 7px; object-position: center; }
  .document-card h3 { font-size: 20px; margin-bottom: 9px; }
  .document-card p { font-size: 13px; line-height: 1.65; }
  .document-card p + p { margin-top: 14px; }
  .credibility h2 { font-size: 25px; }
  .license-body { grid-template-columns: 1fr; gap: 23px; margin-top: 22px; }
  .license-facts { gap: 18px; }
  .license-facts > div > .icon { width: 32px; height: 35px; }
  .license-facts strong { font-size: 14px; }
  .license-facts span { font-size: 12px; }
  .license-caption p { font-size: 13px; }
  .license-number { font-size: 21px; }
  .business-panel { padding-bottom: 0; }
  .business-content ul { width: 100%; font-size: 14px; margin-bottom: 13px; }
  .business-content .button { margin-top: 10px; }
  .business-art { position: relative; right: auto; bottom: auto; width: min(88%, 330px); margin: 10px -12px 0 auto; }
  .teacher-grid { grid-template-columns: 1fr; gap: 16px; }
  .teacher-card { grid-template-columns: 39% minmax(0,1fr); padding: 12px 19px 0 0; gap: 14px; min-height: 232px; }
  .teacher-photo { max-height: 240px; }
  .teacher-info h3 { font-size: 16px; }
  .teacher-role, .teacher-specialty { font-size: 13px; }
  .tag { font-size: 12px; }
  .review-grid { grid-auto-columns: 91%; gap: 15px; }
  .review-card { padding: 21px; }
  .review-avatar { width: 47px; height: 47px; }
  .review-top h3 { font-size: 14px; }
  .review-top p { font-size: 11px; }
  .review-card blockquote { font-size: 14px; }
  .review-prev { left: -14px; }
  .review-next { right: -14px; }
  .article-grid { grid-template-columns: 1fr; gap: 16px; }
  .article-card { grid-template-columns: 34% minmax(0,1fr); }
  .article-image-link { height: auto; }
  .article-info { padding: 18px 15px; }
  .article-info h3 { font-size: 14px; line-height: 1.5; }
  .article-info > p { font-size: 12px; margin-top: 9px; }
  .article-meta { font-size: 11px; padding-top: 16px; gap: 5px; }
  .faq-columns { grid-template-columns: 1fr; gap: 0; }
  .faq-column:first-child { border-radius: 12px 12px 0 0; border-bottom: 0; }
  .faq-column:last-child { border-radius: 0 0 12px 12px; }
  .faq-item > summary { padding: 19px 18px; font-size: 14px; }
  .faq-answer { font-size: 13px; }
  .consultation-panel { padding: 25px 20px; gap: 26px; border-radius: 19px; }
  .consultation-copy h2 { font-size: 27px; }
  .consultation-lead { font-size: 15px; margin-top: 15px; }
  .consultation-perks { gap: 12px; margin-top: 23px; }
  .consultation-perks > div { display: block; }
  .consultation-perks .icon { width: 32px; height: 32px; }
  .consultation-perks p { font-size: 10px; line-height: 1.7; margin-top: 10px; }
  .consultation-perks p br { display: none; }
  .form-grid { grid-template-columns: 1fr; gap: 11px; }
  .field input, .field select, .field textarea { font-size: 16px; padding-inline: 14px; }
  .field input, .field select { height: 52px; }
  .field textarea { min-height: 113px; }
  .select-field > .icon { top: 18px; }
  .consent { font-size: 11px; margin-block: 15px; }
  .form-buttons { grid-template-columns: 1fr; gap: 11px; }
  .form-buttons > .button { min-height: 50px; font-size: 14px; }
  .footer-panel { padding: 26px 20px 0; border-radius: 20px; }
  .footer-grid { gap: 26px 18px; }
  .footer-brand { display: block; }
  .footer-brand > p { margin-top: 18px; font-size: 13px; max-width: none; }
  .socials { margin-top: 17px; }
  .footer-grid h3 { font-size: 15px; margin-bottom: 14px; }
  .footer-links > a { font-size: 12px; line-height: 1.65; }
  .footer-contacts, .footer-newsletter { grid-column: 1 / -1; border-top: 1px solid var(--border) !important; padding-top: 23px !important; }
  .footer-contacts > p, .footer-contacts > a { font-size: 14px; margin-bottom: 14px; }
  .footer-newsletter .field input { height: 50px; font-size: 16px; }
  .footer-newsletter .button { min-height: 47px; }
  .footer-newsletter .consent { font-size: 11px; }
  .footer-bottom { flex-direction: column; gap: 13px; padding-block: 20px; }
  .footer-bottom > div { flex-direction: row; flex-wrap: wrap; gap: 10px 20px; }
  .footer-bottom p { font-size: 11px; }
  .footer-bottom a { font-size: 11px; }
  .demo-caption { font-size: 10px; margin-top: 16px; }
  .toast { font-size: 13px; bottom: 16px; padding: 14px 17px; }
}
@media (max-width: 479px) {
  :root { --gutter: 16px; }
  h1 { font-size: 28px; }
  .hero-lead { font-size: 14px; }
  .hero-note { padding: 6px 4px; gap: 4px; font-size: 8px; }
  .hero-note > .icon { width: 18px; height: 18px; padding: 3px; }
  .hero-note strong { font-size: 7.5px; margin-bottom: 3px; }
  .hero-art { margin-top: 20px; }
  .goal-content h3 { font-size: 19px; }
  .goal-card { padding: 21px 17px; }
  .goal-content { width: 65%; }
  .goal-art { width: 31%; }
  .goal-content p { font-size: 12px; }
  .program-grid { grid-template-columns: 1fr; }
  .program-card { padding: 22px; }
  .program-head { display: flex; gap: 17px; align-items: flex-start; min-height: 56px; }
  .program-head h3 { font-size: 18px; }
  .program-icon { margin: 0; width: 39px; height: 44px; }
  .program-meta { font-size: 14px; margin-top: 18px; }
  .program-meta .icon { width: 18px; height: 20px; }
  .program-price { font-size: 25px; }
  .program-card .button { min-height: 44px; font-size: 14px; }
  .section-heading h2 { font-size: 24px; }
  .section-heading:has(.text-link) { flex-wrap: wrap; gap: 7px; }
  .section-heading .text-link { padding-top: 0; font-size: 12px; }
  .teacher-info h3 { font-size: 15px; }
  .teacher-role, .teacher-specialty { font-size: 12px; }
  .article-card { grid-template-columns: 33% minmax(0,1fr); }
  .article-info h3 { font-size: 13px; }
  .article-info > p { font-size: 11px; }
  .article-info { padding: 17px 13px; }
  .license-number { font-size: 20px; }
}
@media (max-width: 360px) {
  .brand-name { font-size: 23px; }
  .brand-caption { font-size: 7.5px; }
  .brand > img { width: 38px; }
  .header-actions { margin-left: auto; }
  h1 { font-size: 25px; }
  .goal-content h3 { font-size: 17px; }
  .goal-content { width: 67%; }
  .goal-art { width: 28%; }
  .document-card { grid-template-columns: 27% minmax(0,1fr); gap: 12px; }
  .document-card h3 { font-size: 18px; }
  .document-card p { font-size: 12px; }
  .license-number { font-size: 17px; }
  .teacher-card { grid-template-columns: 34% minmax(0,1fr); }
  .consultation-panel { padding-inline: 17px; }
  .consultation-copy h2 { font-size: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
@media print {
  body { background: #fff; }
  .site-header { position: static; }
  .topbar, .header-actions, .desktop-nav, .hero-buttons, .search-box, .review-arrow, .consultation-form, .footer-newsletter, .toast, .demo-caption, .socials { display: none !important; }
  .container { width: 100%; }
  .section { break-inside: avoid; margin-bottom: 20px; }
  .section-panel, .goal-card, .program-card, .teacher-card, .review-card { box-shadow: none; }
}
/* Shared symbol paths inherit the page's accent colour. */
.accent { stroke: var(--gold); }
.hero-trust > div, .consultation-copy, .consultation-form, .consultation-perks > div { min-width: 0; }
@media (max-width: 640px) {
 .hero-trust, .consultation-perks { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
/* At tablet widths the illustration belongs to the first row only. */
@media (min-width: 641px) and (max-width: 1100px) {
 .hero-grid { grid-template-areas: "intro art" "bottom bottom"; }
 .hero-art { margin-top: 0; margin-bottom: 0; }
}
/* Keep short floating labels legible on phones; supporting copy is elsewhere. */
@media (max-width: 640px) {
 .hero-note { align-items: center; justify-content: center; text-align: center; padding: 6px; }
 .hero-note > .icon, .hero-note span { display: none; }
 .hero-note strong { white-space: normal; font-size: clamp(9px, 2.3vw, 12px); line-height: 1.5; margin: 0; }
}
