/* Variables de la Paleta de Color */
:root {
    --navy-blue: #0A192F; /* Profundo */
    --navy-light: #1A2234; /* Tarjetas/Hover */
    --red-udg: #E53935; /* Un rojo más moderno y vibrante */
    --red-hover: #D32F2F;
    --text-navy: #0F1D38;
}

/* Base y Tipografía */
body {
    font-family: 'Poppins', sans-serif;
    background-color: #F8FAFC;
    color: #475569;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Clases Utilitarias */
.bg-navy { background-color: var(--navy-blue) !important; }
.bg-red { background-color: var(--red-udg) !important; }
.text-navy { color: var(--text-navy) !important; }
.text-danger { color: var(--red-udg) !important; }

/* Navegación */
.navbar-brand .tracking-tight {
    letter-spacing: -1.5px;
}
.nav-link {
    font-weight: 500;
    transition: color 0.2s ease;
}
.nav-link:hover, .nav-link.active {
    color: var(--red-udg) !important;
}

/* Hero Moderno */
.hero-header {
    background: radial-gradient(circle at top, #1A2234, #0A192F);
}
.hero-pattern {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    /* Placeholder SVG embebido, puedes borrarlo cuando tengas el img/robot-pattern.svg */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cpath fill-rule='evenodd' d='M50 0c27.614 0 50 22.386 50 50s-22.386 50-50 50S0 77.614 0 50 22.386 0 50 0zm0 10c22.091 0 40 17.909 40 40s-17.909 40-40 40S10 72.091 10 50s17.909-40 40-40z' fill='%23ffffff' opacity='0.08'/%3E%3C/svg%3E");
    opacity: 0.1;
}

/* Menú Lateral */
.menu-sidebar {
    background: #FFFFFF;
}
.list-group-item {
    color: #475569;
    border: none;
    font-weight: 500;
    padding: 16px 20px;
    transition: all 0.2s ease;
}
.list-group-item:hover {
    color: var(--red-udg);
    background-color: rgba(229, 57, 53, 0.04);
}
.active-menu {
    color: var(--red-udg) !important;
    background-color: rgba(229, 57, 53, 0.08) !important;
    font-weight: 600;
}

/* Contenido Principal */
.main-content-card h2.border-bottom-ref {
    border-bottom: 3px solid var(--red-udg);
}

.info-box {
    background-color: #FFFFFF;
    border: 1px solid #E2E8F0;
    transition: all 0.3s ease;
}

.info-box:hover {
    border-color: rgba(229, 57, 53, 0.5);
    box-shadow: 0 10px 15px -3px rgba(10, 25, 47, 0.1), 0 4px 6px -2px rgba(10, 25, 47, 0.05);
    transform: translateY(-2px);
}

.contact-badge {
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    font-weight: 600;
    white-space: nowrap;
}

/* NUEVA REGLA PARA LA FOTO DEL JEFAZO */
/* Esta clase controla el tamaño y el encuadre perfecto de la imagen */
.coordinator-photo {
    object-fit: cover; /* Asegura que la imagen llene el círculo sin deformarse */
    object-position: 50% 30%; /* Shifting focus ligeramente hacia arriba para empujar la cara HACIA ABAJO en el encuadre */
    width: 100px !important; /* Nuevo tamaño más grande */
    height: 100px !important;
}

/* Footer */
footer {
    border-top: 1px solid rgba(255,255,255,0.05);
}