/*
 * shared.css — FLC Package
 * Layout, components, typography, responsive.
 * All colour values use CSS variables defined in brand.css.
 * Do not hardcode colours here.
 */

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); font-size: 18px; line-height: 1.7; color: var(--brand-charcoal); background: var(--brand-white); }
a { color: var(--brand-ink); }
img { max-width: 100%; height: auto; display: block; }
a:focus-visible { outline: 3px solid var(--brand-dark); outline-offset: 3px; border-radius: var(--radius); }

/* ── SKIP LINK ── */
.skip-link { position: absolute; top: -100%; left: 1rem; z-index: 9999; background: var(--brand-dark); color: var(--brand-white); padding: 10px 20px; border-radius: var(--radius); font-size: 15px; font-weight: 600; text-decoration: none; transition: top 0.15s; }
.skip-link:focus { top: 1rem; }

/* ── TYPOGRAPHY ── */
h1, h2 { font-family: var(--font-display); color: var(--brand-ink); line-height: 1.15; }
h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 0.75rem; }
.brand-accent { background: var(--brand-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; color: var(--brand-primary); }
.eyebrow { display: inline-block; background: var(--brand-gradient); color: var(--brand-white); border-radius: 999px; padding: 0.35rem 0.9rem; font-size: 12px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 1rem; }
.section-label { font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--brand-primary); margin-bottom: 0.5rem; }
.section-title { font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 2rem); color: var(--brand-ink); margin-bottom: 0.65rem; line-height: 1.2; }
.section-lead { color: var(--brand-muted-text); font-size: 1rem; max-width: 580px; margin-bottom: 2rem; }

/* ── NAV ── */
nav { background: var(--brand-white); position: sticky; top: 0; z-index: 100; border-bottom: 1px solid var(--brand-nav-border); box-shadow: 0 1px 8px rgba(0,0,0,0.07); }
.nav-inner { max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 70px; }
.nav-logo { display: inline-flex; align-items: center; text-decoration: none; line-height: 1; max-width: 230px; }
.nav-links { display: flex; gap: 1.5rem; list-style: none; align-items: center; }
.nav-links a { text-decoration: none; color: var(--brand-mid); font-size: 15px; font-weight: 500; }
.nav-links a:hover { color: var(--brand-ink); }
.nav-cta { display: inline-flex; align-items: center; justify-content: center; padding: 10px 18px; border-radius: var(--radius); background: var(--brand-gradient); color: var(--brand-white) !important; font-weight: 600 !important; white-space: nowrap; transition: opacity 0.2s, transform 0.15s; }
.nav-cta:hover { opacity: 0.88; transform: translateY(-1px); }
.nav-burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; border-radius: var(--radius); transition: background 0.2s; }
.nav-burger:hover { background: var(--brand-section-alt); }
.nav-burger span { display: block; width: 24px; height: 2px; background: var(--brand-charcoal); border-radius: 2px; transition: transform 0.25s, opacity 0.25s; transform-origin: center; }
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-mobile { display: none; flex-direction: column; background: var(--brand-white); border-top: 1px solid var(--brand-border); overflow: hidden; max-height: 0; transition: max-height 0.3s ease, padding 0.3s ease; }
.nav-mobile.open { max-height: 320px; padding: 0.5rem 0 1rem; }
.nav-mobile a { padding: 0.75rem 1.5rem; color: var(--brand-mid); text-decoration: none; font-size: 15px; font-weight: 500; border-bottom: 1px solid var(--brand-border); transition: color 0.2s, background 0.2s; }
.nav-mobile a:last-child { border-bottom: none; }
.nav-mobile a:hover { color: var(--brand-ink); background: var(--brand-section-alt); }
.nav-mobile .nav-mobile-cta { display: block; margin: 0.75rem 1.5rem 0; background: var(--brand-gradient); color: var(--brand-white) !important; border-radius: var(--radius); text-align: center; font-weight: 600; border: none; padding: 0.75rem 1.5rem; transition: opacity 0.2s, transform 0.15s; }
.nav-mobile .nav-mobile-cta:hover { opacity: 0.88; transform: translateY(-1px); }

/* ── BUTTONS ── */
.btn-primary, .btn-outline { display: inline-flex; align-items: center; justify-content: center; padding: 13px 26px; border-radius: var(--radius); font-family: var(--font-body); font-size: 15px; font-weight: 600; letter-spacing: 0.01em; text-decoration: none; cursor: pointer; transition: opacity 0.2s, transform 0.15s; white-space: nowrap; line-height: 1; }
.btn-primary { background: var(--brand-gradient); color: var(--brand-white); border: 1.5px solid transparent; }
.btn-primary:hover { opacity: 0.88; color: var(--brand-white); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--brand-charcoal); border: 1.5px solid var(--brand-muted); }
.btn-outline:hover { border-color: var(--brand-primary); color: var(--brand-ink); transform: translateY(-1px); }

/* ── LOADING / ERROR ── */
.page-loading { display: flex; align-items: center; justify-content: center; min-height: 60vh; flex-direction: column; gap: 1rem; }
.loading-spinner { width: 36px; height: 36px; border-radius: 50%; border: 3px solid var(--brand-muted); border-top-color: var(--brand-primary); animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.loading-text { font-size: 15px; color: var(--brand-muted-text); }
.page-error { display: none; max-width: 480px; margin: 6rem auto; padding: 0 1.5rem; text-align: center; }
.page-error h1 { font-family: var(--font-display); font-size: 2rem; margin-bottom: 0.75rem; }
.page-error p { color: var(--brand-muted-text); font-size: 1rem; margin-bottom: 1.5rem; }

/* ── HERO — index ── */
.hero-home { background: var(--brand-light-bg); border-bottom: 1px solid var(--brand-border); padding: 4rem 1.5rem 3.5rem; }
.hero-inner-home { max-width: 1100px; margin: 0 auto; }
.hero-card { background: linear-gradient(to right, var(--brand-section-alt), var(--brand-white)); border: 1px solid var(--brand-nav-border); border-radius: var(--radius-lg); padding: 2.75rem 3rem; display: grid; grid-template-columns: 1fr 380px; gap: 3rem; align-items: center; }
.hero-lead-home { font-size: 1.05rem; color: var(--brand-mid); margin-bottom: 1.75rem; max-width: 560px; line-height: 1.65; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }
.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.85rem; }
.stat-card { background: var(--brand-white); border: 1px solid var(--brand-border); border-radius: var(--radius-lg); padding: 1.1rem 1rem; text-align: center; }
.stat-card .num { font-family: var(--font-display); font-size: 1.4rem; color: var(--brand-dark); line-height: 1; margin-bottom: 0.25rem; }
.stat-card .label { font-size: 12px; color: var(--brand-muted-text); line-height: 1.35; }

/* ── HERO — course page ── */
.hero-course { background: var(--brand-hero-grad); border-bottom: 1px solid var(--brand-border); padding: 4rem 1.5rem 3rem; display: none; }
.hero-inner, .page-inner, .section-inner { max-width: var(--max-w); margin: 0 auto; }
.course-subtitle { font-family: var(--font-body); font-size: 1.05rem; font-weight: 500; color: var(--brand-dark); margin-bottom: 0.75rem; line-height: 1.4; }
.hero-lead { color: var(--brand-mid); font-size: 1rem; }

/* ── META STRIP ── */
.meta-strip { display: none !important; }
.meta-pill { display: none; }
.meta-hero-pills { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 1.5rem; }
.meta-hero-pill { font-size: 12px; background: var(--brand-white); color: var(--brand-dark); border: 1px solid var(--brand-muted); padding: 3px 10px; border-radius: 100px; font-weight: 500; }

/* ── ENROL BAND ── */
.enrol-band { background: var(--brand-section-alt); border-top: 1px solid var(--brand-muted); border-bottom: 1px solid var(--brand-muted); padding: 1.5rem; display: none; }
.enrol-band-inner { max-width: var(--max-w); margin: 0 auto; display: grid; grid-template-columns: auto 1fr auto; gap: 1.5rem 2.5rem; align-items: center; }
.enrol-price-block { display: flex; flex-direction: column; gap: 2px; }
.enrol-price { font-family: var(--font-display); font-size: 2.4rem; color: var(--brand-dark); line-height: 1; }
.enrol-price-note { font-size: 12px; color: var(--brand-muted-text); font-weight: 500; }
.enrol-price-sub { font-size: 12px; color: var(--brand-muted-text); }
.enrol-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.enrol-actions .btn-primary,
.enrol-actions .btn-outline { width: 160px; min-width: 160px; max-width: 160px; padding-left: 0; padding-right: 0; }
.enrol-facts-strip { display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem; justify-content: flex-end; }
.enrol-fact { display: flex; flex-direction: column; align-items: flex-end; gap: 1px; }
.enrol-fact-label { font-size: 10px; text-transform: uppercase; letter-spacing: 0.07em; color: var(--brand-muted-text); font-weight: 600; }
.enrol-fact-value { font-weight: 600; color: var(--brand-charcoal); font-size: 13px; }
.status-badge { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: 11px; font-weight: 600; background: #d1fae5; color: #065f46; }
.status-badge.coming-soon { background: #fef9c3; color: #854d0e; }

/* ── LAYOUT — sections ── */
.page-sections { max-width: 1100px; margin: 0 auto; padding: 3rem 1.5rem 4rem; }

/* ── COURSES GRID ── */
.courses-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.25rem; margin-top: 1.5rem; }
.course-card { background: var(--brand-white); border: 1px solid var(--brand-border); border-radius: var(--radius-lg); padding: 1.5rem; display: flex; flex-direction: column; gap: 0.75rem; transition: border-color 0.2s, box-shadow 0.2s; }
.course-card:hover { border-color: var(--brand-primary); box-shadow: 0 4px 16px rgba(0,0,0,0.06); }
.course-card.featured { border-color: var(--brand-primary); background: var(--brand-section-alt); }
.course-card-tags { display: flex; gap: 0.4rem; flex-wrap: wrap; }
.course-tag { font-size: 11px; font-weight: 600; padding: 3px 9px; border-radius: 100px; background: var(--brand-section-alt); color: var(--brand-dark); border: 1px solid var(--brand-muted); }
.course-card.featured .course-tag { background: var(--brand-white); }
.course-card-title { font-family: var(--font-display); font-size: 1.15rem; color: var(--brand-ink); line-height: 1.25; }
.course-card-desc { font-size: 14px; color: var(--brand-mid); line-height: 1.6; flex: 1; }
.course-card-actions { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: auto; }

/* ── AUDIENCE CARDS ── */
.audience-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1rem; margin-top: 1.5rem; }
.audience-card { background: var(--brand-section-alt); border: 1px solid var(--brand-muted); border-radius: var(--radius-lg); padding: 1.5rem; display: flex; flex-direction: column; gap: 0.75rem; }
.audience-card-title { font-family: var(--font-display); font-size: 1.1rem; color: var(--brand-ink); }
.audience-card-desc { font-size: 14px; color: var(--brand-mid); line-height: 1.6; flex: 1; }

/* ── ABOUT / CREDENTIALS ── */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; margin-top: 1.5rem; }
.about-label { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--brand-primary); margin-bottom: 0.5rem; }
.about-title { font-family: var(--font-display); font-size: 1.5rem; color: var(--brand-ink); margin-bottom: 1rem; line-height: 1.2; }
.about-body p { font-size: 15px; color: var(--brand-mid); line-height: 1.7; }
.about-body p + p { margin-top: 0.75rem; }
.credentials-card { background: var(--brand-section-alt); border: 1px solid var(--brand-muted); border-radius: var(--radius-lg); padding: 1.5rem; }
.credentials-list { list-style: none; margin-top: 0.75rem; }
.credentials-list li { font-size: 14px; color: var(--brand-mid); padding: 0.4rem 0; border-bottom: 1px solid var(--brand-muted); display: flex; align-items: flex-start; gap: 0.6rem; line-height: 1.5; }
.credentials-list li:last-child { border-bottom: none; }
.credentials-list li::before { content: '✓'; color: var(--brand-primary); font-weight: 700; flex-shrink: 0; }

/* ── PARTNERS BAND ── */
.partners-band { background: var(--brand-section-alt); border-top: 1px solid var(--brand-muted); border-bottom: 1px solid var(--brand-muted); padding: 1.5rem; }
.partners-inner { max-width: 1100px; margin: 0 auto; display: flex; align-items: center; justify-content: center; gap: 2rem; flex-wrap: wrap; }
.partner-item { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 0.5rem 1.5rem; }
.partner-abbr { font-family: var(--font-display); font-size: 1.3rem; color: var(--brand-dark); }
.partner-label { font-size: 11px; color: var(--brand-muted-text); font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; }

/* ── CONTENT CARD (course page) ── */
main { padding: 2.5rem 1.5rem 4rem; display: none; }
.content-card { background: var(--brand-white); border: 1px solid var(--brand-border); border-radius: var(--radius-lg); padding: 2rem; }
.notice-box { background: var(--brand-section-alt); border: 1px solid var(--brand-muted); border-radius: var(--radius-lg); padding: 1rem 1.25rem; margin-bottom: 1.5rem; }
.notice-box strong { display: block; margin-bottom: 0.4rem; color: var(--brand-ink); font-size: 15px; }
.notice-box p { font-size: 15px; color: var(--brand-mid); line-height: 1.6; }
.section + .section { margin-top: 2rem; padding-top: 2rem; border-top: 1px solid var(--brand-border); }
.section h2 { font-size: 1.5rem; margin-bottom: 0.75rem; }
.section p { color: var(--brand-mid); font-size: 16px; }
.section p + p { margin-top: 0.75rem; }
.section ul, .section ol { padding-left: 1.25rem; color: var(--brand-mid); font-size: 16px; margin-top: 0.75rem; }
.section li + li { margin-top: 0.4rem; }

/* ── MODULES ── */
.module-list { list-style: none; margin-top: 0.75rem; }
.module-item { display: flex; align-items: flex-start; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--brand-border); }
.module-item:last-child { border-bottom: none; }
.module-num { width: 32px; height: 32px; border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center; background: var(--brand-section-alt); color: var(--brand-dark); font-size: 12px; font-weight: 700; margin-top: 2px; }
.module-code { font-size: 11px; color: var(--brand-muted-text); font-weight: 600; letter-spacing: 0.05em; margin-bottom: 2px; }
.module-name { font-weight: 600; font-size: 15.5px; color: var(--brand-ink); line-height: 1.4; }
.module-desc { font-size: 14px; color: var(--brand-muted-text); margin-top: 3px; line-height: 1.5; }
.module-note { display: inline-block; margin-top: 6px; font-size: 12px; color: var(--brand-dark); background: var(--brand-section-alt); border-radius: var(--radius); padding: 3px 10px; border: 1px solid var(--brand-muted); }

/* ── OUTCOMES ── */
.outcomes-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.65rem; margin-top: 0.75rem; }
.outcome-item { display: flex; align-items: flex-start; gap: 0.6rem; padding: 0.7rem 0.9rem; background: var(--brand-section-alt); border-radius: var(--radius); font-size: 14px; color: var(--brand-charcoal); line-height: 1.4; }
.outcome-tick { color: var(--brand-primary); font-weight: 700; flex-shrink: 0; margin-top: 1px; }

/* ── ASSESSMENT ── */
.assessment-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.65rem; margin-top: 0.75rem; }
.assessment-item { padding: 0.8rem 1rem; background: var(--brand-section-alt); border-radius: var(--radius); }
.assessment-label { font-size: 11px; color: var(--brand-muted-text); font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 3px; }
.assessment-value { font-weight: 600; color: var(--brand-charcoal); font-size: 14px; }

/* ── ENQUIRY FORM ── */
.enquiry { background: var(--brand-light-bg); border-top: 1px solid var(--brand-border); border-bottom: 1px solid var(--brand-border); display: none; }
.section-inner { padding: 3.5rem 1.5rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { font-size: 13px; font-weight: 500; color: var(--brand-mid); }
.form-group input, .form-group select, .form-group textarea { width: 100%; background: var(--brand-white); border: 1px solid var(--brand-nav-border); border-radius: var(--radius); padding: 12px 14px; font-size: 15px; color: var(--brand-charcoal); font-family: var(--font-body); transition: border-color 0.2s, box-shadow 0.2s; }
.form-group select { appearance: none; cursor: pointer; }
.form-group textarea { resize: vertical; min-height: 110px; }
.form-group input::placeholder, .form-group textarea::placeholder { color: #9ca3af; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--brand-primary); box-shadow: 0 0 0 3px rgba(232,97,0,0.12); }
.form-group .field-error { display: none; font-size: 13px; color: #b42318; margin-top: 4px; }
.form-group.has-error .field-error { display: block; }
.form-group.has-error input, .form-group.has-error select, .form-group.has-error textarea { border-color: #b42318; box-shadow: 0 0 0 3px rgba(180,35,24,0.12); }
.form-submit { margin-top: 0.5rem; }
.form-note { font-size: 12px; color: var(--brand-muted-text); margin-top: 1rem; }
.form-status { display: none; margin-top: 1rem; padding: 0.9rem 1rem; border-radius: var(--radius); font-size: 14px; }
.form-status.is-error { display: block; background: #fef3f2; border: 1px solid #fecdca; color: #b42318; }
#form-success { display: none; background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: var(--radius-lg); padding: 1.5rem; text-align: center; color: var(--brand-ink); }

/* ── FOOTER ── */
footer { background: var(--brand-footer-bg); color: var(--brand-mid); padding: 3rem 1.5rem 2rem; border-top: 1px solid var(--brand-footer-border); }
.footer-inner { max-width: 1100px; margin: 0 auto; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem; margin-bottom: 2.5rem; }
.footer-brand { display: flex; flex-direction: column; gap: 0.75rem; align-items: flex-start; }
.footer-brand p { font-size: 14px; line-height: 1.6; color: var(--brand-mid); max-width: 280px; }
.footer-col h4 { font-size: 12px; font-weight: 600; color: var(--brand-charcoal); margin-bottom: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.5rem; }
.footer-col ul li a { color: var(--brand-mid); text-decoration: none; font-size: 14px; transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--brand-ink); }
.footer-bottom { border-top: 1px solid var(--brand-footer-border); padding-top: 1.5rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.5rem; }
.footer-bottom p { font-size: 13px; color: var(--brand-muted-text); }
.footer-bottom a { color: var(--brand-muted-text); text-decoration: none; }
.footer-bottom a:hover { color: var(--brand-ink); }

/* ── STATIC PAGES (privacy, terms) ── */

/* Hero band at the top of the page — orange-tinted background, eyebrow pill, fluid H1, meta card */
.static-hero {
  background: var(--brand-light-bg);
  border-bottom: 1px solid var(--brand-border);
  padding: 4.5rem 1.5rem 3rem;
}
.static-hero-inner { max-width: 1100px; margin: 0 auto; }
.static-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--brand-ink);
  line-height: 1.15;
  margin-bottom: 1rem;
  max-width: 760px;
}
.static-hero p.static-lead {
  max-width: 760px;
  color: var(--brand-mid);
  font-size: 1.08rem;
  line-height: 1.7;
  margin: 0;
}
.meta-card {
  margin-top: 1.75rem;
  background: var(--brand-white);
  border: 1px solid var(--brand-border);
  border-radius: var(--radius-lg);
  padding: 1rem 1.1rem;
  max-width: 760px;
  color: var(--brand-mid);
  font-size: 15px;
  line-height: 1.7;
}
.meta-card strong { color: var(--brand-ink); }

/* Two-column body: sticky TOC on the left, content card on the right */
.static-main { padding: 3rem 1.5rem 4rem; }
.static-main-inner { max-width: 1100px; margin: 0 auto; }
.page-grid {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
}
.toc {
  position: sticky;
  top: 95px;
  background: var(--brand-white);
  border: 1px solid var(--brand-border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
}
.toc h2 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--brand-ink);
  margin-bottom: 0.85rem;
  line-height: 1.2;
}
.toc ul { list-style: none; padding: 0; margin: 0; }
.toc li + li { margin-top: 0.55rem; }
.toc a {
  text-decoration: none;
  color: var(--brand-mid);
  font-size: 15px;
  transition: color 0.2s;
}
.toc a:hover { color: var(--brand-ink); }

/* Related document box — grey, below the notice, inside the content card */
.related-box {
  border-radius: var(--radius-lg);
  padding: 1rem 1.1rem;
  margin-bottom: 1.5rem;
  background: #f8fafc;
  border: 1px solid var(--brand-border);
  font-size: 15px;
  color: var(--brand-muted-text);
}
.related-box a {
  color: var(--brand-primary);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.related-box a:hover { color: var(--brand-dark); }

/* Small-copy paragraph variant */
.static-small { font-size: 15px; color: var(--brand-muted-text); margin-top: 0.5rem; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .nav-mobile { display: flex; }
  .hero-card { grid-template-columns: 1fr; gap: 2rem; padding: 2rem 1.5rem; }
  .hero-stats { grid-template-columns: repeat(3, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-brand { grid-column: 1 / -1; }
  .enrol-band-inner { grid-template-columns: 1fr 1fr; }
  .enrol-facts-strip { justify-content: flex-start; }
  .assessment-grid { grid-template-columns: 1fr 1fr; }
  .page-grid { grid-template-columns: 1fr; }
  .toc { position: static; }
}
@media (max-width: 640px) {
  .nav-inner { padding: 0.85rem 1rem; }
  .nav-logo { max-width: 185px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .content-card { padding: 1.25rem; }
  h1 { font-size: 1.9rem; }
  .enrol-band-inner { grid-template-columns: 1fr; gap: 1rem; }
  .enrol-facts-strip { justify-content: flex-start; }
  .enrol-fact { align-items: flex-start; }
  .outcomes-grid { grid-template-columns: 1fr; }
  .assessment-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 0.25rem; }
  .form-grid { grid-template-columns: 1fr; }
  .courses-grid { grid-template-columns: 1fr; }
  .audience-grid { grid-template-columns: 1fr; }
  .static-hero { padding: 3rem 1.25rem 2.5rem; }
  .faq-cards { grid-template-columns: 1fr; }
  .faq-section-header { text-align: left; }
  .faq-controls { justify-content: flex-start; }
}

/* ── FAQ SECTION ── */
.faq-section { padding: 4rem 1.5rem; background: var(--brand-bg); }
.faq-section-inner { max-width: var(--max-w); margin: 0 auto; }
.faq-section-header { text-align: center; margin-bottom: 2.5rem; }
.faq-section-header .section-label { margin-bottom: 0.4rem; }
.faq-section-header .section-title { margin-bottom: 0.6rem; }
.faq-section-header .section-lead { color: var(--brand-mid); font-size: 1rem; margin-bottom: 1.25rem; text-align: center; margin-left: auto; margin-right: auto; }
.faq-controls { display: flex; align-items: center; justify-content: center; }
.faq-ctrl-btn { display: none; }
.faq-ctrl-divider { display: none; }
.faq-toggle-btn { display: inline-flex; align-items: center; gap: 0.45rem; background: none; border: 1.5px solid var(--brand-primary); border-radius: 100px; cursor: pointer; color: var(--brand-primary); font-weight: 600; font-size: 13px; padding: 5px 16px; transition: background 0.15s, color 0.15s; }
.faq-toggle-btn:hover { background: var(--brand-primary); color: #fff; }
.faq-toggle-icon { font-size: 1rem; line-height: 1; }
.faq-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; align-items: start; }
.faq-card { background: var(--brand-white); border: 1px solid var(--brand-muted); border-radius: var(--radius-lg); overflow: hidden; }
.faq-card-header { padding: 1.25rem 1.5rem; border-bottom: 1px solid var(--brand-muted); background: var(--brand-section-alt); }
.faq-card-title { font-size: 1.05rem; font-weight: 700; color: var(--brand-ink); }
.faq-card-desc { display: none; }
.faq-items { padding: 0 1.5rem; }
.faq-item { border-bottom: 1px solid var(--brand-muted); }
.faq-item:last-child { border-bottom: none; }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 0; background: none; border: none; cursor: pointer; text-align: left; font-size: 0.95rem; font-weight: 400; color: var(--brand-ink); line-height: 1.4; }
.faq-q:hover { color: var(--brand-primary); }
.faq-icon { flex-shrink: 0; font-size: 1.1rem; font-weight: 400; color: var(--brand-primary); line-height: 1; width: 1.1rem; text-align: center; }
.faq-a { padding: 0 0 1rem; }
.faq-a p { font-size: 0.925rem; color: var(--brand-mid); line-height: 1.65; }

/* ── KB QUIRK PASS — shared pages and post-payment calm-down ── */
@media (max-width: 640px) {
  body { font-size: 17px; line-height: 1.65; }
  .nav-inner { min-height: 64px; padding: 0 1.25rem; }
  .nav-logo img { max-height: 34px !important; }

  .eyebrow {
    background: transparent;
    color: var(--brand-dark);
    border-radius: 0;
    padding: 0;
    font-size: 0.68rem;
    line-height: 1.35;
    letter-spacing: 0.085em;
    font-weight: 800;
    max-width: 100%;
  }

  .static-hero { padding: 3rem 1.25rem 2.4rem; }
  .static-hero h1 { font-size: clamp(1.85rem, 8.5vw, 2.25rem); line-height: 1.12; }
  .static-hero p.static-lead { font-size: 1rem; line-height: 1.68; }
  .meta-card { font-size: 0.92rem; padding: 0.9rem 1rem; }
  .static-main { padding: 2rem 1.1rem 3rem; }
  .content-card { padding: 1.25rem; border-radius: 15px; }
  .section + .section { margin-top: 1.5rem; padding-top: 1.5rem; }
  .section h2 { font-size: 1.35rem; }
  .section p, .section ul, .section ol { font-size: 0.95rem; }

  .hero-course { padding: 3rem 1.25rem 2.4rem; }
  .meta-hero-pills { gap: 0.5rem; margin-top: 1.15rem; }
  .meta-hero-pill { border-radius: var(--radius); white-space: normal; line-height: 1.35; }
  .enrol-band { padding: 1.25rem; }
  .enrol-price { font-size: 2rem; }
  .enrol-facts-strip { gap: 0.6rem; }

  .form-group input,
  .form-group select,
  .form-group textarea,
  .content-card input,
  .content-card textarea,
  .content-card select {
    font-size: 16px !important;
  }

  .content-card form button[type="submit"],
  .content-card .btn-primary,
  .content-card .btn-outline {
    width: 100% !important;
    max-width: none;
    min-height: 46px;
  }

  .footer-top { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-brand { grid-column: auto; }
  .footer-brand img { max-width: 155px !important; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 0.35rem; }
}
