/* Landing NUAM — responsive + CTA plataforma siempre visible */

/* El tema oculta el botón en pantallas < 1400px; lo restauramos */
@media (max-width: 1399px) {
    .header-1 .header-main .header-right .header-button {
        display: flex !important;
        align-items: center;
    }
    .header-1 .header-main .header-right .header-button .theme-btn {
        padding: 12px 16px;
        font-size: 0.82rem;
    }
    .header-1 .header-main .header-right .header-button .theme-btn span {
        gap: 6px;
    }
}

@media (max-width: 575px) {
    .header-1 .header-main {
        padding: 10px 0;
    }
    .header-1 .header-main .header-right {
        flex-wrap: nowrap;
        gap: 8px;
    }
    .header-1 .header-main .header-right .header-button .theme-btn {
        padding: 10px 12px;
        font-size: 0.75rem;
    }
    .header-1 .header-main .header-right .header-button .theme-btn i {
        display: none;
    }
}

/* Botón flotante: siempre visible en cualquier dispositivo */
.nuam-floating-plataforma {
    position: fixed;
    right: 16px;
    bottom: 20px;
    z-index: 9999;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 20px;
    border-radius: 999px;
    background: linear-gradient(135deg, #3c2259 0%, #6b4d8a 50%, #f39f5f 100%);
    color: #fff !important;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none !important;
    box-shadow: 0 12px 32px rgba(60, 34, 89, 0.45);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    max-width: calc(100vw - 32px);
}

.nuam-floating-plataforma:hover {
    color: #fff !important;
    transform: translateY(-3px);
    box-shadow: 0 16px 40px rgba(60, 34, 89, 0.55);
}

.nuam-floating-plataforma i {
    font-size: 1rem;
}

@media (min-width: 1400px) {
    /* En desktop grande el header ya muestra el botón; flotante un poco más discreto */
    .nuam-floating-plataforma {
        bottom: 24px;
        right: 24px;
    }
}

/* Contenedores y secciones */
@media (max-width: 991px) {
    .hero-section .hero-content h1 {
        font-size: clamp(1.6rem, 5vw, 2.4rem);
    }
    .container-fluid {
        padding-left: 16px;
        padding-right: 16px;
    }
}

@media (max-width: 767px) {
    .footer-wrapper {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
    #scrollUp {
        bottom: 80px;
    }
}

/* Offcanvas: enlace plataforma destacado */
.offcanvas__contact .nuam-offcanvas-cta {
    margin-top: 12px;
}
.offcanvas__contact .nuam-offcanvas-cta .theme-btn {
    width: 100%;
    justify-content: center;
}

/* Eventos: clic para ampliar */
#eventos .nuam-evento-card {
    cursor: pointer;
    overflow: hidden;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(60, 34, 89, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    padding-bottom: 10px;
}

#eventos .nuam-evento-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(60, 34, 89, 0.14);
}

#eventos .nuam-evento-card .img_evento img {
    width: 100%;
    display: block;
}

#eventos .nuam-evento-hint {
    display: block;
    text-align: center;
    font-size: 0.78rem;
    font-weight: 600;
    color: #3c2259;
    opacity: 0.75;
    margin-top: 8px;
}

.nuam-evento-modal .nuam-evento-modal-img {
    max-height: min(75vh, 720px);
    width: auto;
    max-width: 100%;
    border-radius: 12px;
    object-fit: contain;
}

.nuam-evento-modal .modal-title {
    color: #3c2259;
    font-weight: 700;
}

.nuam-evento-modal .btn-primary {
    background: #3c2259;
    border-color: #3c2259;
}

.nuam-evento-modal .btn-primary:hover {
    background: #4d2f6e;
    border-color: #4d2f6e;
}

/* Hero CTAs: WhatsApp + Llamar (móvil) */
.nuam-hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.nuam-hero-ctas .theme-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.nuam-btn-whatsapp {
    background-color: #25d366 !important;
    color: #fff !important;
}

.nuam-btn-whatsapp:hover {
    background-color: #1ebe57 !important;
    color: #fff !important;
}

.nuam-btn-llamar {
    display: none !important;
    background-color: #3c2259 !important;
    color: #fff !important;
}

.nuam-btn-llamar:hover {
    background-color: #4d2f6e !important;
    color: #fff !important;
}

@media (max-width: 767px) {
    .nuam-btn-llamar {
        display: inline-flex !important;
    }
}
