/* ============================================================
   BOLD SHIFT CONSULT — Brand & Design System (v2)
   Inspired by the "Business Consulting" template:
   Light periwinkle canvas · purple→violet gradient shapes ·
   teal accent labels · heavy rounded Poppins headings.
   Palette: Sky blue · Violet/Indigo · Teal (steel-blue) · Amber dot
   Type:    Poppins (display) · Inter (body)
   ============================================================ */

/* ---------- Design Tokens ----------
   NOTE: original token NAMES are kept (navy/gold/teal/cream) but
   remapped to the new palette, so existing markup re-themes cleanly:
     "navy" -> deep indigo (dark sections)
     "gold" -> teal/steel-blue (primary accent + labels)
     "teal" -> violet (secondary accent / shapes)
     "cream" -> light sky (soft backgrounds)
*/
:root {
  /* Dark-section family (deep indigo/blue) */
  --navy:        #2A2E86;
  --navy-700:    #1C1F63;
  --navy-600:    #3A3FB0;
  --indigo:      #4F46E5;

  /* Primary accent -> teal / steel-blue (was gold) */
  --gold:        #2E7C9E;
  --gold-600:    #246079;
  --gold-soft:   #CFE6EF;

  /* Secondary accent -> violet (was teal) */
  --teal:        #7A5BF0;
  --teal-600:    #6446E6;

  /* Extra brand hues */
  --violet:      #7A5BF0;
  --violet-300:  #B7A4FA;
  --amber:       #F4B740;

  /* Neutrals */
  --ink:         #15161C;
  --slate:       #414A5C;
  --slate-400:   #6E7A91;
  --line:        #D7E3F2;
  --cream:       #C9DCF4;   /* periwinkle section accent */
  --cream-2:     #DCEAF9;
  --sky-50:      #EDF4FB;   /* page base */
  --white:       #FFFFFF;

  /* Semantic */
  --bg:          var(--sky-50);
  --bg-alt:      var(--cream);
  --text:        var(--ink);
  --muted:       var(--slate);
  --accent:      var(--gold);

  /* Type */
  --font-serif:   "Satoshi", system-ui, sans-serif;
  --font-display: "Satoshi", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-body:    "Satoshi", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  /* Rhythm */
  --container:   1200px;
  --container-wide: 1340px;
  --radius:      20px;
  --radius-sm:   14px;
  --radius-lg:   30px;
  --shadow-sm:   0 1px 2px rgba(42,46,134,.06), 0 6px 18px rgba(42,46,134,.07);
  --shadow:      0 14px 34px -14px rgba(42,46,134,.24);
  --shadow-lg:   0 34px 64px -22px rgba(42,46,134,.32);
  --ease:        cubic-bezier(.22,.61,.36,1);
}

/* ---------- Reset ---------- */
*,*::before,*::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
button { font: inherit; cursor: pointer; }

/* ---------- Typography ---------- */
h1,h2,h3,h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.08; letter-spacing: -.02em; color: var(--ink); }
h1 { font-size: clamp(2.6rem, 5.6vw, 4.4rem); }
h2 { font-size: clamp(2rem, 3.8vw, 3.1rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); }
h4 { font-size: 1.12rem; }
p  { color: var(--muted); }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.3rem); color: var(--slate); line-height: 1.6; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--font-display);
  font-size: .76rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold-600);
}
.eyebrow::before { content:""; width: 26px; height: 3px; background: var(--gold); border-radius: 2px; }
.eyebrow.on-dark { color: var(--violet-300); }
.eyebrow.on-dark::before { background: var(--violet-300); }
.eyebrow.center { justify-content: center; }

.gradient-text {
  background: linear-gradient(100deg, var(--violet) 0%, var(--gold) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* Teal label block — the template's signature subtitle chip */
.tag {
  display: inline-block; padding: .5rem 1.05rem; border-radius: 8px;
  font-family: var(--font-display); font-weight: 600; font-size: .9rem;
  letter-spacing: .01em; background: var(--gold); color: #fff;
}
.tag.gold { background: var(--violet); color: #fff; }

/* ---------- Layout ---------- */
.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }
.container-wide { width: min(100% - 2.5rem, var(--container-wide)); margin-inline: auto; }
section { position: relative; }
.section { padding: clamp(3.5rem, 8vw, 7rem) 0; }
.section-sm { padding: clamp(2.5rem, 5vw, 4rem) 0; }
.bg-alt { background: var(--bg-alt); }
.bg-navy { background: linear-gradient(155deg, var(--navy-600) 0%, var(--navy-700) 100%); color: #D5DBF4; position: relative; overflow: hidden; }
.bg-navy::before { content:""; position:absolute; width:420px; height:420px; right:-120px; top:-140px; border-radius:50%; background: radial-gradient(circle, rgba(122,91,240,.5), transparent 68%); pointer-events:none; }
.bg-navy h1,.bg-navy h2,.bg-navy h3,.bg-navy h4 { color:#fff; }
.center { text-align: center; }
.mx-auto { margin-inline: auto; }
.measure { max-width: 46rem; }
.measure-sm { max-width: 34rem; }

.grid { display: grid; gap: 1.5rem; }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px){ .cols-3,.cols-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px){ .cols-2,.cols-3,.cols-4 { grid-template-columns: 1fr; } }

.section-head { max-width: 42rem; margin-bottom: clamp(2rem,4vw,3.2rem); }
.section-head.center { margin-inline: auto; }
.section-head h2 + p { margin-top: 1rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--font-display); font-weight: 600; font-size: .98rem;
  padding: .92rem 1.6rem; border-radius: 999px; border: 2px solid transparent;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s, color .3s, border-color .3s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { background: var(--gold); color: #fff; box-shadow: 0 12px 26px -12px rgba(46,124,158,.8); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 32px -12px rgba(46,124,158,.85); background: var(--gold-600); }
.btn-dark { background: var(--indigo); color: #fff; box-shadow: 0 12px 26px -12px rgba(79,70,229,.7); }
.btn-dark:hover { transform: translateY(-2px); background: #4038c9; }
.btn-ghost { background: transparent; color: var(--gold-600); border-color: #BBD2E4; }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); background: rgba(46,124,158,.06); }
.btn-ghost.on-dark { color: #fff; border-color: rgba(255,255,255,.4); }
.btn-ghost.on-dark:hover { border-color: #fff; background: rgba(255,255,255,.08); color:#fff; }
.btn-lg { padding: 1.05rem 1.9rem; font-size: 1.05rem; }

.textlink { display:inline-flex; align-items:center; gap:.4rem; font-family: var(--font-display); font-weight:600; color: var(--gold-600); border-bottom: 2px solid transparent; transition:.25s; }
.textlink svg { width:16px;height:16px; transition: transform .3s var(--ease); }
.textlink:hover { color: var(--violet); }
.textlink:hover svg { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(237,244,251,.78);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s, box-shadow .3s;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: var(--shadow-sm); background: rgba(237,244,251,.92); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: 78px; }

/* Logo */
.logo { display: inline-flex; align-items: center; gap: .6rem; }
.logo .mark { width: 40px; height: 40px; flex: none; }
.logo-img { height: 52px; width: auto; display: block; }
.footer-brand .logo-img { height: 64px; background: none; padding: 0; border-radius: 0; box-shadow: none; }
@media (max-width: 480px){ .logo-img { height: 42px; } }
.logo .wordmark { display: flex; flex-direction: column; line-height: 1; }
.logo .wordmark b { font-family: var(--font-display); font-weight: 700; font-size: 1.14rem; letter-spacing: -.01em; color: var(--ink); }
.logo .wordmark span { font-size: .6rem; letter-spacing: .28em; text-transform: uppercase; color: var(--gold-600); font-weight: 600; margin-top: 3px; }

/* Primary nav */
.nav-links { display: flex; align-items: center; gap: .35rem; }
.nav-links > li > a,
.nav-links > li > button {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .6rem .85rem; border-radius: 10px;
  font-weight: 500; font-size: .96rem; color: var(--ink);
  background: transparent; border: none; transition: color .2s, background .2s;
}
.nav-links > li > a:hover,
.nav-links > li > button:hover { color: var(--gold-600); background: rgba(46,124,158,.09); }
.nav-links .chev { width: 15px; height: 15px; transition: transform .3s var(--ease); }
.nav-item.has-menu:hover .chev,
.nav-item.has-menu:focus-within .chev { transform: rotate(180deg); }
.nav-cta { margin-left: .4rem; }

/* Mega menu */
.nav-item.has-menu { position: relative; }
.mega {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%) translateY(8px);
  width: min(760px, 86vw); background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 1.1rem;
  opacity: 0; visibility: hidden; transition: opacity .25s var(--ease), transform .25s var(--ease);
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 1.1rem;
}
.nav-item.has-menu:hover .mega,
.nav-item.has-menu:focus-within .mega { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.mega::before { content:""; position:absolute; top:-10px; left:0; right:0; height:10px; }
.mega-feature {
  background: linear-gradient(160deg, var(--indigo) 0%, var(--navy-700) 100%);
  border-radius: var(--radius-sm); padding: 1.3rem; color: #d9def4; display: flex; flex-direction: column; justify-content: space-between;
  position: relative; overflow: hidden;
}
.mega-feature::after { content:""; position:absolute; right:-50px; bottom:-50px; width:160px; height:160px; border-radius:50%; background: radial-gradient(circle, rgba(122,91,240,.6), transparent 70%); }
.mega-feature h4 { color: #fff; margin-bottom: .4rem; position:relative; }
.mega-feature p { color: #bcc4ee; font-size: .9rem; position:relative; }
.mega-feature a { margin-top: 1rem; color: var(--gold-soft); font-weight: 600; font-family: var(--font-display); font-size:.92rem; display:inline-flex; gap:.4rem; align-items:center; position:relative;}
.mega-feature a svg { width:17px; height:17px; flex:none; transition: transform .3s var(--ease); }
.mega-feature a:hover svg { transform: translateX(3px); }
.mega-list { display: grid; grid-template-columns: 1fr; gap: .2rem; }
.mega-col-title { font-size:.72rem; letter-spacing:.14em; text-transform:uppercase; color: var(--slate-400); font-weight:600; padding: .3rem .6rem; }
.mega-link { display: flex; gap: .7rem; align-items: flex-start; padding: .55rem .6rem; border-radius: 10px; transition: background .2s; }
.mega-link:hover { background: var(--sky-50); }
.mega-link .mi { width: 34px; height: 34px; border-radius: 9px; flex: none; display: grid; place-items: center; background: rgba(122,91,240,.14); color: var(--violet); }
.mega-link .mi svg { width: 18px; height: 18px; }
.mega-link b { display:block; font-family: var(--font-display); font-weight: 600; font-size: .95rem; color: var(--ink); }
.mega-link span { font-size: .82rem; color: var(--muted); }

/* Mobile toggle */
.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: #fff; position: relative; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { content:""; position:absolute; left: 13px; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: .3s var(--ease); }
.nav-toggle span { top: 22px; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
body.menu-open .nav-toggle span { background: transparent; }
body.menu-open .nav-toggle span::before { top: 0; transform: rotate(45deg); }
body.menu-open .nav-toggle span::after { top: 0; transform: rotate(-45deg); }

/* ---------- Mobile nav ---------- */
.mobile-nav {
  position: fixed; inset: 78px 0 0 0; z-index: 99; background: var(--sky-50);
  padding: 1.25rem; overflow-y: auto; transform: translateX(100%);
  transition: transform .4s var(--ease); visibility: hidden;
}
body.menu-open .mobile-nav { transform: translateX(0); visibility: visible; }
.mobile-nav a { display: block; padding: .95rem .4rem; font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; color: var(--ink); border-bottom: 1px solid var(--line); }
.mobile-group > button { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: .95rem .4rem; font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; color: var(--ink); background: none; border: none; border-bottom: 1px solid var(--line); }
.mobile-group > button svg { width: 18px; height: 18px; transition: transform .3s; }
.mobile-group.open > button svg { transform: rotate(180deg); }
.mobile-sub { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.mobile-group.open .mobile-sub { max-height: 600px; }
.mobile-sub a { font-size: 1rem; font-weight: 500; color: var(--slate); padding-left: 1rem; }
.mobile-nav .btn { width: 100%; justify-content: center; margin-top: 1.25rem; }

/* ---------- Decorative shapes (template motif) ---------- */
.shape { position:absolute; z-index:0; pointer-events:none; }

/* ---------- Hero (LIGHT, like the template cover) ---------- */
.hero { position: relative; overflow: hidden; background: var(--cream); color: var(--ink); padding: clamp(4rem,9vw,7rem) 0 clamp(3.5rem,7vw,6rem); }
/* soft violet blobs + concentric arches on the right */
.hero::before {
  content:""; position:absolute; z-index:0; right:-6%; top:-18%;
  width: 46vw; height: 46vw; max-width: 680px; max-height: 680px; border-radius:50%;
  background:
    radial-gradient(circle at 35% 35%, rgba(122,91,240,.42), transparent 62%),
    radial-gradient(circle at 70% 70%, rgba(94,192,224,.34), transparent 60%);
  filter: blur(4px);
}
.hero::after {
  content:""; position:absolute; z-index:0; left:-120px; bottom:-140px;
  width: 360px; height: 360px; border-radius:50%;
  background: radial-gradient(circle, rgba(122,91,240,.16), transparent 70%);
}
.hero .container { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1.12fr .88fr; gap: 3rem; align-items: center; }
@media (max-width: 920px){ .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; } }
.hero h1 { color: var(--ink); }
.hero h1 .gradient-text { display: inline; }
.hero p.lead { color: var(--slate); margin-top: 1.4rem; max-width: 36rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2rem; }
.hero-trust { margin-top: 2.6rem; display:flex; flex-wrap:wrap; gap: 1.6rem 2.4rem; align-items:center; }
.hero-trust .stat b { font-family: var(--font-display); font-weight:700; font-size: 2rem; color: var(--ink); display:block; line-height:1; }
.hero-trust .stat b span { color: var(--gold-600); }
.hero-trust .stat span { font-size:.82rem; color: var(--slate-400); letter-spacing:.04em; }

/* Hero visual panel (light glass card holding service chips) */
.hero-panel {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(255,255,255,.9); padding: 1.4rem;
  box-shadow: var(--shadow-lg); backdrop-filter: blur(8px);
}
.hero-chip { display:flex; align-items:center; gap:.85rem; padding:.9rem 1rem; border-radius:16px; background:#fff; border:1px solid var(--line); margin-bottom:.7rem; transition: transform .4s var(--ease), box-shadow .3s; box-shadow: var(--shadow-sm); }
.hero-chip:hover { transform: translateX(5px); box-shadow: var(--shadow); }
.hero-chip:last-child { margin-bottom: 0; }
.hero-chip .ci { width:44px;height:44px;border-radius:13px;flex:none;display:grid;place-items:center; color:#fff; }
.hero-chip .ci svg { width:22px;height:22px; }
.hero-chip.c1 .ci { background: linear-gradient(145deg,#8E73F5,#5B46E6); }
.hero-chip.c2 .ci { background: linear-gradient(145deg,#5EC0E0,#2E7C9E); }
.hero-chip.c3 .ci { background: linear-gradient(145deg,#6F86FF,#4F46E5); }
.hero-chip.c4 .ci { background: linear-gradient(145deg,#A78BFA,#7A5BF0); }
.hero-chip b { color: var(--ink); font-family:var(--font-display); font-weight:600; font-size:.98rem; display:block; }
.hero-chip span { color: var(--slate-400); font-size:.82rem; }

/* ---------- Page hero (interior, LIGHT) ---------- */
.page-hero { position: relative; overflow: hidden; background: var(--cream); color: var(--slate); padding: clamp(3rem,7vw,5.5rem) 0 clamp(2.6rem,5vw,4rem); }
.page-hero::before { content:""; position:absolute; z-index:0; right:-5%; top:-30%; width:34vw; height:34vw; max-width:460px; max-height:460px; border-radius:50%; background: radial-gradient(circle at 40% 40%, rgba(122,91,240,.34), transparent 62%), radial-gradient(circle at 70% 70%, rgba(94,192,224,.3), transparent 60%); }
.page-hero .container { position: relative; z-index:1; }
.page-hero h1 { color: var(--ink); max-width: 20ch; }
.page-hero p { color: var(--slate); margin-top: 1.1rem; max-width: 44rem; }
.breadcrumbs { display:flex; flex-wrap:wrap; align-items:center; gap:.5rem; font-size:.86rem; color: var(--slate-400); margin-bottom:1.2rem; }
.breadcrumbs a:hover { color: var(--gold-600); }
.breadcrumbs .sep { opacity:.5; }
.breadcrumbs .current { color: var(--slate); }
.page-hero .tag { margin-bottom: 0; }
.page-hero h1.mt-2, .hero h1.mt-2 { margin-top: 1.1rem; }

/* ---------- Cards ---------- */
.card { background:#fff; border:1px solid var(--line); border-radius: var(--radius); padding: 1.7rem; transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s; height:100%; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card .ic { width: 56px; height: 56px; border-radius: 16px; display:grid; place-items:center; margin-bottom:1.1rem; background: linear-gradient(145deg, var(--violet), var(--indigo)); color: #fff; }
.card .ic svg { width: 27px; height:27px; }
.card h3 { margin-bottom:.5rem; }
.card-head { display:flex; align-items:center; gap:.9rem; margin-bottom:1rem; }
.card-head .ic { margin-bottom:0; }
.card-head h3 { margin-bottom:0; }
.card p { font-size:.96rem; }
.card .textlink { margin-top: 1rem; font-size:.92rem; }

/* Service card variants (color accents) */
.card.accent-gold .ic { background: linear-gradient(145deg,#59B6D9,#2E7C9E); }
.card.accent-teal .ic { background: linear-gradient(145deg,#8E73F5,#6446E6); }
.card.accent-indigo .ic { background: linear-gradient(145deg,#6F86FF,#4F46E5); }

/* Feature list card */
.feature { display:flex; gap:1rem; align-items:flex-start; }
.feature .fi { width:46px;height:46px;border-radius:12px;flex:none;display:grid;place-items:center;background:rgba(46,124,158,.12);color:var(--gold-600); }
.feature .fi svg { width:22px;height:22px; }
.feature h4 { margin-bottom:.3rem; }
.feature p { font-size:.94rem; }

/* Checklist */
.checklist { display:grid; gap:.8rem; }
.checklist li { display:flex; gap:.7rem; align-items:flex-start; color: var(--slate); }
.checklist li svg { width:22px;height:22px;flex:none;color:var(--gold); margin-top:1px; }
.checklist.on-dark li { color:#cfd5f0; }
.checklist.on-dark li svg { color: var(--violet-300); }

/* Split section */
.split { display:grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,5vw,4rem); align-items:center; }
.split.reverse .split-media { order: 2; }
@media (max-width: 880px){ .split { grid-template-columns:1fr; } .split.reverse .split-media { order:0; } }

.media-card { border-radius: var(--radius-lg); padding: clamp(1.5rem,3vw,2.2rem); background: linear-gradient(160deg,var(--navy-600),var(--navy-700)); color:#d5dbf4; box-shadow: var(--shadow-lg); position:relative; overflow:hidden; }
.media-card::after { content:""; position:absolute; width:280px;height:280px; right:-90px; top:-90px; border-radius:50%; background: radial-gradient(circle, rgba(122,91,240,.5), transparent 70%); }
.media-card.teal::after { background: radial-gradient(circle, rgba(94,192,224,.5), transparent 70%); }
.media-card .mc-row { display:flex; justify-content:space-between; align-items:center; gap:1rem; padding:1rem 0; border-bottom:1px solid rgba(255,255,255,.14); position:relative; }
.media-card .mc-row:last-child { border-bottom:none; }
.media-card .mc-row b { color:#fff; font-family:var(--font-display); font-weight:600; }
.media-card .mc-row span { color: var(--violet-300); font-family:var(--font-display); font-weight:600; text-align:right; }

/* ---------- Image figure (photographic illustration) ---------- */
.media-figure { position:relative; }
.media-figure::before { content:""; position:absolute; right:-22px; top:-22px; width:62%; height:72%; border-radius:36px; background:linear-gradient(160deg,var(--violet),var(--indigo)); opacity:.45; filter:blur(8px); z-index:0; }
.media-figure::after { content:""; position:absolute; left:-26px; bottom:-26px; width:46%; height:50%; border-radius:50%; background:radial-gradient(circle, rgba(94,192,224,.5), transparent 70%); z-index:0; }
.media-figure .img-card { position:relative; z-index:1; border-radius:var(--radius-lg); overflow:hidden; box-shadow:var(--shadow-lg); border:5px solid #fff; }
.bg-navy .media-figure::before, .bg-navy .media-figure .img-card { } /* inherits */
.bg-navy .media-figure .img-card { border-color: rgba(255,255,255,.14); }
.media-figure img { display:block; width:100%; aspect-ratio:3/2; object-fit:cover; }
.media-figure.tall img { aspect-ratio:4/5; }

/* ---------- Spec chips (compact facts, replaces 'at a glance' card) ---------- */
.spec-row { display:flex; flex-wrap:nowrap; gap:.6rem; margin-top:1.6rem; }
.spec { flex:1 1 0; min-width:0; display:flex; flex-direction:column; gap:.2rem; padding:.6rem .8rem; border-radius:14px; background:#fff; border:1px solid var(--line); box-shadow: var(--shadow-sm); }
.spec b { font-size:.6rem; letter-spacing:.07em; text-transform:uppercase; color:var(--slate-400); font-weight:600; white-space:nowrap; }
.spec span { font-family:var(--font-display); font-weight:600; color:var(--ink); font-size:.86rem; line-height:1.2; }
.bg-alt .spec { background:#fff; }
@media (max-width:640px){ .spec-row { flex-wrap:wrap; } .spec { flex:1 1 42%; } }

/* ---------- Process / Steps ---------- */
.steps { counter-reset: step; display:grid; gap:1.3rem; }
.step { display:flex; gap:1.2rem; align-items:flex-start; background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:1.4rem 1.5rem; transition:.3s; }
.step:hover { box-shadow: var(--shadow-sm); transform: translateY(-3px); }
.step .num { counter-increment: step; flex:none; width:50px;height:50px;border-radius:50%; display:grid;place-items:center; font-family:var(--font-display); font-weight:700; font-size:1.15rem; color:#fff; background: linear-gradient(145deg,var(--violet),var(--indigo)); }
.step .num::before { content: counter(step); }
.step h4 { margin-bottom:.3rem; }
.step p { font-size:.95rem; }

/* ---------- Stats band ---------- */
.stats-band { display:grid; grid-template-columns: repeat(4,1fr); gap:1.5rem; text-align:center; }
@media (max-width:640px){ .stats-band { grid-template-columns: repeat(2,1fr);} }
.stat-box b { font-family:var(--font-display); font-weight:700; font-size: clamp(2rem,4vw,2.9rem); color: var(--gold-600); display:block; line-height:1; }
.bg-navy .stat-box b { color:#fff; }
.stat-box span { color: var(--muted); font-size:.92rem; margin-top:.4rem; display:block; }
.bg-navy .stat-box span { color:#b9c0e6; }
.stat-box .plus { color: var(--violet); }

/* ---------- Logos / sectors ---------- */
.pill-row { display:flex; flex-wrap:wrap; gap:.7rem; }
.pill { padding:.5rem 1.05rem; border-radius:999px; background:#fff; border:1px solid var(--line); font-size:.9rem; font-weight:500; color:var(--slate); transition:.25s; }
a.pill:hover { border-color: var(--gold); color: var(--gold-600); }
.bg-navy .pill { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.16); color:#d5dbf4; }

/* ---------- CTA band ---------- */
.cta-band { position:relative; overflow:hidden; border-radius: var(--radius-lg); background: linear-gradient(135deg, var(--indigo) 0%, var(--violet) 100%); color:#eceaff; padding: clamp(2.5rem,6vw,4.5rem); text-align:center; }
.cta-band::before { content:""; position:absolute; inset:0; background: radial-gradient(45% 60% at 82% 15%, rgba(255,255,255,.22), transparent 60%), radial-gradient(42% 55% at 12% 92%, rgba(94,192,224,.4), transparent 62%); }
.cta-band > * { position:relative; z-index:1; }
.cta-band h2 { color:#fff; margin-inline:auto; max-width: none; text-wrap: balance; }
.cta-band p { color:#e2e0ff; margin: 1rem auto 0; max-width: 42rem; }
.cta-band .eyebrow.on-dark { color:#fff; }
.cta-band .eyebrow.on-dark::before { background:#fff; }
.cta-band .hero-cta { justify-content:center; margin-top: 2rem; }
.cta-band .btn-primary { background:#fff; color: var(--indigo); }
.cta-band .btn-primary:hover { background: var(--sky-50); }

/* ---------- Accordion (FAQ) ---------- */
.accordion { border-top:1px solid var(--line); }
.acc-item { border-bottom:1px solid var(--line); }
.acc-item button { width:100%; text-align:left; display:flex; justify-content:space-between; align-items:center; gap:1rem; padding:1.3rem .2rem; background:none; border:none; font-family:var(--font-display); font-weight:600; font-size:1.08rem; color:var(--ink); }
.acc-item .acc-ic { flex:none; width:28px;height:28px;border-radius:50%; border:1.5px solid var(--line); display:grid;place-items:center; transition:.3s; position:relative; }
.acc-item .acc-ic::before,.acc-item .acc-ic::after { content:""; position:absolute; background:var(--gold); border-radius:2px; transition:.3s; }
.acc-item .acc-ic::before { width:11px;height:1.8px; }
.acc-item .acc-ic::after { width:1.8px;height:11px; }
.acc-item.open .acc-ic { background:var(--gold); border-color:var(--gold); }
.acc-item.open .acc-ic::before { background:#fff; }
.acc-item.open .acc-ic::after { transform: rotate(90deg); opacity:0; }
.acc-body { max-height:0; overflow:hidden; transition: max-height .4s var(--ease); }
.acc-body-inner { padding: 0 .2rem 1.3rem; color:var(--muted); max-width:52rem; }
.acc-item.open .acc-body { max-height:420px; }

/* ---------- Footer ---------- */
.site-footer { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-700) 100%); color:#b7bfe6; padding: clamp(3rem,6vw,4.5rem) 0 2rem; position:relative; overflow:hidden; }
.site-footer::before { content:""; position:absolute; right:-120px; top:-120px; width:420px; height:420px; border-radius:50%; background: radial-gradient(circle, rgba(122,91,240,.4), transparent 68%); pointer-events:none; }
.footer-top { display:grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.5rem; position:relative; }
@media (max-width:900px){ .footer-top { grid-template-columns: 1fr 1fr; gap:2rem; } }
@media (max-width:520px){ .footer-top { grid-template-columns: 1fr; } }
.footer-brand .logo .wordmark b { color:#fff; }
.footer-brand .logo .wordmark span { color: var(--violet-300); }
.footer-brand p { margin-top:1rem; font-size:.94rem; color:#9aa2cf; max-width:28rem; }
.footer-col h5 { font-family:var(--font-display); color:#fff; font-size:.82rem; letter-spacing:.14em; text-transform:uppercase; margin-bottom:1.1rem; }
.footer-col a { display:block; padding:.35rem 0; font-size:.94rem; color:#b7bfe6; transition:.2s; }
.footer-col a:hover { color: #fff; padding-left:4px; }
.footer-contact li { display:flex; gap:.6rem; align-items:flex-start; padding:.35rem 0; font-size:.94rem; }
.footer-contact a { display:inline; padding:0; }
.footer-contact li span { line-height:1.85; }
.footer-contact svg { width:18px;height:18px;flex:none;color:var(--violet-300); margin-top:3px; }
.footer-bottom { margin-top:2.5rem; padding-top:1.5rem; border-top:1px solid rgba(255,255,255,.12); display:flex; flex-wrap:wrap; gap:1rem; justify-content:space-between; align-items:center; font-size:.86rem; color:#9199c6; position:relative; }
.footer-social { display:flex; gap:.6rem; }
.footer-social a { width:38px;height:38px;border-radius:10px;display:grid;place-items:center;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.12); transition:.25s; }
.footer-social a:hover { background:var(--violet); color:#fff; transform:translateY(-2px); border-color:transparent; }
.footer-social svg { width:18px;height:18px; }
.placeholder-note { font-size:.78rem; color:var(--gold-600); background:rgba(46,124,158,.12); border:1px dashed rgba(46,124,158,.45); padding:.15rem .5rem; border-radius:6px; }
.site-footer .placeholder-note { color:var(--violet-300); background:rgba(122,91,240,.14); border-color:rgba(122,91,240,.4); }

/* ---------- Contact ---------- */
.contact-grid { display:grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem,5vw,3.5rem); align-items:start; }
@media (max-width:860px){ .contact-grid { grid-template-columns:1fr; } }
.form-field { margin-bottom:1.1rem; }
.form-field label { display:block; font-family:var(--font-display); font-weight:600; font-size:.9rem; color:var(--ink); margin-bottom:.45rem; }
.form-field input, .form-field select, .form-field textarea {
  width:100%; padding:.9rem 1rem; border:1.5px solid var(--line); border-radius:12px; font:inherit; color:var(--ink); background:#fff; transition:border-color .2s, box-shadow .2s;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline:none; border-color:var(--gold); box-shadow:0 0 0 4px rgba(46,124,158,.15); }
.form-field textarea { min-height:140px; resize:vertical; }
.form-row { display:grid; grid-template-columns:1fr 1fr; gap:1rem; }
@media (max-width:520px){ .form-row { grid-template-columns:1fr; } }
.contact-aside { background:#fff; border:1px solid var(--line); border-radius:var(--radius-lg); padding: clamp(1.5rem,3vw,2.2rem); box-shadow: var(--shadow-sm); }
.contact-aside .ci-row { display:flex; gap:.9rem; align-items:flex-start; padding:1rem 0; border-bottom:1px solid var(--line); }
.contact-aside .ci-row:last-child { border-bottom:none; }
.contact-aside .ci-row .ci { width:44px;height:44px;border-radius:12px;flex:none;display:grid;place-items:center;background:linear-gradient(145deg,var(--violet),var(--indigo));color:#fff; }
.contact-aside .ci-row .ci svg { width:20px;height:20px; }
.contact-aside .ci-row b { display:block; font-family:var(--font-display); color:var(--ink); }
.contact-aside .ci-row span { font-size:.92rem; color: var(--muted); }
.contact-aside .ci-row span a:hover { color: var(--gold-600); }

/* ---------- Scroll reveal ---------- */
.reveal { opacity:0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity:1; transform:none; }
.reveal.d1 { transition-delay:.08s; }
.reveal.d2 { transition-delay:.16s; }
.reveal.d3 { transition-delay:.24s; }
.reveal.d4 { transition-delay:.32s; }
@media (prefers-reduced-motion: reduce){
  .reveal { opacity:1 !important; transform:none !important; }
  html { scroll-behavior:auto; }
}

/* ---------- Utilities ---------- */
.mt-0{margin-top:0}.mt-1{margin-top:.5rem}.mt-2{margin-top:1rem}.mt-3{margin-top:1.5rem}.mt-4{margin-top:2rem}
.divider { height:1px; background:var(--line); border:none; margin: 0; }

/* ---------- Prose (legal / long-form) ---------- */
.prose { max-width: 52rem; }
.prose h2 { font-size: clamp(1.4rem,2.4vw,1.85rem); margin-top: 2.6rem; margin-bottom: .7rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.15rem; margin-top: 1.6rem; margin-bottom: .45rem; }
.prose p { color: var(--slate); margin-bottom: 1rem; line-height: 1.7; }
.prose ul, .prose ol { margin: 0 0 1.2rem; padding-left: 1.4rem; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { color: var(--slate); margin-bottom: .5rem; line-height: 1.6; }
.prose a { color: var(--gold-600); text-decoration: underline; text-underline-offset: 2px; }
.prose a:hover { color: var(--gold); }
.prose strong { color: var(--ink); font-weight: 600; }
.prose .updated { color: var(--slate-400); font-size: .9rem; }

/* ---------- Footer legal links ---------- */
.footer-legal { display:flex; flex-wrap:wrap; gap:1.2rem; }
.footer-legal a { color:#9199c6; transition:.2s; }
.footer-legal a:hover { color:#fff; }
@media (max-width: 1040px){
  .nav-links { display:none; }
  .nav-cta.desk { display:none; }
  .nav-toggle { display:block; }
}
