/* VIVE · vivienda evolutiva
   La etapa anclada: una columna que permanece, una columna que pasa. */

:root {
  --vv-ink: #0b1218;
  --vv-ink-soft: #59646f;
  --vv-paper: #ffffff;
  --vv-line: #e1e8ec;
  --vv-line-strong: #c3d0d8;
  --vv-cyan: #29abe2;
  --vv-cyan-deep: #1b87b8;
  --vv-cyan-ink: #0f6a8f;
  --vv-on-blue-soft: #e8f4fa;
  --vv-on-cyan: #06222e;
  --vv-on-cyan-soft: #0a3244;

  --vv-gut: clamp(20px, 5vw, 64px);
  --vv-col: clamp(28px, 4.5vw, 80px);
  --vv-mv: clamp(80px, 11vw, 168px);
}

/* ---------- Base ---------- */

.vive-body {
  background: var(--vv-paper);
  color: var(--vv-ink);
  scrollbar-color: var(--vv-line-strong) var(--vv-paper);
}

.v-main {
  overflow-x: clip;
}

.v-main ::selection {
  background: var(--vv-cyan);
  color: var(--vv-on-cyan);
}

.v-main :focus-visible,
.floating-whatsapp:focus-visible {
  outline: 2px solid var(--vv-cyan);
  outline-offset: 3px;
  border-radius: 2px;
}

.vive-body ::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

.vive-body ::-webkit-scrollbar-track {
  background: var(--vv-paper);
}

.vive-body ::-webkit-scrollbar-thumb {
  background: var(--vv-line-strong);
  border: 3px solid var(--vv-paper);
  border-radius: 99px;
}

.vive-body ::-webkit-scrollbar-thumb:hover {
  background: var(--vv-ink-soft);
}

.contact-form .form-control-plain {
  caret-color: #fff;
}

/* ---------- Movimientos ---------- */

.v-mv {
  padding: var(--vv-mv) 0;
}

.v-mv + .v-mv {
  border-top: 1px solid var(--vv-line);
}

.v-mv-grid {
  display: grid;
  grid-template-columns: minmax(0, 31%) minmax(0, 1fr);
  gap: var(--vv-col);
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--vv-gut);
}

.v-anchor {
  position: sticky;
  top: 40px;
  align-self: start;
}

/* La volanta del brochure deja de flotar sobre un titulo:
   pasa a identificar el movimiento mientras la columna queda anclada. */
.v-anchor-label {
  margin: 0 0 20px;
  padding-top: 12px;
  border-top: 2px solid var(--vv-cyan);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--vv-cyan-ink);
}

.v-anchor-title {
  margin: 0;
  font-size: clamp(2rem, 3.2vw, 3rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.v-anchor-title--accent {
  color: var(--vv-cyan-deep);
}

.v-anchor-lead {
  margin: 24px 0 0;
  max-width: 34ch;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--vv-ink-soft);
}

.v-flow {
  min-width: 0;
}

.v-lead {
  margin: 0 0 clamp(40px, 5vw, 72px);
  max-width: 46ch;
  font-size: clamp(1.25rem, 1.9vw, 1.7rem);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.02em;
  text-wrap: pretty;
}

/* ---------- Placas fotograficas ---------- */

.v-plate {
  position: relative;
  margin: 0 0 clamp(36px, 4.5vw, 64px);
}

.v-plate img {
  width: 100%;
  height: clamp(280px, 40vw, 520px);
  object-fit: cover;
}

/* ---------- Fila de datos: columnas fijas, valores variables ---------- */

.v-datarow {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  gap: 1px;
  margin: 0;
  background: var(--vv-line);
  border-top: 1px solid var(--vv-line);
  border-bottom: 1px solid var(--vv-line);
}

.v-datarow > div {
  background: var(--vv-paper);
  padding: 16px 0 18px;
  padding-inline-end: 20px;
}

.v-datarow > div + div {
  padding-inline-start: 24px;
}

.v-datarow dt {
  margin-bottom: 6px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--vv-ink-soft);
}

.v-datarow dd {
  margin: 0;
  font-size: clamp(0.95rem, 1.35vw, 1.15rem);
  font-weight: 700;
  letter-spacing: -0.015em;
  font-variant-numeric: tabular-nums;
}

.v-datarow--plate {
  border-bottom: 0;
}

/* ---------- Indice de ambientes ---------- */

.v-index-head,
.v-opts-head {
  margin: 0 0 4px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--vv-ink);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.v-index-list {
  margin: 0;
}

.v-index-row {
  display: grid;
  grid-template-columns: minmax(0, 15rem) minmax(0, 1fr);
  gap: 8px var(--vv-col);
  align-items: baseline;
  padding: 22px 0;
  border-bottom: 1px solid var(--vv-line);
}

.v-index-row dt {
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.v-index-row:last-child,
.v-spec-row:last-child {
  border-bottom: 0;
}

.v-index-row dd {
  margin: 0;
  max-width: 52ch;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--vv-ink-soft);
}

/* ---------- Nota de superficies ---------- */

.v-note {
  margin-top: clamp(40px, 5vw, 72px);
  padding-top: 22px;
  border-top: 1px solid var(--vv-line);
}

.v-note-term {
  margin: 0 0 10px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--vv-ink-soft);
}

.v-note-value {
  margin: 0 0 8px;
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  font-variant-numeric: tabular-nums;
}

.v-note-fine,
.v-fine {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.55;
  color: var(--vv-ink-soft);
  font-variant-numeric: tabular-nums;
}

/* ---------- Apertura ---------- */

.v-open {
  position: relative;
  min-height: clamp(600px, 92vh, 860px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--vv-ink);
  border-top: 6px solid var(--vv-cyan);
}

.v-open-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 62%;
}

.v-open-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 12, 18, 0.55) 0%, rgba(6, 12, 18, 0.1) 32%, rgba(6, 12, 18, 0.82) 78%, rgba(6, 12, 18, 0.94) 100%);
}

.v-open-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--vv-gut) clamp(40px, 6vh, 72px);
  color: #fff;
}

/* Anclado al borde superior del hero, no al bloque de texto de abajo:
   con un top negativo se metia detras del navbar en pantallas altas. */
.v-open-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2;
  display: flex;
  justify-content: flex-end;
  max-width: 1440px;
  margin: 0 auto;
  padding: clamp(22px, 4vh, 52px) var(--vv-gut) 0;
}

.v-open-mark {
  width: clamp(112px, 12vw, 178px);
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.55)) drop-shadow(0 10px 26px rgba(0, 0, 0, 0.4));
}

.v-open-title {
  margin: 0 0 18px;
  font-size: clamp(2.9rem, 8.2vw, 6rem);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.045em;
  text-transform: uppercase;
}

.v-open-title span {
  display: block;
  font-size: 0.36em;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1;
  margin-bottom: 0.5em;
  color: rgba(255, 255, 255, 0.75);
}

.v-open-sub {
  margin: 0 0 clamp(28px, 4vh, 46px);
  max-width: 40ch;
  font-size: clamp(1.05rem, 1.8vw, 1.4rem);
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.93);
}

.v-datarow--open {
  max-width: 640px;
  gap: 0;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.28);
}

.v-datarow--open > div {
  background: transparent;
  padding-block: 14px 16px;
}

.v-datarow--open > div + div {
  border-left: 1px solid rgba(255, 255, 255, 0.28);
  padding-inline-start: 24px;
}

.v-datarow--open dt {
  color: rgba(255, 255, 255, 0.72);
}

.v-datarow--open dd {
  color: #fff;
}

@media (prefers-reduced-motion: no-preference) {
  .v-open-title,
  .v-open-sub,
  .v-datarow--open {
    animation: vvRise 1s cubic-bezier(0.16, 1, 0.3, 1) backwards;
  }

  .v-open-sub { animation-delay: 90ms; }
  .v-datarow--open { animation-delay: 170ms; }
}

@keyframes vvRise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
}

/* ---------- El plano anclado ---------- */

.v-mv-grid--stages {
  grid-template-columns: minmax(0, 40%) minmax(0, 1fr);
}

.v-mv-intro {
  padding-bottom: clamp(40px, 5vw, 72px);
}

.v-anchor-lead--intro {
  margin-top: 0;
  max-width: 44ch;
}

.v-anchor--stages {
  top: clamp(20px, 4vh, 40px);
}

.v-plan {
  border: 1px solid var(--vv-line);
}

.v-plan-frame {
  position: relative;
  /* Escala comun: las tres plantas comparten caja, asi el crecimiento se mide con el ojo. */
  height: min(62vh, 560px);
  background: var(--vv-paper);
  overflow: hidden;
}

.v-plan-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transform: scale(1.015);
  transition: opacity 620ms cubic-bezier(0.16, 1, 0.3, 1), transform 620ms cubic-bezier(0.16, 1, 0.3, 1);
}

.v-plan-img.is-on {
  opacity: 1;
  transform: none;
}

.v-datarow--plan {
  border-bottom: 0;
}

.v-datarow--plan > div,
.v-datarow--plan > div + div {
  padding-inline: 16px;
}

.v-datarow--plan dd {
  transition: opacity 260ms ease;
}

.v-plan.is-swapping .v-datarow--plan dd {
  opacity: 0;
}

/* ---------- Etapas ---------- */

.v-flow--stages {
  display: grid;
  gap: clamp(48px, 7vh, 88px);
  align-content: start;
}

/* El unico corte que sigue pidiendo aire es el cambio de bloque. */
.v-opts {
  margin-top: calc(clamp(48px, 7vh, 88px) * -1 + 18px);
  padding-inline-start: 4.5rem;
}

@media (max-width: 575px) {
  .v-opts {
    padding-inline-start: 0;
  }
}

/* La definitiva lleva su ficha adentro de la etapa. */
.v-final {
  grid-column: 2;
  margin: 18px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--vv-line);
}

.v-stage.is-live .v-final {
  border-top-color: rgba(255, 255, 255, 0.35);
}

.v-final > div {
  display: grid;
  grid-template-columns: minmax(0, 8.5rem) minmax(0, 1fr);
  gap: 4px var(--vv-col);
  align-items: baseline;
}

.v-final dt {
  font-size: clamp(1.15rem, 1.7vw, 1.45rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  font-variant-numeric: tabular-nums;
  color: var(--vv-cyan-ink);
}

.v-final dd {
  margin: 0;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--vv-ink-soft);
}

.v-stage.is-live .v-final dt {
  color: #fff;
}

.v-stage.is-live .v-final dd {
  color: var(--vv-on-blue-soft);
}

@media (max-width: 575px) {
  .v-final {
    grid-column: 1;
  }

  .v-final > div {
    grid-template-columns: minmax(0, 1fr);
  }
}

.v-stage {
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1fr);
  gap: 0 var(--vv-col);
  align-items: start;
  align-content: start;
  /* El relleno vive siempre: animar padding provoca reflujo. */
  padding: 22px 24px 26px;
  margin-inline: -24px;
  border-top: 1px solid var(--vv-line);
  cursor: pointer;
  transition: background-color 260ms ease, border-color 420ms ease, color 260ms ease;
}

/* Se pueden mirar con el mouse y fijar con un click. */
.v-stage:hover:not(.is-live),
.v-stage:focus-visible:not(.is-live) {
  background: #f2f8fb;
  border-top-color: var(--vv-line-strong);
}

.v-stage.is-live {
  background: var(--vv-cyan-ink);
  border-top-color: var(--vv-cyan-ink);
}

.v-stage.is-live .v-stage-title {
  color: #fff;
}

.v-stage.is-live .v-stage-text {
  color: var(--vv-on-blue-soft);
}

.v-stage-num {
  margin: 0;
  font-size: clamp(1.6rem, 2.4vw, 2.3rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
  color: var(--vv-ink-soft);
  transition: color 420ms ease;
}

.v-stage.is-live .v-stage-num {
  color: #fff;
}

.v-stage-title,
.v-stage-text {
  grid-column: 2;
}

.v-stage-title {
  margin: 0 0 10px;
  font-size: clamp(1.5rem, 2.6vw, 2.3rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.035em;
}

.v-stage-text {
  margin: 0;
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  line-height: 1.5;
  color: var(--vv-ink-soft);
  font-variant-numeric: tabular-nums;
}

/* ---------- Posibilidades de ampliacion ---------- */

.v-opts-list {
  list-style: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.v-opts-list li + li {
  border-top: 1px solid var(--vv-line);
}

.v-opt {
  display: grid;
  grid-template-columns: minmax(0, 8.5rem) minmax(0, 1fr);
  gap: 6px var(--vv-col);
  align-items: baseline;
  width: 100%;
  /* Mismo respiro que las etapas: el fondo sangra y el numero no queda pegado. */
  padding: 20px 24px;
  margin-inline: -24px;
  border: 0;
  background: transparent;
  text-align: left;
  color: inherit;
  cursor: pointer;
  transition: background-color 260ms ease;
}

.v-opt-size {
  font-size: clamp(1.15rem, 1.7vw, 1.45rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  font-variant-numeric: tabular-nums;
  color: var(--vv-cyan-ink);
  transition: color 260ms ease;
}

.v-opt-text {
  font-size: 1rem;
  line-height: 1.5;
  color: var(--vv-ink-soft);
  transition: color 260ms ease;
}

.v-opt:hover {
  background: #f2f8fb;
}

.v-opt[aria-pressed="true"],
.v-opt.is-live {
  background: var(--vv-cyan);
}

.v-opt[aria-pressed="true"] .v-opt-size,
.v-opt.is-live .v-opt-size {
  color: var(--vv-on-cyan);
}

.v-opt[aria-pressed="true"] .v-opt-text,
.v-opt.is-live .v-opt-text {
  color: var(--vv-on-cyan-soft);
}

.v-fine {
  padding-top: 20px;
  border-top: 1px solid var(--vv-line);
}

/* ---------- Una casa viva ---------- */

.v-viva {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  border-top: 1px solid var(--vv-line);
}

.v-viva-shot {
  position: relative;
  margin: 0;
  min-height: clamp(320px, 42vw, 560px);
}

.v-viva-shot img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.v-viva-shot figcaption {
  position: absolute;
  left: clamp(16px, 2vw, 28px);
  bottom: clamp(16px, 2vw, 28px);
  z-index: 1;
  padding: 7px 14px;
  background: rgba(6, 12, 18, 0.72);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.v-viva-shot--base {
  grid-column: 1 / -1;
}

.v-viva-field {
  display: flex;
  align-items: center;
  background: var(--vv-cyan);
  color: var(--vv-on-cyan);
  padding: clamp(40px, 6vw, 88px) clamp(24px, 5vw, 80px);
}

.v-viva-copy {
  max-width: 34rem;
}

.v-anchor-label--on-field {
  border-top-color: var(--vv-on-cyan);
  color: var(--vv-on-cyan);
}

.v-viva-title {
  margin: 0 0 22px;
  font-size: clamp(1.7rem, 3vw, 2.7rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.v-viva-text {
  margin: 0 0 30px;
  max-width: 42ch;
  font-size: clamp(1rem, 1.3vw, 1.12rem);
  line-height: 1.55;
  color: var(--vv-on-cyan-soft);
}

.v-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.v-tags li {
  padding: 9px 18px;
  border: 1px solid var(--vv-on-cyan);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ---------- Confort ---------- */

.v-plate--wide img {
  height: clamp(260px, 34vw, 460px);
}

.v-spec {
  margin: 0;
  border-top: 1px solid var(--vv-ink);
}

.v-spec-row {
  display: grid;
  grid-template-columns: minmax(0, 17rem) minmax(0, 1fr);
  gap: 6px var(--vv-col);
  align-items: baseline;
  padding: 20px 0;
  border-bottom: 1px solid var(--vv-line);
}

.v-spec-row dt {
  font-size: clamp(0.95rem, 1.25vw, 1.08rem);
  font-weight: 700;
}

.v-spec-row dd {
  margin: 0;
  max-width: 56ch;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--vv-ink-soft);
}

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

.v-close {
  position: relative;
  overflow: hidden;
  background: var(--vv-ink);
  border-top: 6px solid var(--vv-cyan);
}

.v-close-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 50%;
}

.v-close-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 12, 18, 0.62) 0%, rgba(6, 12, 18, 0.82) 40%, rgba(6, 12, 18, 0.94) 100%);
}

.v-close-inner {
  position: relative;
  z-index: 2;
  max-width: 1440px;
  margin: 0 auto;
  padding: clamp(64px, 9vw, 132px) var(--vv-gut) clamp(72px, 10vw, 140px);
  color: #fff;
}

.v-close-mark {
  width: clamp(112px, 12vw, 168px);
  margin-bottom: clamp(44px, 7vw, 96px);
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.55)) drop-shadow(0 10px 26px rgba(0, 0, 0, 0.4));
}

.v-close-title {
  margin: 0 0 26px;
  font-size: clamp(2.1rem, 3.6vw, 3.5rem);
  font-weight: 800;
  line-height: 0.94;
  letter-spacing: -0.045em;
  text-transform: uppercase;
}

.v-close-title span {
  display: block;
  font-size: 0.3em;
  font-weight: 600;
  letter-spacing: -0.005em;
  line-height: 1;
  margin-bottom: 0.6em;
  color: rgba(255, 255, 255, 0.75);
}

.v-close-grid {
  display: grid;
  /* El formulario tiene ancho propio; la copia se queda con el resto. */
  grid-template-columns: minmax(0, 1fr) minmax(300px, 470px);
  gap: clamp(40px, 5vw, 88px);
  align-items: start;
}

.v-close-text {
  margin: 0 0 30px;
  max-width: 40ch;
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.93);
}

.v-facts {
  display: grid;
  gap: 14px;
  list-style: none;
  margin: 0 0 clamp(30px, 4vw, 44px);
  padding: 20px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.26);
}

.v-facts li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.94);
  font-variant-numeric: tabular-nums;
}

.v-check {
  flex: 0 0 auto;
  width: 19px;
  height: 19px;
  color: var(--vv-cyan);
}

.v-close-form {
  padding: clamp(24px, 2.6vw, 40px);
  background: rgba(7, 14, 20, 0.86);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.v-form-intro {
  margin: 0 0 24px;
  font-size: 0.98rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.88);
}

.v-form-intro b {
  color: #fff;
}

.v-send {
  width: 100%;
  padding: 17px 30px;
  border: 0;
  border-radius: 999px;
  background: var(--vv-cyan);
  color: var(--vv-on-cyan);
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background-color 220ms ease, color 220ms ease;
}

.v-send:hover,
.v-send:focus-visible {
  background: #fff;
  color: var(--vv-ink);
}

.v-act {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 30px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  color: #fff;
  transition: background-color 220ms ease, color 220ms ease, border-color 220ms ease;
}

.v-act-icon {
  flex: 0 0 auto;
  width: 19px;
  height: 19px;
}

.v-act--wa {
  background: #25d366;
  border-color: #25d366;
  color: #06220f;
}

.v-act--wa:hover,
.v-act--wa:focus-visible {
  background: #1ebe5d;
  border-color: #1ebe5d;
  color: #06220f;
}

.v-act:hover,
.v-act:focus-visible {
  background: #fff;
  border-color: #fff;
  color: var(--vv-ink);
}

/* ---------- Adaptacion ---------- */

@media (max-width: 1023px) {
  .v-mv-grid,
  .v-mv-grid--stages {
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(28px, 5vw, 44px);
  }

  .v-anchor {
    position: static;
  }

  .v-anchor-lead {
    max-width: 52ch;
  }

  /* En una sola columna el plano se ancla arriba, no al costado. */
  .v-anchor--stages .v-plan {
    position: sticky;
    top: 12px;
    z-index: 3;
    background: var(--vv-paper);
    box-shadow: 0 18px 30px -24px rgba(11, 18, 24, 0.55);
  }

  .v-anchor--stages .v-plan-frame {
    height: min(42vh, 360px);
  }

  .v-viva {
    grid-template-columns: minmax(0, 1fr);
  }

  .v-viva-shot--amp {
    min-height: clamp(300px, 62vw, 460px);
  }

  .v-close-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .v-index-row,
  .v-spec-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
  }

  .v-opt {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
  }
}

@media (max-width: 575px) {
  .v-open {
    min-height: 640px;
  }

  .v-datarow--open {
    grid-auto-flow: row;
    border-bottom: 0;
  }

  .v-datarow--open > div + div {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.28);
    padding-inline-start: 0;
  }

  .v-stage {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    padding-inline: 12px;
    margin-inline: -12px;
  }

  .v-stage-title,
  .v-stage-text {
    grid-column: 1;
  }

  .v-stage-num {
    font-size: 1.3rem;
  }

  .v-act {
    width: 100%;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .v-plan-img,
  .v-datarow--plan dd,
  .v-stage,
  .v-stage-num,
  .v-opt,
  .v-opt-size,
  .v-opt-text,
  .v-act {
    transition: none;
  }
}

/* ---------- El flotante se retira donde ya hay un WhatsApp visible ---------- */

.floating-whatsapp {
  transition: opacity 300ms ease, transform 300ms ease, visibility 300ms;
}
