/* ==========================================
   FOOTER - ESTILOS COMPARTIDOS
========================================== */

.footer {
    width: 100%;
    border-top: 2px solid var(--gold-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

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

.f-title {
    font-weight: 700;
}

.f-text {
    color: var(--text-light);
    overflow-wrap: anywhere;
}

.f-link {
    color: var(--gold-dark);
    font-weight: 600;
    text-decoration: none;
}

.f-link:hover {
    text-decoration: underline;
}

/* ==========================================
   FOOTER DEL INICIO
========================================== */

body.page-home .footer {
    padding: 30px 35px;
    background: var(--cream-light);
}

body.page-home .footer-grid {
    gap: 25px;
    max-width: 1600px;
    margin: 0 auto;
}

body.page-home .footer-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

body.page-home .f-icon {
    color: var(--gold-dark);
    font-size: 1.7rem;
    margin-bottom: 3px;
}

body.page-home .f-title {
    color: #3d3524;
    font-size: 0.9rem;
    letter-spacing: 0.4px;
}

body.page-home .f-text {
    font-size: 0.8rem;
    line-height: 1.7;
}

body.page-home .f-link {
    font-size: 0.8rem;
}

/* FOOTER DE INICIO EN TABLETAS */

@media (min-width: 651px) and (max-width: 950px) {

    body.page-home .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 30px;
    }
}

/* FOOTER DE INICIO EN CELULARES */

@media (max-width: 650px) {

    body.page-home .footer {
        padding: 22px 12px;
    }

    body.page-home .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 22px 12px;
    }

    body.page-home .f-icon {
        font-size: 1.4rem;
    }

    body.page-home .f-title {
        font-size: 0.72rem;
    }

    body.page-home .f-text,
    body.page-home .f-link {
        font-size: 0.7rem;
    }
}

/* ==========================================
   FOOTER DE SOBRE NOSOTROS
========================================== */

body.page-about .footer {
    padding: 10px 25px;
    background: #ffffff;
}

body.page-about .footer-grid {
    width: 100%;
    gap: 12px;
}

body.page-about .f-icon {
    margin-bottom: 2px;
    color: var(--gold);
    font-size: 0.9rem;
}

body.page-about .f-title {
    margin-bottom: 2px;
    color: var(--text);
    font-size: 0.67rem;
    letter-spacing: 0.4px;
    text-transform: uppercase;
}

body.page-about .f-text {
    font-size: 0.65rem;
    line-height: 1.4;
}

body.page-about .f-link {
    display: inline-block;
    margin-top: 2px;
    font-size: 0.65rem;
}

/* FOOTER DE SOBRE NOSOTROS EN CELULARES */

@media (max-width: 650px) {

    body.page-about .footer {
        padding: 16px 12px;
    }

    body.page-about .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px 12px;
    }

    body.page-about .f-icon {
        margin-bottom: 4px;
        font-size: 0.95rem;
    }

    body.page-about .f-title {
        margin-bottom: 5px;
        font-size: 0.7rem;
    }

    body.page-about .f-text {
        font-size: 0.65rem;
        line-height: 1.5;
    }

    body.page-about .f-link {
        margin-top: 5px;
        font-size: 0.65rem;
    }
}

@media (max-width: 360px) {

    body.page-about .footer-grid {
        gap: 14px 8px;
    }

    body.page-about .f-title {
        font-size: 0.62rem;
    }

    body.page-about .f-text {
        font-size: 0.6rem;
    }
}