/* ============================================================
   BI PROTECTION — design system
   Dark navy + gold accent. Built for premium B2B security
   positioning across four divisions.
   ============================================================ */

:root {
  --bg:           #050912;
  --surface:      #0B1426;
  --surface-2:    #14213D;
  --rule:         rgba(255,255,255,0.08);
  --rule-strong:  rgba(255,255,255,0.16);

  --text:         #C9D2E5;
  --text-dim:     rgba(255,255,255,0.65);
  --muted:        rgba(255,255,255,0.50);

  --accent:       #E0B040;
  --accent-bright:#F0C45A;
  --accent-deep:  #B88A28;

  /* gold aliases — all inline var(--gold) references */
  --gold:         #E0B040;
  --gold-bright:  #F0C45A;
  --gold-deep:    #B88A28;

  --blue:         #1E5FFF;
  --blue-deep:    #0A2E80;

  --red:          #E53935;

  --max-w:        1200px;
  --radius-lg:    20px;
  --radius-md:    14px;
  --radius-sm:    10px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Inter", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-bright); }

h1, h2, h3, h4 {
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1.15;
  font-weight: 800;
}

img { max-width: 100%; height: auto; display: block; }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(5,9,18,0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rule);
}
.header-inner {
  max-width: var(--max-w); margin: 0 auto; padding: 16px 24px;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
}
.brand {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none; color: #fff;
}
.brand-mark {
  width: 38px; height: 38px; border-radius: 8px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%);
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; color: #fff; font-size: 18px; letter-spacing: -0.02em;
  overflow: hidden;
}
.brand-text { font-weight: 800; font-size: 18px; letter-spacing: 0.02em; }
.brand-text .grey { color: var(--text-dim); font-weight: 500; }
.brand-logo {
  height: 50px;
  width: auto;
  border-radius: 8px;
  display: block;
}

.nav { display: flex; gap: 28px; align-items: center; }
.nav a { color: var(--text); font-size: 14px; font-weight: 500; letter-spacing: 0.01em; }
.nav a:hover { color: #fff; }
.nav .cta {
  background: var(--accent); color: var(--bg);
  padding: 9px 18px; border-radius: 8px; font-weight: 700;
}
.nav .cta:hover { background: var(--accent-bright); color: var(--bg); }

.nav-toggle {
  display: none; background: transparent; border: 1px solid var(--rule-strong);
  width: 40px; height: 40px; border-radius: 8px; cursor: pointer;
}
.nav-toggle .bar { display: block; width: 18px; height: 2px; background: #fff; margin: 4px auto; }

@media (max-width: 880px) {
  .nav-toggle { display: block; }
  .nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: var(--surface); border-top: 1px solid var(--rule);
    padding: 18px 24px;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--rule); width: 100%; }
  .nav .cta { margin-top: 12px; text-align: center; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(224,176,64,0.18) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(184,138,40,0.10) 0%, transparent 50%),
    linear-gradient(180deg, var(--bg) 0%, #0a1326 100%);
  padding: 110px 24px 130px;
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}
.hero-inner { max-width: 980px; margin: 0 auto; position: relative; z-index: 2; text-align: center; }

.hero .eyebrow {
  display: inline-block;
  color: var(--accent-bright);
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  border: 1px solid rgba(224,176,64,0.35);
  padding: 7px 16px; border-radius: 999px;
  margin-bottom: 28px;
  background: rgba(224,176,64,0.08);
}

.hero h1 {
  font-size: clamp(42px, 6.5vw, 76px);
  margin: 0 0 24px;
  background: linear-gradient(180deg, #fff 0%, #C9D2E5 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero h1 .accent {
  -webkit-text-fill-color: var(--accent-bright);
  color: var(--accent-bright);
  background: none;
}
.hero .lead {
  font-size: clamp(17px, 2vw, 21px);
  color: var(--text-dim);
  max-width: 720px;
  margin: 0 auto 38px;
  line-height: 1.55;
}
.hero .ctas {
  display: flex; gap: 14px; justify-content: center; flex-wrap: wrap;
}
.cta-primary, .cta-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 16px 32px; border-radius: 10px;
  font-weight: 700; font-size: 15px; letter-spacing: 0.01em;
  transition: transform 0.15s, background 0.15s, color 0.15s;
  text-decoration: none;
}
.cta-primary {
  background: var(--accent); color: var(--bg);
  box-shadow: 0 10px 30px rgba(224,176,64,0.25);
}
.cta-primary:hover { background: var(--accent-bright); transform: translateY(-2px); color: var(--bg); }
.cta-secondary {
  background: transparent; color: #fff;
  border: 1px solid var(--rule-strong);
}
.cta-secondary:hover { background: rgba(255,255,255,0.06); color: #fff; }

.hero-stats {
  margin-top: 70px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 28px; max-width: 880px; margin-left: auto; margin-right: auto;
  border-top: 1px solid var(--rule);
  padding-top: 38px;
}
.hero-stat .n { color: var(--accent-bright); font-size: clamp(28px, 3.5vw, 40px); font-weight: 800; letter-spacing: -0.02em; }
.hero-stat .l { color: var(--text-dim); font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; margin-top: 6px; }

/* ============================================================
   TRUST STRIP (group entities + certifications)
   ============================================================ */
.trust-strip {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 32px 24px;
  background: var(--surface);
}
.trust-strip .container {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 22px 48px;
}
.trust-strip .label {
  color: var(--text-dim); font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.16em; font-weight: 700;
  width: 100%; text-align: center; margin-bottom: 6px;
}
.trust-strip .entity {
  color: #fff; font-weight: 700; font-size: 16px;
  letter-spacing: 0.02em; opacity: 0.85;
}
.trust-strip .entity::before {
  content: ""; display: inline-block; vertical-align: middle;
  width: 6px; height: 6px; background: var(--accent-bright);
  border-radius: 50%; margin-right: 10px;
}

/* ============================================================
   DIVISIONS GRID (4 verticals)
   ============================================================ */
.divisions { padding: 100px 24px; }
.divisions h2 {
  text-align: center; font-size: clamp(28px, 4vw, 44px); margin: 0 0 14px;
}
.divisions .section-lead {
  text-align: center; color: var(--text-dim); max-width: 640px;
  margin: 0 auto 60px; font-size: 17px; line-height: 1.55;
}
.divisions-grid {
  display: grid; grid-template-columns: 1fr; gap: 22px;
}
@media (min-width: 760px) { .divisions-grid { grid-template-columns: repeat(2, 1fr); } }

.division-card {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: 36px 32px 32px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.18s, transform 0.18s, box-shadow 0.18s;
  text-decoration: none; color: inherit;
  display: flex; flex-direction: column;
}
.division-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.4), 0 0 0 1px rgba(224,176,64,0.3);
}
.division-card .div-num {
  position: absolute; top: 24px; right: 28px;
  color: var(--rule-strong); font-size: 60px; font-weight: 800;
  letter-spacing: -0.04em; opacity: 0.6;
  font-variant-numeric: tabular-nums;
}
.division-card .div-tag {
  color: var(--accent-bright); font-size: 11px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 14px;
}
.division-card h3 { font-size: 26px; margin: 0 0 12px; line-height: 1.2; }
.division-card .div-sub { color: var(--text-dim); font-size: 14px; margin: 0 0 18px; font-weight: 500; }
.division-card .div-body { color: var(--text-dim); font-size: 15px; line-height: 1.6; margin: 0 0 22px; flex: 1; }
.division-card ul { list-style: none; padding: 0; margin: 0 0 24px; }
.division-card ul li {
  color: var(--text); font-size: 14px;
  padding: 6px 0 6px 22px; position: relative;
}
.division-card ul li::before {
  content: ""; position: absolute; left: 0; top: 13px;
  width: 8px; height: 2px; background: var(--accent-bright);
}
.division-card .div-cta {
  color: var(--accent-bright); font-weight: 700; font-size: 14px;
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: auto;
}

/* ============================================================
   CAPABILITIES STRIP
   ============================================================ */
.capabilities {
  padding: 90px 24px; background: var(--surface);
  border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
}
.capabilities h2 {
  text-align: center; font-size: clamp(26px, 3.5vw, 38px); margin: 0 0 14px;
}
.capabilities .section-lead {
  text-align: center; color: var(--text-dim); max-width: 640px;
  margin: 0 auto 56px; font-size: 16px;
}
.cap-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
}
.cap {
  background: var(--bg); border: 1px solid var(--rule);
  border-radius: var(--radius-md); padding: 24px 22px;
}
.cap .icon {
  width: 40px; height: 40px; border-radius: 8px;
  background: linear-gradient(135deg, rgba(224,176,64,0.18), rgba(224,176,64,0.06));
  border: 1px solid rgba(224,176,64,0.30);
  color: var(--accent-bright);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; margin-bottom: 14px;
}
.cap h4 { color: #fff; font-size: 15px; margin: 0 0 6px; font-weight: 700; }
.cap p { color: var(--text-dim); font-size: 13px; line-height: 1.55; margin: 0; }

/* ============================================================
   CTA STRIP
   ============================================================ */
.cta-strip {
  padding: 90px 24px;
  background:
    radial-gradient(ellipse at 30% 30%, rgba(224,176,64,0.10) 0%, transparent 50%),
    var(--bg);
}
.cta-strip .container {
  max-width: 820px; text-align: center;
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius-lg);
  padding: 60px 36px;
  background: var(--surface);
}
.cta-strip h2 { font-size: clamp(26px, 3.5vw, 38px); margin: 0 0 16px; }
.cta-strip p { color: var(--text-dim); margin: 0 auto 30px; max-width: 560px; line-height: 1.55; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: #02060f; padding: 70px 24px 28px;
  border-top: 1px solid var(--rule);
  color: var(--text-dim); font-size: 14px;
}
.footer-inner {
  max-width: var(--max-w); margin: 0 auto;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
}
.footer-col h4 {
  color: var(--accent-bright); font-size: 12px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; margin: 0 0 16px;
}
.footer-col a { color: var(--text-dim); text-decoration: none; display: block; padding: 6px 0; font-size: 14px; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  max-width: var(--max-w); margin: 50px auto 0;
  border-top: 1px solid var(--rule);
  padding-top: 24px;
  color: var(--muted); font-size: 12px; text-align: center;
}

/* ============================================================
   PAGE-LEVEL helpers (used by inner pages)
   ============================================================ */
.page-hero {
  padding: 100px 24px 70px;
  background:
    radial-gradient(ellipse at 30% 30%, rgba(30,95,255,0.12) 0%, transparent 60%),
    linear-gradient(180deg, var(--bg) 0%, #0a1326 100%);
  border-bottom: 1px solid var(--rule);
}
.page-hero .container { max-width: 920px; text-align: center; }
.page-hero .crumb { color: var(--text-dim); font-size: 13px; margin-bottom: 16px; }
.page-hero .crumb a { color: var(--accent-bright); }
.page-hero h1 { font-size: clamp(36px, 5vw, 56px); margin: 0 0 18px; }
.page-hero .lead { color: var(--text-dim); font-size: 18px; line-height: 1.55; max-width: 640px; margin: 0 auto; }

.section { padding: 80px 24px; }
.section h2 { font-size: clamp(26px, 3.5vw, 38px); margin: 0 0 14px; }
.section p.lead { color: var(--text-dim); font-size: 17px; line-height: 1.6; margin: 0 0 28px; max-width: 720px; }
