/* Theme Name: Dominio Live Theme
Author: Tú
Version: 1.0
*/

/* ============================================
   === (ORIGINAL CSS) ===
   (He mantenido exactamente tu CSS original
    tal cual — no lo edité — y ahora agrego los
    overrides al final)
============================================ */

/* ============================================
   GLOBAL
============================================ */
* {
  box-sizing: border-box;
}

html,
body {
  overflow-x: clip;
  max-width: 100%;
}


body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

}

/* ============================================
   HEADER / MENU FIJO (STICKY)
============================================ */
site-header {
  display: block;
  position: sticky;
  top: 0;
  z-index: 9999;
  width: 100%;
}

.top-menu {
  background: #fff;
  border-bottom: 1px solid #ddd;
  padding: 10px 30px;
  position: sticky;
  top: 0;
  z-index: 9999;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 85px;
  max-height: 85px;
  width: auto;
  display: block;
  transition: height .25s ease;
}

.menu-items {
  list-style: none;
  display: flex;
  gap: 30px;
  margin: 0;
  padding: 0;
}

.menu-items li a {
  text-decoration: none;
  font-size: 16px;
  color: #323232;
  font-weight: bold;
  transition: color .25s ease;
}

.menu-items li a:hover {
  color: #01b3d1;
}

/* ==================================================
   SLIDER GENERAL & FIXED HEIGHT
   (mantengo tu 700px para compatibilidad)
================================================== */
.banner-slider {
  width: 100%;
  height: 750px !important;
  position: relative;
  overflow: hidden;
}

.banner-slider .swiper-wrapper,
.banner-slider .swiper-slide {
  height: 750px !important;
}

/* -------------------------
   FIRST SLIDE: contenedor derecho 80%
   - deja 20% libre a la izquierda
   - todos los elementos (burbuja + botones) dentro
--------------------------*/
.first-slide {
  position: relative;
  width: 100%;
  height: 700px !important;
  background-repeat: no-repeat !important;
  background-position: center center !important;
  background-size: cover !important;
  background-color: #fff;
}

/* Contenedor que ocupa 80% y está pegado a la derecha */
.first-slide .first-slide-content {
  position: absolute;
  right: 0;
  top: 0;
  width: 80%;
  height: 100%;
  padding: 36px 40px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  /* contenidos pegados a la derecha del bloque */
  justify-content: flex-start;
  z-index: 30;
}

/* BURBUJA del chat con animación */
.first-slide .chat-bubble {
  position: absolute;
  top: 35px;
  right: calc(60%);
  width: 520px;
  max-width: 60%;
  min-width: 240px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  color: #2b59c3;
  padding: 20px 28px;
  border-radius: 50px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
  z-index: 40;
  white-space: normal;
  text-align: center;
  border: 0px;

  /* ANIMACIONES */
  animation: bubblePulse 3s ease-in-out infinite,
    slideDown 900ms cubic-bezier(.22, .9, .32, 1);
  transition: transform .25s ease, box-shadow .25s ease;
}

/* ⭐ Latido automático */
@keyframes bubblePulse {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.04);
  }

  100% {
    transform: scale(1);
  }
}

/* ⭐ Siempre cursor tipo botón */
.first-slide .chat-bubble {
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease;
  animation: pulseBubble 2.2s infinite ease-in-out;
}

/* ⭐ Hover más atractivo */
.first-slide .chat-bubble:hover {
  transform: translateY(-8px) scale(1.07);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.28);
}

/* ⭐ Click (feedback táctil) */
.first-slide .chat-bubble:active {
  transform: scale(0.95);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.20);
}

/* ⭐ Animación de pulso ligera */
@keyframes pulseBubble {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.03);
  }

  100% {
    transform: scale(1);
  }
}







/* burbuja texto grande */
.first-slide .chat-bubble .linea-1 {
  font-size: 4.2rem;
  font-weight: 900;
  margin: 0;
  line-height: 1;
}

.first-slide .chat-bubble .linea-2 {
  font-size: 2.15rem;
  margin: 0;
  opacity: .95;
  font-weight: 600;
}


/* triángulo pequeño para la burbuja */
.first-slide .chat-bubble::after {
  content: "";
  position: absolute;
  bottom: -7px;
  left: 10%;
  transform: translateX(-50%) rotate(45deg);
  width: 26px;
  height: 26px;
  background: #fff;
  z-index: 10;
}


/* ANIMACIÓN entrada */
@keyframes slideDown {
  0% {
    transform: translateY(-30px);
    opacity: 0;
  }

  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

/* BOTONES: ahora grandes, en columna, ocupando ancho del contenedor (dentro de .first-slide-content) */
.first-slide .botones-wrapper {
  position: relative;
  /* flujo normal dentro de first-slide-content */
  margin-top: 120px;
  /* separacion bajo la burbuja */
  width: 100%;
  display: flex;
  flex-direction: column;
  /* columna */
  align-items: flex-start;
  /* botones pegados a la derecha */
  gap: 18px;
  box-sizing: border-box;
  padding-right: 24px;
}

/* botón grande estilo pill */
.first-slide .boton-cnd {
  width: 460px;
  /* tamaño fijo amplio (se reduce en responsive) */
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 20px 28px;
  border-radius: 42px;
  font-size: 2rem;
  /* 18px */
  font-weight: 600;
  line-height: 10px;
  color: #fff;
  margin: 10px 0px;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.16);
  transition: transform .15s ease, box-shadow .15s ease;
}

/* hover */
.first-slide .boton-cnd:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.20);
}

/* icono mayor */
.first-slide .boton-cnd i {
  font-size: 2.6rem;
  display: inline-block;
}

/* Si quieres dos columnas de botones en pantallas grandes: */
@media (min-width: 1400px) {
  .first-slide .botones-wrapper {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: start;
    justify-items: center;
    padding-right: 0;
    margin-top: 240px;

  }

  .first-slide .boton-cnd {
    width: 100%;
    max-width: 500px;
  }
}

/* ---------------------------------------------------------------
   EJES BOTONES (Slide 1) - 3 columnas fijas, muy compactos
   --------------------------------------------------------------- */
.first-slide .ejes-botones,
@media (min-width: 0px) { .first-slide .ejes-botones }
.first-slide .ejes-botones {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 2px !important;
  flex-direction: unset !important;
  align-items: stretch !important;
  justify-items: stretch !important;
  padding-right: 4px !important;
  margin-top: 110px !important;
  width: 100% !important;
}

.first-slide .ejes-botones .boton-cnd {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  padding: 6px 8px !important;
  font-size: 0.7rem !important;
  border-radius: 18px !important;
  gap: 5px !important;
  line-height: 1.1 !important;
  justify-content: flex-start !important;
  margin: 0 !important;
  box-shadow: 0 2px 6px rgba(0,0,0,0.18) !important;
  white-space: nowrap !important;
  overflow: hidden !important;
}

.first-slide .ejes-botones .boton-cnd i {
  font-size: 0.85rem !important;
  flex-shrink: 0 !important;
}

/* override del breakpoint 1400px que pone 2 columnas */
@media (min-width: 1400px) {
  .first-slide .ejes-botones {
    grid-template-columns: repeat(3, 1fr) !important;
    margin-top: 110px !important;
    gap: 2px !important;
  }
  .first-slide .ejes-botones .boton-cnd {
    max-width: 100% !important;
    padding: 6px 8px !important;
    font-size: 0.7rem !important;
  }
}

@media (max-width: 600px) {
  .first-slide .ejes-botones {
    grid-template-columns: 1fr !important;
    margin-top: 60px !important;
  }
}

/* -------------------------------
   Slides dinámicos (.banner-slide:not(.first-slide))
   - Título grande y alineado a un lado, botón debajo
------------------------------- */
.swiper-slide.banner-slide:not(.first-slide) {
  position: relative;
  width: 100%;
  height: 700px !important;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* imagen full-bleed */
.swiper-slide.banner-slide:not(.first-slide) .banner-left img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 10;
}

/* overlay opcional (ajusta color/opacity desde aquí si deseas) */
.swiper-slide.banner-slide:not(.first-slide)::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  /* oscurece fondo para legibilidad */
  z-index: 15;
}

/* contenido textual a la derecha o a la izquierda (elige lado) */
.banner-slide:not(.first-slide) .banner-right {
  position: relative;
  z-index: 20;
  color: #fff;
  text-align: left;
  /* estilo "profesional" con texto alineado a la izquierda */
  /* ocupa menos de la mitad para look tipo pro */
  padding: 30px 40px;
  margin-left: 6%;
  width: 100%;
}

/* Título grande y visible */
.banner-slide:not(.first-slide) .banner-right h2 {
  font-size: 64px;
  font-weight: 900;
  margin: 0 0 18px 0;
  line-height: 1.02;
  text-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
}

/* CTA debajo del título */
.banner-slide:not(.first-slide) .btn {
  display: inline-block;
  background: #fff;
  color: #829726;
  padding: 16px 34px;
  font-size: 18px;
  font-weight: 800;
  border-radius: 40px;
  text-decoration: none;
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.18);
  transition: all 0.3s ease;
  /* transición suave para todos los cambios */
  cursor: pointer;
  /* cambiar el cursor al pasar sobre el botón */
}

/* Hover */
.banner-slide:not(.first-slide) .btn:hover {
  transform: translateY(-5px) scale(1.05);
  /* ligero movimiento y escalado */
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.28);
  /* sombra más intensa */
  background-color: #f0f0f0;
  /* opcional, cambio de fondo al pasar el mouse */
  color: #1a3f7a;
  /* opcional, cambio de color de texto */
}


 /* pagination/nav z-index */
.banner-slider .swiper-pagination-bullets {
  z-index: 60;
}

.banner-slider .swiper-button-next,
.banner-slider .swiper-button-prev {
  color: #fff;
  z-index: 60;
}

/* ======================
   RESPONSIVE
   - ajusto burbuja y botones para tablets y móviles
====================== */
@media (max-width: 1200px) {
  .first-slide .first-slide-content {
    padding: 28px;
    width: 80%;
  }

  .first-slide .chat-bubble {
    right: calc(100% - 80% + 18px);
    width: 380px;
    max-width: 44%;
  }

  .first-slide .boton-cnd {
    width: 420px;
    font-size: 1.05rem;
    padding: 18px 26px;
  }

  .banner-slide:not(.first-slide) .banner-right {
    margin-left: 5%;
    padding: 22px;
  }

  .banner-slide:not(.first-slide) .banner-right h2 {
    font-size: 56px;
  }
}

@media (max-width: 992px) {
  .first-slide .first-slide-content {
    padding: 20px;
    width: 85%;
  }

  .first-slide .chat-bubble {
    right: calc(100% - 85% + 14px);
    width: 320px;
    max-width: 60%;
    left: auto;
  }

  .first-slide .botones-wrapper {
    margin-top: 100px;
    gap: 14px;
    align-items: center;
  }

  .first-slide .boton-cnd {
    width: 90%;
    max-width: 360px;
    font-size: 1rem;
    padding: 16px 20px;
  }

  .banner-slide:not(.first-slide) .banner-right {
    max-width: 60%;
    padding: 18px;
  }

  .banner-slide:not(.first-slide) .banner-right h2 {
    font-size: 46px;
  }

  .hero-text h1 {
    font-size: 70px !important;
  }

  .hero-btn-wrapper {
    margin-top: 0px !important;
  }

}

@media (max-width: 768px) {

  .hero-text h1 {
    font-size: 70px;
    /* más grande */
  }

  /* mantengo altura por requerimiento, pero ajusto diseño interno */
  .first-slide .first-slide-content {
    width: 95%;
    padding: 14px;
    right: 0;
  }

  .first-slide .chat-bubble {
    position: relative;
    top: 12px;
    right: 0;
    width: 100%;
    max-width: none;
    border-radius: 28px;
    padding: 14px 18px;
    transform: none;
  }

  .first-slide .botones-wrapper {
    margin-top: 22px;
    gap: 12px;
    align-items: center;
    width: 100%;
  }

  .first-slide .boton-cnd {
    width: 100%;
    max-width: 100%;
    font-size: 1rem;
    padding: 14px 16px;
    border-radius: 12px;
  }

  /* Slides dinámicos: titulo más pequeño en móvil */
  .banner-slide:not(.first-slide) .banner-right {
    max-width: 90%;
    margin-left: 0;
    padding: 12px;
    text-align: center;
  }

  .banner-slide:not(.first-slide) .banner-right h2 {
    font-size: 34px;
    line-height: 1.05;
  }

  .banner-slide:not(.first-slide) .btn {
    margin-top: 10px;
    padding: 12px 22px;
  }
}

/* ============================================
   DOCUMENTOS / NOVEDADES / POSTS
============================================ */

.novedades {
  margin-bottom: 80px;
  padding: 20px;
}


/* CONTENEDOR GENERAL */
.documentos {
  padding: 60px 20px;
}

.documentos h1,
.novedades h1,
#faq h1,
#conoce-app h1,
#campanas h1 {
  font-size: 60px;
}

/* CONTENEDOR DE LOS DOS BOTONES */
.dos-botones {
  display: flex;
  justify-content: center;
  gap: 100px;
  flex-wrap: wrap;
}

/* BOTONES */
.bigbtn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 580px;
  padding: 22px 20px;
  border-radius: 18px;
  text-decoration: none;
  font-weight: bold;
  transition: transform .2s ease, box-shadow .2s ease;
}

/* HOVER EFECTO */
.bigbtn:hover {
  transform: translateY(-4px);
}

/* -------- COLORES CON SOMBRA PERSONALIZADA -------- */

/* BOTÓN DOCUMENTOS (naranja) */
.bigbtn.docs {
  background: #d55136;
  box-shadow: 0 6px 18px rgba(213, 81, 54, 0.45);
  /* sombra misma tonalidad */
}

.bigbtn.docs:hover {
  box-shadow: 0 12px 28px rgba(213, 81, 54, 0.65);
}

/* BOTÓN VIDEOS (verde suave) */
.bigbtn.videos {
  background: #bad636;
  box-shadow: 0 6px 18px rgba(186, 214, 54, 0.45);
}

.bigbtn.videos:hover {
  box-shadow: 0 12px 28px rgba(186, 214, 54, 0.65);
}

/* -------- TEXTOS Y COLORES ESPECIALES -------- */

.bigbtn.videos .text-col h2 {
  color: #1b386c !important;
}

.bigbtn.videos .icon-col i {
  color: #1b386c !important;
}

/* -------- LAYOUT INTERNO -------- */

.icon-col {
  width: 25%;
  /* 3/12 */
  display: flex;
  justify-content: center;
  align-items: center;

}

.text-col {
  width: 75%;
  /* 9/12 */
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ÍCONOS MÁS GRANDES */
.icon-col i {
  font-size: 88px;
  color: white;
}

/* TEXTO DEL BOTÓN */
.text-col h2 {
  font-size: 40px;
  margin: 0;
  color: white;
  text-align: center;
}




.novedades,
#conoce-app {
  padding: 40px;
  margin-top: 60px;
}

.novedades h2 {
  margin-bottom: 20px;
}

/* CONTENEDOR DEL CARRUSEL */
.carousel {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 10px;
}

/* CARRUSEL HORIZONTAL */
.posts-grid {
  display: flex;
  gap: 28px;
  /* más espacio entre cards */
  width: max-content;
  padding-left: 10px;
}

/* TARJETAS */
.post-card {
  width: 460px;
  /* ideal para que entren 5 tarjetas */
  min-width: 260px;
  height: 285px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
  scroll-snap-align: start;
  overflow: hidden;
  transition: transform .2s ease;
}

/* HOVER */
.post-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.20);
}

/* CONTENEDOR DE LA IMAGEN ESTÁTICO */
.post-card .post-img {
  width: 100%;
  height: 200px;
  /* altura fija */
  overflow: hidden;
}

/* FOTO PROTEGIDA contra recortes o deformaciones */
.post-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* mantiene proporción, no se estira NI SE DEFORMA */
  object-position: center;
  display: block;
}

/* TITULO */
.post-card h3 {
  padding: 12px 15px;
  margin: 0;
  font-size: 24px;
  color: #13134d;
}

/* FECHA */
.post-card .date {
  padding: 0 15px 15px;
  color: #777;
  font-size: 14px;
}

/* SCROLLBAR */
.carousel::-webkit-scrollbar {
  height: 8px;
}

.carousel::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 20px;
}



/* ==============================
   HERO SECTION
============================== */
.hero {
  width: 100%;
  height: 900px;
  /* puedes ajustar */
  background: url('/wp-content/themes/pr/assets/heroFondo.png') no-repeat center center;
  background-size: 100% 100%;
  /* se estira para ocupar todo el ancho y alto */
  display: flex;
  align-items: center;
  position: relative;
  margin-top: 0;
}

/* CONTENEDOR INTERNO */
.hero-content {
  width: 100%;
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 40px;
}

/* COLUMNA DERECHA (PERSONAJE) 30% Y COLUMNA IZQUIERDA (TEXTO) 70% */
.hero-personaje {

  height: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.hero-personaje img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* ocupa todo el alto y ancho */
  position: relative;
  bottom: -40px;
  /* sobresale por debajo */
  pointer-events: none;
}

/* TEXTO IZQUIERDA */
.hero-text {
  width: 60%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* centra verticalmente */
  align-items: flex-start;
  color: #ffffff;
  padding-left: 40px;
}

.hero-text h1 {
  padding-right: 80px;
  padding-top: 80px;
  font-size: 85px;
  /* más grande */
  font-weight: 900;
  line-height: 1.5;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

/* BOTÓN */

/* CONTENEDOR DEL BOTÓN PARA CENTRARLO */
.hero-btn-wrapper {
  display: flex;
  justify-content: center;
  /* centra el botón horizontalmente */
  width: 100%;
  margin-top: 40px;
}

/* BOTÓN */
.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 25px;
  /* espacio entre SVG y texto */
  background: #8bc03f;
  padding: 24px 50px;
  /* más grande */
  border-radius: 12px;
  /* bordes redondeados */
  color: #fff;
  text-decoration: none;
  font-size: 30px;
  /* texto más grande */
  font-weight: bold;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  position: relative;

  /* ANIMACIÓN LIGERA CONTINUA */
  animation: floatBtn 3s ease-in-out infinite;
}

/* ANIMACIÓN HOVER */
.hero-btn:hover {
  transform: translateY(-6px);
  /* se eleva más al pasar mouse */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

/* SVG dentro del botón */
.hero-btn svg {
  width: 40px;
  /* tamaño SVG */
  height: 40px;
  fill: #fff;
  /* color blanco */
  transition: transform 0.3s ease;

  /* ANIMACIÓN CONTINUA DEL ICONO */
  animation: floatIcon 2s ease-in-out infinite;
}

/* HOVER DEL SVG */
.hero-btn:hover svg {
  transform: translateY(-3px) rotate(-10deg);
}

/* KEYFRAMES BOTÓN */
@keyframes floatBtn {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-5px);
  }
}

/* KEYFRAMES ICONO */
@keyframes floatIcon {

  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }

  25% {
    transform: translateY(-2px) rotate(-5deg);
  }

  50% {
    transform: translateY(-4px) rotate(3deg);
  }

  75% {
    transform: translateY(-2px) rotate(-2deg);
  }
}


/*faq*/

#faq,
#campanas {
  padding: 40px;
  margin-top: 60px;
}


.faq-question {
  width: 100%;
  text-align: left;
  margin-bottom: 12px;
  font-size: 26px;
  font-weight: bold;
  padding: 15px 20px;
  border: 2px solid #2c2c2c;
  /* Borde negro */
  border-radius: 15px;
  /* Redondeado 20% */
  background-color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s ease;
  color: #2c2c2c;
}

.faq-question:hover {
  background-color: #f0f0f0;
}

.faq-item.active .faq-question {
  background-color: #8bc03f;
  /* Fondo negro cuando está abierto */
  color: #fff;
  border: #8bc03f;
  /* Texto blanco */
}

.arrow {
  font-size: 18px;
  transition: transform 0.3s ease, color 0.3s ease;
}

.faq-item.active .arrow {
  transform: rotate(180deg);
  color: #fff;
  /* Flecha blanca cuando abierto */
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  background: #f9f9f9;
  padding: 0 20px;
  margin-bottom: 10px;
}

.faq-answer p {
  margin: 10px 0;
  font-weight: normal;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  /* Ajusta según la longitud */
  padding: 15px 20px;
}

#faq h1 {
  margin-bottom: 0px;
}

/* Responsive: que la imagen se apile en móviles */
@media (max-width:768px) {
  .container {
    flex-wrap: wrap;
  }

  .faq-col,
  .faq-image {
    flex: 1 1 100%;
  }

  .hero-text h1 {
    font-size: 70px;
    /* más grande */
  }

}


/*conoce tu app*/


#conoce-app p {

  font-size: 26px;
  color: #13134d;
}

.app-text span {
  color: #8bc03f;
  font-weight: bold;
}


/* Responsive: se apilan en móviles */
@media (max-width:768px) {
  #conoce-app .container {
    flex-wrap: wrap;
  }

  #conoce-app .app-text,
  #conoce-app .app-image {
    flex: 1 1 100%;
  }

  .hero-text h1 {
    font-size: 70px;
    /* más grande */
  }

}


/*hero2*/

/* 🔵 Animación suave flotante */
@keyframes floatBtn {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-6px);
  }

  100% {
    transform: translateY(0);
  }
}

/* 🎯 Botón base */
.btn-download {
  display: inline-flex;
  align-items: center;
  gap: 30px;
  background-color: #3872b5;
  color: #fff;
  padding: 12px 60px;
  border-radius: 15px;
  font-weight: bold;
  text-decoration: none;
  font-size: 26px;
  text-align: center;
  margin: 0 auto;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  animation: floatBtn 3s ease-in-out infinite;
  /* flotando */
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}

/* ✨ Hover potente */
.btn-download:hover {
  background-color: #0b5ed7;
  transform: translateY(-8px) scale(1.05);
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.35);
  text-decoration: none;
}


/* Responsive */
@media (max-width:768px) {
  #hero .container {
    flex-direction: column;
    align-items: center;
  }

  #hero .hero-left,
  #hero .hero-right {
    flex: 1 1 100%;
    text-align: center;
  }

  #hero .hero-left h1 {
    font-size: 2rem;
  }

  .hero-text h1 {
    font-size: 70px;
    /* más grande */
  }

  #hero .hero-right img {
    width: 80%;
    height: auto;
  }

}

.walk-animation {
  animation: walkFloat 3.5s ease-in-out infinite;
}

@keyframes walkFloat {
  0% {
    transform: translateY(0px) rotate(0deg);
  }

  50% {
    transform: translateY(-8px) rotate(1deg);
  }

  100% {
    transform: translateY(0px) rotate(0deg);
  }
}


/*boton de subir*/
#btnTop {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #3872b5;
  color: #fff;
  border: none;
  padding: 22px 24px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  z-index: 999;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.4s ease;
}

/* Cuando se muestra */
#btnTop.show {
  opacity: 1;
  transform: translateY(0);
}

/* Hover */
#btnTop:hover {
  background: #2c5ca5;
  transform: translateY(-3px);
}

/*campañas*/

.campanas-carousel::-webkit-scrollbar {
  width: 8px;
}

.campanas-carousel::-webkit-scrollbar-thumb {
  background-color: #3872b5;
  border-radius: 4px;
}

.campanas-carousel::-webkit-scrollbar-track {
  background: #f1f1f1;
}

.campana-card:hover {
  transform: translateY(-5px);
  transition: transform 0.3s;
}

.campana-card a {
  align-self: center;
  padding: 12px 30px;
  background: #8bc03f;
  color: #fff;
  border-radius: 20px;
  text-decoration: none;
  font-weight: bold;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  display: inline-block;
}

.campana-card a:hover {
  background: #7ab32f;
  /* tono más oscuro */
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
  text-decoration: none;
}


@media(max-width:768px) {
  .campana-card {
    max-width: 100%;
  }
}

.app-image{
z-index: 0;
}

.app-text{
z-index: 10;
}

/* ============================================
   === (OVERRIDES / FIXES: SM / MD / LG)
   - No quité nada arriba: solo añado estos overrides
   - SM = phone small (<=575.98px)
   - MD = tablets (576px - 991.98px)
   - LG = laptops (992px - 1199.98px)
   - XL (>=1200px) queda como en el CSS original
============================================ */

/* -------------------------
   SM - Phone (0 - 575.98px)
   - ocultar chat-bubble
   - botones en 2 columnas y más pequeños
   - hero-personaje reducido (todas las vistas excepto XL)
------------------------- */
@media (max-width: 575.98px) {

  /* asegurar banner más cómodo en móviles */
  .banner-slider, .banner-slider .swiper-wrapper, .banner-slider .swiper-slide {
    height: auto !important;
  }

  /* ocultar chat (phone) */
  .first-slide .chat-bubble {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
  }

  /* centrar contenido del primer slide y hacer grid de botones 2 columnas */
  .first-slide .first-slide-content {
    position: relative !important;
    width: 95% !important;
    padding: 14px !important;
    right: 0 !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .first-slide .botones-wrapper {
    margin-top: 20px !important;
    width: 100% !important;
    padding-right: 0 !important;

    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
    justify-items: center !important;
    align-items: center !important;

    z-index: 1001 !important; /* encima de #btnTop (999) */
    position: relative !important;
  }

  .first-slide .boton-cnd {
    width: 100% !important;
    max-width: 100% !important;
    font-size: 0.95rem !important;
    padding: 12px 10px !important;
    border-radius: 12px !important;
    box-shadow: 0 6px 20px rgba(0,0,0,0.12) !important;
  }

  /* hero-personaje reducido en móviles (no XL) */
  .hero-personaje img,
  #hero .hero-right img {
    width: 60% !important;
    max-width: 260px !important;
    height: auto !important;
    bottom: -10px !important;
  }

  .hero-personaje { max-width: 320px !important; }

  /* texto hero más pequeño en móviles */
  .hero-text h1 {
    font-size: 34px !important;
    padding-top: 20px !important;
    padding-right: 20px !important;
    line-height: 1.15 !important;
  }

  /* Botones Documentos/Videos: lado a lado, compactos */
  .dos-botones {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
    width: 100% !important;
    max-width: 480px !important;
    margin: 0 auto !important;
    padding: 0 10px !important;
  }
  .bigbtn {
    width: 100% !important;
    max-width: none !important;
    padding: 10px 10px !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    border-radius: 12px !important;
    min-height: 56px !important;
  }
  .icon-col { width: auto !important; flex: 0 0 auto !important; display: flex !important; align-items: center !important; }
  .icon-col i { font-size: 24px !important; }
  .text-col { width: auto !important; flex: 1 1 auto !important; min-width: 0 !important; }
  .text-col h2 { font-size: 13px !important; line-height: 1.2 !important; text-align: left !important; }

  /* Títulos de sección más pequeños en móvil */
  .documentos h1,
  .novedades h1,
  #faq h1,
  #conoce-app h1,
  #campanas h1 { font-size: 28px !important; }

  /* Texto app más legible en móvil */
  #conoce-app p { font-size: 16px !important; line-height: 1.6 !important; }
  #conoce-app h2 { font-size: 22px !important; }

  /* FAQ: preguntas más compactas */
  .faq-question { font-size: 15px !important; padding: 12px 14px !important; border-radius: 12px !important; }

  /* Hero Juegos y Trivia: más compacto */
  .hero { height: auto !important; min-height: 300px !important; padding: 30px 16px !important; background-size: cover !important; }
  .hero-content { flex-direction: column !important; padding: 0 !important; }
  .hero-personaje { max-width: 200px !important; margin: 0 auto !important; }
  .hero-personaje img { width: 100% !important; max-width: 180px !important; height: auto !important; bottom: 0 !important; }
  .hero-text { width: 100% !important; text-align: center !important; padding: 0 !important; align-items: center !important; }
  .hero-text h1 { font-size: 22px !important; padding: 10px 0 !important; line-height: 1.3 !important; }
  .hero-btn { font-size: 16px !important; padding: 14px 28px !important; gap: 12px !important; }
  .hero-btn svg { width: 24px !important; height: 24px !important; }

  /* App hero banner más compacto */
  .app-hero { min-height: 200px !important; }
  .app-hero__title { font-size: 20px !important; }

  /* Secciones: padding reducido */
  .documentos { padding: 30px 16px !important; }
  #faq, #campanas { padding: 30px 16px !important; margin-top: 30px !important; }
  .novedades, #conoce-app { padding: 30px 16px !important; margin-top: 30px !important; }

  /* Novedades título */
  .nv-title { font-size: 1.4rem !important; }
  .nv-sub { font-size: 0.88rem !important; }
}

/* -------------------------
   MD - Tablet (576px - 991.98px)
   - ocultar chat-bubble
   - botones 2 columnas y más pequeños, encima de #btnTop
   - hero-personaje y hero-right reducidos
   - texto hero reducido
------------------------- */
@media (min-width: 576px) and (max-width: 991.98px) {

  /* banner height ligeramente menor */
  .banner-slider, .banner-slider .swiper-wrapper, .banner-slider .swiper-slide {
    height: 700px !important;
  }

  /* ocultar chat (tablet) */
  .first-slide .chat-bubble {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
  }

  /* first-slide content centrado y grid botones 2 columnas */
  .first-slide .first-slide-content {
    position: relative !important;
    width: 100% !important;
    padding: 20px !important;
    right: 0 !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .first-slide .botones-wrapper {
    margin-top: 22px !important;
    width: 100% !important;
    padding-right: 0 !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
    justify-items: center !important;
    align-items: center !important;

    z-index: 1001 !important; /* encima de #btnTop */
    position: relative !important;
  }

  .first-slide .boton-cnd {
    width: 100% !important;
    max-width: 100% !important;
    font-size: 1rem !important;
    padding: 14px 12px !important;
    border-radius: 12px !important;
    box-shadow: 0 8px 20px rgba(0,0,0,0.12) !important;
  }

  /* hero-personaje y hero-right reducidos en tablet */
  .hero-personaje img,
  #hero .hero-right img {
    width: 100% !important;
    max-width: 340px !important;
    height: auto !important;
    bottom: -10px !important;
  }

  .hero-personaje { max-width: 420px !important; }

  /* hero text reducido en tablet */
  .hero-text h1 {
    font-size: 42px !important;
    padding-right: 30px !important;
    padding-top: 40px !important;
    line-height: 1.15 !important;
  }

  /* Botones Documentos/Videos: lado a lado en tablet */
  .dos-botones {
    flex-wrap: nowrap !important;
    gap: 20px !important;
    justify-content: center !important;
  }
  .bigbtn {
    width: 45% !important;
    max-width: 280px !important;
    padding: 16px 14px !important;
    border-radius: 16px !important;
  }
  .icon-col i { font-size: 50px !important; }
  .text-col h2 { font-size: 20px !important; }

  /* Títulos de sección en tablet */
  .documentos h1,
  .novedades h1,
  #faq h1,
  #conoce-app h1,
  #campanas h1 { font-size: 36px !important; }

  /* Texto app en tablet */
  #conoce-app p { font-size: 18px !important; }

  /* Hero Juegos y Trivia en tablet */
  .hero { height: auto !important; min-height: 400px !important; background-size: cover !important; }
  .hero-content { padding: 0 20px !important; }
  .hero-text h1 { font-size: 32px !important; padding-top: 20px !important; padding-right: 20px !important; }
  .hero-btn { font-size: 20px !important; padding: 18px 36px !important; }

  /* FAQ en tablet */
  .faq-question { font-size: 18px !important; }
}

/* -------------------------
   LG - Laptop (992px - 1199.98px)
   - hero-personaje y hero-right reducidos (NO ocultar chat por defecto)
   - hero-text reduced
   - buttons: column but less large
------------------------- */
@media (min-width: 992px) and (max-width: 1199.98px) {

  .banner-slider, .banner-slider .swiper-wrapper, .banner-slider .swiper-slide {
    height: 750px !important;
  }

  /* Mantener la burbuja visible en laptops según tu petición (solo ocultar en phone+tablet).
     Si deseas ocultarla también en laptops, añade display:none !important; aquí. */
  .first-slide .chat-bubble {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
  }

  /* botones: columna, pero más compactos */
  .first-slide .botones-wrapper {
    margin-top: 100px !important;
    gap: 14px !important;
    align-items: flex-end !important;
    z-index: 30 !important;
    position: relative !important;
  }

  .first-slide .boton-cnd {
    width: 360px !important;
    font-size: 1.05rem !important;
    padding: 16px 20px !important;
    border-radius: 20px !important;
  }

  /* reducir hero-personaje & hero-right image en laptop */
  .hero-personaje img,
  #hero .hero-right img {
    width: 75% !important;
    max-width: 420px !important;
    height: auto !important;
    bottom: -20px !important;
  }

  .hero-personaje { max-width: 520px !important; }

  /* hero text reducido en laptop */
  .hero-text h1 {
    font-size: 54px !important;
    padding-right: 40px !important;
    padding-top: 60px !important;
  }

  .bigbtn { width: 100% !important; max-width: 520px !important; padding: 20px 18px !important; }
  .text-col h2 { font-size: 28px !important; }
}

/* -------------------------
   XL - Desktop grande (>=1200px)
   - conserva el comportamiento original (no sobrescribo)
------------------------- */
@media (min-width: 1200px) {
  /* Nothing forced here — XL mantendrá tu diseño base del CSS anterior */
}

/* =========================
   UTILIDADES: asegurar botones encima de btnTop donde definido
   (estas reglas solo aumentan prioridad si algo lo sobrescribe)
   ========================= */
.first-slide .botones-wrapper {
  /* si algún estilo anterior cambiara z-index, esto asegura coherencia */
  z-index: 1001 !important;
}

/* END of CSS overrides */

/* ============================================
   === MOBILE MENU: EXPANDIBLE (phone + tablet)
   - ocupa todo el ancho
   - elementos grandes y táctiles
   - funciona con `.top-menu.open` (JS) o con
     checkbox hack: #menu-checkbox:checked ~ .menu-items
============================================ */

/* Base: oculto/desktop behavior preserved */
.menu-toggle {
  display: none;
  background: transparent;
  border: none;
  font-size: 26px;
  cursor: pointer;
  padding: 8px 10px;
  line-height: 1;
}

/* hide native checkbox if used */
#menu-checkbox {
  display: none;
}

/* Make header relative so absolute menu can align to viewport */
.top-menu {
  position: relative;
  z-index: 1500;
}

/* MOBILE + TABLET: show toggle and style expanded menu */
@media (max-width: 991.98px) {

  /* show hamburger / toggle */
  .menu-toggle {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: transparent;
    color: #1b1b1b;
    border: 1px solid rgba(0,0,0,0.06);
    font-weight: 700;
    font-size: 26px;
    margin-left: 12px;
  }

  /* ensure header-inner aligns items correctly on mobile */
  .header-inner {
    gap: 12px;
    align-items: center;
  }

  /* Menu hidden by default (collapsed) */
  .menu-items {
    display: flex;               /* keep flex so layout stable, but collapsed with max-height */
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 0;
    position: absolute;
    left: 0;
    top: 100%;
    width: 100vw;               /* full viewport width */
    box-sizing: border-box;
    background: #fff;
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
    overflow: hidden;
    max-height: 0;              /* collapsed */
    opacity: 0;
    visibility: hidden;
    transition: max-height 0.36s ease, opacity 0.25s ease;
    z-index: 2000;
  }

  /* When expanded via JS class or checkbox hack */
  .top-menu.open .menu-items,
  #menu-checkbox:checked ~ .menu-items {
    max-height: 1000px;         /* suficientemente alto para todos los links */
    opacity: 1;
    visibility: visible;
  }

  /* Full-width list items with large tappable areas */
  .menu-items li {
    width: 100%;
    margin: 0;
    list-style: none;
    border-top: 1px solid rgba(0,0,0,0.06);
  }

  .menu-items li:first-child {
    border-top: none;
  }

  .menu-items li a {
    display: block;
    padding: 18px 20px;        /* grande y fácil de tocar */
    font-size: 20px;           /* elementos grandes */
    font-weight: 700;
    color: #1b1b1b;
    text-align: center;
    text-decoration: none;
    width: 100%;
  }

  .menu-items li a:hover,
  .menu-items li a:focus {
    background: rgba(27,56,108,0.04);
    color: #0b5ed7;
  }

  /* If you want the menu to cover the full viewport height (optional),
     uncomment the next block: it will make the menu a full-screen panel. */
  /*
  .top-menu.open .menu-items,
  #menu-checkbox:checked ~ .menu-items {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100vw;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 80px; // leave space for header
  }
  */

  /* Small logo shrink so menu doesn't overflow */
  .logo img {
    height: 56px;
    max-height: 56px;
  }

  /* Move / shrink header padding for cleaner full-width look */
  .top-menu {
    padding: 12px 14px;
  }

  /* If you used the checkbox hack, style the label as hamburger */
  label[for="menu-checkbox"].menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
  }

  /* Accessible close button inside menu (optional) */
  .menu-close {
    display: block;
    text-align: right;
    padding: 10px 18px;
    font-size: 22px;
    color: #333;
  }
}

/* Desktop: keep original horizontal menu and hide toggle */
@media (min-width: 992px) {
  .menu-toggle { display: none !important; }
  #menu-checkbox { display: none !important; }

  /* ensure menu-items are horizontal on desktop as originally */
  .menu-items {
    position: static;
    display: flex;
    flex-direction: row;
    max-height: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    background: transparent;
    box-shadow: none;
  }

  .menu-items li a {
    padding: 0;
    font-size: 16px;
    text-align: left;
  }

  .top-menu { padding: 15px 30px; }
}

/* Small tweak: when menu open, push btnTop slightly left if overlapped (optional) */
@media (max-width: 991.98px) {
  .top-menu.open ~ #btnTop,
  #menu-checkbox:checked ~ #btnTop {
    right: 86px; /* mueve el botón subir un poco para evitar solapamiento con menú abierto */
  }
}

/* End of mobile menu CSS */

/* =========================================================
   ESTILOS SLIDE 1 CONSULTA (IDÉNTICO A SLIDE 2)
   ========================================================= */
.consulta-first-slide-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 35px 6%;
    height: 100%;
    position: relative;
    z-index: 2;
}

.consulta-first-slide-content .chat-bubble {
    width: fit-content;
    max-width: 580px;
    padding: 16px 24px;
    border: none;
    border-radius: 22px;
    cursor: pointer;
    text-align: left;
    margin-bottom: 20px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.22);
    transition: transform .25s ease, box-shadow .25s ease;
}

.consulta-first-slide-content .chat-bubble:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.3);
}

.consulta-first-slide-content .botones-wrapper.consulta-botones-grid {
    margin-top: 0 !important;
    display: grid !important;
    grid-template-columns: repeat(3, minmax(200px, 1fr)) !important;
    gap: 12px !important;
    max-width: 1100px !important;
    width: 100% !important;
    padding-right: 0 !important;
}

.consulta-first-slide-content .boton-cnd {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 12px 18px !important;
    border-radius: 42px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 14px !important;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18) !important;
    transition: transform .2s ease, box-shadow .2s ease !important;
    text-decoration: none !important;
    min-height: 66px;
    box-sizing: border-box;
    color: #fff !important;
}

.consulta-first-slide-content .boton-cnd:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.28) !important;
}

.consulta-first-slide-content .boton-cnd i {
    font-size: 2.2rem !important;
    min-width: 32px !important;
    text-align: center !important;
}

.consulta-first-slide-content .btn-text-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.2;
}

.consulta-first-slide-content .btn-text-wrap strong {
    font-size: 1.55rem;
    font-weight: 700;
    line-height: 1.15;
    color: #fff;
}

.consulta-first-slide-content .btn-text-wrap small {
    font-size: 1.15rem;
    font-weight: 400;
    opacity: 0.92;
    margin-top: 2px;
    color: rgba(255, 255, 255, 0.9);
}

@media (max-width: 1200px) {
    .consulta-first-slide-content .botones-wrapper.consulta-botones-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 680px) {
    .consulta-first-slide-content {
        padding: 20px 14px !important;
        overflow-y: auto;
    }
    .consulta-first-slide-content .botones-wrapper.consulta-botones-grid {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }
    .consulta-first-slide-content .boton-cnd {
        padding: 10px 16px !important;
        min-height: 58px;
    }
}

