/*
Theme Name: FSi Africa v208 Restored
Theme URI: https://www.fsi.africa
Author: Financial Services Institute Mauritius
Author URI: https://www.fsi.africa
Description: Custom WordPress theme for the Financial Services Institute (FSi) Mauritius. Hero restored to original Netlify v10 multi-video structure.
Version: 2.4.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: Proprietary
License URI: https://www.fsi.africa
Text Domain: fsi-africa-v208-restored
Tags: custom-header, custom-menu, featured-images, full-width-template, responsive-layout
*/

/* ─────────────────────────────────────────────
   FSi AFRICA FINAL — CUSTOM WORDPRESS THEME v2.0.0
   Source: fsiproject.netlify.app (v11)
   Faithful migration — no redesign
   ───────────────────────────────────────────── */

/* ==== RESET & ROOT ==== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:      #002169;
  --navy-dk:   #001245;
  --navy-mid:  #041e5c;
  --blue:      #0083c1;
  --blue-lt:   rgba(0,131,193,0.15);
  --green:     #3dae2b;
  --green-dim: rgba(61,174,43,0.12);
  --green-glow:rgba(61,174,43,0.25);
  --white:     #ffffff;
  --off:       #f4f6fa;
  --grey-1:    #f0f2f7;
  --grey-2:    #dde2ec;
  --grey-3:    #a8b4c8;
  --grey-4:    #5c6e8a;
  --text:      #1a2a42;
}

html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Outfit', sans-serif;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  line-height: 1.65;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-track { background: var(--navy-dk); }
::-webkit-scrollbar-thumb { background: var(--green); border-radius: 2px; }

/* ==== PROGRESS BAR ==== */
.progress-bar {
  position: fixed; top: 0; left: 0; height: 2px;
  background: linear-gradient(90deg, var(--green), var(--blue));
  z-index: 99999; width: 0%; transition: width 0.1s linear;
  pointer-events: none;
}
/* Admin bar pushes body — progress bar stays at window top */
.admin-bar .progress-bar { top: 0; }

/* ==== MOBILE NAV — Full-screen overlay ==== */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100%; height: 100%;
  z-index: 9000;
  background: var(--navy-dk);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.mobile-nav.open { display: flex; }

/* Admin bar offset — WP adds 32px top bar in logged-in state */
.admin-bar .mobile-nav { top: 32px; }
@media screen and (max-width: 782px) {
  .admin-bar .mobile-nav { top: 46px; }
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding: 0;
}
.mobile-nav-links a {
  display: block;
  font-size: 18px; font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase; color: rgba(255,255,255,0.75);
  padding: 18px 0; width: 280px; max-width: 90vw;
  text-align: center;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: color 0.2s; text-decoration: none;
}
.mobile-nav-links a:first-child { border-top: 1px solid rgba(255,255,255,0.07); }
.mobile-nav-links a:hover,
.mobile-nav-links a.active-page { color: var(--white); }

.mobile-close {
  position: absolute; top: 22px; right: 26px;
  background: none; border: none;
  color: rgba(255,255,255,0.5); font-size: 32px; line-height: 1;
  padding: 8px; transition: color 0.2s; cursor: pointer;
  z-index: 1; font-family: inherit;
}
.mobile-close:hover { color: var(--white); }
/* Admin bar offset for close button */
.admin-bar .mobile-close { top: 54px; }
@media screen and (max-width: 782px) {
  .admin-bar .mobile-close { top: 68px; }
}

/* ==== SITE HEADER ==== */
.site-header {
  position: sticky; top: 0; z-index: 500;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,33,105,0.08);
  height: 92px; display: flex; align-items: center;
  justify-content: space-between; padding: 0 60px;
  transition: box-shadow 0.3s, background 0.3s;
}
/* WP admin bar pushes body down 32px — header stays sticky correctly */
.admin-bar .site-header { top: 32px; }
@media screen and (max-width: 782px) {
  .admin-bar .site-header { top: 46px; }
}
.site-header.scrolled {
  box-shadow: 0 4px 32px rgba(0,18,69,0.10);
  background: rgba(255,255,255,0.98);
}
.logo-link { display: flex; align-items: center; flex-shrink: 0; }
.site-logo { height: auto; max-height: 72px; width: auto; object-fit: contain; display: block; }
.main-nav { display: flex; align-items: center; }
.main-nav a {
  font-size: 11px; font-weight: 600; letter-spacing: 0.09em;
  text-transform: uppercase; color: var(--grey-4);
  height: 92px; padding: 0 18px;
  display: flex; align-items: center;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.main-nav a:hover, .main-nav a.active-page, .main-nav a.is-active {
  color: var(--navy); border-bottom-color: var(--green);
}
.nav-cta {
  height: auto !important; padding: 11px 26px !important;
  margin-left: 10px; border-bottom: none !important;
  background: var(--navy); color: var(--white) !important;
  font-weight: 700; transition: background 0.2s, transform 0.15s !important;
}
.nav-cta:hover { background: var(--green) !important; transform: translateY(-1px); }
.hamburger {
  display: none; flex-direction: column; gap: 5px; padding: 8px;
  cursor: pointer; background: none; border: none;
  position: relative; z-index: 600;
}
.hamburger span { display: block; width: 22px; height: 2px; background: var(--navy); transition: all 0.3s; }

/* ==== UTILITY CLASSES ==== */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.26em;
  text-transform: uppercase; color: var(--green); margin-bottom: 14px;
}
.eyebrow::before { content: ''; display: block; width: 24px; height: 1px; background: var(--green); }
.h-title {
  font-size: clamp(28px, 3vw, 44px); font-weight: 700; color: var(--navy);
  line-height: 1.1; letter-spacing: -0.02em; margin-bottom: 14px;
}
.h-title .thin { font-weight: 300; color: var(--blue); }
.h-title-white { color: var(--white); }
.h-title-white .thin { color: rgba(255,255,255,0.55); }
.rule { width: 32px; height: 2px; background: var(--green); margin-bottom: 24px; }
.rule-white { background: rgba(255,255,255,0.25); }
.body-copy {
  font-size: 15px; font-weight: 300; line-height: 1.85;
  color: var(--grey-4); max-width: 560px;
}
.body-copy-white { color: rgba(255,255,255,0.72); }

/* ==== ANIMATION REVEALS ==== */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.shown { opacity: 1; transform: translateY(0); }
.reveal-left {
  opacity: 0; transform: translateX(-32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-left.shown { opacity: 1; transform: translateX(0); }
.reveal-right {
  opacity: 0; transform: translateX(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-right.shown { opacity: 1; transform: translateX(0); }
.reveal-scale {
  opacity: 0; transform: scale(0.95);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-scale.shown { opacity: 1; transform: scale(1); }

/* ==== BUTTONS ==== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Outfit', sans-serif; font-size: 11px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  padding: 14px 34px; transition: all 0.25s; cursor: pointer;
  white-space: nowrap;
}
.btn-primary {
  background: var(--navy); color: var(--white); border: 2px solid var(--navy);
}
.btn-primary:hover {
  background: var(--green); border-color: var(--green);
  transform: translateY(-2px); box-shadow: 0 8px 24px rgba(61,174,43,0.3);
}
.btn-ghost {
  background: transparent; color: var(--navy); border: 2px solid var(--grey-2);
}
.btn-ghost:hover { border-color: var(--navy); transform: translateY(-1px); }
.btn-ghost-white {
  background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.35);
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Outfit', sans-serif; font-size: 11px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; padding: 14px 34px; transition: all 0.25s;
}
.btn-ghost-white:hover { border-color: var(--white); background: rgba(255,255,255,0.08); }

/* ==== HERO — UNIFIED SYSTEM (home + all inner pages) ====
   Single flex-start architecture. padding-top controls the gap
   from the nav bar to the green dot. Same on every page.
   ========================================================== */

/* HOME HERO */
.hero {
  position: relative; overflow: hidden;
  min-height: 68vh;
  display: flex; align-items: flex-start;
  background: var(--navy-dk);
}
.hero-video-wrap { position: absolute; inset: 0; z-index: 0; }
.hero-video { width: 100%; height: 100%; object-fit: cover; }
.hero-vid {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0; transition: opacity 0.8s ease; z-index: 0;
}
.hero-vid.active { opacity: 1; z-index: 1; }
.hero-video-overlay {
  position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(
    135deg,
    rgba(0,18,69,0.88) 0%,
    rgba(0,33,105,0.70) 45%,
    rgba(4,30,92,0.55) 70%,
    rgba(0,18,69,0.75) 100%
  );
}
.hero-green-accent {
  position: absolute; bottom: 0; left: 0; right: 0; height: 3px; z-index: 4;
  background: linear-gradient(90deg, var(--green), transparent 60%);
}
.hero-inner {
  position: relative; z-index: 3;
  width: 100%; max-width: 1400px; margin: 0 auto;
  padding: 38px 60px 40px;
  display: grid; grid-template-columns: 1fr auto; gap: 60px; align-items: start;
}
.hero-left {}
.hero-eyebrow {
  display: flex; align-items: center; gap: 10px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.26em;
  text-transform: uppercase; color: var(--green); margin-bottom: 28px;
}
.hero-eyebrow-dot {
  width: 8px; height: 8px; background: var(--green); border-radius: 50%;
  animation: fsi-blink 1.4s ease-in-out infinite;
}
@keyframes fsi-blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}
.hero-title {
  font-size: clamp(40px,5.5vw,80px); font-weight: 700; color: var(--white);
  line-height: 1.0; letter-spacing: -0.025em; margin-bottom: 28px;
}
.hero-title .blue { color: rgba(140,210,250,0.9); font-weight: 300; }
.hero-sub {
  font-size: 16px; font-weight: 300; color: rgba(255,255,255,0.72);
  max-width: 560px; line-height: 1.8; margin-bottom: 40px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-right { padding-bottom: 8px; }
.hero-mission-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(8px); padding: 28px; max-width: 280px;
  position: relative; overflow: hidden;
}
.hero-mission-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--green), var(--blue));
}
.hero-mission-label {
  font-size: 10px; font-weight: 700; letter-spacing: 0.26em;
  text-transform: uppercase; color: var(--green); margin-bottom: 12px;
}
.hero-mission-text {
  font-size: 13px; font-weight: 300; color: rgba(255,255,255,0.72); line-height: 1.75;
}
.hero-scroll {
  position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
  z-index: 4; display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.hero-scroll-line {
  width: 1px; height: 40px; background: rgba(255,255,255,0.2);
  animation: scrollLine 1.8s ease-in-out infinite;
}
.hero-scroll-dot {
  width: 6px; height: 6px; background: var(--green); border-radius: 50%;
  animation: scrollDot 1.8s ease-in-out infinite 0.9s;
}
@keyframes scrollLine { 0%,100%{opacity:0.2;transform:scaleY(0.5)} 50%{opacity:1;transform:scaleY(1)} }
@keyframes scrollDot  { 0%,100%{opacity:0;transform:translateY(-4px)} 50%{opacity:1;transform:translateY(0)} }

/* ==== COUNTERS ==== */
.counters {
  background: var(--navy-dk);
  display: grid; grid-template-columns: repeat(3,1fr);
  position: relative; overflow: hidden;
}
.counters::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 100%, rgba(61,174,43,0.06), transparent);
}
.counter-wrap {
  padding: 48px 28px; text-align: center;
  border-right: 1px solid rgba(255,255,255,0.06);
  position: relative; z-index: 1; transition: background 0.3s;
}
.counter-wrap:last-child { border-right: none; }
.counter-wrap:hover { background: rgba(255,255,255,0.03); }
.counter-num {
  font-size: clamp(32px,4vw,56px); font-weight: 700; color: var(--white);
  line-height: 1; letter-spacing: -0.03em; margin-bottom: 10px;
}
.counter-label {
  font-size: 10px; font-weight: 500; letter-spacing: 0.2em;
  text-transform: uppercase; color: rgba(255,255,255,0.35);
}
.counter-accent {
  width: 24px; height: 2px; background: var(--green);
  margin: 12px auto 0; transform: scaleX(0); transition: transform 0.5s ease;
}
.counter-wrap.shown .counter-accent { transform: scaleX(1); }

/* ==== ABOUT ==== */
.about { padding: 100px 60px; background: var(--white); }
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center;
  max-width: 1280px; margin: 0 auto;
}
.about-image-wrap { position: relative; padding-bottom: 60px; }
.about-green-dot {
  position: absolute; top: 24px; left: 24px; z-index: 2;
  width: 10px; height: 10px; background: var(--green); border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(61,174,43,0.2);
}
.about-img-main {
  position: relative; overflow: hidden; height: 420px;
  box-shadow: 0 24px 64px rgba(0,18,69,0.15);
}
.about-img-main img { width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform 8s ease; }
.about-img-main:hover img { transform: scale(1.04); }
.about-img-main::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(0,18,69,0.3));
}
.about-img-float {
  position: absolute; bottom: 0; right: -30px;
  width: 180px; height: 220px; overflow: hidden;
  border: 4px solid var(--white);
  box-shadow: 0 20px 60px rgba(0,18,69,0.2);
  z-index: 2;
}
.about-img-float img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.about-float-caption {
  position: absolute; top: 0; left: 0; right: 0; z-index: 3;
  padding: 8px;
  font-size: 9px; font-weight: 700; letter-spacing: 0.10em; text-transform: uppercase;
  color: var(--white); text-align: center; line-height: 1.45;
  background: linear-gradient(to bottom, rgba(0,18,69,0.82) 0%, transparent 100%);
  pointer-events: none;
}
.pillars {
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 2px; background: var(--grey-2);
  margin-top: 80px; max-width: 1280px; margin-left: auto; margin-right: auto;
}
.pillar {
  background: var(--white); padding: 32px 24px;
  display: flex; gap: 16px; align-items: flex-start;
  transition: background 0.3s;
}
.pillar:hover { background: var(--off); }
.pillar-n {
  font-size: 11px; font-weight: 700; letter-spacing: 0.2em;
  color: var(--green); flex-shrink: 0; padding-top: 3px;
}
.pillar-title { font-size: 14px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.pillar-body { font-size: 13px; font-weight: 300; color: var(--grey-4); line-height: 1.65; }

/* ==== VISION / MISSION / BRAND ==== */
.vismis {
  display: grid; grid-template-columns: repeat(3,1fr);
  background: var(--navy);
}
.vm-cell {
  padding: 56px 48px; border-right: 1px solid rgba(255,255,255,0.07);
  position: relative; overflow: hidden; transition: background 0.3s;
}
.vm-cell:last-child { border-right: none; }
.vm-cell::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--green); transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s ease;
}
.vm-cell:hover::before { transform: scaleX(1); }
.vm-cell:hover { background: rgba(255,255,255,0.03); }
.vm-label {
  font-size: 10px; font-weight: 700; letter-spacing: 0.26em;
  text-transform: uppercase; color: var(--green); margin-bottom: 16px;
}
.vm-text { font-size: 15px; font-weight: 300; color: rgba(255,255,255,0.72); line-height: 1.8; }

/* ==== TESTIMONIALS ==== */
.testimonials { padding: 100px 60px; background: var(--off); }
.test-head { margin-bottom: 52px; }
.test-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 2px;
  background: var(--grey-2); max-width: 1280px; margin: 0 auto;
}
.test-card {
  background: var(--white); padding: 36px 28px;
  display: flex; flex-direction: column;
  transition: transform 0.3s, box-shadow 0.3s;
}
.test-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,18,69,0.10); }
.test-body { display: flex; flex-direction: column; gap: 20px; flex: 1; }
.test-quote-mark { font-size: 56px; font-weight: 700; color: var(--green); line-height: 0.8; }
.test-q { font-size: 14px; font-weight: 300; color: var(--text); line-height: 1.75; flex: 1; }
.test-name { font-size: 13px; font-weight: 700; color: var(--navy); margin-bottom: 3px; }
.test-prog { font-size: 11px; font-weight: 400; color: var(--grey-3); letter-spacing: 0.04em; }

/* ==== WORKSHOP VIDEO — matches Netlify v10 exactly ==== */
.workshop-video-wrap {
  padding: 56px 60px 0;
  background: var(--off);
}
.workshop-video-inner {
  max-width: 680px;
  margin: 0 auto;
  background: var(--white);
  border: 3px solid var(--white);
  box-shadow: 0 12px 56px rgba(0,18,69,0.14);
  border-radius: 2px;
  overflow: hidden;
}
.workshop-video-container {
  position: relative;
  line-height: 0;
}
/* NO brightness filter — video plays at full clarity */
.workshop-video {
  display: block;
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: cover;
}
.workshop-play-btn {
  position: absolute; bottom: 22px; left: 50%;
  transform: translateX(-50%);
  background: rgba(0,18,69,0.80);
  border: 1px solid rgba(255,255,255,0.22);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: 2px;
  cursor: pointer;
  padding: 10px 22px;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  transition: opacity 0.3s, background 0.2s;
  opacity: 1;
  white-space: nowrap;
  z-index: 10;
}
.workshop-play-btn:hover { background: rgba(61,174,43,0.85); border-color: transparent; }
.workshop-play-btn.hidden { opacity: 0; pointer-events: none; transition: opacity 0.4s; }

/* ==== CONTACT ==== */
.contact {
  padding: 100px 60px; background: var(--navy);
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: start;
  max-width: 100%; position: relative; overflow: hidden;
}
.contact::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 80% 50%, rgba(0,131,193,0.08), transparent);
}
.contact > * { position: relative; z-index: 1; }
.contact-details { display: flex; flex-direction: column; gap: 24px; margin-top: 28px; }
.cd-lbl {
  font-size: 10px; font-weight: 700; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--green); margin-bottom: 4px;
}
.cd-val { font-size: 15px; font-weight: 300; color: rgba(255,255,255,0.75); line-height: 1.6; }
.cd-val a { color: rgba(255,255,255,0.75); transition: color 0.2s; }
.cd-val a:hover { color: var(--white); }

/* ==== CONTACT FORM ==== */
.cform { display: flex; flex-direction: column; gap: 16px; }
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fg { display: flex; flex-direction: column; gap: 7px; }
.fg label {
  font-size: 10px; font-weight: 700; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--grey-3);
}
.fg input, .fg textarea, .fg select {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--white); padding: 13px 16px;
  font-family: 'Outfit', sans-serif; font-size: 14px; font-weight: 400;
  outline: none; width: 100%; border-radius: 0; transition: border-color 0.2s;
}
.fg input:focus, .fg textarea:focus, .fg select:focus {
  border-color: var(--green); box-shadow: 0 0 0 3px rgba(61,174,43,0.12);
}
.fg input::placeholder, .fg textarea::placeholder { color: rgba(255,255,255,0.3); }
.fg textarea { min-height: 120px; resize: vertical; }
.fg select option { background: var(--navy); }
.btn-send {
  background: var(--green); color: var(--white); border: none;
  padding: 15px; font-family: 'Outfit', sans-serif; font-size: 11px;
  font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  cursor: pointer; transition: background 0.2s, transform 0.15s; width: 100%;
}
.btn-send:hover { background: #5ec94b; transform: translateY(-1px); box-shadow: 0 8px 24px rgba(61,174,43,0.3); }
.form-msg { font-size: 13px; text-align: center; min-height: 18px; color: var(--white); }

/* ==== FOOTER ==== */
.site-footer {
  background: var(--navy-dk); padding: 72px 60px 32px; position: relative;
}
.site-footer::before {
  content: ''; position: absolute; top: 0; left: 60px; right: 60px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--green), transparent);
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px; padding-bottom: 52px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  margin-bottom: 26px;
}
.footer-logo { max-height: 60px; width: auto; margin-bottom: 18px; object-fit: contain; }
.footer-desc {
  font-size: 13px; font-weight: 300; color: rgba(255,255,255,0.42);
  line-height: 1.8; max-width: 270px;
}
.footer-col h4 {
  font-size: 10px; font-weight: 700; letter-spacing: 0.26em;
  text-transform: uppercase; color: rgba(255,255,255,0.28); margin-bottom: 18px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.footer-col ul li a {
  font-size: 13px; font-weight: 300; color: rgba(255,255,255,0.52); transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--white); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
}
.footer-copy { font-size: 11.5px; font-weight: 300; color: rgba(255,255,255,0.26); }
.privacy-btn {
  background: none; border: none;
  font-family: 'Outfit', sans-serif; font-size: 11.5px;
  font-weight: 300; color: rgba(255,255,255,0.26); cursor: pointer;
  transition: color 0.2s; padding: 0;
}
.privacy-btn:hover { color: rgba(255,255,255,0.6); }

/* ==== PRIVACY MODAL ==== */
.privacy-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,18,69,0.75); z-index: 99000;
  align-items: center; justify-content: center;
  padding: 20px; backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.privacy-overlay.open { display: flex; }
.privacy-modal {
  background: var(--white); max-width: 560px; width: 100%;
  padding: 48px; position: relative; max-height: 90vh; overflow-y: auto;
}
.privacy-close {
  position: absolute; top: 18px; right: 20px;
  background: none; border: none; font-size: 26px; line-height: 1;
  color: var(--grey-3); cursor: pointer; padding: 4px 8px;
}
.privacy-close:hover { color: var(--navy); }
.privacy-title { font-size: 22px; font-weight: 700; color: var(--navy); margin-bottom: 14px; }
.privacy-rule { width: 32px; height: 2px; background: var(--green); margin-bottom: 22px; }
.privacy-body { font-size: 15px; font-weight: 300; color: var(--grey-4); line-height: 1.85; }
.privacy-body a { color: var(--blue); }

/* ==== PAGE HERO (inner pages) ==== */
/* INNER PAGE HERO — fills viewport below nav bar on desktop */
.page-hero {
  position: relative; overflow: hidden;
  min-height: calc(100vh - 92px);
  display: flex; align-items: flex-start;
  background: var(--navy-dk);
}
.page-hero-bg {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(135deg, rgba(0,18,69,0.82) 0%, rgba(0,33,105,0.70) 60%, rgba(4,30,92,0.78) 100%);
}
/* Inner page hero — exact v10 multi-video opacity structure */
.page-hero-vid {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0; transition: opacity 0.9s ease;
  z-index: 0; pointer-events: none;
}
.page-hero-vid.ph-active { opacity: 1; z-index: 1; }
.page-hero-grid {
  position: absolute; inset: 0; z-index: 2;
  background-image: linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
}
.page-hero-green-bar {
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 3px; z-index: 4;
  background: linear-gradient(90deg, var(--green), transparent 60%);
}
.page-hero-left {
  position: relative; z-index: 3;
  padding: 38px 60px 40px;
  display: flex; flex-direction: column; justify-content: flex-start;
  width: 100%; max-width: 820px;
}
.page-hero-eyebrow {
  display: flex; align-items: center; gap: 10px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.26em;
  text-transform: uppercase; color: var(--green); margin-bottom: 28px;
}
.page-hero-eyebrow-dot { width: 8px; height: 8px; background: var(--green); border-radius: 50%; animation: fsi-blink 1.4s ease-in-out infinite; }
.page-hero-title {
  font-size: clamp(36px, 4.5vw, 60px); font-weight: 700; color: var(--white);
  line-height: 1.05; letter-spacing: -0.025em; margin-bottom: 24px;
}
.page-hero-title .blue { color: rgba(140,210,250,0.9); font-weight: 300; }
.page-hero-sub {
  font-size: 16px; font-weight: 300; color: rgba(255,255,255,0.72);
  max-width: 580px; line-height: 1.8; margin-bottom: 40px;
}
.page-hero-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.page-hero-tag {
  font-size: 10px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  padding: 8px 16px; border: 1px solid rgba(255,255,255,0.18); color: rgba(255,255,255,0.65);
}

/* ==== CAPACITY BUILDING PAGE ==== */
.intro-section { padding: 100px 60px; background: var(--white); }
.intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.cfsp-box {
  background: var(--navy); padding: 32px; margin-top: 28px;
  position: relative; overflow: hidden;
}
.cfsp-box::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--green), var(--blue));
}
.cfsp-label {
  font-size: 10px; font-weight: 700; letter-spacing: 0.26em;
  text-transform: uppercase; color: var(--green); margin-bottom: 12px;
}
.cfsp-text { font-size: 14.5px; font-weight: 300; color: rgba(255,255,255,0.80); line-height: 1.75; }
.pillar-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.pillar-tag {
  font-size: 10px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  padding: 8px 14px; background: rgba(61,174,43,0.10); color: var(--navy);
  border: 1px solid rgba(61,174,43,0.25);
}
.clusters-section { padding: 100px 60px; background: var(--off); }
.clusters-grid {
  display: grid; grid-template-columns: repeat(5,1fr);
  gap: 2px; background: var(--grey-2); margin-top: 48px;
}
.cluster-card {
  background: var(--white); padding: 26px 18px;
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; gap: 10px;
  cursor: pointer; transition: background 0.3s;
}
.cluster-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--green); transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s ease;
}
.cluster-card:hover::before { transform: scaleX(1); }
.cluster-card:hover { background: var(--navy); }
.cluster-card:hover .cluster-num { color: rgba(61,174,43,0.7); }
.cluster-card:hover .cluster-name { color: var(--white); }
.cluster-card:hover .cluster-paths { color: rgba(255,255,255,0.45); }
.cluster-num { font-size: 10px; font-weight: 700; letter-spacing: 0.15em; color: var(--blue); transition: color 0.3s; }
.cluster-name { font-size: 13px; font-weight: 700; color: var(--navy); line-height: 1.25; transition: color 0.3s; }
.cluster-paths { font-size: 11.5px; font-weight: 300; color: var(--grey-4); line-height: 1.55; flex: 1; transition: color 0.3s; }
.cluster-click-hint {
  font-size: 9px; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase;
  color: rgba(255,255,255,0); transition: color 0.3s; margin-top: 4px;
}
.cluster-card:hover .cluster-click-hint { color: rgba(61,174,43,0.7); }
.pathways-section { padding: 100px 60px; background: var(--white); }
.pathway-header {
  display: flex; justify-content: space-between; align-items: flex-end;
  flex-wrap: wrap; gap: 20px; margin-bottom: 0;
}
.pathway-ecosystem {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 2px; background: var(--grey-2); margin-top: 40px;
}
.pathway-cluster-group { background: var(--white); }
.pcg-header {
  background: var(--navy); padding: 16px 22px;
  display: flex; align-items: center; gap: 10px;
}
.pcg-num { font-size: 10px; font-weight: 700; letter-spacing: 0.15em; color: rgba(255,255,255,0.35); }
.pcg-name { font-size: 13px; font-weight: 700; color: var(--white); }
.pcg-path {
  padding: 12px 22px; border-bottom: 1px solid rgba(0,33,105,0.05);
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 300; color: var(--grey-4);
  transition: all 0.2s; cursor: pointer;
}
.pcg-path:last-child { border-bottom: none; }
.pcg-path:hover { background: var(--off); color: var(--navy); }
.pcg-path::before { content: ''; width: 6px; height: 1px; background: var(--green); flex-shrink: 0; }
.pathway-note {
  margin-top: 28px; background: var(--off);
  border-left: 3px solid var(--blue); padding: 16px 22px;
}
.pathway-note p {
  font-size: 13.5px; font-weight: 300; color: var(--grey-4); line-height: 1.75; font-style: italic;
}

/* ==== MODAL ==== */
.modal-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,18,69,0.80); z-index: 99000;
  align-items: center; justify-content: center;
  padding: 20px; backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.modal-overlay.open { display: flex; }
.modal-box {
  background: var(--white); max-width: 620px; width: 100%;
  padding: 48px; position: relative;
  max-height: 90vh; overflow-y: auto;
}
.modal-close {
  position: absolute; top: 16px; right: 18px;
  background: none; border: none; font-size: 28px; line-height: 1;
  color: var(--grey-3); cursor: pointer; padding: 4px 8px; transition: color 0.2s;
}
.modal-close:hover { color: var(--navy); }
.modal-cat {
  font-size: 10px; font-weight: 700; letter-spacing: 0.26em;
  text-transform: uppercase; color: var(--green); margin-bottom: 10px;
}
.modal-title { font-size: 22px; font-weight: 700; color: var(--navy); letter-spacing: -0.01em; margin-bottom: 14px; }
.modal-rule { width: 28px; height: 2px; background: var(--green); margin-bottom: 20px; }
.modal-body { font-size: 14.5px; font-weight: 300; color: var(--grey-4); line-height: 1.85; }
.modal-levels {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 2px; margin-top: 24px; background: var(--grey-2);
}
.modal-level { background: var(--off); padding: 16px 14px; }
.modal-level-name {
  font-size: 10px; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--blue); margin-bottom: 8px;
}
.modal-level-text { font-size: 12px; font-weight: 300; color: var(--grey-4); line-height: 1.6; }

/* ==== ALLIANCE SECTION ==== */
.alliance-section {
  padding: 100px 60px; background: var(--navy);
  position: relative; overflow: hidden;
}
.alliance-section::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 80% at 80% 50%, rgba(0,131,193,0.12), transparent);
}
.alliance-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: start; position: relative; z-index: 1;
}
.alliance-cats {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 2px; background: rgba(255,255,255,0.06);
}
.alliance-cat {
  background: rgba(255,255,255,0.04); padding: 22px 20px;
  border-left: 2px solid rgba(61,174,43,0.3); transition: all 0.3s;
}
.alliance-cat:hover { background: rgba(255,255,255,0.08); border-left-color: var(--green); }
.alliance-cat-name { font-size: 13px; font-weight: 700; color: var(--white); margin-bottom: 6px; }
.alliance-cat-desc { font-size: 12px; font-weight: 300; color: rgba(255,255,255,0.45); line-height: 1.6; }
.brochure-section {
  padding: 56px 60px; background: var(--navy);
  display: flex; align-items: center; justify-content: space-between;
  gap: 40px; flex-wrap: wrap;
}
.brochure-text {
  font-size: 18px; font-weight: 300; color: rgba(255,255,255,0.80);
  max-width: 480px; line-height: 1.6;
}
.brochure-text strong { font-weight: 700; color: var(--white); }

/* ==== CTA SECTION ==== */
.cta-section { padding: 100px 60px; background: var(--off); }
.cta-inner { max-width: 760px; margin: 0 auto; text-align: center; }
.cta-form {
  margin-top: 48px; background: var(--white);
  padding: 48px; box-shadow: 0 8px 48px rgba(0,18,69,0.07);
}
.cta-form .fg input, .cta-form .fg textarea, .cta-form .fg select {
  background: var(--white); border: 1px solid var(--grey-2); color: var(--navy);
}
.cta-form .fg input:focus, .cta-form .fg textarea:focus, .cta-form .fg select:focus {
  border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0,131,193,0.08);
}
.cta-form .fg input::placeholder, .cta-form .fg textarea::placeholder { color: var(--grey-3); }
.cta-form .btn-send { background: var(--navy); }
.cta-form .btn-send:hover { background: var(--green); }
.cta-form .form-msg { color: var(--text); }
.cta-form .fg label { color: var(--grey-3); }

/* ==== MEMBERSHIP PAGE ==== */
.membership-intro { padding: 80px 60px; background: var(--white); }
.membership-intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.tiers-section { padding: 80px 60px; background: var(--off); }
.tiers-grid {
  display: grid; grid-template-columns: repeat(6,1fr);
  gap: 2px; background: var(--grey-2); margin-top: 48px;
}
.tier-footnote {
  font-size: 12.5px; font-weight: 300; color: var(--grey-4);
  line-height: 1.7; margin-top: 18px; padding-left: 4px; font-style: italic;
}
.tier-card {
  background: var(--white); padding: 28px 18px 24px;
  display: flex; flex-direction: column;
  position: relative; overflow: hidden; transition: transform 0.3s;
}
.tier-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; }
.tc-secondary::before { background: #8bc34a; }
.tc-student::before   { background: var(--blue); }
.tc-graduate::before  { background: var(--green); }
.tc-professional::before { background: var(--navy); }
.tc-fellow::before    { background: #e9a200; }
.tc-corporate::before { background: var(--navy-dk); }
.tier-card:hover { transform: translateY(-5px); box-shadow: 0 16px 48px rgba(0,18,69,0.11); }
.tier-name { font-size: 13px; font-weight: 700; color: var(--navy); margin-bottom: 10px; margin-top: 6px; }
.tier-desc { font-size: 12px; font-weight: 300; color: var(--grey-4); line-height: 1.6; flex: 1; margin-bottom: 16px; }
.tier-benefits { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.tier-benefits li {
  font-size: 12px; font-weight: 300; color: var(--text); line-height: 1.4;
  padding-left: 14px; position: relative;
}
.tier-benefits li::before {
  content: ''; position: absolute; left: 0; top: 7px;
  width: 5px; height: 5px; background: var(--green); border-radius: 50%;
}
.tc-secondary .tier-name { color: #5a8025; }
.cpd-section { padding: 100px 60px; background: var(--navy); }
.cpd-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.cpd-list { display: flex; flex-direction: column; gap: 2px; background: rgba(255,255,255,0.06); margin-top: 32px; }
.cpd-item { background: rgba(255,255,255,0.04); padding: 20px 22px; border-left: 2px solid rgba(61,174,43,0.3); transition: all 0.3s; }
.cpd-item:hover { background: rgba(255,255,255,0.08); border-left-color: var(--green); }
.cpd-item-label { font-size: 13px; font-weight: 700; color: var(--white); margin-bottom: 4px; }
.cpd-item-desc { font-size: 12px; font-weight: 300; color: rgba(255,255,255,0.45); line-height: 1.6; }
.cpd-img { position: relative; }
.cpd-img img { width: 100%; height: 480px; object-fit: cover; filter: brightness(0.7); }

/* Dash cards (membership value props) */
.dash-section { padding: 80px 60px; background: var(--white); }
.dash-cards { display: grid; grid-template-columns: repeat(4,1fr); gap: 2px; background: var(--grey-2); }
.dash-card {
  background: var(--white); padding: 32px 24px;
  border-top: 3px solid transparent; transition: all 0.3s;
}
.dash-card:hover { border-top-color: var(--green); background: var(--off); }
.dash-icon { font-size: 28px; margin-bottom: 16px; }
.dash-title { font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.dash-desc { font-size: 13px; font-weight: 300; color: var(--grey-4); line-height: 1.65; }

/* ==== FSi GO! PAGE ==== */
.go-stat-bar { padding: 80px 60px; background: var(--navy-dk); }
.go-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 2px; background: rgba(255,255,255,0.06); }
.go-stat { padding: 48px 32px; background: rgba(255,255,255,0.04); text-align: center; transition: background 0.3s; }
.go-stat:hover { background: rgba(255,255,255,0.08); }
.go-stat-num { font-size: clamp(36px,4vw,60px); font-weight: 700; color: var(--white); line-height: 1; margin-bottom: 8px; }
.go-stat-label { font-size: 12px; font-weight: 300; color: rgba(255,255,255,0.45); letter-spacing: 0.05em; line-height: 1.5; }
.go-content { padding: 100px 60px; background: var(--white); }
.go-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.go-steps { display: flex; flex-direction: column; gap: 2px; background: var(--grey-2); margin-top: 40px; }
.go-step { background: var(--white); padding: 24px 22px; display: flex; gap: 20px; align-items: flex-start; transition: background 0.3s; }
.go-step:hover { background: var(--off); }
.go-step-num { font-size: 11px; font-weight: 700; letter-spacing: 0.15em; color: var(--green); flex-shrink: 0; padding-top: 2px; }
.go-step-title { font-size: 14px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.go-step-desc { font-size: 13px; font-weight: 300; color: var(--grey-4); line-height: 1.65; }
.go-note {
  padding: 100px 60px; background: var(--off);
  border-top: 3px solid var(--green);
}
.go-note-inner { max-width: 720px; margin: 0 auto; text-align: center; }
.go-note-title { font-size: clamp(22px,3vw,36px); font-weight: 700; color: var(--navy); margin-bottom: 20px; line-height: 1.2; }
.go-note-text { font-size: 15px; font-weight: 300; color: var(--grey-4); line-height: 1.85; margin-bottom: 16px; }
.go-highlight {
  font-size: 18px; font-weight: 600; color: var(--navy);
  font-style: italic; margin-top: 24px;
}

/* ==== UPCOMING PAGE ==== */
.trainings-section { padding: 80px 60px; background: var(--white); }
.trainings-grid { display: flex; flex-direction: column; gap: 2px; background: var(--grey-2); margin-top: 40px; }
.training-card { background: var(--white); display: grid; grid-template-columns: auto 1fr auto; gap: 0; transition: background 0.2s; }
.training-card:hover { background: var(--off); }
.training-date {
  padding: 28px 24px; background: var(--navy); min-width: 110px;
  text-align: center; display: flex; flex-direction: column; justify-content: center;
}
.training-month { font-size: 10px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--green); }
.training-day { font-size: 36px; font-weight: 700; color: var(--white); line-height: 1; }
.training-year { font-size: 11px; font-weight: 300; color: rgba(255,255,255,0.45); }
.training-info { padding: 24px 28px; }
.training-tag {
  display: inline-block; font-size: 9px; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; padding: 4px 10px; border: 1px solid rgba(61,174,43,0.3);
  color: var(--green); margin-bottom: 10px;
}
.training-title { font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.training-desc { font-size: 13px; font-weight: 300; color: var(--grey-4); line-height: 1.65; }
.training-meta { display: flex; gap: 16px; margin-top: 10px; }
.training-meta span { font-size: 11px; font-weight: 400; color: var(--grey-3); }
.training-cta { padding: 24px 28px; display: flex; align-items: center; }

/* ==== VIDEO iOS/MOBILE FIX ==== */
/* Force GPU compositing for smooth video on all devices */
video {
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-perspective: 1000;
  perspective: 1000;
  touch-action: manipulation;
}
/* GPU compositing — exact v10 */
.hero-vid,
.page-hero-vid,
.workshop-video,
.inhouse-video {
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
video::-webkit-media-controls { display: none !important; }
video::-webkit-media-controls-enclosure { display: none !important; }
video::-webkit-media-controls-panel { display: none !important; }

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

/* ==== WORDPRESS COMPATIBILITY ==== */
/* Reset WP block library styles that can interfere */
.wp-block-group, .wp-block-columns, .wp-block-column { all: unset; }
/* Ensure WP caption doesn't break layouts */
.wp-caption { max-width: 100%; }
/* Prevent WP alignment classes from breaking our grids */
.alignnone, .alignleft, .alignright, .aligncenter { max-width: 100%; height: auto; }
/* Gutenberg editor body padding reset for front-end */
body.wp-admin { padding: 0 !important; }
/* WP adds outline to skip link — fine, but ensure it doesn't shift layout */
.skip-link { position: absolute; top: -999px; }
.skip-link:focus { top: 0; }
/* Ensure WP embed wrappers don't break sections */
.wp-embed-responsive .wp-has-aspect-ratio iframe { width: 100%; }
/* Fix Elementor if accidentally activated (should not be used with this theme) */
.elementor-page .site-header { position: sticky !important; top: 0 !important; }
/* Ensure WP doesn't get forced overflow from WP plugins */
html.fsi-modal-open,
html.fsi-modal-open body { overflow: hidden !important; }

/* ==== RESPONSIVE — LARGE TABLET ==== */
@media (max-width: 1024px) {
  .hero-inner { padding: 38px 40px 40px; }
  .page-hero { min-height: 70vh; }
  .about { padding: 80px 40px; }
  .about-grid { gap: 48px; }
  .testimonials { padding: 80px 40px; }
  .contact { padding: 80px 40px; gap: 60px; }
  .workshop-video-wrap { padding: 60px 40px 0; }
}

/* ==== RESPONSIVE — TABLET (960px) ==== */
@media (max-width: 960px) {
  /* Header */
  .site-header { padding: 0 28px; height: 84px; }
  .site-logo { max-height: 62px; }
  .main-nav { display: none !important; }
  .hamburger { display: flex !important; }

  /* Mobile nav link sizing on tablet */
  .mobile-nav-links a { font-size: 20px; width: 320px; padding: 20px 0; }

  /* Hero */
  .hero-inner { grid-template-columns: 1fr; padding: 38px 28px 40px; gap: 40px; }
  .page-hero { min-height: 65vh; }
  .hero-right { display: none; }
  .hero-title { font-size: clamp(36px,7vw,56px); }

  /* Counters */
  .counters { grid-template-columns: repeat(3,1fr); }

  /* About */
  .about { padding: 72px 28px; }
  .about-grid { grid-template-columns: 1fr; gap: 52px; }
  .about-img-float { display: none; }
  .pillars { grid-template-columns: repeat(2,1fr); margin-top: 52px; }

  /* Vismis */
  .vismis { grid-template-columns: 1fr; }
  .vm-cell { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.07); }

  /* Testimonials */
  .testimonials { padding: 72px 28px; }
  .test-grid { grid-template-columns: 1fr 1fr; }
  .workshop-video-wrap { padding: 40px 28px 0; }

  /* Contact */
  .contact { grid-template-columns: 1fr; padding: 72px 28px; gap: 48px; }

  /* Footer */
  .site-footer { padding: 56px 28px 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }

  /* CB page */
  .intro-section, .clusters-section, .pathways-section, .alliance-section, .cta-section { padding: 72px 28px; }
  .intro-grid { grid-template-columns: 1fr; gap: 52px; }
  .clusters-grid { grid-template-columns: repeat(3,1fr); }
  .pathway-ecosystem { grid-template-columns: 1fr; }
  .alliance-grid { grid-template-columns: 1fr; gap: 52px; }
  .brochure-section { padding: 48px 28px; }

  /* Membership */
  .tiers-section, .cpd-section, .dash-section { padding: 72px 28px; }
  .tiers-grid { grid-template-columns: repeat(3,1fr); }
  .cpd-grid { grid-template-columns: 1fr; gap: 52px; }
  .dash-cards { grid-template-columns: repeat(2,1fr); }

  /* FSi Go */
  .go-stat-bar, .go-content, .go-note { padding: 72px 28px; }
  .go-grid { grid-template-columns: 1fr; gap: 52px; }

  /* Upcoming */
  .trainings-section { padding: 72px 28px; }

  /* Page hero */
  .page-hero-left { padding: 38px 28px 40px; }

  /* Membership intro */
  .membership-intro { padding: 72px 28px; }
  .membership-intro-grid { grid-template-columns: 1fr; gap: 52px; }
}

/* ==== RESPONSIVE — MOBILE (640px) ==== */
@media (max-width: 640px) {
  /* Header */
  .site-header { height: 76px; padding: 0 20px; }
  .site-logo { max-height: 52px; }

  /* Mobile nav on small phones */
  .mobile-nav-links a { font-size: 17px; width: 100%; max-width: 280px; padding: 16px 0; }

  /* Hero */
  .hero-inner { padding: 38px 20px 40px; }
  .page-hero { min-height: 60vh; }
  .hero-title { font-size: clamp(32px,8vw,46px); }
  .hero-sub { font-size: 15px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { text-align: center; justify-content: center; }

  /* Counters */
  .counters { grid-template-columns: 1fr; }
  .counter-wrap { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.06); }

  /* Content */
  .pillars { grid-template-columns: 1fr; }
  .test-grid { grid-template-columns: 1fr; }
  .frow { grid-template-columns: 1fr; }
  .clusters-grid { grid-template-columns: repeat(2,1fr); }
  .modal-levels { grid-template-columns: 1fr; }
  .alliance-cats { grid-template-columns: 1fr; }
  .tiers-grid { grid-template-columns: repeat(2,1fr); }
  .dash-cards { grid-template-columns: 1fr; }
  .go-stats { grid-template-columns: 1fr; }
  .training-card { grid-template-columns: auto 1fr; }
  .training-cta { display: none; }

  /* Footer */
  .site-footer { padding: 48px 20px 22px; }
  .footer-grid { grid-template-columns: 1fr; }

  /* Modals */
  .modal-box { padding: 32px 24px; }
}

/* ==== RESPONSIVE — SMALL MOBILE (480px) ==== */
@media (max-width: 480px) {
  .tiers-grid { grid-template-columns: 1fr; }
  .clusters-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: clamp(28px,9vw,40px); }
  .page-hero-title { font-size: clamp(28px,8vw,48px); }
  .page-hero-left { padding: 38px 20px 40px; }
  .intro-section, .clusters-section, .pathways-section,
  .alliance-section, .cta-section, .tiers-section,
  .trainings-section { padding: 56px 20px; }
  .modal-box { padding: 24px 18px; }
  .cta-form { padding: 24px 18px; }
}
