/* Base */
body{
  font-family:'Segoe UI',sans-serif;
  background:linear-gradient(to bottom right,#26c6da,#1e88e5);
  color:#333; margin:0; padding:0;
}

.main-wrapper{
  background:#fff; border-radius:1rem; padding:2rem;
  max-width:800px; margin:2rem auto 3.8rem;  /* empuja “Beneficio directo” */
  box-shadow:0 6px 16px rgba(0,0,0,.15);
}

.hero-section{ text-align:center; }

/* HERO legible y alto */
.hero-title{
  margin:0 0 1rem;
  font-size:clamp(26px,7vw,42px);
  line-height:1.15;
  text-wrap:balance;
}
.hero-title .line{ display:block; }

/* CTA + confianza */
.hero-cta{
  margin-top:1rem;
  margin-bottom:2.4rem;      /* más aire bajo el botón */
  text-align:center;
}
.btn-wa{
  display:inline-block; padding:.9rem 1.2rem; border-radius:999px;
  background:#25D366; color:#fff; font-weight:700; text-decoration:none;
  box-shadow:0 4px 12px rgba(0,0,0,.08);
}
.btn-wa:active{ transform:translateY(1px); }

.trust{
  margin:.9rem auto 0;       /* separa del botón */
  font-size:.95rem;
  opacity:.85;
  max-width:36ch;
}
.note{
  margin:.4rem auto 0;       /* separa de trust */
  font-size:.85rem;
  opacity:.75;
  max-width:36ch;
  line-height:1.5;
}

/* Bullets bajo el CTA */
.hero-sub{
  display:grid; gap:.5rem;   /* más respiración entre líneas */
  font-size:clamp(16px,3.8vw,18px);
  line-height:1.6;
  max-width:36ch;
  margin:.2rem auto 0;
  font-weight:500;
  text-align:center;
}
.hero-sub .bullet{ display:block; }
.hero-sub .closing{ margin-top:.4rem; font-weight:600; }

/* Ajuste móvil para garantizar empuje del fold */
/* Ajuste móvil: solo el HERO ocupa ~70% del alto */
@media (max-width:480px){
  /* aplica SOLO al hero */
  #inicio-celebracion .main-wrapper{
    min-height:70vh;
    display:grid;
    align-content:start;   /* orden natural */
    padding-bottom:2rem;
  }

  /* restaura el resto de .main-wrapper para que no quede hueco */
  .main-wrapper{
    min-height:auto;
    display:block;
    padding-bottom:inherit;
  }

  /* un poquito menos de hueco entre botones y respuesta */
  #respuestas-emociones{ margin-top:12px; }
}

@media (max-width: 480px) {
  #respuestas-emociones { margin-top: 4px; }
}


/* (Opcional) evitar que el WA flotante tape el borde del hero */
.whatsapp-float{ bottom:18px; right:14px; left:auto; }


/* de aqui hacia abajo bien */

.btn-wa:active{ transform: translateY(1px); }
.trust{ margin-top:.5rem; font-size:.9rem; opacity:.8; }

  
  mark {
    background-color: #fff9c4;
    padding: 0 4px;
    border-radius: 4px;
  }
  
  .respuesta-box {
    background: #ffffff;
    padding: 1.5rem;
    border-left: 6px solid #23a6d5;
    border-radius: 1rem;
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 2rem auto;
    max-width: 800px;
  }
  
  .situaciones-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin: 1.5rem 0;
  }
  
  .emotion-btn {
    background: #004aad;
    color: #fff;
    padding: 14px 26px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  }
  
  .emotion-btn:hover {
    background: #002d6a;
    transform: scale(1.05);
  }
  
  #dinamica-transformadora-equipo {
    background-color: #ffffff;
    padding: 2rem;
    margin: 2rem auto;
    max-width: 800px;
    border-radius: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
  }
  
  #dinamica-transformadora-equipo h3 {
    color: #1a237e;
    margin-bottom: 1rem;
    font-size: 1.5rem;
  }
  
  #dinamica-transformadora-equipo p {
    font-size: 1.1rem;
    color: #333;
    line-height: 1.6;
    margin-bottom: 1.5rem;
  }
  
  .cta-button {
    background-color: #ffffff;
    color: #1db954;
    padding: 12px 26px;
    font-weight: bold;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    display: inline-block;
  }
  
  .cta-button:hover {
    background-color: #e6ffe0;
    color: #128c41;
    transform: scale(1.05);
  }
  
  aside {
    text-align: center;
    margin: 2rem auto;
  }
  
  aside a {
    text-decoration: none;
    font-weight: 600;
    color: #004aad;
    font-size: 1.05rem;
    transition: color 0.3s ease;
  }
  
  aside a:hover {
    color: #d84315;
  }
  
  footer {
    text-align: center;
    padding: 2rem 1rem;
    font-size: 0.9rem;
    color: #fff;
  }
  
  .confetti, .balloon {
    width: 20px;
    height: 20px;
    position: absolute;
    animation: flotar 5s infinite ease-in-out;
    z-index: 0;
  }
  
  .confetti {
    background: #ff4081;
    border-radius: 50%;
    left: 10%;
    top: 5%;
  }
  
  .balloon {
    background: #3f51b5;
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    left: 80%;
    top: 10%;
  }
  
  @keyframes flotar {
    0% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(-20px); opacity: 0.6; }
    100% { transform: translateY(0); opacity: 1; }
  }

section.imagen-celebracion {
    display: flex;
    justify-content: center;
    margin: 2rem auto;
    max-width: 800px;
    padding: 1rem;
  }
  
  .imagen-celebracion figure {
    max-width: 100%;
    text-align: center;
  }
  
  .imagen-celebracion img {
    width: 100%;
    height: auto;
    border-radius: 1rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  }
  
  .imagen-celebracion figcaption {
    margin-top: 0.8rem;
    font-size: 0.95rem;
    color: #444;
  }
  
   

/* Oculto por defecto para no contar en el primer pintado */
.whatsapp-float{
  position: fixed;
  bottom: 14px;
  left: 14px;
  z-index: 1000;

  opacity: 0;
  transform: translateY(6px);
  transition: opacity .18s ease, transform .18s ease;

  contain: layout paint;
  will-change: opacity, transform;
}

body.ready .whatsapp-float{
  opacity: 1;
  transform: none;
}

.whatsapp-float img{
  width: 56px;
  height: 56px;
  border-radius: 50%;
  /* sin sombras ni filtros pesados */
  transition: transform .12s ease;
}

.whatsapp-float a:active img{
  transform: scale(.97);
}

.faq-section {
  background-color: #ffffff;
  padding: 2rem;
  margin: 3rem auto;
  max-width: 800px;
  border-radius: 1rem;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.faq-section h2 {
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
  color: #1a237e;
}

.faq-section details {
  background-color: #f5faff;
  border: 1px solid #cce7ff;
  border-radius: 8px;
  padding: 1rem;
  margin-bottom: 1rem;
  transition: background 0.3s ease;
  cursor: pointer;
}

.faq-section summary {
  font-weight: 600;
  font-size: 1.05rem;
  color: #004aad;
}

.faq-section details[open] summary {
  color: #1a237e;
}

.faq-section p {
  margin-top: 0.5rem;
  font-size: 1rem;
  color: #333;
  line-height: 1.5;
}

.faq-section a {
  display: inline-block;
  margin-top: 0.5rem;
  color: #007aff;
  font-weight: 500;
  text-decoration: none;
}

.faq-section a:hover {
  text-decoration: underline;
  
}

.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px; /* Cambia 'left' por 'right' si deseas alinearlo a la derecha */
  z-index: 1000;
}

.whatsapp-float img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  padding: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
  animation: heartbeat 1.5s infinite ease-in-out;
  transition: transform 0.2s ease;
}

.whatsapp-float img:hover {
  transform: scale(1.1);
}

@keyframes heartbeat {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}


.reseña-destacada {
  background-color: #ffffff;
  max-width: 800px;
  margin: 3rem auto;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.reseña-usuario {
  margin: 0 auto;
  max-width: 100%;
}

.reseña-usuario img {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: 1rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  margin-bottom: 1rem;
}

.reseña-usuario figcaption {
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
}

.reseña-usuario strong {
  display: block;
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
  color: #1a237e;
}

.reseña-usuario em {
  font-style: italic;
  color: #444;
  display: block;
  margin-bottom: 0.6rem;
}

.reseña-usuario a {
  color: #004aad;
  text-decoration: none;
  font-weight: 600;
}

.reseña-usuario a:hover {
  text-decoration: underline;
  color: #d84315;
}


/* Sección especial para cumpleaños de niños */
.cumple-ninos {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #ffffff;
  border-radius: 1rem;
  padding: 2rem;
  margin: 2rem auto;
  max-width: 900px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.cumple-ninos__figure {
  text-align: center;
  width: 100%;
  max-width: 600px;
}

.cumple-ninos__figure img {
  width: 100%;
  height: auto;
  border-radius: 1rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.cumple-ninos__figure figcaption {
  margin-top: 0.8rem;
  font-size: 0.95rem;
  color: #555;
}

.cumple-ninos__texto {
  margin-top: 1.5rem;
  text-align: center;
  max-width: 700px;
}

.cumple-ninos__texto h2 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
  color: #1a237e;
}

.cumple-ninos__texto p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #333;
  margin-bottom: 1.5rem;
}

.cumple-ninos .cta-button {
  background-color: #ffeb3b;
  color: #000;
  font-weight: bold;
  padding: 12px 28px;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

.cumple-ninos .cta-button:hover {
  background-color: #fff176;
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .cumple-ninos {
    padding: 1.5rem 1rem;
  }

  .cumple-ninos__texto h2 {
    font-size: 1.4rem;
  }

  .cumple-ninos__texto p {
    font-size: 1rem;
  }
}

.hero-cta { margin-top: 16px; text-align:center; }
.btn-wa{
  display:inline-block; padding:.85rem 1.2rem; border-radius:999px;
  background:#25D366; color:#1a0202; font-weight:700; text-decoration:none;
  box-shadow:0 4px 14px rgba(0,0,0,.08);
}
.btn-wa:active{ transform: translateY(1px); }
.trust{ margin-top:.5rem; font-size:.9rem; opacity:.8; }


 /* Video*/
.video-section{
  content-visibility: auto;
  contain-intrinsic-size: 960px;   /* altura aprox para vertical; ajusta si hace falta */
  max-width: 960px;
  margin: 2rem auto;
  padding: 0 1rem;
  text-align: center;
}

.video-section h2{
  font-size: clamp(20px, 5vw, 28px);
  margin-bottom: 1rem;
}

/* SHORTS: fuerza 9:16 y evita barras negras */
lite-youtube.shorts{
  aspect-ratio: 9 / 16;       /* moderno: define la altura correcta */
  width: min(420px, 100%);    /* no lo hagas “gigante” en móvil */
  height: auto;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  background-size: cover;     /* que el póster llene sin bandas */
  background-position: center;
}

/* Fallback por si algún navegador ignora aspect-ratio en este custom element */
lite-youtube.shorts::before{
  content: "";
  display: block;
  padding-bottom: 177.78% !important; /* 9/16 = 177.78% */
}

/* el hero debe poder posicionar elementos absolutos */
.main-wrapper{ position: relative; }

/* flecha centrada abajo */
.scroll-cue{
  position: absolute;
  left: 50%;
  bottom: -10px;            /* si quieres que tape más: -14px */
  transform: translateX(-50%);
  opacity: .85;
  filter: drop-shadow(0 1px 1px rgba(0,0,0,.12));
  animation: bob 1.8s ease-in-out infinite;
  pointer-events: none;     /* no bloquea clics */
}

@keyframes bob{
  0%,100%{ transform: translate(-50%, 0); }
  50%    { transform: translate(-50%, 6px); }
}

/* respeto a usuarios que prefieren menos movimiento */
@media (prefers-reduced-motion: reduce){
  .scroll-cue{ animation: none; }
}

.divider-wave{
  line-height: 0;         /* elimina gap por inline-svg */
  margin-top: -2px;       /* une perfecto con el borde del hero */
}
.divider-wave svg{
  display: block;
  width: 100%;
  height: 52px;           /* ajusta 40–64 según gusto */
}
