/* ResupplyAI · web pública · hoja compartida (Portada, Suppliers, Contractors)
   Estudio UX/UI · 30 sep 2026. Referencia R2 (QDT) con las decisiones de Ivan:
   fondo blanco tipo Apple, bandas navy a sangre (#21325f / #2a3d88) alternadas, titulares DM Sans 700
   con tracking levemente negativo, texto Lato, monocromía navy (sin verde, rojo ni ámbar).
   La página se ve completa SIN JS. El movimiento (assets/motion/) se engancha por clases y data-*:
   .cn / .cn-* (CardNav), .acc (Accordion), .on-card / .on-num (OutlineNumber), [data-reveal],
   [data-text-reveal], [data-count-to], [data-silk]. Aquí solo va el ASPECTO quieto de esos ganchos. */

/* ---------- 1. Tokens ---------- */
:root {
  --navy-d: #21325f;          /* Manual: navy profundo (bandas, pie, tinta) */
  --navy: #2a3d88;            /* Manual: azul de marca (bandas alternas, acentos) */
  --navy-m: #5a67a3;          /* navy apagado: 2.º tono del titular (5.6:1 sobre blanco) */
  --ink: #1b2647;             /* tinta del texto largo: navy profundo un punto más oscuro */
  --grey: #4f5868;            /* texto secundario sobre blanco (7.0:1) */
  --white: #fff;
  --paper: #f6f7fb;           /* blanco tonalizado */
  --tint-1: #eef0f8;
  --tint-2: #e2e6f3;
  --tint-3: #cfd5ec;          /* texto secundario sobre navy (8.6:1 sobre #21325f) */
  --line: #dde1ec;
  --line-dark: rgba(255, 255, 255, .14);

  --display: "DM Sans", "Helvetica Neue", Arial, sans-serif;
  --text: "Lato", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --max: 1240px;
  --gut: clamp(16px, 4.2vw, 56px);
  --r-lg: 24px; --r-md: 16px; --r-sm: 10px;
  --shadow-1: 0 1px 2px rgba(27, 38, 71, .06), 0 8px 24px rgba(27, 38, 71, .08);
  --shadow-2: 0 2px 6px rgba(27, 38, 71, .08), 0 30px 70px -20px rgba(18, 28, 60, .45);
  --ease: cubic-bezier(.16, 1, .3, 1);

  /* variables que lee el paquete de motion (mismos nombres que src/resupply.css) */
  --cn-ink: #21325f; --cn-radius: 18px; --cn-bar: 64px;
  --acc-line: rgba(33, 50, 95, .14); --acc-muted: #4f5868;
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--white); color: var(--ink); font: 400 1.0625rem/1.65 var(--text);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; overflow-x: clip; }
img, svg, picture { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; margin: 0; color: var(--navy-d); text-wrap: balance; }
h1 { font-size: clamp(2.35rem, 1.2rem + 4vw, 4.75rem); line-height: 1.02; letter-spacing: -.035em; }
h2 { font-size: clamp(1.9rem, 1.2rem + 2.5vw, 3.25rem); line-height: 1.06; letter-spacing: -.03em; }
h3 { font-size: clamp(1.15rem, 1rem + .4vw, 1.375rem); line-height: 1.25; letter-spacing: -.015em; }
code, .mono { font-family: var(--mono); font-weight: 500; font-size: .92em; letter-spacing: 0; }
::selection { background: var(--tint-3); color: var(--navy-d); }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gut); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 100; background: var(--white); color: var(--navy-d);
  padding: 12px 18px; border-radius: 999px; font-weight: 700; box-shadow: var(--shadow-1); text-decoration: none; }
.skip:focus { top: 12px; }

/* Foco: anillo doble que se ve sobre blanco y sobre navy */
:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; border-radius: 6px; }
.band-navy :focus-visible, .band-deep :focus-visible, .site-foot :focus-visible { outline-color: #fff; }

.lede { font-size: clamp(1.075rem, 1rem + .3vw, 1.25rem); line-height: 1.6; color: var(--grey); max-width: 58ch; }
.small { font-size: .9375rem; color: var(--grey); }
.micro { font-size: .875rem; color: var(--grey); margin: 14px 0 0; }

/* ---------- 3. Botones y enlaces ---------- */
.btn { --b-bg: var(--navy-d); --b-fg: #fff; --b-hover: var(--navy);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px;
  border: 0; border-radius: 999px; background: var(--b-bg); color: var(--b-fg); font: 700 1rem/1 var(--text);
  letter-spacing: .005em; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease); }
.btn:hover { background: var(--b-hover); box-shadow: 0 10px 24px -10px rgba(33, 50, 95, .6); }
.btn:active { transform: translateY(1px); box-shadow: none; }
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-light { --b-bg: #fff; --b-fg: var(--navy-d); --b-hover: var(--tint-2); }
.btn-light:hover { box-shadow: 0 10px 28px -10px rgba(0, 0, 0, .45); }
.btn-sm { min-height: 44px; padding: 0 20px; font-size: .9375rem; }

.tlink { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 700; color: var(--navy-d);
  text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 5px; text-decoration-color: rgba(33, 50, 95, .35);
  transition: text-decoration-color .2s; }
.tlink:hover { text-decoration-color: currentColor; }
.tlink svg { width: 16px; height: 16px; }
.band-navy .tlink, .band-deep .tlink, .site-foot .tlink { color: #fff; text-decoration-color: rgba(255, 255, 255, .45); }
.band-navy .tlink:hover, .band-deep .tlink:hover { text-decoration-color: #fff; }

/* Etiqueta "Example data" / "Coming soon" y línea de fuentes (Tics de IA, 1 oct 2026).
   Antes: píldora con un circulito hueco adentro, el tic de plantilla. Ahora es una nota tipográfica, como la
   marca de un documento técnico: mayúsculas pequeñas con tracking amplio, color atenuado, sin fondo ni ícono.
   Sobre blanco: --grey (7.0:1). Sobre navy: --tint-3 (8.6:1), por las reglas de contexto de abajo. */
.tag { display: inline-block; color: var(--grey); font: 700 .6875rem/1.2 var(--text); letter-spacing: .14em; text-transform: uppercase;
  white-space: nowrap; font-variant-numeric: lining-nums; }
.band-navy .tag, .band-deep .tag, .pv .tag, .prod-managed .tag { color: var(--tint-3); }
.screen-top .tag { color: var(--grey); } /* barra clara dentro de la banda navy: 7.0:1 (antes 1.36:1) */
.chip { display: inline-block; color: var(--navy-d); font: 700 .75rem/1.4 var(--text); letter-spacing: .14em; text-transform: uppercase; }

/* ---------- 4. Nav: tarjeta blanca flotante (marcado de CardNav) ----------
   Sin JS: una sola fila (logo · enlaces · Sign in · botón) en escritorio, y una fila de enlaces que
   se puede deslizar en celular. Con JS (motion.min.js añade .cn-ready) manda card-nav.css. */
.navwrap { position: absolute; top: 14px; left: 0; right: 0; z-index: 50; padding-inline: max(12px, calc(var(--gut) - 12px)); }
.cn { max-width: calc(var(--max) - 2 * var(--gut) + 24px); margin-inline: auto; }
.cn-card { background: #fff; color: var(--cn-ink); border-radius: var(--cn-radius); box-shadow: 0 1px 2px rgba(20, 30, 60, .08), 0 14px 40px -12px rgba(20, 30, 60, .35); }
.cn-bar { height: var(--cn-bar); display: flex; align-items: center; gap: 8px; padding: 0 10px 0 18px; }
.cn-logo { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; text-decoration: none; color: var(--navy-d); margin-right: auto; border-radius: 8px; }
.cn-logo img { height: 30px; width: auto; }
.cn-logo .sub { padding-left: 12px; border-left: 1px solid var(--line); font: 700 .9375rem/1 var(--display); letter-spacing: -.01em; }
.cn-toggle { display: none; align-items: center; gap: 10px; min-height: 44px; padding: 0 14px; border: 0; border-radius: 999px;
  background: transparent; color: inherit; font: 700 .9375rem/1 var(--text); cursor: pointer; }
.cn-toggle:hover { background: var(--tint-1); }
.cn-burger { position: relative; width: 18px; height: 10px; }
.cn-burger::before, .cn-burger::after { content: ""; position: absolute; left: 0; right: 0; height: 2px; border-radius: 2px; background: currentColor; }
.cn-burger::before { top: 0; } .cn-burger::after { bottom: 0; }
.cn-actions { display: flex; align-items: center; gap: 4px; }
.cn-signin { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 999px; font-weight: 700; font-size: .9375rem; text-decoration: none; }
.cn-signin:hover { background: var(--tint-1); }
.cn-label { margin: 0 0 6px; font: 700 .8125rem/1.2 var(--text); color: var(--grey); }
.cn-group ul { list-style: none; margin: 0; padding: 0; }
.cn-group a { display: flex; align-items: center; min-height: 44px; text-decoration: none; font-weight: 700; border-radius: 8px; }

/* Con JS (CardNav activo): el panel se abre bajo la barra */
.cn-ready .cn-toggle { display: inline-flex; }
.cn-ready .cn-inline { display: none; }
.cn-panel { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px; padding: 8px 10px 10px; border-top: 1px solid var(--line); }
.cn-group { padding: 14px 16px; border-radius: calc(var(--cn-radius) - 6px); background: var(--paper); }
.cn-group a:hover { color: var(--navy); text-decoration: underline; text-underline-offset: 4px; }

/* Sin JS: el panel no se muestra (sus enlaces ya están en .cn-inline) */
.cn:not(.cn-ready) .cn-panel { display: none; }
.cn-inline { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.cn-inline a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 999px; text-decoration: none; font-weight: 700; font-size: .9375rem; }
.cn-inline a:hover { background: var(--tint-1); }
@media (max-width: 1060px) { .cn-bar .cn-inline { display: none; } }
/* Fila de enlaces para celular y tablet sin JS */
.cn-mobile { display: none; }
@media (max-width: 1060px) {
  .cn:not(.cn-ready) .cn-mobile { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; padding: 4px 8px 8px; border-top: 1px solid var(--line); list-style: none; margin: 0; }
  .cn-mobile::-webkit-scrollbar { display: none; }
  .cn-mobile a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; white-space: nowrap; font-weight: 700; font-size: .875rem; text-decoration: none; border-radius: 999px; }
  .cn-mobile a:hover { background: var(--tint-1); }
}
@media (max-width: 640px) {
  .cn-bar { padding-left: 14px; }
  .cn-logo img { height: 24px; }
  .cn-logo .sub { font-size: .875rem; padding-left: 10px; }
  .cn-actions .btn, .cn-actions .cn-signin.hide-sm { display: none; }
}

/* ---------- 5. Hero: banda de imagen en trama de puntos + bloque blanco ---------- */
.hero-band { position: relative; isolation: isolate; overflow: hidden; background: var(--navy-d); color: #fff;
  height: clamp(340px, 50vh, 520px); display: flex; align-items: flex-end; }
/* Trama de puntos 100 % CSS: foto gris desenfocada + rejilla de degradados radiales, umbralizada con
   contrast(); invert() deja puntos claros sobre negro y las capas de abajo los tiñen de navy. */
.ht { position: absolute; inset: 0; z-index: -3; overflow: hidden; background: #fff; filter: contrast(22) invert(1); }
.ht picture { position: absolute; inset: 0; }
.ht img { position: absolute; inset: -12px; width: calc(100% + 24px); height: calc(100% + 24px); max-width: none; object-fit: cover; object-position: 50% 62%; }
.ht img { filter: contrast(1.25) invert(1) brightness(.56) blur(3px); }
.ht::after { content: ""; position: absolute; inset: 0; mix-blend-mode: screen; pointer-events: none;
  background: radial-gradient(closest-side, #000 0%, #7a7a7a 100%, #fff 145%) 0 0 / var(--ht-pitch, 8px) var(--ht-pitch, 8px); }
.hero-band .ht-tint { position: absolute; inset: 0; z-index: -2; pointer-events: none; background: var(--navy-d); mix-blend-mode: lighten; }
.hero-band .ht-tint2 { position: absolute; inset: 0; z-index: -2; pointer-events: none; background: #c9d1ee; mix-blend-mode: multiply; }
/* velo: deja la trama viva arriba a la derecha y da contraste AA al texto abajo a la izquierda */
.hero-band::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(12deg, rgba(27, 38, 71, .96) 0%, rgba(33, 50, 95, .78) 34%, rgba(33, 50, 95, .12) 70%, rgba(33, 50, 95, 0) 100%),
              linear-gradient(180deg, rgba(33, 50, 95, .4) 0%, rgba(33, 50, 95, 0) 26%); }
/* cuña de la R (motivo del Manual) */
.hero-band .wedge { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(135deg, rgba(42, 61, 136, .0) 0%, rgba(42, 61, 136, .55) 100%);
  clip-path: polygon(64% 100%, 100% 22%, 100% 100%); }
.hero-band .w { position: relative; width: 100%; padding-bottom: clamp(22px, 3.2vw, 36px); display: flex; align-items: flex-end; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; }
.band-phrase { margin: 0; max-width: 30ch; font: 500 clamp(1.05rem, .95rem + .5vw, 1.375rem)/1.35 var(--display); letter-spacing: -.01em; color: #fff; }
.hero-band .chip { color: #fff; text-shadow: 0 1px 12px rgba(10, 14, 34, .85), 0 0 2px rgba(10, 14, 34, .6); }

.hero-main { padding: clamp(40px, 6vw, 84px) 0 clamp(150px, 15vw, 210px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: end; }
.hero-main h1 { font-weight: 500; color: var(--navy-d); max-width: 17ch; }
.hero-main h1 strong { font-weight: 700; color: var(--navy); }
.hero-side .lede { margin-bottom: 26px; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }

/* ---------- 6. Bandas ---------- */
.section { padding-block: clamp(72px, 9vw, 136px); position: relative; }
.band-deep { background: var(--navy-d); color: #fff; }
.band-navy { background: var(--navy); color: #fff; --acc-line: rgba(255, 255, 255, .16); --acc-muted: var(--tint-3); }
.band-deep h2, .band-deep h3, .band-navy h2, .band-navy h3 { color: #fff; }
.band-deep .lede, .band-navy .lede, .band-deep .small, .band-navy .small, .band-deep .micro, .band-navy .micro { color: var(--tint-3); }
.band-paper { background: var(--paper); }
.band-navy .btn:not(.btn-light), .band-deep .btn:not(.btn-light) { --b-bg: #fff; --b-fg: var(--navy-d); --b-hover: var(--tint-2); }

.sec-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); gap: 20px clamp(24px, 5vw, 80px); align-items: end; margin-bottom: clamp(36px, 5vw, 64px); }
.sec-head h2 { max-width: 16ch; }
.sec-head .lede { margin: 0; }

/* trama de puntos decorativa (CSS) para bandas navy */
.dots-bg { position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background: radial-gradient(circle, rgba(207, 213, 236, .22) 1.1px, transparent 1.6px) 0 0 / 14px 14px;
  -webkit-mask-image: radial-gradient(120% 90% at 100% 0%, #000 0%, transparent 60%); mask-image: radial-gradient(120% 90% at 100% 0%, #000 0%, transparent 60%); }
.section > .wrap { position: relative; z-index: 1; }

/* ---------- 7. Panel de producto (pantalla de muestra) ---------- */
.product { position: relative; margin: calc(-1 * clamp(110px, 11vw, 160px)) 0 0; }
.screen { background: #fff; color: var(--ink); border-radius: var(--r-lg); box-shadow: var(--shadow-2); overflow: hidden; border: 1px solid rgba(255, 255, 255, .6); }
.screen-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 18px 24px; border-bottom: 1px solid var(--line); background: var(--paper); }
.screen-title { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.screen-title b { font: 700 1.0625rem/1.2 var(--display); letter-spacing: -.01em; color: var(--navy-d); }
.screen-title span { font-size: .875rem; color: var(--grey); }
.matches { width: 100%; border-collapse: collapse; font-size: .9375rem; }
.matches th { text-align: left; font: 700 .75rem/1.2 var(--text); letter-spacing: .04em; text-transform: uppercase; color: var(--grey); padding: 14px 16px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.matches td { padding: 16px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.matches tr:last-child td { border-bottom: 0; }
.matches th:first-child, .matches td:first-child { padding-left: 24px; }
.matches th:last-child, .matches td:last-child { padding-right: 24px; }
.matches .mono { color: var(--navy-d); white-space: nowrap; }
.matches .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.matches .item b { display: block; font-weight: 700; color: var(--navy-d); }
.matches .item span { font-size: .8125rem; color: var(--grey); }
.matches tr.is-first td { background: rgba(42, 61, 136, .05); }
.screen-foot { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 14px 24px; background: var(--paper); border-top: 1px solid var(--line); font-size: .8125rem; color: var(--grey); }
@media (max-width: 760px) {
  .matches thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .matches, .matches tbody, .matches tr, .matches td { display: block; }
  .matches tr { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px 14px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
  .matches td[data-label] { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
  .matches td.mono { font-size: .8125rem; overflow-wrap: anywhere; white-space: normal; }
  .matches tr:last-child { border-bottom: 0; }
  .matches td { padding: 0 !important; border: 0; }
  .matches td.item { grid-column: 1 / -1; order: -1; margin-bottom: 4px; }
  .matches td[data-label]::before { content: attr(data-label); font-family: var(--text); font-weight: 700; font-size: .75rem; color: var(--grey); letter-spacing: .02em; }
  .matches .num { text-align: left; }
  .matches tr.is-first { background: linear-gradient(90deg, rgba(42, 61, 136, .06), rgba(42, 61, 136, 0) 70%); }
  .matches tr.is-first td { background: none; }
}

/* ---------- 8. Franja "Claim your account" ---------- */
.claim { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 48px; align-items: center; padding-top: clamp(48px, 6vw, 80px); }
.claim h2 { font-size: clamp(1.6rem, 1.1rem + 1.8vw, 2.5rem); max-width: 20ch; margin-bottom: 14px; }
.claim p { color: var(--tint-3); max-width: 56ch; margin: 0; }
.claim .cta-col { display: grid; justify-items: start; gap: 4px; }
.claim .micro { margin-top: 8px; }

/* ---------- 9. Problema + cifra con fuente ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(36px, 6vw, 96px); align-items: center; }
.split h2 { max-width: 15ch; margin-bottom: 22px; }
.stat { border-top: 1px solid var(--navy-d); padding-top: 22px; }
.stat-n { display: block; font: 500 clamp(3.5rem, 2rem + 6vw, 6rem)/.95 var(--display); letter-spacing: -.045em; color: var(--navy-d); font-variant-numeric: tabular-nums; }
.stat-l { display: block; margin-top: 12px; font: 700 clamp(1.05rem, 1rem + .3vw, 1.25rem)/1.35 var(--display); letter-spacing: -.01em; color: var(--navy-d); }
.source { margin: 18px 0 0; font-size: .8125rem; line-height: 1.5; color: var(--grey); max-width: 46ch; }

/* ---------- 10. Pasos con número en contorno (OutlineNumber) ---------- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; list-style: none; margin: 0; padding: 0; }
.on-card { position: relative; overflow: hidden; display: flex; flex-direction: column; min-height: 300px; padding: 28px 28px 0;
  border-radius: 20px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); }
.on-card h3 { margin-bottom: 12px; font-size: clamp(1.25rem, 1.1rem + .5vw, 1.5rem); }
.on-card p { color: var(--tint-3); max-width: 34ch; margin: 0 0 110px; }
.on-num { position: absolute; right: .12em; bottom: 0; font: 300 clamp(88px, 9vw, 136px)/1 var(--display); letter-spacing: -.05em;
  color: transparent; -webkit-text-stroke: 1.5px rgba(207, 213, 236, .55); transform: translateY(18%); pointer-events: none; user-select: none; }
@supports not (-webkit-text-stroke: 1px #000) { .on-num { color: rgba(207, 213, 236, .35); } }
.steps-foot { margin: 26px 0 0; color: var(--tint-3); font-size: .9375rem; }

/* ---------- 11. Qué recibes (bento) ---------- */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
.tile { position: relative; overflow: hidden; border-radius: var(--r-lg); background: var(--paper); border: 1px solid var(--line); padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; }
.tile h3 { margin-bottom: 10px; }
.tile p { color: var(--grey); margin: 0; max-width: 40ch; }
.tile-free { grid-column: span 5; background: var(--navy-d); border-color: var(--navy-d); color: #fff; justify-content: space-between; min-height: 380px; }
.tile-free h3 { color: #fff; }
.tile-free p { color: var(--tint-3); }
.tile-free .big { font: 500 clamp(4.5rem, 3rem + 5vw, 7.5rem)/.9 var(--display); letter-spacing: -.05em; color: #fff; margin-bottom: 18px; }
.tile-free .dots-bg { -webkit-mask-image: radial-gradient(90% 80% at 100% 0%, #000, transparent 70%); mask-image: radial-gradient(90% 80% at 100% 0%, #000, transparent 70%); }
.tile-free > * { position: relative; }
.tile-quote { grid-column: span 7; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 28px; align-items: center; }
.tile-trace { grid-column: span 12; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; }
/* los dos documentos: lista de documento técnico (sin píldoras ni íconos) */
.tile-trace .docs { display: grid; gap: 8px; justify-items: end; }
.doc-pill { color: var(--grey); font: 700 .75rem/1.3 var(--text); letter-spacing: .12em; text-transform: uppercase; }

/* mini pantalla de quote (muestra, no interactiva) */
.mini { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow-1); padding: 18px; font-size: .875rem; }
.mini-h { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 14px; }
.mini-h .mono { font-size: .75rem; color: var(--navy-d); white-space: nowrap; }
.mini dl { margin: 0; display: grid; gap: 8px; }
.mini .f { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 12px; min-height: 44px; padding: 0 12px; border: 1px solid var(--line); border-radius: 10px; }
.mini dt { color: var(--grey); font-size: .8125rem; }
.mini dd { margin: 0; font-weight: 700; color: var(--navy-d); }
.mini .f.price { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(42, 61, 136, .12); }
.mini .f.price dd { color: var(--grey); font-weight: 400; }
.mini .caret { display: inline-block; width: 1.5px; height: 1.1em; background: var(--navy); vertical-align: -3px; margin-left: 2px; }
.mini-b { margin-top: 12px; display: flex; align-items: center; justify-content: center; min-height: 44px; border-radius: 999px; background: var(--navy-d); color: #fff; font-weight: 700; }

/* ---------- 12. Compruébalo tú mismo: ficha de registro ---------- */
.record { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-1); overflow: hidden; }
.record-h { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 18px 24px; border-bottom: 1px solid var(--line); }
.record-h b { font: 700 1.0625rem/1.2 var(--display); color: var(--navy-d); }
.record dl { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.record .r { padding: 16px 24px; border-bottom: 1px solid var(--line); }
.record .r:nth-child(odd) { border-right: 1px solid var(--line); }
.record .r.full { grid-column: 1 / -1; border-right: 0; background: var(--paper); }
.record dt { font-size: .8125rem; color: var(--grey); margin-bottom: 4px; }
.record dd { margin: 0; font-weight: 700; color: var(--navy-d); }
.record dd.mono { font-size: 1.0625rem; }
.record .r.full dd { font-size: 1.25rem; }
.record-f { padding: 16px 24px; font-size: .875rem; color: var(--grey); }

/* ---------- 13. Garantías (banda navy, lista de 4) ---------- */
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line-dark); list-style: none; margin: 0; padding: 0; }
.facts li { padding: 32px 28px 8px 0; border-right: 1px solid var(--line-dark); margin-right: 28px; }
.facts li:last-child { border-right: 0; margin-right: 0; }
.facts h3 { font-size: 1.1875rem; margin-bottom: 10px; }
.facts p { color: var(--tint-3); font-size: .975rem; margin: 0; }

/* ---------- 14. Preguntas: acordeón (marcado de Accordion, versión blanca) ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq-aside { position: sticky; top: 110px; }
.faq-aside h2 { margin-bottom: 20px; }
.contact-card { margin-top: 36px; padding: 26px; border-radius: var(--r-md); background: var(--paper); border: 1px solid var(--line); }
.contact-card h3 { margin-bottom: 8px; }
.contact-card p { color: var(--grey); margin-bottom: 18px; }
.contact-card .micro { margin-top: 10px; }
.acc-list { border-top: 1px solid var(--acc-line); }
.acc { border-bottom: 1px solid var(--acc-line); }
.acc > summary { display: flex; align-items: center; gap: 18px; min-height: 64px; padding: 14px 4px; cursor: pointer; list-style: none;
  font: 700 clamp(1.05rem, 1rem + .3vw, 1.25rem)/1.35 var(--display); letter-spacing: -.01em; color: var(--navy-d); border-radius: 8px; }
.acc > summary::-webkit-details-marker { display: none; }
.acc > summary:hover .acc-q { color: var(--navy); }
.acc-n { font: 500 .875rem/1 var(--mono); color: var(--acc-muted); min-width: 2ch; font-variant-numeric: tabular-nums; }
.acc-q { flex: 1; transition: color .2s; }
.acc-i { position: relative; width: 14px; height: 14px; flex: none; margin-right: 6px; }
.acc-i::before, .acc-i::after { content: ""; position: absolute; left: 0; right: 0; top: 6px; height: 2px; border-radius: 2px; background: currentColor; }
.acc-i::after { transform: rotate(90deg); }
.acc[open] .acc-i::after { transform: rotate(0deg); }
.acc-b { padding: 0 40px 24px calc(2ch + 22px); color: var(--acc-muted); max-width: 70ch; }
.acc-b p { margin: 0; }

/* ---------- 15. CTA final (banda navy + panel de seda) ---------- */
.cta-final { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.cta-final h2 { font-size: clamp(2.2rem, 1.3rem + 3.4vw, 4.25rem); letter-spacing: -.04em; max-width: 12ch; margin-bottom: 28px; }
.cta-final .cta-row { gap: 12px 22px; }
.silk { position: relative; overflow: hidden; isolation: isolate; min-height: 380px; border-radius: 20px; background: var(--navy-d); }
.silk .sh-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.silk::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); pointer-events: none; }

/* ---------- 16. Pie (navy) ---------- */
.site-foot { background: var(--navy-d); color: #fff; padding: clamp(56px, 7vw, 88px) 0 32px; }
.foot-top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); gap: 36px; padding-bottom: 40px; border-bottom: 1px solid var(--line-dark); }
.foot-brand { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; text-decoration: none; color: #fff; }
.foot-brand img { height: 30px; width: auto; }
.foot-brand .sub { padding-left: 12px; border-left: 1px solid rgba(255, 255, 255, .35); font: 700 .9375rem/1 var(--display); }
.foot-cross { margin: 18px 0 0; color: var(--tint-3); font-size: .9375rem; }
.foot-cross a { display: inline-flex; align-items: center; min-height: 44px; color: #fff; text-underline-offset: 4px; text-decoration-color: rgba(255, 255, 255, .45); }
.foot-col h2 { font: 700 .875rem/1.2 var(--text); letter-spacing: .02em; color: var(--tint-3); margin-bottom: 10px; }
.foot-col ul { list-style: none; margin: 0; padding: 0; }
.foot-col a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; font-weight: 700; }
.foot-col a:hover { text-decoration: underline; text-underline-offset: 4px; }
.foot-legal { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px 32px; align-items: start; padding-top: 28px; font-size: .875rem; color: var(--tint-3); }
.foot-legal p { margin: 0; max-width: 78ch; }
.foot-legal .disclaimer { color: #fff; }
.to-top { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: #fff; font-weight: 700; text-decoration: none; white-space: nowrap; }
.to-top svg { width: 16px; height: 16px; }
.to-top:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- 17. Responsive ---------- */
@media (max-width: 1060px) {
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts li:nth-child(2) { border-right: 0; margin-right: 0; }
  .facts li:nth-child(n+3) { border-top: 1px solid var(--line-dark); }
  .tile-free { grid-column: span 12; min-height: 0; }
  .tile-quote { grid-column: span 12; }
}
@media (max-width: 900px) {
  .hero-grid, .split, .sec-head, .faq-grid, .cta-final, .claim { grid-template-columns: minmax(0, 1fr); }
  .hero-grid { align-items: start; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .on-card { min-height: 0; }
  .on-card p { margin-bottom: 96px; }
  .faq-aside { position: static; }
  .foot-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-top > :first-child { grid-column: 1 / -1; }
  .silk { min-height: 240px; }
  .tile-trace { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .tile-trace .docs { justify-items: start; }
}
@media (max-width: 640px) {
  h1 { font-size: clamp(2.15rem, 1.2rem + 5.2vw, 2.6rem); letter-spacing: -.03em; }
  .hero-band { height: 300px; }
  .hero-main h1 { max-width: none; }
  .cta-row .btn { width: 100%; }
  .tile-quote { grid-template-columns: minmax(0, 1fr); }
  .tile-trace { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .facts { grid-template-columns: minmax(0, 1fr); }
  .facts li { border-right: 0; margin-right: 0; border-top: 1px solid var(--line-dark); padding-right: 0; }
  .facts li:first-child { border-top: 0; }
  .record dl { grid-template-columns: minmax(0, 1fr); }
  .record .r:nth-child(odd) { border-right: 0; }
  .acc-b { padding-right: 8px; padding-left: 4px; }
  .acc > summary { gap: 14px; }
  .foot-legal { grid-template-columns: minmax(0, 1fr); }
  .screen-top, .screen-foot { padding-inline: 20px; }
}

/* ---------- 18. Impresión ---------- */
@media print {
  .navwrap, .hero-band, .silk, .skip, .to-top { display: none !important; }
  .band-deep, .band-navy, .site-foot { background: #fff !important; color: #000 !important; }
  .band-deep *, .band-navy *, .site-foot * { color: #000 !important; }
}

/* la pantalla de producto sube sobre el blanco: flow-root evita que su margen negativo arrastre la banda */
.product-band { display: flow-root; padding-top: 0; }
/* números en contorno sobre blanco no se usan aquí; sobre navy van los valores por defecto del paquete */
.record dd.mono, .matches td.mono, .mini .mono { font-weight: 500; }

/* ======================================================================================
   19. PORTADA (site/index.html) · agregado el 1 oct 2026. No cambia nada de lo anterior:
   todo va bajo .home o bajo clases nuevas (door, chain, src-card, rules, foot-3).
   ====================================================================================== */

/* Hero: la banda usa el póster de SilkHalftone (no la trama CSS de Suppliers) y es más alta.
   Capas: póster (-3) → canvas WebGL (-2) → velo ::after (-1) → texto. */
.home-band { height: clamp(340px, 50vh, 560px); }
.home-band .sh-poster { z-index: -3; }
.home-band .sh-canvas { z-index: -2; }
.home-band::after { background: linear-gradient(12deg, rgba(27, 38, 71, .94) 0%, rgba(33, 50, 95, .62) 30%, rgba(33, 50, 95, 0) 62%),
                                linear-gradient(180deg, rgba(33, 50, 95, .45) 0%, rgba(33, 50, 95, 0) 24%); }

.home-hero { padding: clamp(44px, 6vw, 88px) 0 clamp(40px, 5vw, 64px); }
.home-hero .wrap { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 28px clamp(28px, 5vw, 72px); align-items: end; }
.home-hero h1 { max-width: 13.5ch; font-size: clamp(2.5rem, 1rem + 5.4vw, 5.75rem); line-height: .98; letter-spacing: -.04em; }
.home-hero-row .lede { margin: 0 0 .4em; padding-top: 22px; border-top: 1px solid var(--navy-d); }

/* ---------- Las dos puertas ----------
   La sección pasa de blanco a navy profundo a media altura de las tarjetas, así las puertas
   quedan montadas entre el hero y la banda de abajo. */
.doors { position: relative; padding: 0 0 clamp(56px, 7vw, 96px);
  background: linear-gradient(180deg, var(--white) 0, var(--white) 52%, var(--navy-d) 52%); }
.doors-q { font-size: clamp(1.15rem, 1rem + .5vw, 1.5rem); font-weight: 500; letter-spacing: -.015em; color: var(--grey); margin-bottom: 18px; }
.door-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.door { position: relative; display: flex; flex-direction: column; min-height: 520px; border-radius: 28px; overflow: hidden;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.door-sup { background: var(--paper); color: var(--ink); border: 1px solid var(--line); box-shadow: var(--shadow-2); }
.door-con { background: var(--navy); color: #fff; border: 1px solid rgba(255, 255, 255, .16); box-shadow: 0 2px 6px rgba(8, 14, 34, .2), 0 30px 70px -20px rgba(8, 14, 34, .6); }
.door-art { position: relative; flex: 1 1 auto; min-height: 220px; display: grid; place-items: center; padding: 36px 36px 0; }
.door-body { position: relative; padding: 8px clamp(26px, 3vw, 40px) clamp(26px, 3vw, 40px); }
.door h3 { font-size: clamp(1.75rem, 1.1rem + 2vw, 2.75rem); line-height: 1.05; letter-spacing: -.035em; margin-bottom: 14px; max-width: 14ch; }
.door-con h3 { color: #fff; }
.door-body > p { margin: 0 0 26px; max-width: 44ch; color: var(--grey); }
.door-con .door-body > p { color: var(--tint-3); }
/* el enlace se estira sobre toda la tarjeta: un solo destino, un solo foco */
.door-go { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 999px;
  background: var(--navy-d); color: #fff; font-weight: 700; text-decoration: none; transition: background-color .2s var(--ease); }
.door-con .door-go { background: #fff; color: var(--navy-d); }
.door-go svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.door-go::after { content: ""; position: absolute; inset: 0; z-index: 2; border-radius: inherit; }
.door-go:focus-visible { outline: none; }
.door:focus-within { outline: 3px solid var(--navy); outline-offset: 4px; }
.door-con:focus-within { outline-color: var(--navy); }
@media (hover: hover) {
  .door:hover { transform: translateY(-6px); }
  .door-sup:hover .door-go { background: var(--navy); }
  .door-con:hover .door-go { background: var(--tint-2); }
  .door:hover .door-go svg { transform: translateX(4px); }
}
@media (prefers-reduced-motion: reduce) { .door, .door-go svg { transition: none; } .door:hover { transform: none; } }

/* arte de Suppliers: estante con contenedores; uno se ilumina (la parte que coincide) */
.shelf { width: 100%; max-width: 460px; height: auto; color: var(--tint-3); overflow: visible; }
.shelf .bins rect { fill: #fff; stroke: var(--tint-3); stroke-width: 1.5; }
.shelf .bin-hit { fill: var(--navy); stroke: var(--navy); transition: fill .4s var(--ease); }
.shelf .bin-dot { fill: #fff; }
.door-sup:hover .shelf .bin-hit { fill: var(--navy-d); }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .shelf .bin-dot { transform-box: fill-box; transform-origin: center; animation: bin-pulse 2.4s var(--ease) infinite; }
}
@keyframes bin-pulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.7); opacity: .55; } }

/* arte de Contractors: una solicitation (líneas) y las tres fuentes */
.door-con .door-art { align-content: center; justify-items: start; gap: 18px; }
.door-con .door-art::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle, rgba(207, 213, 236, .28) 1.1px, transparent 1.6px) 0 0 / 14px 14px;
  -webkit-mask-image: radial-gradient(90% 90% at 100% 0%, #000, transparent 70%); mask-image: radial-gradient(90% 90% at 100% 0%, #000, transparent 70%); }
.sol { position: relative; width: min(100%, 360px); padding: 22px 22px 18px; border-radius: 14px; background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .2); display: grid; gap: 10px; transform: rotate(-3deg); transition: transform .5s var(--ease); }
.door-con:hover .sol { transform: rotate(0deg) translateY(-4px); }
.sol-l { display: block; height: 8px; border-radius: 4px; background: rgba(207, 213, 236, .45); }
.sol-l.w1 { width: 46%; height: 10px; background: #fff; } .sol-l.w2 { width: 92%; } .sol-l.w3 { width: 74%; } .sol-l.w4 { width: 58%; }
.src-pills { position: relative; display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.src-pills li { color: var(--tint-3); font: 700 .75rem/1.4 var(--text); letter-spacing: .14em; text-transform: uppercase; }
.src-pills li + li::before { content: "·"; margin-right: 8px; }

/* ---------- Qué hacemos: cabecera + cifra con fuente + la cadena ---------- */
.what { padding-top: clamp(40px, 5vw, 72px); }
.what-head { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 36px clamp(36px, 6vw, 96px); align-items: end; }
.what-head h2 { max-width: 14ch; margin-bottom: 22px; }
.what-head .lede { margin: 0; }
.stat-dark { border-top-color: rgba(255, 255, 255, .5); }
.stat-dark .stat-n, .stat-dark .stat-l { color: #fff; }
.stat-dark .source { color: var(--tint-3); }
.chain { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; list-style: none; margin: clamp(48px, 6vw, 88px) 0 0; padding: 0; }
.chain::before { content: ""; position: absolute; left: 28px; right: calc((100% - 48px) / 4 - 28px); top: 28px; height: 1px;
  background: repeating-linear-gradient(90deg, rgba(207, 213, 236, .55) 0 6px, transparent 6px 12px); }
.chain li { position: relative; padding-right: 12px; }
/* nodos del diagrama: puntos sobre la línea (sin íconos en círculo ni halo). ResupplyAI es el único lleno. */
.chain li::before { content: ""; position: relative; display: block; width: 13px; height: 13px; margin: 22px 0 26px; border-radius: 50%;
  background: var(--navy-d); border: 1.5px solid var(--tint-3); }
.chain .is-us::before { background: #fff; border-color: #fff; }
.chain h3 { font-size: 1.1875rem; margin-bottom: 6px; }
.chain p { margin: 0; color: var(--tint-3); font-size: .975rem; max-width: 26ch; }

/* ---------- Fuentes: tarjetas navy sobre blanco (DotMatrix) ---------- */
.src-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.src-card { position: relative; overflow: hidden; border-radius: 22px; background: var(--navy-d); color: #fff; border: 1px solid var(--navy-d); }
.src-card .fig { height: 190px; border-bottom: 1px solid rgba(255, 255, 255, .1);
  background: radial-gradient(circle, rgba(141, 154, 208, .5) 1.2px, transparent 1.7px) 0 0 / 14px 14px; } /* póster de puntos sin JS */
.src-card .fig:has(.dm-canvas) { background: none; }
.src-card .t { padding: 22px 26px 28px; }
.src-card h3 { color: #fff; margin-bottom: 8px; }
.src-card p { margin: 0; color: var(--tint-3); font-size: .975rem; }
.src-foot { margin: 28px 0 0; color: var(--grey); font-size: .9375rem; }

/* ---------- Cómo trabajamos: 4 reglas (on-card sobre navy) ---------- */
.rules { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; list-style: none; margin: 0; padding: 0; }
.rules .on-card { min-height: 320px; padding: 26px 24px 0; }
.rules .on-card h3 { font-size: clamp(1.15rem, 1.05rem + .4vw, 1.375rem); }
.rules .on-card p { margin-bottom: 104px; }

/* ---------- Contacto sobre blanco con panel de seda ---------- */
.home-contact h2 { margin-bottom: 18px; }
.home-contact .lede { margin-bottom: 28px; }
.home-contact .silk { min-height: 420px; box-shadow: var(--shadow-2); }

/* ---------- Pie con 3 columnas de enlaces ---------- */
.foot-top.foot-3 { grid-template-columns: minmax(0, 1.2fr) repeat(3, minmax(0, 1fr)); }

/* ---------- Responsive de la portada ---------- */
@media (max-width: 1060px) {
  .rules { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .chain { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 36px; }
  .chain::before { display: none; }
}
@media (max-width: 900px) {
  .home-hero .wrap, .what-head { grid-template-columns: minmax(0, 1fr); }
  .door-grid { grid-template-columns: minmax(0, 1fr); }
  .door { min-height: 0; }
  .doors { background: linear-gradient(180deg, var(--white) 0, var(--white) 70%, var(--navy-d) 70%); }
  .src-grid { grid-template-columns: minmax(0, 1fr); }
  .foot-top.foot-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .home-band { height: 300px; }
  .home-hero h1 { font-size: clamp(2.3rem, 1.2rem + 5.6vw, 2.75rem); max-width: none; }
  .door-art { min-height: 0; padding: 26px 22px 6px; }
  .door-body { padding: 8px 22px 24px; }
  .door-go { width: 100%; justify-content: center; }
  .rules, .chain { grid-template-columns: minmax(0, 1fr); }
  .rules .on-card { min-height: 0; }
  .foot-top.foot-3 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .home-contact .silk { min-height: 220px; }
}

/* ======================================================================================
   20. CONTRACTORS (site/contractors/index.html) · agregado el 1 oct 2026. No cambia nada de lo
   anterior: todo va bajo clases nuevas (con-*, pair, prod, term, principle, sec-mode).
   ====================================================================================== */

/* Hero: misma banda en trama CSS que Suppliers, con la foto de marca de Contractors (muelle) */
.con-band .ht img { object-position: 50% 55%; }
/* el muelle tiene puertas blancas: velo un punto más denso que Suppliers para que la frase pase AA */
.con-band::after { background: linear-gradient(12deg, rgba(27, 38, 71, .97) 0%, rgba(33, 50, 95, .88) 38%, rgba(33, 50, 95, .2) 72%, rgba(33, 50, 95, 0) 100%),
                               linear-gradient(180deg, rgba(33, 50, 95, .4) 0%, rgba(33, 50, 95, 0) 26%); }
@media (max-width: 640px) {
  .con-band::after { background: linear-gradient(0deg, rgba(27, 38, 71, .96) 0%, rgba(27, 38, 71, .86) 48%, rgba(33, 50, 95, .25) 82%, rgba(33, 50, 95, .4) 100%); }
}
.con-hero { padding: clamp(40px, 6vw, 84px) 0 clamp(48px, 6vw, 80px); }
.con-hero h1 { max-width: 16.5ch; }

/* Los dos productos: la sección pasa de blanco a la banda navy de Managed a media altura */
.pair { position: relative; padding: 0 0 clamp(8px, 2vw, 24px);
  background: linear-gradient(180deg, var(--white) 0, var(--white) 50%, var(--navy) 50%); }
.pair-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.prod { position: relative; display: flex; flex-direction: column; gap: 22px; min-height: 400px; padding: clamp(26px, 3vw, 40px);
  border-radius: 28px; overflow: hidden; }
.prod-managed { background: var(--navy-d); color: #fff; border: 1px solid var(--navy-d); box-shadow: 0 2px 6px rgba(8, 14, 34, .18), 0 30px 70px -20px rgba(8, 14, 34, .55); }
/* Search todavía no existe: superficie más quieta (papel con borde punteado), nunca "apagada" a menos de AA */
.prod-search { background: var(--paper); color: var(--ink); border: 1.5px dashed var(--tint-3); box-shadow: var(--shadow-2); }
.prod-managed::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle, rgba(207, 213, 236, .24) 1.1px, transparent 1.6px) 0 0 / 14px 14px;
  -webkit-mask-image: radial-gradient(80% 80% at 100% 0%, #000, transparent 70%); mask-image: radial-gradient(80% 80% at 100% 0%, #000, transparent 70%); }
.prod > * { position: relative; }
.prod-mode .tag { margin-left: 14px; }
.prod-body { flex: 1 1 auto; }
.prod h3 { font-size: clamp(1.75rem, 1.1rem + 2vw, 2.6rem); line-height: 1.05; letter-spacing: -.035em; margin-bottom: 6px; }
.prod-managed h3 { color: #fff; }
.prod-mode, .sec-mode { margin: 0 0 16px; font: 500 clamp(1.05rem, 1rem + .3vw, 1.25rem)/1.3 var(--display); letter-spacing: -.01em; }
.prod-managed .prod-mode { color: var(--tint-3); }
.prod-search .prod-mode { color: var(--navy-m); }
.prod-body > p:last-child { margin: 0; max-width: 40ch; }
.prod-managed .prod-body > p:last-child { color: var(--tint-3); }
.prod-search .prod-body > p:last-child { color: var(--grey); }
.prod-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; }
.prod-managed .btn { --b-bg: #fff; --b-fg: var(--navy-d); --b-hover: var(--tint-2); }
.prod-managed .tlink { color: #fff; text-decoration-color: rgba(255, 255, 255, .45); }
.prod-managed :focus-visible { outline-color: #fff; }

/* Managed: el subtítulo del modo y las condiciones bajo los 4 pasos */
.band-navy .sec-mode { color: var(--tint-3); margin-top: 12px; }
#managed .sec-head h2 { max-width: none; }
.con-terms { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--line-dark); }
.term { padding: 32px 28px 0 0; margin-right: 28px; border-right: 1px solid var(--line-dark); }
.term h3 { font-size: 1.25rem; margin-bottom: 10px; }
.term p { margin: 0; color: var(--tint-3); max-width: 40ch; }
.term-cta { border-right: 0; margin-right: 0; padding-right: 0; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.term-cta .micro { margin-top: 12px; }

/* Search: estado y principio */
.search-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: -8px 0 20px; }
.search-meta .sec-mode { margin: 0; color: var(--navy-m); }
#search .lede { margin-bottom: 28px; }
.principle { position: relative; overflow: hidden; padding: clamp(28px, 4vw, 48px); border-radius: var(--r-lg); background: var(--navy-d); color: #fff; box-shadow: var(--shadow-2); }
.principle > :not(.dots-bg) { position: relative; }
.principle-t { margin: 0 0 12px; font: 700 clamp(1.6rem, 1.1rem + 1.8vw, 2.5rem)/1.08 var(--display); letter-spacing: -.035em; max-width: 14ch; }
.principle p:last-child { margin: 0; color: var(--tint-3); max-width: 36ch; }

/* ---------- Responsive de Contractors ---------- */
@media (max-width: 1060px) {
  .con-terms { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .term:nth-child(2) { border-right: 0; margin-right: 0; }
  .term-cta { grid-column: 1 / -1; padding-top: 32px; }
}
@media (max-width: 900px) {
  .pair-grid { grid-template-columns: minmax(0, 1fr); }
  .pair { background: linear-gradient(180deg, var(--white) 0, var(--white) 72%, var(--navy) 72%); }
  .prod { min-height: 0; }
}
@media (max-width: 640px) {
  .prod-actions .btn { width: 100%; }
  .con-terms { grid-template-columns: minmax(0, 1fr); border-top: 0; }
  .term { border-right: 0; margin-right: 0; padding-right: 0; border-top: 1px solid var(--line-dark); }
  .term-cta .btn { width: 100%; }
}

/* ======================================================================================
   21. PÁGINAS DE EMPRESA (about/, how-we-work/, faq/, contact/) · agregado el 1 oct 2026 (equipo P4).
   No cambia nada de lo anterior: todo va bajo .page-* o clases nuevas. Mismo lenguaje: banda a
   sangre arriba, bloque blanco con el H1, bandas navy alternadas, monocromía navy.
   ====================================================================================== */

/* Banda superior más baja que la de producto: estas páginas se leen, no venden */
.page-band { height: clamp(240px, 34vh, 360px); }
.page-band.is-plain { background: var(--navy-d); }
.page-band.is-plain .dots-bg { -webkit-mask-image: radial-gradient(110% 120% at 100% 0%, #000 0%, transparent 62%); mask-image: radial-gradient(110% 120% at 100% 0%, #000 0%, transparent 62%); }
.page-band.is-plain::after { background: linear-gradient(12deg, rgba(27, 38, 71, .9) 0%, rgba(33, 50, 95, 0) 60%); }

.page-hero { padding: clamp(28px, 4vw, 52px) 0 clamp(56px, 7vw, 104px); }
.page-hero .hero-grid { align-items: end; }
.page-hero h1 { max-width: 18ch; }
.page-hero .lede { margin-bottom: 26px; }

/* Miga de pan: texto chico sobre el H1 (navegación, no eyebrow) */
.crumbs { margin: 0 0 clamp(20px, 3vw, 32px); }
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; list-style: none; margin: 0; padding: 0; font-size: .9375rem; color: var(--grey); }
.crumbs li + li::before { content: "/"; margin-right: 10px; color: var(--tint-3); }
.crumbs a { display: inline-flex; align-items: center; min-height: 44px; color: var(--navy-d); font-weight: 700; text-decoration: underline; text-decoration-color: rgba(33, 50, 95, .3); text-underline-offset: 4px; }
.crumbs a:hover { text-decoration-color: currentColor; }

/* Índice de la página (How we work, Questions) */
/* índice como lista de documento con filetes, sin píldoras */
.toc { display: grid; list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.toc li { border-bottom: 1px solid var(--line); }
.toc a { display: flex; align-items: center; min-height: 44px; color: var(--navy-d); font-weight: 700; font-size: .9375rem; text-decoration: none;
  text-decoration-thickness: 1.5px; text-underline-offset: 5px; }
.toc a:hover { text-decoration: underline; }

/* ---------- About ---------- */
.why p.lede + p.lede { margin-top: 0; }
.why .split { align-items: start; }
.define { position: relative; overflow: hidden; padding: clamp(28px, 4vw, 48px); border-radius: var(--r-lg); background: var(--navy-d); color: #fff; box-shadow: var(--shadow-2); margin: 0; }
.define > :not(.dots-bg) { position: relative; }
.define blockquote { margin: 0; font: 500 clamp(1.35rem, 1.05rem + 1.1vw, 1.95rem)/1.25 var(--display); letter-spacing: -.02em; }
.define figcaption { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line-dark); color: var(--tint-3); font-size: .9375rem; }

.isnot { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.isnot-col { padding: clamp(26px, 3vw, 40px); border-radius: 22px; border: 1px solid rgba(255, 255, 255, .16); }
.isnot-col.is-yes { background: rgba(255, 255, 255, .06); }
.isnot-col h3 { margin-bottom: 18px; font-size: clamp(1.35rem, 1.1rem + .8vw, 1.75rem); }
.isnot-col ul { list-style: none; margin: 0; padding: 0; }
.isnot-col li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 14px; align-items: start; padding: 18px 0; border-top: 1px solid var(--line-dark); color: #fff; font-size: clamp(1.0625rem, 1rem + .3vw, 1.1875rem); line-height: 1.5; }
.isnot-col li svg { width: 22px; height: 22px; margin-top: 3px; color: var(--tint-3); }
.isnot-col.is-yes li svg { color: #fff; }

.sides .prod { min-height: 340px; }

/* ---------- How we work ---------- */
.hww-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hww-steps .on-card { min-height: 300px; }
.hww-rules { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.src-link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; margin-top: 6px; color: #fff; font-weight: 700; font-size: .9375rem;
  text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .45); text-underline-offset: 4px; }
.src-link:hover { text-decoration-color: #fff; }
.src-link svg { width: 14px; height: 14px; }
.src-card :focus-visible { outline-color: #fff; }

.data-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.data-card { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 20px; align-items: start; padding: clamp(24px, 3vw, 34px);
  border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); }
.data-card .ico { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--tint-1); color: var(--navy); }
.data-card .ico svg { width: 26px; height: 26px; }
.data-card h3 { margin-bottom: 8px; }
.data-card p { margin: 0; color: var(--grey); max-width: 46ch; }

/* Dónde termina la automatización: una fila automática, el resto personas */
.handoff { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.handoff li { display: grid; grid-template-columns: 172px minmax(0, 1fr); gap: 16px; align-items: center; min-height: 64px; padding: 12px 22px;
  border-radius: 16px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-1); }
.handoff .ho-who { display: inline-flex; align-items: center; gap: 10px; font: 700 1rem/1.2 var(--display); color: var(--navy-d); letter-spacing: -.01em; }
.handoff .ho-what { color: var(--grey); }
.handoff li.is-auto { background: transparent; border: 1.5px dashed var(--tint-3); box-shadow: none; }
.handoff li.is-auto .ho-who { color: var(--navy-m); }
.handoff-note { margin: 18px 0 0; font-size: .9375rem; color: var(--grey); }

/* ---------- Questions ---------- */
.faq-page .faq-aside .toc { flex-direction: column; align-items: flex-start; }
.faq-group + .faq-group { margin-top: clamp(48px, 6vw, 80px); }
.faq-group h2 { font-size: clamp(1.6rem, 1.15rem + 1.6vw, 2.4rem); margin-bottom: 18px; }
.acc-b a { color: var(--navy-d); font-weight: 700; text-underline-offset: 4px; }

/* ---------- Contact ---------- */
.ways { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.way { position: relative; display: flex; flex-direction: column; gap: 14px; padding: clamp(26px, 3vw, 36px); border-radius: 26px; overflow: hidden; }
.way h2 { font-size: clamp(1.45rem, 1.1rem + 1.1vw, 2rem); line-height: 1.08; letter-spacing: -.03em; max-width: 14ch; }
.way > p { margin: 0; }
.way .way-actions { margin-top: auto; padding-top: 18px; display: grid; justify-items: start; gap: 4px; }
.way .micro { margin-top: 4px; }
.way-sup { background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow-2); }
.way-sup > p { color: var(--grey); }
.way-con { background: var(--navy); color: #fff; border: 1px solid rgba(255, 255, 255, .16); box-shadow: 0 2px 6px rgba(8, 14, 34, .2), 0 30px 70px -20px rgba(8, 14, 34, .6); }
.way-con h2 { color: #fff; }
.way-con > p, .way-con .micro { color: var(--tint-3); }
.way-con .btn { --b-bg: #fff; --b-fg: var(--navy-d); --b-hover: var(--tint-2); }
.way-con .tlink { color: #fff; text-decoration-color: rgba(255, 255, 255, .45); }
.way-con :focus-visible { outline-color: #fff; }
.way-else { background: #fff; border: 1px solid var(--line); }
.way-else > p { color: var(--grey); }
.ways-wrap { padding: 0 0 clamp(56px, 7vw, 96px); background: linear-gradient(180deg, var(--white) 0, var(--white) 55%, var(--navy-d) 55%); }

.direct { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.mail-big { display: inline-block; margin: 10px 0 18px; font: 700 clamp(1.5rem, 1rem + 2.4vw, 2.9rem)/1.1 var(--display); letter-spacing: -.03em; color: #fff;
  text-decoration: underline; text-decoration-thickness: 2px; text-decoration-color: rgba(255, 255, 255, .4); text-underline-offset: 8px; overflow-wrap: anywhere; }
.mail-big:hover { text-decoration-color: #fff; }
.dont { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-dark); }
.dont li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 14px; align-items: start; padding: 16px 0; border-bottom: 1px solid var(--line-dark); color: #fff; }
.dont svg { width: 20px; height: 20px; margin-top: 3px; color: var(--tint-3); }
.dont-h { margin: 0 0 14px; font: 700 1.1875rem/1.3 var(--display); color: #fff; }

/* ---------- Cierre de página (banda navy sin seda: la seda la decide salida/propuestas-cta/) ---------- */
.page-close .wrap { display: grid; grid-template-columns: minmax(0, 1.2fr) auto; gap: 24px 48px; align-items: end; }
.page-close h2 { max-width: 16ch; margin-bottom: 16px; }
.page-close .lede { margin: 0; }
.page-close .cta-row { justify-content: flex-end; }

/* ---------- Responsive de las páginas de empresa ---------- */
@media (max-width: 1060px) {
  .hww-rules { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ways { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .way-else { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .isnot, .data-grid, .direct, .page-close .wrap { grid-template-columns: minmax(0, 1fr); }
  .hww-steps { grid-template-columns: minmax(0, 1fr); }
  .ways { grid-template-columns: minmax(0, 1fr); }
  .ways-wrap { background: linear-gradient(180deg, var(--white) 0, var(--white) 80%, var(--navy-d) 80%); }
  .page-close .cta-row { justify-content: flex-start; }
}
@media (max-width: 640px) {
  .page-band { height: 220px; }
  .hww-rules { grid-template-columns: minmax(0, 1fr); }
  .handoff li { grid-template-columns: minmax(0, 1fr); gap: 6px; padding: 14px 18px; }
  .data-card { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .way .way-actions, .way .btn { width: 100%; }
  .way .way-actions { justify-items: stretch; }
}
.ways.is-two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.way h3 { font-size: clamp(1.45rem, 1.1rem + 1.1vw, 2rem); line-height: 1.08; letter-spacing: -.03em; max-width: 16ch; }
.way-con h3 { color: #fff; }
@media (max-width: 900px) { .ways.is-two { grid-template-columns: minmax(0, 1fr); } }
/* Reglas de How we work: lista editorial 2×2 con filete, sin caja (las tarjetas ya están en la cadena) */
.rule-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(32px, 5vw, 80px); list-style: none; margin: 0; padding: 0; }
.rule-list li { padding: 30px 0 34px; border-top: 1px solid var(--navy-d); }
.rule-list li:nth-child(n+3) { border-top-color: var(--line); }
.rule-list h3 { font-size: clamp(1.3rem, 1.1rem + .7vw, 1.75rem); margin-bottom: 10px; }
.rule-list p { margin: 0; color: var(--grey); max-width: 44ch; }
.contact-card h2 { font-size: clamp(1.15rem, 1rem + .4vw, 1.375rem); line-height: 1.25; letter-spacing: -.015em; margin-bottom: 8px; }
.faq-aside .contact-card { margin-top: 28px; }
.inline-link { color: var(--navy-d); font-weight: 700; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 5px; text-decoration-color: rgba(33, 50, 95, .35); }
.inline-link:hover { text-decoration-color: currentColor; }
@media (max-width: 900px) { .rule-list { grid-template-columns: minmax(0, 1fr); } .rule-list li:nth-child(2) { border-top-color: var(--line); } }
/* Contact: los botones de las tres puertas quedan a la misma altura (subgrid; sin soporte, se apilan igual) */
.ways:not(.is-two) { grid-template-rows: repeat(4, auto); }
.ways:not(.is-two) .way { display: grid; grid-row: span 4; grid-template-rows: subgrid; align-content: start; gap: 14px; }
.ways:not(.is-two) .way .way-actions { margin-top: 0; padding-top: 18px; align-self: end; }
.way-extra { display: grid; justify-items: start; gap: 4px; }
.way-extra .micro { margin: 0; }
@media (max-width: 1060px) { .ways:not(.is-two) { grid-template-rows: none; } .ways:not(.is-two) .way { grid-row: auto; grid-template-rows: none; display: flex; } }
@media (max-width: 640px) { .way-extra { justify-items: stretch; } }
@media (max-width: 640px) {
  .page-band:not(.is-plain)::after { background: linear-gradient(0deg, rgba(27, 38, 71, .96) 0%, rgba(27, 38, 71, .86) 48%, rgba(33, 50, 95, .25) 82%, rgba(33, 50, 95, .4) 100%); }
}

/* ======================================================================================
   22. PIEZAS INTERACTIVAS (de salida/propuestas-cta/, aprobadas por Ivan el 1 oct 2026)
   A · la tarjeta que hace match  → suppliers/ (How it works)       [data-mx]
   B · el recorrido en 4 pasos    → how-we-work/ (pieza central)     [data-fl]
   C · el buscador de muestra     → portada (después de las puertas) [data-sx]
   JS en assets/pieces.js (vanilla, sin dependencias). Sin JS: se ve el estado final.
   Siempre con la etiqueta "Example data".
   ====================================================================================== */
.pv { position: relative; background: var(--navy-d); color: #fff; border-radius: 20px; padding: clamp(18px, 2.4vw, 28px); margin: 0;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); font-size: .9375rem; line-height: 1.45; }
.pv-on-white { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14), var(--shadow-2); }
.pv :focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.pv-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 0 0 16px;
  font: 700 1rem/1.3 var(--display); letter-spacing: -.01em; color: #fff; }
.pv dt { color: var(--tint-3); font-size: .8125rem; }
.pv dd { margin: 2px 0 0; font-weight: 700; color: #fff; }
.pv .mono { font-size: .875rem; }
.pv-card { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .13); border-radius: 14px; padding: 14px 16px; }
.pv-k { margin: 0 0 10px; color: var(--tint-3); font-size: .8125rem; }
.pv-k b { color: #fff; }
.pv-ghost { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 4px; background: none; border: 0;
  color: var(--tint-3); font: 700 .8125rem/1 var(--text); cursor: pointer; text-decoration: underline; text-underline-offset: 4px;
  text-decoration-color: rgba(207, 213, 236, .4); }
.pv-ghost:hover { color: #fff; text-decoration-color: #fff; }
.pv-ghost svg { width: 15px; height: 15px; }

/* ---------- A · la tarjeta que hace match ---------- */
.mx { --e: cubic-bezier(.16, 1, .3, 1); }
.mx-f { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr); gap: 10px 16px; margin: 0; }
.mx-f.two { grid-template-columns: minmax(0, 1.5fr) minmax(0, 2fr); }
.mx-item { margin: 0 0 10px; font: 700 1.0625rem/1.3 var(--display); letter-spacing: -.01em; }
.mx-key { display: inline-block; padding: 1px 6px; margin: -1px -6px; border-radius: 6px; transition: background-color .5s ease, color .5s ease; }
.mx-link { position: relative; height: 46px; margin-left: 30px; }
.mx-line { position: absolute; left: 0; top: 0; bottom: 0; width: 1.5px; background: var(--tint-3); transform-origin: top; }
.mx-node { position: absolute; left: -15px; top: 8px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: #fff; color: var(--navy-d); box-shadow: 0 6px 16px -6px rgba(0, 0, 0, .5); }
.mx-node svg { width: 16px; height: 16px; }
.mx-tag { margin-left: 50px; position: absolute; top: 13px; color: var(--tint-3); font-size: .8125rem; white-space: nowrap; }
.mx-out { display: flex; gap: 12px; align-items: flex-start; margin: 16px 0 0; padding: 14px 16px; border-radius: 14px; background: #fff; color: var(--navy-d); }
.mx-out svg { width: 22px; height: 22px; flex: none; margin-top: 1px; }
.mx-out b { font-family: var(--display); }
.mx-foot { display: flex; justify-content: flex-end; margin: 6px -4px -10px 0; }
.mx-foot[hidden] { display: none; }
.mx.is-on .mx-key, .mx:not(.mx-armed) .mx-key { background: #fff; color: var(--navy-d); }
.mx.is-on .mx-key { transition-delay: 2.15s; }
/* La secuencia solo se arma si hay JS (pieces.js pone .mx-armed) y movimiento permitido */
@media (prefers-reduced-motion: no-preference) {
  .mx-armed .mx-c1, .mx-armed .mx-c2, .mx-armed .mx-out, .mx-armed .mx-tag { opacity: 0; transform: translateY(12px); }
  .mx-armed .mx-c2 dd { clip-path: inset(-4px 100% -4px -8px); }
  .mx-armed .mx-line { transform: scaleY(0); }
  .mx-armed .mx-node { transform: scale(.4); opacity: 0; }
  .mx-armed.is-on .mx-c1, .mx-armed.is-on .mx-c2, .mx-armed.is-on .mx-out, .mx-armed.is-on .mx-tag { opacity: 1; transform: none; transition: opacity .5s ease, transform .7s var(--e); }
  .mx-armed.is-on .mx-c1 { transition-delay: .1s; }
  .mx-armed.is-on .mx-c2 { transition-delay: .45s; }
  .mx-armed.is-on .mx-c2 dd { clip-path: inset(-4px -8px -4px -8px); transition: clip-path .55s steps(16, end); }
  .mx-armed.is-on .mx-c2 .f1 dd { transition-delay: .8s; }
  .mx-armed.is-on .mx-c2 .f2 dd { transition-delay: 1.3s; transition-timing-function: steps(8, end); }
  .mx-armed.is-on .mx-c2 .f3 dd { transition-delay: 1.6s; transition-timing-function: steps(6, end); }
  .mx-armed.is-on .mx-line { transform: none; transition: transform .45s var(--e) 1.95s; }
  .mx-armed.is-on .mx-node { transform: none; opacity: 1; transition: transform .5s var(--e) 2.15s, opacity .2s ease 2.15s; }
  .mx-armed.is-on .mx-tag { transition-delay: 2.3s; }
  .mx-armed.is-on .mx-out { transition-delay: 2.6s; }
}
@media (prefers-reduced-motion: reduce) { .mx-foot { display: none; } .mx-key { transition: none; } }
/* en Suppliers: ilustra los pasos 01/02/03, debajo de ellos */
.how-demo { max-width: 680px; margin: clamp(40px, 5vw, 64px) auto 0; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14), 0 30px 70px -24px rgba(8, 14, 34, .55); }

/* ---------- B · el recorrido en 4 pasos ---------- */
.fl { --e: cubic-bezier(.16, 1, .3, 1); --dur: 3.4s; }
.fl-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin: 0 0 14px; }
.fl-tab { position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; min-height: 58px;
  padding: 10px 10px 12px; border: 1px solid rgba(255, 255, 255, .13); border-radius: 12px; background: rgba(255, 255, 255, .04);
  color: var(--tint-3); font: 700 .8125rem/1.2 var(--text); text-align: left; cursor: pointer; transition: background-color .3s, color .3s, border-color .3s; }
.fl-tab:hover { color: #fff; border-color: rgba(255, 255, 255, .3); }
.fl-tab[aria-selected="true"] { background: #fff; color: var(--navy-d); border-color: #fff; }
.fl-n { font: 500 .75rem/1 var(--mono); opacity: .8; }
.fl-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--navy); transform: scaleX(0); transform-origin: left; }
.fl-tab.is-done .fl-bar { transform: none; }
.fl.is-play .fl-tab[aria-selected="true"] .fl-bar { animation: fl-run var(--dur) linear forwards; }
.fl.is-hold .fl-tab .fl-bar { animation-play-state: paused !important; }
@keyframes fl-run { to { transform: none; } }
.fl-cap { min-height: 3em; margin: 0 0 12px; font: 500 1.0625rem/1.4 var(--display); letter-spacing: -.01em; color: #fff; }
.fl-cap span + span { display: none; }
.fl-rec { margin: 0; display: grid; gap: 0; padding: 4px 16px; }
.fl-r { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-top: 1px solid rgba(255, 255, 255, .1);
  transition: opacity .45s ease, transform .6s var(--e); }
.fl-r:first-child { border-top: 0; }
.fl-r dd { margin: 0; text-align: right; }
.fl-r.is-wait { opacity: .7; } /* .7 y no .28: la etiqueta sigue pasando AA (4.6:1) */
.fl-r.is-wait dd { visibility: hidden; }
.fl-r.is-new dd { background: #fff; color: var(--navy-d); border-radius: 6px; padding: 1px 7px; margin: -1px -7px -1px 0; }
.fl-foot { display: flex; justify-content: flex-end; margin: 6px -4px -10px 0; min-height: 34px; }
@media (prefers-reduced-motion: no-preference) { .fl-r.is-new { animation: fl-in .6s var(--e); } }
@keyframes fl-in { from { opacity: 0; transform: translateY(8px); } }
@media (prefers-reduced-motion: reduce) { .fl-bar { display: none; } .fl-r, .fl-tab { transition: none; } }
/* en How we work: pieza central del hero */
.hww-hero .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: start; }
.hww-hero h1 { margin-bottom: 22px; }
.hww-hero .lede { margin-bottom: 24px; }

/* ---------- C · el buscador de muestra ---------- */
.sx-field { display: flex; align-items: center; gap: 10px; min-height: 56px; padding: 0 16px; border-radius: 14px; background: #fff; color: var(--navy-d); }
.sx-field svg { width: 20px; height: 20px; flex: none; color: var(--navy); }
.sx-field input { flex: 1; min-width: 0; height: 54px; border: 0; background: none; font: 500 1.0625rem/1 var(--mono); color: var(--navy-d); letter-spacing: .02em; }
.sx-field input::placeholder { color: #6b7385; }
.sx-field input:focus { outline: none; }
.sx-field:focus-within { box-shadow: 0 0 0 2px var(--navy-d), 0 0 0 4px #fff; }
.sx-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin: 12px 0 16px; color: var(--tint-3); font-size: .8125rem; }
.sx-chip { min-height: 44px; padding: 0 12px; border-radius: 8px; border: 1px solid rgba(255, 255, 255, .22); background: transparent; color: #fff;
  font: 500 .8125rem/1 var(--mono); cursor: pointer; transition: background-color .2s, border-color .2s; }
.sx-chip:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }
.sx-out { min-height: 196px; }
.sx-res { display: grid; gap: 10px; }
.sx-res .pv-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 16px; align-items: baseline; }
.sx-res .pv-k { grid-column: 1 / -1; margin: 0 0 2px; }
.sx-item { font: 700 1.0625rem/1.3 var(--display); }
.sx-meta { color: var(--tint-3); font-size: .875rem; text-align: right; }
.sx-ok { display: flex; gap: 10px; align-items: center; margin: 0; padding: 12px 14px; border-radius: 12px; background: #fff; color: var(--navy-d); font-weight: 700; }
.sx-ok svg { width: 20px; height: 20px; flex: none; }
.sx-msg { margin: 0; padding: 16px; border: 1px dashed rgba(255, 255, 255, .25); border-radius: 14px; color: var(--tint-3); }
@media (prefers-reduced-motion: no-preference) { .sx-res > * { animation: sx-in .5s cubic-bezier(.16, 1, .3, 1) both; } .sx-res > :nth-child(2) { animation-delay: .08s; } .sx-res > :nth-child(3) { animation-delay: .16s; } }
@keyframes sx-in { from { opacity: 0; transform: translateY(8px); } }
.try .split { align-items: center; }

/* ---------- CTA final sin seda: banda navy limpia, titular grande centrado, botones debajo ---------- */
.cta-center { text-align: center; }
.cta-center h2 { max-width: 18ch; margin: 0 auto 30px; font-size: clamp(2.4rem, 1.3rem + 4vw, 4.75rem); letter-spacing: -.04em; line-height: 1.02; }
.cta-center .lede { margin: -10px auto 30px; }
.cta-center .cta-row { justify-content: center; gap: 12px 22px; }
.cta-center .micro { margin-top: 16px; }

@media (max-width: 1060px) { .hww-hero .hero-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) {
  .mx-f, .mx-f.two { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .mx-f .f1, .mx-f.two > div:first-child { grid-column: 1 / -1; }
  .fl-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fl-cap { min-height: 4.2em; }
  .fl-r { flex-direction: column; gap: 2px; } .fl-r dd { text-align: left; } .fl-r.is-new dd { margin: 0; align-self: flex-start; }
  .sx-res .pv-card { grid-template-columns: minmax(0, 1fr); } .sx-meta { text-align: left; }
  .cta-center .cta-row .btn { width: 100%; }
}
/* CTA en navy profundo justo antes del pie (también navy profundo): un filete los separa */
main:has(> .cta-deep:last-child) + .site-foot { box-shadow: inset 0 1px 0 var(--line-dark); }

/* ==========================================================================================
   23. COMENTARIOS DE IVAN · 1 oct 2026
   ========================================================================================== */
/* Pie: el título de columna manda (blanco, DM Sans, más grande) y los enlaces acompañan (Lato normal, tinta clara).
   Antes era al revés: título gris y chico, enlaces grandes en negrita. */
.foot-col h2 { font: 700 1.0625rem/1.25 var(--display); letter-spacing: -.005em; color: #fff; margin-bottom: 6px; }
.foot-col a { font-weight: 400; font-size: .9375rem; color: var(--tint-3); }
.foot-col a:hover { color: #fff; }
/* How we work: sin los chips de navegación, la entrada baja directo de la bajada a la pieza B */
.hww-hero .lede { margin-bottom: 0; }

/* ---------- v4 (2 oct 2026) · Portada: el titular vive dentro de la banda ----------
   La banda deja de ser decoración con una frase: lleva el H1 y la propuesta de valor, y la trama sigue
   moviéndose arriba a la derecha (el velo solo oscurece abajo a la izquierda, donde va el texto). */
.home-band { height: auto; min-height: clamp(560px, 86svh, 860px); align-items: flex-end; }
.home-band::after { background:
  linear-gradient(14deg, rgba(24, 34, 66, .97) 0%, rgba(27, 40, 78, .88) 34%, rgba(33, 50, 95, .52) 60%, rgba(33, 50, 95, 0) 84%),
  linear-gradient(180deg, rgba(33, 50, 95, .5) 0%, rgba(33, 50, 95, 0) 22%); }
.hero-band .home-band-in { flex-direction: column; align-items: stretch; justify-content: flex-end; gap: clamp(28px, 4vw, 52px);
  padding-top: calc(var(--cn-bar) + 64px); padding-bottom: clamp(32px, 4.6vw, 60px) !important; }
.home-band h1 { color: #fff; font-weight: 500; max-width: 12.5ch; font-size: clamp(2.6rem, .9rem + 6vw, 6.25rem);
  line-height: .96; letter-spacing: -.045em; }
.home-band h1 strong { font-weight: 700; color: #fff; }
.home-band-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px 40px; flex-wrap: wrap;
  padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .22); }
.band-lede { margin: 0; max-width: 52ch; font: 400 clamp(1.05rem, .98rem + .35vw, 1.3rem)/1.5 var(--text); color: var(--tint-3); }
.home-band-foot .chip { white-space: nowrap; }
.doors { padding-top: clamp(40px, 5vw, 72px); }
@media (max-width: 640px) {
  .home-band { height: auto; min-height: 0; }
  .hero-band .home-band-in { padding-top: calc(var(--cn-bar) + 72px); }
  .home-band h1 { font-size: clamp(2.4rem, 1rem + 7.4vw, 3rem); max-width: none; }
  /* en celular el titular sube a la zona donde la trama brilla más: velo parejo encima para que no baje de 3:1 */
  .home-band::after { background: linear-gradient(180deg, rgba(24, 34, 66, .72) 0%, rgba(24, 34, 66, .6) 50%, rgba(24, 34, 66, .9) 100%); }
}

/* ---------- v4 (2 oct 2026) · Suppliers: "Your matches" en loop (assets/matches-loop.js) ----------
   Sin .ml-run (sin JS, Reducir movimiento, pausa) se ve el ESTADO FINAL: fila elegida, precio puesto y "Reviewed by our team".
   Nada cambia de tamaño durante el loop (solo opacity/transform/colores): el scrub mide la pantalla una vez y no se descuadra. */
.screen-meta { display: flex; align-items: center; gap: 14px; }
.ml-toggle { appearance: none; border: 0; background: none; padding: 4px 2px; min-height: 24px; cursor: pointer;
  font: 700 .75rem/1.2 var(--text); color: var(--navy-d); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(33, 50, 95, .35); }
.ml-toggle:hover { text-decoration-color: currentColor; }
.ml-toggle:focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; border-radius: 4px; }
.matches .ml-c { display: inline-block; }
.matches td.item .ml-c { display: block; }
.matches .ml-none { color: var(--grey); font-size: .875rem; }
/* fila elegida (estado final y paso "pick") */
.matches tr.ml-sel td { background: rgba(42, 61, 136, .06); }
.matches tr.ml-sel td:first-child { box-shadow: inset 3px 0 0 var(--navy); }
.matches tr.ml-sel .ml-qb { font-weight: 700; color: var(--navy-d); }
/* el campo del precio: mismo tamaño siempre; al escribir solo se le ve el borde */
.ml-field { position: relative; display: inline-flex; align-items: baseline; justify-content: flex-end; min-width: 7.2em;
  padding: 3px 8px; margin: -4px -9px -4px 0; border: 1px solid transparent; border-radius: 7px; font-weight: 700; color: var(--navy-d);
  transition: border-color .25s ease, background-color .25s ease, box-shadow .25s ease; }
.ml-val:empty::before { content: "Not quoted"; font-weight: 400; color: var(--grey); font-size: .875rem; }
.ml-val:empty + .sr-only + .ml-unit { display: none; }
.ml-unit { margin-left: .28em; font-weight: 400; color: var(--grey); }
.ml-cur { position: absolute; right: -10px; bottom: -16px; width: 18px; height: 22px; fill: #fff; stroke: var(--navy-d); stroke-width: 1.4;
  stroke-linejoin: round; filter: drop-shadow(0 2px 3px rgba(18, 28, 60, .3)); opacity: 0; pointer-events: none;
  transform: translate(150px, 70px); }
/* la nota de estado del pie */
.ml-status { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; color: var(--navy-d); }
.ml-status svg { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* --- el loop --- */
.ml-run .matches tbody .ml-c { opacity: 0; transform: translateY(10px); transition: opacity .45s ease, transform .6s var(--ease); }
.ml-run[data-ml-rows="1"] tbody tr:nth-child(-n+1) .ml-c, .ml-run[data-ml-rows="2"] tbody tr:nth-child(-n+2) .ml-c,
.ml-run[data-ml-rows="3"] tbody tr:nth-child(-n+3) .ml-c, .ml-run[data-ml-rows="4"] tbody tr .ml-c { opacity: 1; transform: none; }
/* la fila que acaba de llegar se tiñe un instante y se apaga despacio */
.ml-run .matches tbody td { transition: background-color 1.2s ease, box-shadow .4s ease; }
.ml-run[data-ml-rows="1"] .matches tbody tr:nth-child(1) td, .ml-run[data-ml-rows="2"] .matches tbody tr:nth-child(2) td,
.ml-run[data-ml-rows="3"] .matches tbody tr:nth-child(3) td, .ml-run[data-ml-rows="4"] .matches tbody tr:nth-child(4) td { background-color: rgba(94, 126, 232, .17); transition: background-color .15s ease; }
.ml-run:not(.ml-pick) .matches tr.ml-sel td:first-child { box-shadow: none; }
.ml-run:not(.ml-pick) .matches tr.ml-sel .ml-qb { font-weight: inherit; color: inherit; }
.ml-run:not(.ml-pick) .matches tr.ml-sel td { background-color: transparent; }
.ml-run .matches tr.ml-sel .ml-qb { transition: color .3s ease, background-color 1.2s ease; }
.ml-run.ml-typing .ml-field { border-color: var(--navy); background: #fff; box-shadow: 0 0 0 3px rgba(94, 126, 232, .18); }
.ml-run.ml-typing .ml-val::after { content: ""; display: inline-block; width: 1.5px; height: 1em; margin-left: 2px; vertical-align: -.12em; background: var(--navy-d); animation: mlCaret 1s steps(1) infinite; }
.ml-run.ml-typing .ml-val:empty::before { content: none; }
.ml-run .ml-cur { transition: transform .85s cubic-bezier(.3, .7, .2, 1), opacity .3s ease; }
.ml-run.ml-point .ml-cur { opacity: 1; transform: none; }
.ml-run.ml-click .ml-cur { transform: scale(.82); transition-duration: .12s; }
.ml-run.ml-done .ml-cur { opacity: 0; transition-delay: .5s; }
.ml-run .ml-status { opacity: 0; transform: translateY(6px); transition: opacity .45s ease, transform .6s var(--ease); }
.ml-run.ml-done .ml-status { opacity: 1; transform: none; }
.ml-run.ml-out .matches tbody, .ml-run.ml-out .ml-status { opacity: 0; transition: opacity .55s ease; }
.ml-reset, .ml-reset * { transition: none !important; }
@keyframes mlCaret { 50% { opacity: 0; } }
@media (max-width: 760px) {
  .ml-field { margin: 0; padding: 2px 6px; justify-content: flex-start; min-width: 0; margin-left: -7px; }
  .matches tr.ml-sel td:first-child { box-shadow: none; }
  .matches tr.ml-sel { box-shadow: inset 3px 0 0 var(--navy); background: rgba(42, 61, 136, .06); }
  .matches tr.ml-sel td { background: none; }
  .ml-run .matches tbody td { background: none !important; }
  .ml-run:not(.ml-pick) .matches tr.ml-sel { box-shadow: none; background: none; }
  .ml-run .matches tr { transition: background-color .6s ease, box-shadow .4s ease; }
  .screen-foot { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) { .ml-toggle { display: none; } }
