/* =============================================================================
   ALPENDRA — hero.css
   Homepage hero + page hero (inner pages)
   ============================================================================= */

/* ── Homepage Hero ────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  background-color: var(--navy);
  overflow: hidden;
  min-height: calc(100vh - 72px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 80px 56px;
  gap: 64px;
}

/* Background canvas (canvas element for animated graphic) */
.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* ── Hero Content (left column) ───────────────────────────────────────────── */
.hero-content {
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--gold);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 24px;
  opacity: 0;
  animation: fadeup 0.7s ease forwards;
  animation-delay: 0.1s;
}

.hero-eyebrow::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background-color: var(--gold);
  flex-shrink: 0;
}

.hero-title {
  font-family: var(--font-display);
  color: var(--white);
  font-weight: 300;
  line-height: 1.1;
  font-size: clamp(44px, 5vw, 76px);
  margin-bottom: 24px;
  opacity: 0;
  animation: fadeup 0.7s ease forwards;
  animation-delay: 0.25s;
}

.hero-title em {
  color: var(--gold);
  font-style: italic;
}

.hero-body {
  color: rgba(255, 255, 255, 0.72);
  font-size: 17px;
  line-height: 1.75;
  max-width: 460px;
  margin-bottom: 40px;
  opacity: 0;
  animation: fadeup 0.7s ease forwards;
  animation-delay: 0.4s;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeup 0.7s ease forwards;
  animation-delay: 0.55s;
}

/* ── Hero Stats (right column) ────────────────────────────────────────────── */
.hero-stats {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  opacity: 0;
  animation: faderight 0.8s ease forwards;
  animation-delay: 0.4s;
}

.stat-card {
  background-color: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-left: 3px solid var(--gold);
  padding: 28px 24px;
  opacity: 0;
  animation: fadeup 0.7s ease forwards;
}

.stat-card:nth-child(1) { animation-delay: 0.55s; }
.stat-card:nth-child(2) { animation-delay: 0.70s; }
.stat-card:nth-child(3) { animation-delay: 0.85s; }
.stat-card:nth-child(4) { animation-delay: 1.00s; }

.stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
}

.stat-label {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.06em;
  margin-top: 8px;
}

/* ── Page Hero (inner pages) ──────────────────────────────────────────────── */
.page-hero {
  background-color: var(--navy);
  padding: 80px 56px 64px;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background-color: rgba(200, 164, 93, 0.3);
}

/* ── Breadcrumb ───────────────────────────────────────────────────────────── */
.breadcrumb {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.05em;
  margin-bottom: 20px;
}

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

.breadcrumb a:hover {
  color: var(--gold);
}

.breadcrumb-sep {
  color: rgba(255, 255, 255, 0.3);
}

.page-hero h1 {
  font-family: var(--font-display);
  color: var(--white);
  font-weight: 300;
  font-size: clamp(40px, 4vw, 64px);
  line-height: 1.1;
}

.page-hero-sub {
  color: rgba(255, 255, 255, 0.6);
  font-size: 17px;
  max-width: 560px;
  margin-top: 16px;
  line-height: 1.7;
}

/* ── Responsive ───────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    margin-top: 40px;
  }

  .hero-body {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 60px 24px;
    min-height: calc(100vh - 72px);
  }

  .hero-title {
    font-size: 40px;
  }

  .hero-stats {
    grid-template-columns: 1fr 1fr;
  }

  .page-hero {
    padding: 60px 24px 48px;
  }

  .page-hero h1 {
    font-size: 40px;
  }
}
