/* ==========================================================================
   D'MARIO · Distribuidores — hoja de estilos pública
   Paleta: tinta del logotipo oficial (#183029) + neutros cálidos.
   ========================================================================== */

:root {
  --ink: #13241f;
  --ink-2: #233d35;
  --ink-3: #2f4a41;
  --ink-soft: #46605a;
  --paper: #ffffff;
  --sand: #f7f5f0;
  --sand-2: #efebe3;
  --line: #e3ded4;
  --line-soft: #eeebe4;
  --muted: #5d6a65;
  --accent: #b84000;
  --accent-soft: #f7e6dd;
  --success: #1f6f4e;
  --success-bg: #ecf5ef;
  --error: #9a1b1b;
  --error-bg: #fdf1ee;

  --radius-xs: 0;
  --radius-sm: 0;
  --radius-md: 0;
  --radius-lg: 0;
  --radius-btn: 0;
  --pill: 999px;

  /* Superficies planas: sin sombras difusas ni halos. */
  --shadow-sm: none;
  --shadow-md: none;
  --shadow-lg: none;

  /* Tipografía de la tienda: Gotham para texto, Copperplate para titulares. */
  --font: Gotham, "Gotham SSm", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: Copperplate, "Copperplate Gothic Light", "Trajan Pro", "Palatino Linotype", Palatino, Georgia, serif;

  --ease: cubic-bezier(.16, 1, .3, 1);
  --dur: .7s;

  --header-h: 72px;
  --maxw: 1180px;
}

/* --------------------------------------------------------------- reset */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  /* Evita el scroll horizontal sin convertir <body> en contenedor de scroll
     (eso rompe position: sticky y el cálculo del observer). */
  overflow-x: hidden;
}

body {
  margin: 0;
  min-height: 100%;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  line-height: 1.14;
  letter-spacing: .02em;
  font-weight: 400;
  text-wrap: balance;
}

p { margin: 0; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }

:focus-visible {
  outline: 2px solid rgba(184, 64, 0, .6);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: var(--ink); color: #fff; }

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 100;
  background: var(--ink);
  color: #fff;
  padding: 12px 18px;
  border-radius: 0;
  font-weight: 700;
  font-size: 14px;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; }

/* --------------------------------------------------------------- header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, box-shadow .3s ease;
}
.site-header.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: 0 1px 0 rgba(24, 48, 41, .04);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}
.brand img { height: 30px; width: auto; }
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
  padding-left: 12px;
  border-left: 1px solid var(--line);
}
.brand-text b { font-size: 14px; letter-spacing: .16em; text-transform: uppercase; }
.brand-text span { font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: auto;
}
.nav a {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink-soft);
  position: relative;
  padding: 6px 0;
  transition: color .2s ease;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1.5px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--ease);
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.nav + .header-actions { margin-left: 0; }

.lang {
  position: relative;
}
.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  cursor: pointer;
  color: var(--ink-soft);
  transition: border-color .2s ease, color .2s ease, background .2s ease;
}
.lang-btn:hover { border-color: var(--ink-soft); color: var(--ink); }
.lang-btn svg { transition: transform .25s var(--ease); }
.lang-btn::-webkit-details-marker { display: none; }
.lang-btn::marker { content: ""; }
.lang[open] .lang-btn svg { transform: rotate(180deg); }
.lang[open] .lang-btn { background: var(--sand); }

.lang-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  min-width: 168px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  padding: 6px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .2s ease, transform .2s var(--ease), visibility .2s;
}
.lang[open] .lang-menu { opacity: 1; visibility: visible; transform: none; }
.lang-menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-soft);
}
.lang-menu a:hover { background: var(--sand); color: var(--ink); }
.lang-menu a[aria-current="true"] { color: var(--ink); background: var(--sand-2); }
.lang-menu .code {
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--muted);
}

.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: #fff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav-toggle span {
  position: relative;
  width: 18px; height: 1.5px;
  background: var(--ink);
  display: block;
  transition: transform .3s var(--ease), opacity .2s ease;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px; height: 1.5px;
  background: var(--ink);
  transition: transform .3s var(--ease);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

/* --------------------------------------------------------------- buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: var(--radius-btn);
  background: var(--ink);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -.01em;
  cursor: pointer;
  text-align: center;
  transition: background .25s ease, transform .25s var(--ease), box-shadow .25s ease, color .25s ease, border-color .25s ease;
  box-shadow: none;
}
.btn:hover { background: var(--ink-2); }
.btn:active { transform: translateY(0); }
.btn svg { flex: 0 0 auto; }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
  box-shadow: none;
}
.btn--ghost:hover { background: var(--sand); border-color: var(--ink-soft); box-shadow: none; }

.btn--light {
  background: #fff;
  color: var(--ink);
  box-shadow: none;
}
.btn--light:hover { background: var(--sand); color: var(--ink); }

.btn--sm { min-height: 42px; padding: 0 18px; font-size: 14px; }
.btn--block { width: 100%; }
.btn[disabled], .btn.is-loading { opacity: .8; pointer-events: none; }

/* --------------------------------------------------------------- hero */
.hero {
  position: relative;
  padding: clamp(40px, 6vw, 84px) 0 clamp(36px, 5vw, 64px);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero h1 {
  margin: 22px 0 0;
  font-size: clamp(28px, 3.8vw, 44px);
  line-height: 1.16;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.hero h1 em {
  display: block;
  font-style: normal;
  color: var(--ink-3);
}

.hero-lead {
  margin-top: 24px;
  max-width: 52ch;
  font-size: clamp(16px, 1.3vw, 17.5px);
  line-height: 1.65;
  color: var(--muted);
}

.hero-bullets {
  display: grid;
  gap: 0;
  margin-top: 28px;
  max-width: 44ch;
}
.hero-bullets li {
  padding: 10px 0;
  border-top: 1px solid var(--line);
  font-size: 14.5px;
  color: var(--ink-soft);
}
.hero-bullets li:last-child { border-bottom: 1px solid var(--line); }
.hero-bullets .tick { display: none; }

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}
.hero-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  font-size: 12.5px;
  color: var(--muted);
}
.hero-meta svg { color: var(--success); }

/* bloque de marca: plano, sin halos ni texturas */
.hero-card {
  position: relative;
  border-radius: var(--radius-md);
  background: var(--ink);
  color: #fff;
  padding: 34px 32px 30px;
  box-shadow: none;
}
.hero-card .kicker {
  font-size: 10.5px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .6);
}
.hero-card h2 {
  margin-top: 12px;
  font-size: clamp(26px, 2.6vw, 34px);
  letter-spacing: -.03em;
}
.hero-card .card-lead {
  margin-top: 10px;
  font-size: 14.5px;
  line-height: 1.6;
  color: rgba(255, 255, 255, .72);
  max-width: 34ch;
}
/* franja de mercados */
.market-strip {
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background: var(--sand);
}
.market-strip .wrap {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-top: 16px;
  padding-bottom: 16px;
  flex-wrap: wrap;
}
.market-strip .label {
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
}
.market-strip ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  font-size: 13.5px;
  color: var(--ink-soft);
  font-weight: 600;
}
.market-strip li { display: flex; align-items: center; }
.market-strip li + li { padding-left: 18px; border-left: 1px solid var(--line); }
.market-strip li.is-more { color: var(--muted); font-weight: 500; }
.market-strip .market-note {
  flex: 1 0 100%;
  margin-top: 2px;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--ink-soft);
  text-decoration: underline;
  text-decoration-color: var(--line);
  text-underline-offset: 3px;
}
.market-strip .market-note:hover { color: var(--ink); text-decoration-color: var(--ink); }

/* --------------------------------------------------------------- sections */
.section { padding: clamp(56px, 7vw, 104px) 0; }
.section--sand { background: var(--sand); }
.section--tight { padding-top: clamp(40px, 5vw, 64px); }

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 12px 48px;
  align-items: end;
  margin-bottom: clamp(30px, 4vw, 52px);
}
.section-head h2 {
  grid-column: 1;
  margin-top: 14px;
  font-size: clamp(26px, 3.4vw, 42px);
  letter-spacing: -.03em;
}
.section-head .section-lead {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: end;
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 48ch;
}
.section-head .eyebrow { grid-column: 1; }

/* beneficios */
.benefits {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0 clamp(20px, 3vw, 40px);
  border-top: 1px solid var(--ink);
}
.benefit {
  padding: 22px 0 26px;
  border-bottom: 1px solid var(--line);
}
.benefit .num {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: .16em;
  color: var(--muted);
}
.benefit h3 {
  margin-top: 14px;
  font-size: 17.5px;
  letter-spacing: -.02em;
}
.benefit p {
  margin-top: 9px;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--muted);
}

/* --------------------------------------------------------------- formulario */
.form-section { position: relative; }
.form-grid {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}
.form-aside { position: sticky; top: calc(var(--header-h) + 24px); }
.form-aside h2 {
  margin-top: 14px;
  font-size: clamp(26px, 3vw, 38px);
  letter-spacing: -.03em;
}
.form-aside .aside-lead {
  margin-top: 16px;
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 40ch;
}
.aside-points {
  margin-top: 28px;
  display: grid;
  gap: 0;
  max-width: 42ch;
}
.aside-points li {
  padding: 11px 0;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.55;
}
.aside-points li:last-child { border-bottom: 1px solid var(--line); }
.aside-points .dot { display: none; }

.form-card {
  background: #fff;
  border: 1px solid var(--line);
  padding: clamp(22px, 3vw, 38px);
  position: relative;
  overflow: hidden;
}
.form-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: var(--sand-2);
}
.form-progress {
  position: absolute;
  inset: 0 auto auto 0;
  height: 3px;
  width: 0%;
  background: var(--accent);
  transition: width .45s var(--ease);
}
/* El avance se controla con data-step para no usar estilos inline (CSP). */
.form-progress[data-step="1"] { width: 17%; }
.form-progress[data-step="2"] { width: 33%; }
.form-progress[data-step="3"] { width: 50%; }
.form-progress[data-step="4"] { width: 67%; }
.form-progress[data-step="5"] { width: 83%; }
.form-progress[data-step="6"] { width: 100%; }

.form-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.form-head h3 { font-size: 21px; letter-spacing: -.02em; }
.form-head p { margin-top: 7px; font-size: 14px; line-height: 1.6; color: var(--muted); max-width: 46ch; }
.form-head .badge {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--success);
  background: transparent;
  border: 1px solid #cfe4d8;
  padding: 6px 11px;
  white-space: nowrap;
}
.form-badge-lg { display: none; }

form fieldset {
  border: 0;
  padding: 0;
  margin: 26px 0 0;
  min-width: 0;
}
form legend {
  padding: 0;
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 400;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 14px;
}

.fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.field { display: flex; flex-direction: column; min-width: 0; }
.field--full { grid-column: 1 / -1; }

.field label {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-soft);
  margin-bottom: 7px;
}
.field label .req { color: var(--accent); }
.field label .opt {
  font-weight: 500;
  font-size: 11.5px;
  color: var(--muted);
  letter-spacing: .02em;
}

.control { position: relative; display: flex; align-items: center; }
.control input,
.control select,
.control textarea {
  width: 100%;
  min-height: 50px;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
  appearance: none;
}
.control input::placeholder { color: #9aa39e; }
.control input:hover,
.control select:hover { border-color: #cfc9bc; }
.control input:focus,
.control select:focus,
.control textarea:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--ink);
}
.control select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%235d6a65' 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;
  padding-right: 40px;
  cursor: pointer;
}
.control select:invalid { color: #9aa39e; }

.field .hint {
  margin-top: 6px;
  font-size: 11.5px;
  color: var(--muted);
  line-height: 1.45;
}
.field .error {
  display: none;
  margin-top: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--error);
  line-height: 1.4;
}
.field.is-invalid .error { display: block; }
.field.is-invalid .control input,
.field.is-invalid .control select,
.field.is-invalid .control textarea {
  border-color: var(--error);
  background: var(--error-bg);
}
.field.is-valid .control input,
.field.is-valid .control select { border-color: #9ec3ad; }

/* casillas */
.consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-top: 18px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fcfbf8;
  transition: border-color .2s ease, background .2s ease;
}
.consent.is-invalid { border-color: var(--error); background: var(--error-bg); }
.consent input[type="checkbox"] {
  flex: 0 0 auto;
  width: 19px; height: 19px;
  margin: 2px 0 0;
  accent-color: var(--ink);
  cursor: pointer;
}
.consent label {
  font-size: 12.8px;
  line-height: 1.6;
  color: var(--ink-soft);
  cursor: pointer;
}
.consent label a {
  color: var(--ink);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--line);
  text-underline-offset: 3px;
}
.consent label a:hover { text-decoration-color: var(--ink); }
.consent--soft { background: #fff; margin-top: 10px; }
.consent .note { display: block; margin-top: 4px; font-size: 11.5px; color: var(--muted); }
.consent-error {
  display: none;
  margin-top: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--error);
}
.consent-error.is-visible { display: block; }

.form-submit {
  margin-top: 22px;
  display: grid;
  gap: 12px;
}
.form-submit .btn { min-height: 54px; font-size: 15.5px; }
.form-secure {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-size: 11.5px;
  color: var(--muted);
  text-align: center;
}
.form-secure svg { flex: 0 0 auto; color: var(--success); }

.spinner {
  width: 16px; height: 16px;
  border: 2px solid rgba(255, 255, 255, .35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin .7s linear infinite;
  display: none;
}
.btn.is-loading .spinner { display: block; }
.btn.is-loading .btn-label { opacity: .85; }

.form-alert {
  display: none;
  margin-top: 16px;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid #e8c9c2;
  background: var(--error-bg);
  color: var(--error);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
}
.form-alert.is-visible { display: block; }
.form-alert ul { margin-top: 6px; display: grid; gap: 3px; font-weight: 500; }
.form-alert li::before { content: "— "; }

/* éxito */
.form-success {
  display: none;
  padding: 8px 0 6px;
  text-align: left;
}
.form-success.is-visible { display: block; animation: fadeUp .5s var(--ease) both; }
.form-success .check {
  width: 46px; height: 46px;
  border: 1px solid var(--success);
  color: var(--success);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}
.form-success .check svg { width: 26px; height: 26px; }
.form-success .check path {
  stroke-dasharray: 30;
  stroke-dashoffset: 30;
  animation: draw .6s .15s var(--ease) forwards;
}
.form-success h3 { font-size: 22px; }
.form-success p { margin-top: 10px; font-size: 14.5px; line-height: 1.65; color: var(--muted); }
.form-success .ticket {
  margin-top: 20px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--sand);
}
.form-success .ticket span {
  display: block;
  font-size: 10.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}
.form-success .ticket strong {
  display: block;
  margin-top: 4px;
  font-size: 19px;
  letter-spacing: .04em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.form-success .ticket small { display: block; margin-top: 6px; font-size: 12px; color: var(--muted); }
.form-success .again {
  margin-top: 20px;
  background: none;
  border: 0;
  padding: 0;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  cursor: pointer;
}
.form-success .again:hover { border-color: var(--ink); }

/* --------------------------------------------------------------- perfiles */
.profiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.profile {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 28px 26px 30px;
  transition: transform .35s var(--ease), box-shadow .35s ease, border-color .3s ease;
}
.profile:hover {
  transform: translateY(-3px);
  border-color: #cfc9bc;
  box-shadow: var(--shadow-md);
}
.profile .icon {
  width: 46px; height: 46px;
  border-radius: 0;
  display: grid;
  place-items: center;
  background: var(--sand);
  color: var(--ink);
  margin-bottom: 18px;
}
.profile h3 { font-size: 17.5px; letter-spacing: -.02em; }
.profile p { margin-top: 8px; font-size: 14.5px; line-height: 1.65; color: var(--muted); }
.profiles-note {
  margin-top: 22px;
  font-size: 13.5px;
  color: var(--muted);
}
.profiles-note a { font-weight: 700; color: var(--ink); border-bottom: 1px solid var(--line); }
.profiles-note a:hover { border-color: var(--ink); }

/* --------------------------------------------------------------- proceso */
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
  counter-reset: step;
}
.step {
  position: relative;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}
.step::after {
  content: "";
  position: absolute;
  top: -1px; left: 0;
  width: 100%;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1s var(--ease);
}
.steps.is-visible .step::after { transform: scaleX(1); }
.steps.is-visible .step:nth-child(2)::after { transition-delay: .18s; }
.steps.is-visible .step:nth-child(3)::after { transition-delay: .36s; }
.step .n {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  color: var(--accent);
}
.step h3 { margin-top: 12px; font-size: 19px; letter-spacing: -.02em; }
.step p { margin-top: 9px; font-size: 14.5px; line-height: 1.65; color: var(--muted); max-width: 34ch; }

/* --------------------------------------------------------------- faq */
.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}
.faq-aside { position: sticky; top: calc(var(--header-h) + 24px); }
.faq-aside h2 { margin-top: 14px; font-size: clamp(26px, 3vw, 38px); letter-spacing: -.03em; }
.faq-aside p { margin-top: 14px; font-size: 15px; color: var(--muted); max-width: 32ch; line-height: 1.65; }
.faq-aside .btn { margin-top: 22px; }

.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 0;
  cursor: pointer;
  list-style: none;
  font-size: 15.5px;
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--ink);
  transition: color .2s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--ink-3); }
.faq-item .marker {
  flex: 0 0 auto;
  width: 26px; height: 26px;
  border-radius: 0;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  position: relative;
  transition: background .3s ease, border-color .3s ease;
}
.faq-item .marker::before,
.faq-item .marker::after {
  content: "";
  position: absolute;
  background: var(--ink);
  transition: transform .3s var(--ease), background .3s ease;
}
.faq-item .marker::before { width: 10px; height: 1.5px; }
.faq-item .marker::after { width: 1.5px; height: 10px; }
.faq-item[open] .marker { background: var(--ink); border-color: var(--ink); }
.faq-item[open] .marker::before,
.faq-item[open] .marker::after { background: #fff; }
.faq-item[open] .marker::after { transform: rotate(90deg); }
.faq-answer {
  padding: 0 44px 22px 0;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--muted);
  animation: fadeUp .35s var(--ease) both;
}

/* --------------------------------------------------------------- cta band */
.cta-band {
  position: relative;
  background: var(--ink);
  color: #fff;
  padding: clamp(48px, 6vw, 82px) 0;
}
.cta-band .wrap {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: 28px 56px;
  align-items: center;
}
.cta-band h2 {
  font-size: clamp(28px, 3.6vw, 44px);
  letter-spacing: -.035em;
  max-width: 22ch;
}
.cta-band p {
  grid-column: 1;
  margin-top: 16px;
  font-size: 15.5px;
  line-height: 1.7;
  color: rgba(255, 255, 255, .72);
  max-width: 46ch;
}
.cta-band .cta-actions {
  grid-column: 2;
  grid-row: 1 / span 2;
  justify-self: end;
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: min(340px, 100%);
}
.cta-band .cta-actions .btn { width: 100%; }
.cta-band .cta-actions .micro {
  font-size: 12px;
  color: rgba(255, 255, 255, .55);
  text-align: center;
}

/* --------------------------------------------------------------- footer */
.site-footer {
  background: #fff;
  border-top: 1px solid var(--line-soft);
  padding: 40px 0 30px;
  font-size: 13px;
  color: var(--muted);
}
.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line-soft);
}
.footer-brand { max-width: 320px; }
.footer-brand .brand { margin-bottom: 12px; }
.footer-brand p { font-size: 13px; line-height: 1.65; }
.footer-links { display: flex; gap: 48px; flex-wrap: wrap; }
.footer-col b {
  display: block;
  font-size: 10.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 10px;
}
.footer-col a { display: block; padding: 4px 0; color: var(--muted); }
.footer-col a:hover { color: var(--ink); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 20px;
  font-size: 12px;
}
.footer-bottom p { max-width: 62ch; line-height: 1.6; }

/* --------------------------------------------------------------- animaciones */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
  transition-delay: var(--delay, 0s);
  will-change: opacity, transform;
}
.reveal.is-in { opacity: 1; transform: none; }

.hero-anim {
  opacity: 0;
  transform: translateY(18px);
  animation: heroIn .9s var(--ease) forwards;
  animation-delay: var(--delay, 0s);
}

@keyframes heroIn {
  to { opacity: 1; transform: none; }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes draw { to { stroke-dashoffset: 0; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .hero-anim { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------- responsive */
@media (max-width: 1080px) {
  .benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nav { gap: 18px; }
  .nav a { font-size: 13.5px; }
}

@media (max-width: 960px) {
  :root { --header-h: 66px; }
  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 8px 24px 20px;
    box-shadow: var(--shadow-md);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s ease, transform .3s var(--ease), visibility .25s;
  }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line-soft); font-size: 15px; }
  .nav a::after { display: none; }
  .nav-open .nav { opacity: 1; visibility: visible; transform: none; }
  .no-js .nav {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border-bottom: 0;
    padding: 0;
    background: transparent;
    flex-direction: row;
    gap: 14px;
    overflow-x: auto;
    order: 3;
    width: 100%;
  }
  .no-js .nav a { border-bottom: 0; padding: 8px 0; font-size: 13.5px; white-space: nowrap; }
  .no-js .header-inner { flex-wrap: wrap; }
  .no-js .nav-toggle { display: none; }
  .nav-toggle { display: inline-flex; }
  .header-actions .btn { display: none; }
  .header-actions { margin-left: 0; }

  .hero-grid { grid-template-columns: 1fr; gap: 34px; }
  .hero-card { order: 2; }
  .section-head { grid-template-columns: 1fr; gap: 14px; }
  .section-head .section-lead { grid-column: 1; grid-row: auto; }
  .form-grid { grid-template-columns: 1fr; }
  .form-aside { position: static; }
  .aside-points { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 20px; }
  .profiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .profiles .profile:last-child { grid-column: 1 / -1; }
  .faq-grid { grid-template-columns: 1fr; }
  .faq-aside { position: static; }
  .faq-aside p { max-width: 56ch; }
  .cta-band .wrap { grid-template-columns: 1fr; }
  .cta-band .cta-actions { grid-column: 1; grid-row: auto; justify-self: start; }
  .cta-band h2 { max-width: none; }
  .footer-links { gap: 32px; }
}

@media (max-width: 720px) {
  .wrap { padding: 0 18px; }
  .brand-text { display: none; }
  .benefits { grid-template-columns: 1fr; }
  .fields { grid-template-columns: 1fr; }
  .profiles { grid-template-columns: 1fr; }
  .profiles .profile:last-child { grid-column: auto; }
  .steps { grid-template-columns: 1fr; gap: 22px; }
  .aside-points { grid-template-columns: 1fr; }
  .hero-cta .btn { width: 100%; }
  .hero-cta { gap: 10px; }
  .market-strip ul { gap: 6px 16px; font-size: 12.5px; }
  .form-card { padding: 22px 18px 24px; }
  .form-head { flex-direction: column; }
  .form-head .badge { align-self: flex-start; }
  .footer-top { flex-direction: column; gap: 26px; }
  .footer-links { gap: 24px 40px; }
}

@media (max-width: 400px) {
  .hero h1 { font-size: 31px; }
}

/* impresión mínima */
@media print {
  .site-header, .hero-card, .cta-band, .site-footer, .form-aside { display: none; }
}

/* --------------------------------------------------------------- utilidades */
.field--hp {
  position: absolute !important;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

[data-d="1"] { --delay: .06s; }
[data-d="2"] { --delay: .13s; }
[data-d="3"] { --delay: .2s; }
[data-d="4"] { --delay: .27s; }
[data-d="5"] { --delay: .34s; }
[data-d="6"] { --delay: .41s; }

.mt-8 { margin-top: 8px; }
.mt-10 { margin-top: 10px; }
.mt-12 { margin-top: 12px; }
.mt-14 { margin-top: 14px; }
.mt-16 { margin-top: 16px; }
.mt-18 { margin-top: 18px; }
.mt-22 { margin-top: 22px; }
.mt-24 { margin-top: 24px; }
.mt-36 { margin-top: 36px; }
.mt-40 { margin-top: 40px; }
.mb-18 { margin-bottom: 18px; }
.link-underline { text-decoration: underline; text-underline-offset: 3px; }
.text-sm { font-size: 13px; }

/* --------------------------------------------------------------- política */
.legal-main {
  max-width: 820px;
  padding-top: 48px;
  padding-bottom: 72px;
}
.legal-title {
  margin-top: 16px;
  font-size: clamp(28px, 4vw, 42px);
}
.legal-meta {
  margin-top: 14px;
  color: var(--muted);
  font-size: 14.5px;
}
.legal-body {
  margin-top: 36px;
  display: grid;
  gap: 30px;
}
.legal-body h2 { font-size: 19px; }
.legal-body p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}
.legal-contact {
  margin-top: 40px;
  font-size: 13px;
  color: var(--muted);
}
.legal-contact a {
  font-weight: 700;
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer-bottom--plain {
  border: 0;
  padding-top: 0;
}
