section#dependencias {
    padding: 2rem 1rem;
    background: white;
    max-width: 1100px;
    margin: 1rem auto;
    border-radius: 14px;
    box-shadow: 0 6px 16px rgba(0,0,0,.08);
}

section#dependencias h1 {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 800;
    color: #001f3f;
    margin-bottom: 2.5rem;
}

/* GRID */
.grid-dependencias {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.7rem;
}

/* TARJETA */
.dependencia {
    background: white;
    border-left: 6px solid #001f3f;
    padding: 1.6rem 1.3rem;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0,0,0,.10);
    transition: transform .25s ease, box-shadow .25s ease;
}

.dependencia:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 26px rgba(0,0,0,.15);
}

/* PRESIDENTE DESTACADO */
.dependencia.principal {
    grid-column: 1 / -1;
    max-width: 480px;
    margin: 0 auto 2rem auto;
    padding: 2.3rem 1.5rem;
    box-shadow: 0 10px 28px rgba(0,0,0,.15);
}

.dependencia h3 {
    color: #001f3f;
    font-size: 1.2rem;
    margin-bottom: .5rem;
}

.dependencia p {
    font-size: .95rem;
    font-weight: 600;
    color: #333;
    margin: .2rem 0;
}

/* BOTONES */
.acciones {
    margin-top: 1rem;
    display: flex;
    gap: .8rem;
}

.acciones a {
    background: #001f3f;
    color: white;
    padding: .5rem 1rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 700;
    font-size: .85rem;
}

.acciones a:hover {
    background: #003366;
}

/* RESPONSIVE */
@media (max-width: 600px) {
    section#dependencias h1 {
        font-size: 1.8rem;
    }
}
