@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700;900&family=Lato:wght@300;400;700&family=Cinzel+Decorative:wght@400;700&display=swap');

/* ===== VARIABLES ===== */
:root {
  --oro: #d4af37;
  --oro-claro: #f5d76e;
  --violeta: #7b2ff7;
  --violeta-oscuro: #4a0e8f;
  --violeta-glow: rgba(123, 47, 247, 0.4);
  --indigo: #1a0533;
  --negro: #080010;
  --blanco: #f0e8ff;
  --blanco-suave: rgba(240, 232, 255, 0.85);
  --glass: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(212, 175, 55, 0.2);
  --shadow-magic: 0 0 40px rgba(123, 47, 247, 0.3), 0 0 80px rgba(212, 175, 55, 0.1);
}

/* ===== RESET & BASE (mobile-first) ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Lato', sans-serif;
  background: var(--negro);
  color: var(--blanco);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  -webkit-tap-highlight-color: transparent;
}
img { max-width: 100%; display: block; }
button { touch-action: manipulation; }

/* ===== FONDO HERO FIJO — HADAS Y ALAS ===== */
.cosmic-bg {
  position: fixed;
  inset: 0;
  background: url('../images/hero-bg.png') center/cover no-repeat;
  z-index: 0;
}
.cosmic-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(40,8,90,0.45) 0%, rgba(8,0,20,0.82) 75%);
}

/* ===== PARTÍCULAS ESTRELLA ===== */
#particles {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}
.particle {
  position: absolute;
  border-radius: 50%;
  background: var(--oro-claro);
  animation: flotar linear infinite;
  box-shadow: 0 0 6px var(--oro-claro);
}
@keyframes flotar {
  0%   { transform: translateY(0) scale(1); opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { transform: translateY(-80px) scale(0.5); opacity: 0; }
}

/* ===== HADAS FLOTANTES ===== */
#hadas-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}
.hada {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: hadaFlotar ease-in-out infinite;
  filter: drop-shadow(0 0 8px rgba(212,175,55,0.6)) drop-shadow(0 0 20px rgba(180,100,255,0.4));
}
.hada svg {
  width: 28px;
  height: 28px;
  fill: rgba(245, 215, 110, 0.75);
  filter: drop-shadow(0 0 4px var(--oro));
}
/* Brillo que emana de cada hada */
.hada::after {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--oro-claro);
  box-shadow: 0 0 10px 4px rgba(245,215,110,0.5);
  margin-top: -4px;
  animation: hadarello 1.5s ease-in-out infinite alternate;
}
@keyframes hadarello {
  from { opacity: 0.4; transform: scale(0.8); }
  to   { opacity: 1;   transform: scale(1.4); }
}
@keyframes hadaFlotar {
  0%   { transform: translateY(0px) translateX(0px) rotate(-4deg); opacity: 0; }
  5%   { opacity: 1; }
  30%  { transform: translateY(-30px) translateX(15px) rotate(3deg); }
  55%  { transform: translateY(-15px) translateX(-10px) rotate(-2deg); }
  80%  { transform: translateY(-40px) translateX(8px) rotate(4deg); }
  95%  { opacity: 1; }
  100% { transform: translateY(-120px) translateX(5px) rotate(-3deg); opacity: 0; }
}
/* Estela de polvo mágico de la hada */
.hada-trail {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--oro-claro);
  animation: trailFade 1.2s ease-out forwards;
  pointer-events: none;
}
@keyframes trailFade {
  0%   { opacity: 0.8; transform: scale(1); }
  100% { opacity: 0; transform: scale(0.2) translateY(-10px); }
}

/* ===== GATO MÍSTICO (protagonista) ===== */
#gato-mistico {
  position: fixed;
  bottom: 0;
  left: 0;
  /* screen elimina fondos oscuros/grises sobre fondo negro */
  mix-blend-mode: screen;
  width: 220px;
  z-index: 5;
  pointer-events: none;
  transform-origin: bottom left;
  animation: gatoRespira 5s ease-in-out infinite;
  opacity: 0.95;
  /* Máscara radial para fundir la mesa de madera con los bordes de la pantalla */
  -webkit-mask-image: radial-gradient(ellipse 100% 100% at 50% 100%, black 50%, transparent 100%);
  mask-image: radial-gradient(ellipse 100% 100% at 50% 100%, black 50%, transparent 100%);
  filter:
    saturate(1.1)
    brightness(1.1)
    contrast(1.1)
    drop-shadow(0 0 15px rgba(255,255,255,0.1))
    drop-shadow(0 0 5px rgba(212,175,55,0.2));
}
@media (min-width: 480px) {
  #gato-mistico { width: 280px; left: 10px; }
}
@media (min-width: 768px) {
  #gato-mistico { width: 380px; left: 20px; }
}
@media (min-width: 1200px) {
  #gato-mistico { width: 450px; left: 30px; }
}
@keyframes gatoRespira {
  0%, 100% { transform: translateY(0px) scale(1); }
  45%       { transform: translateY(-5px) scale(1.015); }
  75%       { transform: translateY(-2px) scale(1.005); }
}

/* ===== EFECTO HUMO DEL FOOTER ===== */
#smoke-layer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 200px;
  pointer-events: none;
  z-index: 3;
  overflow: hidden;
}
.smoke-particle {
  position: absolute;
  bottom: 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(180,140,255,0.12) 0%, rgba(123,47,247,0.04) 60%, transparent 100%);
  animation: subirHumo ease-out infinite;
  filter: blur(8px);
}
@keyframes subirHumo {
  0%   { transform: translateY(0) scale(1) translateX(0); opacity: 0; }
  15%  { opacity: 1; }
  70%  { opacity: 0.5; }
  100% { transform: translateY(-200px) scale(2.5) translateX(var(--drift,20px)); opacity: 0; }
}

/* ===== CONTENIDO PRINCIPAL ===== */
main { position: relative; z-index: 2; }

/* ===== HEADER (mobile-first) ===== */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1rem;
  border-bottom: 1px solid var(--glass-border);
  background: rgba(8, 0, 16, 0.6);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 100;
}
.logo {
  font-family: 'Cinzel Decorative', serif;
  font-size: 0.85rem;
  color: var(--oro);
  letter-spacing: 0.5px;
  text-shadow: 0 0 20px rgba(212,175,55,0.5);
  white-space: nowrap;
}
.logo span { color: var(--blanco); }
@media (min-width: 480px) {
  .site-header { padding: 1rem 1.5rem; }
  .logo { font-size: 1rem; }
}
@media (min-width: 768px) {
  .site-header { padding: 1.2rem 2rem; }
  .logo { font-size: 1.1rem; }
}

.header-cta {
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #fff;
  border: none;
  padding: 0.5rem 0.9rem;
  border-radius: 50px;
  font-size: 0.78rem;
  cursor: pointer;
  font-weight: 700;
  letter-spacing: 0.5px;
  transition: transform 0.2s, box-shadow 0.2s;
  white-space: nowrap;
  min-height: 44px;
}
@media (min-width: 480px) {
  .header-cta { padding: 0.55rem 1.2rem; font-size: 0.85rem; }
}
.header-cta:hover { transform: scale(1.05); box-shadow: 0 4px 20px rgba(37,211,102,0.4); }

/* ===== PASOS (STEPS) — mobile-first ===== */
.paso {
  display: none;
  min-height: 100svh;
  padding: 2rem 1rem 5rem;
  max-width: 860px;
  margin: 0 auto;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  animation: fadeInUp 0.7s ease;
}
.paso.activo { display: flex; }
@media (min-width: 480px) { .paso { padding: 3rem 1.5rem 5rem; } }
@media (min-width: 768px) { .paso { padding: 4rem 1.5rem 5rem; } }

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ===== PASO 1: HERO ===== */
.hero-eyebrow {
  font-family: 'Cinzel', serif;
  font-size: 0.7rem;
  letter-spacing: 3px;
  color: var(--oro);
  text-transform: uppercase;
  margin-bottom: 1rem;
  opacity: 0.9;
}
@media (min-width: 480px) {
  .hero-eyebrow { font-size: 0.8rem; letter-spacing: 4px; margin-bottom: 1.2rem; }
}
.hero-titulo {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.8rem, 9vw, 4.5rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1.2rem;
  background: linear-gradient(135deg, var(--oro-claro) 0%, #fff 50%, var(--oro) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-subtitulo {
  font-size: clamp(0.9rem, 4vw, 1.2rem);
  color: var(--blanco-suave);
  max-width: 580px;
  line-height: 1.7;
  margin-bottom: 2rem;
}
.hero-emoji-row {
  font-size: 1.6rem;
  margin-bottom: 1.8rem;
  letter-spacing: 0.4rem;
  animation: pulsarEmoji 2s ease-in-out infinite alternate;
}
@media (min-width: 480px) { .hero-emoji-row { font-size: 2rem; letter-spacing: 0.5rem; } }
@keyframes pulsarEmoji {
  from { filter: drop-shadow(0 0 5px var(--oro)); }
  to   { filter: drop-shadow(0 0 20px var(--oro)); }
}

/* ===== BOTONES (mobile-first) ===== */
.btn-primario {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  background: linear-gradient(135deg, var(--violeta) 0%, #9b4ff0 50%, var(--violeta-oscuro) 100%);
  color: #fff;
  border: none;
  padding: 1rem 1.8rem;
  border-radius: 60px;
  font-size: 1rem;
  font-weight: 700;
  font-family: 'Cinzel', serif;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 40px var(--violeta-glow), 0 0 0 1px rgba(212,175,55,0.2);
  letter-spacing: 0.3px;
  position: relative;
  overflow: hidden;
  min-height: 56px;
  width: 100%;
  max-width: 380px;
}
@media (min-width: 480px) {
  .btn-primario { padding: 1.1rem 2.5rem; font-size: 1.15rem; letter-spacing: 0.5px; width: auto; }
}
.btn-primario::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.btn-primario:hover::before { opacity: 1; }
.btn-primario:hover { transform: translateY(-3px); box-shadow: 0 16px 60px var(--violeta-glow), 0 0 0 1px var(--oro); }
.btn-primario:active { transform: translateY(0) scale(0.98); }
.btn-primario span { font-size: 1rem; }
.btn-primario small { font-family: 'Lato', sans-serif; font-size: 0.72rem; opacity: 0.8; font-weight: 300; }

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #fff;
  border: none;
  padding: 1rem 1.6rem;
  border-radius: 60px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 8px 40px rgba(37, 211, 102, 0.4);
  font-family: 'Cinzel', serif;
  min-height: 56px;
  width: 100%;
  max-width: 420px;
}
@media (min-width: 480px) {
  .btn-whatsapp { font-size: 1.1rem; padding: 1.1rem 2.2rem; width: auto; }
}
.btn-whatsapp:hover { transform: translateY(-3px); box-shadow: 0 16px 60px rgba(37,211,102,0.5); }
.btn-whatsapp svg { width: 20px; height: 20px; fill: #fff; flex-shrink: 0; }

.pulsar { animation: pulsarBtn 2s ease-in-out infinite; }
@keyframes pulsarBtn {
  0%, 100% { box-shadow: 0 8px 40px rgba(37,211,102,0.4); }
  50%       { box-shadow: 0 8px 60px rgba(37,211,102,0.8), 0 0 0 8px rgba(37,211,102,0.15); }
}

/* ===== GLASS CARD ===== */
.glass-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 1.8rem 1.2rem;
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-magic);
  width: 100%;
  max-width: 500px;
}
@media (min-width: 480px) {
  .glass-card { border-radius: 24px; padding: 2.5rem 2rem; }
}

/* ===== PASO 2: FORMULARIO ===== */
.paso-titulo {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.3rem, 6vw, 2.5rem);
  color: var(--oro-claro);
  margin-bottom: 0.6rem;
  text-shadow: 0 0 30px rgba(245,215,110,0.4);
}
.paso-subtitulo {
  color: var(--blanco-suave);
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  line-height: 1.6;
}
@media (min-width: 480px) {
  .paso-subtitulo { font-size: 1rem; margin-bottom: 2rem; }
}
.form-group { display: flex; flex-direction: column; gap: 0.5rem; text-align: left; margin-bottom: 1.2rem; }
.form-label {
  font-family: 'Cinzel', serif;
  font-size: 0.75rem;
  letter-spacing: 2px;
  color: var(--oro);
  text-transform: uppercase;
}
.form-input {
  background: rgba(255,255,255,0.07);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 0.9rem 1rem;
  color: var(--blanco);
  font-size: 1rem;
  font-family: 'Lato', sans-serif;
  transition: border 0.3s, box-shadow 0.3s;
  outline: none;
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
}
.form-input::placeholder { color: rgba(240,232,255,0.35); }
.form-input:focus { border-color: var(--violeta); box-shadow: 0 0 0 3px var(--violeta-glow); }
.form-input.error-shake { animation: shake 0.4s linear; border-color: #ff6b6b; }
@keyframes shake {
  0%,100%{transform:translateX(0)} 20%{transform:translateX(-8px)} 40%{transform:translateX(8px)} 60%{transform:translateX(-5px)} 80%{transform:translateX(5px)}
}

.intenciones-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.6rem;
  margin-bottom: 1.2rem;
}
@media (min-width: 400px) {
  .intenciones-grid { gap: 0.75rem; }
}
.intencion-btn {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  padding: 0.8rem 0.4rem;
  color: var(--blanco-suave);
  cursor: pointer;
  font-size: 0.85rem;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  min-height: 70px;
}
.intencion-btn .emoji { font-size: 1.4rem; }
.intencion-btn:hover { background: rgba(123,47,247,0.2); border-color: var(--violeta); }
.intencion-btn.activo {
  background: linear-gradient(135deg, rgba(123,47,247,0.4), rgba(74,14,143,0.3));
  border-color: var(--oro);
  color: var(--oro-claro);
  box-shadow: 0 0 20px rgba(212,175,55,0.2);
}

/* ===== PASO 3: CARTAS (mobile-first) ===== */
.cartas-titulo {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.1rem, 5vw, 2rem);
  color: var(--oro-claro);
  margin-bottom: 0.4rem;
}
.cartas-instruccion { color: var(--blanco-suave); margin-bottom: 1.5rem; font-size: 0.88rem; }

#cartas-container {
  display: flex;
  gap: 0.6rem;
  justify-content: center;
  flex-wrap: nowrap;
  margin-bottom: 1.8rem;
  width: 100%;
}
@media (min-width: 400px) { #cartas-container { gap: 0.9rem; } }
@media (min-width: 600px) { #cartas-container { gap: 1.2rem; } }

.carta-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.carta-wrap.visible { opacity: 1; transform: translateY(0); }

.carta-posicion {
  font-family: 'Cinzel', serif;
  font-size: 0.6rem;
  letter-spacing: 2px;
  color: var(--oro);
  text-transform: uppercase;
}
@media (min-width: 400px) {
  .carta-posicion { font-size: 0.7rem; letter-spacing: 3px; }
}

/* Cartas — tamaño móvil por defecto */
.carta {
  width: 88px;
  height: 148px;
  perspective: 1000px;
  cursor: pointer;
}
@media (min-width: 380px) { .carta { width: 100px; height: 168px; } }
@media (min-width: 480px) { .carta { width: 120px; height: 198px; } }
@media (min-width: 600px) { .carta { width: 140px; height: 230px; } }

.carta-inner {
  width: 100%; height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 14px;
}
.carta.revelada .carta-inner { transform: rotateY(180deg); }

.carta-back, .carta-front {
  position: absolute;
  inset: 0;
  border-radius: 14px;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.6rem;
}
.carta-back {
  background: linear-gradient(135deg, #1a0533, #2d0a5e);
  border: 2px solid var(--oro);
  box-shadow: 0 0 30px var(--violeta-glow), inset 0 0 30px rgba(0,0,0,0.3);
}
.carta-back-pattern { font-size: 1.6rem; margin-bottom: 0.4rem; animation: rotarEmoji 4s linear infinite; }
@media (min-width: 480px) { .carta-back-pattern { font-size: 2rem; } }
@keyframes rotarEmoji { from{transform:rotate(0deg)} to{transform:rotate(360deg)} }
.carta-back-texto { font-size: 0.52rem; color: rgba(212,175,55,0.7); letter-spacing: 1px; text-transform: uppercase; font-family: 'Cinzel', serif; text-align: center; }

.carta-front {
  background: linear-gradient(135deg, #2d0a5e, #4a0e8f, #1a0533);
  border: 2px solid var(--oro);
  transform: rotateY(180deg);
  box-shadow: 0 0 30px var(--violeta-glow), 0 0 60px rgba(212,175,55,0.1);
  gap: 0.25rem;
  text-align: center;
}
.carta-emoji { font-size: 1.4rem; margin-bottom: 0.2rem; }
@media (min-width: 480px) { .carta-emoji { font-size: 1.8rem; } }
.carta-nombre { font-family: 'Cinzel', serif; font-size: 0.65rem; color: var(--oro); letter-spacing: 0.5px; line-height: 1.3; }
.carta-keyword { font-size: 0.55rem; color: var(--oro-claro); opacity: 0.8; letter-spacing: 0.5px; }
.carta-mensaje { font-size: 0.55rem; color: var(--blanco-suave); line-height: 1.4; margin-top: 0.3rem; }
@media (min-width: 600px) {
  .carta-nombre { font-size: 0.75rem; }
  .carta-keyword { font-size: 0.6rem; }
  .carta-mensaje { font-size: 0.62rem; }
}

.carta.pulso .carta-back { animation: pulsoGlow 0.6s ease; }
@keyframes pulsoGlow {
  0%  { box-shadow: 0 0 30px var(--violeta-glow); }
  50% { box-shadow: 0 0 80px var(--violeta), 0 0 120px var(--oro); }
  100%{ box-shadow: 0 0 30px var(--violeta-glow); }
}

/* Detalles de interpretación de las cartas (Tabs) */
.interpretacion-detalles {
  max-width: 500px;
  margin: 1.5rem auto;
  padding: 0 1rem;
}
.interpretacion-tabs-container {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  padding: 1.2rem;
  backdrop-filter: blur(12px);
  animation: slideUpFade 0.4s ease forwards;
}
.tabs-header {
  display: flex;
  border-bottom: 1px solid rgba(212, 175, 55, 0.15);
  margin-bottom: 1rem;
}
.tab-btn {
  flex: 1;
  background: none;
  border: none;
  color: var(--muted);
  font-family: 'Cinzel', serif;
  font-size: 0.75rem;
  letter-spacing: 1px;
  padding: 0.75rem 0.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  text-transform: uppercase;
}
.tab-btn:hover {
  color: var(--oro-claro);
}
.tab-btn.active {
  color: var(--oro);
  font-weight: 700;
}
.tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 15%;
  width: 70%;
  height: 2px;
  background: var(--oro);
  box-shadow: 0 0 10px var(--oro);
}
.tabs-content {
  position: relative;
  min-height: 110px;
}
.tab-panel {
  display: none;
  animation: fadeInTab 0.35s ease forwards;
}
.tab-panel.active {
  display: block;
}
.tab-card-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.6rem;
  border-bottom: 1px dashed rgba(240, 232, 255, 0.1);
  padding-bottom: 0.4rem;
}
.tab-card-title {
  font-family: 'Cinzel', serif;
  font-size: 0.85rem;
  color: var(--oro-claro);
  font-weight: 600;
}
.tab-card-keyword {
  font-size: 0.7rem;
  color: rgba(240, 232, 255, 0.5);
  font-style: italic;
}
.tab-card-text {
  font-size: 0.88rem !important;
  color: var(--blanco-suave) !important;
  line-height: 1.5 !important;
  text-align: left;
  margin: 0 !important;
}

@keyframes fadeInTab {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes slideUpFade {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Mensaje final paso 3 */
#mensaje-final {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
  width: 100%;
}
#mensaje-final.visible { opacity: 1; transform: translateY(0); }
.mensaje-final-content {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 1.5rem 1rem;
  backdrop-filter: blur(12px);
}
@media (min-width: 480px) { .mensaje-final-content { padding: 2rem; } }
.mensaje-final-icon { font-size: 1.8rem; margin-bottom: 0.6rem; }
.mensaje-final-content h3 { font-family: 'Cinzel', serif; font-size: 1rem; color: var(--oro-claro); margin-bottom: 0.7rem; }
@media (min-width: 480px) { .mensaje-final-content h3 { font-size: 1.2rem; } }
.nombre-highlight { color: var(--oro); }
.mensaje-final-content p { color: var(--blanco-suave); line-height: 1.6; margin-bottom: 1.2rem; font-size: 0.88rem; }
@media (min-width: 480px) { .mensaje-final-content p { font-size: 0.95rem; margin-bottom: 1.5rem; } }

/* ===== PASO 4: CTA FINAL ===== */
#paso-4 {
  display: none;
  padding-top: 2rem;
  padding-bottom: 6rem;
}
#paso-4.activo { display: flex; }

.cta-seccion {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  width: 100%;
}
@media (min-width: 480px) { .cta-seccion { gap: 2.5rem; } }

.cta-urgencia {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}
.urgencia-label {
  font-family: 'Cinzel', serif;
  font-size: 0.7rem;
  letter-spacing: 3px;
  color: #ff6b6b;
  text-transform: uppercase;
}
.urgencia-label::before { content: '⚠️ '; }
#countdown {
  font-family: 'Cinzel', serif;
  font-size: 2.2rem;
  color: var(--oro-claro);
  letter-spacing: 4px;
  text-shadow: 0 0 20px rgba(245,215,110,0.6);
  transition: color 0.3s;
}
@media (min-width: 480px) { #countdown { font-size: 2.5rem; } }
#countdown.urgente { color: #ff6b6b; animation: parpadear 1s ease-in-out infinite; }
@keyframes parpadear { 0%,100%{opacity:1} 50%{opacity:0.5} }
.cupos-label { font-size: 0.82rem; color: rgba(240,232,255,0.6); }

/* ===== TESTIMONIOS ===== */
.testimonios { width: 100%; }
.testimonios h3 { font-family: 'Cinzel', serif; color: var(--oro); margin-bottom: 1.2rem; font-size: 1rem; letter-spacing: 1px; }
@media (min-width: 480px) { .testimonios h3 { margin-bottom: 1.5rem; font-size: 1.1rem; } }

/* Testimonios Slider (Mobile-First Scroll Snap) */
.testimonios-slider-wrapper {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  display: flex;
  gap: 1rem;
  padding: 0.5rem 0.5rem 1.5rem;
  scrollbar-width: none; /* Hide Firefox scrollbar */
}
.testimonios-slider-wrapper::-webkit-scrollbar {
  display: none; /* Hide Chrome/Safari scrollbar */
}

/* WhatsApp Chat Mockup */
.whatsapp-chat-mockup {
  scroll-snap-align: start;
  flex: 0 0 88%; /* Mobile: takes 88% width so the next one peaks */
  max-width: 320px;
  background: #0b141a; /* WhatsApp Dark Mode BG */
  border: 1px solid rgba(212, 175, 55, 0.15);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  text-align: left;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(8px);
}

@media (min-width: 768px) {
  .testimonios-slider-wrapper {
    overflow-x: visible;
    scroll-snap-type: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    padding: 0;
  }
  .whatsapp-chat-mockup {
    flex: none;
    max-width: none;
  }
}
.chat-header {
  background: #202c33;
  padding: 0.6rem 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}
.chat-avatar {
  width: 32px;
  height: 32px;
  background: var(--oro);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}
.chat-user-info {
  display: flex;
  flex-direction: column;
}
.chat-name {
  color: #e9edef;
  font-size: 0.8rem;
  font-weight: 600;
}
.chat-status {
  color: #8696a0;
  font-size: 0.65rem;
}
.chat-body {
  background-color: #0b141a;
  background-image: radial-gradient(rgba(31, 44, 52, 0.4) 1px, transparent 0);
  background-size: 12px 12px;
  padding: 0.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  flex-grow: 1;
}
.chat-bubble {
  max-width: 85%;
  padding: 0.5rem 0.7rem;
  border-radius: 8px;
  font-size: 0.78rem;
  line-height: 1.4;
  position: relative;
  word-wrap: break-word;
}
.chat-bubble p {
  margin: 0;
  color: #e9edef !important;
}
.chat-bubble.received {
  background: #202c33;
  align-self: flex-start;
  border-top-left-radius: 0;
}
.chat-bubble.sent {
  background: #005c4b; /* WhatsApp Dark Mode Green */
  align-self: flex-end;
  border-top-right-radius: 0;
}
.chat-time {
  display: block;
  text-align: right;
  font-size: 0.6rem;
  color: #8696a0;
  margin-top: 0.2rem;
}
.chat-bubble.sent .chat-time {
  color: #8696a0;
}
.chat-time .check {
  color: #53bdeb; /* Light blue check */
  margin-left: 0.1rem;
}
.chat-footer-info {
  background: rgba(20, 10, 35, 0.4);
  padding: 0.5rem 0.8rem;
  font-size: 0.7rem;
  color: var(--oro);
  font-family: 'Cinzel', serif;
  text-align: right;
  border-top: 1px solid rgba(212, 175, 55, 0.1);
}

/* ===== WHATSAPP FLOTANTE (mobile-first) ===== */
.whatsapp-float {
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #25d366;
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 0.75rem 1.1rem;
  cursor: pointer;
  box-shadow: 0 8px 30px rgba(37,211,102,0.5);
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 0.82rem;
  animation: flotarBtn 3s ease-in-out infinite;
  transition: transform 0.2s;
}
@media (min-width: 480px) {
  .whatsapp-float { bottom: 1.5rem; right: 1.5rem; padding: 0.9rem 1.4rem; font-size: 0.9rem; }
}
.whatsapp-float:hover { transform: scale(1.05); }
.whatsapp-float svg { width: 20px; height: 20px; fill: #fff; flex-shrink: 0; }
@keyframes flotarBtn {
  0%,100%{transform:translateY(0)} 50%{transform:translateY(-5px)}
}

/* ===== EXIT POPUP ===== */
#exit-popup {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(8,0,16,0.88);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  backdrop-filter: blur(8px);
}
#exit-popup.visible { display: flex; animation: fadeInUp 0.4s ease; }
.exit-card {
  background: linear-gradient(135deg, #1a0533, #2d0a5e);
  border: 1px solid var(--oro);
  border-radius: 20px;
  padding: 2rem 1.5rem;
  max-width: 440px;
  width: 100%;
  text-align: center;
  box-shadow: 0 20px 80px rgba(123,47,247,0.4), 0 0 0 1px rgba(212,175,55,0.2);
  position: relative;
}
@media (min-width: 480px) { .exit-card { border-radius: 24px; padding: 2.5rem 2rem; } }
.exit-close {
  position: absolute;
  top: 0.8rem; right: 0.8rem;
  background: none; border: none;
  color: rgba(240,232,255,0.5);
  font-size: 1.4rem;
  cursor: pointer;
  line-height: 1;
  padding: 0.3rem;
  min-width: 44px; min-height: 44px;
  display: flex; align-items: center; justify-content: center;
}
.exit-emoji { font-size: 2.5rem; margin-bottom: 0.8rem; display: block; animation: pulsarEmoji 1.5s ease-in-out infinite alternate; }
.exit-card h3 { font-family: 'Cinzel', serif; color: var(--oro-claro); font-size: 1.2rem; margin-bottom: 0.7rem; }
@media (min-width: 480px) { .exit-card h3 { font-size: 1.4rem; } }
.exit-card p { color: var(--blanco-suave); line-height: 1.6; margin-bottom: 1.2rem; font-size: 0.88rem; }
@media (min-width: 480px) { .exit-card p { font-size: 0.95rem; margin-bottom: 1.5rem; } }

/* ===== FOOTER ===== */
.site-footer {
  position: relative;
  z-index: 4;
  text-align: center;
  padding: 1.5rem 1rem;
  color: rgba(240,232,255,0.3);
  font-size: 0.75rem;
  border-top: 1px solid var(--glass-border);
  padding-bottom: 5rem; /* espacio para el gato y botón flotante */
}
@media (min-width: 480px) {
  .site-footer { font-size: 0.8rem; padding: 2rem 1.5rem 5rem; }
}
.site-footer a { color: var(--oro); text-decoration: none; }

/* ===== SEPARADOR DORADO ===== */
.divider {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--oro), transparent);
  margin: 1.2rem auto;
}
@media (min-width: 480px) { .divider { width: 80px; margin: 1.5rem auto; } }

/* ===== BADGES DE CONFIANZA ===== */
.trust-badges {
  display: flex;
  gap: 0.8rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}
@media (min-width: 480px) { .trust-badges { gap: 1.5rem; margin-top: 2rem; } }
.trust-badge {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  color: rgba(240,232,255,0.6);
}
.trust-badge span { font-size: 0.9rem; }

/* ===== CIERRE BANNER ===== */
.cierre-banner {
  text-align: center;
  padding: 2rem 1.5rem;
  background: linear-gradient(135deg, rgba(26, 5, 51, 0.7), rgba(45, 10, 94, 0.7));
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 20px;
  margin-top: 2rem;
  box-shadow: 0 15px 40px rgba(123, 47, 247, 0.15);
}
.cierre-banner h3 {
  font-family: 'Cinzel', serif;
  color: var(--oro-claro) !important;
  font-size: 1.15rem !important;
  margin-bottom: 0.8rem !important;
  line-height: 1.4;
  letter-spacing: 0.5px;
}
.cierre-banner p {
  font-size: 0.88rem;
  color: var(--blanco-suave);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}
.cierre-subtext {
  font-size: 0.72rem;
  color: rgba(240, 232, 255, 0.4);
  margin-top: 0.8rem;
}

/* ===== SECCIÓN FAQ (OBJECCIONES Y TESTIMONIOS) ===== */
.faq-seccion {
  margin-top: 3rem;
  width: 100%;
}
.faq-seccion h3 {
  font-family: 'Cinzel', serif;
  color: var(--oro);
  margin-bottom: 1.2rem;
  font-size: 1rem;
  letter-spacing: 1px;
  text-align: center;
}
@media (min-width: 480px) {
  .faq-seccion h3 {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
  }
}
.faq-container {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 680px;
  margin: 0 auto;
  text-align: left;
}
.faq-item {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
  backdrop-filter: blur(8px);
}
.faq-item:hover {
  border-color: rgba(212, 175, 55, 0.4);
  box-shadow: 0 5px 15px rgba(123, 47, 247, 0.1);
}
.faq-item.active {
  border-color: var(--oro);
  background: rgba(123, 47, 247, 0.08);
  box-shadow: 0 8px 25px rgba(123, 47, 247, 0.15), 0 0 15px rgba(212, 175, 55, 0.05);
}
.faq-header {
  width: 100%;
  padding: 1.1rem 1.25rem;
  background: none;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  text-align: left;
}
.faq-pregunta-texto {
  font-family: 'Cinzel', serif;
  font-size: 0.85rem;
  color: var(--blanco-suave);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.5px;
  transition: color 0.3s ease;
}
@media (min-width: 480px) {
  .faq-pregunta-texto {
    font-size: 0.9rem;
  }
}
.faq-item.active .faq-pregunta-texto {
  color: var(--oro-claro);
}
.faq-icon {
  font-size: 0.85rem;
  color: var(--oro);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}
.faq-item.active .faq-icon {
  transform: rotate(180deg);
}
.faq-content {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease-out;
}
.faq-item.active .faq-content {
  grid-template-rows: 1fr;
}
.faq-content-inner {
  overflow: hidden;
  padding: 0 1.25rem 1.25rem;
}
.faq-answer-text {
  font-size: 0.85rem;
  line-height: 1.6;
  color: rgba(240, 232, 255, 0.75);
  margin-bottom: 0.9rem;
}
.faq-testimonial-card {
  background: rgba(8, 0, 16, 0.4);
  border-left: 3px solid var(--oro);
  padding: 0.75rem 1rem;
  border-radius: 0 8px 8px 0;
  margin-bottom: 1rem;
}
.faq-testimonial-text {
  font-style: italic;
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--blanco-suave);
  margin-bottom: 0.35rem;
}
.faq-testimonial-author {
  font-family: 'Cinzel', serif;
  font-size: 0.7rem;
  color: var(--oro);
  text-align: right;
  letter-spacing: 0.5px;
}
.btn-whatsapp-inline {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: #25d366;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 0.5rem 0.9rem;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 10px rgba(37, 211, 102, 0.15);
}
.btn-whatsapp-inline:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 15px rgba(37, 211, 102, 0.3);
}
.btn-whatsapp-inline svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
  flex-shrink: 0;
}

