/* CAPAS JESÚS MARÍA - ESTILOS RESPONSIVOS COMPLETOS PARA MÓVILES
   Optimizado para todas las secciones y dispositivos móviles */


   /* Ocultar burbujas de fondo en móviles para la pantalla de carga */
@media (max-width: 768px) {
    .splash-droplets {
        display: none;
    }
    
    #loading-splash-screen {
        background-color: #ffffff; /* Mantener solo el fondo blanco */
    }
    
    .splash-loader-container {
        /* Asegurar que el contenido principal siga centrado */
        position: relative;
        z-index: 10;
    }
}

/* Para móviles muy pequeños */
@media (max-width: 480px) {
    .splash-droplets {
        display: none !important;
    }
    
    /* Opcional: hacer el GIF un poco más pequeño en móviles muy pequeños */
    .splash-loader-gif {
        width: 120px !important;
        height: 120px !important;
    }
}



/* ---------- RESET GLOBAL PARA MÓVILES ---------- */
@media screen and (max-width: 992px) {
  html, body {
    overflow-x: hidden;
    width: 100%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
  }
  
  img {
    max-width: 100%;
    height: auto;
  }
  
  .container {
    width: 100%;
    padding: 0 15px;
  }
}

/* Ajustes para hacer los elementos más compactos y naturales */
@media (max-width: 768px) {
    .jm-info-item {
        flex-direction: row; /* Mantener en fila, no columna */
        text-align: left; /* Alinear a la izquierda */
        margin-bottom: 15px; /* Reducir espacio entre elementos */
        padding: 10px 0; /* Menos padding */
        background-color: transparent; /* Quitar fondo */
        border-radius: 0; /* Quitar bordes redondeados */
    }
    
    .jm-info-icon {
        margin-right: 12px; /* Espacio normal a la derecha */
        margin-bottom: 0; /* Quitar margen inferior */
        width: 35px; /* Más pequeño */
        height: 35px;
        font-size: 18px;
        flex-shrink: 0; /* No permitir que se encoja */
    }
    
    .jm-info-text h4 {
        font-size: 1.1rem;
        margin-bottom: 4px; /* Muy poco espacio */
        font-weight: 600;
    }
    
    .jm-info-text p {
        font-size: 0.9rem;
        line-height: 1.4; /* Líneas más compactas */
        margin: 0; /* Sin margen */
    }
}

/* Para móviles pequeños */
@media (max-width: 576px) {
    .jm-info-item {
        margin-bottom: 12px; /* Aún menos espacio */
        padding: 8px 0;
    }
    
    .jm-info-icon {
        width: 32px;
        height: 32px;
        font-size: 16px;
        margin-right: 10px;
    }
    
    .jm-info-text h4 {
        font-size: 1rem;
        margin-bottom: 3px;
    }
    
    .jm-info-text p {
        font-size: 0.85rem;
        line-height: 1.3;
    }
}

/* Para móviles muy pequeños */
@media (max-width: 400px) {
    .jm-info-item {
        margin-bottom: 10px;
        padding: 6px 0;
    }
    
    .jm-info-icon {
        width: 28px;
        height: 28px;
        font-size: 14px;
        margin-right: 8px;
    }
    
    .jm-info-text h4 {
        font-size: 0.95rem;
        margin-bottom: 2px;
    }
    
    .jm-info-text p {
        font-size: 0.8rem;
        line-height: 1.25;
    }
}

/* Media queries para la sección de estadísticas */

/* Tablets medianos (768px - 992px) */
@media (max-width: 992px) {
    .stats-section {
        padding: 50px 0;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        max-width: 600px;
        margin: 0 auto;
    }
    
    .stat-card {
        padding: 25px 20px;
    }
    
    .stat-number {
        font-size: 2.2rem;
        margin-bottom: 8px;
    }
    
    .stat-label {
        font-size: 0.95rem;
        line-height: 1.3;
    }
}

/* Tablets pequeños y móviles grandes (576px - 768px) */
@media (max-width: 768px) {
    .stats-section {
        padding: 40px 0;
    }
    
    .stats-section .container {
        padding: 0 15px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        max-width: 500px;
    }
    
    .stat-card {
        padding: 20px 15px;
        border-radius: 12px;
    }
    
    .stat-number {
        font-size: 2rem;
        margin-bottom: 6px;
        font-weight: 700;
    }
    
    .stat-label {
        font-size: 0.9rem;
        line-height: 1.2;
        text-align: center;
    }
    
    /* Ajustar hover para dispositivos táctiles */
    .stat-card:hover {
        transform: scale(1.02);
    }
}

/* Móviles pequeños (menos de 576px) */
@media (max-width: 576px) {
    .stats-section {
        padding: 35px 0;
    }
    
    .stats-section .container {
        padding: 0 10px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 12px;
        max-width: 300px;
    }
    
    .stat-card {
        padding: 18px 12px;
        border-radius: 10px;
        min-height: auto;
    }
    
    .stat-number {
        font-size: 1.8rem;
        margin-bottom: 5px;
    }
    
    .stat-label {
        font-size: 0.85rem;
        line-height: 1.1;
    }
    
    /* Desactivar efectos hover en móviles */
    .stat-card:hover {
        transform: none;
        box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    }
}

/* Móviles muy pequeños (menos de 400px) */
@media (max-width: 400px) {
    .stats-section {
        padding: 30px 0;
    }
    
    .stats-section .container {
        padding: 0 8px;
    }
    
    .stats-grid {
        gap: 10px;
        max-width: 280px;
    }
    
    .stat-card {
        padding: 15px 10px;
        border-radius: 8px;
    }
    
    .stat-number {
        font-size: 1.6rem;
        margin-bottom: 4px;
    }
    
    .stat-label {
        font-size: 0.8rem;
        line-height: 1;
    }
}

/* Layout alternativo para móviles horizontales */
@media (max-width: 768px) and (orientation: landscape) {
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 10px;
        max-width: 100%;
    }
    
    .stat-card {
        padding: 12px 8px;
    }
    
    .stat-number {
        font-size: 1.4rem;
        margin-bottom: 3px;
    }
    
    .stat-label {
        font-size: 0.75rem;
        line-height: 1;
    }
}

/* Mejoras para interacción táctil */
@media (max-width: 768px) {
    .stat-card {
        /* Hacer las tarjetas más fáciles de tocar */
        min-height: 80px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        
        /* Efecto táctil */
        transition: all 0.2s ease;
    }
    
    .stat-card:active {
        transform: scale(0.98);
        background-color: rgba(0, 204, 51, 0.05);
    }
    
    /* Animación más rápida en móviles */
    .stat-card {
        transition: opacity 0.6s ease, transform 0.6s ease;
    }
}

/* Optimización para pantallas de alta densidad */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .stat-number {
        text-rendering: optimizeLegibility;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
}




/* Media queries para la sección de noticias */

/* Tablets medianos (768px - 992px) */
@media (max-width: 992px) {
    .news-section {
        padding: 50px 0;
    }
    
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
        max-width: 800px;
        margin: 0 auto;
    }
    
    .news-card {
        max-width: none;
    }
    
    .news-image {
        height: 180px;
    }
    
    .news-content {
        padding: 20px;
    }
    
    .news-content h3 {
        font-size: 1.2rem;
        margin-bottom: 12px;
    }
    
    .news-content p {
        font-size: 0.95rem;
        line-height: 1.5;
        margin-bottom: 15px;
    }
    
    .service-btn {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
}

/* Tablets pequeños y móviles grandes (576px - 768px) */
@media (max-width: 768px) {
    .news-section {
        padding: 40px 0;
    }
    
    .news-section .container {
        padding: 0 15px;
    }
    
    .section-title h2 {
        font-size: 2rem;
        margin-bottom: 12px;
    }
    
    .section-title p {
        font-size: 1rem;
        max-width: 100%;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .news-card {
        border-radius: 12px;
        overflow: hidden;
    }
    
    .news-image {
        height: 200px;
    }
    
    .news-content {
        padding: 18px;
    }
    
    .news-date {
        font-size: 0.85rem;
        margin-bottom: 8px;
    }
    
    .news-content h3 {
        font-size: 1.3rem;
        margin-bottom: 10px;
        line-height: 1.3;
    }
    
    .news-content p {
        font-size: 0.9rem;
        line-height: 1.4;
        margin-bottom: 18px;
    }
    
    .service-btn {
        width: 100%;
        justify-content: center;
        padding: 10px 16px;
        font-size: 0.9rem;
        border-radius: 8px;
    }
    
    /* Efecto hover ajustado para táctil */
    .news-card:hover {
        transform: translateY(-5px);
    }
}

/* Móviles pequeños (menos de 576px) */
@media (max-width: 576px) {
    .news-section {
        padding: 35px 0;
    }
    
    .news-section .container {
        padding: 0 10px;
    }
    
    .section-title {
        margin-bottom: 30px;
        text-align: center;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
        line-height: 1.2;
    }
    
    .section-title p {
        font-size: 0.95rem;
    }
    
    .news-grid {
        gap: 15px;
        max-width: 100%;
    }
    
    .news-card {
        border-radius: 10px;
        box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
    }
    
    .news-image {
        height: 160px;
    }
    
    .news-content {
        padding: 15px;
    }
    
    .news-date {
        font-size: 0.8rem;
        margin-bottom: 6px;
    }
    
    .news-content h3 {
        font-size: 1.1rem;
        margin-bottom: 8px;
        line-height: 1.2;
    }
    
    .news-content p {
        font-size: 0.85rem;
        line-height: 1.4;
        margin-bottom: 15px;
    }
    
    .service-btn {
        padding: 8px 14px;
        font-size: 0.85rem;
        font-weight: 600;
    }
    
    .service-btn span {
        margin-left: 6px;
        font-size: 1rem;
    }
    
    /* Desactivar efectos hover en móviles */
    .news-card:hover {
        transform: none;
    }
    
    .news-card:hover .news-image img {
        transform: none;
    }
}

/* Móviles muy pequeños (menos de 400px) */
@media (max-width: 400px) {
    .news-section {
        padding: 30px 0;
    }
    
    .news-section .container {
        padding: 0 8px;
    }
    
    .section-title h2 {
        font-size: 1.6rem;
    }
    
    .section-title p {
        font-size: 0.9rem;
    }
    
    .news-grid {
        gap: 12px;
    }
    
    .news-image {
        height: 140px;
    }
    
    .news-content {
        padding: 12px;
    }
    
    .news-content h3 {
        font-size: 1rem;
        margin-bottom: 6px;
    }
    
    .news-content p {
        font-size: 0.8rem;
        line-height: 1.3;
        margin-bottom: 12px;
    }
    
    .service-btn {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
}

/* Layout especial para móviles en orientación horizontal */
@media (max-width: 768px) and (orientation: landscape) and (max-height: 500px) {
    .news-section {
        padding: 25px 0;
    }
    
    .news-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
        max-width: 100%;
    }
    
    .news-image {
        height: 120px;
    }
    
    .news-content {
        padding: 12px;
    }
    
    .news-content h3 {
        font-size: 0.95rem;
        margin-bottom: 6px;
    }
    
    .news-content p {
        font-size: 0.75rem;
        margin-bottom: 10px;
    }
    
    .service-btn {
        padding: 4px 8px;
        font-size: 0.75rem;
    }
}

/* Mejoras para interacción táctil */
@media (max-width: 768px) {
    .news-card {
        transition: all 0.2s ease;
        cursor: default;
    }
    
    .news-card:active {
        transform: scale(0.98);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }
    
    .service-btn {
        /* Hacer los botones más fáciles de tocar */
        min-height: 44px;
        display: flex;
        align-items: center;
        transition: all 0.2s ease;
    }
    
    .service-btn:active {
        transform: scale(0.95);
        opacity: 0.8;
    }
    
    /* Mejorar legibilidad del texto */
    .news-content h3 {
        text-rendering: optimizeLegibility;
        -webkit-font-smoothing: antialiased;
    }
    
    .news-content p {
        text-rendering: optimizeLegibility;
    }
}

/* Ajustes específicos para el contenido */
@media (max-width: 576px) {
    /* Asegurar que las imágenes se carguen correctamente */
    .news-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }
    
    /* Mejorar el espaciado del botón */
    .service-btn {
        margin-top: auto;
        align-self: stretch;
    }
    
    /* Asegurar que las tarjetas tengan altura consistente */
    .news-card {
        display: flex;
        flex-direction: column;
        height: auto;
    }
    
    .news-content {
        display: flex;
        flex-direction: column;
        flex: 1;
    }
}



/* Media queries para la sección de programas ambientales */

/* Tablets medianos (768px - 992px) */
@media (max-width: 992px) {
    .eco-programs-section {
        padding: 60px 0;
    }
    
    .eco-container {
        padding: 0 15px;
    }
    
    .eco-section-title {
        margin-bottom: 50px;
    }
    
    .eco-section-title h2 {
        font-size: 32px;
    }
    
    .eco-section-title p {
        font-size: 17px;
        max-width: 600px;
    }
    
    .eco-programs-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
        max-width: 800px;
        margin: 0 auto;
    }
    
    .eco-program-card {
        min-height: 350px;
    }
    
    .eco-program-icon {
        width: 70px;
        height: 70px;
        margin: 25px auto 15px;
    }
    
    .eco-program-icon i {
        font-size: 32px;
    }
    
    .eco-program-content {
        padding: 15px 25px 25px;
    }
    
    .eco-program-content h3 {
        font-size: 20px;
        margin-bottom: 12px;
    }
    
    .eco-program-content p {
        font-size: 15px;
        margin-bottom: 20px;
    }
}

/* Tablets pequeños y móviles grandes (576px - 768px) */
@media (max-width: 768px) {
    .eco-programs-section {
        padding: 50px 0;
    }
    
    .eco-container {
        padding: 0 10px;
    }
    
    .eco-section-title {
        margin-bottom: 40px;
    }
    
    .eco-section-title h2 {
        font-size: 28px;
        line-height: 1.2;
    }
    
    .eco-section-title p {
        font-size: 16px;
        max-width: 100%;
        padding: 0 10px;
    }
    
    .eco-programs-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .eco-program-card {
        border-radius: 10px;
        min-height: auto;
    }
    
    .eco-program-icon {
        width: 65px;
        height: 65px;
        margin: 20px auto 12px;
    }
    
    .eco-program-icon i {
        font-size: 28px;
    }
    
    .eco-program-content {
        padding: 12px 20px 20px;
    }
    
    .eco-program-content h3 {
        font-size: 18px;
        margin-bottom: 10px;
        line-height: 1.3;
    }
    
    .eco-program-content p {
        font-size: 14px;
        line-height: 1.5;
        margin-bottom: 18px;
        text-align: left;
    }
    
    .eco-program-btn {
        align-self: center;
        padding: 8px 0;
        font-size: 14px;
    }
    
    .eco-btn-arrow {
        width: 18px;
        height: 18px;
    }
    
    /* Ajustar efectos hover para dispositivos táctiles */
    .eco-program-card:hover {
        transform: translateY(-5px);
    }
    
    .eco-program-card:hover .eco-program-icon {
        transform: rotateY(90deg);
    }
}

/* Móviles pequeños (menos de 576px) */
@media (max-width: 576px) {
    .eco-programs-section {
        padding: 40px 0;
    }
    
    .eco-container {
        padding: 0 8px;
    }
    
    .eco-section-title {
        margin-bottom: 35px;
    }
    
    .eco-section-title h2 {
        font-size: 24px;
        line-height: 1.1;
        margin-bottom: 12px;
    }
    
    .eco-section-title h2:after {
        width: 50px;
        height: 2px;
        bottom: -8px;
    }
    
    .eco-section-title p {
        font-size: 15px;
        line-height: 1.4;
        padding: 0 5px;
    }
    
    .eco-programs-grid {
        gap: 15px;
        max-width: 100%;
    }
    
    .eco-program-card {
        border-radius: 8px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    }
    
    .eco-program-icon {
        width: 55px;
        height: 55px;
        margin: 15px auto 10px;
    }
    
    .eco-program-icon i {
        font-size: 24px;
    }
    
    .eco-program-content {
        padding: 10px 15px 15px;
    }
    
    .eco-program-content h3 {
        font-size: 16px;
        margin-bottom: 8px;
        line-height: 1.2;
    }
    
    .eco-program-content p {
        font-size: 13px;
        line-height: 1.4;
        margin-bottom: 15px;
    }
    
    .eco-program-btn {
        font-size: 13px;
        padding: 6px 0;
    }
    
    .eco-program-btn span {
        margin-right: 6px;
    }
    
    .eco-btn-arrow {
        width: 16px;
        height: 16px;
    }
    
    /* Desactivar efectos hover complejos en móviles */
    .eco-program-card:hover {
        transform: none;
    }
    
    .eco-program-card:hover .eco-program-icon {
        transform: none;
    }
    
    .eco-program-card:hover:before {
        transform: scaleX(0);
    }
}

/* Móviles muy pequeños (menos de 400px) */
@media (max-width: 400px) {
    .eco-programs-section {
        padding: 35px 0;
    }
    
    .eco-container {
        padding: 0 5px;
    }
    
    .eco-section-title h2 {
        font-size: 22px;
    }
    
    .eco-section-title p {
        font-size: 14px;
    }
    
    .eco-programs-grid {
        gap: 12px;
    }
    
    .eco-program-card {
        border-radius: 6px;
    }
    
    .eco-program-icon {
        width: 50px;
        height: 50px;
        margin: 12px auto 8px;
    }
    
    .eco-program-icon i {
        font-size: 20px;
    }
    
    .eco-program-content {
        padding: 8px 12px 12px;
    }
    
    .eco-program-content h3 {
        font-size: 15px;
        margin-bottom: 6px;
    }
    
    .eco-program-content p {
        font-size: 12px;
        line-height: 1.3;
        margin-bottom: 12px;
    }
    
    .eco-program-btn {
        font-size: 12px;
        padding: 4px 0;
    }
    
    .eco-btn-arrow {
        width: 14px;
        height: 14px;
    }
}

/* Layout especial para móviles en orientación horizontal */
@media (max-width: 768px) and (orientation: landscape) and (max-height: 500px) {
    .eco-programs-section {
        padding: 30px 0;
    }
    
    .eco-section-title {
        margin-bottom: 25px;
    }
    
    .eco-section-title h2 {
        font-size: 24px;
        margin-bottom: 8px;
    }
    
    .eco-section-title p {
        font-size: 14px;
    }
    
    .eco-programs-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
        max-width: 100%;
    }
    
    .eco-program-icon {
        width: 45px;
        height: 45px;
        margin: 10px auto 6px;
    }
    
    .eco-program-icon i {
        font-size: 18px;
    }
    
    .eco-program-content {
        padding: 6px 10px 10px;
    }
    
    .eco-program-content h3 {
        font-size: 14px;
        margin-bottom: 4px;
    }
    
    .eco-program-content p {
        font-size: 11px;
        line-height: 1.2;
        margin-bottom: 8px;
    }
    
    .eco-program-btn {
        font-size: 11px;
        padding: 2px 0;
    }
}

/* Mejoras para interacción táctil */
@media (max-width: 768px) {
    .eco-program-card {
        transition: all 0.2s ease;
        cursor: default;
    }
    
    .eco-program-card:active {
        transform: scale(0.98);
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    }
    
    .eco-program-btn {
        /* Hacer los botones más fáciles de tocar */
        min-height: 44px;
        display: flex;
        align-items: center;
        transition: all 0.2s ease;
        padding: 8px 0;
    }
    
    .eco-program-btn:active {
        transform: scale(0.95);
        opacity: 0.7;
    }
    
    /* Mejorar legibilidad del texto */
    .eco-program-content h3 {
        text-rendering: optimizeLegibility;
        -webkit-font-smoothing: antialiased;
    }
    
    .eco-program-content p {
        text-rendering: optimizeLegibility;
    }
    
    /* Asegurar que las tarjetas tengan altura consistente */
    .eco-program-card {
        display: flex;
        flex-direction: column;
        min-height: 250px;
    }
    
    .eco-program-content {
        display: flex;
        flex-direction: column;
        flex: 1;
    }
    
    .eco-program-btn {
        margin-top: auto;
    }
}

/* Optimización para pantallas de alta densidad */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .eco-section-title h2 {
        text-rendering: optimizeLegibility;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
    
    .eco-program-icon i {
        -webkit-font-smoothing: antialiased;
    }
}







/* Media queries para la sección de Tarifas y Pagos */

/* Tablets medianos (768px - 992px) */
@media (max-width: 992px) {
    .pricing-section {
        padding: 60px 0 !important;
    }
    
    .container {
        padding: 0 15px !important;
    }
    
    .section-header {
        margin-bottom: 50px !important;
    }
    
    .title-animated {
        font-size: 2.2rem !important;
    }
    
    .title-underline {
        width: 60% !important;
        height: 3px !important;
    }
    
    .section-header p {
        font-size: 1rem !important;
        max-width: 600px !important;
    }
    
    .cards-container {
        gap: 25px !important;
        max-width: 900px;
        margin: 0 auto !important;
    }
    
    .pricing-card {
        min-width: 280px !important;
        max-width: 450px !important;
    }
    
    .card-header {
        padding: 20px 25px !important;
    }
    
    .card-header h3 {
        font-size: 1.6rem !important;
    }
    
    .card-header p {
        font-size: 0.95rem !important;
    }
    
    .card-body {
        padding: 25px !important;
    }
    
    .card-body li {
        padding: 10px 0 !important;
    }
    
    .btn-gradient {
        padding: 10px 20px !important;
        font-size: 0.9rem !important;
    }
}

/* Tablets pequeños y móviles grandes (576px - 768px) */
@media (max-width: 768px) {
    .pricing-section {
        padding: 50px 0 !important;
    }
    
    .container {
        padding: 0 10px !important;
    }
    
    .section-header {
        margin-bottom: 40px !important;
    }
    
    .title-animated {
        font-size: 2rem !important;
        line-height: 1.2 !important;
    }
    
    .title-underline {
        width: 50% !important;
        height: 3px !important;
        margin: 6px auto 0 !important;
    }
    
    .section-header p {
        font-size: 0.95rem !important;
        max-width: 100% !important;
        padding: 0 10px;
    }
    
    .cards-container {
        flex-direction: column !important;
        gap: 20px !important;
        max-width: 500px;
        margin: 0 auto !important;
    }
    
    .pricing-card {
        min-width: auto !important;
        max-width: 100% !important;
        flex: none !important;
        border-radius: 12px !important;
    }
    
    .card-header {
        padding: 18px 20px !important;
        position: relative;
    }
    
    .card-icon {
        width: 40px !important;
        height: 40px !important;
        top: 15px !important;
        right: 15px !important;
    }
    
    .card-icon svg {
        width: 20px !important;
        height: 20px !important;
    }
    
    .card-header h3 {
        font-size: 1.4rem !important;
        margin-right: 50px;
    }
    
    .card-header p {
        font-size: 0.9rem !important;
        margin-right: 50px;
    }
    
    .card-body {
        padding: 20px !important;
    }
    
    .card-body li {
        padding: 8px 0 !important;
        align-items: flex-start !important;
    }
    
    .card-body li span:first-child {
        margin-right: 8px !important;
        margin-top: 2px;
        flex-shrink: 0;
    }
    
    .card-body li span:first-child svg {
        width: 16px !important;
        height: 16px !important;
    }
    
    .card-body li span:last-child {
        font-size: 0.9rem !important;
        line-height: 1.4;
    }
    
    .payment-option {
        margin-bottom: 15px !important;
        padding-bottom: 12px !important;
    }
    
    .option-title {
        margin-bottom: 6px !important;
        font-size: 0.95rem !important;
    }
    
    .option-title i {
        font-size: 16px !important;
        margin-right: 6px !important;
    }
    
    .payment-option p {
        margin-left: 22px !important;
        font-size: 0.85rem !important;
        line-height: 1.3;
    }
    
    .btn-gradient {
        width: 100% !important;
        justify-content: center !important;
        padding: 12px 16px !important;
        font-size: 0.9rem !important;
        border-radius: 6px !important;
    }
    
    .btn-gradient svg:first-child {
        margin-right: 6px !important;
    }
    
    .btn-gradient svg:last-child {
        margin-left: 6px !important;
    }
    
    /* Desactivar efectos hover en dispositivos táctiles */
    .pricing-card:hover {
        transform: none !important;
        box-shadow: 0 8px 30px rgba(0,0,0,0.08), 0 0 0 1px rgba(255,255,255,0.4) inset !important;
    }
    
    .btn-gradient:hover {
        transform: none !important;
    }
}

/* Móviles pequeños (menos de 576px) */
@media (max-width: 576px) {
    .pricing-section {
        padding: 40px 0 !important;
    }
    
    .container {
        padding: 0 8px !important;
    }
    
    .section-header {
        margin-bottom: 35px !important;
    }
    
    .title-animated {
        font-size: 1.8rem !important;
        line-height: 1.1 !important;
        text-shadow: none !important;
    }
    
    .title-underline {
        width: 40% !important;
        height: 2px !important;
    }
    
    .section-header p {
        font-size: 0.9rem !important;
        line-height: 1.4;
        padding: 0 5px;
    }
    
    .cards-container {
        gap: 15px !important;
        max-width: 100%;
        margin-top: 30px !important;
    }
    
    .pricing-card {
        border-radius: 10px !important;
        box-shadow: 0 5px 20px rgba(0,0,0,0.1), 0 0 0 1px rgba(255,255,255,0.4) inset !important;
    }
    
    .card-header {
        padding: 15px 18px !important;
    }
    
    .card-icon {
        width: 35px !important;
        height: 35px !important;
        top: 12px !important;
        right: 12px !important;
    }
    
    .card-icon svg {
        width: 18px !important;
        height: 18px !important;
    }
    
    .card-header h3 {
        font-size: 1.2rem !important;
        margin-right: 45px;
    }
    
    .card-header p {
        font-size: 0.85rem !important;
        margin-right: 45px;
    }
    
    .card-body {
        padding: 15px !important;
    }
    
    .card-body li {
        padding: 6px 0 !important;
        border-bottom: 1px solid #f5f7fa !important;
    }
    
    .card-body li span:last-child {
        font-size: 0.85rem !important;
        line-height: 1.3;
    }
    
    .card-body p {
        margin-top: 15px !important;
        font-size: 0.8rem !important;
    }
    
    .payment-option {
        margin-bottom: 12px !important;
        padding-bottom: 10px !important;
    }
    
    .option-title {
        font-size: 0.9rem !important;
        margin-bottom: 4px !important;
    }
    
    .option-title i {
        font-size: 14px !important;
        margin-right: 5px !important;
    }
    
    .payment-option p {
        margin-left: 19px !important;
        font-size: 0.8rem !important;
        line-height: 1.2;
    }
    
    .btn-gradient {
        padding: 10px 14px !important;
        font-size: 0.85rem !important;
        margin-top: 12px !important;
    }
    
    .btn-gradient svg {
        width: 16px !important;
        height: 16px !important;
    }
    
    .btn-gradient svg:first-child {
        margin-right: 4px !important;
    }
    
    .btn-gradient svg:last-child {
        margin-left: 4px !important;
    }
}

/* Móviles muy pequeños (menos de 400px) */
@media (max-width: 400px) {
    .pricing-section {
        padding: 35px 0 !important;
    }
    
    .container {
        padding: 0 5px !important;
    }
    
    .title-animated {
        font-size: 1.6rem !important;
    }
    
    .section-header p {
        font-size: 0.85rem !important;
    }
    
    .cards-container {
        gap: 12px !important;
        margin-top: 25px !important;
    }
    
    .pricing-card {
        border-radius: 8px !important;
    }
    
    .card-header {
        padding: 12px 15px !important;
    }
    
    .card-header h3 {
        font-size: 1.1rem !important;
        margin-right: 40px;
    }
    
    .card-header p {
        font-size: 0.8rem !important;
        margin-right: 40px;
    }
    
    .card-body {
        padding: 12px !important;
    }
    
    .card-body li span:last-child {
        font-size: 0.8rem !important;
    }
    
    .payment-option p {
        font-size: 0.75rem !important;
        margin-left: 17px !important;
    }
    
    .btn-gradient {
        padding: 8px 12px !important;
        font-size: 0.8rem !important;
    }
}

/* Layout especial para móviles en orientación horizontal */
@media (max-width: 768px) and (orientation: landscape) and (max-height: 500px) {
    .pricing-section {
        padding: 25px 0 !important;
    }
    
    .section-header {
        margin-bottom: 25px !important;
    }
    
    .title-animated {
        font-size: 1.5rem !important;
        margin-bottom: 8px !important;
    }
    
    .section-header p {
        font-size: 0.85rem !important;
    }
    
    .cards-container {
        flex-direction: row !important;
        gap: 15px !important;
        max-width: 100%;
    }
    
    .pricing-card {
        flex: 1 !important;
        min-height: auto;
    }
    
    .card-header {
        padding: 10px 15px !important;
    }
    
    .card-header h3 {
        font-size: 1rem !important;
    }
    
    .card-header p {
        font-size: 0.75rem !important;
    }
    
    .card-body {
        padding: 10px !important;
    }
    
    .card-body li {
        padding: 4px 0 !important;
    }
    
    .card-body li span:last-child {
        font-size: 0.75rem !important;
    }
    
    .btn-gradient {
        padding: 6px 10px !important;
        font-size: 0.75rem !important;
    }
}

/* Mejoras para interacción táctil */
@media (max-width: 768px) {
    .pricing-card {
        transition: all 0.2s ease !important;
        cursor: default;
    }
    
    .pricing-card:active {
        transform: scale(0.98) !important;
        box-shadow: 0 3px 15px rgba(0,0,0,0.1) !important;
    }
    
    .btn-gradient {
        transition: all 0.2s ease !important;
        /* Hacer los botones más fáciles de tocar */
        min-height: 44px;
        display: flex !important;
        align-items: center;
    }
    
    .btn-gradient:active {
        transform: scale(0.95) !important;
        opacity: 0.8;
    }
    
    /* Mejorar legibilidad del texto */
    .card-header h3,
    .card-body li span,
    .option-title {
        text-rendering: optimizeLegibility;
        -webkit-font-smoothing: antialiased;
    }
    
    /* Asegurar que las tarjetas tengan altura adecuada */
    .pricing-card {
        display: flex;
        flex-direction: column;
        min-height: 400px;
    }
    
    .card-body {
        display: flex;
        flex-direction: column;
        flex: 1;
    }
    
    .btn-gradient {
        margin-top: auto !important;
    }
}

/* Ocultar elementos decorativos en móviles para mejor rendimiento */
@media (max-width: 576px) {
    .bg-elements svg {
        display: none;
    }
    
    .pricing-section {
        background: #f0f7ff !important;
    }
}


/* RESPONSIVE DESIGN ESPECÍFICO PARA SECCIÓN CULTURA DEL AGUA */
/* NOTA: Variables y selectores únicos para evitar conflictos */

/* Tablets medianos (768px - 992px) */
@media (max-width: 992px) {
    /* Sección principal de cultura del agua */
    .section[style*="linear-gradient(135deg, var(--light-green), var(--dark-green))"] {
        padding: 50px 0 !important;
    }
    
    /* Container específico de cultura del agua */
    .section[style*="linear-gradient(135deg, var(--light-green), var(--dark-green))"] .container {
        padding: 0 15px !important;
    }
    
    /* Header principal más compacto */
    .section[style*="linear-gradient(135deg, var(--light-green), var(--dark-green))"] .container > div:first-child {
        flex-direction: column !important;
        text-align: center;
        margin-bottom: 25px !important;
    }
    
    .section[style*="linear-gradient(135deg, var(--light-green), var(--dark-green))"] .container > div:first-child > div:first-child {
        flex: none !important;
        min-width: auto !important;
        margin-bottom: 20px;
    }
    
    .section[style*="linear-gradient(135deg, var(--light-green), var(--dark-green))"] .container > div:first-child h2 {
        font-size: 2.2rem !important;
        margin-bottom: 12px !important;
    }
    
    .section[style*="linear-gradient(135deg, var(--light-green), var(--dark-green))"] .container > div:first-child p {
        font-size: 1.1rem !important;
        max-width: 100% !important;
    }
    
    /* Imagen del header */
    .section[style*="linear-gradient(135deg, var(--light-green), var(--dark-green))"] .container > div:first-child > div:last-child {
        flex: none !important;
        margin: 0 auto !important;
        width: 350px !important;
        height: 200px !important;
    }
    
    .section[style*="linear-gradient(135deg, var(--light-green), var(--dark-green))"] .container > div:first-child > div:last-child > div {
        width: 100% !important;
        height: 100% !important;
    }
    
    /* Grid de consejos */
    .section[style*="linear-gradient(135deg, var(--light-green), var(--dark-green))"] .container > div:last-child > div:nth-child(2) {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px !important;
    }
    
    /* Tarjetas de consejos */
    .section[style*="linear-gradient(135deg, var(--light-green), var(--dark-green))"] .tip-card {
        padding: 20px !important;
        border-radius: 12px !important;
    }
    
    .section[style*="linear-gradient(135deg, var(--light-green), var(--dark-green))"] .tip-card h4 {
        font-size: 1.2rem !important;
    }
    
    .section[style*="linear-gradient(135deg, var(--light-green), var(--dark-green))"] .tip-card .water-icon {
        width: 45px !important;
        height: 45px !important;
        margin-right: 12px !important;
    }
    
    .section[style*="linear-gradient(135deg, var(--light-green), var(--dark-green))"] .tip-card .water-icon i {
        font-size: 20px !important;
    }
    
    .section[style*="linear-gradient(135deg, var(--light-green), var(--dark-green))"] .tip-card li {
        padding: 6px 0 !important;
    }
    
    .section[style*="linear-gradient(135deg, var(--light-green), var(--dark-green))"] .tip-card li span:last-child {
        font-size: 0.9rem !important;
        line-height: 1.4;
    }
    
    /* Datos curiosos */
    .section[style*="linear-gradient(135deg, var(--light-green), var(--dark-green))"] .container > div:last-child > div:nth-child(3) {
        padding: 20px !important;
        margin-top: 30px !important;
    }
    
    .section[style*="linear-gradient(135deg, var(--light-green), var(--dark-green))"] .container > div:last-child > div:nth-child(3) h4 {
        font-size: 1.2rem !important;
        margin-bottom: 15px !important;
    }
    
    .section[style*="linear-gradient(135deg, var(--light-green), var(--dark-green))"] .container > div:last-child > div:nth-child(3) > div {
        gap: 15px !important;
    }
    
    .section[style*="linear-gradient(135deg, var(--light-green), var(--dark-green))"] .container > div:last-child > div:nth-child(3) > div > div {
        padding: 12px !important;
        min-width: 180px !important;
    }
    
    .section[style*="linear-gradient(135deg, var(--light-green), var(--dark-green))"] .container > div:last-child > div:nth-child(3) > div > div > div {
        font-size: 2.2rem !important;
        margin-bottom: 8px !important;
    }
    
    .section[style*="linear-gradient(135deg, var(--light-green), var(--dark-green))"] .container > div:last-child > div:nth-child(3) > div > div > p {
        font-size: 0.9rem !important;
        line-height: 1.3;
    }
    
    /* Botón "Descubrir Más" */
    .section[style*="linear-gradient(135deg, var(--light-green), var(--dark-green))"] .learn-more-btn {
        padding: 12px 25px !important;
        font-size: 1rem !important;
        margin-top: 30px !important;
    }
}

/* Tablets pequeños y móviles grandes (576px - 768px) */
@media (max-width: 768px) {
    .section[style*="linear-gradient(135deg, var(--light-green), var(--dark-green))"] {
        padding: 40px 0 !important;
    }
    
    .section[style*="linear-gradient(135deg, var(--light-green), var(--dark-green))"] .container {
        padding: 0 10px !important;
    }
    
    /* Header principal */
    .section[style*="linear-gradient(135deg, var(--light-green), var(--dark-green))"] .container > div:first-child h2 {
        font-size: 2rem !important;
        margin-bottom: 10px !important;
        text-align: center;
    }
    
    .section[style*="linear-gradient(135deg, var(--light-green), var(--dark-green))"] .container > div:first-child p {
        font-size: 1rem !important;
        text-align: center;
        margin-bottom: 15px !important;
    }
    
    /* Imagen del header más pequeña */
    .section[style*="linear-gradient(135deg, var(--light-green), var(--dark-green))"] .container > div:first-child > div:last-child {
        width: 300px !important;
        height: 180px !important;
    }
    
    /* Contenedor principal con menos padding */
    .section[style*="linear-gradient(135deg, var(--light-green), var(--dark-green))"] .container > div:last-child {
        padding: 30px 15px !important;
        border-radius: 15px !important;
        margin-top: 15px !important;
    }
    
    .section[style*="linear-gradient(135deg, var(--light-green), var(--dark-green))"] .container > div:last-child h3 {
        font-size: 1.5rem !important;
        margin-bottom: 25px !important;
    }
    
    /* Grid de consejos - una columna */
    .section[style*="linear-gradient(135deg, var(--light-green), var(--dark-green))"] .container > div:last-child > div:nth-child(2) {
        grid-template-columns: 1fr !important;
        gap: 18px !important;
    }
    
    .section[style*="linear-gradient(135deg, var(--light-green), var(--dark-green))"] .tip-card {
        padding: 18px !important;
        border-radius: 10px !important;
    }
    
    .section[style*="linear-gradient(135deg, var(--light-green), var(--dark-green))"] .tip-card > div:first-child {
        margin-bottom: 15px !important;
        display: flex;
        align-items: center;
    }
    
    .section[style*="linear-gradient(135deg, var(--light-green), var(--dark-green))"] .tip-card h4 {
        font-size: 1.1rem !important;
        text-align: left;
    }
    
    .section[style*="linear-gradient(135deg, var(--light-green), var(--dark-green))"] .tip-card .water-icon {
        width: 40px !important;
        height: 40px !important;
        margin-right: 10px !important;
        flex-shrink: 0;
    }
    
    .section[style*="linear-gradient(135deg, var(--light-green), var(--dark-green))"] .tip-card .water-icon i {
        font-size: 18px !important;
    }
    
    .section[style*="linear-gradient(135deg, var(--light-green), var(--dark-green))"] .tip-card ul {
        margin-bottom: 0 !important;
    }
    
    .section[style*="linear-gradient(135deg, var(--light-green), var(--dark-green))"] .tip-card li {
        padding: 5px 0 !important;
        font-size: 0.85rem !important;
        line-height: 1.3;
        display: flex;
        align-items: flex-start;
    }
    
    .section[style*="linear-gradient(135deg, var(--light-green), var(--dark-green))"] .tip-card li span:first-child {
        margin-right: 8px !important;
        flex-shrink: 0;
    }
    
    /* Datos curiosos */
    .section[style*="linear-gradient(135deg, var(--light-green), var(--dark-green))"] .container > div:last-child > div:nth-child(3) {
        padding: 18px !important;
        margin-top: 25px !important;
        border-radius: 12px !important;
    }
    
    .section[style*="linear-gradient(135deg, var(--light-green), var(--dark-green))"] .container > div:last-child > div:nth-child(3) h4 {
        font-size: 1.1rem !important;
        margin-bottom: 18px !important;
    }
    
    .section[style*="linear-gradient(135deg, var(--light-green), var(--dark-green))"] .container > div:last-child > div:nth-child(3) > div {
        flex-direction: column !important;
        gap: 12px !important;
    }
    
    .section[style*="linear-gradient(135deg, var(--light-green), var(--dark-green))"] .container > div:last-child > div:nth-child(3) > div > div {
        padding: 15px 10px !important;
        min-width: auto !important;
        max-width: 100% !important;
    }
    
    .section[style*="linear-gradient(135deg, var(--light-green), var(--dark-green))"] .container > div:last-child > div:nth-child(3) > div > div > div {
        font-size: 2rem !important;
        margin-bottom: 6px !important;
    }
    
    .section[style*="linear-gradient(135deg, var(--light-green), var(--dark-green))"] .container > div:last-child > div:nth-child(3) > div > div > p {
        font-size: 0.85rem !important;
        line-height: 1.2;
    }
    
    /* Botón */
    .section[style*="linear-gradient(135deg, var(--light-green), var(--dark-green))"] .btn-container {
        margin-top: 25px !important;
    }
    
    .section[style*="linear-gradient(135deg, var(--light-green), var(--dark-green))"] .learn-more-btn {
        width: 100% !important;
        max-width: 280px !important;
        padding: 14px 20px !important;
        font-size: 0.95rem !important;
        margin: 0 auto !important;
        display: block !important;
        text-align: center;
    }
    
    /* Desactivar efectos hover en móviles */
    .section[style*="linear-gradient(135deg, var(--light-green), var(--dark-green))"] .tip-card:hover {
        transform: none !important;
        box-shadow: none !important;
    }
    
    .section[style*="linear-gradient(135deg, var(--light-green), var(--dark-green))"] .tip-card .water-icon {
        transition: none !important;
    }
    
    .section[style*="linear-gradient(135deg, var(--light-green), var(--dark-green))"] .tip-card:hover .water-icon {
        transform: none !important;
    }
}

/* Móviles pequeños (menos de 576px) */
@media (max-width: 576px) {
    .section[style*="linear-gradient(135deg, var(--light-green), var(--dark-green))"] {
        padding: 35px 0 !important;
    }
    
    .section[style*="linear-gradient(135deg, var(--light-green), var(--dark-green))"] .container {
        padding: 0 8px !important;
    }
    
    /* Header principal */
    .section[style*="linear-gradient(135deg, var(--light-green), var(--dark-green))"] .container > div:first-child h2 {
        font-size: 1.8rem !important;
        line-height: 1.2;
    }
    
    .section[style*="linear-gradient(135deg, var(--light-green), var(--dark-green))"] .container > div:first-child p {
        font-size: 0.95rem !important;
    }
    
    /* Imagen del header */
    .section[style*="linear-gradient(135deg, var(--light-green), var(--dark-green))"] .container > div:first-child > div:last-child {
        width: 280px !important;
        height: 160px !important;
    }
    
    /* Contenedor principal */
    .section[style*="linear-gradient(135deg, var(--light-green), var(--dark-green))"] .container > div:last-child {
        padding: 25px 12px !important;
        border-radius: 12px !important;
    }
    
    .section[style*="linear-gradient(135deg, var(--light-green), var(--dark-green))"] .container > div:last-child h3 {
        font-size: 1.3rem !important;
        margin-bottom: 20px !important;
    }
    
    /* Tarjetas de consejos */
    .section[style*="linear-gradient(135deg, var(--light-green), var(--dark-green))"] .tip-card {
        padding: 15px !important;
        border-radius: 8px !important;
    }
    
    .section[style*="linear-gradient(135deg, var(--light-green), var(--dark-green))"] .tip-card > div:first-child {
        margin-bottom: 12px !important;
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    
    .section[style*="linear-gradient(135deg, var(--light-green), var(--dark-green))"] .tip-card .water-icon {
        width: 35px !important;
        height: 35px !important;
        margin-right: 0 !important;
        margin-bottom: 8px;
    }
    
    .section[style*="linear-gradient(135deg, var(--light-green), var(--dark-green))"] .tip-card .water-icon i {
        font-size: 16px !important;
    }
    
    .section[style*="linear-gradient(135deg, var(--light-green), var(--dark-green))"] .tip-card h4 {
        font-size: 1rem !important;
        text-align: center;
        width: 100%;
        margin: 0;
    }
    
    .section[style*="linear-gradient(135deg, var(--light-green), var(--dark-green))"] .tip-card li {
        padding: 4px 0 !important;
        font-size: 0.8rem !important;
        line-height: 1.25;
        justify-content: center;
        text-align: left;
    }
    
    .section[style*="linear-gradient(135deg, var(--light-green), var(--dark-green))"] .tip-card li span:first-child {
        margin-right: 6px !important;
    }
    
    /* Datos curiosos */
    .section[style*="linear-gradient(135deg, var(--light-green), var(--dark-green))"] .container > div:last-child > div:nth-child(3) {
        padding: 15px !important;
        margin-top: 20px !important;
    }
    
    .section[style*="linear-gradient(135deg, var(--light-green), var(--dark-green))"] .container > div:last-child > div:nth-child(3) h4 {
        font-size: 1rem !important;
        margin-bottom: 15px !important;
    }
    
    .section[style*="linear-gradient(135deg, var(--light-green), var(--dark-green))"] .container > div:last-child > div:nth-child(3) > div > div {
        padding: 12px 8px !important;
    }
    
    .section[style*="linear-gradient(135deg, var(--light-green), var(--dark-green))"] .container > div:last-child > div:nth-child(3) > div > div > div {
        font-size: 1.8rem !important;
        margin-bottom: 5px !important;
    }
    
    .section[style*="linear-gradient(135deg, var(--light-green), var(--dark-green))"] .container > div:last-child > div:nth-child(3) > div > div > p {
        font-size: 0.8rem !important;
        line-height: 1.1;
    }
    
    /* Botón */
    .section[style*="linear-gradient(135deg, var(--light-green), var(--dark-green))"] .learn-more-btn {
        width: 100% !important;
        max-width: 250px !important;
        padding: 12px 18px !important;
        font-size: 0.9rem !important;
    }
    
    .section[style*="linear-gradient(135deg, var(--light-green), var(--dark-green))"] .btn-container {
        margin-top: 20px !important;
    }
}

/* Móviles muy pequeños (menos de 400px) */
@media (max-width: 400px) {
    .section[style*="linear-gradient(135deg, var(--light-green), var(--dark-green))"] {
        padding: 30px 0 !important;
    }
    
    .section[style*="linear-gradient(135deg, var(--light-green), var(--dark-green))"] .container {
        padding: 0 5px !important;
    }
    
    .section[style*="linear-gradient(135deg, var(--light-green), var(--dark-green))"] .container > div:first-child h2 {
        font-size: 1.6rem !important;
    }
    
    .section[style*="linear-gradient(135deg, var(--light-green), var(--dark-green))"] .container > div:first-child p {
        font-size: 0.9rem !important;
    }
    
    .section[style*="linear-gradient(135deg, var(--light-green), var(--dark-green))"] .container > div:first-child > div:last-child {
        width: 250px !important;
        height: 140px !important;
    }
    
    .section[style*="linear-gradient(135deg, var(--light-green), var(--dark-green))"] .container > div:last-child {
        padding: 20px 10px !important;
    }
    
    .section[style*="linear-gradient(135deg, var(--light-green), var(--dark-green))"] .container > div:last-child h3 {
        font-size: 1.2rem !important;
    }
    
    .section[style*="linear-gradient(135deg, var(--light-green), var(--dark-green))"] .tip-card {
        padding: 12px !important;
    }
    
    .section[style*="linear-gradient(135deg, var(--light-green), var(--dark-green))"] .tip-card h4 {
        font-size: 0.95rem !important;
    }
    
    .section[style*="linear-gradient(135deg, var(--light-green), var(--dark-green))"] .tip-card li {
        font-size: 0.75rem !important;
    }
    
    .section[style*="linear-gradient(135deg, var(--light-green), var(--dark-green))"] .learn-more-btn {
        padding: 10px 16px !important;
        font-size: 0.85rem !important;
    }
}

/* MEJORAS ADICIONALES PARA UX EN MÓVILES */

/* Optimización para orientación horizontal en móviles */
@media screen and (max-width: 768px) and (orientation: landscape) {
    .section[style*="linear-gradient(135deg, var(--light-green), var(--dark-green))"] {
        padding: 25px 0 !important;
    }
    
    .section[style*="linear-gradient(135deg, var(--light-green), var(--dark-green))"] .container > div:first-child > div:last-child {
        width: 250px !important;
        height: 140px !important;
    }
    
    .section[style*="linear-gradient(135deg, var(--light-green), var(--dark-green))"] .container > div:last-child > div:nth-child(2) {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 15px !important;
    }
    
    .section[style*="linear-gradient(135deg, var(--light-green), var(--dark-green))"] .tip-card {
        padding: 12px !important;
    }
    
    .section[style*="linear-gradient(135deg, var(--light-green), var(--dark-green))"] .tip-card h4 {
        font-size: 0.9rem !important;
    }
    
    .section[style*="linear-gradient(135deg, var(--light-green), var(--dark-green))"] .tip-card li {
        font-size: 0.75rem !important;
        padding: 3px 0 !important;
    }
}

/* Mejoras para interacción táctil */
@media screen and (max-width: 768px) {
    .section[style*="linear-gradient(135deg, var(--light-green), var(--dark-green))"] .tip-card {
        transition: all 0.2s ease;
        cursor: default;
        -webkit-tap-highlight-color: transparent;
    }
    
    .section[style*="linear-gradient(135deg, var(--light-green), var(--dark-green))"] .tip-card:active {
        transform: scale(0.98);
        opacity: 0.9;
    }
    
    .section[style*="linear-gradient(135deg, var(--light-green), var(--dark-green))"] .learn-more-btn {
        transition: all 0.2s ease;
        -webkit-tap-highlight-color: transparent;
        min-height: 44px;
    }
    
    .section[style*="linear-gradient(135deg, var(--light-green), var(--dark-green))"] .learn-more-btn:active {
        transform: scale(0.95);
        opacity: 0.9;
    }
    
    /* Mejorar legibilidad del texto */
    .section[style*="linear-gradient(135deg, var(--light-green), var(--dark-green))"] .tip-card h4,
    .section[style*="linear-gradient(135deg, var(--light-green), var(--dark-green))"] .container > div:first-child h2 {
        text-rendering: optimizeLegibility;
        -webkit-font-smoothing: antialiased;
    }
}

/* Ocultar elementos de fondo en móviles para mejor rendimiento */
@media screen and (max-width: 576px) {
    .section[style*="linear-gradient(135deg, var(--light-green), var(--dark-green))"] .water-bubbles {
        display: none;
    }
    
    .section[style*="linear-gradient(135deg, var(--light-green), var(--dark-green))"] .bubble {
        display: none;
    }
}

/* RESPONSIVE DESIGN ESPECÍFICO PARA SECCIÓN DE BOTONES DE TRANSPARENCIA */
/* NOTA: Selectores específicos para evitar conflictos con otros .btn */

/* Tablets medianos (768px - 992px) */
@media (max-width: 992px) {
    /* Container de botones de transparencia */
    section[style*="background-color: var(--primary-blue)"] div[style*="display: flex; flex-wrap: wrap; gap: 15px"] {
        gap: 12px !important;
        margin-top: 25px !important;
        justify-content: center;
    }
    
    /* Botones específicos de transparencia */
    section[style*="background-color: var(--primary-blue)"] .btn[style*="background-color: white"] {
        padding: 10px 18px !important;
        font-size: 0.9rem !important;
        min-width: 120px;
        text-align: center;
        border-radius: 8px !important;
        font-weight: 600;
        transition: all 0.3s ease;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }
    
    /* Hover mejorado para tablets */
    section[style*="background-color: var(--primary-blue)"] .btn[style*="background-color: white"]:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        background-color: #f8f9fa !important;
    }
}

/* Tablets pequeños y móviles grandes (576px - 768px) */
@media (max-width: 768px) {
    /* Container principal de la sección transparencia */
    section[style*="background-color: var(--primary-blue)"] div[style*="max-width: 1200px"] {
        flex-direction: column !important;
        text-align: center !important;
        gap: 25px !important;
    }
    
    /* Área de contenido de texto */
    section[style*="background-color: var(--primary-blue)"] div[style*="flex: 1; min-width: 300px"] {
        flex: none !important;
        min-width: auto !important;
        margin-right: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 20px !important;
    }
    
    /* Logo de transparencia */
    section[style*="background-color: var(--primary-blue)"] img[alt="Logo Transparencia"] {
        width: 120px !important;
        max-height: 100px !important;
    }
    
    /* Título y texto */
    section[style*="background-color: var(--primary-blue)"] h2 {
        font-size: 1.8rem !important;
        margin-bottom: 12px !important;
    }
    
    section[style*="background-color: var(--primary-blue)"] p {
        font-size: 1rem !important;
        max-width: 90% !important;
    }
    
    /* Container de botones */
    section[style*="background-color: var(--primary-blue)"] div[style*="display: flex; flex-wrap: wrap; gap: 15px"] {
        gap: 10px !important;
        margin-top: 20px !important;
        justify-content: center !important;
        width: 100% !important;
        max-width: 400px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    
    /* Botones adaptados para móviles */
    section[style*="background-color: var(--primary-blue)"] .btn[style*="background-color: white"] {
        padding: 12px 20px !important;
        font-size: 0.9rem !important;
        min-width: 110px !important;
        flex: 1 1 calc(50% - 5px) !important;
        text-align: center !important;
        border-radius: 6px !important;
        font-weight: 600 !important;
        border: 2px solid transparent !important;
        transition: all 0.2s ease !important;
    }
    
    /* Desactivar efectos hover complejos en móviles */
    section[style*="background-color: var(--primary-blue)"] .btn[style*="background-color: white"]:hover {
        transform: none !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
    }
    
    /* Efecto táctil para móviles */
    section[style*="background-color: var(--primary-blue)"] .btn[style*="background-color: white"]:active {
        transform: scale(0.95) !important;
        opacity: 0.8 !important;
    }
}

/* Móviles pequeños (menos de 576px) */
@media (max-width: 576px) {
    /* Sección principal más compacta */
    section[style*="background-color: var(--primary-blue)"] {
        padding: 35px 0 !important;
    }
    
    /* Container principal */
    section[style*="background-color: var(--primary-blue)"] div[style*="max-width: 1200px"] {
        padding: 0 15px !important;
        gap: 20px !important;
    }
    
    /* Logo más pequeño */
    section[style*="background-color: var(--primary-blue)"] img[alt="Logo Transparencia"] {
        width: 100px !important;
        max-height: 80px !important;
    }
    
    /* Títulos y texto más pequeños */
    section[style*="background-color: var(--primary-blue)"] h2 {
        font-size: 1.6rem !important;
        margin-bottom: 10px !important;
        line-height: 1.2 !important;
    }
    
    section[style*="background-color: var(--primary-blue)"] p {
        font-size: 0.95rem !important;
        line-height: 1.4 !important;
        max-width: 95% !important;
    }
    
    /* Container de botones apilados */
    section[style*="background-color: var(--primary-blue)"] div[style*="display: flex; flex-wrap: wrap; gap: 15px"] {
        flex-direction: column !important;
        gap: 8px !important;
        margin-top: 18px !important;
        max-width: 280px !important;
    }
    
    /* Botones ocupan todo el ancho */
    section[style*="background-color: var(--primary-blue)"] .btn[style*="background-color: white"] {
        width: 100% !important;
        flex: none !important;
        padding: 14px 16px !important;
        font-size: 0.9rem !important;
        min-width: auto !important;
        border-radius: 8px !important;
        min-height: 44px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
}

/* Móviles muy pequeños (menos de 400px) */
@media (max-width: 400px) {
    /* Sección aún más compacta */
    section[style*="background-color: var(--primary-blue)"] {
        padding: 30px 0 !important;
    }
    
    /* Container con menos padding */
    section[style*="background-color: var(--primary-blue)"] div[style*="max-width: 1200px"] {
        padding: 0 10px !important;
    }
    
    /* Logo muy pequeño */
    section[style*="background-color: var(--primary-blue)"] img[alt="Logo Transparencia"] {
        width: 80px !important;
        max-height: 65px !important;
    }
    
    /* Texto muy compacto */
    section[style*="background-color: var(--primary-blue)"] h2 {
        font-size: 1.4rem !important;
        margin-bottom: 8px !important;
    }
    
    section[style*="background-color: var(--primary-blue)"] p {
        font-size: 0.85rem !important;
        line-height: 1.3 !important;
    }
    
    /* Botones más pequeños */
    section[style*="background-color: var(--primary-blue)"] .btn[style*="background-color: white"] {
        padding: 12px 14px !important;
        font-size: 0.85rem !important;
        border-radius: 6px !important;
        min-height: 40px !important;
    }
    
    /* Container de botones más estrecho */
    section[style*="background-color: var(--primary-blue)"] div[style*="display: flex; flex-wrap: wrap; gap: 15px"] {
        max-width: 250px !important;
        gap: 6px !important;
    }
}

/* MEJORAS ADICIONALES PARA UX EN MÓVILES */

/* Optimización para orientación horizontal en móviles */
@media screen and (max-width: 768px) and (orientation: landscape) {
    section[style*="background-color: var(--primary-blue)"] {
        padding: 25px 0 !important;
    }
    
    section[style*="background-color: var(--primary-blue)"] div[style*="max-width: 1200px"] {
        flex-direction: row !important;
        align-items: center !important;
        gap: 30px !important;
    }
    
    section[style*="background-color: var(--primary-blue)"] div[style*="flex: 1; min-width: 300px"] {
        flex: 1 !important;
        flex-direction: row !important;
        text-align: left !important;
    }
    
    section[style*="background-color: var(--primary-blue)"] div[style*="display: flex; flex-wrap: wrap; gap: 15px"] {
        flex-direction: row !important;
        max-width: 350px !important;
        gap: 8px !important;
    }
    
    section[style*="background-color: var(--primary-blue)"] .btn[style*="background-color: white"] {
        flex: 1 1 calc(33.333% - 5px) !important;
        padding: 8px 12px !important;
        font-size: 0.8rem !important;
    }
}

/* Mejoras para interacción táctil */
@media screen and (max-width: 768px) {
    section[style*="background-color: var(--primary-blue)"] .btn[style*="background-color: white"] {
        -webkit-tap-highlight-color: transparent !important;
        cursor: pointer !important;
        user-select: none !important;
    }
    
    /* Feedback visual mejorado */
    section[style*="background-color: var(--primary-blue)"] .btn[style*="background-color: white"]:active {
        background-color: #e9ecef !important;
        border-color: var(--primary-blue) !important;
    }
    
    /* Mejorar legibilidad del texto */
    section[style*="background-color: var(--primary-blue)"] .btn[style*="background-color: white"] {
        text-rendering: optimizeLegibility !important;
        -webkit-font-smoothing: antialiased !important;
    }
}

/* Ajustes para pantallas de alta densidad */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    section[style*="background-color: var(--primary-blue)"] h2 {
        text-rendering: optimizeLegibility !important;
        -webkit-font-smoothing: antialiased !important;
        -moz-osx-font-smoothing: grayscale !important;
    }
    
    section[style*="background-color: var(--primary-blue)"] .btn[style*="background-color: white"] {
        -webkit-font-smoothing: antialiased !important;
    }
}

/* Evitar conflictos con otros botones del sitio */
section[style*="background-color: var(--primary-blue)"] .btn:not([style*="background-color: white"]) {
    /* Asegurar que otros botones en la sección no se vean afectados */
}

/* RESPONSIVE DESIGN ESPECÍFICO PARA SECCIÓN CALIDAD DEL AGUA */
/* NOTA: Clases únicas wq-* para evitar conflictos */

/* Tablets medianos (768px - 992px) */
@media (max-width: 992px) {
    .wq-section {
        padding: 60px 0;
    }
    
    .wq-container {
        padding: 0 15px;
    }
    
    .wq-header {
        margin-bottom: 40px;
    }
    
    .wq-title {
        font-size: 2.2rem;
        margin-bottom: 14px;
    }
    
    .wq-title::after {
        top: -12px;
        right: -12px;
        font-size: 20px;
    }
    
    .wq-subtitle {
        font-size: 1rem;
        max-width: 600px;
    }
    
    .wq-content-card {
        padding: 30px 25px;
        border-radius: 12px;
    }
    
    .wq-card-header {
        margin-bottom: 35px;
    }
    
    .wq-card-title {
        font-size: 1.6rem;
    }
    
    .wq-card-title::after {
        width: 60px;
        height: 2px;
    }
    
    .wq-card-desc {
        font-size: 1rem;
        max-width: 500px;
    }
    
    /* Timeline de proceso adaptado */
    .wq-process-timeline {
        margin: 40px 0;
    }
    
    .wq-process-step {
        margin-bottom: 25px;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .wq-process-step:nth-child(even) {
        flex-direction: column;
    }
    
    .wq-step-icon {
        margin: 0 0 20px 0;
        width: 70px;
        height: 70px;
    }
    
    .wq-step-number {
        width: 35px;
        height: 35px;
        font-size: 1.1rem;
    }
    
    .wq-icon-bg {
        width: 60px;
        height: 60px;
    }
    
    .wq-step-icon i {
        font-size: 1.8rem;
    }
    
    .wq-step-content {
        width: 100%;
        max-width: 600px;
        margin: 0 auto;
        border-left: none;
        border-right: none;
        border-top: 4px solid #039be5;
        padding: 20px;
    }
    
    .wq-step-content h4 {
        font-size: 1.2rem;
        margin-bottom: 10px;
    }
    
    .wq-step-content p {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    
    /* Certificaciones */
    .wq-certifications {
        padding: 25px;
        margin-top: 40px;
    }
    
    .wq-certifications-header {
        flex-direction: column;
        text-align: center;
        margin-bottom: 25px;
    }
    
    .wq-cert-icon {
        margin: 0 auto 15px;
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    .wq-cert-title h4 {
        font-size: 1.2rem;
    }
    
    .wq-badges-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .wq-badge {
        padding: 15px;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .wq-badge-icon {
        margin: 0 0 10px 0;
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }
    
    .wq-badge-content h5 {
        font-size: 1rem;
        margin-bottom: 6px;
    }
    
    .wq-badge-content p {
        font-size: 0.85rem;
        line-height: 1.4;
    }
    
    /* Datos del agua */
    .wq-water-facts {
        padding: 25px;
        margin-top: 35px;
    }
    
    .wq-facts-title {
        font-size: 1.2rem;
        margin-bottom: 20px;
        justify-content: center;
    }
    
    .wq-facts-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .wq-fact-item {
        padding: 20px 15px;
    }
    
    .wq-fact-value {
        font-size: 2rem;
        margin-bottom: 8px;
    }
    
    .wq-fact-label {
        font-size: 0.9rem;
    }
    
    .wq-download-btn {
        padding: 12px 25px;
        font-size: 1rem;
    }
}

/* Tablets pequeños y móviles grandes (576px - 768px) */
@media (max-width: 768px) {
    .wq-section {
        padding: 50px 0;
    }
    
    .wq-container {
        padding: 0 10px;
    }
    
    .wq-header {
        margin-bottom: 35px;
    }
    
    .wq-title {
        font-size: 2rem;
        margin-bottom: 12px;
        line-height: 1.2;
    }
    
    .wq-title::after {
        top: -10px;
        right: -10px;
        font-size: 18px;
    }
    
    .wq-subtitle {
        font-size: 0.95rem;
        max-width: 100%;
        padding: 0 10px;
    }
    
    .wq-content-card {
        padding: 25px 20px;
        border-radius: 10px;
    }
    
    .wq-card-header {
        margin-bottom: 30px;
    }
    
    .wq-card-title {
        font-size: 1.4rem;
        line-height: 1.3;
    }
    
    .wq-card-title::after {
        width: 50px;
        bottom: -6px;
    }
    
    .wq-card-desc {
        font-size: 0.95rem;
        max-width: 100%;
    }
    
    /* Timeline más compacto */
    .wq-process-timeline {
        margin: 30px 0;
    }
    
    .wq-process-step {
        margin-bottom: 20px;
    }
    
    .wq-step-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 15px;
    }
    
    .wq-step-number {
        width: 30px;
        height: 30px;
        font-size: 1rem;
        top: -3px;
        left: -3px;
    }
    
    .wq-icon-bg {
        width: 54px;
        height: 54px;
        border-radius: 15px;
    }
    
    .wq-step-icon i {
        font-size: 1.5rem;
    }
    
    .wq-step-content {
        padding: 18px;
        border-top: 3px solid #039be5;
        border-radius: 8px;
        max-width: 100%;
    }
    
    .wq-step-content h4 {
        font-size: 1.1rem;
        margin-bottom: 8px;
    }
    
    .wq-step-content p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    /* Certificaciones en móvil */
    .wq-certifications {
        padding: 20px 15px;
        border-radius: 10px;
        margin-top: 30px;
    }
    
    .wq-cert-icon {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }
    
    .wq-cert-title h4 {
        font-size: 1.1rem;
        margin-bottom: 4px;
    }
    
    .wq-cert-title p {
        font-size: 0.85rem;
    }
    
    .wq-badges-container {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .wq-badge {
        padding: 15px 12px;
        border-radius: 8px;
    }
    
    .wq-badge-icon {
        width: 35px;
        height: 35px;
        font-size: 1.3rem;
        margin-bottom: 8px;
    }
    
    .wq-badge-content h5 {
        font-size: 0.95rem;
        margin-bottom: 5px;
    }
    
    .wq-badge-content p {
        font-size: 0.8rem;
        line-height: 1.3;
    }
    
    /* Datos del agua */
    .wq-water-facts {
        padding: 20px 15px;
        margin-top: 25px;
        border-radius: 10px;
    }
    
    .wq-facts-title {
        font-size: 1.1rem;
        margin-bottom: 18px;
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
    
    .wq-facts-title i {
        font-size: 1.3rem;
    }
    
    .wq-facts-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .wq-fact-item {
        padding: 15px 10px;
        border-radius: 8px;
    }
    
    .wq-fact-value {
        font-size: 1.8rem;
        margin-bottom: 6px;
    }
    
    .wq-fact-label {
        font-size: 0.85rem;
        line-height: 1.2;
    }
    
    .wq-document-download {
        margin-top: 25px;
    }
    
    .wq-download-btn {
        width: 100%;
        max-width: 280px;
        padding: 14px 20px;
        font-size: 0.95rem;
        border-radius: 25px;
    }
    
    .wq-download-btn i {
        font-size: 1.2rem;
    }
    
    /* Desactivar algunos efectos hover en móviles */
    .wq-process-step:hover .wq-step-content {
        transform: none;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    }
    
    .wq-fact-item:hover {
        transform: translateY(-3px);
    }
    
    .wq-badge:hover {
        transform: translateY(-2px);
    }
}

/* Móviles pequeños (menos de 576px) */
@media (max-width: 576px) {
    .wq-section {
        padding: 40px 0;
    }
    
    .wq-container {
        padding: 0 8px;
    }
    
    .wq-header {
        margin-bottom: 30px;
    }
    
    .wq-title {
        font-size: 1.8rem;
        margin-bottom: 10px;
        line-height: 1.1;
    }
    
    .wq-title::after {
        top: -8px;
        right: -8px;
        font-size: 16px;
    }
    
    .wq-subtitle {
        font-size: 0.9rem;
        line-height: 1.4;
        padding: 0 5px;
    }
    
    .wq-content-card {
        padding: 20px 15px;
        border-radius: 8px;
    }
    
    .wq-card-header {
        margin-bottom: 25px;
    }
    
    .wq-card-title {
        font-size: 1.3rem;
        line-height: 1.2;
    }
    
    .wq-card-title::after {
        width: 40px;
        height: 2px;
        bottom: -5px;
    }
    
    .wq-card-desc {
        font-size: 0.9rem;
        line-height: 1.4;
    }
    
    /* Timeline muy compacto */
    .wq-process-timeline {
        margin: 25px 0;
    }
    
    .wq-process-step {
        margin-bottom: 18px;
    }
    
    .wq-step-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 12px;
    }
    
    .wq-step-number {
        width: 25px;
        height: 25px;
        font-size: 0.9rem;
        top: -2px;
        left: -2px;
    }
    
    .wq-icon-bg {
        width: 45px;
        height: 45px;
        border-radius: 12px;
    }
    
    .wq-step-icon i {
        font-size: 1.3rem;
    }
    
    .wq-step-content {
        padding: 15px 12px;
        border-top: 2px solid #039be5;
        border-radius: 6px;
    }
    
    .wq-step-content h4 {
        font-size: 1rem;
        margin-bottom: 6px;
    }
    
    .wq-step-content p {
        font-size: 0.85rem;
        line-height: 1.4;
    }
    
    /* Certificaciones móvil pequeño */
    .wq-certifications {
        padding: 18px 12px;
        margin-top: 25px;
        border-radius: 8px;
    }
    
    .wq-certifications-header {
        margin-bottom: 18px;
    }
    
    .wq-cert-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
        margin-bottom: 10px;
    }
    
    .wq-cert-title h4 {
        font-size: 1rem;
        margin-bottom: 3px;
    }
    
    .wq-cert-title p {
        font-size: 0.8rem;
        line-height: 1.3;
    }
    
    .wq-badges-container {
        gap: 10px;
    }
    
    .wq-badge {
        padding: 12px 10px;
        border-radius: 6px;
    }
    
    .wq-badge-icon {
        width: 30px;
        height: 30px;
        font-size: 1.1rem;
        margin-bottom: 6px;
    }
    
    .wq-badge-content h5 {
        font-size: 0.9rem;
        margin-bottom: 4px;
    }
    
    .wq-badge-content p {
        font-size: 0.75rem;
        line-height: 1.2;
    }
    
    /* Datos del agua móvil pequeño */
    .wq-water-facts {
        padding: 15px 12px;
        margin-top: 20px;
        border-radius: 8px;
    }
    
    .wq-facts-title {
        font-size: 1rem;
        margin-bottom: 15px;
        gap: 6px;
    }
    
    .wq-facts-title i {
        font-size: 1.2rem;
    }
    
    .wq-facts-grid {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }
    
    .wq-fact-item {
        padding: 12px 8px;
        border-radius: 6px;
    }
    
    .wq-fact-value {
        font-size: 1.5rem;
        margin-bottom: 4px;
    }
    
    .wq-fact-label {
        font-size: 0.75rem;
        line-height: 1.1;
    }
    
    .wq-document-download {
        margin-top: 20px;
    }
    
    .wq-download-btn {
        width: 100%;
        max-width: 250px;
        padding: 12px 18px;
        font-size: 0.9rem;
        border-radius: 20px;
    }
    
    .wq-download-btn i {
        font-size: 1.1rem;
    }
    
    /* Desactivar efectos hover complejos */
    .wq-process-step:hover .wq-icon-bg {
        transform: rotate(10deg);
    }
    
    .wq-process-step:hover .wq-step-content {
        transform: none;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    }
    
    .wq-fact-item:hover {
        transform: none;
    }
    
    .wq-badge:hover {
        transform: none;
    }
}

/* Móviles muy pequeños (menos de 400px) */
@media (max-width: 400px) {
    .wq-section {
        padding: 35px 0;
    }
    
    .wq-container {
        padding: 0 5px;
    }
    
    .wq-title {
        font-size: 1.6rem;
        margin-bottom: 8px;
    }
    
    .wq-title::after {
        top: -6px;
        right: -6px;
        font-size: 14px;
    }
    
    .wq-subtitle {
        font-size: 0.85rem;
    }
    
    .wq-content-card {
        padding: 15px 10px;
        border-radius: 6px;
    }
    
    .wq-card-title {
        font-size: 1.2rem;
    }
    
    .wq-card-title::after {
        width: 35px;
    }
    
    .wq-card-desc {
        font-size: 0.85rem;
    }
    
    .wq-process-step {
        margin-bottom: 15px;
    }
    
    .wq-step-icon {
        width: 45px;
        height: 45px;
        margin-bottom: 10px;
    }
    
    .wq-icon-bg {
        width: 40px;
        height: 40px;
    }
    
    .wq-step-icon i {
        font-size: 1.1rem;
    }
    
    .wq-step-content {
        padding: 12px 10px;
    }
    
    .wq-step-content h4 {
        font-size: 0.95rem;
        margin-bottom: 5px;
    }
    
    .wq-step-content p {
        font-size: 0.8rem;
        line-height: 1.3;
    }
    
    .wq-facts-grid {
        grid-template-columns: 1fr;
        gap: 6px;
    }
    
    .wq-fact-item {
        padding: 10px 6px;
    }
    
    .wq-fact-value {
        font-size: 1.3rem;
        margin-bottom: 3px;
    }
    
    .wq-fact-label {
        font-size: 0.7rem;
    }
    
    .wq-download-btn {
        padding: 10px 15px;
        font-size: 0.85rem;
        border-radius: 15px;
    }
}

/* Layout especial para móviles en orientación horizontal */
@media (max-width: 768px) and (orientation: landscape) and (max-height: 500px) {
    .wq-section {
        padding: 25px 0;
    }
    
    .wq-header {
        margin-bottom: 20px;
    }
    
    .wq-title {
        font-size: 1.6rem;
        margin-bottom: 8px;
    }
    
    .wq-subtitle {
        font-size: 0.85rem;
    }
    
    .wq-content-card {
        padding: 20px 15px;
    }
    
    .wq-process-timeline {
        margin: 20px 0;
    }
    
    .wq-process-step {
        margin-bottom: 15px;
        flex-direction: row;
        text-align: left;
        max-width: 100%;
    }
    
    .wq-step-icon {
        margin: 0 15px 0 0;
        width: 50px;
        height: 50px;
    }
    
    .wq-step-content {
        flex: 1;
        padding: 12px 15px;
        border-top: none;
        border-left: 3px solid #039be5;
    }
    
    .wq-facts-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 8px;
    }
    
    .wq-fact-item {
        padding: 8px 6px;
    }
    
    .wq-fact-value {
        font-size: 1.2rem;
    }
    
    .wq-fact-label {
        font-size: 0.7rem;
    }
}

/* Mejoras para interacción táctil */
@media (max-width: 768px) {
    .wq-process-step,
    .wq-badge,
    .wq-fact-item {
        transition: all 0.2s ease;
        cursor: default;
        -webkit-tap-highlight-color: transparent;
    }
    
    .wq-process-step:active {
        transform: scale(0.98);
        opacity: 0.9;
    }
    
    .wq-badge:active {
        transform: scale(0.95);
        opacity: 0.9;
    }
    
    .wq-download-btn {
        transition: all 0.2s ease;
        -webkit-tap-highlight-color: transparent;
        min-height: 44px;
    }
    
    .wq-download-btn:active {
        transform: scale(0.95);
        opacity: 0.9;
    }
    
    /* Mejorar legibilidad del texto */
    .wq-title,
    .wq-card-title,
    .wq-step-content h4 {
        text-rendering: optimizeLegibility;
        -webkit-font-smoothing: antialiased;
    }
    
    /* DESACTIVAR ANIMACIONES DE SCROLL EN MÓVILES */
    [data-wq-animate] {
        opacity: 1 !important;
        transform: translate(0) scale(1) !important;
        transition: none !important;
    }
    
    .wq-process-step {
        opacity: 1 !important;
        transform: translateY(0) !important;
        transition: none !important;
    }
    
    .wq-badge {
        opacity: 1 !important;
        transform: scale(1) !important;
        transition: transform 0.2s ease, opacity 0.2s ease !important;
    }
}

/* Ocultar elementos decorativos en móviles para mejor rendimiento */
@media (max-width: 576px) {
    .wq-bubbles {
        display: none;
    }
    
    .wq-waves-decoration {
        display: none;
    }
    
    /* Simplificar animaciones en móviles */
    .wq-title::before {
        display: none;
    }
    
    .wq-download-btn i {
        animation: none;
    }
    
    /* FORZAR ELEMENTOS VISIBLES SIN ANIMACIONES DE SCROLL */
    [data-wq-animate] {
        opacity: 1 !important;
        transform: translate(0) scale(1) !important;
        transition: none !important;
    }
    
    .wq-process-step {
        opacity: 1 !important;
        transform: translateY(0) !important;
    }
    
    .wq-badge {
        opacity: 1 !important;
        transform: scale(1) !important;
    }
}

/* Optimización para pantallas de alta densidad */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .wq-title,
    .wq-card-title {
        text-rendering: optimizeLegibility;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
    
    .wq-step-icon i,
    .wq-badge-icon i {
        -webkit-font-smoothing: antialiased;
    }
}


/* RESPONSIVE DESIGN ESPECÍFICO PARA SECCIÓN MIÉRCOLES CIUDADANO */
/* NOTA: Clases únicas mc-* para evitar conflictos */

/* Tablets medianos (768px - 992px) */
@media (max-width: 992px) {
    .miercoles-ciudadano-section {
        padding: 60px 0;
    }
    
    .mc-container {
        padding: 0 15px;
    }
    
    .mc-header {
        margin-bottom: 40px;
    }
    
    .mc-title {
        font-size: 2.5rem;
        margin-bottom: 14px;
    }
    
    .mc-subtitle {
        font-size: 1.1rem;
        max-width: 600px;
    }
    
    .mc-title-decoration {
        width: 60px;
        height: 3px;
        margin: 15px auto 0;
    }
    
    /* Layout principal adaptado */
    .mc-main-content {
        flex-direction: column;
        gap: 40px;
        margin-bottom: 50px;
    }
    
    .mc-info-column, .mc-gallery-column {
        width: 100%;
    }
    
    .mc-description {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 25px;
        text-align: center;
    }
    
    /* Features centradas */
    .mc-feature-list {
        gap: 20px;
        margin-bottom: 35px;
        max-width: 700px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .mc-feature {
        max-width: 500px;
        margin: 0 auto;
        gap: 18px;
    }
    
    .mc-feature-icon {
        width: 55px;
        height: 55px;
        font-size: 1.3rem;
    }
    
    .mc-feature-text h4 {
        font-size: 1.2rem;
        margin-bottom: 6px;
    }
    
    .mc-feature-text p {
        font-size: 0.95rem;
        line-height: 1.5;
    }
    
    /* Botones centrados */
    .mc-cta-buttons {
        justify-content: center;
        gap: 12px;
        margin-bottom: 25px;
    }
    
    .mc-btn {
        padding: 11px 20px;
        font-size: 0.95rem;
        min-width: 140px;
    }
    
    /* Logo del footer */
    .mc-logo-container {
        text-align: center;
    }
    
    .mc-footer-logo {
        max-width: 200px;
        height: auto;
    }
    
    /* Galería adaptada */
    .mc-gallery-wrapper {
        height: 300px;
    }
    
    .mc-image-gallery {
        border-radius: 12px;
        margin-bottom: 25px;
    }
    
    .mc-gallery-controls {
        padding: 12px;
    }
    
    .mc-gallery-arrow {
        width: 35px;
        height: 35px;
    }
    
    .mc-gallery-dots {
        gap: 8px;
        margin: 0 15px;
    }
    
    .mc-dot {
        width: 8px;
        height: 8px;
    }
    
    .mc-dot.active {
        width: 20px;
        border-radius: 8px;
    }
    
    /* Evento siguiente */
    .mc-next-event {
        padding: 20px;
        border-radius: 12px;
    }
    
    .mc-event-header {
        gap: 12px;
        margin-bottom: 18px;
    }
    
    .mc-event-icon {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }
    
    .mc-event-header h4 {
        font-size: 1.2rem;
    }
    
    .mc-event-details {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .mc-detail {
        padding: 10px 12px;
        font-size: 0.9rem;
    }
    
    /* Testimonios */
    .mc-testimonials {
        margin-bottom: 50px;
        padding: 18px 0;
    }
    
    .mc-testimonials-title {
        font-size: 1.6rem;
        margin-bottom: 25px;
    }
    
    .mc-testimonials-slider {
        height: 260px;
        margin-bottom: 18px;
    }
    
    .mc-testimonial-card {
        padding: 25px;
        max-width: 90%;
    }
    
    .mc-testimonial-text {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 18px;
    }
    
    .mc-author-avatar {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }
    
    .mc-author-info h5 {
        font-size: 1rem;
    }
    
    .mc-author-info p {
        font-size: 0.85rem;
    }
    
    .mc-testimonials-dots {
        gap: 8px;
    }
    
    .mc-testimonial-dot {
        width: 10px;
        height: 10px;
    }
    
    .mc-testimonial-dot.active {
        width: 20px;
        border-radius: 8px;
    }
    
    /* Participación */
    .mc-participation {
        border-radius: 12px;
    }
    
    .mc-participation-content {
        flex-direction: column;
        text-align: center;
        padding: 25px;
        gap: 20px;
    }
    
    .mc-participation-icon {
        width: 60px;
        height: 60px;
        font-size: 1.8rem;
    }
    
    .mc-participation-text {
        min-width: auto;
    }
    
    .mc-participation-text h3 {
        font-size: 1.3rem;
        margin-bottom: 8px;
    }
    
    .mc-participation-text p {
        font-size: 1rem;
        line-height: 1.5;
    }
    
    /* Honores a la bandera */
    .mc-honores-sutil {
        margin: 25px 0;
        padding: 0 12px;
    }
    
    .mc-honores-sutil-wrapper {
        gap: 15px;
    }
    
    .mc-honores-sutil-icon {
        width: 40px;
        height: 40px;
        font-size: 1.4rem;
    }
    
    .mc-honores-sutil-content p {
        font-size: 0.95rem;
        line-height: 1.4;
    }
}

/* Tablets pequeños y móviles grandes (576px - 768px) */
@media (max-width: 768px) {
    .miercoles-ciudadano-section {
        padding: 50px 0;
    }
    
    .mc-container {
        padding: 0 10px;
    }
    
    .mc-header {
        margin-bottom: 35px;
    }
    
    .mc-title {
        font-size: 2.2rem;
        line-height: 1.2;
        margin-bottom: 12px;
    }
    
    .mc-subtitle {
        font-size: 1rem;
        max-width: 100%;
        padding: 0 10px;
    }
    
    .mc-title-decoration {
        width: 50px;
        height: 3px;
        margin: 12px auto 0;
    }
    
    /* Contenido principal */
    .mc-main-content {
        gap: 35px;
        margin-bottom: 45px;
    }
    
    .mc-description {
        font-size: 0.95rem;
        line-height: 1.5;
        margin-bottom: 25px;
        padding: 0 5px;
    }
    
    /* Features simplificadas */
    .mc-feature-list {
        gap: 18px;
        margin-bottom: 30px;
    }
    
    .mc-feature {
        flex-direction: row;
        text-align: left;
        align-items: flex-start;
        gap: 15px;
        padding: 15px;
        background: rgba(255, 255, 255, 0.5);
        border-radius: 12px;
        border: 1px solid rgba(20, 131, 179, 0.1);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
        transition: all 0.3s ease;
    }
    
    .mc-feature:hover {
        transform: translateY(-3px);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        background: rgba(255, 255, 255, 0.8);
    }
    
    .mc-feature-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
        flex-shrink: 0;
    }
    
    .mc-feature-text h4 {
        font-size: 1.1rem;
        margin-bottom: 5px;
    }
    
    .mc-feature-text p {
        font-size: 0.9rem;
        line-height: 1.4;
        margin: 0;
    }
    
    /* Botones apilados */
    .mc-cta-buttons {
        flex-direction: column;
        gap: 10px;
        margin-bottom: 25px;
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .mc-btn {
        width: 100%;
        padding: 14px 20px;
        font-size: 0.95rem;
        justify-content: center;
        border-radius: 10px;
        min-height: 48px;
    }
    
    .mc-btn i {
        font-size: 1.1rem;
    }
    
    /* Logo más pequeño */
    .mc-footer-logo {
        max-width: 180px;
    }
    
    /* Galería móvil */
    .mc-gallery-wrapper {
        height: 250px;
    }
    
    .mc-image-gallery {
        border-radius: 10px;
        margin-bottom: 20px;
    }
    
    .mc-gallery-controls {
        padding: 10px;
        background: rgba(240, 244, 241, 0.9);
    }
    
    .mc-gallery-arrow {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }
    
    .mc-gallery-dots {
        gap: 6px;
        margin: 0 12px;
    }
    
    .mc-dot {
        width: 7px;
        height: 7px;
    }
    
    .mc-dot.active {
        width: 18px;
        border-radius: 7px;
    }
    
    /* Evento siguiente compacto */
    .mc-next-event {
        padding: 18px 15px;
        border-radius: 10px;
    }
    
    .mc-event-header {
        flex-direction: column;
        text-align: center;
        gap: 10px;
        margin-bottom: 15px;
    }
    
    .mc-event-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
        margin: 0 auto;
    }
    
    .mc-event-header h4 {
        font-size: 1.1rem;
        margin: 0;
    }
    
    .mc-event-details {
        gap: 10px;
    }
    
    .mc-detail {
        padding: 8px 10px;
        font-size: 0.85rem;
        border-radius: 6px;
        justify-content: center;
        text-align: center;
    }
    
    .mc-detail i {
        font-size: 1rem;
        margin-right: 6px;
    }
    
    /* Testimonios móvil */
    .mc-testimonials {
        margin-bottom: 45px;
        padding: 15px 0;
    }
    
    .mc-testimonials-title {
        font-size: 1.4rem;
        margin-bottom: 20px;
    }
    
    .mc-testimonials-title::after {
        width: 50px;
        height: 2px;
        bottom: -8px;
    }
    
    .mc-testimonials-slider {
        height: 300px;
        margin-bottom: 15px;
    }
    
    .mc-testimonial-card {
        padding: 20px 18px;
        max-width: 95%;
        border-radius: 15px;
    }
    
    .mc-testimonial-card::before {
        width: 25px;
        height: 25px;
        bottom: -12px;
    }
    
    .mc-testimonial-text {
        font-size: 0.95rem;
        line-height: 1.5;
        margin-bottom: 15px;
    }
    
    .mc-testimonial-author {
        gap: 12px;
        padding-top: 8px;
    }
    
    .mc-author-avatar {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .mc-author-info h5 {
        font-size: 0.95rem;
        margin-bottom: 3px;
    }
    
    .mc-author-info p {
        font-size: 0.8rem;
    }
    
    .mc-testimonials-dots {
        gap: 6px;
        margin-top: 8px;
    }
    
    .mc-testimonial-dot {
        width: 9px;
        height: 9px;
    }
    
    .mc-testimonial-dot.active {
        width: 18px;
        border-radius: 7px;
    }
    
    /* Participación móvil */
    .mc-participation {
        border-radius: 10px;
    }
    
    .mc-participation-content {
        padding: 20px 15px;
        gap: 18px;
    }
    
    .mc-participation-icon {
        width: 55px;
        height: 55px;
        font-size: 1.6rem;
    }
    
    .mc-participation-text h3 {
        font-size: 1.2rem;
        margin-bottom: 6px;
    }
    
    .mc-participation-text p {
        font-size: 0.95rem;
        line-height: 1.4;
    }
    
    /* Honores a la bandera móvil */
    .mc-honores-sutil {
        margin: 20px 0;
        padding: 0 10px;
        border-left: 2px solid var(--mc-color-secondary);
    }
    
    .mc-honores-sutil-wrapper {
        gap: 12px;
    }
    
    .mc-honores-sutil-icon {
        width: 35px;
        height: 35px;
        font-size: 1.2rem;
    }
    
    .mc-honores-sutil-content p {
        font-size: 0.9rem;
        line-height: 1.3;
        margin-bottom: 8px;
    }
    
    .mc-honores-sutil-content p:last-child {
        font-size: 0.85rem;
    }
    
    /* Desactivar algunos efectos hover en móviles */
    .mc-feature:hover {
        transform: translateY(-2px);
    }
    
    .mc-image-container:hover .mc-gallery-image {
        transform: scale(1.02);
    }
    
    .mc-image-container:hover .mc-image-overlay {
        transform: translateY(0);
    }
}

/* Móviles pequeños (menos de 576px) */
@media (max-width: 576px) {
    .miercoles-ciudadano-section {
        padding: 40px 0;
    }
    
    .mc-container {
        padding: 0 8px;
    }
    
    .mc-header {
        margin-bottom: 30px;
    }
    
    .mc-title {
        font-size: 2rem;
        line-height: 1.1;
        margin-bottom: 10px;
    }
    
    .mc-subtitle {
        font-size: 0.95rem;
        line-height: 1.4;
        padding: 0 5px;
    }
    
    .mc-title-decoration {
        width: 40px;
        height: 2px;
        margin: 10px auto 0;
    }
    
    /* Contenido principal compacto */
    .mc-main-content {
        gap: 30px;
        margin-bottom: 40px;
    }
    
    .mc-description {
        font-size: 0.9rem;
        line-height: 1.4;
        margin-bottom: 20px;
        padding: 0;
    }
    
    /* Features muy compactas */
    .mc-feature-list {
        gap: 15px;
        margin-bottom: 25px;
    }
    
    .mc-feature {
        padding: 12px;
        border-radius: 10px;
        gap: 12px;
    }
    
    .mc-feature-icon {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    .mc-feature-text h4 {
        font-size: 1rem;
        margin-bottom: 4px;
    }
    
    .mc-feature-text p {
        font-size: 0.85rem;
        line-height: 1.3;
    }
    
    /* Botones móvil pequeño */
    .mc-cta-buttons {
        gap: 8px;
        margin-bottom: 20px;
        max-width: 280px;
    }
    
    .mc-btn {
        padding: 12px 16px;
        font-size: 0.9rem;
        border-radius: 8px;
        min-height: 44px;
    }
    
    .mc-btn i {
        font-size: 1rem;
    }
    
    .mc-btn span {
        font-size: 0.9rem;
    }
    
    /* Logo pequeño */
    .mc-footer-logo {
        max-width: 160px;
    }
    
    /* Galería muy compacta */
    .mc-gallery-wrapper {
        height: 200px;
    }
    
    .mc-image-gallery {
        border-radius: 8px;
        margin-bottom: 18px;
    }
    
    .mc-gallery-controls {
        padding: 8px;
    }
    
    .mc-gallery-arrow {
        width: 28px;
        height: 28px;
        font-size: 0.8rem;
    }
    
    .mc-gallery-dots {
        gap: 4px;
        margin: 0 8px;
    }
    
    .mc-dot {
        width: 6px;
        height: 6px;
    }
    
    .mc-dot.active {
        width: 15px;
        border-radius: 6px;
    }
    
    /* Evento siguiente móvil pequeño */
    .mc-next-event {
        padding: 15px 12px;
        border-radius: 8px;
    }
    
    .mc-event-header {
        gap: 8px;
        margin-bottom: 12px;
    }
    
    .mc-event-icon {
        width: 35px;
        height: 35px;
        font-size: 1.1rem;
    }
    
    .mc-event-header h4 {
        font-size: 1rem;
    }
    
    .mc-event-details {
        gap: 8px;
    }
    
    .mc-detail {
        padding: 6px 8px;
        font-size: 0.8rem;
        border-radius: 5px;
    }
    
    .mc-detail i {
        font-size: 0.9rem;
        margin-right: 4px;
    }
    
    /* Testimonios móvil pequeño */
    .mc-testimonials {
        margin-bottom: 40px;
        padding: 12px 0;
    }
    
    .mc-testimonials-title {
        font-size: 1.3rem;
        margin-bottom: 18px;
    }
    
    .mc-testimonials-title::after {
        width: 40px;
        height: 2px;
        bottom: -6px;
    }
    
    .mc-testimonials-slider {
        height: 350px;
        margin-bottom: 12px;
    }
    
    .mc-testimonial-card {
        padding: 18px 15px;
        max-width: 98%;
        border-radius: 12px;
        margin: 0 auto;
    }
    
    .mc-testimonial-card::before {
        width: 20px;
        height: 20px;
        bottom: -10px;
        left: 25px;
    }
    
    .mc-testimonial-slide:nth-child(even) .mc-testimonial-card::before {
        right: 25px;
    }
    
    .mc-testimonial-text {
        font-size: 0.9rem;
        line-height: 1.4;
        margin-bottom: 12px;
    }
    
    .mc-testimonial-author {
        gap: 10px;
        padding-top: 6px;
    }
    
    .mc-author-avatar {
        width: 35px;
        height: 35px;
        font-size: 1.1rem;
    }
    
    .mc-author-info h5 {
        font-size: 0.9rem;
        margin-bottom: 2px;
    }
    
    .mc-author-info p {
        font-size: 0.75rem;
    }
    
    .mc-testimonials-dots {
        gap: 5px;
        margin-top: 6px;
    }
    
    .mc-testimonial-dot {
        width: 8px;
        height: 8px;
    }
    
    .mc-testimonial-dot.active {
        width: 16px;
        border-radius: 6px;
    }
    
    /* Participación móvil pequeño */
    .mc-participation {
        border-radius: 8px;
    }
    
    .mc-participation-content {
        padding: 18px 12px;
        gap: 15px;
    }
    
    .mc-participation-icon {
        width: 50px;
        height: 50px;
        font-size: 1.4rem;
    }
    
    .mc-participation-text h3 {
        font-size: 1.1rem;
        margin-bottom: 5px;
    }
    
    .mc-participation-text p {
        font-size: 0.9rem;
        line-height: 1.3;
    }
    
    /* Honores a la bandera móvil pequeño */
    .mc-honores-sutil {
        margin: 18px 0;
        padding: 0 8px;
    }
    
    .mc-honores-sutil-wrapper {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 10px;
    }
    
    .mc-honores-sutil {
        border-left: none;
        border-bottom: 2px solid var(--mc-color-secondary);
        padding-bottom: 12px;
    }
    
    .mc-honores-sutil-icon {
        width: 32px;
        height: 32px;
        font-size: 1.1rem;
    }
    
    .mc-honores-sutil-content p {
        font-size: 0.85rem;
        line-height: 1.2;
        margin-bottom: 6px;
    }
    
    .mc-honores-sutil-content p:last-child {
        font-size: 0.8rem;
    }
}

/* Móviles muy pequeños (menos de 400px) */
@media (max-width: 400px) {
    .miercoles-ciudadano-section {
        padding: 35px 0;
    }
    
    .mc-container {
        padding: 0 5px;
    }
    
    .mc-title {
        font-size: 1.8rem;
        margin-bottom: 8px;
    }
    
    .mc-subtitle {
        font-size: 0.9rem;
    }
    
    .mc-title-decoration {
        width: 35px;
    }
    
    .mc-main-content {
        gap: 25px;
        margin-bottom: 35px;
    }
    
    .mc-description {
        font-size: 0.85rem;
    }
    
    .mc-feature {
        padding: 10px;
        gap: 10px;
    }
    
    .mc-feature-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .mc-feature-text h4 {
        font-size: 0.95rem;
    }
    
    .mc-feature-text p {
        font-size: 0.8rem;
    }
    
    .mc-cta-buttons {
        max-width: 250px;
    }
    
    .mc-btn {
        padding: 10px 14px;
        font-size: 0.85rem;
        min-height: 40px;
    }
    
    .mc-footer-logo {
        max-width: 140px;
    }
    
    .mc-gallery-wrapper {
        height: 180px;
    }
    
    .mc-testimonials-slider {
        height: 380px;
    }
    
    .mc-testimonial-card {
        padding: 15px 12px;
    }
    
    .mc-testimonial-text {
        font-size: 0.85rem;
        line-height: 1.3;
    }
}

/* Layout especial para móviles en orientación horizontal */
@media (max-width: 768px) and (orientation: landscape) and (max-height: 500px) {
    .miercoles-ciudadano-section {
        padding: 25px 0;
    }
    
    .mc-header {
        margin-bottom: 20px;
    }
    
    .mc-title {
        font-size: 1.8rem;
        margin-bottom: 8px;
    }
    
    .mc-subtitle {
        font-size: 0.9rem;
    }
    
    .mc-main-content {
        flex-direction: row;
        gap: 30px;
        margin-bottom: 30px;
    }
    
    .mc-info-column, .mc-gallery-column {
        flex: 1;
    }
    
    .mc-feature-list {
        gap: 12px;
        margin-bottom: 20px;
    }
    
    .mc-feature {
        padding: 8px;
        gap: 10px;
    }
    
    .mc-feature-icon {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .mc-feature-text h4 {
        font-size: 0.9rem;
        margin-bottom: 3px;
    }
    
    .mc-feature-text p {
        font-size: 0.75rem;
        line-height: 1.2;
    }
    
    .mc-cta-buttons {
        flex-direction: row;
        gap: 8px;
    }
    
    .mc-btn {
        padding: 8px 12px;
        font-size: 0.8rem;
        min-height: 36px;
    }
    
    .mc-gallery-wrapper {
        height: 180px;
    }
    
    .mc-next-event {
        padding: 12px;
    }
    
    .mc-event-details {
        grid-template-columns: 1fr 1fr;
        gap: 6px;
    }
    
    .mc-detail {
        padding: 4px 6px;
        font-size: 0.7rem;
    }
    
    .mc-testimonials-slider {
        height: 200px;
    }
    
    .mc-testimonial-card {
        padding: 12px;
    }
    
    .mc-testimonial-text {
        font-size: 0.8rem;
        line-height: 1.2;
        margin-bottom: 8px;
    }
    
    .mc-participation-content {
        flex-direction: row;
        padding: 15px;
        gap: 15px;
        text-align: left;
    }
    
    .mc-participation-text {
        flex: 1;
    }
}

/* Mejoras para interacción táctil */
@media (max-width: 768px) {
    .mc-feature,
    .mc-testimonial-card,
    .mc-gallery-arrow,
    .mc-dot,
    .mc-testimonial-dot {
        transition: all 0.2s ease;
        cursor: default;
        -webkit-tap-highlight-color: transparent;
    }
    
    .mc-feature:active {
        transform: scale(0.98);
        opacity: 0.9;
    }
    
    .mc-testimonial-card:active {
        transform: scale(0.95);
        opacity: 0.9;
    }
    
    .mc-btn {
        transition: all 0.2s ease;
        -webkit-tap-highlight-color: transparent;
        min-height: 44px;
    }
    
    .mc-btn:active {
        transform: scale(0.95);
        opacity: 0.9;
    }
    
    .mc-gallery-arrow:active,
    .mc-dot:active,
    .mc-testimonial-dot:active {
        transform: scale(0.9);
        opacity: 0.7;
    }
    
    /* Mejorar legibilidad del texto */
    .mc-title,
    .mc-feature-text h4,
    .mc-testimonials-title,
    .mc-participation-text h3 {
        text-rendering: optimizeLegibility;
        -webkit-font-smoothing: antialiased;
    }
    
    /* Asegurar que las tarjetas tengan altura adecuada */
    .mc-feature {
        display: flex;
        align-items: flex-start;
        min-height: 80px;
    }
    
    .mc-testimonial-card {
        display: flex;
        flex-direction: column;
        min-height: 200px;
    }
    
    .mc-testimonial-text {
        flex: 1;
    }
    
    /* Optimizar espaciado de botones */
    .mc-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
    }
}

/* Ocultar elementos decorativos en móviles para mejor rendimiento */
@media (max-width: 576px) {
    .mc-background-elements {
        display: none;
    }
    
    .mc-shape {
        display: none;
    }
    
    /* Simplificar animaciones en móviles */
    .mc-title span::after {
        animation: none;
        transform: scaleX(1);
    }
    
    .mc-image-decoration {
        animation: none;
    }
    
    /* FORZAR ELEMENTOS VISIBLES SIN ANIMACIONES DE SCROLL */
    [data-mc-animate] {
        opacity: 1 !important;
        transform: translate(0) scale(1) !important;
        transition: none !important;
    }
    
    .mc-feature {
        opacity: 1 !important;
        transform: translateX(0) !important;
    }
    
    .mc-testimonial-slide.active .mc-testimonial-card {
        animation: none;
        transform: scale(1);
        opacity: 1;
    }
}

/* Optimización para pantallas de alta densidad */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .mc-title,
    .mc-testimonials-title,
    .mc-participation-text h3 {
        text-rendering: optimizeLegibility;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
    
    .mc-feature-icon i,
    .mc-event-icon i,
    .mc-participation-icon i {
        -webkit-font-smoothing: antialiased;
    }
}

/* RESPONSIVE DESIGN ESPECÍFICO PARA SECCIÓN TITULAR DE LA DEPENDENCIA */
/* NOTA: Clases únicas director-* para evitar conflictos */

/* Tablets medianos (768px - 992px) */
@media (max-width: 992px) {
    .director-section {
        padding: 60px 0;
    }
    
    .director-container {
        padding: 0 15px;
    }
    
    .director-header {
        margin-bottom: 40px;
    }
    
    .director-title {
        font-size: 2.2rem;
        gap: 12px;
    }
    
    .director-title-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .director-title-underline {
        width: 60px;
        height: 3px;
    }
    
    /* Perfil adaptado */
    .director-profile {
        flex-direction: column;
        gap: 40px;
    }
    
    .director-image-container {
        flex: none;
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .director-image-frame {
        height: 450px;
    }
    
    .director-info {
        text-align: center;
    }
    
    .director-name {
        font-size: 2.5rem;
        margin-bottom: 8px;
    }
    
    .director-role {
        font-size: 1.1rem;
        margin-bottom: 20px;
    }
    
    .director-bio {
        font-size: 1rem;
        margin-bottom: 25px;
    }
    
    .director-highlight {
        max-width: 600px;
        margin: 25px auto 0;
        padding: 18px;
    }
    
    .director-image-button {
        margin-top: 20px;
    }
    
    .director-button {
        padding: 11px 22px;
        font-size: 1rem;
    }
}

/* Tablets pequeños y móviles grandes (576px - 768px) */
@media (max-width: 768px) {
    .director-section {
        padding: 50px 0;
    }
    
    .director-container {
        padding: 0 10px;
    }
    
    .director-header {
        margin-bottom: 35px;
    }
    
    .director-title {
        font-size: 2rem;
        flex-direction: column;
        gap: 10px;
        line-height: 1.2;
    }
    
    .director-title-icon {
        width: 35px;
        height: 35px;
        font-size: 1.1rem;
        margin: 0 auto;
    }
    
    .director-title-underline {
        width: 50px;
        height: 3px;
    }
    
    /* Perfil móvil */
    .director-profile {
        gap: 30px;
    }
    
    .director-image-container {
        max-width: 350px;
    }
    
    .director-image-frame {
        height: 400px;
        border-radius: 15px;
    }
    
    .director-name {
        font-size: 2.2rem;
        margin-bottom: 6px;
    }
    
    .director-role {
        font-size: 1rem;
        margin-bottom: 18px;
    }
    
    .director-bio {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 20px;
        text-align: left;
        max-width: 100%;
    }
    
    .director-bio p {
        margin-bottom: 12px;
    }
    
    .director-highlight {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 15px;
        gap: 12px;
        margin-top: 20px;
    }
    
    .highlight-icon {
        width: 35px;
        height: 35px;
        font-size: 1.1rem;
    }
    
    .highlight-text {
        font-size: 1rem;
        line-height: 1.5;
    }
    
    .director-image-button {
        margin-top: 18px;
    }
    
    .director-button {
        width: 100%;
        max-width: 280px;
        padding: 12px 20px;
        font-size: 0.95rem;
        justify-content: center;
    }
    
    /* Desactivar efectos hover en móviles */
    .director-image-container:hover .director-image {
        transform: scale(1.05);
    }
    
    .director-highlight:hover {
        transform: scale(1.02);
    }
}

/* Móviles pequeños (menos de 576px) */
@media (max-width: 576px) {
    .director-section {
        padding: 40px 0;
    }
    
    .director-container {
        padding: 0 8px;
    }
    
    .director-header {
        margin-bottom: 30px;
    }
    
    .director-title {
        font-size: 1.8rem;
        gap: 8px;
    }
    
    .director-title-icon {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }
    
    .director-title-underline {
        width: 40px;
        height: 2px;
    }
    
    /* Perfil móvil pequeño */
    .director-profile {
        gap: 25px;
    }
    
    .director-image-container {
        max-width: 300px;
    }
    
    .director-image-frame {
        height: 350px;
        border-radius: 12px;
    }
    
    .director-name {
        font-size: 2rem;
        margin-bottom: 5px;
        line-height: 1.1;
    }
    
    .director-role {
        font-size: 0.95rem;
        margin-bottom: 15px;
    }
    
    .director-bio {
        font-size: 0.9rem;
        line-height: 1.5;
        margin-bottom: 18px;
    }
    
    .director-bio p {
        margin-bottom: 10px;
    }
    
    .director-highlight {
        padding: 12px;
        gap: 10px;
        margin-top: 18px;
        border-radius: 10px;
    }
    
    .highlight-icon {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }
    
    .highlight-text {
        font-size: 0.9rem;
        line-height: 1.4;
    }
    
    .director-image-button {
        margin-top: 15px;
    }
    
    .director-button {
        padding: 10px 18px;
        font-size: 0.9rem;
        max-width: 250px;
        gap: 10px;
    }
    
    .director-button-text {
        font-size: 0.9rem;
    }
    
    .director-button-icon {
        font-size: 1rem;
    }
}

/* Móviles muy pequeños (menos de 400px) */
@media (max-width: 400px) {
    .director-section {
        padding: 35px 0;
    }
    
    .director-container {
        padding: 0 5px;
    }
    
    .director-title {
        font-size: 1.6rem;
    }
    
    .director-title-icon {
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
    }
    
    .director-image-container {
        max-width: 280px;
    }
    
    .director-image-frame {
        height: 320px;
    }
    
    .director-name {
        font-size: 1.8rem;
    }
    
    .director-role {
        font-size: 0.9rem;
    }
    
    .director-bio {
        font-size: 0.85rem;
    }
    
    .director-highlight {
        padding: 10px;
    }
    
    .highlight-text {
        font-size: 0.85rem;
    }
    
    .director-button {
        padding: 8px 15px;
        font-size: 0.85rem;
        max-width: 220px;
    }
}

/* Layout especial para móviles en orientación horizontal */
@media (max-width: 768px) and (orientation: landscape) and (max-height: 500px) {
    .director-section {
        padding: 25px 0;
    }
    
    .director-header {
        margin-bottom: 20px;
    }
    
    .director-title {
        font-size: 1.6rem;
        flex-direction: row;
        gap: 10px;
    }
    
    .director-profile {
        flex-direction: row;
        gap: 30px;
        align-items: center;
    }
    
    .director-image-container {
        flex: 0 0 250px;
        max-width: 250px;
    }
    
    .director-image-frame {
        height: 280px;
    }
    
    .director-info {
        flex: 1;
        text-align: left;
    }
    
    .director-name {
        font-size: 1.8rem;
    }
    
    .director-bio {
        font-size: 0.85rem;
        line-height: 1.4;
    }
    
    .director-bio p {
        margin-bottom: 8px;
    }
    
    .director-highlight {
        flex-direction: row;
        padding: 10px;
        gap: 10px;
        text-align: left;
    }
    
    .director-button {
        max-width: 200px;
        padding: 8px 15px;
        font-size: 0.8rem;
    }
}

/* Mejoras para interacción táctil - Sección Director */
@media (max-width: 768px) {
    .director-image-container,
    .director-highlight,
    .director-button {
        transition: all 0.2s ease;
        cursor: default;
        -webkit-tap-highlight-color: transparent;
    }
    
    .director-image-container:active {
        transform: scale(0.98);
        opacity: 0.9;
    }
    
    .director-highlight:active {
        transform: scale(0.98);
        opacity: 0.9;
    }
    
    .director-button {
        min-height: 44px;
    }
    
    .director-button:active {
        transform: scale(0.95);
        opacity: 0.9;
    }
    
    /* Mejorar legibilidad del texto */
    .director-title,
    .director-name {
        text-rendering: optimizeLegibility;
        -webkit-font-smoothing: antialiased;
    }
    
    /* Asegurar que los elementos tengan altura adecuada */
    .director-highlight {
        min-height: 80px;
        display: flex;
        align-items: center;
    }
}

/* Ocultar elementos decorativos en móviles para mejor rendimiento */
@media (max-width: 576px) {
    .director-background-elements {
        display: none;
    }
    
    .director-shape {
        display: none;
    }
    
    .director-image-decoration {
        display: none;
    }
    
    /* Simplificar animaciones en móviles */
    .director-title-icon::before {
        animation: none;
    }
    
    .director-title-underline::after {
        animation: none;
    }
    
    /* FORZAR ELEMENTOS VISIBLES SIN ANIMACIONES DE SCROLL */
    [data-director-animate] {
        opacity: 1 !important;
        transform: translate(0) scale(1) !important;
        transition: none !important;
    }
}

/* Optimización para pantallas de alta densidad - Sección Director */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .director-title,
    .director-name {
        text-rendering: optimizeLegibility;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
    
    .director-title-icon i,
    .highlight-icon i {
        -webkit-font-smoothing: antialiased;
    }
}


/* RESPONSIVE ADICIONAL PARA SECCIÓN MIÉRCOLES CIUDADANO - MÓVILES */
/* Mejoras específicas para casos de éxito, participación y honores a la bandera */

/* ============= CASOS DE ÉXITO - TESTIMONIOS ============= */

/* Tablets pequeños y móviles grandes (576px - 768px) */
@media (max-width: 768px) {
    /* Hacer la sección de testimonios más compacta */
    .mc-testimonials {
        margin-bottom: 30px !important;
        padding: 15px 0 !important;
    }
    
    .mc-testimonials-title {
        font-size: 1.4rem !important;
        margin-bottom: 20px !important;
    }
    
    .mc-testimonials-title::after {
        width: 40px !important;
        height: 2px !important;
        bottom: -8px !important;
    }
    
    /* Slider más compacto */
    .mc-testimonials-slider {
        height: 280px !important;
        margin-bottom: 15px !important;
    }
    
    /* Tarjetas de testimonios más pequeñas */
    .mc-testimonial-card {
        padding: 20px 15px !important;
        max-width: 90% !important;
        border-radius: 15px !important;
    }
    
    .mc-testimonial-text {
        font-size: 0.95rem !important;
        line-height: 1.5 !important;
        margin-bottom: 15px !important;
    }
    
    /* Avatar y autor más pequeños */
    .mc-author-avatar {
        width: 35px !important;
        height: 35px !important;
        font-size: 1.2rem !important;
    }
    
    .mc-author-info h5 {
        font-size: 0.95rem !important;
        margin-bottom: 3px !important;
    }
    
    .mc-author-info p {
        font-size: 0.8rem !important;
    }
    
    /* Punta de burbuja más pequeña */
    .mc-testimonial-card::before {
        width: 20px !important;
        height: 20px !important;
        bottom: -10px !important;
    }
    
    /* Dots más pequeños */
    .mc-testimonials-dots {
        gap: 6px !important;
        margin-top: 8px !important;
    }
    
    .mc-testimonial-dot {
        width: 8px !important;
        height: 8px !important;
    }
    
    .mc-testimonial-dot.active {
        width: 18px !important;
        border-radius: 6px !important;
    }
}

/* Móviles pequeños (menos de 576px) */
@media (max-width: 576px) {
    .mc-testimonials {
        margin-bottom: 25px !important;
        padding: 10px 0 !important;
    }
    
    .mc-testimonials-title {
        font-size: 1.3rem !important;
        margin-bottom: 18px !important;
    }
    
    /* Slider muy compacto */
    .mc-testimonials-slider {
        height: 320px !important;
        margin-bottom: 12px !important;
    }
    
    /* Tarjetas aún más pequeñas */
    .mc-testimonial-card {
        padding: 15px 12px !important;
        max-width: 95% !important;
        border-radius: 12px !important;
    }
    
    .mc-testimonial-text {
        font-size: 0.9rem !important;
        line-height: 1.4 !important;
        margin-bottom: 12px !important;
    }
    
    .mc-testimonial-author {
        gap: 10px !important;
        padding-top: 6px !important;
    }
    
    .mc-author-avatar {
        width: 30px !important;
        height: 30px !important;
        font-size: 1.1rem !important;
    }
    
    .mc-author-info h5 {
        font-size: 0.9rem !important;
        margin-bottom: 2px !important;
    }
    
    .mc-author-info p {
        font-size: 0.75rem !important;
    }
    
    .mc-testimonial-card::before {
        width: 15px !important;
        height: 15px !important;
        bottom: -8px !important;
    }
}

/* Móviles muy pequeños (menos de 400px) */
@media (max-width: 400px) {
    .mc-testimonials-slider {
        height: 350px !important;
    }
    
    .mc-testimonial-card {
        padding: 12px 10px !important;
    }
    
    .mc-testimonial-text {
        font-size: 0.85rem !important;
        line-height: 1.3 !important;
    }
}

/* ============= SECCIÓN CÓMO PARTICIPAR ============= */

/* Tablets pequeños y móviles grandes (576px - 768px) */
@media (max-width: 768px) {
    .mc-participation {
        border-radius: 12px !important;
        margin-top: 25px !important;
    }
    
    .mc-participation-content {
        padding: 20px 15px !important;
        gap: 15px !important;
        flex-direction: column !important;
        text-align: center !important;
    }
    
    .mc-participation-icon {
        width: 50px !important;
        height: 50px !important;
        font-size: 1.5rem !important;
        margin: 0 auto !important;
    }
    
    .mc-participation-text {
        min-width: auto !important;
        max-width: 100% !important;
    }
    
    .mc-participation-text h3 {
        font-size: 1.2rem !important;
        margin-bottom: 8px !important;
    }
    
    .mc-participation-text p {
        font-size: 0.95rem !important;
        line-height: 1.4 !important;
        margin-bottom: 15px !important;
    }
    
    /* Botón más pequeño */
    .mc-participation .mc-btn {
        padding: 10px 18px !important;
        font-size: 0.9rem !important;
        border-radius: 8px !important;
        min-height: 44px !important;
        max-width: 200px !important;
        margin: 0 auto !important;
    }
}

/* Móviles pequeños (menos de 576px) */
@media (max-width: 576px) {
    .mc-participation {
        border-radius: 10px !important;
        margin-top: 20px !important;
    }
    
    .mc-participation-content {
        padding: 18px 12px !important;
        gap: 12px !important;
    }
    
    .mc-participation-icon {
        width: 45px !important;
        height: 45px !important;
        font-size: 1.3rem !important;
    }
    
    .mc-participation-text h3 {
        font-size: 1.1rem !important;
        margin-bottom: 6px !important;
    }
    
    .mc-participation-text p {
        font-size: 0.9rem !important;
        line-height: 1.3 !important;
        margin-bottom: 12px !important;
    }
    
    .mc-participation .mc-btn {
        padding: 8px 16px !important;
        font-size: 0.85rem !important;
        border-radius: 6px !important;
        max-width: 180px !important;
    }
    
    .mc-participation .mc-btn i {
        font-size: 1rem !important;
    }
}

/* Móviles muy pequeños (menos de 400px) */
@media (max-width: 400px) {
    .mc-participation-content {
        padding: 15px 10px !important;
        gap: 10px !important;
    }
    
    .mc-participation-icon {
        width: 40px !important;
        height: 40px !important;
        font-size: 1.2rem !important;
    }
    
    .mc-participation-text h3 {
        font-size: 1rem !important;
    }
    
    .mc-participation-text p {
        font-size: 0.85rem !important;
    }
    
    .mc-participation .mc-btn {
        max-width: 160px !important;
        font-size: 0.8rem !important;
    }
}

/* ============= SECCIÓN HONORES A LA BANDERA ============= */

/* Tablets pequeños y móviles grandes (576px - 768px) */
@media (max-width: 768px) {
    .mc-honores-sutil {
        margin: 20px 0 !important;
        padding: 0 10px !important;
        border-left: 2px solid var(--mc-color-secondary) !important;
    }
    
    .mc-honores-sutil-wrapper {
        gap: 15px !important;
        flex-direction: row !important;
        align-items: flex-start !important;
        text-align: left !important;
    }
    
    .mc-honores-sutil-icon {
        width: 40px !important;
        height: 40px !important;
        font-size: 1.3rem !important;
        flex-shrink: 0 !important;
        border-width: 1px !important;
    }
    
    .mc-honores-sutil-content {
        flex: 1 !important;
    }
    
    .mc-honores-sutil-content p {
        font-size: 0.9rem !important;
        line-height: 1.4 !important;
        margin-bottom: 8px !important;
    }
    
    .mc-honores-sutil-content p:last-child {
        font-size: 0.85rem !important;
        opacity: 0.8 !important;
        margin-bottom: 0 !important;
    }
    
    /* Texto destacado más sutil */
    .mc-texto-destacado {
        font-weight: 600 !important;
        color: var(--mc-color-secondary) !important;
    }
}

/* Móviles pequeños (menos de 576px) */
@media (max-width: 576px) {
    .mc-honores-sutil {
        margin: 15px 0 !important;
        padding: 0 8px !important;
        border-left: none !important;
        border-bottom: 2px solid var(--mc-color-secondary) !important;
        padding-bottom: 12px !important;
    }
    
    .mc-honores-sutil-wrapper {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        gap: 10px !important;
    }
    
    .mc-honores-sutil-icon {
        width: 35px !important;
        height: 35px !important;
        font-size: 1.2rem !important;
        margin-bottom: 5px !important;
    }
    
    .mc-honores-sutil-content p {
        font-size: 0.85rem !important;
        line-height: 1.3 !important;
        margin-bottom: 6px !important;
    }
    
    .mc-honores-sutil-content p:last-child {
        font-size: 0.8rem !important;
        margin-bottom: 0 !important;
    }
}

/* Móviles muy pequeños (menos de 400px) */
@media (max-width: 400px) {
    .mc-honores-sutil {
        margin: 12px 0 !important;
        padding: 0 5px !important;
        padding-bottom: 10px !important;
    }
    
    .mc-honores-sutil-icon {
        width: 30px !important;
        height: 30px !important;
        font-size: 1.1rem !important;
    }
    
    .mc-honores-sutil-content p {
        font-size: 0.8rem !important;
        line-height: 1.25 !important;
        margin-bottom: 5px !important;
    }
    
    .mc-honores-sutil-content p:last-child {
        font-size: 0.75rem !important;
    }
}

/* ============= MEJORAS GENERALES PARA TODA LA SECCIÓN ============= */

/* Reducir espaciado general en móviles */
@media (max-width: 768px) {
    .miercoles-ciudadano-section {
        padding: 50px 0 !important;
    }
    
    .mc-header {
        margin-bottom: 30px !important;
    }
    
    .mc-main-content {
        gap: 30px !important;
        margin-bottom: 35px !important;
    }
}

@media (max-width: 576px) {
    .miercoles-ciudadano-section {
        padding: 40px 0 !important;
    }
    
    .mc-header {
        margin-bottom: 25px !important;
    }
    
    .mc-main-content {
        gap: 25px !important;
        margin-bottom: 30px !important;
    }
}

@media (max-width: 400px) {
    .miercoles-ciudadano-section {
        padding: 35px 0 !important;
    }
    
    .mc-header {
        margin-bottom: 20px !important;
    }
    
    .mc-main-content {
        gap: 20px !important;
        margin-bottom: 25px !important;
    }
}

/* ============= OPTIMIZACIONES PARA INTERACCIÓN TÁCTIL ============= */

@media (max-width: 768px) {
    /* Hacer elementos más fáciles de tocar */
    .mc-testimonial-card {
        cursor: pointer !important;
        -webkit-tap-highlight-color: transparent !important;
        transition: transform 0.2s ease !important;
    }
    
    .mc-testimonial-card:active {
        transform: scale(0.98) !important;
    }
    
    .mc-participation .mc-btn {
        -webkit-tap-highlight-color: transparent !important;
        transition: all 0.2s ease !important;
    }
    
    .mc-participation .mc-btn:active {
        transform: scale(0.95) !important;
        opacity: 0.8 !important;
    }
    
    /* Mejorar legibilidad del texto */
    .mc-testimonial-text,
    .mc-participation-text,
    .mc-honores-sutil-content p {
        text-rendering: optimizeLegibility !important;
        -webkit-font-smoothing: antialiased !important;
    }
}

/* ============= DESACTIVAR ANIMACIONES COMPLEJAS EN MÓVILES ============= */

@media (max-width: 576px) {
    /* Simplificar animaciones para mejor rendimiento */
    .mc-honores-sutil-icon {
        animation: none !important;
    }
    
    /* Forzar elementos visibles sin esperar animaciones */
    [data-mc-animate] {
        opacity: 1 !important;
        transform: translate(0) !important;
        transition: none !important;
    }
    
    .mc-testimonial-slide {
        transition: opacity 0.3s ease !important;
    }
    
    .mc-testimonial-card {
        animation: none !important;
    }
    
    .mc-testimonial-slide.active .mc-testimonial-card {
        animation: none !important;
        transform: scale(1) !important;
        opacity: 1 !important;
    }
}





/* ARREGLO RESPONSIVO PARA TEXTO HERO - SOLO AGREGAR ESTE CSS */

/* Mantener texto alineado a la izquierda en todas las pantallas */
@media screen and (max-width: 992px) {
    .hero-text {
        text-align: left; /* Cambiar de center a left */
        margin-bottom: 40px;
    }
    
    .animated-title {
        text-align: left; /* Asegurar que el título esté a la izquierda */
    }
    
    .fade-in-text {
        text-align: left; /* Mantener párrafo alineado a la izquierda */
        white-space: normal; /* Permitir que el texto se ajuste naturalmente */
        line-height: 1.6; /* Mejorar espaciado entre líneas */
        margin-bottom: 35px;
    }
    
    .hero-buttons {
        justify-content: flex-start; /* Botones alineados a la izquierda */
    }
}

/* Ajustes específicos para tablets */
@media screen and (max-width: 768px) {
    .hero-text {
        padding: 0 10px; /* Pequeño padding lateral */
    }
    
    .animated-title {
        font-size: 2.5rem;
        line-height: 1.2;
        margin-bottom: 15px;
    }
    
    .fade-in-text {
        font-size: 1.1rem;
        line-height: 1.5;
        margin-bottom: 30px;
        max-width: none; /* Remover restricción de ancho */
    }
    
    .hero-buttons {
        gap: 12px;
        flex-wrap: wrap;
    }
    
    .btn {
        min-width: 160px; /* Ancho mínimo para botones */
    }
}

/* Ajustes para móviles medianos */
@media screen and (max-width: 576px) {
    .hero-text {
        padding: 0 5px;
    }
    
    .animated-title {
        font-size: 2rem;
        line-height: 1.15;
        margin-bottom: 12px;
    }
    
    .fade-in-text {
        font-size: 1rem;
        line-height: 1.4;
        margin-bottom: 25px;
        text-align: left; /* Mantener alineación izquierda */
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: flex-start; /* Alinear botones a la izquierda */
        gap: 10px;
        width: 100%;
    }
    
    .btn {
        width: 100%;
        min-width: unset;
        padding: 12px 20px;
        justify-content: center;
    }
    
    .btn-outline {
        margin-top: 0;
        margin-left: 0;
    }
}

/* Ajustes para móviles muy pequeños */
@media screen and (max-width: 480px) {
    .hero {
        padding: 50px 0; /* Reducir padding vertical */
    }
    
    .hero-text {
        padding: 0;
    }
    
    .animated-title {
        font-size: 1.8rem;
        line-height: 1.1;
        margin-bottom: 10px;
    }
    
    .fade-in-text {
        font-size: 0.95rem;
        line-height: 1.4;
        margin-bottom: 20px;
    }
    
    .btn {
        padding: 10px 18px;
        font-size: 0.9rem;
    }
}

/* Ajustes específicos para móviles en orientación horizontal */
@media screen and (max-width: 768px) and (orientation: landscape) {
    .hero {
        padding: 40px 0;
    }
    
    .hero-content {
        flex-direction: row; /* Volver a disposición horizontal en landscape */
        align-items: center;
    }
    
    .hero-text {
        width: 55%;
        margin-bottom: 0;
        padding-right: 20px;
    }
    
    .hero-image {
        width: 45%;
    }
    
    .animated-title {
        font-size: 2.2rem;
    }
    
    .fade-in-text {
        font-size: 1rem;
        margin-bottom: 20px;
    }
    
    .hero-buttons {
        flex-direction: row;
        gap: 10px;
    }
    
    .btn {
        width: auto;
        min-width: 140px;
    }
}

/* Mejoras adicionales para legibilidad */
@media screen and (max-width: 992px) {
    .fade-in-text br {
        display: none; /* Remover saltos de línea forzados en móviles */
    }
}

/* Optimización para pantallas muy anchas en móviles */
@media screen and (min-width: 576px) and (max-width: 768px) {
    .hero-buttons {
        flex-direction: row;
        align-items: center;
    }
    
    .btn {
        width: auto;
        flex: 1;
        max-width: 200px;
    }
}

/* Asegurar que el contenedor mantenga el espaciado correcto */
@media screen and (max-width: 992px) {
    .container {
        padding: 0 15px; /* Padding uniforme */
    }
}

@media screen and (max-width: 576px) {
    .container {
        padding: 0 10px;
    }
}

















/* CSS RESPONSIVO PARA SECCIÓN DE SERVICIOS EN MÓVILES */

/* Ajustes generales para tablets medianas */
@media screen and (max-width: 1024px) {
  .section {
    padding: 70px 0;
  }
  
  .section-title h2 {
    font-size: 2.3rem;
  }
  
  .section-title p {
    font-size: 1.05rem;
    max-width: 600px;
  }
  
  .services-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
  }
  
  .service-card {
    border-radius: 12px;
  }
  
  .service-icon {
    height: 110px;
    font-size: 2.3rem;
  }
  
  .service-content {
    padding: 22px;
  }
  
  .service-content h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
  }
  
  .service-content p {
    font-size: 0.95rem;
    margin-bottom: 18px;
  }
}

/* Ajustes para tablets pequeñas y móviles grandes */
@media screen and (max-width: 768px) {
  .section {
    padding: 60px 0;
  }
  
  .container {
    padding: 0 15px;
  }
  
  .section-title {
    margin-bottom: 40px;
    padding: 0 10px;
  }
  
  .section-title h2 {
    font-size: 2.1rem;
    margin-bottom: 15px;
  }
  
  .section-title p {
    font-size: 1rem;
    max-width: 100%;
    line-height: 1.5;
  }
  
  .section-title::after {
    width: 60px;
    height: 3px;
    margin: 15px auto 0;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 5px;
  }
  
  .service-card {
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    max-width: 100%;
    margin: 0 auto;
  }
  
  .service-icon {
    height: 100px;
    font-size: 2.2rem;
  }
  
  .service-content {
    padding: 20px;
  }
  
  .service-content h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
    text-align: center;
  }
  
  .service-content p {
    font-size: 0.9rem;
    margin-bottom: 15px;
    line-height: 1.5;
    text-align: center;
  }
  
  .service-btn {
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 700;
  }
}

/* Ajustes para móviles medianos */
@media screen and (max-width: 576px) {
  .section {
    padding: 50px 0;
  }
  
  .container {
    padding: 0 10px;
  }
  
  .section-title {
    margin-bottom: 35px;
    padding: 0 5px;
  }
  
  .section-title h2 {
    font-size: 1.9rem;
    line-height: 1.2;
    margin-bottom: 12px;
  }
  
  .section-title p {
    font-size: 0.95rem;
    line-height: 1.4;
  }
  
  .services-grid {
    gap: 18px;
    padding: 0;
  }
  
  .service-card {
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
  }
  
  .service-icon {
    height: 90px;
    font-size: 2rem;
  }
  
  .service-content {
    padding: 18px;
  }
  
  .service-content h3 {
    font-size: 1.15rem;
    margin-bottom: 8px;
  }
  
  .service-content p {
    font-size: 0.85rem;
    margin-bottom: 12px;
    line-height: 1.4;
  }
  
  .service-btn {
    font-size: 0.85rem;
    padding: 2px 0;
  }
  
  .service-btn span {
    margin-left: 6px;
    font-size: 1rem;
  }
}

/* Ajustes para móviles muy pequeños */
@media screen and (max-width: 480px) {
  .section {
    padding: 45px 0;
  }
  
  .section-title {
    margin-bottom: 30px;
  }
  
  .section-title h2 {
    font-size: 1.7rem;
    line-height: 1.15;
  }
  
  .section-title p {
    font-size: 0.9rem;
  }
  
  .services-grid {
    gap: 15px;
  }
  
  .service-card {
    border-radius: 6px;
  }
  
  .service-icon {
    height: 80px;
    font-size: 1.8rem;
  }
  
  .service-content {
    padding: 15px;
  }
  
  .service-content h3 {
    font-size: 1.1rem;
    margin-bottom: 6px;
  }
  
  .service-content p {
    font-size: 0.8rem;
    margin-bottom: 10px;
    line-height: 1.3;
  }
  
  .service-btn {
    font-size: 0.8rem;
  }
}

/* Ajustes específicos para móviles en orientación horizontal */
@media screen and (max-width: 768px) and (orientation: landscape) {
  .section {
    padding: 40px 0;
  }
  
  .section-title h2 {
    font-size: 2rem;
  }
  
  .services-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
  }
  
  .service-icon {
    height: 80px;
    font-size: 2rem;
  }
  
  .service-content {
    padding: 15px;
  }
  
  .service-content h3 {
    font-size: 1.1rem;
  }
  
  .service-content p {
    font-size: 0.85rem;
    margin-bottom: 10px;
  }
}

/* Mejoras de accesibilidad en móviles */
@media screen and (max-width: 768px) {
  .service-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }
  
  .service-card:hover {
    transform: translateY(-5px);
  }
  
  .service-btn:active {
    transform: scale(0.98);
  }
  
  /* Mejorar el área de toque para los enlaces */
  .service-btn {
    padding: 8px 4px;
    margin: -8px -4px;
    min-height: 44px;
    display: flex;
    align-items: center;
  }
}

/* Optimización para pantallas muy anchas en móviles */
@media screen and (min-width: 576px) and (max-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .service-card:last-child {
    grid-column: 1 / -1;
    max-width: 400px;
    margin: 0 auto;
  }
}

/* Estilos para mejorar la legibilidad en móviles */
@media screen and (max-width: 576px) {
  .service-content h3 {
    font-weight: 700;
    color: var(--primary-blue);
  }
  
  .service-content p {
    color: #555;
    line-height: 1.4;
  }
  
  .service-btn {
    color: var(--secondary-blue);
    font-weight: 600;
  }
  
  .service-btn:hover {
    color: var(--primary-blue);
  }
}


/* Ajuste específico para el grid en móviles muy pequeños */
@media screen and (max-width: 400px) {
  .container {
    padding: 0 8px;
  }
  
  .section-title {
    padding: 0;
  }
  
  .service-card {
    margin: 0 2px;
  }
  
  .service-content {
    padding: 12px;
  }
}


