.pie-principal {
    margin-top: 48px;
    padding: 0 0 30px;
}

.pie-contenido {
    background: rgba(255, 255, 255, 0.94);
    border-radius: 14px;
    box-shadow: 0 4px 14px rgba(20, 60, 90, 0.10);
    overflow: hidden;
}

.pie-superior {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    padding: 20px 28px 4px;
}

.pie-marca {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.pie-marca strong {
    color: #183a52;
    font-size: 15px;
}

.pie-marca span {
    color: #71838d;
    font-size: 12px;
}

.pie-enlaces {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px 18px;
}

.pie-enlaces a {
    color: #315d79;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
}

.pie-enlaces a:hover {
    color: #1f79b0;
    text-decoration: underline;
}

.pie-inferior {
    padding: 16px 28px 8px;
    border-top: 1px solid #e4edf2;
    background: rgba(244, 249, 252, 0.78);
    color: #71838d;
    font-size: 11px;
}

@media (max-width: 800px) {
    .pie-superior {
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
        padding: 18px 20px 5px;
    }

    .pie-enlaces {
        justify-content: flex-start;
    }

    .pie-inferior {
        padding: 16px 20px 8px;
    }
}


/* =========================================================
   AJUSTE DE ESPACIADO GENERAL
========================================================= */

.pie-principal {
    margin-top: 30px !important;
    padding-top: 18px !important;
    padding-bottom: 12px !important;
}


/* =========================================================
   PIE MUCHO MÁS PRÓXIMO AL CONTENIDO
========================================================= */

.pie-principal {
    margin-top: 8px !important;
    padding-top: 12px !important;
    padding-bottom: 14px !important;
}


/* =========================================================
   GESTION COOKIES / PIE LEGAL
========================================================= */
.pie-enlaces [data-ets-manage-cookies] {
    cursor: pointer;
}

.pie-inferior {
    line-height: 1.5;
}
