/* ============================================================
   COVENANT BASTION CYBERSECURITY
   Main Stylesheet
   ============================================================ */


/* ============================================================
   1. DESIGN TOKENS
   ============================================================ */

:root {
  /* Brand */
  --color-bg: #06100e;
  --color-bg-secondary: #091713;
  --color-bg-tertiary: #0d1d19;

  --color-surface: rgba(14, 31, 27, 0.72);
  --color-surface-strong: #0d1c18;
  --color-surface-hover: rgba(19, 43, 36, 0.82);

  --color-primary: #72f2bd;
  --color-primary-dark: #35c98e;
  --color-accent: #b7ff6a;

  --color-text: #f4f7f5;
  --color-text-secondary: #b5c4be;
  --color-text-muted: #82968e;
  --color-text-dark: #06100e;

  --color-border: rgba(165, 214, 195, 0.14);
  --color-border-strong: rgba(114, 242, 189, 0.35);

  /* Typography */
  --font-body:
    "Inter",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;

  --font-display:
    "Space Grotesk",
    "Inter",
    system-ui,
    sans-serif;

  /* Layout */
  --container-width: 1180px;
  --header-height: 84px;

  /* Radius */
  --radius-xs: 8px;
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-round: 999px;

  /* Shadows */
  --shadow-sm:
    0 10px 30px rgba(0, 0, 0, 0.18);

  --shadow-md:
    0 24px 70px rgba(0, 0, 0, 0.28);

  --shadow-lg:
    0 40px 100px rgba(0, 0, 0, 0.38);

  --shadow-green:
    0 16px 44px rgba(78, 223, 162, 0.22);

  /* Motion */
  --transition-fast: 160ms ease;
  --transition-standard: 260ms ease;

  --transition-smooth:
    650ms cubic-bezier(0.2, 0.8, 0.2, 1);
}


/* ============================================================
   2. RESET / BASE
   ============================================================ */

*,
*::before,
*::after {
  box-sizing: border-box;
}


html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 20px);
}


body {
  margin: 0;

  min-width: 320px;

  color: var(--color-text);

  background:
    radial-gradient(
      circle at 15% 15%,
      rgba(70, 223, 158, 0.07),
      transparent 28%
    ),
    radial-gradient(
      circle at 85% 10%,
      rgba(183, 255, 106, 0.04),
      transparent 20%
    ),
    var(--color-bg);

  font-family: var(--font-body);
  line-height: 1.6;

  overflow-x: hidden;

  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}


body.nav-open {
  overflow: hidden;
}


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


button,
input,
textarea,
select {
  font: inherit;
}


button {
  cursor: pointer;
}


a {
  color: inherit;
  text-decoration: none;
}


p {
  margin-top: 0;
}


h1,
h2,
h3,
h4 {
  text-wrap: balance;
}


::selection {
  color: var(--color-text-dark);
  background: var(--color-primary);
}


/* ============================================================
   3. ACCESSIBILITY
   ============================================================ */

:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 4px;
}


.skip-link {
  position: fixed;

  top: 12px;
  left: 12px;

  z-index: 10000;

  padding: 10px 16px;

  color: var(--color-text-dark);
  background: var(--color-primary);

  border-radius: var(--radius-sm);

  font-weight: 700;

  transform: translateY(-200%);
}


.skip-link:focus {
  transform: translateY(0);
}


/* ============================================================
   4. GLOBAL LAYOUT
   ============================================================ */

.container {
  width:
    min(
      calc(100% - 40px),
      var(--container-width)
    );

  margin-inline: auto;
}


.section {
  padding-block: 120px;
}


.section-shell {
  position: relative;
  overflow: hidden;
}


/* ============================================================
   5. GLOBAL DECORATIVE EFFECTS
   ============================================================ */

.site-noise {
  position: fixed;
  inset: 0;

  z-index: 1000;

  pointer-events: none;

  opacity: 0.025;

  background-image:
    repeating-radial-gradient(
      circle at 0 0,
      transparent 0,
      rgba(255, 255, 255, 0.35) 1px,
      transparent 2px
    );

  background-size: 5px 5px;
}


.cursor-glow {
  position: fixed;

  width: 420px;
  height: 420px;

  z-index: -1;

  pointer-events: none;

  border-radius: 50%;

  background:
    radial-gradient(
      circle,
      rgba(114, 242, 189, 0.45),
      transparent 68%
    );

  opacity: 0.12;

  transform: translate(-50%, -50%);
}


/* ============================================================
   6. HEADER / NAVIGATION
   ============================================================ */

.brand-logo {
  display: block;
  width: 230px;
  height: auto;
}

.site-header {
  position: fixed;

  top: 0;
  right: 0;
  left: 0;

  z-index: 100;

  border-bottom: 1px solid transparent;

  transition:
    background var(--transition-standard),
    border-color var(--transition-standard);
}


.site-header.scrolled {
  background: rgba(6, 16, 14, 0.84);

  border-bottom-color: var(--color-border);

  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}


.nav-wrap {
  min-height: var(--header-height);

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 32px;
}


/* ============================================================
   7. BRAND
   ============================================================ */

.brand {
  position: relative;
  z-index: 102;

  display: inline-flex;
  align-items: center;

  gap: 12px;
}


.brand-mark {
  width: 42px;
  height: 48px;

  display: grid;
  place-items: center;

  padding: 1px;

  background:
    linear-gradient(
      145deg,
      var(--color-primary),
      #2f8f69
    );

  clip-path:
    polygon(
      50% 0,
      95% 16%,
      95% 55%,
      80% 78%,
      50% 100%,
      20% 78%,
      5% 55%,
      5% 16%
    );
}


.brand-mark__inner {
  width: 100%;
  height: 100%;

  display: grid;
  place-items: center;

  background: #0b1815;

  clip-path: inherit;

  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;

  letter-spacing: 0.08em;
}


.brand-copy {
  display: grid;

  line-height: 1.05;
}


.brand-copy strong {
  font-family: var(--font-display);

  font-size: 13px;
  font-weight: 700;

  letter-spacing: 0.08em;
}


.brand-copy small {
  margin-top: 5px;

  color: var(--color-primary);

  font-size: 8px;
  font-weight: 700;

  letter-spacing: 0.28em;
}


/* ============================================================
   8. DESKTOP NAVIGATION
   ============================================================ */

.main-nav {
  display: flex;
  align-items: center;

  gap: 28px;
}


.main-nav > a:not(.btn) {
  position: relative;

  color: #c4d2cc;

  font-size: 14px;
  font-weight: 600;

  transition: color var(--transition-fast);
}


.main-nav > a:not(.btn)::after {
  content: "";

  position: absolute;

  right: 0;
  bottom: -8px;
  left: 0;

  height: 1px;

  background: var(--color-primary);

  transform: scaleX(0);
  transform-origin: right;

  transition:
    transform var(--transition-standard);
}


.main-nav > a:not(.btn):hover {
  color: var(--color-primary);
}


.main-nav > a:not(.btn):hover::after {
  transform: scaleX(1);
  transform-origin: left;
}


/* ============================================================
   9. MOBILE NAV BUTTON
   ============================================================ */

.nav-toggle {
  display: none;

  width: 44px;
  height: 44px;

  z-index: 102;

  border: 1px solid var(--color-border);

  border-radius: var(--radius-sm);

  color: white;

  background: rgba(255, 255, 255, 0.03);
}


.nav-toggle span {
  display: block;

  width: 18px;
  height: 1px;

  margin: 5px auto;

  background: white;

  transition:
    transform var(--transition-standard);
}


/* ============================================================
   10. BUTTONS
   ============================================================ */

.btn {
  position: relative;

  min-height: 54px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  gap: 12px;

  padding-inline: 22px;

  overflow: hidden;

  border: 1px solid transparent;

  border-radius: var(--radius-sm);

  font-size: 17px;
  font-weight: 700;

  isolation: isolate;

  transition:
    transform var(--transition-fast),
    box-shadow var(--transition-standard),
    background var(--transition-standard),
    border-color var(--transition-standard);
}


.btn::before {
  content: "";

  position: absolute;
  inset: 0;

  z-index: -1;

  background:
    linear-gradient(
      105deg,
      transparent 30%,
      rgba(255, 255, 255, 0.18),
      transparent 70%
    );

  transform: translateX(-120%);

  transition:
    transform 550ms ease;
}


.btn:hover::before {
  transform: translateX(120%);
}


.btn:hover {
  transform: translateY(-2px);
}


.btn--primary {
  color: #05110d;

  background:
    linear-gradient(
      135deg,
      var(--color-primary),
      var(--color-accent)
    );

  box-shadow:
    0 12px 34px
    rgba(78, 223, 162, 0.18);
}


.btn--primary:hover {
  box-shadow: var(--shadow-green);
}


.btn--outline {
  color: var(--color-text);

  border-color:
    var(--color-border-strong);

  background:
    rgba(255, 255, 255, 0.025);
}


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

  background:
    rgba(114, 242, 189, 0.07);
}


.btn--light {
  color: var(--color-text-dark);

  background: #eef4ea;
}


.btn--sm {
  min-height: 44px;

  padding-inline: 17px;
}


.btn--full {
  width: 100%;
}
.main-nav .btn--outline {
 color: #b7ff6a
}


/* ============================================================
   11. EYEBROWS / KICKERS
   ============================================================ */

.eyebrow,
.kicker {
  color: var(--color-primary);

  font-size: 17px;
  font-weight: 800;

  letter-spacing: 0.2em;

  text-transform: uppercase;
}


.eyebrow {
  display: inline-flex;
  align-items: center;

  gap: 10px;

  padding: 9px 13px;

  border: 1px solid var(--color-border);

  border-radius: var(--radius-round);

  background:
    rgba(255, 255, 255, 0.025);
}


.eyebrow-dot {
  width: 7px;
  height: 7px;

  border-radius: 50%;

  background: var(--color-primary);

  box-shadow:
    0 0 0 6px
    rgba(114, 242, 189, 0.08);
}


/* ============================================================
   12. HERO
   ============================================================ */

.hero {
  position: relative;

  min-height: 920px;

  display: flex;
  align-items: center;

  padding-top: 160px;
  padding-bottom: 100px;

  background:
    linear-gradient(
      180deg,
      rgba(5, 12, 11, 0.2),
      rgba(5, 12, 11, 0.72)
    ),
    radial-gradient(
      circle at 75% 38%,
      rgba(75, 239, 167, 0.11),
      transparent 28%
    );
}

/* ============================================================
   HERO CURSOR GRID EFFECT
   ============================================================ */

.cursor-grid-effect {
  position: absolute;
  inset: 0;

  z-index: 1;

  width: 100%;
  height: 100%;

  pointer-events: none;

  opacity: 1;
}


/* Keep hero content above both canvases */

.hero-grid {
  position: relative;
  z-index: 3;
}


/* Network background stays behind cursor squares */

#network-canvas {
  z-index: 0;
}


@media (hover: none),
       (pointer: coarse) {

  .cursor-grid-effect {
    display: none;
  }

}


@media (prefers-reduced-motion: reduce) {

  .cursor-grid-effect {
    display: none;
  }
  .mobile-scroll-effect {
  display: none;
}
}

#network-canvas {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;

  pointer-events: none;

  opacity: 0.32;
}


.hero-orb {
  position: absolute;

  pointer-events: none;

  border-radius: 50%;

  filter: blur(20px);
}


.hero-orb--one {
  top: 160px;
  right: -120px;

  width: 340px;
  height: 340px;

  background:
    rgba(114, 242, 189, 0.05);
}


.hero-orb--two {
  bottom: 100px;
  left: -100px;

  width: 280px;
  height: 280px;

  background:
    rgba(183, 255, 106, 0.035);
}


.hero-grid {
  position: relative;

  z-index: 2;

  display: grid;

  grid-template-columns:
    minmax(0, 0.96fr)
    minmax(0, 1.04fr);

  align-items: center;

  gap: 70px;
}


.hero-copy {
  min-width: 0;
}


.hero h1 {
  max-width: 800px;

  margin:
    26px 0
    28px;

  font-family: var(--font-display);

  font-size:
    clamp(
      3.6rem,
      6.6vw,
      6rem
    );

  line-height: 0.98;

  letter-spacing: -0.045em;
}


.text-gradient {
  display: block;

  color: transparent;

  background:
    linear-gradient(
      120deg,
      #ffffff 10%,
      var(--color-primary) 55%,
      var(--color-accent)
    );

  background-clip: text;
  -webkit-background-clip: text;
}


.hero-lead {
  max-width: 650px;

  margin-bottom: 0;

  color: var(--color-text-secondary);

  font-size: 18px;
}


.hero-actions {
  display: flex;
  align-items: center;

  gap: 26px;

  margin:
    38px 0
    48px;
}


.text-link {
  color: #dce6e2;

  font-size: 14px;
  font-weight: 700;
}


.text-link span {
  display: inline-block;

  margin-left: 6px;

  transition:
    transform var(--transition-fast);
}


.text-link:hover span {
  transform: translateX(5px);
}


/* ============================================================
   13. HERO TRUST ITEMS
   ============================================================ */

.hero-trust {
  display: grid;

  grid-template-columns:
    repeat(3, minmax(0, 1fr));

  gap: 16px;

  padding-top: 24px;

  border-top:
    1px solid
    var(--color-border);
}


.trust-item {
  display: flex;

  gap: 11px;
}


.trust-icon {
  padding-top: 5px;

  color: var(--color-primary);

  font-size: 15px;
  font-weight: 800;
}


.trust-item p {
  margin: 0;

  color: var(--color-text-muted);

  font-size: 17px;

  line-height: 1.5;
}


.trust-item strong {
  color: #e7eeeb;

   font-size: 14px;
  font-weight: 700;
}


/* ============================================================
   14. HERO SECURITY PANEL
   ============================================================ */

.hero-security-panel {
  position: relative;

  min-height: 650px;

  padding: 18px;

  overflow: hidden;

  border:
    1px solid
    var(--color-border-strong);

  border-radius: 28px;

  background:
    linear-gradient(
      145deg,
      rgba(18, 36, 32, 0.88),
      rgba(6, 16, 14, 0.82)
    );

  box-shadow:
    var(--shadow-lg),
    inset 0 1px 0
    rgba(255, 255, 255, 0.06);

  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);

  transform-style: preserve-3d;

  will-change: transform;

  transition:
    transform 180ms ease-out;
}


.hero-security-panel::before {
  content: "";

  position: absolute;
  inset: 0;

  pointer-events: none;

  background:
    linear-gradient(
      rgba(114, 242, 189, 0.05) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(114, 242, 189, 0.05) 1px,
      transparent 1px
    );

  background-size:
    34px 34px;

  opacity: 0.45;

  mask-image:
    linear-gradient(
      to bottom,
      black,
      transparent 65%
    );

  -webkit-mask-image:
    linear-gradient(
      to bottom,
      black,
      transparent 65%
    );
}


.panel-topline,
.panel-footer {
  position: relative;

  z-index: 4;

  display: flex;
  align-items: center;
  justify-content: space-between;

  color: #829890;

  font-family: var(--font-display);

  font-size: 13px;

  letter-spacing: 0.17em;
}


.live-chip {
  display: inline-flex;
  align-items: center;

  gap: 7px;

  color: #a7b9b2;
}


.live-chip i {
  width: 6px;
  height: 6px;

  border-radius: 50%;

  background:
    var(--color-primary);

  box-shadow:
    0 0 12px
    var(--color-primary);

  animation:
    status-pulse
    2s infinite;
}


/* ============================================================
   15. BASTION / SHIELD VISUAL
   ============================================================ */

.bastion-visual {
  position: relative;

  height: 315px;

  display: grid;
  place-items: center;
}


.shield-rings {
  position: relative;

  width: 260px;
  height: 260px;

  display: grid;
  place-items: center;
}


.ring {
  position: absolute;

  border:
    1px solid
    rgba(114, 242, 189, 0.18);

  border-radius: 50%;
}


.ring-1 {
  inset: 5px;

  border-style: dashed;

  animation:
    ring-rotate
    16s linear infinite;
}


.ring-2 {
  inset: 35px;

  animation:
    ring-rotate-reverse
    11s linear infinite;
}


.ring-3 {
  inset: 64px;

  box-shadow:
    inset 0 0 35px
    rgba(114, 242, 189, 0.04);
}


.core {
  position: relative;

  z-index: 2;

  width: 105px;

  filter:
    drop-shadow(
      0 0 28px
      rgba(114, 242, 189, 0.15)
    );

  transition:
    transform 350ms ease,
    filter 350ms ease;
}


.hero-security-panel:hover .core {
  transform:
    translateZ(30px)
    scale(1.05);

  filter:
    drop-shadow(
      0 0 38px
      rgba(114, 242, 189, 0.28)
    );
}


.core svg path:first-child {
  fill:
    rgba(114, 242, 189, 0.06);

  stroke:
    var(--color-primary);

  stroke-width: 2;
}


.shield-line {
  fill:
    rgba(114, 242, 189, 0.05);

  stroke:
    rgba(183, 255, 106, 0.42);

  stroke-width: 1.5;
}


.shield-check {
  fill: none;

  stroke:
    var(--color-accent);

  stroke-width: 5;

  stroke-linecap: round;
  stroke-linejoin: round;
}


.orbit-dot {
  position: absolute;

  width: 8px;
  height: 8px;

  border-radius: 50%;

  background:
    var(--color-primary);

  box-shadow:
    0 0 18px
    var(--color-primary);
}


.orbit-dot--1 {
  top: 36px;
  right: 50px;
}


.orbit-dot--2 {
  bottom: 54px;
  left: 35px;
}


.orbit-dot--3 {
  top: 112px;
  left: 0;
}


/* ============================================================
   16. HERO HOVER SECURITY CARDS
   ============================================================ */

.security-hover-grid {
  position: relative;

  z-index: 5;

  display: grid;

  grid-template-columns:
    repeat(3, minmax(0, 1fr));

  gap: 9px;
}


.security-tile {
  position: relative;

  min-height: 190px;

  padding: 20px;

  overflow: hidden;

  border:
    1px solid
    var(--color-border);

  border-radius: 16px;

  background:
    rgba(5, 14, 12, 0.56);

  transition:
    transform 280ms
      cubic-bezier(0.2, 0.8, 0.2, 1),
    background 280ms ease,
    border-color 280ms ease,
    box-shadow 280ms ease;
}


.security-tile::before {
  content: "";

  position: absolute;

  top: -70px;
  right: -70px;

  width: 120px;
  height: 120px;

  border-radius: 50%;

  background:
    var(--color-primary);

  filter: blur(34px);

  opacity: 0;

  transition:
    opacity 250ms ease;
}


.security-tile:hover {
  transform:
    translateY(-12px)
    scale(1.025);

  border-color:
    rgba(114, 242, 189, 0.48);

  background:
    rgba(22, 51, 43, 0.8);

  box-shadow:
    0 22px 50px
    rgba(0, 0, 0, 0.22);
}


.security-tile:hover::before {
  opacity: 0.16;
}


.tile-index {
  color: var(--color-primary);

 font-size: 11px;
  font-weight: 800;

  letter-spacing: 0.08em;
}


.security-tile h3 {
  margin:
    30px 0
    10px;

  font-family:
    var(--font-display);

  font-size: 22px;
  font-weight: 600;

  line-height: 1.2;
}


.security-tile p {
  margin: 0;

  color: #9bafa7;

  font-size: 15px;

  line-height: 1.6;
}


.tile-arrow {
  position: absolute;

  right: 16px;
  bottom: 14px;

  color:
    var(--color-primary);

  font-size: 14px;

  opacity: 0;

  transform:
    translate(-6px, 6px);

  transition:
    opacity var(--transition-standard),
    transform var(--transition-standard);
}


.security-tile:hover .tile-arrow {
  opacity: 1;

  transform: translate(0);
}


.panel-footer {
  margin-top: 14px;

  padding-inline: 5px;
}


#panel-focus {
  color:
    var(--color-primary);
}


.hero-bottom-fade {
  position: absolute;

  right: 0;
  bottom: 0;
  left: 0;

  height: 180px;

  pointer-events: none;

  background:
    linear-gradient(
      transparent,
      var(--color-bg)
    );
}


/* ============================================================
   17. TRUST BAR
   ============================================================ */

.trust-bar {
  border-block:
    1px solid
    var(--color-border);

  background:
    rgba(255, 255, 255, 0.018);
}


.trust-bar__grid {
  min-height: 120px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 30px;
}


.trust-bar p {
  margin: 0;

  color: #94a79f;

  font-size: 14px;
}


.trust-bar strong {
  color: white;
}


.trust-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;

  gap: 8px;
}


.trust-pills span {
  padding: 8px 11px;

  color: white;
  font-weight: 700;

  border:
    1px solid
    var(--color-border);

  border-radius:
    var(--radius-round);

  font-size: 10px;

  letter-spacing: 0.1em;

  text-transform: uppercase;
}


/* ============================================================
   18. SECTION HEADINGS
   ============================================================ */

.section-heading {
  display: grid;

  grid-template-columns:
    minmax(0, 1fr)
    minmax(280px, 0.62fr);

  align-items: end;

  gap: 70px;

  margin-bottom: 56px;
}


.section-heading h2,
.approach-copy h2,
.healthcare-copy h2,
.contact-copy h2 {
  margin:
    12px 0
    0;

  font-family:
    var(--font-display);

  font-size:
    clamp(
      2.65rem,
      5vw,
      4.375rem
    );

  line-height: 0.98;

  letter-spacing: -0.045em;
}


.section-heading p,
.approach-copy > p,
.healthcare-copy > p,
.contact-copy > p {
  margin: 0;

  color:
    var(--color-text-muted);
}
.contact-copy > p {
  font-size: 18px;
  line-height: 1.7;
}

/* ============================================================
   19. SERVICES
   ============================================================ */

.services-grid {
  display: grid;

  grid-template-columns:
    repeat(3, minmax(0, 1fr));

  gap: 14px;
}


.service-card {
  position: relative;

  min-height: 370px;

  padding: 30px;

  overflow: hidden;

  border:
    1px solid
    var(--color-border);

  border-radius:
    20px;

  background:
    linear-gradient(
      160deg,
      rgba(255, 255, 255, 0.03),
      rgba(255, 255, 255, 0.012)
    );

  transition:
    transform 300ms
      cubic-bezier(0.2, 0.8, 0.2, 1),
    border-color 300ms ease,
    background 300ms ease;
}


.service-card::after {
  content: "";

  position: absolute;

  top: -120px;
  right: -100px;

  width: 180px;
  height: 180px;

  border-radius: 50%;

  background:
    var(--color-primary);

  filter: blur(55px);

  opacity: 0;

  transition:
    opacity 300ms ease;
}


.service-card:hover {
  transform:
    translateY(-9px);

  border-color:
    rgba(114, 242, 189, 0.34);

  background:
    rgba(15, 32, 28, 0.72);
}


.service-card:hover::after {
  opacity: 0.08;
}


.service-icon {
  width: 46px;
  height: 46px;

  display: grid;
  place-items: center;

  color:
    var(--color-primary);

  border:
    1px solid
    var(--color-border-strong);

  border-radius:
    var(--radius-sm);

  font-size: 20px;
}


.service-number {
  position: absolute;

  top: 30px;
  right: 30px;

  color: #526861;

  font-size: 10px;

  letter-spacing: 0.1em;
}


.service-card h3 {
  margin:
    72px 0
    14px;

  font-family:
    var(--font-display);

  font-size: 24px;

  line-height: 1.2;
}


.service-card p {
  color: #8da097;

  font-size: 13px;
}


.service-card a {
  position: absolute;

  bottom: 28px;
  left: 30px;

  z-index: 2;

  color: #d8e6df;

  font-size: 12px;
  font-weight: 700;
}


.service-card a span {
  margin-left: 5px;

  color:
    var(--color-primary);
}


.coming-chip {
  position: absolute;

  top: 74px;
  right: 24px;

  padding: 5px 8px;

  color:
    var(--color-primary);

  border:
    1px solid
    var(--color-border);

  border-radius:
    var(--radius-round);

  font-size: 13px;

  letter-spacing: 0.14em;
}


/* ============================================================
   20. APPROACH / BASTION METHOD
   ============================================================ */

.section--dark {
  position: relative;

  border-block:
    1px solid
    var(--color-border);

  background:
    linear-gradient(
      rgba(114, 242, 189, 0.035) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(114, 242, 189, 0.035) 1px,
      transparent 1px
    ),
    #081310;

  background-size:
    48px 48px;
}


.approach-grid {
  display: grid;

  grid-template-columns:
    minmax(0, 0.75fr)
    minmax(0, 1.25fr);

  gap: 80px;
}


.approach-copy {
  position: sticky;

  top: 140px;

  align-self: start;
}


.approach-copy .btn {
  margin-top: 30px;
}


.process-stack {
  display: grid;

  gap: 10px;
}


.process-row {
  min-height: 138px;

  display: grid;

  grid-template-columns:
    50px
    minmax(0, 1fr)
    auto;

  align-items: center;

  gap: 24px;

  padding: 26px;

  border:
    1px solid
    var(--color-border);

  border-radius:
    var(--radius-md);

  background:
    rgba(7, 16, 15, 0.72);

  transition:
    transform var(--transition-standard),
    border-color var(--transition-standard);
}


.process-row:hover {
  transform:
    translateX(8px);

  border-color:
    var(--color-border-strong);
}


.process-num {
  color:
    var(--color-primary);

  font-family:
    var(--font-display);

  font-size: 17px;
}


.process-row h3 {
  margin:
    0 0
    5px;

  font-family:
    var(--font-display);

  font-size: 25px;
}


.process-row p {
  margin: 0;

  color:
    var(--color-text-muted);

  font-size: 17px;
}


.process-status {
  color: #b7ff6a;

  font-size: 12px;

  letter-spacing: 0.15em;
}


/* ============================================================
   21. HEALTHCARE
   ============================================================ */

.healthcare {
  background:
    radial-gradient(
      circle at 20% 50%,
      rgba(114, 242, 189, 0.06),
      transparent 27%
    );
}


.healthcare-grid {
  display: grid;

  grid-template-columns:
    repeat(2, minmax(0, 1fr));

  align-items: center;

  gap: 80px;
}


.healthcare-panel {
  position: relative;

  min-height: 520px;

  padding: 32px;

  overflow: hidden;

  border:
    1px solid
    var(--color-border-strong);

  border-radius:
    28px;

  background:
    linear-gradient(
      rgba(114, 242, 189, 0.045) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(114, 242, 189, 0.045) 1px,
      transparent 1px
    ),
    rgba(12, 26, 22, 0.74);

  background-size:
    30px 30px;

  box-shadow:
    var(--shadow-md);
}


.healthcare-panel::after {
  content: "CARE";

  position: absolute;

  right: -4px;
  bottom: -45px;

  color:
    rgba(114, 242, 189, 0.035);

  font-family:
    var(--font-display);

  font-size: 180px;
  font-weight: 800;

  line-height: 1;
}


.scan-line {
  position: absolute;

  right: 0;
  left: 0;

  top: 10%;

  height: 1px;

  background:
    linear-gradient(
      90deg,
      transparent,
      var(--color-primary),
      transparent
    );

  box-shadow:
    0 0 20px
    rgba(114, 242, 189, 0.4);

  animation:
    scan-line
    6s linear infinite;
}


.healthcare-panel__top {
  position: relative;

  z-index: 2;

  display: flex;
  justify-content: space-between;

  gap: 20px;
}


.status-chip {
  padding: 6px 9px;

  color:
    var(--color-primary);

  border:
    1px solid
    var(--color-border-strong);

  border-radius:
    var(--radius-round);

  font-size: 12px;

  letter-spacing: 0.14em;
}


.healthcare-data {
  position: relative;

  z-index: 2;

  display: grid;

  gap: 28px;

  margin-top: 100px;
}


.healthcare-data div {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;

  gap: 20px;

  padding-bottom: 14px;

  border-bottom:
    1px solid
    var(--color-border);
}


.healthcare-data small {
  color: #b7ff6a;

  font-size: 12px;

  letter-spacing: 0.16em;
}


.healthcare-data strong {
  font-family:
    var(--font-display);

  font-size: 19px;
}


.healthcare-lines {
  position: relative;

  z-index: 2;

  display: grid;

  gap: 8px;

  margin-top: 48px;
}


.healthcare-lines span {
  width: var(--w);

  height: 3px;

  border-radius:
    var(--radius-round);

  background:
    linear-gradient(
      90deg,
      var(--color-primary),
      rgba(114, 242, 189, 0.08)
    );
}


.check-list {
  list-style: none;

  display: grid;

  grid-template-columns:
    repeat(2, minmax(0, 1fr));

  gap:
    12px 20px;

  margin:
    32px 0;

  padding: 0;
}


.check-list li {
  position: relative;

  padding-left: 24px;

  color: #c7d4cf;

  font-size: 13px;
}


.check-list li::before {
  content: "✓";

  position: absolute;

  left: 0;

  color:
    var(--color-primary);

  font-weight: 800;
}


.fine-print {
  margin-bottom:
    28px !important;

  padding: 16px;

  color:
    var(--color-text-muted);

  border-left:
    2px solid
    var(--color-primary);

  background:
    rgba(255, 255, 255, 0.025);

  font-size:
    15px !important;
}


/* ============================================================
   22. VALUES / WHY COVENANT BASTION
   ============================================================ */

.why-section {
  padding-top: 110px;
}


.values-grid {
  display: grid;

  grid-template-columns:
    repeat(4, minmax(0, 1fr));

  gap: 12px;
}


.value-card {
  min-height: 245px;

  padding: 26px;

  border-top:
    1px solid
    var(--color-border-strong);

  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.025),
      transparent
    );

  transition:
    transform var(--transition-standard),
    background var(--transition-standard);
}


.value-card:hover {
  transform:
    translateY(-5px);

  background:
    linear-gradient(
      180deg,
      rgba(114, 242, 189, 0.05),
      transparent
    );
}


.value-card > span {
  color:
    var(--color-primary);

  font-size: 13px;
}


.value-card h3 {
  margin:
    70px 0
    10px;

  font-family:
    var(--font-display);

  font-size: 21px;
}


.value-card p {
  color:
    var(--color-text-muted);

  font-size: 17px;
}


/* ============================================================
   23. LARGE CTA
   ============================================================ */

.cta-section {
  padding:
    20px 0
    100px;
}


.cta-card {
  position: relative;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 40px;

  padding: 60px;

  overflow: hidden;

  color:
    var(--color-text-dark);

  border-radius:
    28px;

  background:
    linear-gradient(
      120deg,
      #7af2bd,
      #b8ff7d
    );
}


.cta-card h2 {
  position: relative;

  z-index: 2;

  max-width: 800px;

  margin:
    12px 0
    0;

  font-family:
    var(--font-display);

  font-size:
    clamp(
      2.25rem,
      4vw,
      3.625rem
    );

  line-height: 1;

  letter-spacing: -0.045em;
}


.cta-card .kicker {
  position: relative;

  z-index: 2;

  color: #184632;
}


.cta-card .btn {
  position: relative;

  z-index: 2;

  flex-shrink: 0;
}


.cta-grid-lines {
  position: absolute;
  inset: 0;

  opacity: 0.13;

  background:
    linear-gradient(
      #07100f 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      #07100f 1px,
      transparent 1px
    );

  background-size:
    36px 36px;
}


/* ============================================================
   24. CONTACT
   ============================================================ */

.contact-section {
  border-top:
    1px solid
    var(--color-border);

  background:
    #081310;
}


.contact-grid {
  display: grid;

  grid-template-columns:
    minmax(0, 0.8fr)
    minmax(0, 1.2fr);

  gap: 80px;
}


.contact-notes {
  display: grid;

  gap: 12px;

  margin-top: 34px;

  color: #afbeb8;

  font-size: 17px;
}


.contact-notes span {
  margin-right: 8px;

  color:
    #b7ff6a;
}


/* ============================================================
   25. CONTACT FORM
   ============================================================ */

.contact-form {
  padding: 28px;

  border:
    1px solid
    var(--color-border);

  border-radius:
    22px;

  background:
    rgba(255, 255, 255, 0.025);
}


.form-row {
  display: grid;

  grid-template-columns:
    repeat(2, minmax(0, 1fr));

  gap: 12px;
}


.contact-form label {
  display: grid;

  gap: 8px;

  margin-bottom: 14px;

  color: #c9d5d0;

  font-size: 17px;
  font-weight: 700;
}


.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;

  padding: 14px 15px;

  color: white;

  border:
    1px solid
    var(--color-border);

  border-radius:
    11px;

  outline: none;

  background:
    #0b1815;

  transition:
    border-color var(--transition-fast),
    box-shadow var(--transition-fast);
}


.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #62766e;
}


.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  border-color:
    var(--color-primary);

  box-shadow:
    0 0 0 3px
    rgba(114, 242, 189, 0.07);
}


.contact-form textarea {
  min-height: 130px;

  resize: vertical;
}


.form-note,
.form-status {
  font-size: 10px;
}


.form-note {
  margin-bottom: 0;

  color: #6f847c;
}


.form-status {
  min-height: 1.6em;

  margin-top: 12px;
  margin-bottom: 4px;

  color:
    var(--color-primary);
}


/* ============================================================
   26. FOOTER
   ============================================================ */

.site-footer {
  padding:
    70px 0
    28px;

  border-top:
    1px solid
    var(--color-border);

  background:
    #050c0a;
}


.footer-grid {
  display: grid;

  grid-template-columns:
    1.8fr
    repeat(3, 1fr);

  gap: 50px;
}


.brand--footer {
  margin-bottom: 18px;
  .footer-logo {
  display: block;
  width: 250px;
  height: auto;
}

}
.brand--footer .brand-copy strong {
  font-size: 16px;
}

.footer-tagline {
  color:
    var(--color-primary);

  font-size: 20px;
}


.footer-grid h4 {
  margin:
    0 0
    18px;

  color: white;

  font-size: 15px;

  letter-spacing: 0.1em;

  text-transform: uppercase;
}


.footer-grid > div:not(:first-child) {
  display: flex;
  flex-direction: column;
}


.footer-grid a,
.footer-grid
  span:not(.brand-mark):not(.brand-mark__inner):not(.brand-copy) {
  margin: 5px 0;

  color: #758981;

  font-size: 15px;

  transition:
    color var(--transition-fast);
}


.footer-grid a:hover {
  color:
    var(--color-primary);
}


.footer-bottom {
  display: flex;
  justify-content: space-between;

  gap: 20px;

  margin-top: 60px;

  padding-top: 22px;

  color: #52665e;

  border-top:
    1px solid
    var(--color-border);

  font-size: 13px;
}


.footer-bottom p {
  margin: 0;
}


/* ============================================================
   27. BACK TO TOP
   ============================================================ */

.back-to-top {
  position: fixed;

  right: 24px;
  bottom: 24px;

  z-index: 80;

  width: 44px;
  height: 44px;

  display: grid;
  place-items: center;

  color:
    var(--color-primary);

  border:
    1px solid
    var(--color-border-strong);

  border-radius: 50%;

  background:
    rgba(8, 19, 16, 0.82);

  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  opacity: 0;

  pointer-events: none;

  transform:
    translateY(12px);

  transition:
    opacity var(--transition-standard),
    transform var(--transition-standard);
}


.back-to-top.visible {
  opacity: 1;

  pointer-events: auto;

  transform:
    translateY(0);
}


/* ============================================================
   28. PROGRESSIVE-ENHANCEMENT SCROLL REVEALS

   IMPORTANT:
   Content is visible by default.

   JavaScript adds .js-enabled to <html>.
   Only then are off-screen reveal elements hidden.
   ============================================================ */

.reveal {
  opacity: 1;

  transform: none;
}


.js-enabled .reveal {
  opacity: 0;

  transform:
    translateY(28px);

  transition:
    opacity 750ms ease,
    transform
      750ms
      cubic-bezier(0.2, 0.8, 0.2, 1);
}


.js-enabled .reveal.in-view {
  opacity: 1;

  transform:
    translateY(0);
}


.js-enabled .reveal-delay {
  transition-delay: 120ms;
}


/* ============================================================
   29. ANIMATIONS
   ============================================================ */

@keyframes status-pulse {

  0%,
  100% {
    opacity: 1;

    transform:
      scale(1);
  }

  50% {
    opacity: 0.45;

    transform:
      scale(0.78);
  }

}


@keyframes ring-rotate {

  to {
    transform:
      rotate(360deg);
  }

}


@keyframes ring-rotate-reverse {

  to {
    transform:
      rotate(-360deg);
  }

}


@keyframes scan-line {

  0% {
    top: 8%;

    opacity: 0;
  }

  12% {
    opacity: 1;
  }

  88% {
    opacity: 1;
  }

  100% {
    top: 92%;

    opacity: 0;
  }

}


/* ============================================================
   30. TABLET / SMALL DESKTOP
   ============================================================ */

@media (max-width: 1040px) {

  .hero {
    min-height: auto;
  }

  .hero-grid,
  .healthcare-grid,
  .approach-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-security-panel {
    width: 100%;
    max-width: 720px;
    margin-inline: auto;
  }

  .approach-copy {
    position: static;
  }

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

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

  .footer-grid {
    grid-template-columns:
      1.4fr 1fr 1fr;
  }

  .footer-grid > div:last-child {
    display: none;
  }

}


/* ============================================================
   31. TABLET / MOBILE NAVIGATION
   ============================================================ */

@media (max-width: 820px) {

  :root {
    --header-height: 76px;
  }

  .section {
    padding-block: 90px;
  }
  .mobile-scroll-effect {
  position: fixed;
  inset: 0;

  z-index: 0;

  display: block;

  pointer-events: none;

  overflow: hidden;

  background:
    radial-gradient(
      circle at 50% var(--mobile-scroll-y, 50%),
      rgba(114, 242, 189, 0.12) 0,
      rgba(114, 242, 189, 0.055) 18%,
      transparent 42%
    ),
    linear-gradient(
      rgba(114, 242, 189, 0.025) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(114, 242, 189, 0.025) 1px,
      transparent 1px
    );

  background-size:
    auto,
    28px 28px,
    28px 28px;

  opacity: 0.9;
}


  /* ---------- HEADER / LOGO ---------- */

  .brand-logo {
    width: 195px;
    height: auto;
  }


  /* ---------- MOBILE NAV ---------- */

  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: fixed;
    inset: 0;

    z-index: 101;

    display: flex;
    flex-direction: column;
    align-items: stretch;

    gap: 8px;

    padding:
      130px 24px
      40px;

    background:
      rgba(5, 12, 10, 0.98);

    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);

    transform:
      translateX(100%);

    transition:
      transform 300ms ease;
  }

  .nav-open .main-nav {
    transform:
      translateX(0);
  }

  .main-nav > a {
    padding:
      16px 0;

    border-bottom:
      1px solid
      var(--color-border);
  }

  .main-nav > a::after {
    display: none;
  }

  .nav-open
  .nav-toggle
  span:first-child {
    transform:
      translateY(3px)
      rotate(45deg);
  }

  .nav-open
  .nav-toggle
  span:last-child {
    transform:
      translateY(-3px)
      rotate(-45deg);
  }


  /* ---------- HERO ---------- */

  .hero {
    padding-top: 130px;
  }

  .hero-grid {
    gap: 50px;
  }

  .hero h1 {
    font-size:
      clamp(
        3.1rem,
        13vw,
        4.875rem
      );
  }


  /* ---------- SECTION HEADINGS ---------- */

  .section-heading {
    grid-template-columns: 1fr;
    gap: 20px;
  }


  /* ---------- TRUST BAR ---------- */

  .trust-bar__grid {
    min-height: auto;

    flex-direction: column;
    align-items: flex-start;

    padding-block: 24px;
  }

  .trust-pills {
    justify-content: flex-start;
  }


  /* ---------- CTA ---------- */

  .cta-card {
    flex-direction: column;
    align-items: flex-start;

    padding: 42px 30px;
  }


  /* ---------- FOOTER ---------- */

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

  .footer-logo {
    width: 230px;
    height: auto;
  }

}


/* ============================================================
   32. MOBILE
   ============================================================ */

@media (max-width: 620px) {

  .container {
    width:
      min(
        calc(100% - 28px),
        var(--container-width)
      );
  }


  /* ---------- HEADER / LOGO ---------- */

  .brand-logo {
    width: 170px;
  }


  /* ---------- HERO ---------- */

  .hero {
    padding-top: 115px;
    padding-bottom: 80px;
  }

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

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

  .hero-actions .text-link {
    text-align: center;
  }

  .hero-trust {
    grid-template-columns: 1fr;
  }


  /* ---------- CONTENT GRIDS ---------- */

  .security-hover-grid,
  .services-grid,
  .values-grid,
  .check-list,
  .form-row,
  .footer-grid {
    grid-template-columns: 1fr;
  }


  /* ---------- HERO SECURITY PANEL ---------- */

  .hero-security-panel {
    min-height: auto;
    padding: 14px;
  }

  .panel-topline,
  .panel-footer {
    font-size: 8px;
  }

  .bastion-visual {
    height: 280px;
  }

  .shield-rings {
    width: 230px;
    height: 230px;
  }

  .security-tile {
    min-height: 135px;
  }

  .security-tile h3 {
    margin-top: 20px;
  }


  /* ---------- BASTION METHOD ---------- */

  .process-row {
    grid-template-columns:
      35px
      minmax(0, 1fr);
  }

  .process-status {
    display: none;
  }


  /* ---------- HEALTHCARE ---------- */

  .healthcare-panel {
    min-height: 430px;
    padding: 24px;
  }

  .healthcare-data {
    margin-top: 70px;
  }

  .healthcare-data div {
    align-items: flex-start;
    flex-direction: column;

    gap: 4px;
  }

  .healthcare-panel::after {
    font-size: 120px;
  }


  /* ---------- CTA ---------- */

  .cta-card {
    padding: 34px 24px;
  }


  /* ---------- CONTACT ---------- */

  .contact-form {
    padding: 20px;
  }

  .contact-form .btn {
    width: 100%;
  }


  /* ---------- FOOTER ---------- */

  .footer-logo {
    width: 220px;
  }

  .footer-bottom {
    flex-direction: column;
  }


  /* ---------- BACK TO TOP ---------- */

  .back-to-top {
    right: 16px;
    bottom: 16px;
  }

}


/* ============================================================
   33. VERY SMALL SCREENS
   ============================================================ */

@media (max-width: 400px) {

  .container {
    width:
      calc(100% - 24px);
  }


  /* ---------- HEADER ---------- */

  .brand-logo {
    width: 150px;
  }


  /* ---------- HERO ---------- */

  .hero {
    padding-top: 105px;
  }

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

  .hero-lead {
    font-size: 16px;
  }


  /* ---------- SECTION HEADINGS ---------- */

  .section-heading h2,
  .approach-copy h2,
  .healthcare-copy h2,
  .contact-copy h2 {
    font-size: 2.4rem;
  }


  /* ---------- KICKERS ---------- */

  .eyebrow,
  .kicker {
    font-size: 13px;
    letter-spacing: 0.16em;
  }


  /* ---------- SECURITY PANEL ---------- */

  .bastion-visual {
    height: 250px;
  }

  .shield-rings {
    width: 205px;
    height: 205px;
  }


  /* ---------- CARDS ---------- */

  .security-tile,
  .service-card,
  .value-card {
    padding-left: 20px;
    padding-right: 20px;
  }


  /* ---------- CTA ---------- */

  .cta-card {
    padding:
      30px 20px;
  }


  /* ---------- CONTACT ---------- */

  .contact-form {
    padding: 18px;
  }


  /* ---------- FOOTER ---------- */

  .footer-logo {
    width: 195px;
  }

}

/* ============================================================
   MOBILE SCROLL EFFECT
   ============================================================ */

.mobile-scroll-effect {
  display: none;
}


/* ============================================================
   34. REDUCED MOTION ACCESSIBILITY
   ============================================================ */

@media (prefers-reduced-motion: reduce) {

  html {
    scroll-behavior: auto;
  }


  *,
  *::before,
  *::after {
    animation-duration:
      0.001ms !important;

    animation-iteration-count:
      1 !important;

    transition-duration:
      0.001ms !important;

    scroll-behavior:
      auto !important;
  }


  .cursor-glow {
    display: none;
  }


  .js-enabled .reveal {
    opacity: 1;

    transform: none;
  }

}


/* ============================================================
   35. HOVER-SAFE BEHAVIOR
   Prevent hover effects from behaving strangely on touch.
   ============================================================ */

@media (hover: none) {

  .security-tile:hover,
  .service-card:hover,
  .value-card:hover,
  .process-row:hover,
  .btn:hover {
    transform: none;
  }


  .security-tile:hover
  .tile-arrow {
    opacity: 1;
  }

}

/* ==========================================================
   KICKER SCROLL ANIMATION
   ========================================================== */

.scroll-kicker {
  position: relative;
  display: inline-block;
}


/* Prepared state */
.scroll-kicker.kicker-animate-ready {
  opacity: 0;

  transform:
    translateY(18px)
    scale(0.97);

  filter: blur(6px);

  transition:
    opacity 700ms ease,
    transform 700ms cubic-bezier(0.2, 0.8, 0.2, 1),
    filter 700ms ease;
}


/* Visible state */
.scroll-kicker.kicker-animate-ready.kicker-visible {
  opacity: 1;

  transform:
    translateY(0)
    scale(1);

  filter: blur(0);
}


/* Scan line */
.scroll-kicker::after {
  content: "";

  position: absolute;

  left: 0;
  bottom: -7px;

  width: 0;
  height: 2px;

  background:
    linear-gradient(
      90deg,
      transparent,
      var(--color-primary),
      var(--color-accent)
    );

  box-shadow:
    0 0 8px var(--color-primary),
    0 0 18px rgba(114, 242, 189, 0.5);

  opacity: 0;
}


/* Trigger scan */
.scroll-kicker.kicker-visible::after {
  animation:
    kicker-scan 1.15s ease 250ms forwards;
}


@keyframes kicker-scan {

  0% {
    width: 0;
    opacity: 0;
  }

  15% {
    opacity: 1;
  }

  75% {
    width: 100%;
    opacity: 1;
  }

  100% {
    width: 100%;
    opacity: 0;
  }

}


/* Reduced-motion accessibility */
@media (prefers-reduced-motion: reduce) {

  .scroll-kicker,
  .scroll-kicker.kicker-animate-ready {
    opacity: 1;

    transform: none;

    filter: none;
  }

  .scroll-kicker::after {
    display: none;
  }

}