footer {
    position: relative;
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: var(--light);
    padding: 4rem 0 0;
    font-family: 'Montserrat', sans-serif;
    border-top: 3px solid var(--primary);
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.5);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
    text-align: left;
}

.footer-col {
    text-align: left;
}

/* ── Marca ────────────────────────────────── */
.footer-brand .footer-logo {
    height: 45px;
    margin-bottom: 1.2rem;
    filter: brightness(0) invert(1);
    transition: transform 0.3s, filter 0.3s;
}
.footer-brand .footer-logo:hover {
    transform: scale(1.05);
    filter: brightness(0) invert(1) drop-shadow(0 0 6px rgba(255,193,7,0.5));
}

.footer-brand p {
    color: #bbb;
    line-height: 1.7;
    font-size: 0.95rem;
    max-width: 320px;
    margin: 0;
}

/* ── Columnas de navegación ──────────────── */
.footer-col h4 {
    color: var(--primary);
    font-size: 1.1rem;
    margin-bottom: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Roboto Condensed', sans-serif;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
}

.footer-nav ul,
.footer-legal ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav li,
.footer-legal li {
    margin-bottom: 0.8rem;
}

.footer-nav a,
.footer-legal a {
    color: #ccc;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 2px 0;
    border-bottom: 1px solid transparent;
}

.footer-nav a:hover,
.footer-legal a:hover {
    color: var(--primary);
    transform: translateX(6px);
    border-bottom-color: var(--primary);
}

/* Botón Cotizar en el footer */
.footer-cotizar {
    background: var(--primary);
    color: var(--secondary) !important;
    padding: 8px 20px !important;
    border-radius: 5px;
    font-weight: 700;
    transition: all 0.3s ease !important;
    border: 2px solid var(--primary) !important;
    display: inline-block !important;
    margin-top: 0.25rem;
    letter-spacing: 0.5px;
}

.footer-cotizar:hover {
    background: transparent !important;
    color: var(--primary) !important;
    transform: translateX(0) translateY(-2px) !important;
    border-bottom-color: var(--primary) !important;
    box-shadow: 0 5px 15px rgba(255,193,7,0.25);
}

/* ── Footer bottom ───────────────────────── */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    padding: 1.8rem 0;
    border-top: 1px solid rgba(255,255,255,0.08);
    font-size: 0.9rem;
    color: #999;
}

.footer-bottom p {
    margin: 0;
}

.credit {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #aaa;
}

.credit a {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    text-decoration: none;
    color: #aaa;
    transition: all 0.3s;
}

.credit a:hover {
    color: var(--primary);
}

.credit-logo {
    height: 28px;
    width: auto;
    vertical-align: middle;
    transition: all 0.3s;
    filter: grayscale(0.3) brightness(1.2);
}

.credit a:hover .credit-logo {
    filter: grayscale(0) brightness(1) drop-shadow(0 0 3px rgba(255,193,7,0.5));
    transform: scale(1.05);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }

    .footer-col {
        text-align: center;
    }

    .footer-col h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-brand p {
        margin: 0 auto;
        max-width: 100%;
    }

    .footer-nav ul,
    .footer-legal ul {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-nav a,
    .footer-legal a {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .credit {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    footer {
        padding: 3rem 0 0;
    }
    
    .footer-grid {
        gap: 2rem;
    }
}