/* Home editorial: composición, retícula y recorrido. */
.editorial-home {--home-line:#23374d24}
.editorial-home .wrap,.editorial-frame {width:calc(100% - 80px);max-width:1520px;margin-inline:auto}
.editorial-home .glass {top:0;left:0;transform:none;width:100%;border-radius:0;padding:10px 32px;min-height:66px;background:#faf8f317;color:#fff;border:0;border-bottom:1px solid #ffffff30;box-shadow:none;backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);transition:background .4s,color .4s}
.editorial-home .glass nav {display:flex;font-size:10px;letter-spacing:.16em;text-transform:uppercase}
.editorial-home .brand {font-size:16px;letter-spacing:.22em}
.editorial-home .brand img {width:28px;height:28px}
.editorial-home .glass .contact {min-height:42px;padding:10px 24px;background:#faf8f312;border-color:#ffffff80;color:#fff;letter-spacing:.16em;font-size:10px}
.editorial-home.past-hero .glass {color:var(--ink);background:#faf8f3bd;border-color:var(--home-line)}
.editorial-home.past-hero .glass .contact {color:var(--ink);border-color:#23374d60}
.editorial-home .home-hero {height:100svh;min-height:760px;max-height:1200px;display:block;background:#23374d}
.editorial-home .home-hero>img {object-position:center 48%;transform:scale(calc(1.025 + var(--hero-progress) * .1))}
.editorial-home .home-hero::after {background:linear-gradient(180deg,#18253233 0%,#18253208 35%,#182532a8 100%),linear-gradient(90deg,#17263040,transparent 65%)}
.hero-gridlines {position:absolute;inset:0;pointer-events:none;background:linear-gradient(90deg,transparent calc(33.333% - 1px),#ffffff20 33.333%,transparent calc(33.333% + 1px),transparent calc(66.666% - 1px),#ffffff20 66.666%,transparent calc(66.666% + 1px))}
.editorial-home .home-hero .hero-content {height:100%;position:relative;display:block;padding:112px 0 110px;opacity:calc(1 - var(--hero-progress) * .95)}
.hero-location {font-weight:400;font-size:10px;letter-spacing:.2em}
.editorial-home .home-intro {position:absolute;left:0;bottom:175px;max-width:80%;z-index:1}
.editorial-home .home-hero h1 {font-size:clamp(64px,7.8vw,122px);line-height:1.01;font-weight:400;letter-spacing:-.065em;margin:0 0 24px;max-width:100%}
.editorial-home .home-hero h1 em {font:italic 1.09em/.9 var(--serif);color:#faf8f3}
.hero-description {font-size:13px;font-weight:400;line-height:1.7;color:#fff}
.hero-inset {position:absolute;right:0;top:135px;width:18%;max-width:250px;display:block}
.hero-inset img {width:100%;height:clamp(150px,19vw,270px);object-fit:cover}
.hero-inset span {display:block;font-size:9px;letter-spacing:.1em;text-transform:uppercase;margin-top:10px}
.editorial-home .hero-aside {position:absolute;bottom:90px;left:0;right:0;display:flex;align-items:center;justify-content:space-between}
.editorial-home .hero-aside .button {margin:0;background:#faf8f316;border-color:#ffffff80;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);box-shadow:inset 0 1px #ffffff25;color:white;text-shadow:none}
.hero-index {font-size:9px;letter-spacing:.18em}
.hero-baseline {position:absolute;left:0;right:0;bottom:0;border-top:1px solid #ffffff40;display:flex;justify-content:space-between;padding:20px 40px;font-size:9px;letter-spacing:.15em;text-transform:uppercase}
.editorial-home .hero-signature {bottom:18%;font-weight:400;font-size:19vw}
.section-marker {display:flex;justify-content:space-between;gap:20px;border-top:1px solid var(--home-line);padding-top:20px;font-size:9px;letter-spacing:.16em;text-transform:uppercase}
.home-manifesto {padding-top:35px;padding-bottom:120px}
.manifesto-layout {position:relative;display:grid;grid-template-columns:1fr 1fr 1fr;gap:40px;padding-top:80px;align-items:start}
.manifesto-heading {grid-column:1/3;grid-row:1;padding-bottom:55px}
.orange-mark {display:block;width:7px;height:7px;background:var(--braven-orange);margin-bottom:30px}
.editorial-home h2 {font-size:clamp(40px,5.3vw,82px);letter-spacing:-.055em;line-height:1.05;font-weight:400}
.editorial-home h2 em {font:italic 1.1em/.95 var(--serif)}
.manifesto-photo {grid-column:3;grid-row:1/3;padding-top:70px}
.manifesto-photo img {width:100%;height:450px;object-fit:cover;border-radius:0}
.manifesto-photo span {display:block;font-size:9px;letter-spacing:.12em;text-transform:uppercase;margin-top:12px;color:var(--muted)}
.manifesto-copy {grid-column:2;grid-row:2;border-left:1px solid var(--home-line);padding-left:25px;max-width:380px}
.manifesto-copy p {font-size:14px;line-height:1.8;color:var(--muted);margin-bottom:18px}
.editorial-home .editorial-link {min-height:44px;padding:12px 0;background:none;border:0;border-bottom:1px solid #23374d70;border-radius:0;font-size:10px;letter-spacing:.14em;text-shadow:none;box-shadow:none}
.selection-heading {display:flex;align-items:end;justify-content:space-between;gap:45px;padding:70px 0 65px}
.selection-heading>p {font-size:13px;color:var(--muted);line-height:1.8}
.residence-story {display:grid;grid-template-columns:1.7fr 1fr;gap:8%;align-items:center;padding-bottom:90px}
.residence-image {display:block;position:relative;overflow:hidden;background:#e5e4df}
.residence-image img {width:100%;height:560px;object-fit:cover;transition:transform 1.2s ease}
.residence-image:hover img {transform:scale(1.035)}
.residence-number {position:absolute;top:20px;left:20px;color:#fff;font-size:10px;letter-spacing:.15em;text-shadow:0 1px 5px #0008}
.residence-copy .eyebrow {font-size:9px;letter-spacing:.16em;font-weight:400}
.residence-copy h3 {font-size:clamp(32px,3.3vw,52px);font-weight:400;letter-spacing:-.05em;line-height:1.08;margin:25px 0}
.residence-description {font-size:14px;color:var(--muted);max-width:32ch;line-height:1.8}
.residence-data {display:grid;gap:8px;border-top:1px solid var(--home-line);padding-top:20px;margin-top:30px;font-size:12px}
.residence-data span+span {font-size:11px;color:var(--muted)}
.residence-copy .editorial-link {margin-top:22px}
.residence-story:nth-child(2) {grid-template-columns:1fr 1.7fr}
.residence-story:nth-child(2) .residence-image {grid-column:2;grid-row:1}
.residence-story:nth-child(2) .residence-copy {grid-column:1;grid-row:1;padding-left:12%}
.residence-story:nth-child(3) .residence-image img {height:650px}
.selection-end {border-top:1px solid var(--home-line);padding:28px 0 90px;display:flex;justify-content:space-between;align-items:center;font-size:12px;color:var(--muted)}
.home-spaces {position:relative;min-height:760px;height:95svh;isolation:isolate;display:flex;flex-direction:column;justify-content:space-between;padding:38px 40px;color:white;background:#23374d;overflow:hidden}
.home-spaces>img {position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2}
.home-spaces::after {content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,#14243750,transparent 30%,#142437a0)}
.spaces-top,.spaces-bottom {display:flex;justify-content:space-between;align-items:center;gap:30px}
.spaces-top .eyebrow {font-size:9px;letter-spacing:.17em;font-weight:400}
.editorial-home .home-spaces h2 {font-size:clamp(60px,8vw,125px);margin-top:auto;margin-bottom:50px}
.spaces-bottom {border-top:1px solid #ffffff50;padding-top:25px}
.spaces-bottom p {font-size:13px;line-height:1.7}
.spaces-bottom .button {margin:0;background:#faf8f31c;border-color:#ffffff70;color:white;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);text-shadow:none}
.home-neighborhoods {padding:50px 0 100px}
.neighborhood-layout {display:grid;grid-template-columns:1fr 1fr;gap:10%;padding-top:75px}
.neighborhood-layout p {font-size:13px;color:var(--muted);margin-bottom:30px}
.neighborhood-layout nav a {display:flex;align-items:center;border-bottom:1px solid var(--home-line);gap:32px;min-height:75px;font-size:22px;letter-spacing:-.03em;transition:padding .3s,background .3s}
.neighborhood-layout nav a:hover {padding-left:12px;background:#23374d04}
.neighborhood-layout nav span {font-size:9px;letter-spacing:.1em;color:var(--braven-orange)}
.editorial-home .catalog {padding-top:0}
.editorial-home .catalog-title {padding-top:55px}
.editorial-home .catalog-title h2 {font-size:clamp(34px,4vw,60px)}
.editorial-home .card {border-radius:4px;box-shadow:none;background:transparent;padding:0;border:0;border-bottom:1px solid var(--home-line)}
.editorial-home .card figure {border-radius:2px}
.editorial-home .card-body {padding:22px 0 28px}
.editorial-home .card h3 {font-size:24px}
.editorial-home .card .badge {border-radius:3px;font-size:10px;letter-spacing:.1em;background:#faf8f38c;backdrop-filter:blur(10px)}
.editorial-home .card-action {background:none;color:var(--ink);border:0;border-bottom:1px solid #23374d50;border-radius:0;padding:10px 0;box-shadow:none;font-size:10px}
.editorial-home .card:hover .card-action {background:none}
.editorial-home .home-advice {padding-block:80px 110px;border-top:1px solid var(--home-line)}
.editorial-home .site-footer .footer-photo {border-radius:3px}
.reveal-ready {opacity:0;transform:translateY(25px);transition:opacity 1s ease,transform 1s cubic-bezier(.2,.65,.3,1)}
.reveal-ready.is-visible {opacity:1;transform:none}
@media(min-width:1700px){.editorial-home .home-intro{bottom:190px}.hero-inset{right:3%}}
@media(max-width:900px){
.editorial-home .wrap,.editorial-frame {width:calc(100% - 40px)}
.editorial-home .glass {padding:10px 20px}
.hero-baseline {padding-inline:20px}
.editorial-home .home-hero h1 {font-size:clamp(58px,9vw,90px)}
.hero-inset {width:23%;top:110px}.hero-inset img {height:180px}
.manifesto-layout {gap:24px}.manifesto-photo img{height:350px}.manifesto-copy{grid-column:1/3;max-width:400px;margin-left:15%}
.residence-image img {height:430px}.residence-story:nth-child(3) .residence-image img{height:500px}
.residence-story{gap:5%}.residence-copy h3{font-size:34px}
}
@media(max-width:600px){
.editorial-home .glass {min-height:62px;padding:9px 16px;grid-template-columns:1fr auto}
.editorial-home .glass nav {display:none}.editorial-home .brand{font-size:12px;gap:4px}.editorial-home .brand img{width:23px;height:23px}
.editorial-home .glass .contact{padding:9px 12px;font-size:8px;letter-spacing:.12em;min-height:40px}
.editorial-home .home-hero{min-height:760px;height:100svh;max-height:950px}
.editorial-home .home-hero>img{object-position:54% center}
.editorial-home .home-hero .hero-content{padding-top:90px}
.hero-location{font-size:8px;letter-spacing:.13em}
.hero-inset{width:30%;top:130px;max-width:140px}.hero-inset img{height:145px}.hero-inset span{font-size:7px;line-height:1.6}
.editorial-home .home-intro{bottom:195px;max-width:100%;width:100%}
.editorial-home .home-hero h1{font-size:clamp(43px,10.4vw,63px);line-height:1.05;letter-spacing:-.055em}
.hero-description{font-size:11px}
.editorial-home .hero-aside{bottom:100px}.hero-index{display:none}
.hero-baseline{padding:18px 20px;font-size:7px;gap:20px}.hero-baseline span:first-child{max-width:180px}.hero-baseline span:last-child{text-align:right;max-width:85px}
.section-marker{font-size:8px;letter-spacing:.1em}
.home-manifesto{padding-bottom:70px}.manifesto-layout{grid-template-columns:1fr 1fr;gap:25px;padding-top:50px}
.manifesto-heading{grid-column:1/3;padding-bottom:5px}.editorial-home h2{font-size:43px}
.manifesto-photo{grid-column:2;grid-row:2;padding-top:20px}.manifesto-photo img{height:240px}.manifesto-photo span{font-size:7px}
.manifesto-copy{grid-column:1;grid-row:2;padding-left:0;border-left:0;margin:0}.manifesto-copy p{font-size:12px;line-height:1.75}.manifesto-copy .editorial-link{font-size:8px}
.selection-heading{display:block;padding:45px 0 35px}.selection-heading>p{font-size:12px;margin-top:25px}
.residence-story,.residence-story:nth-child(2){display:flex;flex-direction:column;align-items:stretch;gap:25px;padding-bottom:65px}
.residence-image img,.residence-story:nth-child(3) .residence-image img{height:410px}
.residence-story:nth-child(2) .residence-copy{padding-left:0}
.residence-copy{padding-left:14%}.residence-copy h3{font-size:35px;margin:18px 0}.residence-description{font-size:13px}.residence-data{margin-top:22px}
.selection-end{display:block;padding-bottom:65px}.selection-end .button{margin-top:20px;font-size:9px}
.home-spaces{height:85svh;min-height:650px;padding:25px 20px}
.editorial-home .home-spaces h2{font-size:clamp(47px,12vw,70px);margin-bottom:35px}
.spaces-top .eyebrow{font-size:7px}.spaces-bottom{display:block}.spaces-bottom p{font-size:12px}.spaces-bottom .button{margin-top:20px;font-size:9px}
.home-neighborhoods{padding:35px 0 65px}.neighborhood-layout{grid-template-columns:1fr;gap:35px;padding-top:45px}.neighborhood-layout nav a{font-size:21px;min-height:65px}
.editorial-home .catalog-title{display:block;padding-top:40px}.editorial-home .catalog-title h2{font-size:36px}#total{margin-top:12px}
.editorial-home .home-advice{padding-block:50px 70px}.editorial-home .home-advice .button{font-size:9px;padding-inline:20px}
}
@media(prefers-reduced-motion:reduce){.reveal-ready{opacity:1;transform:none;transition:none}.residence-image img,.editorial-home .glass{transition:none}.editorial-home .home-hero>img{transform:none}html{scroll-behavior:auto}}

/* Residenciales: un interludio luminoso después de la portada. */
.residential-collection {padding:clamp(90px,10vw,160px) 0 clamp(75px,8vw,125px);background:#fff;overflow:hidden;color:var(--ink)}
.residential-intro {text-align:center;width:calc(100% - 40px);max-width:1220px;margin:0 auto}
.residential-intro .eyebrow {font-size:9px;letter-spacing:.18em;font-weight:400;color:var(--muted);margin-bottom:30px}
.editorial-home .residential-intro h2 {font-family:var(--sans);font-size:clamp(36px,5.6vw,86px);font-weight:400;line-height:1.08;letter-spacing:-.06em;text-wrap:balance}
.residential-caption {font-size:12px;line-height:1.8;color:var(--muted);margin:28px auto 0;max-width:60ch}
.residential-grid-shell {position:relative;margin-top:clamp(65px,7vw,110px);padding:0 8%;isolation:isolate}
.residential-grid-shell::before,.residential-grid-shell::after {content:'';position:absolute;left:0;right:0;height:1px;background:linear-gradient(90deg,transparent,#23374d23 12%,#23374d23 88%,transparent);z-index:-1}
.residential-grid-shell::before{top:0}.residential-grid-shell::after{bottom:0}
.residential-grid {position:relative;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));max-width:1400px;margin:auto;border-right:1px solid #23374d20}
.residential-logo {position:relative;min-width:0;height:clamp(200px,20vw,290px);display:flex;align-items:center;justify-content:center;border-left:1px solid #23374d20;padding:38px;transition:background .35s}
.residential-logo::after {content:'';position:absolute;top:100%;left:-1px;width:1px;height:45px;background:linear-gradient(#23374d20,transparent)}
.residential-logo img {width:100%;height:100%;object-fit:contain;mix-blend-mode:multiply;filter:grayscale(1);max-width:255px;max-height:140px}
.residential-campina img {filter:grayscale(1) contrast(1.85);max-width:250px;max-height:160px}
.residential-molino img {max-height:155px;max-width:195px}
.residential-bosque img {max-width:290px;max-height:105px}
.grid-cross {position:absolute;top:0;left:0;width:9px;height:9px;transform:translate(-50%,-50%);color:#23374d65}
.grid-cross::before,.grid-cross::after {content:'';position:absolute;background:currentColor}
.grid-cross::before {width:9px;height:1px;top:4px;left:0}.grid-cross::after {width:1px;height:9px;left:4px;top:0}
.residential-grid::after {content:'+';position:absolute;bottom:0;right:0;transform:translate(50%,50%);font-size:14px;line-height:1;color:#23374d65}
.residential-motion .residential-intro {opacity:0;transform:translateY(28px);transition:opacity 1s ease,transform 1.2s cubic-bezier(.2,.7,.2,1)}
.residential-motion .residential-logo img {opacity:0;transform:translateY(22px);transition:opacity 1s ease,transform 1.2s cubic-bezier(.2,.7,.2,1);transition-delay:calc(180ms + var(--logo-order) * 170ms)}
.residential-motion .residential-grid-shell {clip-path:inset(0 50% -50px);transition:clip-path 1.4s cubic-bezier(.2,.7,.2,1)}
.residential-visible .residential-intro,.residential-visible .residential-logo img {opacity:1;transform:none}
.residential-visible .residential-grid-shell {clip-path:inset(0 0 -50px)}
@media(max-width:600px){
.residential-collection{padding:80px 0 70px}.residential-intro .eyebrow{font-size:8px;margin-bottom:24px}
.editorial-home .residential-intro h2{font-size:36px;letter-spacing:-.055em}.residential-intro h2 br{display:none}
.residential-caption{font-size:12px;max-width:30ch;margin-top:24px}
.residential-grid-shell{padding:0 20px;margin-top:50px}.residential-grid{grid-template-columns:1fr}
.residential-logo{height:175px;padding:30px;border-bottom:1px solid #23374d20}.residential-logo:last-child{border-bottom:0}
.residential-logo img{max-width:220px;max-height:115px}.residential-molino img{max-height:125px}.residential-bosque img{max-width:245px;max-height:85px}
.residential-logo::after{display:none}.residential-logo:last-child::after{display:block}
.residential-motion .residential-grid-shell{clip-path:inset(0 0 100%)}.residential-visible .residential-grid-shell{clip-path:inset(0 0 -50px)}
}
@media(prefers-reduced-motion:reduce){.residential-motion .residential-intro,.residential-motion .residential-logo img{opacity:1;transform:none;transition:none}.residential-motion .residential-grid-shell{clip-path:none;transition:none}}

/* Igualar la tinta de los tres originales conservando sus fondos blancos. */
.residential-logo img,.residential-campina img{filter:url(#residential-gray)}
@media(max-width:760px){
.residential-logo{height:125px;padding:22px}
.residential-logo img{max-width:150px;max-height:78px}
.residential-molino img{max-width:105px;max-height:88px}
.residential-bosque img{max-width:175px;max-height:55px}
}

/* Transition photographique inspirée de la référence fournie. */
.spaces-scroll-track{height:260svh;position:relative;--spaces-inset:0%;--spaces-copy:1;--spaces-stats:0}
.editorial-home .spaces-scroll-track .home-spaces{position:sticky;top:66px;height:calc(100svh - 66px);min-height:480px}
.home-spaces>img{z-index:-2}
.home-spaces>.spaces-second-photo{z-index:-3}
.home-spaces>#spaces-foto{clip-path:inset(var(--spaces-inset));will-change:clip-path}
.home-spaces.spaces-next>#spaces-foto{opacity:0}
.home-spaces.spaces-next>.spaces-second-photo{z-index:-2;clip-path:inset(var(--spaces-inset));will-change:clip-path}
.home-spaces.spaces-next{background:var(--ink)}
.home-spaces h2,.home-spaces .spaces-bottom{opacity:var(--spaces-copy);transform:translateY(calc((1 - var(--spaces-copy)) * -35px))}
.spaces-motion-stats{position:absolute;left:4%;right:4%;top:48%;display:flex;align-items:center;justify-content:space-between;gap:25px;border-top:1px solid #ffffff70;padding-top:30px;opacity:var(--spaces-stats);pointer-events:none}
.spaces-motion-stats>span:not(.eyebrow){font-size:clamp(28px,4.5vw,72px);letter-spacing:-.05em}
.spaces-motion-stats>.eyebrow{font-size:9px;text-align:center}
@media(max-width:760px){.spaces-scroll-track{height:220svh}.spaces-motion-stats{gap:12px;flex-wrap:wrap}.spaces-motion-stats>.eyebrow{order:3;width:100%;margin-top:20px}.spaces-motion-stats>span:not(.eyebrow){font-size:30px}}
@media(prefers-reduced-motion:reduce){.spaces-scroll-track{height:auto}.editorial-home .spaces-scroll-track .home-spaces{position:relative;top:auto}.spaces-motion-stats{display:none}.home-spaces>#spaces-foto{clip-path:none;will-change:auto}}
