/* 2Monkeys: web corporativa. Oscuro tecnológico, violeta de la marca y cian
   de acento; tipografía Sora (títulos) + Inter (texto). */
:root {
  --bg: #07060d;
  --bg-alt: #0c0a16;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-strong: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #f4f2fb;
  --text-muted: #a8a3bd;
  --text-dim: #77728c;
  --violet: #8b5cf6;
  --violet-strong: #7c3aed;
  --cyan: #22d3ee;
  --gradient: linear-gradient(100deg, #a78bfa 0%, #8b5cf6 35%, #22d3ee 100%);
  --radius: 18px;
  --radius-sm: 12px;
  --container: 1200px;
  --font-display: "Sora", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  color-scheme: dark;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0;
}

h2 {
  font-size: clamp(1.9rem, 1.2rem + 2.6vw, 3.1rem);
  font-weight: 700;
}

h3 {
  font-size: 1.2rem;
  font-weight: 600;
}

p {
  margin: 0;
}

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

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  background: var(--violet);
  color: #fff;
  padding: 10px 16px;
  border-radius: 10px;
}

.skip-link:focus {
  top: 16px;
}

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font: 600 0.78rem/1 var(--font-body);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 18px;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: currentColor;
}

.muted {
  color: var(--text-dim);
}

/* Botones */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 24px;
  border-radius: 999px;
  font: 600 0.98rem/1 var(--font-body);
  border: 1px solid transparent;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease;
  white-space: nowrap;
}

.btn--sm {
  min-height: 42px;
  padding: 0 18px;
  font-size: 0.9rem;
}

.btn--primary {
  background: linear-gradient(135deg, #8b5cf6, #6d28d9);
  color: #fff;
  box-shadow:
    0 10px 30px -10px rgba(139, 92, 246, 0.7),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow:
    0 16px 40px -12px rgba(139, 92, 246, 0.85),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn--ghost {
  background: var(--surface);
  border-color: var(--border-strong);
  color: var(--text);
}

.btn--ghost:hover {
  background: var(--surface-strong);
  border-color: rgba(255, 255, 255, 0.28);
}

/* Encabezado */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  transition:
    background 0.25s ease,
    border-color 0.25s ease;
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  background: rgba(7, 6, 13, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--border);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 24px;
}

.brand {
  flex: none;
}

.brand img {
  height: 22px;
  width: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav ul {
  display: flex;
  gap: 26px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav ul a {
  font-size: 0.92rem;
  white-space: nowrap;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.site-nav ul a:hover {
  color: var(--text);
}

.site-nav__actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font: 600 0.82rem/1 var(--font-body);
  color: var(--text-muted);
  padding: 9px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
}

.lang-switch:hover {
  color: var(--text);
  border-color: var(--border-strong);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
}

.menu-toggle__bar {
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s ease;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bar:first-of-type {
  transform: translateY(4px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bar:last-of-type {
  transform: translateY(-4px) rotate(-45deg);
}

/* Hero */
.hero {
  position: relative;
  margin-top: -76px;
  padding: 190px 0 110px;
  overflow: hidden;
  isolation: isolate;
}

.hero__glow {
  position: absolute;
  inset: -20% -10% auto;
  height: 900px;
  z-index: -1;
  background:
    radial-gradient(45% 45% at 70% 25%, rgba(124, 58, 237, 0.45), transparent 70%),
    radial-gradient(35% 35% at 20% 10%, rgba(34, 211, 238, 0.18), transparent 70%),
    radial-gradient(30% 30% at 90% 70%, rgba(167, 139, 250, 0.2), transparent 70%);
  filter: blur(10px);
}

.hero__grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
}

.hero__inner {
  max-width: 980px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero__title {
  font-size: clamp(2.6rem, 1.3rem + 5.6vw, 5.4rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.02;
}

.hero__title .gradient-text {
  display: inline-block;
}

.hero__text {
  margin-top: 26px;
  max-width: 720px;
  font-size: clamp(1.02rem, 0.95rem + 0.35vw, 1.22rem);
  color: var(--text-muted);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 38px;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 46px 0 0;
}

.badges li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 999px;
  font-size: 0.86rem;
  color: var(--text-muted);
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan);
}

/* Cifras */
.stats {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(139, 92, 246, 0.06), transparent);
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat {
  padding: 38px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-left: 1px solid var(--border);
}

.stat:first-child {
  border-left: 0;
}

.stat__value {
  font: 800 clamp(2.2rem, 1.6rem + 2vw, 3.2rem) / 1 var(--font-display);
  letter-spacing: -0.03em;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-variant-numeric: tabular-nums;
}

.stat__label {
  color: var(--text-muted);
  font-size: 0.93rem;
}

/* Logos de clientes */
.logos {
  padding: 70px 0 64px;
}

.logos__title {
  text-align: center;
  font: 600 0.82rem/1 var(--font-body);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 34px;
}

.marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.marquee__track {
  display: flex;
  align-items: center;
  gap: 64px;
  width: max-content;
  animation: marquee 48s linear infinite;
}

.marquee:hover .marquee__track {
  animation-play-state: paused;
}

.marquee img {
  height: 44px;
  width: auto;
  max-width: 190px;
  object-fit: contain;
  opacity: 0.62;
  transition: opacity 0.2s ease;
}

.logo--invert {
  filter: brightness(0) invert(1);
}

.marquee img:hover {
  opacity: 1;
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* Secciones */
.section {
  padding: 120px 0;
  position: relative;
}

.section--alt {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section__head {
  max-width: 760px;
  margin: 0 auto 60px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section__head--left {
  text-align: left;
  align-items: flex-start;
  margin: 0;
}

.section__lead {
  margin-top: 18px;
  color: var(--text-muted);
  font-size: 1.08rem;
}

.section__more {
  margin-top: 40px;
  text-align: center;
}

.section__more a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--cyan);
  font-weight: 600;
}

.section__more a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Tarjetas de servicios */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.card {
  position: relative;
  padding: 32px 28px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015));
  transition:
    transform 0.3s ease,
    border-color 0.3s ease,
    background 0.3s ease;
  overflow: hidden;
}

.card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(60% 80% at 100% 0%, rgba(139, 92, 246, 0.16), transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(139, 92, 246, 0.45);
}

.card:hover::after {
  opacity: 1;
}

.card h3 {
  margin-top: 22px;
}

.card p {
  margin-top: 12px;
  color: var(--text-muted);
  font-size: 0.97rem;
}

.card__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.9), rgba(34, 211, 238, 0.7));
  box-shadow: 0 10px 24px -10px rgba(139, 92, 246, 0.8);
}

/* Herramientas propias */
.products {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.product {
  padding: 40px 36px;
  border-radius: 24px;
  border: 1px solid var(--border);
  background: var(--surface);
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
  overflow: hidden;
}

.product::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: var(--gradient);
  opacity: 0.8;
}

.product--monkiq {
  background: radial-gradient(80% 60% at 100% 0%, rgba(124, 58, 237, 0.22), transparent 70%), var(--surface);
}

.product--club {
  background: radial-gradient(80% 60% at 100% 0%, rgba(34, 211, 238, 0.14), transparent 70%), var(--surface);
}

.product__head {
  display: flex;
  align-items: center;
  gap: 16px;
}

.product__head img {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: #fff;
  padding: 4px;
}

.product h3 {
  font-size: 1.6rem;
}

.product__tag {
  color: var(--cyan);
  font-size: 0.86rem;
}

.product p {
  color: var(--text-muted);
}

.product .btn {
  align-self: flex-start;
  margin-top: auto;
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.checklist li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.96rem;
}

.checklist .icon {
  color: var(--cyan);
  flex: none;
  margin-top: 3px;
}

/* Alianzas */
.partners {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 60px;
  align-items: center;
}

.partner-badge {
  margin-top: 30px;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface);
}

.partner-badge img {
  height: 38px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.85;
}

.partners__cards {
  display: grid;
  gap: 18px;
}

.card--partner h3 {
  margin-top: 16px;
}

.partner-mark {
  display: inline-block;
  font: 700 0.8rem/1 var(--font-body);
  letter-spacing: 0.06em;
  padding: 7px 12px;
  border-radius: 8px;
}

.partner-mark--shopify {
  background: rgba(149, 191, 71, 0.16);
  color: #b5dd6d;
}

.partner-mark--tiendanube {
  background: rgba(46, 140, 255, 0.16);
  color: #7ab8ff;
}

/* Método */
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  counter-reset: step;
}

.step {
  padding: 30px 26px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  position: relative;
}

.step__num {
  font: 800 2.4rem/1 var(--font-display);
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.step h3 {
  margin-top: 18px;
}

.step p {
  margin-top: 10px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Capacitaciones */
.training {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.training .btn {
  margin-top: 32px;
}

.training__highlight {
  margin-top: 26px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 18px 20px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(34, 211, 238, 0.3);
  background: rgba(34, 211, 238, 0.06);
  font-weight: 500;
}

.training__highlight .icon {
  color: var(--cyan);
  flex: none;
  margin-top: 2px;
}

.training__visual {
  display: grid;
  place-items: center;
  min-height: 360px;
}

.orbit {
  position: relative;
  width: min(360px, 80vw);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px dashed var(--border-strong);
  background: radial-gradient(circle, rgba(139, 92, 246, 0.35), transparent 60%);
}

.orbit::before {
  content: "";
  position: absolute;
  inset: 22%;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
}

.orbit span {
  position: absolute;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(12, 10, 22, 0.9);
  border: 1px solid var(--border-strong);
  font: 600 0.85rem/1 var(--font-body);
  white-space: nowrap;
}

.orbit span:nth-child(1) {
  top: -4%;
  left: 50%;
  transform: translateX(-50%);
}

.orbit span:nth-child(2) {
  top: 30%;
  right: -12%;
}

.orbit span:nth-child(3) {
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--gradient);
  border: 0;
  color: #0b0716;
  font-size: 1.1rem;
  padding: 14px 22px;
}

.orbit span:nth-child(4) {
  bottom: 8%;
  left: -6%;
}

.orbit span:nth-child(5) {
  bottom: -2%;
  right: 14%;
}

/* Testimonios */
.quotes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.quote {
  margin: 0;
  padding: 30px 28px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.quote__mark {
  color: var(--violet);
}

.quote blockquote {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.55;
}

.quote figcaption {
  display: flex;
  flex-direction: column;
  margin-top: auto;
  font-size: 0.92rem;
}

.quote figcaption span {
  color: var(--text-dim);
}

/* Llamado final */
.final-cta {
  padding: 120px 0;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.final-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(50% 70% at 50% 100%, rgba(124, 58, 237, 0.4), transparent 70%);
}

.final-cta__inner {
  text-align: center;
  max-width: 820px;
}

.final-cta__inner p {
  margin-top: 18px;
  color: var(--text-muted);
  font-size: 1.1rem;
}

/* Pie */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 70px 0 28px;
  background: #05040a;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1.3fr;
  gap: 36px;
}

.site-footer__brand p {
  margin-top: 18px;
  color: var(--text-muted);
  max-width: 320px;
  font-size: 0.95rem;
}

.site-footer__title {
  font: 600 0.8rem/1 var(--font-body);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 18px;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
  font-size: 0.94rem;
}

.site-footer ul a {
  color: var(--text-muted);
}

.site-footer ul a:hover {
  color: var(--text);
}

.social {
  display: flex;
  gap: 10px;
  margin-top: 22px;
}

.social a {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  border: 1px solid var(--border);
  color: var(--text-muted);
}

.social a:hover {
  color: var(--text);
  border-color: var(--border-strong);
}

.site-footer__bottom {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.86rem;
  color: var(--text-dim);
}

/* Menú: página actual */
.site-nav ul a[aria-current="page"] {
  color: var(--text);
}

.site-footer__legal {
  display: flex;
  gap: 18px;
}

.site-footer__legal a:hover {
  color: var(--text);
}

/* Páginas internas */
.page-hero {
  position: relative;
  margin-top: -76px;
  padding: 170px 0 80px;
  overflow: hidden;
  isolation: isolate;
  border-bottom: 1px solid var(--border);
}

.page-hero__inner {
  max-width: 900px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-hero__title {
  font-size: clamp(2.2rem, 1.3rem + 3.6vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.section--tight {
  padding: 72px 0 110px;
}

.container--narrow {
  max-width: 820px;
}

.cards--2 {
  grid-template-columns: repeat(2, 1fr);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--cyan);
  font-weight: 600;
}

.link-arrow:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.link-arrow--back .icon {
  transform: rotate(180deg);
}

.areas {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.area {
  padding: 40px 36px;
  border-radius: 24px;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012));
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.area h2 {
  font-size: 1.7rem;
}

.area .section__lead {
  margin-top: -6px;
}

.area .link-arrow {
  margin-top: auto;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.prose {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

.prose > * + * {
  margin-top: 1.1em;
}

.prose h2,
.prose h3 {
  color: var(--text);
  margin-top: 1.8em;
}

.prose h2 {
  font-size: 1.6rem;
}

.prose a {
  color: var(--cyan);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.prose strong {
  color: var(--text);
}

.prose ul,
.prose ol {
  padding-left: 1.3em;
}

.prose li + li {
  margin-top: 0.4em;
}

.prose img {
  border-radius: var(--radius-sm);
  margin: 1.5em 0;
}

.split--center {
  align-items: center;
}

.split .btn {
  margin-top: 28px;
}

.video {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-strong);
  background: #000;
  box-shadow: 0 40px 80px -40px rgba(124, 58, 237, 0.6);
}

.video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.agenda-note {
  text-align: center;
  color: var(--cyan);
  font-weight: 600;
  margin: -32px 0 28px;
}

.page-hero .agenda-note {
  margin: 22px 0 0;
}

.agenda-frame {
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  min-height: 300px;
}

.prose--article h2 {
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem);
  margin-top: 2.2em;
}

.prose--article h3 {
  font-size: 1.2rem;
  margin-top: 1.6em;
}

.prose--article > :first-child {
  margin-top: 0;
}

/* Planes */
.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-items: stretch;
}

.plan {
  position: relative;
  padding: 36px 30px;
  border-radius: 24px;
  border: 1px solid var(--border);
  background: var(--surface);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.plan--featured {
  border-color: rgba(139, 92, 246, 0.6);
  background: radial-gradient(80% 50% at 50% 0%, rgba(124, 58, 237, 0.25), transparent 70%), var(--surface);
  box-shadow: 0 30px 60px -30px rgba(124, 58, 237, 0.6);
}

.plan__badge {
  position: absolute;
  top: -13px;
  left: 30px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--gradient);
  color: #0b0716;
  font: 700 0.75rem/1 var(--font-body);
  letter-spacing: 0.04em;
}

.plan h3 {
  font-size: 1.4rem;
}

.plan__text {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.plan__price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}

.plan__price strong {
  font: 800 2.2rem/1 var(--font-display);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.plan__price span {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.plan .btn {
  margin-top: auto;
}

.plans__note {
  margin-top: 26px;
  text-align: center;
  color: var(--text-dim);
  font-size: 0.9rem;
}

/* Preguntas frecuentes */
.faq {
  display: grid;
  gap: 12px;
}

.faq__item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
}

.faq__item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 24px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}

.faq__item summary::-webkit-details-marker {
  display: none;
}

.faq__icon {
  width: 14px;
  height: 14px;
  flex: none;
  position: relative;
}

.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  inset: 6px 0 auto;
  height: 2px;
  background: var(--cyan);
  border-radius: 2px;
  transition: transform 0.2s ease;
}

.faq__icon::after {
  transform: rotate(90deg);
}

.faq__item[open] .faq__icon::after {
  transform: rotate(0);
}

.faq__item p {
  padding: 0 24px 22px;
  color: var(--text-muted);
}

/* Clientes */
.logo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.logo-grid__item {
  display: grid;
  place-items: center;
  height: 120px;
  padding: 20px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface);
}

.logo-grid__item img {
  max-height: 46px;
  width: auto;
  opacity: 0.8;
}

.partner-badge--link {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  margin-top: 0;
  padding: 28px;
  color: var(--cyan);
  font-weight: 600;
}

.partner-badge--link span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* Herramientas */
.tool-logo {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  background: #fff;
  padding: 6px;
  margin-bottom: 22px;
}

.highlight-card {
  margin-top: 28px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid rgba(34, 211, 238, 0.3);
  background: rgba(34, 211, 238, 0.06);
}

.highlight-card .icon {
  color: var(--cyan);
  flex: none;
}

.highlight-card p {
  margin-top: 8px;
  color: var(--text-muted);
}

.address-card {
  font-style: normal;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-muted);
}

.address-card strong {
  color: var(--text);
}

.address-card a {
  color: var(--cyan);
}

/* Blog */
.posts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.post-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  overflow: hidden;
  transition:
    transform 0.3s ease,
    border-color 0.3s ease;
}

.post-card:hover {
  transform: translateY(-4px);
  border-color: rgba(139, 92, 246, 0.45);
}

.post-card img {
  aspect-ratio: 15 / 4;
  object-fit: cover;
  width: 100%;
}

.post-card__body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.post-card time,
.article time {
  color: var(--text-dim);
  font-size: 0.86rem;
}

.post-card h2 {
  font-size: 1.15rem;
  line-height: 1.3;
}

.post-card p {
  color: var(--text-muted);
  font-size: 0.93rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post-card .link-arrow {
  margin-top: auto;
}

.article {
  padding: 130px 0 110px;
}

.article .container {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.article h1 {
  font-size: clamp(1.9rem, 1.3rem + 2.4vw, 3rem);
}

.article__cover {
  border-radius: var(--radius);
  margin: 10px 0 16px;
}

/* Contacto */
.contact {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 36px;
  align-items: start;
}

.contact__form {
  padding: 36px;
  border-radius: 24px;
  border: 1px solid var(--border);
  background: var(--surface);
}

.contact__form form {
  display: grid;
  gap: 18px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.field input,
.field select,
.field textarea {
  font: inherit;
  font-size: 1rem;
  color: var(--text);
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  padding: 13px 14px;
  min-height: 48px;
  width: 100%;
}

.field textarea {
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--violet);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.25);
}

.field--error input,
.field--error textarea {
  border-color: #f87171;
}

.field--error span {
  color: #fca5a5;
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-note {
  font-size: 0.86rem;
}

.contact__form .btn {
  justify-self: start;
}

.notice {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 16px 18px;
  border-radius: 12px;
  font-weight: 500;
}

.notice--ok {
  border: 1px solid rgba(52, 211, 153, 0.4);
  background: rgba(52, 211, 153, 0.08);
  color: #a7f3d0;
}

.notice--error {
  border: 1px solid rgba(248, 113, 113, 0.4);
  background: rgba(248, 113, 113, 0.08);
  color: #fecaca;
}

.contact__info {
  padding: 32px;
  border-radius: 24px;
  border: 1px solid var(--border);
  background: var(--bg-alt);
}

.contact__agenda {
  display: grid;
  gap: 12px;
  padding-bottom: 24px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.contact__agenda .btn {
  justify-self: start;
}

.contact__info h2 {
  font-size: 1.3rem;
}

.contact__info dl {
  margin: 22px 0 0;
  display: grid;
  gap: 6px;
}

.contact__info dt {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-top: 12px;
}

.contact__info dd {
  margin: 0;
  color: var(--text-muted);
}

.contact__info dd a {
  color: var(--text);
}

@media (max-width: 1080px) {
  .plans,
  .posts {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin-inline: auto;
  }
  .areas,
  .split,
  .contact {
    grid-template-columns: 1fr;
  }
  .logo-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 640px) {
  .page-hero {
    padding: 130px 0 60px;
  }
  .cards--2,
  .form-grid {
    grid-template-columns: 1fr;
  }
  .logo-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .area,
  .contact__form,
  .contact__info {
    padding: 26px 20px;
  }
  .article {
    padding: 110px 0 80px;
  }
}

/* Aparición al hacer scroll (solo si el script corre) */
.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Responsive */
@media (max-width: 1280px) {
  .site-nav ul {
    gap: 18px;
  }
}

@media (max-width: 1080px) {
  .cards,
  .quotes {
    grid-template-columns: repeat(2, 1fr);
  }
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .partners,
  .training {
    grid-template-columns: 1fr;
  }
  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
  }
  .site-footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 1180px) {
  .menu-toggle {
    display: inline-flex;
  }
  .site-nav {
    position: fixed;
    inset: 76px 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 22px;
    padding: 24px;
    background: rgba(7, 6, 13, 0.97);
    border-bottom: 1px solid var(--border);
    transform: translateY(-120%);
    transition: transform 0.3s ease;
  }
  .site-nav.is-open {
    transform: none;
  }
  .site-nav ul {
    flex-direction: column;
    gap: 4px;
  }
  .site-nav ul a {
    display: block;
    padding: 12px 0;
    font-size: 1.05rem;
    color: var(--text);
  }
  .site-nav__actions {
    justify-content: space-between;
  }
}

@media (max-width: 900px) {
  .stats__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat:nth-child(3) {
    border-left: 0;
  }
  .stat:nth-child(n + 3) {
    border-top: 1px solid var(--border);
  }
  .products {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 16px;
  }
  .hero {
    padding: 150px 0 80px;
  }
  .section,
  .final-cta {
    padding: 84px 0;
  }
  .cards,
  .quotes,
  .steps {
    grid-template-columns: 1fr;
  }
  .stat {
    padding: 26px 16px;
  }
  .product {
    padding: 30px 22px;
  }
  .hero__actions .btn {
    width: 100%;
  }
  .site-footer__grid {
    grid-template-columns: 1fr;
  }
  .training__visual {
    min-height: 300px;
  }
  .orbit span:nth-child(2) {
    right: -4%;
  }
  .orbit span:nth-child(4) {
    left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .marquee__track {
    animation: none;
    flex-wrap: wrap;
    justify-content: center;
    width: auto;
  }
  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .btn,
  .card {
    transition: none;
  }
}
