@font-face { font-family: "Gloock"; src: url("fonts/gloock-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Schibsted"; src: url("fonts/schibsted-grotesk-normal.woff2") format("woff2"); font-weight: 400 800; font-display: swap; }
@font-face { font-family: "Schibsted"; src: url("fonts/schibsted-grotesk-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }

:root {
  --paper: #f5efe7;
  --paper-2: #ece3d7;
  --card: #fffdf9;
  --ink: #1d1513;
  --ink-2: #4a3d38;
  --muted: #776a63;
  --line: rgba(29, 21, 19, .13);
  --red: #cd2928;
  --red-deep: #a01d1d;
  --night: #1b1311;
  --night-2: #2a1e1b;
  --cream: #f7efe4;
  --wa: #1f9d55;
  --display: "Gloock", "Georgia", serif;
  --sans: "Schibsted", "Helvetica Neue", Arial, sans-serif;
  --r: 18px;
  --gut: clamp(16px, 4vw, 56px);
  --head: 76px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--head) + 8px); }
html.lenis, html.lenis body { height: auto; }
html.has-dialog, html.has-dialog body { overflow: hidden; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.55 var(--sans); overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 400; }
p { margin: 0 0 1em; }
em { font-style: normal; color: var(--red); }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 12px; }
.red { color: var(--red); }

/* Botones */
.btn { --bg: var(--ink); --fg: #fff; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 22px; border-radius: 999px; border: 0; background: var(--bg); color: var(--fg); font-weight: 650; font-size: 16px; text-decoration: none; cursor: pointer; position: relative; overflow: hidden; isolation: isolate; transition: scale .2s var(--ease), box-shadow .35s var(--ease); white-space: nowrap; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(255, 255, 255, .16); transform: translateY(101%); transition: transform .45s var(--ease); }
.btn:hover::after { transform: none; }
.btn:hover { box-shadow: 0 10px 28px -12px rgba(0, 0, 0, .45); }
.btn:active { scale: .97; }
.btn--red { --bg: var(--red); }
.btn--wa { --bg: var(--wa); }
.btn--ghost { --bg: transparent; --fg: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn--ghost::after { background: var(--ink); }
.btn--ghost:hover { --fg: #fff; color: #fff; }
.link-btn { background: none; border: 0; padding: 4px 0; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; color: var(--red-deep); font-weight: 600; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 650; color: var(--red-deep); text-decoration: none; border-bottom: 1.5px solid currentColor; padding-bottom: 2px; }
.link-arrow svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* Progreso y cabecera */
.progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 60; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--red); transform-origin: 0 50%; transform: scaleX(0); }
.top { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--head); display: flex; align-items: center; gap: 24px; padding: 0 var(--gut); transition: background .35s, box-shadow .35s, height .35s; }
.top.is-scrolled { background: rgba(245, 239, 231, .9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--line); --head: 64px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.brand img { width: 44px; height: auto; }
.brand-name { font-family: var(--display); font-size: 22px; line-height: 1; letter-spacing: -.01em; }
.brand-name small { display: block; font-family: var(--sans); font-size: 11.5px; letter-spacing: .04em; color: var(--muted); margin-top: 5px; }
.nav { display: flex; gap: 4px; }
.nav a { text-decoration: none; padding: 8px 12px; border-radius: 999px; font-size: 15px; font-weight: 550; position: relative; transition: background .25s; }
.nav a:hover { background: rgba(29, 21, 19, .06); }
.nav a.is-on { background: var(--ink); color: #fff; }
.top-wa { min-height: 44px; padding: 0 18px; font-size: 15px; }
.menu { display: none; position: relative; }
.menu summary { list-style: none; width: 46px; height: 46px; border-radius: 50%; background: var(--ink); display: grid; place-content: center; gap: 6px; cursor: pointer; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary span { display: block; width: 20px; height: 2px; background: #fff; transition: transform .3s; }
.menu[open] summary span:first-child { transform: translateY(4px) rotate(45deg); }
.menu[open] summary span:last-child { transform: translateY(-4px) rotate(-45deg); }
.menu-panel { position: absolute; right: 0; top: 56px; width: min(300px, calc(100vw - 32px)); background: var(--card); border-radius: var(--r); box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .4); padding: 10px; display: grid; }
.menu-panel a { padding: 12px 14px; text-decoration: none; border-radius: 12px; font-weight: 550; }
.menu-panel a:hover { background: var(--paper); }
.menu-call { color: var(--red-deep); }

/* Portada */
.hero-wrap { position: relative; }
.hero { position: relative; min-height: 100svh; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; gap: clamp(24px, 4vw, 64px); padding: calc(var(--head) + 24px) var(--gut) 56px; overflow: hidden; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; letter-spacing: .02em; color: var(--ink-2); margin-bottom: 22px; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 0 rgba(205, 41, 40, .5); animation: pulse 2.4s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(205, 41, 40, 0); } 100% { box-shadow: 0 0 0 0 rgba(205, 41, 40, 0); } }
.hero-title { font-family: var(--display); font-size: clamp(52px, 6.3vw, 108px); line-height: .92; letter-spacing: -.025em; margin-bottom: 26px; }
.hero-title .ln { display: block; }
.hero-lede { font-size: clamp(17px, 1.35vw, 20px); color: var(--ink-2); max-width: 34em; margin-bottom: 28px; }
.finder { background: var(--card); border-radius: 22px; padding: 14px; box-shadow: 0 30px 60px -36px rgba(40, 20, 10, .45), 0 0 0 1px var(--line); max-width: 640px; }
.finder-row { display: grid; grid-template-columns: 1fr 1fr auto; gap: 10px; margin-top: 12px; align-items: end; }
.finder .btn { min-height: 54px; }
.field { display: grid; gap: 4px; font-size: 13px; font-weight: 600; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; border-radius: 14px; border: 1.5px solid var(--line); background: #fff; padding: 0 14px; font-size: 16px; color: var(--ink); font-weight: 500; transition: border-color .2s, box-shadow .2s; }
.field textarea { padding: 12px 14px; min-height: 96px; resize: vertical; }
.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) 52%, calc(100% - 15px) 52%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 34px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 4px rgba(205, 41, 40, .14); }
.seg { border: 0; margin: 0; padding: 4px; display: inline-flex; background: var(--paper-2); border-radius: 999px; position: relative; }
.seg label { position: relative; z-index: 1; cursor: pointer; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: block; padding: 10px 18px; border-radius: 999px; font-weight: 650; font-size: 15px; transition: color .3s; white-space: nowrap; }
.seg span b { font-weight: 650; opacity: .55; margin-left: 4px; font-size: 13px; }
.seg input:checked + span { background: var(--ink); color: #fff; }
.seg.has-ink input:checked + span { background: transparent; }
.seg-ink { position: absolute; left: 0; top: 4px; bottom: 4px; width: 0; background: var(--ink); border-radius: 999px; z-index: 0; }
.seg input:focus-visible + span { outline: 3px solid var(--red); outline-offset: 2px; }
.seg.has-ink input:checked + span { color: #fff; }

.hero-stage { position: relative; height: min(76svh, 760px); display: flex; flex-direction: column; align-items: center; justify-content: center; }
.house { position: relative; width: min(100%, 64svh, 620px); aspect-ratio: 1 / 1.02; will-change: transform; }
.house-win { position: absolute; inset: 0; clip-path: polygon(10% 100%, 10% 40%, 50% 6%, 90% 40%, 90% 100%); background: var(--night); overflow: hidden; }
.house-win .hs { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.2s ease; transform: scale(1.12); }
.house-win .hs.is-on { opacity: 1; animation: kb 7s linear both; }
@keyframes kb { from { transform: scale(1.14) translate3d(1.5%, 1%, 0); } to { transform: scale(1.02) translate3d(-1%, -1%, 0); } }
.house-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(27, 19, 17, 0) 55%, rgba(27, 19, 17, .35)); }
.house-roof { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.house-roof path { fill: none; stroke: var(--red); stroke-linecap: round; stroke-linejoin: round; }
.house-roof #roof-line { stroke-width: 4.6; }
.house-roof #chimney-line { stroke-width: 7; stroke-linecap: butt; }
.house-tag { border: 0; color: var(--ink); cursor: pointer; font-family: inherit; position: absolute; bottom: 2%; left: 50%; transform: translateX(-50%); margin: 0; display: inline-flex; align-items: center; gap: 12px; background: var(--card); padding: 10px 10px 10px 18px; border-radius: 999px; box-shadow: 0 16px 40px -18px rgba(0, 0, 0, .5); font-weight: 600; font-size: 15px; white-space: nowrap; }
.house-tag b { background: var(--red); color: #fff; border-radius: 999px; padding: 4px 12px; font-size: 13px; }
.hero-hint { display: none; position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); display: grid; justify-items: center; gap: 6px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); text-decoration: none; }
.hero-hint i { width: 1.5px; height: 34px; background: linear-gradient(var(--ink) 50%, transparent 0) 0 0 / 100% 200%; animation: hint 1.8s infinite var(--ease); }
@keyframes hint { from { background-position: 0 100%; } to { background-position: 0 -100%; } }
.hero-full { position: absolute; inset: 0; z-index: 3; display: grid; place-content: center; text-align: center; color: #fff; pointer-events: none; opacity: 0; padding: var(--gut); }
.hero-full p { font-family: var(--display); font-size: clamp(40px, 6vw, 96px); line-height: .95; margin: 0; text-shadow: 0 4px 40px rgba(0, 0, 0, .35); }

/* Encabezados de sección */
.sec-head { max-width: 900px; margin: 0 auto 40px; text-align: center; padding: 0 var(--gut); }
.kicker { font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--red-deep); margin-bottom: 14px; }
.kicker--light { color: #ff8a80; }
.zones h2 { font-family: var(--display); font-size: clamp(36px, 3.7vw, 60px); line-height: 1; letter-spacing: -.02em; margin-bottom: 18px; }
.sec-head h2, .owners h2, .story h2, .contact h2 { font-family: var(--display); font-size: clamp(38px, 5vw, 76px); line-height: 1; letter-spacing: -.02em; margin-bottom: 18px; }
.sec-lede { color: var(--ink-2); font-size: 18px; max-width: 36em; margin: 0 auto; }
.split .w { display: inline-block; }

/* Catálogo */
.catalog { padding: clamp(80px, 10vw, 140px) 0 90px; }
.filters { position: sticky; top: calc(var(--head) + 8px); z-index: 20; margin: 0 var(--gut); background: rgba(255, 253, 249, .94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-radius: 22px; box-shadow: 0 0 0 1px var(--line), 0 20px 40px -30px rgba(40, 20, 10, .4); padding: 12px; display: grid; grid-template-columns: auto minmax(160px, 1.3fr) repeat(5, minmax(110px, 1fr)); gap: 10px; align-items: end; }
.filters .field input, .filters .field select { min-height: 44px; font-size: 15px; }
.filters .seg { align-self: end; }
.filters .seg span { padding: 9px 14px; font-size: 14px; }
.cat-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px var(--gut) 14px; }
.cat-count { margin: 0; font-size: 17px; color: var(--ink-2); }
.cat-count b { font-family: var(--display); font-size: 30px; font-weight: 400; color: var(--ink); margin-right: 4px; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); padding: 0 var(--gut); }
.card { position: relative; background: var(--card); border-radius: var(--r); box-shadow: 0 0 0 1px var(--line); transition: box-shadow .4s var(--ease); transform-style: preserve-3d; }
.card[hidden] { display: none; }
.card:hover { box-shadow: 0 0 0 1px var(--line), 0 30px 50px -30px rgba(40, 20, 10, .5); }
.card-link { display: block; text-decoration: none; color: inherit; border-radius: inherit; }
.card-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--r) var(--r) 0 0; background: var(--paper-2); }
.card-media .shot { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .35s, transform .9s var(--ease); }
.card-media .shot.is-on { opacity: 1; }
.card:hover .card-media .shot { transform: scale(1.04); }
.card-op { position: absolute; left: 12px; top: 12px; background: var(--card); padding: 5px 12px; border-radius: 999px; font-size: 13px; font-weight: 700; }
.card-op--venta { background: var(--ink); color: #fff; }
.card-op--ambos { background: var(--red); color: #fff; }
.card-count { position: absolute; right: 12px; top: 12px; display: inline-flex; align-items: center; gap: 5px; background: rgba(27, 19, 17, .65); color: #fff; padding: 4px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 600; }
.card-count svg { width: 15px; height: 15px; }
.card-dots { position: absolute; left: 0; right: 0; bottom: 10px; display: flex; justify-content: center; gap: 5px; opacity: 0; transition: opacity .3s; }
.card-dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, .55); transition: background .2s, transform .2s; }
.card-dots i.is-on { background: #fff; transform: scale(1.3); }
.card:hover .card-dots { opacity: 1; }
.card-body { padding: 18px 20px 20px; }
.card-price { font-family: var(--display); font-size: 30px; line-height: 1; margin: 0 0 10px; letter-spacing: -.01em; }
.card-price small { font-family: var(--sans); font-size: 13px; color: var(--muted); letter-spacing: 0; }
.card-title { font-size: 18px; font-weight: 650; line-height: 1.25; margin-bottom: 2px; font-family: var(--sans); }
.card-title span { font-weight: 450; }
.card-place { color: var(--muted); font-size: 15px; margin: 0 0 14px; }
.card-meta { list-style: none; padding: 14px 0 0; margin: 0; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 14.5px; font-weight: 550; color: var(--ink-2); }
.card-meta li { display: inline-flex; align-items: center; gap: 6px; }
.card-meta svg { width: 18px; height: 18px; color: var(--red); }
.card-wa { display: block; margin: 0 20px 18px; color: var(--wa); font-weight: 650; }
.js .nojs-only { display: none; }
.empty { text-align: center; padding: 50px var(--gut); }
.empty-t { font-family: var(--display); font-size: 30px; margin-bottom: 8px; }
.more { text-align: center; padding-top: 34px; }
.js .card.is-out { display: none; }

/* Zonas */
.zones { background: var(--night); color: var(--cream); overflow: hidden; }
.zones-pin { min-height: 100svh; display: grid; grid-template-columns: minmax(280px, 30%) 1fr; align-items: center; gap: 40px; padding: 90px 0 90px var(--gut); }
.zones-head p:last-child { color: rgba(247, 239, 228, .75); max-width: 24em; }
.zones-head em { color: #ff8a80; }
.zones-track { display: flex; gap: 22px; padding-right: var(--gut); will-change: transform; }
.zone { position: relative; flex: none; height: min(74svh, 680px); aspect-ratio: 4 / 5; border-radius: 26px; overflow: hidden; background: var(--night-2); }
.zone img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 1.2s var(--ease); }
.zone:hover img { transform: scale(1.14); }
.zone::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(27, 19, 17, .05) 30%, rgba(27, 19, 17, .88)); }
.zone-in { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 28px; }
.zone-n { font-family: var(--display); font-size: 20px; color: #ff8a80; }
.zone h3 { font-family: var(--display); font-size: clamp(30px, 3vw, 44px); line-height: 1; margin: 8px 0 12px; }
.zone p { color: rgba(247, 239, 228, .82); font-size: 16px; }
.zone-go { display: inline-flex; align-items: center; gap: 10px; border: 0; background: var(--cream); color: var(--ink); border-radius: 999px; padding: 12px 18px; font-weight: 650; cursor: pointer; transition: background .3s, color .3s, gap .3s; }
.zone-go svg { width: 18px; height: 18px; }
.zone-go:hover { background: var(--red); color: #fff; gap: 14px; }

/* Propietarios */
.owners { background: var(--night-2); color: var(--cream); padding: clamp(90px, 11vw, 150px) var(--gut) 0; position: relative; overflow: hidden; }
.owners-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); max-width: 1320px; margin: 0 auto; }
.owners-lead { position: sticky; top: calc(var(--head) + 40px); align-self: start; }
.owners-lead p { color: rgba(247, 239, 228, .78); font-size: 18px; max-width: 30em; margin-bottom: 28px; }
.owners h2 em { color: #ff8a80; }
.steps { list-style: none; margin: 0; padding: 0 0 0 34px; position: relative; }
.steps::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: rgba(247, 239, 228, .14); }
.steps::after { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: var(--red); transform-origin: 50% 0; transform: scaleY(var(--fill, 1)); }
.step { position: relative; padding: 0 0 54px; }
.step::before { content: ""; position: absolute; left: -34px; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: var(--night-2); box-shadow: inset 0 0 0 2px var(--red); transition: background .4s, transform .4s; z-index: 1; }
.step.is-on::before { background: var(--red); transform: scale(1.15); }
.step-n { font-family: var(--display); color: #ff8a80; font-size: 18px; }
.step h3 { font-family: var(--display); font-size: clamp(26px, 2.4vw, 36px); line-height: 1.05; margin: 4px 0 10px; }
.step p { color: rgba(247, 239, 228, .74); margin: 0; max-width: 30em; }
.motion .step { opacity: .35; transition: opacity .5s; }
.motion .step.is-on { opacity: 1; }
.owners-req { max-width: 1320px; margin: 40px auto 0; border-top: 1px solid rgba(247, 239, 228, .14); padding: 36px 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 32px; }
.owners-req h3 { font-family: var(--display); font-size: 28px; line-height: 1.1; }
.owners-req ul { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 28px; }
.owners-req li { padding-left: 26px; position: relative; color: rgba(247, 239, 228, .85); }
.owners-req li::before { content: ""; position: absolute; left: 0; top: .5em; width: 12px; height: 7px; border-left: 2px solid #ff8a80; border-bottom: 2px solid #ff8a80; transform: rotate(-45deg); }
.marquee { margin: 0 calc(var(--gut) * -1); border-top: 1px solid rgba(247, 239, 228, .14); overflow: hidden; padding: 22px 0; }
.marquee-run { display: flex; gap: 48px; width: max-content; animation: marquee 32s linear infinite; }
.marquee span { font-family: var(--display); font-size: clamp(26px, 3vw, 40px); white-space: nowrap; color: rgba(247, 239, 228, .9); display: inline-flex; align-items: center; gap: 48px; }
.marquee span::after { content: ""; width: 14px; height: 14px; background: var(--red); clip-path: polygon(50% 0, 100% 45%, 100% 100%, 0 100%, 0 45%); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Servicios */
.services { padding: clamp(90px, 11vw, 150px) 0; }
.serv-list { max-width: 1160px; margin: 0 auto; padding: 0 var(--gut); }
.serv { border-top: 1px solid var(--line); }
.serv:last-child { border-bottom: 1px solid var(--line); }
.serv summary { list-style: none; display: grid; grid-template-columns: 70px minmax(0, 1fr) minmax(0, 1fr) 40px; align-items: center; gap: 16px; padding: 26px 0; cursor: pointer; position: relative; }
.serv summary::-webkit-details-marker { display: none; }
.serv summary::before { content: ""; position: absolute; inset: 0 -16px; background: var(--paper-2); border-radius: 16px; transform: scaleY(0); transform-origin: 50% 100%; transition: transform .45s var(--ease); z-index: -1; }
.serv summary:hover::before { transform: none; }
.serv-n { font-family: var(--display); color: var(--red); font-size: 20px; }
.serv-t { font-family: var(--display); font-size: clamp(28px, 3.4vw, 48px); line-height: 1; transition: transform .45s var(--ease); }
.serv summary:hover .serv-t { transform: translateX(10px); }
.serv-s { color: var(--muted); font-weight: 550; }
.serv-plus { width: 40px; height: 40px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--ink); position: relative; transition: background .3s, transform .45s var(--ease); }
.serv-plus::before, .serv-plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); }
.serv-plus::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .45s var(--ease); }
.serv[open] .serv-plus { background: var(--ink); color: #fff; transform: rotate(180deg); }
.serv[open] .serv-plus::after { transform: translate(-50%, -50%) rotate(0); }
.serv-body { padding: 0 56px 34px 86px; max-width: 980px; }
.serv-body > p { font-size: 18px; color: var(--ink-2); }
.serv-note { font-size: 15.5px !important; color: var(--muted) !important; }
.ticks { list-style: none; padding: 0; margin: 0 0 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 28px; }
.ticks li { padding-left: 26px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .5em; width: 12px; height: 7px; border-left: 2px solid var(--red); border-bottom: 2px solid var(--red); transform: rotate(-45deg); }
.chips { list-style: none; padding: 0; margin: 0 0 22px; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { background: var(--card); box-shadow: 0 0 0 1px var(--line); border-radius: 999px; padding: 7px 14px; font-size: 14.5px; font-weight: 550; }
.mini-steps { list-style: none; padding: 0; margin: 0 0 18px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; counter-reset: m; }
.mini-steps li { background: var(--card); box-shadow: 0 0 0 1px var(--line); border-radius: 16px; padding: 18px; font-size: 15px; color: var(--ink-2); counter-increment: m; }
.mini-steps b { display: block; font-family: var(--display); font-weight: 400; font-size: 22px; color: var(--ink); margin-bottom: 6px; }
.mini-steps b::before { content: counter(m, decimal-leading-zero) " "; color: var(--red); font-size: 16px; }

/* Historia */
.story { position: relative; background: var(--paper-2); padding: clamp(90px, 11vw, 150px) var(--gut); overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.story-year { font-family: var(--display); font-size: clamp(120px, 21vw, 340px); line-height: .8; letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 2px var(--red); text-align: center; }
.story-in { max-width: 560px; }
.story-in > p { font-size: 18px; color: var(--ink-2); }
.facts { display: grid; grid-template-columns: repeat(3, auto); gap: 18px 32px; margin: 30px 0 0; padding-top: 24px; border-top: 1px solid var(--line); }
.facts div { min-width: 0; }
.facts dt { font-size: 13px; color: var(--muted); font-weight: 600; margin-bottom: 4px; }
.facts dd { margin: 0; font-family: var(--display); font-size: 24px; line-height: 1.1; }

/* Zona clientes */
.clients { padding: clamp(90px, 10vw, 140px) 0; }
.client-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; padding: 0 var(--gut); max-width: 1400px; margin: 0 auto; }
.client { display: flex; flex-direction: column; background: var(--card); border-radius: 22px; box-shadow: 0 0 0 1px var(--line); padding: 26px; text-decoration: none; position: relative; overflow: hidden; transition: translate .45s var(--ease), box-shadow .45s var(--ease); }
.client::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--red); transform: scaleX(0); transform-origin: 0 50%; transition: transform .5s var(--ease); }
a.client:hover { translate: 0 -6px; box-shadow: 0 0 0 1px var(--line), 0 30px 50px -30px rgba(40, 20, 10, .45); }
a.client:hover::before { transform: none; }
.client-k { font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--red-deep); margin-bottom: 14px; }
.client h3 { font-family: var(--display); font-size: 27px; line-height: 1.05; margin-bottom: 10px; }
.client p { color: var(--muted); font-size: 15.5px; flex: 1; }
.client-go { display: inline-flex; align-items: center; gap: 8px; font-weight: 650; }
.client-go svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
a.client:hover .client-go svg { transform: translateX(5px); }
.client--forms ul { list-style: none; padding: 0; margin: 4px 0 0; display: grid; gap: 10px; }
.client--forms a { font-weight: 600; color: var(--red-deep); text-underline-offset: 3px; }

/* Contacto */
.contact { background: var(--night); color: var(--cream); padding: clamp(90px, 10vw, 140px) var(--gut); }
.contact-in { max-width: 1320px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 90px); align-items: start; }
.contact h2 em { color: #ff8a80; }
.cinfo { list-style: none; padding: 0; margin: 34px 0 0; display: grid; gap: 22px; }
.cinfo li { display: grid; grid-template-columns: 26px 1fr; gap: 14px; color: rgba(247, 239, 228, .85); }
.cinfo svg { width: 24px; height: 24px; color: #ff8a80; margin-top: 2px; }
.cinfo b { display: block; color: var(--cream); font-size: 14px; letter-spacing: .04em; margin-bottom: 2px; }
.cinfo a { color: var(--cream); text-underline-offset: 3px; }
.mails { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.mails a { text-decoration: none; border: 1px solid rgba(247, 239, 228, .25); border-radius: 999px; padding: 5px 12px; font-size: 14px; transition: background .25s, border-color .25s; }
.mails a:hover { background: var(--red); border-color: var(--red); }
.cform { background: var(--card); color: var(--ink); border-radius: 26px; padding: clamp(22px, 3vw, 34px); display: grid; gap: 14px; }
.cform-t { font-family: var(--display); font-size: 28px; line-height: 1.1; margin: 0 0 4px; }
.cform .btn { width: 100%; min-height: 56px; }
.cform-note { font-size: 13.5px; color: var(--muted); margin: 0; text-align: center; }

/* Pie */
.foot { background: var(--night); color: rgba(247, 239, 228, .75); padding: 0 var(--gut) 28px; border-top: 1px solid rgba(247, 239, 228, .1); overflow: hidden; }
.foot-in { display: flex; flex-wrap: wrap; gap: 28px 48px; justify-content: space-between; align-items: center; padding: 40px 0 10px; }
.foot-brand { display: flex; align-items: center; gap: 14px; }
.foot-brand img { width: 48px; }
.foot-brand p { margin: 0; color: var(--cream); font-family: var(--display); font-size: 20px; line-height: 1.15; }
.foot-brand span { font-family: var(--sans); font-size: 14px; color: rgba(247, 239, 228, .6); }
.foot-nav, .foot-social { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot a { text-decoration: none; }
.foot a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.foot-word { font-family: var(--display); font-size: clamp(64px, 15.5vw, 260px); line-height: .9; letter-spacing: -.04em; color: rgba(247, 239, 228, .07); white-space: nowrap; margin: 20px 0 0; text-align: center; }
.foot-legal { font-size: 13px; text-align: center; margin: 0; color: rgba(247, 239, 228, .5); }

/* WhatsApp flotante */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 60px; height: 60px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 16px 34px -12px rgba(0, 0, 0, .5); transition: scale .35s var(--ease); }
.wa-float svg { width: 30px; height: 30px; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 0 rgba(31, 157, 85, .5); animation: pulse-wa 2.6s infinite; }
@keyframes pulse-wa { 70% { box-shadow: 0 0 0 16px rgba(31, 157, 85, 0); } 100% { box-shadow: 0 0 0 0 rgba(31, 157, 85, 0); } }
.wa-float:hover { scale: 1.08; }

/* Ficha */
.ficha { padding: 0; border: 0; background: transparent; width: min(1180px, calc(100vw - 32px)); max-width: none; height: min(820px, calc(100svh - 40px)); max-height: none; overflow: visible; color: var(--ink); }
.ficha::backdrop { background: rgba(20, 13, 11, .72); backdrop-filter: blur(6px); }
.ficha-box { position: relative; height: 100%; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) auto; background: var(--card); border-radius: 26px; overflow: hidden; box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .6); }
.ficha-x { position: absolute; right: 14px; top: 14px; z-index: 5; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--card); box-shadow: 0 6px 20px -8px rgba(0, 0, 0, .4); display: grid; place-items: center; cursor: pointer; transition: transform .3s var(--ease); }
.ficha-x:hover { transform: rotate(90deg); }
.ficha-x svg { width: 22px; height: 22px; }
.gallery { grid-row: 1 / 3; display: grid; grid-template-rows: minmax(0, 1fr) auto; background: var(--night); min-height: 0; }
.g-main { position: relative; min-height: 0; overflow: hidden; }
.g-main img { width: 100%; height: 100%; object-fit: cover; }
.g-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255, 253, 249, .92); display: grid; place-items: center; cursor: pointer; transition: transform .3s var(--ease); }
.g-nav svg { width: 22px; height: 22px; }
.g-prev { left: 14px; }
.g-prev svg { transform: rotate(180deg); }
.g-next { right: 14px; }
.g-nav:hover { transform: translateY(-50%) scale(1.08); }
.g-count { position: absolute; left: 14px; bottom: 14px; background: rgba(27, 19, 17, .7); color: #fff; font-size: 13px; font-weight: 600; padding: 5px 12px; border-radius: 999px; }
.g-thumbs { display: flex; gap: 8px; padding: 10px; overflow-x: auto; overscroll-behavior: contain; scrollbar-width: thin; }
.g-thumbs button { flex: none; width: 82px; height: 60px; border-radius: 10px; overflow: hidden; border: 0; padding: 0; cursor: pointer; opacity: .55; transition: opacity .25s, box-shadow .25s; }
.g-thumbs button.is-on { opacity: 1; box-shadow: 0 0 0 2px var(--red); }
.g-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.ficha-body { overflow-y: auto; overscroll-behavior: contain; padding: 30px 30px 20px; min-height: 0; -webkit-overflow-scrolling: touch; }
.ficha-op { display: inline-block; background: var(--paper-2); border-radius: 999px; padding: 4px 12px; font-size: 13px; font-weight: 700; margin-bottom: 14px; }
.ficha-title { font-family: var(--display); font-size: clamp(28px, 2.6vw, 38px); line-height: 1.05; margin-bottom: 6px; padding-right: 40px; }
.ficha-place { color: var(--muted); margin-bottom: 14px; }
.ficha-price { font-family: var(--display); font-size: 36px; line-height: 1; color: var(--red-deep); }
.ficha-price small { display: block; font-family: var(--sans); font-size: 14px; color: var(--muted); margin-top: 6px; }
.ficha-meta { list-style: none; padding: 16px 0; margin: 0 0 18px; display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 10px; border-block: 1px solid var(--line); }
.ficha-meta li { display: grid; gap: 2px; font-size: 13px; color: var(--muted); font-weight: 600; }
.ficha-meta b { font-size: 18px; color: var(--ink); }
.ficha-desc p { color: var(--ink-2); font-size: 16px; }
.ficha-body h3 { font-family: var(--display); font-size: 22px; margin: 10px 0 12px; }
.ficha-note { font-size: 13px; color: var(--muted); margin-top: 16px; }
.ficha-actions { display: flex; gap: 10px; padding: 14px 30px 18px; border-top: 1px solid var(--line); background: var(--card); }
.ficha-actions .btn--wa { flex: 1; }
.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 30px); z-index: 300; background: var(--ink); color: #fff; padding: 12px 20px; border-radius: 999px; font-weight: 600; opacity: 0; pointer-events: none; transition: opacity .3s, transform .3s var(--ease); margin: 0; }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* Movimiento: estados iniciales solo cuando hay animación */
.motion .hero-title .ln { overflow: hidden; }
.motion .house-roof path { stroke-dasharray: 1; stroke-dashoffset: 1; }

/* Responsive */
@media (max-width: 1180px) {
  .nav { display: none; }
  .menu { display: block; }
  .filters { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .filters .seg { grid-column: 1 / 3; }
  .filters .field--q { grid-column: 3 / 5; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .client-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: calc(var(--head) + 8px); gap: 18px; }
  .hero-stage { order: -1; height: auto; }
  .house { width: min(78vw, 44svh, 420px); }
  .hero-hint { display: none; }
  .filters { position: relative; top: 0; }
  .zones-pin { grid-template-columns: 1fr; padding: 80px 0; gap: 26px; }
  .zones-head { padding: 0 var(--gut); }
  .zones-track { overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 var(--gut) 10px; scrollbar-width: none; }
  .zones-track::-webkit-scrollbar { display: none; }
  .zone { height: auto; width: min(78vw, 420px); scroll-snap-align: center; }
  .owners-grid { grid-template-columns: 1fr; }
  .owners-lead { position: static; }
  .owners-req { grid-template-columns: 1fr; }
  .story { grid-template-columns: 1fr; }
  .story-year { text-align: left; }
  .contact-in { grid-template-columns: 1fr; }
  .serv summary { grid-template-columns: 44px minmax(0, 1fr) 40px; }
  .serv-s { grid-column: 2; grid-row: 2; font-size: 14.5px; }
  .serv-plus { grid-column: 3; grid-row: 1 / 3; }
  .serv-body { padding: 0 0 30px 60px; }
  .ficha { width: 100vw; height: 100svh; max-height: 100svh; margin: 0; }
  .ficha-box { grid-template-columns: 1fr; grid-template-rows: auto minmax(0, 1fr) auto; border-radius: 0; }
  .gallery { grid-row: auto; }
  .g-main { aspect-ratio: 4 / 3; max-height: 40svh; width: 100%; }
  .g-thumbs { padding: 8px; }
  .g-thumbs button { width: 64px; height: 48px; }
  .ficha-body { padding: 22px 20px 16px; }
  .ficha-actions { padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .top { gap: 10px; }
  .brand-name { font-size: 19px; }
  .brand-name small { display: none; }
  .brand img { width: 38px; }
  .top-wa span { display: none; }
  .top-wa { width: 46px; padding: 0; }
  .hero-title { font-size: clamp(44px, 13vw, 64px); }
  .finder-row { grid-template-columns: 1fr 1fr; }
  .finder-row .btn { grid-column: 1 / -1; }
  .seg span { padding: 9px 14px; }
  .house-tag { font-size: 13px; }
  .filters { position: relative; top: 0; grid-template-columns: 1fr 1fr; }
  .filters .seg, .filters .field--q { grid-column: 1 / -1; }
  .filters .seg { justify-self: start; }
  .grid { grid-template-columns: 1fr; }
  .client-grid { grid-template-columns: 1fr; }
  .owners-req ul, .ticks { grid-template-columns: 1fr; }
  .mini-steps { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr 1fr; }
  .serv-body { padding-left: 0; }
  .wa-float { width: 54px; height: 54px; right: 14px; bottom: 14px; }
  .ficha-actions .btn--ghost span { display: none; }
  .ficha-actions .btn--ghost { width: 52px; padding: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .marquee-run { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .marquee span[aria-hidden] { display: none; }
}
