/**
 * Footer Pixel
 * Remodelando Pixel
 *
 * Footer aislado del resto del theme.
 */

/* =========================================================
   FOOTER GENERAL
   ========================================================= */

.rmd-pixel-footer {
    position: relative;
    color: rgba(255, 255, 255, 0.76);
    background: #201e18;
}

.rmd-pixel-footer a {
    color: inherit;
}

.rmd-pixel-footer__main {
    position: relative;
    padding: 72px 0 62px;
    overflow: hidden;
}

/* Detalle decorativo */

.rmd-pixel-footer__main::after {
    position: absolute;
    right: -90px;
    bottom: -120px;
    width: 330px;
    height: 330px;
    border-radius: 50%;
    content: "";
    pointer-events: none;
    background:
        radial-gradient(
            circle,
            rgba(185, 214, 111, 0.10) 0%,
            rgba(185, 214, 111, 0) 68%
        );
}


/* =========================================================
   GRID
   ========================================================= */

.rmd-pixel-footer__grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns:
        minmax(260px, 1.45fr)
        minmax(150px, .72fr)
        minmax(165px, .78fr)
        minmax(220px, 1fr);
    gap: 56px;
}


/* =========================================================
   MARCA
   ========================================================= */

.rmd-pixel-footer__brand {
    max-width: 360px;
}

.rmd-pixel-footer__logo {
    margin-bottom: 22px;
}

.rmd-pixel-footer__logo a {
    display: inline-block;
}

.rmd-pixel-footer__logo img {
    width: auto;
    max-width: 230px;
    max-height: 85px;
    object-fit: contain;

    /*
     * El logo original tiene texto negro.
     * Esto permite que siga siendo legible
     * sobre el footer oscuro.
     */
    padding: 11px 15px;
    border-radius: 8px;
    background: var(--rmd-white);
}

.rmd-pixel-footer__brand-name {
    color: var(--rmd-white);
    font-family: var(--rmd-font-heading);
    font-size: 25px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.rmd-pixel-footer__description {
    max-width: 330px;
    margin-bottom: 26px;
    color: rgba(255, 255, 255, 0.64);
    font-size: 14px;
    line-height: 1.75;
}


/* =========================================================
   WHATSAPP
   ========================================================= */

.rmd-pixel-footer__whatsapp {
    display: inline-flex;
    padding: 10px 14px;
    border: 1px solid rgba(185, 214, 111, 0.28);
    border-radius: 8px;
    align-items: center;
    gap: 11px;
    background: rgba(185, 214, 111, 0.06);
}

.rmd-pixel-footer__whatsapp:hover {
    border-color: var(--rmd-green);
    background: rgba(185, 214, 111, 0.12);
}

.rmd-pixel-footer__whatsapp-icon {
    display: flex;
    width: 31px;
    height: 31px;
    flex: 0 0 31px;
    align-items: center;
    justify-content: center;
    color: var(--rmd-green);
}

.rmd-pixel-footer__whatsapp-icon svg {
    width: 27px;
    height: 27px;
}

.rmd-pixel-footer__whatsapp > span:last-child {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
}

.rmd-pixel-footer__whatsapp strong {
    color: var(--rmd-white);
    font-size: 13px;
    font-weight: 700;
}

.rmd-pixel-footer__whatsapp small {
    margin-top: 3px;
    color: rgba(255, 255, 255, 0.53);
    font-size: 10px;
}


/* =========================================================
   TÍTULOS
   ========================================================= */

.rmd-pixel-footer__column h3 {
    position: relative;
    margin-bottom: 24px;
    padding-bottom: 11px;
    color: var(--rmd-white);
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.rmd-pixel-footer__column h3::after {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 31px;
    height: 2px;
    content: "";
    background: var(--rmd-orange);
}


/* =========================================================
   MENÚS
   ========================================================= */

.rmd-pixel-footer__menu {
    display: flex;
    margin: 0;
    padding: 0;
    flex-direction: column;
    gap: 11px;
    list-style: none;
}

.rmd-pixel-footer__menu li {
    margin: 0;
    padding: 0;
}

.rmd-pixel-footer__menu a {
    position: relative;
    display: inline-block;
    color: rgba(255, 255, 255, 0.65);
    font-size: 13px;
}

.rmd-pixel-footer__menu a::after {
    position: absolute;
    right: 0;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 1px;
    content: "";
    background: var(--rmd-orange);
    transition: width var(--rmd-transition);
}

.rmd-pixel-footer__menu a:hover {
    color: var(--rmd-white);
}

.rmd-pixel-footer__menu a:hover::after {
    width: 100%;
}


/* =========================================================
   CONTACTO
   ========================================================= */

.rmd-pixel-footer__contact-list {
    display: flex;
    margin: 0;
    padding: 0;
    flex-direction: column;
    gap: 18px;
    list-style: none;
}

.rmd-pixel-footer__contact-list li {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.rmd-pixel-footer__contact-label {
    color: var(--rmd-green);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.rmd-pixel-footer__contact-list a,
.rmd-pixel-footer__contact-list li > span:last-child {
    color: rgba(255, 255, 255, 0.73);
    font-size: 13px;
    line-height: 1.5;
}

.rmd-pixel-footer__contact-list a:hover {
    color: var(--rmd-orange);
}


/* =========================================================
   PARTE INFERIOR
   ========================================================= */

.rmd-pixel-footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: #191812;
}

.rmd-pixel-footer__bottom-inner {
    display: grid;
    min-height: 68px;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 30px;
}

.rmd-pixel-footer__copyright {
    color: rgba(255, 255, 255, 0.48);
    font-size: 11px;
}


/* =========================================================
   MENÚ LEGAL
   ========================================================= */

.rmd-pixel-footer__legal {
    display: flex;
    margin: 0;
    padding: 0;
    align-items: center;
    justify-content: center;
    gap: 20px;
    list-style: none;
}

.rmd-pixel-footer__legal a {
    color: rgba(255, 255, 255, 0.47);
    font-size: 11px;
}

.rmd-pixel-footer__legal a:hover {
    color: var(--rmd-white);
}


/* =========================================================
   CRÉDITO PIXEL NARANJA
   ========================================================= */

.rmd-pixel-footer__credit {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 5px;
    color: rgba(255, 255, 255, 0.42);
    font-size: 11px;
}

.rmd-pixel-footer__credit a {
    position: relative;
    color: var(--rmd-orange);
    font-weight: 700;
}

.rmd-pixel-footer__credit a::after {
    position: absolute;
    right: 0;
    bottom: -2px;
    left: 0;
    height: 1px;
    content: "";
    background: currentColor;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform var(--rmd-transition);
}

.rmd-pixel-footer__credit a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1050px) {

    .rmd-pixel-footer__grid {
        grid-template-columns:
            minmax(250px, 1.4fr)
            repeat(3, minmax(140px, 1fr));
        gap: 35px;
    }

}


@media (max-width: 850px) {

    .rmd-pixel-footer__main {
        padding: 58px 0 48px;
    }

    .rmd-pixel-footer__grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
        gap: 42px;
    }

    .rmd-pixel-footer__brand {
        max-width: none;
    }

    .rmd-pixel-footer__bottom-inner {
        padding: 18px 0;
        grid-template-columns: 1fr;
        gap: 12px;
        text-align: center;
    }

    .rmd-pixel-footer__legal {
        flex-wrap: wrap;
    }

    .rmd-pixel-footer__credit {
        justify-content: center;
    }

}


@media (max-width: 560px) {

    .rmd-pixel-footer__main {
        padding: 48px 0 42px;
    }

    .rmd-pixel-footer__grid {
        grid-template-columns: 1fr;
        gap: 38px;
    }

    .rmd-pixel-footer__logo img {
        max-width: 205px;
    }

    .rmd-pixel-footer__description {
        max-width: none;
    }

    .rmd-pixel-footer__column h3 {
        margin-bottom: 18px;
    }

    .rmd-pixel-footer__legal {
        flex-direction: column;
        gap: 6px;
    }

}