/* ============================================================
   hobby-match — Landing page (Instagram + carrusel nítido)
   Paleta: gradiente signature IG sobre fondos lavanda/peach tenues.
   Hero con slideshow de fotos NÍTIDAS teñidas con tonos IG.
   ============================================================ */

:root {
  /* ── Gradiente Instagram — versión vibrante ──
     Más saturado y luminoso, primera impresión punchy. */
  --ig-purple:        #9333EA;
  --ig-pink:          #DB2777;
  --ig-magenta:       #EC4899;
  --ig-red:           #EF4444;
  --ig-orange:        #FB923C;
  --ig-yellow:        #FBBF24;
  --ig-blue:          #2563EB;

  --ig-gradient:      linear-gradient(135deg, #9333EA 0%, #EC4899 50%, #FB923C 100%);
  --ig-gradient-alt:  linear-gradient(45deg, #FBBF24 0%, #FB923C 25%, #EC4899 50%, #DB2777 75%, #9333EA 100%);
  --ig-gradient-soft: linear-gradient(135deg, rgba(147, 51, 234, 0.12) 0%, rgba(236, 72, 153, 0.12) 50%, rgba(251, 146, 60, 0.12) 100%);

  /* ── Fondos más luminosos (sin llegar a blanco puro) ── */
  --bg-base:          #FCF9FE;   /* lavanda casi blanco — body */
  --bg-peach:         #FFF7F2;   /* peach muy luminoso */
  --bg-lilac:         #F5EEFD;   /* lila claro brillante */
  --bg-cream:         #FFFAF4;   /* crema luminoso */
  --bg-dark:          #1C1C22;
  --bg-darker:        #0E0E12;

  --card:             #FFFFFF;
  --card-soft:        #FAFAFA;

  --text-primary:     #262626;
  --text-secondary:   #4A4558;
  --text-muted:       #8E8E93;
  --text-link:        #0095F6;

  --border:           #DBDBDB;
  --border-soft:      #EFEFEF;

  --radius-sm:        12px;
  --radius:           20px;
  --radius-lg:        28px;
  --radius-pill:      999px;
  --shadow-sm:        0 1px 3px rgba(0, 0, 0, 0.06), 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow:           0 4px 16px rgba(147, 51, 234, 0.16), 0 12px 32px rgba(236, 72, 153, 0.14);
  --shadow-lg:        0 20px 50px rgba(147, 51, 234, 0.28);
  --shadow-ig:        0 15px 45px rgba(236, 72, 153, 0.45);
  --transition:       all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

  --font:             'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-display:     'Plus Jakarta Sans', system-ui, sans-serif;
}

/* ============================================================
   Reset y base
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  /* Fondo con un sutil halo de luminosidad en la parte superior y
     un toque de calidez abajo para que la página "respire luz". */
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%,
      rgba(255, 255, 255, 0.6) 0%,
      transparent 60%),
    var(--bg-base);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-top: 0;
}

p { margin-top: 0; }

a { color: var(--text-link); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--ig-magenta); }

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

.container-hm {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  background: var(--text-primary);
  color: #fff;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  z-index: 9999;
  font-weight: 600;
}
.skip-link:focus { top: 1rem; color: #fff; }

/* ============================================================
   Focus visible global — accesibilidad de teclado
   ============================================================ */
:where(a, button, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--ig-magenta);
  outline-offset: 3px;
  border-radius: 6px;
}
/* ============================================================
   Badge "Ejemplo" — para tarjetas ilustrativas (live + testi)
   ============================================================ */
.example-tag {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 2;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.25rem 0.55rem;
  border-radius: var(--radius-pill);
  background: rgba(28, 28, 34, 0.78);
  color: #fff;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  pointer-events: none;
}
.live-card, .testimonial { position: relative; }

.text-gradient {
  background: var(--ig-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ============================================================
   Botones
   ============================================================ */
.btn-hm {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.75rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn-primary-hm {
  background: var(--ig-gradient-alt);
  background-size: 200% 200%;
  color: #fff;
  box-shadow:
    var(--shadow-ig),
    0 0 0 0 rgba(236, 72, 153, 0.4);
  animation: gradientShift 6s ease infinite, btnPulse 3s ease-in-out infinite;
  position: relative;
  overflow: hidden;
}
/* Brillo "shimmer" que cruza el botón al hover */
.btn-primary-hm::before {
  content: '';
  position: absolute;
  top: 0; left: -150%;
  width: 80%; height: 100%;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.4) 50%,
    transparent 100%);
  transform: skewX(-20deg);
  transition: left 0.6s ease;
}
.btn-primary-hm:hover::before { left: 150%; }
.btn-primary-hm:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 25px 60px rgba(236, 72, 153, 0.6);
  color: #fff;
}
.btn-primary-hm:active { transform: translateY(-1px) scale(1); }

@keyframes btnPulse {
  0%, 100% { box-shadow: var(--shadow-ig), 0 0 0 0 rgba(236, 72, 153, 0.4); }
  50%      { box-shadow: var(--shadow-ig), 0 0 0 12px rgba(236, 72, 153, 0); }
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}

.btn-ghost-hm {
  background: rgba(255, 255, 255, 0.85);
  color: var(--text-primary);
  border-color: var(--border);
  backdrop-filter: blur(8px);
}
.btn-ghost-hm:hover {
  background: var(--text-primary);
  color: #fff;
  border-color: var(--text-primary);
}

/* Botón blanco sobre fondos coloridos (CTA final).
   Texto en magenta saturado para que el contraste sea ≥ 7:1 sobre
   blanco. Sombra reforzada en magenta para "anclar" el botón sobre
   el gradiente atardecer del CTA final. */
.btn-white-hm {
  background: #FFFFFF;
  color: #BE185D;
  font-weight: 700;
  box-shadow:
    0 14px 40px rgba(0, 0, 0, 0.22),
    0 4px 12px rgba(0, 0, 0, 0.08);
}
.btn-white-hm:hover {
  transform: translateY(-2px);
  background: #FFFFFF;
  color: #9D174D;
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.28),
    0 6px 16px rgba(0, 0, 0, 0.10);
}

/* ============================================================
   Navbar
   ============================================================ */
/* Navbar siempre opaco con backdrop-blur: garantiza contraste del
   logo y los links sobre cualquier frame del carrusel del hero
   (incluyendo fondos claros como el atardecer). Al hacer scroll
   sólo intensificamos un poco la sombra. */
.navbar-hm {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0.85rem 0;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.02);
  transition: background-color 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.navbar-hm.scrolled {
  background: rgba(255, 255, 255, 0.94);
  border-bottom-color: var(--border-soft);
  box-shadow: var(--shadow-sm);
}
.navbar-hm__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.navbar-hm__brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--text-primary);
}
.navbar-hm__brand:hover { color: var(--ig-magenta); }
.navbar-hm__logo { width: 40px; height: 40px; object-fit: contain; }
.navbar-hm__links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.navbar-hm__links a {
  color: var(--text-primary);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
}
.navbar-hm__links a:hover { color: var(--ig-magenta); }
.navbar-hm__links a.active {
  background: var(--ig-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
}
.navbar-hm__cta {
  padding: 0.55rem 1.25rem !important;
  font-size: 0.88rem !important;
}
.navbar-hm__toggle {
  display: none;
  background: transparent;
  border: 0;
  font-size: 1.5rem;
  color: var(--text-primary);
  cursor: pointer;
  padding: 0.25rem;
}

@media (max-width: 900px) {
  .navbar-hm__toggle { display: block; }
  /* En móvil hacemos el navbar opaco para que no se vea la línea
     decorativa del hero a través, y el logo se distinga limpio. */
  .navbar-hm {
    background: rgba(255, 255, 255, 0.98);
  }
  .navbar-hm__links {
    position: fixed;
    top: 68px; left: 0; right: 0;
    flex-direction: column;
    gap: 1rem;
    background: var(--card);
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-soft);
    box-shadow: var(--shadow);
    transform: translateY(-120%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  }
  .navbar-hm__links.open { transform: translateY(0); }
}

/* ============================================================
   SWIPE DEMO — sección con device mockup y cards draggables
   ============================================================ */
.swipe-demo {
  position: relative;
  overflow: hidden;
  /* Fondo enriquecido: gradient diagonal cálido + radiales tintados
     para que la sección no se sienta opaca al lado del hero. */
  background:
    radial-gradient(ellipse 70% 50% at 15% 25%, rgba(251, 191, 36, 0.18), transparent 65%),
    radial-gradient(ellipse 60% 60% at 85% 75%, rgba(147, 51, 234, 0.16), transparent 60%),
    linear-gradient(135deg, var(--bg-cream) 0%, var(--bg-lilac) 100%);
}
/* Banda gradiente atardecer al tope de la sección como divisor visual */
.swipe-demo::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--ig-gradient);
  opacity: 0.7;
}
/* Halo decorativo flotante (estilo hero) detrás del device para
   reforzar la sensación de profundidad y color. */
.swipe-demo::after {
  content: "";
  position: absolute;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(236, 72, 153, 0.22) 0%, transparent 70%);
  top: 50%;
  right: -80px;
  transform: translateY(-50%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}
.swipe-demo .container-hm { position: relative; z-index: 1; }
.swipe-demo__container {
  display: grid;
  gap: 3rem;
  align-items: center;
  grid-template-columns: 1fr;
}
@media (min-width: 960px) {
  .swipe-demo__container {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

.swipe-demo__text { max-width: 480px; }
.swipe-demo__text .section__title { text-align: left; }
.swipe-demo__text .section__subtitle { text-align: left; margin-top: 0.5rem; }
.swipe-demo__bullets {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: grid;
  gap: 0.7rem;
}
.swipe-demo__bullets li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-primary);
  font-weight: 600;
}
.swipe-demo__bullets i {
  color: var(--ig-magenta);
  font-size: 1.1rem;
}

.swipe-demo__device {
  display: flex;
  justify-content: center;
}

/* Device frame: estilo "iPhone" con notch arriba.
   Sombra reforzada en magenta+morado para que parezca "flotar"
   sobre la sección y se sienta como objeto principal. */
.device-frame {
  position: relative;
  width: 320px;
  height: 540px;
  background: var(--bg-darker);
  border-radius: 40px;
  padding: 16px;
  box-shadow:
    0 40px 80px -10px rgba(147, 51, 234, 0.4),
    0 25px 50px -10px rgba(236, 72, 153, 0.3),
    0 10px 20px rgba(0, 0, 0, 0.15),
    inset 0 0 0 2px rgba(255, 255, 255, 0.08);
  overflow: hidden;
  /* Gradiente conic sutil en el borde para reforzar profundidad */
  background-image:
    radial-gradient(ellipse at top, rgba(236, 72, 153, 0.08) 0%, transparent 50%),
    linear-gradient(135deg, #1c1c22 0%, #0e0e12 100%);
}
.device-notch {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 96px;
  height: 22px;
  background: var(--bg-darker);
  border-radius: 12px;
  z-index: 10;
}

.swipe-stack {
  position: relative;
  width: 100%;
  height: calc(100% - 90px); /* deja espacio para los controles */
  margin-top: 32px;
}

.swipe-card {
  position: absolute;
  inset: 0;
  background: var(--bg, var(--ig-gradient));
  border-radius: 22px;
  padding: 1.5rem;
  color: #FFFFFF;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  transform-origin: bottom center;
  /* Disable selection durante drag */
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y; /* permitir scroll vertical de página */
  cursor: grab;
  will-change: transform, opacity;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}
.swipe-card:active { cursor: grabbing; }

/* Estados stack: la card 0 es la del frente */
.swipe-card[data-index="0"] { z-index: 3; transform: translateY(0)    scale(1)    rotate(0); }
.swipe-card[data-index="1"] { z-index: 2; transform: translateY(-10px) scale(0.96) rotate(0); opacity: 0.85; }
.swipe-card[data-index="2"] { z-index: 1; transform: translateY(-20px) scale(0.92) rotate(0); opacity: 0.65; }

.swipe-card__avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  font-weight: 800;
  border: 2px solid rgba(255, 255, 255, 0.6);
}
.swipe-card__name {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}
.swipe-card__loc {
  font-size: 0.85rem;
  opacity: 0.92;
  display: flex;
  align-items: center;
  gap: 4px;
}
.swipe-card__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}
.swipe-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(255, 255, 255, 0.2);
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
}
.swipe-chip i { font-size: 0.7rem; }
.swipe-card__bio {
  font-size: 0.88rem;
  line-height: 1.45;
  margin-top: auto;
  font-style: italic;
  opacity: 0.96;
}

/* Sellos LIKE / PASS que aparecen al arrastrar */
.swipe-stamp {
  position: absolute;
  top: 24px;
  padding: 6px 14px;
  border: 3px solid;
  border-radius: 8px;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 2px;
  opacity: 0;
  transform: rotate(-12deg);
  pointer-events: none;
}
.swipe-stamp--like {
  right: 22px;
  color: #10B981;
  border-color: #10B981;
  background: rgba(16, 185, 129, 0.1);
  transform: rotate(-12deg);
}
.swipe-stamp--nope {
  left: 22px;
  color: #EF4444;
  border-color: #EF4444;
  background: rgba(239, 68, 68, 0.1);
  transform: rotate(12deg);
}

.swipe-controls {
  position: absolute;
  bottom: 22px;
  left: 0; right: 0;
  display: flex;
  justify-content: center;
  gap: 18px;
  z-index: 5;
}
.swipe-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: none;
  background: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
  transition: transform 0.18s ease;
}
.swipe-btn:hover { transform: scale(1.08); }
.swipe-btn:active { transform: scale(0.94); }
.swipe-btn--pass { color: #EF4444; }
.swipe-btn--like { color: #10B981; }

.swipe-empty {
  position: absolute;
  inset: 16px 16px 90px 16px;
  border-radius: 22px;
  background: #FFFFFF;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.5rem;
  z-index: 4;
}
.swipe-empty.is-visible { display: flex; }
.swipe-empty__icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--ig-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.8rem;
  margin-bottom: 0.75rem;
}
.swipe-empty h3 {
  margin: 0 0 0.5rem;
  color: var(--text-primary);
  font-size: 1.4rem;
}
.swipe-empty p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin: 0;
}

/* ============================================================
   STICKY CTA — botón flotante que aparece al scrollear
   ============================================================ */
.sticky-cta {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1000;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.85rem 1.4rem;
  background: var(--ig-gradient);
  color: #FFFFFF;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.2px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  /* Halo idle suave: aporta presencia sin competir con el contenido.
     En :hover/:focus aumentamos el blur y la saturación. */
  box-shadow:
    0 10px 28px -10px rgba(236, 72, 153, 0.45),
    0 3px 8px rgba(0, 0, 0, 0.10);
  opacity: 0;
  transform: translateY(80px) scale(0.9);
  pointer-events: none;
  transition: box-shadow 0.25s ease;
}
.sticky-cta.is-visible {
  pointer-events: auto;
}
.sticky-cta i {
  font-size: 1.05rem;
}
.sticky-cta:hover,
.sticky-cta:focus-visible {
  filter: brightness(1.08);
  box-shadow:
    0 18px 50px -8px rgba(236, 72, 153, 0.65),
    0 6px 16px rgba(0, 0, 0, 0.14);
}
@media (max-width: 480px) {
  .sticky-cta {
    bottom: 18px;
    right: 18px;
    padding: 0.7rem 1.1rem;
    font-size: 0.85rem;
  }
}

/* ============================================================
   SECCIÓN "LO QUE PASA AHORA" — cards de actividad viva
   ============================================================ */
.live {
  background: linear-gradient(180deg, var(--bg-base) 0%, var(--bg-lilac) 100%);
}
.live__dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ig-magenta);
  margin-right: 8px;
  vertical-align: middle;
  box-shadow: 0 0 0 0 rgba(236, 72, 153, 0.6);
  animation: noticePing 2s ease-out infinite;
}
.live__grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
  margin-top: 1rem;
}
@media (min-width: 720px) {
  .live__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .live__grid { grid-template-columns: repeat(3, 1fr); }
}

.live-card {
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-soft);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.live-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--ig-gradient);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.live-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.live-card:hover::before { opacity: 1; }

.live-card__top {
  display: flex;
  align-items: center;
  gap: 12px;
}
.live-card__avatar,
.live-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  color: #fff;
  flex-shrink: 0;
}
.live-card__avatar--1 { background: linear-gradient(135deg, #FB923C, #EC4899); }
.live-card__icon--magenta { background: linear-gradient(135deg, #EC4899, #9333EA); }
.live-card__icon--purple  { background: linear-gradient(135deg, #9333EA, #2563EB); }
.live-card__icon i { font-size: 1.2rem; }

.live-card__name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
}
.live-card__meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 2px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.live-card__meta i { font-size: 0.85rem; color: var(--ig-magenta); }

.live-card__title {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.4;
  margin: 0;
  letter-spacing: -0.01em;
  /* Cita: cursiva sutil */
  font-style: italic;
}

.live-card__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.live-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 600;
}
.live-chip i { font-size: 0.7rem; }
.live-chip--orange { background: rgba(251, 146, 60, 0.12); color: #C2410C; }
.live-chip--purple { background: rgba(147, 51, 234, 0.12); color: #7E22CE; }
.live-chip--violet { background: rgba(139, 92, 246, 0.14); color: #6D28D9; }
.live-chip--mint   { background: rgba(16, 185, 129, 0.12); color: #047857; }

.live-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 0.5rem;
  border-top: 1px solid var(--border-soft);
}
.live-card__avatars {
  display: flex;
  align-items: center;
}
.mini-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  border: 2px solid var(--card);
  margin-left: -8px;
}
.mini-avatar:first-child { margin-left: 0; }
.mini-avatar--a { background: linear-gradient(135deg, #FB923C, #FBBF24); }
.mini-avatar--b { background: linear-gradient(135deg, #EC4899, #FB923C); }
.mini-avatar--c { background: linear-gradient(135deg, #9333EA, #EC4899); }
.mini-avatar--d { background: linear-gradient(135deg, #2563EB, #9333EA); }
.mini-avatar--e { background: linear-gradient(135deg, #10B981, #2563EB); }
.mini-avatar--f { background: linear-gradient(135deg, #FBBF24, #FB923C); }
.mini-avatar--g { background: linear-gradient(135deg, #8B5CF6, #EC4899); }
.mini-avatar--h { background: linear-gradient(135deg, #EC4899, #9333EA); }
.mini-avatar--i { background: linear-gradient(135deg, #FB923C, #EF4444); }
.mini-avatar--j { background: linear-gradient(135deg, #9333EA, #2563EB); }

.live-card__cta-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.live__disclaimer {
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.live__disclaimer i { color: var(--ig-magenta); }

/* Keyframe usado por .live__dot — mantener aunque se desligó del hero antiguo */
@keyframes noticePing {
  0%   { box-shadow: 0 0 0 0   rgba(236, 72, 153, 0.6); }
  70%  { box-shadow: 0 0 0 10px rgba(236, 72, 153, 0);   }
  100% { box-shadow: 0 0 0 0   rgba(236, 72, 153, 0);   }
}

/* === BLOQUE LEGACY ELIMINADO ===
   Aquí vivía todo el CSS del hero antiguo: .hero__grid, .hero__text,
   .hero__visual, .hero__card*, .hero__badge*, .hero__notice*,
   .hero__hashtag*, .hero__blob, .hero__dots, .hero__dot,
   .hero__eyebrow, .hero__title, .hero__subtitle, .hero__actions,
   .hero__social-proof*, .hero__avatar*, .hero__stars, y los
   keyframes heroIn, heroVisualIn, heartbeat, cardFloat, pulse, float.
   Se eliminó al consolidar el hero v3 como landing definitivo.
   Backup completo en css/landing.css.backup-pre-hero-v3. */
/* ============================================================
   Trust bar
   ============================================================ */
.trust-bar {
  padding: 2rem 0;
  background: var(--bg-peach);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}
.trust-bar__label {
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.25rem;
}
.trust-bar__items {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 2.5rem;
  color: var(--text-primary);
  font-weight: 600;
  font-size: 1rem;
}
.trust-bar__item { display: flex; align-items: center; gap: 0.5rem; }

/* ============================================================
   Stats
   ============================================================ */
.stats { padding: 5rem 0; background: var(--bg-lilac); }
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}
.stats__item {
  padding: 1.5rem;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.stats__item:hover { transform: translateY(-6px); }
.stats__number {
  font-size: clamp(2.8rem, 5vw, 4rem);
  font-weight: 800;
  font-family: var(--font-display);
  line-height: 1;
  margin-bottom: 0.6rem;
  letter-spacing: -0.03em;
  background: var(--ig-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 4px 24px rgba(236, 72, 153, 0.35));
}
.stats__number--indigo {
  background: linear-gradient(135deg, var(--ig-purple), var(--ig-blue));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 4px 24px rgba(147, 51, 234, 0.45));
}
.stats__number--amber {
  background: linear-gradient(135deg, var(--ig-yellow), var(--ig-orange));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 4px 24px rgba(251, 146, 60, 0.45));
}
.stats__number--mint {
  background: linear-gradient(135deg, var(--ig-orange), var(--ig-magenta));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 4px 24px rgba(236, 72, 153, 0.45));
}
.stats__label {
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: 0.005em;
}

/* ============================================================
   Sección base
   ============================================================ */
.section { padding: 6rem 0; position: relative; }
.section__header { text-align: center; max-width: 700px; margin: 0 auto 4rem; }
.section__eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-bottom: 1rem;
  background: var(--ig-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.section__title { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1rem; }
.section__subtitle { font-size: 1.1rem; color: var(--text-secondary); }

/* ============================================================
   Cómo funciona
   ============================================================ */
.how { background: var(--bg-cream); }
.how__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  position: relative;
}
.how__grid::before {
  content: '';
  position: absolute;
  top: 48px; left: 16.66%; right: 16.66%;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--border) 0 8px, transparent 8px 18px);
  z-index: 0;
}
.how__step { position: relative; z-index: 1; text-align: center; padding: 0 1rem; }
.how__number {
  width: 96px; height: 96px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  background: var(--ig-gradient);
  box-shadow: var(--shadow-ig);
  border: 6px solid var(--bg-cream);
}
.how__step:nth-child(2) .how__number {
  background: linear-gradient(135deg, var(--ig-orange), var(--ig-yellow));
  box-shadow: 0 15px 40px rgba(247, 119, 55, 0.4);
}
.how__step:nth-child(3) .how__number {
  background: linear-gradient(135deg, var(--ig-purple), var(--ig-blue));
  box-shadow: 0 15px 40px rgba(131, 58, 180, 0.4);
}
.how__step h3 { font-size: 1.35rem; margin-bottom: 0.75rem; }
.how__step p { color: var(--text-secondary); margin: 0; }

/* ============================================================
   Hobbies
   ============================================================ */
.hobbies { background: var(--bg-base); }

.hobbies__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.hobby-card {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-sm);
  transform-style: preserve-3d;
  perspective: 1000px;
}
.hobby-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.hobby-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(28, 28, 34, 0.88) 100%);
  transition: var(--transition);
}
.hobby-card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow:
    0 30px 60px rgba(147, 51, 234, 0.28),
    0 15px 35px rgba(236, 72, 153, 0.25);
}
.hobby-card:hover img { transform: scale(1.12); }
.hobby-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  padding: 3px;
  background: var(--ig-gradient-alt);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s;
  z-index: 3;
  pointer-events: none;
}
.hobby-card:hover::before { opacity: 1; }
.hobby-card__label {
  position: absolute;
  bottom: 1rem; left: 1rem; right: 1rem;
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}
.hobby-card__count {
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 600;
}
.hobby-card.hidden { display: none; }

/* Card especial "Y muchos más" — invitación a explorar más hobbies.
   Reemplaza la imagen por un gradiente Instagram animado. */
.hobby-card--more {
  background: var(--ig-gradient-alt);
  background-size: 200% 200%;
  animation: gradientShift 8s ease infinite;
  display: grid;
  place-items: center;
  text-decoration: none;
  color: #fff;
  text-align: center;
  padding: 1.5rem;
  box-shadow: var(--shadow-ig);
}
/* Quitamos el overlay oscuro que tienen las cards con imagen */
.hobby-card--more::after { display: none; }
/* Borde degradado al hacer hover queda igual que las otras */

.hobby-card--more__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}
.hobby-card--more__icon {
  font-size: 2.6rem;
  margin-bottom: 0.4rem;
  text-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}
.hobby-card--more__title {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}
.hobby-card--more__subtitle {
  font-size: 0.9rem;
  opacity: 0.92;
  font-weight: 500;
  margin-bottom: 0.4rem;
}
.hobby-card--more__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.35);
  transition: var(--transition);
}
.hobby-card--more:hover .hobby-card--more__cta {
  background: rgba(255, 255, 255, 0.35);
  transform: translateX(3px);
}
.hobby-card--more:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 25px 55px rgba(225, 48, 108, 0.45);
}

/* ============================================================
   Features — negro IG
   ============================================================ */
.features {
  background: var(--bg-dark);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.features::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 550px; height: 550px;
  background: var(--ig-magenta);
  border-radius: 50%;
  filter: blur(130px);
  opacity: 0.35;
}
.features::after {
  content: '';
  position: absolute;
  bottom: -200px; left: -200px;
  width: 550px; height: 550px;
  background: var(--ig-purple);
  border-radius: 50%;
  filter: blur(130px);
  opacity: 0.4;
}
.features__container { position: relative; z-index: 1; }
.features h2 { color: #fff; }
.features .section__eyebrow {
  background: var(--ig-gradient-alt);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.features .section__subtitle { color: rgba(255, 255, 255, 0.7); }

.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.feature-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 2rem;
  backdrop-filter: blur(12px);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  padding: 1px;
  background: var(--ig-gradient);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s;
}
.feature-card:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-4px);
}
.feature-card:hover::before { opacity: 1; }
.feature-card__icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 1.25rem;
  background: var(--ig-gradient);
}
.feature-card:nth-child(2) .feature-card__icon { background: linear-gradient(135deg, var(--ig-blue), var(--ig-purple)); }
.feature-card:nth-child(3) .feature-card__icon { background: linear-gradient(135deg, var(--ig-yellow), var(--ig-orange)); color: var(--text-primary); }
.feature-card:nth-child(4) .feature-card__icon { background: linear-gradient(135deg, var(--ig-pink), var(--ig-magenta)); }
.feature-card:nth-child(5) .feature-card__icon { background: linear-gradient(135deg, var(--ig-red), var(--ig-orange)); }
.feature-card:nth-child(6) .feature-card__icon { background: linear-gradient(135deg, var(--ig-purple), var(--ig-magenta)); }
.feature-card h3 { color: #fff; font-size: 1.2rem; margin-bottom: 0.5rem; }
.feature-card p { color: rgba(255, 255, 255, 0.72); margin: 0; font-size: 0.95rem; }

/* ============================================================
   Testimonios
   ============================================================ */
.testimonials { background: var(--bg-cream); }
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.testimonial {
  background: var(--card);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-soft);
  transition: var(--transition);
  position: relative;
}
.testimonial:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.testimonial__quote {
  font-size: 3rem;
  line-height: 0.5;
  background: var(--ig-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0.4;
  position: absolute;
  top: 1.5rem; right: 1.5rem;
  font-family: Georgia, serif;
  font-weight: 700;
}
.testimonial__stars { color: var(--ig-orange); letter-spacing: 2px; margin-bottom: 1rem; }
.testimonial__text { color: var(--text-primary); margin-bottom: 1.5rem; font-size: 1rem; }
.testimonial__author { display: flex; align-items: center; gap: 0.75rem; }
.testimonial__avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--ig-gradient);
  color: #fff;
  font-weight: 700;
  display: grid;
  place-items: center;
  box-shadow: 0 0 0 2px var(--card), 0 0 0 4px var(--ig-magenta);
}
.testimonial:nth-child(2) .testimonial__avatar {
  background: linear-gradient(135deg, var(--ig-orange), var(--ig-magenta));
  box-shadow: 0 0 0 2px var(--card), 0 0 0 4px var(--ig-orange);
}
.testimonial:nth-child(3) .testimonial__avatar {
  background: linear-gradient(135deg, var(--ig-purple), var(--ig-blue));
  box-shadow: 0 0 0 2px var(--card), 0 0 0 4px var(--ig-purple);
}
.testimonial__name { font-weight: 700; color: var(--text-primary); font-size: 0.95rem; }
.testimonial__role { color: var(--text-muted); font-size: 0.85rem; }

/* ============================================================
   FAQ
   ============================================================ */
.faq { background: var(--bg-lilac); }
.faq__list { max-width: 820px; margin: 0 auto; }
.faq__item {
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  margin-bottom: 0.85rem;
  background: var(--card);
  overflow: hidden;
  transition: var(--transition);
}
.faq__item[open] { border-color: transparent; box-shadow: var(--shadow); }
.faq__question {
  padding: 1.25rem 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq__question::-webkit-details-marker { display: none; }
.faq__question::after {
  content: '+';
  /* Tamaño + peso aumentados y color sólido magenta para asegurar
     que la affordance del "expandir" se vea desde lejos. El gradient
     anterior se desaturaba mucho al renderizarse sobre el texto. */
  font-size: 1.8rem;
  font-weight: 300;
  color: #BE185D;
  -webkit-text-fill-color: #BE185D;
  transition: transform 0.3s ease;
  line-height: 1;
  width: 28px;
  text-align: center;
}
.faq__item[open] .faq__question::after { transform: rotate(45deg); }
.faq__question:hover { background: rgba(236, 72, 153, 0.04); }
.faq__question:hover::after { color: #9D174D; }
.faq__answer { padding: 0 1.5rem 1.5rem; color: var(--text-secondary); margin: 0; }

/* ============================================================
   CTA final — gradiente IG pleno, deslumbrante
   ============================================================ */
.cta-final {
  padding: 7rem 0;
  position: relative;
  background: var(--ig-gradient-alt);
  background-size: 200% 200%;
  animation: gradientShift 8s ease infinite;
  overflow: hidden;
}
.cta-final::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.4) 0, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.3) 0, transparent 40%),
    radial-gradient(circle at 50% 100%, rgba(255, 255, 255, 0.25) 0, transparent 50%);
}
/* Líneas decorativas blancas que aparecen sutilmente */
.cta-final::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    transparent 0,
    transparent 80px,
    rgba(255, 255, 255, 0.05) 80px,
    rgba(255, 255, 255, 0.05) 81px
  );
  pointer-events: none;
}
.cta-final__content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  color: #fff;
}
.cta-final h2 {
  color: #fff;
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}
.cta-final p {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.96);
  margin-bottom: 2.5rem;
  font-weight: 500;
}

/* ============================================================
   Footer
   ============================================================ */
.footer {
  background: var(--bg-darker);
  color: rgba(255, 255, 255, 0.82);
  padding: 5rem 0 2rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer__brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
  color: #fff;
  font-weight: 800;
  font-size: 1.2rem;
}
.footer__brand img { height: 36px; width: auto; }
.footer__desc { max-width: 320px; font-size: 0.95rem; margin-bottom: 1.25rem; }
.footer__social { display: flex; gap: 0.75rem; }
.footer__social a {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  display: grid;
  place-items: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.footer__social a::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--ig-gradient);
  opacity: 0;
  transition: opacity 0.3s;
  z-index: 0;
}
.footer__social a i { position: relative; z-index: 1; }
.footer__social a:hover::before { opacity: 1; }
.footer__social a:hover { transform: translateY(-3px); }
.footer__title { color: #fff; font-size: 1rem; font-weight: 700; margin-bottom: 1rem; }
.footer__list { list-style: none; padding: 0; margin: 0; }
.footer__list li { margin-bottom: 0.6rem; }
.footer__list a { color: rgba(255, 255, 255, 0.78); font-size: 0.95rem; }
.footer__list a:hover { color: var(--ig-orange); }
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.9rem;
}
.footer__legal { display: flex; gap: 1.5rem; }
.footer__legal a { color: rgba(255, 255, 255, 0.78); }
.footer__legal a:hover { color: var(--ig-orange); }

/* ============================================================
   Scroll reveal — entrada suave sin dejar contenido invisible
   ----------------------------------------------------------------
   Antes: opacity 0 + translateY(50px) + 0.9s. Resultado: contenido
   ilegible durante la transición y vacíos perceptibles al cargar.
   Ahora: opacity inicial 0.001 (técnicamente transparente para el
   observer, pero sin "salto" visible si el JS no llega) + 16px de
   desplazamiento + 0.45s. Mucho menos invasivo y más rápido.
   ============================================================ */
.reveal {
  opacity: 0.001;
  transform: translateY(16px);
  transition:
    opacity 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
/* Fallback: si JS no carga / el observer no dispara en ~1.2s
   tras DOMContentLoaded, mostramos todo. La regla la aplica
   landing.js como red de seguridad. */
.reveal.force-visible { opacity: 1 !important; transform: none !important; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  /* Forzamos visibilidad del contenido revelado y desactivamos
     cualquier transform/opacity inline que motion-fx haya escrito. */
  .reveal,
  .live-card,
  .stats__item,
  .hobby-card,
  .feature-card,
  .testimonial {
    opacity: 1 !important;
    transform: none !important;
  }
  .btn-primary-hm { animation: none !important; }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 992px) {
  /* Las reglas responsive específicas del hero v3 viven dentro de
     su propio bloque al final del archivo. Acá sólo el resto. */
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .how__grid { grid-template-columns: 1fr; gap: 2rem; }
  .how__grid::before { display: none; }
  .hobbies__grid { grid-template-columns: repeat(3, 1fr); }
  .features__grid, .testimonials__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 640px) {
  .section { padding: 4rem 0; }
  .section__header { margin-bottom: 2.5rem; }
  .hobbies__grid { grid-template-columns: repeat(2, 1fr); }
  .features__grid, .testimonials__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; text-align: center; }
  .stats__number { font-size: 2.2rem; }
}

/* ============================================================
   SAFETY NET — refuerzo de selectores críticos del swipe-demo
   ----------------------------------------------------------------
   En producción detectamos que el `.device-frame` y `.swipe-card`
   no recibían sus dimensiones (cards desplegadas en flujo lineal,
   `swipe-empty` siempre visible). Probablemente por orden de carga
   o cache de un CSS antiguo. Reduplicar las reglas críticas al
   final del archivo nos garantiza que ganen por orden de cascada.
   ============================================================ */
.swipe-demo .swipe-demo__container {
  display: grid;
  gap: 3rem;
  align-items: center;
  grid-template-columns: 1fr;
}
@media (min-width: 960px) {
  .swipe-demo .swipe-demo__container {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}
.swipe-demo .swipe-demo__device {
  display: flex;
  justify-content: center;
  align-items: center;
}
.swipe-demo .device-frame {
  position: relative;
  width: 320px;
  height: 540px;
  padding: 16px;
  border-radius: 40px;
  overflow: hidden;
  background:
    radial-gradient(ellipse at top, rgba(236, 72, 153, 0.08) 0%, transparent 50%),
    linear-gradient(135deg, #1c1c22 0%, #0e0e12 100%);
  box-shadow:
    0 40px 80px -10px rgba(147, 51, 234, 0.4),
    0 25px 50px -10px rgba(236, 72, 153, 0.3),
    inset 0 0 0 2px rgba(255, 255, 255, 0.08);
  flex: 0 0 320px;
}
.swipe-demo .swipe-stack {
  position: relative;
  width: 100%;
  height: calc(100% - 90px);
  margin-top: 32px;
}
.swipe-demo .swipe-card {
  position: absolute;
  inset: 0;
  border-radius: 22px;
  padding: 1.5rem;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  background: var(--bg, var(--ig-gradient));
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
  user-select: none;
  -webkit-user-select: none;
}
.swipe-demo .swipe-empty {
  position: absolute;
  inset: 16px 16px 90px 16px;
  border-radius: 22px;
  background: #fff;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.5rem;
  z-index: 4;
}
.swipe-demo .swipe-empty.is-visible { display: flex; }
.swipe-demo .swipe-controls {
  position: absolute;
  bottom: 22px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 18px;
  z-index: 5;
}
.swipe-demo .swipe-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 0;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
}
.swipe-demo .swipe-stamp {
  position: absolute;
  top: 24px;
  padding: 6px 14px;
  border: 3px solid;
  border-radius: 8px;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 2px;
  opacity: 0;
  pointer-events: none;
}

/* ============================================================
   Mitigación de artefactos en imágenes generadas por IA
   ----------------------------------------------------------------
   Algunas hobby-cards muestran caras distorsionadas o el logo de
   hobby-match incrustado dentro de la foto. Mientras se regeneran,
   bajamos la saturación de las imágenes y reforzamos el overlay
   inferior con un degradado más amplio que cubra desde el 25% del
   alto, ocultando rostros pequeños y "ruido" visual.
   ============================================================ */
.hobby-card img {
  filter: saturate(0.92) contrast(0.96);
}
.hobby-card::after {
  background: linear-gradient(
    180deg,
    rgba(28, 28, 34, 0) 0%,
    rgba(28, 28, 34, 0.05) 25%,
    rgba(28, 28, 34, 0.55) 70%,
    rgba(28, 28, 34, 0.95) 100%
  );
}
/* Anula el filtro para la card especial "Y muchos más" que no tiene img */
.hobby-card--more img { filter: none; }

/* ============================================================
   HERO v3 — palabra rotativa sobre fondo atardecer
   ----------------------------------------------------------------
   Bloque autocontenido con prefijo `.hero-v3`. No interactúa con
   el CSS del hero anterior (que queda huérfano pero presente en
   el archivo para revertir fácil). Para volver al hero antiguo:
     1. En index.html cambiar `class="hero-v3"` a `class="hero"`
     2. Restaurar el contenido del hero desde index.html.backup-pre-hero-v3
     3. (opcional) eliminar este bloque
   ============================================================ */
.hero-v3 {
  position: relative;
  min-height: clamp(640px, calc(100vh - 70px), 880px);
  min-height: clamp(640px, calc(100dvh - 70px), 880px);
  padding: 7rem 0 6.5rem;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  /* Cielo cosmos: más profundo arriba, atardecer al borde inferior.
     Las nebulosas (orbes) van por separado para poder animarlas. */
  background:
    radial-gradient(ellipse 80% 50% at 50% 100%, rgba(74, 25, 66, 0.55) 0%, transparent 60%),
    linear-gradient(180deg, #03020F 0%, #0A0420 35%, #150935 65%, #240D3A 100%);
}

/* Grid sutil de fondo, enmascarado al centro */
.hero-v3::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, #000 30%, transparent 80%);
          mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, #000 30%, transparent 80%);
  z-index: 0;
}

/* ──────────────────────────────────────────────────────────
   CAMPO ESTELAR — 3 capas con parallax y twinkle
   ----------------------------------------------------------------
   Cada capa tiene estrellas a distinto tamaño y velocidad. Las
   estrellas se generan via background-image con radial-gradients
   tileados — sin DOM extra, performance excelente.
   ────────────────────────────────────────────────────────── */
.hero-v3__stars {
  position: absolute;
  inset: -50%;
  pointer-events: none;
  background-repeat: repeat;
  z-index: 0;
}
/* Capa lejana: muchas estrellas pequeñitas, drift muy lento */
.hero-v3__stars--far {
  background-image:
    radial-gradient(1px 1px at 25px 30px, rgba(255,255,255,0.85), transparent 50%),
    radial-gradient(1px 1px at 90px 80px, rgba(255,255,255,0.7), transparent 50%),
    radial-gradient(1px 1px at 170px 120px, rgba(255,255,255,0.9), transparent 50%),
    radial-gradient(1px 1px at 200px 30px, rgba(255,255,255,0.6), transparent 50%),
    radial-gradient(1px 1px at 60px 200px, rgba(255,255,255,0.8), transparent 50%),
    radial-gradient(1px 1px at 130px 250px, rgba(255,255,255,0.75), transparent 50%),
    radial-gradient(1px 1px at 240px 180px, rgba(255,255,255,0.9), transparent 50%),
    radial-gradient(1px 1px at 290px 80px, rgba(255,255,255,0.65), transparent 50%);
  background-size: 320px 320px;
  animation: heroV3StarsDrift 180s linear infinite, heroV3Twinkle 8s ease-in-out infinite;
  opacity: 0.9;
}
/* Capa media: estrellas medianas, drift medio */
.hero-v3__stars--mid {
  background-image:
    radial-gradient(1.5px 1.5px at 40px 60px, rgba(255,255,255,0.95), transparent 50%),
    radial-gradient(1.5px 1.5px at 180px 30px, rgba(255,236,200,0.9), transparent 50%),
    radial-gradient(1.5px 1.5px at 290px 200px, rgba(255,255,255,0.85), transparent 50%),
    radial-gradient(1.5px 1.5px at 100px 220px, rgba(255,200,220,0.9), transparent 50%),
    radial-gradient(1.5px 1.5px at 350px 90px, rgba(255,255,255,0.95), transparent 50%);
  background-size: 420px 280px;
  animation: heroV3StarsDrift 120s linear infinite reverse, heroV3Twinkle 6s ease-in-out infinite 2s;
  opacity: 0.85;
}
/* Capa cercana: estrellas grandes brillantes, drift más rápido */
.hero-v3__stars--near {
  background-image:
    radial-gradient(2px 2px at 80px 100px, rgba(255,255,255,1), transparent 50%),
    radial-gradient(2px 2px at 260px 220px, rgba(255,236,200,1), transparent 50%),
    radial-gradient(2.5px 2.5px at 380px 60px, rgba(255,255,255,1), transparent 50%),
    radial-gradient(2px 2px at 150px 280px, rgba(220,200,255,1), transparent 50%);
  background-size: 500px 360px;
  animation: heroV3StarsDrift 90s linear infinite, heroV3Twinkle 4s ease-in-out infinite 1s;
  filter: drop-shadow(0 0 3px rgba(255,255,255,0.55));
  opacity: 0.95;
}
@keyframes heroV3StarsDrift {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, -50%, 0); }
}
@keyframes heroV3Twinkle {
  0%, 100% { filter: brightness(1); }
  50%      { filter: brightness(0.55); }
}

/* ──────────────────────────────────────────────────────────
   NEBULOSAS — orbes radiales que respiran y rotan muy lento
   ────────────────────────────────────────────────────────── */
.hero-v3__nebula {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
  animation: heroV3NebulaBreathe 18s ease-in-out infinite;
  will-change: transform, opacity;
}
.hero-v3__nebula--1 {
  width: 560px; height: 560px;
  background: radial-gradient(circle, rgba(251, 191, 36, 0.55) 0%, rgba(251, 146, 60, 0.25) 40%, transparent 70%);
  top: -120px; right: -100px;
}
.hero-v3__nebula--2 {
  width: 620px; height: 620px;
  background: radial-gradient(circle, rgba(147, 51, 234, 0.50) 0%, rgba(91, 33, 182, 0.20) 45%, transparent 70%);
  bottom: -160px; left: -120px;
  animation-delay: -6s;
}
.hero-v3__nebula--3 {
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(236, 72, 153, 0.40) 0%, rgba(190, 24, 93, 0.18) 50%, transparent 75%);
  top: 30%; left: 35%;
  animation-delay: -12s;
}
@keyframes heroV3NebulaBreathe {
  0%, 100% { transform: translate(0, 0) scale(1);    opacity: 0.85; }
  33%      { transform: translate(30px, -20px) scale(1.10); opacity: 1;    }
  66%      { transform: translate(-20px, 30px) scale(0.95); opacity: 0.75; }
}

/* ──────────────────────────────────────────────────────────
   COMETAS — rayas con estela que cruzan el cielo
   ────────────────────────────────────────────────────────── */
.hero-v3__comet {
  position: absolute;
  width: 140px;
  height: 2px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.0) 5%,
    rgba(255, 255, 255, 0.4) 40%,
    rgba(255, 240, 200, 1) 90%,
    rgba(255, 240, 200, 1) 100%);
  border-radius: 50%;
  filter: drop-shadow(0 0 6px rgba(255, 240, 200, 0.8));
  opacity: 0;
  pointer-events: none;
  z-index: 1;
}
.hero-v3__comet::after {
  /* Cabecera brillante del cometa */
  content: "";
  position: absolute;
  right: -1px;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 14px rgba(255, 240, 200, 1);
}
.hero-v3__comet--1 {
  top: 15%;  left: -180px;
  transform: rotate(15deg);
  animation: heroV3Comet 9s ease-in 3s infinite;
}
.hero-v3__comet--2 {
  top: 35%;  left: -180px;
  transform: rotate(20deg);
  animation: heroV3Comet 11s ease-in 7s infinite;
}
.hero-v3__comet--3 {
  top: 60%;  left: -180px;
  transform: rotate(10deg);
  animation: heroV3Comet 13s ease-in 14s infinite;
}
@keyframes heroV3Comet {
  0%   { opacity: 0; transform: translate(0, 0) rotate(var(--r, 15deg)); }
  5%   { opacity: 1; }
  60%  { opacity: 1; }
  85%  { opacity: 0; transform: translate(120vw, 40vh) rotate(var(--r, 15deg)); }
  100% { opacity: 0; transform: translate(120vw, 40vh) rotate(var(--r, 15deg)); }
}
.hero-v3__comet--1 { --r: 15deg; }
.hero-v3__comet--2 { --r: 20deg; }
.hero-v3__comet--3 { --r: 10deg; }

/* Partículas brillantes con gradiente del brand */
.hero-v3__particle {
  position: absolute;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--ig-gradient);
  box-shadow:
    0 0 14px rgba(236, 72, 153, 0.8),
    0 0 28px rgba(147, 51, 234, 0.5);
  pointer-events: none;
  animation: heroV3FloatP 8s ease-in-out infinite;
  z-index: 1;
}
.hero-v3__particle:nth-of-type(1) { top: 22%; left: 12%; }
.hero-v3__particle:nth-of-type(2) { top: 68%; left: 18%; animation-delay: -1.5s; width: 8px; height: 8px; }
.hero-v3__particle:nth-of-type(3) { top: 14%; right: 18%; animation-delay: -3s;   width: 4px; height: 4px; }
.hero-v3__particle:nth-of-type(4) { top: 76%; right: 14%; animation-delay: -4.5s; }
.hero-v3__particle:nth-of-type(5) { top: 44%; right: 8%;  animation-delay: -2s;   width: 5px; height: 5px; }
.hero-v3__particle:nth-of-type(6) { top: 32%; left: 48%;  animation-delay: -6s;   width: 4px; height: 4px; }
@keyframes heroV3FloatP {
  0%, 100% { transform: translate(0, 0); opacity: 0.6; }
  50%      { transform: translate(12px, -24px); opacity: 1; }
}

/* Contenedor central */
.hero-v3__inner {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  width: 100%;
  text-align: center;
}

/* Eyebrow */
.hero-v3__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #FBBF24;
  margin-bottom: 1.75rem;
  padding: 0.45rem 1rem;
  background: rgba(251, 191, 36, 0.10);
  border: 1px solid rgba(251, 191, 36, 0.30);
  border-radius: var(--radius-pill);
  backdrop-filter: blur(8px);
}
.hero-v3__eyebrow::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #FBBF24;
  box-shadow: 0 0 8px rgba(251, 191, 36, 0.8);
}

/* Headline */
.hero-v3__title {
  font-size: clamp(2.6rem, 8vw, 6.2rem);
  line-height: 1.0;
  letter-spacing: -0.035em;
  font-weight: 800;
  margin: 0 0 1.5rem;
  color: #fff;
  text-shadow: 0 4px 40px rgba(0, 0, 0, 0.4);
}
.hero-v3__title-line { display: block; }

/* Slot rotativo
   ----------------------------------------------------------------
   Antes: height 1em + overflow hidden → cortaba las descendentes
   (g, p, q, j, y) de palabras como "trekking", "el yoga", etc.
   Ahora: height 1.3em + line-height 1.3 en la palabra → la
   descendente queda dentro del slot. vertical-align: -0.18em
   compensa para que el rotator no quede más alto que el resto
   del texto del h1. */
.hero-v3__rotator {
  display: inline-block;
  height: 1.3em;
  overflow: hidden;
  vertical-align: -0.18em;
  position: relative;
  min-width: 5ch;
  line-height: 1.3;
}
.hero-v3__word {
  display: inline-block;
  height: 1.3em;
  line-height: 1.3;
  background: linear-gradient(135deg, #FBBF24 0%, #FB923C 50%, #EC4899 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  white-space: nowrap;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.35s ease;
  will-change: transform, opacity;
}
.hero-v3__word.is-out { transform: translateY(-100%); opacity: 0; }
.hero-v3__word.is-in  { transform: translateY(100%);  opacity: 0; }

/* Subtítulo */
.hero-v3__subtitle {
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  color: rgba(255, 255, 255, 0.82);
  max-width: 620px;
  margin: 0 auto 2.5rem;
  line-height: 1.55;
  font-weight: 500;
}

/* CTAs — reutilizamos .btn-hm .btn-primary-hm del sitio, sólo
   sobreescribimos el ghost en este contexto oscuro. */
.hero-v3__actions {
  display: flex;
  gap: 0.85rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.hero-v3 .btn-ghost-hm.hero-v3__ghost {
  background: rgba(255, 255, 255, 0.10);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.30);
  backdrop-filter: blur(8px);
}
.hero-v3 .btn-ghost-hm.hero-v3__ghost:hover {
  background: rgba(255, 255, 255, 0.95);
  color: var(--text-primary);
  border-color: rgba(255, 255, 255, 0.95);
}

/* Trust line */
.hero-v3__trust {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.78);
}
.hero-v3__trust span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}
.hero-v3__trust i {
  color: #FBBF24;
  font-size: 1.05rem;
}

/* Ticker decorativo al pie del hero */
.hero-v3__ticker {
  position: absolute;
  bottom: 1.4rem;
  left: 0; right: 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
  pointer-events: none;
  z-index: 1;
}
.hero-v3__ticker-track {
  display: flex;
  gap: 0.85rem;
  animation: heroV3Ticker 60s linear infinite;
  width: max-content;
}
.hero-v3__ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 1.1rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-pill);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
}
.hero-v3__ticker-item i {
  color: #FBBF24;
  font-size: 0.95rem;
}
@keyframes heroV3Ticker {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Override del navbar SÓLO mientras el hero-v3 esté al tope:
   el navbar actual es blanco translúcido — sobre el fondo oscuro
   queda bien. Pero los links son `--text-primary` (#262626), que
   contrastan correctamente con el blur blanco del navbar.
   No tocamos el navbar acá: confía en el backdrop-blur + opacidad
   que ya tiene. */

/* Responsive */
@media (max-width: 720px) {
  .hero-v3 { padding: 6rem 0 7.5rem; }
  .hero-v3__trust { gap: 1.2rem; font-size: 0.82rem; }
  .hero-v3__actions { flex-direction: column; align-items: stretch; padding: 0 1.25rem; }
  .hero-v3__actions .btn-hm { width: 100%; justify-content: center; }
  .hero-v3__ticker { bottom: 1.2rem; }
  .hero-v3__ticker-item { padding: 0.4rem 0.85rem; font-size: 0.82rem; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .hero-v3__particle,
  .hero-v3__ticker-track,
  .hero-v3__word,
  .hero-v3__stars,
  .hero-v3__nebula,
  .hero-v3__comet { animation: none !important; transition: none !important; }
  .hero-v3__comet { opacity: 0; } /* mantenerlos invisibles si no se animan */
}
