@font-face { font-family: "Archivo"; src: url("fonts/archivo.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: "Hanken"; src: url("fonts/hanken.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --navy: #13235b; --navy-deep: #0c1640; --ink: #0e1530; --paper: #f4f1ea; --card: #fffdf8; --line: #ddd6c8;
  --red: #d3264f; --red-deep: #a8173b; --muted: #5b6078; --wa: #1c9e55; --wa-deep: #138043;
  --sans: "Hanken", system-ui, -apple-system, "Segoe UI", sans-serif; --display: "Archivo", "Hanken", sans-serif;
  --r: 18px; --head: 72px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--head) + 8px); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.6 var(--sans); overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); line-height: 1.02; margin: 0; letter-spacing: -.01em; }
h2 { font-size: clamp(2.1rem, 4.6vw, 4rem); font-weight: 760; font-stretch: 88%; }
h3 { font-size: 1.3rem; font-weight: 700; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.wrap { width: min(1240px, 100% - 40px); margin-inline: auto; }
.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: 10px; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.eyebrow { font: 700 .78rem/1.2 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--red); margin-bottom: 14px; }
.lead { font-size: clamp(1.05rem, 1.3vw, 1.22rem); color: var(--muted); max-width: 40ch; }
.sec-head { margin-bottom: clamp(28px, 4vw, 48px); max-width: 820px; }
.progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 60; pointer-events: none; }
.progress span { display: block; height: 100%; width: 100%; background: var(--red); transform-origin: 0 50%; transform: scaleX(0); }

/* Botones */
.btn { --bg: var(--ink); --fg: #fff; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 12px 22px; border-radius: 999px; border: 0; background: var(--bg); color: var(--fg); font: 700 1rem/1.1 var(--sans); text-decoration: none; cursor: pointer; position: relative; overflow: hidden; isolation: isolate; transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s; }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(255,255,255,.18); transform: translateY(101%); transition: transform .35s cubic-bezier(.2,.8,.2,1); }
.btn:hover::before { transform: none; }
.btn:hover { box-shadow: 0 10px 26px -10px rgba(14,21,48,.5); }
.btn:active { transform: scale(.97); }
.btn svg { width: 20px; height: 20px; flex: none; transition: transform .3s; }
.btn:hover svg { transform: translateX(3px); }
.btn--wa { --bg: var(--wa); }
.btn--wa:hover { --bg: var(--wa-deep); }
.btn--wa:hover svg { transform: none; }
.btn--accent { --bg: var(--red); }
.btn--dark { --bg: var(--navy); }
.btn--light { --bg: var(--paper); --fg: var(--ink); }
.btn--ghost { --bg: transparent; --fg: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn--ghost::before { background: rgba(19,35,91,.07); }
.link-btn { background: none; border: 0; padding: 6px 0; font: 600 .95rem var(--sans); color: var(--navy); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.text-link { color: var(--navy); font-weight: 700; text-underline-offset: 4px; }

/* Encabezado */
.top { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--head); display: flex; align-items: center; gap: 24px; padding: 0 max(20px, calc((100vw - 1320px) / 2)); color: #fff; transition: background .35s, color .35s, transform .45s cubic-bezier(.2,.8,.2,1), box-shadow .35s; }
.top.is-solid { background: rgba(244,241,234,.9); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); color: var(--ink); box-shadow: 0 1px 0 var(--line); }
.top.is-hidden { transform: translateY(-100%); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.brand img { width: 44px; height: 44px; background: #fff; border-radius: 12px; padding: 4px; }
.brand-name { font: 800 1.35rem/1 var(--display); font-stretch: 95%; letter-spacing: -.02em; }
.brand-name span { color: var(--red); }
.top:not(.is-solid) .brand-name span { color: #ff7d9a; }
.nav { display: flex; gap: 4px; }
.nav a { position: relative; padding: 10px 12px; font-weight: 600; font-size: .98rem; text-decoration: none; border-radius: 999px; }
.nav a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 5px; height: 2px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .35s cubic-bezier(.2,.8,.2,1); }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); transform-origin: left; }
.top-wa { min-height: 44px; padding: 10px 18px; }
.menu { display: none; position: relative; }
.menu summary { list-style: none; width: 46px; height: 46px; display: grid; place-content: center; gap: 6px; cursor: pointer; border-radius: 50%; background: rgba(255,255,255,.14); }
.top.is-solid .menu summary { background: rgba(19,35,91,.08); }
.menu summary::-webkit-details-marker { display: none; }
.menu summary span { width: 20px; height: 2px; background: currentColor; 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(300px, calc(100vw - 32px)); background: var(--card); color: var(--ink); border-radius: var(--r); padding: 10px; box-shadow: 0 24px 50px -20px rgba(14,21,48,.45); display: grid; }
.menu-panel a { padding: 13px 14px; border-radius: 12px; text-decoration: none; font-weight: 600; }
.menu-panel a:hover { background: var(--paper); }
.menu-panel .menu-wa { background: var(--wa); color: #fff; margin-top: 6px; text-align: center; }

/* Hero */
.hero { position: relative; min-height: 100svh; background: radial-gradient(120% 90% at 85% 10%, #1d3280 0%, var(--navy) 40%, var(--navy-deep) 100%); color: #fff; padding: calc(var(--head) + 28px) 0 56px; overflow: hidden; }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 120px; background: linear-gradient(transparent, rgba(12,22,64,.6)); pointer-events: none; }
.hero-grid { position: relative; z-index: 2; width: min(1320px, 100% - 40px); margin-inline: auto; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(24px, 4vw, 64px); align-items: center; min-height: calc(100svh - var(--head) - 84px); }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: .95rem; color: rgba(255,255,255,.82); padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); margin-bottom: 22px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #3ee08a; box-shadow: 0 0 0 0 rgba(62,224,138,.6); animation: ping 2.2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(62,224,138,0); } 100% { box-shadow: 0 0 0 0 rgba(62,224,138,0); } }
.hero-title { --wd: 100; font-size: clamp(3.2rem, 8.4vw, 8.2rem); font-weight: 820; line-height: .9; letter-spacing: -.035em; font-variation-settings: "wdth" var(--wd); margin-bottom: 26px; }
.ht-line { display: block; }
.ht-accent { color: #ff6f8f; }
.hero-title .char { display: inline-block; font-variation-settings: "wdth" var(--cw, 100); }
.hero .lead { color: rgba(255,255,255,.78); margin-bottom: 28px; }
.finder { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; gap: 6px; padding: 6px; background: var(--card); border-radius: 22px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); max-width: 760px; }
.finder label { display: grid; padding: 8px 14px; border-radius: 16px; transition: background .2s; color: var(--ink); }
.finder label:hover, .finder label:focus-within { background: var(--paper); }
.finder label span { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.finder select { border: 0; background: transparent; font: 600 1rem var(--sans); color: var(--ink); padding: 2px 0; width: 100%; cursor: pointer; outline: none; }
.finder-go { border-radius: 16px; min-height: 60px; padding-inline: 24px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 26px; color: rgba(255,255,255,.7); font-size: .95rem; }
.hero-facts b { color: #fff; font-family: var(--display); font-size: 1.15rem; margin-right: 6px; }
.hero-stage { position: relative; aspect-ratio: 1 / 1.02; width: 100%; max-width: 620px; justify-self: center; }
.stage-square { position: absolute; inset: 14% 8% 4% 10%; background: linear-gradient(145deg, var(--red), var(--red-deep)); border-radius: 18px; transform: rotate(-11deg); box-shadow: 0 40px 80px -30px rgba(0,0,0,.5); }
.stage-house { position: absolute; inset: 0; clip-path: polygon(50% 4%, 92% 40%, 84% 40%, 84% 96%, 16% 96%, 16% 40%, 8% 40%, 22% 28%, 22% 10%, 32% 10%, 32% 19.4%); overflow: hidden; background: var(--navy-deep); }
.stage-house .slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.1s ease; }
.stage-house .slide.is-on { opacity: 1; }
.stage-outline { position: absolute; inset: -2.5%; width: 105%; height: 105%; overflow: visible; pointer-events: none; }
.stage-outline path { fill: none; stroke: #fff; stroke-width: .5; vector-effect: non-scaling-stroke; stroke-width: 2px; opacity: .55; stroke-dasharray: 1; stroke-dashoffset: 0; }
.stage-cap { position: absolute; z-index: 3; right: max(20px, calc((100vw - 1320px) / 2)); bottom: 0; display: flex; align-items: center; gap: 12px; padding: 12px 14px 12px 18px; border-radius: 16px; border: 0; background: var(--card); color: var(--ink); font: 600 .98rem/1.25 var(--sans); text-align: left; cursor: pointer; box-shadow: 0 20px 40px -20px rgba(0,0,0,.6); transition: transform .3s; max-width: calc(100% - 40px); }
.stage-cap:hover { transform: translateY(-3px); }
.stage-cap-k { display: block; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--red); font-weight: 700; }
.stage-cap > span:not(.stage-cap-k) { display: block; }
.stage-cap svg { width: 22px; height: 22px; flex: none; color: var(--red); }
.stage-cap { flex-wrap: nowrap; }
.stage-cap .stage-cap-k + span { margin-top: 2px; }
.hero-grid { position: relative; }

/* Vitrina: la casa que crece */
.reveal { position: relative; background: var(--navy-deep); color: #fff; }
.reveal-pin { position: relative; height: 100svh; display: grid; place-items: center; overflow: hidden; }
.reveal-house { position: absolute; inset: 0; clip-path: polygon(0 0, 100% 0, 100% 0, 100% 100%, 0 100%, 0 100%, 0 0, 0 0, 10% 0, 20% 0, 35% 0); }
.reveal-house img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.55) saturate(1.05); transform: scale(1.12); }
.reveal-copy { position: relative; z-index: 2; text-align: center; padding: 0 20px; max-width: 980px; }
.reveal-n { font: 860 clamp(7rem, 22vw, 18rem)/.82 var(--display); font-stretch: 112%; letter-spacing: -.05em; color: #fff; }
.reveal-copy h2 { font-size: clamp(1.6rem, 3.4vw, 3rem); font-weight: 700; font-stretch: 92%; margin: 12px auto 30px; max-width: 24ch; }

/* Catálogo */
.catalog { position: relative; background: var(--paper); padding: clamp(80px, 10vw, 130px) 0 0; border-radius: 34px 34px 0 0; margin-top: -34px; z-index: 3; }
.filters { position: sticky; top: calc(var(--head) + 6px); z-index: 20; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 8px; background: rgba(255,253,248,.92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-radius: 20px; box-shadow: 0 0 0 1px var(--line), 0 18px 40px -30px rgba(14,21,48,.5); transition: top .45s cubic-bezier(.2,.8,.2,1); }
html.head-hidden .filters { top: 8px; }
.filters input, .filters select { font: 600 .98rem var(--sans); color: var(--ink); background: var(--paper); border: 0; border-radius: 14px; min-height: 46px; padding: 0 14px; outline: none; }
.filters select { cursor: pointer; padding-right: 30px; appearance: none; background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m7 10 5 5 5-5' fill='none' stroke='%2313235b' stroke-width='2'/%3E%3C/svg%3E") right 8px center / 18px no-repeat; }
.filters input:focus, .filters select:focus { box-shadow: inset 0 0 0 2px var(--navy); }
.f-q { flex: 1 1 200px; }
.f-q input { width: 100%; }
.chips { position: relative; display: flex; border: 0; margin: 0; padding: 4px; background: var(--paper); border-radius: 14px; }
.chips label { position: relative; z-index: 1; cursor: pointer; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { display: block; padding: 9px 14px; font-weight: 700; font-size: .95rem; border-radius: 10px; transition: color .3s; }
.chips input:checked + span { color: #fff; }
.chips input:focus-visible + span { outline: 3px solid var(--red); }
.chips-ind { position: absolute; z-index: 0; top: 4px; bottom: 4px; left: 0; width: 0; border-radius: 10px; background: var(--navy); transition: transform .45s cubic-bezier(.2,.8,.2,1), width .45s cubic-bezier(.2,.8,.2,1); }
html:not(.js) .chips input:checked + span { background: var(--navy); }
.cat-bar { display: flex; justify-content: space-between; align-items: center; margin: 22px 2px 18px; }
#cat-count { font: 700 1.05rem var(--sans); }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.card[hidden] { display: none; }
.card-link { display: block; height: 100%; text-decoration: none; background: var(--card); border-radius: 22px; overflow: hidden; box-shadow: 0 0 0 1px var(--line); transition: transform .45s cubic-bezier(.2,.8,.2,1), box-shadow .45s; transform-style: preserve-3d; }
.card-link:hover { box-shadow: 0 0 0 1px transparent, 0 30px 50px -28px rgba(14,21,48,.55); }
.card-media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s cubic-bezier(.2,.8,.2,1); }
.card-link:hover .card-media img { transform: scale(1.07); }
.card-op { position: absolute; left: 14px; top: 14px; padding: 6px 12px; border-radius: 999px; font: 700 .78rem/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; background: var(--card); color: var(--navy); }
.card-op--arriendo { background: var(--red); color: #fff; }
.card-go { position: absolute; right: 14px; bottom: 14px; width: 46px; height: 46px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; transform: scale(.4) rotate(-45deg); opacity: 0; transition: transform .45s cubic-bezier(.2,.8,.2,1), opacity .3s; }
.card-go svg { width: 22px; height: 22px; }
.card-link:hover .card-go, .card-link:focus-visible .card-go { transform: none; opacity: 1; }
.card-body { display: grid; gap: 4px; padding: 18px 20px 20px; }
.card-type { font-size: .88rem; font-weight: 600; color: var(--muted); }
.card-code { font-variant-numeric: tabular-nums; }
.card-title { font: 760 1.45rem/1.1 var(--display); font-stretch: 90%; color: var(--ink); }
.card-price { font: 800 1.35rem/1.2 var(--display); color: var(--navy); margin-top: 6px; font-variant-numeric: tabular-nums; }
.per { font: 600 .9rem var(--sans); color: var(--muted); }
.card-facts { display: flex; gap: 8px; margin-top: 8px; }
.card-facts span { padding: 5px 10px; border-radius: 999px; background: var(--paper); font-size: .85rem; font-weight: 600; color: var(--ink); }
.empty[hidden] { display: none; }
.empty { text-align: center; padding: 48px 20px; display: grid; justify-items: center; gap: 10px; }
.empty-t { font: 760 1.6rem var(--display); }
.ask { margin: clamp(40px, 6vw, 70px) 0 0; display: grid; grid-template-columns: 1fr auto; gap: 8px 32px; align-items: center; padding: clamp(24px, 3vw, 36px); border-radius: 26px; background: var(--card); box-shadow: 0 0 0 1px var(--line); }
.ask-t { font: 760 1.6rem/1.1 var(--display); font-stretch: 92%; }
.ask p:not(.ask-t) { color: var(--muted); grid-column: 1; }
.ask .btn { grid-row: 1 / span 2; grid-column: 2; }
.marquee { margin-top: clamp(60px, 8vw, 100px); padding: 26px 0; border-block: 1px solid var(--line); overflow: hidden; }
.marquee-track { display: flex; gap: 48px; width: max-content; padding-left: 48px; }
.marquee-track a { font: 760 clamp(2rem, 4.4vw, 3.6rem)/1 var(--display); font-stretch: 84%; color: transparent; -webkit-text-stroke: 1.5px var(--navy); text-decoration: none; white-space: nowrap; transition: color .3s; }
.marquee-track a:hover { color: var(--red); -webkit-text-stroke-color: var(--red); }
.marquee-track sup { font: 700 .9rem var(--sans); color: var(--red); -webkit-text-stroke: 0; margin-left: 6px; vertical-align: top; }
html:not(.js) .marquee-track { flex-wrap: wrap; width: auto; }

/* Arrendar */
.rent { background: var(--navy); color: #fff; overflow: hidden; }
.rent-pin { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: clamp(80px, 10vw, 120px) 0; }
.rent-intro { width: min(1240px, 100% - 40px); margin: 0 auto 44px; }
.rent-intro .eyebrow { color: #ff8aa5; }
.rent-intro p:not(.eyebrow) { color: rgba(255,255,255,.75); margin-top: 14px; font-size: 1.15rem; }
.rent-track { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; width: min(1240px, 100% - 40px); margin: 0 auto; }
.rent-track.is-pinned .step { width: min(440px, 80vw); }
.rent-track.is-pinned { display: flex; width: max-content; margin: 0; padding: 0 max(20px, calc((100vw - 1240px) / 2)); }
.step { flex: none; padding: 32px; border-radius: 26px; background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); display: flex; flex-direction: column; gap: 14px; }
.step-n { font: 800 1rem var(--display); color: #ff8aa5; letter-spacing: .1em; }
.step h3 { font-size: clamp(1.8rem, 2.6vw, 2.4rem); font-stretch: 90%; }
.step p { color: rgba(255,255,255,.8); }
.step-note { padding: 12px 14px; border-radius: 14px; background: rgba(255,255,255,.08); font-size: .95rem; }
.step--big { background: var(--red); box-shadow: none; }
.step--big h3 { font-size: clamp(2.6rem, 4.4vw, 4rem); }
.step--big p { color: rgba(255,255,255,.92); }
.step--cta { background: var(--paper); color: var(--ink); }
.step--cta p { color: var(--muted); }
.step-links { display: grid; gap: 10px; margin-top: auto; }
.step-links .btn--ghost { --fg: var(--ink); }

/* Propietarios */
.owners { padding: clamp(90px, 11vw, 140px) 0; background: var(--paper); }
.owners-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(30px, 5vw, 80px); align-items: start; }
.owners-head { position: sticky; top: calc(var(--head) + 40px); display: grid; gap: 22px; justify-items: start; }
.stack { display: grid; gap: 26px; }
.stack-card { position: sticky; top: calc(var(--head) + 40px); min-height: 300px; padding: clamp(26px, 3vw, 40px); border-radius: 28px; background: var(--card); box-shadow: 0 0 0 1px var(--line), 0 30px 60px -40px rgba(14,21,48,.5); display: flex; flex-direction: column; gap: 10px; transform-origin: 50% 0; }
.stack-card:nth-child(2) { top: calc(var(--head) + 60px); }
.stack-card:nth-child(3) { top: calc(var(--head) + 80px); }
.stack-card:nth-child(4) { top: calc(var(--head) + 100px); }
.stack-big { font: 860 clamp(3.4rem, 6vw, 5.4rem)/.9 var(--display); font-stretch: 110%; letter-spacing: -.04em; color: var(--navy); margin-bottom: auto; padding-bottom: 20px; }
.stack-card h3 { font-size: 1.6rem; }
.stack-card p { color: var(--muted); }
.stack-card--accent { background: var(--red); color: #fff; box-shadow: none; }
.stack-card--accent .stack-big, .stack-card--accent p { color: #fff; }
.stack-card--ink { background: var(--navy); color: #fff; box-shadow: none; }
.stack-card--ink .stack-big { color: #ff8aa5; }
.stack-card--ink p { color: rgba(255,255,255,.8); }
.consign { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 70px); margin-top: clamp(70px, 9vw, 120px); align-items: start; scroll-margin-top: calc(var(--head) + 20px); }
.consign-info { display: grid; gap: 14px; }
.consign-info h3 { font-size: clamp(1.7rem, 2.6vw, 2.3rem); margin-bottom: 6px; }
.consign-info details { border-radius: 18px; background: var(--card); box-shadow: 0 0 0 1px var(--line); padding: 4px 20px; }
.consign-info summary { cursor: pointer; padding: 14px 0; font-weight: 700; list-style: none; display: flex; justify-content: space-between; }
.consign-info summary::after { content: "+"; font-size: 1.4rem; line-height: 1; transition: transform .3s; }
.consign-info details[open] summary::after { transform: rotate(45deg); }
.consign-info ul { padding: 0 0 16px; display: grid; gap: 8px; color: var(--muted); }
.consign-info li { padding-left: 18px; position: relative; }
.consign-info li::before { content: ""; position: absolute; left: 0; top: .65em; width: 7px; height: 7px; border-radius: 2px; background: var(--red); transform: rotate(45deg); }

/* Formularios */
.form { display: grid; gap: 14px; padding: clamp(22px, 3vw, 36px); border-radius: 28px; background: var(--card); box-shadow: 0 0 0 1px var(--line), 0 30px 60px -40px rgba(14,21,48,.45); }
.form h3 { font-size: 1.7rem; }
.form-sub { color: var(--muted); margin-top: -6px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 700; font-size: .92rem; }
.opt { font-weight: 500; color: var(--muted); }
.field input, .field select, .field textarea { font: 500 1rem var(--sans); color: var(--ink); background: var(--paper); border: 1.5px solid transparent; border-radius: 14px; padding: 13px 14px; outline: none; transition: border-color .2s, background .2s; width: 100%; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--navy); background: #fff; }
.field.is-bad input, .field.is-bad select, .field.is-bad textarea { border-color: var(--red); }
.error { color: var(--red-deep); font-size: .88rem; font-weight: 600; }
.form-go { width: 100%; }
.form-status { font-weight: 600; color: var(--wa-deep); min-height: 1.2em; }
.form-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }

/* Servicios */
.services { padding: clamp(90px, 11vw, 140px) 0; background: var(--card); border-radius: 34px; }
.srv { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.srv-item { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 28px 24px; border-radius: 24px; background: var(--paper); overflow: hidden; isolation: isolate; transition: color .45s; }
.srv-item::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--navy); clip-path: circle(0 at 90% 8%); transition: clip-path .7s cubic-bezier(.2,.8,.2,1); }
.srv-item:hover { color: #fff; }
.srv-item:hover::before { clip-path: circle(150% at 90% 8%); }
.srv-n { font: 800 .95rem var(--display); color: var(--red); letter-spacing: .1em; }
.srv-item h3 { font-size: 1.7rem; font-stretch: 92%; }
.srv-item p { color: var(--muted); transition: color .45s; }
.srv-item:hover p, .srv-item:hover li { color: rgba(255,255,255,.82); }
.srv-item ul { display: grid; gap: 8px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); font-size: .95rem; }
.srv-item li { transition: color .45s; }

/* Nosotros */
.about { padding: clamp(90px, 11vw, 140px) 0; }
.about-grid { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: clamp(30px, 6vw, 90px); align-items: center; }
.about-house { width: 100%; max-width: 360px; justify-self: center; overflow: visible; }
.about-house path { fill: none; stroke: var(--navy); stroke-width: 2.2; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.about-grid > div { display: grid; gap: 18px; }
.about-grid p:not(.eyebrow) { color: var(--muted); max-width: 62ch; font-size: 1.1rem; }
.about-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 10px 0 0; }
.about-facts div { padding: 18px; border-radius: 18px; background: var(--card); box-shadow: 0 0 0 1px var(--line); }
.about-facts dt { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--red); }
.about-facts dd { margin: 4px 0 0; font-weight: 700; }

/* Pagos */
.pay { padding: clamp(90px, 11vw, 140px) 0; background: #e9e4d8; border-radius: 34px 34px 0 0; }
.tabs { display: inline-flex; gap: 4px; padding: 5px; border-radius: 999px; background: var(--card); margin-bottom: 26px; box-shadow: 0 0 0 1px var(--line); }
.tabs button { border: 0; background: transparent; padding: 11px 20px; border-radius: 999px; font: 700 1rem var(--sans); color: var(--ink); cursor: pointer; transition: background .3s, color .3s; }
.tabs button[aria-selected="true"] { background: var(--navy); color: #fff; }
.pay-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 16px; }
.pay-card { display: flex; flex-direction: column; gap: 10px; padding: 26px; border-radius: 24px; background: var(--card); transition: transform .4s cubic-bezier(.2,.8,.2,1); }
.pay-card:hover { transform: translateY(-4px); }
.pay-card p, .pay-card li { color: var(--muted); }
.pay-card b { color: var(--ink); }
.pay-card ul { display: grid; gap: 6px; }
.pay-card--main { grid-row: span 2; background: var(--navy); color: #fff; }
.pay-card--main p { color: rgba(255,255,255,.8); }
.pay-card--main .btn { align-self: flex-start; margin-top: auto; }
.pay-links a { color: var(--navy); font-weight: 700; text-underline-offset: 3px; }
.panel[hidden] { display: none; }
.form--pqr { margin-top: 28px; }

/* Contacto */
.contact { padding: clamp(90px, 11vw, 140px) 0; background: var(--navy-deep); color: #fff; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(30px, 6vw, 90px); align-items: start; }
.contact .eyebrow { color: #ff8aa5; }
.ct-list { display: grid; gap: 10px; margin-top: 30px; }
.ct-list a { display: flex; align-items: center; gap: 16px; padding: 14px 16px; border-radius: 18px; text-decoration: none; background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); transition: background .3s, transform .3s; font-weight: 700; font-size: 1.08rem; }
.ct-list a:hover { background: rgba(255,255,255,.12); transform: translateX(4px); }
.ct-list svg { width: 26px; height: 26px; flex: none; color: #ff8aa5; }
.ct-list .ct-wa svg { color: #3ee08a; }
.ct-list small { display: block; font-size: .78rem; font-weight: 600; color: rgba(255,255,255,.6); letter-spacing: .06em; text-transform: uppercase; }
.contact .form { color: var(--ink); }

/* Pie */
.foot { background: var(--navy-deep); color: rgba(255,255,255,.75); padding: 0 0 90px; overflow: hidden; border-top: 1px solid rgba(255,255,255,.1); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; padding-top: 50px; }
.foot-brand { display: flex; gap: 14px; align-items: center; }
.foot-brand img { width: 56px; height: 56px; background: #fff; border-radius: 14px; padding: 5px; }
.foot ul { display: grid; gap: 8px; }
.foot a { text-decoration: none; }
.foot a:hover { color: #fff; text-decoration: underline; }
.foot-word { font: 880 clamp(3.4rem, 12vw, 12rem)/.8 var(--display); font-stretch: 118%; letter-spacing: -.05em; color: rgba(255,255,255,.06); white-space: nowrap; margin: 40px 0 20px; text-align: center; }
.foot-note { width: min(1240px, 100% - 40px); margin: 0 auto; font-size: .85rem; color: rgba(255,255,255,.55); }
.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 14px 30px -10px rgba(0,0,0,.45); transition: transform .3s; }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; }

/* Ficha */
.ficha { padding: 0; border: 0; border-radius: 26px; width: min(1120px, calc(100vw - 40px)); height: min(760px, calc(100dvh - 40px)); max-width: none; max-height: none; background: var(--card); color: var(--ink); overflow: hidden; overscroll-behavior: contain; }
.ficha::backdrop { background: rgba(12,22,64,.7); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.ficha-in { position: relative; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(340px, .8fr); 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); color: var(--ink); display: grid; place-items: center; cursor: pointer; box-shadow: 0 6px 18px rgba(0,0,0,.18); transition: transform .3s; }
.ficha-close svg { width: 20px; height: 20px; }
.ficha-close:hover { transform: rotate(90deg); }
.ficha-media { position: relative; min-height: 0; background: var(--navy-deep); overflow: hidden; }
.ficha-media img { width: 100%; height: 100%; object-fit: cover; }
.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: 30px 30px 24px; display: grid; gap: 12px; align-content: start; outline: none; }
.ficha-tag { font: 700 .78rem/1.2 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--red); padding-right: 52px; }
.ficha-body h2 { font-size: clamp(1.8rem, 2.6vw, 2.5rem); padding-right: 40px; font-stretch: 90%; }
.ficha-price { font: 800 1.8rem var(--display); color: var(--navy); font-variant-numeric: tabular-nums; }
.ficha-price span { font: 600 1rem var(--sans); color: var(--muted); }
.ficha-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 4px 0 0; }
.ficha-facts div { padding: 10px 12px; border-radius: 14px; background: var(--paper); }
.ficha-facts dt { font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.ficha-facts dd { margin: 2px 0 0; font-weight: 700; }
.ficha-h { font: 700 .76rem/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: 14px; }
.ficha-steps { counter-reset: s; display: grid; gap: 10px; }
.ficha-steps li { counter-increment: s; display: grid; grid-template-columns: 30px 1fr; gap: 10px; color: var(--ink); }
.ficha-steps li::before { content: counter(s); width: 28px; height: 28px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font: 700 .85rem var(--sans); }
.ficha-inc { display: grid; gap: 6px; color: var(--muted); }
.ficha-inc li { padding-left: 18px; position: relative; }
.ficha-inc li::before { content: ""; position: absolute; left: 0; top: .65em; width: 7px; height: 7px; border-radius: 2px; background: var(--red); transform: rotate(45deg); }
.ficha-note { font-size: .88rem; color: var(--muted); padding: 12px 14px; border-radius: 14px; background: var(--paper); margin-top: 8px; }
.ficha-actions { flex: none; display: grid; gap: 10px; padding: 14px 24px 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(14,21,48,.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%; min-height: 46px; }
html.has-dialog { overflow: hidden; }
html.has-dialog #banda-arquia { display: none; }
html.has-dialog .wa-float { visibility: hidden; }

/* Responsive */
@media (max-width: 1180px) {
  .nav a { padding: 10px 8px; font-size: .94rem; }
  .srv { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1020px) {
  .nav, .top-wa { display: none; }
  .menu { display: block; }
  .hero-grid { grid-template-columns: 1fr; min-height: 0; gap: 34px; }
  .hero-stage { max-width: 480px; width: 82%; }
  .stage-cap { position: relative; right: auto; margin: -20px auto 0; justify-self: center; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .owners-grid, .consign, .contact-grid, .about-grid { grid-template-columns: 1fr; }
  .owners-head { position: static; }
  .about-house { max-width: 200px; justify-self: start; }
  .pay-grid { grid-template-columns: 1fr 1fr; }
  .pay-card--main { grid-row: auto; grid-column: 1 / -1; }
  .ficha { width: min(720px, calc(100vw - 32px)); height: calc(100dvh - 32px); }
  .ficha-in { display: flex; flex-direction: column; }
  .ficha-media { flex: 0 0 34%; }
  .ficha-side { flex: 1 1 auto; }
}
@media (max-width: 720px) {
  :root { --head: 64px; }
  body { font-size: 1rem; }
  .hero { padding-top: calc(var(--head) + 18px); }
  .hero-title { font-size: clamp(2.9rem, 14.5vw, 4.4rem); }
  .finder { grid-template-columns: 1fr 1fr; }
  .finder label:nth-child(3) { grid-column: 1 / -1; }
  .finder-go { grid-column: 1 / -1; }
  .hero-facts { gap: 8px; flex-direction: column; }
  .hero-stage { width: 92%; }
  .filters { position: static; }
  .filters > label:not(.f-q) { flex: 1 1 calc(50% - 4px); }
  .filters > label select { width: 100%; }
  .chips { flex: 1 1 100%; }
  .chips label { flex: 1; text-align: center; }
  .cards { grid-template-columns: 1fr; }
  .ask { grid-template-columns: 1fr; }
  .ask .btn { grid-row: auto; grid-column: 1; justify-self: start; }
  .stack-card { position: relative; top: auto !important; min-height: 0; }
  .srv { grid-template-columns: 1fr; }
  .pay-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .about-facts { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .tabs { display: flex; }
  .tabs button { flex: 1; }
  .ficha { width: 100vw; height: 100dvh; border-radius: 0; margin: 0; max-height: 100dvh; }
  .ficha-media { flex-basis: 30%; }
  .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)); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .dot { animation: none; }
}
html:not(.js) .reveal-pin { height: auto; padding: 120px 0; }
