/* Preventa en pozo · landing */
:root {
  --night: #0b1220;
  --navy: #132237;
  --trav: #e9dfd0;
  --paper: #f6f2ea;
  --ink: #1b1a17;
  --bronze: #b08a57;
  --olive: #6f7550;
  --muted: #8a8578;
  --line: rgba(27, 26, 23, 0.14);
  --line-dark: rgba(233, 223, 208, 0.18);
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(16px, 4vw, 56px);
  --maxw: 1440px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --header-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: clamp(14px, 0.9rem + 0.15vw, 17px);
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
body.quiz-open { overflow: hidden; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
a { color: inherit; }
h1, h2, h3, h4, p, ol, ul, dl, dd, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
svg { display: block; }
[hidden] { display: none !important; }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 200; background: var(--ink); color: var(--paper); padding: 8px 12px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 1.5px solid var(--bronze); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.tnum { font-variant-numeric: lining-nums tabular-nums; }
.u-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }

.label {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1.4;
}
.display {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(44px, 6.8vw, 128px);
  line-height: 0.95;
  letter-spacing: -0.02em;
}
.display em, .display i { font-style: italic; }
.display-sm { font-size: clamp(44px, 4.6vw, 84px); }
.h3 { font-family: var(--serif); font-weight: 300; font-size: clamp(28px, 2.4vw, 38px); line-height: 1.05; letter-spacing: -0.01em; }
.split-line { padding-bottom: 0.06em; }

/* Botones */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 26px;
  border: 1px solid var(--bronze); border-radius: 999px;
  font-size: 14px; font-weight: 500; letter-spacing: 0.02em;
  cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 13px; }
.btn-outline { background: transparent; color: inherit; }
.btn-outline:hover { background: var(--bronze); color: var(--paper); }
.btn-solid { background: var(--bronze); color: var(--paper); }
.btn-solid:hover { background: var(--ink); border-color: var(--ink); }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.btn-ghost { border-color: var(--line); background: transparent; }
.btn-ghost:hover { border-color: var(--ink); }
.icon-btn { width: 44px; height: 44px; display: grid; place-items: center; background: none; border: 0; cursor: pointer; border-radius: 50%; }
.icon-btn svg, .menu-toggle svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

.chip {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 36px; padding: 0 16px;
  border: 1px solid var(--line); border-radius: 999px;
  font-size: 13px; background: transparent; cursor: pointer;
  transition: border-color .25s, background-color .25s, color .25s;
}
.chip[aria-checked="true"], .chip[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }

.ilus {
  position: absolute; right: 10px; bottom: 10px; z-index: 3;
  font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(246, 242, 234, 0.85); background: rgba(11, 18, 32, 0.45);
  padding: 3px 8px; border-radius: 2px; pointer-events: none;
}

/* Progreso */
.progress { position: fixed; inset: 0 0 auto 0; height: 2px; z-index: 120; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--bronze); transform-origin: 0 50%; transform: scaleX(0); }

/* Header */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  display: flex; align-items: center; gap: 28px; padding: 0 var(--gutter);
  color: var(--paper); background: transparent;
  transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s;
  border-bottom: 1px solid transparent;
}
.site-header.is-solid { background: var(--paper); color: var(--ink); border-bottom-color: var(--line); }
.wordmark { font-family: var(--serif); font-size: 30px; font-weight: 300; letter-spacing: 0.02em; text-decoration: none; line-height: 1; margin-right: auto; }
.nav { display: flex; gap: 28px; }
.nav a { font-size: 13px; text-decoration: none; letter-spacing: 0.04em; position: relative; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav a:hover::after { transform: scaleX(1); }
.menu-toggle { display: none; width: 44px; height: 44px; background: none; border: 0; place-items: center; cursor: pointer; }
.mobile-nav {
  position: fixed; top: var(--header-h); left: 0; right: 0; z-index: 99;
  background: var(--paper); border-bottom: 1px solid var(--line);
  display: grid; padding: 8px var(--gutter) 16px;
}
.mobile-nav a { padding: 14px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-family: var(--serif); font-size: 26px; }

/* Hero */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 520px; background: var(--night); color: var(--paper); overflow: hidden; }
.hero-stage { position: absolute; inset: 0; overflow: hidden; container-type: size; }
.tower-box {
  position: absolute; left: 50%; top: 50%;
  width: max(100cqw, calc(100cqh * 2200 / 1228));
  aspect-ratio: 2200 / 1228;
  transform: translate(-50%, -50%);
}
.tower-dark { position: absolute; inset: 0; width: 100%; height: 100%; user-select: none; }
.tower-bands { position: absolute; inset: 0; pointer-events: none; }
.band {
  position: absolute; inset: 0; opacity: 0;
  background-size: 100% 100%; background-repeat: no-repeat;
  will-change: opacity;
}
.tower-hits { position: absolute; inset: 0; }
.floor-hit {
  position: absolute; display: block; padding: 0; margin: 0;
  background: transparent; border: 0; cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.floor-hit:focus-visible { outline: 1px solid var(--bronze); outline-offset: 0; }
.ilus-hero { bottom: 14px; right: var(--gutter); }

.hero-overlay {
  position: absolute; z-index: 4; pointer-events: none;
  left: var(--gutter); top: 50%; transform: translateY(-42%);
  max-width: min(32vw, 460px);
}
.hero-kicker { color: rgba(233, 223, 208, 0.8); margin-bottom: 22px; }
.hero-title { color: var(--trav); font-size: clamp(64px, 11vw, 150px); }
.hero-tagline { margin-top: 18px; font-family: var(--serif); font-style: italic; font-size: clamp(22px, 2vw, 30px); line-height: 1.2; color: var(--trav); }
.chip-hero { margin-top: 28px; cursor: default; color: var(--paper); border-color: rgba(176, 138, 87, 0.8); background: rgba(11, 18, 32, 0.55); }
.chip-hero .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--bronze); }
.hero-hint { position: absolute; z-index: 4; left: var(--gutter); bottom: 22px; color: rgba(233, 223, 208, 0.75); pointer-events: none; }

.floor-card {
  position: absolute; z-index: 6; width: 272px;
  background: var(--paper); color: var(--ink);
  padding: 18px 20px 18px; border-radius: 2px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}
.floor-card .fc-top { display: flex; justify-content: space-between; align-items: baseline; }
.floor-card .fc-floor { font-family: var(--serif); font-size: 40px; line-height: 1; }
.floor-card dl { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 14px; margin: 14px 0 12px; }
.floor-card dt { color: var(--muted); }
.floor-card dd { font-size: 15px; }
.floor-card .fc-price { border-top: 1px solid var(--line); padding-top: 12px; display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.floor-card .fc-price strong { font-weight: 500; font-size: 17px; }
.floor-card .fc-go { margin-top: 12px; width: 100%; }
.status { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; border: 1.5px solid currentColor; }
.status-disponible { color: var(--olive); }
.status-disponible::before { background: var(--olive); border-color: var(--olive); }
.status-reservado { color: var(--bronze); }
.status-vendido { color: var(--muted); }
.status-vendido::before { background: var(--muted); border-color: var(--muted); }

/* Secciones */
.sec { position: relative; padding: clamp(56px, 6vw, 96px) 0; }
.sec-head { margin-bottom: clamp(28px, 3.4vw, 52px); max-width: 1100px; }
.sec-head .label { margin-bottom: 20px; color: var(--muted); }
.sec-sub { margin-top: 22px; font-size: 17px; color: var(--muted); }
.frame { position: relative; overflow: hidden; background: var(--trav); }
.frame-wide { aspect-ratio: 2200 / 1228; }
.xfade { position: absolute; inset: 0; }
.xfade img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .7s var(--ease); }
.xfade img.is-on { opacity: 1; }
[data-reveal-img] { will-change: clip-path; }

/* Obra */
.obra { background: var(--paper); }
.obra-status { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: end; margin-bottom: clamp(40px, 5vw, 72px); }
.pct-num { font-variant-numeric: lining-nums tabular-nums; font-family: var(--serif); font-weight: 300; font-size: clamp(110px, 17vw, 260px); line-height: 0.82; letter-spacing: -0.04em; display: flex; align-items: flex-start; }
.pct-sign { font-size: 0.4em; margin-left: 0.06em; margin-top: 0.12em; color: var(--bronze); }
.bar { margin-top: 26px; height: 2px; background: var(--line); position: relative; }
.bar span { position: absolute; inset: 0 auto 0 0; width: 0; background: var(--bronze); }
.obra-facts { display: grid; gap: 8px; padding-bottom: 6px; }
.obra-struct { font-family: var(--serif); font-size: clamp(28px, 2.6vw, 40px); line-height: 1.1; }

.build { position: relative; background: var(--night); color: var(--paper); }
.build-stage { background: var(--night); max-height: 100vh; width: 100%; }
.build-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; }
.build-stage img:first-of-type { opacity: 1; }
.build-caption { position: absolute; left: var(--gutter); bottom: clamp(18px, 3vw, 40px); z-index: 3; display: flex; gap: 18px; align-items: baseline; pointer-events: none; width: auto; max-width: calc(100% - 2 * var(--gutter)); background: var(--night); padding: 14px 22px; margin: 0; }
.build-caption .label { color: var(--bronze); }
.build-label { font-family: var(--serif); font-size: clamp(24px, 2.6vw, 40px); line-height: 1.1; color: var(--paper); }
.build-ticks { position: absolute; z-index: 3; right: var(--gutter); top: clamp(18px, 3vw, 40px); display: flex; gap: 6px; }
.build-ticks i { width: 26px; height: 2px; background: rgba(246, 242, 234, 0.3); }
.build-ticks i.on { background: var(--bronze); }

.compare-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 3vw, 48px); margin-top: clamp(48px, 5vw, 80px); }
.compare-block figcaption { margin-bottom: 18px; display: grid; gap: 6px; }
.compare {
  position: relative; overflow: hidden; aspect-ratio: 2200 / 1228; background: var(--trav);
  touch-action: pan-y; user-select: none; -webkit-user-select: none; cursor: ew-resize;
}
.compare-room { aspect-ratio: 1800 / 1004; margin-top: 28px; }
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; -webkit-user-drag: none; }
.compare .cmp-a { z-index: 1; clip-path: inset(0 calc(100% - var(--pos, 50%)) 0 0); transition: opacity .5s var(--ease); }
.compare .cmp-b { transition: opacity .5s var(--ease); }
.cmp-line { position: absolute; z-index: 2; top: 0; bottom: 0; left: var(--pos, 50%); width: 0; }
.cmp-line::before { content: ""; position: absolute; top: 0; bottom: 0; left: -0.5px; width: 1px; background: var(--paper); }
.cmp-handle {
  position: absolute; top: 50%; left: 0; transform: translate(-50%, -50%);
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--paper); color: var(--ink); border: 0;
  display: grid; place-items: center; cursor: ew-resize; touch-action: none;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}
.cmp-handle svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.cmp-tag {
  position: absolute; z-index: 3; top: 12px; padding: 4px 10px;
  background: rgba(11, 18, 32, 0.6); color: var(--paper); border-radius: 2px; pointer-events: none;
}
.cmp-tag-a { left: 12px; }
.cmp-tag-b { right: 12px; }

/* Hitos */
.hitos { margin-top: clamp(48px, 5vw, 80px); overflow: hidden; }
.hitos-head { margin-bottom: 28px; }
.hitos-head .label { color: var(--muted); margin-bottom: 16px; }
.hitos-viewport { overflow: hidden; }
.hitos-track { display: flex; gap: 20px; padding: 0 var(--gutter) 8px; width: max-content; }
.hito {
  width: clamp(260px, 24vw, 340px); flex: 0 0 auto;
  border: 1px solid var(--line); background: var(--paper);
  display: flex; flex-direction: column; position: relative;
}
.hito-media { position: relative; aspect-ratio: 2200 / 1228; overflow: hidden; background: var(--trav); }
.hito-media img { width: 100%; height: 100%; object-fit: cover; }
.hito-media.empty { display: grid; place-items: center; }
.hito-media.empty svg { width: 40px; height: 40px; fill: none; stroke: var(--muted); stroke-width: 1.5; }
.hito-body { padding: 18px 20px 22px; display: grid; gap: 8px; }
.hito-date { font-variant-numeric: lining-nums; font-family: var(--serif); font-size: 30px; line-height: 1; }
.hito-label { font-size: 15px; }
.hito-state { display: inline-flex; align-items: center; gap: 6px; }
.hito-state::before { content: ""; width: 7px; height: 7px; border-radius: 50%; }
.hito.done .hito-state { color: var(--olive); }
.hito.done .hito-state::before { background: var(--olive); }
.hito.current { border-color: var(--bronze); background: var(--bronze); color: var(--paper); }
.hito.current .hito-state { color: var(--paper); }
.hito.current .hito-state::before { background: var(--paper); }
.hito.next { background: transparent; border-style: dashed; border-color: rgba(27, 26, 23, 0.3); }
.hito.next .hito-state { color: var(--muted); }
.hito.next .hito-state::before { border: 1.5px solid var(--muted); }

/* Unidades */
.unidades { background: var(--trav); }
.floor-row { display: grid; grid-template-columns: repeat(var(--floors, 7), minmax(0, 1fr)); gap: 6px; margin-bottom: 36px; }
.floor-btn {
  min-height: 48px; border: 1px solid rgba(27, 26, 23, 0.22); background: transparent;
  display: grid; place-items: center; cursor: pointer; position: relative; border-radius: 2px;
  font-variant-numeric: tabular-nums; font-size: 14px;
  transition: background-color .25s, color .25s, border-color .25s;
}
.floor-btn::after { content: ""; position: absolute; left: 50%; bottom: 6px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--olive); }
.floor-btn.st-reservado::after { background: var(--bronze); }
.floor-btn.st-vendido { color: var(--muted); text-decoration: line-through; text-decoration-thickness: 1px; }
.floor-btn.st-vendido::after { background: transparent; }
.floor-btn[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.floor-btn:hover { border-color: var(--ink); }
.unit-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(28px, 4vw, 64px); align-items: center; }
.unit-plan { aspect-ratio: 1800 / 1004; background: var(--navy); }
.unit-info .u-floor { font-variant-numeric: lining-nums; font-family: var(--serif); font-size: clamp(64px, 7vw, 120px); line-height: 0.9; letter-spacing: -0.02em; }
.unit-info .u-typ { font-family: var(--serif); font-style: italic; font-size: clamp(26px, 2.4vw, 36px); margin-top: 6px; }
.unit-info .u-copy { margin-top: 18px; color: rgba(27, 26, 23, 0.8); max-width: 42ch; }
.specs { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); margin-top: 26px; }
.specs div { padding: 14px 0; border-bottom: 1px solid var(--line); }
.specs dt { color: var(--muted); }
.specs dd { font-size: 18px; font-variant-numeric: tabular-nums; }
.unit-info .u-actions { margin-top: 26px; display: flex; gap: 12px; flex-wrap: wrap; }

.vista { margin-top: clamp(56px, 6vw, 96px); }
.vista-head { margin-bottom: 28px; }
.vista-head .label { color: var(--muted); margin-bottom: 16px; }
.vista-frame { position: relative; aspect-ratio: 1800 / 1004; overflow: hidden; background: var(--navy); max-height: 92vh; width: 100%; }
.vista-pins { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.pin { position: absolute; top: 0; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; color: var(--paper); }
.pin .pin-stem { width: 1px; background: rgba(246, 242, 234, 0.75); height: 22px; }
.pin .pin-dot { width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--paper); background: rgba(11, 18, 32, 0.55); font-size: 11px; display: grid; place-items: center; font-variant-numeric: tabular-nums; }
.pin .pin-text { transform: translateX(var(--shift, 0px)); margin-top: 6px; text-align: center; white-space: nowrap; font-size: 12px; line-height: 1.3; text-shadow: 0 1px 10px rgba(11, 18, 32, 0.8); }
.pin .pin-text span { display: block; opacity: 0.8; font-size: 11px; }
.vista-legend { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0 28px; margin-top: 18px; }
.vista-legend li { display: flex; gap: 12px; align-items: baseline; padding: 12px 0; border-bottom: 1px solid var(--line); }
.vista-legend .n { font-variant-numeric: tabular-nums; color: var(--muted); font-size: 12px; min-width: 18px; }
.vista-legend .d { margin-left: auto; color: var(--muted); font-size: 13px; white-space: nowrap; }

/* Sol */
.sol { background: var(--navy); color: var(--trav); }
.sol .label { color: rgba(233, 223, 208, 0.6); }
.sol-line { margin-top: 22px; font-family: var(--serif); font-style: italic; font-size: clamp(22px, 2vw, 32px); line-height: 1.2; color: var(--paper); min-height: 1.2em; }
.sol-facts { display: grid; grid-template-columns: repeat(3, auto); justify-content: space-between; gap: 10px; margin-top: 10px; border-top: 1px solid var(--line-dark); padding-top: 10px; }
.sol-facts dd { font-size: 14px; margin-top: 2px; color: var(--paper); }
.sol-facts .label { font-size: 9px; }
.sol-controls { margin-top: 18px; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px 40px; align-items: end; }
.sol .chip { border-color: var(--line-dark); color: var(--trav); }
.sol .chip[aria-checked="true"] { background: var(--trav); color: var(--navy); border-color: var(--trav); }
.range-label { display: flex; justify-content: space-between; align-items: baseline; }
.range-label output { font-size: 18px; color: var(--paper); }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 32px; background: transparent; cursor: pointer; touch-action: pan-y; }
input[type="range"]::-webkit-slider-runnable-track { height: 1px; background: var(--line-dark); }
input[type="range"]::-moz-range-track { height: 1px; background: var(--line-dark); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%; background: var(--bronze); border: 0; }
input[type="range"]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--bronze); border: 0; }
.range-wrap { touch-action: pan-y; padding: 6px 0; }
@media (hover: none) { .range-wrap input[type="range"] { pointer-events: none; } }
.sol-svg-ring { fill: none; stroke: rgba(233, 223, 208, 0.22); stroke-width: 1; }
.sol-svg-ring-thin { fill: none; stroke: rgba(233, 223, 208, 0.12); stroke-width: 1; stroke-dasharray: 2 5; }
.sol-svg-tick { stroke: rgba(233, 223, 208, 0.4); stroke-width: 1; }
.sol-svg-card { fill: var(--trav); font-family: var(--sans); font-size: 12px; letter-spacing: 0.14em; }
.sol-svg-card.n { fill: var(--bronze); }
.sol-svg-foot { fill: rgba(233, 223, 208, 0.08); stroke: var(--trav); stroke-width: 1.5; }
.sol-svg-face { stroke: rgba(233, 223, 208, 0.35); stroke-width: 4; stroke-linecap: round; transition: stroke .3s; }
.sol-svg-face.lit { stroke: var(--bronze); }
.sol-svg-flabel { fill: rgba(233, 223, 208, 0.75); font-family: var(--sans); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; }
.sol-svg-ray { stroke: var(--bronze); stroke-width: 1.5; stroke-dasharray: 3 5; }
.sol-svg-sun { fill: var(--bronze); }
.sol-svg-sun-ring { fill: none; stroke: var(--bronze); stroke-width: 1.5; }
.sol-svg-path { fill: none; stroke: rgba(176, 138, 87, 0.45); stroke-width: 1; }
.sol-svg-night { fill: rgba(233, 223, 208, 0.5); font-family: var(--sans); font-size: 12px; }

/* Estados */
.estados { background: var(--paper); }
.rooms-strip {
  display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 56px var(--gutter) 12px; scroll-padding: 0 var(--gutter);
  scrollbar-width: thin; overscroll-behavior-x: contain;
}
.room { flex: 0 0 min(78vw, 520px); scroll-snap-align: start; }
.room .frame { aspect-ratio: 1800 / 1004; }
.room .frame img { width: 100%; height: 100%; object-fit: cover; }
.room p { margin-top: 12px; font-family: var(--serif); font-size: 24px; }

/* Configurador */
.config { background: var(--trav); }
.config-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(320px, 1fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.config-main { aspect-ratio: 1800 / 1004; }
.config-step { margin: 36px 0 16px; color: var(--muted); }
.finish-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.finish-card {
  text-align: left; background: var(--paper); border: 1px solid var(--line); padding: 0; cursor: pointer;
  display: flex; flex-direction: column; transition: border-color .25s, transform .35s var(--ease);
  border-radius: 2px; overflow: hidden;
}
.finish-card:hover { transform: translateY(-2px); }
.finish-card[aria-checked="true"] { border-color: var(--bronze); box-shadow: inset 0 0 0 1px var(--bronze); }
.finish-card .fc-img { aspect-ratio: 16 / 10; overflow: hidden; position: relative; }
.finish-card .fc-img .ilus, .room .ilus { font-size: 9px; padding: 2px 6px; right: 6px; bottom: 6px; }
.finish-card .fc-img img { width: 100%; height: 100%; object-fit: cover; }
.finish-card .fc-b { padding: 14px 16px 16px; display: grid; gap: 8px; }
.finish-card .fc-name { font-family: var(--serif); font-size: 24px; line-height: 1; }
.finish-card .fc-ppm { font-size: 13px; color: var(--bronze); font-variant-numeric: tabular-nums; }
.finish-card ul { display: grid; gap: 3px; font-size: 13px; color: rgba(27, 26, 23, 0.75); }
.config-changes { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
.config-plan { aspect-ratio: 1800 / 1004; background: var(--navy); }
.changes-list { display: grid; gap: 8px; }
.check {
  display: grid; grid-template-columns: 22px 1fr auto; gap: 12px; align-items: start;
  padding: 12px 14px; background: var(--paper); border: 1px solid var(--line); cursor: pointer; border-radius: 2px;
}
.check input { appearance: none; -webkit-appearance: none; width: 20px; height: 20px; margin: 1px 0 0; border: 1.5px solid var(--ink); border-radius: 2px; display: grid; place-items: center; cursor: pointer; }
.check input::after { content: ""; width: 10px; height: 5px; border-left: 1.5px solid var(--paper); border-bottom: 1.5px solid var(--paper); transform: rotate(-45deg) translate(1px, -1px); opacity: 0; }
.check input:checked { background: var(--ink); }
.check input:checked::after { opacity: 1; }
.check:has(input:checked) { border-color: var(--ink); }
.check .c-price { font-variant-numeric: tabular-nums; font-size: 13px; color: var(--muted); white-space: nowrap; }
.check .c-label { font-size: 14px; line-height: 1.4; }

.price-panel { position: sticky; top: calc(var(--header-h) + 24px); background: var(--paper); padding: 28px; border: 1px solid var(--line); border-radius: 2px; }
.pp-unit { font-family: var(--serif); font-size: 30px; line-height: 1.05; }
.pp-rows { margin: 20px 0 8px; display: grid; }
.pp-row { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; font-size: 14px; }
.pp-row span:first-child { color: rgba(27, 26, 23, 0.72); }
.pp-row span:last-child { white-space: nowrap; text-align: right; }
.pp-row.sub { font-weight: 500; border-bottom-color: var(--ink); }
.tabs { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--ink); border-radius: 999px; padding: 3px; margin: 18px 0; }
.tab { border: 0; background: transparent; border-radius: 999px; min-height: 38px; cursor: pointer; font-size: 13px; }
.tab[aria-selected="true"] { background: var(--ink); color: var(--paper); }
.pp-total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.pp-total strong { font-family: var(--serif); font-weight: 300; font-size: clamp(36px, 3.2vw, 48px); line-height: 1; font-variant-numeric: lining-nums tabular-nums; letter-spacing: -0.01em; }
.pp-fin { margin-top: 12px; display: grid; gap: 4px; font-size: 14px; font-variant-numeric: tabular-nums; }
.pp-fin div { display: flex; justify-content: space-between; gap: 12px; }
.pp-note { margin-top: 12px; font-size: 13px; color: var(--muted); }
.scarcity { margin-top: 18px; padding: 12px 14px; border-left: 2px solid var(--bronze); background: rgba(176, 138, 87, 0.08); font-size: 14px; }
.pp-cta { margin-top: 20px; width: 100%; }
.pp-sold { margin-top: 10px; color: var(--bronze); font-size: 14px; }

/* Desarrolladora */
.dev { background: var(--paper); padding-bottom: 0; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); margin-bottom: clamp(48px, 5vw, 80px); }
.stats div { padding: 26px 20px 26px 0; border-bottom: 1px solid var(--line); }
.stats dd { font-family: var(--serif); font-weight: 300; font-size: clamp(64px, 7vw, 120px); line-height: 1; font-variant-numeric: lining-nums tabular-nums; letter-spacing: -0.02em; }
.stats dt { margin-top: 10px; color: var(--muted); max-width: 20ch; }
.sub-label { color: var(--muted); margin-bottom: 22px; }
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.member { transition: transform .45s var(--ease); }
.member:hover { transform: translateY(-6px); }
.member .frame { aspect-ratio: 725 / 900; }
.member .frame img { width: 100%; height: 100%; object-fit: cover; }
.member h4 { margin-top: 14px; font-family: var(--serif); font-weight: 300; font-size: 26px; line-height: 1.1; }
.member .role { margin-top: 4px; color: var(--bronze); }
.member .bio { margin-top: 8px; font-size: 14px; color: rgba(27, 26, 23, 0.75); }
.awards-wrap { margin-top: clamp(48px, 5vw, 80px); }
.awards { border-top: 1px solid var(--line); }
.awards li { display: grid; grid-template-columns: 90px 1fr 1.2fr; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.awards .yr { font-variant-numeric: tabular-nums; color: var(--muted); }
.awards .aw { font-family: var(--serif); font-size: clamp(24px, 2.2vw, 32px); line-height: 1.1; }
.awards .dt { color: rgba(27, 26, 23, 0.72); font-size: 14px; }

.projects { margin-top: clamp(56px, 6vw, 96px); background: var(--night); color: var(--trav); padding: clamp(80px, 9vw, 130px) 0 clamp(60px, 6vw, 100px); }
.projects-head { margin-bottom: 40px; }
.projects-head .label { color: rgba(233, 223, 208, 0.6); margin-bottom: 16px; }
.projects-stack { position: relative; width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.pcard {
  display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 48px);
  background: var(--navy); border: 1px solid var(--line-dark); padding: clamp(16px, 2vw, 24px);
  border-radius: 2px; margin-bottom: 20px;
}
.pcard .frame { aspect-ratio: 886 / 1100; max-height: 62vh; background: var(--night); }
.pcard .frame img { width: 100%; height: 100%; object-fit: cover; }
.pcard .pc-b { display: flex; flex-direction: column; justify-content: space-between; padding: 10px 4px; gap: 20px; }
.pcard .pc-n { font-family: var(--serif); font-size: clamp(56px, 6vw, 110px); line-height: 0.9; letter-spacing: -0.02em; }
.pcard .pc-barrio { font-family: var(--serif); font-style: italic; font-size: clamp(22px, 2vw, 30px); color: var(--trav); opacity: .85; }
.pcard dl { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line-dark); }
.pcard dl div { padding: 12px 0; border-bottom: 1px solid var(--line-dark); }
.pcard dt { color: rgba(233, 223, 208, 0.55); }
.pcard dd { font-size: 17px; font-variant-numeric: tabular-nums; }
.pcard .pc-status { color: var(--bronze); }
.projects-stack.is-stacked { height: min(calc(100vh - var(--header-h) - 60px), 700px); }
.projects-stack.is-stacked .pcard { position: absolute; top: 0; bottom: 0; left: var(--gutter); right: var(--gutter); margin: 0; transform-origin: 50% 0; will-change: transform; }
.projects-stack.is-stacked .pcard .frame { aspect-ratio: auto; height: 100%; max-height: none; }

/* Cierre */
.cierre { position: relative; overflow: hidden; background: var(--trav); padding: clamp(72px, 8vw, 120px) 0 0; }
.cierre-inner { display: grid; gap: 28px; justify-items: start; position: relative; z-index: 2; }
.cierre-address { font-family: var(--serif); font-size: clamp(28px, 3vw, 46px); line-height: 1.15; max-width: 24ch; }
.cierre-word {
  font-family: var(--serif); font-weight: 300; color: var(--olive);
  font-size: clamp(160px, 34vw, 620px); line-height: 0.72; letter-spacing: -0.04em;
  margin: clamp(30px, 4vw, 60px) 0 -0.16em; padding-left: var(--gutter); white-space: nowrap;
}

/* Footer */
.site-footer { background: var(--night); color: rgba(233, 223, 208, 0.8); padding: 40px 0 calc(40px + env(safe-area-inset-bottom)); }
.footer-inner { display: grid; gap: 18px; }
.demo-notice { font-size: 13px; color: var(--trav); max-width: 80ch; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 13px; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--bronze); }

.float-cta {
  display: none; position: fixed; z-index: 90; left: 16px; right: 16px; bottom: calc(14px + env(safe-area-inset-bottom));
  box-shadow: 0 10px 30px rgba(11, 18, 32, 0.3);
  transform: translateY(140%); transition: transform .45s var(--ease);
}
.float-cta.is-on { transform: translateY(0); }

/* Quiz */
.quiz { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; }
.quiz-backdrop { position: absolute; inset: 0; background: rgba(11, 18, 32, 0.62); }
.quiz-sheet {
  position: relative; width: min(640px, calc(100vw - 32px)); max-height: min(860px, calc(100vh - 48px));
  background: var(--paper); color: var(--ink); display: flex; flex-direction: column; border-radius: 2px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}
.quiz-top { display: flex; align-items: center; justify-content: space-between; padding: 8px 8px 8px 8px; }
.quiz-top .label { color: var(--muted); }
.quiz-back[disabled] { visibility: hidden; }
.quiz-progress { height: 2px; background: var(--line); margin: 0 24px; }
.quiz-progress span { display: block; height: 100%; width: 0; background: var(--bronze); transition: width .4s var(--ease); }
.quiz-body { padding: 28px clamp(20px, 4vw, 40px) 32px; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.q-step-n { color: var(--muted); margin-bottom: 10px; }
.q-title { font-family: var(--serif); font-weight: 300; font-size: clamp(32px, 4vw, 44px); line-height: 1.02; letter-spacing: -0.01em; margin-bottom: 24px; }
.q-sub { font-size: 12px; margin: 22px 0 10px; color: var(--muted); }
.q-options { display: grid; gap: 10px; }
.q-opt {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 54px; padding: 12px 18px; border: 1px solid var(--line); background: transparent;
  text-align: left; cursor: pointer; border-radius: 2px; font-size: 15px;
  transition: border-color .2s, background-color .2s;
}
.q-opt:hover { border-color: var(--ink); }
.q-opt[aria-checked="true"], .q-opt[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.q-units { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 8px; }
.q-units .q-opt { min-height: 58px; flex-direction: column; align-items: flex-start; justify-content: center; gap: 0; padding: 8px 12px; font-size: 14px; }
.q-units .q-opt small { font-size: 11px; opacity: .7; }
.q-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.q-row .q-opt { min-height: 48px; justify-content: center; text-align: center; padding: 8px; font-size: 14px; }
.q-quote { margin-top: 22px; padding: 14px 16px; background: var(--trav); display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-variant-numeric: tabular-nums; }
.q-quote strong { font-family: var(--serif); font-weight: 300; font-size: 30px; }
.q-actions { display: flex; gap: 10px; margin-top: 28px; }
.q-actions .btn { flex: 1; }
.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field input {
  min-height: 52px; padding: 0 16px; border: 1px solid rgba(27, 26, 23, 0.3); background: var(--paper); border-radius: 2px;
  font: inherit; font-size: 16px; color: var(--ink);
}
.field input:focus { outline: none; border-color: var(--bronze); }
.field .err { color: var(--bronze); font-size: 13px; min-height: 1em; }
.field.invalid input { border-color: var(--bronze); border-width: 1.5px; }
.q-dates { display: grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: 8px; }
.q-dates .q-opt { flex-direction: column; justify-content: center; align-items: center; gap: 0; padding: 8px 4px; min-height: 64px; text-align: center; }
.q-dates .q-opt small { font-size: 11px; opacity: .7; text-transform: capitalize; }
.q-dates .q-opt b { font-weight: 400; font-family: var(--serif); font-size: 24px; line-height: 1; }
.q-thanks-list { border-top: 1px solid var(--line); margin-top: 8px; }
.q-thanks-list div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.q-thanks-list dt { color: var(--muted); }
.q-thanks-list dd { text-align: right; font-variant-numeric: tabular-nums; }
.q-lead { font-size: 16px; margin: -8px 0 18px; }

/* Movimiento reducido: sin transiciones largas */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; }
  .xfade img, .compare img { transition-duration: .3s; }
  .member:hover, .finish-card:hover { transform: none; }
}

/* Tablet y mobile */
@media (max-width: 1100px) {
  .nav { display: none; }
  .menu-toggle { display: grid; }
  .site-header { gap: 12px; }
  .team { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1101px) and (max-width: 1300px) {
  .nav { gap: 22px; }
  .site-header { gap: 22px; }
}
@media (max-width: 899px) {
  :root { --header-h: 60px; }
  .nav { display: none; }
  .menu-toggle { display: grid; }
  .site-header { gap: 8px; padding-right: 8px; }
  .wordmark { font-size: 26px; }
  .header-cta { min-height: 36px; padding: 0 14px; font-size: 12px; }

  .hero-overlay { top: auto; bottom: 64px; transform: none; max-width: none; right: var(--gutter); }
  .hero-title { font-size: clamp(64px, 20vw, 96px); text-shadow: 0 2px 24px rgba(11, 18, 32, 0.7); }
  .hero-kicker { margin-bottom: 10px; text-shadow: 0 1px 12px rgba(11, 18, 32, 0.9); }
  .hero-tagline { font-size: 21px; margin-top: 10px; text-shadow: 0 1px 14px rgba(11, 18, 32, 0.9); max-width: 22ch; }
  .chip-hero { margin-top: 14px; font-size: 12px; min-height: 32px; }
  .hero-hint { bottom: 22px; right: var(--gutter); }
  .ilus-hero { bottom: auto; top: calc(var(--header-h) + 8px); }
  .floor-card { left: 16px; right: 16px; width: auto; }

  .obra-status { grid-template-columns: 1fr; gap: 24px; }
  .build-caption { position: static; max-width: none; padding: 16px var(--gutter) 18px; flex-direction: column; gap: 4px; }
  .compare-grid { grid-template-columns: 1fr; gap: 48px; }
  .cmp-handle { width: 46px; height: 46px; }

  .hitos-track { flex-direction: column; width: auto; padding: 0 var(--gutter); gap: 0; }
  .hito { width: 100%; display: grid; grid-template-columns: 112px 1fr; border-width: 0 0 0 1px; border-style: solid; margin-left: 6px; }
  .hito.next { border-style: dashed; border-width: 0 0 0 1px; }
  .hito { padding: 0 0 22px 18px; background: transparent; }
  .hito::before { content: ""; position: absolute; left: -6px; top: 4px; width: 11px; height: 11px; border-radius: 50%; background: var(--olive); }
  .hito.next::before { background: var(--paper); border: 1px solid var(--muted); }
  .hito.current { background: transparent; color: var(--ink); border-color: var(--bronze); }
  .hito.current::before { background: var(--bronze); box-shadow: 0 0 0 4px rgba(176, 138, 87, 0.25); }
  .hito.current .hito-body { background: var(--bronze); color: var(--paper); }
  .hito-media .ilus { font-size: 8px; padding: 1px 4px; right: 4px; bottom: 4px; letter-spacing: 0.08em; }
  .hito-media { grid-column: 1; grid-row: 1; aspect-ratio: 4 / 3; margin-top: 2px; }
  .hito-media.empty { background: transparent; border: 1px dashed var(--line); }
  .hito-body { grid-column: 2; padding: 0 0 0 14px; gap: 4px; align-content: start; }
  .hito.current .hito-body { padding: 10px 12px; }
  .hito-date { font-size: 24px; }
  .hito-label { font-size: 14px; }

  .floor-row { grid-template-columns: repeat(var(--floors-m, 7), minmax(0, 1fr)); }
  .unit-grid { grid-template-columns: 1fr; }
  .pin .pin-text { display: none; }
  .vista-legend { grid-template-columns: 1fr; }


  .config-grid { grid-template-columns: 1fr; }
  .finish-cards { grid-template-columns: 1fr; }
  .config-changes { grid-template-columns: 1fr; }
  .price-panel { position: static; padding: 22px 18px; }

  .stats { grid-template-columns: 1fr 1fr; }
  .stats div { padding-right: 12px; }
  .team { grid-template-columns: 1fr 1fr; gap: 14px; }
  .member h4 { font-size: 21px; }
  .member .bio { font-size: 12.5px; }
  .awards li { grid-template-columns: 56px 1fr; gap: 4px 14px; }
  .awards .dt { grid-column: 2; }
  .pcard { grid-template-columns: 1fr; }
  .pcard .frame { aspect-ratio: 4 / 3; max-height: none; }

  .float-cta { display: inline-flex; }
  .site-footer { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }

  .quiz { place-items: stretch; }
  .quiz-sheet { width: 100%; max-height: none; height: 100%; height: 100dvh; border-radius: 0; box-shadow: none; }
  .quiz-backdrop { display: none; }
  .q-row .q-opt { font-size: 13px; }
}

/* =========================================================
   v3: imágenes primero
   ========================================================= */

/* Hero: de día a noche */
.hero .hero-title, .hero .hero-tagline, .hero .hero-kicker, .hero .hero-hint { transition: color 2.4s linear 1.2s, text-shadow 2.4s linear 1.2s; }
.hero.is-fast .hero-title, .hero.is-fast .hero-tagline, .hero.is-fast .hero-kicker, .hero.is-fast .hero-hint { transition-duration: .35s; transition-delay: 0s; }
@media (min-width: 900px) {
  .hero.is-day .hero-title, .hero.is-day .hero-tagline { color: var(--navy); }
  .hero.is-day .hero-kicker, .hero.is-day .hero-hint { color: rgba(19, 34, 55, 0.8); }
}
@media (max-width: 899px) {
  .hero.is-day .hero-title, .hero.is-day .hero-tagline, .hero.is-day .hero-kicker { text-shadow: 0 2px 16px rgba(11, 18, 32, 0.95), 0 0 2px rgba(11, 18, 32, 0.6); }
}
.tower-video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  pointer-events: none; background: transparent; opacity: 1; transition: opacity .7s var(--ease);
}
.tower-video.is-out { opacity: 0; transition-duration: 1.2s; }
.tower-video.is-out-fast { opacity: 0; transition-duration: .35s; }
.tower-box.bands-fade .band { transition: opacity 1.2s var(--ease); }

/* Hitos más grandes: la pista fijada llena la pantalla */
@media (min-width: 900px) {
  .hito { width: clamp(300px, 29vw, 520px); }
  .hito-media { aspect-ratio: 4 / 3; }
  .hito-date { font-size: clamp(30px, 2.4vw, 40px); }
  .hito-label { font-size: 16px; }
}

/* Obra: detalles */
.obra-details { margin-top: clamp(40px, 4.5vw, 72px); overflow: hidden; }
.details-head { margin-bottom: 18px; }
.details-head .label { color: var(--muted); }
.details-viewport { overflow: hidden; }
.details-track { display: flex; gap: clamp(12px, 1.4vw, 20px); padding: 0 var(--gutter); width: max-content; will-change: transform; }
.detail { flex: 0 0 auto; width: clamp(240px, 21vw, 400px); }
.detail .frame { aspect-ratio: 4 / 5; }
.detail .frame img { width: 100%; height: 100%; object-fit: cover; }
.detail figcaption { margin-top: 10px; font-family: var(--serif); font-size: clamp(20px, 1.6vw, 26px); line-height: 1.1; }

/* Unidades: números grandes */
.unit-info .u-typ { font-style: normal; font-size: clamp(44px, 4.6vw, 76px); line-height: 0.95; letter-spacing: -0.02em; margin-top: 0; }
.bignums { display: grid; grid-template-columns: repeat(4, auto); justify-content: space-between; gap: 8px 18px; margin-top: 22px; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.bignums dd { font-family: var(--serif); font-weight: 300; font-size: clamp(54px, 5.4vw, 92px); line-height: 0.9; letter-spacing: -0.02em; font-variant-numeric: lining-nums tabular-nums; }
.bignums dd small { font-size: 0.36em; letter-spacing: 0; margin-left: 0.12em; color: var(--muted); }
.bignums dt { margin-top: 8px; color: var(--muted); }
.unit-info .u-copy { margin-top: 16px; font-size: 15px; }
.u-price { margin-top: 14px; display: flex; align-items: baseline; gap: 12px; }
.u-price strong { font-family: var(--serif); font-weight: 300; font-size: clamp(28px, 2.4vw, 38px); line-height: 1; }
.unit-info .u-actions { margin-top: 20px; }

/* Recorrido */
.recorrido { margin-top: clamp(56px, 6vw, 96px); }
.recorrido-head { display: flex; justify-content: space-between; align-items: end; gap: 16px 40px; flex-wrap: wrap; margin-bottom: 22px; }
.recorrido-head .label { color: var(--muted); order: 2; }
.recorrido-main { aspect-ratio: 1800 / 1004; max-height: 86vh; width: 100%; background: var(--navy); }
.recorrido-cap {
  position: absolute; left: 0; bottom: 0; z-index: 3; display: grid; gap: 4px;
  padding: 14px 20px 16px; background: var(--night); color: var(--paper);
  font-family: var(--serif); font-size: clamp(22px, 2.2vw, 34px); line-height: 1.05;
}
.recorrido-cap .label { color: var(--bronze); font-family: var(--sans); }
.recorrido-thumbs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin-top: 10px; }
.r-thumb { padding: 0; border: 0; background: none; cursor: pointer; text-align: left; display: grid; gap: 8px; }
.r-thumb .r-frame { position: relative; display: block; aspect-ratio: 1800 / 1004; overflow: hidden; background: var(--navy); outline: 1px solid transparent; outline-offset: 0; transition: outline-color .25s; }
.r-thumb .r-frame .xfade img { transition-duration: .6s; }
.r-thumb .ilus { font-size: 8px; padding: 1px 5px; right: 5px; bottom: 5px; letter-spacing: 0.08em; }
.r-thumb .r-label { font-size: 13px; color: rgba(27, 26, 23, 0.7); line-height: 1.3; }
.r-thumb[aria-selected="true"] .r-frame { outline: 2px solid var(--ink); outline-offset: 3px; }
.r-thumb[aria-selected="true"] .r-label { color: var(--ink); }
.r-thumb:hover .r-label { color: var(--ink); }

/* Sol: la foto manda */
.sol-head { margin-bottom: clamp(24px, 3vw, 40px); }
.sol-stage { aspect-ratio: 1800 / 1004; max-height: 84vh; width: 100%; background: var(--night); }
.sol-photos { position: absolute; inset: 0; }
.sol-photos img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; user-select: none; -webkit-user-drag: none; }
.sol-photos img:first-child { opacity: 1; }
.sol-hour-big { position: absolute; left: clamp(14px, 2vw, 28px); top: clamp(14px, 2vw, 28px); z-index: 3; display: grid; gap: 6px; color: var(--paper); pointer-events: none; text-shadow: 0 2px 24px rgba(11, 18, 32, 0.55); }
.sol-hour-big span:first-child { font-family: var(--serif); font-weight: 300; font-size: clamp(56px, 7vw, 120px); line-height: 0.85; letter-spacing: -0.02em; }
.sol-hour-big .label { color: var(--paper); }
.sol-inset {
  position: absolute; right: clamp(12px, 1.6vw, 24px); top: clamp(12px, 1.6vw, 24px); z-index: 3;
  width: clamp(190px, 17vw, 250px); padding: 12px 14px 12px; background: var(--navy); color: var(--trav); border-radius: 2px;
}
.sol-inset svg { width: 100%; aspect-ratio: 1; height: auto; overflow: visible; padding: 14px; }
.sol-inset .sol-svg-card { font-size: 24px; }
.sol-inset .sol-svg-flabel { font-size: 17px; }
.sol-inset .sol-svg-night { font-size: 20px; }
.sol-inset .sol-svg-face { stroke-width: 6; }
.sol .sol-facts .label { color: rgba(233, 223, 208, 0.6); }
.sol-range { display: grid; gap: 2px; }
.sol .range-wrap { padding: 0; }

/* Configurador: ambientes y texturas */
.room-tabs { position: absolute; left: 12px; top: 12px; z-index: 3; display: flex; gap: 0; background: var(--paper); border-radius: 999px; padding: 3px; }
.room-tab { border: 0; background: transparent; border-radius: 999px; min-height: 34px; padding: 0 14px; cursor: pointer; font-size: 13px; color: var(--ink); }
.room-tab[aria-selected="true"] { background: var(--ink); color: var(--paper); }
.finish-opt { display: grid; align-content: start; gap: 6px; }
.finish-card { height: auto; }
.finish-card .fc-swatches { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; padding: 10px 10px 0; }
.finish-card .sw { display: grid; gap: 6px; align-content: start; }
.finish-card .sw-img { display: block; aspect-ratio: 1; overflow: hidden; background: var(--trav); }
.finish-card .sw-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.finish-card:hover .sw-img img { transform: scale(1.06); }
.finish-card .sw-label { font-size: 11px; line-height: 1.25; color: rgba(27, 26, 23, 0.72); }
.finish-card .ilus-sw { right: auto; left: 10px; bottom: auto; top: 10px; font-size: 7px; padding: 1px 4px; letter-spacing: 0.08em; }
.finish-cards { align-items: stretch; }
.finish-opt { grid-template-rows: 1fr auto; }
.finish-card { flex-direction: column; justify-content: space-between; }
.finish-card .fc-b { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; padding: 10px 12px 12px; }
.finish-card .fc-name { display: block; }
.finish-card .fc-ppm { display: block; white-space: nowrap; }
.fc-more { font-size: 12px; color: var(--muted); }
.fc-more summary { cursor: pointer; list-style: none; display: inline-flex; align-items: center; gap: 6px; min-height: 28px; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.fc-more summary::-webkit-details-marker { display: none; }
.fc-more ul { display: grid; gap: 2px; padding: 2px 0 4px; color: rgba(27, 26, 23, 0.75); }

/* Amenities */
.amenities { background: var(--paper); }
.am-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(28px, 3vw, 44px) clamp(14px, 1.6vw, 24px); }
.am { grid-column: span 2; }
.am-0 { grid-column: 1 / -1; }
.am-1, .am-2 { grid-column: span 3; }
.am .frame { aspect-ratio: 1800 / 1004; }
.am-0 .frame { aspect-ratio: 21 / 9; max-height: 82vh; }
.am .frame img { width: 100%; height: 100%; object-fit: cover; }
.am figcaption { margin-top: 12px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 14px; }
.am-label { font-family: var(--serif); font-size: clamp(24px, 2vw, 32px); line-height: 1.05; }
.am-0 .am-label { font-size: clamp(30px, 3vw, 48px); }
.am-copy { font-size: 14px; color: rgba(27, 26, 23, 0.68); }

/* Barrio */
.barrio { background: var(--trav); }
.barrio-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(12px, 1.4vw, 20px); }
.nb .frame { aspect-ratio: 4 / 5; }
.nb .frame img { width: 100%; height: 100%; object-fit: cover; }
.nb-0 { grid-column: 1 / 3; grid-row: 1 / 3; }
.nb-1 { grid-column: 3; grid-row: 1; }
.nb-2 { grid-column: 3; grid-row: 2; }
.nb-3 { grid-column: 4 / 6; grid-row: 1 / 3; }
.nb-4 { grid-column: 6; grid-row: 1; }
.nb-5 { grid-column: 6; grid-row: 2; }
.nb-0, .nb-3 { display: grid; }
.nb-0 .frame, .nb-3 .frame { aspect-ratio: auto; height: 100%; min-height: 0; }
.nb-cap {
  position: absolute; left: 0; bottom: 0; z-index: 3; display: grid; gap: 4px;
  padding: 10px 14px 12px; background: var(--night); color: var(--paper); max-width: calc(100% - 12px);
}
.nb-label { font-family: var(--serif); font-size: clamp(17px, 1.35vw, 22px); line-height: 1.05; }
.nb-0 .nb-label, .nb-3 .nb-label { font-size: clamp(24px, 2.2vw, 36px); }
.nb-dist { color: var(--bronze); }
.nb .ilus { bottom: auto; top: 10px; }

/* Equipo: en la obra */
.member .frame { aspect-ratio: 4 / 5; }
.member .frame img { position: absolute; inset: 0; }
.member .m-studio { opacity: 0; transition: opacity .5s var(--ease); }
@media (hover: hover) { .member:hover .m-studio { opacity: 1; } }
.member .bio { margin-top: 6px; font-size: 13.5px; }

@media (max-width: 899px) {
  .obra-details { margin-top: 40px; }
  .details-viewport { overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--gutter); overscroll-behavior-x: contain; scrollbar-width: none; }
  .details-viewport::-webkit-scrollbar { display: none; }
  .details-track { gap: 10px; }
  .detail { width: 62vw; scroll-snap-align: start; }
  .detail figcaption { font-size: 19px; }

  .bignums { gap: 6px 10px; }
  .bignums dd { font-size: clamp(44px, 13vw, 60px); }
  .bignums dt { font-size: 10px; letter-spacing: 0.1em; }

  .recorrido-main { aspect-ratio: 4 / 5; max-height: 78vh; }
  .recorrido-cap { font-size: 22px; padding: 10px 14px 12px; }
  .recorrido-thumbs { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 8px; margin: 10px calc(-1 * var(--gutter)) 0; padding: 4px var(--gutter) 4px; scroll-padding: 0 var(--gutter); scrollbar-width: none; }
  .recorrido-thumbs::-webkit-scrollbar { display: none; }
  .r-thumb { flex: 0 0 34vw; scroll-snap-align: start; }
  .r-thumb .r-label { font-size: 12px; }

  .sol-stage { aspect-ratio: 4 / 5; max-height: 80vh; }
  .sol-inset { width: 132px; padding: 6px 8px 8px; }
  .sol-inset svg { padding: 10px; }
  .sol-facts { grid-template-columns: 1fr; gap: 2px; }
  .sol-facts div { display: flex; justify-content: space-between; gap: 6px; align-items: baseline; }
  .sol-facts dd { font-size: 12px; margin: 0; }
  .sol-facts div:last-child { display: grid; }
  .sol-hour-big span:first-child { font-size: 56px; }
  .sol-controls { grid-template-columns: 1fr; gap: 12px; }

  .room-tabs { left: 8px; top: 8px; }
  .room-tab { padding: 0 11px; font-size: 12px; min-height: 32px; }
  .finish-card .fc-name { font-size: 22px; }

  .compare-room { aspect-ratio: 4 / 5; max-height: 74vh; width: 100%; }
  .am-grid { grid-template-columns: 1fr; gap: 26px; }
  .am, .am-0, .am-1, .am-2 { grid-column: auto; }
  .am .frame, .am-0 .frame { aspect-ratio: 4 / 3.4; max-height: none; }

  .barrio-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .nb-1, .nb-2, .nb-4, .nb-5 { grid-column: auto; grid-row: auto; }
  .nb-0, .nb-3 { grid-column: 1 / -1; grid-row: auto; display: block; }
  .nb-0 .frame, .nb-3 .frame { aspect-ratio: 4 / 5; height: auto; max-height: 72vh; width: 100%; }
  .nb-0 .nb-label, .nb-3 .nb-label { font-size: 24px; }
  .nb-cap { padding: 7px 9px 8px; max-width: calc(100% - 8px); }
  .nb-label { font-size: 17px; }
  .nb-dist { font-size: 9px; letter-spacing: 0.1em; }
  .nb .ilus { font-size: 8px; padding: 1px 4px; top: 6px; right: 6px; }

  .member .bio { font-size: 12.5px; }
}
@media (prefers-reduced-motion: reduce) {
  .tower-video { display: none; }
  .r-thumb .r-frame .xfade img, .member .m-studio { transition-duration: .3s; }
}

/* Hitos pendientes: el render de cómo va a quedar */
.hito-media.empty { display: block; background: var(--navy); }
.hito-media.empty img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); opacity: .55; }
.hito-tag { position: absolute; left: 8px; top: 8px; z-index: 2; color: var(--paper); background: rgba(11, 18, 32, 0.6); padding: 2px 7px; font-size: 9px; }
@media (max-width: 899px) { .hito-media.empty { border: 0; background: var(--navy); } .hito-tag { font-size: 8px; left: 4px; top: 4px; padding: 1px 4px; } }
