/* AUTO-GENERATED by scripts/build-public-css.py; edit site.css and modules. */
/* Source: base/tokens.css */
:root {
    --color-navy: #0e315f;
    --color-blue: #0d67c8;
    --color-blue-dark: #0759ae;
    --color-sky: #edf7fd;
    --color-text: #5b6e89;
    --color-border: #d6e5f2;
    --color-white: #fff;
    --container: 1180px;
    --page-gutter: clamp(16px, 4vw, 48px);
    --radius-card: 8px;
    --shadow-cta: 0 5px 12px rgba(13, 103, 200, .2);
    --serif: Georgia, "Times New Roman", serif;
    --sans: Arial, Helvetica, sans-serif;
}


/* Source: base/global.css */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; color: var(--color-text); background: #fff; font-family: var(--sans); }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
.container { width: min(var(--container), calc(100% - (var(--page-gutter) * 2))); margin-inline: auto; }
.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; }
.section { padding: 17px 0 15px; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 10px; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { color: var(--color-navy); font-family: var(--serif); }
h1 { margin-bottom: 14px; font-size: clamp(36px, 5vw, 50px); line-height: .98; letter-spacing: -.7px; }
h2 { position: relative; display: inline-flex; align-items: center; gap: 18px; margin-bottom: 0; font-size: 28px; line-height: 1; letter-spacing: -.4px; }
h2::after { content: ""; width: 30px; height: 2px; background: var(--color-blue); }
.section-heading p { margin: 0; color: #8392a8; font-size: 10px; }
.eyebrow { margin-bottom: 8px; color: var(--color-blue); font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.lead { max-width: 400px; font-size: 13px; line-height: 1.35; }
.photo-placeholder { display: grid; place-items: center; border: 1px dashed #99bddb; background: linear-gradient(135deg, #c7dfef, #f6fbfe 48%, #cbddea); color: #315b80; text-align: center; font-size: 12px; line-height: 1.35; }
.not-found { padding-block: 80px; }

.icon-link { display: inline-flex; align-items: flex-start; gap: 12px; text-decoration: none; }
.icon-link__icon { flex: 0 0 18px; width: 18px; height: 18px; margin-top: 2px; color: var(--color-blue); }
.icon-link__icon svg { width: 100%; height: 100%; fill: currentColor; }
.icon-link__body { display: grid; gap: 4px; min-width: 0; }
.icon-link__title { display: block; font-weight: 700; line-height: 1.25; }
.icon-link__meta { display: block; color: #8191a4; line-height: 1.35; }

@media (max-width: 900px) { .container { width: min(100% - 32px, 720px); } }
@media (max-width: 600px) { .section-heading { align-items: flex-start; flex-direction: column; gap: 7px; } }
@media (max-width: 520px) { .container { width: min(100% - 24px, 420px); } }


/* Source: components/buttons.css */
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 32px; padding: 0 20px; border: 1px solid var(--color-blue); border-radius: 6px; background: linear-gradient(180deg, #1674d4, #075bae); color: #fff; box-shadow: var(--shadow-cta); font-weight: 700; font-size: 10px; text-decoration: none; }
.button span { margin-left: 12px; font-size: 14px; }
.button--small { min-width: 86px; min-height: 28px; padding-inline: 14px; font-size: 8px; }
.button--outline { background: #fff; color: var(--color-blue); box-shadow: none; }
.link-button { display: inline-flex; align-items: center; justify-content: center; min-width: 104px; gap: 8px; margin-top: 9px; padding: 5px 12px; border: 1px solid var(--color-blue); border-radius: 5px; color: var(--color-blue); font-size: 9px; font-weight: 700; text-decoration: none; }


/* Source: components/header.css */
.site-header { height: 54px; background: rgba(255,255,255,.98); border-bottom: 1px solid #edf2f7; }
.site-header__inner { height: 100%; display: flex; align-items: center; gap: 20px; }
.brand { display: flex; align-items: center; gap: 7px; color: var(--color-navy); text-decoration: none; flex: 0 0 198px; }
.brand__mark { width: 49px; height: 40px; }
.brand__copy { display: block; min-width: 0; }
.brand__copy strong { display: block; font: 700 14px/.92 var(--serif); letter-spacing: -.15px; }
.brand__copy small { display: block; margin-top: 4px; color: #9aacc0; font-size: 5.5px; white-space: nowrap; }
.primary-nav { display: flex; align-items: stretch; justify-content: center; gap: 22px; height: 100%; margin-left: auto; }
.primary-nav a { position: relative; display: flex; align-items: center; color: var(--color-navy); text-decoration: none; font-size: 8px; white-space: nowrap; }
.primary-nav a::after { content: ""; position: absolute; right: 0; bottom: 11px; left: 0; height: 1.5px; background: var(--color-blue); opacity: 0; transform: scaleX(.4); }
.primary-nav a:hover::after, .primary-nav a:focus-visible::after, .primary-nav a.is-active::after { opacity: 1; transform: none; }
.header-contact { display: flex; align-items: center; gap: 17px; margin-left: auto; }
.header-phone { color: var(--color-navy); white-space: nowrap; }
.header-phone .icon-link__icon { width: 15px; height: 15px; margin-top: 1px; }
.header-phone .icon-link__body { gap: 1px; }
.header-phone .icon-link__title { font-size: 10px; line-height: 1; }
.header-phone .icon-link__meta { color: #92a1b4; font-size: 6.5px; }
.menu-toggle { display: none; }

@media (max-width: 900px) {
    .site-header { height: 68px; }
    .site-header__inner { justify-content: space-between; }
    .brand { flex-basis: auto; }
    .header-contact { margin-left: auto; }
    .header-contact .button, .header-phone .icon-link__meta { display: none; }
    .menu-toggle { display: grid; gap: 4px; width: 42px; height: 42px; place-content: center; border: 1px solid var(--color-border); border-radius: 6px; background: #fff; }
    .menu-toggle span[aria-hidden] { display: block; width: 19px; height: 2px; background: var(--color-navy); }
    .primary-nav { position: absolute; z-index: 20; top: 68px; right: 0; left: 0; display: none; height: auto; padding: 16px; background: #fff; box-shadow: 0 10px 20px rgba(14,49,95,.12); }
    .primary-nav.is-open { display: grid; }
    .primary-nav a { min-height: 44px; justify-content: center; font-size: 14px; }
}

@media (max-width: 520px) { .header-phone { display: none; } }


/* Source: sections/hero.css */
.hero { min-height: 282px; overflow: hidden; background: linear-gradient(110deg, #eef8ff 0%, #fff 52%, #e8f6fe 100%); }
.hero__inner { display: grid; grid-template-columns: 47% 53%; min-height: 282px; }
.hero__content { position: relative; z-index: 1; min-width: 0; padding: 25px 0 9px; }
.hero h1 { max-width: 430px; margin-bottom: 11px; font-size: 41px; line-height: .94; }
.hero__actions { display: flex; gap: 12px; margin: 13px 0 15px; }
.hero__facts { display: flex; gap: 19px; }
.hero__facts > span { display: grid; grid-template-columns: 22px 1fr; column-gap: 6px; align-items: center; min-width: 0; color: var(--color-navy); }
.hero__facts img { grid-row: span 2; width: 22px; height: 22px; }
.hero__facts strong, .hero__facts small { display: block; font-size: 8px; line-height: 1.1; }
.hero__facts small { color: #8c9db1; font-size: 7px; }
.hero__visual { min-height: 282px; }
.hero__visual.photo-placeholder { position: relative; margin-right: calc(var(--page-gutter) * -1); border: 0; border-radius: 0; background: url("/assets/images/hero-interior.webp") center / cover no-repeat; }
.hero__visual.photo-placeholder::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #eef8ff 0%, rgba(238,248,255,.92) 9%, rgba(238,248,255,.42) 28%, rgba(238,248,255,0) 52%); }
.hero__visual.photo-placeholder span { position: relative; z-index: 1; margin-left: 20%; padding: 10px 14px; border-radius: 6px; background: rgba(255,255,255,.82); box-shadow: 0 3px 12px rgba(17,67,108,.08); }

@media (max-width: 900px) {
    .hero__inner { grid-template-columns: 1fr; }
    .hero__visual { min-height: 200px; order: -1; }
    .hero__visual.photo-placeholder { margin: 0; border-radius: 0; border: 0; }
    .hero__content { padding-top: 20px; }
    .hero h1 { max-width: 620px; font-size: 39px; }
}
@media (max-width: 600px) {
    .hero h1 { font-size: 34px; }
    .hero__facts { gap: 9px; flex-wrap: wrap; }
    .hero__facts > span { min-width: 43%; }
}


/* Source: sections/advantages.css */
.advantages { padding: 6px 0 8px; }
.advantages .section-heading { margin-bottom: 8px; }
.advantages__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.advantage-card { display: flex; gap: 10px; min-height: 98px; padding: 13px 12px; border: 1px solid #e5f0f7; border-radius: var(--radius-card); background: #f1f8fd; }
.feature-icon { display: grid; flex: 0 0 47px; width: 47px; height: 47px; place-items: center; border-radius: 50%; background: #fff; color: var(--color-blue); box-shadow: 0 2px 7px rgba(19,77,128,.1); }
.feature-icon img { width: 28px; height: 28px; }
.advantage-card h3 { margin: 1px 0 6px; color: var(--color-navy); font: 700 12px/1.05 var(--serif); }
.advantage-card p { margin: 0; color: #8392a8; font-size: 9px; line-height: 1.35; }

@media (max-width: 900px) { .advantages__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .advantages__grid { grid-template-columns: 1fr; } }


/* Source: sections/directions.css */
.directions { padding-top: 8px; padding-bottom: 19px; }
.directions .section-heading { margin-bottom: 6px; }
.directions__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; min-width: 0; }
.direction-card { position: relative; display: grid; grid-template-columns: 124px minmax(0, 1fr); min-width: 0; min-height: 111px; overflow: hidden; border: 1px solid #dceaf4; border-radius: 7px; background: #fff; }
.direction-card::after { content: ""; position: absolute; z-index: 0; right: 13px; top: 12px; width: 74px; height: 88px; opacity: .82; pointer-events: none; background: url("/assets/images/direction-leaves.svg") center / contain no-repeat; }
.direction-card__art { display: grid; place-items: center; overflow: hidden; background: radial-gradient(circle at 50% 45%, #fbfdff 0 30%, #eef7fc 31% 66%, #f8fbfd 67%); color: var(--color-blue); }
.direction-card__art img { width: 118px; height: 100px; object-fit: contain; filter: drop-shadow(0 5px 7px rgba(32, 70, 105, .12)); }
.direction-card__body { position: relative; z-index: 1; min-width: 0; padding: 10px; overflow-wrap: anywhere; }
.direction-card h3, .direction-card__body h2 { margin: 1px 0 6px; color: var(--color-navy); font: 700 13px/1.05 var(--serif); }
.direction-card__body h2::after { display: none; }
.direction-card p { margin: 0; color: #8392a8; font-size: 9px; line-height: 1.35; }
.card-meta { display: none; margin-bottom: 3px !important; color: var(--color-blue) !important; font-size: 8px !important; }

@media (max-width: 600px) {
    .directions__grid { grid-template-columns: 1fr; }
    .direction-card { grid-template-columns: 105px 1fr; }
}


/* Source: sections/diagnostic.css */
.diagnostic { position: relative; overflow: hidden; background: linear-gradient(100deg, #eef9ff, #f7fcff); }
.diagnostic__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 43% 40%; justify-content: start; gap: 25px; align-items: center; min-height: 210px; }
.diagnostic h2 { margin-bottom: 11px; font-size: 24px; white-space: nowrap; }
.diagnostic__decor { position: absolute; z-index: 0; right: 0; bottom: 0; width: 164px; height: 188px; object-fit: contain; object-position: right bottom; }
.diagnostic__copy > p { max-width: 360px; font-size: 12px; line-height: 1.4; }
.diagnostic__copy ul { display: grid; gap: 6px; margin: 11px 0 0; padding: 0; list-style: none; color: #5f7894; font-size: 10px; }
.diagnostic__copy li::before { content: "✓"; display: inline-grid; width: 17px; height: 17px; margin-right: 7px; place-items: center; border: 1px solid var(--color-blue); border-radius: 50%; color: var(--color-blue); font-weight: 700; }
.form-card { padding: 12px 18px 13px; border-radius: 7px; background: #fff; box-shadow: 0 5px 20px rgba(45,92,126,.1); }
.form-card h3 { margin-bottom: 10px; color: var(--color-navy); font: 700 16px var(--serif); }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 9px 12px; }
.form-grid__wide { grid-column: 1 / -1; }
.form-card label { display: grid; gap: 4px; color: var(--color-navy); font-size: 9px; }
.form-card sup { color: #df5a62; }
.form-card input:not([type="checkbox"]), .form-card select { width: 100%; height: 27px; padding: 0 9px; border: 1px solid #d8e4ed; border-radius: 4px; color: #667c95; background: #fff; font: inherit; font-size: 9px; }
.consent { display: flex !important; grid-template-columns: none !important; align-items: start; gap: 6px !important; margin: 10px 0; color: #778ba0 !important; font-size: 8px !important; }
.consent input { margin-top: 1px; accent-color: var(--color-blue); }
.consent a { color: var(--color-blue); }
.form-card .button { width: 100%; min-height: 31px; border: 0; font-size: 10px; }
.honeypot { position: absolute; left: -9999px; opacity: 0; }
.form-status { margin: 0 0 9px; padding: 7px; border-radius: 4px; font-size: 9px; }
.form-status--success { background: #eaf8ee; color: #247340; }
.form-status--error { background: #fff0f0; color: #b03b45; }

@media (max-width: 900px) {
    .diagnostic__inner { grid-template-columns: 1fr; gap: 22px; padding-block: 20px; }
    .diagnostic h2 { white-space: normal; }
    .diagnostic__decor { display: none; }
}
@media (max-width: 600px) {
    .form-grid { grid-template-columns: 1fr; }
    .form-grid__wide { grid-column: auto; }
}


/* Source: sections/teacher.css */
.teacher { padding: 10px 0 9px; }
.teacher .section-heading { margin-bottom: 7px; }
.teacher__grid { display: grid; grid-template-columns: 40% 1fr; gap: 20px; align-items: center; }
.teacher__photo { min-height: 180px; border: 0; border-radius: 6px; background: linear-gradient(rgba(220,238,248,.46), rgba(220,238,248,.46)), url("/assets/images/hero-interior.webp") center / cover no-repeat; }
.teacher__photo span { padding: 8px 12px; border-radius: 5px; background: rgba(255,255,255,.84); }
.teacher__copy h3 { margin: 0 0 4px; color: var(--color-navy); font: 700 18px var(--serif); }
.teacher__copy p { margin-bottom: 8px; font-size: 10px; line-height: 1.35; }
.teacher__facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; }
.teacher__facts div { min-height: 50px; padding: 8px 9px; border-radius: 7px; background: #eef8fd; }
.teacher__facts img { float: left; width: 24px; height: 24px; margin: 1px 7px 0 0; }
.teacher__facts strong, .teacher__facts small { display: block; }
.teacher__facts strong { color: var(--color-navy); font: 700 10px var(--serif); }
.teacher__facts small { margin-top: 3px; color: #7e91a4; font-size: 7px; }

@media (max-width: 600px) {
    .teacher__grid, .teacher__facts { grid-template-columns: 1fr; }
}


/* Source: sections/faq.css */
.faq { padding: 2px 0 8px; }
.faq .section-heading { margin-bottom: 6px; }
.faq__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 5px 10px; }
.faq-item { border: 1px solid #dbe7ef; border-radius: 5px; background: #fff; }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; padding: 6px 12px; cursor: pointer; color: #48617d; font-size: 10px; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary span { color: var(--color-blue); font-size: 13px; }
.faq-item p { margin: 0; padding: 0 12px 7px; color: #8593a6; font-size: 9px; line-height: 1.35; }

@media (max-width: 600px) { .faq__grid { grid-template-columns: 1fr; } }


/* Source: sections/contacts.css */
.contacts { padding: 3px 0 8px; }
.contacts .section-heading { margin-bottom: 7px; }
.contacts__grid { display: grid; grid-template-columns: 1.2fr .75fr .55fr; gap: 18px; align-items: stretch; }
.map-placeholder { min-height: 142px; overflow: hidden; border: 1px solid #dce6ee; border-radius: 6px; background: #eaf1f5; }
.map-placeholder iframe { width: 100%; height: 100%; min-height: 142px; border: 0; }
.contact-list { display: grid; align-content: center; gap: 16px; }
.contact-list a { color: var(--color-navy); }
.contact-list .icon-link__icon { width: 20px; height: 20px; }
.contact-list .icon-link__title { font-size: 10px; }
.contact-list .icon-link__meta { font-size: 8px; }
.requisites { padding: 12px; border-radius: 6px; background: #eef7fc; }
.requisites h3 { margin-bottom: 8px; color: var(--color-navy); font: 700 14px var(--serif); }
.requisites p { margin: 0; color: #8191a4; font-size: 9px; line-height: 1.4; }

@media (max-width: 900px) {
    .contacts__grid { grid-template-columns: 1fr 1fr; }
    .map-placeholder { min-height: 220px; grid-row: span 2; }
    .requisites { grid-column: 2; }
}
@media (max-width: 600px) {
    .contacts__grid { grid-template-columns: 1fr; }
    .map-placeholder { grid-row: auto; min-height: 240px; }
    .requisites { grid-column: auto; }
}


/* Source: pages/inner.css */
.inner-page { min-height: 520px; padding-top: 35px; }
.inner-page h1 { max-width: 720px; }
.inner-page__lead { max-width: 720px; margin-bottom: 24px; font-size: 15px; line-height: 1.6; }
.breadcrumbs { margin-bottom: 22px; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 7px; margin: 0; padding: 0; list-style: none; font-size: 10px; }
.breadcrumbs li:not(:last-child)::after { content: "/"; margin-left: 7px; color: #9badbf; }
.breadcrumbs a { color: var(--color-blue); text-decoration: none; }
.breadcrumbs span { color: #7f91a6; }
.directions-page__grid { margin-top: 25px; }
.page-intro { padding: 30px 0 12px; }
.page-intro .breadcrumbs { margin-bottom: 18px; }
.page-intro h1 { margin-bottom: 0; font-size: clamp(34px, 4vw, 46px); }
.service-page__hero { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; align-items: center; min-width: 0; padding: 28px; border-radius: 12px; background: linear-gradient(110deg, #eef8ff, #fff); }
.service-page__copy { min-width: 0; overflow-wrap: anywhere; }
.service-page__copy h1 { font-size: clamp(34px, 4vw, 48px); }
.service-page__art { display: grid; min-height: 220px; place-items: center; border-radius: 10px; background: #fff; }
.service-page__art img { width: 250px; height: 200px; object-fit: contain; }
.service-page__focus, .service-page__related { padding-top: 40px; }
.service-page__focus h2, .service-page__related h2 { margin-bottom: 22px; font-size: 26px; }
.service-page__focus ul { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 0; padding: 0; list-style: none; }
.service-page__focus li { min-width: 0; min-height: 92px; padding: 20px; overflow-wrap: anywhere; border: 1px solid var(--color-border); border-radius: var(--radius-card); background: var(--color-sky); color: var(--color-navy); font-weight: 700; line-height: 1.4; }
.related-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 32px; }
.related-links a { display: grid; min-width: 0; gap: 5px; padding: 16px; overflow-wrap: anywhere; border: 1px solid var(--color-border); border-radius: var(--radius-card); color: var(--color-navy); text-decoration: none; }
.related-links span { color: var(--color-text); font-size: 11px; }

@media (max-width: 900px) {
    .service-page__hero { grid-template-columns: 1fr 220px; gap: 24px; }
    .service-page__art { min-height: 180px; }
    .service-page__art img { width: 190px; height: 160px; }
}

@media (max-width: 600px) {
    .inner-page { padding-top: 24px; }
    .service-page__hero { grid-template-columns: 1fr; padding: 20px; }
    .service-page__art { order: -1; }
    .service-page__focus ul, .related-links { grid-template-columns: 1fr; }
}

/* Service cards: SVG indicators and shared direction imagery. */
.service-page__focus li { display: flex; align-items: flex-start; gap: 14px; }
.service-page__focus-icon { display: grid; flex: 0 0 38px; width: 38px; height: 38px; place-items: center; border-radius: 11px; background: #fff; color: var(--color-blue); box-shadow: 0 2px 9px rgba(15,74,126,.07); }
.service-page__focus-icon svg { width: 22px; height: 22px; }
.related-links a { display: flex; align-items: center; gap: 13px; min-height: 126px; transition: border-color .2s, box-shadow .2s, transform .2s; }
.related-links a:hover, .related-links a:focus-visible { border-color: var(--color-blue); box-shadow: 0 6px 18px rgba(16,75,124,.1); transform: translateY(-2px); }
.related-links__image { display: grid; flex: 0 0 96px; width: 96px; height: 96px; place-items: center; }
.related-links__image img { display: block; width: 100%; height: 100%; object-fit: contain; }
.related-links__content { display: flex; flex: 1 1 auto; flex-direction: column; gap: 6px; min-width: 0; }
.related-links__content strong { font-size: 16px; line-height: 1.25; }
.related-links .related-links__meta { font-size: 12px; line-height: 1.35; }
.related-links .related-links__action { color: var(--color-blue); font-size: 12px; font-weight: 700; }
@media (max-width: 900px) { .related-links { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .related-links { grid-template-columns: 1fr; } .related-links a { min-height: 108px; } .related-links__image { flex-basis: 82px; width: 82px; height: 82px; } }

/* Source: sections/reference-alignment.css */
/* Корректировки по references/desktop/homepage-full.png, viewport 941px */
@media (min-width: 901px) and (max-width: 1199px) {
  .hero__visual.photo-placeholder { background-image: url("/assets/images/reference-hero.webp"); background-position: center; }
  .hero__visual.photo-placeholder::before { background: linear-gradient(90deg, #eff8fd 0%,rgba(239,248,253,.74) 8%,rgba(239,248,253,0) 27%); }
  .teacher__photo { background-image: url("/assets/images/reference-teacher.webp"); background-position:center; }
  .hero { min-height: 277px; }
  .hero__inner,.hero__visual { min-height:277px; }
  .hero__content { padding-top:25px; }
  .hero h1 { font-size:43px; line-height:.96; }
  .advantages { padding-top:9px; padding-bottom:9px; }
  .advantage-card { min-height:99px; }
  .directions { padding-top:9px; padding-bottom:17px; }
  .direction-card { min-height:110px; }
  .diagnostic__inner { min-height:208px; grid-template-columns: 43% 40%; }
  .teacher__photo { min-height:181px; }
  .teacher { padding-top:10px; padding-bottom:8px; }
  .contacts__grid { grid-template-columns: 1.2fr .65fr .55fr; }
  .map-placeholder { min-height:144px; }
}
@media (min-width: 1200px) {
  .hero__visual.photo-placeholder { background-image:url("/assets/images/reference-hero.webp"); background-position:center; }
  .hero__visual.photo-placeholder::before { background:linear-gradient(90deg,#eff8fd,rgba(239,248,253,.65) 12%,transparent 32%); }
  .teacher__photo { background-image:url("/assets/images/reference-teacher.webp"); }
}
.map-placeholder { position:relative; background:#e8f0f5 url("/assets/images/reference-map.webp") center/cover no-repeat; }
.map-placeholder iframe { position:relative; z-index:1; background:transparent; }
@media (max-width: 900px) { .teacher__photo { background-image:url("/assets/images/reference-teacher.webp"); } }

/* Width correction: prevent desktop content from stretching on wide monitors. */
@media (min-width: 901px) {
  .hero__visual.photo-placeholder { margin-right: 0; }
  .hero__inner { max-width: 100%; }
  .diagnostic__inner, .contacts__grid, .site-footer__grid { min-width: 0; }
}

/* Fix teacher portrait cropping when reference photo replaces a layered background.
 * background-image by itself does not reset background-size/background-position lists.
 * Set the first layer explicitly so the portrait, not the top-left bookshelf, is visible.
 */
.teacher__photo {
  background-image: url("/assets/images/reference-teacher.webp");
  background-size: cover;
  background-position: 50% 38%;
  background-repeat: no-repeat;
}

@media (max-width: 600px) {
  .teacher__photo { background-position: 50% 35%; }
}

/* Source: scale.css */
/* Human-scale typography and controls. Keep the original 1180px content width. */
body { font-size: 16px; line-height: 1.5; }
.section { padding-block: 34px; }
.section-heading { margin-bottom: 20px; gap: 20px; }
h1 { font-size: clamp(38px, 4.2vw, 54px); line-height: 1.06; }
h2 { font-size: clamp(27px, 2.6vw, 34px); line-height: 1.15; }
.section-heading p { font-size: 14px; line-height: 1.5; }
.eyebrow { font-size: 12px; }
.lead { max-width: 500px; font-size: 17px; line-height: 1.55; }
.photo-placeholder { font-size: 14px; line-height: 1.45; }
.button { min-height: 46px; padding-inline: 22px; font-size: 14px; line-height: 1.25; }
.button--small { min-width: 108px; min-height: 40px; padding-inline: 14px; font-size: 13px; }
.link-button { min-height: 37px; margin-top: 12px; padding: 7px 15px; font-size: 13px; }
.site-header { height: 76px; }
.site-header__inner { gap: 14px; }
.brand { flex-basis: 185px; gap: 9px; }
.brand__mark { width: 49px; height: 46px; }
.brand__copy strong { font-size: 17px; line-height: 1; }
.brand__copy small { font-size: 9px; line-height: 1.3; white-space: normal; }
.primary-nav { gap: clamp(10px, 1.35vw, 20px); }
.primary-nav a { font-size: 13px; }
.header-contact { gap: 12px; }
.header-phone strong { font-size: 14px; }
.header-phone small { font-size: 10px; }
.hero, .hero__inner, .hero__visual { min-height: 415px; }
.hero__inner { grid-template-columns: 49% 51%; }
.hero__content { padding-block: 46px 28px; }
.hero h1 { max-width: 520px; font-size: clamp(40px, 4vw, 52px); line-height: 1.04; margin-bottom: 17px; }
.hero__actions { gap: 12px; margin-block: 22px; flex-wrap: wrap; }
.hero__facts { gap: 17px; flex-wrap: wrap; }
.hero__facts > span { grid-template-columns: 30px 1fr; column-gap: 8px; }
.hero__facts img { width: 28px; height: 28px; }
.hero__facts strong { font-size: 12px; line-height: 1.3; }
.hero__facts small { font-size: 11px; line-height: 1.3; }
.advantages { padding-block: 28px; }
.advantages__grid { gap: 15px; }
.advantage-card { min-height: 145px; gap: 12px; padding: 19px 15px; }
.feature-icon { flex-basis: 48px; width: 48px; height: 48px; }
.advantage-card h3 { font-size: 17px; line-height: 1.22; margin-bottom: 8px; }
.advantage-card p { font-size: 13px; line-height: 1.48; }
.directions { padding-block: 30px 36px; }
.directions .section-heading { margin-bottom: 18px; }
.directions__grid { gap: 16px; }
.direction-card { grid-template-columns: 145px minmax(0, 1fr); min-height: 165px; }
.direction-card__art img { width: 137px; height: 130px; }
.direction-card__body { padding: 19px 15px; }
.direction-card h3, .direction-card__body h2 { font-size: 19px; line-height: 1.25; margin-bottom: 8px; }
.direction-card p { font-size: 13px; line-height: 1.5; }
.card-meta { font-size: 12px !important; }
.diagnostic { padding-block: 30px; }
.diagnostic__inner { grid-template-columns: minmax(0, 43%) minmax(0, 48%); gap: 40px; min-height: 330px; }
.diagnostic h2 { white-space: normal; font-size: clamp(26px, 2.4vw, 32px); line-height: 1.15; }
.diagnostic__copy > p { max-width: 460px; font-size: 15px; line-height: 1.55; }
.diagnostic__copy ul { gap: 13px; margin-top: 20px; font-size: 14px; }
.diagnostic__copy li { display: flex; align-items: flex-start; }
.diagnostic__copy li::before { flex: 0 0 21px; width: 21px; height: 21px; margin-top: 1px; }
.form-card { padding: 24px; }
.form-grid { gap: 15px; }
.form-card label { gap: 7px; font-size: 13px; }
.form-card input:not([type="checkbox"]), .form-card select { height: 44px; padding-inline: 12px; font-size: 14px; }
.consent { gap: 9px !important; margin-block: 15px; font-size: 12px !important; line-height: 1.45; }
.consent input { flex-shrink: 0; width: 17px; height: 17px; }
.form-card .button { min-height: 46px; font-size: 14px; }
.form-status { font-size: 13px; padding: 10px; }
.teacher { padding-block: 34px; }
.teacher .section-heading { margin-bottom: 18px; }
.teacher__grid { gap: 28px; }
.teacher__photo { min-height: 270px; }
.teacher__copy h3 { font-size: 25px; line-height: 1.2; margin-bottom: 12px; }
.teacher__copy p { font-size: 15px; line-height: 1.55; }
.teacher__facts { gap: 10px; margin-top: 18px; }
.teacher__facts div { min-height: 83px; padding: 13px; }
.teacher__facts img { width: 28px; height: 28px; }
.teacher__facts strong { font-size: 14px; }
.teacher__facts small { font-size: 11px; line-height: 1.4; }
.faq { padding-block: 30px; }
.faq__grid { gap: 10px 14px; }
.faq-item summary { min-height: 56px; padding: 15px 17px; font-size: 15px; line-height: 1.4; gap: 12px; }
.faq-item summary span { font-size: 18px; }
.faq-item p { padding: 0 17px 16px; font-size: 14px; line-height: 1.55; }
.contacts { padding-block: 30px 38px; }
.contacts__grid { gap: 20px; }
.map-placeholder, .map-placeholder iframe { min-height: 255px; }
.contact-list { gap: 20px; }
.contact-list a { gap: 5px; font-size: 15px; line-height: 1.4; overflow-wrap: anywhere; }
.contact-list small { font-size: 12px; }
.requisites { padding: 19px; }
.requisites p { font-size: 13px; line-height: 1.55; }
.site-footer { padding-block: 32px 24px; }
.site-footer__grid { gap: 24px; }
.site-footer a:not(.brand) { font-size: 13px; line-height: 1.45; margin-bottom: 9px; }
.footer-note { font-size: 12px; }
.breadcrumbs ol { font-size: 13px; }
.related-links span { font-size: 14px; }
.inner-page__lead { font-size: 17px; }
/* At laptop widths use the existing compact menu instead of forcing enlarged items into the header. */
@media (min-width: 901px) and (max-width: 1179px) {
  .brand { flex-basis: 150px; }
  .brand__copy strong { font-size: 15px; }
  .brand__copy small { font-size: 8px; }
  .primary-nav { gap: 9px; }
  .primary-nav a { font-size: 11px; }
  .header-phone strong { font-size: 12px; }
  .header-contact { gap: 8px; }
  .header-contact .button { min-width: 0; padding-inline: 10px; font-size: 12px; }
  .hero__facts { gap: 10px; }
  .hero__facts strong { font-size: 11px; }
  .hero__facts small { font-size: 10px; }
  .advantage-card { padding: 13px; }
  .advantage-card h3 { font-size: 15px; }
  .advantage-card p { font-size: 12px; }
  .diagnostic__inner { gap: 22px; }
}
@media (max-width: 900px) {
  .site-header { height: 68px; }
  .hero, .hero__inner { min-height: 0; }
  .hero__visual { min-height: 260px; }
  .hero__content { padding-block: 25px 30px; }
  .hero h1 { font-size: clamp(35px, 6vw, 46px); }
  .advantage-card { min-height: 130px; }
  .diagnostic__inner { grid-template-columns: 1fr; gap: 24px; min-height: 0; padding-block: 18px; }
  .form-card { max-width: 650px; width: 100%; }
  .teacher__photo { min-height: 240px; }
}
@media (max-width: 600px) {
  .section { padding-block: 26px; }
  .section-heading { align-items: flex-start; gap: 9px; margin-bottom: 16px; }
  .section-heading p { font-size: 13px; }
  h2 { font-size: 27px; }
  .hero h1 { font-size: clamp(33px, 8vw, 42px); }
  .hero__facts > span { min-width: 43%; }
  .hero__facts strong { font-size: 12px; }
  .hero__facts small { font-size: 11px; }
  .advantage-card { min-height: 0; }
  .direction-card { grid-template-columns: 100px minmax(0, 1fr); min-height: 155px; }
  .direction-card__art img { width: 98px; height: 110px; }
  .direction-card__body { padding: 14px 10px; }
  .direction-card h3, .direction-card__body h2 { font-size: 17px; }
  .direction-card p { font-size: 13px; }
  .form-card { padding: 18px 14px; }
  .form-grid { grid-template-columns: 1fr; }
  .teacher__facts { grid-template-columns: 1fr; }
  .teacher__facts div { min-height: 65px; }
  .faq__grid { grid-template-columns: 1fr; }
  .contacts__grid { grid-template-columns: 1fr; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 380px) {
  .hero__actions .button { width: 100%; }
  .hero__facts > span { min-width: 100%; }
  .site-footer__grid { grid-template-columns: 1fr; }
}


/* Source: components/footer.css */
/* Compact footer. SVG dimensions are explicitly constrained. */
.site-footer { padding: 30px 0 24px; color: #d8e7f5; background: #0d3a6a; }
.site-footer__grid { display: grid; grid-template-columns: 1.25fr .85fr 1.45fr 1fr; gap: 28px; align-items: start; }
.site-footer__grid > div { min-width: 0; }
.brand--footer { color: #fff; }
.brand--footer .brand__copy small { color: #91b0cc; }
.site-footer h3 { margin: 0 0 12px; color: #fff; font: 700 16px/1.25 var(--serif); }
.site-footer a:not(.brand) { display: block; margin: 0 0 9px; color: #d2e0ed; font-size: 13px; line-height: 1.45; text-decoration: none; }
.site-footer a:not(.brand):hover { color: #fff; }
/* Must override the generic footer anchor rule above. */
.site-footer a.footer-contact { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 13px; min-width: 0; }
.site-footer .footer-contact .icon-link__icon { display: block; flex: 0 0 18px; width: 18px; height: 18px; margin: 1px 0 0; color: #8ec0f2; }
.site-footer .footer-contact .icon-link__icon svg { display: block; width: 18px; height: 18px; max-width: 18px; max-height: 18px; fill: currentColor; }
.site-footer .footer-contact .icon-link__body { display: grid; flex: 1 1 auto; min-width: 0; gap: 3px; }
.site-footer .footer-contact .icon-link__title { color: #fff; font-size: 13px; font-weight: 600; line-height: 1.35; overflow-wrap: anywhere; }
.site-footer .footer-contact .icon-link__meta { color: #a9c4db; font-size: 11px; line-height: 1.35; }
.footer-note { margin: 18px 0 0; color: #9db8cf; font-size: 12px; }
@media (max-width: 900px) {
  .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; }
}
@media (max-width: 600px) {
  .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 14px; }
  .site-footer__grid > div:first-child { grid-column: 1 / -1; }
  .site-footer__grid > div:nth-child(3) { grid-column: 1 / -1; }
}
@media (max-width: 380px) { .site-footer__grid { grid-template-columns: 1fr; } .site-footer__grid > div:first-child, .site-footer__grid > div:nth-child(3) { grid-column: auto; } }

/* Source: pages/inner-extras.css */
/* Shared FAQ/contact blocks beneath internal page content. */
.inner-page + .faq, .page-intro ~ .faq, .service-page + .faq,
.inner-page + .contacts, .page-intro ~ .contacts, .service-page + .contacts {
    padding-block: 34px;
}
.faq + .contacts { border-top: 1px solid #e6edf4; }
@media (max-width: 600px) {
    .inner-page + .faq, .page-intro ~ .faq, .service-page + .faq,
    .inner-page + .contacts, .page-intro ~ .contacts, .service-page + .contacts {
        padding-block: 28px;
    }
}

/* Source: typography.css */
/* Unified site typography. Intentionally imported after section-level styles. */
:root {
  --type-body: 15px;
  --type-caption: 13px;
  --type-card-title: 18px;
  --type-section-title: 32px;
  --type-control: 15px;
}
body { font-size: var(--type-body); line-height: 1.55; }
/* Section headings have one scale, while H1 remains the page headline. */
.section h2, .diagnostic h2, .service-page__focus h2,
.service-page__related h2, .page-intro ~ .faq h2,
.page-intro ~ .contacts h2 { font-size: var(--type-section-title); line-height: 1.2; }
.section-heading p { font-size: var(--type-body); line-height: 1.5; }
/* Body copy is the same size across home and internal sections. */
.lead, .diagnostic__copy > p, .teacher__copy p, .advantage-card p,
.direction-card p, .faq-item p, .requisites p,
.inner-page__lead, .service-page__copy > p,
.service-page__focus li, .service-page__related p {
  font-size: var(--type-body); line-height: 1.55;
}
/* Uniform card names. The teacher's proper name is an emphasized subheading. */
.advantage-card h3, .direction-card h3, .direction-card__body h2,
.related-links__content strong { font-size: var(--type-card-title); line-height: 1.3; }
.teacher__copy h3 { font-size: 24px; line-height: 1.25; }
.faq-item summary { font-size: 16px; line-height: 1.45; }
/* Buttons and form controls share one legible control size. */
.button, .button--small, .link-button, .form-card .button,
.form-card input:not([type="checkbox"]), .form-card select {
  font-size: var(--type-control); line-height: 1.35;
}
.form-card label, .diagnostic__copy ul { font-size: var(--type-body); line-height: 1.5; }
.consent { font-size: var(--type-caption) !important; }
/* Contact values and notes are consistent across contact components. */
.contact-list .icon-link__title, .contact-list a,
.requisites h3 { font-size: var(--type-body); line-height: 1.4; }
.contact-list .icon-link__meta, .contact-list small,
.related-links .related-links__meta, .related-links .related-links__action,
.card-meta, .teacher__facts small { font-size: var(--type-caption) !important; }
/* Readable site furniture, but still subordinate to main content. */
.site-footer a:not(.brand), .site-footer .footer-contact .icon-link__title,
.site-footer .footer-contact .icon-link__meta { font-size: 13px; line-height: 1.5; }
.site-footer h3 { font-size: 17px; }
.site-footer .footer-note { font-size: 12px; }
.breadcrumbs ol { font-size: 13px; }
.related-links span { font-size: var(--type-body); }
@media (max-width: 600px) {
  :root { --type-body: 15px; --type-card-title: 17px; --type-section-title: 27px; }
  .section h2, .diagnostic h2, .service-page__focus h2,
  .service-page__related h2 { font-size: var(--type-section-title); }
  .faq-item summary { font-size: 15px; }
  .teacher__copy h3 { font-size: 22px; }
}

/* Source: faq-header-fix.css */
/* Final typography adjustments: imported after typography.css. */
.header-phone.icon-link { align-items: center; gap: 8px; flex-shrink: 0; }
.header-phone .icon-link__icon { width: 18px; height: 18px; flex-basis: 18px; margin-top: 0; }
.header-phone .icon-link__title,
.header-phone .icon-link__body strong { font-size: 14px; line-height: 1.3; font-weight: 700; letter-spacing: 0; }
.header-phone .icon-link__meta { font-size: 11px; line-height: 1.3; }
.primary-nav a { font-size: 13px; line-height: 1.4; }
.site-header .button { font-size: 14px; }

/* FAQ: aligned chevrons, readable copy, clear click area and focus state. */
.faq__grid { gap: 12px 16px; align-items: start; }
.faq-item { overflow: hidden; border: 1px solid #d8e5f0; border-radius: 10px; background: #fff; transition: border-color .2s, box-shadow .2s; }
.faq-item:hover { border-color: #9fc5e8; }
.faq-item[open] { border-color: #8cb9e1; box-shadow: 0 5px 16px rgba(13,58,106,.06); }
.faq-item summary { display: flex; align-items: center; justify-content: flex-start; min-height: 64px; gap: 13px; padding: 16px 18px; cursor: pointer; list-style: none; color: var(--color-navy); font-size: 16px; font-weight: 600; line-height: 1.45; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::marker { content: ''; }
.faq-item summary:focus-visible { outline: 2px solid var(--color-blue); outline-offset: -3px; border-radius: 10px; }
.faq-item summary .faq-item__leading { display: grid; place-items: center; flex: 0 0 27px; width: 27px; height: 27px; border-radius: 7px; color: var(--color-blue); background: #edf6ff; font-family: Arial, sans-serif; font-size: 27px; font-weight: 400; line-height: 1; transition: transform .2s, background-color .2s; }
.faq-item[open] summary .faq-item__leading { transform: rotate(90deg); background: #dceeff; }
.faq-item summary .faq-item__question { flex: 1; min-width: 0; font-size: inherit; line-height: inherit; }
.faq-item summary .faq-item__toggle { display: grid; place-items: center; flex: 0 0 26px; width: 26px; height: 26px; margin-left: auto; border-radius: 50%; background: #f2f7fb; color: var(--color-blue); font-size: inherit; }
.faq-item summary .faq-item__toggle svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
.faq-item[open] summary .faq-item__toggle svg { transform: rotate(180deg); }
.faq-item .faq-item__answer { padding: 0 18px 18px 58px; }
.faq-item .faq-item__answer p { padding: 0; margin: 0; font-size: 15px; line-height: 1.6; color: #536a82; }

/* Keep regular copy consistent across informational sections. */
.teacher__copy p, .advantage-card p, .direction-card p, .diagnostic__copy > p,
.contact-list .icon-link__title, .service-page__focus li, .service-page__related p { font-size: 15px; line-height: 1.55; }
@media (min-width: 901px) and (max-width: 1179px) {
  .header-phone .icon-link__title, .header-phone .icon-link__body strong { font-size: 13px; }
  .header-contact { gap: 8px; }
  .primary-nav { gap: 9px; }
  .primary-nav a { font-size: 11px; }
}
@media (max-width: 900px) {
  .header-phone .icon-link__title, .header-phone .icon-link__body strong { font-size: 14px; }
  .header-phone .icon-link__meta { display: none; }
}
@media (max-width: 600px) {
  .faq__grid { grid-template-columns: 1fr; gap: 10px; }
  .faq-item summary { min-height: 58px; padding: 13px 14px; font-size: 15px; gap: 10px; }
  .faq-item summary .faq-item__leading { flex-basis: 25px; width: 25px; height: 25px; }
  .faq-item .faq-item__answer { padding: 0 14px 15px 49px; }
}

/* Source: pages/catalog.css */
/* Grouped directions catalog – source: app/content.php */
.catalog-tabs { display:flex; flex-wrap:wrap; gap:10px; margin:24px 0 38px; }
.catalog-tabs a { display:inline-flex; align-items:center; min-height:43px; padding:9px 16px; border:1px solid #d9e7f5; border-radius:100px; background:#f5faff; color:var(--color-navy); text-decoration:none; font-size:14px; font-weight:700; transition:border-color .2s,background .2s; }
.catalog-tabs a:hover,.catalog-tabs a:focus-visible { background:#e9f4ff; border-color:var(--color-blue); }
.catalog-section { margin:0 0 48px; scroll-margin-top:32px; }
.catalog-section__heading { margin-bottom:20px; }
.catalog-section__heading h2 { font-size:32px; margin:0 0 8px; }
.catalog-section__heading p { max-width:800px; margin:0; font-size:15px; line-height:1.55; }
.catalog-section__grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; }
.catalog-card { display:flex; min-width:0; align-items:flex-start; gap:18px; padding:20px; border:1px solid #dbe8f4; border-radius:12px; background:#fff; transition:border-color .2s,box-shadow .2s; }
.catalog-card:hover { border-color:#aacded; box-shadow:0 8px 24px rgba(11,62,113,.07); }
.catalog-card__art { flex:0 0 92px; width:92px; height:92px; display:grid; place-items:center; overflow:hidden; border-radius:12px; background:#f0f8ff; }
.catalog-card__art img { width:88px; height:88px; object-fit:contain; }
.catalog-card__art .service-art__svg { width:46px; height:46px; opacity:.9; }
.catalog-card__body { min-width:0; flex:1; }
.catalog-card__meta { display:block; color:var(--color-blue); font-size:13px; font-weight:700; line-height:1.4; }
.catalog-card__body h3 { margin:5px 0 8px; font:700 19px/1.3 var(--serif); }
.catalog-card__body h3 a { color:var(--color-navy); text-decoration:none; }
.catalog-card__body h3 a:hover { color:var(--color-blue); text-decoration:underline; }
.catalog-card__body > p { margin:0 0 10px; font-size:15px; line-height:1.55; }
.catalog-card__topics { display:grid; gap:4px; margin:0 0 10px; padding-left:19px; color:#3d5c7e; font-size:14px; line-height:1.4; }
.catalog-card__topics li::marker { color:var(--color-blue); }
.catalog-card__more { display:block; margin:0 0 13px; font-size:13px; color:#617b98; }
.catalog-card__action { display:inline-flex; gap:7px; color:var(--color-blue); font-size:15px; font-weight:700; text-decoration:none; }
.catalog-card__action:hover { text-decoration:underline; }
.service-page__art .service-art__svg { max-width:132px; max-height:132px; width:45%; height:auto; }
.related-links__image .service-art__svg { max-width:52px; max-height:52px; width:55%; height:auto; }
.service-page__focus-lead { margin:-8px 0 20px; color:#5b718a; font-size:15px; line-height:1.55; }
.service-page__focus li { min-height:96px; }
.service-page__notice { margin:18px 0 0; padding:14px 18px; border-left:3px solid #8ab7dd; background:#f3f9fe; color:#48637e; font-size:14px; line-height:1.55; }
@media (max-width:900px) { .catalog-card { padding:16px; gap:12px; } .catalog-card__art { flex-basis:66px; width:66px; height:66px; } .catalog-card__art img { width:64px; height:64px; } .catalog-card__art .service-art__svg { width:39px; height:39px; } }
@media (max-width:700px) { .catalog-section__grid { grid-template-columns:1fr; } }
@media (max-width:600px) { .catalog-tabs { gap:8px; margin:20px 0 28px; } .catalog-tabs a { min-height:40px; padding:8px 11px; font-size:13px; } .catalog-section { margin-bottom:35px; } .catalog-section__heading h2 { font-size:27px; } .catalog-card { padding:15px; } .catalog-card__body h3 { font-size:18px; } .service-page__focus ul { grid-template-columns:1fr; } }

/* Useful service-specific copy. All layouts stay inside the existing 1180px container. */
.service-page__details { padding-top: 34px; }
.service-page__details > h2 { margin-bottom: 18px; font-size: 32px; line-height: 1.15; }
.service-page__details-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }
.service-page__detail { min-width: 0; padding: 23px; border-radius: 10px; border: 1px solid #dae8f5; background: #f7fbff; }
.service-page__detail h3, .service-page__preparation h3 { margin: 0 0 11px; color: var(--color-navy); font: 700 19px/1.3 var(--serif); }
.service-page__detail p, .service-page__preparation p { margin: 0; font-size: 15px; line-height: 1.62; color: #3a526a; }
.service-page__preparation { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 16px; padding: 20px 23px; border: 1px solid #dae8f5; border-radius: 10px; }
.service-page__preparation > div { min-width: 0; }
.service-page__preparation-link { display: inline-flex; align-items: center; flex: 0 0 auto; gap: 8px; font-size: 15px; font-weight: 700; color: var(--color-blue); text-decoration: none; }
.service-page__preparation-link:hover { text-decoration: underline; }
.service-page__topic-link { font-size: inherit; line-height: inherit; font-weight: inherit; text-decoration: underline; text-underline-offset: 3px; color: var(--color-navy); }
.service-page__topic-link:hover { color: var(--color-blue); }
@media (max-width: 760px) {
    .service-page__details-grid { grid-template-columns: 1fr; }
    .service-page__preparation { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 600px) {
    .service-page__details { padding-top: 28px; }
    .service-page__details > h2 { font-size: 27px; }
    .service-page__detail { padding: 17px; }
    .service-page__preparation { padding: 17px; }
}


/* ==== Contextual SEO links and compact SVG interlinking directory (v1) ==== */
.linking-context-wrap { padding-block: 2px 12px; }
.linking-context-wrap--home { margin-top: 7px; }
.linking-context { max-width: 900px; margin: 10px 0 22px; color: #40566e; font-size: 15px; line-height: 1.65; }
.page-intro .linking-context { margin: 12px 0 0; }
.service-page__copy .linking-context { max-width: 650px; margin: 6px 0 20px; }
.directions-page > .container > .linking-context { margin: -8px 0 22px; }
.content-link { color: #145e9d; font-size: inherit; font-weight: 600; text-decoration: underline; text-decoration-color: #9ebfda; text-underline-offset: 3px; overflow-wrap: anywhere; transition: color .15s, text-decoration-color .15s; }
.content-link:hover { color: #093b69; text-decoration-color: currentColor; }
.content-link:focus-visible { outline: 2px solid #2373b6; outline-offset: 3px; border-radius: 2px; }

/* Interlinking directory: isolated rules for the four-group and single-group variants. */
.lesson-linking {
    padding: 30px 0 34px;
    border-top: 1px solid #e4ebf2;
    background: #f7fafc;
}
.lesson-linking__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px 24px;
    margin-bottom: 6px;
}
.lesson-linking__header h2 {
    display: block;
    margin: 0;
    color: var(--color-navy);
    font-size: 32px;
    line-height: 1.2;
}
.lesson-linking__header h2::after { display: none; }
.lesson-linking__all {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 38px;
    color: #165f9e;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    text-decoration: none;
    white-space: nowrap;
}
.lesson-linking__all > span { text-decoration: underline; text-decoration-color: #a7c6df; text-underline-offset: 3px; }
.lesson-linking__all > svg {
    display: block;
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    max-width: none;
    transition: transform .16s ease;
}
.lesson-linking__all:hover > span { text-decoration-color: currentColor; }
.lesson-linking__all:hover > svg { transform: translateX(3px); }
.lesson-linking__all:focus-visible { outline: 2px solid #2373b6; outline-offset: 4px; border-radius: 3px; }
.lesson-linking__intro {
    margin: 0 0 20px;
    max-width: 800px;
    color: #64768b;
    font-size: 15px;
    line-height: 1.55;
}
.lesson-linking__groups {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    gap: 16px;
}
.lesson-linking__groups--single { grid-template-columns: minmax(0, 1fr); }
.lesson-linking__group {
    min-width: 0;
    padding: 16px 18px 13px;
    border: 1px solid #dfe8f0;
    border-radius: 10px;
    background: #fff;
}
.lesson-linking__group-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 12px;
    margin-bottom: 4px;
    border-bottom: 1px solid #e8eef3;
}
.lesson-linking__group h3 {
    margin: 0;
    min-width: 0;
    color: #123b63;
    font: 700 18px/1.35 var(--serif);
}
.lesson-linking__count {
    flex: 0 0 auto;
    color: #73859a;
    font: 600 13px/1.2 var(--sans);
    font-variant-numeric: tabular-nums;
}
.lesson-linking__group ul {
    display: grid;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}
.lesson-linking__group li { min-width: 0; }
.lesson-linking__group a {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 42px;
    padding: 8px 9px;
    margin-inline: -9px;
    border-radius: 6px;
    color: #274966;
    font-size: 15px;
    line-height: 1.4;
    font-weight: 500;
    text-decoration: none;
    overflow-wrap: anywhere;
    transition: color .16s ease, background-color .16s ease;
}
.lesson-linking__group li + li { border-top: 1px solid #eef2f6; }
.lesson-linking__group a:hover { color: #135e9c; background: #f1f7fc; }
.lesson-linking__group a:focus-visible { outline: 2px solid #1f6eae; outline-offset: -2px; background: #f1f7fc; }
.lesson-linking__arrow {
    display: block;
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    max-width: none;
    padding: 5px;
    border-radius: 6px;
    color: #287ab4;
    background: #eef6fc;
    transition: background-color .16s ease, transform .16s ease;
}
.lesson-linking__group a:hover .lesson-linking__arrow { background: #ddecf7; transform: translateX(2px); }

/* Dedicated lesson pages: one balanced navigation panel and compact multi-column links. */
.lesson-linking__groups--single .lesson-linking__group ul {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0 18px;
}
.lesson-linking__groups--single .lesson-linking__group li + li { border-top: 0; }
.lesson-linking__groups--single .lesson-linking__group li { border-bottom: 1px solid #eef2f6; }

@media (max-width: 900px) {
    .lesson-linking__groups--single .lesson-linking__group ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
    .lesson-linking__groups { grid-template-columns: minmax(0, 1fr); gap: 12px; }
    .lesson-linking__groups--single .lesson-linking__group ul { grid-template-columns: minmax(0, 1fr); }
    .lesson-linking__header { align-items: flex-start; }
    .lesson-linking__all { min-height: 30px; }
}
@media (max-width: 600px) {
    .lesson-linking { padding: 24px 0 28px; }
    .lesson-linking__header h2 { font-size: 27px; }
    .lesson-linking__intro { margin-bottom: 14px; }
    .lesson-linking__group { padding: 13px 14px 10px; border-radius: 8px; }
    .lesson-linking__group-head { padding-bottom: 10px; }
    .lesson-linking__group h3 { font-size: 18px; }
    .lesson-linking__group a { min-height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
    .lesson-linking__all > svg, .lesson-linking__arrow { transition: none; }
    .lesson-linking__all:hover > svg, .lesson-linking__group a:hover .lesson-linking__arrow { transform: none; }
}

/* Focus-list SVG: fixed, semantic pictograms. Do not affect other page SVGs. */
.service-page__focus li {
    display: flex;
    align-items: center;
    gap: 13px;
    min-height: 92px;
    padding: 17px;
}
.service-page__focus .service-page__focus-icon {
    display: grid;
    place-items: center;
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    margin: 0;
    overflow: hidden;
    border: 1px solid #d8e9f7;
    border-radius: 10px;
    background: #fff;
    color: var(--color-blue);
    box-shadow: none;
}
.service-page__focus .service-page__focus-icon > svg {
    display: block;
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    max-width: none;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
}
.service-page__focus li > span:not(.service-page__focus-icon),
.service-page__focus .service-page__topic-link { min-width: 0; overflow-wrap: anywhere; }
.service-page__focus .service-page__topic-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--color-navy);
    text-decoration: underline;
    text-decoration-color: #a0c5e3;
    text-underline-offset: 3px;
}
.service-page__focus .service-page__topic-link:hover { color: var(--color-blue); text-decoration-color: currentColor; }
.service-page__focus .service-page__topic-link:focus-visible { outline: 2px solid var(--color-blue); outline-offset: 3px; }
.service-page__focus .service-page__topic-arrow {
    display: block;
    flex: 0 0 15px;
    width: 15px;
    height: 15px;
    max-width: none;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
}
@media (max-width: 600px) {
    .service-page__focus li { min-height: 76px; padding: 14px; }
    .service-page__focus .service-page__focus-icon { flex-basis: 36px; width: 36px; height: 36px; }
}

/* Source: scale-104.css */
/* Site-wide 104% size layer (replaces the previous 108% layer).
 * Fonts, controls, cards, icons and spacing are 4% above baseline.
 * Full-width section backgrounds and the approved 1180px content width are preserved.
 * Responsive breakpoints, 1px hairlines and existing width safeguards are unchanged.
 */

/* From: base/tokens.css *//* Site-wide 104% size layer (replaces the previous 108% layer).
 * Fonts, controls, cards, icons and spacing are 4% above baseline.
 * Full-width section backgrounds and the approved 1180px content width are preserved.
 * Responsive breakpoints, 1px hairlines and existing width safeguards are unchanged.
 */

:root { --radius-card: 8.32px; --shadow-cta: 0 5.2px 12.48px rgba(13, 103, 200, .2); }

/* From: base/global.css */
.section { padding: 17.68px 0 15.6px; }
.section-heading { gap: 18.72px; margin-bottom: 10.4px; }
h1 { margin-bottom: 14.56px; font-size: clamp(37.44px, 5vw, 52px); }
h2 { gap: 18.72px; font-size: 29.12px; }
h2::after { width: 31.2px; height: 2.08px; }
.section-heading p { font-size: 10.4px; }
.eyebrow { margin-bottom: 8.32px; font-size: 10.4px; }
.lead { max-width: 416px; font-size: 13.52px; }
.photo-placeholder { font-size: 12.48px; }
.not-found { padding-block: 83.2px; }
.icon-link { gap: 12.48px; }
.icon-link__icon { flex: 0 0 18.72px; width: 18.72px; height: 18.72px; margin-top: 2.08px; }
.icon-link__body { gap: 4.16px; }
@media (max-width: 900px) {
  .container { width: min(100% - 33.28px, 748.8px); }
}
@media (max-width: 600px) {
  .section-heading { gap: 7.28px; }
}
@media (max-width: 520px) {
  .container { width: min(100% - 24.96px, 436.8px); }
}

/* From: components/buttons.css */
.button { min-height: 33.28px; padding: 0 20.8px; border-radius: 6.24px; font-size: 10.4px; }
.button span { margin-left: 12.48px; font-size: 14.56px; }
.button--small { min-width: 89.44px; min-height: 29.12px; padding-inline: 14.56px; font-size: 8.32px; }
.link-button { min-width: 108.16px; gap: 8.32px; margin-top: 9.36px; padding: 5.2px 12.48px; border-radius: 5.2px; font-size: 9.36px; }

/* From: components/header.css */
.site-header { height: 56.16px; }
.site-header__inner { gap: 20.8px; }
.brand { gap: 7.28px; flex: 0 0 205.92px; }
.brand__mark { width: 50.96px; height: 41.6px; }
.brand__copy strong { font: 700 14.56px/.92 var(--serif); }
.brand__copy small { margin-top: 4.16px; font-size: 5.72px; }
.primary-nav { gap: 22.88px; }
.primary-nav a { font-size: 8.32px; }
.primary-nav a::after { bottom: 11.44px; height: 1.56px; }
.header-contact { gap: 17.68px; }
.header-phone .icon-link__icon { width: 15.6px; height: 15.6px; }
.header-phone .icon-link__title { font-size: 10.4px; }
.header-phone .icon-link__meta { font-size: 6.76px; }
@media (max-width: 900px) {
  .site-header { height: 70.72px; }
  .menu-toggle { gap: 4.16px; width: 43.68px; height: 43.68px; border-radius: 6.24px; }
  .menu-toggle span[aria-hidden] { width: 19.76px; height: 2.08px; }
  .primary-nav { top: 70.72px; padding: 16.64px; box-shadow: 0 10.4px 20.8px rgba(14,49,95,.12); }
  .primary-nav a { min-height: 45.76px; font-size: 14.56px; }
}

/* From: sections/hero.css */
.hero { min-height: 293.28px; }
.hero__inner { min-height: 293.28px; }
.hero__content { padding: 26px 0 9.36px; }
.hero h1 { max-width: 447.2px; margin-bottom: 11.44px; font-size: 42.64px; }
.hero__actions { gap: 12.48px; margin: 13.52px 0 15.6px; }
.hero__facts { gap: 19.76px; }
.hero__facts > span { grid-template-columns: 22.88px 1fr; column-gap: 6.24px; }
.hero__facts img { width: 22.88px; height: 22.88px; }
.hero__facts strong, .hero__facts small { font-size: 8.32px; }
.hero__facts small { font-size: 7.28px; }
.hero__visual { min-height: 293.28px; }
.hero__visual.photo-placeholder span { padding: 10.4px 14.56px; border-radius: 6.24px; box-shadow: 0 3.12px 12.48px rgba(17,67,108,.08); }
@media (max-width: 900px) {
  .hero__visual { min-height: 208px; }
  .hero__content { padding-top: 20.8px; }
  .hero h1 { max-width: 644.8px; font-size: 40.56px; }
}
@media (max-width: 600px) {
  .hero h1 { font-size: 35.36px; }
  .hero__facts { gap: 9.36px; }
}

/* From: sections/advantages.css */
.advantages { padding: 6.24px 0 8.32px; }
.advantages .section-heading { margin-bottom: 8.32px; }
.advantages__grid { gap: 12.48px; }
.advantage-card { gap: 10.4px; min-height: 101.92px; padding: 13.52px 12.48px; }
.feature-icon { flex: 0 0 48.88px; width: 48.88px; height: 48.88px; box-shadow: 0 2.08px 7.28px rgba(19,77,128,.1); }
.feature-icon img { width: 29.12px; height: 29.12px; }
.advantage-card h3 { margin: 1px 0 6.24px; font: 700 12.48px/1.05 var(--serif); }
.advantage-card p { font-size: 9.36px; }

/* From: sections/directions.css */
.directions { padding-top: 8.32px; padding-bottom: 19.76px; }
.directions .section-heading { margin-bottom: 6.24px; }
.directions__grid { gap: 12.48px; }
.direction-card { grid-template-columns: 128.96px minmax(0, 1fr); min-height: 115.44px; border-radius: 7.28px; }
.direction-card::after { right: 13.52px; top: 12.48px; width: 76.96px; height: 91.52px; }
.direction-card__art img { width: 122.72px; height: 104px; filter: drop-shadow(0 5.2px 7.28px rgba(32, 70, 105, .12)); }
.direction-card__body { padding: 10.4px; }
.direction-card h3, .direction-card__body h2 { margin: 1px 0 6.24px; font: 700 13.52px/1.05 var(--serif); }
.direction-card p { font-size: 9.36px; }
.card-meta { margin-bottom: 3.12px !important; font-size: 8.32px !important; }
@media (max-width: 600px) {
  .direction-card { grid-template-columns: 109.2px 1fr; }
}

/* From: sections/diagnostic.css */
.diagnostic__inner { gap: 26px; min-height: 218.4px; }
.diagnostic h2 { margin-bottom: 11.44px; font-size: 24.96px; }
.diagnostic__copy > p { max-width: 374.4px; font-size: 12.48px; }
.diagnostic__copy ul { gap: 6.24px; margin: 11.44px 0 0; font-size: 10.4px; }
.diagnostic__copy li::before { width: 17.68px; height: 17.68px; margin-right: 7.28px; }
.form-card { padding: 12.48px 18.72px 13.52px; border-radius: 7.28px; box-shadow: 0 5.2px 20.8px rgba(45,92,126,.1); }
.form-card h3 { margin-bottom: 10.4px; font: 700 16.64px var(--serif); }
.form-grid { gap: 9.36px 12.48px; }
.form-card label { gap: 4.16px; font-size: 9.36px; }
.form-card input:not([type="checkbox"]), .form-card select { height: 28.08px; padding: 0 9.36px; border-radius: 4.16px; font-size: 9.36px; }
.consent { gap: 6.24px !important; margin: 10.4px 0; font-size: 8.32px !important; }
.form-card .button { min-height: 32.24px; font-size: 10.4px; }
.honeypot { left: -10398.94px; }
.form-status { margin: 0 0 9.36px; padding: 7.28px; border-radius: 4.16px; font-size: 9.36px; }
@media (max-width: 900px) {
  .diagnostic__inner { gap: 22.88px; padding-block: 20.8px; }
}

/* From: sections/teacher.css */
.teacher { padding: 10.4px 0 9.36px; }
.teacher .section-heading { margin-bottom: 7.28px; }
.teacher__grid { gap: 20.8px; }
.teacher__photo { min-height: 187.2px; border-radius: 6.24px; }
.teacher__photo span { padding: 8.32px 12.48px; border-radius: 5.2px; }
.teacher__copy h3 { margin: 0 0 4.16px; font: 700 18.72px var(--serif); }
.teacher__copy p { margin-bottom: 8.32px; font-size: 10.4px; }
.teacher__facts { gap: 8.32px; margin-top: 12.48px; }
.teacher__facts div { min-height: 52px; padding: 8.32px 9.36px; border-radius: 7.28px; }
.teacher__facts img { width: 24.96px; height: 24.96px; margin: 1px 7.28px 0 0; }
.teacher__facts strong { font: 700 10.4px var(--serif); }
.teacher__facts small { margin-top: 3.12px; font-size: 7.28px; }

/* From: sections/faq.css */
.faq { padding: 2.08px 0 8.32px; }
.faq .section-heading { margin-bottom: 6.24px; }
.faq__grid { gap: 5.2px 10.4px; }
.faq-item { border-radius: 5.2px; }
.faq-item summary { padding: 6.24px 12.48px; font-size: 10.4px; }
.faq-item summary span { font-size: 13.52px; }
.faq-item p { padding: 0 12.48px 7.28px; font-size: 9.36px; }

/* From: sections/contacts.css */
.contacts { padding: 3.12px 0 8.32px; }
.contacts .section-heading { margin-bottom: 7.28px; }
.contacts__grid { gap: 18.72px; }
.map-placeholder { min-height: 147.68px; border-radius: 6.24px; }
.map-placeholder iframe { min-height: 147.68px; }
.contact-list { gap: 16.64px; }
.contact-list .icon-link__icon { width: 20.8px; height: 20.8px; }
.contact-list .icon-link__title { font-size: 10.4px; }
.contact-list .icon-link__meta { font-size: 8.32px; }
.requisites { padding: 12.48px; border-radius: 6.24px; }
.requisites h3 { margin-bottom: 8.32px; font: 700 14.56px var(--serif); }
.requisites p { font-size: 9.36px; }
@media (max-width: 900px) {
  .map-placeholder { min-height: 228.8px; }
}
@media (max-width: 600px) {
  .map-placeholder { min-height: 249.6px; }
}

/* From: pages/inner.css */
.inner-page { min-height: 540.8px; padding-top: 36.4px; }
.inner-page h1 { max-width: 748.8px; }
.inner-page__lead { max-width: 748.8px; margin-bottom: 24.96px; font-size: 15.6px; }
.breadcrumbs { margin-bottom: 22.88px; }
.breadcrumbs ol { gap: 7.28px; font-size: 10.4px; }
.breadcrumbs li:not(:last-child)::after { margin-left: 7.28px; }
.directions-page__grid { margin-top: 26px; }
.page-intro { padding: 31.2px 0 12.48px; }
.page-intro .breadcrumbs { margin-bottom: 18.72px; }
.page-intro h1 { font-size: clamp(35.36px, 4vw, 47.84px); }
.service-page__hero { grid-template-columns: minmax(0, 1fr) 312px; gap: 49.92px; padding: 29.12px; border-radius: 12.48px; }
.service-page__copy h1 { font-size: clamp(35.36px, 4vw, 49.92px); }
.service-page__art { min-height: 228.8px; border-radius: 10.4px; }
.service-page__art img { width: 260px; height: 208px; }
.service-page__focus, .service-page__related { padding-top: 41.6px; }
.service-page__focus h2, .service-page__related h2 { margin-bottom: 22.88px; font-size: 27.04px; }
.service-page__focus ul { gap: 16.64px; }
.service-page__focus li { min-height: 95.68px; padding: 20.8px; }
.related-links { gap: 12.48px; margin-bottom: 33.28px; }
.related-links a { gap: 5.2px; padding: 16.64px; }
.related-links span { font-size: 11.44px; }
@media (max-width: 900px) {
  .service-page__hero { grid-template-columns: 1fr 228.8px; gap: 24.96px; }
  .service-page__art { min-height: 187.2px; }
  .service-page__art img { width: 197.6px; height: 166.4px; }
}
@media (max-width: 600px) {
  .inner-page { padding-top: 24.96px; }
  .service-page__hero { padding: 20.8px; }
}
.service-page__focus li { gap: 14.56px; }
.service-page__focus-icon { flex: 0 0 39.52px; width: 39.52px; height: 39.52px; border-radius: 11.44px; box-shadow: 0 2.08px 9.36px rgba(15,74,126,.07); }
.service-page__focus-icon svg { width: 22.88px; height: 22.88px; }
.related-links a { gap: 13.52px; min-height: 131.04px; }
.related-links a:hover, .related-links a:focus-visible { box-shadow: 0 6.24px 18.72px rgba(16,75,124,.1); transform: translateY(-2.08px); }
.related-links__image { flex: 0 0 99.84px; width: 99.84px; height: 99.84px; }
.related-links__content { gap: 6.24px; }
.related-links__content strong { font-size: 16.64px; }
.related-links .related-links__meta { font-size: 12.48px; }
.related-links .related-links__action { font-size: 12.48px; }
@media (max-width: 600px) {
  .related-links a { min-height: 112.32px; }
  .related-links__image { flex-basis: 85.28px; width: 85.28px; height: 85.28px; }
}
.related-lessons__all, .service-page__all-directions { gap: 8.32px; font-size: 15.6px; }
.related-lessons__lead, .service-page__related-intro { max-width: 852.8px; margin: 0 0 22.88px; font-size: 15.6px; }
.related-lessons__grid { gap: 16.64px; }
.related-lesson { gap: 16.64px; min-height: 137.28px; padding: 17.68px; border-radius: 12.48px; }
.related-lesson:hover, .related-lesson:focus-visible { box-shadow: 0 6.24px 18.72px rgba(16,75,124,.1); }
.related-lesson:focus-visible { outline: 2.08px solid var(--color-blue); outline-offset: 3.12px; }
.related-lesson__image { flex: 0 0 97.76px; width: 97.76px; height: 97.76px; }
.related-lesson__content { gap: 5.2px; }
.related-lesson__content strong { font-size: 18.72px; }
.related-lesson__meta { font-size: 13.52px; }
.related-lesson__action { font-size: 15.6px; }
.service-page__related .related-links { margin-bottom: 20.8px; }
.service-page__all-directions { margin-bottom: 5.2px; }
@media (max-width: 700px) {
  .related-lesson { min-height: 116.48px; }
}
@media (max-width: 380px) {
  .related-lesson { padding: 12.48px; gap: 12.48px; }
  .related-lesson__image { flex-basis: 79.04px; width: 79.04px; height: 79.04px; }
  .related-lesson__content strong { font-size: 17.68px; }
}

/* From: sections/reference-alignment.css */
@media (min-width: 901px) and (max-width: 1199px) {
  .hero { min-height: 288.08px; }
  .hero__inner,.hero__visual { min-height: 288.08px; }
  .hero__content { padding-top: 26px; }
  .hero h1 { font-size: 44.72px; }
  .advantages { padding-top: 9.36px; padding-bottom: 9.36px; }
  .advantage-card { min-height: 102.96px; }
  .directions { padding-top: 9.36px; padding-bottom: 17.68px; }
  .direction-card { min-height: 114.4px; }
  .diagnostic__inner { min-height: 216.32px; }
  .teacher__photo { min-height: 188.24px; }
  .teacher { padding-top: 10.4px; padding-bottom: 8.32px; }
  .map-placeholder { min-height: 149.76px; }
}

/* From: scale.css */
body { font-size: 16.64px; }
.section { padding-block: 35.36px; }
.section-heading { margin-bottom: 20.8px; gap: 20.8px; }
h1 { font-size: clamp(39.52px, 4.2vw, 56.16px); }
h2 { font-size: clamp(28.08px, 2.6vw, 35.36px); }
.section-heading p { font-size: 14.56px; }
.eyebrow { font-size: 12.48px; }
.lead { max-width: 520px; font-size: 17.68px; }
.photo-placeholder { font-size: 14.56px; }
.button { min-height: 47.84px; padding-inline: 22.88px; font-size: 14.56px; }
.button--small { min-width: 112.32px; min-height: 41.6px; padding-inline: 14.56px; font-size: 13.52px; }
.link-button { min-height: 38.48px; margin-top: 12.48px; padding: 7.28px 15.6px; font-size: 13.52px; }
.site-header { height: 79.04px; }
.site-header__inner { gap: 14.56px; }
.brand { flex-basis: 192.4px; gap: 9.36px; }
.brand__mark { width: 50.96px; height: 47.84px; }
.brand__copy strong { font-size: 17.68px; }
.brand__copy small { font-size: 9.36px; }
.primary-nav { gap: clamp(10.4px, 1.35vw, 20.8px); }
.primary-nav a { font-size: 13.52px; }
.header-contact { gap: 12.48px; }
.header-phone strong { font-size: 14.56px; }
.header-phone small { font-size: 10.4px; }
.hero, .hero__inner, .hero__visual { min-height: 431.6px; }
.hero__content { padding-block: 47.84px 29.12px; }
.hero h1 { max-width: 540.8px; font-size: clamp(41.6px, 4vw, 54.08px); margin-bottom: 17.68px; }
.hero__actions { gap: 12.48px; margin-block: 22.88px; }
.hero__facts { gap: 17.68px; }
.hero__facts > span { grid-template-columns: 31.2px 1fr; column-gap: 8.32px; }
.hero__facts img { width: 29.12px; height: 29.12px; }
.hero__facts strong { font-size: 12.48px; }
.hero__facts small { font-size: 11.44px; }
.advantages { padding-block: 29.12px; }
.advantages__grid { gap: 15.6px; }
.advantage-card { min-height: 150.8px; gap: 12.48px; padding: 19.76px 15.6px; }
.feature-icon { flex-basis: 49.92px; width: 49.92px; height: 49.92px; }
.advantage-card h3 { font-size: 17.68px; margin-bottom: 8.32px; }
.advantage-card p { font-size: 13.52px; }
.directions { padding-block: 31.2px 37.44px; }
.directions .section-heading { margin-bottom: 18.72px; }
.directions__grid { gap: 16.64px; }
.direction-card { grid-template-columns: 150.8px minmax(0, 1fr); min-height: 171.6px; }
.direction-card__art img { width: 142.48px; height: 135.2px; }
.direction-card__body { padding: 19.76px 15.6px; }
.direction-card h3, .direction-card__body h2 { font-size: 19.76px; margin-bottom: 8.32px; }
.direction-card p { font-size: 13.52px; }
.card-meta { font-size: 12.48px !important; }
.diagnostic { padding-block: 31.2px; }
.diagnostic__inner { gap: 41.6px; min-height: 343.2px; }
.diagnostic h2 { font-size: clamp(27.04px, 2.4vw, 33.28px); }
.diagnostic__copy > p { max-width: 478.4px; font-size: 15.6px; }
.diagnostic__copy ul { gap: 13.52px; margin-top: 20.8px; font-size: 14.56px; }
.diagnostic__copy li::before { flex: 0 0 21.84px; width: 21.84px; height: 21.84px; }
.form-card { padding: 24.96px; }
.form-grid { gap: 15.6px; }
.form-card label { gap: 7.28px; font-size: 13.52px; }
.form-card input:not([type="checkbox"]), .form-card select { height: 45.76px; padding-inline: 12.48px; font-size: 14.56px; }
.consent { gap: 9.36px !important; margin-block: 15.6px; font-size: 12.48px !important; }
.consent input { width: 17.68px; height: 17.68px; }
.form-card .button { min-height: 47.84px; font-size: 14.56px; }
.form-status { font-size: 13.52px; padding: 10.4px; }
.teacher { padding-block: 35.36px; }
.teacher .section-heading { margin-bottom: 18.72px; }
.teacher__grid { gap: 29.12px; }
.teacher__photo { min-height: 280.8px; }
.teacher__copy h3 { font-size: 26px; margin-bottom: 12.48px; }
.teacher__copy p { font-size: 15.6px; }
.teacher__facts { gap: 10.4px; margin-top: 18.72px; }
.teacher__facts div { min-height: 86.32px; padding: 13.52px; }
.teacher__facts img { width: 29.12px; height: 29.12px; }
.teacher__facts strong { font-size: 14.56px; }
.teacher__facts small { font-size: 11.44px; }
.faq { padding-block: 31.2px; }
.faq__grid { gap: 10.4px 14.56px; }
.faq-item summary { min-height: 58.24px; padding: 15.6px 17.68px; font-size: 15.6px; gap: 12.48px; }
.faq-item summary span { font-size: 18.72px; }
.faq-item p { padding: 0 17.68px 16.64px; font-size: 14.56px; }
.contacts { padding-block: 31.2px 39.52px; }
.contacts__grid { gap: 20.8px; }
.map-placeholder, .map-placeholder iframe { min-height: 265.2px; }
.contact-list { gap: 20.8px; }
.contact-list a { gap: 5.2px; font-size: 15.6px; }
.contact-list small { font-size: 12.48px; }
.requisites { padding: 19.76px; }
.requisites p { font-size: 13.52px; }
.site-footer { padding-block: 33.28px 24.96px; }
.site-footer__grid { gap: 24.96px; }
.site-footer a:not(.brand) { font-size: 13.52px; margin-bottom: 9.36px; }
.footer-note { font-size: 12.48px; }
.breadcrumbs ol { font-size: 13.52px; }
.related-links span { font-size: 14.56px; }
.inner-page__lead { font-size: 17.68px; }
@media (min-width: 901px) and (max-width: 1179px) {
  .brand { flex-basis: 156px; }
  .brand__copy strong { font-size: 15.6px; }
  .brand__copy small { font-size: 8.32px; }
  .primary-nav { gap: 9.36px; }
  .primary-nav a { font-size: 11.44px; }
  .header-phone strong { font-size: 12.48px; }
  .header-contact { gap: 8.32px; }
  .header-contact .button { padding-inline: 10.4px; font-size: 12.48px; }
  .hero__facts { gap: 10.4px; }
  .hero__facts strong { font-size: 11.44px; }
  .hero__facts small { font-size: 10.4px; }
  .advantage-card { padding: 13.52px; }
  .advantage-card h3 { font-size: 15.6px; }
  .advantage-card p { font-size: 12.48px; }
  .diagnostic__inner { gap: 22.88px; }
}
@media (max-width: 900px) {
  .site-header { height: 70.72px; }
  .hero__visual { min-height: 270.4px; }
  .hero__content { padding-block: 26px 31.2px; }
  .hero h1 { font-size: clamp(36.4px, 6vw, 47.84px); }
  .advantage-card { min-height: 135.2px; }
  .diagnostic__inner { gap: 24.96px; padding-block: 18.72px; }
  .form-card { max-width: 676px; }
  .teacher__photo { min-height: 249.6px; }
}
@media (max-width: 600px) {
  .section { padding-block: 27.04px; }
  .section-heading { gap: 9.36px; margin-bottom: 16.64px; }
  .section-heading p { font-size: 13.52px; }
  h2 { font-size: 28.08px; }
  .hero h1 { font-size: clamp(34.32px, 8vw, 43.68px); }
  .hero__facts strong { font-size: 12.48px; }
  .hero__facts small { font-size: 11.44px; }
  .direction-card { grid-template-columns: 104px minmax(0, 1fr); min-height: 161.2px; }
  .direction-card__art img { width: 101.92px; height: 114.4px; }
  .direction-card__body { padding: 14.56px 10.4px; }
  .direction-card h3, .direction-card__body h2 { font-size: 17.68px; }
  .direction-card p { font-size: 13.52px; }
  .form-card { padding: 18.72px 14.56px; }
  .teacher__facts div { min-height: 67.6px; }
}

/* From: components/footer.css */
.site-footer { padding: 31.2px 0 24.96px; }
.site-footer__grid { gap: 29.12px; }
.site-footer h3 { margin: 0 0 12.48px; font: 700 16.64px/1.25 var(--serif); }
.site-footer a:not(.brand) { margin: 0 0 9.36px; font-size: 13.52px; }
.site-footer a.footer-contact { gap: 10.4px; margin-bottom: 13.52px; }
.site-footer .footer-contact .icon-link__icon { flex: 0 0 18.72px; width: 18.72px; height: 18.72px; }
.site-footer .footer-contact .icon-link__icon svg { width: 18.72px; height: 18.72px; max-width: 18.72px; max-height: 18.72px; }
.site-footer .footer-contact .icon-link__body { gap: 3.12px; }
.site-footer .footer-contact .icon-link__title { font-size: 13.52px; }
.site-footer .footer-contact .icon-link__meta { font-size: 11.44px; }
.footer-note { margin: 18.72px 0 0; font-size: 12.48px; }
@media (max-width: 900px) {
  .site-footer__grid { gap: 27.04px; }
}
@media (max-width: 600px) {
  .site-footer__grid { gap: 22.88px 14.56px; }
}

/* From: pages/inner-extras.css */
.inner-page + .faq, .page-intro ~ .faq, .service-page + .faq,
.inner-page + .contacts, .page-intro ~ .contacts, .service-page + .contacts { padding-block: 35.36px; }
@media (max-width: 600px) {
  .inner-page + .faq, .page-intro ~ .faq, .service-page + .faq,
    .inner-page + .contacts, .page-intro ~ .contacts, .service-page + .contacts { padding-block: 29.12px; }
}

/* From: typography.css */
:root { --type-body: 15.6px; --type-caption: 13.52px; --type-card-title: 18.72px; --type-section-title: 33.28px; --type-control: 15.6px; }
.teacher__copy h3 { font-size: 24.96px; }
.faq-item summary { font-size: 16.64px; }
.site-footer a:not(.brand), .site-footer .footer-contact .icon-link__title,
.site-footer .footer-contact .icon-link__meta { font-size: 13.52px; }
.site-footer h3 { font-size: 17.68px; }
.site-footer .footer-note { font-size: 12.48px; }
.breadcrumbs ol { font-size: 13.52px; }
@media (max-width: 600px) {
  :root { --type-body: 15.6px; --type-card-title: 17.68px; --type-section-title: 28.08px; }
  .faq-item summary { font-size: 15.6px; }
  .teacher__copy h3 { font-size: 22.88px; }
}

/* From: faq-header-fix.css */
.header-phone.icon-link { gap: 8.32px; }
.header-phone .icon-link__icon { width: 18.72px; height: 18.72px; flex-basis: 18.72px; }
.header-phone .icon-link__title,
.header-phone .icon-link__body strong { font-size: 14.56px; }
.header-phone .icon-link__meta { font-size: 11.44px; }
.primary-nav a { font-size: 13.52px; }
.site-header .button { font-size: 14.56px; }
.faq__grid { gap: 12.48px 16.64px; }
.faq-item { border-radius: 10.4px; }
.faq-item[open] { box-shadow: 0 5.2px 16.64px rgba(13,58,106,.06); }
.faq-item summary { min-height: 66.56px; gap: 13.52px; padding: 16.64px 18.72px; font-size: 16.64px; }
.faq-item summary:focus-visible { outline: 2.08px solid var(--color-blue); outline-offset: -3.12px; border-radius: 10.4px; }
.faq-item summary .faq-item__leading { flex: 0 0 28.08px; width: 28.08px; height: 28.08px; border-radius: 7.28px; font-size: 28.08px; }
.faq-item summary .faq-item__toggle { flex: 0 0 27.04px; width: 27.04px; height: 27.04px; }
.faq-item summary .faq-item__toggle svg { width: 16.64px; height: 16.64px; }
.faq-item .faq-item__answer { padding: 0 18.72px 18.72px 60.32px; }
.faq-item .faq-item__answer p { font-size: 15.6px; }
.teacher__copy p, .advantage-card p, .direction-card p, .diagnostic__copy > p,
.contact-list .icon-link__title, .service-page__focus li, .service-page__related p { font-size: 15.6px; }
@media (min-width: 901px) and (max-width: 1179px) {
  .header-phone .icon-link__title, .header-phone .icon-link__body strong { font-size: 13.52px; }
  .header-contact { gap: 8.32px; }
  .primary-nav { gap: 9.36px; }
  .primary-nav a { font-size: 11.44px; }
}
@media (max-width: 900px) {
  .header-phone .icon-link__title, .header-phone .icon-link__body strong { font-size: 14.56px; }
}
@media (max-width: 600px) {
  .faq__grid { gap: 10.4px; }
  .faq-item summary { min-height: 60.32px; padding: 13.52px 14.56px; font-size: 15.6px; gap: 10.4px; }
  .faq-item summary .faq-item__leading { flex-basis: 26px; width: 26px; height: 26px; }
  .faq-item .faq-item__answer { padding: 0 14.56px 15.6px 50.96px; }
}

/* From: pages/catalog.css */
.catalog-tabs { gap: 10.4px; margin: 24.96px 0 39.52px; }
.catalog-tabs a { min-height: 44.72px; padding: 9.36px 16.64px; border-radius: 104px; font-size: 14.56px; }
.catalog-section { margin: 0 0 49.92px; scroll-margin-top: 33.28px; }
.catalog-section__heading { margin-bottom: 20.8px; }
.catalog-section__heading h2 { font-size: 33.28px; margin: 0 0 8.32px; }
.catalog-section__heading p { max-width: 832px; font-size: 15.6px; }
.catalog-section__grid { gap: 18.72px; }
.catalog-card { gap: 18.72px; padding: 20.8px; border-radius: 12.48px; }
.catalog-card:hover { box-shadow: 0 8.32px 24.96px rgba(11,62,113,.07); }
.catalog-card__art { flex: 0 0 95.68px; width: 95.68px; height: 95.68px; border-radius: 12.48px; }
.catalog-card__art img { width: 91.52px; height: 91.52px; }
.catalog-card__art .service-art__svg { width: 47.84px; height: 47.84px; }
.catalog-card__meta { font-size: 13.52px; }
.catalog-card__body h3 { margin: 5.2px 0 8.32px; font: 700 19.76px/1.3 var(--serif); }
.catalog-card__body > p { margin: 0 0 10.4px; font-size: 15.6px; }
.catalog-card__topics { gap: 4.16px; margin: 0 0 10.4px; padding-left: 19.76px; font-size: 14.56px; }
.catalog-card__more { margin: 0 0 13.52px; font-size: 13.52px; }
.catalog-card__action { gap: 7.28px; font-size: 15.6px; }
.service-page__art .service-art__svg { max-width: 137.28px; max-height: 137.28px; }
.related-links__image .service-art__svg { max-width: 54.08px; max-height: 54.08px; }
.service-page__focus-lead { margin: -8.32px 0 20.8px; font-size: 15.6px; }
.service-page__focus li { min-height: 99.84px; }
.service-page__notice { margin: 18.72px 0 0; padding: 14.56px 18.72px; border-left: 3.12px solid #8ab7dd; font-size: 14.56px; }
@media (max-width:900px) {
  .catalog-card { padding: 16.64px; gap: 12.48px; }
  .catalog-card__art { flex-basis: 68.64px; width: 68.64px; height: 68.64px; }
  .catalog-card__art img { width: 66.56px; height: 66.56px; }
  .catalog-card__art .service-art__svg { width: 40.56px; height: 40.56px; }
}
@media (max-width:600px) {
  .catalog-tabs { gap: 8.32px; margin: 20.8px 0 29.12px; }
  .catalog-tabs a { min-height: 41.6px; padding: 8.32px 11.44px; font-size: 13.52px; }
  .catalog-section { margin-bottom: 36.4px; }
  .catalog-section__heading h2 { font-size: 28.08px; }
  .catalog-card { padding: 15.6px; }
  .catalog-card__body h3 { font-size: 18.72px; }
}
.service-page__details { padding-top: 35.36px; }
.service-page__details > h2 { margin-bottom: 18.72px; font-size: 33.28px; }
.service-page__details-grid { gap: 16.64px; }
.service-page__detail { padding: 23.92px; border-radius: 10.4px; }
.service-page__detail h3, .service-page__preparation h3 { margin: 0 0 11.44px; font: 700 19.76px/1.3 var(--serif); }
.service-page__detail p, .service-page__preparation p { font-size: 15.6px; }
.service-page__preparation { gap: 20.8px; margin-top: 16.64px; padding: 20.8px 23.92px; border-radius: 10.4px; }
.service-page__preparation-link { gap: 8.32px; font-size: 15.6px; }
.service-page__topic-link { text-underline-offset: 3.12px; }
@media (max-width: 600px) {
  .service-page__details { padding-top: 29.12px; }
  .service-page__details > h2 { font-size: 28.08px; }
  .service-page__detail { padding: 17.68px; }
  .service-page__preparation { padding: 17.68px; }
}
.linking-context-wrap { padding-block: 2.08px 12.48px; }
.linking-context-wrap--home { margin-top: 7.28px; }
.linking-context { max-width: 936px; margin: 10.4px 0 22.88px; font-size: 15.6px; }
.page-intro .linking-context { margin: 12.48px 0 0; }
.service-page__copy .linking-context { max-width: 676px; margin: 6.24px 0 20.8px; }
.directions-page > .container > .linking-context { margin: -8.32px 0 22.88px; }
.content-link { text-underline-offset: 3.12px; }
.content-link:focus-visible { outline: 2.08px solid #2373b6; outline-offset: 3.12px; border-radius: 2.08px; }
.lesson-linking { padding: 31.2px 0 35.36px; }
.lesson-linking__header { gap: 12.48px 24.96px; margin-bottom: 6.24px; }
.lesson-linking__header h2 { font-size: 33.28px; }
.lesson-linking__all { gap: 9.36px; min-height: 39.52px; font-size: 15.6px; }
.lesson-linking__all > span { text-underline-offset: 3.12px; }
.lesson-linking__all > svg { flex: 0 0 18.72px; width: 18.72px; height: 18.72px; }
.lesson-linking__all:hover > svg { transform: translateX(3.12px); }
.lesson-linking__all:focus-visible { outline: 2.08px solid #2373b6; outline-offset: 4.16px; border-radius: 3.12px; }
.lesson-linking__intro { margin: 0 0 20.8px; max-width: 832px; font-size: 15.6px; }
.lesson-linking__groups { gap: 16.64px; }
.lesson-linking__group { padding: 16.64px 18.72px 13.52px; border-radius: 10.4px; }
.lesson-linking__group-head { gap: 12.48px; padding-bottom: 12.48px; margin-bottom: 4.16px; }
.lesson-linking__group h3 { font: 700 18.72px/1.35 var(--serif); }
.lesson-linking__count { font: 600 13.52px/1.2 var(--sans); }
.lesson-linking__group a { gap: 10.4px; min-height: 43.68px; padding: 8.32px 9.36px; margin-inline: -9.36px; border-radius: 6.24px; font-size: 15.6px; }
.lesson-linking__group a:focus-visible { outline: 2.08px solid #1f6eae; outline-offset: -2.08px; }
.lesson-linking__arrow { flex: 0 0 24.96px; width: 24.96px; height: 24.96px; padding: 5.2px; border-radius: 6.24px; }
.lesson-linking__group a:hover .lesson-linking__arrow { transform: translateX(2.08px); }
.lesson-linking__groups--single .lesson-linking__group ul { gap: 0 18.72px; }
@media (max-width: 720px) {
  .lesson-linking__groups { gap: 12.48px; }
  .lesson-linking__all { min-height: 31.2px; }
}
@media (max-width: 600px) {
  .lesson-linking { padding: 24.96px 0 29.12px; }
  .lesson-linking__header h2 { font-size: 28.08px; }
  .lesson-linking__intro { margin-bottom: 14.56px; }
  .lesson-linking__group { padding: 13.52px 14.56px 10.4px; border-radius: 8.32px; }
  .lesson-linking__group-head { padding-bottom: 10.4px; }
  .lesson-linking__group h3 { font-size: 18.72px; }
  .lesson-linking__group a { min-height: 45.76px; }
}
.service-page__focus li { gap: 13.52px; min-height: 95.68px; padding: 17.68px; }
.service-page__focus .service-page__focus-icon { flex: 0 0 41.6px; width: 41.6px; height: 41.6px; border-radius: 10.4px; }
.service-page__focus .service-page__focus-icon > svg { flex: 0 0 22.88px; width: 22.88px; height: 22.88px; }
.service-page__focus .service-page__topic-link { gap: 7.28px; text-underline-offset: 3.12px; }
.service-page__focus .service-page__topic-link:focus-visible { outline: 2.08px solid var(--color-blue); outline-offset: 3.12px; }
.service-page__focus .service-page__topic-arrow { flex: 0 0 15.6px; width: 15.6px; height: 15.6px; }
@media (max-width: 600px) {
  .service-page__focus li { min-height: 79.04px; padding: 14.56px; }
  .service-page__focus .service-page__focus-icon { flex-basis: 37.44px; width: 37.44px; height: 37.44px; }
}

/* Width and responsive safeguards */
:root { --container: 1180px; }
@media (min-width: 901px) and (max-width: 1240px) { .site-header__inner { gap: 10px; } .primary-nav { gap: 9px; } .header-contact { gap: 8px; } }
@media (max-width: 900px) { .site-header { height: 74px; } .primary-nav { top: 74px; } }
@media (max-width: 600px) { .hero__facts > span { min-width: 0; } }

/* Preserve typography variables over legacy fixed-pixel component rules. */
body { font-size: var(--type-body); }
.advantage-card h3, .direction-card h3, .direction-card__body h2,
.related-links__content strong { font-size: var(--type-card-title); }

/* Source: legal-compliance.css */
/* Narrowly scoped legal documents, company details, real cookie choice and map gate. */
.legal-page { padding-block: 30px 36px; }
.legal-page__header { max-width: 880px; margin-bottom: 24px; }
.legal-page__header h1 { max-width: 900px; font-size: clamp(30px, 3.6vw, 45px); line-height: 1.12; margin: 5px 0 10px; }
.legal-page__date { margin: 0; font-size: 13px; color: #72859d; }
.legal-page__layout { display: grid; grid-template-columns: minmax(0, 1fr) 264px; gap: 36px; align-items: start; }
.legal-page__content { min-width: 0; font-size: 15.6px; line-height: 1.7; color: var(--color-text); overflow-wrap: anywhere; }
.legal-page__content section { padding: 0 0 20px; margin: 0 0 23px; border-bottom: 1px solid #e1eaf3; }
.legal-page__content section:last-child { border-bottom: 0; }
.legal-page__content h2 { display: block; margin-bottom: 12px; font-size: 24px; line-height: 1.24; letter-spacing: 0; }
.legal-page__content h2::after { display: none; }
.legal-page__content p { margin: 0 0 12px; }
.legal-page__content ul { padding-left: 23px; margin: 7px 0 14px; }
.legal-page__content li { margin-bottom: 7px; }
.legal-page__content a { color: #1266af; text-decoration: underline; text-underline-offset: 3px; }
.legal-page__content a:hover { color: #0b3d71; }
.legal-page__aside { position: sticky; top: 20px; border: 1px solid #dce7f1; border-radius: 10px; padding: 20px; background: #f6fbff; min-width: 0; }
.legal-page__aside h2 { font-size: 20px; line-height: 1.25; margin: 0 0 12px; }
.legal-page__aside h2::after { display: none; }
.legal-page__aside nav { display: grid; gap: 3px; }
.legal-page__aside nav a { padding: 9px 10px; border-radius: 6px; font-size: 14px; line-height: 1.4; color: #153c6b; text-decoration: none; }
.legal-page__aside nav a:hover, .legal-page__aside nav a[aria-current] { background: #e1f0fd; color: #0d5090; }
.legal-page__aside-owner { display: grid; gap: 7px; padding-top: 15px; margin-top: 13px; border-top: 1px solid #dce7f1; overflow-wrap: anywhere; }
.legal-page__aside-owner strong { font-size: 13px; line-height: 1.4; }
.legal-page__aside-owner small { font-size: 12px; line-height: 1.6; }
.legal-page__aside-owner a { font-size: 13px; color: #1363a3; }
.legal-page__table-wrap { overflow-x: auto; }
.legal-page__content table { border-collapse: collapse; width: 100%; font-size: 13px; }
.legal-page__content th, .legal-page__content td { border: 1px solid #dce7f1; padding: 10px 12px; text-align: left; vertical-align: top; }
.legal-page__content th { background: #eff7fc; color: #173d67; }
.legal-page__content code { white-space: normal; overflow-wrap: anywhere; }
.legal-page__button, .map-gate__button { appearance: none; background: #1368bd; border: 1px solid #1368bd; color: white; border-radius: 7px; padding: 11px 16px; font: inherit; font-weight: 600; cursor: pointer; }
.legal-page__button:hover, .map-gate__button:hover { background: #0d4b87; }
.footer-operator { color: #bad2e6; margin: 10px 0 0; line-height: 1.5; font-size: 11px; overflow-wrap: anywhere; }
.site-footer .footer-cookie-settings { font: inherit; font-size: 13px; color: #d2e0ed; padding: 0; margin: 0; text-align: left; background: transparent; border: 0; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.site-footer .footer-cookie-settings:hover { color: #fff; }
.requisites { min-width: 0; overflow-wrap: anywhere; }
.requisites p { font-size: 12px; line-height: 1.5; }
.requisites__list { display: grid; gap: 7px; margin: 10px 0 0; }
.requisites__list > div { min-width: 0; }
.requisites__list dt { color: #70859d; font-size: 11px; }
.requisites__list dd { margin: 2px 0 0; font-size: 12px; font-weight: 600; color: var(--color-navy); overflow-wrap: anywhere; }
.requisites__details { margin-top: 12px; }
.requisites__details summary { font-size: 13px; color: #115da3; font-weight: 600; cursor: pointer; }
.form-card__legal { display: grid; gap: 7px; margin-block: 13px; }
.form-card .form-card__legal .consent { display: flex !important; gap: 9px !important; margin: 0 !important; color: #334d67 !important; font-size: 12px !important; line-height: 1.5; }
.form-card .form-card__legal .consent input { flex: 0 0 17px; width: 17px; height: 17px; margin: 2px 0 0; }
.form-card .form-card__legal .consent span { min-width: 0; }
.form-card .form-card__legal .consent a { color: #0e66b6; text-decoration: underline; }
.form-card__notice { margin: 0 0 10px; font-size: 11px; color: #637b94; line-height: 1.5; }
.form-card__notice a { color: #0e66b6; }
.map-gate { display: grid; height: 100%; min-height: 180px; position: relative; }
.map-gate__placeholder { display: grid; align-content: center; justify-items: center; gap: 10px; padding: 16px; text-align: center; }
.map-gate__placeholder strong { color: #143c65; font-size: 16px; }
.map-gate__placeholder span { color: #657c90; font-size: 12px; line-height: 1.5; max-width: 280px; }
.map-gate__placeholder a { color: #1266af; font-size: 12px; }
.map-gate__button { font-size: 13px; padding: 9px 12px; }
.map-gate--enabled .map-gate__placeholder { display: none; }
.map-gate iframe { display: block; width: 100%; height: 100%; min-height: 240px; border: 0; }
.cookie-choice[hidden] { display: none !important; }
.cookie-choice { position: fixed; z-index: 9999; left: max(12px, calc((100vw - 1180px) / 2)); right: max(12px, calc((100vw - 1180px) / 2)); bottom: 16px; display: flex; gap: 20px; justify-content: space-between; align-items: center; border: 1px solid #d0e2f4; border-radius: 12px; padding: 16px 20px; background: #fff; box-shadow: 0 8px 35px rgba(10,42,82,.19); }
.cookie-choice__body { max-width: 770px; }
.cookie-choice__body strong { display: block; color: #103b66; font-size: 16px; margin-bottom: 4px; }
.cookie-choice__body p { margin: 0; line-height: 1.48; font-size: 13px; color: #415e79; }
.cookie-choice__body a { color: #1467ad; text-decoration: underline; }
.cookie-choice__actions { display: flex; gap: 8px; flex: 0 0 auto; }
.cookie-choice__actions button { appearance: none; border-radius: 6px; font-size: 13px; line-height: 1.35; font-weight: 600; padding: 11px 12px; cursor: pointer; border: 1px solid #1665ad; }
.cookie-choice__actions button:first-child { background: #fff; color: #12589d; }
.cookie-choice__actions button:last-child { background: #1566b1; color: white; }
.cookie-choice__actions button:hover { filter: brightness(.94); }
.cookie-choice--noscript { position: static; }
@media (max-width: 900px) {
  .legal-page__layout { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .legal-page__aside { position: static; }
  .cookie-choice { flex-direction: column; align-items: stretch; gap: 12px; }
  .cookie-choice__actions { justify-content: flex-start; flex-wrap: wrap; }
}
@media (max-width: 600px) {
  .legal-page { padding-block: 22px; }
  .legal-page__content { font-size: 15px; }
  .legal-page__content h2 { font-size: 21px; }
  .cookie-choice { padding: 14px; bottom: 10px; }
  .cookie-choice__actions button { flex: 1 1 auto; }
}
@media print { .cookie-choice, .map-gate__button, .footer-cookie-settings { display: none !important; } .legal-page__layout { display: block; } .legal-page__aside { display: none; } }

/* Source: contact-details.css */
/* Contacts and sole proprietor details share one horizontal row on desktop.
   This file is imported last, overriding the legacy contact grid rules. */
.contacts .contacts__grid {
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .76fr) minmax(0, 1.2fr);
  align-items: stretch;
  gap: 22px;
}
.contacts .map-placeholder {
  min-width: 0;
  min-height: 350px;
}
.contacts .map-placeholder iframe { height: 100%; }
.contacts .contact-list {
  min-width: 0;
  align-content: center;
  gap: 18px;
}
.contacts .contact-list .icon-link__body { min-width: 0; }
.contacts .contact-list .icon-link__title { overflow-wrap: anywhere; }
.contacts .requisites {
  grid-column: auto;
  min-width: 0;
  padding: 22px;
  border-radius: 10px;
}
.contacts .requisites h3 {
  margin: 0 0 18px;
  font-size: 20px;
  line-height: 1.3;
}
.contacts .requisites__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: start;
  gap: 18px 14px;
  margin: 0;
}
.contacts .requisites__item { min-width: 0; }
.contacts .requisites__list dt {
  margin: 0 0 4px;
  color: #637e97;
  font-size: 12px;
  line-height: 1.4;
}
.contacts .requisites__list dd {
  margin: 0;
  color: #133b65;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

/* Tablet: leave map and contact links next to each other; full-width details underneath. */
@media (max-width: 1040px) {
  .contacts .contacts__grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
    gap: 20px;
  }
  .contacts .map-placeholder {
    grid-row: auto;
    min-height: 265px;
  }
  .contacts .requisites { grid-column: 1 / -1; }
  .contacts .requisites__list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 22px; }
}

@media (max-width: 650px) {
  .contacts .contacts__grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .contacts .map-placeholder { min-height: 250px; }
  .contacts .contact-list { gap: 16px; padding: 4px 0; }
  .contacts .requisites { grid-column: auto; padding: 20px; }
  .contacts .requisites__list { grid-template-columns: minmax(0, 1fr); gap: 14px; }
}

/* Source: lead-modal.css */
/* Lead capture: same accessible form works both inline and in the dialog. */
.form-card [hidden], .lead-modal[hidden] { display: none !important; }
.form-card { min-width: 0; }
.form-card form { min-width: 0; }
.form-card .form-grid { min-width: 0; }
.form-card .form-grid > label { min-width: 0; }
.form-card .form-grid input:not([type="checkbox"]),
.form-card .form-grid select, .form-card .form-grid textarea {
    width: 100%; min-width: 0; color: #173b62;
    border: 1px solid #cbd9e5; border-radius: 7px; background: #fff;
    font-family: inherit; font-size: 14px;
}
.form-card .form-grid input:not([type="checkbox"]), .form-card .form-grid select {
    height: 43px; padding: 0 12px;
}
.form-card .form-grid textarea {
    resize: vertical; min-height: 74px; max-height: 180px; padding: 10px 12px; line-height: 1.45;
}
.form-card .form-grid > label { font-size: 13px; font-weight: 600; line-height: 1.35; gap: 6px; }
.form-card .form-grid input:focus-visible, .form-card .form-grid select:focus-visible,
.form-card .form-grid textarea:focus-visible, .lead-modal__close:focus-visible {
    outline: 3px solid #78b4f4; outline-offset: 2px;
}
.lead-field-optional { color: #68829a; font-size: 11px; font-weight: 400; }
.form-card .form-status { font-size: 14px; line-height: 1.5; padding: 12px 14px; border-radius: 8px; }
.form-card .form-card__legal { gap: 10px; margin-block: 16px 12px; }
.form-card .form-card__legal .consent { font-size: 12px !important; line-height: 1.5; }
.form-card .form-card__notice { font-size: 11px; line-height: 1.5; margin-block: 0 14px; }
.form-card .button { min-height: 44px; font-size: 14px; }
.form-card .button:disabled { opacity: .6; cursor: wait; }

.lead-modal { position: fixed; z-index: 10000; inset: 0; display: grid; place-items: center;
    padding: 20px; background: rgba(7, 27, 54, .75); overflow-y: auto; overscroll-behavior: contain; }
.lead-modal__dialog { position: relative; align-self: center; width: min(100%, 560px);
    max-height: calc(100vh - 40px); max-height: calc(100dvh - 40px);
    overflow-y: auto; overscroll-behavior: contain; border-radius: 16px;
    background: #f4f9fd; box-shadow: 0 24px 75px rgba(0,0,0,.28); padding: 27px; }
.lead-modal__close { position: absolute; top: 10px; right: 11px; width: 42px; height: 42px;
    border: 0; border-radius: 50%; color: #153c67; background: transparent;
    cursor: pointer; font-size: 31px; line-height: 1; display: grid; place-items: center; }
.lead-modal__close:hover { background: #e2ebf4; }
.lead-modal__heading { padding-right: 32px; }
.lead-modal__eyebrow { color: #126bc4; text-transform: uppercase; font-weight: 700; letter-spacing: .08em;
    font-size: 11px; margin-bottom: 9px; }
.lead-modal__heading h2 { display: block; font-size: clamp(23px, 3vw, 29px); line-height: 1.18; margin-bottom: 9px; }
.lead-modal__heading h2::after { display: none; }
.lead-modal__heading > p:last-child { color: #5c748b; font-size: 13px; line-height: 1.55; margin: 0 0 16px; }
.lead-modal .form-card { box-shadow: none; border: 1px solid #e0e9f2; border-radius: 12px; padding: 19px; }
.lead-modal .form-grid { gap: 13px; }
.lead-modal .form-card__legal { gap: 12px; }
body.lead-modal-is-open { overflow: hidden; }
@media (max-width: 600px) {
    .lead-modal { padding: 0; align-items: end; }
    .lead-modal__dialog { align-self: end; border-radius: 18px 18px 0 0; width: 100%;
        max-height: 94vh; max-height: 94dvh; padding: 23px 14px 15px; }
    .lead-modal .form-card { padding: 14px; }
    .lead-modal .form-grid { grid-template-columns: 1fr; gap: 11px; }
    .lead-modal .form-grid__wide { grid-column: auto; }
    .lead-modal__heading { padding-left: 3px; }
    .lead-modal__heading > p:last-child { margin-bottom: 13px; }
    .form-card .form-grid input:not([type="checkbox"]), .form-card .form-grid select { height: 45px; font-size: 16px; }
    .form-card .form-grid textarea { font-size: 16px; }
    .lead-modal .form-card__legal .consent { font-size: 12px !important; }
}
@media (prefers-reduced-motion: reduce) {
    .lead-modal, .lead-modal * { scroll-behavior: auto; }
}

/* Source: sections/hero-reference.css */
/* Reference hero: loaded after the legacy site-wide scale layers. */
.hero { min-height: 500px; background: linear-gradient(100deg, #edf8fe, #fafdff 42%, #e9f7fe); }
.hero__inner { position: relative; grid-template-columns: 50% 50%; min-height: 500px; }
.hero__content { padding: 48px 0 42px; }
.hero h1 { max-width: 560px; margin-bottom: 20px; font-size: 56px; line-height: 1.04; letter-spacing: -.7px; }
.hero .lead { max-width: 560px; margin-bottom: 0; color: #42628d; font-size: 18px; line-height: 1.65; }
.hero__actions { flex-wrap: nowrap; gap: 14px; margin: 24px 0 28px; }
.hero__actions .button { min-height: 52px; padding: 0 22px; font-size: 15px; white-space: nowrap; }
.hero__actions .button--outline { min-width: 200px; background: rgba(255,255,255,.55); }
.hero__facts { flex-wrap: nowrap; gap: 30px; padding-left: 28px; }
.hero__facts > span { min-width: 0; grid-template-columns: 32px 1fr; column-gap: 16px; align-items: start; }
.hero__facts img { width: 32px; height: 32px; margin-top: 2px; }
.hero__facts strong { font-family: var(--sans); font-size: 15px; line-height: 1.4; }
.hero__facts small { color: #7a90ad; font-family: var(--sans); font-size: 15px; line-height: 1.4; }
.hero__visual.photo-placeholder { min-height: 500px; margin: 0 -100px 0 -30px; border: 0; border-radius: 0; background: url('/assets/images/reference-hero.webp') 52% center / auto 100% no-repeat; -webkit-mask-image: linear-gradient(90deg, transparent, #000 18%, #000 79%, transparent); mask-image: linear-gradient(90deg, transparent, #000 18%, #000 79%, transparent); }
.hero__visual.photo-placeholder::before { content: none; }
@media (min-width: 901px) and (max-width: 1199px) {
    .hero h1 { font-size: clamp(40px, 4.6vw, 52px); }
    .hero .lead { font-size: 16px; }
    .hero__desktop-break { display: none; }
    .hero__actions { gap: 10px; }
    .hero__actions .button { padding-inline: 14px; font-size: 13px; }
    .hero__actions .button--outline { min-width: 150px; }
    .hero__facts { padding-left: 0; gap: 18px; }
    .hero__facts > span { column-gap: 10px; }
    .hero__facts strong, .hero__facts small { font-size: 13px; }
}
@media (max-width: 900px) {
    .hero, .hero__inner { min-height: 0; }
    .hero__inner { grid-template-columns: 1fr; }
    .hero__content { padding: 28px 0 36px; }
    .hero h1 { max-width: none; font-size: clamp(34px, 6.2vw, 52px); }
    .hero .lead { max-width: 600px; font-size: 16px; }
    .hero__desktop-break { display: none; }
    .hero__visual.photo-placeholder { order: -1; min-height: 0; height: clamp(240px, 48vw, 380px); margin: 0; background-position: 52% center; }
    .hero__facts { padding-left: 0; }
}
@media (max-width: 600px) {
    .hero h1 { font-size: clamp(28px, 7.3vw, 42px); }
    .hero__actions { flex-direction: column; gap: 12px; }
    .hero__actions .button { width: 100%; min-width: 0; white-space: normal; }
    .hero__facts { gap: 16px; display: grid; grid-template-columns: 1fr 1.2fr; }
    .hero__facts > span { min-width: 0; grid-template-columns: 26px 1fr; column-gap: 8px; }
    .hero__facts img { width: 26px; height: 26px; }
    .hero__facts strong, .hero__facts small { font-size: 12px; }
}


/* Source: sections/advantages-compact.css */
.advantages { padding-block: 30px 36px; }
.advantages .section-heading { margin-bottom: 16px; }
.advantages__grid { gap: 16px; }
.advantage-card {
    min-height: 104px;
    align-items: center;
    gap: 14px;
    padding: 18px;
}
.advantage-card h3 {
    margin: 0;
    font-size: 18px;
    line-height: 1.25;
}
@media (max-width: 900px) {
    .advantages { padding-block: 28px; }
    .advantage-card { min-height: 96px; }
}
@media (max-width: 600px) {
    .advantages__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .advantage-card { min-height: 118px; flex-direction: column; align-items: flex-start; gap: 10px; padding: 14px; }
    .advantage-card h3 { font-size: 16px; }
}


/* Source: sections/gallery.css */
.gallery { padding: 52px 0 58px; background: #fff; }
.gallery__heading { margin-bottom: 22px; }
.gallery__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.gallery__item { margin: 0; overflow: hidden; aspect-ratio: 1.45; border-radius: 12px; background: #edf7fd; box-shadow: 0 6px 22px rgba(14, 49, 95, .08); }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
    .gallery__item:hover img { transform: scale(1.045); }
}
@media (max-width: 900px) {
    .gallery { padding: 40px 0 46px; }
    .gallery__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
}
@media (max-width: 600px) {
    .gallery { padding: 32px 0 38px; }
    .gallery__heading { display: block; }
    .gallery__heading p { margin-top: 10px; }
    .gallery__grid { gap: 9px; }
    .gallery__item { aspect-ratio: 1; border-radius: 8px; }
}


/* Source: sections/home-polish.css */
/* Main-page visual hierarchy, after the legacy scale layers. */
.site-header .brand__mark { filter: saturate(1.3) contrast(1.12); }
.site-header .brand__copy strong { color: #092b57; }
.site-header .brand__copy small { color: #52708f; }
.site-header .header-contact .button { box-shadow: 0 5px 15px rgba(9, 83, 169, .28); }

.hero { background: linear-gradient(105deg, #e8f5fd 0%, #f7fbfe 42%, #fff 66%, #eaf6fc 100%); }
.hero__emphasis { color: #075bae; }
.hero__actions .button:first-child { background: linear-gradient(180deg, #2184e7, #075fba); box-shadow: 0 7px 18px rgba(13, 103, 200, .28); }
.hero__facts { padding-left: 0; gap: 12px; }
.hero__facts > span { min-height: 70px; align-items: center; padding: 10px 15px; border: 1px solid #dcebf7; border-radius: 11px; background: rgba(255,255,255,.88); box-shadow: 0 5px 16px rgba(21, 79, 132, .09); }
.hero__facts img { align-self: center; }

.advantages .section-heading p, .directions .section-heading p { color: #5d7694; }
.advantage-card { border-color: #d8e8f5; box-shadow: 0 6px 18px rgba(17, 67, 108, .08); transition: transform .2s ease, box-shadow .2s ease; }
.advantage-card .feature-icon { background: #fff; }
.advantage-card .feature-icon img { filter: saturate(1.4); }
.advantage-card:nth-child(3) { border-color: #106cc9; background: linear-gradient(135deg, #0b66c4, #124e92); box-shadow: 0 8px 22px rgba(13, 103, 200, .2); }
.advantage-card:nth-child(3) h3 { color: #fff; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
    .advantage-card:hover { transform: translateY(-3px); box-shadow: 0 10px 25px rgba(17, 67, 108, .15); }
}

.directions { padding-block: 30px 42px; }
.directions .section-heading { margin-bottom: 18px; }
.direction-card { border-color: #d7e7f4; box-shadow: 0 5px 17px rgba(17, 67, 108, .08); }
.direction-card__art img { transform: scale(1.06); filter: drop-shadow(0 6px 9px rgba(32, 70, 105, .15)); }
.direction-card__body > p:not(.card-meta) { color: #607a96; }
.direction-card .link-button { border-color: #1674d4; background: #eff7ff; color: #075bae; }
.direction-card .link-button:hover { background: #0d67c8; color: #fff; }
.linking-context-wrap--home { padding-block: 12px; border-radius: 10px; background: #f4f9fd; }
.linking-context-wrap--home p { color: #375a7d; font-size: 15px; line-height: 1.6; }
.lesson-linking__group h3 { color: #0e315f; font-size: 19px; }
.lesson-linking__group a { color: #345a7c; }
.lesson-linking__arrow { color: #0d67c8; }
.lesson-linking__all { border-color: #0d67c8; background: #0d67c8; color: #fff; }
.lesson-linking__all:hover { background: #0759ae; color: #fff; }

.gallery__grid { gap: 22px; }
.gallery__item { position: relative; background: #fff; }
.gallery__item img { filter: saturate(1.08) contrast(1.04) sepia(.035); }
.gallery__item figcaption { position: absolute; right: 0; bottom: 0; left: 0; padding: 24px 16px 13px; background: linear-gradient(transparent, rgba(5, 34, 67, .8)); color: #fff; font-size: 15px; font-weight: 700; line-height: 1.25; }

.diagnostic { padding-block: 40px; }
.diagnostic h2 { font-size: clamp(28px, 2.6vw, 36px); white-space: normal; }
.diagnostic__copy > p { color: #435f7c; line-height: 1.6; }
.diagnostic__copy ul { gap: 12px; color: #234b75; font-size: 15px; }
.diagnostic__copy li::before { border-color: #0d67c8; background: #0d67c8; color: #fff; }
.form-card { border: 1px solid #e0ebf4; border-radius: 12px; box-shadow: 0 12px 30px rgba(34, 76, 112, .12); }
.form-card input:not([type="checkbox"]), .form-card select { border-color: #d9e6f0; border-radius: 7px; background: #f5f8fb; }
.form-card input:not([type="checkbox"]):focus, .form-card select:focus { outline: 2px solid #9ac6f5; background: #fff; }
.form-card .button { background: linear-gradient(180deg, #2184e7, #075fba); box-shadow: 0 7px 18px rgba(13, 103, 200, .25); }
.form-card .consent { color: #536c86 !important; font-size: 12px !important; line-height: 1.45; }

.teacher { padding-block: 38px; }
.teacher__copy p { line-height: 1.7; }
.teacher__facts { padding: 12px; border: 1px solid #dceaf5; border-radius: 12px; background: #f5fafe; }
.teacher__facts div { display: flex; flex-wrap: wrap; align-content: center; min-height: 68px; background: #fff; }
.teacher__facts img { flex: 0 0 25px; }
.teacher__facts strong, .teacher__facts small { flex: 1 1 calc(100% - 34px); }

.faq { padding-block: 36px; }
.faq .section-heading { margin-bottom: 16px; }
.faq-item { overflow: hidden; border-color: #dce7f0; border-radius: 8px; background: #f5f8fb; }
.faq-item summary { min-height: 54px; color: #123b66; }
.faq-item summary .faq-item__leading { display: none; }
.faq-item summary .faq-item__toggle { margin-left: auto; color: #0d67c8; }
.faq-item[open] { background: #fff; }
.faq-item[open] .faq-item__answer { padding-top: 10px; border-top: 1px solid #e5edf5; background: #fff; }
.faq-item[open] p { color: #45617d; }

.contacts { padding-block: 36px 44px; }
.map-placeholder { border-color: #c8d9e7; background-color: #e1edf5; }
.contact-list .icon-link__icon { color: #0d67c8; }
.contact-list .icon-link__title { color: #143d67; font-size: 15px; }
.requisites { background: #eaf4fb; }
.requisites h3 { font-size: 19px; }
.requisites p, .requisites dt, .requisites dd { color: #405b76; }
.site-footer a:not(.brand), .site-footer .footer-contact .icon-link__title { color: #f0f6fc; font-size: 14px; }
.site-footer h3 { font-size: 18px; }
.site-footer .footer-note { color: #c4d7e8; }

@media (max-width: 900px) {
    .hero__facts { flex-wrap: wrap; }
    .gallery__grid { gap: 14px; }
    .diagnostic { padding-block: 28px; }
}
@media (max-width: 600px) {
    .hero__facts > span { padding: 9px; min-height: 75px; }
    .directions, .teacher, .faq, .contacts { padding-block: 30px; }
    .gallery__grid { gap: 10px; }
    .gallery__item figcaption { padding: 22px 9px 9px; font-size: 12px; }
    .teacher__facts { grid-template-columns: 1fr; }
}

/* Follow-up refinements: use selectors that win over component defaults. */
.site-header .brand__mark { filter: brightness(.72) saturate(1.8) contrast(1.25); }
.site-header .brand__copy strong { color: #08274f; font-weight: 800; }
.hero { background: linear-gradient(110deg, #dceffb 0%, #edf7fd 28%, #f8fcff 56%, #e7f4fc 100%); }
.hero__facts > span { background: #fff; border-color: #c9dff0; box-shadow: 0 7px 20px rgba(12, 62, 110, .15); }

.directions .direction-card .link-button { min-height: 42px; padding: 9px 18px; border: 2px solid #0d67c8; border-radius: 8px; background: #eaf5ff; box-shadow: 0 3px 9px rgba(13,103,200,.1); font-weight: 700; }
.directions .direction-card .link-button:hover { background: #0d67c8; color: #fff; }
.linking-context-wrap--home { margin-block: 12px; padding: 18px 22px; border: 1px solid #e1edf5; background: #f2f7fb; }
.linking-context-wrap--home p { margin: 0; color: #244c72; font-size: 16px; }
.lesson-linking .lesson-linking__group .lesson-linking__arrow { color: #0d67c8; stroke: #0d67c8; background: #e7f3fe; }
.lesson-linking .lesson-linking__all { min-height: 46px; padding: 10px 20px; border: 1px solid #0d67c8; border-radius: 8px; background: #0d67c8; color: #fff; box-shadow: 0 5px 13px rgba(13,103,200,.18); }
.lesson-linking .lesson-linking__all > span { text-decoration: none; }
.lesson-linking .lesson-linking__all > svg { color: #fff; stroke: #fff; width: 20px; height: 20px; }

.gallery .gallery__grid { gap: 26px; }
.gallery .gallery__item { display: flex; flex-direction: column; aspect-ratio: auto; border-radius: 12px; background: #fff; box-shadow: 0 7px 23px rgba(14,49,95,.1); }
.gallery .gallery__item img { flex: 0 0 auto; width: 100%; height: auto; aspect-ratio: 1.45; object-fit: cover; }
.gallery .gallery__item figcaption { position: static; padding: 13px 16px 15px; background: #fff; color: #173e68; font-size: 15px; line-height: 1.3; }

.diagnostic .diagnostic__copy ul { gap: 14px; color: #173e68; font-size: 16px; font-weight: 600; }
.form-card .form-grid input:not([type="checkbox"]), .form-card .form-grid select, .form-card .form-grid textarea { border: 1px solid #cddde9; border-radius: 8px; background: #f0f4f7; box-shadow: inset 0 1px 2px rgba(31,68,101,.04); }
.form-card .form-grid input:not([type="checkbox"]):focus, .form-card .form-grid select:focus, .form-card .form-grid textarea:focus { background: #fff; }

.teacher .teacher__facts { gap: 0; padding: 0; overflow: hidden; border: 1px solid #d7e6f2; border-radius: 12px; background: #fff; box-shadow: 0 8px 22px rgba(17,67,108,.09); }
.teacher .teacher__facts div { min-width: 0; padding: 13px 10px; border-radius: 0; background: #fff; }
.teacher .teacher__facts div + div { border-left: 1px solid #e6eef5; }

.faq .faq-item summary .faq-item__toggle { flex-basis: 36px; width: 36px; height: 36px; background: #dceeff; color: #075bae; }
.faq .faq-item summary .faq-item__toggle svg { width: 23px; height: 23px; stroke-width: 2.6; }
.faq .faq-item summary:hover { background: #e3f1fc; color: #075bae; }
.faq .faq-item summary:focus-visible { outline: 2px solid #0d67c8; outline-offset: -3px; }

.contacts .map-placeholder { background-image: url('/assets/images/reference-map.webp'); background-position: center; background-size: cover; filter: contrast(1.2) saturate(1.18); }
.contacts .map-gate__placeholder { margin: 12px; border-radius: 10px; background: rgba(255,255,255,.9); box-shadow: 0 5px 16px rgba(13,49,87,.15); }
.contacts .requisites { background: #edf6fc; }
.contacts .requisites h3 { margin-bottom: 20px; color: #0e315f; font-size: 23px; }
.contacts .requisites__item { padding: 11px 12px; border: 1px solid #dbe9f4; border-radius: 8px; background: #fff; }
.contacts .requisites__list dt { color: #496b8a; font-size: 12px; }
.contacts .requisites__list dd { color: #0e315f; font-size: 13px; }

.site-footer .site-footer__grid a:not(.brand), .site-footer .footer-contact .icon-link__title { color: #f4f9ff; font-size: 15px; line-height: 1.5; }
.site-footer .site-footer__grid h3 { font-size: 19px; }
.site-footer .footer-cookie-settings { color: #e8f3ff; font-size: 14px; }

@media (max-width: 900px) {
    .gallery .gallery__grid { gap: 16px; }
}
@media (max-width: 600px) {
    .gallery .gallery__grid { gap: 12px; }
    .gallery .gallery__item figcaption { padding: 10px; font-size: 12px; }
    .teacher .teacher__facts div + div { border-left: 0; border-top: 1px solid #e6eef5; }
    .contacts .requisites__list { grid-template-columns: 1fr; }
}


/* Source: sections/contacts-redesign.css */
.contacts { padding: 62px 0 72px; background: #fff; }
.contacts .contacts__heading { margin-bottom: 28px; }
.contacts .contacts__heading h1, .contacts .contacts__heading h2 { display: block; max-width: 850px; margin: 0; color: #202b35; font-family: var(--sans); font-size: clamp(38px, 4.3vw, 64px); font-weight: 500; line-height: 1.12; letter-spacing: -.035em; }
.contacts .contacts__heading h2::after { display: none; }
.contacts-page-intro { padding-bottom: 0; }
.contacts .contacts__grid { display: grid; grid-template-columns: minmax(340px, .85fr) minmax(0, 1.25fr); gap: 22px; align-items: stretch; }
.contacts .contacts__card { display: flex; flex-direction: column; justify-content: center; gap: 26px; min-width: 0; padding: clamp(28px, 3vw, 48px); border-radius: 32px; background: #f0f1f2; }
.contacts .contacts__detail { display: grid; gap: 7px; min-width: 0; }
.contacts .contacts__label { color: #68727d; font-size: 16px; line-height: 1.3; }
.contacts .contacts__detail a { color: #202b35; font-size: clamp(20px, 1.75vw, 27px); font-weight: 500; line-height: 1.25; text-decoration: none; overflow-wrap: anywhere; }
.contacts .contacts__detail a:hover { color: #0d67c8; }
.contacts .contacts__route { display: inline-flex; align-items: center; align-self: flex-start; gap: 8px; margin-top: 4px; padding: 11px 17px; border-radius: 24px; background: #fff; color: #164878; font-size: 14px; font-weight: 700; text-decoration: none; }
.contacts .contacts__route:hover { background: #e1f0fd; }
.contacts .map-placeholder { min-height: 470px; overflow: hidden; border: 0; border-radius: 32px; background: #dceaf2 url('/assets/images/reference-map.webp') center / cover no-repeat; filter: none; }
.contacts .map-gate { min-height: 470px; height: 100%; }
.contacts .map-gate__placeholder { align-content: end; justify-items: start; width: min(100% - 40px, 360px); margin: auto 20px 20px; padding: 18px 20px; border: 1px solid #e1ebf2; border-radius: 16px; background: rgba(255,255,255,.96); box-shadow: 0 10px 28px rgba(12,44,77,.18); text-align: left; }
.contacts .map-gate__placeholder strong { font-size: 17px; }
.contacts .map-gate__placeholder span { color: #445b70; font-size: 14px; }
.contacts .map-gate__placeholder a { font-size: 13px; }
.contacts .map-gate__button { font-size: 14px; }
.contacts .map-gate iframe { min-height: 470px; }
.site-footer .site-footer__grid { grid-template-columns: 1.2fr .8fr 1.35fr 1fr; gap: 30px; }
.site-footer .site-footer__requisites .requisites__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 18px; margin: 0; }
.site-footer .site-footer__requisites .requisites__item { min-width: 0; }
.site-footer .site-footer__requisites dt { margin: 0 0 3px; color: #b8d0e5; font-size: 12px; line-height: 1.3; }
.site-footer .site-footer__requisites dd { margin: 0; color: #fff; font-size: 13px; font-weight: 600; line-height: 1.45; overflow-wrap: anywhere; }
@media (max-width: 1040px) {
    .contacts .contacts__grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
    .contacts .contacts__card { padding: 30px; }
    .site-footer .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
    .contacts { padding: 42px 0 50px; }
    .contacts .contacts__heading h1, .contacts .contacts__heading h2 { font-size: clamp(32px, 8vw, 46px); }
    .contacts .contacts__grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
    .contacts .contacts__card { gap: 22px; padding: 28px; border-radius: 24px; }
    .contacts .contacts__detail a { font-size: 21px; }
    .contacts .map-placeholder, .contacts .map-gate, .contacts .map-gate iframe { min-height: 340px; }
    .contacts .map-placeholder { border-radius: 24px; }
}
@media (max-width: 520px) {
    .site-footer .site-footer__grid { grid-template-columns: 1fr; }
    .site-footer .site-footer__grid > div { grid-column: auto; }
}

/* Concise visit details beside the map. */
.contacts .contacts__meta{margin:.2rem 0 0;color:#536779;font-size:.94rem;line-height:1.5}
.contacts .contacts__value{margin:0;color:#202b35;font-size:clamp(1rem,1.3vw,1.18rem);font-weight:600;line-height:1.5}


/* Source: components/footer-compact.css */
.site-footer { padding: 42px 0 38px; }
.site-footer .container { width: min(1360px, calc(100% - (var(--page-gutter) * 2))); }
.site-footer .site-footer__grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, .83fr) minmax(0, 1.3fr) minmax(0, 1.08fr); gap: clamp(20px, 2.5vw, 38px); }
.site-footer .brand__mark { filter: brightness(0) invert(1); }
.site-footer .site-footer__grid > div { min-width: 0; }
.site-footer .site-footer__grid h3 { margin-bottom: 15px; }
.site-footer .site-footer__requisites .requisites__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px 16px; }
.site-footer .site-footer__requisites .requisites__item--name { grid-column: 1 / -1; }
.site-footer .site-footer__requisites dt { color: #aec8df; font-size: 12px; }
.site-footer .site-footer__requisites dd { font-size: 13px; line-height: 1.45; }
.site-footer .footer-note { margin-top: 22px; }
@media (max-width: 1040px) {
    .site-footer .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px 26px; }
}
@media (max-width: 600px) {
    .site-footer .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 18px; }
    .site-footer .site-footer__grid > div:first-child { grid-column: 1 / -1; }
    .site-footer .site-footer__grid > div:nth-child(3) { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
    .site-footer .site-footer__grid { grid-template-columns: 1fr; }
    .site-footer .site-footer__grid > div { grid-column: auto !important; }
}

/* Address, hours and current phone in a compact NAP line. */
.site-footer .site-footer__visit{display:flex;align-items:center;flex-wrap:wrap;gap:.4rem 1.4rem;margin-top:1.65rem;padding-top:1.15rem;border-top:1px solid rgba(255,255,255,.17);color:#d4e6f6;font-size:.92rem;line-height:1.5}
.site-footer .site-footer__visit strong{color:#fff}
.site-footer .site-footer__visit a{color:#fff;text-decoration:underline;text-underline-offset:3px}
@media(max-width:600px){.site-footer .site-footer__visit{gap:.45rem 1rem}}


/* Source: sections/interactive-refinement.css */
/* The benefit cards are links to the existing accessible lead dialog. */
.advantages__grid .advantage-card { position: relative; align-items: center; padding-right: 42px; color: inherit; text-decoration: none; cursor: pointer; }
.advantage-card__arrow { position: absolute; right: 16px; bottom: 14px; color: #0d67c8; font-family: var(--sans); font-size: 20px; line-height: 1; opacity: .65; transition: transform .2s ease, opacity .2s ease; }
.advantages__grid .advantage-card:nth-child(3) .advantage-card__arrow { color: #fff; }
.advantages__grid .advantage-card:hover, .advantages__grid .advantage-card:focus-visible { transform: translateY(-5px); box-shadow: 0 12px 28px rgba(17,67,108,.18); }
.advantages__grid .advantage-card:hover .advantage-card__arrow, .advantages__grid .advantage-card:focus-visible .advantage-card__arrow { transform: translate(3px,-3px); opacity: 1; }
.advantages__grid .advantage-card:focus-visible { outline: 3px solid #0d67c8; outline-offset: 3px; }

/* Contacts use the same type and blue palette as the rest of the site. */
.contacts { padding-block: 48px 56px; }
.contacts .contacts__heading { margin-bottom: 22px; }
.contacts .contacts__heading h1, .contacts .contacts__heading h2 { max-width: 760px; color: #0e315f; font-family: var(--serif); font-size: clamp(32px, 3.4vw, 46px); font-weight: 700; line-height: 1.12; letter-spacing: -.02em; }
.contacts .contacts__grid { grid-template-columns: minmax(0, .95fr) minmax(0, 1.15fr); gap: 18px; }
.contacts .contacts__card { gap: 22px; padding: clamp(24px, 3vw, 40px); border: 1px solid #dcebf5; border-radius: 18px; background: #f0f7fc; box-shadow: 0 8px 24px rgba(14,49,95,.07); }
.contacts .contacts__label { color: #6a829b; font-size: 14px; }
.contacts .contacts__detail a { color: #0e315f; font-size: clamp(18px, 1.5vw, 23px); font-weight: 600; }
.contacts .contacts__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 5px; }
.contacts .contacts__actions .button { min-height: 44px; padding-inline: 18px; font-size: 14px; }
.contacts .contacts__route { margin: 0; padding: 10px 12px; border: 1px solid #c6dff2; border-radius: 8px; color: #0d67c8; font-size: 14px; }
.contacts .map-placeholder, .contacts .map-gate, .contacts .map-gate iframe { min-height: 420px; }
.contacts .map-placeholder { border: 1px solid #dcebf5; border-radius: 18px; }
.contacts .map-gate__placeholder { width: min(100% - 32px, 330px); margin: auto 16px 16px; padding: 15px 17px; }

@media (max-width: 900px) {
    .contacts .contacts__grid { grid-template-columns: minmax(0, 1fr); }
    .contacts .map-placeholder, .contacts .map-gate, .contacts .map-gate iframe { min-height: 350px; }
}
@media (max-width: 600px) {
    .contacts { padding-block: 34px 42px; }
    .contacts .contacts__heading h1, .contacts .contacts__heading h2 { font-size: clamp(29px, 7vw, 39px); }
    .contacts .contacts__card { gap: 18px; padding: 24px; }
    .contacts .contacts__actions .button { width: 100%; }
    .contacts .contacts__route { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
    .advantages__grid .advantage-card { transition: none; }
    .advantage-card__arrow { transition: none; }
}


/* Source: sections/concise-headings.css */
/* Short section titles stay on one line without adding manual breaks. */
.hero__content { display: flex; flex-direction: column; justify-content: center; }
.hero h1 { max-width: none; font-size: clamp(39px, 3.7vw, 53px); line-height: 1.08; white-space: nowrap; }
.section-heading h2, .diagnostic h2, .lesson-linking__header h2,
.contacts .contacts__heading h1, .contacts .contacts__heading h2 { white-space: nowrap; }
.contacts .contacts__heading h1, .contacts .contacts__heading h2 { max-width: none; }
@media (max-width: 900px) {
    .hero h1 { font-size: clamp(31px, 5vw, 43px); }
}
@media (max-width: 600px) {
    .hero h1 { font-size: clamp(27px, 7vw, 36px); }
    .diagnostic h2 { font-size: clamp(23px, 6vw, 28px); }
    .contacts .contacts__heading h1, .contacts .contacts__heading h2 { font-size: clamp(27px, 6.7vw, 36px); }
    .section-heading h2, .lesson-linking__header h2 { font-size: clamp(24px, 6vw, 29px); }
}
@media (max-width: 360px) {
    .hero h1 { font-size: 26px; }
    .contacts .contacts__heading h1, .contacts .contacts__heading h2 { font-size: 26px; }
}


/* Source: pages/directions-refresh.css */
.directions-page__intro { padding: 28px 0 12px; background: linear-gradient(110deg, #eaf6fd, #fff 68%); }
.directions-page__intro .breadcrumbs { margin-bottom: 24px; }
.directions-page__intro-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(320px, .85fr); align-items: center; gap: clamp(32px, 5vw, 80px); }
.directions-page__intro-copy { max-width: 730px; }
.directions-page__intro .eyebrow { margin-bottom: 8px; }
.directions-page__intro h1 { margin: 0 0 12px; }
.directions-page__intro-copy > p:last-child { margin: 0; color: #496684; font-size: 17px; line-height: 1.55; }
.directions-page__intro-help { display: flex; align-items: flex-start; gap: 16px; padding: 24px; border: 1px solid #cfe5f7; border-radius: 18px; background: rgba(255,255,255,.92); box-shadow: 0 12px 30px rgba(20,75,126,.09); }
.directions-page__intro-help-icon { display: grid; flex: 0 0 42px; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: #e9f4ff; color: #1169c5; font: 700 25px/1 var(--serif); }
.directions-page__intro-help-body { min-width: 0; }
.directions-page__intro-help .directions-page__intro-help-label { margin: 0 0 5px; color: #3671a7; font-size: 12px; font-weight: 700; letter-spacing: .03em; }
.directions-page__intro-help h2 { margin: 0 0 9px; color: #113967; font: 700 21px/1.2 var(--serif); }
.directions-page__intro-help h2::after { display: none; }
.directions-page__intro-help-body > p:not(.directions-page__intro-help-label) { margin: 0 0 18px; color: #55718b; font-size: 14px; line-height: 1.45; }
.directions-page__intro-action { min-height: 44px; font-size: 14px; }
.directions-page .catalog-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 12px; }
.directions-page .catalog-tabs a { min-height: 40px; padding: 8px 15px; border-color: #cee3f3; background: #fff; color: #174a7e; font-size: 13px; }
.directions-page .catalog-tabs a:hover, .directions-page .catalog-tabs a:focus-visible { background: #0d67c8; color: #fff; }
.directions-page__catalog { padding-top: 34px; padding-bottom: 28px; }
.directions-page .catalog-section { margin-bottom: 42px; scroll-margin-top: 24px; }
.directions-page .catalog-section__heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 17px; }
.directions-page .catalog-section__heading h2 { display: block; margin: 0 0 5px; color: #0e315f; font-size: clamp(25px, 2.6vw, 32px); line-height: 1.15; }
.directions-page .catalog-section__heading h2::after { display: none; }
.directions-page .catalog-section__heading p { max-width: 650px; color: #647d95; font-size: 14px; }
.directions-page .catalog-section__count { flex: 0 0 auto; padding: 6px 11px; border-radius: 20px; background: #edf6fd; color: #426e97; font-size: 12px; font-weight: 700; }
.directions-page .catalog-section__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
#predmety .catalog-section__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.directions-page .catalog-card { display: block; min-height: 150px; padding: 0; border-color: #d9e8f3; border-radius: 13px; box-shadow: 0 4px 15px rgba(14,49,95,.045); }
.directions-page .catalog-card:hover { border-color: #97c4e9; box-shadow: 0 10px 24px rgba(14,49,95,.11); }
.directions-page .catalog-card__link { position: relative; display: grid; grid-template-columns: 68px minmax(0, 1fr); align-items: start; gap: 13px; min-height: 150px; padding: 18px 18px 22px; color: inherit; text-decoration: none; }
.directions-page .catalog-card__link:focus-visible { outline: 3px solid #0d67c8; outline-offset: 3px; border-radius: 13px; }
.directions-page .catalog-card__art { display: grid; flex: none; width: 68px; height: 68px; border-radius: 11px; background: #edf7fd; }
.directions-page .catalog-card__art img { width: 65px; height: 65px; }
.directions-page .catalog-card__art .service-art__svg { width: 38px; height: 38px; }
.directions-page .catalog-card__body { display: flex; flex-direction: column; min-width: 0; }
.directions-page .catalog-card__meta { margin-bottom: 3px; color: #2870af; font-size: 12px; line-height: 1.3; }
.directions-page .catalog-card__title { display: block; margin-bottom: 6px; color: #0e315f; font: 700 18px/1.2 var(--serif); }
.directions-page .catalog-card__description { display: -webkit-box; overflow: hidden; color: #5d738a; font-size: 13px; line-height: 1.45; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.directions-page .catalog-card__arrow { position: absolute; right: 14px; bottom: 10px; color: #0d67c8; font-size: 19px; line-height: 1; transition: transform .2s ease; }
.directions-page .catalog-card:hover .catalog-card__arrow { transform: translate(2px, -2px); }
.directions-teacher { padding: 16px 0 48px; }
.directions-teacher__inner { display: grid; grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr); overflow: hidden; border: 1px solid #dcebf5; border-radius: 18px; background: #eef7fd; }
.directions-teacher__photo { min-height: 315px; background: url('/assets/images/reference-teacher.webp') 52% 35% / cover no-repeat; }
.directions-teacher__content { display: flex; flex-direction: column; justify-content: center; padding: clamp(28px, 3.4vw, 52px); }
.directions-teacher__content .eyebrow { margin-bottom: 8px; }
.directions-teacher__content h2 { margin: 0 0 12px; color: #0e315f; font-size: 32px; line-height: 1.15; }
.directions-teacher__content h2::after { display: none; }
.directions-teacher__content h3 { margin: 0 0 12px; color: #123e6c; font: 700 20px/1.3 var(--serif); }
.directions-teacher__content > p:not(.eyebrow) { margin: 0; color: #45637f; font-size: 15px; line-height: 1.6; }
.directions-teacher__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 24px; }
.directions-teacher__actions .button { min-height: 43px; font-size: 14px; }
.directions-teacher__more { color: #0d67c8; font-size: 14px; font-weight: 700; text-decoration: none; }
.directions-teacher__more:hover { text-decoration: underline; }
@media (max-width: 1050px) {
    .directions-page__intro-grid { grid-template-columns: minmax(0, 1fr) minmax(290px, .8fr); gap: 28px; }
    .directions-page__intro-help { padding: 20px; }
    .directions-page .catalog-section__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .directions-page #formaty .catalog-section__grid { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
    .directions-page__intro-grid { grid-template-columns: 1fr; gap: 22px; }
    .directions-page__intro-help { max-width: 540px; }
    .directions-page .catalog-section__grid { grid-template-columns: 1fr; }
    #predmety .catalog-section__grid { grid-template-columns: 1fr; }
    .directions-page .catalog-section__heading { align-items: start; }
    .directions-teacher__inner { grid-template-columns: 1fr; }
    .directions-teacher__photo { min-height: 250px; }
    .directions-teacher__content { padding: 26px; }
}
@media (max-width: 500px) {
    .directions-page__intro { padding-top: 22px; }
    .directions-page__intro-copy > p:last-child { font-size: 15px; }
    .directions-page__intro-help { gap: 12px; padding: 18px; }
    .directions-page__intro-help-icon { flex-basis: 36px; width: 36px; height: 36px; font-size: 21px; }
    .directions-page__intro-help h2 { font-size: 19px; }
    .directions-page .catalog-tabs { gap: 8px; }
    .directions-page .catalog-tabs a { min-height: 38px; padding: 7px 12px; font-size: 12px; }
    .directions-page__catalog { padding-top: 24px; }
    .directions-page .catalog-section { margin-bottom: 32px; }
    .directions-page .catalog-section__heading h2 { font-size: 24px; }
    .directions-page .catalog-section__count { display: none; }
    .directions-page .catalog-card__link { grid-template-columns: 56px minmax(0, 1fr); min-height: 130px; gap: 11px; padding: 15px 16px 21px; }
    .directions-page .catalog-card__art, .directions-page .catalog-card__art img { width: 56px; height: 56px; }
    .directions-page .catalog-card__title { font-size: 17px; }
    .directions-teacher__actions .button { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
    .directions-page .catalog-card__arrow { transition: none; }
}


/* Source: pages/service-refresh.css */
/* Shared layout for every direction detail page. */
.service-page { padding-bottom: 46px; }
.service-page .breadcrumbs { margin-bottom: 22px; }
.service-page__hero {
    grid-template-columns: minmax(0, 1.45fr) minmax(250px, .7fr);
    gap: clamp(24px, 4vw, 64px);
    min-height: 330px;
    padding: clamp(28px, 4vw, 52px);
    overflow: hidden;
    border: 1px solid #d9ebf7;
    border-radius: 20px;
    background: linear-gradient(115deg, #e9f6fe 0%, #f5fbff 55%, #fff 100%);
}
.service-page__copy { overflow-wrap: normal; }
.service-page__copy .eyebrow { margin-bottom: 12px; }
.service-page__copy h1 { max-width: 760px; margin: 0 0 16px; overflow-wrap: break-word; }
.service-page__copy .inner-page__lead { max-width: 680px; margin: 0; color: #476681; font-size: 17px; line-height: 1.6; }
.service-page__price { display: inline-flex; align-items: baseline; gap: 8px; margin: 16px 0 0; padding: 9px 14px; border: 1px solid #c6e2f5; border-radius: 10px; background: #fff; color: #506f8b; font-size: 14px; }
.service-page__price strong { color: #0b62af; font-size: 21px; white-space: nowrap; }
.service-page__hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 23px; margin-top: 26px; }
.service-page__hero-actions .button { min-height: 47px; font-size: 14px; }
.service-page__hero-more { color: #1267ae; font-size: 14px; font-weight: 700; text-decoration: none; }
.service-page__hero-more:hover { text-decoration: underline; text-underline-offset: 3px; }
.service-page__hero-more:focus-visible { outline: 2px solid #1267ae; outline-offset: 4px; }
.service-page__art { min-height: 245px; border-radius: 50%; background: radial-gradient(circle, #fff 0 60%, rgba(255,255,255,.65) 61% 73%, transparent 74%); }
.service-page__art img { width: min(100%, 300px); height: 245px; }
.service-page__art .service-art__svg { max-width: 150px; max-height: 150px; }
.service-page__format-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 24px 0 0; }
.service-page__format-facts > div { min-width: 0; padding: 17px 20px; border: 1px solid #cfe3f4; border-radius: 13px; background: linear-gradient(135deg, #f1f8ff, #fff); box-shadow: 0 6px 18px rgba(16, 66, 112, .05); }
.service-page__format-facts dt { margin-bottom: 5px; color: #176dca; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.service-page__format-facts dd { margin: 0; color: #123a68; font-size: 15px; font-weight: 600; line-height: 1.4; }
.service-page__format-facts + .service-page__focus { padding-top: 46px; }
@media (max-width: 700px) { .service-page__format-facts { grid-template-columns: 1fr; gap: 8px; } .service-page__format-facts > div { padding: 13px 16px; } }

.service-page__focus { display: grid; grid-template-columns: minmax(220px, .55fr) minmax(0, 1.45fr); align-items: start; gap: 14px 42px; padding-top: 62px; }
.service-page__section-heading .eyebrow { margin: 0 0 8px; }
.service-page__section-heading h2, .service-page__details .service-page__section-heading h2 { margin: 0 0 13px; color: #113967; font-size: clamp(28px, 2.7vw, 36px); line-height: 1.15; }
.service-page__section-heading h2::after { display: none; }
.service-page__focus .service-page__focus-lead { margin: 0; color: #607a92; font-size: 15px; line-height: 1.55; }
.service-page__focus ul { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.service-page__focus li { min-height: 64px; padding: 13px 15px; border-color: #dceaf5; border-radius: 12px; background: #f4faff; font-size: 15px; line-height: 1.4; }
.service-page__focus .service-page__focus-icon { flex: 0 0 36px; width: 36px; height: 36px; border-radius: 9px; }
.service-page__focus .service-page__focus-icon > svg { width: 20px; height: 20px; }
.service-page__focus .service-page__topic-link { text-decoration: none; }
.service-page__focus .service-page__topic-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.service-page__notice { grid-column: 2; margin: 4px 0 0; border-radius: 10px; }

.service-page__details { padding-top: 60px; scroll-margin-top: 20px; }
.service-page__details .service-page__section-heading { margin-bottom: 21px; }
.service-page__details-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.service-page__detail { display: flex; flex-direction: column; min-height: 245px; padding: 26px; border-color: #dceaf5; border-radius: 14px; background: #fff; box-shadow: 0 8px 25px rgba(16,66,112,.05); }
.service-page__detail-number { margin-bottom: 26px; color: #1a73c8; font: 700 15px/1 var(--sans); letter-spacing: .09em; }
.service-page__detail h3, .service-page__preparation h3 { margin: 0 0 11px; color: #113967; font-size: 20px; line-height: 1.2; }
.service-page__detail p, .service-page__preparation p { margin: 0; color: #506b83; font-size: 15px; line-height: 1.6; }
.service-page__preparation { align-items: stretch; justify-content: flex-start; gap: 0; margin: 0; }
.service-page__preparation-link { margin-top: auto; padding-top: 20px; }

.service-page + .lesson-linking { padding-block: 42px; background: #f5f9fc; }
.service-page + .lesson-linking .lesson-linking__group { border-radius: 14px; }

@media (max-width: 950px) {
    .service-page__hero { grid-template-columns: minmax(0, 1fr) 220px; gap: 24px; }
    .service-page__art { min-height: 210px; }
    .service-page__art img { height: 205px; }
    .service-page__focus { grid-template-columns: 1fr; gap: 20px; }
    .service-page__focus .service-page__section-heading { max-width: 560px; }
    .service-page__notice { grid-column: 1; }
    .service-page__details-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .service-page__preparation { grid-column: 1 / -1; min-height: 0; }
    .service-page__detail { min-height: 220px; }
}
@media (max-width: 650px) {
    .service-page { padding-bottom: 30px; }
    .service-page__hero { grid-template-columns: 1fr; gap: 10px; padding: 25px; }
    .service-page__copy .inner-page__lead { font-size: 15px; }
    .service-page__art { order: initial; min-height: 150px; }
    .service-page__art img { height: 170px; }
    .service-page__art .service-art__svg { max-width: 110px; max-height: 110px; }
    .service-page__focus, .service-page__details { padding-top: 42px; }
    .service-page__focus ul, .service-page__details-grid { grid-template-columns: 1fr; }
    .service-page__focus li { min-height: 58px; }
    .service-page__detail, .service-page__preparation { grid-column: auto; min-height: 0; padding: 22px; }
    .service-page__detail-number { margin-bottom: 17px; }
    .service-page + .lesson-linking { padding-block: 32px; }
}

/* One heading scale for the directions index and every service page. */
.directions-page__intro h1, .service-page__copy h1 { font-size: clamp(39px, 4vw, 58px); line-height: 1.07; }
@media (max-width: 650px) {
    .directions-page__intro h1, .service-page__copy h1 { font-size: clamp(33px, 8vw, 43px); }
}
@media (max-width: 430px) {
    .service-page__hero { padding: 21px; }
    .service-page__hero-actions { align-items: stretch; flex-direction: column; }
    .service-page__hero-actions .button { justify-content: center; }
}


/* Source: sections/advantages-showcase.css */
/* Home advantages in the site's blue palette. */
.advantages--showcase { position: relative; padding: 68px 0 72px; overflow: hidden; background: linear-gradient(110deg, #f4faff 0%, #f9fcff 55%, #eaf6fd 100%); }
.advantages--showcase::before { position: absolute; inset: 0 0 auto; height: 1px; background: #dcecf7; content: ''; }
.advantages__layout { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); align-items: center; gap: clamp(38px, 5vw, 74px); }
.advantages__content { min-width: 0; }
.advantages__eyebrow { display: inline-flex; align-items: center; min-height: 31px; margin: 0 0 18px; padding: 5px 14px; border: 1px solid #b9d6ef; border-radius: 30px; background: #fff; color: #176bc0; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.advantages__content h2 { display: block; margin: 0 0 14px; color: #123b68; font: 700 clamp(34px, 3.5vw, 45px)/1.1 var(--serif); letter-spacing: -.025em; white-space: nowrap; }
.advantages__content h2::after { display: none; }
.advantages__content h2 span { color: #1974c9; }
.advantages__lead { max-width: 520px; margin: 0 0 28px; color: #58738d; font-size: 16px; line-height: 1.55; }
.advantages--showcase .advantages__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.advantages--showcase .advantage-card { display: block; min-height: 157px; padding: 22px 38px 20px 20px; border: 1px solid #cfe5f8; border-radius: 17px; background: #e7f3ff; box-shadow: 0 8px 20px rgba(21,77,124,.07); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.advantages--showcase .advantage-card::before { display: block; width: 28px; height: 3px; margin-bottom: 15px; border-radius: 3px; background: #428ed4; content: ''; }
.advantages--showcase .advantage-card:nth-child(2) { background: #e5eefc; }
.advantages--showcase .advantage-card:nth-child(3) { border-color: #176ab8; background: linear-gradient(135deg, #247dcc, #12549f); }
.advantages--showcase .advantage-card:nth-child(3)::before { background: #a9d7ff; }
.advantages--showcase .advantage-card:nth-child(4) { background: #e4f5f7; }
.advantages--showcase .advantage-card h3 { margin: 0 0 9px; color: #11345c; font: 700 18px/1.2 var(--serif); }
.advantages--showcase .advantage-card p { margin: 0; color: #435e79; font-size: 13px; line-height: 1.5; }
.advantages--showcase .advantage-card:nth-child(3) h3, .advantages--showcase .advantage-card:nth-child(3) p { color: #fff; }
.advantages--showcase .advantage-card__arrow { right: 15px; bottom: 15px; color: #176bc0; opacity: .8; }
.advantages--showcase .advantage-card:nth-child(3) .advantage-card__arrow { color: #fff; }
.advantages--showcase .advantage-card:hover, .advantages--showcase .advantage-card:focus-visible { transform: translateY(-5px); border-color: #8cbfe9; box-shadow: 0 15px 30px rgba(17,67,108,.15); }
.advantages__visual { position: relative; min-width: 0; padding: 22px 12px 25px; }
.advantages__visual::before { position: absolute; inset: 5% 3% 4%; border-radius: 43% 57% 48% 52% / 36% 42% 58% 64%; background: #dcefff; content: ''; transform: rotate(-6deg); }
.advantages__visual::after { position: absolute; top: 20px; right: 26px; width: 9px; height: 9px; border-radius: 50%; background: #69aee3; box-shadow: -45px 22px 0 -2px #9bc9e9, 22px 80px 0 -2px #9bc9e9; content: ''; }
.advantages__photo-frame { position: relative; height: 510px; overflow: hidden; border: 7px solid rgba(255,255,255,.8); border-radius: 45% 55% 44% 56% / 35% 37% 63% 65%; background: #d8eefa; box-shadow: 0 24px 45px rgba(35,85,128,.13); }
.advantages__photo-frame img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 53% center; }
.advantages__note { position: absolute; top: 58px; left: -26px; padding: 15px 18px; border: 1px solid #b8dcf6; border-radius: 15px; background: rgba(255,255,255,.94); box-shadow: 0 12px 25px rgba(30,85,130,.1); color: #164d82; font: 700 14px/1.35 var(--serif); transform: rotate(-5deg); }
.advantages__teacher-link { position: absolute; right: -8px; bottom: 10px; display: flex; flex-direction: column; gap: 3px; max-width: 240px; padding: 14px 17px; border: 1px solid #cbe1f2; border-radius: 15px; background: rgba(255,255,255,.96); box-shadow: 0 12px 24px rgba(30,85,130,.14); color: #496985; font-size: 12px; line-height: 1.35; text-decoration: none; }
.advantages__teacher-link strong { color: #1268b6; font-size: 14px; }
.advantages__teacher-link:hover strong { text-decoration: underline; text-underline-offset: 3px; }
.advantages__teacher-link:focus-visible { outline: 3px solid #1268b6; outline-offset: 3px; }
@media (max-width: 1050px) {
    .advantages--showcase { padding-block: 54px; }
    .advantages__layout { gap: 26px; }
    .advantages__content h2 { font-size: clamp(31px, 3.4vw, 40px); }
    .advantages__photo-frame { height: 455px; }
    .advantages--showcase .advantage-card { min-height: 170px; }
}
@media (max-width: 800px) {
    .advantages__layout { grid-template-columns: 1fr; gap: 25px; }
    .advantages__content { max-width: 700px; }
    .advantages__visual { width: min(100%, 560px); margin-inline: auto; }
    .advantages__photo-frame { height: 480px; }
    .advantages__note { left: 0; }
    .advantages__teacher-link { right: 0; }
}
@media (max-width: 600px) {
    .advantages--showcase { padding-block: 42px 48px; }
    .advantages__content h2 { font-size: clamp(30px, 7vw, 38px); white-space: normal; }
    .advantages__lead { margin-bottom: 22px; font-size: 15px; }
    .advantages--showcase .advantages__grid { gap: 10px; }
    .advantages--showcase .advantage-card { min-height: 172px; padding: 17px 30px 17px 16px; }
    .advantages--showcase .advantage-card h3 { font-size: 16px; }
    .advantages--showcase .advantage-card p { font-size: 12px; }
    .advantages__photo-frame { height: 420px; }
    .advantages__note { top: 35px; font-size: 12px; }
}
@media (max-width: 430px) {
    .advantages--showcase .advantages__grid { grid-template-columns: 1fr; }
    .advantages--showcase .advantage-card { min-height: 130px; }
    .advantages__visual { padding-inline: 0; }
    .advantages__photo-frame { height: 365px; }
    .advantages__teacher-link { max-width: 205px; }
}
@media (prefers-reduced-motion: reduce) {
    .advantages--showcase .advantage-card { transition: none; }
}


/* Source: pages/diagnostic-page.css */
/* Educational diagnostic landing page; the shared home form is styled only in this wrapper. */
.diagnostic-page { color: #173d67; }
.diagnostic-page__hero { padding: 28px 0 54px; background: linear-gradient(110deg, #eaf6fd, #f9fcff 62%, #fff); }
.diagnostic-page__hero .breadcrumbs { margin-bottom: 27px; }
.diagnostic-page__hero-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(260px, .65fr); align-items: center; gap: 55px; }
.diagnostic-page__hero-copy .eyebrow { margin: 0 0 12px; }
.diagnostic-page__hero h1 { max-width: none; margin: 0 0 19px; color: #103862; font-size: clamp(39px, 4vw, 56px); line-height: 1.07; }
.diagnostic-page__hero-copy > p:not(.eyebrow) { max-width: 720px; margin: 0 0 25px; color: #496782; font-size: 17px; line-height: 1.6; }
.diagnostic-page__hero-copy .button { min-height: 49px; font-size: 14px; }
.diagnostic-page__hero-art { position: relative; display: grid; place-items: center; min-height: 300px; border: 1px solid #d8eaf7; border-radius: 25px; background: radial-gradient(circle at 53% 43%, #fff 0 42%, #e0f1fd 43% 72%, #f3faff 73%); }
.diagnostic-page__hero-art img { width: min(80%, 295px); height: 225px; object-fit: contain; }
.diagnostic-page__hero-art span { position: absolute; right: -16px; bottom: 22px; max-width: 225px; padding: 12px 15px; border: 1px solid #d5e7f4; border-radius: 11px; background: #fff; box-shadow: 0 9px 24px rgba(18,72,117,.11); color: #155f9e; font-size: 13px; font-weight: 700; line-height: 1.35; }

.diagnostic-page__findings, .diagnostic-page__examples, .diagnostic-page__steps { padding: 64px 0; }
.diagnostic-page__section-head { max-width: 760px; margin-bottom: 26px; }
.diagnostic-page__section-head .eyebrow { margin: 0 0 8px; }
.diagnostic-page__section-head h2 { display: block; margin: 0 0 10px; color: #103862; font-size: clamp(29px, 2.9vw, 38px); line-height: 1.14; }
.diagnostic-page__section-head h2::after { display: none; }
.diagnostic-page__section-head > p:last-child { margin: 0; color: #5b7690; font-size: 15px; line-height: 1.55; }
.diagnostic-page__findings-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.diagnostic-page__finding { min-height: 225px; padding: 25px 22px; border: 1px solid #dceaf5; border-radius: 15px; background: #f3f9fe; }
.diagnostic-page__finding > span { display: inline-flex; margin-bottom: 29px; color: #1c77c8; font-size: 14px; font-weight: 700; letter-spacing: .08em; }
.diagnostic-page__finding h3 { margin: 0 0 10px; color: #153d69; font: 700 20px/1.2 var(--serif); }
.diagnostic-page__finding p { margin: 0; color: #58728b; font-size: 14px; line-height: 1.55; }

.diagnostic-page__examples { background: #f3f9fd; }
.diagnostic-page__examples-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.diagnostic-page__example { padding: 29px 31px; border: 1px solid #d8e9f6; border-radius: 17px; background: #fff; box-shadow: 0 8px 23px rgba(21,75,119,.06); }
.diagnostic-page__example-subject { display: inline-flex; margin-bottom: 17px; padding: 6px 11px; border-radius: 30px; background: #e8f4fd; color: #146cb7; font-size: 12px; font-weight: 700; }
.diagnostic-page__example h3 { margin: 0 0 21px; color: #123b66; font: 700 22px/1.2 var(--serif); }
.diagnostic-page__example div { padding: 14px 0; border-top: 1px solid #e7eff6; }
.diagnostic-page__example div:last-child { padding-bottom: 0; }
.diagnostic-page__example div strong { display: block; margin-bottom: 5px; color: #1369b1; font-size: 13px; }
.diagnostic-page__example div p { margin: 0; color: #55718a; font-size: 14px; line-height: 1.55; }

.diagnostic-page__steps-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 0; padding: 0; list-style: none; }
.diagnostic-page__steps-list li { display: flex; align-items: flex-start; gap: 17px; padding: 25px; border: 1px solid #dceaf5; border-radius: 15px; background: #fff; box-shadow: 0 6px 20px rgba(21,75,119,.045); }
.diagnostic-page__steps-list li > span { display: grid; flex: 0 0 38px; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: #e5f3ff; color: #1370c5; font-size: 17px; font-weight: 700; }
.diagnostic-page__steps-list h3 { margin: 3px 0 9px; color: #123b66; font: 700 19px/1.22 var(--serif); }
.diagnostic-page__steps-list p { margin: 0; color: #58728b; font-size: 14px; line-height: 1.55; }
.diagnostic-page__prep { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-top: 18px; padding: 23px 27px; border-radius: 14px; background: #eaf6ff; }
.diagnostic-page__prep div { max-width: 780px; }
.diagnostic-page__prep strong { display: block; margin-bottom: 5px; color: #123b66; font: 700 19px/1.25 var(--serif); }
.diagnostic-page__prep p { margin: 0; color: #55718a; font-size: 14px; line-height: 1.5; }
.diagnostic-page__prep a { flex: 0 0 auto; color: #116bb8; font-size: 14px; font-weight: 700; text-decoration: none; }
.diagnostic-page__prep a:hover { text-decoration: underline; text-underline-offset: 3px; }
.diagnostic-page__steps .linking-context { max-width: 900px; margin: 20px 0 0; color: #607a92; font-size: 14px; line-height: 1.6; }

.diagnostic-page .diagnostic { padding-block: 62px; scroll-margin-top: 15px; }
.diagnostic-page .diagnostic__inner { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; gap: 68px; }
.diagnostic-page .diagnostic__copy h2 { margin-bottom: 16px; font-size: clamp(28px, 2.7vw, 36px); }
.diagnostic-page .diagnostic__copy > p { max-width: 480px; font-size: 16px; }
.diagnostic-page .diagnostic__copy ul { margin-top: 22px; }
.diagnostic-page .form-card { padding: 28px; border-radius: 17px; }

@media (max-width: 1050px) {
    .diagnostic-page__hero-grid { gap: 28px; }
    .diagnostic-page__findings-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .diagnostic-page__finding { min-height: 185px; }
    .diagnostic-page__steps-list { gap: 12px; }
    .diagnostic-page__steps-list li { flex-direction: column; padding: 20px; }
    .diagnostic-page .diagnostic__inner { gap: 32px; }
}
@media (max-width: 750px) {
    .diagnostic-page__hero-grid { grid-template-columns: 1fr; }
    .diagnostic-page__hero-art { min-height: 210px; }
    .diagnostic-page__hero-art img { height: 180px; }
    .diagnostic-page__hero-art span { right: 12px; bottom: 10px; }
    .diagnostic-page__examples-grid, .diagnostic-page__steps-list { grid-template-columns: 1fr; }
    .diagnostic-page__steps-list li { flex-direction: row; }
    .diagnostic-page .diagnostic__inner { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    .diagnostic-page__hero { padding: 22px 0 40px; }
    .diagnostic-page__hero .breadcrumbs { margin-bottom: 20px; }
    .diagnostic-page__hero h1 { font-size: clamp(29px, 8vw, 39px); }
    .diagnostic-page__hero-copy > p:not(.eyebrow) { font-size: 15px; }
    .diagnostic-page__hero-copy .button { width: 100%; justify-content: center; }
    .diagnostic-page__findings, .diagnostic-page__examples, .diagnostic-page__steps { padding-block: 42px; }
    .diagnostic-page__section-head h2 { font-size: 29px; }
    .diagnostic-page__findings-grid { grid-template-columns: 1fr; gap: 10px; }
    .diagnostic-page__finding { min-height: 0; padding: 19px 21px; }
    .diagnostic-page__finding > span { margin-bottom: 15px; }
    .diagnostic-page__example { padding: 22px; }
    .diagnostic-page__example h3 { font-size: 20px; }
    .diagnostic-page__steps-list li { gap: 13px; }
    .diagnostic-page__prep { flex-direction: column; align-items: flex-start; padding: 21px; }
    .diagnostic-page .diagnostic { padding-block: 42px; }
    .diagnostic-page .form-card { padding: 20px; }
}


/* Source: sections/teacher-showcase.css */
/* Shared teacher section for the home and teacher pages. */
.teacher--showcase { padding: 76px 0 82px; background: #fff; }
.teacher--showcase .teacher__heading { display: flex; justify-content: space-between; align-items: end; gap: 28px; margin-bottom: 30px; }
.teacher--showcase .teacher__heading > p { max-width: 350px; margin: 0 0 5px; color: #657e98; font-size: 15px; line-height: 1.55; }
.teacher--showcase .teacher__eyebrow { margin: 0 0 11px; color: #146ab9; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.teacher--showcase .teacher__heading h2 { margin: 0; color: #123b68; font: 700 clamp(34px, 3.3vw, 44px)/1.12 var(--serif); letter-spacing: -.025em; white-space: nowrap; }
.teacher--showcase .teacher__heading h2::after { display: none; }
.teacher--showcase .teacher__layout { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(34px, 4.4vw, 70px); align-items: center; }
.teacher--showcase .teacher__visual { position: relative; min-width: 0; padding-bottom: 25px; }
.teacher--showcase .teacher__visual::before { position: absolute; inset: 18px -15px 9px 15px; border-radius: 24px; background: linear-gradient(145deg, #e8f5ff, #d6eafd); content: ''; }
.teacher--showcase .teacher__portrait { position: relative; height: clamp(360px, 32vw, 450px); overflow: hidden; border-radius: 20px; background: #e8f5ff; box-shadow: 0 20px 38px rgba(21, 69, 111, .13); }
.teacher--showcase .teacher__portrait img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 43% center; }
.teacher--showcase .teacher__portrait-note { position: absolute; right: -24px; bottom: 0; display: flex; align-items: center; gap: 12px; max-width: 250px; padding: 14px 17px; border: 1px solid #d3e7f7; border-radius: 14px; background: #fff; box-shadow: 0 12px 28px rgba(19, 70, 113, .14); color: #174572; font-size: 13px; font-weight: 700; line-height: 1.35; }
.teacher--showcase .teacher__portrait-note img { flex: 0 0 28px; width: 28px; height: 28px; }
.teacher--showcase .teacher__content { min-width: 0; }
.teacher--showcase .teacher__role { display: inline-flex; margin: 0 0 13px; padding: 8px 12px; border: 1px solid #c8e3f8; border-radius: 30px; background: #f0f8ff; color: #176ab6; font-size: 12px; font-weight: 700; line-height: 1.2; }
.teacher--showcase .teacher__content h3 { margin: 0 0 14px; color: #123b68; font: 700 clamp(27px, 2.8vw, 36px)/1.17 var(--serif); }
.teacher--showcase .teacher__intro { max-width: 660px; margin: 0 0 23px; color: #536f88; font-size: 16px; line-height: 1.65; }
.teacher--showcase .teacher__approach { display: grid; gap: 0; border: 1px solid #d8e8f4; border-radius: 16px; background: #f7fbff; }
.teacher--showcase .teacher__approach-item { display: grid; grid-template-columns: 48px 1fr; gap: 14px; align-items: start; padding: 15px 18px; }
.teacher--showcase .teacher__approach-item + .teacher__approach-item { border-top: 1px solid #e0edf7; }
.teacher--showcase .teacher__approach-icon { display: grid; width: 46px; height: 46px; place-items: center; border: 1px solid #d6eafb; border-radius: 13px; background: #fff; }
.teacher--showcase .teacher__approach-icon img { display: block; width: 28px; height: 28px; }
.teacher--showcase .teacher__approach-item h4 { margin: 0 0 4px; color: #153f6e; font: 700 16px/1.25 var(--serif); }
.teacher--showcase .teacher__approach-item p { margin: 0; color: #5d7891; font-size: 13px; line-height: 1.45; }
.teacher--showcase .teacher__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-top: 23px; }
.teacher--showcase .teacher__actions .button { min-height: 46px; padding-inline: 20px; font-size: 14px; }
.teacher--showcase .teacher__more { color: #1265b2; font-size: 14px; font-weight: 700; text-decoration: none; text-underline-offset: 4px; }
.teacher--showcase .teacher__more:hover { text-decoration: underline; }
.teacher--showcase .teacher__more:focus-visible { outline: 3px solid #1265b2; outline-offset: 5px; }
.teacher--showcase .teacher__details { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 28px 0 0; }
.teacher--showcase .teacher__details > div { padding: 17px 19px; border: 1px solid #d9e8f5; border-radius: 14px; background: #f7fbff; }
.teacher--showcase .teacher__details dt { margin-bottom: 7px; color: #68829a; font-size: 12px; }
.teacher--showcase .teacher__details dd { margin: 0; color: #173f6a; font-size: 15px; font-weight: 700; line-height: 1.4; }
@media (max-width: 900px) {
  .teacher--showcase { padding-block: 58px 65px; }
  .teacher--showcase .teacher__layout { gap: 30px; }
  .teacher--showcase .teacher__portrait { height: 420px; }
  .teacher--showcase .teacher__portrait-note { right: 0; }
}
@media (max-width: 720px) {
  .teacher--showcase { padding-block: 44px 52px; }
  .teacher--showcase .teacher__heading { display: block; margin-bottom: 22px; }
  .teacher--showcase .teacher__heading > p { margin-top: 10px; }
  .teacher--showcase .teacher__layout { grid-template-columns: 1fr; gap: 25px; }
  .teacher--showcase .teacher__visual { max-width: 550px; padding-right: 12px; }
  .teacher--showcase .teacher__portrait { height: 390px; }
  .teacher--showcase .teacher__details { grid-template-columns: 1fr; }
}
@media (max-width: 450px) {
  .teacher--showcase .teacher__heading h2 { font-size: 32px; }
  .teacher--showcase .teacher__heading > p { font-size: 14px; }
  .teacher--showcase .teacher__portrait { height: 320px; }
  .teacher--showcase .teacher__portrait-note { max-width: 210px; padding: 10px 12px; font-size: 11px; }
  .teacher--showcase .teacher__content h3 { font-size: 28px; }
  .teacher--showcase .teacher__intro { font-size: 15px; }
  .teacher--showcase .teacher__approach-item { grid-template-columns: 42px 1fr; gap: 11px; padding: 13px; }
  .teacher--showcase .teacher__approach-icon { width: 41px; height: 41px; }
  .teacher--showcase .teacher__actions { align-items: stretch; flex-direction: column; gap: 14px; }
  .teacher--showcase .teacher__actions .button { justify-content: center; }
  .teacher--showcase .teacher__more { text-align: center; }
}


/* Source: sections/hero-image-polish.css */
/* Keep the photo inside the content width, with soft edges against the hero background. */
.hero.hero--study-photo { position: relative; overflow: hidden; background: #eaf6fd; }
.hero--study-photo::before, .hero--study-photo::after { content: none; }
.hero--study-photo .hero__inner { position: relative; isolation: isolate; overflow: hidden; }
.hero--study-photo .hero__inner::before { position: absolute; z-index: -2; inset: 0; background: url('/assets/images/reference-hero.webp') 57% center / cover no-repeat; content: ''; }
.hero--study-photo .hero__inner::after { position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, #eaf6fd 0%, rgba(234,246,253,.99) 28%, rgba(234,246,253,.9) 43%, rgba(234,246,253,.58) 55%, rgba(234,246,253,.06) 70%, rgba(234,246,253,.3) 86%, #eaf6fd 100%); content: ''; pointer-events: none; }
.hero--study-photo .hero__visual.photo-placeholder { visibility: hidden; margin: 0; background: none; -webkit-mask-image: none; mask-image: none; }
@media (max-width: 900px) {
  .hero.hero--study-photo { background: #eaf6fd; }
  .hero--study-photo .hero__inner::before, .hero--study-photo .hero__inner::after { content: none; }
  .hero--study-photo .hero__visual.photo-placeholder { visibility: visible; position: relative; order: -1; height: clamp(240px, 48vw, 380px); min-height: 0; margin: 0; background: url('/assets/images/reference-hero.webp') 70% center / cover no-repeat; -webkit-mask-image: none; mask-image: none; }
  .hero--study-photo .hero__visual.photo-placeholder::before { position: absolute; inset: 0; background: linear-gradient(0deg, #eaf6fd 0%, rgba(234,246,253,0) 24%); content: ''; }
}


/* Source: pages/service-covers.css */
/* Square service covers are shared by the home cards, catalog and service pages. */
.directions .direction-card { grid-template-columns: 150px minmax(0, 1fr); min-height: 150px; border-radius: 14px; }
.directions .direction-card::after { display: none; }
.directions .direction-card__art { background: #eaf6fd; }
.directions .direction-card__art .service-art__cover { display: block; width: 100%; height: 100%; min-height: 150px; object-fit: cover; transform: none; filter: none; }
.directions .direction-card__body { padding: 18px 18px 16px; }
.directions-page .catalog-card__link { grid-template-columns: 112px minmax(0, 1fr); gap: 15px; min-height: 150px; padding: 18px; }
.directions-page .catalog-card__art { width: 112px; height: 112px; border-radius: 12px; background: #eaf6fd; }
.directions-page .catalog-card__art .service-art__cover { display: block; width: 100%; height: 100%; object-fit: cover; }
.service-page .service-page__art--cover { min-height: 260px; border-radius: 18px; background: transparent; }
.service-page .service-page__art .service-art__cover { display: block; width: min(100%, 260px); height: 260px; border-radius: 18px; object-fit: cover; box-shadow: 0 12px 28px rgba(17,67,108,.13); }
.related-links__image .service-art__cover { border-radius: 9px; object-fit: cover; }
@media (max-width: 700px) {
  .directions-page .catalog-card__link { grid-template-columns: 100px minmax(0, 1fr); gap: 13px; }
  .directions-page .catalog-card__art { width: 100px; height: 100px; }
}
@media (max-width: 600px) {
  .directions .direction-card { grid-template-columns: 118px minmax(0, 1fr); min-height: 118px; }
  .directions .direction-card__art .service-art__cover { min-height: 118px; }
  .directions .direction-card__body { padding: 12px; }
  .service-page .service-page__art--cover { min-height: 190px; }
  .service-page .service-page__art .service-art__cover { width: 190px; height: 190px; }
}
@media (max-width: 500px) {
  .directions-page .catalog-card__link { grid-template-columns: 104px minmax(0, 1fr); gap: 11px; padding: 15px; }
  .directions-page .catalog-card__art { width: 104px; height: 104px; }
}


/* Source: pages/directions-vibrancy.css */
/* Stronger hierarchy for the directions catalog, within the existing blue palette. */
.directions-page__intro { background: radial-gradient(circle at 9% 8%, #d8edfb 0, rgba(216,237,251,0) 38%), linear-gradient(110deg, #e8f5fe, #f8fcff 72%); }
.directions-page__intro-copy .eyebrow { color: #096abf; }
.directions-page__intro-copy h1 { color: #0b3568; }
.directions-page__intro-copy > p:last-child { color: #365d82; }
.directions-page__intro-help { position: relative; overflow: hidden; border-color: #1765ae; background: linear-gradient(135deg, #1879cf, #0d4b8e); box-shadow: 0 16px 34px rgba(14,75,137,.22); }
.directions-page__intro-help::after { position: absolute; right: -54px; bottom: -86px; width: 230px; height: 230px; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; box-shadow: 0 0 0 36px rgba(255,255,255,.045), 0 0 0 72px rgba(255,255,255,.03); content: ''; pointer-events: none; }
.directions-page__intro-help-body, .directions-page__intro-help-icon { position: relative; z-index: 1; }
.directions-page__intro-help-icon { background: rgba(255,255,255,.18); color: #fff; }
.directions-page__intro-help .directions-page__intro-help-label { color: #d4ebff; }
.directions-page__intro-help h2 { color: #fff; }
.directions-page__intro-help-body > p:not(.directions-page__intro-help-label) { color: #e1f1ff; }
.directions-page__intro-help .directions-page__intro-action { border: 1px solid #fff; background: #fff; box-shadow: 0 7px 16px rgba(5,40,79,.18); color: #0a569d; }
.directions-page__intro-help .directions-page__intro-action:hover, .directions-page__intro-help .directions-page__intro-action:focus-visible { background: #e7f4ff; color: #083f77; }
.directions-page .catalog-tabs a { border-color: #b8d9f2; box-shadow: 0 3px 10px rgba(20,79,134,.06); }
.directions-page .catalog-tabs a:hover, .directions-page .catalog-tabs a:focus-visible { border-color: #0d67c8; box-shadow: 0 5px 14px rgba(13,103,200,.18); }
.directions-page__catalog { padding-top: 38px; }
.directions-page .catalog-section { --group-accent: #176fbd; margin: 0 0 22px; padding: 25px 24px 27px; border: 1px solid #d7e9f7; border-top: 4px solid var(--group-accent); border-radius: 18px; background: #f3f9fe; }
.directions-page #podgotovka { --group-accent: #16869d; border-color: #d2ebed; border-top-color: var(--group-accent); background: #f2faf9; }
.directions-page #podderzhka { --group-accent: #5b72b8; border-color: #dde4f7; border-top-color: var(--group-accent); background: #f5f7fd; }
.directions-page #formaty { --group-accent: #2b66a3; border-color: #d7e8f7; border-top-color: var(--group-accent); background: #f2f8fe; }
.directions-page .catalog-section__heading { margin-bottom: 18px; padding-bottom: 16px; border-bottom: 1px solid #dbe8f2; }
.directions-page .catalog-section__heading h2 { color: #0d3869; }
.directions-page .catalog-section__heading p { margin: 5px 0 0; color: #536f88; }
.directions-page .catalog-section__count { background: var(--group-accent); color: #fff; }
.directions-page .catalog-card { border-color: #d1e3f1; box-shadow: 0 5px 16px rgba(14,49,95,.065); transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.directions-page .catalog-card:hover, .directions-page .catalog-card:focus-within { transform: translateY(-3px); border-color: var(--group-accent); box-shadow: 0 12px 25px rgba(14,49,95,.14); }
.directions-page .catalog-card__art { overflow: hidden; background: linear-gradient(135deg, #318bd9, #0a58aa); }
.directions-page .catalog-card__art .service-art__svg { filter: brightness(0) invert(1); opacity: 1; }
.directions-page .catalog-card__meta { color: var(--group-accent); font-weight: 700; }
.directions-page .catalog-card__title { color: #0c3564; }
.directions-page .catalog-card__arrow { display: grid; width: 28px; height: 28px; place-items: center; right: 11px; bottom: 10px; border-radius: 8px; background: #e9f4ff; color: var(--group-accent); font-size: 18px; }
.directions-page .catalog-card:hover .catalog-card__arrow, .directions-page .catalog-card:focus-within .catalog-card__arrow { background: var(--group-accent); color: #fff; }
.directions-page .directions-teacher__inner { border-color: #c9e2f5; background: linear-gradient(115deg, #e8f5fe, #dceefd); box-shadow: 0 12px 28px rgba(24,80,127,.09); }
.directions-page + .faq { background: #f7fbfe; }
@media (max-width: 700px) {
  .directions-page .catalog-section { padding: 21px 18px 23px; }
  .directions-page__catalog { padding-top: 28px; }
}
@media (max-width: 500px) {
  .directions-page .catalog-section { margin-bottom: 17px; padding: 18px 14px 20px; border-radius: 15px; }
  .directions-page .catalog-section__heading { padding-bottom: 12px; margin-bottom: 14px; }
  .directions-page .catalog-card__arrow { width: 26px; height: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  .directions-page .catalog-card { transition: none; }
}


/* Source: sections/home-directions-polish.css */
/* The homepage introduces four featured services, then offers the rest as a compact directory. */
.directions--home {
    padding: 58px 0 54px;
    background: linear-gradient(180deg, #f5faff 0%, #fff 100%);
}
.directions--home .section-heading { margin-bottom: 24px; }
.directions--home .section-heading p { color: #42688d; font-size: 16px; }
.directions--home .directions__grid { gap: 20px; }
.directions--home .direction-card {
    min-height: 206px;
    grid-template-columns: 206px minmax(0, 1fr);
    border: 1px solid #cfe3f4;
    border-radius: 18px;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(17, 67, 108, .08);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.directions--home .direction-card:nth-child(2) { border-color: #c9e4e8; }
.directions--home .direction-card:nth-child(3) { border-color: #d7d9f1; }
.directions--home .direction-card:nth-child(4) { border-color: #bddded; }
.directions--home .direction-card__art { align-self: start; background: #fff; }
.directions--home .direction-card__art .service-art__cover {
    position: static;
    display: block;
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 1;
    object-fit: contain;
}
.directions--home .direction-card__body { padding: 20px 22px; }
.directions--home .direction-card .card-meta {
    display: block;
    margin: 0 0 7px;
    color: #1264b7 !important;
    font: 700 11px/1.3 var(--sans) !important;
    letter-spacing: .05em;
    text-transform: uppercase;
}
.directions--home .direction-card h3 { margin-bottom: 8px; font-size: 21px; line-height: 1.2; }
.directions--home .direction-card__body > p:not(.card-meta) { margin: 0; color: #345b7b; font-size: 15px; line-height: 1.45; }
.directions--home .direction-card .link-button { margin-top: 15px; }
.directions--home .direction-card:focus-within { border-color: #1a78cf; box-shadow: 0 10px 28px rgba(17, 91, 160, .16); }

.lesson-linking--home {
    padding: 54px 0 66px;
    border-top: 0;
    background: #f3f8fc;
}
.lesson-linking--home .lesson-linking__header { margin-bottom: 9px; }
.lesson-linking--home .lesson-linking__intro { margin-bottom: 24px; color: #42688d; font-size: 16px; }
.lesson-linking--home .lesson-linking__groups { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.lesson-linking--home .lesson-linking__group {
    padding: 20px 20px 15px;
    border: 1px solid #d4e4f1;
    border-top: 4px solid #2d80cc;
    border-radius: 16px;
    box-shadow: 0 8px 22px rgba(17, 67, 108, .06);
}
.lesson-linking--home .lesson-linking__group:nth-child(2) { border-top-color: #25a3a3; }
.lesson-linking--home .lesson-linking__group:nth-child(3) { border-top-color: #6d83cb; }
.lesson-linking--home .lesson-linking__group-head { align-items: center; min-height: 52px; }
.lesson-linking--home .lesson-linking__group h3 { font-size: 19px; line-height: 1.2; }
.lesson-linking--home .lesson-linking__count {
    display: inline-grid;
    place-items: center;
    width: 29px;
    height: 29px;
    border-radius: 50%;
    background: #eaf4ff;
    color: #155eaa;
}
.lesson-linking--home .lesson-linking__group:nth-child(2) .lesson-linking__count { background: #e5f7f5; color: #087a7c; }
.lesson-linking--home .lesson-linking__group:nth-child(3) .lesson-linking__count { background: #eef0ff; color: #536ab0; }
.lesson-linking--home .lesson-linking__group a { min-height: 48px; color: #214d75; font-size: 15px; }
.lesson-linking--home .lesson-linking__group a:hover { color: #075bae; }

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
    .directions--home .direction-card:hover { transform: translateY(-3px); border-color: #7db9e9; box-shadow: 0 15px 32px rgba(17, 67, 108, .14); }
}
@media (max-width: 1050px) {
    .lesson-linking--home .lesson-linking__groups { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .lesson-linking--home .lesson-linking__group:last-child { grid-column: 1 / -1; }
    .lesson-linking--home .lesson-linking__group:last-child ul { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 20px; }
}
@media (max-width: 900px) {
    .directions--home .directions__grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 700px) {
    .directions--home { padding: 36px 0 40px; }
    .directions--home .directions__grid { gap: 14px; }
    .lesson-linking--home { padding: 40px 0 48px; }
    .lesson-linking--home .lesson-linking__groups { grid-template-columns: minmax(0, 1fr); }
    .lesson-linking--home .lesson-linking__group:last-child { grid-column: auto; }
    .lesson-linking--home .lesson-linking__group:last-child ul { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
    .directions--home .direction-card { grid-template-columns: 160px minmax(0, 1fr); min-height: 160px; }
    .directions--home .direction-card__body { padding: 14px; }
    .directions--home .direction-card h3 { font-size: 18px; }
    .directions--home .direction-card__body > p:not(.card-meta) { font-size: 13px; }
    .directions--home .direction-card .link-button { margin-top: 10px; }
    .lesson-linking--home .lesson-linking__header { align-items: flex-start; gap: 14px; }
    .lesson-linking--home .lesson-linking__group { padding: 16px; }
}
@media (max-width: 400px) {
    .directions--home .direction-card { grid-template-columns: 128px minmax(0, 1fr); }
    .directions--home .direction-card__body { padding: 12px; }
    .directions--home .direction-card h3 { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) {
    .directions--home .direction-card { transition: none; }
}


/* Source: pages/formats.css */
.formats-page { color: #123a68; }
.formats-page__intro { padding: 40px 0; background: radial-gradient(circle at 8% 8%, #d9efff 0, transparent 39%), linear-gradient(110deg, #ebf7ff, #f8fcff 74%); }
.formats-page__intro .breadcrumbs { margin-bottom: 32px; }
.formats-page__intro-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(290px, .65fr); align-items: center; gap: clamp(28px, 4vw, 64px); }
.formats-page .eyebrow { margin: 0 0 8px; color: #1169bd; }
.formats-page__intro h1 { margin: 0 0 16px; color: #0b3568; font: 700 clamp(38px, 4vw, 56px)/1.1 var(--serif); }
.formats-page__lead { max-width: 680px; margin: 0; color: #365d82; font-size: 17px; line-height: 1.55; }
.formats-page__quick-links { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 24px; }
.formats-page__quick-links a { display: inline-flex; align-items: center; min-height: 38px; padding: 8px 13px; border: 1px solid #b8d9f2; border-radius: 100px; background: #fff; color: #145b9f; font-size: 13px; font-weight: 700; text-decoration: none; }
.formats-page__quick-links a:hover, .formats-page__quick-links a:focus-visible { border-color: #0d67c8; background: #0d67c8; color: #fff; }
.formats-page__help { position: relative; overflow: hidden; padding: 26px; border: 1px solid #1467b6; border-radius: 18px; background: linear-gradient(140deg, #187acb, #0e4e91); color: #fff; box-shadow: 0 16px 34px rgba(14,75,137,.2); }
.formats-page__help::after { position: absolute; right: -55px; bottom: -95px; width: 220px; height: 220px; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; box-shadow: 0 0 0 36px rgba(255,255,255,.05); content: ''; pointer-events: none; }
.formats-page__help > * { position: relative; z-index: 1; }
.formats-page__help-icon { display: grid; width: 42px; height: 42px; place-items: center; margin-bottom: 15px; border-radius: 12px; background: rgba(255,255,255,.2); font: 700 25px/1 var(--serif); }
.formats-page__help h2 { margin: 0 0 10px; color: #fff; font: 700 23px/1.2 var(--serif); }
.formats-page__help h2::after { display: none; }
.formats-page__help p { margin: 0 0 20px; color: #e0f0ff; font-size: 14px; line-height: 1.5; }
.formats-page__help .button { min-height: 44px; border: 1px solid #fff; background: #fff; color: #0b559b; font-size: 14px; }
.formats-page__help .button:hover, .formats-page__help .button:focus-visible { background: #e8f5ff; color: #083f77; }
.formats-page__content { padding-top: 48px; padding-bottom: 60px; }
.formats-page__compare { margin-bottom: 46px; }
.formats-page__section-heading, .formats-page__schedule-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.formats-page__section-heading h2, .formats-page__schedule-heading h2 { margin: 0 0 5px; color: #0e315f; font: 700 31px/1.2 var(--serif); }
.formats-page__section-heading h2::after, .formats-page__schedule-heading h2::after { display: none; }
.formats-page__section-heading p:not(.eyebrow), .formats-page__schedule-heading p:not(.eyebrow) { margin: 0; color: #526f89; font-size: 15px; line-height: 1.5; }
.formats-page__total { flex: 0 0 auto; padding: 7px 12px; border-radius: 100px; background: #e8f4ff; color: #155ea8; font-size: 13px; font-weight: 700; }
.formats-page__compare-head, .formats-page__row { display: grid; grid-template-columns: minmax(210px, 1.18fr) minmax(175px, 1fr) minmax(180px, 1fr) 110px; align-items: center; gap: 20px; }
.formats-page__compare-head { min-height: 50px; padding: 14px 24px; border: 1px solid #0d4d89; border-radius: 16px 16px 0 0; background: linear-gradient(100deg, #0d3d73, #1769ad); color: #fff; font-size: 13px; font-weight: 700; letter-spacing: .01em; }
.formats-page__compare-list { overflow: hidden; border: 1px solid #c8dfef; border-top: 0; border-radius: 0 0 16px 16px; background: #fff; box-shadow: 0 14px 34px rgba(17,67,108,.1); }
.formats-page__row { position: relative; min-height: 108px; padding: 18px 24px; scroll-margin-top: 20px; transition: background-color .16s ease; }
.formats-page__row::before { position: absolute; top: 0; bottom: 0; left: 0; width: 4px; background: #2a83ca; content: ''; }
.formats-page__row:nth-child(2)::before { background: #22a0a2; }
.formats-page__row:nth-child(3)::before { background: #7284c7; }
.formats-page__row + .formats-page__row { border-top: 1px solid #e6eff6; }
.formats-page__row:nth-child(even) { background: #f6faff; }
.formats-page__row:hover, .formats-page__row:focus-within { background: #eef7ff; }
.formats-page__row-name { display: flex; align-items: center; gap: 13px; min-width: 0; }
.formats-page__row-icon { display: grid; flex: 0 0 52px; width: 52px; height: 52px; place-items: center; border: 1px solid #cde6f8; border-radius: 13px; background: #e5f3ff; }
.formats-page__row:nth-child(2) .formats-page__row-icon { border-color: #c9e9e8; background: #e8f8f6; }
.formats-page__row:nth-child(3) .formats-page__row-icon { border-color: #dce3f8; background: #eef1ff; }
.formats-page__row-icon img { width: 30px; height: 30px; object-fit: contain; }
.formats-page__row-name small { display: block; margin-bottom: 4px; color: #176cb6; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .045em; }
.formats-page__row:nth-child(2) .formats-page__row-name small { color: #128588; }
.formats-page__row:nth-child(3) .formats-page__row-name small { color: #6375b3; }
.formats-page__row-name h3 { margin: 0; color: #0e315f; font: 700 19px/1.2 var(--serif); }
.formats-page__row-price { display: inline-block; margin-top: 6px; color: #0b62af; font-size: 15px; white-space: nowrap; }
.formats-page__row > p { margin: 0; padding-left: 20px; border-left: 1px solid #dce9f3; color: #395d7d; font-size: 14px; line-height: 1.5; }
.formats-page__row > p:first-of-type { color: #254e72; font-weight: 600; }
.formats-page__row > a { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 38px; padding: 8px 11px; border: 1px solid #b4d7f2; border-radius: 8px; background: #eef7ff; color: #0b63b2; font-size: 13px; font-weight: 700; text-decoration: none; white-space: nowrap; transition: background-color .16s ease, color .16s ease; }
.formats-page__row > a:hover, .formats-page__row > a:focus-visible { border-color: #0d67c8; background: #0d67c8; color: #fff; }
.formats-page__row > a:focus-visible { outline: 2px solid #0d67c8; outline-offset: 3px; }
.formats-page__mobile-label { display: none; }
.formats-page__compare-note { margin: 14px 0 0; padding: 13px 16px; border-left: 3px solid #378dd1; border-radius: 0 9px 9px 0; background: #f1f8fe; color: #3e6584; font-size: 13px; line-height: 1.5; }
.formats-page__schedule { padding: 28px; border: 1px solid #cfe4f5; border-radius: 18px; background: #f3f9fe; scroll-margin-top: 20px; }
.formats-page__schedule-heading { margin-bottom: 20px; }
.formats-page__schedule-heading > a { flex: 0 0 auto; color: #0d67c8; font-size: 14px; font-weight: 700; text-decoration: none; }
.formats-page__schedule-heading > a:hover, .formats-page__schedule-heading > a:focus-visible { text-decoration: underline; }
.formats-page__schedule-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.formats-page__schedule-grid > div { display: flex; flex-direction: column; gap: 8px; min-height: 104px; padding: 18px; border: 1px solid #d7e7f2; border-radius: 12px; background: #fff; }
.formats-page__schedule-grid strong { color: #0e315f; font: 700 17px/1.25 var(--serif); }
.formats-page__schedule-grid span { color: #37668d; font-size: 14px; font-weight: 600; line-height: 1.4; }
.formats-page__schedule-contact { margin: 18px 0 14px; color: #476986; font-size: 14px; line-height: 1.5; }
.formats-page__schedule .button { min-height: 44px; font-size: 14px; }
.formats-page__back { margin-top: 26px; text-align: center; }
.formats-page__back a { color: #0b61ae; font-size: 14px; font-weight: 700; text-decoration: none; }
.formats-page__back a:hover, .formats-page__back a:focus-visible { text-decoration: underline; }
.directions-page #formaty .catalog-section__compare { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px; padding: 10px 15px; border: 1px solid #0d67c8; border-radius: 8px; background: #e8f4ff; color: #0b5ca8; font-size: 14px; font-weight: 700; text-decoration: none; }
.directions-page #formaty .catalog-section__compare:hover, .directions-page #formaty .catalog-section__compare:focus-visible { background: #0d67c8; color: #fff; }
@media (min-width: 901px) {
  .site-header__inner { gap: 12px; }
  .site-header .brand { flex-basis: 180px; }
  .primary-nav { gap: 12px; }
  .primary-nav a { font-size: 13px; }
  .header-contact { gap: 10px; }
  .header-phone .icon-link__title { font-size: 13px; }
}
@media (min-width: 901px) and (max-width: 1150px) {
  .site-header .brand { flex-basis: 160px; }
  .primary-nav { gap: 8px; }
  .primary-nav a { font-size: 12px; }
  .header-contact { gap: 7px; }
  .header-phone .icon-link__title { font-size: 12px; }
  .site-header .button--small { min-width: 100px; padding-inline: 10px; font-size: 13px; }
}
@media (max-width: 1000px) {
  .formats-page__compare-head, .formats-page__row { grid-template-columns: minmax(190px, 1.1fr) minmax(155px, 1fr) minmax(155px, 1fr) 110px; gap: 12px; }
  .formats-page__compare-head { padding-inline: 15px; }
  .formats-page__row { padding: 15px; }
}
@media (max-width: 900px) {
  .formats-page__intro-grid { grid-template-columns: minmax(0, 1fr) minmax(270px, .75fr); gap: 24px; }
  .formats-page__compare-head { display: none; }
  .formats-page__compare-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; overflow: visible; border: 0; background: transparent; box-shadow: none; }
  .formats-page__row { display: flex; align-items: stretch; flex-direction: column; min-height: 220px; gap: 12px; border: 1px solid #d4e6f4; border-radius: 13px; background: #fff; overflow: hidden; box-shadow: 0 7px 18px rgba(17,67,108,.06); }
  .formats-page__row + .formats-page__row { border-top: 1px solid #d4e6f4; }
  .formats-page__row > p { padding-left: 0; border-left: 0; }
  .formats-page__row > a { align-self: flex-start; margin-top: auto; }
  .formats-page__mobile-label { display: block; color: #7890a7; font-size: 11px; font-weight: 700; }
}
@media (max-width: 700px) {
  .formats-page__intro { padding: 28px 0; }
  .formats-page__intro .breadcrumbs { margin-bottom: 24px; }
  .formats-page__intro-grid { grid-template-columns: minmax(0, 1fr); }
  .formats-page__help { max-width: 540px; }
  .formats-page__schedule-heading { align-items: flex-start; flex-direction: column; }
  .formats-page__schedule-grid { grid-template-columns: 1fr; }
  .formats-page__schedule-grid > div { min-height: 0; }
}
@media (max-width: 550px) {
  .formats-page__intro h1 { font-size: 36px; }
  .formats-page__lead { font-size: 15px; }
  .formats-page__content { padding-top: 34px; padding-bottom: 48px; }
  .formats-page__section-heading { align-items: flex-start; }
  .formats-page__section-heading h2, .formats-page__schedule-heading h2 { font-size: 26px; }
  .formats-page__compare-list { grid-template-columns: 1fr; }
  .formats-page__row { min-height: 0; padding: 17px; }
  .formats-page__schedule { padding: 20px; }
}


/* Source: pages/directions-pricing.css */
.directions-price-list, .directions-format-choice { scroll-margin-top: 24px; }
.directions-price-list { margin-bottom: 46px; }
.directions-price-list__heading, .directions-format-choice__heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.directions-price-list__heading .eyebrow, .directions-format-choice__heading .eyebrow { margin: 0 0 7px; }
.directions-price-list__heading h2, .directions-format-choice__heading h2 { margin: 0 0 6px; color: #0c3564; font: 700 clamp(27px, 2.6vw, 34px)/1.15 var(--serif); }
.directions-price-list__heading h2::after, .directions-format-choice__heading h2::after { display: none; }
.directions-price-list__heading p:not(.eyebrow), .directions-format-choice__heading p:not(.eyebrow) { margin: 0; color: #52708b; font-size: 15px; line-height: 1.5; }
.directions-price-list__heading > span { flex: 0 0 auto; padding: 9px 15px; border-radius: 100px; background: #e9f4ff; color: #0e62af; font-size: 14px; font-weight: 700; }
.directions-price-list__table-wrap { overflow: hidden; border: 1px solid #cbdfee; border-radius: 16px; background: #fff; box-shadow: 0 14px 32px rgba(15, 59, 103, .08); }
.directions-price-list__table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.directions-price-list__table th, .directions-price-list__table td { text-align: left; vertical-align: middle; }
.directions-price-list__table thead { background: linear-gradient(100deg, #0d3d73, #1769ad); color: #fff; }
.directions-price-list__table thead th { padding: 14px 18px; font-size: 13px; font-weight: 700; }
.directions-price-list__table thead th:nth-child(1) { width: 27%; }
.directions-price-list__table thead th:nth-child(2) { width: 43%; }
.directions-price-list__table thead th:nth-child(3) { width: 14%; }
.directions-price-list__table thead th:nth-child(4) { width: 16%; }
.directions-price-list__group th { padding: 12px 18px; border-top: 1px solid #dce9f3; border-bottom: 1px solid #dce9f3; background: #eaf5fd; color: #0d4f8d; font: 700 17px/1.2 var(--serif); }
.directions-price-list__table tbody:first-of-type .directions-price-list__group th { border-top: 0; }
.directions-price-list__table tbody tr:not(.directions-price-list__group) { border-bottom: 1px solid #e5eef6; transition: background-color .16s ease; }
.directions-price-list__table tbody tr:not(.directions-price-list__group):hover { background: #f5faff; }
.directions-price-list__table tbody tr:last-child { border-bottom: 0; }
.directions-price-list__table tbody tr:not(.directions-price-list__group) > * { padding: 16px 18px; }
.directions-price-list__table tbody th[scope="row"] a { color: #0b3567; font: 700 17px/1.25 var(--serif); text-decoration: none; }
.directions-price-list__table tbody th[scope="row"] a:hover, .directions-price-list__table tbody th[scope="row"] a:focus-visible { color: #0c68bd; text-decoration: underline; text-underline-offset: 3px; }
.directions-price-list__table tbody th[scope="row"] small { display: block; margin-top: 4px; color: #5681a4; font: 600 12px/1.3 var(--sans); }
.directions-price-list__description { color: #486a88; font-size: 14px; line-height: 1.45; }
.directions-price-list__price { color: #0b5caa; font-size: 16px; font-weight: 800; white-space: nowrap; }
.directions-price-list__action a { display: inline-flex; align-items: center; justify-content: center; gap: 5px; min-height: 36px; padding: 7px 10px; border: 1px solid #b7d7ef; border-radius: 8px; background: #eef7ff; color: #0b5eab; font-size: 13px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.directions-price-list__action a:hover, .directions-price-list__action a:focus-visible { border-color: #0d67c8; background: #0d67c8; color: #fff; }
.directions-price-list__note { margin: 12px 0 0; color: #627e96; font-size: 13px; line-height: 1.5; }
.directions-format-choice { margin-bottom: 18px; padding: clamp(22px, 3vw, 34px); border: 1px solid #d3e5f4; border-top: 4px solid #1a6cb8; border-radius: 18px; background: linear-gradient(135deg, #f0f8ff, #f8fcff); }
.directions-format-choice__heading > a { flex: 0 0 auto; color: #0a61af; font-size: 14px; font-weight: 700; text-decoration: none; }
.directions-format-choice__heading > a:hover, .directions-format-choice__heading > a:focus-visible { text-decoration: underline; text-underline-offset: 3px; }
.directions-format-choice__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.directions-format-choice__card { display: flex; flex-direction: column; min-width: 0; min-height: 250px; padding: 22px; border: 1px solid #d2e3f1; border-radius: 14px; background: #fff; box-shadow: 0 8px 22px rgba(15, 59, 103, .06); }
.directions-format-choice__card:nth-child(2) { border-top: 3px solid #1b74c8; }
.directions-format-choice__card:nth-child(3) { border-top: 3px solid #5e7cc2; }
.directions-format-choice__icon { display: grid; width: 54px; height: 54px; place-items: center; margin-bottom: 13px; border-radius: 12px; background: #e9f5ff; }
.directions-format-choice__icon img { width: 31px; height: 31px; object-fit: contain; }
.directions-format-choice__meta { color: #2870af; font-size: 12px; font-weight: 700; }
.directions-format-choice__card h3 { margin: 4px 0 8px; color: #0d3564; font: 700 21px/1.2 var(--serif); }
.directions-format-choice__card > p { margin: 0 0 20px; color: #526f89; font-size: 14px; line-height: 1.5; }
.directions-format-choice__bottom { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 16px; border-top: 1px solid #e5eef6; }
.directions-format-choice__bottom strong { color: #0b58a1; font-size: 23px; line-height: 1; white-space: nowrap; }
.directions-format-choice__bottom a { display: inline-flex; align-items: center; gap: 5px; color: #0b63b4; font-size: 13px; font-weight: 700; text-decoration: none; }
.directions-format-choice__bottom a:hover, .directions-format-choice__bottom a:focus-visible { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 1000px) { .directions-format-choice__grid { grid-template-columns: 1fr; } .directions-format-choice__card { min-height: 0; } }
@media (max-width: 760px) {
  .directions-price-list__heading, .directions-format-choice__heading { align-items: flex-start; flex-direction: column; gap: 10px; }
  .directions-price-list__table-wrap { overflow: visible; border: 0; background: transparent; box-shadow: none; }
  .directions-price-list__table, .directions-price-list__table tbody, .directions-price-list__table tbody tr, .directions-price-list__table tbody th, .directions-price-list__table tbody td { display: block; width: 100%; }
  .directions-price-list__table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
  .directions-price-list__group th { margin: 15px 0 9px; border: 1px solid #dce9f3; border-radius: 10px; }
  .directions-price-list__table tbody:first-of-type .directions-price-list__group th { border-top: 1px solid #dce9f3; }
  .directions-price-list__table tbody tr:not(.directions-price-list__group) { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 7px 12px; margin-bottom: 8px; border: 1px solid #d6e6f2; border-radius: 11px; background: #fff; }
  .directions-price-list__table tbody tr:not(.directions-price-list__group) > * { padding: 0; }
  .directions-price-list__table tbody tr:not(.directions-price-list__group) { padding: 14px; }
  .directions-price-list__table tbody th[scope="row"] { grid-column: 1; grid-row: 1; }
  .directions-price-list__description { grid-column: 1 / -1; grid-row: 2; }
  .directions-price-list__price { grid-column: 2; grid-row: 1; align-self: start; }
  .directions-price-list__action { grid-column: 1 / -1; grid-row: 3; }
  .directions-price-list__action a { min-height: 32px; }
}
@media (max-width: 480px) { .directions-price-list__price { font-size: 14px; } .directions-price-list__table tbody th[scope="row"] a { font-size: 16px; } .directions-format-choice { padding: 19px; } .directions-format-choice__bottom strong { font-size: 20px; } }

/* Source: pages/seo-landings.css */
/* Compact, editorial landing sections. Existing global typography and CTA styles are reused. */
.seo-landing { padding-bottom: 3rem; }
.seo-landing__hero { display:grid; grid-template-columns:minmax(0, 1.7fr) minmax(240px,.65fr); gap:clamp(1.2rem,4vw,4.2rem); align-items:center; padding:2rem 0 1.8rem; }
.seo-landing__hero h1 { max-width:20ch; margin:.5rem 0 1rem; color:#12365e; text-wrap:balance; }
.seo-landing__hero .inner-page__lead { max-width:68ch; }
.seo-landing__hero-actions { display:flex; flex-wrap:wrap; align-items:center; gap:1rem; margin-top:1.25rem; }
.seo-landing__text-link { color:#075fb8; font-weight:650; text-decoration:underline; text-underline-offset:3px; }
.seo-landing__summary { display:flex; flex-direction:column; gap:.65rem; background:#edf7ff; border:1px solid #c8e1f6; border-radius:20px; padding:1.7rem; color:#315374; }
.seo-landing__summary strong { font-size:clamp(1.7rem,3vw,2.25rem); color:#093a72; }
.seo-landing__summary a { color:#075fb8; font-weight:650; }
.seo-landing__section { padding:2rem 0; border-top:1px solid #dcecf8; }
.seo-landing__section-intro { max-width:780px; margin-bottom:1.3rem; }
.seo-landing__section-intro h2,.seo-landing__parent-nav h2 { margin:.3rem 0 .6rem; color:#12365e; text-wrap:balance; }
.seo-landing__section-intro p { max-width:68ch; }
.seo-landing__topics { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.8rem; padding:0; margin:0; list-style:none; }
.seo-landing__topics li { display:flex; gap:1rem; align-items:center; background:#f1f8fd; border:1px solid #d5e9f8; border-radius:14px; padding:1.1rem 1.2rem; color:#143f66; font-weight:600; }
.seo-landing__topics li span { color:#0e70d3; font-weight:700; font-variant-numeric:tabular-nums; }
.seo-landing__steps { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:1rem; }
.seo-landing__steps article { border:1px solid #d5e9f8; border-radius:16px; background:#fff; padding:1.35rem; }
.seo-landing__steps h3 { margin:0 0 .8rem; font-size:1.1rem; color:#12365e; }
.seo-landing__steps p { margin:0; line-height:1.65; }
.seo-landing__faq { max-width:850px; }
.seo-landing__faq details { border-bottom:1px solid #cbdfee; padding:.9rem 0; }
.seo-landing__faq summary { cursor:pointer; color:#12365e; font-weight:650; }
.seo-landing__faq summary:focus-visible { outline:2px solid #0766bb; outline-offset:4px; }
.seo-landing__faq details p { margin:.8rem 0 0; max-width:70ch; }
.seo-landing__notice { color:#446179; background:#f3f8fd; border-left:3px solid #0f70c6; padding:1rem 1.1rem; margin-top:1.5rem; border-radius:3px 10px 10px 3px; }
.seo-landing__related { border-top:1px solid #dcecf8; padding:2.2rem 0 0; }
.seo-landing__grade-links { display:flex; flex-wrap:wrap; gap:.6rem; margin:1rem 0; }
.seo-landing__grade-links a { display:inline-flex; align-items:center; justify-content:center; min-width:88px; padding:.7rem 1rem; background:#f1f8fd; color:#075ba9; border:1px solid #bfdcf3; border-radius:12px; font-weight:600; text-decoration:none; }
.seo-landing__grade-links a:hover,.seo-landing__grade-links a:focus-visible { background:#dceffd; border-color:#0f70c6; }
.seo-landing__cross-links { display:flex; flex-wrap:wrap; gap:.9rem 1.4rem; margin:1.25rem 0 0; }
.seo-landing__cross-links a { color:#075ba9; font-weight:600; text-decoration:underline; text-underline-offset:3px; }
.seo-landing__parent-nav { padding:2.2rem 0; background:#f6fbff; border-block:1px solid #dcecf8; }
.seo-landing__parent-nav p { max-width:70ch; }
@media(max-width:800px){
  .seo-landing__hero { grid-template-columns:1fr; padding:1rem 0 1.8rem; }
  .seo-landing__topics { grid-template-columns:1fr; }
  .seo-landing__steps { grid-template-columns:1fr; }
  .seo-landing__summary { padding:1.3rem; }
  .seo-landing__grade-links a { min-width:72px; }
}

/* Source: pages/seo-expansion.css */
/* SEO expansion: reusable layout, no decorative filler or large text walls. */
.seo-expansion__cards {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.2rem}
.seo-expansion__card {border:1px solid #d0e3f3;border-radius:20px;padding:clamp(1.1rem,2vw,1.65rem);background:#f7fbff;display:flex;flex-direction:column;gap:.9rem}
.seo-expansion__card h3 {margin:0;color:#12365e;font-size:clamp(1.18rem,2vw,1.48rem)}
.seo-expansion__card ul {padding-left:1.3rem;margin:.1rem 0 .5rem;color:#314d67;line-height:1.7;flex:1}
.seo-expansion__card li+li {margin-top:.3rem}
.seo-expansion__card a {font-weight:650;color:#075fb8;text-decoration:underline;text-underline-offset:3px}
.seo-expansion__process {counter-reset:step;list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}
.seo-expansion__process li {counter-increment:step;padding:1.25rem;border:1px solid #d1e5f4;background:#f5faff;border-radius:16px;line-height:1.65}
.seo-expansion__process li::before {content:'0' counter(step);display:block;font-weight:800;color:#0b6cb9;margin-bottom:.65rem;font-size:1.2rem}
.seo-expansion__process strong {color:#153d65}
.seo-expansion__jump {display:flex;flex-wrap:wrap;gap:.65rem;margin:0 0 2rem;padding:0}
.seo-expansion__jump a {background:#ecf6ff;border:1px solid #c5dff3;padding:.65rem 1rem;border-radius:999px;color:#075ba9;text-decoration:none;font-weight:600}
.seo-expansion__jump a:hover,.seo-expansion__jump a:focus-visible {background:#dceffd;border-color:#0f70c6}
.seo-expansion__table-wrap {overflow-x:auto;border:1px solid #d6e5ef;border-radius:18px}
.seo-expansion__price-table {border-collapse:collapse;width:100%;min-width:570px;font-size:1rem;text-align:left}
.seo-expansion__price-table th,.seo-expansion__price-table td {padding:1rem 1.25rem;border-bottom:1px solid #e0ecf5;vertical-align:top}
.seo-expansion__price-table thead th {background:#f0f7fc;color:#1b476e;font-weight:650}
.seo-expansion__price-table tbody tr:last-child > * {border-bottom:0}
.seo-expansion__price-table tbody tr:hover {background:#f8fcff}
.seo-expansion__price-table th a {color:#075cae;text-decoration:underline;text-underline-offset:3px}
.seo-expansion__price-table td strong {color:#12365e;white-space:nowrap}
.seo-expansion__hero-actions a:focus-visible,.seo-expansion__card a:focus-visible {outline:2px solid #075fb8;outline-offset:4px}
@media (max-width:800px){.seo-expansion__cards,.seo-expansion__process{grid-template-columns:1fr}.seo-expansion__price-table{font-size:.92rem}.seo-expansion__price-table th,.seo-expansion__price-table td{padding:.8rem .9rem}}

.seo-expansion__grade-choice {display:flex;align-items:center;justify-content:space-between;gap:2rem;margin:1rem 0 2rem;padding:1.4rem 1.7rem;border:1px solid #cee5f5;background:#eff8ff;border-radius:18px}
.seo-expansion__grade-choice h2 {margin:.2rem 0 .55rem;color:#12365e;font-size:clamp(1.25rem,2.4vw,1.65rem)}
.seo-expansion__grade-choice p:last-child {margin:0;color:#315474;max-width:60ch}
.seo-expansion__grade-choice nav {display:flex;flex-wrap:wrap;gap:.7rem}
.seo-expansion__grade-choice nav a {white-space:nowrap;padding:.8rem 1rem;border:1px solid #b5d7ec;background:#fff;border-radius:12px;color:#075ba9;font-weight:650;text-decoration:none}
.seo-expansion__grade-choice nav a:hover,.seo-expansion__grade-choice nav a:focus-visible {background:#dcefff}
.seo-expansion__price-link {margin:.2rem 0 .8rem}.seo-expansion__price-link a {color:#075fb8;font-weight:600;text-decoration:underline;text-underline-offset:3px}
@media(max-width:800px){.seo-expansion__grade-choice{flex-direction:column;align-items:stretch;padding:1.2rem}.seo-expansion__grade-choice nav a{white-space:normal}}

/* VPR: short, scannable subject modules reused within the existing service page. */
.seo-vpr{padding:clamp(2rem,4vw,4rem) 0;background:#f7fbff}
.seo-vpr .seo-expansion__card{background:#fff;scroll-margin-top:110px}
.seo-vpr .seo-expansion__card p{line-height:1.7;color:#33516d;margin:0}
.seo-vpr .seo-landing__faq{margin-top:1.4rem}

/* Source: pages/seo-practice.css */
/* Lightweight native details: no JS and no new external assets. */
.seo-practice__task { padding: clamp(20px, 3vw, 30px); border: 1px solid #c9daeb; border-radius: 20px; background: #f4f9ff; }
.seo-practice__question { margin: 0 0 14px; color: #14365b; font-size: clamp(1.06rem, 2vw, 1.26rem); font-weight: 700; line-height: 1.5; }
.seo-practice__task details { border-top: 1px solid #c9daeb; padding-top: 12px; }
.seo-practice__task summary { cursor: pointer; color: #205d99; font-weight: 700; padding: 4px 0; }
.seo-practice__task summary:focus-visible { outline: 3px solid #195ea9; outline-offset: 4px; border-radius: 3px; }
.seo-practice__task details p { margin: 12px 0 0; color: #2a4662; line-height: 1.65; }
.seo-practice__task details p strong { color: #163955; }
@media (max-width: 600px) { .seo-practice__task { border-radius: 16px; } }

.contacts-visit { padding-block: clamp(32px, 5vw, 70px); }
.contacts-visit h2 { margin: 8px 0 12px; }
.contacts-visit .container > p:not(.eyebrow) { max-width: 800px; line-height: 1.65; }
.contacts-visit__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 24px; }
.contacts-visit__grid > div { padding: 24px; border: 1px solid #c9daeb; border-radius: 20px; background: #f4f9ff; }
.contacts-visit__grid h3 { margin: 0 0 10px; color: #14365b; font-size: 1.16rem; }
.contacts-visit__grid p { margin: 0; line-height: 1.65; }
.contacts-visit__grid a { color: #205d99; text-underline-offset: 3px; }
@media (max-width: 640px) { .contacts-visit__grid { grid-template-columns: 1fr; } .contacts-visit__grid > div { padding: 18px; } }
/* Decorative visual offsets in the pre-existing home blocks must not extend the mobile viewport. */
@media (max-width: 640px) {
  .teacher--showcase .teacher__visual,
  .advantages__visual { overflow: clip; }
}

/* Source: pages/intent-separation.css */
/* Phase 6: distinguish navigation intent without duplicating long-form sections. */
.teacher-teaser { padding: clamp(44px, 6vw, 82px) 0; background: #f1f8fe; }
.teacher-teaser__inner { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1fr); align-items: center; gap: clamp(24px, 5vw, 64px); }
.teacher-teaser__photo { display: block; overflow: hidden; border-radius: 26px; aspect-ratio: 1.35; background: #d8ebf8; box-shadow: 0 16px 32px rgba(24, 72, 113, .12); }
.teacher-teaser__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; display: block; transition: transform .3s ease; }
.teacher-teaser__photo:hover img { transform: scale(1.025); }
.teacher-teaser__copy h2, .teacher-page__method h2, .teacher-page__situations h2 { margin: 0 0 12px; color: #0d3564; font: 700 clamp(27px, 3.1vw, 39px)/1.17 var(--serif); }
.teacher-teaser__copy h3 { margin: 0 0 14px; color: #155fa9; font: 700 21px/1.3 var(--serif); }
.teacher-teaser__copy p:not(.eyebrow) { color: #466984; line-height: 1.7; max-width: 650px; }
.teacher-teaser__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 22px; margin-top: 22px; }
.teacher-teaser__actions > a:not(.button) { color: #125fa8; font-weight: 700; }
.faq-teaser { padding: clamp(42px, 5vw, 72px) 0; }
.faq-teaser__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.faq-teaser__grid article { min-width: 0; padding: 24px; border: 1px solid #d4e5f3; border-radius: 16px; background: #f4faff; }
.faq-teaser__grid h3 { margin: 0 0 12px; color: #113962; font: 700 20px/1.24 var(--serif); }
.faq-teaser__grid p { color: #4b6980; line-height: 1.58; margin: 0; }
.faq-teaser__grid a, .faq-teaser__more a { color: #0d64b6; font-weight: 700; text-underline-offset: 3px; }
.faq-teaser__more { margin: 20px 0 0; text-align: right; }
.teacher-page__intro p:not(.eyebrow) { max-width: 860px; color: #4d6b83; line-height: 1.6; }
.teacher-page__method { padding: clamp(42px, 5vw, 70px) 0; background: #f0f8ff; }
.teacher-page__lead { color: #507088; max-width: 740px; margin-bottom: 25px; line-height: 1.65; }
.teacher-page__method-grid, .teacher-page__situation-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.teacher-page__method-grid article, .teacher-page__situation-grid article { padding: 25px; border: 1px solid #d1e5f3; border-radius: 17px; background: #fff; }
.teacher-page__method-grid article > span, .academic-diagnostic__grid article > span { display: inline-block; margin-bottom: 13px; color: #176cb5; font: 800 15px var(--sans); }
.teacher-page__method-grid h3, .teacher-page__situation-grid h3, .academic-diagnostic__grid h3 { margin: 0 0 10px; color: #123c68; font: 700 20px/1.24 var(--serif); }
.teacher-page__method-grid p, .teacher-page__situation-grid p, .academic-diagnostic__grid p { margin: 0; color: #526f87; line-height: 1.6; }
.teacher-page__situations { padding: clamp(40px, 5vw, 70px) 0; }
.teacher-page__situations-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 23px; }
.teacher-page__situations-head a, .teacher-page__situation-grid a { color: #1365b0; font-weight: 700; }
.teacher-page__situation-grid article { background: #f9fcff; display: flex; flex-direction: column; gap: 12px; }
.teacher-page__situation-grid a { margin-top: auto; }
.teacher-page__next, .faq-page__next, .academic-diagnostic__next { display: flex; align-items: center; justify-content: space-between; gap: 22px; margin-top: 26px; border-radius: 16px; padding: clamp(20px, 3vw, 30px); background: #e9f5ff; border: 1px solid #cce4f5; }
.teacher-page__next h2, .faq-page__next h2, .academic-diagnostic__next h2 { margin: 0 0 7px; color: #0e3a69; font: 700 23px/1.3 var(--serif); }
.teacher-page__next p, .faq-page__next p, .academic-diagnostic__next p { margin: 0; color: #4b6c86; line-height: 1.55; }
.teacher-page__next .button, .faq-page__next .button, .academic-diagnostic__next .button { flex-shrink: 0; }
.faq-page__intro > .container > p:not(.eyebrow) { color: #58738a; line-height: 1.65; max-width: 780px; }
.faq-page__jump { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.faq-page__jump a { padding: 10px 14px; border: 1px solid #c6dfef; border-radius: 100px; color: #115eab; background: #f4faff; font-weight: 700; text-decoration: none; }
.faq-page__jump a:hover, .faq-page__jump a:focus-visible { background: #e2f2ff; }
.faq-page__groups { padding-block: 20px 65px; }
.faq-page__group { scroll-margin-top: 100px; margin-bottom: 44px; }
.faq-page__group-head { margin-bottom: 18px; }
.faq-page__group-head h2 { margin: 0 0 7px; color: #0d3564; font: 700 clamp(25px, 3vw, 34px)/1.18 var(--serif); }
.faq-page__group-head p { margin: 0; color: #536e86; }
.faq-page__groups .faq__grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.faq-page__groups .faq-item { align-self: start; }
.faq-cta { padding: 24px 0; }
.faq-cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 26px; background: #f4faff; border: 1px solid #d9e9f5; border-radius: 16px; }
.faq-cta h2 { color: #0c3864; font: 700 23px/1.2 var(--serif); margin: 0 0 7px; }
.faq-cta p:not(.eyebrow) { color: #57728a; margin: 0; }
.faq-cta__inner > a { white-space: nowrap; color: #0b62b3; font-weight: 700; }
.directions-price-list__price-guide { flex: 0 0 auto; display: inline-flex; gap: 6px; padding: 10px 16px; border-radius: 24px; background: #e9f4ff; color: #0e62af; font-weight: 700; text-decoration: none; }
.directions-price-list__table thead th:nth-child(1) { width: 28%; }
.directions-price-list__table thead th:nth-child(2) { width: 56%; }
.directions-price-list__table thead th:nth-child(3) { width: 16%; }
.directions-format-choice__compact { display: flex; align-items: center; gap: 28px; justify-content: space-between; padding: 20px 25px; border: 1px solid #d1e4f5; border-radius: 14px; background: #fff; }
.directions-format-choice__compact p { margin: 0; line-height: 1.6; color: #4d6e88; }
.directions-format-choice__compact a { white-space: nowrap; flex: 0 0 auto; font-weight: 700; color: #0e65b5; }
.formats-page__row-name h3 { margin-bottom: 0; }
.academic-diagnostic { padding-top: 36px; }
.academic-diagnostic__hero { display: grid; grid-template-columns: minmax(0,1.65fr) minmax(260px,.8fr); gap: 36px; margin: 20px 0 55px; align-items: center; }
.academic-diagnostic h1 { color: #0b3564; font: 700 clamp(36px, 4.5vw, 55px)/1.12 var(--serif); margin: 0 0 18px; }
.academic-diagnostic h2 { color: #0b3564; font: 700 clamp(26px, 2.8vw, 36px)/1.2 var(--serif); margin: 0 0 15px; }
.academic-diagnostic .inner-page__lead { color: #4c6b85; line-height: 1.65; }
.academic-diagnostic__actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 24px; }
.academic-diagnostic__actions > a:not(.button) { color: #0d62b0; font-weight: 700; }
.academic-diagnostic__summary { padding: 26px; border-radius: 18px; background: #eaf5fe; border: 1px solid #cde2f2; }
.academic-diagnostic__summary h2 { font-size: 25px; }
.academic-diagnostic__summary p:not(.eyebrow) { color: #526d85; line-height: 1.57; }
.academic-diagnostic__method, .academic-diagnostic__examples { padding-bottom: 55px; }
.academic-diagnostic__grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.academic-diagnostic__grid article { border-radius: 16px; border: 1px solid #d5e5f1; padding: 25px; background: #f6fbff; }
.academic-diagnostic__example-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.academic-diagnostic__example-grid article { padding: 27px; background: #fff; border: 1px solid #d7e7f3; border-radius: 16px; }
.academic-diagnostic__example-grid h3 { margin: 0 0 12px; color: #123f71; font: 700 23px/1.2 var(--serif); }
.academic-diagnostic__example-grid p { color: #506e85; line-height: 1.57; }
.academic-diagnostic__example-grid a { color: #0d65b6; font-weight: 700; }
.diagnostic-page__specialty { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 22px 28px; margin-block: 16px 32px; border: 1px solid #d1e5f3; border-radius: 16px; background: #f4faff; }
.diagnostic-page__specialty h2 { margin: 0 0 5px; color: #0c3664; font: 700 24px/1.2 var(--serif); }
.diagnostic-page__specialty p { margin: 0; color: #56728b; line-height: 1.5; }
.diagnostic-page__specialty > a { flex-shrink: 0; color: #0c62b0; font-weight: 700; }
@media(max-width:960px) {
  .teacher-teaser__inner { grid-template-columns: 1fr; }
  .teacher-teaser__photo { aspect-ratio: 1.8; }
  .teacher-page__method-grid, .teacher-page__situation-grid, .academic-diagnostic__grid, .faq-teaser__grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .academic-diagnostic__hero { grid-template-columns: 1fr; }
  .directions-format-choice__compact { flex-direction: column; align-items: flex-start; }
}
@media(max-width:680px) {
  .teacher-teaser__photo { aspect-ratio: 1.32; }
  .teacher-page__method-grid, .teacher-page__situation-grid, .academic-diagnostic__grid, .academic-diagnostic__example-grid, .faq-teaser__grid, .faq-page__groups .faq__grid { grid-template-columns: 1fr; }
  .teacher-page__situations-head, .teacher-page__next, .faq-page__next, .academic-diagnostic__next, .faq-cta__inner, .diagnostic-page__specialty { align-items: flex-start; flex-direction: column; }
  .directions-price-list__table tbody tr:not(.directions-price-list__group) { grid-template-columns: minmax(0,1fr); }
  .directions-price-list__action { grid-column: 1; grid-row: 3; }
  .academic-diagnostic__hero { margin-bottom: 32px; }
  .academic-diagnostic { padding-top: 20px; }
  .faq-page__jump { gap: 7px; }
  .faq-page__jump a { font-size: 13px; }
}

/* Source: pages/prices-hub.css */
/* Price hub: concise, image-led and responsive. Scoped to /tseny/. */
.prices-hub{--ph-blue:#075eae;--ph-ink:#12365e;--ph-muted:#506982;--ph-line:#d6e5f3;--ph-soft:#f1f7fd;color:var(--ph-ink)}
.prices-hub .breadcrumbs{margin-bottom:.7rem}
.prices-hub__hero{display:grid;grid-template-columns:minmax(0,1.06fr) minmax(0,.94fr);gap:clamp(1.4rem,4vw,3.5rem);align-items:center;padding:1.25rem 0 1.5rem;min-width:0}
.prices-hub__hero-copy{min-width:0}
.prices-hub__hero h1{font-size:clamp(2.2rem,3.6vw,3.7rem);line-height:1.11;letter-spacing:-.025em;max-width:21ch;color:var(--ph-ink);margin:.55rem 0 1rem;text-wrap:balance}
.prices-hub__hero-lead{font-size:clamp(1.05rem,1.36vw,1.2rem);line-height:1.57;max-width:55ch;color:#46617e;margin:0}
.prices-hub__hero-actions{display:flex;align-items:center;gap:.9rem;flex-wrap:wrap;margin:1.35rem 0 1.3rem}
.prices-hub__hero-actions .button{min-height:48px;display:inline-flex;align-items:center;justify-content:center}
.prices-hub__secondary-link{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:.65rem .9rem;border:1px solid #bbd9ee;border-radius:11px;color:var(--ph-blue);font-weight:700;background:#fff;text-decoration:none;gap:.4rem}
.prices-hub__secondary-link:hover{background:#e9f5ff}
.prices-hub__hero-facts{display:flex;gap:.55rem;flex-wrap:wrap}
.prices-hub__hero-facts span{padding:.52rem .85rem;background:#eff7ff;border:1px solid #cce4f4;border-radius:12px;font-size:.92rem;color:#456280;white-space:nowrap}
.prices-hub__hero-facts strong{color:var(--ph-ink);font-size:1.03rem}
.prices-hub__hero-media{position:relative;margin:0;border-radius:24px;min-width:0;overflow:hidden;background:#eaf5ff;box-shadow:0 12px 35px rgba(13,58,104,.09)}
.prices-hub__hero-media img{display:block;width:100%;height:clamp(300px,28vw,390px);object-fit:cover;object-position:center}
.prices-hub__hero-caption{position:absolute;left:1rem;right:1rem;bottom:1rem;display:flex;flex-direction:column;gap:.18rem;background:rgba(255,255,255,.95);backdrop-filter:blur(12px);padding:.8rem 1.05rem;border-radius:15px;box-shadow:0 8px 24px rgba(11,54,94,.1)}
.prices-hub__hero-caption span{font-weight:750;font-size:.73rem;letter-spacing:.065em;text-transform:uppercase;color:var(--ph-blue)}
.prices-hub__hero-caption strong{font-size:clamp(1.1rem,1.45vw,1.34rem);color:var(--ph-ink)}
.prices-hub__hero-caption small{font-size:.86rem;color:var(--ph-muted)}
.prices-hub__jump{display:flex;gap:.45rem;flex-wrap:wrap;padding:.8rem 0 1.45rem;margin:0;border-bottom:1px solid var(--ph-line)}
.prices-hub__jump a{display:inline-flex;align-items:center;padding:.62rem .9rem;min-height:42px;border:1px solid #c6deef;border-radius:999px;text-decoration:none;color:var(--ph-blue);background:#f1f8ff;font-weight:650;font-size:.9rem;line-height:1.25}
.prices-hub__jump a:hover{background:#e0f1ff;border-color:#78b6de}
.prices-hub__section{padding:clamp(2rem,4vw,3rem) 0;border-bottom:1px solid var(--ph-line);scroll-margin-top:7rem}
.prices-hub__section-head{display:flex;justify-content:space-between;align-items:end;gap:1.2rem;margin:0 0 1.2rem}
.prices-hub__section-head .eyebrow{margin:0 0 .4rem}
.prices-hub__section-head h2{font-size:clamp(1.8rem,2.65vw,2.5rem);line-height:1.12;letter-spacing:-.012em;margin:0;color:var(--ph-ink);text-wrap:balance}
.prices-hub__section-head>p{margin:0;max-width:45ch;color:var(--ph-muted);line-height:1.55}
.prices-hub__cabinet-layout{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(280px,.75fr);gap:1.1rem;align-items:stretch}
.prices-hub__cabinet-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.8rem}
.prices-hub__cabinet-shot{display:block;position:relative;min-width:0;overflow:hidden;border-radius:17px;background:#e8f3fc;box-shadow:0 6px 20px rgba(14,69,117,.07)}
.prices-hub__cabinet-shot img{display:block;width:100%;height:clamp(155px,15vw,215px);object-fit:cover;object-position:center}
.prices-hub__cabinet-shot span{position:absolute;right:.55rem;bottom:.55rem;display:grid;place-items:center;width:31px;height:31px;border-radius:10px;color:#0a5da7;background:rgba(255,255,255,.95);box-shadow:0 3px 8px rgba(0,0,0,.08)}
.prices-hub__cabinet-shot:hover img{transform:scale(1.025)}
.prices-hub__cabinet-shot img{transition:transform .2s ease}
.prices-hub__photo-note{font-size:.82rem;line-height:1.45;color:#60758b;margin:.65rem 0 0}
.prices-hub__cabinet-note{display:flex;flex-direction:column;border:1px solid #cae1f3;border-radius:20px;padding:clamp(1.2rem,2.4vw,1.7rem);background:linear-gradient(145deg,#f1f8ff,#e6f2fc)}
.prices-hub__label{display:inline-block;margin-bottom:.65rem;font-size:.76rem;letter-spacing:.065em;text-transform:uppercase;color:var(--ph-blue);font-weight:750}
.prices-hub__cabinet-note h3{margin:0 0 .8rem;font-size:clamp(1.2rem,1.9vw,1.55rem);line-height:1.25;color:var(--ph-ink)}
.prices-hub__benefits{list-style:none;display:grid;gap:.7rem;padding:0;margin:.15rem 0 1.3rem;color:#294963}
.prices-hub__benefits li{position:relative;padding-left:1.45rem;line-height:1.45}
.prices-hub__benefits li::before{position:absolute;left:0;top:.1rem;content:'✓';font-weight:800;color:#0766bb}
.prices-hub__cabinet-note .button{display:inline-flex;align-items:center;justify-content:center;text-align:center;margin-top:auto;min-height:48px}
.prices-hub__group{margin:1.45rem 0 1.8rem;scroll-margin-top:7rem}
.prices-hub__group:last-child{margin-bottom:0}
.prices-hub__group-heading{display:flex;align-items:center;gap:.8rem;margin:0 0 .8rem}
.prices-hub__group-heading::after{content:'';height:1px;background:var(--ph-line);flex:1}
.prices-hub__group-heading h3{margin:0;color:var(--ph-ink);font-size:clamp(1.1rem,1.65vw,1.35rem);line-height:1.3}
.prices-hub__service-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem}
.prices-hub__service-card{display:grid;grid-template-columns:64px minmax(0,1fr) auto;gap:.8rem;align-items:center;min-width:0;min-height:110px;padding:.95rem;border:1px solid #d4e5f2;border-radius:16px;background:#fff;color:inherit;text-decoration:none;transition:border-color .2s,background-color .2s,transform .2s}
.prices-hub__service-card:hover,.prices-hub__service-card:focus-visible{border-color:#83bce4;background:#f6fbff;transform:translateY(-1px)}
.prices-hub__service-image{display:grid;place-items:center;width:64px;height:64px;border-radius:13px;background:#eff7fe;overflow:hidden;color:#1370ba;font-size:1.8rem}
.prices-hub__service-image img{display:block;width:100%;height:100%;object-fit:cover}
.prices-hub__service-body{display:flex;flex-direction:column;min-width:0;gap:.2rem}
.prices-hub__service-meta{font-size:.78rem;font-weight:700;line-height:1.3;color:#1769a7}
.prices-hub__service-body strong{font-size:1.03rem;line-height:1.23;color:var(--ph-ink)}
.prices-hub__service-description{font-size:.86rem;line-height:1.35;color:#58718a;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.prices-hub__service-price{display:flex;align-items:flex-end;flex-direction:column;gap:.35rem;white-space:nowrap;font-size:1rem;font-weight:750;color:var(--ph-ink)}
.prices-hub__service-price small{font-size:.78rem;font-weight:650;color:var(--ph-blue)}
.prices-hub__grade-choice .prices-hub__section-head{margin-bottom:1rem}
.prices-hub__grade-grid{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:.6rem}
.prices-hub__grade-grid a{display:flex;align-items:center;justify-content:space-between;gap:.2rem;padding:.8rem .75rem;background:#f1f8ff;border:1px solid #cbdff0;border-radius:12px;color:var(--ph-blue);font-weight:700;line-height:1.3;text-decoration:none;white-space:nowrap}
.prices-hub__grade-grid a:hover{background:#deeffc;border-color:#81b8de}
.prices-hub__format-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}
.prices-hub__format-card{display:flex;flex-direction:column;overflow:hidden;min-width:0;background:#fff;border:1px solid var(--ph-line);border-radius:19px;box-shadow:0 6px 19px rgba(15,55,98,.04)}
.prices-hub__format-card--primary{border-color:#78b5df;box-shadow:0 9px 28px rgba(21,103,173,.1)}
.prices-hub__format-image-wrap{display:block;overflow:hidden;background:#e9f5ff}
.prices-hub__format-image{display:block;width:100%;height:190px;max-height:190px;object-fit:cover;object-position:center 43%}
.prices-hub__format-body{display:flex;flex-direction:column;gap:.55rem;padding:1.15rem;height:100%}
.prices-hub__format-kicker{display:inline-block;font-size:.74rem;letter-spacing:.065em;text-transform:uppercase;font-weight:750;color:#126db3}
.prices-hub__format-body h3{font-size:clamp(1.14rem,1.58vw,1.38rem);margin:0;line-height:1.25}
.prices-hub__format-body h3 a{color:var(--ph-ink);text-decoration:none}
.prices-hub__format-body h3 a:hover{text-decoration:underline;text-underline-offset:3px}
.prices-hub__format-body p{line-height:1.48;color:var(--ph-muted);margin:0;flex:1}
.prices-hub__format-meta{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:.5rem;padding-top:.35rem}
.prices-hub__format-meta strong{font-size:1.15rem;color:var(--ph-ink)}
.prices-hub__format-meta span{font-size:.76rem;color:#1769a7;font-weight:650}
.prices-hub__format-more{margin-top:.35rem;padding-top:.85rem;border-top:1px solid #e4eff6;display:flex;justify-content:space-between;align-items:center;color:var(--ph-blue);font-weight:700;text-decoration:none}
.prices-hub__term-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.85rem}
.prices-hub__term-grid>div{border:1px solid #d9e8f2;background:#f7fbff;padding:1.1rem;border-radius:16px}
.prices-hub__term-icon{color:#1674b8;display:inline-block;font-weight:800;font-size:.85rem;margin-bottom:.65rem}
.prices-hub__term-grid h3{font-size:1.07rem;margin:0 0 .4rem;color:var(--ph-ink)}
.prices-hub__term-grid p{margin:0;line-height:1.47;color:var(--ph-muted)}
.prices-hub__faq-list{max-width:950px;display:grid;gap:.65rem}
.prices-hub__faq-list details{background:#fff;border:1px solid #d9e8f2;border-radius:13px;padding:.05rem 1rem}
.prices-hub__faq-list details[open]{background:#f6fbff;border-color:#a4cee9}
.prices-hub__faq-list summary{cursor:pointer;list-style:none;position:relative;padding:1rem 1.8rem 1rem .15rem;color:var(--ph-ink);font-weight:700;line-height:1.4}
.prices-hub__faq-list summary::-webkit-details-marker{display:none}
.prices-hub__faq-list summary::after{content:'+';position:absolute;right:0;top:.8rem;color:var(--ph-blue);font-size:1.35rem;line-height:1}
.prices-hub__faq-list details[open] summary::after{content:'−'}
.prices-hub__faq-list details p{margin:0 0 1rem;max-width:75ch;color:var(--ph-muted);line-height:1.55}
.prices-hub__faq-list a{color:var(--ph-blue)}
.prices-hub__final-cta{display:flex;align-items:center;justify-content:space-between;gap:1.2rem;flex-wrap:wrap;margin:2rem 0 .1rem;background:#ecf6ff;padding:1.4rem 1.6rem;border-radius:18px;border:1px solid #cce3f6}
.prices-hub__final-cta div{display:flex;flex-direction:column;gap:.3rem}
.prices-hub__final-cta strong{font-size:1.25rem;color:var(--ph-ink)}
.prices-hub__final-cta span{color:var(--ph-muted)}
.prices-hub a:focus-visible,.prices-hub summary:focus-visible{outline:3px solid #0879c8;outline-offset:3px}
@media(max-width:1120px){.prices-hub__hero{grid-template-columns:1fr .9fr;gap:1.5rem}.prices-hub__hero h1{font-size:clamp(2.1rem,3.65vw,3rem)}.prices-hub__service-card{grid-template-columns:54px minmax(0,1fr) auto;gap:.65rem}.prices-hub__service-image{width:54px;height:54px}.prices-hub__grade-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:900px){.prices-hub__cabinet-layout{grid-template-columns:1fr}.prices-hub__cabinet-note{padding:1.3rem}.prices-hub__hero-media img{height:340px}.prices-hub__section-head{align-items:start}.prices-hub__section-head>p{max-width:34ch}.prices-hub__service-grid{grid-template-columns:1fr}}
@media(max-width:700px){.prices-hub__hero{grid-template-columns:1fr;padding:.6rem 0 1rem;gap:1rem}.prices-hub__hero h1{font-size:clamp(2rem,7.7vw,3rem)}.prices-hub__hero-media img{height:260px}.prices-hub__hero-caption{left:.7rem;right:.7rem;bottom:.7rem;padding:.65rem .8rem}.prices-hub__section-head{display:block}.prices-hub__section-head>p{margin-top:.55rem;max-width:100%}.prices-hub__section{padding:1.85rem 0}.prices-hub__cabinet-gallery{gap:.55rem}.prices-hub__cabinet-shot img{height:clamp(138px,39vw,230px)}.prices-hub__grade-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.prices-hub__format-cards{grid-template-columns:1fr}.prices-hub__format-image{height:185px;max-height:185px}.prices-hub__term-grid{grid-template-columns:1fr}.prices-hub__final-cta{padding:1.1rem}.prices-hub__final-cta .button{width:100%;justify-content:center}}
@media(max-width:460px){.prices-hub__hero-actions{display:grid;grid-template-columns:1fr}.prices-hub__secondary-link{width:100%}.prices-hub__hero-facts{gap:.35rem}.prices-hub__hero-facts span{font-size:.83rem;padding:.48rem .62rem}.prices-hub__jump{gap:.4rem}.prices-hub__jump a{padding:.56rem .75rem;font-size:.85rem}.prices-hub__cabinet-note{padding:1rem}.prices-hub__service-card{grid-template-columns:52px minmax(0,1fr);gap:.55rem}.prices-hub__service-price{grid-column:2;align-items:flex-start;flex-direction:row;justify-content:space-between;width:100%;gap:.6rem}.prices-hub__service-image{width:52px;height:52px}.prices-hub__service-body strong{font-size:.99rem}.prices-hub__service-description{font-size:.84rem}.prices-hub__final-cta{margin-top:1.6rem}}
@media(prefers-reduced-motion:reduce){.prices-hub__cabinet-shot img,.prices-hub__service-card{transition:none}}

/* Source: sections/home-seo-copy.css */
/* Homepage content update: make a long, descriptive H1 wrap naturally. */
.hero.hero--study-photo h1 {
  max-width: 620px;
  white-space: normal;
  text-wrap: balance;
  overflow-wrap: normal;
  font-size: clamp(34px, 3.4vw, 49px);
  line-height: 1.08;
}
.hero.hero--study-photo .hero__content {min-width: 0;}
@media (max-width: 900px) {
  .hero.hero--study-photo h1 {max-width: 100%; font-size: clamp(32px, 5.5vw, 46px);}
}
@media (max-width: 600px) {
  .hero.hero--study-photo h1 {font-size: clamp(29px, 7.2vw, 35px); line-height: 1.1;}
  .hero.hero--study-photo .hero__facts {gap: 12px;}
}

/* Source: sections/home-ux-phase12.css */
/* Phase 12. Homepage layout, readable headlines and image-led service cards. */
.home-page { overflow: clip; }
.home-page section { min-width: 0; }
.home-page .section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px 28px; margin: 0 0 24px; }
.home-page .section-heading h2,
.home-page .lesson-linking__header h2,
.home-page .diagnostic__copy h2,
.home-page .teacher-teaser__copy h2,
.home-page .advantages__content h2 { max-width: 100%; white-space: normal !important; overflow-wrap: break-word; text-wrap: balance; line-height: 1.16; }
.home-page .section-heading h2 { display: block; flex: 0 1 auto; margin: 0; }
.home-page .section-heading h2::after,
.home-page .diagnostic__copy h2::after,
.home-page .home-peterson h2::after { display: none; }
.home-page .section-heading p { max-width: 390px; font-size: 15px; line-height: 1.5; color: #516e89; }
.home-page .directions--home { padding-block: clamp(46px,5vw,68px); }
.home-page .directions--home .direction-card { min-width: 0; }
.home-page .directions--home .direction-card h3 { overflow-wrap: normal; line-height: 1.25; }
.home-page .directions--home .direction-card__body { display: flex; flex-direction: column; align-items: flex-start; }
.home-page .directions--home .direction-card .link-button { margin-top: auto; }
.home-page .diagnostic { padding: clamp(48px,5vw,76px) 0; }
.home-page .diagnostic__inner { display: grid; grid-template-columns: minmax(0,1.04fr) minmax(0,1fr); gap: clamp(24px,5vw,74px); min-height: 0; align-items: center; }
.home-page .diagnostic__inner > * { min-width: 0; }
.home-page .diagnostic__copy h2 { display: block; font-size: clamp(28px,3.15vw,40px); margin: 0 0 18px; line-height: 1.16; letter-spacing: -.025em; }
.home-page .diagnostic__copy > p { max-width: 58ch; font-size: 16px; line-height: 1.6; margin-bottom: 20px; }
.home-page .diagnostic__copy ul { margin-top: 18px; }
.home-page .diagnostic .form-card { width: 100%; max-width: 600px; }
.home-page .teacher-teaser__inner { gap: clamp(26px,5vw,62px); }
.home-page .teacher-teaser__copy h2 { line-height: 1.17; }
.home-page .faq-teaser__grid article { min-width: 0; }
.home-page .faq-teaser__grid h3 { overflow-wrap: anywhere; }
.home-page .gallery { padding-block: clamp(44px,4.6vw,70px); }
.home-page .gallery .gallery__grid { gap: 16px; }
.home-page .gallery .gallery__item figcaption { padding: 13px 16px; min-height: 0; }
/* Peterson proposition between featured and additional service cards. */
.home-peterson { padding: clamp(42px,5vw,78px) 0; background: #fff; }
.home-peterson__inner { display: grid; grid-template-columns: minmax(0,1.18fr) minmax(0,.82fr); gap: clamp(28px,5vw,72px); align-items: center; padding: clamp(26px,4vw,56px); border-radius: 28px; border: 1px solid #cfe3f3; background: linear-gradient(110deg,#f2f9ff 0%,#e9f5ff 100%); }
.home-peterson__copy { min-width: 0; }
.home-peterson h2 { display: block; margin: 0 0 16px; color: #0d3766; font: 700 clamp(30px,3.5vw,46px)/1.12 var(--serif); white-space: normal; text-wrap: balance; }
.home-peterson h2 span { color: #1271bd; }
.home-peterson__lead { margin: 0 0 18px; color: #315a79; max-width: 61ch; font-size: clamp(16px,1.5vw,19px); line-height: 1.6; }
.home-peterson__points { display: grid; gap: 10px; list-style: none; padding: 0; margin: 0 0 23px; }
.home-peterson__points li { position: relative; padding-left: 28px; color: #234d72; font-size: 15px; line-height: 1.5; }
.home-peterson__points li::before { content: '✓'; position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 21px; height: 21px; color: #fff; background: #1271bd; border-radius: 50%; font-size: 13px; font-weight: 800; }
.home-peterson__actions { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; }
.home-peterson__secondary { color: #0b5ea9; font-weight: 700; text-underline-offset: 4px; }
.home-peterson__footnote { margin: 15px 0 0; color: #607b91; font-size: 12px; line-height: 1.5; }
.home-peterson__visual { display: flex; position: relative; min-width: 0; align-items: center; flex-direction: column; padding: 20px; border-radius: 28px; background: #fff; border: 1px solid #d1e7f7; text-decoration: none; box-shadow: 0 16px 36px rgba(13,65,105,.1); }
.home-peterson__visual img { width: min(100%,350px); height: auto; aspect-ratio: 1; object-fit: contain; }
.home-peterson__visual span { display: block; align-self: stretch; padding: 11px 13px; border-radius: 13px; background: #eaf5ff; font-weight: 750; color: #155c9d; text-align: center; }
.home-peterson__visual:focus-visible, .home-peterson__actions a:focus-visible { outline: 3px solid #0e6cb9; outline-offset: 4px; }
/* Homepage: restore the missing image-led service cards. */
.home-other-lessons { padding: clamp(44px,5vw,72px) 0; background: #f3f8fc; }
.home-other-lessons__heading { display: flex; gap: 18px; align-items: end; justify-content: space-between; margin: 0 0 25px; }
.home-other-lessons__heading > div { min-width: 0; }
.home-other-lessons__heading h2 { display: block; margin: 0 0 9px; font: 700 clamp(29px,3.1vw,40px)/1.15 var(--serif); color: #0b3763; white-space: normal; }
.home-other-lessons__heading h2::after { display: none; }
.home-other-lessons__heading p:not(.eyebrow) { color: #50708a; font-size: 15px; line-height: 1.5; margin: 0; }
.home-other-lessons__all { display: inline-flex; flex: 0 0 auto; gap: 12px; align-items: center; padding: 13px 18px; border-radius: 11px; background: #0d67c8; color: #fff; font-size: 14px; font-weight: 700; text-decoration: none; }
.home-other-lessons__all:hover { background: #084f9c; }
.home-other-lessons__grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.home-other-card { min-width: 0; display: flex; flex-direction: column; overflow: hidden; border: 1px solid #d4e6f3; border-radius: 18px; background: #fff; box-shadow: 0 11px 23px rgba(14,59,99,.075); }
.home-other-card__image { display: grid; place-items: center; padding: 14px; background: linear-gradient(140deg,#e9f5ff,#fff); aspect-ratio: 16/10; }
.home-other-card__image img { display: block; width: 100%; max-width: 190px; height: 100%; object-fit: contain; transition: transform .2s ease; }
.home-other-card__image:hover img { transform: scale(1.04); }
.home-other-card__body { display: flex; flex: 1; flex-direction: column; min-width: 0; padding: 19px 20px 20px; }
.home-other-card__meta { display: block; margin-bottom: 8px; font-size: 11px; letter-spacing: .06em; font-weight: 750; text-transform: uppercase; color: #1768ad; }
.home-other-card h3 { margin: 0 0 9px; font: 700 clamp(18px,1.65vw,22px)/1.23 var(--serif); color: #0e3762; }
.home-other-card h3 a { color: inherit; text-decoration: none; }
.home-other-card h3 a:hover { color: #0c67b8; text-decoration: underline; }
.home-other-card p { margin: 0 0 17px; color: #476781; line-height: 1.5; font-size: 14px; }
.home-other-card__more { display: inline-flex; align-self: flex-start; gap: 8px; margin-top: auto; color: #0d67b6; font-weight: 750; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }
.home-other-card a:focus-visible { outline: 3px solid #146fc0; outline-offset: 3px; }
/* Peterson landing page: clear outcomes rather than a vague promise. */
.peterson-outcomes { padding: 24px 0 8px; }
.peterson-outcomes h2 { display: block; margin: 0 0 18px; font: 700 clamp(25px,2.5vw,33px)/1.2 var(--serif); }
.peterson-outcomes h2::after { display: none; }
.peterson-outcomes__grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 15px; }
.peterson-outcomes__grid article { padding: 21px; border: 1px solid #d2e4f2; border-radius: 16px; background: #f5faff; }
.peterson-outcomes__grid strong { display: block; margin-bottom: 8px; color: #103d68; font-size: 18px; }
.peterson-outcomes__grid p { color: #466b87; line-height: 1.52; margin: 0; }
@media (max-width: 1000px) { .home-page .diagnostic__inner { grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 28px; } .home-other-lessons__grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 860px) { .home-page .diagnostic__inner, .home-peterson__inner { grid-template-columns: minmax(0,1fr); } .home-peterson__visual { max-width: 490px; width: 100%; justify-self: center; } .home-page .diagnostic .form-card { max-width: 640px; } }
@media (max-width: 650px) { .home-page .section-heading,.home-other-lessons__heading { flex-direction: column; align-items: flex-start; gap: 10px; } .home-other-lessons__grid,.peterson-outcomes__grid { grid-template-columns: 1fr; } .home-peterson__inner { padding: 23px 18px; border-radius: 19px; } .home-page .diagnostic__copy h2 { font-size: clamp(26px,7vw,35px); } .home-page .gallery .gallery__grid { gap: 12px; } .home-other-card { display: grid; grid-template-columns: minmax(100px,35%) minmax(0,1fr); } .home-other-card__image { aspect-ratio: auto; min-height: 170px; padding: 10px; } .home-other-card__body { padding: 14px; } .home-other-card h3 { font-size: 18px; } .home-other-card p { font-size: 13px; } }
@media (max-width: 400px) { .home-other-card { grid-template-columns: 108px minmax(0,1fr); } .home-other-card__body { padding: 12px; } .home-other-card h3 { font-size: 17px; } .home-other-card__meta { font-size: 10px; } .home-other-card p { font-size: 12px; } .home-peterson__actions .button { width: 100%; justify-content: center; } }
@media (prefers-reduced-motion: reduce) { .home-other-card__image img { transition: none; } }

/* Source: components/teacher-contact-topbar.css */
/* Slim, responsive location/email/schedule strip. */
.site-info-bar{position:relative;z-index:22;border-bottom:1px solid #d9e8f5;background:#f0f7fd;color:#315b7e}
.site-info-bar__inner{display:flex;justify-content:space-between;align-items:center;gap:12px 28px;min-height:36px;padding-block:7px}
.site-info-bar__item{min-width:0;display:inline-flex;align-items:center;gap:8px;font-size:12px;line-height:1.35;font-weight:550;color:#315b7e;text-decoration:none}
.site-info-bar__item svg{flex:none;width:15px;height:15px;stroke:#1773bb;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;fill:none}
.site-info-bar__item span{overflow-wrap:anywhere}
.site-info-bar__item[href]:hover{color:#075caf;text-decoration:underline;text-underline-offset:3px}
.site-info-bar__item:focus-visible{outline:2px solid #1475c4;outline-offset:4px;border-radius:3px}
.site-info-bar__schedule{margin-left:auto;white-space:nowrap}
@media(max-width:930px){.site-info-bar__inner{flex-wrap:wrap;justify-content:center;gap:7px 19px;padding-block:8px}.site-info-bar__schedule{margin-left:0}}
@media(max-width:560px){.site-info-bar__inner{display:grid;grid-template-columns:1fr 1fr;gap:4px 10px;justify-items:start;padding-block:8px}.site-info-bar__item{font-size:11px}.site-info-bar__item svg{width:13px;height:13px}.site-info-bar__item:nth-child(2){grid-column:1/-1;grid-row:2}.site-info-bar__schedule{grid-column:2;grid-row:1;white-space:normal}.site-info-bar__item:nth-child(1){grid-column:1;grid-row:1}}
@media(max-width:360px){.site-info-bar__inner{grid-template-columns:1fr}.site-info-bar__item:nth-child(1),.site-info-bar__item:nth-child(2),.site-info-bar__schedule{grid-column:1;grid-row:auto}}

/* Floating teacher contact widget. Visual style follows the main site's blue palette. */
.teacher-contact{position:fixed;right:clamp(12px,2vw,30px);bottom:calc(18px + env(safe-area-inset-bottom,0px));z-index:9991;max-width:calc(100vw - 24px);font-family:var(--sans,Arial,sans-serif)}
.teacher-contact__toggle{display:inline-flex;align-items:center;gap:10px;min-height:50px;padding:12px 19px;border-radius:999px;background:linear-gradient(135deg,#0c6fc8,#07549d);box-shadow:0 10px 30px rgba(7,66,131,.28);color:#fff;font-size:14px;font-weight:750;text-decoration:none;line-height:1.3;transition:transform .2s,box-shadow .2s}
.teacher-contact__toggle svg{flex:none;width:21px;height:21px}
.teacher-contact__toggle:hover{transform:translateY(-2px);box-shadow:0 14px 36px rgba(7,66,131,.35);color:#fff}
.teacher-contact__toggle:focus-visible,.teacher-contact__close:focus-visible,.teacher-contact__field :focus-visible,.teacher-contact__submit:focus-visible{outline:3px solid #70b6f2;outline-offset:3px}
.teacher-contact__panel[hidden]{display:none!important}
.teacher-contact__panel{position:absolute;bottom:calc(100% + 13px);right:0;width:min(390px,calc(100vw - 24px));max-height:min(650px,calc(100dvh - 118px));overflow-y:auto;overscroll-behavior:contain;border:1px solid #cadeed;border-radius:22px;background:#fff;box-shadow:0 22px 65px rgba(13,51,93,.24)}
.teacher-contact__close{position:absolute;z-index:2;top:10px;right:10px;display:grid;place-items:center;width:35px;height:35px;border:0;border-radius:50%;color:#385879;background:#fff;font-size:26px;line-height:1;cursor:pointer}
.teacher-contact__close:hover{background:#e9f3fd}
.teacher-contact__intro{display:flex;align-items:center;gap:14px;padding:18px 46px 17px 18px;border-bottom:1px solid #dceaf6;background:linear-gradient(135deg,#e9f5ff,#f8fcff)}
.teacher-contact__intro img{width:70px;height:70px;flex:none;object-fit:cover;object-position:52% 38%;border-radius:16px;background:#ddebf8;border:3px solid #fff;box-shadow:0 5px 15px rgba(9,70,132,.12)}
.teacher-contact__eyebrow{margin:0 0 4px;color:#176eb9;font-size:10px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.teacher-contact__intro h2{margin:0 0 6px!important;color:#133b65!important;font:800 17px/1.15 var(--sans,Arial,sans-serif)!important;letter-spacing:-.01em;overflow-wrap:break-word}
.teacher-contact__intro h2::after{display:none!important}
.teacher-contact__intro p:last-child{margin:0;color:#476780;font-size:12px;line-height:1.48}
.teacher-contact__body{padding:17px 18px 19px}
.teacher-contact__body form{display:grid;gap:13px;margin:0}
.teacher-contact__field{display:grid;gap:7px;min-width:0;color:#163c60;font-size:13px;line-height:1.35;font-weight:750}
.teacher-contact__field textarea,.teacher-contact__field input{display:block;box-sizing:border-box;width:100%;min-width:0;max-width:100%;border:1px solid #c7ddef;border-radius:11px;padding:11px 13px;background:#fff;color:#163c60;font:400 15px/1.4 var(--sans,Arial,sans-serif)}
.teacher-contact__field textarea{resize:vertical;min-height:84px;max-height:160px}
.teacher-contact__field input{min-height:45px}
.teacher-contact__field :is(textarea,input)::placeholder{color:#7e94a6}
.teacher-contact__consent{display:flex;align-items:flex-start;gap:9px;margin:0;color:#42637c;font-size:11px;line-height:1.5}
.teacher-contact__consent input{flex:none;width:16px;height:16px;margin:2px 0 0;accent-color:#0b69bd}
.teacher-contact__consent a{color:#075faf;text-decoration:underline;text-underline-offset:2px}
.teacher-contact__note{margin:-4px 0 0;color:#70879c;font-size:11px;line-height:1.4}
.teacher-contact__submit{display:flex;justify-content:center;align-items:center;gap:8px;min-height:46px;border:0;border-radius:10px;background:#0b67bd;color:#fff;font:750 14px/1.25 var(--sans,Arial,sans-serif);cursor:pointer;box-shadow:0 6px 15px rgba(8,91,177,.2)}
.teacher-contact__submit:hover{background:#09559c}
.teacher-contact__submit:disabled{opacity:.6;cursor:wait}
.teacher-contact__status[hidden]{display:none!important}
.teacher-contact__status{padding:10px 12px;margin:0 0 13px;border-radius:10px;font-size:12px;line-height:1.5;background:#fff5ee;color:#8d451e}
.teacher-contact__status--success{background:#eaf9f1;color:#175d41}
body.lead-modal-is-open .teacher-contact{display:none}
/* The consent banner is a higher-priority task; don't let the widget cover its controls. */
body:has(.cookie-choice:not([hidden])) .teacher-contact{visibility:hidden;pointer-events:none}
@media(max-width:600px){.teacher-contact{right:12px;bottom:calc(12px + env(safe-area-inset-bottom,0px))}.teacher-contact__toggle{min-height:48px;padding:12px 15px;font-size:13px}.teacher-contact__panel{max-height:calc(100dvh - 98px);border-radius:18px}.teacher-contact__intro{gap:11px;padding:15px 44px 14px 14px}.teacher-contact__intro img{width:62px;height:62px;border-radius:13px}.teacher-contact__intro h2{font-size:16px!important}.teacher-contact__body{padding:14px 15px 16px}.teacher-contact__field input,.teacher-contact__field textarea{font-size:16px}}
@media(prefers-reduced-motion:reduce){.teacher-contact__toggle{transition:none}}
@media print{.site-info-bar,.teacher-contact{display:none!important}}


/* Source: sections/cabinet-showcase.css */
/* Shared, configurable photo gallery for pages where the cabinet matters. */
.cabinet-showcase{padding:clamp(42px,5vw,72px) 0;background:#f0f8ff}
.cabinet-showcase__head{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:23px}
.cabinet-showcase__head h2{margin:4px 0 9px;color:#113963;font-size:clamp(30px,3.3vw,43px);line-height:1.15;letter-spacing:-.02em}
.cabinet-showcase__head h2::after{display:none}
.cabinet-showcase__head p:last-child{max-width:650px;margin:0;color:#4b6781;font-size:15px;line-height:1.65}
.cabinet-showcase__contact{flex:none;color:#085dad;font-weight:750;font-size:14px;text-decoration:underline;text-underline-offset:4px;padding-bottom:3px}
.cabinet-photo-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.cabinet-photo-grid__item{min-width:0;margin:0;overflow:hidden;border:1px solid #d3e6f5;border-radius:18px;background:#fff;box-shadow:0 9px 25px rgba(10,56,98,.08)}
.cabinet-photo-grid__item>a{display:block;position:relative;overflow:hidden;background:#e6f4fe;text-decoration:none}
.cabinet-photo-grid__item img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;transition:transform .25s ease}
.cabinet-photo-grid__item>a:hover img{transform:scale(1.035)}
.cabinet-photo-grid__zoom{position:absolute;right:11px;top:10px;width:29px;height:29px;border-radius:9px;display:grid;place-items:center;background:rgba(255,255,255,.94);color:#0b5fae;font-size:17px;box-shadow:0 3px 12px rgba(0,0,0,.1)}
.cabinet-photo-grid__item figcaption{padding:11px 14px;color:#153f69;font-size:13px;font-weight:750;line-height:1.45}
.cabinet-photo-grid__placeholder{display:grid;place-content:center;gap:8px;justify-items:center;aspect-ratio:4/3;background:linear-gradient(125deg,#e5f3fc,#cbdff2);color:#5486b1}
.cabinet-photo-grid__placeholder svg{width:42px;height:42px}
.cabinet-photo-grid__placeholder span{font-size:12px;font-weight:700}
.cabinet-showcase__note{margin:13px 0 0;color:#72879d;font-size:11px;line-height:1.5}
/* The price page keeps its own composition but shares exactly the same photos. */
.prices-hub__cabinet-layout .cabinet-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.prices-hub__cabinet-layout .cabinet-photo-grid__item{border-radius:14px}
.prices-hub__cabinet-layout .cabinet-photo-grid__item figcaption{font-size:12px;padding:8px 10px}
@media(max-width:1000px){.cabinet-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:660px){.cabinet-showcase{padding:36px 0}.cabinet-showcase__head{display:block;margin-bottom:16px}.cabinet-showcase__head p:last-child{font-size:14px}.cabinet-showcase__contact{display:inline-block;margin-top:12px}.cabinet-photo-grid{gap:9px}.cabinet-photo-grid__item{border-radius:12px}.cabinet-photo-grid__item figcaption{padding:8px 10px;font-size:12px}.cabinet-photo-grid__zoom{right:6px;top:6px;width:25px;height:25px}}
@media(max-width:340px){.cabinet-photo-grid{grid-template-columns:1fr}.prices-hub__cabinet-layout .cabinet-photo-grid{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.cabinet-photo-grid__item img{transition:none}}


/* Source: components/visual-polish-phase15.css */
/* Phase 15 — targeted visual refinements; no change to the colour system. */

/* 1. Service discovery cards: larger readable art and a shorter, balanced card. */
.home-other-lessons { padding-block: clamp(46px, 4.5vw, 68px); }
.home-other-lessons__heading { align-items: center; margin-bottom: 24px; }
.home-other-lessons__heading h2 { line-height: 1.12; }
.home-other-lessons__all { min-height: 46px; justify-content: center; white-space: normal; text-align: center; }
.home-other-lessons__grid { gap: 20px; }
.home-other-card { border-radius: 20px; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.home-other-card__image { display: flex; align-items: center; justify-content: center; padding: 10px; aspect-ratio: 1.42; min-height: 0; background: linear-gradient(155deg,#edf7ff 0%,#f9fcff 100%); overflow: hidden; }
.home-other-card__image img { display: block; max-width: none; width: 100%; height: 100%; object-fit: contain; transition: transform .25s ease; }
.home-other-card__body { padding: 18px 20px 20px; }
.home-other-card__meta { font-size: 11px; line-height: 1.4; letter-spacing: .045em; margin-bottom: 8px; }
.home-other-card h3 { font-size: clamp(19px,1.7vw,23px); line-height: 1.24; margin: 0 0 9px; text-wrap: balance; }
.home-other-card p { font-size: 14px; line-height: 1.55; color: #3d5d78; margin-bottom: 15px; }
.home-other-card__more { min-height: 35px; align-items: center; padding-block: 5px; text-underline-offset: 4px; }
.home-other-card:focus-within { outline: 2px solid #1680d2; outline-offset: 3px; }
@media (hover:hover) and (prefers-reduced-motion:no-preference) {
  .home-other-card:hover { border-color: #9fceeb; box-shadow: 0 16px 30px rgba(18,67,105,.13); transform: translateY(-3px); }
  .home-other-card__image:hover img { transform: scale(1.025); }
}

/* 2. Cabinet photo cards: image-first, consistent height, no vacant card bottoms. */
.cabinet-showcase { padding-block: clamp(42px,4.7vw,64px); }
.cabinet-showcase__head { align-items: end; gap: 18px 30px; margin-bottom: 23px; }
.cabinet-showcase__head h2 { font-size: clamp(30px,3.3vw,42px); margin: 5px 0 9px; }
.cabinet-showcase__head p:last-child { max-width: 690px; line-height: 1.55; }
.cabinet-showcase__contact { display: inline-flex; align-items: center; min-height: 42px; padding: 8px 15px; border: 1px solid #bfdcf3; background: #fff; border-radius: 11px; text-decoration: none; }
.cabinet-showcase__contact:hover { background: #e4f3ff; }
.cabinet-photo-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; align-items: stretch; }
.cabinet-photo-grid__item { display: flex; flex-direction: column; min-width: 0; height: auto; border-radius: 18px; }
.cabinet-photo-grid__item > a { flex: 0 0 auto; }
.cabinet-photo-grid__item img { width: 100%; height: auto; aspect-ratio: 16/9; object-fit: cover; object-position: center 42%; }
.cabinet-photo-grid__item figcaption { display: flex; align-items: center; min-height: 49px; margin: 0; padding: 10px 16px; font-size: 14px; line-height: 1.4; }
.cabinet-photo-grid__zoom { width: 36px; height: 36px; border-radius: 10px; font-size: 19px; }
.cabinet-photo-grid__item a:focus-visible { outline: 3px solid #0b6bb8; outline-offset: -3px; }
.cabinet-showcase__note { font-size: 12px; margin: 14px 0 0; max-width: 90ch; }
/* Prices already have a focused 2-column cabinet gallery; keep its image dimensions. */
.prices-hub__cabinet-layout .cabinet-photo-grid { gap: 12px; }
.prices-hub__cabinet-layout .cabinet-photo-grid__item img { aspect-ratio: 4/3; }

/* 3. Teacher: photo and message share the first screen, no repeated portrait. */
.teacher-page__intro { padding: clamp(22px,3vw,44px) 0 clamp(32px,4vw,56px); background: linear-gradient(115deg,#fff,#f5fbff); }
.teacher-page__intro .breadcrumbs { margin-bottom: clamp(18px,2vw,28px); }
.teacher-page__intro-grid { display: grid; grid-template-columns: minmax(0,1.08fr) minmax(350px,.92fr); align-items: center; gap: clamp(28px,4.5vw,68px); }
.teacher-page__intro-copy { min-width: 0; }
.teacher-page__intro-copy h1 { margin: 0 0 18px; max-width: 24ch; font: 700 clamp(34px,3.25vw,48px)/1.1 var(--serif); color: #0d3564; overflow-wrap: normal; text-wrap: balance; }
.teacher-page__intro-lead { margin: 0; max-width: 54ch; font-size: clamp(16px,1.5vw,18px); color: #3c5f7c; line-height: 1.6; }
.teacher-page__intro-facts { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 23px; }
.teacher-page__intro-facts span { display: inline-flex; align-items: center; min-height: 36px; padding: 7px 12px; border-radius: 99px; color: #115c9d; background: #e9f5ff; border: 1px solid #c5e2f5; font-size: 13px; font-weight: 700; }
.teacher-page__intro-actions { display: flex; flex-wrap: wrap; gap: 15px 20px; align-items: center; margin-top: 24px; }
.teacher-page__intro-actions .button { min-height: 46px; }
.teacher-page__intro-link { font-weight: 700; color: #0a60ab; text-underline-offset: 4px; }
.teacher-page__intro-photo { position: relative; margin: 0; overflow: hidden; background: #e7f3ff; border: 1px solid #c9e1f1; border-radius: 24px; box-shadow: 0 19px 42px rgba(12,58,100,.12); }
.teacher-page__intro-photo img { display: block; width: 100%; height: auto; aspect-ratio: 5/4; object-fit: cover; object-position: 43% center; }
.teacher-page__intro-photo figcaption { padding: 12px 17px; color: #214a70; font-size: 13px; font-weight: 650; line-height: 1.4; background: #fff; }
.teacher--profile-detail { padding: clamp(36px,4vw,56px) 0; background: #f5faff; }
.teacher--profile-detail .teacher__heading { margin-bottom: 22px; }
.teacher--profile-detail .teacher__heading h2 { white-space: normal; }
.teacher--profile-detail .teacher__layout { display: block; }
.teacher--profile-detail .teacher__approach { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 15px; border: 0; background: transparent; }
.teacher--profile-detail .teacher__approach-item { border: 1px solid #d0e3f2; background: #fff; border-radius: 16px; grid-template-columns: 42px minmax(0,1fr); align-items: start; gap: 12px; padding: 22px; min-width: 0; }
.teacher--profile-detail .teacher__approach-item + .teacher__approach-item { border-top: 1px solid #d0e3f2; }
.teacher--profile-detail .teacher__details { margin-top: 20px; }
.teacher-page__method { padding-block: clamp(34px,4vw,56px); }
.teacher-page__situations { padding-block: clamp(36px,4vw,58px); }
.teacher-page__situations-head h2 { text-wrap: balance; }

/* 4. Service page: shorter navigation and cleaner grouping. */
.service-page .service-page__focus { padding-top: 31px; }
.service-page .service-page__focus li { min-height: 70px; padding: 15px; }
.service-page .service-page__details { margin-top: 0; }
.seo-landing__parent-nav { padding: clamp(26px,3vw,42px) 0; }
.seo-landing__parent-nav h2 { margin-top: 0; font-size: clamp(25px,2.7vw,35px); }
.seo-landing__grade-links { gap: 9px; }
.seo-landing__grade-links a { min-width: 85px; min-height: 45px; border-radius: 11px; }
.seo-landing__grade-more { margin: 15px 0 0; }
.seo-landing__grade-more a { color: #0c61aa; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.lesson-linking { padding-block: clamp(29px,3vw,43px); }
.lesson-linking__groups--single .lesson-linking__group { padding: 18px 22px; }
.lesson-linking__groups--single .lesson-linking__group ul { gap: 0 16px; }
.lesson-linking__groups--single .lesson-linking__group a { min-height: 49px; padding: 10px 8px; }
.lesson-linking__groups--single .lesson-linking__group-head { padding-bottom: 9px; }

/* 5. Footer: a quiet, separated development credit. */
.site-footer .site-footer__visit { gap: 10px 20px; margin-top: 22px; padding-top: 18px; }
.site-footer .site-footer__visit a { overflow-wrap: anywhere; }
.site-footer__divider { width: 1px; height: 34px; background: rgba(255,255,255,.20); margin-left: auto; }
.site-footer__developer { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; flex: 0 0 auto; }
.site-footer__developer-caption { color: #bed6eb; font-size: 11px; line-height: 1.2; }
.site-footer__developer-name { font-size: 14px; font-weight: 700; color: #fff; white-space: nowrap; }
.site-footer__developer-name strong { color: #70d6da; font-size: 16px; letter-spacing: .015em; }

/* 6. Mobile typography, spacing and tap targets. */
@media (max-width: 1050px) {
  .teacher-page__intro-grid { grid-template-columns: minmax(0,1fr) minmax(270px,.85fr); gap: 28px; }
  .teacher--profile-detail .teacher__approach { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .home-other-lessons__grid { gap: 14px; }
}
@media (max-width: 760px) {
  .teacher-page__intro-grid { grid-template-columns: 1fr; gap: 22px; }
  .teacher-page__intro-copy h1 { max-width: 24ch; }
  .teacher-page__intro-photo { max-width: 600px; }
  .teacher--profile-detail .teacher__approach { grid-template-columns: 1fr; }
  .cabinet-photo-grid { gap: 12px; }
  .cabinet-showcase__head { display: block; }
  .cabinet-showcase__contact { margin-top: 15px; }
  .site-footer__divider { display: none; }
  .site-footer__developer { align-items: flex-start; width: 100%; padding-top: 12px; margin-top: 5px; border-top: 1px solid rgba(255,255,255,.13); }
}
@media (max-width: 650px) {
  .home-other-lessons__heading { align-items: stretch; }
  .home-other-lessons__all { align-self: flex-start; }
  .home-other-lessons__grid { grid-template-columns: 1fr; gap: 12px; }
  .home-other-card { display: grid; grid-template-columns: minmax(120px,37%) minmax(0,1fr); }
  .home-other-card__image { padding: 8px; aspect-ratio: auto; min-height: 172px; }
  .home-other-card__body { padding: 14px; }
  .home-other-card h3 { font-size: 18px; }
  .home-other-card p { font-size: 13px; }
  .cabinet-photo-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
  .cabinet-photo-grid__item img { aspect-ratio: 4/3; }
  .cabinet-photo-grid__item figcaption { min-height: 51px; padding: 8px 10px; font-size: 12px; }
  .teacher-page__intro-copy h1 { font-size: clamp(31px,8vw,43px); }
  .teacher-page__intro-facts { gap: 7px; }
  .teacher-page__intro-facts span { font-size: 12px; }
  .teacher--profile-detail .teacher__approach-item { padding: 16px; }
  .lesson-linking__groups--single .lesson-linking__group { padding: 14px; }
}
@media (max-width: 380px) {
  .home-other-card { grid-template-columns: 112px minmax(0,1fr); }
  .home-other-card__image { min-height: 160px; padding: 4px; }
  .home-other-card__body { padding: 12px; }
  .home-other-card h3 { font-size: 17px; }
  .home-other-card__meta { font-size: 10px; }
  .cabinet-photo-grid__item figcaption { font-size: 11px; }
  .teacher-page__intro-actions .button { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .home-other-card, .home-other-card__image img { transition: none; }
}

/* A smaller, accessible contact trigger on narrow phones keeps content uncovered. */
@media (max-width: 600px) {
  .teacher-contact__toggle { width: 54px; height: 54px; min-height: 54px; padding: 0; justify-content: center; border-radius: 50%; }
  .teacher-contact__toggle svg { width: 24px; height: 24px; }
  .teacher-contact__toggle span { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}

/* Source: components/header-peterson-phase16.css */
/* Этап 16: более заметный фирменный знак и ссылка на занятия по Петерсон.
 * Изменения относятся только к шапке, общая сетка страниц не меняется. */
.site-header { position: relative; z-index: 24; height: 88px; }
.site-header__inner.container { width: min(1420px, calc(100% - 48px)); max-width: none; gap: 18px; }
.site-header .brand { display: flex; flex: 0 0 268px; width: 268px; align-items: center; gap: 12px; min-width: 0; }
.site-header .brand__mark { flex: 0 0 64px; width: 64px; height: 58px; object-fit: contain; }
.site-header .brand__copy { min-width: 0; }
.site-header .brand__copy strong { font-size: 20px; line-height: 1.04; }
.site-header .brand__copy small { max-width: 170px; margin-top: 5px; font-size: 10px; line-height: 1.2; }
.site-header .primary-nav { gap: clamp(8px, .85vw, 14px); margin-left: auto; }
.site-header .primary-nav a { font-size: 13px; font-weight: 600; }
.site-header .header-contact { flex: 0 0 auto; gap: 12px; margin-left: auto; }
.site-header .header-phone .icon-link__title { font-size: 13px; }
.site-header .primary-nav a.primary-nav__featured {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  align-self: center; min-height: 40px; padding: 8px 15px;
  border: 1px solid #9fcef1; border-radius: 100px;
  background: #e7f4ff; color: #075da7; font-weight: 800;
  box-shadow: 0 4px 13px rgba(12,105,180,.11);
  transition: background-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.site-header .primary-nav a.primary-nav__featured::after { display: none; }
.site-header .primary-nav .primary-nav__featured-icon { flex: none; color: #d9951d; font-size: 17px; line-height: 1; }
.site-header .primary-nav a.primary-nav__featured:hover,
.site-header .primary-nav a.primary-nav__featured:focus-visible {
  background: #cdeaff; color: #004b91; box-shadow: 0 7px 18px rgba(12,105,180,.21); transform: translateY(-1px);
}
.site-header .primary-nav a.primary-nav__featured.is-active { background: #075eb3; color: #fff; border-color: #075eb3; box-shadow: 0 5px 16px rgba(7,94,179,.26); }
.site-header .primary-nav a.primary-nav__featured.is-active .primary-nav__featured-icon { color: #ffe7a3; }
.site-header .primary-nav a:focus-visible,
.site-header .menu-toggle:focus-visible { outline: 3px solid #267dce; outline-offset: 3px; }

/* Переключаем шапку в полноценное раскрывающееся меню до возникновения тесноты. */
@media (max-width: 1340px) {
  .site-header { height: 78px; }
  .site-header__inner.container { width: min(100% - 36px, 1200px); gap: 16px; }
  .site-header .brand { flex: 0 1 268px; width: auto; }
  .site-header .brand__mark { flex-basis: 58px; width: 58px; height: 54px; }
  .site-header .brand__copy strong { font-size: 19px; }
  .site-header .brand__copy small { font-size: 9px; }
  .site-header .menu-toggle { order: 3; display: grid; gap: 4px; width: 44px; height: 44px; flex: 0 0 44px; place-content: center; margin: 0; border: 1px solid #bfd9ee; border-radius: 10px; background: #fff; cursor: pointer; }
  .site-header .menu-toggle span[aria-hidden] { display: block; width: 20px; height: 2px; background: #123e69; }
  .site-header .header-contact { order: 2; margin-left: auto; gap: 14px; }
  .site-header .primary-nav { position: absolute; z-index: 30; inset: 100% 0 auto; display: none; height: auto; margin: 0; padding: 18px max(18px, calc((100vw - 1150px)/2)); background: #fff; border-top: 1px solid #e3edf6; border-bottom: 1px solid #d7e8f7; box-shadow: 0 15px 32px rgba(14,49,95,.12); }
  .site-header .primary-nav.is-open { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 7px 12px; }
  .site-header .primary-nav a { min-height: 46px; padding: 11px 14px; font-size: 15px; line-height: 1.35; justify-content: flex-start; border-radius: 10px; white-space: normal; }
  .site-header .primary-nav a::after { display: none; }
  .site-header .primary-nav a.is-active:not(.primary-nav__featured) { background: #edf6ff; color: #075ba7; }
  .site-header .primary-nav a.primary-nav__featured { grid-column: 1/-1; justify-content: flex-start; align-self: auto; min-height: 48px; padding-inline: 15px; font-size: 16px; border-radius: 12px; }
}
@media (max-width: 760px) {
  .site-header { height: 74px; }
  .site-header__inner.container { width: min(100% - 28px, 720px); }
  .site-header .brand { flex: 0 1 auto; gap: 9px; }
  .site-header .brand__mark { flex-basis: 52px; width: 52px; height: 50px; }
  .site-header .brand__copy strong { font-size: 17px; }
  .site-header .brand__copy small { max-width: 145px; font-size: 8.5px; }
  .site-header .primary-nav.is-open { grid-template-columns: 1fr; }
  .site-header .primary-nav a.primary-nav__featured { grid-column: auto; }
}
@media (max-width: 520px) {
  .site-header .brand__mark { flex-basis: 49px; width: 49px; height: 47px; }
  .site-header .brand__copy strong { font-size: 16px; }
  .site-header .brand__copy small { max-width: 134px; font-size: 8px; }
  .site-header .header-contact { display: none; }
  .site-header .menu-toggle { margin-left: auto; }
  .site-header .primary-nav { padding: 12px 16px 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .site-header .primary-nav a.primary-nav__featured { transition: none; }
}

/* Source: pages/peterson-gallery-phase18.css */
/* Phase 18: compact cabinet gallery and focused editorial Peterson landing. */
.cabinet-showcase{padding:clamp(32px,4vw,54px) 0}
.cabinet-showcase__head{margin-bottom:18px;align-items:end}
.cabinet-showcase__head p:last-child{max-width:660px}
.cabinet-showcase .cabinet-photo-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;max-width:1120px;margin-inline:auto}
.cabinet-showcase .cabinet-photo-grid__item{border-radius:13px;box-shadow:0 6px 16px rgba(10,56,98,.06)}
.cabinet-showcase .cabinet-photo-grid__item img{aspect-ratio:16/10;object-position:50% 45%;}
.cabinet-showcase .cabinet-photo-grid__item figcaption{min-height:40px;padding:8px 12px;font-size:12px;line-height:1.4}
.cabinet-showcase .cabinet-photo-grid__zoom{width:30px;height:30px;border-radius:8px}
/* Prices use a narrower photo column and a tighter 2-column gallery. */
.prices-hub__cabinet-layout .cabinet-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.prices-hub__cabinet-layout .cabinet-photo-grid__item img{aspect-ratio:16/10;object-position:center 45%}
.prices-hub__cabinet-layout .cabinet-photo-grid__item figcaption{min-height:37px;padding:6px 9px;font-size:11px}
.seo-landing--peterson .seo-landing__hero h1{max-width:27ch;font-size:clamp(30px,3.7vw,48px);line-height:1.12}
.seo-landing--peterson .seo-landing__hero .inner-page__lead{max-width:62ch}
.seo-landing--peterson .peterson-outcomes__grid article{display:flex;flex-direction:column;gap:8px}
.seo-landing--peterson .peterson-outcomes__grid strong{margin:0;line-height:1.3}
.seo-landing--peterson .peterson-outcomes__grid p{line-height:1.55}
.peterson-topic-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;list-style:none;margin:0;padding:0;counter-reset:topic}
.peterson-topic-list li{display:flex;align-items:start;gap:15px;border:1px solid #d4e7f7;border-radius:15px;background:#f4faff;padding:18px;min-width:0}
.peterson-topic-list__number{display:grid;place-items:center;flex:0 0 40px;height:40px;border-radius:11px;background:#e0f0ff;color:#0768b9;font-size:13px;font-weight:800}
.peterson-topic-list h3{margin:0 0 7px;font-size:clamp(16px,1.5vw,19px);line-height:1.27;color:#133d64}
.peterson-topic-list p{margin:0;font-size:14px;line-height:1.55;color:#486780}
.peterson-progress{margin-top:16px;padding:17px 20px;border-radius:15px;background:#edf7ff;border-left:4px solid #1677c8;color:#294c6b}
.peterson-progress strong{display:block;color:#143a64;margin-bottom:5px;font-size:16px}
.peterson-progress p{margin:0;line-height:1.6;max-width:90ch}
.peterson-related-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}
.peterson-related-grid a{display:flex;flex-direction:column;gap:10px;padding:18px 19px;border:1px solid #d0e5f5;border-radius:16px;background:#f5fbff;text-decoration:none;color:#284e70;transition:border-color .2s ease,transform .2s ease}
.peterson-related-grid a:hover{border-color:#1480d2;transform:translateY(-2px)}
.peterson-related-grid a:focus-visible{outline:3px solid #086dbf;outline-offset:3px}
.peterson-related-grid strong{font:700 clamp(17px,1.55vw,21px)/1.25 var(--serif);color:#11385f}
.peterson-related-grid span{font-size:14px;line-height:1.55;flex:1}
.peterson-related-grid em{font-style:normal;font-weight:750;font-size:13px;color:#0561ad}
@media(max-width:900px){.peterson-related-grid{grid-template-columns:1fr 1fr}.seo-landing--peterson .seo-landing__hero h1{max-width:28ch}}
@media(max-width:680px){.cabinet-showcase .cabinet-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.cabinet-showcase .cabinet-photo-grid__item img{aspect-ratio:4/3}.cabinet-showcase .cabinet-photo-grid__item figcaption{min-height:42px;font-size:11px;padding:7px 9px}.peterson-topic-list,.peterson-related-grid{grid-template-columns:1fr}.peterson-topic-list li{padding:15px}.seo-landing--peterson .seo-landing__hero h1{font-size:clamp(29px,7.5vw,39px);max-width:none;overflow-wrap:break-word}}
@media(max-width:340px){.cabinet-showcase .cabinet-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.cabinet-showcase .cabinet-photo-grid__item figcaption{font-size:10px}.prices-hub__cabinet-layout .cabinet-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(prefers-reduced-motion:reduce){.peterson-related-grid a{transition:none}}

.prices-hub__gallery-more{display:inline-flex;margin-top:10px;color:#075ea9;font-size:13px;font-weight:750;text-underline-offset:3px}

/* Source: sections/route-guide-phase20.css */
/* Локальная схема без внешнего картографического виджета. */
.contacts .route-guide {min-width:0;display:flex;flex-direction:column;gap:12px;padding:clamp(14px,1.6vw,22px);border:1px solid #d7e7f5;border-radius:18px;background:#fff;box-shadow:0 8px 24px rgba(14,49,95,.07)}
.route-guide__head {display:flex;align-items:end;justify-content:space-between;gap:12px;min-width:0}
.route-guide__eyebrow {display:block;color:#126ab5;font-size:11px;letter-spacing:.06em;font-weight:800;text-transform:uppercase;margin-bottom:5px}
.contacts .route-guide__head h3 {margin:0;font-family:var(--serif);color:#123d69;font-size:clamp(19px,2vw,24px);line-height:1.2;font-weight:700}
.route-guide__full {flex:0 0 auto;color:#075ca8;font-size:13px;line-height:1.3;font-weight:750;text-decoration:underline;text-underline-offset:3px;padding-bottom:3px}
.route-guide__visual {display:block;overflow:hidden;border:1px solid #d9eaf5;border-radius:14px;background:#eef6fd;line-height:0}
.route-guide__visual picture,.route-guide__visual img {display:block;width:100%}
.route-guide__visual img {height:auto;object-fit:contain;transition:filter .2s ease}
.route-guide__visual:hover img {filter:saturate(1.05)}
.route-guide__info {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.route-guide__info-card {min-width:0;border:1px solid #d7e8f8;border-radius:12px;background:#f5faff;padding:12px 14px}
.route-guide__info-card strong {display:block;color:#123d69;font-size:14px;line-height:1.3;margin-bottom:5px}
.route-guide__info-card p {color:#385670;font-size:13px;line-height:1.5;margin:0}
.route-guide__note {margin:0;color:#6d8598;font-size:12px;line-height:1.35}
.route-guide__full:focus-visible,.route-guide__visual:focus-visible {outline:3px solid #1679d0;outline-offset:3px}
@media(max-width:680px){.contacts .route-guide{padding:12px;gap:12px;border-radius:14px}.route-guide__head{align-items:start}.contacts .route-guide__head h3{font-size:19px}.route-guide__info{grid-template-columns:1fr;gap:8px}.route-guide__info-card{padding:10px 12px}}
@media(max-width:360px){.route-guide__head{flex-direction:column;gap:8px}.route-guide__full{align-self:flex-end}}
@media(prefers-reduced-motion:reduce){.route-guide__visual img{transition:none}}

/* Source: components/analytics-consent.css */
/* Compact first-party choice. No analytics resources are requested before opt-in. */
.cookie-choice[hidden]{display:none!important}
.cookie-choice{position:fixed;z-index:9995;bottom:calc(16px + env(safe-area-inset-bottom,0px));left:50%;transform:translateX(-50%);width:min(900px,calc(100% - 28px));box-sizing:border-box;display:flex;align-items:center;justify-content:space-between;gap:16px 28px;padding:18px 20px;border:1px solid #bad8f0;border-radius:18px;background:#fff;box-shadow:0 16px 46px rgba(17,55,93,.22);font-family:var(--sans,Arial,sans-serif);color:#173b5d}
.cookie-choice__content{flex:1;min-width:0}
.cookie-choice__content strong{display:block;margin-bottom:4px;font-size:15px;line-height:1.3;color:#113b65}
.cookie-choice__content p{margin:0;font-size:13px;line-height:1.5;color:#42617d}
.cookie-choice__content a{color:#075da9;text-underline-offset:2px}
.cookie-choice__actions{display:flex;flex-direction:column;align-items:stretch;gap:8px;flex:0 0 190px}
.cookie-choice__button{min-height:41px;padding:9px 12px;border-radius:10px;border:1px solid #a9cbe7;cursor:pointer;font-size:13px;line-height:1.25;font-weight:700;background:#f5faff;color:#145786}
.cookie-choice__button--accept{background:#0b66bb;color:#fff;border-color:#0b66bb}
.cookie-choice__button:hover{filter:brightness(.96)}
.cookie-choice__button:focus-visible,[data-analytics-settings]:focus-visible{outline:3px solid #57a7e7;outline-offset:3px}
.site-footer__analytics-settings{display:inline-block;margin-top:8px;padding:0;border:0;background:none;color:#cfe4f8;cursor:pointer;font:inherit;font-size:13px;text-align:left;text-decoration:underline;text-underline-offset:3px}
@media(max-width:640px){.cookie-choice{display:block;bottom:calc(10px + env(safe-area-inset-bottom,0px));max-height:calc(100dvh - 24px);overflow-y:auto;padding:16px}.cookie-choice__actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:13px}.cookie-choice__button{padding:10px 6px;font-size:12px}}
@media(max-width:350px){.cookie-choice__actions{grid-template-columns:1fr}}
@media print{.cookie-choice,.site-footer__analytics-settings{display:none!important}}


/* Uploaded hero media, controlled by CMS. */
.hero__visual-upload{display:block;width:100%;height:100%;object-fit:cover;position:absolute;inset:0}
