@import url("base.css");

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--color-border);
  backdrop-filter: blur(16px);
}

body.lead-popup-open {
  overflow: hidden;
}

.lead-popup {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.lead-popup.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lead-popup__overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.54);
  backdrop-filter: blur(8px);
}

.lead-popup__dialog {
  position: relative;
  width: min(900px, 100%);
  max-height: min(90vh, 760px);
  overflow: auto;
  background: var(--color-white);
  border: 1px solid #c7d2fe;
  border-radius: var(--radius-lg);
  box-shadow: 0 28px 80px rgba(15, 23, 42, 0.26);
  transform: translateY(14px) scale(0.98);
  transition: transform 0.2s ease;
}

.lead-popup.is-open .lead-popup__dialog {
  transform: translateY(0) scale(1);
}

.lead-popup__close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  color: var(--color-navy);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  box-shadow: var(--shadow-card);
}

.lead-popup__close svg {
  width: 18px;
  height: 18px;
}

.lead-popup__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  gap: 0;
}

.lead-popup__offer {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 520px;
  padding: 42px;
  color: var(--color-white);
  background:
    linear-gradient(150deg, rgba(30, 27, 75, 0.96), rgba(55, 48, 163, 0.92)),
    var(--color-indigo);
}

.lead-popup__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  margin-bottom: 22px;
  padding: 8px 12px;
  color: #fed7aa;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
}

.lead-popup__badge svg {
  width: 16px;
  height: 16px;
}

.lead-popup__discount {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  margin-bottom: 18px;
  color: #fed7aa;
  font-family: var(--font-heading);
}

.lead-popup__discount span {
  font-size: 78px;
  line-height: 0.9;
  font-weight: 800;
}

.lead-popup__discount small {
  padding-bottom: 8px;
  font-size: 16px;
  font-weight: 800;
  text-transform: uppercase;
}

.lead-popup__offer h2 {
  max-width: 440px;
  margin-bottom: 14px;
  color: var(--color-white);
  font-size: 34px;
}

.lead-popup__offer p {
  max-width: 430px;
  margin-bottom: 24px;
  color: #e0e7ff;
  font-size: 17px;
}

.lead-popup__benefits {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.lead-popup__benefits li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: #f8fafc;
  font-weight: 700;
}

.lead-popup__benefits svg {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-top: 3px;
  color: #fed7aa;
}

.lead-popup__form {
  align-content: center;
  padding: 42px;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.lead-popup__form .btn {
  width: 100%;
  min-height: 54px;
}

.lead-popup__form.is-success .field,
.lead-popup__form.is-success .form-consents,
.lead-popup__form.is-success .btn,
.lead-popup__form.is-success .lead-popup__legal {
  display: none;
}

.lead-popup__form .form__success {
  font-size: 16px;
  line-height: 1.5;
}

.lead-popup__legal {
  margin: 0;
  color: var(--color-muted);
  font-size: 12px;
  line-height: 1.45;
}

.lead-popup__legal a {
  color: var(--color-indigo);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (max-width: 767px) {
  .lead-popup {
    align-items: start;
    padding: 14px;
    overflow-y: auto;
  }

  .lead-popup__dialog {
    width: min(100%, 520px);
    max-height: calc(100vh - 28px);
    border-radius: 14px;
  }

  .lead-popup__grid {
    grid-template-columns: 1fr;
  }

  .lead-popup__offer {
    min-height: auto;
    padding: 26px 18px 20px;
  }

  .lead-popup__badge {
    margin-bottom: 14px;
    padding: 7px 10px;
    font-size: 11px;
  }

  .lead-popup__discount {
    margin-bottom: 12px;
  }

  .lead-popup__discount span {
    font-size: 54px;
  }

  .lead-popup__discount small {
    font-size: 13px;
  }

  .lead-popup__offer h2 {
    font-size: 25px;
  }

  .lead-popup__offer p {
    margin-bottom: 16px;
    font-size: 15px;
  }

  .lead-popup__benefits {
    gap: 8px;
  }

  .lead-popup__benefits li {
    font-size: 13px;
  }

  .lead-popup__form {
    padding: 18px;
  }
}

.header__inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--color-navy);
  flex: 0 0 auto;
}

.logo__mark {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--color-soft-indigo);
  color: var(--color-indigo);
  border: 1px solid #c7d2fe;
}

.logo__mark--image {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.logo__mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.logo__text small {
  display: block;
  color: var(--color-muted);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex: 1;
}

.nav__item {
  position: relative;
}

.nav__link,
.nav__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 0;
  background: transparent;
  padding: 10px 12px;
  color: var(--color-navy);
  font-weight: 700;
  font-size: 14px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
}

.nav__button::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 0.18s ease;
}

.nav__item:hover .nav__button::after,
.nav__item:focus-within .nav__button::after {
  transform: translateY(1px) rotate(225deg);
}

.nav__link:hover,
.nav__button:hover {
  background: var(--color-soft-indigo);
  color: var(--color-indigo);
}

.dropdown {
  position: absolute;
  top: calc(100% + 0px);
  left: 0;
  /* член */
  min-width: 250px;
  padding: 10px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: 0.18s ease;
}

.nav__item:hover .dropdown,
.nav__item:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 12px;
  border-radius: var(--radius-sm);
  color: var(--color-text);
  /* член */
  font-weight: 600;
  font-size: 14px;
}

.dropdown a:hover {
  background: var(--color-soft-indigo);
  color: var(--color-indigo);
}

.dropdown a svg {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  stroke-width: 2.2;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.header__phone {
  font-weight: 800;
  color: var(--color-indigo);
  line-height: 1.2;
  text-align: right;
}

.header__phone small {
  display: block;
  color: var(--color-muted);
  font-size: 11px;
  font-weight: 600;
}

.burger {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--color-border);
  background: var(--color-white);
  border-radius: var(--radius-sm);
  color: var(--color-indigo);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 13px 24px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.2;
  text-align: center;
  white-space: normal;
  transition: 0.18s ease;
}

.btn--primary {
  background: var(--color-orange);
  color: var(--color-white);
  box-shadow: 0 14px 28px rgba(249, 115, 22, 0.24);
}

.btn--primary:hover {
  background: var(--color-orange-dark);
}

.btn--secondary {
  background: transparent;
  border-color: #c7d2fe;
  color: var(--color-indigo);
}

.btn--secondary:hover {
  background: var(--color-soft-indigo);
}

.btn--light {
  background: var(--color-white);
  color: var(--color-indigo);
}

.card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-card);
}

.icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: grid;
  place-items: center;
  color: var(--color-indigo);
  background: var(--color-soft-indigo);
  margin-bottom: 18px;
}

.icon-box--orange {
  color: var(--color-orange);
  background: var(--color-soft-orange);
}

.hero {
  overflow: hidden;
  padding: 34px 0 0;
  color: var(--color-white);
  background:
    radial-gradient(circle at 80% 42%, rgba(255, 255, 255, 0.2), transparent 22%),
    linear-gradient(135deg, #1e1b4b 0%, #3730a3 52%, #2563eb 100%);
  box-shadow: var(--shadow-hero);
}

.hero__shell {
  position: relative;
  overflow: hidden;
  min-height: 500px;
  display: grid;
  grid-template-columns: minmax(0, 560px) minmax(0, 540px);
  gap: 32px;
  align-items: end;
  width: calc(100% - 40px);
  max-width: var(--container);
  margin: 0 auto;
  padding: 62px 0 0;
  color: var(--color-white);
}

.hero h1,
.hero .lead,
.hero .eyebrow {
  color: var(--color-white);
}

.hero h1,
.hero .lead {
  overflow-wrap: break-word;
}

.hero .eyebrow {
  color: rgba(255, 255, 255, 0.78);
}

.hero__content {
  justify-self: start;
  min-width: 0;
  max-width: 560px;
  padding-bottom: 48px;
  position: relative;
  z-index: 2;
}

.hero__notice {
  margin-bottom: 14px;
  color: var(--color-orange);
  font-family: var(--font-heading);
  font-size: 19px;
  font-weight: 800;
}

.hero__image-wrap {
  position: relative;
  right: auto;
  /* член */
  bottom: auto;
  width: 100%;
  max-width: 560px;
  height: 100%;
  align-self: end;
  justify-self: end;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  min-width: 0;
  z-index: 1;
}

.hero__image-wrap img {
  width: min(94%, 620px);
  max-width: none;
  height: auto;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 28px 38px rgba(15, 23, 42, 0.28));
}

.hero__actions {
  display: grid;
  gap: 12px;
  width: 360px;
  max-width: 100%;
  margin: 28px 0;
}

.hero__primary-cta {
  display: grid;
  gap: 8px;
  align-content: start;
  width: 100%;
}

.hero__actions .btn {
  width: 100%;
  min-height: 54px;
}

.hero__microcopy {
  max-width: 340px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
  line-height: 1.35;
}

.hero-benefits-section {
  margin-top: -1px;
  padding: 26px 0 34px;
  background: #fff;
}

.hero__benefits {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  align-items: stretch;
  padding: 10px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(147, 197, 253, 0.58);
  border-radius: 16px;
  overflow: visible;
}

.hero__benefit {
  display: flex;
  position: relative;
  align-items: center;
  gap: 14px;
  min-width: 0;
  height: 100%;
  padding: 22px 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.96));
  border: 1px solid rgba(191, 219, 254, 0.84);
  border-radius: 12px;
  box-shadow: 0 10px 26px rgba(30, 64, 175, 0.08);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease;
}

.hero__benefit:hover {
  transform: translateY(-2px);
  border-color: rgba(96, 165, 250, 0.8);
  box-shadow: 0 16px 34px rgba(30, 64, 175, 0.14);
}

.hero__benefit i,
.hero__benefit svg {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  padding: 10px;
  color: #2563eb;
  background: #eff6ff;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px rgba(37, 99, 235, 0.12);
  transition:
    color 0.18s ease,
    background-color 0.18s ease;
}

.hero__benefit:hover i,
.hero__benefit:hover svg {
  color: #1d4ed8;
  background: #dbeafe;
}

.hero__benefit h3 {
  margin-bottom: 4px;
  color: var(--color-navy);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.2;
}

.hero__benefit p {
  margin-bottom: 0;
  color: #53627c;
  font-size: 13px;
  line-height: 1.4;
}

.hero__benefit--accent {
  padding-top: 34px;
  background:
    radial-gradient(circle at 12% 10%, rgba(255, 255, 255, 0.75), transparent 24%),
    linear-gradient(135deg, #fff7ed 0%, #ffedd5 58%, #dbeafe 100%);
  border-color: rgba(249, 115, 22, 0.46);
  box-shadow:
    0 18px 38px rgba(249, 115, 22, 0.16),
    0 10px 24px rgba(30, 64, 175, 0.1);
}

.hero__benefit--accent i,
.hero__benefit--accent svg {
  color: var(--color-white);
  background: var(--color-orange);
  box-shadow:
    0 10px 18px rgba(249, 115, 22, 0.28),
    inset 0 0 0 1px rgba(255, 255, 255, 0.24);
}

.hero__benefit--accent:hover i,
.hero__benefit--accent:hover svg {
  color: var(--color-white);
  background: #ea580c;
}

.hero__benefit--accent h3 {
  color: #0f172a;
  font-size: 18px;
}

.hero__benefit--accent p {
  color: #334155;
  font-weight: 600;
}

.hero__benefit-badge {
  position: absolute;
  left: 18px;
  top: 10px;
  /* член */
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  padding: 3px 9px;
  color: #9a3412;
  background: rgba(255, 247, 237, 0.92);
  border: 1px solid rgba(249, 115, 22, 0.28);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
}

.hero__benefits--even .hero__benefit {
  padding: 22px 20px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
}

.hero__benefits--even .hero__benefit i,
.hero__benefits--even .hero__benefit svg {
  color: var(--color-indigo);
  background: var(--color-soft-indigo);
  box-shadow: inset 0 0 0 1px rgba(55, 48, 163, 0.12);
}

.hero__benefits--even .hero__benefit:hover i,
.hero__benefits--even .hero__benefit:hover svg {
  color: var(--color-indigo);
  background: #e0e7ff;
}

.hero__benefits--even .hero__benefit h3 {
  color: var(--color-navy);
  font-size: 16px;
}

.hero__benefits--even .hero__benefit p {
  color: var(--color-muted);
  font-weight: 500;
}

.learning-preview {
  position: relative;
  overflow: hidden;
  padding: 58px 0 66px;
  background:
    linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.learning-preview::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 14% 18%, rgba(249, 115, 22, 0.08), transparent 24%),
    radial-gradient(circle at 92% 32%, rgba(55, 48, 163, 0.08), transparent 28%);
  pointer-events: none;
}

.learning-preview__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  gap: 34px;
  align-items: center;
}

.learning-preview__content {
  max-width: 600px;
  min-width: 0;
}

.learning-preview__content h2 {
  max-width: 560px;
}

.learning-preview__content .lead {
  max-width: 580px;
  margin-bottom: 20px;
}

.learning-preview__details {
  max-width: 580px;
}

.learning-preview__details .muted {
  max-width: 580px;
  margin-bottom: 12px;
  font-size: 16px;
  line-height: 1.6;
}

.learning-preview__media {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.learning-preview__video-shell {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  min-height: 260px;
  background:
    linear-gradient(135deg, rgba(30, 27, 75, 0.94), rgba(55, 48, 163, 0.82)),
    var(--color-navy);
  border: 1px solid rgba(199, 210, 254, 0.78);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-hero);
}

.learning-preview__video {
  display: block;
  width: 100%;
  height: 100%;
  background: #0f172a;
  object-fit: cover;
}

.learning-preview__video-trigger {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 12px;
  padding: 28px;
  color: var(--color-white);
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.18), rgba(15, 23, 42, 0.62));
  border: 0;
  text-align: center;
  transition:
    background-color 0.18s ease,
    opacity 0.18s ease,
    transform 0.18s ease;
}

.learning-preview.is-video-active .learning-preview__video-trigger {
  opacity: 0;
  pointer-events: none;
}

.learning-preview__video-trigger:hover {
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.08), rgba(15, 23, 42, 0.52));
}

.learning-preview__video-trigger:hover .learning-preview__play {
  transform: translateY(-2px) scale(1.04);
}

.learning-preview__play {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  color: var(--color-white);
  background: var(--color-orange);
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 999px;
  box-shadow: 0 18px 34px rgba(249, 115, 22, 0.34);
  transition: transform 0.18s ease;
}

.learning-preview__play svg {
  width: 32px;
  height: 32px;
  margin-left: 4px;
  fill: currentColor;
}

.learning-preview__video-caption {
  max-width: 360px;
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 800;
  line-height: 1.2;
  text-shadow: 0 2px 14px rgba(15, 23, 42, 0.38);
}

.learning-preview__video-time {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 12px;
  color: #fed7aa;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.learning-preview__points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.learning-preview__point {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 14px;
  color: var(--color-navy);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(199, 210, 254, 0.7);
  border-radius: var(--radius-md);
  box-shadow: 0 10px 24px rgba(30, 64, 175, 0.07);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
}

.learning-preview__point i,
.learning-preview__point svg {
  width: 34px;
  height: 34px;
  padding: 8px;
  color: var(--color-indigo);
  background: var(--color-soft-indigo);
  border-radius: 999px;
}

.section--soft {
  background: #fff;
}

.diploma-section {
  padding: 48px 0;
}

.diploma-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.55fr) minmax(320px, 0.45fr);
  gap: 28px;
  align-items: center;
}

.diploma-panel__content {
  max-width: 640px;
  min-width: 0;
}

.diploma-panel__content h2 {
  max-width: 620px;
  font-size: clamp(28px, 2.4vw, 32px);
}

.diploma-panel__content .lead {
  max-width: 610px;
  font-size: 17px;
  line-height: 1.5;
}

.diploma-list {
  display: grid;
  gap: 12px;
  margin: 22px 0 24px;
}

.diploma-point {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
  color: var(--color-text);
  font-size: 15px;
  line-height: 1.45;
}

.diploma-point span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.diploma-point i,
.diploma-point svg {
  flex: 0 0 auto;
  margin-top: 2px;
  color: var(--color-orange);
}

.diploma-point svg {
  width: 24px;
  height: 24px;
}

.diploma-point strong {
  display: block;
  margin-bottom: 2px;
  color: var(--color-navy);
}

.diploma-panel__side {
  min-width: 0;
}

.diploma-visual {
  max-width: 100%;
  min-height: 260px;
  padding: 24px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.18);
  background:
    radial-gradient(circle at 22% 22%, rgba(249, 115, 22, 0.22), transparent 28%),
    radial-gradient(circle at 86% 76%, rgba(79, 70, 229, 0.28), transparent 30%),
    linear-gradient(135deg, #111827, #1e1b4b);
  box-shadow: 0 22px 48px rgba(15, 23, 42, 0.18);
  overflow: hidden;
}

.diploma-visual img {
  width: min(100%, 440px);
  height: auto;
  max-height: 280px;
  object-fit: contain;
  filter: drop-shadow(0 18px 26px rgba(0, 0, 0, 0.28));
}

.pedagogy-stats {
  background:
    radial-gradient(circle at 88% 18%, rgba(55, 48, 163, 0.09), transparent 24%),
    linear-gradient(135deg, #fff7ed 0%, #f8fafc 48%, #eef2ff 100%);
}

.pedagogy-stats__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.pedagogy-stat-card {
  min-width: 0;
  padding: 28px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-white);
  box-shadow: var(--shadow-card);
}

.stat-badge {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 7px 11px;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.stat-badge--orange {
  color: var(--color-orange-dark);
  background: var(--color-soft-orange);
}

.stat-badge--blue {
  color: var(--color-indigo);
  background: var(--color-soft-indigo);
}

.stat-badge--green {
  color: #047857;
  background: #d1fae5;
}

.stat-number {
  display: block;
  margin-bottom: 12px;
  color: var(--color-navy);
  font-family: var(--font-heading);
  font-size: clamp(42px, 4.2vw, 56px);
  font-weight: 800;
  line-height: 1;
}

.pedagogy-stat-card p {
  margin-bottom: 18px;
  color: var(--color-text);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.45;
}

.pedagogy-stat-card small {
  color: var(--color-muted);
  font-size: 13px;
  font-weight: 700;
}

.pedagogy-stats__action {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

.direction-picker {
  width: 100%;
  margin-top: 30px;
  padding: 18px;
  background: var(--color-white);
  color: var(--color-text);
  border-radius: var(--radius-md);
  box-shadow: 0 24px 50px rgba(15, 23, 42, 0.22);
}

.direction-picker h3 {
  font-size: 17px;
  margin-bottom: 12px;
}

.direction-picker__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.direction-picker a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
  min-height: 64px;
  padding: 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-weight: 700;
  color: var(--color-navy);
}

.direction-picker a:hover {
  border-color: #c7d2fe;
  background: var(--color-soft-indigo);
  color: var(--color-indigo);
}

.trust-bar {
  margin-top: -28px;
  position: relative;
  z-index: 2;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
}

.trust-item {
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  border-right: 1px solid var(--color-border);
}

.trust-item:last-child {
  border-right: 0;
}

.trust-item strong {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  color: var(--color-indigo);
  font-size: 20px;
}

.tooltip {
  position: relative;
  width: 22px;
  height: 22px;
  display: inline-grid;
  place-items: center;
  border: 1px solid #c7d2fe;
  border-radius: 50%;
  background: var(--color-soft-indigo);
  color: var(--color-indigo);
  font-size: 12px;
  font-weight: 800;
  cursor: help;
}

.tooltip::after {
  content: attr(aria-label);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 10px);
  width: max-content;
  max-width: 180px;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  background: var(--color-navy);
  color: var(--color-white);
  box-shadow: var(--shadow-card);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 6px);
  transition: 0.18s ease;
  z-index: 3;
}

.tooltip:hover::after,
.tooltip:focus-visible::after {
  opacity: 1;
  transform: translate(-50%, 0);
}

.steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 22px;
  /* член */
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}

.step::before {
  counter-increment: step;
  content: counter(step);
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 50%;
  color: var(--color-white);
  background: var(--color-indigo);
  font-family: var(--font-heading);
  font-weight: 800;
}

.section-note {
  margin: 20px auto 0;
  padding: 14px 18px;
  border: 1px solid #c7d2fe;
  border-radius: var(--radius-md);
  background: var(--color-soft-indigo);
  color: var(--color-indigo);
  font-weight: 800;
  text-align: center;
}

.section-note__action {
  margin-top: 14px;
}

.career-card {
  padding: 28px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-white);
  box-shadow: var(--shadow-card);
}

.career-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.career-list li {
  position: relative;
  min-width: 0;
  padding-left: 28px;
  color: var(--color-text);
  font-weight: 600;
  line-height: 1.5;
}

.career-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--color-orange);
  box-shadow: 0 0 0 4px var(--color-soft-orange);
}

.career-tracks-section {
  background:
    radial-gradient(circle at 86% 16%, rgba(55, 48, 163, 0.07), transparent 24%),
    linear-gradient(180deg, #f8fafc 0%, #eef2ff 100%);
}

.career-tracks {
  padding: 30px;
  border: 1px solid rgba(191, 219, 254, 0.78);
  border-radius: 26px;
  background: var(--color-white);
  box-shadow: 0 22px 54px rgba(30, 27, 75, 0.08);
}

.career-tracks__head {
  max-width: 760px;
  margin-bottom: 30px;
}

.career-tracks__head h2 {
  max-width: 750px;
  margin-bottom: 14px;
}

.career-tracks__head .lead {
  max-width: 620px;
  margin-bottom: 0;
  color: #53627c;
}

.career-tracks__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.career-track-card {
  min-width: 0;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  padding: 26px;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.92));
  box-shadow: 0 14px 32px rgba(30, 27, 75, 0.06);
}

.career-track-card__icon,
.career-tracks__note-icon {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 18px;
}

.career-track-card__icon svg,
.career-tracks__note-icon svg {
  width: 30px;
  height: 30px;
  stroke-width: 2.2;
}

.career-track-card__icon--school {
  color: var(--color-orange);
  background: var(--color-soft-orange);
}

.career-track-card__icon--online {
  color: #2563eb;
  background: #dbeafe;
}

.career-track-card__icon--extra {
  color: var(--color-indigo);
  background: var(--color-soft-indigo);
}

.career-track-card__icon--center {
  color: #047857;
  background: #d1fae5;
}

.career-track-card h3 {
  margin: 22px 0 18px;
  color: var(--color-navy);
  font-size: 20px;
  line-height: 1.2;
}

.career-track-card h3::after {
  content: "";
  display: block;
  width: 40px;
  height: 3px;
  margin-top: 13px;
  border-radius: 999px;
  background: var(--color-orange);
}

.career-track-card__list {
  display: grid;
  gap: 12px;
  margin: auto 0 0;
  padding: 0;
  list-style: none;
}

.career-track-card__list li {
  position: relative;
  min-width: 0;
  padding-left: 18px;
  color: var(--color-text);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.career-track-card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  /* член */
  top: 0.62em;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--color-orange);
}

.career-tracks__note {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 22px;
  padding: 20px 24px;
  border: 1px solid rgba(249, 115, 22, 0.24);
  border-radius: 20px;
  background: linear-gradient(135deg, #fff7ed 0%, #eef2ff 100%);
}

.career-tracks__note-icon {
  width: 54px;
  height: 54px;
  color: var(--color-orange);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: inset 0 0 0 1px rgba(249, 115, 22, 0.18);
}

.career-tracks__note-icon svg {
  width: 26px;
  height: 26px;
}

.career-tracks__note p {
  margin: 0;
  color: var(--color-navy);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.45;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature svg {
  width: 150px;
}

.program-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.program-card h3 {
  margin-bottom: 0;
}

.program-card .icon-box {
  margin-bottom: 0;
}

.program-card__meta {
  margin-bottom: 0;
  color: var(--color-muted);
  font-size: 14px;
  line-height: 1.45;
}

.program-card__list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.program-card__list li {
  position: relative;
  padding-left: 24px;
  font-weight: 700;
}

.program-card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-orange);
}

.program-card__price {
  display: grid;
  gap: 4px;
  padding: 16px;
  border-radius: var(--radius-md);
  background: var(--color-soft-orange);
}

.program-card__price span {
  width: max-content;
  color: var(--color-muted);
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 800;
  text-decoration: line-through;
}

.program-card__price strong {
  color: var(--color-indigo);
  font-family: var(--font-heading);
  font-size: 30px;
  line-height: 1;
}

.program-card .btn {
  margin-top: auto;
}

.highlight-panel {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  padding: 34px;
  border: 1px solid #fed7aa;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #fff7ed, #ffffff);
  box-shadow: var(--shadow-card);
}

.highlight-panel .icon-box {
  margin-bottom: 0;
}

.highlight-panel + .section__head,
.highlight-panel + .cta-panel,
.steps + .cta-panel {
  margin-top: 32px;
}

.highlight-panel .btn {
  margin-bottom: 16px;
}

.specialty-panel {
  grid-template-columns: minmax(0, 1fr);
}

.specialty-points {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.specialty-point {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.specialty-point__icon {
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #ffedd5;
  color: var(--color-orange);
  font-weight: 800;
  line-height: 1;
}

.specialty-point p {
  margin-bottom: 0;
}

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

.guarantee-card,
.license-card {
  min-height: 100%;
}

.guarantee-card--accent {
  grid-column: span 2;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  color: var(--color-white);
  background:
    radial-gradient(circle at 85% 22%, rgba(249, 115, 22, 0.34), transparent 24%),
    linear-gradient(135deg, #1e1b4b, #3730a3);
  border-color: transparent;
}

.guarantee-card--accent .icon-box {
  width: 62px;
  height: 62px;
  margin-bottom: 0;
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.24);
}

.guarantee-card--accent h3,
.guarantee-card--accent p {
  color: var(--color-white);
}

.guarantee-card--accent h3 {
  font-size: 28px;
}

.guarantee-card--accent p {
  margin-bottom: 0;
  opacity: 0.82;
}

.license-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  border-color: #c7d2fe;
  background: linear-gradient(135deg, #eef2ff, #ffffff);
}

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

.why-card {
  padding: 28px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-white);
  box-shadow: var(--shadow-card);
}

.why-card .icon-box {
  width: 58px;
  height: 58px;
}

.why-card .icon-box i {
  width: 32px;
  height: 32px;
}

.why-card h3 {
  font-size: 23px;
  font-weight: 800;
}

.why-note {
  margin: 24px 0 0;
  padding: 20px 24px;
  border: 1px solid #c7d2fe;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #eef2ff, #ffffff);
  color: var(--color-indigo);
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.35;
}

.section--referral {
  padding: 48px 0;
}

.referral-banner {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.1fr);
  gap: 32px;
  align-items: center;
  padding: 28px 20px;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  background:
    radial-gradient(circle at 92% 22%, rgba(249, 115, 22, 0.12), transparent 26%),
    linear-gradient(135deg, #eaf3fc, #eef2ff);
  box-shadow: var(--shadow-card);
}

.referral-banner__content {
  position: relative;
  z-index: 2;
  min-width: 0;
  display: grid;
  align-content: center;
  gap: 18px;
}

.referral-banner__text {
  position: relative;
  z-index: 2;
  min-width: 0;
}

.referral-banner__label {
  margin-bottom: 8px;
  color: var(--color-indigo);
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.referral-banner__title {
  margin-bottom: 8px;
  font-size: 24px;
  line-height: 1.15;
}

.referral-banner__desc {
  max-width: 620px;
  margin-bottom: 0;
  color: var(--color-muted);
  font-size: 14px;
  line-height: 1.35;
}

.referral-banner__steps {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  max-width: 620px;
}

.referral-banner__step {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  min-width: 0;
  padding: 12px 14px;
  border: 1px solid rgba(199, 210, 254, 0.75);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.72);
}

.referral-banner__step p {
  margin-bottom: 0;
  color: var(--color-navy);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.28;
}

.referral-banner__step small {
  color: var(--color-muted);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.25;
}

.step-num {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--color-orange);
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
}

.referral-banner__cta {
  position: relative;
  z-index: 2;
  min-width: 190px;
  display: flex;
  align-items: center;
}

.referral-banner__cta .btn {
  position: relative;
  z-index: 2;
  min-height: 46px;
  padding: 12px 16px;
  font-size: 13px;
  white-space: nowrap;
}

.referral-banner__media {
  position: relative;
  z-index: 2;
  min-width: 0;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-white);
  box-shadow: 0 18px 45px rgba(30, 27, 75, 0.14);
}

.referral-banner__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 20px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}

.review-card {
  min-height: 220px;
}

.person {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.avatar {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--color-white);
  background: linear-gradient(135deg, var(--color-indigo), #2563eb);
  font-weight: 800;
}

.stars {
  color: var(--color-orange);
  font-size: 14px;
}

.comparison {
  overflow-x: auto;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.comparison table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
}

.comparison th,
.comparison td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--color-border);
  text-align: left;
}

.comparison th {
  color: var(--color-navy);
  background: #f8fafc;
  font-family: var(--font-heading);
}

.comparison tr:last-child td {
  border-bottom: 0;
}

.comparison .is-best {
  color: var(--color-indigo);
  font-weight: 800;
}

.curriculum__app {
  display: grid;
  gap: 18px;
}

.curriculum__tabs {
  display: inline-grid;
  grid-template-columns: repeat(2, minmax(180px, 1fr));
  gap: 6px;
  padding: 6px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-bg);
}

.curriculum__tab {
  min-height: 46px;
  padding: 10px 18px;
  border: 0;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--color-muted);
  font-weight: 800;
  text-align: center;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease;
}

.curriculum__tab:hover,
.curriculum__tab:focus-visible {
  color: var(--color-indigo);
}

.curriculum__tab:focus-visible,
.curriculum__course-button:focus-visible {
  outline: 3px solid var(--color-soft-orange);
  outline-offset: 2px;
}

.curriculum__tab.is-active {
  color: var(--color-indigo);
  background: var(--color-white);
  box-shadow: var(--shadow-card);
}

.curriculum__panel {
  display: grid;
  gap: 18px;
}

.curriculum__panel[hidden] {
  display: none;
}

.curriculum__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.curriculum__meta-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 7px 12px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  color: var(--color-muted);
  background: var(--color-white);
  font-weight: 700;
  font-size: 14px;
}

.curriculum__meta-item i {
  width: 18px;
  height: 18px;
  color: var(--color-indigo);
  flex: 0 0 auto;
}

.curriculum__accordion {
  display: grid;
  gap: 12px;
}

.curriculum__course {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-white);
  overflow: hidden;
}

.curriculum__course-button {
  width: 100%;
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  border: 0;
  background: transparent;
  color: var(--color-navy);
  text-align: left;
  transition: background 0.2s ease;
}

.curriculum__course-button:hover {
  background: var(--color-bg);
}

.curriculum__course-name {
  min-width: 0;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 20px;
}

.curriculum__course-meta {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  color: var(--color-muted);
  font-weight: 800;
  font-size: 14px;
  white-space: nowrap;
  flex: 0 0 auto;
}

.curriculum__course-meta i {
  width: 20px;
  height: 20px;
  color: var(--color-indigo);
  transition: transform 0.24s ease;
}

.curriculum__course.is-open .curriculum__course-meta i {
  transform: rotate(180deg);
}

.curriculum__course-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.32s ease;
}

.curriculum__course-inner {
  display: grid;
  gap: 18px;
  padding: 0 20px 20px;
  border-top: 1px solid var(--color-border);
}

.curriculum__semester {
  padding-top: 18px;
}

.curriculum__semester-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--color-border);
}

.curriculum__semester-label {
  color: var(--color-indigo);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.curriculum__subjects {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}

.curriculum__subject {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  /* член */
  padding: 13px 0;
  border-bottom: 1px solid var(--color-border);
}

.curriculum__subject:last-child {
  border-bottom: 0;
}

.curriculum__subject-name {
  min-width: 0;
  color: var(--color-text);
  font-weight: 600;
}

.curriculum__subject-hours {
  flex: 0 0 auto;
  color: var(--color-muted);
  font-weight: 800;
  white-space: nowrap;
}

@media (max-width: 767px) {
  .curriculum__tabs {
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .curriculum__tab {
    min-height: 44px;
    padding: 9px 10px;
    font-size: 14px;
  }

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

  .curriculum__meta-item {
    align-items: flex-start;
    min-width: 0;
  }

  .curriculum__course-inner {
    padding: 0 16px 16px;
  }

  .curriculum__semester-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

}

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

  .curriculum__subject {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

}

@media (prefers-reduced-motion: reduce) {
  .curriculum__tab,
  .curriculum__course-button,
  .curriculum__course-body,
  .curriculum__course-meta i {
    transition: none;
  }
}

.faq {
  display: grid;
  gap: 12px;
}

.faq__item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-white);
  overflow: hidden;
}

.faq__button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  border: 0;
  background: transparent;
  color: var(--color-navy);
  font-weight: 800;
  text-align: left;
}

.faq__button span {
  flex: 1;
}

.faq__button i {
  transition: transform 0.2s ease;
}

.faq__item.is-open .faq__button i {
  transform: rotate(45deg);
}

.faq__panel {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  color: var(--color-muted);
  opacity: 0;
  transition:
    max-height 0.32s ease,
    padding 0.32s ease,
    opacity 0.24s ease;
}

.faq__item.is-open .faq__panel {
  padding-bottom: 18px;
  opacity: 1;
}

.cta-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 0.75fr);
  gap: 34px;
  align-items: center;
  padding: 42px;
  border-radius: var(--radius-lg);
  color: var(--color-white);
  background:
    radial-gradient(circle at 83% 18%, rgba(249, 115, 22, 0.28), transparent 24%),
    linear-gradient(135deg, #1e1b4b, #3730a3);
}

.cta-panel h2,
.cta-panel .lead,
.cta-panel .eyebrow {
  color: var(--color-white);
}

.price-lead-panel {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(360px, 1fr);
  gap: 28px;
  align-items: stretch;
  padding: 34px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 8% 12%, rgba(249, 115, 22, 0.14), transparent 24%),
    linear-gradient(135deg, #f8fafc, #eef2ff);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
}

.price-lead-panel .form h2 {
  font-size: 25px;
  margin-bottom: 8px;
}

#contact-form {
  align-self: start;
  justify-self: end;
  width: min(100%, 520px);
}

#contact-form h2 {
  font-size: 25px;
  margin-bottom: 8px;
}

#contact-form .muted {
  margin-bottom: 0;
}

.payment-section {
  border-top: 1px solid var(--color-border);
}

.payment-cards {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 14px;
}

.payment-card {
  display: grid;
  align-content: start;
  gap: 12px;
  min-width: 0;
  padding: 22px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-white);
  box-shadow: 0 10px 26px rgba(30, 64, 175, 0.06);
}

.payment-card h3 {
  margin-bottom: 0;
  font-size: 20px;
}

.payment-card p {
  margin-bottom: 0;
  color: var(--color-muted);
  font-size: 15px;
  line-height: 1.55;
}

.payment-card__icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--color-indigo);
  background: var(--color-soft-indigo);
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px rgba(55, 48, 163, 0.12);
}

.payment-card__icon svg {
  width: 22px;
  height: 22px;
}

.payment-card--accent {
  grid-column: 2;
  grid-row: 1 / span 2;
  padding: 28px;
  background:
    radial-gradient(circle at 88% 12%, rgba(249, 115, 22, 0.16), transparent 28%),
    linear-gradient(135deg, var(--color-white), var(--color-soft-indigo));
  border-color: rgba(55, 48, 163, 0.22);
  box-shadow: var(--shadow-card);
}

.payment-card--accent .payment-card__icon {
  color: var(--color-white);
  background: var(--color-orange);
  box-shadow:
    0 10px 18px rgba(249, 115, 22, 0.22),
    inset 0 0 0 1px rgba(255, 255, 255, 0.24);
}

.payment-card__list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.payment-card__list li {
  position: relative;
  padding-left: 24px;
  color: var(--color-text);
  font-size: 15px;
  line-height: 1.5;
}

.payment-card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  /* член */
  top: 0.62em;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--color-orange);
  box-shadow: 0 0 0 4px var(--color-soft-orange);
}

.payment-card__list strong {
  color: var(--color-navy);
}

.payment-card--accent .btn {
  width: fit-content;
  margin-top: 4px;
}

.form {
  display: grid;
  gap: 14px;
  padding: 24px;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  color: var(--color-text);
  box-shadow: var(--shadow-card);
}

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

.field label,
.checkbox {
  font-size: 13px;
  font-weight: 700;
  color: var(--color-navy);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  background: var(--color-white);
  color: var(--color-text);
}

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

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 3px solid #c7d2fe;
  border-color: var(--color-indigo);
}

.field__error {
  min-height: 18px;
  color: #dc2626;
  font-size: 12px;
}

.checkbox {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--color-muted);
  font-weight: 500;
}

.checkbox input {
  margin-top: 4px;
}

.form__success {
  display: none;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  color: #166534;
  background: #dcfce7;
  font-weight: 700;
}

.form.is-success .form__success {
  display: block;
}

.form.is-error .form__success {
  display: block;
  color: #991b1b;
  background: #fee2e2;
}

.form-consents {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
}

.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--color-muted);
  font-size: 13px;
  line-height: 1.45;
  font-weight: 500;
}

.form-consent input {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--color-indigo);
}

.form-consent a {
  color: var(--color-indigo);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form-consent-error {
  min-height: 18px;
  margin-top: 0;
  color: #dc2626;
  font-size: 12px;
}

.program-list {
  display: grid;
  gap: 12px;
}

.price-card {
  border: 2px solid #c7d2fe;
  min-width: 0;
}

.price-lead-panel .price-card {
  padding: 30px;
  border-radius: var(--radius-lg);
  background: var(--color-white);
  box-shadow: var(--shadow-card);
}

.price {
  font-family: var(--font-heading);
  font-size: 34px;
  color: var(--color-indigo);
  font-weight: 800;
}

.price-lead-panel .price {
  font-size: 46px;
  line-height: 1;
  margin: 4px 0 22px;
}

.old-price {
  display: block;
  width: max-content;
  margin-top: 14px;
  color: var(--color-muted);
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 800;
  text-decoration: line-through;
}

.discount {
  display: inline-flex;
  margin-top: 12px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  background: var(--color-soft-orange);
  color: var(--color-orange-dark);
  font-weight: 800;
}

.price-list {
  margin-bottom: 0;
}

.form-consents--compact .form-consent {
  font-size: 12px;
  line-height: 1.35;
}

.final-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 34px;
  border-radius: var(--radius-lg);
  color: var(--color-white);
  background: linear-gradient(135deg, #1e1b4b, #3730a3);
}

.final-cta h2 {
  max-width: 860px;
  color: var(--color-white);
  font-size: 28px;
  margin-bottom: 0;
  min-width: 0;
}

.seo-copy {
  max-width: 920px;
  min-width: 0;
}

.seo-copy h2 {
  margin-bottom: 18px;
}

.seo-copy h3 {
  margin-top: 30px;
}

.seo-copy p {
  color: var(--color-muted);
  font-size: 16px;
}

.site-footer {
  background: var(--color-navy);
  color: #e0e7ff;
  padding: 48px 0 24px;
}

.site-footer .logo,
.site-footer .logo__text small {
  color: var(--color-white);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 34px;
}

.foote-desc{
  color: var(--color-grey);
}

.footer__title {
  color: var(--color-white);
  font-family: var(--font-heading);
  font-weight: 800;
  margin-bottom: 12px;
}

.footer__links {
  display: grid;
  gap: 9px;
  /* член */
  color: #c7d2fe;
  font-size: 14px;
}

.footer__links a:hover {
  color: var(--color-white);
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: #c7d2fe;
  font-size: 13px;
}

.footer__legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.footer__legal-links a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.mobile-sticky-cta {
  position: fixed;
  right: 12px;
  bottom: 12px;
  left: 12px;
  z-index: 80;
  width: calc(100vw - 24px);
  max-width: calc(100vw - 24px);
  display: none;
  transition:
    opacity 0.18s ease,
    transform 0.18s ease,
    visibility 0.18s ease;
}

.mobile-sticky-cta.is-hidden {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(calc(100% + 18px));
}

.mobile-sticky-cta__button {
  width: 100%;
  min-width: 0;
  min-height: 56px;
  padding-right: 16px;
  padding-left: 16px;
  box-shadow: 0 16px 34px rgba(249, 115, 22, 0.32);
}

.demand-toast {
  position: fixed;
  top: 104px;
  right: 24px;
  z-index: 90;
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr) 28px;
  gap: 14px;
  align-items: center;
  width: min(calc(100vw - 32px), 318px);
  min-height: 112px;
  /* член */
  padding: 18px 14px 18px 18px;
  color: var(--color-text);
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 14px;
  box-shadow: 0 18px 46px rgba(15, 23, 42, 0.2);
  transform: translateY(0);
  transition:
    opacity 0.22s ease,
    transform 0.22s ease;
}

.demand-toast.is-entering,
.demand-toast.is-hidden {
  opacity: 0;
  transform: translateY(-10px);
}

.demand-toast__icon {
  width: 50px;
  height: 56px;
  display: grid;
  place-items: center;
  color: #fbbf24;
}

.demand-toast__icon img {
  display: block;
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.demand-toast__content {
  min-width: 0;
}

.demand-toast__content strong {
  display: block;
  margin-bottom: 6px;
  color: var(--color-text);
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.15;
}

.demand-toast__content p {
  margin: 0;
  color: #64748b;
  font-size: 14px;
  line-height: 1.25;
}

.demand-toast__close {
  align-self: start;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  padding: 0;
  color: #111827;
  background: rgba(15, 23, 42, 0.14);
  border: 0;
  border-radius: 999px;
  transition:
    background-color 0.18s ease,
    color 0.18s ease;
}

.demand-toast__close:hover {
  background: rgba(15, 23, 42, 0.22);
}

.demand-toast__close:focus-visible {
  outline: 3px solid #c7d2fe;
  outline-offset: 2px;
}

.demand-toast__close svg {
  width: 16px;
  height: 16px;
}

.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 120;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  width: min(calc(100% - 32px), 500px);
  padding: 18px 56px 18px 20px;
  background:
    radial-gradient(circle at 6% 8%, rgba(249, 115, 22, 0.1), transparent 30%),
    rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(191, 219, 254, 0.9);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.22);
  transform: translateX(-50%);
  transition:
    opacity 0.22s ease,
    transform 0.22s ease;
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner.is-entering,
.cookie-banner.is-hidden {
  opacity: 0;
  transform: translateX(-50%) translateY(12px);
}

.cookie-banner__icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--color-indigo);
  background: var(--color-soft-indigo);
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px rgba(55, 48, 163, 0.12);
}

.cookie-banner__icon svg {
  width: 22px;
  height: 22px;
}

.cookie-banner p {
  margin: 0;
  color: var(--color-text);
  font-size: 14px;
  line-height: 1.45;
}

.cookie-banner a {
  color: var(--color-indigo);
  font-weight: 800;
  text-decoration: none;
}

.cookie-banner a:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-banner__button {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  padding: 0;
  color: var(--color-text);
  background: transparent;
  border: 0;
  border-radius: 999px;
  transition:
    background-color 0.18s ease,
    color 0.18s ease;
}

.cookie-banner__button:hover {
  background: rgba(15, 23, 42, 0.06);
}

.cookie-banner__button:focus-visible {
  outline: 3px solid #c7d2fe;
  outline-offset: 2px;
}

.cookie-banner__button svg {
  width: 25px;
  height: 25px;
}

.page-hero {
  padding: 54px 0;
  background:
    radial-gradient(circle at 82% 30%, rgba(249, 115, 22, 0.18), transparent 24%),
    linear-gradient(135deg, #eef2ff, #fff);
}


/* член */

.page-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 380px);
  gap: 36px;
  align-items: end;
}

.page-hero .lead {
  color: #334155;
  font-weight: 600;
}

.hero-note {
  padding: 24px;
  border-radius: var(--radius-lg);
  background: var(--color-white);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
}

.page-hero__photo {
  align-self: center;
  overflow: hidden;
  border: 1px solid rgba(191, 219, 254, 0.86);
  border-radius: var(--radius-lg);
  box-shadow: 0 18px 42px rgba(30, 27, 75, 0.14);
}

.page-hero__photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.page-hero__benefits {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  align-items: stretch;
  padding: 10px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(147, 197, 253, 0.58);
  border-radius: var(--radius-lg);
  overflow: visible;
}

.page-hero__benefits .hero__benefit {
  min-height: 100%;
}

.page-hero__benefits .hero__benefit--accent {
  padding-top: 30px;
}

.page-hero__benefits .hero__benefit i,
.page-hero__benefits .hero__benefit svg {
  width: 34px;
  height: 34px;
  padding: 8px;
}

.page-hero__benefits .hero__benefit h3 {
  font-size: 15px;
}

.page-hero__benefits .hero__benefit p {
  font-size: 12px;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  color: var(--color-navy);
  font-weight: 700;
  font-size: 14px;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.filter-button {
  min-height: 42px;
  padding: 9px 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-white);
  color: var(--color-navy);
  font-weight: 800;
}

.filter-button.is-active,
.filter-button:hover {
  border-color: var(--color-indigo);
  background: var(--color-indigo);
  color: var(--color-white);
}

.notice-card {
  border-color: #c7d2fe;
  background: linear-gradient(135deg, #ffffff, #eef2ff);
}

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

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

.list-check li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--color-orange);
}

@media (max-width: 1279px) {
  .header__phone {
    display: none;
  }

  .hero__shell {
    grid-template-columns: 1fr;
    padding-top: 34px;
    width: calc(100% - 32px);
    max-width: 940px;
    margin-right: auto;
    margin-left: auto;
  }

  .hero__content {
    justify-self: stretch;
    max-width: none;
    padding-bottom: 0;
  }

  .hero__image-wrap {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    height: auto;
    min-height: 330px;
    justify-content: center;
  }

  .hero__image-wrap img {
    width: min(660px, 100%);
    height: auto;
  }

  .page-hero__grid,
  .cta-panel,
  .price-lead-panel,
  .final-cta {
    grid-template-columns: 1fr;
  }

  .referral-banner {
    grid-template-columns: minmax(280px, 0.95fr) minmax(0, 1.05fr);
    gap: 24px;
    padding: 22px 24px;
  }

  .referral-banner__cta {
    min-width: 170px;
  }

  .direction-picker__grid {
    grid-template-columns: 1fr;
  }

  .steps,
  .why-grid,
  .feature-list,
  .guarantee-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero__benefits {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .highlight-panel {
    grid-template-columns: 1fr;
  }

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

@media (min-width: 1024px) and (max-width: 1279px) {
  .page-hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
    align-items: end;
  }
}

@media (max-width: 1023px) {
  .hero__benefits {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .learning-preview__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .learning-preview__content,
  .learning-preview__content .lead,
  .learning-preview__details,
  .learning-preview__details .muted,
  .learning-preview__media {
    max-width: 720px;
  }

  .page-hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(220px, 300px);
    gap: 24px;
  }

  .page-hero__benefits {
    grid-template-columns: 1fr;
    max-width: 560px;
  }

  .page-hero__benefits .hero__benefit {
    min-height: 0;
  }

  .referral-banner {
    grid-template-columns: 1fr;
  }

  .referral-banner__content {
    order: 2;
  }

  .referral-banner__media {
    order: 1;
    max-width: 680px;
  }

}

@media (max-width: 1199px) {
  .career-tracks {
    padding: 38px;
  }

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

@media (min-width: 768px) and (max-width: 1023px) {
  .header__inner {
    gap: 16px;
  }

  .burger {
    display: grid;
    place-items: center;
  }

  .nav {
    position: fixed;
    left: 0;
    right: 0;
    top: 76px;
    display: none;
    max-height: calc(100vh - 76px);
    overflow: auto;
    padding: 16px;
    background: var(--color-white);
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-card);
  }

  .nav.is-open {
    display: grid;
    justify-content: stretch;
  }

  .nav__link,
  .nav__button {
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 13px 12px;
    font-size: 16px;
  }

  .dropdown {
    position: static;
    min-width: 0;
    margin: 4px 0 10px;
    opacity: 1;
    visibility: visible;
    transform: none;
    border-color: var(--color-border);
    box-shadow: none;
  }
}

@media (max-width: 767px) {
  body {
    padding-bottom: 78px;
  }

  .mobile-sticky-cta {
    display: flex;
  }

  .demand-toast {
    top: 82px;
    right: 12px;
    width: min(calc(100% - 24px), 318px);
    min-height: 104px;
    grid-template-columns: 46px minmax(0, 1fr) 28px;
    gap: 12px;
    padding: 16px 12px 16px 16px;
  }

  .demand-toast__icon {
    width: 46px;
    height: 52px;
  }

  .demand-toast__icon img {
    width: 44px;
    height: 44px;
  }

  .demand-toast__content strong {
    font-size: 15px;
  }

  .demand-toast__content p {
    font-size: 13px;
  }

  .cookie-banner {
    bottom: 92px;
    grid-template-columns: 42px minmax(0, 1fr);
    width: calc(100% - 50px);
    padding: 16px 48px 16px 16px;
  }

  .cookie-banner p {
    font-size: 13px;
  }

  h1 {
    font-size: 28px;
    line-height: 1.14;
  }

  .header__inner {
    min-height: 66px;
  }

  .burger {
    display: grid;
    place-items: center;
  }

  .header__actions .btn {
    display: none;
  }

  .nav {
    position: fixed;
    left: 0;
    right: 0;
    top: 66px;
    /* член */
    display: none;
    max-height: calc(100vh - 66px);
    overflow: auto;
    padding: 16px;
    background: var(--color-white);
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-card);
  }

  .nav.is-open {
    display: grid;
    justify-content: stretch;
  }

  .nav__link,
  .nav__button {
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 13px 12px;
    font-size: 16px;
  }

  .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border-color: var(--color-border);
    margin: 4px 0 10px;
    min-width: 0;
  }

  .hero {
    padding-top: 16px;
  }

  .hero__shell {
    width: calc(100% - 24px);
    max-width: 560px;
    margin-right: auto;
    margin-left: auto;
    padding: 24px 18px 18px;
    min-height: 620px;
    grid-template-rows: auto 1fr;
  }

  .hero__content,
  .hero__image-wrap {
    width: 100%;
    max-width: none;
  }

  .hero__content,
  .hero__actions {
    width: 100%;
    max-width: 330px;
  }

  .hero__notice {
    font-size: 16px;
  }

  .hero__image-wrap {
    min-height: 0;
    align-self: end;
    align-items: flex-end;
    justify-content: center;
    margin-top: 10px;
    margin-bottom: -18px;
  }

  .hero__image-wrap img {
    width: min(360px, 100%);
    height: auto;
  }

  .hero__actions,
  .hero__actions .btn {
    width: 100%;
  }

  .hero__actions .btn {
    min-width: 0;
    padding-right: 12px;
    padding-left: 12px;
    font-size: 12px;
  }

  .hero__primary-cta {
    width: 100%;
  }

  .hero__microcopy {
    max-width: none;
    text-align: center;
  }

  .hero__benefits {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    overflow: visible;
  }

  .hero__benefit {
    align-items: flex-start;
    min-height: 92px;
    padding: 18px 16px;
    border: 1px solid rgba(191, 219, 254, 0.84);
    border-radius: var(--radius-md);
    box-shadow: 0 10px 26px rgba(30, 64, 175, 0.08);
  }

  .hero__benefit--accent {
    padding-top: 32px;
    border-color: rgba(249, 115, 22, 0.46);
    box-shadow:
      0 16px 34px rgba(249, 115, 22, 0.14),
      0 8px 18px rgba(30, 64, 175, 0.08);
  }

  .hero__benefit h3 {
    font-size: 15px;
  }

  .hero__benefit--accent h3 {
    font-size: 17px;
  }

  .hero__benefit-badge {
    left: 16px;
    top: 9px;
  }

  .learning-preview {
    padding: 44px 0 48px;
  }

  .learning-preview__grid {
    gap: 22px;
  }

  .learning-preview__content {
    display: contents;
  }

  .learning-preview__content .eyebrow {
    order: 1;
    margin-bottom: -8px;
  }

  .learning-preview__content h2 {
    order: 2;
    margin-bottom: -2px;
  }

  .learning-preview__content .lead {
    order: 3;
    margin-bottom: 16px;
  }

  .learning-preview__media {
    order: 4;
  }

  .learning-preview__details {
    order: 5;
  }

  .learning-preview__details .muted {
    font-size: 15px;
  }

  .learning-preview__video-shell {
    min-height: 0;
    border-radius: var(--radius-md);
    box-shadow: 0 18px 42px rgba(30, 27, 75, 0.18);
  }

  .learning-preview__video-trigger {
    padding: 18px;
  }

  .learning-preview__play {
    width: 64px;
    height: 64px;
  }

  .learning-preview__play svg {
    width: 26px;
    height: 26px;
  }

  .learning-preview__video-caption {
    max-width: 280px;
    font-size: 18px;
  }

  .learning-preview__video-time {
    min-height: 28px;
    padding: 5px 10px;
    font-size: 12px;
  }

  .learning-preview__points {
    grid-template-columns: 1fr;
  }

  .learning-preview__point {
    padding: 13px;
  }

  .direction-picker {
    width: 100%;
    margin-top: 24px;
  }

  .trust-grid,
  .steps,
  .why-grid,
  .feature-list,
  .guarantee-grid,
  .pedagogy-stats__grid {
    grid-template-columns: 1fr;
  }

  .guarantee-card--accent {
    grid-column: auto;
    grid-template-columns: 1fr;
  }

  .diploma-panel {
    grid-template-columns: 1fr;
  }

  .diploma-section {
    padding: 44px 0;
  }

  .why-card {
    padding: 20px;
  }

  .section--referral {
    padding: 40px 0;
  }

  .referral-banner {
    min-height: 0;
    width: 100%;
    max-width: 100%;
    margin-right: auto;
    margin-left: auto;
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 22px 18px;
  }

  .referral-banner__title {
    font-size: 22px;
    overflow-wrap: anywhere;
  }

  .referral-banner__desc,
  .referral-banner__step p {
    overflow-wrap: anywhere;
  }

  .referral-banner__steps {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .referral-banner__step {
    grid-template-columns: 26px minmax(0, 1fr);
  }

  .step-num {
    width: 24px;
    height: 24px;
  }

  .referral-banner__cta {
    min-width: 0;
  }

  .referral-banner__cta .btn {
    width: 100%;
  }

  .referral-banner__media {
    max-width: none;
  }

  .diploma-panel {
    gap: 24px;
    width: calc(100% - 24px);
    max-width: 560px;
    margin-right: auto;
    margin-left: auto;
  }

  .diploma-panel__content h2 {
    font-size: 24px;
  }

  .diploma-panel__content .lead {
    font-size: 16px;
  }

  .diploma-visual {
    min-height: 220px;
    padding: 16px;
  }

  .diploma-visual img {
    max-height: 230px;
  }

  .trust-item {
    border-right: 0;
    border-bottom: 1px solid var(--color-border);
  }

  .trust-item:last-child {
    border-bottom: 0;
  }

  .cta-panel,
  .price-lead-panel,
  .highlight-panel,
  .final-cta {
    padding: 24px 16px;
  }

  .career-card {
    padding: 20px;
  }

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

  .career-tracks-section {
    padding: 48px 0;
  }

  .career-tracks {
    padding: 24px 18px;
    border-radius: 22px;
  }

  .career-tracks__head {
    margin-bottom: 22px;
  }

  .career-tracks__head h2 {
    font-size: 26px;
    line-height: 1.14;
  }

  .career-tracks__head .lead {
    font-size: 16px;
  }

  .career-tracks__grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .career-track-card {
    padding: 22px;
    border-radius: 18px;
  }

  .career-track-card__icon {
    width: 54px;
    height: 54px;
    border-radius: 16px;
  }

  .career-track-card__icon svg {
    width: 26px;
    height: 26px;
  }

  .career-track-card h3 {
    margin: 18px 0 16px;
    font-size: 19px;
  }

  .career-tracks__note {
    align-items: flex-start;
    gap: 14px;
    padding: 18px;
    border-radius: 18px;
  }

  .career-tracks__note-icon {
    width: 48px;
    height: 48px;
  }

  .price-lead-panel .price {
    font-size: 38px;
  }

  .price-lead-panel .price-card {
    padding: 22px;
  }

  .payment-cards {
    grid-template-columns: 1fr;
  }

  .payment-card--accent {
    grid-column: auto;
    grid-row: auto;
  }

  .payment-card,
  .payment-card--accent {
    padding: 18px;
  }

  .payment-card--accent .btn {
    width: 100%;
  }

  .price-lead-panel .form h2,
  .final-cta h2 {
    font-size: 22px;
  }

  .final-cta .btn {
    width: 100%;
  }

  .form {
    padding: 18px;
  }

  .form-consent {
    font-size: 12px;
    line-height: 1.4;
  }

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

  .page-hero__grid {
    grid-template-columns: 1fr;
  }

  .page-hero__benefits {
    grid-template-columns: 1fr;
  }

  .hero-note {
    padding: 18px;
  }

  .footer__grid,
  .footer__bottom {
    grid-template-columns: 1fr;
    flex-direction: column;
  }
}

/* Thanks page */
.thanks-hero {
  overflow: hidden;
  padding: 58px 0 34px;
  background:
    radial-gradient(circle at 84% 18%, rgba(249, 115, 22, 0.16), transparent 24%),
    radial-gradient(circle at 18% 84%, rgba(55, 48, 163, 0.12), transparent 28%),
    linear-gradient(135deg, #eef2ff 0%, #ffffff 62%, #fff7ed 100%);
}

.thanks-hero__grid {
  min-height: 520px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 480px);
  gap: 48px;
  align-items: center;
}

.thanks-hero__content {
  min-width: 0;
  max-width: 660px;
}

.thanks-hero__content h1 {
  margin-bottom: 18px;
}

.thanks-hero__content .lead {
  max-width: 610px;
  color: #334155;
  font-weight: 600;
}

.thanks-hero__note {
  max-width: 560px;
  color: var(--color-muted);
  font-weight: 700;
}

.thanks-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 14px;
  margin-top: 28px;
}

.thanks-hero__home {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  color: var(--color-indigo);
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.thanks-hero__home:hover {
  color: var(--color-orange-dark);
}

.thanks-visual {
  position: relative;
  min-height: 430px;
  padding: 28px;
  border: 1px solid rgba(191, 219, 254, 0.86);
  border-radius: 28px;
  background:
    radial-gradient(circle at 16% 14%, rgba(255, 255, 255, 0.9), /* член */transparent 26%),
    linear-gradient(135deg, #1e1b4b, #3730a3 58%, #2563eb);
  box-shadow: 0 28px 70px rgba(30, 27, 75, 0.2);
}

.thanks-visual__status {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 16px;
  width: min(100%, 340px);
  padding: 18px;
  color: var(--color-text);
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 18px;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.18);
}

.thanks-visual__check {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: var(--color-white);
  background: var(--color-orange);
  border-radius: 999px;
  box-shadow: 0 16px 28px rgba(249, 115, 22, 0.3);
}

.thanks-visual__check svg {
  width: 30px;
  height: 30px;
  stroke-width: 3;
}

.thanks-visual__status strong {
  display: block;
  color: var(--color-navy);
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.15;
}

.thanks-visual__status p {
  margin: 5px 0 0;
  color: var(--color-muted);
  font-size: 14px;
  line-height: 1.35;
}

.thanks-visual__phone {
  position: absolute;
  right: 34px;
  bottom: 28px;
  width: min(70%, 320px);
  min-height: 300px;
  padding: 14px;
  border-radius: 34px;
  background: #0f172a;
  box-shadow: 0 24px 46px rgba(15, 23, 42, 0.34);
}

.thanks-visual__screen {
  height: 100%;
  min-height: 272px;
  padding: 22px;
  border-radius: 24px;
  background: linear-gradient(180deg, #ffffff, #eef2ff);
}

.thanks-visual__pill {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 7px 11px;
  color: var(--color-orange-dark);
  background: var(--color-soft-orange);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.thanks-visual__screen h2 {
  margin-bottom: 18px;
  font-size: 24px;
}

.thanks-visual__row {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  margin-bottom: 10px;
  padding: 10px 12px;
  color: var(--color-navy);
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  font-weight: 800;
  box-shadow: 0 10px 22px rgba(30, 27, 75, 0.06);
}

.thanks-visual__row svg {
  width: 20px;
  height: 20px;
  color: var(--color-indigo);
  flex: 0 0 auto;
}

.thanks-visual__bubble {
  position: absolute;
  z-index: 3;
  max-width: 220px;
  padding: 10px 13px;
  color: var(--color-navy);
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 999px;
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.18);
  font-size: 13px;
  font-weight: 800;
}

.thanks-visual__bubble--one {
  top: 142px;
  left: 30px;
}

.thanks-visual__bubble--two {
  right: 22px;
  top: 90px;
}

.thanks-step {
  position: relative;
  min-height: 100%;
}

.thanks-step__number {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: var(--color-indigo);
  background: var(--color-soft-indigo);
  border-radius: 999px;
  font-family: var(--font-heading);
  font-weight: 800;
}

.thanks-actions-section {
  background:
    radial-gradient(circle at 86% 12%, rgba(55, 48, 163, 0.08), transparent 24%),
    linear-gradient(180deg, #f8fafc 0%, #eef2ff 100%);
}

.thanks-action-card {
  min-height: 210px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
  color: var(--color-text);
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

a.thanks-action-card:hover {
  transform: translateY(-2px);
  border-color: #c7d2fe;
  box-shadow: 0 18px 42px rgba(30, 27, 75, 0.1);
}

.thanks-action-card > svg {
  width: 42px;
  height: 42px;
  padding: 10px;
  color: var(--color-indigo);
  background: var(--color-soft-indigo);
  border-radius: 14px;
}

.thanks-action-card strong {
  color: var(--color-navy);
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.2;
}

.thanks-action-card span {
  color: var(--color-muted);
  font-size: 15px;
  line-height: 1.45;
}

.thanks-trust {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.85fr);
  gap: 32px;
  align-items: center;
  padding: 34px;
  border: 1px solid rgba(191, 219, 254, 0.76);
  border-radius: 24px;
  background:
    radial-gradient(circle at 92% 18%, rgba(249, 115, 22, 0.1), transparent 26%),
    linear-gradient(135deg, #ffffff, #eef2ff);
  box-shadow: var(--shadow-card);
}

.thanks-trust__content p {
  max-width: 640px;
  margin-bottom: 0;
  color: var(--color-muted);
  font-size: 17px;
  font-weight: 600;
}

.thanks-trust__list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.thanks-trust__list li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 14px;
  color: var(--color-navy);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 14px;
  font-weight: 800;
}

.thanks-trust__list svg {
  width: 28px;
  height: 28px;
  color: var(--color-orange);
}

.thanks-contacts-section {
  padding-top: 48px;
}

.thanks-contacts {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding: 30px;
  color: var(--color-white);
  background: linear-gradient(135deg, #1e1b4b, #3730a3);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-hero);
}

.thanks-contacts h2,
.thanks-contacts .eyebrow {
  color: var(--color-white);
}

.thanks-contacts p {
  max-width: 690px;
  margin-bottom: 0;
  color: #e0e7ff;
}

.thanks-contacts__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

.thanks-contacts__email {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  color: #e0e7ff;
  font-weight: 800;
}

.thanks-contacts__email:hover {
  color: var(--color-white);
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 1023px) {
  .thanks-hero__grid,
  .thanks-trust,
  .thanks-contacts {
    grid-template-columns: 1fr;
  }

  .thanks-hero__grid {
    min-height: 0;
  }

  .thanks-visual {
    max-width: 560px;
    width: 100%;
    margin: 0 auto;
  }

  .thanks-contacts__links {
    justify-content: flex-start;
  }
}

@media (max-width: 767px) {
  body[data-disable-sticky-cta] {
    padding-bottom: 0;
  }

  .thanks-hero {
    padding: 34px 0 28px;
  }

  .thanks-hero__grid {
    gap: 26px;
  }

  .thanks-hero__actions,
  .thanks-hero__actions .btn,
  .thanks-contacts__links,
  .thanks-contacts__links .btn {
    width: 100%;
  }

  .thanks-hero__actions .btn,
  .thanks-contacts__links .btn {
    min-width: 0;
  }

  .thanks-hero__home {
    width: 100%;
    justify-content: center;
  }

  .thanks-visual {
    min-height: 310px;
    padding: 18px;
    border-radius: 22px;
  }

  .thanks-visual__status {
    padding: 14px;
  }

  .thanks-visual__check {
    width: 48px;
    height: 48px;
  }

  .thanks-visual__phone {
    right: 18px;
    bottom: 18px;
    width: min(78%, 270px);
    min-height: 218px;
    padding: 10px;
    /* член */
    border-radius: 26px;
  }

  .thanks-visual__screen {
    min-height: 198px;
    padding: 16px;
    border-radius: 19px;
  }

  .thanks-visual__screen h2 {
    margin-bottom: 12px;
    font-size: 19px;
  }

  .thanks-visual__row {
    min-height: 36px;
    margin-bottom: 8px;
    padding: 8px;
    font-size: 12px;
  }

  .thanks-visual__bubble {
    display: none;
  }

  .thanks-action-card {
    min-height: 0;
    padding: 20px;
  }

  .thanks-trust,
  .thanks-contacts {
    padding: 22px 18px;
  }
}

/* Compact thanks page layout */
body[data-disable-sticky-cta] {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding-bottom: 0;
}

body[data-disable-sticky-cta] main {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
}

body[data-disable-sticky-cta] .thanks-hero {
  flex: 1 0 auto;
  display: flex;
  align-items: center;
  padding: 56px 0;
}

body[data-disable-sticky-cta] .thanks-hero__grid {
  min-height: 0;
  grid-template-columns: minmax(0, 720px);
  justify-content: center;
  text-align: center;
}

body[data-disable-sticky-cta] .thanks-hero__content {
  max-width: 720px;
  margin: 0 auto;
}

body[data-disable-sticky-cta] .thanks-hero__content .lead {
  margin-right: auto;
  margin-left: auto;
}

body[data-disable-sticky-cta] .thanks-hero__actions {
  justify-content: center;
}

body[data-disable-sticky-cta] .site-footer {
  flex-shrink: 0;
  margin-top: auto;
}

/* Quiz page */
.quiz-page {
  min-height: 100%;
  background:
    linear-gradient(180deg, #f8fafc 0%, #eef2ff 46%, #fff7ed 100%);
}

.quiz-shell-section {
  padding: 44px 0 64px;
}

.quiz-layout {
  display: grid;
  grid-template-columns: minmax(0, 820px) minmax(280px, 360px);
  gap: 24px;
  align-items: start;
}

.quiz-card,
.quiz-aside__panel {
  border: 1px solid rgba(226, 232, 240, 0.96);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 24px 60px rgba(30, 27, 75, 0.1);
}

.quiz-card {
  min-height: 620px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.quiz-card__top {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--color-border);
}

.quiz-card__eyebrow,
.quiz-aside__label,
.quiz-result__badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 7px 11px;
  border-radius: 999px;
  background: var(--color-soft-orange);
  color: var(--color-orange-dark);
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.quiz-card__branch {
  margin-top: 8px;
  color: var(--color-muted);
  font-size: 13px;
  font-weight: 800;
}

.quiz-progress {
  width: min(240px, 36vw);
  display: grid;
  gap: 8px;
  color: var(--color-navy);
  font-size: 13px;
  font-weight: 800;
  text-align: right;
}

.quiz-progress__bar {
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: #e2e8f0;
}

.quiz-progress__bar span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: var(--color-orange);
  transition: width 0.22s ease;
}

.quiz-card__body {
  flex: 1;
  display: grid;
  align-items: center;
  padding: 36px;
}

.quiz-start,
.quiz-intro,
.quiz-question,
.quiz-result {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
}

.quiz-start h1,
.quiz-intro h1,
.quiz-question h1,
.quiz-result h1 {
  max-width: 720px;
}

.quiz-start .lead,
.quiz-intro .lead,
.quiz-result .lead {
  color: #334155;
  font-weight: 600;
}

.quiz-choice-grid {
  display: grid;
  gap: 14px;
  margin-top: 26px;
}

.quiz-choice-grid--start {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.quiz-choice {
  min-width: 0;
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  background: #ffffff;
  color: var(--color-text);
  text-align: left;
  box-shadow: 0 12px 28px rgba(30, 27, 75, 0.05);
  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    background-color 0.18s ease;
}

.quiz-choice:hover,
.quiz-choice:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(249, 115, 22, 0.58);
  background: #fffaf5;
  box-shadow: 0 18px 38px rgba(249, 115, 22, 0.12);
  outline: 0;
}

.quiz-choice strong {
  display: block;
  color: var(--color-navy);
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.25;
}

.quiz-choice small {
  display: block;
  margin-top: 6px;
  color: var(--color-muted);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
}

.quiz-choice > svg,
.quiz-choice__icon {
  flex: 0 0 auto;
}

.quiz-choice > svg {
  width: 22px;
  height: 22px;
  color: var(--color-orange);
}

.quiz-choice__icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: var(--color-indigo);
  background: var(--color-soft-indigo);
}

.quiz-choice__icon svg {
  width: 28px;
  height: 28px;
}

.quiz-choice--large {
  min-height: 164px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
}

.quiz-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  margin-bottom: 20px;
  padding: 7px 0;
  border: 0;
  background: transparent;
  color: var(--color-indigo);
  font-weight: 800;
}

.quiz-back svg {
  width: 18px;
  height: 18px;
}

.quiz-intro__facts,
.quiz-aside__facts,
.quiz-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0 26px;
}

.quiz-intro__facts span,
.quiz-aside__facts span,
.quiz-tags span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 8px 11px;
  border-radius: var(--radius-sm);
  background: #f8fafc;
  color: var(--color-navy);
  font-size: 13px;
  font-weight: 800;
}

.quiz-intro__facts svg,
.quiz-aside__facts svg {
  width: 18px;
  height: 18px;
  color: var(--color-orange);
}

.quiz-aside {
  position: sticky;
  top: 100px;
}

.quiz-aside__panel {
  padding: 24px;
}

.quiz-aside__panel h2 {
  margin-top: 18px;
  font-size: 25px;
}

.quiz-aside__panel p {
  color: var(--color-muted);
  font-weight: 600;
}

.quiz-aside__facts {
  display: grid;
  margin-bottom: 0;
}

.quiz-result__head {
  margin-bottom: 24px;
}

.quiz-result__badge {
  margin-bottom: 14px;
  background: #dcfce7;
  color: #166534;
}

.quiz-result__summary {
  display: grid;
  gap: 14px;
}

.quiz-result-direction {
  min-width: 0;
  padding: 20px;
  border: 1px solid rgba(199, 210, 254, 0.9);
  border-radius: 16px;
  background: #ffffff;
}

.quiz-result-direction__code {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 6px 9px;
  border-radius: var(--radius-sm);
  background: var(--color-soft-indigo);
  color: var(--color-indigo);
  font-size: 12px;
  font-weight: 800;
}

.quiz-result-direction h3 {
  margin-bottom: 6px;
  font-size: 22px;
}

.quiz-result-direction strong {
  display: block;
  margin-bottom: 10px;
  color: var(--color-orange-dark);
  font-weight: 800;
}

.quiz-result-direction p {
  margin-bottom: 0;
  color: var(--color-muted);
  font-weight: 600;
}

.quiz-result-block,
.quiz-result-note {
  margin-top: 14px;
  padding: 20px;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  background: #f8fafc;
}

.quiz-result-block--accent {
  border-color: rgba(249, 115, 22, 0.42);
  background: #fff7ed;
}

.quiz-result-block h3 {
  font-size: 20px;
}

.quiz-result-block p:last-child {
  margin-bottom: 0;
}

.quiz-result-note {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  align-items: start;
  gap: 12px;
  color: var(--color-navy);
  font-weight: 800;
}

.quiz-result-note svg {
  width: 24px;
  height: 24px;
  color: var(--color-orange);
}

.quiz-result__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.quiz-lead-shell {
  margin-top: 24px;
}

.quiz-lead-form {
  border: 1px solid rgba(199, 210, 254, 0.9);
}

.quiz-form-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

/* 404 page */
.not-found-page {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(circle at 88% 16%, rgba(249, 115, 22, 0.12), transparent 24%),
    radial-gradient(circle at 12% 78%, rgba(55, 48, 163, 0.1), transparent 28%),
    linear-gradient(135deg, #f8fafc 0%, #ffffff 54%, #eef2ff 100%);
}

.not-found-hero {
  flex: 1 0 auto;
  display: flex;
  align-items: center;
  padding: 56px 0;
}

.not-found-hero__grid {
  min-height: 560px;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 0.78fr);
  gap: 48px;
  align-items: center;
}

.not-found-hero__content {
  min-width: 0;
  max-width: 640px;
}

.not-found-hero__content h1 {
  margin-bottom: 18px;
  font-size: clamp(42px, 6vw, 74px);
}

.not-found-hero__content .lead {
  max-width: 560px;
  color: #334155;
  font-size: 20px;
  font-weight: 700;
}

.not-found-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.not-found-hero__visual {
  min-width: 0;
  min-height: 500px;
  display: grid;
  place-items: center;
  padding: 26px;
  border: 1px solid rgba(199, 210, 254, 0.72);
  border-radius: 28px;
  background:
    radial-gradient(circle at 20% 18%, rgba(255, 255, 255, 0.18), transparent 28%),
    linear-gradient(135deg, #020617, #0f172a 55%, #1e1b4b);
  box-shadow:
    0 28px 70px rgba(30, 27, 75, 0.18),
    inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  overflow: hidden;
}

.not-found-hero__visual img {
  width: min(100%, 430px);
  max-height: 520px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 24px 34px rgba(0, 0, 0, 0.28));
}

@media (max-width: 1023px) {
  #contact-form {
    justify-self: stretch;
    width: 100%;
  }

  .quiz-layout {
    grid-template-columns: 1fr;
  }

  .quiz-aside {
    position: static;
  }

  .not-found-hero__grid {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .not-found-hero__visual {
    max-width: 560px;
    width: 100%;
    margin: 0 auto;
  }
}

@media (max-width: 767px) {
  body[data-disable-sticky-cta] .thanks-hero {
    padding: 44px 0;
  }

  .quiz-shell-section {
    padding: 24px 0 36px;
  }

  .quiz-card {
    min-height: 0;
    border-radius: 16px;
  }

  .quiz-card__top {
    align-items: flex-start;
    min-height: 0;
    flex-direction: column;
    padding: 16px;
  }

  .quiz-progress {
    width: 100%;
    text-align: left;
  }

  .quiz-card__body {
    align-items: start;
    padding: 22px 16px;
  }

  .quiz-start h1,
  .quiz-intro h1,
  .quiz-question h1,
  .quiz-result h1 {
    font-size: 26px;
  }

  .quiz-choice-grid,
  .quiz-choice-grid--start {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 20px;
  }

  .quiz-choice,
  .quiz-choice--large {
    min-height: 64px;
    flex-direction: row;
    align-items: center;
    padding: 14px;
  }

  .quiz-choice strong {
    font-size: 16px;
  }

  .quiz-choice small {
    font-size: 12px;
  }

  .quiz-choice__icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
  }

  .quiz-aside__panel {
    padding: 20px;
    border-radius: 16px;
  }

  .quiz-result__actions,
  .quiz-result__actions .btn {
    width: 100%;
  }

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

  .quiz-lead-form .btn {
    width: 100%;
  }

  .not-found-hero {
    padding: 36px 0;
  }

  .not-found-hero__grid {
    gap: 26px;
  }

  .not-found-hero__content h1 {
    font-size: 40px;
  }

  .not-found-hero__content .lead {
    font-size: 17px;
  }

  .not-found-hero__actions,
  .not-found-hero__actions .btn {
    width: 100%;
  }

  .not-found-hero__visual {
    min-height: 300px;
    padding: 18px;
    border-radius: 22px;
  }

  .not-found-hero__visual img {
    width: min(100%, 300px);
    max-height: 340px;
  }
}
