/* =========================================================
   Bingo Musical — landing
   ========================================================= */
:root {
  --teal: #17A7A8;
  --teal-dark: #109197;
  --teal-hero: #13999C;
  --teal-soft: #5AD5D3;
  --yellow: #F9D45A;
  --yellow-soft: #FEDA6C;
  --pink: #FDB9C6;
  --pink-hot: #FD829F;
  --coral: #FE9889;
  --lime: #E3EE92;
  --mint: #9BE3B5;
  --cyan: #A6EBF2;
  --cyan-bg: #E2FAFA;
  --cyan-feat: #B9F1F0;
  --navy: #123B4A;
  --navy-dark: #01414D;
  --text-soft: #4E6F78;
  --cream: #FDFCF7;
  --white: #fff;

  --font-display: "Baloo 2", "Nunito", system-ui, sans-serif;
  --font-body: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 18px;
  --shadow: 0 10px 30px rgba(18, 59, 74, .12);
  --shadow-lg: 0 22px 50px rgba(18, 59, 74, .22);
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-bounce: cubic-bezier(.34, 1.56, .64, 1);
  --header-h: 92px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  padding-top: var(--header-h); /* espacio fijo del header (que es position: fixed) */
  font-family: var(--font-body);
  color: var(--navy);
  background: var(--cream);
  line-height: 1.45;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
/* las animaciones de entrada (data-reveal="right") desplazan bloques fuera de la pantalla:
   en móvil eso ensanchaba la página y cortaba la hamburguesa */
main { overflow-x: clip; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--font-display); margin: 0; line-height: 1.05; }
p { margin: 0; }
svg { flex-shrink: 0; }

.container { width: min(1140px, 100% - 32px); margin-inline: auto; }

/* ---------- Logo ---------- */
/* logo oficial (imagen). Las letras .logo-line se usan solo en la pantalla del celular (.ps-logo) */
.logo { display: inline-flex; align-items: center; flex-shrink: 0; }
.logo-img { width: auto; height: 60px; transition: height .35s var(--ease-out), transform .45s var(--ease-bounce); }
.logo:hover .logo-img { transform: rotate(-4deg) scale(1.05); }
.logo--light .logo-img { height: 54px; filter: brightness(0) invert(1); }

.logo-line { display: flex; align-items: center; font-size: 38px; }
.logo-line--2 { font-size: 38px; margin-top: 2px; }
.logo-line span { display: inline-block; }
.logo-line span:nth-child(odd) { transform: translateY(-1px) rotate(-3deg); }
.logo-line span:nth-child(even) { transform: translateY(2px) rotate(3deg); }
.logo-star { width: 22px; height: 22px; margin-left: 2px; color: var(--yellow); filter: drop-shadow(0 0 0 var(--teal)); animation: spin-slow 8s linear infinite; }
@keyframes spin-slow { to { transform: rotate(360deg); } }

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .01em;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: transform .25s var(--ease-bounce), box-shadow .25s, background-color .25s, color .25s;
}
.btn svg { width: 22px; height: 22px; transition: transform .3s var(--ease-bounce); }
.btn:hover { transform: translateY(-3px); }
.btn:hover .btn-arrow, .btn:hover .btn-circle svg { transform: translateX(5px); }
.btn:active { transform: translateY(0) scale(.97); }
.btn:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }

.btn-yellow { background: var(--yellow); color: var(--navy); box-shadow: 0 6px 0 rgba(18, 59, 74, .15); }
.btn-yellow:hover { box-shadow: 0 10px 22px rgba(249, 212, 90, .55); }
/* brillo que recorre el botón */
.btn-yellow::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .75) 50%, transparent 70%);
  transform: translateX(-120%);
  animation: shimmer 4s ease-in-out infinite;
}
.btn-yellow { background-color: var(--yellow); }
@keyframes shimmer { 0%, 60% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }

.btn-outline { color: var(--white); border-color: rgba(255, 255, 255, .85); background: transparent; }
.btn-outline:hover { background: rgba(255, 255, 255, .14); border-color: #fff; }
.btn-outline .btn-play { width: 28px; height: 28px; color: #fff; }
.btn-outline:hover .btn-play { transform: scale(1.15) rotate(-8deg); }

.btn-lg { font-size: 18px; padding: 13px 28px; }
.btn-header { font-size: 17px; padding: 9px 10px 9px 24px; }
.btn-circle {
  display: grid;
  place-items: center;
  width: 32px; height: 32px;
  border: 2px solid var(--navy);
  border-radius: 50%;
}
.btn-circle svg { width: 18px; height: 18px; }

/* "Ingresar": acción secundaria para quienes ya tienen cuenta (va al login de la app) */
.btn-login { color: var(--navy); border-color: var(--navy); background: transparent; }
.btn-login:hover { background: var(--navy); color: var(--cream); }
/* misma altura que .btn-header (9px + círculo de 32px + 9px + bordes) y pegado a él */
.btn-header-login { font-size: 17px; padding: 9px 24px; min-height: 54px; margin-left: -14px; }

.btn-pulse { animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse {
  0%, 100% { box-shadow: 0 6px 0 rgba(18, 59, 74, .15), 0 0 0 0 rgba(249, 212, 90, .6); }
  50% { box-shadow: 0 6px 0 rgba(18, 59, 74, .15), 0 0 0 16px rgba(249, 212, 90, 0); }
}

/* ---------- Header ---------- */
/* fijo y fuera del flujo: al compactarse no mueve la página (con sticky el cambio de alto
   corregía el scroll, cruzaba el umbral de nuevo y el header parpadeaba) */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: var(--cream);
  transition: box-shadow .3s, background-color .3s;
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: var(--header-h);
  transition: height .35s var(--ease-out);
}
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(18, 59, 74, .1); background: rgba(253, 252, 247, .94); backdrop-filter: blur(8px); }
.site-header.is-scrolled .header-inner { height: 70px; }
.site-header.is-scrolled .logo-img { height: 50px; }

.nav { display: flex; gap: 30px; margin-left: auto; }
.nav a {
  position: relative;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .02em;
  padding: 6px 0;
}
.nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 3px;
  border-radius: 3px;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .35s var(--ease-out);
}
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav-cta-mobile { display: none; }

.burger { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(160deg, #17A7A8 0%, #13999C 55%, #108F95 100%);
  color: var(--white);
  padding-top: 70px;
  overflow: hidden;
}
.hero-wave { position: absolute; top: -1px; left: 0; width: 100%; height: 90px; z-index: 1; }
.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: end;
  gap: 10px;
  min-height: 480px;
}
.hero-copy { align-self: center; padding: 40px 0 34px; }
.hero-title { font-weight: 800; letter-spacing: -.015em; }
.hero-title .h-line { display: block; font-size: clamp(38px, 5.2vw, 62px); line-height: 1.02; }
.hero-title .h-yellow { color: var(--yellow); }
.hero-title .h-sub { font-size: clamp(25px, 3.1vw, 38px); margin-top: 8px; }
.hero-lead { font-size: clamp(17px, 1.7vw, 21px); margin-top: 14px; opacity: .95; }

.squiggle-wrap { position: relative; display: inline-block; }
.squiggle {
  position: absolute;
  left: 0; bottom: -2px;
  width: 100%; height: 12px;
  stroke-dasharray: 340;
  stroke-dashoffset: 340;
  animation: draw 1s .9s var(--ease-out) forwards;
}
@keyframes draw { to { stroke-dashoffset: 0; } }

.hero-actions { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 30px; }

/* Entrada escalonada del hero */
.h-line { opacity: 0; transform: translateY(26px); }
.is-loaded .h-line { animation: rise .8s var(--d, 0s) var(--ease-out) forwards; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* Visual del hero */
/* el celular se agranda para que el cartón se lea mejor: ocupa la proporción de la foto
   y se extiende hacia el margen derecho de la página (hasta 80px) */
.hero-visual {
  position: relative;
  align-self: end;
  aspect-ratio: 1000 / 1068;
  margin-top: -30px;
  margin-right: clamp(-80px, calc((1140px - 100vw) / 2), 0px);
  perspective: 1000px;
}
.hero-circle {
  position: absolute;
  /* alineado con el círculo amarillo de la foto */
  left: 1%; top: 17%;
  width: 89%; aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, #FBE36A, var(--yellow) 70%);
  opacity: 0;
  transform: scale(.6);
  animation: pop-in .9s .3s var(--ease-bounce) forwards;
}
.hero-circle::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  border: 3px solid rgba(249, 212, 90, .7);
  animation: ring 3s 1.2s ease-out infinite;
}
@keyframes ring { from { transform: scale(1); opacity: .9; } to { transform: scale(1.3); opacity: 0; } }
@keyframes pop-in { to { opacity: 1; transform: scale(1); } }

.hero-phone-wrap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  transform-style: preserve-3d;
  transition: transform .4s var(--ease-out);
  opacity: 0;
  animation: phone-in 1.1s .45s var(--ease-out) forwards;
}
@keyframes phone-in {
  from { opacity: 0; transform: translateY(80px) rotate(6deg); }
  to { opacity: 1; transform: none; }
}
/* la máscara va en el contenedor para que la foto y la pantalla HTML se difuminen igual */
.hero-phone-float {
  position: relative;
  animation: float 5s 1.6s ease-in-out infinite;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 7%, #000 95%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 6%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent 0, #000 7%, #000 95%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 6%);
  mask-composite: intersect;
}
.hero-phone { width: 100%; height: auto; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ---------- Pantalla del celular (HTML proyectado sobre la foto) ---------- */
.phone-screen {
  position: absolute;
  top: 0; left: 0;
  width: 320px;
  height: 708px;
  transform-origin: 0 0;
  opacity: 0; /* se muestra cuando JS calcula la proyección */
  overflow: hidden;
  border-radius: 34px;
  background: #FED96A;
  color: #44474C;
  font-family: var(--font-body);
  text-align: center;
  padding: 44px 16px 0;
  -webkit-font-smoothing: antialiased;
}
.phone-screen.is-ready { opacity: 1; }
.ps-notch {
  position: absolute;
  top: -2px; left: 29%;
  width: 46%; height: 30px;
  background: #0d0d0d;
  border-radius: 0 0 18px 18px;
}
.ps-logo { display: inline-flex; flex-direction: column; align-items: center; font-family: var(--font-display); font-weight: 800; color: #1FA9A9; line-height: .78; }
.ps-logo .logo-line { font-size: 40px; }
.ps-logo .logo-star { width: 26px; height: 26px; color: #1FA9A9; }
.ps-player { margin-top: 14px; font-size: 16px; font-weight: 700; }
.ps-player span { color: #7A3FB8; }
.ps-tabs { display: flex; justify-content: center; gap: 10px; margin-top: 10px; }
.ps-tabs span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 10px;
  background: #F2C95A;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .08);
  font-size: 13px;
  font-weight: 700;
}
.ps-tabs svg { width: 14px; height: 14px; }
.ps-grid {
  list-style: none;
  margin: 14px 0 0;
  padding: 7px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  border-radius: 12px;
  background: rgba(242, 201, 90, .55);
}
.ps-grid li {
  position: relative;
  height: 86px;
  padding: 6px 5px;
  border-radius: 8px;
  background: #E0F2F2;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .06);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  overflow: hidden;
  transition: background-color .35s, color .35s, transform .35s var(--ease-bounce);
}
.ps-grid b {
  font-size: 12px;
  line-height: 1.15;
  font-weight: 800;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ps-grid small {
  font-size: 10px;
  color: #6B7378;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color .35s;
}
/* casilla marcada */
.ps-grid li::after {
  content: "✓";
  position: absolute;
  top: 4px; right: 5px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: #fff;
  color: var(--teal);
  font-size: 11px;
  font-weight: 900;
  line-height: 16px;
  transform: scale(0);
  transition: transform .4s var(--ease-bounce);
}
.ps-grid li.is-marked { background: var(--teal); color: #fff; transform: scale(1.04); }
.ps-grid li.is-marked small { color: rgba(255, 255, 255, .85); }
.ps-grid li.is-marked::after { transform: scale(1); }
.ps-grid li.is-win { background: var(--pink-hot); animation: win-cell .6s ease-in-out 3; }
@keyframes win-cell { 50% { transform: scale(1.1); } }

.ps-bingo {
  display: block;
  width: 82%;
  margin: 16px auto 0;
  padding: 10px 0;
  border: 0;
  border-radius: 999px;
  background: #FD6D6E;
  color: #fff;
  font-family: var(--font-body);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: .02em;
  box-shadow: 0 4px 0 rgba(0, 0, 0, .12);
  cursor: pointer;
}
.ps-bingo.is-live { animation: bingo-live .7s ease-in-out infinite; }
@keyframes bingo-live {
  0%, 100% { transform: scale(1); box-shadow: 0 4px 0 rgba(0, 0, 0, .12), 0 0 0 0 rgba(253, 109, 110, .6); }
  50% { transform: scale(1.06); box-shadow: 0 4px 0 rgba(0, 0, 0, .12), 0 0 0 12px rgba(253, 109, 110, 0); }
}
.ps-round { margin-top: 10px; font-size: 13px; color: #8A7A4A; }
.ps-leave { display: flex; justify-content: center; align-items: center; gap: 6px; margin-top: 4px; font-size: 14px; color: #6B6450; }
.ps-leave svg { width: 16px; height: 16px; }

.hero-rays {
  position: absolute;
  left: -40px; top: 20%;
  width: 56px;
  z-index: 3;
  animation: blink 1.6s ease-in-out infinite;
}
@keyframes blink { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .35; transform: scale(.85); } }

/* Notas musicales flotantes */
.hero-notes { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.float-note {
  position: absolute;
  bottom: -30px;
  font-size: 24px;
  color: rgba(255, 255, 255, .55);
  animation: note-up var(--dur, 7s) linear forwards;
}
@keyframes note-up {
  0% { transform: translate(0, 0) rotate(0); opacity: 0; }
  10% { opacity: 1; }
  50% { transform: translate(var(--sway, 30px), -260px) rotate(15deg); }
  100% { transform: translate(0, -540px) rotate(-10deg); opacity: 0; }
}

/* ---------- Títulos de sección ---------- */
.section-title { font-size: clamp(26px, 3vw, 34px); font-weight: 800; letter-spacing: -.01em; }

/* ---------- ¿Qué es? ---------- */
.que-es { padding: 44px 0 40px; background: var(--cream); }
.que-es-inner { display: flex; align-items: center; gap: 56px; padding-left: 70px; }
.que-es-text { font-size: clamp(17px, 1.6vw, 20px); color: var(--text-soft); margin-top: 10px; }
/* cada frase del título salta de línea completa, nunca a la mitad */
.que-es .section-title span { display: inline-block; }

.note-badge {
  position: relative;
  width: 124px; height: 124px;
  flex: 0 0 124px;
  border-radius: 50%;
  background: var(--pink);
  display: grid;
  place-items: center;
}
.note-big { width: 66px; height: 66px; animation: bob 2.2s ease-in-out infinite; transform-origin: bottom center; }
@keyframes bob { 0%, 100% { transform: rotate(-6deg); } 50% { transform: rotate(6deg) translateY(-4px); } }
.note-small { position: absolute; left: 16px; top: 34px; width: 22px; animation: bob 1.8s .3s ease-in-out infinite; }
.note-rays { position: absolute; right: -26px; top: -6px; width: 36px; animation: blink 1.4s ease-in-out infinite; }
.eq { position: absolute; right: -40px; bottom: 10px; display: flex; gap: 3px; align-items: flex-end; height: 34px; }
.eq i { width: 5px; border-radius: 3px; background: var(--teal); animation: eq 1s ease-in-out infinite; }
.eq i:nth-child(1) { animation-delay: -.2s; }
.eq i:nth-child(2) { animation-delay: -.5s; background: var(--pink-hot); }
.eq i:nth-child(3) { animation-delay: -.1s; background: var(--yellow); }
.eq i:nth-child(4) { animation-delay: -.7s; }
.eq i:nth-child(5) { animation-delay: -.35s; background: var(--pink-hot); }
@keyframes eq { 0%, 100% { height: 6px; } 50% { height: 34px; } }

/* ---------- Pasos ---------- */
.steps { background: var(--cyan-bg); padding: 46px 0 38px; }
.steps-list {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 10px;
}
.step { flex: 1 1 0; text-align: center; padding: 0 4px; }
.step-label { font-family: var(--font-display); font-size: 19px; font-weight: 800; line-height: 1.15; margin-top: 14px; }
.step-icon {
  position: relative;
  width: 118px; height: 118px;
  margin: 0 auto;
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition: transform .4s var(--ease-bounce), box-shadow .3s;
}
.step-icon svg { width: 64px; height: 64px; }
.step:hover .step-icon { transform: translateY(-8px) rotate(-6deg); box-shadow: var(--shadow); }
.bg-pink { background: var(--pink); }
.bg-yellow { background: var(--yellow-soft); }
.bg-coral { background: var(--coral); }
.bg-green { background: var(--mint); }
.bg-teal { background: var(--teal-soft); }
.step-num {
  position: absolute;
  top: -16px; left: 50%;
  translate: -50% 0;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--navy-dark);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  display: grid;
  place-items: center;
  border: 3px solid var(--cyan-bg);
}
.step-arrow { flex: none; padding-top: 46px; }
.step-arrow svg { width: 40px; }
.step-arrow path { stroke-dasharray: 60; stroke-dashoffset: 60; transition: stroke-dashoffset .8s var(--ease-out); }
.steps.is-visible .step-arrow path { stroke-dashoffset: 0; }
.steps.is-visible .step-arrow:nth-of-type(2) path { transition-delay: .35s; }
.steps.is-visible .step-arrow:nth-of-type(4) path { transition-delay: .55s; }
.steps.is-visible .step-arrow:nth-of-type(6) path { transition-delay: .75s; }
.steps.is-visible .step-arrow:nth-of-type(8) path { transition-delay: .95s; }
.step-arrow svg { animation: nudge 1.6s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateX(5px); } }
.step-icon--note svg { transform-origin: 40% 80%; animation: bob 2.2s ease-in-out infinite; }

/* lista explicativa debajo de los círculos */
.how-list {
  list-style: none;
  max-width: 820px;
  margin: 40px auto 0;
  padding: 8px 30px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 4px 16px rgba(18, 59, 74, .07);
}
.how-list li { display: flex; align-items: flex-start; gap: 18px; padding: 16px 0; }
.how-list li + li { border-top: 1px dashed rgba(18, 59, 74, .16); }
.how-icon { width: 34px; height: 34px; margin-top: -3px; }
.how-list h3 { font-size: 20px; font-weight: 800; margin-bottom: 4px; }
.how-list p { font-size: 15.5px; color: var(--text-soft); }

/* ---------- Experiencia ---------- */
.experience { padding: 40px 0 34px; background: var(--cream); }
.exp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.exp-card {
  display: flex;
  flex-direction: column;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .4s var(--ease-out), box-shadow .4s;
}
.exp-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.exp-img { aspect-ratio: 530 / 690; overflow: hidden; }
.exp-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.exp-card:hover .exp-img img { transform: scale(1.06); }
.exp-body { flex: 1; display: flex; align-items: center; gap: 16px; padding: 18px 20px 20px; }
.exp-num {
  display: grid;
  place-items: center;
  width: 54px; height: 54px;
  flex: 0 0 54px;
  border-radius: 50%;
  background: #fff;
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 800;
  transition: transform .45s var(--ease-bounce);
}
.exp-card:hover .exp-num { transform: scale(1.12) rotate(-8deg); }
.exp-body h3 { font-size: 22px; font-weight: 800; line-height: 1.1; text-wrap: balance; }
.exp-body p { font-size: 15.5px; color: var(--navy); opacity: .85; margin-top: 4px; }
.exp-yellow .exp-body { background: var(--yellow-soft); }
.exp-pink .exp-body { background: var(--pink); }
.exp-cyan .exp-body { background: var(--cyan); }

/* ---------- Ocasiones ---------- */
.occasions { padding: 6px 0 22px; background: var(--cream); }
.occ-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.occ-card {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(18, 59, 74, .08);
  transition: transform .4s var(--ease-out), box-shadow .4s;
}
.occ-card:hover { transform: translateY(-8px) rotate(-.6deg); box-shadow: var(--shadow-lg); }
.occ-img { aspect-ratio: 193 / 88; overflow: hidden; }
.occ-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out), filter .5s; }
.occ-card:hover .occ-img img { transform: scale(1.1); filter: saturate(1.2); }
.occ-body { display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px 16px; min-height: 86px; }
.occ-body h3 { font-size: 18px; font-weight: 800; }
.occ-body p { font-size: 14px; color: var(--text-soft); margin-top: 2px; }
.occ-icon { width: 40px; height: 40px; transition: transform .45s var(--ease-bounce); }
.occ-card:hover .occ-icon { transform: scale(1.18) rotate(-10deg); }
.occ-card:hover .occ-icon--heart { animation: heartbeat .8s ease-in-out infinite; }
@keyframes heartbeat { 0%, 100% { transform: scale(1); } 30% { transform: scale(1.25); } 60% { transform: scale(1.05); } }
.occ-pink .occ-body { background: var(--pink); }
.occ-yellow .occ-body { background: var(--yellow-soft); }
.occ-lime .occ-body { background: var(--lime); }
.occ-cyan .occ-body { background: var(--cyan); }

/* ---------- Beneficios ---------- */
.features { position: relative; background: var(--cyan-feat); padding: 22px 0; overflow: hidden; }
.starburst {
  position: absolute;
  left: -46px; top: 50%;
  width: 110px;
  translate: 0 -50%;
  animation: spin-slow 14s linear infinite;
}
.feat-list {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}
.feat-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 4px 16px;
  font-size: 15px;
  line-height: 1.25;
  font-weight: 600;
}
.feat-list li + li { border-left: 2px dotted rgba(18, 59, 74, .35); }
.feat-icon {
  display: grid;
  place-items: center;
  width: 54px; height: 54px;
  flex: 0 0 54px;
  border: 2px solid var(--navy);
  border-radius: 50%;
  background: rgba(255, 255, 255, .35);
  transition: background-color .3s, transform .3s;
}
.feat-icon svg { width: 34px; height: 34px; }
.feat-list li:hover .feat-icon { background: #fff; animation: wiggle .6s ease-in-out; }
@keyframes wiggle {
  0%, 100% { transform: rotate(0); }
  20% { transform: rotate(-14deg) scale(1.1); }
  40% { transform: rotate(10deg) scale(1.1); }
  60% { transform: rotate(-6deg); }
  80% { transform: rotate(4deg); }
}

/* ---------- Plan mensual (suscripción por WhatsApp) ---------- */
.plan { padding: 56px 0 50px; background: var(--cream); }
.plan-card {
  position: relative;
  isolation: isolate;
  max-width: 820px;
  margin-inline: auto;
  padding: 40px 48px 30px;
  background: #fff;
  border: 2px solid var(--cyan);
  border-radius: 28px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
/* onda celeste de fondo, abajo a la derecha */
.plan-wave {
  position: absolute;
  z-index: -1;
  right: -170px; bottom: -150px;
  width: 520px; height: 380px;
  border-radius: 46% 54% 40% 60% / 55% 45% 55% 45%;
  background: var(--cyan-bg);
  animation: morph 12s ease-in-out infinite;
}
.plan-deco { position: absolute; width: 64px; pointer-events: none; }
.plan-deco--top { top: 16px; right: 18px; animation: blink 2.4s ease-in-out infinite; }
.plan-deco--bottom { right: 34px; bottom: 120px; animation: blink 2.4s 1.2s ease-in-out infinite; }
.plan-logo { position: absolute; top: 30px; right: 104px; width: 150px; height: auto; }

.plan-label {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 10px;
  background: var(--cyan-bg);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.plan-price { position: relative; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; margin-top: 8px; }
.plan-price strong { font-family: var(--font-display); font-size: clamp(64px, 9vw, 92px); font-weight: 800; line-height: 1; letter-spacing: -.02em; }
.plan-price span { font-size: clamp(18px, 2vw, 22px); font-weight: 600; color: var(--text-soft); }
.plan-spark--price { position: absolute; left: -38px; top: 22px; width: 28px; }
.plan-title { max-width: 700px; margin-top: 14px; font-size: clamp(22px, 2.6vw, 27px); font-weight: 800; line-height: 1.32; }
.plan-hl { position: relative; white-space: nowrap; }
.plan-squiggle { position: absolute; left: 0; bottom: -3px; width: 100%; height: 8px; overflow: visible; }
.plan-squiggle path { stroke-dasharray: 320; stroke-dashoffset: 320; }
.plan-card.is-in .plan-squiggle path { animation: draw 1s .5s var(--ease-out) forwards; }

.plan-list { list-style: none; display: grid; gap: 10px; margin: 24px 0 0; padding: 0; }
.plan-list li { display: flex; align-items: center; gap: 14px; font-size: 17px; }
.plan-ico { display: grid; place-items: center; width: 34px; height: 34px; flex: 0 0 34px; border-radius: 50%; color: var(--navy); }
.plan-ico svg { width: 18px; height: 18px; }

.plan-cta { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 28px; }
.plan-spark { width: 30px; flex: none; }
.plan-btn {
  padding: 15px 40px;
  font-size: 21px;
  background: var(--teal-dark);
  color: #fff;
  box-shadow: 0 6px 0 rgba(18, 59, 74, .18);
}
.plan-btn:hover { box-shadow: 0 10px 24px rgba(16, 145, 151, .4); }
.plan-pay { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 14px; font-size: 15px; font-weight: 600; color: var(--text-soft); }
.plan-pay svg { width: 22px; height: 22px; color: var(--navy); }

/* ---------- FAQ ---------- */
.faq { padding: 56px 0; background: var(--cream); }
.faq-inner { max-width: 820px; }
.faq .section-title { text-align: center; margin-bottom: 26px; }
.faq-list { display: grid; gap: 12px; }
.faq details {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 16px rgba(18, 59, 74, .07);
  border: 2px solid transparent;
  transition: border-color .3s;
}
.faq details[open] { border-color: var(--teal-soft); }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  display: grid;
  place-items: center;
  width: 32px; height: 32px;
  flex: 0 0 32px;
  border-radius: 50%;
  background: var(--yellow);
  font-size: 22px;
  line-height: 1;
  transition: transform .35s var(--ease-bounce), background-color .3s;
}
.faq details[open] summary::after { transform: rotate(135deg); background: var(--pink); }
.faq details p { padding: 0 22px 20px; color: var(--text-soft); animation: rise .45s var(--ease-out); }

/* ---------- CTA ---------- */
.cta {
  position: relative;
  background: #10A2A2;
  color: #fff;
  padding: 46px 0;
  overflow: hidden;
}
.cta-inner { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; padding-left: 100px; }
.cta-copy { max-width: 540px; }
.cta h2 { font-size: clamp(28px, 3.3vw, 40px); font-weight: 800; text-wrap: balance; }
.cta-sub { font-family: var(--font-display); font-size: clamp(21px, 2.2vw, 26px); font-weight: 800; color: var(--yellow); margin-top: 10px; }
.cta-actions { display: grid; justify-items: center; gap: 12px; margin-right: 80px; }
.cta-wa { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; opacity: .95; }
.cta-wa svg { width: 24px; height: 24px; transition: transform .3s var(--ease-bounce); }
.cta-wa:hover { text-decoration: underline; }
.cta-wa:hover svg { transform: scale(1.2) rotate(-12deg); }

.blob { position: absolute; z-index: 1; animation: morph 9s ease-in-out infinite; }
.blob-pink { left: -50px; bottom: -60px; width: 190px; height: 160px; background: var(--pink-hot); border-radius: 60% 40% 55% 45% / 55% 60% 40% 45%; }
.blob-yellow { right: -60px; bottom: -80px; width: 230px; height: 170px; background: var(--yellow); border-radius: 50% 50% 40% 60% / 60% 40% 60% 40%; animation-delay: -3s; }
.blob-yellow-2 { left: 90px; top: -70px; width: 120px; height: 120px; background: rgba(255, 255, 255, .1); border-radius: 50%; animation-duration: 12s; }
@keyframes morph {
  0%, 100% { border-radius: 60% 40% 55% 45% / 55% 60% 40% 45%; transform: rotate(0) scale(1); }
  33% { border-radius: 40% 60% 45% 55% / 45% 40% 60% 55%; transform: rotate(12deg) scale(1.06); }
  66% { border-radius: 55% 45% 60% 40% / 40% 55% 45% 60%; transform: rotate(-8deg) scale(.96); }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-dark); color: #fff; padding: 30px 0; }
.footer-inner { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.footer-nav { display: flex; flex-wrap: wrap; padding-left: 12px; border-left: 1px solid rgba(255, 255, 255, .25); }
.footer-nav a {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 2px 11px;
  opacity: .9;
  transition: color .25s, opacity .25s;
}
.footer-nav a + a { border-left: 1px solid rgba(255, 255, 255, .3); }
.footer-nav a:hover { color: var(--yellow); opacity: 1; }
.footer-social { display: flex; gap: 12px; margin-left: auto; padding: 0 22px; border-inline: 1px solid rgba(255, 255, 255, .25); }
.footer-social a {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: #fff;
  color: var(--navy-dark);
  transition: transform .3s var(--ease-bounce), background-color .3s;
}
.footer-social a:hover { transform: translateY(-4px) rotate(-8deg); background: var(--yellow); }
.footer-social svg { width: 22px; height: 22px; }
.footer-love { font-size: 14px; line-height: 1.4; opacity: .95; margin-left: auto; }
.heart { color: #FF4D6D; display: inline-block; animation: heartbeat 1.2s ease-in-out infinite; }

/* ---------- Scroll reveal ---------- */
[data-reveal] { opacity: 0; transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); transition-delay: var(--d, 0s); }
[data-reveal="up"] { transform: translateY(40px); }
[data-reveal="left"] { transform: translateX(-50px); }
[data-reveal="right"] { transform: translateX(50px); }
[data-reveal="zoom"] { transform: scale(.6) rotate(-12deg); transition-timing-function: var(--ease-bounce); }
[data-reveal="pop"] { transform: translateY(30px) scale(.85); transition-timing-function: var(--ease-bounce); }
[data-reveal].is-in { opacity: 1; transform: none; }
/* las tarjetas tienen hover propio: al revelarse, devolver el control de transform */
.exp-card.is-in, .occ-card.is-in { transition: opacity .8s var(--ease-out), transform .4s var(--ease-out), box-shadow .4s; }

/* ---------- Confeti (canvas) ---------- */
#confetti { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 100; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .nav { gap: 20px; }
  .que-es-inner, .cta-inner { padding-left: 0; }
  .cta-actions { margin-right: 0; }
  /* los textos del cierre son más largos: las manchas bajan para no quedar detrás del texto */
  .blob-yellow, .blob-pink { bottom: -110px; }
  /* 5 pasos en 3 columnas (3 + 2 centrados) */
  .steps-list { flex-wrap: wrap; row-gap: 36px; }
  .step { flex: 0 0 calc((100% - 20px) / 3); }
  .step-arrow { display: none; }
  .feat-list { grid-template-columns: repeat(3, 1fr); row-gap: 18px; }
  .feat-list li:nth-child(4) { border-left: 0; }
  .starburst { display: none; }
  .footer-social { margin-left: 0; }
  .footer-love { margin-left: 0; }
  .exp-grid { gap: 14px; }
  .exp-body { gap: 12px; padding: 14px 14px 16px; }
  .exp-num { width: 44px; height: 44px; flex-basis: 44px; font-size: 24px; }
  .exp-body h3 { font-size: 19px; }
  .exp-body p { font-size: 14.5px; }
}

/* "Quiero suscribirme" + "Ingresar" ocupan mucho: se compacta el header antes de pasar al menú móvil */
@media (max-width: 1100px) {
  .header-inner { gap: 16px; }
  .nav a { font-size: 13px; white-space: nowrap; }
  .btn-header { font-size: 15px; padding-left: 18px; white-space: nowrap; }
  .btn-header-login { font-size: 15px; padding-inline: 18px; white-space: nowrap; margin-left: -6px; }
}

/* menú móvil (hamburguesa): bajo 960px los dos botones del header ya no caben */
@media (max-width: 960px) {
  .btn-header, .btn-header-login { display: none; }
  .burger {
    display: grid;
    gap: 5px;
    margin-left: auto;
    width: 46px; height: 46px;
    padding: 12px 10px;
    border: 0;
    border-radius: 12px;
    background: var(--yellow);
    cursor: pointer;
  }
  .burger span { height: 3px; border-radius: 3px; background: var(--navy); transition: transform .3s, opacity .3s; }
  .burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

  .nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    padding: 24px 16px 28px;
    background: var(--cream);
    box-shadow: 0 16px 30px rgba(18, 59, 74, .15);
    clip-path: inset(0 0 100% 0);
    transition: clip-path .45s var(--ease-out);
  }
  .nav.is-open { clip-path: inset(0 0 0 0); }
  .nav a { font-size: 16px; }
  /* .nav .nav-cta-mobile: más específico que ".nav a { padding: 6px 0 }", que dejaba los botones sin aire */
  .nav .nav-cta-mobile { display: inline-flex; padding: 12px 30px; font-size: 16px; }
}

@media (max-width: 860px) {
  :root { --header-h: 74px; }
  .logo-img { height: 50px; }
  .site-header.is-scrolled .logo-img { height: 44px; }

  .hero { padding-top: 60px; }
  .hero-grid { grid-template-columns: 1fr; min-height: 0; }
  .hero-copy { padding: 20px 0 0; text-align: center; }
  .hero-actions { justify-content: center; }
  /* en móvil la foto se agranda un 30% y se recorta el costado de la mano (overflow del hero),
     dejando el celular centrado: su centro está al 38,5% del ancho de la foto */
  .hero-visual {
    --w: min(560px, calc((100% + 32px) * 1.3));
    width: var(--w);
    margin: 10px 0 0 calc(50% - var(--w) * .385);
  }
  .hero-rays { left: 0; top: 6%; }
  /* sin la ola crema detrás, se difumina más el borde superior de la foto */
  .hero-phone-float {
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 7%, #000 95%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 11%);
    mask-image: linear-gradient(to right, transparent 0, #000 7%, #000 95%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 11%);
  }
  .cta { padding: 46px 0 70px; }
  .blob-pink { width: 120px; height: 100px; left: -50px; bottom: -50px; }
  .blob-yellow { width: 150px; height: 110px; right: -50px; bottom: -60px; }

  .que-es-inner { flex-direction: column; text-align: center; gap: 26px; }
  .que-es-text br { display: none; }

  .occ-grid { grid-template-columns: 1fr 1fr; }
  /* experiencia: 1 columna apilada */
  .exp-grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; gap: 18px; }
  .exp-body h3 { font-size: 20px; }

  .cta-inner { flex-direction: column; text-align: center; }
  .footer-inner { flex-direction: column; text-align: center; gap: 20px; }
  .footer-nav { border: 0; padding: 0; justify-content: center; }
  .footer-social { border: 0; padding: 0; }
}

@media (max-width: 560px) {
  .btn-lg { font-size: 16px; padding: 12px 22px; width: 100%; }
  .hero-actions { gap: 12px; }
  .que-es .section-title { font-size: 23px; }
  .steps-list { row-gap: 28px; }
  .step-icon { width: 86px; height: 86px; }
  .step-icon svg { width: 48px; height: 48px; }
  .step-num { width: 30px; height: 30px; top: -12px; font-size: 16px; }
  .step-label { font-size: 15px; margin-top: 10px; }
  .how-list { margin-top: 32px; padding: 4px 18px; }
  .how-list li { gap: 14px; padding: 14px 0; }
  .how-icon { width: 28px; height: 28px; margin-top: -2px; }
  .how-list h3 { font-size: 18px; }
  .how-list p { font-size: 14.5px; }
  .occ-grid { grid-template-columns: 1fr; }
  .plan { padding: 44px 0 40px; }
  .plan-card { padding: 26px 20px 24px; border-radius: 22px; }
  .plan-logo { position: static; display: block; width: 140px; margin: 0 auto 16px; }
  .plan-deco--top { width: 44px; top: 10px; right: 10px; }
  .plan-deco--bottom, .plan-spark--price, .plan-spark { display: none; }
  .plan-list li { align-items: flex-start; font-size: 15.5px; }
  .plan-btn { width: 100%; padding: 14px 20px; font-size: 18px; }
  .feat-list { grid-template-columns: 1fr 1fr; }
  .feat-list li { border-left: 0 !important; padding: 4px 6px; font-size: 14px; }
  .feat-list li:last-child { grid-column: 1 / -1; justify-content: center; }
  .footer-nav a { padding: 4px 10px; }
}

/* ---------- Movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .h-line, [data-reveal], .hero-circle, .hero-phone-wrap { opacity: 1 !important; transform: none !important; }
  .squiggle { stroke-dashoffset: 0; }
  .hero-notes { display: none; }
}
