/* =====================================================
   MENTALFAM - LANDING PAGE MOBILE 2026
   Mejoras móvil para index.html
   ===================================================== */

/* =====================================================
   NAV HAMBURGUESA
   ===================================================== */
@media (max-width: 768px) {
    .navbar {
        padding: 0.75rem 1rem !important;
        backdrop-filter: blur(12px) !important;
        -webkit-backdrop-filter: blur(12px) !important;
    }

    .nav-logo img {
        height: 40px !important;
    }

    .nav-logo span {
        font-size: 1.1rem !important;
    }

    .nav-toggle {
        width: 44px !important;
        height: 44px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        border-radius: 10px !important;
        background: rgba(123, 67, 151, 0.1) !important;
        cursor: pointer !important;
        -webkit-tap-highlight-color: transparent !important;
    }

    .nav-toggle i {
        font-size: 1.2rem !important;
        color: #7B4397 !important;
    }

    .nav-menu {
        padding: 0.5rem 0 1rem !important;
    }

    .nav-menu .nav-link {
        padding: 0.85rem 1.5rem !important;
        font-size: 0.95rem !important;
        min-height: 48px !important;
        display: flex !important;
        align-items: center !important;
    }

    .nav-menu .nav-btn {
        margin: 0.5rem 1rem !important;
        border-radius: 12px !important;
        text-align: center !important;
        padding: 0.85rem !important;
        min-height: 48px !important;
    }
}

/* =====================================================
   HERO SECTION
   ===================================================== */
@media (max-width: 768px) {
    .hero {
        min-height: 85vh !important;
        padding: 6rem 1.25rem 3rem !important;
    }

    .hero-title {
        font-size: 2rem !important;
        line-height: 1.2 !important;
    }

    .hero-subtitle {
        font-size: 0.95rem !important;
        margin: 1rem 0 1.75rem !important;
    }

    .hero-buttons {
        flex-direction: column !important;
        gap: 0.75rem !important;
        align-items: stretch !important;
    }

    .hero-buttons .btn {
        text-align: center !important;
        min-height: 52px !important;
        font-size: 0.95rem !important;
        border-radius: 14px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 0.5rem !important;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.65rem !important;
    }
}

/* =====================================================
   SECCIONES GENERALES
   ===================================================== */
@media (max-width: 768px) {
    .section-header h2,
    .section-header h2.gradient-text {
        font-size: 1.5rem !important;
    }

    .section-header p {
        font-size: 0.9rem !important;
    }

    .container {
        padding: 0 1.25rem !important;
    }

    section {
        padding: 3rem 0 !important;
    }
}

/* =====================================================
   TARJETAS DE SERVICIOS Y PROGRAMAS
   ===================================================== */
@media (max-width: 768px) {
    .services-grid,
    .programas-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }

    .service-card,
    .programa-card {
        padding: 1.5rem !important;
        border-radius: 16px !important;
    }

    .service-card h3,
    .programa-card h3 {
        font-size: 1.05rem !important;
    }

    .service-card p,
    .programa-card p {
        font-size: 0.88rem !important;
    }
}

/* =====================================================
   SECCIÓN DE PROGRAMAS NEUROPLAY
   ===================================================== */
@media (max-width: 768px) {
    .programas-grid,
    .neuroplay-content {
        flex-direction: column !important;
    }

    .programa-item {
        padding: 1rem !important;
    }

    .neuroplay-cta .btn-neuroplay {
        width: 100% !important;
        padding: 1rem !important;
        font-size: 0.95rem !important;
        border-radius: 14px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 0.5rem !important;
    }
}

/* =====================================================
   SECCIÓN DIRECTORA
   ===================================================== */
@media (max-width: 768px) {
    .directora-content {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        gap: 1.5rem !important;
    }

    .directora-img {
        width: 180px !important;
        height: 180px !important;
    }
}

/* =====================================================
   MISIÓN VISIÓN
   ===================================================== */
@media (max-width: 768px) {
    .mision-vision-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }

    .mv-card {
        padding: 1.5rem 1.25rem !important;
        border-radius: 16px !important;
    }
}

/* =====================================================
   INSTALACIONES / GALERÍA
   ===================================================== */
@media (max-width: 768px) {
    .instalaciones-grid,
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.75rem !important;
    }
}

@media (max-width: 375px) {
    .instalaciones-grid,
    .gallery-grid {
        grid-template-columns: 1fr !important;
    }
}

/* =====================================================
   CONTACTO
   ===================================================== */
@media (max-width: 768px) {
    .contacto-grid,
    .contact-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }

    .contacto-info,
    .contact-info {
        font-size: 0.9rem !important;
    }
}

/* =====================================================
   FOOTER
   ===================================================== */
@media (max-width: 768px) {
    footer {
        text-align: center !important;
        padding: 2rem 1.25rem !important;
    }

    .footer-grid,
    .footer-content {
        flex-direction: column !important;
        gap: 1.5rem !important;
    }
}

/* =====================================================
   BOTONES GLOBALES
   ===================================================== */
@media (max-width: 768px) {
    .btn,
    .btn-primary,
    .btn-secondary,
    .btn-whatsapp {
        min-height: 48px !important;
        border-radius: 12px !important;
        font-size: 0.9rem !important;
        padding: 0.85rem 1.5rem !important;
    }
}
