* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


        html {
            scroll-behavior: smooth;
        }

body {
    font-family: 'Manrope', sans-serif;
    line-height: 1.6;
    color: #333;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

        /* HEADER STYLES */
        .site-header {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(10px);
            border-bottom: 1px solid rgba(0, 0, 0, 0.1);
            z-index: 1000;
            transition: all 0.3s ease;
        }

        .site-nav {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 1rem 0;
        }

        .site-brand .logo {
            font-size: 1.5rem;
            font-weight: 700;
            color: black;
            text-decoration: none !important;
        }

        .main-menu {
            display: flex;
            list-style: none;
            align-items: center;
            gap: 2.5rem;
            flex-direction: row;
            position: static;
            width: auto;
            height: auto;
            background: transparent;
            box-shadow: none;
            justify-content: flex-end;
            opacity: 1;
            pointer-events: auto;
            transition: none;
            transform: none;
        }

        
        /* --- MOBILE MENU OVERLAY --- */
        @media (max-width: 968px) {
            .main-menu {
                display: none;
                position: fixed;
                top: 0;
                left: 0;
                right: 0;
                width: 100%;
                max-width: 100vw;
                height: 100vh;
                background: #fff;
                box-shadow: 0 8px 32px rgba(0,0,0,0.10);
                flex-direction: column;
                justify-content: center;
                z-index: 1500;
                opacity: 0;
                pointer-events: none;
                transition: opacity 0.4s cubic-bezier(0.77,0,0.18,1), transform 0.4s cubic-bezier(0.77,0,0.18,1);
                transform: translateY(-30px);
                padding: 0 0.5rem;
            }
            .main-menu.active {
                display: flex;
                opacity: 1;
                pointer-events: auto;
                transform: translateY(0);
            }
            .main-menu.barba-animating {
                transition: opacity 0.4s cubic-bezier(0.77,0,0.18,1), transform 0.4s cubic-bezier(0.77,0,0.18,1);
            }
            .main-menu .close-mobile-menu {
                display: block;
                position: absolute;
                top: 10px;
                right: 12px;
                font-size: 1.2rem;
                color: #222;
                background: none;
                border: none;
                cursor: pointer;
                z-index: 2001;
                transition: color 0.2s;
                padding: 0.1rem 0.3rem;
            }
            .main-menu .nav-link {
                font-size: 0.95rem;
                padding: 0.5rem 0.9rem;
                margin: 0.08rem 0;
            }
            .main-menu .btn-outline {
                font-size: 0.9rem;
                margin-top: 0.5rem;
                padding: 0.4rem 1rem !important;
            }
        }
        /* El botón de cerrar NO se muestra en desktop */
        .main-menu .close-mobile-menu {
            display: none;
        }

        .main-menu .nav-link {
            font-size: 1.5rem;
            color: #222;
            font-weight: 700;
            padding: 1rem 1.7rem;
            border-radius: 30px;
            transition: background 0.2s, color 0.2s, transform 0.2s;
            text-align: center;
            margin: 0.2rem 0;
        }

        .main-menu .nav-link:hover, .main-menu .nav-link:focus {
            background: #f3f6fa;
            color: #007bff;
            transform: scale(1.08);
        }

        .main-menu .btn-outline {
            border: 2px solid #007bff !important;
            color: #007bff !important;
            background: transparent;
            font-size: 1.2rem;
            margin-top: 1.5rem;
        }

        .main-menu .btn-outline:hover {
            background: #007bff;
            color: #fff !important;
        }

        .main-menu.active {
            display: flex;
            opacity: 1;
            pointer-events: auto;
        }

        .main-menu.barba-animating {
            transition: opacity 0.4s cubic-bezier(0.77,0,0.18,1);
        }

        .nav-link {
            text-decoration: none;
            color: #333;
            font-weight: 500;
            transition: color 0.3s ease;
            padding: 0.5rem 0;
        }

        .nav-link:hover {
            color: #007bff;
        }

        .btn-outline {
            border: 2px solid gray !important;
            padding: 0.5rem 1.5rem !important;
            border-radius: 25px;
            color: black !important;
            transition: all 0.3s ease;
            text-decoration: none !important;
            margin-top: 1rem;
        }

        .btn-outline:hover {
            background: #007bff;
            color: white !important;
        }

        .languages {
            display: flex;
            gap: 0.5rem;
            margin-left: 1rem;
        }

        .language-link {
            padding: 0.3rem 0.8rem;
            border-radius: 15px;
            text-decoration: none;
            color: #666;
            font-size: 0.9rem;
            transition: all 0.3s ease;
        }

        .language-link.active,
        .language-link:hover {
            background: #007bff;
            color: white;
        }

        .hamburger {
            display: none;
            flex-direction: column;
            cursor: pointer;
        }

        .hamburger .bar {
            width: 25px;
            height: 3px;
            background: #333;
            margin: 3px 0;
            transition: 0.3s;
        }

        /* MAIN CONTENT STYLES */
        .section {
            padding: 5rem 0;
        }

        .intro-hero {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: black;
            min-height: 100vh;
            display: flex;
            align-items: center;
            margin-top: 80px;
        }

        .intro-hero-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 3rem;
            align-items: center;
        }

        .intro-hero h1 {
            font-size: 3.5rem;
            font-weight: 800;
            margin-bottom: 1.5rem;
            line-height: 1.1;
        }

        .intro-text p {
            font-size: 1.2rem;
            margin-bottom: 2rem;
            opacity: 0.9;
        }

        .hero-actions {
            display: flex;
            gap: 1rem;
        }

        .btn-fill {
            background: gray;
            color: white;
            padding: 0.8rem 2rem;
            border-radius: 25px;
            text-decoration: none;
            font-weight: 600;
            transition: all 0.3s ease;
            display: inline-block;
            margin-top: 1rem;
        }

        .btn-fill:hover {
            background: #0056b3;
            transform: translateY(-2px);
        }

        .visual-element {
            position: relative;
            height: 400px;
        }

        .floating-card {
            position: absolute;
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(10px);
            border: 1px solid black;
            border-radius: 15px;
            padding: 1rem 1.5rem;
            color: black;
            font-weight: 600;
            animation: float 6s ease-in-out infinite;
        }

        .card-1 {
            top: 20%;
            left: 10%;
            animation-delay: 0s;
        }

        .card-2 {
            top: 50%;
            right: 20%;
            animation-delay: 2s;
        }

        .card-3 {
            bottom: 20%;
            left: 30%;
            animation-delay: 4s;
        }

        @keyframes float {
            0%, 100% { transform: translateY(0px); }
            50% { transform: translateY(-20px); }
        }

        .dark-about {
            background: #1a1a1a;
            color: white;
        }

        .row-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 3rem;
            align-items: center;
        }

        .section-title {
            font-size: 2.5rem;
            font-weight: 700;
            line-height: 1.2;
            margin-bottom: 1rem;
        }

        .section-services {
            background: #f8f9fa;
        }

        /* Mejora el grid para que entren bien todas las cards de servicios */
.box-services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
    align-items: stretch;
}
.box-title {
    grid-column: 1 / -1;
    text-align: center;
    margin-bottom: 2rem;
}

        .section-pretitle {
            color: #007bff;
            font-weight: 600;
            margin-bottom: 0.5rem;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .service-development,
        .service-design,
        .service-consulting,
        .service-backend,
        .service-automation {
            text-align: center;
            padding: 2rem;
            background: white;
            border-radius: 15px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
            transition: transform 0.3s ease;
        }

        .service-development:hover,
        .service-design:hover,
        .service-consulting:hover {
            transform: translateY(-5px);
        }

        .box-icon {
            font-size: 3rem;
            margin-bottom: 1rem;
        }

        .box-items-title {
            font-size: 1.5rem;
            margin-bottom: 1rem;
            color: #333;
        }

        .box-items-list {
            list-style: none;
        }

        .box-items-list li {
            padding: 0.3rem 0;
            color: #666;
        }

        .section-projects {
            padding: 5rem 0;
        }

        .projects-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 2rem;
            max-width: 1000px;
            margin: 2rem auto 0;
        }

        .project-card {
            background: white;
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
            transition: transform 0.3s ease;
        }

        .project-card:hover {
            transform: translateY(-5px);
        }

        .placeholder-image {
            height: 200px;
            background: linear-gradient(135deg, gray 0%, blue 100%);
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-weight: 600;
        }

        .project-content {
            padding: 1.5rem;
        }

        .project-content h3 {
            font-size: 1.3rem;
            margin-bottom: 0.5rem;
            color: #333;
        }

        .project-tech {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
            margin: 1rem 0;
        }

        .tech-tag {
            background: #e9ecef;
            color: #495057;
            padding: 0.3rem 0.8rem;
            border-radius: 15px;
            font-size: 0.8rem;
            font-weight: 500;
        }

        .project-placeholder {
            display: flex;
            align-items: center;
            justify-content: center;
            background: linear-gradient(135deg, gray 0%, blue 100%);
            color: white;
            border-radius: 15px;
            padding: 2rem;
            text-align: center;
        }

        .placeholder-icon {
            font-size: 4rem;
            margin-bottom: 1rem;
        }

        /* FOOTER STYLES - MEJORADO */
        .site-footer {
            background: linear-gradient(135deg, #1a1a1a 0%, #2d3748 100%);
            color: white;
            padding: 4rem 0 2rem;
        }

        .footer-content {
            display: grid;
            grid-template-columns: 2fr 1fr;
            gap: 3rem;
            align-items: center;
            margin-bottom: 3rem;
        }

        .footer-left h4 {
            font-size: 2.5rem;
            font-weight: 700;
            line-height: 1.2;
            margin-bottom: 1.5rem;
            color: white;
        }

        .footer-left p {
            font-size: 1.1rem;
            color: rgba(255, 255, 255, 0.8);
            margin-bottom: 2rem;
        }

        .footer-right {
            display: flex;
            flex-direction: column;
            align-items: flex-end;
            gap: 1.5rem;
        }

        .footer-actions {
            display: flex;
            flex-direction: column;
            align-items: flex-end;
            gap: 1.5rem;
        }

        .footer-social {
            display: flex;
            gap: 1rem;
        }

        .social-link {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 50px;
            height: 50px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 50%;
            color: white;
            text-decoration: none;
            transition: all 0.3s ease;
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.2);
        }

        .social-link:hover {
            background: #007bff;
            transform: translateY(-3px);
        }

        .footer-bottom {
            border-top: 1px solid rgba(255, 255, 255, 0.2);
            padding-top: 2rem;
            text-align: center;
        }

        .footer-legals {
            color: rgba(255, 255, 255, 0.6);
            font-size: 0.9rem;
        }

        /* WHATSAPP FLOAT */
        .whatsapp-float {
            position: fixed;
            bottom: 20px;
            right: 20px;
            z-index: 1000;
        }

        .whatsapp-btn-float {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 60px;
            height: 60px;
            background: #25d366;
            border-radius: 50%;
            color: white;
            text-decoration: none;
            box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
            transition: all 0.3s ease;
            animation: pulse 2s infinite;
        }

        .whatsapp-btn-float:hover {
            transform: scale(1.1);
            box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
        }

        @keyframes pulse {
            0% {
                box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
            }
            70% {
                box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
            }
            100% {
                box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
            }
        }

        /* RESPONSIVE DESIGN */
        @media (max-width: 968px) {
            .main-menu {
                display: none;
            }

            .hamburger {
                display: flex;
            }

            .intro-hero-grid,
            .row-grid {
                grid-template-columns: 1fr;
                gap: 2rem;
            }

            .box-services {
                grid-template-columns: 1fr;
            }

            .box-title {
                grid-column: span 1;
            }

            .projects-grid {
                grid-template-columns: 1fr;
            }

            .footer-content {
                grid-template-columns: 1fr;
                text-align: center;
            }

            .footer-right {
                align-items: center;
            }

            .footer-actions {
                align-items: center;
            }

            .intro-hero h1 {
                font-size: 2.5rem;
            }

            .section-title {
                font-size: 2rem;
            }
        }
.intro-hero {
    background: #f3f6fa; /* Fondo claro, puedes cambiar por otro color */
    position: relative;
    overflow: hidden !important;
}
#particles-js {
    background: transparent; /* Asegura que el fondo lo da .intro-hero */
}
