/*
 * DigiFrontiers — styles.css
 * Production stylesheet
 * Do not edit inline — all styles live here
 */

/* ══════════════════════════════════════
   RESET
══════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.7;
  color: #0D2B4E;
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ══════════════════════════════════════
   VARIABLES
══════════════════════════════════════ */
:root {
  --navy:    #0D2B4E;
  --navy-dk: #081d35;
  --teal:    #0D7A7A;
  --teal-lt: #0d9090;
  --gold:    #C9A84C;
  --white:   #ffffff;
  --off:     #F5F6F8;
  --border:  #D8DDE6;
  --text:    #1a2e45;
  --muted:   #4a5e72;
  --serif:   'EB Garamond', Georgia, serif;
  --sans:    'DM Sans', system-ui, sans-serif;
  --mono:    'DM Mono', monospace;
}

/* ══════════════════════════════════════
   TYPOGRAPHY
══════════════════════════════════════ */
h1 { font-family: var(--serif); font-size: clamp(2.6rem, 4.5vw, 4.4rem); font-weight: 500; line-height: 1.08; letter-spacing: -0.01em; color: var(--navy); }
h2 { font-family: var(--serif); font-size: clamp(2rem, 3vw, 2.8rem); font-weight: 500; line-height: 1.15; color: var(--navy); }
h3 { font-family: var(--serif); font-size: clamp(1.4rem, 2vw, 1.75rem); font-weight: 500; line-height: 1.2; color: var(--navy); }
h4 { font-family: var(--sans); font-size: 1rem; font-weight: 500; color: var(--navy); }
p  { font-size: 1.0625rem; line-height: 1.78; color: var(--muted); }
a  { color: inherit; text-decoration: none; }

.label {
  display: block;
  font-family: var(--mono);
  font-size: 0.6875rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.gold-rule {
  display: block;
  width: 40px;
  height: 2px;
  background: var(--gold);
  margin-bottom: 22px;
}

/* ══════════════════════════════════════
   LAYOUT
══════════════════════════════════════ */
.wrap       { max-width: 1160px; margin: 0 auto; padding: 0 48px; }
.wrap-wide  { max-width: 1320px; margin: 0 auto; padding: 0 48px; }
section     { padding: 88px 0; }
.grid-2     { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.grid-3     { display: grid; grid-template-columns: repeat(3,1fr); gap: 32px; }

/* ══════════════════════════════════════
   BUTTONS
══════════════════════════════════════ */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  padding: 14px 32px;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.18s ease;
  border: none;
  text-decoration: none;
}
.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: var(--teal-lt); }
.btn-ghost { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,0.45); }
.btn-ghost:hover { border-color: rgba(255,255,255,0.85); background: rgba(255,255,255,0.07); }
.btn-outline { background: transparent; color: var(--navy); border: 1.5px solid var(--border); }
.btn-outline:hover { border-color: var(--teal); color: var(--teal); }
.btn-sm { font-size: 0.875rem; padding: 10px 22px; }

/* ══════════════════════════════════════
   HEADER
══════════════════════════════════════ */
#hdr {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  height: 72px;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center;
  transition: box-shadow 0.25s;
}
#hdr.shadow { box-shadow: 0 2px 24px rgba(13,43,78,0.09); }
.hdr-in {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 48px;
}
.hdr-logo { display: flex; align-items: center; cursor: pointer; }
.hdr-logo img { height: 40px; width: auto; display: block; }
nav.desk { display: flex; align-items: center; gap: 40px; }
nav.desk a {
  font-size: 0.9375rem; font-weight: 400; color: var(--navy);
  opacity: 0.75; letter-spacing: 0.01em; transition: opacity 0.15s;
}
nav.desk a:hover { opacity: 1; color: var(--teal); }
nav.desk .ncta {
  background: var(--navy); color: #fff; padding: 10px 24px;
  border-radius: 2px; opacity: 1; font-weight: 500;
  font-size: 0.875rem; letter-spacing: 0.04em;
}
nav.desk .ncta:hover { background: var(--teal); }

/* Hamburger */
.hbg {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; background: none; border: none; padding: 6px;
}
.hbg span { display: block; width: 24px; height: 1.5px; background: var(--navy); transition: all 0.25s; }

/* Mobile overlay */
#mob-nav {
  display: none; position: fixed; inset: 0;
  background: var(--navy-dk); z-index: 950;
  flex-direction: column; align-items: center; justify-content: center; gap: 36px;
}
#mob-nav.open { display: flex; }
#mob-nav a {
  font-family: var(--serif); font-size: 2.2rem; color: rgba(255,255,255,0.85);
  letter-spacing: 0.01em; transition: color 0.15s;
}
#mob-nav a:hover { color: var(--gold); }
#mob-close {
  position: absolute; top: 22px; right: 28px;
  background: none; border: none; color: rgba(255,255,255,0.5);
  font-size: 1.6rem; cursor: pointer; font-family: var(--sans); line-height: 1;
}

/* ══════════════════════════════════════
   HERO
══════════════════════════════════════ */
#hero {
  background: var(--navy);
  min-height: 100vh;
  display: flex; align-items: center;
  padding-top: 72px;
  position: relative; overflow: hidden;
}
.hero-teal {
  position: absolute; top: 0; right: 0;
  width: 40%; height: 100%;
  background: rgba(13,122,122,0.09);
  clip-path: polygon(0% 0, 100% 0, 100% 100%);
  pointer-events: none;
}
.hero-gold-line {
  position: absolute; top: 0; right: 0;
  width: 38%; height: 100%;
  pointer-events: none; overflow: hidden;
}
.hero-gold-line::after {
  content: '';
  position: absolute; top: -10%; left: 62%;
  width: 1px; height: 120%;
  background: linear-gradient(to bottom, transparent 0%, rgba(201,168,76,0.35) 20%, rgba(201,168,76,0.50) 55%, rgba(201,168,76,0.35) 80%, transparent 100%);
}
.hero-body { position: relative; z-index: 2; max-width: 720px; }
.hero-eyebrow {
  font-family: var(--mono); font-size: 0.75rem;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: rgba(201,168,76,0.85); margin-bottom: 28px;
  display: flex; align-items: center; gap: 14px;
}
.hero-eyebrow::before { content: ''; display: block; width: 28px; height: 1px; background: rgba(201,168,76,0.65); }
.hero-h1 {
  font-family: var(--serif);
  font-size: clamp(3.2rem, 5.5vw, 5.6rem);
  font-weight: 500; line-height: 1.06;
  color: #ffffff; letter-spacing: -0.015em;
  margin-bottom: 28px;
}
.hero-h1 .teal { color: var(--teal); font-style: italic; }
.hero-sub {
  font-size: 1.125rem; font-weight: 400;
  color: rgba(255,255,255,0.58); line-height: 1.72;
  max-width: 560px; margin-bottom: 44px;
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

/* ══════════════════════════════════════
   WHO WE HELP (home strip)
══════════════════════════════════════ */
#who-home { background: var(--off); padding: 80px 0; }
.who-intro { max-width: 700px; margin-bottom: 52px; }
.who-intro h2 { margin-bottom: 18px; }
.who-intro p { font-size: 1.0625rem; }
.aud-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 2px; }
.aud-card {
  background: var(--white); padding: 40px 36px;
  border-top: 2px solid transparent;
  transition: border-color 0.2s, transform 0.2s;
  position: relative; overflow: hidden;
}
.aud-card:hover { border-top-color: var(--teal); transform: translateY(-3px); }
.aud-num { font-family: var(--mono); font-size: 0.6875rem; letter-spacing: 0.18em; color: var(--gold); display: block; margin-bottom: 18px; }
.aud-card h3 { font-size: 1.45rem; margin-bottom: 14px; }
.aud-card p { font-size: 0.9375rem; line-height: 1.72; color: var(--muted); margin-bottom: 24px; }
.aud-link { font-size: 0.875rem; font-weight: 500; color: var(--teal); display: flex; align-items: center; gap: 6px; }
.aud-link::after { content: '→'; transition: transform 0.18s; }
.aud-card:hover .aud-link::after { transform: translateX(4px); }

/* ══════════════════════════════════════
   CAPABILITIES STRIP
══════════════════════════════════════ */
#cap-home { background: var(--white); padding: 88px 0; }
.cap-hdr { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 52px; flex-wrap: wrap; gap: 20px; }
.cap-hdr h2 { margin: 0; }
.cap-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); }
.cap-card {
  background: var(--white); padding: 36px 28px;
  transition: background 0.22s; cursor: pointer; display: block; text-decoration: none;
}
.cap-card:hover { background: var(--navy); }
.cap-card:hover .cap-n { color: rgba(201,168,76,0.75); }
.cap-card:hover h4 { color: #fff; }
.cap-card:hover .cap-p { color: rgba(255,255,255,0.48); }
.cap-card:hover .cap-arr { color: var(--teal); opacity: 1; }
.cap-n { font-family: var(--mono); font-size: 0.625rem; letter-spacing: 0.2em; color: var(--gold); display: block; margin-bottom: 18px; }
.cap-card h4 { font-size: 0.9375rem; line-height: 1.3; margin-bottom: 12px; transition: color 0.22s; }
.cap-p { font-size: 0.875rem; line-height: 1.65; color: var(--muted); margin-bottom: 20px; transition: color 0.22s; }
.cap-arr { font-size: 1rem; color: var(--teal); opacity: 0.7; transition: color 0.22s, opacity 0.22s; }

/* ══════════════════════════════════════
   BEYOND FINANCIAL SERVICES
══════════════════════════════════════ */
#beyond { background: var(--navy); padding: 80px 0; }
#beyond .label { color: var(--gold); }
#beyond h2 { color: #fff; margin-bottom: 24px; }
#beyond p { color: rgba(255,255,255,0.58); font-size: 1.0625rem; line-height: 1.78; margin-bottom: 16px; }
#beyond p:last-child { margin-bottom: 0; }
.beyond-inner { max-width: 760px; }

/* ══════════════════════════════════════
   SELECTED EXPERIENCE
══════════════════════════════════════ */
#exp-home { background: var(--off); padding: 88px 0; }
.exp-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-top: 48px; }
.exp-card {
  background: var(--white); padding: 36px 32px;
  border-top: 2px solid transparent; transition: border-color 0.2s;
}
.exp-card:hover { border-top-color: var(--gold); }
.exp-tag { font-family: var(--mono); font-size: 0.625rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--teal); display: block; margin-bottom: 14px; }
.exp-card h4 { font-family: var(--serif); font-size: 1.2rem; margin-bottom: 12px; line-height: 1.3; }
.exp-card p { font-size: 0.9375rem; line-height: 1.72; color: var(--muted); }
.disc { font-family: var(--mono); font-size: 0.6875rem; color: #7a8fa0; letter-spacing: 0.05em; line-height: 1.6; margin-top: 32px; padding-top: 18px; border-top: 1px solid var(--border); }

/* ══════════════════════════════════════
   WHY DIGIFRONTIERS
══════════════════════════════════════ */
#why { background: var(--white); padding: 88px 0; }
.why-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 0; border: 1px solid var(--border); margin-top: 52px; }
.why-item { padding: 36px 28px; border-right: 1px solid var(--border); }
.why-item:last-child { border-right: none; }
.why-ic { width: 32px; height: 32px; margin-bottom: 18px; }
.why-ic svg { width: 22px; height: 22px; stroke: var(--teal); fill: none; stroke-width: 1.5; }
.why-item h4 { font-size: 0.9375rem; font-weight: 500; margin-bottom: 10px; }
.why-item p { font-size: 0.875rem; color: var(--muted); line-height: 1.68; }

/* ══════════════════════════════════════
   INSIGHTS STRIP
══════════════════════════════════════ */
#ins-home { background: var(--off); padding: 88px 0; }
.ins-hdr { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 48px; flex-wrap: wrap; gap: 20px; }
.ins-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 2px; }
.ins-card {
  background: var(--white); padding: 36px 32px;
  display: block; text-decoration: none; transition: transform 0.2s;
}
.ins-card:hover { transform: translateY(-3px); }
.ins-cat { font-family: var(--mono); font-size: 0.625rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--teal); display: block; margin-bottom: 14px; }
.ins-card h4 { font-family: var(--serif); font-size: 1.2rem; line-height: 1.3; color: var(--navy); margin-bottom: 12px; }
.ins-card p { font-size: 0.9375rem; color: var(--muted); line-height: 1.65; margin-bottom: 20px; }
.ins-link { font-size: 0.875rem; font-weight: 500; color: var(--teal); display: flex; align-items: center; gap: 6px; }
.ins-link::after { content: '→'; transition: transform 0.18s; }
.ins-card:hover .ins-link::after { transform: translateX(4px); }

/* ══════════════════════════════════════
   FINAL CTA BAND
══════════════════════════════════════ */
#cta-band { background: var(--navy); padding: 96px 0; text-align: center; position: relative; overflow: hidden; }
#cta-band::before {
  content: ''; position: absolute; top: 0; right: 0;
  width: 38%; height: 100%;
  background: rgba(13,122,122,0.07);
  clip-path: polygon(18% 0, 100% 0, 100% 100%);
}
#cta-band h2 { color: #fff; margin-bottom: 18px; position: relative; }
#cta-band p { color: rgba(255,255,255,0.52); font-size: 1.0625rem; max-width: 520px; margin: 0 auto 40px; position: relative; }

/* ══════════════════════════════════════
   PAGE HERO (inner pages)
══════════════════════════════════════ */
.pg-hero {
  background: var(--navy); padding: 148px 0 84px;
  position: relative; overflow: hidden;
}
.pg-hero::after {
  content: ''; position: absolute; top: 0; right: 0;
  width: 44%; height: 100%;
  background: rgba(13,122,122,0.08);
  clip-path: polygon(22% 0, 100% 0, 100% 100%);
}
.pg-hero .label { color: var(--gold); position: relative; z-index: 1; }
.pg-hero h1 { color: #fff; position: relative; z-index: 1; margin-bottom: 20px; font-size: clamp(2.2rem, 3.8vw, 3.6rem); }
.pg-hero p { color: rgba(255,255,255,0.52); font-size: 1.0625rem; max-width: 560px; position: relative; z-index: 1; line-height: 1.72; }

/* ══════════════════════════════════════
   WHO WE HELP (inner)
══════════════════════════════════════ */
.wh-sec { padding: 80px 0; }
.wh-sec:nth-child(even) { background: var(--off); }
.prob-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 36px; }
.prob-card { background: var(--white); padding: 26px 28px; border-left: 2px solid var(--teal); }
.prob-card p { font-size: 0.9375rem; line-height: 1.72; color: var(--text); }
.steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; border: 1px solid var(--border); margin-top: 40px; }
.step { padding: 28px 24px; border-right: 1px solid var(--border); }
.step:last-child { border-right: none; }
.step-n { font-family: var(--mono); font-size: 0.6875rem; color: var(--gold); letter-spacing: 0.16em; display: block; margin-bottom: 12px; }
.step h4 { font-size: 0.9375rem; margin-bottom: 8px; }
.step p { font-size: 0.875rem; color: var(--muted); line-height: 1.65; }

/* ══════════════════════════════════════
   CAPABILITIES (inner)
══════════════════════════════════════ */
.cap-sec { padding: 80px 0; border-bottom: 1px solid var(--border); }
.cap-sec:last-child { border-bottom: none; }
.cap-sec-alt { background: var(--off); }
.cap-layout { display: grid; grid-template-columns: 5fr 7fr; gap: 72px; align-items: start; }
.cap-side h2 { font-size: clamp(1.8rem, 2.5vw, 2.4rem); margin-bottom: 18px; }
.cap-side p { font-size: 1rem; line-height: 1.75; color: var(--muted); margin-bottom: 14px; }
.scope-box { background: rgba(13,122,122,0.05); border: 1px solid rgba(13,122,122,0.18); padding: 24px 26px; margin-top: 24px; }
.scope-box strong { font-family: var(--sans); font-size: 0.75rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--teal); display: block; margin-bottom: 10px; }
.scope-box p { font-size: 0.9rem; color: var(--muted); margin: 0; }
.focus-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.focus-item { padding: 26px 24px; background: var(--white); border-top: 1px solid var(--border); }
.cap-sec-alt .focus-item { background: var(--white); }
.focus-item h4 { font-size: 0.9375rem; margin-bottom: 8px; }
.focus-item p { font-size: 0.875rem; line-height: 1.68; color: var(--muted); margin: 0; }
.rel-for { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--border); }
.rel-for strong { font-size: 0.75rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); display: block; margin-bottom: 10px; }
.rel-for p { font-size: 0.9rem; color: var(--muted); line-height: 1.75; }

/* ══════════════════════════════════════
   ABOUT
══════════════════════════════════════ */
.ab-intro { padding: 80px 0; }
.ab-intro p { font-size: 1.0625rem; line-height: 1.78; margin-bottom: 16px; }
.ab-stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; border: 1px solid var(--border); margin-top: 52px; }
.ab-stat { padding: 28px 24px; border-right: 1px solid var(--border); }
.ab-stat:last-child { border-right: none; }
.ab-stat-v { font-family: var(--serif); font-size: 2rem; color: var(--navy); line-height: 1; margin-bottom: 6px; }
.ab-stat-l { font-family: var(--mono); font-size: 0.6875rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.exp-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.exp-tag-p { font-family: var(--mono); font-size: 0.625rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--navy); background: var(--off); border: 1px solid var(--border); padding: 6px 12px; }
.model-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 0; border: 1px solid var(--border); margin-top: 52px; }
.model-col { padding: 36px 32px; border-right: 1px solid var(--border); }
.model-col:last-child { border-right: none; }
.model-col h4 { font-size: 0.875rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--navy); margin-bottom: 14px; }
.model-col p { font-size: 0.9375rem; line-height: 1.72; color: var(--muted); }
.values-dark { background: var(--navy); padding: 80px 0; }
.val-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 44px; margin-top: 44px; }
.val-item h3 { color: #fff; font-size: 1.35rem; margin-bottom: 14px; }
.val-item p { color: rgba(255,255,255,0.52); font-size: 0.9375rem; line-height: 1.75; }

/* ══════════════════════════════════════
   INSIGHTS PAGE
══════════════════════════════════════ */
.filt-row { display: flex; gap: 0; border: 1px solid var(--border); width: fit-content; margin: 44px 0 32px; overflow: hidden; }
.filt-btn { font-family: var(--mono); font-size: 0.625rem; letter-spacing: 0.14em; text-transform: uppercase; padding: 11px 18px; background: none; border: none; border-right: 1px solid var(--border); cursor: pointer; color: var(--muted); transition: all 0.18s; }
.filt-btn:last-child { border-right: none; }
.filt-btn.on, .filt-btn:hover { background: var(--navy); color: #fff; }
.ins-full { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.sub-box { background: var(--navy); padding: 48px 52px; display: flex; align-items: center; justify-content: space-between; gap: 40px; margin-top: 60px; }
.sub-box h3 { color: #fff; font-size: 1.5rem; margin-bottom: 6px; }
.sub-box p { color: rgba(255,255,255,0.45); font-size: 0.9375rem; }
.sub-form { display: flex; flex-shrink: 0; }
.sub-form input { font-family: var(--sans); font-size: 0.9375rem; padding: 13px 20px; border: 1px solid rgba(255,255,255,0.22); background: rgba(255,255,255,0.07); color: #fff; outline: none; width: 240px; border-right: none; }
.sub-form input::placeholder { color: rgba(255,255,255,0.32); }
.sub-form button { font-family: var(--sans); font-size: 0.875rem; font-weight: 500; padding: 13px 22px; background: var(--teal); color: #fff; border: none; cursor: pointer; transition: background 0.18s; }
.sub-form button:hover { background: var(--teal-lt); }

/* ══════════════════════════════════════
   CONTACT
══════════════════════════════════════ */
.ct-grid { display: grid; grid-template-columns: 6fr 4fr; gap: 80px; padding: 80px 0; }
.ct-form label { font-family: var(--mono); font-size: 0.625rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); display: block; margin-bottom: 7px; }
.ct-form input, .ct-form textarea {
  width: 100%; font-family: var(--sans); font-size: 1rem; font-weight: 400;
  color: var(--navy); background: var(--white);
  border: 1px solid var(--border); padding: 14px 18px;
  outline: none; transition: border-color 0.18s; margin-bottom: 20px; display: block;
  border-radius: 0; -webkit-appearance: none;
}
.ct-form input:focus, .ct-form textarea:focus { border-color: var(--teal); }
.ct-form textarea { min-height: 140px; resize: vertical; }
.ct-form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 0; }
.ct-form .row2 input { margin-bottom: 0; }
.ct-info-item { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--border); }
.ct-info-item:last-child { border-bottom: none; }
.ct-info-ic { width: 34px; height: 34px; background: var(--off); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ct-info-ic svg { width: 16px; height: 16px; stroke: var(--teal); fill: none; stroke-width: 1.5; }
.ct-lbl { font-family: var(--mono); font-size: 0.625rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); display: block; margin-bottom: 3px; }
.ct-val { font-size: 0.9375rem; color: var(--navy); }
.ct-val a { color: var(--teal); }
.ct-val a:hover { text-decoration: underline; }
.ct-note { background: var(--off); border-top: 2px solid var(--teal); padding: 24px 26px; margin-top: 24px; }
.ct-note h4 { font-size: 0.9375rem; margin-bottom: 10px; }
.ct-note p { font-size: 0.9rem; color: var(--muted); line-height: 1.68; margin: 0; }
#form-ok { display: none; background: #edf8f4; border: 1px solid rgba(13,122,122,0.3); padding: 24px; }
#form-ok p { color: var(--teal); font-size: 1rem; font-weight: 500; margin: 0; }

/* ══════════════════════════════════════
   FOOTER
══════════════════════════════════════ */
#ftr { background: var(--navy-dk); padding: 68px 0 36px; }
.ftr-top { display: grid; grid-template-columns: 2.5fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.ftr-brand img { height: 36px; display: block; margin-bottom: 16px; }
.ftr-tag { font-family: var(--mono); font-size: 0.6875rem; color: rgba(255,255,255,0.3); letter-spacing: 0.12em; margin-bottom: 16px; }
.ftr-email { font-size: 0.9rem; color: rgba(255,255,255,0.4); }
.ftr-email:hover { color: var(--teal); }
.ftr-col-t { font-family: var(--mono); font-size: 0.625rem; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.28); margin-bottom: 18px; display: block; }
.ftr-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.ftr-links a { font-size: 0.9rem; color: rgba(255,255,255,0.5); transition: color 0.18s; }
.ftr-links a:hover { color: var(--teal); }
.ftr-bot { display: flex; justify-content: space-between; align-items: center; padding-top: 28px; flex-wrap: wrap; gap: 12px; }
.ftr-legal { font-size: 0.8125rem; color: rgba(255,255,255,0.22); }
.ftr-legal a { color: rgba(255,255,255,0.3); }

/* ══════════════════════════════════════
   PAGES
══════════════════════════════════════ */
.pg { display: none; }
.pg.on { display: block; }
#pg-home { display: block; }

/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */
@media (max-width: 1024px) {
  .cap-grid { grid-template-columns: repeat(3, 1fr); }
  .why-grid { grid-template-columns: repeat(3, 1fr); }
  .why-item:nth-child(3n) { border-right: none; }
  .why-item:nth-child(n+4) { border-top: 1px solid var(--border); }
  .ftr-top { grid-template-columns: 1fr 1fr; gap: 36px; }
  .ftr-brand { grid-column: span 2; }
  .cap-layout { grid-template-columns: 1fr; gap: 36px; }
  .ab-stats { grid-template-columns: repeat(2,1fr); }
  .ab-stat:nth-child(2) { border-right: none; }
  .ab-stat:nth-child(n+3) { border-top: 1px solid var(--border); }
  .ab-stat:nth-child(4) { border-right: none; }
  .wrap { padding: 0 28px; }
  .wrap-wide { padding: 0 28px; }
}
@media (max-width: 768px) {
  section, .wh-sec, .cap-sec { padding: 56px 0; }
  .pg-hero { padding: 120px 0 60px; }
  .grid-2, .aud-grid, .exp-grid, .ins-grid, .ins-full,
  .prob-grid, .focus-grid, .val-grid, .model-grid { grid-template-columns: 1fr; gap: 16px; }
  .cap-grid { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .why-item { border-right: none !important; border-top: 1px solid var(--border) !important; }
  .why-item:first-child { border-top: none !important; }
  .steps { grid-template-columns: 1fr 1fr; }
  .step:nth-child(2n) { border-right: none; }
  .step:nth-child(n+3) { border-top: 1px solid var(--border); }
  nav.desk { display: none; }
  .hbg { display: flex; }
  .hero-teal, .hero-gold-line { display: none; }
  .ct-grid { grid-template-columns: 1fr; gap: 40px; }
  .ftr-top { grid-template-columns: 1fr; }
  .ftr-brand { grid-column: span 1; }
  .sub-box { flex-direction: column; }
  .sub-form { width: 100%; }
  .sub-form input { flex: 1; }
  .hero-ctas { flex-direction: column; align-items: flex-start; }
  .hero-ctas .btn { width: 100%; text-align: center; }
  .cap-hdr, .ins-hdr { flex-direction: column; align-items: flex-start; }
  .ct-form .row2 { grid-template-columns: 1fr; }
  .ct-form .row2 input { margin-bottom: 20px; }
}
@media (max-width: 480px) {
  .wrap { padding: 0 18px; }
  .hdr-in { padding: 0 18px; }
  .cap-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr !important; }
  .steps { grid-template-columns: 1fr; }
  .step { border-right: none !important; border-top: 1px solid var(--border) !important; }
  .step:first-child { border-top: none !important; }
  .filt-row { flex-wrap: wrap; }
  .filt-btn { border-bottom: 1px solid var(--border); }
  body { font-size: 17px; }
}