/* Hoja de estilos única del sitio.
   Sistema: azul institucional sobre marino casi negro, grises fríos y una sola familia tipográfica. */

@font-face {
  font-family: "Albert Sans";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/albert-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Albert Sans";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/albert-sans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C4, U+2113;
}
/* Solo para el logotipo: IBM Plex Sans seminegrita (licencia OFL), recortada a las letras de «Axpath.» (4 KB). */
@font-face {
  font-family: "Axpath Sans";
  font-style: normal;
  font-weight: 600;
  font-display: block;
  src: url("/assets/fonts/ibm-plex-sans-axpath.woff2") format("woff2");
  unicode-range: U+2E, U+41, U+61, U+68, U+70, U+74, U+78;
}

:root {
  /* Color */
  --blue-900: #0d1775;
  --blue-700: #0f389b;
  --blue-500: #1383f4;
  --blue-100: #dfe9f8;
  --blue-50: #f3f8fe;
  --navy-950: #040c17;
  --navy-900: #0d1c30;
  --navy-800: #1a2e49;
  --navy-700: #2b4362;
  --navy-300: #9fb0c7;
  --navy-200: #b3c0d3;
  --ink: #040c17;
  --text: #3a495d;
  --muted: #5d6b7e;
  --line: #e1e4e9;
  --line-strong: #c8cdd3;
  --grey-50: #f7f8fa;
  --grey-100: #f1f3f6;
  --white: #fff;
  --ok: #0b6b3a;
  --error: #c40000;
  --grad: linear-gradient(90deg, #1383f4 0%, #0d1775 100%);

  /* Tipografía */
  --font: "Albert Sans", "Helvetica Neue", Arial, sans-serif;
  --fs-xs: 0.8125rem;
  --fs-sm: 0.9063rem;
  --fs-base: 1rem;
  --fs-md: 1.125rem;
  --fs-lg: 1.3125rem;
  --fs-xl: 1.625rem;
  --fs-2xl: clamp(1.75rem, 1.2rem + 1.9vw, 2.375rem);
  --fs-3xl: clamp(2.125rem, 1.3rem + 3vw, 3.25rem);

  /* Espacio */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 24px;
  --s-6: 32px;
  --s-7: 48px;
  --s-8: 64px;
  --s-9: 96px;
  --gutter: clamp(16px, 5vw, 48px);
  --maxw: 1248px;
  --section: clamp(56px, 8vw, 104px);

  /* Forma */
  --r-sm: 3px;
  --r: 4px;
  --r-lg: 8px;
  --shadow: 0 1px 2px rgba(4, 12, 23, 0.06), 0 6px 20px rgba(4, 12, 23, 0.06);
  --shadow-lg: 0 2px 6px rgba(4, 12, 23, 0.08), 0 20px 48px rgba(4, 12, 23, 0.16);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-base);
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img,
svg {
  display: block;
  max-width: 100%;
}
img {
  height: auto;
}
h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
h1 {
  font-size: var(--fs-3xl);
  font-weight: 700;
}
h2 {
  font-size: var(--fs-2xl);
  font-weight: 700;
}
h3 {
  font-size: var(--fs-lg);
  font-weight: 600;
  letter-spacing: -0.012em;
  line-height: 1.25;
}
h4 {
  font-size: var(--fs-md);
  font-weight: 600;
  letter-spacing: -0.01em;
}
p {
  margin: 0;
  text-wrap: pretty;
}
ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}
a {
  color: var(--blue-700);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
a:hover {
  color: var(--blue-900);
}
strong {
  font-weight: 650;
  color: var(--ink);
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
:focus-visible {
  outline: 2px solid var(--blue-500);
  outline-offset: 2px;
  border-radius: var(--r-sm);
}
[hidden] {
  display: none !important;
}
.num {
  font-variant-numeric: tabular-nums;
}
.wrap {
  width: min(var(--maxw), 100% - 2 * var(--gutter));
  margin-inline: auto;
}
.skip {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--white);
  color: var(--blue-700);
  border-radius: var(--r);
  box-shadow: var(--shadow);
}
.skip:focus {
  top: 12px;
}
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
mark.pendiente {
  background: #fff3c4;
  color: #5c4400;
  padding: 1px 6px;
  border-radius: var(--r-sm);
  font-weight: 600;
}

/* ───────── Botones y enlaces ───────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: var(--r);
  font-size: var(--fs-base);
  font-weight: 550;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}
.btn-sm {
  min-height: 44px;
  padding: 0 20px;
  font-size: var(--fs-sm);
}
.btn-primary {
  background: var(--grad);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--blue-700);
  color: var(--white);
}
.btn-primary:active {
  background: var(--blue-900);
}
.btn-outline {
  background: transparent;
  border-color: var(--blue-700);
  color: var(--blue-700);
}
.btn-outline:hover {
  background: var(--blue-50);
  color: var(--blue-900);
}
.btn-light {
  background: var(--white);
  color: var(--blue-700);
}
.btn-light:hover {
  background: var(--blue-50);
  color: var(--blue-900);
}
.btn-ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.55);
  color: var(--white);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}
.btn[aria-busy="true"] {
  opacity: 0.7;
  cursor: progress;
}
.btn .chev {
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-top: 1.5px solid currentColor;
  transform: rotate(45deg);
  margin-left: 2px;
}
/* Enlace con triángulo: la forma de «seguir leyendo» en todo el sitio */
.more {
  display: inline-block;
  font-weight: 600;
  text-decoration: none;
  color: var(--blue-700);
}
/* El generador envuelve la última palabra en .more-end para que el triángulo nunca salte solo de línea */
.more-end {
  white-space: nowrap;
}
.more-end::after {
  content: "";
  display: inline-block;
  margin-left: 0.5em;
  vertical-align: 0.04em;
  border-left: 0.42em solid currentColor;
  border-top: 0.3em solid transparent;
  border-bottom: 0.3em solid transparent;
  transition: transform 0.15s;
}
.more:hover .more-end::after {
  transform: translateX(3px);
}

/* ───────── Cabecera ───────── */
.topbar {
  background: var(--blue-700);
  color: var(--white);
  font-size: var(--fs-sm);
  text-align: center;
}
.topbar p {
  padding: 8px 0;
}
.topbar strong {
  color: var(--white);
}
.topbar a {
  color: var(--white);
  margin-left: 4px;
  white-space: nowrap;
}
.utilnav {
  background: var(--navy-950);
  font-size: var(--fs-xs);
}
.utilnav nav {
  display: flex;
  justify-content: flex-end;
  gap: clamp(20px, 4vw, 48px);
  padding: 8px 0;
}
.utilnav a {
  color: var(--navy-200);
  text-decoration: none;
}
.utilnav a:hover,
.utilnav a[aria-current="page"] {
  color: var(--white);
}
.utilnav .util-tel {
  margin-right: auto;
  color: var(--white);
  font-weight: 600;
}
.contact-data {
  margin: 0;
  font-size: var(--fs-sm);
}
.contact-data div {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 12px;
  padding: 9px 0;
  border-top: 1px solid var(--line);
}
.contact-data div:first-child {
  border-top: 0;
  padding-top: 0;
}
.contact-data dt {
  color: var(--muted);
}
.contact-data dd {
  margin: 0;
  color: var(--navy-900);
}
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.nav-in {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 48px);
  min-height: 68px;
}
.logo {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  color: var(--ink);
  text-decoration: none;
  flex: none;
}
.logo:hover {
  color: var(--ink);
}
/* Logotipo (opción 3 elegida por Jordi el 2026-12-01): «Axpath.» en IBM Plex Sans seminegrita, azul marino oscuro,
   con el punto en el azul de acción. Sin línea debajo (brandSuffix vacío en site.config.json). */
.wordmark {
  font-family: "Axpath Sans", "Albert Sans", Arial, sans-serif;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.wordmark i {
  font-style: normal;
  color: var(--blue-500);
}
.logo .wordmark {
  font-size: 29px;
  color: var(--blue-900);
}
.logo-sub {
  margin-top: 5px;
  padding-top: 4px;
  border-top: 1px solid currentColor;
  font-size: 0.5rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--blue-900);
}
.nav-links {
  display: flex;
  gap: clamp(16px, 2.2vw, 34px);
  margin-right: auto;
}
.nav-links a {
  position: relative;
  padding: 23px 0;
  color: var(--navy-900);
  font-size: var(--fs-sm);
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}
.nav-links a:hover {
  color: var(--blue-700);
}
.nav-links a[aria-current="page"] {
  color: var(--blue-700);
}
.nav-links a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 3px;
  background: var(--blue-700);
}
.nav-actions {
  display: flex;
  gap: 12px;
}
.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 14px;
  margin-left: auto;
  background: none;
  border: 1px solid var(--line-strong);
  border-radius: var(--r);
  font-size: var(--fs-sm);
  font-weight: 550;
  color: var(--navy-900);
  cursor: pointer;
}
.nav-toggle i {
  display: block;
  width: 16px;
  height: 10px;
  border-top: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
}
.mobile-menu {
  border-top: 1px solid var(--line);
  background: var(--white);
  padding: 8px 0 24px;
}
.mobile-menu a:not(.btn) {
  display: block;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  color: var(--navy-900);
  font-weight: 550;
  text-decoration: none;
}
.mobile-menu .btn {
  width: 100%;
  margin-top: 20px;
}

/* ───────── Portada: hero ───────── */
.hero {
  position: relative;
  isolation: isolate;
  background: var(--navy-950);
  color: var(--white);
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% 40%;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(4, 12, 23, 0.9) 0%, rgba(4, 12, 23, 0.66) 40%, rgba(4, 12, 23, 0.16) 72%, rgba(4, 12, 23, 0.3) 100%),
    linear-gradient(0deg, rgba(4, 12, 23, 0.55) 0%, rgba(4, 12, 23, 0) 45%);
}
.hero-in {
  padding: clamp(56px, 8vw, 104px) 0 clamp(32px, 5vw, 56px);
}
.hero h1 {
  max-width: 15.5em;
  color: var(--white);
  font-weight: 300;
  line-height: 1.1;
}
.hero h1 strong {
  color: var(--white);
  font-weight: 700;
}
.hero-lede {
  max-width: 39em;
  margin-top: var(--s-5);
  font-size: var(--fs-md);
  line-height: 1.55;
  color: #e6ecf4;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 28px;
  margin-top: var(--s-6);
}
.hero-actions .more {
  color: var(--white);
}
.glass {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin-top: clamp(40px, 6vw, 72px);
  padding: 8px;
  background: rgba(236, 241, 247, 0.9);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-radius: var(--r);
}
.glass li {
  padding: 16px 18px 18px;
}
.glass li + li {
  border-left: 1px solid rgba(4, 12, 23, 0.1);
}
.glass a {
  font-size: 1.0625rem;
  font-weight: 650;
  letter-spacing: -0.01em;
}
.glass p {
  margin-top: 10px;
  font-size: var(--fs-sm);
  line-height: 1.5;
  color: var(--navy-800);
}

/* Calculadora de valor: panel dentro del hero. Los múltiplos están en api/contacto.js (CALC): la web no enseña cifras. */
.calc {
  margin-top: clamp(32px, 5vw, 56px);
  padding: 22px 24px 24px;
  background: rgba(236, 241, 247, 0.95);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-radius: var(--r);
  color: var(--text);
}
.calc .form-step > legend {
  margin-bottom: var(--s-4);
  font-size: var(--fs-lg);
}
.calc-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr auto;
  gap: 16px;
  align-items: start;
}
.calc-grid .field {
  margin-bottom: 0;
}
.calc-grid > .btn {
  margin-top: 29px; /* altura de la etiqueta, para alinear con los controles */
}
.calc-ebitda > div {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 48px;
}
.range {
  flex: 1;
  min-width: 0;
  height: 24px;
  margin: 0;
  accent-color: var(--blue-700);
  cursor: pointer;
}
.calc-value {
  flex: none;
  min-width: 6.2em;
  font-size: var(--fs-md);
  font-weight: 700;
  color: var(--ink);
  text-align: right;
}
.calc-out {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}
.calc-result {
  font-size: var(--fs-3xl);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.calc-note {
  max-width: 46ch;
  margin-top: 12px;
  font-size: var(--fs-sm);
}
.calc-ask {
  margin-bottom: var(--s-4);
  font-weight: 600;
  color: var(--navy-900);
}
.calc-out .field {
  margin-bottom: var(--s-4);
}
.calc .btn-back {
  margin-top: 4px;
  padding-left: 0;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Compromisos bajo el hero */
.pledges {
  border-bottom: 1px solid var(--line);
  background: var(--white);
}
.pledges ul {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.pledges li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 22px 20px 22px 0;
  font-size: var(--fs-sm);
  line-height: 1.4;
  font-weight: 550;
  color: var(--navy-900);
}
.pledges li + li {
  padding-left: 20px;
  border-left: 1px solid var(--line);
}
.tick {
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  border-radius: 50%;
  background: var(--blue-700)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.4l3 3 6-6.6' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / 20px no-repeat;
}

/* ───────── Secciones ───────── */
.section {
  padding: var(--section) 0;
}
.section-grey {
  background: var(--grey-100);
}
.section-dark {
  background: var(--navy-950);
  color: var(--navy-200);
}
.section-dark h2,
.section-dark h3,
.section-dark h4,
.section-dark strong {
  color: var(--white);
}
.section-dark + .section-dark {
  padding-top: 0;
}
.head {
  max-width: 56em;
  margin-bottom: clamp(32px, 4.5vw, 56px);
}
.head p {
  max-width: 41em;
  margin-top: var(--s-4);
  font-size: var(--fs-md);
}
.head-center {
  margin-inline: auto;
  text-align: center;
}
.head-center p {
  margin-inline: auto;
}
.after-grid {
  margin-top: var(--s-7);
}

/* Tarjetas con foto */
.cards {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(4, 1fr);
}
.cards-3 {
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--r);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.card img {
  width: 100%;
  aspect-ratio: 16 / 8;
  object-fit: cover;
}
.card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 12px;
  padding: 22px 22px 24px;
}
.card-body p {
  font-size: var(--fs-sm);
  line-height: 1.55;
}
.card-body .more {
  margin-top: auto;
  padding-top: 8px;
  font-size: var(--fs-sm);
}
.section-dark .card {
  background: var(--navy-900);
  box-shadow: none;
}
.section-dark .card img {
  aspect-ratio: 16 / 9;
}
.section-dark .card-body p {
  font-size: var(--fs-base);
  color: var(--navy-200);
}

/* Buscador de casos */
.finder-q {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
  margin-bottom: var(--s-5);
  font-size: var(--fs-md);
  color: var(--navy-900);
}
.finder-q select {
  min-height: 44px;
  padding: 0 40px 0 14px;
  border: 1px solid var(--navy-700);
  border-radius: var(--r);
  background: var(--white)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%230d1c30' stroke-width='1.6'/%3E%3C/svg%3E")
    right 14px center / 12px no-repeat;
  appearance: none;
  font-weight: 600;
  cursor: pointer;
}
.finder {
  background: var(--white);
  border-radius: var(--r);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.finder-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--grey-100);
  border-bottom: 1px solid var(--line);
}
.finder-tabs button {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 18px 12px 16px;
  background: none;
  border: 0;
  border-bottom: 3px solid transparent;
  font-size: var(--fs-sm);
  font-weight: 550;
  color: var(--muted);
  cursor: pointer;
}
.finder-tabs button + button {
  border-left: 1px solid var(--line);
}
.finder-tabs button:hover {
  color: var(--navy-900);
}
.finder-tabs button[aria-selected="true"] {
  background: var(--white);
  border-bottom-color: var(--blue-700);
  color: var(--ink);
}
.finder-tabs svg {
  width: 22px;
  height: 22px;
}
.finder-panel {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  padding: clamp(24px, 4vw, 48px);
}
.finder-panel h3 {
  font-size: var(--fs-xl);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.finder-panel p {
  margin-top: var(--s-4);
}
.finder-panel .checks {
  margin-top: var(--s-5);
}
.finder-panel .more {
  margin-top: var(--s-5);
}
.finder-panel img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--r);
}
.finder-role {
  min-height: 1.5em;
  margin: calc(-1 * var(--s-3)) 0 var(--s-5);
  padding-left: 14px;
  border-left: 3px solid var(--blue-700);
  font-size: var(--fs-sm);
  color: var(--navy-900);
}
.checks li {
  position: relative;
  padding-left: 30px;
}
.checks li + li {
  margin-top: 10px;
}
.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.22em;
  width: 18px;
  height: 18px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M3.5 9.4l3.6 3.6 7.4-8' fill='none' stroke='%230f389b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / contain no-repeat;
}
.section-dark .checks li::before {
  filter: brightness(0) invert(1);
}
.crosses li {
  position: relative;
  padding-left: 30px;
}
.crosses li + li {
  margin-top: 10px;
}
.crosses li::before {
  content: "";
  position: absolute;
  left: 1px;
  top: 0.28em;
  width: 16px;
  height: 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 3.5l9 9m0-9l-9 9' fill='none' stroke='%235d6b7e' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E")
    center / contain no-repeat;
}

/* Promoción de la guía (sección oscura) */
.promo {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 400px) 1fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
}
.promo-col {
  display: grid;
  gap: var(--s-8);
}
.promo-col h3 {
  font-size: var(--fs-md);
}
.promo-col p {
  margin-top: 6px;
  font-size: var(--fs-sm);
}
.promo-cta {
  margin-top: var(--s-7);
  text-align: center;
}
.cover-stack {
  position: relative;
  aspect-ratio: 4 / 4.6;
  background: radial-gradient(ellipse at 50% 60%, rgba(19, 131, 244, 0.35), rgba(13, 23, 117, 0.25) 45%, transparent 72%);
}
.cover,
.cover-back {
  position: absolute;
  border-radius: var(--r-sm);
  box-shadow: var(--shadow-lg);
}
.cover-back {
  inset: 9% 1% 7% 37%;
  padding: 22px 20px;
  background: var(--grey-50);
  color: var(--navy-900);
  transform: rotate(5deg);
  font-size: 0.6875rem;
  line-height: 1.35;
}
.cover-back b {
  display: block;
  margin-bottom: 10px;
  font-size: 0.75rem;
  color: var(--ink);
}
.cover-back li {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 5px 0;
  border-bottom: 1px solid var(--line);
}
.cover {
  inset: 5% 33% 9% 3%;
  display: flex;
  flex-direction: column;
  padding: 26px 24px;
  background: linear-gradient(160deg, #10276e 0%, #0d1c30 70%);
  color: var(--white);
  transform: rotate(-4deg);
}
.cover .wordmark {
  font-size: 26px;
  color: var(--white);
}
.cover b {
  margin-top: auto;
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
}
.cover span {
  margin-top: 12px;
  font-size: var(--fs-xs);
  color: var(--navy-200);
}

/* Pasos del proceso */
.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  counter-reset: paso;
}
.steps li {
  position: relative;
  padding: 0 20px 0 0;
  counter-increment: paso;
}
.steps li::before {
  content: counter(paso);
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: var(--s-5);
  border-radius: 50%;
  background: var(--blue-700);
  color: var(--white);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.steps li::after {
  content: "";
  position: absolute;
  top: 20px;
  left: 52px;
  right: 12px;
  height: 1px;
  background: var(--line-strong);
}
.steps li:last-child::after {
  display: none;
}
.steps time,
.when {
  display: block;
  margin-bottom: 6px;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--blue-700);
  font-variant-numeric: tabular-nums;
}
.steps p {
  margin-top: 8px;
  font-size: var(--fs-sm);
  line-height: 1.55;
}
.steps-more {
  margin-top: var(--s-7);
}

/* Preguntas frecuentes */
.faq {
  max-width: 880px;
  border-top: 1px solid var(--line-strong);
}
.faq-center {
  margin-inline: auto;
}
.faq-item {
  border-bottom: 1px solid var(--line-strong);
}
.faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  padding: 20px 4px;
  font-size: var(--fs-md);
  font-weight: 600;
  line-height: 1.35;
  color: var(--ink);
  letter-spacing: -0.01em;
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::after {
  content: "";
  flex: none;
  width: 12px;
  height: 12px;
  margin-top: 5px;
  border-right: 2px solid var(--blue-700);
  border-bottom: 2px solid var(--blue-700);
  transform: rotate(45deg);
  transition: transform 0.2s;
}
.faq-item[open] summary::after {
  transform: translateY(5px) rotate(-135deg);
}
.faq-item summary:hover {
  color: var(--blue-700);
}
.faq-a {
  max-width: 68ch;
  padding: 0 4px 24px;
}
.faq-a p + p,
.faq-a p + ul,
.faq-a ul + p {
  margin-top: 12px;
}
.faq-a ul {
  padding-left: 20px;
  list-style: disc;
}
.faq-group {
  max-width: 880px;
  margin-inline: auto;
}
.faq-group + .faq-group {
  margin-top: var(--s-8);
}
.faq-group h2 {
  margin-bottom: var(--s-5);
  font-size: var(--fs-xl);
}
.faq-more {
  margin-top: var(--s-6);
}

/* Banda de llamada final */
.cta {
  background: linear-gradient(to bottom, var(--grey-100) 50%, var(--navy-950) 50%);
}
.cta-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--s-6);
  padding: clamp(24px, 3.5vw, 40px) clamp(24px, 4vw, 48px);
  background: var(--white);
  border-radius: var(--r);
  box-shadow: var(--shadow-lg);
}
.cta-card h2 {
  font-size: var(--fs-xl);
}
.cta-card p {
  margin-top: 6px;
}
.cta-card .btn {
  flex: none;
}

/* Pie */
.footer {
  background: var(--navy-950);
  color: var(--navy-300);
  font-size: var(--fs-sm);
}
.footer-in {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: var(--s-7);
  padding: var(--s-8) 0 var(--s-7);
}
.footer .logo {
  color: var(--white);
}
.footer .logo .wordmark {
  color: var(--white);
}
.footer .logo-sub {
  color: var(--white);
  opacity: 0.8;
}
.footer-about p {
  max-width: 34ch;
  margin-top: var(--s-5);
  line-height: 1.55;
}
.footer h2 {
  margin-bottom: var(--s-4);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0;
  color: var(--white);
}
.footer li + li {
  margin-top: 10px;
}
.footer a {
  color: var(--navy-200);
  text-decoration: none;
}
.footer a:hover {
  color: var(--white);
  text-decoration: underline;
}
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 32px;
  padding: var(--s-5) 0 var(--s-6);
  border-top: 1px solid var(--navy-800);
  font-size: var(--fs-xs);
}
.footer-legal nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}

/* ───────── Páginas interiores ───────── */
.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--navy-950);
  color: var(--navy-200);
}
.page-hero-img {
  position: absolute;
  top: 0;
  right: 0;
  z-index: -1;
  width: 52%;
  height: 100%;
  object-fit: cover;
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, var(--navy-950) 0%, var(--navy-950) 48%, rgba(4, 12, 23, 0.72) 64%, rgba(4, 12, 23, 0.28) 100%);
}
.page-hero-in {
  max-width: 660px;
  padding: clamp(40px, 6vw, 72px) 0 clamp(48px, 7vw, 88px);
}
.page-hero.is-plain .page-hero-in {
  max-width: 820px;
}
.page-hero h1 {
  color: var(--white);
  font-size: clamp(2rem, 1.3rem + 2.6vw, 2.875rem);
}
.page-hero .lede {
  margin-top: var(--s-5);
  font-size: var(--fs-md);
  line-height: 1.55;
  color: #dbe3ee;
}
.page-hero .btn {
  margin-top: var(--s-6);
}
.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: var(--s-5);
  font-size: var(--fs-xs);
  color: var(--navy-300);
}
.crumbs a {
  color: var(--navy-200);
  text-decoration: none;
}
.crumbs a:hover {
  color: var(--white);
  text-decoration: underline;
}
.crumbs a::after {
  content: "/";
  margin-left: 8px;
  color: var(--navy-700);
}

.prose {
  max-width: 70ch;
}
.prose > * + * {
  margin-top: var(--s-4);
}
.prose h2 {
  margin-top: var(--s-8);
}
.prose h2:first-child {
  margin-top: 0;
}
.prose h3 {
  margin-top: var(--s-6);
}
.prose ul:not(.checks):not(.crosses) {
  padding-left: 22px;
  list-style: disc;
}
.prose ol {
  padding-left: 22px;
  list-style: decimal;
}
.prose li + li {
  margin-top: 8px;
}
.lead {
  font-size: var(--fs-md);
  line-height: 1.6;
  color: var(--navy-900);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 88px);
  align-items: center;
}
.split-top {
  align-items: start;
}
.split img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--r);
}
.split h2 + p,
.split h2 + ul {
  margin-top: var(--s-5);
}
.split p + p,
.split p + ul,
.split ul + p {
  margin-top: var(--s-4);
}
.split .more {
  margin-top: var(--s-5);
}

/* Situaciones (vender) */
.cases {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line-strong);
}
.case {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) 1.2fr 1fr;
  gap: clamp(24px, 4vw, 56px);
  padding: var(--s-7) 0;
  border-bottom: 1px solid var(--line-strong);
}
.case h3 {
  font-size: var(--fs-xl);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.case h4 {
  margin-bottom: var(--s-3);
  font-size: var(--fs-base);
}
.case p + p {
  margin-top: var(--s-3);
}

/* Tabla comparativa */
.table-wrap {
  overflow-x: auto;
  background: var(--white);
  border-radius: var(--r);
  box-shadow: var(--shadow);
}
.table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  font-size: var(--fs-sm);
  line-height: 1.5;
}
.table th,
.table td {
  padding: 16px 18px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}
.table thead th {
  background: var(--navy-900);
  color: var(--white);
  font-weight: 600;
  font-size: var(--fs-base);
}
.table tbody th {
  width: 17%;
  color: var(--ink);
  font-weight: 600;
}
.table td.is-us {
  background: var(--blue-50);
  color: var(--navy-900);
}
.table thead th.is-us {
  background: var(--blue-700);
}
.table tr:last-child th,
.table tr:last-child td {
  border-bottom: 0;
}

/* Dos columnas de listas */
.duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.panel {
  padding: clamp(24px, 3vw, 36px);
  background: var(--white);
  border-radius: var(--r);
  box-shadow: var(--shadow);
}
.panel h3 {
  margin-bottom: var(--s-5);
}
.panel-line {
  box-shadow: none;
  border: 1px solid var(--line-strong);
}

/* Criterios */
.criteria {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line-strong);
  border-left: 1px solid var(--line-strong);
}
.criteria > div {
  padding: 28px 28px 32px;
  border-right: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  background: var(--white);
}
.criteria dt {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--blue-700);
}
.criteria dd {
  margin: 8px 0 0;
}
.criteria dd b {
  display: block;
  margin-bottom: 8px;
  font-size: var(--fs-lg);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.criteria dd span {
  font-size: var(--fs-sm);
  line-height: 1.55;
  display: block;
}

.spec {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 24px;
  align-items: start;
  padding: 24px 0;
  border-bottom: 1px solid var(--line-strong);
}
.spec:nth-child(-n + 2) {
  border-top: 1px solid var(--line-strong);
}
.spec img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--r);
}
.spec p {
  margin-top: 8px;
}
.spec-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: clamp(32px, 5vw, 72px);
}

/* Línea de tiempo detallada (proceso) */
.timeline {
  counter-reset: fase;
}
.phase {
  position: relative;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: clamp(24px, 4vw, 64px);
  padding: 0 0 var(--s-8) 64px;
  counter-increment: fase;
}
.phase::before {
  content: counter(fase);
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--blue-700);
  color: var(--white);
  font-weight: 700;
}
.phase::after {
  content: "";
  position: absolute;
  left: 19.5px;
  top: 48px;
  bottom: 8px;
  width: 1px;
  background: var(--line-strong);
}
.phase:last-child {
  padding-bottom: 0;
}
.phase:last-child::after {
  display: none;
}
.phase h3 {
  font-size: var(--fs-xl);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.phase-body > p + p {
  margin-top: var(--s-3);
}
.phase-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: var(--s-5);
}
.phase-grid h4 {
  margin-bottom: 10px;
  font-size: var(--fs-base);
}
.phase-grid ul {
  font-size: var(--fs-sm);
}

/* Fórmula de valoración */
.equation {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: stretch;
  gap: 12px;
}
.equation div {
  padding: 22px 20px;
  background: var(--white);
  border-radius: var(--r);
  box-shadow: var(--shadow);
}
.equation div.is-result {
  background: var(--navy-900);
  color: var(--navy-200);
}
.equation div.is-result b {
  color: var(--white);
}
.equation b {
  display: block;
  font-size: var(--fs-md);
  line-height: 1.25;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.equation span {
  display: block;
  margin-top: 8px;
  font-size: var(--fs-sm);
  line-height: 1.5;
}
.equation i {
  align-self: center;
  font-style: normal;
  font-size: 1.75rem;
  font-weight: 300;
  color: var(--navy-700);
}
.note {
  padding: 20px 24px;
  background: var(--blue-50);
  border-left: 3px solid var(--blue-700);
  color: var(--navy-900);
}
.note p + p {
  margin-top: 10px;
}

/* Principios (quiénes somos) */
.principles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-7) clamp(32px, 6vw, 96px);
}
.principles p {
  margin-top: 8px;
}
.wall {
  width: min(420px, 100%);
}

/* ───────── Guía ───────── */
.guide {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}
.guide-nav {
  position: sticky;
  top: 96px;
}
.guide-nav ol {
  counter-reset: cap;
  border-left: 1px solid var(--line-strong);
}
.guide-nav ol a {
  display: flex;
  gap: 12px;
  padding: 10px 0 10px 18px;
  margin-left: -1px;
  border-left: 3px solid transparent;
  color: var(--text);
  font-size: var(--fs-sm);
  font-weight: 500;
  line-height: 1.35;
  text-decoration: none;
  counter-increment: cap;
}
.guide-nav ol a::before {
  content: counter(cap);
  flex: none;
  width: 1.2em;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.guide-nav ol a:hover {
  color: var(--blue-700);
}
.guide-nav ol a[aria-current="true"] {
  border-left-color: var(--blue-700);
  color: var(--ink);
  font-weight: 650;
}
.guide-nav ol a[aria-current="true"]::before {
  color: var(--blue-700);
}
.guide-nav .btn {
  width: 100%;
  margin-top: var(--s-5);
}
.chapter {
  max-width: 72ch;
}
.chapter + .chapter {
  margin-top: var(--s-9);
  padding-top: var(--s-8);
  border-top: 1px solid var(--line-strong);
}
.js .guide.is-paged .chapter + .chapter {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}
.chapter > * + * {
  margin-top: var(--s-4);
}
.chapter h2 {
  font-size: var(--fs-2xl);
}
.chapter h3 {
  margin-top: var(--s-6);
}
.chapter ul:not(.checks):not(.crosses):not(.doclist) {
  padding-left: 22px;
  list-style: disc;
}
.chapter li + li {
  margin-top: 8px;
}
.chapter-n {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--blue-700);
  font-variant-numeric: tabular-nums;
}
.chapter-next {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: var(--s-7);
  padding-top: var(--s-5);
  border-top: 1px solid var(--line-strong);
}
.doc-progress {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: var(--s-5);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--navy-900);
  font-variant-numeric: tabular-nums;
}
.doc-progress div {
  flex: 1;
  height: 6px;
  background: var(--line);
  border-radius: 3px;
  overflow: hidden;
}
.doc-progress i {
  display: block;
  width: 0;
  height: 100%;
  background: var(--blue-700);
  transition: width 0.25s;
}
.doclist {
  border-top: 1px solid var(--line);
}
.doclist li {
  margin: 0 !important;
  border-bottom: 1px solid var(--line);
}
.doclist label {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 13px 4px;
  cursor: pointer;
}
.doclist input {
  flex: none;
  width: 20px;
  height: 20px;
  margin: 2px 0 0;
  accent-color: var(--blue-700);
}
.doclist small {
  display: block;
  font-size: var(--fs-sm);
  color: var(--muted);
}
.doclist input:checked + span > b {
  color: var(--muted);
  text-decoration: line-through;
  text-decoration-thickness: 1px;
}
.doclist b {
  font-weight: 600;
  color: var(--ink);
}

/* ───────── Formularios ───────── */
.contact {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.form-card {
  padding: clamp(24px, 3.5vw, 44px);
  background: var(--white);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
}
.form-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: var(--s-6);
  counter-reset: fs;
}
.form-steps li {
  padding-top: 12px;
  border-top: 3px solid var(--line);
  font-size: var(--fs-sm);
  font-weight: 550;
  color: var(--muted);
  counter-increment: fs;
}
.form-steps li::before {
  content: counter(fs) ". ";
  font-variant-numeric: tabular-nums;
}
.form-steps li[aria-current="step"] {
  border-top-color: var(--blue-700);
  color: var(--ink);
}
.form-steps li.is-done {
  border-top-color: var(--blue-700);
  color: var(--navy-900);
}
fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
.form-step > legend:focus {
  outline: none;
}
.form-step > legend,
.form-title {
  padding: 0;
  margin-bottom: var(--s-5);
  font-size: var(--fs-xl);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.field {
  margin-bottom: var(--s-5);
}
.field > label,
.field > legend,
.field > .label {
  display: block;
  margin-bottom: 8px;
  padding: 0;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--navy-900);
}
.field .opt {
  font-weight: 400;
  color: var(--muted);
}
.field .hint {
  margin-top: 6px;
  font-size: var(--fs-xs);
  color: var(--muted);
}
.input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 14px;
  background: var(--white);
  border: 1px solid var(--line-strong);
  border-radius: var(--r);
  color: var(--ink);
}
.field select {
  appearance: none;
  padding-right: 40px;
  background: var(--white)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%230d1c30' stroke-width='1.6'/%3E%3C/svg%3E")
    right 14px center / 12px no-repeat;
}
.field textarea {
  min-height: 120px;
  resize: vertical;
}
.input:hover,
.field select:hover,
.field textarea:hover {
  border-color: var(--navy-700);
}
.input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid var(--blue-500);
  outline-offset: 0;
  border-color: var(--blue-500);
}
.field.has-error .input,
.field.has-error select {
  border-color: var(--error);
}
.field-error {
  margin-top: 6px;
  font-size: var(--fs-xs);
  font-weight: 550;
  color: var(--error);
}
.row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 16px;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chips label {
  position: relative;
  cursor: pointer;
}
.chips input {
  position: absolute;
  opacity: 0;
  inset: 0;
  cursor: pointer;
}
.chips span {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r);
  background: var(--white);
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--navy-900);
  font-variant-numeric: tabular-nums;
  transition: background-color 0.12s, border-color 0.12s;
}
.chips label:hover span {
  border-color: var(--navy-700);
}
.chips input:checked + span {
  background: var(--blue-50);
  border-color: var(--blue-700);
  box-shadow: inset 0 0 0 1px var(--blue-700);
  color: var(--blue-900);
  font-weight: 600;
}
.chips input:focus-visible + span {
  outline: 2px solid var(--blue-500);
  outline-offset: 2px;
}
.field > .consent-check {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 0;
  font-size: var(--fs-sm);
  font-weight: 400;
  line-height: 1.5;
  color: var(--text);
  cursor: pointer;
}
.consent-check input {
  flex: none;
  width: 20px;
  height: 20px;
  margin: 1px 0 0;
  accent-color: var(--blue-700);
}
.form-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: var(--s-6);
}
.form-nav .btn-primary {
  margin-left: auto;
}
.btn-back {
  background: none;
  border: 0;
  padding: 12px 0;
  font-weight: 550;
  color: var(--muted);
  cursor: pointer;
}
.btn-back:hover {
  color: var(--ink);
}
.form-alert {
  margin-top: var(--s-5);
  padding: 14px 16px;
  background: #fdeeee;
  border-left: 3px solid var(--error);
  color: #7a0000;
  font-size: var(--fs-sm);
}
.form-foot {
  margin-top: var(--s-4);
  font-size: var(--fs-xs);
  color: var(--muted);
}
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.aside h2 {
  font-size: var(--fs-xl);
}
.aside-steps {
  margin-top: var(--s-5);
  counter-reset: as;
}
.aside-steps li {
  position: relative;
  padding: 0 0 24px 44px;
  counter-increment: as;
}
.aside-steps li::before {
  content: counter(as);
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--blue-700);
  color: var(--white);
  font-size: var(--fs-sm);
  font-weight: 700;
}
.aside-steps b {
  display: block;
  color: var(--ink);
}
.aside-steps span {
  font-size: var(--fs-sm);
}
.aside-box {
  margin-top: var(--s-4);
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line-strong);
  border-radius: var(--r);
}
.aside-box h3 {
  font-size: var(--fs-md);
  margin-bottom: 12px;
}
.aside-box .checks {
  font-size: var(--fs-sm);
}

/* ───────── Páginas de campaña ───────── */
.lp-header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.lp-header .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 68px;
}
.lp-header span.lp-note {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: var(--fs-sm);
  font-weight: 550;
  color: var(--navy-900);
}
.lp-hero {
  position: relative;
  isolation: isolate;
  background: var(--navy-950);
  color: var(--navy-200);
}
.lp-hero .hero-bg {
  opacity: 0.55;
}
.lp-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(4, 12, 23, 0.92) 0%, rgba(4, 12, 23, 0.7) 55%, rgba(4, 12, 23, 0.55) 100%);
}
.lp-hero-in {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(340px, 460px);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  padding: clamp(40px, 6vw, 80px) 0;
}
.lp-hero h1 {
  color: var(--white);
  font-size: clamp(2rem, 1.2rem + 2.8vw, 3rem);
}
.lp-hero .lede {
  margin-top: var(--s-5);
  font-size: var(--fs-md);
  color: #dbe3ee;
}
.lp-hero .checks {
  margin-top: var(--s-6);
  color: var(--white);
  font-weight: 500;
}
.lp-hero .checks li::before {
  filter: brightness(0) invert(1);
}
.lp-hero .form-card {
  color: var(--text);
  padding: clamp(22px, 2.5vw, 32px);
}
.lp-hero .form-title {
  margin-bottom: 6px;
  font-size: var(--fs-lg);
}
.lp-hero .form-sub {
  margin-bottom: var(--s-5);
  font-size: var(--fs-sm);
}
.lp-hero .field {
  margin-bottom: var(--s-4);
}
.lp-hero .btn-primary {
  width: 100%;
  margin-top: 4px;
}
.lp-hero-solo {
  padding: clamp(40px, 6vw, 80px) 0;
}
.lp-hero-solo h1,
.lp-hero-solo .lede {
  max-width: 24em;
}
.lp-hero .calc-grid .field {
  margin-bottom: 0;
}
.lp-hero .calc-grid > .btn {
  margin-top: 29px;
}
.lp-footer {
  background: var(--navy-950);
  color: var(--navy-300);
  font-size: var(--fs-xs);
}
.lp-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  padding: 24px 0;
}
.lp-footer a {
  color: var(--navy-200);
}
.trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 4vw, 56px);
}
.trio p {
  margin-top: 8px;
}

/* Legal y páginas simples */
.legal {
  max-width: 76ch;
}
.legal h2 {
  margin-top: var(--s-7);
  font-size: var(--fs-xl);
}
.legal > * + * {
  margin-top: var(--s-4);
}
.legal ul {
  padding-left: 22px;
  list-style: disc;
}
.legal li + li {
  margin-top: 6px;
}
.legal table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--fs-sm);
}
.legal th,
.legal td {
  padding: 10px 12px;
  border: 1px solid var(--line-strong);
  text-align: left;
  vertical-align: top;
}
.simple {
  max-width: 720px;
  padding: clamp(56px, 9vw, 120px) 0;
}
.simple h1 + p {
  margin-top: var(--s-5);
  font-size: var(--fs-md);
}
.simple .aside-steps {
  margin-top: var(--s-7);
}
.simple .btn {
  margin-top: var(--s-5);
}

/* Aviso de cookies (solo aparece si hay medición configurada) */
.consent {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 90;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
  max-width: 880px;
  margin-inline: auto;
  padding: 20px 24px;
  background: var(--white);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  font-size: var(--fs-sm);
}
.consent p {
  flex: 1 1 320px;
}
.consent div {
  display: flex;
  gap: 10px;
}

/* ───────── Adaptación ───────── */
@media (max-width: 1180px) {
  .nav-links,
  .nav-actions {
    display: none;
  }
  .nav-toggle {
    display: inline-flex;
  }
  .calc-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .calc-ebitda {
    grid-column: 1 / -1;
  }
  .calc-grid > .btn {
    grid-column: 1 / -1;
    margin-top: 0;
  }
  .glass {
    grid-template-columns: repeat(3, 1fr);
  }
  .glass li:nth-child(4) {
    border-left: 0;
  }
  .glass li:nth-child(n + 4) {
    border-top: 1px solid rgba(4, 12, 23, 0.1);
  }
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .cards-3 {
    grid-template-columns: repeat(3, 1fr);
  }
  .steps {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .steps li {
    padding: 0 0 28px 60px;
  }
  .steps li::before {
    position: absolute;
    left: 0;
    top: 0;
  }
  .steps li::after {
    top: 46px;
    left: 19.5px;
    right: auto;
    bottom: 6px;
    width: 1px;
    height: auto;
  }
  .footer-in {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer-about {
    grid-column: 1 / -1;
  }
  .case {
    grid-template-columns: 1fr 1fr;
  }
  .case h3 {
    grid-column: 1 / -1;
  }
  .equation {
    grid-template-columns: 1fr auto 1fr;
  }
  .equation i:nth-of-type(2) {
    display: none;
  }
  .spec-list {
    grid-template-columns: 1fr;
  }
  .spec-list .spec:nth-child(2) {
    border-top: 0;
  }
}
@media (max-width: 900px) {
  .pledges ul {
    grid-template-columns: 1fr 1fr;
  }
  .pledges li:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }
  .pledges li:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }
  .promo {
    grid-template-columns: 1fr 1fr;
  }
  .promo-col {
    gap: var(--s-6);
  }
  .cover-stack {
    grid-column: 1 / -1;
    grid-row: 1;
    width: min(360px, 100%);
    margin-inline: auto;
  }
  .cards-3 {
    grid-template-columns: 1fr;
  }
  .finder-panel,
  .split,
  .contact,
  .lp-hero-in,
  .calc-out,
  .guide {
    grid-template-columns: 1fr;
  }
  .finder-panel img {
    order: -1;
    aspect-ratio: 16 / 8;
  }
  .guide-nav {
    position: static;
  }
  .phase {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .criteria {
    grid-template-columns: 1fr 1fr;
  }
  .page-hero-img {
    width: 100%;
    opacity: 0.35;
  }
  .page-hero::after {
    background: linear-gradient(90deg, rgba(4, 12, 23, 0.9), rgba(4, 12, 23, 0.6));
  }
  .principles,
  .trio,
  .duo {
    grid-template-columns: 1fr;
  }
  .cta-card {
    flex-direction: column;
    align-items: flex-start;
  }
}
@media (max-width: 680px) {
  html {
    scroll-padding-top: 80px;
  }
  .utilnav {
    display: none;
  }
  .topbar p {
    padding: 8px 4px;
    font-size: var(--fs-xs);
  }
  .nav .logo .wordmark,
  .lp-header .logo .wordmark {
    font-size: 25px;
  }
  .nav .logo-sub,
  .lp-header .logo-sub {
    font-size: 0.4375rem;
  }
  .hero-bg {
    object-position: 62% 30%;
  }
  .hero::after {
    background: linear-gradient(180deg, rgba(4, 12, 23, 0.82) 0%, rgba(4, 12, 23, 0.7) 60%, rgba(4, 12, 23, 0.86) 100%);
  }
  .hero-actions .btn {
    width: 100%;
  }
  .calc {
    padding: 18px 16px 20px;
  }
  .calc-grid,
  .calc-out {
    grid-template-columns: 1fr;
  }
  .calc .btn-primary {
    width: 100%;
  }
  .glass {
    grid-template-columns: 1fr;
    padding: 4px 8px;
  }
  .glass li {
    padding: 14px 10px;
  }
  .glass li + li {
    border-left: 0;
    border-top: 1px solid rgba(4, 12, 23, 0.1);
  }
  .glass p {
    margin-top: 6px;
  }
  .pledges ul {
    grid-template-columns: 1fr;
  }
  .pledges li,
  .pledges li + li {
    padding: 14px 0;
    border-left: 0;
  }
  .pledges li + li {
    border-top: 1px solid var(--line);
  }
  .cards {
    grid-template-columns: 1fr;
  }
  .finder-tabs {
    grid-template-columns: 1fr 1fr;
  }
  .finder-tabs button:nth-child(3) {
    border-left: 0;
  }
  .finder-tabs button:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }
  .promo {
    grid-template-columns: 1fr;
  }
  .footer-in {
    grid-template-columns: 1fr 1fr;
    gap: var(--s-6);
  }
  .case {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: var(--s-6) 0;
  }
  .phase {
    padding-left: 56px;
  }
  .phase-grid,
  .row-2,
  .criteria {
    grid-template-columns: 1fr;
  }
  .equation {
    grid-template-columns: 1fr;
  }
  .equation i {
    justify-self: center;
    line-height: 1;
  }
  .equation i:nth-of-type(2) {
    display: block;
  }
  .spec {
    grid-template-columns: 112px 1fr;
    gap: 16px;
  }
  .form-steps li {
    font-size: var(--fs-xs);
  }
  .form-nav {
    flex-direction: column-reverse;
    align-items: stretch;
  }
  .form-nav .btn-primary {
    margin-left: 0;
  }
  .lp-header span.lp-note {
    font-size: var(--fs-xs);
  }
  .chapter-next {
    flex-direction: column;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
@media print {
  .topbar,
  .utilnav,
  .nav,
  .cta,
  .footer,
  .guide-nav,
  .consent {
    display: none !important;
  }
  .chapter[hidden] {
    display: block !important;
  }
}
