/* ═══════════════════════════════════════════════════════════════
   VLMS HOME2 — Shared brand stylesheet
   Extracted from the new homepage design. Loaded by index.php,
   for-providers, for-health-plans, gcc-setup, and the shared
   header/footer includes.
   Version: 2026-04-22
   ═══════════════════════════════════════════════════════════════ */

/* ── MAIN BRAND + NAV + SECTIONS ─────────────────────────────── */
/* ═══════════════════════════════════════════
   BRAND VARIABLES & RESET
═══════════════════════════════════════════ */
:root {
  --blue:       #0045AA;
  --lime:       #C8F8A9;
  --teal:       #0F3D3A;
  --bg-light:   #F8F7F3;
  --light-blue: #C1DBFF;
  --lighter-blue: #DAE9FF;
  --white:      #ffffff;
  --text-dark:  #0D1B2A;
  --text-mid:   #3a4a5c;
  --nav-h:      80px;
  --radius:     16px;
  --transition: 0.35s cubic-bezier(0.4,0,0.2,1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-dark);
  background: var(--bg-light);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--lighter-blue);
  border-radius: 100px;
  padding: 4px 14px;
  margin-bottom: 16px;
}

.section-label--light {
  color: var(--lime);
  background: rgba(200,248,169,0.15);
}

/* ═══════════════════════════════════════════
   NAVIGATION
═══════════════════════════════════════════ */
#main-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background var(--transition), box-shadow var(--transition);
}

#main-nav.transparent {
  background: transparent;
}

#main-nav.scrolled {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 24px rgba(0,69,170,0.10);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}

.nav-logo img {
  height: 40px;
  width: auto;
  transition: opacity 0.3s;
}

.nav-logo .logo-dark { display: none; }
.nav-logo .logo-white { display: block; }

#main-nav.scrolled .nav-logo .logo-dark { display: block; }
#main-nav.scrolled .nav-logo .logo-white { display: none; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links > li {
  position: relative;
}

.nav-links > li > a,
.nav-links > li > button {
  font-size: 14px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 8px;
  color: rgba(255,255,255,0.9);
  transition: color var(--transition);
  display: flex;
  align-items: center;
  gap: 4px;
  background: none;
}

#main-nav.scrolled .nav-links > li > a,
#main-nav.scrolled .nav-links > li > button {
  color: var(--text-dark);
}

.nav-links > li > a:hover,
.nav-links > li > button:hover {
  color: var(--lime) !important;
}

#main-nav.scrolled .nav-links > li > a:hover,
#main-nav.scrolled .nav-links > li > button:hover {
  color: var(--teal) !important;
}

.nav-arrow {
  font-size: 10px;
  transition: transform 0.25s;
  display: inline-block;
}

/* Dropdowns */
.nav-dropdown,
.nav-mega {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: white;
  border-radius: 12px;
  box-shadow: 0 12px 48px rgba(0,69,170,0.15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.25s ease;
  min-width: 220px;
  padding: 8px;
  z-index: 200;
}

.nav-links > li:hover .nav-dropdown,
.nav-links > li:hover .nav-mega {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-links > li:hover .nav-arrow {
  transform: rotate(180deg);
}

.nav-dropdown a {
  display: block;
  padding: 10px 16px;
  font-size: 14px;
  color: var(--text-dark);
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
}

.nav-dropdown a:hover {
  background: var(--lighter-blue);
  color: var(--blue);
}

.nav-mega {
  left: -120px;
  min-width: 520px;
  padding: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.nav-mega-item {
  padding: 12px 16px;
  border-radius: 10px;
  transition: background 0.2s;
}

.nav-mega-item:hover {
  background: var(--lighter-blue);
}

.nav-mega-item a {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 2px;
}

.nav-mega-item p {
  font-size: 12px;
  color: var(--text-mid);
  line-height: 1.4;
}

/* GET STARTED button — plasma */
.btn-plasma {
  position: relative;
  overflow: hidden;
  border-radius: 100px;
  padding: 10px 22px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: white !important;
  text-transform: uppercase;
  cursor: pointer;
  z-index: 0;
  white-space: nowrap;
  border: none;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.btn-plasma::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, #0045AA, #3494e6, #C8F8A9, #3494e6, #0045AA);
  background-size: 300% 300%;
  animation: plasmaFlow 12.5s ease-in-out infinite;
  z-index: -1;
}

@keyframes plasmaFlow {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.btn-plasma .ripple-canvas {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  cursor: pointer;
}

.nav-hamburger span {
  display: block;
  height: 2px;
  width: 100%;
  background: white;
  border-radius: 2px;
  transition: all 0.3s;
}

#main-nav.scrolled .nav-hamburger span {
  background: var(--text-dark);
}

.nav-hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-hamburger.open span:nth-child(2) {
  opacity: 0;
}
.nav-hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile panel */
.nav-mobile-panel {
  position: fixed;
  top: 0; right: 0;
  width: min(340px, 90vw);
  height: 100vh;
  background: white;
  z-index: 2000;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
  overflow-y: auto;
  padding: 80px 28px 40px;
  box-shadow: -8px 0 40px rgba(0,0,0,0.15);
}

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

.nav-mobile-panel a, .nav-mobile-panel button {
  display: block;
  width: 100%;
  text-align: left;
  padding: 14px 0;
  font-size: 16px;
  font-weight: 500;
  color: var(--text-dark);
  border-bottom: 1px solid #eee;
  background: none;
  font-family: inherit;
}

.nav-mobile-close {
  position: absolute;
  top: 24px;
  right: 24px;
  font-size: 24px;
  color: var(--text-dark);
  background: none;
  border: none;
  cursor: pointer;
  line-height: 1;
}

.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 1999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}

.nav-overlay.open {
  opacity: 1;
  visibility: visible;
}

/* ═══════════════════════════════════════════
   HERO
═══════════════════════════════════════════ */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: var(--blue);
}

/* Diamond/net SVG pattern */
#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M10 0 L20 10 L10 20 L0 10 Z' fill='none' stroke='rgba(255,255,255,0.08)' stroke-width='0.55'/%3E%3C/svg%3E");
  background-size: 20px 20px;
  z-index: 0;
}

/* Random-flashing block layer: JS injects absolutely-positioned diamond
   cells that fade in/out at random intervals. On pointer-move, blocks near
   the cursor flash brighter via the .vlc-flash class. */
.vlc-hero-blocks {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.vlc-hero-block {
  position: absolute;
  width: 10px;
  height: 10px;
  background: rgba(200, 248, 169, 0.0);
  transform: rotate(45deg) scale(0.55);
  transform-origin: center;
  border-radius: 1px;
  transition: background-color .6s ease, transform .6s ease, box-shadow .6s ease;
  will-change: background-color, transform;
}
.vlc-hero-block.on {
  background: rgba(200, 248, 169, 0.22);
  transform: rotate(45deg) scale(0.85);
  box-shadow: 0 0 8px rgba(200, 248, 169, 0.18);
}
.vlc-hero-block.flash {
  background: rgba(200, 248, 169, 0.55);
  transform: rotate(45deg) scale(1);
  box-shadow: 0 0 10px rgba(200, 248, 169, 0.45);
  transition: background-color .15s ease, transform .15s ease, box-shadow .15s ease;
}

@media (prefers-reduced-motion: reduce) {
  .vlc-hero-block,
  .vlc-hero-block.on,
  .vlc-hero-block.flash { transition: none; }
}

#hero-canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: calc(var(--nav-h) + 60px) 24px 80px;
}

.hero-left {}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(200,248,169,0.15);
  border: 1px solid rgba(200,248,169,0.3);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 12px;
  font-weight: 600;
  color: var(--lime);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.hero-tag::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.7); }
}

.hero-h1 {
  font-family: 'Forum', serif;
  font-size: clamp(36px, 5vw, 62px);
  line-height: 1.12;
  color: white;
  margin-bottom: 24px;
}

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

.hero-sub {
  font-size: clamp(15px, 1.5vw, 17px);
  color: rgba(255,255,255,0.78);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 540px;
}

.hero-sub strong {
  color: rgba(255,255,255,0.95);
  font-weight: 600;
}

.hero-cta {
  /* visible by default; hidden state below is gated by html.js-reveal-ready */
}

.btn-hero {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--lime);
  color: var(--text-dark) !important;
  padding: 16px 32px;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 700;
  transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
  box-shadow: 0 0 0 0 rgba(200,248,169,0.5);
}

.btn-hero:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(200,248,169,0.4);
  background: #d6fbb3;
}

/* Hero right — glassmorphism card */
.hero-right {
  /* visible by default; gated hidden state below */
}

.hero-glass-card {
  background: rgba(255,255,255,0.07);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 24px;
  padding: 40px 36px;
  position: relative;
  overflow: hidden;
}

.hero-glass-card::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 220px; height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200,248,169,0.12) 0%, transparent 70%);
  animation: glowPulse 4s ease-in-out infinite;
}

.hero-glass-card::after {
  content: '';
  position: absolute;
  bottom: -40px; left: -40px;
  width: 180px; height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(193,219,255,0.15) 0%, transparent 70%);
  animation: glowPulse 4s ease-in-out infinite 2s;
}

@keyframes glowPulse {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(1.2); opacity: 1; }
}

.hero-stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 28px;
  position: relative;
  z-index: 1;
}

.hero-stat-item {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  padding: 20px 18px;
  transition: background 0.3s, transform 0.3s;
}

.hero-stat-item:hover {
  background: rgba(255,255,255,0.12);
  transform: translateY(-2px);
}

.hero-stat-num {
  font-family: 'Forum', serif;
  font-size: 36px;
  color: var(--lime);
  line-height: 1;
  margin-bottom: 6px;
  display: flex;
  align-items: baseline;
  gap: 2px;
}

.hero-stat-suffix {
  font-family: 'Forum', serif;
  font-size: 36px;
  color: var(--lime);
  line-height: 1;
}

.hero-stat-label {
  font-size: 12px;
  color: rgba(255,255,255,0.75);
  font-weight: 500;
  line-height: 1.4;
}

.hero-stat-wide {
  grid-column: 1 / -1;
}

.hero-card-footer {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.hero-cert-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.hero-badge {
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 100px;
  background: rgba(200,248,169,0.15);
  color: var(--lime);
  border: 1px solid rgba(200,248,169,0.25);
  letter-spacing: 0.05em;
}

/* ═══════════════════════════════════════════
   MARQUEE BAR
═══════════════════════════════════════════ */
#marquee-bar {
  background: var(--bg-light);
  border-top: 1px solid rgba(0,69,170,0.08);
  border-bottom: 1px solid rgba(0,69,170,0.08);
  padding: 18px 0;
  overflow: hidden;
  position: relative;
  z-index: 5;
}

.marquee-track {
  display: flex;
  gap: 0;
  width: max-content;
  /* JS will measure the first half of the content and set --vlc-marquee-shift
     so the keyframe always ends at exactly one full content-set width. This
     guarantees no blank gap regardless of viewport. */
  --vlc-marquee-shift: -50%;
  animation: marqueeScroll 28s linear infinite;
  will-change: transform;
}

.marquee-track:hover {
  animation-play-state: paused;
}

@keyframes marqueeScroll {
  0%   { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(var(--vlc-marquee-shift), 0, 0); }
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 0 28px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-mid);
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.marquee-item.header {
  color: var(--blue);
  font-weight: 700;
}

.marquee-sep {
  color: var(--lime);
  font-size: 18px;
  font-weight: 300;
}

/* ═══════════════════════════════════════════
   ABOUT
═══════════════════════════════════════════ */
#about {
  padding: 100px 0;
  background: white;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-visual {
  position: relative;
}

.about-img-wrap {
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--blue), #1a5fd4);
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-stat-float {
  position: absolute;
  bottom: -24px;
  right: -24px;
  background: var(--lime);
  border-radius: 16px;
  padding: 20px 24px;
  box-shadow: 0 12px 40px rgba(0,69,170,0.2);
}

.about-stat-float .num {
  font-family: 'Forum', serif;
  font-size: 36px;
  color: var(--text-dark);
  line-height: 1;
}

.about-stat-float .lbl {
  font-size: 12px;
  font-weight: 600;
  color: var(--teal);
}

.about-text h2 {
  font-family: 'Forum', serif;
  font-size: clamp(28px, 3.5vw, 44px);
  color: var(--text-dark);
  line-height: 1.2;
  margin-bottom: 20px;
}

.about-text p {
  font-size: 16px;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 32px;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 100px;
  border: 2px solid var(--blue);
  font-size: 14px;
  font-weight: 700;
  color: var(--blue);
  transition: all 0.3s;
}

.btn-outline:hover {
  background: var(--blue);
  color: white;
}

/* ═══════════════════════════════════════════
   ADVANCED ANALYTICS — dark card + accordion
═══════════════════════════════════════════ */
#analytics {
  padding: 100px 0;
  background: var(--bg-light);
}

.analytics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}

.analytics-card {
  position: relative;
  overflow: hidden;
  background: var(--blue);
  border-radius: 24px;
  padding: 48px 40px;
  color: white;
}

#terrain-canvas {
  position: absolute;
  inset: 0;
  opacity: 0.75;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.analytics-card:hover #terrain-canvas {
  opacity: 1;
}

.analytics-card-content {
  position: relative;
  z-index: 2;
}

.analytics-card h3 {
  font-family: 'Forum', serif;
  font-size: 32px;
  color: white;
  margin-bottom: 28px;
  line-height: 1.2;
}

.analytics-check-list {
  list-style: none;
  margin-bottom: 36px;
}

.analytics-check-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  font-size: 15px;
  color: rgba(255,255,255,0.88);
}

.analytics-check-list li::before {
  content: '';
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--lime);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M4 10l4 4 8-8' stroke='%230F3D3A' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: 12px;
  background-repeat: no-repeat;
  background-position: center;
}

.btn-white-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: 100px;
  border: 2px solid rgba(255,255,255,0.4);
  font-size: 14px;
  font-weight: 600;
  color: white;
  transition: all 0.3s;
}

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

/* Accordion */
.accordion-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.accordion-item {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,69,170,0.06);
  transition: box-shadow 0.3s;
}

.accordion-item.open {
  box-shadow: 0 8px 32px rgba(0,69,170,0.12);
}

.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-dark);
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.2s;
}

.accordion-trigger:hover { color: var(--blue); }

.accordion-item.open .accordion-trigger { color: var(--blue); }

/* Clean two-stroke +/− icon. The text "+" inside the span is hidden;
   we draw the cross with ::before (horizontal) and ::after (vertical).
   Opening the accordion rotates the vertical stroke 90° so the icon
   morphs from + → − with a smooth ease. */
.accordion-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0,69,170,0.08);
  position: relative;
  font-size: 0;            /* hide the literal "+" text */
  color: transparent;
  transition: background 0.35s ease, transform 0.35s ease, box-shadow 0.35s ease;
}
.accordion-icon::before,
.accordion-icon::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  background: var(--blue);
  border-radius: 2px;
  transition: transform 0.35s cubic-bezier(.65,.05,.36,1), background 0.35s ease;
}
.accordion-icon::before {
  width: 14px; height: 2px;
  transform: translate(-50%, -50%);
}
.accordion-icon::after {
  width: 2px; height: 14px;
  transform: translate(-50%, -50%);
}

.accordion-item:hover .accordion-icon {
  background: rgba(0,69,170,0.14);
  transform: scale(1.04);
}

.accordion-item.open .accordion-icon {
  background: var(--blue);
  box-shadow: 0 6px 16px rgba(0,69,170,0.28);
}
.accordion-item.open .accordion-icon::before,
.accordion-item.open .accordion-icon::after {
  background: white;
}
/* Rotate the vertical stroke to flat → makes a minus sign. */
.accordion-item.open .accordion-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4,0,0.2,1);
}

.accordion-body-inner {
  padding: 0 24px 20px;
}

.accordion-body-inner > p {
  font-size: 14px;
  color: var(--text-mid);
  margin-bottom: 12px;
  line-height: 1.6;
}

.accordion-sub-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.accordion-sub-list li {
  font-size: 13px;
  color: var(--text-mid);
  padding-left: 16px;
  position: relative;
}

.accordion-sub-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--blue);
  font-size: 11px;
}

/* ═══════════════════════════════════════════
   SERVICES
═══════════════════════════════════════════ */
#services {
  padding: 100px 0;
  background: white;
}

.services-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 60px;
}

.services-header h2 {
  font-family: 'Forum', serif;
  font-size: clamp(28px, 3.5vw, 46px);
  color: var(--text-dark);
  line-height: 1.2;
  margin-bottom: 16px;
}

.services-header p {
  font-size: 16px;
  color: var(--text-mid);
  line-height: 1.7;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--bg-light);
  border-radius: 20px;
  padding: 32px 28px;
  border: 1px solid rgba(0,69,170,0.06);
  transition: transform 0.35s, box-shadow 0.35s, background 0.35s;
  display: flex;
  flex-direction: column;
  position: relative;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0,69,170,0.12);
  background: white;
}

/* Inner pages: when a service-card has NO service-icon-wrap, show a
   brand-dot + top accent bar so the card has visual weight instead of
   reading as flat text-on-beige. */
.service-card:not(:has(.service-icon-wrap))::before {
  content: '';
  display: block;
  width: 36px; height: 4px; border-radius: 2px;
  background: linear-gradient(90deg, var(--blue) 0%, var(--lime) 100%);
  margin-bottom: 20px;
}
/* Fallback for browsers without :has() — apply accent bar to every service-card
   and hide it on cards that have an icon-wrap via a scoped override below. */
@supports not selector(:has(*)) {
  .service-card::before {
    content: '';
    display: block;
    width: 36px; height: 4px; border-radius: 2px;
    background: linear-gradient(90deg, var(--blue) 0%, var(--lime) 100%);
    margin-bottom: 20px;
  }
}

.service-icon-wrap {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  margin-bottom: 20px;
  overflow: visible;
  position: relative;
  background: transparent;
  flex-shrink: 0;
}

.service-icon-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: transform .35s ease;
}

/* Static icons by default. A subtle, single-axis lift on card hover so the
   cards still feel responsive without the constant rotation. */
.service-card:hover .service-icon-wrap img { transform: translateY(-2px) scale(1.04); }

@keyframes vlmsIconPulseCW {
  0%   { transform: rotate(0deg) scale(1); }
  50%  { transform: rotate(180deg) scale(1.05); }
  100% { transform: rotate(360deg) scale(1); }
}
@keyframes vlmsIconPulseCCW {
  0%   { transform: rotate(0deg) scale(1); }
  50%  { transform: rotate(-180deg) scale(1.05); }
  100% { transform: rotate(-360deg) scale(1); }
}
@keyframes vlmsIconSpinCW {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
@keyframes vlmsIconSpinCCW {
  from { transform: rotate(0deg); }
  to   { transform: rotate(-360deg); }
}

/* No overlay needed — transparent icon bg */

.service-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
  line-height: 1.3;
}

.service-card p {
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.65;
  margin-bottom: 20px;
  flex: 1;
}

.service-features {
  margin-bottom: 24px;
}

.service-features li {
  font-size: 12px;
  color: var(--text-mid);
  padding: 5px 0;
  border-bottom: 1px dashed rgba(0,69,170,0.1);
  display: flex;
  align-items: center;
  gap: 8px;
}

.service-features li::before {
  content: '▸';
  color: var(--blue);
  font-size: 10px;
  flex-shrink: 0;
}

.btn-service {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--blue);
  padding: 10px 20px;
  border-radius: 100px;
  border: 1.5px solid var(--blue);
  transition: all 0.3s;
  align-self: flex-start;
  margin-top: auto;
}

.btn-service:hover {
  background: var(--blue);
  color: white;
}

/* ═══════════════════════════════════════════
   BUSINESS IMPACT
═══════════════════════════════════════════ */
#impact {
  padding: 100px 0;
  background: var(--teal);
  position: relative;
  overflow: hidden;
}

#impact::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Ccircle cx='20' cy='20' r='1' fill='rgba(200,248,169,0.12)'/%3E%3C/svg%3E");
  background-size: 40px 40px;
}

/* Twinkling lime dots — JS injects a few absolute-positioned dots that
   fade in and out at random positions across the section, so the static
   dot grid feels alive. Only 6-8 are visible at any time. */
.vlc-impact-twinkles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.vlc-twinkle {
  position: absolute;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(200, 248, 169, 0.95);
  box-shadow: 0 0 12px rgba(200, 248, 169, 0.8),
              0 0 24px rgba(200, 248, 169, 0.4);
  opacity: 0;
  transform: scale(0.4);
  transition: opacity 1.4s ease, transform 1.4s ease;
}
.vlc-twinkle.on {
  opacity: 1;
  transform: scale(1);
}

@media (prefers-reduced-motion: reduce) {
  .vlc-twinkle { transition: none; }
}

.impact-inner {
  position: relative;
  z-index: 1;
}

.impact-header {
  text-align: center;
  margin-bottom: 60px;
}

.impact-header h2 {
  font-family: 'Forum', serif;
  font-size: clamp(28px, 3.5vw, 46px);
  color: white;
  line-height: 1.2;
}

.impact-header p {
  color: rgba(255,255,255,0.85);
  line-height: 1.6;
  margin-top: 14px;
}

.impact-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.impact-stat {
  text-align: center;
  padding: 36px 24px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  backdrop-filter: blur(10px);
  transition: transform 0.35s cubic-bezier(.22,.68,0,1.2), background 0.3s, box-shadow 0.3s, border-color 0.3s;
  will-change: transform;
}

.impact-stat:hover {
  transform: translateY(-10px) scale(1.06);
  background: rgba(255,255,255,0.13);
  box-shadow: 0 24px 60px rgba(0,0,0,0.3), 0 0 0 1px rgba(200,248,169,0.25);
  border-color: rgba(200,248,169,0.35);
  z-index: 2;
  position: relative;
}

.impact-stat-num {
  font-family: 'Forum', serif;
  font-size: clamp(40px, 5vw, 60px);
  color: var(--lime);
  line-height: 1;
  margin-bottom: 14px;
  display: block;
  transition: text-shadow 0.3s;
}

.impact-stat:hover .impact-stat-num {
  text-shadow: 0 0 28px rgba(200,248,169,0.5);
}

.impact-stat p {
  font-size: 13px;
  color: rgba(255,255,255,0.78);
  line-height: 1.6;
}

/* ═══════════════════════════════════════════
   WHY CHOOSE US
═══════════════════════════════════════════ */
#why {
  padding: 100px 0;
  background: var(--bg-light);
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.why-left h2 {
  font-family: 'Forum', serif;
  font-size: clamp(28px, 3.5vw, 44px);
  color: var(--text-dark);
  line-height: 1.2;
  margin-bottom: 40px;
}

.why-usp-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.why-usp {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.why-usp-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--blue);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.why-usp-icon svg {
  color: #fff;
  stroke: #fff;
}

.why-usp-icon svg {
  width: 28px;
  height: 28px;
}

.why-usp h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.why-usp p {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.65;
}

.why-right {
  position: relative;
}

.why-visual {
  background: linear-gradient(135deg, var(--blue) 0%, #1a6be0 50%, var(--teal) 100%);
  border-radius: 24px;
  padding: 48px 40px;
  color: white;
  position: relative;
  overflow: hidden;
}

.why-visual::before {
  content: none; /* replaced by JS floating circle */
}

/* Floating orb Easter egg */
.why-orb {
  position: absolute;
  top: -60px;
  right: -60px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, rgba(200,248,169,0.18) 0%, rgba(200,248,169,0.06) 60%, transparent 100%);
  border: 1px solid rgba(200,248,169,0.12);
  pointer-events: all;
  cursor: pointer;
  z-index: 0;
  /* floating animation */
  animation: whyOrbFloat 7s ease-in-out infinite;
  transition: transform 0.15s ease;
  user-select: none;
}

@keyframes whyOrbFloat {
  0%   { transform: translate(0px, 0px) scale(1); }
  20%  { transform: translate(-12px, 8px) scale(1.02); }
  40%  { transform: translate(6px, -14px) scale(0.98); }
  60%  { transform: translate(14px, 6px) scale(1.01); }
  80%  { transform: translate(-6px, 12px) scale(0.99); }
  100% { transform: translate(0px, 0px) scale(1); }
}

/* Shrink loop on click */
@keyframes whyOrbShrink {
  0%   { transform: scale(1); opacity: 1; }
  33%  { transform: scale(0.55); opacity: 0.5; }
  66%  { transform: scale(0.25); opacity: 0.25; }
  100% { transform: scale(1); opacity: 1; }
}

.why-orb.shrinking {
  animation: whyOrbShrink 1.1s cubic-bezier(0.4,0,0.2,1) forwards;
}

.why-visual h3 {
  font-family: 'Forum', serif;
  font-size: 26px;
  color: white;
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
}

.why-visual p {
  font-size: 14px;
  color: rgba(255,255,255,0.75);
  margin-bottom: 32px;
  position: relative;
  z-index: 1;
}

.why-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  position: relative;
  z-index: 1;
}

.why-metric {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 14px;
  padding: 18px 16px;
  text-align: center;
}

.why-metric .val {
  font-family: 'Forum', serif;
  font-size: 28px;
  color: var(--lime);
  display: block;
  margin-bottom: 4px;
}

.why-metric .lbl {
  font-size: 11px;
  color: rgba(255,255,255,0.7);
  font-weight: 500;
}

/* ═══════════════════════════════════════════
   CONTACT
═══════════════════════════════════════════ */
#contact {
  padding: 100px 0;
  background: var(--blue);
  position: relative;
  overflow: hidden;
}

#contact::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M10 0 L20 10 L10 20 L0 10 Z' fill='none' stroke='rgba(255,255,255,0.05)' stroke-width='0.5'/%3E%3C/svg%3E");
  background-size: 20px 20px;
}

.contact-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.contact-left h2 {
  font-family: 'Forum', serif;
  font-size: clamp(28px, 3.5vw, 46px);
  color: white;
  line-height: 1.2;
  margin-bottom: 16px;
}

.contact-left > p {
  font-size: 15px;
  color: rgba(255,255,255,0.75);
  line-height: 1.7;
  margin-bottom: 40px;
}

.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  padding: 16px 20px;
  color: white;
  transition: background 0.3s;
}

.contact-card:hover {
  background: rgba(255,255,255,0.13);
}

.contact-card-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--lime);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-card-icon svg {
  width: 20px;
  height: 20px;
  color: var(--teal);
  fill: var(--teal);
}

.contact-card-text {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
}

/* Contact form card */
.contact-form-card {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 24px;
  padding: 40px 36px;
}

.contact-form-logo {
  margin-bottom: 24px;
}

.contact-form-logo img {
  height: 36px;
  width: auto;
}

.contact-form-card h3 {
  font-family: 'Forum', serif;
  font-size: 24px;
  color: white;
  margin-bottom: 28px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  margin-bottom: 6px;
  letter-spacing: 0.05em;
}

.form-group input,
.form-group textarea {
  width: 100%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 14px;
  color: white;
  font-family: inherit;
  transition: border-color 0.3s, background 0.3s;
  outline: none;
}

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

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

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

.btn-submit {
  width: 100%;
  padding: 15px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  background: var(--lime);
  color: var(--teal);
  border: none;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
  margin-top: 4px;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(200,248,169,0.35);
}

.form-privacy {
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  text-align: center;
  margin-top: 14px;
  line-height: 1.5;
}

.form-privacy a {
  color: var(--lime);
  text-decoration: underline;
}

/* ═══════════════════════════════════════════
   BLOG
═══════════════════════════════════════════ */
#blog {
  padding: 100px 0;
  background: white;
}

.blog-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 56px;
}

.blog-header h2 {
  font-family: 'Forum', serif;
  font-size: clamp(28px, 3.5vw, 46px);
  color: var(--text-dark);
  line-height: 1.2;
  margin-bottom: 14px;
}

.blog-header p {
  font-size: 15px;
  color: var(--text-mid);
  line-height: 1.7;
}

.blog-carousel-wrap {
  position: relative;
  overflow: hidden;
}

.blog-track {
  display: flex;
  gap: 24px;
  transition: transform 0.5s cubic-bezier(0.4,0,0.2,1);
}

.blog-card {
  flex: 0 0 calc(33.333% - 16px);
  background: var(--bg-light);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(0,69,170,0.06);
  transition: transform 0.35s, box-shadow 0.35s;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0,69,170,0.12);
}

.blog-img {
  aspect-ratio: 3/2;
  overflow: hidden;
  background: var(--lighter-blue);
}

.blog-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.5s;
}

.blog-card:hover .blog-img img {
  transform: scale(1.05);
}

.blog-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-date {
  font-size: 11px;
  font-weight: 600;
  color: var(--blue);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.blog-body h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.45;
  margin-bottom: 16px;
  flex: 1;
}

.blog-body h3 a {
  color: inherit;
  transition: color 0.2s;
}

.blog-body h3 a:hover {
  color: var(--blue);
}

.blog-read-more {
  font-size: 13px;
  font-weight: 700;
  color: var(--blue);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s;
}

.blog-card:hover .blog-read-more {
  gap: 10px;
}

.blog-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 40px;
}

.blog-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid rgba(0,69,170,0.2);
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
  font-size: 16px;
  color: var(--blue);
}

.blog-btn:hover {
  background: var(--blue);
  color: white;
  border-color: var(--blue);
}

.blog-dots {
  display: flex;
  gap: 8px;
}

.blog-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(0,69,170,0.2);
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}

.blog-dot.active {
  background: var(--blue);
  transform: scale(1.3);
}

/* ═══════════════════════════════════════════
   FOOTER WRAPPER
═══════════════════════════════════════════ */
.footer-shell {
  background: var(--teal);
  color: white;
}

/* override elementor footer styles minimally */
.footer-shell .main-footer,
.footer-shell footer {
  background: var(--teal) !important;
  color: white !important;
}

.footer-shell a { color: rgba(255,255,255,0.75); }
.footer-shell a:hover { color: var(--lime); }

/* ═══════════════════════════════════════════
   SCROLL REVEAL — initial hidden states
   ────────────────────────────────────────────
   Safety pattern: content is VISIBLE by default (no-js /
   GSAP fail / slow CDN / script error cases all render correctly).
   Only when JS has confirmed GSAP + ScrollTrigger are ready
   does it add `.js-reveal-ready` to <html> — at which point
   the initial hidden state kicks in and GSAP animates entrance.
═══════════════════════════════════════════ */
html.js-reveal-ready .reveal {
  opacity: 0;
  transform: translateY(32px);
}
/* When JS is not ready (no-js, GSAP failed, reduced motion), keep default visible state */
.reveal {
  opacity: 1;
  transform: none;
}

/* Hero entrance — same gated pattern. Visible by default; hidden only when GSAP
   has confirmed it's ready (js-reveal-ready). If GSAP fails to load or throws,
   .js-reveal-ready never gets set, so hero text stays visible. */
html.js-reveal-ready .hero-tag,
html.js-reveal-ready .hero-h1,
html.js-reveal-ready .hero-sub,
html.js-reveal-ready .hero-cta,
html.js-reveal-ready .hero-right {
  opacity: 0;
}

/* ═══════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════ */
@media (max-width: 1100px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; padding-top: calc(var(--nav-h) + 40px); }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .analytics-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-inner { grid-template-columns: 1fr; gap: 40px; }
  .impact-stats { grid-template-columns: 1fr; gap: 16px; }
  .nav-links, .nav-cta-wrap { display: none !important; }
  .nav-hamburger { display: flex; }
  .about-stat-float { right: 0; }
}

@media (max-width: 768px) {
  .services-grid { grid-template-columns: 1fr; }
  .blog-card { flex: 0 0 calc(100% - 0px); }
  .hero-stat-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .why-metrics { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  :root { --nav-h: 64px; }
  .hero-stat-grid { grid-template-columns: 1fr; }
  .hero-stat-num { font-size: 28px; }
  .hero-stat-suffix { font-size: 28px; }
  .nav-mega { min-width: 90vw; left: -20px; }
  .contact-form-card { padding: 28px 20px; }
}

/* prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ── FOOTER ──────────────────────────────────────────────────── */
#h2-footer {
  background: #0A1628;
  color: rgba(255,255,255,0.72);
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
}
.h2-footer-top {
  max-width: 1280px;
  margin: 0 auto;
  padding: 72px 40px 56px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.6fr;
  gap: 48px;
}
.h2-footer-brand img { margin-bottom: 20px; display: block; }
.h2-footer-brand p { font-size: 13px; line-height: 1.7; color: rgba(255,255,255,0.55); margin-bottom: 24px; max-width: 320px; }
.h2-footer-social { display: flex; gap: 10px; }
.h2-social-btn {
  width: 36px; height: 36px; border-radius: 8px;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.65); transition: background 0.2s, color 0.2s, border-color 0.2s;
  text-decoration: none;
}
.h2-social-btn:hover { background: #0045AA; color: #C8F8A9; border-color: #0045AA; }
.h2-footer-col h6 {
  font-size: 11px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: rgba(255,255,255,0.38); margin: 0 0 16px 0;
}
.h2-footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.h2-footer-col ul li a { color: rgba(255,255,255,0.65); text-decoration: none; transition: color 0.2s; }
.h2-footer-col ul li a:hover { color: #C8F8A9; }
.h2-footer-addr { font-size: 12px; line-height: 1.65; color: rgba(255,255,255,0.5); margin: 0 0 14px 0; }
.h2-footer-certs {
  max-width: 1280px; margin: 0 auto; padding: 24px 40px;
  border-top: 1px solid rgba(255,255,255,0.07);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  display: flex; align-items: center; gap: 32px; flex-wrap: wrap;
}
.h2-footer-certs img { height: 48px; width: auto; opacity: 0.75; filter: brightness(1.1); transition: opacity 0.2s; }
.h2-footer-certs img:hover { opacity: 1; }
.h2-footer-bottom {
  max-width: 1280px; margin: 0 auto; padding: 20px 40px;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 12px; color: rgba(255,255,255,0.35);
}
.h2-footer-bottom nav { display: flex; gap: 24px; }
.h2-footer-bottom nav a { color: rgba(255,255,255,0.35); text-decoration: none; transition: color 0.2s; }
.h2-footer-bottom nav a:hover { color: #C8F8A9; }
@media (max-width: 1024px) {
  .h2-footer-top { grid-template-columns: 1fr 1fr; padding: 56px 32px 40px; }
  .h2-footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .h2-footer-top { grid-template-columns: 1fr; padding: 40px 20px 32px; }
  .h2-footer-certs { padding: 20px; gap: 20px; }
  .h2-footer-bottom { flex-direction: column; gap: 12px; text-align: center; padding: 16px 20px; }
}

/* =========================================================
   ── CATEGORY HERO VARIANTS ──
   Differentiators for inner pages so they feel related to
   the homepage without being identical. 3 variants:
    .hero-services   — diagonal split + oversized numeral
    .hero-company    — full-bleed mask + timeline strip
    .hero-compact    — minimal band for legal/utility
   ========================================================= */

/* Shared inner-hero base (used by services + company variants) */
.inner-hero {
  position: relative;
  padding: 160px 40px 100px;
  overflow: hidden;
  background: var(--bg-light);
}
.inner-hero .inner-hero-inner {
  position: relative; z-index: 2;
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 60px; align-items: center;
}
.inner-hero canvas#hero-canvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
  z-index: 1; opacity: 0.35; pointer-events: none;
}
.inner-hero .section-label { margin-bottom: 20px; }
.inner-hero h1 {
  font-family: 'Forum', serif; font-weight: 400;
  font-size: clamp(40px, 5.4vw, 68px); line-height: 1.05;
  letter-spacing: -0.02em; color: var(--teal); margin: 0 0 22px 0;
}
.inner-hero h1 em {
  font-style: normal; color: var(--blue);
  background: linear-gradient(90deg, var(--blue) 0%, #2B6FD9 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.inner-hero .hero-sub {
  font-size: 17px; line-height: 1.65; color: #4B5563;
  max-width: 560px; margin: 0 0 32px 0;
}
.inner-hero .hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

/* ──── VARIANT 1 · SERVICES — diagonal split + giant numeral ──── */
.hero-services {
  background:
    linear-gradient(135deg, #F8F7F3 0%, #F8F7F3 55%, #0F3D3A 55.1%, #0F3D3A 100%);
}
.hero-services::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 18% 35%, rgba(0,69,170,0.08) 0%, transparent 55%),
    radial-gradient(circle at 85% 78%, rgba(200,248,169,0.12) 0%, transparent 50%);
  z-index: 1; pointer-events: none;
}
.hero-services .hero-numeral {
  position: absolute;
  right: -10px; top: 50%; transform: translateY(-50%);
  font-family: 'Forum', serif; font-weight: 400;
  font-size: clamp(260px, 40vw, 520px); line-height: 0.85;
  color: rgba(200,248,169,0.14); z-index: 1;
  letter-spacing: -0.05em; pointer-events: none; user-select: none;
}
.hero-services .hero-visual {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; gap: 16px;
  padding: 32px;
  background: rgba(15,61,58,0.55);
  border: 1px solid rgba(200,248,169,0.18);
  border-radius: 20px; backdrop-filter: blur(8px);
}
.hero-services .hero-visual .service-pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 18px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(200,248,169,0.22);
  border-radius: 999px;
  color: #F8F7F3; font-size: 14px; font-weight: 500;
  transition: all 0.25s ease;
}
.hero-services .hero-visual .service-pill::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--lime);
  box-shadow: 0 0 10px var(--lime);
}
.hero-services .hero-visual .service-pill:hover {
  background: rgba(200,248,169,0.12); transform: translateX(4px);
}

/* ──── VARIANT 2 · COMPANY — full-bleed mask + timeline strip ──── */
.hero-company {
  background: linear-gradient(180deg, var(--bg-light) 0%, #EEEDE5 100%);
  padding-bottom: 0;
}
.hero-company::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 800px 400px at 80% 20%, rgba(0,69,170,0.09) 0%, transparent 60%),
    radial-gradient(ellipse 600px 500px at 15% 80%, rgba(200,248,169,0.25) 0%, transparent 55%);
  z-index: 1; pointer-events: none;
}
.hero-company .hero-mask-art {
  position: relative; z-index: 2;
  width: 100%; aspect-ratio: 4/4.2;
  max-height: 520px;
  background:
    linear-gradient(135deg, var(--blue) 0%, var(--teal) 100%);
  border-radius: 24px;
  overflow: hidden;
  display: flex; align-items: flex-end; justify-content: flex-start;
  padding: 32px;
  box-shadow: 0 40px 80px -20px rgba(15,61,58,0.35);
}
.hero-company .hero-mask-art::before {
  /* Decorative grid + ring pattern so the visual never reads as an empty box */
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px),
    radial-gradient(circle at 72% 28%, rgba(200,248,169,0.55) 0%, rgba(200,248,169,0) 12%),
    radial-gradient(circle at 20% 75%, rgba(255,255,255,0.5) 0%, rgba(255,255,255,0) 9%),
    radial-gradient(circle at 55% 55%, rgba(200,248,169,0.35) 0%, rgba(200,248,169,0) 6%);
  background-size: 48px 48px, 48px 48px, 100% 100%, 100% 100%, 100% 100%;
  opacity: 0.75;
  mix-blend-mode: screen;
}
.hero-company .hero-mask-art::after {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 30% 30%, rgba(200,248,169,0.28) 0%, transparent 48%),
    radial-gradient(circle at 75% 70%, rgba(255,255,255,0.14) 0%, transparent 48%);
  pointer-events: none;
}
.hero-company .hero-mask-badge {
  position: relative; z-index: 2;
  padding: 14px 20px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(200,248,169,0.3);
  border-radius: 12px; backdrop-filter: blur(6px);
  color: #fff; font-size: 13px; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase;
}
.hero-company-timeline {
  position: relative; z-index: 2;
  max-width: 1280px; margin: 60px auto 0;
  padding: 32px 40px 40px;
  border-top: 1px solid rgba(15,61,58,0.1);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px;
}
.hero-company-timeline .tl-item {
  position: relative; padding-left: 22px;
  display: flex; flex-direction: column; justify-content: center;
}
.hero-company-timeline .tl-item::before {
  content: ''; position: absolute; left: 0;
  /* Center the dot with the number (tl-yr) not the top of the block */
  top: 14px;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 5px rgba(0,69,170,0.14);
}
.hero-company-timeline .tl-yr {
  font-family: 'Forum', serif; font-size: 32px; line-height: 1.1;
  color: var(--teal); margin-bottom: 6px;
}
.hero-company-timeline .tl-lbl {
  font-size: 12px; color: #6B7280; letter-spacing: 0.05em; text-transform: uppercase;
  line-height: 1.4;
}

/* ──── VARIANT 3 · COMPACT — legal/utility pages ──── */
.hero-compact {
  position: relative;
  padding: 140px 40px 56px;
  background: linear-gradient(180deg, var(--bg-light) 0%, #fff 100%);
  border-bottom: 1px solid rgba(15,61,58,0.08);
}
.hero-compact .inner {
  max-width: 900px; margin: 0 auto;
}
.hero-compact .section-label { margin-bottom: 14px; }
.hero-compact h1 {
  font-family: 'Forum', serif; font-weight: 400;
  font-size: clamp(34px, 4vw, 48px); line-height: 1.1;
  color: var(--teal); margin: 0 0 14px 0;
}
.hero-compact p.lede { font-size: 16px; color: #4B5563; margin: 0; max-width: 720px; }
.hero-compact .meta-row {
  display: flex; gap: 24px; margin-top: 22px; font-size: 13px; color: #6B7280;
}
.hero-compact .meta-row span strong { color: var(--teal); font-weight: 600; }

/* ── Prose block used by legal pages ── */
.prose-block {
  max-width: 860px; margin: 0 auto; padding: 72px 40px 96px;
  font-size: 16px; line-height: 1.75; color: #374151;
}
.prose-block h2 {
  font-family: 'Forum', serif; font-weight: 400;
  font-size: 28px; color: var(--teal);
  margin: 48px 0 14px; letter-spacing: -0.01em;
}
.prose-block h3 {
  font-family: 'DM Sans', sans-serif; font-weight: 600;
  font-size: 18px; color: var(--teal); margin: 32px 0 10px;
}
.prose-block p { margin: 0 0 18px; }
.prose-block ul, .prose-block ol { margin: 0 0 18px; padding-left: 22px; }
.prose-block li { margin-bottom: 8px; }
.prose-block a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.prose-block a:hover { color: var(--teal); }
.prose-block table { width: 100%; border-collapse: collapse; margin: 18px 0 28px; font-size: 14px; }
.prose-block th, .prose-block td {
  padding: 12px 14px; text-align: left; border-bottom: 1px solid #E5E7EB; vertical-align: top;
}
.prose-block th { background: #F8F7F3; font-weight: 600; color: var(--teal); }

/* ── Feature rows (alternating) for service pages ── */
.feature-rows { padding: 96px 40px; }
.feature-rows .fr-inner { max-width: 1200px; margin: 0 auto; display: flex; flex-direction: column; gap: 72px; }
.feature-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
.feature-row:nth-child(even) .feature-row-copy { order: 2; }
.feature-row:nth-child(even) .feature-row-visual { order: 1; }
.feature-row-copy .fr-eyebrow {
  display: inline-block; font-size: 12px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue);
  padding: 6px 12px; background: rgba(0,69,170,0.08); border-radius: 999px; margin-bottom: 14px;
}
.feature-row-copy h3 {
  font-family: 'Forum', serif; font-weight: 400;
  font-size: clamp(26px, 3vw, 36px); line-height: 1.15;
  color: var(--teal); margin: 0 0 14px;
}
.feature-row-copy p { font-size: 16px; line-height: 1.7; color: #4B5563; margin: 0 0 18px; }
.feature-row-copy ul { list-style: none; margin: 0; padding: 0; }
.feature-row-copy ul li {
  position: relative; padding: 6px 0 6px 28px; font-size: 15px; color: #374151;
}
.feature-row-copy ul li::before {
  content: ''; position: absolute; left: 0; top: 12px;
  width: 14px; height: 2px; background: var(--blue);
}
.feature-row-visual {
  position: relative; aspect-ratio: 4/3; border-radius: 18px;
  background:
    radial-gradient(circle at 80% 20%, rgba(0,69,170,0.10) 0%, rgba(0,69,170,0) 45%),
    radial-gradient(circle at 20% 80%, rgba(200,248,169,0.28) 0%, rgba(200,248,169,0) 50%),
    linear-gradient(135deg, #EEEDE5 0%, #F8F7F3 100%);
  overflow: hidden;
  border: 1px solid rgba(15,61,58,0.08);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Forum', serif; font-size: clamp(72px, 9vw, 128px); line-height: 1;
  color: rgba(15,61,58,0.18);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.6), 0 8px 24px -8px rgba(15,61,58,0.15);
}
.feature-row-visual::before {
  /* Decorative grid pattern so the box reads as intentional, not empty */
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(15,61,58,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15,61,58,0.05) 1px, transparent 1px);
  background-size: 40px 40px, 40px 40px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at center, black 40%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 40%, transparent 75%);
}
.feature-row-visual::after {
  /* Brand-colored corner dot marker */
  content: '';
  position: absolute; top: 20px; left: 20px;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--lime); box-shadow: 0 0 0 5px rgba(200,248,169,0.25);
  z-index: 2;
}

/* ── CTA strip (inner pages) ── */
.cta-strip {
  background: var(--teal); color: #fff;
  padding: 72px 40px; position: relative; overflow: hidden;
}
.cta-strip::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 500px 300px at 85% 50%, rgba(0,69,170,0.35) 0%, transparent 60%),
    radial-gradient(ellipse 400px 300px at 15% 50%, rgba(200,248,169,0.1) 0%, transparent 55%);
}
.cta-strip-inner {
  position: relative; z-index: 2;
  max-width: 1200px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap;
}
.cta-strip h2 {
  font-family: 'Forum', serif; font-weight: 400;
  font-size: clamp(26px, 3vw, 36px); line-height: 1.15; margin: 0; max-width: 640px;
}
.cta-strip .btn-hero {
  background: var(--lime); color: var(--teal);
  padding: 14px 28px; border-radius: 999px; font-weight: 600;
  text-decoration: none; white-space: nowrap; transition: all 0.25s;
}
.cta-strip .btn-hero:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(200,248,169,0.35); }

/* ── Simple stat strip (reuse on any inner page) ── */
.stat-strip { padding: 72px 40px; background: #fff; }
.stat-strip-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px;
}
.stat-strip-item { text-align: center; padding: 24px; border-right: 1px solid rgba(15,61,58,0.08); }
.stat-strip-item:last-child { border-right: none; }
.stat-strip-num { font-family: 'Forum', serif; font-size: 56px; color: var(--blue); line-height: 1; margin-bottom: 8px; }
.stat-strip-label { font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: #6B7280; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .inner-hero .inner-hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-services .hero-numeral { opacity: 0.5; font-size: 200px; }
  .hero-company-timeline { grid-template-columns: repeat(2, 1fr); }
  .feature-row { grid-template-columns: 1fr; gap: 32px; }
  .feature-row:nth-child(even) .feature-row-copy { order: 0; }
  .feature-row:nth-child(even) .feature-row-visual { order: 0; }
  .stat-strip-inner { grid-template-columns: repeat(2, 1fr); }
  .stat-strip-item:nth-child(2) { border-right: none; }
}
@media (max-width: 640px) {
  .inner-hero { padding: 120px 20px 64px; }
  .hero-company-timeline { grid-template-columns: 1fr; }
  .hero-compact { padding: 120px 20px 40px; }
  .prose-block { padding: 48px 20px 64px; }
  .feature-rows { padding: 64px 20px; }
  .cta-strip { padding: 48px 20px; }
  .cta-strip-inner { flex-direction: column; align-items: flex-start; }
  .stat-strip-inner { grid-template-columns: 1fr; }
  .stat-strip-item { border-right: none; border-bottom: 1px solid rgba(15,61,58,0.08); }
  .stat-strip-item:last-child { border-bottom: none; }
}
