/* ==========================================================================
   Flota N2 — sitio de marketing
   Paleta: tinta + papel + lima. Display serif, cuerpo sans, etiquetas mono.
   ========================================================================== */

:root {
  --ink: #0c0c0b;
  --ink-2: #171716;
  --ink-3: #232321;
  --paper: #f1f0ea;
  --paper-2: #e7e6de;
  --white: #ffffff;
  --lime: #d9f24b;
  --lime-2: #c8e33a;
  --muted: #6b6b65;
  --muted-d: #9a9a92;
  --line: rgba(12, 12, 11, 0.12);
  --line-d: rgba(255, 255, 255, 0.10);

  --f-display: "Instrument Serif", "Times New Roman", serif;
  --f-sans: "Inter Tight", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 22px;
  --radius-sm: 12px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--lime); padding: 8px 14px; z-index: 100; border-radius: 8px; }
.skip:focus { left: 8px; }

/* ---------- tipografía ---------- */
.display {
  font-family: var(--f-display);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 0.95;
}
.h-xl { font-size: clamp(48px, 8.4vw, 116px); }
.h-lg { font-size: clamp(40px, 5.6vw, 76px); }
.h-md { font-size: clamp(32px, 3.8vw, 52px); }
.h-sm { font-size: clamp(26px, 2.6vw, 34px); line-height: 1.05; }
.h-xl em, .h-lg em, .h-md em { font-style: italic; }
.eyebrow {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before { content: ""; width: 8px; height: 8px; background: var(--lime); border-radius: 2px; flex: none; }
.on-lime .eyebrow::before, .eyebrow.ink::before { background: var(--ink); }
.lede { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.5; max-width: 40ch; }
.muted { color: var(--muted); }
.mono { font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.04em; }
.hl { background: var(--lime); color: var(--ink); padding: 0 .12em; border-radius: 4px; }
.lime-text { color: var(--lime); }

/* ---------- botones ---------- */
.btn {
  --h: 52px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  height: var(--h);
  padding: 0 8px 0 24px;
  border-radius: 999px;
  font: 600 16px/1 var(--f-sans);
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform .15s ease, background .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn .dot {
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--ink); color: var(--lime);
}
.btn .dot svg { width: 16px; height: 16px; }
.btn-lime { background: var(--lime); color: var(--ink); }
.btn-ink { background: var(--ink); color: var(--white); }
.btn-ink .dot { background: var(--lime); color: var(--ink); }
.btn-ghost { background: transparent; border-color: currentColor; padding: 0 24px; }
.btn-white { background: var(--white); color: var(--ink); }
.btn-sm { --h: 42px; font-size: 14px; padding: 0 6px 0 18px; }
.btn-sm .dot { width: 30px; height: 30px; }
.btn-ghost.btn-sm { padding: 0 18px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 20px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 700 22px/1 var(--f-sans); letter-spacing: -0.04em; }
.logo-mark { width: 30px; height: 30px; flex: none; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { text-decoration: none; font-size: 14px; color: var(--ink); opacity: .78; }
.nav a:hover { opacity: 1; }
.nav a.btn { color: var(--white); opacity: 1; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); width: 44px; height: 44px; border-radius: 50%; cursor: pointer; }
.nav-toggle span { display: block; width: 16px; height: 1.5px; background: var(--ink); margin: 4px auto; }
@media (max-width: 920px) {
  .nav { display: none; position: absolute; left: 0; right: 0; top: 68px; flex-direction: column; align-items: stretch; gap: 0; background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 20px; }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 16px; opacity: 1; }
  .nav .btn { margin-top: 16px; align-self: flex-start; }
  .nav-toggle { display: block; }
}

/* ---------- hero ---------- */
.hero { --hero-x: max(var(--gutter), calc((100% - var(--wrap)) / 2 + var(--gutter))); border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: 1fr; min-height: calc(100vh - 68px); max-height: 940px; }
.hero-rail {
  background: var(--lime);
  padding: 32px 24px;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 22px;
  position: relative;
}
.hero-rail .chev { position: absolute; top: 28px; left: 24px; display: flex; gap: 4px; }
.stat-num { font: 400 44px/1 var(--f-display); letter-spacing: -0.02em; }
.stat-lbl { font: 500 11px/1.35 var(--f-mono); text-transform: uppercase; letter-spacing: .06em; margin-top: 6px; }
.hero-main { position: relative; padding: clamp(32px, 5vw, 64px) var(--hero-x) 40px; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 32px; align-items: center; overflow: hidden;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px; background-position: -1px -1px;
}
.hero-main::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 20% 40%, var(--paper) 30%, transparent 75%); pointer-events: none; }
.hero-copy { position: relative; z-index: 1; }
.hero h1 .kicker { display: block; font: 500 13px/1.4 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; margin-bottom: 22px; max-width: 36ch; }
.hero h1 .kicker::before { content: ""; display: inline-block; width: 8px; height: 8px; background: var(--lime); border-radius: 2px; margin-right: 10px; vertical-align: 1px; outline: 1px solid var(--ink); }
.hero .lede { margin: 28px 0 32px; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-art { position: relative; z-index: 1; }
.hero-art .truck { width: 100%; height: auto; }
.float-card {
  position: absolute; background: var(--white); border: 1px solid var(--line); border-radius: 16px;
  padding: 12px 14px; box-shadow: 0 18px 40px -18px rgba(0,0,0,.25); font-size: 13px; line-height: 1.35;
  display: flex; gap: 10px; align-items: flex-start; max-width: 250px;
}
.float-card .ico { width: 34px; height: 34px; border-radius: 10px; background: var(--ink); color: var(--lime); display: grid; place-items: center; flex: none; }
.float-card .ico svg { width: 18px; height: 18px; }
.float-card b { display: block; font-weight: 600; }
.float-card .mono { color: var(--muted); font-size: 11px; }
.fc-1 { top: -6%; left: 0; }
.fc-2 { bottom: -8%; right: 0; }
.hero-art { padding-bottom: 40px; }
.fc-2 .ico { background: var(--lime); color: var(--ink); }
.hero-foot { --x: 0; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px var(--hero-x); border-top: 1px solid var(--line); font: 500 12px/1.3 var(--f-mono); letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; max-height: none; min-height: 0; }
  .hero-rail { order: 2; flex-direction: row; flex-wrap: wrap; justify-content: space-between; padding: 24px var(--gutter); gap: 20px; }
  .hero-rail .chev { display: none; }
  .hero-rail > div { flex: 1 1 140px; }
  .hero-main { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .float-card { position: static; max-width: none; margin-top: 10px; }
  .hero-foot span:last-child { display: none; }
}

/* ---------- secciones ---------- */
.section { padding: clamp(72px, 10vw, 140px) 0; position: relative; }
.section-dark { background: var(--ink); color: var(--white); }
.section-dark .muted { color: var(--muted-d); }
.section-grey { background: #bdbcb5; }
.section-lime { background: var(--lime); }
.grid-bg-d {
  background-image: linear-gradient(var(--line-d) 1px, transparent 1px), linear-gradient(90deg, var(--line-d) 1px, transparent 1px);
  background-size: 80px 80px;
}
.sec-head { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 40px; align-items: end; margin-bottom: clamp(40px, 6vw, 72px); }
.sec-head p { margin: 0; max-width: 42ch; }
@media (max-width: 820px) { .sec-head { grid-template-columns: 1fr; gap: 20px; } }

/* intro oscura */
.intro-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.problems { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-d); }
.problems li { padding: 22px 0; border-bottom: 1px solid var(--line-d); display: grid; grid-template-columns: 44px 1fr; gap: 8px; }
.problems .n { font: 500 12px/1.9 var(--f-mono); color: var(--lime); }
.problems h3 { font: 600 18px/1.3 var(--f-sans); margin-bottom: 6px; }
.problems p { margin: 0; color: var(--muted-d); font-size: 15px; }
@media (max-width: 820px) { .intro-grid { grid-template-columns: 1fr; } }

/* ---------- bento ---------- */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 14px; }
.tile { border-radius: var(--radius); padding: 28px; position: relative; overflow: hidden; min-height: 240px; display: flex; flex-direction: column; }
.tile-lime { background: var(--lime); }
.tile-ink { background: var(--ink); color: var(--white); }
.tile-white { background: var(--white); border: 1px solid var(--line); }
.tile-paper { background: var(--paper-2); }
.t-a { grid-column: span 4; }
.t-b { grid-column: span 5; }
.t-c { grid-column: span 3; }
.t-d { grid-column: span 5; }
.t-e { grid-column: span 7; }
.big-num { font: 400 clamp(64px, 7.4vw, 108px)/0.9 var(--f-display); margin: 8px 0 18px; letter-spacing: -0.03em; }
.tile .foot { margin-top: auto; display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; }
.tile .corner { position: absolute; top: 0; right: 0; width: 64px; height: 64px; background: var(--paper); border-bottom-left-radius: 22px; display: grid; place-items: center; }
.tile .corner span { width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--ink); display: grid; place-items: center; }
.tile .corner svg { width: 16px; height: 16px; }
.chevrons { display: flex; gap: 6px; color: var(--lime); }
.chevrons svg { width: 34px; height: 34px; }
.tile-quote { font: 500 clamp(22px, 2.2vw, 28px)/1.2 var(--f-sans); letter-spacing: -0.02em; color: var(--lime); max-width: 18ch; }
.pill-stack { display: flex; flex-direction: column; gap: 10px; }
.pill-stack .btn { justify-content: space-between; width: 100%; }
.toggle-pill { display: flex; align-items: center; justify-content: space-between; height: 52px; border-radius: 999px; background: var(--ink); color: var(--white); padding: 0 24px 0 7px; font-weight: 600; text-decoration: none; }
.toggle-pill i { width: 38px; height: 38px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff, #8d8d88 70%); }
@media (max-width: 980px) {
  .t-a, .t-b, .t-c, .t-d, .t-e { grid-column: span 6; }
  .t-e { grid-column: span 12; }
}
@media (max-width: 640px) {
  .t-a, .t-b, .t-c, .t-d, .t-e { grid-column: span 12; }
  .tile { min-height: 0; }
}

/* mock de consola */
.console { background: var(--white); border-radius: 16px; border: 1px solid var(--line); overflow: hidden; color: var(--ink); font-size: 13px; }
.console-bar { display: flex; align-items: center; justify-content: space-between; padding: 10px 14px; border-bottom: 1px solid var(--line); gap: 12px; }
.console-bar .t { font-weight: 600; }
.wa-status { display: inline-flex; align-items: center; gap: 6px; font: 500 11px/1 var(--f-mono); padding: 6px 9px; border-radius: 999px; background: #eaf7d0; color: #2c5b06; }
.wa-status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #3fa20b; }
.c-table { width: 100%; border-collapse: collapse; }
.c-table th, .c-table td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.c-table th { font: 500 10.5px/1 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.c-table tr:last-child td { border-bottom: 0; }
.plate { font: 600 12px/1 var(--f-mono); border: 1.5px solid var(--ink); border-radius: 5px; padding: 4px 6px; display: inline-block; }
.tag { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; padding: 4px 9px; border-radius: 999px; background: var(--paper); }
.tag.on { background: var(--lime); }
.tag.off { background: #f3dcd6; color: #7a2814; }
.avatar { width: 24px; height: 24px; border-radius: 50%; background: var(--ink); color: var(--lime); display: inline-grid; place-items: center; font: 600 10px/1 var(--f-sans); margin-right: 8px; vertical-align: middle; }
.console-scroll { overflow-x: auto; }
@media (max-width: 640px) { .hide-sm { display: none; } }

/* ---------- flujo ticket ---------- */
.flow { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--white); }
.flow-step { padding: 28px 24px 32px; border-right: 1px solid var(--line); position: relative; display: flex; flex-direction: column; gap: 14px; }
.flow-step:last-child { border-right: 0; }
.flow-step .num { font: 500 12px/1 var(--f-mono); color: var(--muted); }
.flow-step h3 { font: 600 18px/1.25 var(--f-sans); letter-spacing: -0.01em; }
.flow-step p { margin: 0; font-size: 15px; color: var(--muted); }

.flow-step .glyph { width: 44px; height: 44px; border-radius: 12px; border: 1.5px solid var(--ink); display: grid; place-items: center; }
.flow-step .glyph svg { width: 20px; height: 20px; }
.flow-step:not(:last-child)::after { content: ""; position: absolute; right: -9px; top: 46px; width: 16px; height: 16px; background: inherit; border-top: 1px solid var(--line); border-right: 1px solid var(--line); transform: rotate(45deg); z-index: 2; }
@media (max-width: 980px) {
  .flow { grid-template-columns: 1fr; }
  .flow-step { border-right: 0; border-bottom: 1px solid var(--line); flex-direction: row; flex-wrap: wrap; align-items: flex-start; }
  .flow-step > div { flex: 1 1 200px; }
  .flow-step:last-child { border-bottom: 0; }
  .flow-step:not(:last-child)::after { display: none; }
}

.routes { margin-top: 18px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.route { border: 1px solid var(--line); border-radius: 16px; padding: 20px; background: var(--paper); }
.route .mono { color: var(--muted); display: block; margin-bottom: 8px; }
.route b { font-weight: 600; }
@media (max-width: 820px) { .routes { grid-template-columns: 1fr; } }

/* ---------- features ---------- */
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line-d); border-left: 1px solid var(--line-d); }
.feat { padding: 32px 28px 36px; border-right: 1px solid var(--line-d); border-bottom: 1px solid var(--line-d); display: flex; flex-direction: column; gap: 14px; min-height: 320px; }
.feat .ico { width: 40px; height: 40px; color: var(--lime); }
.feat h3 { font: 400 30px/1.05 var(--f-display); letter-spacing: -0.01em; }
.feat ul { margin: auto 0 0; padding: 0; list-style: none; font-size: 14.5px; color: var(--muted-d); }
.feat li { padding: 9px 0; border-top: 1px solid var(--line-d); display: flex; gap: 10px; }
.feat li::before { content: "›"; color: var(--lime); font-weight: 700; }
.feat-wide { grid-column: span 2; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 28px; align-items: center; }
.feat-wide > div:first-child { display: flex; flex-direction: column; gap: 14px; height: 100%; }
@media (max-width: 980px) {
  .features { grid-template-columns: 1fr 1fr; }
  .feat-wide { grid-column: span 2; }
}
@media (max-width: 680px) {
  .features { grid-template-columns: 1fr; }
  .feat-wide { grid-column: span 1; grid-template-columns: 1fr; }
  .feat { min-height: 0; }
}

/* burbuja de WhatsApp */
.chat { background: #e9e4da; border-radius: 16px; padding: 18px; display: flex; flex-direction: column; gap: 10px; color: var(--ink); }
.bubble { background: var(--white); border-radius: 12px 12px 12px 4px; padding: 10px 12px 18px; font-size: 14px; line-height: 1.45; position: relative; max-width: 92%; box-shadow: 0 1px 0 rgba(0,0,0,.06); }
.bubble.out { background: #dcf8c6; align-self: flex-end; border-radius: 12px 12px 4px 12px; }
.bubble time { position: absolute; right: 10px; bottom: 4px; font-size: 10.5px; color: var(--muted); }
.bubble .ph { background: var(--lime); border-radius: 4px; padding: 0 3px; font-family: var(--f-mono); font-size: 12.5px; }
.bubble.doc { display: flex; gap: 10px; align-items: center; }
.bubble.doc .pdf { width: 34px; height: 40px; border-radius: 4px; background: #e2513c; color: #fff; font: 700 9px/40px var(--f-sans); text-align: center; flex: none; }

/* ---------- envío responsable ---------- */
.rules { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.rule { background: var(--white); border-radius: 18px; padding: 24px; border: 1px solid var(--line); }
.rule .mono { color: var(--muted); }
.rule h3 { font: 600 19px/1.25 var(--f-sans); margin: 14px 0 8px; letter-spacing: -0.01em; }
.rule p { margin: 0; font-size: 15px; color: var(--muted); }
.notice { margin-top: 18px; border-radius: 18px; padding: 22px 24px; background: var(--ink); color: var(--white); display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start; font-size: 15px; }
.notice svg { width: 22px; height: 22px; color: var(--lime); margin-top: 2px; }
.notice p { margin: 0; color: #d7d7d0; }
.notice b { color: var(--white); }
@media (max-width: 900px) { .rules { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .rules { grid-template-columns: 1fr; } }

/* ---------- para quién ---------- */
.people { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.person { padding: 28px 24px 8px 0; border-right: 1px solid var(--line); padding-left: 24px; }
.person:first-child { padding-left: 0; }
.person:last-child { border-right: 0; }
.person .mono { display: inline-block; padding: 5px 9px; border-radius: 999px; border: 1px solid var(--ink); margin-bottom: 18px; }
.person h3 { font: 400 28px/1.05 var(--f-display); margin-bottom: 10px; }
.person p { font-size: 15px; color: var(--muted); }
@media (max-width: 900px) {
  .people { grid-template-columns: 1fr 1fr; }
  .person { padding: 24px 16px 8px 0 !important; border-right: 0; border-bottom: 1px solid var(--line); }
}
@media (max-width: 560px) { .people { grid-template-columns: 1fr; } }

/* ---------- callout guía ---------- */
.callout { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 40px; background: var(--lime); border-radius: 28px; padding: clamp(28px, 5vw, 64px); align-items: end; position: relative; overflow: hidden; }
.callout p { margin: 0 0 24px; max-width: 46ch; }
.callout .paper-doc { background: var(--white); border-radius: 14px; padding: 20px; font-size: 13px; transform: rotate(2deg); box-shadow: 0 24px 50px -24px rgba(0,0,0,.35); }
.paper-doc .row { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px dashed var(--line); }
.paper-doc .row span:first-child { font: 500 11px/1.5 var(--f-mono); color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.paper-doc .row span:last-child { font-weight: 600; text-align: right; }
.paper-doc .head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
@media (max-width: 860px) { .callout { grid-template-columns: 1fr; } .callout .paper-doc { transform: none; } }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.faq-side { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 28px; }
.ask-box { background: var(--lime); border-radius: 18px; padding: 24px; max-width: 360px; }
.ask-box h3 { font: 700 16px/1.3 var(--f-sans); text-transform: uppercase; letter-spacing: .01em; margin: 12px 0 18px; }
.ask-box .row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.ask-box a.mail { font-size: 14px; }
.faq details { border-top: 1px solid rgba(12,12,11,.22); padding: 6px 0; }
.faq details:last-child { border-bottom: 1px solid rgba(12,12,11,.22); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 40px 18px 34px; position: relative; font: 700 15px/1.35 var(--f-sans); text-transform: uppercase; letter-spacing: .01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: ""; position: absolute; left: 0; top: 18px; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--ink); }
.faq details[open] summary::before { background: var(--lime); border-color: var(--ink); box-shadow: inset 0 0 0 4px var(--lime), inset 0 0 0 9px var(--ink); }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 14px; font: 300 24px/1 var(--f-sans); }
.faq details[open] summary::after { content: "–"; }
.faq .ans { padding: 0 40px 20px 34px; font-size: 16px; }
.faq .ans p:last-child { margin: 0; }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; } .faq-side { position: static; } }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: var(--white); padding: 72px 0 0; overflow: hidden; }
.foot-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; padding-bottom: 56px; border-bottom: 1px solid var(--line-d); }
.foot-top h4 { font: 500 12px/1 var(--f-mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted-d); margin-bottom: 18px; }
.foot-top ul { list-style: none; margin: 0; padding: 0; }
.foot-top li { margin-bottom: 10px; }
.foot-top a { text-decoration: none; color: #d8d8d1; font-size: 15px; }
.foot-top a:hover { color: var(--lime); }
.foot-top a.btn { color: var(--ink); }
.foot-cta h3 { font: 700 18px/1.25 var(--f-sans); text-transform: uppercase; margin-bottom: 20px; }
.wordmark { font: 700 clamp(72px, 17vw, 250px)/0.8 var(--f-sans); letter-spacing: -0.06em; color: var(--ink-3); margin: 32px 0 0 -0.04em; white-space: nowrap; user-select: none; }
.foot-legal { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 20px 0 28px; font: 500 12px/1.4 var(--f-mono); color: var(--muted-d); }
@media (max-width: 860px) { .foot-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-top { grid-template-columns: 1fr; } }

/* ==========================================================================
   Artículos (guía de carga, balanza)
   ========================================================================== */
.crumbs { font: 500 12px/1.4 var(--f-mono); letter-spacing: .04em; text-transform: uppercase; color: var(--muted); display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.art-hero { padding: clamp(40px, 7vw, 96px) 0 clamp(40px, 5vw, 64px); border-bottom: 1px solid var(--line);
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px; }
.art-hero h1 { margin: 22px 0 24px; max-width: 16ch; }
.art-hero .lede { max-width: 58ch; }
.art-meta { display: flex; gap: 10px 22px; flex-wrap: wrap; margin-top: 28px; font: 500 12px/1.4 var(--f-mono); text-transform: uppercase; letter-spacing: .04em; }
.art-meta span { display: inline-flex; gap: 8px; align-items: center; }
.art-meta span::before { content: ""; width: 6px; height: 6px; background: var(--ink); border-radius: 50%; }
.art-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); padding-top: clamp(48px, 6vw, 80px); padding-bottom: clamp(64px, 8vw, 120px); }
.toc { position: sticky; top: 100px; align-self: start; }
.toc h2 { font: 500 12px/1 var(--f-mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 14px; }
.toc ol { list-style: none; margin: 0; padding: 0; counter-reset: t; border-left: 1px solid var(--line); }
.toc li { counter-increment: t; }
.toc a { display: block; padding: 8px 0 8px 16px; text-decoration: none; font-size: 14px; color: var(--muted); margin-left: -1px; border-left: 2px solid transparent; }
.toc a::before { content: counter(t, decimal-leading-zero) "  "; font: 500 11px/1 var(--f-mono); }
.toc a:hover, .toc a.on { color: var(--ink); border-left-color: var(--ink); }
.prose { max-width: 720px; font-size: 18px; line-height: 1.65; }
.prose h2 { font: 400 clamp(32px, 3.4vw, 44px)/1.02 var(--f-display); letter-spacing: -0.015em; margin: 64px 0 20px; scroll-margin-top: 96px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font: 600 20px/1.3 var(--f-sans); margin: 32px 0 10px; letter-spacing: -0.01em; }
.prose ul, .prose ol { padding-left: 1.2em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .45em; }
.prose a { text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose a:hover { background: var(--lime); }
.prose table { width: 100%; border-collapse: collapse; font-size: 15.5px; margin: 8px 0 24px; }
.prose th, .prose td { text-align: left; padding: 12px 12px 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font: 500 11px/1.3 var(--f-mono); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.table-scroll { overflow-x: auto; }
.box { border-radius: 18px; padding: 22px 24px; margin: 28px 0; font-size: 16px; }
.box p:last-child { margin: 0; }
.box-lime { background: var(--lime); }
.box-ink { background: var(--ink); color: var(--white); }
.box-ink a { color: var(--lime); }
.box-line { border: 1px solid var(--line); background: var(--white); }
.box .label { font: 500 11px/1 var(--f-mono); text-transform: uppercase; letter-spacing: .08em; display: block; margin-bottom: 10px; }
.steps { list-style: none; padding: 0 !important; counter-reset: s; }
.steps li { counter-increment: s; padding: 14px 0 14px 52px; position: relative; border-top: 1px solid var(--line); margin: 0 !important; }
.steps li::before { content: counter(s, decimal-leading-zero); position: absolute; left: 0; top: 14px; font: 500 12px/1 var(--f-mono); width: 34px; height: 26px; border-radius: 999px; background: var(--ink); color: var(--lime); display: grid; place-items: center; }
.sources { font-size: 14.5px; }
.sources li { margin-bottom: .6em; }
.prose .faq summary { font-size: 14px; }
.prose .faq .ans { font-size: 16.5px; }
.art-cta { margin-top: 64px; }
@media (max-width: 920px) {
  .art-layout { grid-template-columns: 1fr; }
  .toc { position: static; }
}



/* ---------- animación del camión ---------- */
.truck .wheel { transform-box: fill-box; transform-origin: center; }
.truck .truck-body, .truck .truck-body2 { transform-box: view-box; }
@media (prefers-reduced-motion: no-preference) {
  .truck .wheel { animation: spin 1.1s linear infinite; }
  .truck .truck-body, .truck .truck-body2 { animation: bob .55s ease-in-out infinite alternate; }
  .truck .pile { transform-box: fill-box; transform-origin: center bottom; animation: jiggle .55s ease-in-out infinite alternate; }
  .truck .road { animation: road .5s linear infinite; }
  .truck .speed path { stroke-dasharray: 30; animation: speed 1.1s ease-in infinite; }
  .truck .speed path:nth-child(2) { animation-delay: .35s; }
  .truck .speed path:nth-child(3) { animation-delay: .7s; }
  .hero-art .truck { animation: arrive 1.4s cubic-bezier(.2,.8,.2,1) both; }
  .float-card { animation: pop .6s cubic-bezier(.2,.9,.3,1.3) both; }
  .fc-1 { animation-delay: 1.2s; }
  .fc-2 { animation-delay: 1.8s; }
}
@keyframes spin { to { transform: rotate(-360deg); } }
@keyframes bob { from { transform: translateY(0); } to { transform: translateY(-2.5px); } }
@keyframes jiggle { from { transform: scaleY(1); } to { transform: scaleY(1.04); } }
@keyframes road { to { stroke-dashoffset: 12; } }
@keyframes speed { 0% { stroke-dashoffset: 30; opacity: 0; } 30% { opacity: 1; } 100% { stroke-dashoffset: -30; opacity: 0; } }
@keyframes arrive { from { transform: translateX(-60%); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes pop { from { transform: translateY(14px) scale(.94); opacity: 0; } to { transform: none; opacity: 1; } }

/* ==========================================================================
   Animaciones de entrada y microinteracciones
   ========================================================================== */
@media (prefers-reduced-motion: no-preference) {
  /* entrada */
  .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .8s cubic-bezier(.2,.8,.2,1); transition-delay: var(--d, 0ms); }
  .reveal.in { opacity: 1; transform: none; }
  .split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
  .split .wi { display: inline-block; transform: translateY(110%); transition: transform .9s cubic-bezier(.2,.8,.2,1); transition-delay: calc(var(--wi) * 45ms + var(--d, 0ms)); }
  .split.in .wi { transform: none; }
  .kicker.reveal { transition-delay: 0ms; }

  /* tarjetas flotantes del hero: después de aparecer, flotan */
  .fc-1 { animation: pop .6s cubic-bezier(.2,.9,.3,1.3) 1.2s both, floaty 4s ease-in-out 2s infinite alternate; }
  .fc-2 { animation: pop .6s cubic-bezier(.2,.9,.3,1.3) 1.8s both, floaty 4.6s ease-in-out 2.6s infinite alternate-reverse; }

  /* estado de WhatsApp: pulso */
  .wa-status::before { animation: pulse 1.8s ease-out infinite; }
  /* flechas del bento */
  .chevrons svg { animation: nudge 1.4s ease-in-out infinite; }
  .chevrons svg:nth-child(2) { animation-delay: .15s; }
}
@keyframes floaty { from { transform: translateY(0); } to { transform: translateY(-8px); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(63,162,11,.55); } 100% { box-shadow: 0 0 0 7px rgba(63,162,11,0); } }
@keyframes nudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(5px); } }

/* botones */
.btn { transition: transform .2s ease, background .2s ease, box-shadow .2s ease; }
.btn:hover { box-shadow: 0 10px 24px -12px rgba(0,0,0,.35); }
.btn:active { transform: scale(.97); }
.btn .dot { transition: transform .25s cubic-bezier(.3,1.4,.5,1); }
.btn .dot svg { transition: transform .25s ease; }
.btn:hover .dot { transform: rotate(45deg); }
.toggle-pill i { transition: transform .45s cubic-bezier(.3,1.2,.5,1); }
.toggle-pill:hover i { transform: translateX(8px) rotate(90deg); }

/* links del menú: subrayado que crece */
.nav a:not(.btn) { position: relative; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1.5px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.nav a:not(.btn):hover::after { transform: scaleX(1); }
.foot-top ul a { display: inline-block; transition: transform .2s ease, color .2s ease; }
.foot-top ul a:hover { transform: translateX(4px); }

/* bento */
.tile { transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s ease; }
.tile:hover { transform: translateY(-4px); box-shadow: 0 22px 44px -26px rgba(0,0,0,.45); }
.tile .corner span { transition: transform .35s ease, background .2s; }
.tile:hover .corner span { transform: rotate(45deg); background: var(--lime); }
.c-table tbody tr { transition: background .15s; }
.c-table tbody tr:hover { background: var(--paper); }
.bubble { transition: transform .25s ease; }
.tile:hover .bubble { transform: translateY(-2px); }

/* pasos: se resaltan al pasar el mouse */
.flow-step { transition: background .3s ease; cursor: default; }
.flow-step .glyph { transition: background .3s, color .3s, transform .3s cubic-bezier(.3,1.4,.5,1); }
.flow-step:hover, .flow-step:focus-within { background: var(--lime); }
.flow-step:hover .num, .flow-step:hover p { color: var(--ink); }
.flow-step:hover .glyph { background: var(--ink); color: var(--lime); transform: rotate(-6deg) scale(1.06); }
.route { transition: background .25s, transform .25s; }
.route:hover { background: var(--white); transform: translateY(-3px); }

/* funciones: se resaltan al pasar el mouse */
.feat { transition: background .35s ease, color .35s ease; }
.feat .ico { transition: color .35s, transform .35s cubic-bezier(.3,1.4,.5,1); }
.feat ul, .feat li, .feat li::before { transition: color .35s, border-color .35s; }
.feat:hover { background: var(--lime); color: var(--ink); }
.feat:hover .ico { color: var(--ink); transform: translateY(-3px) rotate(-4deg); }
.feat:hover ul { color: var(--ink); }
.feat:hover li { border-color: rgba(0,0,0,.14); }
.feat:hover li::before { color: var(--ink); }

/* problemas */
.problems li { transition: padding-left .3s ease; }
.problems li:hover { padding-left: 10px; }
.problems li:hover h3 { color: var(--lime); }

/* reglas y personas */
.rule { transition: transform .3s cubic-bezier(.2,.8,.2,1), border-color .3s, box-shadow .3s; }
.rule:hover { transform: translateY(-4px); border-color: var(--ink); box-shadow: 0 18px 36px -24px rgba(0,0,0,.4); }
.rule .mono { transition: color .3s; }
.rule:hover .mono { color: var(--ink); }
.person .mono { transition: background .25s, color .25s; }
.person:hover .mono { background: var(--ink); color: var(--lime); }

/* callout de la guía */
.callout .paper-doc { transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.callout:hover .paper-doc { transform: rotate(0deg) translateY(-6px); }

/* preguntas */
.faq summary::after { transition: transform .25s ease; }
.faq details[open] summary::after { transform: rotate(180deg); }
.faq summary { transition: padding-left .2s ease; }
.faq summary:hover { padding-left: 40px; }
@media (prefers-reduced-motion: no-preference) {
  .faq details[open] .ans { animation: fadein .35s ease; }
}
@keyframes fadein { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* índice del artículo */
.toc a { transition: color .2s, border-color .2s, padding-left .2s; }
.toc a:hover { padding-left: 20px; }
