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

body{
  font-family: 'SUSE', 'sans-serif';
}

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

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

img-responsive {
    width: 100%;
    height: auto;
}


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

/*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 30px;
    text-align: left;
    font-size: 1.3em;
    color: #2563eb;
    background: none;
    text-decoration: none;
  }
  .nav1 a:hover, .nav2 a:hover {
    background: #F3F7FF;
    color: #eb25cd;
  }

  
  
}




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


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

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





