/* ============================================== */
/* ESTILOS ESPECÍFICOS PARA GRUEROS */
/* Sobrescriben los estilos de index.css */
/* ============================================== */
@import url('https://fonts.googleapis.com/css2?family=SUSE:ital,wght@0,100..900;1,100..900&display=swap');
@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');
*{
    font-family: 'SUSE', sans-serif;
}
/* Sección principal centrada */
.Seccion_principal {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: 0 auto;
}

/* Títulos para pantallas grandes */
.Titulo_Principal {
    font-size: 1.8rem !important;
    max-width: 1000px;
    white-space: nowrap;
}

.Titulo_Principal h1 {
    font-size: 1.8rem !important;
    white-space: nowrap;
}

.Subtitulo_Principal {
    font-size: 2.2rem !important;
    max-width: 1000px;
    white-space: nowrap;
}

/* Wave más arriba para grueros */
.wave-container {
    top: -250px !important;
}

/* Galería centrada para grueros */
.Galeria.carousel {
    position: relative;
    display: flex !important;
    justify-content: center !important;
    align-items: flex-end !important;
    width: 100% !important;
    margin: 0 auto !important;
}

.carousel-viewport {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.carousel-stage {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 100%;
}

/* Animaciones de scroll - estado inicial y transición */
.animado-scroll {
    opacity: 0.15;
    transform: translateY(40px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animado-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Animaciones de scroll - estado inicial y transición */
.animado-scroll {
    opacity: 0.15;
    transform: translateY(40px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animado-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Colores de texto específicos para grueros */
.suuam-cambia {
    color: #0066FF;
    font-weight: 600;
}

.titulo_problema_solucion {
    color: #0066FF;
}

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

/* Lista de instrucciones alineada a la izquierda */
.lista_instrucciones {
    text-align: left;
}

/* Estilos para caja de beneficios SUUAM - sobrescribe styles.css */
.caja_beneficios.caja_beneficios_naranja h3,
.caja_beneficios_SUUAM h3,
.titulo_caja_beneficios_SUUAM {
    color: white !important;
}

/*hamburguesaaaa*/








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

}




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

.lista_instrucciones{
    list-style-position: outside;
    padding-left: 20px;
}

.lista_instrucciones li {
    list-style-position: outside;
}

.lista_servicios {
    list-style-position: outside;
    padding-left: 20px;
}

.lista_servicios li {
    list-style-position: outside;
}

.Lista_recompensas{
    list-style-position: outside;
    padding-left: 20px;
}

.Lista_recompensas li {
    list-style-position: outside;
}

.Enlaces_Pie_Pagina {
    list-style: none;
    padding: 0;
    margin-top: 0; 
}

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

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


/*Seccion Preguntas frecuentas*/

.Seccion_Preguntas{
    padding:20px;
    
    max-width: 850px;
    margin: 80px auto;
    text-align: center;

}

.titulo_preguntasFAQ{
    margin-bottom: 30px;
}
.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;
}


/* Estilos para botón de cuenta y login */
.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: 20px;
    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;
}

/* 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) and (max-width: 1199px) {
    .grid_beneficios {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 28px;
        padding: 0 30px;
    }
    
    .caja_beneficios {
        padding: 28px 24px;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .grid_beneficios {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 24px;
        padding: 0 25px;
    }
    
    .caja_beneficios {
        padding: 26px 22px;
    }
    
}

@media (min-width: 576px) and (max-width: 767px) {
    .grid_beneficios {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 18px;
        padding: 0 20px;
    }
    
    .caja_beneficios {
        padding: 22px 18px;
    }
    
    .caja_beneficios h3 {
        font-size: 1em;
    }
    
    .caja_beneficios p {
        font-size: 0.9em;
    }
}

@media (max-width: 575px) {
    .grid_beneficios {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 20px;
        padding: 0 20px;
    }
    
    .caja_beneficios {
        width: 100%;
        max-width: 100%;
        padding: 24px 20px;
    }
    
    .caja_beneficios h3 {
        font-size: 1.1em;
    }
    
    .caja_beneficios p {
        font-size: 0.95em;
    }
}

@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;
    }
    
    /* Ajustes para móviles pequeños */
    .Titulo_Principal {
        margin-top: 5px;
        padding-top: 5px;
        font-size: 1rem !important;
        white-space: normal !important;
    }
    
    .Titulo_Principal h1 {
        font-size: 1rem !important;
        white-space: normal !important;
    }
    
    .Subtitulo_Principal {
        margin-bottom: 15px !important;
        font-size: 1.3rem !important;
        white-space: normal !important;
    }
    
    .wave-container {
        top: -10px !important;
    }
    
    .boton-imagen {
        margin-bottom: 20px !important;
    }
    
    .Galeria.carousel {
        height: 350px;
        margin-top: -120px !important;
    }
}

/* Tablets (768px - 991px) */
@media (max-width: 991px) and (min-width: 768px) {
    .Titulo_Principal {
        margin-top: 30px;
        padding-top: 10px;
        font-size: 1.8rem;
        white-space: nowrap;
        text-align: center;
    }
    
    .Titulo_Principal h1 {
        font-size: 1.8rem;
        white-space: nowrap;
        text-align: center;
    }
    
    .Subtitulo_Principal {
        margin-bottom: 20px;
        font-size: 2.2rem;
        white-space: nowrap;
        text-align: center;
    }
    
    .wave-container {
        top: -200px !important;
    }
    
    .Galeria.carousel {
        height: 330px !important;
    }
    
    .Galeria .carousel-stage {
        height: 330px !important;
        
    }
    
    .Galeria .carousel-item {
        width: 130px !important;
        height: 260px !important;
        /* Asegura separación constante incluso si la imagen rota */
        margin: 0 !important;
        padding: 0 8px !important;
        box-sizing: border-box;
    }
     .Galeria .carousel-item.pos-left {
        left: 60px !important;
    }
    
    .Galeria .carousel-item.pos-right {
        left: 71% !important;
    }
    
    .Galeria .carousel-img {
        width: 130px !important;
        height: 260px !important;
        max-width: none !important;
        max-height: none !important;
        object-fit: contain !important;
        /* Mantiene la rotación centrada para no alterar el espaciado visual */
        transform-origin: center center;
        display: block;
    }
    
    .Galeria .carousel-img-left {
        width: 130px !important;
        height: 260px !important;
        max-width: none !important;
        max-height: none !important;
        object-fit: contain !important;
        /* Mantiene la rotación centrada para no alterar el espaciado visual */
        transform-origin: center center;
        display: block;
    }
}

/* Móviles grandes (576px - 767px) */
@media (max-width: 767px) and (min-width: 576px) {
    .Titulo_Principal {
        margin-top: 10px;
        padding-top: 5px;
        font-size: 1.2rem !important;
        white-space: normal !important;
    }
    
    .Titulo_Principal h1 {
        font-size: 1.2rem !important;
        white-space: normal !important;
    }
    
    .Subtitulo_Principal {
        margin-bottom: 15px !important;
        font-size: 1.5rem !important;
        white-space: normal !important;
    }
    
    .wave-container {
        top: -20px !important;
    }
    
    .boton-imagen {
        margin-bottom: 20px !important;
    }
    
    .Galeria.carousel {
        margin-top: -100px !important;
    }
    
    .carousel-item {
        margin-top: 200px;
        width: 200px;
        height: 370px;
    }
}

@media (max-width: 1024px) {
   .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;
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .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: 55px !important; 
        padding-bottom: 20px;
        left: 0;    
        right: 0;   
        padding-left: 0px;  
        padding-right: 10px; 
        flex-direction: column; 
        align-items: center; 
        display: none;
        max-width: 100vw;    
        margin: 0px 0 0 0;
        border-radius: 14px 14px 14px 14px !important;
        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 30px; 
        text-align: left;
        font-size: 1.3em; 
        color: #2563eb;
        background: none; 
        text-decoration: none;
    }
    
    .nav1 a:hover, .nav2 a:hover { 
        background: #afc4ec; 
    }

    .nav-container .btn-cuenta {
    border: none;
    background: none;
    color: #2563eb;
    border-radius: 6px;
    font-size: 1.3em;
    font-family: "SUSE", sans-serif;
    font-weight: 400;
    text-align: left;
    box-shadow: none;
    padding: 10px 30px;
    transition: background 0.25s, color 0.2s;
    width: auto;      /* No cambia tamaño de nav */
    min-width: 0;
    max-width: 100%;
    margin: 0;        /* No cambia layout */
    display: block;   /* Como los a */
  }
  
  .nav-container .btn-cuenta:hover,
  .nav-container .btn-cuenta:focus {
    background: #eef2ff;
    color: #1946ad;
    outline: none;
  }

    .nav-link-group {
  display: flex;
  align-items: center;
  padding: 0 16px;
  margin: 0 0 4px 0;
}
.icono-nav {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.icono-nav img {
  width: 24px;
  height: 24px;
}
.divider {
  width: 2px;
  min-width: 2px;
  background: #2563eb;
  height: 22px;
  margin: 0px 0px 0px 20px;
  border-radius: 2px;
}
.nav-link-group a,
.nav-link-group .btn-cuenta {
  flex: 1 1 auto;
  color: #2563eb;
  text-decoration: none;
  background: transparent;
  border: none;
  font-family: inherit;
  font-size: 1.22em;
  padding: 10px 20px;
  text-align: left;
  display: block;
  transition: background 0.18s;
}
.nav-link-group a:hover,
.nav-link-group .btn-cuenta:hover,
.nav-link-group .btn-cuenta:focus {
  background: #eef2ff;
}
}


@media (min-width:320px)  { /* smartphones */
main section{   max-width: 400px;}
header .nav-p{ width: 280px;}
/* PATCH - para .nav-container, igual que nav-p */
.nav-container { 
    max-width: 280px; 
    left: 0; 
    right: 0; 
    margin: 0 auto;
    padding-left: 0;
    padding-right: 0;
}
}
@media (min-width:481px)  { /* tablets chicas */
    main section { max-width: 600px; }
    header .nav-p { width: 360px; }
    .nav-container { max-width: 360px; left: 0; right: 0; margin: 0 auto; }
}
@media (min-width:641px)  { /* tablets grandes */
    main section { max-width: 700px; }
    header .nav-p { width: 480px; }
    .nav-container { max-width: 480px; left: 0; right: 0; margin: 0 auto; }
}
@media (min-width:961px)  { /* desktops chicos */
    main section { max-width: 900px; }
    header .nav-p { width: 720px; }
    .nav-container { max-width: 720px; left: 0; right: 0; margin: 0 auto; }
}
@media (min-width:1025px) { /* desktops medianos */
    main section { max-width: 900px; }
    header .nav-p { width: 1024px; }
    .nav-container { 
        left: auto;
        right: auto;
        margin: 0;
        max-width: none;
    }
}