/* LUM360 · recorridos inmobiliarios · capa 3 de 4 · componentes: botones, enlaces, selector de perfil, rótulos de acto, regla de etapas, pestañas, paneles, tablas y listas */

/* ---------- Botones ----------
   states: default · hover · focus-visible · active · disabled (loading/error/success no aplican: son enlaces de navegación) */

.re-experience .web-service-button {
  display: inline-flex;
  min-height: var(--ws-hit);
  align-items: center;
  justify-content: center;
  gap: var(--ws-space-xs);
  padding: 0.8rem 1.35rem;
  border: var(--ws-hairline) solid transparent;
  border-radius: var(--ws-radius-sm);
  font-family: var(--ws-font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background-color var(--ws-dur-short) var(--ws-ease-out),
    border-color var(--ws-dur-short) var(--ws-ease-out),
    color var(--ws-dur-short) var(--ws-ease-out),
    transform var(--ws-dur-micro) var(--ws-ease-out);
}

.re-experience .web-service-button--primary {
  color: var(--color-button-primary-text, var(--ws-accent-ink));
  background: var(--color-button-primary-bg, var(--ws-accent-fill, var(--ws-accent)));
  border-color: var(--color-button-primary-bg, var(--ws-accent-line, var(--ws-accent)));
}

.re-experience .web-service-button--secondary {
  color: var(--ws-ink);
  background: var(--ws-scrim);
  border-color: var(--ws-rule-strong);
}

@media (hover: hover) and (pointer: fine) {
  .re-experience .web-service-button--primary:hover {
    background: var(--ws-accent-fill, var(--ws-accent-strong));
    border-color: var(--ws-accent-line, var(--ws-accent-strong));
    transform: translate3d(0, -1px, 0);
  }

  .re-experience .web-service-button--secondary:hover {
    border-color: var(--ws-accent-line, var(--ws-accent));
    transform: translate3d(0, -1px, 0);
  }
}

.re-experience .web-service-button:active {
  transform: translate3d(0, 1px, 0);
}

.re-experience .web-service-button:focus-visible {
  outline: 2px solid var(--ws-focus);
  outline-offset: 3px;
}

.re-experience .web-service-button[aria-disabled="true"] {
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
}

.re-experience .ws-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--ws-space-sm) var(--ws-space-md);
}

/* ---------- Enlaces de texto ---------- */

.re-experience .ws-link {
  display: inline-flex;
  min-width: var(--ws-hit);
  min-height: var(--ws-hit);
  align-items: center;
  color: var(--ws-accent-strong);
  font-size: var(--ws-text-sm);
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: underline;
  text-decoration-color: var(--ws-rule-strong);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.3em;
  white-space: nowrap;
  transition: text-decoration-color var(--ws-dur-short) var(--ws-ease-out), color var(--ws-dur-short) var(--ws-ease-out);
}

.re-experience .ws-link--quiet {
  color: var(--ws-muted);
  font-weight: 500;
}

@media (hover: hover) and (pointer: fine) {
  .re-experience .ws-link:hover {
    color: var(--ws-ink);
    text-decoration-color: var(--ws-accent);
  }
}

.re-experience .ws-link:active {
  color: var(--ws-accent);
}

/* ---------- Rótulo de servicio (único de la página) ---------- */

.re-experience .ws-kicker {
  color: var(--ws-accent-strong);
  font-size: var(--ws-text-xs);
  font-weight: 600;
  letter-spacing: 0.16em;
  line-height: 1.5;
  text-transform: uppercase;
}

/* ---------- Selector de giro ----------
   states: default · hover · focus-visible · active · checked · disabled */

.re-experience .ws-persona {
  display: grid;
  min-width: 0;
  gap: var(--ws-space-xs);
}

.re-experience .ws-persona legend {
  float: left;
  width: 100%;
  margin-bottom: var(--ws-space-xs);
  color: var(--ws-ink);
  font-family: var(--ws-font-display);
  font-size: 1.3rem;
  font-style: italic;
  line-height: 1.15;
}

.re-experience .ws-persona__options {
  display: flex;
  clear: both;
  gap: var(--ws-space-xs);
  margin-inline: calc(var(--ws-space-lg) * -1);
  padding: var(--ws-space-3xs) var(--ws-space-lg);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  /* el ajuste respeta el margen de la página: la primera opción queda alineada con el texto */
  scroll-padding-inline: var(--ws-space-lg);
  scrollbar-width: none;
}

.re-experience .ws-persona__options::-webkit-scrollbar {
  display: none;
}

.re-experience .ws-chip {
  position: relative;
  display: inline-flex;
  flex: 0 0 auto;
  scroll-snap-align: start;
  cursor: pointer;
}

.re-experience .ws-chip input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.re-experience .ws-chip span {
  display: inline-flex;
  min-height: var(--ws-hit);
  align-items: center;
  gap: var(--ws-space-xs);
  padding: 0 0.95rem;
  border: var(--ws-hairline) solid var(--ws-rule-strong);
  border-radius: var(--ws-radius-pill);
  color: var(--ws-muted);
  background: var(--ws-scrim);
  font-size: var(--ws-text-sm);
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  transition:
    background-color var(--ws-dur-short) var(--ws-ease-out),
    border-color var(--ws-dur-short) var(--ws-ease-out),
    color var(--ws-dur-short) var(--ws-ease-out),
    transform var(--ws-dur-micro) var(--ws-ease-out);
}

/* El estado elegido no depende solo del color: lleva una marca */
.re-experience .ws-chip span::before {
  content: "";
  width: 0.4rem;
  height: 0.4rem;
  border: var(--ws-hairline) solid var(--ws-rule-strong);
  transition: background-color var(--ws-dur-short) var(--ws-ease-out), border-color var(--ws-dur-short) var(--ws-ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .re-experience .ws-chip:hover span {
    border-color: var(--ws-accent-line, var(--ws-accent));
    color: var(--ws-ink);
  }
}

.re-experience .ws-chip input:active + span {
  transform: translate3d(0, 1px, 0);
}

.re-experience .ws-chip input:checked + span {
  border-color: var(--ws-accent-line, var(--ws-accent));
  color: var(--ws-ink);
  background: var(--ws-accent-soft);
}

.re-experience .ws-chip input:checked + span::before {
  border-color: var(--ws-accent-line, var(--ws-accent-strong));
  background: var(--ws-accent-fill, var(--ws-accent-strong));
}

.re-experience .ws-chip input:focus-visible + span {
  outline: 2px solid var(--ws-focus);
  outline-offset: 3px;
}

.re-experience .ws-chip input:disabled + span {
  opacity: 0.55;
  cursor: not-allowed;
}

.re-experience .ws-persona__note {
  max-width: 34rem;
  min-height: 2.6em;
  color: var(--ws-subtle);
  font-size: var(--ws-text-sm);
  line-height: 1.5;
}

.re-experience .ws-persona__related a {
  color: var(--ws-accent-strong);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--ws-rule-strong);
  text-underline-offset: 0.25em;
  white-space: nowrap;
}

@media (min-width: 60rem) {
  .re-experience .ws-persona__options {
    flex-wrap: wrap;
    margin-inline: 0;
    padding-inline: 0;
    overflow: visible;
  }

  .re-experience .ws-chip span {
    min-height: 2.6rem;
  }
}

/* ---------- Rótulo del acto (aparece cuando el copy se repliega) ---------- */

.re-experience .ws-hero__count {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 var(--ws-space-sm);
  color: var(--ws-accent-strong);
  font-size: var(--ws-text-xs);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.16em;
}

/* Lo que construye la escena es una simulación, y se dice junto a cada etapa */
.re-experience .ws-hero__tag {
  display: inline-flex;
  align-items: baseline;
  gap: var(--ws-space-sm);
  color: var(--ws-subtle);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.re-experience .ws-hero__tag::before {
  content: "";
  width: 1.1rem;
  height: var(--ws-hairline);
  align-self: center;
  background: var(--ws-rule-strong);
}

.re-experience .ws-hero__act {
  display: grid;
  gap: var(--ws-space-xs);
}

.re-experience .ws-hero__act-name {
  color: var(--ws-ink);
  font-family: var(--ws-font-display);
  font-size: clamp(2rem, 7vw, 3.4rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1;
}

.re-experience .ws-hero__act-text {
  max-width: 27rem;
  color: var(--ws-muted);
  font-size: var(--ws-text-base);
  line-height: 1.5;
}

.re-experience .ws-hero__statement {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  color: var(--ws-ink);
  font-family: var(--ws-font-display);
  font-size: clamp(1.9rem, 6.4vw, 3.3rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.04;
  text-wrap: balance;
}

.re-experience .ws-hero__statement strong {
  display: block;
  color: var(--ws-accent-strong);
  font-weight: 500;
}

.re-experience .ws-hero[data-phase="final"] .ws-hero__statement {
  position: static;
  width: auto;
  max-width: 14ch;
  height: auto;
  overflow: visible;
  clip-path: none;
}

.re-experience .ws-hero[data-phase="final"] .ws-hero__act {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}

.re-experience .ws-hero__cta {
  flex-wrap: wrap;
  gap: var(--ws-space-sm);
  margin-top: var(--ws-space-md);
}

@media (min-width: 60rem) {
  .re-experience .ws-hero__caption {
    gap: var(--ws-space-sm);
  }

  .re-experience .ws-hero__act-text {
    font-size: var(--ws-text-md);
    line-height: 1.55;
  }
}

/* ---------- Botón de icono y control de movimiento ----------
   states: default · hover · focus-visible · active · pressed · disabled */

.re-experience .ws-icon-button,
.re-experience .ws-toggle {
  display: inline-flex;
  min-width: var(--ws-hit);
  min-height: var(--ws-hit);
  align-items: center;
  justify-content: center;
  gap: var(--ws-space-xs);
  padding: 0;
  border: var(--ws-hairline) solid var(--ws-rule-strong);
  border-radius: var(--ws-radius-pill);
  color: var(--ws-ink);
  background: var(--ws-scrim);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition:
    border-color var(--ws-dur-short) var(--ws-ease-out),
    color var(--ws-dur-short) var(--ws-ease-out),
    transform var(--ws-dur-micro) var(--ws-ease-out);
}

.re-experience .ws-icon-button svg,
.re-experience .ws-toggle svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

@media (hover: hover) and (pointer: fine) {
  .re-experience .ws-icon-button:hover,
  .re-experience .ws-toggle:hover {
    border-color: var(--ws-accent-line, var(--ws-accent));
    color: var(--ws-accent-strong);
  }
}

.re-experience .ws-icon-button:active,
.re-experience .ws-toggle:active {
  transform: translate3d(0, 1px, 0);
}

.re-experience .ws-icon-button:disabled,
.re-experience .ws-toggle:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.re-experience .ws-toggle[hidden] {
  display: none;
}

.re-experience .ws-toggle .ws-toggle__play,
.re-experience .ws-toggle[aria-pressed="true"] .ws-toggle__pause {
  display: none;
}

.re-experience .ws-toggle[aria-pressed="true"] .ws-toggle__play {
  display: inline;
}

.re-experience .ws-toggle span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.re-experience .ws-stepper {
  gap: var(--ws-space-xs);
}

.re-experience .ws-hero__tools {
  align-items: center;
  gap: var(--ws-space-sm);
}

@media (min-width: 60rem) {
  .re-experience .ws-toggle {
    min-width: 0;
    min-height: 2.75rem;
    padding: 0 0.9rem 0 0.7rem;
    font-size: var(--ws-text-sm);
    font-weight: 500;
  }

  .re-experience .ws-toggle span {
    position: static;
    width: auto;
    height: auto;
    overflow: visible;
    clip-path: none;
  }

  .re-experience .ws-hero__tools {
    flex: 0 0 auto;
    margin-inline-start: auto;
  }
}

/* ---------- Regla de etapas ----------
   Con escena (≥ 960 px): una cota con siete marcas. Sin escena: pestañas.
   states: default · hover · focus-visible · active · current */

.re-experience .ws-acts {
  display: flex;
  flex-wrap: wrap;
  gap: var(--ws-space-xs) var(--ws-space-md);
  counter-reset: none;
}

.re-experience .ws-acts li {
  min-width: 0;
}

.re-experience .ws-acts button {
  display: inline-flex;
  min-height: var(--ws-hit);
  align-items: baseline;
  gap: var(--ws-space-xs);
  padding: var(--ws-space-sm) 0;
  border: 0;
  border-top: var(--ws-hairline) solid var(--ws-rule-strong);
  color: var(--ws-subtle);
  background: none;
  font-size: var(--ws-text-sm);
  font-weight: 500;
  text-align: start;
  white-space: nowrap;
  cursor: pointer;
  transition: color var(--ws-dur-short) var(--ws-ease-out), border-color var(--ws-dur-short) var(--ws-ease-out);
}

.re-experience .ws-acts button span {
  color: var(--ws-accent-strong);
  font-size: var(--ws-text-xs);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.08em;
}

.re-experience .ws-acts button strong {
  font-weight: inherit;
}

@media (hover: hover) and (pointer: fine) {
  .re-experience .ws-acts button:hover {
    color: var(--ws-ink);
  }
}

.re-experience .ws-acts button:active {
  color: var(--ws-accent-strong);
}

.re-experience .ws-acts button[aria-current="step"] {
  border-top-color: var(--ws-accent-line, var(--ws-accent-strong));
  color: var(--ws-ink);
  font-weight: 600;
}

.re-experience .ws-acts p {
  max-width: 40rem;
  color: var(--ws-muted);
  font-size: var(--ws-text-sm);
  line-height: 1.5;
}

/* Con JS la descripción del acto elegido se muestra en el rótulo; la lista la conserva para lectores de pantalla */
html.ws-js .re-experience .ws-acts p {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}

html:not(.ws-js) .re-experience .ws-acts {
  display: grid;
  gap: var(--ws-space-md);
}

/* Sin escena y con JS: las etapas son pestañas sobre la maqueta. En teléfono, una fila que se desliza. */
html.ws-js:not([data-ws-hero="stage"]) .re-experience .ws-acts {
  flex-wrap: nowrap;
  gap: var(--ws-space-md);
  margin-inline: calc(var(--ws-space-lg) * -1);
  padding-inline: var(--ws-space-lg);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  scroll-padding-inline: var(--ws-space-lg);
  scrollbar-width: none;
}

html.ws-js:not([data-ws-hero="stage"]) .re-experience .ws-acts::-webkit-scrollbar {
  display: none;
}

html.ws-js:not([data-ws-hero="stage"]) .re-experience .ws-acts li {
  flex: 0 0 auto;
  scroll-snap-align: start;
}

@media (min-width: 60rem) {
  html.ws-js:not([data-ws-hero="stage"]) .re-experience .ws-acts {
    margin-inline: 0;
    padding-inline: 0;
    scroll-padding-inline: 0;
  }
}

/* con ancho suficiente caben las siete en una regla, sin deslizar */
@media (min-width: 75rem) {
  html.ws-js:not([data-ws-hero="stage"]) .re-experience .ws-acts {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: var(--ws-space-xs);
    overflow: visible;
  }

  html.ws-js:not([data-ws-hero="stage"]) .re-experience .ws-acts button {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--ws-space-3xs);
    font-size: 0.78rem;
  }
}

html:not(.ws-js) .re-experience .ws-hero__caption {
  display: none;
}

@media (min-width: 60rem) {
  html[data-ws-hero="stage"] .re-experience .ws-acts {
    position: relative;
    flex: 1 1 auto;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 0;
  }

  /* La cota: una línea continua que se llena con el progreso real del scroll */
  html[data-ws-hero="stage"] .re-experience .ws-acts::before,
  html[data-ws-hero="stage"] .re-experience .ws-acts::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--ws-hairline);
    background: var(--ws-rule-strong);
    pointer-events: none;
  }

  html[data-ws-hero="stage"] .re-experience .ws-acts::after {
    background: var(--ws-accent-fill, var(--ws-accent-strong));
    transform: scaleX(var(--ws-hero-progress, 0));
    transform-origin: 0 50%;
  }

  html[data-ws-hero="stage"] .re-experience .ws-acts button {
    position: relative;
    width: 100%;
    min-height: 2.9rem;
    padding: 0.8rem 0.5rem 0 0;
    border-top: 0;
    font-size: 0.78rem;
  }

  /* marca de cota al inicio de cada etapa */
  html[data-ws-hero="stage"] .re-experience .ws-acts button::before {
    content: "";
    position: absolute;
    top: -0.25rem;
    left: 0;
    width: var(--ws-hairline);
    height: 0.5rem;
    background: var(--ws-rule-strong);
  }

  html[data-ws-hero="stage"] .re-experience .ws-acts button[aria-current="step"]::before {
    background: var(--ws-accent-fill, var(--ws-accent-strong));
  }
}

/* ---------- Muelle de acción (móvil): CTA siempre a la mano, lejos de la esquina del asistente ---------- */

.re-experience .ws-dock {
  display: none;
}

@media (max-width: 59.999rem) {
  html.ws-js .re-experience .ws-dock {
    position: fixed;
    z-index: var(--ws-z-dock);
    bottom: max(var(--ws-space-md), env(safe-area-inset-bottom));
    left: max(var(--ws-space-lg), env(safe-area-inset-left));
    display: flex;
    gap: var(--ws-space-xs);
    opacity: 0;
    transform: translate3d(0, 0.75rem, 0);
    visibility: hidden;
    transition:
      opacity var(--ws-dur-short) var(--ws-ease-in),
      transform var(--ws-dur-short) var(--ws-ease-in),
      visibility 0s linear var(--ws-dur-short);
  }

  html.ws-js .re-experience .ws-dock[data-visible="true"] {
    opacity: 1;
    transform: none;
    visibility: visible;
    transition:
      opacity var(--ws-dur-long) var(--ws-ease-out),
      transform var(--ws-dur-long) var(--ws-ease-out),
      visibility 0s;
  }

  .re-experience .ws-dock .web-service-button {
    padding-inline: 1.1rem;
    box-shadow: 0 0.5rem 1.5rem var(--ws-shadow);
  }

  .re-experience .ws-dock .web-service-button--secondary {
    width: var(--ws-hit);
    padding: 0;
  }

  .re-experience .ws-dock svg {
    width: 1.3rem;
    height: 1.3rem;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.6;
  }
}

@media (prefers-reduced-motion: reduce) {
  .re-experience .web-service-button,
  .re-experience .ws-chip span,
  .re-experience .ws-icon-button,
  .re-experience .ws-toggle,
  .re-experience .ws-dock {
    transition-duration: 0.01ms !important;
  }
}

/* ==================================================================
   COMPONENTES DE SECCIÓN
   ================================================================== */

/* ---------- Enlace «Saltar al contenido» (primer foco de la página) ---------- */

.re-experience .web-service-skip {
  position: fixed;
  z-index: 1100;
  top: var(--ws-space-sm);
  left: var(--ws-space-sm);
  padding: 0.75rem 1rem;
  border-radius: var(--ws-radius-sm);
  color: var(--ws-accent-ink);
  background: var(--ws-accent-fill, var(--ws-accent));
  font-family: var(--ws-font-body);
  font-size: var(--ws-text-sm);
  font-weight: 600;
  text-decoration: none;
  transform: translate3d(0, -200%, 0);
}

.re-experience .web-service-skip:focus-visible {
  outline: 2px solid var(--ws-focus);
  outline-offset: 3px;
  transform: none;
}

/* ---------- Frase de sección: la idea en una línea, en la tipografía de marca ---------- */

.re-experience main .ws-statement {
  max-width: 30rem;
  color: var(--ws-ink);
  font-family: var(--ws-font-display);
  font-size: var(--ws-text-lg);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.22;
}

/* ---------- Pestañas ----------
   states: default · hover · focus-visible · active · selected · disabled */

.re-experience .ws-tabs {
  display: flex;
  min-width: 0;
}

.re-experience .ws-tabs [role="tab"] {
  position: relative;
  border: 0;
  color: var(--ws-muted);
  background: none;
  font-family: var(--ws-font-body);
  text-align: start;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition:
    color var(--ws-dur-short) var(--ws-ease-out),
    background-color var(--ws-dur-short) var(--ws-ease-out);
}

.re-experience .ws-tabs [role="tab"]:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.re-experience .ws-tabs [role="tab"]:focus-visible {
  outline: 2px solid var(--ws-focus);
  outline-offset: -2px;
}

/* Lista: una regla a la izquierda marca la elegida (no depende solo del color: también cambia el peso) */
.re-experience .ws-tabs--stack {
  flex-direction: column;
  border-top: var(--ws-hairline) solid var(--ws-rule);
}

.re-experience .ws-tabs--stack [role="tab"] {
  display: grid;
  min-height: 3.5rem;
  gap: 0.15rem;
  align-content: center;
  padding: 0.8rem var(--ws-space-md) 0.8rem var(--ws-space-lg);
  border-bottom: var(--ws-hairline) solid var(--ws-rule);
}

.re-experience .ws-tabs--stack [role="tab"]::before {
  content: "";
  position: absolute;
  top: -1px;
  bottom: -1px;
  left: 0;
  width: 2px;
  background: var(--ws-accent-fill, var(--ws-accent-strong));
  transform: scaleY(0);
  transform-origin: 50% 0;
  transition: transform var(--ws-dur-long) var(--ws-ease-out);
}

.re-experience .ws-tabs--stack [role="tab"] strong {
  color: var(--ws-ink);
  font-family: var(--ws-font-display);
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.1;
}

.re-experience .ws-tabs--stack [role="tab"] span {
  font-size: var(--ws-text-sm);
  line-height: 1.4;
}

@media (hover: hover) and (pointer: fine) {
  .re-experience .ws-tabs--stack [role="tab"]:hover {
    background: var(--ws-accent-soft);
  }
}

.re-experience .ws-tabs--stack [role="tab"]:active {
  background: var(--ws-accent-soft);
}

.re-experience .ws-tabs--stack [role="tab"][aria-selected="true"] {
  color: var(--ws-ink);
  background: var(--ws-card);
}

.re-experience .ws-tabs--stack [role="tab"][aria-selected="true"]::before {
  transform: none;
}

.re-experience .ws-tabs--stack [role="tab"][aria-selected="true"] strong {
  color: var(--ws-accent-strong);
}

/* Fila: subrayado bajo la elegida. En teléfono se desliza. */
.re-experience .ws-tabs--row {
  gap: var(--ws-space-lg);
  margin-inline: calc(var(--ws-space-lg) * -1);
  padding-inline: var(--ws-space-lg);
  border-bottom: var(--ws-hairline) solid var(--ws-rule);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-padding-inline: var(--ws-space-lg);
  scrollbar-width: none;
}

.re-experience .ws-tabs--row::-webkit-scrollbar {
  display: none;
}

.re-experience .ws-tabs--row [role="tab"] {
  flex: 0 0 auto;
  min-height: var(--ws-hit);
  padding: 0.6rem 0;
  font-size: var(--ws-text-base);
  font-weight: 500;
  white-space: nowrap;
}

.re-experience .ws-tabs--row [role="tab"]::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  background: var(--ws-accent-fill, var(--ws-accent-strong));
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform var(--ws-dur-long) var(--ws-ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .re-experience .ws-tabs--row [role="tab"]:hover {
    color: var(--ws-ink);
  }
}

.re-experience .ws-tabs--row [role="tab"]:active {
  color: var(--ws-accent-strong);
}

.re-experience .ws-tabs--row [role="tab"][aria-selected="true"] {
  color: var(--ws-ink);
  font-weight: 600;
}

.re-experience .ws-tabs--row [role="tab"][aria-selected="true"]::after {
  transform: none;
}

@media (min-width: 60rem) {
  .re-experience .ws-tabs--row {
    flex-wrap: wrap;
    gap: 0 var(--ws-space-xl);
    margin-inline: 0;
    padding-inline: 0;
    overflow: visible;
  }
}

/* Sin JS las pestañas no hacen nada: se retiran y todos los paneles quedan a la vista */
html:not(.ws-js) .re-experience .ws-tabs {
  display: none;
}

/* ---------- Panel ---------- */

.re-experience .ws-panel {
  display: grid;
  min-width: 0;
  gap: var(--ws-space-sm);
  align-content: start;
}

.re-experience .ws-panel[hidden] {
  display: none;
}

.re-experience .ws-panel:focus-visible {
  outline: 2px solid var(--ws-focus);
  outline-offset: 6px;
}

.re-experience .ws-panel h3 {
  font-size: var(--ws-text-xl);
  letter-spacing: -0.018em;
  line-height: 1.08;
}

.re-experience .ws-panel > p {
  max-width: 36rem;
  color: var(--ws-muted);
  font-size: var(--ws-text-base);
  line-height: 1.6;
}

.re-experience .ws-panel__role {
  margin-inline-start: var(--ws-space-xs);
  color: var(--ws-subtle);
  font-family: var(--ws-font-body);
  font-size: var(--ws-text-xs);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  vertical-align: middle;
  white-space: nowrap;
}

/* el panel recién elegido se «aplica» de izquierda a derecha, como un acabado */
html.ws-js .re-experience .ws-panel.is-entering {
  animation: ws-apply var(--ws-dur-long) var(--ws-ease-out) both;
}

@keyframes ws-apply {
  from { clip-path: inset(0 100% 0 0); }
  to { clip-path: inset(0 0 0 0); }
}

html:not(.ws-js) .re-experience .ws-panel + .ws-panel {
  margin-top: var(--ws-space-xl);
}

.re-experience .ws-panel__result {
  display: grid;
  gap: var(--ws-space-2xs);
  margin-top: var(--ws-space-sm);
  padding-top: var(--ws-space-md);
  border-top: var(--ws-hairline) solid var(--ws-rule);
}

.re-experience .ws-panel__result span {
  color: var(--ws-subtle);
  font-size: var(--ws-text-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.re-experience .ws-panel__result strong {
  color: var(--ws-ink);
  font-family: var(--ws-font-display);
  font-size: var(--ws-text-lg);
  font-weight: 500;
  line-height: 1.2;
}

.re-experience .ws-panel--goal h3 {
  max-width: 22ch;
  font-size: var(--ws-text-2xl);
}

/* ---------- Listas ---------- */

.re-experience .ws-chips,
.re-experience .ws-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--ws-space-xs);
}

.re-experience .ws-chips li {
  padding: 0.4rem 0.7rem;
  border: var(--ws-hairline) solid var(--ws-rule-strong);
  border-radius: var(--ws-radius-sm);
  color: var(--ws-ink);
  background: var(--ws-card);
  font-size: var(--ws-text-sm);
  line-height: 1.2;
}

.re-experience .ws-tags li {
  color: var(--ws-subtle);
  font-size: var(--ws-text-sm);
  line-height: 1.4;
}

.re-experience .ws-tags li:not(:last-child)::after {
  content: "·";
  margin-inline-start: var(--ws-space-xs);
  color: var(--ws-rule-strong);
}

.re-experience .ws-checks {
  display: grid;
  gap: var(--ws-space-xs);
}

.re-experience .ws-checks li {
  position: relative;
  padding-inline-start: 1.6rem;
  color: var(--ws-ink);
  font-size: var(--ws-text-base);
  line-height: 1.5;
}

/* marca de cota: una línea corta, como en un plano */
.re-experience .ws-checks li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 0.9rem;
  height: var(--ws-hairline);
  background: var(--ws-accent-fill, var(--ws-accent-strong));
}

.re-experience .ws-scope {
  display: grid;
}

.re-experience .ws-scope li {
  padding: 0.55rem 0;
  border-top: var(--ws-hairline) solid var(--ws-rule);
  color: var(--ws-ink);
  font-size: var(--ws-text-base);
  line-height: 1.45;
}

.re-experience .ws-scope li:first-child {
  padding-top: 0;
  border-top: 0;
}

/* ---------- Botón discreto y conmutador ----------
   states: default · hover · focus-visible · active · pressed · disabled */

.re-experience .ws-button-quiet,
.re-experience .ws-switch button {
  display: inline-flex;
  min-height: var(--ws-hit);
  align-items: center;
  justify-content: center;
  padding: 0 1rem;
  border: var(--ws-hairline) solid var(--ws-rule-strong);
  border-radius: var(--ws-radius-sm);
  color: var(--ws-ink);
  background: var(--ws-card);
  font-family: var(--ws-font-body);
  font-size: var(--ws-text-sm);
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition:
    border-color var(--ws-dur-short) var(--ws-ease-out),
    background-color var(--ws-dur-short) var(--ws-ease-out),
    color var(--ws-dur-short) var(--ws-ease-out),
    transform var(--ws-dur-micro) var(--ws-ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .re-experience .ws-button-quiet:hover,
  .re-experience .ws-switch button:hover {
    border-color: var(--ws-accent-line, var(--ws-accent));
  }
}

.re-experience .ws-button-quiet:active,
.re-experience .ws-switch button:active {
  transform: translate3d(0, 1px, 0);
}

.re-experience .ws-button-quiet:focus-visible,
.re-experience .ws-switch button:focus-visible {
  outline: 2px solid var(--ws-focus);
  outline-offset: 3px;
}

.re-experience .ws-button-quiet:disabled,
.re-experience .ws-switch button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.re-experience .ws-button-quiet[aria-pressed="true"] {
  border-color: var(--ws-accent-line, var(--ws-accent-strong));
  color: var(--ws-accent-strong);
  background: var(--ws-accent-soft);
}

.re-experience .ws-button-quiet[hidden] {
  display: none;
}

.re-experience .ws-switch {
  display: inline-flex;
}

.re-experience .ws-switch button + button {
  margin-inline-start: -1px;
  border-start-start-radius: 0;
  border-end-start-radius: 0;
}

.re-experience .ws-switch button:first-child {
  border-start-end-radius: 0;
  border-end-end-radius: 0;
}

.re-experience .ws-switch button[aria-pressed="true"] {
  z-index: 1;
  border-color: var(--ws-accent-line, var(--ws-accent-strong));
  color: var(--ws-accent-ink);
  background: var(--ws-accent-fill, var(--ws-accent));
}

/* ---------- Nota desplegable ---------- */

.re-experience .ws-note {
  max-width: 38rem;
  border-top: var(--ws-hairline) solid var(--ws-rule);
  border-bottom: var(--ws-hairline) solid var(--ws-rule);
}

.re-experience .ws-note summary {
  display: flex;
  min-height: var(--ws-hit);
  align-items: center;
  justify-content: space-between;
  gap: var(--ws-space-md);
  color: var(--ws-ink);
  font-size: var(--ws-text-base);
  font-weight: 600;
  list-style: none;
  cursor: pointer;
}

.re-experience .ws-note summary::-webkit-details-marker {
  display: none;
}

.re-experience .ws-note summary::after {
  content: "+";
  color: var(--ws-accent-strong);
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1;
}

.re-experience .ws-note[open] summary::after {
  content: "−";
}

.re-experience .ws-note summary:focus-visible {
  outline: 2px solid var(--ws-focus);
  outline-offset: 3px;
}

.re-experience .ws-note p {
  padding-bottom: var(--ws-space-md);
  color: var(--ws-muted);
  font-size: var(--ws-text-base);
  line-height: 1.6;
}

/* ---------- Proceso ---------- */

.re-experience .ws-process__n {
  color: var(--ws-subtle);
  font-size: var(--ws-text-sm);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.08em;
  transition: color var(--ws-dur-long) var(--ws-ease-out);
}

.re-experience .ws-process__steps h3 {
  font-size: 1.55rem;
  letter-spacing: -0.015em;
  line-height: 1.1;
}

.re-experience .ws-process__steps p {
  color: var(--ws-muted);
  font-size: var(--ws-text-base);
  line-height: 1.5;
}

.re-experience .ws-process__steps li.is-reached .ws-process__n {
  color: var(--ws-accent-strong);
}

/* marca de cada etapa sobre el hilo */
.re-experience .ws-process__dot {
  position: absolute;
  top: 0.45rem;
  left: 2.05rem;
  width: 0.5rem;
  height: 0.5rem;
  border: var(--ws-hairline) solid var(--ws-rule-strong);
  border-radius: 50%;
  background: var(--ws-paper-2);
  transition: background-color var(--ws-dur-long) var(--ws-ease-out), border-color var(--ws-dur-long) var(--ws-ease-out);
}

.re-experience .ws-process__steps li.is-reached .ws-process__dot {
  border-color: var(--ws-accent-line, var(--ws-accent-strong));
  background: var(--ws-accent-fill, var(--ws-accent-strong));
}

.re-experience .ws-process__thread {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.re-experience .ws-process__thread path {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.re-experience .ws-process__thread-base {
  stroke: var(--ws-rule-strong);
  stroke-width: 1;
}

.re-experience .ws-process__thread-fill {
  stroke: var(--ws-accent-strong);
  stroke-width: 1.5;
  stroke-dasharray: 1;
  stroke-dashoffset: calc(1 - var(--ws-thread, 0));
}

@media (min-width: 60rem) {
  .re-experience .ws-process__dot {
    top: 1.75rem;
    left: 0;
  }
}


/* ---------- Recorrido del visitante ---------- */

.re-experience .ws-journey__steps li {
  display: grid;
  min-width: 0;
  gap: var(--ws-space-2xs);
  align-content: center;
}

.re-experience .ws-journey__steps strong {
  color: var(--ws-ink);
  font-family: var(--ws-font-display);
  font-size: 1.7rem;
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.1;
}

.re-experience .ws-journey__steps p {
  max-width: 22rem;
  color: var(--ws-muted);
  font-size: var(--ws-text-base);
  line-height: 1.5;
}

.re-experience .ws-journey__figure figcaption {
  display: grid;
  gap: var(--ws-space-xs);
  padding-top: var(--ws-space-md);
  border-top: var(--ws-hairline) solid var(--ws-rule);
}

.re-experience .ws-journey__promise {
  color: var(--ws-ink);
  font-family: var(--ws-font-display);
  font-size: var(--ws-text-lg);
  line-height: 1.25;
}

.re-experience .ws-journey__disclaimer {
  color: var(--ws-subtle);
  font-size: var(--ws-text-sm);
}

@media (min-width: 60rem) {
  .re-experience .ws-journey__steps li {
    align-content: start;
  }

  .re-experience .ws-journey__figure figcaption {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: baseline;
    column-gap: var(--ws-space-lg);
  }
}

/* ---------- Recorridos 360 ---------- */

.re-experience .ws-pano {
  position: relative;
  min-width: 0;
}

/* los controles existen solo cuando hay panorama que girar */
.re-experience .ws-pano__controls {
  position: absolute;
  z-index: 4;
  bottom: 3.6rem;
  left: var(--ws-space-sm);
  display: none;
  flex-wrap: wrap;
  gap: var(--ws-space-xs);
}

.re-experience .ws-stage.is-live + .ws-pano__controls {
  display: flex;
}

.re-experience .ws-pano figcaption,
.re-experience .ws-tour figcaption {
  margin-top: var(--ws-space-sm);
  color: var(--ws-subtle);
  font-size: var(--ws-text-sm);
  line-height: 1.5;
}

.re-experience .ws-pano figcaption {
  min-height: 2.6rem;
}

.re-experience .ws-tour__copy {
  display: grid;
  min-width: 0;
  gap: var(--ws-space-md);
}

.re-experience .ws-tour__label {
  color: var(--ws-accent-strong);
  font-size: var(--ws-text-xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.re-experience .ws-tour__copy h3 {
  font-size: var(--ws-text-xl);
  letter-spacing: -0.018em;
  line-height: 1.08;
}

.re-experience .ws-tour__copy > p:not(.ws-tour__label) {
  color: var(--ws-muted);
  font-size: var(--ws-text-base);
  line-height: 1.6;
}

.re-experience .ws-tour__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: var(--ws-hairline) solid var(--ws-rule-strong);
  border-radius: var(--ws-radius-md);
  background: var(--ws-card);
}

.re-experience .ws-tour__media :is(img, iframe) {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
}

/* states: default · hover · focus-visible · active · pressed */
.re-experience .ws-tour__play {
  position: absolute;
  z-index: 2;
  bottom: var(--ws-space-md);
  left: var(--ws-space-md);
  display: inline-flex;
  min-height: var(--ws-hit);
  align-items: center;
  gap: var(--ws-space-sm);
  padding: 0 1.1rem 0 0.9rem;
  border: var(--ws-hairline) solid var(--ws-rule-strong);
  border-radius: var(--ws-radius-pill);
  color: var(--ws-ink);
  background: var(--ws-scrim);
  font-size: var(--ws-text-sm);
  font-weight: 600;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: border-color var(--ws-dur-short) var(--ws-ease-out), transform var(--ws-dur-micro) var(--ws-ease-out);
}

.re-experience .ws-tour__play span {
  width: 0;
  height: 0;
  border-block: 0.38rem solid transparent;
  border-inline-start: 0.62rem solid var(--ws-accent-strong);
}

.re-experience .ws-tour__play[aria-pressed="true"] span {
  width: 0.62rem;
  height: 0.62rem;
  border: 0;
  background: var(--ws-accent-fill, var(--ws-accent-strong));
}

@media (hover: hover) and (pointer: fine) {
  .re-experience .ws-tour__play:hover {
    border-color: var(--ws-accent-line, var(--ws-accent));
  }
}

.re-experience .ws-tour__play:active {
  transform: translate3d(0, 1px, 0);
}

.re-experience .ws-tour__play:focus-visible {
  outline: 2px solid var(--ws-focus);
  outline-offset: 3px;
}

.re-experience .ws-tour figcaption {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--ws-space-xs) var(--ws-space-md);
}


/* ---------- Preguntas ---------- */

.re-experience .ws-faq__list {
  border-top: var(--ws-hairline) solid var(--ws-rule-strong);
}

.re-experience .ws-faq__list details {
  border-bottom: var(--ws-hairline) solid var(--ws-rule);
}

/* states: default · hover · focus-visible · active · open */
.re-experience .ws-faq__list summary {
  display: flex;
  min-height: 4rem;
  align-items: center;
  justify-content: space-between;
  gap: var(--ws-space-lg);
  padding-block: var(--ws-space-md);
  list-style: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.re-experience .ws-faq__list summary::-webkit-details-marker {
  display: none;
}

.re-experience .ws-faq__list summary h3 {
  font-size: 1.5rem;
  letter-spacing: -0.012em;
  line-height: 1.15;
  transition: color var(--ws-dur-short) var(--ws-ease-out);
}

.re-experience .ws-faq__list summary i {
  position: relative;
  flex: 0 0 auto;
  width: 1rem;
  height: 1rem;
}

.re-experience .ws-faq__list summary i::before,
.re-experience .ws-faq__list summary i::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: var(--ws-hairline);
  background: var(--ws-accent-fill, var(--ws-accent-strong));
  transition: transform var(--ws-dur-long) var(--ws-ease-out);
}

.re-experience .ws-faq__list summary i::after {
  transform: rotate(90deg);
}

.re-experience .ws-faq__list details[open] summary i::after {
  transform: none;
}

@media (hover: hover) and (pointer: fine) {
  .re-experience .ws-faq__list summary:hover h3 {
    color: var(--ws-accent-strong);
  }
}

.re-experience .ws-faq__list summary:active h3,
.re-experience .ws-faq__list details[open] summary h3 {
  color: var(--ws-accent-strong);
}

.re-experience .ws-faq__list summary:focus-visible {
  outline: 2px solid var(--ws-focus);
  outline-offset: 3px;
}

.re-experience .ws-faq__answer {
  max-width: 40rem;
  padding-bottom: var(--ws-space-lg);
}

.re-experience .ws-faq__answer p {
  color: var(--ws-muted);
  font-size: var(--ws-text-md);
  line-height: 1.6;
}

/* ---------- Cierre ---------- */

.re-experience .ws-final__copy > p:not(.ws-statement) {
  color: var(--ws-muted);
  font-size: var(--ws-text-md);
  line-height: 1.6;
}

.re-experience .ws-final__copy .ws-statement {
  color: var(--ws-accent-strong);
}

.re-experience .ws-final__signals {
  display: flex;
  flex-wrap: wrap;
  gap: var(--ws-space-xs) var(--ws-space-lg);
  margin-block: var(--ws-space-xs) var(--ws-space-sm);
}

.re-experience .ws-final__signals li {
  position: relative;
  padding-inline-start: 1.4rem;
  color: var(--ws-ink);
  font-size: var(--ws-text-base);
  line-height: 1.5;
}

.re-experience .ws-final__signals li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 0.8rem;
  height: var(--ws-hairline);
  background: var(--ws-accent-fill, var(--ws-accent-strong));
}

/* ==================================================================
   COMPONENTES DE ESTA PÁGINA
   ================================================================== */

/* ---------- Indicación del último acto del hero ---------- */

.re-experience .ws-hero__hint {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  color: var(--ws-accent-strong);
  font-size: var(--ws-text-xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.re-experience .ws-hero[data-phase="final"][data-look="ready"] .ws-hero__hint {
  position: static;
  display: inline-flex;
  width: auto;
  height: auto;
  align-items: center;
  gap: var(--ws-space-sm);
  overflow: visible;
  clip-path: none;
}

.re-experience .ws-hero[data-phase="final"][data-look="ready"] .ws-hero__hint::before {
  content: "";
  width: 1.4rem;
  height: var(--ws-hairline);
  background: var(--ws-accent-fill, var(--ws-accent-strong));
}

/* ---------- Tablas comparativas ----------
   Escritorio: tabla de tres columnas. Teléfono: cada fila se vuelve una tarjeta con sus rótulos. */

.re-experience .ws-compare {
  width: 100%;
  border-collapse: collapse;
  border-top: var(--ws-hairline) solid var(--ws-rule-strong);
}

.re-experience .ws-compare thead th {
  padding: var(--ws-space-md) var(--ws-space-md) var(--ws-space-sm) 0;
  color: var(--ws-subtle);
  font-size: var(--ws-text-xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-align: start;
  text-transform: uppercase;
}

.re-experience .ws-compare thead th:last-child {
  color: var(--ws-accent-strong);
}

.re-experience .ws-compare tbody th {
  width: 28%;
  padding: var(--ws-space-md) var(--ws-space-md) var(--ws-space-md) 0;
  border-top: var(--ws-hairline) solid var(--ws-rule);
  color: var(--ws-ink);
  font-family: var(--ws-font-display);
  font-size: 1.45rem;
  font-weight: 500;
  letter-spacing: -0.012em;
  line-height: 1.15;
  text-align: start;
  vertical-align: top;
}

.re-experience .ws-compare tbody td {
  padding: var(--ws-space-md) var(--ws-space-md) var(--ws-space-md) 0;
  border-top: var(--ws-hairline) solid var(--ws-rule);
  color: var(--ws-muted);
  font-size: var(--ws-text-base);
  line-height: 1.5;
  vertical-align: top;
}

/* la columna del recorrido lleva una regla de acento: el estado «bueno» no depende solo del color */
.re-experience .ws-compare tbody td:last-child {
  padding-inline-start: var(--ws-space-lg);
  color: var(--ws-ink);
  box-shadow: inset 2px 0 0 var(--ws-accent-strong);
}

@media (max-width: 47.999rem) {
  .re-experience .ws-compare,
  .re-experience .ws-compare tbody {
    display: block;
  }

  .re-experience .ws-compare thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }

  .re-experience .ws-compare tbody tr {
    display: grid;
    gap: var(--ws-space-sm);
    padding-block: var(--ws-space-lg);
    border-top: var(--ws-hairline) solid var(--ws-rule);
  }

  .re-experience .ws-compare tbody th,
  .re-experience .ws-compare tbody td {
    display: block;
    width: auto;
    padding: 0;
    border-top: 0;
  }

  .re-experience .ws-compare tbody td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: var(--ws-space-3xs);
    color: var(--ws-subtle);
    font-size: var(--ws-text-xs);
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }

  .re-experience .ws-compare tbody td:last-child {
    padding-inline-start: var(--ws-space-md);
  }
}

/* Comparación de propiedad: el recorrido propio se «enciende» al llegar */
html.ws-js .re-experience .ws-compare--own tbody td:last-child {
  box-shadow: inset 2px 0 0 transparent;
  transition: box-shadow 700ms var(--ws-ease-out);
}

html.ws-js .re-experience .ws-compare--own.is-revealed tbody td:last-child {
  box-shadow: inset 2px 0 0 var(--ws-accent-strong);
}

html.ws-js .re-experience .ws-compare--own.is-revealed tbody tr:nth-child(2) td:last-child { transition-delay: 90ms; }
html.ws-js .re-experience .ws-compare--own.is-revealed tbody tr:nth-child(3) td:last-child { transition-delay: 180ms; }
html.ws-js .re-experience .ws-compare--own.is-revealed tbody tr:nth-child(4) td:last-child { transition-delay: 270ms; }
html.ws-js .re-experience .ws-compare--own.is-revealed tbody tr:nth-child(5) td:last-child { transition-delay: 360ms; }

/* ---------- Recursos ----------
   states: default · hover · focus-visible · active */

.re-experience .ws-resource {
  position: relative;
  display: grid;
  min-height: 100%;
  gap: var(--ws-space-xs);
  align-content: start;
  padding: var(--ws-space-lg) calc(var(--ws-space-lg) + 1.4rem) var(--ws-space-lg) var(--ws-space-lg);
  border: var(--ws-hairline) solid var(--ws-rule-strong);
  border-radius: var(--ws-radius-sm);
  color: var(--ws-ink);
  background: var(--ws-card);
  text-decoration: none;
  transition:
    border-color var(--ws-dur-short) var(--ws-ease-out),
    background-color var(--ws-dur-short) var(--ws-ease-out),
    transform var(--ws-dur-micro) var(--ws-ease-out);
}

.re-experience .ws-resource__kind {
  color: var(--ws-accent-strong);
  font-size: var(--ws-text-xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.re-experience .ws-resource strong {
  font-family: var(--ws-font-display);
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: -0.012em;
  line-height: 1.15;
}

.re-experience .ws-resource__text {
  color: var(--ws-muted);
  font-size: var(--ws-text-base);
  line-height: 1.5;
}

/* flecha: dos trazos, sin icono externo */
.re-experience .ws-resource i {
  position: absolute;
  top: var(--ws-space-lg);
  right: var(--ws-space-lg);
  width: 0.9rem;
  height: 0.9rem;
  border-top: 1.5px solid var(--ws-accent-line, var(--ws-accent-strong));
  border-right: 1.5px solid var(--ws-accent-line, var(--ws-accent-strong));
  transition: transform var(--ws-dur-short) var(--ws-ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .re-experience .ws-resource:hover {
    border-color: var(--ws-accent-line, var(--ws-accent));
    background: var(--ws-accent-soft);
  }

  .re-experience .ws-resource:hover i {
    transform: translate3d(2px, -2px, 0);
  }
}

.re-experience .ws-resource:active {
  transform: translate3d(0, 1px, 0);
}

.re-experience .ws-resource:focus-visible {
  outline: 2px solid var(--ws-focus);
  outline-offset: 3px;
}

/* ---------- Firma del cierre: la planta del hero, trazada ---------- */

.re-experience .ws-final__mark svg {
  width: 100%;
  height: auto;
  overflow: visible;
}

.re-experience .ws-final__mark path {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.re-experience .ws-mark__plot {
  stroke: var(--ws-rule-strong);
  stroke-width: 1;
  stroke-dasharray: 4 4;
}

.re-experience .ws-mark__wall {
  stroke: var(--ws-accent-strong);
  stroke-width: 2;
}

.re-experience .ws-mark__pool {
  stroke: var(--ws-accent);
  stroke-width: 1.25;
  fill: color-mix(in oklch, var(--ws-accent) 22%, transparent);
}

html.ws-js .re-experience .ws-final__mark :is(.ws-mark__wall, .ws-mark__pool) {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 900ms var(--ws-ease-in-out);
  transition-delay: calc(var(--i, 0) * 80ms);
}

html.ws-js .re-experience .ws-final__mark.is-built :is(.ws-mark__wall, .ws-mark__pool) {
  stroke-dashoffset: 0;
}

html.ws-js .re-experience .ws-final__mark .ws-mark__pool {
  fill-opacity: 0;
}

html.ws-js .re-experience .ws-final__mark.is-built .ws-mark__pool {
  fill-opacity: 1;
  transition: stroke-dashoffset 900ms var(--ws-ease-in-out), fill-opacity 700ms var(--ws-ease-out) 1.3s;
  transition-delay: calc(var(--i, 0) * 80ms), 1.3s;
}

@media (max-width: 59.999rem) {
  .re-experience .ws-final__mark {
    max-width: 26rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .re-experience .ws-tabs [role="tab"],
  .re-experience .ws-tabs [role="tab"]::before,
  .re-experience .ws-tabs [role="tab"]::after,
  .re-experience .ws-resource,
  .re-experience .ws-resource i,
  .re-experience .ws-compare td,
  .re-experience .ws-final__mark path,
  .re-experience .ws-process__dot {
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }

  html.ws-js .re-experience .ws-panel.is-entering {
    animation: none;
  }
}

/* Ruta y puntos 360° de la planta de respaldo (la escena 3D hace lo mismo en movimiento) */
.re-experience .ws-mark__route {
  stroke: var(--ws-accent-strong);
  stroke-width: 1.5;
  stroke-dasharray: 0.012 0.01;
}

.re-experience .ws-final__mark circle.ws-mark__node {
  fill: var(--ws-accent-strong);
  stroke: var(--ws-paper-2);
  stroke-width: 1.5;
  vector-effect: non-scaling-stroke;
}

html.ws-js .re-experience .ws-final__mark :is(.ws-mark__route, .ws-mark__node) {
  opacity: 0;
  transition: opacity 600ms var(--ws-ease-out);
  transition-delay: calc(1.5s + var(--i, 0) * 80ms);
}

html.ws-js .re-experience .ws-final__mark.is-built :is(.ws-mark__route, .ws-mark__node) {
  opacity: 1;
}
