:root {
  --bg: #F1F4F5;
  --card: #FFFFFF;
  --ink: #16191C;
  --muted: #5B6670;
  --line: #E2E7EA;
  --green: #1F8A5B;
  --green-ink: #17704A;
  --green-soft: #E6F3EC;
  --orange: #F26B1D;
  --orange-hover: #DB5C12;
  --coffee: #6B4226;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(22, 25, 28, .04), 0 8px 24px rgba(22, 25, 28, .06);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 1rem/1.6 var(--font);
  overflow-x: hidden;
}

h1, h2, h3 { line-height: 1.2; margin: 0; letter-spacing: -.01em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: var(--green-ink); }
svg { display: block; }

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

.skip {
  position: absolute; left: 16px; top: -60px;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 999px;
  z-index: 10; text-decoration: none;
}
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .wrap { padding: 0 32px; } }

/* Barra superior */
.topbar {
  position: sticky; top: 0; z-index: 5;
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: saturate(1.4) blur(8px);
  backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--line);
}
.topbar::before { content: ""; display: block; height: 3px; background: var(--green); }
.topbar-in { display: flex; align-items: center; gap: 16px; min-height: 60px; }

.brand { font-weight: 800; font-size: 1.375rem; text-decoration: none; letter-spacing: -.02em; }
.brand-dark { color: var(--ink); }
.brand-green { color: var(--green); }

.nav { display: none; gap: 4px; }
.nav a {
  display: block; padding: 8px 12px; border-radius: 999px;
  color: var(--muted); text-decoration: none; font-size: .9375rem; font-weight: 500;
}
.nav a:hover { color: var(--ink); background: var(--bg); }
nav { margin-left: auto; }
.topbar .btn { margin-left: auto; }
@media (min-width: 900px) {
  .nav { display: flex; }
  .topbar .btn { margin-left: 8px; }
}

/* Botones */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 10px 20px; border-radius: 999px;
  font-weight: 700; font-size: 1rem; text-decoration: none; white-space: nowrap;
  border: 2px solid transparent; transition: background-color .15s, color .15s, border-color .15s;
}
/* Naranjo con texto blanco: tamaño "texto grande" (≥ 18,66 px en negrita) para cumplir contraste AA. */
.btn-orange { background: var(--orange); color: #fff; font-size: 1.1875rem; padding: 12px 28px; min-height: 52px; }
.btn-orange:hover { background: var(--orange-hover); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #2B3035; }
.btn-ghost { background: transparent; color: var(--ink); border-color: #C9D1D6; font-size: 1.0625rem; min-height: 52px; padding: 12px 24px; }
.btn-ghost:hover { border-color: var(--ink); }

/* Hero */
.hero { padding: 40px 0 24px; }
.hero-in { display: grid; gap: 32px; align-items: center; }
.eyebrow {
  color: var(--green-ink); font-weight: 700; font-size: .8125rem;
  text-transform: uppercase; letter-spacing: .08em; margin-bottom: 12px;
}
.hero h1 { font-size: clamp(2.125rem, 6vw, 3.5rem); font-weight: 800; letter-spacing: -.025em; }
.lead { color: var(--muted); font-size: clamp(1.125rem, 2.2vw, 1.375rem); margin-top: 16px; max-width: 34ch; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-art svg { width: 100%; height: auto; max-width: 520px; margin: 0 auto; }
.hero-art {
  background: var(--card); border-radius: 16px; box-shadow: var(--shadow); padding: 12px;
  border-top: 4px solid var(--green);
}
@media (min-width: 900px) {
  .hero { padding: 72px 0 40px; }
  .hero-in { grid-template-columns: 1.05fr 1fr; gap: 56px; }
}

/* Secciones */
.section { padding: 40px 0; }
@media (min-width: 900px) { .section { padding: 56px 0; } }
.section-head { max-width: 720px; margin-bottom: 24px; }
.section h2 { font-size: clamp(1.625rem, 3.6vw, 2.25rem); font-weight: 800; }
.sub { color: var(--muted); font-size: 1.0625rem; margin-top: 12px; }

.card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.card h3 { font-size: 1.125rem; font-weight: 700; }
.card p { color: var(--muted); margin-top: 6px; }

.grid { display: grid; gap: 16px; }
@media (min-width: 720px) { .g3 { grid-template-columns: repeat(3, 1fr); gap: 20px; } }

.feat { padding: 24px; border-top: 3px solid var(--green); }
.ico {
  width: 40px; height: 40px; padding: 8px; margin-bottom: 14px;
  border-radius: 10px; background: var(--green-soft);
  fill: none; stroke: var(--green-ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}

/* Flujo de lote */
.flow { display: grid; gap: 12px; counter-reset: none; }
.step { position: relative; padding: 20px 20px 20px 68px; }
.step-n {
  position: absolute; left: 20px; top: 20px;
  width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--green); color: #fff; font-weight: 800; font-size: .9375rem;
}
@media (min-width: 960px) {
  .flow { grid-template-columns: repeat(5, 1fr); gap: 16px; }
  .step { padding: 64px 18px 20px; }
  .step-n { top: 20px; left: 18px; }
  .step:not(:last-child)::after {
    content: ""; position: absolute; top: 35px; left: 58px; right: -16px;
    height: 2px; background: repeating-linear-gradient(90deg, var(--green) 0 6px, transparent 6px 11px);
  }
}
.note {
  display: flex; gap: 16px; align-items: flex-start;
  margin-top: 16px; padding: 20px 24px; border-left: 4px solid var(--green);
}
.note .ico { flex: none; margin: 0; }
.note p { margin: 0; }
.note strong { color: var(--ink); }

/* Ventas */
.chips-row { display: grid; gap: 12px; }
.chip-card { padding: 18px 20px; border-left: 4px solid var(--green); }
@media (min-width: 600px) { .chips-row { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .chips-row { grid-template-columns: repeat(5, 1fr); gap: 16px; } }

/* Integraciones */
.badge {
  display: inline-block; margin-bottom: 14px; padding: 4px 12px; border-radius: 999px;
  background: var(--green-soft); color: var(--green-ink);
  font-weight: 700; font-size: .875rem; border: 1px solid #CDE6D8;
}

/* Recompra */
.split { display: grid; gap: 24px; padding: 28px 24px; border-top: 4px solid var(--green); align-items: center; }
@media (min-width: 860px) { .split { grid-template-columns: 1.3fr 1fr; padding: 40px; gap: 40px; } }
.task { display: grid; gap: 10px; background: var(--bg); border-radius: 12px; padding: 16px; }
.task-row {
  display: flex; align-items: center; gap: 12px;
  background: var(--card); border-radius: 10px; padding: 12px 14px; border: 1px solid var(--line);
}
.task-row.on { border-color: #F6B48C; }
.dot { width: 12px; height: 12px; border-radius: 50%; background: #C9D1D6; flex: none; }
.on .dot { background: var(--orange); }
.bar { height: 8px; border-radius: 4px; background: var(--line); }
.w50 { width: 50%; } .w60 { width: 45%; } .w70 { width: 70%; }
.tag {
  margin-left: auto; font-size: .8125rem; font-weight: 700; color: #9A3E08;
  background: #FDEBDD; padding: 3px 10px; border-radius: 999px;
}

/* Piloto */
.pilot {
  text-align: center; padding: 40px 24px; border-top: 4px solid var(--green);
  display: grid; justify-items: center; gap: 4px;
}
.pilot .sub { max-width: 52ch; margin-bottom: 20px; }
@media (min-width: 768px) { .pilot { padding: 56px 40px; } }

/* Pie */
.footer { border-top: 1px solid var(--line); background: var(--card); margin-top: 24px; }
.footer-in {
  display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between;
  padding-top: 24px; padding-bottom: 24px; color: var(--muted); font-size: .9375rem;
}
.footer .brand-dark, .footer .brand-green { font-weight: 700; }
