/* ============================================================
   FUNNEL REAL STATE MASTER — Sistema de diseño
   Paleta: verdes de la VSL (verde bosque profundo + verde brillante)
   Estructura heredada del funnel de EMS (funnel-nuevo/), 2026-09-09
   ============================================================ */

:root {
  /* Color — tomados de los fotogramas de la VSL */
  --g-950: #061410;        /* fondo base, casi negro verdoso */
  --g-900: #0a1f17;        /* secciones oscuras */
  --g-800: #10311f;        /* degradados */
  --g-700: #16482c;
  --g-600: #1c6a3d;
  --green: #1f8f52;        /* primario */
  --green-bright: #35d07f; /* acento / glow */
  --mint: #8ff7be;         /* resaltado de titulares sobre oscuro */
  --paper: #f4f8f5;        /* texto principal sobre oscuro */
  --muted: rgba(244, 248, 245, .78);
  --card: rgba(255, 255, 255, .05);
  --line: rgba(143, 247, 190, .18);

  /* Marcas (colores oficiales de las apps) */
  --airbnb: #ff385c;
  --booking: #003b95;

  /* Tipografía */
  --font-head: 'Sora', 'Segoe UI', sans-serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;

  --radius: 18px;
  --shadow: 0 10px 30px rgba(0, 0, 0, .35);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, .5);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--g-950);
  color: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.18; }

.container { max-width: 1080px; margin: 0 auto; padding: 0 22px; }
.container-narrow { max-width: 780px; margin: 0 auto; padding: 0 22px; }

/* ---------- Header ---------- */
.site-header {
  background: rgba(6, 20, 16, .92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 14px 0;
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
}
.site-header .container { display: flex; justify-content: center; align-items: center; }

.wordmark {
  font-family: var(--font-head);
  color: #fff;
  font-weight: 300;
  font-size: 1.25rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  line-height: 1.25;
  text-align: center;
  user-select: none;
}
.wordmark strong { font-weight: 800; letter-spacing: .1em; color: var(--mint); }
.wordmark span {
  display: block;
  font-weight: 300;
  font-size: .78em;
  letter-spacing: .55em;
  margin-right: -.55em;
  color: var(--muted);
}
.site-footer .wordmark { margin-bottom: 16px; font-size: 1.05rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(900px 480px at 80% -10%, rgba(53, 208, 127, .28), transparent 60%),
    radial-gradient(700px 420px at -10% 60%, rgba(31, 143, 82, .22), transparent 60%),
    linear-gradient(160deg, var(--g-900) 0%, var(--g-800) 60%, var(--g-700) 120%);
  color: var(--paper);
  padding: 56px 0 88px;
  overflow: hidden;
  text-align: center;
}
.hero::after {
  /* halo verde tipo VSL detrás del vídeo */
  content: '';
  position: absolute;
  left: 50%; bottom: -120px;
  width: 720px; height: 320px;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(53, 208, 127, .28), transparent);
  filter: blur(20px);
  pointer-events: none;
}
.hero > * { position: relative; z-index: 1; }

.hero .eyebrow {
  display: inline-block;
  background: rgba(53, 208, 127, .12);
  border: 1px solid rgba(53, 208, 127, .5);
  color: var(--mint);
  font-weight: 600;
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(1.55rem, 4.2vw, 2.6rem);
  font-weight: 800;
  margin-bottom: 18px;
  text-transform: uppercase;
}
.hero h1 .hl { color: var(--mint); }
.hero .sub {
  font-size: clamp(1rem, 2vw, 1.18rem);
  color: var(--muted);
  max-width: 660px;
  margin: 0 auto;
}
.hero .sub strong { color: #fff; }
.hero .sub u { text-decoration-color: var(--green-bright); text-underline-offset: 3px; }

/* Lista "esta clase es para ti si" */
.para-ti {
  max-width: 660px;
  margin: 26px auto 34px;
  text-align: left;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px;
}
.para-ti p { margin: 0 0 10px; font-size: clamp(.95rem, 1.8vw, 1.05rem); color: var(--muted); }
.para-ti p:last-child { margin: 0; }
.para-ti strong { color: #fff; }
.para-ti .hl { color: var(--mint); }

/* ---------- Plataformas (Airbnb / Booking) ---------- */
.platforms {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 26px;
  margin: 26px auto 0;
  padding: 14px 22px;
  width: max-content;
  max-width: 100%;
  border-radius: 999px;
  background: rgba(6, 20, 16, .45);
  border: 1px solid var(--line);
  box-shadow: 0 0 40px rgba(53, 208, 127, .15) inset;
}
.platforms .plat-label {
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
.plat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: var(--paper);
  font-size: .78rem;
  font-weight: 500;
}
.plat .app-icon {
  width: 54px; height: 54px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .45), 0 0 0 1px rgba(255, 255, 255, .08) inset;
}
.plat .app-icon svg { width: 32px; height: 32px; display: block; }
.plat.airbnb .app-icon { background: var(--airbnb); }
.plat.booking .app-icon { background: var(--booking); }
.plat.booking .app-icon svg { width: 44px; height: 44px; }

/* ---------- Vídeo ---------- */
.video-shell {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(143, 247, 190, .18), 0 0 70px rgba(53, 208, 127, .22);
  background: #000;
  margin: 0 auto;
}
.video-shell.vertical { max-width: 380px; }

/* ---------- Botones ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.06rem;
  letter-spacing: .03em;
  text-decoration: none;
  text-align: center;
  color: #06261a;
  background: linear-gradient(135deg, var(--green-bright) 0%, #7ef0b2 100%);
  border: none;
  border-radius: 999px;
  padding: 17px 40px;
  cursor: pointer;
  box-shadow: 0 12px 26px rgba(53, 208, 127, .35);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s;
}
.btn:hover { transform: translateY(-2px); filter: brightness(1.05); box-shadow: 0 16px 34px rgba(53, 208, 127, .45); }
.btn:active { transform: translateY(0); }
.btn .btn-sub { display: block; font-family: var(--font-body); font-weight: 600; font-size: .78rem; opacity: .8; margin-top: 3px; letter-spacing: .08em; }
.btn.pulse { animation: pulse 2.4s infinite; }
@keyframes pulse {
  0%   { box-shadow: 0 12px 26px rgba(53,208,127,.35), 0 0 0 0 rgba(53,208,127,.5); }
  70%  { box-shadow: 0 12px 26px rgba(53,208,127,.35), 0 0 0 20px rgba(53,208,127,0); }
  100% { box-shadow: 0 12px 26px rgba(53,208,127,.35), 0 0 0 0 rgba(53,208,127,0); }
}
.btn.big { font-size: 1.15rem; padding: 20px 56px; }

/* ---------- Secciones ---------- */
section { padding: 64px 0; }
.dark-section {
  background:
    radial-gradient(800px 400px at 50% 0%, rgba(53, 208, 127, .12), transparent 60%),
    var(--g-950);
  border-top: 1px solid var(--line);
}
.section-title {
  font-size: clamp(1.4rem, 3.2vw, 2.05rem);
  font-weight: 800;
  text-align: center;
  margin-bottom: 16px;
  text-transform: uppercase;
}
.section-title .hl { color: var(--mint); }
.section-lead { text-align: center; max-width: 680px; margin: 0 auto 18px; color: var(--muted); font-size: 1.05rem; }
.section-lead strong { color: #fff; }
.divider-line {
  width: 74px; height: 4px; border-radius: 4px;
  background: linear-gradient(90deg, var(--green), var(--mint));
  margin: 0 auto 34px;
}

/* ---------- Testimonios (a la espera de contenido) ---------- */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin-top: 40px;
}
.testi-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.testi-card .who { font-family: var(--font-head); font-weight: 700; color: var(--mint); margin-bottom: 10px; }
.testi-card p { color: var(--muted); margin-bottom: 12px; font-size: .98rem; }
.testi-card img { border-radius: 12px; margin-top: 8px; }

/* Cierre */
.quote-band {
  text-align: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.05rem, 2.4vw, 1.45rem);
  color: var(--mint);
  max-width: 760px;
  margin: 0 auto;
}

/* ---------- Footer ---------- */
.site-footer {
  background: #040d0a;
  color: var(--muted);
  text-align: center;
  padding: 38px 0 44px;
  font-size: .85rem;
  border-top: 1px solid var(--line);
}
.site-footer a { color: var(--muted); }

/* ---------- Animaciones de aparición ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn.pulse { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 720px) {
  .hero { padding: 40px 0 72px; }
  .hero h1 { font-size: 1.45rem; }
  .platforms { gap: 18px; padding: 12px 18px; }
  .platforms .plat-label { display: none; }
  .plat .app-icon { width: 48px; height: 48px; }
  .btn.big { display: block; width: 100%; padding: 18px 20px; font-size: 1.05rem; }
  .testi-grid { grid-template-columns: 1fr; }
  section { padding: 52px 0; }
}
