/* ============================================================
   Hero — 100vh, background image/video, overlay oscuro
   Inspirado en Liguria.cl: impacto visual máximo
   ============================================================ */

#inicio {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;

  /* Fallback gradient cuando no hay imagen configurada */
  background: linear-gradient(160deg, #0d0d0d 0%, #1a0505 60%, #0d0d0d 100%);
  background-size: cover;
  background-position: center;
}

/* Cuando hay imagen real (parallax) */
#inicio.has-bg {
  background-attachment: fixed;
}

/* ── Overlay ─────────────────────────────────────────────── */
.rd-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.45) 0%,
    rgba(0,0,0,0.60) 50%,
    rgba(0,0,0,0.85) 100%
  );
  z-index: 1;
}

/* ── Video de fondo ──────────────────────────────────────── */
.rd-hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* ── Contenido ───────────────────────────────────────────── */
.rd-hero__body {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-top: 130px;
  padding-bottom: 100px;
}

.rd-hero__inner {
  max-width: 760px;
}

/* Eyebrow label */
.rd-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--rd-font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--rd-dorado);
  margin-bottom: 22px;
}

.rd-hero__eyebrow::before {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: var(--rd-dorado);
}

/* Título principal */
.rd-hero__title {
  font-family: var(--rd-font-serif);
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 700;
  line-height: 1.05;
  color: var(--rd-blanco);
  margin-bottom: 28px;
  text-shadow: 0 2px 30px rgba(0,0,0,0.5);
}

.rd-hero__title em {
  font-style: italic;
  color: var(--rd-dorado);
}

/* Separador */
.rd-hero__line {
  width: 48px;
  height: 1px;
  background: var(--rd-borgona);
  margin-bottom: 28px;
}

/* Descripción */
.rd-hero__desc {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(240,232,220,0.80);
  line-height: 1.75;
  max-width: 540px;
  margin-bottom: 44px;
  text-shadow: 0 1px 6px rgba(0,0,0,0.5);
}

/* CTAs */
.rd-hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

/* ── Indicador de scroll ─────────────────────────────────── */
.rd-hero__scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}

.rd-hero__scroll-mouse {
  width: 22px;
  height: 34px;
  border: 1.5px solid rgba(255,255,255,0.3);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 5px;
}

.rd-hero__scroll-wheel {
  width: 2px;
  height: 6px;
  background: var(--rd-borgona);
  border-radius: 2px;
  animation: rdScroll 1.6s ease infinite;
}

@keyframes rdScroll {
  0%   { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(8px); opacity: 0; }
}

.rd-hero__scroll-label {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-top: 4px;
}

/* ── Responsive ──────────────────────────────────────────── */

/* 1920px+ */
@media (min-width: 1920px) {
  .rd-hero__inner { max-width: 900px; }
  .rd-hero__title { font-size: 7rem; }
}

/* 1024px */
@media (max-width: 1024px) {
  .rd-hero__body { padding-top: 110px; padding-bottom: 80px; }
}

/* 768px */
@media (max-width: 768px) {
  #inicio.has-bg { background-attachment: scroll; }
  .rd-hero__body { padding-top: 100px; padding-bottom: 70px; }
  .rd-hero__inner { text-align: center; max-width: 100%; }
  .rd-hero__eyebrow { justify-content: center; }
  .rd-hero__line { margin: 0 auto 28px; }
  .rd-hero__desc { max-width: 100%; margin-left: auto; margin-right: auto; }
  .rd-hero__ctas { justify-content: center; }
}

/* 480px */
@media (max-width: 480px) {
  .rd-hero__body { padding-top: 90px; padding-bottom: 60px; }
  .rd-hero__ctas { flex-direction: column; align-items: center; width: 100%; }
  .rd-hero__ctas .rd-btn { width: 100%; justify-content: center; }
  .rd-hero__scroll { bottom: 20px; }
}

/* 320px */
@media (max-width: 320px) {
  .rd-hero__body { padding-top: 80px; }
}
