/* ================================================================
   FUTURIO LEARNING — COMPLETE CSS DESIGN SYSTEM
   Mobile-first | Component-based | WordPress-compatible
   Prefix: fl- (avoids conflicts with WordPress/Gutenberg defaults)
   Fonts: Poppins (headings) · Open Sans (body) via Google Fonts
   Version 1.0 — April 2026
   ================================================================

   SECTION INDEX
   ─────────────────────────────────────────────────
    1.  Google Fonts import
    2.  Design tokens (:root custom properties)
    3.  Base reset
    4.  Global typography (h1–h6, p, links)
    5.  Type utilities (.fl-eyebrow, .fl-lead, .fl-highlight …)
    6.  Layout (.fl-container, .fl-section, .fl-grid-*, .fl-split)
    7.  Navigation (.fl-nav and sub-elements)
    8.  Buttons (.fl-btn and all modifiers)
    9.  Hero sections (.fl-hero--home, --page, --dark)
   10.  Trust strip (.fl-trust, .fl-trust-badge, .fl-check-list)
   11.  Feature / program hub grid (.fl-feature-grid, .fl-feature-card)
   12.  How it works / numbered steps (.fl-steps, .fl-step)
   13.  Stats band (.fl-stats, .fl-stat)
   14.  Testimonial & review cards (.fl-testimonial-card)
   15.  CTA banner (.fl-cta-banner)
   16.  Service format cards (.fl-service-grid, .fl-service-card)
   17.  Program sections — alternating image/text (.fl-program-section)
   18.  Audience sections (.fl-audience-section, .fl-audience-card--dark)
   19.  Team cards (.fl-team-grid, .fl-team-card)
   20.  Value / principles cards (.fl-value-grid, .fl-value-card)
   21.  Comparison section (.fl-comparison)
   22.  FAQ — card grid & accordion (.fl-faq-grid, .fl-faq-accordion)
   23.  Contact form & sidebar (.fl-form, .fl-contact-layout, .fl-what-next)
   24.  Blog cards (.fl-blog-grid, .fl-blog-card)
   25.  Footer (.fl-footer)
   26.  Utility classes & accessibility
   ================================================================ */


/* ── 1. GOOGLE FONTS ──────────────────────────────────────────── */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&family=Open+Sans:wght@400;500;600&display=swap');


/* ── 2. DESIGN TOKENS ─────────────────────────────────────────── */
/*
   All values live here. Change a token, change the whole site.
   Breakpoint overrides at bottom of this block scale the tokens
   that need to shift at tablet (768px) and desktop (1024px).
*/

:root {

  /* ── Colours ── */

  /* Primary brand */
  --fl-teal-dark:     #2F4F57;   /* headings, structure, dark panels   */
  --fl-teal-vivid:    #2BB3A3;   /* buttons, highlights, interactive    */
  --fl-teal-mid:      #1E3A40;   /* hover on dark panels, footer links  */
  --fl-teal-light:    #E1F5EE;   /* tint backgrounds, check icons       */
  --fl-teal-hover:    #229e90;   /* primary button hover (≈15% darker)  */

  /* Secondary accents */
  --fl-green:         #6CC24A;   /* leaf / wellness accent, standards   */
  --fl-green-light:   #EAF5E1;   /* standards callout background        */

  /* Premium CTA — use at ≤5% of the page */
  --fl-gold:          #D4AF37;   /* CTA buttons on dark sections        */
  --fl-gold-dark:     #B8941F;   /* gold button hover state             */
  --fl-gold-light:    #FDF3D8;   /* gold tint backgrounds, notes        */

  /* Neutrals */
  --fl-white:         #FFFFFF;
  --fl-gray-50:       #F5F7FA;   /* section alt background              */
  --fl-gray-100:      #E9ECF0;   /* borders, dividers                   */
  --fl-gray-200:      #D1D5DB;   /* input borders (unfocused)           */
  --fl-gray-500:      #777777;   /* body text, descriptions, placeholders*/
  --fl-gray-700:      #444444;   /* slightly stronger muted text        */
  --fl-text:          #333333;   /* primary body text                   */

  /* ── Semantic aliases ── */
  --fl-color-primary:     var(--fl-teal-dark);
  --fl-color-accent:      var(--fl-teal-vivid);
  --fl-color-cta:         var(--fl-gold);
  --fl-color-surface:     var(--fl-white);
  --fl-color-surface-alt: var(--fl-gray-50);
  --fl-color-border:      var(--fl-gray-100);
  --fl-color-text:        var(--fl-text);
  --fl-color-text-muted:  var(--fl-gray-500);

  /* ── Typography ── */
  --fl-font-heading:  'Poppins',   system-ui, sans-serif;
  --fl-font-body:     'Open Sans', system-ui, sans-serif;

  /* Font scale — mobile base (scales up at 768px and 1024px via token override) */
  --fl-text-xs:     0.75rem;     /* 12px */
  --fl-text-sm:     0.875rem;    /* 14px */
  --fl-text-base:   1rem;        /* 16px */
  --fl-text-md:     1.125rem;    /* 18px */
  --fl-text-lg:     1.25rem;     /* 20px */
  --fl-text-xl:     1.5rem;      /* 24px */
  --fl-text-2xl:    1.875rem;    /* 30px */
  --fl-text-3xl:    2.25rem;     /* 36px */
  --fl-text-4xl:    2.75rem;     /* 44px */
  --fl-text-h1:     2.5rem;      /* 40px  — mobile H1 */
  --fl-text-display: 2.75rem;    /* 44px  — mobile hero title */

  /* Line heights */
  --fl-lh-tight:    1.15;
  --fl-lh-snug:     1.3;
  --fl-lh-normal:   1.5;
  --fl-lh-relaxed:  1.7;

  /* Letter spacing */
  --fl-ls-tight:    -0.02em;
  --fl-ls-normal:   0;
  --fl-ls-wide:     0.05em;
  --fl-ls-wider:    0.1em;

  /* ── Spacing scale ── */
  --fl-sp-1:    0.25rem;    /*  4px */
  --fl-sp-2:    0.5rem;     /*  8px */
  --fl-sp-3:    0.75rem;    /* 12px */
  --fl-sp-4:    1rem;       /* 16px */
  --fl-sp-5:    1.25rem;    /* 20px */
  --fl-sp-6:    1.5rem;     /* 24px */
  --fl-sp-8:    2rem;       /* 32px */
  --fl-sp-10:   2.5rem;     /* 40px */
  --fl-sp-12:   3rem;       /* 48px */
  --fl-sp-16:   4rem;       /* 64px */
  --fl-sp-20:   5rem;       /* 80px */
  --fl-sp-24:   6rem;       /* 96px */

  /* Section vertical padding — scales with breakpoints */
  --fl-sp-section: 3.5rem;  /* 56px mobile */

  /* ── Border radius ── */
  --fl-radius-sm:   0.375rem;   /*  6px */
  --fl-radius-md:   0.625rem;   /* 10px */
  --fl-radius-lg:   0.875rem;   /* 14px */
  --fl-radius-xl:   1.25rem;    /* 20px */
  --fl-radius-2xl:  1.75rem;    /* 28px */
  --fl-radius-pill: 9999px;

  /* ── Shadows ── */
  --fl-shadow-sm:    0 1px 3px rgba(0,0,0,0.08);
  --fl-shadow-md:    0 4px 12px rgba(47,79,87,0.10);
  --fl-shadow-lg:    0 8px 28px rgba(47,79,87,0.14);
  --fl-shadow-card:  0 2px 12px rgba(47,79,87,0.08);
  --fl-shadow-focus: 0 0 0 3px rgba(43,179,163,0.30);

  /* ── Transitions ── */
  --fl-transition:      200ms ease;
  --fl-transition-slow: 360ms ease;

  /* ── Container widths ── */
  --fl-container-max:    1200px;
  --fl-container-wide:   1380px;
  --fl-container-narrow:  760px;
  --fl-container-pad:    1.25rem;  /* mobile gutter */

  /* ── Grid gap ── */
  --fl-gap:     1.25rem;   /* mobile */
  --fl-gap-lg:  2rem;      /* desktop */
}

/* ── Tablet token overrides (768px+) ── */
@media (min-width: 768px) {
  :root {
    --fl-text-h1:      3rem;       /* 48px */
    --fl-text-display: 3.5rem;     /* 56px */
    --fl-sp-section:   4.5rem;     /* 72px */
    --fl-container-pad: 2rem;
    --fl-gap:          1.5rem;
  }
}

/* ── Desktop token overrides (1024px+) ── */
@media (min-width: 1024px) {
  :root {
    --fl-text-h1:      3.5rem;     /* 56px */
    --fl-text-display: 4.25rem;    /* 68px — large but not overwhelming for local business */
    --fl-sp-section:   5.5rem;     /* 88px */
    --fl-container-pad: 2.5rem;
    --fl-gap:          2rem;
  }
}


/* ── 3. BASE RESET ────────────────────────────────────────────── */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--fl-font-body);
  font-size: var(--fl-text-base);
  line-height: var(--fl-lh-relaxed);
  color: var(--fl-color-text);
  background: var(--fl-color-surface);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, video, svg {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--fl-teal-vivid);
  text-decoration: none;
  transition: color var(--fl-transition);
}

a:hover { color: var(--fl-teal-dark); }

ul, ol { list-style: none; }

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

input, select, textarea {
  font-family: inherit;
}


/* ── 4. GLOBAL TYPOGRAPHY ─────────────────────────────────────── */
/*
   Poppins for all headings — bold, tight letter-spacing.
   Open Sans for body — relaxed line-height, comfortable reading.
   All heading colours default to teal-dark; override with utility
   classes (.fl-text-white, .fl-text-gold) inside dark sections.
*/

h1, h2, h3, h4, h5, h6 {
  font-family: var(--fl-font-heading);
  font-weight: 700;
  line-height: var(--fl-lh-tight);
  letter-spacing: var(--fl-ls-tight);
  color: var(--fl-color-primary);
}

h1 {
  font-size: var(--fl-text-h1);
  margin-bottom: var(--fl-sp-5);
}

h2 {
  font-size: var(--fl-text-3xl);
  margin-bottom: var(--fl-sp-4);
}

h3 {
  font-size: var(--fl-text-xl);
  margin-bottom: var(--fl-sp-3);
}

h4 {
  font-size: var(--fl-text-lg);
  font-weight: 600;
  margin-bottom: var(--fl-sp-2);
}

h5 {
  font-size: var(--fl-text-md);
  font-weight: 600;
}

h6 {
  font-size: var(--fl-text-base);
  font-weight: 600;
}

p {
  font-family: var(--fl-font-body);
  font-size: var(--fl-text-base);
  line-height: var(--fl-lh-relaxed);
  color: var(--fl-color-text);
  margin-bottom: var(--fl-sp-4);
}

p:last-child { margin-bottom: 0; }


/* ── 5. TYPE UTILITIES ────────────────────────────────────────── */

/* Eyebrow / section label
   PURPOSE: Small all-caps label above section headings.
   Signals what the section is before the H2 lands.
   ───────────────────────────────────────────────── */
.fl-eyebrow {
  display: inline-block;
  font-family: var(--fl-font-heading);
  font-size: var(--fl-text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--fl-ls-wider);
  color: var(--fl-teal-vivid);
  margin-bottom: var(--fl-sp-3);
}

/* Pill variant — used on interior page heroes */
.fl-eyebrow--chip {
  background: var(--fl-teal-light);
  color: var(--fl-teal-dark);
  padding: var(--fl-sp-1) var(--fl-sp-3);
  border-radius: var(--fl-radius-pill);
}

/* On-dark variant */
.fl-eyebrow--on-dark { color: var(--fl-gold); }

/* Lead paragraph
   PURPOSE: Larger intro body copy beneath a heading.
   Use once per section, never for list items.
   ─────────────────────────────────────────────── */
.fl-lead {
  font-size: var(--fl-text-md);
  line-height: var(--fl-lh-relaxed);
  color: var(--fl-gray-500);
  margin-bottom: var(--fl-sp-6);
}

@media (min-width: 768px) {
  .fl-lead { font-size: var(--fl-text-lg); }
}

/* Highlighted word in heading (e.g. "Maryland" in H1)
   PURPOSE: Single teal accent inside a dark heading.
   Applied to a <span> wrapping the word inline.
   ─────────────────────────────────────────────── */
.fl-highlight        { color: var(--fl-teal-vivid); }
.fl-highlight--gold  { color: var(--fl-gold); }
.fl-highlight--green { color: var(--fl-green); }

/* Centred section heading wrapper
   PURPOSE: Wraps an eyebrow + H2 + lead in section intros.
   Centres text, constrains width to 720px max.
   ─────────────────────────────────────────────── */
.fl-section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto var(--fl-sp-10);
}

.fl-section-head h2   { margin-bottom: var(--fl-sp-3); }
.fl-section-head .fl-lead { margin-bottom: 0; }

/* Gold accent divider line
   PURPOSE: Visual separation below a section heading.
   48×3px teal or gold pill. Use sparingly.
   ─────────────────────────────────────────────── */
.fl-divider {
  width: 48px;
  height: 3px;
  background: var(--fl-teal-vivid);
  border-radius: var(--fl-radius-pill);
  margin: var(--fl-sp-4) 0 var(--fl-sp-6);
}

.fl-divider--gold   { background: var(--fl-gold); }
.fl-divider--center { margin-left: auto; margin-right: auto; }

/* Blockquote (pull quotes on social-skills program section)
   ─────────────────────────────────────────────── */
.fl-blockquote {
  border-left: 4px solid var(--fl-teal-vivid);
  padding: var(--fl-sp-4) var(--fl-sp-6);
  margin: var(--fl-sp-6) 0;
  background: var(--fl-teal-light);
  border-radius: 0 var(--fl-radius-md) var(--fl-radius-md) 0;
}

.fl-blockquote p {
  font-size: var(--fl-text-md);
  font-style: italic;
  color: var(--fl-teal-dark);
  margin-bottom: 0;
}

/* Colour overrides for text inside dark sections */
.fl-text-white { color: var(--fl-white)      !important; }
.fl-text-gold  { color: var(--fl-gold)        !important; }
.fl-text-teal  { color: var(--fl-teal-vivid)  !important; }
.fl-text-muted { color: var(--fl-gray-500)    !important; }

/* Dark-section heading / paragraph auto-colouring
   Applied to .fl-section--dark and .fl-section--darker wrapper:
   ─────────────────────────────────────────────── */
.fl-section--dark  h1, .fl-section--dark  h2,
.fl-section--dark  h3, .fl-section--dark  h4,
.fl-section--darker h2, .fl-section--darker h3 {
  color: var(--fl-white);
}

.fl-section--dark p, .fl-section--darker p {
  color: rgba(255,255,255,0.78);
}


/* ── 6. LAYOUT ────────────────────────────────────────────────── */

/* Container
   PURPOSE: Horizontal max-width wrapper used on every section.
   Three widths: default (1200px), wide (1380px), narrow (760px).
   Padding expands at breakpoints via token override.
   ─────────────────────────────────────────────── */
.fl-container {
  width: 100%;
  max-width: var(--fl-container-max);
  margin: 0 auto;
  padding: 0 var(--fl-container-pad);
}

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

/* Section wrappers
   PURPOSE: Vertical rhythm + background colour for each page section.
   Always use one of these as the outermost element per section.
   ─────────────────────────────────────────────── */
.fl-section {
  padding: var(--fl-sp-section) 0;
  background: var(--fl-white);
}

.fl-section--gray    { background: var(--fl-gray-50); }
.fl-section--teal    { background: var(--fl-teal-light); }
.fl-section--dark    { background: var(--fl-teal-dark); }
.fl-section--darker  { background: var(--fl-teal-mid); }

/* Responsive grids
   PURPOSE: CSS Grid shorthand for common column counts.
   Always 1-col on mobile, scale up at breakpoints.
   Gap uses the --fl-gap token (scales with breakpoints).
   ─────────────────────────────────────────────── */
.fl-grid {
  display: grid;
  gap: var(--fl-gap);
  grid-template-columns: 1fr;
}

/* 2 columns: 1-col mobile → 2-col at 640px */
.fl-grid--2 {
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .fl-grid--2 { grid-template-columns: 1fr 1fr; }
}

/* 3 columns: 1-col mobile → 2-col at 640px → 3-col at 1024px */
.fl-grid--3 {
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .fl-grid--3 { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 1024px) {
  .fl-grid--3 { grid-template-columns: 1fr 1fr 1fr; }
}

/* 4 columns: 2-col mobile → 4-col at 768px */
.fl-grid--4 {
  grid-template-columns: 1fr 1fr;
}

@media (min-width: 768px) {
  .fl-grid--4 { grid-template-columns: repeat(4, 1fr); }
}

/* Asymmetric 60/40 grid — the signature layout from reference site.
   PURPOSE: Featured card (left, 60%) + two stacked smaller cards (right, 40%).
   Used on homepage for Student Programs / Parent Programs / Services hub.
   ─────────────────────────────────────────────── */
.fl-grid--asymmetric {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--fl-gap);
}

@media (min-width: 768px) {
  .fl-grid--asymmetric {
    grid-template-columns: 3fr 2fr;
    grid-template-rows: 1fr 1fr;
  }

  /* Featured child spans both rows in the left column */
  .fl-grid--asymmetric .fl-feature-card--featured {
    grid-row: 1 / 3;
  }
}

/* 2-col split (image + text) — used for alternating program/audience sections.
   PURPOSE: Side-by-side image and content. --reverse flips order on desktop.
   ─────────────────────────────────────────────── */
.fl-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--fl-sp-8);
  align-items: center;
}

@media (min-width: 768px) {
  .fl-split {
    grid-template-columns: 1fr 1fr;
    gap: var(--fl-sp-12);
  }
}

@media (min-width: 1024px) {
  .fl-split { gap: var(--fl-sp-16); }
}

/* Reverse variant — flips column order at 768px+ */
@media (min-width: 768px) {
  .fl-split--reverse .fl-split__image   { order: 2; }
  .fl-split--reverse .fl-split__content { order: 1; }
}

.fl-split__image {
  border-radius: var(--fl-radius-xl);
  overflow: hidden;
  position: relative;
}

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

.fl-split__content { padding: var(--fl-sp-2) 0; }


/* ── 7. NAVIGATION ────────────────────────────────────────────── */

/* Outer nav bar
   PURPOSE: Sticky white bar across top of every page.
   Shadow added via JS by toggling .fl-nav--scrolled on scroll.
   ─────────────────────────────────────────────── */
.fl-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--fl-white);
  border-bottom: 1px solid var(--fl-gray-100);
  transition: box-shadow var(--fl-transition);
}

.fl-nav--scrolled {
  box-shadow: 0 2px 16px rgba(47,79,87,0.12);
}

/* Inner flex row */
.fl-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  max-width: var(--fl-container-max);
  margin: 0 auto;
  padding: 0 var(--fl-container-pad);
}

/* Logo */
.fl-nav__logo { display: flex; align-items: center; flex-shrink: 0; }
.fl-nav__logo img { height: 36px; width: auto; }

/* Desktop link list
   PURPOSE: Horizontal nav links, hidden on mobile.
   ─────────────────────────────────────────────── */
.fl-nav__links {
  display: none;
  align-items: center;
  gap: var(--fl-sp-1);
}

@media (min-width: 1024px) {
  .fl-nav__links { display: flex; }
}

.fl-nav__link {
  font-family: var(--fl-font-heading);
  font-size: var(--fl-text-sm);
  font-weight: 500;
  color: var(--fl-gray-700);
  padding: var(--fl-sp-2) var(--fl-sp-3);
  border-radius: var(--fl-radius-sm);
  transition: color var(--fl-transition), background var(--fl-transition);
}

.fl-nav__link:hover,
.fl-nav__link--active {
  color: var(--fl-teal-dark);
  background: var(--fl-gray-50);
}

/* Right cluster (optional phone link + CTA button) */
.fl-nav__right {
  display: flex;
  align-items: center;
  gap: var(--fl-sp-3);
}

/* Mobile hamburger button
   PURPOSE: Triggers .is-open on the .fl-nav__mobile drawer.
   Add JS: toggle('is-open') on click, toggle aria-expanded.
   ─────────────────────────────────────────────── */
.fl-nav__toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 6px;
  cursor: pointer;
  background: none;
  border: none;
  flex-shrink: 0;
}

.fl-nav__toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--fl-teal-dark);
  border-radius: 2px;
  transition: transform var(--fl-transition), opacity var(--fl-transition);
}

/* Animate hamburger to X when open */
.fl-nav__toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.fl-nav__toggle.is-open span:nth-child(2) { opacity: 0; }
.fl-nav__toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (min-width: 1024px) {
  .fl-nav__toggle { display: none; }
}

/* Mobile drawer
   PURPOSE: Vertical link list that drops below the nav bar on mobile.
   Hidden by default, shown when .is-open is applied via JS.
   ─────────────────────────────────────────────── */
.fl-nav__mobile {
  display: none;
  flex-direction: column;
  gap: var(--fl-sp-1);
  background: var(--fl-white);
  border-top: 1px solid var(--fl-gray-100);
  padding: var(--fl-sp-4) var(--fl-container-pad) var(--fl-sp-6);
  box-shadow: 0 8px 24px rgba(47,79,87,0.10);
}

.fl-nav__mobile.is-open { display: flex; }

.fl-nav__mobile .fl-nav__link {
  display: block;
  padding: var(--fl-sp-3) var(--fl-sp-4);
  font-size: var(--fl-text-base);
  border-radius: var(--fl-radius-md);
}

.fl-nav__mobile .fl-btn--primary {
  margin-top: var(--fl-sp-4);
  text-align: center;
  width: 100%;
}


/* ── 8. BUTTONS ───────────────────────────────────────────────── */
/*
   All buttons use .fl-btn as the base class plus one modifier.
   Never apply a modifier without .fl-btn.
   Hover states use box-shadow lift rather than heavy background shifts
   to keep the site feeling refined rather than aggressive.
*/

/* Base button
   PURPOSE: Shared structure for all button variants.
   Pill shape, Poppins, consistent padding, focus ring.
   ─────────────────────────────────────────────── */
.fl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--fl-sp-2);
  font-family: var(--fl-font-heading);
  font-size: var(--fl-text-sm);
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  padding: 0.8125rem 1.625rem;   /* 13px 26px — matches reference site pill height */
  border-radius: var(--fl-radius-pill);
  border: 2px solid transparent;
  cursor: pointer;
  transition:
    background      var(--fl-transition),
    color           var(--fl-transition),
    border-color    var(--fl-transition),
    box-shadow      var(--fl-transition),
    transform       var(--fl-transition);
  white-space: nowrap;
}

.fl-btn:focus-visible {
  outline: none;
  box-shadow: var(--fl-shadow-focus);
}

.fl-btn:active { transform: translateY(1px); }

/* ── Primary — Vibrant Teal filled
   USE: Main site CTA (nav button, hero primary, in-section CTAs).
   Never use gold for the primary in-page action.
   ─────────────────────────────────────────────── */
.fl-btn--primary {
  background: var(--fl-teal-vivid);
  color: var(--fl-white);
  border-color: var(--fl-teal-vivid);
}

.fl-btn--primary:hover {
  background: var(--fl-teal-hover);
  border-color: var(--fl-teal-hover);
  color: var(--fl-white);
  box-shadow: var(--fl-shadow-md);
}

/* ── Secondary — Outlined teal
   USE: Secondary action alongside a primary button in a button group.
   ─────────────────────────────────────────────── */
.fl-btn--secondary {
  background: transparent;
  color: var(--fl-teal-dark);
  border-color: var(--fl-teal-dark);
}

.fl-btn--secondary:hover {
  background: var(--fl-teal-dark);
  color: var(--fl-white);
}

/* ── Gold — Premium CTA (≤5% of page)
   USE: Only inside dark teal banners and stats sections.
   The gold button should feel like a rare, premium moment.
   ─────────────────────────────────────────────── */
.fl-btn--gold {
  background: var(--fl-gold);
  color: var(--fl-teal-dark);
  border-color: var(--fl-gold);
  font-weight: 700;
}

.fl-btn--gold:hover {
  background: var(--fl-gold-dark);
  border-color: var(--fl-gold-dark);
  color: var(--fl-white);
  box-shadow: 0 4px 18px rgba(212,175,55,0.38);
}

/* ── White outline — for dark backgrounds other than CTA banner
   USE: Secondary button option inside dark panels.
   ─────────────────────────────────────────────── */
.fl-btn--white-outline {
  background: transparent;
  color: var(--fl-white);
  border-color: rgba(255,255,255,0.65);
}

.fl-btn--white-outline:hover {
  background: var(--fl-white);
  color: var(--fl-teal-dark);
  border-color: var(--fl-white);
}

/* ── White filled — lighter dark-bg option
   ─────────────────────────────────────────────── */
.fl-btn--white {
  background: var(--fl-white);
  color: var(--fl-teal-dark);
  border-color: var(--fl-white);
}

.fl-btn--white:hover {
  background: var(--fl-gray-50);
  border-color: var(--fl-gray-50);
}

/* ── Text link with animated arrow
   USE: Card-level CTAs like "Explore Curriculum →"
   No background or border. Arrow slides right on hover.
   ─────────────────────────────────────────────── */
.fl-btn--text {
  display: inline-flex;
  align-items: center;
  gap: var(--fl-sp-2);
  font-family: var(--fl-font-heading);
  font-size: var(--fl-text-sm);
  font-weight: 600;
  color: var(--fl-teal-vivid);
  padding: 0;
  border: none;
  background: none;
  text-decoration: none;
  transition: color var(--fl-transition), gap var(--fl-transition);
}

.fl-btn--text::after {
  content: '\2192';
  display: inline-block;
  transition: transform var(--fl-transition);
}

.fl-btn--text:hover          { color: var(--fl-teal-dark); }
.fl-btn--text:hover::after   { transform: translateX(5px); }

/* On-dark text link */
.fl-btn--text-dark {
  color: var(--fl-gold);
}

.fl-btn--text-dark:hover { color: var(--fl-white); }

/* ── Size modifiers ── */
.fl-btn--sm {
  font-size: var(--fl-text-xs);
  padding: 0.5rem 1.125rem;
}

.fl-btn--lg {
  font-size: var(--fl-text-base);
  padding: 1rem 2.125rem;
}

/* Button group container
   USE: Wraps 2 buttons side-by-side. Wraps to stack on small screens.
   ─────────────────────────────────────────────── */
.fl-btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--fl-sp-3);
  align-items: center;
}


/* ── 9. HERO SECTIONS ─────────────────────────────────────────── */

/* ── Homepage hero — split layout
   PURPOSE: The most important section on the site.
   Left column (55%): white bg, left-aligned text + 2 CTAs.
   Right column (45%): dark teal panel with photo + floating badge card.
   This creates the dramatic contrast seen in the reference site.
   ─────────────────────────────────────────────── */
.fl-hero--home {
  background: var(--fl-white);
  overflow: hidden;
}

.fl-hero--home .fl-hero__inner {
  display: grid;
  grid-template-columns: 1fr;
  min-height: auto;
}

@media (min-width: 768px) {
  .fl-hero--home .fl-hero__inner {
    grid-template-columns: 55fr 45fr;
    min-height: 580px;
  }
}

@media (min-width: 1024px) {
  .fl-hero--home .fl-hero__inner {
    min-height: 660px;
  }
}

/* Left text column */
.fl-hero__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--fl-sp-12) var(--fl-container-pad);
}

@media (min-width: 768px) {
  .fl-hero__content {
    padding: var(--fl-sp-16) var(--fl-sp-12) var(--fl-sp-16) var(--fl-container-pad);
    max-width: 600px;
  }
}

@media (min-width: 1024px) {
  .fl-hero__content {
    /* Aligns left edge to global container boundary */
    padding-left: max(
      var(--fl-container-pad),
      calc((100vw - var(--fl-container-max)) / 2 + var(--fl-container-pad))
    );
  }
}

/* Hero H1 — uses display token, much larger than standard H1 */
.fl-hero__title {
  font-family: var(--fl-font-heading);
  font-size: var(--fl-text-display);
  font-weight: 700;
  line-height: var(--fl-lh-tight);
  letter-spacing: var(--fl-ls-tight);
  color: var(--fl-teal-dark);
  margin-bottom: var(--fl-sp-5);
}

/* Supporting subheadline (bold descriptor line under H1) */
.fl-hero__subtitle {
  font-family: var(--fl-font-heading);
  font-size: var(--fl-text-md);
  font-weight: 600;
  color: var(--fl-gray-700);
  margin-bottom: var(--fl-sp-4);
  line-height: var(--fl-lh-snug);
}

/* Hero body paragraph */
.fl-hero__body {
  font-size: var(--fl-text-base);
  color: var(--fl-gray-500);
  line-height: var(--fl-lh-relaxed);
  margin-bottom: var(--fl-sp-8);
  max-width: 500px;
}

@media (min-width: 768px) {
  .fl-hero__body { font-size: var(--fl-text-md); }
}

/* Right dark panel — holds photo + floating badge */
.fl-hero__panel {
  background: var(--fl-teal-dark);
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  min-height: 280px;
  padding: var(--fl-sp-8) var(--fl-sp-8) 0;
}

@media (min-width: 768px) {
  .fl-hero__panel { min-height: auto; }
}

/* Hero photo (real photography only — not AI character) */
.fl-hero__panel-image {
  position: relative;
  z-index: 1;
  width: 100%;
  max-height: 520px;
  object-fit: contain;
  object-position: bottom;
}

/* Floating badge card — overlays corner of dark panel
   PURPOSE: Adds credibility signal (award, partnership note)
   visible in the hero without cluttering the headline area.
   ─────────────────────────────────────────────── */
.fl-hero__badge {
  position: absolute;
  bottom: var(--fl-sp-6);
  left: var(--fl-sp-6);
  background: var(--fl-white);
  border-radius: var(--fl-radius-lg);
  padding: var(--fl-sp-3) var(--fl-sp-4);
  box-shadow: var(--fl-shadow-lg);
  z-index: 2;
  max-width: 210px;
}

.fl-hero__badge-label {
  font-family: var(--fl-font-heading);
  font-size: var(--fl-text-xs);
  font-weight: 700;
  color: var(--fl-teal-vivid);
  text-transform: uppercase;
  letter-spacing: var(--fl-ls-wide);
  margin-bottom: var(--fl-sp-1);
}

.fl-hero__badge-text {
  font-size: var(--fl-text-sm);
  font-weight: 500;
  color: var(--fl-teal-dark);
  line-height: 1.4;
}

/* ── Interior page hero (About, Services, Who We Serve, etc.)
   PURPOSE: Simpler 2-col layout. Gray-50 bg, standard H1 size.
   ─────────────────────────────────────────────── */
.fl-hero--page {
  background: var(--fl-gray-50);
  padding: var(--fl-sp-12) 0;
}

.fl-hero--page .fl-hero__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--fl-sp-8);
  align-items: center;
}

@media (min-width: 768px) {
  .fl-hero--page .fl-hero__inner {
    grid-template-columns: 1fr 1fr;
    gap: var(--fl-sp-12);
  }

  .fl-hero--page .fl-hero__content { padding: 0; }
}

.fl-hero--page .fl-hero__title { font-size: var(--fl-text-3xl); }

@media (min-width: 768px) {
  .fl-hero--page .fl-hero__title { font-size: var(--fl-text-4xl); }
}

/* Page hero image container */
.fl-hero__image {
  border-radius: var(--fl-radius-xl);
  overflow: hidden;
}

.fl-hero__image img {
  width: 100%;
  height: 360px;
  object-fit: cover;
}

@media (min-width: 768px) {
  .fl-hero__image img { height: 420px; }
}

/* ── Full-bleed dark hero (Programs page)
   PURPOSE: Image/gradient full-width banner with white text.
   Uses a real classroom photo, not AI illustration.
   ─────────────────────────────────────────────── */
.fl-hero--dark {
  background: var(--fl-teal-dark);
  position: relative;
  padding: var(--fl-sp-16) 0 var(--fl-sp-12);
  text-align: center;
  overflow: hidden;
}

/* Optional background image overlay */
.fl-hero--dark .fl-hero__bg {
  position: absolute;
  inset: 0;
  object-fit: cover;
  width: 100%;
  height: 100%;
  opacity: 0.2;
}

.fl-hero--dark .fl-hero__content {
  position: relative;
  z-index: 1;
  max-width: 780px;
  margin: 0 auto;
  padding: 0 var(--fl-container-pad);
  text-align: center;
}

.fl-hero--dark .fl-hero__title   { color: var(--fl-white); }
.fl-hero--dark .fl-hero__subtitle { color: rgba(255,255,255,0.8); }
.fl-hero--dark .fl-hero__body    { color: rgba(255,255,255,0.7); }

/* Tab strip — program anchor navigation inside dark hero
   PURPOSE: Lets principals jump directly to the program they want.
   ─────────────────────────────────────────────── */
.fl-hero__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: var(--fl-sp-2);
  justify-content: center;
  margin-top: var(--fl-sp-8);
}

.fl-hero__tab {
  font-family: var(--fl-font-heading);
  font-size: var(--fl-text-sm);
  font-weight: 500;
  color: rgba(255,255,255,0.72);
  padding: var(--fl-sp-2) var(--fl-sp-4);
  border-radius: var(--fl-radius-pill);
  border: 1px solid rgba(255,255,255,0.22);
  background: rgba(255,255,255,0.08);
  cursor: pointer;
  text-decoration: none;
  transition: background var(--fl-transition), color var(--fl-transition),
              border-color var(--fl-transition);
}

.fl-hero__tab:hover,
.fl-hero__tab--active {
  background: var(--fl-white);
  color: var(--fl-teal-dark);
  border-color: var(--fl-white);
}


/* ── 10. TRUST STRIP ──────────────────────────────────────────── */

/* Partner / organisation logo strip
   PURPOSE: "Trusted by Maryland Education Leaders" strip
   directly below the homepage hero. Mutes partner names/logos
   to grey so they signal authority without dominating visually.
   ─────────────────────────────────────────────── */
.fl-trust {
  background: var(--fl-gray-50);
  padding: var(--fl-sp-8) 0;
  border-top: 1px solid var(--fl-gray-100);
  border-bottom: 1px solid var(--fl-gray-100);
}

.fl-trust__label {
  text-align: center;
  font-family: var(--fl-font-heading);
  font-size: var(--fl-text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--fl-ls-wider);
  color: var(--fl-gray-500);
  margin-bottom: var(--fl-sp-5);
}

.fl-trust__logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: var(--fl-sp-5) var(--fl-sp-10);
}

/* Text-based partner name */
.fl-trust__item {
  font-family: var(--fl-font-heading);
  font-size: var(--fl-text-sm);
  font-weight: 500;
  color: var(--fl-gray-500);
  white-space: nowrap;
  opacity: 0.7;
  transition: opacity var(--fl-transition);
}

.fl-trust__item:hover { opacity: 1; }

/* Logo image variant */
.fl-trust__item img {
  height: 28px;
  width: auto;
  filter: grayscale(100%);
  opacity: 0.5;
  transition: filter var(--fl-transition), opacity var(--fl-transition);
}

.fl-trust__item img:hover {
  filter: none;
  opacity: 1;
}

/* Trust badge pills — inline in hero or section
   PURPOSE: Small ✓ check-badges. Use in groups of 3–6.
   ─────────────────────────────────────────────── */
.fl-trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--fl-sp-2);
}

.fl-trust-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--fl-sp-2);
  font-family: var(--fl-font-heading);
  font-size: var(--fl-text-xs);
  font-weight: 600;
  color: var(--fl-teal-dark);
  background: var(--fl-teal-light);
  padding: var(--fl-sp-1) var(--fl-sp-3);
  border-radius: var(--fl-radius-pill);
  white-space: nowrap;
}

.fl-trust-badge::before {
  content: '\2713';
  color: var(--fl-teal-vivid);
  font-weight: 800;
}

/* Check list — bullet list with SVG tick icons
   PURPOSE: Feature lists inside program and service cards.
   "Students Learn:" or "What Parents Learn:" lists.
   ─────────────────────────────────────────────── */
.fl-check-list {
  display: flex;
  flex-direction: column;
  gap: var(--fl-sp-2);
}

.fl-check-list__item {
  display: flex;
  align-items: flex-start;
  gap: var(--fl-sp-3);
  font-size: var(--fl-text-sm);
  color: var(--fl-gray-700);
  line-height: var(--fl-lh-normal);
}

/* SVG tick inline via background-image */
.fl-check-list__item::before {
  content: '';
  display: block;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  border-radius: 50%;
  background-color: var(--fl-teal-vivid);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6l3 3 5-5' stroke='white' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: 70%;
  background-repeat: no-repeat;
  background-position: center;
}

/* Dark-section variant */
.fl-check-list--dark .fl-check-list__item {
  color: rgba(255,255,255,0.83);
}


/* ── 11. FEATURE GRID / PROGRAM HUB ──────────────────────────── */

/* The asymmetric program grid container
   PURPOSE: Implements the reference site's signature 60/40 layout.
   Large featured card left, two smaller cards stacked right.
   On mobile: all cards stack to full width in a single column.
   ─────────────────────────────────────────────── */
.fl-feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--fl-gap);
}

@media (min-width: 640px) {
  .fl-feature-grid {
    grid-template-columns: 1fr 1fr;
  }

  .fl-feature-card--featured {
    grid-column: 1 / -1;
  }
}

@media (min-width: 768px) {
  .fl-feature-grid {
    grid-template-columns: 3fr 2fr;
    grid-template-rows: auto auto;
  }

  .fl-feature-card--featured {
    grid-column: 1;
    grid-row: 1 / 3;
  }
}

/* Base feature card */
.fl-feature-card {
  border-radius: var(--fl-radius-xl);
  padding: var(--fl-sp-6);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
  min-height: 200px;
  text-decoration: none;
  transition: transform var(--fl-transition-slow), box-shadow var(--fl-transition-slow);
}

.fl-feature-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--fl-shadow-lg);
}

@media (min-width: 768px) {
  .fl-feature-card          { padding: var(--fl-sp-8); }
  .fl-feature-card--featured { min-height: 440px; padding: var(--fl-sp-10); }
}

/* Background image overlay for featured card */
.fl-feature-card__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.22;
}

.fl-feature-card__content {
  position: relative;
  z-index: 1;
}

/* Card colour variants */

/* Dark teal — Student Programs featured card */
.fl-feature-card--dark {
  background: var(--fl-teal-dark);
}

.fl-feature-card--dark .fl-eyebrow { color: var(--fl-teal-vivid); }
.fl-feature-card--dark h2,
.fl-feature-card--dark h3          { color: var(--fl-white); }
.fl-feature-card--dark p           { color: rgba(255,255,255,0.75); }
.fl-feature-card--dark .fl-btn--text { color: rgba(255,255,255,0.85); }
.fl-feature-card--dark .fl-btn--text:hover { color: var(--fl-gold); }

/* Light teal — Parent & Family Programs */
.fl-feature-card--teal {
  background: var(--fl-teal-light);
}

.fl-feature-card--teal h3 { color: var(--fl-teal-dark); }
.fl-feature-card--teal p  { color: var(--fl-teal-dark); opacity: 0.82; }

/* White — Services / Specialized card */
.fl-feature-card--white {
  background: var(--fl-white);
  border: 1px solid var(--fl-gray-100);
}

/* Service icon row inside white card */
.fl-feature-card__icons {
  display: flex;
  gap: var(--fl-sp-3);
  margin-bottom: var(--fl-sp-4);
}

.fl-feature-card__icon {
  width: 42px;
  height: 42px;
  border-radius: var(--fl-radius-md);
  background: var(--fl-gray-50);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  border: 1px solid var(--fl-gray-100);
}

.fl-feature-card__title  { margin-bottom: var(--fl-sp-2); }
.fl-feature-card__body   { font-size: var(--fl-text-sm); margin-bottom: var(--fl-sp-4); }


/* ── 12. HOW IT WORKS — NUMBERED STEPS ───────────────────────── */

/* Container grid
   PURPOSE: 3-step process section answering "how does booking work?".
   Removes decision anxiety from administrators.
   1-col mobile → 2-col at 640px → 3-col at 1024px.
   ─────────────────────────────────────────────── */
.fl-steps__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--fl-sp-8);
}

@media (min-width: 640px)  { .fl-steps__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .fl-steps__grid { grid-template-columns: 1fr 1fr 1fr; gap: var(--fl-sp-10); } }

.fl-step {
  display: flex;
  flex-direction: column;
  gap: var(--fl-sp-3);
}

/* Large decorative step number
   PURPOSE: Oversized outlined number (teal stroke, teal-light fill)
   creates visual scale without taking up layout space below it.
   ─────────────────────────────────────────────── */
.fl-step__number {
  font-family: var(--fl-font-heading);
  font-size: 3.75rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: var(--fl-ls-tight);
  color: var(--fl-teal-light);
  -webkit-text-stroke: 2px var(--fl-teal-vivid);
  margin-bottom: var(--fl-sp-1);
}

@media (min-width: 1024px) {
  .fl-step__number { font-size: 4.5rem; }
}

.fl-step__title {
  font-family: var(--fl-font-heading);
  font-size: var(--fl-text-lg);
  font-weight: 600;
  color: var(--fl-teal-dark);
  margin-bottom: var(--fl-sp-1);
}

.fl-step__body {
  font-size: var(--fl-text-sm);
  color: var(--fl-gray-500);
  line-height: var(--fl-lh-relaxed);
  margin-bottom: 0;
}


/* ── 13. STATS BAND ───────────────────────────────────────────── */

/* Dark teal band with 4 statistics
   PURPOSE: The most powerful trust section. Deep teal background,
   oversized gold numbers, muted white labels.
   Order: Students Reached | Schools Served | Programs | Response time.
   Update numbers to real data before launch.
   ─────────────────────────────────────────────── */
.fl-stats {
  background: var(--fl-teal-dark);
  padding: var(--fl-sp-12) 0;
}

.fl-stats__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--fl-sp-6);
  text-align: center;
}

@media (min-width: 768px) {
  .fl-stats__grid {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--fl-sp-8);
  }
}

.fl-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--fl-sp-2);
}

/* Gold stat number — the visual anchor of the whole section */
.fl-stat__number {
  font-family: var(--fl-font-heading);
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--fl-gold);
  line-height: 1;
  letter-spacing: var(--fl-ls-tight);
}

@media (min-width: 768px)  { .fl-stat__number { font-size: 3.25rem; } }
@media (min-width: 1024px) { .fl-stat__number { font-size: 3.875rem; } }

/* Label below the number */
.fl-stat__label {
  font-family: var(--fl-font-heading);
  font-size: var(--fl-text-sm);
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  letter-spacing: var(--fl-ls-wide);
  line-height: 1.4;
  max-width: 140px;
}


/* ── 14. TESTIMONIAL & REVIEW CARDS ──────────────────────────── */

/* Grid wrapper — 1-col mobile → 2-col at 640px
   ─────────────────────────────────────────────── */
.fl-testimonials__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--fl-gap);
}

@media (min-width: 640px) {
  .fl-testimonials__grid { grid-template-columns: 1fr 1fr; }
}

/* Individual card
   PURPOSE: Stars + quote + avatar + name/role.
   White bg on light sections, semi-transparent on dark sections.
   ─────────────────────────────────────────────── */
.fl-testimonial-card {
  background: var(--fl-white);
  border: 1px solid var(--fl-gray-100);
  border-radius: var(--fl-radius-lg);
  padding: var(--fl-sp-6);
  display: flex;
  flex-direction: column;
  gap: var(--fl-sp-4);
  transition: box-shadow var(--fl-transition), transform var(--fl-transition);
}

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

/* Dark section variant */
.fl-section--dark .fl-testimonial-card {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.10);
}

/* Star rating row */
.fl-testimonial-card__stars {
  display: flex;
  gap: 2px;
  color: var(--fl-gold);
  font-size: 15px;
  letter-spacing: 1px;
}

/* Quote text */
.fl-testimonial-card__quote {
  font-size: var(--fl-text-base);
  line-height: var(--fl-lh-relaxed);
  color: var(--fl-gray-700);
  font-style: italic;
  flex-grow: 1;
  margin-bottom: 0;
}

.fl-section--dark .fl-testimonial-card__quote {
  color: rgba(255,255,255,0.83);
}

/* Author row — avatar + name + role */
.fl-testimonial-card__author {
  display: flex;
  align-items: center;
  gap: var(--fl-sp-3);
  padding-top: var(--fl-sp-3);
  border-top: 1px solid var(--fl-gray-100);
}

.fl-section--dark .fl-testimonial-card__author {
  border-top-color: rgba(255,255,255,0.12);
}

/* Avatar circle — uses initials if no photo */
.fl-testimonial-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--fl-teal-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--fl-font-heading);
  font-size: var(--fl-text-sm);
  font-weight: 700;
  color: var(--fl-teal-dark);
}

.fl-testimonial-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fl-testimonial-card__name {
  font-family: var(--fl-font-heading);
  font-size: var(--fl-text-sm);
  font-weight: 700;
  color: var(--fl-teal-dark);
  margin-bottom: var(--fl-sp-1);
  line-height: 1.3;
}

.fl-section--dark .fl-testimonial-card__name { color: var(--fl-white); }

.fl-testimonial-card__role {
  font-size: var(--fl-text-xs);
  color: var(--fl-gray-500);
  margin-bottom: 0;
  line-height: 1.4;
}

.fl-section--dark .fl-testimonial-card__role { color: rgba(255,255,255,0.55); }


/* ── 15. CTA BANNER ───────────────────────────────────────────── */

/* Full-width dark teal closing CTA
   PURPOSE: The bottom-of-page conversion section on every page.
   The gold button should appear ONLY here (and optionally in the
   stats band). Switch from teal to gold signals a premium moment.
   ─────────────────────────────────────────────── */
.fl-cta-banner {
  background: var(--fl-teal-dark);
  padding: var(--fl-sp-16) 0;
  text-align: center;
}

.fl-cta-banner__inner {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 var(--fl-container-pad);
}

.fl-cta-banner__title {
  font-family: var(--fl-font-heading);
  font-size: var(--fl-text-3xl);
  font-weight: 700;
  color: var(--fl-white);
  line-height: var(--fl-lh-snug);
  margin-bottom: var(--fl-sp-4);
}

@media (min-width: 768px) {
  .fl-cta-banner__title { font-size: var(--fl-text-4xl); }
}

.fl-cta-banner__body {
  font-size: var(--fl-text-base);
  color: rgba(255,255,255,0.72);
  line-height: var(--fl-lh-relaxed);
  margin-bottom: var(--fl-sp-8);
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 768px) {
  .fl-cta-banner__body { font-size: var(--fl-text-md); }
}

.fl-cta-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--fl-sp-3);
  justify-content: center;
}


/* ── 16. SERVICE FORMAT CARDS ─────────────────────────────────── */

/* Mixed service grid — 1-col → 2-col → 3-col
   PURPOSE: Displays 7 service delivery formats as browsable cards.
   Each card has icon, title, description, + spec row pills.
   ─────────────────────────────────────────────── */
.fl-service-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--fl-gap);
}

@media (min-width: 640px)  { .fl-service-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .fl-service-grid { grid-template-columns: repeat(3, 1fr); } }

/* Individual service format card */
.fl-service-card {
  background: var(--fl-white);
  border: 1px solid var(--fl-gray-100);
  border-radius: var(--fl-radius-lg);
  padding: var(--fl-sp-6);
  display: flex;
  flex-direction: column;
  gap: var(--fl-sp-3);
  transition:
    border-color   var(--fl-transition),
    box-shadow     var(--fl-transition),
    transform      var(--fl-transition);
}

.fl-service-card:hover {
  border-color: var(--fl-teal-vivid);
  box-shadow: var(--fl-shadow-md);
  transform: translateY(-2px);
}

/* Dark variant — Community Programs card */
.fl-service-card--dark {
  background: var(--fl-teal-dark);
  border-color: transparent;
}

.fl-service-card--dark .fl-service-card__title { color: var(--fl-white); }
.fl-service-card--dark .fl-service-card__body  { color: rgba(255,255,255,0.72); }
.fl-service-card--dark .fl-service-card__icon  { background: rgba(255,255,255,0.14); }
.fl-service-card--dark .fl-service-card__spec  { border-top-color: rgba(255,255,255,0.14); }
.fl-service-card--dark .fl-service-card__spec-item {
  background: rgba(43,179,163,0.22);
  color: var(--fl-teal-vivid);
}

.fl-service-card--dark:hover { border-color: rgba(43,179,163,0.4); }

/* Format icon */
.fl-service-card__icon {
  width: 44px;
  height: 44px;
  background: var(--fl-teal-light);
  border-radius: var(--fl-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 20px;
}

.fl-service-card__title {
  font-family: var(--fl-font-heading);
  font-size: var(--fl-text-lg);
  font-weight: 600;
  color: var(--fl-teal-dark);
  margin-bottom: 0;
}

.fl-service-card__body {
  font-size: var(--fl-text-sm);
  color: var(--fl-gray-500);
  line-height: var(--fl-lh-relaxed);
  flex-grow: 1;
  margin-bottom: 0;
}

/* Spec row — Duration / Ideal for pills
   PURPOSE: The key differentiator from a generic service card.
   Gives principals exactly what they need (timing + audience)
   without requiring them to read a paragraph.
   ─────────────────────────────────────────────── */
.fl-service-card__spec {
  display: flex;
  flex-wrap: wrap;
  gap: var(--fl-sp-2);
  padding-top: var(--fl-sp-3);
  border-top: 1px solid var(--fl-gray-100);
  margin-top: auto;
}

.fl-service-card__spec-item {
  font-family: var(--fl-font-heading);
  font-size: var(--fl-text-xs);
  font-weight: 600;
  color: var(--fl-teal-dark);
  background: var(--fl-teal-light);
  padding: var(--fl-sp-1) var(--fl-sp-3);
  border-radius: var(--fl-radius-pill);
  white-space: nowrap;
}


/* ── 17. PROGRAM SECTIONS — ALTERNATING IMAGE / TEXT ─────────── */

/* Wrapper for each individual program (Financial Literacy, etc.)
   PURPOSE: Alternating 2-col layout — image left or right by
   applying --reverse modifier. Anchor ID on each for tab nav.
   ─────────────────────────────────────────────── */
.fl-program-section {
  padding: var(--fl-sp-12) 0;
  border-bottom: 1px solid var(--fl-gray-100);
}

.fl-program-section:last-child { border-bottom: none; }

/* Even-numbered sections get gray-50 background */
.fl-program-section:nth-child(even) {
  background: var(--fl-gray-50);
}

.fl-program-section__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--fl-sp-8);
  align-items: center;
}

@media (min-width: 768px) {
  .fl-program-section__inner {
    grid-template-columns: 1fr 1fr;
    gap: var(--fl-sp-12);
  }

  .fl-program-section--reverse .fl-program-section__image-wrap { order: 2; }
  .fl-program-section--reverse .fl-program-section__content    { order: 1; }
}

.fl-program-section__image-wrap {
  position: relative;
  border-radius: var(--fl-radius-xl);
  overflow: hidden;
}

.fl-program-section__image-wrap img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: var(--fl-radius-xl);
}

@media (min-width: 768px) {
  .fl-program-section__image-wrap img { height: 400px; }
}

/* Outcome card overlay — sits on corner of image
   PURPOSE: Adds a "Learning Outcomes" card overlaying the photo,
   keeping the visual layered and information-dense.
   ─────────────────────────────────────────────── */
.fl-program-section__outcome-card {
  position: absolute;
  bottom: var(--fl-sp-4);
  right: var(--fl-sp-4);
  background: var(--fl-white);
  border-radius: var(--fl-radius-lg);
  padding: var(--fl-sp-4) var(--fl-sp-5);
  box-shadow: var(--fl-shadow-lg);
  max-width: 220px;
}

.fl-program-section__outcome-title {
  font-family: var(--fl-font-heading);
  font-size: var(--fl-text-sm);
  font-weight: 700;
  color: var(--fl-teal-dark);
  margin-bottom: var(--fl-sp-3);
}

.fl-program-section__content { padding: var(--fl-sp-2) 0; }

.fl-program-section__eyebrow {
  font-family: var(--fl-font-heading);
  font-size: var(--fl-text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: var(--fl-ls-wider);
  color: var(--fl-teal-vivid);
  display: block;
  margin-bottom: var(--fl-sp-2);
}

.fl-program-section__title {
  font-family: var(--fl-font-heading);
  font-size: var(--fl-text-2xl);
  font-weight: 700;
  color: var(--fl-teal-dark);
  line-height: var(--fl-lh-snug);
  margin-bottom: var(--fl-sp-2);
}

@media (min-width: 768px) {
  .fl-program-section__title { font-size: var(--fl-text-3xl); }
}

.fl-program-section__subtitle {
  font-family: var(--fl-font-heading);
  font-size: var(--fl-text-base);
  font-weight: 600;
  color: var(--fl-teal-vivid);
  margin-bottom: var(--fl-sp-4);
}

.fl-program-section__body {
  font-size: var(--fl-text-base);
  color: var(--fl-gray-500);
  line-height: var(--fl-lh-relaxed);
  margin-bottom: var(--fl-sp-5);
}

/* Feature list with icon bullets (What Students Learn) */
.fl-program-section__features {
  display: flex;
  flex-direction: column;
  gap: var(--fl-sp-3);
  margin-bottom: var(--fl-sp-6);
}

.fl-program-section__feature-item {
  display: flex;
  align-items: flex-start;
  gap: var(--fl-sp-3);
  font-size: var(--fl-text-sm);
  color: var(--fl-gray-700);
  line-height: var(--fl-lh-normal);
}

/* Square icon tick (slightly different to round check-list) */
.fl-program-section__feature-item::before {
  content: '';
  display: block;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  border-radius: var(--fl-radius-sm);
  background-color: var(--fl-teal-light);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6l3 3 5-5' stroke='%232BB3A3' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: 70%;
  background-repeat: no-repeat;
  background-position: center;
}


/* ── 18. AUDIENCE SECTIONS ────────────────────────────────────── */

/* Standard audience section (Elementary, Middle, PTA, Afterschool)
   PURPOSE: Same alternating split pattern as program sections.
   Each audience gets its own in-section CTA.
   ─────────────────────────────────────────────── */
.fl-audience-section {
  padding: var(--fl-sp-12) 0;
  border-bottom: 1px solid var(--fl-gray-100);
}

.fl-audience-section:last-of-type { border-bottom: none; }

/* Dark community card — stands out from alternating sections.
   PURPOSE: Full-width dark teal card for Community Organizations.
   The visual weight signals this audience is equally important.
   ─────────────────────────────────────────────── */
.fl-audience-card--dark {
  background: var(--fl-teal-dark);
  border-radius: var(--fl-radius-xl);
  padding: var(--fl-sp-8);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--fl-sp-6);
  overflow: hidden;
}

@media (min-width: 768px) {
  .fl-audience-card--dark {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
}

.fl-audience-card--dark h2,
.fl-audience-card--dark h3 { color: var(--fl-white); }
.fl-audience-card--dark p  { color: rgba(255,255,255,0.73); }

/* Tag chips inside the community card */
.fl-audience-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--fl-sp-2);
  margin-bottom: var(--fl-sp-4);
}

.fl-audience-card__tag {
  font-family: var(--fl-font-heading);
  font-size: var(--fl-text-xs);
  font-weight: 600;
  padding: var(--fl-sp-1) var(--fl-sp-3);
  border-radius: var(--fl-radius-pill);
  border: 1px solid rgba(255,255,255,0.28);
  color: rgba(255,255,255,0.83);
  background: rgba(255,255,255,0.08);
}

/* Card image — edge-to-edge on the right column */
.fl-audience-card__image {
  border-radius: var(--fl-radius-lg);
  overflow: hidden;
  height: 260px;
}

.fl-audience-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* ── 19. TEAM CARDS ───────────────────────────────────────────── */

/* Grid — 2-col mobile → 3-col at 768px
   PURPOSE: Team member portraits with name, role, bio.
   Use real photos only (no AI-generated portraits).
   ─────────────────────────────────────────────── */
.fl-team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--fl-gap);
}

@media (min-width: 768px) {
  .fl-team-grid { grid-template-columns: repeat(3, 1fr); }
}

.fl-team-card {
  display: flex;
  flex-direction: column;
  gap: var(--fl-sp-4);
}

/* Square portrait with rounded corners — subtle zoom on hover */
.fl-team-card__photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--fl-radius-xl);
  overflow: hidden;
  background: var(--fl-gray-100);
}

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

.fl-team-card:hover .fl-team-card__photo img {
  transform: scale(1.04);
}

.fl-team-card__name {
  font-family: var(--fl-font-heading);
  font-size: var(--fl-text-lg);
  font-weight: 700;
  color: var(--fl-teal-dark);
  margin-bottom: var(--fl-sp-1);
}

.fl-team-card__role {
  font-family: var(--fl-font-heading);
  font-size: var(--fl-text-sm);
  font-weight: 600;
  color: var(--fl-teal-vivid);
  margin-bottom: var(--fl-sp-2);
}

.fl-team-card__bio {
  font-size: var(--fl-text-sm);
  color: var(--fl-gray-500);
  line-height: var(--fl-lh-relaxed);
  margin-bottom: 0;
}


/* ── 20. VALUE / PRINCIPLES CARDS ────────────────────────────── */

/* Grid — 1-col → 2-col → 3-col
   PURPOSE: Core values, principles, or differentiator cards.
   Three colour variants for visual variety.
   ─────────────────────────────────────────────── */
.fl-value-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--fl-gap);
}

@media (min-width: 640px)  { .fl-value-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .fl-value-grid { grid-template-columns: repeat(3, 1fr); } }

.fl-value-card {
  background: var(--fl-white);
  border: 1px solid var(--fl-gray-100);
  border-radius: var(--fl-radius-lg);
  padding: var(--fl-sp-6);
  display: flex;
  flex-direction: column;
  gap: var(--fl-sp-3);
  transition: border-color var(--fl-transition), box-shadow var(--fl-transition);
}

.fl-value-card:hover {
  border-color: var(--fl-teal-vivid);
  box-shadow: var(--fl-shadow-md);
}

/* Teal light background variant */
.fl-value-card--teal {
  background: var(--fl-teal-light);
  border-color: transparent;
}

/* Dark teal variant — used for 1–2 featured values */
.fl-value-card--dark {
  background: var(--fl-teal-dark);
  border-color: transparent;
}

.fl-value-card--dark h3,
.fl-value-card--dark h4 { color: var(--fl-white); }
.fl-value-card--dark p  { color: rgba(255,255,255,0.73); }
.fl-value-card--dark .fl-value-card__icon { background: rgba(255,255,255,0.14); }

/* Icon */
.fl-value-card__icon {
  width: 44px;
  height: 44px;
  background: var(--fl-teal-light);
  border-radius: var(--fl-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.fl-value-card__title {
  font-family: var(--fl-font-heading);
  font-size: var(--fl-text-base);
  font-weight: 700;
  color: var(--fl-teal-dark);
  margin-bottom: var(--fl-sp-1);
}

.fl-value-card__body {
  font-size: var(--fl-text-sm);
  color: var(--fl-gray-500);
  line-height: var(--fl-lh-relaxed);
  margin-bottom: 0;
}


/* ── 21. COMPARISON SECTION ───────────────────────────────────── */

/* 2-col comparison (Standard vs Futurio)
   PURPOSE: Shows what sets Futurio apart without naming competitors.
   Use on About page under "The Futurio Difference".
   Left = neutral/gray (standard approach), Right = dark teal (Futurio).
   ─────────────────────────────────────────────── */
.fl-comparison {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--fl-gap);
}

@media (min-width: 640px) {
  .fl-comparison { grid-template-columns: 1fr 1fr; }
}

.fl-comparison__col {
  border-radius: var(--fl-radius-lg);
  padding: var(--fl-sp-6);
  display: flex;
  flex-direction: column;
  gap: var(--fl-sp-1);
}

.fl-comparison__col--light {
  background: var(--fl-gray-50);
  border: 1px solid var(--fl-gray-100);
}

.fl-comparison__col--dark {
  background: var(--fl-teal-dark);
}

.fl-comparison__head {
  font-family: var(--fl-font-heading);
  font-size: var(--fl-text-base);
  font-weight: 700;
  color: var(--fl-teal-dark);
  margin-bottom: var(--fl-sp-4);
}

.fl-comparison__col--dark .fl-comparison__head { color: var(--fl-white); }

.fl-comparison__item {
  display: flex;
  align-items: flex-start;
  gap: var(--fl-sp-3);
  font-size: var(--fl-text-sm);
  line-height: var(--fl-lh-normal);
  padding: var(--fl-sp-3) 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  color: var(--fl-gray-700);
}

.fl-comparison__col--dark .fl-comparison__item {
  border-bottom-color: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.82);
}

.fl-comparison__item:last-child { border-bottom: none; }

/* X mark (neutral) and check mark (Futurio) */
.fl-comparison__icon--x  { color: #CC4444; flex-shrink: 0; margin-top: 1px; }
.fl-comparison__icon--ok { color: var(--fl-teal-vivid); flex-shrink: 0; margin-top: 1px; }


/* ── 22. FAQ ──────────────────────────────────────────────────── */

/* FAQ card grid — used on Contact page and inline on service pages
   PURPOSE: 2-col grid of Q&A pairs. Left-border accent colour.
   For FAQPage schema: ensure Q is an H3, A is a paragraph.
   ─────────────────────────────────────────────── */
.fl-faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--fl-gap);
}

@media (min-width: 768px) {
  .fl-faq-grid { grid-template-columns: 1fr 1fr; }
}

.fl-faq-item {
  background: var(--fl-white);
  border: 1px solid var(--fl-gray-100);
  border-left: 3px solid var(--fl-teal-vivid);
  border-radius: var(--fl-radius-md);
  padding: var(--fl-sp-5) var(--fl-sp-6);
  display: flex;
  flex-direction: column;
  gap: var(--fl-sp-3);
  transition: box-shadow var(--fl-transition);
}

.fl-faq-item:hover { box-shadow: var(--fl-shadow-md); }

.fl-faq-item__question {
  font-family: var(--fl-font-heading);
  font-size: var(--fl-text-base);
  font-weight: 600;
  color: var(--fl-teal-dark);
  margin-bottom: 0;
}

.fl-faq-item__answer {
  font-size: var(--fl-text-sm);
  color: var(--fl-gray-500);
  line-height: var(--fl-lh-relaxed);
  margin-bottom: 0;
}

/* Accordion FAQ variant — used on main FAQ page
   PURPOSE: Expandable questions. Requires JS to toggle
   aria-expanded and .is-open class on the body element.
   ─────────────────────────────────────────────── */
.fl-faq-accordion {
  display: flex;
  flex-direction: column;
  gap: var(--fl-sp-2);
  max-width: 820px;
  margin: 0 auto;
}

.fl-faq-accordion__item {
  border: 1px solid var(--fl-gray-100);
  border-radius: var(--fl-radius-md);
  overflow: hidden;
}

/* Trigger button — the question row */
.fl-faq-accordion__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: var(--fl-sp-5) var(--fl-sp-6);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--fl-font-heading);
  font-size: var(--fl-text-base);
  font-weight: 600;
  color: var(--fl-teal-dark);
  gap: var(--fl-sp-4);
  transition: background var(--fl-transition);
}

.fl-faq-accordion__trigger:hover                  { background: var(--fl-gray-50); }
.fl-faq-accordion__trigger[aria-expanded="true"]  { color: var(--fl-teal-vivid); background: var(--fl-gray-50); }

/* Chevron icon — rotates when open */
.fl-faq-accordion__chevron {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--fl-teal-vivid);
  transition: transform var(--fl-transition);
}

.fl-faq-accordion__trigger[aria-expanded="true"] .fl-faq-accordion__chevron {
  transform: rotate(180deg);
}

/* Answer body — hidden/shown via .is-open */
.fl-faq-accordion__body {
  display: none;
  padding: 0 var(--fl-sp-6) var(--fl-sp-5);
  font-size: var(--fl-text-sm);
  color: var(--fl-gray-500);
  line-height: var(--fl-lh-relaxed);
}

.fl-faq-accordion__body.is-open { display: block; }


/* ── 23. CONTACT FORM & SIDEBAR ───────────────────────────────── */

/* Page layout: form left, sidebar right
   PURPOSE: 2-col at desktop — form takes 3/5, sidebar takes 2/5.
   The sidebar houses contact info + What Happens Next.
   ─────────────────────────────────────────────── */
.fl-contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--fl-sp-10);
}

@media (min-width: 768px) {
  .fl-contact-layout {
    grid-template-columns: 3fr 2fr;
    gap: var(--fl-sp-14);
    align-items: start;
  }
}

/* Form wrapper */
.fl-form {
  display: flex;
  flex-direction: column;
  gap: var(--fl-sp-4);
}

/* 2-col field row (Name + School, Email + Phone)
   PURPOSE: Reduces visual height of form without cramping fields.
   Collapses to 1-col below 480px.
   ─────────────────────────────────────────────── */
.fl-form__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--fl-sp-4);
}

@media (min-width: 480px) {
  .fl-form__grid { grid-template-columns: 1fr 1fr; }
}

.fl-form__group       { display: flex; flex-direction: column; gap: var(--fl-sp-2); }
.fl-form__group--full { grid-column: 1 / -1; }

/* Field label */
.fl-form__label {
  font-family: var(--fl-font-heading);
  font-size: var(--fl-text-sm);
  font-weight: 600;
  color: var(--fl-teal-dark);
}

.fl-form__label--required::after {
  content: ' *';
  color: var(--fl-teal-vivid);
}

/* Input, select, textarea — shared base
   PURPOSE: Consistent height, border, and focus ring across all fields.
   Focus ring uses teal-vivid glow matching the button focus state.
   ─────────────────────────────────────────────── */
.fl-form__input,
.fl-form__select,
.fl-form__textarea {
  font-family: var(--fl-font-body);
  font-size: var(--fl-text-base);
  color: var(--fl-text);
  background: var(--fl-white);
  border: 1.5px solid var(--fl-gray-200);
  border-radius: var(--fl-radius-md);
  padding: 0.78125rem 1rem;   /* 12.5px 16px */
  width: 100%;
  transition: border-color var(--fl-transition), box-shadow var(--fl-transition);
  appearance: none;
  -webkit-appearance: none;
}

.fl-form__input::placeholder,
.fl-form__textarea::placeholder {
  color: var(--fl-gray-500);
  font-size: var(--fl-text-sm);
}

.fl-form__input:hover,
.fl-form__select:hover,
.fl-form__textarea:hover {
  border-color: var(--fl-gray-500);
}

.fl-form__input:focus,
.fl-form__select:focus,
.fl-form__textarea:focus {
  outline: none;
  border-color: var(--fl-teal-vivid);
  box-shadow: 0 0 0 3px rgba(43,179,163,0.18);
}

/* Custom dropdown arrow */
.fl-form__select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23777'%3E%3Cpath fill-rule='evenodd' d='M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.875rem center;
  background-size: 18px;
  padding-right: 2.75rem;
  cursor: pointer;
}

.fl-form__textarea {
  min-height: 136px;
  resize: vertical;
  line-height: var(--fl-lh-relaxed);
}

/* Privacy/disclaimer note beneath submit */
.fl-form__note {
  font-size: var(--fl-text-xs);
  color: var(--fl-gray-500);
  text-align: center;
  line-height: var(--fl-lh-relaxed);
  margin-top: var(--fl-sp-2);
}

/* Sidebar panel */
.fl-contact-sidebar {
  display: flex;
  flex-direction: column;
  gap: var(--fl-sp-5);
}

/* Direct contact info panel */
.fl-contact-info {
  background: var(--fl-gray-50);
  border-radius: var(--fl-radius-lg);
  padding: var(--fl-sp-6);
}

.fl-contact-info__head {
  font-family: var(--fl-font-heading);
  font-size: var(--fl-text-base);
  font-weight: 700;
  color: var(--fl-teal-dark);
  margin-bottom: var(--fl-sp-5);
}

.fl-contact-info__items {
  display: flex;
  flex-direction: column;
  gap: var(--fl-sp-4);
}

.fl-contact-info__item {
  display: flex;
  align-items: flex-start;
  gap: var(--fl-sp-3);
}

.fl-contact-info__icon {
  width: 36px;
  height: 36px;
  background: var(--fl-teal-light);
  border-radius: var(--fl-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 16px;
  color: var(--fl-teal-dark);
}

.fl-contact-info__label {
  font-family: var(--fl-font-heading);
  font-size: var(--fl-text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: var(--fl-ls-wide);
  color: var(--fl-gray-500);
  margin-bottom: var(--fl-sp-1);
}

.fl-contact-info__value {
  font-size: var(--fl-text-base);
  font-weight: 500;
  color: var(--fl-teal-dark);
  text-decoration: none;
  margin-bottom: 0;
  transition: color var(--fl-transition);
}

.fl-contact-info__value:hover { color: var(--fl-teal-vivid); }

/* What Happens Next panel — the most important trust signal on the contact page.
   PURPOSE: Reduces form-submission anxiety by telling the visitor
   exactly what follows — within 1 business day, 3 clear steps.
   ─────────────────────────────────────────────── */
.fl-what-next {
  background: var(--fl-white);
  border: 1px solid var(--fl-gray-100);
  border-radius: var(--fl-radius-lg);
  padding: var(--fl-sp-6);
}

.fl-what-next__head {
  font-family: var(--fl-font-heading);
  font-size: var(--fl-text-base);
  font-weight: 700;
  color: var(--fl-teal-dark);
  margin-bottom: var(--fl-sp-5);
}

.fl-what-next__steps {
  display: flex;
  flex-direction: column;
  gap: var(--fl-sp-5);
}

.fl-what-next__step {
  display: flex;
  align-items: flex-start;
  gap: var(--fl-sp-3);
}

/* Numbered circle */
.fl-what-next__num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--fl-teal-dark);
  color: var(--fl-white);
  font-family: var(--fl-font-heading);
  font-size: var(--fl-text-xs);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.fl-what-next__text {
  font-size: var(--fl-text-sm);
  color: var(--fl-gray-500);
  line-height: var(--fl-lh-relaxed);
  padding-top: 3px;
  margin-bottom: 0;
}

.fl-what-next__text strong { color: var(--fl-teal-dark); }


/* ── 24. BLOG CARDS ───────────────────────────────────────────── */

/* Grid — 1-col → 2-col → 3-col
   ─────────────────────────────────────────────── */
.fl-blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--fl-gap);
}

@media (min-width: 640px)  { .fl-blog-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .fl-blog-grid { grid-template-columns: repeat(3, 1fr); } }

.fl-blog-card {
  background: var(--fl-white);
  border: 1px solid var(--fl-gray-100);
  border-radius: var(--fl-radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  transition: box-shadow var(--fl-transition), transform var(--fl-transition);
}

.fl-blog-card:hover {
  box-shadow: var(--fl-shadow-md);
  transform: translateY(-3px);
}

.fl-blog-card__image {
  height: 200px;
  overflow: hidden;
  background: var(--fl-gray-100);
}

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

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

.fl-blog-card__body {
  padding: var(--fl-sp-5);
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: var(--fl-sp-3);
}

.fl-blog-card__category {
  font-family: var(--fl-font-heading);
  font-size: var(--fl-text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: var(--fl-ls-wide);
  color: var(--fl-teal-vivid);
}

.fl-blog-card__title {
  font-family: var(--fl-font-heading);
  font-size: var(--fl-text-lg);
  font-weight: 700;
  color: var(--fl-teal-dark);
  line-height: var(--fl-lh-snug);
  margin-bottom: 0;
  transition: color var(--fl-transition);
}

.fl-blog-card:hover .fl-blog-card__title { color: var(--fl-teal-vivid); }

.fl-blog-card__excerpt {
  font-size: var(--fl-text-sm);
  color: var(--fl-gray-500);
  line-height: var(--fl-lh-relaxed);
  flex-grow: 1;
  margin-bottom: 0;
}

.fl-blog-card__meta {
  font-size: var(--fl-text-xs);
  color: var(--fl-gray-500);
  padding-top: var(--fl-sp-3);
  border-top: 1px solid var(--fl-gray-100);
}


/* ── 25. FOOTER ───────────────────────────────────────────────── */

/* Outer footer — dark teal
   PURPOSE: 4-column at desktop. Brand column left, 3 link columns right.
   ─────────────────────────────────────────────── */
.fl-footer {
  background: var(--fl-teal-dark);
  padding-top: var(--fl-sp-12);
}

.fl-footer__cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--fl-sp-8);
}

@media (min-width: 768px) {
  .fl-footer__cols {
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: var(--fl-sp-10);
  }
}

/* Brand column spans full width on mobile */
.fl-footer__brand { grid-column: 1 / -1; }

@media (min-width: 768px) {
  .fl-footer__brand { grid-column: 1; }
}

.fl-footer__logo {
  height: 36px;
  width: auto;
  margin-bottom: var(--fl-sp-4);
  filter: brightness(0) invert(1);
  opacity: 0.88;
}

.fl-footer__desc {
  font-size: var(--fl-text-sm);
  color: rgba(255,255,255,0.55);
  line-height: var(--fl-lh-relaxed);
  margin-bottom: var(--fl-sp-4);
}

.fl-footer__tagline {
  font-family: var(--fl-font-heading);
  font-size: var(--fl-text-xs);
  font-weight: 600;
  color: var(--fl-gold);
  letter-spacing: var(--fl-ls-wide);
  text-transform: uppercase;
}

/* Column heading */
.fl-footer__col-head {
  font-family: var(--fl-font-heading);
  font-size: var(--fl-text-sm);
  font-weight: 700;
  color: var(--fl-white);
  margin-bottom: var(--fl-sp-4);
}

/* Link list */
.fl-footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--fl-sp-2);
}

.fl-footer__link {
  font-size: var(--fl-text-sm);
  color: rgba(255,255,255,0.60);
  text-decoration: none;
  line-height: 1.6;
  transition: color var(--fl-transition);
}

.fl-footer__link:hover { color: var(--fl-white); }

/* Contact items */
.fl-footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--fl-sp-2);
  font-size: var(--fl-text-sm);
  color: rgba(255,255,255,0.60);
  margin-bottom: var(--fl-sp-3);
  text-decoration: none;
}

.fl-footer__contact-item:hover { color: var(--fl-white); }

/* Bottom copyright bar */
.fl-footer__bottom {
  margin-top: var(--fl-sp-10);
  border-top: 1px solid rgba(255,255,255,0.10);
  padding: var(--fl-sp-5) 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: var(--fl-sp-3);
}

.fl-footer__copyright {
  font-size: var(--fl-text-xs);
  color: rgba(255,255,255,0.38);
}

.fl-footer__legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--fl-sp-5);
}

.fl-footer__legal-link {
  font-size: var(--fl-text-xs);
  color: rgba(255,255,255,0.38);
  text-decoration: none;
  transition: color var(--fl-transition);
}

.fl-footer__legal-link:hover { color: rgba(255,255,255,0.75); }


/* ── 26. UTILITIES & ACCESSIBILITY ────────────────────────────── */

/* Skip navigation link — keyboard/screen reader
   PURPOSE: First focusable element on the page.
   Visually hidden until focused by keyboard users.
   ─────────────────────────────────────────────── */
.fl-skip-nav {
  position: absolute;
  top: -120px;
  left: 0;
  z-index: 9999;
  background: var(--fl-teal-dark);
  color: var(--fl-white);
  font-family: var(--fl-font-heading);
  font-size: var(--fl-text-sm);
  font-weight: 600;
  padding: var(--fl-sp-3) var(--fl-sp-5);
  border-radius: 0 0 var(--fl-radius-md) 0;
  text-decoration: none;
  transition: top var(--fl-transition);
}

.fl-skip-nav:focus { top: 0; }

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

/* Text alignment */
.u-text-center { text-align: center !important; }
.u-text-left   { text-align: left   !important; }
.u-text-right  { text-align: right  !important; }

/* Background overrides */
.u-bg-white  { background: var(--fl-white)    !important; }
.u-bg-gray   { background: var(--fl-gray-50)  !important; }
.u-bg-teal   { background: var(--fl-teal-dark) !important; }

/* Section padding overrides */
.u-pt-0 { padding-top:    0 !important; }
.u-pb-0 { padding-bottom: 0 !important; }
.u-mt-0 { margin-top:     0 !important; }
.u-mb-0 { margin-bottom:  0 !important; }

/* Margin helpers */
.u-mb-4  { margin-bottom: var(--fl-sp-4)  !important; }
.u-mb-6  { margin-bottom: var(--fl-sp-6)  !important; }
.u-mb-8  { margin-bottom: var(--fl-sp-8)  !important; }
.u-mb-10 { margin-bottom: var(--fl-sp-10) !important; }
.u-mb-12 { margin-bottom: var(--fl-sp-12) !important; }
.u-mt-4  { margin-top:    var(--fl-sp-4)  !important; }
.u-mt-6  { margin-top:    var(--fl-sp-6)  !important; }
.u-mt-8  { margin-top:    var(--fl-sp-8)  !important; }

/* Width constraints */
.u-max-prose { max-width: 65ch; }
.u-max-title { max-width: 820px; }

/* Flex helpers */
.u-flex        { display: flex; }
.u-flex-center { display: flex; align-items: center; justify-content: center; }
.u-flex-col    { display: flex; flex-direction: column; }
.u-gap-3       { gap: var(--fl-sp-3); }
.u-gap-4       { gap: var(--fl-sp-4); }
.u-gap-6       { gap: var(--fl-sp-6); }

/* Responsive visibility */
.u-mobile-only  { display: block; }
.u-desktop-only { display: none; }

@media (min-width: 768px) {
  .u-mobile-only  { display: none; }
  .u-desktop-only { display: block; }
}

/* Green standards callout bar
   PURPOSE: "Aligned with Maryland MSDE Standards" banner.
   Use once on Programs page as a trust signal.
   ─────────────────────────────────────────────── */
.fl-standards-bar {
  background: var(--fl-green-light);
  border: 1px solid rgba(108,194,74,0.45);
  border-radius: var(--fl-radius-lg);
  padding: var(--fl-sp-4) var(--fl-sp-6);
  display: flex;
  align-items: center;
  gap: var(--fl-sp-4);
  flex-wrap: wrap;
}

.fl-standards-bar__icon {
  width: 36px;
  height: 36px;
  background: var(--fl-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--fl-white);
  font-size: 18px;
  flex-shrink: 0;
}

.fl-standards-bar__text {
  font-family: var(--fl-font-heading);
  font-size: var(--fl-text-sm);
  font-weight: 600;
  color: var(--fl-teal-dark);
  flex-grow: 1;
  margin-bottom: 0;
}

.fl-standards-bar__badge {
  font-family: var(--fl-font-heading);
  font-size: var(--fl-text-xs);
  font-weight: 700;
  color: var(--fl-white);
  background: var(--fl-green);
  padding: var(--fl-sp-2) var(--fl-sp-4);
  border-radius: var(--fl-radius-pill);
  white-space: nowrap;
}

/* Global focus ring
   PURPOSE: Consistent keyboard navigation indicator.
   Teal-vivid glow on all interactive elements.
   ─────────────────────────────────────────────── */
*:focus-visible {
  outline: 2px solid var(--fl-teal-vivid);
  outline-offset: 2px;
  border-radius: var(--fl-radius-sm);
}

/* Reduced motion — override all animations/transitions
   PURPOSE: Respect user OS preference for reduced motion.
   ─────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ================================================================
   END OF FUTURIO LEARNING CSS DESIGN SYSTEM
   26 sections · ~900 rules · mobile-first
   Pass this file to Claude Code as the single source of truth.
   ================================================================ */
