/* ── Landing Hero ── */
@layer components {
.landing-hero {
  position: relative;
  overflow: hidden;
  border-radius: 0 0 1.5rem 1.5rem;
  margin: -20px -20px 0;
  padding: 4rem 2rem 3.5rem;
  text-align: center;
  background: linear-gradient(
    135deg,
    light-dark(#1b4332, #0d1b14) 0%,
    light-dark(#2d6a4f, #1b4332) 40%,
    light-dark(#40916c, #2d6a4f) 100%
  );
  color: #fff;
}

.landing-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 20% 80%, rgba(255,255,255,0.06) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 20%, rgba(255,255,255,0.04) 0%, transparent 50%);
  pointer-events: none;
}

.landing-hero .hero-img {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid rgba(255,255,255,0.3);
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
  margin-bottom: 1.5rem;
  animation: hero-fade-in 0.6s ease-out both;
}

.landing-hero .hero-fallback-icon {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  border: 4px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 3.5rem;
  color: rgba(255,255,255,0.7);
  animation: hero-fade-in 0.6s ease-out both;
}

.landing-hero h1 {
  font-size: 2.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.25rem;
  animation: hero-fade-in 0.6s 0.1s ease-out both;
}

.landing-hero .motto {
  font-size: 1.15rem;
  font-style: italic;
  opacity: 0.85;
  margin-bottom: 1rem;
  animation: hero-fade-in 0.6s 0.15s ease-out both;
}

/* Secondary line ("Part of <city>") — not a motto, so not italic. */
.landing-hero .motto-subtitle {
  font-style: normal;
  font-size: 1rem;
  opacity: 0.75;
}

/* Fixed-height box so Chart.js has a stable canvas to measure. */
.landing-chart {
  block-size: 220px;
}

.landing-hero .description {
  max-width: 600px;
  margin: 0 auto 2rem;
  font-size: 1.05rem;
  line-height: 1.6;
  opacity: 0.9;
  animation: hero-fade-in 0.6s 0.2s ease-out both;
}

.landing-hero .cta-group {
  animation: hero-fade-in 0.6s 0.3s ease-out both;
}

.landing-hero .btn-cta-primary {
  background: #fff;
  color: #1b4332;
  border: none;
  font-weight: 600;
  padding: 0.65rem 2rem;
  border-radius: 2rem;
  font-size: 1.05rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.landing-hero .btn-cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
  color: #1b4332;
}

.landing-hero .btn-cta-secondary {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.5);
  font-weight: 500;
  padding: 0.6rem 1.75rem;
  border-radius: 2rem;
  font-size: 1.05rem;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.landing-hero .btn-cta-secondary:hover {
  border-color: #fff;
  background: rgba(255,255,255,0.1);
  color: #fff;
}

@keyframes hero-fade-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── Stats Row ── */
.stat-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 2rem;
  padding: 0.4rem 1.25rem;
  font-size: 0.95rem;
  backdrop-filter: blur(4px);
  animation: hero-fade-in 0.6s 0.25s ease-out both;
}

.stat-pill i {
  font-size: 1.1rem;
  opacity: 0.8;
}

.stat-pill strong {
  font-weight: 700;
}

/* ── Health Grid Section ── */
.health-section {
  margin-top: 2.5rem;
}

.health-section .section-heading {
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.health-section .section-heading i {
  color: light-dark(#40916c, #52b788);
  font-size: 1.4rem;
}

/* Status cards reuse the shared .status-card pattern from base.css. */


} /* @layer components */
