/* ============================================================
   KMP Energy — hero.css
   Hero section, badge, pillars, stat card
   ============================================================ */

/* ── Hero layout ── */
.hero {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 64px;
  align-items: center;
  padding: 88px 56px 80px;
  min-height: 92vh;
  position: relative;
  overflow: hidden;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

/* Facility photo watermark */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('/assets/images/hero-facility.jpg') center 40% / cover no-repeat;
  opacity: 0.06;
  z-index: 0;
}

/* Engineer photo right side */
.hero::after {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 52%;
  background: url('/assets/images/hero-engineer.jpg') center center / cover no-repeat;
  opacity: 0.5;
  z-index: 1;
  mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.5) 25%, rgba(0,0,0,1) 65%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.5) 25%, rgba(0,0,0,1) 65%);
}

/* All children above background layers */
.hero > * { position: relative; z-index: 2; }
.hero-card { position: relative; z-index: 3; }

/* ── Hero logo ── */
.hero-logo {
  height: 80px;
  width: auto;
  margin-bottom: 24px;
  opacity: 0.9;
}

/* ── Active pilot badge ── */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green-pale);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 6px 16px;
  margin-bottom: 24px;
}

.hero-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green-accent);
  animation: pulse 2s infinite;
  flex-shrink: 0;
}

.hero-badge-text {
  font-size: 12px;
  font-weight: 600;
  color: var(--green-mid);
  letter-spacing: 0.06em;
}

/* ── Headline ── */
.hero h1 {
  font-family: var(--font-display);
  font-size: 58px;
  line-height: 1.05;
  color: var(--green-dark);
  margin-bottom: 24px;
}
.hero h1 em {
  font-style: italic;
  color: var(--green-accent);
}

/* ── Description ── */
.hero-desc {
  font-size: 17px;
  line-height: 1.8;
  color: var(--mid);
  max-width: 480px;
  margin-bottom: 36px;
  font-weight: 300;
}

/* ── Three pillars summary ── */
.hero-pillars {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 40px;
}

.hero-pillar {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--charcoal);
  font-weight: 500;
}

.hero-pillar-icon {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-sm);
  background: var(--green-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}

/* ── Hero stat card ── */
.hero-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  border-top: 3px solid var(--green-accent);
  box-shadow: var(--shadow-lg);
}

.hc-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--light-text);
  margin-bottom: 6px;
}

.hc-num {
  font-family: var(--font-display);
  font-size: 52px;
  color: var(--green-accent);
  line-height: 1;
}

.hc-unit {
  font-size: 12px;
  color: var(--light-text);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.hc-bars {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 40px;
  margin-bottom: 20px;
}

.hc-bar {
  flex: 1;
  border-radius: 2px 2px 0 0;
  background: var(--border);
  transition: background 0.3s;
}
.hc-bar.on { background: var(--green-accent); }

.hc-divider {
  height: 1px;
  background: var(--border-light);
  margin: 18px 0;
}

.hc-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.hc-stat-lbl {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--light-text);
  margin-bottom: 3px;
}

.hc-stat-val {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--green-dark);
}

.hc-footnote {
  font-size: 11px;
  color: var(--light-text);
  margin-top: 6px;
  text-align: right;
}

/* ── Mission strip ── */
.mission-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--green-dark);
  position: relative;
  overflow: hidden;
}

.mission-strip-watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.06;
  pointer-events: none;
  z-index: 0;
}
.mission-strip-watermark img {
  height: 160px;
  width: auto;
}

.mission-item {
  padding: 32px 28px;
  border-right: 1px solid rgba(255,255,255,0.08);
  position: relative;
  z-index: 1;
}
.mission-item:last-child { border-right: none; }

.mission-num {
  font-family: var(--font-display);
  font-size: 44px;
  color: var(--green-light);
  line-height: 1;
  margin-bottom: 6px;
}

.mission-lbl {
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  font-weight: 300;
  line-height: 1.5;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 56px 24px;
    min-height: auto;
  }
  .hero::after { display: none; }
  .hero h1 { font-size: 38px; }
  .hero-desc { font-size: 15px; }
  .mission-strip { grid-template-columns: 1fr 1fr; }
}
