  /* =========================================================
     Sistema visual: "vidrio esmerilado a medianoche"
     Lienzo casi negro, superficies translúcidas, bordes como
     hairlines internos. Los tres colores de línea (azul, teal,
     verde) son código de servicio en trazos y nodos.
     Tipografía: Poppins en todo el sitio. Botones: botones-nodo.
     ========================================================= */
  :root{
    /* Superficies */
    --canvas:#05060f;
    --steel:#2f343e;
    --glass:rgba(186,214,247,0.03);
    --glass-2:rgba(186,214,247,0.06);
    --deep-glass:rgba(5,6,15,0.97);

    /* Texto: titular → cuerpo → atenuado → ayuda */
    --ice:#d8ecf8;
    --frost:#d1e4fa;
    --mist:#c7d3ea;
    --fog:#9da7ba;

    /* Código de servicio (trazos y nodos) */
    --line-ia:#2c7be5;
    --line-mkt:#17c9c2;
    --line-web:#3fe67d;

    /* Tokens de marca que usan los botones-nodo */
    --navy-900:#0a1830;
    --teal-400:#17c9c2;
    --green-400:#3fe67d;
    --ink-100:#eaf1f8;

    /* Bordes y degradados */
    --edge:rgba(186,215,247,0.12);
    --edge-strong:rgba(186,215,247,0.24);
    --grid-line:rgba(186,215,247,0.06);
    --skywash:linear-gradient(180deg,#d8ecf8 0%,#98c0ef 100%);
    --hairline-fade:linear-gradient(90deg,transparent,var(--edge),transparent);

    /* Elevación: brillo interno + halo interno + caída fría */
    --elev-card:inset 0 1px 1px rgba(199,211,234,0.12), inset 0 24px 48px rgba(199,211,234,0.05), 0 24px 32px rgba(6,6,14,0.7);
    --elev-modal:inset 0 1px 1px rgba(216,236,248,0.2), inset 0 24px 48px rgba(168,216,245,0.06), 0 16px 32px rgba(0,0,0,0.3);
    --elev-hair:inset 0 0 0 1px var(--edge);

    --font:'Poppins', sans-serif;

    /* Layout */
    --max:1200px;
    --pad:clamp(1.25rem,4vw,2rem);
    --section-gap:clamp(80px,11vw,120px);
    --r-card:16px;
    --r-input:6px;
    --r-pill:999px;
  }

  *,*::before,*::after{box-sizing:border-box;}
  html{scroll-behavior:smooth;}
  body{
    margin:0;
    background:var(--canvas);
    color:var(--frost);
    font-family:var(--font);
    font-size:16px;
    line-height:1.6;
    -webkit-font-smoothing:antialiased;
    overflow-x:hidden;
  }
  h1,h2,h3{margin:0;font-family:var(--font);font-weight:500;color:var(--ice);}
  p{margin:0;}
  a{color:inherit;text-decoration:none;}
  ul,ol{margin:0;padding:0;list-style:none;}
  img{max-width:100%;display:block;}
  button{font:inherit;}
  :focus-visible{outline:2px solid var(--teal-400);outline-offset:3px;border-radius:4px;}

  .container{max-width:var(--max);margin:0 auto;padding:0 var(--pad);}
  section[id]{scroll-margin-top:72px;}

  .skip-link{
    position:absolute;left:-9999px;top:12px;z-index:200;
    background:var(--teal-400);color:#04140f;
    padding:10px 16px;border-radius:8px;font-weight:600;
  }
  .skip-link:focus{left:16px;}

  /* ---------- ATMÓSFERA: cuadrícula de plano + reflector ---------- */
  .atmosphere{
    position:absolute;
    inset:0 0 auto 0;
    height:1200px;
    pointer-events:none;
    z-index:0;
    overflow:hidden;
  }
  .atmosphere .grid{
    position:absolute;inset:0;
    background-image:
      linear-gradient(var(--grid-line) 1px, transparent 1px),
      linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
    background-size:80px 80px;
    background-position:center top;
    -webkit-mask-image:radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 85%);
            mask-image:radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 85%);
  }
  .spotlight{
    position:absolute;
    left:50%;top:-80px;
    width:1400px;height:900px;
    transform:translateX(-50%);
    background:conic-gradient(from 180deg at 50% 0%, transparent 42%, rgba(124,145,182,0.18) 47%, rgba(124,145,182,0.42) 50%, rgba(124,145,182,0.18) 53%, transparent 58%);
    filter:blur(18px);
    -webkit-mask-image:linear-gradient(180deg,#000 10%,transparent 80%);
            mask-image:linear-gradient(180deg,#000 10%,transparent 80%);
    opacity:.9;
    pointer-events:none;
  }

  /* ---------- MALLA DE FONDO (red de nodos, toda la página) ----------
     Grafo orgánico: nodos en posiciones libres, unidos por trazos rectos
     en ángulos libres (no una cuadrícula) - como una red neuronal, no
     un circuito. Capa ambiente fija, muy sutil, detrás de todo el
     contenido. Mayormente neutro (--edge-strong); algunos nodos y
     trazos llevan el color de servicio (--line-ia/--line-mkt/--line-web)
     como acento disperso. Partículas viajan por los trazos en bucle
     continuo, dando sensación de red activa. */
  .site{position:relative;z-index:1;}
  .site-mesh{
    --mesh-opacity:.22;
    position:fixed;
    inset:0;
    width:100%;
    height:100%;
    pointer-events:none;
    opacity:var(--mesh-opacity);
  }
  .site-mesh .m-line{fill:none;stroke-width:1;vector-effect:non-scaling-stroke;}
  .site-mesh .m-edge{stroke:var(--edge-strong);}
  .site-mesh .m-ia{stroke:var(--line-ia);opacity:.6;}
  .site-mesh .m-mkt{stroke:var(--line-mkt);opacity:.6;}
  .site-mesh .m-web{stroke:var(--line-web);opacity:.6;}
  .site-mesh .m-node{stroke:none;}
  .site-mesh .m-node.edge{fill:var(--mist);opacity:.8;}
  .site-mesh .m-node.ia{fill:var(--line-ia);filter:drop-shadow(0 0 6px var(--line-ia));}
  .site-mesh .m-node.mkt{fill:var(--line-mkt);filter:drop-shadow(0 0 6px var(--line-mkt));}
  .site-mesh .m-node.web{fill:var(--line-web);filter:drop-shadow(0 0 6px var(--line-web));}
  .site-mesh .m-particle{opacity:.85;}
  .site-mesh .m-particle.p-ia{fill:var(--line-ia);filter:drop-shadow(0 0 3px var(--line-ia));}
  .site-mesh .m-particle.p-mkt{fill:var(--line-mkt);filter:drop-shadow(0 0 3px var(--line-mkt));}
  .site-mesh .m-particle.p-web{fill:var(--line-web);filter:drop-shadow(0 0 3px var(--line-web));}
  @media (prefers-reduced-motion: no-preference){
    .site-mesh{opacity:0;animation:meshFadeIn 1.4s ease .2s forwards;}
  }
  @media (prefers-reduced-motion: reduce){
    .site-mesh .m-particle{display:none;}
  }
  @media (max-width:680px){
    .site-mesh{--mesh-opacity:.16;}
  }
  @keyframes meshFadeIn{to{opacity:var(--mesh-opacity);}}

  /* ---------- EYEBROW (marcador de sección) ---------- */
  .eyebrow{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:16px;
    font-size:13px;
    font-weight:500;
    line-height:1.2;
    letter-spacing:0.1em;
    text-transform:uppercase;
    font-variant-numeric:tabular-nums;
    color:var(--mist);
  }
  .eyebrow::before,.eyebrow::after{
    content:"";
    width:64px;height:1px;
    background:var(--hairline-fade);
  }

  /* ---------- NODE BUTTONS ----------
     Shared across .btn-primary/.btn-ghost/.btn-dark/.nav-cta (not the
     mobile-menu "Hablemos" link, which stays a plain text link). The dot
     is the same navy-fill + colored-ring node used in the hero and the
     Services tree, at button scale: a hollow ring at rest, fills solid
     on hover/focus - the same "connection" moment, reused here instead
     of a gradient fill. */
  .btn-dot{
    width:7px;height:7px;
    border-radius:50%;
    background:var(--navy-900);
    border:1.5px solid currentColor;
    transition:background .2s ease;
    flex-shrink:0;
  }
  .nav-cta{
    display:inline-flex;
    align-items:center;
    gap:0.5rem;
    background:transparent;
    color:var(--ink-100);
    font-weight:600;
    font-size:0.92rem;
    padding:0.6rem 1.25rem;
    border-radius:8px;
    border:1.5px solid var(--teal-400);
    cursor:pointer;
    transition:background .2s ease, border-color .2s ease, transform .1s ease-out;
  }
  .nav-cta .btn-dot{color:var(--teal-400);}
  .nav-cta:hover{
    background:rgba(23,201,194,0.1);
    border-color:var(--ink-100);
  }
  .nav-cta:hover .btn-dot{background:var(--teal-400);}
  .btn-primary{
    display:inline-flex;
    align-items:center;
    gap:0.6rem;
    background:var(--teal-400);
    color:#04140f;
    font-weight:600;
    font-size:0.98rem;
    padding:0.9rem 1.7rem;
    border-radius:9px;
    border:none;
    cursor:pointer;
    transition:background .2s ease, transform .2s ease, box-shadow .2s ease;
  }
  .btn-primary .btn-dot{color:#04140f;}
  .btn-primary svg{width:18px;height:18px;flex-shrink:0;}
  .btn-primary:hover{
    background:#1fe0d8;
    transform:translateY(-2px);
    box-shadow:0 12px 26px -8px rgba(2,8,16,0.55);
  }
  .btn-primary:hover .btn-dot{background:#04140f;}
  .btn-primary:active{transform:scale(0.97);}
  .btn-ghost{
    display:inline-flex;
    align-items:center;
    gap:0.6rem;
    background:transparent;
    color:var(--ink-100);
    font-weight:600;
    font-size:0.98rem;
    padding:0.9rem 1.6rem;
    border-radius:9px;
    border:1.5px solid rgba(255,255,255,0.22);
    cursor:pointer;
    transition:border-color .2s ease, background .2s ease, transform .1s ease-out;
  }
  .btn-ghost .btn-dot{color:var(--teal-400);}
  .btn-ghost:hover{
    border-color:var(--teal-400);
    background:rgba(23,201,194,0.06);
  }
  .btn-ghost:hover .btn-dot{background:var(--teal-400);}
  .btn-ghost:active{transform:scale(0.97);}

  /* ---------- NAV ---------- */
  .nav{
    position:fixed;
    top:0;left:0;right:0;
    z-index:100;
    padding:16px 0;
    transition:background .3s ease, box-shadow .3s ease, padding .3s ease;
  }
  .nav.scrolled{
    background:rgba(5,6,15,0.72);
    -webkit-backdrop-filter:blur(16px) saturate(140%);
            backdrop-filter:blur(16px) saturate(140%);
    box-shadow:0 1px 0 var(--edge);
    padding:10px 0;
  }
  .nav .container{display:flex;align-items:center;justify-content:space-between;gap:16px;}
  .brand{display:flex;align-items:center;gap:10px;}
  .brand img{width:30px;height:30px;border-radius:7px;}
  .brand span{font-weight:600;font-size:16px;color:var(--frost);}
  .brand span b{color:var(--green-400);font-weight:600;}
  .nav-links{display:flex;align-items:center;gap:8px;}
  .nav-links a:not(.nav-cta){
    font-size:14px;
    color:var(--fog);
    padding:8px 14px;
    border-radius:var(--r-pill);
    transition:color .2s ease, background .2s ease;
  }
  .nav-links a:not(.nav-cta):hover{color:var(--ice);background:var(--glass-2);}
  .nav-links .nav-cta{margin-left:8px;}
  .nav-toggle{
    display:none;
    width:40px;height:40px;
    align-items:center;justify-content:center;
    background:var(--glass-2);
    box-shadow:var(--elev-hair);
    border:0;border-radius:var(--r-pill);
    color:var(--frost);
    cursor:pointer;
    position:relative;z-index:101;
  }
  .nav-toggle svg{width:20px;height:20px;}
  .nav-toggle-line{transition:transform .25s ease, opacity .2s ease;transform-box:fill-box;transform-origin:center;}
  .nav-toggle[aria-expanded="true"] .nav-toggle-line-1{transform:translateY(6px) rotate(45deg);}
  .nav-toggle[aria-expanded="true"] .nav-toggle-line-2{opacity:0;}
  .nav-toggle[aria-expanded="true"] .nav-toggle-line-3{transform:translateY(-6px) rotate(-45deg);}

  /* Panel de vidrio flotante. El "Hablemos" de acá sigue siendo un
     enlace de texto, no un botón-nodo. */
  .mobile-menu{
    display:none;
    position:fixed;
    top:72px;left:var(--pad);right:var(--pad);
    z-index:99;
    padding:12px;
    border-radius:var(--r-card);
    background:var(--deep-glass);
    box-shadow:var(--elev-modal), var(--elev-hair);
  }
  .mobile-menu.open{display:flex;flex-direction:column;gap:2px;}
  .mobile-menu a{
    font-size:16px;
    color:var(--frost);
    padding:12px 14px;
    border-radius:10px;
  }
  .mobile-menu a:hover{background:var(--glass-2);}
  .mobile-menu .nav-cta{
    display:flex;
    align-items:center;
    gap:0.4rem;
    margin-top:4px;
    background:none;
    border:none;
    color:var(--teal-400);
    font-weight:600;
  }
  .mobile-menu .nav-cta:hover{background:var(--glass-2);}
  .mobile-menu .nav-cta:active{transform:scale(0.97);}

  /* ---------- HERO ---------- */
  .hero{
    position:relative;
    padding:clamp(128px,16vw,176px) 0 var(--section-gap);
    text-align:center;
  }
  .hero-copy{position:relative;z-index:2;max-width:780px;margin:0 auto;}
  .hero h1{
    font-weight:500;
    font-size:clamp(2.4rem,5.6vw,4.1rem);
    line-height:1.1;
    letter-spacing:-0.02em;
    background:var(--skywash);
    -webkit-background-clip:text;
            background-clip:text;
    color:transparent;
    text-wrap:balance;
  }
  .hero h1 .accent{color:var(--teal-400);font-weight:600;}
  .hero .lede{
    margin:24px auto 0;
    max-width:36rem;
    font-size:18px;
    line-height:1.6;
    color:var(--mist);
    text-wrap:pretty;
  }
  .hero-actions{display:flex;gap:12px;justify-content:center;flex-wrap:wrap;margin-top:36px;}
  .hero-copy .eyebrow{margin-bottom:20px;}

  /* Clientes que confiaron (debajo del escenario) */
  .trust{
    margin-top:72px;
    display:flex;flex-wrap:wrap;align-items:center;justify-content:center;
    gap:16px 24px;
  }
  .trust-label{font-size:13px;color:var(--fog);}
  .trust-logos{display:flex;gap:12px;}
  .trust-logo{
    width:120px;height:60px;padding:8px;
    border-radius:12px;
    background:var(--ink-100);
    display:flex;align-items:center;justify-content:center;
  }
  .trust-logo img{max-height:100%;max-width:100%;width:auto;}

  /* Escenario: el logo como nodo central y tres placas de vidrio
     (una por línea de servicio) conectadas por trazos de circuito. */
  .stage{
    position:relative;
    z-index:1;
    max-width:1080px;
    height:440px;
    margin:72px auto 0;
  }
  .stage-traces{position:absolute;inset:0;width:100%;height:100%;overflow:visible;}
  .stage-traces path{fill:none;stroke-width:1.5;vector-effect:non-scaling-stroke;stroke-linecap:round;opacity:.75;}
  .stage-traces .t-ia{stroke:var(--line-ia);}
  .stage-traces .t-web{stroke:var(--line-web);}
  .stage-traces .t-mkt{stroke:var(--line-mkt);}
  .stage-hub{
    position:absolute;
    left:50%;top:0;
    width:72px;height:72px;
    transform:translateX(-50%);
    border-radius:50%;
    display:flex;align-items:center;justify-content:center;
    background:var(--glass-2);
    box-shadow:inset 0 0 0 1px var(--edge-strong), 0 0 6px rgba(186,207,247,0.32), 0 0 32px rgba(23,201,194,0.25);
    -webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);
    z-index:3;
  }
  .stage-hub img{width:42px;height:42px;border-radius:9px;}

  .plate{
    position:absolute;
    text-align:left;
    border-radius:var(--r-card);
    padding:20px;
    background:rgba(12,15,28,0.72);
    -webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);
    box-shadow:var(--elev-card);
  }
  .plate-ia{left:0;top:150px;width:300px;transform:rotate(-5deg);z-index:1;}
  .plate-mkt{right:0;top:150px;width:300px;transform:rotate(5deg);z-index:1;}
  .plate-web{
    left:50%;top:118px;width:420px;
    transform:translateX(-50%);
    z-index:2;
    padding:0;
    overflow:hidden;
    background:var(--deep-glass);
    box-shadow:var(--elev-modal);
  }
  .plate-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:16px;}
  .plate-title{display:flex;align-items:center;gap:8px;font-size:13px;white-space:nowrap;font-weight:500;color:var(--frost);}
  .node{width:8px;height:8px;border-radius:50%;background:var(--canvas);border:1.5px solid currentColor;flex-shrink:0;}
  .node.ia{color:var(--line-ia);}
  .node.mkt{color:var(--line-mkt);}
  .node.web{color:var(--line-web);}
  .badge{
    display:inline-flex;align-items:center;
    font-size:11px;font-weight:500;line-height:1.2;
    color:var(--frost);
    background:rgba(199,211,234,0.12);
    border-radius:var(--r-input);
    padding:4px 8px;
    box-shadow:inset 0 1px 1px rgba(199,211,234,0.12);
    white-space:nowrap;
    flex-shrink:0;
  }

  /* Placa IA: conversación de WhatsApp */
  .chat{display:flex;flex-direction:column;gap:8px;}
  .bubble{
    max-width:85%;
    font-size:13px;line-height:1.4;
    padding:8px 12px;
    border-radius:12px;
  }
  .bubble.in{align-self:flex-start;background:rgba(199,211,234,0.08);color:var(--mist);border-bottom-left-radius:4px;}
  .bubble.out{align-self:flex-end;background:rgba(44,123,229,0.18);color:var(--ice);border-bottom-right-radius:4px;box-shadow:inset 0 0 0 1px rgba(44,123,229,0.3);}
  .chat-done{
    display:flex;align-items:center;gap:8px;
    margin-top:6px;padding-top:12px;
    border-top:1px solid var(--edge);
    font-size:12px;color:var(--fog);
  }
  .chat-done svg{width:14px;height:14px;color:var(--line-mkt);}

  /* Placa Web: navegador con mini landing */
  .browser-bar{
    display:flex;align-items:center;gap:12px;
    padding:12px 16px;
    border-bottom:1px solid var(--edge);
  }
  .dots{display:flex;gap:6px;}
  .dots i{width:9px;height:9px;border-radius:50%;background:var(--steel);}
  .url{
    flex:1;
    font-size:12px;color:var(--fog);
    background:rgba(199,211,234,0.06);
    box-shadow:var(--elev-hair);
    border-radius:var(--r-pill);
    padding:5px 12px;
    text-align:center;
  }
  .mini-page{padding:28px 28px 24px;}
  .mini-page .mini-title{
    font-size:24px;font-weight:500;line-height:1.2;
    background:var(--skywash);
    -webkit-background-clip:text;background-clip:text;color:transparent;
    max-width:14ch;
  }
  .skel{height:8px;border-radius:4px;background:rgba(199,211,234,0.1);margin-top:10px;}
  .skel-long{width:88%;}
  .skel-short{width:64%;}
  .mini-row{display:flex;align-items:center;gap:10px;margin-top:20px;}
  /* Botones del mockup: el mismo tratamiento nodo, a escala mini */
  .mini-btn{
    display:inline-flex;align-items:center;gap:6px;
    font-size:11px;font-weight:600;
    padding:7px 12px;
    border-radius:6px;
    background:var(--teal-400);color:#04140f;
    border:1px solid transparent;
  }
  .mini-btn .btn-dot{width:5px;height:5px;border-width:1px;color:#04140f;}
  .mini-btn.ghost{background:transparent;color:var(--ink-100);border-color:rgba(255,255,255,0.22);}
  .mini-btn.ghost .btn-dot{color:var(--teal-400);}
  .mini-tiles{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:24px;}
  .mini-tiles span{height:56px;border-radius:10px;background:var(--glass);box-shadow:inset 0 1px 1px rgba(199,211,234,0.12), var(--elev-hair);}

  /* Placa Marketing: rendimiento de campaña */
  .bars{
    display:grid;grid-template-columns:repeat(7,1fr);
    align-items:end;gap:8px;
    height:120px;
    padding-bottom:8px;
    border-bottom:1px solid var(--edge);
  }
  .bars i{
    display:block;border-radius:4px 4px 2px 2px;
    background:linear-gradient(180deg, rgba(23,201,194,0.85), rgba(23,201,194,0.15));
  }
  .bars i:nth-child(1){height:28%;}
  .bars i:nth-child(2){height:36%;}
  .bars i:nth-child(3){height:34%;}
  .bars i:nth-child(4){height:52%;}
  .bars i:nth-child(5){height:61%;}
  .bars i:nth-child(6){height:78%;}
  .bars i:nth-child(7){height:92%;}
  .bars-labels{display:grid;grid-template-columns:repeat(7,1fr);gap:8px;margin-top:8px;}
  .bars-labels span{font-size:10px;font-variant-numeric:tabular-nums;color:var(--fog);text-align:center;}
  .plate-foot{display:flex;justify-content:space-between;align-items:center;margin-top:14px;font-size:12px;color:var(--fog);}

  @media (prefers-reduced-motion: no-preference){
    .stage-traces path{stroke-dasharray:600;stroke-dashoffset:600;animation:draw 1.6s ease .2s forwards;}
    .stage-hub{animation:fadeIn .6s ease both;}
    .plate{animation:rise .9s cubic-bezier(.2,.8,.2,1) both;}
    .plate-ia{--r:-5deg;--x:0;animation-delay:.6s;}
    .plate-mkt{--r:5deg;--x:0;animation-delay:.75s;}
    .plate-web{--r:0deg;--x:-50%;animation-delay:.45s;}
  }
  @keyframes draw{to{stroke-dashoffset:0;}}
  @keyframes fadeIn{from{opacity:0;}to{opacity:1;}}
  @keyframes rise{
    from{opacity:0;transform:translateX(var(--x)) translateY(24px) rotate(var(--r));}
    to{opacity:1;transform:translateX(var(--x)) translateY(0) rotate(var(--r));}
  }

  /* ---------- SECCIONES ---------- */
  .section{position:relative;padding:var(--section-gap) 0 0;}
  .section-head{max-width:640px;margin:0 auto 56px;text-align:center;}
  .section-head h2{
    font-size:clamp(1.9rem,3.6vw,2.6rem);
    line-height:1.18;
    letter-spacing:-0.01em;
    text-wrap:balance;
  }
  .section-head .eyebrow + h2{margin-top:20px;}
  .section-head p{margin-top:16px;font-size:17px;line-height:1.6;color:var(--mist);}

  /* ---------- SERVICIOS ---------- */
  /* Ramas en 1/6 y 5/6 del SVG: con el gap de 24px de la grilla, los
     centros de las tarjetas caen ahí si el SVG sobresale 12px por lado. */
  .service-tree{height:56px;margin:0 -12px -4px;}
  .service-tree svg{width:100%;height:100%;display:block;}
  .service-tree path{fill:none;stroke:var(--edge-strong);stroke-width:1;vector-effect:non-scaling-stroke;}
  .services-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;}
  .service{
    position:relative;
    border-radius:var(--r-card);
    padding:28px 24px 24px;
    background:var(--glass);
    box-shadow:var(--elev-card);
    display:flex;flex-direction:column;
  }
  .service::before{
    content:"";
    position:absolute;top:-5px;left:50%;
    width:10px;height:10px;margin-left:-5px;
    border-radius:50%;
    background:var(--canvas);
    border:1.5px solid var(--c);
    box-shadow:0 0 10px var(--c);
  }
  .service.ia{--c:var(--line-ia);}
  .service.mkt{--c:var(--line-mkt);}
  .service.web{--c:var(--line-web);}
  .icon-tile{
    width:56px;height:56px;
    border-radius:50%;
    display:flex;align-items:center;justify-content:center;
    background:var(--glass-2);
    box-shadow:inset 0 1px 1px rgba(216,236,248,0.2), var(--elev-hair);
    color:var(--frost);
    margin-bottom:20px;
  }
  .icon-tile svg{width:24px;height:24px;}
  .service h3{font-size:20px;font-weight:600;line-height:1.3;}
  .service .desc{margin-top:10px;font-size:15px;line-height:1.6;color:var(--fog);}
  .service ul{margin-top:20px;padding-top:16px;border-top:1px solid var(--edge);display:flex;flex-direction:column;gap:10px;flex:1;}
  .service li{position:relative;padding-left:18px;font-size:14px;line-height:1.5;color:var(--mist);}
  .service li::before{
    content:"";position:absolute;left:0;top:.5em;
    width:6px;height:6px;border-radius:50%;
    border:1.5px solid var(--c);
  }

  .service-link{
    margin-top:24px;
    display:inline-flex;gap:6px;
    font-size:14.5px;font-weight:600;
    color:var(--teal-400);
    transition:color .2s ease;
  }
  .service-link:hover{color:var(--ice);}

  /* ---------- CASOS ---------- */
  .cases-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,340px),1fr));gap:24px;}
  .case{
    display:flex;flex-direction:column;
    border-radius:var(--r-card);
    overflow:hidden;
    background:var(--glass);
    box-shadow:var(--elev-card), var(--elev-hair);
  }
  .case-logo{
    height:220px;padding:28px;
    background:var(--ink-100);
    display:flex;align-items:center;justify-content:center;
  }
  .case-logo img{max-height:100%;max-width:100%;width:auto;}
  .case-body{padding:28px;display:flex;flex-direction:column;gap:16px;flex:1;}
  .case-kicker{font-size:12px;font-weight:500;letter-spacing:.08em;text-transform:uppercase;color:var(--fog);}
  .case h3{font-size:24px;font-weight:600;line-height:1.25;}
  .case-text{font-size:15.5px;line-height:1.6;color:var(--mist);text-wrap:pretty;}
  .tags{display:flex;flex-wrap:wrap;gap:8px;}
  .tag{
    display:inline-flex;align-items:center;gap:6px;
    font-size:12px;font-weight:500;
    padding:4px 10px;border-radius:var(--r-pill);
    color:var(--frost);background:rgba(199,211,234,0.1);
  }
  .tag .dot{width:6px;height:6px;border-radius:50%;border:1.5px solid currentColor;}
  .tag .dot.ia{color:var(--line-ia);}
  .tag .dot.mkt{color:var(--line-mkt);}
  .tag .dot.web{color:var(--line-web);}
  .case-metric{
    margin-top:auto;padding-top:20px;
    border-top:1px solid var(--edge);
    display:grid;grid-template-columns:auto minmax(0,1fr);gap:4px 20px;align-items:center;
  }
  .case-metric-num{
    grid-row:span 2;
    font-size:clamp(2.4rem,4vw,3rem);font-weight:500;line-height:1;letter-spacing:-0.02em;
    color:var(--line-web);
  }
  .case-metric-label{font-size:14.5px;font-weight:600;color:var(--ice);}
  .case-metric-note{font-size:13px;color:var(--fog);}
  .case-metric-link{display:flex;flex-direction:column;gap:4px;align-items:flex-start;}
  .case-link{
    display:inline-flex;align-items:center;gap:8px;
    font-size:clamp(1.5rem,2.6vw,1.9rem);font-weight:500;line-height:1.2;
    color:var(--line-web);
    transition:color .2s ease;
  }
  .case-link:hover{color:var(--ice);}
  .case-link span{font-size:.7em;}
  .checklist{display:flex;flex-direction:column;gap:8px;}
  .checklist li{display:flex;gap:10px;align-items:center;font-size:14px;color:var(--mist);}
  .checklist svg{width:16px;height:16px;flex-shrink:0;color:var(--teal-400);}

  /* ---------- PROCESO (línea de tiempo) ---------- */
  .timeline{display:grid;grid-template-columns:repeat(4,1fr);gap:24px;}
  .step{position:relative;text-align:center;padding:0 8px;}
  .step:not(:last-child)::after{
    content:"";
    position:absolute;
    top:28px;left:calc(50% + 36px);
    width:calc(100% + 24px - 72px);
    height:1px;
    background:linear-gradient(90deg,var(--edge-strong),var(--edge));
  }
  .step-num{
    width:56px;height:56px;margin:0 auto 20px;
    border-radius:50%;
    display:flex;align-items:center;justify-content:center;
    font-size:15px;
    font-weight:500;
    font-variant-numeric:tabular-nums;
    color:var(--frost);
    background:var(--glass-2);
    box-shadow:inset 0 1px 1px rgba(216,236,248,0.2), var(--elev-hair);
  }
  .step h3{font-size:18px;font-weight:600;}
  .step p{margin-top:8px;font-size:14px;line-height:1.6;color:var(--fog);max-width:24ch;margin-left:auto;margin-right:auto;}

  /* ---------- POR QUÉ (un solo panel dividido) ---------- */
  .why-panel{
    display:grid;grid-template-columns:repeat(3,1fr);
    border-radius:var(--r-card);
    background:var(--glass);
    box-shadow:inset 0 1px 1px rgba(199,211,234,0.12), inset 0 0 96px rgba(186,215,247,0.05), var(--elev-hair);
    overflow:hidden;
  }
  .why-item{padding:32px 28px;}
  .why-item + .why-item{box-shadow:inset 1px 0 0 var(--edge);}
  .why-item h3{font-size:18px;font-weight:600;line-height:1.35;}
  .why-item p{margin-top:10px;font-size:15px;line-height:1.6;color:var(--fog);}

  /* ---------- CTA ---------- */
  .cta{position:relative;padding:var(--section-gap) 0;overflow:hidden;}
  .cta .spotlight{top:-40px;height:700px;opacity:.7;}
  .cta-card{
    position:relative;z-index:1;
    max-width:720px;margin:0 auto;
    text-align:center;
    border-radius:var(--r-card);
    padding:clamp(32px,6vw,56px) clamp(24px,5vw,48px);
    background:var(--deep-glass);
    box-shadow:var(--elev-modal), var(--elev-hair);
  }
  .cta-card h2{
    margin-top:20px;
    font-size:clamp(1.9rem,4vw,2.6rem);
    line-height:1.18;
    background:var(--skywash);
    -webkit-background-clip:text;background-clip:text;color:transparent;
  }
  .cta-card p{margin:16px auto 0;max-width:30rem;font-size:17px;color:var(--mist);}
  .cta-actions{display:flex;gap:12px;justify-content:center;flex-wrap:wrap;margin-top:32px;}
  .cta-card .cta-mail{margin-top:20px;font-size:13px;color:var(--fog);}
  .cta-mail a{color:var(--frost);border-bottom:1px solid var(--edge-strong);transition:border-color .2s ease;}
  .cta-mail a:hover{border-color:var(--frost);}

  /* ---------- FOOTER ---------- */
  footer{position:relative;padding:64px 0 32px;}
  footer::before{content:"";position:absolute;top:0;left:0;right:0;height:1px;background:var(--hairline-fade);}
  .footer-top{display:flex;justify-content:space-between;gap:48px;flex-wrap:wrap;margin-bottom:48px;}
  .footer-brand{max-width:22rem;}
  .footer-brand p{margin-top:16px;font-size:14px;line-height:1.6;color:var(--fog);}
  .footer-cols{display:flex;gap:56px;flex-wrap:wrap;}
  .footer-col h3{font-size:13px;font-weight:500;color:var(--mist);margin-bottom:16px;}
  .footer-col ul{display:flex;flex-direction:column;gap:10px;}
  .footer-col a,.footer-col li > span{font-size:14px;color:var(--fog);}
  .footer-col a{transition:color .2s ease;}
  .footer-col a:hover{color:var(--ice);}
  .social-row{display:flex;gap:8px;margin-top:20px;}
  .footer-col .social-link{
    width:36px;height:36px;
    display:inline-flex;align-items:center;justify-content:center;
    border-radius:50%;
    color:var(--fog);
    background:var(--glass);
    box-shadow:var(--elev-hair);
    transition:color .2s ease, background .2s ease;
  }
  .social-link svg{width:16px;height:16px;}
  .footer-col .social-link:hover{color:var(--ice);background:var(--glass-2);}
  .footer-bottom{
    display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;
    padding-top:24px;border-top:1px solid var(--edge);
    font-size:13px;color:var(--fog);
  }

  /* ---------- AVISO DE COOKIES ---------- */
  .cookie-banner{
    position:fixed;
    left:0; right:0; bottom:0;
    z-index:110;
    background:var(--deep-glass);
    -webkit-backdrop-filter:blur(16px) saturate(140%);
            backdrop-filter:blur(16px) saturate(140%);
    box-shadow:0 -1px 0 var(--edge), 0 -20px 40px -20px rgba(0,0,0,0.6);
    padding:16px 0;
  }
  .cookie-banner[hidden]{display:none;}
  .cookie-inner{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:24px;
  }
  .cookie-inner p{color:var(--mist);font-size:14px;line-height:1.6;max-width:44rem;}
  .cookie-actions{
    display:flex;
    align-items:center;
    gap:20px;
    flex-shrink:0;
  }
  .cookie-link{
    color:var(--teal-400);
    font-size:14px;
    font-weight:500;
    text-decoration:underline;
    text-underline-offset:3px;
  }
  .cookie-link:hover{color:var(--ice);}
  .cookie-actions .btn-primary,
  .cookie-actions .btn-ghost{min-height:44px;padding-top:.6rem;padding-bottom:.6rem;font-size:14px;}

  /* ---------- BOTÓN FLOTANTE DE WHATSAPP (solo móvil) ---------- */
  .wa-fab{
    display:none;
    position:fixed;right:20px;bottom:20px;z-index:105;
    width:56px;height:56px;border-radius:50%;
    background:var(--teal-400);color:#04140f;
    align-items:center;justify-content:center;
    box-shadow:0 12px 26px -8px rgba(2,8,16,0.7);
  }
  .wa-fab svg{width:26px;height:26px;}

  /* ---------- PÁGINA LEGAL ---------- */
  .legal{padding:clamp(128px,14vw,160px) 0 var(--section-gap);}
  .legal .section-head{margin:0 0 40px;text-align:left;max-width:46rem;}
  .legal .section-head h1{font-size:clamp(1.7rem,3vw,2.3rem);line-height:1.2;letter-spacing:-0.01em;}
  .legal .section-head p{font-size:16px;}
  .legal .section-head .legal-meta{margin-top:10px;color:var(--fog);font-size:14px;}
  .legal-body{
    max-width:46rem;
    border-radius:var(--r-card);
    padding:clamp(24px,5vw,48px);
    background:var(--glass);
    box-shadow:inset 0 1px 1px rgba(199,211,234,0.12), inset 0 0 96px rgba(186,215,247,0.05), var(--elev-hair);
  }
  .legal-body h2{
    font-size:clamp(1.05rem,1.6vw,1.2rem);
    font-weight:600;
    line-height:1.35;
    margin:36px 0 12px;
    padding-top:28px;
    border-top:1px solid var(--edge);
  }
  .legal-body h2:first-child{margin-top:0;padding-top:0;border-top:0;}
  .legal-body p,
  .legal-body li{color:var(--mist);font-size:15px;line-height:1.75;}
  .legal-body p + p{margin-top:12px;}
  .legal-body ul{display:flex;flex-direction:column;gap:8px;margin-top:12px;}
  .legal-body ul + p{margin-top:12px;}
  .legal-body li{position:relative;padding-left:20px;}
  .legal-body li::before{
    content:"";
    position:absolute;
    left:0; top:0.72em;
    width:6px;height:6px;
    border-radius:50%;
    border:1.5px solid var(--teal-400);
  }
  .legal-body ul.legal-alpha li{padding-left:0;}
  .legal-body ul.legal-alpha li::before{display:none;}
  .legal-body strong{color:var(--ice);font-weight:600;}
  .legal-body a{color:var(--teal-400);text-decoration:underline;text-underline-offset:3px;}
  .legal-body a:hover{color:var(--ice);}
  .legal-body a[href^="tel:"]{white-space:nowrap;}

  /* ---------- PÁGINAS DE ERROR (403 · 404 · 500 · 503) ---------- */
  .error-page{min-height:100vh;display:flex;flex-direction:column;}
  .error-ia{--c:var(--line-ia);}
  .error-mkt{--c:var(--line-mkt);}
  .error-web{--c:var(--line-web);}
  .error-header{position:relative;z-index:2;padding:20px 0;}
  .error-main{
    position:relative;flex:1;
    display:flex;align-items:center;
    padding:32px 0 var(--section-gap);
    text-align:center;
  }
  .error-content{position:relative;z-index:1;max-width:640px;}
  .error-code{
    margin-top:24px;
    font-size:clamp(6rem,24vw,11rem);
    font-weight:600;line-height:1;letter-spacing:-0.04em;
    background:var(--skywash);
    -webkit-background-clip:text;background-clip:text;
    color:transparent;
  }
  .error-trace{
    position:relative;display:block;
    width:1.5px;height:40px;margin:12px auto 24px;
    background:linear-gradient(180deg,var(--c),transparent);
  }
  .error-trace::before{
    content:"";
    position:absolute;top:-5px;left:50%;
    width:10px;height:10px;margin-left:-5px;
    border-radius:50%;
    background:var(--canvas);
    border:1.5px solid var(--c);
    box-shadow:0 0 10px var(--c);
  }
  .error-content h1{font-size:clamp(1.6rem,3.4vw,2.2rem);line-height:1.2;letter-spacing:-0.01em;text-wrap:balance;}
  .error-text{margin:16px auto 0;max-width:32rem;font-size:17px;line-height:1.6;color:var(--mist);text-wrap:pretty;}
  .error-actions{display:flex;gap:12px;justify-content:center;flex-wrap:wrap;margin-top:32px;}
  .error-links{display:flex;gap:4px;justify-content:center;flex-wrap:wrap;margin-top:24px;}
  .error-links a{font-size:14px;color:var(--fog);padding:8px 14px;border-radius:var(--r-pill);transition:color .2s ease, background .2s ease;}
  .error-links a:hover{color:var(--ice);background:var(--glass-2);}
  .error-footer{position:relative;padding:24px 0;text-align:center;font-size:13px;color:var(--fog);}
  .error-footer::before{content:"";position:absolute;top:0;left:0;right:0;height:1px;background:var(--hairline-fade);}

  /* ---------- RESPONSIVE ---------- */
  @media (max-width: 980px){
    .plate-ia,.plate-mkt{width:260px;}
    .plate-web{width:380px;}
  }
  @media (max-width: 820px){
    .service-tree{display:none;}
    .services-grid{grid-template-columns:1fr;gap:32px;}
    .timeline{grid-template-columns:1fr 1fr;row-gap:48px;}
    .step:nth-child(2)::after{display:none;}
    .why-panel{grid-template-columns:1fr;}
    .why-item + .why-item{box-shadow:inset 0 1px 0 var(--edge);}
    .stage{height:auto;margin-top:56px;padding-top:96px;}
    .stage-traces,.plate-ia,.plate-mkt{display:none;}
    .plate-web{position:relative;left:auto;top:auto;width:100%;max-width:420px;margin:0 auto;transform:none;}
    .stage-hub::after{
      content:"";position:absolute;top:72px;left:50%;
      width:1.5px;height:24px;background:var(--line-web);opacity:.75;
    }
  }
  @media (max-width: 820px) and (prefers-reduced-motion: no-preference){
    .plate-web{--x:0;}
  }
  @media (max-width: 680px){
    .nav-links{display:none;}
    .nav-toggle{display:inline-flex;}
    .timeline{grid-template-columns:1fr;}
    .step::after{display:none;}
    .eyebrow{gap:10px;font-size:12px;}
    .eyebrow::before,.eyebrow::after{width:24px;}
    .cookie-inner{flex-direction:column;align-items:flex-start;gap:14px;}
    .cookie-actions{gap:10px;}
    .wa-fab{display:flex;}
    .wa-fab[hidden]{display:none;}
  }

  /* ---------- RECURSOS Y DESCARGAS ---------- */
  :root{--error:#f4a3a3;}
  .resources{padding:clamp(128px,14vw,160px) 0 var(--section-gap);}
  .resources-head{margin-bottom:48px;}
  .resources-head .eyebrow{margin-bottom:20px;}
  .resources-head h1{font-size:clamp(1.9rem,3.8vw,2.8rem);line-height:1.18;letter-spacing:-0.01em;text-wrap:balance;}
  .resource-card h2{font-size:24px;font-weight:600;line-height:1.25;}
  .resource-btn{align-self:flex-start;margin-top:auto;}

  .download-grid{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:clamp(32px,6vw,72px);align-items:start;}
  .download-copy .eyebrow{margin-bottom:20px;justify-content:flex-start;}
  .download-copy .eyebrow::before{display:none;}
  .download-copy h1{font-size:clamp(1.9rem,3.6vw,2.7rem);line-height:1.18;letter-spacing:-0.01em;text-wrap:balance;}
  .download-text{margin-top:18px;font-size:17px;line-height:1.65;color:var(--mist);text-wrap:pretty;}
  .download-copy .checklist{margin-top:24px;}
  .download-card,.download-missing{
    border-radius:var(--r-card);
    padding:clamp(24px,4vw,40px);
    background:var(--glass);
    box-shadow:inset 0 1px 1px rgba(199,211,234,0.12), inset 0 0 96px rgba(186,215,247,0.05), var(--elev-hair);
  }
  .download-missing{grid-column:1 / -1;max-width:560px;display:flex;flex-direction:column;gap:14px;align-items:flex-start;}
  .download-missing[hidden],.lead-done[hidden],.lead-form[hidden]{display:none;}
  .download-card h2,.download-missing h2{font-size:22px;font-weight:600;line-height:1.3;}
  .form-lede{margin:8px 0 22px;font-size:15px;line-height:1.6;color:var(--mist);}

  .lead-form{display:flex;flex-direction:column;gap:18px;}
  .lead-form .form-lede{margin-bottom:4px;}
  .field{display:flex;flex-direction:column;gap:7px;}
  .field label{font-size:14px;font-weight:500;color:var(--frost);}
  .field input[type="text"],.field input[type="tel"],.field input[type="email"]{
    width:100%;
    font:inherit;font-size:16px;
    color:var(--ink-100);
    background:var(--glass-2);
    border:0;border-radius:9px;
    padding:0.85rem 1rem;
    box-shadow:inset 0 0 0 1px var(--edge);
    transition:box-shadow .2s ease;
  }
  .field input::placeholder{color:var(--fog);opacity:.8;}
  .field input:focus{outline:none;box-shadow:inset 0 0 0 1.5px var(--teal-400);}
  .field.invalid input[type="text"],.field.invalid input[type="tel"],.field.invalid input[type="email"]{box-shadow:inset 0 0 0 1.5px var(--error);}
  .field-error{min-height:0;font-size:13px;line-height:1.4;color:var(--error);}
  .field-error:empty{display:none;}
  .field-hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden;}
  .field-check{display:grid;grid-template-columns:20px 1fr;column-gap:12px;row-gap:6px;align-items:start;}
  .field-check input{width:18px;height:18px;margin-top:3px;accent-color:var(--teal-400);}
  .field-check label{font-size:13.5px;font-weight:400;line-height:1.55;color:var(--mist);}
  .field-check label a{color:var(--teal-400);text-decoration:underline;text-underline-offset:3px;}
  .field-check .field-error{grid-column:2;}
  .lead-form .btn-primary{align-self:flex-start;}
  .lead-form .btn-primary:disabled{opacity:.6;cursor:progress;}
  .form-status{font-size:14px;line-height:1.5;color:var(--error);}
  .form-status:empty{display:none;}
  .lead-done{display:flex;flex-direction:column;gap:14px;align-items:flex-start;}
  .lead-done .form-lede{margin:0;}
  .done-next{margin-top:12px;font-size:15px;color:var(--mist);}

  @media (max-width: 820px){
    .download-grid{grid-template-columns:1fr;}
  }
