/* Botito · landing
   Una sola tipografía, un solo acento, sin etiquetas ni mayúsculas decorativas. */

:root {
  --paper: #F5F2EB;
  --surface: #FBFAF6;
  --paper-2: #FFFDF7;
  --ink: #141613;
  --forest: #173D30;
  --forest-deep: #0F2C23;
  --clay: #A94D28;
  --lime: #CCE600;
  --muted: #62665D;
  --faint: #6B6F65;
  --line: rgba(20, 22, 19, .14);
  --line-soft: rgba(20, 22, 19, .08);
  --line-dark: rgba(245, 242, 235, .18);
  --radius: 20px;
  --ease: cubic-bezier(.22, .61, .36, 1);

  --space-xs: .5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 2.5rem;
  --space-2xl: 4rem;
  --space-3xl: 5rem;
  --space-4xl: 8rem;

  --radius-sm: .375rem;
  --radius-md: .75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-2xl: 2rem;
  --radius-3xl: 3rem;
  --radius-pill: 999px;

  --text-hero: clamp(2.7rem, 7.1vw, 6.8rem);
  --text-h2: clamp(2.2rem, 5.4vw, 5rem);
  --text-section: clamp(1.06rem, 1.25vw, 1.18rem);
  --gutter: clamp(20px, 2.8vw, 40px);
  --header-height: 60px;
  interpolate-size: allow-keywords;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 64px; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Satoshi", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
::selection { background: var(--clay); color: var(--paper); }

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

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  height: 2px;
  background: var(--forest);
  transform: scaleX(0);
  transform-origin: 0 50%;
  pointer-events: none;
}

.ticker.is-paused .ticker-track { animation-play-state: paused; }

.skip {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 100;
  background: var(--forest);
  color: var(--paper);
  padding: 10px 16px;
  border-radius: 999px;
  transition: top .3s var(--ease);
}
.skip:focus { top: 16px; }


.header-blur {
  position: absolute;
  inset: -22px 0 2px;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}
.header-blur span { position: absolute; inset: 0; }
.header-blur span:nth-child(1) {
  backdrop-filter: blur(1px);
  -webkit-backdrop-filter: blur(1px);
  mask-image: linear-gradient(to bottom, transparent 55%, #000 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 55%, #000 100%);
}
.header-blur span:nth-child(2) {
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  mask-image: linear-gradient(to bottom, transparent 35%, #000 65%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 35%, #000 65%, transparent 100%);
}
.header-blur span:nth-child(3) {
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  mask-image: linear-gradient(to bottom, transparent 10%, #000 40%, transparent 72%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 10%, #000 40%, transparent 72%);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  justify-content: center;
  padding: 18px 16px 6px;
  pointer-events: none;
  background: transparent;
  transition: padding .3s var(--ease);
}
.site-header::before {
  content: "";
  position: absolute;
  inset: 0 0 -26px;
  z-index: -3;
  pointer-events: none;
  background: none;
  backdrop-filter: blur(9px);
  -webkit-backdrop-filter: blur(9px);
  mask-image: linear-gradient(to bottom, #000 34%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, #000 34%, transparent 100%);
  opacity: 0;
  transition: opacity .3s var(--ease);
}
.site-header.is-scrolled::before { opacity: 1; }
.site-header.is-scrolled { padding-top: 10px; }

.nav {
  pointer-events: auto;
  width: max-content;
  max-width: min(1180px, calc(100vw - 32px));
  margin: 0 auto;
  padding: 7px 8px 7px 20px;
  display: flex;
  align-items: center;
  gap: 28px;
  border-radius: 999px;
  background: rgba(23, 61, 48, .94);
  border: 1px solid rgba(245, 242, 235, .14);
  box-shadow: 0 18px 40px -26px rgba(20, 22, 19, .7);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  transition: background .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.is-scrolled .nav {
  background: rgba(23, 61, 48, .98);
  box-shadow: 0 20px 44px -28px rgba(20, 22, 19, .8);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 1.24rem;
  font-weight: 700;
  letter-spacing: -.03em;
}
.brand img { border-radius: 8px; }
.brand-dot { color: var(--clay); }

.nav-links { display: flex; gap: 28px; font-size: .84rem; color: var(--muted); }
.nav-links a { position: relative; transition: color .25s var(--ease); }
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -7px;
  height: 1px;
  background: var(--clay);
  transition: right .3s var(--ease);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after,
.nav-links a.is-active::after { right: 0; }
.nav-links a.is-active { color: var(--ink); }

.nav-item { position: relative; }
.nav-trigger {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: .84rem;
  color: var(--muted);
  cursor: pointer;
  transition: color .25s var(--ease);
}
.nav-trigger svg { width: 11px; height: 11px; transition: transform .25s var(--ease); }
.nav-trigger:hover,
.nav-trigger[aria-expanded="true"] { color: var(--ink); }
.nav-trigger[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav-link { padding: 8px 0; color: var(--muted); }
.nav-link:hover { color: var(--ink); }

.nav-panel {
  position: absolute;
  top: calc(100% + 18px);
  left: 50%;
  width: 310px;
  padding: 8px;
  border-radius: 18px;
  background: rgba(255, 253, 247, .98);
  border: 1px solid var(--line);
  box-shadow: 0 28px 60px -34px rgba(20, 22, 19, .5);
  transform-origin: top center;
  transform: translateX(-50%) translateY(-6px) scale(.98);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
  z-index: 60;
}
.nav-panel.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0) scale(1);
}
.nav-panel a {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 12px;
  border-radius: 11px;
}
.nav-panel a::after { display: none; }
.nav-panel a:hover { background: rgba(23, 61, 48, .05); }
.nav-panel strong { font-size: .82rem; font-weight: 600; color: var(--ink); }
.nav-panel span { font-size: .72rem; line-height: 1.35; color: var(--muted); }

.nav-toggle {
  display: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: transparent;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 14px;
  height: 1.5px;
  background: var(--ink);
  transition: transform .25s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(2.75px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-2.75px) rotate(-45deg); }

.mobile-menu { display: none; pointer-events: auto; }


.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 11px 12px 11px 20px;
  font-size: .9rem;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition: transform .2s var(--ease), background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.btn:active { transform: scale(.98); }

.btn-dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: .95rem;
  transition: transform .2s var(--ease);
}

.btn-primary { background: var(--forest); color: var(--paper); }
.btn-primary .btn-dot { background: var(--lime); color: var(--forest); }
.btn-primary:hover { background: var(--forest-deep); }

.nav .btn-primary { background: var(--lime); color: var(--ink); }
.nav .btn-primary .btn-dot { background: var(--ink); color: var(--lime); }
.nav .btn-primary:hover { background: #D8F01A; }

.btn-ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn-ghost .btn-dot { background: rgba(20, 22, 19, .06); }
.btn-ghost:hover { border-color: rgba(20, 22, 19, .28); }

.btn-light { background: var(--lime); color: var(--ink); }
.btn-light .btn-dot { background: var(--ink); color: var(--lime); }
.btn-light:hover { background: #D8F01A; }

.btn-sm { min-height: 46px; padding: 8px 8px 8px 16px; font-size: .8rem; }
.btn-label-short { display: none; }
.btn-sm .btn-dot { width: 28px; height: 28px; font-size: .85rem; }


.hero {
  position: relative;
  max-width: 1440px;
  margin: 0 auto;
  padding: 112px var(--gutter) 72px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  column-gap: 56px;
  align-items: start;
}

/* Titular y teléfono arrancan a la misma altura. */
.hero-text { min-width: 0; }
.hero-head { position: relative; }
.hero-copy { position: relative; z-index: 1; margin-top: 30px; }
.hero-demo {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  max-width: 100%;
  margin-left: 0;
  scroll-margin-top: 116px;
}

h1 .line { display: block; position: relative; }
h1 .line > span {
  position: relative;
  display: inline-block;
  animation: lineIn .8s var(--ease) backwards;
}
h1 .line:nth-child(2) > span { animation-delay: .08s; }
.scribble {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -.1em;
  display: block;
  color: var(--clay);
  pointer-events: none;
}
.scribble svg { display: block; width: 100%; height: .14em; }

h1 {
  margin: 0;
  font-size: var(--text-hero);
  font-weight: 700;
  line-height: .96;
  letter-spacing: -.042em;
  text-wrap: nowrap;
}

.lede {
  max-width: 54ch;
  margin: 0;
  font-size: clamp(1.08rem, 1.35vw, 1.24rem);
  line-height: 1.6;
  color: var(--muted);
}

.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }

.note { margin: 18px 0 0; font-size: .8rem; color: var(--faint); }
.note-dark { color: rgba(245, 242, 235, .6); }

.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 26px 0 0;
  font-size: .78rem;
  color: var(--muted);
}
.facts span { color: var(--line); }

.stamp {
  display: inline-block;
  padding: 4px 9px;
  border: 1px solid var(--clay);
  border-radius: 999px;
  color: var(--clay);
  font-size: .62rem;
  font-weight: 600;
  transform: rotate(-3deg);
}

.lede { animation: heroFade .6s var(--ease) .18s backwards; }
.actions { animation: heroFade .6s var(--ease) .24s backwards; }
.hero .note { animation: heroFade .6s var(--ease) .3s backwards; }
.facts { animation: heroFade .6s var(--ease) .36s backwards; }

.hero-demo { display: flex; flex-direction: column; align-items: flex-start; width: 100%; max-width: 420px; margin-left: auto; scroll-margin-top: 116px; }

.tabs {
  display: flex;
  gap: 22px;
  border-bottom: 1px solid var(--line);
  margin: 2px 0 18px;
  align-self: stretch;
}
.tab {
  border: 0;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  padding: 0 0 10px;
  background: none;
  color: var(--muted);
  font-size: .82rem;
  font-weight: 500;
  cursor: pointer;
  transition: color .25s var(--ease), border-color .25s var(--ease);
}
.tab[aria-selected="true"] { color: var(--ink); border-color: var(--clay); }


.phone-shell {
  padding: 9px;
  border-radius: 52px;
  background: #1A1D18;
  box-shadow: 0 34px 64px -34px rgba(20, 22, 19, .5);
}

.phone {
  position: relative;
  width: 330px;
  height: 676px;
  border-radius: 44px;
  overflow: hidden;
  background: #ECE5DD;
  display: flex;
  flex-direction: column;
}

.island {
  position: absolute;
  top: 7px;
  left: 50%;
  transform: translateX(-50%);
  width: 74px;
  height: 17px;
  border-radius: 999px;
  background: #141613;
  z-index: 3;
}

.statusbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 17px 20px 3px;
  font-size: 9px;
  font-weight: 700;
  color: #141613;
}
.status-icons { display: flex; align-items: center; gap: 4px; }
.status-icons svg { height: 9px; width: auto; }

.wa-header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 7px 8px 3px;
  background: #F5F2EB;
  border-bottom: 1px solid rgba(20, 22, 19, .07);
}
.wa-back { width: 17px; color: #54656F; display: grid; place-items: center; }
.wa-back svg { width: 17px; height: 17px; }
.wa-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: -.02em;
  flex: none;
}
.avatar-clay { background: #A8502B; color: #fff; }
.avatar-forest { background: #173D30; color: #F5F2EB; }
.avatar-sage { background: #5E7A5A; color: #F5F2EB; }
.wa-id { min-width: 0; flex: 1; display: flex; flex-direction: column; line-height: 1.25; }
.wa-id strong { display: flex; align-items: center; gap: 3px; font-size: 10.8px; font-weight: 600; color: #141613; }
.wa-id strong span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.verified { width: 11px; height: 11px; flex: none; }
.wa-id > span { font-size: 8.5px; color: #12683A; }
.wa-actions { display: flex; align-items: center; gap: 9px; color: #54656F; margin-left: auto; }
.wa-actions svg { width: 15px; height: 15px; }
.wa-menu { font-size: 14px; line-height: 1; }

.chat {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px 8px 7px;
  overflow-y: auto;
  scrollbar-width: none;
  background-color: #ECE5DD;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140' viewBox='0 0 140 140'%3E%3Cg fill='none' stroke='%23173330' stroke-opacity='.07' stroke-width='1.1' stroke-linecap='round'%3E%3Ccircle cx='18' cy='20' r='5'/%3E%3Cpath d='M44 14c4 0 6 3 6 6s-2 5-5 5h-1v4'/%3E%3Cpath d='M76 16l3 6 7 1-5 5 1 7-6-3-6 3 1-7-5-5 7-1z'/%3E%3Cpath d='M108 14c-6 4-8 10-6 16 6-2 9-8 6-16z'/%3E%3Cpath d='M12 62c6-4 12-2 14 4s-2 10-8 9'/%3E%3Crect x='44' y='56' width='12' height='16' rx='2'/%3E%3Cpath d='M78 58c4 4 4 10 0 14M84 54c7 7 7 17 0 24'/%3E%3Ccircle cx='116' cy='64' r='4'/%3E%3Cpath d='M18 104c4-6 10-6 14 0M44 108l4-7 4 7zM74 100h10v10H74zM104 102c0 4 3 6 6 6s6-2 6-6'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 140px 140px;
}
.chat::-webkit-scrollbar { display: none; }

.day {
  align-self: center;
  padding: 3px 8px;
  border-radius: 5px;
  background: #fff;
  color: #54656F;
  font-size: 7.2px;
  font-weight: 500;
  box-shadow: 0 1px .5px rgba(0, 0, 0, .12);
}

.cipher {
  align-self: center;
  display: flex;
  align-items: center;
  gap: 4px;
  max-width: 92%;
  padding: 5px 8px;
  border-radius: 6px;
  background: #FFF3C7;
  color: #6B5C30;
  font-size: 7.1px;
  line-height: 1.35;
  text-align: left;
}
.cipher svg { width: 10px; height: 10px; flex: none; }

.msg {
  position: relative;
  max-width: 84%;
  padding: 6px 8px 4px;
  border-radius: 8px;
  font-size: 10.9px;
  line-height: 1.4;
  box-shadow: 0 1px .5px rgba(0, 0, 0, .13);
  animation: msgIn .35s var(--ease) both;
}
.msg.customer { align-self: flex-end; background: #D9FDD3; border-top-right-radius: 2px; }
.msg.business { align-self: flex-start; background: #fff; border-top-left-radius: 2px; }
.msg.tail.customer::after {
  content: "";
  position: absolute;
  top: 0;
  right: -7px;
  width: 0;
  height: 0;
  border-top: 7px solid #D9FDD3;
  border-right: 7px solid transparent;
}
.msg.tail.business::after {
  content: "";
  position: absolute;
  top: 0;
  left: -7px;
  width: 0;
  height: 0;
  border-top: 7px solid #fff;
  border-left: 7px solid transparent;
}
.msg-time {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 2px;
  margin-top: 1px;
  font-size: 7.2px;
  color: rgba(0, 0, 0, .58);
}
.ticks { color: #53BDEB; font-size: 7.8px; letter-spacing: -1.5px; }

.product {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 7px;
  margin-top: 5px;
  padding: 5px;
  border-radius: 7px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, .08);
}
.product-thumb {
  width: 40px;
  height: 40px;
  border-radius: 6px;
  display: grid;
  place-items: center;
}
.thumb-steel { background: #E4E6E1; color: #3C443A; }
.thumb-wood { background: #EFE0C9; color: #6B4A2A; }
.thumb-green { background: #DDE7D5; color: #2F4A2A; }
.product-thumb svg { width: 19px; height: 19px; }
.product-info { min-width: 0; }
.product-name { font-size: 9.4px; font-weight: 600; line-height: 1.28; }
.product-meta { font-size: 8px; color: #5A666E; }
.product-price { margin-top: 1px; font-size: 9.6px; font-weight: 700; color: #141613; }
.product-link { display: inline-block; margin-top: 3px; font-size: 8px; font-weight: 600; color: #256985; }
.product-fresh {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  margin-left: 6px;
  font-size: 7.2px;
  color: #5A666E;
  font-variant-numeric: tabular-nums;
}
.product-fresh svg { width: 8px; height: 8px; }

.typing {
  align-self: flex-start;
  display: flex;
  gap: 3px;
  padding: 8px 10px;
  border-radius: 8px;
  border-top-left-radius: 2px;
  background: #fff;
  box-shadow: 0 1px .5px rgba(0, 0, 0, .13);
}
.typing span {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(20, 22, 19, .3);
  animation: blink 1.2s infinite;
}
.typing span:nth-child(2) { animation-delay: .15s; }
.typing span:nth-child(3) { animation-delay: .3s; }

.wa-input {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 7px 8px;
}
.wa-field {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 8px;
  border-radius: 999px;
  background: #fff;
  color: #667781;
  font-size: 9.3px;
}
.wa-field span { flex: 1; white-space: nowrap; overflow: hidden; color: #57646C; }
.wa-text {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  padding: 0;
  font: inherit;
  font-size: 10px;
  color: #141613;
  outline: none;
}
.wa-text::placeholder { color: #54656F; }
.wa-field:focus-within { box-shadow: 0 0 0 1.5px rgba(23, 61, 48, .45); }
.wa-field svg { width: 14px; height: 14px; flex: none; color: #54656F; }
.send {
  border: 0;
  cursor: pointer;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #00A884;
  color: #fff;
  flex: none;
}
.send svg { width: 15px; height: 15px; }

.statement {
  background-color: var(--forest);
  color: var(--paper);
  padding: 112px max(var(--gutter), calc((100vw - 1360px) / 2));
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 72px;
  align-items: end;
}

.statement-text {
  max-width: 14ch;
  margin: 0;
  font-size: clamp(2rem, 5.2vw, 4.8rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -.04em;
}
.statement-text span { color: var(--paper); }
.statement-text strong { color: var(--lime); font-weight: 700; }

.statement-side p {
  margin: 0 0 22px;
  max-width: 44ch;
  font-size: clamp(1.06rem, 1.42vw, 1.34rem);
  line-height: 1.6;
  color: rgba(245, 242, 235, .74);
}
.statement-side p:first-child {
  font-size: clamp(1.12rem, 1.55vw, 1.46rem);
  line-height: 1.55;
  font-weight: 500;
  color: rgba(245, 242, 235, .94);
}
.statement-side p:last-child { margin-bottom: 0; }

/* ---------- registro en vivo del héroe ---------- */

.hero-log {
  margin: 52px 0 0;
  max-width: 640px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 253, 247, .55);
  overflow: hidden;
}
.hero-log-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line-soft);
  background: rgba(23, 61, 48, .035);
  font-size: .74rem;
  color: var(--faint);
}
.hero-log-mark {
  width: 24px;
  height: 24px;
  border-radius: 7px;
  flex: none;
}
.hero-log-head strong { font-weight: 600; color: var(--ink); }
.hero-log-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  font-size: .7rem;
  font-weight: 500;
  color: var(--forest);
}
.hero-log-live i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 1px rgba(23, 61, 48, .35);
  animation: livePulse 2.6s ease-out infinite;
}

.hero-log ol { list-style: none; margin: 0; padding: 6px 14px 8px; }
.hero-log li {
  position: relative;
  display: grid;
  grid-template-columns: 14px 44px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 9px 0 9px 0;
  font-size: .86rem;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .26s var(--ease), transform .26s var(--ease);
}
/* espina de traza: la línea que une los pasos del registro */
.hero-log li::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(23, 61, 48, .14);
}
.hero-log li:first-child::before { top: 50%; }
.hero-log li:last-child::before { bottom: 50%; }

.hl-dot {
  position: relative;
  z-index: 1;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid rgba(23, 61, 48, .35);
  transition: background .35s var(--ease), box-shadow .35s var(--ease);
}
.hero-log li.is-in { opacity: 1; transform: none; }
.hero-log li.is-in .hl-dot { background: var(--forest); border-color: var(--forest); }
.hero-log li.is-current .hl-dot {
  background: var(--lime);
  border-color: var(--forest);
  box-shadow: 0 0 0 3px rgba(204, 230, 0, .3);
}
.hero-log li.is-current { animation: logIn .3s var(--ease); }

.hl-time { color: var(--faint); font-size: .76rem; font-variant-numeric: tabular-nums; }
.hl-what { color: var(--ink); }
.hl-tag {
  padding: 2px 8px;
  border: 1px solid rgba(23, 61, 48, .16);
  border-radius: 999px;
  background: rgba(23, 61, 48, .05);
  font-size: .7rem;
  color: var(--forest);
  white-space: nowrap;
}

@keyframes livePulse {
  0% { box-shadow: 0 0 0 0 rgba(204, 230, 0, .55); }
  70% { box-shadow: 0 0 0 7px rgba(204, 230, 0, 0); }
  100% { box-shadow: 0 0 0 0 rgba(204, 230, 0, 0); }
}
@keyframes logIn {
  0% { background: rgba(204, 230, 0, .15); }
  100% { background: transparent; }
}

.metrics {
  max-width: 1440px;
  margin: 0 auto;
  padding: 56px var(--gutter) 60px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-bottom: 1px solid var(--line);
}
.metric { padding-right: 28px; }
.metric + .metric { padding-left: 28px; border-left: 1px solid var(--line); }
.metric strong {
  display: block;
  font-size: clamp(2.6rem, 4.6vw, 4.4rem);
  font-weight: 700;
  line-height: .92;
  letter-spacing: -.045em;
  font-variant-numeric: tabular-nums;
}
.metric > span {
  display: block;
  max-width: 23ch;
  margin-top: 14px;
  font-size: .82rem;
  line-height: 1.45;
  color: var(--muted);
}


.section {
  position: relative;
  z-index: 1;
  max-width: 1440px;
  margin: 0 auto;
  padding: 128px var(--gutter) 64px;
}
.section--sage::before,
.section--clay::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  z-index: -1;
  pointer-events: none;
  background-size: 220px 220px;
  background-repeat: repeat;
}
.section--sage::before { background-color: #E7EFE1; }
.section--clay::before { background-color: #F4E6DD; }

.section-head {
  display: grid;
  grid-template-columns: 1fr .72fr;
  gap: 40px;
  align-items: end;
  margin-bottom: 56px;
}
.section-head h2 {
  margin: 0;
  font-size: var(--text-h2);
  font-weight: 700;
  line-height: .98;
  letter-spacing: -.04em;
  text-wrap: balance;
}
.section-head p { margin: 0; max-width: 42ch; color: var(--muted); font-size: 1.06rem; line-height: 1.6; }


/* ---------- conexión del inventario ---------- */

.flow-demo {
  display: grid;
  grid-template-columns: minmax(0, 284px) minmax(40px, 1fr) auto minmax(40px, 1fr) minmax(0, 284px);
  align-items: center;
  gap: 0;
  max-width: 1040px;
  margin: 8px auto 56px;
  padding: 28px 30px;
  border: 1px solid rgba(23, 61, 48, .14);
  border-radius: var(--radius);
  background: rgba(255, 253, 247, .55);
}

.fd-station {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  min-width: 0;
}

.fd-stage {
  display: grid;
  place-items: center;
  width: 100%;
  height: 112px;
}

.fd-label {
  margin-top: 10px;
  font-size: .74rem;
  font-weight: 500;
  color: var(--muted);
}

.fd-card {
  position: relative;
  width: 100%;
  max-width: 284px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper-2);
  overflow: hidden;
}

.fd-sku {
  font-weight: 600;
  color: var(--ink);
}

.fd-file {
  font-size: .68rem;
  font-weight: 600;
  color: var(--forest);
  letter-spacing: .01em;
}

.fd-row {
  font-size: .7rem;
  line-height: 1.35;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  opacity: .55;
  transition: opacity .3s var(--ease);
}
.flow-demo.is-live .fd-row:nth-child(2) { animation: fdRow .5s var(--ease) .1s both; }
.flow-demo.is-live .fd-row:nth-child(3) { animation: fdRow .5s var(--ease) .3s both; }
.flow-demo.is-live .fd-row:nth-child(4) { animation: fdRow .5s var(--ease) .5s both; }

.fd-scan {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 18px;
  background: linear-gradient(to bottom, transparent, rgba(204, 230, 0, .45), transparent);
  opacity: 0;
}
.flow-demo.is-live .fd-scan { animation: fdScan .9s var(--ease) both; }

.fd-node {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: var(--paper-2);
  border: 1px solid rgba(23, 61, 48, .18);
}
.fd-node img { border-radius: 10px; }
.flow-demo.is-live .fd-node { animation: fdPulse .7s var(--ease) 1.5s both; }

.fd-wire {
  position: relative;
  height: 2px;
  align-self: start;
  margin-top: 55px;
}
.fd-wire::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(to right, rgba(23, 61, 48, .5) 50%, transparent 50%);
  background-size: 10px 2px;
  opacity: .55;
}
.fd-wire i {
  position: absolute;
  top: 50%;
  left: 0;
  width: 6px;
  height: 6px;
  margin-top: -3px;
  border-radius: 50%;
  background: var(--forest);
  opacity: 0;
}
.flow-demo.is-live .fd-wire--in i:nth-child(1) { animation: fdDot .9s linear .9s both; }
.flow-demo.is-live .fd-wire--in i:nth-child(2) { animation: fdDot .9s linear 1.05s both; }
.flow-demo.is-live .fd-wire--in i:nth-child(3) { animation: fdDot .9s linear 1.2s both; }
.flow-demo.is-live .fd-wire--out i:nth-child(1) { animation: fdDot 1s linear 2.2s both; }
.flow-demo.is-live .fd-wire--out i:nth-child(2) { animation: fdDot 1s linear 2.35s both; }

.fd-card--answer { opacity: 0; }
.flow-demo.is-live .fd-card--answer { animation: fdAnswer .6s var(--ease) 3s both; }
.fd-q { font-size: .68rem; color: var(--muted); }
.fd-a {
  font-size: .74rem;
  font-weight: 600;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

@keyframes fdRow {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: none; }
}
@keyframes fdScan {
  0% { opacity: 0; transform: translateY(-6px); }
  15% { opacity: 1; }
  100% { opacity: 0; transform: translateY(74px); }
}
@keyframes fdPulse {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(204, 230, 0, .45); }
  45% { transform: scale(1.06); box-shadow: 0 0 0 10px rgba(204, 230, 0, 0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(204, 230, 0, 0); }
}
@keyframes fdDot {
  0% { left: 0; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { left: calc(100% - 6px); opacity: 0; }
}
@keyframes fdAnswer {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

.steps-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.step-row {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 24px;
  padding: 28px 0 30px;
  border-bottom: 1px solid var(--line);
}
.step-num {
  font-size: .82rem;
  font-weight: 600;
  color: var(--clay);
  font-variant-numeric: tabular-nums;
}
.step-body h3 { margin: 0 0 6px; font-size: 1.08rem; font-weight: 700; letter-spacing: -.01em; }
.step-body p { margin: 0; max-width: 62ch; font-size: .92rem; line-height: 1.65; color: var(--muted); }


.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
}
.feature {
  padding: 28px 44px 32px 0;
  border-bottom: 1px solid var(--line);
}
.feature:nth-child(even) {
  padding-left: 44px;
  padding-right: 0;
  border-left: 1px solid var(--line);
}
.feature h3 { margin: 0 0 8px; font-size: 1rem; font-weight: 700; letter-spacing: -.01em; }
.feature p { margin: 0; max-width: 46ch; font-size: .9rem; line-height: 1.65; color: var(--muted); }

.compare { max-width: 900px; border-top: 1px solid var(--line); }
.compare-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-size: .92rem;
}
.compare-head { font-size: .76rem; color: var(--muted); }
.compare-row span:first-child { color: var(--muted); }
.compare-row span:last-child { color: var(--ink); font-weight: 600; }
.compare-head span:last-child { color: var(--muted); font-weight: 400; }


/* ---------- impacto: dónde se van los leads ---------- */

.impact {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: 24px;
  align-items: stretch;
}

.impact-controls {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
}

.impact-tabs {
  display: flex;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(23, 61, 48, .06);
}
.impact-tab {
  flex: 1;
  min-height: 34px;
  padding: 0 12px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: .8rem;
  font-weight: 500;
  cursor: pointer;
  transition: background .2s var(--ease), color .2s var(--ease), box-shadow .2s var(--ease);
}
.impact-tab[aria-selected="true"] {
  background: var(--paper-2);
  color: var(--ink);
  box-shadow: 0 1px 2px rgba(20, 22, 19, .12);
}

.impact-sample {
  margin: 16px 0 22px;
  padding: 12px 14px;
  border-left: 2px solid var(--clay);
  background: rgba(169, 77, 40, .05);
  border-radius: 0 10px 10px 0;
  font-size: .88rem;
  line-height: 1.5;
  color: var(--ink);
}

.impact-field {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 12px;
  padding: 14px 0 4px;
  border-top: 1px solid var(--line-soft);
  font-size: .82rem;
  color: var(--muted);
}
.impact-field output {
  font-size: .82rem;
  font-weight: 600;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.impact-field input[type="range"] {
  grid-column: 1 / -1;
  width: 100%;
  height: 24px;
  margin: 0;
  accent-color: var(--forest);
  cursor: pointer;
}

.impact-kpis {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-auto-rows: 1fr;
  align-content: stretch;
  gap: 12px;
}
.kpi {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 6px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
}
.kpi strong {
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.045em;
  font-variant-numeric: tabular-nums;
}
.kpi-label { font-size: .76rem; color: var(--muted); }
.kpi-delta {
  align-self: flex-start;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(23, 61, 48, .07);
  font-size: .68rem;
  color: var(--muted);
}
.kpi-delta.is-up { background: rgba(204, 230, 0, .28); color: var(--forest); }
.kpi-delta.is-down { background: rgba(169, 77, 40, .12); color: #96421f; }
.kpi.is-win { border-color: rgba(23, 61, 48, .22); }

.impact-bars { margin-top: 24px; display: grid; gap: 14px; }
.impact-bar {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr) 52px;
  gap: 16px;
  align-items: center;
  font-size: .82rem;
  color: var(--muted);
}
.impact-bar strong { text-align: right; color: var(--ink); font-variant-numeric: tabular-nums; }
.bar {
  height: 8px;
  border-radius: 999px;
  background: rgba(20, 22, 19, .09);
  overflow: hidden;
}
.bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--clay);
  transition: width .45s var(--ease);
}
.impact-bar.is-bot .bar i { background: var(--forest); }
.impact-bar.is-bot { color: var(--ink); }

.calc {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 28px;
  margin-bottom: 18px;
}
.calc-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.calc-head h3 { margin: 0; font-size: 1.02rem; font-weight: 700; letter-spacing: -.01em; }
.calc-head p { margin: 6px 0 0; font-size: .84rem; color: var(--muted); }
.calc-number { text-align: right; line-height: 1; }
.calc-number strong { display: block; font-size: 2.3rem; font-weight: 700; letter-spacing: -.04em; color: var(--forest); font-variant-numeric: tabular-nums; }
.calc-number span { font-size: .72rem; color: var(--faint); }
.range { width: 100%; height: 24px; margin: 26px 0 12px; accent-color: var(--forest); cursor: pointer; }
.calc-result { display: flex; justify-content: space-between; gap: 16px; font-size: .82rem; color: var(--muted); }
.calc-note { margin: 14px 0 0; padding-top: 14px; border-top: 1px solid var(--line-soft); font-size: .78rem; color: var(--faint); }
.calc-plan strong { color: var(--ink); }


.price-table {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  margin-top: 24px;
}
.price-col {
  position: relative;
  padding: 28px;
  display: flex;
  flex-direction: column;
  border: 0;
  border-left: 1px solid var(--line);
  background: transparent;
  transform: translateY(8px);
  filter: saturate(.6) blur(.35px);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease),
    background .35s var(--ease), border-color .35s var(--ease), filter .35s var(--ease);
}
.price-col:first-child { border-left: 0; border-radius: var(--radius) 0 0 var(--radius); }
.price-col:last-child { border-radius: 0 var(--radius) var(--radius) 0; }
/* La recomendada se levanta y el resto retrocede: profundidad, no opacidad,
   para no bajar el contraste del texto. */
.price-col.is-recommended {
  transform: translateY(-18px);
  filter: none;
  border-left-color: transparent;
  border-radius: 18px;
  box-shadow:
    0 44px 80px -46px rgba(15, 44, 35, .8),
    0 0 0 1px rgba(204, 230, 0, .35);
  z-index: 2;
}
.price-col.is-recommended { background: var(--forest); color: var(--paper); }
.price-tag {
  display: none;
  position: absolute;
  top: 28px;
  right: 28px;
  font-size: .72rem;
  font-weight: 600;
  color: var(--clay);
}
.price-head h3 { margin: 0; font-size: 1rem; font-weight: 700; }
.price-head p { margin: 8px 0 0; min-height: 2.7em; font-size: .86rem; line-height: 1.5; color: var(--muted); }
.price-col.is-recommended .price-head p { color: rgba(245, 242, 235, .62); }
.price-col.is-recommended .price-tag { display: inline-block; color: #E3A184; }
.price-value {
  display: flex;
  align-items: baseline;
  gap: 2px;
  margin: 26px 0 24px;
  font-size: clamp(2.2rem, 3vw, 3rem);
  font-weight: 700;
  letter-spacing: -.045em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.price-value span { font-size: .9rem; font-weight: 500; color: var(--muted); }
.price-value em { font-style: normal; font-size: .74rem; font-weight: 400; color: var(--muted); margin-left: 4px; letter-spacing: 0; }
.price-col.is-recommended .price-value span,
.price-col.is-recommended .price-value em { color: rgba(245, 242, 235, .6); }
.price-list { list-style: none; margin: 0 0 26px; padding: 0; display: flex; flex-direction: column; font-size: .86rem; }
.price-list li { display: flex; align-items: baseline; gap: 9px; padding: 9px 0; border-top: 1px solid var(--line-soft); }
.price-col.is-recommended .price-list li { border-color: var(--line-dark); }
.price-list li::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--clay);
  flex: none;
  transform: translateY(-2px);
}
.price-col.is-recommended .price-list li::before { background: #E3A184; }
.price-cta { margin-top: auto; justify-content: space-between; }

/* El botón sigue al foco: la recomendada lleva el lima, el resto queda neutro. */
.price-col.is-recommended .price-cta {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--ink);
}
.price-col.is-recommended .price-cta .btn-dot { background: var(--ink); color: var(--lime); }
.price-col:not(.is-recommended) .price-cta {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}
.price-col:not(.is-recommended) .price-cta .btn-dot { background: rgba(20, 22, 19, .06); color: var(--ink); }
.fine { margin: 18px 0 0; font-size: .74rem; color: var(--faint); }


.faq { max-width: 1080px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0;
  cursor: pointer;
  list-style: none;
  font-size: 1.12rem;
  font-weight: 600;
  letter-spacing: -.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.plus { font-size: 1.5rem; font-weight: 400; color: var(--clay); transition: transform .3s var(--ease); }
.faq details[open] .plus { transform: rotate(45deg); }
.faq details p { margin: 0 0 24px; max-width: 72ch; font-size: .98rem; line-height: 1.7; color: var(--muted); }


.final {
  background-color: var(--forest);
  color: var(--paper);
  padding: 104px max(var(--gutter), calc((100vw - 1360px) / 2));
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: end;
}
.final h2 {
  max-width: 13ch;
  margin: 0;
  font-size: clamp(2.6rem, 6vw, 5.4rem);
  font-weight: 700;
  line-height: .97;
  letter-spacing: -.042em;
}
.final p { margin: 16px 0 0; color: rgba(245, 242, 235, .72); font-size: 1.1rem; }
.final .btn { justify-self: end; }
.final .note { grid-column: 1 / -1; margin: 0; }


.footer {
  max-width: 1440px;
  margin: 0 auto;
  padding: 72px var(--gutter) 40px;
  font-size: .78rem;
  color: var(--faint);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.1fr 2.4fr;
  gap: 56px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--line);
}

.footer-brand-block { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.footer-mark {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 1.24rem;
  font-weight: 700;
  letter-spacing: -.03em;
  color: var(--ink);
}
.footer-mark img { border-radius: 8px; }
.footer-tagline { margin: 0; font-size: .9rem; color: var(--muted); }

.footer-cols {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
}
.footer-col h2 {
  margin: 0 0 12px;
  font-size: .72rem;
  font-weight: 600;
  color: var(--faint);
}
.footer-col a {
  display: block;
  padding: 5px 0;
  font-size: .84rem;
  color: var(--muted);
  transition: color .2s var(--ease);
}
.footer-col a:hover { color: var(--ink); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 24px;
  padding-top: 24px;
  font-size: .74rem;
}
.footer-year { color: var(--faint); }
.footer-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-left: auto;
  color: var(--forest);
}
.footer-status::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #2E8B57;
}

/* ---------- integraciones ---------- */

.integrations {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.integrations-inner {
  display: grid;
  grid-template-columns: .8fr 2.2fr;
  gap: 40px;
  align-items: center;
  padding: 36px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
/* la banda es un separador: la sección que sigue no necesita 128px de aire */
.integrations + .section { padding-top: 72px; }

.integrations h2 { margin: 0; font-size: 1.02rem; font-weight: 600; letter-spacing: -.01em; }
.integrations p { margin: 6px 0 0; font-size: .84rem; color: var(--muted); }
.integrations-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px 20px;
}
.integrations-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .82rem;
  color: var(--muted);
}
.integrations-list li::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--clay);
  flex: none;
}


/* ---------- paleta de búsqueda ---------- */

.nav-search {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 8px;
  border: 1px solid rgba(245, 242, 235, .22);
  border-radius: 999px;
  background: transparent;
  color: rgba(245, 242, 235, .7);
  cursor: pointer;
  transition: color .2s var(--ease), border-color .2s var(--ease);
}
.nav-search svg { width: 13px; height: 13px; }
.nav-search kbd {
  font: inherit;
  font-size: .66rem;
  letter-spacing: .02em;
  color: rgba(245, 242, 235, .55);
}
.nav-search:hover { color: var(--paper); border-color: rgba(245, 242, 235, .4); }

.palette { position: fixed; inset: 0; z-index: 90; display: grid; place-items: start center; padding: 12vh 16px 16px; }
.palette[hidden] { display: none; }
.palette-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 44, 35, .45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.palette-panel {
  position: relative;
  width: min(580px, 100%);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--paper-2);
  box-shadow: 0 44px 90px -40px rgba(15, 44, 35, .6);
  overflow: hidden;
  animation: paletteIn .22s var(--ease) both;
}
.palette-field {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line-soft);
  color: var(--faint);
}
.palette-field > svg { width: 16px; height: 16px; flex: none; }
.palette-field ui-command-input { flex: 1; }
.palette-field input {
  width: 100%;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: .96rem;
  color: var(--ink);
  outline: none;
}
.palette-field input::placeholder { color: var(--faint); }
.palette-field kbd {
  font: inherit;
  font-size: .66rem;
  padding: 2px 6px;
  border: 1px solid var(--line);
  border-radius: 5px;
  color: var(--faint);
}
.palette ui-command { display: block; }
.palette ui-command-list {
  display: block;
  max-height: min(52vh, 420px);
  overflow-y: auto;
  padding: 6px;
}
.palette ui-command-group { display: block; padding: 4px 0 8px; }
.palette ui-command-group-label {
  display: block;
  padding: 8px 10px 6px;
  font-size: .68rem;
  font-weight: 600;
  color: var(--faint);
}
.palette ui-command-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 10px;
  cursor: pointer;
  scroll-margin: 8px;
}
.palette ui-command-item[aria-selected="true"] { background: rgba(23, 61, 48, .07); }
.palette ui-command-item-text { font-size: .9rem; font-weight: 500; color: var(--ink); }
.palette ui-command-empty {
  display: block;
  padding: 18px 16px;
  font-size: .86rem;
  color: var(--muted);
}
.palette-open { overflow: hidden; }

@keyframes paletteIn {
  from { opacity: 0; transform: translateY(-8px) scale(.99); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 860px) {
  .nav-search { display: none; }
  .palette { padding-top: 8vh; }
}

@media (prefers-reduced-motion: reduce) {
  .palette-panel { animation: none; }
}

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

.name-form {
  display: flex;
  align-items: center;
  gap: 4px;
  width: 100%;
  margin: 0 0 20px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper-2);
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.name-form:focus-within {
  border-color: rgba(23, 61, 48, .4);
  box-shadow: 0 0 0 3px rgba(23, 61, 48, .08);
}
.name-form input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  padding: 8px 12px;
  font: inherit;
  font-size: .78rem;
  color: var(--ink);
  outline: none;
}
.name-form input::placeholder { color: var(--faint); }
.name-form button {
  flex: none;
  border: 0;
  border-radius: 999px;
  background: var(--forest);
  color: var(--paper);
  padding: 8px 12px;
  font: inherit;
  font-size: .72rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background .3s var(--ease), transform .3s var(--ease);
}
.name-form button:hover { background: var(--forest-deep); }
.name-form button:active { transform: scale(.97); }
.name-form button span { font-size: .85rem; }

/* ---------- probar con tu catálogo ---------- */

.hero-demo.is-dragging {
  outline: 1px dashed rgba(23, 61, 48, .45);
  outline-offset: 10px;
  border-radius: 12px;
}

.catalog-try {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 0 0 16px;
  font-size: .74rem;
  color: var(--faint);
}
.catalog-try-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  border: 1px dashed rgba(23, 61, 48, .35);
  border-radius: 999px;
  color: var(--forest);
  font-weight: 500;
  cursor: pointer;
  transition: background .2s var(--ease), border-color .2s var(--ease);
}
.catalog-try-btn input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.catalog-try-btn:focus-within {
  outline: 2px solid var(--clay);
  outline-offset: 3px;
}
.catalog-try-btn:hover { background: rgba(23, 61, 48, .05); border-color: var(--forest); }
.catalog-try.is-loaded .catalog-try-btn { border-style: solid; background: rgba(204, 230, 0, .22); border-color: rgba(23, 61, 48, .3); }
.catalog-try-note { font-size: .7rem; }
.catalog-try-clear {
  border: 0;
  background: none;
  padding: 0;
  font: inherit;
  font-size: .7rem;
  color: var(--clay);
  text-decoration: underline;
  cursor: pointer;
}

.phone-stage { position: relative; display: grid; place-items: center; width: 100%; }
.phone-shell {
  position: relative;
  z-index: 1;
  transition: transform .25s var(--ease);
  will-change: transform;
}
.hero-demo { animation: surfaceIn .9s var(--ease) .24s backwards; }

.ticker {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
  background: transparent;
}
.ticker-track {
  display: flex;
  gap: 38px;
  width: max-content;
  white-space: nowrap;
  animation: ticker 42s linear infinite;
  will-change: transform;
}
.ticker-track span { display: inline-flex; align-items: center; gap: 10px; font-size: .95rem; color: var(--muted); }
.ticker-track span::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--clay); flex: none; }

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .55s var(--ease), transform .55s var(--ease);
  transition-delay: var(--d, 0ms);
}
.reveal.is-in { opacity: 1; transform: none; }

.feature { transition: background .3s var(--ease); }
.compare-row { transition: background .3s var(--ease); }
.step-num { transition: color .3s var(--ease), transform .3s var(--ease); }
.tab:hover { color: var(--ink); }
.price-col:not(.is-recommended) { transition: background .3s var(--ease); }
.faq details[open] p { animation: faqIn .35s var(--ease) backwards; }

@supports (interpolate-size: allow-keywords) {
  .faq details::details-content {
    block-size: 0;
    overflow: hidden;
    transition: block-size .3s ease-out, content-visibility .3s allow-discrete;
  }
  .faq details[open]::details-content { block-size: auto; }
}

/* ---------- quién está detrás ---------- */

.behind {
  max-width: 1440px;
  margin: 0 auto;
  padding: 56px var(--gutter);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 40px;
  align-items: center;
  border-top: 1px solid var(--line);
}
.behind h2 {
  margin: 0 0 10px;
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  font-weight: 700;
  letter-spacing: -.025em;
}
.behind p {
  margin: 0;
  max-width: 68ch;
  font-size: .92rem;
  line-height: 1.65;
  color: var(--muted);
}

.final { position: relative; overflow: hidden; max-width: 1440px; margin: 0 auto; }
.final > * { position: relative; z-index: 1; }

@keyframes msgIn {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: none; }
}
@keyframes blink {
  0%, 60%, 100% { opacity: .3; }
  30% { opacity: 1; }
}

@keyframes lineIn {
  from { opacity: .15; filter: blur(8px); transform: translateY(.22em); }
  to { opacity: 1; filter: none; transform: none; }
}
@keyframes heroFade {
  from { opacity: 0; filter: blur(6px); transform: translateY(12px); }
  to { opacity: 1; filter: none; transform: none; }
}
@keyframes surfaceIn {
  from { opacity: 0; filter: blur(8px); transform: translateY(40px); }
  to { opacity: 1; filter: none; transform: none; }
}
@keyframes ticker {
  to { transform: translateX(-50%); }
}
@keyframes faqIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: none; }
}


.lang-select {
  appearance: none;
  border: 1px solid rgba(245, 242, 235, .3);
  background-color: transparent;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none' stroke='%23F5F2EB' stroke-width='1.4'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 9px center;
  background-size: 9px;
  color: rgba(245, 242, 235, .9);
  border-radius: 999px;
  padding: 6px 24px 6px 11px;
  font: inherit;
  font-size: .74rem;
  font-weight: 500;
  letter-spacing: .02em;
  cursor: pointer;
}
.lang-select option { color: var(--ink); background: var(--paper); }
.lang-select:focus-visible { outline: 2px solid var(--lime); outline-offset: 2px; }

.aeo {
  max-width: 1440px;
  margin: 0 auto;
  padding: 96px var(--gutter);
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 56px;
  border-top: 1px solid var(--line);
}
.aeo h2 {
  margin: 0 0 18px;
  font-size: clamp(1.9rem, 3.6vw, 3.2rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -.038em;
}
.aeo p { margin: 0; max-width: 46ch; font-size: 1.12rem; line-height: 1.6; color: var(--muted); }
.aeo strong { color: var(--ink); font-weight: 600; }
.aeo-facts { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 28px 36px; }
.aeo-facts dt { font-size: .82rem; font-weight: 600; color: var(--clay); }
.aeo-facts dd { margin: 6px 0 0; font-size: 1.04rem; line-height: 1.55; color: var(--muted); }

@media (max-width: 1120px) {
  .hero { grid-template-columns: minmax(0, 1fr) 366px; column-gap: 40px; }
  .phone { width: 312px; height: 650px; }
}

@media (max-width: 1024px) {
  .hero { padding-top: 112px; grid-template-columns: minmax(0, 1fr) 330px; column-gap: 32px; }
  .phone { width: 290px; height: 604px; }
  .statement { grid-template-columns: 1fr; row-gap: 56px; }
  .statement-text { max-width: 18ch; }
}

@media (max-width: 860px) {
  .nav-links { display: none; }
  .hero { padding-bottom: 70px; grid-template-columns: 1fr; row-gap: 38px; }
  .hero-text { max-width: 640px; }
  .hero-copy { margin-top: 26px; }
  .hero-demo { align-items: center; max-width: 420px; margin: 34px auto 0; }
  .tabs { align-self: stretch; }
  .name-form { width: 100%; }
  .section { padding: 88px var(--gutter) 56px; }
  .section-head { grid-template-columns: 1fr; gap: 12px; }
  .features-grid { grid-template-columns: 1fr; }
  .feature { padding: 26px 0 30px; }
  .feature:nth-child(even) { padding-left: 0; border-left: 0; }
  .price-table { grid-template-columns: 1fr; }
  .price-col {
    transform: none;
    filter: none;
    border-left: 0;
    border-top: 1px solid var(--line);
    border-radius: 0;
  }
  .price-col:first-child { border-top: 0; border-radius: var(--radius) var(--radius) 0 0; }
  .price-col:last-child { border-radius: 0 0 var(--radius) var(--radius); }
  .price-col.is-recommended { transform: none; border-top-color: transparent; border-radius: 14px; }
  .price-tag { top: 22px; right: 22px; }
  .impact { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 36px; }
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 24px 20px; }
  .footer-status { margin-left: 0; }
  .integrations-inner { grid-template-columns: 1fr; gap: 20px; }
  .integrations-list { grid-template-columns: 1fr 1fr; }
  .impact-bar { grid-template-columns: 130px minmax(0, 1fr) 46px; gap: 10px; }
  .behind { grid-template-columns: 1fr; gap: 22px; align-items: start; }
  .final { grid-template-columns: 1fr; align-items: start; }
  .final .btn { justify-self: start; }
  .final .note { grid-column: auto; }
  .metrics { grid-template-columns: 1fr 1fr; gap: 32px var(--gutter); padding: 44px var(--gutter) 48px; }
  .metric + .metric { padding-left: 0; border-left: 0; }
  .metric:nth-child(even) { padding-left: 24px; border-left: 1px solid var(--line); }
  .aeo { grid-template-columns: 1fr; gap: 28px; padding: 64px var(--gutter); }
  .nav .btn-sm { order: 2; margin-left: auto; }
  .nav-toggle { order: 3; }
}

@media (max-width: 560px) {
  .site-header { padding: 14px 12px 4px; }
  .nav {
    width: calc(100vw - 24px);
    max-width: none;
    justify-content: space-between;
    gap: 8px;
    padding: 6px 8px 6px 14px;
  }
  .nav .brand { font-size: 1.05rem; }
  .nav .btn-sm {
    order: 2;
    margin-left: auto;
    padding-left: 12px;
    white-space: nowrap;
  }
  .nav-toggle { order: 3; flex: none; }
  .btn-label-full { display: none; }
  .btn-label-short { display: inline; }
  .hero { padding: 118px var(--gutter) 58px; }
  h1 { font-size: clamp(2.55rem, 10.4vw, 3.3rem); line-height: 1; letter-spacing: -.038em; }
  .hero { row-gap: 32px; }
  .lede { font-size: 1rem; }
  .actions .btn { width: 100%; justify-content: space-between; }
  .facts {
    display: block;
    margin-top: 22px;
    font-size: .8rem;
    line-height: 1.95;
  }
  .facts span { display: inline; margin: 0 5px; color: var(--line); }
  .phone { width: min(306px, 84vw); height: auto; aspect-ratio: 330 / 676; }
  .phone-shell { padding: 8px; border-radius: 48px; }
  .statement { padding: 64px var(--gutter); }
  .section { padding: 88px var(--gutter) 56px; }
  .section-head { margin-bottom: 40px; }
  .aeo { padding: 52px var(--gutter); }
  .aeo p { font-size: 1rem; line-height: 1.6; }
  .aeo-facts { grid-template-columns: 1fr; gap: 22px; }
  .aeo-facts dd { font-size: 1rem; }
  .metrics { padding: 30px var(--gutter); gap: 32px; }
  .metric strong { font-size: 2.4rem; }
  .metric > span { font-size: .76rem; }
  .name-form { width: 100%; }
  .name-form input { padding: 12px; }
  .name-form button { padding: 8px 10px; }
  .ticker-track span { font-size: .74rem; }
  .flow-demo {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 22px 18px;
    margin-bottom: 40px;
  }
  .fd-wire { width: 2px; height: 28px; justify-self: center; margin-top: 0; }
  .fd-stage { height: auto; }
  .fd-label { margin-top: 12px; }
  .fd-wire::before {
    background-image: linear-gradient(to bottom, rgba(23, 61, 48, .35) 50%, transparent 50%);
    background-size: 2px 10px;
  }
  .fd-wire i { display: none; }
  .step-row { grid-template-columns: 52px 1fr; gap: 14px; }
  .calc { padding: 24px 20px; }
  .calc-head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .calc-number { text-align: left; }
  .calc-result { flex-direction: column; gap: 4px; }
  .price-col { padding: 24px 20px; }
  .impact-controls { padding: 18px; }
  .impact-kpis { grid-template-columns: 1fr 1fr; gap: 8px; }
  .kpi { padding: 14px; }
  .impact-bar { grid-template-columns: 1fr 44px; }
  .impact-bar .bar { grid-column: 1 / -1; order: 3; }
  .final { padding: 64px var(--gutter); }
  .footer { padding: 26px 20px 34px; gap: 12px; }
}

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .mobile-menu.is-open {
    display: block;
    animation: menuIn .22s var(--ease);
    position: fixed;
    top: 82px;
    left: 12px;
    right: 12px;
    z-index: 60;
    max-height: calc(100dvh - 100px);
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 8px;
    border-radius: 20px;
    background: var(--paper-2);
    border: 1px solid var(--line);
    box-shadow: 0 28px 60px -34px rgba(20, 22, 19, .5);
  }
  .mobile-menu a,
  .mobile-menu summary {
    display: block;
    padding: 12px 10px;
    border-bottom: 1px solid var(--line-soft);
    font-size: .9rem;
    color: var(--ink);
  }
  .mobile-menu > :last-child { border-bottom: 0; }
  .mobile-menu details a {
    padding-left: 24px;
    font-size: .84rem;
    color: var(--muted);
  }
  .mobile-menu summary {
    position: relative;
    cursor: pointer;
    font-weight: 600;
    list-style: none;
  }
  .mobile-menu summary::after {
    content: "+";
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--clay);
    font-size: 1rem;
  }
  .mobile-menu details[open] summary::after { content: "−"; }
  .mobile-menu summary::-webkit-details-marker { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .flow-demo .fd-row,
  .flow-demo .fd-card--answer { opacity: 1 !important; transform: none !important; }
  .flow-demo .fd-row,
  .flow-demo .fd-card--answer,
  .flow-demo .fd-node { animation: none !important; }
  .flow-demo .fd-scan,
  .flow-demo .fd-wire i { display: none !important; }
  .price-col { transition: none; }
  .hero-log li { opacity: 1; transform: none; animation: none; }
  .hero-log-live i { animation: none; }
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}


/* header forest: overrides de color al final para ganar especificidad */
.nav .brand { color: var(--paper); }
.nav .brand-dot { color: var(--lime); }
.nav .nav-links { color: rgba(245, 242, 235, .68); }
.nav .nav-links a { color: rgba(245, 242, 235, .68); }
.nav .nav-links a:hover,
.nav .nav-links a.is-active { color: var(--paper); }
.nav .nav-links a::after { background: var(--lime); }
.nav .nav-trigger { color: rgba(245, 242, 235, .68); }
.nav .nav-trigger:hover,
.nav .nav-trigger[aria-expanded="true"] { color: var(--paper); }
.nav .nav-link { color: rgba(245, 242, 235, .68); }
.nav .nav-link:hover { color: var(--paper); }
.nav .nav-toggle { border-color: rgba(245, 242, 235, .28); }
.nav .nav-toggle span { background: var(--paper); }


@keyframes menuIn {
  from { opacity: 0; transform: translateY(-6px) scale(.98); }
  to { opacity: 1; transform: none; }
}


@media (hover: hover) and (pointer: fine) {
  .btn:hover .btn-dot { transform: translate(2px, -2px); }
  .feature:hover { background: rgba(23, 61, 48, .035); }
  .compare-row:hover { background: rgba(23, 61, 48, .035); }
  .step-row:hover .step-num { color: var(--forest); transform: translateX(4px); }
  .price-col:not(.is-recommended):hover { background: #fff; }
  .ticker:hover .ticker-track { animation-play-state: paused; }
}


@media (max-width: 860px) {
  .mobile-menu .mobile-langs { display: flex; gap: 8px; padding: 12px 10px; border-bottom: 1px solid var(--line-soft); }
  .mobile-menu .mobile-langs a {
    display: inline-flex;
    align-items: center;
    padding: 4px 9px;
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: .72rem;
    color: var(--muted);
  }
  .mobile-menu .mobile-langs a.is-active { border-color: var(--forest); color: var(--forest); }
}

/* ---------- ancho de la columna del demo ----------
   Formulario, pestañas y teléfono comparten un solo ancho para no dar
   saltos de 36 px por lado. Debe ir después de los @media de .phone. */

@media (min-width: 861px) {
  .hero { --phone-w: 330px; }
  .phone { width: var(--phone-w); }
  .hero-demo { max-width: calc(var(--phone-w) + 18px); }
}

@media (min-width: 861px) and (max-width: 1120px) {
  .hero { --phone-w: 312px; }
}

@media (min-width: 861px) and (max-width: 1024px) {
  .hero { --phone-w: 290px; }
}
