/* Footer (RY Drywall) */
.footer {
    position: relative;
    overflow: hidden;
    background: #07090C;
    color: rgba(255, 255, 255, 0.9);
    padding: 3.5rem clamp(1rem, 4vw, 2.5rem) 2.2rem;
    box-sizing: border-box;
}

.footer * {
    box-sizing: border-box;
}

/* Watermark inferior izquierdo (mismo look que .ba-cta__bg) */
.footer__bg {
    position: absolute;
    inset: 0;
    background-image: url('../res/img/icon_house.svg');
    background-position: left 1.25rem bottom 1.25rem;
    background-repeat: no-repeat;
    background-size: min(620px, 75vw);
    opacity: 0.09;
    filter: invert(1) brightness(0.42);
    pointer-events: none;
    z-index: 0;
}

.footer__inner {
    position: relative;
    z-index: 1;
    max-width: 1400px;
    margin: 0 auto;
}

.footer__top {
    display: grid;
    grid-template-columns: 1.15fr 1fr 1fr 1fr;
    gap: clamp(1.75rem, 4vw, 3rem);
    align-items: start;
}

.footer__logo img {
    width: 210px;
    max-width: 100%;
    display: block;
}

.footer__desc {
    margin: 0.9rem 0 0 0;
    font-family: 'Poppins Regular', 'Outfit', sans-serif;
    font-weight: 400;
    font-size: 0.9rem;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.72);
}

.footer__heading {
    margin: 0 0 0.85rem 0;
    font-family: 'Poppins Bold', 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.9);
}

.footer__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.55rem;
}

.footer__list a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    font-family: 'Poppins', 'Outfit', sans-serif;
    font-weight: 400;
    font-size: 0.9rem;
}

.footer__list a:hover {
    color: #F6B21C;
}

.footer__list--contact a {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.footer__icon {
    width: 16px;
    height: 16px;
    display: block;
    opacity: 0.9;
    flex: 0 0 auto;
}

.footer__terms {
    display: inline-block;
    margin-top: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-family: 'Poppins', 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 0.88rem;
}

.footer__terms:hover {
    color: #F6B21C;
}

.footer__locations {
    margin-top: 2.2rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(246, 178, 28, 0.25);
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 0.9rem;
    align-items: center;
    justify-items: center;
    color: rgba(255, 255, 255, 0.55);
    font-family: 'Poppins', 'Outfit', sans-serif;
    font-size: 0.82rem;
}

.footer__bottom {
    margin-top: 1.35rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.6rem 1.25rem;
    color: rgba(255, 255, 255, 0.5);
    font-family: 'Poppins', 'Outfit', sans-serif;
    font-size: 0.78rem;
}

@media (max-width: 1024px) {
    .footer__top {
        grid-template-columns: 1fr 1fr;
    }

    .footer__locations {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        justify-items: start;
    }
}

@media (max-width: 600px) {
    .footer__top {
        grid-template-columns: 1fr;
    }

    .footer__locations {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}