/* Footer compact layout */
footer#contacto {
    padding: 28px 0 18px !important;
}

.footer-brand {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 14px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255,255,255,0.07);
}

.footer-brand__left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-brand__logo {
    height: 24px;
    width: auto;
}

.footer-brand__tagline {
    color: #6b7280;
    font-size: 0.9rem;
}

.footer-brand__social {
    display: flex;
    gap: 4px;
}

.footer-brand__social a {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    border-radius: 5px;
    background: rgba(255,255,255,0.06);
    transition: background 0.2s;
}

.footer-brand__social a:hover {
    background: rgba(255,255,255,0.14);
}

.footer-brand__social svg {
    width: 13px;
    height: 13px;
    color: #9ca3af;
}

.footer-brand__social a:hover svg {
    color: #fff;
}

/* 3-column nav grid */
.footer-nav-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 24px;
    margin-bottom: 14px;
}

.footer-nav-grid h3 {
    font-size: 0.8rem;
    font-weight: 700;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 5px;
}

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

.footer-nav-grid li {
    margin-bottom: 1px;
    line-height: 1.5;
}

.footer-nav-grid a {
    color: #6b7280;
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.15s;
}

.footer-nav-grid a:hover {
    color: #fff;
}

/* Producto: 2 mini-columns to reduce height */
.footer-nav-grid nav:first-child ul {
    columns: 2;
    column-gap: 16px;
}

/* Bottom bar */
.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 10px;
    border-top: 1px solid rgba(255,255,255,0.07);
    flex-wrap: wrap;
    gap: 6px;
}

.footer-bottom__left {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.footer-bottom__copy {
    color: #4b5563;
    font-size: 0.8rem;
}

.footer-bottom__legal {
    display: flex;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-bottom__legal a {
    color: #4b5563;
    font-size: 0.8rem;
    text-decoration: none;
    transition: color 0.15s;
}

.footer-bottom__legal a:hover {
    color: #fff;
}

.footer-bottom__lang {
    display: flex;
    align-items: center;
    gap: 5px;
}

.footer-bottom__lang svg {
    width: 11px;
    height: 11px;
    color: #4b5563;
}

.footer-bottom__lang select {
    background: #1f2937;
    color: #d1d5db;
    font-size: 0.85rem;
    border-radius: 5px;
    border: 1px solid #374151;
    padding: 2px 6px;
}

@media (max-width: 480px) {
    .footer-brand {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    .footer-brand__tagline {
        display: none;
    }
    .footer-nav-grid {
        gap: 14px;
    }
    .footer-nav-grid nav:first-child ul {
        columns: 1;
    }
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ============================================================
   WHATSAPP FLOTTANT (FacilFactura Match)
   ============================================================ */
.wa-float {
    position: fixed;
    bottom: 1.75rem;
    right: 1.75rem;
    z-index: 9999;
    width: 58px;
    height: 58px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37,211,102,.45);
    text-decoration: none;
    opacity: 0;
    transform: scale(.7) translateY(20px);
    transition: opacity .4s ease, transform .4s ease, box-shadow .25s ease;
    overflow: visible;
}
.wa-float--visible {
    opacity: 1;
    transform: scale(1) translateY(0);
}
.wa-float:hover {
    box-shadow: 0 6px 28px rgba(37,211,102,.6);
    transform: scale(1.08) translateY(0);
}
.wa-float svg {
    width: 32px;
    height: 32px;
    fill: #fff;
    flex-shrink: 0;
}
.wa-float__label {
    position: absolute;
    right: calc(100% + 12px);
    top: 50%;
    transform: translateY(-50%);
    background: #111827;
    color: #fff;
    font-size: .8rem;
    font-weight: 600;
    white-space: nowrap;
    padding: .4rem .8rem;
    border-radius: .5rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease;
}
.wa-float__label::after {
    content: '';
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-left-color: #111827;
}
.wa-float:hover .wa-float__label { opacity: 1; }
@media (max-width: 480px) {
    .wa-float { bottom: 1rem; right: 1rem; width: 52px; height: 52px; }
    .wa-float__label { display: none; }
}

