/* ══════════════════════════════════════════════════════
   Inspired Teaching — index Styles
   Palette: Warm Cream · Deep Teal · Soft Amber · Sage
   ══════════════════════════════════════════════════════ */

:root {
  --cream:      #F7F4EF;
  --cream-dark: #EDE9E2;
  --teal:       #1D7A6E;
  --teal-light: #2FA090;
  --teal-pale:  #D6EFEC;
  --amber:      #E8913A;
  --amber-pale: #FDF0E2;
  --sage:       #6BAA94;
  --ink:        #1C2B27;
  --ink-mid:    #3D5248;
  --ink-soft:   #6D8B82;
  --white:      #FFFFFF;

  --font-display: 'Lora', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;

  --radius-sm:  8px;
  --radius-md:  16px;
  --radius-lg:  24px;
  --radius-xl:  36px;

  --shadow-sm:  0 2px 8px rgba(28,43,39,.07);
  --shadow-md:  0 8px 28px rgba(28,43,39,.10);
  --shadow-lg:  0 20px 60px rgba(28,43,39,.14);

  --nav-h: 72px;
  --ease: cubic-bezier(.25,.8,.25,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.65;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── Scroll-reveal ──────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .65s var(--ease), transform .65s var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── Buttons ────────────────────────────────────────── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--teal); color: var(--white);
  font-family: var(--font-body); font-size: .9rem; font-weight: 500;
  padding: .6rem 1.4rem; border-radius: 100px; border: 2px solid var(--teal);
  cursor: pointer; transition: background .25s, box-shadow .25s, transform .2s;
}
.btn-primary:hover {
  background: var(--teal-light); border-color: var(--teal-light);
  box-shadow: 0 6px 22px rgba(29,122,110,.3); transform: translateY(-2px);
}
.btn-primary.btn-large { font-size: 1rem; padding: .8rem 2rem; }

.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--teal);
  font-family: var(--font-body); font-size: .9rem; font-weight: 500;
  padding: .6rem 1.4rem; border-radius: 100px; border: 2px solid var(--teal);
  cursor: pointer; transition: background .25s, color .25s, transform .2s;
}
.btn-outline:hover { background: var(--teal-pale); transform: translateY(-2px); }
.btn-outline.btn-large { font-size: 1rem; padding: .8rem 2rem; }

.btn-ghost {
  display: inline-flex; align-items: center;
  background: transparent; color: var(--ink-mid);
  font-family: var(--font-body); font-size: .9rem; font-weight: 500;
  padding: .6rem 1rem; border-radius: 100px; border: none;
  cursor: pointer; transition: color .2s, background .2s;
}
.btn-ghost:hover { color: var(--teal); background: var(--teal-pale); }

.btn-ghost-light {
  display: inline-flex; align-items: center;
  background: rgba(255,255,255,.15); color: var(--white);
  font-family: var(--font-body); font-size: 1rem; font-weight: 500;
  padding: .8rem 2rem; border-radius: 100px; border: 2px solid rgba(255,255,255,.35);
  cursor: pointer; transition: background .25s, transform .2s;
}
.btn-ghost-light:hover { background: rgba(255,255,255,.25); transform: translateY(-2px); }

/* ── Language Switcher ──────────────────────────────── */
.lang-switcher {
  display: inline-flex; align-items: center; gap: .35rem;
  background: var(--cream-dark); color: var(--ink-mid);
  font-family: var(--font-body); font-size: .82rem; font-weight: 600;
  padding: .4rem .85rem; border-radius: 100px; border: 1px solid var(--cream-dark);
  cursor: pointer; transition: background .2s, border-color .2s, transform .2s;
  letter-spacing: .03em; flex-shrink: 0;
}
.lang-switcher:hover {
  background: var(--teal-pale); border-color: rgba(29,122,110,.3);
  color: var(--teal); transform: translateY(-1px);
}
.lang-flag { font-size: 1rem; line-height: 1; }

/* ── Section layout ─────────────────────────────────── */
.section-inner { max-width: 1160px; margin: 0 auto; padding: 0 2rem; }

.section-header { text-align: center; margin-bottom: 4rem; }
.section-tag {
  display: inline-block; font-size: .78rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--teal); background: var(--teal-pale);
  padding: .3rem .9rem; border-radius: 100px; margin-bottom: 1rem;
}
.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.5vw, 2.75rem); font-weight: 700;
  color: var(--ink); line-height: 1.2; margin-bottom: .75rem;
}
.section-header h2 em { font-style: italic; color: var(--teal); }
.section-header p { color: var(--ink-soft); max-width: 480px; margin: 0 auto; }

/* ══════════════════════════════════════════════════════
   NAVBAR
   ══════════════════════════════════════════════════════ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h); display: flex; align-items: center;
  background: rgba(247,244,239,.88);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.navbar.scrolled { border-color: var(--cream-dark); box-shadow: var(--shadow-sm); }

.nav-inner {
  max-width: 1160px; width: 100%; margin: 0 auto; padding: 0 2rem;
  display: flex; align-items: center; gap: 2rem;
}

.nav-logo {
  display: flex; align-items: center; gap: .55rem;
  font-family: var(--font-display); font-size: 1.35rem; font-weight: 700;
  color: var(--ink); flex-shrink: 0;
}
.nav-logo-img { height: 36px; width: auto; object-fit: contain; }
.logo-text em { font-style: italic; color: var(--teal); }
.footer-logo .nav-logo-img { height: 32px; }

.nav-links { display: flex; align-items: center; gap: .25rem; flex: 1; }
.nav-link {
  font-size: .9rem; font-weight: 500; color: var(--ink-mid);
  padding: .45rem .85rem; border-radius: 100px;
  transition: color .2s, background .2s;
}
.nav-link:hover { color: var(--teal); background: var(--teal-pale); }

.nav-actions { display: flex; align-items: center; gap: .5rem; margin-left: auto; }

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px; margin-left: auto;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--ink); border-radius: 2px;
  transition: transform .3s, opacity .3s;
}

/* ══════════════════════════════════════════════════════
   HERO
   ══════════════════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  padding: calc(var(--nav-h) + 6rem) 2rem 5rem;
  max-width: 1160px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: center; gap: 4rem; position: relative;
}

.hero-bg-shapes { position: fixed; inset: 0; pointer-events: none; z-index: -1; overflow: hidden; }
.shape { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .4; }
.shape-1 {
  width: 560px; height: 560px;
  background: radial-gradient(circle, var(--teal-pale), transparent 70%);
  top: -100px; right: -100px;
}
.shape-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, var(--amber-pale), transparent 70%);
  bottom: 10%; left: -80px;
}
.shape-3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, #d4ece6, transparent 70%);
  top: 40%; left: 30%;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .82rem; font-weight: 500;
  color: var(--teal); background: var(--teal-pale);
  border: 1px solid rgba(29,122,110,.2);
  padding: .4rem 1rem; border-radius: 100px; margin-bottom: 1.5rem;
}
.badge-dot {
  width: 8px; height: 8px; background: var(--teal); border-radius: 50%; flex-shrink: 0;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%,100%{ box-shadow: 0 0 0 0 rgba(29,122,110,.4); }
  50%     { box-shadow: 0 0 0 6px rgba(29,122,110,0); }
}

.hero-heading {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.8rem); font-weight: 700;
  line-height: 1.1; color: var(--ink); margin-bottom: 1.25rem;
}
.hero-heading em { font-style: italic; color: var(--teal); position: relative; }
.hero-heading em::after {
  content: ''; position: absolute; bottom: 4px; left: 0; right: 0;
  height: 3px; background: linear-gradient(90deg, var(--teal), var(--amber));
  border-radius: 2px; transform: scaleX(0); transform-origin: left;
  animation: underlineIn 1s 1.2s var(--ease) forwards;
}
@keyframes underlineIn { to { transform: scaleX(1); } }

.hero-sub {
  font-size: 1.05rem; color: var(--ink-soft);
  max-width: 480px; margin-bottom: 2.25rem; line-height: 1.7;
}
.hero-ctas { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 3rem; }

.hero-stats { display: flex; align-items: center; gap: 1.5rem; }
.stat { display: flex; flex-direction: column; }
.stat-num {
  font-family: var(--font-display); font-size: 1.8rem; font-weight: 700;
  color: var(--ink); line-height: 1;
}
.stat-suffix { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: var(--teal); }
.stat-label  { font-size: .78rem; color: var(--ink-soft); font-weight: 500; margin-top: .15rem; }
.stat-divider { width: 1px; height: 36px; background: var(--cream-dark); }

.hero-visual { display: flex; flex-direction: column; align-items: center; gap: 1.5rem; }

.video-card {
  background: var(--white); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); overflow: hidden;
  width: 100%; max-width: 360px; border: 1px solid var(--cream-dark);
}
.video-thumb {
  height: 200px;
  background: linear-gradient(135deg, #1D7A6E 0%, #2FA090 50%, #6BAA94 100%);
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.video-thumb-bg {
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.play-btn {
  width: 60px; height: 60px;
  background: rgba(255,255,255,.2); backdrop-filter: blur(8px);
  border: 2px solid rgba(255,255,255,.4); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: white; position: relative; z-index: 1; cursor: pointer;
  transition: transform .25s, background .25s;
}
.play-btn svg { width: 28px; height: 28px; margin-left: 3px; }
.play-btn:hover { transform: scale(1.1); background: rgba(255,255,255,.35); }

.video-card-body { padding: 1.25rem 1.5rem 1.5rem; }
.video-tag {
  font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--teal); background: var(--teal-pale);
  padding: .2rem .6rem; border-radius: 100px; display: inline-block; margin-bottom: .6rem;
}
.video-card-body h4 {
  font-family: var(--font-display); font-size: 1.05rem; font-weight: 600;
  color: var(--ink); margin-bottom: .25rem;
}
.video-card-body p { font-size: .82rem; color: var(--ink-soft); }

.booking-pill {
  display: flex; align-items: center; gap: .85rem;
  background: var(--white); border: 1px solid var(--cream-dark);
  border-radius: var(--radius-lg); padding: .9rem 1.25rem;
  box-shadow: var(--shadow-md); width: 100%; max-width: 320px; align-self: flex-end;
}
.booking-icon { font-size: 1.5rem; line-height: 1; }
.pill-title { font-size: .78rem; font-weight: 600; color: var(--ink); line-height: 1.2; }
.pill-sub   { font-size: .72rem; color: var(--ink-soft); }
.pill-badge {
  margin-left: auto; background: var(--amber); color: var(--white);
  font-size: .75rem; font-weight: 600; padding: .3rem .75rem;
  border-radius: 100px; flex-shrink: 0;
}

.floating      { animation: floatA 4.5s ease-in-out infinite; }
.floating-slow { animation: floatB 5.5s ease-in-out infinite; }
@keyframes floatA { 0%,100%{transform:translateY(0)}50%{transform:translateY(-10px)} }
@keyframes floatB { 0%,100%{transform:translateY(0)}50%{transform:translateY(-7px)} }

/* ══════════════════════════════════════════════════════
   OFFERINGS
   ══════════════════════════════════════════════════════ */
.offerings { padding: 7rem 0; background: var(--white); position: relative; }
.offerings::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--cream-dark) 30%, var(--cream-dark) 70%, transparent);
}
.offerings-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }

.offering-card {
  background: var(--cream); border: 1px solid var(--cream-dark);
  border-radius: var(--radius-xl); padding: 2.5rem;
  transition: box-shadow .3s, transform .3s;
}
.offering-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.offering-icon-wrap {
  width: 60px; height: 60px; border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center; margin-bottom: 1.5rem;
}
.offering-icon-wrap svg { width: 28px; height: 28px; }
.icon-teal  { background: var(--teal-pale); color: var(--teal); }
.icon-amber { background: var(--amber-pale); color: var(--amber); }
.offering-card h3 {
  font-family: var(--font-display); font-size: 1.55rem; font-weight: 700;
  color: var(--ink); margin-bottom: .85rem;
}
.offering-card > p { color: var(--ink-soft); margin-bottom: 1.75rem; line-height: 1.7; }
.offering-features { display: flex; flex-direction: column; gap: .6rem; margin-bottom: 2rem; }
.offering-features li {
  display: flex; align-items: center; gap: .6rem;
  font-size: .88rem; font-weight: 500; color: var(--ink-mid);
}
.offering-features li svg { width: 16px; height: 16px; stroke: var(--teal); flex-shrink: 0; }
.offering-btn { font-size: .88rem; }

/* ══════════════════════════════════════════════════════
   SUBJECTS
   ══════════════════════════════════════════════════════ */
.subjects { padding: 7rem 0; background: var(--cream); }

/* Grade 4–7 banner */
.grade-banner {
  display: flex; align-items: center; justify-content: center;
  gap: 1.25rem; margin-top: 1.75rem;
}
.grade-badge {
  display: flex; flex-direction: column; align-items: center; gap: .3rem;
}
.grade-badge-num {
  font-family: var(--font-display); font-size: 2rem; font-weight: 700;
  color: var(--teal); line-height: 1;
  background: var(--teal-pale);
  width: 56px; height: 56px; border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
}
.grade-badge-label {
  font-size: .7rem; font-weight: 600; letter-spacing: .06em;
  text-transform: uppercase; color: var(--ink-soft);
}
.grade-range-line { display: flex; align-items: center; width: 80px; }
.grade-range-dot {
  width: 8px; height: 8px; background: var(--teal);
  border-radius: 50%; flex-shrink: 0;
}
.grade-range-track {
  flex: 1; height: 2px;
  background: linear-gradient(90deg, var(--teal), var(--amber)); border-radius: 2px;
}

/* 7 cards: 4 on row 1, 3 centred on row 2 */
.subjects-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  justify-content: center;
}
.subject-card {
  /* 4 per row: (100% - 3 gaps) / 4 */
  flex: 0 0 calc(25% - 0.94rem);
  min-width: 150px;
  background: var(--white); border: 1px solid var(--cream-dark);
  border-radius: var(--radius-lg); padding: 1.75rem 1.5rem;
  display: flex; flex-direction: column; align-items: center;
  text-align: center; gap: .5rem; cursor: pointer;
  transition: box-shadow .25s, transform .25s, border-color .25s;
}
.subject-card:hover {
  box-shadow: var(--shadow-md); transform: translateY(-5px); border-color: var(--teal-pale);
}
.subject-emoji { font-size: 2rem; line-height: 1; }
.subject-card h4 {
  font-family: var(--font-display); font-size: .95rem; font-weight: 700; color: var(--ink);
}
.subject-grade-tag {
  font-size: .72rem; font-weight: 600;
  color: var(--teal); background: var(--teal-pale);
  padding: .15rem .55rem; border-radius: 100px; letter-spacing: .03em;
}

/* ══════════════════════════════════════════════════════
   HOW IT WORKS
   ══════════════════════════════════════════════════════ */
.how { padding: 7rem 0; background: var(--white); position: relative; }
.how::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--cream-dark) 30%, var(--cream-dark) 70%, transparent);
}
.steps-row { display: flex; align-items: flex-start; gap: 1rem; }
.step {
  flex: 1; padding: 2rem; background: var(--cream);
  border: 1px solid var(--cream-dark); border-radius: var(--radius-lg);
}
.step-number {
  font-family: var(--font-display); font-size: 2.5rem; font-weight: 700;
  color: var(--teal-pale); line-height: 1; margin-bottom: .75rem;
}
.step h4 {
  font-family: var(--font-display); font-size: 1.1rem; font-weight: 700;
  color: var(--ink); margin-bottom: .5rem;
}
.step p { font-size: .88rem; color: var(--ink-soft); line-height: 1.65; }
.step-arrow { font-size: 1.5rem; color: var(--teal-pale); padding-top: 2.5rem; flex-shrink: 0; }

/* ══════════════════════════════════════════════════════
   TESTIMONIALS
   ══════════════════════════════════════════════════════ */
.testimonials { padding: 7rem 0; background: var(--cream); }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.testimonial-card {
  background: var(--white); border: 1px solid var(--cream-dark);
  border-radius: var(--radius-lg); padding: 2rem; position: relative;
  transition: box-shadow .3s, transform .3s;
}
.testimonial-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.quote-mark {
  font-family: var(--font-display); font-size: 4rem; line-height: .7;
  color: var(--teal-pale); margin-bottom: .75rem; display: block;
}
.testimonial-card > p {
  font-size: .92rem; color: var(--ink-mid); line-height: 1.7;
  margin-bottom: 1.5rem; font-style: italic; font-family: var(--font-display);
}
.testimonial-author { display: flex; align-items: center; gap: .75rem; }
.avatar {
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .75rem; font-weight: 700; color: var(--white); flex-shrink: 0;
}
.avatar-teal  { background: var(--teal); }
.avatar-green { background: var(--sage); }
.avatar-amber { background: var(--amber); }
.testimonial-author strong { display: block; font-size: .88rem; color: var(--ink); }
.testimonial-author span   { font-size: .78rem; color: var(--ink-soft); }

/* ══════════════════════════════════════════════════════
   CTA BANNER
   ══════════════════════════════════════════════════════ */
.cta-banner {
  background: linear-gradient(135deg, var(--ink) 0%, var(--teal) 100%);
  padding: 7rem 2rem; text-align: center; position: relative; overflow: hidden;
}
.cta-bg-shape {
  position: absolute; width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(47,160,144,.25), transparent 70%);
  top: 50%; left: 50%; transform: translate(-50%, -50%); pointer-events: none;
}
.cta-content { position: relative; z-index: 1; }
.cta-banner h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; color: var(--white); margin-bottom: .75rem;
}
.cta-banner p { color: rgba(255,255,255,.72); margin-bottom: 2.5rem; font-size: 1.05rem; }
.cta-actions { display: flex; align-items: center; justify-content: center; gap: 1rem; flex-wrap: wrap; }
.cta-actions .btn-primary { background: var(--white); color: var(--teal); border-color: var(--white); }
.cta-actions .btn-primary:hover { background: var(--cream); }

/* ══════════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════════ */
.footer { background: var(--ink); color: rgba(255,255,255,.65); padding: 4.5rem 2rem 2rem; }
.footer-inner {
  max-width: 1160px; margin: 0 auto;
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 3rem;
  padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,.1); margin-bottom: 2rem;
}
.footer-brand .nav-logo { color: var(--white); margin-bottom: 1rem; display: inline-flex; }
.footer-brand .logo-text em { color: var(--teal-light); }
.footer-brand p { font-size: .88rem; line-height: 1.65; max-width: 240px; }
.footer-cols { display: contents; }
.footer-col { display: flex; flex-direction: column; gap: .6rem; }
.footer-col h5 {
  font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--white); margin-bottom: .25rem;
}
.footer-col a { font-size: .88rem; color: rgba(255,255,255,.55); transition: color .2s; }
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  max-width: 1160px; margin: 0 auto;
  display: flex; justify-content: space-between;
  font-size: .8rem; color: rgba(255,255,255,.35);
}

/* ── Language transition ────────────────────────────── */
body.lang-switching [data-i18n] { opacity: 0; transition: opacity .18s ease; }
[data-i18n] { transition: opacity .18s ease; }

/* ══════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr; text-align: center;
    padding-top: calc(var(--nav-h) + 4rem);
  }
  .hero-badge, .hero-ctas, .hero-stats { justify-content: center; }
  .hero-sub { margin: 0 auto 2.25rem; }
  .hero-visual { align-items: center; }
  .booking-pill { align-self: center; }
  .offerings-grid { grid-template-columns: 1fr; }
  /* 2 subject cards per row on tablet */
  .subject-card { flex: 0 0 calc(50% - 0.625rem); }
  .testimonials-grid { grid-template-columns: 1fr; }
  .steps-row { flex-direction: column; }
  .step-arrow { transform: rotate(90deg); align-self: center; padding-top: 0; }
  .nav-links, .nav-actions { display: none; }
  .hamburger { display: flex; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: absolute; top: var(--nav-h); left: 0; right: 0;
    background: var(--cream); border-bottom: 1px solid var(--cream-dark);
    padding: 1rem 2rem 1.5rem; gap: .25rem;
  }
}

@media (max-width: 560px) {
  .subject-card { flex: 0 0 calc(50% - 0.625rem); }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: .5rem; text-align: center; }
  .hero-stats { flex-wrap: wrap; gap: 1.25rem; }
  .nav-logo-img { height: 28px; }
}
/* ══════════════════════════════════════════════════════
   SKOOL COMMUNITY SECTION
   ══════════════════════════════════════════════════════ */
.community { padding: 7rem 0; background: var(--white); position: relative; }
.community::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--cream-dark) 30%, var(--cream-dark) 70%, transparent);
}

.skool-features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}

.skool-feature {
  background: var(--cream);
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: box-shadow .25s, transform .25s, border-color .25s;
}
.skool-feature:hover {
  box-shadow: var(--shadow-md); transform: translateY(-4px); border-color: var(--teal-pale);
}
.skool-feature-icon {
  font-size: 2.25rem; line-height: 1;
  margin-bottom: 1rem; display: block;
}
.skool-feature h4 {
  font-family: var(--font-display); font-size: 1rem; font-weight: 700;
  color: var(--ink); margin-bottom: .5rem;
}
.skool-feature p {
  font-size: .87rem; color: var(--ink-soft); line-height: 1.65;
}

.skool-cta-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem; flex-wrap: wrap;
  background: linear-gradient(135deg, var(--teal-pale) 0%, var(--amber-pale) 100%);
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius-xl);
  padding: 2.5rem 3rem;
}

.skool-logo-badge {
  display: flex; align-items: center; gap: 1rem;
}
.skool-logo-icon {
  font-size: 2.5rem; line-height: 1;
  background: var(--white); border-radius: var(--radius-md);
  width: 60px; height: 60px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-sm);
}
.skool-logo-name {
  display: block;
  font-family: var(--font-display); font-size: 1.25rem; font-weight: 700;
  color: var(--ink);
}
.skool-logo-platform {
  display: block;
  font-size: .85rem; color: var(--teal); font-weight: 600;
}

.skool-join-btn {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: 1rem; padding: .85rem 2rem;
}

/* Hero pill adjustment for Skool variant */
.skool-pill {
  display: flex; align-items: center; gap: .75rem;
  background: var(--white); border: 1px solid var(--cream-dark);
  border-radius: var(--radius-xl); padding: .75rem 1.25rem .75rem .9rem;
  box-shadow: var(--shadow-md);
  position: absolute; bottom: -1.5rem; left: 1rem;
}
.skool-pill-icon { font-size: 1.5rem; line-height: 1; }

/* Footer slim variant (fewer columns) */
.footer-inner--slim {
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
}

/* ══════════════════════════════════════════════════════
   RESPONSIVE — SKOOL ADDITIONS
   ══════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .skool-features-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner--slim { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .skool-features-grid { grid-template-columns: 1fr 1fr; }
  .skool-cta-row { flex-direction: column; align-items: flex-start; padding: 2rem; }
}

@media (max-width: 560px) {
  .skool-features-grid { grid-template-columns: 1fr; }
  .footer-inner--slim { grid-template-columns: 1fr; gap: 2rem; }
}