/* ============================================================
   Lions Junior College — Frontend CSS
   Converted from Claude Design output (styles.css + inner.css
   + all page-specific CSS) into a single external stylesheet.
   Used by: app/Views/layouts/frontend/header.php
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@500;600;700;800;900&family=DM+Sans:wght@300;400;500;600;700&display=swap');

/* ── DESIGN TOKENS ── */
:root {
  --maroon:        #1F5135;
  --maroon-deep:   #163C27;
  --maroon-dark:   #2D6A45;
  --maroon-footer: #0E2418;
  --maroon-soft:   #2D6A45;
  --maroon-accent: #8B1A1A;

  --gold:          #D4A323;
  --gold-bright:   #EFC04A;
  --gold-deep:     #A88517;
  --olive:         #8B7A2F;

  --cream:         #FDF8EF;
  --cream-warm:    #F6EFDF;
  --cream-green:   #EFF4EA;
  --white:         #FFFFFF;

  --ink:           #11170F;
  --ink-muted:     #4F5650;
  --ink-faint:     #82897F;
  --border-cream:  #E2E6D6;
  --border-cool:   #E0E4DA;

  --shadow-sm: 0 1px 2px rgba(14,36,24,.06);
  --shadow-md: 0 8px 24px -8px rgba(14,36,24,.14);
  --shadow-lg: 0 24px 48px -16px rgba(14,36,24,.26);
  --shadow-xl: 0 36px 80px -20px rgba(14,36,24,.34);

  --r-sm:   4px;
  --r-md:   8px;
  --r-lg:   14px;
  --r-xl:   22px;
  --r-full: 9999px;

  --ease:      cubic-bezier(0.2,0.8,0.2,1);
  --container: 1240px;

  --f-display: 'Playfair Display', Georgia, serif;
  --f-body:    'DM Sans', system-ui, -apple-system, sans-serif;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
h1,h2,h3,h4,h5 {
  font-family: var(--f-display);
  font-weight: 700;
  margin: 0;
  letter-spacing: -0.01em;
  color: var(--maroon-dark);
  line-height: 1.15;
}
p  { margin: 0; }
a  { color: inherit; text-decoration: none; transition: color .2s var(--ease); }
img,svg { display: block; max-width: 100%; }
ul { list-style: none; padding: 0; margin: 0; }
button { font-family: var(--f-body); }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

/* ── TOPBAR ── */
.topbar {
  background: var(--maroon);
  color: rgba(255,255,255,.94);
  font-size: 13.5px;
  border-bottom: 1px solid rgba(201,162,39,.25);
}
.topbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 9px 0; gap: 18px;
}
.topbar-left  { display: flex; align-items: center; column-gap: 22px; row-gap: 4px; flex-wrap: wrap; }
.topbar-item  { display: inline-flex; align-items: center; gap: 8px; }
.topbar-item svg { width: 14px; height: 14px; color: var(--gold-bright); }
.topbar-right { display: flex; align-items: center; gap: 16px; }
.topbar-socials { display: inline-flex; gap: 6px; }
.topbar-socials a {
  width: 26px; height: 26px; display: inline-grid; place-items: center;
  border-radius: var(--r-full);
  background: rgba(255,255,255,.08);
  color: #fff;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.topbar-socials a:hover { background: var(--gold); color: var(--maroon-footer); }
.topbar-socials svg { width: 13px; height: 13px; }

.cbse-pill {
  display: inline-flex; align-items: center; gap: 6px;
  background: linear-gradient(180deg, var(--gold-bright), var(--gold));
  color: #3a2a06;
  font-weight: 700; font-size: 11.5px;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 5px 12px; border-radius: var(--r-full);
  box-shadow: 0 1px 0 rgba(255,255,255,.45) inset, 0 1px 2px rgba(0,0,0,.15);
}
.cbse-pill svg { width: 12px; height: 12px; }
.mpd-pill {
  cursor: pointer;
  transition: transform .12s var(--ease), box-shadow .2s var(--ease);
}
.mpd-pill:hover {
  transform: translateY(-1px);
  box-shadow: 0 1px 0 rgba(255,255,255,.45) inset, 0 4px 10px rgba(0,0,0,.2);
}

/* ── NAVBAR ── */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--border-cool);
  transition: box-shadow .2s var(--ease);
}
.nav.is-scrolled { box-shadow: 0 2px 14px rgba(0,0,0,.08); }
.nav-inner {
  display: flex; align-items: center; justify-content: flex-start;
  padding: 10px 0; gap: 6px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark { width: 46px; height: 46px; flex: 0 0 46px; }
.brand-mark img { width: 100%; height: 100%; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name {
  font-family: var(--f-display); font-weight: 800;
  font-size: 18px; color: var(--maroon-dark);
}
.brand-sub {
  font-size: 10px; font-weight: 500; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--ink-muted); margin-top: 2px;
}
.nav-links { display: flex; align-items: center; gap: 0; flex-wrap: nowrap; }
.nav-links a {
  font-size: 13px; font-weight: 500; color: var(--ink);
  padding: 6px 9px; border-radius: var(--r-sm);
  white-space: nowrap; position: relative;
  transition: color .2s var(--ease), background .2s var(--ease);
}
.nav-links a:hover { color: var(--maroon-dark); background: var(--cream); }
.nav-links a.is-active { color: var(--maroon-dark); }
.nav-links a.is-active::after {
  content: ""; position: absolute; left: 8px; right: 8px; bottom: 2px;
  height: 2px; background: var(--gold); border-radius: 2px;
}
.nav-cta { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.erp-btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: linear-gradient(180deg, var(--gold-bright), var(--gold));
  color: #2c1f04; font-weight: 700; font-size: 12px;
  padding: 7px 12px; border-radius: var(--r-md);
  border: 1px solid var(--gold-deep);
  box-shadow: 0 1px 0 rgba(255,255,255,.4) inset, var(--shadow-sm);
  transition: transform .12s var(--ease), box-shadow .2s var(--ease);
}
.erp-btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }
.erp-btn svg { width: 12px; height: 12px; }

/* MPD Nav Button with sheen animation */
.mpd-btn {
  position: relative;
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: 0.04em;
  color: var(--maroon-dark);
  background: linear-gradient(180deg, #FFF8E0, #FBEAB2);
  padding: 9px 14px; border-radius: var(--r-md);
  border: 1px solid var(--gold);
  box-shadow: 0 1px 0 rgba(255,255,255,.6) inset, var(--shadow-sm);
  transition: transform .12s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
  overflow: hidden;
}
.mpd-btn::before {
  content: ""; position: absolute; left: -60%; top: 0; bottom: 0; width: 60%;
  background: linear-gradient(110deg, transparent, rgba(255,255,255,.7), transparent);
  transform: skewX(-20deg);
  animation: mpd-sheen 3.6s ease-in-out infinite;
}
@keyframes mpd-sheen {
  0%,60%  { transform: translateX(0) skewX(-20deg); }
  100%    { transform: translateX(360%) skewX(-20deg); }
}
.mpd-btn:hover {
  transform: translateY(-1px);
  background: linear-gradient(180deg, var(--gold-bright), var(--gold));
  color: var(--maroon-footer);
  box-shadow: var(--shadow-md);
}

/* ── TICKER ── */
.ticker {
  background: var(--maroon-deep);
  color: #fff;
  border-bottom: 1px solid rgba(201,162,39,.25);
  overflow: hidden;
}
.ticker-inner {
  display: flex; align-items: stretch;
  max-width: var(--container); margin: 0 auto;
}
.ticker-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: linear-gradient(180deg, var(--gold-bright), var(--gold));
  color: #2c1f04;
  font-weight: 800; font-size: 12px; letter-spacing: 0.15em;
  padding: 10px 16px; flex: 0 0 auto;
  text-transform: uppercase; position: relative;
}
.ticker-badge::after {
  content: ""; position: absolute; right: -10px; top: 0; bottom: 0; width: 12px;
  background: linear-gradient(180deg, var(--gold-bright), var(--gold));
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}
.ticker-badge svg { width: 13px; height: 13px; }
.ticker-track {
  flex: 1; overflow: hidden; padding: 10px 20px 10px 28px;
  mask-image: linear-gradient(to right, transparent, #000 24px, #000 calc(100% - 24px), transparent);
}
.ticker-content {
  display: inline-flex; gap: 56px; white-space: nowrap;
  animation: ticker-scroll 40s linear infinite;
  font-size: 14px; font-weight: 500;
}
.ticker-content span { display: inline-flex; align-items: center; gap: 8px; }
.ticker-content span::before {
  content: ""; width: 5px; height: 5px; background: var(--gold-bright);
  border-radius: 50%; display: inline-block;
}
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── COMMON SECTION STYLES ── */
.section       { padding: 96px 0; }
.section-tight { padding: 80px 0; }

.section-tag {
  font-size: 12.5px; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--maroon-dark);
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 14px;
}
.section-tag::before { content: ""; width: 28px; height: 2px; background: var(--gold); }

.section-title {
  font-size: clamp(32px, 3.6vw, 46px);
  font-weight: 700; color: var(--maroon-dark); margin-bottom: 16px;
}
.section-title .gold { color: var(--gold); font-style: italic; font-weight: 600; }

.section-head-center { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-head-center .section-tag { justify-content: center; }
.section-head-center .section-tag::before,
.section-head-center .section-tag::after { content: ""; width: 28px; height: 2px; background: var(--gold); }
.section-head-center .rule {
  display: block; width: 56px; height: 3px; background: var(--gold);
  margin: 18px auto 14px; border-radius: 2px;
}
.section-lede { font-size: 16.5px; color: var(--ink-muted); line-height: 1.7; }

/* ── BUTTONS ── */
.btn-gold {
  display: inline-flex; align-items: center; gap: 10px;
  background: linear-gradient(180deg, var(--gold-bright), var(--gold));
  color: #2a1d04; font-weight: 700; font-size: 15px;
  padding: 14px 24px; border-radius: var(--r-md);
  border: 1px solid var(--gold-deep);
  box-shadow: 0 2px 0 rgba(0,0,0,.12), 0 1px 0 rgba(255,255,255,.45) inset;
  transition: transform .12s var(--ease), box-shadow .2s var(--ease);
  cursor: pointer;
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-gold svg { width: 16px; height: 16px; }

.btn-outline {
  display: inline-flex; align-items: center; gap: 10px;
  background: transparent; color: #fff;
  font-weight: 600; font-size: 15px;
  padding: 14px 22px; border-radius: var(--r-md);
  border: 1.5px solid rgba(255,255,255,.55);
  transition: background .2s var(--ease), border-color .2s var(--ease);
  cursor: pointer;
}
.btn-outline:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.btn-outline svg { width: 16px; height: 16px; }

/* ── PAGE BANNER (all inner pages) ── */
.page-banner {
  position: relative;
  background:
    radial-gradient(900px 500px at 90% -10%, rgba(212,163,35,.22), transparent 60%),
    radial-gradient(700px 400px at 0% 110%, rgba(212,163,35,.12), transparent 55%),
    linear-gradient(160deg, var(--maroon-deep) 0%, var(--maroon) 55%, var(--maroon-dark) 100%);
  color: #fff;
  overflow: hidden;
  padding: 24px 0 22px;
  border-bottom: 3px solid var(--gold);
}
.page-banner::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 30px 30px; opacity: .5;
  pointer-events: none;
}
.page-banner-deco {
  position: absolute; right: -100px; top: -60px;
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(212,163,35,.18), transparent 65%);
  border-radius: 50%; pointer-events: none;
}
.page-banner-inner { position: relative; text-align: center; }
.page-banner h1 {
  color: #fff;
  font-size: clamp(36px, 4.4vw, 54px);
  font-weight: 800; margin: 0 0 12px;
  letter-spacing: -0.02em; line-height: 1.1;
}
.page-banner-sub {
  color: rgba(255,255,255,.75);
  font-size: 15.5px;
  font-family: var(--f-display); font-style: italic;
  margin: 0 0 18px;
}
.breadcrumb {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 500;
  background: rgba(0,0,0,.22);
  padding: 8px 16px; border-radius: var(--r-full);
  border: 1px solid rgba(212,163,35,.4);
}
.breadcrumb a { color: var(--gold-bright); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb-sep  { color: rgba(255,255,255,.4); font-weight: 600; }
.breadcrumb-current { color: #fff; }

/* ── HERO ── */
.hero {
  position: relative;
  background:
    radial-gradient(1100px 600px at 85% -10%, rgba(212,163,35,.20), transparent 60%),
    radial-gradient(900px 500px at 0% 100%, rgba(212,163,35,.12), transparent 55%),
    linear-gradient(160deg, var(--maroon-deep) 0%, var(--maroon) 55%, var(--maroon-dark) 100%);
  color: #fff;
  overflow: hidden;
  padding: 86px 0 130px;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 28px 28px; pointer-events: none; opacity: .55;
}
.hero-deco {
  position: absolute; right: -120px; top: -120px;
  width: 460px; height: 460px; border-radius: 50%;
  background: radial-gradient(circle, rgba(201,162,39,.16), transparent 65%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px;
  align-items: center;
}
.hero-slides { position: relative; min-height: 460px; }
.hero-slide {
  position: absolute; inset: 0;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .6s var(--ease), transform .6s var(--ease), visibility 0s linear .6s;
  display: flex; flex-direction: column; justify-content: center;
}
.hero-slide.is-active {
  opacity: 1; visibility: visible; transform: translateY(0);
  transition: opacity .6s var(--ease), transform .6s var(--ease), visibility 0s linear 0s;
}
.hero-controls {
  position: absolute; left: 0; right: 0; bottom: -8px;
  display: flex; align-items: center; gap: 14px; z-index: 2;
}
.hero-arrow {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,.08); color: #fff;
  border: 1px solid rgba(255,255,255,.25);
  display: grid; place-items: center; cursor: pointer;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.hero-arrow:hover { background: var(--gold); color: var(--maroon-footer); border-color: var(--gold); }
.hero-dots { display: flex; gap: 8px; }
.hero-dot {
  width: 24px; height: 4px; border: 0; padding: 0; border-radius: 4px;
  cursor: pointer; background: rgba(255,255,255,.25);
  transition: background .2s var(--ease), width .2s var(--ease);
}
.hero-dot.is-active { background: var(--gold-bright); width: 36px; }
.hero-counter {
  margin-left: auto; display: inline-flex; align-items: center; gap: 8px;
  color: rgba(255,255,255,.7); font-size: 13px;
  font-family: var(--f-display); font-style: italic;
}
.hero-counter i { display: inline-block; width: 22px; height: 1px; background: rgba(255,255,255,.4); }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(201,162,39,.16); border: 1px solid rgba(201,162,39,.55);
  color: var(--gold-bright); padding: 7px 14px; border-radius: var(--r-full);
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
}
.hero-badge svg { width: 13px; height: 13px; }
.hero h1 {
  color: #fff; font-size: clamp(40px, 5.4vw, 72px);
  font-weight: 800; margin: 22px 0; line-height: 1.05; letter-spacing: -0.02em;
}
.hero h1 .gold {
  color: var(--gold-bright); font-style: italic; font-weight: 600;
  position: relative; display: inline-block;
}
.hero h1 .gold::after {
  content: ""; position: absolute; left: 4%; right: 4%; bottom: 4px;
  height: 6px; background: rgba(201,162,39,.28); border-radius: 4px; z-index: -1;
}
.hero-lede { font-size: 17px; line-height: 1.7; color: rgba(255,255,255,.84); max-width: 540px; margin-bottom: 36px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-cards { display: grid; gap: 16px; }
.hero-card {
  display: flex; gap: 16px; align-items: flex-start;
  background: rgba(0,0,0,.28); backdrop-filter: blur(6px);
  border: 1px solid rgba(201,162,39,.28); border-radius: var(--r-lg);
  padding: 20px 22px;
  transition: transform .25s var(--ease), border-color .25s var(--ease);
}
.hero-card:hover { transform: translateX(-4px); border-color: rgba(201,162,39,.6); }
.hero-card-icon {
  flex: 0 0 48px; width: 48px; height: 48px;
  display: grid; place-items: center;
  background: linear-gradient(180deg, var(--gold-bright), var(--gold-deep));
  color: #2a1d04; border-radius: var(--r-md);
}
.hero-card-icon svg { width: 22px; height: 22px; }
.hero-card h4 { color: #fff; font-size: 17px; margin-bottom: 4px; font-weight: 700; }
.hero-card p  { font-size: 13.5px; color: rgba(255,255,255,.72); line-height: 1.55; }

/* ── STATS BAR ── */
.stats { background: var(--white); border-bottom: 1px solid var(--border-cool); position: relative; z-index: 1; }
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); padding: 44px 0; }
.stat { text-align: center; padding: 8px 16px; position: relative; }
.stat + .stat::before {
  content: ""; position: absolute; left: 0; top: 22%; bottom: 22%;
  width: 1px; background: var(--border-cool);
}
.stat-num {
  font-family: var(--f-display); font-weight: 800;
  font-size: clamp(38px, 4.2vw, 56px);
  color: var(--maroon-dark); line-height: 1; letter-spacing: -0.02em;
}
.stat-num .plus, .stat-num .pct { color: var(--gold); }
.stat-label { margin-top: 10px; font-size: 13.5px; font-weight: 500; color: var(--ink-muted); text-transform: uppercase; letter-spacing: 0.12em; }

/* ── ABOUT ── */
.about { background: var(--cream); }
.about-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: center; }
.about-media {
  position: relative; border-radius: var(--r-xl);
  overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 5/6;
}
.about-media-img {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, rgba(31,81,53,.75), rgba(14,36,24,.95));
  display: grid; place-items: center; color: rgba(255,255,255,.7);
  font-family: var(--f-display); font-style: italic; position: relative;
}
.about-media-img::before {
  content: ""; position: absolute; inset: 18px;
  border: 1px solid rgba(255,255,255,.18); border-radius: var(--r-lg);
}
.about-media-img img { width: 100%; height: 100%; object-fit: cover; }
.about-media-img .placeholder-icon { width: 110px; height: 110px; opacity: .35; color: var(--gold-bright); }
.about-media-cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 28px 30px;
  background: linear-gradient(transparent, rgba(0,0,0,.6)); color: #fff;
}
.about-media-cap small { display: block; color: var(--gold-bright); font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; font-size: 11.5px; margin-bottom: 4px; }
.about-media-cap strong { font-family: var(--f-display); font-size: 22px; font-weight: 700; }
.est-badge {
  position: absolute; right: -22px; top: -22px;
  width: 116px; height: 116px; display: grid; place-items: center; text-align: center;
  background: radial-gradient(circle at 30% 25%, var(--gold-bright), var(--gold-deep));
  color: var(--maroon-footer); border-radius: 50%;
  font-family: var(--f-display); font-weight: 800; line-height: 1;
  box-shadow: var(--shadow-md), 0 0 0 6px var(--cream), 0 0 0 7px var(--gold);
  transform: rotate(-8deg);
}
.est-badge small { display: block; font-size: 10px; font-weight: 700; letter-spacing: 0.2em; opacity: .8; margin-bottom: 3px; font-family: var(--f-body); }
.est-badge b     { font-size: 30px; }
.about-body p    { color: var(--ink-muted); font-size: 16px; line-height: 1.75; margin-bottom: 16px; }
.about-body p strong { color: var(--ink); font-weight: 600; }
.about-content-text { color: var(--ink-muted); font-size: 16px; line-height: 1.75; margin-bottom: 16px; text-align: justify; }
.about-content-text p { color: var(--ink-muted); font-size: 16px; line-height: 1.75; margin-bottom: 12px; text-align: justify; }
.about-content-text strong, .about-content-text b { color: var(--ink); font-weight: 600; }
.about-content-text h1,.about-content-text h2,.about-content-text h3 { font-size:17px; font-weight:700; color:var(--ink); margin-bottom:8px; }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; margin: 24px 0 32px; }
.check  { display: flex; align-items: flex-start; gap: 10px; font-size: 14.5px; color: var(--ink); font-weight: 500; }
.check-mark {
  flex: 0 0 22px; width: 22px; height: 22px;
  background: var(--gold); color: #fff; border-radius: 50%;
  display: grid; place-items: center; margin-top: 2px;
}
.check-mark svg { width: 12px; height: 12px; }

/* ── WHY CHOOSE US ── */
.why { background: var(--white); }
.why-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.feature {
  background: var(--white); border: 1px solid var(--border-cool);
  border-radius: var(--r-lg); padding: 32px 26px;
  position: relative; overflow: hidden;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.feature::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px;
  background: var(--maroon-dark); transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.feature:hover::before { transform: scaleX(1); }
.feature-icon {
  width: 64px; height: 64px; display: grid; place-items: center;
  background: linear-gradient(180deg, var(--cream-warm), var(--cream));
  border: 1px solid var(--border-cream); color: var(--maroon-dark);
  border-radius: var(--r-md); margin-bottom: 22px;
  transition: background .3s var(--ease), color .3s var(--ease);
}
.feature:hover .feature-icon {
  background: linear-gradient(180deg, var(--gold-bright), var(--gold));
  color: var(--maroon-footer); border-color: var(--gold-deep);
}
.feature-icon svg { width: 28px; height: 28px; }
.feature h3 { color: var(--maroon-dark); font-size: 21px; margin-bottom: 10px; }
.feature p  { font-size: 14.5px; color: var(--ink-muted); line-height: 1.65; text-align: justify; }

/* ── LEADERSHIP ── */
.leadership {
  background:
    radial-gradient(900px 500px at 90% 10%, rgba(201,162,39,.15), transparent 60%),
    linear-gradient(180deg, var(--maroon-deep), var(--maroon));
  color: #fff; position: relative; overflow: hidden;
}
.leadership::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 30px 30px; opacity: .4;
}
.leadership .section-tag { color: var(--gold-bright); }
.leadership .section-tag::before, .leadership .section-tag::after { background: var(--gold); }
.leadership .section-title { color: #fff; }
.leadership .section-lede  { color: rgba(255,255,255,.74); }
.leader-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; position: relative; }
.leader-card {
  background: rgba(255,255,255,.04); border: 1px solid rgba(201,162,39,.3);
  backdrop-filter: blur(4px); border-radius: var(--r-xl);
  padding: 36px 36px 32px; position: relative;
  transition: transform .25s var(--ease), border-color .25s var(--ease);
}
.leader-card:hover { transform: translateY(-4px); border-color: rgba(201,162,39,.6); }
.leader-quote-mark {
  position: absolute; right: 28px; top: 18px;
  font-family: var(--f-display); font-size: 100px; line-height: 1;
  color: rgba(201,162,39,.18); pointer-events: none;
}
.leader-head  { display: flex; gap: 18px; align-items: center; margin-bottom: 22px; }
.leader-avatar {
  width: 72px; height: 72px; flex: 0 0 72px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold-deep));
  border: 3px solid rgba(201,162,39,.5);
  display: grid; place-items: center;
  color: var(--maroon-footer); font-family: var(--f-display); font-weight: 800; font-size: 24px;
}
.leader-avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.leader-meta  { display: flex; flex-direction: column; }
.leader-role  { font-size: 11.5px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-bright); }
.leader-name  { font-family: var(--f-display); font-size: 24px; font-weight: 700; color: #fff; margin-top: 2px; }
.leader-desig { font-size: 13px; color: rgba(255,255,255,.65); margin-top: 2px; }
.leader-quote { font-family: var(--f-display); font-style: italic; font-size: 17px; line-height: 1.7; color: rgba(255,255,255,.88); margin-bottom: 22px; }
.read-more {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--gold-bright); font-weight: 600; font-size: 14px;
  transition: gap .25s var(--ease), color .2s var(--ease);
}
.read-more:hover { gap: 12px; color: #fff; }
.read-more svg { width: 14px; height: 14px; }

/* ── EVENTS ── */
.events { background: var(--cream); padding: 44px 0; }
.events .section-head-center { margin-bottom: 36px; }
.events-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 36px; align-items: stretch; }
.event-featured {
  background: var(--white); border: 1px solid var(--border-cream);
  border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-md);
  display: flex; flex-direction: column; position: relative;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.event-featured:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.event-img {
  aspect-ratio: 16/8; position: relative;
  background: linear-gradient(135deg, #2D6A45, #0E2418); overflow: hidden;
}
.event-img::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 70%, rgba(201,162,39,.32), transparent 50%);
}
.event-img img { width: 100%; height: 100%; object-fit: cover; }
.event-img-glyph {
  position: absolute; inset: 0; display: grid; place-items: center;
  color: rgba(201,162,39,.32); z-index: 1;
}
.event-img-glyph svg { width: 130px; height: 130px; }
.event-date-chip {
  position: absolute; top: 22px; left: 22px; z-index: 2;
  background: var(--white); color: var(--maroon-dark);
  text-align: center; padding: 10px 14px; border-radius: var(--r-md);
  box-shadow: var(--shadow-md); font-family: var(--f-display); line-height: 1; font-weight: 700;
}
.event-date-chip b     { display: block; font-size: 26px; }
.event-date-chip small { display: block; font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-deep); margin-top: 4px; font-family: var(--f-body); }
.event-tag-chip {
  position: absolute; top: 22px; right: 22px; z-index: 2;
  background: var(--gold); color: var(--maroon-footer);
  font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 6px 12px; border-radius: var(--r-full);
}
.event-body { padding: 26px 28px 28px; flex: 1; display: flex; flex-direction: column; }
.event-body h3 { color: var(--maroon-dark); font-size: 26px; margin-bottom: 12px; line-height: 1.25; }
.event-body p  { color: var(--ink-muted); font-size: 14.5px; line-height: 1.7; margin-bottom: 18px; }
.event-meta { display: flex; gap: 22px; flex-wrap: wrap; font-size: 13px; color: var(--ink-muted); margin-top: auto; padding-top: 12px; border-top: 1px dashed var(--border-cream); }
.event-meta-item { display: inline-flex; gap: 6px; align-items: center; }
.event-meta-item svg { width: 14px; height: 14px; color: var(--maroon-dark); }
.event-list { display: flex; flex-direction: column; gap: 14px; }
.event-item {
  display: flex; gap: 18px; align-items: stretch;
  background: var(--white); border: 1px solid var(--border-cream);
  border-radius: var(--r-lg); padding: 18px 20px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
  cursor: pointer;
}
.event-item:hover { transform: translateX(4px); border-color: var(--gold); box-shadow: var(--shadow-sm); }
.event-block {
  flex: 0 0 64px; width: 64px; border-radius: var(--r-md);
  display: grid; place-items: center; text-align: center;
  color: #fff; font-family: var(--f-display); line-height: 1; font-weight: 700; padding: 8px 4px;
}
.event-block b     { font-size: 22px; display: block; }
.event-block small { font-size: 10px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; margin-top: 3px; opacity: .9; font-family: var(--f-body); }
.event-block-1 { background: linear-gradient(180deg, var(--maroon-dark), var(--maroon-deep)); }
.event-block-2 { background: linear-gradient(180deg, var(--gold-deep), var(--olive)); }
.event-block-3 { background: linear-gradient(180deg, var(--olive), #5b5022); }
.event-block-4 { background: linear-gradient(180deg, var(--maroon), var(--maroon-footer)); }
.event-item-body { flex: 1; min-width: 0; }
.event-item-body h4 { color: var(--maroon-dark); font-size: 16px; font-weight: 600; margin-bottom: 4px; font-family: var(--f-display); }
.event-item-body p  { font-size: 13.5px; color: var(--ink-muted); line-height: 1.55; }

/* ── TEAM ── */
.team { background: var(--white); }
.team-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 28px; }
.team-card {
  text-align: center; background: var(--white);
  border: 1px solid var(--border-cool); border-radius: var(--r-lg);
  padding: 32px 22px 26px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
  position: relative;
}
.team-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: transparent; }
.team-photo {
  width: 120px; height: 120px; margin: 0 auto 18px; border-radius: 50%;
  background: linear-gradient(160deg, var(--maroon-dark), var(--maroon-footer));
  display: grid; place-items: center;
  color: var(--gold-bright); font-family: var(--f-display); font-weight: 800; font-size: 38px;
  border: 4px solid var(--white);
  box-shadow: 0 0 0 1px var(--border-cool), var(--shadow-md);
  overflow: hidden; position: relative;
}
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-name { font-family: var(--f-display); font-size: 19px; font-weight: 700; color: var(--maroon-dark); margin-bottom: 4px; }
.team-role { font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 8px; }
.team-qual { font-size: 13px; color: var(--ink-muted); }
.team-socials { display: flex; gap: 8px; justify-content: center; margin-top: 14px; }
.team-socials a {
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--cream); color: var(--maroon-dark);
  display: grid; place-items: center;
  border: 1px solid var(--border-cream);
  transition: all .2s var(--ease);
}
.team-socials a:hover { background: var(--maroon-dark); color: #fff; }
.team-socials svg { width: 13px; height: 13px; }

/* ── NOTICES + MPD ── */
.notices { background: var(--cream-green); }
.notices-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 36px; align-items: start; }
.notices-list {
  background: var(--white); border: 1px solid var(--border-cream);
  border-radius: var(--r-xl); padding: 8px; box-shadow: var(--shadow-sm);
}
.notice {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 18px; border-bottom: 1px dashed var(--border-cream);
  transition: background .2s var(--ease); position: relative;
}
.notice:last-child { border-bottom: 0; }
.notice:hover { background: var(--cream); }
.notice-icon {
  flex: 0 0 42px; width: 42px; height: 42px; border-radius: var(--r-md);
  background: linear-gradient(180deg, var(--cream-warm), var(--cream));
  border: 1px solid var(--border-cream); color: var(--maroon-dark);
  display: grid; place-items: center;
}
.notice-icon svg { width: 18px; height: 18px; }
.notice-body { flex: 1; min-width: 0; }
.notice-body h4 { font-family: var(--f-display); font-size: 16px; font-weight: 600; color: var(--maroon-dark); margin-bottom: 4px; }
.notice-body small { font-size: 12.5px; color: var(--ink-muted); display: inline-flex; align-items: center; gap: 6px; }
.notice-body small svg { width: 12px; height: 12px; }
.notice-new {
  font-size: 10px; font-weight: 800; letter-spacing: 0.12em;
  background: #B91C1C; color: #fff; padding: 3px 8px;
  border-radius: var(--r-sm); align-self: flex-start; text-transform: uppercase;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(185,28,28,.5); }
  50%      { box-shadow: 0 0 0 6px rgba(185,28,28,0); }
}
.mpd {
  background: linear-gradient(160deg, var(--maroon-dark), var(--maroon-footer));
  color: #fff; border-radius: var(--r-xl); padding: 36px 32px 32px;
  position: relative; overflow: hidden; box-shadow: var(--shadow-lg);
}
.mpd::before {
  content: ""; position: absolute; right: -60px; bottom: -60px;
  width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(201,162,39,.22), transparent 60%); border-radius: 50%;
}
.mpd-tag {
  display: inline-block; font-size: 11.5px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold-bright); background: rgba(201,162,39,.14); border: 1px solid rgba(201,162,39,.4);
  padding: 5px 11px; border-radius: var(--r-full); margin-bottom: 14px;
}
.mpd h3  { color: #fff; font-size: 28px; margin-bottom: 10px; }
.mpd p   { color: rgba(255,255,255,.78); font-size: 14.5px; line-height: 1.7; margin-bottom: 20px; }
.mpd-info { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 24px; position: relative; z-index: 1; }
.mpd-info-box { background: rgba(0,0,0,.22); border: 1px solid rgba(201,162,39,.3); border-radius: var(--r-md); padding: 12px 14px; }
.mpd-info-box small { display: block; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-bright); font-weight: 600; margin-bottom: 4px; }
.mpd-info-box b { font-family: var(--f-display); font-weight: 700; font-size: 19px; color: #fff; }

/* ── GALLERY ── */
.gallery { background: var(--white); }
.gallery-slider-wrap { position: relative; }
.gallery-slider {
  display: flex; gap: 16px; overflow-x: hidden; scroll-behavior: smooth;
}
.gallery-item {
  flex: 0 0 calc((100% - 32px) / 3); height: 220px;
  position: relative; overflow: hidden; border-radius: var(--r-lg);
  cursor: pointer; background: var(--cream-warm);
}
.gal-arr {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,.92); border: none; border-radius: 50%;
  width: 40px; height: 40px; font-size: 26px; line-height: 1;
  cursor: pointer; z-index: 10; color: var(--maroon-dark);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md); transition: background .2s, color .2s;
}
.gal-arr:hover { background: var(--gold); color: var(--maroon-footer); }
.gal-arr-prev { left: -18px; }
.gal-arr-next { right: -18px; }
.gallery-fill { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(255,255,255,.55); transition: transform .4s var(--ease); }
.gallery-fill svg { width: 56px; height: 56px; }
.gallery-fill img { width: 100%; height: 100%; object-fit: cover; }
.g-1 { background: linear-gradient(135deg, #1F5135, #0E2418); }
.g-2 { background: linear-gradient(135deg, #2D6A45, #163C27); }
.g-3 { background: linear-gradient(135deg, #8B7A2F, #4d4319); }
.g-4 { background: linear-gradient(135deg, #D4A323, #8B7A2F); }
.g-5 { background: linear-gradient(135deg, #163C27, #3D8A5C); }
.gallery-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(14,36,24,.92));
  opacity: 0; transition: opacity .3s var(--ease);
  display: flex; align-items: flex-end; padding: 20px 22px; color: #fff;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-item:hover .gallery-fill    { transform: scale(1.05); }
.gallery-overlay-body { width: 100%; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.gallery-overlay strong { font-family: var(--f-display); font-size: 18px; display: block; }
.gallery-overlay small  { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-bright); }
.gallery-overlay-icon {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--gold); color: var(--maroon-footer);
  display: grid; place-items: center; flex: 0 0 40px;
}
.gallery-overlay-icon svg { width: 16px; height: 16px; }

/* ── FOOTER ── */
.footer {
  background: var(--maroon-footer);
  color: rgba(255,255,255,.72);
  font-size: 14.5px; border-top: 3px solid var(--gold);
}
.footer-inner { padding: 72px 0 28px; }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 48px;
  padding-bottom: 56px; border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer h5 {
  font-family: var(--f-display); font-size: 18px; color: var(--gold-bright);
  font-weight: 700; margin-bottom: 22px; position: relative; padding-bottom: 12px;
}
.footer h5::after { content: ""; position: absolute; left: 0; bottom: 0; width: 32px; height: 2px; background: var(--gold); }
.footer-brand { display: flex; gap: 14px; align-items: center; margin-bottom: 16px; }
.footer-brand-mark { width: 50px; height: 50px; }
.footer-brand-mark img { width: 100%; height: 100%; object-fit: contain; }
.footer-brand-name { font-family: var(--f-display); font-size: 19px; color: #fff; font-weight: 700; }
.footer-brand-sub  { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-bright); margin-top: 3px; }
.footer-desc { line-height: 1.7; margin-bottom: 20px; font-size: 14px; }
.footer-socials { display: flex; gap: 10px; }
.footer-socials a {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.08); color: #fff;
  display: grid; place-items: center;
  transition: all .2s var(--ease);
}
.footer-socials a:hover { background: var(--gold); color: var(--maroon-footer); transform: translateY(-2px); }
.footer-socials svg { width: 15px; height: 15px; }
.footer-links { display: flex; flex-direction: column; gap: 11px; }
.footer-links a { display: inline-flex; align-items: center; gap: 8px; color: rgba(255,255,255,.72); font-size: 14px; transition: color .2s var(--ease), padding .2s var(--ease); }
.footer-links a::before { content: "›"; color: var(--gold); font-weight: 700; }
.footer-links a:hover { color: var(--gold-bright); padding-left: 4px; }
.footer-contact { display: flex; flex-direction: column; gap: 16px; }
.footer-contact-item { display: flex; gap: 12px; align-items: flex-start; }
.footer-contact-icon {
  flex: 0 0 32px; width: 32px; height: 32px; border-radius: var(--r-md);
  background: rgba(201,162,39,.15); color: var(--gold-bright);
  display: grid; place-items: center; border: 1px solid rgba(201,162,39,.3);
}
.footer-contact-icon svg { width: 14px; height: 14px; }
.footer-contact-item small { display: block; font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-bright); margin-bottom: 2px; font-weight: 600; }
.footer-contact-item span  { color: #fff; font-size: 14px; line-height: 1.55; }
.footer-bottom {
  padding-top: 24px; display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 14px; font-size: 13px; color: rgba(255,255,255,.55);
}
.footer-bottom a { color: rgba(255,255,255,.7); }
.footer-bottom a:hover { color: var(--gold-bright); }

/* ── FLOATING BUTTONS ── */
.floats {
  position: fixed; right: 22px; bottom: 22px; z-index: 100;
  display: flex; flex-direction: column; gap: 12px;
}
.wa-btn, .top-btn {
  width: 54px; height: 54px; border-radius: 50%; border: 0; cursor: pointer;
  display: grid; place-items: center; color: #fff; box-shadow: var(--shadow-lg);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.wa-btn { background: #25D366; position: relative; }
.wa-btn::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid #25D366; opacity: .6;
  animation: ring 2s ease-out infinite;
}
@keyframes ring {
  0%   { transform: scale(1); opacity: .6; }
  100% { transform: scale(1.5); opacity: 0; }
}
.wa-btn:hover, .top-btn:hover { transform: translateY(-3px); }
.wa-btn svg { width: 26px; height: 26px; }
.top-btn {
  background: var(--maroon-dark); opacity: 0; pointer-events: none;
  transition: opacity .25s var(--ease), transform .25s var(--ease);
  transform: translateY(8px);
}
.top-btn.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.top-btn svg { width: 22px; height: 22px; }

/* ── INNER PAGE PILL FILTERS ── */
.pill-row { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.pill {
  padding: 8px 18px; border-radius: var(--r-full);
  font-size: 14px; font-weight: 500; cursor: pointer;
  border: 1.5px solid var(--border-cream); color: var(--ink-muted);
  transition: all .2s var(--ease);
}
.pill:hover, .pill.is-active {
  background: linear-gradient(180deg, var(--gold-bright), var(--gold));
  color: #2a1d04; border-color: var(--gold-deep);
  font-weight: 700;
}

/* ── TABLE STYLES (fees, books, MPD, TC) ── */
.data-table {
  width: 100%; border-collapse: collapse;
  background: var(--white); border-radius: var(--r-lg);
  overflow: hidden; box-shadow: var(--shadow-md);
}
.data-table thead th {
  background: linear-gradient(180deg, var(--maroon-dark), var(--maroon));
  color: #fff; font-family: var(--f-display); font-size: 14px;
  padding: 14px 18px; text-align: left; letter-spacing: 0.05em;
}
.data-table tbody tr:nth-child(even) { background: var(--cream); }
.data-table tbody td { padding: 13px 18px; font-size: 14.5px; color: var(--ink); border-bottom: 1px solid var(--border-cream); }
.data-table tbody tr:last-child td { border-bottom: 0; }
.data-table tbody tr:hover { background: var(--cream-warm); }

/* Status badges */
.badge-active   { display: inline-flex; align-items: center; gap: 5px; background: #D1FAE5; color: #065F46; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: var(--r-full); }
.badge-inactive { display: inline-flex; align-items: center; gap: 5px; background: #FEE2E2; color: #991B1B; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: var(--r-full); }

/* Click-here download links */
.click-here {
  display: inline-flex; align-items: center; gap: 6px;
  background: linear-gradient(180deg, var(--gold-bright), var(--gold));
  color: #2a1d04; font-size: 12.5px; font-weight: 700;
  padding: 6px 14px; border-radius: var(--r-full);
  border: 1px solid var(--gold-deep);
  transition: transform .12s var(--ease), box-shadow .2s var(--ease);
}
.click-here:hover { transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.click-here svg { width: 13px; height: 13px; }

/* Contact form */
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: 7px; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; font-family: var(--f-body); font-size: 15px;
  padding: 13px 16px; border-radius: var(--r-md);
  border: 1.5px solid var(--border-cool); background: var(--white);
  color: var(--ink); outline: none;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(212,163,35,.15); }
.form-group textarea { resize: vertical; min-height: 120px; }

/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
  .hero-grid, .about-grid, .events-grid, .notices-grid { grid-template-columns: 1fr; }
  .why-grid, .team-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .leader-grid { grid-template-columns: 1fr; }
  .gallery-item { flex: 0 0 calc((100% - 16px) / 2); height: 200px; }
}
/* Hide hamburger on desktop */
.nav-toggle { display: none; }

@media (max-width: 700px) {
  .nav-links { display: none; }
  .nav-links.is-open {
    display: flex; flex-direction: column; align-items: flex-start;
    position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; border-top: 1px solid #e5e7eb;
    box-shadow: 0 8px 24px rgba(0,0,0,.1);
    padding: 8px 0; z-index: 100;
    max-height: calc(100vh - 80px); overflow-y: auto;
  }
  .nav-links.is-open > a,
  .nav-links.is-open .nav-has-dropdown > a { width: 100%; padding: 10px 20px; border-radius: 0; font-size: 14px; box-sizing: border-box; }
  .nav-links.is-open a:hover { background: var(--cream); }
  /* Inline submenus on mobile — hidden by default, shown on tap */
  .nav-links.is-open .nav-has-dropdown { position: static; display: flex; flex-direction: column; width: 100%; }
  .nav-links.is-open .nav-has-dropdown .nav-dropdown {
    position: static; transform: none; display: none;
    box-shadow: none; border: none; border-radius: 0;
    background: #f9fafb; border-left: 3px solid #e5e7eb;
    padding: 4px 0; margin: 0 0 4px 20px;
  }
  .nav-links.is-open .nav-has-dropdown.mob-open .nav-dropdown { display: block; }
  .nav-links.is-open .nav-has-dropdown .nav-dropdown a { padding: 8px 16px; font-size: 13px; white-space: normal; }
  .nav-toggle {
    display: flex; align-items: center; justify-content: center;
    background: #fff; border: 1px solid #e5e7eb; border-radius: 6px;
    padding: 7px 9px; cursor: pointer; color: var(--ink);
  }
  .why-grid, .team-grid, .stats-grid, .footer-grid { grid-template-columns: 1fr; }
  .topbar { display: none; }
  .hero  { padding: 56px 0 64px; }
  .checks { grid-template-columns: 1fr; }
}

/* ── Nav Dropdown ──────────────────────────────────────── */
.nav-has-dropdown { position: relative; display: inline-flex; align-items: center; }
.nav-has-dropdown .nav-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  box-shadow: 0 8px 32px rgba(0,0,0,.13);
  min-width: 190px;
  z-index: 1000;
  padding: 6px 0;
  margin-top: 0;
}
.nav-has-dropdown:hover .nav-dropdown { display: block; }
.nav-has-dropdown .nav-dropdown::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 0;
  right: 0;
  height: 10px;
}
.nav-has-dropdown .nav-dropdown a {
  display: block;
  padding: 9px 18px;
  color: #374151;
  font-size: .875rem;
  white-space: nowrap;
  text-decoration: none;
  transition: background .14s, color .14s;
}
.nav-has-dropdown .nav-dropdown a:hover { background: #f0fdf4; color: #16a34a; }
.nav-caret { font-size: .6em; margin-left: 3px; vertical-align: middle; }
