/* Fuentes alojadas en el propio sitio (subconjunto latin) */
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 500 800;
  font-stretch: 100%;
  font-display: swap;
  src: url(fonts/bricolage-grotesque-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url(fonts/geist-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Geist Mono';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url(fonts/geist-mono-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --black: #000000;
  --surface: #0a0e0c;
  --surface-2: #101613;
  --line: rgba(232, 239, 235, 0.16);
  --line-strong: rgba(232, 239, 235, 0.32);
  --text: #e8efeb;
  --muted: #93a39b;
  --green: #19f08b;
  --green-ink: #021a0e;
  --blue: #2b59ff;
  --font-display: 'Bricolage Grotesque', 'Arial Narrow', system-ui, sans-serif;
  --font-body: 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'Geist Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
  --gutter: clamp(1.25rem, 4.5vw, 3rem);
  --maxw: 75rem;
  --radius: 6px;
  --section: clamp(4.5rem, 10vw, 8.5rem);
  --green-text: #19f08b;
  --blue-text: #9db3ff;
  --yellow-text: #e6c35a;
  --header-bg: rgba(0, 0, 0, .82);
  --panel: rgba(10, 14, 12, .72);
  --scrim-rgb: 0, 0, 0;
  --overlay: rgba(0, 0, 0, .62);
  --drawer-bg: #050807;
  --legal-text: #c9d4ce;
  --err: #ff8a8a;
  --err-border: #ff6b6b;
  --hover-bg: rgba(232, 239, 235, .05);
  color-scheme: dark;
}
:root[data-theme="light"] {
  --black: #f4f7f5;
  --surface: #ffffff;
  --surface-2: #e8eeeb;
  --line: rgba(5, 8, 7, .14);
  --line-strong: rgba(5, 8, 7, .34);
  --text: #0a1410;
  --muted: #4a5b53;
  --green-text: #007a42;
  --blue-text: #2b59ff;
  --yellow-text: #8a6400;
  --header-bg: rgba(244, 247, 245, .88);
  --panel: rgba(255, 255, 255, .78);
  --scrim-rgb: 244, 247, 245;
  --overlay: rgba(5, 8, 7, .45);
  --drawer-bg: #ffffff;
  --legal-text: #2a3932;
  --err: #b3261e;
  --err-border: #c62828;
  --hover-bg: rgba(5, 8, 7, .05);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--black);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }

.skip { position: absolute; left: 1rem; top: -4rem; background: var(--green); color: var(--green-ink); padding: .6rem 1rem; border-radius: var(--radius); z-index: 100; font-weight: 600; }
.skip:focus { top: 1rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }

.h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  line-height: 1.04;
  letter-spacing: -0.025em;
  max-width: 20ch;
}
.lede { color: var(--muted); font-size: clamp(1.05rem, 1.6vw, 1.25rem); line-height: 1.55; max-width: 52ch; }

/* Botones */
.btn {
  white-space: nowrap; text-align: center;
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 3rem; padding: .7rem 1.4rem;
  border-radius: var(--radius); border: 1px solid transparent;
  font: 600 1rem/1.2 var(--font-body); text-decoration: none; cursor: pointer;
  transition: background-color .2s, border-color .2s, color .2s;
}
.btn--green { background: var(--green); color: var(--green-ink); }
.btn--green:hover { background: #5cf7ad; }
.btn--line { border-color: var(--line-strong); color: var(--text); }
.btn--line:hover { border-color: var(--text); }
.btn--white { background: var(--text); color: var(--black); }
.btn--white:hover { background: #fff; }

/* Header */
.header { position: sticky; top: 0; z-index: 50; background: var(--header-bg); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.header__row { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 4.25rem; }
.brand { flex: none; display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; letter-spacing: -0.02em; }
.brand img { display: block; height: 2.1rem; width: auto; }
.nav { display: flex; gap: clamp(1rem, 2vw, 2rem); }
.nav a { text-decoration: none; color: var(--muted); font-weight: 500; font-size: .98rem; transition: color .2s; }
.nav a:hover { color: var(--text); }
@media (max-width: 34rem) { .hide-s { display: none; } }
@media (max-width: 64rem) { .nav { display: none; } .header .btn { min-height: 2.6rem; padding-inline: 1rem; font-size: .95rem; } }

/* Hero */
.hero {
  padding-block: clamp(3rem, 7vw, 6rem) clamp(4rem, 8vw, 7rem);
  border-bottom: 1px solid var(--line); overflow: hidden; position: relative;
  background-image:
    radial-gradient(48rem 34rem at 82% 38%, rgba(43, 89, 255, .22), transparent 70%),
    radial-gradient(34rem 24rem at 60% 95%, rgba(25, 240, 139, .07), transparent 70%);
}
.hero > .wrap { position: relative; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.hero__title {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(2.5rem, 5.8vw, 4.7rem);
  line-height: 1; letter-spacing: -0.035em; max-width: 15ch;
}
.hero__lede { margin-top: 1.75rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2.25rem; }
.hero__note { margin-top: 1.5rem; color: var(--muted); font-size: .95rem; }
@media (max-width: 60rem) { .hero__grid { grid-template-columns: 1fr; } }

/* Demo interactiva del hero */
.demo { display: grid; gap: 1.1rem; justify-items: center; }
.tabs { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: .25rem; padding: .25rem; border: 1px solid var(--line-strong); border-radius: 1.6rem; width: 100%; max-width: 24rem; }
.tab { grid-column: span 2; white-space: nowrap; min-height: 2.5rem; padding: .5rem .4rem; border: 0; border-radius: 999px; background: transparent; color: var(--muted); font: 600 .88rem var(--font-body); cursor: pointer; transition: background-color .2s, color .2s; }
.tab:hover { color: var(--text); }
.tab[aria-pressed="true"] { background: var(--green); color: var(--green-ink); }
.demo__hint { color: var(--muted); font-size: .88rem; text-align: center; max-width: 30ch; }

.phone {
  --text: #e8efeb; --muted: #93a39b; --line: rgba(232, 239, 235, .16); --line-strong: rgba(232, 239, 235, .32);
  --surface-2: #101613; --green-text: #19f08b; --blue-text: #9db3ff; --yellow-text: #e6c35a; --hover-bg: rgba(232, 239, 235, .05);
  color: var(--text);
  width: min(100%, 18rem); aspect-ratio: 9 / 18.5;
  background: #050807; border: 2px solid var(--line-strong); border-radius: 2.2rem;
  padding: .55rem; position: relative;
  box-shadow: 0 0 0 1px #000, 0 30px 80px -30px rgba(25, 240, 139, .3);
}
.phone::before { content: ''; position: absolute; top: .9rem; left: 50%; width: 4.2rem; height: 1.1rem; border-radius: 1rem; background: #000; transform: translateX(-50%); z-index: 2; }
.screen { height: 100%; border-radius: 1.7rem; background: #0b110e; padding: 2.7rem .85rem .85rem; display: flex; flex-direction: column; overflow: hidden; }
.panel { display: flex; flex-direction: column; flex: 1; min-height: 0; }
.panel[hidden], .view[hidden] { display: none; }
.view { display: flex; flex-direction: column; gap: .65rem; flex: 1; min-height: 0; }
.screen__bar { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; display: flex; justify-content: space-between; align-items: baseline; }
.screen__bar small { font: 500 .72rem var(--font-body); color: var(--muted); }

.days { display: grid; grid-template-columns: repeat(5, 1fr); gap: .35rem; }
.day { padding: .4rem 0; border: 0; border-radius: 8px; background: var(--surface-2); font: 400 .72rem/1.25 var(--font-body); color: var(--muted); cursor: pointer; }
.day b { display: block; color: var(--text); font-size: .95rem; }
.day[aria-pressed="true"] { background: var(--green); color: var(--green-ink); }
.day[aria-pressed="true"] b { color: var(--green-ink); }

.slots, .items { display: grid; gap: .45rem; }
.slot, .item { display: flex; justify-content: space-between; align-items: center; gap: .5rem; width: 100%; padding: .6rem .7rem; border-radius: 10px; border: 1px solid var(--line); background: transparent; color: var(--text); font: 500 .86rem var(--font-body); text-align: left; cursor: pointer; transition: border-color .2s, background-color .2s; }
.slot span, .item small { color: var(--muted); font: 400 .74rem var(--font-body); }
.slot:hover:not(:disabled), .item:hover { border-color: var(--line-strong); }
.slot[aria-pressed="true"], .item[aria-pressed="true"] { border-color: var(--blue); background: rgba(43, 89, 255, .18); }
.slot:disabled { opacity: .4; cursor: not-allowed; }
.item b { display: block; font-weight: 600; }
.item em { font: 500 .85rem var(--font-mono); font-style: normal; white-space: nowrap; }

.screen__cta { margin-top: auto; width: 100%; min-height: 2.8rem; border: 0; border-radius: 12px; background: var(--green); color: var(--green-ink); font: 600 .9rem var(--font-body); cursor: pointer; transition: opacity .2s; }
.screen__cta:disabled { opacity: .35; cursor: not-allowed; }
.screen__ghost { margin-top: auto; background: transparent; border: 1px solid var(--line-strong); color: var(--text); border-radius: 12px; min-height: 2.6rem; font: 500 .85rem var(--font-body); cursor: pointer; }

.done { align-items: center; justify-content: center; text-align: center; gap: .55rem; }
.done strong { font-family: var(--font-display); font-size: 1.25rem; }
.done p { color: var(--muted); font-size: .82rem; line-height: 1.4; }
.done__sum { color: var(--text) !important; font-weight: 500; font-size: .9rem !important; }
.linkbox { font: 500 .78rem var(--font-mono); border: 1px dashed var(--green); color: var(--green-text); border-radius: 8px; padding: .5rem .6rem; word-break: break-all; }
.done .screen__ghost { margin-top: .6rem; width: 100%; }

.total { display: grid; gap: .1rem; padding: .4rem 0 .2rem; }
.total small { color: var(--muted); font-size: .76rem; }
.total strong { font-family: var(--font-display); font-size: 1.9rem; letter-spacing: -0.02em; color: var(--green-text); }
.ledger li { display: flex; justify-content: space-between; padding: .6rem 0; border-top: 1px solid var(--line); font-size: .86rem; }
.ledger b { font: 500 .85rem var(--font-mono); }

/* Demo: carrito */
.cartbadge { display: inline-flex; align-items: center; gap: .3rem; color: var(--green-text); }
.cartbadge b { font: 600 .78rem var(--font-mono); background: var(--green); color: var(--green-ink); border-radius: 999px; min-width: 1.3rem; padding: .05rem .35rem; text-align: center; }
.cart { border: 1px solid var(--line); border-radius: 10px; padding: .5rem .65rem; margin-top: auto; }
.cart h4 { font: 600 .68rem var(--font-body); color: var(--muted); margin-bottom: .25rem; }
.cart li { display: flex; justify-content: space-between; gap: .5rem; font-size: .78rem; padding: .22rem 0; }
.cart li em { font: 500 .76rem var(--font-mono); font-style: normal; }
.cart__empty { color: var(--muted); }
.cart + .screen__cta { margin-top: 0; }
.kanban__btns { display: grid; gap: .4rem; margin-top: auto; }
.kanban__btns .screen__cta, .kanban__btns .screen__ghost { margin-top: 0; }
.kanban__btns .screen__ghost { min-height: 2.3rem; }

/* Demo: kanban de leads */
.kanban { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .3rem; flex: 1; min-height: 0; }
.kcol { display: flex; flex-direction: column; gap: .3rem; min-height: 0; background: var(--surface-2); border-radius: 8px; padding: .35rem .25rem; }
.kcol h4 { font: 600 .66rem var(--font-body); color: var(--muted); text-align: center; }
.kcol[data-stage="2"] h4 { color: var(--green-text); }
.kcol__list { display: flex; flex-direction: column; gap: .25rem; overflow-y: auto; min-height: 0; scrollbar-width: none; }
.kcard { display: grid; gap: .1rem; width: 100%; padding: .4rem .35rem; border: 1px solid var(--line); border-radius: 6px; background: #0b110e; color: var(--text); text-align: left; cursor: pointer; font-family: var(--font-body); transition: border-color .2s; }
.kcard b { font-size: .66rem; font-weight: 600; line-height: 1.2; overflow-wrap: anywhere; }
.kcard small { font: 400 .6rem var(--font-mono); color: var(--muted); }
.kcard:hover:not(:disabled) { border-color: var(--blue); }
.kcard:disabled { cursor: default; border-color: rgba(25, 240, 139, .35); }
.kcard--new { border-color: var(--green); animation: kin .5s ease-out; }
@keyframes kin { from { transform: translateY(-.4rem); opacity: 0; } }
.kanban__tip { color: var(--green-text); font-size: .72rem; line-height: 1.3; min-height: 2em; }
.kanban__sum li { padding: .4rem 0; font-size: .78rem; }
@media (max-width: 34rem) { .tab { padding: .5rem .7rem; font-size: .82rem; } }
@media (prefers-reduced-motion: reduce) { .kcard--new { animation: none; } }

/* Hoy vs con JBC Tech */
.compare__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); margin-top: clamp(2rem, 4vw, 3rem); }
.compare__col h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; letter-spacing: -0.015em; margin-bottom: 1rem; }
.compare__col--before h3 { color: var(--muted); }
.compare__col li { padding: 1.1rem 0; border-top: 1px solid var(--line); }
.compare__col li:last-child { border-bottom: 1px solid var(--line); }
.compare__col--before li { color: var(--muted); }
.compare__col--after li { position: relative; padding-left: 1.5rem; }
.compare__col--after li::before { content: ''; position: absolute; left: 0; top: 1.65rem; width: .55rem; height: .55rem; background: var(--green); }
@media (max-width: 52rem) { .compare__grid { grid-template-columns: 1fr; } }

/* Leads */
.leads { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); margin-top: clamp(3.5rem, 7vw, 6rem); align-items: center; }
.leads__title { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.6rem, 3vw, 2.3rem); line-height: 1.08; letter-spacing: -0.025em; margin-bottom: 1.1rem; max-width: 22ch; }
.leads__steps { margin-top: 1.75rem; display: grid; }
.leads__steps div { display: grid; grid-template-columns: 8rem 1fr; gap: 1rem; padding: 1rem 0; border-top: 1px solid var(--line); }
.leads__steps div:last-child { border-bottom: 1px solid var(--line); }
.leads__steps dt { font-family: var(--font-display); font-weight: 700; }
.leads__steps dd { color: var(--muted); }
.pipeline__head { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: .9rem; border-bottom: 1px solid var(--line); font-family: var(--font-display); font-weight: 700; }
.pipeline__head small { font: 400 .78rem var(--font-body); color: var(--muted); }
.pipeline__list li { display: grid; grid-template-columns: 5.5rem 1fr auto; gap: .75rem; align-items: center; padding: .8rem 0; border-bottom: 1px solid var(--line); font-size: .92rem; }
.chan { font: 400 .78rem var(--font-mono); color: var(--muted); }
.stage { font: 500 .76rem var(--font-body); padding: .25rem .6rem; border-radius: 999px; border: 1px solid var(--line-strong); white-space: nowrap; }
.stage--new { border-color: var(--blue); color: var(--blue-text); }
.stage--quote { border-color: var(--yellow-text); color: var(--yellow-text); }
.stage--follow { border-color: var(--line-strong); color: var(--muted); }
.stage--won { border-color: var(--green); color: var(--green-text); }
.pipeline__auto { margin-top: .9rem; font-size: .82rem; color: var(--green-text); }
@media (max-width: 52rem) { .leads { grid-template-columns: 1fr; } }
@media (max-width: 34rem) { .leads__steps div { grid-template-columns: 1fr; gap: .2rem; } .pipeline__list li { grid-template-columns: 1fr auto; } .pipeline__list .chan { grid-column: 1 / -1; } }

/* Servicios */
.services__head { display: grid; gap: 1.25rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.svc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 5vw, 4.5rem); padding-block: clamp(2.25rem, 4.5vw, 3.5rem); border-top: 1px solid var(--line); align-items: center; }
.svc:last-child { border-bottom: 1px solid var(--line); }
.svc__name { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.7rem, 3.4vw, 2.6rem); line-height: 1.05; letter-spacing: -0.025em; }
.svc__text { margin-top: 1rem; color: var(--muted); max-width: 50ch; }
.svc__list { margin-top: 1.4rem; display: grid; gap: .5rem; }
.svc__list li { padding-left: 1.4rem; position: relative; }
.svc__list li::before { content: ''; position: absolute; left: 0; top: .7em; width: .55rem; height: .55rem; background: var(--green); }
.svc--set .svc__name { font-size: clamp(1.9rem, 3.8vw, 3rem); }
.svc--set .svc__list li::before { background: var(--blue); }
@media (max-width: 52rem) { .svc { grid-template-columns: 1fr; } }

.viz { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 1.25rem; }

/* Viz web */
.browser__bar { display: flex; align-items: center; gap: .4rem; padding-bottom: .9rem; border-bottom: 1px solid var(--line); margin-bottom: 1rem; }
.browser__bar i { width: .55rem; height: .55rem; border-radius: 50%; background: var(--line-strong); }
.browser__url { margin-left: .6rem; font: 400 .8rem var(--font-mono); color: var(--muted); }
.sk { background: var(--surface-2); border-radius: 4px; }
.browser__hero { height: 4.2rem; display: grid; gap: .5rem; align-content: center; }
.browser__hero .sk:nth-child(1) { width: 70%; height: .9rem; background: var(--green); }
.browser__hero .sk:nth-child(2) { width: 45%; height: .6rem; }
.browser__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; margin-top: .8rem; }
.browser__cols .sk { height: 3.6rem; }
.browser__cols .sk:nth-child(2) { background: rgba(43, 89, 255, .3); }
.viz__tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.tag { font: 500 .78rem var(--font-mono); padding: .3rem .6rem; border: 1px solid var(--line-strong); border-radius: 999px; color: var(--muted); }

/* Viz apps */
.appflow { display: grid; gap: .6rem; }
.appflow__row { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .75rem .9rem; border: 1px solid var(--line); border-radius: 8px; font-size: .95rem; }
.appflow__row span { font: 400 .78rem var(--font-mono); color: var(--muted); }
.appflow__row--end { border-color: var(--green); }
.appflow__row--end span { color: var(--green-text); }

/* Viz red del sistema */
.graph { padding: 1rem; }
.graph svg { width: 100%; height: auto; }
.graph text { fill: var(--text); font: 600 13px var(--font-body); }
.graph__link { stroke: var(--green); stroke-opacity: .6; stroke-width: 1.5; stroke-dasharray: 4 6; animation: flow 1.8s linear infinite; }
.graph__nodes circle { fill: var(--green); }
.graph__core { fill: var(--blue); }
.graph .graph__core-text { fill: #fff; font-weight: 700; }
@keyframes flow { to { stroke-dashoffset: -20; } }

/* Oferta */
.offer { background: var(--panel); border-block: 1px solid var(--line); }
.offer__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.price { display: flex; align-items: baseline; gap: 1.25rem; margin-top: 2rem; flex-wrap: wrap; }
.price__old { color: var(--muted); text-decoration: line-through; font-size: 1.4rem; }
.price__now { font-family: var(--font-display); font-weight: 800; font-size: clamp(3rem, 7vw, 5rem); letter-spacing: -0.035em; line-height: 1; color: var(--green-text); }
.price__meta { margin-top: .75rem; color: var(--muted); font-size: .95rem; }
.offer__cta { margin-top: 2rem; }
.includes { display: grid; gap: 0; }
.includes li { padding: 1.1rem 0; border-top: 1px solid var(--line); }
.includes li:last-child { border-bottom: 1px solid var(--line); }
.includes strong { display: block; font-weight: 600; }
.includes span { color: var(--muted); font-size: .95rem; }
@media (max-width: 52rem) { .offer__grid { grid-template-columns: 1fr; } }

/* Proceso (secuencia real) */
.process__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 6vw, 5rem); }
.process__intro { display: grid; gap: 1.25rem; align-content: start; position: sticky; top: 6rem; }
.steps { counter-reset: step; display: grid; }
.step { counter-increment: step; display: grid; grid-template-columns: 3rem 1fr; gap: 1rem; padding-block: 1.5rem; border-top: 1px solid var(--line); }
.step:last-child { border-bottom: 1px solid var(--line); }
.step::before { content: counter(step); font: 500 1.1rem var(--font-mono); color: var(--green-text); padding-top: .15rem; }
.step h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; letter-spacing: -0.015em; }
.step p { margin-top: .4rem; color: var(--muted); max-width: 55ch; }
@media (max-width: 52rem) { .process__grid { grid-template-columns: 1fr; } .process__intro { position: static; } }

/* Por qué */
.why__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 5rem); }
.proof { margin-top: 2rem; padding: 1.4rem; border-left: 3px solid var(--green); background: var(--surface); max-width: 46ch; }
.pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem 2rem; align-content: start; }
.pillar h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; }
.pillar p { margin-top: .4rem; color: var(--muted); font-size: .98rem; }
@media (max-width: 52rem) { .why__grid { grid-template-columns: 1fr; } }
@media (max-width: 34rem) { .pillars { grid-template-columns: 1fr; } }

/* FAQ */
.faq__list { margin-top: 2.5rem; max-width: 52rem; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 1.25rem 2.5rem 1.25rem 0; font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: .25rem; top: 50%; transform: translateY(-50%); font: 400 1.6rem var(--font-mono); color: var(--green-text); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 2.5rem 1.4rem 0; color: var(--muted); max-width: 62ch; }

/* Contacto */
.contact { border-top: 1px solid var(--line); background: var(--panel); }
.contact__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 6vw, 5rem); }
.contact__data { margin-top: 2.5rem; display: grid; gap: 1.1rem; }
.contact__data dt { color: var(--muted); font-size: .88rem; }
.contact__data dd { font-weight: 500; }
.contact__data a { text-decoration-color: var(--green); text-underline-offset: 3px; }
.form { display: grid; gap: 1.1rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field { display: grid; gap: .4rem; }
.field label { font-size: .92rem; font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 3rem; padding: .7rem .9rem;
  background: var(--black); color: var(--text);
  border: 1px solid var(--line-strong); border-radius: var(--radius);
  font: inherit;
}
.field textarea { min-height: 7.5rem; resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--green); outline-offset: 1px; border-color: var(--green); }
.field [aria-invalid="true"] { border-color: var(--err-border); }
.form__error { color: var(--err); font-size: .95rem; min-height: 0; }
.form__result { padding: 1rem; border: 1px solid var(--green); border-radius: var(--radius); }
.form__result a { color: var(--green-text); font-weight: 600; }
.form__help { color: var(--muted); font-size: .88rem; }
@media (max-width: 52rem) { .contact__grid { grid-template-columns: 1fr; } }
@media (max-width: 34rem) { .form__row { grid-template-columns: 1fr; } }

/* Footer */
.footer { border-top: 1px solid var(--line); padding-block: 2.25rem; color: var(--muted); font-size: .92rem; }
.footer__row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem 2rem; align-items: center; }
.footer__links { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--text); }

/* WhatsApp flotante */
.wa-float { position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 60; display: grid; place-items: center; width: 3.5rem; height: 3.5rem; background: #25d366; color: #fff; border-radius: 50%; text-decoration: none; box-shadow: 0 10px 30px -10px rgba(37, 211, 102, .65); transition: transform .2s; }
.wa-float:hover { background: #20bd5a; transform: scale(1.06); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Páginas legales */
.legal { padding-block: clamp(3rem, 7vw, 5.5rem) var(--section); }
.legal__inner { max-width: 46rem; }
.legal h1 { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.04; letter-spacing: -0.03em; }
.legal__meta { margin-top: 1rem; color: var(--muted); font-size: .95rem; }
.legal h2 { font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; letter-spacing: -0.015em; margin-top: 2.75rem; }
.legal p, .legal ul { margin-top: .9rem; color: var(--legal-text); }
.legal ul { display: grid; gap: .5rem; }
.legal li { padding-left: 1.4rem; position: relative; }
.legal li::before { content: ''; position: absolute; left: 0; top: .72em; width: .5rem; height: .5rem; background: var(--green); }
.legal a { text-decoration-color: var(--green); text-underline-offset: 3px; }
.legal strong { color: var(--text); font-weight: 600; }

/* Grafo de fondo: fijo en el lado izquierdo, se desplaza con el scroll */
.net { position: fixed; top: 0; left: 0; width: 56vw; height: 100vh; height: 100dvh; z-index: 0; pointer-events: none; opacity: .9;
  -webkit-mask-image: linear-gradient(90deg, #000 0%, rgba(0,0,0,.6) 28%, transparent 88%), linear-gradient(180deg, transparent 0, #000 12%, #000 85%, transparent 100%);
  -webkit-mask-composite: source-in;
          mask-image: linear-gradient(90deg, #000 0%, rgba(0,0,0,.6) 28%, transparent 88%), linear-gradient(180deg, transparent 0, #000 12%, #000 85%, transparent 100%);
          mask-composite: intersect; }
@media (max-width: 52rem) { .net { width: 100vw; opacity: .42; } }
main, .footer { position: relative; z-index: 1; }
/* Sombra suave detrás del texto del hero para que el grafo no reste legibilidad */
.hero__copy { position: relative; isolation: isolate; }
.hero__copy::before { content: ''; position: absolute; inset: -2.5rem -4rem; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse at 42% 50%, rgba(var(--scrim-rgb), .7) 0%, rgba(var(--scrim-rgb), .45) 45%, transparent 75%); }

/* Menú lateral (móvil y tablet) */
.menu-btn { display: none; width: 2.75rem; height: 2.75rem; flex: none; align-items: center; justify-content: center; border: 1px solid var(--line-strong); border-radius: var(--radius); background: transparent; color: var(--text); cursor: pointer; transition: border-color .2s; }
.menu-btn:hover { border-color: var(--text); }
.menu-btn svg { width: 1.3rem; height: 1.3rem; }
.nav a[aria-current="true"] { color: var(--text); text-decoration: underline; text-decoration-color: var(--green); text-decoration-thickness: 2px; text-underline-offset: 8px; }
.drawer-overlay { position: fixed; inset: 0; z-index: 80; background: var(--overlay); opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility 0s linear .25s; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 90; width: min(22rem, 88vw); display: flex; flex-direction: column; overflow-y: auto; background: var(--drawer-bg); border-left: 1px solid var(--line); transform: translateX(100%); visibility: hidden; transition: transform .3s cubic-bezier(.2,.8,.2,1), visibility 0s linear .3s; padding-bottom: env(safe-area-inset-bottom); }
.drawer-open .drawer-overlay { opacity: 1; visibility: visible; transition-delay: 0s; }
.drawer-open .drawer { transform: none; visibility: visible; transition-delay: 0s; }
html.drawer-open, html.drawer-open body { overflow: hidden; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: .9rem 1rem .9rem 1.25rem; min-height: 4.25rem; border-bottom: 1px solid var(--line); }
.drawer__title { font-family: var(--font-display); font-weight: 800; font-size: 1.1rem; }
.drawer__close { width: 2.75rem; height: 2.75rem; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line-strong); border-radius: var(--radius); background: transparent; color: var(--text); cursor: pointer; }
.drawer__close svg { width: 1.2rem; height: 1.2rem; }
.drawer__nav a { display: grid; gap: .1rem; padding: 1.05rem 1.25rem; border-bottom: 1px solid var(--line); text-decoration: none; transition: background-color .2s; }
.drawer__nav b { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; letter-spacing: -0.015em; }
.drawer__nav small { color: var(--muted); font-size: .9rem; }
.drawer__nav a:hover { background: var(--hover-bg); }
.drawer__nav a[aria-current="true"] { background: rgba(25,240,139,.08); box-shadow: inset 3px 0 0 var(--green); }
.drawer__foot { margin-top: auto; padding: 1.25rem; display: grid; gap: 1rem; }
.drawer__mail { color: var(--muted); text-decoration: none; font-size: .95rem; }
.drawer__legal { display: flex; gap: 1.25rem; color: var(--muted); font-size: .88rem; }
.drawer__legal a { text-decoration: none; }
@media (max-width: 64rem) {
  .menu-btn { display: inline-flex; }
  .header__row { gap: .6rem; }
  .header .btn { margin-left: auto; }
}
@media (min-width: 64.01rem) { .drawer, .drawer-overlay { display: none; } }


/* Herramientas: idioma y tema */
.header__end { display: flex; align-items: center; gap: .75rem; }
.tools { display: flex; align-items: center; gap: .35rem; }
.tool-btn { box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; gap: .4rem; flex: none; width: 2.5rem; height: 2.5rem; padding: 0; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--muted); font: 600 .82rem/1 var(--font-body); text-align: center; cursor: pointer; -webkit-appearance: none; appearance: none; -webkit-tap-highlight-color: transparent; user-select: none; transition: color .2s, border-color .2s, background-color .2s; }
.tool-btn.lang__btn { width: 4.5rem; }
.tool-btn svg { flex: none; }
.tool-btn:hover, .tool-btn[aria-expanded="true"] { color: var(--text); border-color: var(--line-strong); }
.tool-btn:active { color: var(--text); background: var(--hover-bg); transform: none; }
.lang { position: relative; }
.lang__menu { position: absolute; right: 0; top: calc(100% + .5rem); z-index: 70; min-width: 9.5rem; padding: .3rem; border: 1px solid var(--line-strong); border-radius: 12px; background: var(--drawer-bg); box-shadow: 0 16px 40px -16px rgba(0, 0, 0, .5); }
.lang__menu[hidden] { display: none; }
.lang__menu button { width: 100%; text-align: left; padding: .55rem .75rem; border: 0; border-radius: 8px; background: transparent; color: var(--text); font: 500 .92rem var(--font-body); cursor: pointer; }
.lang__menu button:hover { background: var(--hover-bg); }
.lang__menu button[aria-current="true"] { color: var(--green-text); font-weight: 600; }
.ico-moon { display: none; }
:root[data-theme="light"] .ico-sun { display: none; }
:root[data-theme="light"] .ico-moon { display: block; }
.brand .logo--light { display: none; }
:root[data-theme="light"] .brand .logo--dark { display: none; }
:root[data-theme="light"] .brand .logo--light { display: block; }
.btn .hide-s::before { content: "\00a0"; }
.drawer__tools { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding-bottom: 1rem; margin-bottom: .25rem; border-bottom: 1px solid var(--line); }
.seg { display: inline-flex; padding: .2rem; border: 1px solid var(--line-strong); border-radius: 999px; }
.seg button { min-width: 2.6rem; height: 2.2rem; border: 0; border-radius: 999px; background: transparent; color: var(--muted); font: 600 .82rem var(--font-body); cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--green); color: var(--green-ink); }
@media (max-width: 64rem) { .header .tools { display: none; } }

.header__end .btn { flex: none; }
.footer__legal { flex-basis: 100%; font-size: .85rem; }

/* Demos */
.demos__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: clamp(1.75rem, 4vw, 2.75rem); }
.demo-card { display: grid; gap: .3rem; align-content: start; padding: 1.1rem 1.2rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); color: var(--text); text-align: left; text-decoration: none; font-family: var(--font-body); cursor: pointer; transition: border-color .2s, transform .2s; }
.demo-card b { font: 700 1.1rem var(--font-display); letter-spacing: -0.01em; }
.demo-card small { color: var(--muted); font-size: .95rem; line-height: 1.45; }
.demo-card:hover { border-color: var(--green-text); }
.demo-card--other { border-style: dashed; }
@media (max-width: 52rem) { .demos__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 34rem) { .demos__grid { grid-template-columns: 1fr; } }

/* Demo: agente IA */
.chat { display: flex; flex-direction: column; gap: .4rem; flex: 1; min-height: 0; overflow-y: auto; scrollbar-width: none; }
.bubble { max-width: 88%; padding: .5rem .65rem; border-radius: 12px; font-size: .78rem; line-height: 1.35; }
.bubble--bot { align-self: flex-start; background: var(--surface-2); border-bottom-left-radius: 4px; }
.bubble--me { align-self: flex-end; background: var(--blue); color: #fff; border-bottom-right-radius: 4px; }
.bubble--sys { align-self: center; max-width: 100%; background: transparent; border: 1px solid var(--green-text); color: var(--green-text); font-size: .7rem; text-align: center; }
.bubble--typing { color: var(--muted); letter-spacing: .15em; }
.chat__prompt { color: var(--muted); font-size: .7rem; }
.chips { display: grid; gap: .3rem; }
.chip { padding: .5rem .65rem; border: 1px solid var(--line-strong); border-radius: 999px; background: transparent; color: var(--text); font: 500 .74rem var(--font-body); text-align: left; cursor: pointer; transition: border-color .2s; }
.chip:hover:not(:disabled) { border-color: var(--green-text); }
.chip:disabled { opacity: .45; cursor: default; }
.chips:empty, .chips:empty + .kanban__tip { display: none; }

/* Demos: tiempo real (teléfono) y escenarios en pantalla grande */












.showcase { position: relative; min-width: 0; overflow-wrap: anywhere; margin-top: 1.5rem; padding: clamp(1.1rem, 3vw, 1.75rem); border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--panel); scroll-margin-top: 5.5rem; }
.showcase[hidden], .scene[hidden] { display: none; }
.stage__close { position: absolute; top: .9rem; right: .9rem; min-height: 2.25rem; padding: 0 .9rem; border: 1px solid var(--line-strong); border-radius: 999px; background: transparent; color: var(--text); font: 600 .82rem var(--font-body); cursor: pointer; }
.stage__close:hover { border-color: var(--green-text); }
.scene__title { margin: 0 4.5rem 1.1rem 0; font: 700 1.25rem var(--font-display); letter-spacing: -0.01em; }
.stage__fine { margin-top: 1.1rem; color: var(--muted); font-size: .85rem; line-height: 1.45; }
.split { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 1rem; align-items: stretch; }
.pane { display: flex; flex-direction: column; gap: .65rem; min-width: 0; padding: 1rem; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.pane--chat .chat { min-height: 15rem; max-height: 19rem; }
.pane--chat .bubble { font-size: .92rem; }
.pane--chat .chip { font-size: .88rem; }
.pane--chat .chat__prompt { font-size: .82rem; }
.pane--solo { max-width: 34rem; }
.pane__h { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: .5rem; margin: 0; font: 700 1rem var(--font-display); }
.pane__h small { color: var(--muted); font: 500 .8rem var(--font-body); }
.leadcard { display: grid; gap: .6rem; margin: 0; }
.leadcard div { display: grid; gap: .1rem; padding-bottom: .6rem; border-bottom: 1px solid var(--line); }
.leadcard dt { color: var(--muted); font-size: .8rem; }
.leadcard dd { margin: 0; font-weight: 600; transition: color .3s; }
.leadcard dd.is-new { color: var(--green-text); }
@media (max-width: 52rem) { .split { grid-template-columns: minmax(0, 1fr); } .scene__title { margin-right: 0; padding-top: 2.6rem; } }

.erp__tabs { display: flex; gap: .3rem; margin-bottom: 1rem; overflow-x: auto; scrollbar-width: none; }
.erp__tab { flex: none; min-height: 2.5rem; padding: 0 1.1rem; border: 1px solid var(--line-strong); border-radius: 999px; background: transparent; color: var(--muted); font: 600 .9rem var(--font-body); cursor: pointer; }
.erp__tab[aria-pressed="true"] { background: var(--green); border-color: var(--green); color: var(--green-ink); }
.erp__kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; margin-bottom: 1rem; }
.erp__kpi { padding: .8rem 1rem; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.erp__kpi small { display: block; color: var(--muted); font-size: .8rem; }
.erp__kpi b { font: 700 1.35rem var(--font-display); }
.erp__body, .sen__wrap { overflow-x: auto; }
.tbl { width: 100%; min-width: 30rem; border-collapse: collapse; font-size: .92rem; }
.tbl th { padding: .55rem .7rem; text-align: left; color: var(--muted); font-weight: 500; font-size: .8rem; border-bottom: 1px solid var(--line-strong); }
.tbl td { padding: .65rem .7rem; border-bottom: 1px solid var(--line); }
.tbl .num { text-align: right; font-variant-numeric: tabular-nums; }
.tbl tr.is-new td { background: rgba(25, 240, 139, .08); }
.tbl .low { color: var(--yellow-text); font-weight: 600; }
.tbl button { min-height: 2rem; padding: 0 .8rem; border: 1px solid var(--line-strong); border-radius: 999px; background: transparent; color: var(--text); font: 600 .8rem var(--font-body); cursor: pointer; }
.tbl button:hover { border-color: var(--green-text); }
.erp__add { margin-top: 1rem; }
.sen__top { margin-bottom: 1rem; }
.sen__table { width: 100%; min-width: 34rem; border-collapse: collapse; font-size: .92rem; }
.sen__table th { padding: .55rem .7rem; text-align: left; color: var(--muted); font-weight: 500; font-size: .8rem; border-bottom: 1px solid var(--line-strong); }
.sen__table td { padding: .65rem .7rem; border-bottom: 1px solid var(--line); }
.sen__table .ok { color: var(--green-text); }
.sen__table .crit { color: var(--err); font-weight: 700; }
.sen__table .med { color: var(--yellow-text); font-weight: 700; }
.sen__table .idle { color: var(--muted); }
.sen__out { margin-top: 1rem; display: grid; gap: .5rem; }
.sen__out p { margin: 0; padding: .7rem .9rem; border: 1px solid var(--line); border-radius: 10px; font-size: .92rem; line-height: 1.45; }
.sen__out p.crit { border-color: var(--err-border); }
.sen__out p.med { border-color: var(--yellow-text); }
.sen__out p.mail { border-color: var(--green-text); color: var(--green-text); }
@media (max-width: 40rem) { .erp__kpis { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .rt-item, .leadcard dd { transition: none; } }
.erp__add[hidden] { display: none; }

.tab:nth-child(n+4) { grid-column: span 3; }

/* GPS en tiempo real: mapa claro estilo Pan-App */
.gps { position: relative; overflow: hidden; border: 1px solid var(--line-strong); border-radius: 16px; background: #f1f9fc; }
.gps svg { display: block; width: 100%; height: auto; }
.gps__bg { fill: #f1f9fc; }
.gps__water { fill: #dcf0f8; }
.gps__minor { fill: none; stroke: #a9dcee; stroke-width: 1.2; }
.gps__major { fill: none; stroke: #78c4de; stroke-width: 2.6; stroke-linecap: round; }
.gps__lbl { fill: #5a8ea3; font: italic 600 10px var(--font-body); letter-spacing: .08em; }
.gps__me { fill: #4a90e2; stroke: #fff; stroke-width: 3; }
.gps__pulse { fill: rgba(74, 144, 226, .28); animation: gpsp 2s ease-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes gpsp { from { transform: scale(.5); opacity: 1; } to { transform: scale(1.7); opacity: 0; } }
.gpin { cursor: default; outline: none; }
.gpin__body { fill: #6f9fc4; stroke: #fff; stroke-width: 2.5; stroke-linejoin: round; }
.gpin--car .gpin__body { fill: #4a90e2; }
.gpin--bus .gpin__body { fill: #fbbf24; }
.gpin--gen .gpin__body { fill: #94a3b8; }
.gpin--car .gpin__dot { fill: #fff; }
.gpin__win { fill: #fff; }
.gpin__dot { fill: #0f172a; }
.gps__route { fill: none; stroke: #4a90e2; stroke-width: 3; stroke-dasharray: 7 6; stroke-linecap: round; }
@keyframes gpr { from { transform: scale(.6); opacity: 1; } to { transform: scale(1.9); opacity: 0; } }
.gps__top { position: absolute; top: .6rem; left: .6rem; right: .6rem; padding: .55rem .9rem; border-radius: 999px; background: #fffaf0; color: #0f172a; font-size: .85rem; text-align: center; box-shadow: 0 4px 14px rgba(15, 23, 42, .18); }
.gps__push { position: absolute; left: .6rem; right: .6rem; bottom: .6rem; margin: 0; padding: .6rem .9rem; border-radius: 12px; background: #0f172a; color: #39ff14; font-size: .85rem; font-weight: 600; box-shadow: 0 6px 18px rgba(15, 23, 42, .3); }
.gps__push:empty { display: none; }
.gps__info { margin-top: .8rem; padding: .9rem 1rem; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.gps__hint { margin: 0 0 .6rem; color: var(--muted); font-size: .9rem; }
.gps__units { display: grid; gap: .5rem; margin: 0; padding: 0; list-style: none; }
.gps__units li { display: flex; justify-content: space-between; gap: .6rem; font-size: .95rem; }
.gps__units em { font-style: normal; font-weight: 600; color: var(--green-text); font-variant-numeric: tabular-nums; }
.gps__btns { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .9rem; }
.gps__consent { display: flex; align-items: flex-start; gap: .6rem; margin-bottom: .8rem; font-size: .92rem; cursor: pointer; }
.gps__consent input { flex: none; width: 1.2rem; height: 1.2rem; margin-top: .15rem; accent-color: var(--green); }
@media (max-width: 40rem) { .gps__top { font-size: .75rem; padding: .45rem .7rem; } }
@media (prefers-reduced-motion: reduce) { .gps__pulse, .gpin__ring { animation: none; } }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.check { display: flex; gap: .6rem; align-items: flex-start; font-size: .92rem; line-height: 1.45; color: var(--muted); }
.check input { flex: none; width: 1.15rem; height: 1.15rem; margin-top: .15rem; accent-color: var(--green); }
.check a { color: var(--green-text); }
.form__help a { color: var(--green-text); font-weight: 600; }

/* Modal de promoción */
.promo { width: min(26rem, calc(100vw - 2rem)); padding: 2rem 1.5rem 1.5rem; border: 1px solid var(--green); border-radius: 20px; background: var(--surface); color: var(--text); box-shadow: 0 24px 80px rgba(0, 0, 0, .5); }
.promo::backdrop { background: rgba(0, 0, 0, .65); }
.promo[open] { animation: promoIn .3s cubic-bezier(.2, .8, .2, 1); }
.promo__x { position: absolute; top: .5rem; right: .6rem; width: 2.75rem; height: 2.75rem; border: 0; background: transparent; color: var(--muted); font-size: 1.8rem; line-height: 1; cursor: pointer; }
.promo__x:hover { color: var(--text); }
.promo__tag { margin: 0 0 .5rem; color: var(--green-text); font-weight: 700; font-size: .9rem; }
.promo__h { margin: 0 0 1rem; font: 700 1.5rem/1.2 var(--font-display); }
.promo__price { margin: 0 0 .8rem; display: flex; align-items: baseline; flex-wrap: wrap; gap: .6rem; }
.promo__price s { color: var(--muted); }
.promo__price b { font: 800 2.4rem/1 var(--font-display); color: var(--green-text); }
.promo__price small { color: var(--muted); }
.promo__p { margin: 0 0 1.2rem; color: var(--muted); }
.promo__cta { display: flex; width: 100%; justify-content: center; }
.promo__more { display: block; margin-top: .9rem; text-align: center; color: var(--muted); text-decoration: underline; }
@keyframes promoIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .promo[open] { animation: none; } }
.promo__urgent { display: inline-flex; align-items: center; gap: .5rem; margin: 0 0 1rem; padding: .35rem .8rem; border-radius: 999px; background: rgba(251, 191, 36, .16); color: var(--yellow-text); font-weight: 700; font-size: .95rem; }
.promo__urgent::before { content: ""; width: .55rem; height: .55rem; border-radius: 50%; background: currentColor; animation: promoDot 1.2s ease-in-out infinite; }
@keyframes promoDot { 50% { opacity: .25; } }
@media (prefers-reduced-motion: reduce) { .promo__urgent::before { animation: none; } }
.offer__h { margin: 2rem 0 .4rem; font: 700 1.05rem var(--font-display); color: var(--green-text); }
.offer__h:first-child { margin-top: 0; }
.offer__no { margin: 0; color: var(--muted); font-size: .95rem; }
@media (min-width: 52.01rem) { .offer__grid > div:first-child { position: sticky; top: 6rem; } }
