/* =================================================
    ESTRUCTURA GENERAL DEL FOOTER (ESTILO PREMIUM)
================================================= */
.montia-site-footer {
    background-color: #F9F6F0; /* Fondo arena suave y elegante */
    border-top: 1px solid #E6DEC9;
    color: #4A453F;
    font-family: inherit;
    margin-top: 60px;
    padding-top: 60px;
}

.montia-footer-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 20px 50px 20px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    box-sizing: border-box;
}

.montia-footer-col {
    min-width: 0;
    box-sizing: border-box;
}

/* =================================================
    TÍTULOS DE LAS COLUMNAS (ESTILO ALTA GAMA)
================================================= */
.montia-footer-title {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #2C2621; /* Marrón oscuro sofisticado */
    margin-top: 0;
    margin-bottom: 20px;
    letter-spacing: 2px; /* Espaciado lujoso */
    border-bottom: 1px solid #E6DEC9;
    padding-bottom: 10px;
}

/* =================================================
    ENLACES Y TEXTOS DE WIDGETS
================================================= */
.montia-footer-widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.montia-footer-widget ul li {
    margin-bottom: 12px;
}

.montia-footer-widget ul li a {
    color: #6B635B;
    text-decoration: none;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    transition: color 0.25s ease, padding-left 0.25s ease;
}

.montia-footer-widget ul li a:hover {
    color: #2C2621;
    padding-left: 4px; /* Sutil efecto de movimiento elegante */
}

.montia-footer-widget p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #6B635B;
    margin-bottom: 15px;
}

/* =================================================
    FRANJA INFERIOR DE CRÉDITOS (2 COLUMNAS)
================================================= */
.montia-footer-bottom {
    background-color: #EFEADF !important; /* Tono arena un peldaño más profundo */
    border-top: 1px solid #E6DEC9;
    padding: 25px 20px;
    font-size: 0.8rem;
    color: #6B635B;
    letter-spacing: 0.5px;
}

.montia-footer-bottom-inner {
    max-width: 1320px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    box-sizing: border-box;
}

.montia-footer-copy {
    text-align: left;
    font-weight: 400;
}

/* Estilo exclusivo para MONTIA en los créditos */
.montia-footer-copy .montia-brand-highlight {
    font-weight: 950 !important;
    letter-spacing: 3px;
    color: #1A1714;
}

.montia-footer-dev {
    text-align: right;
    font-weight: 500;
}

.montia-footer-dev a {
    color: #1A1714;
    font-weight: 700;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.montia-footer-dev a:hover {
    opacity: 0.7;
}

/* =================================================
    ADAPTABILIDAD RESPONSIVA (TABLETS Y MÓVILES)
================================================= */
@media screen and (max-width: 1024px) {
    .montia-footer-container {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 40px 30px;
    }
}

@media screen and (max-width: 768px) {
    .montia-footer-bottom-inner {
        flex-direction: column;
        text-align: center;
    }
    
    .montia-footer-copy,
    .montia-footer-dev {
        text-align: center;
        width: 100%;
    }
}

@media screen and (max-width: 600px) {
    .montia-footer-container {
        grid-template-columns: 1fr !important;
        gap: 35px;
        padding: 0 20px 40px 20px;
    }
    
    .montia-footer-col {
        text-align: left;
    }
}