/* =========================================================
   Marisela Téllez · Sistemas y Soluciones Digitales
   ========================================================= */
:root {
  --purple-900: #2a1145;
  --purple-800: #3d1a66;
  --purple-700: #5b2a91;
  --purple-600: #7236b3;
  --purple-500: #8e4fd1;
  --purple-100: #efe6fb;
  --purple-50:  #f8f3fe;
  --teal-700: #0b6e70;
  --teal-600: #0f8a8c;
  --teal-100: #d7f3f1;
  --yellow: #ffd23f;
  --yellow-soft: #fff4c2;
  --pink: #f472b6;
  --pink-100: #fde4f1;
  --orange: #f59e42;
  --orange-100: #fff0dd;
  --blue: #3b82f6;
  --blue-100: #e3edff;
  --green: #22a06b;
  --green-100: #dff6ea;
  --wa: #25d366;

  --ink: #23153a;
  --ink-2: #4b3d63;
  --muted: #6e6383;
  --line: #e7def3;
  --bg: #fdfbff;
  --surface: #ffffff;

  --radius: 22px;
  --radius-sm: 14px;
  --shadow-sm: 0 2px 6px rgba(61, 26, 102, .06), 0 8px 24px rgba(61, 26, 102, .06);
  --shadow: 0 10px 30px rgba(61, 26, 102, .12), 0 2px 6px rgba(61, 26, 102, .06);
  --shadow-lg: 0 30px 80px rgba(61, 26, 102, .22);

  --f-display: "Bricolage Grotesque", system-ui, sans-serif;
  --f-body: "Plus Jakarta Sans", system-ui, sans-serif;
  --f-hand: "Caveat", cursive;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
main { overflow-x: clip; }
img, svg { display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--f-display); line-height: 1.08; margin: 0; letter-spacing: -.02em; }
h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0; }
button { font: inherit; cursor: pointer; }

.container { width: min(1180px, 100% - 32px); margin-inline: auto; }

.ico, .card__ico svg, .why__ico svg, .step__ico svg, .demo__tabs svg, .card__link svg, .fc__ico svg, .brand__mark svg, summary svg {
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.ico { width: 1.15em; height: 1.15em; flex: none; }

/* ---------- Highlights ---------- */
.hl { position: relative; white-space: nowrap; color: var(--purple-700); z-index: 0; }
.hl::after {
  content: ""; position: absolute; left: -4px; right: -4px; bottom: .06em; height: .38em;
  background: var(--yellow); border-radius: 6px; z-index: -1; transform: rotate(-1deg);
}
.hl--teal { color: var(--teal-700); }
.hl--teal::after { background: var(--teal-100); }
.hl--yellow { color: var(--yellow); }
.hl--yellow::after { background: rgba(255, 210, 63, .22); }

mark { background: linear-gradient(transparent 55%, var(--yellow) 55%); color: inherit; font-weight: 700; padding: 0 2px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font-weight: 700; text-decoration: none; border: 0; border-radius: 999px;
  padding: .8em 1.4em; transition: transform .2s ease, box-shadow .2s ease, background .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--sm { font-size: .92rem; padding: .6em 1.15em; }
.btn--lg { font-size: 1.05rem; padding: 1em 1.7em; }
.btn--block { width: 100%; }
.btn--primary { background: linear-gradient(135deg, var(--purple-600), var(--purple-800)); color: #fff; box-shadow: 0 10px 24px rgba(91, 42, 145, .35); }
.btn--primary:hover { box-shadow: 0 14px 30px rgba(91, 42, 145, .45); }
.btn--ghost { background: #fff; color: var(--purple-700); box-shadow: inset 0 0 0 2px var(--purple-100), var(--shadow-sm); }
.btn--ghost:hover { box-shadow: inset 0 0 0 2px var(--purple-500), var(--shadow-sm); }
.btn--yellow { background: var(--yellow); color: var(--purple-900); box-shadow: 0 12px 28px rgba(255, 210, 63, .35); }
.btn--wa { background: var(--wa); color: #0b3d1f; box-shadow: 0 12px 26px rgba(37, 211, 102, .35); }
.btn--wa .ico, .btn--yellow .ico, .btn--primary .ico { fill: currentColor; stroke: none; }
.btn--ghost .ico { stroke: currentColor; }
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 3px solid var(--yellow); outline-offset: 3px;
}

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(253, 251, 255, .72);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s;
}
.nav.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px rgba(61, 26, 102, .06); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand__mark {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--purple-600), var(--purple-800)); color: var(--yellow);
  box-shadow: 0 6px 16px rgba(91, 42, 145, .3); flex: none;
}
.brand__mark svg { width: 22px; height: 22px; stroke-width: 2.6; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__text strong { font-family: var(--f-display); font-size: 1.12rem; color: var(--purple-800); }
.brand__text small { font-size: .74rem; color: var(--muted); font-weight: 600; }
.nav__links { display: flex; align-items: center; gap: 26px; }
.nav__links a:not(.btn) { text-decoration: none; font-weight: 600; font-size: .95rem; color: var(--ink-2); position: relative; }
.nav__links a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; border-radius: 2px;
  background: var(--purple-500); transform: scaleX(0); transition: transform .25s;
}
.nav__links a:not(.btn):hover::after, .nav__links a.is-active::after { transform: scaleX(1); }
.nav__links a.is-active { color: var(--purple-700); }
.nav__toggle { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 10px; }
.nav__toggle span { display: block; height: 2.5px; background: var(--purple-800); border-radius: 2px; margin: 5px 0; transition: transform .3s, opacity .3s; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 56px 0 90px; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; pointer-events: none; z-index: -1; }
.blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; animation: drift 18s ease-in-out infinite alternate; }
.blob--1 { width: 520px; height: 520px; background: #e2ccfb; top: -160px; left: -120px; }
.blob--2 { width: 420px; height: 420px; background: #c9f1ee; top: 60px; right: -120px; animation-delay: -6s; }
.blob--3 { width: 360px; height: 360px; background: #ffeaa6; bottom: -160px; left: 40%; animation-delay: -12s; opacity: .45; }
@keyframes drift { to { transform: translate(40px, 30px) scale(1.08); } }
.grid-dots {
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(91, 42, 145, .12) 1.2px, transparent 1.2px);
  background-size: 26px 26px;
  mask-image: radial-gradient(ellipse at 70% 40%, #000 10%, transparent 65%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 10%, transparent 65%);
}
.hero__inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 10px; border-radius: 999px;
  background: #fff; box-shadow: inset 0 0 0 1.5px var(--pink-100), var(--shadow-sm);
  font-size: .86rem; font-weight: 700; color: #b0307a;
}
.pill__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--pink); box-shadow: 0 0 0 4px var(--pink-100); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(244, 114, 182, .12); } }
.hero__title { font-size: clamp(2.5rem, 5.6vw, 4.4rem); font-weight: 800; margin: 22px 0 20px; color: var(--purple-900); }
.rotator {
  display: inline-block; position: relative; color: #fff; padding: .04em .32em .1em; margin-top: .12em;
  background: linear-gradient(135deg, var(--teal-600), var(--teal-700)); border-radius: .28em;
  transform: rotate(-1.5deg); box-shadow: 0 12px 30px rgba(15, 138, 140, .3);
}
.rotator__word { display: inline-block; transition: opacity .35s, transform .35s; }
.rotator__word.is-out { opacity: 0; transform: translateY(.35em); }
.hero__lead { font-size: 1.15rem; color: var(--ink-2); max-width: 34em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 26px; }
.hero__trust { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: .92rem; font-weight: 600; color: var(--ink-2); }
.hero__trust li { display: flex; align-items: center; gap: 6px; }
.hero__trust .ico { color: var(--teal-600); stroke-width: 3; }

/* Hero visual */
.hero__visual { position: relative; min-height: 480px; perspective: 1400px; }
.window { background: #fff; border-radius: 18px; box-shadow: var(--shadow-lg); overflow: hidden; border: 1px solid var(--line); }
.window__bar { display: flex; align-items: center; gap: 6px; padding: 11px 14px; background: #f6f1fc; border-bottom: 1px solid var(--line); }
.window__bar i { width: 10px; height: 10px; border-radius: 50%; background: #ff7a8a; }
.window__bar i:nth-child(2) { background: #ffd23f; }
.window__bar i:nth-child(3) { background: #3ccf8e; }
.window__bar span { margin-left: 12px; font-size: .74rem; color: var(--muted); background: #fff; padding: 3px 12px; border-radius: 99px; flex: 1; max-width: 260px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.window--hero { position: absolute; top: 10px; left: 0; right: 40px; transform: rotateY(-9deg) rotateX(4deg); transform-style: preserve-3d; transition: transform .2s ease-out; }
.dash { display: grid; grid-template-columns: 52px 1fr; min-height: 330px; }
.dash__side { background: var(--purple-800); display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 14px 0; }
.dash__logo { width: 26px; height: 26px; border-radius: 8px; background: var(--yellow); margin-bottom: 8px; }
.dash__side span { width: 22px; height: 6px; border-radius: 4px; background: rgba(255, 255, 255, .25); }
.dash__side span.on { background: #fff; }
.dash__main { padding: 18px; display: flex; flex-direction: column; gap: 14px; }
.dash__hello { font-weight: 700; font-size: .92rem; color: var(--purple-900); }
.dash__kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.kpi { background: var(--purple-50); border-radius: 12px; padding: 10px 12px; }
.kpi:nth-child(2) { background: var(--teal-100); }
.kpi:nth-child(3) { background: var(--yellow-soft); }
.kpi small { display: block; font-size: .68rem; color: var(--muted); font-weight: 600; }
.kpi strong { font-family: var(--f-display); font-size: 1.35rem; color: var(--purple-900); }
.dash__chart { display: flex; align-items: flex-end; gap: 8px; height: 90px; padding: 8px 10px 0; background: linear-gradient(#fff, #faf7ff); border-radius: 12px; border: 1px solid var(--line); }
.dash__chart span { flex: 1; height: var(--h); border-radius: 6px 6px 0 0; background: linear-gradient(var(--purple-500), var(--purple-700)); transform-origin: bottom; animation: grow 1.2s cubic-bezier(.2, .8, .2, 1) both; }
.dash__chart span:nth-child(even) { background: linear-gradient(#3cc5c0, var(--teal-600)); }
.dash__chart span:nth-child(1) { animation-delay: .1s } .dash__chart span:nth-child(2) { animation-delay: .2s }
.dash__chart span:nth-child(3) { animation-delay: .3s } .dash__chart span:nth-child(4) { animation-delay: .4s }
.dash__chart span:nth-child(5) { animation-delay: .5s } .dash__chart span:nth-child(6) { animation-delay: .6s }
.dash__chart span:nth-child(7) { animation-delay: .7s }
@keyframes grow { from { transform: scaleY(0); } }
.dash__rows { display: grid; gap: 8px; font-size: .78rem; }
.dash__rows div { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 10px; background: #faf7ff; border: 1px solid var(--line); }
.dash__rows em { margin-left: auto; font-style: normal; font-weight: 700; font-size: .7rem; padding: 2px 8px; border-radius: 99px; background: var(--teal-100); color: var(--teal-700); }
.dash__rows em.em--y { background: var(--yellow-soft); color: #8a6a00; }
.dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.dot--teal { background: var(--teal-600); } .dot--yellow { background: var(--yellow); }

.phone {
  position: absolute; right: 0; bottom: 0; width: 190px; padding: 10px; border-radius: 30px;
  background: var(--purple-900); box-shadow: var(--shadow-lg); transform: rotate(5deg);
}
.phone__notch { width: 60px; height: 6px; border-radius: 6px; background: rgba(255, 255, 255, .2); margin: 2px auto 8px; }
.phone__screen { background: #fff; border-radius: 22px; padding: 14px 12px; display: grid; gap: 8px; }
.phone__title { font-family: var(--f-display); font-weight: 800; font-size: .95rem; color: var(--purple-800); }
.phone__item { display: flex; align-items: center; gap: 8px; font-size: .74rem; font-weight: 600; padding: 7px 8px; border-radius: 10px; background: var(--orange-100); }
.phone__item b { font-size: 1rem; }
.phone__item em { margin-left: auto; font-style: normal; color: var(--purple-700); font-weight: 800; }
.phone__btn { text-align: center; font-size: .72rem; font-weight: 800; color: #0b3d1f; background: var(--wa); border-radius: 99px; padding: 8px; margin-top: 2px; }

.float-card {
  position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 10px;
  background: #fff; border-radius: 14px; box-shadow: var(--shadow); font-size: .8rem; line-height: 1.25;
  animation: bob 5s ease-in-out infinite;
}
.float-card b { display: block; color: var(--ink); }
.float-card small { color: var(--muted); }
.fc__ico { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex: none; }
.fc__ico svg { width: 18px; height: 18px; stroke-width: 2.6; }
.fc__ico--teal { background: var(--teal-100); color: var(--teal-700); }
.fc__ico--purple { background: var(--purple-100); color: var(--purple-700); }
.fc__ico--pink { background: var(--pink-100); color: #c02a78; }
.fc--1 { top: -14px; right: 0; }
.fc--2 { top: 46%; left: -34px; animation-delay: -1.6s; }
.fc--3 { bottom: 26px; left: 18%; animation-delay: -3.2s; }
@keyframes bob { 50% { transform: translateY(-10px); } }

/* ---------- Marquee ---------- */
.marquee { background: var(--purple-800); color: #fff; overflow: hidden; padding: 16px 0; transform: rotate(-1.2deg); margin: -10px -20px 0; position: relative; z-index: 2; }
.marquee__track { display: flex; gap: 0; width: max-content; animation: marquee 36s linear infinite; }
.marquee span { font-family: var(--f-display); font-weight: 700; font-size: 1.25rem; padding: 0 22px; display: flex; align-items: center; gap: 44px; }
.marquee span::after { content: "✦"; color: var(--yellow); font-size: .9rem; margin-left: 22px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: 110px 0; position: relative; }
.section--tint { background: linear-gradient(180deg, var(--purple-50), #fff); }
.section--dark { background: radial-gradient(circle at 15% 10%, #4a2380, transparent 45%), radial-gradient(circle at 90% 90%, #0b5c5e, transparent 45%), var(--purple-900); color: #fff; }
.section__head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section__head p { color: var(--ink-2); font-size: 1.1rem; margin-top: 16px; }
.section__head--light p { color: rgba(255, 255, 255, .75); }
.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 800; text-transform: uppercase; letter-spacing: .12em;
  color: var(--purple-600); background: var(--purple-100); padding: 6px 14px; border-radius: 99px; margin-bottom: 16px;
}
.eyebrow--light { background: rgba(255, 255, 255, .1); color: var(--yellow); }

/* ---------- Cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  --c: var(--purple-600); --cbg: var(--purple-100);
  position: relative; background: var(--surface); border-radius: var(--radius); padding: 28px 26px 22px;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm); overflow: hidden;
  display: flex; flex-direction: column; transition: transform .3s cubic-bezier(.2, .8, .2, 1), box-shadow .3s;
}
.card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 120px;
  background: linear-gradient(180deg, var(--cbg), transparent); opacity: .7; pointer-events: none;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card--orange { --c: #e07b12; --cbg: var(--orange-100); }
.card--blue   { --c: var(--blue); --cbg: var(--blue-100); }
.card--teal   { --c: var(--teal-600); --cbg: var(--teal-100); }
.card--pink   { --c: #d63d8f; --cbg: var(--pink-100); }
.card--green  { --c: var(--green); --cbg: var(--green-100); }
.card--purple { --c: var(--purple-600); --cbg: var(--purple-100); }
.card__ico {
  position: relative; width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center;
  background: #fff; color: var(--c); box-shadow: 0 8px 20px rgba(0, 0, 0, .06), inset 0 0 0 2px var(--cbg); margin-bottom: 18px;
  transition: transform .4s cubic-bezier(.2, .8, .2, 1);
}
.card:hover .card__ico { transform: rotate(-8deg) scale(1.08); }
.card__ico svg { width: 28px; height: 28px; }
.card h3 { position: relative; color: var(--purple-900); margin-bottom: 14px; }
.checks { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 7px; font-size: .96rem; color: var(--ink-2); }
.checks li { position: relative; padding-left: 28px; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .3em; width: 18px; height: 18px; border-radius: 50%;
  background: var(--yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233d1a66' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.card__link {
  margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: 6px;
  background: none; border: 0; padding: 6px 0; color: var(--c); font-weight: 700; font-size: .92rem;
}
.card__link svg { width: 16px; height: 16px; transition: transform .25s; }
.card__link:hover svg { transform: translateX(4px); }
.cards__more { text-align: center; margin-top: 36px; color: var(--ink-2); }
.cards__more a { color: var(--purple-700); font-weight: 700; }

/* ---------- Demo ---------- */
.demo { max-width: 980px; margin: 0 auto; }
.demo__tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 26px; }
.demo__tabs button {
  display: inline-flex; align-items: center; gap: 8px; border: 0; background: #fff; color: var(--ink-2);
  padding: 10px 16px; border-radius: 99px; font-weight: 700; font-size: .92rem; box-shadow: inset 0 0 0 1.5px var(--line);
  transition: background .2s, color .2s, box-shadow .2s, transform .2s;
}
.demo__tabs button svg { width: 18px; height: 18px; }
.demo__tabs button:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1.5px var(--purple-500); }
.demo__tabs button[aria-selected="true"] { background: var(--purple-700); color: #fff; box-shadow: 0 10px 22px rgba(91, 42, 145, .3); }
.window--demo { position: relative; }
.demo__body { display: grid; grid-template-columns: 210px 1fr; min-height: 430px; }
.demo__note { text-align: center; font-size: .82rem; color: var(--muted); margin-top: 14px; }

.app-side { background: var(--purple-800); color: rgba(255, 255, 255, .8); padding: 20px 14px; display: flex; flex-direction: column; gap: 4px; }
.app-side__brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 800; font-family: var(--f-display); margin-bottom: 18px; padding: 0 6px; }
.app-side__brand i { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--accent, var(--yellow)); color: var(--purple-900); font-style: normal; font-size: 1rem; }
.app-side a { display: block; padding: 9px 12px; border-radius: 10px; font-size: .88rem; font-weight: 600; text-decoration: none; }
.app-side a.on { background: rgba(255, 255, 255, .12); color: #fff; }

.app-main { padding: 24px; display: flex; flex-direction: column; gap: 18px; background: #fcfaff; min-width: 0; }
.app-main__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.app-main__top h4 { margin: 0; font-family: var(--f-display); font-size: 1.35rem; color: var(--purple-900); }
.app-main__top small { color: var(--muted); font-weight: 600; }
.app-btn { background: var(--purple-700); color: #fff; font-weight: 700; font-size: .82rem; padding: 8px 14px; border-radius: 99px; }
.app-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.app-kpi { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px; }
.app-kpi small { display: block; font-size: .76rem; color: var(--muted); font-weight: 600; }
.app-kpi strong { font-family: var(--f-display); font-size: 1.6rem; color: var(--purple-900); }
.app-kpi span { font-size: .74rem; font-weight: 700; color: var(--teal-600); margin-left: 6px; }
.app-list { background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.app-row { display: grid; grid-template-columns: 38px 1fr auto; align-items: center; gap: 12px; padding: 11px 14px; border-top: 1px solid var(--line); font-size: .9rem; opacity: 0; transform: translateY(8px); animation: rowIn .45s forwards; }
.app-row:first-child { border-top: 0; }
.app-row__av { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; font-size: 1.1rem; background: var(--purple-50); }
.app-row b { display: block; font-weight: 700; color: var(--ink); }
.app-row small { color: var(--muted); font-size: .78rem; }
.tag { font-size: .74rem; font-weight: 800; padding: 4px 10px; border-radius: 99px; white-space: nowrap; }
.tag--ok { background: var(--teal-100); color: var(--teal-700); }
.tag--warn { background: var(--yellow-soft); color: #8a6a00; }
.tag--info { background: var(--purple-100); color: var(--purple-700); }
.tag--bad { background: var(--pink-100); color: #b0307a; }
.bar { height: 6px; border-radius: 6px; background: var(--purple-50); margin-top: 6px; overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: 6px; background: var(--teal-600); width: var(--w); animation: barIn 1s .2s both; }
.bar i.low { background: #e5527f; }
@keyframes rowIn { to { opacity: 1; transform: none; } }
@keyframes barIn { from { width: 0; } }

.demo__toast {
  position: absolute; right: 18px; bottom: 18px; display: flex; align-items: center; gap: 10px;
  background: var(--purple-900); color: #fff; padding: 12px 16px; border-radius: 14px; font-size: .86rem; font-weight: 600;
  box-shadow: var(--shadow-lg); transform: translateY(20px); opacity: 0; transition: .4s cubic-bezier(.2, .8, .2, 1); pointer-events: none;
}
.demo__toast.show { transform: none; opacity: 1; }
.demo__toast::before { content: "🔔"; }

/* ---------- Why ---------- */
.why { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
.why__intro { position: sticky; top: 110px; }
.why__intro p { color: var(--ink-2); font-size: 1.1rem; margin-top: 18px; }
.piggy {
  margin-top: 32px; display: flex; align-items: center; gap: 16px; padding: 20px 22px; border-radius: var(--radius);
  background: var(--pink-100); border: 2px dashed #f0a6cc;
}
.piggy__coin {
  width: 56px; height: 56px; border-radius: 50%; flex: none; display: grid; place-items: center;
  background: radial-gradient(circle at 35% 30%, #ffe680, #f5b800); color: #7a5200; font-family: var(--f-display); font-weight: 800; font-size: 1.6rem;
  box-shadow: inset 0 -4px 0 rgba(0, 0, 0, .12), 0 8px 18px rgba(245, 184, 0, .35); animation: flip 4s ease-in-out infinite;
}
@keyframes flip { 0%, 70% { transform: rotateY(0); } 85% { transform: rotateY(180deg); } 100% { transform: rotateY(360deg); } }
.piggy strong { display: block; font-family: var(--f-display); font-size: 1.15rem; color: #9b1f62; }
.piggy span { font-size: .94rem; color: #7d3a5f; }
.why__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.why__list li {
  display: flex; gap: 16px; padding: 22px; background: #fff; border-radius: var(--radius); border: 1px solid var(--line);
  box-shadow: var(--shadow-sm); transition: transform .3s, box-shadow .3s, border-color .3s;
}
.why__list li:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--purple-100); }
.why__ico { width: 48px; height: 48px; flex: none; border-radius: 14px; display: grid; place-items: center; background: var(--teal-100); color: var(--teal-700); }
.why__list li:nth-child(3n+2) .why__ico { background: var(--purple-100); color: var(--purple-700); }
.why__list li:nth-child(3n) .why__ico { background: var(--yellow-soft); color: #9a7200; }
.why__ico svg { width: 24px; height: 24px; }
.why__list h3 { font-size: 1.06rem; color: var(--purple-900); margin-bottom: 4px; }
.why__list p { font-size: .93rem; color: var(--muted); }

/* ---------- Steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; position: relative; }
.steps::before {
  content: ""; position: absolute; top: 46px; left: 12%; right: 12%; height: 2px;
  background: repeating-linear-gradient(90deg, rgba(255, 210, 63, .6) 0 10px, transparent 10px 20px);
}
.step { position: relative; text-align: center; padding: 0 8px; }
.step__n {
  position: absolute; top: -6px; left: 50%; margin-left: 22px; width: 28px; height: 28px; border-radius: 50%;
  background: var(--yellow); color: var(--purple-900); font-weight: 800; font-size: .85rem; display: grid; place-items: center; z-index: 2;
}
.step__ico {
  position: relative; width: 92px; height: 92px; margin: 0 auto 22px; border-radius: 28px; display: grid; place-items: center;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .15); color: #fff;
  backdrop-filter: blur(6px); transition: transform .35s, background .35s;
}
.step:hover .step__ico { transform: translateY(-6px) rotate(-4deg); background: rgba(255, 255, 255, .14); }
.step__ico svg { width: 38px; height: 38px; stroke-width: 1.8; }
.step h3 { font-size: 1.2rem; margin-bottom: 8px; }
.step p { color: rgba(255, 255, 255, .72); font-size: .95rem; }

/* ---------- Contact / builder ---------- */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
.contact__copy p { color: var(--ink-2); font-size: 1.1rem; margin: 18px 0 28px; }
.wa-big {
  display: inline-flex; align-items: center; gap: 16px; text-decoration: none; padding: 14px 26px 14px 14px; border-radius: 999px;
  background: var(--purple-700); color: #fff; box-shadow: 0 16px 34px rgba(91, 42, 145, .35); transition: transform .25s;
}
.wa-big:hover { transform: translateY(-3px) scale(1.02); }
.wa-big__ico { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: var(--wa); color: #fff; }
.wa-big__ico svg { width: 32px; height: 32px; fill: currentColor; }
.wa-big small { display: block; font-size: .8rem; opacity: .8; font-weight: 600; }
.wa-big strong { font-family: var(--f-display); font-size: 1.9rem; letter-spacing: .01em; line-height: 1; }
.signature { margin-top: 36px; display: flex; flex-direction: column; }
.signature__name { font-family: var(--f-hand); font-size: 2.6rem; color: var(--purple-800); line-height: 1; }
.signature__role { color: var(--muted); font-weight: 600; font-size: .95rem; }

.builder { background: #fff; border-radius: 28px; padding: 30px; border: 1px solid var(--line); box-shadow: var(--shadow); display: grid; gap: 20px; }
.builder__head { display: flex; align-items: center; justify-content: space-between; }
.builder__step { font-family: var(--f-display); font-weight: 800; font-size: 1.35rem; color: var(--purple-900); }
.builder__badge { font-size: .78rem; font-weight: 800; color: var(--teal-700); background: var(--teal-100); padding: 4px 12px; border-radius: 99px; }
.field { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; min-width: 0; }
.field > span, .field legend { font-weight: 700; font-size: .93rem; color: var(--ink); padding: 0; margin-bottom: 8px; }
.field > span { margin-bottom: 0; }
.field em { font-style: normal; color: var(--muted); font-weight: 500; }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); padding: 12px 14px; border-radius: 12px;
  border: 1.5px solid var(--line); background: #fdfbff; transition: border-color .2s, box-shadow .2s; resize: vertical;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--purple-500); box-shadow: 0 0 0 4px var(--purple-100); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  border: 0; background: var(--purple-50); color: var(--ink-2); padding: 8px 14px; border-radius: 99px; font-weight: 600; font-size: .88rem;
  box-shadow: inset 0 0 0 1.5px var(--line); transition: all .2s;
}
.chip:hover { box-shadow: inset 0 0 0 1.5px var(--purple-500); }
.chip[aria-pressed="true"] { background: var(--purple-700); color: #fff; box-shadow: 0 6px 14px rgba(91, 42, 145, .25); }
.chip[aria-pressed="true"]::before { content: "✓ "; }
.preview { background: #ece5dd; border-radius: 16px; padding: 14px; }
.preview small { display: block; font-size: .74rem; font-weight: 700; color: #6b6259; margin-bottom: 8px; text-transform: uppercase; letter-spacing: .08em; }
.preview p {
  background: #dcf8c6; border-radius: 12px 12px 4px 12px; padding: 10px 14px; font-size: .9rem; color: #1f2d1a; white-space: pre-line;
  margin-left: auto; max-width: 92%; box-shadow: 0 1px 1px rgba(0, 0, 0, .08); width: fit-content;
}

/* ---------- FAQ ---------- */
.faq { max-width: 820px; }
.faq__list { display: grid; gap: 12px; }
.faq details { background: #fff; border-radius: 18px; border: 1px solid var(--line); box-shadow: var(--shadow-sm); overflow: hidden; }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 24px; font-weight: 700; font-size: 1.05rem; color: var(--purple-900);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 26px; height: 26px; flex: none; padding: 5px; border-radius: 50%; background: var(--purple-100); color: var(--purple-700); transition: transform .3s, background .3s; }
.faq details[open] summary svg { transform: rotate(45deg); background: var(--yellow); color: var(--purple-900); }
.faq details p { padding: 0 24px 22px; color: var(--ink-2); }
.faq__list { display: flex; flex-direction: column; gap: 12px; }
.faq__group { display: flex; flex-direction: column; gap: 10px; }
.faq__group[hidden], .faq details[hidden] { display: none; }
.faq__group-title { font-size: .78rem; font-family: var(--f-body); font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--purple-600); margin: 18px 4px 2px; }
.faq__group:first-child .faq__group-title { margin-top: 0; }
.faq details.is-first { order: -1; }
.faq details.is-best { border-color: var(--purple-500); box-shadow: 0 0 0 4px var(--purple-100), var(--shadow-sm); }
.faq__answer { padding: 0 24px 22px; }
.faq details .faq__answer p { padding: 0; margin-bottom: 14px; }
.faq__listen {
  display: inline-flex; align-items: center; gap: 8px; border: 0; padding: 5px 16px 5px 5px; border-radius: 99px;
  background: var(--purple-50); color: var(--purple-700); font-weight: 700; font-size: .88rem; box-shadow: inset 0 0 0 1.5px var(--purple-100); transition: .2s;
}
.faq__listen:hover { background: var(--purple-100); transform: translateY(-1px); }
.faq__listen .ico { width: 14px; height: 14px; }
.faq__listen-av { width: 32px; height: 32px; border-radius: 50%; overflow: hidden; flex: none; box-shadow: 0 0 0 2px #fff; }
.faq__listen-av img { width: 100%; height: 100%; object-fit: cover; }
.faq__tools { display: grid; gap: 14px; margin-bottom: 26px; }
.faq__search { display: flex; align-items: center; gap: 10px; background: #fff; border: 1.5px solid var(--line); border-radius: 99px; padding: 0 18px; box-shadow: var(--shadow-sm); transition: border-color .2s, box-shadow .2s; }
.faq__search:focus-within { border-color: var(--purple-500); box-shadow: 0 0 0 4px var(--purple-100); }
.faq__search .ico { color: var(--muted); }
.faq__search input { flex: 1; min-width: 0; border: 0; background: none; font: inherit; padding: 14px 0; outline: none; color: var(--ink); }
.faq__filters { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.faq__filter { border: 0; background: #fff; color: var(--ink-2); padding: 7px 14px; border-radius: 99px; font-weight: 700; font-size: .85rem; box-shadow: inset 0 0 0 1.5px var(--line); transition: .2s; }
.faq__filter:hover { box-shadow: inset 0 0 0 1.5px var(--purple-500); }
.faq__filter[aria-pressed="true"] { background: var(--purple-700); color: #fff; box-shadow: none; }
.faq__empty { text-align: center; color: var(--muted); padding: 20px; }
.faq__more { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; color: var(--ink-2); font-weight: 600; }

/* ---------- CTA ---------- */
.cta { padding: 0 0 110px; background: linear-gradient(180deg, #fff 0, #fff 50%, var(--purple-900) 50%); }
.cta__inner {
  text-align: center; border-radius: 36px; padding: 72px 24px; color: #fff; position: relative; overflow: hidden;
  background: linear-gradient(120deg, var(--purple-700), var(--purple-600) 45%, var(--teal-600));
  box-shadow: var(--shadow-lg);
}
.cta__inner::before, .cta__inner::after {
  content: ""; position: absolute; border-radius: 50%; border: 2px dashed rgba(255, 255, 255, .25); animation: spin 40s linear infinite;
}
.cta__inner::before { width: 340px; height: 340px; top: -150px; left: -100px; }
.cta__inner::after { width: 260px; height: 260px; bottom: -120px; right: -60px; animation-direction: reverse; }
@keyframes spin { to { transform: rotate(360deg); } }
.cta h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); position: relative; }
.cta p { font-size: 1.15rem; opacity: .9; margin: 16px 0 30px; position: relative; }
.cta .btn { position: relative; }

/* ---------- Footer ---------- */
.footer { background: var(--purple-900); color: rgba(255, 255, 255, .7); padding: 10px 0 40px; }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.brand--light .brand__text strong { color: #fff; }
.brand--light .brand__text small { color: rgba(255, 255, 255, .6); }
.footer__links { display: flex; flex-wrap: wrap; gap: 20px; }
.footer__links a { text-decoration: none; font-weight: 600; font-size: .92rem; }
.footer__links a:hover { color: var(--yellow); }
.footer__copy { width: 100%; font-size: .85rem; border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 20px; }

/* ---------- WhatsApp flotante ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 62px; height: 62px; border-radius: 50%;
  display: grid; place-items: center; background: var(--wa); color: #fff; box-shadow: 0 12px 30px rgba(37, 211, 102, .45);
  transition: transform .25s;
}
.wa-float svg { width: 34px; height: 34px; fill: currentColor; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa); animation: ring 2.2s infinite; }
@keyframes ring { from { transform: scale(1); opacity: .8; } to { transform: scale(1.6); opacity: 0; } }
.wa-float:hover { transform: scale(1.08); }
.wa-float__tip {
  position: absolute; right: 74px; white-space: nowrap; background: #fff; color: var(--ink); font-weight: 700; font-size: .88rem;
  padding: 8px 14px; border-radius: 12px; box-shadow: var(--shadow); opacity: 0; transform: translateX(8px); transition: .3s; pointer-events: none;
}
.wa-float:hover .wa-float__tip, .wa-float.peek .wa-float__tip { opacity: 1; transform: none; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .2, 1); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .hero__copy { text-align: center; }
  .hero__lead { margin-inline: auto; }
  .hero__actions, .hero__trust { justify-content: center; }
  .hero__visual { max-width: 600px; width: 100%; margin: 0 auto; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .why, .contact { grid-template-columns: 1fr; gap: 40px; }
  .why__intro { position: static; text-align: center; }
  .piggy { text-align: left; max-width: 520px; margin-inline: auto; }
  .contact__copy { text-align: center; }
  .signature { align-items: center; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 48px; }
  .steps::before { display: none; }
}

@media (max-width: 860px) {
  .nav__toggle { display: block; }
  .nav__links {
    position: fixed; inset: 72px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; padding: 12px 16px 20px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    transform: translateY(-12px); opacity: 0; visibility: hidden; transition: .25s;
  }
  .nav__links.open { transform: none; opacity: 1; visibility: visible; }
  .nav__links a:not(.btn) { padding: 14px 6px; border-bottom: 1px solid var(--line); }
  .nav__links a:not(.btn)::after { display: none; }
  .nav__cta { margin-top: 14px; }
  .demo__body { grid-template-columns: 1fr; }
  .app-side { flex-direction: row; overflow-x: auto; padding: 12px; gap: 6px; align-items: center; }
  .app-side__brand { margin: 0 8px 0 0; white-space: nowrap; }
  .app-side a { white-space: nowrap; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .hl { white-space: normal; }
  .contact > *, .why > *, .hero__inner > * { min-width: 0; }
  .section { padding: 80px 0; }
  .hero { padding: 36px 0 70px; }
  .hero__visual { min-height: 400px; }
  .window--hero { right: 20px; transform: none; }
  .dash { min-height: 280px; grid-template-columns: 40px 1fr; }
  .dash__main { padding: 12px; gap: 10px; }
  .kpi { padding: 8px; } .kpi strong { font-size: 1.05rem; }
  .dash__rows div:nth-child(2) { display: none; }
  .phone { width: 150px; }
  .phone__item:nth-child(4) { display: none; }
  .fc--2 { left: -6px; top: 40%; }
  .fc--3 { display: none; }
  .float-card { font-size: .72rem; padding: 8px 10px 8px 8px; }
  .fc__ico { width: 28px; height: 28px; }
  .cards { grid-template-columns: 1fr; }
  .why__list { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .app-kpis { grid-template-columns: 1fr 1fr; }
  .app-kpi:nth-child(3) { display: none; }
  .app-main { padding: 16px; }
  .demo__toast { left: 12px; right: 12px; bottom: 12px; }
  .builder { padding: 22px 18px; }
  .wa-big strong { font-size: 1.5rem; }
  .btn--lg { padding: .95em 1.4em; }
  .hero__actions .btn { width: 100%; }
  .marquee span { font-size: 1.05rem; }
}

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