:root {
  --ink: #16001f;
  --ink-soft: #2a0a35;
  --paper: #f4f0e8;
  --white: #fffdf9;
  --purple: #6b16e8;
  --purple-dark: #451092;
  --pink: #ff3aa8;
  --lime: #d5ff42;
  --blue: #2cc8ff;
  --orange: #ff7948;
  --success: #137348;
  --danger: #b42318;
  --line: rgba(22, 0, 31, 0.16);
  --line-light: rgba(255, 255, 255, 0.16);
  --radius: 26px;
  --font-display: "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

#inicio,
#metodo,
#diagnostico,
#servicios,
#portafolio {
  scroll-margin-top: 84px;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 8% 20%, rgba(255, 58, 168, 0.13), transparent 24rem),
    radial-gradient(circle at 89% 82%, rgba(107, 22, 232, 0.28), transparent 30rem),
    var(--ink);
  font-family: var(--font-body);
}

body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  content: "";
  opacity: 0.085;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.35) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.35) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
select {
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
  box-shadow: 0 0 0 6px var(--white);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: -80px;
  left: 18px;
  padding: 12px 18px;
  border-radius: 999px;
  color: var(--ink);
  background: var(--lime);
  font-weight: 800;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 16px;
}

.page-accent {
  position: fixed;
  z-index: 80;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--pink), var(--lime), var(--blue));
  pointer-events: none;
}

.site-header {
  position: relative;
  z-index: 10;
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(20px, 4vw, 68px);
  border-bottom: 1px solid var(--line-light);
  background: rgba(22, 0, 31, 0.78);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 0.98rem;
  letter-spacing: 0.04em;
}

.brand img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.mirror-text {
  display: inline-block;
  transform: scaleX(-1);
  font-weight: 800;
}

.candidate-state {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 13px;
  border: 1px solid rgba(213, 255, 66, 0.28);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.76);
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.candidate-state span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 5px rgba(213, 255, 66, 0.1);
}

.funnel-shell {
  width: min(100%, 1780px);
  min-height: calc(100vh - 78px);
  display: grid;
  grid-template-columns: minmax(380px, 0.86fr) minmax(620px, 1.14fr);
  gap: clamp(34px, 5vw, 90px);
  margin: 0 auto;
  padding: clamp(50px, 6vw, 100px) clamp(24px, 5vw, 86px) clamp(70px, 8vw, 120px);
}

.funnel-intro {
  position: sticky;
  top: 36px;
  min-width: 0;
  align-self: start;
  max-width: 660px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 28px;
  color: rgba(255, 255, 255, 0.7);
  font-family: var(--font-display);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow span {
  width: 24px;
  height: 2px;
  background: var(--pink);
}

.funnel-intro h1 {
  max-width: 700px;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(4.2rem, 6vw, 7.2rem);
  line-height: 0.87;
  letter-spacing: -0.07em;
}

.funnel-intro h1 em {
  display: block;
  color: var(--pink);
  font-style: normal;
}

.intro-lead {
  max-width: 630px;
  margin: 34px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(1rem, 1.25vw, 1.2rem);
  line-height: 1.62;
}

.expectations {
  display: grid;
  gap: 0;
  margin-top: 38px;
  border-block: 1px solid var(--line-light);
}

.expectations article {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 12px;
  padding: 17px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.expectations article:last-child {
  border-bottom: 0;
}

.expectations article > span {
  padding-top: 2px;
  color: var(--lime);
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.expectations h2 {
  margin: 0 0 4px;
  font-size: 0.95rem;
}

.expectations p {
  margin: 0;
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.82rem;
  line-height: 1.45;
}

.honesty-note {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-top: 24px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 58, 168, 0.26);
  border-radius: 18px;
  background: rgba(255, 58, 168, 0.08);
}

.honesty-mark {
  color: var(--pink);
  font-size: 1.2rem;
}

.honesty-note p {
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.8rem;
  line-height: 1.5;
}

.honesty-note strong {
  color: var(--white);
}

.desktop-progress {
  margin-top: 28px;
}

.desktop-progress ol {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.desktop-progress li {
  min-width: 0;
  display: grid;
  gap: 2px;
  padding: 10px 12px;
  border: 1px solid var(--line-light);
  border-radius: 14px;
  color: rgba(255, 255, 255, 0.48);
  background: rgba(255, 255, 255, 0.035);
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.desktop-progress li span {
  font-size: 0.61rem;
  font-weight: 800;
}

.desktop-progress li b {
  font-size: 0.67rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.desktop-progress li[aria-current="step"] {
  border-color: var(--lime);
  color: var(--ink);
  background: var(--lime);
}

.desktop-progress li.is-complete {
  border-color: rgba(213, 255, 66, 0.35);
  color: var(--lime);
}

.conversation-wrap {
  width: min(100%, 930px);
  min-width: 0;
  align-self: start;
  justify-self: end;
}

.conversation-card {
  min-height: 720px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 34px;
  color: var(--ink);
  background: var(--white);
  box-shadow: 0 42px 110px rgba(0, 0, 0, 0.34);
}

.conversation-head {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(20px, 3vw, 34px);
  color: var(--white);
  background: var(--purple);
}

.assistant-id {
  display: flex;
  align-items: center;
  gap: 12px;
}

.assistant-avatar {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  background: var(--ink);
}

.assistant-avatar img {
  width: 30px;
  height: 30px;
}

.assistant-id p {
  margin: 0 0 4px;
  font-size: 0.86rem;
  font-weight: 800;
}

.assistant-id > div:last-child > span {
  display: flex;
  align-items: center;
  gap: 7px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.69rem;
}

.assistant-id i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lime);
}

.step-counter {
  flex: 0 0 auto;
  margin: 0;
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.progress-track {
  height: 5px;
  overflow: hidden;
  background: rgba(22, 0, 31, 0.1);
}

.progress-track span {
  width: 100%;
  height: 100%;
  display: block;
  background: linear-gradient(90deg, var(--pink), var(--lime));
  transform: scaleX(0.1667);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.noscript-note {
  margin: 20px;
  padding: 14px;
  border-radius: 12px;
  color: var(--white);
  background: var(--danger);
}

.form-step,
.result-state {
  padding: clamp(26px, 4vw, 54px);
  animation: step-in 0.28s ease both;
}

@keyframes step-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
}

.intro-step {
  min-height: 630px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.bot-bubble {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  align-items: start;
}

.bot-bubble > span {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50% 50% 12px 50%;
  color: var(--white);
  background: var(--purple);
  font-size: 0.73rem;
  font-weight: 900;
}

.bot-bubble > div {
  max-width: 620px;
  padding: 20px 22px;
  border-radius: 8px 24px 24px;
  color: var(--white);
  background: var(--ink);
}

.bot-bubble p {
  margin: 0;
  font-size: clamp(1.2rem, 2.1vw, 1.65rem);
  font-weight: 700;
  line-height: 1.3;
}

.bot-bubble p + p {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.5;
}

.handoff-disclosure {
  width: 100%;
  margin: 26px 0;
  padding: 18px 20px;
  border: 1px solid rgba(107, 22, 232, 0.2);
  border-radius: 18px;
  background: rgba(107, 22, 232, 0.06);
}

.handoff-disclosure strong {
  display: block;
  margin-bottom: 5px;
  color: var(--purple-dark);
}

.handoff-disclosure p {
  margin: 0;
  color: rgba(22, 0, 31, 0.65);
  font-size: 0.86rem;
  line-height: 1.5;
}

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.2s, background 0.2s, color 0.2s, border-color 0.2s;
}

.button:hover {
  transform: translateY(-2px);
}

.button:disabled {
  opacity: 0.55;
  cursor: wait;
  transform: none;
}

.button-primary {
  color: var(--ink);
  background: var(--lime);
}

.button-dark {
  color: var(--white);
  background: var(--ink);
}

.button-ghost {
  border-color: rgba(22, 0, 31, 0.22);
  color: var(--ink);
  background: transparent;
}

.button-ghost:hover {
  border-color: var(--ink);
  background: rgba(22, 0, 31, 0.05);
}

.bot-label {
  margin: 0 0 14px;
  color: var(--purple);
  font-size: 0.69rem;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

legend,
.review-step h2,
.result-state h2 {
  max-width: 720px;
  margin: 0;
  padding: 0;
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4vw, 3.8rem);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.question-help {
  max-width: 680px;
  margin: 14px 0 26px;
  color: rgba(22, 0, 31, 0.6);
  font-size: 0.9rem;
  line-height: 1.55;
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.choice-card,
.stacked-choices label,
.pill-choices label {
  position: relative;
  cursor: pointer;
}

.choice-card input,
.stacked-choices input,
.pill-choices input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.choice-card {
  min-height: 112px;
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 13px;
  align-items: start;
  padding: 17px;
  border: 1px solid rgba(22, 0, 31, 0.16);
  border-radius: 18px;
  background: #fff;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}

.choice-card:hover {
  transform: translateY(-2px);
  border-color: rgba(107, 22, 232, 0.45);
}

.choice-card:has(input:checked) {
  border-color: var(--purple);
  background: rgba(107, 22, 232, 0.08);
  box-shadow: inset 0 0 0 1px var(--purple);
}

.choice-card:has(input:focus-visible),
.stacked-choices label:has(input:focus-visible),
.pill-choices label:has(input:focus-visible) {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
  box-shadow: 0 0 0 6px var(--white);
}

.choice-card b,
.stacked-choices b {
  display: block;
  margin-top: 1px;
  font-size: 0.91rem;
}

.choice-card small,
.stacked-choices small {
  display: block;
  margin-top: 5px;
  color: rgba(22, 0, 31, 0.58);
  font-size: 0.77rem;
  line-height: 1.38;
}

.stacked-choices {
  display: grid;
  gap: 10px;
}

.stacked-choices label {
  min-height: 70px;
  display: flex;
  align-items: center;
  padding: 15px 18px 15px 52px;
  border: 1px solid rgba(22, 0, 31, 0.16);
  border-radius: 16px;
  background: #fff;
}

.stacked-choices label::before {
  position: absolute;
  left: 18px;
  width: 18px;
  height: 18px;
  content: "";
  border: 2px solid rgba(22, 0, 31, 0.36);
  border-radius: 50%;
  background: #fff;
}

.stacked-choices label:has(input:checked) {
  border-color: var(--purple);
  background: rgba(107, 22, 232, 0.07);
}

.stacked-choices label:has(input:checked)::before {
  border: 6px solid var(--purple);
}

.compact-fieldset {
  margin-top: 26px;
}

.compact-fieldset legend {
  margin-bottom: 12px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.pill-choices {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.pill-choices span {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 10px 15px;
  border: 1px solid rgba(22, 0, 31, 0.18);
  border-radius: 999px;
  background: #fff;
  font-size: 0.78rem;
  font-weight: 700;
}

.pill-choices label:has(input:checked) span {
  border-color: var(--ink);
  color: var(--white);
  background: var(--ink);
}

.field {
  display: grid;
  gap: 7px;
  margin-top: 24px;
}

.field > span {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.field > span em,
.consent-card b em {
  color: rgba(22, 0, 31, 0.72);
  font-size: 0.65rem;
  font-style: normal;
  font-weight: 700;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  min-height: 48px;
  padding: 12px 13px;
  border: 1px solid rgba(22, 0, 31, 0.22);
  border-radius: 12px;
  outline: none;
  color: var(--ink);
  background: #fff;
}

.field textarea {
  min-height: 112px;
  resize: vertical;
  line-height: 1.5;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(107, 22, 232, 0.11);
}

.field input:focus-visible,
.field textarea:focus-visible,
.field select:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 2px;
  box-shadow: 0 0 0 6px var(--white);
}

.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"],
.field select[aria-invalid="true"] {
  border-color: var(--danger);
  box-shadow: 0 0 0 2px rgba(180, 35, 24, 0.08);
}

.field > small:not(.field-error),
.field-hint,
.field-meta {
  color: rgba(22, 0, 31, 0.7);
  font-size: 0.7rem;
  line-height: 1.4;
}

.field-meta {
  display: flex;
  justify-content: flex-end;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 16px;
}

.field-error {
  min-height: 0;
  color: var(--danger);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.4;
}

.field-error:empty {
  display: none;
}

.step-error {
  margin: 20px 0 0;
  padding: 12px 14px;
  border: 1px solid rgba(180, 35, 24, 0.18);
  border-radius: 12px;
  color: var(--danger);
  background: rgba(180, 35, 24, 0.06);
  font-size: 0.82rem;
  font-weight: 700;
}

.step-actions,
.result-actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid rgba(22, 0, 31, 0.12);
}

.summary-list {
  display: grid;
  gap: 11px;
  margin-top: 26px;
}

.summary-group {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: start;
  padding: 16px 18px;
  border: 1px solid rgba(22, 0, 31, 0.13);
  border-radius: 16px;
  background: #fff;
}

.summary-group dl {
  display: grid;
  grid-template-columns: minmax(120px, 0.35fr) minmax(0, 1fr);
  gap: 7px 18px;
  margin: 0;
}

.summary-group dt {
  color: rgba(22, 0, 31, 0.7);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.summary-group dd {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
  font-size: 0.82rem;
  line-height: 1.42;
}

.summary-edit {
  min-height: 38px;
  padding: 8px 11px;
  border: 1px solid rgba(22, 0, 31, 0.18);
  border-radius: 999px;
  color: var(--purple-dark);
  background: transparent;
  font-size: 0.7rem;
  font-weight: 800;
}

.consent-card {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 13px;
  align-items: start;
  margin-top: 22px;
  padding: 16px;
  border: 1px solid rgba(22, 0, 31, 0.18);
  border-radius: 16px;
  background: rgba(213, 255, 66, 0.18);
  cursor: pointer;
}

.consent-card input {
  width: 20px;
  height: 20px;
  margin: 2px 0 0;
  accent-color: var(--purple);
}

.consent-card b,
.consent-card small {
  display: block;
}

.consent-card b {
  font-size: 0.84rem;
}

.consent-card small {
  margin-top: 5px;
  color: rgba(22, 0, 31, 0.62);
  font-size: 0.73rem;
  line-height: 1.45;
}

.consent-card a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.consent-optional {
  margin-top: 11px;
  background: rgba(107, 22, 232, 0.05);
}

.activation-note {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  align-items: start;
  margin-top: 18px;
  padding: 14px 15px;
  border-radius: 14px;
  color: rgba(22, 0, 31, 0.72);
  background: rgba(255, 121, 72, 0.13);
}

.activation-note span {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--orange);
  font-weight: 900;
}

.activation-note p {
  margin: 2px 0 0;
  font-size: 0.75rem;
  line-height: 1.45;
}

.spam-trap {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.result-state {
  min-height: 640px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.result-icon {
  width: 66px;
  height: 66px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  border-radius: 22px;
  color: var(--white);
  background: var(--success);
  font-size: 1.8rem;
  font-weight: 900;
  transform: rotate(-4deg);
}

.error-state .result-icon {
  background: var(--danger);
}

.result-state > p:not(.bot-label, .handoff-receipt) {
  max-width: 640px;
  margin: 20px 0 0;
  color: rgba(22, 0, 31, 0.64);
  line-height: 1.6;
}

.receipt-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 28px 0 0;
}

.receipt-list div {
  padding: 15px;
  border: 1px solid rgba(22, 0, 31, 0.13);
  border-radius: 14px;
  background: rgba(22, 0, 31, 0.025);
}

.receipt-list dt {
  color: rgba(22, 0, 31, 0.5);
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
}

.receipt-list dd {
  margin: 6px 0 0;
  font-size: 0.78rem;
  font-weight: 800;
}

.handoff-receipt {
  margin: 18px 0 0;
  color: var(--purple-dark);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.75rem;
}

.conversation-footnote {
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.46);
  font-size: 0.69rem;
  line-height: 1.5;
  text-align: center;
}

.conversation-footnote a {
  color: rgba(255, 255, 255, 0.74);
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 1340px) {
  .funnel-shell {
    grid-template-columns: minmax(340px, 0.76fr) minmax(580px, 1.24fr);
    gap: 40px;
    padding-inline: 34px;
  }

  .funnel-intro h1 {
    font-size: clamp(4rem, 5.4vw, 5.6rem);
  }

  .desktop-progress li {
    min-width: 78px;
  }
}

@media (max-width: 1080px) {
  .funnel-shell {
    grid-template-columns: minmax(0, 1fr);
    gap: 48px;
    padding-inline: clamp(24px, 6vw, 70px);
  }

  .funnel-intro {
    position: static;
    max-width: 850px;
  }

  .funnel-intro h1 {
    max-width: 780px;
    font-size: clamp(4rem, 9vw, 6.4rem);
  }

  .expectations {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    border: 0;
  }

  .expectations article {
    grid-template-columns: 34px 1fr;
    padding: 16px;
    border: 1px solid var(--line-light) !important;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.035);
  }

  .conversation-wrap {
    width: 100%;
    max-width: 920px;
    justify-self: center;
  }

  .desktop-progress ol {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .site-header {
    min-height: 70px;
    padding: 12px 18px;
  }

  .brand {
    font-size: 0.78rem;
  }

  .brand img {
    width: 34px;
    height: 34px;
  }

  .candidate-state {
    max-width: 160px;
    padding: 8px 10px;
    font-size: 0.58rem;
    line-height: 1.3;
  }

  .funnel-shell {
    min-height: calc(100vh - 70px);
    gap: 34px;
    padding: 42px 16px calc(64px + env(safe-area-inset-bottom));
  }

  .funnel-intro h1 {
    font-size: clamp(3.45rem, 15vw, 5rem);
  }

  .intro-lead {
    font-size: 0.98rem;
  }

  .expectations {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .honesty-note {
    margin-top: 16px;
  }

  .desktop-progress {
    overflow-x: auto;
    margin-inline: -16px;
    padding: 0 16px 8px;
    scrollbar-width: thin;
  }

  .desktop-progress ol {
    display: flex;
    width: max-content;
    flex-wrap: nowrap;
  }

  .desktop-progress li {
    min-width: 88px;
  }

  .conversation-card {
    min-height: 690px;
    border-radius: 24px;
  }

  .conversation-head {
    min-height: 76px;
    padding: 14px 16px;
  }

  .assistant-avatar {
    width: 42px;
    height: 42px;
  }

  .assistant-id p {
    font-size: 0.78rem;
  }

  .assistant-id > div:last-child > span {
    font-size: 0.6rem;
  }

  .step-counter {
    padding: 8px 9px;
    font-size: 0.58rem;
  }

  .form-step,
  .result-state {
    padding: 28px 18px calc(30px + env(safe-area-inset-bottom));
  }

  .intro-step,
  .result-state {
    min-height: 610px;
  }

  .bot-bubble {
    grid-template-columns: 38px 1fr;
    gap: 10px;
  }

  .bot-bubble > span {
    width: 38px;
    height: 38px;
  }

  .bot-bubble > div {
    padding: 18px;
  }

  .bot-bubble p {
    font-size: 1.15rem;
  }

  legend,
  .review-step h2,
  .result-state h2 {
    font-size: clamp(2rem, 9vw, 3rem);
  }

  .choice-grid,
  .field-grid {
    grid-template-columns: 1fr;
  }

  .choice-card {
    min-height: 94px;
  }

  .step-actions,
  .result-actions {
    flex-direction: column-reverse;
  }

  .step-actions .button,
  .result-actions .button {
    width: 100%;
  }

  .summary-group {
    grid-template-columns: 1fr;
  }

  .summary-group dl {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .summary-group dd + dt {
    margin-top: 8px;
  }

  .summary-edit {
    justify-self: start;
  }

  .receipt-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 430px) {
  .candidate-state {
    max-width: 125px;
  }

  .funnel-intro h1 {
    font-size: clamp(3.05rem, 14.6vw, 4rem);
  }

  .funnel-shell {
    padding-inline: 12px;
  }

  .desktop-progress {
    margin-inline: -12px;
    padding-inline: 12px;
  }

  .conversation-head {
    gap: 8px;
  }

  .assistant-id {
    gap: 8px;
  }

  .assistant-avatar {
    display: none;
  }

  .choice-card {
    grid-template-columns: 36px 1fr;
    padding: 14px;
  }

}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* Experiencia unificada 0.2.0: marca, contenido, portafolio y diagnóstico. */
:root {
  --pointer-x: 50%;
  --pointer-y: 35%;
  --night: #09000f;
  --night-soft: #11001d;
}

body {
  background:
    radial-gradient(circle at var(--pointer-x) var(--pointer-y), rgba(107, 22, 232, 0.2), transparent 28rem),
    linear-gradient(180deg, var(--night), var(--ink) 45%, #08000e);
}

.energy-field {
  position: fixed;
  z-index: -2;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.energy-field::before,
.energy-field::after {
  position: absolute;
  inset: 0;
  content: "";
}

.energy-field::before {
  opacity: 0.12;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.16) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: linear-gradient(to bottom, #000, transparent 84%);
}

.energy-field::after {
  background: radial-gradient(circle at var(--pointer-x) var(--pointer-y), rgba(44, 200, 255, 0.13), transparent 20rem);
  transition: background 0.18s linear;
}

.energy-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(34px);
  mix-blend-mode: screen;
  animation: energy-drift 14s ease-in-out infinite alternate;
}

.energy-orb-pink {
  width: 42vw;
  height: 42vw;
  top: -18vw;
  right: -8vw;
  background: rgba(255, 58, 168, 0.18);
}

.energy-orb-blue {
  width: 34vw;
  height: 34vw;
  top: 44vh;
  left: -18vw;
  background: rgba(44, 200, 255, 0.13);
  animation-delay: -5s;
}

.energy-orb-lime {
  width: 24vw;
  height: 24vw;
  right: 12vw;
  bottom: -14vw;
  background: rgba(213, 255, 66, 0.09);
  animation-delay: -8s;
}

.energy-scan {
  position: absolute;
  width: 2px;
  height: 40vh;
  top: -44vh;
  left: 72%;
  opacity: 0.5;
  background: linear-gradient(transparent, var(--blue), transparent);
  box-shadow: 0 0 30px var(--blue);
  transform: rotate(18deg);
  animation: scan-energy 9s linear infinite;
}

@keyframes energy-drift {
  to { transform: translate3d(7vw, 5vh, 0) scale(1.14); }
}

@keyframes scan-energy {
  to { transform: translate3d(-30vw, 160vh, 0) rotate(18deg); }
}

.site-header {
  position: sticky;
  z-index: 90;
  top: 0;
  min-height: 76px;
  padding-block: 12px;
  background: rgba(9, 0, 15, 0.76);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
}

.brand {
  position: relative;
  z-index: 3;
}

.brand::after {
  position: absolute;
  right: -10px;
  bottom: -5px;
  left: 52px;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, var(--pink), transparent);
  transform: scaleX(0.25);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.brand:hover::after { transform: scaleX(1); }

.brand-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 30px);
}

.brand-nav > a:not(.nav-cta) {
  position: relative;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.brand-nav > a:not(.nav-cta)::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--pink);
  box-shadow: 0 0 12px var(--pink);
  transform: scaleX(0);
  transition: transform 0.2s ease;
}

.brand-nav > a:hover::after,
.brand-nav > a:focus-visible::after { transform: scaleX(1); }

.nav-cta {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 9px 16px;
  border-radius: 999px;
  color: var(--ink);
  background: var(--lime);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
  box-shadow: 0 0 28px rgba(213, 255, 66, 0.18);
}

.candidate-state {
  font-size: 0.61rem;
}

.candidate-state i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 12px var(--lime);
}

.menu-toggle { display: none; }

body.menu-open { overflow: hidden; }

.brand-funnel {
  width: 100%;
  display: flex;
  flex-direction: column;
  overflow: clip;
}

/* El orden visual coincide desde el primer render; app.mjs replica este orden
   en el DOM antes de habilitar la interacción del embudo. */
.brand-funnel > .hero-section { order: 0; }
.brand-funnel > .conversation-wrap { order: 1; }
.brand-funnel > .content-summary { order: 2; }
.brand-funnel > .portfolio-teaser { order: 3; }
.brand-funnel > .method-section { order: 4; }

.section-shell,
.hero-section {
  width: min(100%, 1680px);
  margin-inline: auto;
  padding-inline: clamp(22px, 5vw, 82px);
}

.brand-funnel .hero-section {
  position: relative;
  top: auto;
  max-width: 1680px;
  min-height: calc(100svh - 76px);
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(420px, 0.96fr);
  gap: clamp(50px, 7vw, 130px);
  align-items: center;
  padding-block: clamp(70px, 8vw, 128px);
}

.hero-copy { min-width: 0; }

.brand-funnel .funnel-intro h1 {
  max-width: 850px;
  font-size: clamp(4.5rem, 6.2vw, 7.25rem);
  line-height: 0.82;
  text-wrap: balance;
}

.brand-funnel .funnel-intro h1 em {
  color: transparent;
  background: linear-gradient(90deg, var(--pink), #ff7dce 44%, var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
  filter: drop-shadow(0 0 24px rgba(255, 58, 168, 0.14));
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  margin-top: 32px;
}

.text-link {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  padding: 11px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.8rem;
  font-weight: 800;
}

.brand-funnel .expectations { margin-top: 42px; }

.brand-funnel .desktop-progress {
  max-width: 620px;
  margin-top: 22px;
}

.brand-core {
  position: relative;
  width: min(42vw, 620px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  justify-self: center;
  isolation: isolate;
}

.brand-core::before,
.brand-core::after {
  position: absolute;
  content: "";
  border-radius: 50%;
}

.brand-core::before {
  z-index: -2;
  inset: 13%;
  background: radial-gradient(circle, rgba(107, 22, 232, 0.34), rgba(255, 58, 168, 0.08) 45%, transparent 70%);
  filter: blur(6px);
  animation: core-breathe 4s ease-in-out infinite;
}

.brand-core::after {
  z-index: -3;
  inset: 0;
  background: repeating-conic-gradient(from 0deg, rgba(44, 200, 255, 0.18) 0 1deg, transparent 1deg 15deg);
  mask-image: radial-gradient(circle, transparent 0 48%, #000 49% 50%, transparent 51% 100%);
  animation: core-spin 28s linear infinite;
}

.core-logo {
  width: 44%;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 42% 58% 55% 45%;
  background: linear-gradient(145deg, rgba(255, 58, 168, 0.3), rgba(107, 22, 232, 0.62));
  box-shadow:
    0 0 34px rgba(255, 58, 168, 0.28),
    0 0 90px rgba(107, 22, 232, 0.34),
    inset 0 0 40px rgba(255, 255, 255, 0.08);
  animation: core-morph 7s ease-in-out infinite alternate;
}

.core-logo img {
  width: 62%;
  filter: drop-shadow(0 0 16px rgba(255, 255, 255, 0.24));
}

.core-ring {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 50%;
}

.core-ring-one { inset: 21%; border-color: rgba(255, 58, 168, 0.4); animation: core-spin 11s linear infinite; }
.core-ring-two { inset: 10%; border-style: dashed; border-color: rgba(44, 200, 255, 0.32); animation: core-spin 18s linear reverse infinite; }
.core-ring-three { inset: 1%; border-color: rgba(213, 255, 66, 0.18); animation: core-spin 26s linear infinite; }

.core-beam {
  position: absolute;
  width: 76%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--pink), transparent);
  box-shadow: 0 0 16px var(--pink);
}

.core-beam-one { --beam-angle: 24deg; transform: rotate(var(--beam-angle)); animation: beam-pulse 3.2s ease-in-out infinite; }
.core-beam-two { --beam-angle: -38deg; transform: rotate(var(--beam-angle)); background: linear-gradient(90deg, transparent, var(--blue), transparent); box-shadow: 0 0 16px var(--blue); animation: beam-pulse 3.2s -1.4s ease-in-out infinite; }

.core-node {
  position: absolute;
  width: 10px;
  height: 10px;
  border: 2px solid var(--night);
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 18px var(--lime);
}

.node-one { top: 18%; right: 20%; animation: node-float 4s ease-in-out infinite; }
.node-two { bottom: 17%; left: 22%; background: var(--pink); box-shadow: 0 0 18px var(--pink); animation: node-float 4s -1.5s ease-in-out infinite; }
.node-three { top: 50%; left: 2%; background: var(--blue); box-shadow: 0 0 18px var(--blue); animation: node-float 4s -2.6s ease-in-out infinite; }

.brand-core > p {
  position: absolute;
  right: 4%;
  bottom: 8%;
  display: grid;
  margin: 0;
  font-family: var(--font-display);
  letter-spacing: 0.08em;
}

.brand-core > p b { font-size: clamp(1rem, 2vw, 1.6rem); transform: scaleX(-1); }
.brand-core > p span { font-size: clamp(0.8rem, 1.4vw, 1.1rem); }
.brand-core > p small { margin-top: 6px; color: rgba(255,255,255,.46); font-size: .48rem; letter-spacing: .12em; text-transform: uppercase; }

@keyframes core-spin { to { transform: rotate(360deg); } }
@keyframes core-breathe { 50% { transform: scale(1.12); opacity: 0.72; } }
@keyframes core-morph { to { border-radius: 58% 42% 45% 55%; transform: rotate(4deg) scale(1.04); } }
@keyframes beam-pulse { 50% { opacity: 0.28; transform: rotate(var(--beam-angle)) scaleX(0.62); } }
@keyframes node-float { 50% { transform: translateY(-14px) scale(1.25); } }

.content-summary,
.portfolio-teaser,
.method-section,
.brand-funnel .conversation-wrap {
  padding-block: clamp(90px, 10vw, 160px);
}

.content-summary,
.method-section { border-top: 1px solid rgba(255, 255, 255, 0.12); }

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.7fr);
  gap: clamp(28px, 6vw, 100px);
  align-items: end;
  margin-bottom: clamp(42px, 6vw, 82px);
}

.section-kicker {
  grid-column: 1 / -1;
  margin: 0 0 -10px;
  color: var(--lime);
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section-heading h2,
.diagnostic-heading h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(4rem, 7vw, 7.6rem);
  line-height: 0.84;
  letter-spacing: -0.065em;
}

.section-heading h2 em,
.diagnostic-heading h2 em {
  color: var(--pink);
  font-style: normal;
}

.section-heading > p,
.section-side p,
.diagnostic-heading > p:last-child {
  max-width: 570px;
  margin: 0;
  color: rgba(255, 255, 255, 0.64);
  font-size: clamp(0.96rem, 1.25vw, 1.14rem);
  line-height: 1.65;
}

.service-blocks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.service-block {
  position: relative;
  min-height: 370px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: clamp(28px, 4vw, 52px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.045);
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.service-block::before {
  position: absolute;
  top: -60%;
  left: -35%;
  width: 80%;
  height: 190%;
  content: "";
  opacity: 0.13;
  background: linear-gradient(90deg, transparent, currentColor, transparent);
  transform: rotate(22deg) translateX(-80%);
  transition: transform 0.65s ease;
}

.service-block:hover {
  transform: translateY(-6px);
  border-color: currentColor;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.25);
}

.service-block:hover::before { transform: rotate(22deg) translateX(210%); }
.service-brand { color: var(--pink); }
.service-digital { color: var(--blue); }
.service-content { color: var(--orange); }
.service-systems { color: var(--lime); }
.service-block > span { font-size: .62rem; font-weight: 900; letter-spacing: .13em; }
.service-block h3 { max-width: 560px; margin: auto 0 18px; color: var(--white); font-family: var(--font-display); font-size: clamp(2.3rem, 4vw, 4.8rem); line-height: .9; letter-spacing: -.05em; }
.service-block p { max-width: 560px; margin: 0 0 28px; color: rgba(255,255,255,.62); line-height: 1.55; }
.service-block a { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.16); color: currentColor; font-size: .78rem; font-weight: 900; text-transform: uppercase; }

.portfolio-teaser {
  width: 100%;
  max-width: none;
  color: var(--ink);
  background: var(--paper);
}

.portfolio-teaser > * { width: min(100%, 1516px); margin-inline: auto; }
.portfolio-teaser .section-heading h2 { color: var(--ink); }
.portfolio-teaser .section-heading h2 em { color: var(--purple); }
.portfolio-teaser .section-kicker { color: var(--purple); }
.portfolio-teaser .section-side p { color: rgba(22,0,31,.64); }
.section-heading-inline { grid-template-columns: 1.1fr .7fr; }
.section-side { display: grid; justify-items: start; gap: 24px; }

.button-outline {
  border-color: rgba(22, 0, 31, 0.2);
  color: var(--ink);
  background: transparent;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
}

.portfolio-card {
  position: relative;
  grid-column: span 4;
  min-height: 500px;
  overflow: hidden;
  border-radius: 28px;
  background: var(--ink);
}

.portfolio-card.portfolio-wide { grid-column: span 7; }
.portfolio-card.portfolio-wide + .portfolio-card { grid-column: span 5; }
.portfolio-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease, filter .55s ease; }
.portfolio-card::after { position: absolute; inset: 0; content: ""; background: linear-gradient(180deg, transparent 35%, rgba(9,0,15,.9)); }
.portfolio-card > span { position: absolute; z-index: 2; right: 26px; bottom: 24px; left: 26px; display: grid; grid-template-columns: 1fr auto; gap: 5px 20px; align-items: end; color: var(--white); }
.portfolio-card small { grid-column: 1 / -1; color: rgba(255,255,255,.65); font-size: .62rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.portfolio-card b { font-family: var(--font-display); font-size: clamp(2rem, 3.4vw, 4rem); line-height: .9; letter-spacing: -.04em; }
.portfolio-card i { font-size: .72rem; font-style: normal; font-weight: 800; }
.portfolio-card:hover img { transform: scale(1.045); filter: saturate(1.14); }
.portfolio-tech { grid-column: span 8; }

.method-section { padding-bottom: clamp(100px, 12vw, 190px); }
.method-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 0; padding: 0; list-style: none; }
.method-steps li { min-height: 300px; display: flex; flex-direction: column; padding: 28px; border-top: 1px solid currentColor; border-radius: 0 0 24px 24px; background: rgba(255,255,255,.035); }
.method-steps li:nth-child(1) { color: var(--pink); }
.method-steps li:nth-child(2) { color: var(--blue); }
.method-steps li:nth-child(3) { color: var(--lime); }
.method-steps li > span { font-size: .7rem; font-weight: 900; }
.method-steps li > div { margin-top: auto; }
.method-steps h3 { margin: 0 0 12px; color: var(--white); font-family: var(--font-display); font-size: clamp(2rem, 3vw, 3.7rem); letter-spacing: -.04em; }
.method-steps p { margin: 0; color: rgba(255,255,255,.6); line-height: 1.55; }

.brand-funnel .conversation-wrap {
  width: min(100%, 1500px);
  max-width: none;
  display: grid;
  grid-template-columns: minmax(300px, .72fr) minmax(620px, 1.28fr);
  gap: clamp(40px, 7vw, 110px);
  align-items: start;
  justify-self: auto;
  border-top: 1px solid rgba(255,255,255,.12);
}

.diagnostic-heading {
  position: sticky;
  top: 118px;
}

.diagnostic-heading .section-kicker { margin-bottom: 24px; }
.diagnostic-heading h2 { font-size: clamp(4rem, 6vw, 7rem); }
.diagnostic-heading > p:last-child { margin-top: 28px; }
.brand-funnel .conversation-card { min-width: 0; box-shadow: 0 42px 130px rgba(0,0,0,.46), 0 0 60px rgba(107,22,232,.12); }
.free-expression-field { padding: 18px; border: 1px solid rgba(107,22,232,.18); border-radius: 18px; background: linear-gradient(135deg, rgba(107,22,232,.07), rgba(44,200,255,.04)); }
.conditional-field { padding-left: 18px; border-left: 3px solid var(--pink); }

/* Diagnóstico prioritario: continuación directa del hero con el mismo sistema
   nocturno, luces de marca y movimiento accesible. */
.brand-funnel .conversation-wrap {
  --diagnostic-panel: #0d0616;
  --diagnostic-surface: rgba(255, 255, 255, 0.055);
  --diagnostic-surface-strong: rgba(255, 255, 255, 0.085);
  --diagnostic-line: rgba(255, 255, 255, 0.16);
  --diagnostic-muted: rgba(255, 255, 255, 0.66);
  position: relative;
  isolation: isolate;
  padding-block: clamp(48px, 6vw, 92px) clamp(96px, 10vw, 160px);
  scroll-margin-top: 92px;
  border-top-color: rgba(44, 200, 255, 0.22);
}

.brand-funnel .conversation-wrap::before,
.brand-funnel .conversation-wrap::after {
  position: absolute;
  z-index: -1;
  content: "";
  border-radius: 50%;
  pointer-events: none;
  filter: blur(18px);
  animation: diagnostic-orbit 9s ease-in-out infinite alternate;
}

.brand-funnel .conversation-wrap::before {
  top: 4%;
  right: -7%;
  width: min(42vw, 560px);
  aspect-ratio: 1;
  opacity: 0.28;
  background: radial-gradient(circle, rgba(44, 200, 255, 0.54), rgba(107, 22, 232, 0.18) 46%, transparent 72%);
}

.brand-funnel .conversation-wrap::after {
  bottom: 3%;
  left: -10%;
  width: min(38vw, 500px);
  aspect-ratio: 1;
  opacity: 0.22;
  background: radial-gradient(circle, rgba(255, 58, 168, 0.58), transparent 70%);
  animation-delay: -4.5s;
}

@keyframes diagnostic-orbit {
  to { transform: translate3d(28px, 20px, 0) scale(1.08); }
}

.brand-funnel .conversation-card {
  position: relative;
  isolation: isolate;
  color: var(--white);
  background:
    radial-gradient(circle at 92% 2%, rgba(44, 200, 255, 0.13), transparent 24rem),
    radial-gradient(circle at 4% 96%, rgba(255, 58, 168, 0.13), transparent 25rem),
    linear-gradient(145deg, rgba(22, 5, 35, 0.98), rgba(7, 2, 13, 0.99));
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow:
    0 42px 130px rgba(0, 0, 0, 0.52),
    0 0 72px rgba(107, 22, 232, 0.2),
    inset 0 1px rgba(255, 255, 255, 0.08);
  color-scheme: dark;
}

.brand-funnel .conversation-card::before {
  position: absolute;
  z-index: 0;
  inset: 0;
  content: "";
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(44, 200, 255, 0.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(44, 200, 255, 0.18) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, #000, transparent 68%);
  pointer-events: none;
  animation: diagnostic-grid-drift 15s linear infinite;
}

.brand-funnel .conversation-card::after {
  position: absolute;
  z-index: 0;
  top: 0;
  left: -45%;
  width: 38%;
  height: 100%;
  content: "";
  opacity: 0.22;
  background: linear-gradient(90deg, transparent, rgba(44, 200, 255, 0.3), rgba(255, 58, 168, 0.24), transparent);
  transform: skewX(-18deg);
  pointer-events: none;
  animation: diagnostic-light-sweep 8s ease-in-out infinite;
}

.brand-funnel .conversation-card > * {
  position: relative;
  z-index: 1;
}

@keyframes diagnostic-grid-drift {
  to { background-position: 42px 42px; }
}

@keyframes diagnostic-light-sweep {
  0%, 18% { transform: translateX(0) skewX(-18deg); opacity: 0; }
  34% { opacity: 0.22; }
  58%, 100% { transform: translateX(410%) skewX(-18deg); opacity: 0; }
}

.brand-funnel .conversation-head {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(110deg, rgba(107, 22, 232, 0.82), rgba(30, 8, 50, 0.94) 54%, rgba(44, 200, 255, 0.16));
  backdrop-filter: blur(18px);
}

.brand-funnel .assistant-avatar {
  border-color: rgba(213, 255, 66, 0.4);
  background: rgba(9, 0, 15, 0.72);
  box-shadow: 0 0 22px rgba(213, 255, 66, 0.18), inset 0 0 16px rgba(44, 200, 255, 0.12);
  animation: assistant-signal 3.2s ease-in-out infinite;
}

.brand-funnel .assistant-id i {
  box-shadow: 0 0 12px var(--lime);
  animation: assistant-status 1.8s ease-in-out infinite;
}

@keyframes assistant-signal {
  50% { border-color: rgba(44, 200, 255, 0.72); box-shadow: 0 0 32px rgba(44, 200, 255, 0.24), inset 0 0 18px rgba(255, 58, 168, 0.12); }
}

@keyframes assistant-status {
  50% { opacity: 0.48; transform: scale(0.76); }
}

.brand-funnel .progress-track {
  background: rgba(255, 255, 255, 0.08);
}

.brand-funnel .progress-track span {
  background: linear-gradient(90deg, var(--pink), var(--blue), var(--lime));
  box-shadow: 0 0 18px rgba(44, 200, 255, 0.58);
}

.brand-funnel .form-step,
.brand-funnel .result-state,
.brand-funnel .review-step h2,
.brand-funnel .result-state h2,
.brand-funnel .form-step legend {
  color: var(--white);
}

.brand-funnel .bot-bubble > span {
  color: var(--night);
  background: linear-gradient(145deg, var(--lime), var(--blue));
  box-shadow: 0 0 24px rgba(44, 200, 255, 0.28);
}

.brand-funnel .bot-bubble > div {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(135deg, rgba(107, 22, 232, 0.26), rgba(255, 255, 255, 0.055));
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.06);
}

.brand-funnel .handoff-disclosure,
.brand-funnel .free-expression-field {
  border-color: rgba(44, 200, 255, 0.22);
  background: linear-gradient(135deg, rgba(107, 22, 232, 0.17), rgba(44, 200, 255, 0.07));
}

.brand-funnel .handoff-disclosure strong,
.brand-funnel .bot-label,
.brand-funnel .summary-edit,
.brand-funnel .handoff-receipt {
  color: var(--blue);
}

.brand-funnel .handoff-disclosure p,
.brand-funnel .question-help,
.brand-funnel .choice-card small,
.brand-funnel .stacked-choices small,
.brand-funnel .field > small:not(.field-error),
.brand-funnel .field-hint,
.brand-funnel .field-meta,
.brand-funnel .consent-card small,
.brand-funnel .result-state > p:not(.bot-label, .handoff-receipt) {
  color: var(--diagnostic-muted);
}

.brand-funnel .choice-card,
.brand-funnel .stacked-choices label,
.brand-funnel .pill-choices span,
.brand-funnel .summary-group,
.brand-funnel .receipt-list div {
  color: var(--white);
  border-color: var(--diagnostic-line);
  background: var(--diagnostic-surface);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.035);
}

.brand-funnel .choice-card:hover,
.brand-funnel .stacked-choices label:hover,
.brand-funnel .pill-choices label:hover span {
  border-color: rgba(44, 200, 255, 0.58);
  background: rgba(44, 200, 255, 0.085);
}

.brand-funnel .choice-card:has(input:checked),
.brand-funnel .stacked-choices label:has(input:checked) {
  border-color: var(--pink);
  background: linear-gradient(135deg, rgba(255, 58, 168, 0.19), rgba(107, 22, 232, 0.2));
  box-shadow: inset 0 0 0 1px rgba(255, 58, 168, 0.52), 0 0 24px rgba(255, 58, 168, 0.1);
}

.brand-funnel .stacked-choices label::before {
  border-color: rgba(255, 255, 255, 0.44);
  background: var(--diagnostic-panel);
}

.brand-funnel .stacked-choices label:has(input:checked)::before {
  border-color: var(--pink);
}

.brand-funnel .pill-choices label:has(input:checked) span {
  color: var(--night);
  border-color: var(--lime);
  background: var(--lime);
  box-shadow: 0 0 20px rgba(213, 255, 66, 0.16);
}

.brand-funnel .field > span em,
.brand-funnel .consent-card b em,
.brand-funnel .summary-group dt,
.brand-funnel .receipt-list dt {
  color: rgba(255, 255, 255, 0.58);
}

.brand-funnel .field input,
.brand-funnel .field textarea,
.brand-funnel .field select {
  color: var(--white);
  caret-color: var(--lime);
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(7, 2, 13, 0.78);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.brand-funnel .field input::placeholder,
.brand-funnel .field textarea::placeholder {
  color: rgba(255, 255, 255, 0.62);
}

.brand-funnel .field select option {
  color: var(--white);
  background: var(--night-soft);
}

.brand-funnel .field input:-webkit-autofill,
.brand-funnel .field textarea:-webkit-autofill,
.brand-funnel .field select:-webkit-autofill {
  -webkit-text-fill-color: var(--white);
  box-shadow: 0 0 0 1000px var(--night-soft) inset;
  transition: background-color 9999s ease-out;
}

.brand-funnel .field input:focus,
.brand-funnel .field textarea:focus,
.brand-funnel .field select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(44, 200, 255, 0.16), 0 0 24px rgba(44, 200, 255, 0.08);
}

.brand-funnel .choice-card:has(input:focus-visible),
.brand-funnel .stacked-choices label:has(input:focus-visible),
.brand-funnel .pill-choices label:has(input:focus-visible),
.brand-funnel .field input:focus-visible,
.brand-funnel .field textarea:focus-visible,
.brand-funnel .field select:focus-visible,
.brand-funnel .conversation-card button:focus-visible,
.brand-funnel .conversation-card a:focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: 3px;
  box-shadow: 0 0 0 6px rgba(9, 0, 15, 0.92), 0 0 22px rgba(213, 255, 66, 0.22);
}

.brand-funnel .field-error,
.brand-funnel .step-error {
  color: #ffaaa2;
}

.brand-funnel .step-error {
  border-color: rgba(255, 170, 162, 0.3);
  background: rgba(180, 35, 24, 0.18);
}

.brand-funnel .step-actions,
.brand-funnel .result-actions {
  border-top-color: rgba(255, 255, 255, 0.13);
}

.brand-funnel .button-dark {
  color: var(--white);
  border-color: rgba(255, 58, 168, 0.48);
  background: linear-gradient(110deg, rgba(107, 22, 232, 0.95), rgba(255, 58, 168, 0.82));
}

.brand-funnel .button-ghost {
  color: rgba(255, 255, 255, 0.86);
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.035);
}

.brand-funnel .button-ghost:hover {
  color: var(--white);
  border-color: var(--blue);
  background: rgba(44, 200, 255, 0.09);
}

.brand-funnel .summary-group {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.065), rgba(107, 22, 232, 0.075));
}

.brand-funnel .summary-edit {
  border-color: rgba(44, 200, 255, 0.34);
  background: rgba(44, 200, 255, 0.06);
}

.brand-funnel .consent-card {
  color: var(--white);
  border-color: rgba(213, 255, 66, 0.3);
  background: linear-gradient(135deg, rgba(213, 255, 66, 0.12), rgba(44, 200, 255, 0.055));
}

.brand-funnel .consent-card input {
  accent-color: var(--lime);
}

.brand-funnel .consent-optional {
  border-color: rgba(255, 58, 168, 0.25);
  background: rgba(255, 58, 168, 0.07);
}

.brand-funnel .activation-note {
  color: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(255, 121, 72, 0.26);
  background: rgba(255, 121, 72, 0.1);
}

.brand-funnel .receipt-list div {
  background: rgba(255, 255, 255, 0.045);
}

.brand-funnel .conversation-footnote a {
  color: var(--blue);
}

.site-footer {
  width: min(100%, 1680px);
  display: grid;
  grid-template-columns: auto minmax(220px, 1fr) auto;
  gap: 30px;
  align-items: center;
  margin: 0 auto;
  padding: 44px clamp(22px, 5vw, 82px);
  border-top: 1px solid rgba(255,255,255,.12);
}
.site-footer p { margin: 0; color: rgba(255,255,255,.64); text-align: center; }
.site-footer nav { display: flex; gap: 18px; font-size: .7rem; font-weight: 800; text-transform: uppercase; }
.site-footer small { grid-column: 1 / -1; color: rgba(255,255,255,.42); text-align: center; }

@media (max-width: 1120px) {
  .candidate-state { display: none; }
  .brand-funnel .hero-section { grid-template-columns: 1fr; }
  .brand-core { width: min(74vw, 650px); margin-top: 20px; }
  .brand-core > p { right: 9%; }
  .section-heading { grid-template-columns: 1fr; }
  .section-heading .section-kicker { margin-bottom: 0; }
  .brand-funnel .conversation-wrap { grid-template-columns: 1fr; }
  .diagnostic-heading { position: static; max-width: 840px; }
  .diagnostic-heading h2 { max-width: 760px; }
}

@media (max-width: 860px) {
  .site-header { padding-inline: 18px; }
  .menu-toggle {
    position: relative;
    z-index: 4;
    width: 48px;
    height: 48px;
    display: grid;
    place-content: center;
    gap: 7px;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 50%;
    color: var(--white);
    background: rgba(255,255,255,.06);
  }
  .menu-toggle i { width: 20px; height: 2px; display: block; background: currentColor; transition: transform .2s; }
  .menu-toggle[aria-expanded="true"] i:first-of-type { transform: translateY(4.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] i:last-of-type { transform: translateY(-4.5px) rotate(-45deg); }
  .brand-nav {
    position: fixed;
    z-index: 2;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 0;
    padding: 90px 24px 36px;
    visibility: hidden;
    opacity: 0;
    background: rgba(9,0,15,.97);
    transform: translateY(-12px);
    transition: opacity .22s, transform .22s, visibility .22s;
  }
  .brand-nav[data-open] { visibility: visible; opacity: 1; transform: none; }
  .brand-nav > a:not(.nav-cta) { padding: 18px 4px; border-bottom: 1px solid rgba(255,255,255,.12); font-family: var(--font-display); font-size: clamp(1.8rem, 8vw, 3rem); letter-spacing: -.03em; text-transform: none; }
  .brand-nav .nav-cta { margin-top: 24px; justify-content: space-between; padding: 16px 20px; }
  .brand-funnel .hero-section { padding-top: 58px; }
  .brand-funnel .funnel-intro h1 { font-size: clamp(4rem, 14vw, 7rem); }
  .service-blocks { grid-template-columns: 1fr; }
  .service-block { min-height: 330px; }
  .portfolio-card,
  .portfolio-card.portfolio-wide,
  .portfolio-card.portfolio-wide + .portfolio-card,
  .portfolio-tech { grid-column: 1 / -1; min-height: min(112vw, 560px); }
  .method-steps { grid-template-columns: 1fr; }
  .method-steps li { min-height: 240px; }
  .site-footer { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .site-footer nav { flex-wrap: wrap; justify-content: center; }
}

@media (max-width: 560px) {
  .section-shell,
  .hero-section { padding-inline: 14px; }
  .brand-funnel .hero-section { min-height: auto; padding-block: 48px 76px; }
  .brand-funnel .funnel-intro h1 { font-size: clamp(3.45rem, 16vw, 5rem); }
  .brand-core { width: min(94vw, 480px); }
  .brand-core > p { right: 4%; bottom: 3%; }
  .brand-funnel .desktop-progress { margin-inline: -14px; padding-inline: 14px; }
  .content-summary,
  .portfolio-teaser,
  .method-section { padding-block: 82px; }
  .brand-funnel .conversation-wrap { padding-block: 42px 92px; }
  .section-heading h2,
  .diagnostic-heading h2 { font-size: clamp(3.35rem, 15vw, 5.3rem); }
  .service-block { min-height: 310px; padding: 25px; }
  .service-block h3 { font-size: clamp(2.5rem, 12vw, 3.8rem); }
  .portfolio-card > span { right: 18px; bottom: 18px; left: 18px; }
  .portfolio-card b { font-size: 2.4rem; }
  .portfolio-card i { display: none; }
  .conversation-card { border-radius: 22px; }
  .brand-funnel .assistant-avatar {
    width: 36px;
    height: 36px;
    display: grid;
  }
  .brand-funnel .assistant-avatar img { width: 25px; height: 25px; }
  .brand-funnel .conversation-card::after { width: 58%; }
  .free-expression-field { margin-inline: -4px; padding: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .brand-funnel .conversation-wrap::before,
  .brand-funnel .conversation-wrap::after,
  .brand-funnel .conversation-card::before,
  .brand-funnel .assistant-avatar,
  .brand-funnel .assistant-id i {
    animation: none !important;
  }

  .brand-funnel .conversation-card::after { display: none; }
}

@media (prefers-contrast: more) {
  .brand-nav > a,
  .intro-lead,
  .section-heading > p,
  .section-side p,
  .diagnostic-heading > p:last-child,
  .service-block p,
  .method-steps p { color: var(--white); }
  .service-block,
  .conversation-card,
  .portfolio-card { border-width: 2px; }
}

@media (forced-colors: active) {
  .energy-field,
  .brand-core::before,
  .brand-core::after,
  .core-ring,
  .core-beam,
  .core-node { display: none; }
  .core-logo,
  .service-block,
  .portfolio-card,
  .conversation-card { border: 2px solid CanvasText; }
  .nav-cta,
  .button-primary { forced-color-adjust: none; color: #000; background: #fff; }
}

/* Soluciones conectadas 0.2.12: la cinta abre fichas reales y cada ficha vuelve al embudo con contexto. */
.brand-funnel > .solution-showcase { order: 5; }

.service-actions {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 18px;
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.service-block .service-actions a {
  min-height: 48px;
  justify-content: space-between;
  padding: 14px 0 10px;
  border-top: 0;
  line-height: 1.25;
}

.service-block .service-actions a + a {
  padding-left: 18px;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.76);
}

.portfolio-card-auralia-crm img {
  filter: saturate(0.72) brightness(0.56) contrast(1.08) !important;
}

.portfolio-card-auralia-crm::after {
  background:
    linear-gradient(180deg, rgba(9, 0, 15, 0.14) 18%, rgba(9, 0, 15, 0.96) 84%),
    repeating-linear-gradient(90deg, rgba(44, 200, 255, 0.08) 0 1px, transparent 1px 54px),
    linear-gradient(120deg, rgba(44, 200, 255, 0.24), rgba(107, 22, 232, 0.3)) !important;
}

.portfolio-private-badge {
  position: absolute;
  z-index: 3;
  top: 20px;
  left: 20px;
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 7px 12px;
  border: 1px solid rgba(44, 200, 255, 0.64);
  border-radius: 999px;
  color: var(--white);
  background: rgba(9, 0, 15, 0.82);
  box-shadow: 0 0 26px rgba(44, 200, 255, 0.22);
  font-size: 0.64rem;
  font-weight: 950;
  letter-spacing: 0.075em;
  text-transform: uppercase;
}

.solution-showcase {
  position: relative;
  isolation: isolate;
  padding-block: clamp(88px, 10vw, 160px);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  scroll-margin-top: 86px;
}

.solution-showcase::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  opacity: 0.68;
  background:
    radial-gradient(circle at 10% 18%, rgba(255, 58, 168, 0.18), transparent 28rem),
    radial-gradient(circle at 92% 45%, rgba(44, 200, 255, 0.14), transparent 31rem),
    radial-gradient(circle at 48% 78%, rgba(107, 22, 232, 0.2), transparent 34rem);
  pointer-events: none;
}

.solution-showcase .section-heading h2 { color: var(--white); }
.solution-showcase .section-heading h2 em { color: var(--blue); }
.solution-showcase .section-side p { color: rgba(255, 255, 255, 0.68); }

.solution-list {
  display: grid;
  gap: clamp(20px, 3vw, 34px);
}

.solution-card {
  --solution-accent: var(--pink);
  position: relative;
  min-width: 0;
  min-height: 570px;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: clamp(28px, 4vw, 46px);
  background:
    radial-gradient(circle at 86% 15%, color-mix(in srgb, var(--solution-accent) 14%, transparent), transparent 28rem),
    linear-gradient(140deg, rgba(255, 255, 255, 0.055), rgba(9, 0, 15, 0.82));
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.35);
  scroll-margin-top: 104px;
}

.solution-card::before {
  position: absolute;
  z-index: 3;
  inset: 0;
  content: "";
  opacity: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 2px var(--solution-accent), 0 0 52px color-mix(in srgb, var(--solution-accent) 34%, transparent);
  pointer-events: none;
}

.solution-card:target::before {
  animation: solution-target-pulse 1.5s ease-out both;
}

.solution-card-joki { --solution-accent: var(--lime); }
.solution-card-auralia-web { --solution-accent: var(--pink); }
.solution-card-auralia-crm { --solution-accent: var(--blue); }

.solution-card-auralia-web .solution-visual { order: 2; }

.solution-visual {
  position: relative;
  min-width: 0;
  min-height: 100%;
  overflow: hidden;
  background: #0a0012;
}

.solution-visual::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(180deg, transparent 42%, rgba(9, 0, 15, 0.64)),
    linear-gradient(110deg, color-mix(in srgb, var(--solution-accent) 17%, transparent), transparent 48%);
  pointer-events: none;
}

.solution-visual > img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.solution-card-joki .solution-visual > img { object-position: 52% center; }
.solution-card-auralia-web .solution-visual > img { object-position: 50% 30%; }

.solution-index {
  position: absolute;
  z-index: 2;
  top: clamp(20px, 3vw, 34px);
  left: clamp(20px, 3vw, 34px);
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid color-mix(in srgb, var(--solution-accent) 72%, white);
  border-radius: 50%;
  color: var(--white);
  background: rgba(9, 0, 15, 0.78);
  box-shadow: 0 0 26px color-mix(in srgb, var(--solution-accent) 34%, transparent);
  font-size: 0.72rem;
  font-weight: 950;
}

.solution-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(32px, 5vw, 74px);
}

.solution-label {
  margin: 0 0 22px;
  color: var(--solution-accent);
  font-size: 0.68rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.solution-copy h3 {
  max-width: 760px;
  margin: 0;
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(3rem, 5vw, 6.1rem);
  line-height: 0.88;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.solution-copy > p:not(.solution-label):not(.solution-disclosure) {
  max-width: 700px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: clamp(0.94rem, 1.2vw, 1.08rem);
  line-height: 1.65;
}

.solution-flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}

.solution-flow li {
  min-width: 0;
  display: grid;
  gap: 7px;
  padding: 17px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.035);
}

.solution-flow span {
  color: var(--solution-accent);
  font-size: 0.62rem;
  font-weight: 950;
  letter-spacing: 0.08em;
}

.solution-flow b {
  color: var(--white);
  font-size: 0.82rem;
}

.solution-flow small {
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.68rem;
  line-height: 1.4;
}

.solution-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 24px;
  margin-top: 34px;
}

.solution-actions .button { min-height: 52px; }
.solution-actions .text-link { margin: 0; }

.solution-card-auralia-web .button-primary {
  color: var(--white);
  background: var(--purple);
}

.solution-card-auralia-crm .button-primary {
  color: var(--ink);
  background: var(--blue);
}

.solution-visual-system > img {
  filter: saturate(0.58) brightness(0.38) contrast(1.12);
  transform: scale(1.04);
}

.solution-visual-system::after {
  z-index: 1;
  background:
    repeating-linear-gradient(0deg, rgba(44, 200, 255, 0.08) 0 1px, transparent 1px 48px),
    repeating-linear-gradient(90deg, rgba(44, 200, 255, 0.08) 0 1px, transparent 1px 48px),
    radial-gradient(circle at 50% 50%, rgba(107, 22, 232, 0.2), rgba(9, 0, 15, 0.88) 70%);
}

.system-preview {
  position: absolute;
  z-index: 2;
  inset: 50% auto auto 50%;
  width: min(calc(100% - 42px), 480px);
  display: grid;
  grid-template-columns: 1fr 28px 1fr 28px 1fr;
  align-items: center;
  gap: 8px;
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid rgba(44, 200, 255, 0.42);
  border-radius: 22px;
  color: var(--white);
  background: rgba(9, 0, 15, 0.8);
  box-shadow: 0 0 42px rgba(44, 200, 255, 0.18), inset 0 0 30px rgba(107, 22, 232, 0.18);
  transform: translate(-50%, -50%);
  backdrop-filter: blur(12px);
}

.system-preview span {
  min-width: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: clamp(0.54rem, 0.9vw, 0.66rem);
  font-weight: 950;
  letter-spacing: 0.08em;
  text-align: center;
}

.system-preview i {
  height: 1px;
  background: linear-gradient(90deg, var(--pink), var(--blue));
  box-shadow: 0 0 12px var(--blue);
}

.solution-disclosure {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.54);
  font-size: 0.69rem;
}

.solution-disclosure span {
  color: var(--blue);
  text-shadow: 0 0 12px var(--blue);
}

.case-notes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: clamp(40px, 6vw, 84px);
}

.case-note {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.04);
  scroll-margin-top: 104px;
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.case-note:target {
  border-color: var(--lime);
  box-shadow: 0 0 0 1px rgba(213, 255, 66, 0.28), 0 0 42px rgba(213, 255, 66, 0.12);
}

.case-note > img {
  width: 100%;
  height: 230px;
  display: block;
  object-fit: cover;
}

.case-note > div {
  display: grid;
  gap: 12px;
  padding: 24px;
}

.case-note p,
.case-note h3,
.case-note span { margin: 0; }

.case-note p {
  color: var(--pink);
  font-size: 0.62rem;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.case-note h3 {
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 3.2rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.case-note span {
  min-height: 3.8em;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.82rem;
  line-height: 1.55;
}

.case-note a {
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 900;
}

.diagnostic-interest {
  display: grid;
  gap: 5px;
  margin-top: 24px !important;
  padding: 15px 17px;
  border: 1px solid rgba(44, 200, 255, 0.34);
  border-radius: 15px;
  color: var(--white) !important;
  background: linear-gradient(110deg, rgba(107, 22, 232, 0.18), rgba(44, 200, 255, 0.07));
  box-shadow: 0 0 28px rgba(44, 200, 255, 0.08);
}

.diagnostic-interest[hidden] { display: none; }
.diagnostic-interest span {
  color: var(--blue);
  font-size: 0.58rem;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.diagnostic-interest b { font-size: 0.78rem; line-height: 1.4; }

.route-status:not(.sr-only) {
  max-width: 330px;
  min-height: 38px;
  display: flex;
  align-items: center;
  padding: 8px 12px;
  border-left: 2px solid var(--blue);
  color: rgba(255, 255, 255, 0.72);
  background: rgba(44, 200, 255, 0.05);
}

@keyframes solution-target-pulse {
  0% { opacity: 0; }
  28% { opacity: 1; }
  100% { opacity: 0.2; }
}

@media (hover: hover) and (pointer: fine) {
  .case-note:hover {
    border-color: rgba(44, 200, 255, 0.46);
    transform: translateY(-4px);
    box-shadow: 0 24px 62px rgba(0, 0, 0, 0.28);
  }
}

@media (max-width: 980px) {
  .solution-card {
    min-height: 0;
    grid-template-columns: minmax(0, 1fr);
  }
  .solution-visual { min-height: clamp(320px, 62vw, 520px); }
  .solution-card-auralia-web .solution-visual { order: 0; }
  .case-notes { grid-template-columns: minmax(0, 1fr); }
  .case-note { display: grid; grid-template-columns: minmax(180px, 0.72fr) minmax(0, 1.28fr); }
  .case-note > img { height: 100%; min-height: 250px; }
}

@media (max-width: 680px) {
  .service-actions { grid-template-columns: minmax(0, 1fr); }
  .service-block .service-actions a + a {
    padding-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    border-left: 0;
  }
  .solution-showcase { padding-block: 78px; }
  .solution-showcase .section-heading { margin-bottom: 34px; }
  .solution-copy { padding: 28px 22px 34px; }
  .solution-copy h3 { font-size: clamp(2.75rem, 13vw, 4.3rem); }
  .solution-copy > p:not(.solution-label):not(.solution-disclosure) { margin-top: 22px; }
  .solution-flow { grid-template-columns: minmax(0, 1fr); margin-top: 24px; }
  .solution-flow li { grid-template-columns: 34px minmax(0, 0.7fr) minmax(0, 1.3fr); align-items: center; }
  .solution-flow small { font-size: 0.66rem; }
  .solution-actions { align-items: stretch; flex-direction: column; }
  .solution-actions .button,
  .solution-actions .text-link { width: 100%; justify-content: space-between; }
  .system-preview { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .system-preview i { width: 1px; height: 18px; justify-self: center; background: linear-gradient(var(--pink), var(--blue)); }
  .case-note { grid-template-columns: minmax(0, 1fr); }
  .case-note > img { min-height: 0; height: 210px; }
  .case-note span { min-height: 0; }
  .portfolio-private-badge { top: 14px; left: 14px; }
  .route-actions { align-items: stretch; flex-direction: column; }
  .route-status:not(.sr-only) { max-width: none; }
}

@media (prefers-reduced-motion: reduce) {
  .solution-card:target::before { opacity: 1; animation: none !important; }
  .case-note { transition: none !important; }
}

@media (prefers-contrast: more) {
  .solution-card,
  .case-note,
  .solution-flow li { border-width: 2px; }
  .solution-copy > p:not(.solution-label):not(.solution-disclosure),
  .solution-flow small,
  .case-note span { color: var(--white); }
}

@media (forced-colors: active) {
  .solution-showcase::before,
  .solution-card::before,
  .solution-visual::after,
  .system-preview i { display: none; }
  .solution-card,
  .case-note,
  .solution-flow li,
  .system-preview,
  .diagnostic-interest,
  .route-status:not(.sr-only) {
    border: 2px solid CanvasText;
    background: Canvas;
    box-shadow: none;
  }
  .solution-label,
  .solution-flow span,
  .case-note p,
  .diagnostic-interest span,
  .solution-disclosure span { color: LinkText; }
}

/* Recorrido compacto 0.2.3: visual, tres señales y diagnóstico. */
.brand-funnel > .hero-section { order: 0; }
.brand-funnel > .method-section { order: 1; }
.brand-funnel > .conversation-wrap { order: 2; }
.brand-funnel > .content-summary { order: 3; }
.brand-funnel > .portfolio-teaser { order: 4; }

.brand-funnel .hero-section {
  min-height: auto;
  grid-template-columns: minmax(0, 1.22fr) minmax(360px, 0.78fr);
  gap: clamp(34px, 5vw, 76px);
  padding-block: clamp(42px, 5.5vw, 82px);
}

.hero-media {
  position: relative;
  min-width: 0;
  aspect-ratio: 16 / 9;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: clamp(22px, 3vw, 38px);
  background:
    radial-gradient(circle at 70% 20%, rgba(44, 200, 255, 0.18), transparent 30%),
    #0a0012;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.4), 0 0 58px rgba(107, 22, 232, 0.14);
  isolation: isolate;
}

.hero-media::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent 54%, rgba(9, 0, 15, 0.88));
  pointer-events: none;
}

.hero-reel {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  background: #0a0012;
}

.hero-media figcaption {
  position: absolute;
  z-index: 2;
  right: clamp(18px, 3vw, 32px);
  bottom: clamp(18px, 3vw, 30px);
  left: clamp(18px, 3vw, 32px);
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  color: var(--white);
  pointer-events: none;
}

.hero-media figcaption span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.hero-media figcaption b {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2vw, 1.5rem);
  letter-spacing: -0.02em;
}

.reel-toggle {
  position: absolute;
  z-index: 3;
  top: 16px;
  right: 16px;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 13px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  color: var(--white);
  background: rgba(9, 0, 15, 0.78);
  backdrop-filter: blur(12px);
  font-size: 0.66rem;
  font-weight: 800;
}

.reel-toggle-mark {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 12px var(--lime);
}

.reel-toggle.is-playing .reel-toggle-mark {
  border-radius: 1px;
  box-shadow: 0 0 16px var(--lime);
}

.brand-funnel .funnel-intro h1 {
  max-width: 620px;
  font-size: clamp(4.2rem, 6vw, 7rem);
}

.brand-funnel .intro-lead {
  max-width: 510px;
  margin-top: 26px;
}

.hero-note {
  margin: 19px 0 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.7rem;
  line-height: 1.45;
}

.method-section {
  width: min(calc(100% - 36px), 1500px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
  gap: clamp(30px, 5vw, 76px);
  align-items: center;
  margin-inline: auto;
  padding: clamp(34px, 4.5vw, 64px) clamp(20px, 4vw, 58px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: clamp(24px, 3vw, 40px);
  background:
    radial-gradient(circle at 86% 50%, rgba(107, 22, 232, 0.2), transparent 28rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.055), rgba(9, 0, 15, 0.54));
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.04);
}

.method-copy {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(170px, 0.55fr) minmax(360px, 1.45fr);
  gap: clamp(24px, 4vw, 58px);
  align-items: center;
}

.method-intro h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 4.4vw, 5rem);
  line-height: 0.88;
  letter-spacing: -0.055em;
}

.method-intro h2 em {
  color: var(--pink);
  font-style: normal;
}

.method-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.method-steps li {
  min-height: 0;
  display: block;
  padding: 0;
  border: 0;
  border-radius: 18px;
  background: transparent;
}

.method-steps li:nth-child(1) { --route-accent: var(--pink); }
.method-steps li:nth-child(2) { --route-accent: var(--blue); }
.method-steps li:nth-child(3) { --route-accent: var(--lime); }

.method-steps button {
  position: relative;
  width: 100%;
  min-height: 72px;
  display: grid;
  grid-template-columns: 34px minmax(120px, 0.62fr) minmax(150px, 1fr);
  gap: 12px;
  align-items: center;
  padding: 13px 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.035);
  text-align: left;
  transition: border-color 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
}

.method-steps button::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  content: "";
  opacity: 0.38;
  background: var(--route-accent);
}

.method-steps button > span {
  color: var(--route-accent);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.method-steps button b {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1.7vw, 1.55rem);
  line-height: 1;
}

.method-steps button small {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.73rem;
  line-height: 1.35;
}

.method-steps button.is-sequence-active,
.method-steps button[aria-pressed="true"] {
  border-color: var(--route-accent);
  background: color-mix(in srgb, var(--route-accent) 13%, rgba(255, 255, 255, 0.035));
  box-shadow: 0 0 0 1px var(--route-accent), 0 0 30px color-mix(in srgb, var(--route-accent) 32%, transparent);
}

.method-steps button.is-sequence-active::before,
.method-steps button[aria-pressed="true"]::before {
  opacity: 1;
  box-shadow: 0 0 18px var(--route-accent);
}

.method-steps button.is-sequence-complete:not(.is-sequence-active) {
  border-color: color-mix(in srgb, var(--route-accent) 42%, transparent);
  background: color-mix(in srgb, var(--route-accent) 5%, transparent);
}

.method-steps button:focus-visible,
.reel-toggle:focus-visible,
.route-start:focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: 3px;
  box-shadow: 0 0 0 6px rgba(9, 0, 15, 0.92), 0 0 24px rgba(213, 255, 66, 0.24);
}

.route-actions {
  grid-column: 2;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 15px;
}

.route-start {
  min-height: 44px;
  flex: 0 0 auto;
  padding: 11px 17px;
  font-size: 0.67rem;
}

.route-status {
  margin: 0;
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.69rem;
  line-height: 1.4;
}

.method-section .brand-core {
  width: min(100%, 320px);
  margin: 0;
  justify-self: center;
}

.method-section .brand-core > p {
  right: 0;
  bottom: 2%;
}

.brand-funnel .conversation-wrap {
  grid-template-columns: minmax(270px, 0.58fr) minmax(580px, 1.42fr);
  gap: clamp(34px, 6vw, 90px);
  padding-block: clamp(52px, 6vw, 82px) clamp(84px, 9vw, 132px);
}

.diagnostic-heading h2 {
  font-size: clamp(3.3rem, 5.3vw, 6.1rem);
}

.diagnostic-heading > p:last-child {
  margin-top: 20px;
}

.brand-funnel .intro-step {
  min-height: 470px;
}

@media (max-width: 1120px) {
  .brand-funnel .hero-section {
    grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
    gap: 36px;
  }

  .method-copy {
    grid-template-columns: 1fr;
  }

  .route-actions { grid-column: 1; }

  .brand-funnel .conversation-wrap {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .diagnostic-heading {
    position: static;
    max-width: 760px;
  }

  .brand-funnel .conversation-card {
    width: 100%;
    min-width: 0;
  }
}

/* Contacto directo 0.2.11: WhatsApp con el cerebro eléctrico de la marca. */
.whatsapp-quick-contact {
  position: fixed;
  z-index: 70;
  right: max(18px, calc(18px + env(safe-area-inset-right)));
  bottom: max(18px, calc(18px + env(safe-area-inset-bottom)));
  min-width: 214px;
  min-height: 64px;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 24px;
  align-items: center;
  gap: 10px;
  padding: 7px 12px 7px 7px;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(44, 200, 255, 0.55);
  border-radius: 999px;
  color: var(--white);
  background:
    linear-gradient(128deg, rgba(107, 22, 232, 0.52), rgba(9, 0, 15, 0.96) 48%, rgba(255, 58, 168, 0.19)),
    rgba(9, 0, 15, 0.96);
  box-shadow:
    inset 0 0 0 1px rgba(255, 58, 168, 0.16),
    0 14px 42px rgba(0, 0, 0, 0.42),
    0 0 26px rgba(44, 200, 255, 0.18),
    0 0 42px rgba(255, 58, 168, 0.1);
  backdrop-filter: blur(18px) saturate(1.18);
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  transition:
    opacity 0.2s ease,
    visibility 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.whatsapp-quick-contact::before {
  position: absolute;
  z-index: -1;
  inset: -35% auto -35% -46%;
  width: 42%;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(213, 255, 66, 0.2), rgba(44, 200, 255, 0.24), transparent);
  filter: blur(3px);
  transform: skewX(-18deg);
  animation: crisis-whatsapp-scan 4.8s ease-in-out infinite;
  pointer-events: none;
}

.whatsapp-quick-contact::after {
  position: absolute;
  z-index: -1;
  right: 18px;
  bottom: 0;
  left: 58px;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, var(--pink), var(--lime), var(--blue));
  box-shadow: 0 0 12px rgba(213, 255, 66, 0.5);
}

.whatsapp-quick-contact__signal {
  position: relative;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(213, 255, 66, 0.62);
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 28%, rgba(255, 255, 255, 0.2), transparent 24%),
    linear-gradient(145deg, rgba(255, 58, 168, 0.2), rgba(44, 200, 255, 0.17));
  box-shadow:
    inset 0 0 16px rgba(107, 22, 232, 0.5),
    0 0 16px rgba(213, 255, 66, 0.2);
}

.whatsapp-quick-contact__signal::before {
  position: absolute;
  inset: -4px;
  content: "";
  border: 1px dashed rgba(44, 200, 255, 0.48);
  border-radius: 50%;
  animation: crisis-whatsapp-orbit 8s linear infinite;
}

.whatsapp-quick-contact__signal::after {
  position: absolute;
  top: -1px;
  right: 0;
  width: 9px;
  height: 9px;
  content: "";
  border: 2px solid rgba(9, 0, 15, 0.9);
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 14px rgba(213, 255, 66, 0.9);
}

.whatsapp-quick-contact__signal img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  filter:
    drop-shadow(0 0 8px rgba(255, 58, 168, 0.55))
    drop-shadow(0 0 9px rgba(44, 200, 255, 0.38));
}

.whatsapp-quick-contact__copy {
  min-width: 0;
  display: grid;
  gap: 3px;
  white-space: nowrap;
}

.whatsapp-quick-contact__copy strong {
  font-family: var(--font-display);
  font-size: 0.94rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.015em;
}

.whatsapp-quick-contact__copy small {
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.56rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.whatsapp-quick-contact__arrow {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(213, 255, 66, 0.32);
  border-radius: 50%;
  color: var(--lime);
  font-size: 0.78rem;
  box-shadow: inset 0 0 10px rgba(213, 255, 66, 0.08);
}

@keyframes crisis-whatsapp-scan {
  0%, 16% { left: -46%; opacity: 0; }
  30% { opacity: 1; }
  68% { opacity: 0.78; }
  84%, 100% { left: 116%; opacity: 0; }
}

@keyframes crisis-whatsapp-orbit {
  to { transform: rotate(360deg); }
}

@media (hover: hover) and (pointer: fine) {
  .whatsapp-quick-contact:hover {
    border-color: var(--lime);
    box-shadow:
      inset 0 0 0 1px rgba(44, 200, 255, 0.2),
      0 16px 44px rgba(0, 0, 0, 0.46),
      0 0 30px rgba(213, 255, 66, 0.24),
      0 0 44px rgba(255, 58, 168, 0.16);
    transform: translateY(-2px);
  }
}

.whatsapp-quick-contact:active {
  transform: translateY(0) scale(0.98);
}

.whatsapp-quick-contact:focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: 4px;
  box-shadow:
    0 0 0 7px rgba(9, 0, 15, 0.92),
    0 0 34px rgba(213, 255, 66, 0.4),
    0 16px 44px rgba(0, 0, 0, 0.46);
}

body.menu-open .whatsapp-quick-contact,
body:has(.conversation-card :is(input, textarea, select):focus) .whatsapp-quick-contact,
body:has([data-success]:not([hidden])) .whatsapp-quick-contact {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(12px) scale(0.96);
}

@media (max-width: 480px) {
  .whatsapp-quick-contact {
    right: max(12px, calc(12px + env(safe-area-inset-right)));
    bottom: max(12px, calc(12px + env(safe-area-inset-bottom)));
    min-width: 164px;
    min-height: 56px;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 9px;
    padding: 6px 12px 6px 6px;
  }

  .whatsapp-quick-contact__signal {
    width: 42px;
    height: 42px;
  }

  .whatsapp-quick-contact__signal img {
    width: 32px;
    height: 32px;
  }

  .whatsapp-quick-contact__copy strong { font-size: 0.86rem; }
  .whatsapp-quick-contact__copy small { font-size: 0.5rem; }
  .whatsapp-quick-contact__arrow { display: none; }

  .site-footer {
    padding-bottom: calc(106px + env(safe-area-inset-bottom));
  }
}

@media (prefers-reduced-motion: reduce) {
  .whatsapp-quick-contact,
  .whatsapp-quick-contact::before,
  .whatsapp-quick-contact__signal::before {
    animation: none;
    transition: none;
  }
}

@media (prefers-contrast: more) {
  .whatsapp-quick-contact,
  .whatsapp-quick-contact__signal,
  .whatsapp-quick-contact__arrow {
    border-width: 2px;
  }
}

@media (forced-colors: active) {
  .whatsapp-quick-contact,
  .whatsapp-quick-contact__signal,
  .whatsapp-quick-contact__arrow {
    border: 2px solid LinkText;
    color: LinkText;
    background: Canvas;
    box-shadow: none;
    forced-color-adjust: auto;
  }

  .whatsapp-quick-contact::before,
  .whatsapp-quick-contact::after,
  .whatsapp-quick-contact__signal::before,
  .whatsapp-quick-contact__signal::after {
    display: none;
  }
}

/* Respuesta conversacional 0.2.11: lectura local en tres señales de marca. */
.brand-funnel .success-state {
  min-height: auto;
  justify-content: flex-start;
  padding: clamp(22px, 3.4vw, 46px);
}

.response-console {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(18px, 3vw, 34px);
  border: 1px solid rgba(44, 200, 255, 0.24);
  border-radius: clamp(22px, 3vw, 34px);
  background:
    linear-gradient(rgba(44, 200, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 58, 168, 0.025) 1px, transparent 1px),
    radial-gradient(circle at 8% 0%, rgba(107, 22, 232, 0.3), transparent 36%),
    linear-gradient(145deg, rgba(14, 4, 24, 0.96), rgba(6, 1, 12, 0.98));
  background-size: 28px 28px, 28px 28px, auto, auto;
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.06),
    0 28px 80px rgba(0, 0, 0, 0.28),
    0 0 54px rgba(107, 22, 232, 0.08);
}

.response-console::before {
  position: absolute;
  z-index: -1;
  inset: -40% auto -40% -30%;
  width: 44%;
  background: linear-gradient(90deg, transparent, rgba(44, 200, 255, 0.09), transparent);
  content: "";
  transform: skewX(-16deg);
  animation: response-console-scan 4.8s ease-in-out infinite;
  pointer-events: none;
}

.response-console-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: clamp(14px, 2vw, 22px);
  align-items: center;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.response-console-head h2 {
  font-size: clamp(2rem, 4.5vw, 4.4rem);
}

.response-console-head .bot-label {
  margin-bottom: 9px;
}

.response-core {
  position: relative;
  width: clamp(62px, 7vw, 82px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid rgba(213, 255, 66, 0.48);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(107, 22, 232, 0.44), rgba(9, 0, 15, 0.88) 68%);
  box-shadow: inset 0 0 26px rgba(44, 200, 255, 0.16), 0 0 30px rgba(213, 255, 66, 0.12);
}

.response-core span {
  position: absolute;
  inset: -7px;
  border: 1px solid rgba(44, 200, 255, 0.34);
  border-radius: 50%;
  animation: response-core-turn 7s linear infinite;
}

.response-core span::after {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 14px var(--blue);
  content: "";
}

.response-core span:nth-child(2) {
  inset: 5px;
  border-color: rgba(255, 58, 168, 0.4);
  animation-direction: reverse;
  animation-duration: 4.5s;
}

.response-core span:nth-child(2)::after {
  top: auto;
  right: auto;
  bottom: 5px;
  left: 5px;
  background: var(--pink);
  box-shadow: 0 0 14px var(--pink);
}

.response-core img {
  width: 56%;
  height: 56%;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.22));
}

.response-meter {
  width: clamp(82px, 10vw, 136px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
}

.response-meter span {
  height: 5px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

.response-meter span.is-active {
  background: linear-gradient(90deg, var(--pink), var(--blue), var(--lime));
  box-shadow: 0 0 12px rgba(44, 200, 255, 0.42);
}

.response-status {
  min-height: 1.4em;
  margin: 17px 0 0;
  color: rgba(255, 255, 255, 0.66);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.7rem;
  letter-spacing: 0.04em;
}

.response-status::before {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 9px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 12px var(--lime);
  content: "";
}

.response-thread {
  display: grid;
  gap: 12px;
  margin-top: 19px;
}

.response-message {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: clamp(16px, 2.2vw, 22px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px 22px 22px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.055), rgba(107, 22, 232, 0.08));
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.04);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.32s ease, transform 0.32s ease, border-color 0.32s ease;
}

.response-message[hidden],
.response-handoff[hidden] {
  display: none !important;
}

.response-message.is-visible {
  border-color: rgba(44, 200, 255, 0.25);
  opacity: 1;
  transform: none;
}

.response-message-intro.is-visible {
  border-color: rgba(213, 255, 66, 0.28);
}

.response-message-next.is-visible {
  border-color: rgba(255, 58, 168, 0.3);
}

.response-message-index {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(44, 200, 255, 0.42);
  border-radius: 14px;
  color: var(--lime);
  background: rgba(44, 200, 255, 0.07);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.72rem;
  font-weight: 900;
  box-shadow: inset 0 0 16px rgba(107, 22, 232, 0.24), 0 0 18px rgba(44, 200, 255, 0.08);
}

.response-message small,
.response-handoff small {
  display: block;
  color: var(--blue);
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.response-message small b {
  color: var(--lime);
}

.response-message p {
  margin: 7px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(0.88rem, 1.4vw, 1rem);
  line-height: 1.58;
  overflow-wrap: anywhere;
}

.response-message strong {
  display: block;
  margin-top: 10px;
  color: var(--white);
  font-size: clamp(0.93rem, 1.6vw, 1.08rem);
  line-height: 1.45;
}

.response-handoff {
  margin-top: 14px;
  padding: clamp(18px, 2.6vw, 26px);
  border: 1px solid rgba(213, 255, 66, 0.28);
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(213, 255, 66, 0.1), rgba(44, 200, 255, 0.055) 54%, rgba(255, 58, 168, 0.07));
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.32s ease, transform 0.32s ease;
}

.response-handoff.is-visible {
  opacity: 1;
  transform: none;
}

.response-handoff > div:first-child > strong {
  display: block;
  margin-top: 6px;
  color: var(--white);
  font-size: clamp(1rem, 1.8vw, 1.18rem);
}

.response-handoff > div:first-child > strong span {
  margin-left: 0.35em;
  color: var(--lime);
  white-space: nowrap;
}

.response-handoff > div:first-child > p {
  max-width: 760px;
  margin: 7px 0 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.77rem;
  line-height: 1.5;
}

.response-handoff .result-actions {
  flex-wrap: wrap;
  justify-content: flex-start;
}

@keyframes response-console-scan {
  0%, 14% { transform: translateX(0) skewX(-16deg); opacity: 0; }
  36% { opacity: 1; }
  64%, 100% { transform: translateX(410%) skewX(-16deg); opacity: 0; }
}

@keyframes response-core-turn {
  to { transform: rotate(1turn); }
}

@media (max-width: 660px) {
  .brand-funnel .success-state {
    padding: 14px;
  }

  .response-console {
    padding: 17px;
    border-radius: 22px;
  }

  .response-console-head {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .response-console-head h2 {
    font-size: clamp(1.72rem, 8vw, 1.95rem);
  }

  .response-meter {
    width: 100%;
    grid-column: 1 / -1;
  }

  .response-message {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 11px;
    padding: 15px;
  }

  .response-message-index {
    width: 34px;
    height: 34px;
    border-radius: 11px;
  }

  .response-handoff .result-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }

  .response-handoff .button {
    width: 100%;
  }

  .response-handoff > div:first-child > strong span {
    display: block;
    margin: 4px 0 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .response-console::before,
  .response-core span {
    animation: none !important;
  }

  .response-message,
  .response-handoff,
  .response-meter span {
    transition: none !important;
  }
}

@media (forced-colors: active) {
  .response-console,
  .response-core,
  .response-message,
  .response-message-index,
  .response-handoff {
    border: 1px solid CanvasText;
    color: CanvasText;
    background: Canvas;
    box-shadow: none;
  }

  .response-console::before,
  .response-core span {
    display: none;
  }
}


/* Portafolio en movimiento 0.2.5: una cinta de casos con Joki primero. */
.portfolio-teaser {
  position: relative;
  isolation: isolate;
  scroll-margin-top: 96px;
  color: var(--white);
  background:
    radial-gradient(circle at 14% 16%, rgba(208, 255, 49, 0.13), transparent 25rem),
    radial-gradient(circle at 86% 8%, rgba(255, 34, 179, 0.2), transparent 30rem),
    linear-gradient(135deg, #0a0012 0%, #16001f 52%, #080b20 100%);
  overflow: hidden;
}

.portfolio-teaser::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  opacity: 0.25;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
}

.portfolio-teaser .section-heading h2 { color: var(--white); }
.portfolio-teaser .section-heading h2 em {
  color: var(--lime);
  text-shadow: 0 0 34px rgba(208, 255, 49, 0.26);
}
.portfolio-teaser .section-kicker { color: var(--pink); }
.portfolio-teaser .section-side p { color: rgba(255, 255, 255, 0.7); }
.portfolio-teaser .button-outline {
  border-color: rgba(255, 255, 255, 0.28);
  color: var(--white);
  background: rgba(255, 255, 255, 0.035);
}
.portfolio-teaser .button-outline:hover {
  border-color: var(--lime);
  color: var(--ink);
  background: var(--lime);
}

.portfolio-widget {
  position: relative;
  display: grid;
  gap: 14px;
  min-width: 0;
}

.portfolio-widget-toolbar {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 2px;
}

.portfolio-live {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.075em;
  text-transform: uppercase;
}

.portfolio-live > span {
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 5px rgba(208, 255, 49, 0.09), 0 0 18px rgba(208, 255, 49, 0.72);
  animation: portfolio-signal 1.9s ease-in-out infinite;
}

.portfolio-motion-toggle {
  min-width: 160px;
  min-height: 44px;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  color: var(--white);
  background: rgba(12, 0, 22, 0.72);
  font: inherit;
  font-size: 0.72rem;
  font-weight: 850;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.portfolio-widget.is-ready .portfolio-motion-toggle { display: inline-flex; }
.portfolio-motion-toggle:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: rgba(0, 221, 255, 0.08);
}
.portfolio-motion-toggle:focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: 3px;
}

.portfolio-toggle-icon {
  width: 15px;
  height: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.portfolio-toggle-icon i {
  width: 3px;
  height: 12px;
  display: block;
  border-radius: 2px;
  background: currentColor;
}
.portfolio-widget[data-paused] .portfolio-toggle-icon i:first-child {
  width: 0;
  height: 0;
  border-block: 7px solid transparent;
  border-left: 11px solid currentColor;
  border-radius: 0;
  background: transparent;
}
.portfolio-widget[data-paused] .portfolio-toggle-icon i:last-child { display: none; }

.portfolio-window {
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
  scroll-snap-type: inline proximity;
  mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
}
.portfolio-window::-webkit-scrollbar { display: none; }
.portfolio-window:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
}

.portfolio-track {
  width: max-content;
  display: flex;
  transform: translate3d(0, 0, 0);
}

.portfolio-widget.is-ready .portfolio-track {
  will-change: transform;
  animation: crisis-portfolio-flow 46s linear infinite;
}

.portfolio-set {
  display: flex;
  gap: 14px;
  padding-inline-end: 14px;
}
.portfolio-set[aria-hidden="true"] { display: none; }
.portfolio-widget.is-ready .portfolio-set[aria-hidden="true"] { display: flex; }

.portfolio-widget .portfolio-card {
  flex: 0 0 clamp(300px, 30vw, 450px);
  width: clamp(300px, 30vw, 450px);
  min-height: 460px;
  height: clamp(460px, 36vw, 540px);
  scroll-snap-align: start;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 26px;
  background: #10001b;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
}

.portfolio-widget .portfolio-priority-card {
  flex-basis: clamp(390px, 42vw, 650px);
  width: clamp(390px, 42vw, 650px);
  border-color: rgba(208, 255, 49, 0.56);
  box-shadow: 0 0 0 1px rgba(208, 255, 49, 0.1), 0 28px 78px rgba(0, 0, 0, 0.42);
}

.portfolio-widget .portfolio-card::after {
  background:
    linear-gradient(180deg, rgba(9, 0, 15, 0.02) 28%, rgba(9, 0, 15, 0.92) 82%),
    linear-gradient(90deg, rgba(107, 22, 232, 0.18), transparent 48%);
}
.portfolio-widget .portfolio-card-joki::after {
  background:
    linear-gradient(180deg, rgba(9, 0, 15, 0.04) 32%, rgba(9, 0, 15, 0.94) 84%),
    linear-gradient(90deg, rgba(208, 255, 49, 0.14), transparent 52%);
}
.portfolio-widget .portfolio-card img {
  transform: scale(1.002);
  filter: none;
}
.portfolio-widget .portfolio-card:hover img { transform: scale(1.035); filter: none; }
.portfolio-widget .portfolio-card:focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: -6px;
}
.portfolio-widget .portfolio-card > span {
  right: 24px;
  bottom: 22px;
  left: 24px;
}
.portfolio-widget .portfolio-card small { color: rgba(255, 255, 255, 0.74); }
.portfolio-widget .portfolio-card b { font-size: clamp(2.1rem, 3vw, 3.6rem); }

.portfolio-priority-badge {
  position: absolute;
  z-index: 3;
  top: 20px;
  left: 20px;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 12px;
  border: 1px solid rgba(208, 255, 49, 0.56);
  border-radius: 999px;
  color: var(--ink);
  background: var(--lime);
  box-shadow: 0 0 24px rgba(208, 255, 49, 0.22);
  font-size: 0.64rem;
  font-weight: 950;
  letter-spacing: 0.075em;
  text-transform: uppercase;
}

.portfolio-widget[data-paused] .portfolio-track,
.portfolio-window:hover .portfolio-track,
.portfolio-window:focus-within .portfolio-track,
.portfolio-window:active .portfolio-track {
  animation-play-state: paused;
}

@keyframes crisis-portfolio-flow {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

@keyframes portfolio-signal {
  0%, 100% { opacity: 0.55; transform: scale(0.86); }
  50% { opacity: 1; transform: scale(1); }
}

@media (max-width: 760px) {
  .portfolio-widget-toolbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
  .portfolio-motion-toggle { min-width: 0; }
  .portfolio-widget .portfolio-card {
    flex-basis: min(82vw, 390px);
    width: min(82vw, 390px);
    min-height: 420px;
    height: 420px;
  }
  .portfolio-widget .portfolio-priority-card {
    flex-basis: min(90vw, 430px);
    width: min(90vw, 430px);
  }
  .portfolio-widget .portfolio-card b { font-size: clamp(2rem, 9vw, 2.8rem); }
}

@media (max-width: 420px) {
  .portfolio-live { max-width: 300px; line-height: 1.45; }
  .portfolio-widget .portfolio-card {
    flex-basis: 82vw;
    width: 82vw;
    min-height: 390px;
    height: 390px;
  }
  .portfolio-widget .portfolio-priority-card {
    flex-basis: 90vw;
    width: 90vw;
  }
  .portfolio-priority-badge { top: 14px; left: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .portfolio-live > span { animation: none !important; }
  .portfolio-widget.is-ready .portfolio-motion-toggle { display: none; }
  .portfolio-widget.is-ready .portfolio-track {
    animation: none !important;
    transform: none !important;
    will-change: auto;
  }
  .portfolio-widget.is-ready .portfolio-set[aria-hidden="true"] { display: none; }
  .portfolio-window { mask-image: none; }
  .portfolio-widget .portfolio-card img,
  .portfolio-widget .portfolio-card:hover img { transform: none; }
}

@media (prefers-contrast: more) {
  .portfolio-teaser .section-side p,
  .portfolio-live,
  .portfolio-widget .portfolio-card small { color: var(--white); }
  .portfolio-widget .portfolio-card,
  .portfolio-motion-toggle { border-width: 2px; }
}

@media (forced-colors: active) {
  .portfolio-teaser { color: CanvasText; background: Canvas; }
  .portfolio-teaser::before { display: none; }
  .portfolio-teaser .section-heading h2,
  .portfolio-teaser .section-heading h2 em,
  .portfolio-teaser .section-kicker,
  .portfolio-teaser .section-side p,
  .portfolio-live { color: CanvasText; text-shadow: none; }
  .portfolio-window { mask-image: none; }
  .portfolio-priority-badge,
  .portfolio-live > span { color: Canvas; background: CanvasText; box-shadow: none; }
  .portfolio-motion-toggle,
  .portfolio-widget .portfolio-card { border: 2px solid CanvasText; box-shadow: none; }
}

/* 0.2.4: cerebros eléctricos de marca para las decisiones del diagnóstico. */
.brand-funnel .choice-card {
  --brain-accent: var(--pink);
  --brain-accent-two: var(--purple);
  --brain-rgb: 255, 58, 168;
  --brain-delay: 0s;
  grid-template-columns: 56px minmax(0, 1fr);
  align-items: center;
  overflow: hidden;
}

.brand-funnel .choice-card:has(input[value="digital"]) {
  --brain-accent: var(--blue);
  --brain-accent-two: var(--purple);
  --brain-rgb: 44, 200, 255;
  --brain-delay: -0.35s;
}

.brand-funnel .choice-card:has(input[value="content"]) {
  --brain-accent: var(--pink);
  --brain-accent-two: var(--lime);
  --brain-rgb: 255, 58, 168;
  --brain-delay: -0.7s;
}

.brand-funnel .choice-card:has(input[value="systems"]) {
  --brain-accent: var(--lime);
  --brain-accent-two: var(--blue);
  --brain-rgb: 213, 255, 66;
  --brain-delay: -1.05s;
}

.brand-funnel .choice-card:has(input[value="guidance"]) {
  --brain-accent: var(--purple);
  --brain-accent-two: var(--blue);
  --brain-rgb: 107, 22, 232;
  --brain-delay: -1.4s;
}

.brand-funnel .choice-card:has(input[value="other"]) {
  --brain-accent: var(--lime);
  --brain-accent-two: var(--pink);
  --brain-rgb: 213, 255, 66;
  --brain-delay: -1.75s;
}

.choice-brain {
  position: relative;
  isolation: isolate;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(var(--brain-rgb), 0.42);
  border-radius: 18px;
  background:
    radial-gradient(circle at 34% 24%, rgba(255, 255, 255, 0.2), transparent 28%),
    radial-gradient(circle, rgba(var(--brain-rgb), 0.24), rgba(9, 0, 15, 0.88) 72%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.035) inset,
    0 0 20px rgba(var(--brain-rgb), 0.2);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.choice-brain::before,
.choice-brain::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.choice-brain::before {
  z-index: -1;
  inset: -8px;
  border-radius: 22px;
  background: conic-gradient(from 20deg, transparent 0 46%, var(--brain-accent) 58%, var(--brain-accent-two) 69%, transparent 82% 100%);
  filter: blur(8px);
  opacity: 0.32;
  animation: crisis-choice-aura 3.8s linear infinite;
  animation-delay: var(--brain-delay);
}

.choice-brain::after {
  z-index: 3;
  top: 8px;
  right: 7px;
  width: 7px;
  height: 11px;
  background: linear-gradient(118deg, transparent 0 38%, var(--brain-accent) 40% 57%, transparent 59% 100%);
  filter: drop-shadow(-35px 23px 0 var(--brain-accent-two));
  opacity: 0.86;
  animation: crisis-choice-flash 1.7s steps(2, end) infinite;
  animation-delay: var(--brain-delay);
}

.choice-brain__orbit {
  position: absolute;
  z-index: 1;
  inset: 5px;
  border: 1px solid rgba(var(--brain-rgb), 0.42);
  border-right-color: var(--brain-accent-two);
  border-bottom-color: transparent;
  border-radius: 15px;
  box-shadow: 0 0 12px rgba(var(--brain-rgb), 0.18) inset;
  animation: crisis-choice-orbit 4.2s linear infinite;
  animation-delay: var(--brain-delay);
}

.choice-brain__mark {
  position: relative;
  z-index: 2;
  width: 35px;
  height: 35px;
  border-radius: 10px;
  background: url("assets/brand/cc-brain-isotipo.svg") center / contain no-repeat;
  filter:
    drop-shadow(0 0 4px var(--brain-accent))
    drop-shadow(0 0 10px rgba(var(--brain-rgb), 0.72));
  animation: crisis-choice-brain 2.8s ease-in-out infinite;
  animation-delay: var(--brain-delay);
}

.choice-brain__spark {
  position: absolute;
  z-index: 3;
  inset: 3px;
  border-radius: 16px;
  background:
    radial-gradient(circle, var(--brain-accent) 0 1px, transparent 2px) 92% 61% / 8px 8px no-repeat,
    radial-gradient(circle, var(--brain-accent-two) 0 1px, transparent 2px) 12% 30% / 8px 8px no-repeat,
    linear-gradient(56deg, transparent 43%, var(--brain-accent) 45% 55%, transparent 57%) 92% 24% / 8px 12px no-repeat,
    linear-gradient(-52deg, transparent 43%, var(--brain-accent-two) 45% 55%, transparent 57%) 7% 78% / 9px 12px no-repeat;
  opacity: 0.72;
  animation: crisis-choice-sparks 1.9s steps(3, end) infinite;
  animation-delay: var(--brain-delay);
}

.brand-funnel .choice-card:hover {
  border-color: rgba(var(--brain-rgb), 0.72);
  background: linear-gradient(135deg, rgba(var(--brain-rgb), 0.13), rgba(107, 22, 232, 0.11));
}

.brand-funnel .choice-card:hover .choice-brain,
.brand-funnel .choice-card:has(input:checked) .choice-brain {
  transform: translateY(-2px) scale(1.045);
  border-color: var(--brain-accent);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08) inset,
    0 0 24px rgba(var(--brain-rgb), 0.44),
    0 0 44px rgba(var(--brain-rgb), 0.16);
}

.brand-funnel .choice-card:has(input:checked) {
  border-color: var(--brain-accent);
  background: linear-gradient(135deg, rgba(var(--brain-rgb), 0.2), rgba(107, 22, 232, 0.2));
  box-shadow:
    inset 0 0 0 1px rgba(var(--brain-rgb), 0.55),
    0 0 26px rgba(var(--brain-rgb), 0.14);
}

@keyframes crisis-choice-aura {
  to { transform: rotate(360deg); }
}

@keyframes crisis-choice-orbit {
  to { transform: rotate(-360deg); }
}

@keyframes crisis-choice-brain {
  0%, 100% { transform: scale(0.96); opacity: 0.88; }
  50% { transform: scale(1.05); opacity: 1; }
}

@keyframes crisis-choice-sparks {
  0%, 100% { opacity: 0.34; transform: scale(0.96); }
  45% { opacity: 0.94; transform: scale(1.02); }
}

@keyframes crisis-choice-flash {
  0%, 35%, 100% { opacity: 0.28; }
  36%, 64% { opacity: 1; }
}

@media (max-width: 420px) {
  .brand-funnel .choice-card {
    grid-template-columns: 48px minmax(0, 1fr);
  }

  .choice-brain {
    width: 46px;
    height: 46px;
    border-radius: 15px;
  }

  .choice-brain__orbit {
    inset: 4px;
    border-radius: 12px;
  }

  .choice-brain__mark {
    width: 31px;
    height: 31px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .choice-brain::before,
  .choice-brain::after,
  .choice-brain__orbit,
  .choice-brain__mark,
  .choice-brain__spark {
    animation: none !important;
  }

  .brand-funnel .choice-card:hover .choice-brain,
  .brand-funnel .choice-card:has(input:checked) .choice-brain {
    transform: none;
  }
}

@media (forced-colors: active) {
  .brand-funnel .choice-card:has(input:checked) {
    border: 3px solid Highlight;
    box-shadow: none;
  }

  .brand-funnel .choice-card:has(input:focus-visible) {
    outline: 3px solid Highlight;
    outline-offset: 3px;
  }

  .choice-brain {
    border-color: CanvasText;
    background: Canvas;
    box-shadow: none;
  }

  .choice-brain::before,
  .choice-brain::after,
  .choice-brain__orbit,
  .choice-brain__spark {
    display: none;
  }

  .choice-brain__mark {
    background: url("assets/brand/cc-brain-isotipo.svg") center / contain no-repeat;
    filter: none;
  }
}

/* 0.2.3: ruta reducida a tres señales y un único escape manual. */
@media (min-width: 1200px) {
  .method-copy {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .method-intro {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 28px;
  }

  .method-intro h2 {
    max-width: 610px;
    font-size: clamp(2.8rem, 3.9vw, 4.65rem);
  }

  .method-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .method-steps button {
    min-height: 86px;
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 10px;
  }

  .method-steps button b {
    font-size: clamp(1rem, 1.35vw, 1.35rem);
  }
}

.route-actions {
  grid-column: 1;
  margin-top: 5px;
}

.route-start {
  min-height: 38px;
  gap: 9px;
  padding: 6px 0;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 0;
  color: rgba(255, 255, 255, 0.72);
  background: transparent;
  box-shadow: none;
  font-size: 0.66rem;
  font-weight: 850;
  letter-spacing: 0.04em;
}

.route-start:hover {
  border-color: var(--lime);
  color: var(--lime);
  background: transparent;
  box-shadow: 0 8px 18px -14px var(--lime);
}

@media (max-width: 980px) {
  .method-steps {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 680px) {
  .route-actions {
    align-items: flex-start;
  }

  .route-start {
    width: auto;
    align-self: flex-start;
    justify-content: flex-start;
  }
}

@media (forced-colors: active) {
  .route-start {
    border: 2px solid ButtonText;
    padding: 8px;
    color: ButtonText;
  }
}

@media (max-width: 900px) {
  .brand-funnel .hero-section {
    grid-template-columns: 1fr;
    padding-top: 36px;
  }

  .hero-media { max-height: 520px; }
  .hero-copy { max-width: 720px; }

  .method-section {
    grid-template-columns: minmax(0, 1fr) minmax(210px, 270px);
    gap: 24px;
  }

  .method-steps button {
    grid-template-columns: 30px 1fr;
  }

  .method-steps button small {
    grid-column: 2;
  }
}

@media (max-width: 680px) {
  .brand-funnel .hero-section {
    gap: 28px;
    padding-block: 24px 48px;
  }

  .brand-funnel .funnel-intro h1 {
    font-size: clamp(3.3rem, 16vw, 5.2rem);
  }

  .hero-media {
    width: 100%;
    max-height: none;
    border-radius: 22px;
  }

  .hero-media figcaption b { display: none; }
  .reel-toggle { top: 10px; right: 10px; min-height: 44px; }

  .method-section {
    width: calc(100% - 28px);
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 28px 16px;
  }

  .method-intro h2 {
    font-size: clamp(2.9rem, 13vw, 4.3rem);
  }

  .method-steps button {
    min-height: 64px;
    grid-template-columns: 30px 1fr;
    padding: 11px 13px;
  }

  .method-steps button small { grid-column: 2; }

  .route-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
  }

  .route-start { width: 100%; justify-content: space-between; }

  .method-section .brand-core {
    width: min(64vw, 230px);
  }

  .method-section .brand-core > p { display: none; }

  .brand-funnel .conversation-wrap {
    padding-top: 44px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-reel { object-position: center; }
  .method-steps button.is-sequence-complete { box-shadow: none; }
}

@media (prefers-contrast: more) {
  .method-steps button,
  .hero-media,
  .method-section { border-width: 2px; }
  .method-steps button small,
  .route-status,
  .hero-note { color: var(--white); }
}

@media (forced-colors: active) {
  .hero-media,
  .method-section,
  .method-steps button,
  .reel-toggle { border: 2px solid CanvasText; }
  .method-steps button.is-sequence-active,
  .method-steps button[aria-pressed="true"] { outline: 3px solid Highlight; }
}

/* Energía de marca 0.2.3: las auroras acompañan el recorrido sin sumar
   secciones ni interferir con la lectura o la interacción. */
.brand-funnel .hero-section {
  isolation: isolate;
}

.brand-funnel .hero-section::before,
.brand-funnel .hero-section::after {
  position: absolute;
  z-index: 0;
  content: "";
  pointer-events: none;
}

.brand-funnel .hero-section::before {
  inset: -18% -8%;
  opacity: 0.88;
  background:
    radial-gradient(circle at 16% 30%, rgba(255, 58, 168, 0.34), transparent 28%),
    radial-gradient(circle at 76% 18%, rgba(107, 22, 232, 0.42), transparent 31%),
    radial-gradient(circle at 88% 72%, rgba(44, 200, 255, 0.28), transparent 27%),
    radial-gradient(circle at 38% 92%, rgba(213, 255, 66, 0.14), transparent 23%);
  filter: blur(38px) saturate(1.22);
  transform: translate3d(-2%, -1%, 0) scale(1.02);
  animation: crisis-hero-aurora 11s ease-in-out infinite alternate;
}

.brand-funnel .hero-section::after {
  inset: 3% -5% 0;
  opacity: 0.22;
  background:
    linear-gradient(112deg, transparent 12%, rgba(255, 58, 168, 0.3) 35%, transparent 48%),
    linear-gradient(292deg, transparent 34%, rgba(44, 200, 255, 0.26) 51%, transparent 67%);
  mask-image: linear-gradient(180deg, #000, transparent 90%);
  transform: translateX(-8%);
  animation: crisis-energy-cross 8.5s ease-in-out infinite alternate;
}

.brand-funnel .hero-section > * {
  position: relative;
  z-index: 1;
}

.hero-media {
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow:
    0 30px 100px rgba(0, 0, 0, 0.48),
    -18px -12px 70px rgba(255, 58, 168, 0.18),
    20px 18px 74px rgba(44, 200, 255, 0.16),
    0 0 0 1px rgba(213, 255, 66, 0.05);
}

.hero-media::before {
  position: absolute;
  z-index: 1;
  inset: -46%;
  content: "";
  opacity: 0.52;
  background:
    conic-gradient(from 20deg,
      transparent 0 15%,
      rgba(255, 58, 168, 0.48) 22%,
      transparent 31% 44%,
      rgba(44, 200, 255, 0.42) 51%,
      transparent 60% 72%,
      rgba(213, 255, 66, 0.26) 80%,
      transparent 89%),
    radial-gradient(circle, transparent 34%, rgba(107, 22, 232, 0.28) 54%, transparent 69%);
  mix-blend-mode: screen;
  transform: rotate(0deg) scale(1.04);
  animation: crisis-reel-spectrum 13s linear infinite;
  pointer-events: none;
}

.hero-media::after {
  z-index: 2;
  background:
    radial-gradient(circle at 18% 12%, rgba(255, 58, 168, 0.2), transparent 27%),
    radial-gradient(circle at 86% 26%, rgba(44, 200, 255, 0.17), transparent 23%),
    linear-gradient(180deg, transparent 48%, rgba(9, 0, 15, 0.9));
}

.hero-reel {
  position: relative;
  z-index: 0;
  filter: saturate(1.14) contrast(1.035);
}

.hero-media figcaption { z-index: 3; }
.reel-toggle { z-index: 4; }

.brand-funnel .funnel-intro h1 em {
  background-size: 220% 100%;
  filter: drop-shadow(0 0 24px rgba(255, 58, 168, 0.24));
  animation: crisis-title-spectrum 6s ease-in-out infinite alternate;
}

.method-section {
  position: relative;
  isolation: isolate;
  border-color: rgba(255, 255, 255, 0.22);
  background:
    linear-gradient(135deg, rgba(12, 2, 22, 0.86), rgba(9, 0, 15, 0.76)),
    radial-gradient(circle at 12% 24%, rgba(255, 58, 168, 0.24), transparent 32%),
    radial-gradient(circle at 86% 50%, rgba(107, 22, 232, 0.36), transparent 42%);
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.08),
    0 34px 110px rgba(0, 0, 0, 0.34),
    0 0 70px rgba(107, 22, 232, 0.13);
}

.method-section::before,
.method-section::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.method-section::before {
  z-index: 0;
  inset: -42%;
  opacity: 0.72;
  background:
    radial-gradient(circle at 24% 34%, rgba(255, 58, 168, 0.38), transparent 24%),
    radial-gradient(circle at 68% 25%, rgba(44, 200, 255, 0.3), transparent 23%),
    radial-gradient(circle at 76% 72%, rgba(107, 22, 232, 0.46), transparent 27%),
    radial-gradient(circle at 35% 78%, rgba(213, 255, 66, 0.2), transparent 19%);
  filter: blur(34px) saturate(1.2);
  transform: rotate(-4deg) scale(1.03);
  animation: crisis-route-aurora 10s ease-in-out infinite alternate;
}

.method-section::after {
  z-index: 1;
  inset: 0;
  opacity: 0.26;
  background:
    repeating-linear-gradient(118deg, transparent 0 52px, rgba(255, 255, 255, 0.055) 53px, transparent 54px 104px),
    linear-gradient(98deg, transparent 15%, rgba(255, 58, 168, 0.25) 36%, transparent 48%, rgba(44, 200, 255, 0.22) 66%, transparent 82%);
  background-position: 0 0, -30% 0;
  mask-image: linear-gradient(90deg, transparent, #000 15% 88%, transparent);
  animation: crisis-route-lines 9s ease-in-out infinite alternate;
}

.method-copy,
.method-section .brand-core {
  position: relative;
  z-index: 2;
}

.method-intro h2 em {
  color: transparent;
  background: linear-gradient(100deg, var(--pink), #ff82cf 28%, var(--lime) 62%, var(--blue));
  background-size: 180% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  filter: drop-shadow(0 0 22px rgba(255, 58, 168, 0.2));
  animation: crisis-title-spectrum 6.5s ease-in-out infinite alternate-reverse;
}

.method-steps li:nth-child(1) {
  --route-accent: var(--pink);
  --route-accent-secondary: var(--purple);
}

.method-steps li:nth-child(2) {
  --route-accent: var(--blue);
  --route-accent-secondary: var(--purple);
}

.method-steps li:nth-child(3) {
  --route-accent: var(--lime);
  --route-accent-secondary: var(--blue);
}

.method-steps button {
  isolation: isolate;
  border-color: color-mix(in srgb, var(--route-accent) 25%, rgba(255, 255, 255, 0.16));
  background:
    linear-gradient(92deg, color-mix(in srgb, var(--route-accent) 8%, transparent), transparent 38%),
    rgba(9, 0, 15, 0.66);
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.055),
    inset 5px 0 20px color-mix(in srgb, var(--route-accent) 7%, transparent);
  backdrop-filter: blur(8px);
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease,
    box-shadow 0.25s ease;
}

.method-steps button::before {
  z-index: 3;
  width: 5px;
  opacity: 0.72;
  box-shadow: 0 0 14px color-mix(in srgb, var(--route-accent) 60%, transparent);
}

.method-steps button::after {
  position: absolute;
  z-index: 0;
  inset: -1px;
  content: "";
  opacity: 0.15;
  border-radius: inherit;
  background:
    radial-gradient(circle at 8% 50%, color-mix(in srgb, var(--route-accent) 65%, transparent), transparent 34%),
    linear-gradient(106deg, transparent 18%, color-mix(in srgb, var(--route-accent-secondary) 42%, transparent) 48%, transparent 72%);
  transform: translateX(-24%);
  pointer-events: none;
}

.method-steps button > span,
.method-steps button b,
.method-steps button small {
  position: relative;
  z-index: 2;
}

.method-steps button:hover {
  border-color: color-mix(in srgb, var(--route-accent) 72%, white);
  transform: translateX(4px);
}

.method-steps button.is-sequence-active,
.method-steps button[aria-pressed="true"] {
  border-color: color-mix(in srgb, var(--route-accent) 84%, white);
  background:
    linear-gradient(94deg,
      color-mix(in srgb, var(--route-accent) 27%, rgba(9, 0, 15, 0.78)),
      color-mix(in srgb, var(--route-accent-secondary) 15%, rgba(9, 0, 15, 0.72)) 58%,
      rgba(9, 0, 15, 0.76));
  box-shadow:
    inset 0 0 28px color-mix(in srgb, var(--route-accent) 18%, transparent),
    0 0 0 1px color-mix(in srgb, var(--route-accent) 80%, white),
    0 0 28px color-mix(in srgb, var(--route-accent) 52%, transparent),
    0 0 68px color-mix(in srgb, var(--route-accent-secondary) 34%, transparent);
  transform: translateX(7px) scale(1.012);
}

.method-steps button.is-sequence-active::after,
.method-steps button[aria-pressed="true"]::after {
  opacity: 0.9;
  animation: crisis-route-ignite 980ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.method-steps button.is-sequence-active > span,
.method-steps button.is-sequence-active b,
.method-steps button[aria-pressed="true"] > span,
.method-steps button[aria-pressed="true"] b {
  color: var(--white);
  text-shadow:
    0 0 12px var(--route-accent),
    0 0 28px color-mix(in srgb, var(--route-accent-secondary) 75%, transparent);
}

.method-steps button.is-sequence-active small,
.method-steps button[aria-pressed="true"] small {
  color: rgba(255, 255, 255, 0.9);
}

.method-steps button.is-sequence-complete:not(.is-sequence-active) {
  border-color: color-mix(in srgb, var(--route-accent) 55%, transparent);
  background:
    linear-gradient(92deg, color-mix(in srgb, var(--route-accent) 12%, transparent), transparent 42%),
    rgba(9, 0, 15, 0.68);
  box-shadow: inset 5px 0 24px color-mix(in srgb, var(--route-accent) 10%, transparent);
}

.route-start {
  box-shadow:
    0 0 0 1px rgba(213, 255, 66, 0.18),
    0 0 30px rgba(213, 255, 66, 0.22),
    0 0 60px rgba(44, 200, 255, 0.08);
}

.method-section .brand-core {
  width: min(100%, 300px);
  max-height: 300px;
  filter:
    drop-shadow(0 0 28px rgba(255, 58, 168, 0.22))
    drop-shadow(0 0 50px rgba(44, 200, 255, 0.13));
}

.method-section .core-logo {
  border-color: rgba(255, 255, 255, 0.32);
  background:
    radial-gradient(circle at 35% 24%, rgba(255, 255, 255, 0.2), transparent 28%),
    conic-gradient(from 210deg, var(--purple), var(--pink), var(--blue), var(--lime), var(--purple));
  box-shadow:
    0 0 28px rgba(255, 58, 168, 0.42),
    0 0 74px rgba(107, 22, 232, 0.4),
    0 0 110px rgba(44, 200, 255, 0.16),
    inset 0 0 38px rgba(255, 255, 255, 0.12);
}

.method-section .core-ring-one { border-color: rgba(255, 58, 168, 0.68); }
.method-section .core-ring-two { border-color: rgba(44, 200, 255, 0.54); }
.method-section .core-ring-three { border-color: rgba(213, 255, 66, 0.36); }

@keyframes crisis-hero-aurora {
  0% { transform: translate3d(-3%, -2%, 0) scale(1.01); }
  55% { transform: translate3d(3%, 2%, 0) scale(1.08); }
  100% { transform: translate3d(-1%, 4%, 0) scale(1.04); }
}

@keyframes crisis-energy-cross {
  from { opacity: 0.15; transform: translateX(-10%) skewX(-3deg); }
  to { opacity: 0.32; transform: translateX(9%) skewX(3deg); }
}

@keyframes crisis-reel-spectrum {
  to { transform: rotate(360deg) scale(1.04); }
}

@keyframes crisis-title-spectrum {
  from { background-position: 0 50%; }
  to { background-position: 100% 50%; }
}

@keyframes crisis-route-aurora {
  0% { transform: rotate(-5deg) translate3d(-2%, -1%, 0) scale(1.02); }
  50% { transform: rotate(2deg) translate3d(3%, 2%, 0) scale(1.1); }
  100% { transform: rotate(-1deg) translate3d(-1%, 4%, 0) scale(1.05); }
}

@keyframes crisis-route-lines {
  from { background-position: 0 0, -30% 0; }
  to { background-position: 52px 0, 130% 0; }
}

@keyframes crisis-route-ignite {
  0% { opacity: 0.08; transform: translateX(-38%) scaleX(0.74); }
  42% { opacity: 1; }
  100% { opacity: 0.72; transform: translateX(20%) scaleX(1.12); }
}

@media (max-width: 680px) {
  .method-section {
    min-height: 0;
    grid-template-columns: minmax(0, 1fr);
  }

  .method-copy {
    position: relative;
    z-index: 3;
  }

  .method-section .brand-core {
    position: absolute;
    z-index: 1;
    top: 57%;
    right: -58px;
    width: 205px;
    max-height: none;
    margin: 0;
    opacity: 0.32;
    filter:
      saturate(1.15)
      drop-shadow(0 0 24px rgba(255, 58, 168, 0.26))
      drop-shadow(0 0 36px rgba(44, 200, 255, 0.18));
    transform: translateY(-50%);
    pointer-events: none;
  }

  .method-steps button {
    background:
      linear-gradient(92deg, color-mix(in srgb, var(--route-accent) 10%, transparent), transparent 46%),
      rgba(9, 0, 15, 0.8);
    backdrop-filter: blur(11px);
  }

  .method-steps button:hover,
  .method-steps button.is-sequence-active,
  .method-steps button[aria-pressed="true"] {
    transform: translateX(3px);
  }
}

@media (max-width: 420px) {
  .method-section .brand-core {
    top: 53%;
    right: -54px;
    width: 178px;
    opacity: 0.27;
  }
}

@media (prefers-reduced-motion: reduce) {
  .brand-funnel .hero-section::before,
  .brand-funnel .hero-section::after,
  .hero-media::before,
  .brand-funnel .funnel-intro h1 em,
  .method-section::before,
  .method-section::after,
  .method-intro h2 em,
  .method-steps button::after,
  .method-section .brand-core::before,
  .method-section .brand-core::after,
  .method-section .core-logo,
  .method-section .core-ring,
  .method-section .core-beam,
  .method-section .core-node {
    animation: none !important;
  }

  .method-steps button,
  .route-start {
    transition: none !important;
  }

  .method-steps button:hover,
  .method-steps button.is-sequence-active,
  .method-steps button[aria-pressed="true"] {
    transform: none;
  }

  .hero-media::before { opacity: 0.26; }
  .method-section::after { opacity: 0.13; }
}

@media (prefers-contrast: more) {
  .brand-funnel .hero-section::before,
  .brand-funnel .hero-section::after,
  .hero-media::before,
  .method-section::before,
  .method-section::after {
    opacity: 0.12;
  }

  .method-steps button {
    border-color: var(--route-accent);
    background: rgba(9, 0, 15, 0.94);
  }

  .method-steps button small { color: var(--white); }
}

@media (forced-colors: active) {
  .brand-funnel .hero-section::before,
  .brand-funnel .hero-section::after,
  .hero-media::before,
  .method-section::before,
  .method-section::after,
  .method-steps button::before,
  .method-steps button::after,
  .method-section .brand-core {
    display: none !important;
  }

  .method-section {
    grid-template-columns: minmax(0, 1fr);
    background: Canvas;
    box-shadow: none;
  }

  .hero-media,
  .method-steps button,
  .method-steps button.is-sequence-complete,
  .method-steps button.is-sequence-active,
  .method-steps button[aria-pressed="true"],
  .route-start {
    background: Canvas;
    box-shadow: none;
    filter: none;
    transform: none;
  }

  .brand-funnel .funnel-intro h1 em,
  .method-intro h2 em {
    color: CanvasText;
    background: none;
    -webkit-text-fill-color: CanvasText;
    filter: none;
  }

  .method-steps button.is-sequence-active,
  .method-steps button[aria-pressed="true"] {
    outline: 3px solid Highlight;
    outline-offset: 3px;
  }
}

/* Hotfix 0.2.8: en tablet, dos bloques mantienen el resumen compacto. */
@media (min-width: 720px) and (max-width: 900px) {
  .service-blocks {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Controles de movimiento: una misma pieza de interfaz con energia de marca. */
.reel-toggle,
.portfolio-motion-toggle {
  -webkit-appearance: none;
  appearance: none;
  min-height: 44px;
  border: 1px solid rgba(44, 200, 255, 0.48);
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(107, 22, 232, 0.4), rgba(9, 0, 15, 0.94) 58%),
    rgba(9, 0, 15, 0.94);
  box-shadow:
    inset 0 0 0 1px rgba(255, 58, 168, 0.16),
    0 10px 26px rgba(0, 0, 0, 0.28),
    0 0 22px rgba(44, 200, 255, 0.12);
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 850;
  line-height: 1;
  letter-spacing: 0.035em;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition:
    color 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.reel-toggle-mark,
.portfolio-toggle-icon {
  position: relative;
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(213, 255, 66, 0.6);
  border-radius: 50%;
  color: var(--lime);
  background:
    radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.24), transparent 28%),
    linear-gradient(145deg, rgba(255, 58, 168, 0.24), rgba(44, 200, 255, 0.2));
  box-shadow:
    inset 0 0 12px rgba(107, 22, 232, 0.42),
    0 0 14px rgba(213, 255, 66, 0.24);
}

.reel-toggle-mark::before {
  width: 0;
  height: 0;
  border-block: 5px solid transparent;
  border-left: 8px solid currentColor;
  content: "";
  transform: translateX(1px);
}

.reel-toggle.is-playing {
  border-color: rgba(213, 255, 66, 0.58);
  box-shadow:
    inset 0 0 0 1px rgba(44, 200, 255, 0.18),
    0 10px 26px rgba(0, 0, 0, 0.28),
    0 0 24px rgba(213, 255, 66, 0.14);
}

.reel-toggle.is-playing .reel-toggle-mark {
  border-radius: 50%;
  box-shadow:
    inset 0 0 12px rgba(107, 22, 232, 0.42),
    0 0 16px rgba(213, 255, 66, 0.3);
}

.reel-toggle.is-playing .reel-toggle-mark::before {
  width: 9px;
  height: 11px;
  border: 0;
  background: linear-gradient(
    90deg,
    currentColor 0 3px,
    transparent 3px 6px,
    currentColor 6px 9px
  );
  transform: none;
}

.portfolio-toggle-icon {
  display: inline-grid;
  gap: 3px;
}

.portfolio-toggle-icon i {
  width: 3px;
  height: 11px;
}

.portfolio-widget[data-paused] .portfolio-toggle-icon i:first-child {
  border-block-width: 6px;
  border-left-width: 9px;
  transform: translateX(1px);
}

.portfolio-motion-toggle[aria-pressed="true"] {
  border-color: rgba(213, 255, 66, 0.7);
  color: var(--lime);
  background:
    linear-gradient(135deg, rgba(213, 255, 66, 0.12), rgba(9, 0, 15, 0.96) 58%),
    rgba(9, 0, 15, 0.96);
  box-shadow:
    inset 0 0 0 1px rgba(213, 255, 66, 0.12),
    0 10px 26px rgba(0, 0, 0, 0.28),
    0 0 24px rgba(213, 255, 66, 0.16);
}

@media (hover: hover) and (pointer: fine) {
  .reel-toggle:hover,
  .portfolio-motion-toggle:hover {
    border-color: var(--lime);
    color: var(--white);
    background:
      linear-gradient(135deg, rgba(255, 58, 168, 0.34), rgba(9, 0, 15, 0.92) 58%),
      rgba(9, 0, 15, 0.92);
    box-shadow:
      inset 0 0 0 1px rgba(44, 200, 255, 0.2),
      0 12px 28px rgba(0, 0, 0, 0.32),
      0 0 28px rgba(213, 255, 66, 0.2);
    transform: translateY(-1px);
  }
}

.reel-toggle:active,
.portfolio-motion-toggle:active {
  transform: translateY(0) scale(0.98);
}

.reel-toggle:focus-visible,
.portfolio-motion-toggle:focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: 3px;
  box-shadow:
    0 0 0 6px rgba(9, 0, 15, 0.92),
    0 0 26px rgba(213, 255, 66, 0.34);
}

@media (max-width: 760px) {
  .portfolio-widget-toolbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 44px;
    align-items: center;
    gap: 12px;
  }

  .portfolio-motion-toggle {
    width: 44px;
    min-width: 44px;
    min-height: 44px;
    justify-self: end;
    gap: 0;
    padding: 0;
  }

  .portfolio-motion-toggle [data-portfolio-toggle-label] {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
  }
}

@media (max-width: 680px) {
  .reel-toggle {
    width: 44px;
    min-width: 44px;
    height: 44px;
    min-height: 44px;
    gap: 0;
    padding: 0;
    border-radius: 50%;
    justify-content: center;
  }

  .reel-toggle [data-reel-label] {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reel-toggle,
  .portfolio-motion-toggle {
    transition: none;
  }
}

@media (prefers-contrast: more) {
  .reel-toggle,
  .portfolio-motion-toggle,
  .reel-toggle-mark,
  .portfolio-toggle-icon {
    border-width: 2px;
  }
}

@media (forced-colors: active) {
  .reel-toggle,
  .portfolio-motion-toggle,
  .reel-toggle-mark,
  .portfolio-toggle-icon {
    border: 2px solid ButtonText;
    color: ButtonText;
    background: ButtonFace;
    box-shadow: none;
    forced-color-adjust: auto;
  }
}
