/* Home View 3D · web comercial
   Sistema: Gloock (títulos) + Hanken Grotesk (texto). Cielo claro, tinta azul noche, un acento azul mediterráneo.
   Radios: paneles grandes var(--r-panel), imágenes var(--r-media), botones en píldora. */

@font-face { font-family: 'Hanken Grotesk'; src: url('/assets/home/fonts/hanken-grotesk.1f21c6ea.woff2') format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Gloock'; src: url('/assets/home/fonts/gloock.b862aac1.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }

:root {
  --bg: #d3e1ee;
  --paper: #ffffff;
  --mist: #eef3f8;
  --ink: #0e1b2b;
  --ink-2: #3d5064;
  --ink-3: #5d6f82;
  --line: rgba(14, 27, 43, .12);
  --accent: #1f5f9e;
  --night: #0b1520;
  --pad: clamp(8px, 1.3vw, 18px);
  --gutter: clamp(20px, 5vw, 80px);
  --r-panel: clamp(22px, 2.6vw, 36px);
  --r-media: clamp(14px, 1.6vw, 22px);
  --serif: 'Gloock', 'Iowan Old Style', Georgia, serif;
  --sans: 'Hanken Grotesk', 'Helvetica Neue', Arial, sans-serif;
  --ease: cubic-bezier(.22, .8, .2, 1);
  --ease-io: cubic-bezier(.7, 0, .2, 1);
  --stage-h: calc(100vh - 2 * var(--pad));
  --wrap: 1240px;
  color-scheme: light;
}
@supports (height: 100svh) { :root { --stage-h: calc(100svh - 2 * var(--pad)); } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.6 var(--sans); overflow-x: clip; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.on-dark :focus-visible, .hero :focus-visible, .cta :focus-visible, .venta :focus-visible { outline-color: #ffffff; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 50; padding: 10px 16px; border-radius: 999px; background: var(--ink); color: #fff; text-decoration: none; transition: top .3s var(--ease); }
.skip:focus { top: 12px; }

/* ---------- Tipografía ---------- */
.serif { font-family: var(--serif); font-weight: 400; }
h1, h2, h3 { font-family: var(--sans); font-weight: 600; margin: 0; letter-spacing: -0.03em; text-wrap: balance; }
h2 { font-size: clamp(36px, 4.6vw, 70px); line-height: 1.02; }
h3 { font-size: clamp(24px, 2vw, 30px); line-height: 1.1; }
.lead { margin: 0; max-width: 46ch; color: var(--ink-2); font-size: clamp(17px, 1.3vw, 20px); line-height: 1.55; text-wrap: pretty; }
.note { margin: 0; color: var(--ink-3); font-size: 13.5px; }
em.it { font-style: italic; }

/* ---------- Botones ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 50px; padding: 0 22px; border: 1px solid transparent; border-radius: 999px; font: 500 15.5px/1 var(--sans); text-decoration: none; white-space: nowrap; cursor: pointer; transition: transform .45s var(--ease), background-color .3s, color .3s, border-color .3s; }
.btn:active { transform: scale(.98); }
.btn-dark { background: var(--ink); color: #fff; padding-right: 7px; }
.btn-dark:hover { background: #1b2f47; }
.btn-light { background: #fff; color: var(--ink); padding-right: 7px; }
.btn-light:hover { background: var(--mist); }
.btn-line { border-color: currentColor; background: transparent; }
.btn-line:hover { background: rgba(255, 255, 255, .14); }
.btn-ic { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; transition: transform .45s var(--ease); }
.btn-dark .btn-ic { background: rgba(255, 255, 255, .14); }
.btn-light .btn-ic { background: var(--mist); }
.btn:hover .btn-ic { transform: translate(2px, -1px) scale(1.05); }
.link { color: var(--ink); font-weight: 500; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 3px; }

/* ---------- Navegación flotante ---------- */
.nav { position: fixed; z-index: 40; top: calc(var(--pad) + 10px); left: 50%; transform: translateX(-50%); width: min(1180px, calc(100% - 2 * var(--pad) - 20px)); height: 60px; display: flex; align-items: center; gap: 20px; padding: 0 8px 0 22px; border-radius: 999px; background: rgba(255, 255, 255, .74); -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4); box-shadow: 0 10px 30px rgba(14, 27, 43, .1), inset 0 0 0 1px rgba(255, 255, 255, .7); }
.nav .logo { display: block; line-height: 0; flex: none; }
.nav .logo svg { height: 24px; width: auto; }
.lg-ink { fill: var(--ink); }
.lg-acc { fill: var(--accent); }
.nav > nav { margin: 0 auto; }
.nav-links { display: flex; gap: 28px; margin: 0; padding: 0; list-style: none; }
.nav-links a { color: var(--ink); font-size: 14.5px; text-decoration: none; opacity: .78; transition: opacity .25s; }
.nav-links a:hover { opacity: 1; }
.nav .btn { min-height: 44px; font-size: 14.5px; padding-left: 18px; }
.nav .btn .btn-ic { width: 30px; height: 30px; }
.burger { display: none; width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; position: relative; cursor: pointer; }
.burger span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--ink); transition: transform .45s var(--ease), opacity .3s; }
.burger span:nth-child(1) { top: 17px; }
.burger span:nth-child(2) { top: 26px; }
.menu-open .burger span:nth-child(1) { transform: translateY(4.5px) rotate(45deg); }
.menu-open .burger span:nth-child(2) { transform: translateY(-4.5px) rotate(-45deg); }
.menu { position: fixed; z-index: 39; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 100px var(--gutter) 40px; background: rgba(238, 243, 248, .92); -webkit-backdrop-filter: blur(22px); backdrop-filter: blur(22px); opacity: 0; visibility: hidden; transition: opacity .45s var(--ease), visibility 0s .45s; }
.menu a { font: 600 38px/1.2 var(--sans); color: var(--ink); text-decoration: none; transform: translateY(24px); opacity: 0; transition: transform .6s var(--ease), opacity .6s var(--ease); }
.menu-open .menu { opacity: 1; visibility: visible; transition: opacity .45s var(--ease); }
.menu-open .menu a { transform: none; opacity: 1; }
.menu-open .menu a:nth-child(2) { transition-delay: .05s; }
.menu-open .menu a:nth-child(3) { transition-delay: .1s; }
.menu-open .menu a:nth-child(4) { transition-delay: .15s; }
.menu-open .menu a:nth-child(5) { transition-delay: .2s; }

/* ---------- Portada: del cielo a la casa ---------- */
.hero { position: relative; padding: var(--pad) var(--pad) 0; }
.hero-track { position: relative; }
.motion .hero-track { height: calc(var(--stage-h) * 2 + 130vh); }
@supports (height: 100svh) { .motion .hero-track { height: calc(var(--stage-h) * 2 + 130svh); } }
.hero-stage { position: relative; height: var(--stage-h); min-height: 560px; overflow: hidden; isolation: isolate; border-radius: var(--r-panel); background: #2f74b6; }
.motion .hero-stage { position: sticky; top: var(--pad); --hpe: 0; --hy0: 120vh; }
.cam { position: absolute; left: var(--hx, 0px); top: 0; width: var(--hw, 100%); aspect-ratio: 2400 / 1600; transform: translate3d(0, calc(var(--hy1, 0px) + (var(--hy0, 0px) - var(--hy1, 0px)) * (1 - var(--hpe, 1))), 0) scale(calc(1 + .06 * (1 - var(--hpe, 1)))); transform-origin: 50% 35%; will-change: transform; }
.cam img { width: 100%; height: 100%; }
.cam-back { z-index: 1; }
.cam-back picture img { position: relative; -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 6%); mask-image: linear-gradient(to bottom, transparent 0%, #000 6%); }
.cam-front { z-index: 4; pointer-events: none; }
.cam-front img { position: absolute; left: 0; top: 23.75%; width: 100%; height: auto; }
.sky { position: absolute; left: -30%; right: -30%; bottom: 95%; height: 2400px; background: linear-gradient(to top, #4187c6 0px, #3678b9 420px, #2b68a7 950px, #20568f 1700px, #1a4a7e 2400px); }
.shade { position: absolute; inset: 0; z-index: 2; pointer-events: none; background: radial-gradient(120% 95% at 0% 0%, rgba(10, 32, 62, .44), rgba(10, 32, 62, .12) 55%, rgba(10, 32, 62, 0) 80%); }
.hero-dim { position: absolute; inset: 0; z-index: 6; pointer-events: none; background: #0b1520; opacity: calc(var(--hq, 0) * .55); }
.hero-copy { position: absolute; z-index: 3; left: var(--gutter); right: var(--gutter); top: clamp(104px, 14vh, 150px); color: #fff; transform: translate3d(0, calc((1 - var(--hpe, 1)) * 36px), 0); }
.hero-kicker { margin: 0 0 clamp(8px, 1.2vh, 16px); font: 500 clamp(16px, 1.3vw, 19px)/1.3 var(--sans); text-shadow: 0 1px 18px rgba(8, 25, 50, .3); }
.hero h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(54px, 8.6vw, 140px); line-height: .9; letter-spacing: 0; text-transform: uppercase; text-shadow: 0 2px 34px rgba(8, 25, 50, .3); }
.hero h1 span { display: block; padding-bottom: .04em; }
.hero-side { position: absolute; z-index: 5; right: var(--gutter); top: clamp(150px, 22vh, 230px); width: min(380px, 32vw); padding: 22px 22px 22px 24px; border: 1px solid rgba(255, 255, 255, .5); border-radius: 26px 26px 26px 8px; background: rgba(255, 255, 255, .12); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25); }
.hero-side p { margin: 0 0 18px; font-size: 16.5px; line-height: 1.5; }
.hero-side .acts { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-side .btn { min-height: 46px; font-size: 15px; }
@media (max-width: 860px) {
  .hero-side { left: var(--pad); right: var(--pad); top: auto; bottom: var(--pad); width: auto; border-radius: 22px; background: rgba(255, 255, 255, .86); color: var(--ink); border-color: rgba(255, 255, 255, .9); }
  .hero-side .btn-line { color: var(--ink); }
}

/* ---------- Showroom: el panel oscuro que sube y se despliega ---------- */
.sr { position: relative; z-index: 2; padding: 0 var(--pad); }
.motion .sr { margin-top: calc(-1 * var(--stage-h)); }
.sr-track { position: relative; }
.motion .sr-track { height: calc(var(--stage-h) + 300vh); }
@supports (height: 100svh) { .motion .sr-track { height: calc(var(--stage-h) + 300svh); } }
.sr-stage { position: relative; min-height: var(--stage-h); overflow: hidden; border-radius: var(--r-panel); background: #c9dcec url('/assets/home/img/hero-desenfocada.4ed3f013.webp') center / cover no-repeat; color: var(--ink); display: flex; padding: clamp(10px, 1.6vw, 24px); }
.sr-stage::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(214, 228, 240, .3), rgba(214, 228, 240, .62)); }
.sr-glass { position: relative; flex: 1; display: grid; grid-template-columns: minmax(280px, .78fr) 1.62fr; align-items: center; gap: clamp(24px, 4vw, 72px); padding: clamp(86px, 12vh, 118px) clamp(18px, 4vw, 64px) clamp(26px, 5vh, 56px); border: 1px solid rgba(255, 255, 255, .72); border-radius: calc(var(--r-panel) - 8px); background: rgba(255, 255, 255, .46); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .85), 0 30px 80px rgba(14, 27, 43, .14); }
.motion .sr-stage { position: sticky; top: var(--pad); height: var(--stage-h); }
.motion .sr-glass { height: 100%; }
.sr-copy { position: relative; z-index: 2; opacity: calc(.2 + var(--su, 1) * .8); transform: translate3d(0, calc((1 - var(--su, 1)) * 40px), 0); }
.sr-copy h2 { font-size: clamp(40px, 4.6vw, 72px); }
.sr-copy .intro { margin: 16px 0 26px; max-width: 40ch; color: var(--ink-2); font-size: 16px; }
.steps { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.steps li { border-bottom: 1px solid var(--line); }
.steps button { display: block; width: 100%; padding: 14px 0; border: 0; background: none; text-align: left; cursor: pointer; color: rgba(14, 27, 43, .42); transition: color .4s var(--ease); }
.steps b { display: block; font: 600 clamp(22px, 1.9vw, 28px)/1.1 var(--sans); }
.steps span { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s var(--ease), opacity .4s; opacity: 0; font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.steps span > i { overflow: hidden; font-style: normal; }
.steps .on button { color: var(--ink); }
.steps .on span { grid-template-rows: 1fr; opacity: 1; }
.steps .on span > i { padding-top: 6px; }
.sr-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 26px; }
.sr-acts .note { color: var(--ink-3); }
.sr-device { position: relative; transform: translate3d(0, calc((1 - var(--su, 1)) * 14%), 0) scale(calc(.76 + var(--su, 1) * .24)); transform-origin: 50% 100%; will-change: transform; }
.sr-screen { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: clamp(12px, 1.4vw, 18px); background: #05090f; box-shadow: 0 40px 80px rgba(14, 27, 43, .22), 0 0 0 6px rgba(255, 255, 255, .85); }
.sr-screen img, .sr-phone img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.03); transition: opacity .7s var(--ease), transform 1.2s var(--ease); }
.sr-screen img.on, .sr-phone img.on { opacity: 1; transform: none; }
.sr-phone { position: absolute; right: -4%; bottom: -10%; width: 21%; aspect-ratio: 390 / 844; overflow: hidden; border-radius: 26px; border: 5px solid #1b232e; background: #05090f; box-shadow: 0 30px 60px rgba(0, 0, 0, .5); transition: opacity .5s var(--ease), transform .7s var(--ease); }
.sr-phone.off { opacity: 0; transform: translateY(16px); }
@media (max-width: 960px) {
  .sr-glass { grid-template-columns: 1fr; align-content: start; gap: 22px; padding-top: 84px; }
  .sr-copy .intro { display: none; }
  .sr-copy h2 { font-size: clamp(34px, 8.6vw, 52px); margin-bottom: 14px; }
  .steps button { padding: 11px 0; }
  .steps b { font-size: 22px; }
  .sr-device { order: -1; transform-origin: 50% 0%; margin-top: 8px; }
  .sr-phone { display: none; }
  .sr-acts { margin-top: 16px; }
}
@media (max-width: 960px) and (max-height: 700px) { .steps span { font-size: 14px; } .sr-copy h2 { display: none; } }

/* ---------- Secciones generales ---------- */
.panel { margin: clamp(14px, 2vw, 24px) var(--pad) 0; padding: clamp(56px, 8vw, 120px) var(--gutter); border-radius: var(--r-panel); background: var(--paper); }
.wrap { max-width: var(--wrap); margin: 0 auto; }
.open { padding: clamp(80px, 10vw, 150px) calc(var(--gutter) + var(--pad)); }
.head { display: flex; flex-direction: column; gap: 20px; max-width: 760px; margin-bottom: clamp(36px, 5vw, 64px); }

/* ---------- Qué incluye: lista + vista previa ---------- */
.inc { display: grid; grid-template-columns: minmax(300px, .9fr) 1.25fr; gap: clamp(28px, 4vw, 64px); align-items: start; }
.inc-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.inc-list li { border-bottom: 1px solid var(--line); border-radius: 0; transition: background-color .35s; }
.inc-list li:hover { background: #f5f8fb; }
.inc-list li.on { background: var(--mist); border-radius: 18px; border-bottom-color: transparent; }
.inc-list button { display: flex; align-items: center; gap: 16px; width: 100%; padding: 16px 14px; border: 0; background: none; text-align: left; cursor: pointer; }
.inc-ic { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: #e4edf6; color: var(--accent); transition: background-color .35s, color .35s; }
.on .inc-ic { background: var(--accent); color: #fff; }
.inc-list b { display: block; font: 600 clamp(23px, 1.9vw, 28px)/1.1 var(--sans); }
.inc-list small { display: block; margin-top: 3px; color: var(--ink-3); font-size: 14.5px; line-height: 1.35; }
.inc-view { position: sticky; top: 96px; margin: 0; }
.inc-fig { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--r-media); background: #dfe9f3; }
.shot { position: absolute; inset: 0; overflow: hidden; clip-path: inset(50% 0 50% 0); z-index: 1; transition: clip-path .9s var(--ease-io); }
.shot.on { clip-path: inset(0 0 0 0); z-index: 3; }
.shot.was { clip-path: inset(0 0 0 0); z-index: 2; }
.par { position: absolute; inset: 0; transform: translate3d(calc(var(--mx, 0) * -14px), calc(var(--my, 0) * -9px), 0) scale(1.07); transition: transform .45s ease-out; }
.shot img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; }
.shot.plano img { object-fit: contain; background: #fff; padding: 2%; }
.shot.pan img { width: 150%; max-width: none; }
.shot.on .mo, .shot.was .mo { animation: var(--mo) ease-in-out infinite alternate; }
@keyframes hvz1 { from { transform: scale(1) translate(0, 0); } to { transform: scale(1.14) translate(-2.5%, -2%); } }
@keyframes hvz2 { from { transform: scale(1.16) translate(2%, 1%); } to { transform: scale(1) translate(0, 0); } }
@keyframes hvz3 { from { transform: scale(1) translateX(-1.2%); } to { transform: scale(1.06) translateX(1.2%); } }
@keyframes hvz4 { from { transform: scale(1.02) translateX(2%); } to { transform: scale(1.14) translateX(-3%); } }
@keyframes hvpan { from { transform: translateX(0); } to { transform: translateX(-33.33%); } }
@property --dn { syntax: '<percentage>'; inherits: true; initial-value: 50%; }
@keyframes hvsweep { 0% { --dn: 96%; } 18% { --dn: 50%; } 58% { --dn: 18%; } 100% { --dn: 82%; } }
.dn { position: absolute; inset: 0; z-index: 5; opacity: 0; transition: opacity .6s var(--ease); pointer-events: none; --dn: 50%; }
.dn.on { opacity: 1; animation: hvsweep 9s ease-in-out infinite alternate; }
.dn img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; clip-path: inset(0 0 0 var(--dn)); }
.dn .cut { position: absolute; top: 0; bottom: 0; left: var(--dn); width: 2px; margin-left: -1px; background: #fff; }
.dn .knob { position: absolute; top: 50%; left: var(--dn); width: 44px; height: 44px; margin: -22px 0 0 -22px; display: grid; place-items: center; border-radius: 50%; background: #fff; color: var(--ink); box-shadow: 0 4px 14px rgba(0, 0, 0, .25); }
.badge360 { position: absolute; z-index: 6; right: 14px; top: 14px; display: grid; place-items: center; width: 58px; height: 58px; border: 1.5px solid #fff; border-radius: 50%; background: rgba(11, 21, 32, .55); color: #fff; font-size: 15px; font-weight: 500; opacity: 0; transition: opacity .5s; }
.badge360.on { opacity: 1; }
.ov { position: absolute; inset: 0; z-index: 3; pointer-events: none; transition: opacity .4s; }
.inc-fig.dnmode .ov { opacity: 0; }
.ov .ui.card.sm { left: 12px; right: auto; width: min(290px, 68%); }
.ov .ui.card.sm.right { left: auto; right: 12px; }
.par .ov { z-index: 1; }
.par .ov .ui.pin { width: 24px; height: 24px; margin: -12px 0 0 -12px; border-width: 2.5px; font-size: 11px; }
.par .ov .ui.pin.sel { width: 30px; height: 30px; margin: -15px 0 0 -15px; }
.ui.hot { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 999px; background: rgba(255, 255, 255, .94); box-shadow: 0 6px 18px rgba(14, 27, 43, .18); font-size: 11.5px; font-weight: 600; white-space: nowrap; transform: translate(-50%, -50%); color: var(--accent); }
.ui.drag { left: 50%; bottom: 14px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; background: rgba(255, 255, 255, .94); box-shadow: 0 6px 18px rgba(14, 27, 43, .16); font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.ui.compass { right: 12px; bottom: 12px; line-height: 0; filter: drop-shadow(0 6px 14px rgba(14, 27, 43, .2)); }
.ui.compass .cone { transform-origin: 27px 27px; }
.shot.pan.on .cone { animation: hvcone 22s ease-in-out infinite alternate; }
@keyframes hvcone { from { transform: rotate(-50deg); } to { transform: rotate(50deg); } }
.shot.ficha { background: #f3f7fb; }
.ficha-in { position: absolute; inset: 0; display: grid; grid-template-columns: 1.55fr 1fr; gap: 12px; padding: 12px; }
.ficha-plan { position: relative; overflow: hidden; border-radius: 14px; background: #fff; box-shadow: 0 8px 24px rgba(14, 27, 43, .08); }
.ficha-plan img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 46px 10px 10px; }
.ficha-card { margin: 0; display: grid; grid-template-columns: 1fr auto; align-content: start; gap: 9px 10px; padding: 16px; border-radius: 14px; background: #fff; box-shadow: 0 8px 24px rgba(14, 27, 43, .08); font-size: 13px; }
.ficha-card dt { color: var(--ink-3); }
.ficha-card dd { margin: 0; font-weight: 600; text-align: right; }
.ficha-card .fc-t { color: var(--ink); font-size: 18px; font-weight: 600; letter-spacing: -0.02em; }
.ficha-card .fc-p { align-self: center; color: var(--accent); font-size: 15px; font-weight: 700; }
.rooms-show img { opacity: 0; transition: opacity 1s var(--ease); }
.rooms-show img.on { opacity: 1; }
@media (max-width: 520px) { .ficha-card { font-size: 11.5px; gap: 6px 8px; padding: 12px; } .ficha-card .fc-t { font-size: 15px; } .ficha-plan img { padding-top: 40px; } .ov .ui.col .chip, .ui.hot { font-size: 10.5px; padding: 5px 8px; } }
.inc-cap { margin: 16px 2px 0; color: var(--ink-2); font-size: 16px; min-height: 3.2em; }
@media (max-width: 900px) {
  .inc { grid-template-columns: 1fr; }
  .inc-view { position: relative; top: 0; order: -1; }
  .inc-list button { padding: 13px 10px; }
}

/* ---------- Del plano a la casa ---------- */
.ba { --x: 50%; position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--r-media); background: #fff; box-shadow: 0 30px 70px rgba(14, 27, 43, .14); touch-action: pan-y; }
.ba > img, .ba-before img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba-before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--x)) 0 0); }
.ba-line { position: absolute; top: 0; bottom: 0; left: var(--x); width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 12px rgba(14, 27, 43, .3); pointer-events: none; }
.ba-knob { position: absolute; top: 50%; left: var(--x); width: 50px; height: 50px; margin: -25px 0 0 -25px; display: grid; place-items: center; border-radius: 50%; background: #fff; color: var(--ink); box-shadow: 0 6px 20px rgba(14, 27, 43, .28); pointer-events: none; }
.ba-lab { position: absolute; top: 14px; padding: 8px 13px; border-radius: 999px; background: rgba(255, 255, 255, .94); box-shadow: 0 6px 18px rgba(14, 27, 43, .12); font-size: 13px; font-weight: 600; pointer-events: none; }
.ba-lab.l { left: 14px; }
.ba-lab.r { right: 14px; background: var(--accent); color: #fff; }
.ba input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.ba input:focus-visible ~ .ba-knob, .ba:has(input:focus-visible) .ba-knob { outline: 2px solid var(--accent); outline-offset: 3px; }
.needs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin: clamp(40px, 5vw, 64px) 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.needs li { padding: 24px 24px 4px 0; }
.needs li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.needs b { display: block; margin-bottom: 6px; font: 600 26px/1.1 var(--sans); }
.needs p { margin: 0; color: var(--ink-2); font-size: 15.5px; }
@media (max-width: 900px) {
  .needs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .needs li:nth-child(3) { padding-left: 0; border-left: 0; }
  .needs li:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 520px) {
  .needs { grid-template-columns: 1fr; }
  .needs li, .needs li + li { padding: 20px 0 6px; border-left: 0; }
  .needs li + li { border-top: 1px solid var(--line); }
}

/* ---------- Todos mandan un PDF: dos móviles ---------- */
.vs { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: clamp(40px, 7vw, 110px); margin-top: clamp(20px, 3vw, 40px); }
.vs figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 24px; }
.vs figcaption { max-width: 340px; text-align: center; }
.vs figcaption b { display: block; font: 600 clamp(22px, 2vw, 28px)/1.2 var(--sans); }
.vs figcaption p { margin: 6px 0 0; color: var(--ink-2); font-size: 16px; }
.vs-old { opacity: .74; transform: scale(.92); }
.vs-old .chat { filter: saturate(.15); box-shadow: 0 20px 40px rgba(14, 27, 43, .12); }
.vs-old figcaption b { color: var(--ink-3); }
.vs-new { position: relative; padding: 34px clamp(20px, 3vw, 46px) 38px; border-radius: 44px; background: radial-gradient(90% 70% at 50% 40%, rgba(255, 255, 255, .96), rgba(255, 255, 255, .6)); box-shadow: 0 0 0 1px rgba(31, 95, 158, .18), 0 40px 90px rgba(31, 95, 158, .22); }
.vs-new figcaption b { color: var(--accent); font-size: clamp(26px, 2.4vw, 32px); }
.vs-tag { position: absolute; top: -18px; left: 50%; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 14px; font-weight: 600; white-space: nowrap; box-shadow: 0 10px 24px rgba(31, 95, 158, .35); }
.chat { width: min(320px, 82vw); height: 640px; display: flex; flex-direction: column; overflow: hidden; border: 11px solid #141a22; border-radius: 50px; background: #ece7df; font-size: 14px; line-height: 1.4; }
.chat-new { background: #e9f0f7; box-shadow: 0 0 0 2px var(--accent), 0 40px 80px rgba(14, 27, 43, .26); }
.chat-bar { display: flex; align-items: center; gap: 12px; padding: 40px 16px 12px; background: #f6f3ee; border-bottom: 1px solid rgba(0, 0, 0, .06); }
.chat-new .chat-bar { background: #fff; }
.chat-bar b { display: block; font-size: 15px; font-weight: 600; }
.chat-bar small { color: #7a8592; font-size: 12px; }
.chat-new .chat-bar small { color: var(--accent); }
.av { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: #c9ced6; color: #3a4350; font-size: 13px; font-weight: 600; }
.chat-new .av { background: var(--ink); color: #fff; }
.chat-msgs { display: flex; flex-direction: column; gap: 9px; padding: 14px 12px; }
.day { align-self: center; color: #8a95a2; font-size: 11.5px; }
.msg { max-width: 88%; padding: 9px 12px; border-radius: 18px; background: #fff; color: #1c2430; }
.msg.in { align-self: flex-start; border-bottom-left-radius: 6px; }
.msg.out { align-self: flex-end; border-bottom-right-radius: 6px; background: var(--accent); color: #fff; }
.msg.faint { color: #7a8592; }
.att { display: flex; align-items: center; gap: 10px; margin-top: 7px; padding: 9px; border-radius: 12px; background: #f2f2f2; }
.msg > .att:first-child { margin-top: 0; }
.att i { flex: none; display: grid; place-items: center; width: 34px; height: 42px; border-radius: 6px; background: #d2493f; color: #fff; font: 700 10px/1 var(--sans); font-style: normal; }
.att span { min-width: 0; }
.att b { display: block; overflow: hidden; font-size: 13px; font-weight: 600; white-space: nowrap; text-overflow: ellipsis; }
.att small { color: #7a8592; font-size: 12px; }
.msg.link { padding: 6px; }
.link-img { height: 250px; overflow: hidden; border-radius: 13px; }
.link-img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
.msg.link b { display: block; margin: 9px 6px 0; font-size: 14px; }
.msg.link small { display: block; margin: 0 6px; color: var(--ink-3); font-size: 12.5px; }
.link-btn { display: block; margin: 9px 2px 2px; padding: 10px; border-radius: 12px; background: var(--accent); color: #fff; text-align: center; font-weight: 500; }
@media (max-width: 760px) { .vs-old { transform: none; } .vs { flex-direction: column; } }
.why { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 80px); margin-top: clamp(64px, 8vw, 120px); padding-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--line); }
.why h3 { font-size: clamp(32px, 3.4vw, 50px); line-height: 1.02; }
.why ul { margin: 0; padding: 0; list-style: none; }
.why li { display: grid; grid-template-columns: 1fr 1.5fr; gap: 8px 28px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.why li:first-child { padding-top: 4px; }
.why b { font: 600 25px/1.15 var(--sans); }
.why p { margin: 0; color: var(--ink-2); }
@media (max-width: 860px) {
  .vs, .why { grid-template-columns: 1fr; }
  .why li { grid-template-columns: 1fr; }
}

/* ---------- Cómo se vende: banda con la agente ---------- */
.venta { position: relative; margin: clamp(14px, 2vw, 24px) var(--pad) 0; overflow: hidden; border-radius: var(--r-panel); background: #2a2520; color: #fff; min-height: min(86vh, 860px); display: flex; align-items: flex-end; }
.venta picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 88% 50%; }
.venta::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 14, 22, .78) 0%, rgba(8, 14, 22, .5) 34%, rgba(8, 14, 22, 0) 58%); }
.venta-copy { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr; gap: 22px; width: min(560px, 100%); padding: clamp(28px, 5vw, 72px) var(--gutter); }
.venta-copy h2 { font-size: clamp(34px, 3.8vw, 56px); }
.venta-copy ul { margin: 0; padding: 6px 22px; list-style: none; border: 1px solid rgba(255, 255, 255, .16); border-radius: 22px; background: rgba(8, 14, 22, .62); }
.venta-copy li { padding: 14px 0; }
.venta-copy li + li { border-top: 1px solid rgba(255, 255, 255, .18); }
.venta-copy li b { display: block; font: 600 24px/1.15 var(--sans); }
.venta-copy li span { color: rgba(255, 255, 255, .78); font-size: 15px; }
@media (max-width: 860px) {
  .venta { min-height: 0; flex-direction: column; align-items: stretch; background: var(--night); }
  .venta picture img { position: relative; inset: auto; aspect-ratio: 4 / 3; height: auto; }
  .venta::after { display: none; }
  .venta-copy { grid-template-columns: 1fr; padding-top: 28px; }
  .venta-copy ul { padding: 0; border: 0; background: none; }
}

/* ---------- Proyectos que se pueden hacer ---------- */
.gal-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(28px, 4vw, 48px); }
.gal-head .head { margin: 0; }
.gal-nav { display: flex; gap: 10px; }
.gal-nav button { display: grid; place-items: center; width: 50px; height: 50px; border: 1px solid var(--line); border-radius: 50%; background: #fff; cursor: pointer; transition: background-color .3s, transform .4s var(--ease); }
.gal-nav button:hover { background: var(--mist); }
.gal-nav button:active { transform: scale(.96); }
.gal { display: flex; gap: clamp(14px, 1.6vw, 22px); margin: 0 calc(-1 * var(--gutter)); padding: 4px var(--gutter) 10px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--gutter); scrollbar-width: none; overscroll-behavior-x: contain; }
.gal::-webkit-scrollbar { display: none; }
.gal figure { flex: 0 0 clamp(260px, 30vw, 400px); margin: 0; scroll-snap-align: start; }
.gal .m { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--r-media); background: #e9f0f6; box-shadow: 0 20px 50px rgba(14, 27, 43, .1); }
.gal img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.gal figure:hover img { transform: scale(1.03); }
.ui { position: absolute; z-index: 2; color: var(--ink); font-family: var(--sans); }
.ui i { display: block; width: 8px; height: 8px; border-radius: 50%; }
.chip { display: inline-flex; align-items: center; gap: 7px; padding: 7px 10px; border: 1px solid rgba(14, 27, 43, .08); border-radius: 11px; background: rgba(255, 255, 255, .93); box-shadow: 0 6px 18px rgba(14, 27, 43, .1); font-size: 12px; font-weight: 500; line-height: 1; white-space: nowrap; }
.chip.on { background: var(--accent); border-color: var(--accent); color: #fff; }
.ui.brand { left: 12px; top: 12px; padding: 9px 12px; border-radius: 12px; background: rgba(255, 255, 255, .93); box-shadow: 0 6px 18px rgba(14, 27, 43, .1); }
.ui.brand b { display: block; font: 600 15px/1.1 var(--sans); }
.ui.brand small { display: block; margin-top: 2px; color: var(--ink-3); font-size: 11.5px; }
.ui.col { right: 12px; top: 12px; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.ui.pin { display: grid; place-items: center; width: 30px; height: 30px; margin: -15px 0 0 -15px; border: 3px solid; border-radius: 50%; background: #fff; box-shadow: 0 4px 14px rgba(14, 27, 43, .25); font-size: 12.5px; font-weight: 700; }
.ui.pin.sel { width: 38px; height: 38px; margin: -19px 0 0 -19px; box-shadow: 0 0 0 6px rgba(31, 95, 158, .22), 0 4px 14px rgba(14, 27, 43, .25); }
.ui.card { left: 12px; right: 12px; bottom: 12px; display: flex; flex-direction: column; gap: 6px; padding: 12px 13px; border-radius: 16px; background: rgba(255, 255, 255, .96); box-shadow: 0 10px 30px rgba(14, 27, 43, .14); }
.ui .row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.ui.card b { font: 600 16px/1.1 var(--sans); }
.ui.card small { color: var(--ink-3); font-size: 12px; }
.ui .st { display: inline-flex; align-items: center; gap: 6px; padding: 4px 8px; border-radius: 999px; background: var(--mist); font-size: 11px; font-weight: 500; white-space: nowrap; }
.ui .price { font-size: 16px; font-weight: 700; }
.ui .act { padding: 7px 12px; border-radius: 10px; background: var(--accent); color: #fff; font-size: 12px; font-weight: 600; white-space: nowrap; }
.ui.rooms { left: 12px; right: 12px; bottom: 12px; display: flex; flex-wrap: wrap; gap: 6px; }
.ui.b360 { right: 12px; top: 12px; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: #fff; box-shadow: 0 6px 18px rgba(14, 27, 43, .14); color: var(--accent); font-size: 12px; font-weight: 700; }
.ui.dn2 { right: 12px; top: 12px; display: flex; gap: 4px; }
.gal figcaption { padding: 14px 2px 0; }
.gal figcaption b { display: block; font: 600 24px/1.15 var(--sans); }
.gal figcaption span { color: var(--ink-3); font-size: 14.5px; }
@media (max-width: 640px) { .gal figure { flex-basis: 78vw; } }

/* ---------- Preguntas ---------- */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 5vw, 80px); align-items: start; }
.faq .head { position: sticky; top: 110px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0; cursor: pointer; list-style: none; font: 600 clamp(22px, 1.8vw, 27px)/1.2 var(--sans); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { flex: none; transition: transform .45s var(--ease); }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq details p { margin: 0; padding: 0 40px 24px 0; max-width: 62ch; color: var(--ink-2); }
@media (max-width: 860px) { .faq { grid-template-columns: 1fr; } .faq .head { position: relative; top: 0; } }

/* ---------- Cierre: antes y después + formulario ---------- */
.cta { margin: clamp(14px, 2vw, 24px) var(--pad) 0; overflow: hidden; border-radius: var(--r-panel); background: var(--paper); }
.cta-ba { position: relative; height: clamp(300px, 38vw, 560px); overflow: hidden; background: #e9f0f6; }
.cta-ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta-before { position: absolute; inset: 0; clip-path: polygon(0 0, 58% 0, 42% 100%, 0 100%); transition: clip-path 1.4s var(--ease-io); }
.cta-seam { position: absolute; inset: 0; background: #fff; clip-path: polygon(57.8% 0, 58.2% 0, 42.2% 100%, 41.8% 100%); filter: drop-shadow(0 0 8px rgba(14, 27, 43, .3)); transition: clip-path 1.4s var(--ease-io); }
.motion .cta-ba:not(.in) .cta-before { clip-path: polygon(0 0, 96% 0, 80% 100%, 0 100%); }
.motion .cta-ba:not(.in) .cta-seam { clip-path: polygon(95.8% 0, 96.2% 0, 80.2% 100%, 79.8% 100%); }
.cta-tag { position: absolute; top: 18px; padding: 9px 14px; border-radius: 999px; background: rgba(255, 255, 255, .94); box-shadow: 0 6px 18px rgba(14, 27, 43, .12); font-size: 13.5px; font-weight: 600; }
.cta-tag.a { left: 18px; }
.cta-tag.d { right: 18px; background: var(--accent); color: #fff; }
.cta-in { position: relative; display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 4vw, 64px); align-items: start; margin: clamp(-120px, -8vw, -40px) clamp(10px, 2.4vw, 32px) clamp(10px, 2.4vw, 32px); padding: clamp(28px, 4vw, 56px); border-radius: calc(var(--r-panel) - 6px); background: #fff; box-shadow: 0 -20px 60px rgba(14, 27, 43, .12); }
.cta-copy h2 { font-size: clamp(34px, 4vw, 58px); }
.cta-copy p { margin: 18px 0 0; max-width: 42ch; color: var(--ink-2); font-size: clamp(16px, 1.2vw, 18px); }
.cta-copy .cta-alt { font-size: 15px; }
.cta-copy .cta-alt a { color: var(--accent); font-weight: 600; }
.form { display: flex; flex-direction: column; gap: 14px; }
.f2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.fld { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.fld label { color: var(--ink-2); font-size: 14px; font-weight: 500; }
.fld label span { color: var(--ink-3); font-weight: 400; }
.fld input, .fld select, .fld textarea { width: 100%; min-height: 50px; padding: 12px 15px; border: 1px solid rgba(14, 27, 43, .16); border-radius: 14px; background: #f7f9fc; color: var(--ink); font: 400 16px/1.35 var(--sans); transition: border-color .25s, background-color .25s, box-shadow .25s; }
.fld textarea { resize: vertical; }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: none; border-color: var(--accent); background: #fff; box-shadow: 0 0 0 4px rgba(31, 95, 158, .14); }
.fld input::placeholder { color: #7d8b99; }
.ok { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-2); font-size: 13.5px; line-height: 1.45; }
.ok input { flex: none; width: 18px; height: 18px; margin-top: 1px; accent-color: var(--accent); }
.ok a { color: var(--accent); }
.btn-wide { align-self: flex-start; min-height: 54px; font-size: 16px; }
.hp { position: absolute; left: -9999px; }
@media (max-width: 860px) {
  .cta-in { grid-template-columns: 1fr; margin-top: -30px; }
  .cta-ba { height: 62vw; }
  .cta-tag { top: 12px; font-size: 12px; padding: 7px 11px; }
  .cta-tag.a { left: 12px; } .cta-tag.d { right: 12px; }
}
@media (max-width: 520px) { .f2 { grid-template-columns: 1fr; } .btn-wide { align-self: stretch; } }

/* ---------- Pie ---------- */
.foot { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 28px 48px; padding: clamp(40px, 6vw, 72px) calc(var(--gutter) + var(--pad)) 40px; color: var(--ink-2); font-size: 14.5px; }
.foot .logo svg { height: 24px; width: auto; }
.foot ul { display: flex; flex-wrap: wrap; gap: 10px 26px; margin: 0; padding: 0; list-style: none; }
.foot a { color: var(--ink); text-decoration: none; }
.foot a:hover { text-decoration: underline; }
.foot .legal { flex: 1 1 100%; margin: 0; padding-top: 22px; border-top: 1px solid var(--line); color: var(--ink-3); font-size: 13px; }

/* ---------- Apariciones ---------- */
.motion [data-reveal] { opacity: 0; transform: translate3d(0, 28px, 0); transition: opacity .9s var(--ease), transform 1.1s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.motion [data-reveal].in { opacity: 1; transform: none; }
.motion .hero-copy .hero-kicker, .motion .hero h1 span, .motion .hero-side { animation: hvin 1.1s var(--ease) both; }
.motion .hero h1 span:nth-child(2) { animation-delay: .1s; }
.motion .hero-side { animation-delay: .35s; }
@keyframes hvin { from { opacity: 0; transform: translate3d(0, 30px, 0); } to { opacity: 1; transform: none; } }

@media (max-width: 980px) {
  .nav-links { display: none; }
  .burger { display: block; }
  .nav { padding-left: 18px; gap: 10px; }
  .nav .btn { margin-left: auto; }
}
@media (max-width: 520px) {
  .nav { padding: 0 4px 0 14px; gap: 6px; height: 56px; }
  .nav .logo svg { height: 19px; }
  .nav .btn { min-height: 42px; padding: 0 14px; font-size: 14px; }
  .nav .btn .btn-ic { display: none; }
}

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