/* =========================================================
   SES Solutions — site styles
   Brand: Navy #003366 · Gold #B99470 · Grey #A9A9A9
   ========================================================= */
:root {
  --navy: #003366;
  --navy-900: #001a33;
  --navy-800: #00264d;
  --navy-700: #0a3d70;
  --gold: #b99470;
  --gold-600: #a57f5a;
  --gold-100: #f5ede4;
  --grey: #a9a9a9;
  --grey-200: #e6e8eb;
  --grey-100: #f4f5f7;
  --ink: #0f1d2c;
  --muted: #5b6776;
  --white: #ffffff;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(0, 26, 51, .06), 0 2px 8px rgba(0, 26, 51, .05);
  --shadow: 0 10px 30px rgba(0, 26, 51, .10);
  --shadow-lg: 0 24px 60px rgba(0, 26, 51, .18);

  --font-head: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --container: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--gold-600); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--navy); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.3rem, 5vw, 3.9rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section--tight { padding: 64px 0; }
.section--grey { background: var(--grey-100); }
.section--navy { background: var(--navy); color: #d7e1ec; }
.section--navy h2, .section--navy h3 { color: var(--white); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-weight: 700; font-size: .78rem;
  letter-spacing: .18em; text-transform: uppercase; color: var(--gold-600);
  margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--gold); border-radius: 2px; }
.section-head { max-width: 720px; margin-bottom: 52px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow::after { content: ""; width: 28px; height: 2px; background: var(--gold); border-radius: 2px; }
.lead { font-size: 1.15rem; color: var(--muted); }
.section--navy .lead { color: #b8c7d8; }

.skip-link { position: absolute; left: -999px; top: 8px; background: var(--gold); color: var(--navy-900); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 8px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-head); font-weight: 700; font-size: .95rem;
  padding: 14px 26px; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; transition: transform .2s ease; }
.btn:hover svg { transform: translateX(3px); }
.btn--gold { background: var(--gold); color: var(--navy-900); }
.btn--gold:hover { background: #c9a682; color: var(--navy-900); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(185, 148, 112, .35); }
.btn--navy { background: var(--navy); color: var(--white); }
.btn--navy:hover { background: var(--navy-700); color: var(--white); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--ghost { border-color: rgba(255, 255, 255, .35); color: var(--white); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn--outline { border-color: var(--navy); color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: var(--white); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.scrolled { border-color: var(--grey-200); box-shadow: var(--shadow-sm); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 46px; height: 46px; object-fit: contain; mix-blend-mode: multiply; }
.brand-text { font-family: var(--font-head); font-size: 1.25rem; color: var(--navy); letter-spacing: .02em; line-height: 1; }
.brand-text b { font-weight: 800; }
.brand-text span { font-weight: 500; }
.nav-links { display: flex; align-items: center; gap: 34px; list-style: none; margin: 0; padding: 0; }
.nav-links a { font-family: var(--font-head); font-weight: 600; font-size: .95rem; color: var(--ink); position: relative; padding: 6px 0; }
.nav-links a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--gold); transition: width .25s ease;
}
.nav-links a:not(.btn):hover::after, .nav-links a[aria-current="page"]::after { width: 100%; }
.nav-links a[aria-current="page"] { color: var(--navy); }
.nav-links .btn { padding: 11px 22px; color: var(--white); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px 0; transition: transform .25s ease, opacity .25s ease; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(1200px 600px at 85% -10%, rgba(185, 148, 112, .22), transparent 60%),
              linear-gradient(160deg, var(--navy-900) 0%, var(--navy) 55%, var(--navy-700) 100%);
  color: #cfdbe8;
  padding: 96px 0 120px;
}
.hero-swoosh { position: absolute; inset: 0; pointer-events: none; opacity: .9; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
.hero h1 { color: var(--white); margin-bottom: 20px; }
.hero .lead { color: #b8c7d8; max-width: 560px; margin-bottom: 34px; }
.rotator { display: inline-block; color: var(--gold); position: relative; min-width: 5ch; }
.rotator .word { display: inline-block; animation: wordIn .55s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes wordIn { from { opacity: 0; transform: translateY(40%); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }
.platform-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-size: .8rem; font-weight: 600; letter-spacing: .04em;
  padding: 7px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); color: #e4ebf3;
}
.pill i { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(185, 148, 112, .25); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; }

/* Hero dashboard */
.dash {
  position: relative;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--radius-lg);
  padding: 22px 22px 52px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .35);
}
.dash-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.dash-title { font-family: var(--font-head); font-weight: 700; color: var(--white); font-size: .95rem; letter-spacing: .02em; }
.dash-dots { display: flex; gap: 6px; }
.dash-dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, .25); }
.dash-dots i:first-child { background: var(--gold); }
.dash-live { display: inline-flex; align-items: center; gap: 7px; font-size: .75rem; color: #9fe3b8; font-weight: 600; }
.dash-live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #3ddc84; animation: pulse 1.8s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(61, 220, 132, .6); } 70% { box-shadow: 0 0 0 8px rgba(61, 220, 132, 0); } 100% { box-shadow: 0 0 0 0 rgba(61, 220, 132, 0); } }
.dash-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tile {
  background: rgba(255, 255, 255, .95); color: var(--ink);
  border-radius: var(--radius); padding: 16px 18px;
  box-shadow: var(--shadow-sm);
}
.tile .num { font-family: var(--font-head); font-weight: 800; font-size: 2.1rem; color: var(--navy); line-height: 1; }
.tile .num sup { color: var(--gold); font-size: 1.2rem; top: -.55em; margin-left: 1px; }
.tile .lbl { font-size: .82rem; color: var(--muted); margin-top: 6px; line-height: 1.35; }
.tile--wide { grid-column: span 2; display: flex; align-items: center; gap: 18px; }
.ring { position: relative; width: 92px; height: 92px; flex: none; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring .track { stroke: var(--grey-200); }
.ring .bar { stroke: url(#ringGrad); stroke-linecap: round; stroke-dasharray: 251; stroke-dashoffset: 251; transition: stroke-dashoffset 1.8s cubic-bezier(.2, .8, .2, 1); }
.ring .ring-num { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; font-size: 1.35rem; color: var(--navy); }
.tile--navy { background: var(--navy-800); color: #cbd8e6; border: 1px solid rgba(255, 255, 255, .12); }
.tile--navy .num { color: var(--white); font-size: 1.35rem; }
.tile--navy .lbl { color: #a9bcd0; }
.coverage { display: flex; gap: 4px; margin-top: 10px; }
.coverage i { flex: 1; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .12); }
.coverage i.on { background: var(--gold); }
.coverage i.off { background: var(--grey); opacity: .7; }
.clock-row { display: flex; justify-content: space-between; font-size: .72rem; color: #a9bcd0; margin-top: 6px; }
.float-badge {
  position: absolute; left: -26px; bottom: -22px;
  display: flex; align-items: center; gap: 12px;
  background: var(--white); color: var(--ink);
  padding: 12px 16px; border-radius: 14px; box-shadow: var(--shadow-lg);
  font-size: .85rem; font-weight: 600;
  animation: floaty 5s ease-in-out infinite;
}
.float-badge .ic { width: 34px; height: 34px; border-radius: 10px; background: var(--gold-100); display: grid; place-items: center; color: var(--gold-600); }
.float-badge small { display: block; color: var(--muted); font-weight: 500; font-size: .75rem; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ---------- Trust strip ---------- */
.trust { background: var(--white); border-bottom: 1px solid var(--grey-200); }
.trust-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px 20px; padding: 26px 24px; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 600; font-size: .86rem; white-space: nowrap; color: var(--navy); }
.trust-item .ic { width: 40px; height: 40px; border-radius: 12px; background: var(--grey-100); display: grid; place-items: center; color: var(--gold-600); flex: none; }
.trust-item .ic svg { width: 20px; height: 20px; }

/* ---------- Cards / services grid ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.card {
  position: relative; background: var(--white); border: 1px solid var(--grey-200);
  border-radius: var(--radius-lg); padding: 32px 28px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  overflow: hidden;
}
.card::before {
  content: ""; position: absolute; left: 0; top: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--navy), var(--gold), var(--grey));
  transform: scaleX(0); transform-origin: left; transition: transform .35s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card:hover::before { transform: scaleX(1); }
.card .ic {
  width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--navy), var(--navy-700)); color: var(--gold); margin-bottom: 20px;
}
.card .ic svg { width: 26px; height: 26px; }
.card p { color: var(--muted); margin-bottom: 18px; }
.card .more { font-family: var(--font-head); font-weight: 700; font-size: .9rem; display: inline-flex; align-items: center; gap: 6px; }
.card .more svg { width: 16px; height: 16px; transition: transform .2s; }
.card:hover .more svg { transform: translateX(4px); }

/* ---------- Why / split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.feature-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 22px; }
.feature-list li { display: grid; grid-template-columns: 48px 1fr; gap: 16px; }
.feature-list .ic { width: 48px; height: 48px; border-radius: 14px; background: var(--gold-100); color: var(--gold-600); display: grid; place-items: center; }
.feature-list .ic svg { width: 22px; height: 22px; }
.feature-list h3 { font-size: 1.05rem; margin-bottom: 4px; }
.feature-list p { color: var(--muted); margin: 0; font-size: .97rem; }

.stat-panel {
  position: relative; background: var(--navy); border-radius: var(--radius-lg); padding: 44px;
  color: #cbd8e6; overflow: hidden;
}
.stat-panel::after {
  content: ""; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%;
  background: radial-gradient(circle, rgba(185, 148, 112, .35), transparent 70%);
}
.stat-panel-grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 34px 24px; }
.big-stat .num { font-family: var(--font-head); font-weight: 800; font-size: 3rem; color: var(--white); line-height: 1; }
.big-stat .num sup { color: var(--gold); font-size: 1.6rem; top: -.7em; }
.big-stat .lbl { margin-top: 8px; font-size: .95rem; color: #a9bcd0; }
.big-stat .bar { height: 4px; background: rgba(255, 255, 255, .12); border-radius: 2px; margin-top: 14px; overflow: hidden; }
.big-stat .bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--gold), #e0c3a4); border-radius: 2px; transition: width 1.6s cubic-bezier(.2, .8, .2, 1); }

/* ---------- Process ---------- */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; position: relative; }
.step { position: relative; padding-top: 18px; }
.step::before {
  counter-increment: step; content: "0" counter(step);
  font-family: var(--font-head); font-weight: 800; font-size: 3.2rem; line-height: 1;
  color: transparent; -webkit-text-stroke: 1.5px var(--gold); display: block; margin-bottom: 14px;
}
.step h3 { color: var(--white); font-size: 1.1rem; }
.step p { color: #a9bcd0; font-size: .95rem; margin: 0; }
.step::after { content: ""; position: absolute; top: 44px; left: 90px; right: 8px; height: 1px; background: linear-gradient(90deg, rgba(185, 148, 112, .6), transparent); }
.step:last-child::after { display: none; }

/* ---------- Testimonials carousel (home) ---------- */
.quote-stage { position: relative; max-width: 900px; margin: 0 auto; text-align: center; }
.quote-mark { width: 64px; height: 64px; margin: 0 auto 18px; color: var(--gold); }
.quote-slide { display: none; }
.quote-slide.active { display: block; animation: fadeUp .6s ease both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.quote-slide blockquote { margin: 0 0 26px; font-family: var(--font-head); font-weight: 500; font-size: clamp(1.2rem, 2.3vw, 1.6rem); line-height: 1.5; color: var(--navy); }
.quote-slide blockquote mark { background: linear-gradient(transparent 62%, rgba(185, 148, 112, .38) 62%); color: inherit; padding: 0 2px; }
.q-author { display: inline-flex; align-items: center; gap: 14px; text-align: left; }
.avatar {
  width: 48px; height: 48px; border-radius: 50%; flex: none; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--navy), var(--navy-700)); color: var(--gold);
  font-family: var(--font-head); font-weight: 800; font-size: .85rem; letter-spacing: .04em;
}
.q-author strong { display: block; font-family: var(--font-head); color: var(--navy); font-size: .98rem; }
.q-author span { color: var(--muted); font-size: .9rem; }
.q-controls { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 36px; }
.q-btn { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--grey-200); background: var(--white); color: var(--navy); cursor: pointer; display: grid; place-items: center; transition: all .2s; }
.q-btn:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }
.q-btn svg { width: 18px; height: 18px; }
.q-dots { display: flex; gap: 8px; }
.q-dots button { width: 9px; height: 9px; border-radius: 5px; border: 0; padding: 0; background: var(--grey); opacity: .5; cursor: pointer; transition: all .3s; }
.q-dots button.active { width: 28px; background: var(--gold); opacity: 1; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden;
  background: linear-gradient(120deg, var(--navy-900), var(--navy));
  border-radius: var(--radius-lg); padding: 56px; color: #cbd8e6;
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
}
.cta-band::before {
  content: ""; position: absolute; right: -60px; bottom: -120px; width: 420px; height: 420px;
  border-radius: 50%; border: 60px solid rgba(185, 148, 112, .12);
}
.cta-band h2 { color: var(--white); margin-bottom: 8px; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.cta-band p { margin: 0; max-width: 560px; }
.cta-band > * { position: relative; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: start; }
.contact-info h2 { margin-bottom: 14px; }
.contact-points { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 18px; }
.contact-points li { display: flex; gap: 14px; align-items: flex-start; }
.contact-points .ic { width: 42px; height: 42px; border-radius: 12px; background: var(--white); border: 1px solid var(--grey-200); display: grid; place-items: center; color: var(--gold-600); flex: none; }
.contact-points .ic svg { width: 20px; height: 20px; }
.contact-points strong { display: block; font-family: var(--font-head); color: var(--navy); font-size: .95rem; }
.contact-points span { color: var(--muted); font-size: .95rem; }
.form-card { background: var(--white); border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow); border: 1px solid var(--grey-200); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; }
.field label { font-family: var(--font-head); font-weight: 600; font-size: .85rem; color: var(--navy); }
.field label .req { color: var(--gold-600); }
.field input, .field select, .field textarea {
  font: inherit; font-size: .98rem; color: var(--ink);
  padding: 13px 15px; border: 1.5px solid var(--grey-200); border-radius: 10px; background: var(--grey-100);
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); background: var(--white); box-shadow: 0 0 0 4px rgba(185, 148, 112, .18); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #c0392b; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-check { position: relative; }
.chip-check input { position: absolute; opacity: 0; pointer-events: none; }
.chip-check span {
  display: inline-block; padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--grey-200);
  font-size: .86rem; font-weight: 500; cursor: pointer; transition: all .2s; background: var(--white); user-select: none;
}
.chip-check input:checked + span { background: var(--navy); color: var(--white); border-color: var(--navy); }
.chip-check input:focus-visible + span { box-shadow: 0 0 0 3px rgba(185, 148, 112, .45); }
.hp { position: absolute; left: -9999px; }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 6px; }
.form-foot small { color: var(--muted); }
.form-status { margin-top: 18px; padding: 14px 16px; border-radius: 10px; font-size: .95rem; display: none; }
.form-status.ok { display: block; background: #e9f7ef; color: #1e6b41; border: 1px solid #bfe5cf; }
.form-status.err { display: block; background: #fdecea; color: #922b21; border: 1px solid #f5c6c0; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, var(--navy-900), var(--navy) 70%);
  color: #b8c7d8; padding: 84px 0 92px;
}
.page-hero h1 { color: var(--white); font-size: clamp(2.1rem, 4.4vw, 3.3rem); max-width: 820px; }
.page-hero .lead { color: #b8c7d8; max-width: 680px; }
.page-hero .eyebrow { color: var(--gold); }
.crumbs { font-size: .85rem; margin-bottom: 18px; color: #8ea3ba; }
.crumbs a { color: #cfdbe8; }

/* ---------- Services: role switcher ---------- */
.role-bar {
  position: relative; margin-top: -42px; z-index: 2;
  background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  padding: 22px; display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: center;
}
.role-bar .label { font-family: var(--font-head); font-weight: 700; color: var(--navy); font-size: .95rem; padding-left: 8px; }
.role-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.role-tab {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 600; font-size: .88rem;
  padding: 11px 18px; border-radius: 999px; border: 1.5px solid var(--grey-200); background: var(--white); color: var(--ink);
  cursor: pointer; transition: all .2s;
}
.role-tab svg { width: 17px; height: 17px; color: var(--gold-600); }
.role-tab:hover { border-color: var(--navy); }
.role-tab[aria-selected="true"] { background: var(--navy); border-color: var(--navy); color: var(--white); }
.role-tab[aria-selected="true"] svg { color: var(--gold); }
.role-brief {
  margin-top: 36px; display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center;
  padding: 28px 32px; border-radius: var(--radius-lg);
  background: linear-gradient(120deg, var(--gold-100), #fff);
  border: 1px solid #ecdcca;
}
.role-brief h3 { margin-bottom: 6px; }
.role-brief p { margin: 0; color: var(--muted); }
.role-brief .priorities { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.role-brief .priorities span { font-size: .8rem; font-weight: 600; padding: 5px 11px; border-radius: 999px; background: var(--white); border: 1px solid #e6d5c2; color: var(--navy); }

.svc-list { display: grid; gap: 24px; margin-top: 40px; }
.svc {
  display: grid; grid-template-columns: 300px 1fr; gap: 40px;
  background: var(--white); border: 1px solid var(--grey-200); border-radius: var(--radius-lg);
  padding: 36px; transition: opacity .35s ease, transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.svc.dim { opacity: .38; transform: scale(.985); }
.svc.hit { border-color: var(--gold); box-shadow: 0 16px 40px rgba(185, 148, 112, .18); }
.svc-head .ic { width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; background: linear-gradient(135deg, var(--navy), var(--navy-700)); color: var(--gold); margin-bottom: 18px; }
.svc-head .ic svg { width: 28px; height: 28px; }
.svc-head h2 { font-size: 1.5rem; margin-bottom: 8px; }
.svc-head .tagline { color: var(--gold-600); font-weight: 600; font-size: .95rem; margin-bottom: 16px; }
.for-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.for-tags span { font-size: .74rem; font-weight: 600; letter-spacing: .02em; padding: 4px 10px; border-radius: 999px; background: var(--grey-100); color: var(--muted); }
.svc-body > p { color: var(--muted); }
.checks { list-style: none; padding: 0; margin: 18px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; }
.checks li { position: relative; padding-left: 28px; font-size: .96rem; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 5px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--gold-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a57f5a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/11px no-repeat;
}
.outcome { margin-top: 22px; padding: 14px 18px; border-left: 3px solid var(--gold); background: var(--grey-100); border-radius: 0 10px 10px 0; font-size: .95rem; }
.outcome strong { color: var(--navy); font-family: var(--font-head); }

.models { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.model { background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--radius-lg); padding: 32px; }
.model.featured { background: var(--white); color: var(--ink); border-color: var(--white); box-shadow: var(--shadow-lg); }
.model.featured h3 { color: var(--navy); }
.model .kicker { font-family: var(--font-head); font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.model.featured .kicker { color: var(--gold-600); }
.model p { font-size: .96rem; }
.model ul { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 8px; font-size: .93rem; }
.model li::before { content: "—"; color: var(--gold); margin-right: 8px; }

/* ---------- Testimonials page ---------- */
.themes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: -48px; position: relative; z-index: 2; }
.theme { background: var(--white); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); border-top: 3px solid var(--gold); }
.theme .ic { color: var(--gold-600); margin-bottom: 10px; }
.theme .ic svg { width: 26px; height: 26px; }
.theme h3 { font-size: 1rem; margin-bottom: 4px; }
.theme p { font-size: .88rem; color: var(--muted); margin: 0; }

.t-featured {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 0;
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg);
}
.t-featured .t-main { background: var(--navy); color: #d7e1ec; padding: 52px; position: relative; }
.t-featured .t-main blockquote { margin: 0 0 28px; font-family: var(--font-head); font-size: clamp(1.15rem, 2vw, 1.45rem); line-height: 1.55; font-weight: 500; color: var(--white); }
.t-featured .t-main mark { background: none; color: var(--gold); }
.t-featured .t-side { background: var(--gold-100); padding: 52px 40px; display: flex; flex-direction: column; justify-content: center; }
.t-featured .t-side h3 { font-size: 1rem; text-transform: uppercase; letter-spacing: .12em; color: var(--gold-600); margin-bottom: 18px; }
.t-featured .t-side ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.t-featured .t-side li { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; color: var(--navy); }
.t-featured .t-side li svg { width: 20px; height: 20px; flex: none; color: var(--gold-600); margin-top: 3px; }
.q-author.light strong { color: var(--white); }
.q-author.light span { color: #a9bcd0; }
.q-author.light .avatar { background: var(--gold); color: var(--navy-900); }

.masonry { columns: 2; column-gap: 24px; }
.t-card {
  break-inside: avoid; margin-bottom: 24px; background: var(--white); border: 1px solid var(--grey-200);
  border-radius: var(--radius-lg); padding: 34px; position: relative; transition: box-shadow .25s, transform .25s;
}
.t-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.t-card .qm { position: absolute; right: 26px; top: 20px; width: 44px; height: 44px; color: var(--gold-100); }
.t-card .industry { display: inline-block; font-family: var(--font-head); font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-600); margin-bottom: 14px; }
.t-card blockquote { margin: 0 0 22px; font-size: 1.04rem; color: var(--ink); }
.t-card blockquote mark { background: linear-gradient(transparent 60%, rgba(185, 148, 112, .3) 60%); color: inherit; }
.t-card .skills { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 22px; }
.t-card .skills span { font-size: .74rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--grey-100); color: var(--navy); }
.t-card .stars { display: flex; gap: 2px; color: var(--gold); margin-bottom: 12px; }
.t-card .stars svg { width: 16px; height: 16px; }

.industries { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.industries span { padding: 12px 20px; border-radius: 999px; border: 1.5px solid var(--grey-200); font-family: var(--font-head); font-weight: 600; font-size: .9rem; color: var(--navy); background: var(--white); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: #8ea3ba; padding: 72px 0 28px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand .brand-text { color: var(--white); }
.footer-brand .brand img { background: var(--white); border-radius: 12px; padding: 4px; mix-blend-mode: normal; }
.footer-brand p { margin-top: 18px; max-width: 320px; }
.site-footer h4 { color: var(--white); font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 18px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { color: #b8c7d8; }
.site-footer a:hover { color: var(--gold); }
.footer-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .08); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .85rem; }
.brand-bar { height: 4px; background: linear-gradient(90deg, var(--navy) 0 33%, var(--gold) 33% 66%, var(--grey) 66% 100%); }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .2, 1); }
.js .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; } .reveal.d5 { transition-delay: .40s; }

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

@media (min-width: 1025px) {
  .trust-inner { display: grid; grid-template-columns: repeat(5, auto); justify-content: space-between; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-grid, .split, .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .grid-3, .models { grid-template-columns: 1fr 1fr; }
  .process { grid-template-columns: 1fr 1fr; gap: 36px; }
  .step::after { display: none; }
  .svc { grid-template-columns: 1fr; gap: 20px; }
  .themes { grid-template-columns: 1fr 1fr; }
  .t-featured { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .float-badge { left: 12px; }
}
@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed; top: 76px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); padding: 12px 24px 24px; border-bottom: 1px solid var(--grey-200); box-shadow: var(--shadow);
    transform: translateY(-12px); opacity: 0; visibility: hidden; pointer-events: none;
    transition: transform .25s ease, opacity .25s ease, visibility 0s linear .25s; z-index: -1;
  }
  .nav-links.open { transform: none; opacity: 1; visibility: visible; pointer-events: auto; transition: transform .25s ease, opacity .25s ease; }
  .nav-links li a:not(.btn) { display: block; padding: 14px 0; border-bottom: 1px solid var(--grey-100); }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .role-bar { grid-template-columns: 1fr; }
  .role-brief { grid-template-columns: 1fr; }
  .masonry { columns: 1; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .section { padding: 72px 0; }
  .hero { padding: 64px 0 96px; }
  .grid-3, .grid-2, .models, .process, .themes, .form-row, .checks, .stat-panel-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-card, .stat-panel, .cta-band, .svc, .t-featured .t-main, .t-featured .t-side { padding: 28px 22px; }
  .dash-grid { grid-template-columns: 1fr 1fr; }
  .tile .num { font-size: 1.7rem; }
  .trust-inner { justify-content: flex-start; }
  .brand-text { font-size: 1.05rem; }
}

/* =========================================================
   Header: Book a Consultation button
   ========================================================= */
.nav-links { margin-left: auto; margin-right: 28px; }
.btn--book {
  position: relative; overflow: hidden; isolation: isolate;
  background: linear-gradient(135deg, #d6b48f 0%, var(--gold) 45%, #a57f5a 100%);
  color: var(--navy-900); padding: 12px 22px; font-size: .92rem;
  box-shadow: 0 8px 22px rgba(185, 148, 112, .45), inset 0 1px 0 rgba(255, 255, 255, .35);
  animation: bookGlow 3.2s ease-in-out infinite;
}
.btn--book svg { width: 17px; height: 17px; }
.btn--book:hover svg { transform: none; }
.btn--book::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 45%; z-index: -1;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .55), transparent);
  transform: skewX(-20deg); animation: bookShine 4.5s ease-in-out infinite;
}
.btn--book:hover { color: var(--navy-900); transform: translateY(-2px); box-shadow: 0 14px 30px rgba(185, 148, 112, .6), inset 0 1px 0 rgba(255, 255, 255, .35); }
@keyframes bookShine { 0%, 55% { left: -60%; } 85%, 100% { left: 130%; } }
@keyframes bookGlow { 0%, 100% { box-shadow: 0 8px 22px rgba(185, 148, 112, .40), inset 0 1px 0 rgba(255,255,255,.35); } 50% { box-shadow: 0 8px 30px rgba(185, 148, 112, .75), inset 0 1px 0 rgba(255,255,255,.35); } }
.book-short { display: none; }
@media (max-width: 820px) {
  .nav-links { margin: 0; }
  .btn--book { margin-left: auto; margin-right: 8px; padding: 10px 16px; font-size: .85rem; }
  .nav-links li:last-child a { border-bottom: 0; }
}
@media (max-width: 420px) {
  .book-full { display: none; }
  .book-short { display: inline; }
  .brand-text { font-size: .95rem; }
  .brand img { width: 38px; height: 38px; }
}

/* =========================================================
   Platform badges (NetSuite / Dynamics 365)
   ========================================================= */
.platform-badge { display: inline-flex; align-items: center; gap: 12px; }
.platform-badge .pb-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; flex: none; color: var(--white); }
.platform-badge .pb-icon svg { width: 24px; height: 24px; }
.pb-ns .pb-icon { background: linear-gradient(135deg, var(--navy), var(--navy-700)); }
.pb-d365 .pb-icon { background: linear-gradient(135deg, var(--gold-600), var(--gold)); }
.platform-badge .pb-text { line-height: 1.1; font-family: var(--font-head); }
.platform-badge .pb-text small { display: block; font-size: .68rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 3px; }
.platform-badge .pb-text b { font-size: 1.2rem; font-weight: 800; color: var(--navy); letter-spacing: -.01em; }

.platforms { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.platform-card { background: var(--white); border: 1px solid var(--grey-200); border-radius: var(--radius-lg); padding: 32px; transition: box-shadow .25s, transform .25s; }
.platform-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.platform-card p { color: var(--muted); margin: 18px 0 16px; }
.platform-card .for-tags span { background: var(--grey-100); color: var(--navy); }
.platform-note { font-size: .8rem; color: var(--muted); margin-top: 18px; text-align: center; }

/* ---------- Solid cards (Insights + articles) ---------- */
.page-soft { background: var(--grey-100); }
.glass { background: var(--white); border: 1px solid var(--grey-200); box-shadow: var(--shadow-sm); }

/* ---------- Insights dashboard ---------- */
.ins-hero-grid { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.ins-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ins-stat { background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--radius); padding: 18px 20px; }
.ins-stat .num { font-family: var(--font-head); font-weight: 800; font-size: 2rem; color: var(--white); line-height: 1; }
.ins-stat .num small { font-size: 1rem; color: var(--gold); margin-left: 3px; }
.ins-stat .lbl { font-size: .82rem; color: #a9bcd0; margin-top: 6px; }
.ins-stat.wide { grid-column: span 2; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ins-stat.wide .num { font-size: 1.05rem; }

.ins-toolbar {
  position: relative; z-index: 2; margin-top: -34px;
  background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  padding: 16px 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px;
}
.ins-toolbar .label { font-family: var(--font-head); font-weight: 700; color: var(--navy); font-size: .9rem; }
.topic-row { display: flex; flex-wrap: wrap; gap: 8px; }
.topic {
  font-family: var(--font-head); font-weight: 600; font-size: .82rem; padding: 9px 16px; border-radius: 999px;
  border: 1.5px solid var(--grey-200); background: var(--white); color: var(--navy); cursor: pointer; transition: all .2s;
}
.topic .count { display: inline-grid; place-items: center; min-width: 20px; height: 20px; margin-left: 6px; border-radius: 10px; background: var(--grey-100); font-size: .72rem; color: var(--muted); }
.topic:hover { border-color: var(--navy); }
.topic[aria-pressed="true"] { background: var(--navy); color: var(--white); border-color: var(--navy); }
.topic[aria-pressed="true"] .count { background: rgba(255, 255, 255, .18); color: var(--white); }

.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-flow: dense; gap: 20px; margin-top: 32px; }
.tile-card {
  position: relative; background: var(--white); border: 1px solid var(--grey-200); border-radius: var(--radius-lg);
  overflow: hidden; display: flex; flex-direction: column; color: var(--ink);
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
a.tile-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; color: var(--ink); }
.tile-card.span-2 { grid-column: span 2; }
.tile-card.feature { grid-column: span 2; grid-row: span 2; }
.tile-card .tile-top { height: 5px; background: linear-gradient(90deg, var(--navy), var(--gold), var(--grey)); }
.tile-card .tile-body { padding: 26px; display: flex; flex-direction: column; flex: 1; }
.tile-card h2, .tile-card h3 { margin-bottom: 10px; }
.tile-card h3 { font-size: 1.18rem; }
.tile-card.feature h2 { font-size: clamp(1.4rem, 2.2vw, 1.85rem); }
.tile-card p { color: var(--muted); font-size: .95rem; flex: 1; }
.tile-card .post-art { min-height: 240px; }
.tile-card .tile-kicker { font-family: var(--font-head); font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-600); margin-bottom: 12px; }
.tile-card.info .platform-badge { margin-bottom: 14px; }
.tile-card.info .platform-badge .pb-icon { width: 38px; height: 38px; }
.tile-card.info .platform-badge .pb-text b { font-size: 1.02rem; }
.tile-card.cta { background: linear-gradient(145deg, var(--navy-900), var(--navy)); border-color: var(--navy); color: #cbd8e6; }
.tile-card.cta h3 { color: var(--white); }
.tile-card.cta p { color: #a9bcd0; }
.tile-card.cta .btn { align-self: flex-start; }
.topic-bars { list-style: none; padding: 0; margin: 4px 0 0; display: grid; gap: 12px; }
.topic-bars li { font-size: .88rem; }
.topic-bars .row { display: flex; justify-content: space-between; margin-bottom: 5px; color: var(--navy); font-weight: 600; }
.topic-bars .bar { height: 6px; border-radius: 3px; background: var(--grey-100); overflow: hidden; }
.topic-bars .bar i { display: block; height: 100%; border-radius: 3px; background: linear-gradient(90deg, var(--navy), var(--gold)); }

.post-art { position: relative; min-height: 300px; background: linear-gradient(150deg, var(--navy-900), var(--navy) 60%, var(--navy-700)); overflow: hidden; }
.post-art svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.post-art .art-label { position: absolute; left: 24px; bottom: 22px; font-family: var(--font-head); font-weight: 800; font-size: 3.4rem; line-height: 1; color: rgba(255, 255, 255, .14); letter-spacing: -.02em; }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: .82rem; color: var(--muted); margin-bottom: 14px; }
.post-tag { font-family: var(--font-head); font-weight: 700; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-600); background: var(--gold-100); padding: 4px 10px; border-radius: 999px; }
.post-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.post-card { border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; color: var(--ink); transition: transform .3s, box-shadow .3s; }
.post-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); color: var(--ink); }
.post-card .post-art { min-height: 150px; }
.post-card .post-art .art-label { font-size: 2.4rem; }
.post-card .post-body { padding: 28px; flex: 1; display: flex; flex-direction: column; }
.post-card h3 { font-size: 1.18rem; margin-bottom: 10px; }
.post-card p { color: var(--muted); font-size: .95rem; flex: 1; }
.read-link { font-family: var(--font-head); font-weight: 700; font-size: .9rem; color: var(--navy); display: inline-flex; gap: 6px; align-items: center; margin-top: 6px; }
.read-link svg { width: 16px; height: 16px; transition: transform .2s; }
.tile-card:hover .read-link svg, .post-card:hover .read-link svg { transform: translateX(4px); }
.post-hidden { display: none !important; }

@media (max-width: 1024px) {
  .ins-hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .tile-card.feature { grid-row: auto; }
}
@media (max-width: 640px) {
  .bento, .platforms { grid-template-columns: 1fr; }
  .tile-card.span-2, .tile-card.feature { grid-column: auto; }
  .tile-card .post-art { min-height: 170px; }
}

/* ---------- Article ---------- */
.read-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 60; background: linear-gradient(90deg, var(--navy), var(--gold), var(--grey)); }
.article-hero { padding: 90px 0 40px; }
.article-hero .crumbs { color: var(--muted); }
.article-hero .crumbs a { color: var(--navy); }
.article-hero h1 { font-size: clamp(2rem, 4vw, 3rem); max-width: 720px; }
.article-hero .lead { max-width: 720px; color: #3f4b59; }
.byline { display: flex; align-items: center; gap: 12px; margin-top: 22px; font-size: .9rem; color: var(--muted); }
.byline img { width: 40px; height: 40px; border-radius: 50%; background: var(--white); padding: 3px; mix-blend-mode: multiply; }
.byline strong { color: var(--navy); font-family: var(--font-head); display: block; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 40px; align-items: start; padding-bottom: 96px; }
.article-layout > * { min-width: 0; }
.article-body { overflow-wrap: break-word; }
.table-wrap table { min-width: 520px; }
.article-body { border-radius: var(--radius-lg); padding: 56px 60px; font-size: 1.06rem; line-height: 1.8; }
.article-body h2 { font-size: 1.6rem; margin: 1.8em 0 .6em; scroll-margin-top: 100px; }
.article-body h2:first-child { margin-top: 0; }
.article-body h3 { font-size: 1.18rem; margin: 1.5em 0 .5em; }
.article-body p, .article-body ul, .article-body ol { margin: 0 0 1.1em; }
.article-body ul, .article-body ol { padding-left: 1.3em; }
.article-body li { margin-bottom: .45em; }
.article-body li::marker { color: var(--gold-600); font-weight: 700; }
.article-body strong { color: var(--navy); }
.callout { border-left: 4px solid var(--gold); background: var(--gold-100); padding: 18px 22px; border-radius: 0 12px 12px 0; margin: 1.6em 0; font-size: 1rem; }
.callout strong { display: block; font-family: var(--font-head); margin-bottom: 4px; }
.article-body table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: .95rem; }
.article-body th { text-align: left; background: var(--navy); color: var(--white); font-family: var(--font-head); font-weight: 600; padding: 12px 14px; }
.article-body th:first-child { border-radius: 10px 0 0 0; } .article-body th:last-child { border-radius: 0 10px 0 0; }
.article-body td { padding: 12px 14px; border-bottom: 1px solid var(--grey-200); vertical-align: top; }
.article-body tr:nth-child(even) td { background: var(--grey-100); }
.table-wrap { overflow-x: auto; }
.article-cta { margin-top: 2.4em; padding: 32px; border-radius: var(--radius); background: linear-gradient(120deg, var(--navy-900), var(--navy)); color: #cbd8e6; }
.article-cta h3 { color: var(--white); margin: 0 0 8px; }
.article-cta p { margin: 0 0 18px; }
.toc { position: sticky; top: 100px; border-radius: var(--radius); padding: 24px; }
.toc h4 { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-600); margin-bottom: 12px; }
.toc ol { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 4px; counter-reset: toc; }
.toc li { counter-increment: toc; }
.toc ol a { display: block; padding: 6px 10px; border-radius: 8px; font-size: .88rem; color: var(--muted); border-left: 2px solid transparent; transition: all .2s; }
.toc ol a::before { content: counter(toc, decimal-leading-zero) "  "; color: var(--grey); font-weight: 600; }
.toc ol a:hover, .toc ol a.active { color: var(--navy); background: rgba(0, 51, 102, .05); border-left-color: var(--gold); }
.toc .btn { width: 100%; padding: 12px 16px; font-size: .88rem; }
.related { padding-bottom: 96px; }
.related h2 { font-size: 1.5rem; margin-bottom: 22px; }

@media (max-width: 1024px) {
  .article-layout { grid-template-columns: minmax(0, 1fr); }
  .toc { display: none; }
}
@media (max-width: 640px) {
  .post-grid { grid-template-columns: 1fr; }
  .article-body { padding: 30px 22px; font-size: 1rem; }
  .article-hero { padding: 64px 0 28px; }
}

/* ---------- Keyword-friendly hero heading ---------- */
.hero h1 .h1-lead { display: block; font-size: .56em; font-weight: 700; color: #dce5ef; letter-spacing: 0; margin-bottom: .18em; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.faq-item { background: var(--white); border: 1px solid var(--grey-200); border-radius: var(--radius); padding: 0 24px; transition: box-shadow .2s, border-color .2s; }
.faq-item[open] { border-color: var(--gold); box-shadow: var(--shadow-sm); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 20px 36px 20px 0; position: relative;
  font-family: var(--font-head); font-weight: 700; color: var(--navy); font-size: 1.02rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
  background: var(--gold-100); color: var(--gold-600); font-size: 1.1rem; font-weight: 700; transition: transform .2s;
}
.faq-item[open] summary::after { content: "–"; }
.faq-item p { color: var(--muted); margin: 0 0 20px; }
