        /* ---------- VARIABLES & RESET ---------- */
        :root {
            --blue: #0F2A3D;
            --blue-light: #1A3F54;
            --cyan: #00faff;
            --cyan-hover: #00e6e6;
            --offwhite: #F6F7F5;
            --charcoal: #121212;
            --accent: #C89B7B;
            --gray: #5C6B73;
            --gray-light: #D1D9DD;
            --shadow-sm: 0 15px 30px -10px rgba(15,42,61,0.08);
            --shadow-lg: 0 30px 60px -15px rgba(15,42,61,0.15);
            --ease: cubic-bezier(0.76, 0, 0.24, 1);
            --radius-md: 20px;
            --radius-lg: 32px;
            --header-height: 80px;
            --header-height-mobile: 70px;
        }

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

        html {
            scroll-behavior: smooth;
            overflow-x: hidden;
        }

        body {
            font-family: 'Inter', sans-serif;
            background-color: var(--offwhite);
            color: var(--charcoal);
            line-height: 1.5;
            overflow-x: hidden;
            width: 100%;
        }

        /* ---------- TIPOGRAFÍA (TODOS LOS TÍTULOS CENTRADOS) ---------- */
        .section-title {
            font-size: clamp(2rem, 6vw, 3.4rem);
            font-weight: 700;
            letter-spacing: -0.02em;
            line-height: 1.2;
            color: var(--blue);
            text-align: center;
            margin-bottom: 1.2rem;
        }
        .section-title span {
            color: var(--cyan);
            position: relative;
            display: inline-block;
        }
        .section-title span::after {
            content: '';
            position: absolute;
            bottom: 6px;
            left: 0;
            width: 100%;
            height: 10px;
            background: rgba(0,250,255,0.2);
            z-index: -1;
            border-radius: 10px;
        }
        .section-subhead {
            font-size: 1.2rem;
            color: var(--gray);
            max-width: 720px;
            margin-left: auto;
            margin-right: auto;
            margin-bottom: 3rem;
            font-weight: 400;
            text-align: center;
            padding: 0 16px;
        }
        .section-dark .section-title {
            color: white;
        }
        .section-dark .section-subhead {
            color: rgba(255,255,255,0.85);
        }

        /* ---------- LAYOUT ---------- */
        .container {
            max-width: 1280px;
            margin: 0 auto;
            padding: 0 24px;
            width: 100%;
        }
        .section {
            padding: 100px 0;
            position: relative;
            width: 100%;
        }
        .section-dark {
            background-color: var(--blue);
            color: white;
        }

        /* ---------- HEADER FIJO + MENÚ HAMBURGUESA (MODERNO) ---------- */
        .header {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            padding: 0 40px;
            height: var(--header-height);
            background: rgba(15,42,61,0.92);
            backdrop-filter: blur(16px);
            -webkit-backdrop-filter: blur(16px);
            z-index: 1000;
            display: flex;
            justify-content: space-between;
            align-items: center;
            border-bottom: 1px solid rgba(0,250,255,0.15);
            transition: all 0.3s var(--ease);
        }
        .header-scrolled {
            background: rgba(15,42,61,0.98);
            box-shadow: 0 10px 30px -10px rgba(0,0,0,0.25);
            height: 70px;
        }
        .logo {
            display: inline-flex;
            align-items: center;
            text-decoration: none;
            z-index: 1101;
            width: clamp(180px, 24vw, 300px);
            max-width: 38vw;
            flex-shrink: 0;
        }
        .logo-image {
            display: block;
            width: 100%;
            height: auto;
            object-fit: contain;
        }

        /* ----- MENÚ ESCRITORIO (oculto en móvil) ----- */
        .nav-links {
            display: flex;
            gap: 48px;
        }
        .nav-links a {
            color: white;
            text-decoration: none;
            font-weight: 500;
            font-size: 16px;
            transition: color 0.2s ease;
            position: relative;
        }
        .nav-links a:hover {
            color: var(--cyan);
        }
        .nav-links a::after {
            content: '';
            position: absolute;
            bottom: -6px;
            left: 0;
            width: 0;
            height: 2.5px;
            background: var(--cyan);
            transition: width 0.25s var(--ease);
            border-radius: 2px;
        }
        .nav-links a:hover::after {
            width: 100%;
        }
        .header-cta {
            background: var(--cyan);
            color: var(--blue);
            padding: 12px 30px;
            border-radius: 50px;
            font-weight: 700;
            font-size: 15px;
            text-decoration: none;
            transition: all 0.25s var(--ease);
            display: inline-flex;
            align-items: center;
            gap: 8px;
            box-shadow: 0 6px 18px rgba(0,250,255,0.25);
            z-index: 1101;
        }
        .header-cta i {
            font-size: 14px;
        }
        .header-cta:hover {
            background: white;
            color: var(--blue);
            transform: translateY(-3px);
            box-shadow: 0 12px 24px rgba(0,250,255,0.4);
        }

        /* ----- MENÚ HAMBURGUESA (SOLO MÓVIL/TABLET) ----- */
        .hamburger {
            display: none;
            flex-direction: column;
            justify-content: space-between;
            width: 32px;
            height: 22px;
            background: transparent;
            border: none;
            cursor: pointer;
            z-index: 1101;
            padding: 0;
            position: relative;
        }
        .hamburger span {
            width: 100%;
            height: 2.5px;
            background: white;
            border-radius: 4px;
            transition: all 0.3s var(--ease);
            transform-origin: left;
        }
        .hamburger.active span:first-child {
            transform: rotate(45deg) translate(3px, -3px);
            width: 110%;
        }
        .hamburger.active span:nth-child(2) {
            opacity: 0;
            transform: translateX(-10px);
        }
        .hamburger.active span:last-child {
            transform: rotate(-45deg) translate(3px, 3px);
            width: 110%;
        }

        /* Overlay del menú móvil - animación impactante (morph) */
        .mobile-menu-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100vh;
            background: var(--blue);
            z-index: 1050;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            gap: 32px;
            clip-path: circle(0% at 95% 5%);
            transition: clip-path 0.6s var(--ease);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            pointer-events: none;
        }
        .mobile-menu-overlay.active {
            clip-path: circle(150% at 95% 5%);
            pointer-events: all;
        }
        .mobile-menu-overlay a {
            color: white;
            font-size: 2rem;
            font-weight: 700;
            text-decoration: none;
            letter-spacing: -0.02em;
            transition: color 0.2s, transform 0.2s;
            transform: translateY(20px);
            opacity: 0;
            animation: slideIn 0.5s forwards;
        }
        .mobile-menu-overlay a:nth-child(1) { animation-delay: 0.1s; }
        .mobile-menu-overlay a:nth-child(2) { animation-delay: 0.15s; }
        .mobile-menu-overlay a:nth-child(3) { animation-delay: 0.2s; }
        .mobile-menu-overlay a:nth-child(4) { animation-delay: 0.25s; }
        .mobile-menu-overlay a:nth-child(5) { animation-delay: 0.3s; }
        .mobile-menu-overlay a:nth-child(6) { animation-delay: 0.35s; }
        .mobile-menu-overlay a:nth-child(7) { animation-delay: 0.4s; }
        .mobile-menu-overlay a:hover {
            color: var(--cyan);
            transform: scale(1.05);
        }
        /* Botón de cierre explícito en el overlay */
        .mobile-menu-close {
            position: absolute;
            top: 30px;
            right: 30px;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            background: rgba(0,250,255,0.15);
            border: 1px solid var(--cyan);
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 28px;
            cursor: pointer;
            transition: all 0.2s;
        }
        .mobile-menu-close:hover {
            background: var(--cyan);
            color: var(--blue);
            transform: rotate(90deg);
        }
        @keyframes slideIn {
            to { opacity: 1; transform: translateY(0); }
        }

        /* ----- HERO ----- */
        .hero {
            min-height: 100vh;
            background: linear-gradient(145deg, var(--blue) 0%, #0A1E2C 100%);
            color: white;
            padding: calc(var(--header-height) + 40px) 0 60px;
            display: flex;
            align-items: center;
            position: relative;
            overflow: hidden;
        }
        .hero-bg-shape {
            position: absolute;
            width: 100%;
            height: 100%;
            top: 0;
            left: 0;
            background-image: url('https://images.unsplash.com/photo-1557804506-669a67965ba0?q=80&w=1974&auto=format&fit=crop');
            background-size: cover;
            background-position: center 40%;
            opacity: 0.06;
            mix-blend-mode: overlay;
            pointer-events: none;
        }
        .hero-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 60px;
            align-items: center;
            position: relative;
            z-index: 5;
        }
        .hero-content {
            max-width: 680px;
        }
        .hero-eyebrow {
            color: var(--cyan);
            font-size: 14px;
            font-weight: 700;
            letter-spacing: 3px;
            text-transform: uppercase;
            margin-bottom: 24px;
            display: inline-block;
            background: rgba(0,250,255,0.1);
            padding: 8px 18px;
            border-radius: 100px;
            backdrop-filter: blur(4px);
        }
        .hero-title {
            font-size: clamp(2.5rem, 6vw, 4.4rem);
            font-weight: 800;
            line-height: 1.1;
            margin-bottom: 28px;
        }
        .hero-title span {
            color: var(--cyan);
        }
        .hero-description {
            font-size: 1.2rem;
            opacity: 0.9;
            margin-bottom: 40px;
            max-width: 560px;
        }
        .hero-stats {
            display: flex;
            gap: 48px;
            margin-top: 48px;
            flex-wrap: wrap;
        }
        .stat-item h3 {
            font-size: 2.6rem;
            color: var(--cyan);
            margin-bottom: 4px;
            font-weight: 700;
        }
        .stat-item p {
            font-size: 0.85rem;
            text-transform: uppercase;
            letter-spacing: 1.5px;
            opacity: 0.75;
        }
        .hero-image {
            border-radius: 30px;
            overflow: hidden;
            box-shadow: 0 30px 50px -15px rgba(0,0,0,0.5);
            border: 1px solid rgba(0,250,255,0.3);
            transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
            transition: transform 0.5s var(--ease);
        }
        .hero-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }

        /* ---------- FILOSOFÍA OPEN MIND ---------- */
        .filosofia-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 60px;
            align-items: center;
            margin-top: 40px;
        }
        .filosofia-text {
            background: white;
            padding: 48px;
            border-radius: var(--radius-lg);
            box-shadow: var(--shadow-lg);
            border: 1px solid var(--gray-light);
        }
        .filosofia-text h3 {
            font-size: 2rem;
            color: var(--blue);
            margin-bottom: 24px;
            font-weight: 700;
            line-height: 1.2;
        }
        .filosofia-text h3 span {
            color: var(--cyan);
        }
        .filosofia-parrafo {
            color: var(--charcoal);
            margin-bottom: 24px;
            font-size: 1.05rem;
            line-height: 1.7;
        }
        .filosofia-highlight {
            background: rgba(0,250,255,0.05);
            padding: 24px;
            border-left: 6px solid var(--cyan);
            border-radius: 16px;
            font-weight: 600;
            color: var(--blue);
            margin-top: 24px;
        }
        .filosofia-image {
            border-radius: 32px;
            overflow: hidden;
            box-shadow: var(--shadow-lg);
            height: 100%;
            min-height: 400px;
            position: relative;
        }
        .filosofia-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        /* ---------- CARDS ---------- */
        .cards-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 32px;
            margin-top: 40px;
        }
        .card {
            background: white;
            border-radius: 28px;
            padding: 40px 32px;
            box-shadow: var(--shadow-sm);
            border: 1px solid rgba(255,255,255,0.5);
            transition: all 0.3s var(--ease);
            display: flex;
            flex-direction: column;
            height: 100%;
        }
        .card-icon {
            width: 70px;
            height: 70px;
            background: linear-gradient(145deg, rgba(0,250,255,0.12), rgba(0,250,255,0.03));
            border-radius: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 28px;
            color: var(--cyan);
            font-size: 34px;
        }
        .card-title {
            font-size: 1.7rem;
            font-weight: 700;
            margin-bottom: 16px;
            color: var(--blue);
        }
        .card-description {
            color: var(--gray);
            line-height: 1.6;
        }

        /* ---------- PROCESO ---------- */
        .process-steps {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 20px;
            margin: 60px 0 40px;
        }
        .process-step {
            background: rgba(255,255,255,0.05);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(0,250,255,0.15);
            border-radius: 30px;
            padding: 36px 24px;
            flex: 1 1 170px;
            text-align: center;
        }
        .step-number {
            width: 64px;
            height: 64px;
            background: var(--cyan);
            color: var(--blue);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.8rem;
            font-weight: 800;
            margin: 0 auto 24px;
        }
        .process-step i {
            font-size: 32px;
            color: var(--cyan);
            margin-bottom: 16px;
        }
        .process-step h3 {
            font-size: 1.45rem;
            margin-bottom: 12px;
            color: white;
        }

        /* ---------- CASOS DE ESTUDIO ---------- */
        .case-studies {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 40px;
            margin-top: 50px;
        }
        .case-card {
            border-radius: 32px;
            overflow: hidden;
            background: white;
            box-shadow: var(--shadow-sm);
            transition: 0.3s;
        }
        .case-image {
            height: 240px;
            overflow: hidden;
        }
        .case-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.6s;
        }
        .case-card:hover .case-image img {
            transform: scale(1.1);
        }
        .case-content {
            padding: 32px;
        }

        /* ---------- TESTIMONIOS (CORREGIDO) ---------- */
        .testimonials-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
            margin-top: 60px;
        }
        .testimonial-card {
            background: white;
            border-radius: 28px;
            padding: 36px 32px;
            box-shadow: var(--shadow-sm);
            border: 1px solid rgba(228,230,227,0.5);
            transition: all 0.25s;
            display: flex;
            flex-direction: column;
            height: 100%;
        }
        .testimonial-card:hover {
            box-shadow: var(--shadow-lg);
        }
        .testimonial-text {
            font-size: 1.08rem;
            line-height: 1.7;
            color: var(--charcoal);
            margin-bottom: 28px;
            position: relative;
            padding-left: 30px;
            flex: 1;
        }
        .testimonial-text i {
            color: var(--cyan);
            font-size: 2rem;
            position: absolute;
            left: -10px;
            top: -10px;
            opacity: 0.25;
        }
        .testimonial-author {
            display: flex;
            align-items: center;
            gap: 18px;
            margin-top: auto;
        }
        .author-avatar {
            width: 58px;
            height: 58px;
            border-radius: 50%;
            object-fit: cover;
            border: 3px solid var(--cyan);
        }
        .author-info h4 {
            color: var(--blue);
            font-size: 1.2rem;
            margin-bottom: 4px;
        }
        .author-info p {
            color: var(--gray);
            font-size: 0.9rem;
        }

        /* ---------- FAQ ---------- */
        .faq-grid {
            max-width: 900px;
            margin: 50px auto 0;
        }
        .faq-item {
            background: rgba(255,255,255,0.05);
            backdrop-filter: blur(8px);
            border: 1px solid rgba(255,255,255,0.1);
            border-radius: 24px;
            margin-bottom: 16px;
            overflow: hidden;
        }
        .faq-question {
            padding: 24px 32px;
            font-weight: 600;
            font-size: 1.15rem;
            color: white;
            cursor: pointer;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        .faq-answer {
            padding: 0 32px;
            max-height: 0;
            overflow: hidden;
            transition: all 0.35s var(--ease);
            color: rgba(255,255,255,0.8);
        }
        .faq-answer.open {
            padding: 0 32px 28px;
            max-height: 300px;
        }

        /* ---------- CONTACTO SPLIT (ESTILOS CORREGIDOS) ---------- */
        .contact-split {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 40px;
            background: white;
            border-radius: 48px;
            box-shadow: var(--shadow-lg);
            overflow: hidden;
            margin-top: 60px;
        }
        .contact-image {
            background: linear-gradient(145deg, var(--blue), #0A1E2C);
            position: relative;
            min-height: 400px;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .contact-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            opacity: 0.5;
            mix-blend-mode: luminosity;
            position: absolute;
        }
        .contact-image-content {
            position: relative;
            z-index: 2;
            color: white;
            text-align: center;
            padding: 20px;
        }
        .contact-image-content i {
            font-size: 48px;
            color: var(--cyan);
            margin-bottom: 16px;
        }
        .contact-image-content h3 {
            font-size: 2rem;
            margin-bottom: 8px;
        }
        .contact-form-box {
            padding: 50px 48px;
            background: white;
        }
        .form-group {
            margin-bottom: 24px;
        }
        .form-group label {
            font-weight: 600;
            color: var(--blue);
            margin-bottom: 8px;
            display: block;
            font-size: 0.95rem;
        }
        .form-control {
            width: 100%;
            padding: 16px 20px;
            border: 1.5px solid #E8ECEF;
            border-radius: 60px;
            font-size: 15px;
            transition: 0.2s;
            background: #F9FBFD;
            font-family: 'Inter', sans-serif;
        }
        .form-control:focus {
            border-color: var(--cyan);
            box-shadow: 0 0 0 4px rgba(0,250,255,0.1);
            outline: none;
            background: white;
        }
        textarea.form-control {
            border-radius: 30px;
            resize: vertical;
        }
        .btn {
            background: var(--cyan);
            color: var(--blue);
            padding: 18px 42px;
            border-radius: 60px;
            font-weight: 700;
            border: none;
            font-size: 1rem;
            cursor: pointer;
            transition: 0.2s var(--ease);
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 12px;
            width: 100%;
        }
        .btn i {
            font-size: 1.1rem;
        }
        .btn:hover {
            background: var(--cyan-hover);
            transform: translateY(-3px);
            box-shadow: 0 16px 30px rgba(0,250,255,0.35);
        }

        /* ---------- FOOTER (RESPONSIVE CORREGIDO) ---------- */
        .footer {
            background: var(--blue);
            color: white;
            padding: 80px 24px 40px;
        }
        .footer-container {
            max-width: 1280px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: 2fr repeat(3, 1fr);
            gap: 60px;
        }
        .footer-logo {
            font-size: 2.2rem;
            font-weight: 800;
            color: var(--cyan);
            margin-bottom: 20px;
        }
        .footer-links h3 {
            color: white;
            margin-bottom: 24px;
            font-size: 1.2rem;
            font-weight: 600;
        }
        .footer-links a {
            color: rgba(255,255,255,0.7);
            text-decoration: none;
            display: block;
            margin-bottom: 14px;
            transition: 0.2s;
        }
        .footer-links a i {
            margin-right: 8px;
            color: var(--cyan);
            width: 18px;
        }
        .footer-links a:hover {
            color: var(--cyan);
            transform: translateX(5px);
        }
        .social-icons {
            display: flex;
            gap: 20px;
            margin-top: 25px;
        }
        .social-icons a {
            color: white;
            background: rgba(0,250,255,0.1);
            width: 44px;
            height: 44px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            border: 1px solid rgba(0,250,255,0.3);
            transition: 0.2s;
        }
        .social-icons a:hover {
            background: var(--cyan);
            color: var(--blue);
            border-color: var(--cyan);
        }

        /* ---------- RESPONSIVE MÓVIL Y TABLET (DISEÑO APP) ---------- */
        @media screen and (max-width: 1100px) {
            .hero-grid { grid-template-columns: 1fr; text-align: center; }
            .hero-content { margin: 0 auto; }
            .hero-description { margin-left: auto; margin-right: auto; }
            .hero-stats { justify-content: center; }
            .hero-image { max-width: 600px; margin: 40px auto 0; transform: none; }
            .filosofia-grid { grid-template-columns: 1fr; }
            .filosofia-image { min-height: 350px; order: -1; }
            .contact-split { grid-template-columns: 1fr; }
            .contact-image { min-height: 300px; }
        }

        @media screen and (max-width: 900px) {
            .nav-links, .desktop-cta { display: none; }
            .hamburger { display: flex; }
            .header { padding: 0 24px; height: var(--header-height-mobile); }
            .logo { width: clamp(140px, 34vw, 220px); }
            .header-cta.header-cta-mob {
                display: inline-flex;
                padding: 10px 20px;
                font-size: 14px;
                margin-right: 12px;
            }
            .case-studies { grid-template-columns: 1fr; }
            .process-steps { flex-direction: column; }
            .process-step { width: 100%; }
        }

        @media screen and (max-width: 600px) {
            .logo { width: clamp(120px, 42vw, 180px); }
            .section { padding: 70px 0; }
            .container { padding: 0 20px; }
            .hero { padding-top: 100px; }
            .hero-title { font-size: 2.2rem; }
            .hero-description { font-size: 1rem; }
            .hero-stats { gap: 28px; justify-content: space-around; }
            .stat-item h3 { font-size: 2rem; }
            .section-title { font-size: 1.9rem; }
            .card { padding: 32px 24px; }
            .card-title { font-size: 1.5rem; }
            .filosofia-text { padding: 32px 24px; }
            .filosofia-text h3 { font-size: 1.8rem; }
            .contact-form-box { padding: 32px 24px; }
            /* Footer en una columna */
            .footer-container { 
                grid-template-columns: 1fr !important; 
                gap: 40px !important;
                text-align: center;
            }
            .footer-links a { justify-content: center; }
            .social-icons { justify-content: center; }
        }

        @media screen and (max-width: 380px) {
            .logo { width: clamp(110px, 46vw, 160px); }
            .hero-stats { flex-direction: column; align-items: center; gap: 20px; }
            .hero-title { font-size: 1.9rem; }
        }

        /* ---------- ANIMACIONES (TIEMPO REDUCIDO) ---------- */
        .reveal {
            opacity: 0;
            transform: translateY(30px);
            transition: all 0.5s var(--ease); /* Antes 0.9s, ahora 0.5s */
        }
        .reveal.active {
            opacity: 1;
            transform: translateY(0);
        }

/* ---------- COOKIE BANNER ---------- */
.cookie-banner {
    position: fixed;
    left: 20px;
    right: 20px;
    bottom: 20px;
    background: rgba(15,42,61,0.97);
    color: #fff;
    padding: 20px;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    z-index: 2000;
    display: none;
    gap: 16px;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.cookie-banner.is-visible {
    display: flex;
}

.cookie-banner p {
    margin: 0;
    max-width: 760px;
}

.cookie-banner-actions {
    display: flex;
    gap: 12px;
}

.cookie-btn-secondary {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.5);
    color: #fff;
}