/* ==========================================================================
   Footer - Mundo Sostenible (Dark Premium - Exacto a mundosostenible.es)
   ========================================================================== */

.site-footer {
    background: linear-gradient(160deg, #1a1a1a 0%, #2c2c2c 60%, #1f1f1f 100%);
    color: rgba(255, 255, 255, 0.75);
    padding: 3.5rem 0 0;
    position: relative;
    margin-top: auto;
    width: 100%;
    box-sizing: border-box;
}

.footer-main-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 1.5rem;
    width: 100%;
    box-sizing: border-box;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
        gap: 2.5rem;
    }
}

.footer-col {
    display: flex;
    flex-direction: column;
}

/* Columna de Marca y Logo */
.footer-logo-link {
    display: inline-block;
    margin-bottom: 1.25rem;
    align-self: flex-start;
}

.footer-logo {
    height: 48px;
    width: auto;
    max-width: 220px;
    filter: brightness(0) invert(1); /* Logo en blanco sobre fondo oscuro */
    object-fit: contain;
}

.footer-brand-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.75rem;
    max-width: 320px;
    color: rgba(255, 255, 255, 0.7);
}

/* Encabezados de Columna con subraya lima */
.footer-heading {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.75rem;
    position: relative;
    letter-spacing: -0.01em;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 32px;
    height: 2.5px;
    background-color: var(--primary, #c3d600);
    border-radius: 2px;
}

/* Textos de ubicaciones */
.footer-text {
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 1.25rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Enlaces a Google Maps */
.footer-map-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary, #c3d600);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    min-height: 44px;
    transition: color 0.3s ease, transform 0.3s ease;
    align-self: flex-start;
}

.footer-map-link svg {
    flex-shrink: 0;
}

.footer-map-link:hover {
    color: #ffffff;
    transform: translateX(5px);
}

/* Items de Contacto */
.footer-contact-items {
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
    margin-bottom: 1.5rem;
}

.footer-contact-item {
    display: inline-flex;
    align-items: center;
    gap: 0.9rem;
    color: rgba(255, 255, 255, 0.85);
    min-height: 48px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.fci-icon {
    width: 38px;
    height: 38px;
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary, #c3d600);
    flex-shrink: 0;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.footer-contact-item:hover {
    color: #ffffff;
}

.footer-contact-item:hover .fci-icon {
    background-color: var(--primary, #c3d600);
    color: #000000;
    transform: scale(1.08);
}

/* Redes Sociales */
.social-links {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.social-icon {
    width: 44px;
    height: 44px;
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.social-icon:hover {
    background-color: var(--primary, #c3d600);
    color: #000000;
    transform: translateY(-4px) rotate(6deg);
}

/* Barra Inferior (Footer Bottom) */
.footer-bottom {
    margin-top: 1.5rem;
    padding: 1.75rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: transparent;
    width: 100%;
}

.fb-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    text-align: center;
    box-sizing: border-box;
}

@media (min-width: 768px) {
    .fb-container {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

.fb-copy {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.5;
}

.fb-links {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.fb-links a {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    transition: color 0.3s ease;
}

.fb-links a:hover {
    color: var(--primary, #c3d600);
}

.fb-disclaimer {
    max-width: 1600px;
    margin: 0.85rem auto 0;
    padding: 0 1.5rem;
    text-align: center;
    box-sizing: border-box;
}

.fb-disclaimer p {
    margin: 0;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.4;
    letter-spacing: 0.01em;
}
