.hero{
    background: url('../soco.png') center/cover no-repeat;
    height:450px;
    display:flex;
    align-items:center;
    justify-content:center;
    text-align:center;
    
}




.hero-overlay{
    position:relative;
    color:black;
    text-align:center;
}

.hero-overlay h1{
    font-size:38px;
    font-weight:700;
}

.hero-overlay p{
    margin:15px 0;
    font-size:18px;
}

.btn-hero{
    background:#c7b27a;
    color:#5b0f1b;
    padding:12px 30px;
    text-decoration:none;
    font-weight:600;
    border-radius:30px;
    transition:0.3s;
}

.btn-hero:hover{
    background:white;
}
/* ===== PRESIDENTE ===== */
.presidente{
    padding:80px 10%;
    background:white;
}

.presidente-container{
    display:flex;
    align-items:center;
    gap:50px;
    flex-wrap:wrap;
}

.presidente-container img{
    width:320px;
    border-radius:10px;
    box-shadow:0 10px 25px rgba(0,0,0,0.15);
}

.presidente-text h2{
    color:#5b0f1b;
    margin-bottom:15px;
}

.presidente-text p{
    margin-bottom:20px;
    line-height:1.6;
}

.btn-leer{
    background:#5b0f1b;
    color:white;
    padding:10px 25px;
    text-decoration:none;
    border-radius:25px;
}
/* ===== NOTICIAS ===== */
.noticias{
    padding:80px 10%;
    background:#f5f5f5;
    text-align:center;
}

.noticias h2{
    color:#5b0f1b;
    margin-bottom:40px;
}

.noticias-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:30px;
}

.card{
    background:white;
    border-radius:10px;
    overflow:hidden;
    box-shadow:0 8px 20px rgba(0,0,0,0.1);
    transition:0.3s;
}

.card:hover{
    transform:translateY(-5px);
}

.card img{
    width:100%;
    height:200px;
    object-fit:cover;
}

.card h3{
    padding:15px;
    color:#5b0f1b;
}

.card p{
    padding:0 15px 20px;
}
.servicios{
    padding:60px 10%;
    background:white;
    text-align:center;
}

.servicios-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(200px,1fr));
    gap:20px;
    margin-top:30px;
}

.servicios-grid a{
    background:#5b0f1b;
    color:white;
    padding:20px;
    text-decoration:none;
    border-radius:10px;
    font-weight:600;
    transition:0.3s;
}

.servicios-grid a:hover{
    background:#c7b27a;
    color:#5b0f1b;
}

.menu > li > a:hover,
.menu > li:hover > a{
    background:#5b0f1b;
    color:white;
    padding:8px 12px;
    border-radius:20px;
    transition:0.3s ease;
}


.dropdown{
    position:absolute;
    top:100%;
    left:0;
    background:#5b0f1b;
    min-width:220px;
    box-shadow:0 12px 25px rgba(0,0,0,1);
    text-align:left;
    border-radius:8px;
    overflow:hidden;
    z-index:999;
    border-top:4px solid #5b0f1b;
    opacity:0;
    visibility:hidden;
    transform:translateY(8px);
    transition:all 0.25s ease;
}
.dropdown a{
    color:white;
    padding:12px 18px;
    display:block;
    text-decoration:none;
    transition:0.2s;
}

.dropdown a:hover{
    background:#7a1e2c;
    color:white;
}


.menu li:hover .dropdown{
    opacity:1;
    visibility:visible;
    transform:translateY(0);
}


.menu li{
    position:relative;
    padding-bottom:10px; /* puente invisible */
}

.menu li::after{
    content:"";
    position:absolute;
    left:0;
    bottom:-15px;
    width:100%;
    height:15px;
}
/* Cuando el enlace está activo (clic presionado) */
.menu > li > a:active{
    background:#5b0f1b;
    color:white;
    border-radius:20px;
}

/* Cuando quieras marcar la página actual */
.menu > li > a.activo{
    background:#5b0f1b;
    color:white;
    padding:8px 12px;
    border-radius:20px;
}



.logo-container{
    position:relative;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:60px;
    flex-wrap:wrap;
}

.logo-container img{
    height:80px;
}

.titulo-central{
    text-align:center;
}

.titulo-central h1{
    font-size:32px;
    color:#5b0f1b;
    font-weight:700;
}

.titulo-central p{
    color:#5b0f1b;
    font-weight:600;
    margin-top:5px;
}

.footer{
    background:#5b0f1b; /* color institucional */
    color:white;
    margin-top:60px;
    border-top:4px solid #c7b27a;
}

.footer-container{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:40px;
    max-width:1200px;
    margin:auto;
    padding:50px 20px;
    text-align:left; /* 🔥 clave */
}

.footer-col h3{
    margin-bottom:15px;
    border-left:4px solid #c7b27a;
    padding-left:10px;
    font-size:18px;
}

.footer-col p{
    margin:10px 0;
    font-size:14px;
    line-height:1.6;
}

/* Iconos */
.footer-col p span{
    margin-right:8px;
}

/* Redes sociales */
.social{
    margin-top:10px;
}

.social a{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    margin-right:10px;
    width:42px;
    height:42px;
    background:#7a1e2c;
    border-radius:8px;
    text-decoration:none;
    font-size:18px;
    transition:0.3s;
}

.social a:hover{
    background:#c7b27a;
    color:#5b0f1b;
    transform:translateY(-3px);
}

/* Parte inferior */
.footer-bottom{
    text-align:center;
    padding:18px;
    background:#3a0a12;
    font-size:13px;
}