/* Ruta: /assets/css/gerencia.css */

/* --- CONFIGURACIÓN DE FUENTES GRUPAL --- */
body, p, span, .hero-subtitle, .btn-gerencia-animado, .lerwen-pill-checkbox label {
    font-family: 'Work Sans', sans-serif !important;
}

/* --- HERO SECTION --- */
.hero-subtitle {
    font-size: 1.75rem;
    font-weight: 400;
    line-height: 1.7;
    color: #ffffff !important;
}

/* --- BOTÓN GERENCIA ANIMADO (Efecto Draw) --- */
.btn-gerencia-animado {
    position: relative;
    background-color: transparent !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.3);
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.btn-gerencia-animado::before,
.btn-gerencia-animado::after {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    box-sizing: border-box;
    border: 2px solid transparent;
    z-index: 2;
}

.btn-gerencia-animado::before { top: 0; left: 0; }
.btn-gerencia-animado::after { bottom: 0; right: 0; }

.btn-gerencia-animado:hover::before {
    width: 100%;
    height: 100%;
    border-top-color: #ffffff;
    border-right-color: #ffffff;
    transition: width 0.15s linear, height 0.15s linear 0.15s;
}

.btn-gerencia-animado:hover::after {
    width: 100%;
    height: 100%;
    border-bottom-color: #ffffff;
    border-left-color: #ffffff;
    transition: border-color 0s linear 0.3s, width 0.15s linear 0.3s, height 0.15s linear 0.45s;
}

.btn-gerencia-animado:hover {
    background-color: rgba(255, 255, 255, 0.05) !important;
}

/* --- PILARES OPERATIVOS (Tarjetas) --- */
.pillar-sticky-card {
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    border: 1px solid rgba(0,0,0,0.05) !important;
}

.pillar-sticky-card:hover {
    transform: translateY(-10px) !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1) !important;
}

.sticky-column {
    position: -webkit-sticky;
    position: sticky;
    top: 30vh;
    z-index: 2;
}

/* --- CHECKBOXES TIPO PASTILLA (PILLS) --- */
.lerwen-pill-checkbox input[type="checkbox"] {
    display: none;
}

.lerwen-pill-checkbox label {
    display: inline-block;
    padding: 10px 20px;
    background-color: #ffffff;
    border: 1px solid #dee2e6;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    color: #6c757d;
    cursor: pointer;
    transition: all 0.3s ease;
    user-select: none;
}

.lerwen-pill-checkbox label:hover {
    border-color: #111;
    color: #111;
}

.lerwen-pill-checkbox input[type="checkbox"]:checked + label {
    background-color: #111;
    border-color: #111;
    color: #ffffff;
}

.lerwen-pill-checkbox.sub-pill label {
    padding: 6px 16px;
    font-size: 0.8rem;
    background-color: #f8f9fa;
}

/* --- RESPONSIVO --- */

/* Hero */
@media (max-width: 991px) {
    .gerencia-hero h1.display-4 { font-size: 2.5rem !important; }
    .hero-subtitle { font-size: 1.25rem !important; }
}

@media (max-width: 768px) {
    .gerencia-hero h1.display-4 {
        font-size: 1.8rem !important;
        line-height: 1.3 !important;
    }
    .hero-subtitle {
        font-size: 1.1rem !important;
        line-height: 1.5 !important;
        padding: 0 15px;
    }
}

/* Pilares en Móvil */
@media (max-width: 991px) {
    #pilares-operativos .col-lg-4 {
        position: sticky !important;
        top: 100px !important; 
        z-index: 10 !important;
        background-color: #f8f9fa !important;
        padding-top: 1.5rem !important;
        padding-bottom: 2rem !important;
        box-shadow: 0 10px 15px -10px rgba(0,0,0,0.05) !important; 
    }

    .sticky-column {
        position: relative !important;
        top: auto !important;
    }

    .pillar-sticky-card {
        margin-bottom: 2rem !important;
        box-shadow: none !important;
    }

    #pilares-operativos .row.g-5 {
        --bs-gutter-x: 1.5rem !important;
    }
}

/* Referencia de imagen futura */
/* background-image: url('/assets/img/fondo-claro.jpg'); */