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

  :root {
    --bg: #050508;
    --bg2: #0a0a10;
    --surface: #0f0f18;
    --border: rgba(255,255,255,0.07);
    --text: #f0eff8;
    --muted: rgba(240,239,248,0.45);
    --accent: #f4ad05;
    --accent2: #0689c5;
    --accent3: #ff4f7b;
    --glow: rgba(124,108,252,0.35);
    --glow2: rgba(0,229,192,0.2);
  }

  html { 
    scroll-behavior: smooth; 
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
  }
  a {cursor: pointer;}
  body {
    background: var(--bg);
    color: var(--text);
    font-family: 'DM Sans', sans-serif;
    font-weight: 300;
    line-height: 1.65;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
  }

  /* TEXT OVERFLOW FIX */
  h1, h2, h3, h4, h5, h6, p, a, span, div {
    overflow-wrap: break-word;
    word-break: break-word;
  }

  /* CURSOR */
  .cursor {
    width: 10px; height: 10px;
    background: var(--accent2);
    border-radius: 50%;
    position: fixed; top: 0; left: 0;
    pointer-events: none; z-index: 9999;
    transition: transform 0.1s ease;
    mix-blend-mode: screen;
  }
  .cursor-ring {
    width: 36px; height: 36px;
    border: 1px solid rgba(124,108,252,0.6);
    border-radius: 50%;
    position: fixed; top: 0; left: 0;
    pointer-events: none; z-index: 9998;
    transition: transform 0.18s ease, width 0.2s, height 0.2s, border-color 0.2s;
    transform: translate(-13px, -13px);
  }
  .cursor-ring.hover { width: 60px; height: 60px; transform: translate(-25px,-25px); border-color: var(--accent2); }

  /* NOISE OVERLAY */
  body::before {
    content: '';
    position: fixed; inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
    pointer-events: none; z-index: 1000; opacity: 0.5;
  }

  /* NAV */
  nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 900;
    display: flex; align-items: center; justify-content: space-between;
    padding: 24px 60px;
    transition: background 0.4s, backdrop-filter 0.4s, padding 0.3s;
  }
  nav.scrolled {
    background: rgba(5,5,8,0.85);
    backdrop-filter: blur(10px);-webkit-backdrop-filter: blur(10px);
    padding: 16px 60px;
    border-bottom: 1px solid var(--border);
  }
  .nav-logo {transition: width ease 1s, }
  .nav-logo img {max-width: 180px; transition: all ease .5s,}
  nav.scrolled .nav-logo img {max-width: 140px;}
  .nav-links {
    display: flex; align-items: center; gap: 40px;
    list-style: none;
  }
  .nav-links a {
    color: var(--muted); text-decoration: none;
    font-size: 0.88rem; letter-spacing: 0.04em;
    text-transform: uppercase; font-weight: 500;
    transition: color 0.2s;
    position: relative;
  }
  .nav-links a::after {
    content: ''; position: absolute; bottom: -3px; left: 0; right: 0;
    height: 1px; background: var(--accent2);
    transform: scaleX(0); transition: transform 0.25s;
    transform-origin: left;
  }
  .nav-links a:hover { color: var(--text); }
  .nav-links a:hover::after { transform: scaleX(1); }
  .nav-cta {
    background: var(--accent); color: #fff !important;
    padding: 10px 24px; border-radius: 100px;
    transition: background 0.2s, box-shadow 0.2s, transform 0.2s !important;
    font-weight: 500 !important;
  }
  .nav-cta::after { display: none !important; }
  .nav-cta:hover { background: #6b5bf0 !important; box-shadow: 0 0 30px var(--glow); transform: translateY(-1px); }

  /* HERO */
  .hero {
    min-height: 100vh;
    display: flex; flex-direction: column;
    justify-content: center; align-items: flex-start;
    padding: 120px 60px 80px;
    position: relative; overflow: hidden;
    max-width: 100vw;
  }
  .hero-bg {
    position: absolute; inset: 0; z-index: 0;
    background: radial-gradient(ellipse 80% 60% at 70% 50%, rgba(124,108,252,0.12) 0%, transparent 70%),
                radial-gradient(ellipse 50% 40% at 20% 80%, rgba(0,229,192,0.08) 0%, transparent 60%);
  }
  .hero-grid {
    position: absolute; inset: 0; z-index: 0;
    background-image:
      linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 30%, transparent 100%);
  }
  .hero-tag {
    font-size: 0.75rem; letter-spacing: 0.18em; text-transform: uppercase;
    color: var(--accent2); font-weight: 500;
    display: flex; align-items: center; gap: 10px;
    margin-bottom: 32px; position: relative; z-index: 1;
    opacity: 0; animation: fadeUp 0.8s 0.2s forwards;
  }
  .hero-tag::before {
    content: ''; width: 30px; height: 1px; background: var(--accent2);
  }
  .hero h1 {
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: clamp(3.2rem, 7vw, 7rem);
    line-height: 0.95;
    letter-spacing: -0.03em;
    position: relative; z-index: 1;
    opacity: 0; animation: fadeUp 0.9s 0.35s forwards;
  }
  .hero h1 .line2 { display: block; color: var(--accent); }
  .hero h1 .outline {
    -webkit-text-stroke: 1px rgba(255,255,255,0.2);
    color: transparent;
  }
  .hero-sub {
    font-size: 1.1rem; color: var(--muted); max-width: 480px;
    margin: 32px 0 48px;
    position: relative; z-index: 1;
    opacity: 0; animation: fadeUp 0.9s 0.5s forwards;
    line-height: 1.7;
  }
  .hero-actions {
    display: flex; gap: 16px; align-items: center;
    position: relative; z-index: 1;
    opacity: 0; animation: fadeUp 0.9s 0.65s forwards;
  }
  .btn-primary {
    background: var(--accent); color: #fff;
    padding: 16px 36px; border-radius: 100px;
    font-size: 0.92rem; font-weight: 500;
    text-decoration: none; letter-spacing: 0.01em;
    transition: all 0.25s; display: inline-flex; align-items: center; gap: 8px;
    box-shadow: 0 0 40px rgba(124,108,252,0.4);
  }
  .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 60px rgba(124,108,252,0.6); background: #6b5bf0; }
  .btn-ghost {
    color: var(--muted); padding: 16px 36px;
    font-size: 0.92rem; font-weight: 400;
    text-decoration: none; letter-spacing: 0.01em;
    transition: color 0.2s;
    display: inline-flex; align-items: center; gap: 8px;
  }
  .btn-ghost:hover { color: var(--text); }
  .btn-ghost svg { transition: transform 0.2s; }
  .btn-ghost:hover svg { transform: translateX(4px); }

  /* FLOATING SHAPES */
  .hero-orb {
    position: absolute; border-radius: 50%;
    filter: blur(80px); pointer-events: none; z-index: 0;
  }
  .orb1 { width: 500px; height: 500px; background: rgba(124,108,252,0.12); right: -100px; top: 50px; animation: float1 12s ease-in-out infinite; }
  .orb2 { width: 300px; height: 300px; background: rgba(0,229,192,0.08); right: 200px; bottom: 100px; animation: float2 9s ease-in-out infinite; }
  .orb3 { width: 200px; height: 200px; background: rgba(255,79,123,0.07); left: 30%; bottom: 20%; animation: float1 15s ease-in-out infinite reverse; }

  .hero-stats {
    position: absolute; bottom: 60px; right: 60px; z-index: 1;
    display: flex; gap: 48px;
    opacity: 0; animation: fadeUp 0.9s 0.85s forwards;
  }
  .stat-item { text-align: right; }
  .stat-num {
    font-family: 'Syne', sans-serif;
    font-weight: 700; font-size: 2.4rem;
    line-height: 1; color: var(--text);
    letter-spacing: -0.03em;
  }
  .stat-num span { color: var(--accent); }
  .stat-label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); margin-top: 4px; }

  /* SECTIONS */
  section { position: relative; max-width: 100vw; overflow-x: hidden; }
  .section-inner { max-width: 1200px; margin: 0 auto; padding: 0 60px; }

  /* MARQUEE */
  .marquee-wrap {
    padding: 32px 0;
    background: linear-gradient(135deg, rgba(124,108,252,0.08) 0%, rgba(0,229,192,0.05) 100%);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    overflow: hidden;
    max-width: 100vw;
  }
  .marquee-track {
    display: flex; gap: 60px; align-items: center;
    animation: marquee 20s linear infinite;
    width: max-content;
  }
  .marquee-item {
    font-family: 'Syne', sans-serif; font-weight: 700;
    font-size: 0.8rem; letter-spacing: 0.18em; text-transform: uppercase;
    color: var(--muted); white-space: nowrap;
    display: flex; align-items: center; gap: 20px;
  }
  .marquee-item::after {
    content: '◆'; color: var(--accent); font-size: 0.5rem;
  }

  /* SERVICES */
  #servicios { padding: 130px 0; }
  .section-header { margin-bottom: 80px; }
  .section-tag {
    font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase;
    color: var(--accent2); font-weight: 500;
    display: flex; align-items: center; gap: 10px; margin-bottom: 20px;
  }
  .section-tag::before { content: ''; width: 24px; height: 1px; background: var(--accent2); }
  .section-title {
    font-family: 'Syne', sans-serif; font-weight: 800;
    font-size: clamp(2.4rem, 4vw, 3.8rem);
    line-height: 1.05; letter-spacing: -0.03em;
  }
  .section-title .hl { color: var(--accent); }

  .services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2px;
  }
  .service-card {
    background: var(--surface);
    padding: 56px 52px;
    position: relative; overflow: hidden;
    transition: background 0.3s;
  }
  .service-card:hover { background: #13131f; }
  .service-card::before {
    content: '';
    position: absolute; inset: 0;
    border: 1px solid transparent;
    transition: border-color 0.3s;
    pointer-events: none;
  }
  .service-card:hover::before { border-color: var(--border); }
  .service-card .glow-dot {
    position: absolute; width: 300px; height: 300px;
    border-radius: 50%; filter: blur(100px);
    opacity: 0; transition: opacity 0.4s;
    pointer-events: none;
    top: -80px; right: -80px;
  }
  .service-card:nth-child(1) .glow-dot { background: rgba(124,108,252,0.15); }
  .service-card:nth-child(2) .glow-dot { background: rgba(0,229,192,0.12); }
  .service-card:nth-child(3) .glow-dot { background: rgba(255,79,123,0.12); }
  .service-card:nth-child(4) .glow-dot { background: rgba(255,200,80,0.1); }
  .service-card:hover .glow-dot { opacity: 1; }

  .service-num {
    font-family: 'Syne', sans-serif; font-weight: 800;
    font-size: 0.72rem; letter-spacing: 0.18em;
    color: var(--border); margin-bottom: 40px;
    text-transform: uppercase;
  }
  .service-icon {
    width: 56px; height: 56px;
    margin-bottom: 28px;
    border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem;
  }
  .ic1 { background: rgba(124,108,252,0.15); border: 1px solid rgba(124,108,252,0.25); }
  .ic2 { background: rgba(0,229,192,0.12); border: 1px solid rgba(0,229,192,0.2); }
  .ic3 { background: rgba(255,79,123,0.12); border: 1px solid rgba(255,79,123,0.2); }
  .ic4 { background: rgba(255,200,80,0.1); border: 1px solid rgba(255,200,80,0.18); }

  .service-title {
    font-family: 'Syne', sans-serif; font-weight: 700;
    font-size: 1.5rem; margin-bottom: 16px; letter-spacing: -0.02em;
  }
  .service-desc { color: var(--muted); font-size: 0.95rem; line-height: 1.7; margin-bottom: 32px; }
  .service-tags { display: flex; flex-wrap: wrap; gap: 8px; }
  .tag {
    font-size: 0.72rem; letter-spacing: 0.06em;
    padding: 5px 12px; border-radius: 100px;
    border: 1px solid var(--border); color: var(--muted);
    text-transform: uppercase; font-weight: 500;
  }
  .service-arrow {
    position: absolute; bottom: 52px; right: 52px;
    width: 44px; height: 44px;
    border: 1px solid var(--border); border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--muted); transition: all 0.25s;
  }
  .service-card:hover .service-arrow {
    background: var(--accent); border-color: var(--accent);
    color: #fff; transform: rotate(45deg);
  }

  /* PROCESS */
  #proceso { padding: 130px 0; background: var(--bg2); }
  .process-grid {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 1px; margin-top: 80px;
    border: 1px solid var(--border);
  }
  .process-step {
    padding: 48px 36px;
    border-right: 1px solid var(--border);
    position: relative;
  }
  .process-step:last-child { border-right: none; }
  .step-num {
    font-family: 'Syne', sans-serif; font-weight: 800;
    font-size: 3rem; color: var(--border);
    letter-spacing: -0.05em; line-height: 1;
    margin-bottom: 28px;
  }
  .step-title {
    font-family: 'Syne', sans-serif; font-weight: 700;
    font-size: 1.1rem; margin-bottom: 12px;
  }
  .step-desc { color: var(--muted); font-size: 0.88rem; line-height: 1.65; }
  .step-line {
    position: absolute; top: 48px; right: -1px;
    width: 1px; height: 30px; background: var(--accent);
    display: none;
  }

  /* BLACKCHATBOT HIGHLIGHT */
  #chatbot { padding: 130px 0; }
  .chatbot-inner {
    max-width: 1200px; margin: 0 auto; padding: 0 60px;
    display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
  }
  .chatbot-visual {
    position: relative; height: 480px;
  }
  .chat-mockup {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 28px;
    height: 100%;
    display: flex; flex-direction: column; gap: 16px;
    overflow: hidden;
    position: relative;
  }
  .chat-mockup::before {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(124,108,252,0.05), transparent 60%);
    border-radius: 24px;
  }
  .chat-header {
    display: flex; align-items: center; gap: 12px;
    padding-bottom: 20px; border-bottom: 1px solid var(--border);
  }
  .chat-avatar {
    width: 36px; height: 36px; border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    display: flex; align-items: center; justify-content: center;
    font-size: 1rem;
  }
  .chat-avatar img {width: 100%;}
  .chat-name { font-weight: 600; font-size: 0.9rem; }
  .chat-status { font-size: 0.72rem; color: var(--accent2); }
  .chat-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent2); margin-left: auto; box-shadow: 0 0 8px var(--accent2); animation: pulse 2s infinite; }

  .msg { max-width: 80%; padding: 12px 16px; border-radius: 16px; font-size: 0.88rem; line-height: 1.5; }
  .msg-bot { background: rgba(124,108,252,0.12); border: 1px solid rgba(124,108,252,0.2); color: var(--text); border-radius: 4px 16px 16px 16px; }
  .msg-user { background: var(--accent); color: #fff; border-radius: 16px 4px 16px 16px; margin-left: auto; }
  .typing { display: flex; align-items: center; gap: 5px; padding: 14px 16px; background: rgba(124,108,252,0.08); border-radius: 4px 16px 16px 16px; width: fit-content; }
  .typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); opacity: 0.5; animation: blink 1.2s infinite; }
  .typing span:nth-child(2) { animation-delay: 0.2s; }
  .typing span:nth-child(3) { animation-delay: 0.4s; }

  .chatbot-content { padding: 20px 0; }
  .product-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(0,229,192,0.1); border: 1px solid rgba(0,229,192,0.25);
    color: var(--accent2); padding: 6px 14px; border-radius: 100px;
    font-size: 0.72rem; font-weight: 500; letter-spacing: 0.1em;
    text-transform: uppercase; margin-bottom: 24px;
  }
  .product-badge::before { content: '●'; font-size: 0.5rem; animation: pulse 2s infinite; }

  .chatbot-content h2 {
    font-family: 'Syne', sans-serif; font-weight: 800;
    font-size: clamp(2rem, 3vw, 3rem);
    line-height: 1.1; letter-spacing: -0.03em; margin-bottom: 20px;
  }
  .chatbot-content p { color: var(--muted); line-height: 1.75; margin-bottom: 32px; }
  .feature-list { list-style: none; display: flex; flex-direction: column; gap: 14px; margin-bottom: 40px; }
  .feature-list li {
    display: flex; align-items: center; gap: 12px;
    font-size: 0.92rem; color: var(--muted);
  }
  .feature-list li::before {
    content: '→'; color: var(--accent2);
    font-weight: 600; flex-shrink: 0;
  }

  /* MARKETING */
  #marketing { padding: 130px 0; background: var(--bg2); }
  .mkt-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 80px; }
  .mkt-card {
    background: var(--bg); border: 1px solid var(--border);
    border-radius: 20px; padding: 40px 36px;
    transition: all 0.3s; position: relative; overflow: hidden;
  }
  .mkt-card:hover { border-color: rgba(124,108,252,0.3); transform: translateY(-4px); }
  .mkt-card .card-accent {
    position: absolute; top: 0; left: 0; right: 0; height: 2px;
    opacity: 0; transition: opacity 0.3s;
  }
  .mkt-card:nth-child(1) .card-accent { background: linear-gradient(90deg, var(--accent), transparent); }
  .mkt-card:nth-child(2) .card-accent { background: linear-gradient(90deg, var(--accent2), transparent); }
  .mkt-card:nth-child(3) .card-accent { background: linear-gradient(90deg, var(--accent3), transparent); }
  .mkt-card:hover .card-accent { opacity: 1; }
  .mkt-icon { font-size: 2rem; margin-bottom: 24px; }
  .mkt-title { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 1.2rem; margin-bottom: 12px; }
  .mkt-desc { color: var(--muted); font-size: 0.88rem; line-height: 1.65; }

  /* CTA */
  #contacto { padding: 130px 0; }
  .cta-box {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 32px; padding: 100px 80px;
    text-align: center; position: relative; overflow: hidden;
  }
  .cta-box::before {
    content: '';
    position: absolute; inset: 0; border-radius: 32px;
    background: radial-gradient(ellipse 70% 50% at 50% 0%, rgba(124,108,252,0.15), transparent 60%);
  }
  .cta-box h2 {
    font-family: 'Syne', sans-serif; font-weight: 800;
    font-size: clamp(2.4rem, 4vw, 4rem);
    line-height: 1.05; letter-spacing: -0.03em;
    position: relative; z-index: 1; margin-bottom: 20px;
  }
  .cta-box p { color: var(--muted); font-size: 1.05rem; max-width: 480px; margin: 0 auto 48px; position: relative; z-index: 1; }
  .cta-actions { display: flex; gap: 16px; justify-content: center; position: relative; z-index: 1; }
  .btn-primary-lg {
    background: var(--accent); color: #fff;
    padding: 18px 44px; border-radius: 100px;
    font-size: 1rem; font-weight: 500;
    text-decoration: none;
    transition: all 0.25s;
    box-shadow: 0 0 50px rgba(124,108,252,0.4);
  }
  .btn-primary-lg:hover { transform: translateY(-2px); box-shadow: 0 0 70px rgba(124,108,252,0.6); }
  .btn-outline-lg {
    border: 1px solid var(--border); color: var(--muted);
    padding: 18px 44px; border-radius: 100px;
    font-size: 1rem; font-weight: 400;
    text-decoration: none;
    transition: all 0.25s;
  }
  .btn-outline-lg:hover { border-color: rgba(255,255,255,0.3); color: var(--text); }

  .cta-blob {
    position: absolute; border-radius: 50%; filter: blur(120px);
    pointer-events: none;
  }
  .cta-blob1 { width: 400px; height: 400px; background: rgba(124,108,252,0.1); top: -100px; left: -100px; }
  .cta-blob2 { width: 350px; height: 350px; background: rgba(0,229,192,0.07); bottom: -80px; right: -80px; }

  /* FOOTER */
  footer {
    padding: 60px;
    border-top: 1px solid var(--border);
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 24px;
  }
  .footer-logo {
    font-family: 'Syne', sans-serif; font-weight: 800;
    font-size: 1.3rem; letter-spacing: -0.02em; color: var(--text);
    text-decoration: none;
  }
  .footer-logo img { max-width: 130px;}
  .footer-links { display: flex; gap: 32px; list-style: none; }
  .footer-links a { color: var(--muted); text-decoration: none; font-size: 0.85rem; transition: color 0.2s; }
  .footer-links a:hover { color: var(--text); }
  .footer-copy { color: var(--muted); font-size: 0.8rem; }

  /* SCROLL REVEAL */
  .reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
  .reveal.visible { opacity: 1; transform: translateY(0); }

  /* ANIMATIONS */
  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
  }
  @keyframes float1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, -40px) scale(1.05); }
  }
  @keyframes float2 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-20px, 30px); }
  }
  @keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
  }
  @keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
  }
  @keyframes blink {
    0%, 80%, 100% { opacity: 0.3; transform: scale(1); }
    40% { opacity: 1; transform: scale(1.2); }
  }

  /* HAMBURGER */
  .hamburger {
    display: none;
    flex-direction: column; justify-content: center; align-items: center;
    gap: 5px;
    width: 40px; height: 40px;
    background: none; border: none; cursor: pointer;
    padding: 4px; z-index: 910;
  }
  .hamburger span {
    display: block; width: 24px; height: 1.5px;
    background: var(--text);
    transition: transform 0.3s ease, opacity 0.3s ease, width 0.3s ease;
    transform-origin: center;
  }
  .hamburger.active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .hamburger.active span:nth-child(2) { opacity: 0; width: 0; }
  .hamburger.active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

  /* MOBILE MENU */
  .mobile-menu {
    position: fixed; inset: 0; z-index: 800;
    background: rgba(5,5,8,0.97);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; pointer-events: none;
    transition: opacity 0.35s ease;
  }
  .mobile-menu.open { opacity: 1; pointer-events: all; }
  .mobile-links {
    list-style: none;
    display: flex; flex-direction: column; align-items: center;
    gap: 8px; text-align: center;
  }
  .mobile-link {
    display: block;
    font-family: 'Syne', sans-serif; font-weight: 700;
    font-size: clamp(2rem, 8vw, 3rem);
    letter-spacing: -0.02em;
    color: var(--muted);
    text-decoration: none;
    padding: 8px 24px;
    transition: color 0.2s, transform 0.2s;
    line-height: 1.1;
  }
  .mobile-link:hover { color: var(--text); transform: translateX(6px); }
  .mobile-cta {
    color: var(--accent) !important;
    margin-top: 16px;
  }
  .mobile-menu.open .mobile-links li {
    animation: mobileItemIn 0.4s ease both;
  }
  .mobile-menu.open .mobile-links li:nth-child(1) { animation-delay: 0.05s; }
  .mobile-menu.open .mobile-links li:nth-child(2) { animation-delay: 0.1s; }
  .mobile-menu.open .mobile-links li:nth-child(3) { animation-delay: 0.15s; }
  .mobile-menu.open .mobile-links li:nth-child(4) { animation-delay: 0.2s; }
  .mobile-menu.open .mobile-links li:nth-child(5) { animation-delay: 0.25s; }
  @keyframes mobileItemIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
  }

  /* CHATBOT WIDGET */
  .chat-widget {
    position: fixed; bottom: 28px; right: 28px; z-index: 9000;
    display: flex; flex-direction: column; align-items: flex-end; gap: 12px;
  }
  .chat-widget-btn {
    width: 58px; height: 58px; border-radius: 50%;
    background: var(--accent);
    border: none; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    color: #fff;
    box-shadow: 0 4px 24px rgba(0,0,0,0.4), 0 0 0 0 rgba(244,173,5,0.4);
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative;
    animation: chatPulse 3s ease-in-out 4s infinite;
  }
  .chat-widget-btn:hover { transform: scale(1.08); box-shadow: 0 6px 30px rgba(0,0,0,0.5), 0 0 0 8px rgba(244,173,5,0.15); }
  .chat-btn-icon { display: flex; align-items: center; justify-content: center; }
  @keyframes chatPulse {
    0%, 100% { box-shadow: 0 4px 24px rgba(0,0,0,0.4), 0 0 0 0 rgba(244,173,5,0.4); }
    50% { box-shadow: 0 4px 24px rgba(0,0,0,0.4), 0 0 0 10px rgba(244,173,5,0); }
  }
  .chat-widget-badge {
    position: absolute; top: -4px; right: -4px;
    width: 20px; height: 20px; border-radius: 50%;
    background: var(--accent3); color: #fff;
    font-size: 0.7rem; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    border: 2px solid var(--bg);
    animation: badgePop 0.4s cubic-bezier(0.34,1.56,0.64,1) both;
  }
  @keyframes badgePop {
    from { transform: scale(0); }
    to { transform: scale(1); }
  }

  .chat-widget-window {
    width: 340px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
    display: flex; flex-direction: column;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    opacity: 0; pointer-events: none;
    transform: translateY(16px) scale(0.96);
    transform-origin: bottom right;
    transition: opacity 0.3s ease, transform 0.3s ease;
    max-height: 480px;
  }
  .chat-widget-window.open {
    opacity: 1; pointer-events: all;
    transform: translateY(0) scale(1);
  }

  .chat-widget-header {
    display: flex; align-items: center; gap: 10px;
    padding: 16px 18px;
    background: linear-gradient(135deg, rgba(244,173,5,0.15), rgba(6,137,197,0.1));
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
  }
  .chat-widget-avatar {
    width: 38px; height: 38px; border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem; flex-shrink: 0;
  }
  .chat-widget-avatar img {width:80%}
  .chat-widget-name { font-weight: 600; font-size: 0.92rem; }
  .chat-widget-status {
    font-size: 0.72rem; color: #22c55e;
    display: flex; align-items: center; gap: 5px; margin-top: 1px;
  }
  .status-dot {
    width: 7px; height: 7px; border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 6px #22c55e;
    animation: pulse 2s infinite;
  }
  .chat-widget-close {
    margin-left: auto; background: none; border: none;
    color: var(--muted); cursor: pointer; padding: 4px;
    border-radius: 6px; transition: color 0.2s, background 0.2s;
    display: flex;
  }
  .chat-widget-close:hover { color: var(--text); background: var(--border); }

  .chat-widget-messages {
    flex: 1; overflow-y: auto; padding: 16px;
    display: flex; flex-direction: column; gap: 10px;
    scroll-behavior: smooth;
  }
  .chat-widget-messages::-webkit-scrollbar { width: 4px; }
  .chat-widget-messages::-webkit-scrollbar-track { background: transparent; }
  .chat-widget-messages::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }

  .chat-widget-msg {
    max-width: 85%; font-size: 0.86rem; line-height: 1.55;
  }
  .chat-widget-msg p { padding: 10px 14px; border-radius: 14px; margin: 0; }
  .chat-widget-msg.bot p {
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border);
    border-radius: 4px 14px 14px 14px;
    color: var(--text);
  }
  .chat-widget-msg.user { margin-left: auto; }
  .chat-widget-msg.user p {
    background: var(--accent); color: #fff;
    border-radius: 14px 4px 14px 14px;
  }
  .typing-indicator {
    display: flex; align-items: center; gap: 5px;
    padding: 12px 16px;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border);
    border-radius: 4px 14px 14px 14px;
    width: fit-content;
  }
  .typing-indicator span {
    width: 7px; height: 7px; border-radius: 50%;
    background: var(--muted);
    animation: blink 1.2s infinite;
  }
  .typing-indicator span:nth-child(2) { animation-delay: 0.2s; }
  .typing-indicator span:nth-child(3) { animation-delay: 0.4s; }

  .chat-widget-input-area {
    display: flex; align-items: center; gap: 8px;
    padding: 12px 14px;
    border-top: 1px solid var(--border);
    flex-shrink: 0;
  }
  .chat-widget-input-area input {
    flex: 1; background: rgba(255,255,255,0.05);
    border: 1px solid var(--border); border-radius: 100px;
    padding: 10px 16px; color: var(--text);
    font-family: 'DM Sans', sans-serif; font-size: 0.86rem;
    outline: none; transition: border-color 0.2s;
  }
  .chat-widget-input-area input::placeholder { color: var(--muted); }
  .chat-widget-input-area input:focus { border-color: rgba(244,173,5,0.5); }
  .chat-widget-input-area button {
    width: 36px; height: 36px; border-radius: 50%;
    background: var(--accent); border: none; cursor: pointer;
    color: #fff; display: flex; align-items: center; justify-content: center;
    transition: background 0.2s, transform 0.15s; flex-shrink: 0;
  }
  .chat-widget-input-area button:hover { background: #e0a004; transform: scale(1.05); }

  /* RESPONSIVE */
  @media (max-width: 900px) {
    nav { padding: 20px 24px; }
    nav.scrolled { padding: 14px 24px; }
    .nav-links { display: none; }
    .hamburger { display: flex; }
    .hero { padding: 100px 24px 60px; }
    .hero h1 { font-size: 2.3rem; }
    .hero-stats { position: static; display: flex; margin-top: 60px; justify-content: flex-start; }
    .section-inner { padding: 0 24px; }
    .services-grid { grid-template-columns: 1fr; }
    .service-card { padding: 40px 32px; }
    .process-grid { grid-template-columns: 1fr 1fr; }
    .chatbot-inner { grid-template-columns: 1fr; gap: 40px; padding: 0 24px; }
    .chatbot-visual { height: 380px; }
    .mkt-grid { grid-template-columns: 1fr; }
    .cta-box { padding: 60px 32px; }
    .cta-actions { flex-direction: column; align-items: center; }
    footer { padding: 40px 24px; flex-direction: column; align-items: flex-start; }
    #servicios, #proceso, #chatbot, #marketing, #contacto { padding: 80px 0; }
    .chat-widget { bottom: 20px; right: 16px; }
    .chat-widget-window { width: calc(100vw - 32px); max-width: 360px; }
  }