/* VIRA: one visual system for the public site, 24 September 2026. */
:root { --ink:#142b40; --ink-soft:#566c7d; --blue:#078ee8; --blue-dark:#0876bc; --paper:#f5f8fb; --line:#dfe8ee; --radius-lg:24px; --radius-md:18px; --shadow:0 20px 55px rgba(20,43,64,.09); }
html { overflow-x:clip; scroll-padding-top:110px; scrollbar-gutter:stable; }
body { overflow-x:clip; }
body.menu-open { overflow:hidden; }
h1,h2,h3 { letter-spacing:-.035em; }
h2 { font-size:38px; font-size:clamp(28px,3.1vw,40px); line-height:1.15; }
p { text-wrap:pretty; }
.container { max-width:1180px; }
.section { padding:80px 0; }
.section-heading { margin-bottom:32px; }
.eyebrow { font-size:11px; letter-spacing:.14em; font-weight:750; margin-bottom:16px; }
.button { min-height:50px; font-size:14px; padding:13px 22px; border-radius:12px; }
.button-primary { background:#078ad9; box-shadow:0 6px 16px rgba(7,138,217,.13); }
.button-primary:hover { background:#0677bf; box-shadow:0 9px 24px rgba(7,138,217,.2); }
.button-secondary { background:transparent; border-color:#cfdfe9; }
.button:hover { transform:translateY(-1px); }
:focus-visible { outline:3px solid #168dd0; outline-offset:4px; }
.site-header { position:sticky; top:0; background:rgba(255,255,255,.97); border-bottom:1px solid var(--line); }
.header-row { height:86px; min-height:86px; }
.brand { flex:0 0 144px; width:144px; height:74px; margin-right:38px; }
.brand img { width:144px; height:74px; max-height:none; object-fit:contain; transition:none; transform:none; }
.main-nav a { padding:10px 14px; font-size:14px; border-radius:9px; }
.header-phone span { font-size:10px; letter-spacing:.1em; }
.header-phone strong { font-size:15px; }
.hero { padding:46px 0 54px; background:linear-gradient(120deg,#f1f8fe,#fff 65%,#f2faf6); }
.hero-grid { grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr); gap:54px; }
.hero-copy { padding-top:0; }
.hero-copy h1 { font-size:48px; font-size:clamp(36px,3.8vw,50px); line-height:1.09; margin-bottom:22px; }
.hero-emphasis { color:#0876bc; }
.hero-lead { font-size:17px; max-width:550px; line-height:1.65; margin-bottom:26px; }
.hero-media,.hero-media > img { height:470px; min-height:470px; }
.hero-media > img { border-radius:24px; object-position:68% center; box-shadow:var(--shadow); }
.hero-facts { margin-top:30px; padding-top:22px; gap:14px; }
.hero-facts strong { font-size:14px; }
.hero-facts span { font-size:12px; }
.license-card { border-radius:14px; right:18px; bottom:18px; padding:15px; max-width:275px; box-shadow:0 8px 28px rgba(20,43,64,.12); }
.license-icon { width:36px; height:36px; flex-basis:36px; }
.license-card strong { font-size:14px; }
.license-card small { font-size:12px; }
.split-heading { grid-template-columns:minmax(0,1.45fr) minmax(0,.7fr); gap:48px; }
.split-heading > p { font-size:15px; line-height:1.65; margin-bottom:0; }
.section-more { margin-top:28px; }
.text-link { font-size:14px; line-height:1.5; }
/* Program selection: concise front, complete requirements on demand. */
.study-grid { display:grid; gap:20px; align-items:start; }
.study-grid-home { grid-template-columns:repeat(3,minmax(0,1fr)); align-items:stretch; }
.study-grid-catalog { grid-template-columns:repeat(2,minmax(0,1fr)); align-items:stretch; }
.study-card { display:flex; flex-direction:column; min-width:0; padding:28px; border:1px solid var(--line); border-radius:18px; background:#fff; transition:border-color .18s,box-shadow .18s; }
.study-card:hover { border-color:#adcde1; box-shadow:0 12px 34px rgba(20,43,64,.06); }
.study-card-accent { background:linear-gradient(140deg,#edf7ff,#fff 66%); border-color:#b5d9f1; }
.study-card-top { display:flex; align-items:center; justify-content:space-between; gap:16px; margin-bottom:23px; }
.study-code { flex:none; display:inline-flex; align-items:center; justify-content:center; min-width:44px; height:31px; padding:0 9px; background:#edf5fa; color:#0876bc; border-radius:8px; font-size:12px; font-weight:750; letter-spacing:.025em; }
.study-card-accent .study-code { color:white; background:#087fc9; }
.study-type { font-size:11px; text-align:right; line-height:1.4; color:var(--ink-soft); max-width:185px; }
.study-card h2,.study-card h3 { margin:0 0 12px; font-size:24px; line-height:1.22; letter-spacing:-.025em; overflow-wrap:break-word; }
.study-grid-home .study-card h3 { font-size:23px; min-height:85px; }
.study-grid-catalog .study-card h2 { min-height:59px; }
.study-card h2 a:hover,.study-card h3 a:hover { color:var(--blue-dark); }
.study-brief { margin:0; min-height:45px; font-size:14px; line-height:1.6; color:var(--ink-soft); }
.study-grid-home .study-brief { min-height:67px; }
.study-facts { display:grid; grid-template-columns:1fr 1fr; gap:24px; margin:24px 0 18px; padding:20px 0; border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.study-facts > div { display:flex; flex-direction:column; gap:4px; }
.study-facts strong { font-size:30px; font-weight:700; line-height:1.1; letter-spacing:-.035em; }
.study-facts strong > span { font-size:13px; font-weight:550; letter-spacing:0; }
.study-facts small { font-size:11px; color:var(--ink-soft); }
.study-document { display:flex; gap:9px; align-items:flex-start; min-height:43px; font-size:13px; line-height:1.6; margin:0 0 16px; }
.study-document > span { color:#05864d; font-size:16px; flex:none; }
.study-details { margin:0 0 22px; padding:0; border-bottom:1px solid var(--line); }
.study-details summary { display:flex; justify-content:space-between; gap:14px; align-items:center; min-height:44px; padding:8px 0 14px; cursor:pointer; list-style:none; font-size:13px; font-weight:650; color:#0876bc; }
.study-details summary::-webkit-details-marker { display:none; }
.study-details summary > span { font-size:20px; line-height:1; transition:transform .15s; }
.study-details[open] summary > span { transform:rotate(45deg); }
.study-details-body { padding:0 0 16px; font-size:13px; line-height:1.65; }
.study-details-body h4 { margin:16px 0 7px; font-size:13px; }
.study-details-body p { margin:0 0 10px; }
.study-details-body a { color:#0876bc; text-decoration:underline; text-underline-offset:3px; }
.study-bottom { display:flex; flex-wrap:wrap; gap:8px 14px; align-items:center; justify-content:space-between; margin-top:auto; font-size:12px; padding-bottom:16px; }
.study-price { font-weight:650; color:var(--ink-soft); }
.study-more { color:#0876bc; font-weight:700; white-space:nowrap; }
.study-more > span { margin-left:5px; }
.study-apply { align-self:stretch; justify-content:space-between; }
.study-apply > span { font-size:20px; line-height:1; }
.study-paths { display:grid; grid-template-columns:1fr 1fr; gap:20px; margin-top:20px; }
.study-paths a { padding:22px 24px; border:1px solid var(--line); border-radius:14px; background:#f7fafc; transition:border-color .18s; }
.study-paths a:hover { border-color:#adcde1; }
.study-paths span { display:block; font-size:11px; color:var(--ink-soft); margin-bottom:8px; }
.study-paths strong { display:flex; justify-content:space-between; gap:16px; font-size:17px; line-height:1.4; font-weight:650; }
.study-paths b { color:#0876bc; font-size:22px; font-weight:500; }
.catalog-label { display:flex; align-items:center; justify-content:space-between; gap:16px; margin-bottom:24px; }
.catalog-label h2 { font-size:22px; margin:0; }
.catalog-label > span { color:var(--ink-soft); font-size:13px; }
.study-card-opr { background:#f4f9fc; }
/* Secondary headings stay in proportion to actual content. */
.page-hero { padding:52px 0; background:linear-gradient(115deg,#edf7fe,#f9fcfe 62%,#f1faf6); border-bottom:1px solid #e7eef3; }
.page-hero h1 { font-size:48px; font-size:clamp(32px,4.2vw,52px); line-height:1.13; max-width:860px; margin-bottom:0; overflow-wrap:break-word; }
.page-hero-grid { grid-template-columns:minmax(0,1.35fr) minmax(0,.8fr); gap:60px; align-items:end; }
.page-hero-grid > p { font-size:16px; line-height:1.65; margin:0; }
.page-hero + .section { padding-top:48px; }
.notice-card { margin-top:32px; border-radius:16px; padding:24px; }
.notice-card p { font-size:14px; line-height:1.6; }
.regulatory-note { margin-top:48px; padding:32px; border:1px solid var(--line); border-radius:18px; background:#f8fafc; }
.regulatory-note h2 { font-size:25px; margin-bottom:16px; }
.regulatory-note > p:last-child { max-width:1000px; font-size:14px; line-height:1.8; color:var(--ink-soft); margin-bottom:0; }
.program-reading { max-width:1180px; }
.program-reading > h2 { font-size:36px; margin-bottom:32px; }
.training-steps { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:24px; counter-reset:steps; list-style:none; padding:0; margin:0 0 36px; }
.training-steps li { counter-increment:steps; border-top:1px solid #c7d8e4; padding-top:20px; }
.training-steps li::before { content:'0' counter(steps); display:block; margin-bottom:24px; color:#0876bc; font-size:13px; font-weight:750; }
.training-steps h3 { font-size:18px; line-height:1.3; margin-bottom:12px; }
.training-steps p { font-size:14px; color:var(--ink-soft); line-height:1.75; margin:0; }
#training .program-reading > p { max-width:920px; font-size:13px; color:var(--ink-soft); }
#training .program-reading > p a { font-size:13px; }
/* Individual programs. */
.program-detail-hero .text-link { font-size:12px; }
.program-detail-hero .eyebrow { margin-top:28px; }
.program-detail-hero h1 { max-width:860px; font-size:44px; line-height:1.13; }
.program-lead { font-size:17px; color:var(--ink-soft); margin:22px 0 0; max-width:760px; }
.official-disclosure { max-width:900px; margin-top:20px; }
.official-disclosure summary { font-size:13px; color:#0876bc; cursor:pointer; }
.official-disclosure p { font-size:14px; line-height:1.7; margin-top:16px; }
.program-detail-grid { display:grid; grid-template-columns:minmax(0,1.6fr) minmax(0,.8fr); gap:64px; align-items:start; }
.program-description { min-width:0; }
.detail-section { position:relative; padding:0 0 28px 44px; margin:0 0 28px; border-bottom:1px solid var(--line); }
.detail-number { position:absolute; top:4px; left:0; font-size:12px; color:#0876bc; font-weight:750; }
.detail-section h2 { font-size:23px; margin:0 0 16px; line-height:1.25; }
.detail-section p { font-size:15px; line-height:1.8; margin:0 0 14px; color:var(--ink-soft); }
.detail-section a { color:#0876bc; text-decoration:underline; text-underline-offset:3px; }
.program-summary { position:sticky; top:110px; display:block; min-width:0; padding:30px; background:linear-gradient(150deg,#edf7ff,#f7fafc); border-color:#c7dfef; }
.program-summary h2 { font-size:40px; line-height:1; margin:0 0 8px; }
.summary-caption { font-size:12px; color:var(--ink-soft); margin:0 0 26px; }
.program-summary dl { display:block; margin:0 0 24px; }
.program-summary dd { font-size:14px; line-height:1.65; font-weight:600; }
.program-summary .button { width:100%; }
.program-summary > .text-link { display:block; text-align:center; margin-top:18px; font-size:14px; }
.course-copy h1 { font-size:48px; line-height:1.1; }
.course-hero-grid > img { height:390px; border-radius:24px; }
.course-facts { margin-top:26px; box-shadow:none; }
.course-facts div:last-child { background:#087fc9; }
.course-content-grid { gap:64px; }
.prose h2 { font-size:34px; }
.audience-card { padding:28px; }
.audience-card h2 { font-size:23px; }
/* Trust and business information. */
.benefit-grid { border:0; gap:24px; }
.benefit-grid article { min-height:230px; border:0; border-top:1px solid #cbdce7; background:transparent; padding:24px 8px 0 0; }
.benefit-grid article > span { margin-bottom:30px; }
.benefit-grid h3 { font-size:19px; line-height:1.3; }
.benefit-grid p { font-size:14px; line-height:1.75; }
.trust-grid { grid-template-columns:minmax(0,1.4fr) minmax(0,.8fr); gap:84px; }
.trust-copy h2 { font-size:40px; line-height:1.16; }
.trust-copy .lead { font-size:18px; }
.trust-copy > p:not(.eyebrow) { max-width:580px; line-height:1.8; }
.teacher-card { min-height:420px; border-radius:22px; }
.teacher-card img { object-position:center 29%; }
.teacher-card span { font-size:10px; padding:7px 10px; }
.consultation { background:radial-gradient(ellipse at 0 0,#153f60,transparent 70%),#142b40; }
.consultation-grid { gap:70px; grid-template-columns:minmax(0,.85fr) minmax(0,1fr); }
.consultation h2 { font-size:40px; line-height:1.15; }
.consultation-grid > div:first-child > p:not(.eyebrow) { font-size:16px; line-height:1.7; }
.form-card { padding:30px; box-shadow:none; }
.field input,.field textarea { background:#f7f9fb; }
.form-actions { flex-wrap:wrap; }
.form-status { flex:1 1 180px; }
.about-grid { grid-template-columns:minmax(0,1.6fr) minmax(0,.8fr); gap:40px; }
.teacher-profile { grid-template-columns:minmax(0,.8fr) minmax(0,1fr); gap:30px; }
.teacher-photo,.teacher-photo img { min-height:360px; height:360px; }
.teacher-profile h2 { font-size:30px; line-height:1.17; }
.teacher-profile .lead { font-size:17px; }
.teacher-profile p { font-size:14px; line-height:1.75; }
.requisites-card { display:block; min-width:0; padding:28px; }
.requisites-card dl { display:block; }
.requisites-card .button { font-size:13px; }
.document-grid { display:block; }
.documents-group { margin-bottom:40px; }
.documents-group:last-child { margin-bottom:0; }
.documents-group-heading { display:flex; gap:16px; align-items:baseline; margin-bottom:20px; }
.documents-group-heading > span { font-size:12px; font-weight:750; color:#0876bc; }
.documents-group-heading h2 { font-size:25px; margin:0; }
.document-list { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
.document-card { min-height:160px; padding:24px; border-radius:16px; }
.document-card:hover { transform:none; }
.document-type { background:transparent; padding:0; border-radius:0; color:#0876bc; font-size:11px; margin-bottom:14px; }
.document-card h2 { font-size:18px; line-height:1.4; font-weight:650; }
.document-open { font-size:12px; margin-top:18px; color:var(--ink-soft); }
.schedule-line { margin-top:40px; }
.contact-card { min-height:215px; border-radius:18px; padding:28px; }
.contact-card strong { font-size:30px; line-height:1.2; overflow-wrap:anywhere; }
.contact-card-primary { background:#087fc9; }
.contact-card:hover { transform:none; }
.contact-card-wide strong { font-size:24px; line-height:1.4; }
.contact-note { flex-direction:column; justify-content:center; align-items:flex-start; gap:18px; background:#f1f8f5; }
.contact-note strong { font-size:24px; }
.vacancy-card { padding:44px; }
.vacancy-card h2 { font-size:36px; }
.organization-heading { max-width:920px !important; }
.organization-layout { display:grid; grid-template-columns:240px minmax(0,1fr); gap:60px; align-items:start; }
.organization-nav { position:sticky; top:115px; border:1px solid var(--line); border-radius:16px; padding:24px 20px; background:#f8fafc; }
.organization-nav .eyebrow { font-size:10px; margin-bottom:18px; }
.organization-nav a { display:flex; gap:10px; align-items:baseline; padding:10px 0; font-size:13px; line-height:1.45; border-bottom:1px solid var(--line); }
.organization-nav a:last-child { border-bottom:0; }
.organization-nav a:hover { color:#0876bc; }
.organization-nav a span { color:#0876bc; font-size:10px; }
.organization-body { min-width:0; }
.organization-body > section { scroll-margin-top:120px; padding-bottom:36px; margin-bottom:36px; border-bottom:1px solid var(--line); }
.organization-body h2 { font-size:28px; margin-bottom:24px; }
.organization-body h3 { font-size:20px; }
.organization-body p,.organization-body li { font-size:15px; line-height:1.8; }
.organization-body a { color:#0876bc; text-decoration:underline; text-underline-offset:3px; }
.organization-body ul { padding-left:20px; }
.organization-data { margin:0; }
.organization-data div { display:grid; grid-template-columns:170px minmax(0,1fr); gap:24px; padding:16px 0; border-bottom:1px solid var(--line); font-size:14px; line-height:1.7; }
.organization-data dt { color:var(--ink-soft); }
.organization-data dd { margin:0; overflow-wrap:anywhere; }
.organization-programs li { padding-bottom:16px; }
.organization-programs span { display:block; color:var(--ink-soft); font-size:12px; }
.site-footer { padding:52px 0 24px; background:#f8fafc; }
.footer-grid { grid-template-columns:1.05fr .8fr 1.1fr 1.25fr; gap:36px; }
.footer-brand img { width:132px; height:auto; }
.footer-brand p { font-size:12px; max-width:210px; }
.footer-grid h2 { font-size:11px; letter-spacing:.1em; }
.footer-grid a { font-size:13px; line-height:1.65; }
.footer-bottom { margin-top:36px; padding-top:22px; font-size:11px; }
.error-page h1 { font-size:48px; }
/* Intermediate sizes have their own composition, rather than squeezed desktop blocks. */
@media (max-width:1100px) {
 .hero-grid { grid-template-columns:1fr 1fr; gap:32px; }
 .hero-copy h1 { font-size:40px; }
 .hero-media,.hero-media > img { height:450px; min-height:450px; }
 .hero-lead { font-size:16px; }
 .study-grid-home { gap:14px; }
 .study-card { padding:22px; }
 .study-grid-home .study-card h3 { font-size:20px; }
 .study-type { max-width:150px; font-size:10px; }
 .about-grid { grid-template-columns:1fr; }
 .teacher-profile { max-width:900px; grid-template-columns:280px minmax(0,1fr); }
 .teacher-profile h2 { font-size:36px; }
 .about-grid > .requisites-card dl { display:grid; grid-template-columns:1fr 1fr; gap:0 32px; }
 .organization-layout { grid-template-columns:210px minmax(0,1fr); gap:34px; }
 .organization-data div { grid-template-columns:140px minmax(0,1fr); gap:18px; }
 .brand { margin-right:24px; }
 .main-nav a { font-size:13px; padding-inline:10px; }
}
@media (max-width:860px) {
 .header-row { height:76px; min-height:76px; }
 .brand { flex-basis:128px; width:128px; height:66px; margin-right:20px; }
 .brand img { width:128px; height:66px; }
 .main-nav { top:76px; border:0; visibility:hidden; }
 .main-nav.is-open { visibility:visible; border-bottom:1px solid var(--line); }
 .main-nav a { font-size:16px; }
 .hero-grid { grid-template-columns:1fr; gap:30px; }
 .hero-copy h1 { max-width:650px; font-size:44px; }
 .hero-lead { max-width:620px; }
 .hero-media,.hero-media > img { height:400px; min-height:400px; }
 .hero-media > img { object-position:center 46%; }
 .hero { padding:32px 0 40px; }
 .split-heading { grid-template-columns:1fr; gap:12px; }
 .study-grid-home { grid-template-columns:1fr; gap:18px; }
 .study-grid-home .study-card h3 { min-height:0; font-size:25px; }
 .study-grid-home .study-brief { min-height:0; }
 .study-card-top { margin-bottom:18px; }
 .study-type { font-size:11px; max-width:220px; }
 .study-grid-home .study-card { padding:26px; }
 .study-grid-home .study-facts { margin:18px 0 16px; }
 .study-grid-home .study-document { min-height:0; }
 .study-paths { grid-template-columns:1fr; gap:14px; }
 .page-hero-grid { grid-template-columns:1fr; gap:20px; }
 .page-hero h1 { font-size:40px; }
 .page-hero-grid > p { max-width:620px; }
 .section { padding:60px 0; }
 .trust-grid { grid-template-columns:minmax(0,1fr) 280px; gap:32px; }
 .trust-copy h2 { font-size:32px; }
 .teacher-card { min-height:360px; }
 .trust-copy .lead { font-size:16px; }
 .trust-copy > p:not(.eyebrow) { font-size:14px; }
 .consultation-grid { grid-template-columns:1fr; gap:30px; }
 .consultation h2 { max-width:520px; font-size:36px; }
 .training-steps { grid-template-columns:repeat(2,minmax(0,1fr)); gap:28px; }
 .program-detail-grid { grid-template-columns:1fr; gap:36px; }
 .program-summary { position:static; order:-1; }
 .program-summary dl { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; }
 .program-summary dl div { border:0; padding:0; }
 .program-summary .button { max-width:320px; }
 .program-summary > .text-link { text-align:left; }
 .course-content-grid { grid-template-columns:1fr; gap:30px; }
 .organization-layout { grid-template-columns:1fr; gap:32px; }
 .organization-nav { position:static; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:0 22px; padding:20px; }
 .organization-nav .eyebrow { grid-column:1/-1; margin-bottom:10px; }
 .footer-grid { grid-template-columns:1fr 1fr; gap:32px; }
 .footer-contacts { grid-column:auto; }
}
@media (max-width:620px) {
 html { scroll-padding-top:90px; }
 .container { width:calc(100% - 36px); }
 .header-row { height:72px; min-height:72px; }
 .brand { flex-basis:120px; width:120px; height:62px; }
 .brand img { width:120px; height:62px; }
 .main-nav { top:72px; }
 .menu-toggle { width:42px; height:42px; }
 .hero { padding:24px 0 34px; }
 .hero-copy { padding-top:8px; }
 .hero-copy h1 { font-size:34px; font-size:clamp(30px,8.7vw,40px); line-height:1.12; max-width:100%; hyphens:manual; overflow-wrap:break-word; }
 .eyebrow { font-size:10px; line-height:1.5; }
 .hero-lead { font-size:15px; line-height:1.7; }
 .hero-actions { flex-direction:row; gap:10px; }
 .hero-actions .button { flex:1 1 140px; padding-inline:14px; width:auto; font-size:13px; }
 .hero-facts { grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; margin-top:24px; padding-top:20px; }
 .hero-facts div { display:flex; gap:0; }
 .hero-facts strong { font-size:12px; }
 .hero-facts span { font-size:10px; }
 .hero-media,.hero-media > img { height:290px; min-height:290px; }
 .hero-media > img { border-radius:18px; }
 .license-card { bottom:12px; right:12px; left:12px; max-width:none; padding:12px; gap:10px; }
 .license-card strong { font-size:12px; }
 .license-card small { font-size:11px; }
 .license-icon { width:30px; height:30px; flex-basis:30px; }
 .section { padding:48px 0; }
 h2,.section-heading h2 { font-size:29px; line-height:1.18; }
 .section-heading { margin-bottom:24px; }
 .split-heading > p { font-size:14px; }
 .study-grid-catalog { grid-template-columns:1fr; }
 .study-card,.study-grid-home .study-card { padding:22px; border-radius:16px; }
 .study-grid-home .study-card h3,.study-grid-catalog .study-card h2 { min-height:0; font-size:23px; line-height:1.24; }
 .study-grid-home .study-brief,.study-brief { min-height:0; font-size:13px; }
 .study-document { min-height:0; font-size:12px; }
 .study-facts { margin-top:18px; gap:18px; padding:17px 0; }
 .study-facts strong { font-size:28px; }
 .study-facts small { font-size:10px; }
 .study-details { margin-bottom:18px; }
 .study-bottom { font-size:11px; }
 .study-paths a { padding:20px; }
 .study-paths strong { font-size:16px; }
 .study-paths span { font-size:10px; }
 .page-hero { padding:34px 0; }
 .page-hero h1,.program-detail-hero h1 { font-size:32px; line-height:1.15; }
 .page-hero-grid > p { font-size:14px; }
 .page-hero + .section { padding-top:32px; }
 .catalog-label { align-items:flex-start; flex-direction:column; gap:8px; margin-bottom:22px; }
 .catalog-label h2 { font-size:22px; }
 .catalog-label > span { font-size:12px; }
 .notice-card { padding:20px; gap:14px; margin-top:24px; }
 .notice-card > div { width:36px; height:36px; }
 .notice-card .button { width:100%; }
 .regulatory-note { padding:22px; margin-top:32px; }
 .regulatory-note h2 { font-size:24px; }
 .regulatory-note > p:last-child { font-size:13px; }
 .program-reading > h2 { font-size:29px; }
 .training-steps { grid-template-columns:1fr; gap:24px; }
 .training-steps li { padding-top:16px; }
 .training-steps li::before { margin-bottom:12px; }
 .training-steps h3 { font-size:19px; }
 .benefit-grid { grid-template-columns:1fr 1fr; gap:22px 16px; }
 .benefit-grid article { padding-top:18px; min-height:0; }
 .benefit-grid article > span { margin-bottom:20px; font-size:11px; }
 .benefit-grid h3 { font-size:17px; }
 .benefit-grid p { font-size:12px; line-height:1.75; }
 .trust-grid { grid-template-columns:1fr; gap:28px; }
 .trust-copy h2 { font-size:32px; }
 .teacher-card { min-height:380px; max-width:360px; width:100%; margin-inline:auto; }
 .consultation h2 { font-size:32px; }
 .consultation-grid { gap:26px; }
 .form-card { padding:22px; border-radius:16px; }
 .form-status { flex:auto; }
 .field input,.field textarea { font-size:16px; }
 .program-lead { font-size:15px; line-height:1.65; }
 .program-summary { padding:24px; }
 .program-summary h2 { font-size:36px; }
 .program-summary dl { display:block; }
 .program-summary dl div { padding:12px 0; border-bottom:1px solid var(--line); }
 .program-summary .button { max-width:none; }
 .detail-section { padding-left:30px; padding-bottom:22px; margin-bottom:24px; }
 .detail-section h2 { font-size:23px; }
 .detail-number { font-size:10px; }
 .detail-section p { font-size:14px; }
 .course-copy h1 { font-size:36px; }
 .course-hero-grid > img { height:290px; }
 .course-facts { border-radius:14px; }
 .course-facts div { padding:16px; }
 .course-facts strong { font-size:13px; }
 .course-facts span { font-size:10px; }
 .prose h2 { font-size:29px; }
 .teacher-profile { grid-template-columns:1fr; gap:26px; }
 .teacher-photo,.teacher-photo img { height:380px; min-height:380px; }
 .teacher-photo { max-width:340px; width:100%; }
 .teacher-profile h2 { font-size:31px; }
 .about-grid > .requisites-card dl { display:block; }
 .requisites-card { padding:24px; }
 .document-list { grid-template-columns:1fr; gap:12px; }
 .documents-group-heading h2 { font-size:23px; }
 .document-card { min-height:145px; padding:22px; }
 .document-card h2 { font-size:18px; }
 .schedule-line { grid-template-columns:1fr; gap:12px; }
 .contact-card { min-height:190px; padding:24px; }
 .contact-card strong { font-size:25px; }
 .contact-card-wide strong { font-size:22px; }
 .contact-note { padding:24px; gap:12px; }
 .contact-note strong { font-size:22px; }
 .vacancy-card { padding:28px; }
 .vacancy-card h2 { font-size:29px; }
 .organization-nav { grid-template-columns:1fr; padding:20px; }
 .organization-body h2 { font-size:26px; }
 .organization-body p,.organization-body li { font-size:14px; }
 .organization-data div { grid-template-columns:1fr; gap:4px; font-size:14px; }
 .organization-data dt { font-size:12px; }
 .footer-grid { grid-template-columns:1fr 1fr; gap:30px 22px; }
 .footer-brand,.footer-contacts { grid-column:1/-1; }
 .footer-brand { display:flex; align-items:center; gap:22px; }
 .footer-brand img { width:112px; }
 .footer-brand p { margin:0; font-size:11px; max-width:170px; }
 .footer-grid a { font-size:12px; }
 .footer-bottom { gap:12px; align-items:flex-start; }
 .error-page h1 { font-size:36px; }
}
@media (prefers-reduced-motion:reduce) {
 html { scroll-behavior:auto; }
 *,*::before,*::after { transition:none !important; animation:none !important; }
}
/* Explicit shrink boundaries also protect narrow WebViews and long Russian words. */
.hero-copy,.hero-media,.consultation-grid > div,.trust-grid > div,.page-hero-grid > div { min-width:0; max-width:100%; }
.hero-lead { width:100%; }
.hero-emphasis { overflow-wrap:break-word; }
.study-facts { align-items:start; }
.study-facts > div { min-width:0; }
.study-document { display:block; }
.study-document > span { margin-right:7px; }
.license-card strong,.license-card small { display:block; }
.form-card { min-width:0; }
.lead-form > * { min-width:0; }
@media (max-width:860px) { .hero-grid,.program-detail-grid,.consultation-grid,.page-hero-grid,.course-content-grid { grid-template-columns:minmax(0,1fr); } }
@media (max-width:620px) { .study-grid-home,.study-grid-catalog,.study-paths,.document-list,.teacher-profile,.organization-layout,.organization-nav { grid-template-columns:minmax(0,1fr); } }
.study-facts { display:flex; }
.study-facts > div { flex:1 1 0; display:block; }
.study-facts strong,.study-facts small { display:block; }
.study-facts small { margin-top:5px; }
.catalog-label h2 { flex:1; }
.documents-group-heading h2 { flex:1; }
@media (max-width:860px) {
 .menu-toggle { display:flex; flex-direction:column; justify-content:center; align-items:center; }
 .menu-toggle > span:not(.sr-only) { flex:none; margin:2px auto; }
 .organization-nav { display:block; }
 .organization-nav a { display:block; }
 .organization-nav a > span { display:inline-block; width:25px; }
}
@media (max-width:620px) {
 .hero-copy h1 { font-size:31px; font-size:clamp(27px,8vw,34px); }
 .footer-grid { grid-template-areas:'brand brand' 'learn center' 'contact contact'; }
 .footer-brand { grid-area:brand; }
 .footer-grid > div:nth-child(2) { grid-area:learn; }
 .footer-grid > div:nth-child(3) { grid-area:center; }
 .footer-contacts { grid-area:contact; }
}
.study-details-body h3 { margin:16px 0 7px; font-size:13px; line-height:1.5; letter-spacing:0; min-height:0 !important; }
.footer-grid > div { min-width:0; max-width:100%; }
.footer-grid a { overflow-wrap:anywhere; }
@media (max-width:620px) { .footer-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width:620px) {
 .footer-grid { display:flex; flex-wrap:wrap; gap:28px 22px; }
 .footer-grid > div { flex:1 1 0; width:0; }
 .footer-grid > .footer-brand,.footer-grid > .footer-contacts { flex:1 0 100%; width:100%; }
 .footer-grid > div:not(.footer-brand) { display:block; }
 .footer-grid a { display:block; margin-bottom:10px; }
 .notice-card { display:flex; flex-wrap:wrap; align-items:flex-start; }
 .notice-card > div { flex:0 0 36px; }
 .notice-card > p { flex:1 1 160px; min-width:0; }
 .notice-card > .button { flex:1 0 100%; }
 .course-copy h1,.vacancy-card h2 { overflow-wrap:anywhere; hyphens:manual; }
}
@media (max-width:380px) { .benefit-grid { grid-template-columns:minmax(0,1fr); } }
@media (max-width:620px) {
 .footer-grid { display:block; }
 .footer-grid > div { width:auto; margin-bottom:28px; }
 .footer-grid > .footer-brand { display:flex; width:100%; }
 .footer-grid > div:nth-child(2),.footer-grid > div:nth-child(3) { display:inline-block; vertical-align:top; width:45%; margin-bottom:24px; }
 .footer-grid > div:nth-child(3) { margin-left:8%; }
 .footer-grid > .footer-contacts { display:block; width:100%; margin-bottom:0; }
}
.study-grid-home .study-card { padding:24px; }
.study-grid-home .study-card-top { margin-bottom:18px; }
.study-grid-home .study-brief { min-height:45px; }
.study-grid-home .study-facts { margin:18px 0 14px; padding:14px 0; }
.study-grid-home .study-document { margin-bottom:8px; }
.study-grid-home .study-details { margin-bottom:14px; }
@media (max-width:860px) { .study-grid-home .study-brief { min-height:0; } }
@media (max-width:620px) { .study-grid-home .study-card { padding:22px; } }
.license-card > span:last-child { display:block; }
.license-card strong { margin-bottom:3px; }
.license-card small { margin-top:0; }
.menu-toggle { color:var(--ink); }
.menu-toggle svg { flex:none; }
.menu-toggle .menu-close { display:none; }
.menu-toggle[aria-expanded='true'] .menu-lines { display:none; }
.menu-toggle[aria-expanded='true'] .menu-close { display:block; }
