/* ==========================================================================
   Hero Section — Pasaporte.cl
   ========================================================================== */

.hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(160deg,
    var(--color-hero-dark) 0%,
    var(--color-hero-mid) 50%,
    var(--color-hero-light) 100%
  );
}

.hero__background {
  position: absolute; inset: 0; z-index: 1;
}
.hero__background img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 30%;
  transition: transform 8s var(--ease-out);
}
.hero:hover .hero__background img { transform: scale(1.03); }

.hero__overlay {
  position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(180deg,
    rgba(10,31,16,0.40) 0%,
    rgba(10,31,16,0.20) 30%,
    rgba(10,31,16,0.50) 70%,
    rgba(10,31,16,0.85) 100%
  );
}

.hero__content {
  position: relative; z-index: 3;
  text-align: center;
  max-width: 850px;
  padding: var(--space-xl);
  padding-top: var(--navbar-height);
}

.hero__badge {
  display: inline-flex; align-items: center; gap: var(--space-sm);
  padding: var(--space-sm) var(--space-lg);
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(8px);
  border: var(--border-thin);
  border-radius: var(--radius-full);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: var(--ls-wide);
  margin-bottom: var(--space-xl);
  animation: fadeInDown var(--duration-slow) var(--ease-out) 0.2s both;
}

.hero__title {
  font-size: var(--fs-display);
  font-weight: var(--fw-extrabold);
  color: var(--color-white);
  line-height: var(--lh-tight);
  letter-spacing: -0.03em;
  margin-bottom: var(--space-lg);
  animation: fadeInUp var(--duration-slow) var(--ease-out) 0.4s both;
}
.hero__title em { font-style: normal; color: var(--color-accent); }

.hero__subtitle {
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  color: rgba(255,255,255,0.8);
  line-height: var(--lh-body);
  max-width: 620px;
  margin-inline: auto;
  margin-bottom: var(--space-2xl);
  animation: fadeInUp var(--duration-slow) var(--ease-out) 0.6s both;
}

.hero__actions {
  display: flex; align-items: center; justify-content: center;
  gap: var(--space-md); flex-wrap: wrap;
  animation: fadeInUp var(--duration-slow) var(--ease-out) 0.8s both;
}

.hero__scroll-indicator {
  position: absolute; bottom: var(--space-2xl);
  left: 50%; transform: translateX(-50%); z-index: 3;
  display: flex; flex-direction: column; align-items: center;
  gap: var(--space-sm);
  color: rgba(255,255,255,0.5);
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: var(--ls-wide);
  animation: bounce 2s infinite;
}
.hero__scroll-indicator svg { width: 20px; height: 20px; stroke: currentColor; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: var(--space-sm);
  padding: 0.85rem 2rem;
  font-family: var(--font-heading);
  font-size: var(--fs-small);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  border-radius: var(--radius-full);
  transition: all var(--duration-base) var(--ease-out);
  text-decoration: none;
  white-space: nowrap;
  position: relative; overflow: hidden;
}

.btn--primary {
  background-color: var(--color-accent);
  color: var(--color-hero-dark);
  box-shadow: 0 4px 20px rgba(240,192,64,0.3);
}
.btn--primary:hover {
  background-color: var(--color-accent-hover);
  color: var(--color-hero-dark);
  box-shadow: 0 6px 30px rgba(240,192,64,0.4);
  transform: translateY(-2px);
}

.btn--outline {
  background-color: transparent;
  color: var(--color-white);
  border: 2px solid rgba(255,255,255,0.35);
}
.btn--outline:hover {
  color: var(--color-white);
  border-color: var(--color-white);
  background-color: rgba(255,255,255,0.08);
  transform: translateY(-2px);
}

.btn--sm { padding: 0.6rem 1.4rem; font-size: var(--fs-xs); }
