/* Estilos compartidos por la versión en español (/) y en inglés (/en/). */
  /* Valparaíso: azul de noche de puerto, mostaza, turquesa y óxido */
  :root {
    --bg: #122430;
    --bg-2: #18303D;
    --bg-3: #21404F;
    --surface: #1A3443;
    --surface-input: #102029;
    --band: #162D3A;
    --line: rgba(242, 239, 230, 0.13);
    --line-strong: rgba(242, 239, 230, 0.28);
    --fg: #F2EFE6;
    --muted: #9FB3BC;
    --orange: #EDB63C;
    --terra: #58C2BA;
    --spark: #D4603F;
    --user-bubble: #1C6E6B;
    --plum: #2E5A64;
    --plum-hi: #8FA7B0;
    --on-accent: #10212B;
    --band-text: rgba(242, 239, 230, 0.62);
    --stroke-text: rgba(242, 239, 230, 0.70);
    --scan: rgba(0, 0, 0, 0.20);
    --sweep: rgba(242, 239, 230, 0.07);
    --shadow: rgba(0, 0, 0, 0.38);
    --shadow-strong: rgba(0, 0, 0, 0.45);
    --nav-bg: rgba(18, 36, 48, 0.88);
    --status: #6FC98A;
    --status-ring: rgba(111, 201, 138, 0.20);
    --grain-opacity: 0.05;
    --grain-blend: normal;

    --f-display: "Archivo", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
    --f-body: "Instrument Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
    --f-mono: "Martian Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
    --f-hand: "Reenie Beanie", "Segoe Print", "Bradley Hand", cursive;

    --gutter: clamp(16px, 4vw, 40px);
    --maxw: 1240px;
    --cut: 3px 14px 4px 12px / 12px 4px 14px 3px;
    color-scheme: dark;
  }

  * { box-sizing: border-box; }
  html { scroll-behavior: smooth; scroll-padding-top: 76px; }
  body {
    margin: 0;
    background:
      radial-gradient(90ch 60ch at 82% -10%, rgba(88, 194, 186, 0.10), transparent 70%),
      radial-gradient(70ch 50ch at 5% 18%, rgba(237, 182, 60, 0.07), transparent 70%),
      var(--bg);
    background-attachment: fixed;
    color: var(--fg);
    font-family: var(--f-body);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
  }
  a { color: inherit; }
  [hidden] { display: none !important; }
  img, svg { max-width: 100%; }
  ::selection { background: var(--orange); color: var(--on-accent); }
  :focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
  .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  /* sin número de WhatsApp en assets/config.js no se muestra ningún acceso a ese contacto (la clase la pone cada página en <head>) */
  .no-wa [data-link="whatsapp"], .no-wa [data-wa] { display: none !important; }

  .wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }

  /* ---------- type ---------- */
  .display {
    font-family: var(--f-display);
    font-stretch: 62%;
    font-weight: 800;
    text-transform: uppercase;
    line-height: 0.86;
    letter-spacing: -0.005em;
    text-wrap: balance;
    margin: 0;
  }
  /* el alto de la pantalla también limita el tamaño: en notebooks el título no se come toda la vista */
  .h2 { font-size: clamp(44px, min(7.2vw, 12vh), 104px); }
  .mono {
    font-family: var(--f-mono);
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }
  .hand { font-family: var(--f-hand); font-weight: 400; line-height: 1; letter-spacing: 0.02em; }
  .eyebrow { color: var(--orange); margin: 0 0 18px; display: flex; align-items: center; gap: 10px; }
  .eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; }
  .lede { font-size: clamp(17px, 1.5vw, 19px); color: var(--muted); max-width: 58ch; margin: 0; }
  .lede strong { color: var(--fg); font-weight: 500; }

  /* ---------- buttons ---------- */
  .btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    font-family: var(--f-display); font-stretch: 85%; font-weight: 700;
    font-size: 15px; letter-spacing: 0.06em; text-transform: uppercase;
    text-decoration: none; line-height: 1;
    padding: 16px 22px;
    border-radius: var(--cut);
    border: 2px solid var(--orange);
    background: var(--orange); color: var(--on-accent);
    cursor: pointer;
    transition: transform .18s ease, background-color .18s ease, color .18s ease, border-color .18s ease;
  }
  .btn:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--spark); }
  .btn--ghost { background: transparent; color: var(--fg); border-color: var(--line-strong); }
  .btn--ghost:hover { border-color: var(--terra); color: var(--terra); box-shadow: 4px 4px 0 var(--plum); }
  .btn--sm { padding: 11px 16px; font-size: 13px; }
  .btn--xs { padding: 9px 12px; font-size: 12px; }
  .btn .arr { font-family: var(--f-body); font-weight: 500; }

  /* ---------- grain ---------- */
  .grain {
    position: fixed; inset: -50%; width: 200%; height: 200%;
    pointer-events: none; z-index: 50; opacity: var(--grain-opacity); mix-blend-mode: var(--grain-blend);
    animation: grain 4s steps(8) infinite;
  }
  @keyframes grain {
    0% { transform: translate(0, 0); } 25% { transform: translate(-1.5%, 1%); }
    50% { transform: translate(1%, -2%); } 75% { transform: translate(-2%, -0.5%); }
    100% { transform: translate(0, 0); }
  }

  /* ---------- nav ---------- */
  .nav {
    position: sticky; top: 0; z-index: 60;
    background: var(--nav-bg);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
  }
  .nav-inner { display: flex; align-items: center; gap: 28px; height: 64px; }
  .brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
  .brand { color: var(--fg); }
  .brand svg { width: 40px; height: 40px; flex: none; overflow: visible; }
  .brand-word { display: flex; align-items: baseline; font-family: var(--f-mono); font-weight: 500; font-size: 22px; line-height: 1; letter-spacing: -0.02em; }
  .brand-ai { font-family: var(--f-hand); font-weight: 400; font-size: 1.62em; line-height: .5; letter-spacing: 0; margin-left: 2px; color: var(--orange); }
  .footer .brand svg { width: 54px; height: 54px; }
  .footer .brand-word { font-size: 30px; }
  /* avance de lectura: la página es larga y esto muestra cuánto falta */
  .nav::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--orange); transform: scaleX(var(--read, 0)); transform-origin: left; pointer-events: none; }
  .nav-links { display: flex; gap: 26px; }
  .nav-links a { position: relative; text-decoration: none; font-size: 14px; color: var(--muted); transition: color .15s; }
  .nav-links a:hover { color: var(--terra); }
  /* sección que se está leyendo (la marca assets/site.js) */
  .nav-links a[aria-current] { color: var(--fg); }
  .nav-links a[aria-current]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -8px; height: 2px; background: var(--orange); }
  .menu-btn { display: none; background: none; border: 1px solid var(--line-strong); color: var(--fg); border-radius: var(--cut); padding: 8px 12px; cursor: pointer; }
  /* selector de idioma: visible en todos los tamaños */
  .lang-switch { display: flex; align-items: center; gap: 2px; padding: 3px; border: 1px solid var(--line-strong); border-radius: 999px; flex: none; }
  .lang-switch > * { font-size: 10.5px; line-height: 1; padding: 6px 9px; border-radius: 999px; color: var(--muted); text-decoration: none; transition: color .15s; }
  .lang-switch [aria-current] { background: var(--fg); color: var(--on-accent); }
  .lang-switch a:hover { color: var(--orange); }

  /* ---------- hero ---------- */
  /* título, botones y chat caben en la primera vista también en notebooks (pantallas de 650 a 770 px de alto):
     por eso los tamaños dependen del ancho y del alto de la pantalla */
  .hero { padding-block: clamp(28px, min(6vw, 7vh), 80px) clamp(48px, 6vw, 72px); }
  .hero-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
  .hero-copy { display: flex; flex-direction: column; gap: clamp(16px, 2.8vh, 26px); position: relative; }
  .hero h1 { font-size: clamp(52px, min(7.6vw, 11vh), 112px); }
  .hero h1 .hl { color: var(--orange); }
  .hero h1 .outline { color: transparent; -webkit-text-stroke: 2px var(--fg); }
  .hero-note { align-self: flex-start; margin-top: calc(-1 * clamp(8px, 1.9vh, 18px)); color: var(--terra); font-size: 34px; }
  .cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
  .trust { list-style: none; margin: -8px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; }
  .trust li { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--muted); }
  .trust svg { width: 15px; height: 15px; flex: none; fill: none; stroke: var(--terra); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
  /* presencia: banderas completas, todas en 3:2 y del mismo tamaño. Sin esquinas redondeadas ni recorte:
     el SVG dibuja sus bordes con crispEdges, así quedan alineados al píxel en cualquier pantalla.
     No subirlas sobre .grain con z-index: Chrome las pasa a otra capa y con escalas como 1,5× se desenfocan */
  .markets { margin-top: -6px; display: flex; align-items: center; gap: 14px; }
  .flags { display: inline-flex; flex: none; align-items: center; gap: 8px; }
  .flag { display: block; flex: none; width: 39px; height: 26px; box-shadow: 0 0 0 1px rgba(242, 239, 230, .14); }
  .flag svg { display: block; width: 100%; height: 100%; overflow: visible; }
  .markets-text { display: grid; gap: 1px; min-width: 0; }
  .markets-text strong { font-size: 14px; font-weight: 600; color: var(--fg); }
  .markets-text strong span { color: var(--orange); }
  .markets-text p { margin: 0; font-size: 12.5px; line-height: 1.45; color: var(--muted); }

  .log { border-top: 1px solid var(--line); padding-top: 16px; margin-top: 6px; }
  .log-head { color: var(--muted); display: flex; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
  .log-head .live { color: var(--orange); display: inline-flex; align-items: center; gap: 6px; }
  .log-head .live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--orange); animation: blink 1.4s steps(2) infinite; }
  .log ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
  .log li {
    display: grid; grid-template-columns: 72px 64px 1fr; gap: 12px;
    font-family: var(--f-mono); font-size: 11.5px; color: var(--muted);
    font-variant-numeric: tabular-nums;
  }
  .log li b { color: var(--fg); font-weight: 500; }
  .log li.fresh { animation: logIn .6s ease; }
  .log li.fresh b { color: var(--orange); }
  @keyframes logIn { from { opacity: .25; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

  /* ---------- chat console ---------- */
  .console-wrap { position: relative; }
  .console-note { color: var(--terra); font-size: 30px; transform: rotate(-4deg); transform-origin: left bottom; display: flex; align-items: end; gap: 6px; margin: 0 0 22px 10px; }
  .console-note svg { width: 40px; height: 34px; fill: none; stroke: var(--terra); stroke-width: 2.4; stroke-linecap: round; }
  .console {
    background: var(--surface);
    border: 1px solid var(--line-strong);
    border-radius: 10px;
    overflow: hidden;
    display: flex; flex-direction: column;
    box-shadow: 12px 12px 0 var(--shadow);
  }
  /* chat flotante: se abre desde cualquier parte de la página sin perder el lugar (ver assets/site.js) */
  .console.is-floating { position: fixed; right: 16px; bottom: 16px; z-index: 80; width: min(400px, calc(100vw - 32px)); height: min(640px, calc(100vh - 96px)); box-shadow: 0 24px 60px var(--shadow-strong), 10px 10px 0 var(--shadow); animation: chatIn .22s ease; }
  .console.is-floating .console-body { flex: 1; height: auto; min-height: 0; }
  .console.is-floating .console-head { padding: 12px 14px; gap: 10px; }
  .console.is-floating .console-id strong { font-size: 18px; }
  @keyframes chatIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
  .console-close { display: none; flex: none; width: 36px; height: 36px; place-items: center; padding: 0 0 3px; background: none; border: 1px solid var(--line-strong); border-radius: var(--cut); color: var(--fg); font: 400 24px/1 var(--f-body); cursor: pointer; transition: border-color .15s, color .15s; }
  .console-close:hover { border-color: var(--orange); color: var(--orange); }
  .console.is-floating .console-close { display: grid; }
  .console-head { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--line); }
  .avatar { width: 44px; height: 44px; flex: none; display: grid; place-items: center; }
  .avatar svg { width: 44px; height: 44px; }
  .console-id { min-width: 0; margin-right: auto; display: grid; gap: 4px; }
  .console-id strong { font-family: var(--f-display); font-stretch: 70%; font-weight: 800; font-size: 21px; line-height: 1; text-transform: uppercase; letter-spacing: 0.02em; }
  .status { font-size: 12.5px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
  .status i { width: 7px; height: 7px; border-radius: 50%; background: var(--status); box-shadow: 0 0 0 3px var(--status-ring); }
  .console-head .btn--ghost { border-width: 1px; }
  .console-body {
    height: clamp(200px, calc(100vh - 470px), 360px); overflow-y: auto; padding: 22px 18px; display: flex; flex-direction: column; gap: 12px;
    scrollbar-width: thin; scrollbar-color: var(--bg-3) transparent;
    -webkit-mask-image: linear-gradient(transparent, #000 14px, #000 calc(100% - 14px), transparent);
    mask-image: linear-gradient(transparent, #000 14px, #000 calc(100% - 14px), transparent);
  }
  .msg { max-width: 86%; padding: 12px 15px; font-size: 14.5px; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; }
  .msg--bot { background: var(--bg-3); color: var(--fg); border-radius: 16px 16px 16px 4px; align-self: flex-start; }
  .msg--user { background: var(--user-bubble); color: var(--fg); border-radius: 16px 16px 4px 16px; align-self: flex-end; }
  .msg-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; white-space: normal; }
  .msg .tag { display: block; color: var(--orange); margin-bottom: 5px; font-size: 9.5px; }
  .sep { align-self: center; color: var(--muted); font-size: 9.5px; display: flex; align-items: center; gap: 10px; margin-block: 2px; }
  .sep::before, .sep::after { content: ""; width: 32px; height: 1px; background: var(--line); }
  .typing-dots { display: inline-flex; gap: 5px; padding: 4px 2px; }
  .typing-dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--fg); animation: dot 1.2s infinite ease-in-out; }
  .typing-dots i:nth-child(2) { animation-delay: .15s; } .typing-dots i:nth-child(3) { animation-delay: .3s; }
  @keyframes dot { 0%, 80%, 100% { opacity: .25; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
  .console-dock { border-top: 1px solid var(--line); padding: 14px 18px 16px; display: grid; gap: 12px; }
  .chips { display: flex; flex-wrap: wrap; gap: 8px; }
  .chip {
    font: 500 12.5px var(--f-body); color: var(--fg);
    background: var(--bg); border: 1px solid var(--line); border-radius: 999px;
    padding: 7px 13px; cursor: pointer; transition: border-color .15s, color .15s, background-color .15s;
  }
  .chip:hover { border-color: var(--orange); color: var(--orange); background: var(--surface); }
  .console-input { display: flex; gap: 8px; }
  .console-input input {
    flex: 1; min-width: 0; background: var(--surface-input); color: var(--fg);
    border: 1px solid var(--line-strong); border-radius: 8px; padding: 13px 14px;
    font: 15px var(--f-body);
  }
  .console-input input::placeholder { color: var(--muted); }
  .console-input input:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px var(--status-ring); }
  .console-input .btn { background: var(--orange); border-color: var(--orange); color: var(--on-accent); }
  .console-input .btn:hover { box-shadow: 4px 4px 0 var(--fg); }
  .console-foot { margin: 0; font-size: 11.5px; color: var(--muted); }

  /* ---------- pictograms ---------- */
  .picto-svg { fill: none; stroke: var(--fg); stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
  .picto-svg .f { fill: var(--fg); stroke: none; }
  .picto-svg .a { stroke: var(--orange); }
  .picto-svg .af { fill: var(--orange); stroke: none; }
  .picto-svg .arms1 { transform-origin: 60px 60px; animation: armA 2.6s ease-in-out infinite; }
  .picto-svg .arms2 { transform-origin: 60px 68px; animation: armA 2.6s ease-in-out -1.3s infinite reverse; }
  .picto-svg .gear, .picto-svg .pulse { transform-box: fill-box; transform-origin: center; }
  .picto-svg .gear { animation: spin 6s linear infinite; }
  .picto-svg .pulse { animation: pulse 1.6s ease-in-out infinite; }
  .picto-svg .dash { animation: march 1.1s linear infinite; }
  .picto-svg .rain circle { animation: rain 1.8s linear infinite; }
  .picto-svg .rain circle:nth-child(2) { animation-delay: -.6s; }
  .picto-svg .rain circle:nth-child(3) { animation-delay: -1.2s; }
  .picto-svg .bar { transform-box: fill-box; transform-origin: 50% 100%; animation: bar 2.4s ease-in-out infinite; }
  .picto-svg .bar:nth-of-type(2) { animation-delay: -.5s; }
  .picto-svg .bar:nth-of-type(3) { animation-delay: -1s; }
  .picto-svg .bar:nth-of-type(4) { animation-delay: -1.6s; }
  .picto-svg .draw { stroke-dasharray: 60; animation: draw 3.2s ease-in-out infinite; }
  .picto-svg .typing circle { animation: blinkdot 1.2s ease-in-out infinite; }
  .picto-svg .typing circle:nth-child(2) { animation-delay: .2s; }
  .picto-svg .typing circle:nth-child(3) { animation-delay: .4s; }
  .picto-svg .leg1 { transform-origin: 50px 70px; animation: stride .8s ease-in-out infinite alternate; }
  .picto-svg .leg2 { transform-origin: 50px 70px; animation: stride .8s ease-in-out infinite alternate-reverse; }
  .picto-svg .nudge { animation: nudge 1.6s ease-in-out infinite; }
  .picto-svg .qs { stroke-width: 9; }
  [data-mini] .picto-svg .qs { stroke-width: 11; }
  .picto-svg .qcur { stroke: none; animation: cursorBlink 1.1s steps(1) infinite; }
  @keyframes cursorBlink { 0%, 55% { opacity: 1; } 56%, 100% { opacity: 0; } }
  .picto-svg .blink { animation: blink 1.4s steps(2) infinite; }
  @keyframes armA { 0%, 100% { transform: rotate(-8deg); } 50% { transform: rotate(9deg); } }
  @keyframes spin { to { transform: rotate(360deg); } }
  @keyframes pulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.9); opacity: .55; } }
  @keyframes march { to { stroke-dashoffset: -20; } }
  @keyframes rain { 0% { transform: translateY(0); opacity: 0; } 20% { opacity: 1; } 100% { transform: translateY(24px); opacity: 0; } }
  @keyframes bar { 0%, 100% { transform: scaleY(.5); } 50% { transform: scaleY(1); } }
  @keyframes draw { 0% { stroke-dashoffset: 60; } 45%, 80% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -60; } }
  @keyframes blinkdot { 0%, 100% { opacity: .2; } 50% { opacity: 1; } }
  @keyframes stride { from { transform: rotate(-9deg); } to { transform: rotate(9deg); } }
  @keyframes nudge { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(3px, -3px); } }
  @keyframes blink { 50% { opacity: 0; } }

  /* ---------- signage strip ---------- */
  .strip { position: relative; overflow: hidden; border-block: 1px solid var(--line); background: var(--band); }
  .strip canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
  .strip::before {
    content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1;
    background: repeating-linear-gradient(0deg, var(--scan) 0 1px, transparent 1px 3px);
  }
  .strip::after {
    content: ""; position: absolute; top: 0; bottom: 0; width: 40%; left: -40%; z-index: 1; pointer-events: none;
    background: linear-gradient(90deg, transparent, var(--sweep), transparent);
    animation: sweep 13s ease-in-out infinite;
  }
  @keyframes sweep { to { left: 110%; } }
  .strip-inner { position: relative; z-index: 2; padding-block: 40px 34px; }
  .strip-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px 24px; margin-bottom: 26px; }
  .strip-title { font-size: clamp(30px, 3.4vw, 46px); line-height: .92; }
  .strip-sub { margin: 8px 0 0; color: var(--band-text); font-size: 15px; max-width: 82ch; text-wrap: pretty; }
  /* cada agente enlaza a su ficha en Servicios */
  .strip-row { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
  .strip-fig { height: 100%; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px 6px 12px; text-align: center; text-decoration: none; color: var(--fg); border-radius: var(--cut); transition: background-color .2s ease; }
  .strip-fig:hover { background: rgba(242, 239, 230, .05); }
  .strip-fig:hover strong { color: var(--orange); }
  .strip-fig:hover .picto-svg > g { filter: url(#wobble-strong); }
  .strip-fig .picto { width: clamp(72px, 7.6vw, 100px); height: clamp(72px, 7.6vw, 100px); margin-bottom: 4px; }
  .strip-fig strong { font-family: var(--f-display); font-stretch: 70%; font-weight: 800; font-size: clamp(22px, 2.1vw, 28px); line-height: 1; text-transform: uppercase; letter-spacing: .02em; transition: color .2s ease; }
  .strip-fig > span:last-child { font-size: 13.5px; line-height: 1.35; color: var(--band-text); }
  .strip-live { display: inline-flex; align-items: center; gap: 8px; color: var(--fg); }
  .strip-live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--spark); box-shadow: 0 0 0 4px rgba(212, 96, 63, .22); animation: blink 1.6s steps(2) infinite; }

  /* ---------- sections ---------- */
  .section { padding-block: clamp(64px, 8.5vw, 116px); }
  .section-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 24px 64px; align-items: end; margin-bottom: clamp(36px, 4.4vw, 56px); }
  .section-head .lede { justify-self: start; }
  /* cierre de sección: el siguiente paso siempre a la vista */
  .section-cta { margin-top: clamp(28px, 3.4vw, 44px); }

  /* metrics */
  .metrics { border-bottom: 1px solid var(--line); }
  .metrics-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .metric { padding: 34px 28px 30px; border-left: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
  .metric:first-child { border-left: 0; padding-left: 0; }
  .metric-num { font-family: var(--f-display); font-stretch: 62%; font-weight: 800; font-size: clamp(56px, 6.6vw, 92px); line-height: .85; color: var(--orange); font-variant-numeric: tabular-nums; }
  .metric-num small { font-size: .42em; color: var(--fg); font-weight: 700; margin-left: 4px; }
  .metric p { margin: 0; color: var(--muted); font-size: 14.5px; max-width: 26ch; }
  .metrics-note { color: var(--muted); padding-block: 0 26px; font-size: 13px; }
  .metrics-note .hand { color: var(--terra); font-size: 24px; margin-right: 6px; }

  /* agents grid */
  .agents { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
  .agent { background: var(--bg); padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; gap: 14px; transition: background-color .25s ease; }
  .agent:hover { background: var(--bg-2); }
  .agent-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
  .agent .picto { width: 96px; height: 96px; }
  .agent:hover .picto-svg > g { filter: url(#wobble-strong); }
  .agent-role { color: var(--orange); text-align: right; max-width: 16ch; line-height: 1.5; }
  .agent h4 { font-size: clamp(48px, 4.6vw, 64px); }
  .agent p { margin: 0; color: var(--muted); font-size: 15px; }
  .agent-label { display: block; color: var(--muted); margin-bottom: 6px; font-size: 10px; }
  .agent .agent-pain { color: var(--fg); font-size: 17px; font-weight: 500; line-height: 1.4; text-wrap: pretty; }
  .agent .agent-how { margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--line-strong); font-size: 14px; line-height: 1.5; }
  .agent-group { background: var(--band); padding: clamp(24px, 3vw, 36px); }
  .agent-group-in { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 16px; }
  .agent-group-num { color: var(--orange); }
  .agent-group h3 { font-size: clamp(42px, 4.2vw, 58px); }
  .agent-group p { margin: 0; color: var(--muted); font-size: 15.5px; max-width: 34ch; }
  .agent-group p strong { color: var(--fg); font-weight: 500; }
  .agent-group .hand { color: var(--terra); font-size: 28px; transform: rotate(-2deg); transform-origin: left; }
  .agent-group-kpis { padding-top: 4px; }
  .kpis { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
  .kpis li { font-family: var(--f-mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--fg); border: 1px dashed var(--line-strong); border-radius: 999px; padding: 5px 10px; }
  .agent-gain { border: 1px solid var(--line-strong); border-radius: var(--cut); background: var(--surface); padding: 16px 18px 18px; }
  .agent-gain .agent-label { color: var(--orange); margin-bottom: 10px; }
  .agent-gain ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
  .agent-gain li { font-size: 15.5px; font-weight: 500; line-height: 1.4; color: var(--fg); display: grid; grid-template-columns: 18px 1fr; gap: 8px; }
  .agent-gain li::before { content: "→"; color: var(--orange); }
  .channels { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
  .channels li { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 500; color: var(--fg); padding: 5px 11px 5px 8px; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--surface); }
  .channels svg { width: 17px; height: 17px; flex: none; fill: none; stroke: var(--orange); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

  /* method */
  .method { background: var(--bg-2); border-block: 1px solid var(--line); }
  .steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 32px 26px; position: relative; }
  .steps::before {
    content: ""; position: absolute; left: 22px; right: 0; top: 22px; height: 2px;
    background: repeating-linear-gradient(90deg, var(--line-strong) 0 10px, transparent 10px 18px);
    background-size: 18px 2px;
    animation: road 1.2s linear infinite;
  }
  @keyframes road { to { background-position: 18px 0; } }
  .step { position: relative; display: flex; flex-direction: column; gap: 10px; }
  .step-mark {
    width: 46px; height: 46px; display: grid; place-items: center;
    border: 2px solid var(--fg); border-radius: 52% 48% 46% 54% / 48% 55% 45% 52%;
    background: var(--bg-2); font-family: var(--f-hand); font-size: 30px; line-height: 1; padding-top: 4px;
  }
  .step--key .step-mark { background: var(--orange); border-color: var(--orange); color: var(--on-accent); }
  .step--key h3 { color: var(--orange); }
  .step-note { color: var(--terra); font-size: 24px; line-height: 1.05; transform: rotate(-2deg); transform-origin: left; }
  .step-when { color: var(--orange); margin-top: 8px; }
  .step h3 { font-family: var(--f-display); font-stretch: 75%; font-weight: 700; font-size: 22px; line-height: 1.05; text-transform: uppercase; margin: 0; letter-spacing: .01em; text-wrap: balance; }
  .step p { margin: 0; color: var(--muted); font-size: 14px; }

  /* integrations: grilla estática; solo una conexión "se enciende" a la vez, lento y sin desplazamientos */
  .stack-side { display: grid; gap: 24px; justify-items: start; }
  .stack-count { margin: 0; display: flex; align-items: center; gap: 14px; }
  .stack-num { font-family: var(--f-display); font-stretch: 62%; font-weight: 800; font-size: clamp(52px, 5.4vw, 72px); line-height: .85; color: var(--orange); }
  .stack-count .mono { color: var(--muted); line-height: 1.7; }
  .stack-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
  .stack-cat { background: var(--bg); padding: clamp(20px, 2.4vw, 28px); display: flex; flex-direction: column; gap: 14px; }
  .stack-cat h3 { margin: 0; color: var(--orange); font-weight: 400; }
  .stack-cat ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
  .stack-cat li { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 500; color: var(--muted); padding: 6px 12px 6px 10px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); transition: color .7s ease, border-color .7s ease; }
  .stack-cat li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--plum-hi); opacity: .35; transition: background-color .7s ease, opacity .7s ease, box-shadow .7s ease; }
  .stack-cat li.is-live { color: var(--fg); border-color: var(--line-strong); }
  .stack-cat li.is-live::before { background: var(--status); opacity: 1; box-shadow: 0 0 0 3px var(--status-ring); }
  .stack-foot { margin: 18px 0 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; color: var(--muted); }
  .stack-live { display: inline-flex; align-items: center; gap: 8px; color: var(--fg); }
  .stack-live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--status); box-shadow: 0 0 0 3px var(--status-ring); animation: breathe 3.2s ease-in-out infinite; }
  @keyframes breathe { 50% { opacity: .35; } }

  /* use cases */
  .cases { background: var(--bg-2); border-block: 1px solid var(--line); }
  .case-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
  .case-tab {
    font: 600 13.5px var(--f-body); color: var(--fg);
    background: var(--bg); border: 1px solid var(--line-strong); border-radius: 999px;
    padding: 9px 13px; cursor: pointer; transition: border-color .15s, color .15s, background-color .15s;
  }
  .case-tab:hover { border-color: var(--orange); color: var(--orange); }
  .case-tab[aria-selected="true"] { background: var(--orange); border-color: var(--orange); color: var(--on-accent); }
  .case-tabs-break { flex-basis: 100%; height: 0; }
  .case-tabs-label { align-self: center; color: var(--muted); font-size: 10px; margin: 2px 6px 0 0; }
  .case-tab--area { border-style: dashed; }
  .case-tab--area[aria-selected="true"] { border-style: solid; }
  /* todos los paneles: cabecera en dos columnas y cuatro frentes con tres herramientas cada uno */
  .case-panel { display: grid; grid-template-columns: minmax(0, 1fr); gap: 36px; border-top: 1px solid var(--line); padding-top: 36px; }
  .case-intro { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 18px 64px; align-items: end; }
  .case-intro-head, .case-intro-body { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
  .case-intro h3 { font-size: clamp(40px, 4.4vw, 60px); }
  .case-intro p { margin: 0; color: var(--muted); font-size: 16px; max-width: 52ch; }
  .case-start { border: 1px solid var(--line-strong); border-radius: var(--cut); background: var(--surface); padding: 14px 16px; display: grid; gap: 6px; }
  .case-start .mono { color: var(--terra); font-size: 10px; }
  .case-intro .case-start p { color: var(--fg); font-size: 15px; }
  .cases-side { display: grid; gap: 26px; justify-items: start; }
  .stats { margin: 0; display: flex; flex-wrap: wrap; gap: 18px 40px; }
  .stats div { display: flex; flex-direction: column-reverse; gap: 6px; }
  .stats dd { margin: 0; font-family: var(--f-display); font-stretch: 62%; font-weight: 800; font-size: clamp(52px, 5.4vw, 72px); line-height: .85; color: var(--orange); }
  .stats dt { color: var(--muted); }
  .case-badge { display: inline-flex; align-items: center; gap: 8px; color: var(--status); border: 1px solid rgba(111, 201, 138, .35); border-radius: 999px; padding: 6px 11px 6px 9px; font-size: 10px; }
  .case-badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--status); box-shadow: 0 0 0 3px var(--status-ring); }
  .case-badge--area { color: var(--orange); border-color: rgba(237, 182, 60, .4); }
  .case-badge--area::before { background: var(--orange); box-shadow: 0 0 0 3px rgba(237, 182, 60, .18); }
  .case-list-label { display: block; color: var(--muted); font-size: 10px; margin-bottom: 16px; }
  .fronts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
  .front { background: var(--bg); padding: clamp(20px, 2.2vw, 26px); display: flex; flex-direction: column; gap: 10px; }
  .front-num { color: var(--orange); font-size: 10px; }
  .front h4 { margin: 0; font-family: var(--f-display); font-stretch: 75%; font-weight: 700; font-size: 21px; line-height: 1.08; text-transform: uppercase; letter-spacing: .01em; text-wrap: balance; }
  .front-q { margin: 0; color: var(--terra); font-size: 13px; line-height: 1.45; }
  .front-list { list-style: none; margin: 6px 0 0; padding: 0; display: grid; }
  .front-list li { display: grid; gap: 4px; padding: 12px 0; border-top: 1px dashed var(--line-strong); }
  .front-list .mono { color: var(--orange); font-size: 9.5px; }
  .front-list p { margin: 0; font-size: 14px; line-height: 1.45; color: var(--fg); }
  .case-foot { margin-top: 28px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 32px; }
  .case-more { margin: 0; color: var(--muted); font-size: 14.5px; }
  .ask-link { background: none; border: 0; padding: 0; color: var(--fg); font: inherit; cursor: pointer; text-decoration: underline; text-decoration-color: var(--orange); text-underline-offset: 5px; }
  .ask-link:hover { color: var(--orange); }

  /* comparison: tabla con una fila por criterio y una columna por opción. Qovant va primero, sobre un panel continuo,
     y cada respuesta lleva su veredicto (is-ok, is-mid, is-no) para que la diferencia se vea sin leer todo */
  .cmp { --k: 16.5%; --us: 25.5%; position: relative; z-index: 0; display: grid; grid-template-columns: var(--k) var(--us) repeat(3, minmax(0, 1fr)); margin-block: 20px 24px; }
  /* panel de Qovant: ocupa su columna de arriba abajo, sobresale de la tabla y contiene el botón */
  .cmp::before { content: ""; position: absolute; z-index: 0; left: var(--k); width: var(--us); top: -20px; bottom: -24px; background: var(--surface); border: 2px solid var(--orange); border-radius: var(--cut); box-shadow: 10px 10px 0 var(--shadow); }
  .cmp-head, .cmp-row, .cmp-foot { position: relative; z-index: 1; grid-column: 1 / -1; display: grid; grid-template-columns: subgrid; }
  .cmp-row { border-top: 1px solid var(--line); transition: background-color .2s ease; }
  .cmp-row:hover { background: rgba(242, 239, 230, .035); }
  .cmp-opt { align-self: end; padding: 0 18px 18px; font-family: var(--f-display); font-stretch: 75%; font-weight: 700; font-size: 20px; line-height: 1.05; letter-spacing: .01em; text-transform: uppercase; color: var(--muted); text-wrap: balance; }
  .cmp-opt--us { display: flex; align-items: center; gap: 10px; padding-bottom: 12px; font-size: 34px; line-height: 1; color: var(--orange); }
  .cmp-opt--us strong { font-weight: 800; }
  .cmp-key { padding: 22px 16px 18px 0; color: var(--fg); line-height: 1.5; }
  .cmp-cell { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 2px 10px; align-content: start; padding: 18px; }
  .cmp-cell::before { content: ""; grid-row: span 2; width: 22px; height: 22px; border-radius: 50%; background: var(--ico) center / 12px 12px no-repeat, var(--tint); }
  .cmp-who { display: none; }
  .cmp-cell p { margin: 0; font-size: 14.5px; line-height: 1.5; color: var(--muted); }
  .cmp-cell--us p { font-size: 15.5px; line-height: 1.42; font-weight: 500; color: var(--fg); }
  .is-ok { --tint: rgba(88, 194, 186, .16); --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18' fill='none' stroke='%2358C2BA' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 10 7 14 15.5 3.5'/%3E%3C/svg%3E"); }
  .is-mid { --tint: rgba(159, 179, 188, .14); --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18' fill='none' stroke='%239FB3BC' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 9h10'/%3E%3C/svg%3E"); }
  .is-no { --tint: rgba(212, 96, 63, .18); --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18' fill='none' stroke='%23E0714F' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.5 4.5l9 9M13.5 4.5l-9 9'/%3E%3C/svg%3E"); }
  .cmp-cell--us { --tint: var(--orange); --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18' fill='none' stroke='%2310212B' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 10 7 14 15.5 3.5'/%3E%3C/svg%3E"); }
  .cmp-cta { padding: 6px 18px 0; }
  .cmp-cta .btn { width: 100%; padding-inline: 10px; font-size: clamp(13px, 1.15vw, 15px); white-space: nowrap; }
  /* cierre de la tabla: a la derecha del botón, bajo las tres alternativas */
  .compare-note { grid-column: 3 / -1; align-self: center; margin: 0; padding: 6px 18px 0; color: var(--muted); font-size: 14.5px; }
  .compare-note .hand { color: var(--terra); font-size: 26px; margin-right: 6px; }

  /* roi calculator */
  .roi-section { background: var(--bg-2); border-block: 1px solid var(--line); }
  .roi { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border: 1px solid var(--line-strong); border-radius: 10px; overflow: hidden; background: var(--surface); box-shadow: 12px 12px 0 var(--shadow); }
  .roi-inputs { padding: clamp(24px, 3vw, 36px); display: grid; gap: 26px; align-content: start; }
  .field { display: grid; gap: 10px; }
  .field-top { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
  .field label { font-size: 15px; font-weight: 500; }
  .field-val { font-family: var(--f-display); font-stretch: 70%; font-weight: 800; font-size: 30px; line-height: 1; color: var(--orange); font-variant-numeric: tabular-nums; white-space: nowrap; }
  .field-val small { font-size: 15px; color: var(--muted); font-weight: 600; margin-left: 3px; }
  .field input[type="range"] { width: 100%; margin: 0; accent-color: var(--orange); cursor: pointer; }
  .field-hint { margin: 0; font-size: 12.5px; color: var(--muted); }
  .money { display: flex; }
  .money-cur { display: grid; place-items: center; padding-inline: 14px; background: var(--bg-3); color: var(--muted); border: 1px solid var(--line-strong); border-right: 0; border-radius: 8px 0 0 8px; }
  .money input { flex: 1; min-width: 0; background: var(--surface-input); color: var(--fg); border: 1px solid var(--line-strong); border-radius: 0 8px 8px 0; padding: 12px; font: 15px var(--f-body); font-variant-numeric: tabular-nums; }
  .money input:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px var(--status-ring); }
  .roi-out { padding: clamp(24px, 3vw, 36px); background: var(--bg); border-left: 1px solid var(--line); display: flex; flex-direction: column; gap: 18px; }
  .roi-out > .mono { color: var(--muted); }
  .roi-stat { display: grid; gap: 4px; padding-bottom: 16px; border-bottom: 1px dashed var(--line-strong); }
  .roi-num { font-family: var(--f-display); font-stretch: 62%; font-weight: 800; font-size: clamp(44px, 4.6vw, 64px); line-height: .9; color: var(--fg); font-variant-numeric: tabular-nums; }
  .roi-num--hl { color: var(--orange); }
  .roi-stat p { margin: 0; color: var(--muted); font-size: 14.5px; }
  .roi-verdict { margin: 0; font-size: 15px; line-height: 1.5; color: var(--fg); }
  .roi-fine { margin: 18px 0 0; font-size: 13px; color: var(--muted); }

  /* pricing */
  /* subgrid: nombre, precio, cifras, beneficios y botón quedan a la misma altura en los tres planes */
  .plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: repeat(5, auto); border: 1px solid var(--line); }
  .plan { padding: clamp(26px, 3vw, 38px); display: grid; grid-row: span 5; grid-template-rows: subgrid; row-gap: 22px; border-left: 1px solid var(--line); position: relative; }
  .plan:first-child { border-left: 0; }
  .plan--featured { background: var(--bg-2); outline: 2px solid var(--orange); outline-offset: -1px; z-index: 1; }
  .plan-flag { position: absolute; top: -26px; right: 22px; color: var(--terra); font-size: 32px; transform: rotate(-5deg); background: var(--bg); padding: 0 8px; }
  .plan h3 { font-size: clamp(44px, 4.4vw, 60px); }
  .plan-for { margin: 10px 0 0; color: var(--muted); font-size: 15px; }
  .price { display: grid; align-content: start; gap: 6px; padding-block: 20px; border-block: 1px dashed var(--line-strong); }
  .price p { margin: 0; }
  .price-val { margin: 0; font-family: var(--f-display); font-stretch: 70%; font-weight: 800; font-size: clamp(50px, 5vw, 66px); line-height: 1; color: var(--orange); font-variant-numeric: tabular-nums; }
  .price-val .cur { font-size: 16px; font-weight: 600; color: var(--muted); margin-right: 6px; letter-spacing: .06em; }
  .price-val .per { font-size: 17px; color: var(--muted); font-weight: 600; margin-left: 4px; }
  .price-val .from { color: var(--muted); margin-right: 8px; }
  .price .price-note { margin: 2px 0 6px; color: var(--terra); font-size: 25px; transform: rotate(-2deg); transform-origin: left center; }
  .price-setup { font-size: 15px; color: var(--fg); }
  .price-setup strong { font-weight: 600; }
  .price-annual { color: var(--muted); font-size: 10px; }
  .plan-specs { margin: 0; display: grid; align-content: start; }
  .plan-specs div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 8px 0; border-bottom: 1px dotted var(--line-strong); }
  .plan-specs dt { font-family: var(--f-mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
  .plan-specs dd { margin: 0; font-size: 14.5px; font-weight: 600; text-align: right; }
  .plan-body { display: grid; align-content: start; gap: 12px; }
  .plan-inherit { margin: 0; color: var(--terra); }
  .checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
  .checks li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; font-size: 14.5px; color: var(--fg); }
  .checks svg { width: 18px; height: 18px; margin-top: 2px; fill: none; stroke: var(--orange); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
  .plan .btn { width: 100%; align-self: end; }

  .pilot { margin-top: 28px; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 24px 48px; align-items: center; padding: clamp(24px, 3vw, 38px); border: 2px dashed rgba(237, 182, 60, .5); border-radius: var(--cut); background: var(--surface); }
  .pilot-kicker { margin: 0 0 6px; color: var(--terra); font-size: 28px; transform: rotate(-2deg); transform-origin: left center; }
  .pilot h3 { font-size: clamp(36px, 3.6vw, 48px); margin-bottom: 12px; }
  .pilot-copy p:last-child { margin: 0; color: var(--muted); font-size: 15.5px; max-width: 60ch; }
  .pilot-offer { display: grid; justify-items: start; gap: 8px; padding-left: 40px; border-left: 1px dashed var(--line-strong); }
  .pilot-offer p { margin: 0; }
  .pilot-once { color: var(--muted); }
  .pilot-credit { font-size: 14.5px; color: var(--fg); max-width: 38ch; }
  .pilot-offer .btn { margin-top: 8px; }

  .assure { margin-top: 28px; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); border: 1px solid var(--line); }
  .guarantee { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 24px; align-items: center; padding: clamp(22px, 3vw, 34px); }
  .guarantee h3 { margin: 0 0 6px; font-family: var(--f-display); font-stretch: 75%; font-weight: 700; font-size: 22px; text-transform: uppercase; letter-spacing: .02em; }
  .guarantee p { margin: 0; color: var(--muted); font-size: 14.5px; }
  .seal { width: 92px; height: 92px; border-radius: 50%; border: 2px solid var(--terra); box-shadow: inset 0 0 0 4px var(--bg), inset 0 0 0 5px rgba(88, 194, 186, .5); display: grid; place-content: center; text-align: center; color: var(--terra); transform: rotate(-8deg); }
  .seal .display { font-size: 42px; line-height: .85; }
  .seal .mono { font-size: 9.5px; }
  .included { padding: clamp(22px, 3vw, 34px); border-left: 1px solid var(--line); display: grid; gap: 14px; align-content: center; }
  .included > .mono { margin: 0; color: var(--orange); }

  .billing { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-top: 40px; }
  .billing h4 { margin: 0 0 8px; font-family: var(--f-display); font-stretch: 75%; font-weight: 700; font-size: 20px; text-transform: uppercase; letter-spacing: .02em; }
  .billing p { margin: 0; color: var(--muted); font-size: 14.5px; }
  .addons dl { margin: 0; display: grid; }
  .addons dl div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 6px 0; border-bottom: 1px dotted var(--line-strong); }
  .addons dt { font-size: 14px; color: var(--fg); }
  .addons dd { margin: 0; font-size: 13.5px; color: var(--muted); text-align: right; }
  .billing .fine { grid-column: 1 / -1; font-size: 13px; color: var(--muted); }

  .pilot-link { color: var(--muted); font-size: 14px; }
  .pilot-link:hover { color: var(--orange); }

  /* casos de éxito */
  .stories { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .story { display: flex; flex-direction: column; gap: 12px; padding: 22px 22px 18px; border: 1px solid var(--line-strong); border-radius: var(--cut); background: var(--surface); }
  .story-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
  .story-sectors { margin: 0; color: var(--terra); line-height: 1.7; }
  .agent-tag { flex: none; display: inline-block; color: var(--orange); border: 1px solid rgba(237, 182, 60, .45); border-radius: 999px; padding: 4px 9px; font-size: 9.5px; line-height: 1.2; }
  .story-hook { margin: 0; font-size: 15px; line-height: 1.45; color: var(--muted); }
  .story h3 { margin: 0; font-family: var(--f-display); font-stretch: 75%; font-weight: 700; font-size: 25px; line-height: 1.02; text-transform: uppercase; letter-spacing: .005em; text-wrap: balance; }
  .story-flow { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; counter-reset: step; }
  .story-flow li { counter-increment: step; display: grid; grid-template-columns: 22px 1fr; gap: 9px; font-size: 14px; line-height: 1.45; color: var(--fg); }
  .story-flow li::before { content: counter(step); display: grid; place-items: center; width: 20px; height: 20px; margin-top: 1px; border-radius: 50%; background: var(--orange); color: var(--on-accent); font: 500 10px var(--f-mono); }
  .story-result { margin: 0; padding: 10px 12px; border-left: 3px solid var(--terra); background: var(--bg-2); font-size: 14px; line-height: 1.5; color: var(--muted); }
  .story-result strong { color: var(--fg); font-weight: 600; }
  .story-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px 14px; padding-top: 12px; border-top: 1px dashed var(--line-strong); }
  .story-foot .mono { color: var(--muted); font-size: 9.5px; line-height: 1.5; }
  /* «Lo quiero» es la acción de cada tarjeta: se ve como botón, no como texto */
  .story-cta, .qw-cta {
    display: inline-flex; align-items: center; justify-content: center; padding: 9px 14px;
    font-family: var(--f-display); font-stretch: 85%; font-weight: 700; font-size: 13px; line-height: 1; letter-spacing: .06em; text-transform: uppercase;
    color: var(--orange); text-decoration: none; white-space: nowrap;
    border: 2px solid var(--orange); border-radius: var(--cut);
    transition: transform .18s ease, background-color .18s ease, color .18s ease;
  }
  .story-cta:hover, .qw-cta:hover { background: var(--orange); color: var(--on-accent); transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--spark); }
  .story--feature .story-cta { background: var(--orange); color: var(--on-accent); }
  .story--wide { grid-column: span 2; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 26px; }
  .story--feature { background: var(--bg-2); outline: 2px solid var(--orange); outline-offset: -1px; }
  .story-report { line-height: 1.7; }
  .story-report b { color: var(--orange); font-weight: 600; }
  .story-main { display: flex; flex-direction: column; gap: 12px; }
  /* los cinco casos sin ejemplo de mensaje comparten la grilla en escritorio; en móvil pasan a ser un carrusel */
  .stories-rest { display: contents; }
  .car-dots { display: none; } /* puntos de los carruseles: solo en móvil */
  .story-chat { display: flex; flex-direction: column; gap: 8px; padding: 16px; border: 1px solid var(--line); border-radius: var(--cut); background: var(--bg); align-self: center; }
  .story-chat .msg { max-width: 92%; padding: 9px 12px; font-size: 13.5px; }
  .story-chat-label { margin: 0 0 4px; color: var(--muted); }
  .stories-band { margin-top: 32px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 18px 32px; padding: 22px 26px; border: 2px dashed rgba(237, 182, 60, .5); border-radius: var(--cut); }
  .stories-band p { margin: 0; max-width: 64ch; font-size: 15.5px; color: var(--muted); }
  .stories-band strong { color: var(--fg); }

  /* equipos y ecosistemas */
  .ladder { list-style: none; margin: 0 0 48px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line); }
  .ladder li { position: relative; display: grid; gap: 6px; align-content: start; padding: 20px 26px; border-left: 1px solid var(--line); }
  .ladder li:first-child { border-left: 0; }
  .ladder li:last-child { background: var(--bg-2); }
  .ladder li + li::before { content: "→"; position: absolute; left: -12px; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--orange); color: var(--on-accent); font-size: 13px; font-weight: 700; }
  .ladder .mono { color: var(--orange); }
  .ladder strong { font-family: var(--f-display); font-stretch: 75%; font-weight: 700; font-size: 22px; line-height: 1.05; text-transform: uppercase; text-wrap: balance; }
  .ladder li > span:last-child { color: var(--muted); font-size: 14px; }
  .block-title { margin: 0 0 18px; font-size: clamp(30px, 3.4vw, 44px); }
  .teams { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: 52px; }
  .team, .eco { display: flex; flex-direction: column; gap: 12px; padding: 20px 20px 18px; border: 1px solid var(--line-strong); border-radius: var(--cut); background: var(--surface); }
  .team-for, .eco-kind { margin: 0; line-height: 1.7; }
  .team-for { color: var(--terra); }
  .eco-kind { color: var(--orange); }
  .team h4, .eco h4 { margin: 0; font-family: var(--f-display); font-stretch: 75%; font-weight: 700; font-size: 23px; line-height: 1.02; text-transform: uppercase; text-wrap: balance; }
  .team-chain { list-style: none; margin: 0; padding: 0; }
  .team-chain li { position: relative; display: grid; gap: 6px; padding: 9px 0 11px 16px; border-left: 2px solid var(--line-strong); font-size: 14px; line-height: 1.45; color: var(--fg); }
  .team-chain li::before { content: ""; position: absolute; left: -5px; top: 14px; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }
  .team-chain .agent-tag, .eco-map .agent-tag { justify-self: start; }
  .team-result, .eco-result { margin: auto 0 0; padding-top: 12px; border-top: 1px dashed var(--line-strong); font-size: 14px; line-height: 1.5; }
  .team-result { color: var(--fg); font-weight: 500; }
  .eco-result { color: var(--muted); }
  .eco-result strong { color: var(--fg); font-weight: 600; }
  .ecos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .eco { background: var(--bg-2); padding: 22px; }
  .eco-for { margin: 0; font-size: 14.5px; color: var(--muted); }
  .eco-map { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
  .eco-map li { display: grid; grid-template-columns: 78px 1fr; gap: 10px; align-items: baseline; font-size: 14px; line-height: 1.4; color: var(--fg); }

  /* catálogo de quick wins (catalogo/, generado por scripts/build-catalog.mjs) */
  .qw-hero { padding-block: clamp(48px, 7vw, 96px) clamp(28px, 4vw, 48px); }
  .qw-hero h1 { font-size: clamp(52px, 8vw, 112px); max-width: 17ch; }
  .qw-hero .hl { color: var(--orange); }
  .qw-hero .lede { margin-top: 22px; }
  .qw-facts { margin: 34px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-block: 1px solid var(--line); }
  .qw-facts div { padding: 20px 20px 20px 0; }
  .qw-facts div + div { padding-left: 20px; border-left: 1px solid var(--line); }
  .qw-facts dt { font-family: var(--f-display); font-stretch: 70%; font-weight: 800; font-size: clamp(40px, 4.4vw, 58px); line-height: .9; color: var(--orange); }
  .qw-facts dd { margin: 8px 0 0; font-size: 14px; color: var(--muted); }
  .qw-how { padding-bottom: 36px; }
  .qw-how h2 { margin: 0 0 14px; color: var(--orange); font-weight: 400; }
  .qw-how ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; counter-reset: how; }
  .qw-how li { counter-increment: how; display: grid; gap: 4px; padding: 16px 18px; border: 1px solid var(--line-strong); border-radius: var(--cut); background: var(--surface); }
  .qw-how li::before { content: counter(how, decimal-leading-zero); font: 400 10px var(--f-mono); letter-spacing: .08em; color: var(--orange); }
  .qw-how li strong { font-family: var(--f-display); font-stretch: 75%; font-weight: 700; font-size: 20px; text-transform: uppercase; line-height: 1.05; }
  .qw-how span { color: var(--muted); font-size: 14px; }
  .qw-price { margin: 18px 0 0; padding: 14px 18px; border-left: 3px solid var(--orange); background: var(--surface); color: var(--muted); font-size: 15px; }
  .qw-price strong { color: var(--fg); font-weight: 600; }
  .qw-list { padding-bottom: clamp(56px, 7vw, 96px); }
  .qw-filters { position: sticky; top: 64px; z-index: 5; display: flex; flex-wrap: wrap; gap: 8px; padding: 14px 0; margin-bottom: 8px; background: var(--bg); border-bottom: 1px solid var(--line); }
  .qw-filter[aria-pressed="true"] { background: var(--orange); border-color: var(--orange); color: var(--on-accent); }
  .qw-group { padding-top: 34px; }
  .qw-group[hidden] { display: none; }
  .qw-group-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 20px; margin-bottom: 16px; }
  .qw-group-head h2 { font-size: clamp(32px, 3.6vw, 48px); }
  .qw-group-head p { margin: 0; color: var(--muted); }
  .qw-row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
  .qw { display: flex; flex-direction: column; gap: 10px; padding: 18px 16px 16px; border: 1px solid var(--line-strong); border-radius: var(--cut); background: var(--surface); }
  .qw .agent-tag { align-self: flex-start; }
  .qw h3 { margin: 0; font-family: var(--f-display); font-stretch: 75%; font-weight: 700; font-size: 21px; line-height: 1.02; text-transform: uppercase; text-wrap: balance; }
  .qw-what { margin: 0; font-size: 13.5px; line-height: 1.5; color: var(--fg); }
  .qw-ideal, .qw-result { margin: 0; font-size: 13px; line-height: 1.45; color: var(--muted); }
  .qw-ideal .mono, .qw-result .mono { display: block; margin-bottom: 2px; font-size: 9px; }
  .qw-ideal .mono { color: var(--terra); }
  .qw-result { margin-top: auto; padding: 9px 10px; border-left: 3px solid var(--orange); background: var(--bg-2); color: var(--fg); }
  .qw-result .mono { color: var(--orange); }
  .qw-cta { align-self: flex-start; }
  .qw-combo { margin-top: 44px; }
  .qw-final { padding-block: clamp(56px, 7vw, 96px); background: var(--band); border-top: 1px solid var(--line); }
  .qw-final h2 { font-size: clamp(40px, 5.4vw, 72px); max-width: 18ch; }
  .qw-final .lede { margin: 18px 0 24px; }

  /* faq */
  .faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 40px 72px; align-items: start; }
  .faq-side { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 22px; }
  .faq-side .hand { font-size: 32px; color: var(--terra); }
  .faq-side button { background: none; border: 0; padding: 0; color: inherit; font: inherit; cursor: pointer; text-decoration: underline; text-decoration-color: var(--orange); text-underline-offset: 5px; }
  .faq-list { border-top: 1px solid var(--line); }
  .faq-list details { border-bottom: 1px solid var(--line); }
  .faq-list summary {
    list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; align-items: center;
    padding: 22px 0; font-size: 18px; font-weight: 500; line-height: 1.35;
  }
  .faq-list summary::-webkit-details-marker { display: none; }
  .faq-list summary::after { content: "+"; flex: none; font-family: var(--f-hand); font-size: 38px; line-height: .5; color: var(--orange); transition: transform .2s ease; }
  .faq-list details[open] summary::after { transform: rotate(45deg); }
  .faq-list summary:hover { color: var(--orange); }
  .faq-list details p { margin: -6px 0 24px; color: var(--muted); max-width: 62ch; font-size: 15.5px; }

  /* final cta */
  .final { position: relative; overflow: hidden; border-block: 1px solid var(--line); background: var(--band); }
  .final canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: .9; }
  .final::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: repeating-linear-gradient(0deg, var(--scan) 0 1px, transparent 1px 3px); }
  .final-inner { position: relative; z-index: 2; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; padding-block: clamp(64px, 9vw, 112px); }
  .final .picto { width: clamp(130px, 16vw, 210px); height: clamp(130px, 16vw, 210px); }
  .final-copy { display: flex; flex-direction: column; gap: 22px; }
  .nodata { font-size: clamp(44px, 5vw, 70px); color: var(--fg); display: flex; gap: 14px; align-items: baseline; }
  .nodata s { text-decoration-color: var(--spark); text-decoration-thickness: 4px; color: var(--band-text); }
  .final h2 { font-size: clamp(46px, 6.4vw, 92px); max-width: 14ch; }
  .final h2 span { color: var(--orange); }
  .takeaways { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 24px; }
  .takeaways li { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 500; color: var(--fg); }
  .takeaways li::before { content: "→"; color: var(--orange); }
  .dossier-link { display: inline-flex; align-items: center; gap: 10px; justify-self: start; color: var(--muted); text-decoration: none; }
  .dossier-link::before { content: "↓"; color: var(--orange); font: 600 15px var(--f-body); }
  .dossier-link:hover { color: var(--orange); }
  .billing .fine a { color: var(--fg); }
  .billing .fine a:hover { color: var(--orange); }

  /* footer */
  .footer { padding-block: 56px 28px; }
  .footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(4, minmax(0, 1fr)); gap: 32px; }
  .footer p { color: var(--muted); font-size: 14px; margin: 14px 0 0; max-width: 36ch; }
  .footer .footer-markets { margin-top: 18px; font-size: 10px; line-height: 1.8; color: var(--fg); }
  .footer h4 { margin: 0 0 12px; color: var(--muted); font-weight: 400; }
  .footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
  .footer ul a { text-decoration: none; font-size: 14px; }
  .footer ul a:hover { color: var(--orange); }
  .footer-base { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; color: var(--muted); }
  .footer-lang [aria-current] { color: var(--fg); }
  .footer-lang a { text-decoration: none; }
  .footer-lang a:hover { color: var(--orange); }

  /* acciones siempre a mano. Escritorio: el acceso al chat. Móvil y tablet (el menú ya no muestra el botón de agenda):
     una barra con agenda, WhatsApp y chat. La muestra y la oculta assets/site.js (assets/catalog.js en el catálogo) */
  .dock { position: fixed; right: 16px; bottom: 16px; z-index: 70; display: flex; align-items: center; gap: 8px; }
  .dock-cta, .dock-wa { display: none; }
  .dock-wa svg { width: 19px; height: 19px; flex: none; fill: none; stroke: var(--status); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
  .launcher {
    display: flex; align-items: center; gap: 10px;
    background: var(--bg-2); color: var(--fg); border: 1px solid var(--line-strong);
    border-radius: 999px; padding: 6px 18px 6px 10px; cursor: pointer;
    font: 600 14px var(--f-body); box-shadow: 6px 6px 0 var(--shadow-strong);
  }
  .launcher .avatar { width: 36px; height: 36px; }
  .launcher .avatar svg { width: 36px; height: 36px; }
  .launcher:hover { border-color: var(--orange); }
  .chat-open .dock { display: none; }

  /* aviso de cookies (assets/consent.js): una barra baja y compacta, para que no tape el título ni los botones del hero en la primera visita */
  .consent { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 10px 24px; padding: 14px max(var(--gutter), calc((100% - var(--maxw)) / 2 + var(--gutter))); background: var(--bg-2); color: var(--fg); border-top: 1px solid var(--line-strong); box-shadow: 0 -12px 32px var(--shadow); }
  .consent[hidden], .consent-prefs[hidden] { display: none; }
  .consent-title { font-size: 20px; }
  .consent-text { margin: 0; font-size: 13px; line-height: 1.5; color: var(--muted); }
  .consent-text a { color: var(--fg); }
  .consent-text a:hover { color: var(--orange); }
  .consent-prefs { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 28px; padding-block: 6px 2px; }
  .consent-cat { display: grid; grid-template-columns: 20px 1fr; gap: 10px; font-size: 13.5px; line-height: 1.45; color: var(--muted); cursor: pointer; }
  .consent-cat strong { display: block; color: var(--fg); font-weight: 600; }
  .consent-cat input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--orange); }
  .consent-actions { display: flex; flex-wrap: wrap; gap: 8px; }
  .consent-open .dock { display: none; }
  .link-btn { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; text-align: left; }
  .link-btn:hover { color: var(--orange); }
  .footer ul .link-btn { font-size: 14px; }

  /* páginas legales (privacidad, protección de datos, cookies) */
  .legal { max-width: calc(780px + 2 * var(--gutter)); padding-block: clamp(40px, 6vw, 72px) clamp(64px, 8vw, 104px); }
  .legal h1 { font-size: clamp(46px, 7vw, 84px); }
  .legal-updated { margin: 18px 0 0; color: var(--muted); }
  .legal-intro { margin: 28px 0 0; font-size: clamp(17px, 1.5vw, 19px); color: var(--fg); }
  .legal-toc { margin: 32px 0 0; padding: 18px 22px; border: 1px solid var(--line); border-radius: var(--cut); background: var(--surface); }
  .legal-toc > .mono { margin: 0; color: var(--orange); }
  .legal-toc ol { margin: 10px 0 0; padding-left: 20px; columns: 2; column-gap: 36px; font-size: 14.5px; line-height: 1.9; }
  .legal-toc a { color: var(--fg); text-decoration: none; }
  .legal-toc a:hover { color: var(--orange); }
  .legal-body h2 { margin: 48px 0 12px; font-family: var(--f-display); font-stretch: 75%; font-weight: 700; font-size: 25px; line-height: 1.1; text-transform: uppercase; letter-spacing: .01em; scroll-margin-top: 90px; }
  .legal-body h3 { margin: 24px 0 6px; font-size: 17px; font-weight: 600; }
  .legal-body p, .legal-body li { color: var(--muted); font-size: 16px; line-height: 1.7; }
  .legal-body p { margin: 0 0 14px; }
  .legal-body ul { margin: 0 0 14px; padding-left: 20px; display: grid; gap: 6px; }
  .legal-body strong { color: var(--fg); font-weight: 600; }
  .legal-body a { color: var(--orange); }
  .legal-note { margin: 18px 0; padding: 14px 18px; border-left: 3px solid var(--orange); background: var(--surface); }
  .legal-note p:last-child { margin-bottom: 0; }
  .table-wrap { overflow-x: auto; margin: 14px 0 18px; border: 1px solid var(--line); }
  .legal-body table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 560px; }
  .legal-body th, .legal-body td { text-align: left; vertical-align: top; padding: 11px 14px; border-bottom: 1px solid var(--line); color: var(--muted); }
  .legal-body th { font-family: var(--f-mono); font-size: 10px; font-weight: 400; letter-spacing: .08em; text-transform: uppercase; }
  .legal-body tr:last-child td { border-bottom: 0; }
  .legal-body td:first-child { color: var(--fg); font-family: var(--f-mono); font-size: 12.5px; }
  .legal-actions { margin: 6px 0 20px; }
  .legal-links { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14px; }
  .legal-links a { text-decoration: none; }
  .legal-links a:hover, .legal-links [aria-current] { color: var(--orange); }

  /* ---------- responsive ---------- */
  @media (max-width: 1100px) {
    .nav-inner { gap: 18px; }
    .nav-links { gap: 18px; }
    .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 28px; }
    .steps::before { display: none; }
    .billing { grid-template-columns: 1fr 1fr; }
    .addons { grid-column: 1 / -1; }
    .stories, .teams { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .story--wide:not(.story--feature) { grid-column: auto; grid-template-columns: minmax(0, 1fr); }
    .ecos { grid-template-columns: minmax(0, 1fr); }
    .qw-row { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(250px, 1fr); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px; }
    .qw { scroll-snap-align: start; }
    .eco-map { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px 28px; }
    .fronts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .consent { grid-template-columns: auto minmax(0, 1fr); }
    .consent-actions { grid-column: 1 / -1; }
  }
  @media (max-width: 1023px) {
    /* comparación en pantallas angostas: una tarjeta por criterio, con la respuesta de Qovant arriba y las tres alternativas debajo */
    .cmp { grid-template-columns: minmax(0, 1fr); gap: 12px; margin-block: 0; }
    .cmp::before, .cmp-head, .cmp-corner { display: none; }
    .cmp-row, .cmp-foot { grid-column: auto; }
    .cmp-row { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 18px; padding: 18px; border: 1px solid var(--line-strong); border-radius: var(--cut); background: var(--bg-2); }
    .cmp-row:hover { background: var(--bg-2); }
    .cmp-key { grid-column: 1 / -1; padding: 0; color: var(--orange); }
    .cmp-cell { padding: 0; }
    .cmp-cell--us { grid-column: 1 / -1; padding: 13px 14px; background: var(--surface); border: 2px solid var(--orange); border-radius: var(--cut); }
    .cmp-who { display: block; font-family: var(--f-display); font-stretch: 78%; font-weight: 700; font-size: 14px; line-height: 1.5; letter-spacing: .03em; text-transform: uppercase; color: var(--muted); }
    .cmp-cell--us .cmp-who { color: var(--orange); }
    .cmp-foot { display: block; }
    .cmp-cta { padding: 4px 0 0; }
    .compare-note { padding: 16px 0 0; }
  }
  @media (max-width: 960px) {
    .hero-grid { grid-template-columns: minmax(0, 1fr); }
    .console-wrap { margin-top: 12px; }
    .section-head { grid-template-columns: minmax(0, 1fr); }
    .agents { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .strip-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .agent-group { grid-column: 1 / -1; }
    .agent-group-in { position: static; }
    .agent-group p { max-width: 60ch; }
    .case-intro { grid-template-columns: minmax(0, 1fr); }
    .stack-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .stack-cat:last-child { grid-column: 1 / -1; }
    .roi { grid-template-columns: minmax(0, 1fr); }
    .roi-out { border-left: 0; border-top: 1px solid var(--line); }
    .metrics-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .metric:nth-child(3) { border-left: 0; padding-left: 0; }
    .metric:nth-child(n+3) { border-top: 1px solid var(--line); }
    .plans { grid-template-columns: minmax(0, 1fr); }
    .plan { border-left: 0; border-top: 1px solid var(--line); }
    .plan:first-child { border-top: 0; }
    .plan--featured { margin-block: 16px; }
    .pilot { grid-template-columns: minmax(0, 1fr); }
    .pilot-offer { padding: 22px 0 0; border-left: 0; border-top: 1px dashed var(--line-strong); }
    .assure { grid-template-columns: minmax(0, 1fr); }
    .included { border-left: 0; border-top: 1px solid var(--line); }
    .story--wide { grid-template-columns: minmax(0, 1fr); }
    .qw-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .qw-facts div:nth-child(3) { border-left: 0; padding-left: 0; }
    .qw-facts div:nth-child(n+3) { border-top: 1px solid var(--line); }
    .qw-how ol { grid-template-columns: minmax(0, 1fr); }
    .ladder { grid-template-columns: minmax(0, 1fr); }
    .ladder li { border-left: 0; border-top: 1px solid var(--line); }
    .ladder li:first-child { border-top: 0; }
    .ladder li + li::before { left: 26px; top: -12px; transform: rotate(90deg); }
    .faq-grid { grid-template-columns: minmax(0, 1fr); }
    .faq-side { position: static; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid > :first-child { grid-column: 1 / -1; }
  }
  @media (max-width: 960px) {
    .nav-links { display: none; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--bg-2); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 16px; }
    .nav-links.open { display: flex; }
    .nav-links a { padding: 12px 0; font-size: 16px; border-bottom: 1px solid var(--line); }
    .nav-links a[aria-current] { color: var(--orange); }
    .nav-links a[aria-current]::after { display: none; }
    .menu-btn { display: inline-block; }
    .nav .btn--sm { display: none; }
    /* sin botón de agenda en el menú, la barra inferior lo mantiene a un toque en toda la página */
    .dock { left: 0; right: 0; bottom: 0; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom, 0px)); background: var(--nav-bg); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--line-strong); }
    .dock-cta { display: inline-flex; flex: 1; }
    .dock-wa { display: inline-flex; }
    .dock .launcher { box-shadow: none; }
  }
  @media (max-width: 640px) {
    .hero-note { font-size: 28px; margin-top: -10px; }
    .hero h1 .outline { -webkit-text-stroke-width: 1.5px; }
    .agents { grid-template-columns: minmax(0, 1fr); }
    .agent .picto { width: 68px; height: 68px; }
    .strip-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
    .steps { grid-template-columns: minmax(0, 1fr); gap: 30px; padding-left: 4px; }
    .step { display: grid; grid-template-columns: 46px 1fr; gap: 4px 18px; }
    .step-mark { grid-row: span 4; }
    .step-when { margin-top: 0; }
    .metric { padding: 24px 0 22px 16px; }
    .metric:nth-child(odd) { padding-left: 0; padding-right: 16px; }
    .metric p { font-size: 13px; }
    .billing { grid-template-columns: minmax(0, 1fr); }
    .guarantee { grid-template-columns: minmax(0, 1fr); gap: 18px; }
    .seal { width: 76px; height: 76px; }
    .seal .display { font-size: 34px; }
    /* apiladas en el teléfono: Qovant y, debajo, cada alternativa */
    .cmp-row { grid-template-columns: minmax(0, 1fr); gap: 12px; }
    .stack-grid { grid-template-columns: minmax(0, 1fr); }
    .stack-cat { padding: 18px 16px; gap: 12px; }
    .stack-cat ul { gap: 5px; }
    .stack-cat li { font-size: 12.5px; padding: 4px 10px 4px 8px; gap: 6px; }
    .trust { gap: 8px 16px; }
    .final-inner { grid-template-columns: minmax(0, 1fr); }
    .log li { grid-template-columns: 60px 1fr; }
    .log li span:last-child { grid-column: 1 / -1; }
    .console-body { height: 320px; }
    .cta-row .btn { flex: 1 1 auto; }
    .stories, .teams, .fronts { grid-template-columns: minmax(0, 1fr); }
    .story--wide { grid-column: auto; }
    /* carruseles: los casos, los equipos, los ecosistemas y los frentes de cada industria se recorren deslizando,
       con la tarjeta siguiente asomada y puntos que muestran cuántas hay. Así la página en el teléfono es mucho más corta.
       Sin este bloque (hasta la línea de .car-dots i.on) las tarjetas vuelven a apilarse una bajo otra */
    .stories { display: block; }
    .story--feature { margin-bottom: 12px; }
    .stories > .car-dots { margin-bottom: 16px; }
    .stories-rest, .teams, .ecos, .fronts {
      display: grid; grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 86%; gap: 12px;
      margin-inline: calc(var(--gutter) * -1); padding: 2px var(--gutter) 6px; scroll-padding-inline: var(--gutter);
      overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none;
    }
    .stories-rest::-webkit-scrollbar, .teams::-webkit-scrollbar, .ecos::-webkit-scrollbar, .fronts::-webkit-scrollbar { display: none; }
    .stories-rest > *, .teams > *, .ecos > *, .fronts > * { scroll-snap-align: start; }
    .teams { margin-bottom: 0; }
    .teams + .car-dots { margin-bottom: 44px; }
    .fronts { background: none; border: 0; }
    .front { border: 1px solid var(--line-strong); border-radius: var(--cut); }
    .car-dots { display: flex; justify-content: center; gap: 7px; margin-top: 12px; }
    .car-dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--line-strong); transition: background-color .2s ease, transform .2s ease; }
    .car-dots i.on { background: var(--orange); transform: scale(1.3); }
    .eco-map { grid-template-columns: minmax(0, 1fr); }
    .stories-band { padding: 18px; }
    .qw-filters { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
    .qw-filter { flex: none; }
    .consent { grid-template-columns: minmax(0, 1fr); gap: 10px; padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom, 0px)); }
    .consent-title { display: none; }
    .consent-text { font-size: 12.5px; line-height: 1.45; }
    .consent-prefs { grid-template-columns: minmax(0, 1fr); }
    .consent-actions .btn { flex: 1 1 auto; padding-inline: 10px; }
    .consent-prefs[hidden] ~ .consent-actions [data-c="config"] { flex-basis: 100%; padding: 2px 0 0; border: 0; background: none; color: var(--muted); text-decoration: underline; text-underline-offset: 4px; box-shadow: none; transform: none; }
    .legal-toc ol { columns: 1; }
    /* en la barra del teléfono, WhatsApp y el chat van solo con su ícono; el nombre sigue disponible para lectores de pantalla */
    .dock .lbl { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
    .dock-wa { padding-inline: 12px; }
    .launcher { padding: 5px; }
    /* en el teléfono el chat flotante ocupa toda la pantalla */
    .console.is-floating { left: 0; right: 0; top: 0; bottom: auto; width: auto; height: 100vh; height: 100dvh; border: 0; border-radius: 0; box-shadow: none; }
    body.chat-open { overflow: hidden; }
    .footer-grid { grid-template-columns: minmax(0, 1fr); }
  }
  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
    html { scroll-behavior: auto; }
  }
