/* ══════════════════════════════════════════════════════════════════
   TOKENS
══════════════════════════════════════════════════════════════════ */
:root {
  /* ── Deep teal (replaces forest green) ── */
  --teal-dark:  #0B5469;   /* hero bg, nav, dark sections */
  --teal:       #1079A0;   /* primary brand teal */
  --teal-mid:   #2296BE;   /* hovers, tags, lighter elements */
  --teal-light: #E0F3F9;   /* very pale teal section backgrounds */

  /* ── Warm amber accent (approachable, trustworthy) ── */
  --amber:      #E8932A;   /* CTA buttons, eyebrows, accent */
  --amber-dk:   #C97C1C;   /* amber hover */
  --gold:       #D4A040;   /* floating cards, italic headings */

  /* ── Neutrals ── */
  --cream:  #FAFCFD;
  --off:    #F0F7FA;   /* light section backgrounds */
  --parch:  #E8F4F8;   /* card/panel backgrounds */
  --warm:   #D2E9EF;   /* borders, dividers */
  --ink:    #0C2530;   /* near-black for headings */
  --mid:    #45636E;   /* body text */
  --border: #BDD9E2;   /* input/card borders */

  --serif: 'Playfair Display', Georgia, serif;   /* decorative display headings only */
  --ui:    'DM Sans', system-ui, sans-serif;      /* nav, buttons, labels, UI chrome */
  --body:  'Nunito', 'DM Sans', system-ui, sans-serif; /* body prose, cards, paragraphs */
  --sans:  'DM Sans', system-ui, sans-serif;      /* legacy alias — same as --ui */

  /* Readable size scale — nothing below 13px */
  --text-xs:   0.8125rem;  /* 13px — absolute minimum, badges only */
  --text-sm:   0.875rem;   /* 14px — secondary labels, captions */
  --text-base: 1rem;       /* 16px — body baseline */
  --text-md:   1.0625rem;  /* 17px — lead paragraphs */
  --text-lg:   1.125rem;   /* 18px — card headings */

  --sh1: 0 2px 8px rgba(11,84,105,.06);
  --sh2: 0 8px 32px rgba(11,84,105,.12);
  --sh3: 0 20px 60px rgba(11,84,105,.18);
  --r: 16px;
  --r2: 10px;
  --max: 1240px;
}

/* ══════════════════════════════════════════════════════════════════
   RESET
══════════════════════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--body); color: var(--ink); background: var(--cream);
  font-size: var(--text-base); line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
@media (hover: none) { body { cursor: auto; } }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
.hidden { display: none !important; }
*:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 4px; }

/* Normal system cursor restored */

/* ══════════════════════════════════════════════════════════════════
   SCROLL PROGRESS BAR
══════════════════════════════════════════════════════════════════ */
#progress-bar {
  position: fixed; top: 0; left: 0; height: 2px;
  background: var(--amber); z-index: 999; width: 0%;
  transition: width .1s linear;
}

/* ══════════════════════════════════════════════════════════════════
   SKIP LINK
══════════════════════════════════════════════════════════════════ */
.skip-link {
  position: absolute; top: -999px; left: 8px; padding: 8px 16px;
  background: var(--teal-dark); color: #fff; border-radius: var(--r2);
  font-size: .9rem; font-weight: 600; z-index: 9999; cursor: auto;
  transition: top .2s;
}
.skip-link:focus { top: 8px; }

/* ══════════════════════════════════════════════════════════════════
   NAVIGATION
══════════════════════════════════════════════════════════════════ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .35s, box-shadow .35s;
  background: rgba(11,84,105,.55);
  backdrop-filter: blur(8px);
  padding: 0;
}
/* Scrolled nav — dark teal, logo and text stay white */
.nav.scrolled {
  background: rgba(11,84,105,.97);
  box-shadow: 0 1px 0 rgba(255,255,255,.08);
  backdrop-filter: blur(12px);
}
.nav-inner {
  max-width: var(--max); margin: 0 auto; padding: 0 32px;
  display: flex; align-items: center; justify-content: space-between;
  height: 76px;
}
.nav-logo {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--ui); font-size: 1rem; font-weight: 700;
  color: var(--cream); text-decoration: none; border: none; background: none;
  letter-spacing: .01em;
  transition: color .3s;
}
.nav-logo-mark { display: flex; align-items: center; flex-shrink: 0; }
.nav-logo-svg { transition: all .3s; }

.nav-links {
  display: flex; gap: 0; list-style: none; align-items: center;
}
.nav-links li > a,
.nav-links li > button {
  background: none; border: none; cursor: pointer;
  font-family: var(--ui); font-size: var(--text-sm); font-weight: 500;
  letter-spacing: 0; text-transform: none;
  color: rgba(240,247,250,.85); padding: 8px 14px;
  border-radius: var(--r2); position: relative;
  transition: color .25s;
  display: inline-flex; align-items: center;
  text-decoration: none;
}
.nav-links li > a::after,
.nav-links li > button::after {
  content: ''; position: absolute; bottom: 4px; left: 16px; right: 16px;
  height: 1px; background: var(--amber);
  transform: scaleX(0); transform-origin: left;
  transition: transform .25s;
}
.nav-links li > a:hover,
.nav-links li > a.active,
.nav-links li > button:hover,
.nav-links li > button.active { color: #fff; }
.nav-links li > a:hover::after,
.nav-links li > a.active::after,
.nav-links li > button:hover::after,
.nav-links li > button.active::after { transform: scaleX(1); }

.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-btn-ghost {
  background: none; border: 1px solid rgba(240,247,250,.3);
  color: rgba(240,247,250,.9); font-family: var(--ui);
  font-size: var(--text-sm); font-weight: 600; letter-spacing: 0;
  padding: 8px 18px; border-radius: 999px; cursor: pointer;
  transition: all .25s;
}
.nav-btn-ghost:hover { background: rgba(240,247,250,.1); border-color: rgba(240,247,250,.6); }
.nav-btn-fill {
  background: var(--amber); color: #fff;
  border: none; font-family: var(--ui);
  font-size: var(--text-sm); font-weight: 700; letter-spacing: 0;
  padding: 9px 20px; border-radius: 999px; cursor: pointer;
  transition: background .2s, transform .15s;
}
.nav-btn-fill:hover { background: var(--amber-dk); transform: translateY(-1px); }

.nav-ham {
  display: none; background: none; border: none; 
  flex-direction: column; gap: 5px; padding: 8px;
}
.nav-ham span { display: block; width: 22px; height: 2px; background: var(--cream); border-radius: 2px; transition: all .3s; }

.nav-ham.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-ham.open span:nth-child(2) { opacity: 0; }
.nav-ham.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-links, .nav-actions { display: none; }
  .nav-ham { display: flex; }
}

/* Full-screen overlay menu */
.nav-overlay {
  position: fixed; inset: 0; z-index: 99;
  background: var(--teal-dark);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity .35s;
}
.nav-overlay.open { opacity: 1; pointer-events: all; }
.nav-overlay ul { list-style: none; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.nav-overlay ul li button {
  background: none; border: none; 
  font-family: var(--serif); font-size: clamp(2rem, 6vw, 3.5rem);
  font-style: italic; color: rgba(240,247,250,.75);
  padding: 8px 24px; transition: color .2s;
}
.nav-overlay ul li button:hover { color: #fff; }
.nav-overlay-contact {
  margin-top: 40px;
  display: flex; gap: 16px; flex-wrap: wrap; justify-content: center;
}

/* ══════════════════════════════════════════════════════════════════
   SHARED LAYOUT
══════════════════════════════════════════════════════════════════ */
.wrap   { max-width: var(--max); margin: 0 auto; padding: 0 32px; }
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }

.eyebrow {
  font-family: var(--ui); font-size: var(--text-xs); font-weight: 700;
  letter-spacing: .09em; text-transform: uppercase; color: var(--amber);
  display: flex; align-items: center; gap: 10px; margin-bottom: 14px;
}
.eyebrow::before {
  content: ''; display: block; width: 28px; height: 1px;
  background: var(--amber); flex-shrink: 0;
}
.eyebrow.light::before { background: rgba(240,247,250,.5); }
.eyebrow.light { color: rgba(240,247,250,.6); }

.display-title {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  font-weight: 700; line-height: 1.1;
  color: var(--teal-dark); letter-spacing: -.01em;
}
.display-title em { font-style: italic; color: var(--amber); }
.display-title.light { color: #fff; }
.display-title.light em { color: var(--gold); }

.body-lead {
  font-size: var(--text-md); color: var(--mid); line-height: 1.8; max-width: 580px;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--ui); font-size: var(--text-sm); font-weight: 600;
  letter-spacing: .01em; text-transform: none;
  padding: 13px 26px; border-radius: 999px; cursor: pointer;
  transition: all .22s; border: 2px solid transparent;
  text-decoration: none; line-height: 1.3;
}
.btn svg { transition: transform .2s; }
.btn:hover svg { transform: translateX(3px); }
.btn-terra  { background: var(--amber);    color: #fff; border-color: var(--amber); }
.btn-terra:hover { background: var(--amber-dk); border-color: var(--amber-dk); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(232,147,42,.3); }
.btn-forest { background: var(--teal-dark); color: #fff; border-color: var(--teal-dark); }
.btn-forest:hover { background: var(--teal); transform: translateY(-2px); }
.btn-outline { background: transparent; border-color: var(--teal-dark); color: var(--teal-dark); }
.btn-outline:hover { background: var(--teal-dark); color: #fff; }
.btn-outline-light { background: transparent; border-color: rgba(255,255,255,.45); color: #fff; }
.btn-outline-light:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.75); }
.btn-gold { background: var(--gold); color: var(--teal-dark); border-color: var(--gold); }
.btn-gold:hover { filter: brightness(1.06); transform: translateY(-2px); }

/* ══════════════════════════════════════════════════════════════════
   IMAGE PLACEHOLDER
══════════════════════════════════════════════════════════════════ */
.ph {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px; position: relative; overflow: hidden;
  background: linear-gradient(135deg, #ddd8ce 0%, #ede8de 40%, #ddd8ce 100%);
}
.ph::before {
  content: ''; position: absolute; inset: 0;
  background: repeating-linear-gradient(-45deg, rgba(0,0,0,.025) 0, rgba(0,0,0,.025) 1px, transparent 1px, transparent 7px);
}
.ph-icon { font-size: 2rem; opacity: .35; position: relative; z-index: 1; }
.ph-label { font-family: var(--ui); font-size: var(--text-xs); font-weight: 600; color: #8a9faa; position: relative; z-index: 1; text-align: center; padding: 0 12px; }
.ph-sub   { font-family: var(--body); font-size: .7rem; color: #b5ae9c; position: relative; z-index: 1; text-align: center; padding: 0 12px; }
.ph.dark  { background: linear-gradient(135deg, #0a4558 0%, #0b5469 50%, #0a4558 100%); }
.ph.dark::before { background: repeating-linear-gradient(-45deg, rgba(255,255,255,.03) 0, rgba(255,255,255,.03) 1px, transparent 1px, transparent 8px); }
.ph.dark .ph-icon { opacity: .2; }
.ph.dark .ph-label { color: rgba(240,247,250,.3); }
.ph.dark .ph-sub   { color: rgba(240,247,250,.2); }
.ph.terra { background: linear-gradient(135deg, #c97c1c 0%, #e8932a 50%, #c97c1c 100%); }
.ph.terra::before { background: repeating-linear-gradient(-45deg, rgba(255,255,255,.04) 0, rgba(255,255,255,.04) 1px, transparent 1px, transparent 8px); }
.ph.terra .ph-icon, .ph.terra .ph-label, .ph.terra .ph-sub { opacity: .5; color: rgba(255,255,255,.6); }

/* ══════════════════════════════════════════════════════════════════
   REVEAL ANIMATION (IntersectionObserver)
══════════════════════════════════════════════════════════════════ */
.reveal {
  opacity: 0; transform: translateY(32px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }
.reveal-delay-5 { transition-delay: .5s; }

/* ══════════════════════════════════════════════════════════════════
   HOME — HERO (full-width background)
══════════════════════════════════════════════════════════════════ */
.hero {
  min-height: 92vh;
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  padding-top: 76px; /* nav height */
}
/* Background image layer */
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background-image: url('images/FGC5.jpg');
  background-size: cover; background-position: center 40%;
  transform: scale(1.04); /* slight scale for parallax room */
}
/* Teal overlay — keeps text readable over any photo */
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(
    160deg,
    rgba(11,84,105,.90) 0%,
    rgba(11,84,105,.78) 50%,
    rgba(8,61,82,.82) 100%
  );
}
/* Soft vignette at bottom so ticker strip blends cleanly */
.hero-bottom-fade {
  position: absolute; bottom: 0; left: 0; right: 0; height: 180px; z-index: 1;
  background: linear-gradient(to bottom, transparent, rgba(11,84,105,.5));
  pointer-events: none;
}

.hero-inner {
  position: relative; z-index: 2;
  max-width: 860px; margin: 0 auto;
  padding: 96px 32px 88px;
  display: flex; flex-direction: column; align-items: flex-start;
  flex: 1; width: 100%;
}

.hero-text { max-width: 780px; }

.hero-sup {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--ui); font-size: var(--text-xs); font-weight: 700;
  letter-spacing: .07em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 28px;
}
.hero-sup::before { content: ''; display: block; width: 24px; height: 1px; background: var(--gold); }

.hero-h1 {
  font-family: var(--serif);
  line-height: 1; font-weight: 900; color: #fff;
  margin-bottom: 32px;
}
.hero-h1-line1 { display: block; font-size: clamp(3rem, 6vw, 6rem); font-weight: 400; color: rgba(255,255,255,.5); letter-spacing: -.02em; }
.hero-h1-line2 { display: block; font-size: clamp(4rem, 8vw, 8.5rem); letter-spacing: -.03em; color: #fff; line-height: .95; }
.hero-h1-line3 { display: block; font-size: clamp(3rem, 6vw, 6.5rem); font-style: italic; color: var(--gold); letter-spacing: -.01em; margin-top: 6px; }

.hero-desc {
  font-size: var(--text-md); color: rgba(255,255,255,.82); line-height: 1.8;
  max-width: 540px; margin-bottom: 36px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 48px; }

/* Credential chips row */
.hero-trust {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  padding-top: 32px; border-top: 1px solid rgba(255,255,255,.12);
}
.trust-badge {
  display: flex; align-items: center; gap: 7px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15);
  border-radius: 999px; padding: 6px 14px;
  font-family: var(--ui); font-size: var(--text-xs); font-weight: 600;
  letter-spacing: .03em; color: rgba(255,255,255,.8);
}
.trust-badge-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--teal-mid); flex-shrink: 0; }
.trust-badge.live { border-color: rgba(74,222,128,.35); background: rgba(74,222,128,.08); color: rgba(255,255,255,.9); }
.trust-badge.live .trust-badge-dot {
  background: #4ADE80;
  box-shadow: 0 0 0 3px rgba(74,222,128,.25);
  animation: trustPulse 2s infinite;
}
@keyframes trustPulse {
  0%,100% { box-shadow: 0 0 0 3px rgba(74,222,128,.2); }
  50%      { box-shadow: 0 0 0 6px rgba(74,222,128,.06); }
}

/* Stat pills — bottom right absolute on desktop */
.hero-stats {
  position: absolute; bottom: 88px; right: 32px; z-index: 2;
  display: flex; flex-direction: column; gap: 12px;
  align-items: flex-end;
}
.hero-stat-pill {
  background: rgba(255,255,255,.97); backdrop-filter: blur(12px);
  border-radius: var(--r); padding: 14px 20px;
  box-shadow: var(--sh2); display: flex; align-items: center; gap: 12px;
  animation: floatCard 4s ease-in-out infinite;
  transition: box-shadow .2s, transform .2s;
}
.hero-stat-pill:hover {
  box-shadow: var(--sh3);
  background: rgba(255,255,255,1);
}
.hero-stat-pill:nth-child(2) { animation-delay: 1.2s; }
@keyframes floatCard { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-6px)} }
.hero-stat-pill .pill-num { font-family: var(--serif); font-size: 1.6rem; font-weight: 700; color: var(--amber); line-height: 1; }
.hero-stat-pill .pill-lbl { font-family: var(--ui); font-size: var(--text-sm); font-weight: 500; color: var(--mid); line-height: 1.35; }
.hero-stat-pill .pill-badge { background: var(--amber); color: #fff; border-radius: 999px; padding: 4px 10px; font-family: var(--ui); font-size: var(--text-xs); font-weight: 700; white-space: nowrap; }

@media (max-width: 900px) {
  .hero-inner { padding: 72px 24px 72px; }
  .hero-h1-line1 { font-size: 3rem; }
  .hero-h1-line2 { font-size: 4rem; }
  .hero-h1-line3 { font-size: 3rem; }
  .hero-stats { display: none; }
  .hero-bg { background-position: 65% center; }
}
@media (max-width: 560px) {
  .hero-h1-line2 { font-size: 3.2rem; }
}

/* ══════════════════════════════════════════════════════════════════
   TICKER / MARQUEE STRIP
══════════════════════════════════════════════════════════════════ */
.ticker-strip {
  background: var(--amber); padding: 14px 0; overflow: hidden;
  border-top: 1px solid rgba(255,255,255,.1);
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.ticker-track {
  display: flex; gap: 0;
  animation: ticker 30s linear infinite;
  width: max-content;
}
.ticker-track:hover { animation-play-state: paused; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.ticker-item {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--ui); font-size: var(--text-sm); font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase; color: rgba(255,255,255,.9);
  white-space: nowrap; padding: 0 32px;
}
.ticker-sep { opacity: .4; font-size: .8rem; }

/* ══════════════════════════════════════════════════════════════════
   HOME — SERVICES GRID
══════════════════════════════════════════════════════════════════ */
.services-section { background: var(--parch); padding: 104px 0 96px; position: relative; }

.section-header {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 56px; gap: 32px; flex-wrap: wrap;
}
.section-num {
  font-family: var(--serif); font-size: 8rem; font-weight: 900;
  color: rgba(232,147,42,.12); line-height: 1;
  font-style: italic; user-select: none;
  flex-shrink: 0; margin-bottom: -12px;
}

.svc-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 1100px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .svc-grid { grid-template-columns: 1fr; } }

.svc-card {
  border-radius: var(--r); overflow: hidden;
  position: relative; cursor: pointer;
  transition: transform .3s, box-shadow .3s;
}
.svc-card:hover { transform: translateY(-5px); box-shadow: var(--sh3); }
.svc-card-img {
  width: 100%; aspect-ratio: 3/4;
  position: relative;
}
.svc-card-overlay {
  position: absolute; inset: 0;
  /* Gradient tall enough to keep text readable at all times */
  background: linear-gradient(to top, rgba(11,84,105,.97) 45%, rgba(11,84,105,.3) 75%, rgba(11,84,105,.0) 100%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 24px 22px 26px;
}
.svc-card-num {
  font-family: var(--ui); font-size: var(--text-xs); font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 6px;
}
.svc-card h3 {
  font-family: var(--ui); font-size: var(--text-lg); font-weight: 700;
  color: #fff; line-height: 1.3; margin-bottom: 10px;
}
/* Description always visible — no hover-only content */
.svc-card p {
  font-size: var(--text-sm); color: rgba(255,255,255,.82); line-height: 1.65;
  margin-bottom: 14px;
}
.svc-card-arrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--ui); font-size: var(--text-sm); font-weight: 600;
  color: var(--gold);
}

/* ══════════════════════════════════════════════════════════════════
   HOME — MISSION QUOTE SECTION
══════════════════════════════════════════════════════════════════ */
.quote-section {
  background: var(--cream); padding: 112px 0;
  text-align: center; position: relative; overflow: hidden;
}
.quote-mark {
  font-family: var(--serif); font-size: 18rem; line-height: 1;
  color: rgba(232,147,42,.07); position: absolute; top: -40px; left: 50%;
  transform: translateX(-50%); pointer-events: none; user-select: none;
}
.quote-text {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(1.6rem, 3.5vw, 2.8rem); font-weight: 400;
  color: var(--teal-dark); line-height: 1.4; max-width: 820px;
  margin: 0 auto 28px; position: relative; z-index: 1;
}
.quote-attr {
  font-family: var(--ui); font-size: var(--text-sm); font-weight: 600;
  letter-spacing: .02em; color: var(--amber);
}

/* ══════════════════════════════════════════════════════════════════
   HOME — WHO WE SERVE (SPLIT)
══════════════════════════════════════════════════════════════════ */
.split-section { background: var(--parch); padding: 96px 0; }
.split-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 72px; align-items: center;
}
@media (max-width: 900px) {
  .split-grid { grid-template-columns: 1fr; gap: 48px; }
  .split-reverse-mobile { order: -1; }
}

.split-image { border-radius: 24px; overflow: hidden; }
.funding-list { list-style: none; display: flex; flex-direction: column; gap: 20px; margin: 32px 0 40px; }
.funding-item {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 20px 22px; border-radius: var(--r);
  background: #fff; border: 1px solid var(--border);
  transition: border-color .2s, box-shadow .2s;
}
.funding-item:hover { border-color: var(--teal-mid); box-shadow: var(--sh1); }
.funding-icon {
  width: 40px; height: 40px; border-radius: var(--r2);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; flex-shrink: 0;
}
.fi-yes { background: #DCFCE7; }
.fi-no  { background: #FEF9C3; }
.funding-item h4 { font-family: var(--ui); font-size: var(--text-base); font-weight: 700; color: var(--teal-dark); margin-bottom: 4px; }
.funding-item p  { font-size: var(--text-base); color: var(--mid); line-height: 1.55; }

/* ══════════════════════════════════════════════════════════════════
   HOME — DIFFERENTIATORS
══════════════════════════════════════════════════════════════════ */
.diff-section {
  background: var(--teal-dark); padding: 104px 0; position: relative; overflow: hidden;
}
.diff-section::after {
  content: '01'; font-family: var(--serif); font-size: 40vw; font-weight: 900;
  color: rgba(255,255,255,.015); position: absolute; right: -4vw; bottom: -8vh;
  line-height: 1; pointer-events: none; user-select: none;
}
.diff-list { margin-top: 64px; }
.diff-item {
  display: grid; grid-template-columns: 80px 1fr auto;
  gap: 32px; align-items: start;
  padding: 40px 0; border-top: 1px solid rgba(240,247,250,.08);
  transition: background .2s;
}
.diff-item:last-child { border-bottom: 1px solid rgba(240,247,250,.08); }
.diff-item:hover { background: rgba(240,247,250,.02); }
.diff-num {
  font-family: var(--serif); font-size: 3.5rem; font-weight: 900;
  color: rgba(240,247,250,.1); line-height: 1; font-style: italic;
  transition: color .25s;
}
.diff-item:hover .diff-num { color: var(--amber); }
.diff-content h3 {
  font-family: var(--ui); font-size: 1.2rem; font-weight: 700;
  color: #fff; margin-bottom: 10px;
}
.diff-content p { font-size: var(--text-base); color: rgba(240,247,250,.72); line-height: 1.75; max-width: 560px; }
.diff-tag {
  font-family: var(--ui); font-size: var(--text-xs); font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--teal-mid); background: rgba(34,150,190,.15);
  border-radius: 999px; padding: 6px 14px; white-space: nowrap;
  align-self: center;
}
@media (max-width: 768px) {
  .diff-item { grid-template-columns: 48px 1fr; }
  .diff-tag { display: none; }
  .diff-num { font-size: 2.5rem; }
}

/* ══════════════════════════════════════════════════════════════════
   HOME — CTA BANNER
══════════════════════════════════════════════════════════════════ */
.cta-banner {
  background: var(--amber); padding: 96px 0;
  text-align: center; position: relative; overflow: hidden;
}
.cta-banner::before {
  content: ''; position: absolute; inset: 0;
  background: repeating-linear-gradient(-45deg, rgba(255,255,255,.03) 0, rgba(255,255,255,.03) 1px, transparent 1px, transparent 12px);
}
.cta-banner h2 {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(2rem, 4.5vw, 3.8rem); color: var(--ink);
  line-height: 1.1; margin-bottom: 20px;
}
.cta-banner p { font-size: var(--text-md); color: rgba(12,37,48,.75); margin-bottom: 36px; }
.cta-banner-inner { position: relative; z-index: 1; max-width: 680px; margin: 0 auto; padding: 0 32px; }

/* ══════════════════════════════════════════════════════════════════
   PAGE HERO (inner pages)
══════════════════════════════════════════════════════════════════ */
.pg-hero {
  background: var(--teal-dark); padding: 96px 0 56px;
  position: relative; overflow: hidden;
}
.pg-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(34,150,190,.2) 0%, transparent 60%);
}
.pg-hero-inner { max-width: var(--max); margin: 0 auto; padding: 0 32px; position: relative; z-index: 1; }
.pg-hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 900px) { .pg-hero-grid { grid-template-columns: 1fr; } .pg-hero-img { display: none; } }
.pg-hero-img { border-radius: 20px; overflow: hidden; }
.pg-hero h1 {
  font-family: var(--serif); font-size: clamp(2.2rem, 4vw, 3.4rem);
  color: #fff; line-height: 1.15; margin-bottom: 16px; font-weight: 700;
}
.pg-hero h1 em { font-style: italic; color: var(--gold); }
/* White on teal-dark passes WCAG AA at 0.85 opacity — bump to full white */
.pg-hero p { font-size: var(--text-md); color: rgba(255,255,255,.88); line-height: 1.75; max-width: 520px; }
.pg-hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }

/* ══════════════════════════════════════════════════════════════════
   SERVICES PAGE
══════════════════════════════════════════════════════════════════ */
.services-page-body { background: var(--cream); padding: 56px 0 88px; }
.info-strip {
  background: #FFF8EE; border-left: 3px solid var(--amber);
  border-radius: 0 var(--r2) var(--r2) 0; padding: 16px 22px;
  font-size: var(--text-sm); color: #6b3e00; line-height: 1.65; margin-bottom: 36px;
}
.info-strip strong { color: #4a2900; }
.search-row { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.search-box { flex: 1; min-width: 220px; position: relative; }
.search-box svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--mid); width: 15px; height: 15px; }
.srch {
  width: 100%; padding: 12px 14px 12px 42px;
  border: 1.5px solid var(--border); border-radius: 999px;
  font-family: var(--ui); font-size: var(--text-base); color: var(--ink); background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.srch:focus { border-color: var(--amber); box-shadow: 0 0 0 3px rgba(232,147,42,.1); outline: none; }
.cat-select {
  padding: 12px 18px; border: 1.5px solid var(--border); border-radius: 999px;
  font-family: var(--ui); font-size: var(--text-base); color: var(--ink); background: #fff; cursor: pointer;
  transition: border-color .2s;
}
.cat-select:focus { border-color: var(--amber); outline: none; }
.svc-count-lbl { font-family: var(--ui); font-size: var(--text-sm); font-weight: 500; color: var(--mid); margin-bottom: 12px; }

.tbl-wrap { overflow-x: auto; border-radius: var(--r); border: 1px solid var(--border); box-shadow: var(--sh1); }
table { width: 100%; border-collapse: collapse; font-size: var(--text-sm); }
thead th {
  background: var(--teal-dark); color: rgba(255,255,255,.95); padding: 14px 18px;
  text-align: left; font-family: var(--ui); font-size: var(--text-sm); font-weight: 600;
  letter-spacing: 0; text-transform: none; white-space: nowrap;
}
thead th:first-child { border-radius: var(--r) 0 0 0; }
thead th:last-child  { border-radius: 0 var(--r) 0 0; }
tbody tr { border-bottom: 1px solid var(--warm); transition: background .12s; }
tbody tr:last-child { border-bottom: none; }
tbody tr:hover { background: var(--teal-light); }
td { padding: 14px 18px; color: var(--mid); vertical-align: top; line-height: 1.6; }
td:first-child { color: var(--teal-dark); font-weight: 600; }
.badge { display: inline-block; padding: 4px 11px; border-radius: 999px; font-size: var(--text-xs); font-weight: 600; font-family: var(--ui); }
.badge-b { background: #DBEAFE; color: #1D4ED8; }
.badge-g { background: #D1FAE5; color: #065F46; }
.badge-p { background: #EDE9FE; color: #5B21B6; }
.badge-o { background: #FEF3C7; color: #92400E; }
.empty-state { padding: 56px 24px; text-align: center; color: var(--mid); font-size: var(--text-base); }

/* ══════════════════════════════════════════════════════════════════
   ABOUT PAGE
══════════════════════════════════════════════════════════════════ */
.about-body { background: var(--cream); padding: 72px 0 96px; }
.team-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 56px; }
@media (max-width: 640px) { .team-grid { grid-template-columns: 1fr; } }
.team-card {
  border-radius: var(--r); overflow: hidden;
  border: 1px solid var(--border); background: #fff; box-shadow: var(--sh1);
  transition: box-shadow .25s, transform .25s;
}
.team-card:hover { box-shadow: var(--sh2); transform: translateY(-4px); }
.team-card-photo { aspect-ratio: 1/1; }
.team-card-body { padding: 28px 26px 30px; }
.team-card-role { font-family: var(--ui); font-size: var(--text-xs); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--amber); margin-bottom: 8px; }
.team-card-body h3 { font-family: var(--serif); font-size: 1.4rem; font-style: italic; margin-bottom: 10px; color: var(--teal-dark); }
.team-card-body p { font-size: var(--text-base); color: var(--mid); line-height: 1.75; }

.values-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 44px; }
@media (max-width: 640px) { .values-grid { grid-template-columns: 1fr; } }
.value-item {
  background: var(--parch); border-radius: var(--r); padding: 28px 24px;
  position: relative;
}
.value-item-num {
  position: absolute; top: 20px; right: 20px;
  font-family: var(--serif); font-size: 2.5rem; font-weight: 900; font-style: italic;
  color: rgba(232,147,42,.1); line-height: 1; user-select: none;
}
.value-item h4 { font-family: var(--ui); font-size: var(--text-lg); font-weight: 700; color: var(--teal-dark); margin-bottom: 10px; }
.value-item p  { font-size: var(--text-base); color: var(--mid); line-height: 1.75; }

.stat-strip { background: var(--teal-dark); border-radius: var(--r); padding: 36px 32px; margin: 56px 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 32px; }
.stat-item { text-align: center; }
.stat-num { font-family: var(--serif); font-size: 2.2rem; font-weight: 700; font-style: italic; color: var(--gold); }
.stat-lbl { font-family: var(--ui); font-size: var(--text-xs); font-weight: 500; color: rgba(255,255,255,.65); margin-top: 6px; }

.abn-strip {
  background: var(--parch); border-radius: var(--r); padding: 22px 26px;
  border: 1px solid var(--border); margin-top: 24px;
  display: flex; flex-wrap: wrap; gap: 24px;
}
.abn-item {}
.abn-label { font-family: var(--ui); font-size: var(--text-xs); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--mid); margin-bottom: 4px; }
.abn-val { font-family: var(--ui); font-size: var(--text-base); font-weight: 700; color: var(--teal-dark); }

/* ══════════════════════════════════════════════════════════════════
   REFERRERS PAGE
══════════════════════════════════════════════════════════════════ */
.ref-body { background: var(--cream); padding: 72px 0 96px; }
.cred-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 40px; }
@media (max-width: 768px) { .cred-grid { grid-template-columns: 1fr; } }
.cred-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--r); padding: 28px; box-shadow: var(--sh1);
}
.cred-card-title {
  font-family: var(--ui); font-size: var(--text-sm); font-weight: 700;
  letter-spacing: .02em; text-transform: none; color: var(--teal-mid);
  padding-bottom: 14px; border-bottom: 1px solid var(--warm); margin-bottom: 18px;
}
.cred-row { display: flex; justify-content: space-between; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--warm); gap: 12px; }
.cred-row:last-child { border-bottom: none; }
.cred-lbl { font-size: var(--text-sm); color: var(--mid); }
.cred-val { font-size: var(--text-sm); font-weight: 600; color: var(--teal-dark); text-align: right; }
.cred-pill-ok { background: #DCFCE7; color: #166534; border-radius: 999px; padding: 4px 12px; font-size: var(--text-xs); font-weight: 700; font-family: var(--ui); }

.svc-lines { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 18px; margin-top: 32px; }
.svc-line-card {
  background: var(--parch); border-radius: var(--r); padding: 24px 22px;
  border-left: 3px solid var(--amber);
}
.svc-line-card .ico { font-size: 1.6rem; margin-bottom: 12px; }
.svc-line-card h4 { font-family: var(--ui); font-size: var(--text-lg); font-weight: 700; color: var(--teal-dark); margin-bottom: 8px; }
.svc-line-card p  { font-size: var(--text-base); color: var(--mid); line-height: 1.7; }

.steps-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; margin-top: 36px; }
.step-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--r); padding: 28px 24px; box-shadow: var(--sh1);
}
.step-num {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--amber); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--ui); font-weight: 700; font-size: var(--text-base);
  margin-bottom: 16px;
}
.step-card h4 { font-family: var(--ui); font-size: var(--text-lg); font-weight: 700; margin-bottom: 8px; color: var(--teal-dark); }
.step-card p  { font-size: var(--text-base); color: var(--mid); line-height: 1.7; }

/* ══════════════════════════════════════════════════════════════════
   RESOURCES PAGE
══════════════════════════════════════════════════════════════════ */
.res-body { background: var(--cream); padding: 72px 0 96px; }
.accordion { display: flex; flex-direction: column; gap: 0; border-radius: var(--r); overflow: hidden; border: 1px solid var(--border); }
.accordion-item { background: #fff; border-bottom: 1px solid var(--warm); }
.accordion-item:last-child { border-bottom: none; }
.accordion-toggle {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  padding: 20px 28px; background: none; border: none; cursor: pointer;
  text-align: left; gap: 16px;
  transition: background .2s;
}
.accordion-toggle:hover { background: var(--parch); }
.accordion-toggle-title { font-family: var(--ui); font-size: var(--text-lg); font-weight: 600; color: var(--teal-dark); }
.accordion-arrow {
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--parch); color: var(--amber);
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem; flex-shrink: 0; transition: transform .3s, background .2s;
}
.accordion-item.open .accordion-arrow { transform: rotate(180deg); background: var(--amber); color: #fff; }
.accordion-body {
  max-height: 0; overflow: hidden;
  transition: max-height .4s ease;
  padding: 0 28px;
}
.accordion-item.open .accordion-body { max-height: 700px; }
.accordion-body-inner { padding-bottom: 28px; padding-top: 4px; }
.accordion-body p   { font-size: var(--text-base); color: var(--mid); line-height: 1.8; margin-bottom: 12px; }
.accordion-body ul  { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-top: 12px; }
.accordion-body li  { font-size: var(--text-base); color: var(--mid); padding-left: 22px; position: relative; line-height: 1.65; }
.accordion-body li::before { content: '→'; position: absolute; left: 0; color: var(--amber); font-size: .8rem; top: 2px; }

/* ══════════════════════════════════════════════════════════════════
   CAREERS PAGE
══════════════════════════════════════════════════════════════════ */
.careers-body { background: var(--cream); padding: 72px 0 96px; }
.careers-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 768px) { .careers-grid { grid-template-columns: 1fr; } }
.career-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--r); padding: 28px; box-shadow: var(--sh1);
}
.career-card h3 { font-family: var(--ui); font-size: var(--text-lg); font-weight: 700; color: var(--teal-dark); margin-bottom: 12px; }
.career-card p  { font-size: var(--text-base); color: var(--mid); line-height: 1.75; }
.apply-box {
  background: var(--teal-dark); border-radius: var(--r); padding: 48px 40px;
  margin-top: 40px; text-align: center;
}
.apply-box h3 { font-family: var(--serif); font-style: italic; font-size: 2rem; color: #fff; margin-bottom: 14px; }
.apply-box p  { color: rgba(255,255,255,.78); margin-bottom: 28px; font-size: var(--text-md); line-height: 1.7; }

/* ══════════════════════════════════════════════════════════════════
   CONTACT PAGE
══════════════════════════════════════════════════════════════════ */
.contact-body { background: var(--parch); padding: 72px 0 96px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.7fr; gap: 48px; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-aside { }
.contact-aside-header {
  background: var(--teal-dark); border-radius: var(--r) var(--r) 0 0;
  padding: 32px 28px;
}
.contact-aside-header h3 { font-family: var(--serif); font-size: 1.6rem; font-style: italic; color: #fff; margin-bottom: 6px; }
.contact-aside-header p  { font-size: var(--text-base); color: rgba(255,255,255,.78); line-height: 1.65; }
.contact-aside-body { background: #fff; border: 1px solid var(--border); border-top: none; border-radius: 0 0 var(--r) var(--r); padding: 0 28px; }
.contact-detail { display: flex; gap: 16px; align-items: flex-start; padding: 20px 0; border-bottom: 1px solid var(--warm); }
.contact-detail:last-of-type { border-bottom: none; }
.contact-detail-icon {
  width: 44px; height: 44px; border-radius: var(--r2);
  background: var(--parch); display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; flex-shrink: 0;
}
.contact-detail-lbl { font-family: var(--ui); font-size: var(--text-xs); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--mid); margin-bottom: 4px; }
.contact-detail-val { font-size: var(--text-base); font-weight: 500; color: var(--teal-dark); line-height: 1.5; }
.contact-aside-img { margin: 0 28px 28px; border-radius: var(--r2); overflow: hidden; }

.form-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--r); padding: 40px; box-shadow: var(--sh2);
  position: sticky; top: 92px;
}
.form-card h3 { font-family: var(--serif); font-style: italic; font-size: 1.5rem; color: var(--teal-dark); margin-bottom: 28px; }
.form-group { margin-bottom: 20px; }
.form-label { display: block; margin-bottom: 7px; font-family: var(--ui); font-size: var(--text-sm); font-weight: 600; color: var(--teal-dark); }
.form-label span { color: #C53030; }
.form-input, .form-select, .form-textarea {
  width: 100%; padding: 12px 16px;
  border: 1.5px solid var(--border); border-radius: var(--r2);
  font-family: var(--body); font-size: var(--text-base); color: var(--ink);
  background: #fff; transition: border-color .2s, box-shadow .2s;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--amber); box-shadow: 0 0 0 3px rgba(232,147,42,.12); outline: none;
}
.form-textarea { resize: vertical; min-height: 120px; line-height: 1.65; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.form-submit {
  width: 100%; padding: 15px;
  background: var(--amber); color: #fff; border: none;
  border-radius: 999px; font-family: var(--ui); font-size: var(--text-base);
  font-weight: 700; cursor: pointer;
  transition: background .2s, transform .12s;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.form-submit:hover { background: var(--amber-dk); }
.form-submit:active { transform: scale(.99); }
.success-msg { background: #F0FDF4; border: 1px solid #BBF7D0; border-radius: var(--r); padding: 32px; text-align: center; }
.success-msg h4 { font-family: var(--serif); font-style: italic; font-size: 1.4rem; color: var(--teal-dark); margin-bottom: 8px; }
.success-msg p  { color: var(--mid); font-size: var(--text-base); line-height: 1.7; }

/* ══════════════════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════════════════ */
footer {
  background: var(--teal-dark); color: rgba(240,247,250,.5);
  padding: 72px 32px 36px;
}
.footer-grid {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-brand-logo {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 16px;
}
.footer-brand-name { font-family: var(--ui); font-size: 1rem; font-weight: 700; color: rgba(255,255,255,.9); }
.footer-tagline { font-size: var(--text-sm); line-height: 1.8; max-width: 260px; margin-bottom: 24px; color: rgba(255,255,255,.6); }
.footer-social { display: flex; gap: 10px; }
.soc {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.6); cursor: pointer; transition: all .2s;
  text-decoration: none;
}
.soc:hover { background: var(--amber); border-color: var(--amber); color: #fff; }
footer h5 {
  font-family: var(--ui); font-size: var(--text-xs); font-weight: 700;
  letter-spacing: .07em; text-transform: uppercase;
  color: rgba(255,255,255,.5); margin-bottom: 18px;
}
footer ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
footer ul li button {
  background: none; border: none; cursor: pointer;
  font-family: var(--body); font-size: var(--text-sm);
  color: rgba(255,255,255,.62); padding: 0; text-align: left;
  transition: color .18s;
}
footer ul li button:hover { color: rgba(255,255,255,.95); }
.footer-contact-items { display: flex; flex-direction: column; gap: 8px; font-size: var(--text-sm); color: rgba(255,255,255,.62); }
.footer-line { max-width: var(--max); margin: 48px auto 0; border: none; border-top: 1px solid rgba(255,255,255,.1); }
.footer-bottom {
  max-width: var(--max); margin: 24px auto 0;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-family: var(--ui); font-size: var(--text-xs); font-weight: 500;
  color: rgba(255,255,255,.35);
}
.footer-bottom a { color: rgba(255,255,255,.35); transition: color .2s; }
.footer-bottom a:hover { color: rgba(255,255,255,.7); }

/* ══════════════════════════════════════════════════════════════════
   UTILITY
══════════════════════════════════════════════════════════════════ */
.text-center { text-align: center; }
.mt-12 { margin-top: 12px; }
.mt-20 { margin-top: 20px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mt-64 { margin-top: 64px; }
.mb-16 { margin-bottom: 16px; }
.mb-32 { margin-bottom: 32px; }

/* ══════════════════════════════════════════════════════════════════
   REAL IMAGE UTILITIES
══════════════════════════════════════════════════════════════════ */
.img-real {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.img-wrap {
  width: 100%; overflow: hidden; border-radius: inherit; position: relative;
}
/* Service card images — img fills the aspect-ratio box */
.svc-card-img { overflow: hidden; }
.svc-card-img .img-real { width: 100%; height: 100%; position: absolute; inset: 0; }

/* Registration progress badge */
.reg-progress {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(232,147,42,.12); border: 1px solid rgba(232,147,42,.3);
  color: var(--amber-dk); border-radius: 999px;
  padding: 4px 12px; font-family: var(--ui); font-size: var(--text-xs);
  font-weight: 700;
}
.reg-progress-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--amber); flex-shrink: 0;
  animation: regPulse 2.5s ease-in-out infinite;
}
@keyframes regPulse {
  0%,100% { opacity: 1; } 50% { opacity: .4; }
}

/* Page transition */
.page-view { animation: pgFadeIn .45s ease both; }
@keyframes pgFadeIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }

/* ══════════════════════════════════════════════════════════════════
   LEGAL PAGES (privacy-policy.html, service-agreement.html)
══════════════════════════════════════════════════════════════════ */
.legal-section {
  margin-bottom: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--warm);
}
.legal-section:last-of-type { border-bottom: none; }
.legal-section h2 {
  font-family: var(--ui);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--teal-dark);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--teal-light);
}
.legal-section h3 {
  font-family: var(--ui);
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--ink);
  margin: 24px 0 10px;
}
.legal-section p {
  color: var(--mid);
  line-height: 1.85;
  margin-bottom: 14px;
}
.legal-section ul {
  margin: 0 0 16px 0;
  padding-left: 20px;
}
.legal-section ul li {
  color: var(--mid);
  line-height: 1.8;
  margin-bottom: 8px;
}
.legal-section a { color: var(--teal); }
.legal-section a:hover { color: var(--amber); }
.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 16px;
}
.legal-table td {
  padding: 10px 14px;
  font-family: var(--body);
  font-size: var(--text-base);
  color: var(--mid);
  border-bottom: 1px solid var(--warm);
}
.legal-table td:first-child {
  font-family: var(--ui);
  font-weight: 600;
  color: var(--ink);
  width: 160px;
  white-space: nowrap;
}
@media (max-width: 768px) {
  .legal-section { margin-bottom: 32px; padding-bottom: 32px; }
  aside { display: none !important; }
}

/* Privacy policy layout responsive fix */
@media (max-width: 1024px) {
  .legal-layout aside { display: none !important; }
}

/* ══════════════════════════════════════════════════════════════════
   NAV DROPDOWN
══════════════════════════════════════════════════════════════════ */
.nav-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}
.nav-dropdown-toggle {
  background: none; border: none; cursor: pointer;
  font-family: var(--ui); font-size: var(--text-sm); font-weight: 500;
  color: rgba(240,247,250,.85); padding: 8px 14px;
  border-radius: var(--r2); position: relative;
  transition: color .25s;
  display: flex; align-items: center; gap: 5px;
}
.nav-dropdown-toggle::after {
  content: ''; position: absolute; bottom: 4px; left: 16px; right: 16px;
  height: 1px; background: var(--amber);
  transform: scaleX(0); transform-origin: left;
  transition: transform .25s;
}
.nav-dropdown-toggle:hover,
.nav-dropdown-toggle.active { color: #fff; }
.nav-dropdown-toggle:hover::after,
.nav-dropdown-toggle.active::after { transform: scaleX(1); }
.nav-dropdown-toggle svg {
  transition: transform .25s; flex-shrink: 0;
}
.nav-dropdown:hover .nav-dropdown-toggle svg,
.nav-dropdown:focus-within .nav-dropdown-toggle svg { transform: rotate(180deg); }
.nav-dropdown-menu {
  position: absolute !important;
  top: calc(100% + 8px) !important;
  left: 0 !important;
  width: 260px !important;
  background: var(--teal-dark);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r);
  padding: 8px;
  box-shadow: var(--sh3);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity .2s, transform .2s;
  z-index: 500 !important;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1; pointer-events: all;
  transform: translateY(0);
}
.nav-dropdown-menu a {
  display: flex !important; align-items: center; gap: 10px;
  padding: 9px 12px !important; border-radius: var(--r2);
  font-family: var(--ui); font-size: var(--text-sm);
  font-weight: 500; color: rgba(255,255,255,.75) !important;
  text-decoration: none; width: 100%;
  transition: background .15s, color .15s;
  position: static;
}
.nav-dropdown-menu a::after { display: none !important; }
.nav-dropdown-menu a:hover {
  background: rgba(255,255,255,.08); color: #fff !important;
}
.nav-dropdown-menu a .drop-num {
  font-size: var(--text-xs); font-weight: 700; color: var(--amber);
  width: 20px; flex-shrink: 0;
}
.nav-dropdown-divider {
  height: 1px; background: rgba(255,255,255,.1); margin: 6px 4px;
}
.nav-dropdown-menu a.drop-catalogue {
  color: rgba(255,255,255,.5); font-size: var(--text-xs);
  letter-spacing: .04em; text-transform: uppercase; font-weight: 600;
}
.nav-dropdown-menu a.drop-catalogue:hover { color: rgba(255,255,255,.8); }

/* ══════════════════════════════════════════════════════════════════
   NAV DROPDOWN — JS controlled
══════════════════════════════════════════════════════════════════ */
.nav-has-dropdown { position: relative; list-style: none; }

.nav-dropdown-btn {
  background: none; border: none; cursor: pointer;
  font-family: var(--ui); font-size: var(--text-sm); font-weight: 500;
  color: rgba(240,247,250,.85); padding: 8px 14px;
  border-radius: var(--r2); position: relative;
  transition: color .25s;
  display: flex; align-items: center; gap: 5px;
  white-space: nowrap;
}
.nav-dropdown-btn:hover { color: #fff; }
.nav-dropdown-btn::after {
  content: ''; position: absolute; bottom: 4px; left: 14px; right: 14px;
  height: 1px; background: var(--amber);
  transform: scaleX(0); transform-origin: left; transition: transform .25s;
}
.nav-dropdown-btn:hover::after,
.nav-dropdown-btn.active::after { transform: scaleX(1); }
.nav-dropdown-btn.active { color: #fff; }
.nav-dropdown-btn .chevron { transition: transform .25s; }
.nav-dropdown-btn.open .chevron { transform: rotate(180deg); }

.nav-dropdown-panel {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  width: 250px;
  background: #0B5469;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px;
  padding: 6px;
  box-shadow: 0 20px 60px rgba(0,0,0,.35);
  z-index: 9999;
}
.nav-dropdown-panel.open { display: block; }

.nav-dropdown-panel a {
  display: flex !important;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 8px;
  font-family: var(--ui);
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255,255,255,.75) !important;
  text-decoration: none !important;
  transition: background .15s, color .15s;
  white-space: nowrap;
}
.nav-dropdown-panel a:hover {
  background: rgba(255,255,255,.1);
  color: #fff !important;
}
.nav-dropdown-panel a::after { display: none !important; }
.nav-drop-num {
  font-size: 0.75rem; font-weight: 700;
  color: #E8932A; width: 18px; flex-shrink: 0;
}
.nav-drop-divider {
  height: 1px; background: rgba(255,255,255,.1); margin: 4px 6px;
}
.nav-drop-all {
  color: rgba(255,255,255,.45) !important;
  font-size: 0.75rem !important;
  text-transform: uppercase; letter-spacing: .05em; font-weight: 600 !important;
}
