/**
 * 📁 src/styles/main.css
 * ─────────────────────────────────────────────
 * Estilos globales de la landing page.
 * Importado desde: index.html (raíz del proyecto)
 *
 * Estructura interna:
 *   1. Variables CSS (tokens de diseño)
 *   2. Reset & base
 *   3. Cursor personalizado
 *   4. Navegación
 *   5. Hero
 *   6. Marquee
 *   7. Banner Promo
 *   8. Secciones (wrappers genéricos)
 *   9. Ventajas (spotlight cards)
 *  10. Calculadora
 *  11. Requisitos
 *  12. Testimonios
 *  13. FAQ
 *  14. Footer
 *  15. WhatsApp flotante
 *  16. Animaciones de scroll
 *  17. Utilidades
 */

/* ══════════════════════════════════════════════
   1. VARIABLES CSS — TOKENS DE DISEÑO
   ══════════════════════════════════════════════ */
:root {
  --navy:        #0d1f3c;
  --navy-mid:    #1e3a6e;
  --gold:        #c9a84c;
  --gold-light:  #e4c97e;
  --teal:        #1D9E75;
  --teal-light:  #9FE1CB;
  --teal-xlight: #E1F5EE;
  --gray-light:  #f4f6fa;
  --white:       #ffffff;
  --text-body:   #2d3748;
  --text-muted:  #718096;
}

/* ══════════════════════════════════════════════
   2. RESET & BASE
   ══════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--navy);
  color: var(--white);
  overflow-x: hidden;
  cursor: none;
}

/* ══════════════════════════════════════════════
   3. CURSOR PERSONALIZADO
   ══════════════════════════════════════════════ */
.cursor {
  width: 12px; height: 12px;
  background: var(--gold);
  border-radius: 50%;
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 9999;
  transform: translate(-50%,-50%);
  transition: transform 0.1s, background 0.2s;
  mix-blend-mode: screen;
}
.cursor-ring {
  width: 36px; height: 36px;
  border: 1.5px solid var(--gold);
  border-radius: 50%;
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 9998;
  transform: translate(-50%,-50%);
  transition: transform 0.15s ease, opacity 0.2s;
  opacity: 0.5;
}
@media (hover: none) { .cursor, .cursor-ring { display: none; } }
a, button, input, label { cursor: none; }
@media (hover: none) { a, button, input, label { cursor: auto; } }

/* ══════════════════════════════════════════════
   4. NAVEGACIÓN
   ══════════════════════════════════════════════ */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  background: rgba(13,31,60,0.82);
  border-bottom: 1px solid rgba(201,168,76,0.18);
  padding: 0 1.25rem;
  height: 62px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1rem; font-weight: 700;
  color: var(--gold);
  line-height: 1.2;
}
.nav-logo span {
  display: block; font-size: 0.65rem; font-weight: 400;
  color: var(--teal-light); font-family: 'DM Sans', sans-serif;
  letter-spacing: 0.08em;
}
.nav-links { display: flex; gap: 0.2rem; list-style: none; }
.nav-links a {
  font-size: 0.78rem; font-weight: 500;
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  padding: 0.35rem 0.65rem;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}
.nav-links a:hover { color: var(--gold); background: rgba(201,168,76,0.08); }
.nav-cta {
  background: var(--gold);
  color: var(--navy) !important;
  font-weight: 600 !important;
  padding: 0.4rem 0.9rem !important;
  border-radius: 8px !important;
}
.nav-cta:hover { background: var(--gold-light) !important; color: var(--navy) !important; }
.nav-hamburger {
  display: none;
  flex-direction: column; gap: 5px;
  background: none; border: none;
  padding: 6px; border-radius: 6px;
}
.nav-hamburger span {
  width: 22px; height: 2px; background: var(--gold);
  border-radius: 2px; display: block; transition: 0.3s;
}
@media (max-width: 720px) {
  .nav-hamburger { display: flex; }
  .nav-links {
    display: none; flex-direction: column; position: absolute;
    top: 62px; left: 0; right: 0;
    background: rgba(13,31,60,0.97);
    border-bottom: 1px solid rgba(201,168,76,0.2);
    padding: 1rem; gap: 0.25rem;
  }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 0.95rem; padding: 0.65rem 1rem; }
}

/* ══════════════════════════════════════════════
   5. HERO
   ══════════════════════════════════════════════ */
#hero {
  min-height: 100svh;
  display: flex; flex-direction: column;
  justify-content: center; align-items: center;
  text-align: center;
  padding: 80px 1.25rem 3rem;
  position: relative; overflow: hidden;
}

/* Fondo de malla animada */
.hero-bg { position: absolute; inset: 0; z-index: 0; background: var(--navy); }
.hero-bg::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 30%, rgba(29,158,117,0.22) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 70%, rgba(201,168,76,0.18) 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 50% 90%, rgba(30,58,110,0.6) 0%, transparent 60%);
  animation: meshMove 8s ease-in-out infinite alternate;
}
.hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 40% 35% at 75% 20%, rgba(201,168,76,0.12) 0%, transparent 55%),
    radial-gradient(ellipse 50% 45% at 10% 80%, rgba(29,158,117,0.15) 0%, transparent 55%);
  animation: meshMove2 10s ease-in-out infinite alternate;
}
@keyframes meshMove {
  0%   { transform: translate(0,0) scale(1); }
  100% { transform: translate(3%,2%) scale(1.04); }
}
@keyframes meshMove2 {
  0%   { transform: translate(0,0) scale(1); }
  100% { transform: translate(-2%,-3%) scale(1.03); }
}

/* Partículas flotantes */
.particles { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.particle {
  position: absolute; border-radius: 50%;
  opacity: 0; animation: particleFly linear infinite;
}
@keyframes particleFly {
  0%   { transform: translateY(100vh) translateX(0) scale(0); opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 0.6; }
  100% { transform: translateY(-20vh) translateX(var(--dx,40px)) scale(0.5); opacity: 0; }
}

.hero-content { position: relative; z-index: 2; max-width: 780px; }

/* Badge de ubicación */
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(29,158,117,0.15);
  border: 1px solid rgba(29,158,117,0.35);
  color: var(--teal-light);
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.4rem 1rem; border-radius: 100px;
  margin-bottom: 1.5rem;
  animation: fadeDown 0.6s ease 0.1s both;
}
.hero-badge::before { content: '📍'; font-size: 0.8rem; }

@keyframes fadeDown { from { opacity:0; transform: translateY(-12px); } to { opacity:1; transform: none; } }
@keyframes fadeUp   { from { opacity:0; transform: translateY(18px);  } to { opacity:1; transform: none; } }

/* Titular principal */
.hero-headline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 7vw, 4.2rem);
  font-weight: 900; line-height: 1.1;
  color: var(--white); margin-bottom: 1.2rem;
}
.hero-headline .gold { color: var(--gold); }

/* Efecto typewriter */
.typewriter-wrap { display: inline-block; color: var(--gold); position: relative; }
.typewriter-wrap::after {
  content: '|';
  animation: blink 0.8s step-end infinite;
  color: var(--gold);
}
.typewriter-done::after { display: none; }
@keyframes blink { 50% { opacity: 0; } }

.hero-sub {
  font-size: clamp(1rem, 2.5vw, 1.15rem);
  color: rgba(255,255,255,0.7);
  max-width: 580px; margin: 0 auto 2.2rem;
  line-height: 1.65;
  animation: fadeUp 0.7s ease 0.9s both;
}

/* Botones hero */
.hero-btns {
  display: flex; flex-wrap: wrap; gap: 0.85rem; justify-content: center;
  margin-bottom: 3rem;
  animation: fadeUp 0.7s ease 1.1s both;
}

/* ─── Botón con shimmer ─── */
.btn-shimmer {
  position: relative; overflow: hidden;
  padding: 0.85rem 2rem; border-radius: 12px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem; font-weight: 600;
  border: none; text-decoration: none;
  display: inline-flex; align-items: center; gap: 0.5rem;
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-shimmer::before {
  content: '';
  position: absolute; top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.28), transparent);
  animation: shimmerSlide 2.4s ease infinite;
}
@keyframes shimmerSlide { to { left: 160%; } }
.btn-shimmer:hover { transform: translateY(-2px); }

.btn-primary {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: var(--navy);
  box-shadow: 0 6px 28px rgba(201,168,76,0.35);
}
.btn-primary:hover { box-shadow: 0 10px 36px rgba(201,168,76,0.5); }

.btn-secondary {
  background: transparent; color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.3) !important;
}
.btn-secondary::before { background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent); }
.btn-secondary:hover { border-color: rgba(255,255,255,0.6) !important; }

/* Stats hero */
.hero-stats {
  display: grid; grid-template-columns: repeat(2,1fr);
  gap: 0.75rem; width: 100%; max-width: 560px; margin: 0 auto;
  animation: fadeUp 0.7s ease 1.3s both;
}
@media (min-width: 480px) { .hero-stats { grid-template-columns: repeat(4,1fr); } }

.stat-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px; padding: 0.9rem 0.5rem;
  text-align: center; backdrop-filter: blur(8px);
}
.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem; font-weight: 700;
  color: var(--gold); display: block;
}
.stat-label { font-size: 0.68rem; color: rgba(255,255,255,0.6); line-height: 1.3; margin-top: 0.2rem; }

/* ══════════════════════════════════════════════
   6. MARQUEE
   ══════════════════════════════════════════════ */
.marquee-wrap {
  background: rgba(29,158,117,0.12);
  border-top: 1px solid rgba(29,158,117,0.25);
  border-bottom: 1px solid rgba(29,158,117,0.25);
  overflow: hidden; padding: 0.75rem 0;
}
.marquee-track {
  display: flex; width: max-content;
  animation: marqueeScroll 28s linear infinite;
}
.marquee-track:hover { animation-play-state: paused; }
@keyframes marqueeScroll { to { transform: translateX(-50%); } }
.marquee-item {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0 2.5rem;
  font-size: 0.82rem; font-weight: 600; color: var(--teal-light);
  white-space: nowrap;
}
.marquee-dot { width: 5px; height: 5px; background: var(--gold); border-radius: 50%; flex-shrink: 0; }

/* ══════════════════════════════════════════════
   7. BANNER PROMO
   ══════════════════════════════════════════════ */
#promo {
  padding: 2rem 1.25rem;
  background: var(--navy-mid);
  display: flex; justify-content: center;
}
.promo-card {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, rgba(29,158,117,0.15) 0%, rgba(201,168,76,0.1) 100%);
  border: 1.5px solid rgba(201,168,76,0.3);
  border-radius: 20px; padding: 2rem 1.75rem;
  max-width: 680px; width: 100%; text-align: center;
}
/* Rayo de borde animado */
.promo-card::before {
  content: '';
  position: absolute;
  top: -2px; left: -100%;
  width: 60%; height: calc(100% + 4px);
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  animation: borderBeam 3s linear infinite;
  border-radius: 20px;
}
@keyframes borderBeam { to { left: 160%; } }

.promo-emoji { font-size: 2rem; margin-bottom: 0.75rem; display: block; }
.promo-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.3rem, 4vw, 1.85rem);
  font-weight: 700; color: var(--gold); margin-bottom: 0.6rem;
}
.promo-sub { font-size: 0.95rem; color: rgba(255,255,255,0.75); margin-bottom: 1.25rem; }
.badge-nocom {
  display: inline-block;
  background: var(--teal); color: white;
  font-size: 0.78rem; font-weight: 700;
  padding: 0.35rem 1rem; border-radius: 100px;
  letter-spacing: 0.04em; margin-bottom: 1.2rem;
  animation: pulse 2s ease infinite;
}
@keyframes pulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(29,158,117,0.5); }
  50%      { box-shadow: 0 0 0 10px rgba(29,158,117,0); }
}

/* ══════════════════════════════════════════════
   8. SECCIONES — WRAPPERS GENÉRICOS
   ══════════════════════════════════════════════ */
section { padding: 4.5rem 1.25rem; }
.section-navy  { background: var(--navy); }
.section-mid   { background: var(--navy-mid); }
.section-light { background: var(--gray-light); }
.section-teal  { background: var(--teal-xlight); }

.section-label {
  display: inline-block;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--teal); margin-bottom: 0.6rem;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.75rem, 5vw, 2.6rem);
  font-weight: 700; line-height: 1.2; margin-bottom: 1rem;
}
.section-title .gold { color: var(--gold); }
.section-sub { font-size: 1rem; opacity: 0.7; max-width: 520px; line-height: 1.65; }
.section-header { text-align: center; margin-bottom: 3rem; }

/* ══════════════════════════════════════════════
   9. VENTAJAS — SPOTLIGHT CARDS
   ══════════════════════════════════════════════ */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px,1fr));
  gap: 1.25rem; max-width: 1000px; margin: 0 auto;
}

/* Spotlight: sigue al cursor con un glow */
.spotlight-card {
  position: relative; overflow: hidden;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 18px; padding: 1.75rem 1.5rem;
  transition: border-color 0.3s, transform 0.3s;
}
.spotlight-card::before {
  content: '';
  position: absolute;
  width: 220px; height: 220px; border-radius: 50%;
  background: radial-gradient(circle, rgba(29,158,117,0.18) 0%, transparent 70%);
  top: var(--y,-50px); left: var(--x,-50px);
  transform: translate(-50%,-50%);
  pointer-events: none;
  transition: opacity 0.3s; opacity: 0;
}
.spotlight-card:hover::before { opacity: 1; }
.spotlight-card:hover {
  border-color: rgba(29,158,117,0.45);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(29,158,117,0.12);
}
.card-icon {
  width: 48px; height: 48px;
  background: rgba(29,158,117,0.15);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: 1rem;
}
.card-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem; font-weight: 700;
  color: var(--white); margin-bottom: 0.5rem;
}
.card-body { font-size: 0.88rem; color: rgba(255,255,255,0.6); line-height: 1.65; }

/* ══════════════════════════════════════════════
   10. CALCULADORA
   ══════════════════════════════════════════════ */
#calculadora { background: var(--navy); }
.calc-wrap {
  position: relative; overflow: hidden;
  background: rgba(255,255,255,0.04);
  border: 1.5px solid rgba(201,168,76,0.25);
  border-radius: 24px; padding: 2.5rem 2rem;
  max-width: 600px; margin: 0 auto;
}
.calc-wrap::after {
  content: '';
  position: absolute;
  top: -2px; left: -100%;
  width: 50%; height: calc(100% + 4px);
  background: linear-gradient(90deg, transparent, rgba(201,168,76,0.6), transparent);
  animation: borderBeam 4s linear infinite 1.5s;
  border-radius: 24px;
}
.calc-label {
  display: block; font-size: 0.85rem; font-weight: 600;
  color: var(--gold-light); margin-bottom: 0.5rem;
}
.calc-amount {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem; font-weight: 700;
  color: var(--gold); text-align: center; margin: 0.5rem 0 1.25rem;
}
input[type="range"] {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 6px;
  background: rgba(255,255,255,0.1);
  border-radius: 3px; outline: none; margin-bottom: 0.5rem;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--gold); cursor: pointer;
  box-shadow: 0 0 12px rgba(201,168,76,0.5);
  border: 2px solid var(--gold-light);
  transition: transform 0.15s;
}
input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.2); }
input[type="range"]::-moz-range-thumb {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--gold); cursor: pointer;
  border: 2px solid var(--gold-light);
}
.range-labels {
  display: flex; justify-content: space-between;
  font-size: 0.72rem; color: rgba(255,255,255,0.4);
  margin-bottom: 2rem;
}
.calc-results {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1rem; margin-bottom: 1.25rem;
}
@media (max-width: 480px) { .calc-results { grid-template-columns: 1fr; } }
.result-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px; padding: 1.25rem 1rem; text-align: center;
}
.result-icon  { font-size: 1.5rem; margin-bottom: 0.4rem; }
.result-label { font-size: 0.75rem; color: rgba(255,255,255,0.55); margin-bottom: 0.4rem; }
.result-value {
  font-family: 'Playfair Display', serif;
  font-size: 1.45rem; font-weight: 700; color: var(--gold);
}
.calc-note {
  font-size: 0.78rem; color: rgba(255,255,255,0.45);
  line-height: 1.6; text-align: center;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1.1rem; margin-top: 0.5rem;
}
.badge-sin-comision { display: none; text-align: center; margin-top: 1rem; }
.badge-sin-comision.visible { display: block; }
.badge-sin-comision span {
  display: inline-block;
  background: var(--teal); color: white;
  font-size: 0.85rem; font-weight: 700;
  padding: 0.45rem 1.4rem; border-radius: 100px;
  animation: pulse 2s infinite;
}

/* ══════════════════════════════════════════════
   11. REQUISITOS
   ══════════════════════════════════════════════ */
#requisitos { background: var(--gray-light); }
#requisitos .section-title { color: var(--navy); }
#requisitos .section-label { color: var(--teal); }
#requisitos .section-sub   { color: var(--text-muted); }
.req-grid {
  display: grid; grid-template-columns: repeat(auto-fit,minmax(260px,1fr));
  gap: 0.85rem; max-width: 800px; margin: 0 auto;
}
.req-item {
  display: flex; align-items: flex-start; gap: 0.75rem;
  background: var(--white);
  border-radius: 14px; padding: 1rem 1.1rem;
  border: 1px solid rgba(29,158,117,0.15);
  transition: transform 0.2s, box-shadow 0.2s;
}
.req-item:hover { transform: translateY(-3px); box-shadow: 0 6px 24px rgba(29,158,117,0.12); }
.req-check {
  width: 24px; height: 24px; min-width: 24px;
  background: var(--teal); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; color: white; font-weight: 700;
}
.req-text { font-size: 0.875rem; color: var(--text-body); line-height: 1.5; font-weight: 500; }

/* ══════════════════════════════════════════════
   12. TESTIMONIOS
   ══════════════════════════════════════════════ */
#testimonios { background: var(--navy-mid); }
.testimonios-grid {
  display: grid; grid-template-columns: repeat(auto-fit,minmax(270px,1fr));
  gap: 1.25rem; max-width: 960px; margin: 0 auto;
}
.testimonio-card {
  position: relative; overflow: hidden;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px; padding: 1.75rem 1.5rem;
  transition: transform 0.3s;
}
.testimonio-card::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(29,158,117,0.08) 0%, transparent 60%);
  pointer-events: none;
}
.testimonio-card:hover { transform: translateY(-5px); }
.test-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.1rem; }
.test-photo {
  width: 56px; height: 56px; border-radius: 50%;
  border: 2.5px solid var(--teal);
  object-fit: cover; flex-shrink: 0;
}
.test-name  { font-weight: 600; font-size: 0.95rem; color: var(--white); }
.test-city  { font-size: 0.75rem; color: var(--teal-light); margin-top: 0.1rem; }
.test-stars { color: var(--gold); font-size: 0.9rem; margin-top: 0.2rem; }
.test-quote { font-size: 0.875rem; color: rgba(255,255,255,0.72); line-height: 1.7; font-style: italic; }
.test-quote::before {
  content: '"'; color: var(--gold);
  font-size: 1.5rem; font-family: 'Playfair Display', serif;
  line-height: 0; vertical-align: -0.4em; margin-right: 4px;
}

/* ══════════════════════════════════════════════
   13. FAQ
   ══════════════════════════════════════════════ */
#faq { background: var(--navy); }
.faq-list { max-width: 720px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid rgba(255,255,255,0.1); }
.faq-q {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.2rem 0; cursor: pointer;
  font-weight: 600; font-size: 0.95rem; color: var(--white);
  gap: 1rem; transition: color 0.2s;
}
.faq-q:hover { color: var(--gold); }
.faq-icon {
  width: 28px; height: 28px; min-width: 28px;
  border: 1.5px solid var(--gold); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold); font-size: 1rem; font-weight: 700;
  transition: background 0.2s, transform 0.3s; flex-shrink: 0;
}
.faq-item.open .faq-icon { background: var(--gold); color: var(--navy); transform: rotate(45deg); }
.faq-a {
  max-height: 0; overflow: hidden;
  font-size: 0.88rem; color: rgba(255,255,255,0.62);
  line-height: 1.75; transition: max-height 0.4s ease, padding 0.3s;
}
.faq-item.open .faq-a { max-height: 300px; padding-bottom: 1.2rem; }

/* ══════════════════════════════════════════════
   14. FOOTER
   ══════════════════════════════════════════════ */
footer {
  background: #070f1e;
  border-top: 1px solid rgba(201,168,76,0.15);
  padding: 2.5rem 1.25rem; text-align: center;
}
.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem; font-weight: 700;
  color: var(--gold); margin-bottom: 0.5rem;
}
.footer-cities { font-size: 0.8rem; color: var(--teal-light); margin-bottom: 1rem; }
.footer-copy   { font-size: 0.75rem; color: rgba(255,255,255,0.3); }

/* ══════════════════════════════════════════════
   15. WHATSAPP FLOTANTE
   ══════════════════════════════════════════════ */
.wa-wrapper { position: fixed; bottom: 24px; left: 20px; z-index: 800; }
.wa-btn {
  width: 58px; height: 58px; border-radius: 50%;
  background: #25D366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 24px rgba(37,211,102,0.45);
  border: none; cursor: pointer;
  animation: waPulse 2.5s ease infinite;
  position: relative; z-index: 2; transition: transform 0.2s;
}
.wa-btn:hover { transform: scale(1.08); }
@keyframes waPulse {
  0%,100% { box-shadow: 0 6px 24px rgba(37,211,102,0.45), 0 0 0 0 rgba(37,211,102,0.4); }
  50%      { box-shadow: 0 6px 24px rgba(37,211,102,0.45), 0 0 0 14px rgba(37,211,102,0); }
}
.wa-icon { width: 30px; height: 30px; fill: white; }

.wa-popup {
  position: absolute; bottom: 70px; left: 0;
  width: 290px;
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 12px 50px rgba(0,0,0,0.3);
  padding: 1.1rem 1.1rem 0.9rem;
  transform: translateY(16px); opacity: 0;
  pointer-events: none;
  transition: transform 0.4s ease, opacity 0.4s ease;
}
.wa-popup.show { transform: translateY(0); opacity: 1; pointer-events: auto; }
.wa-popup-close {
  position: absolute; top: 8px; right: 10px;
  background: none; border: none;
  font-size: 1rem; color: #999; cursor: pointer; line-height: 1;
}
.wa-popup-msg {
  font-size: 0.83rem; color: var(--text-body);
  line-height: 1.6; margin-bottom: 0.9rem;
}
.wa-popup-cta {
  display: block; width: 100%;
  background: #25D366; color: white;
  font-weight: 600; font-size: 0.85rem;
  padding: 0.6rem; border-radius: 10px;
  text-align: center; text-decoration: none;
  transition: background 0.2s;
}
.wa-popup-cta:hover { background: #1ebe5b; }

/* ══════════════════════════════════════════════
   16. ANIMACIONES DE SCROLL (IntersectionObserver)
   ══════════════════════════════════════════════ */
.reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible { opacity: 1; transform: none; }

.reveal-zoom {
  opacity: 0; transform: scale(0.94);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal-zoom.visible { opacity: 1; transform: none; }

/* ══════════════════════════════════════════════
   17. UTILIDADES
   ══════════════════════════════════════════════ */
.container { max-width: 1080px; margin: 0 auto; }
a { color: inherit; }
