/* SHC Initiative - CSS */
:root {
    --primary: #2563eb;
    --secondary: #10b981;
    --accent: #f59e0b;
    --dark: #1f2937;
    --light: #6b7280;
    --bg-light: #f9fafb;
    --white: #ffffff;
    --gradient: linear-gradient(135deg, #2563eb 0%, #624ba2 100%);
    --shadow: 0 10px 25px rgba(0,0,0,0.1);
    --radius: 12px;
    --transition: all 0.3s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; line-height: 1.6; color: var(--dark); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }
.text-center { text-align: center; }
.text-white { color: var(--white) !important; }
.bg-light { background: var(--bg-light); }
.bg-dark { background: #111827; }
.bg-gradient { background: var(--gradient); }

#header {
    display: none !important;
  }
  

/* Header Móvil - Oculto en desktop */
.mobile-header {
    display: none;
}

.mobile-menu {
    display: none;
}

/* Navegación */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: rgba(0,0,0,0.2); backdrop-filter: blur(5px);
    transition: var(--transition);
    padding-bottom: 30px; /* Padding extra cuando está en modo blur */
    /* Crear efecto de degradado en el blur solo cuando es semitransparente */
    -webkit-mask: linear-gradient(to bottom, 
        rgba(0,0,0,1) 0%, 
        rgba(0,0,0,1) 70%, 
        rgba(0,0,0,0.3) 85%, 
        rgba(0,0,0,0) 100%);
    mask: linear-gradient(to bottom, 
        rgba(0,0,0,1) 0%, 
        rgba(0,0,0,1) 70%, 
        rgba(0,0,0,0.3) 85%, 
        rgba(0,0,0,0) 100%);
}
.navbar.scrolled { 
    background: rgba(255,255,255,0.98); 
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    padding-bottom: 0; /* Sin padding extra en modo sólido */
    /* Quitar el degradado cuando el fondo es sólido */
    -webkit-mask: none;
    mask: none;
}
.nav-container {
    max-width: 1200px; margin: 0 auto; padding: 0 20px;
    display: flex; justify-content: space-between; align-items: center; height: 100px;
}
.nav-logo { 
    display: flex; align-items: center; gap: 10px; cursor: pointer;
    position: relative;
    height: 70px;
    width: auto; /* Permitir que el contenedor se ajuste al contenido */
}
.logo { 
    transition: all 0.3s ease;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: auto; /* Mantener proporción natural */
    max-width: none; /* No limitar el ancho máximo */
}
.logo-white { 
    display: block;
    height: 40px; /* Más pequeño para igualar visualmente al logo azul */
}
.logo-blue { 
    display: none;
    height: 60px; /* Tamaño de referencia */
}

/* Estados del logo cuando se hace scroll */
.navbar.scrolled .logo-white { 
    display: none !important; 
}
.navbar.scrolled .logo-blue { 
    display: block !important; 
}
.nav-menu { display: flex; list-style: none; gap: 2rem; }
.nav-link {
    text-decoration: none; color: white; font-weight: 500;
    transition: var(--transition); position: relative;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}
.nav-link:hover { 
    color: white !important; 
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}
.nav-link::after {
    content: ''; position: absolute; bottom: -5px; left: 0;
    width: 0; height: 2px; background: var(--primary); transition: var(--transition);
}
.nav-link:hover::after { width: 100%; }

/* Cambiar colores cuando se hace scroll */
.navbar.scrolled .nav-link {
    color: var(--dark);
    text-shadow: none;
}


/* Hero */
.hero {
    height: 100vh; position: relative; display: flex;
    align-items: center; justify-content: center; overflow: hidden;
    margin-top: -130px; /* Compensar altura del navbar + padding extra */
    padding-top: 130px; /* Mantener el contenido centrado */
}
.hero-background { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: -2; }
.hero-image { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient( rgba(37,99,235,0.5), rgba(0, 0, 0, 0.7));
}
.hero-content { text-align: center; color: var(--white); z-index: 1; }
.hero-title {
    font-size: 3.5rem; font-weight: 700; margin-bottom: 1.5rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    color: var(--white);
}
.hero-title .highlight { color: var(--accent); }
.hero-subtitle {
    font-size: 1.25rem; margin-bottom: 2rem; opacity: 0.95;
    max-width: 600px; margin-left: auto; margin-right: auto;
}

.scroll-indicator {
    position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
    cursor: pointer; animation: bounce 2s infinite;
}
.scroll-arrow {
    width: 20px; height: 20px; border-right: 2px solid var(--white);
    border-bottom: 2px solid var(--white); transform: rotate(45deg);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* Botones */
.btn {
    display: inline-flex; align-items: center; gap: 8px; padding: 12px 24px;
    font-size: 1rem; font-weight: 600; text-decoration: none; border: none;
    border-radius: var(--radius); cursor: pointer; transition: var(--transition);
}
.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: #1d4ed8; transform: translateY(-2px); box-shadow: 0 20px 40px rgba(0,0,0,0.15); }
.btn-outline { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn-outline:hover { background: var(--primary); color: var(--white); }
.btn-white { background: var(--white); color: var(--primary); }

/* Animaciones */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
.animate-fade-up { animation: fadeInUp 0.8s ease-out; }
.animate-fade-up.delay-1 { animation-delay: 0.2s; animation-fill-mode: both; }
.animate-fade-up.delay-2 { animation-delay: 0.4s; animation-fill-mode: both; }

.animate-on-scroll {
    opacity: 0; transform: translateY(30px); transition: all 0.6s ease-out;
}
.animate-on-scroll.animate-in { opacity: 1; transform: translateY(0); }

/* ========== DESKTOP - OCULTAR ELEMENTOS MÓVILES ========== */
@media (min-width: 769px) {
    .mobile-header {
        display: none !important;
    }
    
    .mobile-menu {
        display: none !important;
    }
}

/* ========== RESPONSIVE - MÓVIL ========== */
@media (max-width: 768px) {
    /* Forzar no overflow horizontal en toda la página */
    html, body {
        overflow-x: hidden;
        max-width: 100vw;
    }
    
    /* Contenedor principal sin overflow */
    .container {
        max-width: 100%;
        padding: 0 15px;
        box-sizing: border-box;
    }
    
    /* ===== NAVBAR MÓVIL - COMPLETAMENTE OCULTO ===== */
    .navbar {
        display: none !important;
    }
    
    /* ===== HEADER MÓVIL ===== */
    .mobile-header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 9999 !important;
        background: var(--white);
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        display: block;
    }
    
    .mobile-header-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 15px 20px;
        max-width: 100%;
    }
    
    .mobile-logo {
        flex: 1;
    }
    
    .mobile-logo-img {
        height: 40px;
        width: auto;
    }
    
    .mobile-menu-toggle {
        background: none;
        border: none;
        cursor: pointer;
        padding: 8px;
        display: flex;
        flex-direction: column;
        gap: 4px;
        transition: var(--transition);
        width: 30px;
        height: 30px;
        justify-content: center;
        align-items: center;
        position: relative;
    }
    
    .hamburger-line {
        width: 20px;
        height: 2px;
        background: var(--dark);
        border-radius: 1px;
        transition: all 0.3s ease;
        transform-origin: center;
    }
    
    /* Animación del menú hamburguesa - X perfectamente simétrica */
    .mobile-menu-toggle.active .hamburger-line:nth-child(1) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active .hamburger-line:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active .hamburger-line:nth-child(3) {
        opacity: 0;
    }
    
    /* Crear X perfectamente simétrica con pseudo-elementos */
    .mobile-menu-toggle::before,
    .mobile-menu-toggle::after {
        content: '';
        position: absolute;
        width: 20px;
        height: 2px;
        background: var(--dark);
        border-radius: 1px;
        transition: all 0.3s ease;
        transform-origin: center;
        opacity: 0;
    }
    
    .mobile-menu-toggle::before {
        transform: rotate(45deg);
    }
    
    .mobile-menu-toggle::after {
        transform: rotate(-45deg);
    }
    
    .mobile-menu-toggle.active::before,
    .mobile-menu-toggle.active::after {
        opacity: 1;
    }
    
    .mobile-menu {
        position: fixed !important;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--white);
        box-shadow: 0 4px 20px rgba(0,0,0,0.15);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        max-height: 0;
        overflow: hidden;
        z-index: 9998 !important;
        display: block !important;
    }
    
    .mobile-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
        max-height: 400px;
    }
    
    .mobile-menu-list {
        list-style: none;
        padding: 0;
        margin: 0;
    }
    
    .mobile-menu-item {
        border-bottom: 1px solid #f0f0f0;
    }
    
    .mobile-menu-item:last-child {
        border-bottom: none;
    }
    
    .mobile-menu-link {
        display: block;
        padding: 20px;
        color: var(--dark);
        text-decoration: none;
        font-weight: 500;
        transition: var(--transition);
        border-left: 3px solid transparent;
    }
    
    .mobile-menu-link:hover {
        background: var(--bg-light);
        color: var(--primary);
        border-left-color: var(--primary);
    }
    
    /* Hero ajustado para móvil - Con header móvil */
    .hero {
        margin-top: 70px; /* Espacio para el header móvil */
        padding-top: 0;
        max-width: 100vw;
        overflow-x: hidden;
    }
    
    .hero-title { 
        font-size: 2rem; 
        max-width: 100%;
        word-wrap: break-word;
    }
    .hero-subtitle { 
        font-size: 1rem;
        max-width: 100%;
    }
    .section { 
        padding: 60px 0;
        max-width: 100vw;
        overflow-x: hidden;
    }
    
    /* PREVENIR SCROLL HORIZONTAL EN TODAS LAS SECCIONES */
    
    /* Grids responsivos */
    .problem-grid,
    .services-grid,
    .resources-grid,
    .participation-ways,
    .international-support {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        max-width: 100%;
    }
    
    /* Tarjetas y elementos */
    .problem-card,
    .service-card,
    .resource-item,
    .way-item,
    .support-item,
    .value-card,
    .stat-card {
        max-width: 100%;
        box-sizing: border-box;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    /* Contenido de texto */
    .text-large,
    .hero-subtitle,
    .section-subtitle,
    p, h1, h2, h3, h4, h5, h6 {
        max-width: 100%;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    /* Imágenes responsivas */
    img {
        max-width: 100%;
        height: auto;
        box-sizing: border-box;
    }
    
    /* Botones */
    .btn {
        max-width: 100%;
        box-sizing: border-box;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    /* Formularios */
    .contact-form,
    .form-group input,
    .form-group select,
    .form-group textarea {
        max-width: 100%;
        box-sizing: border-box;
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1.5rem;
        max-width: 100%;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
    
    .footer-social {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container { padding: 0 10px; }
    .hero-title { font-size: 1.75rem; }
}

/* Secciones adicionales */
.section-title {
    font-size: 2.5rem; text-align: center; margin-bottom: 1rem; color: var(--dark);
}
.subsection-title {
    font-size: 2rem; margin-bottom: 1.5rem; color: var(--dark);
}
.text-large {
    font-size: 1.125rem; margin-bottom: 2rem; color: var(--light);
}
.content-block {
    margin-bottom: 4rem;
}

/* Tarjetas de problemas */
.problem-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem; margin: 3rem 0;
}
.problem-card {
    background: var(--white); padding: 2rem; border-radius: var(--radius);
    box-shadow: var(--shadow); text-align: center; transition: var(--transition);
}
.problem-card:hover {
    transform: translateY(-10px); box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}
.problem-icon {
    width: 80px; height: 80px; margin: 0 auto 1.5rem; background: var(--primary);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    color: var(--white); font-size: 2rem;
}
.problem-card h4 {
    font-size: 1.25rem; margin-bottom: 1rem; color: var(--dark);
}
.problem-card p {
    color: var(--light);
}

/* Caja de información importante */
.alert-box {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    border-left: 4px solid var(--primary); padding: 1.5rem; border-radius: var(--radius);
    margin: 2rem 0; display: flex; align-items: flex-start; gap: 1rem;
    border: 1px solid rgba(37, 99, 235, 0.2);
}
.alert-box i {
    color: var(--primary); font-size: 1.5rem; margin-top: 0.25rem;
}

/* Cita destacada */
.highlight-quote {
    background: var(--gradient); color: var(--white); padding: 2rem;
    border-radius: var(--radius); font-size: 1.25rem; font-style: italic;
    text-align: center; margin: 3rem 0; position: relative;
}
.highlight-quote::before {
    content: '"'; font-size: 4rem; position: absolute; top: -10px; left: 20px; opacity: 0.3;
}

/* Contacto */
.contact-content-simple {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
}

.contact-message {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--radius);
    padding: 3rem;
    text-align: center;
    max-width: 600px;
    border: 1px solid rgba(255,255,255,0.1);
}

.contact-icon {
    margin-bottom: 2rem;
}

.contact-icon i {
    font-size: 4rem;
    color: var(--accent);
    background: rgba(255,255,255,0.1);
    padding: 1.5rem;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.2);
}

.contact-text h3 {
    color: var(--white);
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.contact-description {
    color: rgba(255,255,255,0.9);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
}

.email-contact {
    margin: 2.5rem 0;
    padding: 2rem;
    background: rgba(255,255,255,0.05);
    border-radius: var(--radius);
    border: 1px solid rgba(255,255,255,0.1);
}

.email-label {
    color: rgba(255,255,255,0.8);
    font-size: 1rem;
    margin-bottom: 1rem;
}

.email-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--accent);
    font-size: 1.25rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    padding: 0.75rem 1.5rem;
    background: rgba(255,255,255,0.1);
    border-radius: var(--radius);
    border: 2px solid transparent;
}

.email-link:hover {
    color: var(--white);
    background: var(--accent);
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.email-link i {
    font-size: 1.1rem;
}

.response-time {
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.response-time i {
    color: var(--accent);
}

/* Footer */
.footer {
    background: #111827; color: var(--white); padding: 3rem 0 1rem;
}
.footer-content {
    display: grid; grid-template-columns: 1fr 2fr 1fr; gap: 2rem;
    margin-bottom: 2rem; align-items: center;
}
.footer-logo {
    display: flex; align-items: center; gap: 10px; cursor: pointer;
    transition: var(--transition); padding: 0.5rem; border-radius: var(--radius);
}
.footer-logo:hover {
    background: rgba(255, 255, 255, 0.1); transform: translateY(-1px);
}
.footer-logo-img {
    height: 45px;
}
.footer-logo-text {
    font-size: 1.25rem; font-weight: 700; color: var(--white);
}
.footer-links {
    display: flex; justify-content: center; gap: 2rem; flex-wrap: wrap;
}
.footer-links a {
    color: rgba(255,255,255,0.8); text-decoration: none; transition: var(--transition);
}
.footer-links a:hover {
    color: var(--white);
}
.footer-social {
    display: flex; justify-content: flex-end; gap: 1rem;
}
.social-link {
    width: 40px; height: 40px; background: var(--primary); border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--white); text-decoration: none; transition: var(--transition);
}
.social-link:hover {
    background: #1d4ed8; transform: translateY(-2px);
}
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1); padding-top: 1rem;
    text-align: center; color: rgba(255,255,255,0.7);
}

/* Responsive adicional */
@media (max-width: 1024px) {
    .contact-message { 
        padding: 2rem; 
        margin: 0 1rem;
    }
    .contact-text h3 { 
        font-size: 1.5rem; 
    }
    .contact-description { 
        font-size: 1rem; 
    }
    .email-contact { 
        padding: 1.5rem; 
    }
    .email-link { 
        font-size: 1.1rem; 
        padding: 0.6rem 1.2rem; 
    }
    .footer-content { grid-template-columns: 1fr; text-align: center; gap: 1.5rem; }
    .footer-social { justify-content: center; }
}

/* Estas reglas ya están incluidas en la sección móvil principal arriba */

/* Servicios adicionales */
.services-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem; margin: 3rem 0;
}
.service-card {
    background: var(--white); padding: 2rem; border-radius: var(--radius);
    box-shadow: var(--shadow); transition: var(--transition);
}
.service-card:hover {
    transform: translateY(-5px); box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}
.service-icon {
    width: 60px; height: 60px; background: var(--secondary); border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--white); font-size: 1.5rem; margin-bottom: 1.5rem;
}
.service-card h3 {
    color: var(--dark); margin-bottom: 1rem;
}
.service-card ul {
    list-style: none; margin-bottom: 1.5rem;
}
.service-card li {
    position: relative; padding-left: 1.5rem; margin-bottom: 0.5rem;
    color: var(--light);
}
.service-card li::before {
    content: '✓'; position: absolute; left: 0; color: var(--secondary); font-weight: bold;
}

/* Resultados - Nuevo formato */
.results-hero {
    text-align: center;
    margin-bottom: 3rem;
}

.results-intro h3 {
    font-size: 2rem;
    color: var(--dark);
    margin-bottom: 1rem;
}

.results-intro p {
    font-size: 1.125rem;
    color: var(--light);
    max-width: 600px;
    margin: 0 auto;
}

.stats-showcase {
    max-width: 800px;
    margin: 0 auto 3rem;
}

.stats-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: var(--transition);
    border-left: 4px solid var(--primary);
}

.stat-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.stat-icon {
    width: 70px;
    height: 70px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.75rem;
    flex-shrink: 0;
}

.stat-content {
    flex: 1;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    display: block;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stat-label {
    color: var(--light);
    font-size: 0.9rem;
    line-height: 1.3;
}

.results-conclusion {
    max-width: 600px;
    margin: 0 auto;
}

.conclusion-card {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: var(--radius);
    padding: 2rem;
    color: var(--white);
    text-align: center;
    box-shadow: var(--shadow);
}

.conclusion-card .conclusion-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 1rem;
}

.conclusion-content h4 {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.conclusion-content p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
}

/* Valor añadido - Nuevo formato */
.value-proposition {
    background: var(--white);
    padding: 3rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-top: 3rem;
}

.value-cards {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin: 2rem 0;
}

.value-card {
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--white) 100%);
    border: 1px solid rgba(37, 99, 235, 0.1);
    border-radius: var(--radius);
    padding: 2rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary);
    transition: var(--transition);
}

.value-card:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-hover);
}

.value-card:hover::before {
    width: 8px;
}

.value-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.value-icon {
    width: 60px;
    height: 60px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.value-title {
    flex: 1;
}

.value-title h4 {
    color: var(--dark);
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.value-badge {
    background: var(--secondary);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.value-card p {
    color: var(--light);
    line-height: 1.6;
    margin: 0;
}

.value-conclusion {
    margin-top: 2rem;
    background: var(--gradient);
    border-radius: var(--radius);
    padding: 2rem;
    color: var(--white);
}

.value-conclusion .conclusion-content {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.value-conclusion .conclusion-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.value-conclusion .conclusion-text h4 {
    color: var(--white);
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.value-conclusion .conclusion-text p {
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

/* Reconocimiento internacional */
.recognition-section {
    margin-top: 4rem;
}
.international-support {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem; margin-top: 2rem;
}
.support-item {
    background: var(--white); padding: 2rem; border-radius: var(--radius);
    box-shadow: var(--shadow); text-align: center;
}
.support-item i {
    font-size: 2.5rem; color: var(--primary); margin-bottom: 1rem;
}
.support-item h4 {
    color: var(--dark); margin-bottom: 1rem;
}
.support-item p {
    color: var(--light);
}

/* ========== TESTIMONIOS DESKTOP - VERSIÓN ORIGINAL ========== */

/* Testimonios carrusel - Solo Desktop */
.testimonials-carousel {
    max-width: 1200px;
    margin: 3rem auto;
    position: relative;
}

.carousel-container {
    overflow: visible;
    border-radius: var(--radius);
    position: relative;
    height: 400px;
    perspective: 1000px;
}

.testimonial-track {
    display: flex;
    height: 100%;
    align-items: center;
    justify-content: center;
    position: relative;
}

.testimonial-slide {
    position: absolute;
    width: 100%;
    max-width: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

.testimonial-slide.active {
    z-index: 10;
    transform: translateX(0) translateZ(0) scale(1);
}

.testimonial-slide.prev {
    z-index: 5;
    transform: translateX(-60%) translateZ(-100px) scale(0.85);
}

.testimonial-slide.next {
    z-index: 5;
    transform: translateX(60%) translateZ(-100px) scale(0.85);
}

.testimonial-slide.hidden {
    z-index: 1;
    transform: translateX(0) translateZ(-200px) scale(0.7);
    opacity: 0;
}

/* Navegación específica para testimonios desktop */
.testimonials-carousel .carousel-navigation {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
    padding: 0 2rem;
    z-index: 20;
}

.testimonials-carousel .carousel-btn {
    width: 60px;
    height: 60px;
    border: none;
    background: white;
    border-radius: 50%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    color: var(--primary);
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 25;
}

.testimonials-carousel .carousel-btn:hover {
    background: var(--primary);
    color: white;
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.2);
}

.testimonials-carousel .carousel-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.testimonials-carousel .carousel-dots {
    display: flex;
    gap: 12px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 25;
}

.testimonials-carousel .dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.testimonials-carousel .dot.active {
    background: var(--primary);
    transform: scale(1.3);
}

.testimonials-carousel .dot:hover {
    background: var(--primary);
    opacity: 0.7;
}

/* ========== TESTIMONIOS MÓVIL - VERSIÓN ESTABLE ========== */
@media (max-width: 768px) {
    /* Contenedor principal */
    .testimonials-carousel {
        max-width: 100%;
        margin: 2rem 0;
        padding: 0 20px;
    }
    
    .carousel-container {
        position: relative;
        width: 100%;
        height: auto;
        min-height: 500px;
        border-radius: 12px;
        overflow: visible;
    }

    .testimonial-track {
        position: relative;
        width: 100%;
        height: 100%;
    }

    /* Slides móvil - altura fija */
    .testimonial-slide {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        display: none;
        padding: 20px;
        box-sizing: border-box;
    }

    /* Solo el primer slide visible */
    .testimonial-slide:first-child,
    .testimonial-slide.active {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
        z-index: 10;
        background: rgba(255,0,0,0.1); /* Debug temporal */
    }

    /* Ocultar explícitamente los otros slides */
    .testimonial-slide.prev,
    .testimonial-slide.next,
    .testimonial-slide.hidden {
        display: none !important;
    }
}

/* Testimonial Cards - Desktop Original */
.testimonial-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 2.5rem;
    width: 100%;
    position: relative;
    transition: all 0.6s ease;
}

.testimonial-slide.active .testimonial-card {
    box-shadow: 0 25px 50px rgba(0,0,0,0.25);
    background: var(--white);
}

.testimonial-slide.prev .testimonial-card,
.testimonial-slide.next .testimonial-card {
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(2px);
}

.testimonial-slide.hidden .testimonial-card {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    background: rgba(255, 255, 255, 0.7);
}

.testimonial-quote {
    position: absolute;
    top: -15px;
    left: 2rem;
    width: 50px;
    height: 50px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.25rem;
}

.testimonial-content {
    margin-bottom: 2rem;
    padding-top: 1rem;
}

.testimonial-content p {
    font-size: 1.125rem;
    color: var(--light);
    font-style: italic;
    line-height: 1.7;
    text-align: center;
    margin: 0;
    transition: all 0.6s ease;
}

.testimonial-slide.prev .testimonial-content p,
.testimonial-slide.next .testimonial-content p {
    color: rgba(107, 114, 128, 0.7);
}

.testimonial-slide.hidden .testimonial-content p {
    color: rgba(107, 114, 128, 0.5);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-content: center;
}

.author-avatar {
    width: 60px;
    height: 60px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 2rem;
}

.author-info {
    text-align: left;
}

.author-info h4 {
    color: var(--dark);
    margin-bottom: 0.25rem;
    font-size: 1.125rem;
}

.author-info span {
    color: var(--light);
    font-size: 0.9rem;
}

.testimonial-slide.prev .author-info h4,
.testimonial-slide.next .author-info h4 {
    color: rgba(31, 41, 55, 0.8);
}

.testimonial-slide.prev .author-info span,
.testimonial-slide.next .author-info span {
    color: rgba(107, 114, 128, 0.6);
}

.testimonial-slide.hidden .author-info h4 {
    color: rgba(31, 41, 55, 0.6);
}

.testimonial-slide.hidden .author-info span {
    color: rgba(107, 114, 128, 0.4);
}

/* ========== TARJETAS MÓVIL - ALTURA FIJA ========== */
@media (max-width: 768px) {
    /* Tarjeta con altura automática para móvil */
    .testimonial-card {
        background: white;
        border-radius: 12px;
        box-shadow: 0 4px 20px rgba(0,0,0,0.15);
        padding: 25px 20px 20px 20px;
        width: 100%;
        height: auto;
        min-height: 400px;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        position: relative;
        box-sizing: border-box;
        overflow: visible;
    }
    
    /* Quote icon */
    .testimonial-quote {
        position: absolute;
        top: -12px;
        left: 50%;
        transform: translateX(-50%);
        width: 45px;
        height: 45px;
        background: var(--primary);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-size: 18px;
    }
    
    /* Contenido */
    .testimonial-content {
        flex: 1;
        display: flex;
        align-items: flex-start;
        justify-content: center;
        padding: 20px 0 15px 0;
        text-align: center;
        min-height: auto;
    }
    
    .testimonial-content p {
        font-size: 15px;
        line-height: 1.5;
        color: #666;
        font-style: italic;
        margin: 0;
        max-height: none;
        overflow: visible;
    }
    
    /* Autor */
    .testimonial-author {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 12px;
        margin-top: 15px;
        flex-shrink: 0;
    }
    
    .author-avatar {
        width: 50px;
        height: 50px;
        background: #f0f0f0;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--primary);
        font-size: 20px;
    }
    
    .author-info h4 {
        color: #333;
        margin: 0 0 3px 0;
        font-size: 16px;
        font-weight: 600;
    }
    
    .author-info span {
        color: #666;
        font-size: 13px;
        margin: 0;
        line-height: 1.2;
    }
}

.testimonial-quote {
    position: absolute;
    top: -15px;
    left: 2rem;
    width: 50px;
    height: 50px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.25rem;
}

.testimonial-content {
    margin-bottom: 2rem;
    padding-top: 1rem;
}

/* Contenido de testimonios */
.testimonial-content p {
    font-size: 1.125rem;
    color: var(--light);
    font-style: italic;
    line-height: 1.7;
    text-align: center;
    margin: 0;
    transition: all 0.6s ease;
}

/* Desktop: Efectos de color dinámicos */
@media (min-width: 769px) {
    .testimonial-slide.prev .testimonial-content p,
    .testimonial-slide.next .testimonial-content p {
        color: rgba(107, 114, 128, 0.7);
    }

    .testimonial-slide.hidden .testimonial-content p {
        color: rgba(107, 114, 128, 0.5);
    }

    .testimonial-slide.prev .author-info h4,
    .testimonial-slide.next .author-info h4 {
        color: rgba(31, 41, 55, 0.8);
    }

    .testimonial-slide.prev .author-info span,
    .testimonial-slide.next .author-info span {
        color: rgba(107, 114, 128, 0.6);
    }

    .testimonial-slide.hidden .author-info h4 {
        color: rgba(31, 41, 55, 0.6);
    }

    .testimonial-slide.hidden .author-info span {
        color: rgba(107, 114, 128, 0.4);
    }
}

/* Mobile: Colores consistentes */
@media (max-width: 768px) {
    .testimonial-content p {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    /* En móvil todos los testimonios mantienen el mismo color */
    .testimonial-slide .testimonial-content p,
    .testimonial-slide.active .testimonial-content p,
    .testimonial-slide.prev .testimonial-content p,
    .testimonial-slide.next .testimonial-content p,
    .testimonial-slide.hidden .testimonial-content p {
        color: var(--light);
    }
    
    .testimonial-slide .author-info h4,
    .testimonial-slide.active .author-info h4,
    .testimonial-slide.prev .author-info h4,
    .testimonial-slide.next .author-info h4,
    .testimonial-slide.hidden .author-info h4 {
        color: var(--dark);
    }
    
    .testimonial-slide .author-info span,
    .testimonial-slide.active .author-info span,
    .testimonial-slide.prev .author-info span,
    .testimonial-slide.next .author-info span,
    .testimonial-slide.hidden .author-info span {
        color: var(--light);
    }
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-content: center;
}

.author-avatar {
    width: 60px;
    height: 60px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 2rem;
}

.author-info {
    text-align: left;
}

.author-info h4 {
    color: var(--dark);
    margin-bottom: 0.25rem;
    font-size: 1.125rem;
}

.author-info span {
    color: var(--light);
    font-size: 0.9rem;
}

/* Navegación del carrusel */
.carousel-navigation {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-top: 2rem;
}

/* Desktop: Botones grandes */
@media (min-width: 769px) {
    .carousel-btn {
        width: 50px;
        height: 50px;
        border: none;
        background: var(--white);
        border-radius: 50%;
        box-shadow: var(--shadow);
        color: var(--primary);
        font-size: 1.25rem;
        cursor: pointer;
        transition: var(--transition);
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .carousel-btn:hover {
        background: var(--primary);
        color: var(--white);
        transform: translateY(-2px);
        box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    }
}

/* ===== NAVEGACIÓN MÓVIL SIMPLIFICADA ===== */
@media (max-width: 768px) {
    .carousel-navigation {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 15px;
        margin-top: 20px;
    }
    
    .carousel-btn {
        width: 45px;
        height: 45px;
        border: none;
        background: white;
        border-radius: 50%;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        color: var(--primary);
        font-size: 18px;
        cursor: pointer;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .carousel-btn:active {
        background: var(--primary);
        color: white;
        transform: scale(0.95);
    }
    
    .carousel-dots {
        display: flex;
        gap: 8px;
    }
    
    .dot {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background: rgba(37, 99, 235, 0.3);
        cursor: pointer;
        transition: all 0.3s ease;
    }
    
    .dot.active {
        background: var(--primary);
        transform: scale(1.2);
    }
}

.carousel-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.carousel-dots {
    display: flex;
    gap: 0.75rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(37, 99, 235, 0.3);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--primary);
    transform: scale(1.2);
}

.dot:hover {
    background: var(--primary);
}

.testimonials-cta {
    margin-top: 3rem;
}

/* FAQ mejorado */
.faq-container {
    max-width: 800px; margin: 3rem auto;
}
.faq-item {
    background: var(--white); border-radius: var(--radius);
    margin-bottom: 1rem; box-shadow: var(--shadow); overflow: hidden;
    transition: var(--transition);
}
.faq-item:hover {
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}
.faq-question {
    padding: 1.5rem; cursor: pointer; display: flex;
    justify-content: space-between; align-items: center;
    transition: var(--transition);
}
.faq-question:hover {
    background: var(--bg-light);
}
.faq-question h3 {
    color: var(--dark); font-size: 1.125rem;
}
.faq-question i {
    color: var(--primary); transition: var(--transition);
}
.faq-answer {
    max-height: 0; overflow: hidden; transition: max-height 0.3s ease;
}
.faq-answer p {
    padding: 1.5rem 1.5rem 1.5rem; color: var(--light);
}

/* Recursos mejorados */
.resources-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem; margin: 3rem 0;
}
.resource-item {
    background: var(--white); padding: 2rem; border-radius: var(--radius);
    box-shadow: var(--shadow); text-align: center; transition: var(--transition);
}
.resource-item:hover {
    transform: translateY(-5px); box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}
.resource-icon {
    width: 80px; height: 80px; background: var(--accent); border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--white); font-size: 2rem; margin: 0 auto 1.5rem;
}
.resource-item h3 {
    color: var(--dark); margin-bottom: 1rem;
}
.resource-item p {
    color: var(--light); margin-bottom: 1.5rem;
}

/* Colaboración mejorada */
.collaboration-content {
    max-width: 1000px; margin: 0 auto;
}
.supporters-section {
    margin: 2rem 0;
}

/* ========== CARRUSEL DE PERSONAS QUE APOYAN LA INICIATIVA ========== */
.supporters-carousel {
    margin: 1rem 0 4rem 0;
    position: relative;
    overflow: visible;
}

.carousel-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 0 3rem 0;
}

.carousel-track {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    height: 400px;
    perspective: 1000px;
    overflow: visible;
    margin-bottom: 300px;
}

.supporter-card {
    position: absolute;
    width: 600px;
    height: 400px;
    background: rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    opacity: 0;
    transform: translateX(0) scale(0.8) rotateY(0deg);
}

.supporter-card.active {
    opacity: 1;
    transform: translateX(0) scale(1) rotateY(0deg);
    z-index: 3;
}

.supporter-card.prev {
    opacity: 0.6;
    transform: translateX(-200px) scale(0.8) rotateY(15deg);
    z-index: 2;
}

.supporter-card.next {
    opacity: 0.6;
    transform: translateX(200px) scale(0.8) rotateY(-15deg);
    z-index: 2;
}

.supporter-card.hidden {
    opacity: 0;
    transform: translateX(0) scale(0.6) rotateY(0deg);
    z-index: 1;
}

.supporter-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1.5rem;
    border: 3px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.supporter-card.active .supporter-image {
    border-color: rgba(255, 255, 255, 0.8);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.supporter-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: white;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.supporter-description {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
    text-align: start !important;
    max-height: 150px;
    overflow-y: auto;
}

/* Navegación del carrusel */
.carousel-navigation {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    z-index: 10;
}

.carousel-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    pointer-events: all;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.carousel-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    transform: none;
}

.prev-btn {
    margin-left: 2rem;
}

.next-btn {
    margin-right: 2rem;
}

/* Indicadores */
.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.6);
}

/* Responsive */
@media (max-width: 768px) {
    .carousel-track {
        height: auto;
        margin-bottom: 1rem;
        flex-direction: column;
        gap: 1rem;
    }
    
    .supporter-card {
        position: relative;
        width: 100%;
        max-width: 350px;
        height: auto;
        min-height: 200px;
        padding: 1.5rem;
        margin: 0 auto 0.5rem auto;
        opacity: 1;
        transform: none;
        display: none;
    }
    
    .supporter-card.active {
        display: block;
        transform: none;
    }
    
    .supporter-card.prev,
    .supporter-card.next,
    .supporter-card.hidden {
        display: none;
    }
    
    .supporter-image {
        width: 80px;
        height: 80px;
        margin-bottom: 1rem;
    }
    
    .supporter-name {
        font-size: 1rem;
        margin-bottom: 0.8rem;
    }
    
    .supporter-description {
        font-size: 0.85rem;
        max-height: none;
        overflow-y: visible;
        text-align: center;
        line-height: 1.4;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .prev-btn {
        margin-left: 1rem;
    }
    
    .next-btn {
        margin-right: 1rem;
    }
    
    /* Ocultar navegación en móvil si solo hay una tarjeta visible */
    .carousel-navigation {
        display: flex;
    }
}

@media (max-width: 480px) {
    .carousel-track {
        height: auto;
        margin-bottom: 0.5rem;
    }
    
    .supporter-card {
        max-width: 300px;
        padding: 1.2rem;
        min-height: 180px;
    }
    
    .supporter-image {
        width: 70px;
        height: 70px;
    }
    
    .supporter-name {
        font-size: 0.95rem;
        margin-bottom: 0.6rem;
    }
    
    .supporter-description {
        font-size: 0.8rem;
        line-height: 1.3;
    }
    
    .carousel-btn {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .prev-btn {
        margin-left: 0.5rem;
    }
    
    .next-btn {
        margin-right: 0.5rem;
    }
}
.participation-ways {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem; margin: 2rem 0;
}
.way-item {
    background: rgba(255,255,255,0.1); padding: 2rem; border-radius: var(--radius);
    text-align: center; backdrop-filter: blur(10px); transition: var(--transition);
}
.way-item:hover {
    background: rgba(255,255,255,0.15); transform: translateY(-5px);
}
.way-item i {
    font-size: 2.5rem; color: var(--white); margin-bottom: 1rem;
}
.way-item h4 {
    color: var(--white); margin-bottom: 1rem;
}
.way-item p {
    color: rgba(255,255,255,0.9);
}

/* ========== RESPONSIVE ADICIONAL INTEGRADO ========== */
/* Estas reglas están integradas en la sección móvil principal para evitar duplicación */

/* Estilos adicionales para pantallas medianas */
@media (max-width: 768px) and (min-width: 481px) {
    .stats-row { 
        grid-template-columns: 1fr 1fr; 
        gap: 1.5rem;
    }
    
    .value-header { 
        flex-direction: row; 
        text-align: left; 
        gap: 1rem; 
    }
}

/* Integración completa para móvil */
@media (max-width: 768px) {
    /* Nuevos formatos responsive */
    .stats-row { grid-template-columns: 1fr; }
    .stat-card { 
        flex-direction: column; 
        text-align: center; 
        gap: 1rem; 
    }
    .stat-icon { margin: 0 auto; }
    
    .value-header { 
        flex-direction: column; 
        text-align: center; 
        gap: 1rem; 
    }
    .value-icon { margin: 0 auto; }
    
    .value-conclusion .conclusion-content,
    .conclusion-content { 
        flex-direction: column; 
        text-align: center; 
        gap: 1rem; 
    }
    .conclusion-icon { margin: 0 auto; }
}

@media (max-width: 480px) {
    .service-card, .resource-item { padding: 1.5rem; }
    .value-card, .stat-card { padding: 1.5rem; }
    .results-intro h3 { font-size: 1.5rem; }
    .stat-number { font-size: 2rem; }
    
    /* Navegación móvil extra pequeña */
    .nav-container {
        height: 65px;
        padding: 0 10px;
    }
    
    .navbar .logo-blue {
        height: 40px;
    }
    
    /* Testimonios en pantallas muy pequeñas */
    .testimonial-card {
        padding: 1rem;
    }
    
    .testimonial-content p {
        font-size: 0.95rem;
    }
    
    .author-avatar {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }
    
    .author-info h4 {
        font-size: 1rem;
    }
    
    .author-info span {
        font-size: 0.85rem;
    }
}

/* Optimizaciones de rendimiento */
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.hero-background {
    will-change: transform;
}

.problem-card, .btn, .nav-link {
    will-change: transform;
}

/* Accesibilidad */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .hero-background {
        transform: none !important;
    }
}

.btn:focus-visible, .nav-link:focus-visible, 
.form-group input:focus-visible, .form-group select:focus-visible, 
.form-group textarea:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* Lazy loading placeholder */
.lazy {
    opacity: 0;
    transition: opacity 0.3s;
}

.lazy.loaded {
    opacity: 1;
}

/* ========== PREVENCIÓN ADICIONAL DE SCROLL HORIZONTAL ========== */
/* Aplicar a todos los elementos potencialmente problemáticos */

@media (max-width: 768px) {
    /* Asegurar que ningún elemento cause scroll horizontal */
    * {
        max-width: 100vw;
        box-sizing: border-box;
    }
    
    /* Elementos específicos que pueden causar problemas */
    .hero-background,
    .hero-image,
    .carousel-container,
    .testimonial-track,
    .testimonial-slide,
    .testimonial-card {
        max-width: 100%;
        overflow-x: hidden;
        box-sizing: border-box;
    }
    
    /* Asegurar que las tablas y elementos anchos se adapten */
    table {
        width: 100%;
        overflow-x: auto;
        display: block;
        white-space: nowrap;
    }
    
    /* Prevenir que elementos con posición absoluta causen overflow */
    [style*="position: absolute"],
    .testimonial-quote {
        max-width: calc(100% - 2rem);
    }
    
    /* Elementos con transform que pueden salirse */
    [style*="transform"],
    [class*="slide"] {
        max-width: 100%;
        overflow: hidden;
    }
    
    /* Asegurar que los elementos flex no se salgan */
    .nav-menu,
    .carousel-navigation,
    .footer-links {
        max-width: 100%;
        flex-wrap: wrap;
    }
}

/* Reglas específicas para evitar elementos que se salgan del viewport */
@media (max-width: 768px) {
    /* Forzar contenedores principales */
    body > * {
        max-width: 100vw;
        overflow-x: hidden;
    }
    
    /* Elementos de ancho fijo problemáticos */
    [style*="width:"],
    [style*="min-width:"] {
        max-width: 100% !important;
        min-width: auto !important;
    }
    
    /* Asegurar que los testimonios funcionen correctamente */
    .testimonials-carousel * {
        box-sizing: border-box;
    }
    
    .testimonial-slide * {
        max-width: 100%;
        word-wrap: break-word;
    }
    
    /* Forzar altura mínima para evitar cortes */
    .carousel-container {
        min-height: 450px !important;
    }
    
    .testimonial-card {
        min-height: 380px !important;
    }
}

/* ========== FIN DE ESTILOS MÓVIL ========== */

/* ========== TESTIMONIOS MÓVIL - NUEVA IMPLEMENTACIÓN ========== */

/* Clases de visibilidad */
.desktop-only {
    display: block;
}

.mobile-only {
    display: none;
}

@media (max-width: 768px) {
    .desktop-only {
        display: none !important;
    }
    
    .mobile-only {
        display: block !important;
    }
}

/* Contenedor principal de testimonios móvil */
.testimonials-mobile {
    max-width: 100%;
    margin: 1.5rem 0;
    padding: 0 15px;
}

.mobile-testimonials-container {
    position: relative;
    width: 100%;
    height: auto;
    min-height: 450px;
    overflow: hidden;
}

.mobile-testimonial-slide {
    position: absolute;
    width: 100%;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.5s ease-in-out;
    z-index: 1;
}

.mobile-testimonial-slide.active {
    opacity: 1;
    transform: translateX(0);
    z-index: 10;
}

.mobile-testimonial-slide.prev {
    transform: translateX(-100%);
    opacity: 0;
}

.mobile-testimonial-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    padding: 25px 20px;
    width: 100%;
    height: auto;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    box-sizing: border-box;
}

.mobile-testimonial-quote {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    color: var(--primary);
    opacity: 0.3;
}

.mobile-testimonial-content {
    flex: 1;
    display: flex;
    align-items: center;
    padding-top: 40px;
}

.mobile-testimonial-content p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--light);
    text-align: left;
    margin: 0;
    font-style: italic;
}

.mobile-testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.mobile-author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.mobile-author-info h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark);
    margin: 0 0 5px 0;
    line-height: 1.2;
}

.mobile-author-info span {
    font-size: 0.9rem;
    color: var(--light);
    font-weight: 400;
}

/* Navegación móvil */
.mobile-carousel-navigation {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 10px;
}

.mobile-carousel-btn {
    width: 45px;
    height: 45px;
    border: none;
    background: white;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    color: var(--primary);
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-carousel-btn:hover {
    background: var(--primary);
    color: white;
    transform: scale(1.1);
}

.mobile-carousel-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.mobile-carousel-dots {
    display: flex;
    gap: 8px;
}

.mobile-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.mobile-dot.active {
    background: var(--primary);
    transform: scale(1.2);
}

.mobile-dot:hover {
    background: var(--primary);
    opacity: 0.7;
}

/* Responsive adicional para pantallas muy pequeñas */
@media (max-width: 480px) {
    .mobile-testimonial-card {
        padding: 20px 15px;
        min-height: 380px;
    }
    
    .mobile-testimonial-content p {
        font-size: 0.95rem;
    }
    
    .mobile-author-info h4 {
        font-size: 1rem;
    }
    
    .mobile-author-info span {
        font-size: 0.85rem;
    }
    
    .mobile-carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}

/* ========== SECCIÓN DE NOTICIAS ========== */

.noticias-grid {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-top: 3rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.noticia-item {
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.noticia-item:hover {
    transform: translateY(-5px);
}

.noticia-logo {
    max-width: 100%;
    height: auto;
    max-height: 25px;
    width: auto;
    filter: opacity(0.8);
    transition: all 0.3s ease;
    cursor: pointer;
}

.noticia-item:hover .noticia-logo {
    filter: opacity(1);
    transform: scale(1.05);
}

.noticia-item a {
    display: block;
    text-decoration: none;
    padding: 0.25rem;
    border-radius: var(--radius);
    transition: background-color 0.3s ease;
}

.noticia-item a:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

/* Responsive para noticias */
@media (max-width: 768px) {
    .noticias-grid {
        gap: 0.75rem;
        margin-top: 2rem;
        flex-wrap: wrap;
    }
    
    .noticia-logo {
        max-height: 30px;
    }
    
    .noticia-item a {
        padding: 0.2rem;
    }
}

@media (max-width: 480px) {
    .noticias-grid {
        gap: 0.5rem;
    }
    
    .noticia-logo {
        max-height: 25px;
    }
    
    .noticia-item a {
        padding: 0.15rem;
    }
}
