/* ============================================================
   Diagnóstico Infinite Flow · Flow Consulting
   Brand: cyan / dark · Montserrat + Open Sans + Instrument Serif
   ============================================================ */

:root {
  /* Cyan family */
  --cyan:         #5FE8D7;
  --cyan-bright:  #7FF4E5;
  --cyan-mid:     #14B8A6;
  --cyan-ink:     #0F766E;
  --cyan-deeper:  #0B5A53;
  --cyan-deep:    #3DD4C2;
  --cyan-soft:    rgba(95, 232, 215, 0.10);
  --cyan-soft-2:  rgba(20, 184, 166, 0.08);
  --cyan-glow:    rgba(95, 232, 215, 0.18);

  /* Dark layer */
  --dark:         #07131A;
  --dark-2:       #0B1A22;
  --dark-3:       #0F2530;

  /* Light layer */
  --light:        #FAFAF7;
  --light-2:      #F2F4F0;
  --paper:        #FFFFFF;

  /* Text */
  --ink:          #1A2530;
  --ink-soft:     #3A4854;
  --ink-muted:    #6B7785;
  --on-dark:      #FFFFFF;
  --on-dark-soft: rgba(255,255,255,0.85);
  --on-dark-muted:rgba(255,255,255,0.55);

  /* Borders */
  --on-dark-line: rgba(255, 255, 255, 0.10);
  --on-dark-line-2: rgba(255, 255, 255, 0.18);
  --border-cyan:  rgba(95, 232, 215, 0.30);

  /* Section colors */
  --founder: #A78BFA;
  --lead:    #5FE8D7;
  --cash:    #FCD34D;
}

/* ============== RESET / BASE ============== */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Open Sans', system-ui, -apple-system, Segoe UI, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--on-dark);
  background: var(--dark);
  background-image:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(95,232,215,0.12), transparent 60%),
    radial-gradient(ellipse 60% 40% at 100% 100%, rgba(20,184,166,0.08), transparent 70%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }
a { color: var(--cyan); text-decoration: none; transition: color .15s; }
a:hover { color: var(--cyan-bright); }

h1, h2, h3, h4 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.1;
  margin: 0 0 16px;
}
p { margin: 0 0 14px; }
em { font-family: 'Instrument Serif', serif; font-style: italic; font-weight: 400; }

/* ============== APP / LAYOUT ============== */
.app { min-height: 100vh; display: flex; flex-direction: column; }
.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}
.container--narrow { max-width: 720px; }

.view {
  flex: 1;
  display: none;
  padding: 80px 0 60px;
  animation: fadeIn .35s ease-out;
}
.view.is-active { display: block; }
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============== PROGRESS BAR ============== */
.progress-wrap {
  position: sticky; top: 0; z-index: 50;
  background: rgba(7,19,26,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--on-dark-line);
  padding: 14px 24px 12px;
}
.progress-section {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 8px;
}
.progress-bar {
  height: 4px;
  background: rgba(255,255,255,0.08);
  border-radius: 999px;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--cyan-deep), var(--cyan), var(--cyan-bright));
  box-shadow: 0 0 12px rgba(95,232,215,0.5);
  transition: width .45s cubic-bezier(.4,0,.2,1);
}
.progress-text {
  margin-top: 6px;
  font-size: 12px;
  color: var(--on-dark-muted);
  letter-spacing: .04em;
}

/* ============== HERO / LANDING (new hero) ============== */
.hero-landing {
  --bg-deep: #04100f;
  --bg-mid: #061a18;
  --grid: rgba(64, 224, 208, 0.04);
  --grid-strong: rgba(64, 224, 208, 0.07);
  --accent: #5eead4;
  --accent-soft: #2dd4bf;
  --accent-glow: rgba(94, 234, 212, 0.55);
  --accent-glow-soft: rgba(94, 234, 212, 0.18);

  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 24px;
  overflow: hidden;
  isolation: isolate;
  background: var(--bg-deep);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.hero-landing::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 64px 64px;
  background-position: center center;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 0%, transparent 75%);
  z-index: -2;
}

.hero-landing::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 900px;
  height: 900px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, var(--accent-glow-soft) 0%, transparent 60%);
  filter: blur(40px);
  z-index: -1;
  opacity: 0.7;
}

.view-landing { padding: 0; }

.hero-inner {
  width: 100%;
  max-width: 880px;
  text-align: center;
  position: relative;
  z-index: 1;
}

/* Kicker */
.kicker { margin-bottom: 36px; }
.kicker-brand {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--text-primary, #fff);
  margin-bottom: 6px;
}
.kicker-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.38);
  margin-bottom: 10px;
}
.flow-pills {
  display: inline-flex;
  align-items: center;
  gap: 0;
}
.flow-pill {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2em;
  padding: 8px 18px;
  color: rgba(255, 255, 255, 0.38);
  transition: color 0.6s ease, text-shadow 0.6s ease;
}
.flow-pill.active {
  color: var(--accent);
  text-shadow: 0 0 20px var(--accent-glow);
}
.flow-divider {
  width: 24px;
  height: 1px;
  background: rgba(255, 255, 255, 0.38);
  opacity: 0.4;
  position: relative;
  overflow: hidden;
}
.flow-divider::after {
  content: "";
  position: absolute;
  top: 50%;
  left: -20%;
  width: 30%;
  height: 2px;
  transform: translateY(-50%);
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  box-shadow: 0 0 12px var(--accent-glow);
  animation: flow-pulse 4.5s ease-in-out infinite;
  opacity: 0;
}
.flow-divider.d1::after { animation-delay: 0s; }
.flow-divider.d2::after { animation-delay: 1.5s; }

@keyframes flow-pulse {
  0%   { left: -20%; opacity: 0; }
  15%  { opacity: 1; }
  50%  { left: 100%; opacity: 1; }
  65%  { opacity: 0; }
  100% { left: 100%; opacity: 0; }
}

/* Headline */
.hero-headline {
  font-family: 'Inter', sans-serif;
  font-size: clamp(36px, 5.5vw, 64px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin-bottom: 20px;
}
.hero-headline .accent {
  color: var(--accent);
  text-shadow: 0 0 40px var(--accent-glow-soft);
}
.hero-headline .strike {
  color: rgba(255, 255, 255, 0.38);
  text-decoration: line-through;
  text-decoration-thickness: 2px;
  text-decoration-color: rgba(255, 255, 255, 0.25);
  font-weight: 700;
}

/* Headline clarifier */
.hero-lastline {
  display: inline-block;
  position: relative;
  text-align: center;
}
.hero-soft-comma {
  font-size: 0.5em;
  color: var(--accent);
  opacity: 0.5;
  font-weight: 400;
}
.hero-clarifier {
  display: block;
  text-align: right;
  font-size: clamp(13px, 1.4vw, 16px);
  font-weight: 500;
  color: var(--accent);
  margin-top: 2px;
  opacity: 0.8;
  letter-spacing: 0.01em;
}

/* Subhead */
.hero-subhead {
  font-size: clamp(15px, 1.4vw, 17px);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.62);
  max-width: 820px;
  margin: 0 auto 36px;
}
.hero-subhead .nowrap { white-space: nowrap; }

/* CTA button */
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--accent);
  color: #04100f;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.01em;
  padding: 18px 32px;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.3s ease, background 0.2s ease;
  box-shadow:
    0 0 0 1px rgba(94, 234, 212, 0.3),
    0 0 40px var(--accent-glow-soft),
    0 8px 24px rgba(0, 0, 0, 0.4);
}
.hero-cta:hover {
  transform: translateY(-2px);
  background: #7df3dd;
  box-shadow:
    0 0 0 1px rgba(94, 234, 212, 0.5),
    0 0 60px var(--accent-glow),
    0 12px 32px rgba(0, 0, 0, 0.5);
}
.hero-cta-arrow {
  transition: transform 0.2s ease;
  font-weight: 700;
}
.hero-cta:hover .hero-cta-arrow { transform: translateX(4px); }

/* ---- Transformation scene ---- */
.tf-scene {
  margin-top: 40px;
  width: 100%;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.tf-scene-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
  position: relative;
}

/* Connectors */
.scene-connector {
  position: absolute;
  top: 50%;
  width: 12px;
  height: 16px;
  transform: translateY(-50%);
  z-index: 2;
  pointer-events: none;
}
.scene-connector.c1 { left: calc(33.33% - 6px); }
.scene-connector.c2 { left: calc(66.66% - 6px); }
.scene-connector svg { width: 100%; height: 100%; overflow: visible; }
.connector-line {
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.6;
  stroke-linecap: round;
  filter: drop-shadow(0 0 4px var(--accent-glow));
  opacity: 0;
  transition: opacity 0.5s ease, stroke 0.5s ease, filter 0.5s ease;
}
.scene-connector.is-drawing .connector-line { opacity: 1; }
.scene-connector.is-done .connector-line {
  opacity: 1;
  stroke: rgba(255, 255, 255, 0.3);
  filter: none;
}

/* Scene boxes */
.scene-box {
  position: relative;
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  aspect-ratio: 1 / 1;
  transition: border-color 0.5s ease, background 0.5s ease, box-shadow 0.5s ease;
}
.scene-box.is-active {
  border-color: rgba(94, 234, 212, 0.5);
  background: rgba(94, 234, 212, 0.04);
  box-shadow: 0 0 30px rgba(94, 234, 212, 0.15), inset 0 0 20px rgba(94, 234, 212, 0.04);
}
.scene-box svg { width: 100%; height: 100%; display: block; }

/* Box 1: Chaos */
.chaos-path {
  fill: none;
  stroke: rgba(255, 255, 255, 0.45);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1800;
  stroke-dashoffset: 1800;
  transition: stroke 0.25s ease, filter 0.25s ease;
}
.scene-box[data-step="0"].is-active .chaos-path {
  stroke: var(--accent);
  filter: drop-shadow(0 0 6px var(--accent-glow));
}
.scene-box[data-step="0"].is-drawing .chaos-path {
  animation: drawChaos 5.2s linear forwards;
}
.scene-box[data-step="0"].is-done .chaos-path {
  stroke-dashoffset: 0;
  stroke: rgba(255, 255, 255, 0.3);
  filter: none;
}
@keyframes drawChaos {
  from { stroke-dashoffset: 1800; }
  to   { stroke-dashoffset: 0; }
}

/* Box 2: Diagnóstico grid */
.q-cell {
  fill: none;
  stroke: rgba(255, 255, 255, 0.18);
  stroke-width: 1.2;
  transition: all 0.4s ease;
}
.q-cell.lit {
  stroke: var(--accent);
  fill: rgba(94, 234, 212, 0.12);
  filter: drop-shadow(0 0 5px var(--accent-glow));
}
.q-cell.completed {
  stroke: rgba(255, 255, 255, 0.4);
  fill: rgba(255, 255, 255, 0.05);
  filter: none;
}
.q-check {
  stroke: var(--accent);
  stroke-width: 0.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  opacity: 0;
  transition: opacity 0.3s ease, stroke 0.4s ease, filter 0.4s ease;
}
.q-check * {
  stroke: inherit;
  stroke-width: inherit;
  stroke-linecap: inherit;
  stroke-linejoin: inherit;
  fill: inherit;
}
.q-check.shown {
  opacity: 1;
  filter: drop-shadow(0 0 4px var(--accent-glow));
}
.q-check.completed {
  opacity: 1;
  stroke: rgba(255, 255, 255, 0.55);
  filter: none;
}
.q-section-label {
  fill: rgba(255, 255, 255, 0.35);
  font-size: 5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-anchor: start;
  font-family: 'Inter', sans-serif;
}
.scene-box[data-step="1"].is-done .q-cell.lit {
  stroke: rgba(255, 255, 255, 0.35);
  fill: rgba(255, 255, 255, 0.04);
  filter: none;
}
.scene-box[data-step="1"].is-done .q-check {
  stroke: rgba(255, 255, 255, 0.35);
}
.q-entry, .q-exit {
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.6;
  stroke-linecap: round;
  filter: drop-shadow(0 0 4px var(--accent-glow));
  opacity: 0;
  transition: opacity 0.5s ease, stroke 0.5s ease, filter 0.5s ease;
}
.scene-box[data-step="1"].is-active .q-entry { opacity: 1; }
.scene-box[data-step="1"].is-done .q-entry,
.scene-box[data-step="1"].is-done .q-exit {
  opacity: 1;
  stroke: rgba(255, 255, 255, 0.3);
  filter: none;
}
.scene-box[data-step="1"].is-exiting .q-exit { opacity: 1; }

/* Box 3: Clarity eye */
.clarity-entry {
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.6;
  stroke-linecap: round;
  filter: drop-shadow(0 0 4px var(--accent-glow));
  opacity: 0;
  transition: opacity 0.5s ease;
}
.scene-box[data-step="2"].is-active .clarity-entry { opacity: 1; }
.clarity-circle {
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.3;
  stroke-linecap: round;
  stroke-dasharray: 220;
  stroke-dashoffset: 220;
  filter: drop-shadow(0 0 4px var(--accent-glow));
  opacity: 0;
}
.scene-box[data-step="2"].is-active .clarity-circle {
  opacity: 0.85;
  animation: drawCircle 2.4s ease-out 1.0s forwards;
}
@keyframes drawCircle {
  from { stroke-dashoffset: 220; }
  to   { stroke-dashoffset: 0; }
}
.clarity-elem {
  opacity: 0;
  transform-origin: 50px 50px;
  transform-box: fill-box;
  transform: scale(0.7);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.scene-box[data-step="2"].is-active .clarity-elem.show-2 { transition-delay: 3.4s; }
.scene-box[data-step="2"].is-active .clarity-elem.show-3 { transition-delay: 4.3s; }
.scene-box[data-step="2"].is-active .clarity-elem.show-4 { transition-delay: 5.2s; }
.scene-box[data-step="2"].is-active .clarity-elem.show-5 { transition-delay: 5.9s; }
.scene-box[data-step="2"].is-active .clarity-elem {
  opacity: 1;
  transform: scale(1);
}
.pupil-blink { filter: drop-shadow(0 0 6px var(--accent-glow)); }
.scene-box[data-step="2"].is-active .pupil-blink {
  animation: pupilBlink 2.5s ease-in-out 6.6s infinite;
}
@keyframes pupilBlink {
  0%, 100% { filter: drop-shadow(0 0 4px var(--accent-glow-soft)); }
  50% { filter: drop-shadow(0 0 16px var(--accent-glow)); }
}

/* Scene labels */
.tf-scene-labels {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
  margin-top: 16px;
}
.scene-label {
  text-align: center;
  transition: opacity 0.4s ease;
  opacity: 0.45;
}
.scene-label.is-active { opacity: 1; }
.scene-label-tag {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: rgba(255, 255, 255, 0.38);
  text-transform: uppercase;
  margin-bottom: 5px;
  transition: color 0.4s ease;
}
.scene-label.is-active .scene-label-tag { color: var(--accent); }
.scene-label-text {
  font-size: 11px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.45;
}
.scene-label.is-active .scene-label-text { color: rgba(255, 255, 255, 0.85); }

/* Hero mobile */
@media (max-width: 640px) {
  .hero-landing { padding: 32px 20px 40px; min-height: auto; }
  .kicker { margin-bottom: 16px; }
  .kicker-brand { font-size: 11px; margin-bottom: 2px; }
  .kicker-tag { font-size: 10px; margin-bottom: 6px; }
  .flow-pill { padding: 4px 8px; font-size: 10px; letter-spacing: 0.12em; }
  .flow-divider { width: 10px; }
  .hero-headline { font-size: 28px; margin-bottom: 12px; line-height: 1.1; }
  .hero-clarifier { font-size: 11px; }
  .hero-subhead { font-size: 14px; margin-bottom: 20px; line-height: 1.45; }
  .hero-subhead br { display: none; }
  .hero-cta { padding: 14px 24px; font-size: 14px; width: 100%; max-width: 320px; justify-content: center; }
  .tf-scene { margin-top: 24px; }
  .tf-scene-labels { gap: 4px; margin-top: 10px; }
  .scene-label-tag { font-size: 8px; letter-spacing: 0.14em; }
  .scene-label-text { font-size: 9px; line-height: 1.3; }
  .scene-label-text br { display: none; }
}

/* ============== BUTTONS ============== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: .01em;
  border: none;
  border-radius: 999px;
  padding: 14px 28px;
  transition: transform .15s, box-shadow .25s, filter .15s;
  text-decoration: none;
}
.btn--lg { padding: 17px 36px; font-size: 16px; }
.btn--block { width: 100%; }
.btn--primary {
  background: linear-gradient(135deg, var(--cyan-bright), var(--cyan), var(--cyan-deep));
  color: var(--dark);
  box-shadow: 0 8px 32px -10px rgba(95,232,215,0.5), inset 0 1px 0 rgba(255,255,255,0.4);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 12px 40px -8px rgba(95,232,215,0.6); }
.btn--primary:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }
.btn__arrow { transition: transform .2s; }
.btn:hover .btn__arrow { transform: translateX(3px); }

/* ============== QUESTION ============== */
.question { margin-bottom: 32px; }
.question__section {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 14px;
}
.question__text {
  font-size: clamp(22px, 3.5vw, 32px);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.2;
  margin-bottom: 12px;
}
.question__sub {
  font-size: 15px;
  color: var(--on-dark-soft);
  margin-bottom: 28px;
  line-height: 1.55;
}
.options { display: flex; flex-direction: column; gap: 10px; }
.option {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 18px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--on-dark-line);
  border-radius: 14px;
  color: var(--on-dark);
  text-align: left;
  transition: all .18s;
  font-family: inherit;
  width: 100%;
}
.option:hover {
  border-color: var(--border-cyan);
  background: rgba(95,232,215,0.04);
  transform: translateX(2px);
}
.option.is-selected {
  border-color: var(--cyan);
  background: linear-gradient(135deg, rgba(95,232,215,0.08), rgba(20,184,166,0.04));
  box-shadow: 0 0 0 1px var(--cyan), 0 8px 24px -8px rgba(95,232,215,0.4);
}
.option__bullet {
  flex-shrink: 0;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--on-dark-line-2);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 13px;
  color: var(--on-dark-soft);
  text-transform: uppercase;
  transition: all .18s;
}
.option.is-selected .option__bullet {
  background: var(--cyan);
  color: var(--dark);
  border-color: var(--cyan);
  box-shadow: 0 0 12px rgba(95,232,215,0.6);
}
.option__body { flex: 1; min-width: 0; }
.option__label {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 4px;
  display: block;
}
.option__detail {
  font-size: 14px;
  color: var(--on-dark-soft);
  line-height: 1.5;
  font-style: italic;
}

/* Q9 revenue variant — sin detail */
.option--simple { padding: 18px; }
.option--simple .option__label { font-size: 16px; margin-bottom: 0; }

.nav {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 28px;
}
.nav__back {
  background: transparent;
  border: 1px solid var(--on-dark-line);
  color: var(--on-dark-soft);
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  transition: all .15s;
}
.nav__back:not(:disabled):hover { border-color: var(--cyan); color: var(--cyan); }
.nav__back:disabled { opacity: 0.3; cursor: not-allowed; }
.muted { color: var(--on-dark-muted); font-size: 13px; }

/* ============== CAPTURE ============== */
.capture { padding: 20px 0; }
.capture__title {
  font-size: clamp(26px, 4vw, 36px);
  margin: 14px 0 14px;
}
.capture__subtitle {
  color: var(--on-dark-soft);
  margin-bottom: 32px;
  font-size: 16px;
}
.form { display: flex; flex-direction: column; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; position: relative; }
.field__label {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--on-dark-soft);
  letter-spacing: .04em;
}
.field__optional {
  font-weight: 400;
  font-size: 12px;
  color: var(--on-dark-muted);
  text-transform: none;
  letter-spacing: 0;
}
.field__input {
  width: 100%;
  font-family: inherit;
  font-size: 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--on-dark-line-2);
  border-radius: 12px;
  padding: 14px 16px;
  color: var(--on-dark);
  outline: none;
  transition: all .15s;
}
.field__input::placeholder { color: var(--on-dark-muted); }
.field__input:focus {
  border-color: var(--cyan);
  background: rgba(95,232,215,0.04);
  box-shadow: 0 0 0 3px var(--cyan-glow);
}
.field__textarea { resize: vertical; min-height: 100px; line-height: 1.5; }
.field__counter { font-size: 12px; color: var(--on-dark-muted); text-align: right; }
.field__counter.is-near-limit { color: #FFA94D; }
.field__error { color: #FF7A7A; font-size: 13px; min-height: 1em; }
.capture__legal { font-size: 12px; color: var(--on-dark-muted); margin-top: 8px; line-height: 1.5; }

/* ============== LOADER ============== */
.loader {
  position: relative;
  min-height: 70vh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.dots-canvas {
  position: absolute; inset: 0;
  pointer-events: none;
  z-index: 0;
}
.dot {
  position: absolute;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--cyan);
  opacity: 0.4;
  animation: float 5s ease-in-out infinite, twinkle 12s ease-in-out infinite;
}
.dot.sm { width: 2px; height: 2px; opacity: 0.25; }
.dot.lg { width: 6px; height: 6px; opacity: 0.55; }
.dot.coral { background: var(--cyan-bright); box-shadow: 0 0 8px var(--cyan-bright); }
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
}
@keyframes twinkle {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.8; }
}
.loader__inner { position: relative; z-index: 1; text-align: center; }
.percent {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: clamp(64px, 12vw, 128px);
  line-height: 1;
  letter-spacing: -.04em;
  background: linear-gradient(135deg, var(--cyan-bright), var(--cyan), var(--cyan-deep));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
}
.percent__sign { font-size: 0.5em; color: var(--cyan); -webkit-text-fill-color: var(--cyan); margin-left: 4px; }
.progress-linear {
  width: 100%;
  max-width: 420px;
  margin: 0 auto 20px;
  height: 3px;
  background: rgba(255,255,255,0.08);
  border-radius: 999px;
  overflow: hidden;
}
.progress-linear__fill {
  height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--cyan-deep), var(--cyan), var(--cyan-bright));
  box-shadow: 0 0 12px rgba(95,232,215,0.6);
  transition: width .35s ease;
}
.loader__title {
  font-family: 'Montserrat', sans-serif;
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 8px;
}
.loader__step {
  font-size: 15px;
  color: var(--on-dark-soft);
  min-height: 1.5em;
  transition: opacity .22s;
}
.loader__step.is-fading { opacity: 0; }
.loader__ticks {
  display: inline-flex; gap: 8px;
  margin-top: 24px;
}
.tick {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  transition: all .3s;
}
.tick.is-active {
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
}

/* ============== ERROR ============== */
.error-box {
  text-align: center;
  padding: 40px 30px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--on-dark-line);
  border-radius: 16px;
}
.error-box h3 { font-size: 24px; margin-bottom: 12px; }
.error-box p { color: var(--on-dark-soft); margin-bottom: 24px; }

/* ============== RESULT ============== */
.result__head { text-align: center; margin-bottom: 40px; }
.result__kicker {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 12px;
}
.result__archetype {
  font-size: clamp(34px, 6vw, 56px);
  font-weight: 900;
  letter-spacing: -.025em;
  background: linear-gradient(135deg, var(--cyan-bright), var(--cyan), var(--cyan-deep));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}
.result__phase {
  font-size: 16px;
  color: var(--on-dark-soft);
  font-style: italic;
  font-family: 'Instrument Serif', serif;
}

.result__block {
  margin-bottom: 28px;
  padding: 28px;
  background: rgba(255,255,255,0.025);
  border: 1px solid var(--on-dark-line);
  border-radius: 18px;
  backdrop-filter: blur(8px);
}
.result__block--highlight {
  background: linear-gradient(135deg, rgba(95,232,215,0.08), rgba(20,184,166,0.04));
  border-color: var(--border-cyan);
  box-shadow: 0 0 0 1px rgba(95,232,215,0.15), 0 16px 48px -16px rgba(95,232,215,0.3);
}
.result__block--quote {
  background: transparent;
  border: none;
  text-align: center;
  padding: 20px;
}
.result__block-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 14px;
}
.result__lectura {
  font-size: 17px;
  line-height: 1.7;
  color: var(--on-dark);
  margin: 0;
}

/* Scores */
.scores { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 600px) { .scores { grid-template-columns: 1fr; } }
.score {
  padding: 18px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--on-dark-line);
  border-radius: 14px;
}
.score__label {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--on-dark-muted);
  margin-bottom: 8px;
}
.score__num {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 36px;
  line-height: 1;
  color: var(--cyan);
  margin-bottom: 8px;
  letter-spacing: -.02em;
}
.score__num small { font-size: 14px; color: var(--on-dark-muted); font-weight: 600; }
.score__bar {
  height: 4px;
  background: rgba(255,255,255,0.08);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 10px;
}
.score__bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--cyan-deep), var(--cyan));
  border-radius: 999px;
  box-shadow: 0 0 8px var(--cyan-glow);
  transition: width 1s cubic-bezier(.4,0,.2,1);
}
.score__lectura { font-size: 13px; color: var(--on-dark-soft); line-height: 1.5; margin: 0; }

/* Phases */
.phases {
  display: flex; align-items: center; justify-content: space-between;
  gap: 6px;
  margin: 8px 0 18px;
  flex-wrap: nowrap;
  overflow-x: auto;
}
.phase {
  flex-shrink: 0;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  min-width: 80px;
  text-align: center;
}
.phase__dot {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 2px solid var(--on-dark-line-2);
  transition: all .3s;
}
.phase.is-done .phase__dot {
  background: var(--cyan-mid);
  border-color: var(--cyan-mid);
}
.phase.is-current .phase__dot {
  background: var(--cyan);
  border-color: var(--cyan);
  box-shadow: 0 0 0 6px var(--cyan-soft), 0 0 16px var(--cyan);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 6px var(--cyan-soft), 0 0 16px var(--cyan); }
  50% { box-shadow: 0 0 0 10px transparent, 0 0 22px var(--cyan); }
}
.phase__label {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 12px;
  color: var(--on-dark);
}
.phase__hint { font-size: 12px; color: var(--on-dark-muted); letter-spacing: .1em; text-transform: uppercase; }
.phase__line {
  flex: 1; min-width: 12px;
  height: 2px;
  background: var(--on-dark-line-2);
  margin-top: -22px;
  transition: background .3s;
}
.phase__line.is-done { background: var(--cyan-mid); }
.phase-explainer { font-size: 14px; line-height: 1.65; color: var(--on-dark-soft); margin: 0; }

/* Patterns */
.patterns { display: flex; flex-direction: column; gap: 14px; }
.pattern {
  padding: 18px;
  background: rgba(255,255,255,0.025);
  border-left: 3px solid var(--cyan-mid);
  border-radius: 0 12px 12px 0;
}
.pattern__name {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 14px;
  color: var(--cyan);
  margin-bottom: 6px;
  letter-spacing: .02em;
}
.pattern__diag { font-size: 14px; line-height: 1.6; color: var(--on-dark-soft); margin: 0; }

/* Big Domino */
.big-domino__lever {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(20px, 3vw, 26px);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -.015em;
  margin-bottom: 14px;
  color: var(--on-dark);
}
.big-domino__why { font-size: 15px; line-height: 1.65; color: var(--on-dark-soft); margin: 0; }

/* Forbidden truth */
.forbidden-truth {
  font-size: 16px;
  line-height: 1.7;
  color: var(--on-dark);
  margin: 0;
  font-style: italic;
}

/* Plan 30/60/90 */
.plan { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 720px) { .plan { grid-template-columns: 1fr; } }
.plan__step {
  padding: 18px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--on-dark-line);
  border-radius: 14px;
  position: relative;
}
.plan__step-num {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: 32px;
  background: linear-gradient(135deg, var(--cyan), var(--cyan-deep));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 6px;
  line-height: 1;
}
.plan__step-obj {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 8px;
  color: var(--on-dark);
}
.plan__step-action { font-size: 13px; line-height: 1.55; color: var(--on-dark-soft); margin: 0; }

/* Costo */
.costo { font-size: 15px; line-height: 1.65; color: var(--on-dark-soft); margin: 0; }

/* Rodrigo Quote */
.rodrigo-quote {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.4;
  color: var(--cyan-bright);
  max-width: 720px;
  margin: 0 auto;
  padding: 24px 0;
}

/* CTA final */
.cta-final {
  margin-top: 40px;
  padding: 36px;
  text-align: center;
  background: linear-gradient(135deg, rgba(95,232,215,0.10), rgba(20,184,166,0.05));
  border: 1px solid var(--border-cyan);
  border-radius: 20px;
  box-shadow: 0 24px 60px -16px rgba(95,232,215,0.25);
}
.cta-final h3 {
  font-size: clamp(22px, 3vw, 28px);
  margin-bottom: 18px;
}

/* Multi-paragraph prose container inside CTA: left-aligned, centered as a block */
.cta-final #ctaFinalText {
  max-width: 560px;
  margin: 0 auto 24px auto;
  text-align: left;
}
.cta-final #ctaFinalText p {
  color: var(--on-dark-soft);
  margin: 0 0 12px 0;
  line-height: 1.7;
  font-size: 16px;
}
.cta-final #ctaFinalText p:last-child { margin-bottom: 0; }
.cta-final #ctaFinalText p:first-child {
  font-size: 17px;
  color: var(--on-dark);
}

/* Legacy: cta-final--repeat sigue mostrando un solo <p> simple, mantener centrado */
.cta-final--repeat p {
  color: var(--on-dark-soft);
  margin-bottom: 24px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* Footer */
.footer {
  text-align: center;
  padding: 32px 24px;
  font-size: 13px;
  color: var(--on-dark-muted);
  border-top: 1px solid var(--on-dark-line);
}

/* Responsive tweaks */
@media (max-width: 600px) {
  .view { padding: 50px 0 40px; }
  .result__block { padding: 22px 18px; }
  .hero__pillars { padding: 10px 16px; gap: 8px; }
  .pillar__sep { width: 14px; }
}


/* ============================================================
   v1.2 · Editorial polish (within brand-kit-rodrigo-v1)
   Patterns added: drop cap, pull quote with cyan dot, big domino centerpiece,
   stat ribbon, refined step numerals (Instrument Serif italic)
   ============================================================ */

/* Report meta line — date + report id */
.result__meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--on-dark-muted);
  margin-bottom: 28px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--on-dark-line);
}
.result__meta-sep { width: 4px; height: 4px; border-radius: 50%; background: var(--on-dark-muted); opacity: .6; }

/* Larger archetype on result */
.result__archetype {
  font-size: clamp(40px, 7vw, 72px);
  letter-spacing: -.03em;
  line-height: 1.02;
  margin: 6px 0 14px;
}

/* Drop cap on lead paragraph (executive summary) */
.result__lectura.has-drop-cap::first-letter {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: 4em;
  line-height: 0.85;
  float: left;
  padding: 6px 14px 0 0;
  color: var(--cyan);
  background: linear-gradient(135deg, var(--cyan-bright), var(--cyan), var(--cyan-deep));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.result__lectura {
  font-size: 18px;
  line-height: 1.7;
}

/* Stat ribbon for scores */
.scores {
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: rgba(255,255,255,0.025);
  border: 1px solid var(--on-dark-line);
  border-radius: 16px;
  overflow: hidden;
  padding: 0;
}
.score {
  border-right: 1px solid var(--on-dark-line);
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 22px 18px;
  text-align: left;
}
.score:last-child { border-right: 0; }
@media (max-width: 720px) {
  .scores { grid-template-columns: repeat(2, 1fr); }
  .score { border-bottom: 1px solid var(--on-dark-line); }
  .score:nth-last-child(-n+2) { border-bottom: 0; }
  .score:nth-child(2n) { border-right: 0; }
}
.score__num {
  font-size: 44px;
  letter-spacing: -.03em;
  background: linear-gradient(135deg, var(--cyan-bright), var(--cyan), var(--cyan-deep));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: var(--cyan);  /* fallback */
}

/* Big Domino — centerpiece pull-quote */
.result__block--highlight {
  padding: 40px 36px;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(95,232,215,0.12), transparent 60%),
    linear-gradient(180deg, rgba(95,232,215,0.06), rgba(20,184,166,0.02));
  border-color: var(--border-cyan);
  position: relative;
}
.result__block--highlight::before {
  content: '';
  position: absolute;
  top: -1px; left: 50%;
  transform: translateX(-50%);
  width: 64px; height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
}
.big-domino__lever {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(26px, 4vw, 38px);
  line-height: 1.25;
  letter-spacing: -.005em;
  text-align: center;
  color: var(--on-dark);
  max-width: 720px;
  margin: 0 auto 20px;
  position: relative;
  padding: 0 32px;
}
.big-domino__lever::before, .big-domino__lever::after {
  font-family: 'Instrument Serif', serif;
  color: var(--cyan);
  font-size: 1.4em;
  line-height: 1;
  opacity: 0.7;
  position: absolute;
}
.big-domino__lever::before { content: '"'; left: 0; top: -8px; }
.big-domino__lever::after { content: '"'; right: 0; bottom: -22px; }
.big-domino__why {
  text-align: center;
  font-size: 15px;
  line-height: 1.7;
  color: var(--on-dark-soft);
  max-width: 620px;
  margin: 18px auto 0;
}

/* Forbidden Truth — pull quote pattern (brand kit) */
.forbidden-truth-wrap {
  position: relative;
  padding: 26px 0 26px 28px;
  border-left: 3px solid var(--cyan-mid);
  background: linear-gradient(90deg, rgba(20,184,166,0.05), transparent 60%);
  border-radius: 0 12px 12px 0;
}
.forbidden-truth-wrap::before {
  content: '';
  position: absolute;
  top: -4px; left: 18px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 4px var(--dark), 0 0 12px var(--cyan);
}
.forbidden-truth {
  font-family: 'Open Sans', sans-serif;
  font-size: 17px;
  line-height: 1.75;
  color: var(--on-dark);
  font-style: normal;
  margin: 0;
}
.forbidden-truth strong { color: var(--cyan-bright); font-weight: 700; }

/* Plan 30/60/90 — editorial step numerals */
.plan__step { padding: 22px 20px; }
.plan__step-num {
  font-size: clamp(56px, 7vw, 88px);
  line-height: 0.85;
  margin-bottom: 14px;
  letter-spacing: -.02em;
  display: block;
}
.plan__step-obj {
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 12px;
}
.plan__step-action {
  font-size: 14px;
  line-height: 1.65;
  color: var(--on-dark-soft);
}

/* Patterns — numbered editorial list */
.pattern {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 14px;
  padding: 18px 18px 18px 0;
  background: transparent;
  border-left: none;
  border-bottom: 1px solid var(--on-dark-line);
  border-radius: 0;
}
.pattern:last-child { border-bottom: 0; }
.pattern__index {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: 28px;
  line-height: 1;
  color: var(--cyan);
  padding-top: 2px;
}
.pattern__name {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--cyan-bright);
  margin-bottom: 6px;
}

/* Puntos ciegos */
.blind-spots { display: flex; flex-direction: column; gap: 18px; }
.blind-spot {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--on-dark-line);
}
.blind-spot:last-child { border-bottom: 0; }
.blind-spot__num {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: 26px;
  color: var(--cyan);
  line-height: 1;
  padding-top: 4px;
  min-width: 32px;
}
.blind-spot__punto {
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--on-dark);
  margin-bottom: 6px;
  line-height: 1.4;
}
.blind-spot__cons {
  font-size: 14px;
  color: var(--on-dark-soft);
  line-height: 1.55;
}

/* Costo de inacción — alert tone but on-brand */
.costo-wrap {
  padding: 20px 22px;
  border: 1px solid rgba(252, 211, 77, 0.20);
  background: rgba(252, 211, 77, 0.04);
  border-radius: 14px;
  position: relative;
}
.costo-wrap__label {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: #FCD34D;
  margin-bottom: 10px;
}
.costo-wrap__ventana {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: 24px;
  color: var(--on-dark);
  margin-bottom: 12px;
}
.costo-wrap__ventana strong {
  font-family: 'Montserrat', sans-serif;
  font-style: normal;
  font-weight: 800;
  color: #FCD34D;
}

/* Cliente análogo card */
.analog-card {
  margin-top: 14px;
  padding: 18px 20px;
  background: rgba(95,232,215,0.04);
  border: 1px solid rgba(95,232,215,0.14);
  border-radius: 12px;
}
.analog-card__label {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 8px;
}
.analog-card__name {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 18px;
  margin-bottom: 6px;
}
.analog-card__line {
  font-size: 14px;
  color: var(--on-dark-soft);
  line-height: 1.5;
  margin-bottom: 4px;
}
.analog-card__cita {
  margin-top: 10px;
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: 17px;
  color: var(--cyan-bright);
  line-height: 1.4;
}

/* Final Rodrigo quote — hero pull quote */
.result__block--quote { margin: 50px 0 30px; padding: 0; }
.rodrigo-quote {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: clamp(26px, 4vw, 38px);
  line-height: 1.32;
  color: var(--on-dark);
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
  padding: 30px 28px;
  position: relative;
}
.rodrigo-quote::before {
  content: '';
  display: block;
  width: 40px; height: 2px;
  background: var(--cyan);
  margin: 0 auto 24px;
  box-shadow: 0 0 12px var(--cyan);
}
.rodrigo-quote__author {
  display: block;
  margin-top: 20px;
  font-family: 'Montserrat', sans-serif;
  font-style: normal;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--cyan);
}

/* ============================================================
   v1.3 · Legibility pass
   Min text sizes: 11px small-caps labels · 12px metadata · 14px body content
   Following WCAG/web-design conventions for laptop & retina readability.
   ============================================================ */

/* All small uppercase labels lifted from 10px → 11px (safer minimum on non-retina) */
.hero__meta-item .label,
.score__label,
.phase__hint,
.result__meta,
.costo-wrap__label,
.analog-card__label {
  font-size: 12px;
}

/* Field counter (not uppercase) — bump to 12px */
.field__counter { font-size: 12px; }

/* Body content (lectura, acción, descripción) — bump from 13px to 14px */
.score__lectura,
.plan__step-action,
.muted,
.field__error,
.capture__legal,
.analog-card__line {
  font-size: 14px;
}

/* Hero micro-copy below CTA — readable at arm's length */
.hero__micro { font-size: 14px; }

/* Question subtitle — was 15px, lift to 16px so prompt context is unmissable */
.question__sub { font-size: 16px; line-height: 1.6; }

/* Option detail italic — was 14px italic. Keep 14px but ensure line-height comfortable */
.option__detail { line-height: 1.55; }

/* Pattern diagnostic / phase explainer — these are mini-paragraphs, keep at 14-15 */
.pattern__diag, .phase-explainer { font-size: 15px; line-height: 1.65; }

/* Forbidden truth — push to 17px (it IS the centerpiece) */
.forbidden-truth { font-size: 17px; line-height: 1.75; }

/* Big domino "why" — supporting paragraph for the centerpiece */
.big-domino__why { font-size: 16px; line-height: 1.7; }

/* Plan step action — content, not metadata — 14px confirmed */
.plan__step-action { font-size: 14px; line-height: 1.6; }

/* Footer slightly larger so it reads on laptops */
.footer { font-size: 14px; }

/* Result block titles (currently 11px small-caps) — lift to 12px for hierarchy strength */
.result__block-title { font-size: 12px; }

/* CTA final paragraph — readable at arm's length */
.cta-final p { font-size: 16px; line-height: 1.7; }

/* ============================================================
   v2.0 · Cinematic Loader (6 scenes)
   ============================================================ */

.loader-v2 {
  position: relative;
  min-height: 100vh;
  padding: 40px 0 60px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.loader-v2 .dots-canvas { position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0.5; }

.loader-v2__head {
  position: relative;
  z-index: 2;
  text-align: center;
  margin-bottom: 28px;
}
.loader-v2__head .percent {
  font-size: clamp(48px, 8vw, 86px);
  margin-bottom: 12px;
}
.loader-v2__head .progress-linear { max-width: 360px; margin: 0 auto 14px; }

/* Scene dots — small indicators of which scene is active */
.scene-dots { display: inline-flex; gap: 8px; }
.scene-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.14);
  transition: all .3s;
}
.scene-dot.is-done { background: var(--cyan-mid); opacity: 0.6; }
.scene-dot.is-active {
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
  width: 24px; border-radius: 999px;
}

/* Stage container holds all scenes; only .is-active is visible */
.loader-v2__stage {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 380px;
}
.scene {
  position: absolute;
  inset: 0;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  animation: sceneFadeIn .35s ease-out;
}
.scene.is-active { display: flex; }
.scene.is-leaving { animation: sceneFadeOut .25s ease-in forwards; }
@keyframes sceneFadeIn {
  from { opacity: 0; transform: translateY(8px) scale(.985); filter: blur(4px); }
  to { opacity: 1; transform: none; filter: blur(0); }
}
@keyframes sceneFadeOut {
  to { opacity: 0; transform: translateY(-8px) scale(1.015); filter: blur(4px); }
}

.scene__kicker {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 22px;
  display: flex; align-items: center; gap: 10px;
}
.scene__kicker::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
  animation: pulse 1.6s ease-in-out infinite;
}
.scene__caption {
  font-size: 14px;
  color: var(--on-dark-soft);
  text-align: center;
  margin-top: 18px;
  min-height: 1.4em;
  transition: opacity .3s;
}
.scene__caption.is-fading { opacity: 0; }
.scene__counter {
  margin-top: 18px;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
}
.scene__counter-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--on-dark-muted);
}
.scene__counter-num {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 32px;
  color: var(--cyan);
  letter-spacing: -.02em;
}
.scene__counter-num small { font-size: 18px; color: var(--on-dark-muted); font-weight: 600; }

/* ============== SCENE 1: CLI ============== */
.cli {
  width: 100%;
  max-width: 640px;
  background: rgba(11, 26, 34, 0.85);
  border: 1px solid var(--on-dark-line-2);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 24px 60px -16px rgba(0,0,0,0.5), 0 0 0 1px var(--cyan-soft);
  backdrop-filter: blur(8px);
}
.cli__bar {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px;
  background: rgba(7, 19, 26, 0.9);
  border-bottom: 1px solid var(--on-dark-line);
}
.cli__dot { width: 11px; height: 11px; border-radius: 50%; }
.cli__dot--r { background: #ff5f57; }
.cli__dot--y { background: #febc2e; }
.cli__dot--g { background: #28c840; }
.cli__title {
  margin-left: 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--on-dark-muted);
}
.cli__body {
  padding: 18px 20px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  line-height: 1.7;
  color: var(--on-dark-soft);
  min-height: 220px;
}
.cli__line { display: block; min-height: 1.7em; }
.cli__line .prompt { color: var(--cyan); }
.cli__line .ok { color: var(--cyan-bright); }
.cli__line .accent { color: var(--cyan); font-weight: 700; }
.cli__line .muted { color: var(--on-dark-muted); }
.cli__cursor {
  display: inline-block;
  width: 8px; height: 1em;
  background: var(--cyan);
  vertical-align: text-bottom;
  margin-left: 2px;
  animation: cliBlink 1s steps(2) infinite;
}
@keyframes cliBlink { 50% { opacity: 0; } }

/* ============== SCENE 2: PATTERN CHIPS ============== */
.patterns-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  width: 100%;
  max-width: 640px;
}
@media (max-width: 600px) { .patterns-grid { grid-template-columns: repeat(2, 1fr); } }
.pchip {
  padding: 14px 14px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--on-dark-line);
  border-radius: 12px;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: var(--on-dark-muted);
  display: flex; align-items: center; gap: 10px;
  text-align: left;
  transition: all .3s;
  position: relative;
  min-height: 56px;
}
.pchip__icon {
  width: 16px; height: 16px;
  border-radius: 50%;
  border: 1.5px solid var(--on-dark-line-2);
  flex-shrink: 0;
  transition: all .3s;
}
.pchip.is-checking {
  border-color: var(--cyan);
  background: rgba(95,232,215,0.06);
  color: var(--on-dark);
  box-shadow: 0 0 0 1px var(--border-cyan);
}
.pchip.is-checking .pchip__icon {
  border-color: var(--cyan);
  background: var(--cyan);
  animation: chipPulse 0.6s ease-in-out infinite;
}
@keyframes chipPulse {
  50% { transform: scale(1.4); opacity: 0.6; }
}
.pchip.is-match {
  border-color: var(--cyan);
  background: linear-gradient(135deg, rgba(95,232,215,0.10), rgba(20,184,166,0.04));
  color: var(--on-dark);
  box-shadow: 0 0 0 1px var(--cyan), 0 0 16px rgba(95,232,215,0.2);
}
.pchip.is-match .pchip__icon {
  background: var(--cyan);
  border-color: var(--cyan);
  box-shadow: 0 0 12px var(--cyan);
}
.pchip.is-match .pchip__icon::after {
  content: '✓';
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 100%;
  color: var(--dark);
  font-size: 12px;
  font-weight: 900;
}
.pchip.is-skip {
  opacity: 0.4;
}
.pchip.is-skip .pchip__icon { background: transparent; border-color: var(--on-dark-line); }

/* ============== SCENE 3: CASES GRID ============== */
.cases-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  width: 100%;
  max-width: 560px;
  padding: 18px;
  background: rgba(255,255,255,0.025);
  border: 1px solid var(--on-dark-line);
  border-radius: 14px;
  overflow: hidden;
}
@media (max-width: 600px) { .cases-grid { grid-template-columns: repeat(5, 1fr); gap: 8px; } }
.case-card {
  aspect-ratio: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--on-dark-line);
  border-radius: 10px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  color: var(--on-dark-soft);
  font-size: 18px;
  letter-spacing: -.02em;
  position: relative;
  transition: all .35s;
  opacity: 0;
  transform: scale(.9);
}
.case-card.is-revealed { opacity: 1; transform: none; }
.case-card.is-winner {
  background: linear-gradient(135deg, rgba(95,232,215,0.16), rgba(20,184,166,0.06));
  border-color: var(--cyan);
  color: var(--cyan-bright);
  transform: scale(1.08);
  box-shadow: 0 0 0 1px var(--cyan), 0 0 24px rgba(95,232,215,0.45);
  z-index: 2;
}
.case-card.is-winner::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 12px;
  border: 1px solid var(--cyan);
  opacity: 0.5;
  animation: ping 1.6s ease-out infinite;
}
.case-card__sub { font-size: 12px; letter-spacing: .14em; color: var(--on-dark-muted); margin-top: 2px; font-weight: 600; }
.case-card.is-winner .case-card__sub { color: var(--cyan); }

/* Scan line overlay */
.cases-scan {
  position: absolute;
  left: 0; right: 0;
  top: 0;
  height: 60px;
  background: linear-gradient(180deg, transparent, rgba(95,232,215,0.20), transparent);
  pointer-events: none;
  filter: blur(2px);
  opacity: 0;
}
.cases-scan.is-running {
  opacity: 1;
  animation: scanDown 1.6s ease-in-out 1;
}
@keyframes scanDown {
  from { top: -60px; }
  to { top: 100%; }
}
@keyframes ping {
  0% { opacity: 0.5; transform: scale(1); }
  80% { opacity: 0; transform: scale(1.18); }
  100% { opacity: 0; transform: scale(1.18); }
}

/* ============== SCENE 4: LEVER NETWORK ============== */
.lever-canvas {
  position: relative;
  width: 100%;
  max-width: 480px;
  height: 280px;
  border: 1px solid var(--on-dark-line);
  border-radius: 14px;
  background: rgba(255,255,255,0.02);
  overflow: hidden;
}
.lnode {
  position: absolute;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  opacity: 0.4;
  transition: opacity .5s, transform .8s;
}
.lnode.is-faded { opacity: 0; transform: scale(0); }
.lnode.is-final {
  width: 32px; height: 32px;
  background: var(--cyan-bright);
  opacity: 1;
  box-shadow: 0 0 0 8px rgba(95,232,215,0.18), 0 0 40px var(--cyan);
  animation: lnodePulse 1.2s ease-in-out infinite;
  z-index: 3;
}
@keyframes lnodePulse {
  50% { box-shadow: 0 0 0 14px rgba(95,232,215,0.10), 0 0 60px var(--cyan); }
}
.lever-redacted {
  position: absolute;
  bottom: 18px; left: 50%;
  transform: translateX(-50%);
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  color: var(--cyan);
  letter-spacing: .14em;
  background: linear-gradient(90deg, var(--cyan-deeper), var(--cyan), var(--cyan-deeper));
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 2s linear infinite;
  opacity: 0;
}
.lever-redacted.is-visible { opacity: 1; }
@keyframes shimmer {
  to { background-position: -200% 0; }
}

/* ============== SCENE 5: DOC TYPEWRITER ============== */
.doc {
  width: 100%;
  max-width: 580px;
  padding: 26px 28px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--on-dark-line);
  border-radius: 14px;
  position: relative;
  min-height: 220px;
}
.doc__header { margin-bottom: 18px; }
.doc__line {
  height: 8px;
  background: linear-gradient(90deg, rgba(95,232,215,0.20), rgba(95,232,215,0.06));
  border-radius: 4px;
  margin-bottom: 6px;
}
.doc__line--meta { width: 30%; height: 6px; opacity: 0.6; }
.doc__line--title { width: 70%; height: 14px; }
.doc__body {
  font-family: 'Open Sans', sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: var(--on-dark-soft);
  min-height: 110px;
  white-space: pre-wrap;
}
.doc__cursor {
  display: inline-block;
  width: 8px; height: 1em;
  background: var(--cyan);
  vertical-align: text-bottom;
  margin-left: 2px;
  animation: cliBlink 1s steps(2) infinite;
}

/* ============== SCENE 6: CHECKLIST ============== */
.checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;
  max-width: 520px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cli-item {
  display: flex; align-items: center; gap: 14px;
  padding: 10px 14px;
  background: rgba(255,255,255,0.025);
  border: 1px solid var(--on-dark-line);
  border-radius: 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  color: var(--on-dark-muted);
  transition: all .3s;
}
.cli-item__icon {
  width: 18px;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  font-size: 14px;
  color: var(--on-dark-muted);
  text-align: center;
  display: inline-block;
}
.cli-item.is-running {
  color: var(--on-dark);
  border-color: var(--border-cyan);
  background: rgba(95,232,215,0.04);
}
.cli-item.is-running .cli-item__icon {
  color: var(--cyan);
  animation: brailleSpin .8s steps(8) infinite;
}
@keyframes brailleSpin {
  0%   { content: '⠋'; }
  12%  { content: '⠙'; }
  25%  { content: '⠹'; }
  37%  { content: '⠸'; }
  50%  { content: '⠼'; }
  62%  { content: '⠴'; }
  75%  { content: '⠦'; }
  87%  { content: '⠧'; }
  100% { content: '⠇'; }
}
.cli-item.is-done {
  color: var(--on-dark);
}
.cli-item.is-done .cli-item__icon {
  color: var(--cyan-bright);
}

/* Spoiler reveal */
.spoiler {
  margin-top: 28px;
  padding: 22px 24px;
  background: linear-gradient(135deg, rgba(95,232,215,0.10), rgba(20,184,166,0.04));
  border: 1px solid var(--border-cyan);
  border-radius: 14px;
  text-align: center;
  max-width: 520px;
  width: 100%;
  box-shadow: 0 16px 40px -16px rgba(95,232,215,0.30);
  animation: spoilerIn .55s cubic-bezier(.25,.85,.35,1.05);
}
@keyframes spoilerIn {
  from { opacity: 0; transform: translateY(10px) scale(.96); filter: blur(6px); }
  to { opacity: 1; transform: none; filter: blur(0); }
}
.spoiler__label {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 10px;
}
.spoiler__text {
  font-size: 13px;
  color: var(--on-dark-soft);
  margin-bottom: 8px;
}
.spoiler__archetype {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: clamp(28px, 4.5vw, 40px);
  letter-spacing: -.02em;
  line-height: 1.05;
  background: linear-gradient(135deg, var(--cyan-bright), var(--cyan), var(--cyan-deep));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.scene__cta {
  margin-top: 24px;
  animation: spoilerIn .55s ease-out .3s both;
}

/* ============================================================
   v2.1 · Loader compactness + knowledge graph + always-on motion
   ============================================================ */

/* Tighter loader on mobile so everything fits in one screen */
.loader-v2 { min-height: 100vh; padding: 16px 0 24px; }
.loader-v2__head { margin-bottom: 14px; }
.loader-v2__head .percent { font-size: clamp(38px, 7vw, 72px); margin-bottom: 8px; }
.loader-v2__head .progress-linear { max-width: 280px; margin: 0 auto 10px; }
.scene-dots { gap: 6px; }
.scene-dot { width: 5px; height: 5px; }
.scene-dot.is-active { width: 18px; }

.loader-v2__stage { min-height: 0; }

/* Tighter scene padding */
.scene__kicker { margin-bottom: 14px; font-size: 12px; }
.scene__caption { margin-top: 12px; font-size: 13px; }
.scene__counter { margin-top: 12px; gap: 2px; }
.scene__counter-num { font-size: 26px; }
.scene__counter-num small { font-size: 14px; }

/* Compact CLI for mobile */
.cli__body { padding: 14px 16px; min-height: 160px; font-size: 12px; }
.cli__bar { padding: 10px 14px; }
.cli__title { font-size: 12px; }

/* Compact pattern chips */
.pchip { padding: 11px 12px; font-size: 12px; min-height: 48px; gap: 8px; }
.pchip__icon { width: 14px; height: 14px; }
.patterns-grid { gap: 8px; }

/* Compact cases */
.cases-grid { padding: 14px; gap: 8px; }
.case-card { font-size: 16px; }
.case-card__sub { font-size: 12px; }

/* Compact lever canvas */
.lever-canvas { height: 220px; }

/* Compact doc */
.doc { padding: 18px 20px; min-height: 180px; }
.doc__body { font-size: 14px; min-height: 90px; }

/* Compact checklist */
.cli-item { padding: 8px 12px; font-size: 12px; gap: 10px; }
.cli-item__icon { width: 14px; font-size: 13px; }
.checklist { gap: 6px; }

/* Spoiler tightened */
.spoiler { margin-top: 16px; padding: 16px 20px; }
.spoiler__archetype { font-size: clamp(24px, 6vw, 36px); }
.scene__cta { margin-top: 16px; }

/* Continuous heartbeat under percent — always pulsing so users see motion */
.heartbeat {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  margin-right: 8px;
  vertical-align: middle;
  box-shadow: 0 0 10px var(--cyan);
  animation: heartbeat 1.1s ease-in-out infinite;
}
@keyframes heartbeat {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.55; }
}

/* Caption ticker — tiny rotating sub-line under each scene caption */
.scene__sub {
  margin-top: 4px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: .03em;
  color: var(--on-dark-muted);
  min-height: 1.4em;
  opacity: .85;
  text-align: center;
}

/* ============== Knowledge graph (Scene 4) ============== */
.kgraph { width: 100%; height: 100%; display: block; }
.kgraph__edges line {
  stroke: var(--cyan);
  stroke-width: 1;
  stroke-opacity: 0;
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
  transition: stroke-opacity .4s ease;
}
.kgraph__edges line.is-drawn {
  stroke-opacity: 0.18;
  animation: edgeDraw .9s ease-out forwards, edgePulse 3.4s ease-in-out infinite 1s;
}
.kgraph__edges line.is-final {
  stroke-opacity: 0.85;
  stroke-width: 1.6;
  filter: drop-shadow(0 0 6px var(--cyan));
}
.kgraph__edges line.is-faded {
  animation: edgeFade .6s ease-out forwards;
}
@keyframes edgeDraw { to { stroke-dashoffset: 0; } }
@keyframes edgePulse { 0%,100% { stroke-opacity: 0.18; } 50% { stroke-opacity: 0.34; } }
@keyframes edgeFade { to { stroke-opacity: 0.04; } }

.kgraph__nodes circle {
  fill: var(--cyan);
  fill-opacity: 0.55;
  transition: fill-opacity .5s ease, r .6s ease, transform .6s ease;
  transform-box: fill-box;
  transform-origin: center;
  animation: nodeBreathe 2.6s ease-in-out infinite;
}
@keyframes nodeBreathe {
  0%, 100% { transform: scale(1); fill-opacity: .45; }
  50% { transform: scale(1.18); fill-opacity: .8; }
}
.kgraph__nodes circle.is-faded { fill-opacity: 0.05; animation: none; }
.kgraph__nodes circle.is-final {
  fill: var(--cyan-bright);
  fill-opacity: 1;
  filter: drop-shadow(0 0 12px var(--cyan));
  animation: nodeFinalPulse 1.4s ease-in-out infinite;
}
@keyframes nodeFinalPulse {
  0%, 100% { transform: scale(1.5); }
  50% { transform: scale(1.85); }
}

/* Halo ring around the final node */
.kgraph__final circle {
  fill: none;
  stroke: var(--cyan);
  stroke-width: 1;
  stroke-opacity: 0.6;
  transform-box: fill-box;
  transform-origin: center;
  animation: haloPing 1.8s ease-out infinite;
}
@keyframes haloPing {
  0% { transform: scale(0.6); stroke-opacity: 0.7; }
  80%, 100% { transform: scale(2.4); stroke-opacity: 0; }
}

/* Mobile fits — even tighter under 400px */
@media (max-height: 740px) {
  .loader-v2 { padding: 10px 0 16px; }
  .loader-v2__head { margin-bottom: 8px; }
  .loader-v2__head .percent { font-size: 36px; margin-bottom: 4px; }
  .loader-v2__head .progress-linear { margin-bottom: 6px; }
  .scene__kicker { margin-bottom: 10px; }
  .cli__body { min-height: 130px; padding: 12px 14px; font-size: 12px; }
  .lever-canvas { height: 180px; }
  .doc { min-height: 150px; padding: 14px 16px; }
  .doc__body { min-height: 70px; font-size: 13px; }
  .checklist { gap: 4px; }
  .cli-item { padding: 6px 12px; font-size: 12px; }
}

/* ============================================================
   v2.2 · Stretched timeline (~1:45 baseline) + warning + decimal counter
   ============================================================ */

/* Persistent "no cierres" warning under the scene-dots */
.loader-warn {
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
  color: #FCD34D;
  background: rgba(252, 211, 77, 0.06);
  border: 1px solid rgba(252, 211, 77, 0.18);
  padding: 6px 12px;
  border-radius: 999px;
  animation: warnFadeIn .8s ease-out;
}
.loader-warn__dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #FCD34D;
  box-shadow: 0 0 8px #FCD34D;
  animation: warnBlink 1.4s ease-in-out infinite;
}
@keyframes warnBlink { 50% { opacity: 0.35; transform: scale(0.85); } }
@keyframes warnFadeIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

/* Decimal % style — slightly smaller, JetBrains Mono for subtle tech feel */
.percent__decimal {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 500;
  font-size: 0.45em;
  color: var(--cyan);
  -webkit-text-fill-color: var(--cyan);
  margin-left: 2px;
  vertical-align: top;
  position: relative;
  top: 0.55em;
  letter-spacing: -.02em;
}

/* Loop caption ticker for Scene 6 */
.scene-6 .scene__caption {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12.5px;
  color: var(--on-dark-soft);
  margin-top: 16px;
  min-height: 1.4em;
}
.scene-6 .scene__caption .dotdot {
  display: inline-block;
  width: 18px;
  text-align: left;
  color: var(--cyan);
}

/* ============================================================
   Case Studies block (post-result, below CTA-final)
   Visual style ported from /precall — vthumb cards with custom
   thumbnails, click-to-load YouTube iframe, no external links.
   ============================================================ */
.cases-section {
  margin-top: 64px;
  padding-top: 48px;
  border-top: 1px solid var(--on-dark-line);
}
.cases-section__head { margin-bottom: 32px; max-width: 720px; }
.cases-section__kicker {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: 14px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--on-dark-muted);
  margin-bottom: 14px;
  display: inline-block;
}
.cases-section__title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(24px, 3.6vw, 34px);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.15;
  color: var(--on-dark);
  margin: 0 0 14px;
}
.cases-section__title em {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-weight: 400;
  color: var(--cyan);
}
.cases-section__body {
  font-size: 16px;
  line-height: 1.65;
  color: var(--on-dark-soft);
  max-width: 60ch;
}

.cs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px 20px;
}
@media (max-width: 640px) {
  .cs-grid { grid-template-columns: 1fr; gap: 28px; }
}
.cs-item { display: flex; flex-direction: column; gap: 14px; }

.cs-card {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: 18px;
  overflow: hidden;
  background: var(--dark-2);
  cursor: pointer;
  box-shadow: 0 4px 20px -10px rgba(0,0,0,0.50), 0 0 0 1px var(--on-dark-line);
  transition: transform .35s ease, box-shadow .35s;
}
.cs-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.55), 0 0 0 1px var(--border-cyan);
}
.cs-card iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: none; }

/* Native YouTube thumbnail */
.cs-thumb {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s ease, filter .35s ease;
}
.cs-card:hover .cs-thumb {
  transform: scale(1.03);
  filter: brightness(1.05);
}

.cs-play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 64px; height: 64px;
  border-radius: 50%;
  background: rgba(0,0,0,0.78);
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(95,232,215,0.55);
  box-shadow: 0 0 0 4px rgba(0,0,0,0.30), 0 12px 30px rgba(0,0,0,0.55);
  transition: transform .25s ease, box-shadow .25s, border-color .25s, background .25s;
  pointer-events: none;
  z-index: 2;
}
.cs-card:hover .cs-play {
  transform: translate(-50%, -50%) scale(1.08);
  background: rgba(0,0,0,0.88);
  border-color: var(--cyan);
  box-shadow: 0 0 0 4px rgba(95,232,215,0.18), 0 16px 36px rgba(95,232,215,0.35);
}
.cs-play::after {
  content: ''; position: absolute; inset: -5px;
  border-radius: 50%;
  border: 1px solid rgba(95,232,215,0.50);
  opacity: 0;
  animation: cs-ping 2.4s ease-out infinite;
}
@keyframes cs-ping {
  0%   { opacity: 1; transform: scale(0.95); }
  80%  { opacity: 0; transform: scale(1.30); }
  100% { opacity: 0; transform: scale(1.30); }
}
.cs-play-tri {
  width: 0; height: 0;
  border-style: solid;
  border-width: 11px 0 11px 17px;
  border-color: transparent transparent transparent var(--cyan);
  margin-left: 4px;
}

.cs-summary {
  font-family: 'Open Sans', sans-serif;
  font-size: 13px;
  color: var(--on-dark-muted);
  line-height: 1.6;
  padding: 0 4px;
  margin: 0;
}
.cs-summary strong { color: var(--on-dark-soft); font-weight: 700; }
.cs-summary__name {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: var(--cyan);
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-right: 6px;
}

/* ============================================================
   Multi-paragraph rendering (post-feedback Rodrigo / Isra Bravo)
   Cuando el modelo devuelve texto con \n\n, lo renderizamos
   como párrafos separados visibles. Mejor respiración + ritmo.
   ============================================================ */
.result__lectura > p,
#rPhaseExplainer > p,
#rBigDominoWhy > p,
#rForbidden > p,
#rCosto > p,
.cta-final p,
.pattern__diag > p {
  margin: 0 0 14px 0;
}
.result__lectura > p:last-child,
#rPhaseExplainer > p:last-child,
#rBigDominoWhy > p:last-child,
#rForbidden > p:last-child,
#rCosto > p:last-child,
.cta-final > p:last-child,
.pattern__diag > p:last-child {
  margin-bottom: 0;
}

/* Drop cap solo en el primer párrafo del diagnóstico ejecutivo */
.result__lectura.has-drop-cap > p:first-child::first-letter,
.result__lectura > p.is-first::first-letter {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 4.2em;
  font-style: italic;
  float: left;
  line-height: 0.92;
  margin: 4px 12px 0 0;
  color: var(--cyan);
}

/* Pattern__diag ahora es un container — quitar margen vertical doble */
.pattern__diag { margin: 0; }
.pattern__diag p {
  font-family: 'Open Sans', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--on-dark-soft);
}
/* (estilos de CTA multi-paragraph manejados arriba en el bloque .cta-final #ctaFinalText) */
