/* ============================================================
   Onyx Security Labs — v3 design system (white / corporate)
   Audience: enterprise & corporate buyers (Microsoft-grade).
   Clean, white, trustworthy. Brand purple as accent, not neon.
   Min font 16px body, nothing below 12px.
   ============================================================ */

/* ---------- tokens ---------- */
:root {
  /* Brand */
  --onyx: #230438;
  --royal: #56216E;
  --vault: #391257;
  --violet: #7c3aed;
  --magenta: #c8268c;

  /* Surfaces (corporate white) */
  --bg: #ffffff;
  --bg-alt: #f5f3fb;
  --bg-soft: #faf9fd;
  --footer: #1b0a2e;

  /* Text */
  --ink: #1d1430;
  --text: #514b66;
  --text-dim: #635d78;
  --on-dark: #efe9f6;
  --on-dark-dim: #b7abcf;

  /* Lines */
  --line: #e9e4f2;
  --line-2: #dbd3ec;

  /* Accent gradient (brand signature, used sparingly) */
  --grad: linear-gradient(120deg, #c8268c 0%, #7c3aed 58%, #56216E 100%);
  --grad-soft: linear-gradient(135deg, rgba(200,38,140,0.10), rgba(124,58,237,0.10));

  /* Shadows (soft, corporate) */
  --shadow-sm: 0 1px 2px rgba(35,4,56,0.05), 0 2px 6px rgba(35,4,56,0.05);
  --shadow: 0 8px 28px -10px rgba(35,4,56,0.16);
  --shadow-lg: 0 26px 60px -22px rgba(35,4,56,0.26);

  --radius: 14px;
  --radius-lg: 20px;
  --container: 1180px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);

  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Sora", var(--sans);
  --mono: "JetBrains Mono", ui-monospace, monospace;
}

/* ---------- reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }

body {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
  font-family: var(--display);
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -0.018em;
  font-weight: 700;
}

a { color: inherit; text-decoration: none; }
a[href^="mailto:"] { color: #1a73e8; text-decoration: underline; }
a[href^="mailto:"]:hover { color: #0f4fb3; }
img, svg { max-width: 100%; display: block; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 28px; }
.container-narrow { width: 100%; max-width: 820px; margin: 0 auto; padding: 0 28px; }

section { padding: 92px 0; position: relative; }
.bg-alt { background: var(--bg-alt); }
.bg-soft { background: var(--bg-soft); }

/* eyebrow */
.eyebrow {
  font-family: var(--mono);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--royal);
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--grad); display: inline-block; }

.section-head { max-width: 720px; margin: 0 auto 54px; text-align: center; }
.section-head .eyebrow { justify-content: center; }
.section-head h2 { font-size: clamp(28px, 3.6vw, 42px); margin: 16px 0 14px; }
.section-head p { font-size: 18px; color: var(--text-dim); }
.gradient-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--sans); font-size: 16px; font-weight: 600; line-height: 1;
  padding: 14px 24px; border-radius: 11px; border: 1px solid transparent; cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
  white-space: nowrap;
}
.btn:focus-visible { outline: 2px solid var(--violet); outline-offset: 3px; }
.btn-lg { padding: 16px 30px; font-size: 17px; }

.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 10px 24px -10px rgba(124,58,237,0.55); border: unset; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -10px rgba(124,58,237,0.6); }

.btn-outline { background: #fff; color: var(--royal); border-color: var(--line-2); }
.btn-outline:hover { border-color: var(--royal); background: var(--bg-soft); }

.btn-ghost-dark { background: rgba(255,255,255,0.08); color: #fff; border-color: rgba(255,255,255,0.22); }
.btn-ghost-dark:hover { background: rgba(255,255,255,0.16); }

.btn .arrow { transition: transform 0.2s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.86);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 40px; height: 40px; }
.brand .wordmark { font-family: var(--display); font-weight: 700; font-size: 17px; letter-spacing: 0.02em; text-transform: uppercase; color: var(--ink); line-height: 1.06; }
.brand .wordmark small { display: block; font-family: var(--display); font-weight: 400; font-size: 16px; letter-spacing: 0.42em; text-transform: uppercase; color: var(--text-dim); margin-top: 2px; }

.nav { display: flex; align-items: center; gap: 6px; }
.nav > a:not(.btn), .nav-trigger {
  font-size: 16px; font-weight: 500; color: var(--text); padding: 10px 14px; border-radius: 9px;
  transition: color 0.18s, background 0.18s; cursor: pointer;
}
.nav > a:not(.btn):hover, .nav-trigger:hover { color: var(--royal); background: var(--bg-alt); }
/* keep the header CTA button white on its gradient (a11y contrast) */
.nav a.btn-primary { color: #fff; }
.nav .btn { margin-left: 10px; }

.nav-dd { position: relative; }
.nav-trigger { display: inline-flex; align-items: center; gap: 6px; }
.nav-trigger .caret { margin-top: 1px; transition: transform 0.2s var(--ease); }
.nav-dd:hover .nav-trigger, .nav-dd:focus-within .nav-trigger { color: var(--royal); background: var(--bg-alt); }
.nav-dd:hover .nav-trigger .caret, .nav-dd:focus-within .nav-trigger .caret { transform: rotate(180deg); }
/* .nav-dd-menu is a transparent positioner with a built-in hover bridge (padding-top),
   so there is no dead gap and the menu stays open while the cursor moves into it. */
.nav-dd-menu {
  position: absolute; top: 100%; left: 0; transform: translateY(8px);
  padding-top: 12px; opacity: 0; visibility: hidden;
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0s linear 0.3s;
}
.nav-dd:hover .nav-dd-menu, .nav-dd:focus-within .nav-dd-menu { opacity: 1; visibility: visible; transform: translateY(0); transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0s; }
/* Two-level menu: a list of categories; hovering one opens its sub-services
   in a flyout column to the right. */
.nav-dd-card {
  width: 296px; display: block;
  background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 8px;
  box-shadow: var(--shadow-lg); overflow: visible;
}
.nav-dd-group { position: relative; }
.nav-dd-card .nav-dd-cat {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 11px 14px; border-radius: 10px; font-size: 16px; font-weight: 500; color: var(--text);
  transition: background 0.16s, color 0.16s;
}
.nav-dd-card .nav-dd-cat .chev { flex: none; color: var(--text-dim); transition: transform 0.16s var(--ease), color 0.16s; }
.nav-dd-group:hover > .nav-dd-cat, .nav-dd-group:focus-within > .nav-dd-cat { background: var(--bg-alt); color: var(--royal); }
.nav-dd-card .nav-dd-cat.active { background: var(--bg-alt); color: var(--royal); }
.nav-dd-group:hover > .nav-dd-cat .chev, .nav-dd-group:focus-within > .nav-dd-cat .chev { transform: translateX(3px); color: var(--royal); }

.nav-dd-flyout {
  position: absolute; top: -8px; left: 100%; margin-left: 8px;
  width: 290px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 8px;
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden;
  transition: opacity 0.16s var(--ease), visibility 0s linear 0.3s;
}
/* invisible bridge across the gap so the cursor can reach the flyout on the diagonal */
.nav-dd-flyout::before { content: ""; position: absolute; top: -8px; left: -18px; width: 22px; height: calc(100% + 16px); }
.nav-dd-group:hover > .nav-dd-flyout, .nav-dd-group:focus-within > .nav-dd-flyout { opacity: 1; visibility: visible; transition: opacity 0.16s var(--ease), visibility 0s; }
.nav-dd-flyout .nav-dd-sub {
  display: block; padding: 9px 13px; border-radius: 9px; font-size: 15px; color: var(--text);
  transition: background 0.16s, color 0.16s;
}
.nav-dd-flyout .nav-dd-sub:hover { background: var(--bg-alt); color: var(--royal); }
.nav-dd-flyout .nav-dd-sub.active { background: var(--bg-alt); color: var(--royal); font-weight: 600; }

.nav-dd-flyout .nav-dd-overview { display: none; }
.nav-toggle { display: none; }
.nav-toggle-label { display: none; cursor: pointer; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: 78px 0 88px; background:
  radial-gradient(820px 460px at 88% -10%, rgba(124,58,237,0.07), transparent 60%),
  radial-gradient(640px 420px at 0% 0%, rgba(200,38,140,0.05), transparent 55%);
}
.hero .container { position: relative; z-index: 2; }
.hero-hex { position: absolute; top: -30px; right: -70px; width: 560px; height: 560px; background: url("/static/svg/hex-pattern.svg") center/contain no-repeat; opacity: 0.65; pointer-events: none; z-index: 0; }
.hero-glow { position: absolute; top: -60px; right: 4%; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(124,58,237,0.16), transparent 64%); pointer-events: none; z-index: 0; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(38px, 5.2vw, 62px); margin: 18px 0 20px; font-weight: 800; letter-spacing: -0.03em; color: var(--ink); }
.hero .sub { font-size: 19px; color: var(--text); max-width: 560px; margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-bottom: 22px; }
.hero-microtrust { display: flex; align-items: center; gap: 9px; font-size: 16px; color: var(--text-dim); }
.hero-microtrust .ic { color: #16a34a; flex: none; }

/* hero service honeycomb (six disciplines around the brand mark) */
.hero-visual { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.honeycomb { position: relative; width: min(440px, 100%); aspect-ratio: 1; margin: 0 auto; }
.honeycomb::before { content: ""; position: absolute; top: 50%; left: 50%; width: 220px; height: 220px; transform: translate(-50%, -50%); background: radial-gradient(circle, rgba(124,58,237,0.16), transparent 66%); border-radius: 50%; pointer-events: none; }
.hc-lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hc-lines line { stroke: var(--line-2); stroke-width: 1.5; }
.hc-center, .hc-cell { position: absolute; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; }
.hc-center { top: 50%; left: 50%; }
.hc-center img { width: 96px; height: 96px; filter: drop-shadow(0 10px 22px rgba(124,58,237,0.30)); }
.hc-cell { transition: transform 0.22s var(--ease); cursor: default; }
.hc-cell img { width: 80px; height: 80px; max-width: none; }
.hc-cell span { margin-top: 5px; font-family: var(--display); font-weight: 600; font-size: 16px; color: var(--ink); white-space: nowrap; }
.hc-cell:hover { transform: translate(-50%, -50%) scale(1.07); }
.hc-tl { top: 17.5%; left: 31.25%; }
.hc-tr { top: 17.5%; left: 68.75%; }
.hc-l  { top: 50%;   left: 12.5%; }
.hc-r  { top: 50%;   left: 87.5%; }
.hc-bl { top: 82.5%; left: 31.25%; }
.hc-br { top: 82.5%; left: 68.75%; }
.hc-caption { font-family: var(--display); font-weight: 600; font-size: 18px; color: var(--ink); }

/* hero/section image banner (breaks monotony, brand-colored) */
.banner-section { padding: 24px 0 64px; }
.banner-band { position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 240px; display: flex; align-items: center; background-size: cover; background-position: center; box-shadow: var(--shadow); }
.banner-band::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15,3,28,0.80) 0%, rgba(15,3,28,0.45) 55%, rgba(15,3,28,0.04) 100%); }
.banner-inner { position: relative; z-index: 1; padding: 40px 48px; max-width: 640px; }
.banner-eyebrow { font-family: var(--mono); font-size: 16px; letter-spacing: 0.16em; text-transform: uppercase; color: #f0b9e6; margin-bottom: 10px; }
.banner-title { color: #fff; font-size: clamp(24px, 3vw, 34px); line-height: 1.18; }
.banner-cta { margin-top: 24px; }
@media (max-width: 620px) { .banner-inner { padding: 30px 26px; } }

/* hero coverage card (corporate product-style visual) */
.cover-card {
  position: relative;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.cover-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--grad); z-index: 2; }
.cover-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 22px; border-bottom: 1px solid var(--line); background: var(--bg-soft);
}
.cover-head .ttl { font-family: var(--display); font-weight: 700; font-size: 16px; color: var(--ink); }
.cover-head .pill {
  font-family: var(--mono); font-size: 16px; font-weight: 500; letter-spacing: 0.04em;
  color: #16a34a; background: #eafaf1; border: 1px solid #c7eed7; padding: 5px 11px; border-radius: 999px;
  display: inline-flex; align-items: center; gap: 6px;
}
.cover-head .pill .dot { width: 7px; height: 7px; border-radius: 50%; background: #16a34a; }
.cover-rows { padding: 8px 10px; }
.cover-row {
  display: flex; align-items: center; gap: 14px; padding: 13px 12px; border-radius: 10px;
  transition: background 0.18s;
}
.cover-row + .cover-row { border-top: 1px solid var(--line); }
.cover-row:hover { background: var(--bg-alt); }
.cover-row .ic {
  width: 38px; height: 38px; border-radius: 10px; flex: none; display: grid; place-items: center;
  background: var(--grad-soft); color: var(--royal); border: 1px solid var(--line-2);
}
.cover-row .meta { flex: 1; }
.cover-row .meta b { display: block; font-family: var(--display); font-weight: 600; font-size: 16px; color: var(--ink); }
.cover-row .meta span { font-size: 16px; color: var(--text-dim); }
.cover-row .check { color: #16a34a; flex: none; }
.cover-foot { padding: 16px 22px; border-top: 1px solid var(--line); display: flex; align-items: center; gap: 10px; font-size: 16px; color: var(--text-dim); background: var(--bg-soft); }

/* ---------- trust strip ---------- */
.trust { padding: 56px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-soft); }
.trust-label { text-align: center; font-family: var(--mono); font-size: 16px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 30px; }
.cert-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; max-width: 1000px; margin: 0 auto; }
.cert-row--4 { display: grid; grid-template-columns: repeat(4, 1fr); justify-content: stretch; }
.cert-row--4 .cert-tile { width: auto; }
.cert-tile {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 9px;
  width: 142px; min-height: 104px; padding: 18px 14px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), border-color 0.2s;
}
.cert-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line-2); }
.cert-tile .seal {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: var(--grad-soft); border: 1px solid var(--line-2); color: var(--royal);
}
.cert-tile .nm { font-family: var(--display); font-weight: 700; font-size: 16px; color: var(--ink); text-align: center; line-height: 1.2; }
.cert-tile .sub { font-size: 16px; color: var(--text-dim); letter-spacing: 0.02em; }
.trust-sub { text-align: center; margin-top: 28px; font-size: 16px; color: var(--text-dim); }
.trust-sub b { color: var(--text); font-weight: 600; }
.verified-row { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.verified { font-family: var(--mono); font-size: 16px; letter-spacing: 0.03em; color: var(--text-dim); padding: 6px 13px; border-radius: 999px; border: 1px solid var(--line); background: #fff; }

/* credentials (real cert logos held by the delivery team) */
.cred-label { text-align: center; font-family: var(--mono); font-size: 16px; font-weight: 400; line-height: 1.5; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-dim); margin: 40px 0 22px; }
.cred-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; max-width: 820px; margin: 0 auto; }
.cred-tile { width: 124px; height: 100px; display: grid; place-items: center; padding: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), border-color 0.2s; }
.cred-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line-2); }
.cred-tile img { max-width: 100%; max-height: 64px; width: auto; height: auto; object-fit: contain; }
/* credentials logos bar directly under the hero */
.creds-bar { padding: 46px 0; background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.creds-bar .cred-label { margin: 0 0 22px; }

/* ---------- what we secure (cards) ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.cat-card {
  position: relative; display: flex; flex-direction: column; padding: 30px;
  border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease), border-color 0.28s var(--ease);
}
.cat-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--line-2); }
.cat-icon { height: 62px; margin-bottom: 16px; display: flex; align-items: center; }
.cat-icon img { height: 62px; width: auto; }
.cat-card h3 { font-size: 20px; margin-bottom: 9px; }
.cat-card h3 a { color: var(--ink); }
.cat-card > p { font-size: 16px; color: var(--text-dim); margin-bottom: 18px; }
.cat-services { list-style: none; padding: 0; margin: 0 0 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.cat-services li { font-size: 16px; color: var(--text); display: flex; gap: 9px; align-items: center; }
.cat-services li svg { color: var(--royal); flex: none; }
.cat-link { font-size: 16px; font-weight: 600; color: var(--royal); display: inline-flex; align-items: center; gap: 7px; margin-top: auto; }
.cat-card:hover .cat-link .arrow { transform: translateX(4px); }
.cat-link .arrow { transition: transform 0.2s var(--ease); }

/* ---------- why / value ---------- */
.value-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.value-card { padding: 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: box-shadow 0.25s, transform 0.25s; }
.value-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.value-ic { height: 56px; margin-bottom: 14px; display: flex; align-items: center; }
.value-ic img { height: 56px; width: auto; }
.value-card h3 { font-size: 18.5px; line-height: 1.25; min-height: 2.6em; margin-bottom: 12px; display: flex; align-items: flex-start; }
.value-card p { font-size: 16px; color: var(--text-dim); }
/* 3-up centered variant (e.g. About page Three Values) */
.value-grid--3 { grid-template-columns: repeat(3, 1fr); max-width: 1080px; margin-inline: auto; }
@media (max-width: 760px) { .value-grid--3 { grid-template-columns: 1fr; max-width: 440px; } }

/* ---------- how it works ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step { position: relative; padding: 28px 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.step-ic { height: 68px; margin-bottom: 12px; display: flex; align-items: center; }
.step-ic img { height: 68px; width: auto; }
.step-n { font-family: var(--mono); font-size: 16px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--royal); margin-bottom: 8px; }
.step h3 { font-size: 17.5px; margin-bottom: 9px; }
.step p { font-size: 16px; color: var(--text-dim); }

/* ---------- who you work with (credibility) ---------- */
.principals-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.principal { padding: 30px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: box-shadow 0.25s, transform 0.25s; }
.principal:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.principal-avatar { width: 60px; height: 60px; border-radius: 15px; display: grid; place-items: center; background: var(--grad); color: #fff; font-family: var(--display); font-weight: 700; font-size: 20px; letter-spacing: 0.04em; margin-bottom: 18px; box-shadow: 0 8px 20px -8px rgba(124,58,237,0.5); }
.principal-name { font-family: var(--display); font-weight: 700; font-size: 19px; color: var(--ink); margin-bottom: 4px; }
.principal-role { font-weight: 600; font-size: 16px; color: var(--royal); margin-bottom: 14px; }
.principal p { font-size: 16px; color: var(--text-dim); }
.trust-callout { display: flex; align-items: center; gap: 20px; margin-top: 26px; padding: 22px 26px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.trust-callout-ic { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--grad-soft); border: 1px solid var(--line-2); color: var(--royal); flex: none; }
.trust-callout-text { flex: 1; font-size: 16px; color: var(--text); }
.trust-callout-text b { color: var(--ink); }
.trust-callout-link { font-weight: 600; font-size: 16px; color: var(--royal); white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; }
.trust-callout-link .arrow { transition: transform 0.2s var(--ease); }
.trust-callout-link:hover .arrow { transform: translateX(4px); }
/* single-leader feature (Atika) */
.leader-feature { display: grid; grid-template-columns: 300px 1fr; gap: 44px; align-items: center; max-width: 940px; margin: 0 auto; }
.leader-photo { position: relative; width: 300px; height: 340px; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); display: grid; place-items: center; }
.leader-photo img { position: relative; z-index: 1; width: 104%; height: 104%; margin: -2%; object-fit: cover; border: none; outline: none; }
.leader-photo-fallback { position: absolute; z-index: 0; font-family: var(--display); font-weight: 700; font-size: 68px; color: #fff; letter-spacing: 0.04em; }
.leader-name { font-family: var(--display); font-weight: 700; font-size: 26px; color: var(--ink); margin-bottom: 4px; }
.leader-role { font-weight: 600; font-size: 16px; color: var(--royal); margin-bottom: 16px; }
.leader-bio { font-size: 17px; color: var(--text); margin-bottom: 20px; }
.leader-creds { display: flex; flex-wrap: wrap; gap: 8px; }
.leader-creds span { font-family: var(--mono); font-size: 16px; color: var(--text-dim); padding: 6px 13px; border: 1px solid var(--line); border-radius: 999px; background: #fff; }
@media (max-width: 760px) { .leader-feature { grid-template-columns: 1fr; justify-items: center; text-align: center; } .leader-photo { width: 100%; max-width: 320px; height: 320px; } .leader-creds { justify-content: center; } }

@media (max-width: 920px) { .principals-grid { grid-template-columns: 1fr; } .trust-callout { flex-direction: column; align-items: flex-start; text-align: left; } }

/* ---------- lead capture ---------- */
.lead { background: var(--bg-alt); border-top: 1px solid var(--line); }
.lead-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.lead-pitch h2 { font-size: clamp(28px, 3.6vw, 40px); margin: 16px 0 18px; }
.lead-pitch > p { font-size: 18px; color: var(--text); margin-bottom: 28px; }
.lead-points { list-style: none; padding: 0; margin: 0 0 28px; display: flex; flex-direction: column; gap: 15px; }
.lead-points li { display: flex; gap: 13px; font-size: 16px; color: var(--text); }
.lead-points .check { flex: none; width: 24px; height: 24px; border-radius: 7px; display: grid; place-items: center; background: var(--grad-soft); border: 1px solid var(--line-2); color: var(--royal); }
.lead-points b { color: var(--ink); font-weight: 600; }
.lead-alt { font-size: 16px; color: var(--text-dim); }
.lead-alt a { color: var(--royal); font-weight: 600; }

.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px; box-shadow: var(--shadow-lg); }
.form-card h3 { font-size: 22px; margin-bottom: 6px; }
.form-card .form-sub { font-size: 16px; color: var(--text-dim); margin-bottom: 24px; }
.field { margin-bottom: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field label { display: block; font-size: 16px; font-weight: 600; color: var(--ink); margin-bottom: 7px; }
.field label .req { color: var(--magenta); }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--sans); font-size: 16px; color: var(--ink);
  background: #fff; border: 1px solid var(--line-2); border-radius: 10px; padding: 13px 14px;
  transition: border-color 0.18s, box-shadow 0.18s;
}
.field textarea { resize: vertical; min-height: 88px; }
.field input::placeholder, .field textarea::placeholder { color: #9b94ad; }
.field select:invalid { color: #9b94ad; }
#need option, #c-need option { color: #000; }
#need option:disabled, #c-need option:disabled { color: gray; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 3px rgba(124,58,237,0.14); }
.field select { appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2356216E' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px;
}
.form-card .btn { width: 100%; margin-top: 6px; }
.form-fineprint { font-size: 16px; color: var(--text-dim); text-align: center; margin-top: 14px; }
.form-fineprint a { color: var(--text); text-decoration: underline; }

.form-success { display: none; text-align: center; padding: 30px 10px; }
.form-success.show { display: block; }
.form-success .ok-mark { width: 62px; height: 62px; border-radius: 50%; margin: 0 auto 18px; display: grid; place-items: center; background: #eafaf1; border: 1px solid #c7eed7; color: #16a34a; }
.form-success h3 { margin-bottom: 10px; }
.form-success p { font-size: 16px; color: var(--text-dim); }

/* ---------- closing CTA banner ---------- */
.cta-band-section { padding: 40px 0 96px; }
.cta-band { position: relative; overflow: hidden; background: var(--grad); border-radius: 24px; padding: 60px 40px; text-align: center; box-shadow: var(--shadow-lg); }
.cta-band::before { content: ""; position: absolute; inset: 0; background: url("/static/svg/hex-pattern.svg") right -30px center/360px no-repeat; opacity: 0.22; pointer-events: none; }
.cta-band-inner { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; font-size: clamp(26px, 3.4vw, 38px); margin-bottom: 12px; }
.cta-band p { color: rgba(255,255,255,0.92); font-size: 18px; margin-bottom: 28px; }
.cta-band-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn-cta-solid { background: #fff; color: var(--royal); }
.btn-cta-solid:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -12px rgba(0,0,0,0.35); }
.btn-cta-ghost { background: rgba(255,255,255,0.12); color: #fff; border-color: rgba(255,255,255,0.55); }
.btn-cta-ghost:hover { background: rgba(255,255,255,0.2); }

/* ---------- footer (dark, uses white logo) ---------- */
.site-footer { background: var(--footer); padding: 72px 0 40px; color: var(--on-dark-dim); }
.footer-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 46px; }
.footer-logo { display: flex; align-items: center; gap: 11px; margin-bottom: 18px; }
.footer-logo img { width: 38px; height: 38px; }
.footer-logo .wordmark { font-family: var(--display); font-weight: 700; font-size: 17px; letter-spacing: 0.02em; text-transform: uppercase; color: #fff; line-height: 1.06; }
.footer-logo .wordmark small { display: block; font-family: var(--display); font-weight: 400; font-size: 16px; letter-spacing: 0.42em; text-transform: uppercase; color: var(--on-dark-dim); margin-top: 2px; }
.footer-brand p { font-size: 16px; color: var(--on-dark-dim); max-width: 330px; }
.site-footer h3 { font-family: var(--mono); font-size: 16px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--on-dark-dim); margin-bottom: 18px; font-weight: 500; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 11px; }
.site-footer ul a { font-size: 16px; color: var(--on-dark); opacity: 0.82; transition: opacity 0.16s; }
.site-footer ul a:hover { opacity: 1; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,0.1); font-size: 16px; color: var(--on-dark-dim); }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 46px; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .value-grid { grid-template-columns: repeat(2, 1fr); }
  .cert-row--4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 860px) {
  .nav-toggle-label { display: flex; flex-direction: column; gap: 5px; width: 44px; height: 44px; align-items: center; justify-content: center; border: 1px solid var(--line-2); border-radius: 10px; }
  .nav-toggle-label span, .nav-toggle-label::before, .nav-toggle-label::after { content: ""; display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; }
  .nav { position: fixed; inset: 74px 0 auto 0; flex-direction: column; align-items: stretch; gap: 4px; background: #fff; border-bottom: 1px solid var(--line); padding: 16px 20px 24px; transform: translateY(-130%); transition: transform 0.3s var(--ease); box-shadow: var(--shadow-lg); max-height: calc(100vh - 74px); overflow-y: auto; }
  .nav-toggle:checked ~ .nav { transform: translateY(0); }
  .nav > a, .nav-trigger { padding: 14px; }
  .nav .btn { margin: 8px 0 0; }
  /* Mobile accordion: collapsed by default; tap Services, then a category, to expand */
  .nav-dd-menu { position: static; transform: none; opacity: 1; visibility: visible; padding-top: 0; max-height: 0; overflow: hidden; transition: max-height 0.3s var(--ease); }
  .nav-dd.open .nav-dd-menu { max-height: 2600px; padding-top: 4px; }
  .nav-trigger .caret { transition: transform 0.25s var(--ease); }
  .nav-dd.open .nav-trigger .caret { transform: rotate(180deg); }
  .nav-dd-card { box-shadow: none; border: none; background: var(--bg-alt); padding: 4px; width: auto; }
  .nav-dd-card .nav-dd-cat { justify-content: space-between; align-items: center; }
  /* Whole row toggles the sub-list; chevron is the open/close indicator */
  .nav-dd-card .nav-dd-cat .chev { display: block; color: var(--text-dim); transition: transform 0.22s var(--ease); }
  .nav-dd-group.open > .nav-dd-cat .chev { transform: rotate(90deg); color: var(--royal); }
  /* Pillar-page link shown at the top of each expanded category (mobile only) */
  .nav-dd-flyout .nav-dd-overview { display: block; font-weight: 600; color: var(--royal); }
  .nav-dd-flyout {
    position: static; opacity: 1; visibility: visible; transition: max-height 0.28s var(--ease);
    width: auto; margin: 0; padding: 0 0 0 14px;
    background: transparent; border: none; box-shadow: none; border-radius: 0;
    max-height: 0; overflow: hidden;
  }
  .nav-dd-group.open > .nav-dd-flyout { max-height: 900px; padding-bottom: 8px; }
  .nav-dd-flyout::before { display: none; }
  .nav-dd-flyout .nav-dd-sub { padding: 9px 12px; font-size: 15px; }
}
@media (max-width: 620px) {
  section { padding: 66px 0; }
  .container, .container-narrow { padding: 0 20px; }
  .cat-grid, .value-grid, .cert-row--4, .steps, .footer-grid, .lead-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .value-card h3 { min-height: auto; }
  .hero h1 { font-size: clamp(32px, 9vw, 44px); }
  .hero-actions { justify-content: center; }
  .form-card { padding: 26px; }
}
@media (max-width: 360px) {
  .hero-visual { gap: 12px; }
  .honeycomb { width: min(300px, 100%); }
  .hc-center img { width: 68px; height: 68px; }
  .hc-cell img { width: 56px; height: 56px; }
  .hc-cell span { font-size: 12px; }
  .hc-caption { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   v3 INNER PAGE COMPONENTS
   Added for: services hub, category pages, service detail pages,
   about, contact, sub-processors, legal stubs.
   All rules use the existing CSS token set (--ink, --royal, etc.)
   and match the white/corporate design language of the homepage.
   ============================================================ */

/* ---------- breadcrumb bar ---------- */
.v3-breadcrumb-bar {
  border-bottom: 1px solid var(--line);
  background: var(--bg-soft);
  padding: 12px 0;
}
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 16px;
  color: var(--text-dim);
}
.breadcrumb a {
  color: var(--royal);
  font-weight: 500;
  transition: color 0.16s;
}
.breadcrumb a:hover { color: var(--violet); }
.breadcrumb .sep { color: var(--line-2); font-size: 16px; padding: 0 2px; }
.breadcrumb [aria-current="page"] { color: var(--text); font-weight: 500; }

/* ---------- inner page hero ---------- */
.v3-inner-hero {
  padding: 64px 0 72px;
  background:
    radial-gradient(700px 380px at 90% -5%, rgba(124,58,237,0.07), transparent 60%),
    radial-gradient(500px 340px at 0% 0%, rgba(200,38,140,0.04), transparent 55%),
    var(--bg);
  position: relative;
  overflow: hidden;
}
.v3-inner-hero::after {
  content: "";
  position: absolute;
  top: -40px; right: -60px;
  width: 440px; height: 440px;
  background: url("/static/svg/hex-pattern.svg") center/contain no-repeat;
  opacity: 0.35;
  pointer-events: none;
}
.v3-inner-hero .container { position: relative; z-index: 1; max-width: 860px; }
.v3-inner-hero .eyebrow { margin-bottom: 16px; }
.v3-inner-hero h1 {
  font-size: clamp(30px, 4.2vw, 52px);
  font-weight: 800;
  letter-spacing: -0.028em;
  color: var(--ink);
  margin: 16px 0 18px;
}
.v3-inner-hero-sub {
  font-size: 18px;
  color: var(--text);
  max-width: 680px;
  margin-bottom: 30px;
  line-height: 1.65;
}
.v3-inner-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
}

/* ---------- section helper ---------- */
.v3-section-h2 {
  font-size: clamp(24px, 3vw, 36px);
  margin: 16px 0 24px;
  letter-spacing: -0.018em;
}

/* ---------- lead paragraph ---------- */
.v3-lead {
  font-size: 17px;
  color: var(--text);
  line-height: 1.72;
  margin-bottom: 20px;
  max-width: 720px;
}
.v3-lead a { color: var(--royal); font-weight: 600; }

/* ---------- category intro block ---------- */
.v3-cat-intro { padding: 20px 0; }
.v3-cat-intro .v3-lead { max-width: 100%; }

/* ---------- v3 checklist (used in all inner pages) ---------- */
.v3-checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.v3-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 17px;
  color: var(--text);
  line-height: 1.55;
}
.v3-checklist li svg {
  color: var(--royal);
  flex: none;
  margin-top: 3px;
}
.v3-checklist li span { flex: 1; }
.v3-checklist li strong { color: var(--ink); font-weight: 600; }

/* ---------- v3 approach list (numbered, how-we-work) ---------- */
.v3-approach {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
  counter-reset: approach;
}
.v3-approach li {
  display: flex;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  align-items: flex-start;
}
.v3-approach li:last-child { border-bottom: none; }
.v3-approach-n {
  font-family: var(--mono);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--royal);
  flex: none;
  width: 36px;
  padding-top: 2px;
}
.v3-approach-body { flex: 1; }
.v3-approach-body strong {
  display: block;
  font-family: var(--display);
  font-weight: 700;
  font-size: 17px;
  color: var(--ink);
  margin-bottom: 6px;
}
.v3-approach-body p {
  font-size: 16px;
  color: var(--text-dim);
  margin: 0;
  line-height: 1.65;
}

/* ---------- v3 callout / note box ---------- */
.v3-callout {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px 22px;
  border-radius: var(--radius);
  background: var(--bg-alt);
  border: 1px solid var(--line-2);
  margin-bottom: 16px;
}
.v3-callout-ic {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(200,38,140,0.1);
  border: 1px solid rgba(200,38,140,0.2);
  color: var(--magenta);
  flex: none;
}
.v3-callout strong {
  display: block;
  font-family: var(--display);
  font-weight: 700;
  font-size: 16px;
  color: var(--ink);
  margin-bottom: 6px;
}
.v3-callout p {
  font-size: 16px;
  color: var(--text-dim);
  margin: 0;
  line-height: 1.6;
}

/* ---------- v3 FAQ accordion ---------- */
.v3-faq { display: flex; flex-direction: column; gap: 0; }
.v3-faq-item {
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.v3-faq-item:first-child { border-top: 1px solid var(--line); }
.v3-faq-q {
  font-family: var(--display);
  font-weight: 600;
  font-size: 17px;
  color: var(--ink);
  padding: 18px 44px 18px 0;
  cursor: pointer;
  list-style: none;
  position: relative;
  transition: color 0.16s;
}
.v3-faq-q::-webkit-details-marker { display: none; }
.v3-faq-q::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 22px;
  color: var(--royal);
  transition: transform 0.2s var(--ease);
}
.v3-faq-item[open] .v3-faq-q::after { transform: translateY(-50%) rotate(45deg); }
.v3-faq-item[open] .v3-faq-q { color: var(--royal); }
.v3-faq-a {
  padding: 0 0 20px;
}
.v3-faq-a p {
  font-size: 16px;
  color: var(--text-dim);
  margin: 0;
  line-height: 1.7;
}

/* ---------- service detail layout (main + sticky aside) ---------- */
.v3-svc-body { padding-top: 56px; padding-bottom: 56px; }
.v3-svc-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
  align-items: flex-start;
}
.v3-svc-main { display: flex; flex-direction: column; gap: 22px; min-width: 0; }

/* each content section gets a white card */
.svc-detail-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 34px 36px;
  box-shadow: var(--shadow-sm);
}
.svc-detail-card h2 {
  font-size: clamp(20px, 2.4vw, 26px);
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.svc-detail-card p {
  font-size: 17px;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 14px;
}
.svc-detail-card p:last-child { margin-bottom: 0; }
.svc-notes .v3-callout:last-child { margin-bottom: 0; }

/* sticky sidebar */
.v3-svc-aside {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: sticky;
  top: 94px; /* clears the sticky header (74px) + 20px breathing room */
}
.v3-aside-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-sm);
}
.v3-aside-card h3 {
  font-size: 17px;
  margin-bottom: 10px;
  line-height: 1.3;
}
.v3-aside-card h4 {
  font-family: var(--mono);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 14px;
}
.v3-aside-card p {
  font-size: 16px;
  color: var(--text-dim);
  margin-bottom: 18px;
  line-height: 1.6;
}
.v3-aside-btn {
  display: flex;
  width: 100%;
  margin-bottom: 10px;
  justify-content: center;
}
.v3-aside-btn:last-of-type { margin-bottom: 0; }

/* related links in aside */
.v3-related-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.v3-related-list li a {
  display: block;
  padding: 9px 12px;
  border-radius: 9px;
  font-size: 16px;
  color: var(--text);
  transition: background 0.16s, color 0.16s;
}
.v3-related-list li a:hover {
  background: var(--bg-alt);
  color: var(--royal);
}

/* ---------- hub card enhancement (icon + services links) ---------- */
.v3-hub-card { text-decoration: none; color: inherit; }
.v3-hub-card .cat-services li a {
  color: var(--text);
  font-size: 16px;
  transition: color 0.16s;
}
.v3-hub-card .cat-services li a:hover { color: var(--royal); }
.v3-hub-card .cat-services li svg { color: var(--royal); }

/* ---------- category page service grid ---------- */
/* Flex (not grid) so the last row centers and never leaves a lone card.
   --svc-cols (set per category in the HTML) controls cards per row. */
.v3-svc-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px; }
.v3-svc-grid > .cat-card {
  flex: 0 1 calc((100% - (var(--svc-cols, 3) - 1) * 22px) / var(--svc-cols, 3) - 0.5px);
}
@media (max-width: 900px) { .v3-svc-grid > .cat-card { flex-basis: calc(50% - 11px); } }
@media (max-width: 620px) { .v3-svc-grid > .cat-card { flex-basis: 100%; } }
.v3-svc-grid .cat-card {
  text-decoration: none;
}
.v3-svc-grid .cat-card h3 {
  font-size: 19px;
  margin-bottom: 10px;
}
.v3-svc-grid .cat-card > p {
  font-size: 16px;
  color: var(--text-dim);
  flex: 1;
  margin-bottom: 16px;
}
/* full-width cover band (gradient + service icon) at the top of each service card */
.v3-svc-grid .cat-card { padding: 0; overflow: hidden; }
.v3-svc-grid .svc-cover { display: flex; align-items: center; justify-content: center; height: 118px; position: relative; }
.v3-svc-grid .svc-cover::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 78% 18%, rgba(255,255,255,0.22), transparent 62%); }
.v3-svc-grid .svc-cover-ic { width: 48px; height: 48px; color: #fff; position: relative; z-index: 1; }
.v3-svc-grid .svc-body { display: flex; flex-direction: column; flex: 1; padding: 24px 24px 26px; }
.v3-svc-grid .svc-body p { font-size: 16px; color: var(--text-dim); margin-bottom: 16px; }
.cover-pci-compliance { background: linear-gradient(135deg, #56216E 0%, #c8268c 100%); }
.cover-iso-certification { background: linear-gradient(135deg, #391257 0%, #7c3aed 100%); }
.cover-offensive-security { background: linear-gradient(135deg, #c8268c 0%, #7c3aed 100%); }
.cover-data-protection { background: linear-gradient(135deg, #7c3aed 0%, #56216E 100%); }
.cover-cybersecurity-it { background: linear-gradient(135deg, #230438 0%, #56216E 100%); }
.cover-governance-frameworks { background: linear-gradient(135deg, #9A3186 0%, #56216E 100%); }

/* ---------- contact page ---------- */
.v3-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: flex-start;
}
.v3-contact-col {}
.v3-contact-col .eyebrow { margin-bottom: 14px; }
.v3-booking-card {
  margin-top: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--bg-soft);
  overflow: hidden;
}
.v3-booking-placeholder {
  padding: 48px 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
  color: var(--text-dim);
}
.v3-booking-placeholder svg {
  color: var(--royal);
  opacity: 0.6;
}
.v3-booking-placeholder p { font-size: 17px; margin: 0; }
.v3-booking-note { font-size: 16px !important; color: var(--text-dim); }
.v3-contact-items { margin-top: 20px; display: flex; flex-direction: column; gap: 0; }
.v3-contact-item {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.v3-contact-item:last-child { border-bottom: none; }
.v3-contact-label {
  font-family: var(--mono);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 6px;
}
.v3-contact-value { font-size: 17px; color: var(--ink); font-weight: 600; }
.v3-contact-value a { color: var(--royal); transition: color 0.16s; }
.v3-contact-value a:hover { color: var(--violet); }

/* ---------- sub-processors table ---------- */
.v3-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin-top: 32px; }
.v3-subprocessor-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
  color: var(--text);
}
.v3-subprocessor-table thead tr {
  border-bottom: 2px solid var(--line-2);
}
.v3-subprocessor-table th {
  font-family: var(--mono);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
  padding: 12px 16px;
  text-align: left;
  white-space: nowrap;
}
.v3-subprocessor-table td {
  padding: 16px 16px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  line-height: 1.6;
}
.v3-subprocessor-table tr:last-child td { border-bottom: none; }
.v3-subprocessor-table tr:hover td { background: var(--bg-soft); }
.v3-subprocessor-table td strong { color: var(--ink); font-weight: 600; }

/* ---------- active nav link state ---------- */
.nav .nav-trigger.active { color: var(--royal); }
.nav > a.active { color: var(--royal); background: var(--bg-alt); border-radius: 9px; }

/* ---------- responsive: inner pages ---------- */
@media (max-width: 1024px) {
  .v3-svc-layout { grid-template-columns: 1fr; }
  .v3-svc-aside { position: static; top: auto; }
  .v3-contact-grid { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 860px) {
  .v3-inner-hero { padding: 40px 0 48px; }
  .v3-inner-hero::after { display: none; }
  .v3-svc-body { padding-top: 40px; padding-bottom: 40px; }
  .svc-detail-card { padding: 24px 22px; }
}
@media (max-width: 620px) {
  .v3-inner-hero h1 { font-size: clamp(26px, 8vw, 36px); }
  .svc-detail-card { padding: 20px; }
  .v3-approach li { gap: 14px; }
  .v3-subprocessor-table th, .v3-subprocessor-table td { padding: 12px 10px; }
  /* the hero already contributes bottom spacing; avoid stacking the generic section's top padding on top of it */
  :where(.v3-inner-hero) + section { padding-top: 0; }
}

/* ============================================================
   v3 SPLIT HERO (two-column: text left, image right)
   Used on service detail pages and category pages.
   ============================================================ */

.v3-inner-hero--split .container {
  max-width: var(--container);
}
.v3-inner-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.v3-inner-hero-text {
  /* inherits all existing inner-hero text treatment */
}
.v3-inner-hero-img-col {
  display: flex;
  align-items: center;
  justify-content: center;
}
.v3-inner-hero-img-wrap {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
  max-height: 340px;
}
.v3-inner-hero-img-wrap img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  display: block;
  border-radius: var(--radius-lg);
}

/* Stack on narrow screens: image goes above text */
@media (max-width: 860px) {
  .v3-inner-hero--split .v3-inner-hero-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .v3-inner-hero--split .v3-inner-hero-img-col {
    order: -1;
  }
  .v3-inner-hero-img-wrap,
  .v3-inner-hero-img-wrap img {
    max-height: 220px;
    height: 220px;
  }
}

/* Hide the image column entirely on very small screens */
@media (max-width: 480px) {
  .v3-inner-hero--split .v3-inner-hero-img-col {
    display: none;
  }
}

/* ============================================================
   v3 CREDENTIALS STRIP on service detail pages
   Reuses .cred-label, .cred-row, .cred-tile from homepage trust strip.
   ============================================================ */

.v3-creds-section {
  padding: 56px 0 40px;
  border-top: 1px solid var(--line);
  background: var(--bg-soft);
}
.v3-creds-section .cred-label {
  margin-top: 0;
}

/* ============================================================
   v3 ASIDE PERSON BLOCK (Atika in service-page sidebar)
   ============================================================ */

.v3-aside-person {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.v3-aside-person-photo {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  flex: none;
  border: 2px solid var(--line-2);
  box-shadow: var(--shadow-sm);
}
.v3-aside-person-info {
  flex: 1;
  min-width: 0;
}
.v3-aside-person-name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 16px;
  color: var(--ink);
  line-height: 1.25;
}
.v3-aside-person-role {
  font-size: 16px;
  color: var(--royal);
  font-weight: 500;
  margin-top: 3px;
  line-height: 1.25;
}

/* ============================================================
   TASK A — Brand emblem panel (replaces per-category photos)
   Purple gradient panel with a single large white line-icon.
   Used identically on every service and category header.
   ============================================================ */

.v3-hero-emblem {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  background: var(--grad);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.v3-hero-emblem::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 20%, rgba(255,255,255,0.14), transparent 60%);
}
.v3-hero-emblem svg {
  position: relative;
  z-index: 1;
  width: 120px;
  height: 120px;
  color: #fff;
}

/* ============================================================
   TASK B — Category intro structured heading + body text
   ============================================================ */

.v3-cat-intro .section-head {
  text-align: left;
  margin: 0 0 28px;
}
.v3-cat-intro .section-head .eyebrow {
  justify-content: flex-start;
}
.v3-cat-body {
  font-size: 17px;
  color: var(--text-dim);
  line-height: 1.72;
  margin-bottom: 18px;
  max-width: 720px;
}

/* ---------- collapsible overview (read more / read less) ---------- */
.v3-overview {
  border: 0;
  margin: 0;
  padding: 0;
}
.v3-overview > summary.v3-overview-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  list-style: none;
  font-size: 16px;
  font-weight: 600;
  color: var(--royal);
  padding: 6px 0 2px;
  user-select: none;
  -webkit-user-select: none;
}
.v3-overview > summary.v3-overview-toggle::-webkit-details-marker { display: none; }
.v3-overview > summary.v3-overview-toggle::marker { content: ""; }
.v3-overview > summary.v3-overview-toggle:hover { text-decoration: underline; }
.v3-overview > summary.v3-overview-toggle:focus-visible {
  outline: 2px solid var(--royal);
  outline-offset: 3px;
  border-radius: 4px;
}
.v3-overview-chev {
  width: 18px;
  height: 18px;
  flex: none;
  transition: transform 0.25s ease;
}
.v3-overview[open] .v3-overview-chev { transform: rotate(180deg); }
.v3-overview-less-label { display: none; }
.v3-overview[open] .v3-overview-more-label { display: none; }
.v3-overview[open] .v3-overview-less-label { display: inline; }
.v3-overview-body { padding-top: 14px; }
.v3-overview-body > .v3-cat-body:last-child { margin-bottom: 0; }
.v3-overview-h3 {
  font-size: 21px;
  letter-spacing: -0.012em;
  margin: 26px 0 12px;
  color: var(--text);
}
.v3-overview-body > .v3-overview-h3:first-child { margin-top: 4px; }

/* ---------- overview accordion (per-section collapse) ---------- */
.v3-ov-acc-list {
  margin-top: 22px;
  border-top: 1px solid var(--line);
}
.v3-ov-acc { border-bottom: 1px solid var(--line); }
.v3-ov-acc-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  list-style: none;
  padding: 19px 4px 19px 0;
  user-select: none;
  -webkit-user-select: none;
}
.v3-ov-acc-head::-webkit-details-marker { display: none; }
.v3-ov-acc-head::marker { content: ""; }
.v3-ov-acc-head:focus-visible {
  outline: 2px solid var(--royal);
  outline-offset: 2px;
  border-radius: 4px;
}
.v3-ov-acc-title {
  font-size: 20px;
  line-height: 1.3;
  margin: 0;
  letter-spacing: -0.012em;
  color: var(--ink);
  transition: color 0.18s ease;
}
.v3-ov-acc-head:hover .v3-ov-acc-title { color: var(--royal); }
.v3-ov-acc-chev {
  width: 22px;
  height: 22px;
  flex: none;
  color: var(--royal);
  transition: transform 0.25s ease;
}
.v3-ov-acc[open] .v3-ov-acc-chev { transform: rotate(180deg); }
.v3-ov-acc-body { padding: 0 0 22px; }
.v3-ov-acc-body > .v3-cat-body { max-width: 760px; }
.v3-ov-acc-body > .v3-cat-body:last-child { margin-bottom: 0; }

/* ============================================================
   TASK C — Sub-service chip jump menu on category pages
   ============================================================ */

.v3-cat-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
  justify-content: center;
}
.v3-cat-chip {
  display: inline-flex;
  align-items: center;
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: #fff;
  font-size: 16px;
  font-weight: 500;
  color: var(--royal);
  transition: background 0.18s, border-color 0.18s, color 0.18s, box-shadow 0.18s;
  box-shadow: var(--shadow-sm);
  text-decoration: none;
}
.v3-cat-chip:hover {
  background: var(--bg-alt);
  border-color: var(--royal);
  color: var(--violet);
  box-shadow: var(--shadow);
}

/* ============================================================
   TASK C — "In this practice" sidebar nav (full sibling list)
   Current service is not a link; shown in royal color + bold.
   ============================================================ */

.v3-related-list li.is-current {
  display: block;
  padding: 9px 12px;
  border-radius: 9px;
  font-size: 16px;
  font-weight: 700;
  color: var(--royal);
  background: var(--bg-alt);
  position: relative;
  cursor: default;
}
.v3-related-list li.is-current::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 60%;
  border-radius: 3px;
  background: var(--grad);
}

/* ============================================================
   Responsive: emblem on very small screens
   ============================================================ */
@media (max-width: 480px) {
  .v3-hero-emblem svg {
    width: 80px;
    height: 80px;
  }
}

/* ---- Self-assessment lead-magnet band (reusable: home, service, blog) ---- */
.sa-band-section { padding: 30px 0; }
.sa-band {
  background: var(--grad, linear-gradient(120deg,#c8268c,#7c3aed 58%,#56216e));
  border-radius: 20px; padding: 40px 44px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 22px 40px;
  color: #fff; box-shadow: 0 20px 50px rgba(35,4,56,.22);
}
.sa-band-text { flex: 1 1 420px; min-width: 0; }
.sa-band-eyebrow { display: inline-block; font-size: 14px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; opacity: .9; margin-bottom: 10px; }
.sa-band h2 { font-size: 30px; line-height: 1.2; color: #fff; margin: 0 0 12px; }
.sa-band p { font-size: 17px; line-height: 1.6; color: rgba(255,255,255,.92); margin: 0; max-width: 64ch; }
.sa-band-btn { flex: none; background: #fff; color: var(--royal, #56216e); font-weight: 700; font-size: 17px; padding: 16px 30px; border-radius: 12px; text-decoration: none; display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; transition: transform .15s, box-shadow .15s; }
.sa-band-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(0,0,0,.22); }
.sa-band-btn .arrow { transition: transform .15s; }
.sa-band-btn:hover .arrow { transform: translateX(4px); }
@media (max-width: 760px) {
  .sa-band { padding: 30px 24px; }
  .sa-band h2 { font-size: 24px; }
  .sa-band-btn { flex: 1 1 100%; justify-content: center; white-space: normal; text-align: center; margin-top: 6px; }
}

/* ---------- article tables (blog / news content) ---------- */
.article-main .tscroll-wrap { margin: 30px 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); background: #fff; }
.article-main .tscroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
/* raw markdown tables that are not wrapped still get the frame */
.article-main > table, .article-main p > table { margin: 30px 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.article-main table { width: 100%; border-collapse: collapse; font-size: 16px; line-height: 1.55; }
.article-main thead th { background: var(--grad); color: #fff; font-family: var(--display); font-weight: 700; text-align: left; padding: 14px 18px; font-size: 16px; vertical-align: middle; border: none; }
.article-main thead th:not(:first-child) { border-left: 1px solid rgba(255,255,255,0.18); }
.article-main tbody td { padding: 14px 18px; border-top: 1px solid var(--line); color: var(--text); vertical-align: top; font-size: 16px; }
.article-main tbody td:not(:first-child) { border-left: 1px solid var(--line); }
.article-main tbody tr:nth-child(even) td { background: var(--bg-soft); }
.article-main tbody td:first-child { font-weight: 600; color: var(--ink); }
.article-main caption { caption-side: top; text-align: left; font-size: 16px; color: var(--text-dim); padding: 0 2px 10px; }
@media (max-width: 600px) {
  .article-main thead th, .article-main tbody td { padding: 12px 12px; }
}
