/* ═══════════════════════════════════════════════
   CyberEdge Technologies — Unified Stylesheet
   Brand Kit v2: Navy #0E1E3A + Edge Teal #2DD4BF
   Primary surface: Bone #F4F1EA / Paper #FBF9F5
   ═══════════════════════════════════════════════ */

/* ── Brand tokens ── */
:root {
  /* Core palette */
  --navy:        #0E1E3A;
  --navy-deep:   #0A1730;
  --navy-mid:    #152840;
  --steel:       #2C4A7A;
  --steel-tint:  #6E89B5;

  /* Accent — Signal Teal (replaces lime) */
  --edge:        #2DD4BF;
  --edge-shade:  #0F766E;
  --edge-glow:   rgba(45,212,191,0.18);

  /* Neutral surfaces */
  --bone:        #F4F1EA;
  --paper:       #FBF9F5;
  --rule:        #D8D4CC;

  /* Ink scale */
  --ink:         #0E1E3A;
  --ink-soft:    #4A5670;
  --ink-faint:   #8892A6;

  /* Alert */
  --ember:       #E0532A;

  /* Utility */
  --white:       #FFFFFF;
  --border-dark: rgba(44,74,122,0.30);
  --border-light: #D8D4CC;

  /* Legacy aliases — kept for inline HTML compatibility */
  --glass-border: rgba(45,212,191,0.20);
  --lime:         #2DD4BF;
  --lime-dim:     #5BE7D4;
  --text-muted:   #6E89B5;

  /* Type */
  --sans:    'Manrope', system-ui, sans-serif;
  --display: 'Space Grotesk', system-ui, sans-serif;
  --mono:    'JetBrains Mono', 'Fira Code', monospace;

  /* Geometry */
  --r-sm: 6px; --r-md: 12px; --r-lg: 20px; --r-xl: 28px; --r-2xl: 48px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--bone);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: var(--sans); }

/* ── Layout helpers ── */
.container     { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
.section       { padding: 96px 0; }
.section-inner { max-width: 1200px; margin: 0 auto; padding: 0 40px; }

/* ── Section surface variants ── */
.section-bone  { background: var(--bone); }
.section-paper { background: var(--paper); }
.section-navy  { background: var(--navy); }
.section-dark  { background: var(--navy-deep); }

/* ── Eyebrow — dark-surface variant (default) ── */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--edge);
  margin-bottom: 20px;
}
.eyebrow .num {
  background: var(--navy);
  color: var(--bone);
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
}
.eyebrow .rule { flex: 1; height: 1px; background: var(--border-dark); }

/* Eyebrow — light-surface override */
.on-light .eyebrow,
.eyebrow.on-light {
  color: var(--navy);
}
.on-light .eyebrow .num,
.eyebrow.on-light .num {
  background: var(--navy);
  color: var(--bone);
}
.on-light .eyebrow .rule,
.eyebrow.on-light .rule {
  background: var(--rule);
}

/* ── Section heading ── */
.section-h2 {
  font-family: var(--display);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 600;
  color: var(--white);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.section-h2 em { font-style: italic; color: var(--edge); }

/* Heading on light bg */
.on-light .section-h2 { color: var(--navy); }
.on-light .section-h2 em { color: var(--steel); }

.section-lede {
  font-size: 18px;
  color: var(--ink-soft);
  max-width: 58ch;
  line-height: 1.65;
  margin-bottom: 48px;
}
/* Lede on dark bg */
.on-dark .section-lede { color: var(--steel-tint); }

/* ── Buttons ── */
.btn-lime,
.btn-edge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--edge);
  color: var(--navy);
  border: none;
  border-radius: 999px;
  padding: 12px 26px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: background .2s, transform .15s;
  text-decoration: none;
  white-space: nowrap;
}
.btn-lime:hover,
.btn-edge:hover  { background: #5BE7D4; transform: scale(1.02); }
.btn-lime:active,
.btn-edge:active { transform: scale(0.98); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--bone);
  border: 1.5px solid rgba(45,212,191,0.40);
  border-radius: 999px;
  padding: 12px 26px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: border-color .2s, color .2s, transform .15s;
  text-decoration: none;
  white-space: nowrap;
}
.btn-ghost:hover { border-color: var(--edge); color: var(--edge); transform: scale(1.02); }

.btn-ghost-dark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--navy);
  border: 1.5px solid rgba(14,30,58,0.30);
  border-radius: 999px;
  padding: 12px 26px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: border-color .2s, color .2s, background .2s, transform .15s;
  text-decoration: none;
  white-space: nowrap;
}
.btn-ghost-dark:hover { border-color: var(--navy); background: var(--navy); color: var(--bone); transform: scale(1.02); }

/* ── Scroll-reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible { opacity: 1; transform: none; }

/* ══════════════════════════════════════════════
   HERO — dark navy (video bg)
══════════════════════════════════════════════ */
.hero-shell {
  width: 100%;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  background: var(--navy-deep);
}

.hero {
  position: relative;
  width: 100%;
  max-width: 1536px;
  height: calc(100svh - 24px);
  min-height: 600px;
  border-radius: var(--r-2xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: linear-gradient(135deg, #0a1730 0%, #0e1e3a 50%, #071020 100%);
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
}
.hero-video.loaded { opacity: 1; }

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg,
      rgba(10,23,48,0.60) 0%,
      rgba(10,23,48,0.28) 40%,
      rgba(10,23,48,0.28) 60%,
      rgba(10,23,48,0.75) 100%
    );
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ── Floating pill navbar inside hero ── */
.navbar {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 14px;
  flex-shrink: 0;
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: radial-gradient(
    ellipse 90% 160% at 50% 50%,
    rgba(14,30,58,0.75) 0%,
    rgba(14,30,58,0.48) 55%,
    transparent 100%
  );
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 999px;
  padding: 10px 16px 10px 24px;
  border: 1px solid rgba(45,212,191,0.14);
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.navbar-logo img { height: 32px; width: auto; }
.navbar-logo .wordmark {
  font-family: var(--display);
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  letter-spacing: -0.01em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}
.nav-links li a {
  font-size: 13px;
  font-weight: 500;
  color: rgba(244,241,234,0.80);
  text-decoration: none;
  transition: color .2s;
  letter-spacing: 0.01em;
}
.nav-links li a:hover,
.nav-links li a.active { color: var(--edge); }

.navbar-right { display: flex; align-items: center; gap: 12px; }

/* Edge teal CTA button */
.btn-nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--edge);
  color: var(--navy);
  border: none;
  border-radius: 999px;
  padding: 8px 20px 8px 8px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s, transform .15s;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 2px 12px rgba(45,212,191,0.28);
}
.btn-nav-cta:hover  { background: #5BE7D4; transform: scale(1.02); }
.btn-nav-cta:active { transform: scale(0.98); }
.btn-nav-cta .btn-icon {
  background: rgba(14,30,58,0.15);
  border-radius: 50%;
  width: 30px; height: 30px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.btn-nav-cta .btn-icon svg { width: 14px; height: 14px; color: var(--navy); }

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: var(--bone);
}
.hamburger svg { width: 22px; height: 22px; display: block; }

/* Mobile nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: 80px;
  left: 12px; right: 12px;
  z-index: 200;
  background: rgba(10,23,48,0.97);
  backdrop-filter: blur(20px);
  border-radius: var(--r-lg);
  padding: 20px 24px;
  flex-direction: column;
  gap: 4px;
  border: 1px solid var(--border-dark);
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  display: block;
  padding: 12px 0;
  font-size: 16px;
  font-weight: 500;
  color: var(--bone);
  border-bottom: 1px solid var(--border-dark);
  transition: color .2s;
}
.mobile-nav a:last-child { border: none; }
.mobile-nav a:hover { color: var(--edge); }
.mobile-nav .btn-edge { margin-top: 12px; justify-content: center; }

/* ── Hero text block ── */
.hero-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 28px 40px 24px;
  max-width: 900px;
  width: 100%;
  flex: 1;
  justify-content: center;
  margin-top: -40px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(45,212,191,0.12);
  border: 1px solid rgba(45,212,191,0.30);
  backdrop-filter: blur(8px);
  margin-bottom: 28px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--edge);
  letter-spacing: 0.08em;
  animation: fadeUp .6s ease both;
}
.hero-badge svg { width: 14px; height: 14px; flex-shrink: 0; }

.hero-h1 {
  font-family: var(--display);
  font-size: clamp(42px, 6.5vw, 88px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.0;
  letter-spacing: -0.025em;
  margin-bottom: 20px;
  animation: fadeUp .8s .15s ease both;
  text-shadow:
    0 2px 24px rgba(10,23,48,0.60),
    0 4px 48px rgba(10,23,48,0.40);
}
.hero-h1 em {
  font-style: italic;
  color: var(--edge);
  text-shadow:
    0 0 32px rgba(45,212,191,0.45),
    0 2px 20px rgba(10,23,48,0.50);
}

.hero-p {
  font-family: var(--sans);
  font-size: clamp(16px, 1.8vw, 19px);
  font-weight: 400;
  color: rgba(244,241,234,0.85);
  max-width: 52ch;
  line-height: 1.65;
  margin-bottom: 32px;
  animation: fadeUp .8s .3s ease both;
}

.hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  animation: fadeUp .8s .45s ease both;
}

/* ── Bottom-left stat card ── */
.hero-card-left {
  position: absolute;
  bottom: 32px;
  left: 32px;
  background: rgba(14,30,58,0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(45,212,191,0.22);
  border-radius: var(--r-xl);
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  animation: fadeLeft .8s .3s ease both;
}
.hero-card-left .card-stat .num {
  font-family: var(--display);
  font-size: 38px;
  font-weight: 700;
  color: var(--edge);
  line-height: 1;
  letter-spacing: -0.03em;
}
.hero-card-left .card-stat .label {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  color: var(--steel-tint);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-top: 3px;
}
.btn-stories {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(45,212,191,0.12);
  border: 1px solid rgba(45,212,191,0.25);
  border-radius: 999px;
  padding: 7px 14px 7px 8px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  color: var(--edge);
  cursor: pointer;
  transition: background .2s, transform .15s;
  white-space: nowrap;
  width: fit-content;
  text-decoration: none;
}
.btn-stories:hover { background: rgba(45,212,191,0.22); transform: scale(1.02); }
.btn-stories .s-icon {
  background: rgba(45,212,191,0.18);
  border-radius: 50%;
  width: 22px; height: 22px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.btn-stories .s-icon svg { width: 11px; height: 11px; color: var(--edge); }

/* ── Bottom-right corner cutout ── */
.hero-corner-right {
  position: absolute;
  bottom: 28px;
  right: 28px;
  background: rgba(14,30,58,0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(45,212,191,0.22);
  border-radius: var(--r-xl);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  animation: fadeUp .8s .4s ease both;
}
.corner-mask-top { display: none; }
.corner-mask-left { display: none; }
.corner-icon {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: rgba(45,212,191,0.12);
  border: 1px solid rgba(45,212,191,0.28);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.corner-icon svg { width: 22px; height: 22px; color: var(--edge); }
.corner-info .c-title {
  font-family: var(--display);
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.corner-info .c-sub {
  font-family: var(--sans);
  font-size: 11px;
  color: var(--steel-tint);
  margin-top: 2px;
  letter-spacing: 0.04em;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  color: rgba(244,241,234,0.45);
  letter-spacing: 0.12em;
  animation: bounce 2s infinite .8s;
}
.scroll-indicator svg { width: 16px; height: 16px; }
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(6px); }
}

/* ══════════════════════════════════════════════
   STATS STRIP — dark navy, bridges hero → content
══════════════════════════════════════════════ */
.stats-strip {
  background: var(--navy-mid);
  border-top: none;
  border-bottom: 3px solid var(--edge);
  padding: 0;
  position: relative;
}
.stats-strip .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat-item {
  padding: 36px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  border-right: 1px solid rgba(45,212,191,0.15);
  position: relative;
  transition: background 0.25s ease;
}
.stat-item:last-child { border-right: none; }
.stat-item:hover { background: rgba(45,212,191,0.06); cursor: default; }
.stat-item .num {
  font-family: var(--display);
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  letter-spacing: -0.03em;
}
.stat-item .label {
  font-size: 11px;
  font-weight: 600;
  color: rgba(45,212,191,0.75);
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

/* ══════════════════════════════════════════════
   ABOUT / VISION MISSION — animated light surface
══════════════════════════════════════════════ */
.about-section {
  background: var(--bone);
  position: relative;
  overflow: hidden;
}
#about-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.55;
}
.about-section .section-inner {
  position: relative;
  z-index: 1;
}
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-images {
  position: relative;
  height: 480px;
}
.img-main {
  position: absolute;
  top: 0; left: 0;
  width: 75%; height: 380px;
  border-radius: var(--r-xl);
  background: var(--paper);
  border: 1px solid var(--rule);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.iaf-frame {
  position: absolute;
  bottom: 0; right: 0;
  width: 48%; height: 224px;
  border-radius: var(--r-xl);
  background: var(--paper);
  border: 1px solid var(--rule);
  box-shadow: 0 0 40px rgba(45,212,191,0.08);
  overflow: hidden;
}
.iaf-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-text h3 {
  font-family: var(--display);
  font-size: 15px;
  font-weight: 600;
  color: var(--edge-shade);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 24px 0 8px;
}
.about-text p {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.75;
  max-width: 54ch;
}
/* About section headings on light */
.about-section .section-h2 { color: var(--navy); }
.about-section .section-h2 em { color: var(--steel); }
.about-section .eyebrow { color: var(--navy); }
.about-section .eyebrow .num { background: var(--navy); color: var(--bone); }
.about-section .eyebrow .rule { background: var(--rule); }
.about-section .section-lede { color: var(--ink-soft); }

/* ══════════════════════════════════════════════
   SERVICES — Two-column 3D image carousel
   Left: stacked/perspective cards  |  Right: text
══════════════════════════════════════════════ */
.services-section { background: var(--navy); }

.services-section .section-h2 { color: var(--white); }
.services-section .section-h2 em { color: var(--edge); }
.services-section .eyebrow { color: var(--edge); }
.services-section .eyebrow .num { background: var(--edge); color: var(--navy); }
.services-section .eyebrow .rule { background: rgba(45,212,191,0.20); }
.services-section .section-lede { color: var(--steel-tint); }

/* ── Two-column grid ── */
.svc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  margin-top: 64px;
  align-items: center;
  min-height: 420px;
}

/* ═══ LEFT COLUMN — image / card stack ═══ */
.svc-image-col {
  position: relative;
  width: 100%;
  height: 380px;
  perspective: 1000px;
  perspective-origin: 50% 50%;
}

/* Each card is absolutely positioned, full size */
.svc-img-card {
  position: absolute;
  inset: 0;
  border-radius: 24px;
  overflow: hidden;
  cursor: pointer;
  will-change: transform, opacity;
  transition: transform 0.8s cubic-bezier(.4,2,.3,1),
              opacity  0.8s cubic-bezier(.4,2,.3,1),
              box-shadow 0.35s ease;
}

/* ── JS-driven state classes ── */
.svc-img-card.si-active {
  transform: translateX(0px) translateY(0px) scale(1) rotateY(0deg);
  opacity: 1;
  z-index: 3;
  box-shadow: 0 20px 60px rgba(0,0,0,0.55);
  pointer-events: auto;
}
.svc-img-card.si-left {
  transform: translateX(-68px) translateY(-48px) scale(0.85) rotateY(15deg);
  opacity: 1;
  z-index: 2;
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
  pointer-events: auto;
}
.svc-img-card.si-right {
  transform: translateX(68px) translateY(-48px) scale(0.85) rotateY(-15deg);
  opacity: 1;
  z-index: 2;
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
  pointer-events: auto;
}
.svc-img-card.si-hidden {
  transform: translateY(20px) scale(0.7);
  opacity: 0;
  z-index: 1;
  pointer-events: none;
}

/* Card visual fill */
.svc-img-inner {
  width: 100%;
  height: 100%;
  background: linear-gradient(145deg, var(--navy-mid) 0%, var(--navy-deep) 100%);
  border: 1px solid rgba(45,212,191,0.20);
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 40px;
  position: relative;
  overflow: hidden;
}
/* Subtle teal glow corner */
.svc-img-inner::after {
  content: '';
  position: absolute;
  bottom: -60px; right: -60px;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(45,212,191,0.12) 0%, transparent 70%);
  pointer-events: none;
}
/* Active card top-line accent */
.svc-img-card.si-active .svc-img-inner {
  border-color: rgba(45,212,191,0.42);
}
.svc-img-card.si-active .svc-img-inner::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--edge) 50%, transparent 100%);
}

.svc-img-icon {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: rgba(45,212,191,0.10);
  border: 1.5px solid rgba(45,212,191,0.30);
  display: flex;
  align-items: center;
  justify-content: center;
}
.svc-img-icon svg {
  width: 48px;
  height: 48px;
  color: var(--edge);
}
.svc-img-label {
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.01em;
}
.svc-img-num {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--edge);
  opacity: 0.6;
  text-transform: uppercase;
}

/* Photo variant — image fills the card, text overlaid at bottom */
.svc-img-inner.svc-img-photo {
  padding: 0;
  gap: 0;
  align-items: stretch;
  justify-content: flex-end;
}
.svc-img-inner.svc-img-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 24px;
}
.svc-img-photo-overlay {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 20px 24px;
  background: linear-gradient(to top, rgba(7,16,32,0.88) 0%, transparent 100%);
  border-radius: 0 0 24px 24px;
}
.svc-img-photo-overlay .svc-img-label { color: var(--white); }
.svc-img-photo-overlay .svc-img-num  { color: var(--edge); opacity: 0.75; }

/* ═══ RIGHT COLUMN — text content ═══ */
.svc-content-col {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 380px;
}

.svc-text-panel {
  display: flex;
  flex-direction: column;
  gap: 0;
  flex: 1;
}

/* Fade-slide animation class toggled by JS */
.svc-text-panel.animating {
  animation: svcFadeIn 0.35s ease forwards;
}
@keyframes svcFadeIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.svc-designation {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--edge);
  margin-bottom: 16px;
}

.svc-title {
  font-family: var(--display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 24px;
}

.svc-desc {
  font-size: 1rem;
  color: var(--steel-tint);
  line-height: 1.75;
  margin-bottom: 32px;
  max-width: 44ch;
}

.svc-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--edge);
  text-decoration: none;
  transition: gap 0.2s ease, opacity 0.2s ease;
  cursor: pointer;
}
.svc-cta:hover { gap: 14px; opacity: 0.8; }
.svc-cta svg { width: 16px; height: 16px; }

/* Arrow buttons — bottom of right col, matching inspiration */
.svc-arrows {
  display: flex;
  gap: 16px;
  padding-top: 40px;
}

.svc-arrow-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(14,30,58,0.9);
  border: 1px solid rgba(45,212,191,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--edge);
  transition: background 0.25s ease, border-color 0.25s ease;
}
.svc-arrow-btn:hover {
  background: var(--edge);
  border-color: var(--edge);
  color: var(--navy);
}
.svc-arrow-btn:focus-visible {
  outline: 2px solid var(--edge);
  outline-offset: 3px;
}
.svc-arrow-btn svg { width: 18px; height: 18px; }

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  .svc-img-card { transition: opacity 0.3s ease; }
  .svc-text-panel.animating { animation: none; }
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .svc-grid { gap: 48px; }
}
@media (max-width: 768px) {
  .svc-grid {
    grid-template-columns: 1fr;
    gap: 48px;
    min-height: unset;
  }
  .svc-image-col { height: 320px; }
  .svc-content-col { height: auto; }
  .svc-img-card.si-left { transform: translateX(-40px) translateY(-32px) scale(0.85) rotateY(12deg); }
  .svc-img-card.si-right { transform: translateX(40px) translateY(-32px) scale(0.85) rotateY(-12deg); }
  .svc-arrows { padding-top: 24px; }
}
@media (max-width: 480px) {
  .svc-image-col { height: 280px; }
  .svc-img-inner { padding: 28px; gap: 14px; }
  .svc-img-icon { width: 72px; height: 72px; }
  .svc-img-icon svg { width: 34px; height: 34px; }
}

/* ── Legacy s-link (used in df-card and other sections) ── */
.s-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 600;
  color: var(--edge-shade);
  margin-top: 6px;
  text-decoration: none;
  transition: gap .2s, color .2s;
}
.s-link:hover { gap: 8px; color: var(--navy); }
.s-link svg { width: 13px; height: 13px; }

/* ══════════════════════════════════════════════
   WHY US — paper surface
══════════════════════════════════════════════ */
.why-strip {
  background: var(--paper);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 80px 40px;
}
.why-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.why-text .eyebrow { color: var(--navy); }
.why-text .eyebrow .num { background: var(--navy); color: var(--bone); }
.why-text .eyebrow .rule { background: var(--rule); }
.why-text h2 {
  font-family: var(--display);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 600;
  color: var(--navy);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.why-text h2 em { font-style: italic; color: var(--steel); }
.why-text p {
  font-size: 16px;
  color: var(--ink-soft);
  line-height: 1.7;
  max-width: 48ch;
  margin-bottom: 32px;
}
.cert-logos { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px; }
.cert-badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: var(--r-sm);
  background: rgba(14,30,58,0.06);
  border: 1px solid rgba(14,30,58,0.18);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.06em;
}
.why-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: var(--rule);
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--rule);
}
.stat-box {
  background: var(--bone);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: background .2s;
}
.stat-box:hover { background: var(--paper); }
.stat-box .big {
  font-family: var(--display);
  font-size: clamp(32px, 3.5vw, 48px);
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
  letter-spacing: -0.03em;
}
.stat-box .big em { font-style: italic; color: var(--edge-shade); }
.stat-box .small {
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

/* ══════════════════════════════════════════════
   DIGITAL FORENSICS SECTION
══════════════════════════════════════════════ */
.df-section { background: var(--navy); }
.df-section .section-h2 { color: var(--white); }
.df-section .section-h2 em { color: var(--edge); }
.df-section .eyebrow { color: var(--edge); }
.df-section .eyebrow .num { background: var(--edge); color: var(--navy); }
.df-section .eyebrow .rule { background: rgba(45,212,191,0.20); }
.df-section .section-lede { color: var(--steel-tint); }

/* Stats row */
.df-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 48px 0 56px;
}
.df-stat-card {
  background: rgba(45,212,191,0.08);
  border: 1px solid rgba(45,212,191,0.18);
  border-radius: var(--r-lg);
  padding: 32px 24px;
  text-align: center;
}
.df-big {
  font-family: var(--display);
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  font-weight: 700;
  color: var(--edge);
  line-height: 1;
  margin-bottom: 10px;
}
.df-unit {
  font-size: 0.55em;
  color: var(--steel-tint);
  vertical-align: middle;
}
.df-label {
  font-size: 0.82rem;
  color: var(--steel-tint);
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}

/* Two-column detail grid */
.df-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.df-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(44,74,122,0.45);
  border-radius: var(--r-xl);
  padding: 36px 40px;
  position: relative;
}
/* MOBILedit brand crimson: #C8144A */
.df-card-dealer {
  border-color: rgba(200,20,74,0.45);
  background: linear-gradient(160deg, rgba(200,20,74,0.18) 0%, rgba(200,20,74,0.06) 100%);
}
.df-dealer-badge {
  position: absolute;
  top: 28px;
  right: 28px;
  background: #C8144A;
  color: #fff;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
}
.df-card-icon {
  width: 48px;
  height: 48px;
  background: rgba(45,212,191,0.12);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--edge);
}
.df-card-icon svg { width: 24px; height: 24px; }
.df-card h3 {
  font-family: var(--display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 14px;
}
.df-card > p {
  color: var(--steel-tint);
  font-size: 0.93rem;
  line-height: 1.7;
  margin-bottom: 24px;
}
.df-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.df-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--steel-tint);
  font-size: 0.88rem;
}
.df-list li svg {
  width: 16px;
  height: 16px;
  color: var(--edge);
  flex-shrink: 0;
}
.df-product-highlight {
  background: rgba(200,20,74,0.12);
  border: 1px solid rgba(200,20,74,0.35);
  border-radius: var(--r-md);
  padding: 20px 22px;
  margin: 24px 0;
}
.df-ph-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  color: #f4607e;
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 700;
}
.df-ph-header svg { width: 18px; height: 18px; flex-shrink: 0; }
.df-ph-desc {
  color: var(--steel-tint);
  font-size: 0.87rem;
  line-height: 1.65;
  margin-bottom: 14px;
}
.df-ph-desc strong { color: var(--white); }
.df-card strong { color: var(--white); }
/* Dealer card — crimson icon & ticks */
.df-card-dealer .df-card-icon {
  background: rgba(200,20,74,0.18);
  color: #f4607e;
}
.df-card-dealer .df-list li svg { color: #f4607e; }
.df-card-dealer .df-list li { color: rgba(255,255,255,0.75); }
.df-card-dealer > p { color: rgba(255,255,255,0.65); }
.df-card .s-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--edge);
  margin-top: 8px;
  transition: gap 0.2s;
}
.df-card-dealer .s-link { color: #f4607e; }
.df-card .s-link:hover { gap: 10px; }
.df-card .s-link svg { width: 14px; height: 14px; }

@media (max-width: 900px) {
  .df-stats { grid-template-columns: repeat(2, 1fr); }
  .df-detail { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .df-stats { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .df-card { padding: 28px 24px; }
}

/* ══════════════════════════════════════════════
   PROJECTS — navy surface
══════════════════════════════════════════════ */
.projects-section { background: var(--navy-deep); }
.projects-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
  margin-top: 0;
  align-items: start;
}
.projects-col-scroll { display: flex; flex-direction: column; gap: 20px; }
.projects-col-sticky {
  position: sticky;
  top: 24px;
  height: fit-content;
}

.project-card {
  background: var(--navy-mid);
  border: 1px solid var(--border-dark);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: border-color .25s, box-shadow .25s, transform .25s;
  cursor: default;
}
.project-card:hover {
  border-color: var(--edge);
  box-shadow: 0 0 24px rgba(45,212,191,0.12);
  transform: translateY(-2px);
}
.project-card-body { padding: 28px 26px; }
.p-tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: var(--r-sm);
  background: rgba(45,212,191,0.10);
  border: 1px solid rgba(45,212,191,0.22);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  color: var(--edge);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.project-card h3 {
  font-family: var(--display);
  font-size: 17px;
  font-weight: 600;
  color: var(--white);
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}
.project-card p {
  font-size: 14px;
  color: var(--steel-tint);
  line-height: 1.6;
  margin-bottom: 14px;
}
.project-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.project-card ul li {
  font-size: 13px;
  color: rgba(244,241,234,0.65);
  padding-left: 14px;
  position: relative;
}
.project-card ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 8px;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--edge);
  opacity: 0.65;
}

/* Featured project card */
.project-card-featured {
  background: var(--navy-mid);
  border: 1px solid rgba(45,212,191,0.20);
  border-radius: var(--r-lg);
  overflow: hidden;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 0 48px rgba(45,212,191,0.08);
  position: relative;
}
.project-card-featured::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(500px 300px at 100% 100%, rgba(45,212,191,0.09), transparent 60%),
    radial-gradient(400px 300px at 0% 0%, rgba(44,74,122,0.22), transparent 60%);
  pointer-events: none;
}
.project-card-featured > * { position: relative; }
.feat-header {
  padding: 32px 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.feat-tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: var(--r-sm);
  background: var(--edge);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
  width: fit-content;
}
.feat-header h3 {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}
.feat-header p {
  font-size: 14px;
  color: var(--steel-tint);
  line-height: 1.65;
  flex: 1;
}
.feat-footer {
  padding: 18px 28px;
  border-top: 1px solid var(--border-dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.feat-url {
  font-family: var(--mono);
  font-size: 12px;
  color: rgba(45,212,191,0.55);
  letter-spacing: 0.04em;
}

/* Projects section headings (on dark) */
.projects-section .section-h2 { color: var(--white); }
.projects-section .section-h2 em { color: var(--edge); }
.projects-section .eyebrow { color: var(--edge); }
.projects-section .eyebrow .num { background: var(--edge); color: var(--navy); }
.projects-section .eyebrow .rule { background: rgba(45,212,191,0.20); }
.projects-section .section-lede { color: var(--steel-tint); }

/* ══════════════════════════════════════════════
   TEAM — bone surface
══════════════════════════════════════════════ */
.team-section { background: var(--bone); }
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.team-card {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--r-lg);
  padding: 32px 24px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  transition: border-color .25s, box-shadow .25s, transform .25s;
  cursor: default;
}
.team-card:hover {
  border-color: var(--steel);
  box-shadow: 0 8px 32px rgba(14,30,58,0.10);
  transform: translateY(-3px);
}
.team-avatar {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--steel));
  border: 2px solid var(--rule);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-size: 22px;
  font-weight: 700;
  color: var(--bone);
  letter-spacing: 0.02em;
}
.team-avatar-photo {
  background: none;
  overflow: hidden;
  padding: 0;
}
.team-avatar-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  border-radius: 50%;
}
.team-card .divider {
  width: 32px; height: 2px;
  background: var(--edge);
  opacity: 0.6;
  border-radius: 2px;
}
.team-card h3 {
  font-family: var(--display);
  font-size: 17px;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -0.01em;
}
.team-card .role {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.10em;
}
/* Team heading on bone */
.team-section .section-h2 { color: var(--navy); }
.team-section .section-h2 em { color: var(--steel); }
.team-section .eyebrow { color: var(--navy); }
.team-section .eyebrow .num { background: var(--navy); color: var(--bone); }
.team-section .eyebrow .rule { background: var(--rule); }
.team-section .section-lede { color: var(--ink-soft); }

/* ══════════════════════════════════════════════
   TESTIMONIALS — bone surface (light primary)
══════════════════════════════════════════════ */
.testimonials-section { background: var(--bone); overflow: hidden; }
.testimonials-section .eyebrow { color: var(--navy); }
.testimonials-section .eyebrow .num { background: var(--navy); color: var(--bone); }
.testimonials-section .eyebrow .rule { background: var(--rule); }
.testimonials-section .section-h2 { color: var(--navy); }
.testimonials-section .section-h2 em { color: var(--steel); }
.testimonials-section .section-lede { color: var(--ink-soft); }

.testimonials-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-height: 600px;
  overflow: hidden;
  mask-image: linear-gradient(to bottom, transparent 0%, black 10%, black 90%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 10%, black 90%, transparent 100%);
}
.testimonial-col { overflow: hidden; }
.testimonial-col-inner {
  display: flex;
  flex-direction: column;
  gap: 16px;
  animation: scrollUp 20s linear infinite;
}
.testimonial-col:nth-child(2) .testimonial-col-inner { animation-duration: 24s; animation-delay: -8s; }
.testimonial-col:nth-child(3) .testimonial-col-inner { animation-duration: 22s; animation-delay: -4s; }
@keyframes scrollUp {
  0%   { transform: translateY(0); }
  100% { transform: translateY(-50%); }
}
.testimonial-col-inner:hover { animation-play-state: paused; }

.testimonial-card {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--r-lg);
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-shrink: 0;
  transition: border-color .2s, box-shadow .2s;
  box-shadow: 0 2px 12px rgba(14,30,58,0.05);
}
.testimonial-card:hover {
  border-color: var(--steel);
  box-shadow: 0 6px 24px rgba(14,30,58,0.10);
}
.stars { display: flex; gap: 3px; }
.star { width: 13px; height: 13px; fill: var(--edge-shade); color: var(--edge-shade); }
.testimonial-card blockquote {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.65;
  font-style: normal;
}
.testimonial-card .author {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px solid var(--rule);
}
.t-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--steel));
  border: 1px solid var(--rule);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--display);
  font-size: 12px;
  font-weight: 700;
  color: var(--bone);
  flex-shrink: 0;
}
.t-name  { font-size: 13px; font-weight: 600; color: var(--navy); }
.t-role  { font-size: 11px; color: var(--ink-faint); margin-top: 1px; }

/* ══════════════════════════════════════════════
   CTA / CONTACT — navy surface
══════════════════════════════════════════════ */
.contact-section { background: var(--navy-deep); }
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--border-dark);
}
.contact-left {
  background: var(--navy-mid);
  padding: 56px 48px;
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  overflow: hidden;
}
.contact-left::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(500px 300px at 100% 100%, rgba(45,212,191,0.09), transparent 60%),
    radial-gradient(400px 300px at 0% 0%, rgba(44,74,122,0.22), transparent 60%);
  pointer-events: none;
}
.contact-left > * { position: relative; }
.contact-left h2 {
  font-family: var(--display);
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.contact-left h2 em { font-style: italic; color: var(--edge); }
.contact-left > p {
  font-size: 15px;
  color: rgba(244,241,234,0.70);
  line-height: 1.65;
  max-width: 42ch;
  margin-bottom: 32px;
}
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 0;
  border-top: 1px solid rgba(45,212,191,0.12);
}
.contact-detail svg { width: 18px; height: 18px; color: var(--edge); flex-shrink: 0; margin-top: 2px; }
.d-label {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--steel-tint);
  margin-bottom: 3px;
}
.d-value {
  font-size: 14px;
  color: var(--bone);
  line-height: 1.6;
}
.contact-right {
  background: var(--bone);
  padding: 56px 48px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contact-right h3 {
  font-family: var(--display);
  font-size: 24px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.01em;
  margin-bottom: -8px;
}
.contact-right .sub {
  font-size: 14px;
  color: var(--ink-soft);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full { grid-column: span 2; }
.form-group label {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-soft);
}
.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--sans);
  font-size: 14px;
  color: var(--ink);
  background: var(--paper);
  border: 1.5px solid var(--rule);
  border-radius: var(--r-md);
  padding: 11px 14px;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
  width: 100%;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--ink-faint); }
.form-group select option { background: var(--paper); color: var(--ink); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--edge);
  box-shadow: 0 0 0 3px rgba(45,212,191,0.12);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.btn-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--navy);
  color: var(--bone);
  border: none;
  border-radius: var(--r-md);
  padding: 14px 28px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s, transform .15s;
  width: 100%;
  margin-top: 4px;
}
.btn-submit:hover  { background: var(--edge); color: var(--navy); }
.btn-submit:active { transform: scale(0.99); }
.btn-submit svg { width: 16px; height: 16px; }

/* ══════════════════════════════════════════════
   FOOTER — navy deep
══════════════════════════════════════════════ */
footer {
  background: var(--navy-deep);
  padding: 72px 40px 32px;
  border-top: 1px solid var(--border-dark);
}
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border-dark);
  margin-bottom: 32px;
}
.footer-brand .logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  text-decoration: none;
}
.footer-brand .logo img { height: 32px; width: auto; }
.footer-brand .logo span {
  font-family: var(--display);
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
}
.footer-brand > p {
  font-size: 13px;
  color: rgba(244,241,234,0.50);
  line-height: 1.7;
  max-width: 34ch;
  margin-bottom: 20px;
}
.footer-certs { display: flex; flex-wrap: wrap; gap: 8px; }
.footer-col h4 {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(244,241,234,0.35);
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
  font-size: 14px;
  color: rgba(244,241,234,0.60);
  text-decoration: none;
  transition: color .2s;
}
.footer-col ul li a:hover { color: var(--edge); }
.footer-contact { display: flex; flex-direction: column; gap: 10px; }
.footer-contact a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(244,241,234,0.60);
  text-decoration: none;
  transition: color .2s;
}
.footer-contact a:hover { color: var(--edge); }
.footer-contact a svg { width: 13px; height: 13px; color: var(--edge); flex-shrink: 0; }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 12px;
  color: rgba(244,241,234,0.28);
  flex-wrap: wrap;
}
.footer-bottom a { color: rgba(244,241,234,0.28); text-decoration: none; }
.footer-bottom a:hover { color: rgba(244,241,234,0.65); }
.footer-bottom .links { display: flex; gap: 20px; flex-wrap: wrap; }

/* ══════════════════════════════════════════════
   CHATBOT WIDGET (hidden until built)
══════════════════════════════════════════════ */
.chat-widget {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}
.chat-bubble-btn {
  width: 58px; height: 58px;
  border-radius: 50%;
  background: var(--edge);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(45,212,191,0.35);
  transition: transform .2s, background .2s;
  position: relative;
}
.chat-bubble-btn:hover { transform: scale(1.08); background: #5BE7D4; }
.chat-bubble-btn svg { width: 24px; height: 24px; color: var(--navy); }
.chat-bubble-btn .badge {
  position: absolute;
  top: -2px; right: -2px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--ember);
  border: 2px solid var(--navy-deep);
  font-size: 9px;
  font-weight: 700;
  color: white;
  display: flex; align-items: center; justify-content: center;
}
.chat-panel {
  display: none;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--r-xl);
  width: 320px;
  box-shadow: 0 20px 60px rgba(10,23,48,0.18);
  overflow: hidden;
}
.chat-panel.open { display: flex; }
.chat-header {
  background: var(--navy);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--border-dark);
}
.chat-header .h-mark {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(45,212,191,0.18);
  border: 1px solid rgba(45,212,191,0.30);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.chat-header .h-mark svg { width: 16px; height: 16px; color: var(--edge); }
.chat-header .h-name {
  font-family: var(--display);
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
}
.chat-header .h-status {
  font-size: 11px;
  color: var(--edge);
  font-weight: 600;
  letter-spacing: 0.04em;
}
.chat-header .h-close {
  margin-left: auto;
  background: none;
  border: none;
  cursor: pointer;
  color: rgba(244,241,234,0.5);
  display: flex;
  transition: color .2s;
  padding: 4px;
}
.chat-header .h-close:hover { color: var(--bone); }
.chat-header .h-close svg { width: 16px; height: 16px; }
.chat-messages {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 180px;
  max-height: 280px;
  overflow-y: auto;
}
.chat-msg {
  background: var(--bone);
  border-radius: 12px 12px 12px 4px;
  padding: 10px 13px;
  font-size: 13px;
  color: var(--ink);
  line-height: 1.5;
  max-width: 90%;
  white-space: pre-line;
  animation: fadeIn .2s ease both;
}
.chat-msg-user {
  background: var(--navy);
  color: var(--bone);
  border-radius: 12px 12px 4px 12px;
  padding: 10px 13px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
  max-width: 90%;
  align-self: flex-end;
  animation: fadeIn .2s ease both;
}
.chat-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0 14px 12px;
}
.chat-quick button {
  background: var(--bone);
  border: 1px solid var(--rule);
  color: var(--ink-soft);
  padding: 5px 12px;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: background .2s, border-color .2s, color .2s;
}
.chat-quick button:hover { background: var(--navy); color: var(--bone); border-color: var(--navy); }
.chat-input-row {
  border-top: 1px solid var(--rule);
  padding: 10px 12px;
  display: flex;
  gap: 8px;
  align-items: center;
}
.chat-input-row input {
  flex: 1;
  font-family: var(--sans);
  font-size: 13px;
  background: var(--bone);
  border: 1.5px solid var(--rule);
  border-radius: var(--r-md);
  padding: 8px 12px;
  outline: none;
  color: var(--ink);
  transition: border-color .2s;
}
.chat-input-row input:focus { border-color: var(--edge); }
.chat-input-row input::placeholder { color: var(--ink-faint); }
.chat-input-row button {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--edge);
  border: none;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background .2s;
}
.chat-input-row button:hover { background: #5BE7D4; }
.chat-input-row button svg { width: 14px; height: 14px; color: var(--navy); }
.chat-typing {
  display: flex;
  align-items: center;
  gap: 4px;
  background: var(--bone);
  border-radius: 12px 12px 12px 4px;
  padding: 12px 16px;
  width: fit-content;
  animation: fadeIn .25s ease both;
}
.chat-typing span {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--ink-faint);
  animation: blink 1.2s infinite;
}
.chat-typing span:nth-child(2) { animation-delay: .2s; }
.chat-typing span:nth-child(3) { animation-delay: .4s; }

/* ══════════════════════════════════════════════
   INNER PAGE HERO BANNER
══════════════════════════════════════════════ */
.page-hero {
  padding: 160px 0 80px;
  background: linear-gradient(160deg, var(--navy-deep) 0%, var(--navy) 60%, var(--navy-mid) 100%);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 0%, rgba(45,212,191,0.07), transparent 70%);
  pointer-events: none;
}
.page-hero > * { position: relative; }
.page-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}
.page-hero h1 {
  font-family: var(--display);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
}
.page-hero h1 em { font-style: italic; color: var(--edge); }
.page-hero p {
  font-size: 18px;
  color: var(--steel-tint);
  max-width: 56ch;
  line-height: 1.65;
}

/* Inner page sticky nav */
.inner-navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(10,23,48,0.90);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-dark);
  transition: background .3s;
}
.inner-navbar.scrolled { background: rgba(10,23,48,0.98); }

/* ══════════════════════════════════════════════
   SOLUTIONS PAGE — bone surface
══════════════════════════════════════════════ */
.solutions-section { background: var(--bone); }
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 20px;
}
.solution-card {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--r-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  overflow: hidden;
  transition: border-color .25s, box-shadow .25s, transform .25s;
  cursor: default;
}
.solution-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  height: 3px; width: 0;
  background: var(--edge);
  transition: width .3s;
}
.solution-card:hover {
  border-color: var(--steel);
  box-shadow: 0 8px 32px rgba(14,30,58,0.10);
  transform: translateY(-3px);
}
.solution-card:hover::before { width: 100%; }
.solution-card .s-icon { background: rgba(14,30,58,0.07); }
.solution-card .s-icon svg { color: var(--navy); }
.solution-card h3 {
  font-family: var(--display);
  font-size: 20px;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -0.01em;
}
.solution-card > p {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.65;
}
.solution-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 1px solid var(--rule);
  padding-top: 14px;
  margin-top: 4px;
}
.solution-features li {
  font-size: 13px;
  color: var(--ink-soft);
  padding-left: 16px;
  position: relative;
  line-height: 1.4;
}
.solution-features li::before {
  content: '';
  position: absolute;
  left: 0; top: 7px;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--edge);
  opacity: 0.75;
}
/* Solutions page heading overrides */
.solutions-section .section-h2 { color: var(--navy); }
.solutions-section .section-h2 em { color: var(--steel); }
.solutions-section .eyebrow { color: var(--navy); }
.solutions-section .eyebrow .num { background: var(--navy); color: var(--bone); }
.solutions-section .eyebrow .rule { background: var(--rule); }
.solutions-section .section-lede { color: var(--ink-soft); }

/* ══════════════════════════════════════════════
   ABOUT PAGE
══════════════════════════════════════════════ */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}
.value-card {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--r-lg);
  padding: 28px 24px;
  transition: border-color .25s, box-shadow .25s, transform .25s;
}
.value-card:hover { border-color: var(--steel); box-shadow: 0 6px 24px rgba(14,30,58,0.08); transform: translateY(-2px); }
.value-card .v-icon {
  width: 40px; height: 40px;
  border-radius: var(--r-md);
  background: rgba(14,30,58,0.07);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.value-card .v-icon svg { width: 20px; height: 20px; color: var(--navy); }
.value-card h3 {
  font-family: var(--display);
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
}
.value-card p { font-size: 13px; color: var(--ink-soft); line-height: 1.65; }

.certs-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 32px;
}
.cert-card {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--r-lg);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
  min-width: 200px;
}
.cert-card .cert-icon {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(45,212,191,0.12);
  border: 1px solid rgba(45,212,191,0.25);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.cert-card .cert-icon svg { width: 18px; height: 18px; color: var(--edge-shade); }
.cert-card .cert-name { font-family: var(--display); font-size: 15px; font-weight: 700; color: var(--navy); }
.cert-card .cert-desc { font-size: 12px; color: var(--ink-soft); margin-top: 2px; }

/* ══════════════════════════════════════════════
   ANIMATIONS
══════════════════════════════════════════════ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeLeft {
  from { opacity: 0; transform: translateX(-18px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(5px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes blink {
  0%, 80%, 100% { opacity: 0.2; }
  40%           { opacity: 1; }
}

/* ── prefers-reduced-motion ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .testimonial-col-inner { animation: none; }
  .scroll-indicator { animation: none; }
}

/* ══════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .projects-grid { grid-template-columns: 1fr; }
  .projects-col-sticky { position: static; }
}

@media (max-width: 900px) {
  .hero-shell { padding: 8px; }
  .hero { height: calc(100svh - 16px); border-radius: 28px; }
  .navbar { padding: 12px; }
  .nav-links { display: none; }
  .hamburger { display: block; }
  .hero-text { padding: 16px 20px 0; margin-top: -20px; }
  .hero-card-left { bottom: 20px; left: 16px; padding: 16px 18px; min-width: 150px; }
  .hero-corner-right { bottom: 20px; right: 20px; padding: 16px 20px; gap: 12px; }
  .corner-icon { width: 42px; height: 42px; }
  .about-inner { grid-template-columns: 1fr; }
  .about-images { height: 320px; }
  .why-inner { grid-template-columns: 1fr; gap: 40px; }
  .contact-inner { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .stats-strip .container { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .testimonials-columns { grid-template-columns: 1fr; max-height: 500px; }
  .testimonial-col:nth-child(2),
  .testimonial-col:nth-child(3) { display: none; }
}

@media (max-width: 600px) {
  .section { padding: 64px 0; }
  .section-inner { padding: 0 20px; }
  .container { padding: 0 20px; }
  .hero-card-left { display: none; }
  .hero-corner-right { bottom: 16px; right: 16px; padding: 12px 16px; }
  .form-row { grid-template-columns: 1fr; }
  .form-group.full { grid-column: span 1; }
  .footer-top { grid-template-columns: 1fr; }
  .why-strip { padding: 56px 20px; }
  .contact-left, .contact-right { padding: 36px 24px; }
  .page-hero { padding: 130px 0 60px; }
  .stats-strip .container { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: 1fr 1fr; }
}
