/* --- BASICS --- */
html, body {
    max-width: 100%;
    overflow-x: hidden;
    position: relative;
    width: 100%;
}
body { 
    font-family: 'Plus Jakarta Sans', sans-serif; 
    background-color: #F4F6F6; 
    color: #1E293B; 
    width: 100%;
    min-width: 100%;
    position: relative;
    overflow-x: hidden !important; /* El !important es clave aquí */
    scroll-behavior: smooth;
    touch-action: pan-y; /* Esto bloquea el scroll horizontal por completo */
}

/* --- NAV & GLASS --- */
.glass-nav { 
    background: rgba(255, 255, 255, 0.6); 
    backdrop-filter: blur(20px); 
    -webkit-backdrop-filter: blur(20px); 
    border: 1px solid rgba(255, 255, 255, 0.4); 
} 

/* --- TYPOGRAPHY & CARDS --- */
/* 1. Regla base para móvil (Segura y legible) */
h1, h2, h3, h4 { 
    letter-spacing: normal; /* Eliminamos el negativo en móvil */
    word-spacing: 0.05em; 
    line-height: 1.2; 
    word-break: keep-all; 
    overflow-wrap: break-word;
}

/* 2. Regla para Desktop (Tu diseño original) */
@media (min-width: 768px) {
    h1, h2, h3, h4 { 
        letter-spacing: -0.04em; 
        line-height: 0.85; /* Aquí es donde el diseño se "aprieta" */
        word-spacing: normal;
    }
}
.card-interaction { transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); } 
.accent-line { width: 40px; height: 4px; background: #9144FF; border-radius: 2px; margin-bottom: 1rem; }
.section-card {
            background: white;
            border-radius: 24px;
            padding: 2.5rem;
            margin-bottom: 2rem;
            box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.04);
            border: 1px solid rgba(0, 0, 0, 0.02);
        }

/* --- FAQ ACCORDION --- */
.faq-border { border-top: 1.5px solid #CBD5E1; } 
.faq-border:last-child { border-bottom: 1.5px solid #CBD5E1; } 
.faq-content { 
    max-height: 0; 
    overflow: hidden; 
    transition: max-height 0.5s ease-out, opacity 0.3s ease; 
    opacity: 0; 
} 
.faq-item.active .faq-content { 
    max-height: 500px; 
    opacity: 1; 
    padding-bottom: 2.5rem; 
} 
.faq-item.active .faq-icon { 
    transform: rotate(45deg); 
    color: #9144FF; 
} 
.faq-icon { transition: transform 0.3s ease, color 0.3s ease; }

/* --- FORM SYSTEM --- */
.input-siyu { 
    border-bottom: 1.5px solid #1E293B; 
    background: transparent; 
    padding: 1rem 0; 
    width: 100%; 
    transition: all 0.3s ease; 
    outline: none; 
}
.input-siyu:focus { border-color: #9144FF; }
.input-error { border-color: #F43F5E !important; }

/* --- UTILITIES --- */
.hide-scrollbar::-webkit-scrollbar { display: none; }
.hide-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

/* --- ANIMATIONS --- */
@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.animate-marquee {
    display: flex;
    width: max-content;
    animation: marquee 30s linear infinite;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}
.shake-anim { animation: shake 0.2s ease-in-out 0s 2; }

@keyframes pulse-soft {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}
.btn-pulse { animation: pulse-soft 3s infinite ease-in-out; }

/* Mockup behavior */
img.img-floating {
    animation: float 6s ease-in-out infinite;
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Asegura que el texto de las listas siempre fluya bien */
.section-card ul li {
    line-height: 1.6 !important; /* Altura de línea cómoda y segura */
    display: list-item !important; /* Fuerza el comportamiento de lista nativa */
}