/* ==========================================================================
   Dvolon — landing del cliente directo
   Sin build, sin framework: un solo archivo, tokens arriba y secciones abajo.
   La paleta es la de la marca dvolon en apps/web/lib/brand.tsx.
   ========================================================================== */

:root {
  /* marca */
  --brand: #676fef;
  --brand-dark: #5259c4;
  --brand-deep: #052a75;
  --brand-deeper: #031947;
  --brand-soft: #edf2fd;
  --brand-soft-2: #f8faff;
  --brand-border: #c3d4f7;
  --accent: #f7b500;
  --accent-fg: #052a75;
  --accent-soft: #fdf3cc;

  /* tinta y superficies */
  --ink: #0e1726;
  --ink-2: #2c3a4e;
  --muted: #5d6b80;
  --muted-2: #8a94a4;
  --line: #e4e9f0;
  --line-2: #eef2f7;
  --bg: #f6f8fb;
  --bg-2: #eef2f8;
  --surface: #ffffff;
  --ok: #157a4c;
  --warn: #b4540a;
  --warn-soft: #fdf0e2;

  /* forma */
  --r-sm: 10px;
  --r: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --shadow-1: 0 1px 2px rgba(14, 23, 38, .05);
  --shadow-2: 0 4px 16px rgba(14, 23, 38, .06);
  --shadow-3: 0 24px 60px rgba(14, 23, 38, .14);

  /* tipografía */
  --font: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --wrap: 1140px;
  --nav-h: 68px;
  color-scheme: light;
}

/* ── base ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }

h1, h2, h3 {
  margin: 0;
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.1;
  text-wrap: balance;
}
h1 { font-size: clamp(2.15rem, 1.35rem + 3.4vw, 4rem); }
h2 { font-size: clamp(1.65rem, 1.15rem + 2vw, 2.7rem); }
h3 { font-size: 1.075rem; letter-spacing: -.015em; line-height: 1.3; }
p { margin: 0; text-wrap: pretty; }

.mono { font-family: var(--mono); font-variant-ligatures: none; }

:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 2px;
  border-radius: 6px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--brand); color: #fff; padding: 10px 16px;
  border-radius: var(--r-sm); font-weight: 700; transition: top .18s;
}
.skip:focus { top: 12px; }

/* ── contenedores y encabezados de sección ──────────────── */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 20px; }
.wrap-narrow { max-width: 820px; }

.sec { padding: clamp(60px, 8vw, 108px) 0; }
.sec-alt { background: var(--surface); border-block: 1px solid var(--line); }
.sec-deep { background: var(--brand-deep); color: #e8eefc; }
.sec-deep h2 { color: #fff; }
.sec-deep p { color: #b9c8ea; }
/* .split-copy > p (gris para fondo claro) le ganaba por orden a .sec-deep p y
   dejaba la copia gris sobre azul/verde oscuro, ~2.5:1 de contraste */
.sec-deep .split-copy > p { color: #b9c8ea; }
/* una tarjeta blanca dentro de una sección oscura no hereda el texto claro:
   .sec-deep p le gana en especificidad a las notas propias de cada mock */
.sec-deep .ui-card p { color: var(--muted-2); }

.sec-head { max-width: 660px; margin-bottom: clamp(36px, 5vw, 56px); }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-sub { margin-top: 14px; color: var(--muted); font-size: 1.05rem; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  margin: 0 0 16px;
  padding: 6px 13px 6px 11px;
  background: var(--brand-soft);
  border: 1px solid var(--brand-border);
  border-radius: 999px;
  color: var(--brand-dark);
  font-size: .8rem; font-weight: 700; letter-spacing: .01em;
}
.eyebrow .dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--brand);
  box-shadow: 0 0 0 3px rgba(103, 111, 239, .16);
}
.eyebrow-on-dark {
  background: rgba(255, 255, 255, .09);
  border-color: rgba(255, 255, 255, .2);
  color: var(--accent);
}

/* ── botones ────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: .935rem; font-weight: 700; letter-spacing: -.01em;
  white-space: nowrap;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease, color .16s ease, border-color .16s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-lg { padding: 14px 26px; font-size: 1rem; }
.btn-block { width: 100%; }

.btn-solid { background: var(--brand); color: #fff; box-shadow: 0 6px 18px rgba(103, 111, 239, .22); }
.btn-solid:hover { background: var(--brand-dark); box-shadow: 0 10px 26px rgba(103, 111, 239, .28); }

.btn-accent { background: var(--accent); color: var(--accent-fg); box-shadow: 0 6px 18px rgba(247, 181, 0, .3); }
.btn-accent:hover { background: #ffc426; }

.btn-line { background: var(--surface); color: var(--ink); border-color: var(--line); box-shadow: var(--shadow-1); }
.btn-line:hover { border-color: var(--brand-border); color: var(--brand-dark); }

.btn-ghost { color: var(--ink-2); }
.btn-ghost:hover { color: var(--brand); background: var(--brand-soft); }

/* ── barra superior ─────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(246, 248, 251, .82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, background .2s;
}
.nav.is-stuck { border-bottom-color: var(--line); background: rgba(255, 255, 255, .88); }

.nav-in { display: flex; align-items: center; gap: 20px; height: var(--nav-h); }

.brand { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand-logo { height: 30px; width: auto; }
.foot .brand-logo { height: 27px; }

.nav-links {
  margin-left: auto;
  display: flex; align-items: center; gap: 4px;
}
.nav-links > a {
  padding: 8px 13px; border-radius: 999px;
  font-size: .92rem; font-weight: 600; color: var(--ink-2); white-space: nowrap;
  transition: background .15s, color .15s;
}
.nav-links > a:hover { background: var(--brand-soft); color: var(--brand-dark); }
.nav-cta { display: flex; align-items: center; gap: 8px; margin-left: 10px; }

.burger {
  display: none;
  width: 42px; height: 42px; padding: 0;
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
  margin-left: auto;
}
.burger span {
  display: block; width: 18px; height: 2px; margin: 3.5px auto;
  background: var(--ink); border-radius: 2px;
  transition: transform .22s, opacity .18s;
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

/* ── hero ───────────────────────────────────────────────── */
.hero { position: relative; padding: clamp(48px, 7vw, 88px) 0 clamp(56px, 7vw, 96px); overflow: hidden; }
.hero-in { position: relative; z-index: 2; text-align: center; }

.hero-glow {
  position: absolute; inset: -30% 0 auto; height: 780px; z-index: 0; pointer-events: none;
  background:
    radial-gradient(46% 42% at 50% 34%, rgba(103, 111, 239, .16), transparent 70%),
    radial-gradient(30% 26% at 78% 22%, rgba(247, 181, 0, .3), transparent 70%),
    radial-gradient(26% 24% at 18% 26%, rgba(103, 111, 239, .12), transparent 70%);
  filter: blur(6px);
}
.rings { position: absolute; inset: 0; z-index: 1; pointer-events: none; display: grid; place-items: center; }
.rings i {
  position: absolute; border: 1px solid var(--line); border-radius: 50%; opacity: .85;
  top: 46px;
}
.rings i:nth-child(1) { width: 620px; height: 620px; }
.rings i:nth-child(2) { width: 900px; height: 900px; }
.rings i:nth-child(3) { width: 1220px; height: 1220px; }

.hero h1 { margin-bottom: 20px; }
.hero h1 em {
  font-style: normal; position: relative; white-space: nowrap;
  background: linear-gradient(180deg, transparent 66%, var(--accent) 66%, var(--accent) 92%, transparent 92%);
}
.hero .lead {
  max-width: 620px; margin: 0 auto; color: var(--muted); font-size: clamp(1rem, .94rem + .3vw, 1.14rem);
}

.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 30px; }

.hero-ticks {
  display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: center;
  margin-top: 22px; color: var(--muted); font-size: .875rem; font-weight: 600;
}
.hero-ticks li { display: flex; align-items: center; gap: 7px; }
.hero-ticks li::before {
  content: ""; width: 15px; height: 15px; flex-shrink: 0; border-radius: 50%;
  background: var(--brand-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.6 6.2 4.8 8.4 9.4 3.8' fill='none' stroke='%23676fef' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/11px no-repeat;
}

/* mock del comparador */
.quote-card {
  max-width: 620px; margin: clamp(38px, 5vw, 58px) auto 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-3);
  overflow: hidden;
  text-align: left;
}
.qc-head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 16px 20px; border-bottom: 1px solid var(--line-2); background: var(--brand-soft-2);
}
.qc-route { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; color: var(--brand); }
.qc-cp { font-family: var(--mono); font-size: .95rem; font-weight: 500; color: var(--ink); }
.qc-meta { color: var(--muted-2); font-size: .8rem; font-weight: 600; }
.qc-count {
  flex-shrink: 0; padding: 4px 10px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line);
  font-size: .76rem; font-weight: 700; color: var(--muted);
}

.qc-list { padding: 8px; }
.qc-item {
  display: grid;
  grid-template-columns: 36px 1fr auto auto;
  align-items: center; gap: 12px;
  padding: 11px 12px; border-radius: var(--r);
  transition: background .15s;
}
.qc-item + .qc-item { box-shadow: inset 0 1px 0 var(--line-2); }
.qc-item.is-best { background: var(--brand-soft-2); box-shadow: inset 0 0 0 1px var(--brand-border); }

.qc-logo {
  width: 36px; height: 36px; border-radius: 11px;
  display: grid; place-items: center;
  font-size: .72rem; font-weight: 800; letter-spacing: -.02em; color: #fff;
  background: var(--brand);
}
.qc-logo[data-c="dh"] { background: #f5cd00; color: #b31217; }
.qc-logo[data-c="fx"] { background: #4d148c; }
.qc-logo[data-c="es"] { background: #d61a26; }
.qc-logo[data-c="rp"] { background: #0f7c3f; }

.qc-name { display: flex; flex-direction: column; font-weight: 700; font-size: .945rem; min-width: 0; }
.qc-name em { font-style: normal; font-weight: 500; font-size: .79rem; color: var(--muted); }

.qc-tag {
  padding: 3px 9px; border-radius: 999px;
  background: var(--accent-soft); color: var(--accent-fg);
  font-size: .7rem; font-weight: 800; letter-spacing: .01em; white-space: nowrap;
}
.qc-tag-alt { background: var(--brand-soft); color: var(--brand-dark); }

.qc-price { font-size: 1.06rem; font-weight: 800; letter-spacing: -.03em; }
.qc-price sup { font-size: .66em; top: -.35em; font-weight: 700; }

.qc-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  padding: 14px 20px; border-top: 1px solid var(--line-2); background: var(--bg);
}
.qc-save { font-size: .855rem; color: var(--muted); }
.qc-save b { color: var(--ok); font-weight: 800; }
.qc-btn {
  padding: 9px 18px; border-radius: 999px;
  background: var(--brand); color: #fff; font-size: .865rem; font-weight: 700;
}
.qc-btn-sm { padding: 7px 14px; font-size: .8rem; }

/* ── franja de paqueterías ──────────────────────────────── */
.strip { padding: 34px 0 40px; background: var(--surface); border-block: 1px solid var(--line); }
.strip-title {
  text-align: center; color: var(--muted-2);
  font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  margin-bottom: 22px;
}
.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track { display: flex; gap: 52px; width: max-content; animation: slide 38s linear infinite; }
.marquee-track span {
  font-size: 1.2rem; font-weight: 800; letter-spacing: -.02em;
  color: #9aa5b5; white-space: nowrap;
}
@keyframes slide { to { transform: translateX(-50%); } }

/* ── pasos ──────────────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.step {
  position: relative; padding: 26px 22px 24px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); box-shadow: var(--shadow-1);
}
.step-n {
  display: inline-grid; place-items: center;
  width: 38px; height: 38px; margin-bottom: 16px;
  border-radius: 12px; background: var(--brand-deep); color: var(--accent);
  font-family: var(--mono); font-size: .85rem; font-weight: 500;
}
.step h3 { margin-bottom: 8px; }
.step p { color: var(--muted); font-size: .93rem; }

/* ── rejillas y tarjetas ────────────────────────────────── */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); box-shadow: var(--shadow-1);
}
.feat { padding: 26px 24px; transition: transform .2s, box-shadow .2s, border-color .2s; }
.feat:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); border-color: var(--brand-border); }
.feat h3 { margin-bottom: 8px; }
.feat p { color: var(--muted); font-size: .93rem; }

.ico {
  display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 16px;
  border-radius: 13px; background: var(--brand-soft); color: var(--brand);
}
.ico svg { width: 22px; height: 22px; }

/* ── listas con palomita ────────────────────────────────── */
.ticks { display: grid; gap: 11px; margin: 20px 0 0; }
.ticks li { position: relative; padding-left: 28px; font-size: .945rem; color: var(--ink-2); }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .18em;
  width: 19px; height: 19px; border-radius: 50%;
  background: var(--brand-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.6 6.2 4.8 8.4 9.4 3.8' fill='none' stroke='%23676fef' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat;
}
.ticks-on-dark li { color: #ccd8f2; }
.ticks-on-dark li::before {
  background: rgba(247, 181, 0, .16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.6 6.2 4.8 8.4 9.4 3.8' fill='none' stroke='%23f7b500' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat;
}

/* ── secciones partidas ─────────────────────────────────── */
.split-copy, .split-ui, .hero-copy, .hero-ui, .cta-copy, .cta-form { min-width: 0; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.split-copy h2 { margin-bottom: 14px; }
/* subtítulo de un bloque partido cuando la sección ya gastó su h2 */
.split-h { font-size: clamp(1.25rem, 1.1rem + .7vw, 1.6rem); letter-spacing: -.025em; margin-bottom: 14px; }
.split-copy > p { color: var(--muted); }
.split-copy .btn { margin-top: 24px; }
.split-rev .split-copy { order: 2; }

/* ── mocks de interfaz ──────────────────────────────────── */
.ui-card {
  background: var(--surface); color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--r-xl); box-shadow: var(--shadow-3); overflow: hidden;
}
.ui-top {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 15px 20px; border-bottom: 1px solid var(--line-2); background: var(--brand-soft-2);
}
.ui-top-plain { background: var(--surface); }
.ui-chip {
  padding: 4px 11px; border-radius: 999px; background: var(--brand); color: #fff;
  font-size: .74rem; font-weight: 700;
}
.ui-track { font-size: .88rem; color: var(--muted); }
.ui-mini { font-size: .78rem; color: var(--muted-2); font-weight: 600; }
.ui-bottom { padding: 14px 20px; border-top: 1px solid var(--line-2); background: var(--bg); text-align: right; }

/* línea de tiempo */
.tl { padding: 20px 22px 22px; }
.tl-item { position: relative; display: flex; gap: 14px; padding-bottom: 20px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::after {
  content: ""; position: absolute; left: 5px; top: 16px; bottom: 0; width: 2px; background: var(--line);
}
.tl-item:last-child::after { display: none; }
.tl-dot {
  position: relative; z-index: 1; flex-shrink: 0;
  width: 12px; height: 12px; margin-top: 4px; border-radius: 50%;
  background: var(--surface); border: 2px solid var(--line);
}
.tl-item.is-done .tl-dot { background: var(--brand); border-color: var(--brand); }
.tl-item.is-done::after { background: var(--brand-border); }
.tl-item.is-now .tl-dot {
  background: var(--accent); border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(247, 181, 0, .3);
}
.tl-item b { display: block; font-size: .93rem; font-weight: 700; }
.tl-item em { font-style: normal; font-size: .8rem; color: var(--muted-2); }
.tl-item:not(.is-done):not(.is-now) b { color: var(--muted-2); font-weight: 600; }

/* lista de órdenes */
.ord { padding: 8px; }
.ord li {
  display: grid; grid-template-columns: 44px 56px 1fr auto;
  align-items: center; gap: 10px; padding: 11px 12px; border-radius: var(--r);
  font-size: .875rem;
}
.ord li + li { box-shadow: inset 0 1px 0 var(--line-2); }
.ord li.is-dim { opacity: .62; }
.ord-src {
  padding: 3px 0; border-radius: 7px; text-align: center;
  background: var(--brand);
  font-size: .66rem; font-weight: 800; letter-spacing: .02em; color: #fff;
}
.ord-src[data-s="woo"] { background: #7f54b3; }
.ord-src[data-s="shp"] { background: #5e8e3e; }
.ord-src[data-s="xls"] { background: #1d6f42; }
.ord-id { color: var(--muted); font-size: .8rem; }
.ord-to { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ord-st { font-size: .74rem; font-weight: 800; padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.ord-st.is-ok { background: #e2f3ea; color: var(--ok); }
.ord-st.is-warn { background: var(--warn-soft); color: var(--warn); }

/* ── mock del listado de envíos ─────────────────────────── */
.list-ui { margin-bottom: 28px; }
.list-bar {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  padding: 14px 16px; border-bottom: 1px solid var(--line-2); background: var(--brand-soft-2);
}
.list-search {
  flex: 1 1 200px; min-width: 0;
  padding: 8px 13px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line);
  font-size: .82rem; color: var(--muted-2);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.chip-f {
  padding: 5px 12px; border-radius: 999px; white-space: nowrap;
  background: var(--surface); border: 1px solid var(--brand-border);
  font-size: .76rem; font-weight: 700; color: var(--brand-dark);
}
.chip-f.is-tag { background: var(--accent-soft); border-color: #f0d99b; color: var(--accent-fg); }
.chip-view {
  padding: 5px 12px; border-radius: 999px; white-space: nowrap;
  background: var(--brand); color: #fff; font-size: .76rem; font-weight: 700;
}
.list-sel {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px;
  padding: 11px 16px; background: var(--brand-soft); border-bottom: 1px solid var(--line-2);
}
.list-n { font-size: .82rem; color: var(--brand-dark); }
.list-n b { font-weight: 800; }
.list-acts { display: flex; flex-wrap: wrap; gap: 8px; }
.list-acts i {
  padding: 6px 13px; border-radius: 999px; font-style: normal; white-space: nowrap;
  background: var(--surface); border: 1px solid var(--line);
  font-size: .76rem; font-weight: 700; color: var(--ink-2);
}
.lst { padding: 8px 8px 4px; }
.lst li {
  display: grid;
  grid-template-columns: 18px 118px minmax(0, 1fr) 92px 68px 96px;
  align-items: center; gap: 12px;
  padding: 10px; border-radius: var(--r); font-size: .84rem;
}
.lst li + li { box-shadow: inset 0 1px 0 var(--line-2); }
.lst li > span:not(.lst-ck):not(.lst-st) {
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.lst-head { padding-bottom: 4px; }
.lst-head span {
  font-size: .68rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  color: var(--muted-2);
}
.lst-ck {
  width: 16px; height: 16px; border-radius: 5px;
  border: 1.5px solid var(--line); background: var(--surface);
}
.lst-ck.is-on {
  background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.6 6.2 4.8 8.4 9.4 3.8' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/11px no-repeat;
  border-color: var(--brand);
}
.lst-st {
  padding: 3px 9px; border-radius: 999px; text-align: center; white-space: nowrap;
  background: var(--brand-soft); color: var(--brand-dark); font-size: .72rem; font-weight: 700;
}
.list-note { padding: 10px 18px 16px; font-size: .78rem; color: var(--muted-2); }
.list-note b { color: var(--ink-2); font-weight: 700; }

/* ── segundo bloque partido dentro de una misma sección ─── */
.split-2 {
  margin-top: clamp(40px, 5vw, 64px);
  padding-top: clamp(40px, 5vw, 64px);
  border-top: 1px solid var(--line);
}
.sec-deep .split-2 { border-top-color: rgba(255, 255, 255, .12); }

/* ── empaque: el acomodo que calculó el motor ───────────── */
.pack { padding: 18px 20px 20px; }
.pack-dims { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 16px; }
.pack-dims span { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.pack-dims em {
  font-style: normal; font-size: .66rem; font-weight: 800;
  letter-spacing: .06em; text-transform: uppercase; color: var(--muted-2);
}
.pack-dims b { font-size: .85rem; font-weight: 700; letter-spacing: -.01em; }
.pack-k {
  padding-top: 14px; border-top: 1px solid var(--line-2); margin-bottom: 10px;
  font-size: .7rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted-2);
}
.pack-layers { display: grid; gap: 3px; }
.pack-layers li {
  display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 12px; align-items: baseline;
  padding: 9px 11px; border-radius: var(--r-sm); background: var(--brand-soft-2);
  font-size: .81rem;
}
.pack-layers li > span:first-child { font-weight: 700; white-space: nowrap; }
.pack-layers i { font-style: normal; font-weight: 500; color: var(--muted-2); }
.pack-layers li > span:last-child { color: var(--ink-2); }
.pack-note { margin-top: 12px; font-size: .78rem; color: var(--muted-2); }


/* ── tarjeta de problema: el mismo .feat en tono de aviso ─ */
.feat-prob .ico { background: var(--warn-soft); color: var(--warn); }
.feat-prob:hover { border-color: #e6c9a8; }
.feat-prob p b { color: var(--ink); font-weight: 800; }

/* ── tabla de inventario ────────────────────────────────── */
.tbl-scroll { overflow-x: auto; min-width: 0; -webkit-overflow-scrolling: touch; }
.tbl { width: 100%; border-collapse: collapse; font-size: .855rem; }
.tbl th, .tbl td { padding: 11px 14px; text-align: right; white-space: nowrap; }
.tbl thead th {
  font-size: .68rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  color: var(--muted-2); border-bottom: 1px solid var(--line);
}
.tbl th[scope="row"] { text-align: left; font-weight: 700; }
.tbl thead th:first-child { text-align: left; }
.tbl tbody tr + tr th, .tbl tbody tr + tr td { border-top: 1px solid var(--line-2); }
.tbl .is-pos { color: var(--ok); font-weight: 700; }
/* las tres cubetas del inventario, cada una con su tono */
.tbl .cub-disp { color: var(--ok); font-weight: 700; }
.tbl .cub-apar { color: var(--brand-dark); font-weight: 700; }
.tbl .cub-dana { color: var(--warn); font-weight: 700; }
.tbl .cub-cero { color: var(--muted-2); }

/* ── lista de pick del almacén ──────────────────────────── */
.pick { padding: 8px; }
.pick li {
  display: grid; grid-template-columns: 22px minmax(0, 1fr) auto;
  align-items: center; gap: 12px; padding: 10px 11px; border-radius: var(--r);
  font-size: .87rem;
}
.pick li + li { box-shadow: inset 0 1px 0 var(--line-2); }
.pick-ck {
  width: 20px; height: 20px; border-radius: 6px;
  border: 1.5px solid var(--line); background: var(--surface);
}
.pick-ck.is-on {
  background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.6 6.2 4.8 8.4 9.4 3.8' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/13px no-repeat;
  border-color: var(--brand);
}
.pick-n { font-weight: 700; min-width: 0; }
.pick-n em {
  display: block; font-style: normal; font-weight: 500; font-size: .76rem; color: var(--muted-2);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.pick-q { font-family: var(--mono); font-weight: 700; white-space: nowrap; }
.pick-q.is-part { color: var(--warn); }
.pick li.is-done .pick-n { color: var(--muted); }

/* ── checkout de la tienda: opciones de envío en vivo ───── */
.chk { padding: 8px; display: grid; gap: 4px; }
.chk li {
  display: grid; grid-template-columns: 16px minmax(0, 1fr) auto;
  align-items: center; gap: 12px; padding: 11px 12px;
  border: 1px solid var(--line-2); border-radius: var(--r); font-size: .875rem;
}
.chk li.is-on { border-color: var(--brand); background: var(--brand-soft-2); }
.chk-radio {
  width: 16px; height: 16px; border-radius: 50%;
  border: 1.5px solid var(--line); background: var(--surface);
}
.chk li.is-on .chk-radio { border: 5px solid var(--brand); }
.chk-name { font-weight: 700; min-width: 0; }
.chk-name em { display: block; font-style: normal; font-weight: 500; font-size: .76rem; color: var(--muted-2); }
.chk-price { font-family: var(--mono); font-weight: 700; white-space: nowrap; }
.chk-note { padding: 4px 18px 14px; font-size: .78rem; color: var(--muted-2); }
.chk-note b { color: var(--ink-2); font-weight: 700; }
/* ── Kierostore: marca independiente, con su propio kit ─── */
/* Paleta del kit (colores.txt): verde bosque #173523, verde #00A159,
   coral #EE6A4A, claro #F3F2F2. Nada de esto sale de Dvolon ni de kieroenvíos. */

/* su logo a color va siempre sobre blanco: así se respeta el kit en cualquier
   fondo, incluida una sección oscura */
.brand-badge {
  display: inline-flex; align-items: center;
  margin: 0 0 18px; padding: 9px 16px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  box-shadow: var(--shadow-1);
}
.brand-badge img { height: 22px; width: auto; }

/* la ficha en la lista de órdenes: su símbolo, como las otras llevan su nombre */
.ord-src[data-s="kvd"] {
  display: grid; place-items: center;
  background: #fff; box-shadow: inset 0 0 0 1px var(--line);
}
.ord-src[data-s="kvd"] img { width: 16px; height: 16px; }

/* el mock del checkout ES una tienda Kierostore: lleva su paleta, no la de la
   landing. Las variables se redefinen solo dentro de esa tarjeta. */
.ui-card.is-kstore {
  --brand: #173523;
  --brand-dark: #173523;
  --brand-soft: #e6f6ee;
  --brand-soft-2: #f3faf6;
  --brand-border: #a9dcc1;
}

/* ── planes ─────────────────────────────────────────────── */
.plans { align-items: stretch; }
.plan { display: flex; flex-direction: column; padding: 30px 28px; }
.plan-tag {
  align-self: flex-start; padding: 4px 11px; margin-bottom: 16px; border-radius: 999px;
  background: var(--brand-soft); color: var(--brand-dark);
  font-size: .73rem; font-weight: 800; letter-spacing: .03em; text-transform: uppercase;
}
.plan-tag-alt { background: rgba(247, 181, 0, .18); color: var(--accent); }
.plan-price {
  margin: 14px 0 10px; font-size: 2.1rem; font-weight: 800; letter-spacing: -.04em; line-height: 1;
}
.plan-price span { font-size: .875rem; font-weight: 600; letter-spacing: -.01em; color: var(--muted); }
.plan-desc { color: var(--muted); font-size: .93rem; }
.plan .ticks { flex: 1; margin-bottom: 26px; }
.plan-dark { background: var(--brand-deep); border-color: var(--brand-deep); color: #e8eefc; }
.plan-dark h3 { color: #fff; }
.plan-dark .plan-desc, .plan-dark .plan-price span { color: #a3b6e0; }
.plans-note {
  max-width: 720px; margin: 26px auto 0; text-align: center;
  color: var(--muted); font-size: .89rem;
}

/* ── preguntas ──────────────────────────────────────────── */
.faq { display: grid; gap: 10px; }
.faq-item {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r); overflow: hidden; transition: border-color .18s, box-shadow .18s;
}
.faq-item[open] { border-color: var(--brand-border); box-shadow: var(--shadow-2); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 17px 20px; cursor: pointer; list-style: none;
  font-weight: 700; font-size: .99rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary i {
  position: relative; flex-shrink: 0; width: 20px; height: 20px; border-radius: 50%;
  background: var(--brand-soft); transition: transform .22s, background .18s;
}
.faq-item summary i::before, .faq-item summary i::after {
  content: ""; position: absolute; left: 50%; top: 50%; background: var(--brand);
  transform: translate(-50%, -50%); border-radius: 2px;
}
.faq-item summary i::before { width: 9px; height: 1.8px; }
.faq-item summary i::after { width: 1.8px; height: 9px; transition: opacity .2s; }
.faq-item[open] summary i { transform: rotate(180deg); }
.faq-item[open] summary i::after { opacity: 0; }
.faq-body { padding: 0 20px 19px; }
.faq-body p { color: var(--muted); font-size: .945rem; }

/* ── llamada final y formulario ─────────────────────────── */
.cta { background: var(--brand-deeper); color: #e8eefc; }
.cta h2 { color: #fff; margin-bottom: 14px; }
.cta > .wrap > .cta-copy > p { color: #a3b6e0; }
.cta-in { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 64px); align-items: start; }
.cta-copy p { color: #a3b6e0; }

.cta-form {
  background: var(--surface); color: var(--ink);
  border-radius: var(--r-xl); padding: clamp(22px, 3vw, 32px);
  box-shadow: var(--shadow-3);
}
.form { display: grid; gap: 14px; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.f { display: grid; gap: 6px; min-width: 0; }
.f > span { font-size: .8rem; font-weight: 700; color: var(--ink-2); }
.f > span b { color: var(--brand); }
.f input, .f select, .f textarea {
  width: 100%; padding: 11px 13px;
  background: var(--bg); color: var(--ink);
  border: 1px solid var(--line); border-radius: var(--r-sm);
  font-family: inherit; font-size: .94rem;
  transition: border-color .15s, box-shadow .15s, background .15s;
}
.f textarea { resize: vertical; min-height: 84px; }
.f input:focus, .f select:focus, .f textarea:focus {
  outline: none; background: var(--surface);
  border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft);
}
.f input::placeholder, .f textarea::placeholder { color: var(--muted-2); }
.f input[aria-invalid="true"], .f textarea[aria-invalid="true"] {
  border-color: var(--warn); box-shadow: 0 0 0 3px var(--warn-soft);
}

.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cap-slot:empty { display: none; }
.cap-slot { margin-top: 2px; }

.f-note { color: var(--muted-2); font-size: .78rem; text-align: center; }
.f-msg { font-size: .89rem; font-weight: 600; text-align: center; min-height: 0; }
.f-msg.is-ok { color: var(--ok); }
.f-msg.is-err { color: var(--warn); }
.form.is-sending { opacity: .65; pointer-events: none; }
.form.is-done .f-row, .form.is-done .f, .form.is-done button, .form.is-done .f-note { display: none; }
.form.is-done .f-msg { font-size: 1.02rem; }

/* ── pie ────────────────────────────────────────────────── */
.foot { background: var(--brand-deeper); color: #93a5d0; padding: clamp(46px, 6vw, 72px) 0 26px; }
.foot-in { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 34px; }
.foot-brand p { margin-top: 14px; max-width: 300px; font-size: .89rem; }
.foot-col { display: flex; flex-direction: column; gap: 10px; }
.foot-col h3 {
  color: #fff; font-size: .78rem; font-weight: 800;
  letter-spacing: .09em; text-transform: uppercase; margin-bottom: 4px;
}
.foot-col a { font-size: .9rem; transition: color .15s; }
.foot-col a:hover { color: var(--accent); }
.foot-bar {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px;
  margin-top: 42px; padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: .82rem;
}
.foot-note { color: #7385b5; }

/* ── revelado al hacer scroll ───────────────────────────── */
/* Solo se esconde si hay JS: sin scripts la pagina se ve completa. */
.js .reveal { opacity: 0; transform: translateY(16px); }
.js .reveal.is-in {
  opacity: 1; transform: none;
  transition: opacity .6s cubic-bezier(.22, 1, .36, 1), transform .6s cubic-bezier(.22, 1, .36, 1);
}

/* ── responsivo ─────────────────────────────────────────── */
@media (max-width: 980px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .foot-in { grid-template-columns: 1fr 1fr; gap: 30px; }
  .foot-brand { grid-column: 1 / -1; }
}

@media (max-width: 1150px) {
  .nav-links {
    position: fixed; inset: var(--nav-h) 0 auto;
    flex-direction: column; align-items: stretch; gap: 2px;
    padding: 14px 20px 22px;
    background: var(--surface); border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 40px rgba(14, 23, 38, .1);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .2s, transform .2s, visibility .2s;
    max-height: calc(100dvh - var(--nav-h)); overflow-y: auto;
  }
  .nav-links.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav-links > a { padding: 13px 14px; border-radius: var(--r-sm); font-size: 1rem; }
  .nav-cta { flex-direction: column; align-items: stretch; gap: 10px; margin: 14px 0 0; }
  .nav-cta .btn { width: 100%; padding: 13px 20px; }
  .nav-cta .btn-ghost { border-color: var(--line); border-style: solid; }
  .burger { display: block; }

  .split, .cta-in { grid-template-columns: 1fr; }
  .split-rev .split-copy { order: 0; }
  .rings i:nth-child(3) { display: none; }
}

@media (max-width: 620px) {
  .tbl th, .tbl td { padding: 10px 11px; }
  .lst li { grid-template-columns: 18px minmax(0, 1fr) auto; }
  .lst li > span:nth-child(3), .lst li > span:nth-child(4), .lst li > span:nth-child(5) { display: none; }
  .pack-dims { grid-template-columns: 1fr; gap: 7px; }
  .pack-dims span { flex-direction: row; justify-content: space-between; align-items: baseline; }
  .pack-layers li { grid-template-columns: 1fr; gap: 3px; }
  h3 { font-size: 1.02rem; }
  .sec { padding: 54px 0; }
  .steps, .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .f-row { grid-template-columns: 1fr; }
  .hero-cta .btn { flex: 1 1 100%; }
  .qc-item { grid-template-columns: 32px 1fr auto; row-gap: 4px; }
  .qc-logo { width: 32px; height: 32px; border-radius: 9px; }
  .qc-tag { grid-column: 2; justify-self: start; }
  .qc-foot { justify-content: center; text-align: center; }
  .ord li { grid-template-columns: 40px 1fr auto; }
  .ord-id { display: none; }
  .foot-in { grid-template-columns: 1fr; }
  .rings i:nth-child(2) { display: none; }
}

/* ── preferencias del sistema ───────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}

@media print {
  .nav, .burger, .cta-form, .marquee { display: none; }
  body { background: #fff; }
}
