/* ========================================================
   ESTILOS DE LA PÁGINA DE INICIO (SEVAC + ANIMACIONES)
   ======================================================== */

:root {
    --jiq-purple: #B0006D;
    --jiq-purple-dark: #880054;
}

.text-jiq-purple {
    color: var(--jiq-purple) !important;
}

.bg-jiq-purple {
    background-color: var(--jiq-purple) !important;
}

.bg-purple-tag {
    background-color: var(--jiq-purple);
    color: #FFFFFF;
}

.title-underline-purple {
    width: 80px;
    height: 4px;
    background-color: var(--jiq-purple);
    border-radius: 2px;
    margin-top: 12px;
}

/* ANIMACIÓN DE DESPLAZAMIENTO DE IZQUIERDA A DERECHA */
.title-slide-left {
    animation: slideInFromLeft 1s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

@keyframes slideInFromLeft {
    0% {
        opacity: 0;
        transform: translateX(-100px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

/* TARJETA DEL IFRAME */
.card-sevac-iframe {
    border: 4px solid var(--jiq-purple) !important;
    transition: box-shadow 0.3s ease;

}

.sevac-iframe-wrapper {
    width: 100%;
    background-color: #FFFFFF;
    overflow: hidden;
}

.sevac-iframe-wrapper iframe {
    display: block;
    width: 100%;
    min-height: 800px;
}

/* ========================================================
   ESTILOS DE PIE DE PÁGINA (FOOTER JIQUILPAN)
   ======================================================== */

.footer-jiq {
    background-color: #f1f1f1;
    padding: 40px 60px 20px 60px;
    border-top: 1px solid #e0e0e0;
    border-radius: 18px;
    margin: 30px 20px 20px 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 30px;
    gap: 20px;
}

.footer-col {
    flex: 1;
}

.left-section {
    text-align: left;
}

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

.right-section {
    text-align: right;
}

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

.footer-logo-center {
    max-width: 240px;
    height: auto;
    margin-bottom: 20px;
}

.info-title {
    font-weight: 700;
    color: #333333;
    margin-top: 10px;
    margin-bottom: 4px;
    font-size: 1rem;
}

.info-text {
    color: #666666;
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

.phone-link {
    color: #666666;
    text-decoration: none;
    transition: color 0.2s ease;
}

.phone-link:hover {
    color: #B0006D;
}

/* BOTÓN AMARILLO VER EN MAPA */
.map-button {
    display: inline-block;
    background-color: #FFDE59;
    color: #1A1A1A;
    font-weight: 700;
    padding: 10px 28px;
    border-radius: 0 0 18px 18px;
    text-decoration: none;
    font-size: 0.88rem;
    margin-top: 15px;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.map-button:hover {
    background-color: #e6c84f;
    color: #000000;
    transform: translateY(-2px);
}

/* ICONOS SOCIALES CUADRADOS SUAVES */
.social-icons {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 10px;
}

.social-icon {
    background-color: #FFDE59;
    border-radius: 8px;
    width: 38px;
    height: 38px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #1A1A1A;
    text-decoration: none;
    font-size: 1.1rem;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.social-icon:hover {
    background-color: #e6c84f;
    color: #000000;
    transform: translateY(-2px);
}

.right-section .info-block {
    margin-bottom: 15px;
}

/* PIE DE PÁGINA COPYRIGHT */
.footer-bottom {
    text-align: center;
    border-top: 1px solid #e0e0e0;
    padding-top: 20px;
    color: #666666;
    font-size: 0.82rem;
}

.powered-by {
    margin-top: 6px;
    font-size: 0.85rem;
    color: #444444;
}

.powered-by span {
    font-weight: 800;
    letter-spacing: 0.5px;
}

/* ADAPTACIÓN RESPONSIVE MÓVIL */
@media (max-width: 991px) {
    .footer-jiq {
        padding: 30px 20px 20px 20px;
        margin: 20px 10px;
    }

    .footer-top {
        flex-direction: column;
        text-align: center;
        align-items: center;
        gap: 30px;
    }

    .left-section,
    .right-section,
    .center-section {
        text-align: center;
        width: 100%;
    }

    .right-section .info-title {
        text-align: center;
    }

    .right-section .info-text {
        text-align: center;
    }
}

/* ========================================================
   ESTILOS DE POPUP Y WIDGET DE ACCESIBILIDAD / AYUDA VISUAL
   ======================================================== */

.btn-jiq-purple {
    background-color: var(--jiq-purple) !important;
    color: #FFFFFF !important;
    border: none;
    transition: all 0.3s ease;
}

.btn-jiq-purple:hover {
    background-color: var(--jiq-purple-dark) !important;
    color: #FFFFFF !important;
    transform: translateY(-2px);
}

/* WIDGET FLOTANTE DE ACCESIBILIDAD */
#accessibilityWidget {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 1060;
}

.accessibility-btn {
    width: 52px;
    height: 52px;
    background-color: var(--jiq-purple);
    color: #FFFFFF;
    border: none;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(176, 0, 109, 0.4);
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.accessibility-btn:hover {
    transform: scale(1.1);
    background-color: var(--jiq-purple-dark);
}

/* MENÚ DESPLEGABLE DE ACCESIBILIDAD */
.accessibility-menu {
    position: absolute;
    bottom: 65px;
    right: 0;
    width: 260px;
    background-color: #FFFFFF;
    border: 2px solid var(--jiq-purple);
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    padding: 15px;
}

.accessibility-menu h6 {
    color: var(--jiq-purple);
    font-weight: 700;
    margin-bottom: 12px;
    border-bottom: 1px solid #E2E8F0;
    padding-bottom: 6px;
}

.accessibility-menu button {
    width: 100%;
    text-align: left;
    background: none;
    border: 1px solid #E2E8F0;
    border-radius: 6px;
    padding: 8px 12px;
    margin-bottom: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #444444;
    transition: all 0.2s ease;
}

.accessibility-menu button:hover {
    background-color: #fcf0f7;
    color: var(--jiq-purple);
    border-color: var(--jiq-purple);
}

/* CLASES DE ACCESIBILIDAD DINÁMICAS */
body.high-contrast {
    filter: contrast(140%);
    background-color: #000000 !important;
    color: #FFFFFF !important;
}

body.grayscale-mode {
    filter: grayscale(100%);
}

body.large-text {
    font-size: 118% !important;
}