/* ==============================================
   AEVUM SECURITY — MAIN STYLESHEET
   ============================================== */

/* ---------- RESET & BASE ---------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --navy:        #0B1F3A;
  --navy-mid:    #132947;
  --navy-light:  #1E3A5F;
  --blue:        #1A6DB5;
  --blue-mid:    #2382D4;
  --blue-light:  #4FA3E8;
  --accent:      #C8A84B;
  --white:       #FFFFFF;
  --off-white:   #F4F7FB;
  --text-muted:  #8BA0B8;
  --text-body:   #2C3E55;
  --border:      rgba(26, 109, 181, 0.15);
  --green:       #1B7A4E;
  --red-err:     #A32D2D;
  --nav-height:  68px;
  --accent-light: #E2C66C;
  --ink:          #16283F;
  --muted:        #73859C;
  --navy-3:       #112E51;
  --border-blue:  rgba(26, 109, 181, 0.18);
  --shadow:       0 20px 60px rgba(7, 24, 45, 0.11);
  --shadow-soft:  0 10px 35px rgba(7, 24, 45, 0.08);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--white);
  color: var(--text-body);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }

a { text-decoration: none; }

button { font-family: 'DM Sans', sans-serif; cursor: pointer; }

/* ---------- NAVIGATION ---------- */
#main-nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  height: var(--nav-height);
  background: rgba(7, 24, 45, 0.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(1.25rem, 4vw, 4rem);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo-mark {
  display: block;
  flex-shrink: 0;
  height: 38px;
  width: auto;
}

.nav-brand {
  font-family: 'Libre Baskerville', serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.02em;
}

.nav-brand em {
  color: var(--accent-light);
  font-style: normal;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.2rem;
  list-style: none;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  transition: 0.2s ease;
  padding: 8px 0;
  border-bottom: 1px solid transparent;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent-light);
  border-bottom-color: var(--accent-light);
}

/* Mobile nav toggle */
.nav-mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: 0;
  padding: 6px;
}

.nav-mobile-toggle span {
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 99px;
}

.mobile-nav-overlay {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0; right: 0;
  background: rgba(7, 24, 45, 0.98);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 999;
  padding: 1.35rem 1.5rem;
}

.mobile-nav-overlay.open {
  display: block;
}

.mobile-nav-overlay ul {
  list-style: none;
  display: grid;
  gap: 1rem;
}

.mobile-nav-overlay a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.78);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ---------- PAGE SYSTEM ---------- */
.page {
  display: none;
  min-height: 100vh;
}

.page.active {
  display: block;
}

/* ---------- SHARED SECTION STYLES ---------- */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-tag {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
  border-bottom: 2px solid var(--blue);
  padding-bottom: 4px;
  margin-bottom: 1rem;
}

.accent-tag {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.section-title {
  font-family: 'Libre Baskerville', serif;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  color: var(--navy);
  font-weight: 700;
  line-height: 1.2;
}

.section-sub {
  margin-top: 1rem;
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.75;
}

/* ---------- SHARED BUTTONS ---------- */
.btn-primary {
  background: var(--blue);
  color: var(--white);
  padding: 14px 32px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  border: none;
  border-radius: 2px;
  transition: background 0.2s, transform 0.15s;
}

.btn-primary:hover {
  background: var(--blue-mid);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  padding: 14px 32px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 2px;
  transition: border-color 0.2s, color 0.2s;
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ---------- HERO (HOME) ---------- */
.hero {
  min-height: 100vh;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: calc(var(--nav-height) + 60px) 3rem 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(26, 109, 181, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26, 109, 181, 0.08) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-glow {
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(26, 109, 181, 0.18) 0%, transparent 70%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 860px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(200, 168, 75, 0.1);
  border: 1px solid rgba(200, 168, 75, 0.3);
  color: var(--accent);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 2px;
  margin-bottom: 2rem;
}


.hero h1 {
  font-family: 'Libre Baskerville', serif;
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.12;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.hero h1 .highlight {
  color: var(--accent);
}

.hero > .hero-content > p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.8;
  max-width: 620px;
  margin: 0 auto 0;
  font-weight: 300;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 3.5rem;
  margin: 2.5rem auto 2.5rem;
}
.hero-stat-item {
  text-align: center;
}
.hero-stat-num {
  font-family: 'Libre Baskerville', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--accent);
  font-weight: 700;
}
.hero-stat-label {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 4px;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- CIA TRIAD ---------- */
.cia-section { padding: 105px clamp(1.5rem, 5vw, 4rem); background: linear-gradient(180deg, var(--off-white), #FFFFFF); }

.cia-feature-grid { max-width: 860px; margin: 0 auto 2.2rem; }

.cia-diagram-card { border-radius: 30px; min-height: 620px; padding: 1.3rem; background: radial-gradient(circle at 50% 36%, rgba(97,183,255,.22), transparent 35%), linear-gradient(145deg, #07182D, #0B1F3A); box-shadow: var(--shadow); border: 1px solid rgba(255,255,255,.08); overflow: hidden; }

.cia-diagram-shell { position: relative; height: 100%; min-height: 590px; display: flex; align-items: center; justify-content: center; }

.cia-triad-lines { position: absolute; width: min(96%, 560px); z-index: 1; }

.cia-orbit { position: absolute; border: 1px solid rgba(255,255,255,.1); border-radius: 50%; }
.orbit-one { width: 390px; height: 390px; }
.orbit-two { width: 270px; height: 270px; border-style: dashed; border-color: rgba(200,168,75,.14); }

.cia-node { position: absolute; z-index: 3; min-width: 168px; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.09); backdrop-filter: blur(14px); border-radius: 20px; padding: .9rem 1rem; text-align: center; box-shadow: 0 18px 40px rgba(0,0,0,.18); }
.node-conf { top: 24px; left: 50%; transform: translateX(-50%); }
.node-integ { right: 6%; bottom: 52px; }
.node-avail { left: 6%; bottom: 52px; }

.node-letter { display: inline-flex; width: 38px; height: 38px; align-items: center; justify-content: center; border-radius: 50%; color: var(--white); font-family: 'Libre Baskerville', serif; font-weight: 700; font-size: 1.1rem; margin-bottom: .5rem; }
.node-conf .node-letter { background: var(--blue); }
.node-integ .node-letter { background: var(--green); }
.node-avail .node-letter { background: var(--accent); }
.node-label { display: block; color: var(--white); font-weight: 800; font-size: .88rem; }
.cia-node small { display: block; color: rgba(255,255,255,.48); font-size: .72rem; margin-top: 2px; }

.cia-centre { position: relative; z-index: 4; width: 188px; height: 188px; border-radius: 50%; background: radial-gradient(circle at 30% 20%, rgba(255,255,255,.18), rgba(255,255,255,.07)); border: 1px solid rgba(255,255,255,.16); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; box-shadow: inset 0 0 35px rgba(255,255,255,.05), 0 22px 60px rgba(0,0,0,.22); }
.cia-centre span { color: var(--accent-light); font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 800; }
.cia-centre strong { color: var(--white); font-family: 'Libre Baskerville', serif; font-size: 1.65rem; margin: 3px 0; }
.cia-centre small { color: rgba(255,255,255,.45); font-size: .7rem; }

.cia-cards { max-width: 1120px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }

.cia-card { background: var(--white); padding: 2.1rem; border-radius: 24px; border: 1px solid var(--border); box-shadow: var(--shadow-soft); transition: transform .2s ease, box-shadow .2s ease; position: relative; overflow: hidden; }
.cia-card::before { content: ''; position: absolute; inset: 0 0 auto; height: 4px; background: var(--blue); }
.cia-card.integ::before { background: var(--green); }
.cia-card.avail::before { background: var(--accent); }
.cia-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }

.cia-icon { width: 54px; height: 54px; border-radius: 16px; display: flex; align-items: center; justify-content: center; margin-bottom: 1.3rem; background: rgba(26,109,181,.09); }
.cia-card.integ .cia-icon { background: rgba(27,122,78,.09); }
.cia-card.avail .cia-icon { background: rgba(200,168,75,.12); }
.cia-icon svg { width: 25px; height: 25px; }

.cia-card h3 { font-family: 'Libre Baskerville', serif; color: var(--navy); font-size: 1.35rem; margin-bottom: .65rem; }
.cia-card p { color: var(--muted); font-size: .93rem; line-height: 1.75; }

.cia-points { list-style: none; margin-top: 1.1rem; display: grid; gap: .55rem; }
.cia-points li { color: var(--ink); font-size: .86rem; display: flex; gap: .55rem; align-items: flex-start; }
.cia-points li::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--blue); flex: 0 0 auto; margin-top: .54rem; }
.integ .cia-points li::before { background: var(--green); }
.avail .cia-points li::before { background: var(--accent); }

/* ---------- TRUST BAR ---------- */
.trust-bar {
  background: var(--navy);
  padding: 3.5rem 3rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  text-align: center;
}

.trust-item {
  min-width: 160px;
}

.trust-num {
  font-family: 'Libre Baskerville', serif;
  font-size: 2.4rem;
  color: var(--accent);
  font-weight: 700;
}

.trust-label {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 4px;
}

/* ---------- WHY AEVUM ---------- */
.why-section {
  padding: 100px 3rem;
  background: var(--white);
}

.why-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.why-visual {
  position: relative;
  height: 380px;
}

.why-shield {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 260px; height: 300px;
}

.why-pill {
  position: absolute;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 40px;
  padding: 10px 18px;
  font-size: 12px;
  font-weight: 500;
  color: var(--navy);
  box-shadow: 0 4px 20px rgba(26, 109, 181, 0.1);
  white-space: nowrap;
}

.why-pill span { color: var(--blue); font-weight: 600; }
.why-pill.p1 { top: 15%; right: -10px; }
.why-pill.p2 { bottom: 20%; left: -10px; }
.why-pill.p3 { bottom: 5%; right: 10%; }

.why-content h2 {
  font-family: 'Libre Baskerville', serif;
  font-size: 2.2rem;
  color: var(--navy);
  margin-top: 1rem;
  margin-bottom: 1.25rem;
  line-height: 1.25;
}

.why-content > p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.why-list { list-style: none; }

.why-list li {
  display: flex;
  gap: 14px;
  margin-bottom: 1.25rem;
}

.why-list li:has(.hero-cta) {
  justify-content: center;
}

.why-list-dot {
  width: 8px; height: 8px;
  background: var(--blue);
  border-radius: 50%;
  margin-top: 7px;
  flex-shrink: 0;
}

.why-list strong {
  display: block;
  font-size: 0.95rem;
  color: var(--navy);
  font-weight: 600;
}

.why-list span {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ---------- PAGE HERO (Services & Contact) ---------- */
.page-hero {
  background: var(--navy);
  padding: calc(var(--nav-height) + 80px) clamp(1.5rem, 5vw, 4rem) 90px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(26, 109, 181, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26, 109, 181, 0.08) 1px, transparent 1px);
  background-size: 60px 60px;
}

.page-hero-bg::after {
  content: '';
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(26, 109, 181, 0.18) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
  margin: 0 auto;
}

.page-hero h1 {
  font-family: 'Libre Baskerville', serif;
  font-size: clamp(2.4rem, 4.2vw, 4.3rem);
  color: var(--white);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0.8rem 0 1rem;
  font-weight: 700;
}

.page-hero h1 .highlight3 {
  color: var(--accent);
}

.page-hero p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 1.05rem;
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.8;
}

/* ---------- SOLUTIONS / SERVICES ---------- */
.solutions-section {
  padding: 100px 3rem;
  background: var(--off-white);
}

.solutions-grid {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  gap: 1rem;
}

.solution-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 0;
  overflow: hidden;
  display: grid;
  grid-template-columns: 320px 1fr;
  box-shadow: var(--shadow-soft);
}

.solution-card-accent {
  padding: 2.3rem;
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 270px;
  background: linear-gradient(145deg, var(--navy), var(--navy-3));
}

.solution-card.patch     .solution-card-accent { background: linear-gradient(145deg, #07182D, #163B66); }
.solution-card.monitor   .solution-card-accent { background: linear-gradient(145deg, #082331, #0E4A66); }
.solution-card.baseline  .solution-card-accent { background: linear-gradient(145deg, #101C31, #293154); }
.solution-card.forensic  .solution-card-accent { background: linear-gradient(145deg, #0F0D28, #1E1B4E); }

.sol-num {
  font-family: 'Libre Baskerville', serif;
  font-size: 3.5rem;
  line-height: 1;
  color: rgba(255, 255, 255, 0.12);
  font-weight: 700;
}

.sol-tag {
  display: block;
  color: var(--accent-light);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.68rem;
  font-weight: 800;
  margin: 0.75rem 0;
}

.sol-name {
  font-family: 'Libre Baskerville', serif;
  font-size: 1.8rem;
  line-height: 1.1;
  font-weight: 700;
}

.sol-name .highlight2 {
  color: var(--accent);
}

.sol-badge {
  align-self: flex-start;
  border: 1px solid rgba(226, 198, 108, 0.32);
  color: var(--accent-light);
  border-radius: 999px;
  padding: 0.38rem 0.75rem;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

.solution-card-body {
  padding: 2.5rem;
}

.solution-card-body h4 {
  color: var(--blue);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
}

.solution-card-body p {
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.sol-features {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem 1rem;
}

.sol-features li {
  color: var(--ink);
  font-size: 0.88rem;
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
}

.sol-features li::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--blue);
  margin-top: 0.5rem;
  flex: 0 0 auto;
}

.sol-cta { margin-top: 1.6rem; }

.sol-cta button {
  background: transparent;
  color: var(--blue);
  border: 1px solid var(--border-blue);
  border-radius: 2px;
  padding: 0.8rem 1.2rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  transition: 0.2s ease;
}

.sol-cta button:hover {
  background: var(--blue);
  color: var(--white);
}

/* ---------- APPROACH ---------- */
.approach-section {
  padding: 100px 3rem;
  background: var(--white);
}

.approach-inner {
  max-width: 960px;
  margin: 0 auto;
}

.approach-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 3rem;
  position: relative;
}

.approach-steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 12.5%; right: 12.5%;
  height: 1px;
  background: var(--border);
}

.approach-step {
  text-align: center;
  padding: 0 1rem;
}

.step-circle {
  width: 56px; height: 56px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--off-white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  font-family: 'Libre Baskerville', serif;
  font-size: 1rem;
  color: var(--navy);
  font-weight: 700;
  position: relative;
  z-index: 2;
}

.approach-step h4 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.approach-step p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ---------- CONTACT ---------- */
.contact-section {
  padding: 100px clamp(1.5rem, 5vw, 4rem);
  background: var(--off-white);
}

.contact-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 4rem;
  align-items: start;
}

.contact-info h3 {
  font-family: 'Libre Baskerville', serif;
  font-size: 2.25rem;
  line-height: 1.15;
  color: var(--navy);
  margin-bottom: 1rem;
}

.contact-info > p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 1.7rem;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  margin-bottom: 1.1rem;
}

.contact-detail-icon {
  width: 42px; height: 42px;
  background: rgba(26, 109, 181, 0.09);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.contact-detail-icon svg { width: 18px; height: 18px; }

.contact-detail-text strong {
  display: block;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.7rem;
}

.contact-detail-text span {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.contact-note {
  margin-top: 1.4rem;
  padding: 1.2rem;
  border-radius: 18px;
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}

.contact-note strong {
  display: block;
  color: var(--navy);
  margin-bottom: 0.35rem;
}

.contact-note span {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.65;
}

/* Contact Form Card */
.contact-form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 2.4rem;
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 0;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 1.25rem;
}

.form-group label {
  color: var(--navy);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 800;
}

.req { color: var(--blue); margin-left: 2px; }

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  border: 1px solid rgba(14, 45, 81, 0.15);
  background: #F8FAFC;
  color: var(--ink);
  padding: 13px 15px;
  border-radius: 14px;
  font: inherit;
  outline: none;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
  appearance: none;
  -webkit-appearance: none;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238BA0B8' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(26, 109, 181, 0.08);
}

.form-group textarea {
  min-height: 130px;
  resize: vertical;
}

/* Error states */
.form-group input.error,
.form-group select.error,
.form-group textarea.error {
  border-color: var(--red-err);
  background: #fff8f8;
}

.error-msg {
  font-size: 11px;
  color: var(--red-err);
  margin-top: 2px;
  display: none;
}

.error-msg.show { display: block; }

/* CAPTCHA */
.captcha-box {
  border: 1px solid rgba(14, 45, 81, 0.15);
  background: #F8FAFC;
  padding: 1rem;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.captcha-box.error {
  border-color: var(--red-err);
}

.captcha-check {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.captcha-check input[type="checkbox"] {
  width: 18px; height: 18px;
  accent-color: var(--blue);
}

.captcha-check label {
  font-size: 14px;
  color: var(--text-body);
  cursor: pointer;
}

.captcha-logo {
  text-align: right;
}

.captcha-logo small {
  display: block;
  font-size: 0.65rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 2px;
}

.captcha-logo span {
  color: var(--blue);
  font-weight: 800;
  font-size: 0.8rem;
}

.captcha-state {
  width: 28px; height: 28px;
  border: 2px solid var(--text-muted);
  border-radius: 50%;
  position: relative;
  transition: border-color 0.3s, background 0.3s;
}

.captcha-state.verified {
  border-color: var(--green);
  background: var(--green);
}

.captcha-state.verified::after {
  content: '✓';
  color: var(--white);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

/* Submit */
.submit-btn {
  margin-top: 1.25rem;
  width: 100%;
  border: 0;
  border-radius: 999px;
  padding: 1rem;
  color: var(--white);
  background: linear-gradient(135deg, var(--navy), var(--blue));
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(26, 109, 181, 0.2);
}

.form-note {
  color: var(--text-muted);
  text-align: center;
  line-height: 1.6;
  font-size: 0.76rem;
  margin-top: 0.9rem;
}

/* Success message */
.success-msg {
  display: none;
  text-align: center;
  padding: 2.4rem 1rem;
}

.success-msg svg {
  margin: 0 auto 1.5rem;
}

.success-msg h4 {
  font-family: 'Libre Baskerville', serif;
  font-size: 1.5rem;
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.success-msg p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ---------- FOOTER ---------- */
.site-footer {
  background: #060F1D;
  padding: 4rem 3rem 2rem;
  border-top: 1px solid rgba(200, 168, 75, 0.15);
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 3rem;
}

.footer-brand-name {
  font-family: 'Libre Baskerville', serif;
  font-size: 1.2rem;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.footer-brand-name em {
  color: var(--accent);
  font-style: normal;
}

.footer-tagline {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.35);
  line-height: 1.75;
  max-width: 280px;
}

.footer-col h5 {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.footer-col ul { list-style: none; }

.footer-col ul li { margin-bottom: 0.6rem; }

.footer-col ul li a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.38);
  transition: color 0.2s;
}

.footer-col ul li a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-copy {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.22);
}

.footer-reg {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.18);
  letter-spacing: 0.05em;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .why-inner { gap: 3rem; }
  .contact-inner { gap: 3rem; grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .cia-diagram-card { min-height: 500px; }
  .cia-diagram-shell { min-height: 470px; }
}

@media (max-width: 900px) {
  .cia-cards { grid-template-columns: 1fr; }
  .node-integ { right: 1%; }
  .node-avail { left: 1%; }
  .why-inner { grid-template-columns: 1fr; }
  .why-visual { display: none; }
  .solution-card { grid-template-columns: 1fr; }
  .solution-card-accent { min-height: 220px; }
  .approach-steps { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
  .approach-steps::before { display: none; }
  .contact-inner { grid-template-columns: 1fr; gap: 2.5rem; }
}

@media (max-width: 768px) {
  #main-nav { padding: 0 1rem; }
  .nav-links { display: none; }
  .nav-mobile-toggle { display: flex; }

  .hero { padding: calc(var(--nav-height) + 40px) 1.5rem 60px; }
  .hero h1 { font-size: clamp(2rem, 7vw, 3rem); }
  .hero-stats { gap: 2rem; }
  .hero-stat-num { font-size: clamp(1.7rem, 6vw, 2.4rem); }

  .cia-section,
  .why-section,
  .approach-section { padding: 70px 1.5rem; }

  .cia-diagram-card { min-height: 420px; padding: .8rem; }
  .cia-diagram-shell { min-height: 400px; }
  .cia-triad-lines { width: 108%; }
  .cia-node { min-width: 0; width: 45%; padding: .7rem .6rem; }
  .node-conf { top: 12px; }
  .node-integ { right: 2%; bottom: 16px; }
  .node-avail { left: 2%; bottom: 16px; }
  .node-label { font-size: .82rem; }
  .cia-node small { font-size: .66rem; }
  .cia-centre { width: 156px; height: 156px; }
  .cia-centre strong { font-size: 1.35rem; }

  .solutions-section { padding: 70px 1.5rem; }
  .sol-features { grid-template-columns: 1fr; }
  .solution-card-accent { min-height: auto; padding: 2rem; }
  .sol-badge { margin-top: 1.5rem; }

  .page-hero { padding: calc(var(--nav-height) + 50px) 1.5rem 60px; }

  .contact-section { padding: 70px 1.5rem; }
  .contact-form-card { padding: 1.5rem; }
  .form-row { grid-template-columns: 1fr; }

  .trust-bar { padding: 2.5rem 1.5rem; gap: 1.5rem; }
  .trust-num { font-size: 1.8rem; }

  .site-footer { padding: 3rem 1.5rem 1.5rem; }
  .footer-grid { gap: 2rem; }

  .approach-steps { grid-template-columns: 1fr; gap: 1.5rem; }

  .contact-inner { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero-cta { flex-direction: column; align-items: center; }
  .btn-primary, .btn-outline { width: 100%; max-width: 280px; text-align: center; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* ==============================================
   ANIMATION ENGINE
   ============================================== */

/* ── Nav scroll hide (disabled — uncomment to re-enable) ──
#main-nav {
  transition: transform 0.42s cubic-bezier(0.77, 0, 0.175, 1);
}
#main-nav.nav-hidden {
  transform: translateY(-100%);
}
── */

/* ── Custom Cursor ── */
.cursor-dot,
.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 10000;
  will-change: transform;
  opacity: 0;
  border-radius: 50%;
}
/* .cursor-dot {
  width: 8px;
  height: 8px;
  background: var(--white);
} */
.cursor-ring {
  width: 36px;
  height: 36px;
  border: 1.5px solid rgba(200, 168, 75, 0.5);
  transition: width 0.22s cubic-bezier(0.16, 1, 0.3, 1),
              height 0.22s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.22s ease,
              opacity 0.3s ease;
}
.cursor-ring.cursor-hover {
  width: 54px;
  height: 54px;
  border-color: rgba(200, 168, 75, 0.9);
}
.cursor-dot.cursor-hover {
  opacity: 0 !important;
}
/* .has-cursor * {
  cursor: none !important;
} */
@media (hover: none) {
  .cursor-dot, .cursor-ring { display: none; }
}

/* ── Word Split ── */
.word-wrap {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  line-height: 1.15;
}
.word-inner {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: calc(var(--word-i, 0) * 0.072s);
}
.words-visible .word-inner {
  transform: translateY(0);
}

/* ── fadeUp ── */
.js-anim [data-anim="fade-up"] {
  opacity: 0;
  transform: translateY(42px);
  transition: opacity 0.88s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.88s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: calc(var(--anim-delay, 0) * 1ms);
}
.js-anim [data-anim="fade-up"].anim-done {
  opacity: 1;
  transform: translateY(0);
}

/* ── fadeIn ── */
.js-anim [data-anim="fade-in"] {
  opacity: 0;
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.js-anim [data-anim="fade-in"].anim-done {
  opacity: 1;
}

/* ── Stagger group — children fade + slide up ── */
.js-anim [data-anim-group] > * {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.78s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.78s cubic-bezier(0.16, 1, 0.3, 1);
}
.js-anim [data-anim-group].anim-done > * {
  opacity: 1;
  transform: translateY(0);
}
.js-anim [data-anim-group].anim-done > *:nth-child(2)  { transition-delay: 0.09s; }
.js-anim [data-anim-group].anim-done > *:nth-child(3)  { transition-delay: 0.18s; }
.js-anim [data-anim-group].anim-done > *:nth-child(4)  { transition-delay: 0.27s; }
.js-anim [data-anim-group].anim-done > *:nth-child(5)  { transition-delay: 0.36s; }
.js-anim [data-anim-group].anim-done > *:nth-child(6)  { transition-delay: 0.45s; }

/* ── Reduced motion — reveal everything instantly ── */
@media (prefers-reduced-motion: reduce) {
  .cursor-dot,
  .cursor-ring           { display: none !important; }
  .js-anim [data-anim],
  .js-anim [data-anim-group] > * {
    opacity: 1 !important;
    transform: none !important;
    clip-path: none !important;
    -webkit-clip-path: none !important;
    transition: none !important;
  }
  .word-inner {
    transform: none !important;
    transition: none !important;
  }
}

/* ===== PAGE LOADER ===== */
#page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #132947;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.65s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity;
}

#page-loader.loader-fade {
  opacity: 0;
  pointer-events: none;
}

.loader-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -58%);
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(26, 109, 181, 0.2) 0%, transparent 68%);
  pointer-events: none;
}

.loader-logo {
  position: relative;
  width: 88px;
  height: auto;
  opacity: 0;
  transform: scale(0.82);
  animation: loaderLogoIn 0.65s cubic-bezier(0.34, 1.56, 0.64, 1) 0.1s forwards;
}

.loader-tagline {
  position: relative;
  margin-top: 26px;
  font-family: 'Libre Baskerville', serif;
  font-size: clamp(1.2rem, 3.5vw, 1.8rem);
  font-weight: 700;
  letter-spacing: 0.01em;
  display: flex;
  align-items: baseline;
}

.loader-word {
  display: inline-block;
  opacity: 0;
}

.lw-auditor   { color: #C8A84B; animation: loaderWordIn 1s ease 0.85s  forwards; }
.lw-developed { color: #FFFFFF; animation: loaderWordIn 1s ease 1.85s   forwards; }
.lw-security  { color: #C8A84B; animation: loaderWordIn 1s ease 2.85s  forwards; margin-left: 0.45em; }

@keyframes loaderLogoIn {
  to { opacity: 1; transform: scale(1); }
}

@keyframes loaderWordIn {
  to { opacity: 1; }
}
