/* Bitaq · sitio público (bitaq-app.com)
   Marca: manual de identidad (Logo/Bitaq-Logo.pdf). Space Grotesk, grafito y terracota. */

@font-face {
  font-family: 'Space Grotesk';
  src: url('/assets/fonts/SpaceGrotesk-Regular.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Space Grotesk';
  src: url('/assets/fonts/SpaceGrotesk-Medium.ttf') format('truetype');
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: 'Space Grotesk';
  src: url('/assets/fonts/SpaceGrotesk-Bold.ttf') format('truetype');
  font-weight: 700;
  font-display: swap;
}

:root {
  --bg: #f4f3f0;
  --paper: #ffffff;
  --ink: #1f2328;
  --ink-soft: #4b5058;
  --muted: #5f646b;
  --line: #e2dfd8;
  --line-strong: #cfcbc2;
  --terra: #c2562f;
  --terra-dark: #a5451f;
  --terra-light: #e8875f;
  --terra-tint: #f6e6dd;
  --grid: rgba(31, 35, 40, 0.055);
  --radius: 14px;
  --radius-sm: 10px;
  --wrap: 1160px;
  --font: 'Space Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: var(--terra-dark);
}
a:hover {
  color: var(--ink);
}

:focus-visible {
  outline: 3px solid var(--terra);
  outline-offset: 3px;
  border-radius: 4px;
}

h1,
h2,
h3 {
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin: 0;
}

p {
  margin: 0;
}

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

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

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  border: 1.5px solid transparent;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
  white-space: nowrap;
}
.btn:active {
  transform: translateY(1px);
}
.btn-primary {
  background: var(--terra);
  color: #fff;
}
.btn-primary:hover {
  background: var(--terra-dark);
  color: #fff;
}
.btn-dark {
  background: var(--ink);
  color: #fff;
}
.btn-dark:hover {
  background: #000;
  color: #fff;
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn-ghost:hover {
  border-color: var(--ink);
  color: var(--ink);
}
.btn-light {
  background: #fff;
  color: var(--ink);
}
.btn-light:hover {
  background: var(--terra-tint);
  color: var(--ink);
}
.btn-sm {
  min-height: 40px;
  padding: 0 16px;
  font-size: 15px;
}
.btn .arrow {
  transition: transform 0.15s ease;
}
.btn:hover .arrow {
  transform: translateX(3px);
}

/* ---------- Encabezado ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(244, 243, 240, 0.92);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 72px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  font-size: 26px;
  letter-spacing: -0.04em;
}
.brand:hover {
  color: var(--ink);
}
.brand svg {
  width: 30px;
  height: 36px;
}
.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.nav-links a:hover,
.nav-links a[aria-current='page'] {
  color: var(--ink);
  border-bottom-color: var(--terra);
}
.nav-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Menú móvil sin JavaScript */
.menu {
  display: none;
  margin-left: auto;
  position: relative;
}
.menu summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  border: 1.5px solid var(--line-strong);
}
.menu summary::-webkit-details-marker {
  display: none;
}
.menu[open] summary {
  background: var(--ink);
  border-color: var(--ink);
}
.menu[open] summary svg {
  stroke: #fff;
}
.menu-panel {
  position: absolute;
  right: 0;
  top: 56px;
  width: min(300px, calc(100vw - 32px));
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 40px rgba(31, 35, 40, 0.14);
  padding: 10px;
  display: grid;
  gap: 4px;
}
.menu-panel a:not(.btn) {
  display: block;
  padding: 12px 14px;
  border-radius: 10px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
}
.menu-panel a:not(.btn):hover {
  background: var(--bg);
}
.menu-panel .btn {
  margin-top: 6px;
}

/* ---------- Secciones ---------- */
section {
  padding: 96px 0;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terra-dark);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: '';
  width: 28px;
  height: 1.5px;
  background: currentColor;
}
.section-title {
  font-size: clamp(32px, 4.4vw, 50px);
  max-width: 18ch;
}
.section-lead {
  margin-top: 18px;
  font-size: 19px;
  color: var(--ink-soft);
  max-width: 60ch;
}
.section-head {
  margin-bottom: 56px;
}
.section-head.center {
  text-align: center;
}
.section-head.center .section-title,
.section-head.center .section-lead {
  margin-left: auto;
  margin-right: auto;
}

/* Retícula de plano de fondo */
.blueprint {
  background-color: var(--bg);
  background-image: linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 32px 32px;
}

/* Cota decorativa (línea de acotación) */
.cota {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.cota::before,
.cota::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--line-strong);
}

/* ---------- Hero ---------- */
.hero {
  padding: 72px 0 96px;
  border-bottom: 1px solid var(--line);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(42px, 6.2vw, 76px);
  letter-spacing: -0.04em;
}
.hero h1 em {
  font-style: normal;
  color: var(--terra);
}
.hero-lead {
  margin-top: 24px;
  font-size: 20px;
  color: var(--ink-soft);
  max-width: 34ch;
}
.hero-cta {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.hero-meta {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  font-size: 14px;
  color: var(--muted);
  list-style: none;
  padding: 0;
}
.hero-meta li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hero-meta svg {
  width: 18px;
  height: 18px;
  stroke: var(--terra);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Maqueta del panel (ilustración) */
.mock {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 30px 60px -20px rgba(31, 35, 40, 0.25);
  overflow: hidden;
}
.mock-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}
.mock-bar i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--line-strong);
}
.mock-bar span {
  margin-left: 10px;
}
.mock-body {
  padding: 22px 22px 58px;
  display: grid;
  gap: 16px;
}
.mock-kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.kpi {
  background: var(--bg);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
}
.kpi small {
  display: block;
  font-size: 12px;
  color: var(--muted);
}
.kpi b {
  font-size: 22px;
  letter-spacing: -0.02em;
}
.kpi.dark {
  background: var(--ink);
  color: #fff;
}
.kpi.dark small {
  color: #b9bcc1;
}
.mock-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px 12px;
  align-items: center;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}
.mock-row b {
  font-size: 15px;
}
.mock-row small {
  color: var(--muted);
  font-size: 12px;
}
.tag {
  font-size: 12px;
  font-weight: 500;
  padding: 3px 10px;
  border-radius: 999px;
  background: #d1fadf;
  color: #05603a;
}
.tag.late {
  background: #fef0c7;
  color: #93370d;
}
.bar {
  grid-column: 1 / -1;
  height: 6px;
  border-radius: 6px;
  background: var(--bg);
  overflow: hidden;
}
.bar span {
  display: block;
  height: 100%;
  background: var(--terra);
  border-radius: 6px;
}
.w-68 { width: 68%; }
.w-41 { width: 41%; }
.w-87 { width: 87%; }
.mock-note {
  position: absolute;
  right: -1px;
  bottom: -1px;
  background: var(--terra);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  padding: 10px 16px;
  border-top-left-radius: 14px;
}

/* ---------- Franja de módulos ---------- */
.strip {
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.strip ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 34px;
  color: var(--ink-soft);
  font-weight: 500;
  font-size: 15px;
}
.strip li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.strip li::before {
  content: '';
  width: 7px;
  height: 7px;
  background: var(--terra);
  transform: rotate(45deg);
}

/* ---------- Problema / beneficios ---------- */
.benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line-strong);
}
.benefit {
  padding: 32px 32px 8px 0;
}
.benefit + .benefit {
  padding-left: 32px;
  border-left: 1px solid var(--line);
}
.benefit .num {
  font-size: 13px;
  color: var(--terra-dark);
  font-weight: 500;
  letter-spacing: 0.1em;
}
.benefit h3 {
  font-size: 24px;
  margin: 14px 0 12px;
}
.benefit p {
  color: var(--ink-soft);
}

/* ---------- Tarjetas de módulos ---------- */
.modules {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.module {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.module:hover {
  border-color: var(--line-strong);
  transform: translateY(-2px);
}
.icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--terra-tint);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--terra-dark);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.module h3 {
  font-size: 21px;
  margin-top: 6px;
}
.module p {
  color: var(--ink-soft);
  font-size: 16px;
}
.more {
  margin-top: 40px;
  text-align: center;
}

/* ---------- Banda oscura ---------- */
.dark-band {
  background: var(--ink);
  color: #fff;
}
.dark-band .eyebrow {
  color: var(--terra-light);
}
.dark-band .section-lead {
  color: #c4c7cc;
}
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px;
  align-items: start;
}
.checks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}
.checks li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 14px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.checks li:first-child {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.checks svg {
  width: 22px;
  height: 22px;
  stroke: var(--terra-light);
  fill: none;
  stroke-width: 2;
  margin-top: 3px;
}
.checks b {
  display: block;
  font-size: 18px;
}
.checks span {
  color: #c4c7cc;
  font-size: 16px;
}

/* ---------- Pasos ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  counter-reset: paso;
  list-style: none;
  padding: 0;
  margin: 0;
}
.steps li {
  counter-increment: paso;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}
.steps li::before {
  content: counter(paso, decimal-leading-zero);
  display: block;
  font-size: 40px;
  font-weight: 700;
  color: var(--terra);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 18px;
}
.steps h3 {
  font-size: 20px;
  margin-bottom: 8px;
}
.steps p {
  color: var(--ink-soft);
  font-size: 16px;
}

/* ---------- CTA final ---------- */
.cta-section {
  padding-top: 0;
}
.cta {
  background: var(--terra);
  color: #fff;
  border-radius: 24px;
  padding: 64px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.cta::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}
.cta > * {
  position: relative;
  z-index: 1;
}
.cta h2 {
  font-size: clamp(30px, 4vw, 46px);
  max-width: 20ch;
}
.cta p {
  margin-top: 12px;
  font-size: 18px;
  color: #fde8df;
}
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.cta .btn-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
}
.cta .btn-ghost:hover {
  border-color: #fff;
  color: #fff;
}

/* ---------- Encabezado de página interna ---------- */
.page-hero {
  padding: 80px 0 64px;
  border-bottom: 1px solid var(--line);
}
.page-hero h1 {
  font-size: clamp(40px, 5.6vw, 68px);
  letter-spacing: -0.04em;
  max-width: 16ch;
}
.page-hero .section-lead {
  font-size: 20px;
}
.page-hero.center {
  text-align: center;
}
.page-hero.center h1,
.page-hero.center .section-lead {
  margin-left: auto;
  margin-right: auto;
}

/* Índice de características */
.toc {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
}
.toc a {
  display: inline-flex;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--paper);
  color: var(--ink);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}
.toc a:hover {
  border-color: var(--terra);
  color: var(--terra-dark);
}

/* Bloques de característica */
.feature {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 56px;
  padding: 56px 0;
  border-top: 1px solid var(--line);
  scroll-margin-top: 90px;
}
.feature:first-child {
  border-top: 0;
}
.feature-side .num {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--terra-dark);
}
.feature-side h2 {
  font-size: 32px;
  margin: 14px 0 12px;
}
.feature-side p {
  color: var(--ink-soft);
}
.feature-side .icon {
  margin-top: 4px;
}
.feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.feature-list li {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
}
.feature-list b {
  display: block;
  font-size: 17px;
  margin-bottom: 4px;
}
.feature-list span {
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.5;
}

/* ---------- Precios ---------- */
.plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}
.plan {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  position: relative;
}
.plan.featured {
  border: 2px solid var(--ink);
  box-shadow: 0 24px 50px -24px rgba(31, 35, 40, 0.35);
}
.plan-badge {
  position: absolute;
  top: -14px;
  left: 32px;
  background: var(--ink);
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
}
.plan h2 {
  font-size: 26px;
}
.plan-for {
  margin-top: 8px;
  color: var(--muted);
  font-size: 15px;
  min-height: 48px;
}
.price {
  margin: 26px 0 6px;
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}
.price b {
  font-size: 40px;
  letter-spacing: -0.03em;
}
.price span {
  color: var(--muted);
  font-size: 15px;
}
.price-note {
  font-size: 13px;
  color: var(--muted);
}
.plan .btn {
  margin: 26px 0;
  width: 100%;
}
.plan ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding-top: 24px;
}
.plan li {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 10px;
  font-size: 15px;
  color: var(--ink-soft);
}
.plan li svg {
  width: 18px;
  height: 18px;
  stroke: var(--terra);
  fill: none;
  stroke-width: 2.2;
  margin-top: 3px;
}
.plan li b {
  color: var(--ink);
}

.pay-note {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  justify-content: center;
  align-items: center;
  color: var(--muted);
  font-size: 15px;
}
.pay-note span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.pay-note svg {
  width: 18px;
  height: 18px;
  stroke: var(--ink-soft);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Tabla comparativa */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}
table {
  width: 100%;
  border-collapse: collapse;
  min-width: 620px;
  font-size: 15px;
}
th,
td {
  text-align: left;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
}
thead th {
  font-size: 14px;
  color: var(--muted);
  font-weight: 500;
  background: var(--bg);
}
tbody th {
  font-weight: 500;
}
tbody tr:last-child th,
tbody tr:last-child td {
  border-bottom: 0;
}
td.yes {
  color: var(--terra-dark);
  font-weight: 700;
}

/* Preguntas frecuentes */
.faq {
  max-width: 820px;
  margin: 0 auto;
  border-top: 1px solid var(--line-strong);
}
.faq details {
  border-bottom: 1px solid var(--line-strong);
}
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 0;
  font-size: 19px;
  font-weight: 500;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: '+';
  font-size: 26px;
  line-height: 1;
  color: var(--terra);
  transition: transform 0.2s ease;
}
.faq details[open] summary::after {
  transform: rotate(45deg);
}
.faq details p {
  padding: 0 0 22px;
  color: var(--ink-soft);
  max-width: 68ch;
}

/* ---------- Páginas legales ---------- */
.legal {
  max-width: 760px;
  margin: 0 auto;
}
.legal h2 {
  font-size: 24px;
  margin: 40px 0 12px;
}
.legal p + p {
  margin-top: 14px;
}
.placeholder {
  background: var(--terra-tint);
  border: 1px dashed var(--terra);
  border-radius: var(--radius-sm);
  padding: 20px 22px;
  color: var(--ink);
}

/* ---------- Pie ---------- */
.site-footer {
  background: var(--paper);
  border-top: 1px solid var(--line);
  padding: 64px 0 36px;
  font-size: 15px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr));
  gap: 40px;
}
.footer-grid p {
  color: var(--muted);
  margin-top: 14px;
  max-width: 34ch;
}
.footer-grid h3 {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}
.footer-grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.footer-grid a {
  color: var(--ink);
  text-decoration: none;
}
.footer-grid a:hover {
  color: var(--terra-dark);
  text-decoration: underline;
}
.footer-bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 14px;
}

/* ---------- 404 ---------- */
.notfound {
  min-height: 60vh;
  display: grid;
  place-items: center;
  text-align: center;
}
.notfound b {
  display: block;
  font-size: 120px;
  letter-spacing: -0.06em;
  color: var(--terra);
  line-height: 1;
}

/* ---------- Adaptación ---------- */
@media (max-width: 1000px) {
  .hero-grid,
  .split {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .modules,
  .plans,
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .plans .plan.featured {
    order: -1;
    grid-column: 1 / -1;
  }
  .feature {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .cta {
    grid-template-columns: 1fr;
    padding: 48px;
  }
}

@media (max-width: 820px) {
  .nav-links,
  .nav-actions {
    display: none;
  }
  .menu {
    display: block;
  }
}

@media (max-width: 680px) {
  body {
    font-size: 16px;
  }
  .wrap {
    padding: 0 16px;
  }
  section {
    padding: 64px 0;
  }
  .hero {
    padding: 48px 0 64px;
  }
  .hero-lead,
  .page-hero .section-lead {
    font-size: 18px;
  }
  .hero-cta .btn {
    flex: 1 1 100%;
  }
  .benefits {
    grid-template-columns: 1fr;
  }
  .benefit,
  .benefit + .benefit {
    padding: 28px 0 8px;
    border-left: 0;
  }
  .benefit + .benefit {
    border-top: 1px solid var(--line);
  }
  .modules,
  .plans,
  .steps,
  .feature-list {
    grid-template-columns: 1fr;
  }
  .mock-kpis {
    grid-template-columns: 1fr 1fr;
  }
  .mock-kpis .kpi:last-child {
    grid-column: 1 / -1;
  }
  .cta {
    padding: 36px 24px;
    border-radius: 18px;
  }
  .cta-actions .btn {
    flex: 1 1 100%;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .page-hero {
    padding: 56px 0 48px;
  }
  .module,
  .plan,
  .steps li {
    padding: 24px;
  }
}

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