/* =========================================================
   LAVISTA — landing interactiva
   Misma identidad que el sitio principal: crema, tinta, terracota
   ========================================================= */

:root {
  --paper: #F2EDE4;
  --paper-soft: #EBE4D6;
  --stone: #DAD1BE;
  --ink: #161413;
  --night: #14110F;
  --night-2: #221D19;
  --ink-soft: #5F584F;
  --line: rgba(22, 20, 19, 0.14);
  --line-light: rgba(242, 237, 228, 0.16);
  --terracota: #B8612C;
  --terracota-deep: #8C4520;
  --terracota-glow: #D98A55;

  --font-display: "Cormorant Garamond", "Cormorant", Georgia, serif;
  --font-body: "Manrope", -apple-system, system-ui, sans-serif;

  --gutter: clamp(1.25rem, 4.5vw, 3.5rem);
  --section-y: clamp(5rem, 10vw, 9rem);
  --nav-h: 76px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
ul { list-style: none; }

:focus-visible { outline: 2px solid var(--terracota-glow); outline-offset: 3px; }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; top: -100px; left: 1rem; z-index: 100; background: var(--paper); color: var(--ink); padding: 0.75rem 1rem; }
.skip:focus { top: 1rem; }

.wrap { max-width: 80rem; margin-inline: auto; padding-inline: var(--gutter); }

.eyebrow {
  font-size: 0.72rem; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(242, 237, 228, 0.72);
}
.eyebrow.terracota { color: var(--terracota-deep); }

h1, h2, h3 { font-family: var(--font-display); font-weight: 300; line-height: 1.04; letter-spacing: -0.01em; text-wrap: balance; }
h1 em, h2 em { font-style: italic; font-weight: 300; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 48px; padding: 0.8rem 1.5rem; border-radius: 999px; border: 1px solid transparent;
  font-size: 0.74rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; text-decoration: none;
  cursor: pointer; transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.25s var(--ease);
}
.btn:active { transform: scale(0.98); }
.btn-light { background: var(--paper); color: var(--ink); }
.btn-light:hover { background: #fff; }
.btn-accent { background: var(--terracota); color: #fff; }
.btn-accent:hover { background: var(--terracota-deep); }
.btn-ghost { border-color: rgba(242, 237, 228, 0.35); color: var(--paper); }
.btn-ghost:hover { border-color: var(--paper); background: rgba(242, 237, 228, 0.08); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.6; cursor: default; }

/* ---------- Navegación ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--nav-h);
  display: flex; align-items: center; gap: 2rem; padding-inline: var(--gutter);
  color: var(--paper); transition: background 0.4s, backdrop-filter 0.4s;
}
.nav.is-solid { background: rgba(20, 17, 15, 0.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.nav-logo img { height: 40px; width: auto; }
.nav-links { display: flex; gap: 2rem; margin-left: auto; }
.nav-links a {
  font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; text-decoration: none;
  padding: 0.9rem 0; opacity: 0.85; transition: opacity 0.2s;
}
.nav-links a:hover { opacity: 1; }
.nav-cta { min-height: 42px; padding: 0.6rem 1.2rem; }

/* ---------- Portada ---------- */
.hero {
  --hero-h: max(100svh, 640px);
  position: relative; height: var(--hero-h); overflow: hidden; background: var(--night); color: var(--paper);
}
.hero-art {
  position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: max(100%, calc(var(--hero-h) * 1.7785)); aspect-ratio: 1750 / 984;
}
.hero-art picture, .hero-art img { width: 100%; height: 100%; }
.hero-art img { object-fit: cover; animation: heroIn 2.4s var(--ease) both; }
@keyframes heroIn { from { transform: scale(1.05); } }

.hero-map { position: absolute; inset: 0; width: 100%; height: 100%; }
.band {
  fill: transparent; stroke: transparent; stroke-width: 1; vector-effect: non-scaling-stroke;
  cursor: pointer; transition: fill 0.18s, stroke 0.18s;
}
.tower:hover .band { fill: rgba(242, 237, 228, 0.07); stroke: rgba(242, 237, 228, 0.22); }
.tower .band:hover { fill: rgba(242, 237, 228, 0.66); stroke: #fff; }
.band.is-picked { fill: rgba(217, 138, 85, 0.6); stroke: rgba(255, 255, 255, 0.7); }

.hero-towers { position: absolute; inset: 0; pointer-events: none; }
.tower-tag {
  position: absolute; transform: translate(-50%, -125%); pointer-events: auto; cursor: pointer;
  display: inline-flex; align-items: baseline; gap: 0.4rem; min-height: 44px; padding: 0.3rem 0.95rem;
  border: 1px solid rgba(242, 237, 228, 0.45); border-radius: 999px;
  background: rgba(20, 17, 15, 0.5); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  color: var(--paper); font-family: var(--font-display); font-size: 1.5rem; line-height: 1;
  transition: background 0.25s, border-color 0.25s, transform 0.3s var(--ease);
}
.tower-tag span { font-family: var(--font-body); font-size: 0.6rem; letter-spacing: 0.2em; text-transform: uppercase; opacity: 0.8; }
.tower-tag:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); transform: translate(-50%, -135%); }

.hero-shade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(14, 11, 9, 0.55), transparent 22%),
    linear-gradient(to left, rgba(14, 11, 9, 0.78), rgba(14, 11, 9, 0.35) 30%, transparent 52%);
}
.hero-copy {
  position: absolute; right: var(--gutter); top: 50%; transform: translateY(-52%);
  width: min(25rem, 30vw); pointer-events: none;
}
.hero-copy h1 { font-size: clamp(2.3rem, 3.5vw, 3.6rem); margin: 1.1rem 0 1.3rem; }
.hero-sub { font-size: 1rem; line-height: 1.7; color: rgba(242, 237, 228, 0.86); max-width: 34ch; }
.hero-hint {
  display: flex; align-items: center; gap: 0.8rem; margin-top: 2.2rem; padding-top: 1.4rem;
  border-top: 1px solid var(--line-light); font-size: 0.8rem; letter-spacing: 0.04em; color: rgba(242, 237, 228, 0.9);
}
.hint-touch { display: none; }
.hint-pulse { flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--terracota-glow); animation: pulse 2.2s infinite; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(217, 138, 85, 0.7); }
  80%, 100% { box-shadow: 0 0 0 14px rgba(217, 138, 85, 0); }
}

.hero-tip {
  position: absolute; top: 0; left: 0; z-index: 4; pointer-events: none;
  display: grid; gap: 0.1rem; min-width: 12.5rem; padding: 0.9rem 1.1rem 1rem;
  background: var(--paper); color: var(--ink); box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
}
.hero-tip[hidden] { display: none; }
.tip-where { font-size: 0.66rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-soft); }
.tip-code { font-family: var(--font-display); font-weight: 400; font-size: 2.3rem; line-height: 1.05; }
.tip-meta { font-size: 0.8rem; color: var(--ink-soft); }
.tip-go { margin-top: 0.55rem; padding-top: 0.55rem; border-top: 1px solid var(--line); font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--terracota-deep); }

/* ---------- Departamento 3D ---------- */
.depto {
  display: grid; grid-template-columns: minmax(0, 1fr) clamp(21rem, 30vw, 26rem);
  min-height: max(100svh, 760px); background: var(--night); color: var(--paper); scroll-margin-top: 0;
}
.depto-stage {
  position: relative; overflow: hidden; min-height: 560px;
  background: radial-gradient(ellipse 70% 60% at 50% 48%, #3A312A 0%, #1E1915 55%, var(--night) 100%);
}
.stage-model, .stage-spots { position: absolute; inset: var(--nav-h) 0 72px 0; }
.stage-model { opacity: 0; transition: opacity 1.2s var(--ease); cursor: grab; }
.stage-model.is-ready { opacity: 1; }
.stage-model:active { cursor: grabbing; }
.stage-model canvas { display: block; width: 100%; height: 100%; touch-action: pan-y; }
.no-webgl .stage-model { opacity: 1; background: url("assets/planta.jpg") center / contain no-repeat; cursor: default; }
.no-webgl .stage-tools { display: none; }
.stage-spots { pointer-events: none; }

.hs {
  position: absolute; top: 0; left: 0; margin: -22px 0 0 -22px; pointer-events: auto; cursor: pointer;
  display: inline-flex; align-items: center; height: 44px; padding: 0; border: 0; background: none; color: var(--paper);
  will-change: transform;
}
.hs-dot {
  flex: none; width: 44px; height: 44px; border-radius: 50%; position: relative;
}
.hs-dot::before, .hs-dot::after { content: ""; position: absolute; inset: 0; margin: auto; border-radius: 50%; }
.hs-dot::before { width: 12px; height: 12px; background: #fff; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5); transition: transform 0.25s var(--ease), background 0.25s; }
.hs-dot::after { width: 26px; height: 26px; border: 1px solid rgba(255, 255, 255, 0.75); background: rgba(20, 17, 15, 0.28); transition: transform 0.3s var(--ease); }
.hs-label {
  margin-left: -6px; padding: 0.42rem 0.8rem; border-radius: 999px; white-space: nowrap;
  background: rgba(20, 17, 15, 0.82); font-size: 0.68rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase;
  opacity: 0; transform: translateX(-6px); transition: opacity 0.25s, transform 0.25s var(--ease); pointer-events: none;
}
.hs:hover .hs-label, .hs:focus-visible .hs-label, .hs.is-on .hs-label { opacity: 1; transform: none; }
.hs:hover .hs-dot::after, .hs.is-on .hs-dot::after { transform: scale(1.3); }
.hs:hover .hs-dot::before, .hs.is-on .hs-dot::before { background: var(--terracota-glow); }
.hs:hover { z-index: 2; }

.stage-render { position: absolute; inset: 0; z-index: 3; opacity: 0; transition: opacity 0.6s var(--ease); background: var(--night); }
.stage-render[hidden] { display: none; }
.stage-render.is-in { opacity: 1; }
.stage-render img { width: 100%; height: 100%; object-fit: cover; }
.stage-render::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(14, 11, 9, 0.82), transparent 38%), linear-gradient(to bottom, rgba(14, 11, 9, 0.45), transparent 20%);
}
.stage-render figcaption { position: absolute; z-index: 1; left: var(--gutter); bottom: 96px; display: grid; gap: 0.2rem; }
.render-name { font-family: var(--font-display); font-style: italic; font-weight: 300; font-size: clamp(2.2rem, 4vw, 3.6rem); line-height: 1; }
.render-note { font-size: 0.85rem; color: rgba(242, 237, 228, 0.85); }

.stage-tools { position: absolute; z-index: 2; right: 1.25rem; top: calc(var(--nav-h) + 0.75rem); display: flex; gap: 0.4rem; }
.tool {
  min-width: 44px; height: 44px; padding: 0 0.9rem; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line-light); background: rgba(20, 17, 15, 0.5); color: var(--paper); font-size: 1.1rem; line-height: 1;
  transition: background 0.2s, border-color 0.2s;
}
.tool-wide { font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; }
.tool:hover { background: rgba(242, 237, 228, 0.12); border-color: rgba(242, 237, 228, 0.5); }
.stage-hint {
  position: absolute; z-index: 2; left: var(--gutter); top: calc(var(--nav-h) + 1.35rem);
  font-size: 0.78rem; color: rgba(242, 237, 228, 0.72); transition: opacity 0.6s;
}
.stage-hint.is-gone { opacity: 0; }
.is-render .stage-tools, .is-render .stage-hint, .is-render .stage-spots { opacity: 0; pointer-events: none; }
.is-render .hs { pointer-events: none; }

.rooms {
  position: absolute; z-index: 4; inset: auto 0 0 0; height: 72px;
  display: flex; align-items: center; gap: 0.5rem; padding-inline: var(--gutter);
  overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.rooms::-webkit-scrollbar { display: none; }
.rooms button {
  flex: none; min-height: 44px; padding: 0 1.05rem; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line-light); background: rgba(20, 17, 15, 0.55); color: var(--paper);
  font-size: 0.68rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; white-space: nowrap;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.rooms button:hover { border-color: rgba(242, 237, 228, 0.6); }
.rooms button[aria-selected="true"] { background: var(--paper); color: var(--ink); border-color: var(--paper); }

.depto-panel {
  display: flex; flex-direction: column; justify-content: center; gap: 1.15rem;
  padding: calc(var(--nav-h) + 1rem) clamp(1.5rem, 2.6vw, 2.5rem) 1.75rem;
  border-left: 1px solid var(--line-light); background: var(--night);
}
.depto-panel h2 { font-size: clamp(4rem, 6.2vw, 5.6rem); line-height: 0.9; margin-top: -0.6rem; font-variant-numeric: lining-nums; }
.panel-lead { font-size: 0.95rem; color: rgba(242, 237, 228, 0.78); }
.specs { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line-light); }
.specs div { padding: 0.6rem 0; border-bottom: 1px solid var(--line-light); }
.specs div:nth-child(odd) { padding-right: 1rem; }
.specs dt { font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(242, 237, 228, 0.6); }
.specs dd { font-family: var(--font-display); font-size: 1.5rem; line-height: 1.2; font-variant-numeric: lining-nums; }
.panel-delivery { font-size: 0.85rem; color: rgba(242, 237, 228, 0.78); margin-top: -0.5rem; }
.panel-delivery[hidden] { display: none; }

.picker { display: grid; gap: 0.7rem; }
.picker-row { display: grid; grid-template-columns: 4.2rem 1fr; align-items: center; gap: 0.75rem; }
.picker-label { font-size: 0.66rem; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(242, 237, 228, 0.6); }
.seg { display: flex; border: 1px solid var(--line-light); border-radius: 999px; padding: 3px; }
.seg button {
  flex: 1; min-height: 40px; border: 0; border-radius: 999px; background: none; cursor: pointer;
  font-family: var(--font-display); font-size: 1.2rem; transition: background 0.2s, color 0.2s;
}
.seg button:hover { background: rgba(242, 237, 228, 0.1); }
.seg button[aria-pressed="true"] { background: var(--paper); color: var(--ink); }
.stepper { display: flex; align-items: center; border: 1px solid var(--line-light); border-radius: 999px; padding: 3px; }
.stepper button { flex: none; width: 40px; height: 40px; border: 0; border-radius: 50%; background: none; cursor: pointer; font-size: 1.1rem; }
.stepper button:hover:not([disabled]) { background: rgba(242, 237, 228, 0.1); }
.stepper button[disabled] { opacity: 0.3; cursor: default; }
.stepper select {
  flex: 1; min-width: 0; height: 40px; border: 0; background: none; text-align: center; text-align-last: center; cursor: pointer;
  font-family: var(--font-display); font-size: 1.2rem; appearance: none; -webkit-appearance: none;
}
.stepper select option { color: var(--ink); background: var(--paper); }
.panel-cta { display: grid; gap: 0.6rem; }

/* ---------- La vista ---------- */
.vista { padding-block: var(--section-y); }
.vista-grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.vista-text h2 { font-size: clamp(2.4rem, 4.6vw, 4.2rem); margin: 1.1rem 0 1.6rem; }
.vista-text h2 em { color: var(--terracota-deep); }
.vista-text p + p { margin-top: 1rem; }
.vista-text p:not(.eyebrow) { color: var(--ink-soft); max-width: 52ch; }
.vista-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

.numbers { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: var(--section-y); border-top: 1px solid var(--line); }
.numbers div { display: flex; flex-direction: column; padding: 1.75rem 1.5rem 0 0; }
.numbers div + div { padding-left: 1.5rem; border-left: 1px solid var(--line); }
.numbers dd { font-family: var(--font-display); font-weight: 300; font-size: clamp(3.2rem, 6vw, 5.4rem); line-height: 1; font-variant-numeric: lining-nums; }
.numbers dd small { font-size: 0.32em; margin-left: 0.25em; letter-spacing: 0.04em; }
.numbers dt { margin-top: 0.6rem; font-size: 0.85rem; color: var(--ink-soft); max-width: 22ch; }

.bleed { position: relative; height: min(88svh, 60vw); min-height: 420px; overflow: hidden; background: var(--night); }
.bleed img { width: 100%; height: 100%; object-fit: cover; }
.bleed::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(14, 11, 9, 0.6), transparent 45%); }
.bleed figcaption {
  position: absolute; z-index: 1; left: var(--gutter); right: var(--gutter); bottom: clamp(1.75rem, 5vw, 4rem);
  font-family: var(--font-display); font-style: italic; font-weight: 300; font-size: clamp(1.7rem, 3.6vw, 3.2rem); line-height: 1.1;
  color: var(--paper); max-width: 22ch;
}

/* ---------- Amenidades ---------- */
.amen { padding-block: var(--section-y); background: var(--paper-soft); }
.amen-head { display: grid; grid-template-columns: 6fr 5fr; gap: clamp(1.5rem, 5vw, 5rem); align-items: end; margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.amen-head h2 { font-size: clamp(2.4rem, 4.6vw, 4.2rem); margin-top: 1.1rem; }
.amen-head h2 em { color: var(--terracota-deep); }
.amen-head > p { color: var(--ink-soft); max-width: 46ch; }
.amen-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(2rem, 3.5vw, 3rem) clamp(1.25rem, 2.5vw, 2rem); }
.amen-img { overflow: hidden; margin-bottom: 1.1rem; }
.amen-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 1.2s var(--ease); }
.amen-item:hover .amen-img img { transform: scale(1.04); }
.amen-num { font-size: 0.7rem; letter-spacing: 0.2em; color: var(--terracota-deep); }
.amen-item h3 { font-size: 1.75rem; margin: 0.15rem 0 0.4rem; }
.amen-item p { font-size: 0.92rem; color: var(--ink-soft); max-width: 38ch; }

/* ---------- Agenda ---------- */
.agenda { padding-block: var(--section-y); background: var(--ink); color: var(--paper); }
.agenda-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 7vw, 7rem); align-items: start; }
.agenda-text h2 { font-size: clamp(2.2rem, 4vw, 3.6rem); margin: 1.1rem 0 2.5rem; }
.agenda-text h2 em { color: var(--terracota-glow); }
.agenda-contact li { display: grid; grid-template-columns: 7rem 1fr; align-items: baseline; padding: 0.9rem 0; border-top: 1px solid var(--line-light); }
.agenda-contact li:last-child { border-bottom: 1px solid var(--line-light); }
.agenda-contact span { font-size: 0.66rem; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(242, 237, 228, 0.6); }
.agenda-contact a { font-family: var(--font-display); font-size: 1.45rem; text-decoration: none; font-variant-numeric: lining-nums; }
.agenda-contact a:hover { color: var(--terracota-glow); }

.form { display: grid; gap: 1.25rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.field { display: grid; gap: 0.35rem; }
.field label { font-size: 0.66rem; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(242, 237, 228, 0.7); }
.field .opt { letter-spacing: 0.04em; text-transform: none; opacity: 0.7; margin-left: 0.3rem; }
.field input, .field textarea {
  width: 100%; min-height: 48px; padding: 0.7rem 0; border: 0; border-bottom: 1px solid rgba(242, 237, 228, 0.35);
  background: none; border-radius: 0; font-size: 1rem; transition: border-color 0.2s;
}
.field textarea { resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: rgba(242, 237, 228, 0.4); }
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--terracota-glow); box-shadow: 0 1px 0 var(--terracota-glow); }
.was-validated input:invalid { border-bottom-color: #E58B6B; }
.form-unit { font-size: 0.85rem; color: rgba(242, 237, 228, 0.75); }
.form-status { font-size: 0.92rem; min-height: 1.5em; color: var(--paper); }
.form-status:empty { display: none; }
.form-legal { font-size: 0.75rem; color: rgba(242, 237, 228, 0.55); }
.is-sent .field, .is-sent .field-row { opacity: 0.45; pointer-events: none; }

/* ---------- Pie ---------- */
.footer { background: var(--ink); color: var(--paper); border-top: 1px solid var(--line-light); padding-top: clamp(2.5rem, 5vw, 4rem); overflow: hidden; }
.footer-top { display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; }
.footer-tag { font-family: var(--font-display); font-style: italic; font-size: 1.4rem; max-width: 26ch; line-height: 1.25; }
.footer-dev { display: flex; align-items: center; gap: 0.9rem; font-size: 0.66rem; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(242, 237, 228, 0.6); }
.footer-dev img { width: 148px; height: auto; padding: 0.35rem 0.6rem; background: var(--paper); border-radius: 3px; }
.footer-logo { width: min(86vw, 68rem); height: auto; margin: clamp(2.5rem, 6vw, 5rem) auto clamp(2rem, 5vw, 4rem); }
.footer-base {
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-block: 1.25rem;
  border-top: 1px solid var(--line-light); font-size: 0.78rem; color: rgba(242, 237, 228, 0.6); background: var(--ink); position: relative;
}

/* ---------- Aparición al hacer scroll ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.amen-item:nth-child(3n + 2), .numbers div:nth-child(2) { transition-delay: 0.08s; }
.amen-item:nth-child(3n), .numbers div:nth-child(3) { transition-delay: 0.16s; }
.numbers div:nth-child(4) { transition-delay: 0.24s; }

/* ---------- Tablet y pantallas medianas: portada apilada, panel debajo ---------- */
@media (max-width: 1100px) {
  .hero { height: auto; }
  .hero-art { position: relative; top: 0; transform: none; width: 100%; }
  .hero-shade { background: linear-gradient(to bottom, rgba(14, 11, 9, 0.6), transparent 16%); bottom: auto; height: 60vw; }
  .hero-copy { position: static; transform: none; width: auto; max-width: 40rem; padding: 2.25rem var(--gutter) 3rem; pointer-events: auto; }
  .hero-copy h1 { font-size: clamp(2.2rem, 6.4vw, 3.6rem); }
  .hero-sub { max-width: 48ch; }
  .tower-tag span { display: none; }

  .depto { grid-template-columns: 1fr; min-height: 0; }
  .depto-stage { height: max(70svh, 480px); min-height: 0; }
  .depto-panel { border-left: 0; border-top: 1px solid var(--line-light); padding: 2.25rem var(--gutter) 3rem; }
  .depto-panel h2 { margin-top: -0.3rem; }
  .picker, .panel-cta, .specs { max-width: 34rem; }

  .vista-grid, .amen-head, .agenda-grid { grid-template-columns: 1fr; }
  .amen-grid { grid-template-columns: repeat(2, 1fr); }
  .numbers { grid-template-columns: repeat(2, 1fr); }
  .numbers div:nth-child(3) { padding-left: 0; border-left: 0; }
  .numbers div:nth-child(n + 3) { border-top: 1px solid var(--line); margin-top: 1.75rem; }
}

/* ---------- Celular ---------- */
@media (max-width: 760px) {
  :root { --nav-h: 64px; }
  .nav-links { display: none; }
  .nav-cta { margin-left: auto; }
  .nav-logo img { height: 32px; }

  .hero-art { aspect-ratio: 900 / 1125; }
  .hero-shade { height: 40vw; }
  .tower-tag { font-size: 1.25rem; padding: 0.3rem 0.7rem; }
  .tower-tag span { display: none; }

  .depto-stage { height: max(66svh, 440px); }
  .stage-hint { right: var(--gutter); top: auto; bottom: 80px; text-align: center; font-size: 0.72rem; }
  .stage-tools { right: 0.75rem; }
  .tool-wide { display: none; }
  .hs-label { display: none; }
  .hs.is-on .hs-label { display: block; }
  .stage-render figcaption { bottom: 88px; }

  .field-row { grid-template-columns: 1fr; }
  .amen-grid { grid-template-columns: 1fr; }
  .agenda-contact li { grid-template-columns: 6rem 1fr; }
  .agenda-contact a { font-size: 1.2rem; }
  .bleed { height: 70svh; }
}

@media (hover: none) {
  .hint-desk { display: none; }
  .hint-touch { display: inline; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Unidad 01: planta espejeada respecto a la 02 */
.is-mirror .plan-thumb img { transform: scaleY(-1); }
.is-mirror.no-webgl .stage-model, .is-mirror .no-webgl .stage-model { transform: scaleY(-1); }

/* Pie con el verde del sitio principal (lavistaresidences.com.mx) */
.footer { background: #3D4E38; border-top-color: rgba(242, 237, 228, 0.14); }
.footer-base { background: #3D4E38; color: rgba(242, 237, 228, 0.72); }
