/* ==========================================================
   DIXON ACADEMY — Design System 2026
   Reference Energy: Tesla.com · EVNoire.com
   Brand: dixonacademy.com
   Fonts: DM Sans + Playfair Display
   Canvas: White + Vibrant Brand Accents
   ========================================================== */

/* ---------- CSS Custom Properties ---------- */
:root {
  /* Brand Colors — Vibrant on White */
  --teal: #00788c;
  --teal-light: #00a3b8;
  --teal-dark: #005f6e;
  --teal-glow: rgba(0, 120, 140, 0.15);

  --purple: #401d7d;
  --purple-light: #5a3a9a;
  --purple-glow: rgba(64, 29, 125, 0.12);

  --mint: #71d4c0;
  --mint-light: #c5f0e7;
  --mint-pale: #eaf9f4;

  --lavender: #919ac7;
  --lavender-light: #e8eaf5;

  --lime: #d0e094;
  --lime-light: #eef5d6;

  --peach: #eb9c81;
  --peach-light: #fce8e0;

  --terracotta: #e3815f;

  /* Neutrals */
  --text-dark: #252838;
  --text: #333333;
  --text-light: #7a7a7a;
  --white: #ffffff;
  --off-white: #fafbfc;
  --cream: #f8f6f3;
  --border: #e8e8e8;
  --border-light: #f0f0f0;

  /* Typography */
  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Fluid Font Sizes */
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.825rem + 0.25vw, 1rem);
  --text-base: clamp(1rem, 0.925rem + 0.375vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.5vw, 1.25rem);
  --text-xl: clamp(1.25rem, 1.1rem + 0.75vw, 1.5rem);
  --text-2xl: clamp(1.5rem, 1.2rem + 1.5vw, 2rem);
  --text-3xl: clamp(1.875rem, 1.4rem + 2.35vw, 2.75rem);
  --text-4xl: clamp(2.25rem, 1.6rem + 3.25vw, 3.5rem);
  --text-5xl: clamp(2.75rem, 1.8rem + 4.75vw, 4.75rem);

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  --space-5xl: 8rem;
  --section-pad: clamp(4rem, 8vw, 8rem);

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-pill: 100px;
  --radius-round: 50%;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 24px rgba(0, 0, 0, 0.07);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.09);
  --shadow-xl: 0 16px 60px rgba(0, 0, 0, 0.11);
  --shadow-card: 0 2px 16px rgba(0, 0, 0, 0.06);
  --shadow-card-hover: 0 12px 40px rgba(0, 0, 0, 0.12);

  /* Transitions */
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
  --fast: 200ms var(--ease);
  --base: 350ms var(--ease);
  --slow: 600ms var(--ease-out);

  /* Layout */
  --container: 1280px;
  --container-narrow: 960px;
  --container-wide: 1440px;
  --nav-h: 80px;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}

img, video { display: block; max-width: 100%; height: auto; }
a { color: var(--teal); text-decoration: none; transition: color var(--fast); }
a:hover { color: var(--teal-light); }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: inherit; font-size: inherit; }

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--text-dark);
  line-height: 1.2;
  font-weight: 700;
}

h1 { font-size: var(--text-5xl); }
h2 { font-size: var(--text-4xl); }
h3 { font-size: var(--text-3xl); }
h4 { font-size: var(--text-2xl); }
h5 { font-size: var(--text-xl); }

.label {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--teal);
}

.subtitle {
  font-size: var(--text-lg);
  color: var(--text-light);
  line-height: 1.8;
  max-width: 640px;
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.container--narrow { max-width: var(--container-narrow); }
.container--wide { max-width: var(--container-wide); }

.section {
  padding: var(--section-pad) 0;
  position: relative;
}

.section--tinted { background: var(--off-white); }
.section--mint { background: var(--mint-pale); }
.section--lavender { background: var(--lavender-light); }
.section--cream { background: var(--cream); }

.section__header {
  text-align: center;
  margin-bottom: var(--space-4xl);
}

.section__header .label {
  display: block;
  margin-bottom: var(--space-md);
}

.section__header h2 {
  margin-bottom: var(--space-lg);
}

.section__header .subtitle {
  margin: 0 auto;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 0.9em 2em;
  font-size: var(--text-sm);
  font-weight: 600;
  border-radius: var(--radius-pill);
  transition: all var(--base);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn--primary {
  background: var(--teal);
  color: var(--white);
  box-shadow: 0 4px 16px var(--teal-glow);
}
.btn--primary:hover {
  background: var(--teal-light);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px var(--teal-glow);
}

.btn--secondary {
  background: var(--purple);
  color: var(--white);
  box-shadow: 0 4px 16px var(--purple-glow);
}
.btn--secondary:hover {
  background: var(--purple-light);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px var(--purple-glow);
}

.btn--outline {
  background: transparent;
  color: var(--teal);
  border: 2px solid var(--teal);
}
.btn--outline:hover {
  background: var(--teal);
  color: var(--white);
  transform: translateY(-2px);
}

.btn--white {
  background: var(--white);
  color: var(--teal);
  box-shadow: var(--shadow-md);
}
.btn--white:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn--ghost {
  background: rgba(255,255,255,0.2);
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.6);
  backdrop-filter: blur(4px);
}
.btn--ghost:hover {
  background: var(--white);
  color: var(--teal);
  transform: translateY(-2px);
}

.btn--lg {
  padding: 1.1em 2.6em;
  font-size: var(--text-base);
}

.btn--sm {
  padding: 0.6em 1.5em;
  font-size: var(--text-xs);
}

.btn-group {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: all var(--base);
  background: transparent;
}

.nav.scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 1px 0 var(--border-light), var(--shadow-sm);
}

.nav__inner {
  width: 100%;
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 var(--space-xl);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  z-index: 1001;
}

.nav__logo img {
  height: 48px;
  width: auto;
}

.nav__logo-text {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--purple);
  line-height: 1.1;
}

.nav__logo-text span {
  display: block;
  font-family: var(--font-body);
  font-size: 0.55em;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--teal);
}

/* Nav on hero (white text + text shadow for contrast) */
.nav--hero .nav__logo-text { color: var(--white); text-shadow: 0 2px 12px rgba(0,0,0,0.35); }
.nav--hero .nav__logo-text span { color: rgba(255,255,255,0.85); }
.nav--hero .nav__links a { color: var(--white); }
.nav--hero .nav__links a:hover { color: rgba(255,255,255,0.7); }
.nav--hero.scrolled .nav__logo-text { color: var(--purple); }
.nav--hero.scrolled .nav__logo-text span { color: var(--teal); }
.nav--hero.scrolled .nav__links a { color: var(--text); }
.nav--hero.scrolled .nav__links a:hover { color: var(--teal); }

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-2xl);
}

.nav__links a {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text);
  position: relative;
  padding: 0.25em 0;
}

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--teal);
  border-radius: 2px;
  transition: width var(--base);
}

.nav__links a:hover::after,
.nav__links a.active::after {
  width: 100%;
}

.nav__cta {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

/* Mobile Menu Toggle */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  cursor: pointer;
  z-index: 1001;
}

.nav__toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: all var(--base);
}

.nav--hero .nav__toggle span { background: var(--white); }
.nav--hero.scrolled .nav__toggle span { background: var(--text-dark); }

.nav__toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav__toggle.active span:nth-child(2) { opacity: 0; }
.nav__toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile Menu */
.nav__mobile {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--white);
  z-index: 999;
  padding: calc(var(--nav-h) + var(--space-2xl)) var(--space-xl) var(--space-2xl);
  flex-direction: column;
  gap: var(--space-lg);
  overflow-y: auto;
}

.nav__mobile.open { display: flex; }

.nav__mobile a {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  color: var(--text-dark);
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--border-light);
}

.nav__mobile a:hover { color: var(--teal); }

.nav__mobile .btn-group {
  margin-top: auto;
  flex-direction: column;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  max-height: 1000px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__carousel {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s var(--ease);
}

.hero__slide.active { opacity: 1; }

.hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__content {
  position: relative;
  z-index: 2;
  padding: 0 var(--space-xl);
  width: 100%;
  max-width: var(--container-wide);
  margin: 0 auto;
}

.hero__content h1 {
  color: var(--white);
  text-shadow: 0 2px 20px rgba(0,0,0,0.3), 0 4px 40px rgba(0,0,0,0.15);
  max-width: 800px;
  margin-bottom: var(--space-lg);
}

.hero__content p {
  color: rgba(255,255,255,0.95);
  font-size: var(--text-xl);
  max-width: 600px;
  margin-bottom: var(--space-2xl);
  text-shadow: 0 1px 8px rgba(0,0,0,0.25);
  line-height: 1.6;
}

.hero__dots {
  position: absolute;
  bottom: var(--space-2xl);
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: var(--space-sm);
}

.hero__dot {
  width: 12px;
  height: 12px;
  border-radius: var(--radius-round);
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: all var(--base);
  border: 2px solid transparent;
}

.hero__dot.active {
  background: var(--white);
  transform: scale(1.2);
}

.hero__dot:hover { background: rgba(255,255,255,0.7); }

.hero__scroll {
  position: absolute;
  bottom: var(--space-xl);
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.7);
  font-size: var(--text-xs);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* Sub-page Hero — sized to show images prominently */
.hero--sub {
  height: 55vh;
  min-height: 400px;
  max-height: 580px;
}

.hero--sub .hero__slide img {
  object-position: center center;
}

/* ---------- Features Ribbon ---------- */
.features-ribbon {
  background: var(--white);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  overflow: hidden;
  padding: var(--space-xl) 0;
}

.features-ribbon__track {
  display: flex;
  gap: var(--space-3xl);
  animation: ribbonScroll 30s linear infinite;
  width: max-content;
}

.features-ribbon__item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  white-space: nowrap;
  font-weight: 600;
  color: var(--text-light);
  font-size: var(--text-sm);
}

.features-ribbon__item .icon {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-round);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.features-ribbon__item:nth-child(8n+1) .icon { background: var(--mint-light); color: var(--teal); }
.features-ribbon__item:nth-child(8n+2) .icon { background: var(--peach-light); color: var(--terracotta); }
.features-ribbon__item:nth-child(8n+3) .icon { background: var(--lavender-light); color: var(--purple); }
.features-ribbon__item:nth-child(8n+4) .icon { background: var(--lime-light); color: var(--teal-dark); }
.features-ribbon__item:nth-child(8n+5) .icon { background: var(--mint-light); color: var(--teal); }
.features-ribbon__item:nth-child(8n+6) .icon { background: var(--peach-light); color: var(--terracotta); }
.features-ribbon__item:nth-child(8n+7) .icon { background: var(--lavender-light); color: var(--purple); }
.features-ribbon__item:nth-child(8n+8) .icon { background: var(--lime-light); color: var(--teal-dark); }

@keyframes ribbonScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ---------- Stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  text-align: center;
  padding: var(--space-xl) 0;
}

.stat {
  padding: var(--space-md) var(--space-lg);
}

.stat__number {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--teal);
  line-height: 1;
  margin-bottom: 4px;
}

.stat__label {
  font-size: var(--text-xs);
  color: var(--text-light);
  font-weight: 500;
}

/* ---------- Program Cards ---------- */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-2xl);
}

.program-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-card);
  transition: all var(--base);
  position: relative;
}

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

.program-card__image {
  height: 220px;
  overflow: hidden;
  position: relative;
}

.program-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--slow);
}

.program-card:hover .program-card__image img {
  transform: scale(1.05);
}

.program-card__badge {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  padding: 0.4em 1em;
  background: var(--teal);
  color: var(--white);
  font-size: var(--text-xs);
  font-weight: 700;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.program-card__badge--free {
  background: var(--mint);
  color: var(--teal-dark);
}

.program-card__body {
  padding: var(--space-xl);
}

.program-card__age {
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-xs);
}

.program-card__title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  color: var(--text-dark);
  margin-bottom: var(--space-sm);
}

.program-card__desc {
  font-size: var(--text-sm);
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: var(--space-lg);
}

.program-card__features {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  margin-bottom: var(--space-lg);
}

.program-card__feature {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--text-sm);
  color: var(--text);
}

.program-card__feature::before {
  content: '✓';
  color: var(--teal);
  font-weight: 700;
  font-size: 0.9em;
}

.program-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--teal);
}

.program-card__link:hover { gap: 0.7em; }
.program-card__link::after { content: '→'; transition: inherit; }

/* ---------- Difference / Pillars ---------- */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-2xl);
}

.pillar {
  padding: var(--space-2xl);
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--border);
  transition: all var(--base);
  position: relative;
}

.pillar:hover {
  border-color: var(--mint);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.pillar__number {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: 700;
  color: var(--mint-light);
  line-height: 1;
  margin-bottom: var(--space-md);
}

.pillar__title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  color: var(--text-dark);
  margin-bottom: var(--space-md);
}

.pillar__desc {
  font-size: var(--text-sm);
  color: var(--text-light);
  line-height: 1.8;
}

/* ---------- Testimonials ---------- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-2xl);
}

.testimonial {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-card);
  transition: all var(--base);
  position: relative;
}

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

.testimonial__stars {
  color: var(--peach);
  font-size: var(--text-lg);
  margin-bottom: var(--space-lg);
  letter-spacing: 0.1em;
}

.testimonial__quote {
  font-size: var(--text-base);
  color: var(--text);
  line-height: 1.8;
  margin-bottom: var(--space-xl);
  font-style: italic;
}

.testimonial__author {
  font-weight: 700;
  color: var(--text-dark);
  font-size: var(--text-sm);
}

.testimonial__campus {
  font-size: var(--text-xs);
  color: var(--text-light);
}

/* ---------- Location Cards ---------- */
.locations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-2xl);
}

.location-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  border: 1px solid var(--border);
  transition: all var(--base);
}

.location-card:hover {
  border-color: var(--teal);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.location-card__name {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  color: var(--text-dark);
  margin-bottom: var(--space-xs);
}

.location-card__sub {
  font-size: var(--text-xs);
  color: var(--teal);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-lg);
}

.location-card__detail {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  font-size: var(--text-sm);
  color: var(--text-light);
  margin-bottom: var(--space-sm);
}

.location-card__detail .icon-text { color: var(--teal); font-size: 1em; }

.location-card__tags {
  display: flex;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
  flex-wrap: wrap;
}

.location-card__tag {
  padding: 0.3em 0.8em;
  background: var(--mint-pale);
  color: var(--teal-dark);
  font-size: var(--text-xs);
  font-weight: 600;
  border-radius: var(--radius-pill);
}

/* ---------- Tour / CTA Section ---------- */
.cta-section {
  background: linear-gradient(135deg, var(--teal) 0%, var(--purple) 100%);
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section h2 {
  color: var(--white);
  margin-bottom: var(--space-lg);
}

.cta-section p {
  color: rgba(255,255,255,0.9);
  max-width: 640px;
  margin: 0 auto var(--space-2xl);
  font-size: var(--text-lg);
}

.cta-section .btn-group {
  justify-content: center;
}

/* Inline CTA Banner */
.cta-banner {
  background: var(--mint-pale);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl) var(--space-3xl);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2xl);
  margin-top: var(--space-4xl);
}

.cta-banner h3 {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-xs);
}

.cta-banner p {
  color: var(--text-light);
  font-size: var(--text-sm);
}

/* ---------- Tour Form ---------- */
.tour-form {
  max-width: 560px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: var(--space-lg);
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--text-dark);
  margin-bottom: var(--space-xs);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.85em 1.2em;
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--white);
  color: var(--text);
  transition: border-color var(--fast);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px var(--teal-glow);
}

.form-group textarea { resize: vertical; min-height: 100px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}

/* ---------- Footer ---------- */
.footer {
  background: var(--text-dark);
  color: rgba(255,255,255,0.7);
  padding: var(--space-5xl) 0 var(--space-2xl);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-3xl);
  margin-bottom: var(--space-4xl);
}

.footer__brand p {
  font-size: var(--text-sm);
  line-height: 1.8;
  margin-top: var(--space-lg);
  max-width: 320px;
}

.footer__col h5 {
  color: var(--white);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-lg);
}

.footer__col a {
  display: block;
  color: rgba(255,255,255,0.6);
  font-size: var(--text-sm);
  padding: 0.35em 0;
  transition: color var(--fast);
}

.footer__col a:hover { color: var(--mint); }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: var(--space-xl);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--text-xs);
}

.footer__bottom a { color: rgba(255,255,255,0.5); }
.footer__bottom a:hover { color: var(--mint); }

.footer .nav__logo-text { color: var(--white); }
.footer .nav__logo-text span { color: var(--mint); }

/* ---------- Wavy Section Dividers ---------- */
.wave-divider {
  position: absolute;
  left: 0;
  right: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.wave-divider--top { top: -1px; }
.wave-divider--bottom { bottom: -1px; }

.wave-divider svg {
  width: 100%;
  height: 60px;
  display: block;
}

/* ---------- Scroll Animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* Staggered children */
.stagger > * { transition-delay: calc(var(--i, 0) * 100ms); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .nav__links { display: none; }
  .nav__cta { display: none; }
  .nav__toggle { display: flex; }

  .pillars-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: var(--space-2xl); }
}

@media (max-width: 768px) {
  :root { --nav-h: 68px; }

  .hero { min-height: 500px; }
  .hero--sub { min-height: 300px; height: 40vh; }

  .stats { grid-template-columns: 1fr; gap: var(--space-sm); }
  .stat { padding: var(--space-sm); }

  .programs-grid { grid-template-columns: 1fr; }
  .locations-grid { grid-template-columns: 1fr; }

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

  .cta-banner {
    flex-direction: column;
    text-align: center;
    padding: var(--space-2xl);
  }

  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; gap: var(--space-md); text-align: center; }
}

@media (max-width: 480px) {
  .hero__content h1 { font-size: var(--text-3xl); }
  .hero__content p { font-size: var(--text-base); }
  .btn-group { flex-direction: column; align-items: stretch; }
  .btn-group .btn { text-align: center; }
}

/* ---------- Reduced Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal, .reveal-left, .reveal-right, .reveal-scale {
    opacity: 1;
    transform: none;
  }
  .features-ribbon__track { animation: none; }
}

/* ---------- Nav Dropdown ---------- */
.nav__dropdown {
  position: relative;
}

.nav__dropdown > a {
  display: flex;
  align-items: center;
  gap: 0.3em;
}

.nav__dropdown > a::after {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  margin-top: -2px;
  transition: transform var(--fast);
}

.nav__dropdown:hover > a::after {
  transform: rotate(-135deg);
}

.nav__dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.25s var(--ease);
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(0,0,0,0.04);
  padding: var(--space-sm) 0;
  min-width: 230px;
  z-index: 1002;
}

.nav__dropdown-menu::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 14px;
  height: 14px;
  background: rgba(255,255,255,0.97);
  border-radius: 2px;
}

.nav__dropdown:hover .nav__dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav__dropdown-menu a {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 0.55em var(--space-xl);
  color: var(--text) !important;
  font-size: var(--text-sm);
  font-weight: 500;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.nav__dropdown-menu a:hover {
  background: var(--mint-pale);
  color: var(--teal) !important;
  padding-left: calc(var(--space-xl) + 4px);
}

.nav__dropdown-menu a::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: var(--radius-round);
  flex-shrink: 0;
}

.nav__dropdown-menu a:nth-child(8n+1)::before { background: var(--teal); }
.nav__dropdown-menu a:nth-child(8n+2)::before { background: var(--purple-light); }
.nav__dropdown-menu a:nth-child(8n+3)::before { background: var(--mint); }
.nav__dropdown-menu a:nth-child(8n+4)::before { background: var(--peach); }
.nav__dropdown-menu a:nth-child(8n+5)::before { background: var(--lavender); }
.nav__dropdown-menu a:nth-child(8n+6)::before { background: var(--lime); }
.nav__dropdown-menu a:nth-child(8n+7)::before { background: var(--terracotta); }
.nav__dropdown-menu a:nth-child(8n+8)::before { background: var(--teal-light); }

/* Fix dropdown link underlines — override nav__links ::after */
.nav__dropdown-menu a::after { display: none !important; }

/* ---------- Card Color System ---------- */
/* Program cards — colored top accent + subtle tinted body */
.program-card {
  border-top: 4px solid var(--teal);
}

.program-card:nth-child(8n+1) { border-top-color: var(--teal); }
.program-card:nth-child(8n+2) { border-top-color: var(--purple-light); }
.program-card:nth-child(8n+3) { border-top-color: var(--mint); }
.program-card:nth-child(8n+4) { border-top-color: var(--peach); }
.program-card:nth-child(8n+5) { border-top-color: var(--lavender); }
.program-card:nth-child(8n+6) { border-top-color: var(--lime); }
.program-card:nth-child(8n+7) { border-top-color: var(--terracotta); }
.program-card:nth-child(8n+8) { border-top-color: var(--teal-light); }

.program-card:nth-child(odd) .program-card__body {
  background: linear-gradient(180deg, var(--mint-pale) 0%, var(--white) 100%);
}

.program-card:nth-child(even) .program-card__body {
  background: linear-gradient(180deg, var(--lavender-light) 0%, var(--white) 100%);
}

/* Program card — full-card clickable via stretched link */
.program-card__link::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
}

.program-card { cursor: pointer; }

/* Pillar cards — distinct colored backgrounds */
.pillar:nth-child(1) { background: var(--mint-pale); border-color: var(--mint-light); }
.pillar:nth-child(2) { background: var(--lavender-light); border-color: var(--lavender); }
.pillar:nth-child(3) { background: var(--peach-light); border-color: var(--peach); }
.pillar:nth-child(4) { background: var(--lime-light); border-color: var(--lime); }

.pillar:nth-child(1) .pillar__number { color: var(--mint); }
.pillar:nth-child(2) .pillar__number { color: var(--lavender); }
.pillar:nth-child(3) .pillar__number { color: var(--peach); }
.pillar:nth-child(4) .pillar__number { color: var(--lime); }

/* Testimonials — colored left accent */
.testimonial {
  border-left: 4px solid var(--teal);
}

.testimonial:nth-child(2) { border-left-color: var(--purple-light); }
.testimonial:nth-child(3) { border-left-color: var(--mint); }

/* Location cards — soft alternating tints */
.location-card {
  background: var(--mint-pale);
  border-color: var(--mint-light);
}

.location-card:nth-child(even) {
  background: var(--lavender-light);
  border-color: var(--lavender);
}

.location-card:hover {
  background: var(--white);
}

/* ---------- CTA Section Form Contrast Fix ---------- */
.cta-section .form-group label {
  color: var(--white);
}

.cta-section .form-group label span {
  color: rgba(255,255,255,0.6) !important;
}

.cta-section .form-group input,
.cta-section .form-group select,
.cta-section .form-group textarea {
  background: rgba(255,255,255,0.95);
  border-color: rgba(255,255,255,0.3);
  color: var(--text-dark);
}

.cta-section .form-group input:focus,
.cta-section .form-group select:focus,
.cta-section .form-group textarea:focus {
  border-color: var(--mint);
  box-shadow: 0 0 0 3px rgba(113, 212, 192, 0.3);
}

.cta-section .form-group input::placeholder,
.cta-section .form-group textarea::placeholder {
  color: var(--text-light);
}

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.text-teal { color: var(--teal); }
.text-purple { color: var(--purple); }
.text-white { color: var(--white); }
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }
.mt-2xl { margin-top: var(--space-2xl); }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }
.mb-2xl { margin-bottom: var(--space-2xl); }

/* ==========================================================
   SUBPAGE NAV — Teal Background (auto-detected via :has())
   Applied when page contains .hero--sub (all subpages)
   ========================================================== */
body:has(.hero--sub) .nav {
  background: var(--teal);
}

body:has(.hero--sub) .nav.scrolled {
  background: var(--teal);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 2px 16px rgba(0, 95, 110, 0.25);
}

body:has(.hero--sub) .nav.scrolled .nav__logo-text { color: var(--white); text-shadow: none; }
body:has(.hero--sub) .nav.scrolled .nav__logo-text span { color: rgba(255,255,255,0.75); }
body:has(.hero--sub) .nav.scrolled .nav__links a { color: rgba(255,255,255,0.9); }
body:has(.hero--sub) .nav.scrolled .nav__links a:hover { color: var(--white); }
body:has(.hero--sub) .nav.scrolled .nav__links a.active { color: var(--white); }
body:has(.hero--sub) .nav.scrolled .nav__links a::after { background: var(--mint); }
body:has(.hero--sub) .nav.scrolled .nav__toggle span { background: var(--white); }

/* CTA buttons — white on teal nav */
body:has(.hero--sub) .nav .nav__cta .btn--primary {
  background: var(--white);
  color: var(--teal);
  box-shadow: 0 2px 12px rgba(0,0,0,0.1);
}
body:has(.hero--sub) .nav .nav__cta .btn--primary:hover {
  background: var(--mint-light);
  color: var(--teal-dark);
  transform: translateY(-2px);
}

body:has(.hero--sub) .nav .nav__cta .btn--outline {
  border-color: rgba(255,255,255,0.7);
  color: var(--white);
}
body:has(.hero--sub) .nav .nav__cta .btn--outline:hover {
  background: var(--white);
  color: var(--teal);
  border-color: var(--white);
}

/* Dropdown menu override on teal nav — keep white dropdown */
body:has(.hero--sub) .nav__dropdown-menu {
  background: rgba(255,255,255,0.98);
}

/* ==========================================================
   ABOUT PAGE — Founder & Leadership Styles
   ========================================================== */
.founder-section {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: var(--space-3xl);
  align-items: start;
}

.founder-photo {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3/4;
  background: linear-gradient(135deg, var(--teal) 0%, var(--purple) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
}

.founder-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.founder-photo__placeholder {
  color: rgba(255,255,255,0.9);
  text-align: center;
  padding: var(--space-2xl);
}

.founder-photo__placeholder .initials {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: var(--space-md);
  line-height: 1;
}

.founder-photo__placeholder p {
  font-size: var(--text-sm);
  opacity: 0.7;
}

.founder-credentials {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
}

.founder-credential {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  padding: 0.4em 1em;
  border-radius: var(--radius-pill);
  font-size: var(--text-xs);
  font-weight: 600;
}

.founder-credential--teal { background: var(--mint-pale); color: var(--teal-dark); }
.founder-credential--purple { background: var(--lavender-light); color: var(--purple); }
.founder-credential--peach { background: var(--peach-light); color: var(--terracotta); }

/* Timeline */
.timeline {
  position: relative;
  padding-left: var(--space-3xl);
}

.timeline::before {
  content: '';
  position: absolute;
  left: 12px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--teal) 0%, var(--mint) 50%, var(--purple-light) 100%);
  border-radius: 3px;
}

.timeline-item {
  position: relative;
  padding-bottom: var(--space-2xl);
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: calc(-1 * var(--space-3xl) + 6px);
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: var(--radius-round);
  background: var(--teal);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 3px var(--teal-glow);
}

.timeline-item:nth-child(2)::before { background: var(--mint); box-shadow: 0 0 0 3px rgba(113,212,192,0.2); }
.timeline-item:nth-child(3)::before { background: var(--purple-light); box-shadow: 0 0 0 3px var(--purple-glow); }
.timeline-item:nth-child(4)::before { background: var(--peach); box-shadow: 0 0 0 3px rgba(235,156,129,0.2); }

.timeline-item__year {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-lg);
  color: var(--teal);
  margin-bottom: var(--space-xs);
}

.timeline-item__text {
  font-size: var(--text-sm);
  color: var(--text-light);
  line-height: 1.8;
}

/* Community badges */
.community-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: var(--space-lg);
}

.community-badge {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  border: 1px solid var(--border);
  transition: all var(--base);
  text-align: center;
}

.community-badge:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--mint);
}

.community-badge__icon {
  font-size: 2rem;
  margin-bottom: var(--space-sm);
}

.community-badge__name {
  font-weight: 700;
  color: var(--purple);
  font-size: var(--text-sm);
  margin-bottom: var(--space-xs);
}

.community-badge__role {
  font-size: var(--text-xs);
  color: var(--text-light);
}

/* Coming Soon location card */
.location-card--coming-soon {
  background: linear-gradient(135deg, var(--peach-light) 0%, var(--lime-light) 100%);
  border: 2px dashed var(--peach);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.location-card--coming-soon:hover {
  background: linear-gradient(135deg, var(--mint-pale) 0%, var(--lavender-light) 100%);
  border-color: var(--teal);
}

.location-card--coming-soon .coming-soon-icon {
  font-size: 3rem;
  margin-bottom: var(--space-md);
}

.location-card--coming-soon .location-card__name {
  color: var(--purple);
}

.location-card--coming-soon .location-card__sub {
  color: var(--peach);
}

/* Responsive — founder section */
@media (max-width: 1024px) {
  .founder-section { grid-template-columns: 1fr; }
  .founder-photo { max-width: 320px; margin: 0 auto; }
}

@media (max-width: 768px) {
  .founder-photo { max-width: 280px; }
  .timeline { padding-left: var(--space-2xl); }
  .timeline-item::before { left: calc(-1 * var(--space-2xl) + 6px); }
  .community-grid { grid-template-columns: 1fr; }
}

/* ==========================================================
   DIXON ACADEMY DIFFERENCE — Feature Cards (from 2026 design)
   Dark section with teal→purple gradient
   ========================================================== */
.why-dixon {
  background: linear-gradient(135deg, var(--teal-dark) 0%, var(--purple) 100%);
  color: white;
  position: relative;
  overflow: hidden;
  padding: var(--space-4xl) 0;
}

.why-dixon::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(113, 212, 192, 0.12) 0%, transparent 70%);
  top: -200px;
  right: -200px;
  pointer-events: none;
}

.why-dixon .section__header .label { color: var(--mint); }
.why-dixon .section__header .label::before { background: var(--mint); }
.why-dixon .section__header h2 { color: white; }
.why-dixon .section__header h2 em { color: var(--mint); }
.why-dixon .section__header .subtitle { color: rgba(255,255,255,0.7); }

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: var(--space-3xl);
}

.feature-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl) var(--space-xl);
  transition: all var(--base);
}

.feature-card:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-4px);
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: var(--space-lg);
}

.feature-icon.purple { background: rgba(90, 58, 154, 0.25); }
.feature-icon.teal { background: rgba(0, 163, 184, 0.2); }
.feature-icon.pink { background: rgba(235, 156, 129, 0.2); }
.feature-icon.gold { background: rgba(208, 224, 148, 0.25); }

.feature-card h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  margin-bottom: var(--space-sm);
  color: white;
}

.feature-card p {
  font-size: var(--text-sm);
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.6);
}

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

/* ==========================================================
   PHOTO CAROUSEL — Dual-row Auto-scrolling Strip
   ========================================================== */
.photo-carousel {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--purple) 0%, var(--teal-dark) 100%);
  overflow: hidden;
  position: relative;
}

.photo-carousel-header {
  text-align: center;
  margin-bottom: 48px;
  padding: 0 24px;
}

.photo-carousel-header .label { color: var(--mint); }
.photo-carousel-header .label::before { background: var(--mint); }
.photo-carousel-header h2 { color: white; }
.photo-carousel-header h2 em { color: var(--peach); }

/* Row 1 — scrolls left */
.carousel-track {
  display: flex;
  gap: 20px;
  animation: scrollLeft 35s linear infinite;
  width: max-content;
}
.carousel-track:hover { animation-play-state: paused; }

/* Row 2 — scrolls right */
.carousel-track-reverse {
  display: flex;
  gap: 20px;
  animation: scrollRight 40s linear infinite;
  width: max-content;
  margin-top: 20px;
}
.carousel-track-reverse:hover { animation-play-state: paused; }

.carousel-img {
  width: 320px;
  height: 220px;
  border-radius: 16px;
  object-fit: cover;
  flex-shrink: 0;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.carousel-img:hover {
  transform: scale(1.04);
  box-shadow: 0 12px 40px rgba(64, 29, 125, 0.3);
}

/* Fade edges */
.photo-carousel::before,
.photo-carousel::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}
.photo-carousel::before {
  left: 0;
  background: linear-gradient(90deg, var(--purple) 0%, transparent 100%);
}
.photo-carousel::after {
  right: 0;
  background: linear-gradient(270deg, var(--teal-dark) 0%, transparent 100%);
}

@keyframes scrollLeft {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@keyframes scrollRight {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

/* ==========================================================
   LOCATIONS 2026 — Cards with Photo Tops
   ========================================================== */
.locations-2026 {
  background: var(--bg-warm);
  padding: var(--space-4xl) 0;
}

.locations-2026-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: var(--space-3xl);
}

.loc-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--base);
  cursor: pointer;
}

.loc-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.1);
}

.loc-card__top {
  height: 180px;
  position: relative;
  background-size: cover;
  background-position: center;
}

.loc-card__top--charlotte {
  background-image: url('../images/gallery/teacher-craft-kids.png');
  background-color: var(--purple);
}
.loc-card__top--howard {
  background-image: url('../images/gallery/circle-time-wide.png');
  background-color: var(--teal);
}
.loc-card__top--concord {
  background-image: url('../images/gallery/teacher-table-drawing.png');
  background-color: var(--peach);
}
.loc-card__top--harrisburg {
  background-image: url('../images/gallery/outdoor-painting.png');
  background-color: var(--mint);
}
.loc-card__top--coming-soon {
  background: linear-gradient(135deg, var(--purple) 0%, var(--teal) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.loc-card__badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--white);
  color: var(--purple);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
}

.loc-card__body {
  padding: var(--space-xl);
}

.loc-card__body h3 {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--purple);
  margin-bottom: var(--space-xs);
}

.loc-card__address {
  font-size: var(--text-sm);
  color: var(--text-light);
  line-height: 1.5;
  margin-bottom: var(--space-md);
}

.loc-card__phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--text-xs);
  color: var(--teal);
  font-weight: 600;
  margin-bottom: var(--space-lg);
}

.loc-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  background: var(--purple);
  color: white;
  border: none;
  border-radius: var(--radius-pill);
  font-size: var(--text-xs);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--base);
  text-decoration: none;
  font-family: var(--font-body);
}

.loc-card__cta:hover {
  background: var(--teal);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ==========================================================
   ENROLLMENT STEPS — 4-step Process
   ========================================================== */
.enrollment-section {
  background: var(--white);
  padding: var(--space-4xl) 0;
}

.enrollment-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: var(--space-3xl);
  position: relative;
}

.enrollment-steps::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: var(--border-light);
  z-index: 0;
}

.enrollment-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 var(--space-md);
  position: relative;
  z-index: 1;
}

.enrollment-step__number {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-round);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: white;
  margin-bottom: var(--space-lg);
}

.enrollment-step:nth-child(1) .enrollment-step__number { background: var(--purple); }
.enrollment-step:nth-child(2) .enrollment-step__number { background: var(--teal); }
.enrollment-step:nth-child(3) .enrollment-step__number { background: var(--peach); }
.enrollment-step:nth-child(4) .enrollment-step__number { background: var(--mint); }

.enrollment-step h3 {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--purple);
  margin-bottom: var(--space-xs);
}

.enrollment-step p {
  font-size: var(--text-sm);
  color: var(--text-light);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .enrollment-steps { grid-template-columns: 1fr 1fr; gap: 40px; }
  .enrollment-steps::before { display: none; }
}
@media (max-width: 500px) {
  .enrollment-steps { grid-template-columns: 1fr; }
}

/* ==========================================================
   CTA BANNER — Full-width gradient with image blend
   ========================================================== */
.cta-banner {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--purple) 0%, var(--teal-dark) 100%);
  background-image: url('../images/gallery/preschool-five-smiling.png');
  background-size: cover;
  background-position: center 40%;
  background-blend-mode: overlay;
  padding: 100px 24px;
  text-align: center;
  color: white;
}

.cta-banner::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(235, 156, 129, 0.2) 0%, transparent 70%);
  bottom: -200px;
  left: -100px;
  pointer-events: none;
}

.cta-banner::after {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(113, 212, 192, 0.15) 0%, transparent 70%);
  top: -150px;
  right: -100px;
  pointer-events: none;
}

.cta-banner > * { position: relative; z-index: 1; }

.cta-banner h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 600;
  margin-bottom: var(--space-md);
  letter-spacing: -0.5px;
}

.cta-banner p {
  font-size: var(--text-lg);
  opacity: 0.8;
  max-width: 540px;
  margin: 0 auto var(--space-2xl);
  line-height: 1.6;
}

.cta-banner-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ==========================================================
   LEADERSHIP TEAM CARDS — About Page
   ========================================================== */
.leadership-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  margin-top: var(--space-3xl);
}

.leader-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  background: var(--white);
  transition: all var(--base);
}

.leader-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--mint);
}

.leader-card__top {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
  margin-bottom: var(--space-md);
}

.leader-card__avatar {
  flex: 0 0 64px;
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-weight: 700;
  letter-spacing: 0.02em;
  user-select: none;
  font-size: var(--text-sm);
}

.leader-card:nth-child(1) .leader-card__avatar { background: var(--mint-pale); color: var(--teal-dark); }
.leader-card:nth-child(2) .leader-card__avatar { background: var(--lavender-light); color: var(--purple); }
.leader-card:nth-child(3) .leader-card__avatar { background: var(--peach-light); color: var(--terracotta); }
.leader-card:nth-child(4) .leader-card__avatar { background: var(--lime-light); color: var(--teal-dark); }
.leader-card:nth-child(5) .leader-card__avatar { background: var(--mint-pale); color: var(--teal); }
.leader-card:nth-child(6) .leader-card__avatar { background: var(--lavender-light); color: var(--purple); }

.leader-card__role {
  margin: 0;
  font-size: var(--text-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-light);
  font-weight: 600;
}

.leader-card__name {
  margin: 4px 0 0;
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--purple);
}

.leader-card__bio {
  color: var(--text-light);
  line-height: 1.7;
  font-size: var(--text-sm);
  margin-top: var(--space-sm);
}

.leader-card__bio + .leader-card__bio { margin-top: var(--space-xs); }

@media (max-width: 1024px) {
  .leadership-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .leadership-grid { grid-template-columns: 1fr; }
}
