/* =========================================
   FOOTER - TU ESPACIO
   ========================================= */


/* =========================
   CTA
   ========================= */

.ctaSubtitle {
    font-size: 18px;
    color: #3a3020;
    max-width: 600px;
    margin: 0 auto 20px;
    line-height: 1.5;
}

.ctaEmail {
    font-size: 16px;
    color: #7a6a40;
    margin-bottom: 32px;
}


/* =========================
   FOOTER PRINCIPAL
   ========================= */

.footer {
    background: #ec671c;

    border-top: 1px solid rgba(255, 101, 1, 0.25);
    border-radius: 16px;

    width: calc(100% - 48px);

    margin: 0 24px 10px;
    padding: 28px 32px;

    box-sizing: border-box;

    display: flex;
    justify-content: space-between;
    align-items: center;

    gap: 24px;
    flex-wrap: wrap;

    height: auto;
}


/* =========================
   NAVEGACIÓN
   ========================= */

.footerNav {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 14px;
}

.footerNav a {
    color: #ffffff;

    text-decoration: underline;

    font-size: 14px;

    transition: color 0.2s;
}

.footerNav a:hover {
    color: #ff6501;
}


/* =========================
   COPYRIGHT
   ========================= */

.footerCopy {
    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;

    gap: 8px;

    font-size: 12px;

    color: #fcfcfc;

    text-align: center;
}


/* =========================
   PARTE SUPERIOR COPYRIGHT
   ========================= */

.footerTop {
    display: flex;

    align-items: center;
    justify-content: center;

    gap: 12px;
}


/* =========================
   DIVISOR
   ========================= */

.footerDivider {
    width: 1px;
    height: 18px;

    background: #ffffff;

    flex-shrink: 0;
}


/* =========================
   PRIVACIDAD
   ========================= */

.footerPrivacy {
    color: #ffffff;

    text-decoration: none;
}

.footerPrivacy:hover {
    color: var(--orange);
}


/* =========================
   MARCA
   ========================= */

.footerBrand {
    font-size: 11px;

    color: #ffffff;

    text-align: center;
}


/* =========================
   REDES SOCIALES
   ========================= */

.footerSocial {
    display: flex;

    align-items: center;
    justify-content: center;

    gap: 12px;
}

.footerSocial a {
    background: #0b3d62;
    color: #ffffff;
    padding: 8px 12px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;

    transition: background-color 0.3s ease,
                color 0.3s ease,
                transform 0.3s ease;
}
.footerSocial a:hover {
    background: #0b3d62;

    color: #ffffff;

    transform: none;
}


/* =========================================
   LAPTOP
   ========================================= */

@media (max-width: 1366px) {

    .footer {
        gap: 12px;

        padding: 20px;
    }

    .footerNav {
        gap: 12px;
    }

    .footerSocial {
        gap: 8px;
    }

    .footerSocial a {
        padding: 8px 10px;

        font-size: 12px;
    }

    .footerTop {
        flex-wrap: wrap;

        justify-content: center;
    }
}


/* =========================================
   TABLET
   ========================================= */

@media (max-width: 768px) {

    .footer {
        flex-direction: column;

        align-items: center;
        justify-content: center;

        text-align: center;

        padding: 28px 20px;

        gap: 20px;
    }

    .footerNav {
        width: 100%;

        flex-wrap: wrap;

        justify-content: center;
    }

    .footerCopy {
        width: 100%;
    }

    .footerTop {
        width: 100%;

        flex-wrap: wrap;

        justify-content: center;
    }

    .footerSocial {
        width: 100%;

        flex-wrap: wrap;

        justify-content: center;
    }
}


/* =========================================
   CELULAR
   ========================================= */

@media (max-width: 600px) {

    /* -------------------------
       Footer
       ------------------------- */

    .footer {
        width: calc(100% - 24px);
        max-width: calc(100% - 24px);

        margin: 0 12px 12px;

        padding: 24px 16px;

        box-sizing: border-box;

        display: flex;
        flex-direction: column;

        align-items: center;
        justify-content: center;

        gap: 22px;

        text-align: center;

        border-radius: 16px;

        overflow: hidden;
    }


    /* -------------------------
       Menú
       ------------------------- */

    .footerNav {
        width: 100%;

        display: flex;
        flex-direction: column;

        align-items: center;
        justify-content: center;

        gap: 10px;

        margin: 0;
        padding: 0;
    }

    .footerNav a {
        width: auto;

        margin: 0;
        padding: 0;

        font-size: 14px;

        text-align: center;
    }


    /* -------------------------
       Copyright
       ------------------------- */

    .footerCopy {
        width: 100%;
        max-width: 100%;

        margin: 0;
        padding: 0;

        box-sizing: border-box;

        display: flex;
        flex-direction: column;

        align-items: center;
        justify-content: center;

        gap: 10px;

        text-align: center;

        position: static;

        left: auto;
        right: auto;

        transform: none;
    }


    /* -------------------------
       Copyright superior
       ------------------------- */

    .footerTop {
        width: 100%;
        max-width: 100%;

        margin: 0;
        padding: 0;

        box-sizing: border-box;

        display: flex;

        flex-direction: row;
        flex-wrap: wrap;

        align-items: center;
        justify-content: center;

        gap: 8px;

        text-align: center;

        position: static;

        left: auto;
        right: auto;

        transform: none;
    }

    .footerTop span,
    .footerTop p,
    .footerTop a {
        margin: 0;

        text-align: center;

        white-space: normal;
    }


    /* -------------------------
       Privacidad
       ------------------------- */

    .footerPrivacy {
        font-size: 11px;

        white-space: normal;

        text-align: center;
    }


    /* -------------------------
       Divisor
       ------------------------- */

    .footerDivider {
        width: 1px;

        height: 14px;

        flex-shrink: 0;
    }


    /* -------------------------
       Texto inferior
       ------------------------- */

    .footerBrand {
        width: 100%;
        max-width: 100%;

        margin: 0;
        padding: 0;

        box-sizing: border-box;

        font-size: 11px;
        line-height: 1.5;

        color: #ffffff;

        text-align: center;

        white-space: normal;

        overflow-wrap: anywhere;

        position: static;

        left: auto;
        right: auto;

        transform: none;
    }


    /* -------------------------
       Redes sociales
       ------------------------- */

    .footerSocial {
        width: 100%;

        margin: 0;
        padding: 0;

        display: flex;

        flex-direction: row;
        flex-wrap: wrap;

        align-items: center;
        justify-content: center;

        gap: 8px;
    }

    .footerSocial a {
        display: flex;

        align-items: center;
        justify-content: center;

        padding: 8px 10px;

        font-size: 12px;
    }
}


/* =========================================
   CELULARES MUY PEQUEÑOS
   ========================================= */

@media (max-width: 380px) {

    .footer {
        width: calc(100% - 16px);
        max-width: calc(100% - 16px);

        margin-left: 8px;
        margin-right: 8px;

        padding: 22px 12px;
    }

    .footerTop {
        gap: 6px;
    }

    .footerBrand {
        font-size: 10px;
    }

    .footerPrivacy {
        font-size: 10px;
    }

    .footerSocial {
        gap: 6px;
    }
}