/* =========================================================
   ardillalab · Ignacio Ardiles — Paleta V2 Light
   Port estático de las secciones al-* (Dawn) para Netlify
   ========================================================= */
:root {
  color-scheme: light;
  --white: #FFFFFF;
  --cream-light: #FAF7F2;
  --cream: #F5EDD8;
  --cream-deep: #EBD9B8;
  --copper-pale: #FDE8C8;
  --copper-light: #F5A64D;
  --copper: #E8872A;
  --copper-deep: #C4651A;
  --copper-dark: #8B4513;
  --olive-pale: #D4DDB8;
  --olive: #6B7C3F;
  --olive-dark: #4A5629;
  --ink: #1A0E05;
  --ink-muted: #6B5040;
  --ink-subtle: #9C7D63;
  --card: #F2EDE8;
  --border: #D8D0C4;
  --bar-bg: #E0D8CC;
  --chart-plan: #2F6DC4;   /* validado vs cobre: CVD ΔE 24.8 */
  --chart-real: #C4651A;
  --f-head: 'Comfortaa', 'Quicksand', system-ui, sans-serif;
  --f-body: 'DM Sans', system-ui, sans-serif;
  --f-mono: 'JetBrains Mono', ui-monospace, monospace;
  --radius: 12px;
  --shadow: 0 10px 30px rgba(26, 14, 5, .06);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--f-head); font-weight: 700; margin: 0; letter-spacing: -0.015em; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .wrap { padding: 0 16px; } }

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .85rem 1.6rem;
  border-radius: 8px;
  font: 700 .9375rem var(--f-body);
  text-decoration: none;
  transition: transform .18s, box-shadow .18s, background .18s, color .18s, border-color .18s;
  white-space: nowrap;
}
.btn-sm { padding: .55rem 1.1rem; font-size: .875rem; }
.btn-primary { background: var(--copper); color: #fff; box-shadow: 0 4px 22px rgba(232, 135, 42, .38); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(232, 135, 42, .5); }
.btn-primary:not(.btn-sm)::after { content: '→'; transition: transform .18s; }
.btn-primary:hover::after { transform: translateX(4px); }
.btn-pulse::before {
  content: ''; position: absolute; inset: -3px; border-radius: 10px;
  border: 2px solid var(--copper);
  animation: pulse 2s ease-out infinite; pointer-events: none;
}
@keyframes pulse { 0% { opacity: .9; transform: scale(1); } 70%, 100% { opacity: 0; transform: scale(1.12); } }
.btn-ghost { border: 1.5px solid rgba(232, 135, 42, .45); color: var(--ink); background: transparent; font-weight: 600; }
.btn-ghost:hover { border-color: var(--copper); color: var(--copper-deep); background: rgba(232, 135, 42, .06); }
.btn-white { background: #fff; color: var(--olive-dark); }
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.18); }
.btn-outline-white { border: 1.5px solid rgba(255,255,255,.6); color: #fff; }
.btn-outline-white:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.ctas { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }
.ctas.center { justify-content: center; }

/* ---------- NAV ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.nav.scrolled { border-color: var(--border); box-shadow: 0 4px 20px rgba(26,14,5,.05); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: 68px; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; min-width: 0; }
.brand img { width: auto; height: 38px; flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.brand-text strong { font: 700 1.2rem var(--f-head); letter-spacing: -0.01em; }
.brand-text em { font-style: normal; color: #FF7F11; }
.brand-text small { font-size: .72rem; color: var(--ink-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nav-links { display: flex; gap: 1.75rem; }
.nav-links a { text-decoration: none; font-size: .9rem; font-weight: 500; color: var(--ink-muted); transition: color .15s; }
.nav-links a:hover { color: var(--copper-deep); }
@media (max-width: 900px) { .nav-links { display: none; } }
@media (max-width: 420px) { .brand-text small { display: none; } }

/* ---------- Common section heads ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--copper-deep); margin-bottom: .75rem;
}
.eyebrow::before { content: ''; width: 22px; height: 2px; background: currentColor; border-radius: 1px; }
.sec-head { margin-bottom: 2.75rem; max-width: 720px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-title { font-size: clamp(1.45rem, 2.7vw, 1.95rem); font-weight: 700; line-height: 1.22; letter-spacing: -0.015em; }
.hl-text { color: var(--copper); }
.sec-sub { color: var(--ink-muted); margin: .9rem 0 0; max-width: 600px; }
.sec-head.center .sec-sub { margin-left: auto; margin-right: auto; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .mq-track, .logo-track, .btn-pulse::before, .spark-ping, .int-line span { animation: none !important; }
}

/* =========================================================
   1 · HERO HUD
   ========================================================= */
.hero { position: relative; overflow: hidden; padding: 56px 0 72px; background: var(--white); }
.hero::before, .hero::after { content: ''; position: absolute; border-radius: 50%; pointer-events: none; }
.hero::before { top: -18%; right: 2%; width: 560px; height: 560px; background: radial-gradient(circle, rgba(232,135,42,.16) 0%, transparent 70%); }
.hero::after { bottom: -12%; left: 6%; width: 420px; height: 420px; background: radial-gradient(circle, rgba(107,124,63,.12) 0%, transparent 70%); }
.hero .wrap { position: relative; z-index: 1; }

/* Top banner (anuncio full-width) */
.topbar {
  display: flex; justify-content: center; flex-wrap: wrap; gap: .35rem;
  width: 100%; padding: .6rem 16px;
  background: var(--copper); color: #fff;
  font-size: .85rem; font-weight: 500; letter-spacing: .02em; text-align: center; text-decoration: none;
  transition: background .2s;
}
.topbar:hover { background: var(--copper-deep); }
.topbar span { font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.announce-wrap { display: flex; justify-content: center; margin-bottom: 2.5rem; }
.announce {
  display: inline-flex; gap: .4rem; flex-wrap: wrap; justify-content: center;
  padding: .45rem 1rem; border-radius: 6px;
  background: var(--copper); color: #fff;
  font-size: .82rem; font-weight: 500; letter-spacing: .02em; text-decoration: none; text-align: center;
}
.announce span { font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }

.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 3.5rem; align-items: center; }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; gap: 2.75rem; } }

.badges { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.3rem; }
.badge {
  --c: var(--copper-deep);
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .3rem .75rem; border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--c) 40%, transparent);
  background: color-mix(in srgb, var(--c) 9%, transparent);
  color: var(--c);
  font-size: .72rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
}
.badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge--olive { --c: var(--olive); }
.badge--muted { --c: var(--ink-muted); }

.eyebrow-row { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; margin-bottom: 1.1rem; }
.eyebrow-main { font-size: .85rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--copper-deep); }
.eyebrow-sep { width: 1px; height: 14px; background: rgba(232,135,42,.45); }
@media (max-width: 600px) { .eyebrow-sep { display: none; } .eyebrow-row { flex-direction: column; align-items: flex-start; gap: .2rem; } }
.eyebrow-sec { font-size: .8rem; font-weight: 500; color: var(--ink-muted); letter-spacing: .05em; text-transform: uppercase; }

.hero-title { font-size: clamp(2.1rem, 4.4vw, 3.2rem); font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; }
.hero-title .hl {
  color: var(--copper);
  text-decoration: underline; text-underline-offset: 8px; text-decoration-thickness: 3px;
  text-decoration-color: rgba(232,135,42,.38);
}
.hero-sub { color: var(--ink-muted); line-height: 1.7; margin: 1.2rem 0 2rem; max-width: 520px; }
.hero .ctas { margin-bottom: 2.25rem; }

.trust { display: flex; align-items: center; gap: 1rem; }
.avatars { display: flex; }
.avatars span {
  width: 36px; height: 36px; border-radius: 50%;
  border: 2px solid #fff; margin-left: -8px;
  display: grid; place-items: center;
  background: var(--copper-pale); color: var(--copper-deep);
  font-size: .68rem; font-weight: 700;
}
.avatars span:first-child { margin-left: 0; }
.avatars span:nth-child(2) { background: var(--olive-pale); color: var(--olive-dark); }
.trust-meta { display: flex; flex-direction: column; line-height: 1.3; }
.trust-meta strong { font-size: .92rem; }
.trust-meta small { font-size: .78rem; color: var(--ink-muted); }

/* HUD browser */
.browser {
  background: #fff; border: 1px solid var(--border); border-radius: 16px;
  box-shadow: 0 30px 60px -20px rgba(26,14,5,.22), 0 0 0 6px rgba(245,237,216,.6);
  overflow: hidden;
}
.browser-bar { display: flex; align-items: center; gap: 6px; padding: .65rem .9rem; background: var(--cream-light); border-bottom: 1px solid var(--border); }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--bar-bg); }
.browser-bar i:nth-child(1) { background: #E8872A; } .browser-bar i:nth-child(2) { background: #F5A64D; } .browser-bar i:nth-child(3) { background: #8FA656; }
.browser-bar .url {
  flex: 1; margin: 0 .5rem; padding: .25rem .7rem; border-radius: 6px;
  background: #fff; border: 1px solid var(--border);
  font: 500 .72rem var(--f-mono); color: var(--ink-muted);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.demo-tag {
  font-size: .62rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: .15rem .5rem; border-radius: 999px;
  background: var(--cream); color: var(--ink-muted); border: 1px solid var(--cream-deep);
  white-space: nowrap;
}
.browser-body { padding: 1rem; display: flex; flex-direction: column; gap: .9rem; background: var(--white); }

.kpi {
  position: relative; overflow: hidden;
  background: var(--card); border: 1px solid rgba(232,135,42,.25); border-radius: 14px; padding: 1.25rem 1.25rem 1rem;
}
.kpi::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 2px; background: linear-gradient(90deg, var(--copper), transparent); }
.kpi-head { display: flex; justify-content: space-between; align-items: center; gap: .5rem; margin-bottom: .5rem; }
.kpi-label { font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-muted); }
.kpi-tag {
  display: inline-flex; align-items: center; gap: .35rem;
  font-size: .64rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em;
  padding: .15rem .55rem; border-radius: 999px; white-space: nowrap;
  color: var(--olive); background: rgba(107,124,63,.14); border: 1px solid rgba(107,124,63,.4);
}
.kpi-tag::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; animation: blink 1.4s infinite; }
@keyframes blink { 50% { opacity: .2; } }
.kpi-value { display: flex; align-items: baseline; gap: .35rem; }
.kpi-num { font: 700 clamp(2.1rem, 4vw, 2.75rem) var(--f-head); letter-spacing: -0.03em; line-height: 1; }
.kpi-unit { font-weight: 600; color: var(--ink-muted); font-size: 1rem; }
.kpi-var { font-size: .82rem; font-weight: 700; color: var(--olive); margin: .25rem 0 .5rem; }
.spark { width: 100%; height: 56px; overflow: visible; }
.spark-line { stroke-dasharray: 400; stroke-dashoffset: 400; }
.in .spark-line { animation: draw 1.6s .2s ease forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.spark-ping { transform-origin: 280px 6px; animation: ping 1.8s ease-out infinite; }
@keyframes ping { 0% { transform: scale(.6); opacity: .5; } 100% { transform: scale(1.8); opacity: 0; } }
.spark-days { display: flex; justify-content: space-between; margin-top: .3rem; }
.spark-days span { flex: 1; text-align: center; font-size: .62rem; color: var(--ink-subtle); text-transform: uppercase; letter-spacing: .04em; }

.hud-row { display: grid; grid-template-columns: 1fr 1.1fr; gap: .9rem; }
@media (max-width: 520px) { .hud-row { grid-template-columns: 1fr; } }
/* Top 7 embajadoras */
.top7 { list-style: none; margin: 0; padding: 0; counter-reset: r; display: grid; gap: .32rem; }
.top7 li { counter-increment: r; display: flex; align-items: center; gap: .45rem; font-size: .74rem; }
.top7 li::before { content: counter(r); width: 12px; font: 600 .62rem var(--f-mono); color: var(--ink-subtle); text-align: right; flex-shrink: 0; }
.top7 b { flex: 1; min-width: 0; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.top7 em { font-style: normal; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.em { width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; font: 700 .58rem var(--f-body); flex-shrink: 0; color: #fff; }
.em.g { background: linear-gradient(135deg, #F5B841, #C98A12); }
.em.s { background: linear-gradient(135deg, #C9CDD2, #8E959D); }
.em.b { background: linear-gradient(135deg, #D69560, #9A5A2B); }
.panel { background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 1rem 1.05rem; min-width: 0; }
.panel-label { font-size: .66rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-muted); margin-bottom: .75rem; }
.mod { display: flex; align-items: center; gap: .6rem; margin-bottom: .6rem; font-size: .78rem; }
.mod:last-child { margin-bottom: 0; }
.mod span { color: var(--ink-muted); width: 76px; flex-shrink: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mod b { width: 28px; text-align: right; color: var(--copper-deep); font-size: .78rem; }
.mod b.olive-t { color: var(--olive); }
.bar { flex: 1; height: 6px; border-radius: 3px; background: var(--bar-bg); overflow: hidden; }
.bar i { display: block; height: 100%; width: 0; border-radius: 3px; background: var(--copper); transition: width 1.1s cubic-bezier(.25,.46,.45,.94); }
.bar i.olive { background: var(--olive); }
.bar i.muted { background: var(--ink-subtle); }
.in .bar i { width: var(--w); }
.feed { display: flex; align-items: center; gap: .6rem; padding: .45rem 0; border-bottom: 1px solid rgba(216,208,196,.6); }
.feed:last-child { border-bottom: 0; padding-bottom: 0; }
.fi { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: var(--bar-bg); font-size: .8rem; flex-shrink: 0; }
.feed div { flex: 1; min-width: 0; line-height: 1.25; }
.feed div b { display: block; font-size: .74rem; line-height: 1.25; }
.feed div small { font-size: .66rem; color: var(--ink-muted); }
.feed em { font-style: normal; font-size: .58rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; padding: .12rem .45rem; border-radius: 999px; }
.feed em.ok { color: var(--olive); background: rgba(107,124,63,.12); border: 1px solid rgba(107,124,63,.4); }
.feed em.live { color: var(--copper-deep); background: rgba(232,135,42,.12); border: 1px solid rgba(232,135,42,.4); }

/* Stats strip */
.stats {
  margin-top: 4rem; padding-top: 2.5rem; border-top: 1px solid var(--border);
  display: grid; grid-template-columns: repeat(3, 1fr);
}
.stat { position: relative; text-align: center; padding: 0 1.25rem; }
.stat + .stat::before { content: ''; position: absolute; left: 0; top: 12%; bottom: 12%; width: 1px; background: var(--border); }
.stat-num { display: block; font: 700 clamp(1.9rem, 3.4vw, 2.5rem) var(--f-head); color: var(--copper); letter-spacing: -0.02em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.stat-desc { display: block; font-size: .84rem; color: var(--ink-muted); margin-top: .3rem; line-height: 1.4; }
.stat code { display: block; font: 500 .64rem var(--f-mono); color: var(--ink-subtle); margin-top: .35rem; }
@media (max-width: 760px) {
  .stats { grid-template-columns: 1fr; row-gap: 1.75rem; }
  .stat + .stat::before { display: none; }
}

/* =========================================================
   2 · LOGO MARQUEE (carrusel)
   ========================================================= */
.logos { background: var(--cream-light); padding: 72px 0 64px; }
.logos .sec-head { margin-bottom: 2rem; }
.logo-viewport {
  overflow: hidden; position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.logo-track { --gap: 1.5rem; display: flex; gap: var(--gap); width: max-content; padding: .75rem 0; animation: slide 28s linear infinite reverse; }
.logo-viewport:hover .logo-track, .logo-viewport:focus-within .logo-track { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(calc(-50% - var(--gap) / 2)); } }
.logo-card {
  margin: 0; width: 200px; height: 120px; flex-shrink: 0;
  display: grid; place-items: center;
  background: #fff; border: 1px solid #E0D0B8; border-radius: 14px;
  box-shadow: var(--shadow);
  transition: transform .2s, border-color .2s;
}
.logo-card:hover { transform: translateY(-4px); border-color: var(--copper); }
.logo-card img { max-width: 150px; max-height: 84px; object-fit: contain; filter: grayscale(.15); }
@media (max-width: 600px) {
  .logo-card { width: 150px; height: 96px; }
  .logo-card img { max-width: 112px; max-height: 66px; }
  .logo-track { --gap: 1rem; animation-duration: 20s; }
}

/* =========================================================
   3 · MARQUEE BANNER
   ========================================================= */
.marquee { background: var(--copper); color: #fff; overflow: hidden; padding: 18px 0; }
.mq-track { display: flex; width: max-content; animation: mq 32s linear infinite; }
.marquee:hover .mq-track { animation-play-state: paused; }
.mq-group { display: flex; align-items: center; flex-shrink: 0; }
.mq-group span { font: 700 clamp(.85rem, 1.6vw, 1.1rem) var(--f-head); letter-spacing: .06em; white-space: nowrap; padding: 0 1.4rem; }
.mq-group i { font-style: normal; opacity: .5; }
@keyframes mq { to { transform: translateX(-50%); } }

/* =========================================================
   4 · STACK (tools grid)
   ========================================================= */
.stack { background: var(--cream-light); padding: 96px 0; }
.tools { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
.tool {
  position: relative; overflow: hidden;
  background: #fff; border: 1px solid #E0D0B8; border-radius: 16px;
  padding: 1.5rem 1.6rem 1.6rem;
  box-shadow: var(--shadow);
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.tool::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 3px; background: linear-gradient(90deg, var(--copper), transparent 70%); opacity: 0; transition: opacity .25s; }
.tool:hover { transform: translateY(-4px); border-color: rgba(232,135,42,.5); box-shadow: 0 18px 40px rgba(26,14,5,.1); }
.tool:hover::before { opacity: 1; }
.tool--wide { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; column-gap: 2rem; }
.tool--wide > .tool-top, .tool--wide > .tool-logos, .tool--wide > h3, .tool--wide > p { grid-column: 1; }
.tool--wide > .code { grid-column: 2; grid-row: 1 / span 4; align-self: center; }
@media (max-width: 820px) {
  .tools { grid-template-columns: 1fr; }
  .tool--wide { grid-template-columns: 1fr; }
  .tool--wide > .code { grid-column: 1; grid-row: auto; }
}
.tool-top { display: flex; justify-content: space-between; align-items: center; gap: .5rem; margin-bottom: 1.1rem; }
.tag {
  font-size: .68rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
  padding: .25rem .65rem; border-radius: 999px;
  color: var(--copper-deep); background: var(--copper-pale);
}
.tag--olive { color: var(--olive-dark); background: var(--olive-pale); }
.tag--muted { color: var(--ink-muted); background: var(--cream); }
.status { display: inline-flex; align-items: center; gap: .35rem; font-size: .72rem; color: var(--olive); font-weight: 600; white-space: nowrap; }
.status::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--olive); box-shadow: 0 0 0 3px rgba(107,124,63,.18); }
.tool-logos { display: flex; align-items: center; gap: 1.1rem; height: 56px; margin-bottom: 1rem; }
.tool-logos img { max-height: 46px; width: auto; object-fit: contain; }
.tool-logos img.lg-wide { max-height: 38px; max-width: 200px; }
.tool-logos img.lg-shop { max-height: 60px; max-width: 200px; }
.tool-logos.two img { max-height: 44px; max-width: 120px; }
.mono {
  display: inline-flex; align-items: baseline; gap: .3rem;
  padding: .5rem .85rem; border-radius: 10px;
  font: 700 1.05rem var(--f-head); letter-spacing: -0.01em;
  background: var(--cream); border: 1px solid var(--cream-deep); color: var(--ink);
}
.mono small { font: 700 .62rem var(--f-mono); color: var(--copper-deep); }
.mono--alt { background: #fff; border-style: dashed; }
.mono--code { font-family: var(--f-mono); font-weight: 500; background: var(--ink); color: var(--copper-light); border-color: var(--ink); }
.tool h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: .45rem; }
.tool p { margin: 0; color: var(--ink-muted); font-size: .95rem; }
.code {
  margin: 1.25rem 0 0; padding: 1.1rem 1.2rem; border-radius: 12px;
  background: var(--ink); color: #F5EDD8;
  font: 500 .78rem/1.75 var(--f-mono);
  overflow-x: auto;
}
.code .c { color: #9C7D63; }

/* =========================================================
   5/6 · APP BANNERS
   ========================================================= */
.app-banner { padding: 100px 0; background: var(--white); }
.app-banner--warm { background: var(--cream); }
.app-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 4rem; align-items: center; }
.app-grid--rev .app-copy { order: 2; }
@media (max-width: 960px) {
  .app-grid { grid-template-columns: 1fr; gap: 2.75rem; }
  .app-grid--rev .app-copy { order: 0; }
}
.app-copy .sec-sub { margin-bottom: 1.5rem; }
.app-copy .checks { margin-bottom: 0; }
.app-cta { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; align-items: center; margin-top: -1rem; }
@media (max-width: 960px) { .app-cta { margin-top: 0; } }
.checks { list-style: none; padding: 0; margin: 0 0 2rem; display: grid; gap: .65rem; }
.checks li { position: relative; padding-left: 1.9rem; color: var(--ink-muted); font-size: .97rem; }
.checks li b { color: var(--ink); }
.checks li::before {
  content: '✓'; position: absolute; left: 0; top: .1rem;
  width: 1.25rem; height: 1.25rem; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--olive); color: #fff; font-size: .7rem; font-weight: 700;
}
.chip-shopify {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .45rem .9rem .45rem .5rem; border-radius: 999px;
  background: #fff; border: 1px solid var(--cream-deep);
  font-size: .85rem; font-weight: 600;
}
.chip-shopify img { height: 26px; width: auto; border-radius: 4px; }

/* Embajadoras mock */
.mock {
  background: #fff; border-radius: 18px; padding: 1.4rem;
  border: 1px solid var(--cream-deep);
  box-shadow: 0 30px 60px -24px rgba(139,69,19,.35);
  transform: rotate(.6deg);
}
.mock-head { display: flex; justify-content: space-between; align-items: center; gap: .5rem; margin-bottom: 1rem; }
.mock-head b { font: 700 1.05rem var(--f-head); }
.mock-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; margin-bottom: 1rem; }
.mock-kpis div { background: var(--cream-light); border: 1px solid var(--cream-deep); border-radius: 12px; padding: .7rem .8rem; }
.mock-kpis small { display: block; font-size: .66rem; color: var(--ink-muted); text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
.mock-kpis b { font: 700 1.25rem var(--f-head); letter-spacing: -0.02em; }
.amb-list { display: grid; gap: .55rem; }
.amb { display: flex; align-items: center; gap: .8rem; padding: .7rem .8rem; border-radius: 12px; border: 1px solid var(--border); }
.amb:hover { border-color: var(--copper); background: var(--cream-light); }
.av { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--copper); color: #fff; font-weight: 700; font-size: .8rem; flex-shrink: 0; }
.av.gold { background: linear-gradient(135deg, #F5B841, #C98A12); }
.av.silver { background: linear-gradient(135deg, #C9CDD2, #8E959D); }
.av.bronze { background: linear-gradient(135deg, #D69560, #9A5A2B); }
.av { font-size: .95rem; }
.amb-info { flex: 1; min-width: 0; }
.amb-info b { font-size: .9rem; display: block; }
.amb-info small { font-size: .74rem; color: var(--ink-muted); display: block; margin-bottom: .35rem; }
.pill { font-style: normal; font-size: .78rem; white-space: nowrap; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; padding: .2rem .6rem; border-radius: 999px; }
.pill.gold { background: var(--copper-pale); color: var(--copper-dark); }
.pill.silver { background: var(--olive-pale); color: var(--olive-dark); }
.pill.bronze { background: var(--cream); color: var(--ink-muted); }
.mock-foot { margin-top: 1rem; padding: .75rem .9rem; border-radius: 10px; background: var(--olive); color: #fff; font-size: .85rem; }
@media (max-width: 520px) {
  .mock { transform: none; padding: 1rem; }
  .mock-kpis b { font-size: 1rem; }
}

/* DSYD integration diagram */
.integration { display: flex; align-items: center; gap: 0; margin: 0 0 .75rem; max-width: 440px; }
.int-node {
  padding: .6rem 1rem; border-radius: 10px; font-weight: 700; font-size: .88rem; white-space: nowrap;
  background: var(--ink); color: #fff;
}
.int-node--erp { background: var(--copper); }
.int-line { flex: 1; height: 2px; background: repeating-linear-gradient(90deg, var(--border) 0 6px, transparent 6px 10px); position: relative; min-width: 50px; }
.int-line span {
  position: absolute; top: -4px; width: 10px; height: 10px; border-radius: 50%; background: var(--copper);
  animation: travel 2.2s ease-in-out infinite alternate;
}
@keyframes travel { from { left: 0; } to { left: calc(100% - 10px); } }
.int-note { font-size: .88rem; color: var(--ink-muted); margin: 0 0 1.5rem; max-width: 460px; }

/* Chart card */
.chart-card {
  margin: 0; background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 1.4rem 1.4rem 1rem;
  box-shadow: 0 30px 60px -28px rgba(26,14,5,.3);
}
.chart-head { display: flex; justify-content: space-between; align-items: flex-start; gap: .75rem; }
.chart-head b { font: 700 1.05rem var(--f-head); display: block; }
.chart-head small { color: var(--ink-muted); font-size: .78rem; }
.int-badge { font-size: .72rem; font-weight: 700; padding: .25rem .65rem; border-radius: 999px; background: var(--copper-pale); color: var(--copper-dark); white-space: nowrap; }
.legend { display: flex; gap: 1.2rem; margin: .9rem 0 .25rem; font-size: .8rem; color: var(--ink-muted); }
.legend span { display: inline-flex; align-items: center; gap: .45rem; }
.legend i { width: 20px; height: 0; border-top: 2px solid; display: inline-block; }
.lg-plan { border-color: var(--chart-plan) !important; border-top-style: dashed !important; }
.lg-real { border-color: var(--chart-real) !important; }
.chart { position: relative; width: 100%; }
.chart svg { display: block; width: 100%; height: auto; overflow: visible; }
.chart .grid line { stroke: #ECE6DD; stroke-width: 1; }
.chart .axis text { fill: var(--ink-subtle); font: 500 11px var(--f-body); }
.chart .lbl { font: 700 11px var(--f-body); fill: var(--ink); }
.chart .lbl-sub { font: 500 10px var(--f-body); fill: var(--ink-muted); }
.chart .today line { stroke: var(--ink-subtle); stroke-dasharray: 2 3; }
.chart .today text { fill: var(--ink-muted); font: 600 10px var(--f-body); }
.chart .cross { stroke: var(--ink-muted); stroke-width: 1; opacity: 0; }
.chart .dot { opacity: 0; stroke: #fff; stroke-width: 2; }
.chart.hovering .cross, .chart.hovering .dot { opacity: 1; }
.chart .draw { stroke-dasharray: var(--len); stroke-dashoffset: var(--len); }
.in .chart .draw { animation: draw 1.8s ease forwards; }
.in .chart .draw-late { animation-delay: .4s; }
.tooltip {
  position: absolute; pointer-events: none; z-index: 3;
  background: var(--ink); color: #fff; border-radius: 8px; padding: .5rem .7rem;
  font-size: .76rem; line-height: 1.45; white-space: nowrap;
  opacity: 0; transform: translate(-50%, -110%); transition: opacity .12s;
  box-shadow: 0 8px 20px rgba(0,0,0,.2);
}
.chart.hovering .tooltip { opacity: 1; }
.tooltip b { display: block; margin-bottom: .15rem; }
.tooltip i { display: inline-block; width: 10px; height: 2px; vertical-align: middle; margin-right: .35rem; }
.chart-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; margin-top: .75rem; }
.chart-kpis div { background: var(--cream-light); border-radius: 10px; padding: .6rem .75rem; }
.chart-kpis small { display: block; font-size: .66rem; color: var(--ink-muted); text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
.chart-kpis b { font: 700 1.15rem var(--f-head); }
.chart-kpis b.warn { color: var(--copper-deep); }
.table-view { margin-top: .75rem; font-size: .8rem; color: var(--ink-muted); }
.table-view summary { cursor: pointer; font-weight: 600; }
.table-view table { width: 100%; border-collapse: collapse; margin-top: .5rem; font-variant-numeric: tabular-nums; }
.table-view th, .table-view td { padding: .3rem .4rem; border-bottom: 1px solid #ECE6DD; text-align: right; }
.table-view th:first-child, .table-view td:first-child { text-align: left; }

/* =========================================================
   7 · COMPARADOR
   ========================================================= */
.cmp { padding: 100px 0; background: var(--cream-light); }
.cmp-hint { display: none; text-align: center; font-size: .78rem; color: var(--ink-muted); margin-bottom: .75rem; }
.cmp-table { display: grid; grid-template-columns: 1.3fr 1fr 1fr; max-width: 940px; margin: 0 auto; }
.cell { padding: 1.05rem 1.25rem; display: flex; align-items: center; justify-content: center; text-align: center; font-size: .97rem; background: var(--cream-light); }
.cell.alt { background: #EDE8E0; }
.cell.attr { justify-content: flex-start; text-align: left; font-weight: 700; color: var(--copper-deep); }
.cell.head { flex-direction: column; gap: .55rem; padding: 1.5rem 1rem 1.25rem; font: 700 1.1rem var(--f-head); background: transparent; }
.cell.head img { width: 46px; height: 46px; }
.cell.head .diy { font-size: 1.9rem; line-height: 44px; }
.cell.hl { background: var(--copper-deep); color: #fff; font-weight: 600; position: relative; z-index: 1; }
.cell.hl.alt { background: #B85D16; }
.cell.head.hl { border-radius: 16px 16px 0 0; margin-top: -1.25rem; padding-top: 2.5rem; box-shadow: 0 -12px 30px rgba(0,0,0,.08); }
.cell.hl.last { border-radius: 0 0 16px 16px; padding-bottom: 2rem; box-shadow: 0 16px 40px rgba(139,69,19,.25); }
.cell.last:not(.hl) { padding-bottom: 2rem; }
.ico { width: 26px; height: 26px; display: inline-block; background-repeat: no-repeat; background-size: contain; }
.ico.ok { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10' stroke-width='1.5'/%3E%3Cpath d='M8 12.5l2.5 2.5 5-5.5' stroke-width='1.8'/%3E%3C/svg%3E"); }
.ico.no { opacity: .75; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236B5040' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7L7 17' stroke-width='1.8'/%3E%3C/svg%3E"); }
@media (max-width: 749px) {
  .cmp-table { grid-template-columns: 1.15fr 1fr 1fr; padding-top: 1.25rem; }
  .cell { padding: .75rem .5rem; font-size: .8rem; hyphens: auto; }
  .cell.attr { padding-left: .6rem; }
  .cell.head { font-size: .9rem; }
  .cell.head.hl { margin-top: -.75rem; padding-top: 1.75rem; }
}

/* =========================================================
   8 · SOBRE MÍ
   ========================================================= */
.about { padding: 100px 0; background: var(--white); overflow: hidden; }
.about-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 4rem; align-items: center; }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; gap: 2.5rem; } .about-photo { max-width: 300px; } .about-photo::before { inset: 12px -12px -12px 12px; } }
.about-photo { position: relative; max-width: 380px; justify-self: center; width: 100%; }
.about-photo::before { content: ''; position: absolute; inset: 18px -18px -18px 18px; border-radius: 22px; background: var(--copper); }
.about-photo img { position: relative; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 22px; box-shadow: var(--shadow); }
.photo-tag {
  position: absolute; left: 50%; bottom: -14px; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: .45rem; white-space: nowrap;
  background: #fff; border: 1px solid var(--border); border-radius: 999px; padding: .45rem .9rem;
  font-size: .78rem; font-weight: 600; box-shadow: var(--shadow);
}
.photo-tag .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--olive); box-shadow: 0 0 0 3px rgba(107,124,63,.2); }
.about-copy p { color: var(--ink-muted); margin: 1rem 0 0; }
.about-copy p b { color: var(--ink); }
.skills { display: flex; flex-wrap: wrap; gap: .45rem; margin: 1.5rem 0 1.75rem; }
.skills span { font: 500 .78rem var(--f-mono); padding: .3rem .65rem; border-radius: 6px; background: var(--cream); color: var(--ink-muted); border: 1px solid var(--cream-deep); }

/* =========================================================
   CTA + FOOTER
   ========================================================= */
.cta-band { background: var(--olive); color: #fff; padding: 80px 0; text-align: center; }
.cta-inner h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); font-weight: 700; letter-spacing: -0.03em; }
.cta-inner p { color: #E3E9CF; margin: .75rem 0 2rem; }

.footer { background: var(--ink); color: #E8DCC8; padding: 64px 0 28px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr; } }
.foot-brand img { width: 220px; height: auto; }
.foot-brand p { color: #B9A48C; font-size: .9rem; margin: 1rem 0 0; }
.foot-col h3 { font: 700 .78rem var(--f-body); letter-spacing: .12em; text-transform: uppercase; color: var(--copper-light); margin-bottom: 1rem; }
.foot-col a { display: block; text-decoration: none; color: #E8DCC8; font-size: .95rem; padding: .3rem 0; transition: color .15s; word-break: break-word; }
.foot-col a:hover { color: var(--copper-light); }
.foot-bottom { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(232,220,200,.15); display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .8rem; color: #9C8A74; }
.foot-bottom code { font: 500 .72rem var(--f-mono); color: #6B5A48; }
