:root {
  --c-teal: #0d9b8a;
  --c-teal-dark: #0a7d6f;
  --c-navy: #0f2a44;
  --c-navy-soft: #1a3d5c;
  --c-bg: #f5f8fa;
  --c-white: #ffffff;
  --c-text: #1c2b36;
  --c-muted: #5b6b76;
  --c-border: #d9e3ea;
  --c-ok: #1f8a4c;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(15, 42, 68, 0.08);
  --container: 1280px;
  --font: "Manrope", "Segoe UI", sans-serif;
  /* spacing scale */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 24px;
  --s-6: 32px;
  --s-7: 48px;
  --s-8: 64px;
  --s-9: 80px;
  --section-y: clamp(28px, 3.5vw, 40px);
}

* { box-sizing: border-box; }
html {
  height: 100%;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  min-height: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font);
  color: var(--c-text);
  background: var(--c-white);
  line-height: 1.55;
  overflow-x: clip;
}
body > .footer {
  margin-top: auto;
}
a { color: var(--c-teal-dark); text-decoration: none; }
a:hover { color: var(--c-teal); }
img { max-width: 100%; height: auto; display: block; }
.container { width: min(100% - 32px, var(--container)); margin: 0 auto; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); border: 0;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: 999px; border: 0;
  font: inherit; font-weight: 700; cursor: pointer; transition: .2s ease;
}
.btn-primary { background: var(--c-navy); color: #fff; }
.btn-primary:hover { background: var(--c-teal); color: #fff; }
.btn-accent { background: var(--c-teal); color: #fff; }
.btn-accent:hover { background: var(--c-teal-dark); color: #fff; }
.btn-ghost {
  background: transparent; color: var(--c-navy);
  border: 1px solid var(--c-border);
}
.btn-ghost:hover { border-color: var(--c-teal); color: var(--c-teal); }

.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--c-border);
}
.header-nav {
  background: var(--c-navy);
  color: #fff;
  font-size: 14px;
}
.header-nav__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 1rem;
  min-height: 42px;
  padding: 0.35rem 0;
}
.header-nav a {
  color: #d7e7f2;
  flex: 0 1 auto;
  white-space: nowrap;
}
.header-nav a:hover {
  color: #fff;
}
.header-nav__cta {
  margin-left: auto;
  font-weight: 700;
  color: #fff !important;
}
.nav-dd {
  position: relative;
  flex: 0 1 auto;
}
.nav-dd__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}
.header-nav .nav-dd__btn {
  color: #d7e7f2;
}
.header-nav .nav-dd__btn:hover,
.header-nav .nav-dd.is-open .nav-dd__btn {
  color: #fff;
}
.nav-dd__btn::after {
  content: "";
  width: 0.45em;
  height: 0.45em;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-0.1em) rotate(45deg);
  transition: transform .15s ease;
}
.nav-dd.is-open .nav-dd__btn::after {
  transform: translateY(0.1em) rotate(225deg);
}
.nav-dd__menu {
  position: absolute;
  top: calc(100% + 0.45rem);
  left: 0;
  z-index: 60;
  display: grid;
  gap: 0.15rem;
  min-width: 12.5rem;
  padding: 0.45rem;
  border: 1px solid var(--c-border);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(15, 42, 68, 0.12);
}
.nav-dd__menu[hidden] {
  display: none;
}
.header-nav .nav-dd__menu a {
  display: block;
  padding: 0.55rem 0.75rem;
  border-radius: 8px;
  color: var(--c-navy);
  white-space: nowrap;
}
.header-nav .nav-dd__menu--wide {
  min-width: 16.5rem;
  max-height: min(70vh, 28rem);
  overflow-y: auto;
}
.header-nav .nav-dd__menu a:hover {
  background: #e8f5f2;
  color: var(--c-teal-dark);
}
.nav-dd--panel {
  display: grid;
  gap: 0.35rem;
}
.nav-dd--panel .nav-dd__btn {
  display: flex;
  width: 100%;
  justify-content: space-between;
  padding: 0.7rem 0.85rem;
  border-radius: 12px;
  color: var(--c-navy);
  font-weight: 700;
  background: #f5faf8;
  text-align: left;
}
.nav-dd--panel .nav-dd__btn:hover,
.nav-dd--panel.is-open .nav-dd__btn {
  background: #e8f5f2;
  color: var(--c-teal-dark);
}
.nav-dd--panel .nav-dd__menu {
  position: static;
  min-width: 0;
  padding: 0.15rem 0 0.15rem 0.65rem;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.nav-dd--panel .nav-dd__menu a {
  display: block;
  padding: 0.55rem 0.85rem;
  border-radius: 10px;
  color: var(--c-navy);
  font-weight: 600;
  background: #f8fbfa;
}
.nav-dd--panel .nav-dd__menu a:hover {
  background: #e8f5f2;
  color: var(--c-teal-dark);
}
.header-inner {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
  min-height: 88px;
  padding: var(--s-3) 0;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--c-navy);
  font-weight: 800;
  flex: 0 0 auto;
  min-width: 0;
}
.logo img {
  width: auto;
  height: 52px;
  max-width: min(220px, 42vw);
  object-fit: contain;
  display: block;
}
.nav-toggle {
  display: none;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--c-border);
  border-radius: 12px;
  background: #fff;
  color: var(--c-navy);
  cursor: pointer;
}
.nav-toggle__box {
  display: grid;
  gap: 5px;
  width: 18px;
}
.nav-toggle__bar {
  display: block;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform .2s ease, opacity .2s ease;
}
.header.is-nav-open .nav-toggle__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.header.is-nav-open .nav-toggle__bar:nth-child(2) {
  opacity: 0;
}
.header.is-nav-open .nav-toggle__bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
.site-nav-panel {
  display: none;
  border-top: 1px solid var(--c-border);
  background: #fff;
  box-shadow: 0 16px 30px rgba(15, 42, 68, 0.08);
}
.header.is-nav-open .site-nav-panel,
.site-nav-panel:not([hidden]) {
  display: block;
}
.site-nav-panel__inner {
  display: grid;
  gap: var(--s-4);
  padding: var(--s-4) 0 var(--s-5);
}
.site-nav-panel__nav {
  display: grid;
  gap: 0.35rem;
}
.site-nav-panel__nav a {
  display: block;
  padding: 0.7rem 0.85rem;
  border-radius: 12px;
  color: var(--c-navy);
  font-weight: 700;
  background: #f5faf8;
}
.site-nav-panel__nav a:hover {
  background: #e8f5f2;
  color: var(--c-teal-dark);
}
.site-nav-panel__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 0.75rem;
}
.site-nav-panel__actions .btn {
  flex: 1 1 10rem;
}
body.is-nav-lock {
  overflow: hidden;
}
.search {
  display: flex; width: 100%; max-width: 420px; margin: 0 auto;
  border: 1px solid var(--c-border); border-radius: 999px; overflow: hidden; background: #fff;
}
.search input {
  flex: 1; border: 0; outline: 0; padding: 12px 16px; font: inherit; background: transparent;
}
.search button {
  border: 0; background: var(--c-teal); color: #fff; padding: 0 18px; font-weight: 700; cursor: pointer;
}
.header-search {
  /* input ≈ placeholder «Название или код профессии» + 10px; + icon/paddings/border */
  --header-search-input: calc(14.6em + 10px);
  flex: 0 0 auto;
  width: calc(var(--header-search-input) + 3.25rem);
  max-width: none;
  margin: 0;
  min-width: 0;
}
.header-search .msc-search-widget {
  margin: 0;
  width: 100%;
  max-width: none !important;
}
.header-search .msc-search-form {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: none;
  min-height: 48px;
  border: 2px solid var(--c-teal);
  border-radius: 999px;
  overflow: hidden;
  background: #e4f4f1;
  box-shadow: 0 2px 8px rgba(13, 155, 138, 0.12);
  padding: 0 6px 0 0;
  transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
}
.header-search .msc-search-form::before {
  content: "";
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-left: 14px;
  background: center / contain no-repeat
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24'%3E%3Ccircle cx='11' cy='11' r='7' stroke='%230a7d6f' stroke-width='2'/%3E%3Cpath stroke='%230a7d6f' stroke-width='2' stroke-linecap='round' d='M16.5 16.5L21 21'/%3E%3C/svg%3E");
  opacity: 0.9;
}
.header-search .msc-search-form:focus-within {
  border-color: var(--c-teal);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(13, 155, 138, 0.22);
}
.header-search .msc-search-input,
.header-search .msc-search-form .msc-input {
  flex: 1 1 auto !important;
  border: 0 !important;
  outline: 0;
  padding: 12px 14px 12px 10px !important;
  font: inherit;
  font-size: 15px !important;
  font-weight: 600;
  color: var(--c-navy);
  background: transparent !important;
  width: auto !important;
  max-width: none !important;
  min-width: 0 !important;
  height: auto !important;
  box-sizing: border-box !important;
}
.header-search .msc-search-input::placeholder {
  color: var(--c-muted);
  opacity: 1;
  font-weight: 500;
}
.header-search .msc-search-btn,
.header-search .msc-search-submit {
  display: none !important;
}
.header-search .msc-suggest {
  z-index: 60;
}
/* Catalog filter theme tokens */
.section .msc {
  --msc-accent: #0d9b8a;
  --msc-accent-contrast: #fff;
  --msc-accent-soft: #eef7f5;
  --msc-accent-line: #0a7d6f;
  --msc-text: #1c2b36;
  --msc-muted: #5b6b76;
  --msc-line: #d9e3ea;
  --msc-line-strong: #0f2a44;
  --msc-surface: #fff;
  --msc-soft: #f5f8fa;
  --msc-radius: 16px;
  --msc-radius-sm: 10px;
  --msc-panel: 280px;
  margin-top: var(--s-5);
}
.section .msc-toolbar,
.section .msc-bar,
.section .msc-head,
.section .msc-results-head {
  margin-bottom: var(--s-5);
  gap: var(--s-4);
}
.az-filter {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  margin: var(--s-5) 0;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: 14px;
}
.cats + .az-filter {
  margin-top: var(--s-5);
}
.az-filter__item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  height: 2rem;
  padding: 0 8px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 14px;
  line-height: 1;
  color: var(--c-navy);
  text-decoration: none;
  background: transparent;
  flex: 0 0 auto;
}
a.az-filter__item:hover {
  border-color: var(--c-teal);
  color: var(--c-teal-dark, #0a7d6f);
}
.az-filter__item.is-active {
  background: var(--c-teal);
  border-color: var(--c-teal);
  color: #fff;
}
.az-filter__item.is-disabled {
  opacity: 0.35;
  cursor: default;
  pointer-events: none;
}
.az-msc {
  margin-top: var(--s-4);
}
.az-msc .msc-empty {
  margin: 0;
  color: var(--c-muted);
}
/* Letter is controlled by the A–Z bar; keep it out of the sidebar. */
.msc-group[data-key="letter"] {
  display: none !important;
}
/* Custom letter listing (legacy): keep «Показать ещё» visible without msc-js. */
.az-msc .msc-more {
  display: flex !important;
}
.msc-rows.list-programs,
.list-programs.msc-grid,
.msc-grid.list-programs,
.list-programs {
  display: grid;
  gap: var(--s-3);
  grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr));
}
.msc.is-list .msc-rows.list-programs,
.msc.is-list .list-programs {
  grid-template-columns: minmax(0, 1fr);
}
.list-programs .ondpo-msc-item,
.ondpo-msc-item {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem 0.75rem;
  padding: 16px 18px;
  border: 1px solid var(--c-border);
  border-radius: 12px;
  background: #fff;
  color: var(--c-navy);
  font-weight: 600;
  height: 100%;
  box-sizing: border-box;
  text-decoration: none;
}
.msc:not(.is-list) .ondpo-msc-item {
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
}
.msc.is-list .ondpo-msc-item {
  flex-direction: row;
  align-items: center;
}
.ondpo-msc-item > span:first-child {
  flex: 1 1 12rem;
  min-width: 0;
}
.ondpo-msc-item .chip {
  flex: 0 0 auto;
  white-space: nowrap;
}
.list-programs .ondpo-msc-item:hover,
.ondpo-msc-item:hover {
  border-color: var(--c-teal);
  color: var(--c-navy);
}
.header-contacts {
  display: flex;
  align-items: center;
  gap: 0.5rem 0.75rem;
  flex-wrap: nowrap;
  justify-content: flex-end;
  flex: 0 0 auto;
  margin-left: auto;
  min-width: 0;
}
.header-phone {
  min-width: 0;
}
.phone-link {
  color: var(--c-navy);
  font-weight: 800;
  font-size: 18px;
  white-space: nowrap;
}
.phone-note {
  display: block;
  font-size: 12px;
  color: var(--c-muted);
  font-weight: 500;
}
.city-btn {
  border: 1px solid var(--c-border);
  background: #fff;
  border-radius: 999px;
  padding: 8px 14px;
  cursor: pointer;
  font: inherit;
  color: var(--c-navy);
  white-space: nowrap;
  flex: 0 0 auto;
}
.header-callback {
  flex: 0 0 auto;
  white-space: nowrap;
  background: var(--c-teal);
  color: #fff;
}
.header-callback:hover {
  background: var(--c-navy);
  color: #fff;
}

.hero {
  position: relative;
  padding: clamp(28px, 4vw, 48px) 0 clamp(24px, 3vw, 40px);
  background:
    radial-gradient(circle at 12% 20%, rgba(13,155,138,.16), transparent 40%),
    linear-gradient(180deg, #f2fbf9 0%, #ffffff 70%);
  overflow: hidden;
}
.hero + .section {
  padding-top: var(--s-5);
}
.hero-grid {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: var(--s-7); align-items: center;
}
.hero h1 {
  margin: 0 0 var(--s-4); font-size: clamp(30px, 4vw, 46px); line-height: 1.15; color: var(--c-navy);
}
.hero h1 em {
  font-style: normal; color: var(--c-teal);
}
.hero-lead { margin: 0 0 var(--s-5); color: var(--c-muted); font-size: 17px; max-width: 52ch; }
.trust-list {
  display: grid; gap: var(--s-3); margin: 0 0 var(--s-5); padding: 0; list-style: none;
}
.trust-list li {
  display: flex; gap: var(--s-3); align-items: flex-start;
  background: rgba(255,255,255,.8); border: 1px solid var(--c-border);
  border-radius: 14px; padding: 14px 16px;
}
.trust-list img { width: 28px; height: 28px; object-fit: contain; }
.hero-actions {
  display: flex;
  gap: var(--s-3);
  flex-wrap: wrap;
  margin-top: var(--s-2);
}
.hero-media {
  position: relative; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow);
  min-height: 280px; background: #dfe9ef center/cover no-repeat;
}
.hero-form {
  margin-top: var(--s-5); background: #fff; border: 1px solid var(--c-border);
  border-radius: 18px; padding: var(--s-5); box-shadow: var(--shadow);
}
.hero-form h3 { margin: 0 0 var(--s-4); color: var(--c-navy); }
.form-row { display: grid; gap: var(--s-3); }
.form-field { display: grid; gap: 6px; }
.form-label {
  font-size: 15px;
  font-weight: 700;
  color: var(--c-navy);
  line-height: 1.3;
}
.form-label .req,
.form-agree .req {
  color: #e11d48;
  font-weight: 700;
  margin-left: 1px;
}
/* AjaxForm пишет сюда ошибки — не показываем красный текст, только подсветка поля */
.form-error {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.form-row input.error,
.form-row textarea.error,
.quiz-form input.error,
.quiz-form textarea.error {
  border-color: #e11d48;
  box-shadow: 0 0 0 3px rgba(225, 29, 72, .12);
}
.form-hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
.program-suggest-wrap {
  position: relative;
}
.program-suggest-list {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 4px);
  z-index: 40;
  max-height: 260px;
  overflow: auto;
  overscroll-behavior: contain;
  background: #fff;
  border: 1px solid var(--c-line, #d9e3ea);
  border-radius: 12px;
  box-shadow: 0 10px 28px rgba(15, 42, 68, 0.12);
  padding: 6px;
}
.program-suggest-item {
  display: block;
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  border-radius: 8px;
  padding: 10px 12px;
  font: inherit;
  color: var(--c-text, #1c2b36);
  cursor: pointer;
  line-height: 1.35;
}
.program-suggest-item:hover,
.program-suggest-item.is-active {
  background: var(--c-soft, #eef7f5);
  color: var(--c-teal-dark, #0a7d6f);
}
.program-suggest-empty {
  padding: 10px 12px;
  color: var(--c-muted, #5b6b76);
  font-size: 14px;
}
.form-row input[type="text"],
.form-row input[type="tel"],
.form-row input[type="email"],
.form-row input[type="search"],
.form-row textarea,
.quiz-form input[type="text"],
.quiz-form input[type="tel"],
.quiz-form input[type="email"],
.quiz-form textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--c-border);
  border-radius: 12px;
  padding: 0 14px;
  font: inherit;
  background: #fff;
  box-sizing: border-box;
  color: var(--c-navy);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.form-row input[type="text"]:focus,
.form-row input[type="tel"]:focus,
.form-row input[type="email"]:focus,
.form-row input[type="search"]:focus,
.form-row textarea:focus,
.quiz-form input[type="text"]:focus,
.quiz-form input[type="tel"]:focus,
.quiz-form input[type="email"]:focus,
.quiz-form textarea:focus {
  outline: 0;
  border-color: var(--c-teal);
  box-shadow: 0 0 0 3px rgba(13, 155, 138, 0.14);
}
.form-agree {
  display: flex; align-items: flex-start; gap: 10px;
  margin: 2px 0 0; font-size: 13px; color: var(--c-muted); line-height: 1.4;
  cursor: pointer;
  border-radius: 10px;
  padding: 6px 8px;
  margin-left: -8px;
  transition: background .2s ease, box-shadow .2s ease;
}
.form-agree.is-novalid {
  background: rgba(225, 29, 72, .08);
  box-shadow: 0 0 0 2px rgba(225, 29, 72, .45);
  color: #9f1239;
}
.form-agree.is-shake,
.help-agree.is-shake {
  animation: ondpo-shake .45s ease;
}
@keyframes ondpo-shake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-6px); }
  40% { transform: translateX(6px); }
  60% { transform: translateX(-4px); }
  80% { transform: translateX(4px); }
}
.form-row input.is-novalid,
.form-row textarea.is-novalid,
.help-form input.is-novalid,
.quiz-form input.is-novalid {
  border-color: #e11d48;
  box-shadow: 0 0 0 3px rgba(225, 29, 72, .12);
}
.form-agree input[type="checkbox"] {
  flex: 0 0 auto;
  -webkit-appearance: checkbox;
  appearance: checkbox;
  width: 16px !important;
  height: 16px !important;
  min-width: 16px !important;
  min-height: 16px !important;
  max-width: 16px !important;
  margin: 2px 0 0 !important;
  padding: 0 !important;
  border: 1px solid var(--c-border) !important;
  border-radius: 3px !important;
  accent-color: var(--c-teal);
  cursor: pointer;
  background: #fff !important;
}
.form-agree a { text-decoration: underline; }
.form-note { font-size: 12px; color: var(--c-muted); margin-top: 8px; }
.form-note a { text-decoration: underline; }
.callback-modal {
  width: min(100%, 420px);
  padding: 8px 4px;
}
.callback-modal h3 {
  margin: 0 0 14px; color: var(--c-navy); font-size: 22px; line-height: 1.25;
}
.callback-modal .form-agree { color: var(--c-muted); }
.callback-modal .form-agree a { color: var(--c-teal-dark); }

.section { padding: var(--section-y) 0; }
.section-alt { background: var(--c-bg); }
.page-hero + .section {
  padding-top: var(--s-5);
}
.section + .section {
  padding-top: var(--s-5);
}
.section-head {
  display: flex; justify-content: space-between; align-items: end; gap: var(--s-5);
  margin-bottom: var(--s-5); flex-wrap: wrap;
}
.section-head h2 {
  margin: 0; font-size: clamp(26px, 3vw, 34px); color: var(--c-navy); line-height: 1.2;
}
.section-head p { margin: var(--s-3) 0 0; color: var(--c-muted); max-width: 60ch; }

.cats {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--s-4);
}
.cat-card {
  display: flex; flex-direction: column; gap: 10px;
  background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius);
  padding: 20px; min-height: 170px; transition: .2s ease; color: inherit;
}
.cat-card:hover {
  transform: translateY(-3px); border-color: var(--c-teal); box-shadow: var(--shadow); color: inherit;
}
.cat-card img { width: 42px; height: 42px; object-fit: contain; }
.cat-card strong { font-size: 17px; color: var(--c-navy); }
.cat-card span { color: var(--c-muted); font-size: 14px; margin-top: auto; }

.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-4);
}
.stat {
  background: #fff; border-radius: var(--radius); padding: var(--s-5); border: 1px solid var(--c-border);
  text-align: center;
}
.stat b { display: block; font-size: 32px; color: var(--c-teal); margin-bottom: var(--s-2); }
.stat span { color: var(--c-muted); }

.cards {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-5);
}
.program-card {
  background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column; transition: .2s ease;
}
.program-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.program-card .thumb {
  aspect-ratio: 16/10; background: #e8f3f1 center/cover no-repeat;
}
.program-card .body { padding: 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.program-card h3 { margin: 0; font-size: 18px; color: var(--c-navy); }
.meta { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  font-size: 12px; background: #eef7f5; color: var(--c-teal-dark);
  border-radius: 999px; padding: 5px 10px;
}
.page-hero .meta .chip {
  font-size: 15px;
  padding: 7px 14px;
  font-weight: 600;
  line-height: 1.3;
}
.price { font-weight: 800; color: var(--c-navy); margin-top: auto; }
.price-tag {
  display: inline-flex;
  flex-wrap: nowrap;
  align-items: baseline;
  gap: 0.35rem 0.55rem;
  line-height: 1.15;
  white-space: nowrap;
}
.price-tag__now {
  font-weight: 800;
  color: inherit;
}
.price-tag__old {
  font-weight: 600;
  font-size: 0.78em;
  color: var(--c-muted);
  text-decoration: line-through;
}
.program-price-card .price-tag__old {
  color: rgba(255, 255, 255, 0.78);
}
.price-tag__badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}
.price-tag--inline {
  vertical-align: baseline;
}
.price-tag--inline .price-tag__now,
.price-tag--inline .price-tag__old {
  font-size: inherit;
}
.chip-sale {
  background: #ffe8d6;
  color: #9a3412;
  border-color: #fdba74;
}

.steps {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-4); counter-reset: step;
}
.step {
  background: #fff; border-radius: var(--radius); padding: var(--s-5); border: 1px solid var(--c-border);
  position: relative;
}
.step::before {
  counter-increment: step; content: counter(step);
  width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center; background: var(--c-teal); color: #fff;
  font-weight: 800; margin-bottom: var(--s-4);
}
.step h3 { margin: 0 0 var(--s-2); color: var(--c-navy); font-size: 18px; }
.step p { margin: 0; color: var(--c-muted); font-size: 14px; }

.reviews {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-4);
}
.reviews-page {
  margin-top: var(--s-5);
}
.prose .reviews-page {
  max-width: none;
}
.content-wrap .reviews-page {
  width: 100%;
}
.prose .review p,
.review p {
  margin: 0;
  color: var(--c-muted);
  line-height: 1.5;
}
.review {
  background: #fff; border-radius: var(--radius); padding: 22px; border: 1px solid var(--c-border);
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 100%;
  color: inherit;
}
.review .who { display: flex; gap: 12px; align-items: center; margin-bottom: 0; }
.review .who img {
  width: 48px; height: 48px; border-radius: 50%; object-fit: cover; background: #dfe9ef; flex: 0 0 auto;
}
.review .who strong { color: var(--c-navy); font-size: 15px; }
.review .who span { color: var(--c-muted); font-size: 13px; }
.review p { margin: 0; color: var(--c-muted); line-height: 1.5; flex: 1; }
.reviews-intro { margin-bottom: var(--s-5); }
.reviews-intro .reviews { margin-top: var(--s-5); }
.review-single {
  max-width: 760px;
  width: 100%;
  height: auto;
  margin: 0;
  box-sizing: border-box;
}
.review-single__text {
  color: var(--c-muted);
  font-size: 17px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
.review-single__text p { margin: 0 0 1em; color: inherit; }
.review-single__back { margin: var(--s-5) 0 0; }

.faq details {
  background: #fff; border: 1px solid var(--c-border); border-radius: 14px;
  padding: 16px 20px; margin-bottom: var(--s-3);
}
.faq summary {
  position: relative;
  cursor: pointer;
  font-weight: 700;
  color: var(--c-navy);
  list-style: none;
  padding-right: 2rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 0;
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--c-teal);
}
.faq details[open] summary { margin-bottom: var(--s-3); }
.faq details[open] summary::after { content: "\2212"; }
.faq p { margin: 0; color: var(--c-muted); }

.cta-band {
  border-radius: 28px; padding: var(--s-7);
  background: linear-gradient(135deg, var(--c-navy), var(--c-navy-soft));
  color: #fff; display: grid; grid-template-columns: 1.2fr .8fr; gap: var(--s-5); align-items: center;
}
.cta-band h2 { margin: 0 0 var(--s-3); font-size: 30px; }
.cta-band p { margin: 0; opacity: .88; }
.cta-band .form-row input[type="text"],
.cta-band .form-row input[type="tel"] { background: #fff; }
.cta-band .form-agree { color: rgba(255,255,255,.88); }
.cta-band .form-agree a { color: #fff; }

.footer {
  background: linear-gradient(180deg, #0c243a 0%, #0a1e32 100%);
  color: #a9bdd0;
  padding: var(--s-8) 0 var(--s-5);
  margin-top: 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr repeat(3, minmax(0, 1fr));
  gap: var(--s-6) var(--s-5);
  margin-bottom: var(--s-6);
  align-items: start;
}
.footer-col {
  min-width: 0;
}
.footer-title {
  margin: 0 0 var(--s-4);
  padding: 0 0 0.65rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: #7dd3c4;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.3;
}
.footer-col--brand .footer-title {
  color: #fff;
  font-size: 18px;
  letter-spacing: 0;
  text-transform: none;
  border-bottom-color: rgba(125, 211, 196, 0.35);
}
.footer-text {
  margin: 0 0 0.65rem;
  color: #a9bdd0;
  font-size: 14px;
  line-height: 1.5;
}
.footer-text:last-child {
  margin-bottom: 0;
}
.footer-links {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}
.footer-links a {
  color: #d7e4ef;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.35;
  text-decoration: none;
}
.footer-links a:hover {
  color: #fff;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--s-5);
  display: grid;
  gap: 0.5rem;
  font-size: 13px;
  color: #8199ad;
  line-height: 1.45;
}
.footer-bottom p {
  margin: 0;
}
.footer-bottom a {
  color: #b7c9d8;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.footer-bottom a:hover {
  color: #fff;
}

.float-messengers {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: bottom .2s ease;
}
.float-messengers__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 999px;
  box-shadow: var(--shadow);
  color: #fff;
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}
.float-messengers__btn:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(15, 42, 68, 0.18);
  filter: brightness(1.05);
}
.float-messengers__btn svg {
  display: block;
}
.float-messengers__btn--wa {
  background: #25d366;
}
.float-messengers__btn--tg {
  background: #2aabee;
}
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 70;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
  background: rgba(15, 42, 68, 0.96);
  color: #e8f0f6;
  box-shadow: 0 -8px 28px rgba(15, 42, 68, 0.18);
}
.cookie-banner[hidden] {
  display: none !important;
}
.cookie-banner__inner {
  width: min(100%, var(--container));
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
}
.cookie-banner__text {
  margin: 0;
  flex: 1 1 16rem;
  min-width: 0;
  font-size: 14px;
  line-height: 1.45;
  color: #d7e4ef;
}
.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.65rem;
  flex: 0 1 auto;
}
.cookie-banner__actions .btn {
  min-height: 42px;
  padding: 0 16px;
  white-space: nowrap;
}
.cookie-banner__policy {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
}
.cookie-banner__policy:hover {
  border-color: #7dd3c4;
  color: #7dd3c4;
}
body.has-cookie-banner .float-messengers {
  bottom: 7.5rem;
}
.page-hero {
  padding: clamp(20px, 3vw, 32px) 0 clamp(16px, 2.5vw, 24px);
  background: linear-gradient(180deg, #f2fbf9, #fff);
}
.page-hero h1 { margin: 0 0 var(--s-3); color: var(--c-navy); font-size: clamp(28px, 3vw, 40px); }
.page-hero p {
  margin: 0;
  color: var(--c-muted);
  max-width: 68ch;
  line-height: 1.55;
}
.page-hero p + p { margin-top: var(--s-3); }
.page-hero .meta { margin-top: var(--s-4); }
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
  min-width: 0;
  max-width: 100%;
  color: var(--c-muted);
  font-size: 14px;
  margin-bottom: var(--s-4);
}
.breadcrumbs a {
  flex: 0 1 auto;
  color: var(--c-muted);
  white-space: nowrap;
}
.breadcrumbs > span {
  flex: 0 0 auto;
  color: var(--c-muted);
}
.content-wrap { display: grid; grid-template-columns: 1fr 340px; gap: var(--s-7); align-items: start; }
.sidebar-anchor {
  min-width: 0;
  align-self: stretch;
  height: 100%;
}
.sidebar-card {
  position: sticky; top: 140px; background: #fff; border: 1px solid var(--c-border);
  border-radius: var(--radius); padding: var(--s-5); box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
}
.sidebar-card--lead {
  overflow: hidden;
  border-color: rgba(13, 155, 138, 0.32);
  background:
    linear-gradient(180deg, #eef9f6 0%, #ffffff 34%);
  box-shadow:
    0 14px 34px rgba(15, 42, 68, 0.1),
    0 0 0 1px rgba(13, 155, 138, 0.08);
}
.sidebar-card--lead::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--c-teal) 0%, #0f2a44 100%);
}
.sidebar-card > * { margin: 0; }
.sidebar-card h3 { color: var(--c-navy); font-size: 22px; }
.sidebar-card > p { color: var(--c-muted); font-size: 14px; line-height: 1.45; }
.sidebar-offer__note {
  margin: 0;
  color: var(--c-muted);
  font-size: 13px;
  line-height: 1.4;
}
.sidebar-card > h3 {
  font-size: 18px;
  line-height: 1.25;
}
.sidebar-card--lead > h3 {
  font-size: 20px;
  font-weight: 800;
}
.sidebar-card .hero-form,
.sidebar-card .sidebar-form {
  margin: 0;
  padding: 0;
  border: 0;
  box-shadow: none;
  background: transparent;
  border-radius: 0;
}
.sidebar-card .hero-form h3 { display: none; }
.sidebar-phone {
  display: flex;
  width: 100%;
  justify-content: center;
  text-align: center;
  box-sizing: border-box;
  margin-top: 0.35rem;
}
.rank-picker {
  margin: 0 0 var(--s-5);
  padding: 16px 18px;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: 14px;
}
.rank-picker__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 0.75rem;
  margin-bottom: 12px;
}
.rank-picker__label {
  font-weight: 800;
  color: var(--c-navy);
  font-size: 16px;
}
.rank-picker__current {
  color: var(--c-teal-dark);
  font-weight: 700;
  font-size: 14px;
}
.rank-picker__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.rank-picker__btn {
  min-width: 2.5rem;
  height: 2.5rem;
  padding: 0 10px;
  border-radius: 10px;
  border: 1px solid var(--c-border);
  background: #fff;
  color: var(--c-navy);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.rank-picker__btn:hover {
  border-color: var(--c-teal);
  color: var(--c-teal-dark);
}
.rank-picker__btn.is-active {
  background: var(--c-teal);
  border-color: var(--c-teal);
  color: #fff;
}
.rank-picker__note {
  display: block;
  margin: var(--s-4) 0 0;
  padding-top: var(--s-3);
  border-top: 1px solid var(--c-border);
  font-size: 13px;
  color: var(--c-muted);
  line-height: 1.4;
}
.rank-chip-wrap { margin: 0 0 var(--s-4); }
.rank-desc {
  margin: 0 0 var(--s-5);
  padding: 18px 18px 16px;
  background: #f7fbfa;
  border: 1px solid var(--c-border);
  border-radius: 14px;
}
.rank-desc__lead {
  margin: 0 0 14px;
  color: var(--c-navy);
  font-weight: 600;
  line-height: 1.5;
}
.rank-desc__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 18px;
}
.rank-desc__block {
  flex: 1 1 16rem;
  min-width: 0;
}
.rank-desc__block h3 {
  margin: 0 0 8px;
  font-size: 15px;
  color: var(--c-navy);
}
.rank-desc__block p {
  margin: 0;
  color: var(--c-text);
  font-size: 14px;
  line-height: 1.55;
}

/* Article / program body rhythm */
.content-wrap > div:first-child,
.content,
.prose {
  font-size: 16px;
  line-height: 1.65;
}
.content-wrap > div:first-child > *:first-child,
.content > *:first-child,
.prose > *:first-child { margin-top: 0; }
.content-wrap > div:first-child h2,
.content h2,
.prose h2 {
  margin: var(--s-5) 0 var(--s-3);
  color: var(--c-navy);
  font-size: clamp(22px, 2.4vw, 28px);
  line-height: 1.25;
}
.content-wrap > div:first-child h3,
.content h3,
.prose h3 {
  margin: var(--s-5) 0 var(--s-3);
  color: var(--c-navy);
  font-size: 20px;
  line-height: 1.3;
}
.program-panel h2,
.prose .program-panel h2,
.program-body .program-panel h2,
.program-price-card h2,
.prose .program-price-card h2,
.program-body .program-price-card h2 {
  margin: 0 0 var(--s-3);
}
.content-wrap > div:first-child p,
.content p,
.prose p {
  margin: 0 0 var(--s-4);
}
.content-wrap > div:first-child img,
.content img,
.prose img {
  margin: 0 0 var(--s-5);
  border-radius: 16px;
}
.content-wrap > div:first-child p:has(> img),
.content p:has(> img),
.prose p:has(> img) {
  margin-bottom: var(--s-5);
}
.content-wrap > div:first-child ul,
.content-wrap > div:first-child ol,
.content ul,
.content ol,
.prose ul,
.prose ol {
  margin: 0 0 var(--s-5);
  padding-left: 1.25em;
  display: grid;
  gap: var(--s-2);
}
.content-wrap > div:first-child li,
.content li,
.prose li {
  margin: 0;
}

.alpha {
  display: flex; flex-wrap: wrap; gap: var(--s-2); margin-bottom: var(--s-5);
}
.alpha a {
  width: 36px; height: 36px; display: grid; place-items: center;
  border-radius: 10px; background: #eef7f5; color: var(--c-navy); font-weight: 700;
}
.program-body {
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
}
.program-body > .rank-picker,
.program-body > .rank-chip-wrap,
.program-body > .program-cover,
.program-body > .program-intro,
.program-body > .program-facts,
.program-body > .program-price-card,
.program-body > .program-panel {
  margin: 0;
}
.program-cover {
  margin: 0;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid var(--c-border);
  box-shadow: var(--shadow);
  background: transparent;
  line-height: 0;
}
.content-wrap > div:first-child .program-cover img,
.prose .program-cover img,
.program-cover img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  border-radius: 0;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.program-intro {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: 18px;
  padding: var(--s-5);
  box-shadow: 0 8px 24px rgba(15, 42, 68, 0.04);
  white-space: pre-line;
}
.program-intro :is(p, ul, ol, h2, h3, h4, figure, div) {
  white-space: normal;
}
.program-intro > *:first-child { margin-top: 0; }
.program-intro > *:last-child { margin-bottom: 0; }
.program-intro > p:first-of-type {
  font-size: 18px;
  line-height: 1.55;
  color: var(--c-navy);
  font-weight: 500;
}
.program-intro h3 {
  margin-top: var(--s-5);
  padding-top: var(--s-4);
  border-top: 1px solid var(--c-border);
}
.program-intro ul,
.program-intro ol {
  list-style: none;
  padding-left: 0;
}
.program-intro li {
  position: relative;
  padding: 10px 12px 10px 36px;
  border-radius: 12px;
  background: var(--c-soft, #f5f8fa);
}
.program-intro li + li { margin-top: 8px; }
.program-intro li::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 14px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--c-teal);
  box-shadow: inset 0 0 0 3px #fff;
}
.program-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s-3);
}
.program-fact {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: 14px;
  padding: 16px 18px;
}
.program-fact strong {
  display: block;
  color: var(--c-muted);
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.program-fact span {
  color: var(--c-navy);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
}
.program-price-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
  padding: var(--s-5);
  border-radius: 18px;
  background: linear-gradient(135deg, #0f2a44 0%, #0a7d6f 100%);
  color: #fff;
  container-type: inline-size;
  container-name: price-card;
}
.program-price-card__text {
  flex: 1 1 12rem;
  min-width: 0;
}
.program-price-card--sidebar {
  flex-direction: column;
  align-items: stretch;
  gap: var(--s-3);
  padding: 14px 16px;
  border-radius: 14px;
}
.program-price-card--sidebar .program-price-card__text {
  flex: 0 0 auto;
}
.content-wrap > div:first-child .program-price-card h2,
.program-price-card h2 {
  margin: 0 0 6px;
  color: #fff;
  font-size: 22px;
  line-height: 1.25;
}
.program-price-card--sidebar h2 {
  font-size: 16px;
  margin: 0 0 2px;
}
.content-wrap > div:first-child .program-price-card p,
.program-price-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 14px;
}
.program-price-card--sidebar p {
  font-size: 12px;
}
.program-price-card__prices {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  flex: 0 1 auto;
  margin-inline-start: auto;
  max-width: 100%;
}
.program-price-card--sidebar .program-price-card__prices {
  align-items: flex-start;
  margin-inline-start: 0;
}
.program-price-card__value,
.program-price-card .price-tag {
  display: inline-flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: baseline;
  gap: 0.45rem 0.65rem;
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 800;
  line-height: 1.1;
  color: #fff;
  white-space: nowrap;
}
.program-price-card--sidebar .program-price-card__value,
.program-price-card--sidebar .price-tag {
  font-size: 26px;
}
.program-price-card .price-tag__now {
  white-space: nowrap;
}
.program-price-card .price-tag__old {
  opacity: 0.78;
  font-size: 0.62em;
  white-space: nowrap;
  text-decoration: line-through;
}
.program-price-card__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.program-price-card__cta:hover {
  background: rgba(255, 255, 255, 0.24);
  color: #fff;
}
@container price-card (max-width: 26rem) {
  .program-price-card__prices {
    margin-inline-start: 0;
    align-items: flex-start;
  }
}
.price .price-tag__old {
  color: var(--c-muted);
}
.sidebar-benefits {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
}
.sidebar-benefits li {
  position: relative;
  padding-left: 1.15rem;
  color: var(--c-muted);
  font-size: 13px;
  line-height: 1.35;
}
.sidebar-benefits li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--c-teal);
}
.lead-fab {
  position: fixed;
  left: 50%;
  bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  z-index: 58;
  transform: translateX(-50%) translateY(120%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 8.5rem;
  height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  background: var(--c-teal);
  color: #fff;
  font: inherit;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.01em;
  box-shadow: 0 10px 28px rgba(13, 155, 138, 0.35);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: transform .22s ease, opacity .22s ease, box-shadow .15s ease, background .15s ease;
}
.lead-fab.is-visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.lead-fab:hover {
  background: var(--c-teal-dark);
  box-shadow: 0 12px 30px rgba(10, 125, 111, 0.4);
}
.lead-fab:focus-visible {
  outline: 2px solid var(--c-navy);
  outline-offset: 3px;
}
body.has-cookie-banner .lead-fab {
  bottom: calc(5.75rem + env(safe-area-inset-bottom, 0px));
}
body.has-lead-fab {
  padding-bottom: 4.5rem;
}
.lead-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 12px 12px calc(12px + env(safe-area-inset-bottom, 0px));
}
.lead-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 42, 68, 0.48);
}
.lead-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 420px);
  max-height: min(88vh, 760px);
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 18px;
}
.lead-modal__close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--c-navy);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(15, 42, 68, 0.12);
}
.lead-modal .sidebar-card--lead {
  position: static;
  margin: 0;
}
body.is-lead-modal-open {
  overflow: hidden;
}
.program-panel {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: 18px;
  padding: var(--s-5);
}
.program-panel h2 {
  margin: 0 0 var(--s-3);
  font-size: 22px;
}
.program-panel > p {
  margin: 0 0 var(--s-4);
  color: var(--c-muted);
}
.program-check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.program-check-list li {
  position: relative;
  padding: 12px 14px 12px 44px;
  border-radius: 12px;
  background: #f3faf8;
  color: var(--c-navy);
  font-weight: 600;
  line-height: 1.4;
}
.program-check-list li::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 50%;
  width: 18px;
  height: 18px;
  transform: translateY(-50%);
  border-radius: 50%;
  background: var(--c-teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M3.5 8.2l3 3 6-6.5' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px 12px no-repeat;
}
.program-doc-samples {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(10.5rem, 1fr));
  gap: 0.75rem;
  margin-top: var(--s-4);
}
.program-doc-sample {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-width: 0;
  color: var(--c-navy);
  text-decoration: none;
}
.program-doc-sample img {
  display: block;
  width: 100%;
  height: 10.5rem;
  object-fit: cover;
  object-position: top center;
  margin: 0;
  border-radius: 12px;
  border: 1px solid var(--c-border);
  background: #fff;
  box-shadow: var(--shadow);
}
.program-doc-sample span {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--c-navy);
}
.program-doc-sample:hover span {
  color: var(--c-teal-dark);
}
.program-panel--docs {
  container-type: inline-size;
  container-name: docs-panel;
}
.program-docs-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}
.program-doc {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--c-border);
  border-radius: 14px;
  background: #f7fbfa;
  color: var(--c-navy);
}
.program-doc--wide {
  grid-column: span 2;
}
/* Fit-first: 2 cols when panel no longer fits 3 */
@container docs-panel (max-width: 35.99rem) {
  .program-docs-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .program-doc--wide {
    grid-column: span 2;
  }
}
@container docs-panel (max-width: 23.99rem) {
  .program-docs-grid {
    grid-template-columns: 1fr;
  }
  .program-doc--wide {
    grid-column: auto;
  }
}
@supports not (container-type: inline-size) {
  @media (max-width: 720px) {
    .program-docs-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .program-doc--wide {
      grid-column: span 2;
    }
  }
  @media (max-width: 480px) {
    .program-docs-grid {
      grid-template-columns: 1fr;
    }
    .program-doc--wide {
      grid-column: auto;
    }
  }
}
.program-doc__icon {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--c-border);
  color: var(--c-teal-dark);
}
.program-doc__icon svg {
  display: block;
}
.program-doc__text {
  flex: 1 1 auto;
  min-width: 0;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.4;
  padding-top: 0.35rem;
}
.program-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
  counter-reset: progstep;
}
.program-steps li {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 12px;
  align-items: center;
  padding: 14px 48px 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--c-border);
  background: #fff;
}
.program-steps li::before {
  counter-increment: progstep;
  content: counter(progstep);
  position: absolute;
  top: 8px;
  right: 14px;
  margin: 0;
  padding: 0;
  width: auto;
  height: auto;
  border-radius: 0;
  background: none;
  color: var(--c-navy);
  font-weight: 800;
  font-size: clamp(28px, 4vw, 36px);
  line-height: 1;
  opacity: .22;
  pointer-events: none;
}
.program-steps__icon {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 12px;
  background: #f7fbfa;
  border: 1px solid var(--c-border);
  color: var(--c-teal-dark);
}
.program-steps__icon svg {
  display: block;
}
.program-steps__body {
  min-width: 0;
  display: grid;
  gap: 2px;
}
.program-steps strong {
  color: var(--c-navy);
  font-size: 15px;
}
.program-steps__body > span {
  color: var(--c-muted);
  font-size: 14px;
  line-height: 1.4;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-5);
}
.blog-card {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.blog-card-img {
  display: block;
  aspect-ratio: 16/10;
  background: #e8f3f1 center/cover no-repeat;
}
.blog-card-body {
  padding: var(--s-5);
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  flex: 1;
}
.blog-card-body h2 {
  margin: 0;
  font-size: 18px;
  color: var(--c-navy);
}
.blog-card-body h2 a { color: inherit; }
.blog-card-body p {
  margin: 0;
  color: var(--c-muted);
  font-size: 14px;
  flex: 1;
}

.city-modal {
  position: fixed; inset: 0; background: rgba(15,42,68,.45); display: none;
  align-items: center; justify-content: center; z-index: 100; padding: 16px;
  overflow: hidden;
}
.city-modal.open { display: flex; }
.city-modal-card {
  width: min(100%, 560px);
  max-width: 100%;
  max-height: min(80vh, 640px);
  background: #fff;
  border-radius: 20px;
  padding: 20px 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  overflow: hidden;
  box-sizing: border-box;
}
.city-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
}
.city-modal-head h3 {
  margin: 0;
  color: var(--c-navy);
  font-size: 22px;
  line-height: 1.25;
}
.city-modal-close {
  border: 0;
  background: transparent;
  color: var(--c-muted);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  padding: 0 4px;
}
.city-modal-lead {
  margin: 0;
  color: var(--c-muted);
  font-size: 14px;
}
.city-search {
  display: block;
  min-width: 0;
}
.city-search input {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  min-height: 44px;
  border: 1px solid var(--c-border);
  border-radius: 12px;
  padding: 0 14px;
  font: inherit;
  background: #fff;
}
.city-search input:focus {
  outline: 2px solid rgba(13,155,138,.35);
  border-color: var(--c-teal);
}
.city-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 8px;
  max-height: min(48vh, 360px);
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  min-height: 0;
  min-width: 0;
  padding-right: 2px;
  -webkit-overflow-scrolling: touch;
}
.city-grid a,
.city-grid button {
  border: 1px solid var(--c-border);
  background: #fff;
  border-radius: 10px;
  padding: 10px 12px;
  text-align: left;
  font: inherit;
  cursor: pointer;
  color: var(--c-navy);
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.city-grid a:hover,
.city-grid button:hover {
  border-color: var(--c-teal);
  color: var(--c-teal-dark);
}
.city-grid [hidden] { display: none !important; }
.city-search-empty {
  margin: 0;
  color: var(--c-muted);
  font-size: 14px;
}

.program-quiz {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: 18px;
  padding: var(--s-5);
  display: grid;
  gap: var(--s-4);
}
.program-quiz__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
}
.program-quiz__head h2 {
  margin: 0 0 0.35rem;
  font-size: 22px;
  color: var(--c-navy);
}
.program-quiz__head p {
  margin: 0;
  max-width: 38rem;
  color: var(--c-muted);
  line-height: 1.45;
}
.program-quiz__progress {
  display: grid;
  gap: 0.4rem;
  min-width: 9.5rem;
  flex: 0 1 11rem;
}
.program-quiz__progress span {
  font-size: 13px;
  font-weight: 700;
  color: var(--c-teal-dark);
}
.program-quiz__bar {
  height: 6px;
  border-radius: 999px;
  background: #e7f3f0;
  overflow: hidden;
}
.program-quiz__bar i {
  display: block;
  height: 100%;
  background: var(--c-teal);
  border-radius: inherit;
  transition: width .2s ease;
}
.quiz-form {
  display: grid;
  gap: var(--s-4);
}
.quiz-step__title {
  margin: 0 0 0.75rem;
  font-size: 18px;
  color: var(--c-navy);
}
.quiz-step__note {
  margin: 0 0 0.85rem;
  color: var(--c-muted);
  font-size: 14px;
  line-height: 1.45;
}
.quiz-step .form-field {
  margin-bottom: 0.75rem;
}
.quiz-step .form-agree {
  margin-top: 0.25rem;
}
.quiz-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 0.7rem;
}
.quiz-options--ranks {
  margin-bottom: 0.6rem;
}
.quiz-option {
  appearance: none;
  border: 1px solid var(--c-border);
  background: #f7fbfa;
  color: var(--c-navy);
  border-radius: 12px;
  padding: 0.7rem 0.95rem;
  font: inherit;
  font-weight: 600;
  line-height: 1.3;
  text-align: left;
  cursor: pointer;
  flex: 1 1 12rem;
  max-width: 100%;
  transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
}
.quiz-option:hover {
  border-color: #9ecfc5;
  background: #eef8f5;
}
.quiz-option.is-selected {
  border-color: var(--c-teal);
  background: #e6f6f1;
  box-shadow: inset 0 0 0 1px var(--c-teal);
}
.quiz-options--ranks .quiz-option {
  flex: 0 1 auto;
  min-width: 5.5rem;
  text-align: center;
}
.quiz-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem 0.75rem;
  padding-top: 0.15rem;
}
.quiz-nav .btn[disabled] {
  opacity: .45;
  cursor: not-allowed;
}

@media (max-width: 1100px) {
  .header-inner {
    flex-wrap: wrap;
    gap: 0.65rem 0.75rem;
    min-height: 0;
  }
  .header-search {
    flex: 1 1 100%;
    order: 5;
    max-width: none;
    width: 100%;
  }
  .header-search .msc-search-widget,
  .header-search .msc-search-form {
    width: 100% !important;
    max-width: none !important;
  }
  .header-contacts {
    margin-left: auto;
    flex: 0 1 auto;
  }
  .header-callback { display: none; }
  .cats, .steps, .stats, .cards, .reviews, .footer-grid, .blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .program-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-grid, .cta-band, .content-wrap { grid-template-columns: 1fr; }
  .hero-grid { gap: var(--s-6); }
  .content-wrap { gap: var(--s-6); }
  .sidebar-card { position: static; }
  .cta-band { padding: var(--s-5); }
  .cta-band h2 { font-size: 24px; }
}

/* Nav strip stays while items fit; burger only when the row is too tight */
@media (max-width: 860px) {
  .header-nav { display: none; }
  .nav-toggle { display: inline-flex; }
}

@media (max-width: 720px) {
  :root { --section-y: 24px; }
  .container { width: min(100% - 24px, var(--container)); }
  .logo img {
    height: 42px;
    max-width: min(160px, 38vw);
  }
  .header-inner {
    gap: 0.5rem 0.6rem;
    padding: 0.65rem 0;
  }
  .header-phone .phone-note { display: none; }
  .phone-link { font-size: 15px; }
  .city-btn {
    padding: 7px 10px;
    max-width: 8.5rem;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .header-search .msc-search-input { padding: 10px 12px; }
  .header-search .msc-search-btn { padding: 0 12px; }
  .cats, .steps, .stats, .cards, .reviews, .footer-grid, .city-grid, .blog-grid, .program-facts {
    grid-template-columns: 1fr;
  }
  .program-price-card {
    align-items: flex-start;
  }
  .program-price-card:not(.program-price-card--sidebar) {
    flex-direction: column;
    align-items: stretch;
  }
  .program-price-card:not(.program-price-card--sidebar) .program-price-card__prices {
    margin-inline-start: 0;
    align-items: flex-start;
  }
  .program-price-card__value,
  .program-price-card .price-tag {
    white-space: nowrap;
    font-size: clamp(24px, 8vw, 32px);
  }
  .page-hero h1,
  .hero h1 {
    overflow-wrap: anywhere;
  }
  .page-hero .meta,
  .meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 0.5rem;
  }
  .float-messengers {
    right: 12px;
    bottom: 12px;
  }
  .float-messengers__btn {
    width: 48px;
    height: 48px;
  }
  .hero-media { min-height: 220px; }
  .hero-form,
  .sidebar-card { padding: var(--s-4); }
  .page-hero { padding-bottom: var(--s-4); }
  .page-hero + .section,
  .section + .section { padding-top: var(--s-4); }
  .section-head { margin-bottom: var(--s-4); }
  .section-head {
    display: grid;
    gap: 0.75rem;
  }
  .az-filter {
    gap: 0.35rem 0.4rem;
    padding: 10px;
  }
  .az-filter__item {
    min-width: 1.85rem;
    height: 1.85rem;
    font-size: 13px;
  }
  .ondpo-msc-item .chip {
    white-space: normal;
  }
  .msc:not(.is-list) .ondpo-msc-item .chip {
    white-space: normal;
  }
  .quiz-option {
    flex: 1 1 100%;
  }
  .quiz-options--ranks .quiz-option {
    flex: 1 1 auto;
  }
  .program-quiz__head {
    align-items: flex-start;
  }
  .program-quiz__progress {
    flex: 1 1 100%;
  }
  .city-modal-card {
    width: min(100vw - 24px, 720px);
    max-height: calc(100vh - 24px);
    padding: 16px;
  }
  .footer {
    padding: var(--s-6) 0 var(--s-4);
  }
  .btn {
    min-height: 44px;
    padding: 0 16px;
  }
}

@media (max-width: 420px) {
  .header-phone { display: none; }
  .site-nav-panel__actions .btn {
    flex-basis: 100%;
  }
}

/* —— Backlog UI: header, price dup, new program blocks —— */
.topbar-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1rem;
}
.topbar-tg {
  font-weight: 700;
  color: #fff !important;
}
.header-max {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex: 0 0 auto;
  height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, #471aff 0%, #6e1aff 48%, #9500ff 100%);
  color: #fff !important;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.04em;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(71, 26, 255, 0.32);
  transition: filter .15s ease, transform .15s ease, box-shadow .15s ease;
}
.header-max:hover {
  color: #fff !important;
  filter: brightness(1.06);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(149, 0, 255, 0.36);
}
.header-max:focus-visible {
  outline: 2px solid #0d001a;
  outline-offset: 2px;
}
.header-max__icon {
  flex: 0 0 auto;
  display: block;
  width: 18px;
  height: 18px;
}
.header-max__label {
  line-height: 1;
}
.city-btn--mobile {
  display: none;
  width: 100%;
  justify-content: center;
  margin-bottom: 0.75rem;
}
.program-price-card--sidebar.is-dup-hidden {
  display: none;
}

.help-band {
  padding: var(--section-y) 0;
}
.help-band__card {
  background: #1f6feb;
  color: #fff;
  border-radius: 20px;
  padding: clamp(20px, 3vw, 32px);
  box-shadow: var(--shadow);
}
.help-band__top {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 1rem 1.5rem;
  margin-bottom: 1.1rem;
  align-items: start;
}
.help-band__title {
  margin: 0;
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.2;
  color: #fff;
}
.help-band__benefits {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}
.help-band__benefits li {
  position: relative;
  padding-left: 1.7rem;
  font-size: 15px;
}
.help-band__benefits li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.15rem;
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 4px;
  background: #22c55e url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='2' d='M3.5 8.5l3 3 6-6'/%3E%3C/svg%3E") center/12px no-repeat;
}
.help-form__row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 0.85rem;
  align-items: end;
}
.help-form__row .form-field {
  flex: 1 1 180px;
  min-width: 0;
}
.help-form .form-label {
  color: rgba(255,255,255,.92);
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: .04em;
}
.help-form input[type="text"],
.help-form input[type="tel"] {
  width: 100%;
  min-height: 48px;
  border: 0;
  border-radius: 12px;
  padding: 0 14px;
  font: inherit;
}
.btn-help {
  flex: 0 0 auto;
  background: #fff;
  color: #1f6feb;
  border-radius: 999px;
  min-height: 48px;
  padding: 0 22px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .02em;
}
.btn-help:hover { background: #e8f1ff; color: #1554c0; }
.help-form__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.25rem;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.9rem;
}
.help-form__channels-label {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .05em;
  opacity: .9;
  margin-bottom: 0.4rem;
}
.help-form__channel-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.help-channel {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 2px solid transparent;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0,0,0,.12);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease, filter .15s ease;
}
.help-channel svg { display: block; }
.help-channel:hover {
  transform: translateY(-1px);
  filter: brightness(1.06);
}
.help-channel.is-active {
  border-color: #fff;
  box-shadow: 0 0 0 2px rgba(255,255,255,.35), 0 6px 16px rgba(0,0,0,.18);
}
.help-channel--phone { background: #e53935; }
.help-channel--email { background: #5c6bc0; }
.help-channel--whatsapp { background: #25d366; }
.help-channel--telegram { background: #229ed9; }
.help-channel--viber { background: #7360f2; }

.help-agree {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  max-width: 28rem;
  cursor: pointer;
  color: rgba(255,255,255,.95);
  font-size: 13px;
  line-height: 1.4;
  user-select: none;
}
.help-agree input {
  position: absolute !important;
  opacity: 0 !important;
  width: 1px !important;
  height: 1px !important;
  margin: 0 !important;
  pointer-events: none;
}
.help-agree__box {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  border-radius: 6px;
  border: 2px solid rgba(255,255,255,.85);
  background: rgba(255,255,255,.12);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
  position: relative;
  transition: background .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.help-agree__box::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 2px;
  width: 6px;
  height: 11px;
  border: solid #fff;
  border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg) scale(0);
  opacity: 0;
  transition: transform .15s ease, opacity .15s ease;
}
.help-agree input:checked + .help-agree__box {
  background: #22c55e;
  border-color: #22c55e;
  box-shadow: 0 0 0 3px rgba(34,197,94,.25);
}
.help-agree input:checked + .help-agree__box::after {
  opacity: 1;
  transform: rotate(45deg) scale(1);
}
.help-agree input:focus-visible + .help-agree__box {
  box-shadow: 0 0 0 3px rgba(255,255,255,.45);
}
.help-agree.is-novalid .help-agree__box,
.help-agree.is-shake .help-agree__box {
  border-color: #fecaca;
  background: rgba(225, 29, 72, .25);
  box-shadow: 0 0 0 3px rgba(225, 29, 72, .35);
}
.help-agree__text a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.help-agree__text a:hover { opacity: .9; }

.trust-tabs__title {
  margin: 0 0 1rem;
  font-size: clamp(24px, 3vw, 34px);
  color: var(--c-navy);
  max-width: 28ch;
}
.trust-tabs__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.trust-tabs__btn {
  border: 1px solid var(--c-border);
  background: #fff;
  color: var(--c-muted);
  border-radius: 999px;
  min-height: 42px;
  padding: 0 18px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.trust-tabs__btn.is-active {
  background: var(--c-teal);
  border-color: var(--c-teal);
  color: #fff;
}
.trust-tabs__panel {
  background: #f3f5f7;
  border-radius: 18px;
  padding: clamp(16px, 2.5vw, 28px);
}
.trust-tabs__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(220px, .7fr);
  gap: 1.25rem 1.75rem;
  align-items: start;
}
.trust-tabs__text h3 {
  margin: 0 0 0.75rem;
  color: var(--c-navy);
}
.trust-tabs__callout {
  margin: 1rem 0;
  padding: 0.75rem 0.9rem;
  border-left: 3px solid var(--c-teal);
  background: rgba(13,155,138,.08);
  color: var(--c-text);
  font-size: 14px;
}
.trust-tabs__media {
  background: #fff;
  border-radius: 14px;
  padding: 10px;
  box-shadow: var(--shadow);
}
.trust-tabs__media img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.director-video__card {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, .9fr);
  gap: 1.25rem 1.75rem;
  align-items: center;
  background: #f3f5f7;
  border-radius: 20px;
  padding: clamp(16px, 2.5vw, 28px);
}
.director-video__eyebrow {
  margin: 0 0 0.35rem;
  color: var(--c-muted);
  font-size: 14px;
}
.director-video__card h2 {
  margin: 0 0 0.85rem;
  color: var(--c-navy);
  font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.2;
}
.director-video__list {
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.45rem;
}
.director-video__list li { color: var(--c-text); }
.director-video__sign {
  margin: 0;
  color: var(--c-muted);
  font-size: 14px;
}
.director-video__play {
  position: relative;
  display: block;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.director-video__play img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.director-video__play-btn {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 68px;
  height: 68px;
  margin: -34px 0 0 -34px;
  border-radius: 50%;
  background: var(--c-teal);
  box-shadow: 0 10px 24px rgba(13,155,138,.35);
}
.director-video__play-btn::before {
  content: "";
  position: absolute;
  left: 27px;
  top: 22px;
  border-style: solid;
  border-width: 12px 0 12px 18px;
  border-color: transparent transparent transparent #fff;
}

.job-guide__card {
  background: var(--c-bg);
  border-radius: 18px;
  padding: clamp(16px, 2.5vw, 28px);
  border: 1px solid var(--c-border);
}
.job-guide__lead {
  color: var(--c-muted);
  max-width: 70ch;
}

.faq-list { display: grid; gap: 0.65rem; }
.faq-item {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: 14px;
  padding: 0.2rem 1rem;
}
.faq-item__q {
  position: relative;
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  color: var(--c-navy);
  padding: 0.85rem 2rem 0.85rem 0;
}
.faq-item__q::-webkit-details-marker { display: none; }
.faq-item__q::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 0.85rem;
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--c-teal);
}
.faq-item[open] .faq-item__q::after { content: "\2212"; }
.faq-item__a {
  padding: 0 0 0.95rem;
  color: var(--c-text);
}

.program-reviews__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.review-card {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: 16px;
  padding: 1rem 1.1rem;
  box-shadow: var(--shadow);
}
.review-card__head {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  margin-bottom: 0.65rem;
}
.review-card__head img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}
.review-card__head strong { display: block; color: var(--c-navy); }
.review-card__head span { color: var(--c-muted); font-size: 13px; }

.team-carousel__nav { display: flex; gap: 0.5rem; }
.team-carousel__track {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 0.35rem;
  -webkit-overflow-scrolling: touch;
}
.team-card {
  flex: 0 0 min(220px, 70vw);
  scroll-snap-align: start;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: 16px;
  padding: 1rem;
  text-align: center;
}
.team-card__photo {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  margin: 0 auto 0.75rem;
  background: var(--c-bg);
}
.team-card h3 {
  margin: 0 0 0.25rem;
  font-size: 17px;
  color: var(--c-navy);
}
.team-card p {
  margin: 0;
  color: var(--c-muted);
  font-size: 14px;
}

.related-programs__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.corner-video {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 60;
  width: min(180px, 42vw);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(15, 42, 68, 0.25);
  background: #0f2a44;
}
.corner-video[hidden] { display: none !important; }
.corner-video__thumb {
  display: block;
  position: relative;
}
.corner-video__thumb img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.corner-video__play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 36px;
  height: 36px;
  margin: -18px 0 0 -18px;
  border-radius: 50%;
  background: var(--c-teal);
}
.corner-video__play::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 11px;
  border-style: solid;
  border-width: 7px 0 7px 11px;
  border-color: transparent transparent transparent #fff;
}
.corner-video__close {
  position: absolute;
  top: 4px;
  right: 4px;
  z-index: 2;
  width: 24px;
  height: 24px;
  border: 0;
  border-radius: 50%;
  background: rgba(0,0,0,.55);
  color: #fff;
  cursor: pointer;
  line-height: 1;
}

@media (max-width: 1100px) {
  .city-btn--desktop,
  .header-max { display: none; }
  .city-btn--mobile { display: inline-flex; }
  .help-band__top,
  .trust-tabs__grid,
  .director-video__card {
    grid-template-columns: 1fr;
  }
  .program-reviews__grid,
  .related-programs__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .program-reviews__grid,
  .related-programs__grid {
    grid-template-columns: 1fr;
  }
  .corner-video {
    left: 12px;
    bottom: 72px;
    width: 132px;
  }
  body.has-cookie-banner .corner-video {
    bottom: 140px;
  }
}

/* —— Services (not catalog) —— */
.service-intro {
  margin: 0 0 1.5rem;
  max-width: 70ch;
  color: var(--c-muted);
}
.service-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
}
.service-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: 18px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.service-card:hover {
  transform: translateY(-2px);
  border-color: #b9d9d2;
  box-shadow: 0 10px 28px rgba(15, 42, 68, 0.1);
}
.service-card__media {
  display: block;
  aspect-ratio: 16 / 9;
  background: #e8f4f1;
  overflow: hidden;
}
.service-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.service-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 1rem 1.1rem 1.15rem;
  flex: 1 1 auto;
}
.service-card__title {
  font-size: 1.15rem;
  color: var(--c-navy);
}
.service-card__text {
  color: var(--c-muted);
  font-size: 0.95rem;
  line-height: 1.45;
}
.service-card__more {
  margin-top: auto;
  font-weight: 700;
  color: var(--c-teal-dark);
}
.service-layout {
  align-items: start;
}
.service-cover {
  margin: 0 0 1.25rem;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--c-border);
  background: transparent;
  line-height: 0;
}
.content-wrap > div:first-child .service-cover img,
.content .service-cover img,
.prose .service-cover img,
.service-cover img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  margin: 0;
  border-radius: 0;
}
.service-text {
  color: var(--c-text);
  font-size: 1.05rem;
  line-height: 1.65;
  white-space: pre-line;
}
.service-text p {
  margin: 0 0 1em;
  white-space: normal;
}
@media (max-width: 1100px) {
  .service-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 720px) {
  .service-cards {
    grid-template-columns: 1fr;
  }
}
