/* ================================================================
   FOOTER INSTITUCIONAL - Fiduciaria Central
   ================================================================ */

.footer-institucional {
    position: relative;
    background: #fff;
}

/* --- Contenedor interno centrado --- */
.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
}

/* ----------------------------------------------------------------
   Sección principal: info + enlaces
   ---------------------------------------------------------------- */
.footer-main-content {
    background: #fff;
    padding: 60px 0 30px;
    border-top: 4px solid #006525;
}

/* Botón volver arriba */
.footer-social-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.btn-back-to-top {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #006525;
    color: #fff;
    font-size: 18px;
    flex-shrink: 0;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0, 101, 37, 0.3);
    transition: background-color 0.3s;
}
.btn-back-to-top:hover,
.btn-back-to-top:focus {
    background-color: #004a1a;
    color: #fff;
    text-decoration: none;
}

/* Logo en columna derecha */
.footer-logo-right {
    text-align: center;
    margin-bottom: 24px;
}
.footer-logo-main {
    max-height: 130px;
    width: auto;
}

/* Columna de info de la empresa */
.footer-company-details p.footer-company-name {
    font-weight: bold;
    font-size: 22px;
    color: #006525;
    margin: 0 0 10px;
}
.footer-company-details p {
    margin: 0 0 5px;
    font-size: 14px;
    color: #555;
    line-height: 1.6;
}
.footer-company-details a {
    color: #006525;
    text-decoration: none;
}
.footer-company-details a:hover {
    text-decoration: underline;
}

/* Sección contacto */
.footer-contacto-section {
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid #e8e8e8;
}
.footer-contacto-section p {
    margin: 0 0 5px;
    font-size: 13px;
    color: #555;
    line-height: 1.5;
}
.btn-footer-contacto {
    display: inline-block;
    background-color: #003188;
    color: #fff !important;
    padding: 9px 24px;
    border-radius: 4px;
    text-decoration: none !important;
    font-size: 13px;
    margin-top: 10px;
    transition: background-color 0.3s;
    border: none;
}
.btn-footer-contacto:hover {
    background-color: #006525;
}

/* Columna de enlaces de interés */
.footer-links-col {
    padding-top: 4px;
}
.footer-section-title {
    font-weight: bold;
    font-size: 15px;
    color: #222;
    margin: 0 0 14px;
    padding-bottom: 8px;
    border-bottom: 1px solid #ddd;
}
.footer-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-links-list li {
    margin-bottom: 9px;
}
.footer-links-list li a {
    color: #555;
    font-size: 13px;
    text-decoration: none;
    transition: color 0.2s;
}
.footer-links-list li a:hover {
    color: #006525;
}

/* ----------------------------------------------------------------
   Sección logos + redes sociales
   ---------------------------------------------------------------- */
.footer-logos-social-row {
    margin-top: 30px;
    padding-top: 22px;
    border-top: 1px solid #e0e0e0;
}
.footer-partner-logos {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}
.footer-partner-logo {
    max-height: 48px;
    width: auto;
}

/* Iconos redes sociales */
.footer-social-icons {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 14px;
}
.footer-social-icon {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    gap: 5px;
}
.footer-social-icon .fa {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #006525;
    color: #fff;
    font-size: 17px;
    transition: background-color 0.3s;
}
.footer-social-icon:hover .fa {
    background-color: #004a1a;
}
.footer-social-icon span {
    font-size: 10px;
    color: #666;
    text-align: center;
}

/* ----------------------------------------------------------------
   Barra VIGILADO
   ---------------------------------------------------------------- */
.footer-vigilado-bar {
    background: #f5f5f5;
    padding: 10px 0;
    border-top: 1px solid #ddd;
}
.footer-vigilado-bar .footer-inner {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}
.vigilado-bar-label {
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 1.5px;
    color: #333;
    text-transform: uppercase;
}
.vigilado-bar-sep {
    color: #bbb;
    font-size: 14px;
}
.vigilado-bar-sfc {
    font-size: 10px;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ----------------------------------------------------------------
   Barra GOV.CO
   ---------------------------------------------------------------- */
.footer-govco-bar {
    background-color: #003188;
    padding: 15px 0;
}
.footer-govco-bar .footer-inner {
    position: static;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}
.footer-govco-logos {
    display: flex;
    align-items: center;
}
.footer-govco-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none !important;
    opacity: 1;
    transition: opacity 0.3s;
}
.footer-govco-link:hover {
    opacity: 0.85;
}
.footer-govco-img {
    height: 36px;
    width: auto;
}
.footer-govco-divider {
    display: inline-block;
    width: 1px;
    height: 30px;
    background-color: rgba(255, 255, 255, 0.35);
    margin: 0 14px;
    vertical-align: middle;
}
.footer-govco-cta {
    color: #fff;
    font-size: 14px;
    text-decoration: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.45);
    padding-bottom: 2px;
    transition: border-color 0.3s, color 0.3s;
    white-space: nowrap;
}
.footer-govco-cta:hover {
    color: #cce0ff;
    border-bottom-color: #cce0ff;
}

/* ----------------------------------------------------------------
   Responsive
   ---------------------------------------------------------------- */
@media (max-width: 991px) {
    .footer-inner {
        padding: 0 24px;
    }
    .btn-back-to-top {
        right: 24px;
    }
    .footer-links-col {
        margin-top: 30px;
    }
    .footer-social-icons {
        justify-content: flex-start;
        margin-top: 16px;
    }
}
@media (max-width: 767px) {
    .footer-inner {
        padding: 0 16px;
    }
    .btn-back-to-top {
        right: 16px;
        top: 0;
    }
    .footer-govco-bar .footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}
