/* ========================================
   HERO
   ======================================== */
.hero {
  position: relative;
  background: var(--color-navy-deep);
  color: var(--color-white);
  padding-top: calc(var(--nav-height) + var(--space-20));
  padding-bottom: calc(var(--space-20) + 80px); /* room for stats bar */
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Animated grid background */
.hero__bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(40,168,40,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(40,168,40,0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero__bg-grid::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 40%,
    rgba(13,27,42,0) 0%,
    rgba(13,27,42,0.6) 70%,
    rgba(13,27,42,0.95) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 1;
}

.hero__eyebrow {
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #F59E0B;
  margin-bottom: var(--space-4);
}

.hero__heading {
  font-size: clamp(var(--text-4xl), 7vw, var(--text-6xl));
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: var(--space-6);
  color: var(--color-white);
}

.hero__heading .text-accent {
  position: relative;
  display: inline-block;
}

.hero__heading .text-accent::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 3px;
  background: var(--color-accent-cyan);
  border-radius: 2px;
}

.hero__body {
  font-size: var(--text-lg);
  color: rgba(255,255,255,0.75);
  max-width: 600px;
  line-height: 1.7;
  margin-bottom: var(--space-10);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-bottom: var(--space-12);
}

.hero__certifications {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

/* Stats bar */
.hero__stats {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(8px);
  border-top: 1px solid rgba(40,168,40,0.2);
  padding: var(--space-6) 0;
}

.stats-bar {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
}

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

.stat {
  text-align: center;
}

.stat__number {
  display: block;
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--color-brand-green);
  line-height: 1;
  margin-bottom: var(--space-1);
}

.stat__label {
  display: block;
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}


/* ========================================
   FINAL CTA (dark section on homepage)
   ======================================== */
.final-cta__content {
  text-align: center;
  max-width: 700px;
  margin-inline: auto;
}

.final-cta__heading {
  font-size: clamp(var(--text-2xl), 4vw, var(--text-4xl));
  color: var(--color-white);
  margin-bottom: var(--space-4);
}

.final-cta__body {
  color: rgba(255,255,255,0.65);
  font-size: var(--text-lg);
  margin-bottom: var(--space-10);
}

.final-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  justify-content: center;
}
