/* =============================================
   STRANGER THINGS — COMUNIÓN DE MARGA
   ============================================= */

:root {
  --bg:       #080810;
  --bg2:      #0f0e1a;
  --panel:    #13111f;
  --accent:   #e50914;
  --accent2:  #4bd3ff;
  --accent3:  #ffdd00;
  --muted:    #a09db8;
  --text:     #f0eeff;
  --radius:   16px;
  --radius-sm: 10px;
  --glow-r:   0 0 22px rgba(229, 9, 20, 0.55);
  --glow-b:   0 0 22px rgba(75, 211, 255, 0.45);
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Space Grotesk', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  min-height: 100vh;
}
img { max-width: 100%; display: block; }
p { margin: 0 0 1em; }
h1,h2,h3 { margin: 0 0 0.5em; line-height: 1.1; }
a { color: inherit; }

/* ---- Background gradients ---- */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 40% at 5% 5%,   rgba(229,9,20,0.10) 0%, transparent 60%),
    radial-gradient(ellipse 50% 35% at 95% 10%,  rgba(75,211,255,0.09) 0%, transparent 55%),
    radial-gradient(ellipse 70% 30% at 50% 100%, rgba(229,9,20,0.07) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

/* ---- Noise + Scanlines ---- */
.noise, .scanlines {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 1;
}
.noise {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: 0.6;
  mix-blend-mode: overlay;
}
.scanlines {
  background: repeating-linear-gradient(
    to bottom,
    transparent 0px,
    transparent 2px,
    rgba(0,0,0,0.08) 2px,
    rgba(0,0,0,0.08) 4px
  );
  opacity: 0.5;
}

/* ---- Particles ---- */
#particles {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 2;
}
#particles span {
  position: absolute;
  border-radius: 50%;
  mix-blend-mode: screen;
}

/* ---- Layout ---- */
.container {
  width: min(1100px, 93vw);
  margin: 0 auto;
  position: relative;
  z-index: 3;
}

/* ---- NAV ---- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(16px, 4vw, 40px);
  height: 60px;
  background: rgba(8, 8, 16, 0.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(229, 9, 20, 0.2);
}
.nav.scrolled {
  border-bottom-color: rgba(229, 9, 20, 0.4);
  box-shadow: 0 2px 20px rgba(0,0,0,0.6);
}
.logo {
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--accent);
  text-decoration: none;
  letter-spacing: 0.1em;
  text-shadow: var(--glow-r);
  display: flex;
  align-items: center;
  gap: 8px;
}
.logo-icon { font-size: 0.85em; opacity: 0.7; }
.nav-links { display: flex; gap: 4px; }
.nav-links a {
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
  padding: 8px 14px;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover {
  color: var(--text);
  background: rgba(229, 9, 20, 0.1);
}
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--text);
  padding: 6px 10px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1.1rem;
}

/* ---- HERO ---- */
.hero {
  padding: clamp(40px, 6vw, 80px) 0 clamp(30px, 5vw, 60px);
  position: relative;
}
.hero-bg-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Cinzel', serif;
  font-size: clamp(80px, 18vw, 200px);
  font-weight: 900;
  letter-spacing: 0.1em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(229, 9, 20, 0.08);
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
  z-index: 0;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 5vw, 60px);
  align-items: center;
}

/* Eyebrow */
.eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent2);
  margin: 0 0 12px;
}

/* Stranger title */
.stranger-title {
  font-family: 'Cinzel', serif;
  font-weight: 900;
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  letter-spacing: 0.04em;
  color: var(--text);
  text-shadow:
    0 0 12px rgba(229, 9, 20, 0.8),
    0 0 30px rgba(229, 9, 20, 0.4),
    0 0 60px rgba(75, 211, 255, 0.3);
  margin: 0 0 20px;
  line-height: 1.05;
  transition: opacity 0.1s, text-shadow 0.1s;
}
.stranger-title.is-dim {
  opacity: 0.7;
  text-shadow:
    0 0 6px rgba(229, 9, 20, 0.4),
    0 0 15px rgba(229, 9, 20, 0.2);
}

.lead {
  font-size: 1.05rem;
  line-height: 1.75;
  color: #ccc8df;
  margin: 0 0 24px;
}
.lead strong { color: var(--text); }

/* ---- Guirnalda ---- */
.light-string {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  padding: 10px 0 6px;
  position: relative;
  margin-bottom: 20px;
}
.light-string::before {
  content: '';
  position: absolute;
  top: 14px;
  left: 4px;
  right: 4px;
  height: 2px;
  background: linear-gradient(90deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.12) 50%, rgba(255,255,255,0.05) 100%);
  border-radius: 2px;
}
.light-string span {
  width: 18px;
  height: 22px;
  border-radius: 4px 4px 6px 6px;
  background: var(--c);
  box-shadow: 0 0 10px var(--c), 0 0 22px var(--c);
  animation: bulb-blink 4s ease-in-out infinite;
  animation-delay: calc(var(--i) * 0.38s);
  cursor: pointer;
  transition: transform 0.1s;
  position: relative;
}
.light-string span::after {
  content: '';
  position: absolute;
  top: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 6px;
  background: rgba(255,255,255,0.2);
  border-radius: 2px 2px 0 0;
}
.light-string span:hover {
  transform: scale(1.3);
  box-shadow: 0 0 18px var(--c), 0 0 36px var(--c);
}
@keyframes bulb-blink {
  0%, 70%, 100% { opacity: 1; }
  75% { opacity: 0.15; box-shadow: none; }
  80% { opacity: 1; }
}

/* ---- Botones ---- */
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 999px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--text);
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.25s, opacity 0.2s;
  white-space: nowrap;
  background: none;
}
.btn-primary {
  background: linear-gradient(130deg, #b3060f, #e50914, #c8163e);
  border-color: rgba(229, 9, 20, 0.6);
  box-shadow: 0 6px 24px rgba(229, 9, 20, 0.4), inset 0 1px 0 rgba(255,255,255,0.15);
}
.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 12px 36px rgba(229, 9, 20, 0.55), var(--glow-r);
}
.btn-ghost {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.15);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.09);
  transform: translateY(-1px);
}
.btn-large {
  padding: 16px 32px;
  font-size: 1.05rem;
  margin-top: 8px;
}
.full-w { width: 100%; margin-top: 12px; }

/* ---- Foto ---- */
.hero-photo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

/* Wrapper con enredaderas SVG superpuestas */
.photo-wrapper {
  position: relative;
  width: min(360px, 82vw);
}
.vines-svg {
  position: absolute;
  inset: -18px;
  width: calc(100% + 36px);
  height: calc(100% + 36px);
  pointer-events: none;
  z-index: 2;
  /* Animación leve de respiración */
  animation: vine-sway 8s ease-in-out infinite;
  filter: drop-shadow(0 0 4px rgba(229,9,20,0.3));
}
@keyframes vine-sway {
  0%,100% { transform: scale(1) rotate(0deg); }
  33% { transform: scale(1.008) rotate(0.3deg); }
  66% { transform: scale(1.005) rotate(-0.2deg); }
}
.vine-group { animation: vine-pulse 5s ease-in-out infinite alternate; }
.vine-group:nth-child(2) { animation-delay: 1s; }
.vine-group:nth-child(3) { animation-delay: 2s; }
.vine-group:nth-child(4) { animation-delay: 3s; }
@keyframes vine-pulse {
  0% { opacity: 0.75; }
  100% { opacity: 1; }
}

.photo-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 3/4;
  border-radius: var(--radius);
  overflow: hidden;
  border: 2px solid rgba(229, 9, 20, 0.75);
  box-shadow:
    0 20px 70px rgba(0,0,0,0.85),
    0 0 45px rgba(229,9,20,0.45),
    0 0 90px rgba(229,9,20,0.2),
    0 0 120px rgba(229,9,20,0.08),
    inset 0 0 50px rgba(0,0,0,0.6);
  animation: frame-pulse 4s ease-in-out infinite;
}
@keyframes frame-pulse {
  0%,100% { box-shadow: 0 20px 70px rgba(0,0,0,0.85), 0 0 45px rgba(229,9,20,0.45), 0 0 90px rgba(229,9,20,0.2), inset 0 0 50px rgba(0,0,0,0.6); }
  50%      { box-shadow: 0 20px 70px rgba(0,0,0,0.85), 0 0 60px rgba(229,9,20,0.65), 0 0 110px rgba(229,9,20,0.3), inset 0 0 50px rgba(0,0,0,0.6); }
}
.photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  /* Desaturado, alto contraste, tinte rojizo-oscuro */
  filter:
    saturate(0.25)
    contrast(1.35)
    brightness(0.72)
    sepia(0.35)
    hue-rotate(320deg);
  transition: filter 1.5s ease;
}
/* Al hacer hover sobre la foto recupera algo de color, como si "saliera" del Upside Down */
.photo-frame:hover img {
  filter:
    saturate(0.65)
    contrast(1.15)
    brightness(0.88)
    sepia(0.15)
    hue-rotate(340deg);
}
.photo-glow {
  position: absolute;
  inset: 0;
  background:
    /* Vignette negra agresiva */
    radial-gradient(ellipse 85% 90% at 50% 50%, transparent 40%, rgba(0,0,0,0.75) 100%),
    /* Tinte rojo sangre desde abajo */
    radial-gradient(ellipse 100% 60% at 50% 100%, rgba(139,0,0,0.55) 0%, transparent 65%),
    /* Pulso azul-frío desde arriba (Upside Down) */
    radial-gradient(ellipse 80% 40% at 50% 0%, rgba(20,60,80,0.45) 0%, transparent 60%),
    /* Esquina superior izquierda oscura */
    radial-gradient(ellipse 50% 50% at 0% 0%, rgba(0,0,0,0.5) 0%, transparent 55%),
    /* Esquina inferior derecha oscura */
    radial-gradient(ellipse 50% 50% at 100% 100%, rgba(0,0,0,0.5) 0%, transparent 55%);
  mix-blend-mode: multiply;
  pointer-events: none;
  animation: glow-breathe 5s ease-in-out infinite;
}
@keyframes glow-breathe {
  0%,100% { opacity: 1; }
  50%      { opacity: 0.8; }
}
/* Capa extra de esporas/partículas sobre la foto */
.photo-spores {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
  border-radius: var(--radius);
}
.photo-spore {
  position: absolute;
  border-radius: 50%;
  background: rgba(229,9,20,0.6);
  box-shadow: 0 0 6px rgba(229,9,20,0.8);
  animation: spore-float linear infinite;
}
@keyframes spore-float {
  0%   { transform: translateY(100%) scale(0); opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 0.6; }
  100% { transform: translateY(-120%) scale(1.3); opacity: 0; }
}
/* Grietas/venas rojas en los bordes interiores */
.photo-cracks {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  background:
    /* Grieta superior */
    linear-gradient(180deg, rgba(229,9,20,0.18) 0%, transparent 12%),
    /* Grieta inferior */
    linear-gradient(0deg, rgba(139,0,0,0.25) 0%, transparent 18%),
    /* Grieta izquierda */
    linear-gradient(90deg, rgba(100,0,0,0.2) 0%, transparent 10%),
    /* Grieta derecha */
    linear-gradient(270deg, rgba(100,0,0,0.2) 0%, transparent 10%);
  border-radius: var(--radius);
  mix-blend-mode: screen;
}
.photo-badge {
  position: absolute;
  bottom: 14px;
  right: 14px;
  background: rgba(8,8,16,0.85);
  border: 1px solid rgba(229,9,20,0.5);
  border-radius: 10px;
  padding: 8px 12px;
  text-align: center;
  backdrop-filter: blur(8px);
  line-height: 1.2;
  z-index: 3;
}
.photo-badge span {
  display: block;
  font-family: 'Cinzel', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent);
  text-shadow: var(--glow-r);
}
.photo-badge small {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--muted);
  text-transform: uppercase;
}
.caption {
  font-size: 0.88rem;
  color: var(--muted);
  text-align: center;
  font-style: italic;
}

/* ---- Countdown ---- */
.countdown {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: clamp(20px,4vw,36px) 0 0;
  margin-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.07);
}
.countdown-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 70px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(229,9,20,0.2);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
}
.countdown-num {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 700;
  color: var(--text);
  text-shadow: 0 0 14px rgba(229,9,20,0.6);
  line-height: 1;
}
.countdown-label {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 4px;
}
.countdown-sep {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  text-shadow: var(--glow-r);
  margin-bottom: 14px;
  animation: sep-blink 1s step-end infinite;
}
@keyframes sep-blink {
  50% { opacity: 0.2; }
}

/* ---- Sections ---- */
.section { padding: clamp(50px,8vw,90px) 0; position: relative; z-index: 3; }
.section-head {
  text-align: center;
  margin-bottom: clamp(28px, 5vw, 48px);
}
.section-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.7rem, 3.5vw, 2.5rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-shadow: 0 0 20px rgba(229,9,20,0.4);
}
.section-sub {
  color: var(--muted);
  font-size: 1.05rem;
  margin: 0;
}

/* ---- Info section ---- */
.section-info {
  background: linear-gradient(180deg, transparent, rgba(229,9,20,0.04) 40%, transparent);
}
.info-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: start;
}
.info-card {
  background: linear-gradient(160deg, rgba(20,18,30,0.98), rgba(10,9,16,0.95));
  border: 1px solid rgba(229,9,20,0.2);
  border-radius: var(--radius);
  padding: clamp(18px, 3vw, 28px);
  box-shadow: 0 8px 40px rgba(0,0,0,0.5);
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.info-card:hover {
  border-color: rgba(229,9,20,0.45);
  box-shadow: 0 12px 50px rgba(0,0,0,0.6), 0 0 30px rgba(229,9,20,0.1);
}
.info-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.6;
}
.info-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
}
.info-icon {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  background: rgba(229,9,20,0.1);
  border: 1px solid rgba(229,9,20,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.info-time {
  font-family: 'Cinzel', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent2);
  text-shadow: var(--glow-b);
  margin: 4px 0 0;
}
.info-card h3 {
  font-family: 'Cinzel', serif;
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: var(--text);
  margin: 0 0 6px;
}
.muted {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
}
.badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(229,9,20,0.15);
  border: 1px solid rgba(229,9,20,0.4);
  color: var(--accent);
}
.badge-blue {
  background: rgba(75,211,255,0.12);
  border-color: rgba(75,211,255,0.35);
  color: var(--accent2);
}
.map-embed {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
  margin: 14px 0;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}
.map-embed iframe {
  width: 100%;
  height: 220px;
  border: 0;
  display: block;
}

/* Divider central */
.info-divider {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding-top: 80px;
  color: rgba(229,9,20,0.5);
}
.divider-line {
  width: 1px;
  flex: 1;
  background: linear-gradient(to bottom, transparent, rgba(229,9,20,0.4), transparent);
  min-height: 60px;
}
.divider-icon {
  font-size: 1.2rem;
  color: var(--accent);
  text-shadow: var(--glow-r);
  animation: pulse-icon 2s ease-in-out infinite;
}
@keyframes pulse-icon {
  0%,100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.2); }
}

/* ---- Formulario section ---- */
.section-form {
  background: linear-gradient(180deg, transparent, rgba(75,211,255,0.03) 50%, transparent);
}
.form-block {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(28px, 5vw, 60px);
  align-items: center;
  background: linear-gradient(145deg, rgba(20,18,30,0.95), rgba(10,9,16,0.9));
  border: 1px solid rgba(229,9,20,0.25);
  border-radius: var(--radius);
  padding: clamp(24px, 5vw, 48px);
  box-shadow: 0 16px 60px rgba(0,0,0,0.5);
  position: relative;
  overflow: hidden;
}
.form-block::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent2), var(--accent), transparent);
}
.form-text .section-title { text-align: left; margin-bottom: 12px; }
.form-text .lead { font-size: 1rem; margin-bottom: 8px; }

/* Demogorgon SVG */
.demogorgon-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.demogorgon-svg {
  width: min(260px, 70vw);
  height: auto;
  filter: drop-shadow(0 0 20px rgba(229,9,20,0.4)) drop-shadow(0 0 40px rgba(229,9,20,0.2));
  animation: demo-breathe 5s ease-in-out infinite;
  cursor: pointer;
  transition: filter 0.3s;
}
.demogorgon-svg:hover,
.demogorgon-svg.angry {
  filter: drop-shadow(0 0 30px rgba(229,9,20,0.7)) drop-shadow(0 0 60px rgba(229,9,20,0.4));
  animation: demo-angry 0.5s ease-in-out;
}
.demogorgon-svg .petals {
  transform-origin: 100px 100px;
  animation: petals-open 5s ease-in-out infinite;
}
.demoEye {
  animation: eye-pulse 3s ease-in-out infinite;
}
@keyframes demo-breathe {
  0%,100% { transform: scale(1); }
  50% { transform: scale(1.04); }
}
@keyframes demo-angry {
  0% { transform: scale(1); }
  30% { transform: scale(1.1) rotate(5deg); }
  60% { transform: scale(1.08) rotate(-4deg); }
  100% { transform: scale(1); }
}
@keyframes petals-open {
  0%,80%,100% { transform: rotate(0deg) scale(1); }
  40% { transform: rotate(8deg) scale(1.06); }
}
@keyframes eye-pulse {
  0%,100% { opacity: 0.9; r: 8; }
  50% { opacity: 0.4; r: 5; }
}
.creature-label {
  font-size: 0.85rem;
  color: var(--muted);
  font-style: italic;
  text-align: center;
  margin: 0;
}

/* ---- Banner hoteles ---- */
.section-hotels-banner {
  padding: 40px 0;
}
.banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  background: rgba(13,12,20,0.8);
  border: 1px solid rgba(75,211,255,0.2);
  border-radius: var(--radius);
  padding: clamp(20px,4vw,36px) clamp(20px,4vw,40px);
  box-shadow: 0 0 40px rgba(75,211,255,0.06);
}
.banner-inner .section-title { margin-bottom: 8px; font-size: 1.5rem; }

/* ---- Reveal animation ---- */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Footer ---- */
.footer {
  padding: clamp(24px, 4vw, 40px) 0 20px;
  border-top: 1px solid rgba(229,9,20,0.15);
  background: rgba(6,5,10,0.9);
  text-align: center;
  position: relative;
  z-index: 3;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 16px;
}
.footer-links {
  display: flex;
  gap: 20px;
}
.footer-links a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.9rem;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--accent2); }
.footer-copy {
  font-size: 0.8rem;
  margin: 0;
  padding: 12px 0 0;
  border-top: 1px solid rgba(255,255,255,0.05);
}

/* ---- Hotel page ---- */
.hotel-hero {
  padding: clamp(30px,5vw,60px) 0 20px;
}
.hotels-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  padding-top: 12px;
}
.hotel-card {
  background: linear-gradient(160deg, rgba(20,18,30,0.98), rgba(10,9,16,0.95));
  border: 1px solid rgba(75,211,255,0.18);
  border-radius: var(--radius);
  padding: clamp(20px,3vw,32px);
  box-shadow: 0 10px 40px rgba(0,0,0,0.4);
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.hotel-card:hover {
  border-color: rgba(75,211,255,0.4);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 24px rgba(75,211,255,0.12);
}
.hotel-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent2), transparent);
  opacity: 0.7;
}
.hotel-num {
  font-family: 'Cinzel', serif;
  font-size: 3rem;
  font-weight: 900;
  color: rgba(75,211,255,0.12);
  position: absolute;
  top: 16px;
  right: 20px;
  line-height: 1;
  user-select: none;
}
.hotel-card h2 {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.1rem, 2.2vw, 1.4rem);
  margin: 0 0 10px;
}
.hotel-card .muted { margin-bottom: 14px; }
.hotel-features {
  list-style: none;
  padding: 0;
  margin: 0 0 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.hotel-features li {
  font-size: 0.9rem;
  color: var(--muted);
  padding: 8px 12px;
  background: rgba(75,211,255,0.05);
  border-left: 2px solid rgba(75,211,255,0.3);
  border-radius: 0 8px 8px 0;
}
.hotels-back {
  margin-top: 48px;
  padding: 32px;
  background: rgba(13,12,20,0.8);
  border: 1px solid rgba(229,9,20,0.2);
  border-radius: var(--radius);
  text-align: center;
}

/* ---- Accessibility / focus ---- */
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--accent2);
  outline-offset: 3px;
  border-radius: 4px;
}

/* =============================================
   RESPONSIVE
   ============================================= */

/* --- Tablet (≤900px) --- */
@media (max-width: 900px) {
  /* Hero */
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .hero-text { order: 1; }
  .hero-photo { order: 2; }

  /* Info cards */
  .info-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .info-divider {
    flex-direction: row;
    padding-top: 0;
    height: 32px;
  }
  .divider-line {
    height: 1px;
    width: auto;
    flex: 1;
    min-height: unset;
    background: linear-gradient(to right, transparent, rgba(229,9,20,0.4), transparent);
  }

  /* Formulario */
  .form-block {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .form-creature { order: -1; }
  .demogorgon-svg { width: min(200px, 55vw); }
}

/* --- Móvil (≤640px) — diseño principal --- */
@media (max-width: 640px) {
  /* NAV */
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: rgba(8,8,16,0.98);
    border-bottom: 1px solid rgba(229,9,20,0.35);
    padding: 8px 16px 16px;
    gap: 4px;
    z-index: 99;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  }
  .nav-links.open a {
    padding: 14px 12px;
    font-size: 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  .nav-toggle { display: block; }

  /* Hero título */
  .stranger-title {
    font-size: clamp(2.2rem, 10vw, 3rem);
  }
  .hero-bg-text { display: none; }
  .hero { padding: 20px 0 30px; }

  /* Lead text más compacto */
  .lead { font-size: 0.97rem; line-height: 1.65; }
  .lead br { display: none; }

  /* Guirnalda: más pequeña en móvil */
  .light-string span { width: 14px; height: 18px; }
  .light-string { gap: 5px; margin-bottom: 16px; }

  /* Botones: siempre ancho completo en móvil */
  .cta-row {
    flex-direction: column;
    gap: 10px;
  }
  .btn {
    width: 100%;
    padding: 15px 20px;
    font-size: 1rem;
  }
  .btn-large { padding: 15px 20px; font-size: 1rem; }

  /* Foto */
  .photo-wrapper { width: min(300px, 78vw); }
  .vines-svg { inset: -12px; width: calc(100% + 24px); height: calc(100% + 24px); }
  .photo-badge span { font-size: 1.4rem; }

  /* Countdown */
  .countdown {
    gap: 4px;
    padding-top: 20px;
  }
  .countdown-item {
    min-width: 0;
    width: calc(25vw - 12px);
    padding: 10px 6px;
  }
  .countdown-num { font-size: clamp(1.3rem, 5.5vw, 1.8rem); }
  .countdown-label { font-size: 0.58rem; }
  .countdown-sep { font-size: 1.4rem; margin-bottom: 10px; }

  /* Secciones */
  .section { padding: 40px 0; }
  .section-title { font-size: clamp(1.4rem, 6vw, 2rem); }
  .section-head { margin-bottom: 24px; }
  .section-sub { font-size: 0.95rem; }

  /* Info cards */
  .map-embed iframe { height: 200px; }
  .info-card { padding: 18px; }
  .info-card h3 { font-size: 1rem; }
  .info-time { font-size: 1.3rem; }

  /* Formulario */
  .form-block { padding: 22px 18px; gap: 20px; }
  .form-text .section-title { font-size: 1.5rem; }
  .demogorgon-svg { width: min(170px, 50vw); }

  /* Banner hoteles */
  .banner-inner {
    flex-direction: column;
    gap: 18px;
    padding: 22px 18px;
  }
  .banner-inner .section-title { font-size: 1.3rem; }
  .banner-inner .btn { width: 100%; }

  /* Footer */
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .footer-links { flex-wrap: wrap; gap: 12px; }

  /* Hoteles page */
  .hotels-grid { grid-template-columns: 1fr; }
  .hotel-num { font-size: 2rem; top: 12px; right: 14px; }
  .hotels-back { padding: 22px 18px; }
}

/* --- Móvil pequeño (≤380px) --- */
@media (max-width: 380px) {
  .stranger-title { font-size: 2rem; }
  .countdown-item { padding: 8px 4px; }
  .countdown-num { font-size: 1.2rem; }
  .countdown-sep { font-size: 1.2rem; }
  .light-string span { width: 12px; height: 15px; }
  .light-string { gap: 4px; }
}
