/* ================================================================
   ECON Tech — Hero Sections
   Covers both the homepage hero slider and subpage heroes.
   ================================================================ */

/* ── Subpage Hero (services + industries) ── */
#page-hero {
  background: linear-gradient(135deg, var(--dark-2) 0%, var(--dark) 60%, #111820 100%);
  min-height: 72vh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 48px) 0 80px;
  position: relative;
  overflow: hidden;
}

#page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 40%, rgba(223,8,8,0.12) 0%, transparent 55%);
}

#page-hero::after {
  content: '';
  position: absolute;
  left: -120px;
  top: -120px;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(223,8,8,0.06) 0%, transparent 70%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

/* ── Breadcrumb ── */
.hero-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 28px;
}

.hero-breadcrumb a {
  color: rgba(255,255,255,0.45);
  transition: color var(--transition);
}

.hero-breadcrumb a:hover { color: var(--red); }
.hero-breadcrumb .sep { color: var(--red); }

/* ── Eyebrow ── */
.hero-eyebrow {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 20px;
}

/* ── H1 ── */
#page-hero h1 {
  font-family: var(--font-head);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 900;
  color: var(--white);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

/* ── Subtitle ── */
.hero-sub {
  font-size: 18px;
  color: rgba(255,255,255,0.65);
  max-width: 600px;
  line-height: 1.7;
  margin-bottom: 40px;
}

/* ── Action buttons row ── */
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 0;
}

/* ── KPI stats row ── */
.hero-kpis {
  display: flex;
  gap: 0;
  flex-wrap: nowrap;
  margin-top: 44px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.hero-kpi {
  flex: 1;
  padding: 0 20px;
  border-right: 1px solid rgba(255,255,255,0.08);
}

.hero-kpi:first-child { padding-left: 0; }
.hero-kpi:last-child  { border-right: none; }

.hero-kpi strong {
  display: block;
  font-family: var(--font-head);
  font-size: 28px;
  font-weight: 800;
  color: var(--red);
  line-height: 1;
}

.hero-kpi p {
  font-size: 12px;
  color: rgba(255,255,255,0.42);
  font-weight: 500;
  margin-top: 5px;
}

/* ── Industry hero accent colors (override ::before per industry) ── */
.hero-accent-blue::before {
  background: radial-gradient(ellipse at 70% 40%, rgba(100,180,220,0.12) 0%, transparent 55%);
}

.hero-accent-green::before {
  background: radial-gradient(ellipse at 70% 40%, rgba(52,211,153,0.12) 0%, transparent 55%);
}

.hero-accent-orange::before {
  background: radial-gradient(ellipse at 70% 40%, rgba(255,140,50,0.15) 0%, transparent 55%);
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .hero-kpis { flex-wrap: wrap; gap: 20px; }
  .hero-kpi  { flex: 0 0 auto; padding: 0; border-right: none; }
}

@media (max-width: 600px) {
  #page-hero { min-height: auto; padding-bottom: 56px; }
  .hero-sub  { font-size: 16px; }
  #page-hero h1 { font-size: clamp(30px, 8vw, 48px); }
}
