/* ── FOOTER ──────────────────────────────────────────────── */
.lb-footer {
    background: var(--primary);
    color: var(--primary-foreground);
    padding: 3rem 0 0;
}

.lb-footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2rem 3rem;
    padding-bottom: 3rem;
}

.lb-footer__logo-link {
    display: inline-block;
    text-decoration: none;
    margin-bottom: 0;
}

.lb-footer__logo-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    background: transparent;
    border-radius: 0;
    width: auto;
    height: auto;
    padding: 0;
    margin-bottom: 1.1rem;
    transition: opacity 0.2s, transform 0.2s;
    border: none;
}
.lb-footer__logo-link:hover .lb-footer__logo-wrap {
    transform: scale(1.04);
    opacity: 0.85;
}

.lb-footer__logo-img {
    height: 65px;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
    display: block;
}

.lb-footer__tagline {
    font-size: 0.875rem;
    line-height: 1.65;
    color: rgba(248,246,242,0.7);
    max-width: 18rem;
    margin-bottom: 1.5rem;
}

/* Social icons */
.lb-footer__social {
    display: flex;
    gap: 0.75rem;
}

.lb-footer__social-link {
    width: 2.25rem; height: 2.25rem;
    border-radius: 50%;
    background: rgba(248,246,242,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(248,246,242,0.7);
    text-decoration: none;
    transition: background 0.2s, color 0.2s, transform 0.2s;
}
.lb-footer__social-link:hover {
    background: rgba(248,246,242,0.2);
    color: var(--primary-foreground);
    transform: scale(1.1);
}
.lb-footer__social-link:active { transform: scale(0.95); }

.lb-footer__nav-title {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--primary-foreground);
    margin-bottom: 1rem;
    display: block;
}

.lb-footer__nav-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.lb-footer__nav-link {
    font-size: 0.875rem;
    color: rgba(248,246,242,0.7);
    text-decoration: none;
    transition: color 0.2s;
    display: block;
}
.lb-footer__nav-link:hover { color: var(--primary-foreground); }

/* Bottom bar */
.lb-footer__bottom {
    border-top: 1px solid rgba(248,246,242,0.1);
    padding: 2rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-align: center;
}

.lb-footer__copy,
.lb-footer__tagline-bottom {
    font-size: 0.8125rem;
    color: rgba(248,246,242,0.5);
}

/* ── Responsive ── */
@media (min-width: 640px) {
    .lb-footer__bottom { flex-direction: row; justify-content: space-between; text-align: left; }
    .lb-footer__tagline-bottom { text-align: right; }
}

@media (max-width: 900px) {
    .lb-footer__grid { grid-template-columns: 1fr 1fr; }
    .lb-footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 480px) {
    .lb-footer__grid { grid-template-columns: 1fr; }
}

/* Logo en footer — icono blanco limpio sobre fondo azul */
.lb-footer__logo-img,
.lb-footer__logo-wrap img,
.lb-footer__logo-wrap .custom-logo {
    height: 65px !important;
    width: auto !important;
    object-fit: contain;
    display: block;
    filter: brightness(0) invert(1);
    background: transparent !important;
    padding: 0 !important;
    border-radius: 0 !important;
}

/* Logo texto fallback */
.lb-footer__logo-text {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-foreground);
    display: inline-block;
}
