/* ============================================================
   undefined — Documento Clasificado × Terminal Financiero
   Refinement, not maximalism. Cada decisión sirve a esa lectura.
   ============================================================ */

/* ── Base ───────────────────────────────────────────────── */
html {
  scroll-behavior: smooth;
}
body {
  font-family: var(--wp--preset--font-family--body);
  background:
    radial-gradient(
      ellipse 90% 45% at 50% -5%,
      rgba(45, 55, 72, 0.45) 0%,
      transparent 65%
    ),
    radial-gradient(
      ellipse 60% 40% at 95% 30%,
      rgba(220, 231, 117, 0.025) 0%,
      transparent 70%
    ),
    var(--wp--preset--color--ink);
  background-attachment: fixed;
  color: var(--wp--preset--color--text);
  font-feature-settings: "ss01", "cv11", "tnum";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  position: relative;
  overflow-x: hidden;
}

/* ── Grain overlay — textura de scan de documento ──────── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  opacity: 0.06;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 220px 220px;
}

/* ── Corner registration marks (crop marks de imprenta) ── */
body::after {
  content: '';
  position: fixed;
  inset: 1.25rem;
  pointer-events: none;
  z-index: 998;
  opacity: 0.4;
  background-image:
    url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14'%3E%3Cpath d='M0 0 L14 0 M0 0 L0 14' stroke='%237a7d85' stroke-width='1' fill='none'/%3E%3C/svg%3E"),
    url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14'%3E%3Cpath d='M14 0 L0 0 M14 0 L14 14' stroke='%237a7d85' stroke-width='1' fill='none'/%3E%3C/svg%3E"),
    url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14'%3E%3Cpath d='M0 14 L14 14 M0 14 L0 0' stroke='%237a7d85' stroke-width='1' fill='none'/%3E%3C/svg%3E"),
    url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14'%3E%3Cpath d='M14 14 L0 14 M14 14 L14 0' stroke='%237a7d85' stroke-width='1' fill='none'/%3E%3C/svg%3E");
  background-position: top left, top right, bottom left, bottom right;
  background-size: 14px 14px;
  background-repeat: no-repeat;
}

@media (max-width: 700px) {
  body::after { display: none; }
}

::selection { background: var(--wp--preset--color--sello); color: var(--wp--preset--color--paper); }

:focus-visible {
  outline: 2px solid var(--wp--preset--color--paper);
  outline-offset: 3px;
}

/* Hairline rules everywhere */
hr, .wp-block-separator {
  border: none;
  border-top: 1px solid var(--wp--preset--color--hairline);
  margin: 0;
  height: 0;
}

/* ── Tipografía utilidades ──────────────────────────────── */
.undef-display      { font-family: var(--wp--preset--font-family--display); font-weight: 800; line-height: 0.95; letter-spacing: -0.03em; }
.undef-display-it   { font-family: var(--wp--preset--font-family--display); font-style: italic; font-weight: 700; }
.undef-mono         { font-family: var(--wp--preset--font-family--mono); }
.undef-eyebrow {
  font-family: var(--wp--preset--font-family--mono);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--wp--preset--color--text-muted);
}
.undef-eyebrow-red { color: var(--wp--preset--color--sello); }
.undef-text-muted  { color: var(--wp--preset--color--text-muted); }
.undef-strike      { text-decoration: line-through; text-decoration-color: var(--wp--preset--color--redaccion); text-decoration-thickness: 1px; color: var(--wp--preset--color--text-dim); }

/* ── Header / Footer (minimalismo editorial) ────────────── */
/* Header sticky · vidrio esmerilado. Estado base (y fallback sin
   scroll-driven) = sólido legible; con scroll-driven arranca
   transparente sobre el hero y condensa al alejarse del tope. */
/* Header sticky con condensación al scroll · vía clase JS .is-scrolled
   (compatible con todos los navegadores, incluido iOS viejo). Arriba:
   transparente sobre el hero + logo grande. Al bajar: vidrio esmerilado
   + hairline + logo condensado. */
.undef-site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  padding: 1.3rem 1.5rem;
  background-color: rgba(13, 17, 23, 0);
  border-bottom: 1px solid transparent;
  -webkit-backdrop-filter: blur(0px);
  backdrop-filter: blur(0px);
  transition:
    padding 0.45s cubic-bezier(0.16, 1, 0.3, 1),
    background-color 0.45s ease,
    border-color 0.45s ease,
    -webkit-backdrop-filter 0.45s ease,
    backdrop-filter 0.45s ease;
}
.undef-site-header.is-scrolled {
  padding-top: 0.7rem;
  padding-bottom: 0.7rem;
  background-color: rgba(13, 17, 23, 0.82);
  border-bottom-color: var(--wp--preset--color--hairline);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
}
.undef-brand {
  font-family: var(--wp--preset--font-family--mono);
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--wp--preset--color--paper);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}
.undef-brand-logo {
  height: 88px;
  width: auto;
  display: block;
  transition: height 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}
.undef-site-header.is-scrolled .undef-brand-logo {
  height: 44px;
}
@media (max-width: 767px) {
  .undef-site-header { padding: 1.1rem 1.15rem; }
  .undef-brand-logo { height: 60px; }
  .undef-site-header.is-scrolled .undef-brand-logo { height: 36px; }
}
@media (prefers-reduced-motion: reduce) {
  .undef-site-header,
  .undef-brand-logo { transition: none; }
}
.undef-brand-meta {
  font-family: var(--wp--preset--font-family--mono);
  font-size: 0.72rem;
  color: var(--wp--preset--color--text-dim);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ── Stamp CONFIDENCIAL ─────────────────────────────────── */
.undef-stamp {
  display: inline-block;
  font-family: var(--wp--preset--font-family--body);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.22em;
  color: var(--wp--preset--color--oxblood);
  border: 3px double var(--wp--preset--color--oxblood);
  padding: 0.55rem 1.1rem;
  text-transform: uppercase;
  transform: rotate(-3deg);
  background: transparent;
  position: relative;
  opacity: 0.92;
}
.undef-stamp::after {
  content: '';
  position: absolute;
  inset: -2px;
  background: var(--wp--preset--color--ink);
  mix-blend-mode: multiply;
  opacity: 0.15;
  pointer-events: none;
}
.undef-stamp-small {
  font-size: 0.72rem;
  padding: 0.3rem 0.7rem;
  border-width: 2px;
  letter-spacing: 0.15em;
}

/* ══════════════════════════════════════════════════════════
   CINEMATIC LAYERING · cabina nocturna automotriz
   --------------------------------------------------------
   Hero (#0A0E12 negro petróleo) atmosférico con reflejos
   sutilísimos de cabina. Section 2 (#05070A grafito) sube
   como panel físico — con seam ámbar industrial (#6A5A1B)
   en el borde superior + ambient bleed por encima.
   Cero glow neon · solo reflexión sobre superficie oscura.
   ══════════════════════════════════════════════════════════ */

/* Tokens locales · no romper paleta global existente */
:root {
  --ink-petroleo: #0A0E12;    /* hero · negro petróleo */
  --ink-grafito:  #05070A;    /* secciones · negro grafito */
  --ink-panel:    #0F141A;    /* cards · panel */
  --oxido-rojo:   #4A1515;    /* acento embebido en hero */
  --ambar-industrial: #6A5A1B; /* reflexión en seam */
}

/* ── Hero Title · cabina nocturna ─────────────────────── */
.undef-hero-title {
  position: sticky;
  top: 0;
  z-index: 0;
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(4rem, 10vh, 7rem) clamp(1.5rem, 4vw, 3rem) 3rem;
  /* Cabina · negro petróleo con reflejos lentos de luz interior */
  background:
    /* Reflejo amber tenue desde abajo-derecha (como linterna del dashboard) */
    radial-gradient(
      ellipse 800px 600px at 78% 88%,
      rgba(106, 90, 27, 0.055) 0%,
      transparent 55%
    ),
    /* Reflejo óxido tenue desde arriba-izquierda (como brake light distante) */
    radial-gradient(
      ellipse 600px 500px at 22% 18%,
      rgba(74, 21, 21, 0.06) 0%,
      transparent 60%
    ),
    /* Base · negro petróleo */
    var(--ink-petroleo);
  overflow: hidden;
}

/* Vignette suave · refuerza profundidad de cabina */
.undef-hero-title::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at 50% 55%,
    transparent 35%,
    rgba(0, 0, 0, 0.45) 100%
  );
  pointer-events: none;
  z-index: 0;
}

.undef-hero-title-inner {
  max-width: 880px;
  margin: 0 auto;
  width: 100%;
  position: relative;
  z-index: 1;
  will-change: transform, opacity;
}

@supports (animation-timeline: scroll()) {
  .undef-hero-title-inner {
    animation: hero-title-recede linear both;
    animation-timeline: scroll(root);
    animation-range: 0 80vh;
  }
}
@keyframes hero-title-recede {
  to {
    transform: scale(0.94) translateY(-2vh);
    opacity: 0.35;
  }
}

/* ══════════════════════════════════════════════════════════
   CALC SECTION · panel físico flotando sobre superficie oscura
   --------------------------------------------------------
   Halo perimetral · ámbar industrial (cercano) + óxido rojo
   (atmosférico) alrededor del contenedor completo. Cero glow
   superior · cero neon · solo reflexión ambiente automotriz.
   ══════════════════════════════════════════════════════════ */

.undef-hero-calc-section {
  position: relative;
  z-index: 1;
  /* ATMÓSFERA · gradients masivos contaminan los bordes
     mientras el centro permanece casi negro · taller a luz baja */
  background:
    /* Óxido rojo · esquina superior izquierda · vasta */
    radial-gradient(
      ellipse 1500px 1000px at 12% 20%,
      rgba(74, 21, 21, 0.13) 0%,
      rgba(74, 21, 21, 0.07) 22%,
      rgba(74, 21, 21, 0.03) 42%,
      transparent 65%
    ),
    /* Ámbar industrial · esquina inferior derecha · vasta */
    radial-gradient(
      ellipse 1300px 900px at 88% 78%,
      rgba(106, 90, 27, 0.09) 0%,
      rgba(106, 90, 27, 0.05) 25%,
      rgba(106, 90, 27, 0.02) 45%,
      transparent 65%
    ),
    /* Óxido bajo · esquina inferior izquierda · profundidad */
    radial-gradient(
      ellipse 900px 700px at 18% 88%,
      rgba(74, 21, 21, 0.06) 0%,
      transparent 55%
    ),
    /* Vignette central · mantiene panel "limpio" sobre la atmósfera */
    radial-gradient(
      ellipse 800px 600px at 50% 50%,
      rgba(5, 7, 10, 0.35) 0%,
      transparent 70%
    ),
    /* Base · grafito */
    var(--ink-grafito);
  /* Padding amplio · da espacio para que el halo respire */
  padding: 10rem clamp(2rem, 4vw, 4rem) 10rem;
}

/* Transición suave hero→calc · gradiente vertical que disuelve el borde */
.undef-hero-calc-section::before {
  content: '';
  position: absolute;
  top: -120px;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(
    180deg,
    transparent 0%,
    var(--ink-grafito) 100%
  );
  z-index: 0;
  pointer-events: none;
}

/* Wrapper del contenido · panel flotante con halo perimetral */
.undef-hero-calc-content {
  max-width: 880px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  /* Halo estado inicial · más spread, menos brillo directo */
  box-shadow:
    /* Edge metálico interno · contorno aluminio oscuro */
    inset 0 0 0 1px rgba(138, 143, 150, 0.05),
    /* Ámbar cercano · cabin warmth difusa */
    0 0 80px rgba(106, 90, 27, 0.09),
    /* Óxido medio · primer halo amplio */
    0 0 180px rgba(74, 21, 21, 0.12),
    /* Ámbar disperso · costados muy difusos */
    0 0 280px rgba(106, 90, 27, 0.05),
    /* Óxido lejano · atmósfera de taller */
    0 0 400px rgba(74, 21, 21, 0.07);
  /* Transición suave si scroll-driven no aplica */
  transition: box-shadow 700ms ease-out;
}

/* Halo progresivo · intensifica con scroll, estabiliza al 100% */
@supports (animation-timeline: scroll()) {
  .undef-hero-calc-content {
    animation: panel-halo-emerge linear both;
    animation-timeline: scroll(root);
    animation-range: 0 60vh;
  }
}
@keyframes panel-halo-emerge {
  from {
    /* Apertura · halo ya tenue pero existente */
    box-shadow:
      inset 0 0 0 1px rgba(138, 143, 150, 0.03),
      0 0 40px rgba(106, 90, 27, 0.05),
      0 0 110px rgba(74, 21, 21, 0.07),
      0 0 180px rgba(106, 90, 27, 0.03),
      0 0 260px rgba(74, 21, 21, 0.04);
  }
  to {
    /* Cierre · halo difuso, más spread, no más brillo directo */
    box-shadow:
      /* Edge metálico · aluminio oscuro perimetral */
      inset 0 0 0 1px rgba(138, 143, 150, 0.13),
      /* Ámbar cercano · más spread, ligeramente menos opacity */
      0 0 90px rgba(106, 90, 27, 0.18),
      /* Óxido medio · mucho más blur, similar opacity */
      0 0 220px rgba(74, 21, 21, 0.22),
      /* Ámbar lateral · costados muy difusos */
      0 0 320px rgba(106, 90, 27, 0.10),
      /* Óxido lejano · atmósfera de taller, gran difusión */
      0 0 480px rgba(74, 21, 21, 0.13);
  }
}

/* ══════════════════════════════════════════════════════════
   CALC FRAMING · header operativo arriba de la calculadora
   --------------------------------------------------------
   Le da contexto narrativo a la herramienta sin tutorial.
   El usuario sabe qué es esto antes de tocarlo.
   ══════════════════════════════════════════════════════════ */

.undef-calc-frame {
  text-align: center;
  margin-bottom: 2.5rem;
  padding: 1.5rem 0 2rem;
  border-bottom: 1px solid rgba(138, 143, 150, 0.08);
}
.undef-calc-frame-code {
  font-family: var(--wp--preset--font-family--mono);
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #A11D1D;
  margin-bottom: 0.9rem;
}
.undef-calc-frame-title {
  font-family: var(--wp--preset--font-family--display);
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  font-size: clamp(1.6rem, 3.2vw, 2.6rem);
  line-height: 1;
  letter-spacing: 0.005em;
  color: var(--wp--preset--color--paper);
  margin: 0 auto 0.75rem;
  text-align: center;
}
.undef-calc-frame-sub {
  font-family: var(--wp--preset--font-family--mono);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--wp--preset--color--text-dim);
  margin: 0;
}

@media (max-width: 767px) {
  .undef-calc-frame {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
  }
  .undef-calc-frame-sub {
    font-size: 0.62rem;
    letter-spacing: 0.18em;
  }
}

/* ══════════════════════════════════════════════════════════
   VSL · monitor operativo (briefing en cuadro)
   --------------------------------------------------------
   No es un YouTube embed con thumbnail.
   Es un panel de telemetría con feed pendiente.
   ══════════════════════════════════════════════════════════ */

.undef-vsl-section {
  position: relative;
  z-index: 1;
  background: var(--ink-grafito);
  padding: 6rem clamp(1.5rem, 4vw, 3rem);
}

.undef-vsl-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(106, 90, 27, 0.18) 25%,
    rgba(106, 90, 27, 0.3) 50%,
    rgba(106, 90, 27, 0.18) 75%,
    transparent 100%
  );
  z-index: 2;
  pointer-events: none;
}

.undef-vsl-inner {
  max-width: 1100px;
  margin: 0 auto;
}

/* Monitor frame · contiene meta + screen + strip */
.undef-vsl-monitor {
  margin-top: 3rem;
  background: var(--ink-panel, #0F141A);
  border: 1px solid rgba(138, 143, 150, 0.10);
  /* Halo industrial alrededor del monitor · sutil */
  box-shadow:
    inset 0 0 0 1px rgba(138, 143, 150, 0.04),
    0 0 60px rgba(74, 21, 21, 0.10),
    0 0 160px rgba(74, 21, 21, 0.06);
}

/* Dispatch metadata bar · arriba del feed */
.undef-vsl-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.75rem;
  padding: 0.875rem 1.25rem;
  border-bottom: 1px solid rgba(138, 143, 150, 0.10);
  background: rgba(5, 7, 10, 0.6);
  font-family: var(--wp--preset--font-family--mono);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--wp--preset--color--text-dim);
}
.undef-vsl-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.undef-vsl-meta-label {
  color: rgba(138, 143, 150, 0.5);
  font-size: 0.62rem;
}
.undef-vsl-meta-val {
  color: var(--wp--preset--color--paper);
  letter-spacing: 0.15em;
}
.undef-vsl-meta-status {
  margin-left: auto;
  color: #6A5A1B;
}
.undef-vsl-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #6A5A1B;
  box-shadow: 0 0 6px rgba(106, 90, 27, 0.6);
  animation: vsl-pulse 2.4s ease-in-out infinite;
}
@keyframes vsl-pulse {
  0%, 100% { opacity: 0.45; }
  50%      { opacity: 1; }
}

/* Screen · aspect 16:9 · placeholder o video real */
.undef-vsl-screen {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #06090E;
  overflow: hidden;
  /* Scanline overlay sutil · ambient CRT, no decorativo */
  background-image:
    repeating-linear-gradient(
      0deg,
      transparent 0px,
      transparent 2px,
      rgba(255, 255, 255, 0.012) 2px,
      rgba(255, 255, 255, 0.012) 3px
    );
}

/* Placeholder state · feed en standby */
.undef-vsl-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  font-family: var(--wp--preset--font-family--mono);
}
.undef-vsl-crosshair {
  font-size: 3.5rem;
  font-weight: 100;
  color: rgba(138, 143, 150, 0.18);
  line-height: 1;
  user-select: none;
}
.undef-vsl-placeholder-code {
  font-size: 0.78rem;
  letter-spacing: 0.32em;
  color: rgba(138, 143, 150, 0.55);
  text-transform: uppercase;
}
.undef-vsl-placeholder-sub {
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  color: rgba(138, 143, 150, 0.32);
  text-transform: uppercase;
}

/* Cuando llegue el video real: usar este selector */
.undef-vsl-iframe,
.undef-vsl-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: #000;
}

/* Bottom strip · credenciales del feed */
.undef-vsl-strip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 1.25rem;
  border-top: 1px solid rgba(138, 143, 150, 0.10);
  background: rgba(5, 7, 10, 0.6);
  font-family: var(--wp--preset--font-family--mono);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(138, 143, 150, 0.45);
}

/* Mobile · monitor adaptado */
@media (max-width: 767px) {
  .undef-vsl-section {
    padding: 4rem 1.25rem;
  }
  .undef-vsl-monitor {
    margin-top: 2rem;
  }
  .undef-vsl-meta {
    gap: 1rem;
    padding: 0.75rem 1rem;
    font-size: 0.6rem;
  }
  .undef-vsl-meta-status {
    margin-left: 0;
    width: 100%;
    order: 4;
    padding-top: 0.4rem;
    border-top: 1px solid rgba(138, 143, 150, 0.08);
  }
  .undef-vsl-strip {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
    padding: 0.75rem 1rem;
  }
  .undef-vsl-placeholder-code {
    font-size: 0.7rem;
    letter-spacing: 0.25em;
  }
  .undef-vsl-placeholder-sub {
    font-size: 0.55rem;
    text-align: center;
    padding: 0 1rem;
  }
}

/* ══════════════════════════════════════════════════════════
   // 02 · PERDIDA · atmósfera rust red dominante
   --------------------------------------------------------
   Esta sección habla de pérdida operativa. Tonalidad rust
   profunda · contaminación ambiental sutil pero presente.
   El centro permanece legible · los bordes tienen tensión.
   ══════════════════════════════════════════════════════════ */

.undef-section.undef-section--perdida {
  /* Override del background grafito uniforme · especificidad doble class */
  background:
    /* Rust dominante · arco superior · simulación de luz lateral */
    radial-gradient(
      ellipse 1600px 800px at 50% -10%,
      rgba(74, 21, 21, 0.14) 0%,
      rgba(74, 21, 21, 0.08) 30%,
      rgba(74, 21, 21, 0.03) 55%,
      transparent 75%
    ),
    /* Rust lateral izquierdo · profundidad */
    radial-gradient(
      ellipse 1100px 900px at 0% 45%,
      rgba(74, 21, 21, 0.10) 0%,
      rgba(74, 21, 21, 0.04) 35%,
      transparent 65%
    ),
    /* Rust lateral derecho · simetría direccional rota */
    radial-gradient(
      ellipse 950px 850px at 100% 60%,
      rgba(74, 21, 21, 0.09) 0%,
      rgba(74, 21, 21, 0.03) 40%,
      transparent 65%
    ),
    /* Rust bajo · simboliza el "fondo del problema" */
    radial-gradient(
      ellipse 1300px 700px at 50% 110%,
      rgba(74, 21, 21, 0.08) 0%,
      transparent 60%
    ),
    /* Vignette central · preserva legibilidad del texto */
    radial-gradient(
      ellipse 900px 600px at 50% 50%,
      rgba(5, 7, 10, 0.4) 0%,
      transparent 65%
    ),
    /* Base · grafito */
    var(--ink-grafito);
  /* Padding generoso para que el texto respire dentro de la atmósfera */
  padding-top: 6rem;
  padding-bottom: 6rem;
}

/* Seam superior · ligeramente más rust para coherencia */
.undef-section.undef-section--perdida::before {
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(74, 21, 21, 0.25) 20%,
    rgba(74, 21, 21, 0.4) 50%,
    rgba(74, 21, 21, 0.25) 80%,
    transparent 100%
  );
}

/* ══════════════════════════════════════════════════════════
   // 05 · CIERRE · atmósfera rust concentrada
   --------------------------------------------------------
   Sección de cupos/cierre. Tensión final · rust converge
   hacia el centro · sensación de "el cuello de botella".
   Diferenciada de // 02 (que es más expansiva).
   ══════════════════════════════════════════════════════════ */

.undef-urgency.undef-section--cierre {
  background:
    /* Rust focal · convergencia central · "punto de cierre" */
    radial-gradient(
      ellipse 1200px 700px at 50% 50%,
      rgba(74, 21, 21, 0.13) 0%,
      rgba(74, 21, 21, 0.08) 25%,
      rgba(74, 21, 21, 0.03) 50%,
      transparent 70%
    ),
    /* Rust desde abajo · presión ascendente */
    radial-gradient(
      ellipse 1500px 600px at 50% 100%,
      rgba(74, 21, 21, 0.11) 0%,
      rgba(74, 21, 21, 0.05) 35%,
      transparent 65%
    ),
    /* Rust desde arriba · presión descendente · cierra el espacio */
    radial-gradient(
      ellipse 1500px 500px at 50% 0%,
      rgba(74, 21, 21, 0.09) 0%,
      transparent 60%
    ),
    /* Vignette más amplio · enmarca el contenido sin oscurecerlo */
    radial-gradient(
      ellipse 1100px 700px at 50% 50%,
      rgba(5, 7, 10, 0.30) 0%,
      transparent 70%
    ),
    /* Base · grafito */
    var(--ink-grafito);
  padding-top: 5rem;
  padding-bottom: 5rem;
}

/* Seam superior rojo intenso · marca de entrada al "cierre" */
.undef-urgency.undef-section--cierre::before {
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(74, 21, 21, 0.3) 15%,
    rgba(74, 21, 21, 0.5) 50%,
    rgba(74, 21, 21, 0.3) 85%,
    transparent 100%
  );
}

/* ══════════════════════════════════════════════════════════
   LAYERING GLOBAL · todas las secciones también suben
   con seam consistente · mantiene la metáfora física
   ══════════════════════════════════════════════════════════ */

.undef-section,
.undef-proof,
.undef-pricing,
.undef-urgency,
.undef-section-models {
  position: relative;
  z-index: 1;
  background: var(--ink-grafito);
}

/* Seam más tenue en transiciones internas */
.undef-section::before,
.undef-proof::before,
.undef-pricing::before,
.undef-urgency::before,
.undef-section-models::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(106, 90, 27, 0.12) 25%,
    rgba(106, 90, 27, 0.2) 50%,
    rgba(106, 90, 27, 0.12) 75%,
    transparent 100%
  );
  z-index: 2;
  pointer-events: none;
}

/* Body background match · evita "destello" si el sticky se libera */
body {
  background: var(--ink-grafito);
}

/* ── Mobile fallback · sticky off, halo reducido ───────── */
@media (max-width: 767px) {
  .undef-hero-title {
    position: relative;
    min-height: auto;
    padding: 3rem 1.25rem 2rem;
    background: var(--ink-petroleo);
  }
  .undef-hero-title::after {
    display: none;
  }
  .undef-hero-title-inner {
    animation: none;
  }
  /* Titulares: permitir wrap en mobile para que no se corten (overflow-x:hidden los recortaba) */
  .undef-headline-pre,
  .undef-headline-main {
    white-space: normal;
    overflow-wrap: break-word;
  }
  /* Centrar todo el contenido del hero en mobile */
  .undef-hero-title-inner {
    text-align: center;
  }
  .undef-hero-pretitle {
    justify-content: center;
  }
  .undef-headline .undef-paren {
    text-align: center;
  }
  .undef-sub {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }
  .undef-hero-calc-section {
    padding: 3rem 1.25rem 4rem;
  }
  /* Halo en mobile · compacto pero con presencia */
  .undef-hero-calc-content {
    animation: none !important;
    box-shadow:
      inset 0 0 0 1px rgba(138, 143, 150, 0.08),
      0 0 30px rgba(106, 90, 27, 0.10),
      0 0 80px rgba(74, 21, 21, 0.14),
      0 0 140px rgba(74, 21, 21, 0.07);
  }
}

/* ── Reveal en scroll (mobile-safe · activado por JS con IntersectionObserver) ──
   La clase base .undef-js-reveal SOLO la añade el JS. Si el JS no corre,
   el contenido queda visible por defecto (no se oculta). */
.undef-js-reveal {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 0.7s ease,
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.undef-js-reveal.is-in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .undef-js-reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ── Reduced motion · halo estable a intensidad media-alta ── */
@media (prefers-reduced-motion: reduce) {
  .undef-hero-title-inner,
  .undef-hero-calc-content {
    animation: none !important;
  }
  .undef-hero-calc-content {
    box-shadow:
      inset 0 0 0 1px rgba(138, 143, 150, 0.10),
      0 0 60px rgba(106, 90, 27, 0.14),
      0 0 150px rgba(74, 21, 21, 0.20),
      0 0 230px rgba(106, 90, 27, 0.08),
      0 0 340px rgba(74, 21, 21, 0.11);
  }
}

/* ── Legacy compat · .undef-hero por si queda referencia ── */
.undef-hero {
  border-bottom: 1px solid var(--wp--preset--color--hairline);
  padding: 4.5rem clamp(1.5rem, 4vw, 3rem) 5rem;
  position: relative;
}
.undef-hero-content {
  max-width: 880px;
  margin: 0 auto;
}
.undef-hero-main,
.undef-hero-inner {
  /* Legacy — kept for backwards compat */
  max-width: 880px;
  margin: 0 auto;
}
.undef-hero-pretitle {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

/* ── Hero Meta Sidebar (asimetría intencional) ───────────── */
.undef-hero-meta {
  display: flex;
  flex-direction: column;
  gap: 2.25rem;
  padding-left: 1.75rem;
  border-left: 1px solid var(--wp--preset--color--hairline);
  position: relative;
}
.undef-hero-meta::before {
  content: '';
  position: absolute;
  left: -1px;
  top: 0;
  width: 1px;
  height: 32px;
  background: var(--wp--preset--color--redaccion);
}
.undef-hero-meta-head {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--wp--preset--color--hairline);
}
.undef-hero-meta-code {
  font-family: var(--wp--preset--font-family--mono);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--wp--preset--color--paper);
}
.undef-hero-meta-rev {
  font-family: var(--wp--preset--font-family--mono);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--wp--preset--color--text-dim);
}
.undef-meta-block {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.undef-meta-block-label {
  font-family: var(--wp--preset--font-family--mono);
  font-size: 0.65rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--wp--preset--color--text-dim);
}
.undef-meta-block-val {
  font-family: var(--wp--preset--font-family--mono);
  font-size: 0.92rem;
  line-height: 1.45;
  letter-spacing: 0.02em;
  color: var(--wp--preset--color--paper);
}
.undef-meta-block-val-num {
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}

/* Hero colapsa a una columna en mobile */
@media (max-width: 900px) {
  .undef-hero {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 3.5rem 1.5rem 5rem;
  }
  .undef-hero-meta {
    border-left: none;
    border-top: 1px solid var(--wp--preset--color--hairline);
    padding-left: 0;
    padding-top: 2rem;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1.5rem 2.5rem;
  }
  .undef-hero-meta::before {
    top: -1px;
    left: 0;
    width: 32px;
    height: 1px;
  }
  .undef-hero-meta-head {
    flex-basis: 100%;
    padding-bottom: 0.5rem;
    border-bottom: none;
  }
  .undef-meta-block {
    flex: 0 0 calc(50% - 1.25rem);
  }
}
.undef-headline {
  font-family: 'Antonio', var(--wp--preset--font-family--display);
  font-weight: 700;
  line-height: 0.95;
  text-transform: uppercase;
  margin: 0 0 1.5rem;
}
/* Capa 1: label de categoría — tipo pit-lane tag */
.undef-headline-pre {
  display: block;
  font-family: 'Antonio', var(--wp--preset--font-family--display);
  font-size: clamp(1.5rem, 3.2vw, 2.6rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--wp--preset--color--paper);
  margin-bottom: 0.35rem;
  line-height: 1;
  white-space: nowrap;
  text-align: center;
}
/* Capa 2: nombre del vehículo — dominante, rojo carrera */
.undef-headline-main {
  display: block;
  font-family: 'Barlow Condensed', 'Antonio', var(--wp--preset--font-family--display);
  font-weight: 900;
  font-style: italic;
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  letter-spacing: 0.005em;
  color: var(--wp--preset--color--sello);
  text-align: center;
  line-height: 1;
  padding: 0.18em 0;
  position: relative;
  white-space: nowrap;
}
.undef-headline-main::before,
.undef-headline-main::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--wp--preset--color--sello), transparent);
  opacity: 0.4;
}
.undef-headline-main::before { top: 0; }
.undef-headline-main::after  { bottom: 0; }
/* Capa 3: subtexto — pequeño, discreto */
.undef-headline .undef-paren {
  display: block;
  font-family: var(--wp--preset--font-family--body);
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  font-weight: 400;
  font-style: italic;
  text-transform: none;
  letter-spacing: 0;
  color: var(--wp--preset--color--paper-soft);
  margin-top: 0.9rem;
  line-height: 1.5;
}
.undef-sub {
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--wp--preset--color--text);
  max-width: 660px;
  margin: 0 0 3rem;
}

/* ── CTA principal ──────────────────────────────────────── */
.undef-cta {
  display: inline-flex;
  flex-direction: column;
  align-items: stretch;
  background: var(--wp--preset--color--redaccion);
  color: var(--wp--preset--color--ink);
  text-decoration: none;
  padding: 1.2rem 2rem;
  border: 1px solid var(--wp--preset--color--redaccion);
  transition: background 0.2s, color 0.2s;
  text-align: left;
  min-width: 320px;
  box-sizing: border-box;
  max-width: 100%;
}
.undef-cta:hover {
  background: var(--wp--preset--color--cta-hover);
  border-color: var(--wp--preset--color--cta-hover);
}
.undef-cta-label {
  font-family: var(--wp--preset--font-family--body);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.undef-cta-meta {
  font-family: var(--wp--preset--font-family--mono);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.85;
  margin-top: 0.4rem;
}
.undef-cta-secondary {
  display: inline-block;
  font-family: var(--wp--preset--font-family--mono);
  font-size: 0.85rem;
  color: var(--wp--preset--color--paper-soft);
  margin-top: 1rem;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.undef-cta-secondary:hover { color: var(--wp--preset--color--amber); }

/* Duración meta del hero */
.undef-meta-bar {
  display: flex;
  gap: 2rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--wp--preset--color--hairline);
  flex-wrap: wrap;
}
.undef-meta-bar > div {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.undef-meta-bar .undef-meta-label {
  font-family: var(--wp--preset--font-family--mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--wp--preset--color--text-dim);
}
.undef-meta-bar .undef-meta-val {
  font-family: var(--wp--preset--font-family--mono);
  font-size: 1rem;
  color: var(--wp--preset--color--paper);
}

/* ── Section base ───────────────────────────────────────── */
.undef-section {
  border-bottom: 1px solid var(--wp--preset--color--hairline);
  padding: 6rem 1.5rem;
}
.undef-section-inner {
  max-width: 880px;
  margin: 0 auto;
}
.undef-section-header {
  margin-bottom: 4rem;
}
.undef-section-title {
  font-family: 'Antonio', var(--wp--preset--font-family--display);
  font-weight: 700;
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
  line-height: 0.95;
  color: var(--wp--preset--color--paper);
  margin: 0.5rem 0 1rem;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}
.undef-section-lead {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--wp--preset--color--text);
  max-width: 620px;
}

/* ── VSL ─────────────────────────────────────────────────── */
.undef-vsl {
  aspect-ratio: 16/9;
  background: var(--wp--preset--color--ink-deep);
  border: 1px solid var(--wp--preset--color--hairline);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--wp--preset--color--text-dim);
  font-family: var(--wp--preset--font-family--mono);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  position: relative;
}
.undef-vsl::before {
  content: "// VSL · 02:00 · POR INSERTAR";
  position: absolute;
  top: 1rem;
  left: 1rem;
  color: var(--wp--preset--color--text-dim);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
}
.undef-vsl-play {
  width: 60px;
  height: 60px;
  border: 1px solid var(--wp--preset--color--paper-soft);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--wp--preset--color--paper);
}

/* ── Offer Stack ────────────────────────────────────────── */
.undef-offer-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.undef-offer-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 2rem;
  padding: 2.25rem 0;
  border-bottom: 1px solid var(--wp--preset--color--hairline);
  align-items: baseline;
}
.undef-offer-item:first-child { border-top: 1px solid var(--wp--preset--color--hairline); }
.undef-offer-num {
  font-family: var(--wp--preset--font-family--display);
  font-style: italic;
  font-weight: 700;
  font-size: 3rem;
  line-height: 1;
  color: var(--wp--preset--color--paper-soft);
}
.undef-offer-content h3 {
  font-family: var(--wp--preset--font-family--body);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--wp--preset--color--paper);
  margin: 0 0 0.5rem;
}
.undef-offer-content p {
  color: var(--wp--preset--color--text-muted);
  font-size: 0.98rem;
  line-height: 1.55;
  margin: 0;
}
.undef-offer-price {
  font-family: var(--wp--preset--font-family--mono);
  font-size: 0.85rem;
  color: var(--wp--preset--color--text-dim);
  text-align: right;
  white-space: nowrap;
}
.undef-offer-price .undef-strike { display: block; }

.undef-offer-total {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 2px solid var(--wp--preset--color--paper-soft);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: baseline;
}
.undef-offer-total-label {
  font-family: var(--wp--preset--font-family--mono);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--wp--preset--color--text-muted);
}
.undef-offer-total-val {
  font-family: var(--wp--preset--font-family--mono);
  font-size: 1.1rem;
  color: var(--wp--preset--color--text-dim);
  text-decoration: line-through;
  text-decoration-color: var(--wp--preset--color--redaccion);
}
.undef-offer-today {
  background: var(--wp--preset--color--ink-soft);
  margin: 2rem -2rem 0;
  padding: 2rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: baseline;
  border-left: 3px solid var(--wp--preset--color--sello);
}
.undef-offer-today-label {
  font-family: var(--wp--preset--font-family--body);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--wp--preset--color--paper);
}
.undef-offer-today-val {
  font-family: var(--wp--preset--font-family--display);
  font-size: 3rem;
  font-weight: 800;
  color: var(--wp--preset--color--paper);
  line-height: 1;
  letter-spacing: -0.03em;
}

/* ── Módulos (Day 1 / Day 2) ────────────────────────────── */
.undef-day-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 3rem;
}
@media (max-width: 800px) {
  .undef-day-grid { grid-template-columns: 1fr; gap: 2rem; }
}
.undef-day {
  border: 1px solid var(--wp--preset--color--hairline);
  padding: 2rem;
}
.undef-day-label {
  font-family: var(--wp--preset--font-family--mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--wp--preset--color--sello);
  margin-bottom: 0.5rem;
}
.undef-day-title {
  font-family: var(--wp--preset--font-family--display);
  font-weight: 700;
  font-size: 1.75rem;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--wp--preset--color--paper);
  margin: 0 0 1.5rem;
}
.undef-module-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.undef-module {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--wp--preset--color--hairline);
}
.undef-module:first-child { border-top: none; padding-top: 0; }
.undef-module-num {
  font-family: var(--wp--preset--font-family--mono);
  font-size: 0.78rem;
  color: var(--wp--preset--color--text-dim);
  letter-spacing: 0.1em;
}
.undef-module-content h4 {
  font-family: var(--wp--preset--font-family--body);
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: 0.02em;
  color: var(--wp--preset--color--paper);
  margin: 0 0 0.4rem;
  text-transform: none;
}
.undef-module-content p {
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--wp--preset--color--text-muted);
  margin: 0;
}

/* ── Bullets de "qué vas a aprender" ────────────────────── */
.undef-learn-list {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
  display: grid;
  gap: 2rem;
}
.undef-learn-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--wp--preset--color--hairline);
}
.undef-learn-item:last-child { border-bottom: none; }
.undef-learn-bullet {
  font-family: var(--wp--preset--font-family--display);
  font-style: italic;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--wp--preset--color--sello);
  line-height: 1;
}
.undef-learn-item h4 {
  font-family: var(--wp--preset--font-family--body);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--wp--preset--color--paper);
  margin: 0 0 0.5rem;
}
.undef-learn-item p {
  color: var(--wp--preset--color--text-muted);
  line-height: 1.6;
  font-size: 0.98rem;
  margin: 0;
}

/* ── Urgencia ───────────────────────────────────────────── */
.undef-urgency {
  background: var(--wp--preset--color--ink-deep);
  border-top: 2px solid var(--wp--preset--color--sello);
  border-bottom: 2px solid var(--wp--preset--color--sello);
  padding: 5rem 1.5rem;
  position: relative;
}
.undef-urgency-inner {
  max-width: 880px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
@media (max-width: 800px) {
  .undef-urgency-inner { grid-template-columns: 1fr; gap: 2.5rem; }
}
.undef-urgency-stat {
  text-align: center;
  padding: 2rem;
  border: 1px solid var(--wp--preset--color--hairline);
}
.undef-urgency-stat-label {
  font-family: var(--wp--preset--font-family--mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--wp--preset--color--text-dim);
  margin-bottom: 0.75rem;
}
.undef-urgency-stat-val {
  font-family: var(--wp--preset--font-family--display);
  font-weight: 800;
  font-size: clamp(3rem, 7vw, 5rem);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--wp--preset--color--paper);
}
.undef-urgency-stat-val .undef-mono {
  font-family: var(--wp--preset--font-family--mono);
  font-size: 0.45em;
  color: var(--wp--preset--color--text-muted);
  display: block;
  margin-top: 0.5rem;
  letter-spacing: 0.1em;
}
.undef-urgency-copy h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  margin: 0 0 1rem;
  line-height: 1.1;
}
.undef-urgency-copy p {
  color: var(--wp--preset--color--text-muted);
  font-size: 1.05rem;
  line-height: 1.6;
  margin: 0 0 1rem;
}

/* ── Checkout / Disclaimer ──────────────────────────────── */
.undef-checkout {
  background: var(--wp--preset--color--ink-soft);
  border: 1px solid var(--wp--preset--color--hairline);
  padding: 3rem;
  max-width: 680px;
  margin: 3rem auto 0;
}
@media (max-width: 640px) { .undef-checkout { padding: 2rem 1.5rem; } }
.undef-disclaimer {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 1.5rem;
  background: var(--wp--preset--color--ink-deep);
  border-left: 3px solid var(--wp--preset--color--redaccion);
  margin-bottom: 2rem;
}
.undef-disclaimer input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--wp--preset--color--redaccion);
  flex-shrink: 0;
}
.undef-disclaimer label {
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--wp--preset--color--text-muted);
  cursor: pointer;
}
.undef-checkout-cta {
  display: block;
  width: 100%;
  background: var(--wp--preset--color--redaccion);
  color: var(--wp--preset--color--ink);
  font-family: var(--wp--preset--font-family--body);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 1.3rem;
  border: 1px solid var(--wp--preset--color--redaccion);
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  transition: all 0.2s;
}
.undef-checkout-cta:hover {
  background: var(--wp--preset--color--cta-hover);
  border-color: var(--wp--preset--color--cta-hover);
}
.undef-checkout-cta:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  background: var(--wp--preset--color--ink);
  color: var(--wp--preset--color--text-muted);
}
.undef-checkout-or {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.5rem 0;
  color: var(--wp--preset--color--text-dim);
  font-family: var(--wp--preset--font-family--mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.undef-checkout-or::before,
.undef-checkout-or::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--wp--preset--color--hairline);
}
.undef-wa-link {
  display: block;
  text-align: center;
  padding: 1.2rem;
  border: 1px solid var(--wp--preset--color--hairline);
  background: transparent;
  color: var(--wp--preset--color--paper);
  text-decoration: none;
  font-family: var(--wp--preset--font-family--body);
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.2s;
}
.undef-wa-link:hover {
  border-color: var(--wp--preset--color--paper);
  color: var(--wp--preset--color--paper);
}

/* ── Mid-page pricing section ───────────────────────────── */
.undef-pricing {
  background: var(--wp--preset--color--ink-deep);
  border-top: 1px solid var(--wp--preset--color--hairline);
  border-bottom: 1px solid var(--wp--preset--color--hairline);
  padding: 5rem 2rem;
}
.undef-pricing-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 5rem;
  align-items: start;
}
@media (max-width: 860px) {
  .undef-pricing-inner { grid-template-columns: 1fr; gap: 3rem; }
}
.undef-pricing-title {
  font-family: 'Antonio', var(--wp--preset--font-family--display);
  font-weight: 700;
  font-size: clamp(2rem, 3.5vw, 3rem);
  line-height: 0.95;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--wp--preset--color--paper);
  margin: 1rem 0 2rem;
}
.undef-value-stack {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.undef-vs-item {
  display: flex;
  align-items: baseline;
  gap: 1.25rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--wp--preset--color--hairline);
}
.undef-vs-item:first-child { border-top: 1px solid var(--wp--preset--color--hairline); }
.undef-vs-num {
  font-family: var(--wp--preset--font-family--mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  color: var(--wp--preset--color--redaccion);
  flex-shrink: 0;
  width: 1.8rem;
}
.undef-vs-text {
  font-family: var(--wp--preset--font-family--body);
  font-size: 0.97rem;
  color: var(--wp--preset--color--text);
  line-height: 1.5;
}
.undef-vs-text strong {
  color: var(--wp--preset--color--paper);
  font-weight: 600;
}
.undef-price-box {
  background: var(--wp--preset--color--ink-soft);
  border: 1px solid var(--wp--preset--color--hairline);
  border-top: 3px solid var(--wp--preset--color--redaccion);
  padding: 2.5rem;
  position: sticky;
  top: 2rem;
}
.undef-price-label {
  font-family: var(--wp--preset--font-family--mono);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--wp--preset--color--text-muted);
  margin-bottom: 0.75rem;
}
.undef-price-main {
  font-family: var(--wp--preset--font-family--display);
  font-weight: 800;
  font-size: clamp(3rem, 6vw, 4rem);
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--wp--preset--color--paper);
  margin-bottom: 1.25rem;
  display: block;
}
.undef-price-context {
  font-family: var(--wp--preset--font-family--body);
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--wp--preset--color--text-muted);
  margin-bottom: 2rem;
  display: block;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--wp--preset--color--hairline);
}
.undef-price-context em {
  color: var(--wp--preset--color--redaccion);
  font-style: normal;
  font-weight: 600;
}
.undef-pricing-cta {
  display: block;
  width: 100%;
  background: var(--wp--preset--color--redaccion);
  color: var(--wp--preset--color--ink);
  font-family: var(--wp--preset--font-family--body);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 1.2rem;
  text-decoration: none;
  text-align: center;
  transition: background 0.2s;
  margin-bottom: 1rem;
}
.undef-pricing-cta:hover {
  background: var(--wp--preset--color--cta-hover);
  color: var(--wp--preset--color--ink);
}
.undef-price-urgency {
  font-family: var(--wp--preset--font-family--mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--wp--preset--color--text-dim);
  text-align: center;
}

/* ── Checkout value recap ────────────────────────────────── */
.undef-checkout-recap {
  margin-bottom: 2rem;
  border: 1px solid var(--wp--preset--color--hairline);
}
.undef-checkout-recap-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid var(--wp--preset--color--hairline);
  font-family: var(--wp--preset--font-family--body);
  font-size: 0.92rem;
  color: var(--wp--preset--color--text);
  gap: 1rem;
}
.undef-checkout-recap-check {
  color: var(--wp--preset--color--redaccion);
  font-family: var(--wp--preset--font-family--mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  flex-shrink: 0;
}
.undef-checkout-recap-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.1rem 1.25rem;
  background: var(--wp--preset--color--ink-deep);
  font-family: var(--wp--preset--font-family--body);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--wp--preset--color--paper);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.undef-checkout-price {
  font-family: var(--wp--preset--font-family--display);
  font-weight: 800;
  font-size: 1.75rem;
  letter-spacing: -0.02em;
  color: var(--wp--preset--color--redaccion);
}

/* ── Live ticker (cupos / timer en hero) ────────────────── */
.undef-ticker {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--wp--preset--font-family--mono);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--wp--preset--color--text-muted);
}
.undef-ticker-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--wp--preset--color--redaccion);
  box-shadow: 0 0 6px var(--wp--preset--color--redaccion);
  animation: undef-pulse 1.6s infinite;
}
@keyframes undef-pulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.3; }
}

/* ── Footer / sello de página ───────────────────────────── */
.undef-page-mark {
  font-family: var(--wp--preset--font-family--mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--wp--preset--color--text-dim);
  text-align: center;
  padding: 2rem 1rem;
  border-top: 1px solid var(--wp--preset--color--hairline);
}

/* ── Manifiesto / quote pull ────────────────────────────── */
.undef-pull-quote {
  font-family: var(--wp--preset--font-family--display);
  font-style: italic;
  font-weight: 700;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  line-height: 1.2;
  color: var(--wp--preset--color--paper);
  max-width: 760px;
  margin: 2rem 0;
  border-left: 3px solid var(--wp--preset--color--sello);
  padding-left: 2rem;
}
.undef-pull-quote-attr {
  font-family: var(--wp--preset--font-family--mono);
  font-style: normal;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--wp--preset--color--text-muted);
  margin-top: 1.5rem;
  display: block;
}

/* ── Document Metadata (asimetría intencional) ──────────── */
.undef-doc-meta {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-family: var(--wp--preset--font-family--mono);
  font-size: 0.62rem;
  line-height: 1.85;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--wp--preset--color--text-dim);
  text-align: right;
  opacity: 0.75;
  padding-left: 1rem;
  border-left: 1px solid var(--wp--preset--color--hairline);
  z-index: 1;
}
@media (max-width: 700px) {
  .undef-doc-meta { display: none; }
}

/* ── Diagnostic Pre-Hero (Movimiento 1) ─────────────────── */
.undef-diagnostic {
  background: var(--wp--preset--color--ink-deep);
  border-bottom: 1px solid var(--wp--preset--color--hairline);
  padding: 2rem 1.5rem;
}
.undef-diagnostic-inner {
  max-width: 880px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 2rem;
  align-items: start;
}
.undef-diagnostic-code {
  font-family: var(--wp--preset--font-family--mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--wp--preset--color--text-dim);
  padding-top: 0.2rem;
}
.undef-diagnostic-body {
  font-family: var(--wp--preset--font-family--mono);
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--wp--preset--color--text-muted);
  margin: 0;
  max-width: 560px;
}

/* ── Observations List (Movimiento 2) ───────────────────── */
.undef-observations-list {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: none;
}
.undef-observation {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 2rem;
  padding: 2rem 0;
  border-top: 1px solid var(--wp--preset--color--hairline);
  align-items: baseline;
}
.undef-observation:last-child {
  border-bottom: 1px solid var(--wp--preset--color--hairline);
}
.undef-observation-num {
  font-family: var(--wp--preset--font-family--mono);
  font-size: 0.85rem;
  color: var(--wp--preset--color--sello);
  letter-spacing: 0.1em;
}
.undef-observation p {
  font-family: var(--wp--preset--font-family--body);
  font-size: 1.15rem;
  font-weight: 500;
  line-height: 1.55;
  color: var(--wp--preset--color--paper);
  margin: 0;
  max-width: 680px;
}

/* ── Friction Disclaimer (Movimiento 4) ─────────────────── */
.undef-friction {
  padding: 1.75rem;
  background: var(--wp--preset--color--ink-deep);
  border-left: 3px solid var(--wp--preset--color--redaccion);
  margin-bottom: 2rem;
}
.undef-friction-label {
  font-family: var(--wp--preset--font-family--mono);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--wp--preset--color--redaccion);
  margin-bottom: 1.25rem;
}
.undef-friction-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.undef-friction-list li {
  font-size: 0.95rem;
  line-height: 1.45;
  color: var(--wp--preset--color--paper);
  padding-left: 1.1rem;
  position: relative;
}
.undef-friction-list li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--wp--preset--color--text-dim);
}
.undef-friction-note {
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--wp--preset--color--text-muted);
  margin: 0 0 1.5rem;
}
.undef-friction-confirm {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding-top: 1.25rem;
  border-top: 1px solid var(--wp--preset--color--hairline);
}
.undef-friction-confirm input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--wp--preset--color--redaccion);
  flex-shrink: 0;
}
.undef-friction-confirm label {
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--wp--preset--color--paper);
  cursor: pointer;
}

/* ── Checkout Meta (Movimiento 5: precio fuera del CTA) ──── */
.undef-checkout-meta {
  font-family: var(--wp--preset--font-family--mono);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--wp--preset--color--text-dim);
  text-align: center;
  margin: 1rem 0 2rem;
}

/* ── Operational Footer Note ────────────────────────────── */
.undef-operational-note {
  font-family: var(--wp--preset--font-family--mono);
  font-size: 0.7rem;
  line-height: 1.7;
  color: var(--wp--preset--color--text-dim);
  text-align: center;
  margin: 5rem auto 0;
  max-width: 540px;
  letter-spacing: 0.05em;
  padding-top: 2rem;
  border-top: 1px solid var(--wp--preset--color--hairline);
}

/* ============================================================
   HERO MINI-CALCULADORA — money shot del landing
   ============================================================ */
.undef-hero-calc {
  background: var(--wp--preset--color--ink-soft);
  border: 1px solid var(--wp--preset--color--hairline);
  margin: 2.75rem 0 2rem;
  padding: 2rem;
  position: relative;
}
.undef-calc-preview-badge {
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  background: linear-gradient(90deg, var(--wp--preset--color--redaccion) 0%, #ff4444 100%);
  color: #fff;
  font-family: var(--wp--preset--font-family--mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
  padding: 0.5rem 0.75rem;
  line-height: 1;
  z-index: 10;
  animation: undef-preview-glow 2.5s ease-in-out infinite;
}
@keyframes undef-preview-glow {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}
.undef-hero-calc::before {
  content: '';
  position: absolute;
  top: -1px;
  left: -1px;
  width: 48px;
  height: 1px;
  background: var(--wp--preset--color--redaccion);
}
.undef-hero-calc-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding-bottom: 1.25rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--wp--preset--color--hairline);
}
.undef-hero-calc-code {
  font-family: var(--wp--preset--font-family--mono);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--wp--preset--color--paper);
}
.undef-hero-calc-status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--wp--preset--font-family--mono);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--wp--preset--color--text-muted);
}
.undef-hero-calc-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--wp--preset--color--redaccion);
  box-shadow: 0 0 5px var(--wp--preset--color--redaccion);
  animation: undef-pulse 1.6s infinite;
}

.undef-hero-calc-beta-note {
  background: rgba(220, 231, 117, 0.08);
  border-left: 3px solid var(--wp--preset--color--redaccion);
  padding: 0.85rem 1.1rem;
  margin-bottom: 1.5rem;
  font-family: var(--wp--preset--font-family--body);
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--wp--preset--color--paper);
}
.undef-hero-calc-beta-note strong {
  color: var(--wp--preset--color--redaccion);
  font-weight: 700;
}
.undef-hero-calc-inputs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.75rem;
}
.undef-hero-calc-field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.undef-hero-calc-field-full {
  grid-column: 1 / -1;
}
/* 4-dropdown cascade row */
.undef-hero-calc-cascade {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.undef-hero-calc-field-shipping {
  position: relative;
}
.undef-hero-calc-static {
  background: var(--wp--preset--color--ink-deep);
  border: 1px solid var(--wp--preset--color--hairline);
  color: var(--wp--preset--color--text-muted);
  padding: 0.85rem 1rem;
  font-family: var(--wp--preset--font-family--mono);
  font-size: 1rem;
  letter-spacing: 0.01em;
  display: flex;
  align-items: center;
  position: relative;
}
.undef-hero-calc-static::after {
  content: 'FIJO';
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--wp--preset--font-family--mono);
  font-size: 0.55rem;
  letter-spacing: 0.2em;
  color: var(--wp--preset--color--text-dim);
  padding: 0.2rem 0.4rem;
  border: 1px solid var(--wp--preset--color--hairline);
}
.undef-hero-calc select:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.undef-hero-calc select:disabled:hover {
  border-color: var(--wp--preset--color--hairline);
}
.undef-hero-calc-label {
  font-family: var(--wp--preset--font-family--mono);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--wp--preset--color--text);
}
.undef-hero-calc input[type="number"],
.undef-hero-calc select {
  background: var(--wp--preset--color--ink);
  border: 1px solid var(--wp--preset--color--hairline);
  color: var(--wp--preset--color--paper);
  padding: 0.85rem 1rem;
  font-family: var(--wp--preset--font-family--mono);
  font-size: 1rem;
  letter-spacing: 0.01em;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
  width: 100%;
  cursor: pointer;
}
.undef-hero-calc input[type="number"]:focus,
.undef-hero-calc select:focus {
  border-color: var(--wp--preset--color--redaccion);
  background: var(--wp--preset--color--ink-deep);
}
.undef-hero-calc input[type="number"]:hover,
.undef-hero-calc select:hover {
  border-color: var(--wp--preset--color--text-dim);
}
.undef-hero-calc select {
  background-image:
    linear-gradient(45deg, transparent 50%, var(--wp--preset--color--text-muted) 50%),
    linear-gradient(135deg, var(--wp--preset--color--text-muted) 50%, transparent 50%);
  background-position:
    calc(100% - 16px) 50%,
    calc(100% - 11px) 50%;
  background-size: 5px 5px;
  background-repeat: no-repeat;
  padding-right: 2.5rem;
}
.undef-hero-calc-toggle {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  padding: 0.65rem 0 0.25rem;
  user-select: none;
}
.undef-hero-calc-toggle input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--wp--preset--color--redaccion);
  flex-shrink: 0;
}
.undef-hero-calc-toggle span {
  font-family: var(--wp--preset--font-family--body);
  font-size: 0.92rem;
  line-height: 1.4;
  color: var(--wp--preset--color--paper);
  letter-spacing: 0;
  text-transform: none;
}

.undef-hero-calc-result {
  background: var(--wp--preset--color--ink-deep);
  border-left: 3px solid var(--wp--preset--color--redaccion);
  padding: 1.5rem 1.75rem;
  margin-bottom: 1.25rem;
}

/* DGA value row — the unique selling point */
.undef-hero-calc-dga-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding-bottom: 1.25rem;
}
.undef-hero-calc-dga-left {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.undef-hero-calc-dga-label {
  font-family: var(--wp--preset--font-family--mono);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--wp--preset--color--redaccion);
}
.undef-hero-calc-dga-val {
  font-family: var(--wp--preset--font-family--mono);
  font-size: 1.75rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--wp--preset--color--paper);
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}
.undef-hero-calc-dga-hint {
  font-family: var(--wp--preset--font-family--mono);
  font-size: 0.72rem;
  line-height: 1.45;
  letter-spacing: 0.05em;
  color: var(--wp--preset--color--text);
  max-width: 240px;
  text-align: right;
}
.undef-hero-calc-divider {
  height: 1px;
  background: var(--wp--preset--color--hairline);
  margin-bottom: 1.25rem;
}

.undef-hero-calc-result-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 0.5rem;
  flex-wrap: wrap;
}
.undef-hero-calc-result-label {
  font-family: var(--wp--preset--font-family--mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--wp--preset--color--text-muted);
}
.undef-hero-calc-result-coverage {
  font-family: var(--wp--preset--font-family--mono);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--wp--preset--color--redaccion);
  padding: 0.2rem 0.5rem;
  border: 1px solid currentColor;
}
.undef-hero-calc-total-usd {
  font-family: var(--wp--preset--font-family--display);
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  font-weight: 800;
  line-height: 1;
  color: var(--wp--preset--color--paper);
  letter-spacing: -0.03em;
  margin-bottom: 0.35rem;
  font-variant-numeric: tabular-nums;
}
.undef-hero-calc-total-dop {
  font-family: var(--wp--preset--font-family--mono);
  font-size: 1rem;
  color: var(--wp--preset--color--text-muted);
  font-variant-numeric: tabular-nums;
  margin-bottom: 1.5rem;
}
.undef-hero-calc-breakdown {
  display: flex;
  gap: 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--wp--preset--color--hairline);
}
.undef-hero-calc-breakdown-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 0 0.5rem;
}
.undef-hero-calc-breakdown-item:first-child { padding-left: 0; }
.undef-hero-calc-breakdown-item:last-child  { padding-right: 0; }
.undef-hero-calc-breakdown-divider {
  width: 1px;
  background: var(--wp--preset--color--hairline);
  align-self: stretch;
}
.undef-hero-calc-bd-label {
  font-family: var(--wp--preset--font-family--mono);
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--wp--preset--color--text-muted);
}
.undef-hero-calc-bd-val {
  font-family: var(--wp--preset--font-family--mono);
  font-size: 1.1rem;
  color: var(--wp--preset--color--paper);
  font-variant-numeric: tabular-nums;
}
.undef-hero-calc-disclosure {
  font-family: var(--wp--preset--font-family--mono);
  font-size: 0.7rem;
  line-height: 1.55;
  color: var(--wp--preset--color--text-dim);
  letter-spacing: 0.03em;
  margin: 0;
}

/* ─────────────────────────────────────────────────────────
   PREVIEW · ESTADO DE PRESENTACIÓN (post-cálculo)
   ─────────────────────────────────────────────────────────
   Después del primer cálculo válido entra modo "showcase":
   inputs se desvanecen, resultado gana peso, indicador "congelado"
   aparece, CTA gana fuerza visual. Refrescar para recalcular.
   Transiciones largas (700-900ms) para que se sienta deliberado,
   no instantáneo.
   ───────────────────────────────────────────────────────── */

/* Frozen indicator · oculto por default · solo visible cuando .undef-hero-calc--locked */
.undef-hero-calc-frozen {
  display: none;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px dashed rgba(220, 231, 117, 0.18);
  font-family: var(--wp--preset--font-family--jetbrains-mono, ui-monospace, monospace);
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--wp--preset--color--text-dim, #8a8478);
}

.undef-hero-calc-frozen-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--wp--preset--color--redaccion);
  box-shadow: 0 0 0 3px rgba(220, 231, 117, 0.12);
  /* Pulso muy lento · señal de "sistema vivo pero congelado" */
  animation: undef-frozen-pulse 2.6s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes undef-frozen-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.55; transform: scale(0.92); }
}

/* ─── PROCESSING · breve momento "el sistema evalúa" ───
   Aparece tras 1.5s de quietud con data válida. Dura 950ms,
   luego transiciona al estado "locked". */
.undef-hero-calc--processing .undef-hero-calc-result {
  /* Pulso sutil · sin scanline ni spinner · solo respiración del panel */
  animation: undef-processing-breathe 950ms cubic-bezier(0.4, 0, 0.4, 1);
}

@keyframes undef-processing-breathe {
  0%   { transform: translateY(0); opacity: 1; }
  35%  { transform: translateY(-1px); opacity: 0.85; }
  70%  { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(0); opacity: 1; }
}

/* INPUTS · datos de referencia ya procesados · visibles pero inertes.
   No es "bloqueado" · es "consultado pero no editable". */
.undef-hero-calc--locked .undef-hero-calc-inputs {
  opacity: 0.5;
  pointer-events: none;
  filter: saturate(0.55);
  transition: opacity 900ms cubic-bezier(0.2, 0, 0, 1),
              filter  900ms cubic-bezier(0.2, 0, 0, 1);
}

/* Cursores e interacciones · eliminamos cualquier afordance de edición */
.undef-hero-calc--locked .undef-hero-calc-inputs *,
.undef-hero-calc--locked .undef-hero-calc-inputs select,
.undef-hero-calc--locked .undef-hero-calc-inputs input,
.undef-hero-calc--locked .undef-hero-calc-toggle,
.undef-hero-calc--locked .undef-hero-calc-toggle * {
  cursor: default !important;
}

/* Estados hover · neutralizados · el campo no responde a la mirada */
.undef-hero-calc--locked .undef-hero-calc-inputs *:hover,
.undef-hero-calc--locked .undef-hero-calc-inputs select:hover,
.undef-hero-calc--locked .undef-hero-calc-inputs input:hover {
  border-color: inherit !important;
  background: inherit !important;
  color: inherit !important;
  box-shadow: none !important;
}

/* RESULTADO · gana peso · se vuelve el protagonista */
.undef-hero-calc--locked .undef-hero-calc-result {
  /* Borde izquierdo más fuerte + glow perimetral controlado */
  border-left-width: 4px;
  box-shadow:
    0 0 0 1px rgba(220, 231, 117, 0.10),
    0 24px 60px -24px rgba(0, 0, 0, 0.55),
    0 8px 24px -12px rgba(220, 231, 117, 0.06);
  transition: box-shadow 900ms cubic-bezier(0.2, 0, 0, 1),
              border-left-width 600ms cubic-bezier(0.2, 0, 0, 1);
}

/* Mostrar el indicador "congelado" */
.undef-hero-calc--locked .undef-hero-calc-frozen {
  display: flex;
  animation: undef-frozen-enter 600ms cubic-bezier(0.2, 0, 0, 1) 300ms both;
}

@keyframes undef-frozen-enter {
  from { opacity: 0; transform: translateY(4px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* CTA · gana presencia tras el cálculo */
.undef-hero-calc-content--locked .undef-cta {
  /* Resalte sutil del borde + sombra más profunda */
  box-shadow:
    0 0 0 1px rgba(220, 231, 117, 0.18),
    0 18px 44px -16px rgba(220, 231, 117, 0.18),
    0 8px 18px -8px rgba(0, 0, 0, 0.4);
  transform: translateY(-1px);
  transition: box-shadow 700ms cubic-bezier(0.2, 0, 0, 1),
              transform  700ms cubic-bezier(0.2, 0, 0, 1);
}

/* Reduced motion · cumple WCAG · cero animaciones cinematográficas */
@media (prefers-reduced-motion: reduce) {
  .undef-hero-calc-frozen-dot { animation: none; }
  .undef-hero-calc--processing .undef-hero-calc-result { animation: none; }
  .undef-hero-calc--locked .undef-hero-calc-inputs,
  .undef-hero-calc--locked .undef-hero-calc-result,
  .undef-hero-calc-content--locked .undef-cta {
    transition: none;
  }
  .undef-hero-calc--locked .undef-hero-calc-frozen { animation: none; }
}

/* Calc responsive */
@media (max-width: 640px) {
  .undef-hero-calc { padding: 1.5rem; margin: 2rem 0 1.5rem; }
  .undef-hero-calc-header {
    flex-direction: column;
    gap: 0.4rem;
    align-items: flex-start;
  }
  .undef-hero-calc-inputs { grid-template-columns: 1fr; gap: 1rem; }
  .undef-hero-calc-cascade { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
  .undef-hero-calc-dga-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
  .undef-hero-calc-dga-hint {
    text-align: left;
    max-width: none;
  }
  .undef-hero-calc-dga-val { font-size: 1.5rem; }
  .undef-hero-calc-breakdown {
    flex-direction: column;
    gap: 0.75rem;
  }
  .undef-hero-calc-breakdown-item { padding: 0; }
  .undef-hero-calc-breakdown-divider { display: none; }
}

/* ============================================================
   STATS GRID — // 01 REALIDAD DEL MERCADO
   ============================================================ */
.undef-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  margin-top: 3rem;
  border-top: 1px solid var(--wp--preset--color--hairline);
  border-left: 1px solid var(--wp--preset--color--hairline);
}
.undef-stat-cell {
  padding: 2.5rem 2rem;
  border-right: 1px solid var(--wp--preset--color--hairline);
  border-bottom: 1px solid var(--wp--preset--color--hairline);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  position: relative;
  transition: background 0.3s ease;
}
.undef-stat-cell:hover {
  background: linear-gradient(
    135deg,
    rgba(220, 231, 117, 0.025) 0%,
    transparent 70%
  );
}
.undef-stat-num {
  font-family: var(--wp--preset--font-family--display);
  font-size: clamp(3.5rem, 7vw, 5.5rem);
  font-weight: 800;
  line-height: 0.95;
  color: var(--wp--preset--color--paper);
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
  display: inline-block;
}
.undef-stat-num-suffix {
  font-size: 0.55em;
  letter-spacing: -0.02em;
  margin-left: 0.05em;
}
.undef-stat-label {
  font-family: var(--wp--preset--font-family--mono);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--wp--preset--color--redaccion);
  margin-bottom: 0.5rem;
}
.undef-stat-body {
  font-family: var(--wp--preset--font-family--body);
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--wp--preset--color--text);
  margin: 0;
  max-width: 360px;
}

@media (max-width: 700px) {
  .undef-stats-grid { grid-template-columns: 1fr; }
  .undef-stat-cell { padding: 2rem 1.5rem; }
}

/* ============================================================
   PROGRAM (dentro de // 03 LA SOLUCIÓN)
   ============================================================ */
.undef-program {
  margin-top: 5rem;
  padding-top: 3rem;
  border-top: 1px solid var(--wp--preset--color--hairline);
}
.undef-program-eyebrow {
  display: inline-block;
  font-family: var(--wp--preset--font-family--mono);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--wp--preset--color--redaccion);
  margin-bottom: 1rem;
}
.undef-program-lead {
  font-family: var(--wp--preset--font-family--body);
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--wp--preset--color--text);
  margin: 0 0 2rem;
  max-width: 620px;
}

/* ============================================================
   EXPECTATIVAS REALES — // 05
   ============================================================ */
.undef-expectations-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-top: 3rem;
  border: 1px solid var(--wp--preset--color--hairline);
}
.undef-expectations-card {
  padding: 2.5rem 2rem;
  position: relative;
}
.undef-expectations-card:first-child {
  border-right: 1px solid var(--wp--preset--color--hairline);
}
.undef-expectations-card-alt {
  background: var(--wp--preset--color--ink-deep);
}
.undef-expectations-eyebrow {
  display: inline-block;
  font-family: var(--wp--preset--font-family--mono);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--wp--preset--color--paper);
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--wp--preset--color--hairline);
}
.undef-expectations-card-alt .undef-expectations-eyebrow {
  color: var(--wp--preset--color--redaccion);
}
.undef-expectations-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.undef-expectations-list li {
  font-family: var(--wp--preset--font-family--body);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--wp--preset--color--paper);
  padding-left: 1.5rem;
  position: relative;
}
.undef-expectations-list li::before {
  content: '+';
  position: absolute;
  left: 0;
  font-family: var(--wp--preset--font-family--mono);
  font-size: 0.95rem;
  color: var(--wp--preset--color--text-dim);
  line-height: 1.5;
}
.undef-expectations-card-alt .undef-expectations-list li::before {
  content: '~';
  color: var(--wp--preset--color--redaccion);
}

@media (max-width: 700px) {
  .undef-expectations-grid { grid-template-columns: 1fr; }
  .undef-expectations-card { padding: 2rem 1.5rem; }
  .undef-expectations-card:first-child {
    border-right: none;
    border-bottom: 1px solid var(--wp--preset--color--hairline);
  }
}

/* ── Honesty Note (transparencia primera generación) ────── */
.undef-honesty-note {
  margin-top: 3rem;
  padding: 2rem 2.25rem;
  background: var(--wp--preset--color--ink-deep);
  border: 1px solid var(--wp--preset--color--hairline);
  border-left: 3px solid var(--wp--preset--color--text-dim);
  position: relative;
}
.undef-honesty-eyebrow {
  display: inline-block;
  font-family: var(--wp--preset--font-family--mono);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--wp--preset--color--text-dim);
  margin-bottom: 1rem;
}
.undef-honesty-note p {
  font-family: var(--wp--preset--font-family--body);
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--wp--preset--color--text);
  margin: 0 0 1rem;
}
.undef-honesty-note p:last-child { margin-bottom: 0; }

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 800px) {
  .undef-diagnostic-inner { grid-template-columns: 1fr; gap: 0.75rem; }
  .undef-observation { grid-template-columns: 50px 1fr; gap: 1rem; }
}

@media (max-width: 640px) {
  .undef-hero { padding: 3rem 1.25rem 4rem; }
  .undef-section { padding: 4rem 1.25rem; }
  .undef-offer-item { grid-template-columns: 50px 1fr; }
  .undef-offer-price { grid-column: 1 / -1; text-align: left; padding-left: calc(50px + 2rem); margin-top: 0.5rem; }
  .undef-offer-today { margin: 1.5rem -1.25rem 0; padding: 1.5rem 1.25rem; }
  .undef-cta { min-width: auto; width: 100%; }
  .undef-friction { padding: 1.25rem; }
}

/* ============================================================
   MOTION CHOREOGRAPHY — Page load orchestration
   Una sola entrada coreografiada. Datos cargando, no marketing.
   ============================================================ */

/* ── Sticky CTA — aparece al scroll, ancla en bottom ───── */
.undef-sticky-cta {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%) translateY(140%);
  background: var(--wp--preset--color--redaccion);
  color: var(--wp--preset--color--ink);
  font-family: var(--wp--preset--font-family--body);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 1.05rem 2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 90;
  box-shadow:
    0 14px 40px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(220, 231, 117, 0.4);
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s;
  opacity: 0;
  pointer-events: none;
  white-space: nowrap;
}
.undef-sticky-cta.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
/* "Incorporación" — el botón flotante se asienta hacia el botón estático
   de la sección de pricing. Compresión hacia abajo + escala + fade,
   con easing que arranca lento y acelera al final (feel de "settling"). */
.undef-sticky-cta.is-merging {
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(45%) scale(0.82);
  transition:
    transform 0.55s cubic-bezier(0.55, 0.06, 0.68, 0.19),
    opacity   0.45s ease-in;
}
.undef-sticky-cta:hover {
  background: var(--wp--preset--color--cta-hover);
  color: var(--wp--preset--color--ink);
}
.undef-sticky-cta-arrow {
  display: inline-block;
  transition: transform 0.2s;
}
.undef-sticky-cta:hover .undef-sticky-cta-arrow {
  transform: translateX(3px);
}
.undef-sticky-cta-price {
  font-family: var(--wp--preset--font-family--mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  padding-left: 0.85rem;
  margin-left: 0.25rem;
  border-left: 1px solid rgba(13, 17, 23, 0.4);
  opacity: 0.85;
}
@media (max-width: 640px) {
  .undef-sticky-cta {
    bottom: 1rem;
    padding: 0.85rem 1.3rem;
    font-size: 0.78rem;
    letter-spacing: 0.06em;
  }
  .undef-sticky-cta-price { display: none; }
}

/* ── Low-stock banner (≤20 cupos) ───────────────────────── */
.undef-low-stock {
  display: none;
  background: var(--wp--preset--color--sello);
  padding: 0.75rem 1.5rem;
  text-align: center;
  position: sticky;
  top: 0;
  z-index: 100;
}
.undef-low-stock-inner {
  font-family: var(--wp--preset--font-family--mono);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}
.undef-low-stock-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff;
  animation: undef-pulse 1.2s ease-in-out infinite;
  flex-shrink: 0;
}
.undef-low-stock strong {
  color: #fff;
}

/* ── Early adopter badge ─────────────────────────────────── */
.undef-early-badge {
  display: inline-block;
  background: var(--wp--preset--color--sello);
  color: #fff;
  font-family: var(--wp--preset--font-family--mono);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
  margin-bottom: 0.75rem;
}

/* ── Social proof section · zona telemetría con grid sutil ──── */
.undef-proof {
  border-bottom: 1px solid var(--wp--preset--color--hairline);
  padding: 5rem 1.5rem;
  background:
    linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    var(--wp--preset--color--ink);
  background-size: 48px 48px;
  background-position: 0 0;
  position: relative;
}
.undef-proof::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 80% 50% at 50% 100%,
    rgba(13, 17, 23, 0.85) 0%,
    transparent 70%
  );
  pointer-events: none;
}
.undef-proof > * { position: relative; z-index: 1; }
.undef-proof-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.undef-proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--wp--preset--color--hairline);
  margin-top: 3rem;
}
@media (max-width: 860px) {
  .undef-proof-grid { grid-template-columns: 1fr; }
}
.undef-proof-card {
  background: var(--wp--preset--color--ink-deep);
  padding: 2rem;
  position: relative;
  overflow: hidden;
}
.undef-proof-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--wp--preset--color--sello);
}
.undef-proof-flip::before {
  background: var(--wp--preset--color--redaccion);
}
.undef-proof-vehicle {
  font-family: 'Antonio', var(--wp--preset--font-family--display);
  font-size: 1.4rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--wp--preset--color--paper);
  letter-spacing: 0.02em;
  margin-bottom: 0.25rem;
}
.undef-proof-vin {
  font-family: var(--wp--preset--font-family--mono);
  font-size: 0.62rem;
  letter-spacing: 0.15em;
  color: var(--wp--preset--color--text-dim);
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--wp--preset--color--hairline);
}
.undef-proof-rows {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}
.undef-proof-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-family: var(--wp--preset--font-family--mono);
  font-size: 0.78rem;
}
.undef-proof-row-label {
  color: var(--wp--preset--color--text-muted);
  letter-spacing: 0.05em;
}
.undef-proof-row-val {
  color: var(--wp--preset--color--text);
  font-variant-numeric: tabular-nums;
}
.undef-proof-margin {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-top: 1rem;
  border-top: 1px solid var(--wp--preset--color--hairline);
}
.undef-proof-margin-label {
  font-family: var(--wp--preset--font-family--mono);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--wp--preset--color--text-muted);
}
.undef-proof-margin-val {
  font-family: 'Antonio', var(--wp--preset--font-family--display);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--wp--preset--color--sello);
}
.undef-proof-flip .undef-proof-margin-val {
  color: var(--wp--preset--color--redaccion);
}
.undef-proof-tag {
  display: inline-block;
  font-family: var(--wp--preset--font-family--mono);
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--wp--preset--color--text-dim);
  border: 1px solid var(--wp--preset--color--hairline);
  padding: 0.2rem 0.5rem;
  margin-bottom: 1rem;
}
/* CTA debajo del grid de casos verificables */
.undef-proof-cta-wrap {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
}
.undef-proof-cta {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  background: var(--wp--preset--color--redaccion);
  color: var(--wp--preset--color--ink);
  font-family: var(--wp--preset--font-family--body);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 1.2rem 2.5rem;
  text-decoration: none;
  border: 1px solid var(--wp--preset--color--redaccion);
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.undef-proof-cta:hover {
  background: var(--wp--preset--color--cta-hover);
  border-color: var(--wp--preset--color--cta-hover);
  color: var(--wp--preset--color--ink);
}
.undef-proof-cta-arrow {
  display: inline-block;
  transition: transform 0.2s;
}
.undef-proof-cta:hover .undef-proof-cta-arrow {
  transform: translateX(4px);
}
.undef-proof-cta-meta {
  font-family: var(--wp--preset--font-family--mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--wp--preset--color--text-muted);
  margin: 0;
}
@media (max-width: 640px) {
  .undef-proof-cta { padding: 1rem 1.5rem; font-size: 0.9rem; text-align: center; }
}

/* ── Instrumentos del tablero — Stats con graficos ──────── */
.undef-instrument {
  margin-bottom: 1.5rem;
  position: relative;
  color: var(--wp--preset--color--paper);
}

/* Card pasiva — los instrumentos reaccionan al pasar el mouse encima */
.undef-stat-cell {
  -webkit-tap-highlight-color: transparent;
}

/* Card 1 · Barras segmentadas (fuel gauge style) */
.undef-instrument-segments {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.undef-seg-label {
  font-family: var(--wp--preset--font-family--mono);
  font-size: 0.55rem;
  letter-spacing: 0.18em;
  color: var(--wp--preset--color--redaccion);
  flex-shrink: 0;
  white-space: nowrap;
}
.undef-seg-label-r {
  color: var(--wp--preset--color--sello);
}
.undef-seg-track {
  display: flex;
  gap: 2px;
  flex: 1;
}
.undef-seg {
  flex: 1;
  height: 18px;
  border-top: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
}
.undef-seg-on {
  background: var(--wp--preset--color--redaccion);
  color: var(--wp--preset--color--redaccion);
}
.undef-seg-off {
  background: var(--wp--preset--color--sello);
  color: var(--wp--preset--color--sello);
  opacity: 0.45;
}

/* Card 2 · Velocímetro semi-circular */
.undef-instrument-gauge {
  display: flex;
  justify-content: flex-start;
  color: var(--wp--preset--color--paper);
}
.undef-instrument-gauge svg {
  width: 130px;
  height: auto;
  display: block;
}

/* Card 3 · Comparación dual */
.undef-instrument-dual {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.undef-dual-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.undef-dual-tag {
  font-family: var(--wp--preset--font-family--mono);
  font-size: 0.55rem;
  letter-spacing: 0.15em;
  color: var(--wp--preset--color--redaccion);
  width: 5.5rem;
  flex-shrink: 0;
}
.undef-dual-tag-warn { color: var(--wp--preset--color--sello); }
.undef-dual-bar {
  flex: 1;
  height: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--wp--preset--color--hairline);
  position: relative;
}
.undef-dual-fill {
  height: 100%;
  background: var(--wp--preset--color--redaccion);
}
.undef-dual-fill-warn {
  background: var(--wp--preset--color--sello);
  box-shadow: 0 0 8px rgba(224, 32, 32, 0.4);
}

/* Card 4 · Triángulo de advertencia (check engine) */
.undef-instrument-warning {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.undef-instrument-warning svg {
  width: 56px;
  height: auto;
  display: block;
  filter: drop-shadow(0 0 6px rgba(224, 32, 32, 0.35));
  animation: undef-warn-pulse 1.6s ease-in-out infinite;
}
.undef-warning-code {
  font-family: var(--wp--preset--font-family--mono);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  color: var(--wp--preset--color--sello);
  padding: 0.25rem 0.55rem;
  border: 1px solid var(--wp--preset--color--sello);
  border-radius: 0;
}
@keyframes undef-warn-pulse {
  0%, 100% { opacity: 1; filter: drop-shadow(0 0 6px rgba(224, 32, 32, 0.35)); }
  50%      { opacity: 0.78; filter: drop-shadow(0 0 14px rgba(224, 32, 32, 0.7)); }
}

/* ── ANIMACIONES INTERACTIVAS (click / tap) ──────────────── */

/* Card 1 · Segments: barras se prenden de izquierda a derecha como cargando combustible */
@keyframes undef-seg-fill {
  0%   { transform: scaleY(0.3); opacity: 0.2; }
  100% { transform: scaleY(1);   opacity: 1; }
}
@keyframes undef-seg-flash {
  0%, 100% { opacity: 0.45; }
  50%      { opacity: 1; box-shadow: 0 0 8px rgba(224, 32, 32, 0.8); }
}
.undef-stat-cell:hover .undef-seg-on,
.undef-stat-cell.is-firing .undef-seg-on {
  transform-origin: center;
  animation: undef-seg-fill 0.35s cubic-bezier(0.34, 1.4, 0.64, 1) forwards;
}
.undef-stat-cell:hover .undef-seg-on:nth-child(1), .undef-stat-cell.is-firing .undef-seg-on:nth-child(1) { animation-delay: 0.00s; }
.undef-stat-cell:hover .undef-seg-on:nth-child(2), .undef-stat-cell.is-firing .undef-seg-on:nth-child(2) { animation-delay: 0.05s; }
.undef-stat-cell:hover .undef-seg-on:nth-child(3), .undef-stat-cell.is-firing .undef-seg-on:nth-child(3) { animation-delay: 0.10s; }
.undef-stat-cell:hover .undef-seg-on:nth-child(4), .undef-stat-cell.is-firing .undef-seg-on:nth-child(4) { animation-delay: 0.15s; }
.undef-stat-cell:hover .undef-seg-on:nth-child(5), .undef-stat-cell.is-firing .undef-seg-on:nth-child(5) { animation-delay: 0.20s; }
.undef-stat-cell:hover .undef-seg-on:nth-child(6), .undef-stat-cell.is-firing .undef-seg-on:nth-child(6) { animation-delay: 0.25s; }
.undef-stat-cell:hover .undef-seg-on:nth-child(7), .undef-stat-cell.is-firing .undef-seg-on:nth-child(7) { animation-delay: 0.30s; }
.undef-stat-cell:hover .undef-seg-off,
.undef-stat-cell.is-firing .undef-seg-off {
  animation: undef-seg-flash 0.4s ease-in-out 0.45s 3;
}

/* Card 2 · Gauge: aguja barre desde 0% hasta 65% con overshoot */
.undef-gauge-needle {
  transform-origin: 60px 60px;
  transition: transform 0.05s ease;
}
@keyframes undef-needle-sweep {
  0%   { transform: rotate(-115deg); }
  60%  { transform: rotate(8deg); }
  80%  { transform: rotate(-3deg); }
  100% { transform: rotate(0deg); }
}
.undef-stat-cell:hover .undef-gauge-needle,
.undef-stat-cell.is-firing .undef-gauge-needle {
  animation: undef-needle-sweep 1s cubic-bezier(0.55, 0.085, 0.68, 0.53) forwards;
}

/* Card 3 · Dual: barras se rellenan desde 0 hasta su ancho objetivo */
@keyframes undef-dual-fill-anim {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}
.undef-dual-fill {
  transform-origin: left center;
}
.undef-stat-cell:hover .undef-dual-fill,
.undef-stat-cell.is-firing .undef-dual-fill {
  animation: undef-dual-fill-anim 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.undef-stat-cell:hover .undef-dual-fill-warn,
.undef-stat-cell.is-firing .undef-dual-fill-warn {
  animation-delay: 0.3s;
  animation-duration: 1s;
}

/* Card 4 · Warning: shake horizontal + flash más intenso */
@keyframes undef-warn-shake {
  0%, 100% { transform: translateX(0); }
  15%      { transform: translateX(-4px); }
  30%      { transform: translateX(4px); }
  45%      { transform: translateX(-3px); }
  60%      { transform: translateX(3px); }
  80%      { transform: translateX(-1px); }
}
@keyframes undef-warn-burst {
  0%   { filter: drop-shadow(0 0 6px rgba(224, 32, 32, 0.35)); }
  20%  { filter: drop-shadow(0 0 22px rgba(224, 32, 32, 1)) drop-shadow(0 0 8px rgba(224, 32, 32, 0.8)); }
  100% { filter: drop-shadow(0 0 6px rgba(224, 32, 32, 0.35)); }
}
.undef-stat-cell:hover .undef-instrument-warning svg,
.undef-stat-cell.is-firing .undef-instrument-warning svg {
  animation:
    undef-warn-shake 0.7s ease-in-out,
    undef-warn-burst 0.7s ease-out,
    undef-warn-pulse 1.6s ease-in-out 0.7s infinite;
}
.undef-stat-cell:hover .undef-warning-code,
.undef-stat-cell.is-firing .undef-warning-code {
  animation: undef-seg-flash 0.2s ease-in-out 4;
}

/* ── Modelos section · scanlines verticales tipo data feed ── */
.undef-section-models {
  background:
    repeating-linear-gradient(
      90deg,
      transparent 0,
      transparent 95px,
      rgba(255, 255, 255, 0.018) 95px,
      rgba(255, 255, 255, 0.018) 96px
    ),
    var(--wp--preset--color--ink);
  position: relative;
}
.undef-section-models > * { position: relative; z-index: 1; }

/* ── Urgency · gradient oxblood en bordes (decisión zone) ── */
.undef-urgency {
  background:
    radial-gradient(ellipse 50% 60% at 0% 50%, rgba(183, 28, 28, 0.12), transparent 65%),
    radial-gradient(ellipse 50% 60% at 100% 50%, rgba(183, 28, 28, 0.12), transparent 65%),
    var(--wp--preset--color--ink-deep) !important;
}

/* ── Checkout section · ink-deep (zona de cierre) ───────── */
#acceso {
  background: var(--wp--preset--color--ink-deep);
  position: relative;
}
#acceso::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--wp--preset--color--redaccion) 30%,
    var(--wp--preset--color--redaccion) 70%,
    transparent
  );
  opacity: 0.5;
}

/* ── Modelo del negocio (flipping) ──────────────────────── */
.undef-model-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}
@media (max-width: 720px) {
  .undef-model-grid { grid-template-columns: 1fr; gap: 1.5rem; }
}
.undef-model-card {
  padding: 2rem;
  border: 1px solid var(--wp--preset--color--hairline);
  border-top: 3px solid var(--wp--preset--color--sello);
  background: var(--wp--preset--color--ink-deep);
}
.undef-model-card:nth-child(2) {
  border-top-color: var(--wp--preset--color--redaccion);
}
.undef-model-card:nth-child(3) {
  border-top-color: var(--wp--preset--color--text-dim);
}
.undef-model-num {
  font-family: var(--wp--preset--font-family--mono);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--wp--preset--color--sello);
  margin-bottom: 0.75rem;
}
.undef-model-card:nth-child(2) .undef-model-num { color: var(--wp--preset--color--redaccion); }
.undef-model-card:nth-child(3) .undef-model-num { color: var(--wp--preset--color--text-muted); }
.undef-model-title {
  font-family: 'Antonio', var(--wp--preset--font-family--display);
  font-size: 1.55rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--wp--preset--color--paper);
  margin-bottom: 0.35rem;
  line-height: 1.05;
}
.undef-model-subtitle {
  font-family: var(--wp--preset--font-family--mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--wp--preset--color--text-muted);
  margin-bottom: 1rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--wp--preset--color--hairline);
}
.undef-model-body {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--wp--preset--color--text-muted);
}
.undef-model-stat {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--wp--preset--color--hairline);
  font-family: var(--wp--preset--font-family--mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--wp--preset--color--text-dim);
}

@keyframes undef-fade-in-up {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes undef-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes undef-meta-line {
  from { height: 0; }
  to   { height: 32px; }
}

/* Hero: cascade reveal */
.undef-hero-pretitle,
.undef-headline,
.undef-sub,
.undef-hero-calc,
.undef-cta {
  opacity: 0;
  animation: undef-fade-in-up 0.85s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.undef-hero-pretitle  { animation-delay: 0.15s; }
.undef-headline       { animation-delay: 0.30s; }
.undef-sub            { animation-delay: 0.55s; }
.undef-hero-calc      { animation-delay: 0.75s; }
.undef-cta            { animation-delay: 1.05s; }

/* Red marker on calc widget (top-left corner accent) */
.undef-hero-calc::before {
  width: 0;
  animation: undef-calc-marker 0.5s cubic-bezier(0.16, 1, 0.3, 1) 1.25s forwards;
}
@keyframes undef-calc-marker {
  from { width: 0; }
  to   { width: 48px; }
}

/* Scroll-triggered reveal para secciones después del hero */
.undef-section .undef-section-header,
.undef-section .undef-observations-list,
.undef-section .undef-offer-list,
.undef-section .undef-day-grid {
  opacity: 0;
  animation: undef-fade-in-up 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-timeline: view();
  animation-range: entry 0% cover 30%;
}

/* Stamp: ligera oscilación al cargar para feel de "sello recién aplicado" */
@keyframes undef-stamp-settle {
  0%   { transform: rotate(-3deg) scale(1.05); opacity: 0; }
  60%  { transform: rotate(-4deg) scale(0.98); opacity: 0.92; }
  100% { transform: rotate(-3deg) scale(1); opacity: 0.92; }
}
.undef-stamp {
  animation: undef-stamp-settle 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) 0.4s both;
}

/* CTA: micro-interaction en hover */
.undef-cta,
.undef-checkout-cta {
  transition:
    background 0.25s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.25s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}
.undef-cta:hover,
.undef-checkout-cta:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(220, 231, 117, 0.18);
}
.undef-cta:active,
.undef-checkout-cta:active:not(:disabled) {
  transform: translateY(0);
  transition-duration: 0.05s;
}

/* Module hover: subtle elevation */
.undef-module,
.undef-offer-item,
.undef-observation {
  transition: background 0.3s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.undef-module:hover,
.undef-observation:hover {
  background: linear-gradient(
    to right,
    rgba(220, 231, 117, 0.025) 0%,
    transparent 80%
  );
}

/* Vertical accent line en hover de los days */
.undef-day {
  transition: border-color 0.4s ease;
  position: relative;
}
.undef-day:hover {
  border-color: var(--wp--preset--color--text-dim);
}

/* ── Accessibility: respeta prefers-reduced-motion ──────── */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .undef-hero-pretitle,
  .undef-headline,
  .undef-sub,
  .undef-hero-calc,
  .undef-cta,
  .undef-section .undef-section-header,
  .undef-section .undef-observations-list,
  .undef-section .undef-offer-list,
  .undef-section .undef-day-grid,
  .undef-stats-grid,
  .undef-expectations-grid {
    opacity: 1 !important;
    transform: none !important;
  }
  .undef-hero-calc::before { width: 48px !important; }
}

/* ============================================================
   OPERACIONES · botón de documentación + modal multimedia
   ============================================================ */
.undef-proof-docs-btn {
  margin-top: 1.25rem;
  width: 100%;
  background: transparent;
  border: 1px solid var(--wp--preset--color--hairline);
  color: var(--wp--preset--color--paper);
  font-family: var(--wp--preset--font-family--mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.75rem 1rem;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.undef-proof-docs-btn:hover {
  border-color: var(--wp--preset--color--redaccion);
  color: var(--wp--preset--color--redaccion);
  background: rgba(255, 255, 255, 0.02);
}

/* Modal */
.undef-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}
.undef-modal.is-open {
  display: flex;
}
.undef-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 5, 8, 0.82);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.undef-modal-panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 780px;
  max-height: 88vh;
  overflow-y: auto;
  background: var(--wp--preset--color--ink-panel, #0F141A);
  border: 1px solid var(--wp--preset--color--hairline);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6);
  padding: 2rem 1.75rem;
}
.undef-modal-close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  background: transparent;
  border: 1px solid var(--wp--preset--color--hairline);
  color: var(--wp--preset--color--paper);
  width: 34px;
  height: 34px;
  cursor: pointer;
  font-size: 0.9rem;
  line-height: 1;
  transition: border-color 0.2s, color 0.2s;
}
.undef-modal-close:hover {
  border-color: var(--wp--preset--color--redaccion);
  color: var(--wp--preset--color--redaccion);
}
.undef-modal-op-title {
  font-family: var(--wp--preset--font-family--display);
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  font-size: 1.4rem;
  color: var(--wp--preset--color--paper);
  margin-bottom: 1.25rem;
  padding-right: 2.5rem;
}
.undef-modal-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}
.undef-modal-gallery img {
  width: 100%;
  height: 130px;
  object-fit: cover;
  border: 1px solid var(--wp--preset--color--hairline);
  display: block;
  transition: opacity 0.2s;
}
.undef-modal-gallery a:hover img {
  opacity: 0.82;
}
.undef-modal-docs {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.undef-modal-doc {
  display: block;
  font-family: var(--wp--preset--font-family--mono);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: var(--wp--preset--color--paper);
  text-decoration: none;
  padding: 0.75rem 1rem;
  border: 1px solid var(--wp--preset--color--hairline);
  border-left: 2px solid var(--wp--preset--color--redaccion);
  transition: background 0.2s, color 0.2s;
}
.undef-modal-doc:hover {
  background: rgba(255, 255, 255, 0.03);
  color: var(--wp--preset--color--redaccion);
}

/* ============================================================
   FORMULARIO DE INSCRIPCIÓN · captura de lead antes del pago
   ============================================================ */
.undef-checkout-fields {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  margin-bottom: 1.5rem;
}
.undef-field {
  display: block;
}
.undef-field-label {
  display: block;
  font-family: var(--wp--preset--font-family--mono);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--wp--preset--color--text-muted);
  margin-bottom: 0.4rem;
}
.undef-checkout-fields input {
  width: 100%;
  box-sizing: border-box;
  background: var(--wp--preset--color--ink);
  border: 1px solid var(--wp--preset--color--hairline);
  color: var(--wp--preset--color--paper);
  font-family: var(--wp--preset--font-family--body);
  font-size: 1rem;
  padding: 0.8rem 1rem;
  transition: border-color 0.2s;
}
.undef-checkout-fields input::placeholder {
  color: var(--wp--preset--color--text-dim);
}
.undef-checkout-fields input:focus {
  outline: none;
  border-color: var(--wp--preset--color--redaccion);
}
.undef-lead-error {
  font-family: var(--wp--preset--font-family--mono);
  font-size: 0.72rem;
  color: var(--wp--preset--color--sello);
  border-left: 2px solid var(--wp--preset--color--sello);
  padding: 0.5rem 0.75rem;
  background: rgba(161, 29, 29, 0.08);
}

/* ============================================================
   MODAL DE INSCRIPCIÓN (lead) · reutiliza base .undef-modal
   ============================================================ */
.undef-lead-panel {
  max-width: 460px;
  text-align: left;
  animation: undef-lead-in 0.38s cubic-bezier(0.16, 1, 0.3, 1);
}
.undef-modal.is-open .undef-modal-backdrop {
  animation: undef-lead-fade 0.3s ease;
}
@keyframes undef-lead-in {
  from { opacity: 0; transform: translateY(18px) scale(0.985); }
  to   { opacity: 1; transform: none; }
}
@keyframes undef-lead-fade {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.undef-lead-eyebrow {
  font-family: var(--wp--preset--font-family--mono);
  font-size: 0.64rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--wp--preset--color--redaccion);
  margin-bottom: 0.6rem;
}
.undef-lead-title {
  font-family: var(--wp--preset--font-family--display);
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  font-size: 1.55rem;
  line-height: 1;
  color: var(--wp--preset--color--paper);
  margin: 0 0 0.5rem;
  padding-right: 2rem;
}
.undef-lead-sub {
  font-size: 0.9rem;
  color: var(--wp--preset--color--text-muted);
  margin: 0 0 1.5rem;
  line-height: 1.5;
}
.undef-lead-panel .undef-disclaimer {
  margin: 1.25rem 0;
}
.undef-lead-submit {
  width: 100%;
  margin-top: 0.25rem;
}
@media (prefers-reduced-motion: reduce) {
  .undef-lead-panel,
  .undef-modal.is-open .undef-modal-backdrop { animation: none; }
}

.undef-checkout-fields select {
  width: 100%;
  box-sizing: border-box;
  background: var(--wp--preset--color--ink);
  border: 1px solid var(--wp--preset--color--hairline);
  color: var(--wp--preset--color--paper);
  font-family: var(--wp--preset--font-family--body);
  font-size: 1rem;
  padding: 0.8rem 1rem;
  transition: border-color 0.2s;
}
.undef-checkout-fields select:focus {
  outline: none;
  border-color: var(--wp--preset--color--redaccion);
}

/* ============================================================
   ESTADO SIGUIENTE del modal: confirmación PayPal / pendiente
   de transferencia con referencia. Fase 4 — funnel de pago.
   ============================================================ */
.undef-lead-panel:not(.step-next) .undef-lead-next { display: none; }
.undef-lead-panel.step-next .undef-checkout-fields,
.undef-lead-panel.step-next .undef-disclaimer,
.undef-lead-panel.step-next .undef-lead-submit,
.undef-lead-panel.step-next .undef-lead-eyebrow,
.undef-lead-panel.step-next .undef-lead-title,
.undef-lead-panel.step-next .undef-lead-sub { display: none; }
.undef-lead-next { text-align: center; }
.undef-lead-next-block { display: none; }
.undef-lead-next-icon {
  width: 44px; height: 44px; margin: 0 auto 1rem;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  font-size: 1.2rem;
  background: rgba(220, 231, 117, 0.1);
  border: 1px solid rgba(220, 231, 117, 0.35);
  color: var(--wp--preset--color--paper);
}
.undef-lead-next h4 {
  font-family: var(--wp--preset--font-family--display);
  font-weight: 900; font-style: italic; text-transform: uppercase;
  font-size: 1.3rem; line-height: 1.05; margin: 0 0 0.6rem; color: var(--wp--preset--color--paper);
}
.undef-lead-next p {
  font-size: 0.88rem; line-height: 1.55; color: var(--wp--preset--color--text-muted); margin: 0 0 1.1rem;
}
.undef-transfer-ref {
  display: flex; align-items: center; justify-content: space-between; gap: 0.75rem;
  background: var(--wp--preset--color--ink); border: 1px dashed var(--wp--preset--color--hairline);
  padding: 0.7rem 1rem; margin-bottom: 1rem;
}
.undef-transfer-ref-label {
  font-family: var(--wp--preset--font-family--mono); font-size: 0.62rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--wp--preset--color--text-dim);
}
.undef-transfer-ref-code {
  font-family: var(--wp--preset--font-family--mono); font-size: 1rem; font-weight: 700;
  letter-spacing: 0.06em; color: var(--wp--preset--color--paper);
}
.undef-transfer-bank { text-align: left; margin-bottom: 1.1rem; }
.undef-transfer-row {
  display: flex; justify-content: space-between; gap: 1rem; font-size: 0.85rem;
  padding: 0.45rem 0; border-bottom: 1px solid var(--wp--preset--color--hairline);
}
.undef-transfer-row span { color: var(--wp--preset--color--text-muted); }
.undef-transfer-row b { color: var(--wp--preset--color--paper); font-weight: 600; }
.undef-transfer-bank-empty { font-size: 0.85rem; color: var(--wp--preset--color--text-muted); text-align: left; }
.undef-transfer-bank-group { margin-bottom: 0.9rem; }
.undef-transfer-bank-group:last-child { margin-bottom: 0; }
.undef-transfer-bank-heading {
  font-family: var(--wp--preset--font-family--mono); font-size: 0.66rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--wp--preset--color--redaccion); margin-bottom: 0.35rem;
}
.undef-lead-next-close {
  display: block; width: 100%; margin-top: 0.75rem; padding: 0.7rem;
  background: none; border: 1px solid var(--wp--preset--color--hairline);
  color: var(--wp--preset--color--text-muted); font-family: var(--wp--preset--font-family--mono);
  font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}
.undef-lead-next-close:hover { border-color: var(--wp--preset--color--redaccion); color: var(--wp--preset--color--paper); }
