/* ============================================================
   Mona Virtual School — Design System
   Deep Forest #12372A · Warm Cream #F7F3E8 · Muted Gold #C6A15B · Charcoal #242424
   Headings: Cormorant Garamond   Body/Nav/Buttons: Montserrat
   ============================================================ */

:root {
  --forest: #12372A;
  --forest-deep: #0c281e;
  --forest-tint: #1c4735;
  --cream: #F7F3E8;
  --cream-soft: #EFE7D4;
  --gold: #C6A15B;
  --gold-soft: #D8BC85;
  --gold-deep: #A5813F;
  --charcoal: #242424;
  --white: #FFFFFF;

  --font-head: 'Cormorant Garamond', 'Georgia', serif;
  --font-body: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;

  --container: 1180px;
  --radius: 2px;
  --shadow-sm: 0 2px 10px rgba(18, 55, 42, 0.08);
  --shadow-md: 0 12px 40px rgba(18, 55, 42, 0.14);
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--charcoal);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
/* Never let any component's own `display` declaration (e.g. .jello-panel,
   .testmode-ribbon) fight the native `hidden` attribute — this must win. */
[hidden] { display: none !important; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--forest);
  line-height: 1.18;
  margin: 0 0 0.6em;
  letter-spacing: 0.01em;
}
h1 { font-size: clamp(2.6rem, 4.5vw, 4.2rem); font-weight: 600; }
h2 { font-size: clamp(2rem, 3.2vw, 2.9rem); }
h3 { font-size: clamp(1.4rem, 2vw, 1.8rem); }
p { margin: 0 0 1.1em; }
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}
.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 14px;
}
.section { padding: 96px 0; }
.section--tight { padding: 64px 0; }
.section--forest { background: var(--forest); color: var(--cream); }
.section--forest h2, .section--forest h3 { color: var(--cream); }
.section--soft { background: var(--cream-soft); }
.center { text-align: center; }
.lede {
  font-size: 1.15rem;
  color: #4a4a4a;
  max-width: 640px;
}
.center .lede { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  padding: 15px 32px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: all 0.25s var(--ease);
  white-space: nowrap;
}
.btn-gold {
  background: var(--gold);
  color: var(--forest-deep);
  border-color: var(--gold);
}
.btn-gold:hover { background: var(--gold-soft); border-color: var(--gold-soft); transform: translateY(-1px); }
.btn-outline {
  background: transparent;
  color: var(--cream);
  border-color: rgba(247, 243, 232, 0.45);
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold-soft); }
.btn-outline-dark {
  background: transparent;
  color: var(--forest);
  border-color: var(--forest);
}
.btn-outline-dark:hover { background: var(--forest); color: var(--cream); }
.btn-ghost {
  background: transparent;
  color: var(--forest);
  padding: 10px 0;
  border-bottom: 1px solid var(--gold);
  border-radius: 0;
  letter-spacing: 0.08em;
}
.btn-ghost:hover { color: var(--gold-deep); }

/* ============================================================
   Splash Screen
   ============================================================ */
#splash {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 0.9s var(--ease);
}
#splash .splash-mark {
  opacity: 0;
  color: var(--gold-deep);
  transform: scale(0.96);
  animation: splashIn 1.1s var(--ease) forwards;
}
#splash .splash-mark img { width: 84px; height: auto; }
#splash.is-hidden { opacity: 0; pointer-events: none; }
body.no-scroll { overflow: hidden; }
@keyframes splashIn {
  0% { opacity: 0; transform: scale(0.94); }
  60% { opacity: 1; }
  100% { opacity: 1; transform: scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  #splash .splash-mark { animation: none; opacity: 1; transform: none; }
}

/* ============================================================
   Header / Navigation
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: var(--forest);
  border-bottom: 1px solid rgba(198, 161, 91, 0.25);
}
.nav-wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-text { flex-shrink: 0; }
.brand svg { width: 40px; height: 40px; flex-shrink: 0; }
.brand-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: var(--cream);
  border-radius: 10px;
  padding: 5px 8px;
}
.brand-badge img { display: block; height: 34px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name {
  font-family: var(--font-head);
  font-size: 1.5rem;
  color: var(--cream);
  font-weight: 600;
  letter-spacing: 0.02em;
}
.brand-sub {
  font-family: var(--font-body);
  font-size: 0.56rem;
  letter-spacing: 0.28em;
  color: var(--gold);
  text-transform: uppercase;
  margin-top: 3px;
}

.main-nav { display: flex; align-items: center; }
.main-nav > ul { display: flex; align-items: center; gap: 2px; }
.main-nav > ul > li { position: relative; }
.nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 30px 10px;
  font-size: 0.71rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cream);
  transition: color 0.2s var(--ease);
  white-space: nowrap;
}
.nav-link .caret { width: 8px; height: 8px; opacity: 0.7; transition: transform 0.2s var(--ease); }
.main-nav > ul > li:hover .nav-link,
.main-nav > ul > li.is-open .nav-link,
.main-nav > ul > li.is-current .nav-link,
.nav-link:focus-visible { color: var(--gold-soft); }
.main-nav > ul > li:hover .caret,
.main-nav > ul > li.is-open .caret { transform: rotate(180deg); }

.dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translate(-50%, 8px);
  min-width: 260px;
  background: var(--forest);
  border: 1px solid rgba(198, 161, 91, 0.25);
  box-shadow: var(--shadow-md);
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s var(--ease), transform 0.22s var(--ease), visibility 0.22s;
}
.main-nav > ul > li:hover .dropdown,
.main-nav > ul > li.is-open .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}
.dropdown a {
  display: block;
  padding: 12px 26px;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: rgba(247, 243, 232, 0.88);
  border-left: 2px solid transparent;
  transition: all 0.2s var(--ease);
}
.dropdown a:hover {
  background: rgba(198, 161, 91, 0.08);
  border-left-color: var(--gold);
  color: var(--gold-soft);
  padding-left: 30px;
}

.nav-actions { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.nav-cta { padding: 13px 20px; }
.mobile-cta { display: none; }
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  padding: 0;
}
.hamburger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--gold);
  transition: all 0.25s var(--ease);
}
.hamburger.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-active span:nth-child(2) { opacity: 0; }
.hamburger.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Mobile / mid-width nav ----------
   With 9 top-level items (Home, About Us, Academics, Admissions,
   Fees, Student Life, Support Us, Careers, Contact) the horizontal
   nav no longer fits below ~1300px even at reduced padding, so the
   hamburger menu takes over from there down rather than risk
   overflow at common laptop widths (1024–1280px). */
@media (max-width: 1300px) {
  .nav-wrap { height: 76px; padding: 0 20px; }
  .brand svg { width: 34px; height: 34px; }
  .brand-badge img { height: 28px; }
  .brand-name { font-size: 1.25rem; }
  .hamburger { display: flex; }
  .nav-actions .nav-cta.desktop-only { display: none; }

  .main-nav {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--forest);
    transform: translateX(100%);
    transition: transform 0.35s var(--ease);
    overflow-y: auto;
    padding: 12px 0 40px;
  }
  .main-nav.is-open { transform: translateX(0); }
  .main-nav > ul { flex-direction: column; align-items: stretch; width: 100%; gap: 0; }
  .main-nav > ul > li { border-bottom: 1px solid rgba(198, 161, 91, 0.14); }
  .nav-link { padding: 18px 24px; justify-content: space-between; width: 100%; }
  .dropdown {
    position: static;
    transform: none;
    min-width: 0;
    width: 100%;
    box-shadow: none;
    border: none;
    background: var(--forest-deep);
    max-height: 0;
    overflow: hidden;
    opacity: 1;
    visibility: visible;
    padding: 0;
    transition: max-height 0.3s var(--ease);
  }
  .main-nav > ul > li.is-open .dropdown { max-height: 600px; padding: 6px 0; }
  /* The desktop hover/is-open rule (higher specificity) sets a -50%
     translateX to centre the dropdown under its link; that pushes
     this static, full-width mobile panel off-screen, so it must be
     reset here too, not just on the base .dropdown rule above. */
  .main-nav > ul > li:hover .dropdown,
  .main-nav > ul > li.is-open .dropdown { transform: none; left: 0; }
  .dropdown a { padding: 13px 40px; }
  .mobile-cta { display: block; margin: 22px 24px 0; }
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  background: var(--forest);
  color: var(--cream);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 85% 20%, rgba(198,161,91,0.14), transparent 45%),
    radial-gradient(circle at 10% 90%, rgba(198,161,91,0.08), transparent 40%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  max-width: var(--container);
  margin: 0 auto;
  padding: 130px 32px 120px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}
.hero h1 { color: var(--cream); }
.hero h1 em { color: var(--gold-soft); font-style: italic; }
.hero-lede { color: rgba(247,243,232,0.78); font-size: 1.12rem; max-width: 520px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 34px; }
.hero-stats { display: flex; gap: 40px; margin-top: 56px; flex-wrap: wrap; }
.hero-stat b { display: block; font-family: var(--font-head); font-size: 2.1rem; color: var(--gold-soft); font-weight: 600; }
.hero-stat span { font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(247,243,232,0.6); }
.hero-visual {
  position: relative;
  aspect-ratio: 4/5;
  border: 1px solid rgba(198,161,91,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(160deg, rgba(198,161,91,0.09), rgba(247,243,232,0.02));
}
.hero-visual svg { width: 46%; height: 46%; opacity: 0.92; }
.hero-visual img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.hero-visual::after {
  content: '';
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(198,161,91,0.35);
  pointer-events: none;
}
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; padding: 70px 24px 70px; text-align: left; }
  .hero-visual { max-width: 320px; aspect-ratio: 1/1; }
  .hero-stats { gap: 30px; }
}

/* ============================================================
   Shared page hero (interior pages)
   ============================================================ */
.page-hero {
  background: var(--forest);
  color: var(--cream);
  padding: 74px 0 58px;
}
.page-hero h1 { color: var(--cream); margin-bottom: 10px; }
.breadcrumb {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(247,243,232,0.55);
  margin-bottom: 18px;
}
.breadcrumb a { color: rgba(247,243,232,0.75); }
.breadcrumb a:hover { color: var(--gold-soft); }
.page-hero .lede { color: rgba(247,243,232,0.75); }

/* ============================================================
   Cards / grids
   ============================================================ */
.grid { display: grid; gap: 32px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; }
}

.card {
  background: var(--white);
  border: 1px solid rgba(18,55,42,0.08);
  padding: 40px 32px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.card .icon {
  width: 46px; height: 46px;
  margin-bottom: 22px;
  color: var(--gold-deep);
}
.card h3 { margin-bottom: 12px; }
.card p { color: #565656; font-size: 0.95rem; margin-bottom: 0; }

.pillar-card {
  background: var(--cream-soft);
  padding: 44px 34px;
  border-top: 2px solid var(--gold);
}
.pillar-card .num {
  font-family: var(--font-head);
  font-size: 2.4rem;
  color: var(--gold);
  font-weight: 600;
  display: block;
  margin-bottom: 12px;
}

/* ---------- Six-step process timeline (How to Enrol) ---------- */
.steps-timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 32px;
}
@media (max-width: 900px) { .steps-timeline { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps-timeline { grid-template-columns: 1fr; } }
.step { position: relative; display: flex; flex-direction: column; gap: 14px; }
.step-num {
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--gold-deep);
  width: 56px;
  height: 56px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.step-body h3 { font-size: 1.15rem; margin-bottom: 6px; }
.step-body p { font-size: 0.92rem; color: #4a4a4a; margin: 0; }
.step-connector {
  display: none;
}
@media (min-width: 561px) {
  .steps-timeline { position: relative; }
  .step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 27px;
    left: 76px;
    width: calc(100% - 60px);
    height: 1px;
    background: repeating-linear-gradient(to right, var(--gold) 0, var(--gold) 6px, transparent 6px, transparent 12px);
  }
}

/* ---------- Requirement cards (Admission Requirements) ---------- */
.req-card {
  background: var(--white);
  border: 1px solid rgba(18,55,42,0.1);
  padding: 40px 36px;
}
.req-card .icon { margin-bottom: 16px; }
.req-card h3 { margin-bottom: 20px; }
.req-card .checklist li { font-size: 0.92rem; }

/* ---------- FAQ accordion ---------- */
.faq-list { display: flex; flex-direction: column; gap: 2px; }
.faq-item {
  background: var(--white);
  border: 1px solid rgba(18,55,42,0.08);
  padding: 22px 26px;
}
.faq-item + .faq-item { border-top: none; }
.faq-item summary {
  cursor: pointer;
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--forest);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--gold-deep);
  flex-shrink: 0;
  transition: transform 0.2s var(--ease);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { margin: 14px 0 0; color: #4a4a4a; font-size: 0.95rem; }

/* ---------- Pricing cards (Fees) ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 12px;
}
@media (max-width: 800px) { .pricing-grid { grid-template-columns: 1fr; } }
.pricing-card {
  background: var(--white);
  border: 1px solid rgba(18,55,42,0.1);
  padding: 34px 28px;
  text-align: center;
}
.pricing-card--featured {
  background: var(--forest);
  border-color: var(--forest);
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
}
.pricing-card--featured h3, .pricing-card--featured .price b { color: var(--cream); }
.pricing-card--featured .price span, .pricing-card--featured .price-note { color: rgba(247,243,232,0.65); }
@media (max-width: 800px) { .pricing-card--featured { transform: none; } }
.pricing-card h3 { margin: 4px 0 18px; }
.price { display: flex; align-items: baseline; justify-content: center; gap: 6px; margin-bottom: 6px; }
.price b { font-family: var(--font-head); font-size: 2.1rem; color: var(--forest); font-weight: 600; }
.price span { font-size: 0.82rem; color: #6b6b6b; }
.price-note { font-size: 0.8rem; color: #6b6b6b; margin: 0; }
.price-footnote { font-size: 0.82rem; color: #6b6b6b; text-align: center; margin: 18px 0 0; }

.info-block {
  background: var(--cream-soft);
  border-left: 3px solid var(--gold);
  padding: 26px 30px;
}
.info-block--soft { background: rgba(18,55,42,0.05); border-left-color: var(--forest); }
.info-block h3 { margin: 4px 0 10px; }
.info-block p { margin: 0; font-size: 0.92rem; color: #4a4a4a; }

.download-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}
@media (max-width: 700px) { .download-band { flex-direction: column; align-items: flex-start; } }

.table-wrap { overflow-x: auto; margin-bottom: 8px; }
.fee-table { width: 100%; border-collapse: collapse; background: var(--white); }
.fee-table th, .fee-table td {
  padding: 16px 20px;
  text-align: left;
  font-size: 0.92rem;
  border-bottom: 1px solid rgba(18,55,42,0.08);
}
.fee-table th { background: var(--forest); color: var(--cream); font-weight: 600; font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; }
.fee-table tr:nth-child(even) td { background: var(--cream-soft); }
.table-note { display: block; font-size: 0.78rem; color: #7a7a7a; margin-top: 2px; }

.policy-list { counter-reset: policy; padding-left: 0; }
.policy-list li {
  list-style: none;
  counter-increment: policy;
  position: relative;
  padding: 14px 0 14px 44px;
  border-bottom: 1px solid rgba(18,55,42,0.08);
  font-size: 0.95rem;
  color: #3d3d3d;
}
.policy-list li::before {
  content: counter(policy);
  position: absolute;
  left: 0;
  top: 12px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--forest);
  color: var(--cream);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.82rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------- Notice card (admissions caveats, disclaimers) ---------- */
.notice-card {
  background: var(--cream-soft);
  border-left: 3px solid var(--gold);
  padding: 20px 26px;
  font-size: 0.92rem;
  color: var(--forest);
}
.notice-card p { margin: 0; }

/* ---------- Embedded Google Form ---------- */
.form-embed {
  position: relative;
  width: 100%;
  min-height: 600px;
  background: var(--cream-soft);
  border: 1px solid rgba(18,55,42,0.12);
  box-shadow: var(--shadow-sm);
}
.form-embed iframe {
  width: 100%;
  height: 2200px;
  max-height: 80vh;
  border: 0;
  display: block;
}
@media (max-width: 640px) {
  .form-embed iframe { height: 1800px; max-height: none; }
}
.form-fallback {
  text-align: center;
  margin-top: 26px;
  padding-top: 26px;
  border-top: 1px solid rgba(18,55,42,0.1);
}
.form-fallback p { color: #5c5c5c; font-size: 0.92rem; margin-bottom: 14px; }

/* ---------- link list page (placeholder sections) ---------- */
.link-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 30px 34px;
  background: var(--white);
  border: 1px solid rgba(18,55,42,0.08);
  transition: all 0.25s var(--ease);
}
.link-card:hover { border-color: var(--gold); background: var(--cream-soft); }
.link-card h3 { margin-bottom: 6px; }
.link-card p { margin: 0; color: #5c5c5c; font-size: 0.92rem; }
.link-card .arrow { flex-shrink: 0; width: 22px; height: 22px; color: var(--gold-deep); transition: transform 0.25s var(--ease); }
.link-card:hover .arrow { transform: translateX(5px); }

.notice-panel {
  border: 1px dashed rgba(198,161,91,0.6);
  background: var(--cream-soft);
  padding: 30px 34px;
  margin-top: 12px;
}
.notice-panel p { margin: 0; color: #565656; font-size: 0.92rem; }
.notice-panel strong { color: var(--forest); }

/* ============================================================
   CTA band
   ============================================================ */
.cta-band {
  background: var(--forest);
  color: var(--cream);
  padding: 80px 0;
  text-align: center;
  position: relative;
}
.cta-band h2 { color: var(--cream); }
.cta-band .lede { color: rgba(247,243,232,0.75); margin-left: auto; margin-right: auto; }
.cta-actions { display: flex; gap: 16px; justify-content: center; margin-top: 30px; flex-wrap: wrap; }

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  background: var(--forest-deep);
  color: rgba(247,243,232,0.72);
  padding: 80px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(198,161,91,0.18);
}
.footer-brand .brand { margin-bottom: 18px; }
.footer-brand .brand-name { color: var(--cream); }
.footer-brand p { font-size: 0.9rem; max-width: 300px; color: rgba(247,243,232,0.6); }
.footer-social { display: flex; gap: 14px; margin-top: 18px; }
.footer-social a {
  width: 36px; height: 36px;
  border: 1px solid rgba(198,161,91,0.35);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.25s var(--ease);
}
.footer-social a:hover { background: var(--gold); border-color: var(--gold); color: var(--forest-deep); }
.footer-social svg { width: 15px; height: 15px; }

.footer-col h4 {
  font-family: var(--font-body);
  color: var(--gold);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 20px;
}
.footer-col ul li { margin-bottom: 12px; }
.footer-col a { font-size: 0.88rem; color: rgba(247,243,232,0.68); transition: color 0.2s var(--ease); }
.footer-col a:hover { color: var(--gold-soft); }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.88rem; }
.footer-contact svg { width: 16px; height: 16px; margin-top: 3px; flex-shrink: 0; color: var(--gold); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  padding: 26px 0;
  font-size: 0.78rem;
  color: rgba(247,243,232,0.48);
}
.footer-legal { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.footer-legal a { color: rgba(247,243,232,0.55); font-size: 0.78rem; }
.footer-legal a:hover { color: var(--gold-soft); }

@media (max-width: 980px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   Misc sections used on homepage
   ============================================================ */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 40px; } }
.split-visual {
  aspect-ratio: 5/4;
  background: var(--forest);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.split-visual svg { width: 34%; height: 34%; }
.split-visual::after { content:''; position:absolute; inset:14px; border:1px solid rgba(198,161,91,0.3); }
.split-visual--photo { overflow: hidden; background: var(--forest); }
.split-visual--photo img { width: 100%; height: 100%; object-fit: cover; }
.split-visual--photo::after { inset: 14px; border-color: rgba(198,161,91,0.5); }

.checklist li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; font-size: 0.98rem; color: #3d3d3d; }
.checklist svg { width: 18px; height: 18px; color: var(--gold-deep); flex-shrink: 0; margin-top: 4px; }

.photo-band { margin: 0 0 56px; border: 1px solid rgba(198,161,91,0.3); }
.photo-band img { width: 100%; height: auto; display: block; }
.statement-band { padding: 88px 0; }
.statement {
  font-family: var(--font-head);
  font-size: clamp(1.9rem, 3.4vw, 2.9rem);
  font-weight: 500;
  color: var(--cream);
  line-height: 1.3;
  margin: 0 0 22px;
}
.statement em { color: var(--gold-soft); font-style: italic; }
.quote-block {
  border-left: 2px solid var(--gold);
  padding-left: 28px;
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-style: italic;
  color: var(--forest);
  max-width: 760px;
  margin: 0 auto;
}
.quote-block cite {
  display: block;
  margin-top: 18px;
  font-family: var(--font-body);
  font-style: normal;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.badge-row { display: flex; gap: 34px; flex-wrap: wrap; align-items: center; }
.badge-row span { font-size: 0.76rem; letter-spacing: 0.1em; text-transform: uppercase; color: #6b6b6b; }

.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* fade-up scroll reveal */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ============================================================
   Mission / Vision split cards
   ============================================================ */
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
@media (max-width: 800px) { .mv-grid { grid-template-columns: 1fr; } }
.mv-card {
  padding: 52px 44px;
  position: relative;
}
.mv-card .icon { width: 40px; height: 40px; margin-bottom: 24px; }
.mv-card--dark { background: var(--forest); color: var(--cream); }
.mv-card--dark h3 { color: var(--gold-soft); }
.mv-card--dark p { color: rgba(247,243,232,0.8); margin: 0; }
.mv-card--dark .icon { color: var(--gold); }
.mv-card--light { background: var(--cream-soft); border: 1px solid rgba(18,55,42,0.08); }
.mv-card--light .icon { color: var(--gold-deep); }
.mv-card--light p { color: #4a4a4a; margin: 0; }
.mv-card .eyebrow { margin-bottom: 16px; }
.mv-card--dark .eyebrow { color: var(--gold-soft); }

/* ============================================================
   Process flow (Learning Approach / Academic Calendar)
   ============================================================ */
.flow {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: center;
  gap: 0;
}
.flow-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 150px;
  gap: 12px;
}
.flow-step .flow-icon {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: var(--forest);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.flow-step .flow-icon svg { width: 26px; height: 26px; }
.flow-step span { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.04em; color: var(--forest); }
.flow-arrow {
  display: flex;
  align-items: center;
  color: var(--gold);
  opacity: 0.6;
  width: 34px;
  flex-shrink: 0;
  margin-top: 31px;
}
.flow-arrow svg { width: 100%; height: 18px; }
@media (max-width: 760px) {
  .flow { flex-direction: column; }
  .flow-arrow { width: 18px; height: 34px; margin: 0; transform: rotate(90deg); }
}

/* ============================================================
   Subject chips
   ============================================================ */
.chip-group { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 6px; }
.chip {
  display: inline-block;
  padding: 8px 16px;
  border: 1px solid rgba(18,55,42,0.14);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--forest);
  background: var(--cream-soft);
}
.subject-card { background: var(--white); border: 1px solid rgba(18,55,42,0.08); padding: 36px 32px; }
.subject-card .grade-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--forest-deep);
  background: var(--gold-soft);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}

/* ============================================================
   Grade-band / pathway cards
   ============================================================ */
.band-card {
  background: var(--white);
  border: 1px solid rgba(18,55,42,0.08);
  border-top: 3px solid var(--gold);
  padding: 40px 34px;
}
.band-card .band-range {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 600;
  color: var(--gold-deep);
  display: block;
  margin-bottom: 6px;
}
.band-card h3 { margin-bottom: 14px; }
.band-card p { color: #565656; font-size: 0.95rem; margin-bottom: 0; }

/* ============================================================
   Pull quote (short editorial highlight)
   ============================================================ */
.pull-quote {
  font-family: var(--font-head);
  font-style: italic;
  font-size: 1.6rem;
  color: var(--forest);
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
  line-height: 1.4;
}

/* ============================================================
   Term timeline (Academic Calendar)
   ============================================================ */
.term-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 800px) { .term-row { grid-template-columns: 1fr; } }
.term-card {
  background: var(--cream-soft);
  border-left: 3px solid var(--gold);
  padding: 30px 28px;
}
.term-card h4 { font-family: var(--font-head); font-size: 1.3rem; color: var(--forest); margin-bottom: 8px; font-weight: 600; }
.term-card p { font-size: 0.9rem; color: #565656; margin: 0; }

/* ============================================================
   Photo galleries (Student Life: A Day at Mona / Clubs & Activities)
   ============================================================ */
.gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
@media (max-width: 760px) { .gallery-grid { grid-template-columns: 1fr; } }
.gallery-grid--three { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 980px) { .gallery-grid--three { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .gallery-grid--three { grid-template-columns: 1fr; } }
.gallery-card { background: var(--white); border: 1px solid rgba(18,55,42,0.08); overflow: hidden; }
.gallery-card .frame { aspect-ratio: 4/3; overflow: hidden; background: var(--forest); }
.gallery-card img { width: 100%; height: 100%; object-fit: cover; }
.gallery-card figcaption { padding: 24px 26px 28px; }
.gallery-card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.gallery-card p { font-size: 0.9rem; color: #565656; margin: 0; }
.gallery-note {
  font-size: 0.82rem;
  color: #6b6b6b;
  border-top: 1px solid rgba(18,55,42,0.1);
  padding-top: 18px;
  margin-top: 8px;
}

/* ============================================================
   Support Us — four action cards
   ============================================================ */
.support-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
@media (max-width: 760px) { .support-grid { grid-template-columns: 1fr; } }
.support-card {
  background: var(--white);
  border: 1px solid rgba(18,55,42,0.08);
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
}
.support-card .icon { width: 46px; height: 46px; margin-bottom: 20px; color: var(--gold-deep); }
.support-card h3 { margin-bottom: 12px; }
.support-card p { color: #565656; font-size: 0.95rem; flex-grow: 1; }
.support-card .btn { align-self: flex-start; margin-top: 8px; }

/* ============================================================
   Vacancy cards (Careers)
   ============================================================ */
.vacancy-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
@media (max-width: 980px) { .vacancy-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .vacancy-grid { grid-template-columns: 1fr; } }
.vacancy-card {
  background: var(--white);
  border: 1px solid rgba(18,55,42,0.08);
  border-top: 3px solid var(--gold);
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
}
.vacancy-card h3 { margin-bottom: 10px; }
.vacancy-card > p { color: #565656; font-size: 0.92rem; }
.vacancy-card .checklist { margin: 8px 0 22px; flex-grow: 1; }
.vacancy-card .checklist li { font-size: 0.86rem; margin-bottom: 10px; }
.vacancy-card .btn { align-self: flex-start; }
.careers-cta {
  background: var(--cream-soft);
  border: 1px dashed rgba(198,161,91,0.6);
  padding: 44px 40px;
  text-align: center;
}
@media (max-width: 640px) { .careers-cta { padding: 34px 24px; } }

/* ============================================================
   Payment options (Fees + Support Us)
   ============================================================ */
.payment-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 800px) { .payment-grid { grid-template-columns: 1fr; } }
.payment-card {
  background: var(--white);
  border: 1px solid rgba(18,55,42,0.1);
  padding: 28px 26px;
}
.payment-card h4 { font-family: var(--font-head); font-size: 1.2rem; color: var(--forest); margin-bottom: 10px; font-weight: 600; }
.payment-card p { font-size: 0.88rem; color: #565656; margin: 0 0 10px; }
.payment-card .bank-line { display: flex; justify-content: space-between; gap: 10px; font-size: 0.86rem; padding: 6px 0; border-bottom: 1px dashed rgba(18,55,42,0.1); }
.payment-card .bank-line span:first-child { color: #6b6b6b; }
.payment-card .bank-line span:last-child { font-weight: 600; color: var(--forest); text-align: right; }
.payment-copy {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--cream-soft);
  padding: 12px 14px;
  margin-top: 6px;
}
.payment-copy code { font-family: var(--font-body); font-weight: 600; color: var(--forest); font-size: 0.95rem; letter-spacing: 0.02em; }
.copy-btn {
  margin-left: auto;
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold-deep);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 7px 12px;
  border-radius: var(--radius);
  transition: all 0.2s var(--ease);
  flex-shrink: 0;
}
.copy-btn:hover { background: var(--gold); color: var(--forest-deep); }
.copy-btn.is-copied { background: var(--forest); border-color: var(--forest); color: var(--cream); }
.payment-card--pending { opacity: 0.72; }
.pending-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8a7248;
  background: rgba(198,161,91,0.18);
  padding: 5px 12px;
  border-radius: 999px;
}
.payment-note { font-size: 0.82rem; color: #6b6b6b; margin-top: 16px; }

/* ============================================================
   Forms — fields, groups, file upload, status banners
   ============================================================ */
.form-panel {
  background: var(--white);
  border: 1px solid rgba(18,55,42,0.1);
  padding: 40px 36px;
}
@media (max-width: 640px) { .form-panel { padding: 28px 22px; } }
.form-panel h3 { margin-bottom: 6px; }
.form-panel > p.lede { margin-bottom: 28px; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 24px; }
.form-grid--1 { grid-template-columns: 1fr; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--forest);
  letter-spacing: 0.02em;
}
.field label .opt { font-weight: 400; color: #8a8a8a; text-transform: none; letter-spacing: 0; margin-left: 4px; }
.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field input[type="number"],
.field input[type="url"],
.field select,
.field textarea {
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--charcoal);
  background: var(--cream);
  border: 1px solid rgba(18,55,42,0.18);
  border-radius: var(--radius);
  padding: 12px 14px;
  width: 100%;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.field textarea { resize: vertical; min-height: 110px; font-family: inherit; }
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  outline: none;
  border-color: var(--gold-deep);
  box-shadow: 0 0 0 3px rgba(198,161,91,0.25);
}
.field-error {
  font-size: 0.78rem;
  color: #a13a3a;
  min-height: 1em;
}
.field.has-error input,
.field.has-error select,
.field.has-error textarea { border-color: #a13a3a; }

.field-hint { font-size: 0.78rem; color: #8a8a8a; }

fieldset.field { border: none; padding: 0; margin: 0; }
fieldset.field legend { padding: 0; margin-bottom: 2px; font-size: 0.8rem; font-weight: 600; color: var(--forest); }

.pill-group { display: flex; flex-wrap: wrap; gap: 10px; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1px solid rgba(18,55,42,0.18);
  border-radius: 999px;
  font-size: 0.84rem;
  color: var(--forest);
  background: var(--cream);
  cursor: pointer;
  transition: all 0.2s var(--ease);
}
.pill input { position: absolute; opacity: 0; pointer-events: none; }
.pill:has(input:checked), .pill.is-checked { background: var(--forest); border-color: var(--forest); color: var(--cream); }
.pill:has(input:focus-visible) { box-shadow: 0 0 0 3px rgba(198,161,91,0.35); }

.check-grid { display: flex; flex-wrap: wrap; gap: 12px 22px; }
.check-row { display: flex; align-items: center; gap: 9px; font-size: 0.88rem; color: var(--charcoal); cursor: pointer; }
.check-row input { width: 17px; height: 17px; accent-color: var(--forest); flex-shrink: 0; }

.consent-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--cream-soft);
  padding: 16px 18px;
  font-size: 0.85rem;
  color: #4a4a4a;
}
.consent-row input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--forest); flex-shrink: 0; }

.privacy-note { font-size: 0.8rem; color: #7a7a7a; margin-top: 18px; }
.privacy-note a { color: var(--gold-deep); text-decoration: underline; }

/* File upload */
.file-drop {
  border: 1.5px dashed rgba(18,55,42,0.28);
  background: var(--cream);
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}
.file-drop.is-dragover { border-color: var(--gold-deep); background: var(--cream-soft); }
.file-drop-label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
}
.file-drop-cta {
  display: inline-flex;
  align-self: flex-start;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--forest-deep);
  background: var(--gold-soft);
  padding: 9px 16px;
  border-radius: var(--radius);
}
.file-drop-hint { font-size: 0.78rem; color: #8a8a8a; }
.file-drop-selected {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.86rem;
  color: var(--forest);
}
.file-drop-selected .file-name { font-weight: 600; word-break: break-all; }
.file-remove {
  background: transparent;
  border: 1px solid rgba(18,55,42,0.25);
  color: #6b6b6b;
  font-size: 0.72rem;
  padding: 6px 10px;
  border-radius: var(--radius);
}
.file-remove:hover { border-color: #a13a3a; color: #a13a3a; }

.form-actions { display: flex; align-items: center; gap: 18px; margin-top: 6px; flex-wrap: wrap; }
.form-actions .btn[disabled] { opacity: 0.6; cursor: not-allowed; transform: none; }
.btn-spinner {
  width: 15px; height: 15px;
  border-radius: 50%;
  border: 2px solid rgba(18,55,42,0.25);
  border-top-color: var(--forest-deep);
  animation: btnSpin 0.7s linear infinite;
  display: none;
}
.is-submitting .btn-spinner { display: inline-block; }
.is-submitting .btn-label-idle { display: none; }
@keyframes btnSpin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .btn-spinner { animation-duration: 1.4s; } }

.form-status {
  padding: 14px 18px;
  font-size: 0.88rem;
  border-left: 3px solid var(--gold);
  background: var(--cream-soft);
  color: var(--forest);
}
.form-status--success { border-left-color: #2f7a4d; background: rgba(47,122,77,0.09); color: #235c3a; }
.form-status--error { border-left-color: #a13a3a; background: rgba(161,58,58,0.08); color: #7c2c2c; }

/* Conditional field groups shown/hidden by forms.js */
[data-show-when] { display: none; }
[data-show-when].is-active { display: block; }

/* Honeypot (kept in the DOM/tab order out, invisible to real users) */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ============================================================
   National Examinations notice (Academics / Admissions)
   ============================================================ */
.exam-notice {
  background: var(--cream-soft);
  border-left: 3px solid var(--forest);
  padding: 28px 32px;
}
.exam-notice h3 { margin-bottom: 10px; }
.exam-notice p { font-size: 0.92rem; color: #3d3d3d; margin: 0 0 10px; }
.exam-notice p:last-child { margin-bottom: 0; }

/* ============================================================
   Additional restrained hover motion — photos, extra cards
   ============================================================ */
.support-card { transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease); }
.support-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.gallery-card .frame img,
.split-visual--photo img,
.hero-visual img,
.photo-band img { transition: transform 0.5s var(--ease); }
.gallery-card:hover .frame img,
.split-visual--photo:hover img { transform: scale(1.045); }
.nav-link { position: relative; }
.brand { transition: opacity 0.2s var(--ease); }
.brand:hover { opacity: 0.85; }

/* Universal accessible utility */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ============================================================
   Secure payment card variants + TEST MODE ribbon
   ============================================================ */
.payment-card--secure { border-color: rgba(18,55,42,0.22); background: linear-gradient(180deg, var(--white), var(--cream-soft)); }
.secure-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--forest); background: rgba(18,55,42,0.08);
  padding: 6px 12px; border-radius: 999px; margin-bottom: 14px;
}
.secure-badge svg { width: 15px; height: 15px; }
.testmode-ribbon {
  display: block;
  font-size: 0.78rem; font-weight: 600;
  color: #235c3a; background: rgba(47,122,77,0.1);
  border-left: 3px solid #2f7a4d;
  padding: 10px 14px; margin: 14px 0;
}
.testmode-ribbon--pending { color: #8a5a1f; background: rgba(198,161,91,0.16); border-left-color: var(--gold-deep); }

/* ============================================================
   Payment summary (live preview + payment-result page)
   ============================================================ */
.payment-summary { background: var(--cream-soft); padding: 20px 22px; margin: 22px 0; }
.payment-summary h4 { margin-bottom: 10px; font-size: 1.05rem; }
.payment-summary-row {
  display: flex; justify-content: space-between; gap: 14px;
  font-size: 0.86rem; padding: 7px 0; border-bottom: 1px dashed rgba(18,55,42,0.12);
}
.payment-summary-row:last-child { border-bottom: none; font-weight: 700; color: var(--forest); }
.payment-summary-row dt { color: #6b6b6b; margin: 0; }
.payment-summary-row dd { margin: 0; font-weight: 600; color: var(--forest); text-align: right; }

/* ============================================================
   FAQ accordion (About Us, and reusable elsewhere)
   ============================================================ */
.faq-accordion { display: flex; flex-direction: column; gap: 2px; }
.faq-item { border-bottom: 1px solid rgba(18,55,42,0.12); }
.faq-question {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: transparent; border: none; text-align: left;
  padding: 20px 4px; cursor: pointer;
  font-family: var(--font-head); font-size: 1.08rem; font-weight: 600; color: var(--forest);
}
.faq-question:focus-visible { outline: 2px solid var(--gold-deep); outline-offset: 2px; }
.faq-caret { flex-shrink: 0; width: 20px; height: 20px; color: var(--gold-deep); transition: transform 0.3s var(--ease); }
.faq-item.is-open .faq-caret { transform: rotate(180deg); }
.faq-answer { padding: 0 4px 20px; }
.faq-answer p { margin: 0; color: #4a4a4a; font-size: 0.94rem; }

/* ============================================================
   Jello — Mona's AI assistant widget
   Sits above the bottom-right corner, never over form actions;
   on mobile it drops beneath the reachable-thumb zone but stays
   clear of primary CTAs by using a compact, dismissible panel.
   ============================================================ */
.jello { position: fixed; right: 22px; bottom: 22px; z-index: 800; }
.jello-launcher {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--forest); color: var(--cream);
  border: 1px solid var(--forest);
  padding: 13px 20px 13px 16px; border-radius: 999px;
  box-shadow: var(--shadow-md);
  font-family: var(--font-body); font-size: 0.82rem; font-weight: 600; letter-spacing: 0.03em;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease);
}
.jello-launcher:hover { transform: translateY(-2px); background: var(--forest-tint); }
.jello-launcher-icon { width: 19px; height: 19px; color: var(--gold-soft); }
@media (max-width: 560px) {
  .jello { right: 14px; bottom: 14px; }
  .jello-launcher-label { display: none; }
  .jello-launcher { padding: 14px; border-radius: 50%; }
}

.jello-panel {
  position: fixed; right: 22px; bottom: 90px;
  width: min(380px, calc(100vw - 28px));
  max-height: min(560px, calc(100vh - 130px));
  background: var(--white);
  border: 1px solid rgba(18,55,42,0.14);
  box-shadow: var(--shadow-md);
  display: flex; flex-direction: column;
  opacity: 0; transform: translateY(14px) scale(0.98);
  transition: opacity 0.22s var(--ease), transform 0.22s var(--ease);
  transform-origin: bottom right;
}
.jello-panel.is-open { opacity: 1; transform: translateY(0) scale(1); }
@media (max-width: 560px) {
  .jello-panel { right: 10px; left: 10px; width: auto; bottom: 84px; }
}
.jello-header {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 10px;
  background: var(--forest); color: var(--cream);
  padding: 16px 18px;
}
.jello-header strong { display: block; font-family: var(--font-head); font-size: 1.15rem; }
.jello-subtitle { display: block; font-size: 0.72rem; color: rgba(247,243,232,0.7); text-transform: uppercase; letter-spacing: 0.08em; margin-top: 2px; }
.jello-close { background: transparent; border: none; color: var(--cream); font-size: 1.4rem; line-height: 1; padding: 2px 6px; }
.jello-close:hover { color: var(--gold-soft); }
.jello-log { flex: 1; overflow-y: auto; padding: 16px 18px; display: flex; flex-direction: column; gap: 12px; }
.jello-msg { max-width: 88%; font-size: 0.88rem; line-height: 1.55; padding: 10px 14px; border-radius: 14px; white-space: pre-wrap; }
.jello-msg--bot { align-self: flex-start; background: var(--cream-soft); color: var(--charcoal); border-bottom-left-radius: 4px; }
.jello-msg--user { align-self: flex-end; background: var(--forest); color: var(--cream); border-bottom-right-radius: 4px; }
.jello-msg--typing { display: flex; gap: 4px; padding: 14px; }
.jello-msg--typing span { width: 6px; height: 6px; border-radius: 50%; background: #a5a5a5; animation: jelloTyping 1.1s ease-in-out infinite; }
.jello-msg--typing span:nth-child(2) { animation-delay: 0.15s; }
.jello-msg--typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes jelloTyping { 0%, 60%, 100% { opacity: 0.35; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }
.jello-suggestions { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.jello-suggestion {
  background: var(--white); border: 1px solid rgba(18,55,42,0.2); color: var(--forest);
  font-size: 0.8rem; padding: 8px 13px; border-radius: 999px; text-align: left;
  transition: all 0.2s var(--ease);
}
.jello-suggestion:hover { background: var(--cream-soft); border-color: var(--gold); }
.jello-form { display: flex; gap: 8px; padding: 12px 14px; border-top: 1px solid rgba(18,55,42,0.1); }
.jello-form input {
  flex: 1; border: 1px solid rgba(18,55,42,0.18); border-radius: 999px;
  padding: 10px 16px; font-family: var(--font-body); font-size: 0.86rem; background: var(--cream);
}
.jello-form input:focus-visible { outline: none; border-color: var(--gold-deep); box-shadow: 0 0 0 3px rgba(198,161,91,0.25); }
.jello-send {
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0;
  background: var(--gold); color: var(--forest-deep); border: none;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}
.jello-send:hover { background: var(--gold-soft); transform: translateX(1px); }
.jello-send svg { width: 17px; height: 17px; }
.jello-disclaimer { font-size: 0.7rem; color: #8a8a8a; padding: 0 16px 14px; margin: 0; }
.jello-disclaimer a { color: var(--gold-deep); }

/* ============================================================
   Global reduced-motion: keep every animation purposeful and
   skippable — content stays fully readable and usable either way.
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { transition-duration: 0.01ms !important; transition-delay: 0s !important; }
  .card:hover, .support-card:hover, .link-card:hover .arrow,
  .gallery-card:hover .frame img, .split-visual--photo:hover img,
  .jello-launcher:hover, .btn-gold:hover { transform: none !important; }
  .jello-panel { transition-duration: 0.01ms !important; }
  .jello-msg--typing span { animation: none !important; opacity: 0.6; }
}
