:root {
  --primary: #7a6a5b;
  --dark: #2b2724;
  --accent: #b9a590;
  --st-available: #4f7d57;
  --st-reserved: #d0a04a;
  --st-sold: #cfc6ba;
  --ink: var(--dark);
  --muted: #6f655b;
  --line: #e1d9cd;
  --wash: #f5f1eb;
  --white: #fff;
  --radius: 4px;
  --max: 1200px;
  --font-display: 'Montserrat', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Lato', 'Segoe UI', system-ui, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-weight: 400;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

h1, h2, h3 { font-family: var(--font-display); margin: 0; line-height: 1.12; letter-spacing: -0.015em; }
h1 { font-size: clamp(2.2rem, 4.4vw, 3.8rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.7rem); font-weight: 700; }
h3 { font-size: 1.35rem; font-weight: 650; }
p { margin: 0; }
.wrap { width: min(var(--max), 100% - 2.5rem); margin-inline: auto; }
.muted { color: var(--muted); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .85rem 1.5rem; border-radius: var(--radius); border: 1.5px solid var(--primary);
  background: var(--primary); color: #fff; font-weight: 600; text-decoration: none; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.btn:hover { background: var(--dark); border-color: var(--dark); }
.btn.ghost { background: transparent; color: var(--primary); }
.btn.ghost:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.btn.sm { padding: .55rem 1rem; font-size: .95rem; }

/* ---------- Aviso fijado ---------- */
.topbar { background: var(--dark); color: #e6ddd0; font-size: .92rem; }
.topbar .wrap { display: flex; gap: .75rem; align-items: center; padding-block: .5rem; }
.topbar a { text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.topbar strong { color: #fff; font-weight: 600; }
.topbar[hidden] { display: none; }

/* ---------- Header ---------- */
.header { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; font-family: var(--font-display);  font-weight: 700; font-size: 1.15rem; letter-spacing: -.01em; }
.brand-mark { display: grid; place-items: center; width: 34px; height: 34px; background: var(--dark); color: #fff; font-family: var(--font-serif); font-weight: 700; font-size: 1.5rem; line-height: 1; }
.brand-mark i { display: none; }
.brand-name { letter-spacing: .14em; text-transform: uppercase; font-size: 1rem; }
.nav { display: flex; align-items: center; gap: 1.8rem; }
.nav a { text-decoration: none; font-weight: 500; font-size: .98rem; color: var(--muted); transition: color .2s; }
.nav a:hover { color: var(--primary); }
.nav .btn { color: #fff; }
.nav .btn:hover { color: #fff; }
.menu-btn { display: none; background: none; border: 1.5px solid var(--line); border-radius: var(--radius); width: 44px; height: 44px; cursor: pointer; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 18px; height: 2px; background: var(--ink); margin: auto; position: relative; content: ''; }
.menu-btn span::before { position: absolute; top: -6px; left: 0; }
.menu-btn span::after { position: absolute; top: 6px; left: 0; }

/* ---------- Franja de números ---------- */
.facts { border-block: 1px solid var(--line); background: var(--white); }
.facts .wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.fact { padding: 1.6rem 1.5rem; border-left: 1px solid var(--line); }
.fact:first-child { border-left: 0; padding-left: 0; }
.fact b { display: block; font-family: var(--font-display);  font-size: 2.3rem; line-height: 1; letter-spacing: -.03em; color: var(--primary); }
.fact span { color: var(--muted); font-size: .95rem; }

/* ---------- Secciones ---------- */
.sec { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.sec.wash { background: var(--wash); }
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 2rem; flex-wrap: wrap; margin-bottom: clamp(2rem, 4vw, 3.2rem); }
.sec-head p { max-width: 46ch; color: var(--muted); }

/* ---------- Obras ---------- */
.obra { display: grid; grid-template-columns: minmax(200px, 300px) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 4rem); padding: 2.4rem 0; border-top: 1px solid var(--line); align-items: center; }
.obra:last-child { border-bottom: 1px solid var(--line); }
.obra-art { background: var(--wash); border-radius: var(--radius); padding: 1.2rem 1.2rem 0; position: relative; overflow: hidden; }
.obra-art .tower-svg { width: 100%; height: auto; max-height: 340px; margin-inline: auto; }
.obra-art img.cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .0; }
.obra-body h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.obra-addr { color: var(--muted); margin-top: .3rem; }
.obra-body > p.desc { margin-top: 1rem; max-width: 56ch; }
.progress { margin-top: 1.5rem; max-width: 520px; }
.progress-top { display: flex; justify-content: space-between; align-items: baseline; font-size: .95rem; color: var(--muted); }
.progress-top b { font-family: var(--font-display);  font-size: 1.9rem; color: var(--primary); letter-spacing: -.02em; }
.bar { height: 8px; background: #ebe4d9; border-radius: 99px; overflow: hidden; margin-top: .35rem; }
.bar i { display: block; height: 100%; width: 0; background: var(--primary); border-radius: 99px; transition: width 1.6s cubic-bezier(.22,.8,.2,1); }
.obra.in .bar i { width: var(--w); }
.obra-meta { display: flex; flex-wrap: wrap; gap: .4rem 2rem; margin-top: 1.4rem; font-size: .95rem; }
.obra-meta dt { color: var(--muted); }
.obra-meta dd { margin: 0; font-weight: 600; }
.obra-meta div { display: flex; flex-direction: column; }
.split { display: flex; height: 10px; border-radius: 99px; overflow: hidden; margin-top: 1.4rem; max-width: 520px; background: var(--line); }
.split i { display: block; height: 100%; }
.legend { display: flex; flex-wrap: wrap; gap: .3rem 1.2rem; margin-top: .6rem; font-size: .9rem; color: var(--muted); }
.legend span::before { content: ''; display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: .4rem; background: var(--c); }
.obra .btn { margin-top: 1.6rem; }
.s-available { --c: var(--st-available); }
.s-reserved { --c: var(--st-reserved); }
.s-sold { --c: var(--st-sold); }

/* ---------- Explorador de unidades ---------- */
.tabs { display: flex; gap: .4rem; flex-wrap: wrap; border-bottom: 1px solid var(--line); margin-bottom: 1.6rem; }
.tab { background: none; border: 0; border-bottom: 3px solid transparent; padding: .8rem 1.1rem; margin-bottom: -1px; font-weight: 600; color: var(--muted); cursor: pointer; font-size: 1.02rem; }
.tab:hover { color: var(--primary); }
.tab[aria-selected="true"] { color: var(--dark); border-bottom-color: var(--primary); }
.filters { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; align-items: center; margin-bottom: 1.4rem; }
.seg { display: inline-flex; border: 1.5px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.seg button { border: 0; background: none; padding: .55rem 1rem; cursor: pointer; font-weight: 500; font-size: .95rem; color: var(--muted); }
.seg button + button { border-left: 1.5px solid var(--line); }
.seg button[aria-pressed="true"] { background: var(--dark); color: #fff; }
.select { border: 1.5px solid var(--line); border-radius: var(--radius); padding: .5rem .8rem; background: #fff; }
.explorer { display: grid; grid-template-columns: minmax(300px, 460px) minmax(0, 1fr); gap: clamp(1.5rem, 3vw, 3rem); align-items: start; }
.elevation { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem; position: sticky; top: 92px; }
.elevation-title { display: flex; justify-content: space-between; font-size: .92rem; color: var(--muted); margin-bottom: .8rem; }
.elevation-title b { color: var(--ink); }
.roof { height: 10px; background: var(--dark); border-radius: 2px 2px 0 0; margin-bottom: 4px; }
.floor-row { display: grid; grid-template-columns: 2.2rem 1fr; gap: 6px; margin-bottom: 4px; align-items: stretch; }
.floor-n { font-size: .78rem; color: var(--muted); align-self: center; text-align: right; padding-right: .2rem; font-variant-numeric: tabular-nums; }
.floor-cells { display: flex; gap: 4px; }
.floor-cells .cell { flex: 1 1 0; min-width: 0; }
.floor-cells .gap { flex: 0 0 12px; }
.cell { border: 0; border-radius: 2px; min-height: 32px; font-size: .8rem; font-weight: 600; cursor: pointer; background: var(--c); color: #fff; transition: transform .15s, opacity .2s, box-shadow .15s; font-variant-numeric: tabular-nums; }
.cell.s-sold { color: #566a86; }
.cell.s-reserved { color: #3b2a00; }
.cell:hover { transform: scaleY(1.12); box-shadow: 0 0 0 2px var(--dark); z-index: 1; position: relative; }
.cell.dim { opacity: .18; }
.ground { height: 8px; background: var(--line); margin-top: 6px; border-radius: 2px; }
.units-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: .6rem; }
.units-head span { color: var(--muted); font-size: .95rem; }
.ulist { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.urow { display: grid; grid-template-columns: 84px minmax(0, 1fr) auto; gap: 1rem; align-items: center; padding: .9rem 0; border-bottom: 1px solid var(--line); width: 100%; background: none; border-inline: 0; border-top: 0; text-align: left; cursor: pointer; }
.urow:hover .u-title { color: var(--primary); }
.urow img { width: 84px; height: 62px; object-fit: cover; border-radius: 3px; background: var(--wash); }
.u-title { font-weight: 650; transition: color .2s; }
.u-sub { color: var(--muted); font-size: .93rem; }
.u-right { text-align: right; }
.u-price { font-family: var(--font-display);  font-weight: 650; letter-spacing: -.01em; }
.chip { display: inline-flex; align-items: center; gap: .4rem; font-size: .82rem; font-weight: 600; padding: .15rem .6rem; border-radius: 99px; background: color-mix(in srgb, var(--c) 16%, #fff); color: var(--ink); }
.chip::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.empty { padding: 2rem 0; color: var(--muted); }
.more { margin-top: 1rem; }

/* ---------- Modal ---------- */
dialog.modal { border: 0; padding: 0; border-radius: 6px; width: min(960px, 100% - 1.5rem); max-height: calc(100dvh - 1.5rem); overflow: auto; background: #fff; color: var(--ink); box-shadow: 0 30px 80px rgba(43,39,36,.35); }
dialog.modal::backdrop { background: rgba(43,39,36,.55); }
.m-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
.m-media { background: var(--wash); padding: 1rem; }
.m-stage { background: #fff; border-radius: 3px; overflow: hidden; display: grid; place-items: center; min-height: 260px; max-height: min(70dvh, 640px); }
.m-stage img { width: 100%; height: auto; max-height: min(70dvh, 640px); object-fit: contain; }
.m-stage a { color: var(--primary); font-weight: 600; }
.m-thumbs { display: flex; gap: .5rem; margin-top: .6rem; flex-wrap: wrap; }
.m-thumbs button { border: 2px solid transparent; padding: 0; background: #fff; border-radius: 3px; cursor: pointer; width: 74px; height: 54px; overflow: hidden; font-size: .78rem; font-weight: 600; color: var(--primary); }
.m-thumbs button[aria-current="true"] { border-color: var(--primary); }
.m-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.m-info { padding: 1.6rem 1.6rem 1.4rem; position: relative; }
.m-close { position: absolute; top: .7rem; right: .7rem; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--wash); cursor: pointer; font-size: 1.3rem; line-height: 1; }
.m-close:hover { background: var(--line); }
.m-info h3 { font-size: 1.7rem; margin: .5rem 2.5rem .2rem 0; }
.m-price { font-family: var(--font-display);  font-size: 1.7rem; font-weight: 700; color: var(--primary); margin: .6rem 0 1rem; letter-spacing: -.02em; }
.m-dl { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem 1rem; margin: 0 0 1.2rem; }
.m-dl dt { color: var(--muted); font-size: .85rem; }
.m-dl dd { margin: 0; font-weight: 600; }
.m-desc { color: var(--muted); font-size: .98rem; margin-bottom: 1.3rem; }

/* ---------- Avisos ---------- */
.notice { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 1.5rem; padding: 1.7rem 0; border-top: 1px solid var(--line); }
.notice:last-child { border-bottom: 1px solid var(--line); }
.notice time { color: var(--muted); font-size: .95rem; }
.notice h3 { font-size: 1.3rem; }
.notice p { margin-top: .5rem; color: var(--muted); max-width: 68ch; white-space: pre-line; }
.pin { display: inline-block; font-size: .8rem; font-weight: 600; color: var(--primary); border: 1.5px solid var(--primary); border-radius: 99px; padding: 0 .55rem; margin-left: .6rem; vertical-align: middle; font-family: var(--font-body); letter-spacing: 0; }

/* ---------- Nosotros ---------- */
.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.about p { color: var(--muted); font-size: 1.1rem; max-width: 52ch; white-space: pre-line; }
.about-art { background: var(--dark); border-radius: var(--radius); padding: 2rem; color: #fff; }
.about-art .tower-svg { color: #c9b9a4; }
.about-art .tw-empty { fill: #3b3631; }
.about-art .tw-fill { fill: var(--accent); }
.about-art ul { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: .9rem; }
.about-art li { display: flex; align-items: baseline; gap: 1rem; border-top: 1px solid rgba(255,255,255,.18); padding-top: .9rem; }
.about-art li b { font-family: var(--font-display);  font-size: 1.9rem; min-width: 5.5rem; letter-spacing: -.02em; }
.about-art li span { color: #d9cfc2; }

/* ---------- Ubicación ---------- */
.loc { display: grid; grid-template-columns: minmax(280px, 400px) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); }
.loc address { font-style: normal; margin-top: 1.4rem; display: grid; gap: 1.2rem; }
.loc dt { color: var(--muted); font-size: .88rem; }
.loc dd { margin: 0; font-weight: 600; }
.loc dd a { text-decoration: none; }
.loc dd a:hover { color: var(--primary); text-decoration: underline; }
.map { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; min-height: 380px; background: var(--wash); }
.map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; }

/* ---------- Contacto ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(2rem, 6vw, 6rem); }
.contact p.lead { color: var(--muted); margin-top: 1rem; max-width: 40ch; }
form.cf { display: grid; gap: 1rem; grid-template-columns: 1fr 1fr; }
.cf label { display: grid; gap: .3rem; font-size: .92rem; font-weight: 500; }
.cf .full { grid-column: 1 / -1; }
.cf input, .cf select, .cf textarea { border: 1.5px solid var(--line); border-radius: var(--radius); padding: .7rem .85rem; background: #fff; }
.cf input:focus, .cf select:focus, .cf textarea:focus { border-color: var(--primary); outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 35%, transparent); }
.cf textarea { min-height: 120px; resize: vertical; }
.cf .note { font-size: .88rem; color: var(--muted); }

/* ---------- Footer ---------- */
.footer { background: var(--dark); color: #d9cfc2; padding: 2.6rem 0; font-size: .95rem; }
.footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem 2rem; }
.footer a { text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer b { color: #fff; font-family: var(--font-display);  }

/* ---------- Estados ---------- */
.skeleton { min-height: 40vh; display: grid; place-items: center; color: var(--muted); }
.wa-float { position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 30; background: #1f9d6b; color: #fff; text-decoration: none; font-weight: 600; padding: .75rem 1.1rem; border-radius: 99px; box-shadow: 0 8px 24px rgba(43,39,36,.25); }
.wa-float:hover { background: #167a53; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid, .explorer, .about, .loc, .contact { grid-template-columns: minmax(0, 1fr); }
  .hero-copy { padding-bottom: 0; }
  .elevation { position: static; }
  .obra { grid-template-columns: minmax(0, 1fr); }
  .obra-art { max-width: 340px; }
  .m-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 820px) {
  .menu-btn { display: block; }
  .nav { position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: #fff; border-bottom: 1px solid var(--line); padding: .5rem 1.25rem 1rem; display: none; }
  .nav.open { display: flex; }
  .nav a { padding: .8rem 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: .8rem; }
}
@media (max-width: 600px) {
  body { font-size: 1rem; }
  .notice { grid-template-columns: minmax(0, 1fr); gap: .3rem; }
  form.cf { grid-template-columns: minmax(0, 1fr); }
  .urow { grid-template-columns: 64px minmax(0, 1fr); }
  .urow img { width: 64px; height: 50px; }
  .urow .u-right { grid-column: 2; text-align: left; }
  .fact { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; }
  .fact:first-child { border-top: 0; }
  .topbar .wrap { font-size: .85rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .tw-fill, .bar i, .tw-edge { transition: none; }
  .tw-crane { animation: none; }
}


/* ================= Quinzo ================= */
.btn.light { background: #fff; color: var(--dark); border-color: #fff; }
.btn.light:hover { background: var(--accent); border-color: var(--accent); color: var(--dark); }
.btn.ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn.ghost-light:hover { background: #fff; color: var(--dark); border-color: #fff; }
.eyebrow { font-family: var(--font-display); text-transform: uppercase; letter-spacing: .22em; font-size: .78rem; font-weight: 600; color: rgba(255,255,255,.85); margin-bottom: 1.1rem; }
.eyebrow.dark { color: var(--primary); }
.sub { font-size: 1.05rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 1.2rem; }

/* Hero */
.hero { position: relative; min-height: min(86dvh, 760px); display: flex; align-items: flex-end; color: #fff; background: var(--dark); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center 35%; transform: scale(1.04); animation: heroIn 1.8s cubic-bezier(.22,.8,.2,1) forwards; }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(43,39,36,.88) 0%, rgba(43,39,36,.45) 45%, rgba(43,39,36,.15) 100%); }
.hero .wrap { position: relative; z-index: 1; padding-block: clamp(2.5rem, 7vw, 5rem); }
.hero h1 { max-width: 18ch; text-wrap: balance; font-weight: 700; text-shadow: 0 2px 24px rgba(0,0,0,.25); }
.hero-copy p:not(.eyebrow) { margin-top: 1.3rem; max-width: 52ch; color: rgba(255,255,255,.9); font-size: 1.15rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
@keyframes heroIn { to { transform: scale(1); } }

.header { background: rgba(255,255,255,.96); }
.nav a { font-family: var(--font-display); font-weight: 600; font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; }
.nav .btn { letter-spacing: .06em; }
.fact b { color: var(--dark); font-weight: 700; }

/* Edificio */
.obra { display: block; border: 0; padding: 0; }
.obra:last-child { border: 0; }
.b-head { display: flex; justify-content: space-between; align-items: end; gap: 2rem; flex-wrap: wrap; margin-bottom: 2rem; }
.b-head h2 { font-size: clamp(2.2rem, 4vw, 3.4rem); }
.obra-meta { margin-top: 0; }
.b-main { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.b-img { border: 0; padding: 0; cursor: zoom-in; background: var(--wash); overflow: hidden; border-radius: var(--radius); }
.b-img img { width: 100%; max-height: 640px; object-fit: cover; transition: transform .8s cubic-bezier(.22,.8,.2,1); }
.b-img:hover img { transform: scale(1.03); }
.b-text .lead { font-size: 1.15rem; color: var(--ink); }
.hl { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 0; margin-top: 3rem; border-top: 2px solid var(--dark); }
.hl-i { padding: 1.6rem 1.6rem 1.6rem 0; }
.hl-i + .hl-i { padding-left: 1.6rem; border-left: 1px solid var(--line); }
.hl-i h3 { font-size: 1.25rem; margin-bottom: .6rem; }
.hl-i p { color: var(--muted); font-size: .98rem; }
.blocks { margin-top: 3.5rem; }
.blocks-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.blk img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); margin-bottom: 1.1rem; }
.blk .num { font-family: var(--font-display); font-weight: 700; font-size: 1.6rem; color: var(--primary); }
.blk h3 { margin: .2rem 0 .6rem; }
.blk p { color: var(--muted); }
.blk .levels { margin-top: .8rem; font-weight: 700; color: var(--ink); font-size: .92rem; }
.gal { margin-top: 3.5rem; }
.gal-row, .plans-row { display: flex; gap: .7rem; overflow-x: auto; padding-bottom: .6rem; scroll-snap-type: x proximity; }
.gal-row button { flex: 0 0 auto; border: 0; padding: 0; background: var(--wash); cursor: zoom-in; border-radius: var(--radius); overflow: hidden; scroll-snap-align: start; }
.gal-row img { height: 180px; width: auto; max-width: none; transition: transform .4s; }
.gal-row button:hover img { transform: scale(1.05); }
.plans-row button { flex: 0 0 260px; border: 1px solid var(--line); background: #fff; padding: .7rem; cursor: zoom-in; border-radius: var(--radius); text-align: left; scroll-snap-align: start; }
.plans-row img { width: 100%; height: 150px; object-fit: contain; }
.plans-row span { display: block; font-size: .85rem; font-weight: 700; margin-top: .5rem; }

.blk-note { text-align: center; font-size: .78rem; color: var(--muted); margin-top: .7rem; letter-spacing: .04em; }
.urow.nophoto { grid-template-columns: minmax(0, 1fr) auto; }

/* Terminaciones */
.fin { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.fin-list { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem 2rem; }
.fin-list dt { font-family: var(--font-display); font-weight: 700; font-size: .98rem; margin-bottom: .25rem; }
.fin-list dd { margin: 0; color: var(--muted); font-size: .97rem; }
.fin-complex { background: var(--dark); color: #fff; padding: 2rem; border-radius: var(--radius); position: sticky; top: 96px; }
.fin-complex .muted { color: #d9cfc2; }
.fin-complex ul { margin: 1rem 0 0; padding: 0; list-style: none; display: grid; gap: .7rem; }
.fin-complex li { padding-left: 1.2rem; position: relative; font-size: .97rem; }
.fin-complex li::before { content: ''; position: absolute; left: 0; top: .6em; width: 6px; height: 6px; background: var(--accent); }

/* Cercanías */
.nearby { margin-top: 3rem; }
.n-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 0 2.5rem; }
.n-list li { display: flex; justify-content: space-between; gap: 1rem; align-items: center; padding: .9rem 0; border-bottom: 1px solid var(--line); }
.n-list li b { display: block; font-weight: 700; }
.n-list li span { color: var(--muted); font-size: .88rem; }
.n-dist { text-align: right; white-space: nowrap; }
.n-dist b { font-family: var(--font-display); font-size: 1.1rem; }

/* Loteos */
.loteo + .loteo { margin-top: 2.5rem; }
.loteo.soon { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.lo-art { background: var(--dark); min-height: 280px; display: grid; place-items: center; position: relative; }
.lo-art img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.lo-art.ph { background: linear-gradient(135deg, var(--dark), #4a423b); }
.lo-art.ph span { font-family: var(--font-serif); font-size: 7rem; color: rgba(255,255,255,.14); font-weight: 700; }
.lo-body { padding: clamp(1.6rem, 4vw, 3rem); display: grid; gap: .8rem; align-content: center; justify-items: start; }
.lo-body h3 { font-size: clamp(1.8rem, 3vw, 2.5rem); }
.lo-desc { color: var(--muted); max-width: 58ch; }
.badge { display: inline-block; font-family: var(--font-display); text-transform: uppercase; letter-spacing: .14em; font-size: .72rem; font-weight: 700; padding: .3rem .8rem; border-radius: 99px; background: var(--accent); color: var(--dark); }
.badge.ok { background: var(--st-available); color: #fff; }
.lo-head { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; align-items: end; margin-bottom: 1rem; }
.lo-head h3 { margin-top: .6rem; font-size: 2rem; }
.lot-block { margin-bottom: 1rem; }
.lot-bn { display: block; font-size: .8rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; margin-bottom: .3rem; }
.lot-cells { display: grid; grid-template-columns: repeat(auto-fill, minmax(46px, 1fr)); gap: 4px; }

/* Nosotros */
.about-art { padding: 0; overflow: hidden; }
.about-art img { width: 100%; height: 320px; object-fit: cover; }
.about-art ul { margin: 0; padding: 1.6rem 2rem 2rem; }
.about-art li b { color: #fff; }
.about p, .about .about-text p { color: var(--muted); font-size: 1.1rem; max-width: 52ch; white-space: normal; }
.about .about-text p + p { margin-top: 1rem; }

/* Modal imagen */
dialog.modal.lightbox { width: min(1100px, 100% - 1.5rem); background: #1d1a18; color: #fff; padding: 1rem; }
.lb-stage { display: grid; place-items: center; background: #fff; border-radius: 3px; }
.lb-stage img { max-height: calc(100dvh - 8rem); width: auto; max-width: 100%; object-fit: contain; }
.lb-bar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: .8rem; font-size: .92rem; }
dialog.modal.lightbox .m-close { background: #fff; z-index: 2; position: absolute; top: .6rem; right: .6rem; }
.m-stage.is-plan { background: #fff; padding: .6rem; }

@media (max-width: 960px) {
  .b-main, .fin, .loteo.soon { grid-template-columns: minmax(0, 1fr); }
  .fin-complex { position: static; }
  .hl-i + .hl-i { border-left: 0; padding-left: 0; }
  .hl-i { border-top: 1px solid var(--line); padding-right: 0; }
  .hl-i:first-child { border-top: 0; }
}
@media (max-width: 600px) {
  .fin-list { grid-template-columns: minmax(0, 1fr); }
  .hero { min-height: 78dvh; }
  .brand-name { font-size: .9rem; }
}
@media (prefers-reduced-motion: reduce) { .hero-bg { animation: none; transform: none; } }

/* ===== Ajustes multi-edificio ===== */
.tower-svg { color: var(--dark); overflow: visible; }
.tw-empty { fill: #ebe4d9; }
.tw-fill { fill: var(--primary); }
.tw-edge { stroke: var(--accent); stroke-width: 2; stroke-dasharray: 5 4; }
.b-main { align-items: start; }
.b-main.no-photo { grid-template-columns: minmax(200px, 340px) minmax(0, 1fr); }
.b-img { display: block; width: 100%; aspect-ratio: 4 / 3; }
.b-img img { width: 100%; height: 100%; max-height: none; object-fit: cover; display: block; }
.b-symbol { background: var(--wash); border-radius: var(--radius); padding: 1.6rem 1.6rem 1rem; display: grid; justify-items: center; gap: .6rem; }
.b-symbol .tower-svg { width: min(100%, 220px); height: auto; }
.b-symbol span { color: var(--muted); font-size: .9rem; }
.obra + .obra { margin-top: 5rem; padding-top: 4rem; border-top: 1px solid var(--line); }
.fin-name { font-size: 1.5rem; margin: 2.5rem 0 1.2rem; }
.fin-name:first-of-type { margin-top: 0; }
.u-ph { width: 84px; height: 62px; border-radius: 3px; background: var(--wash) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b9a590' stroke-width='1.4'%3E%3Crect x='5' y='3' width='14' height='18'/%3E%3Cpath d='M9 7h2M13 7h2M9 11h2M13 11h2M9 15h2M13 15h2'/%3E%3C/svg%3E") center / 30px no-repeat; display: block; }
#locTabs { margin-bottom: 1.6rem; }
@media (max-width: 900px) { .b-main.no-photo { grid-template-columns: minmax(0, 1fr); } .u-ph { width: 64px; height: 50px; } }
.about-art li { display: grid; grid-template-columns: minmax(7rem, max-content) 1fr; align-items: baseline; }
