/* Verticalia Home Inmobiliaria
   Concepto: lámina de arquitecto. Bandas de tinta y papel, fotos de obra propia,
   cotas de plano como pies de foto y fichas técnicas para los datos. */
:root {
  --ink: #211E1E;          /* tinta de marca */
  --ink-2: #2C2827;
  --ink-3: #3A3534;
  --paper: #FFFFFF;
  --stone: #F6F4F0;        /* papel cálido, inclinado hacia la arena */
  --sand: #C9B79C;         /* arena de marca */
  --sand-soft: #EFE8DC;
  --bronze: #8A6D47;
  --rust: #AD5207;         /* acento de marca, con moderación */
  --text: #211E1E;
  --muted: #6B6461;
  --on-ink: #F4F1EC;
  --on-ink-muted: rgba(244, 241, 236, .68);
  --line: rgba(33, 30, 30, .12);
  --line-2: rgba(33, 30, 30, .24);
  --line-ink: rgba(244, 241, 236, .16);
  --ok: #2F6B45;
  --err: #A3311C;
  --err-soft: #FBECE8;
  --font-h: "Helvetica Neue", Helvetica, "Inter Tight", Arial, sans-serif;
  --font-b: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --r: 4px;
  --top-h: 76px;
  --max: 1200px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--top-h) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--text); font: 400 16px/1.6 var(--font-b); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--ink); }
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-h); font-weight: 700; letter-spacing: -.025em; line-height: 1.08; margin: 0; text-wrap: balance; }
p { margin: 0; }
svg { flex: none; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
svg .fill { fill: currentColor; stroke: none; }
figure { margin: 0; }
:focus-visible { outline: 2px solid var(--rust); outline-offset: 3px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--paper); color: var(--ink); padding: 8px 14px; border-radius: var(--r); }
.skip:focus { left: 8px; }

.wrap { width: 100%; max-width: calc(var(--max) + 64px); margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
@media (min-width: 900px) { .wrap { padding-left: max(32px, env(safe-area-inset-left, 0px)); padding-right: max(32px, env(safe-area-inset-right, 0px)); } }

/* Etiquetas y cotas */
.eyebrow { display: flex; align-items: center; gap: 12px; font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--bronze); }
.eyebrow::before { content: ""; width: 28px; height: 9px; flex: none; border-left: 1px solid currentColor; border-right: 1px solid currentColor; background: linear-gradient(currentColor, currentColor) center / 100% 1px no-repeat; opacity: .9; }
.eyebrow-light { color: var(--sand); }
.cota { display: flex; align-items: center; gap: 12px; font-size: 12px; letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.cota-line { flex: 1; min-width: 16px; height: 9px; border-left: 1px solid currentColor; background: linear-gradient(currentColor, currentColor) center / 100% 1px no-repeat; }
.cota-line:last-child { border-left: 0; border-right: 1px solid currentColor; }
.cota-txt { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.cota-light { color: var(--on-ink-muted); }

/* Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: var(--r); border: 1px solid transparent; font-weight: 600; font-size: 15px; text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .1s; }
.btn svg { width: 18px; height: 18px; transition: transform .2s; }
.btn:hover svg:last-child { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn-dark { background: var(--ink); color: var(--on-ink); }
.btn-dark:hover { background: #000; }
.btn-light { background: var(--on-ink); color: var(--ink); }
.btn-light:hover { background: var(--sand); }
.btn-ghost { background: transparent; border-color: var(--line-2); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-ghost svg:first-child { color: #1F8A4C; }
.btn-ghost:hover svg:last-child { transform: none; }
.btn-block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.link-arrow svg { width: 16px; height: 16px; transition: transform .2s; }
.link-arrow:hover svg { transform: translateX(3px); }

/* Franja superior: construir desde cero */
.build-bar { background: var(--sand); color: var(--ink); font-size: 13.5px; }
.build-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 40px; }
.build-link { display: inline-flex; align-items: center; gap: 10px; min-width: 0; padding-block: 8px; text-decoration: none; }
.build-link > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bl-mob { display: none; }
.build-link strong { font-weight: 600; border-bottom: 1px solid currentColor; }
.build-link svg { width: 17px; height: 17px; }
.build-link .bl-go { transition: transform .2s; }
.build-link:hover .bl-go { transform: translate(2px, -2px); }
.build-contact { display: flex; gap: 22px; flex: none; }
.build-contact a { display: inline-flex; align-items: center; gap: 7px; text-decoration: none; font-weight: 600; font-variant-numeric: tabular-nums; }
.build-contact a:hover { text-decoration: underline; }
.build-contact svg { width: 16px; height: 16px; }

/* Cabecera */
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: var(--ink); color: var(--on-ink); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.top.is-scrolled { border-bottom-color: var(--line-ink); box-shadow: 0 10px 30px -18px rgba(0, 0, 0, .6); }
.top-in { height: var(--top-h); display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; flex: none; }
.brand img { width: 104px; height: auto; }
.brand-tag { font-size: 10.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--sand); padding-left: 14px; border-left: 1px solid var(--line-ink); line-height: 1.45; }
.nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav a { position: relative; text-decoration: none; font-size: 14.5px; font-weight: 500; padding: 10px 12px; color: var(--on-ink-muted); transition: color .2s; }
.nav a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 1.5px; background: var(--sand); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.nav a:hover, .nav a.is-active { color: var(--on-ink); }
.nav a.is-active::after { transform: scaleX(1); }
.top-actions { display: flex; align-items: center; gap: 8px; flex: none; }
.btn-cta { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: var(--r); background: var(--sand); color: var(--ink); font-size: 14.5px; font-weight: 600; text-decoration: none; transition: background .2s; }
.btn-cta:hover { background: var(--on-ink); }
.icon-btn, .menu-btn { display: none; align-items: center; justify-content: center; gap: 8px; min-width: 44px; height: 44px; padding: 0 12px; border-radius: var(--r); border: 1px solid var(--line-ink); background: none; color: var(--on-ink); text-decoration: none; cursor: pointer; font-size: 14px; font-weight: 600; }
.icon-btn { padding: 0; }
.icon-btn svg, .menu-btn svg { width: 20px; height: 20px; }
.menu-btn:hover, .icon-btn:hover { border-color: var(--on-ink-muted); }
.btn-sand { background: var(--sand); color: var(--ink); }
.btn-sand:hover { background: var(--on-ink); }
.btn-outline-light { border-color: var(--line-ink); color: var(--on-ink); }
.btn-outline-light:hover { border-color: var(--on-ink-muted); }
.btn-outline-light svg:first-child { width: 19px; height: 19px; }
.btn-outline-light:hover svg:last-child { transform: none; }

@media (max-width: 1100px) { .nav a { padding: 10px 9px; font-size: 14px; } .nav a::after { left: 9px; right: 9px; } .top-in { gap: 18px; } }
@media (max-width: 980px) {
  :root { --top-h: 64px; }
  .nav, .btn-cta { display: none; }
  .top-actions { margin-left: auto; }
  .icon-btn, .menu-btn { display: inline-flex; }
  .build-contact { display: none; }
}
@media (max-width: 600px) {
  .build-bar { font-size: 12.5px; }
  .build-in { min-height: 36px; justify-content: center; }
  .bl-desk { display: none; }
  .bl-mob { display: inline; }
  .brand { gap: 10px; }
  .brand img { width: 88px; }
  .brand-tag { font-size: 9.5px; padding-left: 10px; letter-spacing: .18em; }
}
@media (max-width: 374px) { .menu-txt { display: none; } .menu-btn { padding: 0; } }

/* Menú en móvil (pantalla completa) */
.mnav { position: fixed; inset: 0; z-index: 70; background: var(--ink); color: var(--on-ink); display: flex; flex-direction: column; padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); overflow-y: auto; overscroll-behavior: contain; animation: mnav-in .22s ease-out; }
@keyframes mnav-in { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }
.mnav-top { display: flex; align-items: center; justify-content: space-between; height: var(--top-h); flex: none; border-bottom: 1px solid var(--line-ink); }
.mnav-top .menu-btn { display: inline-flex; }
.mnav-body { display: grid; gap: 16px; padding-block: 8px 28px; }
.mnav-links { display: grid; }
.mnav-links a { display: grid; grid-template-columns: minmax(0, 1fr) 22px; grid-template-areas: "t go" "d go"; align-items: center; row-gap: 2px; padding: 15px 0; border-bottom: 1px solid var(--line-ink); text-decoration: none; }
.mnav-links span { grid-area: t; font-family: var(--font-h); font-size: 22px; font-weight: 700; letter-spacing: -.02em; }
.mnav-links small { grid-area: d; font-size: 13.5px; color: var(--on-ink-muted); }
.mnav-links svg { grid-area: go; color: var(--sand); }
.mnav-body > .btn { margin-top: 8px; }
.mnav-contact { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.mnav-build { display: grid; grid-template-columns: 96px minmax(0, 1fr); grid-template-areas: "img t" "img d" "img go"; column-gap: 14px; row-gap: 4px; align-items: start; margin-top: 8px; padding: 12px; border-radius: var(--r); background: var(--ink-2); border: 1px solid var(--line-ink); text-decoration: none; }
.mnav-build img { grid-area: img; width: 96px; height: 100%; min-height: 96px; object-fit: cover; border-radius: 3px; }
.mnav-build-t { grid-area: t; font-weight: 700; font-size: 15.5px; line-height: 1.3; }
.mnav-build-d { grid-area: d; font-size: 13.5px; color: var(--on-ink-muted); line-height: 1.45; }
.mnav-build-go { grid-area: go; display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 600; color: var(--sand); margin-top: 2px; }
.mnav-build-go svg { width: 16px; height: 16px; }
body.menu-open { overflow: hidden; }
@media (min-width: 981px) { .mnav { display: none !important; } }

/* Portada */
.hero { background: var(--ink); color: var(--on-ink); padding-block: 48px 0; }
.hero-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 56px; align-items: center; }
.hero-text { display: grid; gap: 24px; min-width: 0; }
.hero h1 { font-size: clamp(38px, 5.2vw, 66px); font-weight: 700; letter-spacing: -.035em; line-height: 1.02; }
.hero h1 span { color: var(--sand); font-weight: 500; }
.hero-lead { font-size: 17.5px; line-height: 1.6; color: var(--on-ink-muted); max-width: 54ch; }
.paths { display: grid; gap: 0; margin-top: 8px; border-top: 1px solid var(--line-ink); }
.path { display: grid; grid-template-columns: 28px minmax(0, 1fr) 24px; grid-template-areas: "ico t go" "ico d go"; column-gap: 16px; row-gap: 2px; align-items: center; padding: 16px 4px; border-bottom: 1px solid var(--line-ink); text-decoration: none; transition: background .2s, padding .2s; }
.path:hover { background: var(--ink-2); padding-left: 14px; padding-right: 14px; }
.path-ico { grid-area: ico; width: 26px; height: 26px; color: var(--sand); align-self: start; margin-top: 2px; }
.path-t { grid-area: t; font-family: var(--font-h); font-size: 20px; font-weight: 700; letter-spacing: -.015em; }
.path-d { grid-area: d; font-size: 14.5px; color: var(--on-ink-muted); }
.path-go { grid-area: go; color: var(--sand); transition: transform .2s; }
.path:hover .path-go { transform: translateX(4px); }
.hero-media { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; min-width: 0; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 10px; aspect-ratio: 4 / 3.4; max-width: 100%; }
.hg { position: relative; overflow: hidden; border-radius: var(--r); min-height: 0; background: var(--ink-2); }
.hg-main { grid-row: 1 / 3; }
.hg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hg-tag { position: absolute; left: 10px; bottom: 10px; padding: 5px 9px; font-size: 11.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; background: rgba(33, 30, 30, .78); color: var(--on-ink); border-radius: 2px; }
.facts { list-style: none; margin: 56px 0 0; padding: 22px 0 26px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; border-top: 1px solid var(--line-ink); font-size: 14px; color: var(--on-ink-muted); }
.facts strong { display: block; color: var(--on-ink); font-family: var(--font-h); font-size: 17px; letter-spacing: -.01em; }

@media (max-width: 900px) {
  .hero { padding-block: 0 0; }
  .hero-in { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .hero-media { order: -1; margin-left: calc(-1 * max(20px, env(safe-area-inset-left, 0px))); margin-right: calc(-1 * max(20px, env(safe-area-inset-right, 0px))); }
  .hero-grid { aspect-ratio: 16 / 11; gap: 3px; }
  .hg { border-radius: 0; }
  .hg-tag { font-size: 10.5px; left: 8px; bottom: 8px; padding: 4px 7px; }
  .hero-media figcaption { padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 36px; gap: 18px 20px; }
}

/* Secciones */
.sec { padding-block: 96px; }
.sec-head { display: grid; gap: 18px; max-width: 760px; align-content: start; }
.sec-head h2, .about h2, .contact h2 { font-size: clamp(30px, 3.8vw, 46px); }
.lead { font-size: 17.5px; color: var(--muted); max-width: 64ch; }
@media (max-width: 700px) { .sec { padding-block: 64px; } .lead, .hero-lead { font-size: 16.5px; } }

/* Por qué */
.why-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin-top: 56px; border-top: 1px solid var(--line-2); }
.why-item { display: grid; align-content: start; gap: 12px; padding: 28px 28px 8px 0; }
.why-item + .why-item { padding-left: 28px; border-left: 1px solid var(--line); }
.why-ico { width: 30px; height: 30px; color: var(--bronze); stroke-width: 1.4; }
.why-item h3 { font-size: 20px; }
.why-item p { color: var(--muted); font-size: 15px; }
.why-photo { margin-top: 56px; display: grid; grid-template-columns: 1.2fr 1fr; grid-template-rows: auto auto; gap: 14px 16px; }
.why-photo img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r); }
.why-photo figcaption { grid-column: 1 / -1; font-size: 14px; color: var(--muted); }
@media (max-width: 960px) {
  .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .why-item:nth-child(3) { padding-left: 0; border-left: 0; }
  .why-item:nth-child(n+3) { border-top: 1px solid var(--line); margin-top: 20px; }
}
@media (max-width: 560px) {
  .why-grid { grid-template-columns: minmax(0, 1fr); }
  .why-item, .why-item + .why-item { padding: 24px 0 4px; border-left: 0; }
  .why-item + .why-item { border-top: 1px solid var(--line); margin-top: 20px; }
  .why-photo { grid-template-columns: minmax(0, 1fr); }
  .why-photo img:last-of-type { aspect-ratio: 16 / 9; }
}

/* Vender */
.sell { background: var(--stone); }
.offer-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 48px; }
.offer { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 32px; display: grid; align-content: start; gap: 22px; }
.offer .btn { justify-self: start; }
.offer-h { display: flex; align-items: center; gap: 14px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.offer-h svg { width: 30px; height: 30px; color: var(--bronze); stroke-width: 1.4; }
.offer-h h3 { font-size: 24px; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 30px; font-size: 15.5px; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 12px; height: 6px; border-left: 1.7px solid var(--bronze); border-bottom: 1.7px solid var(--bronze); transform: rotate(-45deg); }

.steps-block { margin-top: 72px; }
.steps-title { font-size: 22px; margin-bottom: 26px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; counter-reset: s; }
.steps li { position: relative; padding: 22px 22px 0 0; border-top: 1px solid var(--line-2); display: grid; align-content: start; gap: 8px; }
.steps li::before { content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--stone); border: 1.5px solid var(--bronze); }
.step-n { font-size: 12px; font-weight: 600; letter-spacing: .14em; color: var(--bronze); font-variant-numeric: tabular-nums; }
.steps h4 { font-size: 17px; }
.steps p { font-size: 14.5px; color: var(--muted); }
@media (max-width: 900px) {
  .offer-grid { grid-template-columns: minmax(0, 1fr); }
  .offer { padding: 24px 20px; }
  .offer .btn { justify-self: stretch; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .steps li { padding: 0 0 26px 30px; border-top: 0; border-left: 1px solid var(--line-2); margin-left: 5px; }
  .steps li:last-child { border-left-color: transparent; padding-bottom: 0; }
  .steps li::before { top: 4px; left: -5px; }
}

/* Comparador de terreno */
.plot { margin-top: 80px; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 48px; align-items: center; }
.plot-text { display: grid; gap: 18px; }
.plot-text h3 { font-size: clamp(26px, 3vw, 34px); }
.plot-text > p:not(.eyebrow):not(.note) { color: var(--muted); }
.spec { margin: 4px 0 0; display: grid; border-top: 1px solid var(--line-2); }
.spec div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.spec dt { color: var(--muted); }
.spec dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; text-align: right; }
.note { font-size: 13px; color: var(--muted); }
.compare { position: relative; overflow: hidden; border-radius: var(--r); aspect-ratio: 3 / 2; max-width: 100%; background: var(--sand-soft); user-select: none; touch-action: pan-y; }
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.compare-before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.compare-before::after { content: ""; position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: var(--paper); }
.compare-handle { position: absolute; top: 50%; left: var(--pos); width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; background: var(--paper); color: var(--ink); display: grid; place-items: center; box-shadow: 0 2px 10px rgba(0, 0, 0, .25); pointer-events: none; }
.compare-handle svg { width: 22px; height: 22px; }
.compare-tag { position: absolute; bottom: 14px; padding: 6px 10px; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; background: rgba(33, 30, 30, .78); color: var(--on-ink); border-radius: 2px; pointer-events: none; }
.compare-tag-l { left: 14px; }
.compare-tag-r { right: 14px; }
.compare-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; touch-action: pan-y; }
.compare-range:focus-visible + * , .compare:focus-within .compare-handle { outline: 2px solid var(--rust); outline-offset: 2px; }
@media (max-width: 900px) {
  .plot { grid-template-columns: minmax(0, 1fr); gap: 28px; margin-top: 64px; }
  .compare { aspect-ratio: 4 / 3; }
  .compare-tag { font-size: 11px; bottom: 10px; }
  .compare-tag-l { left: 10px; } .compare-tag-r { right: 10px; }
}

/* Alquilar */
.rent-in { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: start; }
.callouts { display: grid; gap: 12px; margin-top: 8px; }
.callout { font-size: 14.5px; padding: 14px 16px; background: var(--stone); border-radius: var(--r); color: var(--ink-3); }
.callout strong { color: var(--ink); }
.plans { display: grid; gap: 18px; min-width: 0; }
.plans-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.plan-table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 520px; }
.plan-table th, .plan-table td { padding: 14px 14px; border-bottom: 1px solid var(--line); text-align: center; vertical-align: middle; }
.plan-table tbody th { text-align: left; font-weight: 500; padding-left: 0; }
.plan-table thead th { vertical-align: bottom; border-bottom: 1px solid var(--line-2); padding-top: 18px; }
.plan-name { display: block; font-family: var(--font-h); font-size: 17px; font-weight: 700; letter-spacing: -.01em; }
.plan-sub { display: block; font-size: 13px; font-weight: 400; color: var(--muted); margin-top: 2px; }
.plan-table .is-full { background: var(--stone); }
.plan-table thead .is-full { border-top: 3px solid var(--ink); }
.yes { color: var(--ok); width: 22px; height: 22px; stroke-width: 2; vertical-align: middle; }
.no { color: var(--line-2); width: 22px; height: 22px; vertical-align: middle; }
.opt { font-size: 13px; font-weight: 600; color: var(--bronze); }
@media (max-width: 960px) { .rent-in { grid-template-columns: minmax(0, 1fr); gap: 36px; } }
@media (max-width: 560px) {
  .plan-table { min-width: 0; font-size: 14px; }
  .plan-table th, .plan-table td { padding: 12px 8px; }
  .plan-table tbody th { padding-left: 0; }
  .plan-name { font-size: 15px; }
  .plan-table thead th:first-child { width: 46%; }
}

/* Comprar */
.buy { background: var(--ink); color: var(--on-ink); }
.buy .lead { color: var(--on-ink-muted); }
.buy-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px; margin-top: 56px; }
.buy-col { display: grid; align-content: start; gap: 24px; min-width: 0; }
.buy-col h3 { display: flex; align-items: center; gap: 12px; font-size: 22px; }
.buy-col h3 svg { width: 26px; height: 26px; color: var(--sand); stroke-width: 1.4; }
.buy-col .btn { justify-self: start; }
.buy-steps { list-style: none; margin: 0; padding: 0; counter-reset: b; display: grid; border-top: 1px solid var(--line-ink); }
.buy-steps li { counter-increment: b; display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 10px; padding: 14px 0; border-bottom: 1px solid var(--line-ink); color: var(--on-ink); font-size: 15.5px; }
.buy-steps li::before { content: counter(b, decimal-leading-zero); font-size: 12px; font-weight: 600; letter-spacing: .1em; color: var(--sand); padding-top: 4px; font-variant-numeric: tabular-nums; }
.sheet { margin: 0; display: grid; border: 1px solid var(--line-ink); border-radius: var(--r); }
.sheet div { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 16px; padding: 13px 16px; border-bottom: 1px solid var(--line-ink); font-size: 14.5px; }
.sheet div:last-child { border-bottom: 0; }
.sheet dt { font-weight: 600; color: var(--on-ink); }
.sheet dd { margin: 0; color: var(--on-ink-muted); }
.buy-links { display: flex; flex-wrap: wrap; gap: 14px 28px; color: var(--sand); }
.buy-band { margin-top: 72px; position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); background: var(--ink-2); border-radius: var(--r); overflow: hidden; }
.buy-band img { width: 100%; height: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.buy-band figcaption { padding: 36px; align-self: center; display: grid; gap: 12px; color: var(--on-ink-muted); font-size: 16px; }
.buy-band strong { font-family: var(--font-h); font-size: 24px; color: var(--on-ink); letter-spacing: -.02em; line-height: 1.15; }
.buy-band figcaption .btn { justify-self: start; margin-top: 8px; }
@media (max-width: 600px) { .buy-band figcaption .btn { justify-self: stretch; } }
@media (max-width: 900px) {
  .buy-grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .buy-col .btn { justify-self: stretch; }
  .buy-band { grid-template-columns: minmax(0, 1fr); }
  .buy-band figcaption { padding: 24px 20px 28px; }
}
@media (max-width: 480px) { .sheet div { grid-template-columns: minmax(0, 1fr); gap: 2px; } }

/* Inmuebles */
.list-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--paper); font-size: 14px; font-weight: 500; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.chip:hover { border-color: var(--ink); }
.chip.is-on { background: var(--ink); border-color: var(--ink); color: var(--on-ink); }
.demo-note { margin-top: 20px; font-size: 13.5px; color: var(--bronze); display: flex; align-items: center; gap: 8px; }
.demo-note::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--sand); }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 24px; margin-top: 36px; }
.card { display: grid; align-content: start; gap: 0; text-align: left; background: none; border: 0; padding: 0; cursor: pointer; }
.card-media { position: relative; overflow: hidden; border-radius: var(--r); aspect-ratio: 3 / 2; background: var(--sand-soft); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card-media img { transform: scale(1.035); }
.badges { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; flex-wrap: wrap; }
.badge { font-size: 11.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: 5px 9px; border-radius: 2px; background: var(--paper); color: var(--ink); }
.badge-alq { background: var(--ink); color: var(--on-ink); }
.badge-demo { background: var(--sand); color: var(--ink); }
.card-body { display: grid; gap: 6px; padding-top: 16px; }
.card-price { font-family: var(--font-h); font-size: 24px; font-weight: 700; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.card-price small { font-size: 15px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.card-title { font-size: 16px; font-weight: 600; line-height: 1.35; }
.card-loc { font-size: 14px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.card-loc svg { width: 15px; height: 15px; }
.facts-row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; margin-top: 8px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 14px; font-variant-numeric: tabular-nums; }
.facts-row span { display: inline-flex; align-items: center; gap: 6px; }
.facts-row svg { width: 17px; height: 17px; color: var(--muted); }
.energy { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; font-size: 12px; color: var(--muted); }
.energy b { display: inline-grid; place-items: center; min-width: 26px; height: 20px; padding: 0 8px 0 6px; color: #fff; font-size: 12px; clip-path: polygon(0 0, calc(100% - 7px) 0, 100% 50%, calc(100% - 7px) 100%, 0 100%); }
.e-A { background: #00833F; } .e-B { background: #3AA035; } .e-C { background: #A6C42C; color: var(--ink) !important; } .e-D { background: #F2E500; color: var(--ink) !important; } .e-E { background: #F0B30A; color: var(--ink) !important; } .e-F { background: #E3641B; } .e-G { background: #D4161C; } .e-T { background: var(--muted); }
.card-cta { display: grid; align-content: center; justify-items: start; gap: 14px; padding: 32px; border: 1px dashed var(--line-2); border-radius: var(--r); background: var(--stone); }
.card-cta h3 { font-size: 22px; }
.card-cta p { color: var(--muted); font-size: 15px; }
.empty { grid-column: 1 / -1; padding: 40px; text-align: center; color: var(--muted); border: 1px dashed var(--line-2); border-radius: var(--r); }
@media (max-width: 960px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .cards { grid-template-columns: minmax(0, 1fr); } .card-cta { padding: 24px 20px; } .card-cta .btn { justify-self: stretch; } }

/* Ficha (diálogo) */
.sheet-dlg { width: min(880px, calc(100% - 32px)); max-height: calc(100% - 32px); padding: 0; border: 0; border-radius: var(--r); background: var(--paper); color: var(--text); box-shadow: 0 30px 80px rgba(0, 0, 0, .35); }
.sheet-dlg::backdrop { background: rgba(20, 18, 18, .66); }
.dlg-in { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
.dlg-media { position: relative; min-height: 100%; background: var(--sand-soft); }
.dlg-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.dlg-text { padding: 32px; display: grid; align-content: start; gap: 14px; }
.dlg-text h2 { font-size: 26px; }
.dlg-text .card-price { font-size: 28px; }
.dlg-text > p { color: var(--muted); font-size: 15px; }
.dlg-close { position: absolute; top: 12px; right: 12px; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; border: 0; background: var(--paper); color: var(--ink); cursor: pointer; box-shadow: 0 2px 8px rgba(0, 0, 0, .2); z-index: 2; }
.dlg-spec { margin: 6px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line-2); }
.dlg-spec div { padding: 10px 0; border-bottom: 1px solid var(--line); display: grid; gap: 2px; }
.dlg-spec div:nth-child(odd) { padding-right: 12px; }
.dlg-spec dt { font-size: 12px; color: var(--muted); letter-spacing: .04em; }
.dlg-spec dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.dlg-ref { font-size: 12.5px; color: var(--muted); letter-spacing: .06em; }
@media (max-width: 720px) {
  .sheet-dlg { width: 100%; max-width: 100%; max-height: 100%; height: 100%; margin: 0; border-radius: 0; }
  .dlg-in { grid-template-columns: minmax(0, 1fr); }
  .dlg-media img { aspect-ratio: 3 / 2; }
  .dlg-text { padding: 24px 20px calc(28px + env(safe-area-inset-bottom, 0px)); }
  .dlg-close { top: calc(12px + env(safe-area-inset-top, 0px)); }
}

/* Quiénes somos */
.about { background: var(--stone); }
.about-in { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 56px; align-items: center; }
.about-text { display: grid; gap: 18px; justify-items: start; }
.about-text > p:not(.eyebrow) { color: var(--muted); max-width: 58ch; }
.stats { margin: 10px 0 6px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; border-top: 1px solid var(--line-2); }
.stats div { padding: 16px 12px 0 0; display: flex; flex-direction: column-reverse; gap: 4px; }
.stats div + div { padding-left: 16px; border-left: 1px solid var(--line); }
.stats dt { font-size: 13px; color: var(--muted); line-height: 1.35; }
.stats dd { margin: 0; font-family: var(--font-h); font-size: 44px; font-weight: 700; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.mosaic { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-template-rows: auto auto; gap: 12px; }
.mosaic figure { position: relative; overflow: hidden; border-radius: var(--r); }
.mosaic img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3 / 2; }
.mosaic figcaption { position: absolute; left: 10px; bottom: 10px; font-size: 12px; font-weight: 600; padding: 4px 8px; background: rgba(33, 30, 30, .72); color: var(--on-ink); border-radius: 2px; }
.m1 { grid-column: 1 / 5; }
.m2 { grid-column: 5 / 7; }
.m2 img, .m3 img { position: absolute; inset: 0; aspect-ratio: auto; }
.m3 { grid-column: 1 / 3; }
.m4 { grid-column: 3 / 7; }
@media (max-width: 960px) { .about-in { grid-template-columns: minmax(0, 1fr); gap: 36px; } }
@media (max-width: 560px) {
  .mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .m1, .m4 { grid-column: 1 / -1; }
  .m2, .m3 { grid-column: auto; }
  .m2, .m3 { aspect-ratio: 1 / 1; }
  .stats dd { font-size: 36px; }
}

/* Contacto */
.contact-in { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 64px; align-items: start; }
.contact-text { display: grid; gap: 18px; position: sticky; top: calc(var(--top-h) + 32px); }
.contact-text > p:not(.eyebrow) { color: var(--muted); }
.direct { list-style: none; margin: 10px 0 0; padding: 0; display: grid; border-top: 1px solid var(--line-2); }
.direct li { display: flex; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.direct svg { width: 22px; height: 22px; color: var(--bronze); }
.direct div { display: grid; min-width: 0; }
.direct span { font-size: 12px; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }
.direct a, .direct p { font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.direct a:hover { text-decoration: underline; }
.form { display: grid; gap: 18px; padding: 36px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); box-shadow: 0 1px 0 var(--line), 0 24px 48px -28px rgba(33, 30, 30, .28); min-width: 0; }
.seg { border: 0; margin: 0; padding: 0; min-width: 0; }
.seg legend { font-family: var(--font-h); font-size: 18px; font-weight: 700; margin-bottom: 12px; padding: 0; }
.seg-opts { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.seg-opts label { grid-column: span 2; }
.seg-opts label:nth-child(n+4) { grid-column: span 3; }
.seg-opts label { position: relative; }
.seg-opts input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg-opts span { display: grid; place-items: center; min-height: 48px; padding: 6px 10px; text-align: center; line-height: 1.25; font-size: 14px; font-weight: 600; border: 1px solid var(--line-2); border-radius: var(--r); transition: background .15s, color .15s, border-color .15s; cursor: pointer; }
.seg-opts input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--on-ink); }
.seg-opts input:focus-visible + span { outline: 2px solid var(--rust); outline-offset: 2px; }
.row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field label { font-size: 13.5px; font-weight: 600; }
.optional { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 11px 14px; border: 1px solid var(--line-2); border-radius: var(--r); background: var(--paper); font-size: 16px; transition: border-color .15s, box-shadow .15s; }
.field textarea { resize: vertical; min-height: 110px; }
.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) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 38px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px var(--sand-soft); }
.field.has-error input { border-color: var(--err); }
.suffix { position: relative; }
.suffix input { padding-right: 64px; }
.suffix span { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: 14px; pointer-events: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--ink); flex: none; }
.check a { color: var(--ink); }
.form-error { padding: 12px 14px; border-radius: var(--r); background: var(--err-soft); color: var(--err); font-size: 14.5px; }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.form-actions .btn-dark { flex: 1 1 auto; }
.form-ok { display: flex; gap: 16px; align-items: flex-start; padding: 20px; border-radius: var(--r); background: #E9F2EC; color: var(--ok); }
.form-ok svg { width: 28px; height: 28px; stroke-width: 2; }
.form-ok h3 { font-size: 19px; color: var(--ink); margin-bottom: 4px; }
.form-ok p { color: var(--ink-3); }
.form.is-sent > :not(.form-ok) { display: none; }
@media (max-width: 960px) {
  .contact-in { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .contact-text { position: static; }
}
@media (max-width: 600px) {
  .form { padding: 24px 18px; margin-left: -4px; margin-right: -4px; }
  .seg-opts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .seg-opts label, .seg-opts label:nth-child(n+4) { grid-column: auto; }
  .seg-opts label:last-child { grid-column: 1 / -1; }
  .row { grid-template-columns: minmax(0, 1fr); }
  .form-actions .btn { flex: 1 1 100%; }
}

/* Preguntas */
.faq { border-top: 1px solid var(--line); }
.faq-in { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: 56px; }
.faq-list { border-top: 1px solid var(--line-2); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 0; font-family: var(--font-h); font-size: 18px; font-weight: 700; letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 12px; height: 12px; background: linear-gradient(var(--ink), var(--ink)) center / 100% 1.6px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 1.6px 100% no-repeat; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 40px 22px 0; color: var(--muted); max-width: 66ch; }
@media (max-width: 900px) { .faq-in { grid-template-columns: minmax(0, 1fr); gap: 28px; } .faq summary { font-size: 17px; } .faq details p { padding-right: 0; } }

/* Pie */
.foot { background: var(--ink); color: var(--on-ink-muted); padding-block: 64px calc(28px + env(safe-area-inset-bottom, 0px)); font-size: 14.5px; }
.foot-in { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.foot-brand { display: grid; gap: 16px; align-content: start; }
.foot-brand img { width: 120px; }
.foot-brand p { max-width: 34ch; }
.foot-col { display: grid; gap: 10px; align-content: start; }
.foot-col h3 { font-family: var(--font-b); font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--sand); margin-bottom: 4px; }
.foot a { text-decoration: none; overflow-wrap: anywhere; }
.foot a:hover { color: var(--on-ink); }
.foot-legal { margin-top: 48px; font-size: 13px; }
.foot-legal-in { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 20px; border-top: 1px solid var(--line-ink); }
.foot-legal nav { display: flex; gap: 18px; flex-wrap: wrap; }
@media (max-width: 900px) { .foot-in { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .foot-in { grid-template-columns: minmax(0, 1fr); } }

/* WhatsApp flotante */
.wa-float { position: fixed; right: calc(18px + env(safe-area-inset-right, 0px)); bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 40; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: #1F8A4C; color: #fff; box-shadow: 0 6px 20px rgba(0, 0, 0, .25); transition: transform .2s, opacity .2s; }
.wa-float svg { width: 28px; height: 28px; stroke-width: 1.6; }
.wa-float:hover { transform: scale(1.06); }
.wa-float.is-hidden { opacity: 0; pointer-events: none; transform: translateY(12px); }

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

/* Ficha: miniaturas y pie */
.dlg-media .badges { top: 14px; left: 14px; }
.dlg-thumbs { position: absolute; left: 14px; bottom: 14px; display: flex; gap: 8px; }
.dlg-thumbs button { width: 64px; height: 44px; padding: 0; border: 2px solid transparent; border-radius: 3px; overflow: hidden; cursor: pointer; background: var(--paper); }
.dlg-thumbs button[aria-current="true"] { border-color: var(--paper); box-shadow: 0 0 0 1px var(--ink); }
.dlg-thumbs img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: auto; }
.dlg-cap { position: absolute; right: 14px; bottom: 14px; font-size: 12px; padding: 4px 8px; background: rgba(33, 30, 30, .72); color: var(--on-ink); border-radius: 2px; }
.card-cta.is-wide { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "t b" "p b"; column-gap: 32px; align-items: center; }
.card-cta.is-wide h3 { grid-area: t; }
.card-cta.is-wide p { grid-area: p; }
.card-cta.is-wide .btn { grid-area: b; }
@media (max-width: 600px) { .card-cta.is-wide { grid-template-columns: minmax(0, 1fr); grid-template-areas: "t" "p" "b"; } }
.dlg-text .card-price { color: var(--text); }
.dlg-spec div { align-content: start; }

/* Gestión inmobiliaria */
.manage-head { display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; }
.manage-head .btn { flex: none; }
.manage-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 52px; border-top: 1px solid var(--line-2); }
.manage-item { display: grid; align-content: start; gap: 10px; padding: 28px 28px 30px 0; border-bottom: 1px solid var(--line); }
.manage-item:not(:nth-child(3n+1)) { padding-left: 28px; border-left: 1px solid var(--line); }
.manage-ico { width: 30px; height: 30px; color: var(--bronze); stroke-width: 1.4; }
.manage-item h3 { font-size: 19px; }
.manage-item p { color: var(--muted); font-size: 15px; }
@media (max-width: 900px) {
  .manage-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .manage-item, .manage-item:not(:nth-child(3n+1)) { padding: 24px 24px 26px 0; border-left: 0; }
  .manage-item:nth-child(2n) { padding-left: 24px; padding-right: 0; border-left: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .manage-head .btn { width: 100%; }
  .manage-grid { grid-template-columns: minmax(0, 1fr); margin-top: 36px; }
  .manage-item, .manage-item:not(:nth-child(3n+1)), .manage-item:nth-child(2n) { padding: 22px 0 24px; border-left: 0; }
}
@media (min-width: 901px) { .hero-grid { aspect-ratio: 1 / 1; } }
@media (max-width: 420px) { .bl-tail { display: none; } }
