/* ============================================
   css/index.css — Estilos exclusivos de index.html
   Requiere css/styles.css cargado antes
   ============================================ */

/* ── TOKENS LOCALES ── */
:root {
  --ix-black:        #050505;
  --ix-white:        #fafafa;
  --ix-gray-1:       #f5f5f7;
  --ix-gray-2:       #e8e8ed;
  --ix-gray-text:    #6e6e73;
  --ix-accent:       #0071e3;
  --ix-accent-light: #34aadc;
  --ix-curve:        cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── RESET BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: var(--ix-black);
  color: var(--ix-white);
  overflow-x: hidden;
}

/* ── SCROLL REVEAL ── */
.reveal,
.reveal-left,
.reveal-right {
  opacity: 0;
  transition: opacity 0.85s var(--ix-curve), transform 0.85s var(--ix-curve);
}

.reveal       { transform: translateY(36px); }
.reveal-left  { transform: translateX(-36px); }
.reveal-right { transform: translateX(36px); }

.reveal.visible,
.reveal-left.visible,
.reveal-right.visible {
  opacity: 1;
  transform: none;
}

.d1 { transition-delay: 0.08s; }
.d2 { transition-delay: 0.16s; }
.d3 { transition-delay: 0.24s; }
.d4 { transition-delay: 0.32s; }
.d5 { transition-delay: 0.40s; }

/* ── NAV ── */
#main-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.4s ease, backdrop-filter 0.4s ease, padding 0.3s ease, border-color 0.4s ease;
  border-bottom: 0.5px solid transparent;
    /* AÑADIR ESTAS DOS LÍNEAS: */
  background: rgba(5,5,5,0.85);
  backdrop-filter: blur(24px);
}

#main-nav.scrolled {
  background: rgba(5, 5, 5, 0.82);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding: 14px 48px;
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.nav-logo {
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.04em;
  text-decoration: none;
}
.nav-logo span { color: var(--ix-accent-light); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.68);
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: color 0.2s;
}
.nav-links a:hover { color: #fff; }

.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

#themeToggleBtn {
  background: rgba(255, 255, 255, 0.1);
  border: 0.5px solid rgba(255, 255, 255, 0.15);
  border-radius: 100px;
  padding: 7px 13px;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.2s;
  line-height: 1;
}
#themeToggleBtn:hover { background: rgba(255, 255, 255, 0.18); }

.nav-cta {
  background: #fff;
  color: #000;
  border: none;
  border-radius: 100px;
  padding: 9px 20px;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s var(--ix-curve), opacity 0.2s;
  font-family: 'Plus Jakarta Sans', sans-serif;
}
.nav-cta:hover { transform: scale(1.04); opacity: 0.9; }

/* ── HERO ── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('/img/bg2.jpg');
  background-size: cover;
  background-position: center 15%;
  animation: heroZoom 18s var(--ix-curve) infinite alternate;
  will-change: transform;
  filter: saturate(1.2) brightness(0.9);
}

@keyframes heroZoom {
  from { transform: scale(1); }
  to   { transform: scale(1.08); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(5,5,5,0.1)  0%,
    rgba(5,5,5,0.04) 25%,
    rgba(5,5,5,0.5)  58%,
    rgba(5,5,5,0.96) 85%,
    rgba(5,5,5,1)    100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 48px 80px;
  width: 100%;
  max-width: 820px;
}

.hero-kicker {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.48);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 20px;
  animation: heroFadeUp 1s var(--ix-curve) 0.2s both;
}

.hero-h1 {
  font-size: clamp(44px, 7vw, 82px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.04em;
  color: #fff;
  margin-bottom: 20px;
  animation: heroFadeUp 1s var(--ix-curve) 0.35s both;
}
.hero-h1 em { font-style: normal; color: var(--ix-accent-light); }

.hero-sub {
  font-size: clamp(15px, 2vw, 18px);
  color: rgba(255, 255, 255, 0.58);
  line-height: 1.65;
  max-width: 460px;
  margin-bottom: 36px;
  animation: heroFadeUp 1s var(--ix-curve) 0.5s both;
}

.hero-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  animation: heroFadeUp 1s var(--ix-curve) 0.65s both;
}

.btn-hero-primary {
  background: #fff;
  color: #000;
  border: none;
  border-radius: 100px;
  padding: 14px 28px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  font-family: 'Plus Jakarta Sans', sans-serif;
  transition: transform 0.25s var(--ix-curve), box-shadow 0.25s;
}
.btn-hero-primary:hover {
  transform: scale(1.04);
  box-shadow: 0 8px 32px rgba(255,255,255,0.18);
  color: #000;
}

.btn-hero-ghost {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  border-radius: 100px;
  padding: 14px 28px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  font-family: 'Plus Jakarta Sans', sans-serif;
  transition: background 0.25s, transform 0.25s var(--ix-curve);
}
.btn-hero-ghost:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: scale(1.02);
  color: #fff;
}

.hero-cities {
  position: absolute;
  bottom: 80px;
  right: 48px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-end;
  animation: heroFadeLeft 1s var(--ix-curve) 0.8s both;
}

.city-pill {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  border: 0.5px solid rgba(255, 255, 255, 0.14);
  border-radius: 100px;
  padding: 7px 16px;
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.city-pill:hover {
  background: rgba(255, 255, 255, 0.16);
  transform: translateX(-4px);
}

.city-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ix-accent-light);
  flex-shrink: 0;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  animation: heroFadeUp 1s var(--ix-curve) 1.2s both;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%,100% { opacity: 0.4; transform: scaleY(1); }
  50%      { opacity: 1;   transform: scaleY(0.7); }
}

@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: none; }
}

@keyframes heroFadeLeft {
  from { opacity: 0; transform: translateX(20px); }
  to   { opacity: 1; transform: none; }
}

/* ── TRUST BAR ── */
.trust-bar {
  background: var(--ix-black);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 0.5px solid rgba(255,255,255,0.07);
}

.trust-item {
  padding: 28px 20px;
  text-align: center;
  border-right: 0.5px solid rgba(255,255,255,0.06);
}
.trust-item:last-child { border-right: none; }

.trust-num {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.04em;
  display: block;
}

.trust-label {
  font-size: 11px;
  color: rgba(255,255,255,0.36);
  margin-top: 5px;
  letter-spacing: 0.04em;
  display: block;
}

/* ── SECCIÓN BASE ── */
.section-kicker {
  font-size: 11px;
  font-weight: 600;
  color: var(--ix-accent-light);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 16px;
  display: block;
}

.section-h2 {
  font-size: clamp(32px, 5vw, 54px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.04;
  color: #fff;
  margin-bottom: 12px;
}

.section-sub {
  font-size: 16px;
  color: rgba(255,255,255,0.42);
  line-height: 1.65;
  max-width: 500px;
}

/* ── DESTINOS ── */
.s-destinos {
  background: var(--ix-black);
  padding: 96px 48px;
}

.s-destinos .section-sub { margin-bottom: 48px; }

.dest-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}

.dest-row2 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.dest-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  cursor: pointer;
  display: block;
  text-decoration: none;
}

.dest-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(1.25) brightness(0.88);
  transition: transform 0.8s var(--ix-curve), filter 0.4s;
}
.dest-card:hover img {
  transform: scale(1.07);
  filter: saturate(1.5) brightness(0.95);
}

.dest-card.tall { height: 340px; }
.dest-card.mini { height: 180px; }

.dest-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.1) 55%, transparent 100%);
}

.dest-info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 20px 22px;
  transform: translateY(4px);
  transition: transform 0.4s var(--ix-curve);
}
.dest-card:hover .dest-info { transform: none; }

.dest-tag {
  font-size: 10px;
  font-weight: 600;
  color: rgba(255,255,255,0.52);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 4px;
  display: block;
}

.dest-name {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.03em;
  line-height: 1;
  display: block;
}
.dest-card.mini .dest-name { font-size: 17px; }

.dest-cta {
  font-size: 12px;
  color: var(--ix-accent-light);
  font-weight: 600;
  margin-top: 5px;
  display: block;
  opacity: 0;
  transition: opacity 0.3s;
}
.dest-card:hover .dest-cta { opacity: 1; }

/* ── QUIZ ── */
.s-quiz {
  background: var(--ix-gray-1);
  padding: 96px 48px;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 72px;
  align-items: start;
}

.s-quiz .section-kicker { color: var(--ix-accent); }
.s-quiz .section-h2     { color: #1d1d1f; }
.s-quiz .section-sub    { color: var(--ix-gray-text); }

.quiz-wrapper {
  background: #fff;
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 2px 40px rgba(0,0,0,0.07), 0 0 0 0.5px rgba(0,0,0,0.05);
}

/* ── QUIZ INTERNALS (from quiz.js) ── */
.qz-progress-wrap    { margin-bottom: 28px; }
.qz-progress-labels  { display: flex; justify-content: space-between; margin-bottom: 8px; }
.qz-step-label       { font-size: 11px; font-weight: 600; color: #aeaeb2; text-transform: uppercase; letter-spacing: 0.1em; }
.qz-pct              { font-size: 11px; font-weight: 700; color: var(--ix-accent); }
.qz-progress-track   { height: 3px; background: #f0f0f0; border-radius: 999px; overflow: hidden; margin-bottom: 14px; }
.qz-progress-fill    { height: 100%; background: linear-gradient(90deg, var(--ix-accent), var(--ix-accent-light)); border-radius: 999px; transition: width 0.5s var(--ix-curve); }
.qz-dots             { display: flex; gap: 6px; justify-content: center; }
.qz-dot              { width: 7px; height: 7px; border-radius: 50%; background: #e0e0e0; transition: all 0.3s; border: 1.5px solid transparent; }
.qz-dot.active       { background: var(--ix-accent); transform: scale(1.3); border-color: transparent; }
.qz-dot.done         { background: transparent; border-color: var(--ix-accent); }

.qz-q-wrap           { text-align: center; padding: 8px 0; transition: opacity 0.3s, transform 0.3s; }
.qz-icon             { display: block; font-size: 44px; margin-bottom: 20px; animation: qzBounce 2.5s ease-in-out infinite; }

@keyframes qzBounce {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-6px); }
}

.qz-pregunta {
  font-size: clamp(18px, 2.5vw, 23px);
  font-weight: 800;
  color: #1d1d1f;
  margin-bottom: 28px;
  line-height: 1.3;
  letter-spacing: -0.02em;
  font-style: italic;
}

.qz-opciones         { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

.qz-opcion {
  padding: 16px 18px;
  border-radius: 14px;
  border: 1.5px solid #e8e8ed;
  background: var(--ix-gray-1);
  color: #1d1d1f;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.2s var(--ix-curve);
}
.qz-opcion:hover {
  border-color: var(--ix-accent);
  background: rgba(0,113,227,0.04);
  transform: translateY(-2px);
}
.qz-opcion.selected {
  background: var(--ix-accent);
  border-color: var(--ix-accent);
  color: #fff;
  transform: scale(0.98);
}
.qz-opcion.faded { opacity: 0.3; }

.qz-slide-out        { opacity: 0; transform: translateX(-24px); }
.qz-slide-in         { animation: qzSlideIn 0.35s var(--ix-curve); }
.qz-hidden           { display: none !important; }
.qz-fade-in          { animation: qzFade 0.4s var(--ix-curve); }

@keyframes qzSlideIn { from { opacity:0; transform:translateX(24px); } to { opacity:1; transform:none; } }
@keyframes qzFade    { from { opacity:0; } to { opacity:1; } }

.qz-capture-wrap     { text-align: center; padding: 8px 0; }
.qz-capture-icon     { display: block; font-size: 48px; margin-bottom: 16px; animation: qzBounce 2.5s ease-in-out infinite; }
.qz-capture-title    { font-size: 22px; font-weight: 800; color: #1d1d1f; margin-bottom: 8px; letter-spacing: -0.02em; }
.qz-capture-sub      { font-size: 14px; color: #6e6e73; margin: 0 auto 28px; line-height: 1.6; max-width: 380px; }

.qz-form             { display: flex; flex-direction: column; gap: 10px; max-width: 360px; margin: 0 auto; }

.qz-input {
  padding: 14px 18px;
  border-radius: 12px;
  border: 1.5px solid #e8e8ed;
  background: var(--ix-gray-1);
  color: #1d1d1f;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}
.qz-input:focus       { border-color: var(--ix-accent); background: #fff; }
.qz-input::placeholder { color: #aeaeb2; }
.qz-input.qz-error    { border-color: #ef4444; animation: qzShake 0.3s; }

@keyframes qzShake {
  0%,100% { transform: translateX(0); }
  25%     { transform: translateX(-5px); }
  75%     { transform: translateX(5px); }
}

.qz-form-hint        { font-size: 11px; color: #aeaeb2; text-align: center; }

.qz-btn-submit {
  padding: 15px;
  border-radius: 14px;
  border: none;
  background: linear-gradient(135deg, var(--ix-accent), var(--ix-accent-light));
  color: #fff;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 6px 20px rgba(0,113,227,0.28);
  margin-top: 4px;
}
.qz-btn-submit:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(0,113,227,0.38); }
.qz-btn-submit:disabled              { opacity: 0.6; cursor: not-allowed; }

.qz-result-wrap      { text-align: center; padding: 8px 0; }
.qz-score-ring       { position: relative; width: 130px; height: 130px; margin: 0 auto 20px; }
.qz-ring-svg         { width: 100%; height: 100%; transform: rotate(-90deg); }
.qz-ring-bg          { fill: none; stroke: #f0f0f0; stroke-width: 8; }
.qz-ring-fill        { fill: none; stroke-width: 8; stroke-linecap: round; transition: stroke-dashoffset 1.2s var(--ix-curve), stroke 0.3s; }

.qz-score-center     { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 1px; }
.qz-score-num        { font-size: 34px; font-weight: 800; color: #1d1d1f; line-height: 1; }
.qz-score-pct        { font-size: 15px; font-weight: 700; color: #aeaeb2; align-self: flex-end; margin-bottom: 5px; }

.qz-result-title     { font-size: 20px; font-weight: 800; color: #1d1d1f; margin-bottom: 10px; letter-spacing: -0.02em; }
.qz-result-msg       { font-size: 14px; color: #6e6e73; line-height: 1.7; max-width: 400px; margin: 0 auto 20px; }

.qz-tags             { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-bottom: 24px; }
.qz-tag              { font-size: 10px; font-weight: 700; padding: 4px 10px; border-radius: 100px; border: 1px solid #e8e8ed; color: #6e6e73; letter-spacing: 0.04em; }

.qz-result-ctas      { display: flex; flex-direction: column; gap: 10px; align-items: center; }

.qz-cta-primary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 100px;
  background: linear-gradient(135deg, var(--ix-accent), var(--ix-accent-light));
  color: #fff;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 6px 20px rgba(0,113,227,0.25);
}
.qz-cta-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(0,113,227,0.35); color: #fff; }

.qz-cta-secondary {
  background: none;
  border: none;
  color: #aeaeb2;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  font-family: 'Plus Jakarta Sans', sans-serif;
  transition: color 0.2s;
}
.qz-cta-secondary:hover { color: #1d1d1f; }

/* ── PROCESO ── */
.s-proceso { background: var(--ix-black); padding: 96px 48px; }

.proceso-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.proceso-left .section-sub { margin-bottom: 36px; }

.btn-proceso {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--ix-accent);
  color: #fff;
  border: none;
  border-radius: 100px;
  padding: 14px 28px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  font-family: 'Plus Jakarta Sans', sans-serif;
  transition: transform 0.25s var(--ix-curve), box-shadow 0.25s;
}
.btn-proceso:hover {
  transform: scale(1.04);
  box-shadow: 0 8px 32px rgba(0,113,227,0.35);
  color: #fff;
}

.steps-list { display: flex; flex-direction: column; }

.step {
  display: flex;
  gap: 20px;
  padding: 28px 0;
  border-bottom: 0.5px solid rgba(255,255,255,0.06);
  align-items: flex-start;
}
.step:last-child { border-bottom: none; }

.step-num {
  font-size: 12px;
  font-weight: 700;
  color: var(--ix-accent-light);
  letter-spacing: 0.08em;
  min-width: 28px;
  padding-top: 2px;
}

.step-title {
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}

.step-desc {
  font-size: 13px;
  color: rgba(255,255,255,0.42);
  line-height: 1.65;
}

/* ── CTA FINAL ── */
.s-cta {
  background: var(--ix-black);
  padding: 120px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.s-cta::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 640px; height: 640px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,113,227,0.11) 0%, transparent 70%);
  pointer-events: none;
}

.s-cta .section-h2  { font-size: clamp(36px, 6vw, 68px); margin-bottom: 16px; color: #fff; }
.s-cta .section-sub { color: rgba(255,255,255,0.4); max-width: 420px; margin: 0 auto 40px; }

.cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.btn-cta-primary {
  background: #fff;
  color: #000;
  border: none;
  border-radius: 100px;
  padding: 16px 32px;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  font-family: 'Plus Jakarta Sans', sans-serif;
  transition: transform 0.25s var(--ix-curve), box-shadow 0.25s;
}
.btn-cta-primary:hover { transform: scale(1.04); box-shadow: 0 8px 32px rgba(255,255,255,0.15); color: #000; }

.btn-cta-wa {
  background: #25D366;
  color: #fff;
  border: none;
  border-radius: 100px;
  padding: 16px 32px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  font-family: 'Plus Jakarta Sans', sans-serif;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: transform 0.25s var(--ix-curve), box-shadow 0.25s;
}
.btn-cta-wa:hover { transform: scale(1.04); box-shadow: 0 8px 32px rgba(37,211,102,0.3); color: #fff; }
.btn-cta-wa svg   { width: 18px; height: 18px; fill: currentColor; flex-shrink: 0; }

/* ── FOOTER ── */
footer {
  background: #000;
  border-top: 0.5px solid rgba(255,255,255,0.06);
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-logo       { font-size: 16px; font-weight: 800; color: #fff; letter-spacing: -0.04em; text-decoration: none; }
.footer-logo span  { color: var(--ix-accent-light); }

.footer-links      { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a    { font-size: 12px; color: rgba(255,255,255,0.32); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: rgba(255,255,255,0.65); }

.footer-copy       { font-size: 11px; color: rgba(255,255,255,0.18); }

/* ── WHATSAPP FLOAT ── */
#wa-float {
  position: fixed;
  bottom: 28px; right: 28px;
  z-index: 9999;
  background: #25D366;
  color: #fff;
  border-radius: 100px;
  padding: 13px 20px;
  font-weight: 700;
  font-size: 13px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  text-decoration: none;
  box-shadow: 0 8px 28px rgba(37,211,102,0.45);
  display: flex;
  align-items: center;
  gap: 9px;
  animation: waPulse 2.5s ease-in-out infinite;
  transition: transform 0.25s;
}
#wa-float:hover { transform: scale(1.05); color: #fff; }
#wa-float svg   { width: 18px; height: 18px; fill: currentColor; flex-shrink: 0; }

@keyframes waPulse {
  0%,100% { box-shadow: 0 8px 28px rgba(37,211,102,0.45); }
  50%     { box-shadow: 0 8px 40px rgba(37,211,102,0.7), 0 0 0 8px rgba(37,211,102,0.12); }
}

/* ── LIGHT MODE ── */
[data-theme="light"] body          { background: var(--ix-gray-1); color: #1d1d1f; }
[data-theme="light"] #main-nav.scrolled {
  background: rgba(245,245,247,0.9);
  border-bottom-color: rgba(0,0,0,0.09);
}
[data-theme="light"] #main-nav.scrolled .nav-links a { color: rgba(0,0,0,0.6); }
[data-theme="light"] #main-nav.scrolled .nav-links a:hover { color: #000; }
[data-theme="light"] #main-nav.scrolled .nav-logo    { color: #1d1d1f; }
[data-theme="light"] #main-nav.scrolled .nav-cta     { background: #1d1d1f; color: #fff; }
[data-theme="light"] #themeToggleBtn {
  background: rgba(0,0,0,0.06);
  border-color: rgba(0,0,0,0.1);
}
[data-theme="light"] .trust-bar    { background: #fff; border-bottom-color: rgba(0,0,0,0.07); }
[data-theme="light"] .trust-item   { border-right-color: rgba(0,0,0,0.06); }
[data-theme="light"] .trust-num    { color: #1d1d1f; }
[data-theme="light"] .trust-label  { color: #aeaeb2; }
[data-theme="light"] .s-destinos   { background: var(--ix-gray-1); }
[data-theme="light"] .s-destinos .section-h2  { color: #1d1d1f; }
[data-theme="light"] .s-destinos .section-sub { color: #6e6e73; }
[data-theme="light"] .s-proceso    { background: #fff; }
[data-theme="light"] .s-proceso .section-h2   { color: #1d1d1f; }
[data-theme="light"] .s-proceso .section-sub  { color: #6e6e73; }
[data-theme="light"] .step         { border-bottom-color: rgba(0,0,0,0.07); }
[data-theme="light"] .step-title   { color: #1d1d1f; }
[data-theme="light"] .step-desc    { color: #6e6e73; }
[data-theme="light"] .s-cta        { background: #1d1d1f; }
[data-theme="light"] .s-cta .section-h2  { color: #fff; }
[data-theme="light"] .s-cta .section-sub { color: rgba(255,255,255,0.45); }
[data-theme="light"] footer         { background: #1d1d1f; border-top-color: rgba(255,255,255,0.06); }

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  #main-nav        { padding: 16px 24px; }
  #main-nav.scrolled { padding: 10px 24px; }
  .nav-links       { display: none; }
  .hero-content    { padding: 0 24px 64px; }
  .hero-cities     { display: none; }
  .trust-bar       { grid-template-columns: repeat(2, 1fr); }
  .s-destinos,
  .s-quiz,
  .s-proceso,
  .s-cta           { padding: 72px 24px; }
  .dest-grid       { grid-template-columns: 1fr; }
  .dest-row2       { grid-template-columns: 1fr 1fr; }
  .s-quiz          { grid-template-columns: 1fr; gap: 40px; }
  .proceso-grid    { grid-template-columns: 1fr; gap: 48px; }
  footer           { padding: 36px 24px; flex-direction: column; align-items: flex-start; }
  .qz-opciones     { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero-h1         { font-size: 38px; }
  .hero-btns       { flex-direction: column; }
  .btn-hero-primary,
  .btn-hero-ghost  { text-align: center; }
  .dest-row2       { grid-template-columns: 1fr; }
  .trust-bar       { grid-template-columns: 1fr 1fr; }
  .cta-btns        { flex-direction: column; align-items: center; }
}

/* ============================================
   HERO EFFECTS — añadir al final de css/index.css
   ============================================ */

/* ── 1. PARALLAX — el fondo se mueve más lento que el scroll ── */
.hero-bg {
  /* Sobreescribe el transform del zoom para que el parallax funcione */
  will-change: transform;
  transform-origin: center center;
}

/* ── 2. CANVAS DE PARTÍCULAS ── */
#hero-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  animation: particlesFadeIn 2s ease 1.2s forwards;
}

@keyframes particlesFadeIn {
  to { opacity: 1; }
}

/* El contenido del hero debe estar sobre las partículas */
.hero-content  { z-index: 3; }
.hero-cities   { z-index: 3; }
.hero-overlay  { z-index: 0; }
.hero-scroll-hint { z-index: 3; }

/* ── 3. TEXTO CON ENTRADA POR PALABRAS ── */

/* Ocultamos los elementos originales del hero-content para reemplazarlos */
.hero-kicker,
.hero-h1,
.hero-sub,
.hero-btns {
  /* Las animaciones originales se reemplazan por las de palabra */
  animation: none !important;
  opacity: 1 !important;
  transform: none !important;
}

/* Cada palabra se envuelve en un span.word que anima independiente */
.word-wrap {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  line-height: inherit;
}

.word {
  display: inline-block;
  opacity: 0;
  transform: translateY(100%);
  transition: opacity 0.6s var(--ix-curve), transform 0.6s var(--ix-curve);
}

.word.in {
  opacity: 1;
  transform: translateY(0);
}

/* El kicker entra como bloque completo */
.hero-kicker {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s var(--ix-curve), transform 0.6s var(--ix-curve);
}
.hero-kicker.in {
  opacity: 1;
  transform: none;
}

/* Los botones entran juntos */
.hero-btns {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ix-curve), transform 0.7s var(--ix-curve);
}
.hero-btns.in {
  opacity: 1;
  transform: none;
}

/* El subtítulo entra como bloque */
.hero-sub {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s var(--ix-curve), transform 0.6s var(--ix-curve);
}
.hero-sub.in {
  opacity: 1;
  transform: none;
}

<!-- ── CSS — pegar al final de css/index.css ── -->
<style id="testimonios-css-preview">
/*
  COPIA ESTO AL FINAL DE css/index.css
  ─────────────────────────────────────
*/
 
/* ── TESTIMONIOS ── */
.s-testimonios {
  background: var(--ix-gray-1);
  padding: 96px 48px;
}
 
.s-testimonios .section-kicker { color: var(--ix-accent); }
.s-testimonios .section-h2     { color: #1d1d1f; }
.s-testimonios .section-sub    { color: var(--ix-gray-text); margin-bottom: 48px; }
 
/* Grid */
.test-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}
 
/* Card */
.test-card {
  background: #fff;
  border: 0.5px solid rgba(0,0,0,0.07);
  border-radius: 20px;
  padding: 24px;
  display: flex; flex-direction: column; gap: 14px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.05);
  transition: transform 0.35s cubic-bezier(0.16,1,0.3,1), box-shadow 0.35s;
}
.test-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(0,0,0,0.1);
}
 
/* Top row */
.test-top { display: flex; align-items: center; gap: 12px; }
 
/* Avatar */
.test-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  flex-shrink: 0; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 800; color: #fff;
}
.test-avatar img { width: 100%; height: 100%; object-fit: cover; }
 
.test-info { flex: 1; min-width: 0; }
.test-name {
  font-size: 14px; font-weight: 700; color: #1d1d1f;
  letter-spacing: -0.01em;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.test-meta {
  font-size: 11px; color: #aeaeb2;
  margin-top: 1px;
}
 
/* Stars */
.test-stars { font-size: 14px; letter-spacing: 1px; }
 
/* Badge visa */
.test-badge {
  display: inline-flex;
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 3px 10px; border-radius: 100px;
  background: rgba(0,113,227,0.08);
  color: var(--ix-accent);
  width: fit-content;
}
 
/* Mensaje */
.test-msg {
  font-size: 13px; color: #555;
  line-height: 1.75;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
 
/* Foto de viaje */
.test-photo {
  border-radius: 12px; overflow: hidden;
  height: 120px;
}
.test-photo img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(1.15) brightness(0.95);
  transition: transform 0.5s cubic-bezier(0.16,1,0.3,1), filter 0.3s;
}
.test-card:hover .test-photo img {
  transform: scale(1.04);
  filter: saturate(1.3) brightness(1);
}
 
/* CTA */
.test-cta-row {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
}
.test-count {
  font-size: 13px; color: var(--ix-gray-text);
}
.test-count strong { color: #1d1d1f; font-weight: 700; }
 
.btn-test-cta {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--ix-accent); color: #fff;
  border: none; border-radius: 100px;
  padding: 10px 20px; font-size: 13px; font-weight: 700;
  text-decoration: none; font-family: 'Plus Jakarta Sans', sans-serif;
  cursor: pointer; transition: transform 0.2s, box-shadow 0.2s;
}
.btn-test-cta:hover {
  transform: scale(1.04);
  box-shadow: 0 6px 20px rgba(0,113,227,0.3);
  color: #fff;
}
 
/* Empty state */
.test-empty {
  grid-column: 1/-1; text-align: center;
  padding: 48px; color: var(--ix-gray-text);
  font-size: 14px;
}
.test-empty-icon { font-size: 32px; margin-bottom: 10px; display: block; }
 
/* Loading */
.test-loading {
  grid-column: 1/-1; text-align: center; padding: 48px;
}
.test-spinner {
  width: 28px; height: 28px;
  border: 3px solid rgba(0,0,0,0.07);
  border-top-color: var(--ix-accent);
  border-radius: 50%;
  animation: testSpin 0.7s linear infinite;
  margin: 0 auto 12px;
}
@keyframes testSpin { to { transform: rotate(360deg); } }
 
/* Dark mode overrides */
[data-theme="dark"] .s-testimonios { background: #0a0a0a; }
[data-theme="dark"] .s-testimonios .section-h2  { color: #fff; }
[data-theme="dark"] .s-testimonios .section-sub { color: rgba(255,255,255,0.42); }
[data-theme="dark"] .test-card { background: #111; border-color: rgba(255,255,255,0.07); box-shadow: none; }
[data-theme="dark"] .test-card:hover { box-shadow: 0 12px 36px rgba(0,0,0,0.4); }
[data-theme="dark"] .test-name { color: #fff; }
[data-theme="dark"] .test-meta { color: rgba(255,255,255,0.3); }
[data-theme="dark"] .test-badge { background: rgba(52,170,220,0.12); color: var(--ix-accent-light); }
[data-theme="dark"] .test-msg  { color: rgba(255,255,255,0.55); }
[data-theme="dark"] .test-count { color: rgba(255,255,255,0.4); }
[data-theme="dark"] .test-count strong { color: #fff; }
.s-testimonios {
  background: var(--ix-gray-1);
  padding: 96px 48px;
}
.s-testimonios .section-kicker { color: var(--ix-accent); }
.s-testimonios .section-h2     { color: #1d1d1f; }
.s-testimonios .section-sub    { color: var(--ix-gray-text); margin-bottom: 48px; }
 
/* Responsive */
@media (max-width: 960px) {
  .s-testimonios { padding: 72px 24px; }
  .test-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .test-grid { grid-template-columns: 1fr; }
}
</style>

.test-cta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.test-cta-row:has(.test-count:empty) {
  justify-content: center;
}