:root {
  --bg: #08080F;
  --bg-2: #0D0D18;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-2: rgba(255, 255, 255, 0.06);
  --text: #F4F3F8;
  --muted: rgba(244, 243, 248, 0.60);
  --faint: rgba(244, 243, 248, 0.40);
  --line: rgba(255, 255, 255, 0.12);

  --g1: #3B82F6;
  --g2: #8B5CF6;
  --g3: #EC4899;
  --g4: #F59E0B;
  --g-teal: #2DD4BF;
  --grad: linear-gradient(90deg, var(--g1), var(--g2), var(--g3), var(--g4));

  --radius: 22px;
  --radius-sm: 999px;

  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.06; margin: 0; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }

.wrap {
  width: 100%;
  max-width: 1140px;
  margin-inline: auto;
  padding-inline: 22px;
  position: relative;
}
.wrap--narrow { max-width: 760px; }

.brandbar {
  position: fixed;
  inset: 0 0 auto 0;
  height: 4px;
  background: var(--grad);
  z-index: 80;
}

.skip-link { position: absolute; left: -9999px; top: 0; background: #fff; color: #000; padding: 12px 18px; z-index: 100; }
.skip-link:focus { left: 12px; top: 12px; }

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

/* ---------- Display type ---------- */

.h-lead {
  display: block;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.35rem, 4.4vw, 2.35rem);
  color: rgba(244, 243, 248, 0.92);
  letter-spacing: -0.01em;
}
.h-display {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.3rem, 10vw, 6rem);
  letter-spacing: -0.02em;
  line-height: 0.98;
  margin-top: 2px;
  overflow-wrap: break-word;
}

.rule {
  display: block;
  width: 132px;
  height: 5px;
  border-radius: 999px;
  background: var(--grad);
  margin-top: 26px;
}
.rule--sm { width: 92px; height: 4px; margin-top: 20px; }
.section__head .rule { margin-inline: auto; }

.eyebrow {
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--faint);
}

.tag {
  display: inline-block;
  padding: 8px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: rgba(244, 243, 248, 0.72);
}

/* ---------- Decor ---------- */

.glow { position: absolute; border-radius: 50%; filter: blur(90px); pointer-events: none; z-index: 0; }
.glow--hero {
  width: min(1000px, 130vw);
  height: 560px;
  left: 50%;
  top: -120px;
  transform: translateX(-50%);
  background:
    radial-gradient(closest-side, rgba(59,130,246,.34), transparent 70%),
    radial-gradient(closest-side, rgba(139,92,246,.30), transparent 72%);
  opacity: .9;
}
.glow--cta {
  width: min(820px, 120vw);
  height: 420px;
  left: 50%;
  top: -60px;
  transform: translateX(-50%);
  background:
    radial-gradient(closest-side, rgba(236,72,153,.30), transparent 70%),
    radial-gradient(closest-side, rgba(245,158,11,.20), transparent 72%);
}

.spark { position: absolute; fill: rgba(255,255,255,.10); pointer-events: none; z-index: 0; }
.spark--a { width: 74px; top: 96px; right: 6%; fill: rgba(255,255,255,.16); }
.spark--b { width: 40px; top: 330px; left: 7%; }
.spark--c { width: 58px; bottom: 42px; right: 9%; fill: rgba(255,255,255,.13); }

/* ---------- Logo ---------- */

.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: #fff;
}
.logo__svg { height: 1.45rem; width: auto; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 4px;
  z-index: 70;
  background: rgba(8, 8, 15, 0.72);
  backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--line);
}
.site-header__in { display: flex; align-items: center; gap: 24px; min-height: 70px; }
.site-nav { display: none; margin-left: auto; gap: 30px; font-size: 0.93rem; color: var(--muted); }
.site-nav a { text-decoration: none; }
.site-nav a:hover { color: var(--text); }
.site-header .btn--sm { margin-left: auto; }

@media (min-width: 880px) {
  .site-nav { display: flex; }
  .site-header .btn--sm { margin-left: 0; }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 24px;
  border-radius: var(--radius-sm);
  background: #fff;
  color: #0A0A12;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 10px 30px rgba(139, 92, 246, .28); }
.btn:active { transform: translateY(0); }
.btn__arrow {
  display: inline-grid; place-items: center;
  width: 21px; height: 21px;
  border-radius: 50%;
  background: rgba(10,10,18,.10);
  font-size: 0.78rem;
  transition: transform .15s ease;
}
.btn:hover .btn__arrow { transform: translateX(2px); }

.btn--sm { padding: 9px 19px; font-size: 0.875rem; }
.btn--lg { padding: 16px 30px; font-size: 1rem; }

.btn--ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn--ghost:hover { background: var(--surface-2); box-shadow: none; }
.btn--ghost .btn__arrow { background: rgba(255,255,255,.14); }

/* ---------- Pills ---------- */

.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pills li {
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--surface);
  font-size: 0.84rem;
  font-weight: 500;
  color: rgba(244,243,248,.82);
}
.pills--hero { justify-content: center; margin-top: 40px; }

/* ---------- Hero ---------- */

.hero { position: relative; padding: 72px 0 84px; overflow: hidden; }
.hero__in { text-align: center; z-index: 1; }
.hero h1 { margin-top: 28px; }
.hero .rule { margin-inline: auto; }
.hero__sub {
  max-width: 640px;
  margin: 26px auto 0;
  font-size: clamp(1.02rem, 2.5vw, 1.16rem);
  color: var(--muted);
}
.hero__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 34px; }

/* ---------- Mascota ---------- */

.bot { width: min(216px, 54vw); margin: 46px auto 0; }
.bot svg { width: 100%; height: auto; overflow: visible; }
.bot__float,
.bot__eye,
.bot__spark,
.bot__core,
.bot__shadow { transform-box: fill-box; transform-origin: center; }

.bot__float { animation: botFloat 4.6s ease-in-out infinite; }
.bot__eye { animation: botBlink 6.2s infinite; filter: drop-shadow(0 0 7px rgba(45, 212, 191, .85)); }
.bot__eye--r { animation-delay: .04s; }
.bot__spark { animation: botSpark 2.4s ease-in-out infinite; filter: drop-shadow(0 0 8px rgba(45, 212, 191, .9)); }
.bot__core { animation: botCore 2.8s ease-in-out infinite; filter: drop-shadow(0 0 8px rgba(236, 72, 153, .8)); }
.bot__shadow { animation: botShadow 4.6s ease-in-out infinite; }

@keyframes botFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-11px); }
}
@keyframes botBlink {
  0%, 90%, 100% { transform: scaleY(1); }
  94% { transform: scaleY(.1); }
}
@keyframes botSpark {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(.72); opacity: .6; }
}
@keyframes botCore {
  0%, 100% { opacity: 1; }
  50% { opacity: .55; }
}
@keyframes botShadow {
  0%, 100% { transform: scaleX(1); opacity: .5; }
  50% { transform: scaleX(.8); opacity: .3; }
}

/* ---------- Sections ---------- */

.section { position: relative; padding: 92px 0; }
.section--alt { background: var(--bg-2); border-block: 1px solid var(--line); }

.section__head { text-align: center; max-width: 660px; margin: 0 auto 52px; }
.section__head h2 { font-size: clamp(2rem, 6vw, 3.1rem); margin-top: 14px; letter-spacing: -0.02em; }
.section__sub { margin-top: 24px; color: var(--muted); font-size: 1.05rem; }

/* ---------- Cards ---------- */

.grid { display: flex; flex-wrap: wrap; gap: 26px; }
.grid > .card { flex: 1 1 100%; }
@media (min-width: 960px) { .grid > .card { flex: 1 1 460px; } }

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px 26px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background:
    linear-gradient(165deg, rgba(59,130,246,.16), transparent 42%),
    linear-gradient(340deg, rgba(139,92,246,.20), transparent 46%),
    var(--bg-2);
  overflow: hidden;
  transition: transform .2s ease, border-color .2s ease;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--grad);
}
.card:hover { transform: translateY(-3px); border-color: rgba(255,255,255,.22); }

.card--gemini {
  background:
    linear-gradient(165deg, rgba(139,92,246,.20), transparent 42%),
    linear-gradient(340deg, rgba(236,72,153,.20), transparent 46%),
    var(--bg-2);
}

.card--agentes {
  background:
    linear-gradient(165deg, rgba(236,72,153,.20), transparent 42%),
    linear-gradient(340deg, rgba(245,158,11,.20), transparent 46%),
    var(--bg-2);
}

.card--n8n {
  background:
    linear-gradient(165deg, rgba(245,158,11,.20), transparent 42%),
    linear-gradient(340deg, rgba(45,212,191,.20), transparent 46%),
    var(--bg-2);
}

.card--contadores {
  background:
    linear-gradient(165deg, rgba(59,130,246,.20), transparent 42%),
    linear-gradient(340deg, rgba(45,212,191,.20), transparent 46%),
    var(--bg-2);
}

.card--marketing {
  background:
    linear-gradient(165deg, rgba(139,92,246,.20), transparent 42%),
    linear-gradient(340deg, rgba(245,158,11,.20), transparent 46%),
    var(--bg-2);
}

.card--webs {
  background:
    linear-gradient(165deg, rgba(139,92,246,.20), transparent 42%),
    linear-gradient(340deg, rgba(45,212,191,.20), transparent 46%),
    var(--bg-2);
}

.card--farmacia {
  background:
    linear-gradient(165deg, rgba(236,72,153,.20), transparent 42%),
    linear-gradient(340deg, rgba(45,212,191,.20), transparent 46%),
    var(--bg-2);
}

.badge {
  display: inline-block;
  padding: 7px 15px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--surface-2);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(244,243,248,.82);
}

.card__head { margin-bottom: 30px; }
.card__lead {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.08rem, 3vw, 1.35rem);
  color: rgba(244,243,248,.86);
  margin-top: 26px;
}
.card__title {
  font-size: clamp(1.75rem, 8.2vw, 3.1rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-top: 4px;
  overflow-wrap: break-word;
}

.modules { border-top: 1px solid var(--line); }
.modules li {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 15px 2px;
  border-bottom: 1px solid var(--line);
}
.modules--simple li { grid-template-columns: auto 1fr; }
.modules__name { font-weight: 600; font-size: 1rem; }
.modules__n { color: var(--faint); font-size: 0.86rem; white-space: nowrap; }

.dot { width: 9px; height: 9px; border-radius: 50%; }
.dot--1 { background: var(--g1); }
.dot--2 { background: var(--g2); }
.dot--3 { background: var(--g3); }
.dot--4 { background: var(--g-teal); }
.dot--5 { background: var(--g4); }

.card .pills { margin-top: 26px; }

.card__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: auto;
  padding-top: 28px;
}
.card__note { font-size: 0.95rem; color: var(--muted); line-height: 1.5; }
.card__note strong {
  font-weight: 700;
  background: linear-gradient(90deg, var(--g3), var(--g4));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.grid__note { margin-top: 34px; text-align: center; color: var(--muted); font-size: 0.97rem; }
.grid__note a { color: var(--text); text-underline-offset: 4px; }

/* ---------- Features ---------- */

.features { display: grid; gap: 22px; }
@media (min-width: 720px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .features { grid-template-columns: repeat(4, 1fr); } }

.features li {
  padding: 30px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.features__n {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.6rem;
  line-height: 1;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.features h3 { font-size: 1.2rem; margin-top: 16px; }
.features p { margin-top: 10px; color: var(--muted); font-size: 0.95rem; }

/* ---------- Quiénes somos ---------- */

.about { display: grid; gap: 28px; align-items: start; }
@media (min-width: 960px) { .about { grid-template-columns: 1.25fr 1fr; gap: 44px; } }

.about__text p { color: var(--muted); font-size: 1.04rem; }
.about__text p + p { margin-top: 20px; }
.about__text strong { color: var(--text); font-weight: 600; }
.creds { margin-top: 28px; }

.about__card {
  padding: 30px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(165deg, rgba(139,92,246,.18), transparent 46%),
    var(--surface);
}
.about__card h3 { font-size: 1.5rem; margin-top: 18px; }

.layers { margin-top: 22px; border-top: 1px solid var(--line); }
.layers li {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 14px;
  padding: 15px 2px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.98rem;
}
.layers .dot { margin-top: 8px; }
.layers strong { color: var(--text); font-weight: 600; }

.about__close { margin-top: 20px; color: var(--muted); font-size: 0.95rem; }

.social { margin-top: 52px; text-align: center; }
.social__lead { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; }
.social__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 22px; }

.btn__ico { width: 20px; height: 20px; flex: none; }

.btn--wa { background: #25D366; color: #05230F; }
.btn--wa:hover { background: #1FBE5A; box-shadow: 0 10px 30px rgba(37, 211, 102, .28); }

.btn--ig {
  background: linear-gradient(115deg, #F59E0B, #EC4899 52%, #8B5CF6);
  color: #fff;
}
.btn--ig:hover { box-shadow: 0 10px 30px rgba(236, 72, 153, .32); }

/* ---------- CTA ---------- */

.cta { position: relative; padding: 104px 0; overflow: hidden; border-top: 1px solid var(--line); }
.cta__in { text-align: center; z-index: 1; }
.cta h2 { margin-top: 26px; }
.cta .h-display {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.cta__sub { max-width: 540px; margin: 22px auto 0; color: var(--muted); }
.cta .btn { margin-top: 34px; }

/* ---------- FAQ ---------- */

.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 4px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.03rem;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-size: 1.5rem;
  font-weight: 300;
  line-height: 1;
  color: var(--g3);
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 4px 24px; color: var(--muted); max-width: 62ch; }

/* ---------- Footer ---------- */

.site-footer { border-top: 1px solid var(--line); background: var(--bg-2); padding: 52px 0; }
.site-footer__in {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  text-align: center;
}
.site-footer__place { margin-top: 14px; font-size: 0.85rem; color: var(--faint); }
.site-footer__nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; font-size: 0.93rem; color: var(--muted); }
.site-footer__nav a { text-decoration: none; }
.site-footer__nav a:hover { color: var(--text); }
.site-footer__legal { font-size: 0.85rem; color: var(--faint); }

.site-footer__end { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.socials { display: flex; gap: 12px; }
.socials a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
  transition: color .15s ease, border-color .15s ease, transform .15s ease;
}
.socials a:hover { color: var(--text); border-color: rgba(255,255,255,.28); transform: translateY(-2px); }
.socials svg { width: 19px; height: 19px; }

@media (min-width: 880px) {
  .site-footer__in { flex-direction: row; justify-content: space-between; text-align: left; align-items: flex-end; }
  .site-footer__end { align-items: flex-end; }
}

/* ---------- WhatsApp ---------- */

.wa {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 75;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  box-shadow: 0 8px 26px rgba(0, 0, 0, .45);
  transition: transform .15s ease;
}
.wa:hover { transform: scale(1.05); }
.wa svg { width: 30px; height: 30px; }

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