/* ============================================
   UNIFIED DESIGN SYSTEM
   Modern, Vivid, Responsive
   ============================================ */

/* Disclaimer Banner */
.disclaimer-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #0d1f3c;
  border-top: 2px solid var(--cyan, #00d9ff);
  z-index: 9999;
  box-shadow: 0 -4px 24px rgba(0,0,0,0.4);
}
.disclaimer-banner__inner {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
}
.disclaimer-banner__text {
  flex: 1;
  font-size: 0.82rem;
  line-height: 1.6;
  color: #c8d8f0;
  margin: 0;
}
.disclaimer-banner__text strong {
  color: #ffffff;
}
.disclaimer-banner__link {
  display: inline-block;
  margin-left: 10px;
  color: var(--cyan, #00d9ff);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.disclaimer-banner__link:hover {
  text-decoration: underline;
}
.disclaimer-banner__close {
  flex-shrink: 0;
  background: transparent;
  border: 1px solid rgba(200,216,240,0.3);
  color: #c8d8f0;
  font-size: 1.2rem;
  line-height: 1;
  width: 28px;
  height: 28px;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
}
.disclaimer-banner__close:hover {
  background: rgba(0,217,255,0.15);
  color: #ffffff;
}
.disclaimer-banner.is-hidden {
  display: none;
}

/* Announcement Banner */
.announcement-banner {
  background: var(--cyan, #00d9ff);
  color: #001a4d;
  text-align: center;
  padding: 8px 16px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

:root {
  /* Primary — enhanced corporate blue with more vibrancy */
  --navy: #001a4d;
  --navy-dark: #000f2e;
  --navy-light: #0d4a99;
  --navy-mid: #004080;

  /* Accents — vibrant and modern */
  --cyan: #00d9ff;
  --cyan-dark: #0099cc;
  --cyan-bright: #5dffff;
  --gold: #ffc107;
  --gold-soft: #ffe082;

  /* Secondary — more vivid */
  --teal: #00c853;
  --blue-vibrant: #0066ff;
  --indigo: #5c6bc0;
  --purple: #9c27b0;

  /* Neutrals — Dark Mode */
  --charcoal: #060e1e;
  --dark-gray: #0d1f3c;
  --gray: #4a5f7f;
  --light-gray: #001428;
  --gray-bg: #000f2e;
  --gray-border: rgba(255, 255, 255, 0.1);
  --white: #ffffff;
  --surface: #001020;

  /* Text — Light for dark backgrounds */
  --dark-text: #e0e8f0;
  --secondary-text: #8da0b8;
  --tertiary-text: #6b8299;

  /* Typography (loaded via Google Fonts on each page) */
  --serif: 'Libre Baskerville', Georgia, 'Times New Roman', serif;
  --sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mono: ui-monospace, 'Cascadia Code', monospace;
  
  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-2xl: 4rem;
  
  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
  --shadow-xl: 0 20px 50px rgba(0, 0, 0, 0.2);
  
  /* Gradients — enhanced with more vibrancy */
  --gradient-primary: linear-gradient(145deg, #000f2e 0%, #001a4d 42%, #0d4a99 100%);
  --gradient-accent: linear-gradient(135deg, #00d9ff 0%, #0099cc 100%);
  --gradient-vibrant: linear-gradient(120deg, #001a4d 0%, #0d4a99 45%, #00c853 100%);
  --gradient-warm: linear-gradient(135deg, #ffc107 0%, #ffb300 100%);
  --gradient-hero-mesh: radial-gradient(ellipse 80% 50% at 20% -20%, rgba(0, 217, 255, 0.25), transparent),
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(255, 193, 7, 0.15), transparent);

  /* CNC-inspired corporate palette */
  --cnc-navy: #002147;
  --cnc-navy-deep: #001428;
  --cnc-cyan: #00b4d8;
  --cnc-cyan-bright: #48cae4;
  --cnc-yellow: #ffd60a;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

img {
  max-width: 100%;
  height: auto;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--sans);
  color: var(--dark-text);
  line-height: 1.65;
  background: #000f2e;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--dark-text);
  font-family: var(--serif);
}

h1 {
  font-size: clamp(2.1rem, 4.5vw, 3.25rem);
  margin-bottom: var(--spacing-md);
  text-wrap: balance;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin-bottom: var(--spacing-lg);
  margin-top: 0;
}

h3 {
  font-size: clamp(1.3rem, 3vw, 1.6rem);
  margin-bottom: var(--spacing-md);
}

h4 {
  font-size: 1.1rem;
  margin-bottom: var(--spacing-sm);
  font-weight: 600;
}

p {
  margin-bottom: var(--spacing-md);
  color: var(--secondary-text);
  font-size: clamp(0.95rem, 1vw, 1.05rem);
}

a {
  color: var(--navy);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--navy-light);
}

/* ============================================
   LAYOUT
   ============================================ */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
  min-width: 0;
  width: 100%;
}

.section {
  padding: clamp(4rem, 8vw, 7rem) var(--spacing-lg);
}

.section-alt {
  background: linear-gradient(180deg, #001233 0%, #001a4d 100%);
  position: relative;
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */

.header {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-border);
  padding: var(--spacing-sm) var(--spacing-lg);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.04);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--spacing-lg);
  min-width: 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
  min-width: max-content;
}

.logo img {
  height: 40px;
  width: auto;
}

nav {
  display: flex;
  gap: var(--spacing-lg);
  align-items: center;
  flex-wrap: wrap;
}

nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--secondary-text);
  transition: all 0.3s ease;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
}

nav a:hover {
  color: var(--navy);
  background: rgba(0, 61, 122, 0.05);
}

/* ============================================
   BUTTONS
   ============================================ */

.btn, .cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.8rem;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary, .cta-button {
  background: var(--navy);
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.btn-primary:hover, .cta-button:hover {
  background: var(--navy-dark);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.btn-secondary {
  background: rgba(0, 212, 255, 0.1);
  color: var(--cyan);
  border: 2px solid var(--cyan);
}

.btn-secondary:hover {
  background: rgba(0, 212, 255, 0.2);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.btn-accent {
  background: var(--cyan);
  color: var(--navy);
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(0, 217, 255, 0.3);
}

.btn-accent:hover {
  background: var(--cyan-bright);
  box-shadow: 0 8px 25px rgba(0, 217, 255, 0.5);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 1rem 2.5rem;
  font-size: 1rem;
}

.btn-sm {
  padding: 0.55rem 1.15rem;
  font-size: 0.85rem;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
  background: var(--gradient-primary);
  color: var(--white);
  position: relative;
  overflow: hidden;
  /* Full-viewport hero: stable on mobile (dvh) with sensible minimum content height */
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  padding-block: clamp(4rem, 13vh, 7rem);
  padding-inline: max(var(--spacing-lg), env(safe-area-inset-left, 0px)) max(var(--spacing-lg), env(safe-area-inset-right, 0px));
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  background: var(--gradient-hero-mesh),
    radial-gradient(circle at 20% 50%, rgba(0, 184, 217, 0.12) 0%, transparent 45%),
    radial-gradient(circle at 80% 80%, rgba(79, 70, 229, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

/* Soft blend into the next section — avoids a hard cut on long viewports */
.hero::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: clamp(3.5rem, 14vh, 7rem);
  background: linear-gradient(to top, #000f2e 0%, rgba(0, 15, 46, 0) 100%);
  pointer-events: none;
  z-index: 1;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('/assets/images/corp-bg-solutions.jpg') center/cover;
  opacity: 0.35;
  z-index: 0;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
  width: 100%;
}

.hero .eyebrow {
  margin-bottom: var(--spacing-md);
}

.hero h1 {
  color: var(--white);
  margin-bottom: var(--spacing-md);
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.25);
}

.hero p,
.hero .hero-lede {
  color: rgba(248, 250, 252, 0.92);
  font-size: clamp(1.02rem, 1.35vw, 1.2rem);
  max-width: 38rem;
  margin: 0 auto var(--spacing-lg);
  line-height: 1.75;
  font-family: var(--sans);
  font-weight: 450;
}

.hero-buttons {
  display: flex;
  gap: var(--spacing-md);
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================
   MAIN HOMEPAGE HERO — full-bleed masthead
   (Distinct from split-band sections below)
   ============================================ */

.hero-masthead {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: min(92vh, 920px);
  padding: clamp(5.5rem, 14vh, 9rem) var(--spacing-lg);
  overflow: hidden;
}

.hero-masthead__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url('/assets/images/corp-hero-main.jpg') center/cover no-repeat;
  transform: scale(1.02);
}

.hero-masthead__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    118deg,
    rgba(0, 20, 40, 0.93) 0%,
    rgba(0, 33, 71, 0.78) 42%,
    rgba(0, 40, 72, 0.45) 100%
  );
}

.hero-masthead__inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 46rem;
}

.hero-masthead__eyebrow {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cnc-cyan-bright);
  margin-bottom: var(--spacing-md);
}

.hero-masthead__title {
  font-family: var(--sans);
  font-weight: 800;
  font-size: clamp(2rem, 5vw, 3.1rem);
  line-height: 1.12;
  color: var(--white);
  margin-bottom: var(--spacing-md);
  letter-spacing: -0.035em;
}

.hero-masthead__accent {
  display: block;
  margin-top: 0.5rem;
  font-size: clamp(1.35rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--cnc-cyan);
  letter-spacing: -0.02em;
}

.hero-masthead__lede {
  font-family: var(--sans);
  font-size: clamp(1rem, 1.35vw, 1.15rem);
  line-height: 1.75;
  color: rgba(248, 250, 252, 0.9);
  margin-bottom: var(--spacing-xl);
  font-weight: 400;
}

.hero-masthead__cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-md);
  justify-content: center;
  align-items: center;
}

@media (max-width: 640px) {
  .hero-masthead__cta {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-masthead__cta .btn-cnc-accent,
  .hero-masthead__cta .btn-cnc-ghost {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .hero-masthead {
    min-height: min(88vh, 820px);
    padding-top: clamp(4rem, 12vh, 6rem);
  }
}

/* ============================================
   HOMEPAGE — SPLIT CONTENT BANDS
   Clean corporate layout with parallax images
   ============================================ */

.section-band-wrap {
  position: relative;
  padding: 0;
  margin: 0;
  background: var(--cnc-navy-deep);
}

.section-band-wrap--alt {
  background: var(--cnc-navy-deep);
}

.hero-split--section {
  min-height: 0;
  position: relative;
}

.hero-split--section .hero-split__visual {
  min-height: 320px;
  position: relative;
  overflow: hidden;
}

/* Images fill the container, parallax via object-position on scroll */
.hero-split--section .hero-split__img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center 40%;
  display: block;
}

@media (min-width: 901px) {
  .hero-split--section {
    min-height: min(52vh, 560px);
  }

  .hero-split--section .hero-split__visual {
    min-height: 360px;
  }
}

.hero-split__inner--section {
  max-width: 28rem;
  position: relative;
  z-index: 1;
}

.hero-split__heading {
  font-family: var(--sans);
  font-weight: 800;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  line-height: 1.15;
  color: var(--white);
  margin-bottom: var(--spacing-md);
  letter-spacing: -0.025em;
}

.hero-split__copy {
  font-family: var(--sans);
  font-size: clamp(0.95rem, 1.15vw, 1.05rem);
  line-height: 1.75;
  color: rgba(248, 250, 252, 0.85);
  margin-bottom: var(--spacing-lg);
}

.hero-split__list {
  list-style: none;
  margin: 0 0 var(--spacing-xl);
  padding: 0;
}

.hero-split__list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
  font-family: var(--sans);
  font-size: 0.93rem;
  line-height: 1.6;
  color: rgba(248, 250, 252, 0.9);
}

.hero-split__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cnc-cyan);
}

.hero-split__cta-inline {
  margin-top: 0.5rem;
}

@media (min-width: 901px) {
  .hero-split--reverse {
    direction: rtl;
  }

  .hero-split--reverse > * {
    direction: ltr;
  }
}

@media (max-width: 900px) {
  .hero-split--section .hero-split__img {
    min-height: 260px;
  }
}

/* ============================================
   HOMEPAGE — CNC-STYLE SPLIT HERO (legacy / inner pages)
   ============================================ */

.hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  min-height: min(88vh, 880px);
  padding: 0;
  margin: 0;
  background: var(--cnc-navy-deep);
  overflow: hidden;
  position: relative;
}

.hero-split__visual {
  position: relative;
  min-height: 280px;
  overflow: hidden;
}

.hero-split__img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}

.hero-split__panel {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(3rem, 6vw, 5.5rem) clamp(2.5rem, 5vw, 5rem);
  background: var(--cnc-navy-deep);
  position: relative;
  overflow: visible;
}

/* Subtle ambient glow — understated, no visible shapes */
.hero-split__panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 40% at 80% 20%, rgba(0, 180, 216, 0.05), transparent 60%);
  pointer-events: none;
}

.hero-split__inner {
  position: relative;
  z-index: 1;
  max-width: 34rem;
}

.hero-split__label {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cnc-cyan-bright);
  margin-bottom: var(--spacing-sm);
}

.hero-split__title {
  font-family: var(--sans);
  font-weight: 800;
  font-size: clamp(1.85rem, 3.8vw, 2.85rem);
  line-height: 1.15;
  color: var(--white);
  margin-bottom: var(--spacing-md);
  letter-spacing: -0.03em;
}

.hero-split__accent {
  display: block;
  margin-top: 0.35rem;
  font-size: clamp(1.35rem, 2.8vw, 2rem);
  font-weight: 700;
  color: var(--cnc-cyan);
  letter-spacing: -0.02em;
}

.hero-split__lede {
  font-family: var(--sans);
  font-size: clamp(0.98rem, 1.25vw, 1.08rem);
  line-height: 1.7;
  color: rgba(248, 250, 252, 0.88);
  margin-bottom: var(--spacing-lg);
  font-weight: 400;
}

.hero-split__cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-md);
  align-items: center;
}

.btn-cnc-accent {
  background: var(--cnc-cyan);
  color: var(--cnc-navy-deep);
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 1rem 1.75rem;
  border-radius: 999px;
  border: none;
  box-shadow: 0 6px 24px rgba(0, 180, 216, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-cnc-accent:hover {
  background: var(--cnc-cyan-bright);
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(72, 202, 228, 0.45);
  color: var(--cnc-navy-deep);
}

.btn-cnc-ghost {
  background: transparent;
  color: var(--white);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.95rem 1.6rem;
  border-radius: 999px;
  border: 2px solid var(--cnc-cyan);
  transition: background 0.2s ease, color 0.2s ease;
}

.btn-cnc-ghost:hover {
  background: rgba(0, 180, 216, 0.15);
  color: var(--white);
}

.btn-cnc-yellow-outline {
  background: transparent;
  color: var(--cnc-yellow);
  font-weight: 700;
  font-size: 0.88rem;
  padding: 0.65rem 1.35rem;
  border-radius: var(--radius-md);
  border: 2px solid var(--cnc-yellow);
  transition: background 0.2s ease, color 0.2s ease;
}

.btn-cnc-yellow-outline:hover {
  background: rgba(255, 214, 10, 0.12);
  color: var(--cnc-yellow);
}

@media (max-width: 900px) {
  .hero-split {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .hero-split__visual {
    min-height: 240px;
    max-height: 42vh;
    clip-path: none;
  }

  .hero-split__img {
    min-height: 240px;
    max-height: 42vh;
  }

  .hero-split__panel {
    padding: clamp(2.25rem, 6vw, 3.5rem) var(--spacing-lg);
  }

  .hero-split__cta {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-split__cta .btn-cnc-accent,
  .hero-split__cta .btn-cnc-ghost {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}

/* ============================================
   CORPORATE HEADER (CNC-style)
   ============================================ */

.header--corp {
  background: var(--cnc-navy);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
}

.header--corp .logo {
  color: var(--white);
}

.header--corp nav a:not(.btn-cnc-yellow-outline) {
  color: rgba(255, 255, 255, 0.88);
}

.header--corp nav a:not(.btn-cnc-yellow-outline):hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.header--corp .menu-toggle span {
  background: var(--white);
}

@media (max-width: 768px) {
  .header--corp nav {
    background: var(--cnc-navy);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .header--corp nav a:not(.btn-cnc-yellow-outline) {
    color: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .header--corp nav .btn-cnc-yellow-outline {
    margin-top: var(--spacing-sm);
    text-align: center;
    justify-content: center;
  }
}

/* Homepage stats + CTA strip (no inline CSS) */
.section-stats-heading {
  text-align: center;
  margin-bottom: 1rem;
}

.stat-card-title {
  font-family: var(--sans);
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 800;
  margin-bottom: 0.5rem;
  letter-spacing: -0.03em;
}

.stat-card-sub {
  font-family: var(--sans);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--dark-text);
  margin-bottom: 0.75rem;
}

.cta-strip {
  background: linear-gradient(160deg, var(--cnc-navy) 0%, #003566 100%);
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: clamp(5rem, 10vw, 8rem) var(--spacing-lg);
}

.cta-strip .section-heading {
  color: var(--white);
  margin-bottom: 1rem;
}

.cta-strip-lede {
  color: rgba(255, 255, 255, 0.9);
}

.cta-strip-note {
  color: rgba(255, 255, 255, 0.75);
}

/* ============================================
   HERO VARIATIONS — DIFFERENT PAGES
   ============================================ */

/* Solutions page hero */
body:has(> *):is([data-page="solutions"]) .hero-bg,
html[data-page="solutions"] .hero-bg,
.hero-solutions .hero-bg {
  background: url('/assets/images/corp-bg-solutions.jpg') center/cover;
}

/* Resources page hero */
body:has(> *):is([data-page="resources"]) .hero-bg,
html[data-page="resources"] .hero-bg,
.hero-resources .hero-bg {
  background: url('/assets/images/corp-bg-resources.jpg') center/cover;
}

/* About/Values page hero */
body:has(> *):is([data-page="values"]) .hero-bg,
html[data-page="values"] .hero-bg,
.hero-values .hero-bg {
  background: url('/assets/images/corp-bg-values.jpg') center/cover;
}

/* Approach/Methodology page hero */
body:has(> *):is([data-page="approach"]) .hero-bg,
html[data-page="approach"] .hero-bg,
.hero-approach .hero-bg {
  background: url('/assets/images/corp-bg-approach.jpg') center/cover;
}

/* Credentials page hero */
body:has(> *):is([data-page="credentials"]) .hero-bg,
html[data-page="credentials"] .hero-bg,
.hero-credentials .hero-bg {
  background: url('/assets/images/corp-bg-credentials.jpg') center/cover;
}

/* Contact page hero */
body:has(> *):is([data-page="contact"]) .hero-bg,
html[data-page="contact"] .hero-bg,
.hero-contact .hero-bg {
  background: url('/assets/images/corp-bg-contact.jpg') center/cover;
}

/* Blockchain Basics page hero */
body:has(> *):is([data-page="blockchain-basics"]) .hero-bg,
html[data-page="blockchain-basics"] .hero-bg,
.hero-blockchain .hero-bg {
  background: url('/assets/images/corp-bg-blockchain-basics.jpg') center/cover;
}

/* Security Practices page hero */
body:has(> *):is([data-page="security"]) .hero-bg,
html[data-page="security"] .hero-bg,
.hero-security .hero-bg {
  background: url('/assets/images/corp-bg-security.jpg') center/cover;
}

/* On-Chain Analysis page hero */
body:has(> *):is([data-page="on-chain"]) .hero-bg,
html[data-page="on-chain"] .hero-bg,
.hero-analysis .hero-bg {
  background: url('/assets/images/corp-bg-onchain.jpg') center/cover;
}

/* DeFi Security page hero */
body:has(> *):is([data-page="defi"]) .hero-bg,
html[data-page="defi"] .hero-bg,
.hero-defi .hero-bg {
  background: url('/assets/images/corp-bg-defi.jpg') center/cover;
}

/* Consulting Services page hero */
body:has(> *):is([data-page="consulting"]) .hero-bg,
html[data-page="consulting"] .hero-bg,
.hero-consulting .hero-bg {
  background: url('/assets/images/corp-bg-consulting.jpg') center/cover;
}

/* Use Cases page hero */
body:has(> *):is([data-page="use-cases"]) .hero-bg,
html[data-page="use-cases"] .hero-bg,
.hero-usecases .hero-bg {
  background: url('/assets/images/corp-bg-use-cases.jpg') center/cover;
}

/* FAQ page hero */
body:has(> *):is([data-page="faq"]) .hero-bg,
html[data-page="faq"] .hero-bg,
.hero-faq .hero-bg {
  background: url('/assets/images/corp-bg-faq.jpg') center/cover;
}

.hero .btn-accent {
  box-shadow: 0 8px 24px rgba(0, 212, 255, 0.3);
}

.hero .btn-secondary {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--white);
}

.hero .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.5);
}

/* ============================================
   GRID LAYOUTS
   ============================================ */

.grid {
  display: grid;
  gap: var(--spacing-lg);
  margin-top: var(--spacing-xl);
}

/* Exactly 2 columns when ≥640px → 4 items stay 2×2 (never 3+1). Single column on phones. */
.grid-2 {
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* 3-up only when the row can hold three equal columns — avoids a lone fourth tile */
.grid-3 {
  grid-template-columns: 1fr;
}

@media (min-width: 900px) {
  .grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* 6-card layouts: 1 → 2×3 → 3×2 (never a single orphan in a 3-wide row) */
.grid-six {
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .grid-six {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1000px) {
  .grid-six {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.grid-4 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 960px) {
  .grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* ============================================
   CARDS
   ============================================ */

.card {
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: 1rem;
  padding: var(--spacing-lg);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 184, 217, 0.1), transparent);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.card:hover::before {
  opacity: 1;
  animation: slideInLeft 0.6s ease-out;
}

.card:hover {
  border-color: rgba(0, 184, 217, 0.45);
  box-shadow: 0 12px 40px rgba(2, 42, 82, 0.08);
  transform: translateY(-3px);
}

.card-icon {
  font-size: 2.5rem;
  margin-bottom: var(--spacing-md);
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card h3 {
  color: var(--navy);
  margin-bottom: var(--spacing-sm);
}

.card p {
  font-size: 0.95rem;
  line-height: 1.7;
}

.card-highlight {
  border-left: 4px solid var(--cyan);
  background: linear-gradient(to right, rgba(0, 212, 255, 0.05), transparent);
}

.card-accent {
  border-color: rgba(0, 217, 255, 0.4);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.99) 0%, rgba(224, 247, 255, 0.9) 100%);
  border-top: 4px solid var(--cyan);
  box-shadow: 0 2px 12px rgba(0, 217, 255, 0.12);
}

/* 2×2 service grids: equal-height rows, primary CTA anchored */
.grid-2 > .card-highlight {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.grid-2 > .card-highlight .btn {
  margin-top: auto;
  width: fit-content;
}

.grid-six > .card-accent {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.grid-six > .card-accent .btn {
  margin-top: auto;
  width: fit-content;
}

.grid-2 > .step-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.grid-2 > .step-card > .font-xs {
  margin-top: auto;
}

/* ============================================
   STEPS / PROCESS
   ============================================ */

.step-card {
  padding: var(--spacing-lg);
  background: var(--white);
  border: 2px solid var(--gray-border);
  border-radius: var(--radius-lg);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.step-card:hover {
  border-color: var(--cyan);
  box-shadow: var(--shadow-lg);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  color: var(--white);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: var(--spacing-md);
  box-shadow: var(--shadow-md);
}

.step-card h3 {
  color: var(--navy);
  margin-bottom: var(--spacing-sm);
}

/* ============================================
   CREDENTIALS
   ============================================ */

.credentials-section {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: var(--white);
  padding: var(--spacing-2xl) var(--spacing-lg);
  text-align: center;
}

.credentials-section h2 {
  color: var(--white);
  margin-bottom: var(--spacing-xl);
}

.credential-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--spacing-lg);
  margin-top: var(--spacing-xl);
}

@media (min-width: 900px) {
  .credential-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.credential-item {
  text-align: center;
  padding: var(--spacing-lg);
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.credential-item:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--cyan);
  transform: translateY(-4px);
}

.credential-item-icon {
  font-size: 2rem;
  margin-bottom: var(--spacing-sm);
}

.credential-item p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
}

/* ============================================
   IMAGE CARDS & SHOWCASE
   ============================================ */

.image-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  aspect-ratio: 16/10;
}

.image-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(0, 217, 255, 0.2);
}

.image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gap-lg {
  gap: var(--spacing-lg);
}

/* ============================================
   FOOTER
   ============================================ */

footer {
  background: var(--charcoal);
  color: var(--white);
  padding: var(--spacing-2xl) var(--spacing-lg) var(--spacing-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-2xl);
}

.footer-col h4 {
  color: var(--cyan);
  font-size: 1rem;
  margin-bottom: var(--spacing-md);
  font-weight: 700;
}

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

.footer-col a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  display: block;
  margin-bottom: var(--spacing-sm);
  transition: color 0.3s ease;
}

.footer-col a:hover {
  color: var(--cyan);
}

.footer-col p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  margin-bottom: var(--spacing-md);
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--spacing-lg);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

.text-center {
  text-align: center;
}

.text-navy {
  color: var(--navy);
}

.text-cyan {
  color: var(--cyan);
}

.text-white {
  color: var(--white);
}

.text-secondary {
  color: var(--secondary-text);
}

.text-tertiary {
  color: var(--tertiary-text);
}

.font-large {
  font-size: 1.1rem;
  line-height: 1.7;
}

.font-small {
  font-size: 0.9rem;
}

.font-xs {
  font-size: 0.85rem;
}

.font-weight-bold {
  font-weight: 700;
}

.font-weight-semibold {
  font-weight: 600;
}

.max-width-700 {
  max-width: 700px;
}

.max-width-800 {
  max-width: 800px;
}

.margin-auto {
  margin: 0 auto;
}

.margin-bottom-2 {
  margin-bottom: var(--spacing-lg);
}

.margin-bottom-3 {
  margin-bottom: var(--spacing-xl);
}

.margin-top-2 {
  margin-top: var(--spacing-lg);
}

.mt-1 {
  margin-top: var(--spacing-sm);
}

.gap-2 {
  gap: var(--spacing-lg);
}

/* ============================================
   MOBILE MENU
   ============================================ */

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: var(--spacing-sm);
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background: var(--navy);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 1024px) {
  .container {
    padding: 0 var(--spacing-md);
  }

  .section {
    padding: var(--spacing-xl) var(--spacing-md);
  }

  h1 {
    font-size: 2.2rem;
  }

  h2 {
    font-size: 1.8rem;
  }
}

/* Anchor targets clear the sticky header */
#solutions,
#services,
#resources,
#values,
#assessment-form {
  scroll-margin-top: 5.75rem;
}

@media (max-width: 768px) {
  .header-inner {
    gap: var(--spacing-sm);
  }

  nav {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    gap: 0;
    padding: var(--spacing-md);
    border-bottom: 1px solid var(--gray-border);
    box-shadow: var(--shadow-lg);
    z-index: 99;
  }

  nav.active {
    display: flex;
  }

  nav a {
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: 0;
    width: 100%;
  }

  .menu-toggle {
    display: flex;
  }

  h1 {
    font-size: 1.8rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  h3 {
    font-size: 1.2rem;
  }

  .hero {
    min-height: 100vh;
    min-height: 100dvh;
    padding-block: clamp(3.25rem, 11vh, 5rem);
    padding-inline: max(var(--spacing-md), env(safe-area-inset-left, 0px)) max(var(--spacing-md), env(safe-area-inset-right, 0px));
  }

  .hero p {
    font-size: 1rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .grid-2 > .card-highlight .btn,
  .grid-six > .card-accent .btn {
    width: 100%;
    align-self: stretch;
    text-align: center;
  }

  .grid-2, .grid-3, .grid-4, .grid-six {
    grid-template-columns: 1fr;
  }

  .section {
    padding: var(--spacing-xl) var(--spacing-md);
  }

  .card {
    padding: var(--spacing-md);
  }

  .step-card {
    padding: var(--spacing-md);
  }

  .credential-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-content {
    gap: var(--spacing-md);
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 var(--spacing-sm);
  }

  .header-inner {
    gap: var(--spacing-xs);
  }

  .logo span {
    display: none;
  }

  h1 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
  }

  h2 {
    font-size: 1.3rem;
  }

  h3 {
    font-size: 1.1rem;
  }

  .hero {
    min-height: 100vh;
    min-height: 100dvh;
    padding-block: clamp(3rem, 10vh, 4.5rem);
    padding-inline: max(var(--spacing-sm), env(safe-area-inset-left, 0px)) max(var(--spacing-sm), env(safe-area-inset-right, 0px));
  }

  .hero h1 {
    font-size: 1.5rem;
  }

  .hero p {
    font-size: 0.95rem;
  }

  .hero-buttons {
    gap: var(--spacing-sm);
  }

  .btn, .cta-button {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
  }

  .section {
    padding: var(--spacing-xl) var(--spacing-sm);
  }

  .grid-2, .grid-3, .grid-4, .grid-six {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }

  .card {
    padding: var(--spacing-md);
  }

  .step-card {
    padding: var(--spacing-md);
  }

  .credential-grid {
    grid-template-columns: 1fr;
  }

  .credential-item {
    padding: var(--spacing-md);
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }

  nav {
    top: 60px;
  }
}

/* ============================================
   TYPOGRAPHY — BUSINESS / CONSULTING
   ============================================ */

.eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.35rem;
}

.eyebrow--light {
  color: var(--gold-soft);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.eyebrow--dark {
  color: var(--navy-mid);
  letter-spacing: 0.18em;
}

.section-lead {
  font-size: clamp(1.02rem, 1.2vw, 1.15rem);
  line-height: 1.75;
  max-width: 42rem;
}

.section-heading {
  text-wrap: balance;
}

.section-heading--center {
  text-align: center;
  margin-bottom: 1.25rem;
}

.section-lead--center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================
   ALTERNATING CONTENT SECTIONS
   Dynamic Left-Right Layout
   ============================================ */

.alternating-section {
  padding: clamp(3rem, 6vw, 5rem) 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
}

@media (min-width: 1000px) {
  .alternating-section {
    grid-template-columns: 1fr 1fr;
  }
}

/* Content column */
.alternating-section-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.alternating-section-content h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  margin-bottom: clamp(0.75rem, 1.5vw, 1.25rem);
  color: var(--dark-text);
}

.alternating-section-content .subtitle {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  color: var(--cyan);
  font-weight: 600;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.alternating-section-content p {
  font-size: clamp(1rem, 1.3vw, 1.1rem);
  line-height: 1.75;
  color: var(--secondary-text);
  margin-bottom: 1rem;
}

.alternating-section-content ul {
  list-style: none;
  margin: 1.5rem 0;
}

.alternating-section-content li {
  padding-left: 2rem;
  margin-bottom: 0.75rem;
  position: relative;
  font-size: 1rem;
  color: var(--secondary-text);
  line-height: 1.6;
}

.alternating-section-content li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--cyan);
  font-weight: bold;
  font-size: 1.2rem;
}

.alternating-section-cta {
  display: inline-block;
  margin-top: 1.5rem;
}

/* Image column */
.alternating-section-image {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.alternating-section-image img {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.alternating-section-image img:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 50px rgba(0, 217, 255, 0.25);
}

/* Reverse order for alternating layout */
.alternating-section.reverse {
  direction: rtl;
}

.alternating-section.reverse > * {
  direction: ltr;
}

@media (max-width: 999px) {
  .alternating-section.reverse {
    direction: ltr;
  }
  
  .alternating-section.reverse > * {
    direction: ltr;
  }
}

/* Service cards layout */
.service-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(1.5rem, 3vw, 2rem);
  margin-top: clamp(2.5rem, 5vw, 4rem);
}

.service-card-item {
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2rem);
  transition: all 0.35s ease;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  position: relative;
  overflow: hidden;
}

.service-card-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--cnc-cyan), var(--cnc-cyan-bright));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-card-item:hover::before {
  opacity: 1;
}

.service-card-item:hover {
  border-color: var(--cyan);
  box-shadow: 0 12px 32px rgba(0, 180, 216, 0.18), 0 4px 12px rgba(0, 0, 0, 0.06);
  transform: translateY(-8px);
}

.service-card-item-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 1rem;
  border-radius: var(--radius-md);
  overflow: hidden;
  flex-shrink: 0;
}

.service-card-item-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-card-item h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--dark-text);
}

.service-card-item p {
  font-size: 0.95rem;
  color: var(--secondary-text);
  line-height: 1.6;
  flex-grow: 1;
  margin-bottom: 1rem;
}

.service-card-item .btn {
  align-self: flex-start;
  margin-top: auto;
}

/* SECTION HELPERS */
.section-with-image-left .alternating-section {
  grid-auto-flow: column;
  grid-template-columns: 1fr 1.1fr;
}

.section-with-image-right .alternating-section {
  grid-auto-flow: column;
  grid-template-columns: 1.1fr 1fr;
}

@media (max-width: 999px) {
  .section-with-image-left .alternating-section,
  .section-with-image-right .alternating-section {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   CONTACT PAGE
   ============================================ */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.5rem, 4vw, 2.5rem);
  margin-top: clamp(1.5rem, 4vw, 3rem);
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

@media (min-width: 900px) {
  .contact-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: clamp(2rem, 4vw, 3rem);
    margin-top: clamp(2rem, 4vw, 3rem);
  }

  .contact-info,
  .contact-form {
    order: unset;
  }
}

/* Stack: offices / context first on small screens, form second */
@media (max-width: 899px) {
  .contact-info {
    order: 1;
  }

  .contact-form {
    order: 2;
  }
}

.contact-form,
.contact-info {
  min-width: 0;
}

.contact-form {
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: 1rem;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  box-shadow: 0 4px 24px rgba(2, 42, 82, 0.06);
}

.contact-form .h2-tight {
  font-size: clamp(1.35rem, 2.5vw, 1.65rem);
  margin-bottom: 0.35rem;
}

.contact-form .form-intro {
  margin-bottom: 1.5rem;
  color: var(--secondary-text);
}

.contact-form .form-group {
  margin-bottom: 1.5rem;
}

.contact-form .form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--dark-text);
}

.contact-form .form-group input,
.contact-form .form-group textarea {
  width: 100%;
  padding: 0.8rem 0.95rem;
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-md);
  font-family: var(--sans);
  font-size: 0.95rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  background: var(--white);
}

.contact-form .form-group input:focus,
.contact-form .form-group textarea:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0, 184, 217, 0.12);
}

.contact-form .form-group textarea {
  resize: vertical;
  min-height: 8rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: clamp(1.25rem, 2vw, 2rem);
}

.contact-info > .h2-tight {
  font-size: clamp(1.35rem, 2.5vw, 1.65rem);
  margin-bottom: 0;
}

.info-block {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.95) 0%, rgba(240, 249, 255, 0.65) 100%);
  border: 1px solid var(--gray-border);
  border-radius: 1rem;
  padding: 1.35rem 1.5rem;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

.info-block h4 {
  color: var(--navy);
  margin-bottom: 0.65rem;
  font-family: var(--sans);
  font-size: 1rem;
}

.info-block p {
  margin-bottom: 0.4rem;
  font-size: 0.95rem;
}

.info-block a {
  color: var(--cyan-dark);
  font-weight: 600;
}

.info-block a:hover {
  color: var(--navy);
}

.trust-panel {
  background: linear-gradient(135deg, rgba(0, 184, 217, 0.08) 0%, rgba(79, 70, 229, 0.06) 100%);
  border: 1px solid var(--gray-border);
  border-radius: 1rem;
  padding: 1.5rem;
}

.trust-panel h4 {
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.checklist {
  margin: 0.75rem 0 0 1.25rem;
  color: var(--secondary-text);
  line-height: 1.7;
}

.checklist li {
  margin-bottom: 0.45rem;
}

.btn-block {
  width: 100%;
}

.form-note {
  text-align: center;
}

.faq-heading {
  text-align: center;
  margin-bottom: 2rem;
}

.faq-grid .card h4 {
  color: var(--navy);
  font-family: var(--sans);
  font-size: 1.02rem;
}

/* ============================================
   STATS (ABOUT / VALUES)
   ============================================ */

.stat-grid-inner {
  text-align: center;
}

.stat-value {
  font-family: var(--sans);
  font-size: clamp(2.25rem, 5vw, 3rem);
  font-weight: 800;
  color: var(--cyan-dark);
  line-height: 1.1;
  margin-bottom: 0.35rem;
  letter-spacing: -0.03em;
}

.stat-grid-inner h3 {
  margin-bottom: 0.5rem;
}

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(0, 184, 217, 0.4), inset 0 0 20px rgba(0, 184, 217, 0.05);
  }
  50% {
    box-shadow: 0 0 30px rgba(0, 184, 217, 0.6), inset 0 0 30px rgba(0, 184, 217, 0.1);
  }
}

@keyframes floatUp {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes dataFlow {
  0% {
    opacity: 0;
    transform: translateX(-100%);
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateX(100%);
  }
}

@keyframes gridPulse {
  0%, 100% {
    opacity: 0.1;
  }
  50% {
    opacity: 0.3;
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out forwards;
}

.slide-in-left {
  animation: slideInLeft 0.6s ease-out forwards;
}

.shimmer {
  animation: shimmer 3s infinite;
}

.pulse-glow {
  animation: pulseGlow 3s ease-in-out infinite;
}

.float-up {
  animation: floatUp 3s ease-in-out infinite;
}

.data-flow {
  animation: dataFlow 4s ease-in-out infinite;
}

/* ============================================
   PREMIUM DYNAMIC EFFECTS
   Hero Spacer, Scroll Reveal, Diagonal Clips,
   Stats Showcase, Enhanced Interactions
   ============================================ */

/* --- Hero-to-Stats Seamless Bridge --- */
.hero-masthead + .stats-showcase {
  margin-top: 0;
  border-top: none;
}

/* Keep spacer for any future use */
.hero-spacer {
  height: clamp(40px, 5vw, 60px);
  background: linear-gradient(180deg, #001020 0%, #000a1f 100%);
  position: relative;
}

/* --- Scroll Reveal System --- */
html.has-js .reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

html.has-js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0) translateX(0) scale(1);
}

html.has-js .reveal--from-left {
  transform: translateX(-60px) translateY(0);
}

html.has-js .reveal--from-right {
  transform: translateX(60px) translateY(0);
}

html.has-js .reveal--scale {
  transform: scale(0.92);
}

.reveal--delay-1 { transition-delay: 0.1s !important; }
.reveal--delay-2 { transition-delay: 0.2s !important; }
.reveal--delay-3 { transition-delay: 0.3s !important; }
.reveal--delay-4 { transition-delay: 0.4s !important; }
.reveal--delay-5 { transition-delay: 0.5s !important; }

/* --- Diagonal Image Clips (Desktop) --- */
@media (min-width: 901px) {
  .hero-split--section:not(.hero-split--reverse) .hero-split__visual {
    clip-path: polygon(0 0, 100% 4%, 92% 100%, 0 96%);
    transition: clip-path 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .hero-split--section.hero-split--reverse .hero-split__visual {
    clip-path: polygon(8% 0, 100% 4%, 100% 96%, 0 100%);
    transition: clip-path 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .hero-split--section:not(.hero-split--reverse) .hero-split__visual:hover {
    clip-path: polygon(0 0, 100% 0, 95% 100%, 0 100%);
  }

  .hero-split--section.hero-split--reverse .hero-split__visual:hover {
    clip-path: polygon(5% 0, 100% 0, 100% 100%, 0 100%);
  }
}

/* Parallax images: base scale to fill clipped area */
.hero-split--section .hero-split__img {
  transform: scale(1.08);
  will-change: transform;
  transition: none;
}

/* --- Stats Showcase — Premium Dark Section --- */
.stats-showcase {
  position: relative;
  padding: clamp(6rem, 12vw, 10rem) var(--spacing-lg);
  background: linear-gradient(135deg, #000a1f 0%, #001233 30%, #001d4a 60%, #002855 100%);
  overflow: hidden;
  z-index: 1;
}

.stats-showcase__mesh {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 50% 60% at 15% 20%, rgba(0, 180, 216, 0.12), transparent 60%),
    radial-gradient(ellipse 40% 50% at 85% 80%, rgba(72, 202, 228, 0.08), transparent 55%),
    radial-gradient(ellipse 60% 40% at 50% 110%, rgba(0, 100, 200, 0.1), transparent 50%),
    radial-gradient(circle at 70% 30%, rgba(255, 214, 10, 0.04), transparent 40%);
  pointer-events: none;
  animation: meshDrift 20s ease-in-out infinite alternate;
}

.stats-showcase__grid-line {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.035;
  background-image:
    linear-gradient(rgba(255,255,255,0.5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.5) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

@keyframes meshDrift {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(-12px, 6px) scale(1.02); }
  100% { transform: translate(6px, -8px) scale(1); }
}

.stats-showcase__heading {
  text-align: center;
  font-family: var(--sans);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: clamp(3rem, 6vw, 5rem);
  position: relative;
  z-index: 1;
  letter-spacing: -0.025em;
}

.stats-showcase__heading::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--cnc-cyan), var(--cnc-cyan-bright));
  margin: 1.5rem auto 0;
  border-radius: 2px;
}

.stats-showcase__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 4vw, 3rem);
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .stats-showcase__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.stats-showcase__item {
  text-align: center;
  padding: clamp(2rem, 4vw, 3rem);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: visible;
}

.stats-showcase__item:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(0, 180, 216, 0.25);
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.stats-showcase__number {
  display: block;
  font-family: var(--sans);
  font-size: clamp(3rem, 7vw, 4.2rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: 0.75rem;
  background: linear-gradient(135deg, var(--cnc-cyan-bright) 0%, var(--cnc-cyan) 40%, #7dd3fc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
  z-index: 1;
}

.stats-showcase__label {
  display: block;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cnc-cyan);
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.stats-showcase__desc {
  font-family: var(--sans);
  font-size: 0.92rem;
  line-height: 1.7;
  color: rgba(248, 250, 252, 0.6);
  margin: 0;
  position: relative;
  z-index: 1;
}

/* --- Enhanced Button Effects --- */
.btn-cnc-accent {
  position: relative;
  overflow: hidden;
}

.btn-cnc-accent::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 200%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent 0%,
    transparent 25%,
    rgba(255, 255, 255, 0.3) 50%,
    transparent 75%,
    transparent 100%
  );
  transition: left 0.65s ease;
  pointer-events: none;
}

.btn-cnc-accent:hover::after {
  left: 100%;
}

.btn-cnc-ghost {
  position: relative;
  overflow: hidden;
}

.btn-cnc-ghost::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(0, 180, 216, 0.2), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.btn-cnc-ghost:hover::after {
  opacity: 1;
}

.btn-accent {
  position: relative;
  overflow: hidden;
}

.btn-accent::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 200%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent 0%,
    transparent 30%,
    rgba(255, 255, 255, 0.2) 50%,
    transparent 70%,
    transparent 100%
  );
  transition: left 0.5s ease;
  pointer-events: none;
}

.btn-accent:hover::after {
  left: 100%;
}

/* --- Enhanced CTA Strip --- */
.cta-strip {
  background:
    radial-gradient(ellipse 60% 50% at 20% 0%, rgba(0, 180, 216, 0.12), transparent 60%),
    radial-gradient(ellipse 50% 60% at 85% 100%, rgba(72, 202, 228, 0.08), transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(0, 50, 100, 0.2), transparent 70%),
    linear-gradient(160deg, #001233 0%, #001d4a 40%, #003566 100%);
}

/* --- Service Section — Dark Premium Theme --- */
.section--services {
  position: relative;
  background: linear-gradient(160deg, #000f2e 0%, #001a4d 40%, #002855 100%);
  overflow: hidden;
}

.section--services::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 50% at 15% 30%, rgba(0, 180, 216, 0.07), transparent 60%),
    radial-gradient(ellipse 40% 50% at 85% 70%, rgba(72, 202, 228, 0.05), transparent 55%),
    radial-gradient(circle at 50% 100%, rgba(0, 50, 120, 0.15), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.section--services > * {
  position: relative;
  z-index: 1;
}

.section--services .section-heading,
.section--services .section-heading--center {
  color: var(--white);
}

.section--services .section-lead,
.section--services .section-lead--center {
  color: rgba(248, 250, 252, 0.7);
}

.section--services .service-card-item {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.section--services .service-card-item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(0, 180, 216, 0.3);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(0, 180, 216, 0.15);
}

.section--services .service-card-item h3 {
  color: var(--white);
}

.section--services .service-card-item p {
  color: rgba(248, 250, 252, 0.6);
}

.section--services .service-card-item .btn-accent {
  background: var(--cnc-cyan);
  color: var(--cnc-navy-deep);
}

.section--services .service-card-item .btn-accent:hover {
  background: var(--cnc-cyan-bright);
}

.section--services .service-card-item-icon {
  border-radius: var(--radius-md);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

/* Service card bottom line reveal on hover */
.service-card-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--cnc-cyan), var(--cnc-cyan-bright), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card-item:hover::after {
  transform: scaleX(1);
}

/* --- Hero Masthead Entrance Animations --- */
.hero-masthead__eyebrow {
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}

.hero-masthead__title {
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.4s both;
}

.hero-masthead__lede {
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.6s both;
}

.hero-masthead__cta {
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.8s both;
}

/* --- Hero Masthead Accent Glow --- */
.hero-masthead__accent {
  text-shadow: 0 0 30px rgba(0, 180, 216, 0.3);
}

/* --- Section Subtle Separators --- */
.section-band-wrap + .section-band-wrap {
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.stats-showcase + .section-band-wrap {
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.section-band-wrap + .section--services {
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

/* --- Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
  html.has-js .reveal {
    transition-duration: 0.01s !important;
    transition-delay: 0s !important;
  }

  .stats-showcase__mesh {
    animation: none;
  }

  .hero-masthead__eyebrow,
  .hero-masthead__title,
  .hero-masthead__lede,
  .hero-masthead__cta {
    animation-duration: 0.01s;
  }

  .hero-split--section .hero-split__img {
    transform: none !important;
  }
}

/* ============================================
   GLOBAL DARK MODE — All Pages
   Overrides for elements using hardcoded light
   values (var(--white) backgrounds, var(--navy)
   text, etc.) that CSS variables can't reach.
   ============================================ */

/* --- Links --- */
a {
  color: var(--cnc-cyan);
}

a:hover {
  color: var(--cnc-cyan-bright);
}

/* --- Header base — dark for ALL pages --- */
.header {
  background: rgba(0, 20, 50, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
}

.header .logo {
  color: var(--white);
}

.header nav a:not(.btn-cnc-yellow-outline) {
  color: rgba(255, 255, 255, 0.85);
}

.header nav a:not(.btn-cnc-yellow-outline):hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.header .menu-toggle span {
  background: var(--white);
}

@media (max-width: 768px) {
  .header nav {
    background: #001233;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .header nav a:not(.btn-cnc-yellow-outline) {
    color: rgba(255, 255, 255, 0.92) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .header nav .btn-cnc-yellow-outline {
    margin-top: var(--spacing-sm);
    text-align: center;
    justify-content: center;
  }
}

/* --- Section backgrounds --- */
.section {
  background: linear-gradient(180deg, #000f2e 0%, #001428 100%);
}

/* --- Cards — Dark glassmorphism --- */
.card {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.card::before {
  background: linear-gradient(90deg, transparent, rgba(0, 180, 216, 0.08), transparent);
}

.card:hover {
  border-color: rgba(0, 180, 216, 0.25);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
  background: rgba(255, 255, 255, 0.06);
}

.card h3 {
  color: var(--white);
}

.card h4 {
  color: var(--cnc-cyan);
}

.card-highlight {
  border-left-color: var(--cnc-cyan);
  background: linear-gradient(to right, rgba(0, 180, 216, 0.06), rgba(255, 255, 255, 0.03));
}

.card-accent {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.04) 0%, rgba(0, 180, 216, 0.06) 100%);
  border-color: rgba(0, 180, 216, 0.15);
  border-top-color: var(--cnc-cyan);
  box-shadow: 0 2px 12px rgba(0, 180, 216, 0.08);
}

/* --- Step cards --- */
.step-card {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.step-card:hover {
  border-color: var(--cnc-cyan);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.step-card h3 {
  color: var(--white);
}

/* --- Service cards global dark --- */
.service-card-item {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.service-card-item:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(0, 180, 216, 0.3);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
}

.service-card-item h3 {
  color: var(--white);
}

.service-card-item p {
  color: rgba(248, 250, 252, 0.6);
}

.service-card-item-icon {
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

/* --- Contact form dark --- */
.contact-form {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
}

.contact-form .h2-tight {
  color: var(--white);
}

.contact-form .form-group label {
  color: rgba(248, 250, 252, 0.9);
}

.contact-form .form-group input,
.contact-form .form-group textarea {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

.contact-form .form-group input::placeholder,
.contact-form .form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.contact-form .form-group input:focus,
.contact-form .form-group textarea:focus {
  border-color: var(--cnc-cyan);
  box-shadow: 0 0 0 3px rgba(0, 180, 216, 0.15);
  background: rgba(255, 255, 255, 0.08);
}

/* --- Info blocks & trust panel --- */
.info-block {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.info-block h4 {
  color: var(--cnc-cyan);
}

.info-block a {
  color: var(--cnc-cyan);
}

.info-block a:hover {
  color: var(--cnc-cyan-bright);
}

.trust-panel {
  background: rgba(0, 180, 216, 0.05);
  border-color: rgba(255, 255, 255, 0.08);
}

.trust-panel h4 {
  color: var(--cnc-cyan);
}

.checklist {
  color: rgba(248, 250, 252, 0.7);
}

/* --- Credentials --- */
.credentials-section {
  background: linear-gradient(135deg, #001233 0%, #001a4d 100%);
}

.credential-item {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
}

.credential-item:hover {
  background: rgba(255, 255, 255, 0.08);
}

/* --- Stat value (about/values page) --- */
.stat-value {
  background: linear-gradient(135deg, var(--cnc-cyan-bright), var(--cnc-cyan), #7dd3fc);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* --- Typography dark overrides --- */
.text-navy {
  color: var(--white);
}

.eyebrow--dark {
  color: var(--cnc-cyan);
}

.section-heading {
  color: var(--white);
}

.faq-heading {
  color: var(--white);
}

.faq-grid .card h4 {
  color: var(--cnc-cyan);
}

.alternating-section-content h2 {
  color: var(--white);
}

/* --- Buttons — adjusted for dark context --- */
.btn-primary, .cta-button {
  background: var(--cnc-cyan);
  color: var(--cnc-navy-deep);
  box-shadow: 0 6px 24px rgba(0, 180, 216, 0.25);
}

.btn-primary:hover, .cta-button:hover {
  background: var(--cnc-cyan-bright);
  box-shadow: 0 10px 32px rgba(72, 202, 228, 0.4);
  color: var(--cnc-navy-deep);
}

/* --- Image card dark --- */
.image-card:hover {
  box-shadow: 0 16px 40px rgba(0, 180, 216, 0.15);
}

/* --- Footer links explicit colors --- */
.footer-col a {
  color: rgba(255, 255, 255, 0.7);
}

.footer-col a:hover {
  color: var(--cnc-cyan);
}

/* ============================================
   DESKTOP REFINEMENTS (1200px+)
   Premium layout for wide viewports
   ============================================ */

@media (min-width: 1200px) {
  .stats-showcase {
    padding: clamp(8rem, 14vw, 12rem) var(--spacing-lg);
  }

  .stats-showcase__number {
    font-size: clamp(3.2rem, 3.5vw, 4.5rem);
  }

  .stats-showcase__grid {
    gap: 3rem;
  }

  .stats-showcase__item {
    padding: 3rem 2rem;
  }

  .hero-split--section {
    min-height: min(58vh, 600px);
  }

  .hero-split__inner--section {
    max-width: 30rem;
  }

  .hero-split__heading {
    font-size: 2.2rem;
  }

  .service-cards-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
  }

  .cta-strip {
    padding: clamp(7rem, 12vw, 10rem) var(--spacing-lg);
  }

  .section {
    padding: clamp(5rem, 10vw, 8rem) var(--spacing-lg);
  }
}

@media (min-width: 1400px) {
  .stats-showcase__number {
    font-size: clamp(4rem, 3.8vw, 5rem);
  }

  .hero-masthead__title {
    font-size: 3.5rem;
  }

  .hero-masthead__accent {
    font-size: 2.3rem;
  }

  .container {
    max-width: 1320px;
  }

  .hero-split__heading {
    font-size: 2.4rem;
  }

  .hero-split__copy {
    font-size: 1.1rem;
  }
}


/* ============================================
   INVESTIGATION AESTHETIC — BLUEPRINT SYSTEM
   Subliminal design elements for authority & precision
   ============================================ */

/* Blueprint Grid Overlay */
.hero-masthead__blueprint {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.04;
  pointer-events: none;
  background:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 79px,
      rgba(0, 180, 216, 0.5) 79px,
      rgba(0, 180, 216, 0.5) 80px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 79px,
      rgba(0, 180, 216, 0.5) 79px,
      rgba(0, 180, 216, 0.5) 80px
    );
}

/* Scanning Line Animation */
@keyframes scanSweep {
  0% { top: -2px; opacity: 0; }
  5% { opacity: 1; }
  95% { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

.hero-masthead__scanline {
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(0, 180, 216, 0.15) 15%,
    rgba(0, 180, 216, 0.4) 50%,
    rgba(0, 180, 216, 0.15) 85%,
    transparent 100%
  );
  box-shadow: 0 0 20px 2px rgba(0, 180, 216, 0.08);
  animation: scanSweep 6s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  animation-delay: 1.5s;
}

/* Reticle / Crosshair Element */
.hero-masthead__reticle {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  color: rgba(0, 180, 216, 0.08);
  width: clamp(200px, 25vw, 400px);
  height: clamp(200px, 25vw, 400px);
  right: 8%;
  top: 50%;
  transform: translateY(-50%);
  animation: reticlePulse 4s ease-in-out infinite;
}

@keyframes reticlePulse {
  0%, 100% { opacity: 1; transform: translateY(-50%) scale(1); }
  50% { opacity: 0.6; transform: translateY(-50%) scale(1.03); }
}

/* Status Bar (mission-control feel) */
.hero-masthead__status-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  font-family: var(--mono, 'SF Mono', 'Fira Code', 'Consolas', monospace);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(0, 180, 216, 0.5);
}

.hero-masthead__status-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #00e5a0;
  box-shadow: 0 0 6px rgba(0, 229, 160, 0.5);
  animation: statusBlink 2.5s ease-in-out infinite;
}

@keyframes statusBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero-masthead__status-sep {
  color: rgba(255, 255, 255, 0.15);
}

.hero-masthead__status-text {
  color: rgba(0, 180, 216, 0.45);
}

/* Trust Signals Bar */
.hero-masthead__trust-signals {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.hero-masthead__trust-signals span {
  font-family: var(--mono, 'SF Mono', 'Fira Code', 'Consolas', monospace);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(248, 250, 252, 0.35);
  position: relative;
}

.hero-masthead__trust-signals span::before {
  content: '//';
  margin-right: 0.4em;
  color: rgba(0, 180, 216, 0.3);
}

@media (max-width: 640px) {
  .hero-masthead__trust-signals {
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
  }

  .hero-masthead__reticle {
    display: none;
  }

  .hero-masthead__status-bar {
    flex-wrap: wrap;
    gap: 0.3rem 0.5rem;
  }
}

/* ============================================
   INVESTIGATION AESTHETIC — SECTION BLUEPRINTS
   Subtle background patterns across content sections
   ============================================ */

/* Blueprint dot-grid for content bands */
.section-band-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.015;
  background-image: radial-gradient(
    circle at 1px 1px,
    rgba(0, 180, 216, 0.6) 0.5px,
    transparent 0.5px
  );
  background-size: 40px 40px;
}

.section-band-wrap {
  position: relative;
}

/* Corner brackets on stats showcase items */
.stats-showcase__item::before,
.stats-showcase__item::after {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  border-color: rgba(0, 180, 216, 0.15);
  border-style: solid;
  pointer-events: none;
  transition: border-color 0.4s ease;
}

.stats-showcase__item::before {
  top: 12px;
  left: 12px;
  border-width: 1px 0 0 1px;
}

.stats-showcase__item::after {
  bottom: 12px;
  right: 12px;
  border-width: 0 1px 1px 0;
}

.stats-showcase__item:hover::before,
.stats-showcase__item:hover::after {
  border-color: rgba(0, 180, 216, 0.35);
}

/* Corner brackets on service cards */
.section--services .service-card-item::before {
  content: '';
  position: absolute;
  top: 10px;
  right: 10px;
  width: 14px;
  height: 14px;
  border-top: 1px solid rgba(0, 180, 216, 0.1);
  border-right: 1px solid rgba(0, 180, 216, 0.1);
  pointer-events: none;
  transition: border-color 0.4s ease, transform 0.4s ease;
}

.section--services .service-card-item:hover::before {
  border-color: rgba(0, 180, 216, 0.3);
  transform: translate(2px, -2px);
}

/* Services section blueprint grid */
.section--services::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.012;
  background:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 59px,
      rgba(0, 180, 216, 0.4) 59px,
      rgba(0, 180, 216, 0.4) 60px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 59px,
      rgba(0, 180, 216, 0.4) 59px,
      rgba(0, 180, 216, 0.4) 60px
    );
}

.section--services {
  position: relative;
}

/* CTA Section — subtle data stream */
@keyframes dataStream {
  0% { background-position: 0 0; }
  100% { background-position: 0 200px; }
}

.cta-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.02;
  background-image:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 11px,
      rgba(0, 180, 216, 0.3) 11px,
      rgba(0, 180, 216, 0.3) 12px
    );
  animation: dataStream 8s linear infinite;
}

.cta-strip {
  position: relative;
}

.cta-strip > .container {
  position: relative;
  z-index: 1;
}

/* ============================================
   INVESTIGATION AESTHETIC — HERO SCRIM ENHANCEMENT
   More cinematic overlay with vignette
   ============================================ */

.hero-masthead__scrim {
  background:
    radial-gradient(ellipse 60% 50% at 30% 50%, rgba(0, 15, 46, 0.95) 0%, transparent 100%),
    radial-gradient(ellipse 100% 100% at 50% 100%, rgba(0, 15, 46, 0.9) 0%, transparent 60%),
    radial-gradient(ellipse 100% 100% at 50% 0%, rgba(0, 15, 46, 0.7) 0%, transparent 50%),
    linear-gradient(118deg, rgba(0, 20, 40, 0.93) 0%, rgba(0, 33, 71, 0.78) 42%, rgba(0, 40, 72, 0.45) 100%) !important;
}

/* Desktop: left-aligned hero for investigation aesthetic */
@media (min-width: 1024px) {
  .hero-masthead__inner {
    text-align: left;
    max-width: 52rem;
    margin-left: 0;
  }

  .hero-masthead__cta {
    justify-content: flex-start;
  }

  .hero-masthead__trust-signals {
    justify-content: flex-start;
  }

  .hero-masthead__status-bar {
    justify-content: flex-start;
  }
}

@media (min-width: 1400px) {
  .hero-masthead__inner {
    max-width: 56rem;
  }

  .hero-masthead__title {
    font-size: 3.8rem;
  }

  .hero-masthead__accent {
    font-size: 2.5rem;
  }

  .hero-masthead__lede {
    font-size: 1.18rem;
    max-width: 38rem;
  }
}

/* Override centered text in the reduced motion pref */
@media (prefers-reduced-motion: reduce) {
  .hero-masthead__scanline {
    animation: none;
    display: none;
  }

  .hero-masthead__reticle {
    animation: none;
  }

  .hero-masthead__status-dot {
    animation: none;
  }
}


/* ============================================
   SECTION FEATURE IMAGES
   Full-width images within content sections
   ============================================ */

.section-feature-img {
  margin: 2.5rem 0 3rem;
  border-radius: var(--radius-lg, 1rem);
  overflow: hidden;
  position: relative;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(255, 255, 255, 0.05);
}

.section-feature-img img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: cover;
  filter: brightness(0.85) saturate(1.1);
  transition: filter 0.5s ease, transform 0.5s ease;
}

.section-feature-img:hover img {
  filter: brightness(0.95) saturate(1.15);
  transform: scale(1.015);
}

.section-feature-img::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    transparent 60%,
    rgba(0, 15, 46, 0.4) 100%
  );
  border-radius: inherit;
}

@media (min-width: 1200px) {
  .section-feature-img {
    margin: 3rem 0 4rem;
  }

  .section-feature-img img {
    max-height: 480px;
  }
}
