        /* ========================================
           LOADING SCREEN
           ======================================== */

        /* Fix: Asegurar scroll por defecto */
        html, body {
            scroll-behavior: smooth;
        }

        /* Páginas de servicio (sin loading screen) */
        .service-hero ~ * {
            /* Selector que existe solo en páginas de servicio */
        }

        body.scroll-enabled {
            overflow-y: auto !important;
        }

        .loading-screen {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: #0a0a0f;
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 10000;
            transition: opacity 0.6s ease, visibility 0.6s ease;
        }

        .loading-screen.hidden {
            opacity: 0;
            visibility: hidden;
        }

        .loader-content {
            text-align: center;
        }

        .loader-logo {
            font-family: 'Sora', sans-serif;
            font-size: clamp(2.5rem, 6vw, 4rem);
            font-weight: 700;
            letter-spacing: -2px;
            margin-bottom: 32px;
            animation: logoFloat 2s ease-in-out infinite;
        }

        .loader-text {
            color: #ffffff;
        }

        .loader-text-accent {
            background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #06b6d4 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

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

        .loader-bar {
            width: 200px;
            height: 4px;
            background: rgba(255,255,255,0.1);
            border-radius: 10px;
            margin: 0 auto 20px;
            overflow: hidden;
        }

        .loader-progress {
            height: 100%;
            width: 0%;
            background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #06b6d4 100%);
            border-radius: 10px;
            animation: loadProgress 2s ease-out forwards;
        }

        @keyframes loadProgress {
            0% { width: 0%; }
            20% { width: 20%; }
            50% { width: 60%; }
            80% { width: 80%; }
            100% { width: 100%; }
        }

        .loader-tagline {
            font-size: 0.9rem;
            color: #6a6a7a;
            opacity: 0;
            animation: fadeInTagline 0.5s ease forwards 0.3s;
        }

        @keyframes fadeInTagline {
            from {
                opacity: 0;
                transform: translateY(10px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* ========================================
           TYPEWRITER EFFECT
           ======================================== */

        .typewriter-wrapper {
            display: inline-flex;
            align-items: center;
            min-height: 1.2em;
        }

        .typewriter-text {
            display: inline-block;
            min-width: 1px;
        }

        .typewriter-cursor {
            display: inline-block;
            color: #6366f1;
            font-weight: 400;
            margin-left: 4px;
            animation: cursorBlink 1s infinite;
        }

        @keyframes cursorBlink {
            0%, 50% { opacity: 1; }
            51%, 100% { opacity: 0; }
        }

        /* ========================================
           ROOT & VARIABLES
           ======================================== */

        :root {
            --color-bg-primary: #0a0a0f;
            --color-bg-secondary: #12121a;
            --color-bg-tertiary: #1a1a25;
            --color-text-primary: #ffffff;
            --color-text-secondary: #a0a0b0;
            --color-text-muted: #6a6a7a;
            --color-accent-1: #63f1de;
            --color-accent-2: #5ca4f6;
            --color-accent-3: #06b6d4;
            --color-accent-4: #10b981;
            --gradient-primary: linear-gradient(135deg, var(--color-accent-1) 0%, var(--color-accent-2) 50%, var(--color-accent-3) 100%);
            --gradient-subtle: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 50%, rgba(6, 182, 212, 0.05) 100%);
            --gradient-glass: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.02) 100%);
            --shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
            --shadow-md: 0 8px 32px rgba(0,0,0,0.4);
            --shadow-lg: 0 16px 64px rgba(0,0,0,0.5);
            --shadow-glow: 0 0 60px rgba(99, 102, 241, 0.15);
            --border-glass: 1px solid rgba(255,255,255,0.08);
            --radius-sm: 8px;
            --radius-md: 16px;
            --radius-lg: 24px;
            --radius-xl: 32px;
            --font-display: 'Sora', sans-serif;
            --font-body: 'DM Sans', sans-serif;
            --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
            --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
        }

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

        html {
            scroll-behavior: smooth;
            font-size: 16px;
        }

        body {
            font-family: var(--font-body);
            background-color: var(--color-bg-primary);
            color: var(--color-text-primary);
            line-height: 1.6;
            overflow-x: hidden;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
        }

        /* Background Effects */
        .bg-grid {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-image: 
                linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
                linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
            background-size: 60px 60px;
            pointer-events: none;
            z-index: 0;
        }

        .bg-gradient-orb {
            position: fixed;
            border-radius: 50%;
            filter: blur(100px);
            pointer-events: none;
            z-index: 0;
        }

        .orb-1 {
            width: 600px;
            height: 600px;
            background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, transparent 70%);
            top: -200px;
            right: -200px;
            animation: float 20s ease-in-out infinite;
        }

        .orb-2 {
            width: 500px;
            height: 500px;
            background: radial-gradient(circle, rgba(139, 92, 246, 0.12) 0%, transparent 70%);
            bottom: -150px;
            left: -150px;
            animation: float 25s ease-in-out infinite reverse;
        }

        .orb-3 {
            width: 400px;
            height: 400px;
            background: radial-gradient(circle, rgba(6, 182, 212, 0.1) 0%, transparent 70%);
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            animation: pulse 15s ease-in-out infinite;
        }

        @keyframes float {
            0%, 100% { transform: translate(0, 0) scale(1); }
            33% { transform: translate(30px, -30px) scale(1.05); }
            66% { transform: translate(-20px, 20px) scale(0.95); }
        }

        @keyframes pulse {
            0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
            50% { opacity: 0.8; transform: translate(-50%, -50%) scale(1.1); }
        }

        /* Container */
        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 24px;
            position: relative;
            z-index: 1;
        }

        /* Navigation */
        .nav {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 1000;
            padding: 20px 0;
            transition: var(--transition-smooth);
        }

        .nav.scrolled {
            background: rgba(10, 10, 15, 0.8);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            border-bottom: var(--border-glass);
            padding: 16px 0;
        }

        .nav-content {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .logo {
            font-family: var(--font-display);
            font-size: 1.5rem;
            font-weight: 700;
            background: var(--gradient-primary);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            letter-spacing: -0.5px;
        }

        .logo span {
            font-weight: 400;
            opacity: 0.7;
        }

        .nav-links {
            display: flex;
            gap: 32px;
            list-style: none;
        }

        .nav-links a {
            color: var(--color-text-secondary);
            text-decoration: none;
            font-size: 0.95rem;
            font-weight: 500;
            transition: var(--transition-fast);
            position: relative;
        }

        .nav-links a::after {
            content: '';
            position: absolute;
            bottom: -4px;
            left: 0;
            width: 0;
            height: 2px;
            background: var(--gradient-primary);
            transition: var(--transition-fast);
        }

        .nav-links a:hover {
            color: var(--color-text-primary);
        }

        .nav-links a:hover::after {
            width: 100%;
        }

        .nav-cta {
            background: var(--gradient-glass);
            border: var(--border-glass);
            color: var(--color-text-primary);
            padding: 10px 24px;
            border-radius: var(--radius-sm);
            font-family: var(--font-display);
            font-size: 0.9rem;
            font-weight: 500;
            cursor: pointer;
            transition: var(--transition-fast);
            text-decoration: none;
        }

        .nav-cta:hover {
            background: rgba(255,255,255,0.15);
            transform: translateY(-2px);
        }

        .mobile-menu-btn {
            display: none;
            background: none;
            border: none;
            cursor: pointer;
            padding: 8px;
        }

        .mobile-menu-btn span {
            display: block;
            width: 24px;
            height: 2px;
            background: var(--color-text-primary);
            margin: 6px 0;
            transition: var(--transition-fast);
        }

        /* Hero Section */
        .hero {
            min-height: 100vh;
            display: flex;
            align-items: center;
            padding: 120px 0 80px;
            position: relative;
        }

        .hero-content {
            text-align: center;
            max-width: 900px;
            margin: 0 auto;
        }

        .hero-badge {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background: var(--gradient-glass);
            border: var(--border-glass);
            padding: 8px 16px;
            border-radius: 50px;
            font-size: 0.85rem;
            color: var(--color-text-secondary);
            margin-bottom: 32px;
            animation: fadeInUp 0.8s ease-out;
        }

        .hero-badge::before {
            content: '';
            width: 8px;
            height: 8px;
            background: var(--color-accent-4);
            border-radius: 50%;
            animation: blink 2s ease-in-out infinite;
        }

        @keyframes blink {
            0%, 100% { opacity: 1; }
            50% { opacity: 0.3; }
        }

        .hero-title {
            font-family: var(--font-display);
            font-size: clamp(2.5rem, 6vw, 4.5rem);
            font-weight: 700;
            line-height: 1.1;
            margin-bottom: 24px;
            letter-spacing: -2px;
            animation: fadeInUp 0.8s ease-out 0.1s both;
        }

        .hero-title .gradient-text {
            background: var(--gradient-primary);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .hero-subtitle {
            font-size: clamp(1.1rem, 2vw, 1.35rem);
            color: var(--color-text-secondary);
            max-width: 600px;
            margin: 0 auto 48px;
            line-height: 1.7;
            animation: fadeInUp 0.8s ease-out 0.2s both;
        }

        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* Path Selector */
        .path-selector {
            display: flex;
            gap: 20px;
            justify-content: center;
            flex-wrap: wrap;
            animation: fadeInUp 0.8s ease-out 0.3s both;
        }

        .path-card {
            background: var(--gradient-glass);
            border: var(--border-glass);
            border-radius: var(--radius-lg);
            padding: 24px;
            min-width: 320px;
            max-width: 360px;
            cursor: pointer;
            transition: var(--transition-smooth);
            position: relative;
            overflow: hidden;
            text-decoration: none;
            color: inherit;
            display: flex;
            align-items: center;
            gap: 16px;
            text-align: left;
        }

        .path-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: var(--gradient-primary);
            opacity: 0;
            transition: var(--transition-smooth);
            z-index: 0;
        }

        .path-card:hover {
            transform: translateY(-8px) scale(1.02);
            box-shadow: var(--shadow-glow);
            border-color: rgba(99, 102, 241, 0.3);
        }

        .path-card:hover::before {
            opacity: 0.1;
        }

        .path-card-content {
            position: relative;
            z-index: 1;
        }

        .path-icon {
            width: 52px;
            height: 52px;
            background: var(--gradient-subtle);
            border-radius: var(--radius-md);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.4rem;
            border: var(--border-glass);
            flex-shrink: 0;
            position: relative;
            z-index: 1;
        }

        .path-text {
            flex: 1;
            position: relative;
            z-index: 1;
        }

        .path-card h3 {
            font-family: var(--font-display);
            font-size: 1.15rem;
            font-weight: 600;
            margin-bottom: 4px;
        }

        .path-card p {
            color: var(--color-text-secondary);
            font-size: 0.9rem;
            line-height: 1.4;
            margin: 0;
        }

        .path-arrow {
            width: 28px;
            height: 28px;
            background: rgba(255,255,255,0.05);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: var(--transition-smooth);
            flex-shrink: 0;
            position: relative;
            z-index: 1;
        }

        .path-card:hover .path-arrow {
            background: var(--color-accent-1);
            transform: translateX(4px);
        }

        /* Services Section */
        .services {
            padding: 120px 0;
            position: relative;
        }

        .section-header {
            text-align: center;
            margin-bottom: 64px;
        }

        .section-label {
            display: inline-block;
            font-family: var(--font-display);
            font-size: 0.85rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 2px;
            color: var(--color-accent-1);
            margin-bottom: 16px;
        }

        .section-title {
            font-family: var(--font-display);
            font-size: clamp(2rem, 4vw, 3rem);
            font-weight: 700;
            letter-spacing: -1px;
            margin-bottom: 16px;
        }

        .section-subtitle {
            color: var(--color-text-secondary);
            font-size: 1.1rem;
            max-width: 600px;
            margin: 0 auto;
        }

        /* Tab Navigation */
        .tabs {
            display: flex;
            justify-content: center;
            gap: 8px;
            margin-bottom: 48px;
            background: var(--color-bg-secondary);
            padding: 6px;
            border-radius: var(--radius-md);
            width: fit-content;
            margin-left: auto;
            margin-right: auto;
            border: var(--border-glass);
        }

        .tab-btn {
            background: none;
            border: none;
            padding: 12px 28px;
            font-family: var(--font-display);
            font-size: 0.95rem;
            font-weight: 500;
            color: var(--color-text-secondary);
            cursor: pointer;
            border-radius: var(--radius-sm);
            transition: var(--transition-fast);
        }

        .tab-btn.active {
            background: var(--gradient-primary);
            color: var(--color-text-primary);
            box-shadow: var(--shadow-sm);
        }

        .tab-btn:hover:not(.active) {
            color: var(--color-text-primary);
            background: rgba(255,255,255,0.05);
        }

        /* Tab Content */
        .tab-content {
            display: none;
            animation: fadeIn 0.5s ease-out;
        }

        .tab-content.active {
            display: block;
        }

        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(20px); }
            to { opacity: 1; transform: translateY(0); }
        }

        /* Services Grid */
        .services-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 24px;
        }

        .service-card {
            background: var(--color-bg-secondary);
            border: var(--border-glass);
            border-radius: var(--radius-lg);
            padding: 32px;
            transition: var(--transition-smooth);
            position: relative;
            overflow: hidden;
        }

        .service-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 3px;
            background: var(--gradient-primary);
            transform: scaleX(0);
            transform-origin: left;
            transition: var(--transition-smooth);
        }

        .service-card:hover {
            transform: translateY(-4px);
            border-color: rgba(99, 102, 241, 0.2);
            box-shadow: var(--shadow-md);
        }

        .service-card:hover::before {
            transform: scaleX(1);
        }

        .service-card {
            text-decoration: none;
            color: inherit;
            display: block;
            cursor: pointer;
        }

        .card-arrow {
            position: absolute;
            bottom: 20px;
            right: 20px;
            width: 32px;
            height: 32px;
            background: rgba(255,255,255,0.05);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1rem;
            color: var(--color-text-secondary);
            transition: var(--transition-smooth);
        }

        .service-card:hover .card-arrow {
            background: var(--color-accent-1);
            color: white;
            transform: translateX(4px);
        }

        .service-icon {
            width: 48px;
            height: 48px;
            background: var(--gradient-subtle);
            border-radius: var(--radius-sm);
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 20px;
            font-size: 1.25rem;
        }

        .service-card h4 {
            font-family: var(--font-display);
            font-size: 1.15rem;
            font-weight: 600;
            margin-bottom: 12px;
        }

        .service-card p {
            color: var(--color-text-secondary);
            font-size: 0.95rem;
            line-height: 1.6;
        }

        /* Process Section */
        .process {
            padding: 120px 0;
            background: var(--color-bg-secondary);
            position: relative;
        }

        .process::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 1px;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
        }

        .process-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 32px;
            position: relative;
        }

        .process-line {
            position: absolute;
            top: 40px;
            left: 10%;
            right: 10%;
            height: 2px;
            background: linear-gradient(90deg, var(--color-accent-1), var(--color-accent-2), var(--color-accent-3), var(--color-accent-4));
            z-index: 0;
        }

        .process-step {
            text-align: center;
            position: relative;
            z-index: 1;
        }

        .process-number {
            width: 80px;
            height: 80px;
            background: var(--color-bg-primary);
            border: 2px solid var(--color-accent-1);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 24px;
            font-family: var(--font-display);
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--color-accent-1);
            transition: var(--transition-smooth);
        }

        .process-step:hover .process-number {
            background: var(--gradient-primary);
            border-color: transparent;
            color: white;
            transform: scale(1.1);
        }

        .process-step h4 {
            font-family: var(--font-display);
            font-size: 1.1rem;
            font-weight: 600;
            margin-bottom: 8px;
        }

        .process-step p {
            color: var(--color-text-secondary);
            font-size: 0.9rem;
        }

        /* Tech Stack Section */
        .tech-stack {
            padding: 120px 0;
        }

        .tech-grid {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 16px;
        }

        .tech-item {
            background: var(--color-bg-secondary);
            border: var(--border-glass);
            border-radius: var(--radius-md);
            padding: 16px 28px;
            display: flex;
            align-items: center;
            gap: 12px;
            transition: var(--transition-fast);
        }

        .tech-item:hover {
            border-color: rgba(99, 102, 241, 0.3);
            transform: translateY(-2px);
        }

        .tech-item img {
            width: 24px;
            height: 24px;
        }

        .tech-item span {
            font-family: var(--font-display);
            font-weight: 500;
            font-size: 0.95rem;
        }

        /* CTA Section */
        .cta {
            padding: 120px 0;
            position: relative;
        }

        .cta-box {
            background: var(--gradient-subtle);
            border: var(--border-glass);
            border-radius: var(--radius-xl);
            padding: 80px 48px;
            text-align: center;
            position: relative;
            overflow: hidden;
        }

        .cta-box::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 50%);
            animation: rotate 30s linear infinite;
        }

        @keyframes rotate {
            from { transform: rotate(0deg); }
            to { transform: rotate(360deg); }
        }

        .cta-content {
            position: relative;
            z-index: 1;
        }

        .cta h2 {
            font-family: var(--font-display);
            font-size: clamp(2rem, 4vw, 2.75rem);
            font-weight: 700;
            margin-bottom: 16px;
            letter-spacing: -1px;
        }

        .cta p {
            color: var(--color-text-secondary);
            font-size: 1.15rem;
            margin-bottom: 32px;
            max-width: 500px;
            margin-left: auto;
            margin-right: auto;
        }

        .btn-primary {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background: var(--gradient-primary);
            color: white;
            padding: 16px 36px;
            border-radius: var(--radius-sm);
            font-family: var(--font-display);
            font-size: 1rem;
            font-weight: 600;
            text-decoration: none;
            transition: var(--transition-smooth);
            box-shadow: 0 4px 24px rgba(99, 102, 241, 0.3);
        }

        .btn-primary:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 32px rgba(99, 102, 241, 0.4);
        }

        /* Footer */
        .footer {
            padding: 64px 0 32px;
            border-top: var(--border-glass);
        }

        .footer-content {
            display: grid;
            grid-template-columns: 2fr 1fr 1fr 1fr;
            gap: 48px;
            margin-bottom: 48px;
        }

        .footer-brand p {
            color: var(--color-text-secondary);
            margin-top: 16px;
            font-size: 0.95rem;
            line-height: 1.7;
        }

        .footer-column h5 {
            font-family: var(--font-display);
            font-size: 0.9rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 1px;
            margin-bottom: 20px;
            color: var(--color-text-primary);
        }

        .footer-column ul {
            list-style: none;
        }

        .footer-column li {
            margin-bottom: 12px;
        }

        .footer-column a {
            color: var(--color-text-secondary);
            text-decoration: none;
            font-size: 0.95rem;
            transition: var(--transition-fast);
        }

        .footer-column a:hover {
            color: var(--color-accent-1);
        }

        .footer-bottom {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding-top: 32px;
            border-top: var(--border-glass);
        }

        .footer-bottom p {
            color: var(--color-text-muted);
            font-size: 0.9rem;
        }

        .social-links {
            display: flex;
            gap: 16px;
        }

        .social-links a {
            width: 40px;
            height: 40px;
            background: var(--color-bg-secondary);
            border: var(--border-glass);
            border-radius: var(--radius-sm);
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--color-text-secondary);
            text-decoration: none;
            transition: var(--transition-fast);
        }

        .social-links a:hover {
            background: var(--color-accent-1);
            color: white;
            transform: translateY(-2px);
        }

        /* Scroll animations */
        .reveal {
            opacity: 0;
            transform: translateY(40px);
            transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .reveal.visible {
            opacity: 1;
            transform: translateY(0);
        }

        /* Fallback para usuarios que prefieren menos movimiento */
        @media (prefers-reduced-motion: reduce) {
            .reveal {
                opacity: 1;
                transform: none;
                transition: none;
            }
        }

        /* Responsive */
        @media (max-width: 1024px) {
            .process-grid {
                grid-template-columns: repeat(2, 1fr);
            }

            .process-line {
                display: none;
            }

            .footer-content {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        @media (max-width: 768px) {
            .nav-links, .nav-cta {
                display: none;
            }

            .mobile-menu-btn {
                display: block;
            }

            .hero {
                padding: 100px 0 60px;
            }

            .path-selector {
                flex-direction: column;
                align-items: center;
            }

            .path-card {
                width: 100%;
                max-width: 340px;
            }

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

            .process-grid {
                grid-template-columns: 1fr;
                gap: 40px;
            }

            .footer-content {
                grid-template-columns: 1fr;
                gap: 32px;
            }

            .footer-bottom {
                flex-direction: column;
                gap: 16px;
                text-align: center;
            }

            .tabs {
                flex-direction: column;
                width: 100%;
            }

            .tab-btn {
                width: 100%;
            }

            .cta-box {
                padding: 48px 24px;
            }
        }

        /* Mobile Menu */
        .mobile-menu {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(10, 10, 15, 0.98);
            backdrop-filter: blur(20px);
            z-index: 999;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 32px;
            opacity: 0;
            visibility: hidden;
            transition: var(--transition-smooth);
        }

        .mobile-menu.active {
            opacity: 1;
            visibility: visible;
        }

        .mobile-menu a {
            font-family: var(--font-display);
            font-size: 1.5rem;
            color: var(--color-text-primary);
            text-decoration: none;
        }

        .mobile-menu-close {
            position: absolute;
            top: 24px;
            right: 24px;
            background: none;
            border: none;
            color: white;
            font-size: 2rem;
            cursor: pointer;
        }
        /* ========================================
           SERVICE DETAIL PAGES
           ======================================== */

        .service-hero {
            padding: 160px 0 80px;
            text-align: center;
            position: relative;
        }

        .back-link {
            display: inline-block;
            color: var(--color-text-secondary);
            text-decoration: none;
            font-size: 0.95rem;
            margin-bottom: 40px;
            transition: var(--transition-fast);
        }

        .back-link:hover {
            color: var(--color-accent-1);
        }

        .service-hero-content {
            max-width: 700px;
            margin: 0 auto;
        }

        .service-icon-large {
            width: 100px;
            height: 100px;
            background: var(--gradient-subtle);
            border: var(--border-glass);
            border-radius: var(--radius-lg);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 3rem;
            margin: 0 auto 32px;
        }

        .service-hero h1 {
            font-family: var(--font-display);
            font-size: clamp(2.5rem, 5vw, 4rem);
            font-weight: 700;
            letter-spacing: -2px;
            margin-bottom: 20px;
            background: var(--gradient-primary);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .service-hero-subtitle {
            font-size: 1.25rem;
            color: var(--color-text-secondary);
            line-height: 1.7;
        }

        /* Service Details Section */
        .service-details {
            padding: 80px 0;
        }

        .details-grid {
            display: grid;
            grid-template-columns: 1fr 380px;
            gap: 60px;
            align-items: start;
        }

        .details-main h2 {
            font-family: var(--font-display);
            font-size: 2rem;
            font-weight: 700;
            margin-bottom: 20px;
            letter-spacing: -1px;
        }

        .details-main h3 {
            font-family: var(--font-display);
            font-size: 1.5rem;
            font-weight: 600;
            margin: 48px 0 20px;
            letter-spacing: -0.5px;
        }

        .details-main p {
            color: var(--color-text-secondary);
            font-size: 1.1rem;
            line-height: 1.8;
            margin-bottom: 20px;
        }

        .feature-list {
            list-style: none;
            padding: 0;
        }

        .feature-list li {
            position: relative;
            padding-left: 28px;
            margin-bottom: 12px;
            color: var(--color-text-secondary);
            font-size: 1.05rem;
        }

        .feature-list li::before {
            content: '→';
            position: absolute;
            left: 0;
            color: var(--color-accent-1);
        }

        /* Process Steps */
        .process-steps {
            margin-top: 32px;
        }

        .step {
            display: flex;
            gap: 20px;
            margin-bottom: 24px;
            padding: 24px;
            background: var(--color-bg-secondary);
            border: var(--border-glass);
            border-radius: var(--radius-md);
            transition: var(--transition-fast);
        }

        .step:hover {
            border-color: rgba(99, 102, 241, 0.3);
            transform: translateX(8px);
        }

        .step-number {
            width: 40px;
            height: 40px;
            background: var(--gradient-primary);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-family: var(--font-display);
            font-weight: 700;
            font-size: 1rem;
            flex-shrink: 0;
        }

        .step-content h4 {
            font-family: var(--font-display);
            font-size: 1.1rem;
            font-weight: 600;
            margin-bottom: 4px;
        }

        .step-content p {
            color: var(--color-text-secondary);
            font-size: 0.95rem;
            margin: 0;
            line-height: 1.6;
        }

        /* Sidebar */
        .details-sidebar {
            position: sticky;
            top: 120px;
        }

        .sidebar-card {
            background: var(--color-bg-secondary);
            border: var(--border-glass);
            border-radius: var(--radius-lg);
            padding: 28px;
            margin-bottom: 24px;
        }

        .sidebar-card.highlight {
            background: var(--gradient-subtle);
        }

        .sidebar-card h4 {
            font-family: var(--font-display);
            font-size: 1.1rem;
            font-weight: 600;
            margin-bottom: 16px;
            color: var(--color-text-primary);
        }

        .check-list {
            list-style: none;
            padding: 0;
            margin: 0;
        }

        .check-list li {
            position: relative;
            padding-left: 28px;
            margin-bottom: 10px;
            color: var(--color-text-secondary);
            font-size: 0.95rem;
        }

        .check-list li::before {
            content: '✓';
            position: absolute;
            left: 0;
            color: var(--color-accent-4);
            font-weight: bold;
        }

        .tech-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
        }

        .tech-tags span {
            background: rgba(255,255,255,0.1);
            padding: 6px 14px;
            border-radius: 50px;
            font-size: 0.85rem;
            color: var(--color-text-secondary);
        }

        .time-estimate {
            font-family: var(--font-display);
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--color-accent-1);
            margin-bottom: 4px !important;
        }

        .time-note {
            font-size: 0.9rem !important;
            color: var(--color-text-muted) !important;
            margin: 0 !important;
        }

        /* Benefits Section */
        .benefits {
            padding: 80px 0;
            background: var(--color-bg-secondary);
        }

        .benefits .section-title {
            text-align: center;
            font-family: var(--font-display);
            font-size: 2rem;
            font-weight: 700;
            margin-bottom: 48px;
            letter-spacing: -1px;
        }

        .benefits-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 24px;
        }

        .benefit-card {
            background: var(--color-bg-primary);
            border: var(--border-glass);
            border-radius: var(--radius-lg);
            padding: 32px;
            text-align: center;
            transition: var(--transition-smooth);
        }

        .benefit-card:hover {
            transform: translateY(-4px);
            border-color: rgba(99, 102, 241, 0.3);
        }

        .benefit-icon {
            font-size: 2.5rem;
            margin-bottom: 16px;
        }

        .benefit-card h4 {
            font-family: var(--font-display);
            font-size: 1.15rem;
            font-weight: 600;
            margin-bottom: 12px;
        }

        .benefit-card p {
            color: var(--color-text-secondary);
            font-size: 0.95rem;
            line-height: 1.6;
        }

        /* Responsive Service Pages */
        @media (max-width: 1024px) {
            .details-grid {
                grid-template-columns: 1fr;
            }

            .details-sidebar {
                position: static;
                display: grid;
                grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
                gap: 24px;
            }

            .sidebar-card {
                margin-bottom: 0;
            }
        }

        @media (max-width: 768px) {
            .service-hero {
                padding: 120px 0 60px;
            }

            .service-icon-large {
                width: 80px;
                height: 80px;
                font-size: 2.5rem;
            }

            .step {
                flex-direction: column;
                gap: 12px;
            }

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

        /* ========================================
           CHATBOT
           ======================================== */

        .chatbot-container {
            position: fixed;
            bottom: 24px;
            right: 24px;
            z-index: 9999;
            font-family: var(--font-body);
        }

        /* Toggle Button */
        .chatbot-toggle {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            background: var(--gradient-primary);
            border: none;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4);
            transition: all 0.3s ease;
            position: relative;
        }

        .chatbot-toggle:hover {
            transform: scale(1.1);
            box-shadow: 0 6px 30px rgba(99, 102, 241, 0.5);
        }

        .chatbot-toggle svg {
            color: white;
            transition: all 0.3s ease;
        }

        .chatbot-toggle .close-icon {
            position: absolute;
            opacity: 0;
            transform: rotate(-90deg) scale(0.5);
        }

        .chatbot-toggle.active .chat-icon {
            opacity: 0;
            transform: rotate(90deg) scale(0.5);
        }

        .chatbot-toggle.active .close-icon {
            opacity: 1;
            transform: rotate(0) scale(1);
        }

        .chatbot-badge {
            position: absolute;
            top: -4px;
            right: -4px;
            width: 22px;
            height: 22px;
            background: #ef4444;
            color: white;
            font-size: 0.75rem;
            font-weight: 600;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            animation: badgePulse 2s infinite;
        }

        .chatbot-toggle.active .chatbot-badge {
            display: none;
        }

        @keyframes badgePulse {
            0%, 100% { transform: scale(1); }
            50% { transform: scale(1.1); }
        }

        /* Chat Window */
        .chatbot-window {
            position: absolute;
            bottom: 80px;
            right: 0;
            width: 380px;
            max-width: calc(100vw - 48px);
            height: 520px;
            max-height: calc(100vh - 150px);
            background: var(--color-bg-secondary);
            border-radius: 20px;
            box-shadow: 0 10px 50px rgba(0,0,0,0.5);
            border: var(--border-glass);
            display: flex;
            flex-direction: column;
            overflow: hidden;
            opacity: 0;
            visibility: hidden;
            transform: translateY(20px) scale(0.95);
            transition: all 0.3s ease;
        }

        .chatbot-window.active {
            opacity: 1;
            visibility: visible;
            transform: translateY(0) scale(1);
        }

        /* Header */
        .chatbot-header {
            padding: 16px 20px;
            background: var(--gradient-subtle);
            border-bottom: var(--border-glass);
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .chatbot-header-info {
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .chatbot-avatar {
            width: 40px;
            height: 40px;
            background: var(--gradient-primary);
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-family: var(--font-display);
            font-weight: 700;
            font-size: 0.9rem;
            color: white;
        }

        .chatbot-header-text h4 {
            font-family: var(--font-display);
            font-size: 1rem;
            font-weight: 600;
            margin-bottom: 2px;
        }

        .chatbot-status {
            font-size: 0.8rem;
            color: var(--color-text-secondary);
        }

        .chatbot-minimize {
            width: 32px;
            height: 32px;
            background: rgba(255,255,255,0.1);
            border: none;
            border-radius: 8px;
            color: var(--color-text-secondary);
            font-size: 1.2rem;
            cursor: pointer;
            transition: all 0.2s ease;
        }

        .chatbot-minimize:hover {
            background: rgba(255,255,255,0.15);
            color: white;
        }

        /* Messages */
        .chatbot-messages {
            flex: 1;
            overflow-y: auto;
            padding: 20px;
            display: flex;
            flex-direction: column;
            gap: 16px;
        }

        .chatbot-messages::-webkit-scrollbar {
            width: 6px;
        }

        .chatbot-messages::-webkit-scrollbar-track {
            background: transparent;
        }

        .chatbot-messages::-webkit-scrollbar-thumb {
            background: rgba(255,255,255,0.1);
            border-radius: 3px;
        }

        .chat-message {
            max-width: 85%;
            animation: messageSlide 0.3s ease;
        }

        @keyframes messageSlide {
            from {
                opacity: 0;
                transform: translateY(10px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .chat-message.bot {
            align-self: flex-start;
        }

        .chat-message.user {
            align-self: flex-end;
        }

        .chat-message .message-content {
            padding: 12px 16px;
            border-radius: 16px;
            font-size: 0.95rem;
            line-height: 1.5;
        }

        .chat-message.bot .message-content {
            background: var(--color-bg-tertiary);
            border-bottom-left-radius: 4px;
            color: var(--color-text-primary);
        }

        .chat-message.user .message-content {
            background: var(--gradient-primary);
            border-bottom-right-radius: 4px;
            color: white;
        }

        .message-time {
            font-size: 0.7rem;
            color: var(--color-text-muted);
            margin-top: 4px;
            display: block;
        }

        .chat-message.user .message-time {
            text-align: right;
        }

        /* Typing indicator */
        .typing-indicator {
            display: flex;
            gap: 4px;
            padding: 12px 16px;
            background: var(--color-bg-tertiary);
            border-radius: 16px;
            border-bottom-left-radius: 4px;
            width: fit-content;
        }

        .typing-indicator span {
            width: 8px;
            height: 8px;
            background: var(--color-text-muted);
            border-radius: 50%;
            animation: typingBounce 1.4s infinite;
        }

        .typing-indicator span:nth-child(2) {
            animation-delay: 0.2s;
        }

        .typing-indicator span:nth-child(3) {
            animation-delay: 0.4s;
        }

        @keyframes typingBounce {
            0%, 60%, 100% { transform: translateY(0); }
            30% { transform: translateY(-6px); }
        }

        /* Suggestions */
        .chatbot-suggestions {
            padding: 12px 20px;
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            border-top: var(--border-glass);
            background: rgba(0,0,0,0.2);
        }

        .suggestion-btn {
            padding: 8px 14px;
            background: rgba(255,255,255,0.05);
            border: 1px solid rgba(255,255,255,0.1);
            border-radius: 20px;
            color: var(--color-text-secondary);
            font-size: 0.85rem;
            cursor: pointer;
            transition: all 0.2s ease;
        }

        .suggestion-btn:hover {
            background: rgba(99, 102, 241, 0.2);
            border-color: var(--color-accent-1);
            color: white;
        }

        /* Input */
        .chatbot-input-form {
            padding: 16px 20px;
            background: var(--color-bg-primary);
            display: flex;
            gap: 12px;
            align-items: center;
        }

        .chatbot-input {
            flex: 1;
            padding: 12px 16px;
            background: var(--color-bg-tertiary);
            border: var(--border-glass);
            border-radius: 12px;
            color: var(--color-text-primary);
            font-size: 0.95rem;
            outline: none;
            transition: all 0.2s ease;
        }

        .chatbot-input:focus {
            border-color: var(--color-accent-1);
            box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
        }

        .chatbot-input::placeholder {
            color: var(--color-text-muted);
        }

        .chatbot-send {
            width: 44px;
            height: 44px;
            background: var(--gradient-primary);
            border: none;
            border-radius: 12px;
            color: white;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.2s ease;
        }

        .chatbot-send:hover {
            transform: scale(1.05);
            box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
        }

        .chatbot-send:active {
            transform: scale(0.95);
        }

        /* Quick links in messages */
        .message-links {
            margin-top: 12px;
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
        }

        .message-link {
            display: inline-flex;
            align-items: center;
            gap: 4px;
            padding: 6px 12px;
            background: rgba(99, 102, 241, 0.15);
            border-radius: 8px;
            color: var(--color-accent-1);
            font-size: 0.85rem;
            text-decoration: none;
            transition: all 0.2s ease;
        }

        .message-link:hover {
            background: rgba(99, 102, 241, 0.25);
        }

        /* Mobile adjustments */
        @media (max-width: 480px) {
            .chatbot-container {
                bottom: 16px;
                right: 16px;
            }

            .chatbot-window {
                width: calc(100vw - 32px);
                height: calc(100vh - 120px);
                bottom: 70px;
                right: -8px;
                border-radius: 16px;
            }

            .chatbot-toggle {
                width: 54px;
                height: 54px;
            }
        }

        /* ========================================
           CHATBOT V2 - ESTILOS MEJORADOS
           ======================================== */

        /* Tabla de precios en mensajes */
        .chat-message .price-table {
            background: rgba(99, 102, 241, 0.1);
            border: 1px solid rgba(99, 102, 241, 0.2);
            border-radius: 8px;
            padding: 12px;
            margin: 12px 0;
            font-family: 'Courier New', monospace;
            font-size: 0.85rem;
        }

        .chat-message .table-sep {
            color: var(--color-text-muted);
            margin: 0 4px;
        }

        .chat-message .step-emoji {
            font-size: 1.1em;
        }

        /* Links mejorados */
        .message-links {
            margin-top: 16px;
            padding-top: 12px;
            border-top: 1px solid rgba(255,255,255,0.1);
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
        }

        .message-link {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            padding: 8px 14px;
            background: linear-gradient(135deg, rgba(99, 102, 241, 0.2) 0%, rgba(139, 92, 246, 0.2) 100%);
            border: 1px solid rgba(99, 102, 241, 0.3);
            border-radius: 20px;
            color: #a5b4fc;
            font-size: 0.85rem;
            font-weight: 500;
            text-decoration: none;
            transition: all 0.2s ease;
        }

        .message-link:hover {
            background: linear-gradient(135deg, rgba(99, 102, 241, 0.3) 0%, rgba(139, 92, 246, 0.3) 100%);
            border-color: var(--color-accent-1);
            color: white;
            transform: translateY(-1px);
        }

        /* Mensajes con mejor formato */
        .chat-message.bot .message-content {
            background: linear-gradient(135deg, rgba(30, 30, 45, 0.9) 0%, rgba(25, 25, 40, 0.9) 100%);
            border: 1px solid rgba(255,255,255,0.08);
        }

        .chat-message.bot .message-content strong {
            color: #a5b4fc;
            font-weight: 600;
        }

        /* Sugerencias mejoradas */
        .chatbot-suggestions {
            padding: 14px 20px;
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            border-top: 1px solid rgba(255,255,255,0.08);
            background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.1) 100%);
        }

        .suggestion-btn {
            padding: 10px 16px;
            background: rgba(255,255,255,0.03);
            border: 1px solid rgba(255,255,255,0.1);
            border-radius: 22px;
            color: var(--color-text-secondary);
            font-size: 0.85rem;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.25s ease;
            white-space: nowrap;
        }

        .suggestion-btn:hover {
            background: linear-gradient(135deg, rgba(99, 102, 241, 0.15) 0%, rgba(139, 92, 246, 0.15) 100%);
            border-color: rgba(99, 102, 241, 0.5);
            color: white;
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(99, 102, 241, 0.2);
        }

        .suggestion-btn:active {
            transform: translateY(0);
        }

        /* Header mejorado */
        .chatbot-header {
            padding: 18px 20px;
            background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.05) 100%);
            border-bottom: 1px solid rgba(255,255,255,0.08);
        }

        .chatbot-avatar {
            width: 44px;
            height: 44px;
            background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #06b6d4 100%);
            border-radius: 14px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-family: var(--font-display);
            font-weight: 700;
            font-size: 0.95rem;
            color: white;
            box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
        }

        .chatbot-header-text h4 {
            font-family: var(--font-display);
            font-size: 1.05rem;
            font-weight: 600;
            background: linear-gradient(135deg, #fff 0%, #a5b4fc 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .chatbot-status {
            font-size: 0.8rem;
            color: #4ade80;
            display: flex;
            align-items: center;
            gap: 4px;
        }

        .chatbot-status::before {
            content: '';
            width: 8px;
            height: 8px;
            background: #4ade80;
            border-radius: 50%;
            animation: statusPulse 2s infinite;
        }

        @keyframes statusPulse {
            0%, 100% { opacity: 1; }
            50% { opacity: 0.5; }
        }

        /* Input mejorado */
        .chatbot-input-form {
            padding: 18px 20px;
            background: linear-gradient(180deg, rgba(10, 10, 15, 0.9) 0%, rgba(10, 10, 15, 1) 100%);
            border-top: 1px solid rgba(255,255,255,0.05);
        }

        .chatbot-input {
            flex: 1;
            padding: 14px 18px;
            background: rgba(255,255,255,0.05);
            border: 1px solid rgba(255,255,255,0.1);
            border-radius: 14px;
            color: var(--color-text-primary);
            font-size: 0.95rem;
            outline: none;
            transition: all 0.25s ease;
        }

        .chatbot-input:focus {
            border-color: rgba(99, 102, 241, 0.5);
            background: rgba(99, 102, 241, 0.05);
            box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
        }

        .chatbot-send {
            width: 48px;
            height: 48px;
            background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
            border: none;
            border-radius: 14px;
            color: white;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.25s ease;
            box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
        }

        .chatbot-send:hover {
            transform: scale(1.05);
            box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
        }

        .chatbot-send:active {
            transform: scale(0.95);
        }

        /* Toggle button mejorado */
        .chatbot-toggle {
            width: 64px;
            height: 64px;
            border-radius: 50%;
            background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #06b6d4 100%);
            border: none;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 
                0 4px 20px rgba(99, 102, 241, 0.4),
                0 0 40px rgba(99, 102, 241, 0.2);
            transition: all 0.3s ease;
            position: relative;
            animation: floatButton 3s ease-in-out infinite;
        }

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

        .chatbot-toggle:hover {
            transform: scale(1.1) translateY(-5px);
            box-shadow: 
                0 8px 30px rgba(99, 102, 241, 0.5),
                0 0 60px rgba(99, 102, 241, 0.3);
            animation: none;
        }

        .chatbot-toggle.active {
            animation: none;
        }

        .chatbot-badge {
            position: absolute;
            top: -2px;
            right: -2px;
            width: 24px;
            height: 24px;
            background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
            color: white;
            font-size: 0.75rem;
            font-weight: 700;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            border: 2px solid var(--color-bg-primary);
            animation: badgeBounce 2s infinite;
        }

        @keyframes badgeBounce {
            0%, 100% { transform: scale(1); }
            50% { transform: scale(1.15); }
        }

        /* Window mejorada */
        .chatbot-window {
            position: absolute;
            bottom: 80px;
            right: 0;
            width: 400px;
            max-width: calc(100vw - 32px);
            height: 580px;
            max-height: calc(100vh - 140px);
            background: linear-gradient(180deg, #12121a 0%, #0a0a0f 100%);
            border-radius: 24px;
            box-shadow: 
                0 20px 60px rgba(0,0,0,0.5),
                0 0 100px rgba(99, 102, 241, 0.1);
            border: 1px solid rgba(255,255,255,0.1);
            display: flex;
            flex-direction: column;
            overflow: hidden;
            opacity: 0;
            visibility: hidden;
            transform: translateY(20px) scale(0.95);
            transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .chatbot-window.active {
            opacity: 1;
            visibility: visible;
            transform: translateY(0) scale(1);
        }

        /* Typing indicator mejorado */
        .typing-indicator {
            display: flex;
            gap: 5px;
            padding: 14px 18px;
            background: linear-gradient(135deg, rgba(30, 30, 45, 0.9) 0%, rgba(25, 25, 40, 0.9) 100%);
            border: 1px solid rgba(255,255,255,0.08);
            border-radius: 18px;
            border-bottom-left-radius: 4px;
            width: fit-content;
        }

        .typing-indicator span {
            width: 8px;
            height: 8px;
            background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
            border-radius: 50%;
            animation: typingPulse 1.4s infinite;
        }

        .typing-indicator span:nth-child(2) { animation-delay: 0.2s; }
        .typing-indicator span:nth-child(3) { animation-delay: 0.4s; }

        @keyframes typingPulse {
            0%, 60%, 100% { 
                transform: translateY(0) scale(1);
                opacity: 0.5;
            }
            30% { 
                transform: translateY(-8px) scale(1.1);
                opacity: 1;
            }
        }

        /* Messages container */
        .chatbot-messages {
            flex: 1;
            overflow-y: auto;
            padding: 20px;
            display: flex;
            flex-direction: column;
            gap: 14px;
            scroll-behavior: smooth;
        }

        .chatbot-messages::-webkit-scrollbar {
            width: 6px;
        }

        .chatbot-messages::-webkit-scrollbar-track {
            background: transparent;
        }

        .chatbot-messages::-webkit-scrollbar-thumb {
            background: rgba(99, 102, 241, 0.3);
            border-radius: 3px;
        }

        .chatbot-messages::-webkit-scrollbar-thumb:hover {
            background: rgba(99, 102, 241, 0.5);
        }

        /* Message animations */
        .chat-message {
            max-width: 88%;
            animation: messageAppear 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        }

        @keyframes messageAppear {
            from {
                opacity: 0;
                transform: translateY(15px) scale(0.95);
            }
            to {
                opacity: 1;
                transform: translateY(0) scale(1);
            }
        }

        .chat-message .message-content {
            padding: 14px 18px;
            border-radius: 18px;
            font-size: 0.95rem;
            line-height: 1.6;
        }

        .chat-message.user .message-content {
            background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
            border-bottom-right-radius: 4px;
            box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
        }

        .chat-message.bot .message-content {
            border-bottom-left-radius: 4px;
        }

        .message-time {
            font-size: 0.7rem;
            color: var(--color-text-muted);
            margin-top: 6px;
            display: block;
            opacity: 0.7;
        }

        /* Mobile responsive */
        @media (max-width: 480px) {
            .chatbot-container {
                bottom: 16px;
                right: 16px;
            }

            .chatbot-window {
                width: calc(100vw - 32px);
                height: calc(100vh - 100px);
                bottom: 75px;
                right: -8px;
                border-radius: 20px;
            }

            .chatbot-toggle {
                width: 58px;
                height: 58px;
            }

            .suggestion-btn {
                padding: 8px 12px;
                font-size: 0.8rem;
            }

            .chat-message {
                max-width: 92%;
            }
        }

        /* ========================================
           CHATBOT - BOTÓN WHATSAPP
           ======================================== */

        .message-whatsapp {
            margin-top: 16px;
            padding-top: 16px;
            border-top: 1px solid rgba(255,255,255,0.1);
        }

        .whatsapp-btn {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            padding: 14px 24px;
            background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
            border: none;
            border-radius: 14px;
            color: white;
            font-size: 0.95rem;
            font-weight: 600;
            text-decoration: none;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
        }

        .whatsapp-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 25px rgba(37, 211, 102, 0.4);
            background: linear-gradient(135deg, #2be574 0%, #25D366 100%);
        }

        .whatsapp-btn:active {
            transform: translateY(0);
        }

        .whatsapp-btn svg {
            flex-shrink: 0;
        }

        /* Sugerencia de WhatsApp */
        .suggestion-whatsapp {
            background: linear-gradient(135deg, rgba(37, 211, 102, 0.15) 0%, rgba(18, 140, 126, 0.15) 100%) !important;
            border-color: rgba(37, 211, 102, 0.4) !important;
            color: #25D366 !important;
            text-decoration: none;
        }

        .suggestion-whatsapp:hover {
            background: linear-gradient(135deg, rgba(37, 211, 102, 0.25) 0%, rgba(18, 140, 126, 0.25) 100%) !important;
            border-color: #25D366 !important;
            color: #2be574 !important;
        }

        /* Animación de entrada para el botón */
        .message-whatsapp {
            animation: whatsappSlide 0.4s ease 0.2s both;
        }

        @keyframes whatsappSlide {
            from {
                opacity: 0;
                transform: translateY(10px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* ========================================
           CHAT CARD EN HERO
           ======================================== */

        .chat-card {
            position: relative;
            border: 2px solid transparent;
            background: 
                linear-gradient(var(--color-bg-secondary), var(--color-bg-secondary)) padding-box,
                linear-gradient(135deg, #6366f1, #8b5cf6, #06b6d4) border-box;
            animation: chatCardGlow 3s ease-in-out infinite;
        }

        @keyframes chatCardGlow {
            0%, 100% { 
                box-shadow: 0 0 20px rgba(99, 102, 241, 0.2);
            }
            50% { 
                box-shadow: 0 0 30px rgba(99, 102, 241, 0.4), 0 0 40px rgba(139, 92, 246, 0.2);
            }
        }

        .chat-card:hover {
            animation: none;
            box-shadow: 0 15px 40px rgba(99, 102, 241, 0.3);
        }

        .chat-card-badge {
            position: absolute;
            top: 12px;
            right: 12px;
            padding: 4px 10px;
            background: linear-gradient(135deg, #10b981 0%, #059669 100%);
            color: white;
            font-size: 0.7rem;
            font-weight: 600;
            border-radius: 20px;
            display: flex;
            align-items: center;
            gap: 5px;
            box-shadow: 0 2px 10px rgba(16, 185, 129, 0.4);
            z-index: 2;
        }

        .chat-card-badge::before {
            content: '';
            width: 6px;
            height: 6px;
            background: #fff;
            border-radius: 50%;
            animation: badgeDot 1.5s ease-in-out infinite;
        }

        @keyframes badgeDot {
            0%, 100% { opacity: 1; }
            50% { opacity: 0.5; }
        }

        /* Botón flotante oculto inicialmente */
        .chatbot-toggle {
            opacity: 0;
            visibility: hidden;
            transform: translateY(20px) scale(0.8);
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .chatbot-toggle.visible {
            opacity: 1;
            visibility: visible;
            transform: translateY(0) scale(1);
        }

        .chatbot-toggle.visible:hover {
            transform: scale(1.1);
        }

        /* Animación cuando se abre desde la card */
        .chatbot-window.from-card {
            animation: windowFromCard 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        }

        @keyframes windowFromCard {
            from {
                opacity: 0;
                transform: translateY(100px) scale(0.8);
            }
            to {
                opacity: 1;
                transform: translateY(0) scale(1);
            }
        }

        /* ========================================
           HERO MOBILE - REDISEÑO COMPLETO
           ======================================== */

        @media (max-width: 900px) {
            .path-selector {
                flex-direction: column;
                align-items: stretch;
                max-width: 420px;
                margin: 0 auto;
                width: 100%;
            }

            .path-card {
                width: 100%;
                max-width: none;
            }
        }

        @media (max-width: 768px) {
            /* Hero full height CENTRADO */
            .hero {
                min-height: 100vh;
                min-height: 100dvh;
                padding: 80px 0 40px;
                display: flex;
                align-items: center;
                justify-content: center;
            }

            .hero > .container {
                width: 100%;
                padding: 0 24px;
            }

            .hero-content {
                display: flex;
                flex-direction: column;
                align-items: center;
                text-align: center;
            }

            /* Badge elegante */
            .hero-badge {
                padding: 8px 16px;
                font-size: 0.72rem;
                margin-bottom: 24px;
                letter-spacing: 0.5px;
                background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(139, 92, 246, 0.1));
                border: 1px solid rgba(99, 102, 241, 0.3);
            }

            /* Título impactante */
            .hero-title {
                font-size: clamp(1.9rem, 8vw, 2.5rem);
                line-height: 1.15;
                margin-bottom: 16px;
            }

            .typewriter-wrapper {
                display: block;
                margin-top: 4px;
            }

            /* Subtítulo */
            .hero-subtitle {
                font-size: clamp(0.88rem, 3.5vw, 1rem);
                line-height: 1.6;
                margin-bottom: 32px;
                opacity: 0.8;
                max-width: 360px;
            }

            /* === CARDS CENTRADAS === */
            .path-selector {
                gap: 12px;
                padding: 0;
                width: 100%;
                max-width: 380px;
            }

            .path-card {
                padding: 16px 18px;
                gap: 14px;
                border-radius: 16px;
                background: linear-gradient(135deg, 
                    rgba(255,255,255,0.06) 0%, 
                    rgba(255,255,255,0.02) 100%);
                border: 1px solid rgba(255,255,255,0.1);
                backdrop-filter: blur(10px);
                transition: all 0.3s ease;
            }

            .path-card:hover,
            .path-card:active {
                transform: translateY(-2px);
                border-color: rgba(99, 102, 241, 0.4);
                background: linear-gradient(135deg, 
                    rgba(99, 102, 241, 0.12) 0%, 
                    rgba(139, 92, 246, 0.06) 100%);
            }

            /* Iconos con gradiente */
            .path-icon {
                width: 44px;
                height: 44px;
                font-size: 1.15rem;
                border-radius: 12px;
                background: linear-gradient(135deg, 
                    rgba(99, 102, 241, 0.2) 0%, 
                    rgba(139, 92, 246, 0.15) 100%);
                border: 1px solid rgba(99, 102, 241, 0.2);
            }

            .path-text h3,
            .path-card h3 {
                font-size: 0.98rem;
                margin-bottom: 2px;
                font-weight: 600;
                color: #fff;
            }

            .path-text p,
            .path-card p {
                font-size: 0.82rem;
                line-height: 1.4;
                opacity: 0.7;
                text-align: left;
            }

            .path-arrow {
                width: 26px;
                height: 26px;
                font-size: 0.85rem;
                background: rgba(99, 102, 241, 0.15);
                border-radius: 8px;
            }

            /* Chat card especial */
            .chat-card {
                background: linear-gradient(135deg, 
                    rgba(99, 102, 241, 0.1) 0%, 
                    rgba(6, 182, 212, 0.06) 100%) !important;
                border-color: rgba(99, 102, 241, 0.3) !important;
            }

            .chat-card-badge {
                padding: 4px 10px;
                font-size: 0.65rem;
                top: 12px;
                right: 12px;
                border-radius: 20px;
            }

            .chat-card-badge::before {
                width: 6px;
                height: 6px;
            }
        }

        /* Pantallas pequeñas */
        @media (max-width: 480px) {
            .hero {
                padding: 70px 0 30px;
            }

            .hero > .container {
                padding: 0 20px;
            }

            .hero-badge {
                font-size: 0.68rem;
                padding: 6px 14px;
                margin-bottom: 20px;
            }

            .hero-title {
                font-size: clamp(1.7rem, 7.5vw, 2.2rem);
            }

            .hero-subtitle {
                font-size: 0.85rem;
                margin-bottom: 28px;
            }

            .path-selector {
                gap: 10px;
                max-width: 100%;
            }

            .path-card {
                padding: 14px 16px;
                gap: 12px;
                border-radius: 14px;
            }

            .path-icon {
                width: 40px;
                height: 40px;
                font-size: 1.1rem;
                border-radius: 10px;
            }

            .path-text h3,
            .path-card h3 {
                font-size: 0.92rem;
            }

            .path-text p,
            .path-card p {
                font-size: 0.78rem;
            }

            .path-arrow {
                width: 24px;
                height: 24px;
            }

            .chat-card-badge {
                top: 10px;
                right: 10px;
                padding: 3px 8px;
                font-size: 0.6rem;
            }
        }

        /* Pantallas muy pequeñas */
        @media (max-width: 380px) {
            .hero {
                padding: 65px 0 24px;
            }

            .hero > .container {
                padding: 0 16px;
            }

            .hero-badge {
                font-size: 0.62rem;
                margin-bottom: 16px;
            }

            .hero-title {
                font-size: 1.55rem;
            }

            .hero-subtitle {
                font-size: 0.8rem;
                margin-bottom: 24px;
            }

            .path-selector {
                gap: 8px;
            }

            .path-card {
                padding: 12px 14px;
            }

            .path-icon {
                width: 36px;
                height: 36px;
                font-size: 1rem;
            }

            .path-text h3,
            .path-card h3 {
                font-size: 0.88rem;
            }

            .path-text p,
            .path-card p {
                font-size: 0.74rem;
            }
        }

        /* Landscape en mobile */
        @media (max-width: 768px) and (max-height: 500px) {
            .hero {
                min-height: auto;
                padding: 80px 0 30px;
            }

            .hero-subtitle {
                margin-bottom: 20px;
            }

            .path-selector {
                flex-direction: row;
                flex-wrap: wrap;
                gap: 8px;
                max-width: 100%;
            }

            .path-card {
                flex: 1 1 calc(50% - 4px);
                min-width: 160px;
            }
        }
