/* --- ADAPTACIÓN DEL CSS DEL FOOTER --- */
.main-footer {
    background-color: var(--main-color); /* Aplica tu color principal oscuro */
    color: #ffffff;
    font-family: 'Med', sans-serif; /* Fuente base */
    padding-top: 4rem;
    width: 100%;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem 3rem 2rem;
}

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

.footer-col h3 {
    font-family: 'Strong', sans-serif; /* Títulos fuertes */
    font-size: 1.2rem;
    margin-top: 0;
    margin-bottom: 1.5rem;
    color: var(--third-color); /* Tu color azul claro/turquesa de acento */
}

/* Columna de información y logo */
.footer-about {
    flex: 1.2;
}

.footer-logo {
    max-width: 160px;
    height: auto;
    margin-bottom: 1.5rem;
}

.footer-socials {
    display: flex;
    gap: 1rem;
}

.footer-socials img {
    width: 24px;
    height: 24px;
    transition: transform 0.2s ease;
}

.footer-socials img:hover {
    transform: scale(1.15);
}

/* Dirección y Google Maps */
.footer-info {
    flex: 1.5;
}

.address-text, .contact-data {
    font-family: 'light', sans-serif;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--secondary-color);
    margin-bottom: 1.2rem;
}

.maps-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--third-color); /* Enlace del color de acento */
    text-decoration: none;
    font-family: 'Camp', sans-serif;
    font-size: 0.95rem;
    margin-top: 0.5rem;
    width: max-content;
}

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

.maps-icon {
    width: 18px;
    height: 18px;
}

/* Enlaces de navegación */
.footer-links {
    flex: 0.8;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--secondary-color);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s ease;
    border: none;
}

.footer-links a:hover {
    color: var(--third-color);
}

/* --- BARRA INFERIOR (LEGALES) --- */
.footer-bottom {
    /* Oscurecemos un poquito tu color principal de fondo para la barra final */
    background-color: #1f323c; 
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    font-family: 'light', sans-serif;
    font-size: 0.85rem;
    color: var(--secondary-color);
}

.copyright {
    margin: 0;
}

.legal-links {
    display: flex;
    gap: 1.5rem;
}

.legal-links a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.2s ease;
}

.legal-links a:hover {
    color: #ffffff;
}

/* --- RESPONSIVE --- */

/* Laptops pequeñas / tablets grandes */
@media (max-width: 1024px) {
    .footer-container {
        gap: 2rem;
        padding: 0 1.5rem 2.5rem 1.5rem;
    }

    .footer-logo {
        max-width: 140px;
    }
}

/* Tablets */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        gap: 2.5rem;
        padding: 0 1.5rem 2rem 1.5rem;
    }
    
    .footer-bottom-container {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
        padding: 0 1.5rem;
    }
    
    .legal-links {
        justify-content: center;
        flex-wrap: wrap;
        gap: 1rem;
    }

    .footer-about,
    .footer-info,
    .footer-links {
        flex: none;
        width: 100%;
        align-items: center;
        text-align: center;
    }

    .footer-socials {
        justify-content: center;
    }

    .maps-link {
        margin-left: auto;
        margin-right: auto;
    }

    .footer-links ul {
        text-align: center;
    }
}

/* Celulares medianos */
@media (max-width: 480px) {
    .main-footer {
        padding-top: 2.5rem;
    }

    .footer-container {
        gap: 2rem;
        padding: 0 1.25rem 1.5rem 1.25rem;
    }

    .footer-col h3 {
        font-size: 1.05rem;
        margin-bottom: 1rem;
    }

    .footer-logo {
        max-width: 120px;
        margin-bottom: 1rem;
    }

    .address-text, .contact-data {
        font-size: 0.85rem;
    }

    .maps-link, .footer-links a {
        font-size: 0.85rem;
    }

    .footer-bottom-container {
        font-size: 0.75rem;
        gap: 0.75rem;
    }

    .legal-links {
        gap: 0.75rem;
        flex-direction: column;
    }
}


.footer-map {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 2rem;
}

.map-wrapper {
    width: 60%;
    height: 20rem; /* tamaño natural, discreto, tipo "thumbnail" */
    border-radius: 8px;
    overflow: hidden;
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
    display: block;
}