: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: #292E33;
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: #FADBB3;
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: #ED6C3A;
color: #FADBB3;                
transform: translateY(-2px);    
}

.nav-boton.activo { 
background-color: #ED6C3A;
color: #FADBB3;
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-index {
font-family: sans-serif;
background-color: #FADBB3;
color: #292E33;
letter-spacing: 0rem;
line-height: 1.2;
width: 100%;
max-width: 900px;
margin: 0 auto;
padding-bottom: 40px;
text-align: center;
background-image: url("../imagenes/fondoondeado2.png");
background-size: cover;
background-position: center;
background-repeat: no-repeat;
animation: moverFondoOndeado 20s ease-in-out infinite;
}

@keyframes moverFondoOndeado {
    0% {
        background-position: 50% 50%; 
    }
    25% {
        background-position: 18% 82%; 
    }
    50% {
        background-position: 18% 88%; 
    }
    75% {
        background-position: 19% 81%; 
    }
    100% {
        background-position: 50% 50%; 
    }
}

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

h2 {
text-align: center;
font-family: sans-serif;
font-weight: 750;
color: #ED6C3A;
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 10rem 1rem 10rem;
margin-bottom: 2rem;
text-align: center;
background-size: cover;
background-repeat: no-repeat;
background-position: center;
background-attachment: fixed;
}

.parrafo-quiensoy {
padding: 0 6rem 1rem 6rem;   
}

.texto-mapa{
padding: 2rem 6rem 1rem 6rem;  
margin-top: -20px;
}

/*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 {      
max-width: 400px;
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: 350px;
margin-bottom: -60px;
border-radius: 10px;
box-shadow:  0 10px 20px rgba(0,0,0,0.5);
max-width: 800px; 
margin-bottom: 40px;
}

.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: #292E33; 
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; 
margin-bottom: 15px;
}

.name {
font-size: 1.1rem;
font-weight: 500;
color: #FADBB3;
margin: 0 0 5px 0;
}

.role {
font-size: 0.85rem;
color: #FADBB3;
margin: 0 0 30px 0;
}

.btn {
background-color: #ED6C3A;
color: #FADBB3;
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: #ED6C3A;
transform: translateX(6px);
box-shadow: 0 3px 9px #ED6C3A;
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: #ED6C3A;  
border-radius: var(--radio-medio);        
padding: 15px 5px;
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: 55px;
height: 90px;
display: flex;
align-items: center;
justify-content: center;
margin-bottom: 0px;
}

.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;
margin-bottom: -50px;
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;
padding: 0 3rem;
}

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

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

.footer-disclaimer {
font-size: 10px;
line-height: 1.6;
text-align: center;
padding: 0 2rem;
}

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

.boton-onu {
width: 48px;
opacity: 0.8;
padding: 7px;
}

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