/* KUXAN · estilos del sitio (derivados del diseño "Kuxan Sitio v4") */

:root {
  --ac: #e42b0c;
  --ac-deep: #b8230a;
  --ac-mid: #ff6a3d;
  --soft: #f5f5f5;
  --muted: #4a5565;
  --ink: #101828;
  --ink2: #4a5565;
  --ink3: #364153;
  --line: #e5e7eb;
  --line2: #d4d4d4;
  --line3: #eef0f2;
  --bg: #f5f5f5;
  --hover: #fafafa;
  --dk-line: #3a3a3a;
  --dk-text: #bdbdbd;
  --dk-ink: #ffffff;
  --dim: #99a1af;
  --error: #b42318;
  /* Fondos por sección (todos blancos en el diseño aprobado) */
  --s0: #ffffff;
  --s1: #ffffff;
  --s2: #ffffff;
  --s3: #ffffff;
  --s4: #ffffff;
  --s5: #ffffff;
  --s6: #ffffff;
  --s7: #ffffff;
  --s8: #ffffff;
  --gutter: clamp(20px, 4vw, 32px);
  --pad-section: clamp(56px, 8vw, 104px);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: #f5f5f5;
  color: var(--ink);
  font-family: 'Hanken Grotesk', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--ink); text-underline-offset: 3px; }
a:hover { color: var(--ink2); }
button, input, textarea { font: inherit; }
:focus-visible { outline: 3px solid var(--ac-mid); outline-offset: 3px; border-radius: 4px; }
[id] { scroll-margin-top: 84px; }
[hidden] { display: none !important; }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-size: clamp(16.5px, 0.4vw + 14.5px, 18px);
  line-height: 1.55;
  background: var(--s0);
  color: var(--ink);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 50;
  background: var(--ink);
  color: #fff;
  padding: 12px 16px;
  border-radius: 8px;
}
.skip-link:focus { left: 12px; color: #fff; }

.anchor { display: block; }

/* ---------- Encabezado ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(20, 20, 20, .94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid #2a2a2a;
  color: #fff;
}
.site-header__bar {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
}
.site-header__logo { display: flex; align-items: center; min-height: 44px; }
.site-header__logo img { height: 36px; width: auto; display: block; }

.nav-desktop { display: flex; gap: 24px; }
.nav-desktop a {
  color: #bdbdbd;
  text-decoration: none;
  padding: 12px 0;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .025em;
  text-transform: uppercase;
}
.nav-desktop a:hover,
.nav-desktop a[aria-current] { color: #fff; }

.site-header__actions { display: flex; gap: 8px; align-items: center; }

.btn-cta {
  background: var(--ac);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .025em;
  text-transform: uppercase;
  padding: 0 18px;
  border-radius: 8px;
  text-decoration: none;
  min-height: 44px;
  display: flex;
  align-items: center;
  white-space: nowrap;
  transition: background .2s;
}
.btn-cta:hover { background: var(--ac-deep); color: #fff; }
.btn-cta .short { display: none; }

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  border: 1px solid #3a3a3a;
  background: transparent;
  cursor: pointer;
  color: #fff;
}

.nav-mobile {
  display: flex;
  flex-direction: column;
  padding: 0 var(--gutter) 16px;
}
.nav-mobile a {
  color: #fff;
  text-decoration: none;
  padding: 13px 0;
  border-bottom: 1px solid #2a2a2a;
  font-size: 18px;
}
.nav-mobile a:last-child,
.nav-mobile a:nth-last-child(2) { border-bottom: 0; }
/* Celulares pequeños: logo y botón algo más compactos para que el encabezado quepa. */
@media (max-width: 399px) {
  .site-header__logo img { height: 30px; }
  .btn-cta { padding: 0 14px; }
}
/* En pantallas muy angostas (menos de 360 px) el botón del encabezado no cabe y pasa al menú. */
.nav-mobile__cta { display: none; }
@media (max-width: 359px) {
  .site-header .btn-cta { display: none; }
  .nav-mobile a.nav-mobile__cta { display: block; color: var(--ac-mid); font-weight: 600; }
  .nav-mobile a:nth-last-child(2) { border-bottom: 1px solid #2a2a2a; }
}

/* Selector de idioma ES | EN: en el encabezado de escritorio y al inicio del menú móvil. */
.lang-switch { display: flex; align-items: center; gap: 2px; color: #3a3a3a; font-size: 14px; }
.lang-switch a {
  color: #bdbdbd;
  text-decoration: none;
  font-weight: 500;
  letter-spacing: .025em;
  min-height: 44px;
  min-width: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lang-switch a:hover,
.lang-switch a[aria-current] { color: #fff; }
.site-header__actions .lang-switch { margin-right: 4px; }
.nav-mobile .lang-switch { gap: 12px; padding: 4px 0; border-bottom: 1px solid #2a2a2a; font-size: 18px; }
.nav-mobile .lang-switch a { padding: 0; border-bottom: 0; font-size: 18px; justify-content: flex-start; }

@media (max-width: 1039px) {
  .nav-desktop { display: none; }
  .menu-toggle { display: block; }
  .site-header__actions .lang-switch { display: none; }
}
@media (min-width: 1040px) {
  .nav-mobile { display: none !important; }
}
.nav-desktop a { white-space: nowrap; }
/* Etiqueta corta del botón donde la larga no cabe: celulares y, con el menú completo y el selector de idioma, entre 1040 y 1279 px. */
@media (max-width: 599px), (min-width: 1040px) and (max-width: 1279px) {
  .btn-cta .long { display: none; }
  .btn-cta .short { display: inline; }
}
/* Entre 1040 y 1279 px el menú completo y el selector de idioma comparten la barra: se compactan un poco. */
@media (min-width: 1040px) and (max-width: 1279px) {
  .nav-desktop { gap: 16px; }
}
/* Con la etiqueta larga del botón (desde 1280 px), el menú se separa un poco menos para dejar sitio al selector. */
@media (min-width: 1280px) {
  .nav-desktop { gap: 20px; }
}

/* ---------- Tipografía y piezas comunes ---------- */

.band { background: var(--s0); }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--pad-section) var(--gutter);
}

.h-section {
  margin: 0;
  font-size: clamp(32px, 3.2vw + 16px, 64px);
  line-height: 1.08;
  letter-spacing: -.025em;
  font-weight: 300;
  text-wrap: balance;
}

.eyebrow {
  margin: 0;
  font: 500 12.5px 'Hanken Grotesk', sans-serif;
  letter-spacing: .025em;
  color: var(--muted);
  text-transform: uppercase;
}

.pill {
  margin: 0;
  align-self: flex-start;
  border: 1px solid var(--line2);
  border-radius: 8px;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .025em;
  text-transform: uppercase;
  color: var(--ink2);
}

.lead {
  margin: 0;
  max-width: 52ch;
  color: var(--ink2);
  font-size: 1.08em;
  text-wrap: pretty;
}

.muted { color: var(--ink2); }

.btn-primary {
  display: flex;
  align-items: stretch;
  min-height: 56px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--ac);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 14.5px;
  letter-spacing: .025em;
  text-transform: uppercase;
  transition: background .2s;
}
.btn-primary:hover { background: var(--ac-deep); color: #fff; }
.btn-primary__label { display: flex; align-items: center; padding: 0 22px; }
.btn-primary__icon {
  display: grid;
  place-items: center;
  width: 56px;
  background: rgba(0, 0, 0, .16);
  font-size: 18px;
}

.link-secondary {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  font-size: 14.5px;
  letter-spacing: .025em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--ink);
}
.link-secondary:hover { color: var(--ac); border-color: var(--ac); }

.btn-dark {
  align-self: flex-start;
  background: #1f1f1f;
  color: #fff;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: .025em;
  text-transform: uppercase;
  padding: 0 20px;
  border-radius: 8px;
  text-decoration: none;
  min-height: 48px;
  display: flex;
  align-items: center;
}
.btn-dark:hover { background: #000; color: #fff; }

.btn-text {
  align-self: flex-start;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: .025em;
  text-transform: uppercase;
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--ink);
  text-decoration: none;
  transition: gap .2s;
}
.btn-text:hover { gap: 12px; color: var(--ink); }

/* ---------- Primera pantalla ---------- */

.hero {
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(64px, 9vw, 128px) var(--gutter) clamp(56px, 7vw, 96px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr));
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.hero__text { display: flex; flex-direction: column; gap: 26px; }
.hero__title {
  margin: 0;
  font-size: clamp(32px, 3vw + 16px, 60px);
  line-height: 1.05;
  letter-spacing: -.035em;
  font-weight: 300;
  text-wrap: balance;
  color: var(--ink);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
  padding-top: 8px;
}
.hero__divider { width: 1px; height: 28px; background: var(--line2); }
/* En pantallas angostas el enlace secundario baja de línea y el separador quedaría suelto. */
@media (max-width: 559px) { .hero__divider { display: none; } }
.hero__product-logo { height: 44px; width: auto; display: block; align-self: flex-start; }

/* Demostraciones (figura con app de ejemplo) */
.demo { margin: 0; display: flex; flex-direction: column; gap: 14px; color: var(--ink); min-width: 0; }
.demo__tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.demo__tab {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: none;
  border: 0;
  padding: 0 0 4px;
  cursor: pointer;
  text-align: left;
  min-height: 44px;
  color: var(--ink2);
}
.demo__tab[aria-selected="true"] { color: var(--ink); }
.demo__track { display: block; height: 3px; width: 100%; background: var(--line); border-radius: 2px; overflow: hidden; }
.demo__progress { display: block; height: 100%; width: 0%; background: var(--ink); }
.demo__label { font-size: 12px; font-weight: 600; letter-spacing: .025em; text-transform: uppercase; }

.frame {
  position: relative;
  width: 100%;
  aspect-ratio: 600 / 440;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: rgba(0, 0, 0, .08) 0 12px 32px;
}
.frame__app {
  position: absolute;
  left: 0;
  top: 0;
  width: 600px;
  height: 440px;
  transform-origin: 0 0;
  display: flex;
  flex-direction: column;
  font-size: 13px;
  line-height: 1.4;
}
.frame__bar {
  height: 36px;
  flex: none;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 12px;
  background: #f5f5f5;
  border-bottom: 1px solid var(--line);
}
.frame__dots { display: flex; gap: 6px; }
.frame__dots span { width: 10px; height: 10px; border-radius: 50%; background: #d4d4d4; }
.frame__url-wrap { flex: 1; display: flex; justify-content: center; }
.frame__url {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 3px 12px;
  font-size: 11.5px;
  color: var(--ink2);
  min-width: 250px;
  text-align: center;
}
.frame__badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .05em;
  color: var(--ink2);
}
.frame__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ac); }
.frame__body { flex: 1; position: relative; overflow: hidden; }

.demo__foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.demo__caption { font-size: 14.5px; color: var(--ink2); text-wrap: pretty; }
.btn-outline {
  flex: none;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 8px;
  border: 1px solid var(--line2);
  background: #fff;
  cursor: pointer;
  font-size: 13.5px;
  color: var(--ink);
}

/* ---------- Franja de clientes ---------- */

.clients {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--s2);
}
.clients__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(40px, 5vw, 64px) var(--gutter);
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.clients__title {
  margin: 0;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .025em;
  text-transform: uppercase;
  color: var(--ink2);
  text-align: center;
}
.clients__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 20px 44px;
}
.clients__list img {
  height: 34px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: .75;
  display: block;
}

/* ---------- Tarjetas numeradas (soluciones, módulos, planes) ---------- */

.section-head {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: 20px 64px;
  align-items: end;
}
.section-head p { margin: 0; color: var(--ink2); max-width: 52ch; text-wrap: pretty; }

.stack { display: flex; flex-direction: column; gap: clamp(32px, 4vw, 56px); }

.cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}
.cards--compact { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.card {
  background: #fff;
  padding: clamp(22px, 2.6vw, 32px);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: background .2s;
}
.card:hover { background: var(--hover); }
.card__num {
  font-size: clamp(40px, 3vw + 20px, 56px);
  line-height: 1;
  font-weight: 300;
  letter-spacing: -.03em;
  color: var(--line2);
}
.cards--compact .card__num { font-size: clamp(32px, 2vw + 18px, 44px); }
.card__title { margin: 0; font-size: 26px; font-weight: 400; line-height: 1.25; letter-spacing: -.01em; }
.cards--compact .card__title { font-size: 21px; }
.card__text { margin: 0; font-size: 16.5px; color: var(--ink2); flex: 1; text-wrap: pretty; }
.card--soft {
  background: var(--soft);
  justify-content: space-between;
  gap: 20px;
}
.card--soft:hover { background: var(--soft); }
.card--soft p { margin: 0; font-size: 24px; font-weight: 400; line-height: 1.3; text-wrap: balance; }

.dot-list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; font-size: 15.5px; line-height: 1.45; }
.dot-list li { display: flex; gap: 10px; }
.dot-list li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ink);
  margin-top: 9px;
  flex: none;
}

/* ---------- Casos (lista con punto) ---------- */

.split {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--pad-section) var(--gutter);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr));
  gap: clamp(32px, 5vw, 72px);
}
.split__intro { display: flex; flex-direction: column; gap: 16px; }
.split__intro p:not(.eyebrow) { margin: 0; color: var(--ink2); }

.bullets { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.bullets li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 20px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
}
.bullets__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--ink); margin-top: 9px; }
.bullets h3 { margin: 0; font-size: 20px; font-weight: 500; }
.bullets p { margin: 0; color: var(--ink2); font-size: 16.5px; text-wrap: pretty; grid-column: 2; }

/* ---------- Pasos ---------- */

.steps-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--pad-section) var(--gutter);
  display: flex;
  flex-direction: column;
  gap: clamp(32px, 4vw, 48px);
}
.steps-section > .h-section { max-width: 22ch; }
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 32px;
}
.steps li { border-top: 2px solid var(--ink); padding-top: 20px; display: flex; flex-direction: column; gap: 12px; }
.steps__num { font-size: clamp(56px, 4vw + 24px, 88px); line-height: .9; font-weight: 300; letter-spacing: -.04em; color: var(--ink); }
.steps h3 { margin: 0; font-size: 21px; font-weight: 500; letter-spacing: -.01em; }
.steps p { margin: 0; font-size: 16px; color: var(--ink2); text-wrap: pretty; }

.dark-block {
  background: #1f1f1f;
  color: var(--dk-ink);
  border-radius: 8px;
  padding: clamp(28px, 4vw, 48px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr));
  gap: 32px;
}
.dark-block h3 {
  margin: 0;
  font-size: clamp(24px, 1.6vw + 14px, 34px);
  line-height: 1.15;
  letter-spacing: -.025em;
  font-weight: 300;
  text-wrap: balance;
}
.dark-block dl { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 24px; }
.dark-block dl > div { display: flex; flex-direction: column; gap: 6px; border-top: 1px solid var(--dk-line); padding-top: 14px; }
.dark-block dt { font-weight: 500; font-size: 17px; }
.dark-block dd { margin: 0; font-size: 15.5px; color: var(--dk-text); }

/* ---------- Nosotros y productos ---------- */

.about { background: var(--s6); border-top: 1px solid var(--line); }
.about__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--pad-section) var(--gutter);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.about__intro { display: flex; flex-direction: column; gap: 18px; }
.about__intro p:not(.eyebrow) { margin: 0; color: var(--ink2); max-width: 58ch; }
.products { display: flex; flex-direction: column; gap: 14px; }
.products h3 { margin: 0; font-size: 16px; font-weight: 500; color: var(--ink2); }
.products ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.products li { border-bottom: 1px solid var(--line); }
.products a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  min-height: 56px;
  text-decoration: none;
  color: var(--ink);
}
.products a:hover { color: var(--ink2); }
.products__name { display: flex; flex-direction: column; gap: 2px; }
.products__name b { font-weight: 500; font-size: 18px; }
.products__name span { font-size: 15px; color: var(--ink2); }

/* ---------- Preguntas frecuentes ---------- */

.faq {
  max-width: 880px;
  margin: 0 auto;
  padding: var(--pad-section) var(--gutter);
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.faq > h2 { margin: 0; font-size: clamp(32px, 3.2vw + 16px, 64px); letter-spacing: -.025em; font-weight: 300; }
.faq__item { background: #fff; border: 1px solid var(--line); border-radius: 8px; margin-bottom: 10px; }
.faq__item h3 { margin: 0; }
.faq__item button {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  text-align: left;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 18px 20px;
  min-height: 56px;
  font-size: 17.5px;
  font-weight: 500;
  color: var(--ink);
}
.faq__icon { font-size: 20px; color: var(--ink2); }
.faq__panel { padding: 0 20px 20px; color: var(--ink2); }

/* ---------- Contacto ---------- */

.contact {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--gutter) var(--pad-section);
}
.contact--top { padding-top: var(--pad-section); }
.contact__card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(24px, 4vw, 56px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: clamp(28px, 4vw, 56px);
}
.contact__intro { display: flex; flex-direction: column; gap: 16px; }
.contact__intro > p { margin: 0; color: var(--ink3); max-width: 46ch; }
.contact__links { display: flex; flex-direction: column; }
.contact__links a { min-height: 44px; display: inline-flex; align-items: center; align-self: flex-start; }
.contact__form-wrap { background: var(--bg); border-radius: 8px; padding: clamp(20px, 3vw, 28px); }
.form { display: flex; flex-direction: column; gap: 16px; }
.form__alert { background: #fdecea; color: #8a1c12; border-radius: 8px; padding: 12px 14px; font-size: 15.5px; }
.form__field { display: flex; flex-direction: column; gap: 6px; }
.form__field label { font-weight: 500; font-size: 15.5px; }
.form__field input,
.form__field textarea {
  min-height: 48px;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid var(--line2);
  background: #fff;
  color: var(--ink);
  font-size: 17px;
}
.form__field textarea { resize: vertical; }
.form__field [aria-invalid="true"] { border-color: var(--error); }
.form__error { color: var(--error); font-size: 14.5px; }
.form__error:empty { display: none; }
.form__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
/* Casilla reCAPTCHA v2 (304 × 78 px fijos). site.js la reduce si el formulario es más angosto. */
.form__captcha { min-height: 78px; }
.form__captcha .g-recaptcha { transform-origin: 0 0; }
.form__submit {
  align-self: flex-start;
  min-height: 50px;
  padding: 0 24px;
  border-radius: 8px;
  border: 0;
  background: var(--ac);
  color: #fff;
  font-weight: 600;
  font-size: 14.5px;
  letter-spacing: .025em;
  text-transform: uppercase;
  cursor: pointer;
}
.form__submit:hover { background: var(--ac-deep); }
.form__submit:disabled { opacity: .7; cursor: progress; }
.form__legal { margin: 0; font-size: 14.5px; color: var(--ink2); }
.form__status { display: flex; flex-direction: column; gap: 12px; }
.form__status h3 { margin: 0; font-size: 21px; font-weight: 500; }
.form__status p { margin: 0; color: var(--ink2); }
.form__status button {
  align-self: flex-start;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 8px;
  border: 1px solid var(--line2);
  background: #fff;
  cursor: pointer;
  color: var(--ink);
}

/* ---------- Pie de página ---------- */

.site-footer { background: #1f1f1f; }
.site-footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px var(--gutter);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px 32px;
  font-size: 15px;
  color: #bdbdbd;
}
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.site-footer a { color: #e5e5e5; }
.site-footer a:hover { color: #fff; }

/* ---------- Panel de solución ---------- */

.sol-layer { position: fixed; inset: 0; z-index: 60; }
.sol-scrim {
  position: absolute;
  inset: 0;
  background: color-mix(in oklch, var(--ink) 40%, transparent);
  opacity: 0;
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}
.sol-dialog {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(1240px, calc(100% - 32px));
  max-height: calc(100% - 24px);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 40px 100px color-mix(in oklch, var(--ink) 22%, transparent);
  opacity: 0;
  transform: translate(-50%, -50%);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}
.sol-dialog__top {
  position: sticky;
  top: 0;
  z-index: 2;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 8px clamp(20px, 3vw, 32px);
  border-bottom: 1px solid var(--line);
}
.sol-dialog__count { font: 500 12px 'Hanken Grotesk', sans-serif; letter-spacing: .025em; color: var(--muted); }
.sol-dialog__close {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  border: 1px solid var(--line2);
  background: #fff;
  cursor: pointer;
  font-size: 18px;
  color: var(--ink);
}
.sol-dialog__close:hover { background: var(--soft); }
.sol-dialog__body {
  padding: clamp(16px, 2.2vw, 26px) clamp(20px, 2.6vw, 32px);
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
}
.sol-dialog__title {
  margin: 0;
  max-width: 30ch;
  font-size: clamp(24px, 1vw + 18px, 34px);
  line-height: 1.08;
  letter-spacing: -.025em;
  font-weight: 300;
  text-wrap: balance;
}
.sol-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.sol-block { border-radius: 8px; padding: 14px; display: flex; flex-direction: column; gap: 8px; }
.sol-block h3 { margin: 0; font: 500 11.5px 'Hanken Grotesk', sans-serif; letter-spacing: .025em; color: var(--muted); }
.sol-block p { margin: 0; font-size: 15.5px; line-height: 1.5; }
.sol-block--summary { background: #1f1f1f; color: #fff; padding: clamp(14px, 1.6vw, 20px); }
.sol-block--summary h3 { color: #fff; opacity: .85; }
.sol-block--summary p { font-size: clamp(16px, 0.4vw + 14px, 18px); }
.sol-block--bg { background: var(--bg); }
.sol-block--line { border: 1px solid var(--line); gap: 10px; }
.sol-block--soft { background: var(--soft); }
@media (min-width: 640px) {
  .sol-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sol-block--summary { grid-row: span 3; }
}
@media (min-width: 1000px) {
  .sol-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .sol-block--summary { grid-row: span 2; }
}
.sol-dialog__foot {
  position: sticky;
  bottom: 0;
  background: #fff;
  border-top: 1px solid var(--line);
  padding: 10px clamp(20px, 3vw, 32px);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
}
.sol-dialog__cta {
  background: var(--ac);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .025em;
  text-transform: uppercase;
  padding: 0 20px;
  border-radius: 8px;
  text-decoration: none;
  min-height: 48px;
  display: flex;
  align-items: center;
}
.sol-dialog__cta:hover { background: var(--ac-deep); color: #fff; }
.sol-dialog__next {
  white-space: nowrap;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 8px;
  border: 1px solid var(--line2);
  background: #fff;
  cursor: pointer;
  font-weight: 500;
  color: var(--ink);
}
.sol-dialog__next:hover { border-color: var(--ink); }

/* ---------- Páginas de producto ---------- */

.plans-group { display: flex; flex-direction: column; gap: 16px; }
.plans-group > h3 { margin: 0; font-size: 16px; font-weight: 500; color: var(--ink2); }
.plan__tag { font-size: 12px; font-weight: 600; letter-spacing: .025em; text-transform: uppercase; color: var(--ac); }
.note { margin: 0; font-size: 15px; color: var(--ink2); max-width: 70ch; }

/* Ilustraciones estáticas dentro del marco de app */
.mock-chip { font-size: 11px; background: #fff; border: 1px solid var(--line); border-radius: 5px; padding: 2px 7px; color: var(--ink3); }
.mock-btn { border-radius: 6px; padding: 7px 12px; font-size: 12px; font-weight: 600; letter-spacing: .02em; }
.mock-btn--ac { background: var(--ac); color: #fff; }
.mock-btn--line { border: 1px solid var(--line2); color: var(--ink); font-weight: 500; }
.mock-label { font-size: 10.5px; font-weight: 600; letter-spacing: .05em; color: var(--ink2); text-transform: uppercase; }
.mock-check {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 9px;
  flex: none;
}
