:root {
    --primary-dark: #003572;    /* Navy Profundo */
    --primary-main: #0051a7;    /* Royal Blue */
    --primary-vibrant: #0079f3; /* Electric Blue */
    --bg-ice: #edf6fd;          /* Ice Blue */

    /* --- NEUTROS & SISTEMA --- */
    --white: #FFFFFF;
    --text-main: #0f172a;
    --text-gray: #475569;
    
    /* --- EFECTOS UI --- */
    --glass-bg: rgba(255, 255, 255, 0.9);
    --shadow-card: 0 10px 30px -5px rgba(0, 53, 114, 0.08);
    --shadow-glow: 0 0 20px rgba(0, 121, 243, 0.4);    
    --radius: 12px;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --bg-body: #F8FAFC; 
}

/* --- BASE --- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-body);
    background-image: radial-gradient(#cbd5e1 1px, transparent 1px);
    background-size: 40px 40px;
    line-height: 1.6;
    overflow-x: hidden;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section-padding { padding: 120px 0; }
a { text-decoration: none; }

.section-padding-in { padding: 120px 0 0; }
.section-padding-out { padding: 120px 0 120px; }

/* --- NAVBAR FIX --- */
.navbar {
    position: fixed; 
    top: 0; 
    width: 100%; 
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.4s ease;
    
    /* ESTADO INICIAL */
    background: transparent; 
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: none;
}

.navbar-content { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    width: 100%;
}

.logo img { 
    height: 36px; 
    width: auto; 
    display: block; 
    transition: all 0.3s ease;
    filter: brightness(0) invert(1); 
}

/* Alineación de los enlaces */
.nav-links { 
    display: flex; 
    gap: 32px; 
    align-items: center; 
    list-style: none; 
    margin: 0; padding: 0;
}

.nav-links a { 
    color: rgba(255, 255, 255, 0.9); /* Texto blanco inicial */
    font-weight: 500; 
    font-size: 0.95rem; 
    transition: all 0.3s ease;
    text-decoration: none;
}

.nav-links a:hover { 
    color: #38bdf8; /* Cyan al pasar el mouse */
}

/* Botón "Hablemos" */
.btn-primary-nav { 
    background: var(--primary-vibrant); 
    color: white !important; 
    padding: 10px 24px; 
    border-radius: 50px; 
    font-weight: 600;
    box-shadow: 0 0 15px rgba(0, 121, 243, 0.4); 
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.3s ease;
}

/* --- ESTADO SCROLLED --- */
.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95); /* Blanco sólido casi opaco */
    backdrop-filter: blur(12px);
    padding: 12px 0; /* Se hace más pequeño */
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.navbar.scrolled .nav-links a { 
    color: #0f172a; /* El texto se vuelve OSCURO */
} 
.navbar.scrolled .nav-links a:hover { 
    color: var(--primary-vibrant); 
}

.navbar.scrolled .logo img { 
    filter: none; /* El logo recupera su color original */
} 

.navbar.scrolled .btn-primary-nav { 
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.2); 
}

/* Mobile Menu Button (Oculto en desktop) */
.mobile-menu-btn { 
    display: none; 
    font-size: 1.5rem; 
    cursor: pointer; 
    color: white; /* Blanco al inicio */
}
.navbar.scrolled .mobile-menu-btn {
    color: #0f172a; /* Oscuro al bajar */
}

/* Responsive básico para evitar roturas */
@media (max-width: 968px) {
    .nav-links { display: none; } 
    .mobile-menu-btn { display: block; }
}

/* --- HERO ENTERPRISE --- */
.hero-enterprise {
    position: relative;
    min-height: 90vh; /* Ocupa casi toda la pantalla */
    display: flex;
    align-items: center;
    background-color: #020617; /* Slate 950 (Casi negro) */
    overflow: hidden;
    padding: 120px 0 60px 0; /* Espacio para el navbar */
}

/* 1. ATMÓSFERA (LUCES) */
.ambient-light {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    z-index: 0;
    opacity: 0.6;
}
.light-1 {
    top: -10%; left: -10%;
    width: 600px; height: 600px;
    background: radial-gradient(circle, #003572 0%, transparent 70%); /* Navy */
}
.light-2 {
    bottom: 10%; right: -5%;
    width: 500px; height: 500px;
    background: radial-gradient(circle, #0051a7 0%, transparent 70%); /* Royal */
}

/* Grilla Técnica de fondo */
.grid-overlay {
    position: absolute; inset: 0;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: 1;
    mask-image: linear-gradient(to bottom, black 40%, transparent 100%); /* Se desvanece abajo */
}

/* 2. LAYOUT ASIMÉTRICO */
.hero-container {
    position: relative; z-index: 2;
    display: grid;
    grid-template-columns: 1.2fr 1fr; /* Texto más ancho que visual */
    gap: 60px;
    align-items: center;
}

/* 3. TIPOGRAFÍA DE IMPACTO */
.hero-text { color: white; }

.badge-tech {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(0, 121, 243, 0.1); 
    border: 1px solid rgba(0, 121, 243, 0.3);
    color: #38bdf8;
    font-size: 0.85rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px;
    padding: 6px 14px; border-radius: 4px;
    margin-bottom: 24px;
}
.pulse-dot { width: 8px; height: 8px; background: #38bdf8; border-radius: 50%; box-shadow: 0 0 10px #38bdf8; }

.hero-enterprise h1 {
    font-size: 3.8rem; /* Enorme */
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 30px;
    letter-spacing: -2px;
}

.text-glow {
    color: white;
    text-shadow: 0 0 20px rgba(0, 121, 243, 0.6); /* El toque "neon" elegante */
    -webkit-text-stroke: 1px rgba(0, 121, 243, 0.5); /* Borde sutil */
}

.hero-desc {
    font-size: 1.1rem;
    color: #94a3b8; /* Gris azulado */
    max-width: 500px;
    margin-bottom: 30px;
    font-weight: 300;
}

/* BOTONES NUEVOS */
.hero-actions { display: flex; gap: 16px; margin-top: 40px; margin-bottom: 50px; }

.btn-solid-electric {
    background: #0079f3; color: white;
    padding: 16px 32px; border-radius: 8px; /* Bordes menos redondos = más serio */
    font-weight: 600; display: inline-flex; gap: 10px; align-items: center;
    box-shadow: 0 10px 20px -5px rgba(0, 121, 243, 0.4);
    transition: all 0.3s ease;
}
.btn-solid-electric:hover { background: #2563EB; transform: translateY(-2px); box-shadow: 0 15px 30px -5px rgba(0, 121, 243, 0.6); }

.btn-glass-dark {
    background: rgba(255, 255, 255, 0.05); color: white;
    padding: 16px 32px; border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-weight: 500; display: inline-flex; gap: 10px; align-items: center;
    transition: all 0.3s ease;
}
.btn-glass-dark:hover { background: rgba(255, 255, 255, 0.1); border-color: white; }

/* TRUST TINY */
.hero-trust-tiny { font-size: 0.85rem; color: #64748b; }
.tiny-logos { margin-top: 8px; font-weight: 700; color: #94a3b8; letter-spacing: 1px; }

/* 4. VISUALIZACIÓN ABSTRACTA (TARJETAS FLOTANTES) */
.hero-visual {
    position: relative;
    height: 500px;
    display: flex; align-items: center; justify-content: center;
    perspective: 1000px; /* Para efecto 3D */
}

/* Tarjeta de Código (Fondo) */
.card-code {
    position: absolute; top: 10%; right: 10%;
    width: 320px; height: 200px;
    background: rgba(15, 23, 42, 0.6); /* Muy oscuro */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px;
    transform: rotate(-5deg) translateZ(-50px);
    z-index: 1;
}
.code-line { height: 8px; background: rgba(255, 255, 255, 0.1); border-radius: 4px; margin-bottom: 12px; }
.w-80 { width: 80%; } .w-60 { width: 60%; } .w-90 { width: 90%; } .w-40 { width: 40%; }

/* Tarjeta Perfil (Frente) */
.card-profile {
    position: relative; z-index: 10;
    width: 340px;
    background: rgba(255, 255, 255, 0.03); /* Casi transparente */
    backdrop-filter: blur(20px); /* EFECTO VIDRIO */
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.5); /* Borde superior brillante */
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    transform: rotate(2deg);
}

.profile-header { display: flex; align-items: center; gap: 15px; margin-bottom: 20px; }
.avatar-circle {
    width: 50px; height: 50px; background: linear-gradient(135deg, #0079f3, #003572);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; color: white;
}
.p-name { color: white; font-weight: 700; font-size: 1.1rem; }
.p-role { color: #94a3b8; font-size: 0.9rem; }
.match-badge { 
    margin-left: auto; background: rgba(16, 185, 129, 0.2); color: #34d399; 
    padding: 4px 8px; border-radius: 4px; font-size: 0.75rem; font-weight: 700;
}

.skill-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.skill-tags span {
    background: rgba(255,255,255,0.1); color: #e2e8f0;
    padding: 4px 10px; border-radius: 20px; font-size: 0.8rem;
}

.status-indicator {
    padding-top: 15px; border-top: 1px solid rgba(255,255,255,0.1);
    color: white; font-size: 0.9rem; display: flex; align-items: center; gap: 8px;
}
.status-indicator i { color: #34d399; }

/* ANIMACIONES FLOTANTES */
.floating-slow { animation: float 6s ease-in-out infinite; }
.floating-fast { animation: float 4s ease-in-out infinite reverse; }

@keyframes float {
    0% { transform: translateY(0px) rotate(2deg); }
    50% { transform: translateY(-15px) rotate(2deg); }
    100% { transform: translateY(0px) rotate(2deg); }
}

.hero-desc strong {
    color: #dee1e7;
    font-weight: 600;
}

/* Responsive */
@media (max-width: 968px) {
    .hero-container { grid-template-columns: 1fr; text-align: center; }
    .hero-visual { display: none; /* En móvil ocultamos el 3D para velocidad o lo simplificamos */ }
    .hero-actions { justify-content: center; }
    .hero-enterprise h1 { font-size: 3rem; }
    .hero-desc { margin: 0 auto 40px; }
    
}

/* --- TRUST BAR --- */
.trust-bar-full {
    background-color: #FFFFFF; padding: 40px 0 30px; width: 100%;
    border-bottom: 1px solid #f1f5f9; position: relative; z-index: 10;
}
.marquee-wrapper-logos { overflow: hidden; white-space: nowrap; position: relative; width: 100%; mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent); }
.marquee-track-logos { display: inline-flex; gap: 70px; animation: scrollLogos 50s linear infinite; align-items: center; padding-left: 20px; }
.partner-logo { height: 45px; width: auto; object-fit: contain; filter: grayscale(100%) opacity(0.6); transition: var(--transition); cursor: pointer; }
.partner-logo:hover { filter: grayscale(0%) opacity(1); transform: scale(1.05); }
@keyframes scrollLogos { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* --- CARDS & GRID --- */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 32px; }
.feature-card {
    background: var(--white); border: 1px solid #e2e8f0; padding: 40px; 
    border-radius: var(--radius); transition: var(--transition);
}
.feature-card:hover { transform: translateY(-5px); border-color: var(--primary-vibrant); box-shadow: 0 20px 40px -10px rgba(0,0,0,0.1); }
.icon-box { 
    font-size: 2rem; color: var(--primary-vibrant); margin-bottom: 24px; 
    background: #eff6ff; width: 60px; height: 60px; border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
}
.feature-card h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 10px; color: var(--primary-dark); }
.feature-card p { font-size: 1rem; color: var(--text-gray); line-height: 1.6; }

/* Pausar animación de clientes al pasar el mouse */
.marquee-wrapper-logos:hover .marquee-track-logos {
    animation-play-state: paused;
}

/* --- BENTO GRID --- */
.section-header h2 { font-size: 2.5rem; color: var(--primary-dark); font-weight: 800; margin-bottom: 16px; letter-spacing: -1px; }
.section-header p { color: var(--text-gray); font-size: 1.2rem; margin-bottom: 60px; }
.section-title-center { text-align: center; font-size: 2.5rem; color: var(--primary-dark); font-weight: 800; margin-bottom: 50px; }

.bento-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(2, 300px); gap: 24px; }
.bento-card {
    background: var(--white); border: 1px solid #e2e8f0; border-radius: var(--radius);
    padding: 40px; display: flex; flex-direction: column; justify-content: flex-end;
    transition: var(--transition); position: relative; overflow: hidden;
}
.bento-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-card); border-color: var(--primary-vibrant); }
.large { 
    grid-column: span 1; grid-row: span 2; 
    background: var(--primary-dark); color: white; border: none;
}
.large .bento-icon { color: #38bdf8; background: rgba(255,255,255,0.1); }
.large h3 { color: white; } .large p { color: #cbd5e1; } .large .link-arrow { color: #38bdf8; }
.wide { grid-column: span 2; }
.bento-icon { 
    font-size: 2rem; color: var(--primary-vibrant); margin-bottom: auto; 
    background: #eff6ff; width: 60px; height: 60px; border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 15px;
}
.bento-card h3 { font-size: 1.5rem; font-weight: 700; margin-bottom: 12px; }

/* --- TECH STACK --- */
.marquee-wrapper { overflow: hidden; position: relative; mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent); }
.marquee-track { display: flex; gap: 24px; width: max-content; animation: scroll 35s linear infinite; }
.marquee-wrapper:hover .marquee-track { animation-play-state: paused; }
@keyframes scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.tech-pill {
    padding: 12px 28px; background: white; border: 1px solid #e2e8f0; border-radius: 50px;
    font-weight: 600; color: var(--primary-dark); display: flex; align-items: center; gap: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.03); white-space: nowrap; font-size: 0.95rem;
}

.tech-pill i {
    font-size: 1.5rem; /* Tamaño del icono */
    margin-right: 2px; /* Espacio entre icono y texto */
    vertical-align: middle;
}

/* Opcional: Si quieres que al pasar el mouse brillen un poco más */
.tech-pill:hover i {
    transform: scale(1.1);
    transition: transform 0.2s ease;
}

/* --- BENEFITS SECTION --- */
.benefits-section { background-color: var(--white); position: relative; }
.benefits-layout { display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px; align-items: center; }
.badge-pill {
    display: inline-block; padding: 6px 16px; background: #e0f2fe; color: var(--primary-main);
    font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; border-radius: 50px; margin-bottom: 24px;
}
.section-title-left { font-size: 3rem; font-weight: 800; line-height: 1.1; color: var(--primary-dark); margin-bottom: 16px; letter-spacing: -1.5px; }
.text-highlight { color: var(--primary-vibrant); }
.benefits-desc { font-size: 1.1rem; color: var(--text-gray); margin-bottom: 24px; max-width: 480px; }
.intro-separator { width: 60px; height: 4px; background: var(--primary-vibrant); margin-bottom: 24px; border-radius: 2px; }
.benefits-brand { font-size: 1.15rem; color: var(--primary-dark); }
.benefits-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.benefit-card {
    background: var(--bg-body); padding: 24px; border-radius: var(--radius); border: 1px solid #e2e8f0;
    transition: var(--transition); display: flex; flex-direction: column; gap: 16px;
}
.benefit-card:hover { background: var(--white); border-color: var(--primary-main); transform: translateY(-5px); box-shadow: var(--shadow-card); }
.check-icon { font-size: 2rem; color: var(--primary-vibrant); line-height: 1; }
.benefit-content h4 { font-size: 1.1rem; font-weight: 700; color: var(--primary-dark); margin-bottom: 8px; }
.benefit-content p { font-size: 0.95rem; color: var(--text-gray); line-height: 1.5; }

/* --- DARK VALUE PROP --- */
.value-prop-dark { background-color: var(--primary-dark); color: var(--white); position: relative; overflow: hidden; }
.relative-z { position: relative; z-index: 2; }
.bg-pattern-dots {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-image: radial-gradient(rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 30px 30px; opacity: 0.3; z-index: 1;
}
.section-header-light h2 { font-size: 3rem; font-weight: 800; margin-bottom: 16px; }
.text-gradient-light { background: linear-gradient(90deg, #38bdf8, #818cf8); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.subtitle-light { font-size: 1.2rem; color: #cbd5e1; max-width: 600px; margin: 0 auto; }
.pill-badge-dark {
    display: inline-block; padding: 6px 16px; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50px; font-size: 0.85rem; font-weight: 600; color: #bae6fd; margin-bottom: 20px;
}
.value-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 60px; margin-bottom: 80px; text-align: left; }
.value-text-card p { color: #cbd5e1; font-size: 1.05rem; line-height: 1.7; margin-bottom: 16px; }
.value-text-card strong { color: var(--white); font-weight: 600; }
.icon-header { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.icon-header i { font-size: 2rem; color: var(--primary-vibrant); background: rgba(0, 121, 243, 0.15); padding: 12px; border-radius: 12px; }
.icon-header h3 { font-size: 1.5rem; font-weight: 700; color: var(--white); }
.stats-container {
    display: flex; justify-content: center; align-items: center;
    background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px; padding: 40px; backdrop-filter: blur(5px); max-width: auto; margin: 0 auto;
}
.stat-item { text-align: center; flex: 1; }
.stat-number { font-size: 3.5rem; font-weight: 800; line-height: 1; color: var(--white); margin-bottom: 8px; font-variant-numeric: tabular-nums; }
.stat-number .plus { color: var(--primary-vibrant); font-size: 1.8rem; vertical-align: super; }
.stat-label { font-size: 0.85rem; color: #94a3b8; font-weight: 500; text-transform: uppercase; letter-spacing: 1px; }
.stat-divider { width: 1px; height: 60px; background: rgba(255,255,255,0.1); margin: 0 20px; }

/* --- 3 STEPS --- */
.steps-section { background: var(--bg-ice); position: relative; overflow: hidden; } /* Usa el ICE (azul claro) */
.timeline-wrapper { position: relative; padding-top: 10px; }
.timeline-line { position: absolute; top: 40px; left: 0; width: 100%; height: 2px; background: #E2E8F0; z-index: 0; }
.steps-grid-modern { display: grid; grid-template-columns: repeat(3, 1fr); gap: 60px; position: relative; z-index: 1; }
.step-card-modern { background: transparent; position: relative; }
.step-circle {
    width: 80px; height: 80px; background: var(--primary-vibrant); color: white;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 2rem; font-weight: 800; margin-bottom: 30px;
    box-shadow: 0 0 0 12px var(--bg-ice); /* Match fondo */
    position: relative; z-index: 2;
}
/* Animación Pulso */
.step-circle::after {
    content: ''; position: absolute; width: 100%; height: 100%; border-radius: 50%;
    border: 2px solid var(--primary-vibrant); opacity: 0; z-index: -1;
    animation: pulse-ring 2s infinite;
}
@keyframes pulse-ring { 0% { transform: scale(0.9); opacity: 1; } 100% { transform: scale(1.6); opacity: 0; } }
.step-card-modern:nth-child(2) .step-circle::after { animation-delay: 0.6s; }
.step-card-modern:nth-child(3) .step-circle::after { animation-delay: 1.2s; }
.step-card-modern h3 { font-size: 1.4rem; font-weight: 700; color: var(--primary-dark); margin-bottom: 12px; }
.step-card-modern p { color: var(--text-gray); font-size: 1rem; line-height: 1.6; }

/* --- CTA SECTION --- */
.cta-section { background-color: var(--bg-body); padding-bottom: 80px; }
.cta-card-gradient {
    background: linear-gradient(135deg, var(--primary-main) 0%, var(--primary-vibrant) 100%);
    border-radius: 24px; padding: 60px; position: relative; overflow: hidden; text-align: center;
    box-shadow: 0 20px 40px -10px rgba(0, 121, 243, 0.4); color: white;
}
.cta-content { position: relative; z-index: 2; max-width: 700px; margin: 0 auto; }
.cta-content h2 { font-size: 2.5rem; font-weight: 800; margin-bottom: 16px; color: white; }
.cta-content p { font-size: 1.2rem; margin-bottom: 40px; color: rgba(255,255,255,0.9); }
.cta-buttons { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }
.btn-white {
    background: white; color: var(--primary-vibrant); padding: 16px 32px; border-radius: 12px; font-weight: 700;
    display: inline-flex; align-items: center; gap: 10px; transition: var(--transition);
}
.btn-white:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(0,0,0,0.15); }
.btn-outline-white {
    background: transparent; color: white; border: 2px solid rgba(255,255,255,0.3); padding: 14px 30px; border-radius: 12px; font-weight: 600;
    display: inline-flex; align-items: center; gap: 10px; transition: var(--transition);
}
.btn-outline-white:hover { border-color: white; background: rgba(255,255,255,0.1); }
.cta-decoration {
    position: absolute; right: -50px; bottom: -50px; font-size: 15rem; color: white; opacity: 0.05;
    transform: rotate(-20deg); pointer-events: none;
}

/* --- FOOTER --- */
.main-footer { background-color: #020617; color: #94a3b8; padding: 80px 0 30px; font-size: 0.95rem; }
.footer-top-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 60px; margin-bottom: 60px; padding-bottom: 60px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-brand-col { display: flex; flex-direction: column; gap: 24px; }
.footer-desc { line-height: 1.6; max-width: 350px; }
.iso-badges-footer { display: flex; gap: 12px; flex-wrap: wrap; }
.iso-pill { font-size: 0.75rem; background: rgba(255,255,255,0.05); padding: 4px 10px; border-radius: 4px; border: 1px solid rgba(255,255,255,0.1); color: #e2e8f0; display: flex; align-items: center; gap: 6px; }
.main-footer h4 { color: white; font-size: 1.1rem; margin-bottom: 24px; font-weight: 600; }
.footer-nav-col ul, .footer-contact-col ul { list-style: none; display: flex; flex-direction: column; gap: 16px; }
.footer-nav-col a { color: #94a3b8; transition: var(--transition); }
.footer-nav-col a:hover { color: var(--primary-vibrant); padding-left: 5px; }
.footer-contact-col li { display: flex; gap: 12px; align-items: flex-start; }
.footer-contact-col i { color: var(--primary-vibrant); font-size: 1.2rem; margin-top: 2px; }
.footer-contact-col a { color: #94a3b8; transition: 0.3s; }
.footer-contact-col a:hover { color: white; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; }
.social-links { display: flex; gap: 20px; }
.social-links a { width: 40px; height: 40px; background: rgba(255,255,255,0.05); display: flex; align-items: center; justify-content: center; border-radius: 50%; color: white; transition: var(--transition); }
.social-links a:hover { background: var(--primary-vibrant); transform: translateY(-3px); }

/* --- RESPONSIVE --- */
@media (max-width: 968px) {
    .hero { padding: 180px 0 100px; }
    .hero h1 { font-size: 2.8rem; }
    .hero-cta { flex-direction: column; padding: 0 20px; }
    .btn-lg { width: 100%; justify-content: center; }
    
    .bento-grid { display: flex; flex-direction: column; height: auto; }
    .bento-card { min-height: 250px; }
    .nav-links { display: none; } .mobile-menu-btn { display: block; }
    
    /* Responsive Grids */
    .benefits-layout, .value-grid, .footer-top-grid { grid-template-columns: 1fr; gap: 40px; }
    .benefits-intro { text-align: center; display: flex; flex-direction: column; align-items: center; }
    .benefits-grid { grid-template-columns: 1fr; }
    
    .steps-grid-modern { grid-template-columns: 1fr; gap: 40px; }
    .timeline-line { width: 2px; height: 100%; left: 40px; top: 0; }
    .step-card-modern { padding-left: 110px; }
    .step-circle { position: absolute; left: 0; top: 0; }
    
    .stats-container { flex-direction: column; gap: 30px; padding: 30px; }
    .stat-divider { width: 60px; height: 1px; margin: 10px 0; }
    .cta-card-gradient { padding: 40px 24px; }
    .footer-flex { flex-direction: column; text-align: center; gap: 30px; }
    .footer-bottom { flex-direction: column; gap: 20px; text-align: center; }
}

/* Animaciones de Entrada */
.fade-in { opacity: 0; transform: translateY(20px); transition: 0.6s ease-out; }
.fade-in-up { animation: fadeInUp 0.8s ease-out forwards; }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }

.mb-5 {
    margin-bottom: 40px;
}

.btn-actions {
    display: flex;
    gap: 16px;
    margin-top: 40px;
}

.btn-steps {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 80px;
}

/* --- ACTIVE STATE NAVEGACIÓN --- */
.nav-links a.active-link {
    color: #38bdf8 !important; /* Cyan vibrante */
    position: relative;
}

/* Punto brillante debajo del link activo */
.nav-links a.active-link::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background-color: #38bdf8;
    border-radius: 50%;
    box-shadow: 0 0 10px #38bdf8;
    animation: fadeInPoint 0.3s ease;
}

@keyframes fadeInPoint {
    from { opacity: 0; transform: translate(-50%, 5px); }
    to { opacity: 1; transform: translate(-50%, 0); }
}

/* Botón "Hablemos" no debe tener el punto abajo, solo mantener su estilo */
.nav-links a.btn-primary-nav.active-link::after {
    display: none;
}

/* --- CORRECCIÓN DE SCROLL (OFFSET) --- */
html {
    scroll-padding-top: 100px; /* Ajusta este valor al alto de tu navbar */
}

section, header {
    scroll-margin-top: 100px; /* Refuerzo para navegadores antiguos */
}

/* --- MODAL SYSTEM --- */
.modal-backdrop {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(2, 6, 23, 0.7); /* Fondo oscuro semitransparente */
    backdrop-filter: blur(8px); /* Efecto Blur Apple/Windows */
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none; /* No clickeable cuando está oculto */
    transition: opacity 0.3s ease;
    padding: 20px;
}

.modal-backdrop.active {
    opacity: 1;
    pointer-events: all;
}

.modal-content {
    background: #ffffff;
    width: 100%;
    max-width: 500px;
    padding: 40px;
    border-radius: 20px;
    position: relative;
    transform: translateY(30px) scale(0.95);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1); /* Efecto rebote suave */
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255,255,255,0.1);
}

.modal-backdrop.active .modal-content {
    transform: translateY(0) scale(1);
}

/* Close Button */
.modal-close {
    position: absolute;
    top: 20px; right: 20px;
    background: #f1f5f9;
    border: none;
    width: 36px; height: 36px;
    border-radius: 50%;
    color: var(--text-gray);
    cursor: pointer;
    font-size: 1.2rem;
    transition: 0.2s;
    display: flex; align-items: center; justify-content: center;
}
.modal-close:hover { background: #e2e8f0; color: var(--primary-dark); transform: rotate(90deg); }

/* Header */
.modal-header { text-align: center; margin-bottom: 30px; }
.modal-icon {
    width: 50px; height: 50px;
    background: #eff6ff; color: var(--primary-vibrant);
    border-radius: 12px; margin: 0 auto 15px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem;
}
.modal-header h3 { font-size: 1.5rem; color: var(--primary-dark); line-height: 1.3; font-weight: 700; }

/* Form Elements */
.input-group { margin-bottom: 20px; text-align: left; }
.input-group label {
    display: block; font-size: 0.9rem; font-weight: 600; 
    color: var(--primary-dark); margin-bottom: 8px;
}
.input-group input, .input-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: var(--text-main);
    transition: 0.3s;
    background: #f8fafc;
}
.input-group input:focus, .input-group textarea:focus {
    outline: none;
    border-color: var(--primary-vibrant);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.1);
}

/* Button & Legal */
.full-width { width: 100%; justify-content: center; margin-top: 10px; cursor: pointer; border: none; font-size: 1rem;}
.modal-legal {
    margin-top: 20px; font-size: 0.75rem; color: #94a3b8; text-align: center;
    display: flex; align-items: center; justify-content: center; gap: 6px;
}

/* Responsive */
@media (max-width: 480px) {
    .modal-content { padding: 30px 20px; }
    .modal-header h3 { font-size: 1.25rem; }
}

/* --- MOBILE MENU SYSTEM --- */

/* Ajustes para móviles (menos de 968px) */
@media (max-width: 968px) {
    
    /* El contenedor de enlaces se convierte en un panel fijo */
    .nav-links {
        position: fixed;
        top: 0; left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(2, 6, 23, 0.98); /* Fondo casi negro sólido */
        backdrop-filter: blur(10px);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;
        z-index: 998; /* Debajo del botón de menú y logo */
        
        /* Estado inicial: Oculto arriba */
        transform: translateY(-100%);
        opacity: 0;
        transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    }

    /* ESTADO ACTIVO (Cuando JS agrega esta clase) */
    .nav-links.mobile-active {
        display: flex; /* Forzamos el display flex */
        transform: translateY(0);
        opacity: 1;
    }

    /* Estilo de los enlaces en móvil */
    .nav-links a {
        font-size: 1.5rem; /* Letra más grande */
        font-weight: 600;
        color: white;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
    }

    /* El botón de menú debe estar por encima de todo */
    .mobile-menu-btn {
        position: relative;
        z-index: 999;
    }
    
    /* Ajuste para que el logo también se vea por encima */
    .logo {
        position: relative;
        z-index: 999;
    }
}

.mb-2 {
    margin-bottom: 15px !important;
}

.mt-0 {
    margin-top: 0;
}

/* --- ESTADO DE ÉXITO DEL BOTÓN --- */
.btn-success {
    background-color: #10b981 !important; /* Verde Esmeralda */
    border-color: #10b981 !important;
    color: white !important;
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.4) !important; /* Brillo verde */
    pointer-events: none; /* Evita que le den click de nuevo */
    transform: none !important; /* Evita que se mueva */
}

