/* ==========================================================
   SECURE AXIS — Design System
   Palette: dark navy / teal (corporate security & compliance)
   ========================================================== */

:root {
  --navy-darkest: #081426;
  --navy: #0D1D33;
  --navy-border: #20364F;
  --navy-border-2: #29435D;
  --teal: #00A99D;
  --teal-bright: #00C7B8;
  --text-dark: #10233D;
  --text-muted: #607086;
  --text-light: #BFD0DE;
  --text-light-2: #C5D3E1;
  --card-border: #DDE6EC;
  --bg-tint: #F5F8FA;
  --white: #FFFFFF;

  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;

  --container: 1180px;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--teal-bright);
  outline-offset: 2px;
  border-radius: 4px;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.3px;
}
h1 { font-size: 48px; }
h2 { font-size: 34px; }
h3 { font-size: 21px; }
p { margin: 0; }

/* ---------- Nav ---------- */
.site-header {
  background: var(--navy-darkest);
  border-bottom: 1px solid rgba(255,255,255,.08);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: box-shadow .2s ease;
}
.site-header.scrolled { box-shadow: 0 8px 24px rgba(0,0,0,.25); }
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: var(--container);
  margin: 0 auto;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.3px;
}
.nav-logo span { color: var(--teal-bright); }
.nav-logo svg { flex-shrink: 0; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  color: var(--text-light-2);
  font-size: 15px;
  font-weight: 500;
  transition: color .15s ease;
}
.nav-links a:hover,
.nav-links a.active { color: var(--white); }

.nav-item-dropdown { position: relative; }
.nav-dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: default;
}
.nav-dropdown-trigger svg { transition: transform .15s ease; }
.nav-dropdown {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  background: var(--navy);
  border: 1px solid var(--navy-border);
  border-radius: 12px;
  padding: 10px;
  min-width: 260px;
  box-shadow: 0 16px 40px rgba(0,0,0,.35);
  opacity: 0;
  visibility: hidden;
  transition: opacity .15s ease, transform .15s ease, visibility .15s ease;
}
@media (hover: hover) and (pointer: fine) {
  .nav-item-dropdown:hover .nav-dropdown-trigger svg { transform: rotate(180deg); }
  .nav-item-dropdown:hover .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
  }
}
.nav-dropdown a {
  display: block;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 14px;
  color: var(--text-light-2);
}
.nav-dropdown a:hover { background: rgba(255,255,255,.06); color: var(--white); }

.nav-cta {
  background: var(--teal);
  color: var(--white) !important;
  padding: 10px 22px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
}
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(255,255,255,.2);
  color: var(--white);
  border-radius: 8px;
  padding: 9px 14px;
  font-size: 14px;
  cursor: pointer;
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--navy-darkest);
    border-top: 1px solid rgba(255,255,255,.08);
    padding: 8px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 12px; border-radius: 8px; }
  .nav-links a:hover { background: rgba(255,255,255,.06); }
  .nav-item-dropdown { width: 100%; }
  .nav-dropdown-trigger { justify-content: space-between; padding: 14px 12px; }
  .nav-dropdown {
    position: static; transform: none; opacity: 1; visibility: visible;
    box-shadow: none; border: none; background: rgba(255,255,255,.03);
    display: none; min-width: 0; margin-top: 0;
  }
  .nav-item-dropdown.open .nav-dropdown { display: block; }
  .nav-item-dropdown.open .nav-dropdown-trigger svg { transform: rotate(180deg); }
  .nav-cta { display: block; text-align: center; margin: 8px 12px 4px; }
  .nav-toggle { display: block; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: transform .15s ease, opacity .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-2px); opacity: .93; box-shadow: 0 10px 24px rgba(0,0,0,.18); }
.btn-white { background: var(--white); color: var(--navy-darkest); }
.btn-teal-on-white { background: var(--white); color: var(--teal); }
.btn-teal { background: var(--teal); color: var(--white); }
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,.35);
}
.btn-row { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---------- Sections ---------- */
section { padding: 64px 0; }
.section-tight { padding: 40px 0 16px; }
.bg-navy-darkest { background: var(--navy-darkest); color: var(--white); }
.bg-navy { background: var(--navy); color: var(--white); }
.bg-white { background: var(--white); }
.bg-tint { background: var(--bg-tint); }
.bg-teal { background: var(--teal); color: var(--white); }

.eyebrow {
  color: var(--teal-bright);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.eyebrow.on-light { color: var(--teal); }
.section-header { max-width: 720px; margin-bottom: 40px; }
.section-header.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-header p { margin-top: 14px; color: var(--text-muted); font-size: 16px; }
.bg-navy .section-header p,
.bg-navy-darkest .section-header p { color: var(--text-light); }

/* ---------- Card grids ---------- */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
@media (max-width: 1024px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

.card {
  box-sizing: border-box;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  background: var(--white);
  padding: 26px;
  min-width: 0;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px rgba(16,35,61,.08);
  border-color: rgba(0,169,157,.35);
}
.card-process:hover,
.card-benefit:hover {
  box-shadow: 0 16px 32px rgba(0,0,0,.25);
  border-color: rgba(0,199,184,.4);
}
.card h3 { margin: 0 0 12px; font-size: 21px; color: var(--text-dark); }
.card p { margin: 0; color: var(--text-muted); font-size: 15px; line-height: 1.65; }
.card .num {
  display: block;
  margin: 0 0 10px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .4px;
}
.card .card-link {
  display: inline-block;
  margin-top: 20px;
  color: var(--teal);
  font-weight: 700;
  font-size: 14px;
}

.card-framework { padding: 25px; }
.card-framework h3 { font-size: 19px; }

.card-process {
  background: var(--navy);
  border-color: var(--navy-border);
  color: var(--white);
}
.card-process h3 { color: var(--white); }
.card-process p { color: var(--text-light); }
.card-process .num { color: var(--teal-bright); }

.card-audience { background: var(--bg-tint); }

.card-benefit {
  background: rgba(255,255,255,.035);
  border-color: var(--navy-border);
}
.card-benefit h3 { color: var(--white); font-size: 18px; }
.card-benefit p { color: var(--text-light); }
.card-benefit .num { color: var(--teal-bright); }

.card-bulleted ul { list-style: none; margin: 16px 0 0; padding: 0; }
.card-bulleted li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 10px;
  font-size: 15px;
  color: var(--text-muted);
}
.card-bulleted li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--teal);
  font-weight: 700;
}
.bg-navy .card-bulleted li,
.bg-navy-darkest .card-bulleted li { color: var(--text-light); }
.bg-navy .card-bulleted li::before,
.bg-navy-darkest .card-bulleted li::before { color: var(--teal-bright); }

/* ---------- Hero ---------- */
.hero {
  background: var(--navy-darkest);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 34px 34px;
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 78px 24px;
}
.hero h1 { color: var(--white); margin-bottom: 22px; }
.hero-inner > div:first-child p { color: #DCE7F1; font-size: 17px; line-height: 1.65; font-weight: 400; margin-bottom: 32px; max-width: 520px; }

.hero-visual {
  min-height: 360px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 75% 20%, rgba(0,169,157,.28), transparent 32%),
    linear-gradient(145deg, #112844, #07111f);
  position: relative;
  overflow: hidden;
  padding: 34px;
}
.hero-visual::after {
  content: "";
  position: absolute;
  top: 34px;
  right: 34px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #00D2B8;
  box-shadow: 0 0 18px #00D2B8;
}
.hero-visual-label { font-size: 12px; letter-spacing: 2px; color: #8FA6BD; margin-bottom: 18px; }
.hero-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 18px; }
.hero-stat {
  padding: 18px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-md);
  background: rgba(255,255,255,.045);
}
.hero-stat-label { font-size: 12px; color: #8FA6BD; margin-bottom: 8px; }
.hero-stat-value { font-size: 25px; font-weight: 700; color: var(--white); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hero-path {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-light);
  font-size: 13px;
}
.hero-path .line { height: 1px; flex: 1; background: linear-gradient(90deg, var(--teal), transparent); }

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; padding: 55px 22px 45px; }
  .hero h1 { font-size: 34px; }
}
@media (max-width: 480px) {
  .hero-visual { padding: 24px; min-height: auto; }
  .hero-stats { gap: 10px; }
  .hero-stat { padding: 14px; }
  .hero-stat-value { font-size: 19px; }
  .hero-stat-label { font-size: 10px; }
}

/* ---------- Simple page hero (service/about/contact pages) ---------- */
.page-hero {
  background: var(--navy-darkest);
  color: var(--white);
  padding: 70px 24px 56px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 34px 34px;
}
.page-hero .container { position: relative; z-index: 1; text-align: center; }
.page-hero h1 { color: var(--white); max-width: 780px; margin: 0 auto 20px; }
.page-hero p { color: var(--text-light); max-width: 640px; margin: 0 auto; font-size: 17px; }
.page-hero .eyebrow { justify-content: center; display: flex; }

/* ---------- Why / two-col layout ---------- */
.two-col {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  gap: 55px;
  align-items: center;
}
@media (max-width: 900px) {
  .two-col { grid-template-columns: 1fr; gap: 32px; }
}
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 14px;
}
@media (max-width: 640px) { .benefit-grid { grid-template-columns: 1fr; } }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--teal);
  color: var(--white);
  padding: 58px 40px;
  border-radius: var(--radius-lg);
  text-align: center;
  margin: 0 24px;
}
.cta-band h2 { color: var(--white); margin-bottom: 16px; }
.cta-band p { color: #D7F1EE; font-size: 16px; margin-bottom: 28px; max-width: 560px; margin-left: auto; margin-right: auto; }
.cta-band-wrap { max-width: var(--container); margin: 0 auto; }

/* ---------- Final / closing section ---------- */
.final-section {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  color: var(--white);
  border-top: 1px solid var(--navy-border);
}
.final-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(75,120,150,.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(75,120,150,.09) 1px, transparent 1px);
  background-size: 42px 42px;
  opacity: .55;
}
.final-section::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  right: -170px;
  top: -210px;
  border: 1px solid rgba(0,199,184,.22);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(0,199,184,.035), 0 0 0 140px rgba(0,199,184,.02);
}
.final-inner { position: relative; z-index: 1; max-width: 1180px; margin: 0 auto; padding: 78px 28px 72px; }
.final-top { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(320px,.85fr); gap: 70px; align-items: end; }
.final-top h2 { max-width: 760px; color: var(--white); font-size: 40px; line-height: 1.1; margin-bottom: 20px; }
.final-top p { max-width: 760px; color: var(--text-light); font-size: 16px; line-height: 1.75; }
.final-mark {
  justify-self: end;
  width: 260px;
  min-height: 150px;
  border: 1px solid var(--navy-border-2);
  border-radius: 18px;
  padding: 22px;
  background: linear-gradient(145deg, rgba(21,52,78,.72), rgba(8,28,48,.58));
  position: relative;
}
.final-mark-label { color: #8FAFC2; font-size: 10px; letter-spacing: 1.8px; text-transform: uppercase; }
.final-mark-line { position: absolute; left: 22px; right: 22px; bottom: 42px; height: 1px; background: linear-gradient(90deg, var(--teal-bright), rgba(0,199,184,0)); }
.final-mark-dot { position: absolute; width: 8px; height: 8px; border-radius: 50%; background: var(--teal-bright); right: 24px; bottom: 38px; box-shadow: 0 0 18px rgba(0,199,184,.55); }
.final-mark-caption { position: absolute; left: 22px; bottom: 17px; color: var(--text-light); font-size: 11px; }
.final-pillars { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; margin-top: 52px; }
.final-pillar {
  min-height: 122px;
  border: 1px solid var(--navy-border-2);
  border-radius: 14px;
  padding: 22px 24px;
  background: rgba(255,255,255,.025);
}
.final-pillar-num { display: block; color: var(--teal-bright); font-size: 11px; font-weight: 700; letter-spacing: 1.5px; margin-bottom: 13px; }
.final-pillar strong { display: block; color: var(--white); font-size: 18px; margin-bottom: 7px; }
.final-pillar span { color: #8FAFC2; font-size: 13px; }
@media (max-width: 767px) {
  .final-inner { padding: 58px 22px 54px; }
  .final-top { grid-template-columns: 1fr; gap: 32px; }
  .final-top h2 { font-size: 30px; }
  .final-mark { justify-self: start; width: 100%; max-width: 300px; }
  .final-pillars { grid-template-columns: 1fr; gap: 12px; margin-top: 34px; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-darkest); color: var(--text-light); padding: 56px 24px 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; max-width: var(--container); margin: 0 auto; }
.footer-logo { color: var(--white); font-size: 19px; font-weight: 700; margin-bottom: 14px; }
.footer-logo span { color: var(--teal-bright); }
.footer-col h4 { color: var(--white); font-size: 14px; margin-bottom: 16px; letter-spacing: .3px; }
.footer-col a, .footer-col p { display: block; color: var(--text-light); font-size: 14px; margin-bottom: 10px; }
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  max-width: var(--container);
  margin: 40px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.08);
  font-size: 13px;
  color: #7C93A8;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-bottom a { color: #7C93A8; text-decoration: underline; text-underline-offset: 2px; }
.footer-bottom a:hover { color: var(--teal-bright); }
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ---------- Contact page ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 50px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-item { display: flex; gap: 14px; margin-bottom: 24px; }
.contact-item .icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--bg-tint); color: var(--teal);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: 18px;
}
.contact-item h4 { font-size: 15px; margin-bottom: 4px; color: var(--text-dark); }
.contact-item p { color: var(--text-muted); font-size: 15px; }
.form-card { background: var(--bg-tint); border-radius: var(--radius-md); padding: 32px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field label { font-size: 12px; font-weight: 700; letter-spacing: .4px; color: var(--text-muted); text-transform: uppercase; }
.form-field input, .form-field select, .form-field textarea {
  border: 1px solid var(--card-border); border-radius: 8px; padding: 12px 14px;
  font-family: inherit; font-size: 15px; background: var(--white);
}
.form-field textarea { resize: vertical; min-height: 110px; }
.form-note { font-size: 13px; color: var(--text-muted); margin-top: 16px; }
.form-note code { background: var(--card-border); padding: 2px 6px; border-radius: 4px; font-size: 12px; }

.form-banner {
  padding: 16px 20px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 500;
  margin-top: 30px;
}
.form-banner-success { background: rgba(0,169,157,.1); color: #0A6E64; border: 1px solid rgba(0,169,157,.3); }
.form-banner-error { background: rgba(220,53,69,.08); color: #B02A37; border: 1px solid rgba(220,53,69,.25); }

/* ---------- Related services strip ---------- */
.related-services { padding: 12px 0 8px; }
.related-services h4 { font-size: 13px; letter-spacing: 1px; text-transform: uppercase; color: var(--text-muted); margin-bottom: 18px; }
.related-links { display: flex; flex-wrap: wrap; gap: 10px; }
.related-links a {
  border: 1px solid var(--card-border);
  border-radius: 999px;
  padding: 9px 18px;
  font-size: 14px;
  color: var(--text-dark);
  transition: border-color .15s ease, color .15s ease, background .15s ease;
}
.related-links a:hover { border-color: var(--teal); color: var(--teal); background: rgba(0,169,157,.06); }

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--teal);
  color: var(--white);
  padding: 12px 20px;
  z-index: 999;
  border-radius: 0 0 8px 0;
  font-weight: 600;
}
.skip-link:focus { left: 0; }

/* ---------- Utility ---------- */
.center { text-align: center; }
.mt-40 { margin-top: 40px; }
.mb-40 { margin-bottom: 40px; }
