@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Inter", sans-serif;
    font-size: 16px;
}

main {
    margin-top: 220px;
}

/* =========================
   HEADER
   ========================= */
header {
    background-color: rgb(255, 255, 255);
    border-radius: 12px;
    max-width: 976px;
    height: 70px;
    width: 80%;
    margin: 80px auto;
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    padding: 10px 15px;
    box-shadow: 0px 4px 7px 2px #cdcbcb6b;
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1000;
    transition: top 0.9s ease-in-out;
}

.header-hidden {
    top: -150px;
    opacity: 0.5;
}

header ul {
    display: flex;
    gap: 10px;
}

li {
    list-style-type: none;
}

a {
    text-decoration: none;
    color: #149861;
}

.boton-plataforma {
    color: white;
    background-color: #149861;
    border-radius: 8px;
    padding: 8px;
}

/* =========================
   HERO
   ========================= */
h1 {
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-size: 56px;
    margin-top: 80px;
    margin-bottom: 20px;
    line-height: 1.1;
}

.titulo-hero {
    max-width: 1200px;
    margin: 0 auto;
}

p {
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-size: 18px;
}

.parrafo-button {
    display: flex;
    justify-content: space-between;
    align-content: center;
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
}

.button {
    text-align: right;
}

button {
    padding: 10px 20px;
    font-size: 18px;
    border-radius: 8px;
    border: solid 0px;
    margin: 0 5px;
}

.btn-primary {
    background-color: #149861;
    color: #EEEEEE;
    padding: 12px 16px;
    border-radius: 8px;
}


.btn-secondary {
    border: solid 1px #149861;
    background-color: #fff;
    padding: 12px 16px;
    border-radius: 8px;
}

/* El enlace debe ser verde */
.parrafo-button button a:nth-of-type(2) {
    color: #149861;
}

/* =========================
   HERO SECTION
   ========================= */
.hero-section {
    max-width: 1200px;
    margin: 50px auto;
    background-color: #e9e9e9;
    padding: 40px;
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background: linear-gradient(to top, #ffffff, transparent);
    pointer-events: none;
    z-index: 1;
}

.phone-images {
    display: flex;
    gap: 85px;
    flex-wrap: wrap;
    flex-direction: row;
    
}
.phone-img-1, .phone-img-3{
    height: 300px;
}

.phone-img-2 {
    mask-image: linear-gradient(black 50%, transparent);
    -webkit-mask-image: linear-gradient(black 30%, transparent);
    height: 500px;
}

.text-overlays {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.overlay-text {
    background-color: #000;
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    position: absolute;
    transform: rotate(-5deg);
}

.easy-management {
    top: 50px;
    left: 50px;
}

.easy-client {
    top: 250px;
    right: 50px;
    transform: rotate(5deg);
}

/* =========================
   SECCIÓN PAGO
   ========================= */

/* Tarjetas de pagos card animacion */
.payment-section {
    display: flex;
    padding: 10px;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1100px;
    margin: 100px auto;
   
}
.payment-intro p {
    font-size: 1.2rem;
    margin-top: 20px;
}

.card-stack-container {
    width: 45%;
    position: relative;
    height: 100vw;
    margin-bottom: 100px;
}

.payment-intro,
.card-stack-container {
    width: 45%;
    position: -webkit-sticky;
    position: sticky;
    top: 80px;
    align-self: flex-start;
}
.payment-intro {
    width: 45%;
    position: sticky;
   
}
.payment-intro h2{
    font-size: 32px;
    font-weight: 400;
    
}
.card {
    background-color: #ffffff;
    border: solid 1px;
    box-shadow: 0px 12px 32px 0px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 30px;
    width: 100%;
    height: 300px;
    border-radius: 16px;
    opacity: 0;
    transform: translateY(30px) scale(0.98);
    transition: opacity 0.6s ease, transform 0.6s ease;
    position: sticky;
    top: 80px;
    z-index: 0; 
    row-gap: 80px;
}

#first-card {
    opacity: 1;
    transform: translateY(0) scale(1);
    z-index: 1;
}

.card-content {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.text-content h3 {
    margin: 0;
    font-size: 1.5rem;
}

.text-content p {
    margin: 0;
    font-size: 1rem;
    color: #888;
}

.card p {
    font-size: 1rem;
    color: #333;
}

.card img {
    border-radius: 12px;
}

/* =========================
   SECCIÓN PLANES
   ========================= */

.planes {
    margin: 20px 0px;
    padding: 10px;
    width: 100%;
    background-color: #f0f0f0;
}
.info-card span{
    background-color: #343a3d;
    padding: 6px 16px;
    border-radius: 5px;
    color: #ffffff;
    font-weight: 400;
    gap: 10px;
    display: inline-block;
    width: fit-content;
    font-size: 10px;
}
h5 {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    /* Este tamaño de 32px(tenia)y 700(tenia) la baje se verá grande si lo usas solo para 'Precios de Lanzamiento' */
    /* Pero se mantiene porque es un estilo global y podría usarse en otros sitios. */
    font-size: 30px;
}

/* COMENTADO: Esta clase (.precio-plan) ya no se usa en el HTML porque se reemplazó por .precio-proximamente. */
/*
.precio-plan{
    display: flex;
    align-items: flex-end;
}
*/

/* --- ESTILOS AGREGADOS PARA EL MENSAJE PROVISORIO --- */
/* NECESARIO: Estilo para el contenedor del mensaje de 'próximamente' */
.precio-proximamente {
    display: flex;
    flex-direction: column; /* Apilamos el título y el 'próximamente' */
    align-items: center;
    justify-content: center;
    margin-bottom: 20px; /* Espacio debajo del mensaje */
    row-gap: 5px; /* Pequeño espacio entre el título y el mensaje */
}

/* NECESARIO: Estilo para el título del mensaje (ej: 'Precios de Lanzamiento') */
.precio-proximamente h5 {
    /* Sobreescribe el h5 global para el tamaño de este mensaje específico */
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 20px; /* Tamaño más adecuado para un título provisional */
    color: #149861;
    margin: 0;
}

/* NECESARIO: Estilo para el mensaje '¡Próximamente!' */
.precio-proximamente p {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 16px;
    color: #4a4a4a;
    margin: 0;
    padding: 0;
}
/* --------------------------------------------------- */


.card-planes {
    border: solid 1px #149861;
    border-radius: 16px;
    text-align: center;
    width: 350px;
    padding: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background-color: #ffffff;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    
}

.card-planes:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.card-planes h4 {
    border-bottom: 1px solid #149861;
    padding: 10px 0px;
    border-radius: 16px 16px 0px 0px;
    font-weight: 400;
    color: #149861;
    font-size: 16px;
    font-family: "Poppins", sans-serif;
    background-color: #EEEEEE;

}

.titulo-estrellas, .titulo-pro{
    border-bottom: 1px solid #149861;
    
    border-radius: 15px 15px 0px 0px;
    font-weight: 400;
    font-size: 16px;
    font-family: "Poppins", sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    background-color: #149861;
}

.titulo-estrellas h4, .titulo-pro h4{
    border-bottom: 0;
    background-color: unset;
    color: white;
    background-color: #149861;
}

.info-card {
    margin: 30px 0px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    padding: 0px 24px;
}

/* AJUSTADO: Esta regla ahora apunta al primer <p> DESPUÉS del nuevo .precio-proximamente (el párrafo de descripción del plan). */
/* Los estilos originales eran para la "Promoción/Meses Gratis" y ya no son adecuados para la descripción. */
.info-card p:first-of-type {
    /* Estilos base de la descripción del plan (no la promo) */
    font-size: 14px;
    color: #888; /* Color neutro para la descripción corta */
    margin-top: 15px; /* Separación después del mensaje de 'próximamente' */
    margin-bottom: 15px; /* Separación antes de la lista */
}

/* COMENTADO: Esta regla apuntaba al segundo <p> (la descripción del plan) y aplicaba estilos incorrectos. Ahora el segundo <p> es un elemento diferente o ya no existe. */
/*
.info-card p:nth-of-type(2) {
    font-size: 14px;
    color: #149861;
    padding: 10px;
    margin: 0;
}
*/

.info-card ul{
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    width: 100%;
}

.info-card ul li {
    display: flex;
    flex-direction: row;
    padding: 10px 0px;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
    align-content: center;
    column-gap: 10px;
    font-size: 14px;
    font-family: "Poppins", sans-serif;
}

.info-card ul li img {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
}

.info-card button {
    display: flex;
    width: 90%;
    background-color: #149861;
    color: #eeeeee;
    justify-content: center;
}

.info-card button a {
    color: #eeeeee;
    font-size: 14px;
    font-weight: 500;
    font-weight: bold;
    
}

.titulo {
    max-width: 1200px;
    margin: 20px auto;
    text-align: center;
}

.titulo h3 {
    font-weight: 400;
    font-size: 40px;
    margin: 10px 0px;
}

.titulo p {
    font-size: 20px;
    font-weight: 400;
}

.contenedor-planes {
    max-width: 1300px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 20px;
    margin: 50px auto;
    

}

/* =========================
   section info
   ========================= */
/* Estilos generales de la sección */
.section-info {
    padding: 10px 15px;
    
}

.contenedor-info {
    max-width: 80%;
    margin: 10px auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
   
}

.info-texto {
    width: 50%; 
    
}

.info-texto h2 {
    font-size: 32px;
    line-height: 1.2;
    font-weight: 400;
}

.info-texto p {
    font-size: 18px;
    margin-top: 20px;
}

.info-texto ul {
    margin-top: 30px;
}

.info-texto ul li {
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.info-texto ul li img {
    width: 20px;
    height: 20px;
}
.info-texto .proximamente{
  background-color: #343a3d;
    padding: 6px 16px;
    border-radius: 5px;
    color: #ffffff;
    font-weight: 400;
    gap: 10px;
    display: inline-block;
    width: fit-content;
}
/* ---------------------------------
   Estilos del Carrusel de imágenes
   --------------------------------- */
.contenedor-info-card {
  width: 75%;
  position: relative;
  overflow: hidden;
  mask-image: linear-gradient(to right,
transparent 0%, black 10%, black 90%, transparent 100%);
    display: flex;
    justify-content: space-around;
    flex-direction: row;
    flex-wrap: wrap;
}

.carousel-track {
  display: flex;
  gap: 20px;
  animation: scrollCarousel 35s linear infinite;
  width: max-content;
}

.carousel-track img {
  width: 220px;
  height: auto;
  border-radius: 15px;
  object-fit: cover;
}

@keyframes scrollCarousel {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ===============================
   --- TESTIMONIOS ---
   =============================== */
.testimonios {
  font-family: 'Poppins', sans-serif;
  padding: 80px 0;
  background-color: #f9f9f9;
  overflow: hidden;
}

.testimonios h2 {
  font-size: 32px;
  font-weight: 500;
  color: #111;
  margin-bottom: 40px;
  max-width: 800px;
  text-align: center;
  padding: 5px;
 
}

.carousel-container {
   width: 80%;
    display: flex;
    justify-content: space-around;
     overflow: hidden; 
    position: relative;
    margin: 0 auto;
    flex-direction: row;
    flex-wrap: wrap;
     mask-image: linear-gradient(to right,
transparent 0%, black 5%, black 90%, transparent 100%);
}

/* Movimiento continuo */
.carousel-testimonio {
  display: flex;
  gap: 20px;
  animation: scrollCarousel 35s linear infinite;
  width: max-content;
  padding: 15px;
  
}

@keyframes scrollTestimonios {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Tarjetas de testimonio */
.texto-testimonio {
  background-color: #fff;
  border-radius: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  padding: 25px 20px;
  width: 280px;
  flex-shrink: 0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.texto-testimonio:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.texto-testimonio p {
  color: #2e7d32;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.6;
  text-align: left;
  margin-bottom: 20px;
}

.user {
  display: flex;
  align-items: center;
  gap: 10px;
}

.user img {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  object-fit: cover;
}

.user strong {
  font-weight: 600;
  color: #000;
  font-size: 0.95rem;
}

/* Pausar animación al hover */
.carousel-testimonio:hover {
  animation-play-state:paused;
}


/* =========================
   Nuestra APP
   ========================= */
.nuestra-app{
    background-color: #149861;
    text-align: center;
    padding: 25px 20px;
    margin: 50px auto;
}
.contenedor-app{
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex-wrap: wrap;
    align-content: center;
    margin: 20px auto;
}
.nuestra-app h2{
    color: white;
    font-size: 36px;
    font-weight:800;
    margin: 50px 0px;

}
.nuestra-app img{
    text-align: center;
    display: block;
    align-items: center;
    width: 100%;
}

.button-nuestra-app {
    text-align: center;
    margin: 20px auto;
}

.button-nuestra-app button{
    width: 400px;
    margin: 0px 50px;
    cursor: pointer;
}

.button-nuestra-app button a{
    font-size: 14px;
    font-weight:bold;
    display: block;
    width: 100%;    /* Ocupe todo el ancho del botón */
    height: 100%;
}
.button-nuestra-app button:nth-child(2){
    border: solid 1px rgb(255, 255, 255);
    color: #EEEEEE;
    background-color: #149861;
}
.button-nuestra-app button:nth-child(2) a{
    color: #EEEEEE;
    width: 100%;    /* Ocupe todo el ancho del botón */
    height: 100%;
}

/*section proximamente */

.proximamente{
    display: flex;
    justify-content: center;
}
.titulo-proxi span{
    background-color: #343a3d;
    padding: 6px 16px;
    border-radius: 5px;
    color: #ffffff;
    font-weight: 400;
    gap: 10px;
    display: inline-block;
    width: fit-content;
    
}
.contenedor-proxi{
    margin: 50px auto;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 70px;
    justify-content: center;
}
.proximamente .video {
    position: relative; /* ¡Esto es clave para el overlay! */
    /* ... otros estilos ... */
}

/* Opcional: Estilo para el ícono de Play inyectado por JS */
#play-overlay {
    /* Asegura que el ícono esté centrado y se vea bien */
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
    /* Puedes añadir aquí más estilos si el CSS inyectado arriba no es suficiente */
}
video{
    width: 740px;
    height: 360px;
    border-radius: 15px;
    overflow: hidden;
}
.video video{
    display: block;
    object-fit: cover;
}
.texto-proxi .titulo-proxi{
display: flex;
  flex-direction: column;
  gap: 20px;
}
.texto-proxi{
    width: 800px;

}

.texto-proxi h2 {
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
    font-size: 32px;
    line-height: 1.0; 
    letter-spacing: 0;
    letter-spacing: 0px; 
    line-height: 1.3;
    margin: 5px 0; 
}
.texto-proxi h2 strong{
    font-weight: 600;
    font-size: 32px;

}

.texto-proxi ul li{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: center;
    justify-content: flex-start;
    align-items: center;
    gap: 0px 10px;
    margin: 20px 0;
}
.texto-proxi ul li h3{
    color: #149861;
    font-size: 14px;
    font-weight: 600;
}
.texto-proxi ul li p{
    color: #343A3D;
    font-weight: 400;
    font-size: 14px;
}


/* section videos tutoriales*/
.tutoriales {
    padding: 0px 5px;
    background-color: #ffffff;
}

.contenedor-tuto {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 20px;
    text-align: center;
}

.tutoriales h1 {
    font-size: 32px;
    font-weight: 500;
    color: #000;
    margin-bottom: 40px;
    margin-top: 5px 0px;
}


.galeria-videos {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}


.tarjeta-video {
    flex: 1 1 calc(33.333% - 20px);
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden; 
    min-width: 280px; 
}


.enlace-video {
    text-decoration: none; 
    color: inherit;
    display: block;
}

/* Marco del video (el área negra 16:9) */
.marco-video {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background-color: #000;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}


.icono-youtube {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); 
    width: 70px; 
    height: 70px;
    
}

.overlay-mensaje {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.8);
  color: #fff;
  font-size: 18px;
  font-weight: 500;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.4s ease;
  border-radius: 10px;
}
.marco-video.mostrar-texto .overlay-mensaje {
  opacity: 1;
}

.marco-video.mostrar-texto .icono-youtube {
  opacity: 0.2;
}
.info-video {
    padding: 20px;
}

.info-video h3 {
    font-size: 18px;
    font-weight: 700;
    color: #000;
    margin-bottom: 10px;
}

.info-video p {
    font-size: 14px;
    color: #555;
    line-height: 1.4;
}
.contenedor-tuto button{
    text-align: center;
    background-color: rgb(255, 255, 255);
    border: solid #149861 1px;
    margin: 20px auto;
    max-width: 200px;

}


/* preguntas frecuentes*/


.faq-section {
    padding: 60px 0;
    background-color: #f7f7f7; 
}

.contenedor {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.faq-section h1 {
    font-size: 32px;
    font-weight: 500;
    color: #333;
    margin-bottom: 40px;
}

/* Contenedor del acordeón */
.acordeon {
    display: flex;
    flex-direction: column;
    gap: 10px; 
    background-color: #f9f9f9;;
}

/* Estilo de cada item del acordeón (la tarjeta blanca) */
.acordeon-item {
    background-color: #fff;
    border-radius: 8px;
    border: 1px solid #ddd; 
    transition: box-shadow 0.3s ease;
    overflow: hidden;
    
}

/* Estilo cuando el item está abierto (opcional, para resaltarlo) */
.acordeon-item.abierta {
    /* box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05); */
    border-color: #ddd; 
}

/* Encabezado de la pregunta (el botón clicable) */
.acordeon-header {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
    font-weight: 400;
    color: #333;
    border-radius: 8px; 
    box-sizing: border-box;
    margin: 0;
    
}

.acordeon-header:hover {
    background-color: #f5f5f5;
    border-radius: 0;
}

/* Texto de la pregunta */
.acordeon-header .pregunta {
    flex-grow: 1;
    color: #000;
}

/* Contenido de la respuesta */
.acordeon-contenido {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.acordeon-contenido p {
    font-family: "Poppins", sans-serif;
    padding-bottom: 15px;
    margin: 0;
    font-size: 16px;
    font-weight: 400;
    color: #555;
    line-height: 1.5;
}

/* Icono de la flecha (usando caracteres Unicode o Flexbox) */
.icono-flecha::before {
    content: '⌵'; /* Carácter Unicode de flecha hacia abajo/triángulo */
    font-size: 20px;
    line-height: 1;
    transition: transform 0.3s ease;
    display: block;
    color: #555;
}

/* Estado del icono cuando la tarjeta está abierta: rotar 180 grados */
.acordeon-item.abierta .icono-flecha::before {
    transform: rotate(180deg);
}

/* Estilo especial para el texto verde de la primera pregunta */
.acordeon-item.abierta .acordeon-header .pregunta {
    color: #4CAF50; /* Color verde */
    font-weight: 500;
}
.pregunta {
    font-family: "Poppins", sans-serif;
    font-weight: 500;
    font-size: 18px;
}

 /* Mostrar menú cuando esté activo */
.nav-links.active {
    display: block;
}
 /* FOOTER*/
footer{
    background-color: #149861;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
    padding: 30px 5px;
}
.botones-footer img{
    width: 200px;
}
.botones-footer span{
    color: #EEEEEE;
}
.botones-footer{
    display: flex;
    padding: 30px;
    gap: 20px;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}
footer .logos img{
    width: 40px;
}
.modal-plataforma {
    display: none; /* Oculto por defecto */
    position: fixed; /* Fijo en la pantalla */
    z-index: 10000; /* Asegura que esté por encima de todo */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.7); /* Fondo oscuro semitransparente */
    backdrop-filter: blur(5px); /* Efecto de desenfoque opcional */
    -webkit-backdrop-filter: blur(5px);
}

/* Contenido del Modal: La caja blanca/gris que se ve */
.modal-contenido {
    background-color: #fefefe;
    margin: 15% auto; /* Centrado vertical y horizontalmente */
    padding: 30px;
    border: 1px solid #888;
    width: 80%; /* Ancho en escritorio */
    max-width: 450px; /* Ancho máximo */
    border-radius: 12px;
    position: relative;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.modal-contenido h3 {
    margin-top: 15px;
    color: #149861; /* Color verde de La Redonda */
    font-size: 24px;
}

.modal-contenido p {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 20px;
}

/* Botón de cerrar (la 'x') */
.cerrar-modal {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    top: 10px;
    right: 15px;
}

.cerrar-modal:hover,
.cerrar-modal:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

/* Estilos para los botones de Instagram y WhatsApp */
.modal-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.modal-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s;
}

.modal-btn img {
    margin-right: 10px;
}

.instagram-btn {
    background-color: #8b8b8b; /* Color de Instagram */
    color: white;
}

.whatsapp-btn {
    background-color: #149861; /* Color de WhatsApp */
    color: white;
}

.modal-btn:hover {
    opacity: 0.9;
}

.nota {
    font-size: 14px;
    color: #666;
    margin-top: 10px;
}

/* =========================
   RESPONSIVE
   ========================= */
@media (max-width: 1280px) {
    .call-to-action {
        flex-direction: row;
        text-align: left;
        justify-content: space-between;
    }

    .cta-content {
        margin-right: 50px;
        margin-bottom: 0;
    }

    .cta-image-container {
        max-width: 45%;
    }
    .contenedor-info-card {
        width: 50%; 
        position: relative;
        overflow: hidden; 
        /* Crea el efecto de difuminado en los bordes */
        mask-image: linear-gradient(to right, 
            transparent 0%, 
            black 10%, 
            black 90%, 
            transparent 100%
        );
    }

} 

/* ======== Mobile Styles ======== */
/* ======== Desktop default ======== */
.menu-toggle {
    display: none; /* oculto en PC */
}

/* ======== Mobile Styles ======== */
@media (max-width: 767px) {
    header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 15px;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        right: 15px;
        background: #fff;
        border: 1px solid #ddd;
        border-radius: 8px;
        width: 180px;
        box-shadow: 0px 4px 10px rgba(0,0,0,0.1);
        z-index: 999;
    }

    .nav-links ul {
        display: flex;
        flex-direction: column;
        margin: 0;
        padding: 10px 0;
    }

    .nav-links ul li {
        text-align: center;
        margin: 10px 0;
    }

    .menu-toggle {
        font-size: 28px;
        cursor: pointer;
        display: block; /* solo en mobile */
    }

    /* Hero sin degradado */
    .hero-section {
        background: none !important;
        padding: 20px 10px;
        flex-direction: column;
    }

    /* Imágenes más chicas */
    .phone-images {
        gap: 20px;
        justify-content: center;
    }
    .phone-images img {
        height: auto;
        max-width: 350px;
    }
    .phone-img-1, .phone-img-3{
        display: none;
    }
    .phone-img-2 {
        max-width: 150px;
        mask-image: none;
        -webkit-mask-image: none;

    }
    .text-overlays{
        display: none;
    }
    .hero-section::after {
        
        background: none;
    
    }

    .easy-client {
        top: 90px;
        right: 50px;
        transform: rotate(5deg);
    }


    /* Ajuste textos hero */
    .titulo-hero h1 {
        font-size: 22px;
        line-height: 1.3;
        text-align: center;
    }

    .parrafo-button {
        flex-direction: column;
        text-align: center;
        padding: 0 15px;
        gap: 15px;
    }

    .button {
        display: flex;
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }

    /* Payment section responsive */

  /* --- Mantener visible el título y texto --- */
 
.payment-section {
        flex-direction: column; /* Apila el intro y el stack de tarjetas */
        align-items: center; /* Centra los elementos hijos (payment-intro y card-stack-container) */
        width: 100%; /* Asegura que ocupe todo el ancho para un mejor centrado */
        padding: 10px 0; /* Ajusta el padding si es necesario */
    }

    /* --- Mantener visible el título y texto --- */
    .payment-intro {
        position: static; /* Quita el sticky en móvil, si prefieres que se desplace */
        /* Si quieres mantenerlo sticky, asegúrate de que no cause problemas con el scroll y el centrado */
        top: unset; 
        z-index: 10;
        background: #fff;
        padding: 40px 20px 30px; /* Ajusta el padding para que no sea solo top/bottom */
        text-align: center;
        width: 90%; /* Ajusta el ancho para que no sea muy estrecho */
        margin: 10px auto; /* Añade un margen inferior para separarlo de las tarjetas */
    }

    .payment-intro h2 {
        font-size: 1.5rem;
        margin-bottom: 10px;
        transition: all 0.5s ease;
    }

    .payment-intro p {
        font-size: 1rem;
        color: #555;
        transition: all 0.5s ease;
    }

    /* --- Contenedor de las cards --- */
    .card-stack-container {
        position: relative; /* Sobrescribe el sticky si estaba */
        height: auto !important; /* Mantiene tu anulación de altura */
        display: flex;
        flex-direction: column;
        gap: 40px;
        align-items: center; /* Centra horizontalmente las .card (si tienen un ancho menor al contenedor) */
        justify-content: flex-start; /* Alinea al inicio verticalmente (o center si quieres espacio equitativo) */
        padding-bottom: 60px;
        width: 90%; /* Dale un ancho explícito para que ocupe espacio y pueda centrarse */
        margin: 0 auto; /* Importante para centrar el card-stack-container dentro de .payment-section */
    }

    .card {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
        position: relative;
        top: unset;
        width: 100%; /* Asegura que la tarjeta ocupe el 100% del card-stack-container */
        max-width: 400px;
    }


    /* Planes responsive */
    .contenedor-planes {
        flex-direction: column;
        align-items: center;
    }
    .card-planes {
        width: 90%;
    }

    /* Section info */
    .contenedor-info {
        flex-direction: column;
        gap: 30px;
        flex-direction: column;
        gap: 30px;
        padding: 0;
        margin: 0 auto;
        max-width: 100%;
    }
    
    .contenedor-info-card, .info-texto{
        width: 100%;
    }
    .contenedor-proxi {
        display: flex;
        flex-direction: column-reverse;
        gap: 30px; 
    }

    /* HACER EL VIDEO 100% RESPONSIVE */
    video {
        /* Elimina los anchos fijos que causan desbordamiento */
        width: 100% !important; 
        height: auto !important; 
        max-width: 100%;
        padding: 10px;
    }

    .texto-proxi {
        width: 100%; /* Ocupa todo el ancho del contenedor padre */
        padding: 0 15px; /* Agregar padding para que el texto no toque el borde */
    }
    .button-nuestra-app {
        width: 100%; /* Asegura que el contenedor de los botones se ajuste */
    }
    
    .button-nuestra-app button {
        /* Haz que los botones ocupen casi todo el ancho, pero sin desbordar */
        width: 90% !important; 
        margin: 10px auto !important; /* Centrar y separar verticalmente */
    }

    /* Además, haz que el contenedor principal de la app se ajuste */
    .contenedor-app {
        width: 100%;
        padding: 0 10px;
    }
    .galeria-videos {
        flex-direction: column; /* Apila las tarjetas */
        gap: 20px;
    }
    
    .tarjeta-video {
        /* Ocupa todo el ancho disponible para evitar el desbordamiento */
        flex: 1 1 100% !important; 
        min-width: unset; /* Anular el min-width */
    }
.botones-footer{
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}
footer{
    display: flex;
    flex-direction: column;
    align-items: center;
    align-content: center;
    flex-wrap: wrap;
}
}