/* Tokens copiados de :root del brandbook v3. No inventar hex nuevos. */
:root {
  --naranja: #F55F20;
  --naranja-claro: #FF8C42;
  --naranja-pale: #FFF7F0;
  --azul: #1A3C6E;
  --azul-link: #2563EB;
  --azul-pale: #EFF6FF;
  --hueso: #F8F6F2;
  --hueso-borde: #E2DED8;
  --verde: #059669;
  --verde-pale: #ECFDF5;
  --rojo: #E11D48;
  --rojo-pale: #FEF2F2;
  --texto-1: #111827;
  --texto-2: #374151;
  --texto-3: #6B7280;
  --texto-4: #9CA3AF;
  --blanco: #FFFFFF;
  --naranja-borde: #FED7B0;
  --naranja-texto: #9A3A08;
  --azul-borde: #BFDBFE;
  --azul-texto: #1E40AF;
  --verde-borde: #A7F3D0;
  --verde-texto: #065F46;
  --rojo-borde: #FECACA;
  --rojo-texto: #9F1239;
  --azul-hover: #234A82;
  --hueso-hover: #EFEBE4;
  --gris-inactivo: #E5E7EB;
  --r-xs: 4px;
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 24px;
  --sombra-sm: 0 1px 3px rgba(0, 0, 0, .08), 0 1px 2px rgba(0, 0, 0, .06);
  --sombra-md: 0 4px 12px rgba(0, 0, 0, .08), 0 2px 4px rgba(0, 0, 0, .04);
  --sombra-lg: 0 12px 32px rgba(0, 0, 0, .10), 0 4px 8px rgba(0, 0, 0, .05);
  --esp-1: 4px;
  --esp-2: 8px;
  --esp-3: 16px;
  --esp-4: 24px;
  --esp-5: 40px;
  --esp-6: 80px;
  --font: "Plus Jakarta Sans", system-ui, sans-serif;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  font-family: var(--font);
  background: var(--blanco);
  color: var(--texto-1);
  line-height: 1.6;
  min-height: 100dvh;
}
img { max-width: 100%; display: block; }
a { color: var(--azul-link); text-decoration-thickness: 1px; text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; }
:where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 2px solid var(--azul-texto);
  outline-offset: 2px;
  border-radius: var(--r-xs);
}

.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 {
  position: absolute;
  left: var(--esp-3);
  top: -48px;
  z-index: 80;
  background: var(--blanco);
  color: var(--azul);
  font-weight: 700;
  font-size: 14px;
  padding: 10px 14px;
  border-radius: var(--r-sm);
  min-height: 44px;
}
.skip:focus { top: var(--esp-2); }

.wrap {
  width: min(1120px, calc(100% - 32px));
  margin-inline: auto;
}

/* Header */
.wh {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--azul);
  height: var(--header-h);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  column-gap: var(--esp-4);
  padding: 0 var(--esp-4);
  transition: background .2s ease-in-out, box-shadow .2s ease-in-out, color .2s ease-in-out;
}
.wh.is-scrolled { box-shadow: var(--sombra-md); }
.wh.wh-hero { background: transparent; box-shadow: none; }
.wh-logo { display: flex; align-items: center; gap: 8px; grid-column: 1; justify-self: start; flex-shrink: 0; text-decoration: none; min-height: 44px; }
.wh-cluster { display: contents; }
.wh-logo svg { width: 26px; height: 26px; display: block; }
.wh-logo .logo-claro, .wh-logo .logo-haz { display: none; }
.wh-hero .logo-azul { display: none; }
.wh-hero .logo-haz { display: block; }
.wh-word { font-size: 14px; font-weight: 800; color: var(--blanco); letter-spacing: -.01em; white-space: nowrap; }
.wh-word span { color: var(--naranja-claro); }
.wh-hero .wh-word { color: var(--blanco); }
.wh-hero .wh-word span { color: var(--naranja-claro); }
.wh-nav {
  grid-column: 2;
  justify-self: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  min-width: 0;
}
.wh-nav > a,
button.wh-drop-btn {
  appearance: none;
  -webkit-appearance: none;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  color: rgba(255, 255, 255, .78);
  text-decoration: none;
  background: transparent;
  background-color: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  box-shadow: none;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 2px;
  white-space: nowrap;
  cursor: pointer;
  transition: color .2s ease-in-out, border-color .2s ease-in-out;
}
.wh-nav > a:hover,
.wh-drop-btn:hover,
.wh-drop-btn[aria-expanded="true"] { color: var(--blanco); }
.wh-nav > a[aria-current="page"] { color: var(--blanco); border-bottom-color: var(--naranja); }
.wh-hero .wh-nav > a,
.wh-hero .wh-drop-btn { color: rgba(255, 255, 255, .82); }
.wh-hero .wh-nav > a:hover,
.wh-hero .wh-nav > a[aria-current="page"],
.wh-hero .wh-drop-btn:hover,
.wh-hero .wh-drop-btn[aria-expanded="true"] { color: var(--blanco); }
.wh-chev { display: block; transition: transform .2s ease-in-out; }
.wh-drop-btn[aria-expanded="true"] .wh-chev { transform: rotate(180deg); }
.wh-drop { position: relative; z-index: 3; }
.wh-panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  min-width: 232px;
  max-height: min(70vh, 520px);
  overflow: auto;
  padding: 8px;
  background: var(--blanco);
  border: 1px solid var(--hueso-borde);
  border-radius: var(--r-md);
  box-shadow: var(--sombra-lg);
}
.wh-panel[hidden],
.wh-resto[hidden],
.wh-mas[hidden] { display: none; }
.wh-resto { display: flex; flex-direction: column; }
.wh-nav .wh-panel a,
.wh-hero .wh-nav .wh-panel a,
.wh.is-open .wh-nav .wh-panel a {
  display: flex;
  align-items: center;
  color: var(--texto-1);
  text-decoration: none;
  border-bottom: 0;
  border-radius: var(--r-sm);
  min-height: 40px;
  padding: 8px 12px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}
.wh-nav .wh-panel a:hover,
.wh-hero .wh-nav .wh-panel a:hover,
.wh.is-open .wh-nav .wh-panel a:hover {
  color: var(--azul);
  background: var(--azul-pale);
}
button.wh-mas {
  appearance: none;
  -webkit-appearance: none;
  display: flex;
  align-items: center;
  width: 100%;
  margin-top: 4px;
  padding: 10px 12px;
  min-height: 44px;
  border: 0;
  border-top: 1px solid var(--hueso-borde);
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  background-color: transparent;
  color: var(--azul);
  font-family: var(--font);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  text-align: left;
  cursor: pointer;
}
.wh-mas:hover { background: var(--azul-pale); color: var(--azul); }
.wh-acciones {
  grid-column: 3;
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
a.wh-pro,
a.wh-cta {
  font-size: 14px;
  font-weight: 600;
  font-family: var(--font);
  text-decoration: none;
  border-radius: var(--r-sm);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  white-space: nowrap;
  cursor: pointer;
  transition: background .18s ease-in-out, color .18s ease-in-out, border-color .18s ease-in-out, transform .18s ease-in-out, box-shadow .18s ease-in-out;
}
a.wh-pro {
  background: transparent;
  color: var(--blanco);
  border: 2px solid rgba(255, 255, 255, .72);
  padding: 8px 16px;
}
a.wh-pro:hover,
a.wh-pro[aria-current="page"] {
  background: var(--blanco);
  border-color: var(--blanco);
  color: var(--azul);
}
.wh-cta {
  background: var(--naranja);
  color: var(--blanco);
  border: 2px solid transparent;
  padding: 8px 16px;
  box-shadow: 0 4px 12px rgba(245, 95, 32, .22);
  text-shadow: 0 1px 2px rgba(151, 58, 8, .4);
}
a.wh-cta:hover {
  background: var(--naranja-claro);
  color: var(--blanco);
  box-shadow: 0 8px 18px rgba(245, 95, 32, .28);
}
a.wh-cta:active,
a.wh-pro:active { transform: none; }
.wh-cta:active { box-shadow: 0 2px 6px rgba(245, 95, 32, .22); }
.wh-hero .wh-cta { box-shadow: 0 4px 14px rgba(245, 95, 32, .38); }
.wh :where(a, button):focus-visible { outline-color: var(--blanco); }
.wh-hero :where(a, button):focus-visible { outline-color: var(--blanco); }
.wh .wh-cta:focus-visible { outline-color: var(--naranja-texto); }
.wh .wh-panel :where(a, button):focus-visible { outline-color: var(--azul-texto); }
.wh-burger {
  display: none;
  background: none;
  border: none;
  padding: 10px;
  min-width: 44px;
  min-height: 44px;
  cursor: pointer;
}
.wh-burger span:not(.sr-only) {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--blanco);
  border-radius: 2px;
}
.wh-hero .wh-burger span:not(.sr-only) { background: var(--blanco); }
.wh-burger span:not(.sr-only) + span:not(.sr-only) { margin-top: 4px; }

/* Hero (alto compartido con .cf-hero de como-funciona) */
.hero, .cf-hero {
  min-height: 100dvh;
  display: flex;
  align-items: center;
}
.hero {
  position: relative;
  overflow: hidden;
  margin-top: calc(var(--header-h) * -1);
  padding: calc(var(--header-h) + 24px) 0 64px;
  background: #0B1229;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -25% -10%;
  background: linear-gradient(112deg, transparent 34%, rgba(245, 95, 32, .34) 45%, rgba(255, 140, 66, .16) 52%, transparent 63%);
  filter: blur(3px);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(112deg, transparent 56%, rgba(245, 95, 32, .12) 62%, transparent 70%);
  pointer-events: none;
}
#heroFin, #scrollSentinel { position: absolute; left: 0; right: 0; height: 1px; pointer-events: none; }
#heroFin { top: 0; }
#scrollSentinel { top: 0; }
.hero-inner {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 32px));
  margin-inline: auto;
  text-align: center;
}
.hero h1 {
  font-size: clamp(25px, 5.5vw, 80px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -.03em;
  color: var(--blanco);
}
.hero-lead {
  margin: 20px auto 0;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.5;
  color: rgba(255, 255, 255, .82);
  max-width: 34em;
}
.busca {
  position: relative;
  margin: 36px auto 0;
  display: flex;
  align-items: center;
  gap: 8px;
  width: min(560px, 100%);
  min-height: 56px;
  padding: 6px 6px 6px 16px;
  background: var(--blanco);
  border: 1.5px solid var(--hueso-borde);
  border-radius: 999px;
  box-shadow: var(--sombra-sm);
  text-align: left;
}
.busca:focus-within { border-color: var(--naranja-texto); }
.busca-ico { width: 20px; height: 20px; flex-shrink: 0; stroke: var(--texto-3); fill: none; stroke-width: 1.8; }
.busca-input {
  width: 100%;
  height: 100%;
  min-width: 0;
  border: 0;
  background: transparent;
  font-size: 17px;
  color: var(--texto-1);
  outline: none;
}
.busca-field { position: relative; flex: 1; min-width: 0; height: 44px; }
.busca-ph {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  color: var(--texto-4);
  font-size: 17px;
  pointer-events: none;
  white-space: nowrap;
  overflow: hidden;
  max-width: 100%;
}
.busca-ph span { display: inline-block; }
.ph-enter { animation: phIn .4s ease-in-out both; }
.ph-exit { animation: phOut .4s ease-in-out both; }
@keyframes phIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes phOut { from { opacity: 1; transform: translateY(0); } to { opacity: 0; transform: translateY(-10px); } }
.busca-btn {
  background: var(--naranja);
  color: var(--blanco);
  border: 0;
  border-radius: 999px;
  min-height: 44px;
  padding: 0 18px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(245, 95, 32, .22);
}
.busca-btn:hover { background: var(--naranja-claro); }
.busca-btn:focus-visible { outline-color: var(--naranja-texto); }

/* Secciones */
.banda { padding: var(--esp-6) 0; }
.banda h2 {
  font-size: clamp(26px, 3vw, 32px);
  font-weight: 700;
  color: var(--azul);
  line-height: 1.2;
  letter-spacing: -.02em;
  max-width: 22ch;
}
.banda-hueso { background: var(--hueso); }
.prosa {
  font-size: 17px;
  color: var(--texto-2);
  max-width: 62ch;
  margin-top: 10px;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--esp-5);
  align-items: stretch;
}
.split article {
  background: var(--blanco);
  border-radius: var(--r-lg);
  padding: var(--esp-5);
  border: 1px solid var(--hueso-borde);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.split h2 { max-width: none; }
.split p { font-size: 17px; color: var(--texto-2); }
.split .btn-secondary { margin-top: auto; align-self: flex-start; }

.btn-secondary {
  background: var(--azul);
  color: var(--blanco);
  text-decoration: none;
  border: 0;
  border-radius: var(--r-sm);
  min-height: 44px;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(26, 60, 110, .18);
  transition: background .2s ease-in-out, transform .2s ease-in-out;
}
.btn-secondary:hover { background: var(--azul-hover); color: var(--blanco); }
.btn-secondary:focus-visible { outline-color: var(--azul-texto); }

/* Secuencia */
.seq {
  margin-top: var(--esp-5);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  position: relative;
}
.seq::before {
  content: "";
  position: absolute;
  top: 92px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: var(--azul);
}
.seq-s { position: relative; text-align: center; padding: 0 12px; }
.seq-mark {
  height: 76px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  margin-bottom: 8px;
}
.seq-mark img {
  height: 76px;
  width: auto;
  filter: drop-shadow(0 4px 7px rgba(17, 24, 39, .16));
}
.seq-d {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  margin: 0 auto 12px;
  position: relative;
  z-index: 1;
  background: var(--blanco);
  border: 2px solid var(--azul);
}
.seq-n { font-size: 14px; font-weight: 700; color: var(--azul); }
.seq-p { font-size: 13px; color: var(--texto-2); line-height: 1.5; margin-top: 4px; }

/* Oficios: tres por fila. Texto a la izquierda, icono 3D a la derecha.
   El fondo sigue el degradado de marca, más cargado hacia la ilustración. */
.oficios {
  margin-top: var(--esp-5);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.oficios a {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  min-height: 248px;
  padding: 20px 20px 16px;
  border-radius: var(--r-xl);
  text-decoration: none;
  color: var(--azul);
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 24px color-mix(in srgb, var(--azul) 8%, transparent);
  transition: transform .24s ease-in-out, box-shadow .24s ease-in-out;
}
.oficio-n {
  background:
    radial-gradient(95% 130% at 92% 80%,
      color-mix(in srgb, var(--naranja-claro) 36%, var(--blanco)) 0%,
      transparent 60%),
    linear-gradient(115deg, var(--blanco) 0%, var(--naranja-pale) 42%, var(--naranja-borde) 100%);
}
.oficio-a {
  background:
    radial-gradient(95% 130% at 92% 80%,
      color-mix(in srgb, var(--azul-link) 22%, var(--blanco)) 0%,
      transparent 62%),
    linear-gradient(115deg, var(--blanco) 0%, var(--azul-pale) 46%, var(--azul-borde) 100%);
}
.oficios a:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 34px color-mix(in srgb, var(--azul) 14%, transparent);
}
.oficios a:active { transform: translateY(0); }
.oficios strong {
  position: relative;
  z-index: 1;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.02em;
  max-width: 48%;
}
.oficios p {
  position: relative;
  z-index: 1;
  margin: 0;
  max-width: 48%;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.45;
  color: var(--texto-2);
}
.oficio-ir {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  margin-top: auto;
  font-size: 14px;
  font-weight: 600;
  color: var(--naranja-texto);
}
.oficio-ir svg { display: block; }
.oficios img {
  position: absolute;
  top: 16px;
  right: 12px;
  width: 46%;
  height: calc(100% - 32px);
  object-fit: contain;
  object-position: right center;
  pointer-events: none;
  z-index: 0;
  filter: drop-shadow(0 12px 14px color-mix(in srgb, var(--azul) 14%, transparent));
  transition: transform .24s ease-in-out;
}
.oficios a:hover img { transform: translateY(-8px); }

/* Franja y cierre */
.franja {
  background: var(--azul);
  color: var(--blanco);
  padding: var(--esp-6) 0;
}
.franja h2 {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.02em;
  max-width: 16ch;
}
.franja p {
  margin-top: var(--esp-3);
  font-size: 17px;
  color: rgba(255, 255, 255, .82);
  max-width: 42ch;
}
.cierre { padding: var(--esp-6) 0; background: var(--hueso); }
.cierre-panel {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-xl);
  background: var(--azul);
  color: var(--blanco);
  padding: 64px 40px;
}
.cierre-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 70% at 50% 0%, rgba(245, 95, 32, .28), rgba(245, 95, 32, 0) 70%);
  animation: spotlight 6s ease-in-out infinite;
}
@keyframes spotlight {
  0%, 100% { opacity: .7; transform: translateX(0); }
  50% { opacity: 1; transform: translateX(4%); }
}
.cierre-panel > * { position: relative; }
.cierre-panel h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -.02em;
}
.cierre-panel p {
  margin-top: 12px;
  font-size: 17px;
  color: rgba(255, 255, 255, .82);
  max-width: 46ch;
}
.cierre-links { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-top: var(--esp-4); }
.cierre-links a {
  color: var(--naranja-claro);
  font-weight: 700;
  font-size: 14px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

/* Páginas interiores */
.pagina {
  padding: 48px 0 var(--esp-6);
}
.pagina h1 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  color: var(--azul);
  letter-spacing: -.02em;
  line-height: 1.12;
  max-width: 18ch;
}
.nota {
  margin-top: var(--esp-3);
  font-size: 13px;
  color: var(--texto-3);
  max-width: 62ch;
}
.pasos {
  margin-top: var(--esp-5);
  display: grid;
  gap: var(--esp-4);
}
.paso {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: var(--esp-4);
  align-items: center;
  padding-bottom: var(--esp-4);
  border-bottom: 1px solid var(--hueso-borde);
}
.paso img { width: 80px; height: 80px; object-fit: contain; }
.paso h2 { font-size: 22px; font-weight: 700; color: var(--azul); }
.paso p { font-size: 17px; color: var(--texto-2); margin-top: 4px; max-width: 62ch; }
.consulta {
  margin-top: var(--esp-4);
  background: var(--azul-pale);
  border: 1px solid var(--azul-borde);
  color: var(--azul-texto);
  border-radius: var(--r-md);
  padding: 14px 16px;
  font-size: 17px;
}
.dos {
  margin-top: var(--esp-5);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--esp-4);
}
.dos article {
  background: var(--hueso);
  border-radius: var(--r-lg);
  padding: var(--esp-4);
}
.dos h2 { font-size: 22px; font-weight: 700; color: var(--azul); }
.dos ul { margin-top: 12px; display: grid; gap: 8px; list-style: none; }
.dos li { font-size: 17px; color: var(--texto-2); padding-left: 16px; position: relative; }
.dos li::before {
  content: "";
  width: 8px; height: 2px;
  background: var(--azul);
  position: absolute;
  left: 0; top: .7em;
}

/* Formulario */
.formulario {
  margin-top: var(--esp-5);
  max-width: 520px;
  display: grid;
  gap: 0;
}
.campo { display: grid; gap: 6px; margin-bottom: var(--esp-3); }
.campo-label { font-size: 13px; font-weight: 600; color: var(--texto-2); }
.campo-label .req { color: var(--rojo-texto); }
.campo-input {
  font-size: 17px;
  font-weight: 400;
  color: var(--texto-1);
  background: var(--blanco);
  border: 1.5px solid var(--hueso-borde);
  border-radius: var(--r-sm);
  padding: 12px 14px;
  min-height: 44px;
  width: 100%;
  transition: border-color .2s ease-in-out;
}
.campo-input::placeholder { color: var(--texto-4); }
.campo-input:hover:not(:disabled) { border-color: var(--texto-4); }
.campo-input:focus { border-color: var(--azul-link); outline: none; }
.campo-input:focus-visible { outline: 2px solid var(--azul-texto); outline-offset: 2px; }
.campo-ayuda, .campo-msg { font-size: 13px; line-height: 1.5; }
.campo-ayuda { color: var(--texto-3); }
.campo-msg { display: none; align-items: flex-start; gap: 6px; font-weight: 500; }
.campo-msg svg { flex-shrink: 0; margin-top: 2px; }
.campo.is-error .campo-input { border-color: var(--rojo); background: var(--rojo-pale); }
.campo.is-error .campo-msg { display: flex; color: var(--rojo-texto); }
.campo.is-error .campo-ayuda { display: none; }
.campo.is-error .campo-input:focus-visible { outline-color: var(--rojo-texto); }
.campo.is-ok .campo-input { border-color: var(--verde); }
.campo.is-ok .campo-msg { display: flex; color: var(--verde-texto); }
.campo.is-ok .campo-ayuda { display: none; }
.campo-msg .ico-err, .campo-msg .ico-ok { display: none; }
.campo.is-error .ico-err, .campo.is-ok .ico-ok { display: block; }
select.campo-input {
  cursor: pointer;
  appearance: none;
  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='%236B7280' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
}

/* Formulario por pasos */
.pasos-form {
  margin: var(--esp-5) auto 0;
  max-width: 520px;
}
.pasos-form [hidden] { display: none !important; }
.pasos-progreso { margin-top: 0; }
.pasos-puntos {
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 8px;
}
.pasos-puntos li { flex: 1; min-width: 0; }
.pasos-punto {
  appearance: none;
  background: none;
  border: 0;
  padding: 0;
  width: 100%;
  min-width: 0;
  min-height: 44px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  color: var(--texto-3);
  cursor: pointer;
}
.pasos-punto:disabled { cursor: default; }
.pasos-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--gris-inactivo);
  transition: background .2s ease-in-out, box-shadow .2s ease-in-out;
}
.pasos-punto.is-hecho .pasos-dot,
.pasos-punto.is-actual .pasos-dot { background: var(--azul); }
.pasos-punto.is-actual .pasos-dot { box-shadow: 0 0 0 4px rgba(26, 60, 110, .18); }
.pasos-punto.is-actual { color: var(--azul); font-weight: 600; }
.pasos-punto-txt { font-size: 12px; line-height: 1.3; text-align: center; }
.pasos-barra {
  height: 6px;
  margin-top: 2px;
  background: var(--gris-inactivo);
  border-radius: 999px;
  overflow: hidden;
}
.pasos-barra-fill {
  display: block;
  height: 100%;
  width: 0;
  background: var(--azul);
  border-radius: inherit;
  transition: width .3s ease-in-out;
}
.pasos-card {
  margin-top: var(--esp-4);
  background: var(--blanco);
  border: 1px solid var(--hueso-borde);
  border-radius: var(--r-xl);
  box-shadow: var(--sombra-md);
  overflow: hidden;
}
.pasos-vista,
.pasos-listo { padding: var(--esp-4) var(--esp-4) 0; }
.pasos-vista h3,
.pasos-listo h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--azul);
  letter-spacing: -.02em;
}
.pasos-lead {
  margin-top: 6px;
  margin-bottom: var(--esp-4);
  font-size: 15px;
  color: var(--texto-3);
  max-width: 42ch;
}
.pasos-vista.is-entra { animation: pasos-entra .3s ease; }
.pasos-vista.is-vuelve { animation: pasos-vuelve .3s ease; }
@keyframes pasos-entra {
  from { opacity: 0; transform: translateX(28px); }
  to { opacity: 1; transform: none; }
}
@keyframes pasos-vuelve {
  from { opacity: 0; transform: translateX(-28px); }
  to { opacity: 1; transform: none; }
}
.pasos-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: var(--esp-4);
}
.pasos-atras {
  appearance: none;
  background: var(--blanco);
  color: var(--azul);
  border: 1.5px solid var(--hueso-borde);
  border-radius: var(--r-sm);
  min-height: 44px;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}
.pasos-atras:hover:not(:disabled) { background: var(--hueso); }
.pasos-atras:disabled { color: var(--texto-4); cursor: not-allowed; }
.pasos-sigue { gap: 4px; }
.pasos-ico-ok { display: none; }
.pasos-sigue.is-final .pasos-ico-next { display: none; }
.pasos-sigue.is-final .pasos-ico-ok { display: block; }
.pasos-sigue:disabled {
  background: var(--gris-inactivo);
  color: var(--texto-2);
  box-shadow: none;
  cursor: not-allowed;
}
.pasos-contador {
  margin-top: 14px;
  text-align: center;
  font-size: 13px;
  color: var(--texto-3);
}
.cedula-par {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--esp-3);
}
.cedula-toma {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 148px;
  border: 1.5px dashed var(--hueso-borde);
  border-radius: var(--r-md);
  background: var(--hueso);
  cursor: pointer;
  overflow: hidden;
}
.cedula-toma input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.cedula-ph {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  color: var(--azul);
}
.cedula-prev {
  width: 100%;
  height: 160px;
  object-fit: cover;
}
.cedula-cambiar {
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 8px;
  background: var(--azul);
  color: var(--blanco);
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  border-radius: var(--r-sm);
  padding: 6px 8px;
}
.campo.is-error .cedula-toma { border-color: var(--rojo); background: var(--rojo-pale); }
.campo.is-ok .cedula-toma { border-color: var(--verde); }
@media (max-width: 560px) {
  .cedula-par { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .pasos-vista.is-entra,
  .pasos-vista.is-vuelve { animation: none; }
  .pasos-barra-fill,
  .pasos-dot { transition: none; }
}
.legal h2 { margin-top: var(--esp-5); font-size: 22px; font-weight: 700; color: var(--azul); }
.legal p, .legal li { font-size: 17px; color: var(--texto-2); margin-top: 8px; max-width: 68ch; }
.legal ul { margin-top: 8px; padding-left: 1.1rem; }

/* Footer */
.wf {
  position: relative;
  overflow: hidden;
  background: #0B1229;
  color: var(--blanco);
  padding: 72px 0 0;
}
.wf-glow {
  position: absolute;
  z-index: 0;
  left: 50%;
  bottom: -860px;
  width: 1180px;
  height: 1180px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle at 50% 42%,
    var(--naranja-claro) 0 18%,
    var(--naranja) 36%,
    rgba(245, 95, 32, .72) 48%,
    rgba(26, 60, 110, .28) 62%,
    transparent 70%);
  pointer-events: none;
}
.wf-top {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 48px));
  margin-inline: auto;
}
.wf-frase {
  max-width: 11em;
  font-size: clamp(32px, 3.4vw, 48px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.03em;
  color: var(--blanco);
}
.wf-bajo {
  margin-top: 48px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 40px 48px;
  align-items: start;
}
.wf-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  text-decoration: none;
  color: var(--blanco);
}
.wf-logo svg { width: 28px; height: 28px; display: block; }
.wf-word { font-size: 17px; font-weight: 800; letter-spacing: -.01em; }
.wf-word span { color: var(--naranja-claro); }
.wf-ubic {
  margin: 6px 0 0 38px;
  font-size: 14px;
  font-weight: 400;
  color: rgba(255, 255, 255, .72);
}
.wf-cols {
  justify-self: end;
  display: grid;
  grid-template-columns: repeat(3, max-content);
  gap: 8px 72px;
}
.wf-h {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .55);
  margin-bottom: 8px;
}
.wf-col a {
  display: flex;
  align-items: center;
  min-height: 44px;
  font-size: 14px;
  font-weight: 400;
  color: rgba(255, 255, 255, .86);
  text-decoration: none;
  transition: color .2s ease-in-out;
}
.wf-col a:hover { color: var(--blanco); }
.wf-par {
  display: flex;
  align-items: center;
  min-height: 44px;
  font-size: 14px;
  color: rgba(255, 255, 255, .86);
}
.wf-par a { min-height: 44px; }
.wf :where(a):focus-visible { outline-color: var(--blanco); }
.wf-gigante {
  position: relative;
  z-index: 1;
  margin: 56px 0 0;
  padding: 0 8px;
  font-size: 14.8vw;
  font-weight: 800;
  line-height: .76;
  letter-spacing: max(-1.5rem, -.12em);
  text-align: center;
  white-space: nowrap;
  color: rgba(255, 247, 240, .62);
  margin-bottom: -.08em;
  user-select: none;
}

/* Cookies */
.cookies {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 50;
  background: var(--hueso);
  border-top: 3px solid var(--azul);
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  box-shadow: var(--sombra-md);
}
.cookies p { font-size: 14px; color: var(--texto-2); max-width: 62ch; }
.cookies a { font-weight: 600; }
.cookies-ok {
  background: var(--naranja);
  color: var(--blanco);
  border: 0;
  border-radius: var(--r-sm);
  min-height: 44px;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  flex-shrink: 0;
}
.cookies-ok:hover { background: var(--naranja-claro); }
.cookies-ok:focus-visible { outline: 2px solid var(--naranja-texto); outline-offset: 2px; }
.cookies[hidden] { display: none; }

@media (max-width: 800px) {
  .split, .dos { grid-template-columns: 1fr 1fr; }
  .wf-bajo { grid-template-columns: 1fr; gap: 32px; }
  .wf-cols { justify-self: start; gap: 8px 32px; }
  .wf { padding-top: 56px; }
  .wf-glow { width: 720px; height: 720px; bottom: -560px; }
  .oficios { grid-template-columns: 1fr; }
  .oficios a { min-height: 228px; }
  .seq { grid-template-columns: 1fr; gap: 8px; }
  .seq::before { display: none; }
  .seq-s {
    display: grid;
    grid-template-columns: 72px 16px 1fr;
    column-gap: 12px;
    row-gap: 4px;
    text-align: left;
    align-items: start;
    padding: 8px 0;
  }
  .seq-mark { grid-column: 1; grid-row: 1 / span 2; margin: 0; height: 64px; justify-content: flex-start; }
  .seq-mark img { height: 64px; }
  .seq-d { grid-column: 2; grid-row: 1; margin: 6px 0 0; }
  .seq-n { grid-column: 3; grid-row: 1; }
  .seq-p { grid-column: 3; grid-row: 2; margin: 0; }
  .seq-s { position: relative; }
  .seq-s:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 91px;
    top: 22px;
    bottom: -12px;
    width: 2px;
    background: var(--azul);
  }
}
@media (max-width: 1080px) {
  .wh { display: flex; }
  .wh-cluster {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: var(--azul);
    padding: 8px 16px 16px;
    box-shadow: var(--sombra-md);
  }
  .wh.is-open .wh-cluster { display: flex; }
  .wh-nav,
  .wh-acciones {
    grid-column: auto;
    justify-self: stretch;
    width: 100%;
  }
  .wh-nav { flex-direction: column; align-items: stretch; gap: 0; }
  .wh-acciones { flex-direction: column; align-items: stretch; margin-top: 8px; }
  .wh.is-open { background: var(--azul); }
  .wh.is-open .wh-word { color: var(--blanco); }
  .wh.is-open .wh-word span { color: var(--naranja-claro); }
  .wh.is-open .logo-haz,
  .wh.is-open .logo-claro { display: none; }
  .wh.is-open .logo-azul { display: block; }
  .wh.is-open .wh-burger span:not(.sr-only) { background: var(--blanco); }
  .wh.is-open .wh-nav > a,
  .wh.is-open button.wh-drop-btn { color: rgba(255, 255, 255, .86); }
  .wh-nav > a,
  button.wh-drop-btn { border-bottom: 0; justify-content: space-between; }
  .wh-drop,
  button.wh-drop-btn,
  a.wh-pro,
  a.wh-cta { width: 100%; }
  .wh-panel {
    position: static;
    transform: none;
    min-width: 0;
    margin: 4px 0 8px;
    max-height: 50vh;
  }
  .wh > .wh-cta { display: none; }
  .wh-burger { display: block; margin-left: auto; }
}
@media (max-width: 560px) {
  :root { --header-h: 56px; }
  .wh { height: 56px; gap: var(--esp-2); padding: 0 var(--esp-3); }
  .split, .dos { grid-template-columns: 1fr; }
  .wf-cols { grid-template-columns: 1fr 1fr; }
  .paso { grid-template-columns: 64px 1fr; }
  .paso img { width: 64px; height: 64px; }
  .cierre-panel { padding: 40px 20px; }
  .cookies { flex-direction: column; align-items: stretch; }
  .hero { align-items: center; padding-bottom: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .oficios a:hover, .oficios a:hover img, .busca-btn:hover, .btn-secondary:hover,
  .wh-cta:hover, .wh-pro:hover { transform: none; }
}

/* ===== Sección 2 · Necesidades (v01) ===== */
.nec { padding: var(--esp-6) 0; background: var(--blanco); }

/* Escenario oscuro: título centrado, pasos con check y escena de la hormiga */
.nec { background: var(--hueso); }
.nec-stage {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 72px 64px 64px;
  background: #0B1229;
  border-radius: var(--r-xl);
}
.nec-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(520px 360px at 78% 62%, rgba(245, 95, 32, .28), transparent 70%),
    radial-gradient(420px 300px at 8% 100%, rgba(255, 140, 66, .12), transparent 70%);
  pointer-events: none;
}
.nec-cab { text-align: center; max-width: 760px; margin: 0 auto; }
.nec-cab h2 {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.03em;
  color: var(--blanco);
  max-width: none;
}
.nec-lead { margin: 14px auto 0; font-size: 17px; line-height: 1.6; color: rgba(255, 255, 255, .78); max-width: 52ch; }

.nec-cuerpo {
  margin-top: 56px;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 56px;
  align-items: center;
}

/* Lista de pasos con check: vacío = pendiente, blanco relleno = activo */
.nec-rotulo { font-size: 13px; font-weight: 600; color: rgba(255, 255, 255, .72); margin-bottom: 20px; }
.nec-tabs { display: flex; flex-direction: column; gap: 6px; }
.nec-tab {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  width: 100%;
  min-height: 44px;
  padding: 16px 12px;
  text-align: left;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -.01em;
  color: rgba(255, 255, 255, .62);
  background: transparent;
  border: 0;
  border-radius: var(--r-md);
  cursor: pointer;
  transition: color .25s ease-in-out, background .25s ease-in-out;
}
.nec-tab:hover { color: rgba(255, 255, 255, .88); background: rgba(255, 255, 255, .05); }
.nec-tab[aria-selected="true"] { color: var(--blanco); }
.nec-tab-txt { display: block; padding-top: 8px; }
.nec-n {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: rgba(255, 255, 255, .62);
  border: 1.5px solid rgba(255, 255, 255, .32);
  transition: background .25s ease-in-out, color .25s ease-in-out, border-color .25s ease-in-out;
}
.nec-n svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.nec-n path { stroke-dasharray: 1; stroke-dashoffset: 0; }
.nec-tab:hover .nec-n { border-color: rgba(255, 255, 255, .6); }
.nec-tab[aria-selected="true"] .nec-n { background: var(--blanco); border-color: var(--blanco); color: var(--azul); }
.nec-tab[aria-selected="true"] .nec-n path { animation: necCheck .3s ease-in-out .06s both; }
.nec-tab:focus-visible { outline: 2px solid var(--blanco); outline-offset: 2px; }
.nec-tab[aria-selected="true"]:focus-visible { outline-color: var(--naranja-claro); }

/* Respuesta: tarjeta clara (la hormiga nunca va sobre azul sólido).
   Los 4 paneles comparten celda: la más alta fija la altura y no hay saltos al cambiar. */
.nec-respuestas { display: grid; }
.nec-resp {
  grid-area: 1 / 1;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  text-align: center;
  padding: 24px 32px 36px;
  background: var(--hueso);
  border-radius: var(--r-xl);
  overflow: hidden;
  transition: opacity .24s ease-in-out, visibility .24s ease-in-out;
}
.nec-resp[hidden] { display: flex; visibility: hidden; opacity: 0; }
.nec-resp-ico {
  order: -1;
  flex: 1;
  display: grid;
  place-items: center;
  align-items: end;
  width: 100%;
  position: relative;
}
.nec-resp-ico::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 6px;
  width: 62%;
  height: 18px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(26, 60, 110, .16), transparent 70%);
}
.nec-resp-ico img { position: relative; z-index: 1; width: auto; height: 300px; max-width: 100%; object-fit: contain; }
.nec-resp-txt { max-width: 38ch; animation: necIn .3s ease-in-out both; }
.nec-resp h3 {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.02em;
  color: var(--azul);
}
.nec-resp p.nec-txt { margin: 10px auto 0; font-size: 17px; line-height: 1.6; color: var(--texto-2); max-width: 36ch; }

/* Animación: entrada fade + 8px (240ms); la hormiga flota muy suave, sin rotar ni rebotar */
.nec-resp:not([hidden]) .nec-resp-ico { animation: necMascota .24s ease-in-out both; }
.nec-resp:not([hidden]) .nec-resp-ico img { animation: necFlota 4.8s ease-in-out .3s infinite; }
.nec-resp:not([hidden]) .nec-resp-ico::after { animation: necSombra 4.8s ease-in-out .3s infinite; }
@keyframes necIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes necMascota { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@keyframes necFlota { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@keyframes necSombra { 0%, 100% { transform: translateX(-50%) scaleX(1); opacity: 1; } 50% { transform: translateX(-50%) scaleX(.86); opacity: .7; } }
@keyframes necCheck { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }

/* CTA */
.nec-cta {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  margin-top: var(--esp-4);
  padding: 64px 72px;
  background: #0B1229;
  border: 1px solid rgba(255, 140, 66, .28);
  border-radius: var(--r-xl);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--esp-4) var(--esp-5);
  flex-wrap: wrap;
}
.nec-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(420px 300px at 22% 78%, rgba(245, 95, 32, .30), transparent 70%),
    radial-gradient(360px 260px at 38% 8%, rgba(255, 140, 66, .16), transparent 70%),
    radial-gradient(300px 240px at 98% 55%, rgba(245, 95, 32, .14), transparent 70%);
  pointer-events: none;
}
.nec-cta-txt { max-width: 34rem; }
.nec-cta h3 {
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.03em;
  color: var(--blanco);
}
.nec-cta p {
  margin-top: 14px;
  font-size: 17px;
  line-height: 1.5;
  color: rgba(255, 255, 255, .82);
}
.nec-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 14px 26px;
  font-size: 14px;
  font-weight: 600;
  color: var(--blanco);
  text-decoration: none;
  background: var(--naranja);
  border-radius: var(--r-sm);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(245, 95, 32, .22);
  transition: background .2s ease-in-out, transform .2s ease-in-out;
}
.nec-btn::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0; left: -60%;
  width: 40%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, .55), transparent);
  transform: skewX(-20deg);
  animation: necBrillo 3.2s ease-in-out infinite;
  pointer-events: none;
}
@keyframes necBrillo { 0%, 55% { left: -60%; } 100% { left: 130%; } }
.nec-btn:hover { background: var(--naranja-claro); color: var(--blanco); transform: translateY(-2px); }
.nec-btn:focus-visible { outline: 2px solid var(--blanco); outline-offset: 3px; }
.nec-btn svg { width: 18px; height: 18px; transition: transform .2s ease-in-out; }
.nec-btn:hover svg { transform: translateX(3px); }

@media (max-width: 900px) {
  .nec-stage { padding: 48px 24px 32px; }
  .nec-cuerpo { grid-template-columns: 1fr; gap: 32px; margin-top: 40px; }
  .nec-tab { font-size: 19px; }
  .nec-cta { padding: 48px 32px; }
}
@media (max-width: 560px) {
  .nec { padding: 56px 0; }
  .nec-stage { padding: 40px 16px 24px; }
  .nec-cab h2 { font-size: 30px; overflow-wrap: anywhere; }
  .nec-tab { grid-template-columns: 36px minmax(0, 1fr); gap: 12px; padding: 12px 4px; font-size: 18px; }
  .nec-n { width: 36px; height: 36px; }
  .nec-n svg { width: 18px; height: 18px; }
  .nec-tab-txt { padding-top: 4px; }
  .nec-resp { padding: 20px 16px 28px; }
  .nec-resp-ico img { height: 230px; }
  .nec-cta { flex-direction: column; align-items: flex-start; padding: 40px 24px; }
  .nec-btn { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .nec-resp, .nec-resp-txt, .nec-resp-ico, .nec-resp-ico img, .nec-resp-ico::after, .nec-n path, .nec-btn::after { animation: none !important; transition: none !important; }
  .nec-btn::after { display: none; }
  .nec-btn:hover { transform: none; }
}

/* ===== Sección 3 · Paso a paso (v01) ===== */
.pap { position: relative; overflow: hidden; isolation: isolate; padding: var(--esp-6) 0; background: var(--azul); }
.pap::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(520px 340px at 88% 8%, rgba(255, 140, 66, .26), transparent 70%),
    radial-gradient(460px 320px at 6% 100%, rgba(245, 95, 32, .20), transparent 70%);
  pointer-events: none;
}

.pap-head { max-width: 760px; }
.pap-head h2 {
  margin-bottom: 14px;
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.03em;
  color: var(--blanco);
  max-width: none;
}
.pap-lead { font-size: 17px; line-height: 1.6; color: rgba(255, 255, 255, .86); max-width: 58ch; }

.pap-list {
  list-style: none;
  margin-top: var(--esp-5);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 var(--esp-4);
}
.pap-step {
  position: relative;
  display: grid;
  grid-row: span 3;
  grid-template-rows: subgrid;
  row-gap: 0;
  padding: var(--esp-4);
  background: var(--blanco);
  border-radius: var(--r-xl);
  box-shadow: var(--sombra-lg);
  border-top: 4px solid var(--naranja-claro);
}
/* Conector entre pasos (solo escritorio) */
.pap-step:not(:last-child)::after {
  content: "";
  position: absolute;
  z-index: 2;
  top: 44px;
  left: calc(100% + 1px);
  width: calc(var(--esp-4) - 2px);
  height: 2px;
  background: var(--naranja-claro);
}

.pap-step-cab { display: flex; align-items: center; gap: 14px; }
.pap-step-n {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 17px;
  font-weight: 700;
  color: var(--azul);
  background: var(--naranja-claro);
}
.pap-step h3 {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -.01em;
  color: var(--azul);
}
.pap-step-txt { margin-top: 16px; font-size: 17px; line-height: 1.6; color: var(--texto-2); }

/* Ejemplo de lo que ve la persona */
.pap-step-ej {
  display: flex;
  margin-top: var(--esp-4);
}
.ej {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: var(--blanco);
  border: 1px solid var(--hueso-borde);
  border-radius: var(--r-lg);
  box-shadow: var(--sombra-sm);
  padding: var(--esp-3);
}
.pap-step:nth-child(1) .ej { background: var(--azul-pale); border-color: var(--azul-borde); }
.pap-step:nth-child(2) .ej { background: var(--naranja-pale); border-color: var(--naranja-borde); }
.pap-step:nth-child(3) .ej { background: var(--verde-pale); border-color: var(--verde-borde); }
.ej-rotulo { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 14px; font-weight: 600; color: var(--azul-texto); }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  line-height: 1.3;
  white-space: nowrap;
}
.badge svg { width: 14px; height: 14px; flex-shrink: 0; }
.badge-info { background: var(--blanco); color: var(--azul-texto); border: 1px solid var(--azul-borde); }
.badge-rating { background: var(--blanco); color: var(--naranja-texto); border: 1px solid var(--naranja-borde); }
.badge-ok { background: var(--blanco); color: var(--verde-texto); border: 1px solid var(--verde-borde); }

/* 1 · Solicitud */
.ej-cita {
  margin-top: 12px;
  padding: 2px 0 2px 14px;
  border-left: 3px solid var(--azul-link);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.45;
  color: var(--texto-1);
}

/* 2 · Propuesta */
.ej-prof { display: flex; align-items: center; gap: 12px; }
.avatar {
  position: relative;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--azul);
  color: var(--naranja-claro);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
}
.avatar-verified-badge { position: absolute; right: -2px; bottom: -2px; width: 20px; height: 20px; filter: drop-shadow(0 1px 2px rgba(9, 20, 42, .22)); pointer-events: none; }
.ej-nombre { font-size: 17px; font-weight: 600; line-height: 1.25; color: var(--texto-1); }
.ej-sub { font-size: 14px; line-height: 1.4; color: var(--texto-2); }
.ej-precio {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--naranja-borde);
  font-size: 32px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.02em;
  color: var(--azul);
}
.ej-dato { display: flex; align-items: center; gap: 8px; margin-top: 8px; font-size: 14px; color: var(--texto-2); }
.ej-dato svg { width: 16px; height: 16px; flex-shrink: 0; color: var(--azul-link); }
.ej-fila { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 14px; }
.ej-cuerpo { margin-top: auto; }

/* 3 · Pago */
.ej-listo { display: flex; align-items: center; gap: 12px; }
.ej-check {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--blanco);
  border: 1px solid var(--verde-borde);
  color: var(--verde-texto);
}
.ej-check svg { width: 20px; height: 20px; }
.ej-pago { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--verde-borde); }
.ej-pago p { margin-top: 12px; font-size: 14px; line-height: 1.5; color: var(--texto-2); }

/* Secuencia 1, 2, 3: cada paso aparece, y luego el conector dibuja el camino al siguiente */
.js-pap .pap-step { opacity: 0; transform: translateY(16px); transition: opacity .3s ease-in-out, transform .3s ease-in-out; }
.js-pap .pap-step.in { opacity: 1; transform: none; }
.js-pap .pap-step-n { transform: scale(.6); transition: transform .3s ease-in-out .1s; }
.js-pap .pap-step.in .pap-step-n { transform: scale(1); }
.js-pap .pap-step .ej { opacity: 0; transform: translateY(8px); transition: opacity .3s ease-in-out .25s, transform .3s ease-in-out .25s; }
.js-pap .pap-step.in .ej { opacity: 1; transform: none; }
.pap-step:not(:last-child)::after { transform-origin: left center; }
.js-pap .pap-step:not(:last-child)::after { transform: scaleX(0); transition: transform .3s ease-in-out; }
.js-pap .pap-step.link:not(:last-child)::after { transform: scaleX(1); }

@media (max-width: 960px) {
  .pap-list { grid-template-columns: minmax(0, 1fr); gap: var(--esp-4); }
  .pap-step { grid-row: auto; grid-template-rows: none; }
  .js-pap .pap-step:not(:last-child)::after { transform: scaleY(0); }
  .js-pap .pap-step.link:not(:last-child)::after { transform: scaleY(1); }
  .pap-step:not(:last-child)::after {
    transform-origin: top center;
    top: 100%;
    left: 40px;
    width: 2px;
    height: var(--esp-4);
  }
  .pap-step-ej { max-width: 460px; }
}
@media (max-width: 560px) {
  .pap { padding: 56px 0; }
  .pap-step { padding: var(--esp-3); }
}
@media (prefers-reduced-motion: reduce) {
  .js-pap .pap-step, .js-pap .pap-step-n, .js-pap .pap-step .ej { opacity: 1; transform: none; transition: none; }
  .js-pap .pap-step:not(:last-child)::after { transform: none; transition: none; }
}

/* ===== Sección 4 · Proceso (v05, panel con 3 pasos) ===== */
.pp { padding: 0; }
  .pp-wrap { max-width: none; padding: 0; }

  /* Panel con fondo radial profundo del brandbook (§14) */
  .pp-panel { position: relative; overflow: hidden; border-radius: 0; padding: 88px 24px; background: radial-gradient(60% 55% at 12% 0%, rgba(245,95,32,.34) 0%, rgba(245,95,32,0) 70%), radial-gradient(55% 50% at 95% 100%, rgba(37,99,235,.38) 0%, rgba(37,99,235,0) 70%), radial-gradient(125% 125% at 50% 15%, #0B1D3A 45%, rgba(245,95,32,.45) 150%); color: var(--blanco); text-align: center; }

  .pp-panel > h2, .pp-panel > .pp-pasos, .pp-panel > .pp-mas { max-width: 1152px; margin-left: auto; margin-right: auto; }
  .pp-panel h2 { margin-top: 0; margin-bottom: 0; font-size: clamp(32px, 4.6vw, 48px); font-weight: 800; line-height: 1.1; letter-spacing: -.03em; color: var(--blanco); }

  .pp-pasos { list-style: none; margin: 36px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; text-align: left; }
  .pp-k { position: relative; display: flex; flex-direction: column; min-height: 440px; padding: 24px; border-radius: 20px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); overflow: hidden; transition: background .25s ease-in-out, transform .25s ease-in-out; }
  .pp-k-1 { background: linear-gradient(180deg, rgba(37,99,235,.30) 0%, rgba(37,99,235,.08) 100%); border-color: rgba(147,197,253,.35); }
  .pp-k-2 { background: linear-gradient(180deg, rgba(255,140,66,.28) 0%, rgba(255,140,66,.07) 100%); border-color: rgba(255,140,66,.4); }
  .pp-k-3 { background: linear-gradient(180deg, rgba(255,255,255,.18) 0%, rgba(255,255,255,.05) 100%); border-color: rgba(255,255,255,.3); }
  .pp-k:hover { transform: translateY(-4px); box-shadow: 0 18px 36px rgba(0,0,0,.28); }
  .pp-k-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
  .pp-k h3 { margin: 0; font-size: 22px; font-weight: 600; line-height: 1.2; }
  .pp-k-n { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--blanco); color: var(--azul); font-size: 15px; font-weight: 700; }
  .pp-k-d { margin: 10px 0 0; max-width: 300px; font-size: 15px; line-height: 1.5; color: rgba(255,255,255,.82); }

  /* Mini interfaces */
  .pp-ui { position: relative; margin-top: auto; padding-top: 28px; }
  .pp-m { box-sizing: border-box; min-height: 252px; background: var(--blanco); color: var(--azul); border-radius: 16px; padding: 16px; box-shadow: 0 16px 32px rgba(11,29,58,.35); transition: transform .25s ease-in-out, box-shadow .25s ease-in-out; animation: pp-flota 5s ease-in-out infinite; }
  .pp-k-2 .pp-m { animation-delay: -1.7s; }
  .pp-k-3 .pp-m { animation-delay: -3.4s; }
  @keyframes pp-flota { 0%, 100% { translate: 0 0; } 50% { translate: 0 -6px; } }
  /* Hover: la mini interfaz se levanta y crece un poco */
  .pp-k:hover .pp-m { transform: translateY(-8px) scale(1.03); box-shadow: 0 24px 44px rgba(11,29,58,.5); }
  .pp-k:hover .pp-ok { animation: pp-pulso .5s ease-in-out; }
  @keyframes pp-pulso { 50% { transform: scale(1.25); } }
  .pp-m-t { margin: 0 0 12px; font-size: 14px; font-weight: 700; color: var(--azul); }
  .pp-ej { display: inline-block; margin-left: 8px; padding: 2px 8px; border-radius: 999px; background: var(--azul-pale); color: var(--azul-texto); font-size: 11px; font-weight: 600; vertical-align: middle; }


  /* 1 · lista de verificación */
  .pp-chk { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
  .pp-chk li { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: var(--hueso); font-size: 14px; font-weight: 600; }
  .pp-ok { flex: none; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--verde); }
  .pp-ok svg { width: 12px; height: 12px; fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
  .pp-m-sello { display: flex; align-items: center; gap: 8px; margin-top: 12px; padding: 8px 12px; border-radius: 12px; background: var(--verde-pale); border: 1px solid var(--verde-borde); color: var(--verde-texto); font-size: 14px; font-weight: 600; }

  /* 2 · profesionales */
  .pp-pro { display: grid; grid-template-columns: 36px minmax(0,1fr) auto; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: var(--hueso); }
  .pp-pro + .pp-pro { margin-top: 8px; }
  .pp-av { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--azul); color: #fff; font-size: 14px; font-weight: 700; }
  .pp-pro b { display: block; font-size: 14px; font-weight: 700; }
  .pp-pro small { font-size: 13px; color: var(--texto-3); }
  .pp-pro .pp-pr { font-size: 14px; font-weight: 700; }
  .pp-pro.sel { background: var(--azul-pale); box-shadow: inset 0 0 0 1px var(--azul-borde); }

  /* 3 · pago protegido */
  .pp-monto { display: flex; align-items: baseline; justify-content: space-between; }
  .pp-monto b { font-size: 22px; font-weight: 800; letter-spacing: -.01em; }
  .pp-est { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: var(--azul-pale); border: 1px solid var(--azul-borde); color: var(--azul-texto); font-size: 13px; font-weight: 600; }
  .pp-conf { margin-top: 14px; display: grid; gap: 8px; }
  .pp-conf div { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; }
  .pp-conf .pp-pend { flex: none; width: 22px; height: 22px; border-radius: 50%; border: 2px dashed var(--azul-borde); box-sizing: border-box; }
  .pp-lib { margin-top: 14px; padding: 12px; border-radius: 12px; text-align: center; background: var(--azul-pale); color: var(--azul-texto); font-size: 14px; font-weight: 600; transition: background .25s ease-in-out, color .25s ease-in-out; }
  .pp-k:hover .pp-lib { background: var(--verde-pale); color: var(--verde-texto); }

  /* Movimiento: los checks se marcan en secuencia; las filas entran en cascada */
  .js-pp .pp-ok { transform: scale(.6); opacity: 0; }
  .js-pp .pp-k.pp-in .pp-ok { transform: none; opacity: 1; transition: transform .24s ease-in-out, opacity .24s ease-in-out; }
  .js-pp .pp-k.pp-in .pp-chk li:nth-child(1) .pp-ok { transition-delay: .3s; }
  .js-pp .pp-k.pp-in .pp-chk li:nth-child(2) .pp-ok { transition-delay: .6s; }
  .js-pp .pp-k.pp-in .pp-chk li:nth-child(3) .pp-ok { transition-delay: .9s; }
  .js-pp .pp-pro { opacity: 0; transform: translateY(8px); }
  .js-pp .pp-k.pp-in .pp-pro { opacity: 1; transform: none; transition: opacity .2s ease-in-out, transform .2s ease-in-out; }
  .js-pp .pp-k.pp-in .pp-pro:nth-child(2) { transition-delay: .35s; }
  .js-pp .pp-k.pp-in .pp-pro:nth-child(3) { transition-delay: .55s; }
  .js-pp .pp-k { opacity: 0; transform: translateY(24px); }
  .js-pp .pp-k.pp-in { opacity: 1; transform: none; transition: opacity .3s ease-in-out, transform .3s ease-in-out, background .25s ease-in-out; }
  .js-pp .pp-k.pp-in:hover { transform: translateY(-4px); }

  .pp-mas { margin-top: 36px; }
  .pp-btn-cta { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 28px; border-radius: 12px; background: var(--blanco); color: var(--azul); font-size: 14px; font-weight: 600; text-decoration: none; box-shadow: 0 8px 20px rgba(0,0,0,.25); transition: background .2s ease-in-out, transform .2s ease-in-out, box-shadow .2s ease-in-out; }
  .pp-btn-cta svg { transition: transform .2s ease-in-out; }
  .pp-btn-cta:hover { background: var(--azul-pale); transform: translateY(-2px); box-shadow: 0 12px 26px rgba(0,0,0,.3); }
  .pp-btn-cta:hover svg { transform: translateX(4px); }
  .pp-btn-cta:focus-visible { outline: 3px solid var(--blanco); outline-offset: 3px; }

  @media (max-width: 960px) {
    .pp-pasos { grid-template-columns: 1fr; }
    .pp-k { min-height: 0; }
    .pp-panel { padding: 64px 20px 56px; }
  }
  @media (prefers-reduced-motion: reduce) {
    .js-pp .pp-k, .js-pp .pp-pro, .js-pp .pp-ok { opacity: 1; transform: none; transition: none; }
    .pp-k, .pp-m, .pp-lib, .pp-btn-cta, .pp-btn-cta svg { transition: none; animation: none; }
    .pp-btn-cta:hover, .pp-btn-cta:hover svg { transform: none; }
    .pp-m { animation: none; }
    .pp-k:hover, .pp-k:hover .pp-m, .pp-k:hover .pp-ok { transform: none; animation: none; }
  }
