:root {
    --color-principal: #292D32;
    --color-secundario: #F8F8F7;
    --color-fondo: #FADBB3;
    --color-tarjeta: #FFA365;
    --color-texto: #7E80D9;
    --espacio-chico: 1rem;
    --espacio-medio: 1rem;
    --borde-redondeado: 1rem;
    --radio-chico: .5rem;
    --radio-medio: 1rem;
    --radio-grande: 1.5rem;
    --fuente-base: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;}

*{
box-sizing: border-box;
margin: 0;
padding: 0;
border: 0;
}


/*Header*/

header{
display: flex;
flex-direction: column;
align-items: center;
gap: 15px;
background-color: #292D32;
padding: 1.5rem;
box-shadow:  0 4px 8px rgba(0,0,0,0.5);
margin-bottom: 2rem;
text-align: center; 
position: sticky;
top: 0;
z-index: 100;
margin-bottom: -10px;
}


.dgpclogo {
height: 40px;
width: auto;
margin-bottom: 20px;
}

.botones {
display: flex;
gap: 10px;   
}


.nav-boton {
text-decoration: none;
background-color: transparent;
color: #FFA365;
font-family: 'Inter', sans-serif; 
font-size: 14px;                 
font-weight: 500;                
letter-spacing: 0.05em;          
text-transform: uppercase;       
padding: 8px 18px;
border-radius: 50px;
margin: 0 4px;
display: inline-block;
transition: 0.25s ease, color 0.25s ease, transform 0.2s ease;
}


.nav-boton:hover {
    background-color: #FFA365;
    color: #292D32;                
    transform: translateY(-2px);    
}


.nav-boton.activo { 
    background-color: #FFA365;
    color: #292D32;
    font-weight: 700;               
    box-shadow: 0 4px 10px rgba(255, 163, 101, 0.3); 
}











@media (min-width: 768px) {
    nav.boton {
        flex-direction: row; 
        justify-content: space-between; 
        padding: 0 20px;
    }
}




body {
font-family: sans-serif;
background-color: var(--color-principal);
color: #FADBB3;
letter-spacing: 0rem;
line-height: 1.2;
width: 100%;
max-width: 900px;
margin: 0 auto;
padding-bottom: 40px;
text-align: center;
}

h1 {
text-align: center;
font-family: sans-serif;
font-weight: 770;
color: #F8F8F7;
text-transform: uppercase;
letter-spacing: -0.01em; 
line-height: 2.5;
}

h2 {
text-align: center;
font-family: sans-serif;
font-weight: 770;
color: #F8F8F7;
text-transform: uppercase;
letter-spacing: -0.01em; 
line-height: 2.5;
}


/*Textos de rótulo grupal*/

.seccion-principal {
padding: 2rem;
margin-bottom: 2rem;
text-align: center; 
background-size: cover;
background-repeat: no-repeat;
background-position: center;
background-attachment: fixed;
margin-bottom: -25px;
}

.onu {
padding: 2rem;
margin-bottom: -5rem;
text-align: center;
background-size: cover;
background-repeat: no-repeat;
background-position: center;
background-attachment: fixed;
}


/*Imagen poster*/

.imagen-principal {
width: 100%;
max-width: 600px; 
height: auto;
display: block;   
margin: 0 auto 1.5rem auto; 
border-radius: 10px;
box-shadow: 0 8px 10px rgba(0, 0, 0, 0.3);
}

.imagen-principal:hover{
background-color: #111111;
transform: scale(1.04);
transform: translateY(1.4);
}


/*Imagen*/

.imagenes-mapa img {
margin-left: auto;
margin-right: auto;        
max-width: 350px;
width: 100%;
height: auto;
margin-bottom: 40px;
border-radius: 10px;
box-shadow: 0 8px 10px rgba(0, 0, 0, 0.3);
}

.imagenes-plan img {  
display: flex;
flex-wrap: wrap;
flex-direction: row;  
gap: 20px;   
max-width: 450px;
width: 100%;
height: auto;
margin-bottom: 100px;
border-radius: 10px;
margin: 30px auto;
box-shadow:  0 10px 20px rgba(0,0,0,0.5);
}

.imagenes-plan img:hover {
transform: scale(1.04);
}

.imagen-dual-container {
margin-top: 2.5rem;
}

.imagen-dual-container img {
height: 300px;
margin-bottom: -60px;
border-radius: 10px;
box-shadow:  0 10px 20px rgba(0,0,0,0.5);
max-width: 800px; 
margin-bottom: -35px;
}

.imagen-dual-container img:hover {
transform: scale(1.04);
}


/*Contenedor de equipo*/

.team-container {
display: flex;
flex-direction: row;
justify-content: center;
gap: 20px;
flex-wrap: wrap; 
margin: 30px auto;
padding: 0 10px;
}

.card {
background-color: rgba(255, 255, 255, 0.02); 
border-radius: var(--radio-medio);
padding: 20px;
flex: 1;
max-width: 250px;
display: flex;
flex-direction: column;
align-items: center;
box-shadow: 0 8px 10px rgba(0, 0, 0, 0.3);
}

.avatar-container img {
width: 120px;
height: 120px;
border-radius: 50%; 
object-fit: cover; 
border: 2px solid #FFA365;
margin-bottom: 15px;
}

.name {
font-size: 1.2rem;
color: #F8F8F7;
margin: 0 0 5px 0;
}

.role {
font-size: 0.75rem;
color: #FFA365;
margin: 0 0 15px 0;
}

.btn {
background-color: #FFA365;
color: #F8F8F7;
font-family: 'Inter', sans-serif;
font-size: 14px;
font-weight: 400;
padding: 8px 20px;
border-radius: 50px;
cursor: pointer;
transition: background-color 0.3s ease, color 0.3s ease;
}

.btn:hover {
background-color: #111111;
transform: translateX(6px);
box-shadow: 0 3px 9px #FFA365;
transform: translateY(-8px);
}


/*JUEGOS/BIENESTAR/APRENDIZAJE*/

.pilares-container {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
gap: 15px;
max-width: 700px;            
margin: 30px auto 10px auto; 
padding: 0 10px;
width: 100%;
}

.pilar-card {
background-color: var(--color-principal);
border: 2px solid var(--color-tarjeta);    
border-radius: var(--radio-medio);        
padding: 25px 15px;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 15px;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0);
transition: transform 0.25s ease;
}

.pilar-card:hover {
transform: scale(1.05);
box-shadow: 0 2px 6px #FFA365;
}

.pilar-icono {
width: 80px;
height: 80px;
display: flex;
align-items: center;
justify-content: center;
}

.pilar-icono img {
width: 100%;
height: auto;
object-fit: contain;
}

.pilar-card h3 {
color: var(--color-secundario);
font-family: 'Inter', sans-serif;
font-size: 13px;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.03em;
line-height: 1.2;
margin: 0;
text-align: center;
}

   
/*footer*/

footer {
background-color: #292D32;
padding:40px 20px;
text-align:left;
font-size:0.8rem;
margin-top:30px;
max-width:700px;
margin-left:auto;
margin-right:auto;
box-sizing:border-box;
font-family: sans-serif;
}

.footer {
width: 100%;
padding: 2rem 3rem;
color: #7c7b7b;
border-radius:1rem 1rem 0rem 0rem;
}

.footer-columns {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 40px;
margin-bottom: 3rem;
color: #7c7b7b;
}

.footer-column h4 {
font-size: 0.7rem;
margin-bottom: 1rem;
}

.footer-column p {
font-size: 10px;
}

.footer-disclaimer {
padding-top: 0.2rem;
font-size: 10px;
line-height: 1.6;
}

.footer-botones {
display: flex;
justify-content: center;
align-items: center;
gap: 30px;
width: 100%;
padding: 30px 30px; 
margin-bottom: 20px;
}

.boton-dgpc {
width: 43px;
opacity: 0.9;
border: 2px solid #FFA365;
border-radius: 50px;
padding: 7px;
box-shadow: 0 0px 3px #FFA365; 
}

.boton-onu {
width: 45px;
opacity: 0.8;
border: 2px solid #FFA365;
border-radius: 50px;
padding: 7px;
box-shadow: 0 0px 3px #FFA365;  
}

.boton-flecha {
width: 43px;
opacity: 0.7;
border: 3px solid #FFA365;
border-radius: 50px;
padding: 7px;
box-shadow: 0 0px 3px #FFA365; 
}