/* ═══════════════════════════════════════════════
   AJACERTX  —  Global Design System  v2.0
   ajacertx.com
═══════════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700&family=Cormorant+Garamond:ital,wght@0,600;0,700;1,500&family=EB+Garamond:ital,wght@0,400;0,500;1,400&display=swap');

/* ── RESET ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'EB Garamond', serif; background: var(--white); color: var(--charcoal); overflow-x: hidden; line-height: 1.6; padding-top: 71px; }
main { display: block; margin: 0; padding: 0; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; font-family: inherit; }
ul { list-style: none; }

/* ── TOKENS ── */
:root {
  --navy:    #001040;
  --navy-m:  #00205A;
  --navy-lt: #003087;
  --gold:    #A37C27;
  --gold-lt: #C9A84C;
  --gold-sh: #F0D98A;
  --ivory:   #FAF7F0;
  --ivory-d: #EDE8DC;
  --white:   #FFFFFF;
  --plat:    #C2CCD8;
  --muted:   #667788;
  --light:   #F2F5FA;
  --dark:    #0D1117;
  --charcoal:#1E2633;
  --trans:   .2s ease;
}

/* ════════════════════════════ UTILITY BAR ═══ */
.util {
  background: var(--navy); height: 36px; padding: 0 64px;
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid rgba(163,124,39,.18); position: relative; z-index: 950;
}
.util-l { display: flex; gap: 20px; align-items: center; }
.util a, .util-btn {
  font-family: 'Cinzel', serif; font-size: 8px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--plat); background: none; border: none; cursor: pointer; transition: color var(--trans);
}
.util a:hover, .util-btn:hover { color: var(--gold-lt); }
.util-sep { color: rgba(163,124,39,.3); }
.util-r { display: flex; gap: 6px; }
.lang-btn { font-family: 'Cinzel', serif; font-size: 7.5px; letter-spacing: 2px; padding: 3px 9px; border: 1px solid rgba(163,124,39,.25); color: var(--plat); background: transparent; cursor: pointer; transition: all var(--trans); }
.lang-btn.on, .lang-btn:hover { background: var(--gold); color: var(--navy); border-color: var(--gold); }

/* ════════════════════════════ MAIN NAV ═══ */
.main-nav { position: fixed; top: 0; left: 0; right: 0; z-index: 998; background: var(--white); border-bottom: 3px solid var(--gold); box-shadow: 0 2px 20px rgba(0,0,0,.06); transition: box-shadow .3s; }
.main-nav.scrolled { box-shadow: 0 4px 32px rgba(0,0,0,.12); }
.nav-inner { max-width: 1400px; margin: 0 auto; padding: 0 32px; height: 68px; display: flex; align-items: center; }

.nav-logo { display: flex; align-items: center; gap: 11px; margin-right: 20px; flex-shrink: 0; }
.nav-logo svg { width: 32px; height: 32px; }
.logo-wm { display: flex; align-items: baseline; }
.lw-a { font-family: 'Cinzel', serif; font-weight: 700; font-size: 18px; letter-spacing: 4px; color: var(--navy); }
.lw-c { font-family: 'Cinzel', serif; font-weight: 400; font-size: 18px; letter-spacing: 2px; color: var(--navy-lt); }
.lw-x { font-family: 'Cormorant Garamond', serif; font-weight: 700; font-size: 25px; line-height: .88; margin-left: 1px; background: linear-gradient(155deg,var(--gold-sh),var(--gold-lt),var(--gold)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

.nav-items { display: flex; align-items: stretch; flex: 1; height: 68px; }
.ni { position: relative; display: flex; align-items: center; gap: 4px; padding: 0 12px; font-family: 'Cinzel', serif; font-size: 8.5px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--charcoal); cursor: pointer; white-space: nowrap; border-bottom: 3px solid transparent; margin-bottom: -3px; transition: color var(--trans), border-color var(--trans); user-select: none; }
.ni:hover, .ni.active { color: var(--navy); border-bottom-color: var(--gold); }
.ni .ni-caret { transition: transform .25s; flex-shrink: 0; }
.ni:hover .ni-caret { transform: rotate(180deg); }

.mega { display: none; position: absolute; top: calc(100% + 3px); left: 0; background: var(--white); z-index: 1000; border-top: 3px solid var(--gold); box-shadow: 0 24px 64px rgba(0,16,64,.16); min-width: 860px; }
.ni:hover > .mega { display: flex; }
.mega-col { flex: 1; padding: 28px 22px 32px; border-right: 1px solid var(--ivory-d); }
.mega-col:last-child { border-right: none; }
.mega-hd { font-family: 'Cinzel', serif; font-size: 8.5px; letter-spacing: 3px; text-transform: uppercase; color: var(--navy); margin-bottom: 14px; padding-bottom: 10px; border-bottom: 2px solid var(--gold); }
.mega-list { list-style: none; }
.mega-list li { display: flex; align-items: flex-start; gap: 7px; padding: 5px 8px; transition: all .15s; cursor: pointer; }
.mega-list li:hover { padding-left: 13px; }
.mega-list li::before { content: '›'; color: var(--gold); font-size: 13px; line-height: 1.3; flex-shrink: 0; }
.mega-list a { font-family: 'EB Garamond', serif; font-size: 13.5px; color: var(--muted); transition: color var(--trans); }
.mega-list li:hover a { color: var(--navy); }
.mega-sub-hd { font-family: 'Cinzel', serif; font-size: 7.5px; letter-spacing: 2px; text-transform: uppercase; color: var(--gold-lt); margin: 12px 0 4px 8px; opacity: .85; }
.mega-badge { font-family: 'Cinzel', serif; font-size: 7px; background: rgba(163,124,39,.1); color: var(--gold); border: 1px solid rgba(163,124,39,.22); padding: 2px 6px; margin-left: 4px; white-space: nowrap; }

.nav-right { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.nav-ico { background: none; border: none; cursor: pointer; color: var(--muted); padding: 6px; transition: color var(--trans); }
.nav-ico:hover { color: var(--navy); }
.nav-cta { font-family: 'Cinzel', serif; font-size: 7.5px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--white); background: var(--navy); border: 2px solid var(--navy); padding: 8px 14px; transition: all var(--trans); white-space: nowrap; }
.nav-cta:hover { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; padding: 8px; cursor: pointer; }
.hamburger span { display: block; width: 22px; height: 1.5px; background: var(--navy); transition: all .3s; }

/* ════════════════════════════ MOBILE DRAWER ═══ */
.mobile-nav { display: none; position: fixed; inset: 0; z-index: 1100; background: var(--navy); padding: 24px 28px; flex-direction: column; overflow-y: auto; }
.mobile-nav.open { display: flex; }
.mob-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 32px; }
.mob-logo { display: flex; align-items: baseline; }
.mob-close { background: none; border: none; color: var(--gold-lt); font-size: 26px; cursor: pointer; line-height: 1; }
.mob-item { font-family: 'Cinzel', serif; font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--white); padding: 14px 0; border-bottom: 1px solid rgba(163,124,39,.1); display: block; }
.mob-item:hover { color: var(--gold-lt); }
.mob-sub { font-family: 'EB Garamond', serif; font-size: 14px; color: var(--plat); padding: 9px 0 9px 16px; border-bottom: 1px solid rgba(163,124,39,.06); display: block; opacity: .7; }
.mob-sub:hover { opacity: 1; color: var(--gold-lt); }
.mob-cta { font-family: 'Cinzel', serif; font-size: 9px; letter-spacing: 2px; text-transform: uppercase; color: var(--navy); background: var(--gold); border: none; padding: 13px 28px; margin-top: 24px; width: 100%; cursor: pointer; }
.mob-cta:hover { background: var(--gold-lt); }

/* ════════════════════════════ BUTTONS ═══ */
.btn-gold { font-family: 'Cinzel', serif; font-size: 9px; letter-spacing: 2px; text-transform: uppercase; background: var(--gold); color: var(--navy); border: 2px solid var(--gold); padding: 13px 30px; font-weight: 700; transition: all var(--trans); display: inline-block; cursor: pointer; }
.btn-gold:hover { background: var(--gold-lt); border-color: var(--gold-lt); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(163,124,39,.3); }
.btn-outline-white { font-family: 'Cinzel', serif; font-size: 9px; letter-spacing: 2px; text-transform: uppercase; background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,.3); padding: 13px 30px; transition: all var(--trans); display: inline-block; cursor: pointer; }
.btn-outline-white:hover { border-color: var(--gold-lt); color: var(--gold-lt); }
.btn-navy { font-family: 'Cinzel', serif; font-size: 9px; letter-spacing: 2px; text-transform: uppercase; color: var(--white); background: var(--navy); border: 2px solid var(--navy); padding: 11px 26px; transition: all var(--trans); display: inline-block; cursor: pointer; }
.btn-navy:hover { background: transparent; color: var(--navy); }
.btn-outline-navy { font-family: 'Cinzel', serif; font-size: 9px; letter-spacing: 2px; text-transform: uppercase; color: var(--navy); background: transparent; border: 2px solid var(--navy); padding: 11px 26px; transition: all var(--trans); display: inline-block; cursor: pointer; }
.btn-outline-navy:hover { background: var(--navy); color: var(--white); }
.btn-link { font-family: 'Cinzel', serif; font-size: 8.5px; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); display: inline-flex; align-items: center; gap: 8px; transition: gap var(--trans); cursor: pointer; background: none; border: none; }
.btn-link:hover { gap: 14px; }
.btn-link.dk { color: var(--navy); }

/* ════════════════════════════ SECTIONS ═══ */
.sec { padding: 28px 0; }
.sec + .sec { padding-top: 0; }
.sec + .contact-sec-wrap { margin-top: 0; }
.contact-sec-wrap + .sec { padding-top: 0; }
.who-split + .sec { padding-top: 0; }
.cta-band + .site-footer { margin-top: 0; }
.sec.bg-light  { background: var(--light); }
.sec.bg-ivory  { background: var(--ivory); }
.sec.bg-navy   { background: var(--navy); }
.sec.bg-dark   { background: var(--dark); }
.sec-inner { max-width: 1400px; margin: 0 auto; padding: 0 72px; }
.sec-hdr { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 20px; }
.sec-tag { font-family: 'Cinzel', serif; font-size: 8px; letter-spacing: 5px; text-transform: uppercase; color: var(--gold-lt); margin-bottom: 8px; }
.sec-ttl { font-family: 'Cinzel', serif; font-weight: 700; font-size: clamp(22px,2.4vw,34px); letter-spacing: .5px; line-height: 1.15; }
.sec-ttl.on-dark  { color: var(--white); }
.sec-ttl.on-light { color: var(--navy); }
.sec-sub { font-family: 'EB Garamond', serif; font-style: italic; font-size: 16px; color: var(--muted); margin-top: 8px; line-height: 1.6; }
.sec-sub.on-dark  { color: var(--plat); opacity: .8; }

/* ════════════════════════════ PAGE HERO ═══ */
.page-hero { background: var(--navy); padding: 64px 0 56px; position: relative; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg,transparent,var(--gold),var(--gold-lt),var(--gold-sh),var(--gold-lt),var(--gold),transparent); }
.page-hero::after  { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(163,124,39,.03) 1px,transparent 1px),linear-gradient(90deg,rgba(163,124,39,.03) 1px,transparent 1px); background-size: 64px 64px; pointer-events: none; }
.page-hero-inner { position: relative; z-index: 2; max-width: 1400px; margin: 0 auto; padding: 0 72px; }

.breadcrumb { display: flex; align-items: center; gap: 8px; margin-bottom: 18px; }
.breadcrumb a { font-family: 'Cinzel', serif; font-size: 8px; letter-spacing: 2px; text-transform: uppercase; color:var(--navy); opacity: .65; transition: opacity var(--trans); }
.breadcrumb a:hover { opacity: 1; }
.bc-sep { color: rgba(163,124,39,.35); font-size: 11px; }
.breadcrumb span { font-family: 'Cinzel', serif; font-size: 8px; letter-spacing: 2px; text-transform: uppercase; color: var(--plat); opacity: .45; }
.page-eyebrow { font-family: 'Cinzel', serif; font-size: 8px; letter-spacing: 5px; text-transform: uppercase; color: var(--gold-lt); margin-bottom: 14px; display: flex; align-items: center; gap: 12px; }
.page-eyebrow::before { content: ''; width: 28px; height: 1.5px; background: var(--gold-lt); flex-shrink: 0; }
.page-hero h1 { font-family: 'Cinzel', serif; font-weight: 700; font-size: clamp(28px,3.5vw,50px); line-height: 1.1; letter-spacing: 1px; color: var(--white); margin-bottom: 14px; }
.page-hero h1 span { background: linear-gradient(130deg,var(--gold-sh),var(--gold-lt)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.page-hero-sub { font-family: 'EB Garamond', serif; font-style: italic; font-size: 18px; color: var(--plat); line-height: 1.65; max-width: 620px; }

/* ════════════════════════════ CARDS ═══ */
.card-grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 2px; }
.card-grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 2px; }
.card-grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 2px; }

.card-lt { background: var(--light); padding: 34px 28px 30px; border: 1px solid var(--ivory-d); position: relative; overflow: hidden; transition: background var(--trans), box-shadow var(--trans); }
.card-lt:hover { background: var(--white); box-shadow: 0 8px 32px rgba(0,16,64,.1); }
.card-lt::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px; background: var(--gold); transform: scaleX(0); transition: transform .3s; transform-origin: left; }
.card-lt:hover::after { transform: scaleX(1); }

.card-dk { background: var(--navy-m); padding: 30px 26px; border: 1px solid rgba(163,124,39,.1); position: relative; overflow: hidden; transition: background var(--trans), border-color var(--trans); }
.card-dk:hover { background: rgba(0,48,135,.5); border-color: rgba(163,124,39,.28); }
.card-dk::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--gold); transform: scaleX(0); transition: transform .3s; transform-origin: left; }
.card-dk:hover::before { transform: scaleX(1); }

.c-num { font-family: 'Cinzel', serif; font-size: 9px; letter-spacing: 3px; color: var(--gold); margin-bottom: 10px; }
.c-ico { width: 42px; height: 42px; background: var(--navy); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; flex-shrink: 0; }
.c-ttl { font-family: 'Cinzel', serif; font-size: 13px; letter-spacing: 1px; font-weight: 700; margin-bottom: 8px; color: var(--navy); }
.c-ttl.light { color: var(--navy); }
.c-ttl.dark  { color: var(--white); }
.c-dsc { font-family: 'EB Garamond', serif; font-size: 13.5px; line-height: 1.7; color: var(--muted); }
.c-dsc.light { color: var(--muted); }
.c-dsc.dark  { color: var(--plat); opacity: .8; }
.c-list { list-style: none; margin-top: 10px; }
.c-list li { font-family: 'EB Garamond', serif; font-size: 13px; padding: 4px 0; display: flex; gap: 8px; line-height: 1.4; }
.c-list li::before { content: '›'; color: var(--gold-lt); font-size: 14px; line-height: 1.2; flex-shrink: 0; }
.c-list.dark li  { color: var(--plat); opacity: .85; }
.c-list.light li { color: var(--charcoal); }
.c-sub-hd { font-family: 'Cinzel', serif; font-size: 7.5px; letter-spacing: 2px; text-transform: uppercase; color: var(--gold-lt); margin: 10px 0 4px; opacity: .85; }
.c-link { font-family: 'Cinzel', serif; font-size: 8px; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); margin-top: 14px; display: inline-flex; align-items: center; gap: 6px; transition: gap var(--trans); }
.card-lt:hover .c-link, .card-dk:hover .c-link { gap: 12px; }

/* ════════════════════════════ ISO GRID ═══ */
.iso-grid { display: grid; grid-template-columns: repeat(6,1fr); gap: 2px; }
.iso-chip { background: var(--light); border: 1px solid var(--ivory-d); padding: 18px 12px; text-align: center; cursor: pointer; transition: all var(--trans); }
.iso-chip:hover { background: var(--navy); border-color: var(--navy); }
.iso-chip:hover .iso-code { color: var(--gold-lt); }
.iso-chip:hover .iso-name { color: var(--white); }
.iso-code { font-family: 'Cinzel', serif; font-size: 11px; letter-spacing: 1px; font-weight: 700; color: var(--navy); margin-bottom: 5px; transition: color var(--trans); }
.iso-name { font-family: 'EB Garamond', serif; font-size: 11px; color: var(--muted); line-height: 1.35; transition: color var(--trans); }

/* ════════════════════════════ WHO WE ARE ═══ */
.who-split { display: grid; grid-template-columns: 5fr 7fr; min-height: 480px; }
.who-gold { background: var(--gold); padding: 36px 40px; display: flex; flex-direction: column; justify-content: center; position: relative; overflow: hidden; }
.who-gold::before { content: 'AX'; position: absolute; font-family: 'Cormorant Garamond', serif; font-size: 240px; font-weight: 700; color: rgba(0,16,64,.08); right: -10px; bottom: -40px; line-height: 1; pointer-events: none; }
.who-gold .sec-tag { color: rgba(0,16,64,.5); }
.who-body { font-family: 'EB Garamond', serif; font-size: 15px; color: var(--navy); line-height: 1.8; margin-bottom: 20px; }
.who-light { background: var(--light); padding: 32px 40px; }
.who-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.who-card { background: var(--white); border: 1px solid var(--ivory-d); padding: 24px 20px; transition: box-shadow var(--trans); }
.who-card:hover { box-shadow: 0 6px 24px rgba(0,16,64,.1); }
.wc-num { font-family: 'Cormorant Garamond', serif; font-size: 36px; font-weight: 700; color: var(--gold); line-height: 1; margin-bottom: 6px; }
.wc-ttl { font-family: 'Cinzel', serif; font-size: 11px; letter-spacing: 1px; color: var(--navy); font-weight: 700; margin-bottom: 5px; }
.wc-dsc { font-family: 'EB Garamond', serif; font-size: 13px; color: var(--muted); line-height: 1.6; }

/* ════════════════════════════ TESTIMONIALS ═══ */
.testi-card { background: var(--white); border: 1px solid var(--ivory-d); padding: 32px 28px; position: relative; }
.testi-card::before { content: '\201C'; font-family: 'Cormorant Garamond', serif; font-size: 80px; color: var(--gold-lt); opacity: .18; position: absolute; top: 8px; left: 18px; line-height: 1; }
.testi-body { font-family: 'EB Garamond', serif; font-style: italic; font-size: 15px; color: var(--charcoal); line-height: 1.8; margin-bottom: 20px; position: relative; z-index: 1; }
.testi-author { font-family: 'Cinzel', serif; font-size: 9px; letter-spacing: 2px; text-transform: uppercase; color: var(--navy); }
.testi-org { font-family: 'EB Garamond', serif; font-size: 12px; color: var(--muted); margin-top: 3px; }

/* ════════════════════════════ CTA BAND ═══ */
.cta-band { background: var(--gold); padding: 36px 72px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.cta-txt h2 { font-family: 'Cinzel', serif; font-size: clamp(19px,2vw,27px); letter-spacing: .5px; color: var(--navy); margin-bottom: 6px; }
.cta-txt p  { font-family: 'EB Garamond', serif; font-size: 15px; color: var(--navy); opacity: .75; }
.cta-acts { display: flex; gap: 12px; flex-shrink: 0; flex-wrap: wrap; }

/* ════════════════════════════ CONTACT ═══ */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; }
.contact-l { padding: 52px 52px 52px 0; border-right: 1px solid rgba(163,124,39,.12); }
.contact-r { padding: 52px 0 52px 52px; background: rgba(0,32,90,.35); padding: 52px; }
.contact-intro { font-family: 'EB Garamond', serif; font-size: 15px; color: var(--plat); line-height: 1.8; opacity: .8; margin-bottom: 36px; }
.office { padding: 13px 0; border-bottom: 1px solid rgba(163,124,39,.1); }
.office-city { font-family: 'Cinzel', serif; font-size: 9px; letter-spacing: 2px; text-transform: uppercase; color: var(--gold-lt); margin-bottom: 4px; }
.office-addr { font-family: 'EB Garamond', serif; font-size: 14px; color: var(--plat); opacity: .7; line-height: 1.6; }
.office-addr a { color: inherit; }
.office-addr a:hover { color: var(--gold-lt); opacity: 1; }

.contact-r h3 { font-family: 'Cinzel', serif; font-size: 15px; letter-spacing: 1px; color: var(--white); margin-bottom: 5px; }
.form-sub { font-family: 'EB Garamond', serif; font-style: italic; font-size: 14px; color: var(--muted); margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-family: 'Cinzel', serif; font-size: 8px; letter-spacing: 2px; text-transform: uppercase; color:var(--navy); opacity: .8; }
.form-group input, .form-group select, .form-group textarea { font-family: 'EB Garamond', serif; font-size: 14px; background: rgba(255,255,255,.06); border: 1px solid rgba(163,124,39,.18); color: var(--white); padding: 10px 13px; outline: none; transition: border-color var(--trans); width: 100%; }
.form-group input::placeholder, .form-group textarea::placeholder { color: rgba(194,204,216,.3); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: rgba(163,124,39,.55); }
.form-group select option { background: var(--navy-m); color: var(--white); }
.form-group textarea { min-height: 96px; resize: vertical; }
.form-btn { font-family: 'Cinzel', serif; font-size: 9px; letter-spacing: 2px; text-transform: uppercase; background: var(--gold); color: var(--navy); border: 2px solid var(--gold); padding: 13px 32px; cursor: pointer; font-weight: 700; transition: all var(--trans); margin-top: 8px; }
.form-btn:hover { background: var(--gold-lt); border-color: var(--gold-lt); }

/* ════════════════════════════ FOOTER ═══ */
.site-footer { background: var(--dark); }
.foot-top { max-width: 1400px; margin: 0 auto; padding: 44px 72px 32px; display: grid; grid-template-columns: 2.2fr 1fr 1fr 1fr 1fr; gap: 40px; }
.foot-logo-wrap { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.fl-a { font-family: 'Cinzel', serif; font-weight: 700; font-size: 17px; letter-spacing: 4px; color: var(--white); }
.fl-c { font-family: 'Cinzel', serif; font-weight: 400; font-size: 17px; letter-spacing: 2px; color: var(--plat); }
.fl-x { font-family: 'Cormorant Garamond', serif; font-weight: 700; font-size: 23px; background: linear-gradient(135deg,var(--gold-sh),var(--gold)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.foot-brand p { font-family: 'EB Garamond', serif; font-size: 13px; color: var(--plat); line-height: 1.7; opacity: .55; }
.foot-col h4 { font-family: 'Cinzel', serif; font-size: 8.5px; letter-spacing: 3px; text-transform: uppercase; color: var(--gold-lt); margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid rgba(163,124,39,.12); }
.foot-col li { margin-bottom: 8px; }
.foot-col li a { font-family: 'EB Garamond', serif; font-size: 14px; color: var(--plat); opacity: .55; transition: all var(--trans); }
.foot-col li a:hover { opacity: 1; color: var(--gold-lt); }
.foot-bot { border-top: 1px solid rgba(163,124,39,.1); max-width: 1400px; margin: 0 auto; padding: 20px 72px; display: flex; align-items: center; justify-content: space-between; }
.foot-copy { font-family: 'EB Garamond', serif; font-size: 12px; color: var(--plat); opacity: .38; }
.foot-copy a { color: inherit; }
.foot-copy a:hover { opacity: .8; }
.socials { display: flex; gap: 8px; }
.soc { width: 32px; height: 32px; border: 1px solid rgba(163,124,39,.18); display: flex; align-items: center; justify-content: center; font-family: 'Cinzel', serif; font-size: 9px; color: var(--plat); opacity: .45; cursor: pointer; transition: all var(--trans); }
.soc:hover { border-color: var(--gold); color: var(--gold-lt); opacity: 1; }

/* ════════════════════════════ UTILITIES ═══ */
.mb-8  { margin-bottom: 8px;  }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }

/* ════════════════════════════ RESPONSIVE ═══ */
/* Solutions 5-col grid */
.svc-grid-5 { grid-template-columns: repeat(5,1fr); }

@media (max-width: 1200px) {
  .nav-inner,.sec-inner,.page-hero-inner,.cta-band,.foot-top,.foot-bot { padding-left: 36px; padding-right: 36px; }
  .card-grid-4 { grid-template-columns: repeat(2,1fr); }
  .svc-grid-5  { grid-template-columns: repeat(3,1fr); }
  .iso-grid    { grid-template-columns: repeat(4,1fr); }
  .foot-top    { grid-template-columns: 1fr 1fr 1fr; gap: 28px; }
  .who-split   { grid-template-columns: 1fr; }
  .who-light   { padding: 52px 36px; }
}
@media (max-width: 900px) {
  .card-grid-3 { grid-template-columns: repeat(2,1fr); }
  .card-grid-2 { grid-template-columns: 1fr; }
  .svc-grid-5  { grid-template-columns: repeat(2,1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-l   { padding: 0 0 36px; border-right: none; border-bottom: 1px solid rgba(163,124,39,.1); }
  .contact-r   { padding: 36px 0 0; }
  .form-row    { grid-template-columns: 1fr; gap: 14px; }
  .who-cards   { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .util       { display: none; }
  .nav-inner  { padding: 0 20px; }
  .nav-items, .nav-right .nav-cta { display: none; }
  .hamburger  { display: flex; }
  .sec-inner  { padding: 0 20px; }
  .page-hero-inner { padding: 0 20px; }
  .sec        { padding: 52px 0; }
  .page-hero  { padding: 52px 0 44px; }
  .card-grid-4, .card-grid-3 { grid-template-columns: 1fr; }
  .svc-grid-5  { grid-template-columns: 1fr; }
  .iso-grid   { grid-template-columns: repeat(2,1fr); }
  .cta-band   { padding: 40px 20px; flex-direction: column; text-align: center; }
  .cta-acts   { justify-content: center; }
  .foot-top   { padding: 40px 20px 28px; grid-template-columns: 1fr 1fr; gap: 24px; }
  .foot-bot   { padding: 16px 20px; flex-direction: column; gap: 12px; text-align: center; }
  .who-gold   { padding: 52px 24px; }
  /* Service pages — sidebar stacks on mobile */
  .svc-layout { grid-template-columns: 1fr !important; }
  .svc-sb     { position: static !important; height: auto !important; flex-direction: row; flex-wrap: wrap; gap: 6px; padding: 12px; }
  .svc-sb-item { width: auto; }
  /* Training page — layout stacks */
  .training-layout { grid-template-columns: 1fr !important; }
  .submenu, .sticky-panel { position: static !important; height: auto !important; }
  /* Announcement strip — compact on mobile */
  #announce-strip .ann-title { font-size: 11px !important; }
  #announce-strip .ann-sub   { display: none; }
  /* Hero headline — no forced nowrap on mobile */
  .hero-h1 { white-space: normal !important; font-size: clamp(18px,5vw,34px) !important; }
  /* Industry ticker header */
  .ind-tick-name { font-size: 9px; }
  /* Knowledge centre grid */
  .kc-grid { grid-template-columns: repeat(2,1fr) !important; }
}
@media (max-width: 480px) {
  .foot-top   { grid-template-columns: 1fr; }
  .who-cards  { grid-template-columns: 1fr; }
  .kc-grid    { grid-template-columns: 1fr !important; }
  .iso-grid   { grid-template-columns: repeat(2,1fr); }
  /* Announcement strip — single line */
  #announce-strip { padding: 8px 0 !important; }
}
}

/* ════════════════════════════ IMAGES ═══ */
.img-cover { width:100%; height:100%; object-fit:cover; display:block; }
.img-hero-overlay { position:absolute; inset:0; background:linear-gradient(to right, rgba(0,16,64,.92) 55%, rgba(0,16,64,.5)); z-index:1; }
.img-section-overlay { position:absolute; inset:0; background:rgba(0,16,64,.75); z-index:1; }
.avatar-circle { width:80px; height:80px; border-radius:50%; overflow:hidden; background:var(--navy); flex-shrink:0; }
.avatar-circle img { width:100%; height:100%; object-fit:cover; }


/* ── GAMP5 top strip — nav compensation ── */
#gamp5-top-strip ~ * .main-nav,
body:has(#gamp5-top-strip) .main-nav {
  top: 0;
}

/* ── GO TO TOP ── */
.go-top{
  position:fixed;
  bottom:80px;
  right:24px;
  width:44px;
  height:44px;
  background:#001040;
  border:1.5px solid rgba(163,124,39,.5);
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  z-index:9990;
  opacity:0;
  visibility:hidden;
  transform:translateY(16px);
  transition:opacity .3s,visibility .3s,transform .3s,background .2s,border-color .2s,box-shadow .2s;
  box-shadow:0 4px 20px rgba(0,0,0,.4),0 0 0 0 rgba(163,124,39,0);
  animation:none;
}
.go-top.visible{
  opacity:1;
  visibility:visible;
  transform:translateY(0);
  animation:floatBtn 3s ease-in-out infinite;
}
.go-top:hover{
  background:#0A1A4A;
  border-color:#C9A84C;
  box-shadow:0 8px 28px rgba(0,0,0,.5),0 0 0 4px rgba(163,124,39,.15);
  animation:none;
  transform:translateY(-3px);
}
.go-top svg{
  width:16px;
  height:16px;
  stroke:#C9A84C;
  stroke-width:2.2;
  fill:none;
  stroke-linecap:round;
  stroke-linejoin:round;
}
@keyframes floatBtn{
  0%,100%{transform:translateY(0);box-shadow:0 4px 20px rgba(0,0,0,.4);}
  50%{transform:translateY(-7px);box-shadow:0 12px 28px rgba(0,0,0,.35),0 0 0 3px rgba(163,124,39,.1);}
}
@media(max-width:768px){
  .go-top{bottom:70px;right:16px;width:40px;height:40px;}
}

/* ═══════════════════════════════════════════════
   DARK SECTION TEXT OVERRIDES
   Ensures all text is visible on navy/dark backgrounds
   ═══════════════════════════════════════════════ */

/* Any element with dark/navy background class */
.sec.dark .c-ttl,
.sec-dk .c-ttl,
.card-dk .c-ttl,
[class*="dark"] .c-ttl,
[style*="background:#001040"] .c-ttl,
[style*="background:var(--navy)"] .c-ttl { color: var(--white); }

.sec.dark .c-dsc,
.sec-dk .c-dsc,
.card-dk .c-dsc,
[class*="dark"] .c-dsc,
[style*="background:#001040"] .c-dsc,
[style*="background:var(--navy)"] .c-dsc { color: var(--plat); }

.sec.dark .c-list li,
.sec-dk .c-list li,
.card-dk .c-list li { color: var(--plat); }

.sec.dark .who-body,
.sec-dk .who-body,
[class*="dark"] .who-body { color: var(--plat); opacity: 1; }

/* Svc tabs — text always visible */
.svc-tab { color: var(--navy); background: transparent; border: none; font-family: 'Cinzel', serif; font-size: 9px; letter-spacing: 2px; text-transform: uppercase; padding: 10px 18px; cursor: pointer; opacity: .65; transition: all .2s; border-bottom: 2px solid transparent; }
.svc-tab:hover { opacity: 1; }
.svc-tab.active { opacity: 1; color: var(--navy); border-bottom-color: var(--gold); font-weight: 700; }

/* Dark background svc tabs */
.sec.dark .svc-tab,
.sec-dk .svc-tab { color: var(--plat); }
.sec.dark .svc-tab.active,
.sec-dk .svc-tab.active { color: var(--white); border-bottom-color:var(--navy); }

/* Webinar / event pages — dark card text */
.event-card .c-ttl,
.webinar-card .c-ttl { color: var(--navy); }

/* Submission / prog text on dark */
.prog-tag { color: var(--gold); }
.prog-h2 { color: var(--navy); }
.prog-intro { color: var(--muted); }
.sec.dark .prog-tag { color: var(--gold-lt); }
.sec.dark .prog-h2,
.sec-dk .prog-h2 { color: var(--white); }
.sec.dark .prog-intro,
.sec-dk .prog-intro { color: var(--plat); }

/* Module rows on dark */
.sec.dark .module-name,
.sec-dk .module-name { color: var(--white); }
.sec.dark .module-desc,
.sec-dk .module-desc { color: var(--plat); }

/* Meta items on dark */
.sec.dark .meta-lbl,
.sec-dk .meta-lbl { color: var(--plat); }
.sec.dark .meta-val,
.sec-dk .meta-val { color: var(--white); }

/* General rule: any direct children text in dark sections */
.sec.dark p,
.sec-dk p,
.card-dk p { color: var(--plat); }

.sec.dark h1,
.sec.dark h2,
.sec.dark h3,
.sec-dk h1,
.sec-dk h2,
.sec-dk h3 { color: var(--white); }

/* Ensure ivory/light sections have dark text */
.sec.light .c-ttl,
.sec-lt .c-ttl { color: var(--navy); }
.sec.light .c-dsc,
.sec-lt .c-dsc { color: var(--muted); }

/* Fix: who-body is navy — fine on light, needs override on dark */
.sec.dark .who-body,
.sec-dk .who-body,
.card-dk .who-body { color: var(--plat) !important; }

/* c-list items inherit correctly */
.c-list.light li { color: var(--plat); }
.c-list.dark li { color: var(--navy); }

/* ── GOLD TEXT CONTRAST FIXES ── */

/* sec-tag on light/ivory backgrounds — use navy for contrast */
.sec.bg-light .sec-tag,
.sec.bg-ivory .sec-tag,
.sec.light .sec-tag,
.sec-lt .sec-tag { color: var(--navy); }

/* page-eyebrow on light backgrounds */
.sec.bg-light .page-eyebrow,
.sec.bg-ivory .page-eyebrow,
.sec.light .page-eyebrow { color: var(--navy); }

/* mega-sub-hd — was gold on white */
.mega-sub-hd { color: var(--navy) !important; opacity: .65; }

/* mega-list bullet arrow — gold on white is fine but brighten */
.mega-list li::before { color: var(--gold) !important; }

/* mega-list link text — ensure dark on white */
.mega-list a { color: var(--charcoal) !important; }
.mega-list a:hover { color: var(--navy) !important; }

/* c-link — gold arrow on light sections */
.sec.bg-light .c-link,
.sec.bg-ivory .c-link,
.sec.light .c-link { color: var(--navy); }
.sec.bg-light .c-link:hover,
.sec.bg-ivory .c-link:hover { color: var(--gold); }

/* c-num on light sections */
.sec.bg-light .c-num,
.sec.bg-ivory .c-num { color: var(--navy); }

/* who-gold section — navy text on gold background */
.who-gold .sec-tag,
.who-gold .page-eyebrow { color: var(--navy); }

/* bread crumb on light pages */
.breadcrumb a { color: var(--navy) !important; opacity: .7; }
.breadcrumb a:hover { color: var(--gold) !important; opacity: 1; }
.breadcrumb span { color: var(--muted) !important; }

/* form labels — gold on white */
.form-group label { color: var(--navy) !important; }

/* footer headings — gold on navy is fine, but verify */
.foot-col h4 { color: var(--gold-lt); }

/* office-city — gold on ivory */
.office-city { color: var(--navy) !important; }


/* ═══════════════════════════════════════════════════════
   DEFINITIVE CONTRAST FIXES — May 2026
   All gold/light text visibility issues resolved here
   ═══════════════════════════════════════════════════════ */

/* 1. MEGA MENU — white bg, all text must be dark */
.mega { color: var(--charcoal); }
.mega * { color: inherit; }
.mega-hd { color: var(--navy) !important; border-bottom-color: rgba(163,124,39,.3); }
.mega-sub-hd { color: var(--navy) !important; opacity: .7; }
.mega-list a { color: var(--charcoal) !important; }
.mega-list a:hover { color: var(--navy) !important; }
.mega-list li::before { color: var(--gold) !important; }
.mega-badge { color: var(--navy) !important; }

/* 2. NAV items on white nav bar */
.ni { color: var(--navy); }
.ni:hover, .ni.active { color: var(--navy); border-bottom-color: var(--gold); }

/* 3. SERVICE SIDEBAR — ivory background */
.svc-sb { background: var(--ivory); }
.svc-sb-item { color: var(--navy); }
.svc-sb-item:hover { color: var(--navy); opacity: 1; }
.svc-sb-item.active { color: var(--navy) !important; border-left-color: var(--gold); }
.svc-sb-item.active .svc-sb-txt { color: var(--navy) !important; font-weight: 700; }

/* 4. SEC-TAG on any light background */
.sec-tag { color: var(--gold-lt); } /* gold on dark — correct */
.page-hero .sec-tag,
.card.bg-light .sec-tag,
.card.bg-ivory .sec-tag,
[style*="background:var(--ivory)"] .sec-tag,
[style*="background:var(--light)"] .sec-tag,
[style*="background:#F"] .sec-tag { color: var(--navy) !important; }

/* 5. PAGE EYEBROW */
.page-eyebrow { color: var(--gold-lt); } /* gold on dark hero — correct */

/* 6. CARD-DK — navy background, all text must be light */
.card-dk { color: var(--plat); }
.card-dk .c-ttl { color: var(--white) !important; }
.card-dk .c-dsc { color: var(--plat) !important; }
.card-dk .c-link { color: var(--gold-lt) !important; }
.card-dk .c-num { color: var(--gold-lt) !important; }
.card-dk p { color: var(--plat); }
.card-dk h3, .card-dk h4 { color: var(--white); }

/* 7. LIGHT CARDS — white/ivory background */
.card { color: var(--charcoal); }
.card .c-ttl { color: var(--navy) !important; }
.card .c-dsc { color: var(--muted) !important; }
.card .c-link { color: var(--navy) !important; }
.card .c-num { color: var(--navy) !important; }

/* 8. FORM LABELS — always navy on white */
.form-group label { color: var(--navy) !important; }
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--plat); opacity: .7; }

/* 9. SVG-TAB active states */
.svc-tab.active { color: var(--navy) !important; border-bottom-color: var(--gold) !important; }

/* 10. FOOTER — navy bg, text must be light */
.site-footer .c-ttl { color: var(--white) !important; }
.foot-col h4 { color: var(--gold-lt) !important; }
.foot-col li a { color: var(--plat) !important; opacity: .65; }
.foot-col li a:hover { color: var(--gold-lt) !important; opacity: 1; }

/* 11. BREADCRUMB on light pages */
.breadcrumb a { color: var(--navy) !important; opacity: .7; }
.breadcrumb a:hover { color: var(--gold) !important; opacity: 1; }

/* 12. ISO CHIPS on dark backgrounds */
.iso-chip .iso-code { color: var(--white); }
.iso-chip .iso-name { color: var(--plat); opacity: .7; }
.iso-chip:hover .iso-code { color: var(--gold-lt) !important; }

/* 13. STAT/WHO cards */
.who-stat-val { color: var(--gold-lt); }
.who-stat-lbl { color: var(--plat); }

/* 14. CONTACT section — dark bg */
.contact-section label { color: var(--plat) !important; }

/* 15. General rule — prevent gold text on any white/ivory container */
[class*="bg-white"] *:not(svg):not(path) { color: var(--charcoal); }
[class*="bg-light"] .sec-tag,
[class*="bg-ivory"] .sec-tag { color: var(--navy) !important; }

/* ── SIDEBAR LABEL CONTRAST FIXES ── */
/* "CURRENT SERVICE" label — navy bg — needs light text */
.svc-sb-label { color: rgba(255,255,255,.55) !important; }
/* "OTHER SERVICES" section label — white bg — needs dark text */
.svc-sb-sec-label { color: rgba(0,16,64,.45) !important; }
/* Inactive tab text — increase from 40% to 75% opacity */
.svc-tab { color: rgba(255,255,255,.75) !important; }
.svc-tab:hover { color: #C9A84C !important; }
.svc-tab.active { color: #C9A84C !important; border-bottom-color: #A37C27 !important; }
/* Sidebar item text */
.svc-sb-txt { color: #444 !important; }
.svc-sb-item.active .svc-sb-txt { color: var(--navy) !important; font-weight: 700; }
/* Category label on white — e.g. "CATEGORY 01 · 8 STANDARDS" */
.c-sub-hd { color: var(--navy) !important; opacity: .6; }
.c-num { color: var(--navy) !important; }
/* Breadcrumb on hero */
.page-eyebrow { color: rgba(255,255,255,.65) !important; }
.page-eyebrow::before { background: rgba(255,255,255,.4) !important; }

/* ── GOLD BRIGHTNESS ON DARK BACKGROUNDS ── */
/* Ensure gold is bright enough on navy/dark — use gold-lt (#C9A84C) not gold (#A37C27) */
.sec.dark .sec-tag,
.sec-dk .sec-tag,
.card-dk .sec-tag,
.page-hero .sec-tag,
.hero .sec-tag,
.page-hero .page-eyebrow,
.hero .h-tag,
[class*="svc-hero"] .h-tag { color: #C9A84C !important; opacity: 1 !important; }

/* Sub-group headers in dark sidebars */
.sub-group-hdr,
.submenu .sub-group-hdr { color: rgba(201,168,76,.85) !important; }

/* Sticky panel labels */
.sticky-label,
.sticky-formats-hdr { color: rgba(201,168,76,.85) !important; }

/* Training sidebar labels */
.sub-item-days { color: rgba(255,255,255,.55) !important; }

/* Breadcrumb/eyebrow on dark hero */
.h-tag { color: rgba(201,168,76,.9) !important; }
.svc-hero-tag { color: rgba(201,168,76,.9) !important; }

/* ISO chips border */
.iso-chip { border-color: rgba(201,168,76,.25) !important; }
.iso-chip:hover { border-color: rgba(201,168,76,.6) !important; }

/* Gold borders more visible */
.who-split { border-color: rgba(201,168,76,.2); }
