@charset "UTF-8";
/* ============================================================
   AAFM India — Homepage stylesheet
   Palette derived from the AAFM India logo (navy + gold)
   Mobile-first, no frameworks.
   ============================================================ */

:root {
  /* Brand palette */
  --aafm-navy-deep: #151837;
  --aafm-navy: #1F2342;
  --aafm-blue: #212B61;
  --aafm-slate: #525570;
  --aafm-slate-light: #6F6F87;
  --aafm-gold: #DFA126;
  --aafm-gold-bright: #F0C254;
  --aafm-charcoal: #29292B;

  --aafm-white: #FFFFFF;
  --aafm-light-bg: #F4F1EA;   /* warm ivory tint sections */
  --aafm-navy-soft: #ECEEF7;  /* soft cool well */
  --aafm-gold-soft: #F7EFDD;  /* warm gold wash */
  --aafm-border: #E7E2D7;     /* warm hairline */

  --text-primary: #1F1F1B;
  --text-secondary: #6B7280;

  /* System tokens */
  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow-xs: 0 1px 3px rgba(21, 24, 55, .05), 0 1px 2px rgba(21, 24, 55, .04);
  --shadow-sm: 0 4px 14px rgba(21, 24, 55, .07), 0 2px 4px rgba(21, 24, 55, .04);
  --shadow-md: 0 18px 42px rgba(21, 24, 55, .12), 0 4px 10px rgba(21, 24, 55, .05);
  --shadow-lg: 0 32px 72px rgba(21, 24, 55, .20), 0 8px 20px rgba(21, 24, 55, .08);
  /* --maxw: 1320px; */
  --gutter: clamp(18px, 4vw, 40px);

  --sans: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;

  --ease: cubic-bezier(.4, 0, .2, 1);

  /* ── Design-system tokens (see design-system/MASTER.md) ── */

  /* Semantic colour aliases (prefer these in new code) */
  --color-primary: var(--aafm-navy);
  --color-primary-deep: var(--aafm-navy-deep);
  --color-accent: var(--aafm-gold);
  --color-accent-bright: var(--aafm-gold-bright);
  --color-bg: #FBFAF6;
  --color-bg-tint: var(--aafm-light-bg);
  --color-surface: var(--aafm-white);
  --color-text: var(--text-primary);
  --color-muted: var(--text-secondary);
  --color-border: var(--aafm-border);
  --color-success: #1A7A3C;
  --color-danger: #C0392B;

  /* Type scale */
  --fs-xs: 12px;
  --fs-sm: 14px;
  --fs-base: 16px;
  --fs-md: 18px;
  --fs-lg: 20px;
  --fs-xl: clamp(22px, 2.6vw, 26px);
  --fs-2xl: clamp(26px, 3.4vw, 34px);
  --fs-3xl: clamp(32px, 5.2vw, 58px);

  /* Line-heights & weights */
  --lh-tight: 1.14;
  --lh-snug: 1.3;
  --lh-body: 1.7;
  --lh-relaxed: 1.75;
  --fw-body: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;
  --fw-black: 800;

  /* Spacing scale (4 / 8) */
  --space-1: 4px;  --space-2: 8px;  --space-3: 12px; --space-4: 16px;
  --space-5: 20px; --space-6: 24px; --space-8: 32px; --space-10: 40px;
  --space-12: 48px; --space-16: 64px; --space-20: 80px; --space-24: 96px;

  /* Radius (pill alias) */
  --radius-pill: 999px;

  /* Motion durations + easings */
  --dur-fast: 150ms;
  --dur: 250ms;
  --dur-slow: 400ms;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-in: cubic-bezier(.4, 0, 1, 1);

  /* Z-index scale */
  --z-dropdown: 60;
  --z-mobilebar: 85;
  --z-fab: 90;
  --z-header: 100;
  --z-modal: 120;
  --z-progress: 200;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: var(--lh-body);
  font-size: var(--fs-base);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; }
:focus-visible { outline: 3px solid var(--aafm-gold); outline-offset: 2px; border-radius: 4px; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 9vw, 118px); }
.center { text-align: center; }
.lead { color: var(--text-secondary); font-size: clamp(17px, 2.2vw, 19px); line-height: 1.6; }

.eyebrow {
  display: inline-block; font-size: 12px; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase; color: var(--aafm-gold);
}
.section-head { max-width: 740px; margin-inline: auto; margin-bottom: clamp(40px, 5.5vw, 64px); }
.section-head h2 {
  font-family: var(--serif); font-weight: 700; letter-spacing: -.025em; color: var(--aafm-navy);
  font-size: clamp(30px, 4.3vw, 48px); line-height: 1.08; margin: 12px 0 16px;
}

h1, h2, h3, h4 { text-wrap: balance; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-weight: 600; font-size: 15px; line-height: 1; white-space: nowrap;
  padding: 16px 28px; border-radius: 999px; transition: all .22s var(--ease);
  border: 1.5px solid transparent;
}
.btn svg { flex: none; }
.btn-gold { background: var(--aafm-gold); color: var(--aafm-navy-deep); box-shadow: var(--shadow-sm); }
.btn-gold:hover { background: var(--aafm-gold-bright); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-navy { background: var(--aafm-navy); color: #fff; }
.btn-navy:hover { background: var(--aafm-blue); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.btn-outline:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn-ghost { background: transparent; color: var(--aafm-navy); border-color: var(--aafm-border); }
.btn-ghost:hover { border-color: var(--aafm-gold); color: var(--aafm-gold); }
.btn-lg { padding: 18px 34px; font-size: 16px; }
.btn-block { width: 100%; }

/* ---------- Scroll progress bar ---------- */
.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 200; background: linear-gradient(90deg, var(--aafm-gold), var(--aafm-gold-bright)); transition: width .08s linear; }

/* ---------- Header dropdown ---------- */
.primary-nav .has-drop { position: relative; }
.primary-nav .has-drop > a { display: inline-flex; align-items: center; gap: 5px; }
.primary-nav .dropdown {
  position: absolute; top: calc(100% + 16px); left: 50%; transform: translateX(-50%) translateY(8px);
  background: #fff; border: 1px solid var(--aafm-border); border-radius: 16px; box-shadow: var(--shadow-lg);
  padding: 8px; min-width: 300px; opacity: 0; visibility: hidden; transition: .2s var(--ease); z-index: 60;
}
.primary-nav .has-drop:hover .dropdown, .primary-nav .has-drop:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.primary-nav .dropdown a { display: block; padding: 11px 14px; border-radius: 10px; font-size: 14.5px; font-weight: 700; color: var(--aafm-navy); }
.primary-nav .dropdown a span { display: block; font-weight: 500; font-size: 12.5px; color: var(--text-secondary); margin-top: 1px; }
.primary-nav .dropdown a::after { display: none; }
.primary-nav .dropdown a:hover { background: var(--aafm-navy-soft); }

/* ---------- Compare certifications table ---------- */
.compare-wrap { overflow-x: auto; border: 1px solid var(--aafm-border); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); -webkit-overflow-scrolling: touch; }
.compare { width: 100%; border-collapse: collapse; min-width: 820px; background: #fff; }
.compare th, .compare td { text-align: left; padding: 15px 18px; border-bottom: 1px solid var(--aafm-border); font-size: 14px; vertical-align: top; }
.compare thead th { background: var(--aafm-navy); color: #fff; font-weight: 700; font-size: 13px; letter-spacing: .02em; }
.compare tbody tr:hover { background: var(--aafm-light-bg); }
.compare tbody tr:last-child td { border-bottom: 0; }
.compare td:first-child { font-weight: 700; color: var(--aafm-navy); white-space: nowrap; }
.compare td:first-child span { display: block; font-weight: 500; font-size: 12px; color: var(--text-secondary); }
.compare .c-link { color: var(--aafm-gold); font-weight: 700; white-space: nowrap; }
.compare .c-link:hover { text-decoration: underline; }

/* ---------- Button affordance (look clickable) ---------- */
.btn { cursor: pointer; }
.btn-gold { box-shadow: 0 6px 16px rgba(223,161,38,.28); }
.btn-gold:hover { box-shadow: 0 10px 24px rgba(223,161,38,.38); }
.btn-navy { box-shadow: 0 6px 16px rgba(21,24,55,.22); }
.btn-navy:hover { box-shadow: 0 10px 24px rgba(21,24,55,.30); }
.btn-ghost { background: var(--aafm-white); box-shadow: var(--shadow-xs); }      /* solid pill reads as a button on light bg */
.btn-ghost:hover { background: var(--aafm-white); box-shadow: var(--shadow-sm); }
.btn-outline:hover { box-shadow: 0 8px 22px rgba(0,0,0,.18); }

/* ---------- Gold hairline divider ---------- */
.gold-divider { width: 64px; height: 2px; margin: 0 auto; border: 0; border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--aafm-gold), transparent); }
.gold-divider.solid { background: linear-gradient(90deg, var(--aafm-gold), var(--aafm-gold-bright)); }

/* ---------- Refined trust / credential strip ---------- */
.trust-strip { background: var(--aafm-white); border-top: 1px solid var(--aafm-border); border-bottom: 1px solid var(--aafm-border); }
.trust-strip.gold-edge { border-top: 1px solid rgba(223,161,38,.45); border-bottom: 1px solid rgba(223,161,38,.45); }
.trust-strip .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: clamp(18px, 4vw, 44px); padding-block: 26px; }
.trust-strip .cred-che { height: 46px; width: auto; }
.trust-strip .cred-label { font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--aafm-slate); }
.trust-strip .cred-label b { color: var(--aafm-navy); }
.trust-badges { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.trust-badges .tb { background: var(--aafm-white); border: 1px solid var(--aafm-border); border-radius: 8px; padding: 7px 11px; height: 42px; display: inline-flex; align-items: center; box-shadow: var(--shadow-xs); }
.trust-badges .tb img { height: 24px; width: auto; }

/* ---------- "As featured in" muted media bar ---------- */
.featured-bar { text-align: center; }
.featured-bar .fb-label { font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--aafm-slate-light); margin-bottom: 18px; }
.featured-bar .fb-logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: clamp(22px, 5vw, 50px); }
.featured-bar .fb-logos img { height: 26px; width: auto; filter: grayscale(100%); opacity: .55; transition: .25s var(--ease); }
.featured-bar .fb-logos img:hover { filter: none; opacity: 1; }

/* ---------- Announcement bar ---------- */
.announce {
  background: linear-gradient(90deg, var(--aafm-navy-deep), var(--aafm-blue));
  color: #f3e7c5; font-size: 14px; padding: 9px var(--gutter);
  overflow: hidden; white-space: nowrap;
}
.announce-track {
  display: flex; width: max-content; min-width: 100%;
  animation: announce-marquee 24s linear infinite;
}
.announce:hover .announce-track,
.announce:focus-within .announce-track {
  animation-play-state: paused;
}
.announce-content {
  display: inline-flex; align-items: center; gap: 4px;
  min-width: max-content; padding-left: 100vw;
}
.announce-icon { font-family: "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji", sans-serif; }
@keyframes announce-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-100%); }
}
.announce strong { color: var(--aafm-gold-bright); }
.announce a { color: #fff; text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }
@media (prefers-reduced-motion: reduce) {
  .announce-track { animation: none; }
  .announce-content { padding-left: 0; margin-inline: auto; }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251,250,246,.92); backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--aafm-border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; height: 78px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo { display: block; height: 44px; width: auto; max-width: 150px; object-fit: contain; }
.brand .wordmark { display: flex; flex-direction: column; line-height: 1.1; }
.brand .wm-name { font-weight: 800; font-size: 20px; letter-spacing: -.02em; color: var(--aafm-navy); }
.brand .wm-name sup { color: var(--aafm-gold); font-size: .55em; }
.brand .wm-tag { font-size: 10.5px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--text-secondary); }
@media (min-width: 480px) { .brand-logo { height: 50px; max-width: 170px; } }

.primary-nav { display: none; }
.primary-nav ul { display: flex; align-items: center; gap: 28px; }
.primary-nav a { font-size: 15px; font-weight: 500; color: var(--text-primary); transition: color .15s; position: relative; }
.primary-nav a::after { content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0; background: var(--aafm-gold); transition: width .2s var(--ease); }
.primary-nav a:hover { color: var(--aafm-navy); }
.primary-nav a:hover::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 10px; }
.header-actions .btn { display: none; }

.nav-toggle { display: inline-flex; flex-direction: column; gap: 5px; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--aafm-navy); border-radius: 2px; transition: .25s var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.mobile-nav {
  position: fixed; inset: 78px 0 auto 0; background: #fff; z-index: 99;
  border-bottom: 1px solid var(--aafm-border); box-shadow: var(--shadow-md);
  transform: translateY(-120%); transition: transform .3s var(--ease); padding: 18px var(--gutter) 26px;
}
.mobile-nav.open { transform: translateY(0); }
.mobile-nav ul { display: grid; gap: 4px; }
.mobile-nav a { display: block; padding: 13px 4px; font-weight: 600; font-size: 16px; border-bottom: 1px solid var(--aafm-border); }
.mobile-nav .btn { margin-top: 16px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #fff; overflow: hidden;
  background:
    radial-gradient(900px 520px at 88% -8%, rgba(223,161,38,.28), transparent 58%),
    radial-gradient(700px 500px at 5% 110%, rgba(33,43,97,.6), transparent 60%),
    linear-gradient(155deg, var(--aafm-navy-deep), var(--aafm-blue) 60%, var(--aafm-navy));
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: radial-gradient(rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 24px 24px;
}
.hero-grid { position: relative; z-index: 2; display: grid; gap: 44px; padding-block: clamp(48px, 7vw, 84px); align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase; color: var(--aafm-gold-bright);
  background: rgba(223,161,38,.12); border: 1px solid rgba(223,161,38,.4);
  padding: 7px 14px; border-radius: 999px;
}
.hero h1 {
  font-family: var(--serif); font-weight: 700; letter-spacing: -.02em;
  font-size: clamp(34px, 5.8vw, 64px); line-height: 1.04; margin: 20px 0 20px;
}
.hero h1 .gold { color: var(--aafm-gold-bright); }
.hero p { color: #cdd4e6; font-size: clamp(16px, 2vw, 19px); max-width: 58ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.trust-chip {
  display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; color: #e8edf8;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16); padding: 8px 13px; border-radius: 10px;
}
.trust-chip svg { color: var(--aafm-gold-bright); }

/* Hero convocation visual */
.hero-visual { position: relative; }
.hero-visual > img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block;
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); border: 1px solid rgba(255,255,255,.12);
}
.hero-visual-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; width: 92%;
  margin: -44px auto 0; position: relative; border-radius: var(--radius); overflow: hidden;
  border: 1px solid rgba(255,255,255,.2); box-shadow: var(--shadow-md); backdrop-filter: blur(8px);
}
.hero-visual-stats div { background: rgba(11,18,40,.85); padding: 14px 8px; text-align: center; }
.hero-visual-stats b { display: block; font-family: var(--serif); color: var(--aafm-gold-bright); font-size: 20px; line-height: 1.1; }
.hero-visual-stats span { font-size: 11.5px; color: #c4cce0; }

/* Hero side card */
.hero-card {
  background: linear-gradient(160deg, rgba(255,255,255,.12), rgba(255,255,255,.04));
  border: 1px solid rgba(255,255,255,.18); border-radius: var(--radius-lg);
  padding: 28px; backdrop-filter: blur(6px); box-shadow: var(--shadow-lg);
}
.hero-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 16px; color: #fff; }
.hero-card .mini-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.mini-stat { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); padding: 16px; }
.mini-stat .n { font-family: var(--serif); font-weight: 700; font-size: 26px; color: var(--aafm-gold-bright); }
.mini-stat .l { font-size: 12.5px; color: #c4cce0; }
.hero-card .verify-link { display: inline-flex; align-items: center; gap: 7px; margin-top: 18px; color: var(--aafm-gold-bright); font-weight: 600; font-size: 14px; }
.hero-card .verify-link:hover { gap: 11px; }

/* ---------- Accreditation marquee ---------- */
.accred-strip { background: var(--aafm-navy-deep); border-top: 1px solid rgba(255,255,255,.06); }
.accred-strip .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: clamp(20px, 5vw, 56px); padding-block: 26px; }
.accred-strip .label { color: #8e98b4; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.accred-strip .item { color: #d9deec; font-weight: 700; font-size: 15px; display: flex; align-items: center; gap: 9px; }
.accred-strip .item b { color: var(--aafm-gold-bright); }
.accred-strip .accred-logo { background: #fff; border-radius: 8px; padding: 7px 12px; display: inline-flex; align-items: center; height: 42px; box-shadow: var(--shadow-sm); }
.accred-strip .accred-logo img { height: 26px; width: auto; display: block; }

/* ---------- Stats ---------- */
.stats-band { background: var(--aafm-navy); }
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); }
.stat-cell { text-align: center; color: #fff; padding: 30px 14px; border-right: 1px solid rgba(255,255,255,.08); border-bottom: 1px solid rgba(255,255,255,.08); }
.stat-cell:nth-child(2n) { border-right: 0; }
.stat-cell .num { font-family: var(--serif); font-weight: 700; font-size: clamp(28px, 4vw, 42px); color: var(--aafm-gold-bright); }
.stat-cell .cap { font-size: 14px; color: #b8c1d8; }

/* ---------- About / What is AAFM ---------- */
.about-grid { display: grid; gap: 40px; align-items: center; }
.about-copy h2 { font-family: var(--serif); font-weight: 700; color: var(--aafm-navy); font-size: clamp(26px, 3.6vw, 40px); line-height: 1.14; margin: 12px 0 16px; }
.about-copy p + p { margin-top: 14px; }
.about-points { display: grid; gap: 14px; margin-top: 24px; }
.about-point { display: flex; gap: 12px; align-items: flex-start; }
.about-point .tick { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--aafm-gold-soft); color: var(--aafm-gold); display: grid; place-items: center; }
.about-point span { font-weight: 600; color: var(--aafm-navy); }
.about-visual { background: linear-gradient(160deg, var(--aafm-navy), var(--aafm-blue)); border-radius: var(--radius-lg); padding: 36px; color: #fff; box-shadow: var(--shadow-md); }
.about-visual h3 { font-family: var(--serif); font-size: 24px; margin-bottom: 8px; }
.about-visual p { color: #c6cee2; margin-bottom: 22px; font-size: 15px; }
.about-badges { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.about-badge { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); padding: 16px; }
.about-badge b { display: block; color: var(--aafm-gold-bright); font-size: 15px; }
.about-badge span { font-size: 13px; color: #b8c1d8; }

/* ---------- Section tints ---------- */
.tint { background: var(--aafm-light-bg); }

/* ---------- Leadership ---------- */
.leaders-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.leader { background: #fff; border: 1px solid var(--aafm-border); border-radius: var(--radius); padding: 24px 16px; text-align: center; box-shadow: var(--shadow-xs); transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.leader:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.leader-photo { width: 96px; height: 96px; border-radius: 50%; overflow: hidden; margin: 0 auto 14px; background: var(--aafm-navy-soft); box-shadow: var(--shadow-sm); border: 3px solid #fff; outline: 1px solid var(--aafm-border); }
.leader-photo img { width: 100%; height: 100%; object-fit: cover; }
.leader b { display: block; font-size: 15.5px; color: var(--aafm-navy); line-height: 1.25; }
.leader span { display: block; font-size: 12.5px; color: var(--text-secondary); margin-top: 3px; }
@media (min-width: 640px) { .leaders-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 960px) { .leaders-grid { grid-template-columns: repeat(6, 1fr); } }

/* ---------- Certification cards ---------- */
.cert-grid { display: grid; grid-template-columns: 1fr; gap: 22px; }
.cert-card {
  background: #fff; border: 1px solid var(--aafm-border); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow-xs); display: flex; flex-direction: column;
  transition: transform .24s var(--ease), box-shadow .24s var(--ease), border-color .24s var(--ease);
  position: relative; overflow: hidden;
}
.cert-card::before { content: ""; position: absolute; left: 0; top: 0; height: 4px; width: 100%; background: linear-gradient(90deg, var(--aafm-gold), var(--aafm-gold-bright)); opacity: 0; transition: opacity .24s; }
.cert-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(223,161,38,.5); }
.cert-card:hover::before { opacity: 1; }
.cert-card .tag {
  align-self: flex-start; font-family: var(--serif); font-weight: 700; font-size: 19px; color: var(--aafm-navy);
  background: var(--aafm-navy-soft); border: 1px solid var(--aafm-border); padding: 9px 15px; border-radius: 12px; margin-bottom: 18px;
}
.cert-card .cert-logo {
  align-self: flex-start; height: 48px; width: auto; max-width: 90%; object-fit: contain;
  margin-bottom: 18px; border-radius: 6px;
}
/* SEBI / accreditation badge image */
.trust-badge-img { height: 96px; width: auto; border-radius: 10px; box-shadow: var(--shadow-sm); }
.sebi-row { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; justify-content: center; margin-top: 28px; }
.sebi-row p { font-size: 14.5px; color: var(--text-secondary); max-width: 40ch; }
.cert-card h3 { font-size: 19px; font-weight: 700; color: var(--text-primary); margin-bottom: 6px; letter-spacing: -.01em; }
.cert-card .punch { font-size: 13.5px; font-weight: 700; color: var(--aafm-gold); margin-bottom: 12px; }
.cert-card p { font-size: 15px; color: var(--text-secondary); flex: 1; }
.cert-card .more { margin-top: 18px; font-weight: 600; font-size: 15px; color: var(--aafm-navy); display: inline-flex; align-items: center; gap: 6px; }
.cert-card:hover .more { color: var(--aafm-gold); }
.cert-card .more svg { transition: transform .2s; }
.cert-card:hover .more svg { transform: translateX(4px); }

/* More-programs banner */
.more-programs {
  margin-top: 24px; background: linear-gradient(150deg, var(--aafm-navy), var(--aafm-blue)); color: #fff;
  border-radius: var(--radius); padding: 26px clamp(20px, 4vw, 34px);
  display: grid; gap: 18px; align-items: center; box-shadow: var(--shadow-sm);
}
.more-programs strong { display: block; font-size: 17px; margin-bottom: 4px; }
.more-programs span { color: #c6cee2; font-size: 14.5px; }
@media (min-width: 760px) { .more-programs { grid-template-columns: 1fr auto; gap: 26px; } }

/* ---------- Choose your path ---------- */
.path-tabs { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 34px; }
.path-tab {
  font-weight: 600; font-size: 14.5px; color: var(--aafm-slate); padding: 11px 18px;
  border: 1.5px solid var(--aafm-border); border-radius: 999px; background: #fff; transition: .2s var(--ease);
}
.path-tab:hover { border-color: var(--aafm-gold); color: var(--aafm-navy); }
.path-tab.active { background: var(--aafm-navy); color: #fff; border-color: var(--aafm-navy); }
.path-panel { display: none; }
.path-panel.active { display: block; animation: fade .35s var(--ease); }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.path-card {
  display: grid; grid-template-columns: 1fr; gap: 26px; align-items: center;
  background: #fff; border: 1px solid var(--aafm-border); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow-sm);
}
.path-card .pc-icon { width: 60px; height: 60px; border-radius: var(--radius); background: linear-gradient(150deg, var(--aafm-navy), var(--aafm-blue)); color: var(--aafm-gold-bright); display: grid; place-items: center; margin-bottom: 14px; }
.path-card h3 { font-size: 22px; color: var(--aafm-navy); margin-bottom: 10px; font-weight: 700; }
.path-card p { color: var(--text-secondary); margin-bottom: 18px; }
.path-recos { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.reco-pill { font-size: 13px; font-weight: 600; color: var(--aafm-navy); background: var(--aafm-gold-soft); border: 1px solid #efdcb4; padding: 7px 13px; border-radius: 999px; }
.path-aside { background: var(--aafm-light-bg); border-radius: var(--radius); padding: 24px; }
.path-aside h4 { font-size: 14px; text-transform: uppercase; letter-spacing: .06em; color: var(--aafm-slate); margin-bottom: 12px; }
.path-aside ul { display: grid; gap: 10px; }
.path-aside li { display: flex; gap: 10px; font-size: 14.5px; color: var(--text-primary); }
.path-aside li svg { color: var(--aafm-gold); flex: none; margin-top: 3px; }

/* ---------- Services ---------- */
.services-grid { display: grid; grid-template-columns: 1fr; gap: 22px; }
.service {
  background: #fff; border: 1px solid var(--aafm-border); border-radius: var(--radius); padding: 28px;
  box-shadow: var(--shadow-xs); transition: transform .22s var(--ease), box-shadow .22s var(--ease);
}
.service:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.service .s-icon { width: 52px; height: 52px; border-radius: 14px; background: var(--aafm-navy-soft); color: var(--aafm-navy); display: grid; place-items: center; margin-bottom: 16px; }
.service h3 { font-size: 19px; color: var(--aafm-navy); margin-bottom: 8px; font-weight: 700; }
.service p { font-size: 15px; color: var(--text-secondary); }
.service .more { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-weight: 600; font-size: 14.5px; color: var(--aafm-gold); }

/* ---------- Process / steps ---------- */
.steps { display: grid; grid-template-columns: 1fr; gap: 18px; counter-reset: step; }
.step { display: flex; gap: 18px; background: #fff; border: 1px solid var(--aafm-border); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-xs); }
.step .num { flex: none; width: 46px; height: 46px; border-radius: 50%; background: var(--aafm-navy); color: var(--aafm-gold-bright); display: grid; place-items: center; font-family: var(--serif); font-weight: 700; font-size: 20px; }
.step h4 { font-size: 17px; color: var(--aafm-navy); margin-bottom: 4px; }
.step p { font-size: 14.5px; color: var(--text-secondary); }

/* ---------- Tools / calculators ---------- */
.calc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.calc { background: #fff; border: 1px solid var(--aafm-border); border-radius: var(--radius); padding: 22px 12px; text-align: center; box-shadow: var(--shadow-xs); transition: .2s var(--ease); }
.calc:hover { transform: translateY(-4px); border-color: rgba(223,161,38,.5); box-shadow: var(--shadow-md); }
.calc .ci { width: 42px; height: 42px; margin: 0 auto 10px; color: var(--aafm-navy); display: grid; place-items: center; }
.calc span { font-size: 13.5px; font-weight: 600; color: var(--text-primary); }

/* ---------- Testimonials ---------- */
.testi-grid { display: grid; grid-template-columns: 1fr; gap: 22px; }
.testi { background: #fff; border: 1px solid var(--aafm-border); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-xs); }
.testi .stars { color: var(--aafm-gold); letter-spacing: 2px; margin-bottom: 12px; }
.testi blockquote { font-size: 15.5px; color: var(--text-primary); line-height: 1.7; }
.testi .who { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.testi .avatar { width: 52px; height: 52px; border-radius: 50%; overflow: hidden; flex: none; background: var(--aafm-navy-soft); display: grid; place-items: center; font-weight: 700; color: var(--aafm-navy); }
.testi .avatar img { width: 100%; height: 100%; object-fit: cover; }
.testi .who b { display: block; font-size: 15px; color: var(--aafm-navy); }
.testi .who span { font-size: 13px; color: var(--text-secondary); }

/* Video testimonials */
.video-grid { display: grid; grid-template-columns: 1fr; gap: 22px; margin-bottom: 16px; }
@media (min-width: 760px) { .video-grid { grid-template-columns: 1fr 1fr; } .video-grid.three { grid-template-columns: repeat(3, 1fr); } }
.video-facade .vf-title { font-size: 13.5px; }
.video-facade {
  position: relative; display: block; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden;
  background-size: cover; background-position: center; box-shadow: var(--shadow-md);
  border: 1px solid var(--aafm-border); color: #fff; transition: transform .22s var(--ease), box-shadow .22s var(--ease);
}
.video-facade:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.video-facade::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,16,40,.05), rgba(7,16,40,.6)); }
.vf-play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 2;
  width: 68px; height: 68px; border-radius: 50%; background: rgba(223,161,38,.96); color: var(--aafm-navy-deep);
  display: grid; place-items: center; box-shadow: var(--shadow-md); transition: transform .2s var(--ease), background .2s;
}
.video-facade:hover .vf-play { transform: translate(-50%, -50%) scale(1.1); background: var(--aafm-gold-bright); }
.vf-title { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 16px 18px; font-size: 14px; font-weight: 600; line-height: 1.3; text-shadow: 0 1px 4px rgba(0,0,0,.5); }
.video-more { text-align: center; margin: 8px 0 4px; }

/* Testimonials carousel */
.testi-carousel { position: relative; }
.testi-track {
  display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: 6px 2px 18px; -webkit-overflow-scrolling: touch; scrollbar-width: none;
}
.testi-track::-webkit-scrollbar { display: none; }
.testi-track .testi { scroll-snap-align: start; flex: 0 0 100%; display: flex; flex-direction: column; }
.testi-track .testi blockquote { flex: 1; }
@media (min-width: 640px) { .testi-track .testi { flex-basis: calc(50% - 11px); } }
@media (min-width: 960px) { .testi-track .testi { flex-basis: calc(33.333% - 15px); } }
.carousel-btn {
  position: absolute; top: 38%; transform: translateY(-50%); z-index: 3;
  width: 46px; height: 46px; border-radius: 50%; background: #fff; color: var(--aafm-navy);
  border: 1px solid var(--aafm-border); box-shadow: var(--shadow-md); display: grid; place-items: center;
  transition: .2s var(--ease);
}
.carousel-btn:hover { background: var(--aafm-navy); color: #fff; border-color: var(--aafm-navy); }
.carousel-btn.prev { left: -10px; }
.carousel-btn.next { right: -10px; }
.carousel-btn:disabled { opacity: .35; cursor: default; }
.carousel-dots { display: flex; gap: 8px; justify-content: center; margin-top: 8px; }
.carousel-dots button { width: 9px; height: 9px; padding: 0; border-radius: 50%; background: var(--aafm-border); transition: .2s var(--ease); }
.carousel-dots button.active { background: var(--aafm-gold); width: 26px; border-radius: 5px; }
@media (max-width: 600px) { .carousel-btn { display: none; } }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin-inline: auto; display: grid; gap: 12px; }
.faq-item { border: 1px solid var(--aafm-border); border-radius: var(--radius); background: #fff; overflow: hidden; }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; font-weight: 600; font-size: 16px; color: var(--aafm-navy); text-align: left; }
.faq-q .ico { flex: none; transition: transform .25s var(--ease); color: var(--aafm-gold); }
.faq-item.open .faq-q .ico { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s var(--ease); }
.faq-a p { padding: 0 22px 20px; color: var(--text-secondary); font-size: 15px; }

/* ---------- Convention banner ---------- */
.event-banner {
  background: linear-gradient(150deg, var(--aafm-navy-deep), var(--aafm-blue));
  border-radius: var(--radius-lg); padding: clamp(28px, 5vw, 48px); color: #fff;
  display: grid; gap: 22px; align-items: center; box-shadow: var(--shadow-md); position: relative; overflow: hidden;
}
.event-banner::after { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(223,161,38,.4), transparent 70%); }
.event-banner .eb-tag { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--aafm-gold-bright); }
.event-banner h2 { font-family: var(--serif); font-size: clamp(24px, 3.4vw, 36px); line-height: 1.12; margin: 8px 0 6px; }
.event-banner p { color: #cdd4e6; }
.event-banner .eb-cta { position: relative; z-index: 2; }

/* ---------- Enquiry ---------- */
.enquiry { background: var(--aafm-light-bg); }
.enquiry-grid { display: grid; gap: 36px; align-items: start; }
.enquiry-copy h2 { font-family: var(--serif); font-size: clamp(26px, 3.6vw, 40px); color: var(--aafm-navy); line-height: 1.14; margin: 12px 0 14px; }
.enquiry-copy p { color: var(--text-secondary); margin-bottom: 22px; }
.contact-line { display: flex; align-items: flex-start; gap: 12px; margin: 12px 0; font-weight: 500; color: var(--text-primary); }
.contact-line svg { color: var(--aafm-gold); flex: none; margin-top: 3px; }
.contact-line a { font-weight: 600; }

.form-card { background: #fff; border: 1px solid var(--aafm-border); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 34px); box-shadow: var(--shadow-md); }
.form-card h3 { font-size: 21px; color: var(--aafm-navy); margin-bottom: 4px; }
.form-card .fsub { font-size: 14px; color: var(--text-secondary); margin-bottom: 22px; }
.field { margin-bottom: 15px; }
.field label { display: block; font-size: 13px; font-weight: 600; color: var(--text-primary); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; font-family: inherit; font-size: 15px; padding: 13px 15px; color: var(--text-primary);
  border: 1.5px solid var(--aafm-border); border-radius: var(--radius-sm); background: var(--aafm-light-bg); transition: .15s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--aafm-gold); background: #fff; box-shadow: 0 0 0 3px rgba(223,161,38,.18); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-note { font-size: 12px; color: var(--text-secondary); text-align: center; margin-top: 14px; }
.form-success { display: none; background: var(--aafm-gold-soft); border: 1px solid #efdcb4; color: var(--aafm-navy); border-radius: var(--radius-sm); padding: 14px 16px; font-size: 14px; font-weight: 600; margin-bottom: 16px; }
.form-success.show { display: block; }

/* ---------- Footer ---------- */
.site-footer { background: var(--aafm-navy-deep); color: #aab3ca; padding-block: clamp(48px, 7vw, 72px) 26px; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 36px; }
.footer-logo-wrap { display: inline-block; background: #fff; padding: 10px 14px; border-radius: 12px; box-shadow: var(--shadow-sm); }
.footer-logo-wrap img { height: 42px; width: auto; display: block; }
.footer-about { font-size: 14.5px; margin: 18px 0; max-width: 38ch; }
.footer-contact { display: grid; gap: 10px; font-size: 14px; }
.footer-contact div { display: flex; gap: 10px; }
.footer-contact svg { color: var(--aafm-gold-bright); flex: none; margin-top: 3px; }
.footer-col h5 { color: #fff; font-size: 15px; font-weight: 700; margin-bottom: 16px; }
.footer-col ul { display: grid; gap: 11px; }
.footer-col a { font-size: 14px; transition: color .15s; }
.footer-col a:hover { color: var(--aafm-gold-bright); }
.socials { display: flex; gap: 10px; margin-top: 20px; }
.socials a { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); color: #cdd4e6; transition: .2s var(--ease); }
.socials a:hover { background: var(--aafm-gold); color: var(--aafm-navy-deep); border-color: var(--aafm-gold); transform: translateY(-3px); }
.footer-bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); display: flex; flex-direction: column; gap: 10px; font-size: 13px; }
.footer-bottom a:hover { color: var(--aafm-gold-bright); }

/* ---------- Conversion CTA bands ---------- */
.cta-band {
  position: relative; overflow: hidden; color: #fff;
  background: radial-gradient(700px 400px at 12% 0%, rgba(223,161,38,.22), transparent 60%), linear-gradient(150deg, var(--aafm-navy), var(--aafm-navy-deep));
}
.cta-band .container { padding-block: clamp(36px, 6vw, 58px); display: grid; gap: 22px; align-items: center; }
.cta-band h2 { font-family: var(--serif); font-size: clamp(24px, 3.2vw, 34px); line-height: 1.15; margin-bottom: 8px; }
.cta-band p { color: #cdd4e6; font-size: 16px; max-width: 52ch; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (min-width: 820px) { .cta-band .container { grid-template-columns: 1fr auto; } .cta-actions { justify-content: flex-end; } }

/* Lead-magnet band (light, gold) */
.lead-band {
  background: linear-gradient(150deg, var(--aafm-gold-soft), #fff); border: 1px solid #efdcb4;
  border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 40px); display: grid; gap: 20px; align-items: center; box-shadow: var(--shadow-sm);
}
.lead-band .lb-icon { width: 56px; height: 56px; border-radius: 14px; background: var(--aafm-gold); color: var(--aafm-navy-deep); display: grid; place-items: center; box-shadow: var(--shadow-sm); }
.lead-band h3 { font-family: var(--serif); font-size: clamp(21px, 2.8vw, 28px); color: var(--aafm-navy); line-height: 1.15; margin-bottom: 6px; }
.lead-band p { color: var(--aafm-slate); font-size: 15px; }
.lead-band .lb-cta { display: flex; flex-wrap: wrap; gap: 10px; }
@media (min-width: 820px) { .lead-band { grid-template-columns: auto 1fr auto; } }

/* ---------- Sticky mobile action bar ---------- */
.mobile-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 85; display: none;
  grid-template-columns: 1fr 1fr 1fr; gap: 1px; background: var(--aafm-border);
  box-shadow: 0 -6px 20px rgba(11,31,58,.14);
}
.mobile-cta a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; padding: 9px 4px; background: #fff; color: var(--aafm-navy); font-size: 11.5px; font-weight: 700; }
.mobile-cta a.primary { background: var(--aafm-gold); color: var(--aafm-navy-deep); }
.mobile-cta a.wa { background: #25D366; color: #fff; }
.mobile-cta svg { width: 20px; height: 20px; }
@media (max-width: 760px) { .mobile-cta { display: grid; } body { padding-bottom: 60px; } .fab-wa { bottom: 74px; } .fab-top { bottom: 134px; } }

/* ---------- Lead-capture modal (exit-intent / timed) ---------- */
.lead-modal { position: fixed; inset: 0; z-index: 120; display: none; align-items: center; justify-content: center; padding: 20px; }
.lead-modal.open { display: flex; }
.lead-modal-overlay { position: absolute; inset: 0; background: rgba(7,16,40,.62); backdrop-filter: blur(3px); animation: fade .25s var(--ease); }
.lead-modal-card {
  position: relative; z-index: 2; width: 100%; max-width: 460px; background: #fff; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: clamp(24px, 4vw, 34px); animation: pop .3s var(--ease);
}
@keyframes pop { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }
.lead-modal-card .lm-badge { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--aafm-gold); }
.lead-modal-card h3 { font-family: var(--serif); font-size: 26px; color: var(--aafm-navy); line-height: 1.14; margin: 8px 0 8px; }
.lead-modal-card p { color: var(--text-secondary); font-size: 14.5px; margin-bottom: 18px; }
.lead-modal-close { position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; border-radius: 50%; background: var(--aafm-light-bg); color: var(--aafm-slate); display: grid; place-items: center; transition: .2s; }
.lead-modal-close:hover { background: var(--aafm-navy); color: #fff; }
.lead-modal-card .field { margin-bottom: 12px; }
.lead-modal-card .btn { width: 100%; }
.lead-modal-card .lm-note { font-size: 11.5px; color: var(--text-secondary); text-align: center; margin-top: 12px; }

/* ============================================================
   Certification (program) pages — AIDA components
   ============================================================ */
.breadcrumb { font-size: 13px; color: #b8c1d8; }
.breadcrumb a { color: #e8edf8; text-decoration: underline; text-underline-offset: 3px; }

.facts-band { background: var(--aafm-navy); }
.facts-band .facts-grid { display: grid; grid-template-columns: repeat(2, 1fr); }
.facts-band .fact { text-align: center; color: #fff; padding: 22px 10px; border-right: 1px solid rgba(255,255,255,.08); border-bottom: 1px solid rgba(255,255,255,.08); }
.facts-band .fact .n { font-family: var(--serif); font-weight: 700; font-size: clamp(17px, 2.3vw, 23px); color: var(--aafm-gold-bright); }
.facts-band .fact .l { font-size: 12.5px; color: #b8c1d8; }

.two-col { display: grid; gap: 36px; align-items: start; }
.h-serif { font-family: var(--serif); color: var(--aafm-navy); font-size: clamp(26px, 3.4vw, 36px); line-height: 1.14; margin: 12px 0 14px; }

/* Curriculum / topic list */
.topic-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
.topic { display: flex; gap: 14px; background: #fff; border: 1px solid var(--aafm-border); border-radius: var(--radius); padding: 16px 18px; box-shadow: var(--shadow-xs); align-items: flex-start; }
.topic .unit-num { flex: none; width: 30px; height: 30px; border-radius: 8px; background: var(--aafm-navy); color: var(--aafm-gold-bright); display: grid; place-items: center; font-weight: 700; font-size: 13px; font-family: var(--serif); }
.topic svg { color: var(--aafm-gold); flex: none; margin-top: 2px; }
.topic b { color: var(--aafm-navy); font-size: 15px; display: block; }
.topic span { color: var(--text-secondary); font-size: 13px; }

/* Opportunity (Interest hook) band */
.opp-band { background: linear-gradient(150deg, var(--aafm-navy), var(--aafm-navy-deep)); color: #fff; }
.opp-band .container { display: grid; gap: 26px; align-items: center; }
.opp-band h2 { font-family: var(--serif); font-size: clamp(24px, 3.2vw, 34px); line-height: 1.15; margin-bottom: 10px; }
.opp-band p { color: #cdd4e6; }
.opp-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.opp-stat { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); padding: 18px 10px; text-align: center; }
.opp-stat b { display: block; font-family: var(--serif); font-size: clamp(20px, 3vw, 26px); color: var(--aafm-gold-bright); }
.opp-stat span { font-size: 12px; color: #c4cce0; }

/* Benefit cards (Desire) */
.benefit-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
.benefit { background: #fff; border: 1px solid var(--aafm-border); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-xs); transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.benefit:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.benefit .bi { width: 46px; height: 46px; border-radius: 12px; background: var(--aafm-navy-soft); color: var(--aafm-navy); display: grid; place-items: center; margin-bottom: 14px; }
.benefit h4 { font-size: 16px; color: var(--aafm-navy); margin-bottom: 5px; }
.benefit p { font-size: 14px; color: var(--text-secondary); }

.callout { background: var(--aafm-gold-soft); border: 1px solid #efdcb4; border-radius: var(--radius); padding: 20px 22px; font-size: 14.5px; color: var(--aafm-navy); }

/* Pricing cards */
.pricing-grid { display: grid; grid-template-columns: 1fr; gap: 22px; }
.price-card { background: #fff; border: 1px solid var(--aafm-border); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-xs); display: flex; flex-direction: column; position: relative; }
.price-card.featured { border: 2px solid var(--aafm-gold); box-shadow: var(--shadow-md); }
.price-card .pc-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--aafm-gold); color: var(--aafm-navy-deep); font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 5px 14px; border-radius: 999px; white-space: nowrap; }
.price-card h3 { font-size: 18px; color: var(--aafm-navy); margin-bottom: 4px; }
.price-card .price { font-family: var(--serif); font-weight: 700; font-size: 30px; color: var(--aafm-navy); margin: 8px 0 2px; }
.price-card .price small { font-size: 13px; color: var(--text-secondary); font-weight: 500; font-family: var(--sans); }
.price-card .pc-meta { font-size: 13px; color: var(--text-secondary); margin-bottom: 16px; }
.price-card ul { list-style: none; display: grid; gap: 9px; margin-bottom: 20px; flex: 1; }
.price-card li { display: flex; gap: 9px; font-size: 14px; color: var(--text-primary); }
.price-card li svg { color: var(--aafm-gold); flex: none; margin-top: 3px; }
.price-card .btn { margin-top: auto; }
@media (min-width: 760px) { .pricing-grid { grid-template-columns: repeat(3, 1fr); } }

/* CWM mentors grid (4-up) + compare yes/no markers */
@media (min-width: 960px) { #mentors .leaders-grid, #stories .leaders-grid { grid-template-columns: repeat(4, 1fr); max-width: 1040px; margin-inline: auto; } }
.leader-photo .initials { font-family: var(--serif); font-weight: 700; color: var(--aafm-navy); font-size: 24px; }
.compare .cmp-yes { color: #1a7a3c; font-weight: 700; margin-right: 4px; }
.compare .cmp-no { color: var(--aafm-slate-light); font-weight: 700; margin-right: 4px; }
.compare thead th:nth-child(2) { color: var(--aafm-gold-bright); }

/* Inline hero lead form (on the dark hero card) */
.hero-form .field { margin-bottom: 10px; }
.hero-form input { width: 100%; font-family: inherit; font-size: 15px; padding: 12px 14px; border-radius: 10px; border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.08); color: #fff; transition: .15s; }
.hero-form input::placeholder { color: #aeb9cc; }
.hero-form input:focus { outline: none; border-color: var(--aafm-gold); background: rgba(255,255,255,.15); }
.hero-form .btn { width: 100%; margin-top: 4px; }
.hero-form-note { font-size: 11.5px; color: #aeb9cc; text-align: center; margin-top: 10px; }
.hero-card .hf-head { color: #fff; font-size: 19px; margin-bottom: 4px; }
.hero-card .hf-sub { color: #cdd4e6; font-size: 13.5px; margin-bottom: 16px; }

/* Aspirational value-stack checklist */
.value-stack { display: grid; grid-template-columns: 1fr; gap: 12px; max-width: 880px; margin: 0 auto; }
.value-stack .vrow { display: flex; gap: 12px; align-items: center; background: #fff; border: 1px solid var(--aafm-border); border-radius: var(--radius); padding: 14px 18px; box-shadow: var(--shadow-xs); }
.value-stack .vrow svg { color: #1a7a3c; flex: none; }
.value-stack .vrow b { color: var(--aafm-navy); font-size: 15px; }
.value-stack .vrow span { color: var(--text-secondary); font-size: 13.5px; }
@media (min-width: 640px) { .value-stack { grid-template-columns: 1fr 1fr; } }

/* Hero rating line */
.hero-rating { display: inline-flex; align-items: center; gap: 9px; margin-top: 18px; color: #e8edf8; font-size: 13.5px; font-weight: 600; flex-wrap: wrap; }
.hero-rating .stars { color: var(--aafm-gold-bright); letter-spacing: 1px; }
.hero-rating .dot { opacity: .4; }

/* Form trust strip */
.form-trust { display: flex; flex-wrap: wrap; gap: 6px 16px; justify-content: center; margin-top: 14px; }
.form-trust span { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--text-secondary); }
.form-trust svg { color: #1a7a3c; flex: none; }

/* Specialization logo cards (Ch.E) */
.spec-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
.spec-card { background: #fff; border: 1px solid var(--aafm-border); border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow-xs); transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease); }
.spec-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(223,161,38,.5); }
.spec-card img { width: 100%; height: auto; display: block; border-radius: 8px; }
.spec-card h4 { font-size: 14.5px; color: var(--aafm-navy); margin: 12px 0 2px; }
.spec-card span { font-size: 12.5px; color: var(--text-secondary); }
@media (min-width: 560px) { .spec-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .spec-grid { grid-template-columns: repeat(4, 1fr); } }

/* Skill chips */
.skill-chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.skill-chip { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--aafm-navy); background: #fff; border: 1px solid var(--aafm-border); padding: 11px 16px; border-radius: 999px; box-shadow: var(--shadow-xs); }
.skill-chip:hover { border-color: var(--aafm-gold); transform: translateY(-2px); transition: .2s var(--ease); }

@media (min-width: 640px) {
  .facts-band .facts-grid { grid-template-columns: repeat(3, 1fr); }
  .topic-grid { grid-template-columns: 1fr 1fr; }
  .benefit-grid { grid-template-columns: repeat(2, 1fr); }
  .opp-stats { gap: 14px; }
}
@media (min-width: 760px) { .two-col { grid-template-columns: 1fr 1fr; } .opp-band .container { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) {
  .facts-band .facts-grid { grid-template-columns: repeat(6, 1fr); }
  .benefit-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- Floating actions ---------- */
.fab { position: fixed; right: 18px; z-index: 90; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; box-shadow: var(--shadow-lg); transition: transform .2s var(--ease), opacity .2s; }
.fab-wa { bottom: 18px; background: #25D366; color: #fff; }
.fab-wa:hover { transform: scale(1.08); }
.fab-top { bottom: 82px; background: var(--aafm-navy); color: #fff; opacity: 0; pointer-events: none; }
.fab-top.show { opacity: 1; pointer-events: auto; }
.fab-top:hover { transform: translateY(-3px); background: var(--aafm-blue); }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Career outcomes / ROI ---------- */
.roi-band { display: grid; gap: 16px; margin-bottom: 36px; }
.roi-stat { background: #fff; border: 1px solid var(--aafm-border); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-xs); text-align: center; }
.roi-stat .n { font-family: var(--serif); font-weight: 700; font-size: clamp(26px, 3.4vw, 36px); color: var(--aafm-navy); }
.roi-stat .n span { color: var(--aafm-gold); }
.roi-stat .l { font-size: 14px; color: var(--text-secondary); margin-top: 4px; }
.role-pills { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.role-pill { font-size: 14px; font-weight: 600; color: var(--aafm-navy); background: #fff; border: 1.5px solid var(--aafm-border); padding: 10px 16px; border-radius: 999px; box-shadow: var(--shadow-xs); transition: .2s var(--ease); }
.role-pill:hover { border-color: var(--aafm-gold); transform: translateY(-2px); }
.disclaimer { font-size: 12.5px; color: var(--text-secondary); text-align: center; margin-top: 18px; font-style: italic; }

/* Salary snapshot */
.salary-snapshot { margin-top: 38px; text-align: center; }
.salary-snapshot .wall-label { margin-top: 0; }
.salary-table { width: 100%; max-width: 640px; margin: 0 auto; border-collapse: collapse; background: #fff; border: 1px solid var(--aafm-border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-xs); }
.salary-table td { padding: 14px 18px; border-bottom: 1px solid var(--aafm-border); font-size: 15px; text-align: left; }
.salary-table tr:last-child td { border-bottom: 0; }
.salary-table td:first-child { font-weight: 600; color: var(--aafm-navy); }
.salary-table td:last-child { text-align: right; font-weight: 700; color: var(--aafm-navy); font-family: var(--serif); white-space: nowrap; }
.salary-table td:last-child span { display: block; font-family: var(--sans); font-weight: 500; font-size: 12px; color: var(--text-secondary); }

/* Alumni-employer strip */
.alumni-at { margin-top: 40px; text-align: center; }
.alumni-at .wall-label { margin-top: 0; }
.alumni-firms { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.alumni-firm {
  font-weight: 700; font-size: 15px; letter-spacing: .01em; color: var(--aafm-navy);
  background: #fff; border: 1px solid var(--aafm-border); border-radius: 10px; padding: 12px 20px;
  box-shadow: var(--shadow-xs); transition: .2s var(--ease);
}
.alumni-firm:hover { border-color: var(--aafm-gold); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.alumni-firm span { color: var(--aafm-slate-light); font-weight: 600; }

/* ---------- Help-me-choose quiz ---------- */
.quiz {
  background: linear-gradient(150deg, var(--aafm-navy), var(--aafm-blue)); color: #fff;
  border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 38px); margin-bottom: 36px; box-shadow: var(--shadow-md);
}
.quiz h3 { font-family: var(--serif); font-size: clamp(20px, 2.6vw, 26px); margin-bottom: 6px; }
.quiz p.qsub { color: #c6cee2; font-size: 15px; margin-bottom: 22px; }
.quiz-row { display: grid; gap: 16px; align-items: end; }
.quiz-field label { display: block; font-size: 13px; font-weight: 600; color: var(--aafm-gold-bright); margin-bottom: 7px; letter-spacing: .02em; }
.quiz-field select {
  width: 100%; font-family: inherit; font-size: 15px; padding: 13px 15px; color: #fff;
  background: rgba(255,255,255,.08); border: 1.5px solid rgba(255,255,255,.2); border-radius: var(--radius-sm); appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23F0C254' stroke-width='2.4' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
.quiz-field select option { color: #1f1f1b; }
.quiz-field select:focus { outline: none; border-color: var(--aafm-gold); }
.quiz-result {
  display: none; margin-top: 22px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius); padding: 22px; gap: 16px; align-items: center;
}
.quiz-result.show { display: grid; animation: fade .35s var(--ease); }
.quiz-result .qr-tag { font-family: var(--serif); font-weight: 700; font-size: 22px; color: var(--aafm-gold-bright); }
.quiz-result h4 { font-size: 18px; margin-bottom: 4px; }
.quiz-result p { color: #c6cee2; font-size: 14.5px; }
@media (min-width: 720px) {
  .quiz-row { grid-template-columns: 1fr 1fr auto; }
  .quiz-result { grid-template-columns: auto 1fr auto; }
}

/* ---------- Partner / university logo wall ---------- */
.logo-wall { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.logo-tile {
  height: 88px; background: #fff; border: 1px solid var(--aafm-border); border-radius: var(--radius);
  display: grid; place-items: center; gap: 6px; box-shadow: var(--shadow-xs); transition: .2s var(--ease);
  color: var(--aafm-slate-light); padding: 10px; text-align: center;
}
.logo-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); color: var(--aafm-navy); }
.logo-tile svg { opacity: .7; }
.logo-tile span { font-size: 12px; font-weight: 600; letter-spacing: .02em; }
.logo-tile img { max-height: 54px; max-width: 86%; width: auto; height: auto; object-fit: contain; filter: grayscale(100%); opacity: .8; transition: filter .25s var(--ease), opacity .25s var(--ease); }
.logo-tile:hover img { filter: none; opacity: 1; }
.wall-label { text-align: center; font-size: 12.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--aafm-slate); margin: 34px 0 16px; }

/* As-featured-in: typographic mastheads (navy+gold, crisp at any size) */
.press-wall { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: clamp(20px, 4.5vw, 48px); }
.press-name { font-family: var(--serif); font-size: clamp(15px, 1.5vw, 19px); font-weight: 700; color: var(--aafm-slate); letter-spacing: .005em; white-space: nowrap; opacity: .72; line-height: 1; transition: color .25s var(--ease), opacity .25s var(--ease); }
.press-name:hover { color: var(--aafm-navy); opacity: 1; }
.press-name i { font-style: italic; font-weight: 600; opacity: .82; }
.press-name.pn-sans { font-family: var(--sans); font-weight: 800; letter-spacing: -.01em; }
.press-name.pn-track { letter-spacing: .18em; font-weight: 700; }
.press-name.pn-tight { letter-spacing: -.02em; }
.press-name .pn-accent { color: var(--aafm-gold); }
/* legacy media-strip (image variant) retained for any other page */
.media-strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: clamp(22px, 5vw, 52px); }
.media-strip img { height: 30px; width: auto; filter: grayscale(100%); opacity: .65; transition: .25s var(--ease); }
.media-strip img:hover { filter: none; opacity: 1; }

/* Global recruiter / alumni logo wall (real SVG marks + serif wordmarks, unified navy) */
.firmwall { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 36px; }
@media (min-width: 560px) { .firmwall { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 760px) { .firmwall { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1000px) { .firmwall { grid-template-columns: repeat(5, 1fr); } }
.firm { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; min-height: 92px; padding: 16px 14px; background: var(--aafm-white); border: 1px solid var(--aafm-border); border-radius: var(--radius-sm); box-shadow: var(--shadow-xs); transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s var(--ease); }
.firm:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(223, 161, 38, .42); }
.firm-mark { display: flex; align-items: center; justify-content: center; min-height: 30px; }
.firm-mark img { height: 30px; width: auto; max-width: 92%; display: block; }
.firm-name { font-family: var(--serif); font-weight: 700; font-size: clamp(14px, 1.5vw, 16.5px); color: var(--aafm-navy); line-height: 1.12; letter-spacing: .004em; }
.firm-div { font-family: var(--sans); font-size: 10px; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; color: var(--aafm-slate-light); margin-top: 7px; line-height: 1.2; }

/* Global presence — country flag chips */
.geo-flags { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 30px; }
.flag-chip { display: inline-flex; align-items: center; gap: 9px; padding: 8px 15px 8px 9px; background: var(--aafm-white); border: 1px solid var(--aafm-border); border-radius: 999px; box-shadow: var(--shadow-xs); font-size: 14px; font-weight: 600; color: var(--aafm-navy); transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease); }
.flag-chip:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); border-color: rgba(223, 161, 38, .42); }
.flag-chip img { width: 26px; height: 18px; object-fit: cover; border-radius: 3px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .08); display: block; }

/* Event photo gallery */
.event-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-bottom: 30px; }
.event-gallery img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-sm); }
@media (min-width: 760px) { .event-gallery { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Insights ---------- */
.insights-grid { display: grid; gap: 22px; }
.post { background: #fff; border: 1px solid var(--aafm-border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-xs); transition: transform .22s var(--ease), box-shadow .22s var(--ease); display: flex; flex-direction: column; }
.post:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.post .thumb { height: 120px; background: linear-gradient(150deg, var(--aafm-navy), var(--aafm-blue)); position: relative; }
.post .thumb::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.08) 1px, transparent 1px); background-size: 18px 18px; }
.post .body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.post .cat { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--aafm-gold); margin-bottom: 8px; }
.post h3 { font-size: 17px; color: var(--aafm-navy); line-height: 1.3; margin-bottom: 8px; }
.post .more { margin-top: auto; font-weight: 600; font-size: 14.5px; color: var(--aafm-navy); display: inline-flex; align-items: center; gap: 6px; }
.post:hover .more { color: var(--aafm-gold); }

/* ---------- Brochure lead magnet ---------- */
.brochure {
  background: linear-gradient(150deg, var(--aafm-gold-soft), #fff); border: 1px solid #efdcb4;
  border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 40px); display: grid; gap: 22px; align-items: center; margin-top: 36px;
}
.brochure h3 { font-family: var(--serif); font-size: clamp(22px, 3vw, 30px); color: var(--aafm-navy); line-height: 1.14; margin-bottom: 8px; }
.brochure p { color: var(--aafm-slate); font-size: 15px; }
.brochure-form { display: grid; gap: 12px; }
.brochure-form input { width: 100%; font-family: inherit; font-size: 15px; padding: 13px 15px; border: 1.5px solid var(--aafm-border); border-radius: var(--radius-sm); background: #fff; }
.brochure-form input:focus { outline: none; border-color: var(--aafm-gold); box-shadow: 0 0 0 3px rgba(223,161,38,.18); }
.brochure-note { font-size: 12px; color: var(--aafm-slate); margin-top: 4px; }
.brochure-success { display: none; font-weight: 600; color: var(--aafm-navy); }
.brochure-success.show { display: block; }
@media (min-width: 760px) {
  .brochure { grid-template-columns: 1.3fr 1fr; }
  .brochure-form { grid-template-columns: 1fr 1fr; }
  .brochure-form .bf-full, .brochure-form .btn { grid-column: 1 / -1; }
}

/* ============================================================
   Design polish (subtle finishing — no structural changes)
   ============================================================ */

/* Text selection + anchor offset under the sticky header */
::selection { background: var(--aafm-gold-soft); color: var(--aafm-navy-deep); }
html { scroll-padding-top: 92px; }

/* Crisper, more visible keyboard focus */
:focus-visible { outline: 3px solid var(--aafm-gold); outline-offset: 3px; border-radius: 6px; }

/* Header gains a faint shadow for depth */
.site-header { box-shadow: 0 1px 0 rgba(21,24,55,.04), 0 6px 18px rgba(21,24,55,.04); }

/* Buttons — gentle gradient + tactile press */
.btn-gold { background-image: linear-gradient(180deg, var(--aafm-gold-bright), var(--aafm-gold)); }
.btn-gold:hover { background-image: linear-gradient(180deg, #f6cf69, var(--aafm-gold-bright)); }
.btn-navy { background-image: linear-gradient(180deg, var(--aafm-blue), var(--aafm-navy)); }
.btn:active { transform: translateY(0) scale(.985); }

/* Centred section headings get a small gold accent rule */
.section-head.center h2 { position: relative; padding-bottom: 20px; }
.section-head.center h2::after {
  content: ""; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
  width: 44px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--aafm-gold), var(--aafm-gold-bright));
}

/* Refined typographic detail */
.hero h1 { letter-spacing: -.025em; }
.hero p.lead, .hero > .container p { line-height: 1.7; }
.section-head p.lead { text-wrap: pretty; }

/* Consistent, smooth card interactions */
.cert-card, .benefit, .service, .leader, .price-card, .calc, .testi, .logo-tile, .roi-stat, .topic, .alumni-firm, .skill-chip {
  transition: transform .24s var(--ease), box-shadow .24s var(--ease), border-color .24s var(--ease);
}
.benefit:hover, .service:hover, .leader:hover { transform: translateY(-6px); }

/* Featured pricing card sits proud */
@media (min-width: 760px) {
  .price-card.featured { transform: translateY(-10px); }
  .price-card.featured:hover { transform: translateY(-14px); }
}

/* Comparison table — zebra striping for readability */
.compare tbody tr:nth-child(even) { background: #fbfcfe; }
.compare tbody tr:hover { background: var(--aafm-navy-soft); }

/* Slightly richer facts-band numerals */
.facts-band .fact .n, .stat-cell .num { text-shadow: 0 1px 0 rgba(0,0,0,.15); }

/* Custom scrollbar (subtle, brand-tinted) */
* { scrollbar-color: var(--aafm-slate-light) transparent; }
*::-webkit-scrollbar { height: 10px; width: 10px; }
*::-webkit-scrollbar-thumb { background: #c7ccd9; border-radius: 8px; border: 2px solid #fff; }
*::-webkit-scrollbar-thumb:hover { background: var(--aafm-slate-light); }

/* ============================================================
   Responsive — tablet & up
   ============================================================ */
@media (min-width: 640px) {
  .cert-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .calc-grid { grid-template-columns: repeat(3, 1fr); }
  .testi-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
  .roi-band { grid-template-columns: repeat(3, 1fr); }
  .logo-wall { grid-template-columns: repeat(3, 1fr); }
  .insights-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-cell:nth-child(2n) { border-right: 1px solid rgba(255,255,255,.08); }
  .stat-cell:last-child { border-right: 0; }
  .field-row { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .path-card { grid-template-columns: 1.4fr 1fr; }
  .event-banner { grid-template-columns: 1fr auto; }
}

@media (min-width: 960px) {
  .primary-nav { display: block; }
  .nav-toggle { display: none; }
  .header-actions .btn { display: inline-flex; }
  .hero-grid { grid-template-columns: 1.25fr .85fr; }
  .about-grid { grid-template-columns: 1.1fr .9fr; gap: 56px; }
  .cert-grid { grid-template-columns: repeat(3, 1fr); }
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .calc-grid { grid-template-columns: repeat(6, 1fr); }
  .testi-grid { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(5, 1fr); }
  .logo-wall { grid-template-columns: repeat(6, 1fr); }
  .insights-grid { grid-template-columns: repeat(3, 1fr); }
  .enquiry-grid { grid-template-columns: 1fr 1fr; gap: 56px; }
  .footer-grid { grid-template-columns: 1.8fr 1fr 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

/* ===================================================================
   Full live-mirrored top menu (homepage) — 10 items + mega-menu.
   The wide horizontal bar shows only ≥1280px; below that the
   comprehensive mobile drawer is used (overrides the 960px rule).
   =================================================================== */
@media (max-width: 1279px) {
  .primary-nav { display: none !important; }
  .nav-toggle { display: inline-flex !important; }
}
@media (min-width: 1280px) {
  .primary-nav ul { gap: 15px; }
  .primary-nav > ul > li > a { font-size: 13.5px; font-weight: 600; white-space: nowrap; }
}
.primary-nav { position: relative; }
/* simple list dropdowns (About, F-LAB, Membership, Events, Calculators) */
.primary-nav .dropdown.list { min-width: 256px; max-height: 74vh; overflow-y: auto; padding: 8px; }
.primary-nav .dropdown.list a { font-size: 13px; font-weight: 600; color: var(--text-primary); padding: 8px 12px; }
.primary-nav .dropdown.list a:hover { color: var(--aafm-navy); }
.primary-nav .has-drop.left .dropdown { left: 0; transform: translateX(0) translateY(8px); }
.primary-nav .has-drop.left:hover .dropdown, .primary-nav .has-drop.left:focus-within .dropdown { transform: translateX(0) translateY(0); }
.primary-nav .has-drop.right .dropdown { left: auto; right: 0; transform: translateX(0) translateY(8px); }
.primary-nav .has-drop.right:hover .dropdown, .primary-nav .has-drop.right:focus-within .dropdown { transform: translateX(0) translateY(0); }
/* mega-menu for AAFM Certification */
.primary-nav .has-drop.mega { position: static; }
.primary-nav .mega-panel { left: 50%; transform: translateX(-50%) translateY(8px); min-width: min(980px, 94vw); padding: 18px 20px; }
.primary-nav .has-drop.mega:hover .mega-panel, .primary-nav .has-drop.mega:focus-within .mega-panel { transform: translateX(-50%) translateY(0); }
.primary-nav .mega-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px 16px; }
.primary-nav .mega-h { font-size: 10.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--aafm-slate); margin: 2px 8px 6px; padding-bottom: 6px; border-bottom: 1px solid var(--aafm-border); }
.primary-nav .mega-panel a { display: block; padding: 5px 8px; border-radius: 8px; font-size: 12px; font-weight: 600; color: var(--text-secondary); }
.primary-nav .mega-panel a.lead { color: var(--aafm-navy); font-weight: 800; }
.primary-nav .mega-panel a::after { display: none; }
.primary-nav .mega-panel a:hover { background: var(--aafm-navy-soft); color: var(--aafm-navy); }
/* mobile drawer group labels */
.mobile-nav .m-h { display: block; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--aafm-slate); padding: 14px 4px 4px; border-bottom: 0; }
.mobile-nav .m-sub a { padding-left: 18px; font-weight: 500; font-size: 14.5px; }

/* ===================================================================
   Program-page sticky in-page sub-nav (Overview · Curriculum · Fees · Careers · FAQ)
   Sits directly beneath the sticky site header (78px). Scrollable on mobile.
   =================================================================== */
html:has(body.has-subnav) { scroll-padding-top: 134px; }
.subnav { position: sticky; top: 78px; z-index: 90; background: rgba(255,255,255,.97); backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid var(--aafm-border); box-shadow: 0 4px 14px rgba(21,24,55,.05); }
.subnav .container { display: flex; align-items: center; gap: clamp(16px, 3.5vw, 34px); height: 50px; overflow-x: auto; scrollbar-width: none; -ms-overflow-style: none; }
.subnav .container::-webkit-scrollbar { display: none; }
.subnav .sn-name { font-size: 12px; font-weight: 800; letter-spacing: .03em; color: var(--aafm-navy); white-space: nowrap; padding-right: 4px; border-right: 1px solid var(--aafm-border); margin-right: 2px; }
.subnav .sn-name b { color: var(--aafm-gold); font-weight: 800; }
.subnav a { font-size: 13.5px; font-weight: 700; color: var(--aafm-slate); white-space: nowrap; padding: 14px 0; border-bottom: 2px solid transparent; transition: color .15s var(--ease), border-color .15s var(--ease); }
.subnav a::after { display: none; }
.subnav a:hover, .subnav a.active { color: var(--aafm-navy); border-bottom-color: var(--aafm-gold); }
.subnav .sn-cta { margin-left: auto; padding-left: 16px; }
.subnav .sn-cta a { color: var(--aafm-gold); border-bottom: 0; font-weight: 800; }
.subnav .sn-cta a:hover { color: var(--aafm-gold-bright); }

/* ===================================================================
   Accessibility — visible keyboard focus + skip link
   =================================================================== */
a:focus-visible, button:focus-visible, .btn:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible, [tabindex]:focus-visible,
.faq-q:focus-visible, .nav-toggle:focus-visible {
  outline: 3px solid var(--aafm-gold);
  outline-offset: 2px;
  border-radius: 4px;
}
:focus:not(:focus-visible) { outline: none; }
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 300;
  background: var(--aafm-navy); color: #fff; padding: 10px 16px;
  font-weight: 700; border-radius: 0 0 10px 0; box-shadow: var(--shadow-md);
}
.skip-link:focus { left: 0; }

/* Footer "Guides & resources" strip (injected by script.js) */
.footer-guides { border-top: 1px solid rgba(255,255,255,.12); margin-top: 8px; padding-top: 18px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; }
.footer-guides .fg-label { font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--aafm-gold-bright); }
.footer-guides a { font-size: 13.5px; color: #cdd4e6; font-weight: 600; }
.footer-guides a:hover { color: #fff; }

/* ===================================================================
   About pages — stat band, prose, founder card
   =================================================================== */
.prose { max-width: 820px; }
.prose p { margin-bottom: 1.05em; }
.prose h2 { margin: 1.5em 0 .4em; }
.statband { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 32px 0; }
@media (min-width: 680px) { .statband { grid-template-columns: repeat(4, 1fr); } }
.statband .stat { background: var(--aafm-white); border: 1px solid var(--aafm-border); border-radius: var(--radius); padding: 22px 14px; text-align: center; box-shadow: var(--shadow-xs); }
.statband .stat b { display: block; font-family: var(--serif); font-size: clamp(26px, 4vw, 34px); color: var(--aafm-navy); line-height: 1; }
.statband .stat span { display: block; margin-top: 8px; font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--aafm-slate); }
.about-photo { width: 100%; height: auto; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); border: 1px solid var(--aafm-border); }
.founder-card { display: flex; gap: 18px; align-items: center; background: var(--aafm-light-bg); border: 1px solid var(--aafm-border); border-radius: var(--radius-lg); padding: 20px; margin-top: 8px; }
.founder-card img { width: 92px; height: 92px; border-radius: 50%; object-fit: cover; box-shadow: var(--shadow-sm); flex: none; }
.founder-card .fc-name { font-family: var(--serif); font-weight: 700; font-size: 19px; color: var(--aafm-navy); }
.founder-card .fc-role { font-size: 13px; font-weight: 600; color: var(--aafm-slate); margin-top: 2px; }
.recognition-strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px; margin-top: 22px; }
.recognition-strip .rb { background: var(--aafm-white); border: 1px solid var(--aafm-border); border-radius: 8px; padding: 8px 12px; height: 46px; display: inline-flex; align-items: center; box-shadow: var(--shadow-xs); }
.recognition-strip .rb img { height: 26px; width: auto; }
/* Vision / Mission + core-focus pillars + cert grid (About) */
.vm-grid { display: grid; gap: 18px; grid-template-columns: 1fr; margin: 8px 0; }
@media (min-width: 760px) { .vm-grid { grid-template-columns: 1fr 1fr; } }
.vm { background: var(--aafm-light-bg); border: 1px solid var(--aafm-border); border-left: 4px solid var(--aafm-gold); border-radius: var(--radius-lg); padding: 24px; }
.vm .vm-h { font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--aafm-slate); margin-bottom: 8px; }
.vm .vm-lead { font-family: var(--serif); font-size: 18px; color: var(--aafm-navy); font-weight: 700; margin-bottom: 8px; line-height: 1.25; }
.vm p { font-size: 14.5px; color: var(--text-secondary); margin: 0; }
.pillars { display: grid; gap: 18px; grid-template-columns: 1fr; margin-top: 8px; }
@media (min-width: 760px) { .pillars { grid-template-columns: repeat(3, 1fr); } }
.pillar { background: var(--aafm-white); border: 1px solid var(--aafm-border); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow-xs); transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(223,161,38,.4); }
.pillar h3 { font-family: var(--serif); font-size: 18px; color: var(--aafm-navy); margin-bottom: 8px; }
.pillar p { font-size: 14px; color: var(--text-secondary); margin: 0; }
.about-certs { display: grid; gap: 16px; grid-template-columns: 1fr; margin-top: 8px; }
@media (min-width: 560px) { .about-certs { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .about-certs { grid-template-columns: repeat(3, 1fr); } }
.about-cert { display: block; background: var(--aafm-white); border: 1px solid var(--aafm-border); border-radius: var(--radius); padding: 18px 18px 16px; box-shadow: var(--shadow-xs); transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.about-cert:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.about-cert b { display: block; font-family: var(--serif); font-size: 17px; color: var(--aafm-navy); }
.about-cert span { display: block; font-size: 13.5px; color: var(--text-secondary); margin-top: 5px; }
.about-cert .ac-go { display: inline-block; margin-top: 10px; font-size: 13px; font-weight: 700; color: var(--aafm-gold); }
/* "What we do" — activity cards with icons */
.wwd-grid { display: grid; gap: 18px; grid-template-columns: 1fr; margin-top: 8px; }
@media (min-width: 620px) { .wwd-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 940px) { .wwd-grid { grid-template-columns: repeat(3, 1fr); } }
.wwd { background: var(--aafm-white); border: 1px solid var(--aafm-border); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow-xs); transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease); }
.wwd:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(223,161,38,.4); }
.wwd .ic-well { width: 48px; height: 48px; border-radius: 13px; background: var(--aafm-navy-soft); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 14px; transition: background .2s var(--ease); }
.wwd:hover .ic-well { background: var(--aafm-gold-soft); }
.wwd .ic-well svg { width: 24px; height: 24px; stroke: var(--aafm-navy); fill: none; stroke-width: 2; }
.wwd h3 { font-family: var(--serif); font-size: 18px; color: var(--aafm-navy); margin-bottom: 6px; line-height: 1.2; }
.wwd p { font-size: 14px; color: var(--text-secondary); margin: 0; line-height: 1.6; }
/* Navy proof bar (stats on dark) */
.proof-band { background: radial-gradient(1100px 500px at 80% -20%, #232c63, #151837 62%); color: #fff; position: relative; }
.proof-band::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.05) 1.5px, transparent 1.5px); background-size: 26px 26px; }
.proof-band .container { position: relative; }
.proof-band .statband { margin: 0; }
.proof-band .stat { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); box-shadow: none; }
.proof-band .stat b { color: #fff; }
.proof-band .stat span { color: #aeb7d2; }
/* About who-we-are 2-col image */
.aboutwho-grid { display: grid; gap: 30px; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 860px) { .aboutwho-grid { grid-template-columns: 1.15fr .85fr; gap: 44px; } }
.aboutwho-grid .about-photo { max-height: 360px; object-fit: cover; }
/* People / board member cards */
.people-grid { display: grid; gap: 14px; grid-template-columns: 1fr; margin-top: 8px; }
@media (min-width: 560px) { .people-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 920px) { .people-grid { grid-template-columns: repeat(3, 1fr); } }
.person-card { background: var(--aafm-white); border: 1px solid var(--aafm-border); border-radius: var(--radius); padding: 16px 18px; box-shadow: var(--shadow-xs); transition: transform .18s var(--ease), box-shadow .18s var(--ease); }
.person-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.person-card b { display: block; font-size: 15px; color: var(--aafm-navy); line-height: 1.3; }
.person-card span { display: block; font-size: 12.5px; color: var(--text-secondary); margin-top: 5px; line-height: 1.55; }
.lead-people { display: grid; gap: 14px; grid-template-columns: 1fr; margin-bottom: 22px; }
@media (min-width: 680px) { .lead-people { grid-template-columns: repeat(2, 1fr); } }
.lead-person { background: var(--aafm-light-bg); border: 1px solid var(--aafm-border); border-left: 4px solid var(--aafm-gold); border-radius: var(--radius-lg); padding: 20px 22px; }
.lead-person b { font-family: var(--serif); font-size: 18px; color: var(--aafm-navy); }
.lead-person span { display: block; font-size: 13px; color: var(--aafm-slate); margin-top: 3px; line-height: 1.5; }
.disclaimer-note { font-size: 12.5px; color: var(--text-secondary); margin-top: 18px; font-style: italic; }
/* About hub (pillar–cluster) link grid */
.hub-grid { display: grid; gap: 14px; grid-template-columns: 1fr; margin-top: 8px; }
@media (min-width: 620px) { .hub-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px) { .hub-grid { grid-template-columns: 1fr 1fr 1fr; } }
.hub-card { display: block; background: var(--aafm-white); border: 1px solid var(--aafm-border); border-radius: var(--radius-lg); padding: 18px 20px; text-decoration: none; transition: border-color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease); }
.hub-card:hover { border-color: var(--aafm-gold); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.hub-card .hub-t { font-family: var(--serif); font-weight: 700; color: var(--aafm-navy); font-size: 16.5px; margin-bottom: 4px; display: flex; align-items: center; gap: 8px; }
.hub-card .hub-t .hub-arr { color: var(--aafm-gold); transition: transform .2s var(--ease); }
.hub-card:hover .hub-t .hub-arr { transform: translateX(3px); }
.hub-card .hub-d { font-size: 13.5px; color: var(--text-secondary); line-height: 1.5; }
.hub-card.is-pillar { border-left: 4px solid var(--aafm-gold); background: var(--aafm-light-bg); }
.hub-card .hub-tag { display: inline-block; font-size: 10.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--aafm-gold); margin-bottom: 6px; }

/* ============================================================
   About cluster v2 — elevated craft
   ============================================================ */

/* Balanced 2-column hero with navy stat panel (replaces narrow hero + full-width proof band) */
.subhero { display: grid; gap: clamp(28px, 4vw, 54px); grid-template-columns: 1fr; align-items: center; }
@media (min-width: 920px) { .subhero { grid-template-columns: 1.18fr .82fr; } }
.subhero .prose { max-width: 620px; }
.subhero .eyebrow { position: relative; padding-bottom: 12px; }
.subhero .eyebrow::after { content: ""; position: absolute; left: 0; bottom: 0; width: 40px; height: 2px; background: var(--aafm-gold); }
.hero-statcard { position: relative; overflow: hidden; background: radial-gradient(720px 380px at 82% -25%, #232c63, #151837 64%); border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 32px); box-shadow: var(--shadow-md); }
.hero-statcard::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.06) 1.5px, transparent 1.5px); background-size: 24px 24px; }
.hero-statcard .hsc-grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(18px, 2.4vw, 26px) 16px; }
.hero-stat b { display: block; font-family: var(--serif); font-size: clamp(25px, 3.4vw, 32px); color: #fff; line-height: 1; }
.hero-stat span { display: block; margin-top: 7px; font-size: 11px; font-weight: 600; letter-spacing: .055em; text-transform: uppercase; color: #aeb7d2; line-height: 1.35; }

/* Editorial directory (replaces person-card walls) */
.dir-grid { display: grid; grid-template-columns: 1fr; gap: 0 clamp(32px, 5vw, 64px); border-top: 1px solid var(--aafm-border); margin-top: 8px; }
@media (min-width: 800px) { .dir-grid { grid-template-columns: 1fr 1fr; } }
.dir-item { padding: 15px 2px; border-bottom: 1px solid var(--aafm-border); }
.dir-name { font-family: var(--serif); font-size: 16.5px; font-weight: 700; color: var(--aafm-navy); line-height: 1.32; }
.dir-name .cred { font-family: var(--sans); font-weight: 500; font-size: 12.5px; letter-spacing: .005em; color: var(--aafm-slate); }
.dir-role { display: block; margin-top: 4px; font-size: 13px; color: var(--text-secondary); line-height: 1.5; }

/* Refined, lighter hub (calmer index, less repetitive weight) */
.hub-grid { gap: 10px; }
.hub-card { padding: 15px 18px; border-radius: 16px; border-color: var(--aafm-border); }
.hub-card:hover { box-shadow: none; transform: none; background: var(--aafm-light-bg); }
.hub-card .hub-t { font-size: 15px; margin-bottom: 3px; }
.hub-card .hub-d { font-size: 12.5px; }

/* Section eyebrow gold rule for centered heads (craft) */
.section-head.center .eyebrow { display: inline-block; }

/* ============ About hero v3 — Immersive Charter (dark, full-bleed) ============ */
.ahero { position: relative; overflow: hidden; background: var(--aafm-navy-deep); color: #fff; padding: clamp(52px, 8vw, 116px) 0; }
.ahero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.05) 1.5px, transparent 1.5px); background-size: 26px 26px; }
.ahero::after { content: ""; position: absolute; width: 1000px; height: 1000px; right: -260px; top: -340px; background: radial-gradient(circle, rgba(223,161,38,.16), transparent 60%); pointer-events: none; }
.ahero-wrap { position: relative; max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }
.ahero .breadcrumb { color: #8e95b8; margin-bottom: 16px; }
.ahero .breadcrumb a { color: #aeb4d4; }
.ahero .breadcrumb a:hover { color: #fff; }
.ahero-ey { font: 700 12px var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--aafm-gold-bright); margin: 0; }
.ahero-h { font-family: var(--serif); font-weight: 700; font-size: clamp(36px, 6vw, 82px); line-height: 1.03; letter-spacing: -.022em; color: #fff; margin: .3em 0 .32em; max-width: 18ch; }
.ahero-h em { color: var(--aafm-gold); font-style: italic; }
.ahero-lead { max-width: 620px; color: #c5c9e2; font-size: clamp(16px, 1.5vw, 19px); line-height: 1.72; margin: 0; }
.ahero-cta { margin: 30px 0 0; display: flex; gap: 14px; flex-wrap: wrap; }
.ahero-cta .btn-ghost { border-color: rgba(255,255,255,.32); color: #fff; background: transparent; }
.ahero-cta .btn-ghost:hover { border-color: var(--aafm-gold); color: var(--aafm-gold-bright); }
.ahero-stats { display: flex; flex-wrap: wrap; margin-top: clamp(38px, 5vw, 64px); border-top: 1px solid rgba(255,255,255,.16); }
.ahero-stat { padding: 24px clamp(20px, 3.2vw, 46px) 2px; border-right: 1px solid rgba(255,255,255,.16); }
.ahero-stat:first-child { padding-left: 0; }
.ahero-stat b { display: block; font-family: var(--serif); font-size: clamp(30px, 3.8vw, 52px); color: var(--aafm-gold-bright); line-height: 1; }
.ahero-stat span { display: block; margin-top: 8px; font: 600 11px var(--sans); letter-spacing: .12em; text-transform: uppercase; color: #9aa0bd; }
.ahero .founder-card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); }
.ahero .founder-card .fc-name { color: #fff; }
.ahero .founder-card .fc-role { color: #aeb4d4; }
@media (max-width: 560px) { .ahero-stat { padding: 16px 22px 2px 0; border-right: none; min-width: 44%; } }

/* Tighter rhythm for short intro/lede sections so they don't float */
.section-tight { padding-block: clamp(38px, 4.6vw, 60px); }

/* Long CTA labels wrap on small screens (prevents 1–2px horizontal overflow) */
@media (max-width: 520px) { .btn-lg { white-space: normal; max-width: 100%; } }

/* ============ Partner With Us — reusable components ============ */
/* Pathway cards (pillar) reuse .hub-card. Process timeline: */
.timeline { max-width: 780px; margin: 10px auto 0; }
.tl-step { position: relative; padding: 0 0 28px 60px; }
.tl-step:last-child { padding-bottom: 0; }
.tl-step::before { content: ""; position: absolute; left: 19px; top: 8px; bottom: -8px; width: 2px; background: var(--aafm-border); }
.tl-step:last-child::before { display: none; }
.tl-num { position: absolute; left: 0; top: 0; width: 40px; height: 40px; border-radius: 50%; background: radial-gradient(120% 120% at 30% 20%, #2a3168, #151837); color: #fff; font-family: var(--serif); font-weight: 700; font-size: 16px; display: flex; align-items: center; justify-content: center; }
.tl-step h3 { font-family: var(--serif); font-size: 17.5px; color: var(--aafm-navy); margin: 7px 0 4px; }
.tl-step p { font-size: 14px; color: var(--text-secondary); margin: 0; line-height: 1.55; }

/* Eligibility / suitability checklist */
.checklist { display: grid; gap: 13px; grid-template-columns: 1fr; max-width: 820px; margin: 10px auto 0; padding: 0; }
@media (min-width: 680px) { .checklist { grid-template-columns: 1fr 1fr; gap: 13px 34px; } }
.checklist li { list-style: none; display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; color: var(--text-secondary); line-height: 1.5; }
.checklist li svg { flex: none; color: var(--aafm-gold); margin-top: 2px; }
.checklist li b { color: var(--aafm-navy); font-weight: 600; }

/* Enquiry form block */
.pform { max-width: 660px; margin: 10px auto 0; background: var(--aafm-white); border: 1px solid var(--aafm-border); border-radius: var(--radius-lg); padding: clamp(22px, 3vw, 34px); box-shadow: var(--shadow-sm); text-align: left; }
.pform .frow { display: grid; gap: 14px; grid-template-columns: 1fr; margin-bottom: 14px; }
@media (min-width: 560px) { .pform .frow.two { grid-template-columns: 1fr 1fr; } }
.pform label { display: block; font-size: 12.5px; font-weight: 600; letter-spacing: .01em; color: var(--aafm-slate); margin-bottom: 5px; }
.pform input, .pform select, .pform textarea { width: 100%; box-sizing: border-box; padding: 11px 13px; border: 1px solid var(--aafm-border); border-radius: 10px; font: inherit; font-size: 14.5px; background: var(--aafm-light-bg); color: var(--text-primary); }
.pform input:focus, .pform select:focus, .pform textarea:focus { outline: none; border-color: var(--aafm-gold); box-shadow: 0 0 0 3px rgba(223,161,38,.18); background: #fff; }
.pform textarea { min-height: 96px; resize: vertical; }
.pform .pform-actions { margin-top: 6px; }
.pform .note { font-size: 12px; color: var(--text-secondary); margin: 14px 0 0; font-style: italic; }

/* ============ Polish pass — refined micro-interactions (ui-ux) ============ */
/* Link/pathway cards: lift + soft shadow + animated gold top-accent + arrow slide */
.hub-card { position: relative; overflow: hidden; transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s var(--ease), background .22s var(--ease); }
.hub-card::after { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--aafm-gold), var(--aafm-gold-bright)); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.hub-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--aafm-gold); background: #fff; }
.hub-card:hover::after { transform: scaleX(1); }
.hub-card.is-pillar:hover { background: var(--aafm-gold-soft); }
.hub-card:hover .hub-arr { transform: translateX(4px); }
/* Numbered pathway chooser (pillar) */
.hub-grid.hub-numbered { counter-reset: pw; }
.hub-grid.hub-numbered .hub-card { counter-increment: pw; padding-top: 40px; }
.hub-grid.hub-numbered .hub-card::before { content: counter(pw, decimal-leading-zero); position: absolute; top: 16px; left: 20px; font-family: var(--serif); font-weight: 700; font-size: 14px; color: var(--aafm-gold); letter-spacing: .04em; z-index: 1; }

/* Value cards: lift + intensify gold edge */
.vm { transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-left-color .22s var(--ease); }
.vm:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); border-left-color: var(--aafm-gold-bright); }

/* Tag chips: subtle gold edge on hover (no lift — non-interactive) */
.firm { transition: border-color .2s var(--ease), color .2s var(--ease), background .2s var(--ease); }
.firm:hover { border-color: var(--aafm-gold); color: var(--aafm-navy); background: var(--aafm-gold-soft); }

/* Timeline: softer-shadowed numerals; checklist tick lift */
.tl-num { box-shadow: 0 6px 16px rgba(21,24,55,.20); }
.checklist li svg { transition: transform .2s var(--ease); }
.checklist li:hover svg { transform: scale(1.15); }

/* Primary button: gentle premium lift */
.btn-gold { transition: transform .18s var(--ease), box-shadow .18s var(--ease), filter .18s var(--ease); }
.btn-gold:hover { transform: translateY(-1px); box-shadow: 0 10px 22px rgba(223,161,38,.32); }

@media (prefers-reduced-motion: reduce) {
  .hub-card, .vm, .firm, .btn-gold, .hub-card::after, .hub-arr, .checklist li svg { transition: none !important; }
  .hub-card:hover, .vm:hover, .btn-gold:hover { transform: none !important; }
}

/* Inline body links — accessible (not colour-only): navy + gold underline */
.prose a:not(.btn), .lede a:not(.btn), .vm p a, .dir-role a, .faq-a a {
  color: var(--aafm-navy); font-weight: 600; text-decoration: underline;
  text-decoration-color: var(--aafm-gold); text-underline-offset: 3px; text-decoration-thickness: 1.5px;
  transition: color .18s var(--ease), text-decoration-color .18s var(--ease);
}
.prose a:not(.btn):hover, .lede a:not(.btn):hover, .vm p a:hover, .dir-role a:hover, .faq-a a:hover { color: var(--aafm-gold); }

/* Centered editorial lede (intro / context sections) */
.prose.lede { max-width: 768px; margin-inline: auto; text-align: center; }
.prose.lede .section-head { margin-bottom: 16px; max-width: none; }
.prose.lede p { font-size: 16.5px; line-height: 1.72; color: var(--text-secondary); }
.prose.lede p + p { margin-top: .95em; }
.prose.lede strong { color: var(--aafm-navy); }

/* ===== Certification gateway (Overview + Selector) ===== */
.vm-progs{margin:10px 0 14px;font-size:14.5px;color:var(--text-secondary,#5b6072);}
.btn-sm{padding:8px 16px;font-size:14px;}
.btn-block{display:block;width:100%;text-align:center;}
.enq-split{display:grid;gap:24px;align-items:start;}
@media(min-width:860px){.enq-split{grid-template-columns:1.6fr 1fr;}}
.enq-aside{background:var(--aafm-navy,#151837);color:#fff;border-radius:16px;padding:26px 24px;}
.enq-aside h3{color:#fff;margin:0 0 8px;}
.enq-aside p{color:rgba(255,255,255,.82);}
.enq-contact{margin:12px 0 0;}
.enq-aside .enq-contact a:not(.btn){color:var(--aafm-gold-bright,#f0c45c);text-decoration:underline;}

/* ===== Certification suitability blocks (Phase 2) ===== */
.fit-wrap{margin-top:36px;}
.fit-split{display:grid;gap:18px;}
@media(min-width:760px){.fit-split{grid-template-columns:1fr 1fr;}}
.fit-card{border:1px solid rgba(21,24,55,.12);border-radius:14px;padding:22px 24px;background:#fff;border-top:3px solid var(--aafm-gold,#dfa126);}
.fit-card.fit-no{border-top-color:#c9ced9;background:#fbfbfd;}
.fit-card h3{display:flex;align-items:center;gap:9px;font-size:18px;margin:0 0 14px;color:var(--aafm-navy,#151837);}
.fit-card.fit-no h3{color:#5b6072;}
.fit-card ul{list-style:none;margin:0;padding:0;display:grid;gap:10px;}
.fit-card li{position:relative;padding-left:26px;font-size:15px;line-height:1.55;color:var(--text-secondary,#5b6072);}
.fit-card li::before{position:absolute;left:0;top:0;font-weight:700;}
.fit-card.fit-yes li::before{content:"\2713";color:var(--aafm-gold-bright,#b8860b);}
.fit-card.fit-no li::before{content:"\2014";color:#9aa3b2;}

/* ===== Comparison / snapshot table — premium polish (ui-ux + Magic-inspired) ===== */
.compare tbody tr { transition: background .15s var(--ease); }
.compare tbody tr:nth-child(even) { background: rgba(21,24,55,.018); }
.compare tbody tr:hover, .compare tbody tr:nth-child(even):hover { background: var(--aafm-gold-soft); }
.compare th { letter-spacing: .01em; }

/* ===== Contact page ===== */
.cmethod-grid{display:grid;gap:16px;grid-template-columns:repeat(2,1fr);}
@media(min-width:820px){.cmethod-grid{grid-template-columns:repeat(4,1fr);}}
.cmethod{display:flex;flex-direction:column;gap:5px;padding:22px 20px;border:1px solid rgba(21,24,55,.10);border-radius:16px;background:#fff;text-decoration:none;box-shadow:var(--shadow-xs);transition:transform .2s var(--ease),box-shadow .2s var(--ease),border-color .2s var(--ease);}
.cmethod:hover{transform:translateY(-3px);box-shadow:var(--shadow-md);border-color:var(--aafm-gold);}
.cmethod .ci{width:46px;height:46px;border-radius:12px;display:grid;place-items:center;background:var(--aafm-gold-soft);color:var(--aafm-navy);margin-bottom:8px;}
.cmethod .cl{font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:var(--text-secondary);font-weight:700;}
.cmethod .cv{font-size:17px;font-weight:700;color:var(--aafm-navy);font-family:var(--serif);line-height:1.25;}
.cmethod .cs{font-size:13px;color:var(--text-secondary);}
.contact-card{border:1px solid rgba(21,24,55,.10);border-radius:16px;background:#fff;padding:22px;border-left:3px solid var(--aafm-gold);}
.contact-card .cc-name{font-family:var(--serif);font-weight:700;font-size:18px;color:var(--aafm-navy);}
.contact-card .cc-role{font-size:13.5px;color:var(--text-secondary);margin-bottom:10px;}
.contact-card .cc-purpose{font-size:13px;color:var(--aafm-navy);background:var(--aafm-gold-soft);display:inline-block;padding:3px 10px;border-radius:999px;margin-bottom:12px;font-weight:600;}
.contact-card .cc-line{display:block;font-size:15px;margin-top:4px;}
.dept-grid{display:grid;gap:12px;grid-template-columns:1fr;}
@media(min-width:560px){.dept-grid{grid-template-columns:1fr 1fr;}}
@media(min-width:920px){.dept-grid{grid-template-columns:repeat(4,1fr);}}
.dept{padding:14px 16px;border:1px solid rgba(21,24,55,.10);border-radius:12px;background:#fff;transition:border-color .2s var(--ease),background .2s var(--ease);}
.dept:hover{border-color:var(--aafm-gold);background:var(--aafm-gold-soft);}
.dept b{display:block;font-size:12.5px;color:var(--text-secondary);font-weight:600;margin-bottom:3px;}
.dept a{font-size:16px;font-weight:700;color:var(--aafm-navy);font-family:var(--serif);}
.office-card{border:1px solid rgba(21,24,55,.10);border-radius:16px;background:#fff;padding:24px;border-top:3px solid var(--aafm-gold);height:100%;}
.office-card h3{margin:0 0 4px;color:var(--aafm-navy);}
.office-card .otag{font-size:12px;letter-spacing:.06em;text-transform:uppercase;color:var(--aafm-gold-bright,#b8860b);font-weight:700;}
.office-card address{font-style:normal;color:var(--text-secondary);line-height:1.65;font-size:15px;margin:10px 0 14px;}
.office-card .office-links{display:flex;flex-wrap:wrap;gap:10px;}
.map-embed{border-radius:16px;overflow:hidden;border:1px solid rgba(21,24,55,.10);box-shadow:var(--shadow-sm);aspect-ratio:16/9;background:var(--aafm-navy-soft);}
.map-embed iframe{width:100%;height:100%;border:0;display:block;}
.social-row{display:flex;flex-wrap:wrap;gap:12px;}
.social-btn{width:48px;height:48px;border-radius:12px;display:grid;place-items:center;background:#fff;border:1px solid rgba(21,24,55,.12);color:var(--aafm-navy);transition:.2s var(--ease);}
.social-btn:hover{background:var(--aafm-navy);color:#fff;transform:translateY(-2px);border-color:var(--aafm-navy);}
.hours-band{display:flex;flex-wrap:wrap;gap:10px 28px;align-items:center;justify-content:center;}
.hours-band .hb{display:flex;align-items:center;gap:8px;color:var(--text-secondary);font-size:15px;}
.hours-band .hb b{color:var(--aafm-navy);}
.enq-next{list-style:none;padding:0;margin:0 0 16px;display:grid;gap:11px;}
.enq-next li{position:relative;padding-left:26px;color:rgba(255,255,255,.88);font-size:14.5px;line-height:1.5;}
.enq-next li::before{content:"\2713";position:absolute;left:0;top:0;color:var(--aafm-gold-bright,#f0c45c);font-weight:700;}
.enq-hours{display:flex;align-items:center;gap:8px;color:rgba(255,255,255,.78);font-size:13.5px;border-top:1px solid rgba(255,255,255,.15);padding-top:14px;margin:0;}

/* ===== Contact page — premium upgrade (ui-ux + Magic) ===== */
.contact-split{display:grid;gap:24px;}
@media(min-width:940px){.contact-split{grid-template-columns:0.82fr 1.18fr;align-items:stretch;}}
.contact-panel{position:relative;overflow:hidden;border-radius:20px;padding:36px 32px;color:#fff;background:linear-gradient(155deg,#1c2150 0%,#151837 55%,#0f1129 100%);box-shadow:0 24px 60px rgba(21,24,55,.26);}
.contact-panel::before{content:"";position:absolute;top:-90px;right:-70px;width:300px;height:300px;background:radial-gradient(circle,rgba(223,161,38,.30),transparent 70%);pointer-events:none;}
.contact-panel::after{content:"";position:absolute;inset:0;background-image:radial-gradient(rgba(255,255,255,.06) 1px,transparent 1px);background-size:18px 18px;opacity:.55;pointer-events:none;}
.cp-eyebrow{position:relative;display:block;font-size:12px;letter-spacing:.14em;text-transform:uppercase;color:var(--aafm-gold-bright,#f0c45c);font-weight:700;}
.cp-title{position:relative;font-family:var(--serif);font-size:27px;line-height:1.2;color:#fff;margin:10px 0 8px;}
.cp-sub{position:relative;color:rgba(255,255,255,.78);font-size:15px;line-height:1.6;margin:0 0 22px;}
.cp-method{position:relative;display:flex;align-items:center;gap:14px;padding:13px 0;border-top:1px solid rgba(255,255,255,.12);text-decoration:none;color:#fff;transition:padding-left .2s var(--ease,ease);}
.cp-method:first-of-type{border-top:0;padding-top:4px;}
.cp-method:hover{padding-left:6px;}
.cp-ic{flex:none;width:46px;height:46px;border-radius:13px;display:grid;place-items:center;background:linear-gradient(150deg,rgba(223,161,38,.24),rgba(223,161,38,.07));color:var(--aafm-gold-bright,#f0c45c);border:1px solid rgba(223,161,38,.26);transition:background .2s var(--ease,ease),transform .2s var(--ease,ease),color .2s var(--ease,ease);}
.cp-method:hover .cp-ic{background:var(--aafm-gold,#dfa126);color:#1c1407;transform:scale(1.06);}
.cp-tx b{display:block;font-size:11.5px;letter-spacing:.05em;text-transform:uppercase;color:rgba(255,255,255,.6);font-weight:700;}
.cp-val{font-size:16.5px;font-weight:700;font-family:var(--serif);color:#fff;}
.cp-foot{position:relative;margin-top:22px;padding-top:18px;border-top:1px solid rgba(255,255,255,.12);}
.cp-hours{display:flex;align-items:center;gap:8px;color:rgba(255,255,255,.8);font-size:13.5px;margin:0 0 14px;}
.cp-social{display:flex;gap:10px;flex-wrap:wrap;}
.cp-social a{width:40px;height:40px;border-radius:11px;display:grid;place-items:center;background:rgba(255,255,255,.08);color:#fff;border:1px solid rgba(255,255,255,.14);transition:.2s var(--ease,ease);}
.cp-social a:hover{background:var(--aafm-gold,#dfa126);color:#1c1407;transform:translateY(-2px);border-color:var(--aafm-gold,#dfa126);}
.contact-formcard{background:#fff;border-radius:20px;padding:34px 32px;box-shadow:0 20px 50px rgba(21,24,55,.10);border:1px solid rgba(21,24,55,.06);border-top:3px solid var(--aafm-gold,#dfa126);}
.contact-formcard>h2{margin:0 0 4px;}
.contact-formcard .lead{margin-bottom:22px;}
.contact-formcard .pform input,.contact-formcard .pform select,.contact-formcard .pform textarea{transition:border-color .18s var(--ease,ease),box-shadow .18s var(--ease,ease);}
.contact-formcard .pform input:focus,.contact-formcard .pform select:focus,.contact-formcard .pform textarea:focus{border-color:var(--aafm-gold,#dfa126);box-shadow:0 0 0 3px rgba(223,161,38,.16);outline:none;}
/* depth + hover on supporting cards */
.contact-card{box-shadow:0 8px 24px rgba(21,24,55,.05);transition:transform .2s var(--ease,ease),box-shadow .2s var(--ease,ease);}
.contact-card:hover{transform:translateY(-3px);box-shadow:0 16px 38px rgba(21,24,55,.11);}
#offices .office-card{box-shadow:0 8px 24px rgba(21,24,55,.05);transition:transform .2s var(--ease,ease),box-shadow .2s var(--ease,ease);}
#offices .office-card:hover{transform:translateY(-3px);box-shadow:0 16px 38px rgba(21,24,55,.11);}
.dept{box-shadow:0 4px 14px rgba(21,24,55,.04);}

/* ===== Contact — immersive hero + glass card ===== */
.chero{position:relative;overflow:hidden;color:#fff;padding:58px 0 76px;background:radial-gradient(120% 130% at 82% -10%,#222a66 0%,#161a3e 42%,#0d0f28 100%);}
.chero::before{content:"";position:absolute;inset:0;background-image:radial-gradient(rgba(255,255,255,.05) 1px,transparent 1px);background-size:22px 22px;opacity:.6;pointer-events:none;}
.chero::after{content:"";position:absolute;top:-160px;right:-120px;width:520px;height:520px;border-radius:50%;background:radial-gradient(circle,rgba(223,161,38,.22),transparent 68%);pointer-events:none;}
.chero-wrap{position:relative;display:grid;gap:40px;align-items:center;}
@media(min-width:960px){.chero-wrap{grid-template-columns:1.08fr .92fr;}}
.chero .breadcrumb{color:rgba(255,255,255,.6);}
.chero .breadcrumb a{color:rgba(255,255,255,.78);}
.chero-eyebrow{font-size:13px;letter-spacing:.16em;text-transform:uppercase;color:var(--aafm-gold-bright,#f0c45c);font-weight:700;margin:10px 0 0;}
.chero h1{font-family:var(--serif,Georgia,serif);font-size:clamp(38px,5.6vw,60px);line-height:1.05;margin:14px 0 18px;color:#fff;font-weight:700;}
.chero h1 em{color:var(--aafm-gold-bright,#f0c45c);font-style:italic;}
.chero-lead{color:rgba(255,255,255,.8);font-size:17px;line-height:1.6;max-width:520px;margin:0 0 28px;}
.chero-stats{display:flex;gap:30px;flex-wrap:wrap;}
.chero-stat b{display:block;font-family:var(--serif,Georgia,serif);font-size:30px;color:var(--aafm-gold-bright,#f0c45c);line-height:1;}
.chero-stat span{font-size:13px;color:rgba(255,255,255,.62);}
.chero-card{position:relative;background:rgba(255,255,255,.07);backdrop-filter:blur(16px) saturate(120%);-webkit-backdrop-filter:blur(16px) saturate(120%);border:1px solid rgba(255,255,255,.16);border-radius:22px;padding:28px 26px;box-shadow:0 30px 70px rgba(0,0,0,.38);}
.chero-card .cp-title{font-size:21px;margin:8px 0 6px;}
.chero-card .cp-method{border-top-color:rgba(255,255,255,.14);}
.chero-card .cp-btn{display:block;width:100%;text-align:center;margin-top:20px;}
.chero-card .cp-foot{margin-top:20px;padding-top:16px;}

/* ===== Contact — bento density ===== */
.eyebrow .eb-ic{display:inline-flex;vertical-align:-3px;margin-right:7px;}
.bento{display:grid;gap:16px;grid-template-columns:repeat(2,1fr);}
@media(min-width:760px){.bento{grid-template-columns:repeat(3,1fr);}}
.bento-tile{position:relative;display:flex;flex-direction:column;gap:5px;padding:24px 22px;border:1px solid rgba(21,24,55,.10);border-radius:18px;background:#fff;text-decoration:none;box-shadow:0 8px 24px rgba(21,24,55,.05);transition:transform .2s var(--ease,ease),box-shadow .2s var(--ease,ease),border-color .2s var(--ease,ease);overflow:hidden;}
.bento-tile:hover{transform:translateY(-4px);box-shadow:0 18px 42px rgba(21,24,55,.13);border-color:var(--aafm-gold,#dfa126);}
.bento-tile .bt-ic{width:48px;height:48px;border-radius:13px;display:grid;place-items:center;background:var(--aafm-gold-soft,#fbf3e0);color:var(--aafm-navy,#151837);margin-bottom:8px;transition:background .2s var(--ease,ease),color .2s var(--ease,ease);}
.bento-tile:hover .bt-ic{background:var(--aafm-gold,#dfa126);color:#1c1407;}
.bento-tile b{font-family:var(--serif,Georgia,serif);font-size:18px;color:var(--aafm-navy,#151837);}
.bento-tile .bt-d{font-size:13.5px;color:var(--text-secondary,#5b6072);line-height:1.5;}
.bento-tile .bt-arr{position:absolute;top:22px;right:22px;color:var(--aafm-gold,#dfa126);opacity:0;transform:translateX(-5px);transition:.2s var(--ease,ease);}
.bento-tile:hover .bt-arr{opacity:1;transform:translateX(0);}
.bento-tile.feat{background:linear-gradient(150deg,#1c2150,#151837);border:0;color:#fff;}
@media(min-width:760px){.bento-tile.feat{grid-column:span 2;flex-direction:row;align-items:center;gap:20px;}.bento-tile.feat .bt-ic{margin-bottom:0;width:56px;height:56px;}}
.bento-tile.feat b{color:#fff;font-size:22px;}
.bento-tile.feat .bt-d{color:rgba(255,255,255,.78);}
.bento-tile.feat .bt-ic{background:rgba(223,161,38,.18);color:var(--aafm-gold-bright,#f0c45c);}
.bento-tile.feat .bt-arr{color:var(--aafm-gold-bright,#f0c45c);}
/* what-happens-next strip */
.flow3{display:grid;gap:18px;grid-template-columns:1fr;}
@media(min-width:720px){.flow3{grid-template-columns:repeat(3,1fr);}}
.flow3 .fl{position:relative;padding:22px;border-radius:16px;background:#fff;border:1px solid rgba(21,24,55,.08);box-shadow:0 6px 18px rgba(21,24,55,.04);}
.flow3 .fl-ic{width:44px;height:44px;border-radius:12px;display:grid;place-items:center;background:var(--aafm-navy,#151837);color:var(--aafm-gold-bright,#f0c45c);margin-bottom:12px;}
.flow3 .fl-n{position:absolute;top:18px;right:20px;font-family:var(--serif,Georgia,serif);font-weight:700;font-size:30px;color:rgba(21,24,55,.08);}
.flow3 .fl b{display:block;font-family:var(--serif,Georgia,serif);font-size:17px;color:var(--aafm-navy,#151837);margin-bottom:4px;}
.flow3 .fl p{font-size:14px;color:var(--text-secondary,#5b6072);margin:0;line-height:1.55;}
.contact-card .cc-cat{width:40px;height:40px;border-radius:11px;display:grid;place-items:center;background:var(--aafm-gold-soft,#fbf3e0);color:var(--aafm-navy,#151837);margin-bottom:12px;}
.dept .dept-ic{display:inline-flex;vertical-align:-3px;margin-right:7px;color:var(--aafm-gold-bright,#b8860b);}
.bento-tile .bt-tx{display:flex;flex-direction:column;gap:4px;min-width:0;}

/* ===== Contact — credibility strip (floats over hero) ===== */
.cred-strip{position:relative;z-index:3;margin-top:-44px;}
.cred-grid{background:#fff;border-radius:18px;box-shadow:0 20px 54px rgba(21,24,55,.14);border:1px solid rgba(21,24,55,.06);display:grid;grid-template-columns:1fr;gap:4px;padding:22px 24px;}
@media(min-width:680px){.cred-grid{grid-template-columns:repeat(3,1fr);}}
.cred{display:flex;align-items:center;gap:14px;justify-content:center;padding:12px 8px;}
.cred + .cred{border-top:1px solid rgba(21,24,55,.08);}
@media(min-width:680px){.cred + .cred{border-top:0;border-left:1px solid rgba(21,24,55,.08);}}
.cred-ic{width:48px;height:48px;border-radius:13px;display:grid;place-items:center;background:var(--aafm-gold-soft,#fbf3e0);color:var(--aafm-navy,#151837);flex:none;}
.cred-tx{display:flex;flex-direction:column;}
.cred-tx b{font-family:var(--serif,Georgia,serif);font-size:27px;color:var(--aafm-navy,#151837);line-height:1.05;}
.cred-tx b em{color:var(--aafm-gold-bright,#b8860b);font-style:normal;}
.cred-tx span{font-size:13.5px;color:var(--text-secondary,#5b6072);}
/* ===== Department lines as icon tiles ===== */
.dept-tile{display:flex;align-items:center;gap:14px;padding:15px 18px;border:1px solid rgba(21,24,55,.10);border-radius:14px;background:#fff;text-decoration:none;box-shadow:0 4px 14px rgba(21,24,55,.04);transition:transform .2s var(--ease,ease),box-shadow .2s var(--ease,ease),border-color .2s var(--ease,ease);}
.dept-tile:hover{transform:translateY(-3px);box-shadow:0 14px 32px rgba(21,24,55,.10);border-color:var(--aafm-gold,#dfa126);}
.dept-tile .dt-ic{width:42px;height:42px;border-radius:11px;display:grid;place-items:center;background:var(--aafm-gold-soft,#fbf3e0);color:var(--aafm-navy,#151837);flex:none;transition:background .2s var(--ease,ease),color .2s var(--ease,ease);}
.dept-tile:hover .dt-ic{background:var(--aafm-gold,#dfa126);color:#1c1407;}
.dept-tile .dt-tx{display:flex;flex-direction:column;gap:2px;min-width:0;}
.dept-tile .dt-tx b{font-size:13px;color:var(--text-secondary,#5b6072);font-weight:600;line-height:1.3;}
.dept-tile .dt-num{font-family:var(--serif,Georgia,serif);font-size:16px;font-weight:700;color:var(--aafm-navy,#151837);}
