/* Zaguán Propiedades — estilos. Concepto "El plano": papel de calco, grafito y un lápiz rojo como único color;
   Geist (grotesca firme) para títulos y textos, Geist Mono para cotas, rótulos y medidas. Los planos son SVG con
   paredes que se dibujan (stroke-dashoffset), cotas con marcas a 45° y rótulos como los de una lámina. */
:root {
  --paper: #ecebe5;
  --paper-2: #e2e1da;
  --sheet: #f6f5f0;
  --ink: #1d1f22;
  --ink-2: #4c5054;
  --ink-3: #6e7276;
  --line: rgba(29, 31, 34, .14);
  --line-2: rgba(29, 31, 34, .3);
  --red: #c4342a;
  --red-2: #a3261e;
  --red-l: #ff9a90;
  --sans: 'Geist', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'Geist Mono', ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --hdr: 64px;
  --pad: clamp(16px, 4vw, 56px);
  --noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .1 0 0 0 0 .11 0 0 0 0 .12 0 0 0 .055 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scrollbar-gutter: stable; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper) var(--noise); color: var(--ink); font: 400 16px/1.55 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, select { font: inherit; color: inherit; }
h1, h2, h3, p, dl, dd, figure, ol, ul, blockquote { margin: 0; }
ol, ul { padding: 0; list-style: none; }
.mono { font-family: var(--mono); font-stretch: 87.5%; font-size: 11px; line-height: 1.5; letter-spacing: .01em; text-transform: uppercase; }
.nw { white-space: nowrap; }
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
.skip { position: fixed; left: 12px; top: 10px; z-index: 100; background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 999px; transform: translateY(-160%); text-decoration: none; }
.skip:focus-visible { transform: none; }

/* Links: subrayado de lápiz; los externos llevan su flechita y el texto para lectores */
.link { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; text-decoration-color: var(--line-2); transition: text-decoration-color .2s; }
.link:hover { text-decoration-color: var(--red); }
a[target="_blank"]::after {
  content: "" / " (abre en una pestaña nueva)";
  display: inline-block; inline-size: .8em; block-size: .8em; margin-inline-start: .3em; vertical-align: -.05em;
  background: currentColor;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M4 2h6v6M10 2 3 9' fill='none' stroke='%23000' stroke-width='1.5'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Botones pill: el lado del texto suma lo que se come la punta redonda; el ícono queda concéntrico con la punta */
.btn {
  --h: 48px; --r: calc(var(--h) / 2); --pad: 18px; --icon: 10px;
  block-size: var(--h); border-radius: var(--r); display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding-inline: calc(var(--pad) + var(--r) * (1 - pi / 4));
  font: 600 15px/1 var(--sans); letter-spacing: -.01em; text-decoration: none; white-space: nowrap;
  transition: background .2s, color .2s, border-color .2s, transform .2s var(--ease);
}
.btn:has(> .wa-dot:first-child) { padding-inline-start: calc((var(--h) - var(--icon)) / 2); }
.btn:active { transform: scale(.98); }
.btn-sm { --h: 38px; --pad: 14px; font-size: 14px; }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: #000; }
.btn-line { border: 1.5px solid var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--paper); }
.btn:disabled { opacity: .4; cursor: not-allowed; }
.arr { display: inline-block; transition: transform .25s var(--ease); }
.btn:hover .arr { transform: translateY(2px); }
.wa-dot { inline-size: var(--icon, 10px); block-size: var(--icon, 10px); border-radius: 50%; background: var(--red); flex: none; box-shadow: 0 0 0 3px rgba(196, 52, 42, .25); }

/* Rótulo: la tabla de datos de una lámina (líneas de 1px con el truco del gap) */
.rotulo { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 1px; background: var(--ink); border: 1.5px solid var(--ink); }
.rotulo > div { background: var(--sheet); padding: 7px 10px 8px; min-width: 0; }
.rotulo dt { font: 500 9.5px/1.4 var(--mono); font-stretch: 87.5%; text-transform: uppercase; letter-spacing: .02em; color: var(--ink-2); }
.rotulo dd { font-weight: 600; font-size: 15px; line-height: 1.3; letter-spacing: -.01em; overflow-wrap: break-word; }
.rotulo dd small { font: 400 11px var(--mono); font-stretch: 87.5%; color: var(--ink-2); }
.rotulo .r-wide { grid-column: span 2; }

/* Encabezados de lámina */
.wrap { max-width: 1360px; margin: 0 auto; padding: 0 var(--pad); }
.lam { color: var(--red); margin-bottom: 14px; font-weight: 500; }
.h2 { font-weight: 720; font-size: clamp(36px, 5.2vw, 76px); line-height: .98; letter-spacing: -.04em; width: fit-content; max-width: 100%; text-wrap: balance; }
.sec-h { margin-bottom: clamp(26px, 4vw, 44px); }
.sec-h-row { display: grid; grid-template-columns: 1fr minmax(240px, 380px); gap: 20px 48px; align-items: end; }
.sec-aside { color: var(--ink-2); font-size: 16px; }
/* la cota que mide el título */
.cota-h { display: block; position: relative; block-size: 14px; margin-bottom: 12px; }
.cota-h::before { content: ''; position: absolute; left: 0; right: 0; top: 7px; border-top: 1.5px solid var(--ink); }
.cota-h::after { content: ''; position: absolute; inset: 0; background:
  linear-gradient(45deg, transparent 45%, var(--ink) 45% 55%, transparent 55%) left center / 12px 12px no-repeat,
  linear-gradient(45deg, transparent 45%, var(--ink) 45% 55%, transparent 55%) right center / 12px 12px no-repeat,
  linear-gradient(var(--ink), var(--ink)) left / 1.5px 100% no-repeat,
  linear-gradient(var(--ink), var(--ink)) right / 1.5px 100% no-repeat; }

/* ======================= HEADER ======================= */
.hdr { position: fixed; z-index: 50; top: 0; left: 0; right: 0; block-size: var(--hdr); display: flex; align-items: center; gap: 22px; padding: 0 var(--pad); background: rgba(236, 235, 229, .94); border-bottom: 1px solid transparent; transition: border-color .3s; }
.hdr.scrolled { border-bottom-color: var(--line-2); }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 21px; letter-spacing: -.04em; }
.logo svg { inline-size: 26px; block-size: 26px; fill: none; stroke: var(--ink); stroke-width: 2.6; }
.logo .lg-r { stroke: var(--red); stroke-width: 2.2; }
.hdr-sub { color: var(--ink-2); padding-left: 14px; border-left: 1px solid var(--line-2); }
.nav { display: flex; gap: clamp(14px, 1.8vw, 28px); margin-left: auto; }
.nav a { position: relative; text-decoration: none; font-size: 14.5px; font-weight: 500; padding: 8px 2px; }
.nav a::after { content: ''; position: absolute; left: 2px; right: 2px; bottom: 2px; block-size: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav a:hover::after, .nav a[aria-current]::after { transform: none; }
.burger { display: none; inline-size: 44px; block-size: 44px; position: relative; margin-left: auto; border-radius: 50%; }
.burger span { position: absolute; left: 12px; right: 12px; block-size: 2px; background: var(--ink); transition: transform .3s var(--ease); }
.burger span:first-child { top: 17px; }
.burger span:last-child { top: 25px; }
.menu-open .burger span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-open .burger span:last-child { transform: translateY(-4px) rotate(-45deg); }
.menu { position: fixed; inset: 0; z-index: 45; background: var(--paper) var(--noise); padding: calc(var(--hdr) + 24px) var(--pad) 28px; display: flex; flex-direction: column; justify-content: space-between; opacity: 0; visibility: hidden; transform: translateY(-12px); transition: opacity .3s, transform .3s var(--ease), visibility 0s .3s; }
.menu-open .menu { opacity: 1; visibility: visible; transform: none; transition: opacity .3s, transform .3s var(--ease); }
.menu-nav { display: grid; }
.menu-nav a { display: flex; align-items: baseline; gap: 14px; padding: 9px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 700; font-size: clamp(28px, 8vw, 44px); letter-spacing: -.035em; line-height: 1.1; }
.menu-nav a .mono { color: var(--red); min-width: 62px; }
.menu-foot { color: var(--ink-2); }

/* ======================= PLANOS (común) ======================= */
.plan { display: block; inline-size: 100%; block-size: 100%; overflow: visible; }
.plan .w { fill: none; stroke: var(--ink); stroke-linecap: square; stroke-dasharray: 1; stroke-dashoffset: 0; }
.plan .w-ext { stroke-width: 30; }
.plan .w-int { stroke-width: 15; }
.plan .w-med { stroke-width: 12; stroke: var(--ink-2); }
.plan .dr { fill: none; stroke: var(--ink); stroke-width: 4; }
.plan .wn { fill: none; stroke: var(--ink); stroke-width: 3.5; }
.plan .col { fill: var(--ink); }
.plan .hid { fill: none; stroke: var(--ink-2); stroke-width: 4; stroke-dasharray: 26 18; }
.plan .pl { fill: none; stroke: var(--ink-2); stroke-width: 3; }
.plan .tree { fill: none; stroke: var(--ink-2); stroke-width: 4; stroke-dasharray: 16 12; }
.plan .pool { fill: rgba(29, 31, 34, .05); stroke: var(--ink); stroke-width: 5; }
.plan .rm { fill: transparent; stroke: none; }
.plan .rl { font: 600 44px var(--mono); font-stretch: 87.5%; fill: var(--ink-2); letter-spacing: .04em; }
.plan .ct path { fill: none; stroke: var(--ink-2); stroke-width: 3; }
.plan .ct text { font: 500 42px var(--mono); font-stretch: 87.5%; fill: var(--ink-2); }
.plan .street { font: 600 44px var(--mono); font-stretch: 87.5%; fill: var(--ink-3); letter-spacing: .3em; }
.plan .hp-pat { stroke: var(--ink-2); stroke-width: 3; }
.plan .red path { fill: none; stroke: var(--red); stroke-width: 8; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.plan .red-t { fill: var(--red); font: 600 48px var(--mono); font-stretch: 87.5%; letter-spacing: .06em; }
.plan .cad-sel .cs-r { fill: rgba(196, 52, 42, .07); stroke: var(--red); stroke-width: 6; stroke-dasharray: 26 14; }
.plan .cad-sel .cs-c { fill: none; stroke: var(--red); stroke-width: 4; }
.plan .cad-sel .cs-t { fill: var(--red); font: 600 46px var(--mono); font-stretch: 87.5%; paint-order: stroke; stroke: var(--sheet); stroke-width: 10px; }

/* Cursor de CAD */
.cad { position: relative; }
@media (hover: hover) and (pointer: fine) { .cad { cursor: none; } }
.cad-cross { position: absolute; inset: 0; pointer-events: none; overflow: hidden; opacity: 0; transition: opacity .2s; z-index: 3; }
.cad-on .cad-cross, .cad-touch .cad-cross { opacity: 1; }
.cad-h { position: absolute; left: 0; right: 0; top: 0; border-top: 1px solid var(--ink); opacity: .6; }
.cad-v { position: absolute; top: 0; bottom: 0; left: 0; border-left: 1px solid var(--ink); opacity: .6; }
.cad-pick { position: absolute; left: -7px; top: -7px; inline-size: 14px; block-size: 14px; border: 1.5px solid var(--red); background: rgba(196, 52, 42, .08); }
.cad-tag { position: absolute; left: 0; top: 0; display: grid; gap: 2px; padding: 6px 9px; background: var(--ink); color: var(--paper); font-size: 10px; white-space: nowrap; border-radius: 3px; }
.cad-rm { color: var(--red-l); }
.cad-rm:empty { display: none; }
.cad-touch .cad-h, .cad-touch .cad-v, .cad-touch .cad-pick { display: none; }
.touch-only { display: none; }
@media (hover: none) { .fine-only { display: none; } .touch-only { display: inline; } }

/* ======================= PORTADA ======================= */
.hero { position: relative; min-block-size: 100svh; padding: calc(var(--hdr) + 26px) var(--pad) 26px; display: flex; }
.hero::before { content: ''; position: absolute; inset: calc(var(--hdr) + 6px) 10px 10px; border: 1px solid var(--line-2); pointer-events: none; }
.sheet-ticks .tk-top { position: absolute; top: calc(var(--hdr) + 7px); left: 10px; right: 10px; display: flex; justify-content: space-around; color: var(--ink-3); font-size: 9px; pointer-events: none; }
.sheet-ticks .tk-side { position: absolute; left: 13px; top: calc(var(--hdr) + 30px); bottom: 30px; display: flex; flex-direction: column; justify-content: space-around; color: var(--ink-3); font-size: 9px; pointer-events: none; }
.sheet-ticks i { font-style: normal; }
.hero-in { position: relative; inline-size: 100%; max-inline-size: 1360px; margin: 0 auto; display: flex; flex-direction: column; gap: clamp(14px, 2vh, 22px); }
.hero-meta { display: flex; gap: 10px 22px; flex-wrap: wrap; color: var(--ink-2); }
.hero-meta span + span::before { content: '·'; margin-right: 22px; color: var(--red); }
.hero-top { display: grid; grid-template-columns: 1fr minmax(260px, 370px); gap: 20px 48px; align-items: end; }
.hero-t { font-weight: 760; font-size: clamp(42px, 7.2vw, 116px); line-height: .9; letter-spacing: -.05em; }
.hl { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.hl > span { display: block; }
.hero-lead { color: var(--ink-2); font-size: 17px; margin-bottom: 18px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-plan .plan { overflow: hidden; }
.hero-plan { position: relative; inline-size: min(100%, calc((100svh - var(--hdr) - 410px) * 2.93)); min-inline-size: min(100%, 720px); aspect-ratio: 3370 / 1150; margin: 4px 0 0 auto; }
.hero-cap { position: absolute; right: 0; bottom: 4px; color: var(--ink-2); font-size: 10px; background: var(--paper); padding: 2px 6px; }
.hero-rot { grid-template-columns: 2fr repeat(6, 1fr); }
.hero-rot dd { font-size: 17px; }

/* Entrada de la portada: el plano se dibuja, el lápiz rojo marca el zaguán y el titular sube (dura 1,4 s) */
@media (prefers-reduced-motion: no-preference) {
  .intro .hero .w { animation: draw .7s cubic-bezier(.6, 0, .2, 1) both; animation-delay: calc(var(--i) * 18ms + 80ms); }
  .intro .hero .det, .intro .hero .rls, .intro .hero .cts { animation: fade .5s .65s both; }
  .intro .hero .red-c { animation: draw .5s .95s both; }
  .intro .hero .red-a { animation: draw .3s .85s both; }
  .intro .hero .red-t { animation: fade .4s 1.1s both; }
  .intro .hero .hl > span { animation: up .8s var(--ease) both; }
  .intro .hero .hl + .hl > span { animation-delay: .08s; }
  .intro .hero-meta, .intro .hero-aside, .intro .hero-rot, .intro .hero-cap { animation: fade .6s .45s both; }
}
@keyframes draw { from { stroke-dashoffset: 1; } }
@keyframes fade { from { opacity: 0; } }
@keyframes up { from { transform: translateY(105%); } }

/* ======================= RECORRELA ======================= */
.rc { position: relative; padding: 110px var(--pad) 90px; border-top: 1px solid var(--line-2); }
.rc-in { max-inline-size: 1360px; margin: 0 auto; display: grid; grid-template-columns: minmax(270px, 27%) 1fr; gap: 24px clamp(24px, 3vw, 48px); }
.rc-side { display: flex; flex-direction: column; min-block-size: 0; }
.rc-lead { color: var(--ink-2); margin: 16px 0 22px; }
.rc-list { border-bottom: 1px solid var(--line-2); }
.rc-li { position: relative; display: grid; grid-template-columns: 30px 1fr auto; gap: 10px; align-items: baseline; padding: 9px 0 9px 14px; border-top: 1px solid var(--line-2); transition: opacity .3s; }
.rc-li::before { content: ''; position: absolute; left: 0; top: 9px; bottom: 9px; inline-size: 3px; background: var(--red); transform: scaleY(0); transition: transform .3s var(--ease); }
.rc-n { color: var(--red); }
.rc-nm b { display: block; font-weight: 650; font-size: 15.5px; letter-spacing: -.01em; }
.rc-nm small { display: block; color: var(--ink-2); font-size: 13px; line-height: 1.35; }
.rc-m2 { color: var(--ink); }
.rc-sheet { position: relative; display: flex; flex-direction: column; gap: 10px; min-block-size: 0; background: var(--sheet); border: 1px solid var(--ink); padding: 12px clamp(12px, 1.6vw, 22px) 16px; }
.rc-sheet::before { content: ''; position: absolute; inset: 5px; border: 1px solid var(--line); pointer-events: none; }
.rc-meta { display: flex; gap: 18px; color: var(--ink-2); }
.rc-step { margin-left: auto; color: var(--red); font-weight: 600; }
.rc-plan { position: relative; inline-size: 100%; aspect-ratio: 2950 / 1760; margin: 0 auto; }
.rc-lbls { position: absolute; inset: 0; pointer-events: none; z-index: 2; }
.rc-lbl { position: absolute; translate: -50% -50%; display: grid; justify-items: center; gap: 1px; max-inline-size: 11.5em; padding: 4px 8px 5px; background: var(--sheet); border: 1px solid var(--ink); text-align: center; line-height: 1.15; }
.rc-lbl i { font-style: normal; color: var(--red); font-size: 9px; }
.rc-lbl b { font-weight: 650; font-size: clamp(11px, 1vw, 13.5px); letter-spacing: -.01em; }
.rc-lbl > span { font-size: 9px; color: var(--ink-2); text-transform: none; }
.rc-lbl-x { border: 0; background: transparent; padding: 0; }
.rc-lbl-x span { font-size: 9px; color: var(--ink-3); }
.plan .rc-trail { fill: none; stroke: var(--red); stroke-width: 7; stroke-dasharray: 1; stroke-dashoffset: 0; opacity: .85; }
.plan .rc-furn { fill: none; stroke: var(--ink-3); stroke-width: 3; }
.rc-dot-h { fill: var(--red); opacity: .2; }
.rc-dot-c { fill: var(--red); stroke: var(--sheet); stroke-width: 7; }
.rc-cap { display: none; }
.rc-end { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; justify-content: space-between; padding-top: 6px; border-top: 1px solid var(--line-2); }
.rc-sum { font-size: 15px; }
.rc-sum b { font-size: 22px; font-weight: 750; letter-spacing: -.02em; }
.rc-sum .mono { color: var(--ink-2); margin-left: 6px; }
.rc-btns { display: flex; flex-wrap: wrap; gap: 8px; }
/* estático (sin JS o con movimiento reducido): plano completo, con todas las fotos y sin el punto */
.rc:not(.rc-live) .rc-dot { display: none; }
.rc:not(.rc-live) .rc-furn { display: none; }
/* en vivo: sección fijada a pantalla completa */
.rc-live { block-size: 100vh; block-size: 100svh; padding: calc(var(--hdr) + 18px) var(--pad) 20px; }
.rc-live .rc-in { block-size: 100%; align-items: stretch; }
.rc-live .rc-plan { inline-size: min(100%, calc((100svh - var(--hdr) - 190px) * 1.676)); }
.rc-live .rc-li { opacity: .42; }
.rc-live .rc-li.done { opacity: .75; }
.rc-live .rc-li.on { opacity: 1; }
.rc-live .rc-li.on::before { transform: none; }
.rc-live .rc-dot-h { transform-box: fill-box; transform-origin: center; animation: pulse 1.6s ease-out infinite; }
@keyframes pulse { from { transform: scale(.5); opacity: .45; } to { transform: scale(1.5); opacity: 0; } }
.rc-live .rc-plan { margin-block: auto; }

/* ======================= PROPIEDADES ======================= */
.props { padding: 110px 0 100px; border-top: 1px solid var(--line-2); }
.filters { display: grid; gap: 12px; padding: 14px; background: var(--sheet); border: 1px solid var(--ink); }
.f-row { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; }
.f-extra { padding-top: 12px; border-top: 1px dashed var(--line-2); }
.seg { display: inline-flex; padding: 3px; border: 1.5px solid var(--ink); border-radius: 999px; }
.seg-b { block-size: 36px; padding: 0 18px; border-radius: 999px; font-weight: 600; font-size: 14.5px; transition: background .2s, color .2s; }
.seg-b.on { background: var(--ink); color: var(--paper); }
.chips { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.chips-l { color: var(--ink-2); margin-right: 4px; }
.chip { --h: 36px; --r: 18px; block-size: var(--h); border-radius: 999px; padding-inline: 12px calc(12px + var(--r) * (1 - pi / 4)); border: 1px solid var(--line-2); font-size: 14px; font-weight: 500; background: var(--sheet); transition: background .2s, color .2s, border-color .2s; }
.chip:hover { border-color: var(--ink); }
.chip.on { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.f-more { margin-left: auto; }
.f-more-n { font-size: 10px; color: var(--red); }
.f-more.on .f-more-n { color: var(--red-l); }
.f-sel, .sort { display: inline-flex; align-items: center; gap: 10px; }
.f-sel .mono, .sort .mono { color: var(--ink-2); }
select, .fld input[type="text"], .fld input[type="tel"] { block-size: 42px; border: 1px solid var(--ink-2); border-radius: 8px; background: var(--paper); padding: 0 12px; font-size: 15px; min-inline-size: 0; }
select { appearance: none; padding-right: 34px; background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' fill='none' stroke='%231d1f22' stroke-width='1.5'/%3E%3C/svg%3E") right 12px center / 12px no-repeat; cursor: pointer; }
input[type="range"] { accent-color: var(--ink); inline-size: 100%; }
.f-range { display: grid; gap: 4px; min-inline-size: 220px; }
.f-range .mono { color: var(--ink-2); }
.f-range output { color: var(--ink); font-weight: 600; }
.tgl { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-size: 14.5px; }
.tgl input { position: absolute; opacity: 0; inline-size: 1px; block-size: 1px; }
.tgl-s { position: relative; inline-size: 40px; block-size: 24px; border-radius: 12px; border: 1.5px solid var(--ink-2); background: var(--paper); transition: background .2s, border-color .2s; }
.tgl-s::after { content: ''; position: absolute; top: 3px; left: 3px; inline-size: 15px; block-size: 15px; border-radius: 50%; background: var(--ink-2); transition: transform .25s var(--ease), background .2s; }
.tgl input:checked + .tgl-s { background: var(--ink); border-color: var(--ink); }
.tgl input:checked + .tgl-s::after { transform: translateX(16px); background: var(--paper); }
.tgl input:focus-visible + .tgl-s { outline: 2px solid var(--red); outline-offset: 3px; }
.res-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 22px 0 16px; }
.res-n { font-size: 15px; color: var(--ink-2); }
.res-n b { color: var(--ink); font: 600 15px var(--mono); }

.lista { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 24px; }
.card { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 10px; background: var(--sheet); border: 1px solid var(--ink); }
.card::before { content: ''; position: absolute; inset: -7px; border: 1.5px dashed transparent; pointer-events: none; transition: border-color .2s; }
.card:hover::before { border-color: var(--red); }
.card:has(.card-open:focus-visible) { outline: 2px solid var(--red); outline-offset: 6px; }
.card.out { display: none; }
.card-open { position: absolute; inset: 0; z-index: 1; cursor: pointer; }
.card-open:focus-visible { outline: none; }
.card-img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper-2); }
.card-img img { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; object-fit: cover; opacity: 0; transition: opacity .3s, transform .6s var(--ease); }
.card-img img.on { opacity: 1; }
.card:hover .card-img img { transform: scale(1.03); }
.card-n { position: absolute; right: 8px; bottom: 8px; background: var(--sheet); padding: 2px 6px; font-size: 9.5px; }
.card-tag { position: absolute; top: 20px; left: 20px; z-index: 2; pointer-events: none; background: var(--sheet); color: var(--red); border: 1.5px solid var(--red); padding: 3px 8px; font-weight: 600; font-size: 10px; }
.card-rot { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card-rot .r-t, .card-rot .r-dir, .card-rot .r-p { grid-column: 1 / -1; }
.card-t { font-weight: 650; font-size: 18px; line-height: 1.2; letter-spacing: -.02em; }
.card-rot .r-dir dd { font-weight: 500; font-size: 14px; }
.card-rot .r-p { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.card-rot .r-p dd { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: flex-end; gap: 2px 10px; }
.card-rot .r-p b { font-weight: 760; font-size: 23px; letter-spacing: -.03em; }
.fav { position: absolute; z-index: 2; top: 18px; right: 18px; inline-size: 40px; block-size: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--sheet); border: 1px solid var(--ink); transition: background .2s; }
.fav svg { inline-size: 18px; block-size: 18px; fill: none; stroke: var(--ink); stroke-width: 1.8; }
.fav[aria-pressed="true"] svg { fill: var(--red); stroke: var(--red); }
.fav:hover { background: var(--paper); }
.card.pop { animation: pop .5s var(--ease) both; animation-delay: calc(var(--k, 0) * 45ms); }
@keyframes pop { from { opacity: 0; transform: translateY(14px); } }
.empty { padding: 48px 24px; text-align: center; border: 1.5px dashed var(--ink-2); display: grid; gap: 12px; justify-items: center; }
.empty-t { font-weight: 750; font-size: 34px; letter-spacing: -.03em; }
.empty p:not(.empty-t) { max-inline-size: 46ch; color: var(--ink-2); }
.empty-b { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; justify-content: center; }

/* ======================= BOT (lámina en grafito) ======================= */
.bot { padding: 110px 0; background: var(--ink); color: var(--paper);
  background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 48px 48px; }
.bot .lam { color: var(--red-l); }
.bot .sec-aside { color: #b9bbb6; }
.bot .cota-h::before { border-color: var(--paper); }
.bot .cota-h::after { background:
  linear-gradient(45deg, transparent 45%, var(--paper) 45% 55%, transparent 55%) left center / 12px 12px no-repeat,
  linear-gradient(45deg, transparent 45%, var(--paper) 45% 55%, transparent 55%) right center / 12px 12px no-repeat,
  linear-gradient(var(--paper), var(--paper)) left / 1.5px 100% no-repeat,
  linear-gradient(var(--paper), var(--paper)) right / 1.5px 100% no-repeat; }
.bot :focus-visible { outline-color: var(--red-l); }
.bot-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 370px) minmax(0, 1fr); gap: 36px; align-items: start; }
.bot-steps li { display: grid; grid-template-columns: 34px 1fr; gap: 10px; padding: 14px 0; border-top: 1px solid rgba(255, 255, 255, .16); }
.bot-steps .mono { color: var(--red-l); padding-top: 3px; }
.bot-steps b { font-weight: 650; font-size: 16px; }
.bot-steps p { color: #b9bbb6; font-size: 14.5px; }
.speed { margin-top: 18px; padding: 14px; border: 1px solid rgba(255, 255, 255, .22); display: grid; gap: 8px; }
.speed-l { color: #b9bbb6; }
.speed-row { display: grid; grid-template-columns: 52px 1fr auto; gap: 12px; align-items: center; }
.speed-bar { block-size: 8px; background: rgba(255, 255, 255, .1); }
.speed-bar i { display: block; block-size: 100%; background: #8d9094; transform-origin: left; transform: scaleX(var(--w)); }
.speed-row.now .speed-bar i { background: var(--red-l); }
.speed-row b { font: 600 13px var(--mono); font-stretch: 87.5%; }
.srcs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.srcs li { padding: 4px 10px; border: 1px solid rgba(255, 255, 255, .25); border-radius: 999px; font-size: 10px; color: #d6d7d2; }

.phone { justify-self: center; inline-size: 100%; max-inline-size: 370px; }
.ph-frame { display: flex; flex-direction: column; block-size: 620px; background: var(--paper); color: var(--ink); border-radius: 32px; border: 6px solid #3a3d41; overflow: hidden; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6); }
.wa-head { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: var(--sheet); border-bottom: 1px solid var(--line-2); }
.wa-av { inline-size: 36px; block-size: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--paper); font-weight: 800; }
.wa-who { display: grid; line-height: 1.2; }
.wa-who b { font-size: 15px; font-weight: 650; }
.wa-who small { font-size: 12px; color: var(--ink-2); }
.wa-chat { flex: 1; overflow-y: auto; padding: 12px; display: flex; flex-direction: column; gap: 8px; background: var(--paper) var(--noise); }
.bot-start { display: grid; gap: 8px; margin: auto 0; }
.bs-t { font-weight: 700; font-size: 18px; letter-spacing: -.02em; }
.bs-s { color: var(--ink-2); font-size: 14px; margin-bottom: 4px; }
.lead-start { display: grid; gap: 4px; text-align: left; padding: 10px 12px; background: var(--sheet); border: 1px solid var(--ink); border-radius: 12px; transition: border-color .2s, background .2s; }
.lead-start:hover { border-color: var(--red); }
.ls-src { color: var(--red); font-size: 9.5px; }
.ls-msg { font-size: 14px; line-height: 1.35; }
.msg { position: relative; max-inline-size: 84%; padding: 8px 11px 18px; border-radius: 12px; font-size: 14.5px; line-height: 1.4; animation: msg .3s var(--ease) both; }
@keyframes msg { from { opacity: 0; transform: translateY(6px); } }
.msg.in { align-self: flex-start; background: var(--sheet); border: 1px solid var(--line-2); border-top-left-radius: 3px; }
.msg.out { align-self: flex-end; background: var(--ink); color: var(--paper); border-top-right-radius: 3px; }
.msg-t { position: absolute; right: 9px; bottom: 4px; font: 400 9px var(--mono); opacity: .65; }
.msg-src { display: block; font: 500 9px var(--mono); text-transform: uppercase; color: var(--red-l); margin-bottom: 2px; }
.sys { align-self: center; text-align: center; padding: 3px 10px; border-radius: 999px; background: var(--paper-2); color: var(--ink-2); font-size: 9.5px; }
.typing { align-self: flex-start; display: flex; gap: 4px; padding: 12px 14px; background: var(--sheet); border: 1px solid var(--line-2); border-radius: 12px; }
.typing i { inline-size: 6px; block-size: 6px; border-radius: 50%; background: var(--ink-2); animation: blink 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 50% { opacity: .25; } }
.card-m { display: grid; padding: 0 0 18px; overflow: hidden; inline-size: 84%; }
.card-m img { inline-size: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.cm-b { display: grid; gap: 2px; padding: 8px 11px 0; font-size: 13.5px; }
.cm-p { font-weight: 760; font-size: 17px; letter-spacing: -.02em; }
.cm-s { color: var(--ink-2); font-size: 12px; }
.doc { display: flex !important; gap: 10px; align-items: center; }
.doc-ic { display: grid; place-items: center; inline-size: 38px; block-size: 46px; background: var(--red); color: #fff; font-size: 10px; flex: none; }
.doc-n { display: grid; line-height: 1.3; }
.doc-n small { color: var(--ink-2); font-size: 11.5px; }
.wa-opts { display: none; flex-wrap: wrap; gap: 6px; padding: 8px 12px; background: var(--paper); border-top: 1px solid var(--line); }
.wa-opts.on { display: flex; }
.bot-opt { --h: 36px; --r: 18px; block-size: var(--h); border-radius: 999px; padding-inline: 12px calc(12px + var(--r) * (1 - pi / 4)); border: 1.5px solid var(--ink); background: var(--sheet); font-weight: 600; font-size: 14px; animation: msg .3s var(--ease) both; animation-delay: calc(var(--k) * 60ms); }
.bot-opt:hover { background: var(--ink); color: var(--paper); }
.wa-bar { display: flex; gap: 8px; padding: 10px 12px; background: var(--sheet); border-top: 1px solid var(--line-2); }
.wa-bar input { flex: 1; min-inline-size: 0; block-size: 42px; border-radius: 21px; border: 1px solid var(--line-2); background: var(--paper); padding: 0 16px; font-size: 15px; }
.wa-bar input:disabled { opacity: .55; }
.wa-bar button { inline-size: 42px; block-size: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--paper); flex: none; }
.wa-bar button:disabled { opacity: .35; cursor: default; }
.wa-bar svg { inline-size: 18px; block-size: 18px; }
.bot .phone :focus-visible { outline-color: var(--red); }

.lead-cap { color: #b9bbb6; margin-bottom: 10px; }
.lead-card { background: var(--sheet); color: var(--ink); border: 1.5px solid var(--paper); padding: 14px; display: grid; gap: 12px; transition: box-shadow .3s; }
.lead-card.done { animation: done 1s var(--ease); }
@keyframes done { 30% { box-shadow: 0 0 0 6px var(--red); } }
.lead-top { display: flex; justify-content: space-between; gap: 10px; align-items: center; padding-bottom: 10px; border-bottom: 1px solid var(--line-2); }
.lead-st { padding: 3px 8px; border: 1px solid var(--ink-2); border-radius: 999px; font-size: 9.5px; }
.lead-st.busy { border-color: var(--red); color: var(--red); }
.lead-card.hot .lead-st { background: var(--red); border-color: var(--red); color: #fff; }
.lead-card.warm .lead-st { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.lead-score { display: grid; gap: 8px; }
.ring-n { display: flex; align-items: baseline; gap: 8px; }
.ring-n b { font: 600 44px/1 var(--mono); font-stretch: 87.5%; letter-spacing: -.04em; }
.ring-n .mono { color: var(--ink-2); }
.lead-bar { display: grid; grid-template-columns: repeat(12, 1fr); gap: 3px; }
.lead-bar i { block-size: 10px; border: 1px solid var(--line-2); transition: background .3s; }
.lead-bar i.on { background: var(--red); border-color: var(--red); }
.lead-name { font-weight: 700; font-size: 19px; letter-spacing: -.02em; }
.lead-src { color: var(--ink-2); font-size: 10px; }
.lead-rows { display: grid; }
.lead-rows > div { display: grid; grid-template-columns: 92px 1fr; gap: 10px; padding: 6px 0; border-top: 1px solid var(--line); align-items: baseline; }
.lead-rows dt { color: var(--ink-2); font-size: 9.5px; }
.lead-rows dd { font-size: 14px; font-weight: 550; }
.lead-rows dd.pend { color: var(--ink-3); }
.lead-rows dd.flash { animation: flash .9s; }
@keyframes flash { from { background: rgba(196, 52, 42, .18); } }
.lead-rows .lr-empty { grid-template-columns: 1fr; gap: 2px; }
.lead-prop { display: inline-flex; align-items: center; gap: 8px; }
.lead-prop img { inline-size: 34px; block-size: 26px; object-fit: cover; }
.lead-foot { font-size: 13px; color: var(--ink-2); padding-top: 10px; border-top: 1px solid var(--line-2); }
.lead-foot b { color: var(--ink); }
.bot-reset { margin-top: 12px; color: var(--paper); }

/* ======================= TASACIÓN ======================= */
.tas { padding: 110px 0; }
.tas-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.m2 { display: grid; border-top: 1.5px solid var(--ink); }
.m2-l { display: flex; justify-content: space-between; padding: 8px 0; color: var(--ink-2); }
.m2-row { display: grid; grid-template-columns: 28px minmax(110px, 1fr) 1.4fr 56px; gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line-2); transition: color .2s; }
.m2-row .mono { color: var(--ink-3); }
.m2-bar { block-size: 10px; background: var(--paper-2); }
.m2-bar i { display: block; block-size: 100%; background: var(--ink-2); transform-origin: left; transform: scaleX(var(--w)); transition: background .2s; }
.m2-row b { text-align: right; font-size: 12px; }
.m2-row.on { font-weight: 650; }
.m2-row.on .m2-bar i { background: var(--red); }
.m2-row.on .mono { color: var(--red); }
.tas-card { position: relative; background: var(--sheet); border: 1px solid var(--ink); padding: clamp(16px, 2.4vw, 28px); }
.tas-steps { display: flex; gap: 18px; margin-bottom: 18px; color: var(--ink-3); }
.tas-steps .on { color: var(--ink); box-shadow: inset 0 -2px var(--red); padding-bottom: 3px; }
.tas-form { display: grid; grid-template-columns: 1fr 170px; gap: 0 28px; }
.tas-form .tas-steps, .tas-form .tas-go { grid-column: 1 / -1; }
.tas-form .planilla { grid-column: 1; grid-row: 2; }
.tas-sq { grid-column: 2; grid-row: 2; align-self: start; position: relative; display: grid; justify-items: center; gap: 4px; }
.tas-sq svg { inline-size: 170px; block-size: 170px; }
.sq-g { fill: none; stroke: var(--line-2); stroke-width: 1.5; stroke-dasharray: 6 5; }
.sq { fill: rgba(29, 31, 34, .07); stroke: var(--ink); stroke-width: 3; transform-origin: 20px 20px; transition: transform .3s var(--ease); vector-effect: non-scaling-stroke; }
.sq-c { color: var(--red); font-weight: 600; }
.sq-l { color: var(--ink-2); font-size: 9.5px; }
.planilla { display: grid; grid-template-columns: max-content 1fr; gap: 14px 20px; align-items: center; }
.fld { display: grid; grid-column: 1 / -1; grid-template-columns: subgrid; align-items: center; }
.fld > .mono { color: var(--ink-2); }
.fld output { color: var(--ink); font-weight: 600; }
.pills { display: flex; flex-wrap: wrap; gap: 6px; }
.pills label { cursor: pointer; }
.pills input { position: absolute; opacity: 0; inline-size: 1px; block-size: 1px; }
.pills span { --r: 18px; display: inline-flex; align-items: center; block-size: 36px; border-radius: 999px; padding-inline: 13px calc(13px + var(--r) * (1 - pi / 4)); border: 1px solid var(--ink-2); font-size: 14px; font-weight: 500; transition: background .2s, color .2s; }
.pills input:checked + span { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.pills input:focus-visible + span { outline: 2px solid var(--red); outline-offset: 3px; }
.step-n { display: inline-flex; align-items: center; gap: 4px; border: 1px solid var(--ink-2); border-radius: 999px; padding: 3px; inline-size: fit-content; }
.step-n button { inline-size: 32px; block-size: 32px; border-radius: 50%; font-size: 18px; display: grid; place-items: center; }
.step-n button:hover { background: var(--paper-2); }
.step-n output { min-inline-size: 28px; text-align: center; font: 600 15px var(--mono); }
.chk { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-size: 15px; }
.chk input { inline-size: 18px; block-size: 18px; accent-color: var(--ink); margin: 0; }
.tas-go { justify-self: start; margin-top: 22px; }
.tas-what { color: var(--ink-2); }
.tas-what:focus { outline: none; }
.tas-range { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin: 6px 0 14px; }
.tas-range b { font-weight: 760; font-size: clamp(34px, 4.4vw, 58px); letter-spacing: -.045em; line-height: 1; font-variant-numeric: tabular-nums; }
.tas-range i { font-style: normal; color: var(--ink-3); font-size: 28px; }
.tas-scale { position: relative; block-size: 12px; background: var(--paper-2); margin-bottom: 26px; }
.tas-scale i { position: absolute; left: 0; top: 0; inline-size: 100%; block-size: 100%; background: var(--red); transform-origin: left; transform: translateX(calc(var(--l, .5) * 100%)) scaleX(var(--w, 0)); transition: transform .9s var(--ease); }
.tas-scale span { position: absolute; top: 16px; color: var(--ink-3); font-size: 9px; }
.tas-scale span:last-child { right: 0; }
.tas-note { color: var(--ink-2); font-size: 14.5px; margin-bottom: 18px; }
.tas-visit { display: grid; gap: 14px; padding-top: 16px; border-top: 1px dashed var(--line-2); }
.tas-visit-l { color: var(--red); }
.tas-days { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.tas-day { display: grid; justify-items: center; padding: 8px 4px; border: 1px solid var(--ink-2); border-radius: 10px; transition: background .2s, color .2s; }
.tas-day small { font: 500 9.5px var(--mono); text-transform: uppercase; }
.tas-day b { font-size: 19px; font-weight: 700; }
.tas-day.on { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.form-err { color: var(--red); min-block-size: 1em; }
.form-err:empty { display: none; }
.tas-visit .btn { justify-self: start; }
.tas-ok { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border: 1.5px solid var(--red); }
.tas-ok-ic { inline-size: 36px; block-size: 36px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; flex: none; font-weight: 700; }
.tas-again { margin-top: 16px; }

/* ======================= BARRIOS ======================= */
.brs { padding: 110px 0; border-top: 1px solid var(--line-2); }
.br-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.br { display: flex; flex-direction: column; gap: 10px; padding: 10px; background: var(--sheet); border: 1px solid var(--ink); }
.br-img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--paper-2); }
.br-img img { inline-size: 100%; block-size: 100%; object-fit: cover; transition: transform .6s var(--ease); }
@media (hover: hover) {
  .br-img img, .member-img img { filter: grayscale(1) contrast(1.05); transition: filter .4s, transform .6s var(--ease); }
  .br:hover .br-img img, .member:hover .member-img img { filter: none; }
  .br:hover .br-img img { transform: scale(1.03); }
}
.br-rot { grid-template-columns: repeat(3, minmax(0, 1fr)); flex: 1; }
.br-rot .r-t { grid-column: 1 / -1; }
.br-rot h3 { font-weight: 720; font-size: 24px; letter-spacing: -.03em; line-height: 1.1; }
.br-rot p { font-weight: 400; font-size: 14px; color: var(--ink-2); margin-top: 4px; }
.br-rot dd { font-size: 14px; }
.br-go { display: flex; justify-content: space-between; align-items: center; block-size: 46px; padding: 0 16px; border: 1.5px solid var(--ink); border-radius: 999px; font-weight: 600; transition: background .2s, color .2s; }
.br-go:hover { background: var(--ink); color: var(--paper); }

/* ======================= EQUIPO ======================= */
.team-s { padding: 110px 0; border-top: 1px solid var(--line-2); }
.team { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.member { display: flex; flex-direction: column; gap: 6px; }
.member-t { flex: 1; }
.member-img { aspect-ratio: 4 / 5; overflow: hidden; border: 1px solid var(--ink); margin-bottom: 6px; background: var(--paper-2); }
.member-img img { inline-size: 100%; block-size: 100%; object-fit: cover; }
.member-rol { color: var(--ink-2); }
.red-k { color: var(--red); font-weight: 600; }
.member-n { font-weight: 700; font-size: 22px; letter-spacing: -.03em; }
.member-t { color: var(--ink-2); font-size: 14.5px; }
.member-f { display: flex; justify-content: space-between; gap: 8px; padding-top: 8px; border-top: 1px solid var(--ink); font-size: 9.5px; }
.notes { margin-top: 70px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 36px; }
.notes-l { grid-column: 1 / -1; color: var(--red); }
.note { padding-left: 18px; border-left: 3px solid var(--red); display: grid; gap: 12px; align-content: start; }
.note blockquote { font-size: 17px; line-height: 1.45; letter-spacing: -.01em; }
.note figcaption { color: var(--ink-2); font-size: 10px; }
.note figcaption b { color: var(--ink); }

/* ======================= CONTACTO ======================= */
.contact { padding: 110px 0 90px; border-top: 1px solid var(--line-2); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.contact-l { color: var(--ink-2); font-size: 17px; margin: 20px 0 24px; max-inline-size: 46ch; }
.contact-dl { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 24px; }
.contact-dl dd { font-size: 15px; overflow-wrap: anywhere; }
.contact-b { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.fachada svg { display: block; inline-size: 100%; block-size: auto; overflow: visible; }
.fachada figcaption { color: var(--ink-2); margin-top: 10px; }
.fz rect, .fz path { fill: none; stroke: var(--ink); stroke-width: 3; }
.fz .fz-l { stroke: var(--ink-2); stroke-width: 2; }
.fz .fz-l2 { stroke: #55595e; stroke-width: 3; }
.fz .fz-door { fill: var(--ink); }
.fz .fz-g { stroke-width: 6; }
.fz .fz-plate, .fz .fz-sign { fill: var(--sheet); }
.fz-t { font: 600 17px var(--mono); font-stretch: 87.5%; fill: var(--ink); letter-spacing: .06em; }
.fachada .ct path { fill: none; stroke: var(--ink-2); stroke-width: 2; }
.fachada .ct text { font: 500 20px var(--mono); fill: var(--ink-2); }
.fachada .red path { fill: none; stroke: var(--red); stroke-width: 5; stroke-linecap: round; stroke-dasharray: 1; }
.fachada .red-t { fill: var(--red); font: 600 24px var(--mono); font-stretch: 87.5%; letter-spacing: .06em; }

/* ======================= PIE ======================= */
.foot { padding: 40px 0 110px; }
.foot-rot { grid-template-columns: 2fr 1.3fr 1.6fr 1.6fr; }
.foot-rot .r-big { grid-row: span 2; display: flex; flex-direction: column; justify-content: space-between; }
.foot-rot .r-big dd { font-weight: 800; font-size: clamp(32px, 4vw, 56px); line-height: .92; letter-spacing: -.05em; }
.foot-rot .r-wide { grid-column: 1 / -1; }
.foot-rot dd { font-weight: 500; font-size: 14px; }

/* ======================= FICHA ======================= */
.ficha { position: fixed; inset: 0; z-index: 70; display: grid; place-items: center; padding: 20px; }
.ficha-scrim { position: absolute; inset: 0; background: rgba(29, 31, 34, .55); opacity: 0; transition: opacity .35s; }
.ficha-in { position: relative; inline-size: min(1180px, 100%); max-block-size: calc(100svh - 40px); overflow-y: auto; overscroll-behavior: contain; background: var(--paper) var(--noise); border: 1px solid var(--ink); opacity: 0; transform: translateY(20px); transition: opacity .35s, transform .45s var(--ease); }
.ficha.on .ficha-scrim { opacity: 1; }
.ficha.on .ficha-in { opacity: 1; transform: none; }
.ficha-bar { position: sticky; top: 0; z-index: 3; display: flex; align-items: center; gap: 14px; padding: 10px 14px; background: var(--paper); border-bottom: 1px solid var(--line-2); }
.ficha-back { padding: 8px 4px; }
.ficha-ref { color: var(--ink-2); margin: 0 auto; text-align: center; }
.ficha-x { inline-size: 40px; block-size: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--ink); }
.ficha-x svg { inline-size: 18px; block-size: 18px; fill: none; stroke: currentColor; stroke-width: 2; }
.ficha-body { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 32px; padding: 18px clamp(14px, 2.4vw, 28px) 32px; }
.fg-stage { position: relative; aspect-ratio: 3 / 2; border: 1px solid var(--ink); background: var(--paper-2); }
.fg-track { display: flex; block-size: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.fg-track::-webkit-scrollbar { display: none; }
.fg-slide { flex: 0 0 100%; scroll-snap-align: start; }
.fg-slide img { inline-size: 100%; block-size: 100%; object-fit: cover; }
.fg-nav { position: absolute; top: 50%; translate: 0 -50%; inline-size: 44px; block-size: 44px; border-radius: 50%; background: var(--sheet); border: 1px solid var(--ink); font-size: 18px; display: grid; place-items: center; }
.fg-prev { left: 10px; }
.fg-next { right: 10px; }
.fg-nav:hover { background: var(--ink); color: var(--paper); }
.fg-count { position: absolute; left: 10px; bottom: 10px; background: var(--sheet); padding: 2px 7px; font-size: 9.5px; }
.fg-thumbs { display: flex; gap: 6px; margin-top: 8px; overflow-x: auto; scrollbar-width: none; }
.fg-th { flex: 0 0 74px; block-size: 52px; border: 1px solid transparent; opacity: .55; transition: opacity .2s, border-color .2s; }
.fg-th img { inline-size: 100%; block-size: 100%; object-fit: cover; }
.fg-th.on { opacity: 1; border-color: var(--red); }
.f-kicker { color: var(--red); margin-top: 22px; }
.f-title { font-weight: 740; font-size: clamp(28px, 3.4vw, 44px); line-height: 1.02; letter-spacing: -.04em; margin: 6px 0 6px; }
.f-dir { color: var(--ink-2); margin-bottom: 18px; }
.f-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 20px; }
.f-desc { font-size: 16.5px; max-inline-size: 64ch; margin-bottom: 8px; }
.f-h { color: var(--ink-2); margin: 24px 0 10px; padding-top: 10px; border-top: 1px solid var(--line-2); font-weight: 500; }
.f-carac { display: flex; flex-wrap: wrap; gap: 6px; }
.f-carac li { padding: 5px 12px; border: 1px solid var(--ink-2); border-radius: 999px; font-size: 14px; }
.fc { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; }
.fc > .mono { font-size: 10px; }
.fc-l { position: relative; display: grid; place-items: center; block-size: 28px; }
.fc-l i { position: absolute; left: 0; right: 0; top: 50%; border-top: 1.5px solid var(--red); }
.fc-l i::before, .fc-l i::after { content: ''; position: absolute; top: -8px; block-size: 16px; border-left: 1.5px solid var(--red); transform: rotate(45deg); }
.fc-l i::before { left: 0; }
.fc-l i::after { right: 0; }
.fc-l b { position: relative; background: var(--paper); padding: 0 8px; color: var(--red); font-size: 10px; }
.fc-t { color: var(--ink-2); font-size: 14.5px; margin-top: 6px; }
.req { counter-reset: r; display: grid; gap: 6px; }
.req li { counter-increment: r; display: grid; grid-template-columns: 30px 1fr; font-size: 15px; }
.req li::before { content: counter(r, decimal-leading-zero); font: 500 11px/1.9 var(--mono); color: var(--red); }
.calc { display: grid; gap: 10px; padding: 14px; background: var(--sheet); border: 1px solid var(--ink); }
.calc-row { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.calc-row .mono { color: var(--ink-2); }
.calc-out { font-weight: 760; font-size: 24px; letter-spacing: -.03em; }
.calc-note { color: var(--ink-2); font-size: 13px; }
.ficha-side { position: relative; }
.fs-card { position: sticky; top: 76px; display: grid; gap: 10px; padding: 18px; background: var(--sheet); border: 1px solid var(--ink); }
.fs-op { color: var(--ink-2); }
.fs-price { font-weight: 760; font-size: 34px; letter-spacing: -.04em; line-height: 1; }
.fs-price small { font-size: 15px; font-weight: 500; letter-spacing: 0; color: var(--ink-2); }
.fs-exp { color: var(--ink-2); margin-bottom: 6px; }
.fs-card .btn { inline-size: 100%; }
.fs-plano { justify-self: start; padding: 6px 0; }
.fs-agent { display: flex; align-items: center; gap: 12px; padding-top: 12px; margin-top: 4px; border-top: 1px solid var(--line-2); }
.fs-agent img { inline-size: 46px; block-size: 46px; border-radius: 50%; object-fit: cover; }
.fs-agent p { display: grid; line-height: 1.3; }
.fs-agent .mono { color: var(--ink-2); font-size: 9.5px; }

/* Aviso */
.toast { position: fixed; z-index: 90; left: 50%; bottom: 24px; translate: -50% 0; max-inline-size: calc(100% - 32px); padding: 12px 18px; background: var(--ink); color: var(--paper); border-radius: 999px; font-size: 14.5px; opacity: 0; transform: translateY(12px); transition: opacity .3s, transform .3s var(--ease); pointer-events: none; }
.toast.on { opacity: 1; transform: none; }

/* Detalles que entran con el scroll (CSS scroll-driven, con el contenido visible si no hay soporte) */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .cota-h { animation: cota linear both; animation-timeline: view(); animation-range: entry 10% cover 30%; transform-origin: left; }
    .card:not(.pop), .br, .member, .note { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 55%; }
    .m2-bar i { animation: bar linear both; animation-timeline: view(); animation-range: entry 20% cover 40%; }
    .fachada .red-c { animation: draw linear both; animation-timeline: view(); animation-range: entry 40% cover 55%; }
  }
}
@keyframes cota { from { transform: scaleX(0); } }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } }
@keyframes bar { from { transform: scaleX(0); } }

/* ======================= RESPONSIVE ======================= */
@media (max-width: 1180px) {
  .hdr-sub { display: none; }
  .bot-grid { grid-template-columns: minmax(0, 1fr) minmax(300px, 370px); }
  .bot-info { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 0 36px; }
  .bot-info .bot-steps { grid-row: span 2; }
  .lead { align-self: center; }
}
@media (max-width: 1000px) {
  .nav, .hdr-wa { display: none; }
  .burger { display: block; }
  .lista, .br-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .team { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tas-grid, .contact-grid { grid-template-columns: 1fr; }
  .tas-copy { order: 2; }
  .hero-rot { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero-rot .r-obra { grid-column: span 3; }
  .ficha-body { grid-template-columns: minmax(0, 1fr) 290px; gap: 22px; }
}
@media (max-width: 860px) {
  .sec-h-row, .hero-top { grid-template-columns: 1fr; }
  .rc-in { grid-template-columns: 1fr; }
  .notes { grid-template-columns: 1fr; }
  .bot-grid { grid-template-columns: 1fr; }
  .bot-info { display: block; }
  .phone { max-inline-size: 400px; }
  .lead { max-inline-size: 400px; justify-self: center; inline-size: 100%; }
}
@media (max-width: 760px) {
  :root { --hdr: 56px; }
  .hide-sm { display: none !important; }
  .mono { font-size: 10px; }
  .hero { min-block-size: 0; padding-top: calc(var(--hdr) + 22px); }
  .hero::before { inset: calc(var(--hdr) + 6px) 6px 6px; }
  .sheet-ticks .tk-side { display: none; }
  .sheet-ticks .tk-top { left: 6px; right: 6px; }
  .hero-meta span + span::before { margin-right: 10px; }
  .hero-lead { font-size: 16px; margin-bottom: 14px; }
  .hero-plan { inline-size: 100%; min-inline-size: 0; aspect-ratio: 1.72; }
  .hero-cap { top: calc(100% + 4px); bottom: auto; right: auto; left: 0; padding: 0; background: none; }
  .hero-plan { margin-bottom: 18px; }
  .hero-rot { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-rot .r-obra { grid-column: span 2; }
  .hero-rot dd { font-size: 16px; }
  .btn { --h: 46px; font-size: 14.5px; }
  .rc { padding: 90px var(--pad) 70px; }
  .rc-lbl { padding: 2px 5px; border-width: 1px; }
  .rc-lbl b, .rc-lbl > span { display: none; }
  .rc-lbl i { font-size: 8.5px; }
  .rc-lbl-x { display: none; }
  .rc-sheet { padding: 8px 8px 10px; gap: 8px; }
  .rc-meta { gap: 10px; font-size: 9px; }
  .rc-meta span:nth-child(2) { display: none; }
  .rc-sum b { font-size: 19px; }
  .rc-sum .mono { display: block; margin: 2px 0 0; }
  .rc-end .btn { --h: 42px; --pad: 14px; font-size: 14px; }
  .rc-live { padding: calc(var(--hdr) + 12px) 12px 12px; }
  .rc-live .rc-in { display: flex; flex-direction: column; gap: 10px; }
  .rc-live .h2 { font-size: 34px; }
  .rc-live .lam { margin-bottom: 6px; }
  .rc-live .rc-lead { margin: 6px 0 0; font-size: 14px; line-height: 1.4; }
  .rc-live .rc-list { display: none; }
  .rc-live .rc-sheet { flex: 1; }
  .rc-live .rc-plan { inline-size: 100%; }
  .rc-live .rc-cap { display: block; position: relative; flex: 1; min-block-size: 110px; }
  .rc-live .rc-end { position: absolute; left: 8px; right: 8px; bottom: 10px; background: var(--sheet); padding-top: 10px; }
  .rc-cap-0 { position: absolute; inset: 0; display: grid; place-items: center; border: 1.5px dashed var(--line-2); color: var(--ink-2); transition: opacity .3s; }
  .rc[data-step="room"] .rc-cap-0, .rc[data-step="fin"] .rc-cap-0 { opacity: 0; }
  .rc[data-step="fin"] .rc-fig { opacity: 0 !important; }
  .rc-fig { position: absolute; inset: 0; opacity: 0; transition: opacity .35s; }
  .rc-fig.on { opacity: 1; }
  .rc-fig img { inline-size: 100%; block-size: 100%; object-fit: cover; border: 1px solid var(--ink); }
  .rc-fig figcaption { position: absolute; left: 8px; bottom: 8px; right: 8px; display: grid; gap: 1px; background: var(--sheet); border: 1px solid var(--ink); padding: 6px 10px; }
  .rc-fig figcaption .mono:first-child { color: var(--red); }
  .rc-fig figcaption b { font-weight: 680; font-size: 17px; letter-spacing: -.02em; line-height: 1.15; }
  .rc-fig figcaption .mono:last-child { text-transform: none; color: var(--ink-2); }
  .props, .tas, .brs, .team-s, .contact, .bot { padding: 84px 0; }
  .filters { padding: 12px; }
  .f-more { margin-left: 0; }
  .f-row { gap: 10px 12px; }
  .chips-l { min-inline-size: 38px; }
  .f-range { min-inline-size: 0; inline-size: 100%; }
  .lista { grid-template-columns: 1fr; gap: 26px; }
  .br-row { display: grid; grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 84%; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; margin: 0 calc(var(--pad) * -1); padding: 8px var(--pad) 14px; scroll-padding-inline: var(--pad); scrollbar-width: none; }
  .br-row::-webkit-scrollbar { display: none; }
  .br { scroll-snap-align: start; }
  .team { gap: 18px 14px; }
  .member-n { font-size: 18px; }
  .member-t { font-size: 13.5px; }
  .member-f { flex-direction: column; gap: 2px; }
  .ph-frame { block-size: 560px; }
  .tas-form { grid-template-columns: 1fr; }
  .tas-form .planilla { grid-column: 1; grid-row: auto; }
  .tas-sq { grid-column: 1; grid-row: auto; grid-template-columns: auto 1fr; justify-items: start; align-items: center; gap: 12px; margin-bottom: 14px; }
  .tas-sq svg { inline-size: 92px; block-size: 92px; }
  .tas-sq svg { grid-row: span 2; }
  .sq-c { align-self: end; }
  .sq-l { align-self: start; }
  .planilla { grid-template-columns: 1fr; gap: 14px; }
  .fld { grid-template-columns: 1fr; gap: 6px; }
  .fld > span[aria-hidden] { display: none; }
  .m2-row { grid-template-columns: 22px minmax(96px, 1fr) 1fr 46px; gap: 8px; }
  .contact-dl { grid-template-columns: 1fr; }
  .contact-dl .r-wide { grid-column: auto; }
  .foot-rot { grid-template-columns: 1fr 1fr; }
  .foot-rot dd { overflow-wrap: anywhere; }
  .foot-rot .r-big { grid-column: 1 / -1; grid-row: auto; }
  .ficha { padding: 0; }
  .ficha-in { max-block-size: none; block-size: 100%; border: 0; }
  .ficha-body { display: flex; flex-direction: column; gap: 0; padding: 12px 12px 0; }
  .ficha-side { position: sticky; bottom: 0; z-index: 3; margin: 20px -12px 0; }
  .fs-card { position: static; grid-template-columns: 1fr auto; gap: 2px 12px; align-items: center; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); border-width: 1px 0 0; box-shadow: 0 -10px 30px -18px rgba(0, 0, 0, .4); }
  .fs-op { grid-column: 1; font-size: 9px; }
  .fs-price { grid-column: 1; font-size: 22px; }
  .fs-exp, .fs-visit, .fs-plano, .fs-agent { display: none; }
  .fs-card .btn-wa { grid-column: 2; grid-row: 1 / span 2; inline-size: auto; }
  .wa-full { display: none; }
  .f-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ficha-ref { font-size: 9px; }
}
@media (max-width: 420px) {
  .hero-t { font-size: 41px; }
  .hero-cta { flex-wrap: nowrap; gap: 8px; }
  .hero-cta .btn { flex: 1 1 0; --pad: 8px; padding-inline: 8px; font-size: 14px; }
  .card-rot .r-p b { font-size: 21px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

/* Con la ficha abierta, el cartel de Nodo se esconde: en celular taparía la barra con el botón de WhatsApp */
.ficha-open .nodo-badge { visibility: hidden; }
