/* =============================================================
   HoldingOS — Landing page styles
   Built on the HoldingOS design system (colors_and_type.css):
   zinc neutrals, near-black ink, Sello deep-notarial-blue accent,
   IBM Plex Sans / Serif / Mono. Marketing surface only — Sello is
   sanctioned here (landing / decks / investor materials).
   ============================================================= */

@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500;600&family=IBM+Plex+Sans:wght@400;500;600;700&family=IBM+Plex+Serif:wght@400;500;600&display=swap");

:root {
  /* ---- neutrals (zinc) ---- */
  --ink: hsl(240 10% 3.9%);
  --ink-soft: hsl(240 5.9% 18%);
  --bg: hsl(0 0% 100%);
  --surface: hsl(240 4.8% 98%);
  --surface-2: hsl(240 4.8% 95.9%);
  --muted-fg: hsl(240 3.8% 46.1%);
  --border: hsl(240 5.9% 90%);
  --border-strong: hsl(240 5.9% 82%);

  /* ---- accent (Sello) — tweakable via --accent-h ---- */
  --accent-h: 218;
  --accent-s: 55%;
  --accent-l: 22%;
  --accent: hsl(var(--accent-h) var(--accent-s) var(--accent-l));
  --accent-hover: hsl(
    var(--accent-h) var(--accent-s) calc(var(--accent-l) + 6%)
  );
  --accent-fg: hsl(0 0% 98%);
  --accent-tint: hsl(var(--accent-h) 50% 96%);
  --accent-line: hsl(var(--accent-h) 40% 88%);
  --accent-soft-fg: hsl(var(--accent-h) 45% 38%);

  /* ---- bronce (decorative seal accent) ---- */
  --bronce: hsl(34 55% 42%);

  /* ---- status dots ---- */
  --st-validated: hsl(142 71% 45%);
  --st-provided: hsl(217 91% 60%);
  --st-progress: hsl(38 92% 50%);
  --st-pending: hsl(240 5% 65%);

  /* ---- type ---- */
  --font-sans:
    "IBM Plex Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI",
    Roboto, sans-serif;
  --font-serif: "IBM Plex Serif", ui-serif, Georgia, "Times New Roman", serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  /* ---- radii / shadow ---- */
  --r-sm: 4px;
  --r-md: 6px;
  --r-lg: 8px;
  --r-xl: 12px;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.08), 0 1px 2px -1px rgb(0 0 0 / 0.08);
  --shadow-lg:
    0 18px 48px -18px rgb(16 28 56 / 0.28), 0 6px 16px -8px rgb(16 28 56 / 0.16);

  /* ---- layout ---- */
  --container: 1140px;
  --nav-h: 60px;
  --section-y: clamp(64px, 9vw, 128px);
}

* {
  box-sizing: border-box;
  border-color: var(--border);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "ss01", "ss02";
}

::selection {
  background: hsl(var(--accent-h) 55% 22% / 0.16);
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
  text-wrap: pretty;
}
a {
  color: inherit;
  text-decoration: none;
}
img,
svg {
  display: block;
}
button {
  font-family: inherit;
}

/* ============================ layout ============================ */

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}
.section {
  padding-block: var(--section-y);
}
.section--tight {
  padding-block: clamp(48px, 6vw, 80px);
}

.section-head {
  max-width: 720px;
  margin-bottom: clamp(36px, 4vw, 56px);
}
.section-head--center {
  margin-inline: auto;
  text-align: center;
}

/* ============================ type ============================ */

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-soft-fg);
  margin: 0 0 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--accent-line);
}
.section-head--center .eyebrow {
  justify-content: center;
}

.display {
  font-family: var(--font-serif);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.08;
  font-size: clamp(2.5rem, 1.4rem + 3.4vw, 3.85rem);
  color: var(--ink);
}
.h2 {
  font-family: var(--font-serif);
  font-weight: 600;
  letter-spacing: -0.012em;
  line-height: 1.12;
  font-size: clamp(1.85rem, 1.2rem + 2vw, 2.7rem);
  color: var(--ink);
}
.h3 {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 1.125rem;
  line-height: 1.35;
  letter-spacing: -0.005em;
}
.lede {
  font-size: clamp(1.0625rem, 1rem + 0.4vw, 1.25rem);
  line-height: 1.6;
  color: var(--muted-fg);
}
.body {
  color: var(--muted-fg);
  line-height: 1.65;
}
.mono {
  font-family: var(--font-mono);
}
.kbd-term {
  font-family: var(--font-mono);
  font-size: 0.9em;
  color: var(--accent-soft-fg);
  background: var(--accent-tint);
  padding: 1px 6px;
  border-radius: var(--r-sm);
  white-space: nowrap;
}

/* ============================ buttons ============================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 500;
  height: 44px;
  padding: 0 20px;
  border-radius: var(--r-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    background-color 0.15s ease,
    color 0.15s ease,
    border-color 0.15s ease;
  white-space: nowrap;
}
.btn--primary {
  background: var(--accent);
  color: var(--accent-fg);
  box-shadow: var(--shadow);
}
.btn--primary:hover {
  background: var(--accent-hover);
}
.btn--outline {
  background: var(--bg);
  color: var(--ink);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-sm);
}
.btn--outline:hover {
  background: var(--surface-2);
}
.btn--ghost {
  background: transparent;
  color: var(--ink);
}
.btn--ghost:hover {
  background: var(--surface-2);
}
.btn--lg {
  height: 50px;
  padding: 0 26px;
  font-size: 1rem;
}
.btn--block {
  width: 100%;
}

/* on dark (sello) surfaces */
.on-dark .btn--primary {
  background: var(--bg);
  color: var(--accent);
  box-shadow: none;
}
.on-dark .btn--primary:hover {
  background: hsl(0 0% 92%);
}
.on-dark .btn--outline {
  background: transparent;
  color: hsl(0 0% 98%);
  border-color: hsl(0 0% 100% / 0.32);
}
.on-dark .btn--outline:hover {
  background: hsl(0 0% 100% / 0.08);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 500;
  font-size: 0.9375rem;
  color: var(--accent-soft-fg);
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0;
  transition:
    gap 0.15s ease,
    color 0.15s ease;
}
.link-arrow:hover {
  gap: 11px;
}
.link-arrow svg {
  width: 16px;
  height: 16px;
}
.on-dark .link-arrow {
  color: hsl(0 0% 92%);
}

/* ============================ nav ============================ */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--nav-h);
  border-bottom: 1px solid transparent;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    backdrop-filter 0.2s ease;
}
.nav.is-scrolled {
  background: hsl(0 0% 100% / 0.82);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom-color: var(--border);
}
.nav__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav__links a {
  font-size: 0.875rem;
  color: var(--muted-fg);
  font-weight: 450;
  transition: color 0.15s ease;
}
.nav__links a:hover {
  color: var(--ink);
}
.nav__cta {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* logo lockup */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
}
.logo__mark {
  width: 30px;
  height: 30px;
  flex: none;
  border-radius: 7px;
}
.logo__word {
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.015em;
}
.on-dark .logo,
.nav--dark .logo {
  color: hsl(0 0% 98%);
}

.nav-toggle {
  display: none;
}

/* ============================ hero ============================ */

.hero {
  position: relative;
  padding-top: calc(var(--nav-h) + clamp(44px, 6vw, 84px));
  padding-bottom: clamp(56px, 7vw, 104px);
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url("assets/grid.svg");
  background-size: 28px 28px;
  opacity: 0.5;
  -webkit-mask-image: radial-gradient(
    120% 90% at 70% 0%,
    #000 0%,
    transparent 62%
  );
  mask-image: radial-gradient(120% 90% at 70% 0%, #000 0%, transparent 62%);
  pointer-events: none;
}
.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
  gap: clamp(40px, 5vw, 76px);
  align-items: center;
}
.hero__copy {
  max-width: 560px;
}
.hero h1 {
  margin-bottom: 22px;
}
.hero__sub {
  min-height: 3.2em;
  margin-bottom: 28px;
}
.hero__sub p {
  transition: opacity 0.25s ease;
}

.hero__cta {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.hero__micro {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 0.8125rem;
  color: var(--muted-fg);
}
.hero__micro .dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--border-strong);
}

/* audience toggle */
.aud-toggle {
  display: inline-flex;
  padding: 4px;
  gap: 4px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 999px;
  margin-bottom: 26px;
}
.aud-toggle button {
  appearance: none;
  border: 0;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted-fg);
  padding: 8px 18px;
  border-radius: 999px;
  background: transparent;
  transition: color 0.18s ease;
}
.aud-toggle button[aria-pressed="true"] {
  background: var(--bg);
  color: var(--ink);
  box-shadow: var(--shadow);
}

/* ============================ product mockup ============================ */

.mock-wrap {
  position: relative;
}
.mock {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.mock__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 14px;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}
.mock__bar .dots {
  display: flex;
  gap: 6px;
}
.mock__bar .dots i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--border-strong);
}
.mock__bar .url {
  margin-left: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted-fg);
}
.mock__body {
  padding: 18px;
}

/* mockup app header */
.m-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.m-head .m-title {
  display: flex;
  align-items: center;
  gap: 9px;
}
.m-head .m-title .m-logo {
  width: 22px;
  height: 22px;
  border-radius: 5px;
}
.m-head .m-title b {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.m-crumb {
  font-size: 11px;
  color: var(--muted-fg);
  font-family: var(--font-mono);
}

.m-card {
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--bg);
}
.m-society {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  margin-bottom: 14px;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--surface);
}
.m-society .m-soc-name {
  display: flex;
  align-items: center;
  gap: 10px;
}
.m-society .m-soc-name .ic {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  background: var(--accent);
  display: grid;
  place-items: center;
}
.m-society .m-soc-name .ic svg {
  width: 15px;
  height: 15px;
}
.m-society .m-soc-name b {
  font-size: 13px;
}
.m-society .m-soc-name span {
  font-size: 11px;
  color: var(--muted-fg);
  font-family: var(--font-mono);
}

.m-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10.5px;
  font-weight: 600;
  font-family: var(--font-mono);
  padding: 3px 8px;
  border-radius: var(--r-md);
  border: 1px solid var(--border);
}
.m-badge--default {
  background: var(--ink);
  color: hsl(0 0% 98%);
  border-color: var(--ink);
}
.m-badge--ok {
  background: var(--bg);
  color: var(--accent-soft-fg);
  border-color: var(--accent-line);
}
.m-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex: none;
  vertical-align: middle;
}

/* 5-dimension grid inside mockup */
.m-dims {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.m-dim {
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 10px 11px;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.m-dim:nth-child(5) {
  grid-column: span 2;
}
.m-dim .m-dim-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.m-dim .m-dim-top span {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--ink);
}
.m-dim .m-dim-top em {
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--muted-fg);
}
.m-bar {
  height: 5px;
  border-radius: 999px;
  background: var(--surface-2);
  overflow: hidden;
}
.m-bar i {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: var(--accent);
}

/* portfolio (asesor) table */
.m-port-head,
.m-port-row {
  display: grid;
  grid-template-columns: 1.6fr 0.8fr 0.9fr 0.7fr;
  gap: 8px;
  align-items: center;
  padding: 9px 12px;
}
.m-port-head {
  font-size: 10px;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted-fg);
  border-bottom: 1px solid var(--border);
}
.m-port-row {
  border-bottom: 1px solid var(--border);
  font-size: 12px;
}
.m-port-row:last-child {
  border-bottom: 0;
}
.m-port-row .nm {
  font-weight: 600;
}
.m-port-row .nm small {
  display: block;
  font-weight: 400;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--muted-fg);
}
.m-mini-bar {
  height: 5px;
  border-radius: 999px;
  background: var(--surface-2);
  overflow: hidden;
}
.m-mini-bar i {
  display: block;
  height: 100%;
  background: var(--accent);
}

/* hidden-by-audience helper */
[data-aud-show] {
  display: none;
}
body[data-audience="empresario"] [data-aud-show="empresario"] {
  display: block;
}
body[data-audience="asesor"] [data-aud-show="asesor"] {
  display: block;
}
body[data-audience="empresario"] [data-aud-show="empresario"].mock {
  display: block;
}

/* trust strip */
.trust {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}
.trust__inner {
  padding-block: 22px;
  text-align: center;
}
.trust p {
  font-size: 0.875rem;
  color: var(--muted-fg);
}
.trust b {
  color: var(--ink);
  font-weight: 600;
}

/* ============================ problema ============================ */

.split-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 40px;
}
.persona-card {
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 26px;
  background: var(--bg);
}
.persona-card .tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted-fg);
  margin-bottom: 14px;
}
.persona-card .tag .ic {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: var(--surface-2);
  display: grid;
  place-items: center;
}
.persona-card .tag .ic svg {
  width: 16px;
  height: 16px;
  color: var(--ink);
}
.persona-card h3 {
  margin-bottom: 8px;
}

/* ============================ 5 dimensiones ============================ */

.dims {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.dim-card {
  grid-column: span 2;
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 26px;
  background: var(--bg);
  transition:
    background-color 0.15s ease,
    border-color 0.15s ease,
    box-shadow 0.15s ease;
}
.dim-card:nth-child(4) {
  grid-column: 2 / span 2;
}
.dim-card:nth-child(5) {
  grid-column: 4 / span 2;
}
.dim-card:hover {
  box-shadow: var(--shadow);
  border-color: var(--border-strong);
}
.dim-card__n {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted-fg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.dim-card__ic {
  width: 40px;
  height: 40px;
  border-radius: var(--r-lg);
  background: var(--accent-tint);
  display: grid;
  place-items: center;
}
.dim-card__ic svg {
  width: 22px;
  height: 22px;
  color: var(--accent);
}
.dim-card h3 {
  margin-bottom: 7px;
}
.dim-card p {
  font-size: 0.9375rem;
}

/* ============================ benefits ============================ */

.benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 12px;
}
.benefit {
  padding-top: 22px;
  border-top: 2px solid var(--ink);
}
.on-dark .benefit {
  border-top-color: hsl(0 0% 98% / 0.6);
}
.benefit__ic {
  width: 30px;
  height: 30px;
  margin-bottom: 16px;
  color: var(--accent-soft-fg);
}
.on-dark .benefit__ic {
  color: hsl(0 0% 96%);
}
.benefit h3 {
  margin-bottom: 8px;
}
.benefit p {
  font-size: 0.9375rem;
  color: var(--muted-fg);
}
.on-dark .benefit p {
  color: hsl(0 0% 80%);
}

/* ============================ dark section (asesor / CTA) ============================ */

.on-dark {
  background: var(--accent);
  color: hsl(0 0% 96%);
  position: relative;
  overflow: hidden;
}
.on-dark .eyebrow {
  color: hsl(var(--accent-h) 40% 78%);
}
.on-dark .eyebrow::before {
  background: hsl(0 0% 100% / 0.3);
}
.on-dark .display,
.on-dark .h2,
.on-dark .h3 {
  color: hsl(0 0% 99%);
}
.on-dark .lede,
.on-dark .body {
  color: hsl(0 0% 82%);
}
.on-dark__pattern {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url("assets/sello-repeat.svg");
  background-size: 180px;
  opacity: 0.06;
  pointer-events: none;
}
.on-dark .container {
  position: relative;
  z-index: 1;
}

/* ============================ cómo funciona ============================ */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 16px;
  position: relative;
}
.step {
  padding: 0 28px;
  position: relative;
}
.step:first-child {
  padding-left: 0;
}
.step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 19px;
  right: -1px;
  width: calc(100% - 56px);
  height: 1px;
  background: repeating-linear-gradient(
    to right,
    var(--border-strong) 0 5px,
    transparent 5px 11px
  );
  transform: translateX(28px);
}
.step__n {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--accent-line);
  background: var(--accent-tint);
  color: var(--accent-soft-fg);
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  position: relative;
  z-index: 1;
}
.step h3 {
  margin-bottom: 9px;
}
.step p {
  font-size: 0.9375rem;
  color: var(--muted-fg);
}

/* ============================ 9 bloques ============================ */

.blocks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.block-item {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding: 17px 18px;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--bg);
  transition:
    border-color 0.15s ease,
    background-color 0.15s ease;
}
.block-item:hover {
  border-color: var(--border-strong);
  background: var(--surface);
}
.block-item .num {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--accent-soft-fg);
  flex: none;
  padding-top: 1px;
  min-width: 18px;
}
.block-item .t {
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.4;
}

/* ============================ tabla comparativa ============================ */

.compare {
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
  margin-top: 8px;
  background: var(--bg);
}
.compare__head,
.compare__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.compare__head > div {
  padding: 18px 24px;
  font-weight: 600;
  font-size: 0.9375rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
.compare__head .old {
  color: var(--muted-fg);
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.compare__head .new {
  color: var(--accent-fg);
  background: var(--accent);
  border-bottom: 1px solid var(--accent);
}
.compare__head .new .mk {
  width: 20px;
  height: 20px;
}
.compare__row > div {
  padding: 16px 24px;
  font-size: 0.9375rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  gap: 11px;
  align-items: flex-start;
}
.compare__row:last-child > div {
  border-bottom: 0;
}
.compare__row .old {
  color: var(--muted-fg);
  background: var(--surface);
}
.compare__row .new {
  color: var(--ink);
  background: hsl(var(--accent-h) 50% 99%);
}
.compare__row .ic {
  flex: none;
  width: 17px;
  height: 17px;
  margin-top: 1px;
}
.compare__row .old .ic {
  color: var(--st-pending);
}
.compare__row .new .ic {
  color: var(--accent);
}

/* ============================ seguridad ============================ */

.security {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 12px;
}
.sec-card {
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 26px;
  background: var(--bg);
}
.sec-card__ic {
  width: 44px;
  height: 44px;
  border-radius: var(--r-lg);
  background: var(--surface-2);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}
.sec-card__ic svg {
  width: 24px;
  height: 24px;
  color: var(--ink);
}
.sec-card h3 {
  margin-bottom: 8px;
}
.sec-card p {
  font-size: 0.9375rem;
  color: var(--muted-fg);
}
.sec-note {
  margin-top: 22px;
  font-size: 0.8125rem;
  color: var(--muted-fg);
  display: flex;
  gap: 9px;
  align-items: flex-start;
}
.sec-note svg {
  width: 15px;
  height: 15px;
  flex: none;
  margin-top: 2px;
  color: var(--bronce);
}

/* ============================ design partner / form ============================ */

.partner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: start;
}
.partner__list {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.partner__list li {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 1rem;
}
.partner__list .ic {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: hsl(0 0% 100% / 0.12);
  display: grid;
  place-items: center;
  flex: none;
}
.partner__list .ic svg {
  width: 15px;
  height: 15px;
  color: hsl(0 0% 98%);
}

.form-card {
  background: var(--bg);
  border-radius: var(--r-xl);
  padding: clamp(26px, 3vw, 36px);
  box-shadow: var(--shadow-lg);
  color: var(--ink);
}
.form-card h3 {
  margin-bottom: 6px;
  font-size: 1.25rem;
}
.form-card .form-sub {
  font-size: 0.875rem;
  color: var(--muted-fg);
  margin-bottom: 22px;
}
.field {
  margin-bottom: 16px;
}
.field label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 500;
  margin-bottom: 7px;
  color: var(--ink);
}
.field label .opt {
  color: var(--muted-fg);
  font-weight: 400;
}
.input,
.select-native {
  width: 100%;
  height: 44px;
  padding: 0 13px;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-md);
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease;
}
.input:focus,
.select-native:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px hsl(var(--accent-h) 55% 30% / 0.12);
}
.input:disabled,
.btn:disabled {
  opacity: 0.68;
  cursor: not-allowed;
}
.select-native {
  appearance: none;
  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='%2371717a' stroke-width='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 13px center;
}
.field-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.field--checkbox {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: start;
}
.field--checkbox input {
  margin: 2px 0 0;
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
}
.field--checkbox label {
  margin: 0;
  line-height: 1.45;
  color: var(--muted-fg);
}
.field--checkbox a {
  color: var(--accent-soft-fg);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.form-error {
  min-height: 1.25rem;
  margin: -4px 0 10px;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: hsl(0 72% 42%);
}
.form-micro {
  font-size: 0.8125rem;
  color: var(--muted-fg);
  margin-top: 14px;
  text-align: center;
}
.form-ok {
  display: none;
  text-align: center;
  padding: 18px 0;
}
.form-ok .ic {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--accent-tint);
  display: grid;
  place-items: center;
  margin: 0 auto 16px;
}
.form-ok .ic svg {
  width: 26px;
  height: 26px;
  color: var(--accent);
}
.form-card.is-sent .form-body {
  display: none;
}
.form-card.is-sent .form-ok {
  display: block;
}

/* segmented "soy" toggle inside form */
.seg {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--border-strong);
  border-radius: var(--r-md);
  overflow: hidden;
}
.seg button {
  appearance: none;
  border: 0;
  background: var(--bg);
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted-fg);
  padding: 11px 0;
  transition:
    background-color 0.15s,
    color 0.15s;
}
.seg button + button {
  border-left: 1px solid var(--border-strong);
}
.seg button[aria-pressed="true"] {
  background: var(--accent);
  color: var(--accent-fg);
}

/* ============================ FAQ ============================ */

.faq {
  max-width: 800px;
  margin-inline: auto;
}
.faq__item {
  border-bottom: 1px solid var(--border);
}
.faq__q {
  width: 100%;
  appearance: none;
  background: none;
  border: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 4px;
  text-align: left;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--ink);
}
.faq__q .chev {
  flex: none;
  width: 20px;
  height: 20px;
  color: var(--muted-fg);
  transition: transform 0.2s ease;
}
.faq__item.is-open .faq__q .chev {
  transform: rotate(180deg);
}
.faq__a {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.26s ease;
}
.faq__a-inner {
  padding: 0 4px 24px;
  font-size: 0.9375rem;
  color: var(--muted-fg);
  line-height: 1.65;
  max-width: 660px;
}

/* ============================ footer ============================ */

.footer {
  border-top: 1px solid var(--border);
  background: var(--surface);
  padding-block: 56px 36px;
}
.footer__top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 32px;
}
.footer__brand .logo {
  margin-bottom: 14px;
}
.footer__brand p {
  font-size: 0.875rem;
  color: var(--muted-fg);
  max-width: 280px;
}
.footer__col h4 {
  font-size: 0.75rem;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted-fg);
  margin-bottom: 14px;
  font-weight: 500;
}
.footer__col a {
  display: block;
  font-size: 0.875rem;
  color: var(--ink);
  padding: 5px 0;
  transition: color 0.15s;
}
.footer__col a:hover {
  color: var(--accent-soft-fg);
}
.footer__bottom {
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.8125rem;
  color: var(--muted-fg);
}
.footer__bottom .bracket {
  font-family: var(--font-mono);
}

/* ============================ legal pages ============================ */

.legal-page {
  min-height: 100vh;
  background: var(--bg);
}
.legal-hero {
  padding-top: calc(var(--nav-h) + clamp(44px, 6vw, 80px));
  padding-bottom: clamp(36px, 5vw, 64px);
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.legal-hero__inner {
  max-width: 780px;
}
.legal-hero .lede {
  margin-top: 18px;
}
.legal-doc {
  max-width: 820px;
  padding-block: clamp(42px, 6vw, 76px);
}
.legal-alert {
  border: 1px solid hsl(38 80% 72%);
  background: hsl(48 100% 96%);
  color: hsl(30 80% 24%);
  border-radius: var(--r-lg);
  padding: 16px 18px;
  font-size: 0.9375rem;
  margin-bottom: 32px;
}
.legal-doc h2 {
  font-size: 1.25rem;
  line-height: 1.35;
  margin: 34px 0 10px;
}
.legal-doc p,
.legal-doc li {
  color: var(--muted-fg);
  line-height: 1.7;
}
.legal-doc ul {
  padding-left: 22px;
  margin: 10px 0 0;
}
.legal-doc li + li {
  margin-top: 8px;
}
.legal-placeholder {
  font-family: var(--font-mono);
  color: var(--accent-soft-fg);
  background: var(--accent-tint);
  border-radius: var(--r-sm);
  padding: 1px 5px;
}

/* ============================ responsive ============================ */

@media (max-width: 940px) {
  .hero__grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }
  .hero__copy {
    max-width: 620px;
  }
  .hero__bg {
    mask-image: none;
    -webkit-mask-image: none;
    opacity: 0.4;
  }
  .dims {
    grid-template-columns: repeat(2, 1fr);
  }
  .dim-card,
  .dim-card:nth-child(4),
  .dim-card:nth-child(5) {
    grid-column: auto;
  }
  .partner {
    grid-template-columns: 1fr;
  }
  .footer__top {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
  .footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .nav__links {
    display: none;
  }
  .benefits,
  .blocks,
  .security,
  .steps {
    grid-template-columns: 1fr;
  }
  .split-2 {
    grid-template-columns: 1fr;
  }
  .step {
    padding: 0;
  }
  .step:not(:last-child)::after {
    display: none;
  }
  .step + .step {
    margin-top: 28px;
  }
  .compare__head,
  .compare__row {
    grid-template-columns: 1fr;
  }
  .compare__row .old,
  .compare__head .old {
    border-bottom: 1px solid var(--border);
  }
  .field-2 {
    grid-template-columns: 1fr;
  }
  .dims {
    grid-template-columns: 1fr;
  }
  .footer__top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .nav__inner {
    gap: 10px;
  }
  .nav__cta {
    gap: 8px;
  }
  .nav__cta .btn {
    height: 38px;
    padding: 0 10px;
    font-size: 0.8125rem;
  }
  .nav .logo__word {
    display: none;
  }
  .footer__top {
    grid-template-columns: 1fr;
  }
  .hero__cta {
    gap: 14px;
  }
  .hero__cta .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto;
  }
  .hero__sub p,
  .faq__a,
  .link-arrow {
    transition: none;
  }
}

/* no-JS fallback: show empresario content */
.no-js [data-aud-show="asesor"] {
  display: none !important;
}
