@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;
    font-family: "SUSE", sans-serif;
}




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



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

.lista_instrucciones{
    list-style-position: inside;
}

.Lista_recompensas{
    list-style-position: inside;
}

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

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