/* Reset básico para asegurar consistencia */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    }

    body {
    font-family: Arial, sans-serif;
    }

    /* Contenedor general del Footer */
    .custom-footer {
    width: 100%;
    font-size: 14px;
    }

    /* Contenedor de ancho máximo centrado */
    .footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    }

    /* --- SECCIÓN SUPERIOR (Azul Oscuro) --- */
    .footer-top {
    background-color: #1e294b; /* Tono azul oscuro de la imagen */
    color: #ffffff;
    padding: 40px 0;
    }

    .footer-col {
    flex: 1;
    min-width: 160px;
    margin-bottom: 20px;
    }

    .footer-col h3 {
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
    }

    .footer-col h3 .title-link {
    color: #ffffff;
    text-decoration: none;
    text-transform: none;
    }

    .footer-col ul {
    list-style: none;
    }

    .footer-col ul li {
    margin-bottom: 10px;
    }

    .footer-col ul li a {
    color: #e2e8f0;
    text-decoration: none;
    transition: color 0.2s ease;
    }

    .footer-col ul li a:hover {
    color: #ffffff;
    text-decoration: underline;
    }

    /* Columna de contacto y redes */
    .footer-contact {
    text-align: right;
    min-width: 200px;
    }

    .social-icons {
    margin-bottom: 15px;
    }

    .social-icons a {
    color: #ffffff;
    font-size: 20px;
    margin-left: 8px;
    text-decoration: none;
    }

    .address-text p {
    color: #cbd5e1;
    font-size: 13px;
    line-height: 1.4;
    }

    /* --- SECCIÓN INFERIOR (Negro) --- */
    .footer-bottom {
    background-color: #111111;
    color: #ffffff;
    padding: 25px 0;
    font-size: 12px;
    }

    .bottom-flex {
    align-items: center;
    justify-content: space-between;
    }

    .license-info {
    flex: 1;
    max-width: 60%;
    }

    .brand-logo {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    font-size: 14px;
    }

    .logo-circle {
    background-color: #ffffff;
    color: #111111;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 11px;
    margin-right: 6px;
    }

    .license-info p {
    color: #94a3b8;
    line-height: 1.4;
    }

    .license-info a {
    color: #ffffff;
    text-decoration: underline;
    }

    /* Contenedor de logos aliados */
    .partner-logos {
    display: flex;
    align-items: center;
    gap: 20px;
    }

    .partner-logos img {
    opacity: 0.7;
    transition: opacity 0.2s ease;
    filter: grayscale(100%) brightness(200%); /* Hace los logos blancos */
    }

    .partner-logos img:hover {
    opacity: 1;
    }

    /* --- RESPONSIVIDAD (Pantallas Pequeñas) --- */
    @media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
    }
    .footer-col {
        width: 100%;
        margin-bottom: 25px;
    }
    .footer-contact {
        text-align: left;
    }
    .social-icons a {
        margin-left: 0;
        margin-right: 12px;
    }
    .bottom-flex {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    .license-info {
        max-width: 100%;
    }
}