/* ============================================================
   Recorriendo México — landing.css
   index.html — video de fondo + card central glass clara.
   Mobile-first (375px base), desktop refinements at 768px+.
   ============================================================ */

.landing {
  /* Fallback visible antes de que cargue el video: paleta cálida. */
  background:
    radial-gradient(120% 90% at 50% 0%, #E8B84C 0%, #9C4A38 52%, #2C3E66 100%);
  overflow-x: hidden;
}

/* ---------- Background video ---------- */
.bg-wrap {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

#bg-video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 100vh;
  transform: translate(-50%, -50%);
  object-fit: cover;
}

/* Overlay más sutil: el card claro arriba ya provee contraste */
.bg-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg,
      rgba(26, 20, 16, 0.30) 0%,
      rgba(26, 20, 16, 0.45) 55%,
      rgba(26, 20, 16, 0.60) 100%);
}

/* ---------- Layout ---------- */
.landing-main {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow-y: auto;
  padding: 20px;
}

/* ---------- Central card ---------- */
.landing-card {
  width: 100%;
  max-width: 600px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 36px 28px;
  background: rgba(255, 255, 255, 0.94);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  backdrop-filter: blur(20px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--radius-xl);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.7) inset,
    0 30px 80px rgba(26, 20, 16, 0.32),
    0 12px 32px rgba(26, 20, 16, 0.18);
}

/* ---------- Header ---------- */
.card-head {
  text-align: center;
}

/* Logo como imagen — proporción 20:9 */
.rm-logo {
  display: block;
  width: 200px;
  max-width: 60%;
  aspect-ratio: 20 / 9;
  height: auto;
  margin: 0 auto;
  object-fit: contain;
}

.rm-tagline {
  margin-top: 10px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent);
}

/* ---------- Encabezados de paso ---------- */
.step-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.step-badge {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--color-accent);
  color: #FFFFFF;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(156, 74, 56, 0.28);
}

.step-icon {
  flex-shrink: 0;
  color: var(--color-accent);
}

.step-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.step-title {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  color: var(--color-ink);
  letter-spacing: -0.01em;
}

.step-sub {
  font-size: 13px;
  color: var(--color-ink-muted);
}

/* ---------- Selector de región (mapa) ---------- */
.zone-map-block {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.activity-block {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.zone-map-wrap {
  position: relative;
  width: 100%;
}

/* Imagen base del mapa */
.zone-map-img {
  display: block;
  width: 100%;
  height: auto;
}

/* Capa SVG de hotspots, alineada exactamente sobre la imagen */
.zone-map {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* Áreas clicables 100% transparentes (sin brillo ni resaltado) */
.zone-region {
  cursor: pointer;
  outline: none;
}

.zone-region path {
  fill: #000000;
  fill-opacity: 0;       /* siempre invisible */
  stroke: none;
  pointer-events: all;   /* clicable aunque sea transparente */
}

/* Caption dinámico (zona seleccionada) — tipografía grande y con diseño */
.zone-map-caption {
  min-height: 58px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  text-align: center;
}

.cap-kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-ink-faint);
}

.cap-zone {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--color-accent);
}

.cap-hint {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--color-ink-muted);
}

.zone-all-link {
  align-self: center;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-ink-faint);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  transition: color var(--transition), background var(--transition);
}

.zone-all-link:hover,
.zone-all-link.is-active {
  color: var(--color-accent);
  background: rgba(156, 74, 56, 0.09);
}

/* ---------- Staggered entrance ---------- */
.fade-item {
  animation: rise 560ms var(--ease-out) both;
}

.landing-card > .fade-item:nth-child(1) { animation-delay: 120ms; }
.landing-card > .fade-item:nth-child(2) { animation-delay: 200ms; }
.landing-card > .fade-item:nth-child(3) { animation-delay: 280ms; }
.landing-card > .fade-item:nth-child(4) { animation-delay: 360ms; }
.landing-card > .fade-item:nth-child(5) { animation-delay: 440ms; }

/* ---------- Desktop refinements ---------- */
@media (min-width: 768px) {
  .landing-card {
    gap: 28px;
    padding: 44px 40px;
    border-radius: var(--radius-xl);
  }

  .rm-logo {
    width: 240px;
  }
}
