/* ========================================
   FOOTER - OPCIÓN 3: FONDO CLARO COLORIDO 🌈
======================================== */

/* Fondo principal claro con gradiente suave */
.footer {
    background: linear-gradient(135deg, #E8F4F8 0%, #F0F8FF 100%) !important;
    color: #2B3A42 !important;
    padding: 60px 20px 30px;
    margin-top: 60px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* ----- TOP SECTION: 3 COLUMNAS ----- */
.footer-top {
    display: grid;
    grid-template-columns: 1fr 1.5fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
    align-items: start;
}

/* ----- COLUMNA 1: LOGO Y REDES ----- */
.footer-logo {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
    /* Eliminar cualquier estilo decorativo */
    background: none !important;
    border: none !important;
    padding: 0 !important;
    box-shadow: none !important;
}

/* Logo SIN círculo - colores originales limpios */
.footer-logo-img {
    width: 100px;
    height: auto;
    /* ELIMINAR todos los efectos decorativos */
    filter: none !important;
    opacity: 1 !important;
    background: none !important;
    background-color: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    box-shadow: none !important;
    background-blend-mode: normal !important;
    mix-blend-mode: normal !important;
    display: block;
}

/* Tagline en gris */
.footer-tagline {
    font-size: 14px;
    color: #666 !important;
    line-height: 1.6;
    text-align: center;
}

/* Redes sociales con gradiente rosa-lavanda */
.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 10px;
    justify-content: center;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #FFB3D9, #B8A9E8) !important;
    color: white !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 18px;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: linear-gradient(135deg, #5AB9B5, #6DB5D8) !important;
    color: white !important;
    transform: translateY(-3px);
}

/* ----- COLUMNAS 2 Y 3: CONTACTO Y HORARIOS ----- */
/* Headers de secciones en turquesa */
.footer-section h3 {
    color: #5AB9B5 !important;
    font-size: 16px;
    margin-bottom: 20px;
    font-family: 'Poppins', 'Inter', sans-serif;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-shadow: none;
}

.footer-contact {
    padding-right: 20px;
}

.contact-item {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 14px;
    line-height: 1.6;
    align-items: flex-start;
}

/* Íconos de contacto en turquesa */
.contact-icon {
    color: #5AB9B5 !important;
    flex-shrink: 0;
    font-size: 18px;
    margin-top: 0;
    margin-right: 2px;
    line-height: 1;
}

/* Texto general en gris oscuro */
.contact-item div {
    color: #2B3A42 !important;
}

.small-text {
    font-size: 12px;
    color: #666 !important;
    font-style: italic;
}

.hours-list p {
    margin-bottom: 15px;
    font-size: 14px;
    line-height: 1.6;
    color: #2B3A42 !important;
}

/* Horarios - negritas en turquesa */
.hours-list strong {
    color: #5AB9B5 !important;
}

/* ----- MAPA CON BORDE TURQUESA ----- */
.footer-map-container {
    margin: 30px 0;
}

.footer-map {
    width: 100%;
    max-width: 800px;
    height: 250px;
    margin: 0 auto;
    border-radius: 12px;
    border: 3px solid rgba(90, 185, 181, 0.3);
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(90, 185, 181, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.footer-map:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 30px rgba(90, 185, 181, 0.3);
}

.footer-map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ----- CTA WHATSAPP (mantener verde) ----- */
.footer-cta {
    text-align: center;
    margin: 40px 0 30px 0;
    padding: 30px 0;
    border-top: 1px solid rgba(90, 185, 181, 0.3);
    border-bottom: 1px solid rgba(90, 185, 181, 0.3);
}

.footer-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #25D366 !important;
    color: white !important;
    padding: 18px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    border: none;
}

.footer-cta-button:hover {
    background: #1faa52 !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.5);
}

.footer-cta-button:focus {
    outline: 3px solid #5AB9B5;
    outline-offset: 2px;
}

.footer-cta-button i {
    font-size: 1.3rem;
}

/* ----- COPYRIGHT CON LÍNEA SEPARADORA TURQUESA ----- */
.footer-bottom {
    border-top: 1px solid rgba(90, 185, 181, 0.3) !important;
    padding-top: 25px;
    margin-top: 30px;
    text-align: center;
    font-size: 13px;
}

.footer-bottom p {
    color: #666 !important;
}

/* Links en el footer */
.footer a:not(.footer-cta-button):not(.footer-social a) {
    color: #5AB9B5 !important;
    text-decoration: none;
}

.footer a:not(.footer-cta-button):not(.footer-social a):hover {
    color: #FFB3D9 !important;
}

/* ========================================
   RESPONSIVE: TABLET (768px - 1024px)
======================================== */

@media (max-width: 1024px) {
    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .footer-hours {
        grid-column: 1 / -1;
        text-align: center;
    }

    .hours-list {
        display: flex;
        justify-content: center;
        gap: 30px;
        flex-wrap: wrap;
    }
}

/* ========================================
   RESPONSIVE: MOBILE (< 768px)
======================================== */

@media (max-width: 768px) {
    /* Asegurar que el fondo claro se mantenga en mobile */
    .footer {
        background: linear-gradient(135deg, #E8F4F8 0%, #F0F8FF 100%) !important;
        padding: 40px 20px 25px;
    }

    /* UNA SOLA COLUMNA EN MÓVIL */
    .footer-top {
        grid-template-columns: 1fr;
        gap: 35px;
        text-align: center;
    }

    /* LOGO CENTRADO */
    .footer-logo {
        align-items: center;
    }

    /* Logo más pequeño sin círculo */
    .footer-logo-img {
        width: 80px;
        height: auto;
    }

    .footer-tagline {
        text-align: center;
        font-size: 13px;
    }

    /* REDES SOCIALES CENTRADAS */
    .footer-social {
        justify-content: center;
    }

    /* CONTACTO CENTRADO */
    .footer-contact {
        padding-right: 0;
    }

    .contact-item {
        justify-content: center;
        text-align: left;
        flex-direction: row;
        align-items: center;
        gap: 12px;
        flex-wrap: nowrap;
    }

    .footer-section h3 {
        text-align: center;
    }

    /* HORARIOS EN COLUMNA */
    .hours-list {
        display: block;
    }

    .hours-list p {
        margin-bottom: 12px;
    }

    /* MAPA MÁS PEQUEÑO EN MÓVIL */
    .footer-map {
        height: 200px;
        max-width: 100%;
    }

    /* CTA ajustado para mobile */
    .footer-cta {
        margin: 25px 0 20px 0;
        padding: 20px 0;
    }

    .footer-cta-button {
        padding: 15px 25px;
        font-size: 1rem;
    }

    /* COPYRIGHT */
    .footer-bottom {
        font-size: 12px;
        padding-top: 20px;
        margin-top: 25px;
    }

    /* Asegurar contraste en mobile */
    .footer p,
    .contact-item div,
    .hours-list p {
        color: #2B3A42 !important;
    }
}

/* ========================================
   RESPONSIVE: MOBILE PEQUEÑO (< 480px)
======================================== */

@media (max-width: 480px) {
    .footer {
        padding: 30px 15px 20px;
    }

    .footer-top {
        gap: 25px;
    }

    /* Logo aún más pequeño */
    .footer-logo-img {
        width: 70px;
    }

    .contact-item {
        font-size: 13px;
        flex-direction: column;
        align-items: center;
        gap: 8px;
        text-align: center;
    }

    .footer-map {
        height: 180px;
    }

    .footer-cta-button {
        padding: 12px 20px;
        font-size: 0.95rem;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .footer {
        background: #ffffff !important;
        border-top: 3px solid #000000;
    }

    .contact-item div,
    .footer-bottom p,
    .hours-list p {
        color: #000000 !important;
    }

    .footer-cta-button {
        border: 3px solid #000000;
    }
}
