/* =========================================================
   PymeNet · Landing V6
   css/styles.css

   Índice
   1. Tokens (paleta, tipografía, medidas)
   2. Base
   3. Movimiento general (entrada, revelado, títulos, destellos, inclinación)
   4. Botones
   5. Navegador y menú móvil
   6. Portada de noche
   7. Cinta en movimiento
   8. ¿Te pasa esto? (globos de texto animados)
   9. Planes
   10. Cómo trabajamos (pasos con Pymo)
   11. Nosotros (Pymo gigante)
   11b. Quiénes somos
   12. Preguntas frecuentes
   13. Contacto y formulario
   14. Footer
   15. Botón flotante de WhatsApp (se convierte en la ampolleta Pymo)
   15b. Botón de música
   16. Responsive
   17. Movimiento reducido
   ========================================================= */

/* 1. Tokens ------------------------------------------------ */
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 200 1000;
  font-display: swap;
  src: url('fonts/nunito-latin-400-900.woff2') format('woff2');
}

/* Colores de la web de ejemplo: registrados para que cambien con transición */
@property --c1 { syntax: '<color>'; inherits: true; initial-value: #1E6BFF; }
@property --c2 { syntax: '<color>'; inherits: true; initial-value: #5C9BFF; }

:root {
  /* Paleta oficial de la marca */
  --y: #FFC93C;
  --n: #0F1B3D;
  --b: #1E6BFF;
  --g: #4A5470;
  /* Apoyo */
  --cel: #EEF4FF;
  --line: #D6E2F4;
  --n2: #1A2A57;
  --wa: #25D366;
  --wa-d: #128C4B;
  --p: #FF5C7A;
  --white: #FFFFFF;

  --font: 'Nunito', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --shadow-sm: 4px 4px 0 var(--n);
  --r-lg: 32px;
  --r-md: 20px;
  --wrap: 1160px;
  --pad: clamp(20px, 5vw, 40px);
  --sec: clamp(72px, 10vw, 120px);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
}

/* 2. Base -------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--font); font-weight: 500; font-size: 1.0625rem; line-height: 1.6;
  color: var(--n); background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { margin: 0; font-weight: 900; line-height: 1.08; letter-spacing: -0.015em; text-wrap: balance; }
h2 { font-size: clamp(2rem, 4.4vw, 3rem); }
h3 { font-size: 1.375rem; }
p { margin: 0; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; }
:focus-visible { outline: 3px solid var(--b); outline-offset: 3px; border-radius: 6px; }

.wrap { position: relative; width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--y); padding: 10px 16px; border-radius: 12px; font-weight: 800; }
.skip:focus { top: 12px; }

.sec-head { max-width: 640px; margin-bottom: 48px; }
.sec-head p { margin-top: 14px; color: var(--g); font-size: 1.125rem; text-wrap: pretty; }
.sec-head--light p { color: #C9D3E6; }

.hl {
  display: inline-block; background: var(--y); color: var(--n);
  border-radius: 16px; padding: 0 .22em .06em;
  transform: rotate(-2deg); box-shadow: var(--shadow-sm);
}

.checks li { position: relative; padding-left: 32px; margin-top: 10px; }
.checks li::before {
  content: ''; position: absolute; left: 0; top: .3em; width: 20px; height: 20px; border-radius: 50%;
  background: var(--y) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%230F1B3D' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat;
}

/* 3. Movimiento general ------------------------------------- */
/* Entrada del hero */
.js .hero__title .line { display: block; opacity: 0; translate: 0 60px; filter: blur(8px); }
.js .intro { opacity: 0; translate: 0 30px; }
.is-loaded .hero__title .line { animation: rise .9s var(--ease) forwards; }
.is-loaded .hero__title .line:nth-child(2) { animation-delay: .12s; }
.is-loaded .hero__title .line:nth-child(3) { animation-delay: .24s; }
.is-loaded .hero__title .hl { animation: stamp .7s var(--spring) .5s both; }
.is-loaded .intro { animation: rise .9s var(--ease) var(--d, 0s) forwards; }
@keyframes rise { to { opacity: 1; translate: 0 0; filter: blur(0); } }
@keyframes stamp { 0% { transform: rotate(-12deg) scale(1.35); } 100% { transform: rotate(-2deg) scale(1); } }

/* Revelado al hacer scroll */
.js [data-reveal] { opacity: 0; translate: 0 48px; transition: opacity .8s var(--ease) var(--d, 0s), translate .9s var(--ease) var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; translate: 0 0; }

/* Títulos que suben palabra por palabra */
.split .w { display: inline-block; overflow: hidden; padding-bottom: .12em; margin-bottom: -.12em; vertical-align: top; }
.split .w > span { display: inline-block; }
.js .split .w > span { translate: 0 110%; rotate: 6deg; transition: translate .8s var(--ease) calc(var(--i) * 70ms), rotate .8s var(--ease) calc(var(--i) * 70ms); }
.js .split.is-in .w > span { translate: 0 0; rotate: 0deg; }

/* Destellos y manchas decorativas */
.spark {
  position: absolute; width: 30px; height: 30px; background: var(--y);
  clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%);
  animation: twinkle 3.2s ease-in-out infinite;
}
@keyframes twinkle { 0%, 100% { transform: scale(.7) rotate(0deg); opacity: .6; } 50% { transform: scale(1.15) rotate(45deg); opacity: 1; } }

/* Inclinación 3D con el mouse + luz que sigue al puntero */
.tilt { transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .35s var(--ease); will-change: transform; }
.tilt.is-tilting { transition: transform .08s linear; }
.tilt::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .28), transparent 60%);
  opacity: 0; transition: opacity .3s ease;
}
.tilt.is-tilting::after { opacity: 1; }

/* 4. Botones ----------------------------------------------- */
.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 12px 26px;
  border-radius: 999px; border: 2px solid var(--n);
  font: 800 1.0625rem/1.2 var(--font); text-decoration: none; text-align: center;
  cursor: pointer; transition: transform .2s var(--spring), box-shadow .2s ease, background-color .2s ease, translate .25s var(--ease);
}
.btn--y { background: var(--y); color: var(--n); box-shadow: var(--shadow-sm); }
.btn--line { background: var(--white); color: var(--n); }
.btn--wa { background: var(--wa-d); border-color: var(--wa-d); color: var(--white); }
.btn--full { width: 100%; }
.btn::before {
  content: ''; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .55), transparent);
  transform: skewX(-20deg); transition: left .6s var(--ease);
}
.btn:hover::before { left: 130%; }
.btn--y:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--n); }
.btn--line:hover { background: var(--cel); }
.btn--wa:hover { background: #0F7A41; }
.btn:active { transform: translate(2px, 2px); box-shadow: 0 0 0 var(--n); }

/* 5. Navegador y menú móvil --------------------------------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .9);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .2s ease, translate .35s var(--ease);
}
.nav.is-scrolled { border-bottom-color: var(--line); }
.nav__logo-oscuro { display: none; }
.nav.is-dark { background: transparent; border-bottom-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
.nav.is-dark.is-scrolled { background: rgba(15, 27, 61, .92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.nav.is-dark .nav__logo-claro { display: none; }
.nav.is-dark .nav__logo-oscuro { display: block; }
.nav.is-dark .nav__links a:not(.btn) { color: #C9D3E6; }
.nav.is-dark .nav__links a:not(.btn):hover { color: var(--white); }
.nav.is-hidden { translate: 0 -100%; }
.nav__in { max-width: var(--wrap); margin: 0 auto; padding: 14px var(--pad); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav__logo img { width: 150px; height: auto; transition: transform .3s var(--spring); }
.nav__logo:hover img { transform: rotate(-3deg) scale(1.05); }
.nav__links { display: flex; align-items: center; gap: 26px; }
.nav__links a:not(.btn) { position: relative; text-decoration: none; font-weight: 800; font-size: 1rem; color: var(--g); }
.nav__links a:not(.btn)::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -4px; height: 3px; border-radius: 3px;
  background: var(--y); transform: scaleX(0); transform-origin: right; transition: transform .3s var(--ease);
}
.nav__links a:not(.btn):hover { color: var(--n); }
.nav__links a:not(.btn):hover::after { transform: scaleX(1); transform-origin: left; }
.nav__cta { min-height: 44px; padding: 8px 20px; font-size: .9375rem; }
.nav__toggle { display: none; }

/* 6. Hero y web personalizada ------------------------------- */
/* Portada de noche */
.hero { position: relative; overflow: hidden; }
.hero--noche {
  min-height: clamp(760px, 100vh, 940px); display: flex; flex-direction: column; justify-content: center;
  margin-top: -76px; padding: 318px 0 236px; /* la portada pasa por debajo del menú */ color: var(--white); text-align: center;
  background: radial-gradient(ellipse at 50% 30%, #24356A 0, var(--n) 62%);
}
.noche__glow {
  position: absolute; left: 50%; top: 36%; width: 1000px; height: 1000px; margin: -500px 0 0 -500px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(255, 201, 60, .32), rgba(255, 201, 60, .08) 35%, transparent 62%);
  animation: glow 5s ease-in-out infinite;
}
@keyframes glow { 50% { opacity: .75; transform: scale(.94); } }
.noche__cielo { position: absolute; inset: 0; pointer-events: none; }
.star--w { background: var(--white); }
.star--b { background: #5C9BFF; }
.noche__pymo { position: absolute; left: 50%; top: 108px; width: 170px; margin-left: -85px; z-index: 2; }
.noche__btn { position: relative; display: block; width: 100%; padding: 0; border: 0; background: none; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.noche__btn img { position: relative; width: 150px; margin: 0 auto; transform: rotate(-6deg); animation: float 5s ease-in-out infinite; }
.noche__rays { position: absolute; left: 50%; top: 88px; width: 0; height: 0; }
.noche__rays i {
  position: absolute; left: -5px; top: -16px; width: 10px; height: 32px; border-radius: 10px; background: var(--y);
  transform: rotate(var(--r)) translateY(-98px); animation: rayo 2.2s ease-in-out infinite; animation-delay: calc(var(--r) / 90deg * .4s);
}
@keyframes rayo { 50% { height: 22px; opacity: .55; } }
.noche__btn.is-flash img { animation: encender .7s var(--spring); }
.noche__btn.is-flash .noche__rays i { animation: rayoFlash .7s var(--ease); }
@keyframes encender { 30% { transform: rotate(-12deg) scale(1.14); filter: drop-shadow(0 0 30px rgba(255, 201, 60, .9)); } }
@keyframes rayoFlash { 40% { height: 46px; background: #fff; } }
.js .intro--pop { opacity: 0; translate: 0 -40px; }
.noche__copy { position: relative; z-index: 2; }
.hero--noche h1 { color: var(--white); font-size: clamp(2.6rem, 6.4vw, 5.25rem); line-height: 1.08; }
.hero--noche h1 .line { display: block; }
.hero--noche h1 .hl { box-shadow: 5px 5px 0 #000; }
.hero--noche .lead { margin: 22px auto 0; max-width: 50em; color: #C9D3E6; font-size: 1.25rem; }
.hero--noche .hero__ctas { justify-content: center; margin-top: 28px; }
.hero--noche .btn--y { box-shadow: 4px 4px 0 #000; }
.btn--ghost { background: transparent; color: var(--white); border-color: var(--white); }
.btn--ghost:hover { background: rgba(255, 255, 255, .1); }
.hero--noche .hero__trust { justify-content: center; }
.hero--noche .hero__trust li { background: rgba(255, 255, 255, .1); color: var(--white); }

/* Ciudad: edificios de fondo y de frente, con ventanas que se encienden y apagan */
.ciudad { position: absolute; left: 0; right: 0; bottom: 0; height: 210px; pointer-events: none; }
.ciudad__capa { position: absolute; inset: 0; }
.edif {
  position: absolute; bottom: 0; border-radius: 10px 10px 0 0; padding: 22px 16px 0;
  display: grid; grid-template-columns: repeat(var(--cols), 1fr); grid-auto-rows: 26px; gap: 18px 12px; align-content: start;
}
.ciudad__capa--fondo .edif { background: #16244A; }
.ciudad__capa--frente .edif { background: #1A2A57; }
.ciudad__capa--frente .edif--centro { background: #1D2E5C; }
.win { border-radius: 5px; background: #24356A; transition: background-color .6s ease, box-shadow .6s ease; }
.win.is-on { background: var(--y); box-shadow: 0 0 14px rgba(255, 201, 60, .55); }

.hero h1 { font-size: clamp(2.6rem, 6.2vw, 4.75rem); line-height: 1.06; }
.hero h1 .hl { margin: .1em 0; }
.lead { margin-top: 24px; max-width: 34em; font-size: 1.1875rem; color: var(--g); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero__note { margin-top: 18px; color: var(--g); font-size: .9375rem; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.hero__trust li { display: inline-flex; align-items: center; gap: 8px; background: var(--cel); border-radius: 999px; padding: 6px 13px 6px 7px; font-weight: 700; font-size: .8125rem; color: var(--n); }
.hero__trust li::before { content: ''; width: 18px; height: 18px; border-radius: 50%; background: var(--y) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%230F1B3D' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat; }
.hero__note strong { color: var(--n); }

/* 7. Cinta en movimiento ----------------------------------- */
/* El contenedor recorta la cinta inclinada para que no genere scroll hacia el lado */
.ticker-wrap { position: relative; z-index: 2; overflow: hidden; padding: 24px 0; margin: -58px 0 -24px; }
.ticker { position: relative; z-index: 2; overflow: hidden; background: var(--y); border-block: 3px solid var(--n); transform: rotate(-1.5deg); margin: -10px -20px 0; }
.ticker__track { display: flex; align-items: center; gap: 28px; width: max-content; padding: 14px 0; animation: ticker 32s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker span { font-weight: 900; font-size: 1.25rem; white-space: nowrap; }
.ticker i { font-style: normal; font-size: 1.1rem; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* 8. ¿Te pasa esto? (globos de texto animados) -------------- */
.pain { background: var(--cel); padding: var(--sec) 0; }
.pain__grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 24px 64px; align-items: center; }
.pain h2 { grid-column: 1; align-self: end; }
.bubbles { grid-column: 2; grid-row: 1 / span 2; justify-self: center; width: min(100%, 380px); display: flex; flex-direction: column; align-items: flex-start; gap: 14px; min-height: 360px; justify-content: center; }
.bubble {
  position: relative; background: var(--white); border-radius: 26px 26px 26px 8px; padding: 14px 22px;
  font-weight: 800; font-size: 1.125rem; box-shadow: 0 3px 0 var(--line); cursor: default;
  transform-origin: 0 100%; transition: background-color .25s ease, box-shadow .25s ease;
}
.bubble:nth-child(even) { margin-left: 48px; }
.bubble:hover { background: var(--y); box-shadow: var(--shadow-sm); animation: bubbleWiggle .5s var(--spring); }
@keyframes bubbleWiggle { 30% { rotate: -4deg; scale: 1.06; } 60% { rotate: 3deg; } }
.bubble__dots { display: none; gap: 5px; padding: 6px 2px; }
.bubble__dots i { width: 9px; height: 9px; border-radius: 50%; background: #8696A0; animation: dot 1s ease-in-out infinite; }
.bubble__dots i:nth-child(2) { animation-delay: .15s; }
.bubble__dots i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 30% { transform: translateY(-5px); opacity: .5; } }
.bubble.is-typing .bubble__dots { display: flex; }
.bubble.is-typing .bubble__txt { display: none; }
.bubble__txt { display: inline-block; }
.bubble.is-on:not(.is-typing) .bubble__txt { animation: txtIn .35s var(--ease); }
@keyframes txtIn { from { opacity: 0; transform: translateX(-8px); } }
/* Aparición: los globos llegan uno a uno y luego flotan */
.js .bubble { opacity: 0; transform: translateY(24px) scale(.5); }
.js .bubble.is-on { opacity: 1; transform: none; transition: opacity .35s ease, transform .55s var(--spring), background-color .25s ease, box-shadow .25s ease; }
.bubble.is-float { animation: bubbleFloat 4.5s ease-in-out var(--f, 0s) infinite; }
.bubble.is-float:hover { animation: bubbleWiggle .5s var(--spring); }
@keyframes bubbleFloat { 50% { translate: 0 -7px; } }
.pain__answer { grid-column: 1; align-self: start; font-size: 1.1875rem; color: var(--g); max-width: 30em; }

/* 9. Planes ------------------------------------------------ */
.planes { position: relative; padding: var(--sec) 0; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; align-items: stretch; }
.plan {
  position: relative; display: flex; flex-direction: column;
  border: 3px solid var(--n); border-radius: var(--r-lg); padding: 32px 28px 28px; background: var(--white);
}
.plan:hover { box-shadow: 10px 10px 0 var(--y); }
.plan h3 { font-size: 1.625rem; }
.plan__for { margin-top: 8px; color: var(--g); font-size: 1rem; min-height: 3.2em; }
.plan__price { margin: 18px 0 14px; font-weight: 900; font-size: 2.75rem; line-height: 1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.plan .checks { margin-bottom: 28px; font-size: 1rem; }
.plan .btn { margin-top: auto; }
.plan--pro { background: var(--n); color: var(--white); box-shadow: 10px 10px 0 var(--y); margin-top: -14px; margin-bottom: 14px; }
.plan--pro .plan__for { color: #C9D3E6; }
.plan--pro .btn--y { box-shadow: 4px 4px 0 var(--white); }
.plan--premium { background: linear-gradient(180deg, #FFF8E1, var(--white) 45%); }
.plan .checks b { font-weight: 900; color: var(--n); }
.plan__badge {
  position: absolute; top: -18px; left: 24px; background: var(--y); color: var(--n);
  border: 3px solid var(--n); border-radius: 999px; padding: 4px 16px; font-weight: 900; font-size: .875rem;
  transform: rotate(-2deg); animation: wiggle 4s ease-in-out infinite;
}
@keyframes wiggle { 0%, 88%, 100% { rotate: 0deg; } 92% { rotate: -5deg; } 96% { rotate: 5deg; } }
.plan__pymo { position: absolute; right: 18px; top: -62px; width: 78px; transform-origin: 50% 90%; animation: wave 3.4s ease-in-out infinite; }
@keyframes wave { 0%, 100% { transform: rotate(8deg); } 50% { transform: rotate(-6deg) translateY(-4px); } }
.plan--pro:hover .plan__pymo { animation: hop .6s var(--spring); }
@keyframes hop { 40% { transform: translateY(-22px) rotate(-10deg) scale(1.1); } }

.incluye { margin-top: 56px; border-radius: var(--r-lg); background: var(--cel); padding: 32px clamp(24px, 4vw, 40px); }
.incluye h3 { font-size: 1.25rem; }
.incluye ul { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; margin-top: 18px; }
.incluye li { font-size: .9375rem; color: var(--g); }
.incluye li span { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 10px; border-radius: 14px; background: var(--white); font-size: 1.5rem; box-shadow: 0 3px 0 var(--line); transition: transform .3s var(--spring); }
.incluye li:hover span { transform: translateY(-6px) rotate(-8deg) scale(1.1); }
.js .incluye li { opacity: 0; translate: 0 20px; transition: opacity .6s var(--ease) var(--d), translate .6s var(--ease) var(--d); }
.js .incluye.is-in li { opacity: 1; translate: 0 0; }
.incluye b { display: block; color: var(--n); font-size: 1rem; }

/* 10. Cómo trabajamos (pasos con Pymo) ----------------------- */
.pasos { background: var(--cel); padding: var(--sec) 0; }
.pasos .step:not(:last-child)::after { background-image: repeating-linear-gradient(90deg, #BCCBE6 0 10px, transparent 10px 18px); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.step { position: relative; padding-top: 100px; }
.step:not(:last-child)::after {
  content: ''; position: absolute; top: 40px; left: 96px; right: -12px; height: 3px;
  background: repeating-linear-gradient(90deg, var(--line) 0 10px, transparent 10px 18px);
  background-size: 18px 3px; animation: march 1s linear infinite;
}
@keyframes march { to { background-position: 18px 0; } }
.step__badge {
  position: absolute; top: 0; left: 0; width: 82px; height: 82px; padding: 0; border: 0; background: none; cursor: pointer;
  perspective: 600px;
}
.step__face {
  position: absolute; inset: 0; border-radius: 50%; border: 3px solid var(--n);
  display: grid; place-items: center; backface-visibility: hidden;
  transition: transform .6s var(--spring);
}
.step__face--num { background: var(--y); font-weight: 900; font-size: 2rem; color: var(--n); box-shadow: var(--shadow-sm); }
.step__face--pymo { background: var(--b); transform: rotateY(180deg); overflow: hidden; }
.step__face--pymo img { width: 54px; margin-top: 6px; }
.step:hover .step__face--num, .step.is-active .step__face--num, .step__badge:focus-visible .step__face--num { transform: rotateY(-180deg); }
.step:hover .step__face--pymo, .step.is-active .step__face--pymo, .step__badge:focus-visible .step__face--pymo { transform: rotateY(0deg); }
.step:hover .step__face--pymo img, .step.is-active .step__face--pymo img { animation: hop .7s var(--spring) .2s; }
.step__tip {
  position: absolute; top: -8px; left: 96px; z-index: 2;
  background: var(--n); color: var(--white); font-weight: 800; font-size: .9375rem; white-space: nowrap;
  border-radius: 16px; border-bottom-left-radius: 4px; padding: 8px 14px;
  opacity: 0; transform: scale(.4) translate(-20px, 20px); transform-origin: 0 100%;
  transition: opacity .25s ease, transform .4s var(--spring); pointer-events: none;
}
.step:hover .step__tip, .step.is-active .step__tip, .step:focus-within .step__tip { opacity: 1; transform: none; }
.step h3 { transition: color .2s ease; }
.step:hover h3, .step.is-active h3 { color: var(--b); }
.step > p:last-child { margin-top: 8px; color: var(--g); font-size: 1rem; }

/* 11. Nosotros (Pymo gigante) ------------------------------- */
.nosotros { padding: var(--sec) 0; overflow: hidden; }
.nosotros__grid { display: grid; grid-template-columns: minmax(320px, 470px) 1fr; gap: clamp(40px, 7vw, 96px); align-items: center; }
.gpymo-stage { position: relative; aspect-ratio: 1; display: grid; place-items: center; }
.gpymo-stage::before { content: ''; position: absolute; inset: 6%; border-radius: 50%; background: var(--cel); }
.gpymo-stage__ring { position: absolute; inset: 0; border-radius: 50%; border: 3px dashed var(--line); animation: spin 40s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.spark--6 { left: 6%; top: 12%; }
.spark--7 { right: 8%; top: 30%; width: 22px; height: 22px; background: var(--b); animation-delay: -1s; }

.gpymo {
  position: relative; z-index: 1; width: 74%; padding: 0; border: 0; background: none; cursor: pointer;
  animation: float 5s ease-in-out infinite; -webkit-tap-highlight-color: transparent;
}
@keyframes float { 50% { transform: translateY(-14px); } }
.gpymo__svg { display: block; width: 100%; overflow: visible; filter: drop-shadow(12px 14px 0 rgba(15, 27, 61, .12)); }
.gp-tilt { transform-origin: 100px 170px; transition: transform .25s var(--ease); }
.gp-body { fill: var(--y); }
.gp-shine { fill: none; stroke: #fff; stroke-width: 6; stroke-linecap: round; opacity: .55; }
.gp-bars { fill: var(--n); }
.gp-cheeks { fill: var(--p); opacity: .35; transition: opacity .3s ease; }
.gp-eyes { transition: transform .12s linear; }
.gp-eye { fill: var(--n); transform-box: fill-box; transform-origin: center; transition: scale .12s ease; }
.gp-eyes-happy { fill: none; stroke: var(--n); stroke-width: 6.5; stroke-linecap: round; opacity: 0; }
.gp-mouth { transition: opacity .15s ease; }
.gp-mouth--smile { fill: none; stroke: var(--n); stroke-width: 6.5; stroke-linecap: round; }
.gp-mouth--laugh { fill: var(--n); opacity: 0; }
.gp-mouth--wow { fill: var(--n); opacity: 0; }
.gp-cursor path { fill: #fff; stroke: var(--n); stroke-width: 8; stroke-linejoin: round; }
.gp-cursor { transition: transform .15s ease; }

.gpymo.is-blink .gp-eye { scale: 1 .1; }
.gpymo:hover .gp-cheeks, .gpymo.is-laugh .gp-cheeks { opacity: .75; }
.gpymo.is-wow .gp-mouth--smile { opacity: 0; }
.gpymo.is-wow .gp-mouth--wow { opacity: 1; }
.gpymo.is-wow .gp-eye { scale: 1.15; }
.gpymo.is-laugh .gp-eyes, .gpymo.is-laugh .gp-mouth--smile, .gpymo.is-laugh .gp-mouth--wow { opacity: 0; }
.gpymo.is-laugh .gp-eyes-happy, .gpymo.is-laugh .gp-mouth--laugh { opacity: 1; }
.gpymo.is-jump { animation: jump .7s var(--spring); }
@keyframes jump { 0% { transform: scale(1, 1); } 20% { transform: scale(1.08, .9) translateY(10px); } 50% { transform: scale(.94, 1.08) translateY(-46px) rotate(-4deg); } 100% { transform: none; } }
.gpymo.is-jump .gp-cursor { transform: translate(-6px, -6px); }

.gpymo__bubble {
  position: absolute; top: 2%; right: -4%; z-index: 2; max-width: 240px;
  background: var(--n); color: var(--white); font-weight: 800; font-size: 1rem; line-height: 1.3;
  border-radius: 18px; border-bottom-left-radius: 4px; padding: 12px 16px; box-shadow: 4px 4px 0 var(--y);
  transform-origin: 0 100%;
}
.gpymo__bubble.is-pop { animation: bubblePop .5s var(--spring); }
@keyframes bubblePop { from { transform: scale(.3) rotate(-8deg); opacity: 0; } }
.gpymo__hint { position: absolute; bottom: 0; left: 50%; translate: -50% 0; z-index: 2; background: var(--y); border: 2px solid var(--n); border-radius: 999px; padding: 4px 14px; font-weight: 900; font-size: .875rem; animation: wiggle 3s ease-in-out infinite; }
.burst { position: absolute; z-index: 3; left: var(--x); top: var(--y0); width: 18px; height: 18px; pointer-events: none; background: var(--c, var(--y)); clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%); animation: burst .9s var(--ease) forwards; }
@keyframes burst { to { transform: translate(var(--dx), var(--dy)) rotate(180deg) scale(.2); opacity: 0; } }

.nosotros__copy p { margin-top: 18px; font-size: 1.125rem; color: var(--g); max-width: 34em; text-wrap: pretty; }
.nosotros__copy p:last-child { margin-top: 26px; padding: 18px 22px; border-left: 5px solid var(--y); background: var(--cel); border-radius: 0 var(--r-md) var(--r-md) 0; color: var(--n); }
.nosotros__copy b { color: var(--n); }

/* 11b. Quiénes somos --------------------------------------- */
.equipo { position: relative; overflow: hidden; background: var(--white); color: var(--n); padding: var(--sec) 0; }
.equipo__deco .spark:nth-child(1) { left: 6%; top: 14%; }
.equipo__deco .spark:nth-child(2) { right: 8%; top: 22%; width: 20px; height: 20px; background: var(--b); animation-delay: -1s; }
.equipo__deco .spark:nth-child(3) { right: 30%; bottom: 10%; width: 24px; height: 24px; background: #5C9BFF; animation-delay: -2s; }
.equipo__grid { display: grid; grid-template-columns: minmax(280px, 400px) 1fr; gap: clamp(40px, 7vw, 96px); align-items: center; }
.equipo__foto { position: relative; justify-self: center; width: min(100%, 360px); }
.equipo__img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 40px; border: 4px solid var(--n); box-shadow: 12px 12px 0 var(--y); transform: rotate(-3deg); transition: transform .5s var(--spring); }
.equipo__foto:hover .equipo__img { transform: rotate(0deg) scale(1.02); }
.equipo__pymo { position: absolute; right: -30px; top: -46px; width: 100px; transform: rotate(14deg); animation: wave 3.4s ease-in-out infinite; }
.equipo__firma { margin-top: 26px; text-align: center; font-weight: 900; font-size: 1.25rem; }
.equipo__firma small { display: block; font-weight: 700; font-size: .9375rem; color: var(--g); }
.equipo h2 { color: var(--n); }
.equipo__hola { margin-top: 14px; font-weight: 900; font-size: 1.5rem; color: var(--b); }
.equipo__copy p:not(.equipo__hola) { margin-top: 16px; font-size: 1.125rem; color: var(--g); max-width: 36em; text-wrap: pretty; }
.equipo__skills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.equipo__skills li { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; background: var(--cel); border: 1px solid var(--line); color: var(--n); font-weight: 800; font-size: .9375rem; transition: background-color .2s ease, transform .25s var(--spring); }
.equipo__skills li:hover { background: #FFF1C9; transform: translateY(-3px); }
.equipo__copy .equipo__cierre { margin-top: 26px; padding: 16px 20px; border-left: 5px solid var(--y); border-radius: 0 var(--r-md) var(--r-md) 0; background: var(--cel); color: var(--n); font-weight: 700; }

/* 12. Preguntas frecuentes ---------------------------------- */
.faq { background: var(--cel); padding: var(--sec) 0; }
.faq__grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 48px; align-items: start; }
.faq__list details { background: var(--white); border-radius: var(--r-md); margin-bottom: 12px; border: 2px solid transparent; transition: border-color .2s ease, box-shadow .25s ease, translate .9s var(--ease) var(--d, 0s), opacity .8s var(--ease) var(--d, 0s); }
.faq__list details:hover { box-shadow: 6px 6px 0 var(--line); }
.faq__list details[open] { border-color: var(--n); box-shadow: 6px 6px 0 var(--y); }
.faq__list summary { list-style: none; cursor: pointer; padding: 20px 60px 20px 24px; position: relative; font-weight: 900; font-size: 1.125rem; line-height: 1.3; }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after {
  content: '+'; position: absolute; right: 20px; top: 50%; translate: 0 -50%;
  width: 30px; height: 30px; border-radius: 50%; background: var(--y);
  display: grid; place-items: center; font-size: 1.25rem; line-height: 1; transition: rotate .35s var(--spring);
}
.faq__list details[open] summary::after { rotate: 135deg; }
.faq__list details p { padding: 0 24px 22px; color: var(--g); max-width: 40em; }
.faq__list details[open] p { animation: faqIn .4s var(--ease); }
@keyframes faqIn { from { opacity: 0; transform: translateY(-8px); } }

/* 13. Contacto y formulario --------------------------------- */
.contacto { padding: var(--sec) 0; }
.contacto__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
.contacto__copy p { margin-top: 16px; font-size: 1.125rem; color: var(--g); max-width: 28em; }
.canales { display: grid; gap: 12px; margin-top: 28px; max-width: 360px; }
.canal {
  display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-radius: 18px;
  border: 2px solid var(--line); background: var(--white); color: var(--n); text-decoration: none; font-weight: 800; font-size: 1.0625rem;
  transition: border-color .2s ease, box-shadow .2s ease, transform .25s var(--spring);
}
.canal small { display: block; font-weight: 700; font-size: .8125rem; color: var(--g); line-height: 1.2; }
.canal__ico { flex: none; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; color: var(--white); transition: transform .3s var(--spring); }
.canal__ico svg { width: 24px; height: 24px; }
.canal--wa .canal__ico { background: var(--wa-d); }
.canal--ig .canal__ico { background: linear-gradient(135deg, #F58529, #DD2A7B 55%, #8134AF); }
.canal--fb .canal__ico { background: #1877F2; }
.canal:hover { border-color: var(--n); box-shadow: 4px 4px 0 var(--y); transform: translate(-2px, -2px); }
.canal:hover .canal__ico { transform: rotate(-8deg) scale(1.08); }
.contacto__pymo { width: 150px; margin-top: 40px; animation: float 4s ease-in-out infinite; }

.form { position: relative; border: 3px solid var(--n); border-radius: var(--r-lg); padding: clamp(24px, 4vw, 36px); box-shadow: 10px 10px 0 var(--y); background: var(--white); }
.tilt--soft { --tilt-max: 3; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 900; margin-bottom: 6px; }
.field label span { font-weight: 600; color: var(--g); }
.field input, .field select, .field textarea {
  width: 100%; font: 600 1rem var(--font); color: var(--n);
  border: 2px solid var(--line); border-radius: 14px; padding: 13px 16px; background: var(--white);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s var(--spring);
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--b); box-shadow: 0 0 0 3px rgba(30, 107, 255, .2); transform: translateY(-2px); }
.field [aria-invalid='true'] { border-color: #C0392B; animation: shake .4s ease; }
@keyframes shake { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
.field__err { color: #C0392B; font-size: .875rem; font-weight: 800; margin-top: 6px; }
.field__err:empty { display: none; }

/* 14. Footer ----------------------------------------------- */
.footer { background: var(--n); color: #C9D3E6; padding: 56px 0 40px; }
.footer__grid { display: grid; grid-template-columns: 1fr auto; gap: 24px 48px; align-items: start; }
.footer img { width: 150px; }
.footer__grid > div p { margin-top: 10px; }
.footer nav { display: flex; flex-wrap: wrap; gap: 12px 26px; }
.footer nav a { text-decoration: none; font-weight: 800; color: var(--white); transition: color .2s ease; }
.footer nav a:hover { color: var(--y); }
.footer__social { grid-column: 1 / -1; display: flex; align-items: center; gap: 12px; }
.footer__social a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .1); color: var(--white); transition: background-color .2s ease, color .2s ease, transform .25s var(--spring); }
.footer__social a:hover { background: var(--y); color: var(--n); transform: translateY(-3px); }
.footer__social svg { width: 22px; height: 22px; }
.footer__social span { margin-left: 6px; font-weight: 800; color: var(--white); }
.footer__legal { grid-column: 1 / -1; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .875rem; }

/* 15. Botón flotante de WhatsApp (se convierte en la ampolleta Pymo) */
.wa-float {
  position: fixed; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom)); z-index: 60;
  width: 64px; height: 64px; text-decoration: none;
  animation: waIn .7s var(--spring) 1.4s both;
}
@keyframes waIn { from { transform: scale(0) rotate(-90deg); } }
.wa-float::before { content: ''; position: absolute; inset: 0; border-radius: 50%; background: var(--wa); animation: ping 2.6s ease-out infinite; transition: opacity .3s ease; }
@keyframes ping { 0% { transform: scale(1); opacity: .5; } 80%, 100% { transform: scale(1.7); opacity: 0; } }
.wa-float.is-pymo::before { opacity: 0; }
.wa-float__card { position: relative; display: block; width: 100%; height: 100%; }
.wa-float__face { position: absolute; inset: 0; display: grid; place-items: center; transition: transform .6s var(--spring), opacity .3s ease; }
.wa-float__face--wa { border-radius: 50%; background: var(--wa-d); color: var(--white); box-shadow: 0 8px 20px rgba(15, 27, 61, .28); }
.wa-float__face--wa svg { width: 34px; height: 34px; }
.wa-float:hover .wa-float__face--wa { transform: scale(1.08); }
/* La ampolleta aparece "encendiéndose" desde el ícono */
.wa-float__face--pymo { opacity: 0; transform: scale(.2) rotate(50deg) translateY(16px); pointer-events: none; }
.wa-float__face--pymo svg { width: 84px; height: 92px; margin-top: -26px; overflow: visible; filter: drop-shadow(0 8px 10px rgba(15, 27, 61, .3)); }
.wa-float.is-pymo .wa-float__face--wa { opacity: 0; transform: scale(.2) rotate(-70deg); }
.wa-float.is-pymo .wa-float__face--pymo { opacity: 1; transform: none; }
.wa-rays { opacity: 0; transform-origin: 100px 80px; transform: scale(.5); transition: opacity .3s ease, transform .5s var(--spring); }
.wa-float.is-pymo .wa-rays { opacity: 1; transform: none; transition-delay: .3s; }
.wa-float.is-pymo .wa-rays path { animation: rays 1.2s ease-in-out .6s infinite; }
@keyframes rays { 50% { opacity: .4; } }
.wa-wink { opacity: 0; }
.wa-float.is-wink .wa-eye-l { opacity: 0; }
.wa-float.is-wink .wa-wink { opacity: 1; }
.wa-float__tip {
  position: absolute; right: 80px; top: 50%; translate: 0 -50%; white-space: nowrap;
  background: var(--n); color: var(--white); font-weight: 800; font-size: .9375rem; padding: 9px 15px; border-radius: 16px; border-bottom-right-radius: 4px;
  box-shadow: 4px 4px 0 var(--y);
  opacity: 0; transform: translateX(14px) scale(.6); transform-origin: 100% 100%; transition: opacity .3s ease, transform .45s var(--spring); pointer-events: none;
}
.wa-float.is-pymo .wa-float__tip, .wa-float:hover .wa-float__tip { opacity: 1; transform: none; }

/* 15b. Botón de música ----------------------------------- */
.music {
  position: fixed; left: 20px; bottom: calc(20px + env(safe-area-inset-bottom)); z-index: 60;
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 18px 7px 7px;
  border: 2px solid var(--n); border-radius: 999px; background: var(--white); color: var(--n);
  font: 800 .9375rem var(--font); cursor: pointer; box-shadow: var(--shadow-sm);
  animation: waIn .7s var(--spring) 1.8s both;
  transition: transform .2s var(--spring), box-shadow .2s ease, background-color .2s ease;
}
.music:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--n); }
.music:active { transform: translate(2px, 2px); box-shadow: 0 0 0 var(--n); }
.music__icon { position: relative; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--y); }
.music__note { width: 22px; height: 22px; transition: opacity .2s ease, transform .3s var(--spring); }
.music__bars { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 3px; opacity: 0; transition: opacity .2s ease; }
.music__bars i { width: 4px; height: 16px; border-radius: 3px; background: var(--n); transform-origin: 50% 100%; transform: scaleY(.3); }
.music.is-on { background: var(--n); color: var(--white); }
.music.is-on .music__note { opacity: 0; transform: scale(.4) rotate(-30deg); }
.music.is-on .music__bars { opacity: 1; }
.music.is-on .music__bars i { animation: eq .9s ease-in-out infinite; }
.music.is-on .music__bars i:nth-child(2) { animation-delay: -.3s; animation-duration: .7s; }
.music.is-on .music__bars i:nth-child(3) { animation-delay: -.5s; animation-duration: 1.1s; }
.music.is-on .music__bars i:nth-child(4) { animation-delay: -.15s; animation-duration: .8s; }
@keyframes eq { 50% { transform: scaleY(1); } }
.music:not(.is-on) .music__icon { animation: musicHint 3.5s ease-in-out 3s infinite; }
@keyframes musicHint { 0%, 80%, 100% { transform: none; } 86% { transform: rotate(-12deg) scale(1.1); } 92% { transform: rotate(10deg) scale(1.1); } }

/* 16. Responsive ------------------------------------------- */
@media (max-width: 1080px) {
  .incluye ul { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 56px; }
  .step:nth-child(2)::after { display: none; }
}

@media (max-width: 900px) {
  .nav__toggle {
    display: grid; place-content: center; gap: 6px; width: 48px; height: 48px; border-radius: 50%;
    border: 2px solid var(--n); background: var(--white); cursor: pointer;
  }
  .nav__toggle i { display: block; width: 20px; height: 3px; border-radius: 3px; background: var(--n); transition: transform .3s var(--spring); }
  .nav__toggle[aria-expanded='true'] i:first-of-type { transform: translateY(4.5px) rotate(45deg); }
  .nav__toggle[aria-expanded='true'] i:last-of-type { transform: translateY(-4.5px) rotate(-45deg); }
  .nav__links {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 4px;
    padding: 12px var(--pad) 24px; background: var(--white); border-bottom: 3px solid var(--n);
    display: none;
  }
  .nav__links.is-open { display: flex; animation: menuIn .35s var(--ease); }
  @keyframes menuIn { from { opacity: 0; transform: translateY(-12px); } }
  .nav__links a:not(.btn) { padding: 12px 0; font-size: 1.125rem; color: var(--n); }
  .nav__cta { margin-top: 8px; min-height: 52px; font-size: 1rem; }

  .pain__grid, .nosotros__grid, .equipo__grid, .faq__grid, .contacto__grid { grid-template-columns: 1fr; }
  .equipo__foto { width: min(80%, 300px); }
  .nav.is-dark .nav__toggle { background: transparent; border-color: var(--white); }
  .nav.is-dark .nav__toggle i { background: var(--white); }
  .nav.is-dark .nav__links a:not(.btn) { color: var(--n); }
  .pain h2, .bubbles, .pain__answer { grid-column: 1; grid-row: auto; }
  .bubbles { min-height: 0; }
  .plans { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; gap: 48px; }
  .plan--pro { margin: 0; }
  .plan__for { min-height: 0; }
  .gpymo-stage { width: min(100%, 420px); justify-self: center; }
  .bubbles { justify-self: start; }
  .faq__grid { gap: 0; }
  .canales { max-width: none; }
  .contacto__pymo { display: none; }
}

@media (max-width: 600px) {
  body { font-size: 1rem; }
  .hero__ctas .btn { width: 100%; }
  .hero--noche { min-height: 0; padding: 268px 0 200px; }
  .noche__pymo { width: 140px; margin-left: -70px; top: 104px; }
  .star:nth-child(2), .star:nth-child(7), .star:nth-child(8) { display: none; }
  .noche__btn img { width: 120px; }
  .noche__rays { top: 58px; transform: scale(.72); }
  .hero--noche .lead { font-size: 1.0625rem; }
  .hero--noche .hero__ctas .btn { width: 100%; }
  .ciudad { height: 170px; }
  .ciudad__capa--fondo .edif:nth-child(n+5), .ciudad__capa--frente .edif:nth-child(n+6) { display: none; }
  .ciudad__capa--fondo .edif:nth-child(1) { left: -6% !important; } .ciudad__capa--fondo .edif:nth-child(2) { left: 18% !important; }
  .ciudad__capa--fondo .edif:nth-child(3) { left: 62% !important; } .ciudad__capa--fondo .edif:nth-child(4) { left: 82% !important; }
  .ciudad__capa--frente .edif:nth-child(1) { left: 30% !important; } .ciudad__capa--frente .edif:nth-child(2) { left: 52% !important; }
  .ciudad__capa--frente .edif:nth-child(3) { left: -12% !important; } .ciudad__capa--frente .edif:nth-child(4) { left: 74% !important; } .ciudad__capa--frente .edif:nth-child(5) { left: 88% !important; }
  .ticker span { font-size: 1.0625rem; }
  .bubble { font-size: 1rem; padding: 12px 18px; }
  .bubble:nth-child(even) { margin-left: 28px; }
  .incluye ul { grid-template-columns: 1fr; gap: 14px; }
  .incluye li { display: grid; grid-template-columns: 48px 1fr; column-gap: 14px; align-items: center; }
  .incluye li span { grid-row: span 2; margin: 0; }
  .steps { grid-template-columns: 1fr; row-gap: 28px; }
  .step { padding: 4px 0 0 92px; min-height: 76px; }
  .step::after { display: none; }
  .step__badge { width: 70px; height: 70px; }
  .step__face--num { font-size: 1.75rem; }
  .step__face--pymo img { width: 46px; }
  .step__tip { top: auto; bottom: calc(100% - 2px); left: 70px; white-space: normal; max-width: 220px; }
  .gpymo__bubble { right: 0; max-width: 200px; font-size: .9375rem; }
  .equipo__foto { width: min(62%, 230px); }
  .equipo__pymo { width: 76px; right: -22px; top: -34px; }
  .footer { padding-bottom: 110px; }
  .footer__grid { grid-template-columns: 1fr; }
  .wa-float { width: 58px; height: 58px; right: 16px; }
  .wa-float__tip { right: 74px; }
  .music { left: 16px; padding: 6px; }
  .music__txt { display: none; }
  .music__icon { width: 44px; height: 44px; }
}

/* Pantallas bajas de computador (por ejemplo 1366x768): la escena se compacta para verse completa */
@media (min-width: 901px) and (max-height: 820px) {
  .hero--noche { min-height: 100vh; padding: 262px 0 196px; }
  .noche__pymo { top: 86px; }
  .noche__btn img { width: 128px; }
  .noche__rays { top: 76px; transform: scale(.85); }
  .hero--noche h1 { font-size: clamp(2.6rem, 5.4vw, 4.4rem); }
  .ciudad { height: 176px; }
}

/* 17. Movimiento reducido ----------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .hero__title .line, .js .intro, .js [data-reveal], .js .incluye li { opacity: 1; translate: none; filter: none; }
  .js .split .w > span { translate: none; rotate: none; }
  .js .bubble { opacity: 1; transform: none; }
  .js .intro--pop { opacity: 1; translate: none; }
  .wa-float::before { display: none; }
}

