
        :root {
            --primary-color: #2D3436;
            --secondary-color: #5e6bdd;
            --accent-color: #2528bc;
            --background-color: #e6e5e3;
            --white-color: #FFFFFF;
            --text-color: #2D3436;
            --light-gray: #F8F9FA;
            --dark-gray: #495057;
            --shadow: 0 10px 30px rgba(45, 52, 54, 0.1);
            --shadow-hover: 0 20px 60px rgba(45, 52, 54, 0.15);
            --border-radius: 12px;
            --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            --font-title: 'montserrat';
            --font-body: 'Inter', sans-serif;
        }

        [data-theme="dark"] {
            --primary-color: #acabab;
            --secondary-color: #5e91dd;
            --accent-color: #375eb3fb;
            --background-color: #2D3436;
            --white-color: #1A1D1F;
            --text-color: #e1e2e4;
            --light-gray: #343A40;
            --dark-gray: #ADB5BD;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: var(--font-body);
            line-height: 1.6;
            color: var(--text-color);
            background-color: var(--background-color);
            transition: var(--transition);
            overflow-x: hidden;
        }

        .accessibility-controls {
            position: fixed;
            top: 20px;
            right: 20px;
            z-index: 1000;
            display: flex;
            gap: 10px;
        }

        .accessibility-btn {
            width: 40px;
            height: 40px;
            border: none;
            border-radius: 50%;
            background: var(--white-color);
            color: var(--primary-color);
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: var(--shadow);
            transition: var(--transition);
            font-size: 16px;
        }

        .accessibility-btn:hover {
            transform: translateY(-2px);
            box-shadow: var(--shadow-hover);
        }

        .scroll-progress {
            position: fixed;
            top: 0;
            left: 0;
            width: 0%;
            height: 3px;
            background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
            z-index: 1001;
            transition: width 0.1s ease;
        }

        .navbar {
            position: fixed;
            top: 0;
            width: 100%;
            padding: 20px 0;
            background-color: var(--background-color);
            backdrop-filter: blur(20px);
            z-index: 999;
            transition: var(--transition);
        }

        .navbar.scrolled {
            padding: 15px 0;
            background: rgba(255, 255, 255, 0.98);
            background-color: var(--background-color);
            box-shadow: var(--shadow);
        }

        .nav-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .logo {
            width: 13rem;
        }

        .logo:hover {
            color: var(--secondary-color);
        }

        .nav-menu {
            display: flex;
            list-style: none;
            gap: 1rem;
            margin-right: 10rem;
        }

        .nav-link {
            text-decoration: none;
            color: var(--text-color);
            font-weight: 500;
            position: relative;
            transition: var(--transition);
        }

        .nav-link::after {
            content: '';
            position: absolute;
            width: 0;
            height: 2px;
            bottom: -5px;
            left: 50%;
            background: var(--secondary-color);
            transition: var(--transition);
            transform: translateX(-50%);
        }

        .nav-link:hover::after {
            width: 100%;
        }

        .nav-link:hover {
            color: var(--secondary-color);
        }

        .mobile-menu-btn {
            display: none;
            flex-direction: column;
            cursor: pointer;
            padding: 10px;
        }

        .hamburger {
            width: 25px;
            height: 3px;
            background: var(--primary-color);
            margin: 3px 0;
            transition: var(--transition);
        }

        .hero {
            width: 100vw;
            height: 120vh;
            position: relative;
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
        }

        .hero-bg {
            position: absolute;
            object-fit: cover;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-size: cover;
            background-position: center;
            background-attachment: fixed;
            filter: brightness(0.7);
            transition: transform 0.1s ease-out;
        }

        .hero-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, rgba(45, 52, 54, 0.521), rgba(37, 128, 188, 0.137));
        }

        .hero-content {
            overflow: hidden;
            position: relative;
            z-index: 2;
            text-align: center;
            color: white;
            max-width: 800px;
            padding: 0 20px;
        }

        .hero-title {
            font-family: var(--font-title);
            font-size: clamp(3rem, 8vw, 6rem);
            font-weight: 200;
            margin-bottom: 30px;
            opacity: 0;
            animation: slideUp 1s ease 0.5s forwards;
        }

        .logoHeader{
            z-index: 3;
        }

        .typewriter {  /* titulo de cabezera*/
            overflow: hidden;
            border-right: 3px solid var(--secondary-color);
            font-size: 4rem;
            animation: typing 3s steps(30) 1.5s forwards, blink 1s infinite 4.5s;
        }


        /* ............. */
        .cta-container-cero{
            height: 15vh; /* toda la altura de la pantalla */
            display: flex;
            justify-content: center; /* centra horizontalmente */
            align-items: center;     /* centra verticalmente */
            background: #272727;
            transition: 0.5s ease;  /* 👈 Transición suave */
            overflow: hidden;
            cursor: pointer;
        }

        .cta-button-cero {
            display: inline-block;
            padding: 0.8rem 4rem;
            background: rgb(255, 255, 255);
            color: rgb(34, 34, 34);
            text-decoration: none;
            border-radius: var(--border-radius);
            font-weight: 300;
            font-size: 1.5rem;
            transition: var(--transition);
            position: relative;
            overflow: hidden;
            opacity: 0;
            animation: slideUp 1s ease 1.2s forwards;
        }

        .cta-button-cero::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgb(255, 253, 253), transparent);
            transition: left 0.5s;
        }

        .cta-button-cero:hover::before {
            left: 100%;
        }
        
        .cta-button-cero:hover {
            transform: translateY(-3px);
            box-shadow: var(--shadow-hover);
            background: rgb(54, 99, 247);
            color: rgb(255, 255, 255)
        }
        
        /* ----------------- */
        
        .cta-container {
            height: 15vh; /* toda la altura de la pantalla */
            display: flex;
            justify-content: center; /* centra horizontalmente */
            align-items: center;     /* centra verticalmente */
            background: #6c60b4;
            transition: 0.5s ease;  /* 👈 Transición suave */
            cursor: pointer;
            overflow: hidden;
        }

        .cta-button {
            display: inline-block;
            padding: 0.8rem 4rem;
            background: var(--secondary-color);
            color: white;
            text-decoration: none;
            border-radius: var(--border-radius);
            font-weight: 300;
            font-size: 1.5rem;
            transition: var(--transition);
            position: relative;
            overflow: hidden;
            opacity: 0;
            animation: slideUp 1s ease 1.2s forwards;
        }

        .cta-button::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
            transition: left 0.5s;
        }

        .cta-button:hover::before {
            left: 100%;
        }
        
        .cta-button:hover {
            transform: translateY(-3px);
            box-shadow: var(--shadow-hover);
            background: var(--accent-color);
        }
        
                   /* SECCION "SOBRE NOSOTROS" STYLES */
        .section {
            padding: 100px 0;
            opacity: 0;
            transform: translateY(50px);
            transition: var(--transition);
        }

        .section-bg {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: -1;
            overflow: hidden;
        }

        .section-bg video {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .section-overlay {
            position: absolute;
            z-index: -1;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, rgba(45, 52, 54, 0.521), rgba(37, 128, 188, 0.363));
        }

        .section.visible {
            opacity: 1;
            transform: translateY(0);
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

        .section-title {
            font-family: var(--font-title);
            font-size: clamp(2.5rem, 5vw, 4rem);
            text-align: center;
            margin-bottom: 20px;
            color: var(--primary-color);
            position: relative;
        }

        .section-title::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 20rem;
            height: 3px;
            background: var(--accent-color);
        }

        .section-subtitle {
            text-align: center;
            font-size: 18px;
            color: var(--secondary-color);
            margin-bottom: 60px;
            max-width: 600px;
            margin-left: auto;
            margin-right: auto;
        }
        .about-content {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 60px;
            align-items: center;
        }

        .about-text {
            padding: 1rem;
            font-size: 18px;
            border-radius: 15px;
            line-height: 1.8;
            background: #343a4062;
            color: white;
        }

        .about-text h3 {
            font-family: var(--font-title);
            font-size: 28px;
            margin-bottom: 20px;
            color: white;
        }

        .about-stats {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 30px;
            margin-top: 40px;
        }

        .stat-item {
            text-align: center;
            padding: 30px;
            background: rgba(255, 255, 255, 0.493);
            border-radius: var(--border-radius);
            box-shadow: var(--shadow);
            transition: var(--transition);
        }

        .stat-item:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-hover);
        }

        .stat-number {
            font-family: var(--font-title);
            font-size: 48px;
            font-weight: 700;
            color: var(--secondary-color);
            display: block;
        }

        .stat-label {
            font-size: 16px;
            color: black;
            margin-top: 10px;
        }

                    /************* SECCION PROYECTOS ****************/
        .projects-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 30px;
            margin-top: 60px;
        }

        .project-card {
            position: relative;
            border-radius: var(--border-radius);
            overflow: hidden;
            cursor: pointer;
            transition: var(--transition);
            box-shadow: var(--shadow);
        }

        .project-card:hover {
            transform: translateY(-10px);
            box-shadow: var(--shadow-hover);
        }

        .project-image {
            width: 100%;
            height: 300px;
            object-fit: cover;
            transition: var(--transition);
        }

        .project-card:hover .project-image {
            transform: scale(1.1);
        }

        .project-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, rgba(45, 52, 54, 0.8), rgba(12, 90, 207, 0.521));
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            transition: var(--transition);
        }

        .project-card:hover .project-overlay {
            opacity: 1;
        }

        .project-info {
            text-align: center;
            color: white;
            padding: 20px;
        }

        .project-info h3 {
            font-family: var(--font-title);
            font-size: 24px;
            margin-bottom: 10px;
        }

        .project-info p {
            font-size: 16px;
            opacity: 0.9;
        }

        .process-timeline {
            position: relative;
            margin-top: 60px;
        }


        .timeline-line {
            position: absolute;
            left: 50%;
            top: 0;
            width: 3px;
            height: 100%;
            background: var(--secondary-color);
            transform: translateX(-50%);
        }

        .timeline-item {
            display: flex;
            margin-bottom: 60px;
            position: relative;
        }

        .timeline-item:nth-child(even) {
            flex-direction: row-reverse;
        }

        .timeline-content {
            flex: 1;
            max-width: 45%;
            padding: 30px;
            background: var(--white-color);
            border-radius: var(--border-radius);
            box-shadow: var(--shadow);
            position: relative;
            transition: var(--transition);
        }

        .timeline-content:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-hover);
        }

        .timeline-number {
            position: absolute;
            left: 50%;
            top: 30px;
            transform: translateX(-50%);
            width: 50px;
            height: 50px;
            background: var(--secondary-color);
            color: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 700;
            font-size: 18px;
            z-index: 2;
        }

        .timeline-title {
            font-family: var(--font-title);
            font-size: 24px;
            margin-bottom: 15px;
            color: var(--primary-color);
        }

        .testimonials-slider {
            position: relative;
            margin-top: 60px;
            overflow: hidden;
        }

        .testimonials-container {
            display: flex;
            transition: transform 0.5s ease;
        }

        .testimonial-card {
            min-width: 100%;
            padding: 40px;
            background: var(--white-color);
            border-radius: var(--border-radius);
            box-shadow: var(--shadow);
            text-align: center;
        }

        .testimonial-text {
            font-size: 20px;
            font-style: italic;
            margin-bottom: 30px;
            color: var(--dark-gray);
            line-height: 1.6;
        }

        .testimonial-author {
            font-weight: 600;
            color: var(--primary-color);
            margin-bottom: 5px;
        }

        .testimonial-position {
            color: var(--dark-gray);
            font-size: 14px;
        }

        .slider-controls {
            display: flex;
            justify-content: center;
            gap: 20px;
            margin-top: 30px;
        }

        .slider-btn {
            width: 50px;
            height: 50px;
            border: none;
            border-radius: 50%;
            background: var(--secondary-color);
            color: white;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: var(--transition);
            font-size: 18px;
        }

        .slider-btn:hover {
            background: var(--accent-color);
            transform: scale(1.1);
        }


            /************* BOTON FOTANTE DE WHATSAPP ****************/
        .whatsapp-button {
            position: fixed;
            bottom: 20px;
            right: 20px;
            background-color: #25D366;
            color: white;
            font-size: 28px;
            width: 55px;
            height: 55px;
            border-radius: 50%;
            text-align: center;
            line-height: 55px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
            z-index: 1000;
            transition: transform 0.3s ease;
        }

        .whatsapp-button:hover {
            transform: scale(1.1);
        }


        /************* FORMULARIO ****************/
        .contact-form {
            max-width: 600px;
            margin: 0 auto;
            background: var(--white-color);
            padding: 40px;
            border-radius: var(--border-radius);
            box-shadow: var(--shadow);
        }

        .social-buttons {
            margin: 30px 0;
            display: flex;
            gap: 20px;
            justify-content: center;
        }

        .social-btn {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 12px 25px;
            text-decoration: none;
            border-radius: 50px;
            font-weight: 600;
            font-size: 16px;
            color: #fff;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        }

        .social-btn i {
            font-size: 18px;
        }

        /* Instagram */
        .instagram-btn {
            background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
        }

        /* YouTube */
        .youtube-btn {
            background-color: #e22b2b;
        }
        /* facebook */
        .facebook-btn {
            background: #2b3de2;
        }

        /* Hover Effects */
        .social-btn:hover {
            transform: translateY(-3px) scale(1.05);
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
        }

        /* campos del formulario*/
        .form-group {
            margin-bottom: 25px;
        }

        .form-label {
            display: block;
            margin-bottom: 8px;
            font-weight: 500;
            color: var(--primary-color);
        }

        .form-input {
            width: 100%;
            padding: 15px;
            border: 2px solid #e0e0e0;
            border-radius: var(--border-radius);
            font-size: 16px;
            transition: var(--transition);
            background: var(--light-gray);
        }

        .form-input:focus {
            outline: none;
            border-color: var(--secondary-color);
            box-shadow: 0 0 0 3px rgba(221, 161, 94, 0.1);
        }

        .form-textarea {
            min-height: 120px;
            resize: vertical;
        }

        .submit-btn {
            width: 100%;
            padding: 18px;
            background: var(--secondary-color);
            color: white;
            border: none;
            border-radius: var(--border-radius);
            font-size: 18px;
            font-weight: 600;
            cursor: pointer;
            transition: var(--transition);
        }

        .submit-btn:hover {
            background: var(--accent-color);
            transform: translateY(-2px);
        }

        /************* FOOTER ****************/
        .footer {
            background:rgb(54, 53, 53);
            color:white;
            padding: 60px 0 30px;
        }

        .footer-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 40px;
            margin-bottom: 40px;
        }

        .footer-section h3 {
            font-family: var(--font-title);
            font-size: 24px;
            margin-bottom: 20px;
            color: #5e91dd;
        }

        .footer-section p,
        .footer-section a {
            color: #ccc;
            text-decoration: none;
            margin-bottom: 10px;
            transition: var(--transition);
        }

        .footer-section a:hover {
            color: var(--secondary-color);
        }

        .social-links {
            display: flex;
            gap: 15px;
        }

        .social-link {
            width: 40px;
            height: 40px;
            background: var(--secondary-color);
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            text-decoration: none;
            transition: var(--transition);
        }

        .social-link:hover {
            background: var(--accent-color);
            transform: translateY(-3px);
        }

        .footer-bottom {
            text-align: center;
            padding-top: 30px;
            border-top: 1px solid #444;
            color: #ccc;
        }

        .ai-greeting {
            position: fixed;
            bottom: 30px;
            right: 30px;
            background: var(--white-color);
            padding: 20px;
            border-radius: var(--border-radius);
            box-shadow: var(--shadow-hover);
            max-width: 300px;
            z-index: 999;
            transform: translateX(100%);
            transition: var(--transition);
            opacity: 0;
        }
        
        .ai-greeting.show {
            transform: translateX(0);
            opacity: 1;
        }
        
        .ai-greeting h4 {
            color: var(--primary-color);
            margin-bottom: 10px;
        }

        .ai-greeting p {
            color: var(--dark-gray);
            font-size: 14px;
        }

        .close-greeting {
            position: absolute;
            top: 10px;
            right: 10px;
            background: none;
            border: none;
            color: var(--dark-gray);
            cursor: pointer;
            font-size: 16px;
        }

        /* Animations */
        @keyframes slideUp {
            from {
                opacity: 0;
                transform: translateY(50px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes typing {
            from {
                width: 0;
            }
            to {
                width: 100%;
            }
        }

        @keyframes blink {
            50% {
                border-color: transparent;
            }
        }

        @keyframes float {
            0%, 100% {
                transform: translateY(0);
            }
            50% {
                transform: translateY(-10px);
            }
        }

        /* Responsive Design */
        @media (max-width: 968px) {
            .nav-menu {
                position: fixed;
                top: 80px;
                left: -100%;
                width: 100%;
                height: calc(100vh - 80px);
                background: var(--white-color);
                flex-direction: column;
                justify-content: start;
                align-items: center;
                padding-top: 50px;
                transition: var(--transition);
                box-shadow: var(--shadow);
            }

            .nav-menu.active {
                left: 0;
            }

            .mobile-menu-btn {
                display: flex;
                margin-right: 20vw;
            }

            .about-content {
                grid-template-columns: 1fr;
                gap: 40px;
            }

            .timeline-item {
                flex-direction: column !important;
                align-items: center;
            }

            .timeline-content {
                max-width: 80%;
            }

            .timeline-number {
                position: relative;                
            }

            .timeline-line {
                display: none;
            }

            .projects-grid {
                grid-template-columns: 1fr;
            }
        }

        @media (max-width: 600px) {
            .logo {
                width: 9rem;
            }
            .mobile-menu-btn {
                display: flex;
                margin-right: 50vw;
            }
            .hero-title {
                font-size: 1.5rem;
            }

            .typewriter{
                font-size: 2rem;
            }

            .hero-subtitle {
                font-size: 1.2rem;
            }

            .logoHeader{
                width: 100%;
            }

            .logoHeader img{
                max-width: 100%;
            }

            .section {
                padding: 60px 0;
            }

            .about-stats {
              grid-template-columns: 1fr;
              gap: 20px;
            }
            
            .timeline-number {
                position: relative;
            }

            .stat-item {
              padding: 20px;
            }       

            .contact-form {
                margin: 0 20px;
                padding: 30px 20px;
            }

            .ai-greeting {
                bottom: 20px;
                right: 20px;
                max-width: calc(100vw - 40px);
            }

            .container-greetingText {
                margin-right: 3rem;
            }
            
            /* Boton de whatsapp */
            .whatsapp-button {
                bottom: 3rem;
                width: 50px;
                height: 50px;
                font-size: 24px;
                line-height: 50px;
            }
            
        }
        
                                        /* High contrast mode */
        .high-contrast {
            filter: contrast(200%) saturate(0%);
        }

        /* Focus styles for accessibility */
        .nav-link:focus,
        .cta-button:focus,
        .form-input:focus,
        .submit-btn:focus,
        .accessibility-btn:focus {
            outline: 3px solid var(--secondary-color);
            outline-offset: 2px;
        }

        /* Loading animation */
        .loading {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: var(--background-color);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 9999;
            transition: opacity 0.5s ease;
        }

        .loading.hidden {
            opacity: 0;
            pointer-events: none;
        }

        .loader {
            width: 50px;
            height: 50px;
            border: 3px solid #f3f3f3;
            border-top: 3px solid var(--secondary-color);
            border-radius: 50%;
            animation: spin 1s linear infinite;
        }

        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }