/* style.css */
:root {
    --dark-blue: #0A2540;
    --corp-blue: #0066FF;
    --white: #FFFFFF;
    --light-gray: #F5F7FA;
    --gray-text: #4a5568;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, sans-serif;
    color: var(--dark-blue);
    background-color: var(--white);
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* Navbar */
.navbar {
    background: rgba(10, 37, 64, 0.98);
    backdrop-filter: blur(8px);
    padding: 1rem 0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
}
.navbar .logo-supera { font-weight: 800; font-size: 1.6rem; color: var(--corp-blue); }
.navbar .logo-group { font-weight: 700; color: white; }
.nav-link { color: #e2e8f0 !important; font-weight: 500; margin: 0 0.5rem; transition: 0.2s; }
.nav-link:hover { color: var(--corp-blue) !important; }
.btn-wa-nav { background: #25D366; border: none; border-radius: 40px; padding: 0.5rem 1.2rem; font-weight: 600; color: white; }
.btn-wa-nav:hover { background: #20b859; }

/* Hero */
.hero-section {
    min-height: 90vh;
    background: linear-gradient(135deg, #0A1C2F 0%, #0A2540 100%);
    position: relative;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
}
.hero-title { font-size: 3.2rem; font-weight: 800; color: white; line-height: 1.2; margin-bottom: 1.5rem; }
.highlight-text { color: var(--corp-blue); position: relative; }
.hero-subtitle { font-size: 1.2rem; color: #cbd5e1; margin-bottom: 2rem; }
.btn-primary { background: var(--corp-blue); border: none; border-radius: 40px; padding: 0.8rem 2rem; font-weight: 600; transition: 0.3s; }
.btn-primary:hover { background: #0052cc; transform: translateY(-3px); box-shadow: 0 10px 25px -5px rgba(0,102,255,0.4); }
.btn-outline-light { border-radius: 40px; padding: 0.8rem 2rem; }
.tech-card-glow { background: rgba(255,255,255,0.05); border-radius: 40px; padding: 2rem; text-align: center; font-size: 3rem; backdrop-filter: blur(12px); }
.floating-stats { background: var(--corp-blue); border-radius: 50px; padding: 0.5rem 1rem; display: inline-block; margin-top: 1rem; font-size: 1rem; }
/* Botón flotante WA */
.whatsapp-float { position: fixed; bottom: 30px; right: 30px; background: #25D366; width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; font-size: 2rem; z-index: 1000; box-shadow: 0 5px 15px rgba(0,0,0,0.2); transition: 0.2s; text-decoration: none; }
.whatsapp-float:hover { transform: scale(1.1); background: #128C7E; color: white; }
.tooltip-wa { position: absolute; right: 70px; background: #0A2540; color: white; padding: 5px 12px; border-radius: 30px; font-size: 0.8rem; white-space: nowrap; opacity: 0; transition: 0.3s; }
.whatsapp-float:hover .tooltip-wa { opacity: 1; }
/* Secciones generales */
section { padding: 80px 0; }
.section-title { font-size: 2.5rem; font-weight: 700; margin-bottom: 1rem; }
.badge-soft { background: #e2e8f0; padding: 0.3rem 1rem; border-radius: 30px; font-size: 0.8rem; font-weight: 600; color: var(--dark-blue); display: inline-block; margin-bottom: 1rem; }
/* Nosotros */
.about-section { background: var(--light-gray); }
.stats-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 1.5rem; }
.stat-card { background: white; border-radius: 20px; padding: 1.5rem; text-align: center; box-shadow: 0 10px 20px rgba(0,0,0,0.02); transition: 0.3s; }
.stat-card h3 { font-size: 2.5rem; font-weight: 800; color: var(--corp-blue); margin: 0; }
/* Servicios */
.services-section { background: white; }
.service-card { background: white; border-radius: 24px; padding: 2rem 1.5rem; box-shadow: 0 20px 35px -12px rgba(0,0,0,0.05); transition: all 0.3s ease; border: 1px solid #eef2f6; }
.service-card:hover { transform: translateY(-8px); border-color: var(--corp-blue); box-shadow: 0 25px 40px -12px rgba(0,102,255,0.15); }
.service-icon { font-size: 2.8rem; color: var(--corp-blue); margin-bottom: 1rem; }
.benefits-list { list-style: none; padding-left: 0; margin: 1rem 0; }
.benefits-list li { margin-bottom: 0.5rem; font-size: 0.9rem; }
/* Portafolio */
.portfolio-card { border-radius: 20px; overflow: hidden; background: white; transition: 0.3s; box-shadow: 0 5px 15px rgba(0,0,0,0.05); }
.portfolio-card img { width: 100%; height: 220px; object-fit: cover; transition: 0.5s; }
.portfolio-card:hover img { transform: scale(1.05); }
.portfolio-info { padding: 1.2rem; }
/* Team */
.team-card { background: white; border-radius: 20px; padding: 1.5rem; text-align: center; box-shadow: 0 10px 25px -5px rgba(0,0,0,0.05); transition: 0.3s; }
.team-card img { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; margin-bottom: 1rem; border: 3px solid var(--corp-blue); }
/* Clientes */
.client-logo { background: white; border-radius: 40px; padding: 0.8rem; text-align: center; font-weight: 600; color: #4a5568; border: 1px solid #e2e8f0; }
/* Testimonios */
.testimonial-card { background: var(--light-gray); border-radius: 24px; padding: 1.8rem; transition: 0.2s; height: 100%; }
.stars { color: #f5b042; margin-bottom: 0.8rem; letter-spacing: 2px; font-size: 1.2rem; }
/* Proceso */
.process-step .step-num { background: var(--corp-blue); width: 50px; height: 50px; border-radius: 30px; display: inline-flex; align-items: center; justify-content: center; color: white; font-weight: bold; font-size: 1.5rem; margin-bottom: 1rem; }
/* CTA */
.cta-final { background: linear-gradient(120deg, #0A2540 0%, #0A1F33 100%); color: white; text-align: center; padding: 80px 20px; }
.btn-whatsapp-lg { background: #25D366; padding: 1rem 2rem; border-radius: 60px; font-size: 1.2rem; font-weight: bold; color: white; text-decoration: none; display: inline-block; transition: 0.3s; }
.btn-whatsapp-lg:hover { background: #128C7E; transform: translateY(-3px); }
/* Footer */
.footer { background: #051a2c; color: #b0c4de; padding-top: 60px; }
.footer-logo { font-size: 1.6rem; font-weight: 800; color: var(--corp-blue); margin-bottom: 1rem; }
.social-icons a { color: white; margin-right: 1rem; font-size: 1.2rem; opacity: 0.8; }
.footer ul { list-style: none; padding-left: 0; }
.footer a { color: #b0c4de; text-decoration: none; }
/* Responsive */
@media (max-width: 768px) {
    .hero-title { font-size: 2rem; }
    .section-title { font-size: 1.8rem; }
    .stats-grid { grid-template-columns: 1fr; }
}

/* Asegurar que todo sea visible inicialmente */
body {
    opacity: 1 !important;
}

.hero-content, .hero-illustration, .service-card, .portfolio-card, 
.team-card, .testimonial-card, .stat-card, .process-step, 
.client-logo, .cta-final h2, .cta-final p {
    opacity: 1;
}

/* Evitar que GSAP oculte elementos al inicio */
.gsap-start {
    opacity: 1 !important;
}

/* Mejorar visibilidad de la imagen en hero */
.tech-card-glow img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}

/* Fix para el botón flotante */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
}