/* Enlace activo en el nav principal */
/*Header*/
header, .nav-p{
     position: relative;
    z-index: 10;
    font-family: "SUSE", sans-serif;
}

.nav-p{
    position: relative;
    z-index: 10;
    
    margin: 0 auto;
    padding: 12px 70px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    border-radius: 12px;
    box-shadow: 0 5px 5px rgba(0, 0, 0, 0.1);
    background-color: white;
    margin-top:3px;
}
.logo a{display:flex;}
.logo img{
    max-width: auto;
    height: 30px;
}

.nav-container{
    display: flex;
    gap: 16px;
}

.nav1, .nav2 {
    display: flex;
    gap: 8px;
}

.nav1 a{
    text-decoration: none;
    border-radius: 6px;
    padding: 8px 16px;
    font-size: 1rem;
    font-family: "SUSE", sans-serif;
    font-weight: 400;
    transition: background 0.25s;
}
.nav1 a { 
    color: #2563eb; 
}

.nav2 a { 
    text-decoration: none;
    color:#2563eb; 
}


.nav1 a:hover { 
    background: #eef2ff; 
}


.inicio{
    font-size: 1em;
}
/*hamburguesaaaa*/

.hamburguesa {
  display: none;
  flex-direction: column;
  border: none;
  gap: 4px;
  cursor: pointer;
  background: none;
}

.hamburguesa span {
  width: 26px; 
  height: 3px;
  display: block;
  background: #2563eb;
  border-radius: 2px;
}
/*fin hamburguesa*/
/*Fin Header*/

/* 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; 
    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: 900px;
    overflow: hidden;
    position: absolute;
    top: 50px;
    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;
    font-family: "SUSE", sans-serif;
}

/* @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'); */



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

@media (min-width:320px)  { /* smartphones, iPhone, portrait 480x320 phones */ 
main section{   max-width: 400px;}
header .nav-p{ width: 280px;}
}
@media (min-width:481px)  { /* portrait e-readers (Nook/Kindle), smaller tablets @ 600 or @ 640 wide. */ 
main section{   max-width: 600px;}
header .nav-p{ width: 360px;}
}
@media (min-width:641px)  { /* portrait tablets, portrait iPad, landscape e-readers, landscape 800x480 or 854x480 phones */ 
main section{   max-width: 700px;}
header .nav-p{ width: 480px;}
}
@media (min-width:961px)  { /* tablet, landscape iPad, lo-res laptops ands desktops */ 
main section{   max-width: 900px;}
header .nav-p{ width: 720px;}
}
@media (min-width:1025px) { /* big landscape tablets, laptops, and desktops */ 
main section{   max-width: 900px;}
header .nav-p{ width: 900px;}
}
@media (min-width:1281px) { /* hi-res laptops and desktops */ 
main section{   max-width: 1024px;}
header .nav-p{ width: 1024px;}
}

@media (min-width:1281px) { /* hi-res laptops and desktops */
    main section { max-width: 1024px; }
    header .nav-p { width: 1024px; }
    
    .Galeria {
        height: 650px;
    }
    
    .wave-container {
        height: 800px;
        top: 150px;
    }
}

/* ============================================== */
/* 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);
}

/* Flecha scroll */
.flecha-scroll {
    position: fixed;
    bottom: 32px;
    right: 24px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    padding: 0px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    opacity: 0.5;
    transition: opacity 0.3s;
    z-index: 1000;
    cursor: pointer;
    text-decoration: none;
    display: none;
    background-color: white;
}

.flecha-scroll:hover {
    opacity: 1;
}

.flecha-scroll img {
    width: 28px;
    height: 28px;
    object-fit: contain;
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* 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 Y NAV */
/* ============================================== */

header {
    position: relative;
    z-index: 10;
}


/* Fin hamburguesa */

/* ============================================== */
/* BOTÓN VER MÁS */
/* ============================================== */

.contenedor-boton-vermas {
    text-align: center;
    margin-top: 30px;
}

.boton-vermas {
    padding: 10px 10px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.boton-vermas:hover {
    background-color: #0056b3;
}

.boton-vermas a {
    color: white;
    text-decoration: none;
}

.preguntas-ocultas {
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    display: none;
}

.preguntas-ocultas.mostrar {
    opacity: 1;
    transform: translateY(0);
    display: block;
}

.preguntas-ocultas.ocultar {
    opacity: 0;
    transform: translateY(-10px);
}

@media (max-width: 850px) {
  main {
    padding-top: 80px;
  }
  

  
  
}
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: 30vh; 
    /* 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;
    color: #0066FF;
    position: relative;
    z-index: 2;
    padding-top: 20px;

}

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

/* Galería de fotos */
.Galeria {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    width: 100%;
    max-width: 900px;
    height: 650px;
    margin: 0 auto;
    z-index: 2;
    gap: 3vw;
    pointer-events: none;
}

.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: 5px 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;

}

.Contenedor_beneficios{
    margin-top: 100px;
}

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

.caja_beneficios{
    padding: 25px 20px;
    text-align: left;
    height: 300px;
    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.2em;
    margin-bottom: 12px;
    margin-top: 0;
}

.icono_Circulo_blanco{
    width: 90px;
    height: 90px;
}

/*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{
    position: relative;
    display: flex; 
    justify-content: center; 
    align-items: center;     
   
    min-height: 450px; 
}

.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;
}




.Enlaces_Pie_Pagina {
    list-style: none;
    padding: 0;
 
    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: 200px;
    height: 200px;
}

.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: #F17D10;
    color: #F17D10;
}

.btn-cuenta.logged-in:hover {
    background: #F17D10;
    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;
    }
    .Seccion_sumate {
        min-height: 600px;
    }
    
    .Contenedor_Fotos {
        max-width: 190px;
        height: 240px;
    }
    
    .Contenedores_flotantes_1 {
        margin-left: 50px;
        margin-right: 50px;
    }
    
    .Contenedor_problema_solucion {
        margin: 5px 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;
    }
    .Contenedor_beneficios{
        margin-top: 100px;
    }
}

/* ============================================== */
/* 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);
    }
    .Seccion_sumate{
        min-height: 550px;
    }
    

    .Contenedor_problema_solucion {
        margin: 5px auto;
    }
    .Contenedor_beneficios{
        margin-top: 100px;
    }
    .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_beneficios{
        margin-top: 100px;
    }
    .Contenedor_problema_solucion {
        margin: 5px 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: 5px 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;
    }
    .Contenedor_beneficios{
        margin-top: 100px;
    }
}

/* ============================================== */
/* 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: 5px 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;
    }
    .Contenedor_beneficios{
        margin-top: 100px;
    }
    .caja_beneficios{
        height: 280px;
    }

    .titulo_beneficios{
        font-size: 1.8rem;
    }
    
    .Contenedor_problema_solucion {
        margin: 5px 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%; }
        .wave-container {
        width: 100vw;
        height: 500px;
        overflow: hidden;
        position: absolute;
        top: -150px;
        left: 50%;
        transform: translateX(-50%);
        z-index: 0;
    }

}

/* ============================================== */
/* 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 {
        margin-top: 50px;
        font-size: 0.8rem;
    }
    
    .Boton_SerParte {
        width: 200px;
        height: 42px;
    }
    .Contenedor_beneficios{
        margin-top: 100px;
    }
    .Galeria {
        min-height: 300px;
        gap: 5px;
    }
    
    .Contenedor_Foto_Principal {
        width: 420px;
        height: 490px;
    }


    /* Prevent navbar from being clipped by wave-container on mobile */
 
    .Contenedor_fondo_naranja {
        clip-path: none !important; /* Desactiva el recorte en móvil */
        overflow: hidden;
    }
    
    .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;
    }
    
    .wave-container {
        width: 150vw;
        height: 500px;
        overflow: hidden;
        position: absolute;
        top: -120px;
        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;

    }
 
    .titulo_beneficios {
        font-size: 1.6rem;
    }
    
    .Contenedor_problema_solucion {
        margin: 5px 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;
    }
  

    .Contenedor_fondo_naranja {
        clip-path: none !important; /* Desactiva el recorte en móvil */
        border-radius: 0 0 100px 100px; /* Crea una curva similar pero segura */
        overflow: visible !important; /* Asegura que no esconda lo de adentro */
    }
    
    .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_beneficios{
        margin-top: 100px;
    }

    
    .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: 420px;
        overflow: hidden;
        position: absolute;
        top: -100px;
        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;

    }

    /* Solo ocultar laterales en móviles pequeños, no en tablets */
    
    .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 {
        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;
    }
    .Contenedor_beneficios{
        margin-top: 100px;
    }
    
    /* 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); }
    .Footer_Logo{
        height: 45px;
    }
}

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

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

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

/* === 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;
    padding: 0 3rem; /* más espacio horizontal */
}

/* posiciones: siempre visibles (más juntas) */
/* posiciones: más separadas horizontalmente */
.pos-left { left: 2%; 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: 66%; 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; }
    
    .Galeria {
        max-width: 450px;
        height: 290px;
        margin: 0 auto;
    }
}

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

/* Left and right images similar to old Contenedores_flotantes_2 */

/* Unificar tamaño de imágenes del carrusel */
.carousel-img {
    width: 220px;
    height: 250px;
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    display: block;
    margin: 0 auto;
}
.carousel-img-left{
    width: 220px;
    height: 250px;
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    display: block;
    margin: 0 auto;
}
/* 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; }
    
    .Galeria {
        height: 450px;
    }
    
    .wave-container {
        height: 600px;
        top: -80px;
    }
    
    /* Unificar tamaño de imágenes del carrusel en tablet */
    .carousel-img {
        width: 150px;
        height: 200px;
        max-width: 100%;
        max-height: 100%;
        object-fit: cover;
        display: block;
        margin: 0 auto;
    }
    .carousel-img-left{
        width: 215px;
        height: 200px;
        max-width: 100%;
        max-height: 100%;
        object-fit: cover;
        display: block;
        margin: 0 auto;
    }
}

/* Mobile large */
@media (max-width: 767px) and (min-width: 576px) {
    .Galeria.carousel {
        margin-top: -80px;
        overflow: visible;
    }
    .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; }
    /* Unificar tamaño de imágenes del carrusel en mobile large */
    .carousel-stage { 
        height: 400px; 
        width: 100%;
        margin: 0 auto;
    }
    .carousel-img {
        width: 200px;
        height: 200px;
        max-width: 100%;
        max-height: 100%;
        object-fit: cover;
        display: block;
        margin: 0 auto;
    }
    .carousel-img-left{
        width: 200px;
        height: 200px;
        max-width: 100%;
        max-height: 100%;
        object-fit: cover;
        display: block;
        margin: 0 auto;
    }
}

/* Mobile small */
@media (max-width: 575px) {
    .Galeria.carousel {
        margin-top: -100px;
        overflow: visible;
    }
    /* 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 {
        width: 100% !important; 
        position: relative !important;
        left: 0 !important;
        transform: none !important;
        display: block;
        top: -12px;
        margin: 0 auto;
    }
    /* 3. Asegurar que el padre del ítem central tenga el ancho total */
    .carousel-stage { 
        height: 240px; 
        width: 100%;
        margin: 0 auto;
    }
    /* 4. Unificar tamaño de imágenes del carrusel en mobile small */
    .carousel-img {
        width: 120px;
        height: 120px;
        max-width: 100%;
        max-height: 100%;
        object-fit: cover;
        display: block;
        margin: 0 auto;
    }
    .carousel-img-left{
        width: 120px;
        height: 120px;
        max-width: 100%;
        max-height: 100%;
        object-fit: cover;
        display: block;
        margin: 0 auto;
    }
    
}

/* =======================================================
    RESPONSIVE: MENÚ HAMBURGUESA NAV (dispositivos <1024px)
======================================================= */
@media (max-width: 1024px) {
    main { 
        margin-top: 45px; 
    }
    
    .fondo-celeste {
        padding-top: 65px;
    }
    
    .celular-galeria.carrusel-centro {
        transform: scale(1) translateX(0) translateY(0);
    }
    
    .nav-p {
        
        z-index: 30; 
        position: fixed;
        top: 0; 
        left: 0; 
        right: 0; 
        height: 45px;
        display: flex; 
        align-items: center; 
        justify-content: center;
        padding: 6px 60px 6px 20px; 
        background: white;
        box-shadow: 0 4px 18px rgba(0,0,0,0.1);
        border-radius: 0 0 12px 12px;
    }
    
    .logo {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .logo img {
        height: 22px !important;
        max-width: none !important;
    }
    
    .nav-container {
        z-index: 2; 
        position: fixed; 
        top: 45px; 
        padding-bottom: 20px;
        left: 20px; 
        right: 20px; 
        flex-direction: column; 
        align-items: center; 
        display: none;
        width: 100%; 
        border-radius: 0 0 14px 14px;
        box-shadow: 0 4px 18px rgba(0,0,0,0.12); 
        gap: 0; 
        padding-top: 26px; 
        background: white;
    }
    
    .nav-container.open { 
        display: flex; 
        animation: fadeDown 0.25s; 
    }
    
    .hamburguesa { 
        display: flex; 
        position: absolute; 
        right: 18px; 
        top: 9px; 
        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.2em; 
        color: #2563eb;
        background: none; 
        text-decoration: none;
    }
    
    .nav1 a:hover, .nav2 a:hover { 
        background: #afc4ec; 
    }
}

/* =======================================================
    Responsive nav para problemas con 1025px a 1280px al 
    iniciar sesion con la cuenta
======================================================= */

@media (min-width:1025px) and (max-width:1280px) {
  .nav-p {
    width: 98vw;
    min-width: 0;
    max-width: 1220px;
    padding: 10px 32px;
    gap: 6px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap; /* Importante! */
    box-sizing: border-box;
  }

  .logo {
    flex: 0 0 auto;
    margin-right: 22px;
    padding-left: 20px;
  }

  .logo img {
    height: 30px;
    width: auto;     
    max-width: 160px; 
    margin-right: 0; 
    display: block;
  }


  .nav-container {
    display: flex;
    flex-direction: row;
    width: auto;
    gap: 12px;
    justify-content: flex-end;
    align-items: center;
    flex: 1 1 auto;
  }

  .nav1, .nav2 {
    display: flex;
    flex-direction: row;
    gap: 9px;
    align-items: center;
    flex-wrap: nowrap;
  }

  .nav1 a {
    white-space: nowrap;
    font-size: 1em;
    padding: 5px 11px;
    margin: 0;
    min-width: 78px;
    text-align: center;
    box-sizing: border-box;
  }

  .nav2 {
    margin-left: 16px;
  }
  
  .btn-cuenta {
    max-width: 160px;
    min-width: 100px;
    font-size: 0.8em;
    padding: 6px 16px;
    box-sizing: border-box;
    white-space: nowrap;
  }
}
