        /* Variables y reset */
        :root {
            --primary: #019ffe;
            --secondary: #2177c0;
            --accent: #575758;
            --dark: #1a1a1a;
            --light: #f8fafc;
            --gray: #64748b;
        }
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        html {
            scroll-behavior: smooth;
        }
        
        body {
            color: var(--dark);
            line-height: 1.6;
            font-family: 'Montserrat', sans-serif;
        }
        
        h1, h2, h3, h4, h5, h6 {
            font-family: 'Exo 2', sans-serif;
            font-weight: 600;
        }
        
        /* Estilos del encabezado y menú */
        header {
            background-color: rgba(255, 255, 255, 0.98);
            box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
            position: fixed;
            width: 100%;
            top: 0;
            z-index: 1000;
            padding: 0.8rem 0;
            transition: all 0.3s ease;
        }
        
        .header-scrolled {
            padding: 0.5rem 0;
            box-shadow: 0 5px 20px rgba(1, 159, 254, 0.1);
        }
        
        .container {
            width: 90%;
            max-width: 1200px;
            margin: 0 auto;
        }
        
        .header-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .logo {
            display: flex;
            align-items: center;
            gap: 0.8rem;
            text-decoration: none;
        }
        
        .logo-img {
            height: 55px;
            width: auto;
        }
        
        nav ul {
            display: flex;
            list-style: none;
            gap: 2.2rem;
        }
        
        nav a {
            text-decoration: none;
            color: var(--dark);
            font-weight: 500;
            transition: all 0.3s;
            font-size: 0.95rem;
            position: relative;
            padding: 0.3rem 0;
        }
        
        nav a:after {
            content: '';
            position: absolute;
            width: 0;
            height: 2px;
            background: var(--primary);
            left: 0;
            bottom: 0;
            transition: width 0.3s ease;
        }
        
        nav a:hover {
            color: var(--primary);
        }
        
        nav a:hover:after {
            width: 100%;
        }
        
        .mobile-menu-btn {
            display: none;
            background: none;
            border: none;
            font-size: 1.5rem;
            color: var(--primary);
            cursor: pointer;
            z-index: 1001;
        }
        
        /* Estilos del hero */
        .hero {
            background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(33, 119, 192, 0.8)), url('images/bg.png');
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
            color: white;
            text-align: center;
            padding: 10rem 0 6rem;
            margin-top: 4rem;
            position: relative;
        }
        
        .hero-content {
            max-width: 850px;
            margin: 0 auto;
            position: relative;
            z-index: 2;
        }
        
        .hero h1 {
            font-size: 3.2rem;
            margin-bottom: 1.5rem;
            line-height: 1.2;
            text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
        }
        
        .hero p {
            font-size: 1.3rem;
            margin: 0 auto 2.5rem;
            opacity: 0.9;
            max-width: 700px;
            font-weight: 300;
        }
        
        .btn {
            display: inline-block;
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            color: white;
            padding: 0.9rem 2.2rem;
            border-radius: 30px;
            text-decoration: none;
            font-weight: 600;
            transition: all 0.3s;
            border: none;
            cursor: pointer;
            font-size: 1rem;
            letter-spacing: 0.5px;
            box-shadow: 0 4px 15px rgba(1, 159, 254, 0.3);
        }
        
        .btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 6px 20px rgba(1, 159, 254, 0.4);
        }
        
        .btn-secondary {
            background: transparent;
            border: 2px solid white;
            box-shadow: none;
        }
        
        .btn-secondary:hover {
            background: rgba(255, 255, 255, 0.1);
        }
        
        /* Estilos de secciones */
        section {
            padding: 5.5rem 0;
        }
        
        .section-title {
            text-align: center;
            margin-bottom: 4rem;
        }
        
        .section-title h2 {
            font-size: 2.5rem;
            color: var(--dark);
            margin-bottom: 0.8rem;
            position: relative;
            display: inline-block;
        }
        
        .section-title h2:after {
            content: '';
            position: absolute;
            width: 60px;
            height: 3px;
            background: var(--primary);
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
        }
        
        .section-title p {
            color: var(--accent);
            max-width: 700px;
            margin: 1.5rem auto 0;
            font-size: 1.1rem;
        }
        
        /* Servicios - CON IMÁGENES MEJORADAS */
        .services-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 2.5rem;
        }
        
        .service-card {
            background-color: white;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
            transition: all 0.4s;
            border-top: 5px solid var(--primary);
            height: 100%;
            display: flex;
            flex-direction: column;
        }
        
        .service-card:hover {
            transform: translateY(-12px);
            box-shadow: 0 15px 35px rgba(1, 159, 254, 0.12);
            border-top-color: var(--secondary);
        }
        
        .service-image {
            height: 200px;
            overflow: hidden;
            background-color: #f8fafc;
        }
        
        .service-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s;
        }
        
        .service-card:hover .service-image img {
            transform: scale(1.05);
        }
        
        .service-content {
            padding: 2rem;
            flex-grow: 1;
            display: flex;
            flex-direction: column;
        }
        
        .service-card h3 {
            font-size: 1.5rem;
            margin-bottom: 1.2rem;
            color: var(--dark);
        }
        
        .service-card p {
            color: var(--accent);
            margin-bottom: 1.8rem;
            flex-grow: 1;
        }
        
        .software-links {
            margin-top: 1rem;
            padding-top: 1rem;
            border-top: 1px dashed #e2e8f0;
        }
        
        .software-links p {
            font-size: 0.9rem;
            margin-bottom: 0.5rem;
            color: var(--secondary);
            font-weight: 500;
        }
        
        .software-links a {
            color: var(--primary);
            text-decoration: none;
            font-size: 0.9rem;
            display: block;
            margin-bottom: 0.3rem;
            transition: color 0.3s;
        }
        
        .software-links a:hover {
            color: var(--secondary);
            text-decoration: underline;
        }
        
        .service-link {
            color: var(--primary);
            text-decoration: none;
            font-weight: 600;
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            transition: gap 0.3s;
            margin-top: auto;
        }
        
        .service-link:hover {
            gap: 0.8rem;
        }
        
        /* Soluciones por tipo de empresa */
        .empresas-section {
            background-color: #f9fbfe;
        }
        
        .empresas-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 2rem;
        }
        
        .empresa-card {
            background-color: white;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
            transition: all 0.4s;
            padding: 2rem;
            text-align: center;
            border-top: 4px solid var(--primary);
        }
        
        .empresa-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 15px 35px rgba(1, 159, 254, 0.12);
        }
        
        .empresa-icon {
            font-size: 2.5rem;
            color: var(--primary);
            margin-bottom: 1.5rem;
            background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
            width: 70px;
            height: 70px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 1.5rem;
        }
        
        .empresa-card h3 {
            font-size: 1.4rem;
            margin-bottom: 1rem;
            color: var(--dark);
        }
        
        .empresa-card p {
            color: var(--accent);
            font-size: 0.95rem;
            margin-bottom: 1.5rem;
        }
        
        .empresa-soluciones {
            text-align: left;
            margin-top: 1.5rem;
            padding-top: 1.5rem;
            border-top: 1px solid #f1f5f9;
        }
        
        .empresa-soluciones h4 {
            font-size: 1.1rem;
            margin-bottom: 0.8rem;
            color: var(--secondary);
        }
        
        .empresa-soluciones ul {
            list-style: none;
        }
        
        .empresa-soluciones li {
            margin-bottom: 0.5rem;
            padding-left: 1.2rem;
            position: relative;
            font-size: 0.9rem;
        }
        
        .empresa-soluciones li:before {
            content: '✓';
            color: var(--primary);
            position: absolute;
            left: 0;
            font-weight: bold;
        }
        
        /* Sobre nosotros */
        .about-content {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 4rem;
            align-items: center;
        }
        
        .about-text h3 {
            font-size: 2rem;
            margin-bottom: 1.8rem;
            color: var(--dark);
        }
        
        .about-text p {
            margin-bottom: 1.8rem;
            color: var(--accent);
        }
        
        .features-list {
            list-style: none;
            margin: 2rem 0;
        }
        
        .features-list li {
            margin-bottom: 1rem;
            display: flex;
            align-items: flex-start;
            gap: 0.8rem;
        }
        
        .features-list i {
            color: var(--primary);
            margin-top: 0.2rem;
        }
        
        .about-image {
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
            height: 450px;
        }
        
        .about-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
            transition: transform 0.5s;
        }
        
        .about-image:hover img {
            transform: scale(1.03);
        }
        
        /* Contacto */
        .contact-container {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 4rem;
            align-items: start;
        }
        
        .contact-info {
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            color: white;
            padding: 3.5rem;
            border-radius: 12px;
            height: 100%;
        }
        
        .contact-info h3 {
            font-size: 1.8rem;
            margin-bottom: 2rem;
        }
        
        .contact-details {
            margin-bottom: 2.5rem;
        }
        
        .contact-item {
            display: flex;
            align-items: flex-start;
            gap: 1.2rem;
            margin-bottom: 1.8rem;
        }
        
        .contact-icon {
            font-size: 1.5rem;
            color: white;
            background: rgba(255, 255, 255, 0.15);
            width: 50px;
            height: 50px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
        }
        
        .contact-text span {
            display: block;
            font-size: 0.9rem;
            opacity: 0.8;
            margin-bottom: 0.3rem;
        }
        
        .contact-text strong {
            font-size: 1.1rem;
        }
        
        .contact-form {
            background-color: white;
            padding: 3rem;
            border-radius: 12px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
        }
        
        .form-group {
            margin-bottom: 1.5rem;
        }
        
        .form-group label {
            display: block;
            margin-bottom: 0.5rem;
            font-weight: 500;
            color: var(--dark);
        }
        
        .form-control {
            width: 100%;
            padding: 0.9rem 1rem;
            border: 1px solid #ddd;
            border-radius: 8px;
            font-family: 'Montserrat', sans-serif;
            font-size: 1rem;
            transition: border 0.3s;
        }
        
        .form-control:focus {
            outline: none;
            border-color: var(--primary);
            box-shadow: 0 0 0 3px rgba(1, 159, 254, 0.1);
        }

        /* Contenido legal */
        .legal-container{
            max-width:900px;
            margin:140px auto 80px auto;
            padding:0 20px
        }
        .legal-container h1{font-size:2.4rem;margin-bottom:30px}
        .legal-container h2{margin-top:30px;margin-bottom:10px}
        .legal-container p, .legal-container li{color:#444}
        .legal-container ul{margin-left:20px}

        
        /* Footer */
        footer {
            background-color: var(--dark);
            color: white;
            padding: 4rem 0 2rem;
        }
        
        .footer-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 3rem;
            margin-bottom: 3rem;
        }
        
        .footer-column h4 {
            font-size: 1.3rem;
            margin-bottom: 1.8rem;
            color: white;
            position: relative;
            padding-bottom: 0.8rem;
        }
        
        .footer-column h4:after {
            content: '';
            position: absolute;
            width: 40px;
            height: 2px;
            background: var(--primary);
            bottom: 0;
            left: 0;
        }
        
        .footer-links {
            list-style: none;
        }
        
        .footer-links li {
            margin-bottom: 0.9rem;
        }
        
        .footer-links a {
            color: #cbd5e1;
            text-decoration: none;
            transition: all 0.3s;
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
        }
        
        .footer-links a:hover {
            color: var(--primary);
            transform: translateX(5px);
        }
        
        .footer-links i {
            font-size: 0.8rem;
        }
        
        .social-links {
            display: flex;
            gap: 1rem;
            margin-top: 1.5rem;
        }
        
        .social-links a {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            background: rgba(255, 255, 255, 0.08);
            color: white;
            border-radius: 50%;
            text-decoration: none;
            transition: all 0.3s;
        }
        
        .social-links a:hover {
            background: var(--primary);
            transform: translateY(-3px);
        }
        
        .copyright {
            padding-top: 2rem;
            border-top: 1px solid #334155;
            color: #94a3b8;
            font-size: 0.9rem;
            text-align: center;
        }

        .legal {
            color: white;
            text-decoration: none;
        }

        .legal:hover {
            color: #A0A0A0 !important;
        }
        
        /* RESPONSIVE DESIGN - Mejorado */
        @media (max-width: 1200px) {
            .container {
                width: 95%;
            }
            
            .hero h1 {
                font-size: 2.8rem;
            }
            
            .section-title h2 {
                font-size: 2.3rem;
            }
        }
        
        @media (max-width: 992px) {
            .about-content, .contact-container {
                grid-template-columns: 1fr;
                gap: 3rem;
            }
            
            .about-image {
                height: 350px;
                order: -1;
            }
            
            .hero h1 {
                font-size: 2.5rem;
            }
            
            .hero p {
                font-size: 1.2rem;
            }
            
            .services-grid {
                grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
            }
        }
        
        @media (max-width: 768px) {
            nav {
                position: fixed;
                top: 0;
                left: -100%;
                width: 280px;
                height: 100vh;
                background-color: white;
                padding: 5rem 2rem 2rem;
                box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
                transition: left 0.4s ease;
                z-index: 1000;
            }
            
            nav.active {
                left: 0;
            }
            
            nav ul {
                flex-direction: column;
                gap: 0;
            }
            
            nav li {
                padding: 1rem 0;
                border-bottom: 1px solid #eee;
            }
            
            .mobile-menu-btn {
                display: block;
            }
            
            .hero h1 {
                font-size: 2.2rem;
            }
            
            .hero p {
                font-size: 1.1rem;
            }
            
            .hero {
                padding: 8rem 0 4rem;
            }
            
            .section-title h2 {
                font-size: 2rem;
            }
            
            .section-title p {
                font-size: 1rem;
            }
            
            .service-content, .empresa-card {
                padding: 1.8rem;
            }
            
            .contact-info, .contact-form {
                padding: 2.5rem;
            }
            
            .services-grid, .empresas-grid {
                grid-template-columns: 1fr;
            }
            
            section {
                padding: 4rem 0;
            }
            
            .service-image {
                height: 180px;
            }
            
            .btn {
                padding: 0.8rem 1.8rem;
                font-size: 0.95rem;
            }
        }
        
        @media (max-width: 576px) {
            .hero h1 {
                font-size: 1.9rem;
            }
            
            .hero p {
                font-size: 1rem;
                margin-bottom: 2rem;
            }
            
            .section-title h2 {
                font-size: 1.8rem;
            }
            
            .section-title p {
                font-size: 0.95rem;
            }
            
            .btn {
                padding: 0.7rem 1.5rem;
                font-size: 0.9rem;
            }
            
            .contact-info, .contact-form {
                padding: 2rem;
            }
            
            .service-image {
                height: 160px;
            }
            
            .service-content {
                padding: 1.5rem;
            }
            
            .service-card h3 {
                font-size: 1.3rem;
            }
            
            .service-card p {
                font-size: 0.95rem;
            }
            
            .empresa-card {
                padding: 1.5rem;
            }
            
            .empresa-card h3 {
                font-size: 1.3rem;
            }
            
            .footer-content {
                grid-template-columns: 1fr;
                gap: 2rem;
            }
            
            .footer-column h4 {
                font-size: 1.2rem;
            }
            
            .about-text h3 {
                font-size: 1.7rem;
            }
        }
        
        @media (max-width: 400px) {
            .hero h1 {
                font-size: 1.7rem;
            }
            
            .hero p {
                font-size: 0.95rem;
            }
            
            .section-title h2 {
                font-size: 1.6rem;
            }
            
            .btn {
                padding: 0.6rem 1.2rem;
                font-size: 0.85rem;
            }
            
            .service-image {
                height: 140px;
            }
        }
        
        /* Animaciones */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        .fade-in {
            animation: fadeInUp 0.8s ease forwards;
        }
        
        /* Optimización de imágenes */
        .service-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: center;
        }