:root {
  --wine: #4f262d;
  --deep: #2b0001;
  --bone: #f5f1ea;
  --glow: #fff8eb;
  --carbon: #2a2a2a;
  --r: clamp(22px, 3vw, 40px);
  --serif: 'Cormorant Garamond', 'Times New Roman', serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--deep); color: var(--bone); font-family: 'pacaembu', 'Helvetica Neue', Helvetica, Arial, sans-serif; line-height: 1.6; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

h1, h2, h3 { font-weight: 600; letter-spacing: -.02em; line-height: 1.12; text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 5.6vw, 4.8rem); max-width: 17ch; }
h2 { font-size: clamp(1.8rem, 3.8vw, 3.2rem); max-width: 22ch; }
h3 { font-size: 1.25rem; }
.eyebrow { font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; margin-bottom: 1rem; opacity: .8; }
.lead { max-width: 56ch; margin-top: 1rem; opacity: .85; }
em { font-style: normal; font-size: .62rem; letter-spacing: .06em; text-transform: uppercase; border: 1px dashed currentColor; border-radius: 99px; padding: 1px 7px; opacity: .7; white-space: nowrap; vertical-align: middle; }
.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }

.btn { display: inline-block; border-radius: 99px; padding: .8rem 1.5rem; font-size: .9rem; font-weight: 500; transition: box-shadow .3s, transform .3s; }
.btn:hover { transform: translateY(-2px); }
.btn--glow { background: var(--glow); color: var(--deep); }
.btn--glow:hover { background: #fff; }
.btn--line { border: 1px solid rgba(255, 248, 235, .45); }
.btn--wine { background: var(--deep); color: var(--bone); }
.actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }

.nav { position: fixed; z-index: 20; top: 14px; left: 50%; translate: -50% 0; width: min(1180px, 100% - 24px); transition: width .45s ease; color: var(--bone); }
.nav.compact { width: min(760px, 100% - 24px); }
.nav__bar, .nav__panel { background: rgba(74, 10, 12, .72); backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3); border: 1px solid rgba(255, 248, 235, .28); }
.nav__bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; border-radius: 99px; padding: 8px 8px 8px 20px; }
.nav__logo img { width: 116px; }
.nav__links { display: flex; align-items: center; gap: 2px; font-size: .85rem; }
.nav__links > * { padding: .45rem .8rem; border-radius: 99px; }
.nav__links > *:hover, .nav__links [aria-current] { background: rgba(255, 248, 235, .13); }
.nav__links .nav__cta { background: var(--glow); color: var(--deep); font-weight: 500; }
.nav__burger { display: none; border: 1px solid rgba(255, 248, 235, .35); border-radius: 99px; padding: .4rem 1rem; font-size: .85rem; }
.nav__panel { margin-top: 8px; border-radius: 24px; display: grid; grid-template-rows: 0fr; opacity: 0; visibility: hidden; transition: grid-template-rows .4s ease, opacity .3s, visibility .4s; overflow: hidden; }
.nav__panel.open { grid-template-rows: 1fr; opacity: 1; visibility: visible; }
.nav__group { display: none; min-height: 0; grid-template-columns: 1fr 1.2fr 200px; gap: 24px; overflow: hidden; }
.nav__group.on { display: grid; padding: 22px; }
.nav__group ul { list-style: none; font-size: .95rem; }
.nav__group li a { display: block; padding: .3rem 0; opacity: .85; }
.nav__group li a:hover { opacity: 1; }
.nav__group p { font-size: .85rem; opacity: .75; margin-top: .5rem; }
.nav__group img { width: 200px; height: 140px; object-fit: cover; border-radius: 14px; }

.hero { position: sticky; top: 0; height: 100vh; height: 100svh; min-height: 620px; display: flex; align-items: flex-end; overflow: hidden; }
.hero__photo { position: absolute; inset: 0; background: url(img/aerea-loteo.jpg) center 28% / cover; animation: drift 24s ease-in-out infinite alternate; }
.hero__photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(74, 10, 12, .94) 12%, rgba(107, 1, 1, .6) 55%, rgba(107, 1, 1, .25)), linear-gradient(0deg, rgba(43, 0, 1, .8), transparent 55%); }
.hero__glow { position: absolute; width: 70vmax; height: 70vmax; left: 62%; top: 12%; translate: -50% -50%; background: radial-gradient(circle, rgba(255, 248, 235, .28), rgba(255, 248, 235, 0) 62%); mix-blend-mode: screen; pointer-events: none; transition: left .9s ease-out, top .9s ease-out; }
.hero__content { position: relative; width: min(1180px, 100% - 40px); margin: 0 auto clamp(48px, 10vh, 110px); }
.hero__lead { max-width: 52ch; margin-top: 1.4rem; opacity: .88; }
@keyframes drift { to { transform: scale(1.1) translateY(-1.5%); } }

.w { display: inline-block; opacity: 0; transform: translateY(.35em); filter: blur(6px); transition: opacity .6s, transform .6s, filter .6s; }
.w.on { opacity: 1; transform: none; filter: none; }

.sheet { position: relative; z-index: 2; border-radius: var(--r) var(--r) 0 0; padding: clamp(72px, 10vw, 130px) 0 clamp(90px, 11vw, 150px); margin-top: calc(var(--r) * -1); }
.sheet--bone { background: var(--bone); color: var(--deep); }
.sheet--wine { background: linear-gradient(170deg, var(--wine), var(--deep) 70%); }
.sheet--carbon { background: var(--carbon); }
#quienes { margin-top: 0; }

.reveal { opacity: 0; transform: translateY(32px); transition: opacity .7s, transform .7s; }
.reveal.on { opacity: 1; transform: none; }

.statement { font-size: clamp(2.1rem, 5.4vw, 4.4rem); max-width: 19ch; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 3rem; }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 4rem; }
.pillars article { border-top: 1px solid rgba(43, 0, 1, .3); padding-top: 1.2rem; }
.pillars span, .card span { font-size: .75rem; letter-spacing: .1em; opacity: .65; }
.pillars h3 { margin: .4rem 0 .6rem; }
.pillars p { font-size: .94rem; }

.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 3.5rem; perspective: 1200px; }
.card { border: 1px solid rgba(255, 248, 235, .18); border-radius: 18px; padding: 22px; background: rgba(43, 0, 1, .25); transform-style: preserve-3d; }
.card.on { transition: opacity .7s, transform .15s ease-out, border-color .35s; transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }
.card:hover { border-color: rgba(255, 248, 235, .6); }
.card:hover .mini { transform: translateY(-6px); }
.mini { display: block; width: 100%; aspect-ratio: 16 / 11; margin-bottom: 22px; transition: transform .35s ease; }
.card h3 { margin: .4rem 0 .7rem; font-size: 1.1rem; }
.card p { font-size: .87rem; opacity: .8; }

.sheet--stage { padding: 0; }
.stage { height: 1100vh; }
.stage__grid { position: sticky; top: 0; height: 100vh; height: 100svh; display: grid; grid-template-columns: 360px 1fr; gap: 24px; align-items: center; padding-top: 64px; }
.stage__draw, .stage__draw svg { width: 100%; height: 100%; min-height: 0; }
.stage h2 { font-size: clamp(1.7rem, 3vw, 2.6rem); }
.switch { display: inline-flex; gap: 4px; margin-top: 1.4rem; padding: 4px; border-radius: 99px; border: 1px solid rgba(255, 248, 235, .25); background: rgba(255, 248, 235, .06); }
.switch button { border-radius: 99px; padding: .45rem 1rem; font-size: .85rem; transition: background .3s; }
.switch [aria-selected="true"] { background: var(--glow); color: var(--deep); }
.stage .lead { font-size: .92rem; min-height: 4.8em; }
.stage ol { list-style: none; margin-top: .8rem; counter-reset: n; }
.stage li { counter-increment: n; border-bottom: 1px solid rgba(255, 248, 235, .14); }
.stage li button { width: 100%; text-align: left; padding: .45rem 0; font-size: .9rem; opacity: .7; }
.stage li button::before { content: '0' counter(n); display: inline-block; width: 2.4rem; font-size: .72rem; }
.stage li button:hover, .stage li button.on { opacity: 1; }
.stage li:has(button.on) { border-bottom-color: var(--bone); }
.note { font-size: .72rem; opacity: .6; margin-top: 1rem; }
.iso polygon { stroke-width: .7; stroke-linejoin: round; }
.iso line { stroke-width: 1; }
.iso .label line { stroke: var(--bone); }
.iso .label circle, .iso .label text { fill: var(--bone); }
.iso .label text { letter-spacing: .04em; paint-order: stroke; stroke: var(--carbon); stroke-width: 5px; stroke-linejoin: round; }

.project { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; margin-top: 3.5rem; }
.project figure { border-radius: 22px; overflow: hidden; }
.project img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.project h3 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
.project__place { margin: .5rem 0 1.2rem; font-size: .85rem; opacity: .7; }
.project dl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 2rem 0; border-block: 1px solid rgba(43, 0, 1, .25); padding: 1.2rem 0; }
.project dt { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; opacity: .65; }
.project dd { font-size: 2.2rem; font-weight: 500; line-height: 1.3; }
.project dd.small { font-size: 1.05rem; padding-top: .7rem; }
.project dd em { display: table; }

.band { position: relative; z-index: 2; min-height: 85vh; display: grid; place-items: center; padding: 120px 20px; text-align: center; background: linear-gradient(rgba(43, 0, 1, .58), rgba(43, 0, 1, .58)), url(img/cielo.webp) center 60% / cover; }
.band p { font-size: clamp(2.2rem, 6vw, 5rem); line-height: 1.1; font-weight: 500; letter-spacing: -.02em; max-width: 14ch; }

.team { list-style: none; margin-top: 3rem; }
.team li { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding: 1.1rem 0; border-top: 1px solid rgba(43, 0, 1, .22); }
.team b { font-weight: 500; font-size: 1.15rem; }
.team span { opacity: .75; font-size: .94rem; }

.contact__grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; }
.mail { display: inline-block; margin-top: 2rem; font-size: 1.25rem; border-bottom: 1px solid rgba(255, 248, 235, .5); }
form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.full { grid-column: 1 / -1; }
label { display: grid; gap: 4px; font-size: .78rem; opacity: .95; }
input, select, textarea { width: 100%; background: rgba(255, 248, 235, .07); border: 1px solid rgba(255, 248, 235, .25); border-radius: 10px; padding: .65rem .8rem; font-size: 1rem; }
input:focus, select:focus, textarea:focus { border-color: var(--glow); outline: none; }
select option { color: var(--deep); }
form .btn { border: 0; }

@media (max-width: 900px) {
  .nav, .nav.compact { width: calc(100% - 20px); }
  .nav__burger { display: block; }
  .nav__bar { flex-wrap: wrap; border-radius: 26px; }
  .nav__links { display: none; width: 100%; flex-direction: column; align-items: stretch; padding-bottom: 6px; }
  .nav__links.open { display: flex; }
  .nav__links > * { text-align: left; }
  .nav__group { grid-template-columns: 1fr; gap: 10px; }
  .nav__group img { display: none; }
  .two, .pillars, .project, .contact__grid { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr 1fr; }
  .stage__grid { grid-template-columns: 1fr; grid-template-rows: auto minmax(0, 1fr); align-content: stretch; gap: 8px; padding-top: 76px; padding-bottom: 12px; }
  .stage .eyebrow, .stage .lead, .stage .note { display: none; }
  .stage ol { display: flex; flex-wrap: wrap; gap: 4px 14px; counter-reset: n; }
  .stage li { border: 0; }
  .stage li button { padding: .2rem 0; font-size: .8rem; }
  .stage li button::before { width: 1.6rem; }
}
@media (max-width: 560px) {
  .cards, form, .team li { grid-template-columns: 1fr; }
  .team li { gap: 4px; }
  .project dl { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .w { opacity: 1; transform: none; filter: none; }
  .stage { height: auto; }
}

.statement, .band p, .project h3, .project dd:not(.small), .contact h2 { font-family: var(--serif); font-weight: 500; letter-spacing: -.01em; }
.statement { font-size: clamp(2.5rem, 6.2vw, 5.2rem); line-height: 1.04; }
.band p { font-size: clamp(2.6rem, 7vw, 6rem); line-height: 1.02; }
.project h3 { font-size: clamp(2rem, 3.6vw, 3rem); }
.project dd:not(.small) { font-size: 2.8rem; line-height: 1.1; }
.contact h2 { font-size: clamp(2.3rem, 4.6vw, 4rem); }

.sheet--deep { background: var(--deep); }
.sheet--flat { margin-top: 0; border-radius: 0; }
.card { display: block; }
.more { display: inline-block; font-weight: 500; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.more::after { content: ' →'; }
.after { margin-top: 2.2rem; }

.page-hero { position: relative; padding: clamp(150px, 22vh, 230px) 0 calc(clamp(60px, 9vw, 110px) + var(--r)); background: linear-gradient(165deg, var(--wine), var(--deep) 75%); }
.page-hero h1 { font-family: var(--serif); font-size: clamp(2.6rem, 6.4vw, 5.4rem); line-height: 1.02; letter-spacing: -.01em; max-width: 17ch; }
.page-hero--photo { min-height: 78vh; display: flex; align-items: flex-end; background: linear-gradient(100deg, rgba(43, 0, 1, .93) 15%, rgba(79, 38, 45, .55)), var(--img) var(--pos, center 30%) / cover; }
.contact--page { padding-bottom: clamp(70px, 9vw, 120px); }
.cta { padding-bottom: clamp(70px, 9vw, 120px); }

.split { display: grid; grid-template-columns: 1fr 1.25fr; gap: 48px; align-items: center; }
.split figure { border-radius: 22px; overflow: hidden; }
.split figure img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; }
.split > svg { width: 100%; }

.steps { list-style: none; counter-reset: s; margin-top: 3rem; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 5rem 1fr 1.4fr; gap: 24px; padding: 1.6rem 0; border-top: 1px solid rgba(255, 248, 235, .2); }
.steps li::before { content: '0' counter(s); font-family: var(--serif); font-size: 2.2rem; line-height: 1; opacity: .7; }
.steps p { opacity: .85; font-size: .95rem; }

.cap { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: center; padding: clamp(40px, 6vw, 80px) 0; border-top: 1px solid rgba(255, 248, 235, .16); scroll-margin-top: 90px; }
.cap:first-child { border-top: 0; padding-top: 0; }
.cap:nth-child(even) .mini { order: 2; }
.cap .mini { margin: 0; max-width: 460px; justify-self: center; }
.cap span { font-family: var(--serif); font-size: 1.6rem; opacity: .65; }
.cap h2 { font-size: clamp(1.6rem, 3vw, 2.5rem); margin: .3rem 0 0; }
.cap p:not(.lead) { margin-top: .9rem; font-size: .94rem; opacity: .85; max-width: 56ch; }

.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 3rem; }
.compare article { border: 1px solid rgba(43, 0, 1, .22); border-radius: 22px; padding: clamp(22px, 3vw, 36px); scroll-margin-top: 100px; }
.compare h3 { font-family: var(--serif); font-size: 2rem; margin-bottom: .6rem; }
.compare dl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 1.6rem 0; padding: 1.1rem 0; border-block: 1px solid rgba(43, 0, 1, .2); }
.compare dt { font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; opacity: .7; }
.compare dd { font-family: var(--serif); font-size: 2.6rem; line-height: 1.1; }
.compare ul { list-style: none; columns: 2; font-size: .92rem; }
.compare li { padding: .2rem 0; }
.compare li::before { content: '— '; opacity: .5; }


.plan { margin-top: 3.5rem; display: grid; grid-template-columns: 1.7fr 1fr; gap: 16px 40px; align-items: center; scroll-margin-top: 90px; }
.plan header { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px 28px; align-items: baseline; border-top: 1px solid rgba(255, 248, 235, .2); padding-top: 1.2rem; }
.plan header h3 { font-family: var(--serif); font-size: 1.8rem; }
.plan header p, .plan__unit p { opacity: .7; font-size: .9rem; }
.plan__unit p { text-align: center; margin-top: 6px; font-size: .75rem; }
.plano { display: block; width: 100%; }
.plano rect { fill: none; stroke: var(--bone); stroke-width: 1.5; }
.plano .p-lot { stroke-dasharray: 10 8; stroke-opacity: .45; }
.plano .p-unit { fill: rgba(255, 248, 235, .1); stroke-width: 2.5; }
.plano .p-serv { stroke-opacity: .75; }
.plano .p-open { stroke: none; }
.plano .p-car { stroke-dasharray: 5 6; stroke-opacity: .6; }
.plano .p-floor { fill: rgba(255, 248, 235, .05); stroke: none; }
.plano .p-wall { fill: var(--bone); stroke: none; }
.plano .p-furn { stroke-width: 1; stroke-opacity: .55; }
.plano text { fill: var(--bone); letter-spacing: .03em; paint-order: stroke; stroke: var(--deep); stroke-width: 5px; stroke-linejoin: round; }
.plano .p-open + text, .plano .p-car + text { opacity: .6; }

.foot { position: relative; z-index: 2; background: linear-gradient(180deg, #4a0a0c, #3a0709); padding: 56px 0 40px; font-size: .88rem; }
.foot__grid { display: grid; grid-template-columns: 1.2fr 1fr 1.4fr; gap: 40px; }
.foot nav { display: grid; gap: .4rem; align-content: start; }
.foot p { opacity: .7; margin-top: .4rem; }
.foot a:hover { text-decoration: underline; }

@media (max-width: 900px) {
  .split, .cap, .compare, .foot__grid, .plan { grid-template-columns: 1fr; }
  .cap:nth-child(even) .mini { order: 0; }
  .steps li { grid-template-columns: 3rem 1fr; }
  .steps li p { grid-column: 2; }
  .plan__scroll { overflow-x: auto; }
  .plan__scroll .plano { min-width: 680px; }
  .plan__unit { max-width: 320px; }
}

.page-hero h1, .compare h3, .plan header h3 { font-weight: 500; }
.btn, .nav__links .nav__cta, .more, .team b { font-weight: 700; }

/* Haz de luz sobre fondo oscuro, con los tonos de la marca */
.lux { overflow: clip; isolation: isolate; background: #1b0102; }
.lux::before { content: ''; position: absolute; inset: -25% -15%; z-index: -1; pointer-events: none; filter: blur(48px); animation: lux 20s ease-in-out infinite alternate;
  background: linear-gradient(118deg, transparent 36%, rgba(255, 248, 235, .16) 46%, rgba(150, 78, 91, .3) 52%, transparent 63%),
    radial-gradient(55% 55% at 0% 50%, rgba(122, 58, 69, .6), transparent 70%),
    radial-gradient(40% 45% at 100% 5%, rgba(255, 248, 235, .12), transparent 70%); }
@keyframes lux { to { transform: translate3d(5%, -4%, 0) rotate(3deg); } }

/* Cifras gigantes */
.figs { display: grid; grid-template-columns: 1fr 1fr; margin-top: 1rem; }
.fig { display: flex; flex-direction: column; justify-content: space-between; min-height: clamp(260px, 34vw, 430px); padding: clamp(20px, 3vw, 44px); border-top: 1px solid color-mix(in srgb, currentColor 22%, transparent); }
.fig:nth-child(odd) { border-right: 1px solid color-mix(in srgb, currentColor 22%, transparent); padding-left: 0; }
.fig p { max-width: 16ch; font-size: clamp(.95rem, 1.4vw, 1.2rem); line-height: 1.3; }
.fig p::after { content: ' ↗'; opacity: .6; }
.fig p em { display: table; margin-top: .4rem; }
.fig div { display: flex; align-items: baseline; justify-content: flex-end; gap: .6em; }
.fig span { font-size: clamp(1rem, 1.8vw, 1.5rem); opacity: .6; }
.fig b { font-family: var(--serif); font-weight: 500; font-variant-numeric: lining-nums; font-size: clamp(7rem, 21vw, 18rem); line-height: .8; letter-spacing: -.03em; }
.sheet--bone .figs { margin-top: 4rem; }

.stage__draw { position: relative; }
.stage__draw canvas { position: absolute; inset: 0; width: 100%; height: 100%; cursor: grab; touch-action: pan-y; }
.stage__draw canvas:active { cursor: grabbing; }
.unit-label { position: absolute; transform: translate(-50%, -100%); padding: .3rem .8rem; border-radius: 99px; background: var(--bone); color: var(--deep); font-size: .78rem; font-weight: 700; white-space: nowrap; pointer-events: none; }
.unit-img { display: block; width: 100%; }

@media (max-width: 560px) {
  .figs { grid-template-columns: 1fr; }
  .fig:nth-child(odd) { border-right: 0; }
  .fig { padding-inline: 0; min-height: 220px; }
}
@media (prefers-reduced-motion: reduce) { .lux::before { animation: none; } }

.hero h1 { font-family: var(--serif); font-weight: 500; letter-spacing: -.01em; line-height: 1; font-size: clamp(2.6rem, 5.6vw, 5rem); max-width: 17ch; }

.joined { margin-top: clamp(90px, 12vw, 170px); }
.sheet--carbon { background: #141414; }

/* Números grandes en Pacaembu */
.fig b, .project dd:not(.small), .compare dd { font-family: 'pacaembu', sans-serif; font-weight: 400; letter-spacing: -.04em; }
.compare dl { display: block; margin: 1.8rem 0; padding: 0; border: 0; }
.compare dl div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: .5rem 0 .9rem; border-top: 1px solid rgba(43, 0, 1, .2); }
.compare dd { font-size: clamp(3.6rem, 7vw, 6.5rem); line-height: .95; }
.compare ul { border-top: 1px solid rgba(43, 0, 1, .2); padding-top: 1.2rem; }

/* Plano de conjunto: reacción al cursor */
.plano g rect, .plano g text, .plano g { transition: fill .25s, stroke .25s, opacity .25s; }
.plano .lot-unit { cursor: pointer; }
.plano .lot-unit:hover rect { fill: var(--bone); }
.plano .lot-unit:hover text { fill: var(--deep); stroke: var(--bone); }
.plano:has(.lot-unit:hover) g:not(:hover) { opacity: .35; }
.plano .lot-serv:hover rect { fill: rgba(255, 248, 235, .14); stroke-opacity: 1; }
.fig b { font-size: clamp(4.5rem, 12.5vw, 10.5rem); line-height: .85; }
.fig b, .project dd:not(.small), .compare dd { font-weight: 300; }

.shot { margin-top: 3rem; }
.shot img { width: 100%; border-radius: 22px; }
.shot figcaption { margin-top: .8rem; font-size: .78rem; opacity: .6; }
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 3rem; }
.gallery figure { border-radius: 18px; overflow: hidden; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .6s ease; }
.gallery figure:hover img { transform: scale(1.04); }
@media (max-width: 560px) { .gallery { grid-template-columns: 1fr; } }

.cap { border-top-color: color-mix(in srgb, currentColor 18%, transparent); }
.cap .mini { background: linear-gradient(160deg, var(--wine), var(--deep) 75%); border-radius: 24px; padding: clamp(20px, 3vw, 40px); max-width: none; }

/* Destellos sobre el fondo negro, como en las secciones bordó */
.sheet--carbon { overflow: clip; isolation: isolate; }
.sheet--carbon::before { content: ''; position: absolute; inset: -20% -15%; z-index: -1; pointer-events: none; filter: blur(52px); animation: lux 22s ease-in-out infinite alternate;
  background: linear-gradient(122deg, transparent 34%, rgba(255, 248, 235, .2) 46%, rgba(150, 78, 91, .5) 53%, transparent 66%),
    radial-gradient(50% 55% at 100% 60%, rgba(122, 58, 69, .75), transparent 70%),
    radial-gradient(40% 45% at 0% 5%, rgba(255, 248, 235, .14), transparent 70%); }
.sheet--stage::before { position: sticky; display: block; top: 0; height: 100vh; margin-bottom: -100vh; inset: auto; }
.stage__draw canvas { cursor: move; }
@media (prefers-reduced-motion: reduce) { .sheet--carbon::before { animation: none; } }
.sheet--stage::before { inset: auto; top: 0; }

/* Destellos más suaves y hacia los costados; grano sutil sobre los fondos oscuros */
.lux::before { background: radial-gradient(42% 60% at 0% 38%, rgba(122, 58, 69, .5), transparent 72%),
    radial-gradient(38% 55% at 100% 72%, rgba(150, 78, 91, .32), transparent 72%),
    radial-gradient(26% 34% at 100% 4%, rgba(255, 248, 235, .09), transparent 70%); }
.sheet--carbon::before { background: radial-gradient(40% 58% at 100% 62%, rgba(122, 58, 69, .5), transparent 72%),
    radial-gradient(34% 50% at 0% 30%, rgba(79, 38, 45, .55), transparent 72%),
    radial-gradient(24% 32% at 0% 0%, rgba(255, 248, 235, .07), transparent 70%); }
.hero__glow { opacity: .6; }
.lux::after, .sheet--carbon::after, .hero::after, .page-hero--photo::after { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .5; mix-blend-mode: soft-light;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .6 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.hero::after, .page-hero--photo::after { z-index: 0; }
.page-hero--photo > .wrap { position: relative; z-index: 1; }

/* Video de portada */
.hero__photo { animation: none; background-image: url(img/portada-poster-2.jpg); }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__photo::after { background: linear-gradient(100deg, rgba(43, 0, 1, .9) 10%, rgba(79, 38, 45, .55) 55%, rgba(79, 38, 45, .2)), linear-gradient(0deg, rgba(43, 0, 1, .75), transparent 55%); }

.write { align-self: center; border: 1px solid rgba(255, 248, 235, .2); border-radius: 22px; padding: clamp(24px, 4vw, 48px); }
.write .btn { margin-top: 1.6rem; }


/* Textos sutiles: secciones donde el contenido visual pesa más que el título */
.quiet, h2.quiet { font-family: inherit; font-size: clamp(1rem, 1.5vw, 1.25rem); font-weight: 400; line-height: 1.5; letter-spacing: 0; max-width: 42ch; opacity: .75; }

/* Partners: carrusel lento de derecha a izquierda, logos en blanco */
.partners-sheet { padding: clamp(56px, 7vw, 90px) 0; }
.marquee { margin-top: 2.2rem; overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee__track { list-style: none; display: flex; align-items: center; width: max-content; animation: marquee var(--dur, 40s) linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track li { padding: 0 clamp(36px, 5vw, 72px); }
.partner-logo { display: block; height: var(--h, 48px); aspect-ratio: var(--ratio, 2); background: #fff; opacity: .82; transition: opacity .3s;
  -webkit-mask: var(--logo) center / contain no-repeat; mask: var(--logo) center / contain no-repeat; }
.marquee__track li:hover .partner-logo { opacity: 1; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (max-width: 560px) { .partner-logo { height: calc(var(--h, 48px) * .8); } }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; } }

.compare dd, .fig b, .project dd { font-variant-numeric: tabular-nums; }

/* Líneas de la comunicación: quiebre recto y curva que casi se cruzan */
.lines { --c: rgba(255, 248, 235, .24); position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.lines::before, .lines::after { content: ''; position: absolute; opacity: 0; animation: lines-in 1.6s .6s ease forwards; }
.lines::before { left: 64%; top: 14%; width: 28%; height: 70%; border-left: 1px solid var(--c); border-bottom: 1px solid var(--c); }
.lines::after { left: 58%; top: 78%; width: 40%; height: 30%; border-top: 1px solid var(--c); border-right: 1px solid var(--c); border-top-right-radius: 32px; }
.lines--hero::before { left: auto; right: 9%; top: 12%; width: 22%; height: 64%; }
.lines--hero::after { left: auto; right: 4%; top: 70%; width: 34%; }
.lines--cta::before { left: 70%; top: 22%; width: 22%; height: 54%; }
.lines--cta::after { left: 64%; top: 70%; width: 32%; }
@keyframes lines-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.page-hero > .wrap, .cta > .wrap { position: relative; z-index: 2; }
@media (max-width: 900px) {
  .lines::before, .lines--hero::before, .lines--cta::before { left: auto; right: 6%; width: 30%; top: 10%; height: 38%; }
  .lines::after, .lines--hero::after, .lines--cta::after { left: auto; right: 0; width: 46%; top: 44%; }
}
@media (prefers-reduced-motion: reduce) { .lines::before, .lines::after { animation: none; opacity: 1; } }
.lines--hero { --c: rgba(255, 248, 235, .5); }

/* Una esquina recta en lugar de todas redondeadas, como en las piezas de redes */
.nav__bar { border-radius: 30px 30px 30px 0; }
.nav__panel { border-radius: 0 24px 24px 24px; }
.btn, .nav__links .nav__cta, .switch { border-radius: 99px 99px 99px 0; }
.switch button { border-radius: 99px 99px 99px 0; }
.sheet { border-radius: var(--r) 0 0 0; }
.card, .compare article, .write, .cap .mini { border-radius: 22px 22px 22px 0; }
.shot img, .gallery figure, .project figure, .split figure { border-radius: 22px 0 22px 22px; }
@media (max-width: 900px) { .nav__bar { border-radius: 26px 26px 26px 0; } }

/* Mapa de Playas Doradas en líneas blancas */
.map { margin: 0; }
.mapa { display: block; width: 100%; max-height: 86vh; overflow: visible; }
.mapa polyline, .mapa polygon, .mapa line { fill: none; vector-effect: non-scaling-stroke; stroke-linecap: round; stroke-linejoin: round; }
.mapa .m-road { stroke: rgba(255, 248, 235, .38); stroke-width: .8; }
.mapa .m-major { stroke: rgba(255, 248, 235, .8); stroke-width: 1.4; }
.mapa .m-coast { stroke: #fff8eb; stroke-width: 2; }
.mapa .m-lot { stroke: #fff; stroke-width: 1.2; }
.mapa .m-area { fill: rgba(255, 248, 235, .16); stroke: none; }
.mapa .m-edge { stroke: rgba(255, 248, 235, .7); stroke-width: 1; stroke-dasharray: 4 5; }
.mapa .m-call { stroke: rgba(255, 248, 235, .7); stroke-width: 1; }
.mapa .m-north line, .mapa .m-north polyline { stroke: rgba(255, 248, 235, .7); stroke-width: 1; }
.mapa .m-label { fill: rgba(255, 248, 235, .75); font-size: 120px; letter-spacing: .06em; }
.mapa .m-strong { fill: #fff8eb; font-weight: 700; font-size: 140px; }
.mapa .m-small { font-size: 100px; }
.mapa .m-sea { font-family: var(--serif); font-style: italic; font-size: 160px; }
.map figcaption { margin-top: .6rem; font-size: .72rem; opacity: .55; text-align: right; }
.reveal .mapa .m-road, .reveal .mapa .m-major, .reveal .mapa .m-lot { stroke-dasharray: 1; stroke-dashoffset: 1; }
.reveal.on .mapa .m-road, .reveal.on .mapa .m-major { transition: stroke-dashoffset 2.6s ease; stroke-dashoffset: 0; }
.reveal.on .mapa .m-lot { transition: stroke-dashoffset 1.6s 1.4s ease; stroke-dashoffset: 0; }
@media (prefers-reduced-motion: reduce) { .reveal .mapa polyline { stroke-dasharray: none; } }
.split figure.map { overflow: visible; border-radius: 0; }

/* Íconos de la marca en pilares y ecosistema */
.icon { display: block; width: 44px; height: 44px; margin-bottom: 1rem; }
.pillars .icon { margin-bottom: 1.2rem; }
.team--cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid rgba(43, 0, 1, .22); border-left: 1px solid rgba(43, 0, 1, .22); }
.team--cards li { display: block; padding: clamp(22px, 3vw, 36px); border: 0; border-right: 1px solid rgba(43, 0, 1, .22); border-bottom: 1px solid rgba(43, 0, 1, .22); }
.team--cards b { display: block; margin-bottom: .5rem; }
.sheet--bone .shot { margin: 3rem 0 0; }
.sheet--bone .shot img { aspect-ratio: 21 / 9; object-fit: cover; }
@media (max-width: 900px) { .team--cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .team--cards { grid-template-columns: 1fr; } }
/* La flecha queda pegada a la última palabra */
.fig p::after { content: '\00a0↗'; }

/* Paleta nueva: bordó #6b0101 a #4a0a0c, y negro que tira a gris */
:root { --b1: #6b0101; --b2: #4a0a0c; --n1: #2e2d30; --n2: #121213; }
.lux, .sheet--wine, .page-hero { background: linear-gradient(165deg, var(--b1), var(--b2) 72%); }
.sheet--deep.lux { background: linear-gradient(165deg, var(--b2), #2e0608 80%); }
.sheet--carbon { background: linear-gradient(165deg, var(--n1), var(--n2) 75%); }
.lux::before { background: radial-gradient(42% 60% at 0% 38%, rgba(150, 30, 28, .45), transparent 72%),
    radial-gradient(38% 55% at 100% 72%, rgba(255, 248, 235, .09), transparent 72%),
    radial-gradient(26% 34% at 100% 4%, rgba(255, 248, 235, .08), transparent 70%); }
.sheet--carbon::before { background: radial-gradient(40% 58% at 100% 62%, rgba(107, 1, 1, .38), transparent 72%),
    radial-gradient(34% 50% at 0% 30%, rgba(120, 118, 125, .18), transparent 72%),
    radial-gradient(24% 32% at 0% 0%, rgba(255, 248, 235, .06), transparent 70%); }

/* Líneas finas en los márgenes laterales: quiebre recto y curva, nunca sobre el contenido */
.side-lines { --c: rgba(255, 248, 235, .16); position: absolute; top: 14%; bottom: 14%; width: calc((100% - 1180px) / 2 - 36px); pointer-events: none; z-index: 0; }
.side-lines--l { left: 18px; }
.side-lines--r { right: 18px; transform: scaleX(-1); }
.side-lines::before { content: ''; position: absolute; left: 22%; top: 0; height: 72%; width: 70%; border-left: 1px solid var(--c); border-bottom: 1px solid var(--c); }
.side-lines::after { content: ''; position: absolute; left: 6%; top: 64%; height: 36%; width: 52%; border-top: 1px solid var(--c); border-right: 1px solid var(--c); border-top-right-radius: 28px; }
.sheet--bone .side-lines { --c: rgba(74, 10, 12, .16); }
@media (max-width: 1340px) { .side-lines { display: none; } }
.plan header h3, .compare h3 { font-variant-numeric: lining-nums; }

/* Aviso al terminar la primera tipología */
.stage__hint { margin-top: 1.6rem; display: inline-flex; gap: .5rem; align-items: center; padding: .55rem 1.1rem; border: 1px solid rgba(255, 248, 235, .35); border-radius: 99px 99px 99px 0; font-size: .85rem; opacity: 0; transform: translateY(8px); transition: opacity .4s, transform .4s; pointer-events: none; }
.stage__hint.on { opacity: 1; transform: none; }
.stage__hint span { display: inline-block; animation: hint 1.4s ease-in-out infinite; }
@keyframes hint { 50% { transform: translateY(4px); } }
@media (max-width: 900px) { .stage__hint { display: inline-flex; position: absolute; bottom: 18px; left: 50%; translate: -50% 0; white-space: nowrap; } }
@media (prefers-reduced-motion: reduce) { .stage__hint { display: none; } }

/* Fondo negro sin tinte bordó: solo grises y un brillo hueso suave a los costados */
.sheet--carbon::before { background: radial-gradient(40% 58% at 100% 62%, rgba(150, 148, 155, .14), transparent 72%),
    radial-gradient(34% 50% at 0% 30%, rgba(120, 118, 125, .16), transparent 72%),
    radial-gradient(24% 32% at 0% 0%, rgba(255, 248, 235, .06), transparent 70%); }

/* Unidad en dibujo isométrico de líneas blancas (Inicio y Proyecto); el volumen queda para el recorrido */
.iso--line polygon { fill: #222124; stroke: rgba(255, 248, 235, .9); stroke-width: 1; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.iso--line line { stroke: rgba(255, 248, 235, .35); stroke-width: .6; vector-effect: non-scaling-stroke; }
.iso--line polygon[style] { fill: none; stroke: rgba(255, 248, 235, .5); }
.iso--line { max-width: 640px; justify-self: center; }

/* El pase entre unidades se desvanece en los bordes del lienzo */
.stage__draw canvas { -webkit-mask-image: linear-gradient(transparent, #000 9%, #000 91%, transparent); mask-image: linear-gradient(transparent, #000 9%, #000 91%, transparent); }

/* Unidad más grande: el lienzo llega hasta el borde derecho de la pantalla */
@media (min-width: 901px) {
  .stage__grid { grid-template-columns: 340px 1fr; gap: 8px; }
  .stage__draw { width: calc(100% + max(20px, (100vw - 1180px) / 2)); }
  .stage__draw canvas { -webkit-mask-image: linear-gradient(transparent, #000 5%, #000 95%, transparent); mask-image: linear-gradient(transparent, #000 5%, #000 95%, transparent); }
}

/* Axonometría despiezada */
.iso--line polygon.in { fill: #1b1a1d; stroke: rgba(255, 248, 235, .55); }
.iso--line polygon.win { fill: #18171a; stroke: rgba(255, 248, 235, .9); }
.iso--line line.rib { stroke: rgba(255, 248, 235, .16); stroke-width: .5; }
.iso--line line.guide { stroke: rgba(255, 248, 235, .45); stroke-width: .7; stroke-dasharray: 2 4; }
.iso--line .terrain path { fill: none; stroke: rgba(255, 248, 235, .26); stroke-width: .7; vector-effect: non-scaling-stroke; }
.iso--line { max-width: 560px; max-height: 92vh; }

/* Axonometría despiezada: planta apoyada, volumen y corte o vista del plano */
.iso--line polygon.floor { fill: #262528; stroke: rgba(255, 248, 235, .3); }
.iso--line polygon.fp { fill: none; stroke: rgba(255, 248, 235, .8); stroke-width: .8; }
.iso--line polygon.poche, .iso--line polygon.cut { fill: rgba(255, 248, 235, .88); stroke: rgba(255, 248, 235, .9); stroke-width: .4; }
.iso--line path.arc { fill: none; stroke: rgba(255, 248, 235, .45); stroke-width: .6; vector-effect: non-scaling-stroke; }
.iso--line line.ground { stroke: rgba(255, 248, 235, .7); stroke-width: .8; }
.iso--line line.rib { stroke: rgba(255, 248, 235, .22); }

/* Frase del cielo: dos oraciones, más ancha y un poco más chica */
.band p { font-size: clamp(2.1rem, 4.6vw, 4.2rem); line-height: 1.1; max-width: 29ch; text-wrap: balance; }
