:root {
    --bg-crema: #f6f2ea;
    --jcf-azul: #282d6b;
    --jcf-rosa: #ea5a80;
    --jcf-naranja: #f29e29;
    --jcf-celeste: #49b9e7;
    --blanco: #ffffff;
    --negro-pro: #000000;
}

body { background-color: var(--bg-crema); margin: 0; font-family: 'Helvetica', Arial, sans-serif; scroll-behavior: smooth; }

/* Header */
header { background: var(--blanco); padding: 10px 5%; border-bottom: 2px solid #eee; position: sticky; top: 0; z-index: 100; }
.nav-container { display: flex; justify-content: space-between; align-items: center; max-width: 1200px; margin: 0 auto; }
.logo-nav-group { display: flex; align-items: center; gap: 15px; }
.small-logo { height: 40px; }
.main-menu a { text-decoration: none; color: var(--jcf-azul); font-weight: bold; margin-right: 15px; font-size: 12px; }
.social-icons img { height: 22px; margin-left: 10px; }

/* Identidad */
.identity-section { padding: 40px 5%; background: var(--blanco); }
.identity-container { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.identity-card { text-decoration: none; background: var(--bg-crema); padding: 30px; text-align: center; border-radius: 8px; border-bottom: 4px solid var(--jcf-azul); transition: 0.3s; }
.identity-card:hover { transform: translateY(-5px); background: var(--jcf-azul); color: white !important; }
.identity-card h3 { color: var(--jcf-azul); margin: 10px 0; }
.identity-card:hover h3 { color: white; }

/* Main Layout */
.main-layout { display: grid; grid-template-columns: 3fr 1fr; gap: 40px; padding: 40px 5%; max-width: 1200px; margin: 0 auto; }

/* Grid de Personas */
.grid-profiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 20px; }
.profile-card { background: var(--blanco); border-radius: 8px; overflow: hidden; box-shadow: 0 2px 5px rgba(0,0,0,0.05); }
.img-container { width: 100%; height: 200px; background: #eee; }
.img-container img { width: 100%; height: 100%; object-fit: cover; }
.card-info { padding: 15px; }
.card-info h3 { margin: 10px 0 5px; color: var(--jcf-azul); font-size: 1.1rem; }
.tag { font-size: 9px; padding: 2px 6px; color: white; font-weight: bold; border-radius: 2px; text-transform: uppercase; }
.tag.blue { background: var(--jcf-azul); }
.tag.pink { background: var(--jcf-rosa); }
.tag.orange { background: var(--jcf-naranja); }
.tag.light-blue { background: var(--jcf-celeste); }
.tag.black { background: #000; }
.tag.green { background: #27ae60; }
.tag.purple { background: #8e44ad; }

/* Sidebar */
.sidebar-container { display: flex; flex-direction: column; gap: 40px; }
.section-title { border-bottom: 2px solid var(--negro-pro); padding-bottom: 5px; margin-bottom: 15px; font-weight: 900; }
.list-container { display: flex; flex-direction: column; gap: 5px; }
.mini-item { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #000; padding: 8px; transition: 0.2s; }
.mini-item:hover { background: white; border-radius: 4px; }
.mini-img, .mini-icon { width: 45px; height: 45px; background: #eee; border-radius: 4px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; background-size: cover; }
.mini-item p { margin: 0; font-size: 0.85rem; font-weight: bold; }

/* Footer Negro Unificado */
.footer-dark-block { background-color: var(--negro-pro); color: white; padding: 60px 5%; }
.footer-content-wrapper { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; }
.footer-col h3 { color: var(--jcf-rosa); font-size: 0.8rem; letter-spacing: 1px; border-bottom: 1px solid #333; padding-bottom: 10px; margin-bottom: 20px; }
.contact-text-link { color: var(--jcf-naranja); text-decoration: none; font-weight: bold; font-size: 1.3rem; display: block; margin-bottom: 15px; }
.directorio-label { font-size: 0.8rem; color: #888; }
.directorio-link-light { color: #fff; text-decoration: none; font-weight: bold; }
.directorio-name-light { font-weight: bold; font-size: 1.1rem; }
.directorio-lista-light { list-style: none; padding: 0; margin: 0; }
.directorio-lista-light li { margin-bottom: 8px; color: #ccc; font-size: 0.9rem; }

footer { background: var(--negro-pro); color: #444; text-align: center; padding: 20px; font-size: 0.8rem; border-top: 1px solid #111; }

@media (max-width: 900px) {
    .main-layout { grid-template-columns: 1fr; }
    .footer-content-wrapper { grid-template-columns: 1fr; text-align: center; }
}