/* --- CABECERA CONTACTO (IDENTIDAD CORPORATIVA UNIFICADA) --- */
.contacto-header {
    padding-top: 180px !important;
    padding-bottom: 40px !important;
    background-color: #001a35 !important;
    position: relative;
    z-index: 1;
    border-bottom: 4px solid #ff0000;
}

.contacto-header .breadcrumb {
    margin-bottom: 15px !important;
    background: transparent;
    padding: 0;
}

.contacto-header .breadcrumb-item,
.contacto-header .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.6) !important;
    font-size: 0.8rem;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 2px;
}

.contacto-header .breadcrumb-item.active {
    color: #ffffff !important;
    font-weight: 700;
}

/* --- GLOBAL / UTILIDADES --- */
.fw-black { font-weight: 900 !important; }
.ls-1 { letter-spacing: 1px; }
.color-azul { color: #001a35; }

/* --- TARJETA DE CONTACTO --- */
.contact-card {
    border-radius: 20px;
    border: none;
    overflow: hidden;
    margin-top: -60px;
    z-index: 5;
    position: relative;
    box-shadow: 0 25px 50px rgba(0,0,0,0.15) !important;
}

.info-box {
    background: #001a35;
    color: white;
    padding: 50px;
}

.form-box {
    padding: 50px;
    background: #fff;
}

/* --- FIX DE ICONOS DINÁMICOS --- */
.contact-icon {
    width: 45px;
    display: flex;
    justify-content: center;
}

/* Forzamos el renderizado de los tags <i> que vienen de la DB */
.contact-icon i, .social-links i {
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    font-family: "Font Awesome 6 Free", "Font Awesome 5 Free", "FontAwesome", sans-serif !important;
}

/* Iconos de la izquierda (Rojos) */
.contact-icon i {
    color: #ff0000 !important;
    font-size: 1.5rem;
    font-weight: 900; /* Necesario para que FA rinda los iconos solidos */
}

/* Iconos de Redes Sociales (Blancos) */
.social-links a i {
    color: #ffffff !important;
    font-size: 1.3rem;
    transition: 0.3s;
}

.social-links a:hover i {
    color: #ff0000 !important;
    transform: scale(1.2);
}

.contact-item {
    transition: 0.3s;
    padding: 10px 0;
}

.contact-item:hover {
    transform: translateX(8px);
}

/* --- FORMULARIO CUSTOM --- */
.form-control-custom {
    border: 1px solid #eee;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    background-color: #f8f9fa;
    transition: 0.3s;
}

.form-control-custom:focus {
    border-color: #ff0000;
    background-color: #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    outline: none;
}

/* --- RESPONSIVE --- */
@media (max-width: 991px) {
    .contacto-header {
        padding-top: 120px !important;
        padding-bottom: 40px !important;
    }
    .contact-card {
        margin-top: 20px;
    }
    .info-box, .form-box {
        padding: 30px;
    }
}
