/* ==========================================================================
   Noor Quran Academy — Design System
   Luxury Islamic · Emerald / Gold / Cream · Vanilla CSS, no frameworks
   ========================================================================== */

:root {
  /* Color */
  --c-emerald-950: #071F17;
  --c-emerald-900: #0B3D2E;
  --c-emerald-800: #12563F;
  --c-emerald-700: #17694C;
  --c-emerald-600: #1E8360;
  --c-emerald-100: #DCEBE2;
  --c-emerald-050: #F1F7F3;

  --c-gold: #C9A227;
  --c-gold-light: #E7C766;
  --c-gold-pale: #F4E7BE;
  --c-gold-dark: #9C7C1B;

  --c-cream: #FBF7EE;
  --c-cream-dark: #F3ECDA;
  --c-white: #FFFFFF;

  --c-ink: #0E1D17;
  --c-ink-soft: #4B5C54;
  --c-ink-faint: #7C8B84;

  --c-border: rgba(11, 61, 46, 0.12);
  --c-border-gold: rgba(201, 162, 39, 0.35);

  --c-success: #1E8360;
  --c-error: #B23A3A;

  /* Surfaces */
  --bg-page: var(--c-cream);
  --bg-dark: var(--c-emerald-900);

  /* Typography */
  --font-display: 'Marcellus', 'Cormorant Garamond', 'Amiri', serif;
  --font-display-it: 'Cormorant Garamond', 'Amiri', serif;
  --font-body: 'Urbanist', 'Cairo', sans-serif;

  html[dir="rtl"] & { --font-display: 'Amiri', serif; }

  /* Layout */
  --container-w: 1200px;
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-full: 999px;

  /* Shadow */
  --shadow-sm: 0 2px 10px rgba(11, 31, 23, 0.06);
  --shadow-md: 0 12px 32px rgba(11, 31, 23, 0.10);
  --shadow-lg: 0 24px 60px rgba(11, 31, 23, 0.16);
  --shadow-gold: 0 10px 30px rgba(201, 162, 39, 0.28);

  /* Motion */
  --ease: cubic-bezier(.4, 0, .2, 1);
  --ease-out-back: cubic-bezier(.34, 1.56, .64, 1);
  --dur-fast: .2s;
  --dur-med: .45s;
  --dur-slow: .8s;
}

/* ==========================================================================
   Reset
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }
input, textarea, select { font: inherit; color: inherit; }

body {
  font-family: var(--font-body);
  background: var(--bg-page);
  color: var(--c-ink);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

html[dir="rtl"] body { font-family: 'Cairo', var(--font-body); }
html[dir="rtl"] .brand__name,
html[dir="rtl"] h1, html[dir="rtl"] h2, html[dir="rtl"] h3,
html[dir="rtl"] .hero__title, html[dir="rtl"] .section-title,
html[dir="rtl"] .freetrial__title { font-family: 'Amiri', serif; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  color: var(--c-emerald-900);
  letter-spacing: -0.01em;
}

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 999;
  background: var(--c-gold); color: var(--c-emerald-900); padding: 12px 20px;
}
.skip-link:focus { left: 12px; top: 12px; }

.container {
  max-width: var(--container-w);
  margin-inline: auto;
  padding-inline: 24px;
}

section { position: relative; }

/* ==========================================================================
   Decorative Islamic pattern texture (used as background accents)
   ========================================================================== */
.pattern-dots {
  background-image: radial-gradient(var(--c-gold) .8px, transparent .8px);
  background-size: 18px 18px;
  opacity: .18;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 30px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 15.5px;
  letter-spacing: .01em;
  transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
  white-space: nowrap;
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.btn:active { transform: scale(.97); }

.btn--gold {
  background: linear-gradient(135deg, var(--c-gold-light), var(--c-gold) 55%, var(--c-gold-dark));
  color: var(--c-emerald-950);
  box-shadow: var(--shadow-gold);
}
.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 16px 36px rgba(201, 162, 39, .38); }

.btn--emerald {
  background: var(--c-emerald-900);
  color: var(--c-cream);
  box-shadow: var(--shadow-md);
}
.btn--emerald:hover { background: var(--c-emerald-800); transform: translateY(-2px); }

.btn--outline {
  background: transparent;
  color: var(--c-emerald-900);
  border: 1.5px solid var(--c-emerald-900);
}
.btn--outline:hover { background: var(--c-emerald-900); color: var(--c-cream); }

.btn--outline-light {
  background: transparent;
  color: var(--c-cream);
  border: 1.5px solid rgba(251, 247, 238, .4);
}
.btn--outline-light:hover { background: rgba(251, 247, 238, .12); }

.btn--lg { padding: 18px 38px; font-size: 17px; }
.btn--sm { padding: 11px 22px; font-size: 14px; }
.btn--block { width: 100%; }

.btn--ripple::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle, rgba(255,255,255,.55) 0%, transparent 60%);
  opacity: 0; transform: scale(0);
  transition: transform .5s var(--ease), opacity .5s var(--ease);
}
.btn--ripple:active::after { opacity: 1; transform: scale(1.6); transition: 0s; }

/* ==========================================================================
   Top utility bar
   ========================================================================== */
.topbar {
  background: var(--c-emerald-950);
  color: var(--c-cream);
  font-size: 13px;
}
.topbar__inner {
  display: flex; align-items: center; justify-content: space-between;
  padding-block: 9px;
  gap: 16px;
}
.topbar__note { display: flex; align-items: center; gap: 8px; opacity: .9; }
.topbar__dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--c-gold-light);
  box-shadow: 0 0 0 3px rgba(231,199,102,.25);
  flex: none;
}
.topbar__right { display: flex; align-items: center; gap: 20px; }
.topbar__link { display: inline-flex; align-items: center; gap: 6px; opacity: .9; transition: opacity var(--dur-fast); }
.topbar__link:hover { opacity: 1; color: var(--c-gold-light); }
.lang-switch { display: flex; align-items: center; gap: 6px; font-weight: 600; }
.lang-switch__opt { opacity: .6; transition: opacity var(--dur-fast); padding: 2px 4px; }
.lang-switch__opt.is-active, .lang-switch__opt:hover { opacity: 1; color: var(--c-gold-light); }
.lang-switch__sep { opacity: .35; }

@media (max-width: 720px) {
  .topbar__note { display: none; }
  .topbar__inner { justify-content: flex-end; }
}

/* ==========================================================================
   Header / Nav
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251, 247, 238, .88);
  backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid var(--c-border);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; padding-block: 13px;
}

.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand__logo { flex: none; transition: transform var(--dur-med) var(--ease-out-back); }
.brand:hover .brand__logo { transform: rotate(-6deg) scale(1.05); }
.brand__type { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-family: var(--font-display); font-size: 24px; font-weight: 700; color: var(--c-emerald-900); }
.brand__sub { font-size: 10px; letter-spacing: .16em; color: var(--c-gold-dark); font-weight: 700; }
html[dir="rtl"] .brand__sub { letter-spacing: 0; font-size: 12px; }

.main-nav__list { display: flex; align-items: center; gap: 34px; }
.main-nav__list a {
  font-size: 15px; font-weight: 600; color: var(--c-ink-soft);
  position: relative; padding-block: 6px;
  transition: color var(--dur-fast);
}
.main-nav__list a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
  background: var(--c-gold);
  transform: scaleX(0); transform-origin: right;
  transition: transform var(--dur-med) var(--ease);
}
.main-nav__list a:hover { color: var(--c-emerald-900); }
.main-nav__list a:hover::after { transform: scaleX(1); transform-origin: left; }

.site-header__actions { display: flex; align-items: center; gap: 14px; }

.nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 42px; height: 42px; border-radius: var(--radius-sm);
}
.nav-toggle span {
  display: block; width: 20px; height: 2px; margin-inline: auto;
  background: var(--c-emerald-900); transition: transform var(--dur-fast), opacity var(--dur-fast);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  position: fixed; top: 0; z-index: 200;
  inset-inline-end: 0;
  width: min(340px, 84vw); height: 100vh;
  background: var(--c-emerald-950);
  padding: 100px 30px 30px;
  transform: translateX(100%);
  transition: transform var(--dur-med) var(--ease);
  display: flex; flex-direction: column; gap: 26px;
}
html[dir="rtl"] .mobile-nav { transform: translateX(-100%); }
.mobile-nav.is-open { transform: translateX(0); }
.mobile-nav__list { display: flex; flex-direction: column; gap: 22px; }
.mobile-nav__list a { color: var(--c-cream); font-size: 19px; font-weight: 600; }
.mobile-nav__backdrop {
  position: fixed; inset: 0; z-index: 199;
  background: rgba(7, 31, 23, .55);
  opacity: 0; pointer-events: none;
  transition: opacity var(--dur-med);
}
.mobile-nav__backdrop.is-open { opacity: 1; pointer-events: auto; }

@media (max-width: 980px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .site-header__actions .btn--gold { display: none; }
}
@media (min-width: 981px) {
  .mobile-nav, .mobile-nav__backdrop { display: none; }
}

/* ==========================================================================
   Section heading utility
   ========================================================================== */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  color: var(--c-gold-dark);
  background: var(--c-gold-pale);
  padding: 7px 16px; border-radius: var(--radius-full);
  margin-bottom: 18px;
}
html[dir="rtl"] .eyebrow { letter-spacing: 0; }
.eyebrow::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--c-gold-dark);
}

.section-head { max-width: 680px; margin-bottom: 56px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-title { font-size: clamp(30px, 4vw, 44px); margin-bottom: 14px; }
.section-subtitle { font-size: 17px; color: var(--c-ink-soft); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  background: radial-gradient(ellipse at top right, var(--c-emerald-800) 0%, var(--c-emerald-950) 62%);
  color: var(--c-cream);
  padding-top: 76px;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 8% 20%, rgba(201,162,39,.16), transparent 40%),
    radial-gradient(circle at 92% 82%, rgba(201,162,39,.12), transparent 45%);
  pointer-events: none;
}
.hero__arch {
  position: absolute; inset-inline-end: -10%; top: -12%;
  width: 620px; height: 620px;
  border: 1px solid rgba(231,199,102,.18);
  border-radius: 50%;
  pointer-events: none;
}
.hero__arch::before, .hero__arch::after {
  content: ''; position: absolute; inset: 60px;
  border: 1px solid rgba(231,199,102,.14); border-radius: 50%;
}
.hero__arch::after { inset: 120px; border-style: dashed; }
.hero__arch-art {
  position: absolute; inset: 140px;
  width: calc(100% - 280px); height: calc(100% - 280px);
  opacity: .8;
  animation: heroArtFloat 7s ease-in-out infinite;
}
@keyframes heroArtFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.hero__grid {
  position: relative; z-index: 1;
  max-width: 760px; margin-inline: auto;
  text-align: center;
  padding-block: 90px 100px;
}

.hero__badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(251,247,238,.08);
  border: 1px solid rgba(231,199,102,.3);
  padding: 9px 18px; border-radius: var(--radius-full);
  font-size: 13.5px; font-weight: 600; color: var(--c-gold-light);
  margin-bottom: 26px;
  animation: fadeUp .7s var(--ease) both;
}
.hero__badge svg { flex: none; }

.hero__title {
  font-size: clamp(38px, 5.4vw, 62px);
  line-height: 1.08;
  margin-bottom: 24px;
  animation: fadeUp .8s .05s var(--ease) both;
}
.hero__title span.line { display: block; color: var(--c-cream); }
.hero__title .is-gold {
  color: var(--c-gold-light);
  font-style: italic;
  font-family: var(--font-display-it);
}

.hero__subtitle {
  font-size: 18px; color: rgba(251,247,238,.78);
  max-width: 560px; margin-inline: auto; margin-bottom: 36px;
  animation: fadeUp .8s .12s var(--ease) both;
}

.hero__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-bottom: 52px; animation: fadeUp .8s .18s var(--ease) both; }
.hero__cta-secondary { display: inline-flex; align-items: center; gap: 12px; color: var(--c-cream); font-weight: 700; }
.hero__play {
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(251,247,238,.12); border: 1px solid rgba(251,247,238,.3);
  display: inline-flex; align-items: center; justify-content: center;
  transition: background var(--dur-fast);
}
.hero__cta-secondary:hover .hero__play { background: var(--c-gold); }

.hero__stats { display: flex; justify-content: center; gap: 42px; animation: fadeUp .8s .24s var(--ease) both; }
.hero__stat-num { font-family: var(--font-display); font-size: 30px; color: var(--c-gold-light); }
.hero__stat-label { font-size: 13px; color: rgba(251,247,238,.65); }

/* Wizard card — the white rounded card holding a .wizard (quiz.html, and
   reusable anywhere a multi-step or single form needs the same chrome) */
.wizard-card {
  background: var(--c-cream);
  border-radius: var(--radius-lg);
  padding: 34px 32px;
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 1;
  max-width: 480px;
  margin-inline: auto;
}
.wizard-card::before {
  content: '';
  position: absolute; inset: -12px;
  border: 1px solid rgba(231,199,102,.5);
  border-radius: calc(var(--radius-lg) + 12px);
  pointer-events: none;
  z-index: -1;
}
.wizard-card__title { font-size: 26px; margin-bottom: 6px; text-align: center; }
.wizard-card__subtitle { color: var(--c-ink-soft); font-size: 14.5px; margin-bottom: 26px; text-align: center; }
.wizard-note { font-size: 12.5px; color: var(--c-ink-faint); text-align: center; line-height: 1.6; }

.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; font-weight: 700; color: var(--c-emerald-900); margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--c-border);
  border-radius: var(--radius-sm);
  background: var(--c-white);
  color: var(--c-ink);
  font-size: 15px;
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--c-gold);
  box-shadow: 0 0 0 4px rgba(201,162,39,.14);
}
.field textarea { resize: vertical; min-height: 110px; }
.field-error { color: var(--c-error); font-size: 12.5px; margin-top: 5px; display: none; }
.field.has-error input, .field.has-error select { border-color: var(--c-error); }
.field.has-error .field-error { display: block; }

/* ==========================================================================
   Multi-step wizard (trial signup: student info -> how it works -> card)
   ========================================================================== */
.wizard__progress { display: flex; justify-content: center; align-items: center; gap: 10px; margin-bottom: 26px; }
.wizard__dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--c-border);
  transition: background var(--dur-fast), transform var(--dur-fast);
}
.wizard__dot.is-active { background: var(--c-gold); transform: scale(1.4); }
.wizard__dot.is-done { background: var(--c-emerald-700); }

.wizard__step { display: none; }
.wizard__step.is-active { display: block; animation: fadeUp .4s var(--ease) both; }

.wizard__step-title { font-size: 18px; margin-bottom: 4px; }
.wizard__step-subtitle { font-size: 13.5px; color: var(--c-ink-soft); margin-bottom: 18px; }

.wizard__info { display: flex; flex-direction: column; gap: 10px; margin-bottom: 22px; }
.wizard__info-item {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 13.5px; color: var(--c-ink-soft); line-height: 1.5;
  background: var(--c-emerald-050);
  padding: 12px 14px; border-radius: var(--radius-sm);
}
.wizard__info-item svg { color: var(--c-emerald-700); flex: none; margin-top: 2px; }

.wizard__actions { display: flex; gap: 12px; margin-top: 4px; }
.wizard__actions .btn { flex: 1; }

/* Quiz choice cards — large selectable options instead of a <select> */
.choice-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 8px; }
.choice-grid--single { grid-template-columns: 1fr; }
.choice-grid--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 420px) { .choice-grid--3 { grid-template-columns: 1fr; } }
.choice-card {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 18px 14px; text-align: center;
  border: 1.5px solid var(--c-border);
  border-radius: var(--radius-sm);
  background: var(--c-white);
  font-weight: 700; font-size: 14.5px; color: var(--c-emerald-900);
  transition: border-color var(--dur-fast), background var(--dur-fast), transform var(--dur-fast);
}
.choice-card:hover { border-color: var(--c-border-gold); transform: translateY(-2px); }
.choice-card.is-selected {
  border-color: var(--c-gold); background: var(--c-gold-pale);
  box-shadow: 0 0 0 3px rgba(201,162,39,.16);
}
.choice-card__check {
  width: 18px; height: 18px; border-radius: 50%; flex: none;
  border: 1.5px solid var(--c-border);
  display: flex; align-items: center; justify-content: center;
  color: transparent; transition: border-color var(--dur-fast), background var(--dur-fast);
}
.choice-card.is-selected .choice-card__check { background: var(--c-gold); border-color: var(--c-gold); color: var(--c-emerald-950); }

/* Quiz transition / plan-ready screen */
.wizard__transition { text-align: center; padding-block: 24px; }
.wizard__transition-icon {
  width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 22px;
  background: var(--c-emerald-050); color: var(--c-emerald-700);
  display: flex; align-items: center; justify-content: center;
}
.wizard__transition-title { font-size: 24px; margin-bottom: 10px; }
.wizard__transition-text { font-size: 14.5px; color: var(--c-ink-soft); margin-bottom: 26px; }

/* Plan-confirmation step reuses .price-card, scaled down for the wizard column */
.wizard__plans { display: flex; flex-direction: column; gap: 14px; margin-bottom: 22px; }
.wizard__plans .price-card { padding: 22px 20px; }
.wizard__plans .price-card__features { display: none; }
.wizard__plans .price-card.is-selected { border-color: var(--c-gold); box-shadow: 0 0 0 3px rgba(201,162,39,.16); }

.form-status { font-size: 14px; margin-top: 14px; text-align: center; display: none; padding: 10px; border-radius: var(--radius-sm); }
.form-status.is-success { display: block; background: var(--c-emerald-050); color: var(--c-success); }
.form-status.is-error { display: block; background: #FBEAEA; color: var(--c-error); }

@media (max-width: 980px) {
  .hero__grid { padding-block: 50px 60px; }
  .hero__arch { display: none; }
}

/* ==========================================================================
   Trust marquee (logo/label strip)
   ========================================================================== */
.marquee {
  background: var(--c-emerald-900);
  overflow: hidden;
  padding-block: 18px;
}
.marquee__track {
  display: flex; gap: 56px; width: max-content;
  animation: marquee 28s linear infinite;
}
.marquee__item {
  display: flex; align-items: center; gap: 10px;
  color: var(--c-gold-pale); font-weight: 700; font-size: 14.5px; white-space: nowrap;
}
.marquee__item svg { flex: none; color: var(--c-gold); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
html[dir="rtl"] .marquee__track { animation-name: marquee-rtl; }
@keyframes marquee-rtl { from { transform: translateX(0); } to { transform: translateX(50%); } }

/* ==========================================================================
   Trust blocks grid
   ========================================================================== */
.trust { padding-block: 100px; background: var(--bg-page); }
.trust__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.trust-card {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  padding: 30px 26px;
  transition: transform var(--dur-med) var(--ease), box-shadow var(--dur-med) var(--ease), border-color var(--dur-med);
}
.trust-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--c-border-gold); }
.trust-card__icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--c-emerald-050);
  display: flex; align-items: center; justify-content: center;
  color: var(--c-emerald-800);
  margin-bottom: 18px;
}
.trust-card__title { font-size: 18px; margin-bottom: 8px; }
.trust-card__text { font-size: 14.5px; color: var(--c-ink-soft); }

@media (max-width: 980px) { .trust__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .trust__grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   Courses
   ========================================================================== */
.courses { padding-block: 100px; background: var(--c-emerald-050); }
.courses__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.course-card {
  background: var(--c-white);
  border-radius: var(--radius-md);
  padding: 32px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur-med) var(--ease), box-shadow var(--dur-med) var(--ease);
  display: flex; flex-direction: column;
}
.course-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.course-card__icon {
  width: 58px; height: 58px; border-radius: 50%;
  background: linear-gradient(135deg, var(--c-emerald-800), var(--c-emerald-900));
  color: var(--c-gold-light);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
}
.course-card__title { font-size: 19px; margin-bottom: 10px; }
.course-card__text { font-size: 14.5px; color: var(--c-ink-soft); margin-bottom: 20px; flex: 1; }
.course-card__link { font-size: 13.5px; font-weight: 700; color: var(--c-emerald-800); display: inline-flex; align-items: center; gap: 6px; }
.course-card__link svg { transition: transform var(--dur-fast); }
html[dir="rtl"] .course-card__link svg { transform: scaleX(-1); }
.course-card:hover .course-card__link svg { transform: translateX(4px); }
html[dir="rtl"] .course-card:hover .course-card__link svg { transform: scaleX(-1) translateX(4px); }

@media (max-width: 980px) { .courses__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .courses__grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   Teachers
   ========================================================================== */
.teachers { padding-block: 100px; }
.teachers__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.teacher-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--c-white);
  border: 1px solid var(--c-border);
  transition: transform var(--dur-med) var(--ease), box-shadow var(--dur-med) var(--ease);
}
.teacher-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.teacher-card__avatar {
  aspect-ratio: 1 / 1;
  background: linear-gradient(150deg, var(--c-emerald-700), var(--c-emerald-950));
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.teacher-card__avatar svg { width: 44%; height: 44%; color: rgba(251,247,238,.9); }
.teacher-card__avatar--f { background: linear-gradient(150deg, var(--c-gold-dark), var(--c-emerald-950)); }
.teacher-card__badge {
  position: absolute; bottom: 12px; inset-inline-start: 12px;
  background: var(--c-gold); color: var(--c-emerald-950);
  font-size: 11px; font-weight: 800; padding: 5px 12px; border-radius: var(--radius-full);
}
.teacher-card__body { padding: 20px; }
.teacher-card__name { font-size: 17px; margin-bottom: 4px; }
.teacher-card__role { font-size: 13.5px; color: var(--c-ink-soft); }

@media (max-width: 980px) { .teachers__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .teachers__grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   Free trial spotlight
   ========================================================================== */
.freetrial {
  padding-block: 110px;
  background: var(--c-emerald-950);
  color: var(--c-cream);
  position: relative;
  overflow: hidden;
}
.freetrial::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 15% 30%, rgba(201,162,39,.14), transparent 40%), radial-gradient(circle at 85% 70%, rgba(201,162,39,.1), transparent 45%);
}
.freetrial__inner { position: relative; z-index: 1; text-align: center; max-width: 780px; margin-inline: auto; }
.freetrial__title { font-size: clamp(30px, 4.6vw, 50px); white-space: pre-line; margin-bottom: 20px; color: var(--c-cream); }
.freetrial__text { font-size: 17.5px; color: rgba(251,247,238,.78); margin-bottom: 34px; }
.freetrial__points { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; margin-bottom: 40px; }
.freetrial__point { display: inline-flex; align-items: center; gap: 10px; font-size: 14.5px; font-weight: 600; color: var(--c-gold-pale); }
.freetrial__point svg { flex: none; color: var(--c-gold); }
.freetrial__note { margin-top: 18px; font-size: 13px; color: rgba(251,247,238,.55); }

/* ==========================================================================
   How it works
   ========================================================================== */
.how { padding-block: 100px; }
.how__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; counter-reset: step; position: relative; }
.how__grid::before {
  content: ''; position: absolute; top: 34px; left: 12%; right: 12%; height: 1px;
  background: repeating-linear-gradient(90deg, var(--c-border-gold) 0 10px, transparent 10px 20px);
  display: none;
}
@media (min-width: 981px) { .how__grid::before { display: block; } }
.how-step { text-align: center; position: relative; }
.how-step__num {
  counter-increment: step;
  width: 68px; height: 68px; border-radius: 50%;
  background: var(--c-white); border: 1.5px solid var(--c-border-gold);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 22px; position: relative; z-index: 1;
  font-family: var(--font-display); font-size: 24px; color: var(--c-gold-dark);
  box-shadow: var(--shadow-sm);
}
.how-step__title { font-size: 18px; margin-bottom: 8px; }
.how-step__text { font-size: 14.5px; color: var(--c-ink-soft); max-width: 240px; margin-inline: auto; }

@media (max-width: 980px) { .how__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .how__grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   Membership benefit cards ("What Is Included In Your Membership?")
   ========================================================================== */
.membership { padding-block: 100px; }
.membership__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.membership-card {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  padding: 26px 20px;
  text-align: center;
  transition: transform var(--dur-med) var(--ease), box-shadow var(--dur-med) var(--ease);
}
.membership-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.membership-card__icon {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--c-emerald-050); color: var(--c-emerald-700);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
}
.membership-card__title { font-size: 14.5px; font-weight: 700; color: var(--c-emerald-900); line-height: 1.35; }

@media (max-width: 1100px) { .membership__grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px) { .membership__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .membership__grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   After-payment timeline ("What Happens After Your Payment?")
   ========================================================================== */
.after-payment { padding-block: 100px; background: var(--c-emerald-050); }
.timeline { max-width: 640px; margin-inline: auto; position: relative; }
.timeline::before {
  content: ''; position: absolute; top: 8px; bottom: 8px;
  inset-inline-start: 23px; width: 2px;
  background: repeating-linear-gradient(180deg, var(--c-border-gold) 0 8px, transparent 8px 16px);
}
.timeline__item { display: flex; gap: 22px; position: relative; padding-bottom: 34px; }
.timeline__item:last-child { padding-bottom: 0; }
.timeline__num {
  flex: none; width: 48px; height: 48px; border-radius: 50%;
  background: var(--c-white); border: 1.5px solid var(--c-border-gold);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 19px; color: var(--c-gold-dark);
  box-shadow: var(--shadow-sm); position: relative; z-index: 1;
}
.timeline__body { padding-top: 10px; }
.timeline__title { font-size: 16.5px; margin-bottom: 3px; }
.timeline__text { font-size: 13.5px; color: var(--c-ink-soft); }

/* ==========================================================================
   Pricing
   ========================================================================== */
.pricing { padding-block: 100px; background: var(--c-emerald-050); }
.pricing__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; align-items: stretch; }
.price-card {
  background: var(--c-white);
  border-radius: var(--radius-lg);
  padding: 38px 32px;
  border: 1.5px solid var(--c-border);
  display: flex; flex-direction: column;
  transition: transform var(--dur-med) var(--ease), box-shadow var(--dur-med) var(--ease);
  position: relative;
}
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.price-card--featured {
  background: linear-gradient(165deg, var(--c-emerald-800), var(--c-emerald-950));
  color: var(--c-cream);
  border-color: transparent;
  transform: scale(1.04);
  box-shadow: var(--shadow-lg);
}
.price-card--featured:hover { transform: scale(1.04) translateY(-6px); }
.price-card--featured .price-card__desc { color: rgba(251,247,238,.7); }
.price-card--featured .price-card__feature { color: rgba(251,247,238,.9); }
.price-card--featured .price-card__feature svg { color: var(--c-gold-light); }

.price-card__badge {
  position: absolute; top: -14px; inset-inline-start: 50%; transform: translateX(-50%);
  background: var(--c-gold); color: var(--c-emerald-950);
  font-size: 11.5px; font-weight: 800; padding: 6px 16px; border-radius: var(--radius-full);
  white-space: nowrap;
}
html[dir="rtl"] .price-card__badge { transform: translateX(50%); }

.price-card__name { font-size: 21px; margin-bottom: 6px; }
.price-card--featured .price-card__name { color: var(--c-cream); }
.price-card__desc { font-size: 14px; color: var(--c-ink-soft); margin-bottom: 22px; }
.price-card__price { display: flex; align-items: baseline; gap: 8px; margin-bottom: 4px; }
.price-card__amount { font-family: var(--font-display); font-size: 44px; color: var(--c-emerald-900); }
.price-card--featured .price-card__amount { color: var(--c-gold-light); }
.price-card__currency { font-size: 15px; font-weight: 700; }
.price-card__per { font-size: 13.5px; color: var(--c-ink-faint); margin-bottom: 26px; }
.price-card--featured .price-card__per { color: rgba(251,247,238,.6); }
.price-card__features { display: flex; flex-direction: column; gap: 13px; margin-bottom: 28px; flex: 1; }
.price-card__feature { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.price-card__feature svg { flex: none; color: var(--c-emerald-700); }

@media (max-width: 980px) {
  .pricing__grid { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; }
  .price-card--featured { transform: none; }
  .price-card--featured:hover { transform: translateY(-6px); }
}

/* ==========================================================================
   Testimonials
   ========================================================================== */
.testimonials { padding-block: 100px; }
.testimonials__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial-card {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  padding: 30px 28px;
  position: relative;
}
.testimonial-card__quote { color: var(--c-gold); margin-bottom: 14px; }
.testimonial-card__text { font-size: 15px; color: var(--c-ink-soft); margin-bottom: 22px; font-style: italic; }
.testimonial-card__author { display: flex; align-items: center; gap: 12px; }
.testimonial-card__avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--c-emerald-800); color: var(--c-gold-light);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 16px;
}
.testimonial-card__name { font-size: 14.5px; font-weight: 700; color: var(--c-emerald-900); }
.testimonial-card__loc { font-size: 12.5px; color: var(--c-ink-faint); }

@media (max-width: 980px) { .testimonials__grid { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; } }

/* ==========================================================================
   CTA banner
   ========================================================================== */
.cta-banner {
  background: linear-gradient(135deg, var(--c-emerald-900), var(--c-emerald-950));
  padding-block: 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner__pattern {
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 20% 50%, rgba(201,162,39,.14), transparent 35%), radial-gradient(circle at 80% 30%, rgba(201,162,39,.12), transparent 40%);
}
.cta-banner__inner { position: relative; z-index: 1; }
.cta-banner__title { color: var(--c-cream); font-size: clamp(26px, 3.6vw, 38px); max-width: 700px; margin: 0 auto 14px; }
.cta-banner__text { color: rgba(251,247,238,.75); max-width: 560px; margin: 0 auto 30px; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq { padding-block: 100px; }
.faq__list { max-width: 820px; margin-inline: auto; display: flex; flex-direction: column; gap: 14px; }
.faq-item {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.faq-item__q {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px; text-align: start;
  font-weight: 700; font-size: 15.5px; color: var(--c-emerald-900);
}
.faq-item__icon {
  flex: none; width: 26px; height: 26px; border-radius: 50%;
  background: var(--c-emerald-050); color: var(--c-emerald-800);
  display: flex; align-items: center; justify-content: center;
  transition: transform var(--dur-med) var(--ease), background var(--dur-med);
  margin-inline-start: 16px;
}
.faq-item.is-open .faq-item__icon { transform: rotate(45deg); background: var(--c-gold); color: var(--c-emerald-950); }
.faq-item__a {
  max-height: 0; overflow: hidden;
  transition: max-height var(--dur-med) var(--ease);
}
.faq-item__a-inner { padding: 0 24px 22px; color: var(--c-ink-soft); font-size: 14.5px; line-height: 1.7; }
.faq__more { text-align: center; margin-top: 44px; }
.faq__more p { margin-bottom: 14px; color: var(--c-ink-soft); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--c-emerald-950); color: rgba(251,247,238,.8); padding-top: 76px; }
.site-footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 56px; }
.footer-col__title { color: var(--c-cream); font-size: 16px; margin-bottom: 20px; font-family: var(--font-display); }
.footer-col__text { font-size: 14px; line-height: 1.75; margin-block: 18px 20px; max-width: 320px; }
.footer-col__list { display: flex; flex-direction: column; gap: 12px; font-size: 14.5px; }
.footer-col__list a:hover { color: var(--c-gold-light); }
.footer-col__list--contact li { display: flex; align-items: center; gap: 10px; }
.footer-col__list--contact svg { color: var(--c-gold); flex: none; }
.footer-col--contact .btn { margin-top: 20px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(251,247,238,.08); border: 1px solid rgba(251,247,238,.15);
  display: flex; align-items: center; justify-content: center;
  transition: background var(--dur-fast), transform var(--dur-fast);
}
.footer-social a:hover { background: var(--c-gold); color: var(--c-emerald-950); transform: translateY(-3px); }
.brand--footer .brand__name { color: var(--c-cream); }

.site-footer__bottom { border-top: 1px solid rgba(251,247,238,.12); padding-block: 22px; }
.site-footer__bottom-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 13px; }

@media (max-width: 980px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .site-footer__grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   Floating WhatsApp
   ========================================================================== */
.whatsapp-float {
  position: fixed; bottom: 26px; inset-inline-end: 26px; z-index: 90;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 26px rgba(37,211,102,.4);
  animation: pulseFloat 2.4s ease-in-out infinite;
}
@keyframes pulseFloat { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.07); } }

/* ==========================================================================
   Generic page hero (about/contact/courses/faq)
   ========================================================================== */
.page-hero {
  background: radial-gradient(ellipse at top right, var(--c-emerald-800), var(--c-emerald-950) 65%);
  color: var(--c-cream);
  padding-block: 90px 76px;
  text-align: center;
}
.page-hero__title { color: var(--c-cream); font-size: clamp(32px, 5vw, 48px); margin-bottom: 16px; }
.page-hero__text { max-width: 620px; margin-inline: auto; color: rgba(251,247,238,.78); font-size: 17px; }
.breadcrumb { display: flex; justify-content: center; gap: 8px; font-size: 13.5px; color: rgba(251,247,238,.6); margin-bottom: 20px; }
.breadcrumb a:hover { color: var(--c-gold-light); }

/* ==========================================================================
   Generic content section (about/contact)
   ========================================================================== */
.content-section { padding-block: 90px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split__art {
  aspect-ratio: 4/3.2; border-radius: var(--radius-lg);
  background: linear-gradient(150deg, var(--c-emerald-800), var(--c-emerald-950));
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.split__art svg { width: 42%; opacity: .9; }
.values-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 30px; }
.value-chip { display: flex; align-items: center; gap: 12px; background: var(--c-white); border: 1px solid var(--c-border); border-radius: var(--radius-sm); padding: 16px 18px; font-size: 14px; font-weight: 600; }
.value-chip svg { color: var(--c-gold-dark); flex: none; }

@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .values-grid { grid-template-columns: 1fr; } }

/* Contact page */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.contact-card { background: var(--c-white); border: 1px solid var(--c-border); border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow-sm); }
.contact-info-list { display: flex; flex-direction: column; gap: 22px; margin-top: 26px; }
.contact-info-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-info-item__icon { width: 46px; height: 46px; border-radius: 12px; background: var(--c-emerald-050); color: var(--c-emerald-800); display: flex; align-items: center; justify-content: center; flex: none; }
.contact-info-item__label { font-size: 12.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--c-ink-faint); margin-bottom: 3px; }
.contact-info-item__value { font-weight: 700; color: var(--c-emerald-900); }
.contact-map { margin-top: 30px; border-radius: var(--radius-md); overflow: hidden; aspect-ratio: 16/9; background: var(--c-emerald-050); display: flex; align-items: center; justify-content: center; color: var(--c-emerald-700); }

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

/* Courses page grid variant (more items) */
.courses-page__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 980px) { .courses-page__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .courses-page__grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   Payment flow pages
   ========================================================================== */
.pay-shell {
  min-height: 100vh;
  background: radial-gradient(ellipse at top, var(--c-emerald-900), var(--c-emerald-950) 70%);
  display: flex; align-items: center; justify-content: center;
  padding: 40px 20px;
}
.pay-card {
  width: 100%; max-width: 460px;
  background: var(--c-cream);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 40px 34px;
  position: relative;
}
.pay-card--wide { max-width: 620px; }
.pay-logo { display: flex; justify-content: center; margin-bottom: 22px; }
.pay-secure {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 12.5px; color: var(--c-ink-soft); margin-bottom: 26px;
}
.pay-secure svg { color: var(--c-emerald-700); }
.pay-title { text-align: center; font-size: 25px; margin-bottom: 8px; }
.pay-text { text-align: center; font-size: 14.5px; color: var(--c-ink-soft); margin-bottom: 28px; }

.order-summary {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  margin-bottom: 26px;
}
.order-summary__row { display: flex; justify-content: space-between; font-size: 14px; padding-block: 8px; }
.order-summary__row + .order-summary__row { border-top: 1px dashed var(--c-border); }
.order-summary__row--total { font-weight: 800; font-size: 17px; color: var(--c-emerald-900); }
.order-summary__label { color: var(--c-ink-soft); }

.card-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.card-brands { display: flex; gap: 10px; justify-content: center; margin-top: 18px; opacity: .85; }
.pay-disclaimer { font-size: 11.5px; color: var(--c-ink-faint); text-align: center; margin-top: 18px; line-height: 1.6; }

.otp-inputs { display: flex; gap: 10px; justify-content: center; margin-block: 8px 20px; direction: ltr; }
.otp-inputs input {
  width: 50px; height: 58px; text-align: center; font-size: 24px; font-weight: 700;
  border: 1.5px solid var(--c-border); border-radius: var(--radius-sm);
  background: var(--c-white);
}
.otp-inputs input:focus { outline: none; border-color: var(--c-gold); box-shadow: 0 0 0 4px rgba(201,162,39,.14); }
.otp-resend { text-align: center; font-size: 13.5px; color: var(--c-ink-soft); }
.otp-resend button { color: var(--c-emerald-800); font-weight: 700; text-decoration: underline; }
.otp-resend button:disabled { color: var(--c-ink-faint); text-decoration: none; cursor: not-allowed; }

.result-icon { width: 84px; height: 84px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 22px; }
.result-icon--success { background: var(--c-emerald-050); color: var(--c-success); }
.result-icon--fail { background: #FBEAEA; color: var(--c-error); }
.pay-ref { text-align: center; font-size: 13px; color: var(--c-ink-faint); margin-bottom: 26px; }
.pay-ref strong { color: var(--c-emerald-900); }
.pay-actions { display: flex; flex-direction: column; gap: 12px; }
.fail-reasons { background: var(--c-white); border: 1px solid var(--c-border); border-radius: var(--radius-md); padding: 18px 22px; margin-bottom: 26px; }
.fail-reasons__title { font-size: 13px; font-weight: 800; color: var(--c-emerald-900); margin-bottom: 10px; }
.fail-reasons li { font-size: 13.5px; color: var(--c-ink-soft); padding-block: 5px; display: flex; gap: 8px; }
.fail-reasons li::before { content: '•'; color: var(--c-error); }

.success-checklist { display: flex; flex-direction: column; gap: 10px; margin: 22px 0 18px; text-align: start; }
.success-checklist__item { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--c-ink-soft); font-weight: 600; }
.success-checklist__item svg { color: var(--c-success); flex: none; margin-top: 2px; }
.success-note { font-size: 12.5px; color: var(--c-ink-faint); text-align: center; line-height: 1.6; margin-bottom: 22px; }

/* ==========================================================================
   Animations
   ========================================================================== */
@keyframes fadeUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-stagger.is-visible > * { animation: fadeUp .6s var(--ease) both; }
.reveal-stagger.is-visible > *:nth-child(1) { animation-delay: .02s; }
.reveal-stagger.is-visible > *:nth-child(2) { animation-delay: .09s; }
.reveal-stagger.is-visible > *:nth-child(3) { animation-delay: .16s; }
.reveal-stagger.is-visible > *:nth-child(4) { animation-delay: .23s; }
.reveal-stagger.is-visible > *:nth-child(5) { animation-delay: .30s; }
.reveal-stagger.is-visible > *:nth-child(6) { animation-delay: .37s; }
.reveal-stagger.is-visible > *:nth-child(7) { animation-delay: .44s; }
.reveal-stagger.is-visible > *:nth-child(8) { animation-delay: .51s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ==========================================================================
   Loader for form submit states
   ========================================================================== */
.btn.is-loading { pointer-events: none; opacity: .75; }
.spinner {
  width: 16px; height: 16px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,.4); border-top-color: currentColor;
  animation: spin .7s linear infinite;
  display: none;
}
.btn.is-loading .spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ==========================================================================
   Responsive base
   ========================================================================== */
@media (max-width: 720px) {
  .hero__ctas { flex-direction: column; align-items: stretch; }
  .hero__stats { flex-wrap: wrap; gap: 26px; }
}
