/* =========================================
   XXI CENTURY ENGLISH
   Cobalt Academic Brand
   ========================================= */

:root {
  --slate:   #12233F;  /* Ink Navy */
  --teal:    #1E4FA3;  /* Cobalt */
  --teal-dark: #163D82; /* Cobalt hover */
  --azure:   #7FA3D1;  /* Pale Azure */
  --cream:   #FAF8F3;
  --charcoal: #1F2937;
  --gold:    #C9A84C;
  --white:   #ffffff;
  --gray-light: #e8e6e1;
  --gray-mid:   #9ca3af;

  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans:  'Inter', system-ui, sans-serif;

  --transition: 0.3s ease;
  --shadow-sm: 0 2px 8px rgba(31,41,55,0.08);
  --shadow-md: 0 8px 32px rgba(31,41,55,0.12);
  --shadow-lg: 0 20px 60px rgba(31,41,55,0.18);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  color: var(--charcoal);
  background: var(--cream);
  line-height: 1.6;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* ── Container ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.section-pad { padding: 100px 0; }

/* =========================================
   NAVIGATION
   ========================================= */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.25rem 0;
  transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
}
.nav.scrolled {
  background: rgba(250,248,243,0.97);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
  padding: 0.85rem 0;
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: flex;
  align-items: center;
}
.logo-mark {
  width: 148px;
  height: auto;
  flex-shrink: 0;
  display: block;
}
.logo-mark-bracket { stroke: var(--gold); }
.logo-mark-xxi {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 700;
  fill: var(--slate);
}
.logo-mark-wordmark {
  font-family: var(--font-sans);
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 2px;
  fill: var(--teal);
}

/* Larger variant (footer, page heroes) */
.logo--stacked .logo-mark { width: 190px; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}
.nav-links a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--slate);
  letter-spacing: 0.02em;
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--teal); }
.btn-nav {
  background: var(--slate);
  color: var(--white) !important;
  padding: 0.6rem 1.4rem;
  border-radius: 3px;
  font-size: 0.82rem !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase;
  transition: background var(--transition), transform var(--transition) !important;
}
.btn-nav:hover { background: var(--teal) !important; transform: translateY(-1px); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--slate);
  border-radius: 2px;
  transition: var(--transition);
}
.mobile-menu {
  display: none;
  position: fixed;
  top: 70px; left: 0; right: 0;
  background: var(--cream);
  border-top: 1px solid var(--gray-light);
  padding: 1.5rem 2rem;
  z-index: 99;
  flex-direction: column;
  gap: 1.25rem;
  box-shadow: var(--shadow-md);
}
.mobile-menu a {
  font-size: 1rem;
  font-weight: 500;
  color: var(--slate);
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--gray-light);
}
.mobile-menu.open { display: flex; }

/* =========================================
   HERO
   ========================================= */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--slate);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(30,79,163,0.22) 0%, transparent 55%),
    linear-gradient(135deg, #12233F 0%, #0d1830 45%, #060b16 100%);
}
.hero-content {
  position: relative;
  z-index: 3;
  max-width: 1200px;
  margin: 0 auto;
  padding: 8rem 2rem 6rem;
  max-width: 780px;
  padding-left: 8vw;
  animation: heroContentFadeIn 1s ease-out 0.2s both;
}
@keyframes heroContentFadeIn {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: labelReveal 0.8s ease-out 0.4s both;
}
@keyframes labelReveal {
  from { opacity: 0; transform: translateX(-20px); }
  to { opacity: 1; transform: translateX(0); }
}
.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.6rem, 5.5vw, 4.2rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: titleReveal 1s ease-out 0.5s both;
  text-shadow: 0 8px 32px rgba(31,41,55,0.3);
}
@keyframes titleReveal {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-sub {
  font-size: 1.08rem;
  color: rgba(255,255,255,0.8);
  max-width: 540px;
  line-height: 1.75;
  margin-bottom: 2.75rem;
  opacity: 0;
  animation: subtitleReveal 0.8s ease-out 0.65s both;
}
@keyframes subtitleReveal {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  opacity: 0;
  animation: actionsReveal 0.8s ease-out 0.8s both;
}
@keyframes actionsReveal {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── Buttons ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: linear-gradient(135deg, #1E4FA3 0%, #1B4690 100%);
  color: var(--white);
  padding: 0.9rem 2rem;
  border-radius: 4px;
  border: 1px solid rgba(30,79,163,0.4);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: all var(--transition);
  box-shadow: 0 8px 24px rgba(30,79,163,0.35), inset 0 1px 0 rgba(255,255,255,0.1);
  position: relative;
  overflow: hidden;
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.1) 0%, transparent 60%);
  pointer-events: none;
}
.btn-primary:hover {
  background: linear-gradient(135deg, #1B4690 0%, #123568 100%);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(30,79,163,0.45), inset 0 1px 0 rgba(255,255,255,0.15);
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: transparent;
  color: var(--white);
  padding: 0.9rem 2rem;
  border-radius: 4px;
  border: 1.5px solid rgba(255,255,255,0.5);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: all var(--transition);
  position: relative;
}
.btn-secondary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.08) 0%, transparent 60%);
  border-radius: 4px;
  pointer-events: none;
}
.btn-secondary:hover {
  border-color: rgba(255,255,255,0.9);
  background: rgba(255,255,255,0.12);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}
.btn-outline-light {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: rgba(255,255,255,0.85);
  padding: 0.75rem 1.6rem;
  border-radius: 3px;
  border: 1.5px solid rgba(255,255,255,0.3);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  transition: all var(--transition);
  margin-top: auto;
}
.btn-outline-light:hover {
  border-color: rgba(255,255,255,0.8);
  background: rgba(255,255,255,0.1);
  transform: translateY(-2px);
}
.btn-primary-dark {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--slate);
  color: var(--white);
  padding: 1rem 2.2rem;
  border-radius: 3px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: all var(--transition);
  box-shadow: 0 4px 16px rgba(31,41,55,0.25);
}
.btn-primary-dark:hover {
  background: var(--charcoal);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(31,41,55,0.35);
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.hero-scroll span {
  display: block;
  width: 1.5px;
  height: 56px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.5));
  animation: scrollPulse 1.8s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.1); }
}

/* =========================================
   STATS
   ========================================= */
.stats {
  background:
    linear-gradient(135deg, rgba(250,248,243,0.95) 0%, rgba(245,241,240,0.98) 50%, rgba(250,248,243,0.95) 100%),
    radial-gradient(ellipse at 20% 50%, rgba(30,79,163,0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 50%, rgba(201,168,76,0.06) 0%, transparent 50%);
  padding: 5rem 0;
  border-bottom: 1px solid rgba(232,230,225,0.6);
  position: relative;
  overflow: hidden;
}
.stats::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(0deg, transparent 24%, rgba(30,79,163,0.03) 25%, rgba(30,79,163,0.03) 26%, transparent 27%, transparent 74%, rgba(30,79,163,0.03) 75%, rgba(30,79,163,0.03) 76%, transparent 77%, transparent),
    linear-gradient(90deg, transparent 24%, rgba(30,79,163,0.03) 25%, rgba(30,79,163,0.03) 26%, transparent 27%, transparent 74%, rgba(30,79,163,0.03) 75%, rgba(30,79,163,0.03) 76%, transparent 77%, transparent);
  background-size: 60px 60px;
  pointer-events: none;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
  z-index: 1;
}
.stat {
  text-align: center;
  padding: 3rem 2rem;
  border-right: 1px solid rgba(232,230,225,0.4);
  transition: all var(--transition);
  background: rgba(255,255,255,0.4);
  backdrop-filter: blur(10px);
  position: relative;
}
.stat::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(30,79,163,0.05) 0%, transparent 80%);
  pointer-events: none;
}
.stat:last-child { border-right: none; }
.stat:hover {
  background: rgba(255,255,255,0.6);
  transform: translateY(-2px);
  box-shadow: inset 0 1px 3px rgba(30,79,163,0.1);
}
.stat-number {
  font-family: var(--font-serif);
  font-size: 3.2rem;
  font-weight: 700;
  color: var(--slate);
  line-height: 1;
  background: linear-gradient(135deg, #12233F 0%, #1E4FA3 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-plus {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--teal);
  margin-left: 0.3rem;
}
.stat-label {
  margin-top: 0.8rem;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #6b7280;
  position: relative;
  z-index: 2;
}

/* =========================================
   SECTION HEADERS
   ========================================= */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}
.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 1rem;
  display: block;
}
.section-label.light { color: rgba(30,79,163,0.9); }
.section-header h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--slate);
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}
.section-header h2.light { color: var(--white); }
.section-sub {
  font-size: 1rem;
  color: var(--gray-mid);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.7;
}

/* =========================================
   VALUE CARDS
   ========================================= */
.value {
  background:
    linear-gradient(135deg, #FAF8F3 0%, #f5f1e8 50%, #FAF8F3 100%),
    radial-gradient(ellipse at 80% 0%, rgba(30,79,163,0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 20% 100%, rgba(201,168,76,0.05) 0%, transparent 50%);
  position: relative;
}
.value-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.value-card {
  background:
    linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(250,248,243,0.8) 100%);
  padding: 2.5rem 2rem;
  border-radius: 6px;
  border: 1px solid rgba(232,230,225,0.6);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(31,41,55,0.06), inset 0 1px 0 rgba(255,255,255,0.5);
}
.value-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 100% 0%, rgba(30,79,163,0.1) 0%, transparent 70%);
  pointer-events: none;
}
.value-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(30,79,163,0.15), inset 0 1px 0 rgba(255,255,255,0.6);
  border-color: rgba(30,79,163,0.3);
  background: linear-gradient(135deg, rgba(255,255,255,0.98) 0%, rgba(250,248,243,0.92) 100%);
}
.value-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, rgba(30,79,163,0.12) 0%, rgba(30,79,163,0.06) 100%);
  border: 1px solid rgba(30,79,163,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--teal);
  transition: all var(--transition);
  box-shadow: 0 4px 12px rgba(30,79,163,0.1), inset 0 1px 0 rgba(255,255,255,0.3);
  position: relative;
  z-index: 2;
}
.value-card:hover .value-icon {
  background: linear-gradient(135deg, rgba(30,79,163,0.18) 0%, rgba(30,79,163,0.1) 100%);
  transform: scale(1.1);
  box-shadow: 0 8px 20px rgba(30,79,163,0.2), inset 0 1px 0 rgba(255,255,255,0.4);
}
.value-card h3 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--slate);
  margin-bottom: 0.75rem;
  position: relative;
  z-index: 2;
}
.value-card p {
  font-size: 0.9rem;
  color: #6b7280;
  line-height: 1.7;
  position: relative;
  z-index: 2;
}

/* =========================================
   PROGRAMS
   ========================================= */
.bg-dark {
  background:
    linear-gradient(135deg, #12233F 0%, #0d1830 50%, #060b16 100%),
    radial-gradient(ellipse at 20% 0%, rgba(30,79,163,0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 100%, rgba(22,61,130,0.1) 0%, transparent 50%);
  position: relative;
  overflow: hidden;
}
.bg-dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(0deg, transparent 24%, rgba(30,79,163,0.06) 25%, rgba(30,79,163,0.06) 26%, transparent 27%, transparent 74%, rgba(30,79,163,0.06) 75%, rgba(30,79,163,0.06) 76%, transparent 77%, transparent),
    linear-gradient(90deg, transparent 24%, rgba(30,79,163,0.06) 25%, rgba(30,79,163,0.06) 26%, transparent 27%, transparent 74%, rgba(30,79,163,0.06) 75%, rgba(30,79,163,0.06) 76%, transparent 77%, transparent);
  background-size: 80px 80px;
  pointer-events: none;
  z-index: 0;
}
.programs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.program-card {
  background:
    linear-gradient(135deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.03) 100%);
  border: 1px solid rgba(30,79,163,0.25);
  border-radius: 8px;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.1), inset 0 1px 0 rgba(255,255,255,0.1);
  backdrop-filter: blur(16px);
}
.program-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 100% 0%, rgba(30,79,163,0.1) 0%, transparent 60%);
  pointer-events: none;
}
.program-card:hover {
  background: linear-gradient(135deg, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0.05) 100%);
  border-color: rgba(30,79,163,0.5);
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.2), inset 0 1px 0 rgba(255,255,255,0.15);
}
.program-card.featured {
  background: linear-gradient(135deg, rgba(30,79,163,0.18) 0%, rgba(30,79,163,0.08) 100%);
  border-color: rgba(30,79,163,0.5);
  box-shadow: 0 8px 32px rgba(30,79,163,0.2), inset 0 1px 0 rgba(255,255,255,0.2);
}
.program-card.featured:hover {
  background: linear-gradient(135deg, rgba(30,79,163,0.22) 0%, rgba(30,79,163,0.12) 100%);
  box-shadow: 0 16px 48px rgba(30,79,163,0.3), inset 0 1px 0 rgba(255,255,255,0.25);
}
.program-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--teal);
  background: rgba(30,79,163,0.2);
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  align-self: flex-start;
  position: relative;
  z-index: 2;
  border: 1px solid rgba(30,79,163,0.3);
}
.program-card h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--white);
  font-weight: 600;
  position: relative;
  z-index: 2;
}
.program-card p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
  position: relative;
  z-index: 2;
}
.program-card ul {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  flex: 1;
  position: relative;
  z-index: 2;
}
.program-card ul li {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.8);
  padding-left: 1.2rem;
  position: relative;
}
.program-card ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--teal);
}

/* =========================================
   TESTIMONIALS PLACEHOLDER
   ========================================= */
.testimonials-teaser {
  background:
    linear-gradient(135deg, rgba(255,255,255,0.98) 0%, rgba(250,248,243,0.95) 100%),
    radial-gradient(ellipse at 50% 0%, rgba(30,79,163,0.06) 0%, transparent 60%);
  position: relative;
}
.testimonial-placeholder { text-align: center; }
.placeholder-cards {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}
.placeholder-card {
  background:
    linear-gradient(135deg, rgba(245,241,240,0.6) 0%, rgba(250,248,243,0.4) 100%);
  border: 1px solid rgba(232,230,225,0.5);
  border-radius: 6px;
  padding: 1.75rem;
  width: 260px;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  opacity: 0.65;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.04);
  transition: all var(--transition);
}
.placeholder-card:hover {
  opacity: 0.8;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}
.placeholder-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gray-light);
  flex-shrink: 0;
}
.placeholder-text { flex: 1; }
.placeholder-line {
  height: 10px;
  background: var(--gray-light);
  border-radius: 5px;
  margin-bottom: 8px;
}
.placeholder-line.long { width: 100%; }
.placeholder-line.short { width: 65%; }
.placeholder-score {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--teal);
  letter-spacing: 0.08em;
  margin-top: 0.5rem;
}
.placeholder-note {
  font-size: 0.85rem;
  color: var(--gray-mid);
  font-style: italic;
}

/* =========================================
   CTA
   ========================================= */
.bg-teal {
  background:
    linear-gradient(135deg, #1E4FA3 0%, #1B4690 50%, #163D82 100%),
    radial-gradient(ellipse at 20% 50%, rgba(30,79,163,0.2) 0%, transparent 50%);
  position: relative;
  overflow: hidden;
}
.bg-teal::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(0deg, transparent 24%, rgba(255,255,255,0.05) 25%, rgba(255,255,255,0.05) 26%, transparent 27%, transparent 74%, rgba(255,255,255,0.05) 75%, rgba(255,255,255,0.05) 76%, transparent 77%, transparent);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}
.cta {
  text-align: center;
  position: relative;
  z-index: 1;
}
.cta-content h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: var(--white);
  margin-bottom: 1rem;
  font-weight: 700;
  text-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.cta-content p {
  color: rgba(255,255,255,0.9);
  font-size: 1.05rem;
  max-width: 480px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
  text-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* =========================================
   FOOTER
   ========================================= */
.footer {
  background:
    linear-gradient(135deg, #1F2937 0%, #0f1419 100%),
    radial-gradient(ellipse at 20% 0%, rgba(30,79,163,0.1) 0%, transparent 50%);
  color: rgba(255,255,255,0.65);
  padding: 5rem 0 2rem;
  position: relative;
  overflow: hidden;
}
.footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(0deg, transparent 24%, rgba(30,79,163,0.03) 25%, rgba(30,79,163,0.03) 26%, transparent 27%, transparent 74%, rgba(30,79,163,0.03) 75%, rgba(30,79,163,0.03) 76%, transparent 77%, transparent);
  background-size: 80px 80px;
  pointer-events: none;
  z-index: 0;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}
.footer-brand .logo-mark-xxi { fill: var(--azure); }
.footer-brand .logo-mark-wordmark { fill: rgba(255,255,255,0.6); }
.footer-brand p {
  margin-top: 1rem;
  font-size: 0.875rem;
  line-height: 1.7;
  max-width: 280px;
}
.footer-links, .footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.footer-links h4, .footer-contact h4 {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 0.5rem;
}
.footer-links a, .footer-contact a {
  font-size: 0.875rem;
  transition: color var(--transition);
}
.footer-links a:hover, .footer-contact a:hover { color: var(--teal); }
.footer-location {
  font-size: 0.8rem;
  margin-top: 0.5rem;
  color: rgba(255,255,255,0.4);
}
.footer-bottom {
  text-align: center;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.3);
  position: relative;
  z-index: 1;
}

/* =========================================
   HERO CANVAS
   ========================================= */
/* =========================================
   THE MARKED PAGE (hero background theme)
   ========================================= */
.marked-page {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}
.ruled-lines {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    to bottom,
    transparent,
    transparent 47px,
    rgba(127,163,209,0.08) 48px
  );
}
.quote-mark {
  position: absolute;
  top: -14vh;
  left: -3vw;
  font-family: var(--font-serif);
  font-size: 62vh;
  line-height: 1;
  color: rgba(127,163,209,0.07);
  font-weight: 700;
  user-select: none;
}
.proof-mark {
  position: absolute;
  font-family: var(--font-serif);
  color: rgba(201,168,76,0.22);
  font-weight: 600;
}
.proof-caret {
  top: 22%;
  right: 18%;
  font-size: 2.2rem;
}
.proof-pilcrow {
  bottom: 16%;
  left: 12%;
  font-size: 2.6rem;
}
.proof-underline {
  top: 62%;
  right: 30%;
  width: 70px;
  height: 3px;
  background: rgba(201,168,76,0.25);
  border-radius: 2px;
}

/* ── Ruler Reveal ── */
.marked-page--bright {
  clip-path: inset(0 0 calc(100% - var(--hero-ry, 42%)) 0);
  transition: clip-path 0.08s linear;
}
.hero.ruler-reset .marked-page--bright {
  transition: clip-path 0.5s ease;
}
.marked-page--bright .ruled-lines {
  background-image: repeating-linear-gradient(
    to bottom,
    transparent,
    transparent 47px,
    rgba(127,163,209,0.22) 48px
  );
}
.marked-page--bright .quote-mark { color: rgba(127,163,209,0.16); }
.marked-page--bright .proof-mark { color: rgba(201,168,76,0.5); }
.marked-page--bright .proof-underline { background: rgba(201,168,76,0.55); }

.hero-rule-line {
  position: absolute;
  left: 0;
  right: 0;
  top: var(--hero-ry, 42%);
  height: 1.5px;
  background: linear-gradient(90deg, transparent, var(--gold) 15%, var(--gold) 85%, transparent);
  box-shadow: 0 0 10px rgba(201,168,76,0.5);
  pointer-events: none;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.3s ease, top 0.08s linear;
}
.hero:hover .hero-rule-line { opacity: 1; }
.hero.ruler-reset .hero-rule-line { transition: opacity 0.3s ease, top 0.5s ease; }

/* =========================================
   PARALLAX LAYER
   ========================================= */
.parallax-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 2;
}

/* ── Gradient orbs ── */
.orb {
  position: absolute;
  border-radius: 50%;
  will-change: transform;
}
.orb-1 {
  width: 700px; height: 700px;
  top: -220px; right: -120px;
  background: radial-gradient(circle at 40% 40%,
    rgba(30,79,163,0.4) 0%,
    rgba(30,79,163,0.16) 40%,
    transparent 70%);
  filter: blur(60px);
  opacity: 0;
  animation: orbFadeIn 1.4s ease-out 0.3s forwards;
}

@keyframes orbFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ── Geometric wireframe elements ── */
.geo {
  position: absolute;
  will-change: transform;
}
.geo-ring-1 {
  width: 220px; height: 220px;
  top: 12%; right: 12%;
  border: 1.5px solid rgba(30,79,163,0.35);
  border-radius: 50%;
  animation: ringFloat 10s ease-in-out infinite;
}
.geo-ring-1::before {
  content: '';
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(30,79,163,0.18);
  border-radius: 50%;
}
.geo-ring-2 {
  width: 110px; height: 110px;
  bottom: 22%; left: 18%;
  border: 1.5px solid rgba(201,168,76,0.3);
  border-radius: 50%;
  animation: ringFloat 13s ease-in-out infinite 4s reverse;
}
.geo-diamond {
  width: 70px; height: 70px;
  top: 38%; left: 52%;
  border: 1.5px solid rgba(30,79,163,0.28);
  transform: rotate(45deg);
  animation: geoSpin 20s linear infinite;
}
.geo-cross {
  width: 40px; height: 40px;
  top: 70%; right: 30%;
  opacity: 0.4;
}
.geo-cross::before,
.geo-cross::after {
  content: '';
  position: absolute;
  background: rgba(201,168,76,0.5);
  border-radius: 2px;
}
.geo-cross::before { width: 100%; height: 1.5px; top: 50%; transform: translateY(-50%); }
.geo-cross::after  { width: 1.5px; height: 100%; left: 50%; transform: translateX(-50%); }

@keyframes ringFloat {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  40%       { transform: translateY(-22px) rotate(8deg); }
  70%       { transform: translateY(10px) rotate(-4deg); }
}
@keyframes geoSpin {
  from { transform: rotate(45deg); }
  to   { transform: rotate(405deg); }
}

/* ── Stats section shapes ── */
.parallax-shapes--light .shape-s1 {
  width: 600px; height: 600px;
  top: -200px; right: -150px;
  background: radial-gradient(circle,
    rgba(30,79,163,0.14) 0%,
    rgba(30,79,163,0.05) 50%,
    transparent 70%);
  border-radius: 50%;
  filter: blur(60px);
}
.parallax-shapes--light .shape-s2 {
  width: 400px; height: 400px;
  bottom: -150px; left: -100px;
  background: radial-gradient(circle,
    rgba(201,168,76,0.12) 0%,
    transparent 65%);
  border-radius: 50%;
  filter: blur(55px);
}

/* ── Value section shapes ── */
.parallax-shapes--cream .shape-v1 {
  width: 700px; height: 700px;
  top: -250px; left: -200px;
  background: radial-gradient(circle,
    rgba(30,79,163,0.13) 0%,
    transparent 65%);
  border-radius: 50%;
  filter: blur(80px);
}
.parallax-shapes--cream .shape-v2 {
  width: 450px; height: 450px;
  bottom: -150px; right: -100px;
  background: radial-gradient(circle,
    rgba(201,168,76,0.1) 0%,
    transparent 65%);
  border-radius: 50%;
  filter: blur(70px);
}
.parallax-shapes--cream .shape-v3 {
  width: 150px; height: 150px;
  top: 35%; right: 8%;
  border: 1.5px solid rgba(30,79,163,0.2);
  border-radius: 50%;
  animation: ringFloat 12s ease-in-out infinite 1s;
}

@keyframes floatSlow {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  33%       { transform: translateY(-18px) rotate(4deg); }
  66%       { transform: translateY(8px) rotate(-3deg); }
}

/* z-index stacking */
.hero-content { z-index: 5; }
.hero-scroll   { z-index: 5; }

/* Contain section shapes */
.stats { position: relative; overflow: hidden; }
.value { position: relative; }

/* =========================================
   ANIMATIONS (fade-in on scroll)
   ========================================= */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-in:nth-child(2) { transition-delay: 0.1s; }
.fade-in:nth-child(3) { transition-delay: 0.2s; }
.fade-in:nth-child(4) { transition-delay: 0.3s; }

/* =========================================
   HOW IT WORKS
   ========================================= */
.how {
  background:
    linear-gradient(135deg, #FAF8F3 0%, #f3efe6 100%),
    radial-gradient(ellipse at 70% 20%, rgba(30,79,163,0.06) 0%, transparent 55%);
  position: relative;
}
.how-grid {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 0;
  max-width: 1000px;
  margin: 0 auto;
}
.how-step {
  flex: 1;
  background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(250,248,243,0.85) 100%);
  border: 1px solid rgba(232,230,225,0.7);
  border-radius: 8px;
  padding: 2.5rem 1.75rem;
  text-align: center;
  position: relative;
  box-shadow: 0 6px 24px rgba(31,41,55,0.06);
  transition: all var(--transition);
}
.how-step:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 40px rgba(30,79,163,0.16);
  border-color: rgba(30,79,163,0.35);
}
.how-num {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}
.how-icon {
  width: 64px; height: 64px;
  margin: 0 auto 1.4rem;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(30,79,163,0.14) 0%, rgba(30,79,163,0.06) 100%);
  border: 1px solid rgba(30,79,163,0.25);
  color: var(--teal);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.4);
}
.how-step h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--slate);
  margin-bottom: 0.75rem;
}
.how-step p {
  font-size: 0.9rem;
  color: #6b7280;
  line-height: 1.7;
}
.how-connector {
  width: 56px;
  flex-shrink: 0;
  position: relative;
  align-self: center;
}
.how-connector::before {
  content: '';
  position: absolute;
  top: 50%; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, rgba(30,79,163,0.5), rgba(201,168,76,0.5));
}
.how-connector::after {
  content: '';
  position: absolute;
  top: 50%; right: 4px;
  width: 8px; height: 8px;
  border-top: 2px solid rgba(201,168,76,0.6);
  border-right: 2px solid rgba(201,168,76,0.6);
  transform: translateY(-50%) rotate(45deg);
}
.how-cta {
  text-align: center;
  margin-top: 3.5rem;
}

/* =========================================
   SCHOOL LOGOS
   ========================================= */
.schools {
  background: var(--white);
  padding: 3.5rem 0;
  border-top: 1px solid var(--gray-light);
  border-bottom: 1px solid var(--gray-light);
}
.schools-label {
  text-align: center;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-mid);
  margin-bottom: 2rem;
}
.schools-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2.5rem;
}
.school-logo {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--slate);
  opacity: 0.5;
  letter-spacing: 0.01em;
  transition: opacity var(--transition);
  white-space: nowrap;
}
.school-logo:hover { opacity: 0.9; }

/* =========================================
   URGENCY STRIP
   ========================================= */
.urgency {
  background:
    linear-gradient(135deg, #12233F 0%, #0d1830 100%);
  padding: 2rem 0;
  position: relative;
  overflow: hidden;
}
.urgency::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(201,168,76,0.12) 0%, transparent 55%);
  pointer-events: none;
}
.urgency-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}
.urgency-text {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.urgency-text p {
  color: rgba(255,255,255,0.85);
  font-size: 1rem;
  line-height: 1.5;
  max-width: 640px;
}
.urgency-text strong { color: var(--gold); font-weight: 600; }
.urgency-pulse {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
  position: relative;
  box-shadow: 0 0 0 rgba(201,168,76,0.6);
  animation: urgencyPulse 2s infinite;
}
@keyframes urgencyPulse {
  0%   { box-shadow: 0 0 0 0 rgba(201,168,76,0.6); }
  70%  { box-shadow: 0 0 0 12px rgba(201,168,76,0); }
  100% { box-shadow: 0 0 0 0 rgba(201,168,76,0); }
}

/* Assessment button accent */
.btn-assessment svg { color: var(--white); }

/* =========================================
   INNER PAGE HERO
   ========================================= */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: 160px 0 80px;
  background:
    linear-gradient(135deg, #12233F 0%, #0d1830 60%, #060b16 100%),
    radial-gradient(ellipse at 75% 30%, rgba(30,79,163,0.2) 0%, transparent 55%);
}
.page-hero-inner { position: relative; z-index: 3; max-width: 760px; }
.page-hero .hero-label { color: var(--gold); }
.page-hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  color: var(--white);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}
.page-hero-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.7;
  max-width: 560px;
}

/* =========================================
   ABOUT
   ========================================= */
.about-bio { background: var(--cream); }
.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3.5rem;
  align-items: center;
}
.about-photo-placeholder {
  aspect-ratio: 4/5;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(30,79,163,0.12), rgba(18,35,63,0.08));
  border: 1px solid rgba(30,79,163,0.25);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 1rem; color: var(--teal);
}
.about-photo-placeholder span { font-size: 0.85rem; color: var(--gray-mid); letter-spacing: 0.05em; }
.about-text h2 {
  font-family: var(--font-serif); font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--slate); margin-bottom: 1.25rem; line-height: 1.25;
}
.about-text p { font-size: 0.98rem; color: #5b6470; line-height: 1.8; margin-bottom: 1.1rem; }

/* Experience quick-facts */
.experience-facts {
  display: flex; gap: 1rem; flex-wrap: wrap;
  margin-top: 1.5rem;
}
.experience-fact {
  display: flex; flex-direction: column; gap: 0.2rem;
  background: var(--white); border: 1px solid var(--gray-light);
  border-radius: 8px; padding: 1rem 1.4rem;
  box-shadow: 0 4px 14px rgba(18,35,63,0.05);
}
.experience-fact-num {
  font-family: var(--font-serif); font-size: 1.3rem; font-weight: 700; color: var(--teal);
}
.experience-fact-label {
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.04em; color: var(--gray-mid);
}

/* Hobbies placeholder */
.hobbies { background: var(--white); }
.hobbies-placeholder {
  display: flex; gap: 1.5rem; justify-content: center; flex-wrap: wrap; margin-bottom: 1.5rem;
}
.hobby-card {
  width: 200px; background: var(--cream); border: 1px solid var(--gray-light);
  border-radius: 8px; padding: 1.5rem; text-align: center; opacity: 0.65;
}
.hobby-icon-placeholder {
  width: 44px; height: 44px; margin: 0 auto 0.9rem;
  border-radius: 50%; background: var(--gray-light);
}
.hobby-line {
  height: 10px; width: 70%; margin: 0 auto;
  background: var(--gray-light); border-radius: 5px;
}

/* Philosophy */
.phil-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; position: relative; z-index: 1; }
.phil-item {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px; padding: 2rem;
  backdrop-filter: blur(12px);
  transition: all var(--transition);
}
.phil-item:hover { background: rgba(255,255,255,0.12); transform: translateY(-4px); }
.phil-item h3 { font-family: var(--font-serif); font-size: 1.2rem; color: var(--white); margin-bottom: 0.75rem; }
.phil-item p { font-size: 0.9rem; color: rgba(255,255,255,0.7); line-height: 1.7; }

/* =========================================
   COMPARE TABLE
   ========================================= */
.compare { background: var(--white); }
.compare-table {
  max-width: 820px; margin: 0 auto;
  border: 1px solid var(--gray-light); border-radius: 10px; overflow: hidden;
  box-shadow: 0 8px 32px rgba(31,41,55,0.06);
}
.compare-row {
  display: grid; grid-template-columns: 1.2fr 1fr 1fr;
  border-bottom: 1px solid var(--gray-light);
}
.compare-row:last-child { border-bottom: none; }
.compare-row > div { padding: 1rem 1.25rem; font-size: 0.9rem; color: #5b6470; }
.compare-row > div:first-child { font-weight: 600; color: var(--slate); background: rgba(30,79,163,0.04); }
.compare-head { background: var(--slate); }
.compare-head > div { color: var(--white) !important; font-family: var(--font-serif); font-weight: 600; background: transparent !important; }
.compare-row:not(.compare-head) > div:nth-child(3) { background: rgba(30,79,163,0.05); }
.compare-note { text-align: center; color: var(--gray-mid); font-size: 0.92rem; margin-top: 1.75rem; font-style: italic; }

/* =========================================
   FAQ
   ========================================= */
.bg-cream { background: var(--cream); }
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 1rem; }
.faq-item {
  background: var(--white); border: 1px solid var(--gray-light);
  border-radius: 8px; padding: 0; overflow: hidden;
  transition: box-shadow var(--transition);
}
.faq-item[open] { box-shadow: 0 8px 24px rgba(31,41,55,0.08); }
.faq-item summary {
  cursor: pointer; padding: 1.25rem 1.5rem;
  font-family: var(--font-sans); font-weight: 600; font-size: 0.98rem; color: var(--slate);
  list-style: none; display: flex; justify-content: space-between; align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+'; font-size: 1.4rem; color: var(--teal); font-weight: 400; transition: transform var(--transition);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding: 0 1.5rem 1.4rem; font-size: 0.92rem; color: #5b6470; line-height: 1.7; }

/* =========================================
   CONTACT
   ========================================= */
.contact-section { background: var(--cream); }
.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 3rem; align-items: start; }
.contact-methods { display: flex; flex-direction: column; gap: 1rem; }
.contact-method {
  display: flex; align-items: center; gap: 1rem;
  background: var(--white); border: 1px solid var(--gray-light);
  border-radius: 10px; padding: 1.25rem 1.4rem;
  text-decoration: none; transition: all var(--transition);
}
.contact-method:not(.contact-method--static):hover {
  transform: translateX(4px); border-color: var(--teal); box-shadow: 0 6px 20px rgba(30,79,163,0.12);
}
.contact-method-icon {
  width: 48px; height: 48px; flex-shrink: 0; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(30,79,163,0.12); color: var(--teal);
}
.contact-method-text { display: flex; flex-direction: column; }
.contact-method-text span { font-weight: 600; color: var(--slate); font-size: 0.95rem; }
.contact-method-text small { color: var(--gray-mid); font-size: 0.82rem; margin-top: 2px; }
.contact-form-card { padding: 2.25rem 2rem; }
.contact-form-title { font-family: var(--font-serif); font-size: 1.4rem; color: var(--slate); margin-bottom: 1.5rem; }
.contact-select, .contact-textarea {
  padding: 0.85rem 1rem; border: 1.5px solid var(--gray-light); border-radius: 6px;
  font-family: var(--font-sans); font-size: 0.95rem; color: var(--charcoal); background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition); width: 100%; resize: vertical;
}
.contact-select:focus, .contact-textarea:focus {
  outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(30,79,163,0.15);
}

@media (max-width: 768px) {
  .about-grid { grid-template-columns: 1fr; gap: 2rem; }
  .phil-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .compare-row { grid-template-columns: 1fr 1fr 1fr; }
  .compare-row > div { padding: 0.8rem 0.7rem; font-size: 0.8rem; }
  .page-hero { padding: 130px 0 60px; }
}

/* =========================================
   XXI STANDARD PAGE
   ========================================= */
.standard-pillars { background: var(--cream); }
.standard-list {
  max-width: 780px; margin: 0 auto 3rem;
  display: flex; flex-direction: column; gap: 1.25rem;
}
.standard-item {
  display: flex; gap: 1.5rem; align-items: flex-start;
  background: var(--white); border: 1px solid var(--gray-light);
  border-radius: 10px; padding: 1.75rem 2rem;
  box-shadow: 0 4px 18px rgba(18,35,63,0.05);
  transition: all var(--transition);
}
.standard-item:hover {
  transform: translateX(4px);
  border-color: var(--teal);
  box-shadow: 0 8px 28px rgba(30,79,163,0.12);
}
.standard-num {
  font-family: var(--font-serif); font-size: 1.6rem; font-weight: 700;
  color: var(--gold); flex-shrink: 0; line-height: 1; padding-top: 0.1rem;
}
.standard-item h3 {
  font-family: var(--font-serif); font-size: 1.15rem;
  color: var(--slate); margin-bottom: 0.5rem;
}
.standard-item p {
  font-size: 0.92rem; color: #5b6470; line-height: 1.7;
}

@media (max-width: 600px) {
  .standard-item { flex-direction: column; gap: 0.75rem; padding: 1.5rem; }
}

/* =========================================
   LANGUAGE TOGGLE
   ========================================= */
.lang-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  background: transparent;
  border: 1.5px solid rgba(18,35,63,0.3);
  color: var(--slate);
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 0 0.55rem;
  height: 26px;
  border-radius: 4px;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}
.lang-toggle:hover {
  background: var(--slate);
  color: var(--white);
  border-color: var(--slate);
}
.nav.scrolled .lang-toggle {
  border-color: rgba(18,35,63,0.35);
}
.nav-right-mobile {
  display: none;
  align-items: center;
  gap: 0.75rem;
}

/* =========================================
   WHATSAPP FLOATING BUBBLE
   ========================================= */
.wa-bubble {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(37,211,102,0.45), 0 2px 8px rgba(0,0,0,0.15);
  transition: transform var(--transition), box-shadow var(--transition);
  text-decoration: none;
}
.wa-bubble:hover {
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 12px 32px rgba(37,211,102,0.55), 0 4px 12px rgba(0,0,0,0.2);
}
.wa-bubble__ring {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(37,211,102,0.5);
  animation: waPulse 2.5s ease-out infinite;
}
.wa-bubble__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
}
.wa-bubble__tooltip {
  position: absolute;
  right: 70px;
  background: var(--charcoal);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 500;
  white-space: nowrap;
  padding: 0.4rem 0.85rem;
  border-radius: 4px;
  opacity: 0;
  pointer-events: none;
  transform: translateX(8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.wa-bubble__tooltip::after {
  content: '';
  position: absolute;
  right: -5px;
  top: 50%;
  transform: translateY(-50%);
  border: 5px solid transparent;
  border-left-color: var(--charcoal);
  border-right: none;
}
.wa-bubble:hover .wa-bubble__tooltip {
  opacity: 1;
  transform: translateX(0);
}
@keyframes waPulse {
  0%   { transform: scale(1);   opacity: 0.8; }
  70%  { transform: scale(1.5); opacity: 0; }
  100% { transform: scale(1.5); opacity: 0; }
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 1024px) {
  .value-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(3) { border-top: 1px solid var(--gray-light); }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-right-mobile { display: flex; }
  .hamburger { display: flex; }
  .hero-content { padding-left: 2rem; padding-right: 2rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat { padding: 1.75rem 0.75rem; }
  .stat-number { font-size: 2.1rem; }
  .stat-plus { font-size: 1.3rem; }
  .stat-label { font-size: 0.7rem; letter-spacing: 0.06em; }
  .value-grid { grid-template-columns: 1fr; }
  .programs-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .section-pad { padding: 64px 0; }
  .how-grid { flex-direction: column; gap: 1.5rem; }
  .how-connector { display: none; }
  .urgency-inner { flex-direction: column; text-align: center; }
  .urgency-text { flex-direction: column; }
  .schools-row { gap: 1.5rem; }
  .school-logo { font-size: 0.9rem; }
}
@media (max-width: 480px) {
  .hero-title { font-size: 2.2rem; }
  .hero-actions { flex-direction: column; }
  .btn-primary, .btn-secondary { width: 100%; justify-content: center; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
}
