/* Botón "Ver más" en Preguntas Frecuentes */
.boton_vermas {
    background-color: #2563eb;
    color: #ffffff;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    display: block;
    margin: 20px auto 0; /* centrado horizontal */
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.boton_vermas a {
    color: #ffffff;
    text-decoration: none;
    display: block;
}

.boton_vermas:hover {
    background-color: #1d4ed8;
}
.wave-container {
    width: 100vw;
    height: 800px;
    overflow: hidden;
    position: absolute;
    top: -300px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 0;
}


.dynamic-wave {
    width: 200%; 
    height: 100%;

    color: #F17D10; 
    animation: wave-motion 12s linear infinite;
    position: absolute;
    top: 50%;
    left: 0;

}

@keyframes wave-motion {
    0% {
        transform: translate3d(0, -50%, 0);
    }
    100% {
        /* Mueve exactamente el ancho de la onda tileable (100% del SVG duplicado) */
        transform: translate3d(-50%, -50%, 0);
    }
}
.wave-container, .dynamic-wave {
    pointer-events: none;
}


@import url('https://fonts.googleapis.com/css2?family=SUSE:ital,wght@0,100..900;1,100..900&display=swap');
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html, body { overflow-x: hidden; }

@import url('https://fonts.googleapis.com/css2?family=SUSE+Mono:ital,wght@0,100..800;1,100..800&family=SUSE:ital,wght@0,100..900;1,100..900&display=swap');



/* ============================================== */
/* CLASES UTILITARIAS COMUNES */
/* ============================================== */

.flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

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

.flex-column {
    display: flex;
    flex-direction: column;
}

/* Contenedores con max-width centralizados */
.container-centered {
    max-width: 1200px;
    margin: 0 auto;
}

.container-small {
    max-width: 850px;
    margin: 0 auto;
    text-align: center;
}

/* Background común (beige) */
.bg-beige {
    background-color: rgb(248, 240, 230);
}

/* Border radius común */
.rounded-sm {
    border-radius: 10px;
}

.rounded-lg {
    border-radius: 20px;
}

/* Espaciado de secciones */
.section-spacing {
    margin-top: 150px;
}

/* Padding común */
.padding-standard {
    padding: 40px;
}

.padding-section {
    padding: 2rem;
}

/* Sombras comunes */
.shadow-light {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.shadow-medium {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Transiciones comunes */
.transition-smooth {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Dimensiones de imagen responsive */
.img-responsive {
    width: 100%;
    height: auto;
}

/* Botón que se ve como imagen */
.boton-imagen {
    background: none;
    border: none;
    padding: 0;
    margin: 0;

    cursor: pointer;
    outline: none;
    display: inline-block;
}

.boton-imagen:focus {
    outline: none;
}

.boton-imagen:hover {
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.header, .nav-p{
    position: relative;
}

.nav-p{
    height: 70px;
    background-color: white;
    box-shadow: 0 5px 5px rgba(0, 0, 0, 0.1);
    padding: 2px 20px;
    max-width: 1100px;
    border-radius: 0px 0px 12px 12px;
}
.logo{
    height: 100%;
}
.logo img{
    margin: 0px 10px 0px 50px;    
    width: auto;
    padding-top: 2px;
    height: 35px;
    object-fit: contain;
}

.nav-container{
    display: flex;
    gap: 15px;
    background-color: white;
}

.nav1{
    background-color: white;
    margin: 5px 10px;
    display: flex;
    gap: 10px;
    align-items: center;
}
   
.nav2{
    margin: 13px 50px;
    display: flex; 
    gap: 10px;
    border-radius: 10px;
}


.nav1 a{
    background: none;
    text-decoration: none;
    color: #333;
    padding: 8px 16px;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.nav2 a{
    background: none;
    text-decoration: none;
    color: #f0f0f0;
    padding: 8px 16px;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.nav1 a:hover{
    background-color: rgba(37, 99, 235, 0.1);
    color: #2563eb;
}

.nav2 a:hover{
    color:#6b7a98;
    
}

/* Estado activo para el enlace de la página actual */
.nav1 a.pagina_actual {
    background-color: rgba(37, 99, 235, 0.2);
    color: #2563eb;
    font-weight: 600;
}

.nav2 a.pagina_actual {
    background-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    font-weight: 600;
}

/*hamburguesaaaa*/

.hamburguesa{
    position: fixed;
    display: none;
    background: none;
    border: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    margin-left: 18px;
}
.hamburguesa span {
    display: block;
    width: 28px;
    height: 4px;
    background: #2563eb;
    border-radius: 2px;
    transition: 0.3s;

}

@media (max-width: 850px) {
  main {
    padding-top: 80px;
  }
  
.nav-p {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 62px;
    z-index: 30;
    background: white;
    box-shadow: 0 4px 18px rgba(0,0,0,0.1);
    border-radius: 0 0 12px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-right: 60px;
    max-width: 100vw;
  }

  .nav-container {
    position: fixed;
    top: 62px; 
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 4px 18px rgba(0,0,0,0.12);
    z-index: 2;
    flex-direction: column;
    align-items: flex-start;
    display: none;
    width: 100%;
    border-radius: 0 0 14px 14px;
    padding-bottom: 20px;
    gap: 0;
    padding-top: 26px;
}

  .nav-container.open {
     display: flex;
    animation: fadeDown 0.25s;
  }
  
.hamburguesa {
   display: flex;
    position: absolute;
    right: 18px;
    top: 14px;
    z-index: 2;
    background: white;
    border-radius: 8px;
    padding: 6px;
  }

@keyframes fadeDown {
    0% { opacity: 0; transform: translateY(-12px);}
    100% { opacity: 1; transform: translateY(0);}
  }

.nav1, .nav2 {
    flex-direction: column;
    width: 100%;
    margin: 0;
    gap: 8px;
    background: none;
  }
  .nav1 a, .nav2 a {
    padding: 10px 20px;
    text-align: left;
    font-size: 1.3em;
    color: #2563eb;
    background: none;
    text-decoration: none;
    width: 100%;
    display: block;
  }
  .nav1 a:hover, .nav2 a:hover {
    background: #F3F7FF;
    color: #eb25cd;
  }
  
  /* Estado activo en móviles */
  .nav1 a.pagina_actual, .nav2 a.pagina_actual {
    background: #E3F2FD;
    color: #1976D2;
    font-weight: 600;
  }
  
  
}
body {
    font-family: "SUSE", sans-serif;
    line-height: 1.6;
    background-color: #f4f4f4;
}


/* Contenedor principal */
main {
    padding: 20px;
}

/* Sección hero */
.Seccion_principal {
    text-align: center;
    padding: 0;
    
}

.Contenedor_fondo_naranja{
  /* Mantenemos el color y un alto suficiente */
    background-color: rgb(248, 240, 230);
    width: 100%;
    /* Define una altura inicial o usa min-height */
    min-height: 50vh; 

    
    /* Opcional: Si quieres un efecto más sutil */
    clip-path: ellipse(70% 85% at 50% 0%); 

}

.Boton_SerParte {
    width: 233px;
    height: 44px;
    margin: 0 auto 50px 10px;                 
    cursor: pointer;               
}

/* Título principal */
.Titulo_Principal {
    font-size: 1.5rem;

    position: relative;
    z-index: 2;
    padding-top: 20px;

}

.Subtitulo_Principal{
    font-size: 2.2rem;
    margin-bottom: 10px;
}

/* Galería de fotos */
.Galeria {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 30px;
    position: relative; 
    gap: 80px;
    
}

.Contenedor_Fotos {
    flex: 1;
    background-color: white;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.Contenedores_flotantes_2 {
    margin-top: -110px;
    z-index: 1;
    width: 500px;
    height: 450px;
    min-width: 0;
    max-width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    box-shadow: none;
    border-radius: 12px;
    overflow: hidden;
}
.Contenedores_flotantes_2 img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
    display: block;
}

.Imagen_principal_1{
    width: 100%;
    height: 700px; 
    display: block;
    position: absolute;
    top: -30px; 
    left: 0;
}

.Contenedor_Foto_Principal{
    width: 500px; 
    height: 400px; 
    
    overflow: hidden; 
    border-radius: 30px; 
    
    position: absolute;
    top: -30px; 
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}
.Contenedor_problema_solucion{
    margin: 200px auto;
}

.Icono_advertencia{
    margin: 10px;
    
}

.parrafo_problema{
    margin-bottom: 20px;
}

.titulo_problema_solucion{
    color: #0066FF;
}

.titulo_beneficios{
    text-align: center; 
    font-size: 2em;
    max-width: 800px;
    margin: 0 auto 50px; 
    line-height: 1.2;

}

.grid_beneficios{
    display: grid;
    grid-template-columns: repeat(3, 1fr); 
    gap: 30px;
    padding: 0 20px;
}

.caja_beneficios{
    padding: 25px 20px;
    text-align: left;
    height: 280px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.caja_beneficios_naranja{
    background-color: rgb(255, 98, 0);

}

.iconos_beneficios{
    align-items: flex-start;
}

.titulos_beneficios{
    color: rgb(255, 136, 0);
}

.icono_Circulo_Naranja{
    width: 80px;
    height: 80px;
    margin-bottom: 10px;
    margin: 8px;
}

.caja_beneficios_SUUAM{
    color: white;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.titulo_caja_beneficios_SUUAM{
    font-size: 1.05em;
    margin-bottom: 8px;
}

.icono_Circulo_blanco{
    width: 90px;
    height: 90px;
    margin-bottom: 10px;
}

/*Apartado de instrucciones */

.Seccion_Instrucciones{
    margin-top: 150px;
}

.titulo_instrucciones{
    font-size: 2em;
    margin: 0;
  
}

.instrucciones{
    flex: 1;
    padding-right: 2rem;
  
}

.imagen_instrucciones{
    width: 100%; 
    height: auto;

   
}

.contenedor_imagen_instrucciones{

    display: flex;
    align-items: center;
    overflow: hidden; 
    min-height: 450px; 
    
    
    margin-left: auto;
    max-width: 600px; 
}

.items_instrucciones{
    margin-bottom: 20px;

}

.lista_instrucciones{
    margin-top: 20px;
    margin-left: 0;
    padding-left: 0;
    list-style-position: inside;
}
.verMas{
    text-decoration: none;
}

.botones_redireccion_instrucciones{
    display: flex; 
    gap: 15px;
    margin-top: 40px;
}

.icono_google_play{
    max-width: 150px; 
    height: auto; 
    width: 150px;
}

.icono_app_store{
    max-width: 138px; 
    height: auto; 
    width: 100%;
}

.botones_redireccion_instrucciones a{
    flex-shrink: 1;

}

/*Seccion sumate a SUUAM*/

.Seccion_sumate{
    margin-top: 150px;
    position: relative;
    display: flex; 
    justify-content: center; 
    align-items: center;     
   
    min-height: 550px; 
}

.Contenedor_imagen_curva{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.Contenedor_imagen_curva img {
    width: 100%;
    height: 85%;
    object-fit: cover; 
}

.Contenido_sumate_suuam{
    position: relative;
    z-index: 2;
    width: 100%;
}

.Contenido_sumate_suuam img{
    margin-top: 25px;
}

/*Seccion de servicios y beneficios que ofrecemos*/


.Seccion_servicios_beneficios{
    gap: 2rem;
    margin-top: 150px;
}

.titulo_servicios_beneficios{
    margin-bottom: 20px;
}
.lista_servicios{
    list-style: inside;
}

.Imagen_servicios_beneficios{
    width: 100%; 
    height: auto;

}
.Contenedor_imagen_servicios_beneficios{
    
    display: flex;
    align-items: center;
    overflow: hidden; 
    min-height: 400px; 
    max-width: 550px; 
}
.Contenedor_servicios_beneficios{
    flex: 1;
}

/*Seccion de recompensas*/

.Contenedor_imagen_recompensa{
        
display: flex; 
    align-items: center;
    overflow: hidden; 
    min-height: 400px; 
    max-width: 550px; 
    position: relative; 
    flex-basis: 50%; 
    flex-shrink: 0;
}

.Contenedor_informacion_recompensas{
    flex: 1;
    padding: 40px 60px; 
    display: flex; 
    flex-direction: column;
    justify-content: center;
}

.Seccion_recompensas{
    display: flex;
    background-color: #e7e5e5;
    border-radius: 15px; 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    max-width: 1100px; 
    margin: 40px auto;
    overflow: hidden;
    margin-top: 150px;
}

.imagen_recompensa{
    width: 100%;
    height: 100%;
    object-fit: cover;
    
}
.Lista_recompensas{
    list-style: inside;
    margin-bottom: 20px;
}

.subtitulo_recompensa{
    margin-bottom: 10px;
}

/*Seccion de formulario*/

.Seccion_formulario{
    margin-top: 150px;
    background-color: #0066FF;
    color: white;
    padding: 60px 20px;
    display: flex;
    justify-content: center; 
    min-height: 100vh; 
    align-items: center;

}

.Contenedor_formulario{
    max-width: 800px; 
    width: 100%;
    padding: 20px;
    text-align: center;
}

.Titulo_formulario{
    padding-top: 30px;
    padding-bottom: 10px;
}

.Subtitulo_formulario{
    padding-bottom: 40px;
}

.grupo-campos {
    display: grid;
    gap: 20px; 
    margin-bottom: 20px;
}

.dos_columnas {
    grid-template-columns: 1fr 1fr;
}

.tres_columnas {
    grid-template-columns: 1fr 1fr 1fr;
}

input, select {
    background-color: white;
    border: none;
    border-radius: 5px;
    padding: 15px 20px;
    font-size: 1rem;
    color: gray;
}

.Contenedor_boton_siguiente{
    display: flex;
    justify-content: flex-end;
}

.boton_siguiente{
    cursor: pointer;
}

/*Seccion Preguntas frecuentas*/

.boton_vermas{
    background-color:#3498db ;
}
.Seccion_Preguntas{
    padding: 60px 20px;
    
    max-width: 850px;
    margin: 80px auto;
    text-align: center;

}

.titulo_preguntasFAQ{
    margin-bottom: 20px;
}
.Contenedor_preguntas{
    text-align: left;
}

.pregunta_FAQ summary {
    font-size: 1.1em;
    font-weight: 500;
    color: #333;
    cursor: pointer;
    padding: 15px 0;
    list-style: none; 
}
.pregunta_FAQ summary:before {
    float: right;
    font-size: 1.5em;
    font-weight: 300;
    color: gray; 
    margin-left: 10px;
    content: "+"; 
    transition: transform 0.3s ease; 
}

.respuesta_FAQ{
    color: gray;
}
.pregunta_FAQ.is_open .respuesta_FAQ {
    max-height: 500px; 
    transition: max-height 0.3s ease-in;
}

.pregunta_FAQ.is_open summary:before {
    content: "-";
}

.separador_FAQ{
    margin-top: 10px;
}

/*Footer*/
.Pie_Pagina {
    background-color: #2c3e50; /* Azul oscuro */
    color: white;
    padding: 60px 0 0 0;
    margin-top: 80px;
}



/* --- Estilos de Enlaces (Recursos, Enlaces Rápidos, Contacto) --- */

.Enlaces_Pie_Pagina {
    list-style: none;
    padding: 0;
    /* 🔑 CLAVE 3: Elimina cualquier margen superior por defecto que el <ul>
     * pudiera tener y que desalinee el contenido después del <h4>.
     */
    margin-top: 0; 
}

.Enlaces_Pie_Pagina li {
    margin-bottom: 10px;
}

.Enlaces_Pie_Pagina a {
    color: rgb(142, 142, 142);
    text-decoration: none;
    transition: color 0.3s ease;
}

.Enlaces_Pie_Pagina a:hover {
    color: #3498db;
}

/* === Nuevo Footer === */
.Footer {
    display: grid;
    gap: 32px;
    padding: 0 20px 40px 20px;
}

.Footer_Header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.Footer_Logo {
    width: 150px;
    height: 150px;
}

.Footer_Description {
    color: rgb(142, 142, 142);
    line-height: 1.6;
    max-width: 520px;
}

.Footer_Social {
    display: flex;
    gap: 12px;
    margin-top: 10px;
}

.Social_Link {
    color: #bdc3c7;
    text-decoration: none;
}

.Social_Icon {
    width: 28px;
    height: 28px;
}

.Footer_Columns {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    align-items: start;
}

.Footer_Column {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.Pie_Pagina_Inferior {
    background-color: #1a252f;
    padding: 20px 0;
    border-top: 1px solid #34495e;
}

.Pie_Pagina_Inferior .container-centered {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    padding: 0 20px;
}

.Enlaces_Legales {
    display: flex;
    gap: 20px;
}

.Enlace_Legal {
    color: #bdc3c7;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.Enlace_Legal:hover {
    color: #3498db;
}

.btn-cuenta {
    background: transparent;
    border: 2px solid #007bff;
    color: #007bff;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: "SUSE", sans-serif;
    font-weight: 500;
}

.btn-cuenta:hover {
    background: #007bff;
    color: white;
}

.btn-cuenta.logged-in {
    border-color: #28a745;
    color: #28a745;
}

.btn-cuenta.logged-in:hover {
    background: #28a745;
    color: white;
}


/* Estilos para el Dialog Modal de Login */
.login-dialog {
    border: none;
    border-radius: 12px;
    padding: 0;
    max-width: 400px;
    width: 90%;
    margin:auto;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.login-dialog::backdrop {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(3px);
}

.dialog-content {
    padding: 2rem;
    position: relative;
}

.close-dialog {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: transparent;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: #999;
    line-height: 1;
    transition: color 0.3s ease;
}

.close-dialog:hover {
    color: #333;
}

.dialog-content h2 {
    margin-bottom: 1.5rem;
    color: #333;
    font-size: 1.75rem;
    text-align: center;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #555;
    font-weight: 500;
    text-align: left;
}

.form-group input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    font-family: "SUSE", sans-serif;
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #007bff;
}

.error-message {
    color: #dc3545;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    text-align: center;
    min-height: 20px;
}


.btn-login {
    width: 100%;
    padding: 0.875rem;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
    font-family: "SUSE", sans-serif;
}

.btn-login:hover {
    background: #0056b3;
}

.btn-login:disabled {
    background: #6c757d;
    cursor: not-allowed;
}


/* ============================================== */
/* MEDIA QUERIES RESPONSIVE */
/* ============================================== */

/* ============================================== */
/* NETBOOKS Y LAPTOPS (1200px - 1600px) */
/* ============================================== */
@media (min-width: 1200px) and (max-width: 1600px) {
    h2 {
        font-family: "SUSE", sans-serif;
        font-weight: 400;
    }
    
    main {
        max-width: 1200px;
    }
    
    .Titulo_Principal {
        font-size: 1rem;
        
    }
    .Subtitulo_Principal{
        font-size: 2.5rem;
      

    }
    
    .Galeria {
        min-height: 380px;
    }
    
    .Contenedor_Foto_Principal {

        width: 480px;
        height: 560px;
    }
    
    .Contenedor_Fotos {
        max-width: 190px;
        height: 240px;
    }
    
    .Contenedores_flotantes_1 {
        margin-left: 50px;
        margin-right: 50px;
    }
    
    .Contenedor_problema_solucion {
        margin: 120px auto;
    }
    
    .Linea_Curva_Fondo_1, .Linea_Curva_Fondo_2 {
        width: 1500px;
        top: -100px;
    }

    
    .grid_beneficios {
        max-width: 1200px;
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }

    /* Footer: 4 columnas en 1200-1600px */
    .Contenido_Pie_Pagina {
        grid-template-columns: repeat(4, 1fr);
    }
    .Contenedor_imagen_curva{
        width: 100%;
        height: 130%;
    }
    .Contenido_sumate_suuam{
        margin-top: 150px;
    }
}

/* ============================================== */
/* PANTALLAS MUY GRANDES - DESKTOP (1601px y mayor) */
/* ============================================== */
@media (min-width: 1601px) {
    h2 {
        font-family: "SUSE", sans-serif;
        font-weight: 400;
    }
    
    main {
        max-width: 1400px;
    }
    
    .Titulo_Principal {
        font-size: 1.8rem;
    }
    
    .Galeria {
        min-height: 450px;
    }
    
    .Contenedor_Foto_Principal {
        width: 500px;
        height: 550px;
    }
    
    .grid_beneficios {
        max-width: 1400px;
        grid-template-columns: repeat(3, 1fr);
    }
    

    .Contenedor_problema_solucion {
        margin: 150px auto;
    }
    
    .Linea_Curva_Fondo_1, .Linea_Curva_Fondo_2 {
        width: 850px;
    }
    .Linea_Curva_Fondo_1{
        left: -230px;
    }

    .Linea_Curva_Fondo_2{
        right: -170px;
    }
    .Contenedor_imagen_curva img{
        width: 100%;
        height: 100%;
        
    }
    .Contenido_sumate_suuam{
        margin-top: 100px;
        max-width: 1100px;
        font-size: 1.2rem;
    }

    .Contenido_sumate_suuam img{
        width: 700;
    }
    

    .Contenedor_imagen_curva{
        height: 110%;
    }

    /* Footer: 4 columnas en 1601px+ */
    .Contenido_Pie_Pagina {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ============================================== */
/* NETBOOKS (1024px) */
/* ============================================== */
@media (min-width: 1024px) and (max-width: 1199px) {
    h2 {
        font-family: "SUSE", sans-serif;
        font-weight: 400;
    }
    
    main {
        max-width: 1000px;
    }
    
    .Titulo_Principal {
        font-size: 1.3rem;
    }
    
    .Galeria {
        min-height: 370px;
    }
    
    .Contenedor_Foto_Principal {
        width: 460px;
        height: 430px;
    }
    
    .Contenedor_Fotos {
        max-width: 175px;
        min-width: 175px;
        height: 220px;
    }
    
    .Contenedores_flotantes_1 {
        margin-left: 40px;
        margin-right: 40px;
    }
    
    .Linea_Curva_Fondo_1, .Linea_Curva_Fondo_2 {
        width: 400px;
    }
    
    .Linea_Curva_Fondo_2 {
        left: 255px;
        top: -50px;
        z-index: 1;
    }
    
    .Linea_Curva_Fondo_1{
        left: -150px;
    }
    .grid_beneficios {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
        max-width: 950px;
    }
    
    .caja_beneficios {
        height: 260px;
    }
    
    
    .Contenedor_problema_solucion {
        margin: 120px auto;
    }
}

/* ============================================== */
/* LAPTOPS Y TABLETS GRANDES (992px - 1199px) */
/* ============================================== */
@media (max-width: 1199px) and (min-width: 992px) {
    h2 {
        font-family: "SUSE", sans-serif;
        font-weight: 400;
    }
    
    .Titulo_Principal {
        font-size: 1.2rem;
    }
    
    .Galeria {
        min-height: 400px;
        gap: 120px;
    }
    
    .Contenedor_Foto_Principal {
        width: 475px;
        height: 450px;
    }
    
    .Contenedor_Fotos {
        max-width: 160px;
        min-width: 160px;
        height: 200px;
    }

    .Contenedor_problema_solucion {
        margin: 100px auto;
    }

    .Contenedores_flotantes_2{
        height: 400px;
        width: 400px;
    }
    
    .grid_beneficios {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }
    
    .Contenedor_fondo_naranja { border-radius: 0% 0% 55% 55%; }
    .Linea_Curva_Fondo_1{
        left: -100px;

    }
    .Linea_Curva_Fondo_2{
        margin-top: 10px;
        margin-left: 190px;
    }
    .Linea_Curva_Fondo_1, .Linea_Curva_Fondo_2{
        width: 620px;
    }
    .caja_beneficios{
        height: 280px;
    }
}

/* ============================================== */
/* TABLETS (768px - 991px) */
/* ============================================== */
@media (max-width: 991px) and (min-width: 768px) {
    h2 {
        font-family: "SUSE", sans-serif;
        font-weight: 400;
    }
    
    main {
        padding: 15px;
    }
    
    .Titulo_Principal {
        font-size: 0.8rem;
        margin-top: 60px;
    }
    
    .Galeria {
        min-height: 350px;
        gap: 220px;
        
    }
    
    .Contenedor_Foto_Principal {
        width: 420px;
        height: 380px;
        margin-top: 25px;
    }
    
    .Contenedores_flotantes_2{
        width: 200px;
       
    }
    .Contenedor_problema_solucion {
        margin: 80px auto;
    }
    
    .Linea_Curva_Fondo_1, .Linea_Curva_Fondo_2 {
        width: 450px;
    }

    .Linea_Curva_Fondo_2{
        top: 1px;
    }
    .Linea_Curva_Fondo_1{
        top: 1px;
    }
    
    /* Grid de beneficios */
    .grid_beneficios {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .caja_beneficios{
        height: 280px;
    }

    .titulo_beneficios{
        font-size: 1.8rem;
    }
    
    .Contenedor_problema_solucion {
        margin: 80px auto;
    }
    
    /* Sección instrucciones */
    .Seccion_Instrucciones {
        flex-direction: row;
        text-align: left;
    }
    
    .instrucciones {
        padding-right: 0;
        margin-bottom: 30px;
    }
    
    .contenedor_imagen_instrucciones {
        max-width: 300px;
        margin: 0 auto;
    }
    
    /* Sección servicios y beneficios */
    .Seccion_servicios_beneficios {
        flex-direction: row;
        gap: 30px;
    }

    .Contenedor_imagen_servicios_beneficios{
        width: 300px;
    }
    .Contenedor_imagen_curva img{
        width: 100%;
    }
    
    /* Sumate SUUAM */
    .Seccion_sumate {
        min-height: 400px;
    }
    
    .Contenido_sumate_suuam {
        max-width: 650px;
        padding: 25px 20px;
        margin: 0 auto;
    }
    
    .Contenido_sumate_suuam h1 {
        font-size: 1.3rem;
        margin-bottom: 15px;
    }
    
    .Contenido_sumate_suuam img {
        width: 160px;
        margin-top: 15px;
    }
    
    /* Sección recompensas */
    .Seccion_recompensas {
        flex-direction: row;
    }
    
    .Contenedor_imagen_recompensa {
        max-width: 100%;
        min-height: 300px;
    }

    /* Formulario */
    .Seccion_formulario {
        margin-top: 100px;
        padding: 50px 15px;
        min-height: 80vh;
    }
    
    .Contenedor_formulario {
        max-width: 700px;
        padding: 30px 20px;
    }
    
    .Titulo_formulario {
        font-size: 1.8rem;
        padding-top: 20px;
        padding-bottom: 8px;
    }
    
    .Subtitulo_formulario {
        font-size: 1rem;
        padding-bottom: 30px;
    }
    
    .grupo-campos {
        gap: 12px;
        margin-bottom: 18px;
    }
    
    .grupo-campos.dos_columnas {
        grid-template-columns: 1fr 1fr;
    }
    
    .grupo-campos.tres_columnas {
        grid-template-columns: 1fr 1fr 0.8fr;
    }
    
    input, select {
        padding: 10px 12px;
        font-size: 0.95rem;
        min-width: 0;
    }
    
    .Contenedor_boton_siguiente {
        margin-top: 25px;
    }
    
    .boton_siguiente {
        padding: 12px 24px;
        font-size: 0.95rem;
    }
    
    .Contenedor_fondo_naranja { border-radius: 0% 0% 100% 100%; }

}

/* ============================================== */
/* MÓVILES GRANDES (576px - 767px) */
/* ============================================== */
@media (max-width: 767px) and (min-width: 576px) {
    h2 {
        font-family: "SUSE", sans-serif;
        font-weight: 400;
    }
    
    main {
        padding: 10px;
    }
    
    .Titulo_Principal {
        font-size: 0.8rem;
    }
    
    .Boton_SerParte {
        width: 200px;
        height: 42px;
    }
    
    .Galeria {
        min-height: 300px;
        gap: 5px;
    }
    
    .Contenedor_Foto_Principal {
        width: 420px;
        height: 490px;
    }
    
    .Contenedores_flotantes_2 {
        display: none;
    }
    
    .Linea_Curva_Fondo_1, .Linea_Curva_Fondo_2 {
        width: 350px;
    }
    
    .Linea_Curva_Fondo_1 {
        left: -80px;
    }
    
    .Linea_Curva_Fondo_2 {
        right: -30px;
        top: 1px;
    }
    
    /* Grid de beneficios */
    .grid_beneficios {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
        padding: 0 15px;
    }
    .caja_beneficios{
        height: 310px;
    }
    
    .Contenedor_problema_solucion {
        margin: 60px 15px;
    }
 
    .titulo_beneficios {
        font-size: 1.6rem;
    }
    
    .Contenedor_problema_solucion {
        margin: 60px 15px;
    }

    .Contenido_sumate_suuam h1{
        font-size: 1.2rem;
    }

    .Contenido_sumate_suuam img{
        width: 200px;
    }
    
    .Contenedor_imagen_curva{
        width: 100%;
    }
    /* Instrucciones */
    .Seccion_Instrucciones {
        flex-direction: row;
        padding: 1.2rem;
    }
    
    .titulo_instrucciones {
        font-size: 1.8rem;
    }
    
    .contenedor_imagen_instrucciones {
        max-width: 200px;
    }
    
    .botones_redireccion_instrucciones {
        justify-content: center;
    }
    
    /* Otras secciones */
    .Seccion_servicios_beneficios{
        flex-direction: row;

    }
    .Seccion_recompensas {
        flex-direction: column;
        padding: 1.5rem;
    }
    .Imagen_servicios_beneficios{
        width: 200px;
    }
    .Contenedor_informacion_recompensas {
        padding: 25px 20px;
    }
    
    .imagen_recompensa{
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    /* Formulario */
    
    .grupo-campos.tres_columnas {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 8px;
    }
    
    .Seccion_formulario {
        padding: 40px 15px;
    }
    
    input, select {
        padding: 10px 12px;
        font-size: 0.9rem;
        min-width: 0;
    }
    
    .Contenedor_fondo_naranja {
        border-radius: 0% 0% 100% 100%;
    }
}

/* ============================================== */
/* MÓVILES PEQUEÑOS (320px - 575px) */
/* ============================================== */
@media (max-width: 575px) {
    h2 {
        font-family: "SUSE", sans-serif;
        font-weight: 400;
    }
    
    body {
        overflow-x: hidden;
    }
    
    main {
        padding: 5px;
        max-width: 100%;
    }

    .logo img{
        height: 25px;
        margin: 0px 2px;
    }
    
    .Titulo_Principal {
        font-size: 0.6rem;
        margin-bottom: 20px;
        margin-top: 50px;
        padding: 20px 15px 0 15px;
    }
    
    .Subtitulo_Principal{
        font-size: 1.2rem;
    }
    .Boton_SerParte {
        width: 150px;
        height: 40px;
        margin: 0 auto 20px auto;
    }
    
    .Seccion_principal {
        padding: 10px 5px;
    }
    

    
    .Contenedor_Foto_Principal {
        width: 180px;
        height: 180px;
        max-width: 85%;
        position: absolute;
        bottom: -89px;
        left: 50%;
        transform: translateX(-50%);
        margin: 0;
        z-index: 5;
    }
    
    .Imagen_principal_1 {
        height: 220px;
        position: relative;
        top: 0;
    }

    .wave-container {
        width: 150vw;
        height: 500px;
        overflow: hidden;
        position: absolute;
        top: -150px;
        left: 50%;
        transform: translateX(-50%);
        z-index: 0;
    }


    .dynamic-wave {
        width: 200%; 
        height: 70%;

        color: #F17D10; 
        /*animation: wave-motion 12s linear infinite;*/
        position: absolute;
        top: 40%;
        left: 0;

    }

    .carousel-item.pos-left,
    .carousel-item.pos-right {
        display: none !important;

    }
    .carousel-item.pos-center {
        display: block !important;
       
    }   

    .Contenedor_Fotos {
        display: none;
    }
    
    .Contenedores_flotantes_1 {
        display: none;
    }
    
    .Contenedores_flotantes_2 {
        display: none;
    }
    
    .Linea_Curva_Fondo_1, .Linea_Curva_Fondo_2 {
        width: 200px;
    }
    
    .Linea_Curva_Fondo_1 {
        left: -10px;
        top: -30px;
    }
    
    .Linea_Curva_Fondo_2 {
        right: 0px;
        top: -15px;
    }
    
    
    /* Problema/Solución */
    .Contenedor_problema_solucion {
        margin: 50px 10px;
        padding: 25px 15px;
    }
    
    .titulo_problema_solucion {
        font-size: 1.3rem;
    }
    
    /* Beneficios */
    .titulo_beneficios {
        font-size: 1.4rem;
        padding: 0 10px;
    }
    
    .grid_beneficios {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        padding: 0 15px;
        max-width: 100%;
    }
    
    .caja_beneficios {
        padding: 15px 10px;
        min-height: 280px;
        height: auto;
        min-width: 0;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        overflow: hidden;
        word-wrap: break-word;
        box-sizing: border-box;
    }
    
    .caja_beneficios p {
        font-size: 0.85rem;
        line-height: 1.4;
        margin-bottom: 8px;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .caja_beneficios h3 {
        font-size: 1rem;
        margin-bottom: 10px;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .caja_beneficios_naranja {
        overflow: hidden;
    }
    
    .caja_beneficios_naranja p,
    .caja_beneficios_naranja h3 {
        word-break: break-word;
        hyphens: auto;
    }
    
    /* Instrucciones */
    .Seccion_Instrucciones {
        flex-direction: column;
        padding: 1rem;
        margin-top: 50px;
        text-align: center;
    }
    
    .titulo_instrucciones {
        font-size: 1.5rem;
        text-align: center;
        margin-bottom: 15px;
    }
    
    .instrucciones {
        padding-right: 0;
        margin-bottom: 20px;
        width: 100%;
        order: 2;
    }
    
    .contenedor_imagen_instrucciones {
        max-width: 250px;
        min-height: auto;
        margin: 0 auto 20px auto;
        order: 1;
    }
    
    .imagen_instrucciones {
        max-width: 100%;
        height: auto;
    }
    
    .botones_redireccion_instrucciones {
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 10px;
        margin-top: 20px;
    }
    
    .icono_google_play, .icono_app_store {
        max-width: 130px;
    }
    
    /* Sumate */
    .Seccion_sumate {
        margin-top: 50px;
        min-height: 250px;
    }
    
    .Contenido_sumate_suuam {
        max-width: 90%;
        padding: 15px 10px;
        font-size: 0.85rem;
    }
    
    .Contenido_sumate_suuam h1 {
        font-size: 1rem;
    
    }
    
    .Contenido_sumate_suuam p {
        font-size: 0.8rem;
        line-height: 1.3;
        margin-bottom: 8px;
    }
    
    .Contenido_sumate_suuam img {
        width: 120px;
        height: auto;
        margin-top: 15px;
    }
    
    /* Servicios y beneficios */
    .Seccion_servicios_beneficios {
        flex-direction: column-reverse;
        padding: 1rem;
        margin-top: 50px;
        gap: 15px;
    }
    
    .titulo_servicios_beneficios {
        font-size: 1.4rem;
        text-align: center;
    }
    
    .Contenedor_imagen_servicios_beneficios {
        min-height: 200px;
    }
    
    .lista_servicios {
        padding-left: 20px;
    }
    
    /* Recompensas */
    .Seccion_recompensas {
        flex-direction: column;
        margin-top: 50px;
        max-width: 95%;
    }
    
    .Contenedor_imagen_recompensa {
        min-height: 180px;
    }
    
    .Contenedor_informacion_recompensas {
        padding: 20px 15px;
    }
    
    .Lista_recompensas {
        padding-left: 20px;
    }
    
    /* Formulario */
    .Seccion_formulario {
        padding: 30px 10px;
        min-height: auto;
    }
    
    .Contenedor_formulario {
        padding: 15px;
    }
    
    .Titulo_formulario {
        font-size: 1.5rem;
        padding-top: 15px;
    }
    
    .grupo-campos.dos_columnas {
        grid-template-columns: 1fr;
    }
    
    .grupo-campos.tres_columnas {
        grid-template-columns: 2fr 1fr 1fr;
        gap: 8px;
    }
    
    input, select {
        padding: 10px 12px;
        font-size: 0.85rem;
        min-width: 0;
    }
    
    /* Preguntas FAQ */
    .Seccion_Preguntas {
        padding: 40px 15px;
        margin: 50px 10px;
    }
    
    .titulo_preguntasFAQ {
        font-size: 1.4rem;
    }
    
    .pregunta_FAQ summary {
        font-size: 1rem;
        padding: 12px 0;
    }
    
    /* Footer */
    .footer {
        height: 200px;
    }
}

/* ============================================== */
/* PANTALLAS MUY PEQUEÑAS (menos de 320px) */
/* ============================================== */
@media (max-width: 319px) {
    h2 {
        font-family: "SUSE", sans-serif;
        font-weight: 400;
    }
    
    .Titulo_Principal {
        font-size: 1rem;
    }
    
    .Boton_SerParte {
        width: 160px;
        height: 38px;
    }
    
    .Contenedor_Foto_Principal {
        width: 240px;
        height: 180px;
    }
    
    .Contenedor_Fotos {
        max-width: 100px;
        height: 130px;
    }
    
    .titulo_instrucciones {
        font-size: 1.3rem;
    }
    
    .imagen_instrucciones {
        max-width: 240px;
    }
    
    .icono_google_play, .icono_app_store {
        max-width: 110px;
    }
    
    .Contenedor_fondo_naranja {
        border-radius: 0% 0% 60% 60%;
        padding-bottom: 150px;
    }
    
    /* Footer responsive */
    .Contenido_Pie_Pagina {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .Pie_Pagina_Inferior .container-centered {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .Enlaces_Legales {
        gap: 15px;
    }
}

/* Footer: asegurar tres columnas alineadas en pantallas grandes */
@media (min-width: 992px) {
    .Contenido_Pie_Pagina {
        grid-template-columns: repeat(3, 1fr);
        align-items: start;
    }
}

@media (min-width: 992px) {
    .Footer_Columns { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 1200px) and (max-width: 1600px) {
    .Footer_Columns { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 1601px) {
    .Footer_Columns { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 575px) {
    .Footer_Header { align-items: center; text-align: center; }
    .Footer_Columns { grid-template-columns: 1fr; }
}

/* === Carousel (Galeria) === */
.carousel {
    position: relative;
}

.carousel-viewport {
    position: relative;
    overflow: visible; /* mostrar laterales */
    width: 100%;
}

.carousel-stage {
    position: relative;
    height: 560px; /* similar al layout original */
}

.carousel-item {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s ease;
}

/* posiciones: siempre visibles (más juntas) */
.pos-left { left: 8%; top: -130px; width: 33.33%; height: 100%; }
.pos-center { left: 50%; transform: translateX(-50%); top: -60px; width: 33.33%; height: 100%; z-index: 2; }
.pos-right { left: 58%; top: -130px; width: 33.33%; height: 100%; }

.carousel-item img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Fallback imagen principal para móviles */
.HeroImagen_mobile {
    display: none; /* oculto por defecto, se muestra en móviles */
    width: 100%;
    justify-content: center;
    align-items: center;
}

.HeroImagen_mobile_img {
    max-width: 500px;
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* Mobile tweaks: keep center image visible */
@media (max-width: 767px) {
    /* Mostrar carrusel en móviles y ocultar fallback */
    .carousel { display: block; }
    .HeroImagen_mobile { display: none; }
    /* Mostrar solo la imagen central en móviles */
    .carousel-item.pos-left, .carousel-item.pos-right { display: none !important; }
    .carousel-item.pos-center { display: block !important; }
}

/* --- Restore intended image sizing within carousel --- */
.carousel-stage { height: 560px; }

/* Left and right images similar to old Contenedores_flotantes_2 */
#img-left,
#img-right {
    max-width: 500px;
    max-height: 450px;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Center image similar to old Imagen_principal_1 */
#img-center {
    max-height: 530px;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* Neutralize hero-specific styles for center image inside carousel */
.carousel .Imagen_principal_1 {
    position: static !important;
    top: auto !important;
    left: auto !important;
}

/* Tablet adjustments */
@media (max-width: 991px) and (min-width: 768px) {
    .carousel-stage { height: 380px; }
    .pos-left, .pos-right { top: -70px; }
    .pos-center { top: -35px; }
    /* Tablet: laterales más chicos */
    #img-left, #img-right {
        max-width: 200px;
        max-height: 280px;
        width: 100%;
        height: 100%;
        object-fit: contain;
    }
    #img-center {
        max-width: 240px;
        max-height: 320px;
        width: 100%;
        height: 100%;
        object-fit: contain;
    }
}

/* Mobile large */
@media (max-width: 767px) and (min-width: 576px) {
    .carousel-stage { height: 360px; }
    .pos-left, .pos-center, .pos-right { width: 33.33%; }
    .pos-left { left: 6%; }
    .pos-center { left: 50%; transform: translateX(-50%); width: 90%; }
    .pos-right { left: 60%; }
    .pos-left, .pos-right { top: -45px; }
    .pos-center { top: -25px; }
    #img-center { max-height: 340px; }
}

/* Mobile small */
@media (max-width: 575px) {
/* 1. Ocultar los ítems laterales */
    .carousel-item.pos-left,
    .carousel-item.pos-right {
        display: none !important; 
    }
    
    /* 2. Simplificar y centrar el ítem principal */
    .carousel-item.pos-center {
        /* Aseguramos que sea el único elemento y eliminamos la necesidad de left/transform */
        width: 100% !important; 
        position: relative !important; /* Lo colocamos en el flujo normal (aunque solo haya uno) */
        left: 0 !important; /* Reseteamos cualquier left anterior */
        transform: none !important; /* Reseteamos cualquier transform anterior */
        display: block;
        
        /* Ajustamos la posición vertical */
        top: -12px;
        margin: 0 auto; /* Lo centramos horizontalmente */
    }
    
    /* 3. Asegurar que el padre del ítem central tenga el ancho total */
    .carousel-stage { 
        height: 280px; 
        width: 100%; /* Aseguramos el ancho completo */
        margin: 0 auto;
    }
    
    /* 4. Ajustar la imagen dentro del ítem */
    #img-center { 
        max-height: 320px; 
        display: block; 
        margin: 0 auto; /* Centramos la imagen dentro de su contenedor (100% width) */
        width: auto; /* Dejamos que el ancho se ajuste a la altura */
    }
}