/* ============================================================
   ESTILOS · Modo oscuro elegante + responsive
   Los colores se inyectan desde config.js como variables CSS.
   ============================================================ */

:root {
  --accent: #4da3ff;
  --accent-soft: #9ecfff;
  --bg: #070b14;
  --surface: #101826;
  --text: #eaf2ff;
  --text-muted: #8fa3c4;
  --radius: 18px;
  --maxw: 960px;
  --font-serif: "Cormorant Garamond", Georgia, serif;
  --font-sans: "Poppins", system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  overscroll-behavior-x: none;
  height: 100%;
}

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  overscroll-behavior-x: none;
  width: 100%;
  max-width: 100%;
  min-height: 100%;
  position: relative;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  touch-action: pan-y;
}
body.is-gated { overflow: hidden; touch-action: none; }

/* ---------- Puerta de entrada (desbloquea audio en móvil) ---------- */
.gate {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 28px;
  background:
    radial-gradient(900px 500px at 50% 30%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 60%),
    var(--bg);
  transition: opacity 0.55s ease, visibility 0.55s ease;
}
.gate.is-gone {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.gate__glow {
  position: absolute;
  width: 280px; height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--accent) 40%, transparent), transparent 65%);
  filter: blur(30px);
  z-index: -1;
  animation: pulse 5s ease-in-out infinite;
}
.gate__eyebrow {
  letter-spacing: 4px;
  text-transform: uppercase;
  font-size: 0.85rem;
  color: var(--accent-soft);
  margin-bottom: 14px;
}
.gate__title {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 10vw, 4rem);
  font-weight: 600;
  line-height: 1.1;
  background: linear-gradient(135deg, var(--text), var(--accent-soft));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 12px;
}
.gate__sub {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.05rem, 3.5vw, 1.35rem);
  color: var(--text-muted);
  margin-bottom: 32px;
}
.gate__btn {
  border: none;
  border-radius: 999px;
  padding: 16px 36px;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 1.1rem;
  font-weight: 500;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), #7eb8ff);
  box-shadow: 0 12px 36px color-mix(in srgb, var(--accent) 45%, transparent);
  animation: floaty 2.2s ease-in-out infinite;
}
.gate__btn:active { transform: scale(0.97); }

/* Fondo con degradado sutil y viñeta */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(1200px 600px at 50% -10%, color-mix(in srgb, var(--accent) 18%, transparent), transparent 60%),
    radial-gradient(900px 700px at 100% 100%, color-mix(in srgb, var(--accent-soft) 8%, transparent), transparent 55%),
    var(--bg);
}

section { padding: 90px 22px; max-width: var(--maxw); margin: 0 auto; }

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 5vw, 3rem);
  font-weight: 600;
  text-align: center;
  margin-bottom: 42px;
  letter-spacing: 0.5px;
}
.section-title::after {
  content: "";
  display: block;
  width: 60px; height: 2px;
  margin: 16px auto 0;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

/* ---------- Reproductor de música ---------- */
.player {
  position: fixed;
  top: 14px;
  left: 14px;
  right: 14px;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 16px 8px 8px;
  background: color-mix(in srgb, var(--surface) 82%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid color-mix(in srgb, var(--accent) 22%, transparent);
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
  width: max-content;
  max-width: calc(100% - 28px);
  margin-inline: auto;
}
.player__toggle {
  flex: 0 0 auto;
  width: 42px; height: 42px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  background: linear-gradient(135deg, var(--accent), var(--accent-soft));
  color: #fff;
  font-size: 0.9rem;
  display: grid;
  place-items: center;
  transition: transform 0.2s ease;
}
.player__toggle:hover { transform: scale(1.08); }
.player__toggle:active { transform: scale(0.95); }
.player__icon--pause { display: none; }
.player.is-playing .player__icon--play { display: none; }
.player.is-playing .player__icon--pause { display: inline; }

.player__info { display: flex; flex-direction: column; min-width: 0; line-height: 1.2; }
.player__title { font-size: 0.92rem; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player__artist { font-size: 0.78rem; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.player__bars { display: flex; align-items: flex-end; gap: 3px; height: 20px; padding-right: 4px; }
.player__bars span {
  width: 3px; height: 6px; border-radius: 2px;
  background: var(--accent-soft);
  opacity: 0.35;
}
.player.is-playing .player__bars span { animation: bars 0.9s ease-in-out infinite; opacity: 1; }
.player.is-playing .player__bars span:nth-child(2) { animation-delay: 0.15s; }
.player.is-playing .player__bars span:nth-child(3) { animation-delay: 0.3s; }
.player.is-playing .player__bars span:nth-child(4) { animation-delay: 0.45s; }
@keyframes bars { 0%,100% { height: 5px; } 50% { height: 18px; } }

/* ---------- Hero ---------- */
.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  padding-top: 90px;
}
.hero__glow {
  position: absolute;
  width: min(380px, 80vw);
  height: min(380px, 80vw);
  left: 50%;
  top: 40%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--accent) 40%, transparent), transparent 65%);
  filter: blur(40px);
  z-index: -1;
  pointer-events: none;
  animation: pulse 6s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { transform: scale(1); opacity: 0.7; } 50% { transform: scale(1.15); opacity: 1; } }

.hero__eyebrow { color: var(--accent-soft); letter-spacing: 4px; text-transform: uppercase; font-size: 0.95rem; margin-bottom: 18px; }
.hero__title {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 11vw, 6rem);
  font-weight: 600;
  line-height: 1.05;
  background: linear-gradient(135deg, var(--text), var(--accent-soft));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__subtitle {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.1rem, 3.5vw, 1.6rem);
  color: var(--text-muted);
  margin-top: 18px;
  min-height: 1.6em;
}
.hero__subtitle::after { content: "|"; margin-left: 2px; animation: caret 1s step-end infinite; color: var(--accent); }
.hero__subtitle.done::after { content: ""; }
@keyframes caret { 50% { opacity: 0; } }

.hero__scroll {
  position: absolute;
  bottom: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: clamp(1rem, 3.2vw, 1.15rem);
  color: var(--text-muted);
  letter-spacing: 1.5px;
  animation: floaty 2s ease-in-out infinite;
  max-width: 90%;
  text-align: center;
  line-height: 1.35;
}
.hero__arrow { font-size: 1.85rem; line-height: 1; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(8px); } }

/* ---------- Contador ---------- */
.counter__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.counter__cell {
  background: color-mix(in srgb, var(--surface) 90%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 14%, transparent);
  border-radius: var(--radius);
  padding: 26px 10px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}
.counter__num {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 7vw, 3.4rem);
  font-weight: 600;
  color: var(--accent-soft);
  font-variant-numeric: tabular-nums;
}
.counter__label { font-size: 0.9rem; text-transform: uppercase; letter-spacing: 2px; color: var(--text-muted); }
.counter__note { text-align: center; margin-top: 26px; color: var(--text-muted); font-style: italic; font-family: var(--font-serif); font-size: clamp(1.15rem, 3vw, 1.35rem); }

/* ---------- Carrusel ---------- */
.carousel__frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  aspect-ratio: 3 / 4;
  max-height: 70vh;
  margin: 0 auto;
  background: var(--surface);
}
@media (min-width: 700px) { .carousel__frame { aspect-ratio: 4 / 3; } }

.carousel__track { display: flex; height: 100%; transition: transform 0.7s cubic-bezier(0.65,0,0.35,1); }
.carousel__slide { min-width: 100%; height: 100%; position: relative; }
.carousel__slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.carousel__frame::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.55), transparent 45%);
  pointer-events: none;
}
.carousel__caption {
  position: absolute;
  bottom: 18px; left: 0; right: 0;
  text-align: center;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.15rem, 3.5vw, 1.4rem);
  padding: 0 20px;
  z-index: 2;
  text-shadow: 0 2px 8px rgba(0,0,0,0.7);
}
.carousel__nav {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(0,0,0,0.35);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 1.6rem;
  cursor: pointer;
  z-index: 3;
  display: grid;
  place-items: center;
  transition: background 0.2s ease;
}
.carousel__nav:hover { background: var(--accent); }
.carousel__nav--prev { left: 12px; }
.carousel__nav--next { right: 12px; }

.carousel__dots { display: flex; justify-content: center; gap: 8px; margin-top: 20px; }
.carousel__dot {
  width: 9px; height: 9px; border-radius: 50%;
  border: none; cursor: pointer;
  background: color-mix(in srgb, var(--text-muted) 50%, transparent);
  transition: all 0.3s ease;
}
.carousel__dot.is-active { background: var(--accent); width: 26px; border-radius: 5px; }

/* ---------- Historia (máquina de escribir) ---------- */
.story { display: flex; flex-direction: column; gap: 70px; }
.story__block { max-width: 640px; margin: 0 auto; text-align: center; }
.story__block h3 {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 5vw, 2.2rem);
  margin-bottom: 18px;
  color: var(--accent-soft);
}
.story__block p {
  font-size: clamp(1.05rem, 2.6vw, 1.25rem);
  color: var(--text);
  min-height: 3em;
}
.typewriter-target::after { content: "|"; color: var(--accent); animation: caret 1s step-end infinite; }
.typewriter-target.done::after { content: ""; }

/* ---------- Final ---------- */
.finale { text-align: center; }
.finale__title { font-family: var(--font-serif); font-size: clamp(2rem, 7vw, 3.4rem); color: var(--accent-soft); margin-bottom: 20px; }
.finale__text { font-size: clamp(1.1rem, 3vw, 1.4rem); font-family: var(--font-serif); font-style: italic; min-height: 2em; color: var(--text); }
.finale__signature { margin-top: 24px; color: var(--text-muted); letter-spacing: 1px; }
.finale__heart { font-size: 3.5rem; color: var(--accent); margin-top: 30px; animation: beat 1.4s ease-in-out infinite; }
@keyframes beat { 0%,100% { transform: scale(1); } 15% { transform: scale(1.25); } 30% { transform: scale(1); } 45% { transform: scale(1.18); } }

/* ---------- Footer ---------- */
.footer { text-align: center; padding: 40px 20px 60px; color: var(--text-muted); font-size: 0.95rem; }
.footer__sub { margin-top: 8px; font-size: 0.85rem; opacity: 0.85; }
.footer__heart { color: var(--accent); }

/* ---------- Aparición al hacer scroll ---------- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.9s ease, transform 0.9s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Botón de "stories" ---------- */
.stories-cta { text-align: center; padding-top: 20px; padding-bottom: 20px; }
.stories-cta__hint {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.05rem, 3vw, 1.3rem);
  color: var(--text-muted);
  margin-bottom: 18px;
}
.stories-cta__btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 15px 30px;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 500;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-soft));
  box-shadow: 0 10px 30px color-mix(in srgb, var(--accent) 40%, transparent);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  max-width: calc(100vw - 48px);
  box-sizing: border-box;
}
.stories-cta__btn:hover { transform: translateY(-3px) scale(1.03); box-shadow: 0 16px 40px color-mix(in srgb, var(--accent) 50%, transparent); }
.stories-cta__btn:active { transform: scale(0.97); }
.stories-cta__play {
  display: grid; place-items: center;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  font-size: 0.7rem;
  padding-left: 2px;
}

/* ---------- Ventana "stories" ---------- */
.stories {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  place-items: center;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 16px;
}
.stories.is-open { display: grid; animation: fadeIn 0.3s ease; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.stories__viewport {
  position: relative;
  width: 100%;
  max-width: 440px;
  aspect-ratio: 9 / 16;
  max-height: 92svh;
  border-radius: 20px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 30px 80px rgba(0,0,0,0.6);
}

.stories__stage { position: absolute; inset: 0; }
.stories__media {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.45s ease;
  background: #000;
}
.stories__media.is-active { opacity: 1; }
.stories__viewport::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.45) 0%, transparent 25%, transparent 55%, rgba(0,0,0,0.75) 100%);
  pointer-events: none;
}

/* Barras de progreso superiores (como Instagram) */
.stories__bars {
  position: absolute;
  top: 12px; left: 12px; right: 12px;
  z-index: 4;
  display: flex;
  gap: 5px;
}
.stories__bar {
  flex: 1;
  height: 3px;
  border-radius: 3px;
  background: rgba(255,255,255,0.3);
  overflow: hidden;
}
.stories__bar-fill {
  display: block;
  height: 100%;
  width: 0;
  background: #fff;
  border-radius: 3px;
}

.stories__counter {
  position: absolute;
  top: 26px; left: 16px;
  z-index: 5;
  font-size: 0.78rem;
  letter-spacing: 1.5px;
  color: rgba(255,255,255,0.85);
  text-shadow: 0 1px 6px rgba(0,0,0,0.6);
}

.stories__close {
  position: absolute;
  top: 22px; right: 14px;
  z-index: 5;
  width: 38px; height: 38px;
  border: none;
  border-radius: 50%;
  background: rgba(0,0,0,0.35);
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.stories__copy {
  position: absolute;
  bottom: 36px; left: 20px; right: 20px;
  z-index: 4;
  text-align: center;
  pointer-events: none;
}
.stories__lyric {
  font-family: var(--font-serif);
  font-size: clamp(1.45rem, 6.2vw, 2.1rem);
  font-weight: 600;
  line-height: 1.25;
  color: #fff;
  text-shadow: 0 2px 18px rgba(0,0,0,0.85);
}
.stories__lyric-sub {
  margin-top: 10px;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1rem, 3.8vw, 1.25rem);
  color: var(--accent-soft);
  text-shadow: 0 2px 12px rgba(0,0,0,0.8);
  min-height: 1.4em;
}
.stories__lyric > span,
.stories__lyric-sub > span {
  display: inline-block;
  opacity: 0;
  transform: translateY(14px);
  animation: lyricIn 0.65s ease forwards;
}
@keyframes lyricIn { to { opacity: 1; transform: none; } }

/* Zonas táctiles para navegar (izquierda/derecha) */
.stories__side {
  position: absolute;
  top: 0; bottom: 0;
  width: 35%;
  z-index: 3;
  border: none;
  background: transparent;
  cursor: pointer;
}
.stories__side--prev { left: 0; }
.stories__side--next { right: 0; width: 65%; }

/* ---------- CTA viaje ---------- */
.trip-cta { text-align: center; padding-top: 10px; padding-bottom: 30px; }
.trip-cta__hint {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.05rem, 3vw, 1.3rem);
  color: var(--text-muted);
  margin-bottom: 18px;
}
.trip-cta__btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 15px 28px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent);
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 1.02rem;
  font-weight: 500;
  color: var(--text);
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  max-width: calc(100% - 20px);
  text-align: left;
}
.trip-cta__btn:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  box-shadow: 0 16px 40px color-mix(in srgb, var(--accent) 28%, transparent);
}
.trip-cta__pin { font-size: 1.2rem; }

/* ---------- Modal mapa ---------- */
.trip {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: none;
  place-items: center;
  padding: 16px;
  background: rgba(0,0,0,0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.trip.is-open { display: grid; animation: fadeIn 0.3s ease; }

.trip__panel {
  position: relative;
  width: min(720px, 100%);
  max-height: 94svh;
  overflow: auto;
  background: linear-gradient(180deg, #101a2c, #0a101c 70%);
  border: 1px solid color-mix(in srgb, var(--accent) 28%, transparent);
  border-radius: 22px;
  padding: 28px 18px 22px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.55);
}
.trip__close {
  position: absolute;
  top: 12px; right: 12px;
  width: 38px; height: 38px;
  border: none;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: #fff;
  cursor: pointer;
  font-size: 1.05rem;
}
.trip__title {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 4.5vw, 2.1rem);
  text-align: center;
  color: var(--accent-soft);
  margin-bottom: 8px;
  padding: 0 30px;
}
.trip__hint {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.trip__map-wrap {
  position: relative;
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
}
.trip__map svg {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 10px 24px rgba(0,0,0,0.45));
}
.trip__map path {
  fill: color-mix(in srgb, var(--surface) 70%, #1a2a44);
  stroke: color-mix(in srgb, var(--accent) 35%, #23324d);
  stroke-width: 1.2;
  cursor: pointer;
  transition: fill 0.2s ease, stroke 0.2s ease, filter 0.2s ease;
}
.trip__map path:hover,
.trip__map path.is-hot {
  fill: color-mix(in srgb, var(--accent) 55%, #1a2a44);
  stroke: var(--accent-soft);
  filter: brightness(1.15);
}
.trip__map path.is-selected {
  fill: var(--accent);
  stroke: #fff;
  stroke-width: 1.6;
}

.trip__pin {
  position: absolute;
  z-index: 3;
  font-size: 1.8rem;
  line-height: 1;
  transform: translate(-50%, -100%) scale(0);
  pointer-events: none;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.55));
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.trip__pin.is-dropped { transform: translate(-50%, -100%) scale(1); }

/* Popup destino */
.trip-popup {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: none;
  place-items: center;
  padding: 20px;
  background: rgba(0,0,0,0.55);
}
.trip-popup.is-open { display: grid; animation: fadeIn 0.25s ease; }
.trip-popup__card {
  position: relative;
  width: min(420px, 100%);
  text-align: center;
  padding: 34px 26px 28px;
  border-radius: 22px;
  background: linear-gradient(165deg, #15233a, #0c1422);
  border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent);
  box-shadow: 0 24px 60px rgba(0,0,0,0.5);
  overflow: hidden;
}
.trip-popup__glow {
  position: absolute;
  width: 220px; height: 220px;
  top: -80px; left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, color-mix(in srgb, var(--accent) 45%, transparent), transparent 70%);
  pointer-events: none;
}
.trip-popup__eyebrow {
  position: relative;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.72rem;
  color: var(--accent-soft);
  margin-bottom: 10px;
}
.trip-popup__title {
  position: relative;
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 5vw, 2.3rem);
  color: #fff;
  margin-bottom: 14px;
}
.trip-popup__text {
  position: relative;
  font-size: 1.1rem;
  line-height: 1.45;
  color: var(--text);
  margin-bottom: 10px;
}
.trip-popup__text strong {
  color: var(--accent-soft);
  font-weight: 600;
}
.trip-popup__sub {
  position: relative;
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--text-muted);
  margin-bottom: 22px;
}
.trip-popup__btn {
  position: relative;
  border: none;
  border-radius: 999px;
  padding: 12px 26px;
  cursor: pointer;
  font-family: var(--font-sans);
  font-weight: 500;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), #7eb8ff);
}

/* ---------- Voto ---------- */
.vow { text-align: center; max-width: 680px; }
.vow__lines {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 8px;
}
.vow__line {
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 4vw, 1.75rem);
  line-height: 1.35;
  color: var(--text);
  font-style: italic;
}
.vow__line:first-child {
  color: var(--accent-soft);
  font-style: normal;
  font-weight: 600;
  font-size: clamp(1.55rem, 5vw, 2.2rem);
}

/* ---------- Corazones flotantes ---------- */
.hearts-layer {
  position: fixed;
  inset: 0;
  z-index: 40;
  overflow: hidden;
  pointer-events: none;
  /* Aísla el layout: los corazones no pueden ensanchar la página */
  contain: strict;
}
.heart-particle {
  position: absolute;
  pointer-events: none;
  user-select: none;
  will-change: transform, opacity;
  animation: floatUp 1.1s ease-out forwards;
  max-width: 2rem;
  line-height: 1;
}
@keyframes floatUp {
  0% { transform: translate(-50%, -50%) scale(0.4); opacity: 0; }
  15% { opacity: 1; }
  100% { transform: translate(-50%, -180%) scale(1.1); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
