@font-face { font-family: "Unbounded"; src: url("fonts/unbounded-var.woff2") format("woff2"); font-weight: 200 900; font-display: swap; }
@font-face { font-family: "Gabarito"; src: url("fonts/gabarito-var.woff2") format("woff2"); font-weight: 400 900; font-display: swap; }

:root {
  --paper: #eef1f6;
  --paper-2: #e3e8f0;
  --card: #ffffff;
  --ink: #0a1c38;
  --navy: #0b2a55;
  --navy-2: #12396f;
  --night: #071429;
  --muted: #56657c;
  --line: rgba(10, 28, 56, .12);
  --orange: #f2762e;
  --orange-deep: #d65a12;
  --orange-soft: #ffb07a;
  --ice: #dbe6f5;
  --wa: #1f8f4e;
  --display: "Unbounded", system-ui, sans-serif;
  --sans: "Gabarito", system-ui, sans-serif;
  --r: 16px;
  --head: 74px;
  --pad: clamp(16px, 4vw, 56px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--head) + 12px); }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.55 var(--sans); overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; letter-spacing: -.03em; line-height: 1.02; margin: 0; }
h2 em, h1 em { font-style: normal; color: var(--orange); }
p { margin: 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

.progress { position: fixed; left: 0; right: 0; top: 0; height: 3px; z-index: 60; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--orange); transform: scaleX(0); transform-origin: left; }
html:not(.motion) .progress { display: none; }

.kicker { font: 700 .74rem/1.2 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--orange-deep); margin-bottom: 16px; display: inline-flex; align-items: center; gap: 10px; }
.kicker--light { color: var(--orange-soft); }
.kicker .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 0 rgba(242, 118, 46, .6); animation: pulse 2.4s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(242, 118, 46, 0); } 100% { box-shadow: 0 0 0 0 rgba(242, 118, 46, 0); } }
.sec-head { max-width: 820px; margin-bottom: clamp(26px, 4vw, 44px); }
.sec-head--row { max-width: none; display: grid; grid-template-columns: 1fr minmax(260px, 420px); gap: 18px 40px; align-items: end; }
.sec-head h2, .story-copy h2, .contact-copy h2, .publish-copy h2, .zones-head h2 { font-size: clamp(2rem, 4.6vw, 3.9rem); }
.sec-lead { color: var(--muted); font-size: 1.05rem; max-width: 60ch; }

.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 24px; border-radius: 999px; border: 1.5px solid transparent; font-weight: 700; font-size: 1rem; text-decoration: none; cursor: pointer; transition: background .25s, color .25s, border-color .25s, transform .35s var(--ease), box-shadow .35s; white-space: nowrap; overflow: hidden; isolation: isolate; }
.btn svg { width: 20px; height: 20px; flex: none; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: scale(.97); }
.btn--sm { min-height: 44px; padding: 0 16px; font-size: .94rem; }
.btn--orange { background: var(--orange); color: #fff; }
.btn--orange::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--orange-deep); clip-path: circle(0% at var(--mx, 50%) var(--my, 50%)); transition: clip-path .55s var(--ease); }
.btn--orange:hover::before { clip-path: circle(140% at var(--mx, 50%) var(--my, 50%)); }
.btn--orange:hover { box-shadow: 0 14px 30px -12px rgba(214, 90, 18, .8); }
.btn--wa { background: var(--wa); color: #fff; }
.btn--wa:hover { background: #176f3c; box-shadow: 0 12px 28px -12px rgba(16, 80, 44, .8); }
.btn--wa:hover svg { transform: rotate(-10deg) scale(1.1); }
.btn--ghost { border-color: var(--ink); background: transparent; }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--line:hover { background: var(--ink); color: #fff; }
.linkbtn { background: none; border: 0; padding: 6px 0; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; color: var(--orange-deep); }
.linkarrow { font-weight: 700; color: var(--orange-deep); text-decoration: none; display: inline-flex; gap: 8px; align-items: center; }
.linkarrow::after { content: "→"; transition: transform .25s; }
a:hover > .linkarrow::after, .linkarrow:hover::after { transform: translateX(4px); }

/* Cabecera */
.top { position: sticky; top: 0; z-index: 50; height: var(--head); display: flex; align-items: center; gap: 28px; padding: 0 var(--pad); background: rgba(238, 241, 246, .9); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.top.is-scrolled { border-color: var(--line); }
.brand img { height: 50px; width: auto; }
.nav { display: flex; gap: 24px; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 600; font-size: .98rem; position: relative; padding: 6px 0; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--orange); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.nav a:hover::after, .nav a.is-on::after { transform: scaleX(1); transform-origin: left; }
.top-wa { min-height: 44px; padding: 0 18px; }
.menu { display: none; position: relative; }
.menu summary { list-style: none; width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--ink); display: grid; place-content: center; gap: 6px; cursor: pointer; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary span { display: block; width: 18px; height: 2px; background: var(--ink); transition: transform .3s; }
.menu[open] summary span:first-child { transform: translateY(4px) rotate(45deg); }
.menu[open] summary span:last-child { transform: translateY(-4px) rotate(-45deg); }
.menu-panel { position: absolute; right: 0; top: 56px; width: min(82vw, 300px); background: var(--card); border-radius: var(--r); box-shadow: 0 20px 50px rgba(10, 28, 56, .22); padding: 10px; display: grid; }
.menu-panel a { padding: 12px 14px; text-decoration: none; font-weight: 600; border-radius: 10px; }
.menu-panel a:hover { background: var(--paper); }
.menu-pay { color: var(--orange-deep); }

/* Portada con lupa */
.hero { position: relative; overflow: hidden; color: #fff; background: var(--night); min-height: calc(100svh - var(--head)); display: grid; align-content: center; padding: clamp(40px, 7vh, 80px) var(--pad) clamp(110px, 15vh, 150px); }
.hero-stage { position: absolute; inset: 0; pointer-events: none; }
.wall { position: absolute; inset: -6% -4%; display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: 1fr; gap: 10px; }
.wall img { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; min-height: 0; }
.wall:not(.wall--lit) img { filter: grayscale(1) brightness(.42) contrast(1.05); }
.wall:not(.wall--lit)::after { content: ""; position: absolute; inset: 0; background: rgba(11, 42, 85, .55); mix-blend-mode: multiply; }
.wall--lit { display: none; }
.lens { display: none; }
.motion .wall--lit { display: grid; clip-path: circle(var(--lr, 150px) at var(--lx, 70%) var(--ly, 50%)); will-change: clip-path; }
.motion .lens { display: block; z-index: 3; position: absolute; left: 0; top: 0; width: calc(var(--lr, 150px) * 2); height: calc(var(--lr, 150px) * 2); margin: calc(var(--lr, 150px) * -1) 0 0 calc(var(--lr, 150px) * -1); will-change: transform; }
.lens-ring { position: absolute; inset: -7px; border-radius: 50%; border: 7px solid var(--orange); box-shadow: 0 0 0 2px rgba(255, 255, 255, .22), 0 30px 80px -10px rgba(0, 0, 0, .6), inset 0 0 50px rgba(242, 118, 46, .25); }
.lens-handle { position: absolute; left: 50%; top: 50%; width: 18px; height: 52%; margin-left: -9px; border-radius: 10px; background: var(--orange); transform-origin: 50% 0; transform: rotate(-45deg) translateY(calc(var(--lr, 150px) + 4px)); box-shadow: 0 10px 30px rgba(0, 0, 0, .4); }
.lens-tag { position: absolute; left: 50%; bottom: -18px; transform: translateX(-50%); white-space: nowrap; background: var(--orange); color: #fff; font: 700 .82rem/1 var(--sans); letter-spacing: .04em; padding: 8px 14px; border-radius: 999px; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7, 20, 41, .96) 0, rgba(7, 20, 41, .86) 32%, rgba(7, 20, 41, .25) 62%, rgba(7, 20, 41, 0) 80%), linear-gradient(0deg, var(--night), transparent 28%); }
.hero-copy { position: relative; z-index: 2; max-width: 880px; }
.hero-title { font-size: clamp(2.3rem, min(5.4vw, 9.5vh), 5.4rem); line-height: .98; letter-spacing: -.045em; font-weight: 800; }
.ht-a { display: block; }
.ht-rot { display: block; color: var(--orange); min-height: 1.96em; }
.ht-word { display: inline; }
.ht-word > div { white-space: nowrap; }
.hero-lead { margin-top: 22px; font-size: clamp(1.04rem, 1.3vw, 1.2rem); color: rgba(255, 255, 255, .76); max-width: 52ch; }
.hero-lead b { color: #fff; }
.finder { margin-top: 30px; background: rgba(255, 255, 255, .98); color: var(--ink); border-radius: 24px; padding: 16px; box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .7); max-width: 660px; }
.finder-row { display: grid; grid-template-columns: 1fr 1fr auto; gap: 12px; margin-top: 14px; align-items: end; }
.finder-go b { font-variant-numeric: tabular-nums; display: inline-block; min-width: 1.2em; text-align: center; }
.hero-facts { position: absolute; z-index: 2; right: calc(var(--pad) + 74px); bottom: clamp(24px, 4vh, 40px); list-style: none; margin: 0; padding: 0; display: flex; gap: 10px; }
.hero-facts li { display: grid; padding: 12px 18px; border-radius: 16px; background: rgba(7, 20, 41, .6); border: 1px solid rgba(255, 255, 255, .14); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.hero-facts b { font: 700 1.5rem/1.1 var(--display); letter-spacing: -.03em; color: var(--orange-soft); }
.hero-facts span { font-size: .8rem; color: rgba(255, 255, 255, .72); }
.hero-hint { position: absolute; z-index: 2; left: 50%; transform: translateX(-50%); bottom: 14px; display: none; align-items: center; gap: 10px; font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .55); white-space: nowrap; }
.motion .hero-hint { display: inline-flex; }
.hero-hint span { width: 1.5px; height: 30px; background: linear-gradient(var(--orange), transparent); animation: hint 1.8s var(--ease) infinite; transform-origin: top; }
@keyframes hint { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* Segmentos con tinta deslizante */
.seg { position: relative; border: 0; padding: 4px; margin: 0; display: inline-flex; background: var(--paper); border-radius: 999px; gap: 2px; }
.seg label { position: relative; z-index: 1; cursor: pointer; }
.seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.seg span { display: block; padding: 9px 18px; border-radius: 999px; font-weight: 700; font-size: .95rem; transition: background .25s, color .25s; }
.seg input:checked + span { background: var(--navy); color: #fff; }
.seg input:focus-visible + span { outline: 3px solid var(--orange); outline-offset: 2px; }
.seg-ink { position: absolute; z-index: 0; top: 4px; bottom: 4px; left: 0; width: 0; border-radius: 999px; background: var(--navy); }
.seg.has-ink input:checked + span { background: transparent; }
.field { display: grid; gap: 6px; font-size: .8rem; font-weight: 700; color: var(--muted); letter-spacing: .03em; }
.field select, .field input { height: 50px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--card); padding: 0 14px; font-size: 1rem; font-weight: 600; color: var(--ink); letter-spacing: 0; width: 100%; min-width: 0; transition: border-color .2s, box-shadow .2s; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 20px) 22px, calc(100% - 15px) 22px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 36px; }
.field select:hover, .field input:hover { border-color: rgba(10, 28, 56, .35); }
.field select:focus, .field input:focus { border-color: var(--navy); outline: none; box-shadow: 0 0 0 3px rgba(242, 118, 46, .22); }
.field select:disabled { opacity: .55; }

/* Catálogo */
.catalog { position: relative; z-index: 2; padding: clamp(56px, 7vw, 100px) var(--pad); background: var(--paper); border-radius: 30px 30px 0 0; margin-top: -30px; }
.filters { position: sticky; top: calc(var(--head) + 8px); z-index: 20; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; background: var(--card); border-radius: 20px; padding: 10px; box-shadow: 0 14px 40px -24px rgba(10, 28, 56, .45); }
.field--q { flex: 1 1 260px; position: relative; }
.field--q svg { position: absolute; left: 14px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); color: var(--muted); pointer-events: none; transition: color .2s, transform .3s var(--ease); }
.field--q:focus-within svg { color: var(--orange); transform: translateY(-50%) scale(1.15) rotate(-8deg); }
.field--q input { height: 46px; padding-left: 42px; }
.field--sort { margin-left: auto; }
.field--sort select { height: 46px; min-width: 210px; }
.more { position: static; }
.more summary { list-style: none; height: 46px; display: inline-flex; align-items: center; gap: 8px; padding: 0 16px; border-radius: 12px; border: 1.5px solid var(--line); font-weight: 700; cursor: pointer; white-space: nowrap; transition: border-color .2s; }
.more summary:hover { border-color: rgba(10, 28, 56, .35); }
.more summary::-webkit-details-marker { display: none; }
.more summary::after { content: ""; width: 7px; height: 7px; border-right: 2px solid; border-bottom: 2px solid; transform: rotate(45deg) translateY(-2px); transition: transform .25s; }
.more[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.more-n { background: var(--orange); color: #fff; border-radius: 999px; font-size: .75rem; min-width: 22px; height: 22px; display: inline-grid; place-items: center; padding: 0 6px; }
.more-panel { position: absolute; top: calc(100% + 8px); right: 10px; width: min(560px, calc(100% - 20px)); background: var(--card); border-radius: 18px; padding: 16px; box-shadow: 0 24px 60px -20px rgba(10, 28, 56, .45); display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cat-status { display: flex; align-items: center; gap: 18px; margin: 22px 2px 18px; }
#cat-count { font-weight: 600; }
#cat-count b { font: 700 1.5rem/1 var(--display); font-variant-numeric: tabular-nums; color: var(--navy); }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(272px, 1fr)); gap: 34px 22px; }
.card { min-width: 0; }
.card-link { display: block; text-decoration: none; height: 100%; border-radius: var(--r); }
.card-media { position: relative; display: block; border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 3; background: var(--ice); transition: box-shadow .5s var(--ease); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease), opacity .6s var(--ease); }
.card-media .card-alt { position: absolute; inset: 0; opacity: 0; }
.card-media::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 0 var(--orange); transition: box-shadow .35s var(--ease); pointer-events: none; }
.card-link:hover .card-media { box-shadow: 0 26px 50px -24px rgba(10, 28, 56, .6); }
.card-link:hover .card-media::after, .card-link:focus-visible .card-media::after { box-shadow: inset 0 0 0 4px var(--orange); }
.card-link:hover .card-media img { transform: scale(1.06); }
.card-link:hover .card-alt { opacity: 1; }
.card-tag { position: absolute; z-index: 1; left: 12px; top: 12px; padding: 5px 12px; border-radius: 999px; font-size: .78rem; font-weight: 700; background: var(--card); color: var(--ink); }
.card-tag--venta { background: var(--navy); color: #fff; }
.card-count { position: absolute; z-index: 1; right: 12px; top: 12px; padding: 4px 10px; border-radius: 999px; background: rgba(7, 20, 41, .72); color: #fff; font-size: .76rem; font-weight: 700; }
.card-go { position: absolute; z-index: 1; left: 12px; bottom: 12px; padding: 8px 14px; border-radius: 999px; background: var(--orange); color: #fff; font-size: .84rem; font-weight: 700; transform: translateY(160%); transition: transform .45s var(--ease); }
.card-go::after { content: " →"; }
.card-link:hover .card-go, .card-link:focus-visible .card-go { transform: none; }
.card-body { display: grid; gap: 2px; padding: 14px 4px 0; }
.card-zone { font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--orange-deep); }
.card-title { font: 600 1.06rem/1.25 var(--display); letter-spacing: -.02em; transition: color .3s; }
.card-link:hover .card-title { color: var(--navy-2); }
.card-price { font-weight: 800; font-size: 1.28rem; margin-top: 6px; color: var(--navy); }
.card-price span { font-weight: 600; font-size: .84rem; color: var(--muted); }
.card-code { font-size: .8rem; color: var(--muted); margin-top: 6px; }
.specs { list-style: none; margin: 8px 0 0; padding: 10px 0 0; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: .9rem; color: var(--muted); }
.specs b { color: var(--ink); }
.empty { text-align: center; padding: 48px 20px; display: grid; gap: 12px; justify-items: center; }
.empty-title { font: 700 1.4rem/1.2 var(--display); }
.empty p { max-width: 46ch; color: var(--muted); }
.more-wrap { display: flex; justify-content: center; margin-top: 36px; }

/* Zonas */
.zones { background: var(--navy); color: #fff; overflow: hidden; }
.zones-pin { padding: clamp(60px, 8vw, 110px) 0; display: grid; gap: clamp(28px, 4vw, 48px); min-height: 100svh; align-content: center; }
.zones-head { padding: 0 var(--pad); max-width: 900px; }
.zones-lead { margin-top: 14px; color: rgba(255, 255, 255, .72); max-width: 56ch; font-size: 1.05rem; }
.zones-track { list-style: none; margin: 0; padding: 0 var(--pad); display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.zones-track::-webkit-scrollbar { display: none; }
.motion .zones-track.is-pinned { overflow: visible; width: max-content; }
.zone { flex: none; width: clamp(240px, 26vw, 340px); scroll-snap-align: start; }
.zone-btn { position: relative; width: 100%; display: grid; text-align: left; padding: 0; border: 0; background: none; color: inherit; cursor: pointer; }
.zone-img { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: 20px; overflow: hidden; background: var(--navy-2); }
.zone-img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.85) brightness(.7); transition: filter .6s var(--ease), transform .9s var(--ease); }
.zone-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(7, 20, 41, .85), transparent 55%); }
.zone-btn:hover .zone-img img, .zone-btn:focus-visible .zone-img img { filter: none; transform: scale(1.06); }
.zone-n { position: absolute; left: 18px; top: 16px; font: 700 .9rem/1 var(--display); color: var(--orange-soft); }
.zone-name { position: absolute; left: 18px; right: 18px; bottom: 54px; font: 700 clamp(1.4rem, 2.2vw, 1.9rem)/1.05 var(--display); letter-spacing: -.03em; }
.zone-meta { position: absolute; left: 18px; right: 18px; bottom: 22px; font-size: .9rem; color: rgba(255, 255, 255, .8); }
.zone-go { position: absolute; right: 16px; top: 14px; padding: 7px 12px; border-radius: 999px; background: var(--orange); font-size: .8rem; font-weight: 700; opacity: 0; transform: translateY(-6px); transition: opacity .3s, transform .4s var(--ease); }
.zone-btn:hover .zone-go, .zone-btn:focus-visible .zone-go { opacity: 1; transform: none; }

/* Propietarios */
.owners { background: var(--paper-2); }
.owners-pin { min-height: 100svh; padding: clamp(60px, 8vw, 110px) var(--pad); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .95fr); gap: clamp(30px, 5vw, 80px); align-items: center; }
.owners-copy h2 { font-size: clamp(2rem, 4.2vw, 3.6rem); max-width: 14ch; }
.owners-steps { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 4px; counter-reset: s; }
.ostep { display: grid; grid-template-columns: 52px 1fr; gap: 14px; padding: 16px 0; border-top: 1px solid var(--line); opacity: .45; transition: opacity .5s var(--ease); }
.ostep.is-on { opacity: 1; }
.ostep-n { font: 700 .95rem/1.4 var(--display); color: var(--orange-deep); }
.ostep h3 { font-size: 1.15rem; letter-spacing: -.02em; margin-bottom: 4px; }
.ostep p { color: var(--muted); }
html:not(.motion) .ostep, .no-pin .ostep { opacity: 1; }
.owners-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.cal-wrap { position: relative; }
.cal { background: var(--card); border-radius: 26px; padding: clamp(18px, 2.4vw, 30px); box-shadow: 0 40px 90px -40px rgba(10, 28, 56, .55); }
.cal-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; font-family: var(--display); }
.cal-head b { font-size: 1.05rem; letter-spacing: -.02em; }
.cal-head span { font: 700 .78rem/1 var(--sans); padding: 8px 12px; border-radius: 999px; background: rgba(242, 118, 46, .14); color: var(--orange-deep); white-space: nowrap; }
.cal-days, .cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.cal-days span { text-align: center; font-size: .78rem; font-weight: 700; color: var(--muted); padding-bottom: 4px; }
.cal-grid span { aspect-ratio: 1; display: grid; place-items: center; border-radius: 12px; background: var(--paper); font-weight: 700; font-size: clamp(.8rem, 1.2vw, 1rem); color: var(--muted); transition: background .35s, color .35s, transform .35s var(--ease); }
.cal-grid span.is-pay { background: var(--orange); color: #fff; }
.cal-grid span.is-doc { background: var(--navy); color: #fff; }
.cal-grid span.is-empty { background: none; }
html:not(.motion) .cal-grid span[data-d="1"], html:not(.motion) .cal-grid span[data-pay] { background: var(--orange); color: #fff; }
.cal-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-top: 16px; font-size: .85rem; color: var(--muted); }
.cal-key { width: 14px; height: 14px; border-radius: 4px; }
.cal-key--pay { background: var(--orange); }
.cal-key--doc { background: var(--navy); margin-left: 8px; }
.cal-badge { position: absolute; right: -14px; bottom: -22px; background: var(--navy); color: #fff; padding: 14px 20px; border-radius: 18px; font: 600 1rem/1.25 var(--sans); max-width: 240px; box-shadow: 0 20px 40px -18px rgba(7, 20, 41, .7); transform: rotate(-3deg); }
.cal-badge b { color: var(--orange-soft); font-family: var(--display); }

/* Arrendatarios */
.tenants { padding: clamp(60px, 8vw, 110px) var(--pad); background: var(--paper); }
.road { position: relative; list-style: none; margin: 0; padding: 40px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.road-line { position: absolute; left: 0; right: 0; top: 12px; height: 4px; border-radius: 4px; background: var(--line); }
.road-line > span { display: block; height: 100%; background: var(--orange); border-radius: 4px; transform-origin: left; }
html.motion .road-line > span { transform: scaleX(0); }
.road-key { position: absolute; top: 50%; left: 0; width: 44px; height: 44px; margin: -22px 0 0 -6px; border-radius: 50%; background: var(--orange); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 24px -8px rgba(214, 90, 18, .8); }
html:not(.motion) .road-key { left: 100%; margin-left: -40px; }
.road-key svg { width: 26px; height: 26px; }
.rstep { background: var(--card); border-radius: 20px; padding: 22px; box-shadow: 0 20px 50px -36px rgba(10, 28, 56, .5); }
.rstep-n { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--navy); color: #fff; font: 700 1rem/1 var(--display); margin-bottom: 14px; }
.rstep h3 { font-size: 1.2rem; margin-bottom: 6px; }
.rstep p { color: var(--muted); }
.tools { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 22px; margin-top: clamp(30px, 4vw, 50px); }
.tool { border-radius: 24px; padding: clamp(22px, 3vw, 34px); display: grid; gap: 8px; align-content: start; text-decoration: none; }
.tool--pay { background: var(--orange); color: #fff; transition: transform .4s var(--ease), box-shadow .4s; }
.tool--pay:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -30px rgba(214, 90, 18, .9); }
.tool--pay .linkarrow { color: #fff; margin-top: 10px; }
.tool-k { font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; opacity: .85; }
.tool-t { font: 700 clamp(1.5rem, 2.6vw, 2.2rem)/1.05 var(--display); letter-spacing: -.03em; }
.tool-s { opacity: .88; }
.tool--docs { background: var(--card); }
.tool--docs .tool-k { color: var(--muted); }
.docs { list-style: none; margin: 6px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 22px; }
.docs a { display: flex; justify-content: space-between; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 600; transition: color .2s, padding .3s var(--ease); }
.docs a::after { content: "PDF ↓"; font-size: .76rem; font-weight: 700; color: var(--orange-deep); white-space: nowrap; }
.docs a:hover { color: var(--navy-2); padding-left: 6px; }

/* Nosotros */
.story { position: relative; background: var(--night); color: #fff; padding: clamp(40px, 6vw, 80px) 0 clamp(60px, 7vw, 100px); overflow: hidden; }
.story-big { white-space: nowrap; font: 800 clamp(3.6rem, 11vw, 10rem)/1 var(--display); letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, .18); margin-bottom: clamp(30px, 5vw, 60px); }
.story-big span { display: inline-block; padding-left: var(--pad); }
.story-in { padding: 0 var(--pad); display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: clamp(30px, 5vw, 80px); align-items: start; }
.story-lead { margin-top: 20px; font-size: 1.12rem; color: rgba(255, 255, 255, .78); max-width: 60ch; }
.mv { margin-top: 28px; padding-left: 18px; border-left: 3px solid var(--orange); }
.mv h3 { font-size: 1rem; margin-bottom: 6px; color: var(--orange-soft); }
.mv p { color: rgba(255, 255, 255, .72); }
.svc { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.svc li { padding: 9px 16px; border-radius: 999px; border: 1.5px solid rgba(255, 255, 255, .22); font-weight: 600; transition: background .25s, border-color .25s; }
.svc li:hover { background: rgba(242, 118, 46, .16); border-color: var(--orange); }
.figures { margin: 0; display: grid; gap: 0; }
.figures div { padding: 20px 0; border-top: 1px solid rgba(255, 255, 255, .14); }
.figures dt { color: rgba(255, 255, 255, .66); font-size: .92rem; }
.figures dd { margin: 4px 0 0; font: 800 clamp(2.6rem, 5vw, 4.2rem)/1 var(--display); letter-spacing: -.05em; color: var(--orange-soft); }
.figures .dd-text { font-size: clamp(1.3rem, 2vw, 1.7rem); letter-spacing: -.03em; line-height: 1.15; color: #fff; }
.story-reviews { margin: 26px var(--pad) 0; color: var(--orange-soft); }

/* Publique y contacto */
.publish { padding: clamp(60px, 8vw, 110px) var(--pad); display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 70px); align-items: start; background: var(--paper); }
.publish-copy p:not(.kicker) { margin-top: 16px; color: var(--muted); max-width: 46ch; font-size: 1.05rem; }
.contact { padding: clamp(60px, 8vw, 110px) var(--pad); display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 70px); background: var(--navy); color: #fff; }
.lines { list-style: none; margin: 26px 0 0; padding: 0; display: grid; }
.lines li { display: grid; grid-template-columns: 150px 1fr; gap: 12px; padding: 14px 0; border-top: 1px solid rgba(255, 255, 255, .14); }
.lines span { color: rgba(255, 255, 255, .6); font-size: .9rem; padding-top: 2px; }
.lines a { font-weight: 700; text-decoration: none; overflow-wrap: anywhere; }
.lines a:hover { color: var(--orange-soft); }
.lines p { color: rgba(255, 255, 255, .86); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; background: var(--card); color: var(--ink); border-radius: 26px; padding: clamp(20px, 3vw, 34px); box-shadow: 0 30px 70px -40px rgba(10, 28, 56, .55); }
.f { display: grid; gap: 6px; min-width: 0; }
.f--full { grid-column: 1 / -1; }
.f label { font-weight: 700; font-size: .9rem; }
.f small { font-weight: 500; color: var(--muted); }
.f input, .f select, .f textarea { width: 100%; min-width: 0; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; padding: 12px 14px; font-size: 1rem; transition: border-color .2s, box-shadow .2s; }
.f input, .f select { height: 50px; }
.f select { appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%230a1c38' stroke-width='1.8'/%3E%3C/svg%3E") right 14px center / 12px no-repeat; padding-right: 36px; }
.f input:focus, .f select:focus, .f textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(242, 118, 46, .22); }
.f .is-bad { border-color: #c0392b; }
.error { color: #b3261e; font-size: .85rem; font-weight: 600; }
.form-end { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
.form-note { color: var(--muted); font-size: .9rem; flex: 1 1 240px; }

/* Pie */
.foot { background: var(--night); color: rgba(255, 255, 255, .8); padding: 0 var(--pad) 90px; overflow: hidden; }
.foot-word { font: 800 clamp(5rem, 25vw, 23rem)/.82 var(--display); letter-spacing: -.07em; color: var(--orange); margin: 0 0 clamp(30px, 4vw, 50px); padding-top: clamp(28px, 4vw, 48px); white-space: nowrap; }
.foot-in { display: grid; grid-template-columns: auto 1fr; gap: 30px 60px; align-items: start; }
.foot-logo { height: 58px; width: auto; background: #fff; border-radius: 14px; padding: 8px 12px; }
.foot-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.foot-cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot-cols a { text-decoration: none; overflow-wrap: anywhere; }
.foot-cols a:hover { color: var(--orange-soft); }
.foot-note { margin-top: 40px; font-size: .84rem; color: rgba(255, 255, 255, .55); max-width: 90ch; }

.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 60px; height: 60px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 16px 34px -12px rgba(16, 80, 44, .8); transition: transform .35s var(--ease); }
.wa-float svg { width: 30px; height: 30px; }
.wa-float:hover { transform: scale(1.08) rotate(-6deg); }

/* Ficha */
.ficha { padding: 0; border: 0; border-radius: 26px; width: min(1180px, calc(100vw - 40px)); height: min(820px, calc(100dvh - 40px)); max-width: none; max-height: none; background: var(--card); color: var(--ink); overflow: hidden; overscroll-behavior: contain; }
.ficha::backdrop { background: rgba(7, 20, 41, .7); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.ficha-in { position: relative; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(340px, .75fr); height: 100%; min-height: 0; }
.ficha-close { position: absolute; right: 14px; top: 14px; z-index: 4; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--card); display: grid; place-items: center; cursor: pointer; box-shadow: 0 6px 18px rgba(0, 0, 0, .18); transition: transform .35s var(--ease), background .2s; }
.ficha-close svg { width: 20px; height: 20px; }
.ficha-close:hover { transform: rotate(90deg); background: var(--paper); }
.gallery { position: relative; display: flex; flex-direction: column; min-height: 0; min-width: 0; background: var(--night); }
.gallery-track { flex: 1 1 auto; min-height: 0; display: flex; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior: contain; }
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-track img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; scroll-snap-align: start; }
.g-btn { position: absolute; top: calc(50% - 40px); width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .94); font-size: 1.7rem; line-height: 1; cursor: pointer; transition: transform .3s var(--ease); }
.g-btn:hover:not([disabled]) { transform: scale(1.08); }
.g-prev { left: 12px; }
.g-next { right: 12px; }
.g-btn[disabled] { opacity: .35; cursor: default; }
.g-count { position: absolute; left: 14px; top: 14px; background: rgba(7, 20, 41, .72); color: #fff; padding: 4px 12px; border-radius: 999px; font-size: .82rem; font-weight: 700; }
.g-thumbs { flex: none; display: flex; gap: 8px; padding: 10px; overflow-x: auto; scrollbar-width: thin; }
.g-thumbs button { flex: none; width: 76px; height: 56px; padding: 0; border: 2px solid transparent; border-radius: 9px; overflow: hidden; cursor: pointer; opacity: .55; background: none; transition: opacity .25s, border-color .25s; }
.g-thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.g-thumbs button:hover, .g-thumbs button[aria-current="true"] { opacity: 1; }
.g-thumbs button[aria-current="true"] { border-color: var(--orange); }
.ficha-side { display: flex; flex-direction: column; min-height: 0; min-width: 0; }
.ficha-body { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; padding: clamp(22px, 2.6vw, 34px) clamp(20px, 2.6vw, 34px) 24px; display: grid; gap: 10px; align-content: start; outline: none; }
.ficha-tag { font-weight: 700; color: var(--orange-deep); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; padding-right: 52px; }
.ficha-body h2 { font-size: clamp(1.5rem, 2.2vw, 2.1rem); padding-right: 40px; }
.ficha-meta { color: var(--muted); }
.ficha-price { font-weight: 800; font-size: 1.7rem; color: var(--navy); }
.ficha-price span { font-size: .95rem; color: var(--muted); font-weight: 600; }
.specs--lg { font-size: .98rem; }
.ficha-h { font: 700 .74rem/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: 14px; }
.feats { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.feats li { padding: 6px 12px; border-radius: 999px; background: var(--paper); font-size: .9rem; font-weight: 600; }
.ficha-note { margin-top: 12px; font-size: .84rem; color: var(--muted); }
.ficha-actions { position: relative; z-index: 2; flex: none; display: grid; gap: 10px; padding: 14px clamp(16px, 2.4vw, 28px) calc(14px + env(safe-area-inset-bottom)); background: var(--card); border-top: 1px solid var(--line); transition: box-shadow .3s; }
.ficha-actions.is-more { box-shadow: 0 -16px 24px -14px rgba(10, 28, 56, .3); }
.ficha-wa { width: 100%; min-height: 52px; }
.ficha-actions-sub { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ficha-actions-sub .btn { width: 100%; }
html.has-dialog { overflow: hidden; }
html.has-dialog #banda-arquia, body.modal-abierto #banda-arquia { display: none; }
html.has-dialog .wa-float { visibility: hidden; }

/* Tableta */
@media (max-width: 1180px) {
  .nav { gap: 18px; }
  .nav a { font-size: .92rem; }
}
@media (max-width: 1080px) {
  .nav, .top-wa { display: none; }
  .menu { display: block; margin-left: auto; }
  .hero-facts { right: var(--pad); }
}
@media (max-width: 980px) {
  .sec-head--row { grid-template-columns: 1fr; }
  .owners-pin { grid-template-columns: 1fr; min-height: 0; }
  .cal-wrap { max-width: 520px; }
  .road { grid-template-columns: 1fr 1fr; }
  .road-line { display: none; }
  .tools, .publish, .contact, .story-in { grid-template-columns: 1fr; }
  .zones-pin { min-height: 0; }
  .hero { min-height: 0; padding-bottom: 130px; }
  .motion .hero { padding-top: 250px; }
  .motion .hero-shade { background: linear-gradient(180deg, rgba(7, 20, 41, 0) 0, rgba(7, 20, 41, .15) 120px, rgba(7, 20, 41, .85) 250px, rgba(7, 20, 41, .96) 70%); }
  .wall { grid-template-columns: repeat(4, 1fr); }
  .wall img:nth-child(n+17) { display: none; }
  .ficha { width: min(760px, calc(100vw - 32px)); height: calc(100dvh - 32px); }
  .ficha-in { display: flex; flex-direction: column; }
  .gallery { flex: none; height: min(42dvh, 62vw); }
  .g-thumbs { display: none; }
  .g-btn { top: calc(50% - 23px); }
  .ficha-side { flex: 1 1 auto; }
}
/* Celular */
@media (max-width: 640px) {
  :root { --head: 66px; }
  body { font-size: 16px; }
  .brand img { height: 42px; }
  .hero { padding-top: 34px; padding-bottom: 28px; }
  .motion .hero { padding-top: 210px; }
  .motion .hero-shade { background: linear-gradient(180deg, rgba(7, 20, 41, 0) 0, rgba(7, 20, 41, .12) 90px, rgba(7, 20, 41, .86) 205px, rgba(7, 20, 41, .96) 70%); }
  .wall { grid-template-columns: repeat(3, 1fr); inset: -4% -10%; }
  .hero-shade { background: linear-gradient(180deg, rgba(7, 20, 41, .5) 0, rgba(7, 20, 41, .82) 40%, rgba(7, 20, 41, .96) 70%); }
  .hero-title { font-size: clamp(2.1rem, 10vw, 3rem); }
  .ht-rot { min-height: 2.05em; }
  .finder { padding: 12px; border-radius: 20px; }
  .seg--finder { display: flex; }
  .seg--finder label { flex: 1; text-align: center; }
  .seg span { padding: 9px 12px; }
  .finder-row { grid-template-columns: 1fr 1fr; }
  .finder-go { grid-column: 1 / -1; }
  .hero-facts { position: static; margin-top: 18px; flex-wrap: wrap; }
  .hero-facts li { flex: 1 1 calc(50% - 10px); padding: 10px 14px; }
  .hero-facts b { font-size: 1.25rem; }
  .hero-hint { display: none !important; }
  .catalog { border-radius: 22px 22px 0 0; margin-top: -22px; }
  .filters { position: static; }
  .filters .seg { width: 100%; display: flex; }
  .filters .seg label { flex: 1; text-align: center; }
  .field--sort { margin-left: 0; flex: 1 1 100%; }
  .field--sort select { min-width: 0; }
  .more { flex: 1 1 100%; }
  .more summary { width: 100%; justify-content: space-between; }
  .more-panel { left: 10px; right: 10px; width: auto; grid-template-columns: 1fr; }
  .road { grid-template-columns: 1fr; }
  .docs { grid-template-columns: 1fr; }
  .form { grid-template-columns: 1fr; }
  .lines li { grid-template-columns: 1fr; gap: 2px; }
  .foot-in { grid-template-columns: 1fr; }
  .foot-cols { grid-template-columns: 1fr 1fr; }
  .cal-badge { right: 8px; bottom: -26px; max-width: 200px; font-size: .9rem; }
  .ficha { width: 100vw; height: 100dvh; border-radius: 0; margin: 0; }
  .gallery { height: min(36dvh, 72vw); }
  .ficha-close { right: 10px; top: 10px; }
  .ficha-body { padding: 20px 18px; }
  .ficha-body h2, .ficha-tag { padding-right: 0; }
  .ficha-actions { padding: 12px 14px calc(12px + env(safe-area-inset-bottom)); gap: 8px; }
  .ficha-actions-sub { grid-template-columns: 1fr 1fr; }
  .wa-float { width: 54px; height: 54px; right: 14px; bottom: 14px; }
}
@media (max-height: 640px) and (max-width: 640px) { .gallery { height: 30dvh; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
