:root {
    --ink: #010101;
    --ink-2: #16181a;
    --pink: #f036e1;
    --violet: #9149ff;
    --paper: #f4eef6;
    --paper-dim: rgba(244, 238, 246, 0.62);
    --paper-faint: rgba(244, 238, 246, 0.42);
    --line: rgba(255, 255, 255, 0.08);
    --line-strong: rgba(255, 255, 255, 0.16);
    --glass-bg: rgba(255, 255, 255, 0.035);
    --glass-bg-strong: rgba(255, 255, 255, 0.06);
    --blur: 14px;
  }
  * { box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  html, body {
    margin: 0; padding: 0;
    background: var(--ink); color: var(--paper);
    max-width: 100vw;
    /* Doble guarda contra overflow horizontal: hidden como fallback y luego
       clip (más moderno, no genera un nuevo contexto de scroll). Evita el
       "espacio fantasma" al hacer pinch-zoom-out en móvil. */
    overflow-x: hidden;
    overflow-x: clip;
  }
  body {
    font-family: 'DM Sans', system-ui, sans-serif;
    -webkit-font-smoothing: antialiased;
    line-height: 1.45;
    letter-spacing: -0.005em;
  }
  .serif-it { font-family: 'DM Sans', system-ui, sans-serif; font-style: italic; font-weight: 500; }
  .serif-it.grad, .grad.serif-it { font-weight: 900; letter-spacing: -0.035em; }
  .mono { font-family: 'JetBrains Mono', monospace; }
  a { color: inherit; }
  img { max-width: 100%; }
  /* Offscreen sections skip rendering when not visible (huge perf win) */
  main > section { content-visibility: auto; contain-intrinsic-size: 1px 800px; }
  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  }

  /* ====== Backdrop: static gradient (animated orbs replaced with painted-once
     radial gradients — same look, ~0 GPU cost) ====== */
  .backdrop {
    position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none;
    background:
      radial-gradient(700px 700px at 12% 18%, rgba(240,54,225,0.14), transparent 62%),
      radial-gradient(820px 820px at 88% 48%, rgba(145,73,255,0.18), transparent 62%),
      radial-gradient(600px 600px at 50% 110%, rgba(240,54,225,0.10), transparent 65%),
      radial-gradient(1200px 800px at 100% 0%, rgba(145,73,255,0.06), transparent 60%),
      linear-gradient(180deg, #010101 0%, #0a070d 40%, #16181a 100%);
  }
  .orb-c { display: none; }
  .grain {
    position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: .18;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1   0 0 0 0 1   0 0 0 0 1   0 0 0 0.35 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  }

  /* ====== Content scaffolding ====== */
  main, header, footer { position: relative; z-index: 2; }
  .skip-link {
    position: absolute; left: -9999px; top: 0; z-index: 9999;
    background: var(--paper); color: var(--ink); padding: 12px 20px;
    border-radius: 8px; font-weight: 600; text-decoration: none;
  }
  .skip-link:focus { left: 16px; top: 16px; }
  /* Visualmente oculto pero accesible para screen readers y crawlers SEO.
     Lo usamos para el <h1> semántico con keywords arriba del Hero, sin tocar
     el diseño visual existente. */
  .visually-hidden {
    position: absolute;
    width: 1px; height: 1px;
    margin: -1px; padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
  .container { max-width: 1280px; margin: 0 auto; padding: 0 40px; }
  @media (max-width: 760px) { .container { padding: 0 22px; } }

  /* ====== Glass primitive ======
     backdrop-filter is the single biggest scroll cost on this site (the browser
     re-blurs behind every glass element on each scroll frame). The default
     .glass keeps the look via a flat translucent background; backdrop-filter is
     opted in only on the few elements where it really matters (nav, hero card,
     service hero card, floating chips). */
  .glass {
    position: relative;
    background: rgba(255,255,255,0.045);
    border: 1px solid var(--line);
    border-radius: 22px;
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,0.10),
      0 24px 50px -30px rgba(0,0,0,0.55);
  }
  /* hero-chip se quedó FUERA del blur a propósito: las 3 píldoras del hero
     tienen animación float perpetua + estaban con backdrop-filter, así que
     cada frame mientras scroll el navegador re-blurea su backdrop. Las dejé
     con bg translúcido plano del .glass — el costo de scroll se acerca a 0
     y visualmente cambian apenas (ya hay otras tarjetas glass sin blur). */
  .nav.glass, .hero-card-main, .svc-hero-card, .glass-blur {
    backdrop-filter: blur(var(--blur)) saturate(140%);
    -webkit-backdrop-filter: blur(var(--blur)) saturate(140%);
    background: var(--glass-bg-strong);
  }
  .glass-strong {
    background: var(--glass-bg-strong);
  }
  /* Sharp 1px border highlight */
  .glass::before {
    content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
    background: linear-gradient(180deg, rgba(255,255,255,0.28), rgba(255,255,255,0.04) 30%, rgba(255,255,255,0) 60%, rgba(255,255,255,0.06));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor; mask-composite: exclude;
  }

  /* ====== Brand gradient text ====== */
  .grad {
    background: linear-gradient(110deg, #f036e1 0%, #9149ff 100%);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
  }

  /* ====== Header / Nav ====== */
  .nav-wrap { position: sticky; top: 18px; z-index: 50; padding: 0 40px; }
  @media (max-width: 760px) { .nav-wrap { padding: 0 16px; top: 12px; } }
  .nav {
    display: flex; align-items: center; justify-content: space-between;
    padding: 12px 16px 12px 18px; border-radius: 999px;
    max-width: 1280px; margin: 18px auto 0;
  }
  .brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--paper); }
  .brand img { height: 32px; width: auto; display: block; }
  .brand-name { font-weight: 600; font-size: 16px; letter-spacing: -0.01em; }
  .brand-name em { font-style: normal; font-weight: 400; opacity: .58; }
  .nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
  .nav a.link {
    display: block; padding: 8px 14px; border-radius: 999px; color: var(--paper-dim);
    text-decoration: none; font-size: 14px; font-weight: 500; transition: color .25s, background .25s;
  }
  .nav a.link:hover, .nav a.link.active { color: var(--paper); background: rgba(255,255,255,0.06); }

  /* ====== Nav dropdown ====== */
  .nav .has-dropdown { position: relative; }
  .nav .has-dropdown > .link { display: inline-flex; align-items: center; gap: 6px; }
  .nav .has-dropdown > .link::after {
    content: ""; width: 6px; height: 6px;
    border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg) translate(-2px, -2px); opacity: 0.55;
    transition: transform .22s ease, opacity .2s ease;
  }
  .nav .has-dropdown:hover > .link::after,
  .nav .has-dropdown:focus-within > .link::after { transform: rotate(225deg) translate(-2px, -2px); opacity: 1; }
  .nav-dropdown {
    position: absolute; top: calc(100% + 14px); left: 50%;
    transform: translateX(-50%) translateY(-6px);
    min-width: 460px; padding: 10px; border-radius: 18px;
    background: rgba(14,8,18,0.92);
    -webkit-backdrop-filter: blur(22px) saturate(160%);
    backdrop-filter: blur(22px) saturate(160%);
    border: 1px solid var(--line-strong);
    box-shadow: 0 30px 60px -20px rgba(0,0,0,0.65), inset 0 1px 0 rgba(255,255,255,0.08);
    display: grid; grid-template-columns: 1fr 1fr; gap: 4px;
    opacity: 0; visibility: hidden;
    transition: opacity .22s ease, transform .22s ease, visibility 0s linear .22s;
    z-index: 60;
  }
  .nav .has-dropdown:hover .nav-dropdown,
  .nav .has-dropdown:focus-within .nav-dropdown {
    opacity: 1; visibility: visible;
    transform: translateX(-50%) translateY(0);
    transition: opacity .22s ease, transform .22s ease, visibility 0s linear 0s;
  }
  .nav-dropdown::before {
    content: ""; position: absolute; top: -14px; left: 0; right: 0; height: 14px;
  }
  .nav-dropdown a {
    display: flex; align-items: center; gap: 12px;
    padding: 10px 12px; border-radius: 12px;
    color: var(--paper); text-decoration: none;
    font-size: 13.5px; font-weight: 500; line-height: 1.3;
    transition: background .18s ease, transform .18s ease;
  }
  .nav-dropdown a:hover { background: rgba(255,255,255,0.06); transform: translateX(2px); }
  .nav-dropdown .ic {
    width: 34px; height: 34px; border-radius: 10px;
    display: grid; place-items: center; flex-shrink: 0; color: var(--paper);
    background: linear-gradient(135deg, rgba(240,54,225,0.20), rgba(145,73,255,0.20));
    border: 1px solid var(--line-strong);
  }
  .nav-dropdown .meta { font-size: 11px; color: var(--paper-faint); margin-top: 2px; font-weight: 400; letter-spacing: 0.02em; }
  @media (max-width: 920px) {
    .nav-dropdown { display: none; }
  }
  .nav-cta {
    display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px;
    border-radius: 999px; font-weight: 600; font-size: 14px; text-decoration: none;
    background: linear-gradient(110deg, #f036e1, #9149ff);
    color: #fff; box-shadow: 0 12px 30px -10px rgba(240,54,225,0.55), inset 0 1px 0 rgba(255,255,255,0.4);
    transition: transform .25s, box-shadow .25s;
  }
  .nav-cta:hover { transform: translateY(-1px); box-shadow: 0 18px 40px -10px rgba(145,73,255,0.7), inset 0 1px 0 rgba(255,255,255,0.45); }
  .hamburger { display: none; width: 40px; height: 40px; border-radius: 999px; background: rgba(255,255,255,0.06); border: 1px solid var(--line); align-items: center; justify-content: center; cursor: pointer; color: var(--paper); }
  @media (max-width: 920px) {
    .nav ul, .nav .nav-cta-wrap { display: none; }
    .hamburger { display: inline-flex; }
  }
  .mobile-overlay {
    position: fixed; inset: 0; background: rgba(1,1,1,0.86); backdrop-filter: blur(20px); z-index: 100;
    display: flex; flex-direction: column; padding: 80px 32px 32px; gap: 8px;
    overflow-y: auto; overflow-x: hidden;
    overscroll-behavior: contain;
    transform: translateY(-100%); transition: transform .4s cubic-bezier(.7,.05,.2,1);
  }
  .mobile-overlay.open { transform: translateY(0); }
  .mobile-overlay a { color: var(--paper); text-decoration: none; font-size: 28px; font-weight: 500; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .mobile-overlay .mob-sub-group {
    padding: 12px 0 18px;
    border-bottom: 1px solid var(--line);
    display: flex; flex-direction: column; gap: 12px;
  }
  .mobile-overlay .mob-sub-head {
    font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
    color: var(--paper-faint); font-weight: 500;
  }
  .mobile-overlay .mob-sub {
    display: flex; flex-direction: column; gap: 4px;
    padding: 10px;
    border-radius: 18px;
    background:
      radial-gradient(120% 90% at 100% 0%, rgba(240,54,225,0.10), transparent 60%),
      radial-gradient(120% 90% at 0% 100%, rgba(145,73,255,0.12), transparent 65%),
      rgba(255,255,255,0.03);
    border: 1px solid var(--line-strong);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
  }
  .mobile-overlay .mob-sub a {
    display: flex; align-items: center; gap: 14px;
    font-size: 16px; font-weight: 500;
    padding: 12px 12px;
    border-radius: 12px;
    border-bottom: none;
    color: var(--paper);
    transition: background .18s ease, transform .18s ease;
  }
  .mobile-overlay .mob-sub a:hover,
  .mobile-overlay .mob-sub a:active {
    background: rgba(255,255,255,0.06);
    transform: translateX(2px);
  }
  .mobile-overlay .mob-sub a .ic {
    width: 36px; height: 36px; border-radius: 11px;
    display: grid; place-items: center; flex-shrink: 0;
    background: linear-gradient(135deg, rgba(240,54,225,0.22), rgba(145,73,255,0.22));
    border: 1px solid var(--line-strong);
    color: var(--paper);
  }
  .mobile-overlay a.mob-cta {
    margin-top: 28px;
    align-self: flex-start;
    display: inline-flex; align-items: center; gap: 10px;
    font-size: 14px; font-weight: 600;
    padding: 12px 20px; border-radius: 999px;
    background: linear-gradient(110deg, #f036e1, #9149ff);
    color: #fff;
    border-bottom: none;
    box-shadow: 0 10px 24px -8px rgba(240,54,225,0.45);
  }
  .mobile-overlay .close { position: absolute; top: 22px; right: 22px; width: 44px; height: 44px; border-radius: 999px; background: rgba(255,255,255,0.06); border: 1px solid var(--line); display: inline-flex; align-items: center; justify-content: center; color: var(--paper); cursor: pointer; }

  /* ====== Hero ====== */
  .hero { padding: 80px 0 32px; position: relative; }
  .hero-row { display: grid; grid-template-columns: 1.3fr 1fr; gap: 56px; align-items: center; }
  @media (max-width: 1024px) { .hero-row { grid-template-columns: 1fr; gap: 36px; } }
  .eyebrow {
    display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px;
    border-radius: 999px; border: 1px solid var(--line-strong);
    background: rgba(255,255,255,0.04); backdrop-filter: blur(12px);
    font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--paper-dim);
  }
  .eyebrow .dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: #5ed29c; box-shadow: 0 0 12px #5ed29c;
    animation: pulse 4s ease-in-out infinite;
    will-change: opacity;
  }
  @keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .55; } }
  .hero-title {
    font-size: clamp(44px, 6.2vw, 92px); line-height: 1; letter-spacing: -0.028em;
    font-weight: 500; margin: 22px 0 24px;
  }
  .hero-title .grad { display: inline-block; }
  .hero-sub { font-size: clamp(15px, 1.2vw, 18px); color: var(--paper-dim); max-width: 540px; line-height: 1.55; }
  .hero-ctas { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; }
  .btn {
    display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: 999px;
    font-weight: 600; font-size: 14px; text-decoration: none; cursor: pointer; border: none;
    transition: transform .25s, box-shadow .25s, background .25s;
  }
  .btn-primary {
    background: linear-gradient(110deg, #f036e1, #9149ff); color: #fff;
    box-shadow: 0 14px 34px -10px rgba(240,54,225,0.55), inset 0 1px 0 rgba(255,255,255,0.35);
  }
  .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 22px 44px -12px rgba(145,73,255,0.7), inset 0 1px 0 rgba(255,255,255,0.45); }
  .btn-ghost {
    background: rgba(255,255,255,0.04); color: var(--paper); border: 1px solid var(--line-strong);
    backdrop-filter: blur(12px);
  }
  .btn-ghost:hover { background: rgba(255,255,255,0.08); transform: translateY(-2px); }

  /* Hero visual card */
  .hero-visual { position: relative; min-height: 480px; }
  .hero-card-main {
    padding: 28px; border-radius: 26px; position: relative; aspect-ratio: 4/5; max-width: 460px; margin-left: auto;
    background:
      radial-gradient(120% 80% at 100% 0%, rgba(240,54,225,0.18), transparent 60%),
      radial-gradient(120% 90% at 0% 100%, rgba(145,73,255,0.22), transparent 65%),
      rgba(255,255,255,0.04);
    overflow: hidden;
  }
  .hero-card-main .logo-wm {
    position: absolute; right: -40px; bottom: -40px; width: 380px; opacity: .22; filter: blur(0.5px);
    transform: rotate(-8deg);
  }
  .hero-card-main .head-row { display: flex; justify-content: space-between; align-items: center; }
  .hero-card-main .meta { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--paper-faint); }
  .hero-stat { position: absolute; left: 28px; bottom: 28px; }
  .hero-stat .num { font-size: 64px; line-height: 1; letter-spacing: -0.04em; font-weight: 500; }
  .hero-stat .lbl { font-size: 12px; color: var(--paper-dim); margin-top: 6px; max-width: 220px; }

  .hero-chip {
    position: absolute; padding: 14px 18px; border-radius: 18px; display: flex; align-items: center; gap: 12px;
    min-width: 200px;
  }
  .hero-chip .ic { width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; flex-shrink: 0; }
  .hero-chip .ic.pink { background: linear-gradient(135deg, #f036e1, #9149ff); }
  .hero-chip .ic.ink { background: rgba(255,255,255,0.06); border: 1px solid var(--line); }
  .hero-chip .t-1 { font-size: 13px; font-weight: 500; }
  .hero-chip .t-2 { font-size: 11px; color: var(--paper-faint); margin-top: 2px; }
  .hero-chip.a, .hero-chip.b, .hero-chip.c { will-change: transform; }
  .hero-chip.a { top: 14%; left: -32px; animation: float 14s ease-in-out infinite alternate; }
  .hero-chip.b { top: 56%; left: -50px; animation: float 16s ease-in-out infinite alternate-reverse; }
  .hero-chip.c { top: 38%; right: -20px; animation: float 18s ease-in-out infinite alternate; }
  @keyframes float {
    0%   { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(0, -8px, 0); }
  }
  @media (max-width: 760px) {
    .hero-chip.a, .hero-chip.b, .hero-chip.c { display: none; }
    .hero-card-main { aspect-ratio: 1.1/1; }
  }

  .hero-marquee {
    margin-top: 28px; padding: 12px 20px; border-radius: 22px;
    display: flex; align-items: center; gap: 28px; overflow: hidden;
  }
  .hero-marquee .lbl {
    font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
    color: var(--paper-faint); flex-shrink: 0;
  }
  /* Pista de la marquee: animación pura translateX en GPU.
     Sin fade de bordes (overflow:hidden recorta limpio — los fades en
     gradiente oscuro chocaban con el fondo glass del contenedor). */
  .marquee-row {
    position: relative; flex: 1; min-width: 0; overflow: hidden;
  }
  .marquee-track {
    display: flex; gap: 36px; flex-shrink: 0; width: max-content;
    padding-right: 36px;
    animation: marquee 38s linear infinite;
    will-change: transform;
  }
  .marquee-track:hover { animation-play-state: paused; }
  .marquee-track .pill {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 14px; border-radius: 999px;
    background: rgba(255,255,255,0.04); border: 1px solid var(--line);
    font-size: 13px; color: var(--paper-dim);
    white-space: nowrap;
  }
  .marquee-track .pill-dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: linear-gradient(135deg, #f036e1, #9149ff);
    display: inline-block; flex-shrink: 0;
  }
  @keyframes marquee {
    from { transform: translate3d(0, 0, 0); }
    to   { transform: translate3d(-50%, 0, 0); }
  }
  @media (max-width: 700px) {
    .hero-marquee {
      margin-top: 6px; margin-bottom: 0; padding: 8px 12px; gap: 4px;
      flex-direction: column; align-items: stretch;
    }
    .hero-marquee .lbl { padding: 0 4px; font-size: 10px; }
    .marquee-track { gap: 22px; padding-right: 22px; animation-duration: 26s; }
    .marquee-track .pill { font-size: 12px; padding: 6px 12px; }
    .hero { padding-bottom: 8px; }
    .hero + .section, #nosotros { padding-top: 36px; }
  }
  @media (prefers-reduced-motion: reduce) {
    .marquee-track { animation: none; }
  }

  /* ====== Section header ====== */
  .section { padding: 100px 0; position: relative; }
  @media (max-width: 760px) { .section { padding: 70px 0; } }
  .sec-head { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 48px; }
  @media (max-width: 760px) { .sec-head { flex-direction: column; align-items: start; } }
  .sec-head h2 { font-size: clamp(44px, 6.2vw, 92px); line-height: 1; letter-spacing: -0.028em; margin: 0; font-weight: 500; max-width: 900px; }
  .sec-tag { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--paper-faint); }
  .sec-tag .num { color: var(--paper); font-family: 'JetBrains Mono', monospace; margin-right: 8px; }
  .sec-side { color: var(--paper-dim); font-size: 14px; max-width: 360px; }

  /* ====== Nosotros ====== */
  .nos-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px; }
  @media (max-width: 900px) { .nos-grid { grid-template-columns: 1fr; } }
  .nos-card { padding: 36px; }
  .nos-card.lead { display: flex; flex-direction: column; justify-content: space-between; gap: 32px; min-height: 460px; }
  .nos-card.lead .quote {
    font-size: clamp(22px, 2.2vw, 30px); line-height: 1.25; letter-spacing: -0.015em; font-weight: 400;
  }
  .nos-card.lead .quote em { font-style: italic; color: #f7c8f3; font-weight: 400; }
  .meta-row { display: flex; gap: 24px; flex-wrap: wrap; }
  .meta-row .m { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--paper-faint); }
  .meta-row .m b { display: block; color: var(--paper); font-size: 32px; letter-spacing: -0.02em; margin-top: 8px; font-weight: 500; }
  .nos-grid-right { display: grid; grid-template-rows: 1fr 1fr; gap: 24px; }
  .nos-mini { padding: 28px; display: flex; flex-direction: column; justify-content: space-between; gap: 18px; }
  .nos-mini .label { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--paper-faint); }
  .nos-mini .big { font-size: 22px; line-height: 1.2; letter-spacing: -0.01em; }
  .nos-mini .arr { width: 38px; height: 38px; border-radius: 999px; border: 1px solid var(--line-strong); display: grid; place-items: center; }

  /* ====== Services ====== */
  .serv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
  @media (max-width: 1024px) { .serv-grid { grid-template-columns: repeat(2, 1fr); } }
  @media (max-width: 700px) { .serv-grid { grid-template-columns: 1fr; } }
  .serv-card {
    padding: 28px; min-height: 320px;
    display: flex; flex-direction: column; gap: 20px; position: relative; cursor: pointer;
    transition: transform .35s cubic-bezier(.2,.7,.2,1), background .35s;
    text-decoration: none; color: var(--paper);
  }
  .serv-card:hover { transform: translateY(-6px); background: rgba(255,255,255,0.07); }
  .serv-card .num { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--paper-faint); letter-spacing: 0.18em; text-decoration: none; }
  .serv-card .ic-box {
    width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center;
    background: linear-gradient(135deg, rgba(240,54,225,0.16), rgba(145,73,255,0.16));
    border: 1px solid var(--line-strong);
  }
  .serv-card h3 { font-size: 26px; line-height: 1.1; letter-spacing: -0.02em; margin: 0; font-weight: 600; text-decoration: none; }
  .serv-card p { color: var(--paper-dim); font-size: 14px; line-height: 1.55; margin: 0; flex: 1; text-decoration: none; }
  .serv-card .more {
    display: inline-flex; align-items: center; gap: 8px; font-size: 12px;
    color: var(--paper-dim); letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none;
  }
  .serv-card .more .arrow { display: inline-block; transition: transform .25s; }
  .serv-card:hover .more { color: var(--paper); }
  .serv-card:hover .more .arrow { transform: translateX(4px); }
  .serv-card * { text-decoration: none !important; }

  /* Big banner CTA */
  .banner {
    padding: 64px; border-radius: 28px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 36px; align-items: center;
    background:
      radial-gradient(120% 120% at 100% 0%, rgba(240,54,225,0.22), transparent 60%),
      radial-gradient(120% 120% at 0% 100%, rgba(145,73,255,0.30), transparent 60%),
      rgba(255,255,255,0.05);
    position: relative; overflow: hidden;
  }
  @media (max-width: 900px) { .banner { grid-template-columns: 1fr; padding: 40px; } }
  .banner h2 { font-size: clamp(34px, 4.5vw, 58px); line-height: 1.02; letter-spacing: -0.025em; margin: 0 0 18px; font-weight: 500; }
  .banner p { color: var(--paper-dim); max-width: 460px; }
  .banner .glow {
    position: absolute; width: 600px; height: 600px; border-radius: 50%;
    background: radial-gradient(circle, rgba(240,54,225,0.45), transparent 70%);
    right: -200px; top: -200px; filter: blur(40px);
  }
  .banner-ill { position: relative; height: 100%; min-height: 220px; }
  .banner-ill .logo-mono { position: absolute; right: 0; bottom: 0; width: 220px; opacity: .9; }

  /* ====== FAQ ====== */
  .faq-grid { display: grid; grid-template-columns: 1.1fr 1.4fr; gap: 32px; }
  @media (max-width: 900px) { .faq-grid { grid-template-columns: 1fr; } }
  .faq-list { display: flex; flex-direction: column; gap: 12px; }
  .faq-item { padding: 22px 26px; cursor: pointer; transition: background .25s; }
  .faq-item:hover { background: rgba(255,255,255,0.05); }
  .faq-q { display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: 16px; font-weight: 500; }
  .faq-q .pl { width: 28px; height: 28px; border-radius: 999px; border: 1px solid var(--line-strong); display: grid; place-items: center; flex-shrink: 0; position: relative; transition: background .25s, transform .35s; }
  .faq-q .pl::before, .faq-q .pl::after { content: ""; position: absolute; background: var(--paper); }
  .faq-q .pl::before { width: 10px; height: 1.5px; }
  .faq-q .pl::after { width: 1.5px; height: 10px; transition: transform .3s; }
  .faq-item.open .faq-q .pl { background: linear-gradient(135deg, #f036e1, #9149ff); border-color: transparent; }
  .faq-item.open .faq-q .pl::after { transform: scaleY(0); }
  .faq-a { max-height: 0; overflow: hidden; transition: max-height .4s ease, opacity .35s ease, padding .35s ease; opacity: 0; color: var(--paper-dim); font-size: 14px; line-height: 1.6; }
  .faq-item.open .faq-a { max-height: 300px; opacity: 1; padding-top: 14px; }

  /* ====== Contact ====== */
  .contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 24px; }
  @media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
  .contact-card { padding: 36px; display: flex; flex-direction: column; gap: 22px; }
  .contact-card h3 { font-size: 28px; margin: 0; letter-spacing: -0.015em; font-weight: 500; }
  .contact-info { display: flex; flex-direction: column; gap: 16px; }
  .info-row {
    position: relative;
    display: flex; gap: 14px; align-items: start;
    padding: 14px 12px; margin: 0 -12px;
    border-radius: 12px;
    text-decoration: none; color: inherit;
    transition: background .18s ease, transform .18s ease;
  }
  .info-row::before {
    content: ""; position: absolute; top: 0; left: 12px; right: 12px;
    height: 1px; background: var(--line); pointer-events: none;
  }
  .info-row:first-child::before { display: none; }
  a.info-row:hover { background: rgba(255,255,255,0.04); transform: translateX(3px); }
  a.info-row:hover .v { color: var(--paper); }
  .info-row .ic { width: 38px; height: 38px; border-radius: 12px; background: rgba(255,255,255,0.06); border: 1px solid var(--line); display: grid; place-items: center; flex-shrink: 0; }
  .info-row .l { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--paper-faint); }
  .info-row .v { font-size: 15px; margin-top: 4px; }
  .form-fields { display: flex; flex-direction: column; gap: 14px; }
  .field { display: flex; flex-direction: column; gap: 6px; }
  .field label { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--paper-faint); }
  .field input, .field textarea, .field select {
    background: rgba(255,255,255,0.04); border: 1px solid var(--line-strong); color: var(--paper);
    padding: 14px 16px; border-radius: 12px; font: inherit; outline: none; transition: border-color .25s, background .25s;
    font-size: 14px;
  }
  .field textarea { resize: vertical; min-height: 110px; }
  .field input:focus, .field textarea:focus, .field select:focus { border-color: rgba(240,54,225,0.6); background: rgba(255,255,255,0.06); }
  .field.invalid input, .field.invalid textarea { border-color: rgba(240,54,80,0.7); }
  .field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
  @media (max-width: 600px) { .field-row { grid-template-columns: 1fr; } }
  .form-success {
    padding: 18px; border-radius: 14px;
    background: linear-gradient(110deg, rgba(94,210,156,0.15), rgba(94,210,156,0.05));
    border: 1px solid rgba(94,210,156,0.3); color: #b8efd2; font-size: 14px;
  }

  /* ====== Footer ====== */
  footer { padding: 80px 0 36px; }
  .foot-top {
    padding: 48px; border-radius: 28px;
    display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px;
  }
  @media (max-width: 900px) { .foot-top { grid-template-columns: 1fr 1fr; padding: 32px; } }
  @media (max-width: 540px) { .foot-top { grid-template-columns: 1fr; } }
  .foot-top h4 { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--paper-faint); margin: 0 0 18px; font-weight: 500; }
  .foot-top ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
  .foot-top ul a { color: var(--paper-dim); text-decoration: none; font-size: 14px; transition: color .25s; }
  .foot-top ul a:hover { color: var(--paper); }
  .foot-brand-block .tag { color: var(--paper-dim); font-size: 14px; margin-top: 14px; max-width: 280px; line-height: 1.55; }
  .foot-bottom {
    margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line);
    display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px;
    color: var(--paper-faint); font-size: 13px;
  }
  .wordmark-big {
    text-align: center; padding: 60px 0 0;
    font-size: clamp(80px, 18vw, 280px); line-height: 0.9; letter-spacing: -0.045em; font-weight: 500;
    background: linear-gradient(180deg, rgba(244,238,246,0.16) 0%, rgba(244,238,246,0.02) 100%);
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
    user-select: none; pointer-events: none;
    white-space: nowrap; overflow: hidden;
  }
  /* "mercadomonkey" tiene 13 caracteres — a 80px (min original) desbordaba el
     ancho del viewport en móviles <500px, lo que ensanchaba todo el documento
     y provocaba que al hacer pinch-zoom-out apareciera espacio fantasma a la
     derecha. Es puramente decorativo, lo ocultamos abajo de 600px. */
  @media (max-width: 600px) {
    .wordmark-big { display: none; }
  }

  /* Section number scroll markers */
  .corners { display: flex; gap: 24px; font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--paper-faint); letter-spacing: 0.16em; }
  .corners span b { color: var(--paper); font-weight: 500; }

  /* ====== Floating WhatsApp CTA (on every page) ====== */
  .wa-float {
    position: fixed;
    right: clamp(18px, 3vw, 32px);
    bottom: clamp(18px, 3vw, 32px);
    z-index: 90;
    width: 60px; height: 60px; border-radius: 999px;
    display: inline-grid; place-items: center;
    background: #25D366;
    color: #fff; text-decoration: none;
    box-shadow:
      0 14px 32px -8px rgba(37, 211, 102, 0.55),
      0 4px 10px rgba(0,0,0,0.25),
      inset 0 1px 0 rgba(255,255,255,0.35);
    transition: transform .25s ease, box-shadow .25s ease;
  }
  .wa-float:hover, .wa-float:focus-visible {
    transform: translateY(-3px) scale(1.05);
    box-shadow:
      0 22px 44px -10px rgba(37, 211, 102, 0.75),
      0 6px 14px rgba(0,0,0,0.35),
      inset 0 1px 0 rgba(255,255,255,0.45);
    outline: none;
  }
  .wa-float::before {
    content: ""; position: absolute; inset: -6px; border-radius: inherit;
    border: 2px solid rgba(37, 211, 102, 0.55);
    animation: waPulse 3.4s ease-out infinite;
    pointer-events: none;
    will-change: transform, opacity;
  }
  .wa-float svg { width: 30px; height: 30px; display: block; }
  .wa-tooltip {
    position: absolute; right: calc(100% + 12px); top: 50%; transform: translateY(-50%);
    background: rgba(1,1,1,0.86); color: var(--paper);
    padding: 8px 14px; border-radius: 999px;
    font-size: 13px; font-weight: 500; white-space: nowrap;
    border: 1px solid var(--line-strong);
    opacity: 0; pointer-events: none;
    transition: opacity .2s ease, transform .2s ease;
  }
  .wa-float:hover .wa-tooltip, .wa-float:focus-visible .wa-tooltip {
    opacity: 1; transform: translateY(-50%) translateX(-2px);
  }
  @keyframes waPulse {
    0%        { transform: scale(1); opacity: .55; }
    80%, 100% { transform: scale(1.35); opacity: 0; }
  }
  @media (max-width: 540px) {
    .wa-float { width: 54px; height: 54px; }
    .wa-float svg { width: 26px; height: 26px; }
    .wa-tooltip { display: none; }
  }

  /* ====== Custom cursor ======
     Sólo se activa en dispositivos con hover + puntero fino (mouse / trackpad).
     En touch o reduced-motion el cursor.js no monta y todo queda nativo. */
  @media (hover: hover) and (pointer: fine) {
    html.mm-cursor-on,
    html.mm-cursor-on * { cursor: none !important; }
    html.mm-cursor-on input,
    html.mm-cursor-on textarea,
    html.mm-cursor-on select,
    html.mm-cursor-on [contenteditable="true"] { cursor: text !important; }
  }
  .mm-cursor {
    position: fixed; top: 0; left: 0;
    pointer-events: none;
    z-index: 2147483647;
    opacity: 0;
    will-change: transform;
  }
  .mm-cursor.mm-cursor-active { opacity: 1; }
  .mm-cursor.mm-cursor-hidden { opacity: 0 !important; }
  .mm-cursor-dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: linear-gradient(135deg, #f036e1, #9149ff);
    box-shadow: 0 0 12px rgba(240,54,225,0.5);
    transition: opacity .18s ease, width .25s ease, height .25s ease, background .25s ease;
  }
  .mm-cursor-ring {
    width: 34px; height: 34px;
    border-radius: 50%;
    border: 1.5px solid rgba(244,238,246,0.35);
    background: rgba(244,238,246,0.02);
    transition: opacity .18s ease,
                width .3s cubic-bezier(.2,.7,.2,1),
                height .3s cubic-bezier(.2,.7,.2,1),
                border-color .25s ease,
                background .25s ease;
  }
  .mm-cursor-ring.mm-cursor-hover {
    width: 58px; height: 58px;
    border-color: rgba(240,54,225,0.7);
    background: rgba(240,54,225,0.06);
  }
  .mm-cursor-ring.mm-cursor-down {
    width: 24px; height: 24px;
    background: rgba(240,54,225,0.18);
    border-color: rgba(240,54,225,0.8);
  }
  @media (hover: none), (pointer: coarse), (prefers-reduced-motion: reduce) {
    .mm-cursor { display: none !important; }
  }

  /* ====== Cookie consent banner ====== */
  .cookie-banner {
    position: fixed;
    left: clamp(16px, 3vw, 28px);
    bottom: clamp(16px, 3vw, 28px);
    right: clamp(102px, calc(60px + 3vw + 32px), 140px); /* reserva el espacio del botón de WhatsApp */
    z-index: 80;
    max-width: 560px;
    padding: 14px 18px;
    border-radius: 16px;
    display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
    background: rgba(14,8,18,0.88);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    backdrop-filter: blur(20px) saturate(160%);
    border: 1px solid var(--line-strong);
    box-shadow: 0 18px 40px -16px rgba(0,0,0,0.7), inset 0 1px 0 rgba(255,255,255,0.07);
    color: var(--paper);
    transform: translateY(20px); opacity: 0;
    transition: transform .35s cubic-bezier(.2,.7,.2,1), opacity .25s ease;
  }
  .cookie-banner.show { transform: translateY(0); opacity: 1; }
  .cookie-text { font-size: 13px; line-height: 1.5; color: var(--paper-dim); flex: 1; min-width: 220px; }
  .cookie-text a { color: var(--paper); text-decoration: underline; text-underline-offset: 3px; }
  .cookie-text a:hover { color: #f036e1; }
  .cookie-actions { display: flex; gap: 8px; flex-shrink: 0; }
  .cookie-btn {
    appearance: none; cursor: pointer; font: inherit;
    padding: 9px 16px; border-radius: 999px;
    font-size: 13px; font-weight: 600; letter-spacing: -0.005em;
    transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
    white-space: nowrap;
  }
  .cookie-btn-ghost {
    background: rgba(255,255,255,0.06); color: var(--paper);
    border: 1px solid var(--line-strong);
  }
  .cookie-btn-ghost:hover { background: rgba(255,255,255,0.10); }
  .cookie-btn-primary {
    background: linear-gradient(110deg, #f036e1, #9149ff); color: #fff; border: 0;
    box-shadow: 0 8px 18px -6px rgba(240,54,225,0.55), inset 0 1px 0 rgba(255,255,255,0.35);
  }
  .cookie-btn-primary:hover { transform: translateY(-1px); box-shadow: 0 14px 26px -8px rgba(145,73,255,0.7), inset 0 1px 0 rgba(255,255,255,0.45); }
  @media (max-width: 720px) {
    .cookie-banner {
      left: 16px; right: 16px; bottom: 88px; /* arriba del wa-float en móvil */
      max-width: none; padding: 14px;
    }
    .cookie-actions { width: 100%; }
    .cookie-btn { flex: 1; }
  }

  /* ====== Páginas legales (Términos / Privacidad) ====== */
  .legal-doc {
    padding: clamp(28px, 4vw, 56px) clamp(24px, 4vw, 60px);
    max-width: 880px;
    margin: 0 auto;
  }
  .legal-doc > p:first-child { font-size: 16px; line-height: 1.7; color: var(--paper); margin: 0 0 24px; }
  .legal-doc h2 {
    font-size: clamp(20px, 2vw, 26px);
    line-height: 1.15; letter-spacing: -0.015em;
    font-weight: 600; color: var(--paper);
    margin: 36px 0 12px;
  }
  .legal-doc h2:first-of-type { margin-top: 8px; }
  .legal-doc h2 .num {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px; color: var(--paper-faint);
    letter-spacing: 0.16em; margin-right: 12px;
    display: inline-block; vertical-align: middle; transform: translateY(-2px);
  }
  .legal-doc p, .legal-doc li {
    font-size: 14.5px; line-height: 1.75; color: var(--paper-dim);
    margin: 0 0 12px;
  }
  .legal-doc ul { padding-left: 22px; margin: 6px 0 16px; }
  .legal-doc strong { color: var(--paper); font-weight: 600; }
  .legal-doc a { color: var(--paper); text-decoration: underline; text-underline-offset: 3px; }
  .legal-doc a:hover { color: #f036e1; }
  .legal-meta {
    font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--paper-faint); margin-top: 18px;
  }

  /* Tweaks adjustments */
  body[data-grain="0"] .grain { display: none; }
  body[data-orbs="0"] .backdrop { background: linear-gradient(180deg, #010101 0%, #0a070d 40%, #16181a 100%); }

  /* ====== Service page hero card ====== */
  .svc-hero-card {
    padding: 28px;
    max-width: 360px;
    margin-left: auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 28px;
    min-height: 420px;
    position: relative;
    overflow: hidden;
    background:
      radial-gradient(120% 80% at 100% 0%, rgba(240,54,225,0.18), transparent 60%),
      radial-gradient(120% 90% at 0% 100%, rgba(145,73,255,0.24), transparent 65%),
      rgba(255,255,255,0.04);
  }
  .svc-hero-card-head {
    display: flex; justify-content: space-between; align-items: flex-start; gap: 16px;
  }
  .svc-hero-card-icon {
    width: 64px; height: 64px; border-radius: 18px;
    background: linear-gradient(135deg, #f036e1, #9149ff);
    display: grid; place-items: center; flex-shrink: 0;
    box-shadow: 0 12px 30px -8px rgba(240,54,225,0.5);
  }
  .svc-hero-card-tag {
    font-family: 'JetBrains Mono', monospace; font-size: 11px;
    letter-spacing: 0.16em; color: var(--paper-faint);
  }
  .svc-hero-card-stats {
    margin-top: auto;
    display: flex; flex-direction: column; gap: 14px;
  }
  .svc-hero-card-stat {
    display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
    border-top: 1px solid var(--line); padding-top: 12px;
  }
  .svc-hero-card-stat .k { font-size: 28px; letter-spacing: -0.02em; font-weight: 600; line-height: 1; }
  .svc-hero-card-stat .v { font-size: 11px; color: var(--paper-dim); text-align: right; max-width: 160px; line-height: 1.4; }
  @media (max-width: 900px) {
    .svc-hero-card { margin-left: 0; max-width: 100%; min-height: auto; }
  }