:root {
  --navy: #12306b;
  --navy-dark: #0a1f48;
  --blue: #2b86f6;
  --coral: #ef3f5f;
  --coral-dark: #d82b4b;
  --cream: #fff6ea;
  --paper: #ffffff;
  --soft: #f4f7fc;
  --ink: #13213a;
  --muted: #5e6b7f;
  --line: #dce4ef;
  --success: #15855b;
  --shadow: 0 24px 60px rgba(18, 48, 107, 0.13);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--navy);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--coral-dark);
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
.button {
  min-height: 48px;
}

:focus-visible {
  outline: 3px solid rgba(43, 134, 246, 0.45);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 8px;
  left: 8px;
  padding: 10px 14px;
  color: #fff;
  background: var(--navy-dark);
  border-radius: 10px;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.narrow {
  width: min(calc(100% - 40px), 860px);
  margin-inline: auto;
}

.section {
  padding: 96px 0;
}

.section--soft {
  background: var(--soft);
}

.section--cream {
  background: var(--cream);
}

.section-head {
  max-width: 760px;
  margin: 0 auto 48px;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  color: var(--coral-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 28px;
  height: 3px;
  content: "";
  background: currentColor;
  border-radius: 99px;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 0.55em;
  color: var(--navy-dark);
  font-weight: 800;
  line-height: 1.12;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.45rem, 5vw, 4.6rem);
  letter-spacing: -0.045em;
}

h2 {
  font-size: clamp(2rem, 3.8vw, 3.25rem);
  letter-spacing: -0.035em;
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.55rem);
}

h4 {
  font-size: 1.08rem;
}

p {
  margin: 0 0 1.15em;
}

.lead {
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.3rem);
}

.mt-28 {
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 24px;
  color: #fff;
  background: var(--coral);
  border: 2px solid var(--coral);
  border-radius: 999px;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(239, 63, 95, 0.22);
  transition: transform 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

.button:hover {
  color: #fff;
  background: var(--coral-dark);
  border-color: var(--coral-dark);
  box-shadow: 0 14px 32px rgba(239, 63, 95, 0.3);
  transform: translateY(-2px);
}

.button:disabled,
.button[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: 0.55;
  transform: none;
}

.button--outline {
  color: var(--navy);
  background: transparent;
  border-color: rgba(18, 48, 107, 0.35);
  box-shadow: none;
}

.button--outline:hover {
  color: var(--navy-dark);
  background: #fff;
  border-color: var(--navy);
}

.button--light {
  color: var(--navy-dark);
  background: #fff;
  border-color: #fff;
  box-shadow: none;
}

.button--light:hover {
  color: var(--navy-dark);
  background: var(--cream);
  border-color: var(--cream);
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid rgba(220, 228, 239, 0.88);
  backdrop-filter: blur(14px);
}

.header-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  min-height: 78px;
  gap: clamp(16px, 2vw, 28px);
}

.site-header .header-row {
  width: min(calc(100% - 40px), 1360px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--navy-dark);
  font-size: 1.15rem;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.brand img {
  width: 54px;
  height: 54px;
  object-fit: contain;
}

.brand-name {
  display: flex;
  flex-direction: column;
}

.brand-name span:last-child {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.main-nav {
  justify-self: center;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: clamp(16px, 1.55vw, 24px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.main-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  color: var(--ink);
  font-size: 0.94rem;
  font-weight: 750;
  text-decoration: none;
  white-space: nowrap;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: var(--coral-dark);
}

.nav-mobile-only {
  display: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.header-phone {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--navy);
  font-size: 0.95rem;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

.header-socials {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.header-social {
  display: inline-grid;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  box-shadow: 0 6px 16px rgba(18, 48, 107, 0.13);
  place-items: center;
  transition: box-shadow 160ms ease, transform 160ms ease;
}

.header-social img {
  width: 32px;
  height: 32px;
}

.header-social:hover {
  box-shadow: 0 9px 22px rgba(18, 48, 107, 0.2);
  transform: translateY(-2px);
}

.header-actions .button {
  min-height: 44px;
  padding: 10px 18px;
  font-size: 0.92rem;
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  content: "";
  background: var(--navy-dark);
  border-radius: 4px;
  transition: transform 160ms ease, opacity 160ms ease;
}

.menu-toggle[aria-expanded="true"] span {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"]::before {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"]::after {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 650px;
  color: #fff;
  background: var(--navy-dark);
}

.hero::after {
  position: absolute;
  inset: auto -8% -38% 42%;
  width: 720px;
  height: 720px;
  content: "";
  background: rgba(43, 134, 246, 0.22);
  border-radius: 50%;
  filter: blur(4px);
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 64% 45%;
}

.hero-media::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(4, 19, 49, 0.95) 0%, rgba(7, 28, 65, 0.83) 46%, rgba(7, 28, 65, 0.2) 78%, rgba(7, 28, 65, 0.08) 100%),
    linear-gradient(0deg, rgba(4, 19, 49, 0.35), transparent 50%);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  min-height: 650px;
  padding: 76px 0 92px;
}

.hero-copy {
  max-width: 710px;
}

.hero .eyebrow {
  color: #ffb5c2;
}

.hero h1 {
  color: #fff;
}

.hero .lead {
  max-width: 660px;
  color: rgba(255, 255, 255, 0.86);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.hero-actions .button--outline {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.62);
}

.hero-actions .button--outline:hover {
  color: var(--navy-dark);
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}

.hero-proof li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.95rem;
  font-weight: 750;
}

.hero-proof li::before {
  display: grid;
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  place-items: center;
  content: "✓";
  color: var(--navy-dark);
  background: #fff;
  border-radius: 50%;
  font-size: 0.78rem;
  font-weight: 900;
}

.quick-strip {
  position: relative;
  z-index: 4;
  margin-top: -38px;
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.quick-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 24px;
}

.quick-item + .quick-item {
  border-left: 1px solid var(--line);
}

.quick-mark {
  display: grid;
  width: 52px;
  height: 52px;
  flex: 0 0 auto;
  place-items: center;
  background: #eff6ff;
  border: 1px solid rgba(43, 134, 246, 0.18);
  border-radius: 16px;
  box-shadow: inset 0 1px 0 #fff;
}

.quick-mark img {
  display: block;
  width: 39px;
  height: 39px;
}

.quick-item strong {
  display: block;
  color: var(--navy-dark);
}

.quick-item > div > span {
  color: var(--muted);
  font-size: 0.92rem;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.benefit-card {
  min-width: 0;
  padding: 30px 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  text-align: center;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.benefit-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-5px);
}

.benefit-card img {
  width: 138px;
  height: 138px;
  margin: 0 auto 18px;
  object-fit: contain;
}

.benefit-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.course-card {
  display: flex;
  overflow: hidden;
  min-width: 0;
  flex-direction: column;
  color: inherit;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.course-card:hover {
  color: inherit;
  box-shadow: var(--shadow);
  transform: translateY(-5px);
}

.course-media {
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--soft);
}

.course-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 380ms ease;
}

.course-card:hover .course-media img {
  transform: scale(1.04);
}

.course-body {
  display: flex;
  min-height: 230px;
  flex: 1;
  flex-direction: column;
  padding: 24px;
}

.course-label {
  margin-bottom: 10px;
  color: var(--coral-dark);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.course-body p {
  color: var(--muted);
  font-size: 0.96rem;
}

.course-link {
  margin-top: auto;
  color: var(--navy);
  font-weight: 900;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: 64px;
}

.split-media {
  position: relative;
}

.split-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.split-media::after {
  position: absolute;
  z-index: -1;
  right: -24px;
  bottom: -24px;
  width: 72%;
  height: 72%;
  content: "";
  background: var(--cream);
  border-radius: var(--radius-xl);
}

.check-list {
  display: grid;
  gap: 14px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 36px;
}

.check-list li::before {
  position: absolute;
  top: 2px;
  left: 0;
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  content: "✓";
  color: #fff;
  background: var(--success);
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 900;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  counter-reset: steps;
}

.step {
  position: relative;
  padding: 30px 24px 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  counter-increment: steps;
}

.step::before {
  display: grid;
  width: 44px;
  height: 44px;
  margin-bottom: 20px;
  place-items: center;
  content: counter(steps);
  color: #fff;
  background: var(--navy);
  border-radius: 14px;
  font-size: 1.05rem;
  font-weight: 900;
}

.step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.teacher-panel {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  overflow: hidden;
  background: var(--navy-dark);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.teacher-photo {
  min-height: 430px;
}

.teacher-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.teacher-copy {
  display: flex;
  justify-content: center;
  flex-direction: column;
  padding: 54px;
  color: rgba(255, 255, 255, 0.86);
}

.teacher-copy h2,
.teacher-copy h3 {
  color: #fff;
}

.teacher-copy .eyebrow {
  color: #ffb5c2;
}

.teacher-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 16px 0 26px;
  padding: 0;
  list-style: none;
}

.teacher-tags li {
  padding: 7px 12px;
  background: rgba(255, 255, 255, 0.11);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 800;
}

.teacher-tags a {
  color: inherit;
  text-decoration: none;
}

.teacher-tags a:hover,
.teacher-tags a:focus-visible {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.price-panel {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: start;
  gap: 44px;
  padding: 44px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.price-preview { display: grid; gap: 14px; }

.price-preview__card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 4px 20px;
  padding: 22px 24px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.price-preview__card > span { color: var(--navy-dark); font-weight: 800; }
.price-preview__card strong { grid-row: 1 / span 2; grid-column: 2; color: var(--navy); font-size: clamp(1.25rem, 2vw, 1.65rem); white-space: nowrap; }
.price-preview__card small { color: var(--muted); }
.price-preview__card--accent { color: #fff; background: var(--navy); border-color: var(--navy); }
.price-preview__card--accent > span,
.price-preview__card--accent strong,
.price-preview__card--accent small { color: #fff; }

.cta {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: var(--navy);
}

.cta::before,
.cta::after {
  position: absolute;
  content: "";
  border-radius: 50%;
}

.cta::before {
  top: -260px;
  right: -130px;
  width: 560px;
  height: 560px;
  background: rgba(43, 134, 246, 0.28);
}

.cta::after {
  bottom: -210px;
  left: -120px;
  width: 420px;
  height: 420px;
  background: rgba(239, 63, 95, 0.22);
}

.cta-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 54px;
}

.cta h2 {
  color: #fff;
}

.cta .lead {
  color: rgba(255, 255, 255, 0.82);
}

.cta-phone .button {
  margin-top: 16px;
}

.lead-form {
  padding: 30px;
  color: var(--ink);
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field {
  display: grid;
  gap: 7px;
}

.field--full {
  grid-column: 1 / -1;
}

.field label {
  color: var(--navy-dark);
  font-size: 0.85rem;
  font-weight: 850;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  color: var(--ink);
  background: #fff;
  border: 1px solid #bdc9d8;
  border-radius: 12px;
}

.field textarea {
  min-height: 106px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--blue);
  outline: 3px solid rgba(43, 134, 246, 0.18);
}

.consent {
  display: grid;
  grid-template-columns: 22px 1fr;
  align-items: start;
  gap: 10px;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.45;
}

.consent input {
  width: 20px;
  height: 20px;
  margin: 1px 0 0;
}

.honeypot {
  position: absolute;
  left: -10000px;
}

.form-status {
  display: none;
  margin: 0 0 16px;
  padding: 12px 14px;
  color: #0c593c;
  background: #e6f7ef;
  border: 1px solid #a8ddc6;
  border-radius: 12px;
  font-weight: 750;
}

.form-status.is-visible {
  display: block;
}

.contacts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.contact-card {
  padding: 34px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.contact-list {
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact-list li {
  display: grid;
  gap: 2px;
}

.contact-list span {
  color: var(--muted);
  font-size: 0.83rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.contact-list a,
.contact-list strong {
  color: var(--navy-dark);
  font-size: 1.08rem;
  font-weight: 850;
}

.contact-photo {
  overflow: hidden;
  min-height: 420px;
  border-radius: var(--radius-lg);
}

.contact-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.site-footer {
  padding: 62px 0 24px;
  color: rgba(255, 255, 255, 0.75);
  background: #071735;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.85fr 0.85fr 1fr;
  gap: 36px;
}

.site-footer h3 {
  color: #fff;
  font-size: 1rem;
}

.site-footer ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  color: rgba(255, 255, 255, 0.76);
  text-decoration: none;
}

.site-footer a:hover {
  color: #fff;
}

.footer-contact-list {
  gap: 12px;
}

.site-footer .footer-contact {
  align-items: flex-start;
  min-width: 0;
  gap: 12px;
  line-height: 1.35;
}

.footer-contact__icon {
  width: 32px;
  height: 32px;
  margin-top: 1px;
  border-radius: 50%;
  box-shadow: 0 7px 18px rgba(0, 0, 0, 0.18);
  flex: 0 0 32px;
}

.footer-contact span {
  min-width: 0;
  padding-top: 5px;
  overflow-wrap: anywhere;
}

.footer-brand .brand {
  margin-bottom: 18px;
  color: #fff;
}

.footer-brand .brand-name span:last-child {
  color: rgba(255, 255, 255, 0.62);
}

.footer-bottom {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  margin-top: 46px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.82rem;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom p:last-child {
  justify-self: end;
}

.footer-credit {
  justify-self: center;
  color: rgba(255, 255, 255, 0.68);
  text-align: center;
}

.site-footer .footer-credit a {
  color: #fff;
  font-weight: 800;
  text-decoration-color: rgba(255, 255, 255, 0.38);
  text-underline-offset: 4px;
}

.site-footer .footer-credit a:hover,
.site-footer .footer-credit a:focus-visible {
  color: #9ecbff;
  text-decoration-color: currentColor;
}

.breadcrumb {
  padding: 18px 0;
  color: var(--muted);
  background: var(--soft);
  font-size: 0.85rem;
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.breadcrumb li + li::before {
  margin-right: 8px;
  content: "→";
  color: #9aa7b8;
}

.page-hero {
  padding: 68px 0;
  color: #fff;
  background:
    radial-gradient(circle at 85% 20%, rgba(43, 134, 246, 0.42), transparent 32%),
    linear-gradient(135deg, var(--navy-dark), var(--navy));
}

.page-hero h1 {
  max-width: 940px;
  color: #fff;
  font-size: clamp(2.25rem, 4.6vw, 4rem);
}

.page-hero .lead {
  max-width: 760px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.78);
}

.page-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  align-items: center;
  gap: 54px;
}

.page-hero__copy {
  min-width: 0;
}

.page-hero__media {
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 28px;
  box-shadow: 0 28px 60px rgba(1, 13, 36, 0.34);
}

.page-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.page-hero__actions .button--outline {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.58);
}

.page-hero__actions .button--outline:hover,
.landing-cta .button--outline:hover {
  color: var(--navy-dark);
  background: #fff;
  border-color: #fff;
}

.page-hero--visual {
  position: relative;
  display: grid;
  min-height: clamp(430px, 42vw, 560px);
  overflow: hidden;
  padding: 0;
  background: var(--navy-dark);
  isolation: isolate;
}

.page-hero--visual::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(4, 19, 49, 0.98) 0%, rgba(6, 27, 64, 0.9) 42%, rgba(7, 31, 72, 0.52) 72%, rgba(7, 31, 72, 0.25) 100%),
    linear-gradient(0deg, rgba(4, 19, 49, 0.3), transparent 48%);
}

.page-hero--visual .page-hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  min-height: inherit;
  padding: 64px 0;
}

.page-hero--visual .page-hero__copy {
  width: min(100%, 820px);
}

.page-hero--visual .page-hero__media {
  position: absolute;
  z-index: 0;
  inset: 0;
  max-width: none;
  overflow: hidden;
  margin: 0;
  aspect-ratio: auto;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.page-hero--visual .page-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 42%;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  align-items: start;
  gap: 56px;
}

.landing-overview {
  position: relative;
  z-index: 2;
  margin-top: -26px;
}

.landing-overview__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.landing-point { position: relative; padding: 26px; }
.landing-point + .landing-point { border-left: 1px solid var(--line); }
.landing-point > span { display: inline-block; margin-bottom: 12px; color: var(--coral); font-weight: 900; letter-spacing: .08em; }
.landing-point h2 { margin: 0 0 8px; color: var(--navy-dark); font-size: 1.15rem; }
.landing-point p { margin: 0; color: var(--muted); font-size: .94rem; }

.section--compact { padding: 58px 0 10px; }
.landing-copy > .container { max-width: 980px; }
.landing-copy h2 { margin: 0 0 18px; color: var(--navy-dark); }
.landing-copy p { color: #43536d; }

.landing-cta { padding: 64px 0; color: #fff; background: var(--navy); }
.landing-cta__inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 44px; }
.landing-cta h2 { max-width: 760px; margin: 0 0 12px; color: #fff; }
.landing-cta p { max-width: 720px; margin: 0; color: rgba(255,255,255,.78); }
.landing-cta .eyebrow { margin-bottom: 10px; color: #9ccfff; }
.landing-cta__actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 12px; }
.landing-cta .button--outline { color: #fff; border-color: rgba(255,255,255,.55); }

.page-faq { margin-top: 42px; }
.faq-layout { display: grid; grid-template-columns: minmax(260px, .75fr) minmax(0, 1.25fr); gap: 56px; align-items: start; }
.faq-list { display: grid; gap: 12px; }
.faq-list details { padding: 18px 20px; background: #fff; border: 1px solid var(--line); border-radius: 15px; }
.faq-list summary { color: var(--navy-dark); font-weight: 850; cursor: pointer; }
.faq-list details p { margin: 12px 0 0; color: var(--muted); }

.service-sections {
  display: grid;
  gap: 22px;
}

.service-section {
  position: relative;
  overflow: hidden;
  padding: 32px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 38px rgba(18, 48, 107, 0.07);
}

.service-section::after {
  position: absolute;
  right: -38px;
  bottom: -56px;
  width: 150px;
  height: 150px;
  content: "";
  background: rgba(47, 145, 255, 0.06);
  border-radius: 50%;
}

.service-section__number {
  display: block;
  margin-bottom: 12px;
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.1em;
}

.service-section h2 {
  margin: 0 0 10px;
  color: var(--navy-dark);
  font-size: clamp(1.45rem, 2.7vw, 2rem);
}

.service-section > p {
  max-width: 720px;
  margin: 0 0 20px;
  color: var(--muted);
}

.service-list {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-list li {
  position: relative;
  padding-left: 24px;
}

.service-list li::before {
  position: absolute;
  top: 0.55em;
  left: 0;
  width: 9px;
  height: 9px;
  content: "";
  background: var(--blue);
  border: 3px solid #dcecff;
  border-radius: 50%;
}

.service-list--contacts {
  gap: 14px 22px;
}

.service-list--contacts li {
  min-width: 0;
  padding-left: 0;
}

.service-list--contacts li::before {
  display: none;
}

.contact-channel {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  min-height: 42px;
  gap: 12px;
  color: var(--navy);
  font-weight: 760;
  line-height: 1.25;
  text-decoration: none;
}

.contact-channel__icon {
  width: 32px;
  height: 32px;
  margin: 0;
  border-radius: 50%;
  box-shadow: 0 6px 15px rgba(18, 48, 107, 0.12);
  flex: 0 0 32px;
}

.article .contact-channel__icon {
  width: 32px;
  height: 32px;
  margin: 0;
  border-radius: 50%;
}

.contact-channel span {
  overflow-wrap: anywhere;
  text-decoration: underline;
  text-decoration-color: rgba(18, 48, 107, 0.34);
  text-underline-offset: 4px;
}

.contact-channel:hover span {
  color: var(--coral-dark);
  text-decoration-color: currentColor;
}

.course-teacher {
  display: grid;
  grid-template-columns: minmax(230px, 2fr) minmax(0, 3fr);
  overflow: hidden;
  margin-top: 36px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 38px rgba(18, 48, 107, 0.08);
}

.course-teacher__photo {
  min-height: 100%;
  background: var(--soft);
}

.article .course-teacher__photo img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  max-height: none;
  margin: 0;
  object-fit: cover;
  object-position: center 24%;
  border-radius: 0;
}

.course-teacher__content {
  align-self: center;
  padding: clamp(26px, 4vw, 44px);
}

.course-teacher__content h2 {
  margin: 0 0 8px;
  color: var(--navy-dark);
  font-size: clamp(1.5rem, 2.7vw, 2.15rem);
}

.course-teacher__role {
  margin: 0 0 18px;
  color: var(--coral-dark);
  font-weight: 850;
}

.course-teacher__content .text-link {
  display: inline-flex;
  margin-top: 6px;
}

.start-process {
  margin-top: 48px;
}

.start-process > h2 {
  margin: 0 0 22px;
}

.start-process__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
}

.start-process__grid li {
  padding: 22px;
  background: var(--soft);
  border-radius: 16px;
}

.start-process__grid span {
  display: grid;
  width: 34px;
  height: 34px;
  margin-bottom: 14px;
  color: #fff;
  background: var(--navy);
  border-radius: 50%;
  font-weight: 900;
  place-items: center;
}

.start-process__grid strong {
  display: block;
  color: var(--navy-dark);
}

.start-process__grid p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.context-links {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 34px;
}

.context-links a {
  padding: 9px 13px;
  color: var(--navy);
  background: #edf5ff;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 800;
  text-decoration: none;
}

.catalog-intro {
  max-width: 780px;
  color: var(--muted);
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.catalog-card {
  display: flex;
  overflow: hidden;
  min-width: 0;
  min-height: 220px;
  padding: 0;
  color: inherit;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: 0 14px 34px rgba(18, 48, 107, 0.07);
  flex-direction: column;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.catalog-card__image {
  display: block;
  overflow: hidden;
  width: 100%;
  block-size: clamp(150px, 16vw, 180px);
  margin: 0;
  background: var(--soft);
  flex: 0 0 auto;
}

.catalog-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.28s ease;
}

.catalog-card:hover .catalog-card__image img {
  transform: scale(1.035);
}

.catalog-card:hover {
  border-color: #afcff7;
  box-shadow: 0 20px 44px rgba(18, 48, 107, 0.12);
  transform: translateY(-4px);
}

.catalog-card__body {
  display: flex;
  min-width: 0;
  padding: 24px 26px 26px;
  flex: 1;
  flex-direction: column;
}

.catalog-card__meta {
  align-self: flex-start;
  margin-bottom: 22px;
  padding: 6px 10px;
  color: var(--navy);
  background: #edf5ff;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.catalog-card h3 {
  margin: 0 0 10px;
  color: var(--navy-dark);
  font-size: 1.3rem;
  overflow-wrap: anywhere;
}

.catalog-card p {
  margin: 0 0 20px;
  color: var(--muted);
}

.catalog-card strong {
  margin-top: auto;
  color: var(--blue);
}

.selection-guide {
  margin-top: 54px;
  padding: 34px;
  background: var(--cream);
  border-radius: var(--radius-lg);
}

.selection-guide > h2 {
  margin: 0 0 24px;
}

.selection-guide__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.selection-guide__grid strong {
  color: var(--navy-dark);
}

.selection-guide__grid p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.archive-notice,
.editorial-summary,
.article-toc,
.legal-toc {
  margin: 0 0 32px;
  padding: 24px 26px;
  border-radius: 18px;
}

.archive-notice {
  background: #fff6e8;
  border: 1px solid #f3d5a4;
}

.archive-notice > strong {
  color: #985a00;
}

.archive-notice p {
  margin: 9px 0 12px;
  color: #6d5636;
}

.editorial-summary {
  background: #edf5ff;
  border-left: 5px solid var(--blue);
}

.editorial-summary h2 {
  margin: 0 0 12px;
  font-size: 1.4rem;
}

.editorial-summary ul {
  margin: 0;
}

.editorial-section + .editorial-section {
  margin-top: 44px;
  padding-top: 38px;
  border-top: 1px solid var(--line);
}

.editorial-section h2 {
  margin: 0 0 14px;
}

.editorial-section > p {
  max-width: 72ch;
  color: #43536d;
}

.editorial-checklist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 22px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.editorial-checklist li {
  position: relative;
  padding: 13px 14px 13px 38px;
  background: var(--soft);
  border-radius: 12px;
}

.editorial-checklist li::before {
  position: absolute;
  top: 16px;
  left: 15px;
  content: "✓";
  color: var(--blue);
  font-weight: 950;
}

.article-toc,
.legal-toc {
  background: var(--soft);
  border: 1px solid var(--line);
}

.article-toc > strong,
.legal-toc > strong {
  display: block;
  margin-bottom: 12px;
  color: var(--navy-dark);
  font-size: 1.05rem;
}

.article-toc ol,
.legal-toc ol {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 22px;
}

.article-toc a,
.legal-toc a {
  overflow-wrap: anywhere;
}

.article-layout--single {
  grid-template-columns: minmax(0, 1fr);
}

.legal-article {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}

.section-head--left { max-width: 790px; margin-right: auto; margin-left: 0; text-align: left; }
.price-catalog { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.price-card { overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: 0 14px 36px rgba(18,48,107,.08); }
.price-card__header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 24px; color: #fff; background: var(--navy); }
.price-card__header h3 { margin: 0; color: #fff; font-size: 1.15rem; }
.price-card__header h3 a { color: inherit; text-decoration-color: rgba(255,255,255,.55); text-underline-offset: 4px; }
.price-card__header h3 a:hover,
.price-card__header h3 a:focus-visible { text-decoration-color: #fff; }
.price-card__header span { flex: 0 0 auto; padding: 5px 9px; color: var(--navy); background: #fff; border-radius: 999px; font-size: .78rem; font-weight: 900; }
.price-card__table-wrap { overflow-x: auto; }
.price-table { width: 100%; border-collapse: collapse; }
.price-table th,
.price-table td { padding: 15px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.price-table thead th { color: var(--muted); background: var(--soft); font-size: .76rem; letter-spacing: .04em; text-transform: uppercase; }
.price-table tbody th { color: var(--navy-dark); font-size: .92rem; }
.price-table td { color: var(--muted); font-size: .88rem; }
.price-table td:last-child { min-width: 130px; color: var(--navy-dark); }
.price-table td strong { display: inline-block; margin-right: 5px; color: var(--navy-dark); white-space: nowrap; }
.price-table td small { color: var(--muted); font-size: .7rem; white-space: nowrap; }
.price-table tr:last-child th,
.price-table tr:last-child td { border-bottom: 0; }
.price-updated { margin: 24px 0 0; color: var(--muted); font-size: .88rem; }

.smart-captcha { min-width: 0; min-height: 100px; }

.footer-utility { padding: 20px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer-utility .container { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.footer-utility a { color: rgba(255,255,255,.72); font-size: .82rem; }
.footer-utility a:hover { color: #fff; }
.site-footer > .container { padding-top: 42px; }

.article {
  min-width: 0;
  color: #24334b;
}

.article > p,
.article > ul,
.article > ol {
  max-width: 72ch;
}

.article h2,
.article h3,
.article h4 {
  margin-top: 1.55em;
  overflow-wrap: anywhere;
}

.article h2 {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
}

.article h2:first-child,
.article h3:first-child,
.article h4:first-child {
  margin-top: 0;
}

.article img {
  width: auto;
  max-height: 760px;
  margin: 28px auto;
  border-radius: var(--radius-md);
}

.article img[src*="/gallery/"] {
  display: inline-block;
  width: min(100%, 280px);
  margin: 8px 5px;
  vertical-align: top;
}

.article .catalog-card__image img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: none;
  margin: 0;
  object-fit: cover;
  border-radius: 0;
}

.event-principles {
  margin-top: 54px;
  padding: 34px;
  background: var(--cream);
  border-radius: var(--radius-lg);
}

.event-principles > h2 {
  margin: 0 0 24px;
}

.event-principles__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.event-principles__grid > div {
  padding: 20px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(220, 228, 239, 0.82);
  border-radius: 16px;
}

.event-principles__grid strong {
  color: var(--navy-dark);
}

.event-principles__grid p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.event-note {
  margin: 0 0 32px;
  padding: 22px 24px;
  background: #edf5ff;
  border: 1px solid #cfe2fa;
  border-left: 5px solid var(--blue);
  border-radius: 18px;
}

.event-note strong {
  color: var(--navy-dark);
}

.event-note p {
  margin: 8px 0 0;
  color: var(--muted);
}

.event-sections {
  display: grid;
  gap: 18px;
}

.event-section {
  position: relative;
  overflow: hidden;
  padding: 30px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: 0 14px 34px rgba(18, 48, 107, 0.07);
}

.event-section::after {
  position: absolute;
  right: -34px;
  bottom: -38px;
  width: 126px;
  height: 126px;
  content: "";
  background: rgba(47, 145, 255, 0.06);
  border-radius: 50%;
}

.event-section__number {
  display: block;
  margin-bottom: 12px;
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.1em;
}

.event-section h2 {
  margin: 0 0 10px;
  color: var(--navy-dark);
  font-size: clamp(1.45rem, 2.7vw, 2rem);
}

.event-section > p {
  max-width: 720px;
  margin: 0 0 20px;
  color: var(--muted);
}

.event-list {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.event-list li {
  position: relative;
  padding-left: 24px;
}

.event-list li::before {
  position: absolute;
  top: 0.55em;
  left: 0;
  width: 9px;
  height: 9px;
  content: "";
  background: var(--coral);
  border: 3px solid #ffe0e7;
  border-radius: 50%;
}

.event-gallery-section {
  margin-top: 54px;
}

.event-gallery-section > h2 {
  margin: 0 0 10px;
}

.event-gallery-section > p:not(.eyebrow) {
  margin: 0 0 24px;
  color: var(--muted);
}

.event-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.event-gallery__item {
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--soft);
  border-radius: 16px;
  box-shadow: 0 12px 28px rgba(18, 48, 107, 0.1);
  cursor: zoom-in;
}

.article .event-gallery__item img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: none;
  margin: 0;
  object-fit: cover;
  border-radius: 0;
  transition: transform 0.24s ease;
}

.event-gallery__item:hover img {
  transform: scale(1.035);
}

.event-gallery__item:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 4px;
}

body.lightbox-open {
  overflow: hidden;
}

.lightbox[hidden] {
  display: none;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: grid;
  place-items: center;
  padding: clamp(16px, 3vw, 38px);
  background: rgba(4, 20, 50, 0.94);
  overscroll-behavior: contain;
}

.lightbox__dialog {
  position: relative;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) 54px;
  align-items: center;
  gap: clamp(12px, 2vw, 24px);
  width: min(100%, 1440px);
  min-width: 0;
}

.lightbox__figure {
  display: flex;
  min-width: 0;
  margin: 0;
  align-items: center;
  flex-direction: column;
  justify-content: center;
}

.lightbox__image {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: calc(100dvh - 132px);
  object-fit: contain;
  border-radius: 14px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
  touch-action: pan-y pinch-zoom;
  user-select: none;
  -webkit-user-drag: none;
}

.lightbox__caption {
  display: flex;
  width: 100%;
  min-height: 28px;
  margin-top: 12px;
  color: #fff;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 0.88rem;
}

.lightbox__counter {
  font-weight: 800;
}

.lightbox__hint {
  color: rgba(255, 255, 255, 0.74);
}

.lightbox__nav,
.lightbox__close {
  display: grid;
  width: 50px;
  height: 50px;
  padding: 0;
  color: var(--navy-dark);
  background: #fff;
  border: 0;
  border-radius: 50%;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.lightbox__nav span {
  margin-top: -5px;
  font-size: 2.6rem;
  line-height: 1;
}

.lightbox__close {
  position: absolute;
  z-index: 2;
  top: 0;
  right: 0;
  transform: translate(22%, -22%);
}

.lightbox__close span {
  margin-top: -2px;
  font-size: 2rem;
  line-height: 1;
}

.lightbox__nav:hover,
.lightbox__close:hover,
.lightbox__nav:focus-visible,
.lightbox__close:focus-visible {
  color: #fff;
  background: var(--coral);
  outline: none;
}

.lightbox__nav:hover {
  transform: scale(1.06);
}

.lightbox__nav--prev {
  justify-self: end;
}

.lightbox__nav--next {
  justify-self: start;
}

.article table {
  display: block;
  overflow-x: auto;
  width: 100%;
  margin: 28px 0;
  border-collapse: collapse;
}

.article th,
.article td {
  padding: 12px 14px;
  border: 1px solid var(--line);
  text-align: left;
}

.article ul,
.article ol {
  padding-left: 1.35em;
}

.article iframe {
  max-width: 100%;
}

.teacher-directory-intro {
  margin-bottom: 30px;
  padding: 24px 28px;
  color: var(--navy-dark);
  background: var(--cream);
  border-left: 5px solid var(--coral);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.teacher-directory-intro p {
  margin: 0;
}

.teacher-directory {
  display: grid;
  gap: 28px;
}

.teacher-card {
  display: grid;
  grid-template-columns: minmax(260px, 2fr) minmax(0, 3fr);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: 0 18px 46px rgba(18, 48, 107, 0.1);
}

.teacher-card__photo {
  min-height: 100%;
  background: var(--soft);
}

.article .teacher-card__photo img {
  width: 100%;
  height: 100%;
  min-height: 330px;
  max-height: none;
  margin: 0;
  object-fit: cover;
  object-position: center 30%;
  border-radius: 0;
}

.article .teacher-card__photo--natalya img {
  object-position: 50% 36%;
}

.article .teacher-card__photo--anastasiya img {
  object-position: center 25%;
}

.teacher-card__content {
  align-self: center;
  padding: 30px 32px;
}

.teacher-card__number {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 16px;
  color: #fff;
  background: var(--navy);
  border-radius: 12px;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.article .teacher-card h2 {
  margin: 0;
  color: var(--navy-dark);
  font-size: clamp(1.45rem, 2.5vw, 2rem);
  line-height: 1.18;
}

.teacher-card__role {
  margin: 10px 0 20px;
  color: var(--coral-dark);
  font-weight: 800;
}

.teacher-card__content p:last-child,
.teacher-card__content ul:last-child {
  margin-bottom: 0;
}

.teacher-card__content ul {
  padding-left: 1.2em;
}

.teacher-card__actions {
  margin-top: 22px;
}

.teacher-card--brief .teacher-card__content {
  min-height: 230px;
  align-content: center;
}

.article-sidebar {
  position: sticky;
  top: 108px;
  padding: 26px;
  background: var(--cream);
  border-radius: var(--radius-lg);
}

.article-sidebar h2 {
  font-size: 1.55rem;
  overflow-wrap: anywhere;
}

.article-sidebar p {
  color: var(--muted);
  font-size: 0.93rem;
}

.article-sidebar .button {
  width: 100%;
}

.sidebar-contact-list {
  display: grid;
  gap: 12px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.article-sidebar .sidebar-contact-list .contact-channel {
  font-size: 0.92rem;
}

.article-sidebar .contact-channel__icon {
  margin: 0;
}

.related-links {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.related-links a {
  display: flex;
  align-items: center;
  min-height: 44px;
  font-weight: 750;
  text-decoration: none;
}

.not-found {
  display: grid;
  min-height: 62vh;
  place-items: center;
  padding: 80px 20px;
  text-align: center;
}

.not-found strong {
  display: block;
  color: var(--coral);
  font-size: clamp(5rem, 18vw, 11rem);
  font-weight: 950;
  line-height: 0.88;
}

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

@media (max-width: 1120px) {
  .header-row {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .site-header .brand {
    grid-column: 1;
    min-width: 0;
  }

  .header-actions {
    grid-column: 2;
    justify-self: end;
    margin-left: auto;
    gap: 10px;
    flex-shrink: 0;
  }

  .header-phone {
    display: inline-flex;
  }

  .main-nav {
    position: fixed;
    inset: 79px 0 auto;
    display: none;
    max-height: calc(100vh - 79px);
    overflow-y: auto;
    padding: 20px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .main-nav.is-open {
    display: block;
  }

  .main-nav ul {
    align-items: stretch;
    flex-direction: column;
    gap: 2px;
  }

  .main-nav a {
    min-height: 50px;
    padding: 8px 12px;
    border-radius: 10px;
  }

  .nav-mobile-only {
    display: block;
  }

  .main-nav .nav-mobile-action {
    justify-content: center;
    margin-top: 6px;
    color: #fff;
    background: var(--navy);
  }

  .menu-toggle {
    display: block;
    justify-self: end;
  }

  .header-actions .button {
    display: none;
  }

  .benefits-grid,
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .courses-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1.2fr 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 960px) {
  .article-layout {
    grid-template-columns: 1fr;
  }

  .article-sidebar {
    position: static;
  }
}

@media (max-width: 820px) {
  .section {
    padding: 72px 0;
  }

  .header-phone {
    display: inline-flex;
  }

  .hero,
  .hero-content {
    min-height: 610px;
  }

  .hero-media img {
    object-position: 70% 45%;
  }

  .hero-media::after {
    background: linear-gradient(90deg, rgba(4, 19, 49, 0.97) 0%, rgba(7, 28, 65, 0.86) 64%, rgba(7, 28, 65, 0.52) 100%);
  }

  .quick-grid,
  .split,
  .teacher-panel,
  .price-panel,
  .cta-grid,
  .contacts-grid,
  .article-layout,
  .landing-overview__grid,
  .landing-cta__inner,
  .faq-layout,
  .price-catalog {
    grid-template-columns: 1fr;
  }

  .page-hero__grid,
  .start-process__grid,
  .selection-guide__grid {
    grid-template-columns: 1fr;
  }

  .page-hero__grid {
    gap: 34px;
  }

  .page-hero__media {
    max-width: 620px;
    aspect-ratio: 16 / 8;
  }

  .page-hero--visual {
    min-height: 500px;
  }

  .page-hero--visual .page-hero__content {
    padding: 58px 0;
  }

  .landing-overview { margin-top: -18px; }
  .landing-point + .landing-point { border-top: 1px solid var(--line); border-left: 0; }
  .landing-cta__actions { justify-content: flex-start; }

  .quick-item + .quick-item {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .split {
    gap: 38px;
  }

  .teacher-photo {
    min-height: 340px;
  }

  .teacher-copy {
    padding: 38px 30px;
  }

  .price-panel {
    padding: 30px;
  }

  .article-sidebar {
    position: static;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .event-principles__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .event-list {
    grid-template-columns: 1fr;
  }

  .event-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  body {
    font-size: 16px;
  }

  .container,
  .narrow {
    width: min(calc(100% - 28px), var(--container));
  }

  .site-header .header-row {
    width: min(calc(100% - 28px), 1360px);
  }

  .site-footer > .container {
    padding-top: 32px;
  }

  .section {
    padding: 58px 0;
  }

  .header-row {
    min-height: 70px;
    gap: 12px;
  }

  .main-nav {
    inset: 71px 0 auto;
    max-height: calc(100vh - 71px);
  }

  .brand img {
    width: 46px;
    height: 46px;
  }

  .brand-name span:last-child {
    display: none;
  }

  .brand-name {
    display: none;
  }

  .header-phone {
    min-height: 40px;
    font-size: 0.82rem;
  }

  .hero,
  .hero-content {
    min-height: 650px;
  }

  .hero-content {
    align-items: flex-end;
    padding: 76px 0 76px;
  }

  .hero-media img {
    object-position: 66% center;
  }

  .hero-media::after {
    background:
      linear-gradient(0deg, rgba(4, 19, 49, 0.98) 0%, rgba(4, 19, 49, 0.78) 70%, rgba(4, 19, 49, 0.42) 100%),
      linear-gradient(90deg, rgba(4, 19, 49, 0.55), rgba(4, 19, 49, 0.18));
  }

  .hero h1 {
    font-size: clamp(2.08rem, 10vw, 2.72rem);
  }

  .hero-actions {
    display: grid;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-proof {
    display: grid;
    gap: 10px;
  }

  .teacher-card {
    grid-template-columns: 1fr;
  }

  .course-teacher {
    grid-template-columns: 1fr;
  }

  .article .course-teacher__photo img {
    min-height: 0;
    aspect-ratio: 16 / 12;
    object-position: center 22%;
  }

  .course-teacher__content {
    padding: 26px 22px 30px;
  }

  .article .teacher-card__photo img {
    min-height: 0;
    aspect-ratio: 4 / 4.6;
  }

  .teacher-card__content {
    padding: 26px 22px 30px;
  }

  .teacher-card--brief .teacher-card__content {
    min-height: 0;
  }

  .quick-strip {
    margin-top: -26px;
  }

  .split-media::after {
    right: 0;
  }

  .quick-item {
    padding: 20px;
  }

  .price-preview__card { grid-template-columns: 1fr; }
  .price-preview__card strong { grid-row: auto; grid-column: auto; }
  .price-card__header { align-items: flex-start; flex-direction: column; }
  .price-table th,
  .price-table td { padding: 12px; }
  .landing-cta__actions { display: grid; width: 100%; }

  .benefits-grid,
  .courses-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .benefit-card {
    display: grid;
    grid-template-columns: 92px 1fr;
    align-items: center;
    gap: 14px;
    padding: 18px;
    text-align: left;
  }

  .benefit-card img {
    width: 92px;
    height: 92px;
    grid-row: 1 / 3;
    margin: 0;
  }

  .benefit-card h3,
  .benefit-card p {
    margin: 0;
  }

  .course-card {
    display: flex;
    flex-direction: column;
  }

  .course-media {
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 9;
    flex: 0 0 auto;
  }

  .course-media img {
    object-fit: contain;
    object-position: center;
  }

  .course-card:hover .course-media img {
    transform: none;
  }

  .course-body {
    min-height: 0;
    padding: 20px;
  }

  .course-body h3 {
    margin-bottom: 7px;
    font-size: 1.05rem;
  }

  .course-body p {
    margin: 0 0 10px;
    font-size: 0.86rem;
  }

  .course-label {
    margin-bottom: 6px;
    font-size: 0.68rem;
  }

  .course-link {
    font-size: 0.82rem;
  }

  .teacher-photo {
    min-height: 270px;
  }

  .teacher-copy,
  .price-panel,
  .lead-form,
  .contact-card {
    padding: 24px 20px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .field--full {
    grid-column: auto;
  }

  .contact-photo {
    min-height: 300px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    grid-column: auto;
  }

  .site-footer .footer-brand .brand img {
    width: 88px;
    height: 88px;
  }

  .site-footer .footer-brand .brand {
    margin-bottom: 22px;
  }

  .footer-bottom {
    grid-template-columns: 1fr;
  }

  .footer-bottom p:last-child,
  .footer-credit {
    justify-self: start;
    text-align: left;
  }

  .page-hero {
    padding: 52px 0;
  }

  .page-hero--visual {
    min-height: 470px;
    padding: 0;
  }

  .page-hero--visual::after {
    background:
      linear-gradient(0deg, rgba(4, 19, 49, 0.98) 0%, rgba(4, 19, 49, 0.82) 72%, rgba(4, 19, 49, 0.58) 100%),
      linear-gradient(90deg, rgba(4, 19, 49, 0.68), rgba(4, 19, 49, 0.28));
  }

  .page-hero--visual .page-hero__content {
    align-items: flex-end;
    padding: 52px 0;
  }

  .page-hero h1 {
    font-size: clamp(2rem, 10vw, 2.65rem);
  }

  .page-hero__media {
    display: none;
  }

  .page-hero--visual .page-hero__media {
    display: block;
  }

  .page-hero__actions {
    display: grid;
  }

  .page-hero__actions .button {
    width: 100%;
  }

  .service-list,
  .start-process__grid,
  .catalog-grid,
  .selection-guide__grid,
  .editorial-checklist {
    grid-template-columns: 1fr;
  }

  .service-section {
    padding: 24px 20px;
  }

  .catalog-card {
    min-height: 0;
    padding: 0;
  }

  .catalog-card__image {
    block-size: clamp(132px, 38vw, 176px);
    margin: 0;
  }

  .catalog-card__body {
    padding: 20px;
  }

  .selection-guide,
  .archive-notice,
  .editorial-summary,
  .article-toc,
  .legal-toc {
    padding: 22px 20px;
  }

  .event-principles,
  .event-section,
  .event-note {
    padding: 22px 20px;
  }

  .event-principles__grid {
    grid-template-columns: 1fr;
  }

  .event-gallery {
    gap: 10px;
  }

  .context-links a,
  .article a,
  .article h2,
  .article h3 {
    overflow-wrap: anywhere;
  }

  .article img[src*="/gallery/"] {
    width: 100%;
    margin: 8px 0;
  }

  .article .event-gallery__item img,
  .article .catalog-card__image img {
    margin: 0;
  }
}

@media (max-width: 700px) {
  .lightbox {
    padding: 12px;
  }

  .lightbox__dialog {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .lightbox__figure {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .lightbox__image {
    max-height: calc(100dvh - 168px);
    border-radius: 10px;
  }

  .lightbox__caption {
    margin-top: 9px;
    justify-content: center;
  }

  .lightbox__hint {
    display: none;
  }

  .lightbox__nav {
    grid-row: 2;
    width: 48px;
    height: 48px;
  }

  .lightbox__nav--prev {
    grid-column: 1;
    justify-self: end;
  }

  .lightbox__nav--next {
    grid-column: 2;
    justify-self: start;
  }

  .lightbox__close {
    top: 6px;
    right: 6px;
    width: 44px;
    height: 44px;
    color: #fff;
    background: rgba(4, 20, 50, 0.82);
    transform: none;
  }
}

@media (max-width: 480px) {
  .brand-name {
    display: none;
  }

  .header-actions {
    gap: 8px;
  }

  .header-socials {
    gap: 6px;
  }

  .header-social,
  .header-social img {
    width: 30px;
    height: 30px;
  }

  .header-phone {
    font-size: 0.78rem;
  }
}

@media (max-width: 380px) {
  .site-header .header-row {
    width: min(calc(100% - 20px), 1360px);
    gap: 8px;
  }

  .brand img {
    width: 42px;
    height: 42px;
  }

  .header-actions {
    gap: 6px;
  }

  .header-phone {
    min-height: 38px;
    font-size: 0.72rem;
  }

  .header-socials {
    gap: 4px;
  }

  .header-social,
  .header-social img {
    width: 28px;
    height: 28px;
  }

  .menu-toggle {
    width: 42px;
    height: 42px;
  }

  .lead-form {
    padding: 22px 14px;
  }

  .smart-captcha {
    width: 300px;
    max-width: none;
    min-height: 86px;
    margin-right: -42px;
    margin-bottom: -14px;
    transform: scale(0.86);
    transform-origin: left top;
  }

  .price-table th,
  .price-table td {
    padding: 10px;
    font-size: 0.78rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

.metrika-noscript__pixel {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
}
