/* =========================================
   FOOTER COOBOOK – COMPLETO (sin subrayados)
   ========================================= */

.cb-footer-wrap {
    width: 100%;
    background: radial-gradient(circle at 10% 0%, rgba(28, 69, 150, 0.55) 0%, rgba(3, 8, 20, 1) 55%, #050814 100%);
    border-top: 1px solid rgba(150, 195, 255, 0.18);
}

/* Evita que Cassiopeia limite el ancho del footer */
.container-footer.footer.full-width .grid-child {
    max-width: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
}

.cb-footer {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 3.6rem 5vw 2.8rem;
    box-sizing: border-box;
    color: #e6eeff;
    font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* Quitar subrayados y estilos heredados del template */
.cb-footer a,
.cb-footer a:visited,
.cb-footer a:hover,
.cb-footer a:active {
    text-decoration: none !important;
    box-shadow: none !important;
    border-bottom: none !important;
}

/* ---------- TOP ---------- */

.cb-footer-top {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    gap: 2.6rem;
    margin-bottom: 2.6rem;
}

.cb-footer-brand {
    display: flex;
    align-items: flex-start;
    gap: 1.4rem;
    flex: 1.4;
}

.cb-footer-seal img {
    max-width: 92px;
    height: auto;
    opacity: 0.55;
    filter: grayscale(100%);
    user-select: none;
    pointer-events: none;
}

.cb-footer-brand-text {
    max-width: 26rem;
}

.cb-footer-title {
    font-size: 1.25rem;
    letter-spacing: .1em;
    font-weight: 600;
    margin: 0 0 .4rem;
    color: rgba(255,255,255,.95);
}

.cb-footer-tagline {
    font-size: .92rem;
    line-height: 1.55;
    margin: 0;
    color: rgba(230, 238, 255, .78);
}

.cb-footer-company {
    margin-top: .75rem;
    font-size: .75rem;
    color: rgba(230, 238, 255, .55);
}

/* Tarjeta LEI */
.cb-footer-lei {
    flex: 1;
    padding: 1.1rem 1.6rem 1.2rem;
    border-radius: 18px;
    background: radial-gradient(circle at 0 0, rgba(120, 170, 255, 0.25) 0%, rgba(8, 16, 40, 0.95) 55%);
    border: 1px solid rgba(150, 195, 255, 0.35);
    box-shadow: 0 0 26px rgba(50, 110, 220, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .35rem;
    text-align: center;
}

.cb-lei-label {
    font-size: .75rem;
    text-transform: uppercase;
    letter-spacing: .2em;
    opacity: .75;
}

.cb-lei-value {
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: .18em;
    color: rgba(255,255,255,.95);
}

.cb-lei-managed {
    margin-top: .45rem;
    font-size: .82rem;
    color: rgba(230, 238, 255, .85);
}

.cb-lei-managed strong {
    color: #9bbdff;
}

/* ---------- MIDDLE ---------- */

.cb-footer-middle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.cb-footer-social-title {
    font-size: .75rem;
    text-transform: uppercase;
    letter-spacing: .25em;
    color: rgba(230, 238, 255, .65);
    margin: 0 0 .75rem;
}

.cb-footer-social-list {
    display: flex;
    flex-wrap: wrap;
    gap: .55rem;
}

.cb-chip {
    display: inline-block;
    padding: .42rem .95rem;
    border-radius: 999px;
    border: 1px solid rgba(160, 205, 255, 0.25);
    background: rgba(4, 10, 25, 0.8);
    color: rgba(255,255,255,.92);
    font-size: .72rem;
    transition: all .2s ease;
    backdrop-filter: blur(3px);
}

.cb-chip:hover {
    border-color: rgba(160, 205, 255, 0.6);
    background: rgba(20, 90, 220, 0.3);
    transform: translateY(-1px);
}

.cb-footer-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .8rem;
    justify-content: center;
}

.cb-btn {
    display: inline-block;
    padding: .56rem 1.45rem;
    border-radius: 999px;
    font-size: .82rem;
    font-weight: 500;
    letter-spacing: .04em;
    cursor: pointer;
    transition: all .25s ease;
    white-space: nowrap;
}

.cb-btn-primary {
    background: linear-gradient(135deg, #4f9bff 0%, #0054ff 100%);
    color: #fff;
    box-shadow: 0 0 15px rgba(79, 155, 255, 0.4);
}

.cb-btn-primary:hover {
    filter: brightness(1.07);
    transform: translateY(-2px);
    box-shadow: 0 0 22px rgba(79, 155, 255, 0.65);
}

.cb-btn-secondary {
    background: rgba(8, 16, 40, 0.8);
    color: rgba(255,255,255,.92);
    border: 1px solid rgba(140, 190, 255, 0.45);
}

.cb-btn-secondary:hover {
    background: rgba(20, 40, 90, 0.9);
    border-color: rgba(160, 205, 255, 0.8);
    transform: translateY(-2px);
}

/* ---------- LINKS (3 columnas) ---------- */

.cb-footer-links {
    display: grid;
    gap: 3rem;
    border-top: 1px solid rgba(240, 243, 252, .03);
    border-bottom: 1px solid rgba(240, 243, 252, .03);
    padding: 2.4rem 0 2.2rem;
}

.cb-footer-links--3 {
    grid-template-columns: repeat(3, minmax(220px, 1fr));
}

.cb-footer-col h4 {
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .26em;
    margin: 0 0 1.05rem;
    color: rgba(255,255,255,.95);
}

.cb-footer-col a {
    display: block;
    font-size: .84rem;
    margin-bottom: .62rem;
    color: rgba(230, 238, 255, .72);
    transition: color .12s ease, transform .12s ease;
}

.cb-footer-col a:hover {
    color: rgba(255,255,255,.95);
    transform: translateX(4px);
}

/* ---------- BOTTOM ---------- */

.cb-footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding-top: 1.5rem;
    font-size: .72rem;
    color: rgba(230, 238, 255, .35);
    flex-wrap: center;
}

.cb-footer-bottom-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1.1rem;
}

.cb-footer-bottom-links a {
    color: rgba(230, 238, 255, .55);
    transition: color .15s ease;
}

.cb-footer-bottom-links a:hover {
    color: rgba(255,255,255,.95);
}

/* ---------- Responsive ---------- */

@media (max-width: 1024px) {
    .cb-footer-top {
        flex-direction: column;
        align-items: flex-start;
    }

    .cb-footer-lei {
        align-self: stretch;
    }
}

@media (max-width: 900px) {
    .cb-footer-links--3 {
        grid-template-columns: repeat(2, minmax(200px, 1fr));
        gap: 2.2rem;
    }

    .cb-footer-middle {
        flex-direction: column;
        align-items: flex-start;
    }

    .cb-footer-actions {
        justify-content: flex-start;
    }
}

@media (max-width: 600px) {
    .cb-footer {
        padding: 3rem 1.4rem 2.4rem;
    }

    .cb-footer-seal img {
        max-width: 70px;
    }

    .cb-footer-links--3 {
        grid-template-columns: 1fr;
        gap: 1.6rem;
    }

    .cb-btn {
        width: 100%;
        text-align: center;
    }
}