/* Propuesta de diseño (muestra) © 2026 Facundo Sánchez. Todos los derechos reservados. */
/* Edificio San Martín — muestra v2 (referencia de estilo: iSpiderMedia). Tokens en DISENO.md */
:root {
  --white: #ffffff;
  --gray: #f4f5f6;
  --navy: #233646;
  --navy-2: #2e4659;
  --ink: #16202a;
  --muted: #5d6973;
  --olive: #aaaa7e;
  --line: #e4e7ea;
  --line-strong: #cfd5da;

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", "Segoe UI", Roboto, Arial, sans-serif;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);

  --r-sm: 12px;
  --r-md: 20px;
  --r-lg: 28px;
  --wrap: 1200px;
  --gutter: clamp(20px, 5vw, 48px);
  --section: clamp(88px, 11vw, 150px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.55; color: var(--ink); background: var(--white);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
p { margin: 0; }
h1, h2, h3 { margin: 0; color: var(--ink); }
h1 { font-size: clamp(46px, 6.4vw, 92px); font-weight: 300; line-height: 1.02; letter-spacing: -0.035em; max-width: 12ch; }
h2 { font-size: clamp(36px, 4.6vw, 64px); font-weight: 300; line-height: 1.05; letter-spacing: -0.03em; }
h3 { font-size: 19px; font-weight: 500; line-height: 1.3; letter-spacing: -0.012em; }
.sub { font-size: clamp(17px, 1.4vw, 19px); color: var(--muted); line-height: 1.55; max-width: 36em; }
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.section-head { display: grid; gap: 16px; margin-bottom: 56px; max-width: 760px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 14px; border-radius: var(--r-sm); }
:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; border-radius: 8px; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 54px; padding: 0 26px; border-radius: 999px; border: 1px solid transparent;
  font-size: 16px; font-weight: 500; letter-spacing: -0.005em; text-decoration: none; white-space: nowrap;
  cursor: pointer; user-select: none; -webkit-tap-highlight-color: transparent;
  transition: transform 160ms var(--ease-out), background-color 220ms ease, border-color 220ms ease, color 220ms ease, box-shadow 220ms ease;
}
.btn:active { transform: scale(0.97); }
.btn .arr, .btn .ico { width: 18px; height: 18px; flex: none; }
.btn .arr { transition: transform 260ms var(--ease-out); }
.btn--primary { background: var(--navy); color: #fff; box-shadow: 0 8px 24px -10px rgba(35, 54, 70, 0.6); }
.btn--glass { background: rgba(255, 255, 255, 0.55); color: var(--ink); border-color: rgba(255, 255, 255, 0.8); -webkit-backdrop-filter: blur(14px) saturate(160%); backdrop-filter: blur(14px) saturate(160%); }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--line-strong); }
.btn--white { background: #fff; color: var(--navy); }
.btn--sm { height: 42px; padding: 0 18px; font-size: 15px; }
.btn--lg { height: 60px; padding: 0 32px; font-size: 17px; }
@media (hover: hover) and (pointer: fine) {
  .btn:hover .arr { transform: translateX(3px); }
  .btn--primary:hover { background: var(--navy-2); }
  .btn--glass:hover { background: rgba(255, 255, 255, 0.8); }
  .btn--ghost:hover { border-color: var(--navy); }
  .btn--white:hover { background: #eef1f3; }
}

/* ---------- Menú flotante ---------- */
.nav {
  position: fixed; z-index: 50; top: 14px; left: 50%; transform: translateX(-50%);
  width: min(calc(100% - 28px), 1200px); height: 64px; padding: 0 10px 0 22px;
  display: flex; align-items: center; gap: 28px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.72); border: 1px solid rgba(255, 255, 255, 0.85);
  -webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 10px 40px -18px rgba(22, 32, 42, 0.35);
  transition: background-color 300ms ease, box-shadow 300ms ease;
}
.nav.is-scrolled { background: rgba(255, 255, 255, 0.88); box-shadow: 0 10px 40px -16px rgba(22, 32, 42, 0.28); }
.nav__logo img { width: 124px; }
.nav__links { display: flex; gap: 30px; margin-left: auto; }
.nav__links a { font-size: 15px; color: var(--muted); text-decoration: none; transition: color 200ms ease; }
@media (hover: hover) and (pointer: fine) { .nav__links a:hover { color: var(--ink); } }
@media (max-width: 820px) {
  .nav { height: 58px; padding-left: 18px; }
  .nav__links { display: none; }
  .nav .btn { margin-left: auto; }
  .nav__logo img { width: 112px; }
}

/* ---------- Portada ---------- */
.hero { position: relative; height: 100svh; min-height: 660px; max-height: 1040px; overflow: hidden; background: #e4edf2; }
#building { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: pan-y; cursor: grab; outline: none; }
#building.is-dragging { cursor: grabbing; }
#building.is-over-floor { cursor: pointer; }
.hero__veil { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(255, 255, 255, 0.78) 0%, rgba(255, 255, 255, 0.45) 34%, rgba(255, 255, 255, 0) 58%); }
.hero__content { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: center; gap: 28px; padding-top: 70px; padding-bottom: 110px; pointer-events: none; }
.hero__content a { pointer-events: auto; }
.hero__panel {
  display: grid; gap: 26px; justify-items: start; width: fit-content; max-width: 620px; padding: 44px 44px 40px; border-radius: var(--r-lg);
  background: rgba(255, 255, 255, 0.66); border: 1px solid rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: blur(22px) saturate(170%); backdrop-filter: blur(22px) saturate(170%);
  box-shadow: 0 30px 70px -40px rgba(22, 32, 42, 0.45); pointer-events: auto;
}
.hero__panel h1 { font-size: clamp(44px, 5.2vw, 76px); }
.hero__lead { font-size: clamp(17px, 1.35vw, 19px); color: #2f3b46; max-width: 29em; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__bar { position: absolute; z-index: 2; left: 0; right: 0; bottom: 28px; display: flex; align-items: center; justify-content: space-between; gap: 16px; pointer-events: none; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pills li, .hint {
  height: 38px; padding: 0 16px; display: inline-flex; align-items: center; gap: 8px; border-radius: 999px;
  font-size: 14px; color: var(--ink); background: rgba(255, 255, 255, 0.62); border: 1px solid rgba(255, 255, 255, 0.85);
  -webkit-backdrop-filter: blur(14px) saturate(160%); backdrop-filter: blur(14px) saturate(160%);
}
.hint { color: var(--muted); }
.hint svg { width: 18px; height: 18px; }
.floor-tag {
  position: absolute; z-index: 3; left: 0; top: 0; pointer-events: none; white-space: nowrap;
  background: var(--navy); color: #fff; font-size: 14px; font-weight: 500; padding: 8px 14px; border-radius: 999px;
  opacity: 0; transform: translate(-50%, -50%) scale(0.96); transition: opacity 160ms ease, transform 200ms var(--ease-out);
}
.floor-tag.is-on { opacity: 1; transform: translate(-50%, -50%) scale(1); }

/* entrada orquestada (una sola vez) */
.enter { opacity: 0; transform: translateY(16px); filter: blur(8px); }
.is-ready .enter { opacity: 1; transform: none; filter: blur(0); transition: opacity 800ms var(--ease-out), transform 900ms var(--ease-out), filter 800ms var(--ease-out); transition-delay: calc(var(--d) * 90ms + 150ms); }

@media (max-width: 900px) {
  .hero { min-height: 720px; max-height: none; }
  .hero__veil { background: linear-gradient(180deg, rgba(255, 255, 255, 0.82) 0%, rgba(255, 255, 255, 0.55) 34%, rgba(255, 255, 255, 0) 52%); }
  .hero__content { justify-content: flex-start; padding-top: 104px; gap: 20px; }
  .hero__panel { padding: 0; background: none; border: 0; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; gap: 20px; }
  .hero__lead { font-size: 16px; }
  .hero h1 { font-size: 40px; }
  .hero__ctas { flex-wrap: nowrap; gap: 8px; }
  .hero__ctas .btn { height: 48px; padding: 0 18px; font-size: 15px; }
  .hint { display: none; }
  .hero__bar { bottom: 18px; }
  .pills li { height: 34px; font-size: 13px; padding: 0 13px; }
  .pills li:nth-child(3) { display: none; }
}

/* ---------- Fondo ambiente y vidrio (mismo lenguaje que el panel de la portada) ---------- */
body { background: #fbfcfd; }
.ambient {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(42vw 42vw at 88% 12%, rgba(150, 190, 222, 0.34), transparent 70%),
    radial-gradient(40vw 40vw at 6% 48%, rgba(214, 176, 146, 0.22), transparent 70%),
    radial-gradient(46vw 36vw at 72% 96%, rgba(35, 54, 70, 0.10), transparent 72%);
}
.glass {
  position: relative; background: rgba(255, 255, 255, 0.62); border: 1px solid rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(22px) saturate(170%); backdrop-filter: blur(22px) saturate(170%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset, 0 24px 60px -36px rgba(22, 32, 42, 0.38);
}
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: var(--navy); letter-spacing: 0.01em; margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--olive); }

/* revelado al desplazar */
.js [data-reveal] {
  opacity: 0; transform: translateY(28px); filter: blur(10px);
  transition: opacity 900ms var(--ease-out), transform 1000ms var(--ease-out), filter 900ms var(--ease-out);
  transition-delay: calc(var(--i, 0) * 80ms);
}
.js [data-reveal].is-in { opacity: 1; transform: none; filter: blur(0); }
.js [data-reveal="img"] { opacity: 1; filter: none; transform: none; clip-path: inset(9% 7% 9% 7% round 28px); transition: clip-path 1300ms var(--ease-out); }
.js [data-reveal="img"].is-in { clip-path: inset(0 0 0 0 round 28px); }
[data-parallax] { will-change: transform; }

/* ---------- Presentación ---------- */
.statement { padding-top: var(--section); padding-bottom: calc(var(--section) * 0.75); }
.statement__text { font-size: clamp(28px, 3.4vw, 48px); font-weight: 300; line-height: 1.22; letter-spacing: -0.024em; color: var(--ink); max-width: 25ch; }
.js .statement__text .w { opacity: 0.16; transition: opacity 400ms ease; }
.js .statement__text .w.on { opacity: 1; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: clamp(48px, 7vw, 88px); }
.stats li { display: grid; gap: 6px; padding: 26px 24px 24px; border-radius: var(--r-md); }
.stats b { font-size: clamp(34px, 3.4vw, 46px); font-weight: 300; letter-spacing: -0.035em; color: var(--navy); line-height: 1; font-variant-numeric: tabular-nums; }
.stats li > span { font-size: 15px; color: var(--muted); }
@media (max-width: 900px) { .stats { grid-template-columns: 1fr 1fr; } }

/* ---------- Departamentos ---------- */
.deptos { padding-bottom: var(--section); }
.deptos__grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
.picker { position: sticky; top: 104px; display: grid; gap: 20px; padding: clamp(26px, 3vw, 40px); border-radius: var(--r-lg); }
.picker h2 { font-size: clamp(34px, 3.6vw, 52px); }
.picker .sub { margin-bottom: 8px; font-size: 17px; }
.picker__group { display: grid; gap: 14px; padding-top: 22px; border-top: 1px solid rgba(22, 32, 42, 0.08); }
.picker__label { font-size: 14px; color: var(--muted); }
.circles { display: flex; flex-wrap: wrap; gap: 14px; }
.circle { position: relative; display: grid; justify-items: center; gap: 8px; background: none; border: 0; padding: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.circle__dot {
  display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.95); background: rgba(255, 255, 255, 0.75);
  color: var(--ink); font-weight: 500; letter-spacing: -0.02em; box-shadow: 0 6px 18px -12px rgba(22, 32, 42, 0.35);
  transition: transform 220ms var(--ease-out), background-color 240ms ease, border-color 240ms ease, color 240ms ease, box-shadow 300ms ease;
}
.circles--floor .circle__dot { width: 68px; height: 68px; font-size: 19px; }
.circles--unit .circle__dot { width: 92px; height: 92px; font-size: 30px; font-weight: 300; }
.circle__cap { font-size: 13px; color: var(--muted); line-height: 1.3; text-align: center; }
.circle__cap b { display: block; font-weight: 500; color: var(--ink); }
.circle:active .circle__dot { transform: scale(0.94); }
.circle[aria-checked="true"] .circle__dot { background: var(--navy); border-color: var(--navy); color: #fff; box-shadow: 0 12px 28px -12px rgba(35, 54, 70, 0.8); }
.circle.is-off .circle__dot { border: 1px dashed #b3bcc4; color: #97a1aa; background: rgba(255, 255, 255, 0.3); box-shadow: none; }
.circle.is-off[aria-checked="true"] .circle__dot { background: #5e6b77; border: 1px solid #5e6b77; color: #fff; }
.circle .avail { position: absolute; top: 3px; right: 3px; width: 10px; height: 10px; border-radius: 50%; background: var(--olive); box-shadow: 0 0 0 2px #fff; }
.circles--unit .circle .avail { top: 6px; right: 6px; }
.circles .circle { animation: pop 520ms var(--ease-out) both; animation-delay: calc(var(--k, 0) * 50ms); }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(0.92); } }
@media (hover: hover) and (pointer: fine) {
  .circle:hover .circle__dot { transform: translateY(-2px); box-shadow: 0 12px 26px -14px rgba(22, 32, 42, 0.5); }
  .circle:not(.is-off):hover .circle__dot { border-color: var(--navy); }
}
.legend { display: flex; flex-wrap: wrap; gap: 18px; font-size: 13px; color: var(--muted); padding-top: 4px; }
.legend span { display: inline-flex; align-items: center; gap: 7px; }
.legend i { width: 9px; height: 9px; border-radius: 50%; background: var(--olive); }
.legend i.off { background: transparent; box-shadow: inset 0 0 0 1px #9aa4ad; }

/* tarjeta azul de la unidad */
.card { position: relative; overflow: hidden; background: var(--navy); color: #fff; border-radius: var(--r-lg); padding: 12px 12px 30px; box-shadow: 0 40px 80px -40px rgba(22, 32, 42, 0.7); isolation: isolate; }
.card::before { content: ""; position: absolute; z-index: -1; width: 520px; height: 520px; right: -200px; bottom: -260px; border-radius: 50%; background: radial-gradient(circle, rgba(150, 190, 222, 0.28), transparent 65%); pointer-events: none; }
.card__body { display: grid; gap: 22px; transition: opacity 260ms var(--ease-out), filter 260ms var(--ease-out), transform 320ms var(--ease-out); }
.card.is-swapping .card__body { opacity: 0; filter: blur(8px); transform: translateY(8px) scale(0.99); transition-duration: 140ms; }
.photo { position: relative; aspect-ratio: 3 / 2; border-radius: 20px; overflow: hidden; background: #34495a; }
.photo img { width: 100%; height: 100%; object-fit: cover; transition: opacity 320ms var(--ease-out), transform 900ms var(--ease-out), filter 320ms var(--ease-out); }
.photo img.is-loading { opacity: 0; transform: scale(1.03); filter: blur(6px); }
.photo__chip { position: absolute; left: 14px; top: 14px; font-size: 13px; padding: 7px 12px; border-radius: 999px; color: #fff; background: rgba(20, 30, 40, 0.28); border: 1px solid rgba(255, 255, 255, 0.35); -webkit-backdrop-filter: blur(14px) saturate(160%); backdrop-filter: blur(14px) saturate(160%); }
.thumbs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 3px 18px 3px 3px; margin: -3px 0; }
.thumbs::-webkit-scrollbar { display: none; }
.thumb { flex: none; width: 72px; height: 54px; border-radius: 10px; overflow: hidden; border: 0; padding: 0; cursor: pointer; opacity: 0.5; background: #34495a; transition: opacity 200ms ease, transform 160ms var(--ease-out); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb[aria-current="true"] { opacity: 1; box-shadow: 0 0 0 2px var(--navy), 0 0 0 3.5px #fff; }
.thumb:active { transform: scale(0.95); }
@media (hover: hover) and (pointer: fine) { .thumb:hover { opacity: 0.9; } }
.card__info { display: grid; gap: 20px; padding: 0 18px; }
.card__title h3 { color: #fff; font-size: clamp(36px, 4vw, 52px); font-weight: 300; letter-spacing: -0.035em; line-height: 1; }
.card__title p { color: rgba(255, 255, 255, 0.72); font-size: 16px; margin-top: 10px; }
.chip { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 13px; border-radius: 999px; font-size: 14px; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.18); color: #fff; width: fit-content; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.chip::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--olive); }
.chip--off::before { background: transparent; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.6); }
.features { display: grid; grid-template-columns: 1fr 1fr; column-gap: 28px; }
.features li { padding: 12px 0; border-top: 1px solid rgba(255, 255, 255, 0.13); font-size: 15px; color: rgba(255, 255, 255, 0.86); }
.card__note { font-size: 14px; color: rgba(255, 255, 255, 0.7); padding: 14px 16px; border-radius: 14px; background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.12); }
.card__note button { background: none; border: 0; padding: 0; color: #fff; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.card .btn { width: fit-content; }

@media (max-width: 1000px) {
  .deptos__grid { grid-template-columns: 1fr; }
  .picker { position: static; }
}
@media (max-width: 520px) {
  .circles { gap: 10px; }
  .circles--floor .circle__dot { width: 54px; height: 54px; font-size: 17px; }
  .circles--unit .circle__dot { width: 72px; height: 72px; font-size: 24px; }
  .features { grid-template-columns: 1fr; }
  .card__info { padding: 0 8px; }
}

/* ---------- Unidades terminadas ---------- */
.reel { padding: calc(var(--section) * 0.5) 0 var(--section); }
.reel__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 44px; }
.reel__head .sub { margin-top: 14px; }
.reel__nav { display: flex; gap: 10px; flex: none; }
.round { width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.95); background: rgba(255, 255, 255, 0.7); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: 0 8px 22px -14px rgba(22, 32, 42, 0.45); color: var(--ink); display: grid; place-items: center; cursor: pointer; transition: transform 160ms var(--ease-out), background-color 200ms ease, color 200ms ease; }
.round svg { width: 20px; height: 20px; }
.round:active { transform: scale(0.94); }
@media (hover: hover) and (pointer: fine) { .round:hover { background: var(--navy); color: #fff; } }
.reel__track { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; outline: none; padding: 10px max(var(--gutter), calc((100vw - var(--wrap)) / 2)) 30px; scroll-padding: 0 max(var(--gutter), calc((100vw - var(--wrap)) / 2)); }
.reel__track::-webkit-scrollbar { display: none; }
.reel__track figure { position: relative; margin: 0; flex: none; width: min(80vw, 520px); aspect-ratio: 4 / 5; border-radius: var(--r-lg); overflow: hidden; scroll-snap-align: start; background: #cfd5da; box-shadow: 0 30px 60px -40px rgba(22, 32, 42, 0.55); }
.reel__track img { width: 100%; height: 100%; object-fit: cover; transition: transform 1200ms var(--ease-out); }
.reel__track figcaption {
  position: absolute; z-index: 1; left: 14px; right: 14px; bottom: 14px; padding: 16px 20px; border-radius: 18px;
  color: #fff; font-size: clamp(19px, 1.8vw, 24px); font-weight: 300; letter-spacing: -0.02em; line-height: 1.15;
  background: rgba(20, 30, 40, 0.22); border: 1px solid rgba(255, 255, 255, 0.28);
  -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%);
}
.reel__track .tag { position: absolute; z-index: 1; top: 16px; left: 16px; font-size: 13px; color: #fff; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.18); border: 1px solid rgba(255, 255, 255, 0.3); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
@media (hover: hover) and (pointer: fine) { .reel__track figure:hover img { transform: scale(1.05); } }

/* ---------- Qué incluye (banda con foto y vidrio) ---------- */
.incluye { position: relative; overflow: hidden; padding: var(--section) 0; isolation: isolate; }
.band__bg { position: absolute; inset: 0; z-index: -1; }
.band__bg img { position: absolute; left: 0; top: -12%; width: 100%; height: 124%; object-fit: cover; }
.band__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(251, 252, 253, 0.9) 0%, rgba(251, 252, 253, 0.35) 22%, rgba(251, 252, 253, 0.35) 78%, rgba(251, 252, 253, 0.95) 100%); }
.incluye__grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 16px; align-items: stretch; }
.incluye__head { display: grid; align-content: end; gap: 0; padding: clamp(28px, 3vw, 44px); border-radius: var(--r-lg); }
.incluye__head .sub { margin-top: 16px; font-size: 17px; }
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.tile { display: grid; align-content: start; gap: 8px; padding: 24px 24px 26px; border-radius: var(--r-md); transition: transform 300ms var(--ease-out), background-color 300ms ease; }
.tile__ico { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); margin-bottom: 18px; box-shadow: 0 10px 22px -12px rgba(35, 54, 70, 0.8); }
.tile svg { width: 24px; height: 24px; fill: none; stroke: #fff; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.tile h3 { font-size: 21px; font-weight: 400; letter-spacing: -0.02em; }
.tile p { color: #46525d; font-size: 15px; }
@media (hover: hover) and (pointer: fine) { .tile:hover { transform: translateY(-4px); background: rgba(255, 255, 255, 0.78); } }
@media (max-width: 900px) { .incluye__grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .tiles { grid-template-columns: 1fr; gap: 12px; }
  .tile { grid-template-columns: 48px 1fr; column-gap: 16px; row-gap: 2px; align-items: center; padding: 18px 20px; }
  .tile__ico { grid-row: span 2; margin: 0; }
}

/* ---------- El edificio ---------- */
.building { padding: var(--section) 0; }
.building__grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.building__media { position: sticky; top: 104px; aspect-ratio: 3 / 4; border-radius: var(--r-lg); overflow: hidden; box-shadow: 0 40px 80px -46px rgba(22, 32, 42, 0.7); }
.building__media img { position: absolute; left: 0; top: -8%; width: 100%; height: 116%; object-fit: cover; object-position: center 42%; }
.building__copy { display: grid; gap: 22px; align-content: start; }
.building__copy .sub { margin-bottom: 10px; }
.panel { border-radius: var(--r-md); padding: 26px 26px 28px; display: grid; gap: 20px; }
.panel--row { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.panel--row p { color: var(--muted); font-size: 15px; margin-top: 4px; }
.progress { display: grid; gap: 15px; }
.progress__row { display: grid; grid-template-columns: 92px 1fr 46px; align-items: center; gap: 16px; font-size: 15px; }
.progress__row span { color: var(--muted); }
.progress__row b { font-weight: 500; color: var(--ink); text-align: right; font-variant-numeric: tabular-nums; }
.progress__row b span { color: inherit; }
.bar { height: 6px; border-radius: 99px; background: rgba(22, 32, 42, 0.08); overflow: hidden; }
.bar i { display: block; height: 100%; width: var(--p); background: var(--navy); border-radius: inherit; transform-origin: left; transform: scaleX(0); }
.progress.is-in .bar i { transform: scaleX(1); transition: transform 1400ms var(--ease-out); }
.progress.is-in .progress__row:nth-child(2) .bar i { transition-delay: 90ms; }
.progress.is-in .progress__row:nth-child(3) .bar i { transition-delay: 180ms; }
.progress.is-in .progress__row:nth-child(4) .bar i { transition-delay: 270ms; }
@media (max-width: 900px) {
  .building__grid { grid-template-columns: 1fr; }
  .building__media { position: relative; top: 0; aspect-ratio: 4 / 3; }
}

/* ---------- Opiniones ---------- */
.reviews { padding-top: calc(var(--section) * 0.4); padding-bottom: calc(var(--section) * 0.6); }
.reviews__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.review { margin: 0; display: grid; align-content: space-between; gap: 28px; padding: 30px 28px; border-radius: var(--r-md); transition: transform 300ms var(--ease-out); }
.review__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.stars { display: flex; gap: 3px; color: var(--navy); }
.stars svg { width: 18px; height: 18px; }
.js .review .stars svg { opacity: 0; transform: scale(0.4); transition: opacity 300ms ease, transform 500ms cubic-bezier(0.34, 1.56, 0.64, 1); }
.js .review.is-in .stars svg { opacity: 1; transform: none; }
.review.is-in .stars svg:nth-child(2) { transition-delay: 60ms; } .review.is-in .stars svg:nth-child(3) { transition-delay: 120ms; }
.review.is-in .stars svg:nth-child(4) { transition-delay: 180ms; } .review.is-in .stars svg:nth-child(5) { transition-delay: 240ms; }
.review__ex { font-size: 12px; color: var(--muted); border: 1px solid rgba(22, 32, 42, 0.12); border-radius: 999px; padding: 3px 10px; }
.review blockquote { margin: 18px 0 0; font-size: 19px; font-weight: 300; line-height: 1.5; letter-spacing: -0.01em; color: var(--ink); }
.review__who { display: flex; align-items: center; gap: 12px; }
.review__avatar { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: #fff; font-size: 14px; font-weight: 500; }
.review__who b { display: block; font-size: 15px; font-weight: 500; }
.review__who span { font-size: 13px; color: var(--muted); }
@media (hover: hover) and (pointer: fine) { .review:hover { transform: translateY(-4px); } }
@media (max-width: 900px) { .reviews__grid { grid-template-columns: 1fr; } }

/* ---------- Preguntas ---------- */
.faq { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(28px, 6vw, 96px); align-items: start; padding-top: calc(var(--section) * 0.6); padding-bottom: var(--section); }
.faq__head { display: grid; gap: 0; position: sticky; top: 112px; }
.faq__head .sub { margin-top: 16px; }
.faq__list { border-radius: var(--r-lg); padding: 6px 28px; }
.qa + .qa { border-top: 1px solid rgba(22, 32, 42, 0.08); }
.qa__q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; text-align: left; background: none; border: 0; padding: 24px 0; cursor: pointer; font-size: 19px; font-weight: 400; letter-spacing: -0.015em; color: var(--ink); }
.qa__icon { position: relative; width: 36px; height: 36px; flex: none; border-radius: 50%; background: rgba(255, 255, 255, 0.85); border: 1px solid rgba(22, 32, 42, 0.12); transition: transform 360ms var(--ease-out), background-color 240ms ease, border-color 240ms ease; }
.qa__icon::before, .qa__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 13px; height: 1.5px; background: var(--ink); border-radius: 2px; transform: translate(-50%, -50%); transition: background-color 240ms ease; }
.qa__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.qa.is-open .qa__icon { transform: rotate(45deg); background: var(--navy); border-color: var(--navy); }
.qa.is-open .qa__icon::before, .qa.is-open .qa__icon::after { background: #fff; }
.qa__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 380ms var(--ease-out); }
.qa.is-open .qa__a { grid-template-rows: 1fr; }
.qa__a > div { overflow: hidden; }
.qa__a p { padding: 0 60px 24px 0; color: var(--muted); font-size: 17px; opacity: 0; transform: translateY(-6px); transition: opacity 200ms ease, transform 300ms var(--ease-out); }
.qa.is-open .qa__a p { opacity: 1; transform: none; transition: opacity 320ms ease 90ms, transform 400ms var(--ease-out) 60ms; }
.qa__a a { color: var(--navy); }
@media (max-width: 900px) { .faq { grid-template-columns: 1fr; } .faq__head { position: static; } .qa__a p { padding-right: 0; } .faq__list { padding: 4px 20px; } .qa__q { font-size: 17px; } }

/* ---------- Cierre ---------- */
.closing { padding-top: calc(var(--section) * 0.3); padding-bottom: var(--section); }
.closing__card { position: relative; overflow: hidden; border-radius: var(--r-lg); min-height: 560px; display: grid; place-items: center; padding: clamp(20px, 5vw, 64px); isolation: isolate; }
.closing__bg { position: absolute; z-index: -1; left: 0; top: -12%; width: 100%; height: 124%; object-fit: cover; object-position: center 55%; }
.closing__card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(35, 54, 70, 0.15), rgba(35, 54, 70, 0.45)); }
.closing__panel { display: grid; justify-items: center; text-align: center; gap: 22px; max-width: 680px; padding: clamp(30px, 4vw, 52px); border-radius: var(--r-lg); background: rgba(255, 255, 255, 0.68); }
.closing h2 { font-size: clamp(34px, 4.4vw, 62px); }
.closing h2 span { color: var(--navy); font-weight: 400; }
.closing .sub { max-width: 32em; color: #3d4954; }
@media (max-width: 560px) { .closing__card { min-height: 0; } .closing .btn--lg { height: 54px; padding: 0 22px; font-size: 16px; } }

/* ---------- Menú: sección activa ---------- */
.nav__links a { position: relative; padding: 8px 14px; border-radius: 999px; transition: color 200ms ease, background-color 260ms ease; }
.nav__links { gap: 4px; }
.nav__links a[aria-current="true"] { color: var(--ink); background: rgba(35, 54, 70, 0.07); }

/* ---------- Pie ---------- */
.foot { background: var(--navy); color: rgba(255, 255, 255, 0.72); padding: 72px 0 calc(28px + env(safe-area-inset-bottom)); font-size: 15px; }
.foot__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; padding-bottom: 56px; }
.foot__brand img { width: 150px; margin-bottom: 18px; }
.foot__brand p { max-width: 24em; }
.foot h3 { color: #fff; font-size: 15px; font-weight: 500; margin-bottom: 16px; }
.foot li { margin-bottom: 10px; }
.foot a { color: rgba(255, 255, 255, 0.72); text-decoration: none; transition: color 200ms ease; }
@media (hover: hover) and (pointer: fine) { .foot a:hover { color: #fff; } }
.foot__bottom { display: flex; justify-content: space-between; gap: 16px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.14); font-size: 13px; }
@media (max-width: 760px) { .foot__grid { grid-template-columns: 1fr; gap: 32px; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .enter { opacity: 1; transform: none; filter: none; }
  *, *::before, *::after { transition-duration: 1ms !important; animation-duration: 1ms !important; }
  .bar i { transform: none; }
  .js [data-reveal] { opacity: 1; transform: none; filter: none; clip-path: none; }
  .js .statement__text .w, .js .review .stars svg { opacity: 1; transform: none; }
  [data-parallax] { transform: none !important; }
}

/* ---------- Íconos estilo app (emoji del sistema en un cuadrado de vidrio) ---------- */
.app-ico {
  --s: 84px;
  display: inline-grid; place-items: center; width: var(--s); height: var(--s); border-radius: calc(var(--s) * 0.28);
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif; font-size: calc(var(--s) * 0.54); line-height: 1;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.6));
  border: 1px solid rgba(255, 255, 255, 0.95);
  -webkit-backdrop-filter: blur(18px) saturate(170%); backdrop-filter: blur(18px) saturate(170%);
  box-shadow: 0 1px 0 #fff inset, 0 18px 36px -18px rgba(22, 32, 42, 0.45);
}
@keyframes float { 50% { transform: translateY(-6px); } }
.icons-stack { position: relative; width: 112px; height: 100px; margin-bottom: 30px; }
.icons-stack .app-ico { position: absolute; left: 0; top: 0; animation: float 5s ease-in-out infinite; }
.icons-stack .app-ico--badge { --s: 48px; left: auto; right: 0; top: auto; bottom: 0; animation-delay: -2.5s; }

.incluye__head { display: flex; flex-direction: column; justify-content: space-between; gap: 32px; }
.incluye__art { flex: none; margin-bottom: 0 !important; }
.incluye__art { position: relative; height: 170px; margin-bottom: 28px; }
.incluye__art .app-ico { position: absolute; animation: float 6s ease-in-out infinite; }
.app-ico--xl { --s: 116px; left: 0; top: 10px; }
.app-ico--a { --s: 64px; left: 128px; top: 0; animation-delay: -2s !important; }
.app-ico--b { --s: 52px; left: 104px; top: 100px; animation-delay: -4s !important; }
.tile__ico {
  width: 52px; height: 52px; border-radius: 15px; background: linear-gradient(160deg, #fff, rgba(255, 255, 255, 0.7));
  border: 1px solid rgba(255, 255, 255, 0.95); box-shadow: 0 1px 0 #fff inset, 0 10px 22px -12px rgba(22, 32, 42, 0.45);
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif; font-size: 28px; line-height: 1;
  transition: transform 400ms cubic-bezier(0.34, 1.56, 0.64, 1);
}
@media (hover: hover) and (pointer: fine) { .tile:hover .tile__ico { transform: scale(1.08) rotate(-4deg); } }
@media (max-width: 900px) { .incluye__art { height: 130px; } .app-ico--xl { --s: 92px; } .app-ico--a { --s: 54px; left: 104px; } .app-ico--b { --s: 44px; left: 86px; top: 80px; } }

/* ---------- Cierre con foto de un departamento, levemente desenfocada ---------- */
.closing__bg { left: -3%; width: 106%; filter: blur(3px) saturate(1.05); }
.closing__card::after { background: linear-gradient(180deg, rgba(35, 54, 70, 0.12), rgba(35, 54, 70, 0.4)); }

/* ---------- Marca de muestra y autoría ---------- */
.nav__badge {
  display: inline-flex; align-items: center; height: 30px; padding: 0 12px; margin-left: -10px; border-radius: 999px; white-space: nowrap;
  font-size: 12.5px; color: var(--navy); background: rgba(35, 54, 70, 0.06); border: 1px solid rgba(35, 54, 70, 0.12);
}
.nav__badge b { font-weight: 600; }
.nav__badge span { color: var(--muted); }
.foot__legal p { font-size: 13px; line-height: 1.6; color: rgba(255, 255, 255, 0.6); max-width: 70em; padding: 0 0 24px; }
.foot__legal b { color: #fff; font-weight: 500; }
@media (max-width: 1100px) { .nav__links { gap: 0; } .nav__links a { padding: 8px 10px; } }
@media (max-width: 980px) { .nav__badge span { display: none; } }
@media (max-width: 820px) {
  .nav { gap: 12px; }
  .nav__badge { height: auto; padding: 5px 10px; margin-left: 0; flex-direction: column; align-items: flex-start; line-height: 1.15; font-size: 10.5px; border-radius: 10px; }
  .nav__badge span { display: block; }
  .nav__badge span::before { content: "F. Sánchez"; }
  .nav__badge span { font-size: 0; } .nav__badge span::before { font-size: 10.5px; }
  .nav__badge b { font-weight: 600; }
}
@media (prefers-reduced-motion: reduce) { .app-ico { animation: none !important; } }
.nav__logo { flex: none; }
@media (max-width: 440px) {
  .nav { gap: 8px; padding: 0 8px 0 14px; }
  .nav__logo img { width: 96px; }
  .nav__badge { padding: 4px 8px; font-size: 10px; }
  .nav__badge span::before { font-size: 10px; }
  .nav .btn--sm { padding: 0 14px; font-size: 14px; height: 40px; }
}
