:root {
  --navy: #0b1f3a;
  --gold: #d4af37;
  --bg-light: #f8fafc;
  --bg-alt: #e2e8f0;
  --muted: #6b7280;
  --text: #4b5563;
  --line: #f3f4f6;
  --line-strong: #e5e7eb;
  --white: #ffffff;
  --radius-40: 40px;
  --radius-24: 24px;
  --radius-16: 16px;
  --radius-12: 12px;
  --shadow-soft: 0 10px 30px -5px rgba(0, 0, 0, 0.05);
  --shadow-medium: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  --shadow-gold: 0 10px 15px -3px rgba(212, 175, 55, 0.3), 0 4px 6px -4px rgba(212, 175, 55, 0.3);
  --shadow-button: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  overflow-x: hidden;
  scrollbar-color: var(--gold) var(--white);
  scroll-behavior: smooth;
}

body {
  background: var(--white);
  color: var(--text);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.35;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

.section[id] {
  scroll-margin-top: 96px;
}

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

::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: var(--white);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #f5d76e, var(--gold));
  border: 3px solid var(--white);
  border-radius: 999px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #ffe28a, #c59a22);
}

.scroll-progress {
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 8px 22px -18px rgba(11, 31, 58, 0.55);
  height: 5px;
  inset: 0 0 auto;
  pointer-events: none;
  position: fixed;
  z-index: 240;
}

.scroll-progress span {
  background: linear-gradient(90deg, #ffffff 0%, #f7df91 32%, var(--gold) 100%);
  box-shadow: 0 0 18px rgba(212, 175, 55, 0.42);
  display: block;
  height: 100%;
  transform: scaleX(0);
  transform-origin: left center;
  width: 100%;
  will-change: transform;
}

.scroll-top-btn {
  align-items: center;
  background: linear-gradient(145deg, var(--gold), #f6d96f);
  border: 3px solid var(--white);
  border-radius: 999px;
  bottom: 164px;
  box-shadow: 0 18px 38px -20px rgba(11, 31, 58, 0.65), 0 0 0 7px rgba(255, 255, 255, 0.5);
  color: var(--white);
  cursor: pointer;
  display: inline-flex;
  height: 56px;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  position: fixed;
  right: 28px;
  transform: translateY(14px) scale(0.92);
  transition: opacity 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
  width: 56px;
  z-index: 230;
}

.scroll-top-btn.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.scroll-top-btn::before {
  border-left: 3px solid currentColor;
  border-top: 3px solid currentColor;
  content: "";
  height: 14px;
  margin-top: 7px;
  transform: rotate(45deg);
  width: 14px;
}

.scroll-top-btn:hover {
  box-shadow: 0 22px 44px -22px rgba(11, 31, 58, 0.75), 0 0 0 8px rgba(255, 255, 255, 0.65);
  transform: translateY(-3px) scale(1.04);
}

.scroll-top-btn:active {
  transform: translateY(1px) scale(0.98);
}

.telegram-chat-btn,
.whatsapp-chat-btn {
  align-items: center;
  border: 3px solid var(--white);
  border-radius: 999px;
  box-shadow: 0 18px 38px -20px rgba(11, 31, 58, 0.65), 0 0 0 7px rgba(212, 175, 55, 0.14);
  color: var(--white);
  display: inline-flex;
  height: 56px;
  justify-content: center;
  position: fixed;
  right: 28px;
  transition: box-shadow 0.22s ease, transform 0.22s ease;
  width: 56px;
  z-index: 230;
}

.telegram-chat-btn {
  background: linear-gradient(145deg, #35aee2, #229ed9);
  bottom: 28px;
}

.whatsapp-chat-btn {
  background: linear-gradient(145deg, #35d46f, #25d366);
  bottom: 96px;
}

.telegram-chat-btn svg,
.whatsapp-chat-btn svg {
  display: block;
  height: 28px;
  width: 28px;
}

.telegram-chat-btn::before,
.whatsapp-chat-btn::before {
  background: var(--white);
  border: 1px solid rgba(212, 175, 55, 0.45);
  border-radius: 999px;
  box-shadow: 0 18px 34px -24px rgba(11, 31, 58, 0.7);
  color: var(--navy);
  content: attr(data-label);
  font-size: 13px;
  font-weight: 800;
  line-height: 18px;
  opacity: 0;
  padding: 10px 16px;
  pointer-events: none;
  position: absolute;
  right: calc(100% + 14px);
  top: 50%;
  transform: translate(10px, -50%);
  transition: opacity 0.2s ease, transform 0.2s ease;
  white-space: nowrap;
}

.telegram-chat-btn::after,
.whatsapp-chat-btn::after {
  background: var(--white);
  border-right: 1px solid rgba(212, 175, 55, 0.45);
  border-top: 1px solid rgba(212, 175, 55, 0.45);
  content: "";
  height: 10px;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  right: calc(100% + 9px);
  top: 50%;
  transform: translate(10px, -50%) rotate(45deg);
  transition: opacity 0.2s ease, transform 0.2s ease;
  width: 10px;
}

.telegram-chat-btn:hover::before,
.telegram-chat-btn:hover::after,
.telegram-chat-btn:focus-visible::before,
.telegram-chat-btn:focus-visible::after,
.whatsapp-chat-btn:hover::before,
.whatsapp-chat-btn:hover::after,
.whatsapp-chat-btn:focus-visible::before,
.whatsapp-chat-btn:focus-visible::after {
  opacity: 1;
  transform: translate(0, -50%);
}

.telegram-chat-btn:hover::after,
.telegram-chat-btn:focus-visible::after,
.whatsapp-chat-btn:hover::after,
.whatsapp-chat-btn:focus-visible::after {
  transform: translate(0, -50%) rotate(45deg);
}

.telegram-chat-btn:hover,
.whatsapp-chat-btn:hover {
  box-shadow: 0 22px 44px -22px rgba(11, 31, 58, 0.75), 0 0 0 8px rgba(212, 175, 55, 0.22);
  transform: translateY(-3px) scale(1.04);
}

.telegram-chat-btn:active,
.whatsapp-chat-btn:active {
  transform: translateY(1px) scale(0.98);
}

button,
input,
select {
  font: inherit;
}

ul {
  list-style: none;
}

.container {
  margin: 0 auto;
  max-width: 1440px;
  padding: 0 40px;
  width: 100%;
}

.section {
  padding: 96px 0;
}

.section-head h2 {
  color: var(--navy);
  font-family: Montserrat, Inter, sans-serif;
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 40px;
}

.section-head p {
  color: var(--muted);
  font-size: 16px;
  line-height: 24px;
  margin-top: 8px;
}

.section-head.centered {
  align-items: center;
  display: flex;
  flex-direction: column;
  margin: 0 auto 64px;
  text-align: center;
}

.section-head.compact {
  margin-bottom: 48px;
}

.section-mark {
  background: var(--gold);
  border-radius: 2px;
  height: 4px;
  margin-top: 16px;
  width: 80px;
}

.section-row {
  align-items: flex-end;
  display: flex;
  justify-content: space-between;
  margin-bottom: 64px;
}

.left p {
  margin-top: 16px;
}

.btn {
  align-items: center;
  border: 0;
  cursor: pointer;
  display: inline-flex;
  font-weight: 700;
  justify-content: center;
  position: relative;
  transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease, border-color 0.25s ease;
}

.btn-pill {
  border-radius: 999px;
  font-size: 14px;
  min-height: 44px;
  padding: 12px 32px;
}

.btn-hero {
  border-radius: 12px;
  font-size: 16px;
  gap: 8px;
  min-height: 64px;
  padding: 20px 40px;
}

.btn-medium {
  border-radius: 16px;
  font-size: 16px;
  min-height: 64px;
  padding: 20px 48px;
}

.btn-plan {
  border-radius: 16px;
  font-size: 16px;
  justify-content: center;
  min-height: 56px;
  width: 100%;
}

.btn-form {
  border-radius: 16px;
  min-height: 64px;
  width: 100%;
}

.btn-gold {
  background: var(--gold);
  box-shadow: var(--shadow-gold);
  color: var(--white);
}

.btn-gold:hover {
  background: var(--navy);
  box-shadow: 0 16px 28px -12px rgba(11, 31, 58, 0.55);
  color: var(--white);
}

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

.btn-navy:hover {
  background: var(--gold);
  box-shadow: var(--shadow-gold);
  color: var(--white);
}

.btn-outline {
  background: var(--white);
  border: 2px solid var(--navy);
  color: var(--navy);
}

.btn-outline:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

.btn-outline:hover img {
  filter: brightness(0) invert(1);
}

.pressable:active,
.btn:active {
  transform: translateY(1px) scale(0.98);
}

.interactive {
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease, background-color 0.28s ease;
}

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

.site-header {
  background: #ffffff;
  border-bottom: 1px solid var(--line);
  left: 0;
  position: relative;
  z-index: 100;
}

html body .site-header,
html body.has-sticky-header .site-header {
  background-color: #ffffff;
  background-image: none;
  opacity: 1;
}

.header-flow-spacer {
  height: 0;
}

.has-sticky-header .site-header {
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(11, 31, 58, 0.08);
  position: fixed;
  top: 0;
  width: 100%;
}

.header-inner {
  align-items: center;
  display: flex;
  height: 80px;
  justify-content: space-between;
  position: relative;
}

.brand {
  align-items: center;
  display: inline-flex;
  gap: 12px;
}

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

.brand-text strong {
  color: var(--navy);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 20px;
}

.brand-text small {
  color: var(--gold);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  line-height: 15px;
  margin-top: 1px;
  text-transform: uppercase;
}

.main-nav {
  align-items: center;
  display: flex;
  gap: 32px;
}

.main-nav a {
  border-bottom: 2px solid transparent;
  color: var(--muted);
  font-family: Poppins, Inter, sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  padding: 4px 0;
  transition: color 0.25s ease, border-color 0.25s ease;
}

.main-nav a.active,
.main-nav a:hover {
  border-color: var(--gold);
  color: var(--navy);
}

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

.language-dropdown {
  position: relative;
}

.language-current {
  align-items: center;
  background: #ffffff;
  border: 1px solid var(--line-strong);
  border-radius: 0;
  box-shadow: none;
  color: var(--navy);
  cursor: pointer;
  display: inline-flex;
  font-size: 12px;
  font-weight: 800;
  height: 40px;
  justify-content: center;
  letter-spacing: 0.06em;
  min-width: 72px;
  padding: 0 34px 0 14px;
  position: relative;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.language-current::after {
  border-bottom: 2px solid currentColor;
  border-right: 2px solid currentColor;
  content: "";
  height: 6px;
  opacity: 0.72;
  position: absolute;
  right: 14px;
  top: 48%;
  transform: translateY(-50%) rotate(45deg);
  transition: opacity 0.2s ease, transform 0.2s ease;
  width: 6px;
}

.language-current span {
  position: relative;
  z-index: 1;
}

.language-current:hover {
  background: #f8fafc;
  border-color: var(--gold);
}

.language-dropdown.open .language-current {
  background: var(--navy);
  border-color: var(--navy);
  color: #ffffff;
}

.language-dropdown.open .language-current::after {
  opacity: 1;
  transform: translateY(-30%) rotate(225deg);
}

.language-current:active {
  transform: translateY(1px) scale(0.98);
}

.language-menu {
  background: #ffffff;
  border: 1px solid var(--line-strong);
  border-radius: 0;
  box-shadow: 0 18px 34px -26px rgba(11, 31, 58, 0.55);
  display: grid;
  gap: 0;
  min-width: 164px;
  opacity: 0;
  overflow: hidden;
  padding: 4px 0;
  pointer-events: none;
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  transform: translateY(-6px);
  transform-origin: top right;
  transition: opacity 0.18s ease, transform 0.18s ease;
  z-index: 130;
}

.language-dropdown.open .language-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.language-menu-item {
  align-items: center;
  background: transparent;
  border: 0;
  border-left: 3px solid transparent;
  border-radius: 0;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  font-size: 13px;
  font-weight: 800;
  gap: 10px;
  height: 40px;
  letter-spacing: 0.4px;
  padding: 0 14px 0 11px;
  position: relative;
  text-align: left;
  text-decoration: none;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
  width: 100%;
}

.language-menu-item::before {
  content: none;
}

.language-menu-item span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
  transition: color 0.2s ease;
}

.language-menu-item:hover {
  background: #f8fafc;
  border-left-color: var(--gold);
}

.language-menu-item.active {
  background: var(--navy);
  border-left-color: var(--gold);
  box-shadow: none;
  color: #ffffff;
}

.language-menu-item.active span {
  color: rgba(255, 255, 255, 0.78);
}

.phone-link {
  align-items: center;
  color: var(--navy);
  display: inline-flex;
  font-size: 16px;
  font-weight: 700;
  gap: 8px;
  line-height: 24px;
}

.nav-toggle {
  align-items: center;
  background: transparent;
  border: 0;
  cursor: pointer;
  display: none;
  flex-direction: column;
  gap: 4px;
  height: 28px;
  justify-content: center;
  width: 28px;
}

.nav-toggle span {
  background: var(--navy);
  border-radius: 2px;
  display: block;
  height: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
  width: 18px;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.hero {
  background-image: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-alt) 100%);
  isolation: isolate;
  overflow: hidden;
  position: relative;
}

.hero.section {
  padding: 0;
}

.hero-grid {
  align-items: center;
  display: grid;
  gap: 48px;
  grid-template-columns: minmax(0, 580px) 1fr;
  justify-content: space-between;
  min-height: clamp(620px, 55vw, 760px);
  position: relative;
}

.hero-copy {
  max-width: 580px;
  position: relative;
  z-index: 2;
}

.hero-copy h1 {
  color: var(--navy);
  font-family: Montserrat, Inter, sans-serif;
  font-size: 60px;
  font-weight: 900;
  line-height: 75px;
}

.hero-copy h1 span {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 6px;
}

.hero-copy p {
  color: var(--text);
  font-size: 18px;
  line-height: 29.25px;
  margin-top: 24px;
  max-width: 512px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 24px;
  padding-top: 16px;
}

.hero-stats {
  align-items: center;
  display: flex;
  gap: 32px;
  margin-top: 24px;
  padding-top: 24px;
}

.hero-stats li {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  gap: 1px;
  position: relative;
}

.hero-stats li:not(:last-child)::after {
  background: #d1d5db;
  content: "";
  height: 40px;
  position: absolute;
  right: -16px;
  top: 8px;
  width: 1px;
}

.hero-stats strong {
  color: var(--navy);
  font-size: 30px;
  font-weight: 800;
  line-height: 36px;
}

.hero-stats span {
  color: var(--muted);
  font-size: 14px;
  line-height: 20px;
}

.hero-media {
  pointer-events: none;
  position: absolute;
  right: clamp(-180px, -8vw, -72px);
  bottom: 0;
  width: min(72vw, 1100px);
  z-index: 1;
}

.hero-media img {
  display: block;
  height: auto;
  max-width: none;
  width: 100%;
}

.about {
  background: var(--white);
}

.about-inner {
  max-width: 1080px;
}

.about .section-head {
  margin-bottom: 40px;
}

.about-copy {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.about-copy p {
  color: var(--text);
  font-size: 16px;
  line-height: 1.7;
}

.why {
  background: var(--white);
}

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

.feature-card {
  background: var(--bg-light);
  border: 1px solid var(--line);
  border-radius: 24px;
  min-height: 298px;
  padding: 40px;
}

.feature-icon {
  align-items: center;
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
  display: inline-flex;
  height: 64px;
  justify-content: center;
  width: 64px;
}

.feature-card h3 {
  color: var(--navy);
  font-family: Montserrat, Inter, sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 28px;
  margin-top: 32px;
}

.feature-card p {
  color: var(--text);
  font-size: 16px;
  line-height: 26px;
  margin-top: 16px;
}

.steps {
  background: var(--bg-light);
  overflow: hidden;
}

.steps .container {
  position: relative;
}

.steps-track {
  background: var(--line-strong);
  height: 4px;
  left: 40px;
  position: absolute;
  right: 40px;
  top: 242px;
}

.steps-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  position: relative;
}

.step-item {
  align-items: center;
  display: flex;
  flex-direction: column;
  text-align: center;
}

.step-dot {
  align-items: center;
  background: var(--white);
  border: 4px solid var(--bg-light);
  border-radius: 999px;
  box-shadow: 0 0 0 4px #f3f4f6, var(--shadow-medium);
  color: var(--navy);
  display: inline-flex;
  font-size: 24px;
  font-weight: 900;
  height: 80px;
  justify-content: center;
  line-height: 32px;
  margin-bottom: 24px;
  width: 80px;
}

.step-dot.accent {
  box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.2), var(--shadow-medium);
}

.step-item h4 {
  color: var(--navy);
  font-family: Montserrat, Inter, sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 28px;
}

.step-item p {
  color: var(--muted);
  font-size: 14px;
  line-height: 20px;
  margin-top: 8px;
  max-width: 250px;
}

.courses {
  background: var(--white);
}

.slider-controls {
  display: flex;
  gap: 8px;
}

.slider-controls button {
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  height: 48px;
  justify-content: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  width: 48px;
}

.slider-controls button:hover {
  box-shadow: var(--shadow-soft);
  transform: translateY(-2px);
}

.slider-controls button:active {
  transform: translateY(0) scale(0.98);
}

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

.course-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.course-image {
  background: #eef2f6;
  height: 192px;
  overflow: hidden;
  position: relative;
}

.course-image img {
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  width: 100%;
}

.course-image--basic img {
  object-position: center 38%;
}

.course-image--recovery img {
  object-position: center 52%;
}

.course-image--city {
  background: linear-gradient(135deg, #eef2f6 0%, #dfe6ed 100%);
}

.course-image--city img {
  object-fit: contain;

}

.course-card:hover .course-image img {
  transform: scale(1.05);
}

.course-image span {
  background: var(--gold);
  border-radius: 8px;
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  left: 12px;
  letter-spacing: 0.6px;
  line-height: 16px;
  padding: 4px 12px;
  position: absolute;
  text-transform: uppercase;
  top: 12px;
}

.course-body {
  padding: 32px;
}

.course-body h3 {
  color: var(--navy);
  font-family: Montserrat, Inter, sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 28px;
}

.course-body p {
  color: var(--muted);
  font-size: 14px;
  line-height: 22.75px;
  margin-top: 14.8px;
  min-height: 68px;
}

.course-meta {
  align-items: center;
  border-top: 1px solid #f9fafb;
  display: flex;
  justify-content: space-between;
  margin-top: 9.2px;
  padding-top: 24px;
}

.course-meta strong {
  color: var(--navy);
  font-size: 24px;
  font-weight: 900;
  line-height: 32px;
}

.course-meta a {
  align-items: center;
  color: var(--gold);
  display: inline-flex;
  font-size: 14px;
  font-weight: 700;
  gap: 8px;
}

.test {
  background: var(--bg-light);
}

.test-panel {
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-40);
  box-shadow: var(--shadow-soft);
  display: grid;
  gap: 64px;
  grid-template-columns: 1fr 1fr;
  min-height: 0;
  padding: 64px;
}

.test-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.test-actions .btn {
  min-height: 56px;
  padding: 16px 24px;
  text-align: center;
}

.test-illustration {
  min-width: 0;
  width: 100%;
}

.test-illustration img {
  border-radius: 16px;
  height: auto;
  max-height: 500px;
  object-fit: contain;
  width: 100%;
}

.test-copy h2 {
  color: var(--navy);
  font-family: Montserrat, Inter, sans-serif;
  font-size: 36px;
  font-weight: 800;
  line-height: 40px;
}

.test-copy p {
  color: var(--text);
  font-size: 18px;
  line-height: 29.25px;
  margin-top: 24px;
}

.test-copy ul {
  display: grid;
  gap: 16px;
  margin: 24px 0;
  padding: 16px 0;
}

.test-copy li {
  align-items: center;
  color: #374151;
  display: flex;
  font-size: 16px;
  font-weight: 500;
  gap: 16px;
  line-height: 24px;
}

.test-mock {
  background: var(--bg-light);
  border: 2px dashed var(--line-strong);
  border-radius: 24px;
  padding: 32px;
}

.test-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
  display: grid;
  gap: 24px;
  padding: 24px;
}

.test-card-top {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.test-card-top span {
  color: var(--navy);
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
}

.test-card-top .timer {
  color: #ef4444;
}

.test-card img {
  border-radius: 12px;
  height: 192px;
  object-fit: cover;
  width: 100%;
}

.question {
  color: var(--navy);
  font-size: 16px;
  font-weight: 700;
  line-height: 20px;
}

.test-options {
  display: grid;
  gap: 12px;
}

.test-options li {
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  color: var(--navy);
  font-size: 16px;
  line-height: 24px;
  padding: 16px;
}

.test-options li.active {
  background: rgba(11, 31, 58, 0.05);
  border-color: var(--navy);
  font-weight: 700;
}

.pricing {
  background: var(--white);
}

.pricing-grid {
  align-items: center;
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr 453.6px 1fr;
}

.price-card {
  background: var(--bg-light);
  border: 1px solid var(--line);
  border-radius: 40px;
  min-height: 566px;
  padding: 48px;
}

.price-card h4 {
  color: var(--navy);
  font-family: Montserrat, Inter, sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 28px;
}

.plan-subtitle {
  color: var(--muted);
  font-size: 16px;
  line-height: 24px;
  margin-top: 8px;
}

.plan-price {
  color: var(--navy);
  display: block;
  font-size: 48px;
  font-weight: 900;
  line-height: 48px;
  margin-top: 32px;
  padding-bottom: 40px;
}

.price-card ul {
  display: grid;
  gap: 16px;
  padding-bottom: 48px;
}

.price-card li {
  align-items: center;
  color: var(--text);
  display: flex;
  font-size: 16px;
  gap: 12px;
  line-height: 24px;
}

.price-card li.disabled {
  color: #9ca3af;
}

.price-card.featured {
  background: var(--white);
  border: 4px solid var(--gold);
  min-height: 600px;
  padding: 50px;
  position: relative;
}

.price-card.featured .plan-price {
  font-size: 50px;
  line-height: 50px;
}

.plan-tag {
  background: var(--gold);
  border-radius: 999px;
  color: var(--white);
  font-size: 12.6px;
  font-weight: 700;
  left: 50%;
  letter-spacing: 1.26px;
  line-height: 16.8px;
  padding: 8.4px 25.2px;
  position: absolute;
  text-transform: uppercase;
  top: -20px;
  transform: translateX(-50%);
}

.instructors {
  background: var(--bg-light);
}

.instructors-link {
  align-items: center;
  color: var(--navy);
  display: inline-flex;
  font-size: 16px;
  font-weight: 700;
  gap: 8px;
  line-height: 24px;
}

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

.instructor-card {
  cursor: pointer;
  display: flex;
  flex-direction: column;
  height: 100%;
  outline: none;
  text-align: center;
}

.instructor-photo {
  aspect-ratio: 4 / 5;
  background: #e5e7eb;
  border: 4px solid var(--white);
  border-radius: 24px;
  overflow: hidden;
  position: relative;
}

.instructor-photo img {
  display: block;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  width: 100%;
}

.instructor-info {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding-top: 20px;
}

.instructor-info h4 {
  color: var(--navy);
  font-family: Montserrat, Inter, sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 28px;
}

.instructor-info p {
  color: var(--muted);
  font-size: 14px;
  line-height: 20px;
  margin-top: 2px;
}

.instructor-meta {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 16px;
  margin-top: 12px;
}

.instructor-meta span {
  color: var(--navy);
  font-size: 12px;
  font-weight: 700;
  line-height: 16px;
}

.instructor-stars {
  display: flex;
  gap: 2px;
}

.instructor-card-btn {
  background: var(--navy);
  border: 0;
  border-radius: 999px;
  color: var(--white);
  cursor: pointer;
  font-family: Montserrat, Inter, sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 16px;
  margin-top: auto;
  min-height: 42px;
  padding: 12px 18px;
  text-transform: uppercase;
  transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
  width: 100%;
}

.instructor-card-btn:hover {
  background: var(--gold);
  box-shadow: 0 18px 36px -24px rgba(212, 175, 55, 0.82);
  transform: translateY(-2px);
}

.instructor-card-btn:active {
  transform: translateY(1px) scale(0.98);
}

.reviews {
  background: var(--white);
}

.review-carousel {
  overflow: hidden;
}

.review-grid {
  display: flex;
  gap: 32px;
  overflow-x: auto;
  padding: 8px 2px 20px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.review-grid::-webkit-scrollbar {
  display: none;
}

.review-card {
  background: var(--bg-light);
  border: 1px solid var(--line);
  border-radius: 24px;
  flex: 0 0 calc((100% - 64px) / 3);
  min-height: 274px;
  padding: 32px;
  scroll-snap-align: start;
}

.review-head {
  align-items: center;
  display: flex;
  gap: 16px;
  position: relative;
}

.review-head h5 {
  color: var(--navy);
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
}

.review-stars {
  display: flex;
}

.quote {
  height: auto;
  margin-left: auto;
  width: 32px;
}

.review-card p {
  color: var(--text);
  font-size: 16px;
  font-style: italic;
  line-height: 26px;
  margin-top: 24px;
}

.review-controls {
  align-items: center;
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 24px;
}

.review-control {
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  height: 48px;
  justify-content: center;
  transition: background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease;
  width: 48px;
}

.review-control:hover:not(:disabled) {
  border-color: var(--gold);
  box-shadow: var(--shadow-soft);
}

.review-control:disabled {
  cursor: default;
  opacity: 0.35;
}

.review-position {
  color: var(--navy);
  font-size: 14px;
  font-weight: 700;
  min-width: 48px;
  text-align: center;
}

.faq {
  background: var(--bg-light);
}

.faq-wrap {
  max-width: 1000px;
  padding: 0 40px;
}

.faq-list {
  display: grid;
  gap: 16px;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.faq-toggle {
  align-items: center;
  background: transparent;
  border: 0;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  font-size: 16px;
  font-weight: 700;
  justify-content: space-between;
  line-height: 24px;
  padding: 24px;
  text-align: left;
  width: 100%;
}

.faq-toggle img {
  flex-shrink: 0;
  margin-left: 12px;
}

.faq-content {
  color: var(--muted);
  font-size: 16px;
  line-height: 26px;
  max-height: 0;
  overflow: hidden;
  padding: 0 24px;
  transition: max-height 0.35s ease, padding-bottom 0.35s ease;
}

.faq-item.open .faq-content {
  max-height: 240px;
  padding-bottom: 24px;
}

.contact {
  background: var(--white);
  padding-left: 40px;
  padding-right: 40px;
}

.contact-panel {
  background: var(--navy);
  border-radius: 60px;
  display: grid;
  gap: 64px;
  grid-template-columns: 1fr 500px;
  max-width: 1360px;
  min-height: 718px;
  overflow: hidden;
  padding: 80px;
  position: relative;
}

.contact-panel::after {
  background: radial-gradient(circle at 75% 95%, rgba(212, 175, 55, 0.18), rgba(212, 175, 55, 0) 50%);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.contact-left,
.contact-form {
  position: relative;
  z-index: 1;
}

.contact-left h2 {
  color: var(--white);
  font-family: Montserrat, Inter, sans-serif;
  font-size: 48px;
  font-weight: 900;
  line-height: 48px;
}

.contact-left p {
  color: #9ca3af;
  font-size: 20px;
  line-height: 28px;
  margin-top: 24px;
  max-width: 512px;
}

.form-honeypot {
  height: 1px;
  left: -10000px;
  overflow: hidden;
  position: absolute;
  top: auto;
  width: 1px;
}

.contact-form button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.contact-car {
  margin-top: 24px;
}

.contact-form {
  background: var(--white);
  border-radius: 40px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  display: grid;
  gap: 16px;
  height: fit-content;
  padding: 40px;
}

.contact-form h3 {
  color: var(--navy);
  font-family: Montserrat, Inter, sans-serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 32px;
  margin-bottom: 8px;
}

.contact-form label {
  display: block;
}

.contact-form label span {
  color: #9ca3af;
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.2px;
  line-height: 16px;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  background: #f8fafc;
  border: 1px solid #dbe2ea;
  border-radius: 9px;
  color: var(--navy);
  font-family: inherit;
  font-size: 16px;
  height: 56px;
  line-height: 24px;
  padding: 0 16px;
  transition: background-color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
  width: 100%;
}

.contact-form select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%236b7280' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-position: right 16px center;
  background-repeat: no-repeat;
  cursor: pointer;
  padding-right: 44px;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  background: #ffffff;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.16);
  outline: 0;
}

.contact-form input.is-invalid,
.contact-form select.is-invalid,
.contact-form textarea.is-invalid {
  background: #fff7f7;
  box-shadow: 0 0 0 2px rgba(220, 38, 38, 0.35);
}

.contact-form input::placeholder {
  color: #9ca3af;
}

.contact-form textarea {
  display: block;
  height: auto;
  min-height: 112px;
  padding: 13px 16px;
  resize: vertical;
}

.contact-form textarea::placeholder {
  color: #9ca3af;
}

.contact-form .btn-form:disabled {
  cursor: default;
  opacity: 0.78;
  pointer-events: none;
}

.contact-form small {
  color: #9ca3af;
  font-size: 10px;
  line-height: 15px;
  text-align: center;
  text-transform: uppercase;
}

.contact-form small a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form-status {
  border-radius: 12px;
  display: none;
  font-size: 12px;
  font-weight: 700;
  line-height: 18px;
  padding: 12px 14px;
  text-align: left;
}

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

.form-status.is-visible:not(.is-error):not(.is-success) {
  background: #eff6ff;
  color: #1e3a8a;
}

.form-status.is-error {
  background: #fef2f2;
  color: #b91c1c;
}

.lead-success-modal {
  align-items: center;
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 24px;
  position: fixed;
  visibility: hidden;
  z-index: 400;
}

.lead-success-modal.open {
  visibility: visible;
}

.lead-success-backdrop {
  background: rgba(8, 27, 51, 0.72);
  border: 0;
  cursor: default;
  inset: 0;
  opacity: 0;
  position: absolute;
  transition: opacity 0.22s ease;
  width: 100%;
}

.lead-success-modal.open .lead-success-backdrop {
  opacity: 1;
}

.lead-success-dialog {
  background: #ffffff;
  border-top: 5px solid var(--gold);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.24);
  max-width: 480px;
  padding: 48px 40px 40px;
  position: relative;
  text-align: center;
  transform: translateY(14px) scale(0.98);
  transition: transform 0.22s ease;
  width: 100%;
  z-index: 1;
}

.lead-success-modal.open .lead-success-dialog {
  transform: translateY(0) scale(1);
}

.lead-success-close {
  align-items: center;
  background: #f1f4f7;
  border: 0;
  color: var(--navy);
  cursor: pointer;
  display: inline-flex;
  font-size: 27px;
  height: 40px;
  justify-content: center;
  line-height: 1;
  position: absolute;
  right: 14px;
  top: 14px;
  transition: background-color 0.18s ease, color 0.18s ease;
  width: 40px;
}

.lead-success-close:hover {
  background: var(--navy);
  color: #ffffff;
}

.lead-success-icon {
  align-items: center;
  background: #edf7f1;
  border: 1px solid #cce8d6;
  border-radius: 50%;
  color: #16804b;
  display: flex;
  height: 68px;
  justify-content: center;
  margin: 0 auto 22px;
  width: 68px;
}

.lead-success-icon svg {
  height: 34px;
  width: 34px;
}

.lead-success-dialog h2 {
  color: var(--navy);
  font-family: Montserrat, Inter, sans-serif;
  font-size: clamp(23px, 4vw, 30px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin: 0;
}

.lead-success-dialog p {
  color: #5c6878;
  font-size: 16px;
  line-height: 1.65;
  margin: 14px 0 26px;
}

.lead-success-confirm {
  background: var(--navy);
  border: 2px solid var(--navy);
  color: #ffffff;
  cursor: pointer;
  font-size: 15px;
  font-weight: 700;
  min-height: 52px;
  padding: 0 28px;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
  width: 100%;
}

.lead-success-confirm:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
}

.lead-success-close:focus-visible,
.lead-success-confirm:focus-visible {
  outline: 3px solid rgba(212, 175, 55, 0.55);
  outline-offset: 3px;
}

body.modal-open {
  overflow: hidden;
}

.enroll-modal {
  align-items: center;
  display: flex;
  inset: 0;
  justify-content: center;
  opacity: 0;
  overflow-y: auto;
  padding: 24px;
  pointer-events: none;
  position: fixed;
  transition: opacity 0.24s ease;
  z-index: 300;
}

.enroll-modal.open {
  opacity: 1;
  pointer-events: auto;
}

.enroll-modal-backdrop {
  background: rgba(11, 31, 58, 0.72);
  inset: 0;
  position: absolute;
}

.enroll-modal-dialog {
  max-height: calc(100vh - 48px);
  max-width: 500px;
  min-width: 0;
  overflow-y: auto;
  position: relative;
  transform: translateY(16px) scale(0.98);
  transition: transform 0.24s ease;
  width: 100%;
  z-index: 1;
}

.enroll-modal.open .enroll-modal-dialog {
  transform: translateY(0) scale(1);
}

.enroll-modal-form {
  max-width: 100%;
  min-width: 0;
  width: 100%;
}

.enroll-modal-form h3 {
  padding-right: 56px;
}

.enroll-modal-close {
  align-items: center;
  background: var(--navy);
  border: 0;
  border-radius: 999px;
  box-shadow: 0 18px 34px -18px rgba(11, 31, 58, 0.65);
  cursor: pointer;
  display: inline-flex;
  height: 44px;
  justify-content: center;
  position: absolute;
  right: 18px;
  top: 18px;
  transition: background-color 0.2s ease, transform 0.2s ease;
  width: 44px;
  z-index: 2;
}

.enroll-modal-close::before,
.enroll-modal-close::after {
  background: #ffffff;
  border-radius: 2px;
  content: "";
  height: 2px;
  position: absolute;
  width: 18px;
}

.enroll-modal-close::before {
  transform: rotate(45deg);
}

.enroll-modal-close::after {
  transform: rotate(-45deg);
}

.enroll-modal-close:hover {
  background: var(--gold);
  box-shadow: 0 18px 34px -18px rgba(212, 175, 55, 0.82);
  transform: translateY(-1px);
}

.enroll-modal-close:active {
  transform: translateY(1px) scale(0.98);
}

.instructor-modal {
  align-items: center;
  display: flex;
  inset: 0;
  justify-content: center;
  opacity: 0;
  overflow-y: auto;
  padding: 24px;
  pointer-events: none;
  position: fixed;
  transition: opacity 0.24s ease;
  z-index: 310;
}

.instructor-modal.open {
  opacity: 1;
  pointer-events: auto;
}

.instructor-modal-backdrop {
  background: rgba(11, 31, 58, 0.72);
  inset: 0;
  position: absolute;
}

.instructor-modal-dialog {
  background: var(--white);
  border-radius: 30px;
  box-shadow: 0 30px 80px -34px rgba(11, 31, 58, 0.55);
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(220px, 0.78fr) 1fr;
  max-height: calc(100vh - 48px);
  max-width: 880px;
  overflow-y: auto;
  padding: 24px;
  position: relative;
  transform: translateY(16px) scale(0.98);
  transition: transform 0.24s ease;
  width: 100%;
  z-index: 1;
}

.instructor-modal.open .instructor-modal-dialog {
  transform: translateY(0) scale(1);
}

.instructor-modal-close {
  align-items: center;
  background: var(--navy);
  border: 0;
  border-radius: 999px;
  box-shadow: 0 18px 34px -18px rgba(11, 31, 58, 0.65);
  cursor: pointer;
  display: inline-flex;
  height: 44px;
  justify-content: center;
  position: absolute;
  right: 18px;
  top: 18px;
  transition: background-color 0.2s ease, transform 0.2s ease;
  width: 44px;
  z-index: 2;
}

.instructor-modal-close::before,
.instructor-modal-close::after {
  background: #ffffff;
  border-radius: 2px;
  content: "";
  height: 2px;
  position: absolute;
  width: 18px;
}

.instructor-modal-close::before {
  transform: rotate(45deg);
}

.instructor-modal-close::after {
  transform: rotate(-45deg);
}

.instructor-modal-close:hover {
  background: var(--gold);
  box-shadow: 0 18px 34px -18px rgba(212, 175, 55, 0.82);
  transform: translateY(-1px);
}

.instructor-modal-close:active {
  transform: translateY(1px) scale(0.98);
}

.instructor-modal-photo {
  align-self: stretch;
  background: linear-gradient(145deg, #f8efe0, #ffffff);
  border-radius: 24px;
  min-height: 100%;
  min-width: 0;
  overflow: hidden;
}

.instructor-modal-photo img {
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  object-position: center top;
  width: 100%;
}

.instructor-modal-content {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 16px 56px 10px 0;
}

.instructor-modal-kicker {
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  line-height: 16px;
  text-transform: uppercase;
}

.instructor-modal-content h3 {
  color: var(--navy);
  font-family: Montserrat, Inter, sans-serif;
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.02;
  margin-top: 10px;
}

.instructor-modal-role {
  color: var(--muted);
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
  margin-top: 10px;
}

.instructor-modal-rating {
  align-items: center;
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.instructor-modal-rating strong {
  color: var(--navy);
  font-size: 18px;
  line-height: 24px;
}

.instructor-modal-stars {
  display: inline-flex;
  gap: 3px;
}

.instructor-modal-bio {
  color: #4c596b;
  font-size: 16px;
  line-height: 26px;
  margin-top: 18px;
}

.instructor-modal-facts {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 22px;
}

.instructor-modal-fact {
  background: #f6f8fb;
  border-radius: 16px;
  padding: 14px;
}

.instructor-modal-fact span {
  color: var(--muted);
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 14px;
  text-transform: uppercase;
}

.instructor-modal-fact strong {
  color: var(--navy);
  display: block;
  font-size: 14px;
  line-height: 20px;
  margin-top: 4px;
}

.instructor-modal-actions {
  align-items: center;
  display: flex;
  gap: 14px;
  margin-top: auto;
  padding-top: 24px;
}

.instructor-modal-actions .btn {
  min-width: 230px;
}

.instructor-modal-actions small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 18px;
}

.site-footer {
  background: var(--navy);
  color: #9ca3af;
  padding: 80px 0 40px;
}

.footer-top {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  display: grid;
  gap: 64px;
  grid-template-columns: 1.1fr 1fr 1fr 1fr;
  padding-bottom: 40px;
}

.footer-brand p {
  color: #9ca3af;
  font-size: 14px;
  line-height: 22.75px;
  margin-top: 31px;
  max-width: 292px;
}

.social-links {
  display: flex;
  gap: 16px;
  margin-top: 31px;
}

.social-links a {
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 999px;
  display: inline-flex;
  height: 40px;
  justify-content: center;
  transition: transform 0.25s ease, background-color 0.25s ease;
  width: 40px;
}

.social-links a:hover {
  background: rgba(212, 175, 55, 0.22);
  transform: translateY(-2px);
}

.footer-col h5 {
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.2px;
  line-height: 16px;
  margin-bottom: 32px;
  text-transform: uppercase;
}

.footer-col a,
.footer-col p {
  color: #9ca3af;
  display: block;
  font-size: 14px;
  line-height: 20px;
  margin-bottom: 16px;
  transition: color 0.25s ease;
}

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

.footer-contact p,
.footer-contact a {
  align-items: flex-start;
  display: flex;
  gap: 16px;
}

.footer-contact a {
  align-items: center;
}

.footer-contact a:nth-of-type(1) {
  color: var(--white);
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
  margin: 24px 0;
}

.footer-bottom {
  align-items: center;
  color: #6b7280;
  display: flex;
  font-size: 12px;
  justify-content: space-between;
  letter-spacing: 1.2px;
  line-height: 16px;
  padding-top: 40px;
  text-transform: uppercase;
}

.footer-bottom div {
  display: flex;
  gap: 32px;
}

.footer-bottom a {
  transition: color 0.25s ease;
}

.footer-bottom a:hover {
  color: #9ca3af;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
}

[data-reveal].is-visible {
  animation: fade-up 0.65s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(28px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

  .hero-media {
    right: clamp(-170px, -10vw, -64px);
    width: min(76vw, 980px);
  }

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

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

  .price-card.featured {
    min-height: 566px;
    padding: 48px;
  }

  .price-card.featured .plan-price {
    font-size: 48px;
    line-height: 48px;
  }

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

  .footer-top {
    gap: 40px;
  }

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

  .contact-car {
    max-width: 100%;
  }
}

@media (max-width: 1120px) {
  .telegram-chat-btn,
  .whatsapp-chat-btn {
    display: none;
  }

  .container {
    padding: 0 20px;
  }

  .section {
    padding: 72px 0;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .main-nav {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow-soft);
    display: none;
    flex-direction: column;
    left: 20px;
    padding: 16px;
    position: absolute;
    right: 20px;
    top: 76px;
    z-index: 20;
  }

  .main-nav.open {
    display: flex;
  }

  .brand {
    min-width: 0;
    order: 1;
  }

  .header-actions {
    display: flex;
    flex: 0 0 auto;
    gap: 10px;
    margin-left: auto;
    order: 2;
  }

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

  .language-current {
    font-size: 11px;
    height: 36px;
    min-width: 68px;
    padding: 0 28px 0 10px;
  }

  .language-current::after {
    height: 6px;
    right: 13px;
    width: 6px;
  }

  .language-menu {
    min-width: 164px;
    top: calc(100% + 8px);
  }

  .nav-toggle {
    flex: 0 0 auto;
    order: 3;
  }

  .hero-grid,
  .test-panel {
    grid-template-columns: 1fr;
  }

  .test-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .test-actions .btn {
    width: 100%;
  }

  .hero-grid {
    gap: 28px;
    min-height: auto;
  }

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

  .hero-media {
    margin: 0 -20px -24px;
    order: -1;
    position: relative;
    right: auto;
    top: auto;
    width: calc(100% + 40px);
  }

  .hero-copy h1 {
    font-size: 52px;
    line-height: 62px;
  }

  .about-copy {
    gap: 20px;
    grid-template-columns: 1fr;
  }

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

  .review-card {
    flex-basis: calc((100% - 32px) / 2);
  }

  .steps-track {
    display: none;
  }

  .faq-wrap {
    padding: 0 20px;
  }

  .contact {
    padding-left: 20px;
    padding-right: 20px;
  }

  .contact-panel {
    padding: 40px;
  }

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

  .footer-contact a:nth-of-type(1) {
    font-size: 16px;
  }

  .instructor-modal-dialog {
    gap: 22px;
    grid-template-columns: minmax(200px, 0.72fr) 1fr;
    max-width: 760px;
  }

  .instructor-modal-photo img {
    min-height: 360px;
  }

  .instructor-modal-content {
    padding-right: 48px;
  }
}

@media (max-width: 760px) {
  .header-inner {
    display: flex;
    gap: 8px;
    justify-content: flex-start;
    width: 100%;
  }

  .brand {
    flex: 1 1 auto;
    gap: 8px;
    max-width: 100%;
    overflow: hidden;
  }

  .brand img {
    height: auto;
    width: 44px;
  }

  .brand-text {
    min-width: 0;
  }

  .brand-text strong {
    font-size: 16px;
    line-height: 16px;
  }

  .brand-text small {
    font-size: 8px;
    letter-spacing: 1px;
    line-height: 12px;
    white-space: nowrap;
  }

  .header-actions {
    flex: 0 0 auto;
    justify-self: end;
    margin-left: auto;
  }

  .language-current {
    height: 36px;
    min-width: 58px;
    padding: 0 22px 0 8px;
  }

  .language-dropdown.open .language-menu {
    left: auto;
    max-width: calc(100vw - 32px);
    min-width: 0;
    position: fixed;
    right: 16px;
    top: 70px;
    width: 176px;
    z-index: 260;
  }

  @supports (width: min(1px, 1px)) {
    .language-dropdown.open .language-menu {
      left: 50%;
      right: auto;
      transform: translate(-50%, 0);
      width: min(220px, calc(100vw - 32px));
    }
  }

  .hero-copy h1 {
    font-size: 38px;
    line-height: 46px;
  }

  .hero-copy p {
    font-size: 16px;
    line-height: 24px;
  }

  .hero-actions {
    flex-direction: column;
  }

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

  .hero-media {
    margin-left: -20px;
    margin-right: -20px;
    margin-top: 0;
    width: calc(100% + 40px);
  }

  .hero-stats {
    flex-wrap: wrap;
    gap: 16px 24px;
  }

  .hero-stats li:not(:last-child)::after {
    display: none;
  }

  .about {
    padding: 64px 0;
  }

  .about .section-head {
    margin-bottom: 28px;
  }

  .about-copy {
    gap: 16px;
  }

  .about-copy p {
    font-size: 15px;
    line-height: 1.65;
  }

  .section-head h2,
  .test-copy h2,
  .contact-left h2 {
    font-size: 32px;
    line-height: 36px;
  }

  .feature-grid,
  .steps-grid,
  .course-grid,
  .instructor-grid,
  .pricing-grid,
  .footer-top {
    grid-template-columns: 1fr;
  }

  .review-card {
    flex-basis: 100%;
  }

  .section-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }

  .feature-card,
  .price-card,
  .price-card.featured,
  .course-body,
  .review-card,
  .contact-form,
  .test-panel,
  .test-card,
  .test-mock {
    padding: 24px;
  }

  .contact {
    padding: 48px 12px;
  }

  .contact-panel {
    border-radius: 28px;
    gap: 28px;
    min-height: 0;
    padding: 28px 16px 16px;
  }

  .contact-panel::after {
    background: radial-gradient(circle at 50% 100%, rgba(212, 175, 55, 0.16), rgba(212, 175, 55, 0) 55%);
  }

  .contact-left {
    padding: 0 8px;
  }

  .contact-left h2 {
    font-size: 30px;
    line-height: 36px;
  }

  .contact-left p {
    font-size: 16px;
    line-height: 24px;
    margin-top: 14px;
  }

  .contact-car {
    display: none;
  }

  .contact .contact-form {
    border-radius: 22px;
    box-shadow: 0 18px 40px -24px rgba(0, 0, 0, 0.75);
    gap: 14px;
    padding: 22px 18px 18px;
    width: 100%;
  }

  .contact .contact-form h3 {
    font-size: 22px;
    line-height: 28px;
    margin-bottom: 2px;
  }

  .contact .contact-form label span {
    font-size: 11px;
    letter-spacing: 0.8px;
    margin-bottom: 6px;
  }

  .contact .contact-form input,
  .contact .contact-form select,
  .contact .contact-form textarea {
    border: 1px solid #dbe2ea;
    border-radius: 9px;
    font-size: 16px;
    height: 52px;
    min-width: 0;
    padding: 0 14px;
  }

  .contact .contact-form select {
    background-position: right 14px center;
    padding-right: 40px;
  }

  .contact .contact-form textarea {
    height: auto;
    min-height: 108px;
    padding: 12px 14px;
  }

  .contact .contact-form input:focus,
  .contact .contact-form select:focus,
  .contact .contact-form textarea:focus {
    background: var(--white);
    border-color: var(--gold);
    outline: 3px solid rgba(212, 175, 55, 0.15);
  }

  .contact .contact-form .btn-form {
    min-height: 54px;
    margin-top: 2px;
  }

  .contact .contact-form small {
    font-size: 9px;
    line-height: 14px;
    padding: 0 4px;
    text-transform: none;
  }

  .lead-success-modal {
    padding: 16px;
  }

  .lead-success-dialog {
    padding: 42px 22px 24px;
  }

  .lead-success-dialog p {
    font-size: 15px;
    line-height: 1.55;
  }

  .enroll-modal {
    align-items: flex-start;
    justify-content: flex-start;
    padding: 16px;
  }

  .enroll-modal-dialog {
    max-height: calc(100vh - 32px);
    max-width: 500px;
    width: 100%;
  }

  .enroll-modal-close {
    height: 40px;
    right: 14px;
    top: 14px;
    width: 40px;
  }

  .enroll-modal-form h3 {
    padding-right: 48px;
  }

  .instructor-modal {
    align-items: flex-start;
    justify-content: flex-start;
    padding: 14px;
  }

  .instructor-modal-dialog {
    border-radius: 24px;
    display: block;
    max-height: calc(100vh - 28px);
    max-width: 100%;
    overflow-y: auto;
    padding: 14px;
    width: 100%;
  }

  .instructor-modal-close {
    height: 40px;
    right: 22px;
    top: 22px;
    width: 40px;
  }

  .instructor-modal-photo {
    border-radius: 18px;
    height: 260px;
  }

  .instructor-modal-photo img {
    height: 100%;
    min-height: 0;
  }

  .instructor-modal-content {
    padding: 20px 4px 4px;
  }

  .instructor-modal-content h3 {
    font-size: 30px;
    padding-right: 44px;
  }

  .instructor-modal-role,
  .instructor-modal-bio {
    font-size: 15px;
    line-height: 23px;
  }

  .instructor-modal-facts {
    grid-template-columns: 1fr;
  }

  .instructor-modal-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .instructor-modal-actions .btn {
    min-width: 0;
    width: 100%;
  }

  @supports (width: min(1px, 1px)) {
    .enroll-modal-dialog {
      max-width: min(100%, 358px);
      width: min(100%, 358px);
    }

    .instructor-modal-dialog {
      max-width: min(100%, 362px);
      width: min(100%, 362px);
    }
  }

  .scroll-top-btn {
    height: 52px;
    right: 16px;
    width: 52px;
  }

  .telegram-chat-btn,
  .whatsapp-chat-btn {
    display: none;
  }

  .scroll-top-btn {
    bottom: 150px;
  }

  .course-body h3 {
    font-size: 24px;
    line-height: 1.2;
  }

  .instructor-info h4 {
    font-size: 20px;
    line-height: 26px;
  }

  .plan-price,
  .price-card.featured .plan-price {
    font-size: 36px;
    line-height: 38px;
  }

  .faq-toggle {
    font-size: 16px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .footer-bottom div {
    flex-direction: column;
    gap: 8px;
  }
}

@media (max-width: 390px) {
  .contact {
    padding-left: 8px;
    padding-right: 8px;
  }

  .contact-panel {
    border-radius: 24px;
    padding-left: 12px;
    padding-right: 12px;
  }

  .contact-left {
    padding: 0 4px;
  }

  .contact .contact-form {
    padding-left: 14px;
    padding-right: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    scroll-behavior: auto !important;
    transition: none !important;
  }

  .review-grid {
    scroll-behavior: auto;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

@media (min-width: 1121px) and (max-width: 1600px) {
  html[lang="ru"] .hero-grid {
    gap: 28px;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
  }

  html[lang="ru"] .hero-copy {
    max-width: 860px;
  }

  html[lang="ru"] .hero-copy h1 {
    font-size: clamp(42px, 4vw, 54px);
    line-height: 1.12;
    max-width: 860px;
    text-wrap: balance;
    width: 100%;
  }

  html[lang="ru"] .hero-copy p {
    max-width: 800px;
  }

  html[lang="ru"] .hero-media {
    right: -160px;
    width: min(52vw, 760px);
  }
}
