:root {
  --red: #c62421;
  --red-d: #a11b19;
  --red-soft: #f6e3e1;
  --ink: #1d1d1f;
  --ink-2: #47474d;
  --muted: #6e6c6a;
  --paper: #faf8f5;
  --stone: #efeae3;
  --line: #e2dcd3;
  --white: #fff;
  --night: #141416;
  --wa: #1f8a4c;
  --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --r: 6px;
  --gut: clamp(16px, 4vw, 48px);
  --nav-h: 64px;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.65 var(--sans); overflow-x: hidden; }
img, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.06; margin: 0; text-wrap: balance; letter-spacing: -.01em; }
p { margin: 0 0 1em; text-wrap: pretty; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--red); color: #fff; padding: 8px 14px; }
.skip:focus { left: 8px; }
.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 var(--gut); }

.eyebrow { font: 700 11px/1.2 var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--red); margin: 0 0 16px; display: flex; align-items: center; gap: 12px; }
.eyebrow::before { content: ''; width: 26px; height: 2px; background: currentColor; }
.eyebrow--light { color: #fff; }
.eyebrow--red { color: var(--red); }
.h2 { font-size: clamp(34px, 6.4vw, 66px); color: var(--ink); }
.h2 em, .hero__title em { font-style: italic; font-weight: 500; color: var(--red); }
.h2--light, .h2--light em { color: #fff; }
.head { max-width: 780px; margin-bottom: clamp(28px, 5vw, 52px); }
.head--row { max-width: none; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 18px 40px; }
.head--row .head__lead { max-width: 420px; margin: 0; }
.head__lead { color: var(--muted); font-size: 16px; margin-top: 16px; }

/* botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 24px; border-radius: 999px; border: 1.5px solid transparent; font: 700 13px/1.1 var(--sans); letter-spacing: .06em; text-decoration: none; text-align: center; transition: transform .25s var(--ease), background .25s, color .25s, border-color .25s; -webkit-tap-highlight-color: transparent; cursor: pointer; }
.btn:active { transform: scale(.97); }
.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: var(--red-d); }
.btn--white { background: #fff; color: var(--red); }
.btn--white:hover { background: var(--red-soft); }
.btn--ghost { border-color: rgba(255,255,255,.7); color: #fff; background: rgba(255,255,255,.08); backdrop-filter: blur(6px); }
.btn--ghost:hover { background: rgba(255,255,255,.2); }
.btn--line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--line:hover { background: var(--ink); color: #fff; }
.btn--wa { background: var(--wa); color: #fff; width: 100%; }
.btn--wa:hover { background: #18703d; }
.link { background: none; border: 0; padding: 8px 0; color: var(--red); font-weight: 700; font-size: 13px; text-decoration: underline; text-underline-offset: 4px; }

/* nav */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--nav-h); display: flex; align-items: center; gap: 22px; padding: 0 var(--gut); color: #fff; transition: background .35s, color .35s, transform .4s var(--ease), box-shadow .35s; }
.nav.is-solid { background: rgba(250, 248, 245, .95); color: var(--ink); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line); }
.nav.is-hidden { transform: translateY(-100%); }
.nav__brand { position: relative; display: block; width: 92px; height: 52px; flex: none; }
.nav__brand img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: opacity .35s; }
.logo-r { opacity: 0; }
.nav.is-solid .logo-r, body.menu-open .logo-r { opacity: 1; }
.nav.is-solid .logo-w, body.menu-open .logo-w { opacity: 0; }
.nav__links { display: none; gap: 24px; margin-left: auto; transition: opacity .3s; }
.nav__links a { text-decoration: none; font-size: 13px; font-weight: 600; letter-spacing: .03em; opacity: .88; }
.nav__links a:hover { opacity: 1; }
body.in-tour .nav__links { opacity: 0; pointer-events: none; }
.nav__cta { margin-left: auto; min-height: 40px; padding: 0 18px; font-size: 12px; }
.nav__burger { width: 44px; height: 44px; border: 0; background: none; display: grid; place-content: center; gap: 7px; margin-right: -8px; }
.nav__burger span { width: 24px; height: 2px; background: currentColor; transition: transform .3s var(--ease); }
body.menu-open .nav { color: var(--ink); background: var(--paper); }
body.menu-open .nav__burger span:first-child { transform: translateY(4.5px) rotate(45deg); }
body.menu-open .nav__burger span:last-child { transform: translateY(-4.5px) rotate(-45deg); }
.menu { position: fixed; inset: 0; z-index: 45; background: var(--paper); padding: calc(var(--nav-h) + 20px) var(--gut) 28px; display: flex; flex-direction: column; justify-content: space-between; overflow-y: auto; }
.menu[hidden] { display: none; }
.menu nav { display: flex; flex-direction: column; }
.menu nav a { font: 600 clamp(26px, 7.4vw, 40px)/1.15 var(--serif); color: var(--ink); text-decoration: none; padding: 12px 0; border-bottom: 1px solid var(--line); display: flex; align-items: baseline; gap: 14px; }
.menu nav a small { font: 700 11px var(--sans); letter-spacing: .2em; color: var(--red); }
.menu__foot { color: var(--muted); font-size: 14px; }
.menu__foot a { color: var(--ink); font-weight: 700; }
@media (min-width: 1080px) { .nav__links { display: flex; } .nav__cta { margin-left: 8px; } .nav__burger { display: none; } }

/* portada */
.hero { position: relative; height: 100svh; min-height: 580px; color: #fff; overflow: hidden; display: flex; align-items: flex-end; background: var(--night); }
.hero__media { position: absolute; inset: 0; transform-origin: 50% 40%; }
.hero__media video { width: 100%; height: 100%; object-fit: cover; }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,10,12,.5) 0%, rgba(10,10,12,0) 26%, rgba(10,10,12,.15) 50%, rgba(10,10,12,.86) 100%), linear-gradient(90deg, rgba(10,10,12,.55), rgba(10,10,12,0) 70%); }
.hero__inner { position: relative; padding: 0 var(--gut) clamp(64px, 12vh, 120px); max-width: 1000px; text-shadow: 0 1px 18px rgba(0,0,0,.35); }
.hero__title { font-size: clamp(40px, 9.6vw, 104px); line-height: 1; margin-bottom: 20px; font-weight: 700; }
.hero__title em { color: #fff; font-weight: 500; }
.hero__title em::after { content: ''; display: inline-block; width: .16em; height: .16em; border-radius: 50%; background: var(--red); margin-left: .06em; vertical-align: .05em; }
.hero__lead { max-width: 540px; font-size: clamp(15px, 2vw, 18px); opacity: .92; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.hero__scroll { position: absolute; right: var(--gut); bottom: 28px; width: 26px; height: 42px; border: 1.5px solid rgba(255,255,255,.7); border-radius: 20px; display: none; }
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 2px; height: 8px; margin-left: -1px; background: #fff; border-radius: 2px; animation: drop 1.8s var(--ease) infinite; }
@keyframes drop { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }
@media (min-width: 760px) { .hero__scroll { display: block; } }
@media (min-width: 900px) and (orientation: landscape) { .hero__media video { object-position: 70% 50%; } }

/* altius */
.about { padding: clamp(72px, 11vw, 140px) 0 clamp(56px, 8vw, 100px); }
.about__grid { display: grid; gap: 40px; }
.about__text > p { color: var(--ink-2); font-size: 17px; max-width: 600px; margin-top: 22px; }
.stats { list-style: none; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 2px solid var(--ink); }
.stats li { padding: 16px 12px 0 0; }
.stats b { display: block; font: 700 clamp(28px, 5.6vw, 48px)/1 var(--serif); color: var(--red); white-space: nowrap; }
.stats li > span { display: block; font-size: 12.5px; color: var(--muted); margin-top: 6px; line-height: 1.35; }
.backing { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(22px, 4vw, 36px); align-self: start; }
.backing h3 { font-size: clamp(24px, 3.4vw, 32px); margin-bottom: 14px; }
.backing p { color: var(--ink-2); font-size: 15px; }
.brands { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.brands span { font: 700 11px var(--sans); letter-spacing: .16em; text-transform: uppercase; padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink-2); }
.about__photos { position: relative; height: clamp(320px, 80vw, 560px); margin-top: clamp(40px, 6vw, 72px); }
.ph { position: absolute; margin: 0; overflow: hidden; border-radius: var(--r); }
.ph img { width: 100%; height: 118%; object-fit: cover; margin-top: -9%; }
.ph--a { left: var(--gut); top: 0; width: 72%; height: 70%; }
.ph--b { right: var(--gut); bottom: 0; width: 56%; height: 52%; box-shadow: 0 0 0 8px var(--paper); }
@media (min-width: 960px) { .about__grid { grid-template-columns: 1.25fr 1fr; gap: 72px; align-items: end; } }

/* recorrido */
.tour { position: relative; height: 480vh; background: var(--night); }
.tour__stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; color: #fff; }
.tour__poster, #tourCanvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tour__poster { transition: opacity .5s; }
.tour__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,10,12,.5) 0%, rgba(10,10,12,0) 22%, rgba(10,10,12,0) 48%, rgba(10,10,12,.78) 100%); pointer-events: none; }
.tour__top { position: absolute; top: calc(var(--nav-h) + 8px); left: var(--gut); right: var(--gut); }
.tour__tag { font: 700 11px var(--sans); letter-spacing: .24em; text-transform: uppercase; opacity: .9; }
.tour__captions { position: absolute; left: var(--gut); right: calc(var(--gut) + 24px); bottom: clamp(48px, 10vh, 104px); max-width: 580px; }
.cap { position: absolute; left: 0; right: 0; bottom: 0; opacity: 0; transform: translateY(24px); transition: opacity .6s var(--ease), transform .6s var(--ease); pointer-events: none; }
.cap.on { opacity: 1; transform: none; }
.cap small { font: 700 11px var(--sans); letter-spacing: .24em; text-transform: uppercase; color: #fff; opacity: .85; }
.cap h3 { font-size: clamp(30px, 6.4vw, 58px); margin: 10px 0 12px; text-shadow: 0 2px 30px rgba(0,0,0,.4); }
.cap h3::after { content: ''; display: block; width: 52px; height: 2px; background: var(--red); margin-top: 16px; }
.cap p { font-size: 15.5px; opacity: .92; margin: 0; max-width: 430px; }
.tour__dots { position: absolute; right: var(--gut); top: 50%; transform: translateY(-50%); list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.tour__dots li { width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.85); transition: background .3s, transform .3s; }
.tour__dots li.on { background: var(--red); border-color: var(--red); transform: scale(1.3); }
.tour__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255,255,255,.15); }
.tour__bar i { display: block; height: 100%; width: 100%; background: var(--red); transform-origin: 0 50%; transform: scaleX(0); }

/* elegí tu unidad */
.unit { padding: clamp(72px, 11vw, 140px) 0; }
.unit__grid { display: grid; gap: 22px; }
.unit__grid > * { min-width: 0; }
.viewer { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.viewer__tabs, .plan__tabs { display: flex; gap: 4px; padding: 6px; border-bottom: 1px solid var(--line); background: var(--white); overflow-x: auto; scrollbar-width: none; }
.viewer__tabs::-webkit-scrollbar, .plan__tabs::-webkit-scrollbar { display: none; }
.viewer__tabs button, .plan__tabs button { flex: 1 0 auto; min-height: 40px; padding: 0 14px; border: 0; border-radius: 999px; background: transparent; font-size: 13px; font-weight: 700; color: var(--ink-2); transition: background .25s, color .25s; }
.viewer__tabs button[aria-selected="true"], .plan__tabs button[aria-selected="true"] { background: var(--ink); color: #fff; }
.facade { position: relative; }
.facade img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.floors { position: absolute; left: 13.6%; width: 69.6%; top: 14.6%; height: 63.4%; display: flex; flex-direction: column; }
.floor { flex: 1; position: relative; border: 0; background: transparent; padding: 0; border-radius: 2px; transition: background .25s, box-shadow .25s; -webkit-tap-highlight-color: transparent; }
.floor::after { content: attr(data-n); position: absolute; left: calc(100% + 6px); top: 50%; transform: translateY(-50%); font: 700 10px/1 var(--sans); color: #fff; background: rgba(20,20,22,.55); padding: 3px 5px; border-radius: 3px; opacity: .85; white-space: nowrap; }
.floor:hover { background: rgba(255,255,255,.18); }
.floor[aria-checked="true"] { background: rgba(198,36,33,.42); box-shadow: inset 0 0 0 2px #fff; }
.floor[aria-checked="true"]::after { background: var(--red); opacity: 1; }
.facade__hint { position: absolute; left: 10px; top: 10px; font: 700 11px var(--sans); letter-spacing: .08em; text-transform: uppercase; color: #fff; background: rgba(20,20,22,.6); padding: 6px 10px; border-radius: 999px; backdrop-filter: blur(4px); pointer-events: none; transition: opacity .3s; }
.maqueta[hidden] { display: none; }
.maqueta__host { position: relative; aspect-ratio: 16 / 11; background: radial-gradient(ellipse at 50% 40%, #fff, #ece7df); display: grid; place-items: center; }
.maqueta__host model-viewer { position: absolute; inset: 0; width: 100%; height: 100%; --poster-color: transparent; }
.maqueta__load { font-size: 13px; color: var(--muted); }
.maqueta__note { font-size: 12.5px; color: var(--muted); margin: 0; padding: 10px 14px 12px; border-top: 1px solid var(--line); }
.tipos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-top: 12px; }
.tipo { text-align: left; border: 1.5px solid var(--line); background: var(--white); border-radius: var(--r); padding: 12px 14px; transition: border-color .2s, box-shadow .2s, background .2s; }
.tipo b { display: block; font-size: 15px; font-weight: 700; }
.tipo small { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; }
.tipo small strong { color: var(--ink); font-weight: 700; }
.tipo[aria-checked="true"] { border-color: var(--red); box-shadow: inset 0 0 0 1px var(--red); background: #fff7f6; }
.orient { margin-top: 14px; }
#orient { flex-wrap: wrap; overflow: visible; }
.orient__label, .fgroup > span, .sublegend { display: block; font: 700 11px var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin: 0 0 8px; }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.chips::-webkit-scrollbar { display: none; }
.chips > button, .chip > span { flex: none; display: inline-flex; align-items: center; min-height: 40px; padding: 0 15px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--white); font-size: 13px; font-weight: 600; color: var(--ink-2); white-space: nowrap; transition: background .2s, color .2s, border-color .2s; }
.chips > button[aria-pressed="true"], .chips > button[aria-checked="true"], .chip input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip { position: relative; flex: none; cursor: pointer; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip input:focus-visible + span { outline: 2px solid var(--red); outline-offset: 2px; }
.chips--sm > button { min-height: 36px; font-size: 12.5px; }
.plan { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.plan__stage { position: relative; aspect-ratio: 4 / 3.3; background: #fff; }
.plan__stage > * { animation: swap .45s var(--ease); }
.plan__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 10px; }
.gal { position: absolute; inset: 0; }
.gal__track { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.gal__track::-webkit-scrollbar { display: none; }
.gal__track figure { flex: 0 0 100%; margin: 0; position: relative; scroll-snap-align: start; }
.gal__track img { width: 100%; height: 100%; object-fit: cover; }
.gal__track figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 14px 12px; background: linear-gradient(transparent, rgba(10,10,12,.7)); color: #fff; font-size: 13px; font-weight: 600; }
.gal__count { position: absolute; right: 10px; top: 10px; background: rgba(20,20,22,.6); color: #fff; font-size: 12px; font-weight: 700; padding: 5px 10px; border-radius: 999px; }
.gal__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); color: var(--ink); font-size: 18px; display: grid; place-content: center; box-shadow: 0 4px 14px rgba(0,0,0,.18); }
.gal__nav--p { left: 10px; } .gal__nav--n { right: 10px; }
.noimg { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; gap: 14px; padding: 24px; color: var(--ink-2); }
.ficha { margin-top: 14px; background: var(--ink); color: #fff; border-radius: var(--r); padding: 22px 20px; }
.ficha__top { display: flex; justify-content: space-between; align-items: start; gap: 12px; }
.ficha small { font: 700 11px var(--sans); letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.65); }
.ficha h3 { font-size: clamp(24px, 3.6vw, 32px); margin: 6px 0 2px; }
.ficha__price { text-align: right; flex: none; }
.ficha__price b { display: block; font: 700 clamp(24px, 3.6vw, 30px)/1.1 var(--serif); }
.ficha__price span { font-size: 11px; color: rgba(255,255,255,.65); }
.ficha dl { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(255,255,255,.12); margin: 16px 0; border-radius: 4px; overflow: hidden; }
.ficha dl div { background: var(--ink); padding: 10px 12px 10px 0; }
.ficha dt { font-size: 11px; color: rgba(255,255,255,.6); letter-spacing: .08em; text-transform: uppercase; }
.ficha dd { margin: 2px 0 0; font-size: 14.5px; font-weight: 600; }
.ficha__am { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.ficha__am span { font-size: 12px; padding: 5px 10px; border: 1px solid rgba(255,255,255,.25); border-radius: 999px; }
.ficha__btns { display: grid; gap: 8px; }
.ficha__btns .btn--line { border-color: rgba(255,255,255,.6); color: #fff; }
.ficha__btns .btn--line:hover { background: #fff; color: var(--ink); }
.ficha__note { font-size: 12px; color: rgba(255,255,255,.6); margin: 12px 0 0; }
@media (min-width: 560px) { .tipos { grid-template-columns: repeat(4, 1fr); } .ficha__btns { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .unit__grid { grid-template-columns: 1.2fr 1fr; gap: 36px; align-items: start; } .unit__right { position: sticky; top: 84px; } }
@keyframes swap { from { opacity: 0; transform: translateY(12px); } }

/* proyectos */
.projects { padding: clamp(72px, 11vw, 140px) 0; background: var(--stone); }
.filters { display: grid; gap: 14px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; }
.fgroup { min-width: 0; }
.fgroup .chips > button { min-height: 38px; }
.fgroup--end { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.switch { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; cursor: pointer; min-height: 40px; }
.switch input { position: absolute; opacity: 0; }
.switch i { width: 42px; height: 24px; border-radius: 99px; background: var(--line); position: relative; transition: background .25s; flex: none; }
.switch i::after { content: ''; position: absolute; left: 3px; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.2); transition: transform .25s var(--ease); }
.switch input:checked + i { background: var(--red); }
.switch input:checked + i::after { transform: translateX(18px); }
.switch input:focus-visible + i { outline: 2px solid var(--red); outline-offset: 2px; }
@media (min-width: 900px) { .filters { grid-template-columns: 1fr 1fr; gap: 18px 32px; padding: 20px 22px; } .filters .chips { flex-wrap: wrap; overflow: visible; } .fgroup--end { justify-content: space-between; align-self: end; } }
.count { font-size: 14px; color: var(--muted); margin: 18px 0 14px; }
.count b { color: var(--ink); }
.pgrid { display: grid; gap: 14px; }
@media (min-width: 640px) { .pgrid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1020px) { .pgrid { grid-template-columns: repeat(3, 1fr); } }
.pcardx { background: var(--white); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; border: 1px solid var(--line); animation: swap .45s var(--ease) both; transition: box-shadow .3s, transform .3s var(--ease); }
.pcardx:hover { box-shadow: 0 18px 40px -20px rgba(0,0,0,.3); transform: translateY(-3px); }
.pcardx__img { position: relative; aspect-ratio: 554 / 360; overflow: hidden; background: var(--stone); }
.pcardx__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.pcardx:hover .pcardx__img img { transform: scale(1.04); }
.badges { position: absolute; left: 10px; top: 10px; display: flex; flex-wrap: wrap; gap: 6px; }
.badge { font: 700 10.5px var(--sans); letter-spacing: .06em; text-transform: uppercase; padding: 5px 9px; border-radius: 999px; background: rgba(255,255,255,.94); color: var(--ink); }
.badge--vp { background: var(--red); color: #fff; }
.pcardx__body { padding: 16px 16px 18px; display: flex; flex-direction: column; flex: 1; }
.pcardx__body small { font-size: 12px; color: var(--muted); }
.pcardx h3 { font-size: 23px; margin: 3px 0 10px; }
.pcardx__row { display: flex; justify-content: space-between; align-items: end; gap: 10px; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); }
.pcardx__row span { font-size: 12.5px; color: var(--ink-2); }
.pcardx__price { text-align: right; flex: none; }
.pcardx__price em { display: block; font-style: normal; font-size: 11px; color: var(--muted); }
.pcardx__price b { font: 700 19px var(--serif); color: var(--red); }
.pcardx__btns { display: flex; gap: 8px; margin-top: 14px; }
.pcardx__btns .btn { flex: 1; min-height: 42px; padding: 0 12px; font-size: 12px; }
.empty { text-align: center; padding: 40px 16px; background: var(--white); border-radius: var(--r); border: 1px dashed var(--line); display: grid; gap: 12px; justify-items: center; }
.empty[hidden] { display: none; }
.empty p { margin: 0; font-size: 17px; font-weight: 600; }
.mapbox { margin-top: clamp(36px, 6vw, 64px); background: var(--white); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.mapbox__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 16px; }
.mapbox__head h3 { font-size: 24px; }
.map { height: clamp(360px, 60vh, 520px); background: #e9e5df; z-index: 0; }
.map .leaflet-tile-pane { filter: grayscale(1) contrast(.9) brightness(1.06); }
.mapbox__note { font-size: 12px; color: var(--muted); padding: 10px 16px; margin: 0; border-top: 1px solid var(--line); }
.pin { width: 30px; height: 30px; border-radius: 50% 50% 50% 0; background: var(--red); transform: rotate(-45deg); border: 2px solid #fff; box-shadow: 0 4px 10px rgba(0,0,0,.3); }
.pin--vp { background: var(--red); }
.pin--no { background: var(--ink); }
.leaflet-popup-content { font: 400 13px/1.45 var(--sans); margin: 12px 14px; }
.leaflet-popup-content b { font: 700 16px var(--serif); display: block; }
.leaflet-popup-content button { margin-top: 8px; background: var(--red); color: #fff; border: 0; border-radius: 999px; padding: 7px 14px; font-weight: 700; font-size: 12px; }

/* ficha de proyecto */
.sheet { position: fixed; inset: 0; z-index: 60; display: flex; align-items: flex-end; justify-content: center; }
.sheet[hidden] { display: none; }
.sheet__bg { position: absolute; inset: 0; background: rgba(10,10,12,.55); animation: fade .3s; }
.sheet__card { position: relative; width: 100%; max-width: 720px; max-height: 92svh; overflow-y: auto; overscroll-behavior: contain; background: var(--paper); border-radius: 14px 14px 0 0; animation: up .4s var(--ease); }
@keyframes fade { from { opacity: 0; } }
@keyframes up { from { transform: translateY(40px); opacity: 0; } }
@media (min-width: 760px) { .sheet { align-items: center; padding: 24px; } .sheet__card { border-radius: 14px; } }
.sheet__x { position: absolute; right: 10px; top: 10px; z-index: 2; width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(255,255,255,.95); font-size: 24px; line-height: 1; box-shadow: 0 2px 10px rgba(0,0,0,.2); }
.sheet__img { width: 100%; aspect-ratio: 554 / 360; object-fit: cover; }
.sheet__body { padding: 20px 20px 26px; }
.sheet__body h2 { font-size: clamp(28px, 5vw, 38px); margin: 4px 0 6px; }
.sheet__addr { color: var(--muted); font-size: 14px; margin-bottom: 14px; }
.ttable { width: 100%; border-collapse: collapse; margin: 10px 0 16px; font-size: 14.5px; }
.ttable th { text-align: left; font: 700 11px var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding: 8px 0; border-bottom: 2px solid var(--ink); }
.ttable td { padding: 11px 0; border-bottom: 1px solid var(--line); }
.ttable td:last-child, .ttable th:last-child { text-align: right; }
.ttable td b { color: var(--red); font-family: var(--serif); font-size: 16px; }
.sheet__am { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 18px; }
.sheet__am span { font-size: 12px; padding: 5px 10px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); }
.sheet__btns { display: grid; gap: 8px; }
@media (min-width: 520px) { .sheet__btns { grid-template-columns: 1fr 1fr; } }
.sheet__more { display: block; text-align: center; margin-top: 14px; font-size: 13px; color: var(--ink-2); }

/* vivienda promovida */
.promo { padding: clamp(72px, 11vw, 140px) 0; background: var(--red); color: #fff; position: relative; overflow: hidden; }
.promo::before { content: 'altius'; position: absolute; right: -4vw; bottom: -6vw; font: 700 clamp(160px, 30vw, 420px)/1 var(--serif); color: rgba(255,255,255,.06); pointer-events: none; }
.promo__grid { display: grid; gap: 36px; position: relative; }
.promo__grid > div > p { font-size: 17px; opacity: .95; max-width: 560px; margin-top: 20px; }
.promo__ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.promo__cards { display: grid; gap: 10px; }
.pcard { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22); border-radius: var(--r); padding: 18px 18px 16px; }
.pcard small { font: 700 10.5px var(--sans); letter-spacing: .18em; text-transform: uppercase; opacity: .8; }
.pcard h3 { font-size: clamp(22px, 3vw, 28px); margin: 6px 0 6px; }
.pcard p { margin: 0; font-size: 14.5px; opacity: .92; }
.promo__src { font-size: 12px; opacity: .75; margin: 4px 0 0; }
@media (min-width: 960px) { .promo__grid { grid-template-columns: 1.1fr 1fr; gap: 72px; align-items: center; } }

/* reels */
.reels { padding: clamp(72px, 11vw, 140px) 0 clamp(56px, 8vw, 100px); }
.rail { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 max(var(--gut), calc((100vw - 1240px) / 2 + var(--gut))) 12px; scroll-padding: 0 max(var(--gut), calc((100vw - 1240px) / 2 + var(--gut))); scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.reel { flex: 0 0 min(60vw, 250px); scroll-snap-align: start; margin: 0; position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 9 / 16; background: var(--night); }
.reel video { width: 100%; height: 100%; object-fit: cover; }
.reel figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 44px 14px 14px; background: linear-gradient(transparent, rgba(10,10,12,.85)); color: #fff; font-size: 13px; }
.reel figcaption b { display: block; font: 700 19px/1.15 var(--serif); }

/* consulta */
.book { padding: clamp(72px, 11vw, 140px) 0; background: var(--stone); }
.book__grid { display: grid; gap: 22px; align-items: start; }
.book__grid > * { min-width: 0; }
@media (min-width: 980px) { .book__grid { grid-template-columns: 1.4fr 1fr; gap: 40px; } .ticket { position: sticky; top: 90px; } }
.bform { background: var(--white); border-radius: var(--r); padding: clamp(18px, 4vw, 36px); border: 1px solid var(--line); }
.steps { list-style: none; padding: 0; margin: 0 0 24px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.steps li { font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); padding-top: 10px; border-top: 3px solid var(--line); transition: border-color .3s, color .3s; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.steps li span { margin-right: 4px; }
.steps li.on, .steps li.done { border-color: var(--red); color: var(--ink); }
.step { border: 0; padding: 0; margin: 0; display: none; min-width: 0; }
.step.on { display: block; animation: swap .45s var(--ease); }
legend { font: 600 clamp(24px, 4.4vw, 34px)/1.15 var(--serif); color: var(--ink); margin-bottom: 16px; padding: 0; }
.sublegend { margin-top: 20px; }
.optlist { display: grid; gap: 8px; max-height: 420px; overflow-y: auto; margin-top: 12px; padding-right: 2px; overscroll-behavior: contain; }
.opts { display: grid; gap: 8px; }
@media (min-width: 560px) { .opts { grid-template-columns: 1fr 1fr; } .opts--3 { grid-template-columns: repeat(3, 1fr); } }
.opt { position: relative; display: block; cursor: pointer; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt > span { display: flex; align-items: center; gap: 12px; height: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--r); background: #fff; transition: border-color .2s, box-shadow .2s, background .2s; }
.opt > span > span { flex: 1; min-width: 0; }
.opt img { width: 64px; height: 44px; object-fit: cover; border-radius: 4px; flex: none; }
.opt b { display: block; font-weight: 700; font-size: 15px; color: var(--ink); }
.opt small { display: block; font-size: 12.5px; color: var(--muted); line-height: 1.4; margin-top: 2px; }
.opt i { font-style: normal; font-weight: 700; color: var(--red); font-size: 13px; white-space: nowrap; }
.opt input:checked + span { border-color: var(--red); box-shadow: inset 0 0 0 1px var(--red); background: #fff7f6; }
.opt input:focus-visible + span { outline: 2px solid var(--red); outline-offset: 2px; }
.opts--3 .opt > span { display: block; }
.field { display: block; margin-top: 14px; }
.field > span { display: block; font: 700 11px var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
input:not([type=radio]):not([type=checkbox]), select, textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--r); background: #fff; font: 400 16px var(--sans); color: var(--ink); -webkit-appearance: none; appearance: none; }
select { background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%231d1d1f' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 14px center; padding-right: 36px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(198,36,33,.15); }
.ferr { color: var(--red-d); font-size: 14px; font-weight: 600; min-height: 1.4em; margin: 14px 0 0; }
.bform__nav { display: flex; gap: 10px; margin-top: 6px; }
.bform__nav .btn { flex: 1; }
.ticket { background: var(--white); border-radius: var(--r); padding: 22px 20px; position: relative; border: 1px solid var(--line); box-shadow: 0 20px 50px -30px rgba(0,0,0,.35); }
.ticket::before, .ticket::after { content: ''; position: absolute; left: -11px; top: 76px; width: 22px; height: 22px; border-radius: 50%; background: var(--stone); border-right: 1px solid var(--line); }
.ticket::after { left: auto; right: -11px; border-right: 0; border-left: 1px solid var(--line); }
.ticket__head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 20px; margin-bottom: 16px; border-bottom: 2px dashed var(--line); }
.ticket__head img { width: 86px; height: auto; }
.ticket__head span { font: 700 11px var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.ticket dl { margin: 0 0 20px; display: grid; grid-template-columns: auto 1fr; gap: 9px 14px; font-size: 14.5px; }
.ticket dt { color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding-top: 3px; }
.ticket dd { margin: 0; text-align: right; font-weight: 600; overflow-wrap: anywhere; }
.ticket dd.empty { color: var(--muted); font-weight: 400; }
.ticket dd.price { color: var(--red); font-family: var(--serif); font-size: 17px; }
.ticket__note { font-size: 12px; color: var(--muted); margin: 12px 0 0; }

/* ubicación */
.loc { padding: clamp(72px, 11vw, 140px) 0; }
.loc__grid { display: grid; gap: 36px; }
.loc__info > p { color: var(--ink-2); font-size: 16.5px; margin-top: 18px; }
.contact { list-style: none; padding: 0; margin: 22px 0; border-top: 2px solid var(--ink); }
.contact li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.contact small { font: 700 11px var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.contact a { color: var(--ink); font-weight: 700; text-decoration: none; font-size: 15px; }
.loc__ctas { display: flex; flex-wrap: wrap; gap: 10px; }
.loc__map { position: relative; border-radius: var(--r); overflow: hidden; min-height: 360px; background: var(--stone); }
.loc__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.25); }
@media (min-width: 960px) { .loc__grid { grid-template-columns: 1fr 1.1fr; gap: 72px; align-items: stretch; } }

/* pie */
.foot { background: var(--night); color: rgba(255,255,255,.78); padding: 64px 0 calc(26px + env(safe-area-inset-bottom)); }
.foot__grid { display: grid; gap: 32px; }
.foot__logo { width: 120px; margin-bottom: 14px; }
.foot__grid p { font-size: 14px; max-width: 360px; }
.foot nav, .foot__social { display: flex; flex-direction: column; gap: 10px; }
.foot a { text-decoration: none; font-size: 14.5px; }
.foot a:hover { color: #fff; }
.foot__base { margin-top: 44px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); font-size: 12px; opacity: .65; }
@media (min-width: 860px) { .foot__grid { grid-template-columns: 2fr 1fr 1fr; } }

/* WhatsApp flotante */
.wa-float { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 40; width: 56px; height: 56px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-content: center; box-shadow: 0 10px 30px rgba(0,0,0,.25); transition: transform .4s var(--ease), opacity .3s; }
.wa-float.hide { transform: scale(.4) translateY(40px); opacity: 0; pointer-events: none; }
body.menu-open .wa-float, body.sheet-open .wa-float { opacity: 0; pointer-events: none; }

/* entradas (las arma GSAP; sin JS se ve todo) */
.js .reveal, .js .reveal-hero { opacity: 0; transform: translateY(26px); }
.js .reveal-clip { clip-path: inset(10% 0 10% 0 round 6px); }
@media (prefers-reduced-motion: reduce) {
  .js .reveal, .js .reveal-hero { opacity: 1; transform: none; }
  .js .reveal-clip { clip-path: none; }
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
