/* ============================================================
   Perigon WP — Landing
   Tokens
   ============================================================ */
:root {
  --ink: #1d1d1f;
  --ink-2: #424245;
  --gray: #6e6e73;
  --soft: #a1a1a6;
  --line: #e6e6ea;
  --mist: #f5f5f7;
  --paper: #ffffff;
  --orange: #fe5100;
  --orange-2: #ff7a33;
  --green: #1fa855;
  --wa: #25d366;
  --blue-read: #34b7f1;

  --r-xl: 32px;
  --r-lg: 24px;
  --r-md: 16px;
  --r-sm: 12px;

  --shadow-card: 0 1px 2px rgba(16, 24, 40, .06), 0 12px 32px -12px rgba(16, 24, 40, .18);
  --ease: cubic-bezier(.22, .8, .2, 1);
  --font: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --mono: 'Geist Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 8px; }
[data-lucide], svg.lucide { width: 1em; height: 1em; stroke-width: 1.75; flex: none; }

.container { width: min(1200px, 100% - 48px); margin-inline: auto; }
.container--narrow { width: min(820px, 100% - 48px); }
.section { padding-block: clamp(80px, 11vw, 150px); }

/* ---------- Type ---------- */
.display {
  font-size: clamp(2.4rem, 5.2vw, 4.4rem);
  font-weight: 600;
  letter-spacing: -.045em;
  line-height: 1.03;
  margin: 0;
  text-wrap: balance;
}
.display--center { text-align: center; margin-inline: auto; max-width: 18ch; }
.display .soft, .h2 .soft { color: var(--soft); }
.display--white { color: #fff; }
.display--white .soft { color: rgba(255,255,255,.72); }
.h2 { font-size: clamp(2rem, 3.6vw, 3rem); font-weight: 600; letter-spacing: -.04em; line-height: 1.06; margin: 0; text-wrap: balance; }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--gray); line-height: 1.55; margin: 0; max-width: 46ch; }
.lead--center { text-align: center; margin: 24px auto 0; }

.split-head {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 48px;
  align-items: end;
  margin-bottom: clamp(48px, 6vw, 80px);
}
.split-head .lead { justify-self: end; }
.split-head__aside { justify-self: end; max-width: 46ch; }
.split-head__aside .lead { max-width: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 40px; padding: 0 18px; border-radius: 999px; border: 0;
  font-size: 15px; font-weight: 500; letter-spacing: -.01em; white-space: nowrap;
  transition: transform .2s var(--ease), background-color .2s, color .2s, box-shadow .2s;
}
.btn:active { transform: scale(.97); }
.btn--lg { height: 52px; padding: 0 24px; font-size: 16px; }
.btn--block { width: 100%; height: 52px; font-size: 16px; }
.btn--dark { background: #000; color: #fff; }
.btn--dark:hover { background: #2a2a2c; }
.btn--ghost { background: rgba(0,0,0,.05); color: var(--ink); }
.btn--ghost:hover { background: rgba(0,0,0,.09); }
.btn--orange { background: var(--orange); color: #fff; box-shadow: 0 8px 24px -8px rgba(254,81,0,.6); }
.btn--orange:hover { background: #ff5f14; }
.btn--lg.btn--orange { padding-right: 8px; }
.btn--glass { background: rgba(255,255,255,.22); color: #fff; text-shadow: 0 1px 8px rgba(20,60,120,.25); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: inset 0 0 0 1px rgba(255,255,255,.35); }
.btn--glass:hover { background: rgba(255,255,255,.28); }
.btn--white { background: #fff; color: var(--ink); }
.btn--white:hover { background: #f1f1f3; }
.btn__icon { width: 36px; height: 36px; border-radius: 50%; background: #000; display: grid; place-items: center; font-size: 18px; }

.pill { display: inline-flex; align-items: center; gap: 10px; height: 34px; padding: 0 12px 0 5px; border-radius: 999px; font-size: 14px; font-weight: 500; }
.pill--glass { background: rgba(255,255,255,.2); color: #fff; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: inset 0 0 0 1px rgba(255,255,255,.35); }
.pill--glass:hover { background: rgba(255,255,255,.3); }
.pill__tag { background: #fff; color: var(--orange); border-radius: 999px; padding: 3px 9px; font-size: 12px; font-weight: 600; }
.pill--soft { background: #fff1e8; color: #c23e00; padding: 0 14px; font-size: 13px; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 0 rgba(254,81,0,.5); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(254,81,0,0); } 100% { box-shadow: 0 0 0 0 rgba(254,81,0,0); } }

.mini-btn { display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border-radius: 999px; background: var(--mist); font-size: 12.5px; font-weight: 500; color: var(--ink); }
.mini-btn--dark { background: #000; color: #fff; }
.mini-btn--ghost { background: transparent; color: var(--gray); }

/* ---------- Nav ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; padding: 26px 0; transition: background-color .3s, box-shadow .3s, padding .3s; }
.nav__inner { width: min(1280px, 100% - 80px); margin-inline: auto; display: flex; align-items: center; gap: 32px; }
.nav__logo img { height: 21px; width: auto; transition: filter .3s; }
.nav__links { display: flex; gap: 28px; margin-left: 24px; }
.nav__links a { font-size: 14.5px; color: rgba(255,255,255,.9); transition: color .2s; }
.nav__links a:hover { color: #fff; }
.nav__actions { margin-left: auto; display: flex; gap: 8px; }
.nav .btn--ghost { background: rgba(255,255,255,.18); color: #fff; }
.nav .btn--dark { background: #fff; color: #000; }
.nav.is-solid { background: rgba(255,255,255,.82); backdrop-filter: saturate(180%) blur(18px); -webkit-backdrop-filter: saturate(180%) blur(18px); box-shadow: 0 1px 0 rgba(0,0,0,.06); padding: 12px 0; }
.nav.is-solid .nav__logo img { filter: brightness(0); }
.nav.is-solid .nav__links a { color: var(--ink-2); }
.nav.is-solid .nav__links a:hover { color: var(--ink); }
.nav.is-solid .btn--ghost { background: rgba(0,0,0,.05); color: var(--ink); }
.nav.is-solid .btn--dark { background: #000; color: #fff; }
.nav__burger { display: none; margin-left: auto; width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(255,255,255,.2); position: relative; }
.nav__burger span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: #fff; transition: transform .3s var(--ease), top .3s; }
.nav__burger span:first-child { top: 16px; } .nav__burger span:last-child { top: 23px; }
.nav.is-solid .nav__burger { background: rgba(0,0,0,.05); }
.nav.is-solid .nav__burger span, .nav.is-open .nav__burger span { background: var(--ink); }
.nav.is-open .nav__burger span:first-child { top: 19.5px; transform: rotate(45deg); }
.nav.is-open .nav__burger span:last-child { top: 19.5px; transform: rotate(-45deg); }
.nav.is-open { background: #fff; }
.nav.is-open .nav__logo img { filter: brightness(0); }
.mobile-menu { display: grid; gap: 4px; padding: 16px 24px 24px; }
.mobile-menu[hidden] { display: none; }
.mobile-menu a:not(.btn) { padding: 12px 0; font-size: 20px; font-weight: 500; letter-spacing: -.02em; border-bottom: 1px solid var(--line); }
.mobile-menu .btn { margin-top: 16px; height: 50px; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  margin: 0 10px 10px;
  border-radius: 0 0 var(--r-xl) var(--r-xl);
  min-height: min(990px, calc(100svh - 10px));
  padding: 144px 0 36px;
  overflow: hidden;
  isolation: isolate;
  display: flex; flex-direction: column; align-items: center;
  color: #fff;
}
.hero__sky {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, #2f72c9 0%, #4f8fdb 22%, #86b6ea 46%, #c4daf1 64%, #ecdcd6 80%, #f9c9a6 92%, #ffb685 100%);
}
.sun {
  position: absolute; left: 50%; bottom: -30%; width: 120%; aspect-ratio: 2.2; translate: -50% 0;
  background: radial-gradient(closest-side, rgba(255,170,110,.75), rgba(255,190,140,.35) 45%, transparent 75%);
  filter: blur(10px);
}

/* Nubes con filtros SVG (feTurbulence) */
.clouds { position: absolute; inset: 0; pointer-events: none; }
.clouds--far { animation: drift 120s linear infinite alternate; opacity: .9; }
.clouds--near { animation: drift 80s linear infinite alternate-reverse; }
@keyframes drift { from { transform: translateX(-4%); } to { transform: translateX(4%); } }
.cloud { position: absolute; width: 500px; height: 275px; transform-origin: 0 0; }
.cloud i { position: absolute; width: 500px; height: 275px; border-radius: 50%; top: -320px; left: -320px; }
.cloud .cb { filter: url(#cloud-back); box-shadow: 300px 300px 30px -20px #fff; }
.cloud .cm { filter: url(#cloud-mid); box-shadow: 300px 340px 70px -60px rgba(214, 178, 170, .55); left: -345px; }
.cloud .cf { filter: url(#cloud-front); box-shadow: 300px 370px 60px -100px rgba(150, 110, 110, .3); left: -345px; }
.c1 { left: -6%; bottom: 8%; transform: scale(1.3); }
.c2 { right: -2%; bottom: 14%; transform: scale(1.1) scaleX(-1); }
.c3 { left: -14%; bottom: -14%; transform: scale(1.9); }
.c4 { left: 30%; bottom: -22%; transform: scale(1.6); }
.c5 { right: -10%; bottom: -16%; transform: scale(2) scaleX(-1); }

.hero__copy { position: relative; z-index: 3; text-align: center; display: flex; flex-direction: column; align-items: center; padding-inline: 24px; }
.hero__title { margin: 24px 0 0; font-size: clamp(2.7rem, 5.6vw, 4.9rem); font-weight: 600; letter-spacing: -.05em; line-height: 1; text-shadow: 0 2px 30px rgba(20,60,120,.15); }
.hero__title .line { display: block; }
.hero__title .line--soft { color: rgba(255,255,255,.66); }
.hero__sub { margin: 24px auto 0; max-width: 56ch; font-size: clamp(1rem, 1.35vw, 1.15rem); color: rgba(255,255,255,.9); line-height: 1.55; }
.hero__ctas { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; justify-content: center; }
.hero__foot { position: relative; z-index: 3; display: flex; align-items: center; gap: 8px; margin: 8px 0 0; font-size: 14px; color: rgba(60,40,40,.75); font-weight: 500; }
.hero__foot svg { color: var(--green); font-size: 16px; }

/* Entrada orquestada */
.load { opacity: 0; transform: translateY(18px); filter: blur(6px); animation: rise 1s var(--ease) forwards; animation-delay: calc(var(--d) * 110ms + 150ms); }
@keyframes rise { to { opacity: 1; transform: none; filter: none; } }

/* ---------- Arco 3D ---------- */
.arc { position: relative; z-index: 2; width: 100%; height: 330px; margin-top: 22px; perspective: 1500px; perspective-origin: 50% 40%; }
.arc__stage { position: absolute; inset: 0; transform-style: preserve-3d; }
.ac {
  position: absolute; left: 50%; top: 50%;
  width: 210px; margin: -120px 0 0 -105px;
  padding: 16px; border-radius: 18px;
  background: rgba(255,255,255,.96); color: var(--ink);
  box-shadow: 0 1px 1px rgba(0,0,0,.04), 0 24px 48px -16px rgba(40, 60, 110, .35);
  font-size: 12.5px; line-height: 1.4;
  backface-visibility: hidden;
  will-change: transform, opacity;
  opacity: 0;
}
.ac__label { display: block; font-size: 11.5px; color: var(--gray); font-weight: 500; margin-bottom: 8px; }
.ac__label--pink { color: #ff9ec2; }
.ac__muted { display: block; color: rgba(255,255,255,.6); font-size: 12px; margin-top: 8px; }
.ac__muted--dark { color: var(--gray); }
.ac--dark { background: #121214; color: #fff; }
.ac--dark .ac__label { color: rgba(255,255,255,.6); }
.ac__big { font-size: 46px; font-weight: 600; letter-spacing: -.05em; line-height: 1; margin: 6px 0 14px; }
.ac__big small { font-size: 20px; color: rgba(255,255,255,.55); letter-spacing: -.02em; }
.bar { height: 6px; border-radius: 9px; background: rgba(0,0,0,.08); overflow: hidden; }
.ac--dark .bar, .bar--dark { background: rgba(255,255,255,.14); }
.bar span { display: block; height: 100%; border-radius: inherit; background: var(--orange); }
.ac--photo { padding: 0; overflow: hidden; height: 250px; width: 190px; margin-left: -95px; }
.ac--photo img { width: 100%; height: 100%; object-fit: cover; }
.ac__photo-cap { position: absolute; inset: auto 10px 10px; padding: 10px 12px; border-radius: 12px; background: rgba(255,255,255,.85); backdrop-filter: blur(10px); display: grid; }
.ac__photo-cap strong { font-size: 13px; }
.ac__photo-cap span { font-size: 11px; color: var(--gray); }
.ac--chat { background: #efeae2; width: 230px; margin-left: -115px; padding: 12px; }
.wa-head { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.wa-head strong { display: block; font-size: 12.5px; }
.wa-head small { display: block; font-size: 10.5px; color: var(--gray); }
.av { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 600; flex: none; color: var(--ink); }
.av--dark { background: #111; color: #fff; }
.av--a { background: #fbd5e5; } .av--b { background: #cdeedd; } .av--c { background: #cfe6fb; } .av--d { background: #ffe3b8; }
.wa-bubble { background: #fff; border-radius: 4px 12px 12px 12px; padding: 9px 10px; font-size: 12px; line-height: 1.45; box-shadow: 0 1px 1px rgba(0,0,0,.06); }
.wa-btn { margin-top: 5px; background: #fff; border-radius: 10px; text-align: center; padding: 7px; font-size: 12px; color: #1a8ad6; font-weight: 500; box-shadow: 0 1px 1px rgba(0,0,0,.06); }
.ac--toast { display: flex; align-items: center; gap: 10px; width: 230px; margin-left: -115px; padding: 14px; background: rgba(18,18,20,.92); color: #fff; }
.ac--toast small { display: block; color: #5ee08f; font-size: 11px; }
.ac--toast strong { font-size: 13.5px; font-weight: 500; }
.ok { width: 26px; height: 26px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; font-size: 15px; flex: none; }
.ac__money { font-size: 26px; font-weight: 600; letter-spacing: -.04em; display: flex; align-items: center; gap: 8px; }
.ac__money em { font-style: normal; font-size: 11px; font-weight: 600; color: var(--green); background: #e3f7ea; padding: 2px 7px; border-radius: 99px; letter-spacing: 0; }
.bars { display: flex; align-items: flex-end; gap: 4px; height: 70px; margin-top: 12px; }
.bars i { flex: 1; height: var(--h); background: #2bb36b; border-radius: 4px 4px 2px 2px; }
.bars i.r { background: #f3958a; }
.ac--orange { background: linear-gradient(160deg, #ff7a33, var(--orange)); color: #fff; height: 200px; display: flex; flex-direction: column; justify-content: space-between; }
.ac__mark { width: 34px; height: 34px; filter: brightness(0) invert(1); }
.ac--orange p { margin: 0; font-size: 17px; font-weight: 600; letter-spacing: -.03em; line-height: 1.15; }
.ac--orange em { font-style: normal; opacity: .75; }
.ac--pass { background: linear-gradient(140deg, #0e1512, #12402a); color: #fff; width: 230px; margin-left: -115px; }
.ac--pass .ac__label { color: rgba(255,255,255,.55); font-size: 10px; letter-spacing: .02em; }
.pass__name { display: block; font-size: 22px; letter-spacing: -.03em; padding-bottom: 10px; border-bottom: 1px dashed rgba(255,255,255,.2); }
.pass__row { display: flex; align-items: center; gap: 18px; margin-top: 10px; }
.pass__row small { display: block; font-size: 10px; color: rgba(255,255,255,.55); }
.pass__row b { font-size: 24px; }
.pass__go { margin-left: auto; width: 42px; height: 42px; border-radius: 50%; background: var(--wa); display: grid; place-items: center; font-size: 20px; box-shadow: 0 0 0 6px rgba(37,211,102,.18); }
.week { display: flex; justify-content: space-between; text-align: center; }
.week span { font-size: 10.5px; color: var(--gray); display: grid; gap: 6px; }
.week b { font-size: 13px; color: var(--ink); width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; font-weight: 500; position: relative; }
.week b.on, .mini-cal b.on { background: #000; color: #fff; }
.week b.dot::after, .mini-cal b.dot::after { content: ''; position: absolute; bottom: -3px; width: 4px; height: 4px; border-radius: 50%; background: var(--orange); }
.agenda-item, .mini-cal__item { margin-top: 12px; padding: 8px 10px; border-radius: 8px; background: #fff1e8; color: #b23a00; font-size: 11.5px; border-left: 3px solid var(--orange); }
.tpl { margin: 0; font-size: 13px; line-height: 1.75; }
.tpl code { font-family: var(--mono); font-size: 11.5px; background: #fff1e8; color: #c23e00; padding: 2px 5px; border-radius: 5px; }
.ac--reminder strong { display: block; font-size: 19px; letter-spacing: -.02em; font-weight: 500; }
.ai-in { background: var(--mist); padding: 8px 10px; border-radius: 10px; font-size: 12.5px; }
.ai-out { margin-top: 8px; display: flex; align-items: center; gap: 6px; padding: 8px 10px; border-radius: 10px; background: #f4efff; color: #5b3fd1; font-weight: 500; font-size: 12.5px; }
.ai-actions { display: flex; gap: 6px; margin-top: 10px; }
.table-viz { position: relative; width: 120px; height: 120px; margin: 6px auto 4px; }
.table-viz__t { position: absolute; inset: 30px; border-radius: 50%; background: var(--mist); display: grid; place-items: center; font-weight: 600; font-size: 18px; }
.table-viz i { position: absolute; left: 50%; top: 50%; width: 16px; height: 16px; margin: -8px; border-radius: 50%; background: var(--orange); }
.table-viz i.e { background: transparent; box-shadow: inset 0 0 0 1.5px #d4d4d8; }
.table-viz i:nth-of-type(1) { transform: rotate(0deg) translateY(-52px); }
.table-viz i:nth-of-type(2) { transform: rotate(36deg) translateY(-52px); }
.table-viz i:nth-of-type(3) { transform: rotate(72deg) translateY(-52px); }
.table-viz i:nth-of-type(4) { transform: rotate(108deg) translateY(-52px); }
.table-viz i:nth-of-type(5) { transform: rotate(144deg) translateY(-52px); }
.table-viz i:nth-of-type(6) { transform: rotate(180deg) translateY(-52px); }
.table-viz i:nth-of-type(7) { transform: rotate(216deg) translateY(-52px); }
.table-viz i:nth-of-type(8) { transform: rotate(252deg) translateY(-52px); }
.table-viz i:nth-of-type(9) { transform: rotate(288deg) translateY(-52px); }
.table-viz i:nth-of-type(10) { transform: rotate(324deg) translateY(-52px); }
.ac .ac__muted--dark { text-align: center; }

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee-wrap { padding: 56px 0 8px; text-align: center; }
.marquee-wrap__label { margin: 0 0 22px; font-size: 14px; color: var(--gray); }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee__track { display: flex; width: max-content; animation: marquee 45s linear infinite; }
.marquee__track span { display: inline-flex; align-items: center; gap: 10px; padding: 0 30px; font-size: 20px; font-weight: 500; letter-spacing: -.02em; color: #8a8a8f; white-space: nowrap; }
.marquee__track svg { font-size: 22px; color: #b0b0b5; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============================================================
   PROBLEMA
   ============================================================ */
.problem .display { max-width: 20ch; }
.problem__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: clamp(56px, 7vw, 88px); border-top: 1px solid var(--line); }
.problem__item { padding: 32px 32px 0 0; }
.problem__item + .problem__item { padding-left: 32px; border-left: 1px solid var(--line); }
.problem__item svg { font-size: 24px; color: var(--orange); }
.problem__item h3 { margin: 18px 0 8px; font-size: 19px; letter-spacing: -.02em; font-weight: 600; }
.problem__item p { margin: 0; color: var(--gray); font-size: 16px; max-width: 32ch; }

/* ============================================================
   FEATURE GRID
   ============================================================ */
.features { padding-bottom: clamp(24px, 3vw, 40px); }
.fgrid {
  --cw: clamp(118px, 12.4vw, 184px);
  --rh: clamp(104px, 10.6vw, 156px);
  display: grid;
  grid-template-columns: repeat(8, var(--cw));
  grid-auto-rows: var(--rh);
  justify-content: center;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 14%, #000 86%, transparent 100%), linear-gradient(180deg, transparent 0, #000 12%, #000 88%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 0, #000 14%, #000 86%, transparent 100%), linear-gradient(180deg, transparent 0, #000 12%, #000 88%, transparent 100%);
  mask-composite: intersect;
}
.ft {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  text-align: center; font-size: 14.5px; color: var(--ink-2); padding: 12px; line-height: 1.25;
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  transition: background-color .25s, color .25s, box-shadow .25s;
  position: relative;
}
.ft svg { font-size: 26px; color: var(--ink); stroke-width: 1.5; transition: transform .35s var(--ease), color .25s; }
.ft:hover { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); z-index: 1; }
.ft:hover svg { transform: translateY(-3px); color: var(--orange); }
.ft-big {
  grid-column: span 2; grid-row: span 2;
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  display: flex; flex-direction: column; justify-content: space-between; align-items: center;
  padding: 28px 24px 30px; position: relative; overflow: hidden;
}
.ft-big--a { grid-column: 3 / span 2; grid-row: 2 / span 2; background: radial-gradient(120% 80% at 50% 0%, #e7f9ee, #fff 70%); }
.ft-big--b { grid-column: 5 / span 2; grid-row: 2 / span 2; background: radial-gradient(120% 80% at 50% 0%, #e8f1ff, #fff 70%); }
.ft-big--c { grid-column: 3 / span 2; grid-row: 4 / span 2; background: radial-gradient(120% 80% at 50% 0%, #fff0e6, #fff 70%); }
.ft-big--d { grid-column: 5 / span 2; grid-row: 4 / span 2; background: radial-gradient(120% 80% at 50% 0%, #f2edff, #fff 70%); }
.ft-big h3 { margin: 0; display: flex; align-items: center; gap: 12px; font-size: clamp(1.4rem, 2.3vw, 2.1rem); font-weight: 600; letter-spacing: -.04em; }
.ico { width: 1.25em; height: 1.25em; border-radius: 10px; display: grid; place-items: center; color: #fff; font-size: .85em; }
.ico svg { font-size: .7em; stroke-width: 2.2; }
.ico--green { background: var(--wa); } .ico--blue { background: #2f7cf6; } .ico--orange { background: var(--orange); } .ico--violet { background: #7a5af8; }
.ft-big__vis { width: 100%; max-width: 280px; flex: 1; display: grid; align-content: center; transition: transform .5s var(--ease); }
.ft-big:hover .ft-big__vis { transform: translateY(-4px) scale(1.02); }
.mini-chat { display: grid; gap: 5px; font-size: 12px; }
.mini-chat__b { background: #fff; border-radius: 4px 12px 12px 12px; padding: 8px 10px; box-shadow: 0 1px 2px rgba(0,0,0,.08); max-width: 88%; }
.mini-chat__btn { background: #fff; border-radius: 10px; padding: 6px; text-align: center; color: #1a8ad6; font-weight: 500; box-shadow: 0 1px 2px rgba(0,0,0,.08); max-width: 88%; }
.mini-chat__me { justify-self: end; background: #d9fdd3; border-radius: 12px 4px 12px 12px; padding: 7px 10px; display: flex; gap: 6px; align-items: center; box-shadow: 0 1px 2px rgba(0,0,0,.08); }
.mini-chat__me svg { color: var(--blue-read); }
.mini-list { display: grid; gap: 6px; }
.mini-list > div { display: flex; align-items: center; gap: 8px; background: #fff; border-radius: 10px; padding: 6px 8px; font-size: 12.5px; font-weight: 500; box-shadow: 0 1px 2px rgba(0,0,0,.07); }
.mini-list .av { width: 24px; height: 24px; font-size: 9.5px; }
.tag { margin-left: auto; font-style: normal; font-size: 11px; font-weight: 500; padding: 2px 8px; border-radius: 99px; white-space: nowrap; }
.tag--ok { background: #e3f7ea; color: #13803f; }
.tag--wait { background: #fff4d6; color: #9a6a00; }
.tag--bad { background: #ffe4e1; color: #c22a1a; }
.mini-cal { display: flex; justify-content: space-between; background: #fff; border-radius: 12px; padding: 10px; box-shadow: 0 1px 2px rgba(0,0,0,.07); }
.mini-cal span { display: grid; gap: 4px; text-align: center; font-size: 10px; color: var(--gray); }
.mini-cal b { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; font-size: 12px; color: var(--ink); font-weight: 500; position: relative; }
.mini-fin { background: #fff; border-radius: 12px; padding: 12px; box-shadow: 0 1px 2px rgba(0,0,0,.07); }
.mini-fin strong { font-size: 22px; letter-spacing: -.04em; }
.bars--sm { height: 50px; margin-top: 8px; }

/* ============================================================
   CÓMO FUNCIONA
   ============================================================ */
.how__panel {
  display: grid; grid-template-columns: minmax(280px, 400px) 1fr; gap: clamp(24px, 4vw, 64px);
  background: var(--mist); border-radius: var(--r-xl); padding: clamp(20px, 4vw, 56px);
  align-items: center;
}
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.step { border-radius: 20px; transition: background-color .35s, box-shadow .35s; position: relative; overflow: hidden; }
.step button { display: flex; align-items: center; gap: 14px; width: 100%; padding: 14px 18px; border: 0; background: none; text-align: left; font-size: 17px; font-weight: 500; letter-spacing: -.02em; color: var(--soft); transition: color .3s; }
.step__n { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 600; box-shadow: inset 0 0 0 1.5px currentColor; flex: none; transition: background-color .3s, color .3s, box-shadow .3s; }
.step p { margin: 0; padding: 0 22px 0 60px; color: var(--gray); font-size: 15px; max-height: 0; opacity: 0; transition: max-height .5s var(--ease), opacity .4s, padding .5s var(--ease); }
.step__bar { position: absolute; left: 22px; right: 22px; bottom: 0; height: 2px; background: transparent; }
.step__bar i { display: block; height: 100%; width: 0; background: var(--orange); border-radius: 2px; }
.step:hover button { color: var(--ink-2); }
.step.is-active { background: #fff; box-shadow: var(--shadow-card); }
.step.is-active button { color: var(--ink); }
.step.is-active .step__n { background: var(--orange); color: #fff; box-shadow: none; }
.step.is-active p { max-height: 120px; opacity: 1; padding-bottom: 22px; }
.step.is-active .step__bar { background: var(--line); }
.step.is-active .step__bar i { animation: fill var(--dur, 6s) linear forwards; }
.how__panel.is-paused .step.is-active .step__bar i { animation-play-state: paused; }
@keyframes fill { to { width: 100%; } }

.app { background: #fff; border-radius: 22px; box-shadow: 0 1px 2px rgba(0,0,0,.05), 0 40px 80px -30px rgba(30,40,70,.3); overflow: hidden; min-width: 0; }
.app__bar { display: flex; align-items: center; gap: 7px; padding: 14px 18px; border-bottom: 1px solid var(--line); font-size: 13px; font-weight: 500; }
.app__bar i { width: 11px; height: 11px; border-radius: 50%; background: #e4e4e7; }
.app__bar span { margin-left: 10px; color: var(--ink-2); }
.app__tabs { display: flex; gap: 4px; padding: 10px 14px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.app__tabs span { padding: 6px 12px; border-radius: 99px; font-size: 13px; color: var(--gray); white-space: nowrap; transition: background-color .3s, color .3s; }
.app__tabs span.on { background: #000; color: #fff; }
.app__body { position: relative; height: 430px; }
.screen { position: absolute; inset: 0; padding: 24px; opacity: 0; transform: translateY(10px) scale(.99); transition: opacity .45s var(--ease), transform .55s var(--ease); pointer-events: none; overflow: hidden; }
.screen.is-on { opacity: 1; transform: none; pointer-events: auto; }

.form label { display: block; font-size: 12.5px; color: var(--gray); margin: 0 0 6px; font-weight: 500; }
.form .input + label, .form .chips + label, .form__row { margin-top: 16px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; border-radius: 99px; background: var(--mist); font-size: 13.5px; }
.chip.on { background: #fff1e8; color: #c23e00; box-shadow: inset 0 0 0 1.5px var(--orange); }
.input { min-height: 42px; padding: 10px 14px; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); font-size: 14.5px; display: flex; align-items: center; gap: 8px; }
.input.typing::after { content: ''; width: 1.5px; height: 18px; background: var(--orange); margin-left: 1px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.input--search { color: var(--ink); }
.input--search svg { color: var(--gray); }
.form__foot { margin-top: 22px; display: flex; justify-content: flex-end; }
.form__foot .mini-btn { height: 38px; padding: 0 18px; font-size: 14px; }

.drop { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: #f1fbf4; box-shadow: inset 0 0 0 1px #c9eed6; margin-bottom: 16px; }
.drop > svg { font-size: 26px; color: var(--green); }
.drop strong { display: block; font-size: 14px; }
.drop small { color: var(--gray); font-size: 12.5px; }
.tbl { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.tbl th { text-align: left; font-weight: 500; color: var(--gray); font-size: 12px; padding: 8px 10px; border-bottom: 1px solid var(--line); }
.tbl td { padding: 11px 10px; border-bottom: 1px solid var(--line); }
.tbl td:last-child { text-align: right; }
.tbl tr { opacity: 0; transform: translateY(6px); }
.screen.is-on .tbl tr { animation: rowIn .45s var(--ease) forwards; }
.screen.is-on .tbl tbody tr:nth-child(1) { animation-delay: .15s; } .screen.is-on .tbl tbody tr:nth-child(2) { animation-delay: .25s; }
.screen.is-on .tbl tbody tr:nth-child(3) { animation-delay: .35s; } .screen.is-on .tbl tbody tr:nth-child(4) { animation-delay: .45s; }
.screen.is-on .tbl tbody tr:nth-child(5) { animation-delay: .55s; }
@keyframes rowIn { to { opacity: 1; transform: none; } }
.tbl tr.warn td { background: #fffaf2; }
.t-ok { color: var(--green); font-size: 16px; }

.compose { display: grid; grid-template-columns: 1.1fr 1fr; gap: 20px; height: 100%; }
.compose__edit label { display: block; font-size: 12.5px; color: var(--gray); margin: 0 0 6px; font-weight: 500; }
.compose__edit .input { margin-bottom: 14px; }
.tpl--lg { padding: 12px 14px; border-radius: 12px; box-shadow: inset 0 0 0 1px var(--line); font-size: 13.5px; }
.file { display: flex; align-items: center; gap: 10px; margin-top: 12px; padding: 10px 12px; border-radius: 12px; box-shadow: inset 0 0 0 1px var(--line); }
.file strong { display: block; font-size: 13px; }
.file small { color: var(--gray); font-size: 12px; }
.file .t-ok { margin-left: auto; }
.file__pdf { width: 36px; height: 36px; border-radius: 8px; background: #e5484d; color: #fff; display: grid; place-items: center; font-size: 10px; font-weight: 700; }
.phone-mini { background: #efeae2; border-radius: 18px; padding: 12px; align-self: start; }
.wa-bubble--img { padding: 4px; }
.wa-bubble--img img { width: 100%; height: 120px; object-fit: cover; object-position: 50% 30%; border-radius: 8px; }
.wa-bubble--img p { margin: 6px 6px 4px; }

.sends__kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 16px; }
.sends__kpis div { padding: 12px; border-radius: 14px; background: var(--mist); }
.sends__kpis small { display: block; font-size: 12px; color: var(--gray); }
.sends__kpis b { font-size: 26px; letter-spacing: -.04em; font-weight: 600; font-variant-numeric: tabular-nums; }
.count--ok { color: var(--green); }
.bar--lg { height: 8px; }
.bar .grow { width: 0; transition: width 1.6s var(--ease); }
.screen.is-on .bar .grow { width: var(--w); }
.feed { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 4px; }
.feed li { display: flex; align-items: center; gap: 12px; padding: 9px 4px; border-bottom: 1px solid var(--line); opacity: 0; transform: translateX(-8px); }
.screen.is-on .feed li { animation: rowIn .5s var(--ease) forwards; }
.screen.is-on .feed li:nth-child(1) { animation-delay: .5s; } .screen.is-on .feed li:nth-child(2) { animation-delay: 1.1s; }
.screen.is-on .feed li:nth-child(3) { animation-delay: 1.7s; } .screen.is-on .feed li:nth-child(4) { animation-delay: 2.3s; }
.feed b { display: block; font-size: 14px; font-weight: 500; }
.feed small { color: var(--gray); font-size: 12.5px; }
.feed time { margin-left: auto; font-size: 12px; color: var(--soft); }
.feed__sched { border: 0 !important; background: #fff1e8; border-radius: 12px; padding: 10px 12px !important; margin-top: 6px; }
.feed__sched > svg { color: var(--orange); font-size: 18px; }

.checkin { display: grid; gap: 16px; }
.pass { position: relative; padding: 20px 22px; border-radius: 20px; color: #fff; background: radial-gradient(120% 140% at 100% 50%, #145c38, #0e1512 60%); overflow: hidden; }
.pass small { display: block; color: rgba(255,255,255,.55); font-size: 11px; letter-spacing: .03em; }
.pass strong { display: block; font-size: 30px; letter-spacing: -.035em; font-weight: 600; margin: 4px 0 12px; padding-bottom: 12px; border-bottom: 1px dashed rgba(255,255,255,.2); max-width: 70%; }
.pass__grid { display: flex; gap: 28px; }
.pass__grid b { font-size: 30px; font-weight: 600; letter-spacing: -.03em; }
.pass__btn { position: absolute; right: 22px; top: 50%; translate: 0 -60%; width: 64px; height: 64px; border-radius: 50%; border: 0; background: rgba(255,255,255,.12); color: #fff; display: grid; place-items: center; font-size: 28px; transition: background-color .4s, box-shadow .4s, transform .3s; }
.pass__ok { position: absolute; right: 22px; bottom: 18px; width: 64px; text-align: center; font-size: 13px; color: #5ee08f; font-weight: 500; opacity: 0; transition: opacity .4s; }
.screen.is-on .pass__btn { animation: press 1s 1.1s var(--ease) forwards; }
.screen.is-on .pass__ok { transition-delay: 1.5s; opacity: 1; }
@keyframes press { 30% { transform: scale(.88); } 100% { transform: scale(1); background: var(--wa); box-shadow: 0 0 0 10px rgba(37,211,102,.18); } }
.pass__btn--on { background: var(--wa); box-shadow: 0 0 0 10px rgba(37,211,102,.18); }
.checkin__stats { display: grid; gap: 8px; font-size: 14px; color: var(--gray); }
.checkin__stats b { color: var(--ink); }

/* ============================================================
   DARK / WHATSAPP
   ============================================================ */
.dark { background: #000; color: #fff; margin: 0 10px; border-radius: var(--r-xl); position: relative; overflow: hidden; }
.dark::before { content: ''; position: absolute; left: 50%; bottom: -380px; width: 1100px; height: 600px; translate: -50% 0; background: radial-gradient(closest-side, rgba(254,81,0,.35), transparent); pointer-events: none; }
.dark .soft { color: #6e6e73; }
.dark .lead { color: #a1a1a6; max-width: 56ch; }
.dark__head { margin-bottom: clamp(48px, 6vw, 80px); }
.bento { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); border-radius: 24px; border: 1px solid rgba(255,255,255,.1); overflow: hidden; background: rgba(255,255,255,.1); gap: 1px; }
.bc { background: #0a0a0b; padding: 28px; display: flex; flex-direction: column; min-height: 340px; transition: background-color .4s; }
.bc.is-active { background: #111113; }
.bc h3 { margin: 0; font-size: 17px; font-weight: 600; letter-spacing: -.02em; }
.bc p { margin: 6px 0 0; color: #8e8e93; font-size: 14.5px; max-width: 34ch; }
.bc__vis { flex: 1; display: grid; place-items: center; padding-top: 24px; }

.tap { display: grid; gap: 8px; width: min(240px, 100%); }
.tap__btn { position: relative; overflow: hidden; text-align: center; padding: 11px; border-radius: 12px; background: #1c1c1e; color: #53bdeb; font-size: 14px; font-weight: 500; }
.bc.is-active .tap__btn--hit { animation: hit 3.2s .2s infinite; }
.tap__ripple { position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; margin: -5px; border-radius: 50%; background: rgba(83,189,235,.35); transform: scale(0); }
.bc.is-active .tap__ripple { animation: ripple 3.2s .2s infinite; }
@keyframes hit { 0%, 30%, 100% { transform: scale(1); background: #1c1c1e; } 36% { transform: scale(.96); background: #26323a; } 50% { transform: scale(1); background: #1c1c1e; } }
@keyframes ripple { 0%, 30% { transform: scale(0); opacity: 1; } 70%, 100% { transform: scale(30); opacity: 0; } }

.live { width: min(260px, 100%); position: relative; }
.live__num { font-size: 64px; font-weight: 600; letter-spacing: -.05em; line-height: 1; margin-bottom: 14px; font-variant-numeric: tabular-nums; }
.live__num small { font-size: 26px; color: #6e6e73; }
.bar--dark span { transition: width .8s var(--ease); }
.live__toast { margin-top: 18px; display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; background: #1c1c1e; font-size: 13.5px; transition: opacity .35s, transform .35s var(--ease); }
.live__toast.is-out { opacity: 0; transform: translateY(6px); }

.sched { list-style: none; margin: 0; padding: 0; width: 100%; display: grid; gap: 6px; }
.sched li { position: relative; overflow: hidden; display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; background: #141416; font-size: 13.5px; }
.sched__t { width: 70px; color: #8e8e93; font-size: 12.5px; font-variant-numeric: tabular-nums; }
.sched__now { box-shadow: inset 0 0 0 1px rgba(254,81,0,.5); background: linear-gradient(90deg, rgba(254,81,0,.12), #141416) !important; }
.sched__now::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(254,81,0,.28), transparent); transform: translateX(-100%); }
.bc.is-active .sched__now::after { animation: sweep 1.8s var(--ease) infinite; }
.bc.is-active .sched__now .tag--live { animation: blinkTag 1.8s infinite; }
@keyframes sweep { to { transform: translateX(100%); } }
@keyframes blinkTag { 50% { background: rgba(254,81,0,.35); color: #ffb08a; } }
.tag--done { background: rgba(37,211,102,.15); color: #5ee08f; }
.tag--live { background: rgba(254,81,0,.18); color: #ff8a4c; }
.tag--idle { background: rgba(255,255,255,.08); color: #8e8e93; }

.ticks { list-style: none; margin: 0; padding: 0; width: 100%; display: grid; gap: 6px; }
.ticks li { display: flex; align-items: center; gap: 12px; padding: 9px 12px; border-radius: 12px; background: #141416; font-size: 14px; }
.ticks .av { width: 28px; height: 28px; }
.tk { margin-left: auto; font-size: 18px; color: #6e6e73; }
.tk--read { color: #53bdeb; }
.bc.is-active .tk--anim { animation: readTick 2.4s infinite; }
@keyframes readTick { 0%, 40% { color: #6e6e73; } 50%, 90% { color: #53bdeb; } 100% { color: #6e6e73; } }

.batches { display: flex; align-items: flex-end; gap: 14px; height: 150px; width: min(260px, 100%); }
.batches div { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 8px; }
.batches i { width: 100%; height: var(--h); border-radius: 8px; background: linear-gradient(180deg, #ff7a33, var(--orange)); transform-origin: bottom; }
.batches span { font-size: 12px; color: #8e8e93; }
.bc.is-active .batches i { animation: grow 1s var(--ease) both; }
.bc.is-active .batches div:nth-child(2) i { animation-delay: .15s; }
.bc.is-active .batches div:nth-child(3) i { animation-delay: .3s; }
.bc.is-active .batches div:nth-child(4) i { animation-delay: .45s; }
@keyframes grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }

.inbox { width: 100%; height: 190px; overflow: hidden; position: relative; -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent); mask-image: linear-gradient(180deg, #000 70%, transparent); }
.inbox__row { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: #141416; margin-bottom: 6px; transition: transform .6s var(--ease), opacity .6s; }
.inbox__row .av { width: 30px; height: 30px; }
.inbox__row b { display: block; font-size: 13.5px; font-weight: 500; }
.inbox__row small { display: block; font-size: 12px; color: #8e8e93; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 140px; }
.et { margin-left: auto; font-style: normal; font-size: 11px; font-weight: 500; padding: 3px 8px; border-radius: 99px; color: var(--ink); white-space: nowrap; }
.et--pink { background: #fbd5e5; } .et--yellow { background: #fbe9a0; } .et--lilac { background: #e2d9fb; }

/* ============================================================
   ASISTENTE IA
   ============================================================ */
.ai-panel { display: grid; grid-template-columns: minmax(280px, 420px) 1fr; gap: clamp(24px, 4vw, 64px); background: var(--mist); border-radius: var(--r-xl); padding: clamp(20px, 4vw, 56px); align-items: start; }
.ai-panel__kicker { margin: 0 0 14px; font-size: 15px; color: var(--gray); }
.modes { display: grid; gap: 8px; }
.mode { display: flex; gap: 14px; align-items: flex-start; text-align: left; padding: 16px 18px; border-radius: 18px; border: 0; background: transparent; box-shadow: inset 0 0 0 1px var(--line); transition: background-color .3s, box-shadow .3s; }
.mode > svg { font-size: 20px; margin-top: 2px; color: var(--soft); transition: color .3s; }
.mode b { display: block; font-size: 16px; font-weight: 600; letter-spacing: -.01em; }
.mode small { display: block; font-size: 14px; color: var(--gray); }
.mode:hover { background: rgba(255,255,255,.6); }
.mode.is-on { background: #fff; box-shadow: var(--shadow-card); }
.mode.is-on > svg { color: #7a5af8; }
.checks { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 10px; font-size: 15.5px; color: var(--ink-2); }
.checks li { display: flex; gap: 10px; align-items: flex-start; }
.checks svg { margin-top: 3px; color: var(--orange); font-size: 17px; stroke-width: 2.2; }

.ai-chat { background: #fff; border-radius: 22px; box-shadow: 0 1px 2px rgba(0,0,0,.05), 0 40px 80px -30px rgba(30,40,70,.28); overflow: hidden; min-width: 0; }
.ai-chat__head { display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.ai-chat__head b { display: block; font-size: 15px; }
.ai-chat__head small { color: var(--gray); font-size: 13px; }
.ai-chat__body { padding: 24px 20px; min-height: 340px; background: #efeae2 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16'%3E%3Ccircle cx='2' cy='2' r='1' fill='%23000' fill-opacity='.04'/%3E%3C/svg%3E"); display: flex; flex-direction: column; gap: 12px; }
.msg { max-width: 78%; padding: 10px 12px 18px; border-radius: 4px 14px 14px 14px; background: #fff; font-size: 15px; position: relative; box-shadow: 0 1px 1px rgba(0,0,0,.06); }
.msg time { position: absolute; right: 10px; bottom: 4px; font-size: 11px; color: var(--soft); display: flex; gap: 3px; align-items: center; }
.msg--out { align-self: flex-end; background: #d9fdd3; border-radius: 14px 4px 14px 14px; padding-right: 64px; }
.msg--out time svg { color: var(--blue-read); }
.ai-card { background: #fff; border-radius: 16px; padding: 14px 16px; box-shadow: 0 1px 2px rgba(0,0,0,.06), 0 8px 24px -12px rgba(0,0,0,.15); font-size: 14px; }
.ai-card--off, .ai-card--done { display: flex; align-items: center; gap: 12px; }
.ai-card--off > svg, .ai-card--done > svg { font-size: 20px; color: #7a5af8; }
.ai-card--off > svg { color: var(--gray); }
.ai-card b { display: block; font-weight: 600; }
.ai-card ul b { display: inline; }
.ai-card small { color: var(--gray); font-size: 13px; }
.ai-card--done .mini-btn { margin-left: auto; }
.ai-card__top { display: flex; align-items: center; gap: 8px; color: #5b3fd1; margin-bottom: 8px; }
.ai-card ul { margin: 0; padding-left: 18px; display: grid; gap: 4px; color: var(--ink-2); }
.ai-card__src { margin-top: 10px; font-size: 12px; color: var(--gray); }
.ai-card .ai-actions { margin-top: 12px; }
.ai-card, .ai-auto { display: none; }
.ai-chat[data-mode="off"] .ai-card--off,
.ai-chat[data-mode="suggest"] .ai-card--suggest { display: block; animation: pop .5s var(--ease); }
.ai-chat[data-mode="off"] .ai-card--off { display: flex; }
.ai-chat[data-mode="auto"] .ai-auto { display: flex; flex-direction: column; gap: 12px; animation: pop .5s var(--ease); }
.ai-chat[data-mode="auto"] .ai-card--done { display: flex; }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: none; } }

/* ============================================================
   EQUIPO / TABS
   ============================================================ */
.team .display { max-width: 16ch; }
.tabs { display: flex; justify-content: center; gap: 4px; margin: 40px auto 28px; padding: 4px; border-radius: 99px; background: var(--mist); width: max-content; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.tab { border: 0; background: transparent; height: 40px; padding: 0 18px; border-radius: 99px; font-size: 15px; font-weight: 500; color: var(--gray); white-space: nowrap; transition: background-color .3s, color .3s, box-shadow .3s; }
.tab:hover { color: var(--ink); }
.tab.is-on { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.1); }
.tpanels { position: relative; }
.tpanel { display: none; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 80px); align-items: center; background: var(--mist); border-radius: var(--r-xl); padding: clamp(24px, 4.5vw, 64px); }
.tpanel.is-on { display: grid; animation: pop .5s var(--ease); }
.tpanel h3 { margin: 0; font-size: clamp(1.5rem, 2.4vw, 2rem); letter-spacing: -.035em; font-weight: 600; line-height: 1.1; }
.tpanel p { margin: 12px 0 0; color: var(--gray); max-width: 42ch; }
.tp-vis { display: grid; gap: 10px; }
.tp-vis--center { place-items: center; min-height: 260px; }
.evrow { display: flex; align-items: center; gap: 14px; background: #fff; border-radius: 18px; padding: 14px 18px 14px 14px; box-shadow: 0 1px 2px rgba(0,0,0,.05); }
.evrow > div { flex: 1; min-width: 0; }
.evrow b { display: block; font-size: 15px; }
.evrow small { display: block; color: var(--gray); font-size: 13px; margin-bottom: 8px; }
.evrow strong { font-size: 17px; letter-spacing: -.02em; }
.evrow .bar span { background: #000; }
.evrow__img { width: 52px; height: 52px; border-radius: 14px; flex: none; }
.g1 { background: linear-gradient(135deg, #f8c8dc, #fde2c8 60%, #f6d38f); }
.g2 { background: linear-gradient(135deg, #d6f5c8, #f9f3a8 60%, #9fe0f2); }
.g3 { background: linear-gradient(135deg, #c8dcfb, #e8d6fb 60%, #f8cde6); }
.role { display: flex; align-items: center; gap: 14px; background: #fff; border-radius: 18px; padding: 16px 18px; box-shadow: 0 1px 2px rgba(0,0,0,.05); }
.role b { font-size: 16px; }
.role small { margin-left: auto; color: var(--gray); font-size: 14px; }
.role__l { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-weight: 600; font-size: 14px; }
.role__l--a { background: #000; color: var(--orange); } .role__l--e { background: #fff1e8; color: var(--orange); } .role__l--c { background: #e3f7ea; color: var(--green); }
.ring { --p: 84; width: 230px; height: 230px; border-radius: 50%; background: conic-gradient(var(--orange) calc(var(--p) * 1%), #e4e4e7 0); display: grid; place-items: center; }
.ring > div { width: 200px; height: 200px; border-radius: 50%; background: var(--mist); display: grid; place-content: center; text-align: center; }
.ring b { font-size: 56px; font-weight: 600; letter-spacing: -.05em; line-height: 1; }
.ring small { color: var(--gray); font-size: 14px; }
.pass--static { width: min(380px, 100%); }

/* ============================================================
   SEGURIDAD
   ============================================================ */
.security { padding-top: 0; }
.security__wrap { border-top: 1px solid var(--line); padding-top: clamp(48px, 6vw, 72px); display: grid; grid-template-columns: 1fr 2fr; gap: 48px; }
.security__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 36px 40px; }
.security__grid svg { font-size: 24px; color: var(--ink); margin-bottom: 14px; }
.security__grid b { display: block; font-size: 17px; letter-spacing: -.015em; }
.security__grid p { margin: 6px 0 0; color: var(--gray); font-size: 15px; }

/* ============================================================
   PLANES
   ============================================================ */
.plans { padding-top: 0; }
.plans__card { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(32px, 5vw, 80px); padding: clamp(28px, 5vw, 72px); border-radius: var(--r-xl); background: linear-gradient(160deg, #fff7f1 0%, #fff 55%); box-shadow: inset 0 0 0 1px #f6e4d8; }
.plans__info .h2 { margin-top: 20px; }
.plans__info > p { color: var(--gray); margin: 18px 0 0; max-width: 46ch; }
.checks--2 { grid-template-columns: 1fr 1fr; gap: 12px 24px; margin-top: 32px; }
.waitlist { background: #fff; border-radius: 24px; padding: 28px; box-shadow: var(--shadow-card); align-self: start; }
.waitlist h3 { margin: 0 0 18px; font-size: 20px; letter-spacing: -.02em; }
.waitlist label { display: block; font-size: 13px; font-weight: 500; color: var(--ink-2); margin: 14px 0 6px; }
.waitlist input, .waitlist select { width: 100%; height: 48px; padding: 0 14px; border: 0; border-radius: 12px; background: var(--mist); font: inherit; font-size: 16px; color: var(--ink); box-shadow: inset 0 0 0 1px transparent; transition: box-shadow .2s, background-color .2s; appearance: none; -webkit-appearance: none; }
.waitlist select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%236e6e73' stroke-width='1.6'%3E%3Cpath d='m1 1.5 5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
.waitlist input:focus, .waitlist select:focus { outline: none; background-color: #fff; box-shadow: inset 0 0 0 1.5px var(--orange); }
.waitlist input[aria-invalid="true"] { box-shadow: inset 0 0 0 1.5px #e5484d; }
.waitlist .btn { margin-top: 22px; }
.waitlist__note { margin: 12px 0 0; font-size: 13px; color: var(--gray); text-align: center; }
.waitlist__note.is-error { color: #c22a1a; }

/* ============================================================
   FAQ
   ============================================================ */
.faq { padding-top: clamp(40px, 6vw, 80px); }
.faq .h2 { text-align: center; margin-bottom: 40px; }
.faq__list details { border-bottom: 1px solid var(--line); }
.faq__list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; font-size: 18px; font-weight: 500; letter-spacing: -.02em; }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after { content: ''; width: 28px; height: 28px; flex: none; border-radius: 50%; background: var(--mist) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%231d1d1f' stroke-width='1.6'%3E%3Cpath d='M6 1v10M1 6h10'/%3E%3C/svg%3E") center no-repeat; transition: transform .35s var(--ease), background-color .2s; }
.faq__list details[open] summary::after { transform: rotate(45deg); }
.faq__list summary:hover::after { background-color: #ebebee; }
.faq__list p { margin: -6px 0 24px; color: var(--gray); max-width: 62ch; }

/* ============================================================
   CTA FINAL
   ============================================================ */
.final { position: relative; margin: 40px 10px 10px; border-radius: var(--r-xl); overflow: hidden; isolation: isolate; padding: clamp(80px, 10vw, 130px) 24px 0; text-align: center; color: #fff; }
.final__sky { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, #ff9a5c 0%, #ff7a33 30%, var(--orange) 62%, #e94700 100%); }
.final__sky::after { content: ''; position: absolute; inset: 0; background: radial-gradient(60% 50% at 50% 0%, rgba(255,226,190,.55), transparent 70%); }
.clouds--final { opacity: .55; animation: drift 90s linear infinite alternate; }
.c6 { left: -10%; top: 30%; transform: scale(1.4); }
.c7 { right: -12%; top: 18%; transform: scale(1.2) scaleX(-1); }
.final__mark { width: 56px; height: 56px; margin: 0 auto 28px; filter: brightness(0) invert(1); }
.final .display { max-width: 14ch; }
.final .hero__ctas { margin-bottom: clamp(56px, 7vw, 88px); }
.dash { position: relative; width: min(1040px, 100%); margin: 0 auto; display: grid; grid-template-columns: 64px 1fr; background: #fff; color: var(--ink); border-radius: 20px 20px 0 0; box-shadow: 0 -10px 60px rgba(120,30,0,.3); text-align: left; overflow: hidden; transform: translateY(40px); transition: transform 1.2s var(--ease); }
.dash.is-in { transform: none; }
.dash__side { background: var(--mist); display: flex; flex-direction: column; align-items: center; gap: 22px; padding: 18px 0 40px; color: var(--gray); font-size: 20px; }
.dash__side img { width: 28px; height: 28px; margin-bottom: 8px; }
.dash__side .on { color: var(--orange); }
.dash__main { padding: 22px 26px 36px; }
.dash__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.dash__top b { font-size: 22px; letter-spacing: -.03em; }
.dash__cols { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 14px; }
.dash__card { border-radius: 16px; box-shadow: inset 0 0 0 1px var(--line); padding: 16px; display: grid; gap: 8px; align-content: start; }
.dash__card > small { font-size: 12.5px; color: var(--gray); font-weight: 500; margin-bottom: 2px; }
.evrow--sm { padding: 0; box-shadow: none; gap: 10px; }
.evrow--sm .evrow__img { width: 34px; height: 34px; border-radius: 10px; }
.evrow--sm small { margin: 0; font-size: 12px; }
.evrow--sm b { font-size: 13.5px; }
.evrow--sm strong { font-size: 14px; }
.bars--dash { height: 120px; gap: 8px; }
.bars--dash i { background: linear-gradient(180deg, #ffb38a, var(--orange)); border-radius: 6px 6px 3px 3px; }
.att { display: flex; align-items: center; gap: 8px; font-size: 13px; padding: 8px 10px; border-radius: 10px; background: var(--mist); }
.att svg { color: var(--orange); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { padding: 64px 0 40px; }
.footer__inner { display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; }
.footer__brand img { height: 19px; width: auto; filter: brightness(0); }
.footer__brand p { margin: 14px 0 0; color: var(--gray); font-size: 15px; }
.footer__cols { display: flex; gap: clamp(32px, 6vw, 96px); flex-wrap: wrap; }
.footer__cols div { display: grid; gap: 10px; align-content: start; font-size: 15px; }
.footer__cols b { font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.footer__cols a { color: var(--gray); transition: color .2s; }
.footer__cols a:hover { color: var(--ink); }
.footer__legal { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; color: var(--soft); }

/* ---------- Relleno naranja por palabra (scroll) ---------- */
.js-fill .w { position: relative; display: inline-block; }
.js-fill .w__g {
  position: absolute; left: 0; top: 0; white-space: nowrap; pointer-events: none;
  background-image: linear-gradient(90deg, #ffa064 0%, #ff6a1a 45%, #fe5100 70%, #e23c00 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
  opacity: var(--t, 0);
}

/* ---------- Ícono IA ---------- */
@property --spin { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
.ai-spark { position: relative; display: grid; place-items: center; width: 68px; height: 68px; border-radius: 21px; margin-bottom: 22px; isolation: isolate; box-shadow: 0 12px 30px -10px rgba(139, 92, 246, .55); animation: aiGlow 3s ease-in-out infinite; }
.ai-spark::before { content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; background: conic-gradient(from var(--spin), #d8b4fe, #8b5cf6, #60a5fa, #f0abfc, #d8b4fe); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); animation: aiSpin 4s linear infinite; }
.ai-spark::after { content: ''; position: absolute; inset: 1.5px; border-radius: 20px; background: linear-gradient(160deg, #fbf8ff, #efe6ff); z-index: -1; }
.ai-spark path { transform-box: fill-box; transform-origin: center; }
.ai-spark__s1 { animation: twinkle 2.4s ease-in-out infinite; }
.ai-spark__s2 { animation: twinkle 2.4s ease-in-out .5s infinite; }
.ai-spark__s3 { animation: twinkle 2.4s ease-in-out 1s infinite; }
@keyframes aiSpin { to { --spin: 360deg; } }
@keyframes twinkle { 0%, 100% { transform: scale(1) rotate(0deg); opacity: 1; } 50% { transform: scale(.72) rotate(18deg); opacity: .75; } }
@keyframes aiGlow { 50% { box-shadow: 0 14px 40px -8px rgba(139, 92, 246, .8); } }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .nav__links { gap: 20px; margin-left: 8px; }
  .nav .btn--ghost { display: none; }
}
@media (max-width: 1180px) {
  .bento { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1080px) {
  .how__panel, .ai-panel { grid-template-columns: 1fr; }
}
@media (max-width: 920px) {
  .nav__links, .nav__actions { display: none; }
  .nav__burger { display: block; }
  .split-head { grid-template-columns: 1fr; gap: 20px; }
  .split-head .lead, .split-head__aside { justify-self: start; }
  .how__panel, .ai-panel { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr 1fr; }
  .tpanel { grid-template-columns: 1fr; }
  .security__wrap { grid-template-columns: 1fr; }
  .plans__card { grid-template-columns: 1fr; }
  .dash__cols { grid-template-columns: 1fr 1fr; }
  .dash__cols .dash__card:last-child { display: none; }

  .fgrid { --cw: 1fr; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 118px; width: calc(100% - 32px); margin-inline: auto; -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 6%, #000 94%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0, #000 6%, #000 94%, transparent 100%); }
  .ft--edge { display: none; }
  .ft-big, .ft-big--a, .ft-big--b, .ft-big--c, .ft-big--d { grid-column: span 2; grid-row: span 2; }
  .ft-big--a { order: -4; } .ft-big--b { order: -3; } .ft-big--c { order: -2; } .ft-big--d { order: -1; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .container, .container--narrow { width: calc(100% - 32px); }
  .hero { margin: 0 6px 6px; border-radius: 0 0 26px 26px; padding-top: 116px; min-height: 0; }
  .nav { padding: 16px 0; }
  .nav__inner { width: calc(100% - 40px); }
  .hero__title { font-size: clamp(2.4rem, 11vw, 3.2rem); }
  .hero__ctas { width: 100%; flex-direction: column; align-items: stretch; padding-inline: 8px; }
  .hero__ctas .btn { width: 100%; }
  .pill--glass { font-size: 12.5px; height: auto; padding: 5px 10px 5px 5px; text-align: left; }
  .arc { height: 250px; margin-top: 12px; }
  .hero__foot { font-size: 12.5px; padding: 0 16px; text-align: center; }
  .problem__grid { grid-template-columns: 1fr; }
  .problem__item, .problem__item + .problem__item { padding: 28px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .fgrid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 104px; }
  .ft-big { grid-column: span 2; grid-row: span 2; }
  .ft:nth-of-type(n+21) { display: none; }
  .app__body { height: 470px; }
  .screen { padding: 16px; }
  .compose { grid-template-columns: 1fr; }
  .phone-mini { display: none; }
  .sends__kpis { grid-template-columns: 1fr 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .step p { padding-left: 18px; }
  .dark { margin: 0 6px; border-radius: 26px; }
  .bento { grid-template-columns: 1fr; }
  .bc { min-height: 300px; padding: 24px; }
  .msg { max-width: 92%; }
  .tabs { justify-content: flex-start; }
  .security__grid { grid-template-columns: 1fr; gap: 28px; }
  .checks--2 { grid-template-columns: 1fr; }
  .waitlist { padding: 22px; }
  .final { margin: 24px 6px 6px; border-radius: 26px; }
  .final .hero__ctas { padding-inline: 0; }
  .dash { grid-template-columns: 1fr; }
  .dash__side { display: none; }
  .dash__cols { grid-template-columns: 1fr; }
  .dash__cols .dash__card:nth-child(2) { display: none; }
  .tbl th:nth-child(2), .tbl td:nth-child(2) { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .load, .reveal { opacity: 1; transform: none; filter: none; }
}
