/* =========================================================
   PRE-FOOTER - SECTION
========================================================= */
.pre-footer {
    padding: 80px 0;
    background-color: var(--color-bg-secondary);
    overflow: hidden;
}

.pre-footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 80px;
}

.pre-footer .pre-footer-logos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
    align-items: center;
}

.pre-footer-logo-item {
    display: flex;
    justify-content: center;
    align-items: center;
}

.pre-footer img {
    max-width: 120px;
    max-height: 120px;
    object-fit: contain;
}

@media (max-width: 1024px) {
    .pre-footer-inner {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

@media (max-width: 580px) {
    .pre-footer .pre-footer-logos {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    .pre-footer .pre-footer-logos>*:last-child:nth-child(odd) {
        grid-column: 1 / -1;
        justify-self: center;
        max-width: 50%;
    }
}

/* =========================================================
   FOOTER - SECTION
========================================================= */
.footer {
    background: var(--color-black);
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.95rem;
}

.site-footer {
    padding-top: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1.4fr;
    gap: 48px;
    padding-bottom: 48px;
}

/* Brand */
.footer-brand {
    max-width: 250px;
    height: fit-content;
}

.footer-brand a img {
    object-fit: contain;
    height: auto;
}

/* Headings */
.footer-heading {
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 20px;
}

/* Nav & Legal */
.footer-nav ul,
.footer-legal ul {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-nav a,
.footer-legal a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-nav a:hover,
.footer-legal a:hover {
    color: #fff;
}

/* Contacto */
.footer-contact address {
    font-style: normal;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.footer-contact address p {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.5;
}

.footer-contact address svg {
    flex-shrink: 0;
    margin-top: 2px;
    opacity: 0.6;
}

/* Social */
.footer-social {
    display: flex;
    gap: 10px;
}

.social-btn {
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.social-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.4);
    color: #fff;
}

/* Bottom bar */
.footer-bottom {
    padding: 20px 0;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.82rem;
    text-align: center;
}

/* Responsive */
@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 36px;
    }
}

@media (max-width: 560px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}