/* =============================================================================
   hero.css — SINERGÍA Hero Section
   ============================================================================= */

/* ── Section shell ────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: var(--color-bg);
  /* Radial glow: gold warmth bleeding in from the top-right corner */
  background-image:
    radial-gradient(
      ellipse 60% 50% at 90% -5%,
      rgba(201, 168, 76, 0.18) 0%,
      transparent 70%
    ),
    radial-gradient(
      ellipse 40% 40% at 100% 0%,
      rgba(240, 208, 128, 0.08) 0%,
      transparent 60%
    );
}

/* ── Canvas particle layer ────────────────────────────────────────────────── */
.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.6;
  z-index: 0;
}

/* ── Main content wrapper ─────────────────────────────────────────────────── */
.hero__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100vh;
  padding-top: clamp(96px, 12vw, 160px);
  padding-bottom: clamp(96px, 12vw, 160px);
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
  max-width: var(--container-max);
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}

/* ── Eyebrow label ────────────────────────────────────────────────────────── */
.hero__eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--color-gold);
  font-size: var(--fs-sm);
  font-weight: 600;
  margin-bottom: var(--sp-3);
  display: block;
}

/* ── Hero title ───────────────────────────────────────────────────────────── */
.hero__title {
  font-family: var(--font-display);
  font-size: var(--fs-hero);
  color: var(--color-gold);
  line-height: 0.9;
  font-weight: 900;
  margin: 0 0 var(--sp-4);
  text-shadow: 0 0 80px rgba(201, 168, 76, 0.3);
  letter-spacing: -0.02em;
}

/* ── Subtitle ─────────────────────────────────────────────────────────────── */
.hero__subtitle {
  font-family: var(--font-body);
  font-size: var(--fs-2xl);
  color: var(--color-text);
  font-style: italic;
  margin-bottom: var(--sp-8);
  max-width: 700px;
  line-height: 1.3;
  font-weight: 300;
}

/* ── Pillars row ──────────────────────────────────────────────────────────── */
.hero__pillars {
  display: flex;
  gap: var(--sp-4);
  flex-wrap: wrap;
  margin-bottom: var(--sp-8);
  border-top: 1px solid var(--color-surface-2);
  padding-top: var(--sp-4);
}

.hero__pillar {
  flex: 1;
  min-width: 180px;
}

.hero__pillar-name {
  display: block;
  color: var(--color-gold);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--fs-sm);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: var(--sp-1);
}

.hero__pillar-desc {
  display: block;
  color: var(--color-text-muted);
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  line-height: 1.5;
}

/* ── CTA buttons row ──────────────────────────────────────────────────────── */
.hero__actions {
  display: flex;
  gap: var(--sp-3);
  flex-wrap: wrap;
  align-items: center;
}

/* ── Scroll hint ──────────────────────────────────────────────────────────── */
.hero__scroll-hint {
  position: absolute;
  bottom: var(--sp-4);
  left: 50%;
  transform: translateX(-50%);
  color: var(--color-text-muted);
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: hero-bounce 2s var(--ease-in-out) infinite;
  white-space: nowrap;
  pointer-events: none;
}

@keyframes hero-bounce {
  0%, 100% {
    transform: translateX(-50%) translateY(0);
    opacity: 0.6;
  }
  50% {
    transform: translateX(-50%) translateY(-8px);
    opacity: 1;
  }
}

/* ── Responsive — tablet ──────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero__title {
    line-height: 0.95;
  }
  .hero__subtitle {
    max-width: 100%;
  }
}

/* ── Responsive — mobile ──────────────────────────────────────────────────── */
@media (max-width: 640px) {
  .hero__content {
    justify-content: flex-end;
    padding-bottom: clamp(80px, 14vw, 120px);
  }

  .hero__pillars {
    flex-direction: column;
    gap: var(--sp-3);
  }

  .hero__pillar {
    min-width: unset;
    width: 100%;
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__actions .btn,
  .hero__actions a {
    width: 100%;
    text-align: center;
  }
}
