/* ============================================
   ABH Professional Driving School — Homepage
   ============================================ */

:root {
  --red: #e10600;
  --red-dark: #b80500;
  --red-soft: #ffe5e5;
  --navy: #0a1f3d;
  --navy-mid: #122a4a;
  --yellow: #ffd000;
  --yellow-dark: #e0b800;
  --white: #ffffff;
  --ink: #1a1f2e;
  --muted: #5c6578;
  --line: #e8ecf2;
  --bg: #f5f7fb;
  --footer: #0a0f18;

  --font-display: "Oswald", sans-serif;
  --font-body: "Lexend", sans-serif;

  --radius: 12px;
  --shadow: 0 20px 50px rgba(10, 31, 61, 0.12);
  --shadow-soft: 0 10px 28px rgba(10, 31, 61, 0.08);
  --header-h: 80px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --container: 1180px;
  --page-gutter: 1.75rem;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  min-width: 0;
}

body.nav-open { overflow: hidden; }

img, video, svg {
  max-width: 100%;
  height: auto;
  display: block;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; border: none; background: none; cursor: pointer; }

input, select, textarea {
  max-width: 100%;
  font-size: 1rem; /* prevents iOS zoom on focus */
}

.container {
  width: min(100% - (var(--page-gutter) * 2), var(--container));
  margin-inline: auto;
  min-width: 0;
}

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: 0.02em;
}

h1 { font-size: clamp(2.35rem, 4.8vw, 3.75rem); text-transform: none; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); text-transform: uppercase; }
h3 { font-size: 1.2rem; }

.section-eyebrow {
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 0.55rem;
}

.section-head {
  text-align: center;
  margin-bottom: 2.75rem;
}

.section-head h2 {
  position: relative;
  display: inline-block;
}

.section-head h2::after {
  content: "";
  display: block;
  width: 52px;
  height: 3px;
  background: var(--red);
  margin: 0.7rem auto 0;
  border-radius: 2px;
}

.text-accent { color: var(--red); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.85rem 1.45rem;
  border-radius: 6px;
  transition: transform 0.25s var(--ease), background 0.25s, box-shadow 0.25s;
  white-space: nowrap;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 8px 22px rgba(225, 6, 0, 0.32);
}
.btn-primary:hover { background: var(--red-dark); }

.btn-yellow {
  background: var(--yellow);
  color: var(--navy);
  box-shadow: 0 8px 22px rgba(255, 208, 0, 0.35);
  border: 2px solid var(--yellow);
  border-radius: 999px;
}
.btn-yellow:hover {
  background: var(--yellow-dark);
  border-color: var(--yellow-dark);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.85);
  border-radius: 999px;
  box-shadow: none;
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
  box-shadow: none;
}
.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
}

.btn-lg { padding: 1.05rem 1.9rem; font-size: 0.9rem; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--red);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-top: auto;
  transition: gap 0.25s var(--ease);
}
.text-link:hover { gap: 0.55rem; }

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s;
}

.site-header.is-scrolled {
  box-shadow: 0 8px 28px rgba(10, 31, 61, 0.1);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}

.logo-mark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.9rem;
  letter-spacing: 0.03em;
  color: var(--red);
  line-height: 1;
}

.logo-text {
  display: flex;
  flex-direction: column;
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  line-height: 1.3;
  color: var(--ink);
}

.main-nav { flex: 1; display: flex; justify-content: center; }

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.main-nav a {
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.55rem 1rem;
  color: var(--ink);
  position: relative;
  transition: color 0.2s;
}

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

.main-nav a.active::after {
  content: "";
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 0.1rem;
  height: 2px;
  background: var(--red);
}

.btn-book {
  flex-shrink: 0;
  border-radius: 6px;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin-left: auto;
  background: var(--bg);
}

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

.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ========== HERO SLIDER ========== */
.hero {
  position: relative;
  min-height: min(760px, 88vh);
  min-height: min(760px, 88dvh);
  padding-top: var(--header-h);
  background: var(--navy);
  overflow: hidden;
  color: var(--white);
}

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

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.85s var(--ease), visibility 0.85s;
  z-index: 0;
  display: flex;
  align-items: center;
  /* header height + breathing room above content; bottom room for slider controls */
  padding-top: calc(var(--header-h) + clamp(1.75rem, 4vh, 3rem));
  padding-bottom: clamp(4.5rem, 8vh, 6rem);
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.hero-slide-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 65% center;
  transform: scale(1.04);
  transition: transform 8s ease;
  filter: saturate(1.25) contrast(1.05) brightness(1.08);
}

.hero-slide.is-active .hero-slide-img {
  transform: scale(1.08);
}

.hero-slide-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(100deg, rgba(6, 10, 20, 0.72) 0%, rgba(6, 10, 20, 0.45) 38%, rgba(6, 10, 20, 0.18) 68%, rgba(225, 6, 0, 0.12) 100%),
    linear-gradient(to top, rgba(6, 10, 20, 0.45) 0%, transparent 42%);
}

.hero-glow {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 55% 45% at 78% 42%, rgba(255, 220, 100, 0.28), transparent 62%),
    radial-gradient(ellipse 40% 35% at 90% 25%, rgba(255, 120, 60, 0.16), transparent 55%),
    radial-gradient(ellipse 45% 40% at 18% 70%, rgba(80, 180, 255, 0.12), transparent 55%);
  mix-blend-mode: screen;
  opacity: 0.9;
}

.hero-slide.is-active .hero-glow {
  animation: glowPulse 5.5s ease-in-out infinite alternate;
}

@keyframes glowPulse {
  from { opacity: 0.6; }
  to { opacity: 0.95; }
}

.hero-slide-content {
  position: relative;
  z-index: 3;
  width: min(100% - (var(--page-gutter) * 2), var(--container));
  max-width: 560px;
  margin-left: max(var(--page-gutter), calc((100% - var(--container)) / 2));
  margin-right: auto;
  padding: 0;
  opacity: 0;
  transform: translateY(24px);
}

.hero-slide.is-active .hero-slide-content {
  animation: fadeUp 0.8s var(--ease) 0.12s both;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(0.85rem, 1.5vw, 1rem);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 1.15rem;
}

.hero-slide h1 {
  color: var(--white);
  margin-bottom: 1.15rem;
  font-weight: 700;
  font-size: clamp(2.35rem, 4.8vw, 3.75rem);
  line-height: 1.1;
  text-shadow: 0 8px 36px rgba(0, 0, 0, 0.45);
}

.hero-sub {
  font-size: clamp(1rem, 1.6vw, 1.12rem);
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 2.15rem;
  max-width: 36ch;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.15rem;
}

.hero-actions .btn {
  min-height: 52px;
  line-height: 1;
  border-radius: 999px;
}

.hero-actions .btn-primary {
  border: 2px solid var(--red);
}

.hero-actions .btn-primary:hover {
  border-color: var(--red-dark);
}

.hero-controls {
  position: absolute;
  z-index: 5;
  left: 50%;
  bottom: 1.75rem;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 1.15rem;
  padding: 0.45rem 0.65rem;
  border-radius: 999px;
  background: rgba(6, 10, 20, 0.35);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-nav {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--white);
  display: grid;
  place-items: center;
  transition: background 0.25s, transform 0.25s, border-color 0.25s;
  flex-shrink: 0;
}

.hero-nav:hover {
  background: var(--red);
  border-color: var(--red);
  transform: scale(1.05);
}

.hero-dots {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0 0.25rem;
}

.hero-dots button {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  transition: width 0.3s, background 0.3s;
}

.hero-dots button.is-active {
  width: 26px;
  border-radius: 999px;
  background: var(--yellow);
}

.hero-ribbon {
  position: absolute;
  z-index: 5;
  right: max(5%, calc((100% - var(--container)) / 2 + 0.5rem));
  top: 28%;
  background: var(--yellow);
  color: var(--navy);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(0.72rem, 1.15vw, 0.88rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.65rem 1.75rem;
  transform: rotate(-6deg);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
  pointer-events: none;
  border-radius: 4px;
}

/* Trust panel under banner */
.hero-trust {
  background: linear-gradient(180deg, #0b1220 0%, #111827 100%);
  padding: 0;
  position: relative;
  z-index: 6;
}

.trust-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0;
  align-items: stretch;
  padding-block: 0;
}

.trust-items {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.65rem 1.25rem;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--white);
}

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

.trust-num {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--yellow);
  letter-spacing: 0.04em;
  line-height: 1;
}

.trust-item strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.trust-item span {
  display: block;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.65);
}

.trust-call {
  background: var(--red);
  color: var(--white);
  padding: 1.35rem 1.6rem;
  min-width: 260px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.85rem;
  clip-path: polygon(14px 0, 100% 0, 100% 100%, 0 100%);
}

.trust-call-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.9;
  margin: 0;
}

.trust-call-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.trust-call-person {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.55rem 0.7rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  transition: background 0.2s, transform 0.2s;
  line-height: 1.25;
}

.trust-call-person:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

.trust-call-name {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.92;
}

.trust-call-phone {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.footer-contact strong {
  display: block;
  color: var(--yellow);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 0.1rem;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: none; }
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ========== VALUES ========== */
.values {
  background: var(--bg);
  color: var(--ink);
  padding: 4.5rem 0 4rem;
}

.values-head {
  text-align: center;
  margin-bottom: 2.5rem;
}

.values-head h2 {
  color: var(--navy);
  text-transform: none;
  letter-spacing: 0.01em;
  position: relative;
  display: inline-block;
}

.values-head h2::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  background: var(--red);
  margin: 0.7rem auto 0;
  border-radius: 2px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.value-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.75rem 1.35rem 1.5rem;
  box-shadow: var(--shadow-soft);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s;
  overflow: hidden;
}

.value-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--red), var(--yellow));
  opacity: 0;
  transition: opacity 0.3s;
}

.value-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: transparent;
}

.value-card:hover::before { opacity: 1; }

.value-step {
  position: absolute;
  top: 1rem;
  right: 1.1rem;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: rgba(10, 31, 61, 0.08);
  line-height: 1;
}

.value-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
  color: var(--red);
  background: var(--red-soft);
  border-radius: 12px;
  display: grid;
  place-items: center;
  padding: 10px;
}
.value-icon svg { width: 100%; height: 100%; }

.value-card h3 {
  font-size: 1.1rem;
  text-transform: none;
  letter-spacing: 0.01em;
  margin-bottom: 0.45rem;
  color: var(--navy);
}

.value-card p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.55;
}

/* ========== COURSES PAGE ========== */

.cr-nav-bar {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: var(--header-h);
  z-index: 40;
  box-shadow: 0 8px 20px rgba(10, 31, 61, 0.04);
}

.cr-nav-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  padding: 0.85rem 0;
  justify-content: center;
}

.cr-nav-chip {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--navy);
  padding: 0.55rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--bg);
  transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.25s;
}

.cr-nav-chip:hover {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
  transform: translateY(-1px);
}

.cr-intro {
  padding: 4rem 0 1.25rem;
  background: var(--bg);
  text-align: center;
}

.cr-intro-inner h2 {
  text-transform: none;
  color: var(--navy);
  margin: 0.35rem 0 0.85rem;
  position: relative;
  display: inline-block;
}

.cr-intro-inner h2::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  background: var(--red);
  margin: 0.75rem auto 0;
  border-radius: 2px;
}

.cr-intro-inner p:last-child {
  color: var(--muted);
  max-width: 54ch;
  margin: 0 auto;
  line-height: 1.7;
  font-size: 1.02rem;
}

.cr-list {
  padding: 2rem 0 5rem;
  background: var(--bg);
}

.cr-item {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 0;
  align-items: stretch;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-soft);
  scroll-margin-top: calc(var(--header-h) + 4.5rem);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.cr-item:last-child { margin-bottom: 0; }

.cr-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.cr-item--flip .cr-item-media { order: 2; }
.cr-item--flip .cr-item-body { order: 1; }

.cr-item-media {
  position: relative;
  min-height: 360px;
  overflow: hidden;
}

.cr-item-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  transition: transform 0.7s var(--ease);
}

.cr-item:hover .cr-item-media img {
  transform: scale(1.06);
}

.cr-item-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(10, 31, 61, 0.15), transparent 55%);
  pointer-events: none;
}

.cr-badge {
  position: absolute;
  top: 1.15rem;
  left: 1.15rem;
  z-index: 1;
  background: var(--red);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(225, 6, 0, 0.35);
}

.cr-badge--navy {
  background: var(--navy);
  box-shadow: 0 8px 18px rgba(10, 31, 61, 0.35);
}

.cr-item-body {
  padding: 2.35rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-left: 3px solid var(--red);
}

.cr-item--flip .cr-item-body {
  border-left: none;
  border-right: 3px solid var(--red);
}

.cr-label {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.4rem;
}

.cr-item-body h3 {
  text-transform: none;
  color: var(--navy);
  font-size: clamp(1.75rem, 2.6vw, 2.15rem);
  margin-bottom: 0.8rem;
}

.cr-item-body > p {
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 1.25rem;
  font-size: 0.98rem;
}

.cr-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem 1rem;
  margin-bottom: 1.65rem;
}

.cr-features li {
  position: relative;
  padding-left: 1.25rem;
  font-size: 0.88rem;
  color: var(--ink);
  line-height: 1.45;
}

.cr-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42rem;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 3px var(--red-soft);
}

.cr-item-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.35rem;
}

.cr-text-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.02em;
  transition: color 0.2s;
}

.cr-text-link:hover { color: var(--red); }

.cr-perks {
  padding: 5rem 0 5.5rem;
  background:
    radial-gradient(ellipse 70% 60% at 50% 0%, rgba(225, 6, 0, 0.05), transparent 60%),
    var(--white);
  border-top: 1px solid var(--line);
}

.cr-perks-head {
  text-align: center;
  margin-bottom: 2.5rem;
}

.cr-perks-head h2 {
  text-transform: none;
  color: var(--navy);
  margin: 0.35rem 0 0.75rem;
}

.cr-perks-lead {
  color: var(--muted);
  max-width: 48ch;
  margin: 0 auto;
  line-height: 1.65;
}

.cr-perks-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.15rem;
}

.cr-perk {
  padding: 1.75rem 1.4rem;
  border-radius: 18px;
  background: var(--bg);
  border: 1px solid var(--line);
  transition: transform 0.3s var(--ease), box-shadow 0.3s, border-color 0.3s, background 0.3s;
}

.cr-perk:hover {
  transform: translateY(-4px);
  background: var(--white);
  border-color: transparent;
  box-shadow: var(--shadow-soft);
}

.cr-perk-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--red-soft);
  color: var(--red);
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  padding: 11px;
}

.cr-perk-icon svg { width: 100%; height: 100%; }

.cr-perk h3 {
  text-transform: none;
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.cr-perk p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.55;
}

/* ========== CONTACT PAGE ========== */
.cp-main {
  padding: 4.5rem 0;
  background: var(--bg);
}

.cp-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.15fr;
  gap: 2.5rem;
  align-items: start;
}

.cp-info h2 {
  text-transform: none;
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.cp-info > p {
  color: var(--muted);
  margin-bottom: 1.75rem;
  line-height: 1.7;
  max-width: 40ch;
}

.cp-cards {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.cp-card {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1rem 1.1rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

a.cp-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
  border-color: transparent;
}

.cp-card-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 12px;
  background: var(--red-soft);
  color: var(--red);
  display: grid;
  place-items: center;
  padding: 10px;
}
.cp-card-icon svg { width: 100%; height: 100%; }

.cp-card strong {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.15rem;
}

.cp-card span:last-child {
  font-weight: 600;
  color: var(--navy);
  font-size: 0.95rem;
  word-break: break-word;
}

.cp-hours {
  background: var(--navy);
  color: var(--white);
  border-radius: 16px;
  padding: 1.4rem 1.35rem;
}

.cp-hours h3 {
  text-transform: none;
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: var(--yellow);
}

.cp-hours ul {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.cp-hours li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.9rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.cp-hours li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.cp-hours li span { opacity: 0.8; }
.cp-hours li strong { font-weight: 600; }

.cp-form-wrap {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow-soft);
}

.cp-form-wrap h2 {
  text-transform: none;
  color: var(--navy);
  margin-bottom: 0.4rem;
}

.cp-form-note {
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 1.5rem;
}

.cp-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cp-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.cp-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.cp-field label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);
}

.cp-field input,
.cp-field select,
.cp-field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.85rem 1rem;
  font: inherit;
  color: var(--ink);
  background: var(--bg);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.cp-field input:focus,
.cp-field select:focus,
.cp-field textarea:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(225, 6, 0, 0.12);
  background: var(--white);
}

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

.cp-form .btn { align-self: flex-start; margin-top: 0.35rem; }

.cp-form-success {
  margin-top: 0.5rem;
  padding: 0.85rem 1rem;
  background: #e8f8ef;
  color: #146c43;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 500;
}

/* ========== LEGAL PAGES ========== */
.page-hero--legal {
  min-height: 340px;
  padding: calc(var(--header-h) + 2.5rem) 0 3rem;
  align-items: center;
}

.page-hero--legal .page-hero-sub {
  margin-bottom: 0;
}

.legal-page {
  padding: 3.5rem 0 5rem;
  background: var(--bg);
}

.legal-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 2.5rem;
  align-items: start;
}

.legal-toc {
  position: sticky;
  top: calc(var(--header-h) + 1.25rem);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.35rem 1.2rem;
  box-shadow: var(--shadow-soft);
}

.legal-toc-title {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.85rem;
}

.legal-toc nav {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.legal-toc nav a {
  font-size: 0.88rem;
  color: var(--muted);
  padding: 0.45rem 0.65rem;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
}

.legal-toc nav a:hover {
  background: var(--bg);
  color: var(--navy);
}

.legal-toc-link {
  display: inline-block;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  width: 100%;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
}

.legal-toc-link:hover { color: var(--red); }

.legal-main {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 2.25rem 2.5rem;
  box-shadow: var(--shadow-soft);
}

.legal-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: center;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 2rem;
  padding-bottom: 1.15rem;
  border-bottom: 1px solid var(--line);
}

.legal-meta a {
  font-weight: 600;
  color: var(--red);
}

.legal-meta a:hover { text-decoration: underline; }

.legal-block {
  margin-bottom: 0;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: calc(var(--header-h) + 1.25rem);
}

.legal-block:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.legal-block:first-of-type { padding-top: 0; }

.legal-block h2 {
  text-transform: none;
  color: var(--navy);
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: baseline;
  gap: 0.65rem;
}

.legal-block h2 span {
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--red);
  letter-spacing: 0.06em;
}

.legal-block p {
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 0.75rem;
}

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

.legal-block ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin: 0.55rem 0 0.35rem;
}

.legal-block ul li {
  position: relative;
  padding-left: 1.2rem;
  color: var(--ink);
  font-size: 0.95rem;
  line-height: 1.55;
}

.legal-block ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--red);
}

.legal-contact-card {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-top: 1.15rem;
  padding: 1.25rem;
  background: var(--bg);
  border-radius: 14px;
  border: 1px solid var(--line);
}

.legal-contact-card a,
.legal-contact-card span {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--navy);
}

.legal-contact-card a:hover { color: var(--red); }

.legal-contact-card span {
  font-weight: 500;
  color: var(--muted);
  grid-column: 1 / -1;
}

/* ========== PAGE HERO (shared: About / Courses / Contact) ========== */
.page-hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
  padding: calc(var(--header-h) + 3.5rem) 0 4.5rem;
  color: var(--white);
  overflow: hidden;
}

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

.page-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.22) brightness(1.06);
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(6, 10, 20, 0.72) 0%, rgba(6, 10, 20, 0.42) 50%, rgba(6, 10, 20, 0.22) 100%),
    linear-gradient(to top, rgba(6, 10, 20, 0.35) 0%, transparent 55%);
}

.page-hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  margin-inline: auto !important;
}

.page-hero-content .hero-brand,
.page-hero-content h1,
.page-hero-content .page-hero-sub,
.page-hero-content .page-hero-actions {
  max-width: 520px;
}

.page-hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.page-hero-sub {
  max-width: 42ch;
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.05rem;
  margin-bottom: 1.35rem;
  line-height: 1.65;
}

.page-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
  justify-content: flex-start;
}

.page-hero-actions .btn {
  min-height: 48px;
  padding: 0.85rem 1.55rem;
  font-size: 0.82rem;
  line-height: 1;
  border-radius: 999px;
}

/* ========== ABOUT ========== */
.about {
  padding: 5.5rem 0 6rem;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}

.about-page {
  padding-top: 5rem;
  scroll-margin-top: calc(var(--header-h) + 1rem);
}

.about-mission,
.about-why {
  padding: 4.5rem 0 5rem;
  background: var(--bg);
}

.mission-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.mission-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.85rem 1.5rem;
  box-shadow: var(--shadow-soft);
  position: relative;
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}

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

.mission-num {
  font-family: var(--font-display);
  font-size: 2rem;
  color: rgba(225, 6, 0, 0.15);
  line-height: 1;
  display: block;
  margin-bottom: 0.75rem;
}

.mission-card h3 {
  text-transform: none;
  color: var(--navy);
  margin-bottom: 0.55rem;
  font-size: 1.25rem;
}

.mission-card p {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

.about-points--grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.about-visual {
  position: relative;
}

.about-frame {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  max-height: 520px;
  box-shadow: var(--shadow);
}

.about-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.7s var(--ease);
}

.about-visual:hover .about-frame img {
  transform: scale(1.04);
}

.about-frame-accent {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(8, 12, 22, 0.55) 0%, transparent 45%),
    linear-gradient(135deg, rgba(225, 6, 0, 0.15), transparent 50%);
  pointer-events: none;
}

.about-frame::after {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 12px;
  pointer-events: none;
  z-index: 1;
}

.about-stats {
  position: absolute;
  left: 1.25rem;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  padding: 0.9rem 0.75rem;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

.about-stat {
  text-align: center;
  border-right: 1px solid var(--line);
}

.about-stat:last-child { border-right: none; }

.about-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.45rem;
  color: var(--red);
  line-height: 1;
  margin-bottom: 0.2rem;
}

.about-stat span {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.about-copy h2 {
  margin-bottom: 1.1rem;
  text-transform: none;
  letter-spacing: 0.01em;
  max-width: 16ch;
  color: var(--navy);
  font-size: clamp(1.85rem, 3.2vw, 2.6rem);
}

.about-lead {
  color: var(--muted);
  margin-bottom: 1.75rem;
  max-width: 48ch;
  line-height: 1.7;
}

.about-points {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  margin-bottom: 2rem;
}

.about-point {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  padding: 0.95rem 1rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}

.about-point:hover {
  border-color: transparent;
  box-shadow: var(--shadow-soft);
  transform: translateX(4px);
}

.about-point-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  color: var(--red);
  background: var(--red-soft);
  border-radius: 10px;
  display: grid;
  place-items: center;
  padding: 8px;
}
.about-point-icon svg { width: 100%; height: 100%; }

.about-point strong {
  display: block;
  font-size: 0.95rem;
  color: var(--navy);
  margin-bottom: 0.15rem;
}

.about-point span {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.4;
}

.about-actions,
.faq-intro-actions,
.cr-item-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

/* ========== COURSES (main highlight) ========== */
.courses {
  position: relative;
  padding: 5.5rem 0 6rem;
  background: #070b14;
  color: var(--white);
  overflow: hidden;
}

.courses-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 10% 20%, rgba(225, 6, 0, 0.22), transparent 55%),
    radial-gradient(ellipse 50% 40% at 90% 80%, rgba(255, 208, 0, 0.1), transparent 50%),
    radial-gradient(ellipse 40% 35% at 70% 10%, rgba(255, 255, 255, 0.04), transparent 45%);
  pointer-events: none;
}

.courses .container { position: relative; z-index: 1; }

.courses-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 2.75rem;
}

.courses-head .section-eyebrow {
  color: var(--yellow);
}

.courses-head h2 {
  text-transform: none;
  letter-spacing: 0.01em;
  font-size: clamp(2rem, 3.8vw, 3rem);
  margin-top: 0.35rem;
  max-width: 14ch;
}

.courses-lead {
  margin-top: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 42ch;
  font-size: 0.98rem;
  line-height: 1.65;
}

.courses-showcase {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 1.15rem;
}

.course-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border-radius: 18px;
  overflow: hidden;
  min-height: 300px;
  isolation: isolate;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s;
}

.course-card--featured {
  grid-row: span 2;
  min-height: 100%;
}

.course-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
  filter: saturate(1.08) contrast(1.05);
}

.course-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(4, 8, 16, 0.96) 0%, rgba(4, 8, 16, 0.72) 38%, rgba(4, 8, 16, 0.2) 70%, rgba(4, 8, 16, 0.08) 100%);
  z-index: 1;
  transition: background 0.35s;
}

.course-content {
  position: relative;
  z-index: 2;
  padding: 1.35rem 1.25rem 1.4rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  width: 100%;
  box-sizing: border-box;
}

.course-card--featured .course-content {
  padding: 1.6rem 1.5rem 1.75rem;
  gap: 0.65rem;
}

.course-content .btn {
  margin-top: 0.35rem;
  min-height: 40px;
  padding: 0.65rem 1.15rem;
  font-size: 0.75rem;
  align-self: flex-start;
  flex-shrink: 0;
}

.course-tag {
  display: inline-flex;
  align-items: center;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--yellow);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  flex-shrink: 0;
}

.course-content h3 {
  font-size: 1.35rem;
  text-transform: none;
  letter-spacing: 0.01em;
  color: var(--white);
  margin: 0;
}

.course-card--featured .course-content h3 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.course-content p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.5;
  max-width: 36ch;
  margin: 0;
}

.course-card--featured .course-content p {
  font-size: 1rem;
  max-width: 34ch;
}

.course-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 208, 0, 0.25);
  border-color: rgba(255, 208, 0, 0.35);
}

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

.course-card:hover .course-overlay {
  background:
    linear-gradient(to top, rgba(4, 8, 16, 0.92) 0%, rgba(225, 6, 0, 0.25) 50%, rgba(4, 8, 16, 0.2) 100%);
}

/* ========== STATS ========== */
.stats {
  padding: 2.5rem 0 1rem;
  background: var(--bg);
  color: var(--navy);
  position: relative;
  overflow: visible;
}

.stats-bg {
  display: none;
}

.stats .container {
  margin-top: -3.25rem;
  position: relative;
  z-index: 2;
}

.stats-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 0.35rem;
}

.stat-card {
  text-align: center;
  padding: 1.85rem 1.1rem;
  background: transparent;
  border: none;
  border-radius: 14px;
  border-right: 1px solid var(--line);
  transition: background 0.3s, transform 0.3s var(--ease);
}

.stat-card:last-child { border-right: none; }

.stat-card:hover {
  background: var(--bg);
  transform: translateY(-2px);
}

.stat-icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 0.85rem;
  color: var(--red);
  background: var(--red-soft);
  border-radius: 12px;
  display: grid;
  place-items: center;
  padding: 9px;
}
.stat-icon svg { width: 100%; height: 100%; }

.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 3.5vw, 2.75rem);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.4rem;
  color: var(--navy);
}

.stat-num--text {
  font-size: clamp(1.7rem, 2.8vw, 2.2rem);
  color: var(--red);
}

.stat-label {
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--muted);
}

/* ========== TESTIMONIALS ========== */
.testimonials {
  padding: 4.5rem 0 5rem;
  background: var(--bg);
}

.testimonials-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.testimonials-head h2 {
  text-transform: none;
  letter-spacing: 0.01em;
  color: var(--navy);
  margin-top: 0.3rem;
}

.testimonial-controls {
  display: flex;
  gap: 0.6rem;
}

.testimonial-wrap {
  display: block;
}

.testimonial-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.testimonial-card {
  position: relative;
  background: var(--white);
  border-radius: 18px;
  padding: 1.85rem 1.5rem 1.5rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  min-height: 100%;
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.testimonial-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--red), var(--yellow));
  opacity: 0;
  transition: opacity 0.3s;
}

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

.testimonial-card:hover::before { opacity: 1; }

.quote-mark {
  position: absolute;
  top: 0.6rem;
  right: 1.2rem;
  font-family: var(--font-display);
  font-size: 4.5rem;
  line-height: 1;
  color: rgba(225, 6, 0, 0.08);
  pointer-events: none;
}

.stars {
  color: var(--yellow);
  letter-spacing: 0.14em;
  font-size: 0.95rem;
}

.testimonial-card blockquote {
  font-size: 0.98rem;
  font-style: normal;
  color: var(--ink);
  line-height: 1.7;
  flex: 1;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  margin-top: 0.25rem;
}

.testimonial-author img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--red-soft);
}

.testimonial-author strong {
  display: block;
  font-size: 0.92rem;
  color: var(--navy);
}

.testimonial-author span {
  font-size: 0.76rem;
  color: var(--muted);
}

.carousel-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--white);
  border: 1.5px solid var(--line);
  color: var(--navy);
  display: grid;
  place-items: center;
  transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.25s;
  flex-shrink: 0;
}

.carousel-btn:hover {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
  transform: scale(1.05);
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 1.75rem;
}

.carousel-dots button {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #cfd6e0;
  transition: width 0.3s, background 0.3s;
}

.carousel-dots button.is-active {
  width: 26px;
  border-radius: 999px;
  background: var(--red);
}

/* ========== FAQ ========== */
.faq {
  padding: 5rem 0 5.5rem;
  background: var(--bg);
}

.faq-page {
  scroll-margin-top: calc(var(--header-h) + 1rem);
}

.faq-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.2fr;
  gap: 3.5rem;
  align-items: start;
}

.faq-intro h2 {
  text-transform: none;
  letter-spacing: 0.01em;
  color: var(--navy);
  margin-bottom: 1rem;
  max-width: 12ch;
}

.faq-intro p {
  color: var(--muted);
  margin-bottom: 1.5rem;
  max-width: 36ch;
  line-height: 1.7;
}

.faq-intro-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.faq-item[open],
.faq-item:hover {
  border-color: transparent;
  box-shadow: var(--shadow-soft);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.15rem 3.25rem 1.15rem 1.35rem;
  font-weight: 600;
  color: var(--navy);
  font-size: 0.98rem;
  position: relative;
  line-height: 1.45;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--red-soft);
  color: var(--red);
  display: grid;
  place-items: center;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1;
  transition: background 0.25s, color 0.25s, transform 0.25s;
}

.faq-item[open] summary::after {
  content: "–";
  background: var(--red);
  color: var(--white);
}

.faq-answer {
  padding: 0 1.35rem 1.25rem;
}

.faq-answer a {
  color: var(--red);
  font-weight: 600;
}
.faq-answer a:hover { text-decoration: underline; }

.faq-answer p {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.7;
  border-top: 1px solid var(--line);
  padding-top: 0.95rem;
}

/* ========== CTA ========== */
.cta-banner {
  position: relative;
  padding: 1.5rem 0 4.5rem;
  background: var(--bg);
  color: var(--white);
}

.cta-panel {
  position: relative;
  display: grid;
  grid-template-columns: 1.35fr auto;
  gap: 2.5rem;
  align-items: center;
  padding: 2.75rem 3rem;
  background: linear-gradient(135deg, #0d1524 0%, #152238 55%, #1a1a2e 100%);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 22px 50px rgba(10, 31, 61, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.cta-accent {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 6px;
  background: linear-gradient(180deg, var(--yellow), var(--red));
}

.cta-panel::after {
  content: "";
  position: absolute;
  right: -8%;
  top: -40%;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(225, 6, 0, 0.28), transparent 68%);
  pointer-events: none;
}

.cta-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 0.7rem;
}

.cta-copy {
  position: relative;
  z-index: 1;
}

.cta-copy h2 {
  font-size: clamp(1.65rem, 3vw, 2.4rem);
  text-transform: none;
  letter-spacing: 0.01em;
  margin-bottom: 0.7rem;
  max-width: 16ch;
  line-height: 1.15;
}

.cta-copy p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.98rem;
  max-width: 42ch;
  line-height: 1.65;
}

.cta-actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.65rem;
  justify-self: end;
}

.cta-actions .btn {
  width: auto;
  min-height: 46px;
  padding: 0.8rem 1.4rem;
  white-space: nowrap;
}

.cta-note {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.55);
  text-align: center;
}

/* ========== FOOTER ========== */
.site-footer {
  background: #06090f;
  color: rgba(255, 255, 255, 0.72);
  padding-top: 4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 1.6fr;
  gap: 3rem;
  padding-bottom: 3rem;
}

.logo--footer .logo-text { color: rgba(255, 255, 255, 0.9); }

.footer-brand p {
  margin-top: 1.1rem;
  font-size: 0.9rem;
  max-width: 32ch;
  line-height: 1.7;
}

.socials {
  display: flex;
  gap: 0.65rem;
  margin-top: 1.4rem;
}

.social {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: grid;
  place-items: center;
  color: var(--white);
  transition: background 0.25s, transform 0.25s, border-color 0.25s;
}
.social:hover {
  background: var(--red);
  border-color: var(--red);
  transform: translateY(-3px);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.85rem;
  margin-bottom: 1.1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 0.65rem;
}

.footer-col h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 28px;
  height: 2px;
  background: var(--red);
  border-radius: 2px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.footer-col a {
  font-size: 0.9rem;
  transition: color 0.2s, padding-left 0.2s;
}
.footer-col a:hover {
  color: var(--yellow);
  padding-left: 4px;
}

.footer-contact li { font-size: 0.9rem; line-height: 1.5; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.15rem 0;
  background: rgba(0, 0, 0, 0.25);
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.8rem;
}

.footer-legal { display: flex; gap: 1.5rem; }
.footer-legal a:hover { color: var(--yellow); }

/* ========== BOOK MODAL ========== */
.book-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s var(--ease), visibility 0.25s;
}

.book-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.book-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 10, 20, 0.72);
  backdrop-filter: blur(4px);
}

.book-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 420px);
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.35);
  padding: 1.75rem 1.5rem 1.5rem;
  transform: translateY(16px) scale(0.98);
  transition: transform 0.28s var(--ease);
}

.book-modal.is-open .book-modal-dialog {
  transform: none;
}

.book-modal-close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 999px;
  background: rgba(6, 10, 20, 0.06);
  color: var(--navy);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.book-modal-close:hover {
  background: rgba(225, 6, 0, 0.12);
  color: var(--red);
}

.book-modal-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  margin: 0 0 0.35rem;
}

.book-modal-dialog h2 {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 0.35rem;
  letter-spacing: 0.01em;
}

.book-modal-lead {
  font-size: 0.9rem;
  color: rgba(6, 10, 20, 0.65);
  margin: 0 0 1.35rem;
  line-height: 1.5;
}

.book-modal-form {
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
}

.book-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.book-field label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--navy);
}

.book-field input {
  width: 100%;
  box-sizing: border-box;
  padding: 0.8rem 0.95rem;
  border: 1.5px solid rgba(6, 10, 20, 0.12);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--navy);
  background: #f7f8fa;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.book-field input:focus {
  outline: none;
  border-color: var(--red);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(225, 6, 0, 0.12);
}

.book-modal-form .btn {
  margin-top: 0.35rem;
  width: 100%;
  min-height: 46px;
  justify-content: center;
}

.book-modal-success {
  text-align: center;
  padding: 0.5rem 0 0.25rem;
}

.book-modal-success[hidden] {
  display: none;
}

.book-modal-success p {
  margin: 0;
  color: var(--navy);
  font-size: 0.95rem;
  line-height: 1.55;
}

.book-modal-success strong {
  display: block;
  font-size: 1.15rem;
  margin-bottom: 0.35rem;
  color: var(--red);
}

body.book-modal-open {
  overflow: hidden;
}

@media (max-width: 480px) {
  .book-modal {
    padding: 0.85rem;
    align-items: flex-end;
  }
  .book-modal-dialog {
    width: 100%;
    border-radius: 16px 16px 12px 12px;
    padding: 1.5rem 1.15rem 1.25rem;
  }
  .book-modal-dialog h2 {
    font-size: 1.4rem;
  }
}

/* ========== RESPONSIVE ========== */

/* Large laptop / small desktop */
@media (max-width: 1200px) {
  :root { --page-gutter: 1.5rem; }

  .header-inner { gap: 1.25rem; }
  .main-nav a { padding: 0.5rem 0.75rem; font-size: 0.86rem; }
}

@media (max-width: 1100px) {
  .courses-showcase {
    grid-template-columns: 1fr 1fr;
  }
  .course-card--featured {
    grid-column: 1 / -1;
    grid-row: auto;
    min-height: 340px;
  }
  .footer-top { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-links { grid-template-columns: repeat(3, 1fr); }
  .cta-panel {
    grid-template-columns: 1fr;
    padding: 2.25rem 1.75rem 2.25rem 2rem;
    gap: 1.75rem;
  }
  .cta-actions { justify-self: start; align-items: flex-start; }
  .cta-note { text-align: left; }

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

/* Tablet */
@media (max-width: 960px) {
  :root {
    --page-gutter: 1.25rem;
    --header-h: 72px;
  }

  .btn-book { display: none; }
  .nav-toggle {
    display: flex;
    position: relative;
    z-index: 1003;
  }

  .site-header { z-index: 1000; }

  .header-inner { gap: 0.75rem; }

  .nav-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(6, 10, 20, 0.45);
    z-index: 998;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }

  body.nav-open .nav-backdrop {
    opacity: 1;
    pointer-events: auto;
  }

  .main-nav {
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: auto !important;
    width: min(300px, 82vw) !important;
    height: 100dvh !important;
    max-height: none !important;
    margin: 0 !important;
    flex: none !important;
    display: block !important;
    overflow-x: hidden;
    overflow-y: auto;
    background: var(--white);
    padding: calc(var(--header-h) + 1.25rem) 1.35rem 2rem;
    box-shadow: -16px 0 48px rgba(10, 31, 61, 0.22);
    transform: translateX(105%);
    opacity: 1;
    pointer-events: none;
    transition: transform 0.35s var(--ease);
    z-index: 1002;
  }

  .main-nav.is-open {
    transform: translateX(0);
    pointer-events: auto;
  }

  .main-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
    display: flex;
  }
  .main-nav a {
    display: block;
    padding: 1rem 0.25rem;
    border-bottom: 1px solid var(--line);
    font-size: 1.05rem;
  }
  .main-nav a.active::after { display: none; }
  .main-nav a.active { color: var(--red); }

  .hero {
    min-height: min(640px, 78vh);
  }

  .hero-slide {
    padding-top: calc(var(--header-h) + 1.5rem);
    padding-bottom: 5rem;
  }

  .hero-slide-content {
    margin-left: var(--page-gutter);
    margin-right: var(--page-gutter);
    max-width: 100%;
    width: auto;
  }

  .hero-actions {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.55rem;
    max-width: 100%;
  }

  .hero-actions .btn {
    min-height: 42px;
    width: auto;
    flex: 0 1 auto;
    padding: 0.7rem 1rem;
    font-size: 0.74rem;
    white-space: nowrap;
  }

  .page-hero-actions {
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 0.55rem;
  }

  .page-hero-actions .btn {
    min-height: 42px;
    width: auto;
    padding: 0.7rem 1rem;
    font-size: 0.74rem;
  }

  .trust-panel {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .trust-items {
    grid-template-columns: 1fr 1fr;
  }

  .trust-item {
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.25rem 1rem;
  }
  .trust-item:nth-child(2n) { border-right: none; }

  .trust-call {
    clip-path: none;
    text-align: left;
    align-items: stretch;
    min-width: 0;
    width: 100%;
    padding: 1.25rem 1.15rem 1.35rem;
    gap: 0.9rem;
    border-radius: 0;
  }

  .trust-call-label {
    text-align: center;
    letter-spacing: 0.14em;
  }

  .trust-call-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
  }

  .trust-call-person {
    text-align: center;
    align-items: center;
    padding: 0.7rem 0.55rem;
  }

  .trust-call-phone {
    font-size: 0.98rem;
  }

  .hero-ribbon {
    top: auto;
    bottom: 20%;
    right: 3%;
    font-size: 0.68rem;
    padding: 0.5rem 1.2rem;
  }

  .values-grid { grid-template-columns: 1fr 1fr; gap: 1.15rem; }

  .stats .container { margin-top: -1.25rem; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 0; }
  .stat-card {
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }
  .stat-card:nth-child(2n) { border-right: none; }
  .stat-card:nth-child(n + 3) { border-bottom: none; }

  .about-grid,
  .faq-grid,
  .mission-grid,
  .about-points--grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .faq-intro h2 { max-width: none; }
  .faq-intro-actions {
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 0.55rem;
  }
  .faq-intro-actions .btn {
    width: auto;
    flex: 0 1 auto;
    min-height: 42px;
    padding: 0.7rem 1rem;
    font-size: 0.74rem;
    white-space: nowrap;
  }

  .about-actions .btn {
    min-height: 42px;
    padding: 0.7rem 1rem;
    font-size: 0.74rem;
    white-space: nowrap;
  }

  .cta-actions {
    align-items: flex-start;
  }
  .cta-actions .btn {
    width: auto;
    min-height: 42px;
    padding: 0.7rem 1.15rem;
    font-size: 0.78rem;
  }

  .page-hero {
    min-height: 380px;
    padding: calc(var(--header-h) + 2.5rem) 0 3rem;
  }

  .page-hero--legal { min-height: 300px; }

  .about-frame {
    max-height: 380px;
    aspect-ratio: 16 / 11;
    width: 100%;
  }

  .courses-showcase {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .course-card,
  .course-card--featured {
    grid-column: auto;
    grid-row: auto;
    min-height: 320px;
  }
  .course-content,
  .course-card--featured .course-content {
    padding: 1.3rem 1.15rem 1.4rem;
    gap: 0.4rem;
  }
  .course-content h3 {
    font-size: 1.4rem;
  }
  .course-card--featured .course-content h3 {
    font-size: 1.55rem;
  }
  .course-content p,
  .course-card--featured .course-content p {
    font-size: 0.86rem;
    max-width: 100%;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .course-content .btn {
    min-height: 40px;
    padding: 0.65rem 1.1rem;
    font-size: 0.72rem;
    border-radius: 999px;
  }
  .courses-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.75rem;
  }
  .courses-head .btn {
    min-height: 42px;
    padding: 0.7rem 1.15rem;
    font-size: 0.78rem;
    width: auto;
  }

  .testimonial-track { grid-template-columns: 1fr; }
  .testimonial-card:nth-child(n + 2) { display: none; }
  .testimonial-card.is-active-slide { display: flex; }

  .cp-layout { grid-template-columns: 1fr; gap: 2rem; }
  .cp-form-wrap { padding: 1.75rem 1.35rem; }
  .cp-hours { width: 100%; }

  .cr-item,
  .cr-item--flip {
    grid-template-columns: 1fr;
  }
  .cr-item--flip .cr-item-media,
  .cr-item--flip .cr-item-body { order: unset; }
  .cr-item-media { min-height: 220px; }
  .cr-item-body,
  .cr-item--flip .cr-item-body {
    padding: 1.5rem 1.25rem 1.75rem;
    border-left: none;
    border-right: none;
    border-top: 3px solid var(--red);
  }
  .cr-features { grid-template-columns: 1fr; }
  .cr-perks-grid { grid-template-columns: 1fr 1fr; }
  .cr-nav-bar { top: var(--header-h); }
  .cr-nav-inner {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    padding-bottom: 0.35rem;
  }
  .cr-nav-chip { flex-shrink: 0; }

  .legal-layout { grid-template-columns: 1fr; }
  .legal-toc { position: static; }
  .legal-toc nav { display: grid; grid-template-columns: 1fr 1fr; gap: 0.15rem; }
  .legal-main { padding: 1.75rem 1.35rem; }

  .footer-links { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .section-head { margin-bottom: 2rem; }
}

/* Mobile */
@media (max-width: 640px) {
  :root {
    --header-h: 64px;
    --page-gutter: 1rem;
  }

  .logo {
    gap: 0.5rem;
    max-width: calc(100% - 3rem);
  }
  .logo-mark { font-size: 1.75rem; }
  .logo-text {
    display: flex;
    font-size: 0.5rem;
  }

  .hero {
    min-height: min(580px, 85vh);
  }

  .hero-slide {
    padding-top: calc(var(--header-h) + 1.1rem);
    padding-bottom: 4.5rem;
  }

  .hero-brand {
    font-size: 0.78rem;
    letter-spacing: 0.14em;
    margin-bottom: 0.85rem;
  }

  .hero-slide h1 {
    font-size: clamp(1.85rem, 8vw, 2.35rem);
    margin-bottom: 0.85rem;
  }

  .hero-sub {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    max-width: 100%;
  }

  .hero-actions {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    width: auto;
    max-width: 100%;
    gap: 0.55rem;
  }

  .hero-actions .btn {
    width: auto;
    flex: 0 1 auto;
    min-height: 42px;
    padding: 0.7rem 0.95rem;
    font-size: 0.72rem;
    letter-spacing: 0.04em;
    white-space: nowrap;
    justify-content: center;
  }

  .hero-nav {
    width: 34px;
    height: 34px;
  }

  .hero-controls {
    bottom: 1.15rem;
    gap: 0.65rem;
    padding: 0.35rem 0.5rem;
  }

  .trust-items { grid-template-columns: 1fr; }
  .trust-item {
    border-right: none;
    padding: 1.1rem 0.85rem;
  }
  .trust-item:last-child { border-bottom: none; }

  .trust-call {
    padding: 1.2rem 1rem 1.3rem;
  }

  .trust-call-list {
    grid-template-columns: 1fr;
    gap: 0.55rem;
  }

  .trust-call-person {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    padding: 0.75rem 0.9rem;
    gap: 0.75rem;
  }

  .trust-call-name {
    font-size: 0.7rem;
  }

  .trust-call-phone {
    font-size: 1.05rem;
  }

  .hero-ribbon { display: none; }

  .values-grid,
  .footer-links,
  .cr-perks-grid,
  .mission-grid {
    grid-template-columns: 1fr;
    gap: 1.15rem;
  }

  .stats-grid { grid-template-columns: 1fr; }
  .stat-card {
    border-right: none;
    border-bottom: 1px solid var(--line);
  }
  .stat-card:last-child { border-bottom: none; }

  .course-card,
  .course-card--featured {
    min-height: 300px;
    border-radius: 14px;
  }
  .course-content,
  .course-card--featured .course-content {
    padding: 1.2rem 1rem 1.25rem;
  }
  .course-tag {
    font-size: 0.64rem;
    padding: 0.3rem 0.65rem;
  }
  .course-content h3 {
    font-size: 1.3rem;
  }
  .course-card--featured .course-content h3 {
    font-size: 1.45rem;
  }
  .course-content .btn {
    min-height: 38px;
    padding: 0.6rem 1rem;
  }

  .testimonials-head { align-items: flex-start; }

  .cta-panel { padding: 1.75rem 1.25rem; }
  .cta-actions {
    align-items: flex-start;
    width: 100%;
  }
  .cta-actions .btn {
    width: auto;
    min-height: 42px;
    padding: 0.7rem 1.15rem;
    font-size: 0.78rem;
  }
  .cta-note { text-align: left; }

  .about-actions,
  .faq-intro-actions,
  .cr-item-actions {
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 0.5rem;
    width: 100%;
  }

  .about-actions .btn,
  .faq-intro-actions .btn,
  .cr-item-actions .btn {
    width: auto;
    flex: 0 1 auto;
    min-height: 40px;
    padding: 0.65rem 0.9rem;
    font-size: 0.7rem;
    white-space: nowrap;
    justify-content: center;
  }

  .cp-row { grid-template-columns: 1fr; }
  .cp-form .btn {
    width: auto;
    min-height: 44px;
    padding: 0.75rem 1.25rem;
  }
  .cp-cards { gap: 0.65rem; }

  .page-hero {
    min-height: 320px;
    padding: calc(var(--header-h) + 2rem) 0 2.5rem;
  }

  .page-hero h1 {
    font-size: clamp(1.9rem, 9vw, 2.6rem);
  }

  .page-hero-sub {
    font-size: 0.95rem;
    max-width: 100%;
  }

  .page-hero-actions {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    width: auto;
    max-width: 100%;
    gap: 0.55rem;
  }

  .page-hero-actions .btn {
    width: auto;
    max-width: none;
    min-height: 42px;
    padding: 0.7rem 0.95rem;
    font-size: 0.72rem;
    justify-content: center;
  }

  .page-hero--legal { min-height: 260px; }

  .legal-toc nav { grid-template-columns: 1fr; }
  .legal-main { padding: 1.35rem 1.1rem; }
  .legal-meta {
    flex-direction: column;
    align-items: flex-start;
  }
  .legal-contact-card { grid-template-columns: 1fr; }

  .footer-brand p { max-width: none; }
  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
  }
  .footer-legal {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }

  .btn-lg { padding: 0.95rem 1.35rem; font-size: 0.84rem; }
}

/* Small phones */
@media (max-width: 400px) {
  :root { --page-gutter: 0.85rem; }

  .hero-slide h1 { font-size: 1.75rem; }
  .page-hero { min-height: 290px; }
  .trust-num { font-size: 1.15rem; }
  .cr-nav-chip { padding: 0.45rem 0.8rem; font-size: 0.72rem; }

  .hero-actions .btn,
  .page-hero-actions .btn,
  .about-actions .btn,
  .faq-intro-actions .btn,
  .cr-item-actions .btn,
  .cta-actions .btn {
    padding: 0.6rem 0.7rem;
    font-size: 0.64rem;
    min-height: 38px;
  }
}

/* Large desktop polish */
@media (min-width: 1400px) {
  :root { --container: 1240px; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .hero-slide-img { transform: none !important; transition: none !important; }
  .hero-slide.is-active .hero-slide-content { animation: none; opacity: 1; transform: none; }
  .hero-slide.is-active .hero-glow { animation: none; }
}
