/* ───────── Tokens ───────── */
:root {
  --ink: #0b1530;
  --ink-2: #101e40;
  --ink-3: #070d20;
  --blue: #0a6cff;
  --blue-dark: #0753c7;
  --cyan: #22c8ff;
  --bg-soft: #f6f8fc;
  --line: #e3e8f2;
  --muted: #55627f;
  --line-dark: #243767;
  --line-dark-2: #16254a;
  --text-dark: #b4c2de;
  --danger: #b42318;
  --success: #0b7a52;
  --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
}

/* ───────── Base ───────── */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
a {
  color: var(--blue);
  text-decoration: none;
}
a:hover {
  color: var(--blue-dark);
}
h1,
h2,
h3,
p,
ul {
  margin: 0;
}
:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}
section[id] {
  scroll-margin-top: 0;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.accent {
  color: var(--cyan);
}
.mt-48 {
  margin-top: 48px;
}
.mt-56 {
  margin-top: 56px;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

/* ───────── Tipografía ───────── */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--blue);
}
.eyebrow--cyan {
  color: var(--cyan);
}
.h2 {
  margin-top: 16px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.h2--lg {
  font-size: clamp(32px, 4vw, 44px);
}
.h2--md {
  font-size: clamp(30px, 3.6vw, 40px);
}
.h2--wide {
  max-width: 760px;
}
.section--solutions .h2 {
  max-width: 720px;
}
.lead {
  margin-top: 20px;
  font-size: 18px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 640px;
}
.lead--sm {
  font-size: 17px;
}
.lead--dark {
  color: var(--text-dark);
}

/* ───────── Botones ───────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 28px;
  border: 0;
  border-radius: 12px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease, opacity 0.2s ease;
}
.btn-primary {
  background: var(--blue);
  color: #fff;
}
.btn-primary:hover {
  background: var(--blue-dark);
  color: #fff;
}
.btn-primary:disabled {
  opacity: 0.7;
  cursor: progress;
}
.btn-outline {
  border: 1px solid #3a4e80;
  color: #fff;
  background: transparent;
}
.btn-outline:hover {
  border-color: var(--cyan);
  color: #fff;
}
.btn-outline-dark {
  border: 1px solid #cbd4e6;
  color: var(--ink);
  background: #fff;
}
.btn-outline-dark:hover {
  border-color: var(--blue);
  color: var(--blue);
}
.btn-cyan {
  background: var(--cyan);
  color: var(--ink);
  font-weight: 700;
  margin-top: 36px;
}
.btn-cyan:hover {
  background: #5ad8ff;
  color: var(--ink);
}
.btn-sm {
  min-height: 48px;
  padding: 0 22px;
}
.btn-block {
  display: flex;
  width: 100%;
}
.btn.is-disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ───────── Header ───────── */
.site-header {
  background: var(--ink);
  border-bottom: 1px solid #1b2a52;
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
}
.brand:hover {
  color: #fff;
}
.brand-name {
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  font-weight: 500;
}
.nav a {
  color: #c5d1ea;
}
.nav a:hover {
  color: #fff;
}
.nav .btn-pill {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  background: var(--cyan);
  color: var(--ink);
  font-weight: 600;
}
.nav .btn-pill:hover {
  background: #5ad8ff;
  color: var(--ink);
}

/* ───────── Hero ───────── */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: #fff;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--line-dark-2) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-dark-2) 1px, transparent 1px);
  background-size: 56px 56px;
  opacity: 0.45;
}
.hero-inner {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 96px 24px 112px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 64px;
}
.hero-copy {
  flex: 1 1 480px;
  min-width: 0;
}
.hero h1 {
  margin-top: 24px;
  font-size: clamp(38px, 5vw, 60px);
  line-height: 1.04;
  letter-spacing: -0.035em;
  font-weight: 800;
}
.hero-lead {
  margin-top: 28px;
  max-width: 560px;
  font-size: 19px;
  line-height: 1.6;
  color: var(--text-dark);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 40px;
}
.hero-panel {
  flex: 1 1 380px;
  min-width: 0;
  max-width: 520px;
}

/* ───────── Demo de factura ───────── */
.demo-card {
  background: var(--ink-2);
  border: 1px solid var(--line-dark);
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
}
.demo-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}
.demo-dots {
  display: flex;
  gap: 6px;
}
.demo-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #3a4e80;
}
.demo-title {
  font-family: var(--font-mono);
  font-size: 11px;
  color: #8fa2c9;
}
.demo-doc {
  background: var(--ink);
  border-radius: 14px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.demo-doc-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: #8fa2c9;
}
.demo-rule {
  height: 1px;
  background: var(--line-dark);
}
.demo-rows {
  min-height: 132px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.demo-empty {
  padding-top: 4px;
  font-size: 14px;
  color: #6f82ab;
}
.demo-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
  color: #e6edfb;
}
.demo-row-name {
  min-width: 0;
}
.demo-row-qty {
  color: #6f82ab;
}
.demo-row-price {
  font-family: var(--font-mono);
  color: var(--text-dark);
}
.demo-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}
.demo-total span {
  font-size: 13px;
  color: #8fa2c9;
}
.demo-total strong {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
}
.demo-btn {
  width: 100%;
  min-height: 52px;
  margin-top: 18px;
  border: 0;
  border-radius: 12px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  background: var(--blue);
  color: #fff;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.25s ease, opacity 0.25s ease;
}
.demo-btn[data-state='idle'] {
  opacity: 0.45;
  cursor: default;
}
.demo-btn[data-state='pulse'] {
  animation: pulseRing 0.9s ease-out infinite;
}
.demo-btn[data-state='pressed'] {
  background: var(--blue-dark);
  transform: scale(0.97);
}
.demo-btn[data-state='processing'] {
  background: #12315f;
  color: #7fe0ff;
  cursor: default;
}
.demo-btn[data-state='paid'] {
  background: var(--success);
  cursor: default;
}
.demo-stages {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 18px;
  opacity: 0.4;
  transition: opacity 0.3s ease;
}
.demo-stages.is-active {
  opacity: 1;
}
.demo-stage {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: #e6edfb;
}
.demo-stage-icon {
  width: 22px;
  height: 22px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
.demo-stage-label {
  flex: 1;
  min-width: 0;
}
.demo-stage-status {
  font-family: var(--font-mono);
  font-size: 12px;
  color: #8fa2c9;
}
.demo-spinner,
.demo-wait {
  display: block;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid #3a4e80;
}
.demo-spinner {
  border-top-color: var(--cyan);
}
.demo-delivered {
  margin-top: 2px;
  font-size: 13px;
  color: #7fe0ff;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.demo-delivered.is-visible {
  opacity: 1;
}

@keyframes rowIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes pulseRing {
  0% {
    box-shadow: 0 0 0 0 rgba(34, 200, 255, 0.65);
  }
  100% {
    box-shadow: 0 0 0 14px rgba(34, 200, 255, 0);
  }
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.row-in {
  animation: rowIn 0.35s ease both;
}
.spin {
  animation: spin 0.8s linear infinite;
}
@media (prefers-reduced-motion: reduce) {
  .row-in,
  .spin,
  .demo-btn[data-state='pulse'] {
    animation: none;
  }
}

/* ───────── Franja de confianza ───────── */
.trust {
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
}
.trust-grid {
  padding-top: 28px;
  padding-bottom: 28px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  gap: 24px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 600;
}
.trust-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
  flex: none;
}

/* ───────── Secciones ───────── */
.section--solutions {
  padding: 112px 0 96px;
}
.section--soft {
  background: var(--bg-soft);
}
.section--billing,
.section--products {
  padding: 96px 0;
}
.section--dark {
  background: var(--ink);
  color: #fff;
}
.section--erp {
  padding: 112px 0;
}
.section--ai {
  padding: 112px 0 80px;
}
.section--pricing {
  padding: 112px 0;
}
.section--contact {
  padding: 112px 0;
}

.grid {
  display: grid;
  gap: 24px;
}
.grid--300 {
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
}
.card {
  border-radius: 20px;
  padding: 32px;
}
.card--solution {
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.card--solution .num {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--blue);
}
.card h3 {
  font-size: 24px;
  letter-spacing: -0.02em;
}
.card p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted);
}
.link-more {
  margin-top: auto;
  font-size: 15px;
  font-weight: 600;
}
.card--product {
  background: #fff;
  border: 1px solid var(--line);
}
.card--product h3 {
  margin: 20px 0 10px;
}

.tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  padding: 6px 10px;
  border-radius: 6px;
}
.tag--soft {
  color: var(--blue-dark);
  background: #e6f0ff;
}
.tag--solid {
  color: #fff;
  background: var(--blue);
}
.tag--gray {
  color: var(--ink);
  background: var(--line);
}

/* Facturación */
.split {
  display: flex;
  flex-wrap: wrap;
  gap: 56px;
  align-items: flex-start;
}
.split-intro {
  flex: 1 1 340px;
  min-width: 0;
}
.feature-grid {
  flex: 2 1 560px;
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: 16px;
}
.feature {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
}
.feature h3 {
  margin: 14px 0 6px;
  font-size: 17px;
}
.feature p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted);
}

/* ERP */
.erp-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 64px;
  align-items: center;
}
.erp-copy {
  flex: 1 1 440px;
  min-width: 0;
}
.erp-copy .lead {
  max-width: 520px;
  margin-top: 22px;
}
.erp-modules {
  flex: 1 1 440px;
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
  gap: 16px;
}
.module {
  border: 1px solid var(--line-dark);
  border-radius: 16px;
  padding: 24px;
  background: var(--ink-2);
}
.module-label {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--cyan);
}
.module h3 {
  margin: 10px 0 6px;
  font-size: 18px;
}
.module p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-dark);
}

/* Servicios IA */
.service-list {
  margin-top: 56px;
  border-top: 1px solid var(--line);
}
.service-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 16px 40px;
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
}
.service-num {
  flex: 0 0 48px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--blue);
}
.service-row h3 {
  flex: 1 1 240px;
  font-size: 24px;
  letter-spacing: -0.02em;
}
.service-row p {
  flex: 2 1 360px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted);
}

/* Precios */
.pricing-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 56px;
  align-items: center;
}
.pricing-intro {
  flex: 1 1 360px;
  min-width: 0;
}
.pricing-intro .lead {
  max-width: 440px;
}
.pricing-cards {
  flex: 1 1 400px;
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.plan {
  flex: 1 1 280px;
  border: 2px solid var(--blue);
  border-radius: 24px;
  padding: 32px;
  background: #fff;
}
.plan-price {
  margin-top: 20px;
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.plan-amount {
  font-size: 56px;
  font-weight: 800;
  letter-spacing: -0.04em;
}
.plan-unit {
  font-size: 16px;
  color: var(--muted);
}
.plan-note {
  margin-top: 2px;
  font-size: 14px;
  color: var(--muted);
}
.plan-list {
  list-style: none;
  padding: 0;
  margin: 24px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 15px;
}
.plan--custom {
  flex: 1 1 240px;
  border: 1px solid var(--line);
  background: var(--bg-soft);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.plan-custom-title {
  margin-top: 20px;
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.plan--custom p {
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
}
.plan-custom-link {
  padding-top: 24px;
}

/* Contacto */
.contact-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 64px;
}
.contact-copy {
  flex: 1 1 380px;
  min-width: 0;
}
.contact-copy .lead {
  max-width: 460px;
  margin-top: 22px;
}
.contact-channels {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Formulario */
.form-card {
  flex: 1 1 400px;
  min-width: 0;
  background: #fff;
  color: var(--ink);
  border-radius: 24px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-self: flex-start;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.field label {
  font-size: 14px;
  font-weight: 600;
}
.input {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid #cbd4e6;
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  font-family: inherit;
  font-size: 15px;
}
.input::placeholder {
  color: #6b7794;
}
.input:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 1px;
  border-color: var(--blue);
}
.input[aria-invalid='true'] {
  border-color: var(--danger);
}
.input--select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 42px;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2355627F' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}
.field-hint {
  font-size: 12px;
  color: var(--muted);
}
.field-error {
  font-size: 13px;
  font-weight: 500;
  color: var(--danger);
}
.form-alert {
  padding: 12px 14px;
  border: 1px solid #fecdca;
  border-radius: 10px;
  background: #fef3f2;
  color: var(--danger);
  font-size: 14px;
  line-height: 1.5;
}
.btn-submit {
  min-height: 52px;
  font-weight: 700;
}
.form-legal {
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted);
  text-align: center;
}
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-success {
  align-items: center;
  text-align: center;
  gap: 14px;
  padding: 48px 36px;
}
.form-success h3 {
  font-size: 26px;
  letter-spacing: -0.02em;
}
.form-success p {
  max-width: 320px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted);
}

/* Footer */
.site-footer {
  background: var(--ink-3);
  color: #8fa2c9;
  font-size: 14px;
}
.footer-inner {
  padding-top: 48px;
  padding-bottom: 48px;
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
}
.footer-brand {
  flex: 1 1 260px;
}
.footer-logo {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
}
.footer-brand p {
  margin-top: 10px;
  max-width: 320px;
  line-height: 1.6;
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col span {
  font-weight: 600;
  color: #fff;
}
.footer-col a {
  color: #8fa2c9;
}
.footer-col a:hover {
  color: #fff;
}
.footer-copy {
  padding-top: 20px;
  padding-bottom: 32px;
  border-top: 1px solid var(--line-dark-2);
  font-size: 13px;
}

/* ---- Versión HTML: aviso de envío por app de correo ---- */
.form-note {
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.5;
  color: #5b6478;
  text-align: center;
}
.form-note a {
  font-weight: 600;
}
[hidden] {
  display: none !important;
}

/* ═════════════════ Páginas de producto (ERP, Workshops) ═════════════════ */

/* ---- Menú: estado activo y botón móvil ---- */
.nav a[aria-current='page'] {
  color: #fff;
}
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line-dark);
  border-radius: 10px;
  background: transparent;
  color: #fff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav-toggle svg {
  display: block;
}
.nav-toggle .icon-close,
.nav-toggle[aria-expanded='true'] .icon-open {
  display: none;
}
.nav-toggle[aria-expanded='true'] .icon-close {
  display: block;
}
@media (max-width: 1080px) {
  .nav-toggle {
    display: inline-flex;
  }
  .nav {
    display: none;
    flex-basis: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 0 12px;
    font-size: 16px;
  }
  .nav.is-open {
    display: flex;
  }
  .nav a {
    padding: 14px 4px;
    border-bottom: 1px solid var(--line-dark-2);
  }
  .nav .btn-pill {
    margin-top: 16px;
    justify-content: center;
    border-bottom: 0;
  }
}

/* ---- Utilidades ---- */
.section--pad {
  padding: 104px 0;
}
.section--pad-sm {
  padding: 80px 0;
}
.center {
  text-align: center;
}
.center .lead,
.center .h2 {
  margin-left: auto;
  margin-right: auto;
}
.mt-32 {
  margin-top: 32px;
}
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.center .btn-row {
  justify-content: center;
}
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.tag--cyan {
  color: var(--ink);
  background: var(--cyan);
}
.tag--outline {
  color: #c5d1ea;
  border: 1px solid var(--line-dark);
}
.link-more--light {
  color: var(--cyan);
}
.link-more--light:hover {
  color: #5ad8ff;
}

/* ---- Hero de página ---- */
.page-hero {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: #fff;
}
.page-hero-inner {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 88px 24px 96px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 56px;
}
.page-hero-copy {
  flex: 1 1 420px;
  min-width: 0;
}
.page-hero-media {
  flex: 1.2 1 480px;
  min-width: 0;
}
.page-hero h1 {
  margin-top: 18px;
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.05;
}
.page-hero .hero-lead {
  max-width: 560px;
}
.page-hero .tag-row {
  margin-top: 26px;
}
.page-hero .btn-row {
  margin-top: 32px;
}
.page-hero--center .page-hero-inner {
  justify-content: center;
  text-align: center;
}
.page-hero--center .page-hero-copy {
  flex-basis: 100%;
  max-width: 820px;
}
.page-hero--center .hero-lead {
  margin-left: auto;
  margin-right: auto;
}
.page-hero--center .tag-row,
.page-hero--center .btn-row {
  justify-content: center;
}

/* ---- Captura en marco de navegador ---- */
.shot {
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 24px 60px -24px rgba(11, 21, 48, 0.35);
  cursor: zoom-in;
  font: inherit;
  text-align: left;
}
.section--dark .shot,
.page-hero .shot {
  border-color: var(--line-dark);
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.7);
}
.shot-bar {
  display: flex;
  gap: 6px;
  padding: 10px 14px;
  background: #eef2f8;
  border-bottom: 1px solid var(--line);
}
.shot-bar span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #c9d2e3;
}
.shot img {
  display: block;
  width: 100%;
  height: auto;
}
.shot:hover {
  box-shadow: 0 28px 70px -24px rgba(10, 108, 255, 0.4);
}
.shot-caption {
  margin-top: 12px;
  font-size: 13px;
  color: var(--muted);
}
.section--dark .shot-caption {
  color: var(--text-dark);
}

/* ---- Fila texto + captura ---- */
.feature-row {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 64px;
  align-items: center;
}
.feature-row--reverse {
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
}
.feature-row--reverse .feature-row-copy {
  order: 2;
}
.feature-row-copy .lead {
  font-size: 17px;
}
@media (max-width: 900px) {
  .feature-row,
  .feature-row--reverse {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }
  .feature-row--reverse .feature-row-copy {
    order: 0;
  }
}

/* ---- Lista con check ---- */
.check-list {
  list-style: none;
  padding: 0;
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.check-list li {
  position: relative;
  padding-left: 32px;
  font-size: 16px;
  line-height: 1.55;
}
.check-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #e6f0ff
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-6.5' fill='none' stroke='%230A6CFF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / 20px no-repeat;
}
.section--dark .check-list li {
  color: #dbe4f5;
}
.section--dark .check-list li::before {
  background-color: rgba(34, 200, 255, 0.14);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-6.5' fill='none' stroke='%2322C8FF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* ---- Tarjetas de 3/4 columnas ---- */
.grid--4 {
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
}
.grid--3 {
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
}
.tile {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px;
}
.tile h3 {
  margin: 14px 0 8px;
  font-size: 19px;
  letter-spacing: -0.01em;
}
.tile p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
}
.tile-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: #e6f0ff;
  color: var(--blue);
}
.tile--pain .tile-icon {
  background: #fff1e8;
  color: #c2410c;
}
.section--dark .tile {
  background: var(--ink-2);
  border-color: var(--line-dark);
}
.section--dark .tile p {
  color: var(--text-dark);
}
.section--dark .tile-icon {
  background: rgba(34, 200, 255, 0.12);
  color: var(--cyan);
}

/* ---- Pasos numerados ---- */
.steps {
  list-style: none;
  padding: 0;
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  gap: 20px;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 28px 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}
.step-num {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--blue);
}
.step h3 {
  margin: 12px 0 8px;
  font-size: 19px;
}
.step p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted);
}
.step:not(:last-child)::after {
  content: '→';
  position: absolute;
  right: -17px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-size: 14px;
  line-height: 26px;
  text-align: center;
}
@media (max-width: 1020px) {
  .step:not(:last-child)::after {
    display: none;
  }
}

/* ---- Ejemplo del asistente IA ---- */
.prompt-bubble {
  margin-top: 28px;
  padding: 18px 20px;
  border-radius: 16px 16px 16px 4px;
  background: var(--ink-2);
  border: 1px solid var(--line-dark);
  font-size: 17px;
  line-height: 1.5;
  color: #fff;
}
.prompt-bubble small {
  display: block;
  margin-bottom: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--cyan);
}
.note {
  margin-top: 24px;
  padding: 14px 16px;
  border-left: 3px solid var(--cyan);
  border-radius: 0 10px 10px 0;
  background: rgba(34, 200, 255, 0.08);
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-dark);
}

/* ---- Miniaturas en grilla ---- */
.shots-2 {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr));
  gap: 28px;
}

/* ---- Agenda (línea de tiempo) ---- */
.agenda {
  list-style: none;
  padding: 0;
  margin-top: 28px;
  border-top: 1px solid var(--line-dark);
}
.agenda li {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-dark);
  font-size: 16px;
  line-height: 1.5;
  color: #dbe4f5;
}
.agenda-time {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--cyan);
  padding-top: 2px;
}

/* ---- Seminario destacado ---- */
.seminar {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 56px;
  padding: 48px;
  border-radius: 28px;
  background: var(--ink);
  color: #fff;
}
.seminar h2 {
  margin-top: 18px;
  font-size: clamp(28px, 3.4vw, 38px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
}
.seminar-meta {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  font-size: 15px;
  color: var(--text-dark);
}
.seminar-meta strong {
  color: #fff;
  font-weight: 600;
}
.seminar .lead {
  font-size: 16px;
}
.seminar .btn-row {
  margin-top: 32px;
}
@media (max-width: 900px) {
  .seminar {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
    padding: 32px 24px;
  }
}

/* ---- Tarjeta de programa ---- */
.program-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
}
.program-card h3 {
  font-size: 21px;
  letter-spacing: -0.02em;
  line-height: 1.25;
}
.program-audience {
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted);
}
.program-audience strong {
  color: var(--ink);
}
.program-card details {
  border-top: 1px solid var(--line);
  padding-top: 12px;
}
.program-card summary {
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  color: var(--blue);
  list-style: none;
}
.program-card summary::-webkit-details-marker {
  display: none;
}
.program-card summary::before {
  content: '+ ';
}
.program-card details[open] summary::before {
  content: '– ';
}
.program-topics {
  list-style: none;
  padding: 0;
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.program-topics li {
  padding: 6px 10px;
  border-radius: 8px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  font-size: 13px;
  line-height: 1.3;
}
.program-project {
  margin-top: auto;
  padding: 16px;
  border-radius: 14px;
  background: #eef5ff;
  font-size: 15px;
  line-height: 1.55;
}
.program-project span {
  display: block;
  margin-bottom: 4px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--blue-dark);
}

/* ---- Franja de cierre ---- */
.cta-band {
  padding: 64px 48px;
  border-radius: 28px;
  background: linear-gradient(135deg, var(--blue) 0%, #0b4fd1 55%, var(--ink) 100%);
  color: #fff;
  text-align: center;
}
.cta-band .h2 {
  margin-top: 12px;
}
.cta-band .lead {
  margin: 16px auto 0;
  color: #dbe7ff;
}
.cta-band .btn-row {
  margin-top: 32px;
  justify-content: center;
}
.cta-band .btn-primary {
  background: #fff;
  color: var(--blue-dark);
}
.cta-band .btn-primary:hover {
  background: #e6f0ff;
}
@media (max-width: 640px) {
  .cta-band {
    padding: 44px 22px;
  }
}

/* ---- Tarjetas de propuesta ---- */
.offer {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 32px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: #fff;
}
.offer h3 {
  font-size: 26px;
  letter-spacing: -0.02em;
}
.offer p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted);
}
.offer .check-list {
  margin-top: 4px;
}
.offer .btn {
  margin-top: auto;
}
.offer--featured {
  border: 2px solid var(--blue);
}

/* ---- Visor de capturas ---- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(7, 13, 32, 0.88);
  cursor: zoom-out;
}
.lightbox img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 10px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}
.lightbox-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  font-size: 22px;
  cursor: pointer;
}

/* ---- Ajustes móviles generales ---- */
@media (max-width: 640px) {
  .section--solutions,
  .section--erp,
  .section--ai,
  .section--pricing,
  .section--contact,
  .section--pad {
    padding: 72px 0;
  }
  .section--billing,
  .section--products,
  .section--pad-sm {
    padding: 64px 0;
  }
  .page-hero-inner {
    padding: 56px 20px 64px;
  }
  .form-card {
    padding: 28px 20px;
  }
}
.seminar .lead strong {
  color: #fff;
}
#como-funciona {
  scroll-margin-top: 24px;
}

/* ---- Botones en fila: misma altura y sin márgenes heredados ---- */
.btn-row {
  align-items: center;
}
.btn-row .btn {
  margin-top: 0;
}

/* ---- Botón flotante "volver arriba" ---- */
.to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 50;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--blue);
  color: #fff;
  box-shadow: 0 12px 30px -8px rgba(10, 108, 255, 0.6);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s, background 0.2s ease;
}
.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.to-top:hover {
  background: var(--blue-dark);
}
@media (max-width: 640px) {
  .to-top {
    right: 16px;
    bottom: 16px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .to-top {
    transition: none;
  }
}
