/* ============================================
   css/index.css — Estilos exclusivos de index.html
   ============================================ */

: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);
}

*, *::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; }

/* ── 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;
  background: rgba(5,5,5,0.85);
  backdrop-filter: blur(24px);
  border-bottom: 0.5px solid transparent;
  transition: background 0.4s ease, padding 0.3s ease, border-color 0.4s ease;
}
#main-nav.scrolled {
  background: rgba(5,5,5,0.92);
  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); font-family: 'Plus Jakarta Sans', sans-serif; }
.nav-cta:hover { transform: scale(1.04); }

/* ── 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 20%;
  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: 3; 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; 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; }

.hero-h1 { font-size: clamp(44px, 7vw, 82px); font-weight: 800; line-height: 1.02; letter-spacing: -0.04em; color: #fff; margin-bottom: 20px; }
.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; 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; }

.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; 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; }

.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); }

.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; }

#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; } }
.hero-overlay { z-index: 0; }

@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); }

.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; }

/* ── 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; }
.test-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-bottom: 40px; }
.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); }
.test-top { display: flex; align-items: center; gap: 12px; }
.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; }
.test-stars { font-size: 14px; letter-spacing: 1px; }
.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; }
.test-msg { font-size: 13px; color: #555; line-height: 1.75; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.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; }
.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; }
.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; }
.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); } }

/* ── 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); } }

/* ── DARK MODE TESTIMONIOS ── */
[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; }

/* ── LIGHT MODE ── */
[data-theme="light"] body { background: var(--ix-gray-1); color: #1d1d1f; }
[data-theme="light"] #main-nav { background: rgba(245,245,247,0.92); border-bottom-color: rgba(0,0,0,0.08); }
[data-theme="light"] #main-nav .nav-logo { color: #1d1d1f; }
[data-theme="light"] #main-nav .nav-links a { color: rgba(0,0,0,0.6); }
[data-theme="light"] #main-nav .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, .s-testimonios { 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; }
  .test-grid { grid-template-columns: 1fr 1fr; }
  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; }
  .dest-row2 { grid-template-columns: 1fr; }
  .trust-bar { grid-template-columns: 1fr 1fr; }
  .cta-btns { flex-direction: column; align-items: center; }
  .test-grid { grid-template-columns: 1fr; }
}

/* ============================================
   MOBILE FIXES — añadir al final de css/index.css
   ============================================ */

/* ── MENÚ HAMBURGUESA ── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: rgba(255,255,255,0.08);
  border: 0.5px solid rgba(255,255,255,0.15);
  border-radius: 10px;
  transition: background 0.2s;
}
.nav-hamburger:hover { background: rgba(255,255,255,0.14); }
.nav-hamburger span {
  display: block;
  width: 20px; height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── MENÚ MOBILE DRAWER ── */
.nav-drawer {
  display: none;
  position: fixed;
  top: 57px; left: 0; right: 0;
  background: rgba(5,5,5,0.97);
  backdrop-filter: blur(24px);
  border-bottom: 0.5px solid rgba(255,255,255,0.08);
  padding: 20px 24px 28px;
  flex-direction: column;
  gap: 4px;
  z-index: 99;
  animation: drawerIn 0.3s cubic-bezier(0.16,1,0.3,1);
}
.nav-drawer.open { display: flex; }
@keyframes drawerIn {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: none; }
}
.nav-drawer a {
  font-size: 16px; font-weight: 600;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  padding: 14px 0;
  border-bottom: 0.5px solid rgba(255,255,255,0.06);
  transition: color 0.2s;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-drawer a:last-child { border-bottom: none; }
.nav-drawer a:hover { color: #fff; }
.nav-drawer a.drawer-cta {
  margin-top: 12px;
  background: #fff; color: #000;
  border-radius: 14px; padding: 16px;
  font-weight: 800; font-size: 15px;
  justify-content: center;
  border-bottom: none;
}

/* ── HERO MOBILE ── */
@media (max-width: 768px) {

  /* Nav */
  #main-nav { padding: 14px 20px; }
  #main-nav.scrolled { padding: 12px 20px; }
  .nav-links { display: none !important; }
  .nav-hamburger { display: flex; }

  /* Hero */
  .hero {
    height: 100svh; /* svh = safe viewport height en iOS */
    min-height: 600px;
    align-items: flex-end;
  }

  .hero-bg {
    background-position: 60% center;
  }

  .hero-overlay {
    background: linear-gradient(
      180deg,
      rgba(5,5,5,0.15) 0%,
      rgba(5,5,5,0.1)  30%,
      rgba(5,5,5,0.55) 55%,
      rgba(5,5,5,0.95) 80%,
      rgba(5,5,5,1)    100%
    );
  }

  .hero-content {
    padding: 0 20px 52px;
    max-width: 100%;
  }

  .hero-kicker { font-size: 10px; margin-bottom: 14px; }

  .hero-h1 {
    font-size: clamp(36px, 9vw, 52px);
    margin-bottom: 14px;
    letter-spacing: -0.035em;
  }

  .hero-sub {
    font-size: 14px;
    max-width: 100%;
    margin-bottom: 28px;
    color: rgba(255,255,255,0.65);
  }

  .hero-btns {
    flex-direction: column;
    gap: 10px;
  }

  .btn-hero-primary, .btn-hero-ghost {
    text-align: center;
    justify-content: center;
    padding: 16px 24px;
    font-size: 15px;
    border-radius: 14px;
    width: 100%;
  }

  .hero-cities { display: none; }
  .hero-scroll-hint { display: none; }

  /* Trust bar */
  .trust-bar {
    grid-template-columns: repeat(2, 1fr);
  }
  .trust-item { padding: 20px 12px; }
  .trust-num { font-size: 22px; }
  .trust-label { font-size: 10px; }

  /* Destinos */
  .s-destinos { padding: 64px 20px; }
  .dest-grid { grid-template-columns: 1fr; }
  .dest-card.tall { height: 260px; }
  .dest-row2 { grid-template-columns: 1fr; }
  .dest-card.mini { height: 160px; }

  /* Quiz */
  .s-quiz {
    padding: 64px 20px;
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .quiz-wrapper { padding: 28px 20px; border-radius: 20px; }
  .qz-opciones { grid-template-columns: 1fr; }
  .qz-pregunta { font-size: 17px; }

  /* Proceso */
  .s-proceso { padding: 64px 20px; }
  .proceso-grid { grid-template-columns: 1fr; gap: 40px; }
  .step { padding: 22px 0; }
  .step-title { font-size: 15px; }

  /* Testimonios */
  .s-testimonios { padding: 64px 20px; }
  .test-grid { grid-template-columns: 1fr; }

  /* CTA */
  .s-cta { padding: 80px 20px; }
  .cta-btns { flex-direction: column; align-items: stretch; }
  .btn-cta-primary, .btn-cta-wa {
    justify-content: center;
    text-align: center;
    padding: 16px 24px;
    border-radius: 14px;
    width: 100%;
    font-size: 15px;
  }

  /* Footer */
  footer {
    padding: 36px 20px;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  /* WA Float */
  #wa-float {
    bottom: 20px; right: 16px;
    padding: 12px 16px;
    font-size: 12px;
  }

  /* Secciones texto */
  .section-h2 { font-size: clamp(28px, 7vw, 40px); }
  .section-sub { font-size: 14px; }
  .section-kicker { font-size: 10px; }
}

/* ── TABLET ── */
@media (min-width: 769px) and (max-width: 960px) {
  #main-nav { padding: 16px 28px; }
  .nav-links { gap: 20px; }
  .hero-content { padding: 0 32px 72px; }
  .s-destinos, .s-quiz, .s-proceso, .s-testimonios, .s-cta { padding: 80px 32px; }
  .dest-grid { grid-template-columns: 1.4fr 1fr; }
  .dest-row2 { grid-template-columns: repeat(3,1fr); }
  .s-quiz { grid-template-columns: 1fr; gap: 40px; }
  .proceso-grid { grid-template-columns: 1fr; gap: 48px; }
  .test-grid { grid-template-columns: repeat(2, 1fr); }
  footer { padding: 36px 32px; }
}

/* ── SAFE AREA iOS ── */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
  #wa-float { bottom: calc(20px + env(safe-area-inset-bottom)); }
  .hero-content { padding-bottom: calc(52px + env(safe-area-inset-bottom)); }
}

/* Ocultar "Empezar" del nav en mobile, solo mostrar hamburguesa */
@media (max-width: 768px) {
  .nav-cta {
    display: none;
  }
  .nav-hamburger {
    display: flex;
  }
}