/* Decory D&C Group — v4: dos líneas de negocio, negro + blanco + latón */
:root {
  --ink: #0a0a0a;
  --ink-2: #151412;
  --paper: #f4f1ec;
  --paper-2: #e8e3db;
  --brass: #b08d57;
  --brass-l: #cfae7c;
  --mute: #6b665f;
  --mute-l: #a39d94;
  --line: rgba(11, 11, 11, .14);
  --line-l: rgba(244, 241, 236, .16);
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'Hanken Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --nav: 72px;
  --brand: 52px;
  --gut: clamp(16px, 4vw, 56px);
  --ease: cubic-bezier(.22, .7, .15, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--nav); }
html:not(.lenis) { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
html[lang="en"] .es, html:not([lang="en"]) .en { display: none !important; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 500; }
p, ul, ol, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
em { font-style: italic; }
svg { flex: none; }
.wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 var(--gut); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ink); color: var(--paper); padding: 10px 16px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 14px 26px; border-radius: 999px; font: 600 15px/1 var(--sans); letter-spacing: .02em; text-decoration: none; border: 1px solid transparent; transition: background .3s, color .3s, border-color .3s, transform .3s var(--ease); }
.btn svg { width: 19px; height: 19px; }
.btn:hover { transform: translateY(-2px); }
.btn-light { background: var(--paper); color: var(--ink); }
.btn-light:hover { background: var(--brass-l); }
.btn-dark { background: var(--ink); color: var(--paper); }
.btn-dark:hover { background: var(--brass); color: var(--ink); }
.btn-line { border-color: var(--ink); color: var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--paper); }
.btn-line-l { border-color: var(--line-l); color: var(--paper); }
.btn-line-l:hover { border-color: var(--paper); }
.btn.wide { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: 10px; font: 600 14px/1 var(--sans); letter-spacing: .06em; text-transform: uppercase; text-decoration: none; padding: 10px 0; }
.link-arrow svg { width: 22px; height: 22px; transition: transform .35s var(--ease); }
.link-arrow:hover svg { transform: translateX(6px); }

/* ---------- nav: idioma | logo | WhatsApp ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--nav); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; padding: 0 var(--gut); color: var(--paper); background: rgba(10, 10, 10, 0); transition: background .4s; }
.nav.solid { background: rgba(10, 10, 10, .9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.brand { grid-column: 2; display: block; text-decoration: none; opacity: 0; pointer-events: none; }
html:not(.js) .brand, .docked .brand { opacity: 1; pointer-events: auto; }
.brand-logo { display: block; width: var(--brand); height: var(--brand); color: var(--paper); --lw: 9; }
.nav-links { grid-column: 1; display: flex; gap: clamp(20px, 2.4vw, 36px); }
.nav-links a { font: 500 13px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; position: relative; padding: 8px 0; color: rgba(244, 241, 236, .78); transition: color .3s; }
.nav-links a:hover { color: var(--paper); }
.nav-links a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-end { grid-column: 3; justify-self: end; display: flex; align-items: center; gap: 12px; }
.lang { display: flex; border: 1px solid var(--line-l); border-radius: 999px; padding: 3px; }
.lang button { background: none; border: 0; color: var(--mute-l); font: 600 11.5px/1 var(--sans); letter-spacing: .12em; padding: 8px 10px; border-radius: 999px; cursor: pointer; }
.lang button[aria-pressed="true"] { background: var(--paper); color: var(--ink); }
.nav-wa { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-l); color: var(--paper); text-decoration: none; font: 600 13.5px/1 var(--sans); transition: background .3s, color .3s; }
.nav-wa:hover { background: var(--paper); color: var(--ink); }
.nav-wa svg { width: 18px; height: 18px; }
.lg-line { fill: none; stroke: currentColor; stroke-width: var(--lw, 4); }

/* ---------- botones del inicio ---------- */
.btn-cream { background: var(--paper); color: var(--ink); }
.btn-cream:hover { background: #fff; }
.btn-ghost { border-color: rgba(244, 241, 236, .38); color: var(--paper); }
.btn-ghost:hover { border-color: var(--paper); background: rgba(244, 241, 236, .06); }

/* ---------- apertura v6 ---------- */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-stopped, html.intro-lock { overflow: hidden; }
.intro { position: relative; background: var(--ink); color: var(--paper); }
.intro-pin { position: relative; }
.hero-ui {
  position: relative; height: 100vh; height: 100svh; min-height: 560px;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 10px var(--gut) calc(18px + env(safe-area-inset-bottom));
}
.hl { position: relative; z-index: 4; flex: none; --hl: clamp(84px, min(31vw, 14.5svh), 136px); width: var(--hl); height: var(--hl); }
.hl-in { width: 100%; height: 100%; transform-origin: 50% 50%; }
.hl svg { display: block; width: 100%; height: 100%; overflow: visible; color: var(--paper); }
.frame { position: relative; flex: 1 1 auto; width: 100%; max-width: 520px; min-height: 180px; margin-top: clamp(10px, 2svh, 18px); }
.stage { position: absolute; inset: 0; z-index: 0; overflow: hidden; background: #161513; pointer-events: none; }
.st-media { position: absolute; inset: 0; overflow: hidden; }
.st-media video, .st-media img { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.st-1 video { object-position: 46% 60%; }
.st-2 { display: none; }
.st-2 img { object-position: 62% 50%; }
.st-2 img, .chap-img img { filter: saturate(.82) contrast(1.04); }
.st-shade { position: absolute; inset: 0; opacity: 0; background: linear-gradient(to top, rgba(10,10,10,.92) 0%, rgba(10,10,10,.7) 30%, rgba(10,10,10,.18) 58%, rgba(10,10,10,0) 75%); }
.st-grain { position: absolute; inset: -50%; opacity: .07; mix-blend-mode: overlay; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.hero-txt { position: relative; z-index: 2; flex: none; margin-top: clamp(16px, 2.6svh, 24px); }
.h-eyebrow { font: 600 10.5px/1 var(--sans); letter-spacing: .34em; text-transform: uppercase; color: rgba(244, 241, 236, .55); }
.hero-txt h1 { margin-top: 12px; font: 400 clamp(34px, 11.4vw, 52px)/1 var(--serif); letter-spacing: -.025em; }
.hero-txt h1 em, .chap-t em { font-style: italic; }
.ln { display: block; overflow: hidden; padding: 0 .06em .2em; margin: 0 -.06em -.2em; }
.ln > span { display: block; }
.hero-side { position: relative; z-index: 2; flex: none; width: 100%; max-width: 520px; }
.h-sub { margin: 10px auto 0; max-width: 32ch; font-size: 14.5px; line-height: 1.5; color: rgba(244, 241, 236, .66); }
.hero-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: clamp(14px, 2.2svh, 20px); }
.hero-cta .btn { min-height: 52px; padding: 0 10px; gap: 8px; font-size: 14.5px; white-space: nowrap; }

/* capítulos: sin JS (o con movimiento reducido) son bloques normales */
.chap { position: relative; z-index: 3; max-width: 1280px; margin: 0 auto; padding: clamp(56px, 9vw, 110px) var(--gut) 0; display: grid; gap: 28px; text-align: left; }
.c2 { padding-bottom: clamp(56px, 9vw, 110px); }
.chap-img { aspect-ratio: 4 / 3; overflow: hidden; border-radius: 2px; }
.chap-img img { width: 100%; height: 100%; object-fit: cover; }
.chap-k { display: flex; align-items: center; gap: 12px; font: 600 10.5px/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: rgba(244, 241, 236, .62); }
.chap-k b { font: italic 400 17px/1 var(--serif); letter-spacing: 0; color: var(--paper); }
.chap-k b::after { content: ''; display: inline-block; vertical-align: middle; width: 28px; height: 1px; margin-left: 12px; background: rgba(244, 241, 236, .4); }
.chap-t { margin-top: 16px; font: 400 clamp(30px, 8.4vw, 40px)/1.04 var(--serif); letter-spacing: -.015em; }
.chap-p { margin-top: 14px; max-width: 38ch; font-size: 15.5px; line-height: 1.55; color: rgba(244, 241, 236, .74); }
.chap-list li { padding: 13px 0; border-top: 1px solid var(--line-l); font: 400 18px/1.3 var(--serif); }
.chap-list li:last-child { border-bottom: 1px solid var(--line-l); }
.chap-b .btn { margin-top: 22px; }

/* con JS: todo vive dentro de una pantalla fija */
.fx .intro-pin { height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; }
.fx .frame { position: static; }
.fx .stage { top: var(--nav); right: 0; bottom: 0; left: 0; will-change: clip-path; }
.fx .st-2 { display: block; }
.fx .st-2 { clip-path: inset(100% 0% 0% 0%); }
.fx .chap .c-fade { opacity: 0; visibility: hidden; }
.fx .chap { position: absolute; left: var(--gut); right: var(--gut); bottom: calc(96px + env(safe-area-inset-bottom)); max-width: none; margin: 0; padding: 0; display: block; pointer-events: none; }
.fx .chap a { pointer-events: auto; }
.fx .chap-img, .fx .chap-b { display: none; }
html.js:not(.fx):not(.no-gsap) .hero-ui, html.js:not(.fx):not(.no-gsap) .nav-fade { visibility: hidden; }
.docked .hl { visibility: hidden; }
.fx:not(.docked) .nav.solid { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }

/* escritorio y zoom: tres columnas, la obra al centro */
@media (min-width: 900px) and (min-aspect-ratio: 1/1) {
  .intro-pin { --col: clamp(300px, 34vw, 600px); --colEnd: calc(var(--col) * 1.12); --cgap: clamp(28px, 3vw, 56px); }
  .hero-ui { display: grid; grid-template-columns: 1fr var(--col) 1fr; grid-template-rows: auto 1fr; column-gap: var(--cgap); align-items: end; text-align: left; padding: 14px var(--gut) clamp(28px, 5vh, 52px); }
  .hl { grid-column: 2; grid-row: 1; justify-self: center; --hl: clamp(100px, 17vh, 176px); }
  .frame { grid-column: 2; grid-row: 2; align-self: stretch; max-width: none; min-height: 0; margin-top: clamp(14px, 2.6vh, 30px); }
  .hero-txt { grid-column: 1; grid-row: 2; margin: 0; }
  .hero-txt h1 { margin-top: 18px; font-size: clamp(34px, 4.5vw, 86px); line-height: .98; }
  .hero-side { grid-column: 3; grid-row: 2; justify-self: end; max-width: 330px; }
  .h-sub { margin: 0; max-width: 30ch; font-size: clamp(14.5px, 1.1vw, 17px); }
  .hero-cta { grid-template-columns: 1fr; gap: 10px; margin-top: 22px; }
  .hero-cta .btn { justify-content: space-between; padding: 0 22px; }
  .hero-cta .btn svg { order: 2; }
  .chap { grid-template-columns: 1fr 1fr; align-items: end; column-gap: 64px; }
  .c2 .chap-img { grid-column: 1 / -1; aspect-ratio: 21 / 9; }
  .chap-t { font-size: clamp(26px, 2.45vw, 46px); }
  .fx .stage { left: calc(50% - var(--colEnd) / 2); right: auto; width: var(--colEnd); }
  .fx .st-shade { background: rgba(10, 10, 10, .14); }
  .fx .chap { top: var(--nav); bottom: clamp(28px, 5vh, 52px); display: grid; grid-template-columns: 1fr var(--colEnd) 1fr; column-gap: var(--cgap); align-items: end; }
  .fx .chap-a { grid-column: 1; }
  .fx .chap-b { grid-column: 3; display: block; justify-self: end; width: 100%; max-width: 300px; }
  .fx .chap-p { font-size: clamp(14px, 1.05vw, 16.5px); }
  .chap-list li { font-size: clamp(16px, 1.25vw, 20px); }
}
@media (min-width: 900px) and (min-aspect-ratio: 1/1) and (max-width: 1100px) {
  .hero-txt h1 { font-size: clamp(34px, 4.6vw, 52px); }
  .fx .chap-t { font-size: clamp(24px, 2.7vw, 30px); }
  .fx .chap-p { display: none; }
  .chap-k { letter-spacing: .2em; }
}
@media (max-height: 700px) and (max-width: 899px) {
  .h-eyebrow { display: none; }
  .hero-txt h1 { margin-top: 0; font-size: clamp(32px, 9.6vw, 40px); }
  .h-sub { font-size: 13.5px; }
}

/* ---------- one team ---------- */
.one { background: var(--ink); color: var(--paper); padding: clamp(72px, 10vw, 140px) 0; border-top: 1px solid var(--line-l); }
.one-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: end; }
.one-t { font: 400 clamp(30px, 3.6vw, 52px)/1.15 var(--serif); }
.one-t em { color: var(--brass-l); }
.stats { display: grid; gap: 0; }
.stats li { display: grid; grid-template-columns: 130px 1fr; align-items: baseline; gap: 16px; padding: 20px 0; border-top: 1px solid var(--line-l); color: var(--mute-l); }
.stats b { font: 400 48px/1 var(--serif); color: var(--paper); }

/* ---------- section shared ---------- */
.sec-head { padding-top: clamp(80px, 10vw, 150px); max-width: 860px; }
.eyebrow { display: flex; align-items: center; gap: 12px; font: 600 12px/1.4 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--mute); }
.eyebrow .num { font: 500 15px/1 var(--serif); letter-spacing: 0; color: var(--brass); }
.eyebrow svg { width: 20px; height: 20px; color: var(--brass); }
.sec-t { font: 400 clamp(38px, 5.2vw, 80px)/1.04 var(--serif); letter-spacing: -.015em; margin-top: 20px; }
.sec-t em { color: var(--brass); }
.sec-p { font-size: clamp(16px, 1.25vw, 19px); color: var(--mute); max-width: 56ch; margin-top: 22px; }
.sec-cta { display: flex; flex-wrap: wrap; gap: 14px; padding: clamp(48px, 6vw, 80px) 0 clamp(80px, 10vw, 140px); }

/* ---------- build (casa que se dibuja) ---------- */
.build { position: relative; display: grid; grid-template-columns: 1.15fr 1fr; max-width: 1280px; margin: clamp(40px, 6vw, 80px) auto 0; padding: 0 var(--gut); }
.build-art { position: sticky; top: var(--nav); height: calc(100vh - var(--nav)); display: flex; flex-direction: column; justify-content: center; gap: 24px; }
.house { width: 100%; max-height: 72vh; overflow: visible; }
.house .ln { fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.house .thick { stroke-width: 4; }
.house .thin { stroke-width: 1.4; }
.house .dash { stroke: var(--brass); stroke-width: 1.2; }
.house .glow { fill: var(--brass); opacity: .55; }
.build-bar { height: 2px; background: var(--line); max-width: 420px; }
.build-bar i { display: block; height: 100%; background: var(--brass); transform-origin: left; transform: scaleX(1); }
.steps { padding: 18vh 0 22vh; }
.step { min-height: 52vh; display: flex; flex-direction: column; justify-content: center; padding-left: clamp(24px, 4vw, 64px); border-left: 1px solid var(--line); transition: opacity .5s; }
.js .step { opacity: .28; }
.js .step.on, .no-gsap .step { opacity: 1; }
.step b { font: 500 16px/1 var(--serif); color: var(--brass); }
.step h3 { font: 400 clamp(32px, 3.4vw, 50px)/1.05 var(--serif); margin-top: 12px; }
.step p { color: var(--mute); max-width: 38ch; margin-top: 14px; font-size: 17px; }

/* ---------- before / after ---------- */
.ba-wrap { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: center; padding-top: clamp(40px, 8vw, 120px); }
.ba-t { font: 400 clamp(32px, 3.6vw, 54px)/1.08 var(--serif); margin-top: 18px; }
.ba-t em { color: var(--brass); }
.ba { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 4px; background: var(--paper-2); user-select: none; -webkit-user-select: none; touch-action: pan-y; }
.ba img, .ba-before { position: absolute; inset: 0; width: 100%; height: 100%; }
.ba img { object-fit: cover; object-position: 50% 60%; }
.ba-before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba::after { content: ''; position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: var(--paper); pointer-events: none; }
.ba-handle { position: absolute; top: 50%; left: var(--pos); width: 56px; height: 56px; margin: -28px 0 0 -28px; border-radius: 50%; background: var(--paper); display: grid; place-items: center; z-index: 2; pointer-events: none; box-shadow: 0 8px 30px rgba(0,0,0,.25); }
.ba-handle svg { width: 24px; height: 24px; fill: none; stroke: var(--ink); stroke-width: 1.8; }
.ba-tag { position: absolute; top: 16px; z-index: 2; font: 600 11px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; background: rgba(11,11,11,.7); color: var(--paper); padding: 9px 12px; border-radius: 999px; pointer-events: none; }
.ba-tag.l { left: 16px; } .ba-tag.r { right: 16px; }
.ba-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; z-index: 3; }
.ba-range:focus-visible + .ba-handle, .ba:focus-within .ba-handle { outline: 2px solid var(--brass); }

/* ---------- works gallery ---------- */
.works { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(14px, 2vw, 28px); padding-top: clamp(80px, 10vw, 150px); }
.work p { font-size: 14px; letter-spacing: .04em; color: var(--mute); margin-top: 12px; }
.work figure { overflow: hidden; border-radius: 3px; background: var(--paper-2); }
.work img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.work:hover img { transform: scale(1.05); }
.w1 { grid-column: 1 / 6; } .w1 figure { aspect-ratio: 4 / 5; }
.w2 { grid-column: 7 / 13; margin-top: 18%; } .w2 figure { aspect-ratio: 5 / 4; }
.w3 { grid-column: 2 / 7; } .w3 figure { aspect-ratio: 5 / 4; }
.w4 { grid-column: 8 / 12; margin-top: -10%; } .w4 figure { aspect-ratio: 4 / 5; }
.w2 img { object-position: 50% 50%; filter: grayscale(1) contrast(1.15) brightness(1.05); }

.svc { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); margin-top: clamp(64px, 8vw, 120px); }
.svc li { padding: 32px 24px 8px 0; }
.svc li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.svc svg { width: 40px; height: 40px; color: var(--brass); }
.svc h3 { font: 500 22px/1.2 var(--serif); margin-top: 18px; }
.svc p { color: var(--mute); font-size: 15px; margin-top: 8px; }

/* ---------- rentas (oscuro) ---------- */
.rentas { background: var(--ink); color: var(--paper); }
.rentas .eyebrow { color: var(--mute-l); }
.rentas .sec-t em { color: var(--brass-l); }
.rentas .sec-p { color: var(--mute-l); }
.r-hero { position: relative; display: grid; grid-template-columns: repeat(12, 1fr); margin-top: clamp(48px, 7vw, 96px); }
.r-big { grid-column: 1 / 10; grid-row: 1; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 3px; }
.r-small { grid-column: 9 / 13; grid-row: 1; align-self: end; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 3px; transform: translateY(22%); border: 8px solid var(--ink); }
.r-big img, .r-small img { width: 100%; height: 118%; object-fit: cover; margin-top: -9%; }
.r-note { grid-column: 10 / 13; grid-row: 1; align-self: start; font: 400 italic 22px/1.3 var(--serif); color: var(--brass-l); padding: 8px 0 0 24px; }
.props-nav { display: none; }
.props { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 28px); margin-top: clamp(80px, 9vw, 120px); }
.prop { position: relative; display: flex; flex-direction: column; background: var(--ink-2); border: 1px solid var(--line-l); border-radius: 4px; padding: 28px; transition: transform .5s var(--ease), border-color .5s, background .5s; }
.prop::before { content: ''; position: absolute; left: 28px; right: 28px; top: 0; height: 2px; background: var(--brass); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.prop:hover { transform: translateY(-8px); border-color: rgba(207,174,124,.45); background: #1a1916; }
.prop:hover::before { transform: scaleX(1); }
.prop-art { display: flex; justify-content: space-between; align-items: flex-start; color: var(--mute-l); transition: color .5s; }
.prop:hover .prop-art { color: var(--brass-l); }
.prop-art svg { width: 120px; height: 80px; }
.prop-art span { font: 400 44px/1 var(--serif); color: var(--line-l); color: rgba(244,241,236,.22); }
.prop h3 { font: 400 32px/1.1 var(--serif); margin-top: 32px; }
.prop p { color: var(--mute-l); font-size: 16px; margin: 12px 0 20px; flex: 1; }
.prop .link-arrow { color: var(--brass-l); align-self: flex-start; }

.pm { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; padding-top: clamp(96px, 12vw, 160px); }
.pm-t { font: 400 clamp(32px, 3.6vw, 54px)/1.08 var(--serif); margin-top: 18px; }
.pm-t em { color: var(--brass-l); }
.pm-box { border: 1px solid var(--line-l); border-radius: 4px; padding: clamp(24px, 3vw, 40px); }
.pm-q { font: 500 20px/1.3 var(--serif); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 28px; }
.chips label { position: relative; cursor: pointer; }
.chips input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chips label > span { display: block; padding: 11px 18px; border: 1px solid var(--line-l); border-radius: 999px; font-size: 15px; transition: background .3s, color .3s, border-color .3s; }
.chips input:checked + span { background: var(--brass-l); border-color: var(--brass-l); color: var(--ink); }
.chips input:focus-visible + span { outline: 2px solid var(--brass-l); outline-offset: 2px; }

/* ---------- contacto ---------- */
.contact { background: var(--paper); padding: clamp(80px, 10vw, 150px) 0 clamp(64px, 8vw, 110px); text-align: center; }
.contact-logo { width: 120px; height: 120px; color: var(--ink); margin: 0 auto; display: block; }
.contact .sec-t { max-width: 18ch; margin: 28px auto 0; }
.c-doors { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: clamp(40px, 5vw, 64px); text-align: left; }
.c-door { position: relative; display: grid; gap: 8px; padding: clamp(24px, 3vw, 40px); padding-right: 80px; background: var(--ink); color: var(--paper); border-radius: 4px; text-decoration: none; overflow: hidden; transition: transform .5s var(--ease); }
.c-door::before { content: ''; position: absolute; inset: 0; background: var(--brass); transform: translateY(101%); transition: transform .6s var(--ease); z-index: 0; }
.c-door > * { position: relative; z-index: 1; }
.c-door:hover::before { transform: none; }
.c-door:hover { color: var(--ink); }
.c-k { font: 500 15px/1 var(--serif); color: var(--brass-l); transition: color .5s; }
.c-door:hover .c-k { color: var(--ink); }
.c-t { font: 400 clamp(30px, 3.2vw, 46px)/1.05 var(--serif); }
.c-p { font-size: 15px; opacity: .75; }
.c-door svg { position: absolute; right: 28px; top: 50%; width: 34px; height: 34px; margin-top: -17px; transition: transform .5s var(--ease); }
.c-door:hover svg { transform: translateX(6px); }
.c-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 36px; margin-top: 40px; }
.c-list li { display: flex; align-items: center; gap: 10px; }
.c-list svg { width: 18px; height: 18px; color: var(--brass); }
.c-list a { text-decoration: none; border-bottom: 1px solid var(--line); padding: 6px 0; }
.c-list a:hover { border-color: var(--brass); }
.foot { background: var(--ink); color: var(--mute-l); font-size: 14px; }
.foot-in { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding-top: 28px; padding-bottom: 28px; }

/* ---------- mobile bar ---------- */
.mbar { display: none; }

/* ---------- animation states (fail-safe) ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); }
.hide-m { }

/* ---------- tablet / mobile ---------- */
@media (max-width: 1080px) {
  .nav-links { display: none; }
}
@media (max-width: 760px) {
  :root { --nav: 64px; --brand: 44px; }
  .nav-end { display: contents; }
  .lang { grid-column: 1; grid-row: 1; justify-self: start; }
  .nav-wa { grid-column: 3; grid-row: 1; justify-self: end; }
  body { font-size: 16px; padding-bottom: 76px; }
  .hide-m { display: none; }
  .nav-wa { width: 40px; padding: 0; justify-content: center; }
  .one-grid { grid-template-columns: 1fr; }
  .stats li { grid-template-columns: 96px 1fr; }
  .stats b { font-size: 38px; }
  .build { grid-template-columns: 1fr; }
  .build-art { top: var(--nav); height: auto; padding: 16px 0 12px; background: var(--paper); z-index: 2; gap: 12px; }
  .house { max-height: 34svh; }
  .build-bar { max-width: none; }
  .steps { padding: 4vh 0 10vh; }
  .step { min-height: 40svh; padding-left: 20px; }
  .step h3 { font-size: 32px; }
  .ba-wrap { grid-template-columns: 1fr; }
  .works { grid-template-columns: 1fr 1fr; }
  .w1, .w2, .w3, .w4 { grid-column: auto; margin-top: 0; }
  .w2 { margin-top: 40px; } .w4 { margin-top: -40px; }
  .w1 figure, .w4 figure { aspect-ratio: 3 / 4; }
  .w2 figure, .w3 figure { aspect-ratio: 3 / 4; }
  .svc { grid-template-columns: 1fr 1fr; }
  .svc li, .svc li + li { padding: 24px 12px 20px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .svc li:nth-child(even) { padding-left: 14px; border-left: 1px solid var(--line); }
  .svc h3 { font-size: 19px; }
  .r-hero { grid-template-columns: 1fr; }
  .r-big { grid-column: 1; grid-row: 1; aspect-ratio: 4 / 3; }
  .r-small { grid-column: 1; grid-row: 2; width: 62%; justify-self: end; margin-top: -18%; transform: none; border-width: 6px; }
  .r-note { grid-column: 1; grid-row: 2; align-self: end; padding: 0; font-size: 18px; max-width: 36%; }
  .props-nav { display: flex; justify-content: flex-end; gap: 10px; margin-top: 56px; }
  .pn { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-l); background: none; color: var(--paper); display: grid; place-items: center; cursor: pointer; }
  .pn svg { width: 20px; height: 20px; }
  .pn.prev svg { transform: scaleX(-1); }
  .props { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; margin: 16px calc(var(--gut) * -1) 0; padding: 10px var(--gut) 12px; scrollbar-width: none; }
  .props::-webkit-scrollbar { display: none; }
  .prop { flex: 0 0 82%; scroll-snap-align: center; }
  .prop:hover { transform: none; }
  .pm { grid-template-columns: 1fr; }
  .c-doors { grid-template-columns: 1fr; }
  .c-list { flex-direction: column; align-items: center; }
  .mbar { position: fixed; z-index: 60; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); display: grid; grid-template-columns: 1fr 1fr 52px; gap: 6px; padding: 6px; background: rgba(11,11,11,.94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-radius: 999px; box-shadow: 0 10px 40px rgba(0,0,0,.3); transform: translateY(140%); transition: transform .5s var(--ease); }
  .mbar.show { transform: none; }
  .mbar a { display: flex; align-items: center; justify-content: center; gap: 8px; height: 48px; border-radius: 999px; background: var(--paper); color: var(--ink); text-decoration: none; font: 600 14px/1 var(--sans); }
  .mbar a + a { background: transparent; color: var(--paper); border: 1px solid rgba(244,241,236,.38); }
  .mbar .mbar-tel { background: transparent !important; color: var(--paper); border: 1px solid var(--line-l); }
  .mbar svg { width: 18px; height: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .js .step { opacity: 1; }
}
