/* tokens */
:root {
  --cyan: #00aaff;
  --blue: #1e4bd2;
  --retail: #0a2896;
  --navy: #061b45;
  --ink: #0b1630;
  --muted: #5b6b86;
  --line: #d7e2f0;
  --soft: #f4f8fd;
  --white: #ffffff;
  --black: #000000;
  --soon: #916100;
  --soon-bg: #fff3d8;
  --grad: linear-gradient(90deg, #a3b5e2 0%, #1e4bd2 100%);
  --grad-hero: linear-gradient(90deg, #a3b5e2 0%, #6a86dc 42%, #2f5ad4 78%, #1e4bd2 100%);
  --grad-brand: linear-gradient(90deg, #a3b5e2 0%, #6a86dc 42%, #2f5ad4 78%, #1e4bd2 100%);
  --shadow: 0 24px 60px rgba(10, 40, 150, 0.12);
  --r: 24px;
  --r-sm: 12px;
  --r-ctrl: 12px;
  --max: 1220px;
  --header: 80px;
  --font: 'VTB Group', 'Golos Text', 'Inter', 'Segoe UI', sans-serif;
  --font-light: 'VTB Group', 'Golos Text', 'Inter', 'Segoe UI', sans-serif;
}

html.a11y {
  --ink: #000000;
  --muted: #222222;
  --line: #000000;
  --soft: #ffffff;
  --cyan: #005a8c;
  --blue: #003399;
  --retail: #001a66;
  --navy: #000000;
  --grad: none;
  --grad-hero: #000000;
  --grad-brand: #000000;
  --shadow: none;
}

/* fonts */
@font-face {
  font-family: 'VTB Group';
  src: local('VTB Group Light'),
       url('/local/templates/vtb_edu/fonts/VTBGroup-Light.woff2') format('woff2'),
       url('/local/templates/vtb_edu/fonts/VTBGroup-Light.woff') format('woff');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'VTB Group';
  src: local('VTB Group Book'),
       url('/local/templates/vtb_edu/fonts/VTBGroup-Book.woff2') format('woff2'),
       url('/local/templates/vtb_edu/fonts/VTBGroup-Book.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
/* 500–700 не объявляем отдельным @font-face на Book —
   иначе font-weight:700 выглядит как обычный текст без синтеза жирного */

/* template */

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
html, body, #root { min-height: 100%; max-width: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.5;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, video, iframe, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -0.03em; line-height: 1.08; }
p { margin: 0; }

.wrap { width: min(var(--max), calc(100% - 48px)); max-width: 100%; margin: 0 auto; min-width: 0; }
.page { padding-top: var(--header); overflow-x: clip; }
.soft { background: var(--soft); }
.section { padding: 96px 0; }
.ey {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 16px;
}
.lead { font-size: 20px; max-width: 760px; color: var(--muted); font-weight: 300; }
.h1 { font-size: clamp(44px, 6.4vw, 80px); letter-spacing: -0.04em; }
.h2 { font-size: clamp(32px, 4.2vw, 52px); margin-bottom: 16px; }
.h3 { font-size: 22px; margin-bottom: 10px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 20px;
  border-radius: var(--r-ctrl);
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
  border: 1px solid transparent;
  transition: transform .2s, background .2s, color .2s, border-color .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--retail); }
.btn-light { background: #fff; color: var(--retail); }
.btn-ghost { border-color: rgba(255,255,255,.45); color: #fff; background: transparent; }
.btn-line { background: #fff; color: var(--retail); border-color: var(--line); }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 26px;
}
.card p { color: var(--muted); }

.grid2, .grid3, .grid4 { display: grid; gap: 18px; }
.grid2 { grid-template-columns: repeat(2, 1fr); }
.grid3 { grid-template-columns: repeat(3, 1fr); }
.grid4 { grid-template-columns: repeat(4, 1fr); }

.tag {
  display: inline-flex;
  padding: 6px 12px;
  border-radius: 999px;
  background: #edf5ff;
  color: var(--blue);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
}
.tag.soon { background: var(--soon-bg); color: var(--soon); }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  height: var(--header);
  display: flex;
  align-items: center;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.header-in {
  width: calc(100% - 48px);
  max-width: 1600px;
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-width: 0;
  container-type: inline-size;
}
.logo {
  display: flex;
  align-items: center;
  flex: 0 1 auto;
  min-width: 0;
  height: 28px;
  max-width: min(200px, 58vw);
}
.logo img { height: 28px; width: auto; max-width: 100%; display: block; }
.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 0 auto;
  gap: 18px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  flex-wrap: nowrap;
}
.nav-links a {
  display: inline-flex;
  align-items: center;
  height: 28px;
  color: #1a2b4a;
  white-space: nowrap;
  flex: 0 0 auto;
}
.nav-links a:hover, .nav-links a.active { color: var(--blue); }
.header-acts {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 16px;
}
.a11y-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 28px;
  border: 0;
  background: none;
  color: var(--retail);
  font-weight: 600;
  font-size: 13px;
  line-height: 1;
  white-space: nowrap;
  padding: 0;
  flex: 0 0 auto;
}
.a11y-btn i {
  width: 14px;
  height: 14px;
  border: 2px solid currentColor;
  border-radius: 50%;
  display: block;
  flex: 0 0 auto;
  position: relative;
}
.a11y-btn i:after {
  content: '';
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: currentColor;
}
.header-acts .btn {
  height: 44px;
  min-height: 44px;
  padding: 0 18px;
  white-space: nowrap;
  line-height: 1;
}
.burger {
  display: none;
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  padding: 10px 8px;
  position: relative;
  flex-direction: column;
  justify-content: space-between;
}
.burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--retail);
  border-radius: 2px;
  transition: transform .2s, opacity .2s;
}
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(6, 27, 69, .45);
  z-index: 50;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s;
}
.nav-backdrop.open { opacity: 1; pointer-events: auto; }

.sidebar-nav {
  position: fixed;
  top: var(--header);
  left: 0;
  bottom: 0;
  width: min(320px, 88vw);
  background: #fff;
  z-index: 55;
  display: flex;
  flex-direction: column;
  padding: 16px 12px 24px;
  transform: translateX(-105%);
  transition: transform .28s ease;
  box-shadow: 12px 0 40px rgba(8, 36, 82, .12);
  pointer-events: none;
}
.sidebar-nav.open { transform: translateX(0); pointer-events: auto; }
.sidebar-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  overflow: auto;
}
.sidebar-links a {
  color: var(--blue);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
  padding: 12px 14px;
  border-radius: 10px;
}
.sidebar-links a:hover,
.sidebar-links a.active {
  background: #eef3ff;
}
.sidebar-foot {
  display: grid;
  gap: 14px;
  padding: 18px 6px 0;
  border-top: 1px solid var(--line);
  margin-top: 16px;
}
.sidebar-foot .a11y-btn { height: auto; }
.sidebar-foot .btn { width: 100%; }
.sidebar-mail {
  color: var(--blue);
  font-size: 14px;
  font-weight: 500;
  padding: 0 4px;
}

.hero { position: relative; overflow: hidden; color: #fff; background: var(--grad-brand); }
.slides { position: relative; min-height: 720px; }
.slide-bg, .slide-fg {
  position: absolute; inset: 0;
  opacity: 0; visibility: hidden;
  transition: opacity .55s, visibility .55s;
}
.slide-bg { z-index: 0; }
.slide-fg {
  z-index: 3;
  display: flex; align-items: center;
  pointer-events: none;
}
.slide-bg.active, .slide-fg.active { opacity: 1; visibility: visible; }
.slide-fg.active { pointer-events: auto; }
.slide-blue,
.slide-deep,
.slide-violet { background: var(--grad-brand); }
.slide-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 48px; align-items: center; width: min(var(--max), calc(100% - 48px)); max-width: 100%; margin: 0 auto; min-width: 0; }
.slide-fg .ey { color: #bfe4ff; }
.slide-fg .lead { color: #dce9ff; }
.acts { display: flex; gap: 12px; flex-wrap: nowrap; margin-top: 32px; }
.hero .acts .btn {
  flex: 1 1 0;
  min-width: 0;
  white-space: nowrap;
}
.art {
  height: 430px; border-radius: 32px;
  background: var(--grad-brand);
  display: flex; align-items: flex-end; padding: 28px;
  box-shadow: 0 30px 70px rgba(30, 75, 210, .22);
  position: relative; overflow: hidden;
}
.art-slot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  background: transparent;
}
.art:has(.art-slot) {
  background: transparent;
  box-shadow: none;
}
.art .brand-pattern {
  position: absolute; inset: -12% -8%;
  width: 116%; height: 124%;
  pointer-events: none;
}
.art:before {
  content: '';
  position: absolute; inset: -20%;
  background: radial-gradient(circle at 30% 20%, rgba(255,255,255,.28), transparent 36%);
}
.art .art-caption {
  position: relative;
  background: rgba(6,27,69,.8);
  padding: 16px 18px; border-radius: 16px; font-weight: 600;
  z-index: 2;
  max-width: calc(100% - 8px);
}
.hero-lines { z-index: 2; }
.carousel-nav, .controls {
  position: absolute;
  left: max(24px, calc((100% - var(--max)) / 2));
  bottom: 36px;
  display: flex;
  gap: 16px;
  align-items: center;
  z-index: 5;
}
.carousel-count {
  min-width: 72px;
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #fff;
}
.carousel-count i { font-style: normal; opacity: .55; font-weight: 500; }
.arr {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.7);
  background: rgba(255,255,255,.08);
  color: #fff;
  display: grid;
  place-items: center;
  padding: 0;
  backdrop-filter: blur(8px);
}
.arr:hover { background: #fff; color: var(--retail); }

.two { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: stretch; }
.photo {
  position: relative;
  min-height: 440px;
  border-radius: var(--r); overflow: hidden;
  background: #fff;
}
.photo img { width: 100%; height: 118%; object-fit: cover; object-position: center top; min-height: 520px; margin-top: -6%; display: block; }
.photo-wide {
  aspect-ratio: 3 / 2;
  min-height: 0;
  background: #eef4ff;
}
.photo-wide img {
  width: 100%;
  height: 100%;
  min-height: 0;
  margin-top: 0;
  object-fit: contain;
  object-position: center;
}
.size-slot {
  display: none;
}
.media-size {
  position: absolute;
  top: 16px;
  left: 16px;
  right: auto;
  bottom: auto;
  z-index: 4;
  padding: 6px 10px;
  border-radius: 8px;
  background: rgba(6, 27, 69, .82);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .02em;
  line-height: 1.2;
  pointer-events: none;
  margin: 0;
  align-self: flex-start;
}
.art .media-size,
.photo .media-size,
.program-cover .media-size,
.news-cover .media-size,
.corp-visual .media-size,
.logo-ph .media-size,
.media-slide .media-size {
  position: absolute;
  top: 16px;
  left: 16px;
  bottom: auto;
}
.photo-empty {
  background: var(--grad-brand);
  min-height: 440px;
}
.logo-ph { position: relative; }
.program-cover, .news-cover { position: relative; }
.quote {
  position: relative;
  overflow: hidden;
  background: var(--grad-brand);
  color: #fff; border-radius: var(--r);
  padding: 48px; display: flex; flex-direction: column; justify-content: center;
}
.quote > *:not(.waves) { position: relative; z-index: 1; }
.quote p { font-size: 32px; line-height: 1.28; font-weight: 500; letter-spacing: -0.03em; }
.quote .who { margin-top: 28px; color: #b8d8ff; }

.program-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 34px; }
.programs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.program-card {
  background: #fff;
  border-radius: 28px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(215, 226, 240, .8);
  box-shadow: 0 18px 44px rgba(8, 36, 82, .07);
}
.program-cover {
  position: relative;
  height: 200px;
  display: flex;
  align-items: flex-end;
  padding: 22px 24px;
  color: #fff;
  overflow: hidden;
}
.program-card.blue .program-cover,
.program-card.violet .program-cover,
.program-card.teal .program-cover,
.program-card.rose .program-cover {
  background: var(--grad-brand);
}
.program-cover-waves,
.brand-pattern {
  position: absolute;
  inset: -10% -8%;
  width: 116%;
  height: 120%;
  pointer-events: none;
}
.program-cover h3 {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: 30px;
  letter-spacing: -0.03em;
  line-height: 1.1;
  max-width: 16ch;
}
.program-body {
  padding: 22px 24px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 14px;
}
.program-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.program-hook {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0;
}
.program-desc {
  color: var(--muted);
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
}
.program-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(108px, 1fr));
  gap: 12px;
  padding: 14px 0;
  margin-top: auto;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.program-meta small {
  display: block;
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}
.program-meta b { font-size: 14px; font-weight: 600; color: var(--ink); }
.program-price b { color: var(--blue); font-size: 16px; }
.program-price-note {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  color: var(--muted);
}
.program-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue);
  font-weight: 600;
  padding-top: 4px;
}
.program-cta:hover { color: var(--retail); }
.program-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  padding-top: 4px;
}
.program-cta-pay { color: var(--ink); }
.more { margin-top: auto; padding-top: 16px; color: var(--blue); font-weight: 600; }
.help {
  position: relative;
  overflow: hidden;
  margin-top: 24px;
  padding: 32px 36px;
  border-radius: 22px;
  background: var(--grad-brand);
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.help > *:not(.waves) { position: relative; z-index: 1; }
.help h3 { font-size: 28px; letter-spacing: -0.03em; }
.help p { margin: 10px 0 0; color: #d8e8ff; max-width: 520px; }

.why-box {
  background: linear-gradient(135deg, #f1f7ff, #fff);
  border: 1px solid var(--line); border-radius: 30px; padding: 50px;
}
.why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 30px; }
.pill { background: #eef3ff; border: 0; border-radius: 20px; padding: 22px; min-height: 180px; }
.icon {
  width: 48px; height: 48px;
  display: grid; place-items: center; margin-bottom: 18px;
}
.icon svg { display: block; }
.audience-card .icon, .approach-card .icon { margin-bottom: 16px; }
.approach-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.approach-num {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.04em;
  color: var(--blue);
  opacity: .45;
}

.corp { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; background: var(--grad-brand); color: #fff; border-radius: 30px; overflow: hidden; }
.corp > *:not(.waves) { position: relative; z-index: 1; }
.corpc { padding: 52px; }
.corpc p { color: #d8e8ff; margin: 12px 0; }
.corpp, .corp-visual {
  position: relative;
  overflow: hidden;
  min-height: 430px;
  background: #061b45;
  display: grid; place-items: stretch; color: #fff; font-weight: 600; text-align: center;
}
.media-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity .4s, visibility .4s;
}
.media-slide.active { opacity: 1; visibility: visible; z-index: 1; }
.media-slide img,
.media-slide iframe {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  border: 0;
  display: block;
  background: #061b45;
}
.media-nav {
  position: absolute;
  left: 16px;
  bottom: 16px;
  display: flex;
  gap: 10px;
  align-items: center;
  z-index: 3;
}
.logo-ph-img {
  background: #000;
  padding: 18px 22px;
  min-height: 120px;
}
.logo-ph-img img {
  max-height: 72px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}
.letter-brand {
  margin: 0 0 20px;
  background: transparent;
  border-radius: 0;
  padding: 0;
  display: inline-flex;
  align-items: center;
  max-width: 100%;
}
.letter-brand img { height: 56px; width: auto; max-width: min(240px, 100%); object-fit: contain; }
.corpp .brand-pattern, .corp-visual .brand-pattern {
  inset: -8%;
  width: 116%;
  height: 116%;
}
.corpp .art-caption, .corp-visual .art-caption { position: relative; z-index: 1; }
.corp-visual { position: relative; min-height: 320px; border: 0; color: #fff; padding: 0; overflow: hidden; }

.results-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 34px;
  align-items: stretch;
}
.results-grid .certificate { grid-column: 1 / -1; min-height: 320px; }
.metric { position: relative; overflow: hidden; }
.metric strong { display: block; font-size: 46px; color: var(--blue); letter-spacing: -0.04em; }
.metric-scheme {
  display: block;
  width: 100%;
  height: 56px;
  margin-top: 18px;
  color: var(--blue);
  opacity: .55;
}
.metric-scheme rect { fill: currentColor; }
.logos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 24px; }
.logo-ph {
  min-height: 110px; border: 1px solid var(--line); border-radius: 20px;
  display: grid; place-items: center; font-weight: 700; color: #315784; background: #fff; text-align: center;
}
.logo-ph small { display: block; margin-top: 6px; font-weight: 500; color: #7b8ca6; }

.test { display: grid; grid-template-columns: 1fr; gap: 20px; margin-top: 34px; max-width: 680px; }
.quote2, .letter { padding: 30px; border: 1px solid var(--line); border-radius: 24px; background: #fff; }
.review-full { font-size: 18px; line-height: 1.55; margin: 0 0 18px; font-weight: 500; white-space: pre-line; }
.quote2, .letter { padding: 30px; border: 1px solid var(--line); border-radius: 24px; background: #fff; }
.quote2 blockquote { font-size: 22px; line-height: 1.45; margin: 0 0 20px; font-weight: 500; }
.avatar {
  width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--grad); color: #fff; font-weight: 600;
  margin-bottom: 18px;
}
.letter { background: linear-gradient(135deg, #eef6ff, #fff); }
.news-card {
  padding: 0; overflow: hidden;
  display: flex; flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
}
.news-cover {
  position: relative;
  height: 188px;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #fff;
  font-weight: 600;
  text-align: center;
  font-size: 13px;
  letter-spacing: .04em;
}
.news-cover.blue,
.news-cover.violet,
.news-cover.teal { background: var(--grad-brand); }
.news-cover .brand-pattern { inset: -16% -10%; }
.program-cover.has-photo {
  height: auto;
  aspect-ratio: 3 / 1;
  padding: 0;
  background: #0b2f8a !important;
}
.news-cover.has-photo {
  padding: 0;
  aspect-ratio: 2 / 1;
  background: #0b2f8a;
}
.news-cover-img,
.program-cover-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  opacity: 1;
}
.art:has(.art-slot):before {
  display: none;
}
.program-cover .brand-pattern { z-index: 0; opacity: .85; }
.news-cover-label { position: relative; z-index: 1; max-width: 18ch; }
.news-body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; gap: 8px; }
.news-body small { color: var(--muted); letter-spacing: .08em; text-transform: uppercase; font-size: 12px; }
.news-body p { color: var(--muted); }
.news-body .more { margin-top: auto; padding-top: 12px; }

.certificate {
  position: relative;
  overflow: hidden;
  min-height: 280px;
  border-radius: 24px;
  padding: 28px 32px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--grad-brand);
  box-shadow: var(--shadow);
}
.certificate .brand-pattern { inset: -18% -10%; }
.certificate-top, .certificate-main, .certificate-foot { position: relative; z-index: 1; }
.certificate-top {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.certificate-top img { height: 22px; width: auto; max-width: 140px; }
.certificate-top span {
  font-size: 12px; letter-spacing: .14em; text-transform: uppercase; opacity: .8;
}
.certificate-name {
  display: block;
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.03em;
  padding-bottom: 10px;
  margin-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,.35);
}
.certificate-main h3 { font-size: 22px; font-weight: 500; max-width: 16ch; }
.certificate-foot {
  display: flex; justify-content: space-between; gap: 16px;
  font-size: 12px; opacity: .75;
}
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 42px; align-items: center; }
.license { margin-top: 28px; padding: 20px; border: 1px solid var(--line); border-radius: 18px; background: var(--soft); }
.contacts-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1.1fr);
  gap: 28px;
  align-items: stretch;
}
.contacts-card {
  padding: 28px 28px 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--soft);
}
.contacts-title { margin: 0 0 18px; }
.contacts-card p {
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 1.55;
}
.contacts-address {
  color: var(--ink) !important;
  font-size: 1.05rem;
  font-weight: 500;
}
.contacts-note {
  color: var(--ink) !important;
  font-weight: 500;
}
.contacts-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 22px;
}
.contacts-links a { color: var(--blue); }
.contacts-requisites {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.contacts-requisites p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink);
}
.legal-page { max-width: 920px; display: grid; gap: 28px; }
.legal-subnav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
}
.legal-subnav a {
  font-size: 14px;
  color: var(--muted, #66748a);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
.legal-subnav a:hover,
.legal-subnav a.active {
  color: var(--blue);
  border-bottom-color: var(--blue);
}
.legal-body,
.legal-rich {
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
}
.legal-rich h3 {
  margin: 28px 0 12px;
  font-size: 1.15rem;
}
.legal-rich p { margin: 0 0 14px; }
.legal-rich ul { margin: 0 0 16px; padding-left: 1.2em; }
.legal-rich .legal-note {
  padding: 14px 16px;
  background: #f3f7fc;
  border-radius: 12px;
}
.pay-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin: 8px 0 20px;
}
.pay-logos img {
  display: block;
  width: 72px;
  height: 48px;
  border-radius: 6px;
  box-shadow: 0 1px 2px rgba(0,0,0,.06);
}
.foot-pay {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
.foot-pay img {
  width: 54px;
  height: 36px;
  border-radius: 4px;
  opacity: .95;
}
.legal-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.legal-list a {
  display: block;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
}
.legal-list a:hover { border-color: var(--blue); color: var(--blue); }
.foot-req {
  margin: 14px 0 0;
  font-size: 13px;
  color: rgba(255, 255, 255, .85);
  line-height: 1.35;
}
.contacts-map {
  min-height: 400px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #e8eef7;
}
.contacts-map iframe { display: block; border: 0; min-height: 400px; }
.contacts-map-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
  color: var(--blue);
  font-weight: 500;
}
.community {
  position: relative;
  overflow: hidden;
  display: grid; grid-template-columns: 1fr 280px; gap: 28px; padding: 34px;
  border-radius: 28px; background: var(--grad-brand); color: #fff;
}
.community > *:not(.waves) { position: relative; z-index: 1; }
.qr {
  min-height: 220px; border-radius: 22px; background: #fff;
  display: grid; place-items: center; color: var(--retail); font-weight: 700; text-align: center;
}

.waves, .hero-lines {
  position: absolute;
  inset: -18% -12%;
  width: 124%;
  height: 136%;
  pointer-events: none;
}
.waves svg, .hero-lines svg {
  display: block;
  width: 100%;
  height: 100%;
}
.hero-lines { opacity: .55; }
.waves { opacity: .42; }
.site-footer {
  position: relative;
  overflow: hidden;
  color: #fff;
  padding: 40px 0 36px;
  min-height: 248px;
  background: var(--grad-brand);
}
.foot-waves {
  position: absolute;
  inset: -8% -4% -18% 18%;
  width: auto;
  height: auto;
  pointer-events: none;
}
.foot-waves path { vector-effect: non-scaling-stroke; }
.foot {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto 1fr auto;
  min-height: 172px;
  column-gap: 48px;
  row-gap: 0;
  align-items: start;
}
.foot-brand {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  align-items: center;
  height: 28px;
  min-width: 0;
  max-width: min(200px, 70vw);
}
.foot-brand img { height: 28px; width: auto; max-width: 100%; display: block; }
.foot-cols {
  grid-column: 2;
  grid-row: 1 / -1;
  display: flex;
  align-items: flex-start;
  gap: 88px;
}
.foot-col {
  flex: 0 1 auto;
  min-width: 0;
  max-width: 320px;
}
.foot-col-contacts {
  max-width: 360px;
}
.foot-col h3 {
  margin: 0 0 14px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
  color: #fff;
}
.foot-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.foot-col a,
.foot-copy {
  color: #fff;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.35;
}
.foot-col a:hover { opacity: .8; }
.foot-copy {
  grid-column: 1;
  grid-row: 3;
  align-self: end;
  margin: 0;
  font-size: 14px;
  opacity: .95;
}

@media (max-width: 700px) {
  .site-footer {
    padding: 28px 0 24px;
    min-height: 0;
    background: linear-gradient(165deg, #7b97e6 0%, #5476e0 46%, #2c5ad6 100%);
  }
  .foot-waves {
    inset: -28% -70% 42% -8%;
  }
  .foot {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-height: 0;
    gap: 36px;
  }
  .foot-cols {
    display: flex;
    flex-direction: column;
    gap: 28px;
    width: 100%;
  }
  .foot-col {
    max-width: none;
  }
  .foot-col h3 {
    font-size: 15px;
    margin-bottom: 12px;
  }
  .foot-col a { font-size: 15px; }
  .foot-col ul { gap: 7px; }
  .foot-copy {
    font-size: 13px;
    margin-top: 4px;
  }
}

.page-hero { position: relative; overflow: hidden; padding: 72px 0 36px; background: var(--soft); border-bottom: 1px solid var(--line); }
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero .brand-pattern { inset: -20% -8%; opacity: .55; }
.page-hero.blue, .page-hero.violet, .page-hero.teal, .page-hero.rose {
  color: #fff;
  border-bottom: 0;
  /* фиксированная высота шапки раздела — не прыгает при смене страниц */
  min-height: 280px;
  height: 280px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  padding: 0;
}
.page-hero.blue, .page-hero.violet, .page-hero.teal, .page-hero.rose { background: var(--grad-brand); }
.page-hero.blue .lead, .page-hero.violet .lead, .page-hero.teal .lead, .page-hero.rose .lead,
.page-hero.blue .ey, .page-hero.violet .ey, .page-hero.teal .ey, .page-hero.rose .ey { color: #bfe4ff; }
.page-hero .page-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .28;
  pointer-events: none;
  z-index: 0;
}
.page-hero .brand-pattern { z-index: 0; }
.page-hero .page-hero-text { max-width: 920px; position: relative; z-index: 1; }
.page-hero .page-hero-lead {
  margin: 0;
  min-height: 3.2em;
  max-width: 54ch;
}
.page-hero .h2 { margin: 0 0 12px; }
@media (max-width: 900px) {
  .page-hero.blue, .page-hero.violet, .page-hero.teal, .page-hero.rose {
    min-height: 240px;
    height: auto;
    padding: 48px 0 40px;
  }
}
.form-band {
  position: relative;
  overflow: hidden;
  color: #fff;
  padding: 88px 0;
  min-height: calc(100vh - var(--header));
  background: var(--grad-brand);
}
.form-band-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: .88fr 1.12fr;
  gap: 56px;
  align-items: start;
}
.form-band .ey { color: #9bdcff; }
.form-band-lead {
  font-size: 20px;
  max-width: 460px;
  color: #d8e8ff;
  margin-top: 16px;
}
.form-panel {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  padding: 36px;
  color: #fff;
  background: var(--grad-brand);
}
.form-panel > *:not(.waves) { position: relative; z-index: 1; }
.request-form, .pay-form { display: grid; gap: 18px; }
.pay-form-grid { margin-top: 0; }
.pay-form .form-grid label { color: var(--ink); }
.pay-form .form-grid input {
  border: 1px solid rgba(15, 28, 61, .18);
  background: #fff;
  color: var(--ink);
}
.pay-form .form-grid input::placeholder { color: rgba(15, 28, 61, .45); }
.pay-form .form-grid input:focus {
  border-color: var(--blue);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(30, 75, 210, .12);
}
.pay-form .consent { color: var(--ink); }
.pay-form .consent input {
  border-color: rgba(15, 28, 61, .25);
  background: #fff;
}
.pay-form .consent input:checked {
  border-color: var(--blue);
}
.pay-form .btn { justify-self: start; min-width: 220px; width: 100%; max-width: 360px; }
.pay-status-box { font-size: 14px; line-height: 1.5; }
.pay-status-box a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }
.request-form h3 { margin: 0; font-size: 24px; letter-spacing: -0.03em; }
.request-lead { margin: 0; color: #d8e8ff; }
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 16px;
}
.form-grid label {
  display: grid;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
}
.form-grid .full { grid-column: 1 / -1; }
.form-grid input,
.form-grid textarea,
.form-grid select {
  width: 100%;
  min-height: 52px;
  padding: 14px 16px;
  border-radius: var(--r-ctrl);
  border: 1px solid rgba(255, 255, 255, .22);
  background: rgba(255, 255, 255, .1);
  color: #fff;
  font: inherit;
  appearance: none;
}
.form-grid input::placeholder,
.form-grid textarea::placeholder { color: rgba(255, 255, 255, .55); }
.form-grid textarea { min-height: 110px; resize: vertical; }
.form-grid input:focus,
.form-grid textarea:focus,
.form-grid select:focus {
  outline: none;
  border-color: rgba(255, 255, 255, .7);
  background: rgba(255, 255, 255, .14);
}
.select-wrap { position: relative; }
.select-wrap:after {
  content: '';
  position: absolute;
  right: 16px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid rgba(255, 255, 255, .8);
  border-bottom: 2px solid rgba(255, 255, 255, .8);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}
.form-grid select {
  padding-right: 42px;
  cursor: pointer;
}
.form-grid select option { color: var(--ink); background: #fff; }
.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  font-weight: 400;
  color: rgba(255, 255, 255, .82);
  cursor: pointer;
}
.consent input {
  appearance: none;
  width: 20px;
  height: 20px;
  margin: 1px 0 0;
  flex: 0 0 auto;
  border-radius: 6px;
  border: 1.5px solid rgba(255, 255, 255, .55);
  background: rgba(255, 255, 255, .08);
  cursor: pointer;
}
.consent input:checked {
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%231e4bd2' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M3.5 8.5 L6.5 11.5 L12.5 4.5'/%3E%3C/svg%3E") center / 14px no-repeat;
  border-color: #fff;
}
.consent input:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}
.pay-offer-consent {
  margin-top: 16px;
  color: var(--ink);
  font-size: 14px;
}
.pay-offer-consent input {
  border-color: rgba(15, 28, 61, .25);
  background: #fff;
}
.pay-offer-consent input:checked {
  border-color: var(--blue);
}
.pay-offer-consent a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.payment-result .wrap { max-width: 720px; }
.payment-result__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.payment-result--ok .lead { color: var(--ink); }
.request-form .btn { justify-self: start; min-width: 220px; }
.form-error { color: #ffd0d0; margin: 0; font-size: 14px; }
.admin-login { display: grid; gap: 14px; margin-top: 24px; }
.admin-login input {
  width: 100%; min-height: 52px; padding: 12px 16px;
  border: 1px solid var(--line); border-radius: var(--r-ctrl);
}
.admin-json {
  width: 100%; min-height: 520px; margin: 24px 0 16px;
  padding: 16px; border-radius: 16px; border: 1px solid var(--line);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px; line-height: 1.45;
}
.admin-status { margin-top: 12px; color: var(--blue); font-weight: 600; }
.admin-leads { margin: 12px 0 0; padding-left: 18px; display: grid; gap: 8px; }
.ok { padding: 16px 18px; border-radius: 14px; background: #eaf5ff; color: var(--retail); font-weight: 600; }
.form-band .ok, .form-panel .ok {
  background: rgba(255, 255, 255, .12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .2);
}

.sved-list { display: grid; gap: 10px; }
.sved-list a {
  display: block; padding: 18px 20px; border: 1px solid var(--line);
  border-radius: 16px; background: #fff; font-weight: 600;
}
.sved-list a:hover, .sved-list a.active { border-color: var(--blue); color: var(--blue); }
.sved-card { display: grid; gap: 22px; align-content: start; }
.sved-acc { display: grid; gap: 10px; max-width: 920px; }
.sved-acc-item {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  overflow: hidden;
}
.sved-acc-summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  font-size: 1.15rem;
  font-weight: 700;
  font-synthesis: weight;
  color: var(--ink);
  line-height: 1.35;
}
.sved-acc-summary::-webkit-details-marker { display: none; }
.sved-acc-summary::marker { content: ''; }
.sved-acc-title,
.sved-acc-title strong {
  flex: 1;
  font-weight: 700;
  font-synthesis: weight;
  color: var(--ink);
}
.sved-acc-icon {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--line);
  position: relative;
  transition: transform .2s ease, border-color .2s, background .2s;
}
.sved-acc-icon::before,
.sved-acc-icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 1.5px;
  background: var(--blue);
  transform: translate(-50%, -50%);
}
.sved-acc-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.sved-acc-item[open] .sved-acc-icon {
  border-color: var(--blue);
  background: #eef4ff;
  transform: rotate(45deg);
}
.sved-acc-item[open] .sved-acc-summary {
  border-bottom: 1px solid var(--line);
  color: var(--blue);
}
.sved-acc-panel { padding: 8px 20px 22px; }
.sved-empty { margin: 12px 0 0; color: var(--muted); }
.sved-body {
  color: var(--ink); line-height: 1.65; font-size: .98rem;
  text-align: left; max-width: 100%; overflow-wrap: anywhere;
}
.sved-body p { margin: 0 0 12px; }
.sved-body p:last-child { margin-bottom: 0; }
.sved-body .sved-heading {
  margin: 18px 0 8px;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
}
.sved-body .sved-heading:first-child { margin-top: 0; }
.sved-body .sved-heading strong,
.sved-body strong {
  color: var(--ink);
  font-weight: 700;
}
.sved-body a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }
.sved-body a:hover { opacity: .85; }
.sved-rich { line-height: 1.65; }
.sved-rich .sved-heading {
  margin: 18px 0 8px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.4;
}
.sved-rich .sved-heading:first-child { margin-top: 0; }
.sved-rich strong { font-weight: 700; color: var(--ink); }
.sved-rich ul { margin: 8px 0 12px; padding-left: 1.2em; }
.sved-rich li { margin: 4px 0; }
.sved-rich table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: .92rem; }
.sved-rich td, .sved-rich th {
  border: 1px solid var(--line);
  padding: 8px 10px;
  vertical-align: top;
}
.sved-body h3, .sved-body .sved-doc-title {
  margin: 28px 0 14px; font-size: 1.12rem; font-weight: 700; color: var(--ink);
}
.sved-body h3:first-child, .sved-body .sved-doc-title:first-child { margin-top: 0; }
.sved-table-wrap { overflow-x: auto; margin: 16px 0 20px; -webkit-overflow-scrolling: touch; }
.sved-body table, .sved-body .sved-table {
  width: 100%; min-width: 520px; border-collapse: collapse;
  background: #fff; font-size: .92rem;
}
.sved-body th, .sved-body td {
  border: 1px solid var(--line); padding: 10px 12px;
  vertical-align: top; text-align: left; line-height: 1.45;
}
.sved-body tr:first-child td { background: var(--soft); font-weight: 600; }
.sved-body td p { margin: 0; }
.sved-files { margin-top: 8px; padding-top: 22px; border-top: 1px solid var(--line); }
.sved-files-title { margin: 0 0 16px; font-size: 1rem; color: var(--ink); }
.sved-files-group {
  margin: 18px 0 10px; font-size: .82rem; font-weight: 700; letter-spacing: .04em;
  text-transform: uppercase; color: var(--muted);
}
.sved-files-group:first-of-type { margin-top: 0; }
.sved-files-list { list-style: none; margin: 0 0 8px; padding: 0; display: grid; gap: 8px; }
.sved-files-list a {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r-sm);
  color: var(--blue); background: var(--soft);
}
.sved-files-list a:hover { border-color: var(--blue); background: #eef4ff; }
.sved-files-list a span { opacity: .7; font-size: 1.1rem; }

html.a11y body { font-size: 20px; }
html.a11y a { text-decoration: underline; }
html.a11y .hero, html.a11y .quote, html.a11y .corp, html.a11y .community, html.a11y .site-footer,
html.a11y .slide, html.a11y .slide-bg, html.a11y .program-cover, html.a11y .art,
html.a11y .form-band, html.a11y .form-panel, html.a11y .help, html.a11y .certificate,
html.a11y .news-cover, html.a11y .corpp, html.a11y .corp-visual, html.a11y .page-hero.blue,
html.a11y .page-hero.violet, html.a11y .page-hero.teal, html.a11y .page-hero.rose {
  background: #000 !important; color: #fff !important;
}
html.a11y .btn-primary { background: #000; border: 2px solid #fff; }
html.a11y .card, html.a11y .pill, html.a11y .sidebar-nav { border: 2px solid #000; }
html.a11y .site-header { background: #fff; }
html.a11y .waves, html.a11y .hero-lines,
html.a11y .waves svg, html.a11y .hero-lines svg,
html.a11y .brand-pattern { transform: none !important; }

@container (max-width: 1480px) {
  .header-acts .a11y-btn span { display: none; }
}

@media (min-width: 1281px) {
  .sidebar-nav, .nav-backdrop { display: none !important; }
}

@media (max-width: 1280px) {
  :root { --header: 64px; }
  .site-header { background: #fff; }
  .header-in { width: calc(100% - 32px); gap: 12px; }
  .nav-links, .header-cta { display: none; }
  .a11y-btn span { display: none; }
  .sidebar-foot .a11y-btn span { display: inline; }
  .burger { display: flex; }
  .foot {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-height: 0;
    gap: 32px;
  }
  .foot-cols {
    display: flex;
    flex-wrap: wrap;
    gap: 28px 40px;
    width: 100%;
  }
}

@media (max-width: 1000px) {
  .slide-grid, .two, .corp, .about-grid, .contacts-grid, .test, .community, .form-band-grid, .results-grid { grid-template-columns: 1fr; min-width: 0; }
  .art {
    height: auto;
    flex: 0 0 auto;
    width: 100%;
    aspect-ratio: 560 / 430;
    max-height: none;
    padding: 0;
    border-radius: 24px;
  }
  .corpp, .corp-visual {
    min-height: 0;
    aspect-ratio: 480 / 430;
    width: 100%;
  }
  .programs, .grid4 { grid-template-columns: 1fr 1fr; }
  .grid3, .why { grid-template-columns: 1fr 1fr; }
  .slides {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    height: auto;
    min-height: 0;
  }
  .slide-fg {
    grid-area: 1 / 1;
    position: relative;
    inset: auto;
    display: flex;
    align-items: flex-start;
    align-self: start;
    width: 100%;
    padding: 20px 0 64px;
  }
  .slide-bg {
    grid-area: 1 / 1;
    position: absolute;
    inset: 0;
    width: auto;
    height: auto;
  }
  .hero-lines {
    grid-area: 1 / 1;
    position: absolute;
    inset: 0;
  }
  .carousel-nav.controls {
    left: 16px;
    bottom: 12px;
  }
  .slide-grid { width: calc(100% - 32px); gap: 14px; align-items: stretch; }
  .slide-fg .h1 {
    min-height: 2.2em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .slide-fg .lead {
    min-height: 2.9em;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .hero .acts { margin-top: 20px; width: 100%; }
  .hero .acts .btn { padding: 0 10px; font-size: 13px; }
  .photo { min-height: 0; aspect-ratio: 3 / 4; }
  .photo img { height: 100%; min-height: 0; margin-top: 0; object-fit: contain; object-position: center top; background: #fff; }
  .photo-wide { min-height: 0; aspect-ratio: 3 / 2; }
  .photo-wide img { min-height: 0; object-fit: contain; }
  .h1 { font-size: clamp(28px, 6vw, 48px); }
  .letter { padding: 22px; }
  .review-full { font-size: 16px; line-height: 1.5; }
  .letter-brand img { height: 48px; }
}

@media (max-width: 700px) {
  .wrap { width: calc(100% - 24px); }
  .section { padding: 64px 0; }
  .header-acts .btn,
  .header-cta { display: none; }
  .programs, .grid2, .grid3, .grid4, .why, .logos, .form-grid { grid-template-columns: 1fr; }
  .help, .program-head { align-items: flex-start; flex-direction: column; }
  .quote { padding: 30px; }
  .quote p { font-size: 26px; }
  .why-box, .corpc { padding: 28px; }
  .h1 { font-size: clamp(26px, 8vw, 36px); }
  .slides {
    height: auto;
    min-height: 0;
  }
  .slide-fg {
    padding: 16px 0 56px;
  }
  .art {
    height: auto;
    flex: 0 0 auto;
    aspect-ratio: 560 / 430;
    max-height: none;
    width: 100%;
    padding: 0;
    border-radius: 20px;
  }
  .corpp, .corp-visual {
    min-height: 0;
    aspect-ratio: 480 / 430;
  }
  .program-cover.has-photo { aspect-ratio: 3 / 1; }
  .hero .acts { gap: 8px; margin-top: 14px; }
  .hero .acts .btn { font-size: 12px; padding: 0 8px; min-height: 44px; }
  .carousel-nav, .controls { left: 16px; bottom: 10px; }
  .request-form .btn { min-width: 0; width: 100%; }
  .sved-body table, .sved-body .sved-table { min-width: 480px; }
  .test { max-width: 100%; }
  .letter { padding: 18px; border-radius: 18px; }
  .review-full { font-size: 15px; margin-bottom: 14px; }
  .letter-brand { margin-bottom: 14px; }
  .letter-brand img { height: 44px; max-width: 180px; }
}

#panel, #bx-panel { z-index: 10000; max-width: 100%; overflow-x: auto; }
.bx-breadcrumb { display: none; }
.hero .controls button.arr,
.carousel-nav button.arr { cursor: pointer; }
.hero .controls { pointer-events: auto; }

.lk-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.lk-email { color: var(--muted); font-weight: 500; }
.lk-programs {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.lk-programs li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  flex-wrap: wrap;
}
.lk-programs b { display: block; font-size: 18px; letter-spacing: -0.02em; }
.lk-programs small { display: block; margin-top: 6px; color: var(--muted); }
.lk-form {
  display: grid;
  gap: 16px;
  padding: 28px;
}
.lk-form label {
  display: grid;
  gap: 8px;
  font-weight: 600;
  color: var(--ink);
}
.lk-form input {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0 14px;
  font: inherit;
}
.lk-form .btn { justify-self: start; min-width: 180px; }
.lk-links { margin: 0; }
.lk-links a { color: var(--retail); font-weight: 600; }
.lk-error { margin: 0; color: #b42318; font-weight: 600; }
.lk-ok { margin: 0; color: #027a48; font-weight: 600; }
