/* Optional, isolated composition. No global smooth scroll or transformed ancestors. */
.gh-parallax { --px-travel:160svh; --px-stage:min(900px, calc(100svh - var(--gh-px-top, 0px))); position:relative; isolation:isolate; color:var(--gh-forest); background:var(--gh-cream); container:gh-parallax / inline-size; }
.gh-px__track { position:relative; }
.gh-px__stage { padding:clamp(20px, 3vw, 48px); }
.gh-px__frame { position:relative; max-width:var(--gh-px-max,1440px); margin-inline:auto; }
.gh-px__heading { position:relative; z-index:4; max-width:900px; margin:0 auto 2rem; text-align:center; }
.gh-px__eyebrow { display:block; margin-bottom:1rem; font:600 .68rem/1.5 var(--gh-sans); letter-spacing:.18em; text-transform:uppercase; }
.gh-px__heading h2 { margin:0; font:400 clamp(2.3rem,4.7vw,5.2rem)/1.08 var(--gh-serif); letter-spacing:-.045em; }
.gh-px__heading p { margin:1rem 0 0; font-size:1rem; }
.gh-px__visual { position:relative; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; }
.gh-px__layer { position:relative; margin:0; min-width:0; height:clamp(280px,40vw,520px); border-radius:var(--gh-px-radius,28px); overflow:hidden; background:var(--gh-forest); box-shadow:0 28px 55px -28px #10312b70; transform-origin:center; }
.gh-px__photo { position:absolute; inset:0; overflow:hidden; border-radius:inherit; }
.gh-px__photo img { width:100%; height:100%; max-width:none; display:block; object-fit:cover; object-position:var(--gh-px-position,50% 50%); }
.gh-px__layer figcaption { position:absolute; inset:auto 0 0; padding:3.5rem 1.4rem 1.3rem; color:#fff; background:linear-gradient(transparent, #10312be6); }
.gh-px__layer figcaption span { display:block; font:600 .64rem/1.5 var(--gh-sans); letter-spacing:.12em; text-transform:uppercase; color:var(--gh-lime); }
.gh-px__layer figcaption strong { display:block; margin-top:.4rem; font:500 clamp(1.35rem,2vw,2rem)/1.1 var(--gh-font-detail); }
.gh-px__toolbar { display:flex; align-items:center; justify-content:space-between; gap:1rem; min-height:60px; padding-top:18px; }
.gh-px__hint { font-size:.7rem; letter-spacing:.08em; }
.gh-px__hint > span { padding-left:.5rem; }
.gh-px__meter { display:none; width:100px; height:2px; background:#10312b26; overflow:hidden; }
.gh-px__meter i { display:block; height:100%; background:var(--gh-forest); transform:scaleX(0); transform-origin:left; }
.gh-px__toggle { flex-shrink:0; min-height:44px; border:1px solid #10312b38; border-radius:40px; padding:.6rem 1rem; background:transparent; color:inherit; font:600 .7rem/1.2 var(--gh-sans); }
.gh-px__toggle:hover { background:var(--gh-lime); }
.gh-px__toggle:focus-visible { outline:3px solid var(--gh-water); outline-offset:3px; }
.gh-px__outro { max-width:900px; margin-inline:auto; padding:clamp(60px,9vw,120px) 24px; text-align:center; }
.gh-px__outro p { font:400 clamp(2.4rem,5vw,5rem)/1.12 var(--gh-serif); letter-spacing:-.04em; }
.gh-px__outro em { color:var(--gh-grove); }
.gh-px__outro small { display:block; margin:2rem auto 0; max-width:540px; color:var(--gh-muted); font-size:.72rem; line-height:1.7; }
.gh-parallax--cinema .gh-px__visual { grid-template-columns:1fr; }
.gh-parallax--cinema .gh-px__layer { height:clamp(330px,55vw,720px); }
.gh-parallax--cinema .gh-px__layer figcaption { display:none; }
.gh-parallax--diptico .gh-px__visual { grid-template-columns:1.2fr 1fr; }
.gh-parallax--capas .gh-px__layer--main { z-index:2; }
.gh-parallax--capas .gh-px__layer--front { z-index:3; }
/* Enhanced only after geometry is measured. The track uses stable viewport units. */
.gh-parallax.is-enhanced .gh-px__track { height:calc(var(--px-stage) + var(--px-travel)); }
.gh-parallax.is-enhanced .gh-px__stage { position:sticky; top:var(--gh-px-top,0px); height:var(--px-stage); padding-block:24px; }
.gh-parallax.is-enhanced .gh-px__frame { display:flex; flex-direction:column; height:100%; }
.gh-parallax.is-enhanced .gh-px__heading { flex-shrink:0; margin-bottom:16px; }
.gh-parallax.is-enhanced .gh-px__heading h2 { font-size:clamp(2.1rem,4.1vw,4.5rem); }
.gh-parallax.is-enhanced .gh-px__heading p { margin-top:.75rem; }
.gh-parallax.is-enhanced .gh-px__visual { flex:1; min-height:0; display:block; perspective:1200px; }
.gh-parallax.is-enhanced .gh-px__layer { position:absolute; height:100%; will-change:auto; }
.gh-parallax.is-near.is-enhanced .gh-px__layer, .gh-parallax.is-near.is-enhanced .gh-px__photo img { will-change:transform; }
.gh-parallax.is-enhanced .gh-px__meter { display:block; }
.gh-parallax--cinema.is-enhanced .gh-px__heading { position:absolute; left:clamp(24px,6%,96px); bottom:clamp(90px,15%,150px); max-width:640px; color:#fff; text-align:left; margin:0; pointer-events:none; }
.gh-parallax--cinema.is-enhanced .gh-px__heading h2 { font-size:clamp(2.5rem,5.6vw,6rem); }
.gh-parallax--cinema.is-enhanced .gh-px__layer { inset:0; }
.gh-parallax--cinema.is-enhanced .gh-px__photo::after { content:""; position:absolute; inset:0; background:linear-gradient(90deg,#10312b9c,transparent 90%),linear-gradient(0deg,#10312ba8,transparent 85%); }
.gh-parallax--cinema.is-enhanced .gh-px__heading .gh-px__eyebrow { color:var(--gh-lime); }
.gh-parallax--capas.is-enhanced .gh-px__layer--main { width:48%; height:86%; left:26%; top:4%; }
.gh-parallax--capas.is-enhanced .gh-px__layer--back { width:23%; height:72%; left:0; top:10%; }
.gh-parallax--capas.is-enhanced .gh-px__layer--front { width:23%; height:67%; right:0; top:18%; }
.gh-parallax--diptico.is-enhanced .gh-px__layer--left { left:0; width:55%; height:88%; top:0; }
.gh-parallax--diptico.is-enhanced .gh-px__layer--right { right:0; width:42%; height:88%; bottom:0; }
.gh-parallax.is-static .gh-px__hint { display:none; }
.gh-px-demo-nav { display:flex; justify-content:space-between; align-items:center; gap:20px; max-width:1600px; padding:24px clamp(20px,4vw,64px); margin:auto; font-size:.72rem; }
.gh-px-demo-nav img { display:block; width:190px; height:auto; }
.gh-px-demo-intro { max-width:980px; margin:auto; padding:clamp(60px,9vw,140px) 24px; text-align:center; }
.gh-px-demo-intro h1 { font-size:clamp(3.5rem,8vw,7rem); line-height:1.05; }
.gh-px-demo-intro em { color:var(--gh-grove); }
.gh-px-demo-intro p { max-width:620px; margin:1.5rem auto 2rem; line-height:1.8; color:var(--gh-muted); }
.gh-px-demo-links { display:flex; flex-wrap:wrap; gap:1rem; justify-content:center; padding:40px 20px 70px; font-size:.8rem; }
.gh-px-demo-links a { padding:12px 18px; border:1px solid var(--gh-line); border-radius:30px; }
.gh-px-demo-links [aria-current] { color:#fff !important; background:var(--gh-forest); }
.gh-px-lab { max-width:1120px; margin:auto; padding:40px clamp(20px,4vw,60px); }
.gh-px-lab__heading { display:grid; grid-template-columns:1fr 1fr; align-items:end; gap:24px; }
.gh-px-lab__heading h2 { font-size:clamp(2rem,3vw,3rem); margin:0; }
.gh-px-lab__heading p { font-size:.9rem; line-height:1.7; color:var(--gh-muted); }
.gh-px-lab__fields { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; margin-block:32px; }
.gh-px-lab__fields label { display:flex; flex-direction:column; gap:8px; font-size:.85rem; min-width:0; }
.gh-px-lab__fields label > span { color:var(--gh-muted); font-size:.72rem; }
.gh-px-lab__fields input { min-height:44px; width:100%; accent-color:var(--gh-grove); }
.gh-px-lab__fields select { width:100%; min-height:48px; border:1px solid var(--gh-line); border-radius:12px; padding:10px 38px 10px 14px; background-color:var(--gh-white); color:var(--gh-forest); font:400 .8rem/1.5 var(--gh-sans); }
.gh-px-lab__status { min-height:2.5em; font-size:.8rem; line-height:1.7; color:var(--gh-muted); }
.gh-px-catalog { display:grid; gap:48px; }
.gh-px-catalog__image { display:block; position:relative; border-radius:24px; overflow:hidden; aspect-ratio:2 / 1; }
.gh-px-catalog__image img { width:100%; height:100%; object-fit:cover; }
.gh-px-catalog__image > .gh-px-catalog__label { position:absolute; inset:auto 0 0; padding:40px 24px 20px; color:#fff; background:linear-gradient(transparent,#10312be6); font-size:.85rem; }
.gh-px-catalog__image b { float:right; }
.gh-px-catalog h2 { font-family:var(--gh-serif) !important; font-size:clamp(2rem,3vw,3rem); margin:1.5rem 0 1rem; }
.gh-px-catalog p { color:var(--gh-muted); line-height:1.8; }
.gh-px-table { overflow:auto; margin-block:24px; }
.gh-px-table table { width:100%; font-size:.8rem; }
.gh-px-table caption { caption-side:top; }
.gh-px-table td, .gh-px-table th { padding:16px; vertical-align:top; border-bottom:1px solid var(--gh-line); text-align:left; }
@media (max-width:767px) {
  .gh-px__stage { padding:20px; }
  .gh-parallax.is-enhanced .gh-px__stage { padding-block:20px; }
  .gh-px__heading .gh-px__eyebrow { font-size:.58rem; margin-bottom:.65rem; }
  .gh-parallax.is-enhanced .gh-px__heading h2 { font-size:clamp(1.9rem,7.8vw,2.8rem); }
  .gh-px__heading p { font-size:.85rem; }
  .gh-px__visual { gap:12px; grid-template-columns:1fr; }
  .gh-px__layer { height:320px; }
  .gh-parallax--diptico .gh-px__visual { grid-template-columns:1fr; }
  .gh-parallax--capas.is-enhanced .gh-px__layer--main { width:100%; height:57%; left:0; top:0; }
  .gh-parallax--capas.is-enhanced .gh-px__layer--back { width:48%; height:36%; left:0; top:auto; bottom:0; }
  .gh-parallax--capas.is-enhanced .gh-px__layer--front { width:48%; height:36%; right:0; top:auto; bottom:0; }
  .gh-parallax--capas.is-enhanced .gh-px__layer--main figcaption strong { font-size:1.65rem; }
  .gh-parallax--capas.is-enhanced .gh-px__layer:not(.gh-px__layer--main) figcaption { padding:2rem .8rem .8rem; }
  .gh-parallax--capas.is-enhanced .gh-px__layer:not(.gh-px__layer--main) figcaption strong { display:none; }
  .gh-px__layer figcaption span { font-size:.54rem; }
  .gh-parallax--diptico.is-enhanced .gh-px__layer--left { width:100%; height:48%; }
  .gh-parallax--diptico.is-enhanced .gh-px__layer--right { width:100%; height:48%; }
  .gh-parallax--cinema.is-enhanced .gh-px__heading { left:24px; right:24px; bottom:110px; }
  .gh-parallax--cinema.is-enhanced .gh-px__heading h2 { font-size:clamp(2.3rem,9vw,3.6rem); }
  .gh-px__meter { display:none !important; }
  .gh-px__toolbar { gap:8px; }
  .gh-px__hint { font-size:.6rem; }
  .gh-px__toggle { font-size:.62rem; padding:.6rem .8rem; }
  .gh-px-demo-nav { flex-wrap:wrap; justify-content:center; }
  .gh-px-demo-nav > span { display:none; }
  .gh-px-demo-nav img { width:155px; }
  .gh-px-lab__heading { grid-template-columns:1fr; }
  .gh-px-lab__fields { grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px 16px; }
}
@media (prefers-reduced-motion:reduce), (max-height:540px) {
  .gh-parallax.is-enhanced .gh-px__track { height:auto; }
  .gh-parallax.is-enhanced .gh-px__stage { position:relative; height:auto; }
}
/* Full-width planar canvas. PNG shapes share one scene, never separate photo cards. */
.gh-parallax--png { --px-stage:calc(100svh - var(--gh-px-top,0px)); background:var(--gh-px-canvas-bg,var(--gh-cream)); }
.gh-parallax.gh-parallax--png .gh-px__stage { padding:0; height:var(--px-stage); min-height:640px; }
.gh-parallax.gh-parallax--png.is-enhanced .gh-px__stage { min-height:0; padding:0; }
.gh-parallax--png .gh-px__frame { width:100%; max-width:none; height:100%; isolation:isolate; }
.gh-parallax--png .gh-px__visual, .gh-parallax--png.is-enhanced .gh-px__visual { position:absolute; inset:0; width:100%; height:100%; display:block; overflow:hidden; z-index:0; isolation:isolate; perspective:none; background:radial-gradient(ellipse at 75% 44%,#eade9840,transparent 60%); }
.gh-parallax--png .gh-px__heading, .gh-parallax--png.is-enhanced .gh-px__heading { position:absolute; top:clamp(28px,6svh,80px); left:clamp(24px,6vw,160px); right:24px; max-width:800px; margin:0; text-align:left; pointer-events:none; z-index:5; }
.gh-parallax--png .gh-px__heading h2, .gh-parallax--png.is-enhanced .gh-px__heading h2 { font:400 clamp(2.5rem,4.8vw,6rem)/1.05 var(--gh-serif); letter-spacing:-.045em; }
.gh-parallax--png .gh-px__heading p { font-size:1rem; max-width:320px; }
.gh-parallax--png .gh-px__layer--plane, .gh-parallax--png.is-enhanced .gh-px__layer--plane { position:absolute; inset:auto; left:var(--gh-px-layer-left); top:var(--gh-px-layer-top); width:var(--gh-px-layer-width); height:var(--gh-px-layer-height); z-index:var(--gh-px-layer-z); opacity:var(--gh-px-layer-opacity,1); margin:0; border:0; border-radius:0; background:none; box-shadow:none; overflow:visible; pointer-events:none; }
.gh-parallax--png .gh-px__photo { overflow:visible; border-radius:0; }
.gh-parallax--png .gh-px__photo img { object-fit:contain; object-position:var(--gh-px-position,50% 100%); filter:drop-shadow(0 16px 24px #10312b16); }
.gh-parallax--png .gh-px__layer--conjunto { --gh-px-position:50% 50%; --gh-px-layer-left:58%; --gh-px-layer-top:7%; --gh-px-layer-width:40%; --gh-px-layer-height:52%; --gh-px-layer-z:1; --gh-px-layer-opacity:.38; mask-image:radial-gradient(ellipse at center,#000 30%,transparent 72%); }
.gh-parallax--png .gh-px__layer--arquitectura { --gh-px-layer-left:12%; --gh-px-layer-top:15%; --gh-px-layer-width:94%; --gh-px-layer-height:77%; --gh-px-layer-z:2; }
.gh-parallax--png .gh-px__layer--espacios { --gh-px-position:50% 50%; --gh-px-layer-left:7%; --gh-px-layer-top:34%; --gh-px-layer-width:23%; --gh-px-layer-height:57%; --gh-px-layer-z:3; }
.gh-parallax--png .gh-px__toolbar { position:absolute; bottom:20px; left:clamp(24px,6vw,160px); right:clamp(24px,6vw,160px); z-index:6; color:var(--gh-forest); }
.gh-parallax--png .gh-px__toggle { background:var(--gh-cream); }
.gh-parallax--png .gh-px__toggle:hover { background:var(--gh-lime); }
.gh-px-catalog__image--png { background:var(--gh-cream); }
.gh-px-catalog__image--png img { object-fit:contain; }
.gh-px-lab__planes { border:1px solid var(--gh-line); padding:24px; border-radius:20px; margin-bottom:24px; }
.gh-px-lab__planes legend { float:none; width:auto; padding:0 10px; font-size:1rem; }
.gh-px-lab__plane-picker { display:flex; align-items:center; flex-wrap:wrap; gap:16px; font-size:.85rem; }
.gh-px-lab__plane-picker select { min-width:200px; min-height:44px; border:1px solid var(--gh-line); border-radius:12px; background:var(--gh-white); color:var(--gh-forest); padding:8px 36px 8px 12px; }
.gh-px-lab__planes p { margin:0; font-size:.8rem; line-height:1.7; color:var(--gh-muted); }
@media (max-width:767px) {
  .gh-parallax--png .gh-px__heading, .gh-parallax--png.is-enhanced .gh-px__heading { top:30px; left:24px; right:24px; }
  .gh-parallax--png .gh-px__heading h2, .gh-parallax--png.is-enhanced .gh-px__heading h2 { font-size:clamp(2.3rem,9.5vw,3.8rem); }
  .gh-parallax--png .gh-px__heading p { font-size:.85rem; }
  .gh-parallax--png .gh-px__layer--conjunto { --gh-px-layer-left:34%; --gh-px-layer-top:23%; --gh-px-layer-width:68%; --gh-px-layer-height:34%; --gh-px-layer-opacity:.5; }
  .gh-parallax--png .gh-px__layer--arquitectura { --gh-px-layer-left:-16%; --gh-px-layer-top:42%; --gh-px-layer-width:142%; --gh-px-layer-height:46%; }
  .gh-parallax--png .gh-px__layer--espacios { --gh-px-layer-left:4%; --gh-px-layer-top:34%; --gh-px-layer-width:35%; --gh-px-layer-height:34%; }
  .gh-parallax--png .gh-px__toolbar { left:20px; right:20px; bottom:16px; }
  .gh-px-lab__planes { padding:20px 14px; }
}
@media (max-height:540px) and (min-width:768px) {
  .gh-parallax--png .gh-px__heading h2 { font-size:2.8rem; }
}
/* Three additive models. Static-first; scroll transforms belong to the shared controller. */
.gh-parallax--portal .gh-px__visual { grid-template-columns:repeat(2,minmax(0,1fr)); }
.gh-parallax--portal.is-enhanced .gh-px__visual { overflow:hidden; border-radius:var(--gh-px-radius,28px); clip-path:inset(0 var(--px-reveal,0%) round calc(48% * (1 - var(--px-opening,1))) calc(48% * (1 - var(--px-opening,1)))); }
.gh-parallax--portal.is-enhanced .gh-px__layer { inset:0; width:100%; height:100%; border-radius:0; box-shadow:none; }
.gh-parallax--portal.is-enhanced .gh-px__layer--portal-first { z-index:1; }
.gh-parallax--portal.is-enhanced .gh-px__layer--portal-last { z-index:2; }
.gh-parallax--portal.is-enhanced .gh-px__layer figcaption { display:none; }
.gh-parallax--portal .gh-px__heading { max-width:1020px; }
.gh-parallax--abanico { background:var(--gh-forest); color:var(--gh-cream); }
.gh-parallax--abanico .gh-px__eyebrow, .gh-parallax--abanico .gh-px__outro em { color:var(--gh-lime); }
.gh-parallax--abanico .gh-px__outro small { color:#fff9; }
.gh-parallax--abanico .gh-px__meter { background:#ffffff30; }
.gh-parallax--abanico .gh-px__meter i { background:var(--gh-lime); }
.gh-parallax--abanico .gh-px__toggle { border-color:#ffffff45; }
.gh-parallax--abanico .gh-px__toggle:hover { color:var(--gh-forest); }
.gh-px__halo { display:none; }
.gh-parallax--abanico.is-enhanced .gh-px__visual { overflow:hidden; isolation:isolate; }
.gh-parallax--abanico.is-enhanced .gh-px__halo { display:block; position:absolute; width:70%; height:70%; left:15%; top:15%; border:1px solid #a1d18430; border-radius:50%; transform:scale(calc(.7 + var(--px-opening,0) * .45)); background:radial-gradient(ellipse,#29513590,transparent 70%); pointer-events:none; }
.gh-parallax--abanico.is-enhanced .gh-px__layer { box-shadow:0 24px 60px -28px #0008; }
.gh-parallax--abanico.is-enhanced .gh-px__layer--fan-left { width:30%; height:76%; left:calc(28% - 25% * var(--gh-px-fan-spread,1)); top:12%; z-index:1; }
.gh-parallax--abanico.is-enhanced .gh-px__layer--fan-center { width:42%; height:92%; left:29%; top:4%; z-index:3; }
.gh-parallax--abanico.is-enhanced .gh-px__layer--fan-right { width:30%; height:76%; right:calc(28% - 25% * var(--gh-px-fan-spread,1)); top:12%; z-index:2; }
.gh-parallax--abanico.is-enhanced .gh-px__layer:not(.gh-px__layer--fan-center) figcaption strong { display:none; }
.gh-parallax--abanico.is-enhanced .gh-px__layer--fan-right figcaption { text-align:right; }
.gh-parallax--travesia .gh-px__visual { display:block; }
.gh-px__rail { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:var(--gh-px-gap,24px); }
.gh-parallax--travesia.is-enhanced .gh-px__visual { overflow:hidden; border-radius:var(--gh-px-radius,28px); perspective:none; }
.gh-parallax--travesia.is-enhanced .gh-px__rail { display:flex; width:100%; height:100%; gap:var(--gh-px-gap,24px); }
.gh-parallax--travesia.is-enhanced .gh-px__layer { position:relative; flex:0 0 var(--gh-px-card-width,76%); height:100%; box-shadow:none; }
.gh-parallax--travesia.is-near.is-enhanced .gh-px__rail { will-change:transform; }
.gh-parallax--travesia .gh-px__layer figcaption { padding:5rem clamp(24px,4vw,60px) clamp(24px,3vw,44px); }
.gh-parallax--travesia .gh-px__layer figcaption strong { font:400 clamp(2rem,3.5vw,4rem)/1.1 var(--gh-serif); max-width:600px; }
@media (max-width:767px) {
  .gh-parallax--portal .gh-px__visual, .gh-px__rail { grid-template-columns:1fr; }
  .gh-parallax--abanico.is-enhanced .gh-px__layer--fan-left { width:72%; height:40%; left:calc(12% - 10% * var(--gh-px-fan-spread,1)); top:3%; }
  .gh-parallax--abanico.is-enhanced .gh-px__layer--fan-center { width:76%; height:42%; left:12%; top:29%; }
  .gh-parallax--abanico.is-enhanced .gh-px__layer--fan-right { width:72%; height:40%; right:calc(12% - 10% * var(--gh-px-fan-spread,1)); top:57%; }
  .gh-parallax--abanico.is-enhanced .gh-px__layer figcaption { padding:2rem 1rem 1rem; }
  .gh-parallax--abanico.is-enhanced .gh-px__layer:not(.gh-px__layer--fan-center) figcaption strong { display:none; }
  .gh-parallax--abanico.is-enhanced .gh-px__layer--fan-left figcaption { inset:0 0 auto; padding:1rem 1rem 2rem; background:linear-gradient(#10312be6,transparent); }
  .gh-parallax--abanico.is-enhanced .gh-px__layer--fan-center figcaption strong { font-size:1.5rem; }
  .gh-parallax--travesia.is-enhanced .gh-px__layer { flex-basis:var(--gh-px-card-width,88%); }
  .gh-parallax--travesia .gh-px__layer figcaption { padding:4rem 20px 24px; }
  .gh-parallax--travesia .gh-px__layer figcaption strong { font-size:clamp(1.75rem,7vw,2.7rem); }
}
/* Five additive card collections. Same measured scroll engine; static-first grids. */
.gh-parallax--cards { --px-stage:min(1000px,calc(100svh - var(--gh-px-top,0px))); }
.gh-parallax--cards .gh-px__visual,
.gh-parallax--cards.is-enhanced .gh-px__visual { display:grid; gap:var(--gh-px-gap,20px); perspective:none; isolation:isolate; }
.gh-parallax--cards .gh-px__layer { box-shadow:0 18px 36px -24px #10312b60; }
.gh-parallax--cards.is-enhanced .gh-px__layer { position:relative; inset:auto; width:100%; height:100%; min-height:0; }
.gh-parallax--cards .gh-px__heading h2 { text-wrap:balance; }
.gh-parallax--cards .gh-px__heading { max-width:1000px; }
.gh-parallax--cards .gh-px__layer figcaption { padding:3rem clamp(16px,2vw,28px) clamp(16px,2vw,24px); background:linear-gradient(transparent,#10312bd9 38%,#10312bf5); }
.gh-parallax--cards .gh-px__layer figcaption strong { font:400 clamp(1.4rem,2vw,2.3rem)/1.12 var(--gh-serif); text-wrap:balance; }
/* Bento: a portrait anchor + four smaller scenes. */
.gh-parallax--mosaico .gh-px__visual { grid-template-columns:repeat(4,minmax(0,1fr)); }
.gh-parallax--mosaico .gh-px__card--1 { grid-column:1 / 3; grid-row:1 / 3; height:auto; min-height:420px; }
.gh-parallax--mosaico .gh-px__layer:not(.gh-px__card--1) { height:240px; }
.gh-parallax--mosaico.is-enhanced .gh-px__visual { grid-template-rows:repeat(2,minmax(0,1fr)); }
.gh-parallax--mosaico.is-enhanced .gh-px__layer { height:100%; min-height:0; }
.gh-parallax--mosaico .gh-px__card--1 figcaption strong { font-size:clamp(1.8rem,3vw,3.5rem); }
/* Paper captions do not move independently of their photos. */
.gh-parallax--postales { background:#efeee4; }
.gh-parallax--postales .gh-px__visual { grid-template-columns:repeat(3,minmax(0,1fr)); align-items:stretch; }
.gh-parallax--postales .gh-px__layer { display:flex; flex-direction:column; height:480px; border-radius:12px; padding:12px; background:var(--gh-white); }
.gh-parallax--postales .gh-px__photo { position:relative; inset:auto; width:100%; flex:1; min-height:0; border-radius:5px; }
.gh-parallax--postales .gh-px__layer figcaption { position:relative; inset:auto; padding:16px 8px 8px; color:var(--gh-forest); background:none; flex-shrink:0; }
.gh-parallax--postales .gh-px__layer figcaption span { color:var(--gh-grove); }
.gh-parallax--postales .gh-px__layer figcaption strong { font-size:clamp(1.4rem,2vw,2.1rem); }
.gh-parallax--postales.is-enhanced .gh-px__visual { padding:12px 0; }
/* Architectural arches, with sufficient inner space for captions. */
.gh-parallax--ventanas { background:var(--gh-sand); }
.gh-parallax--ventanas .gh-px__visual { grid-template-columns:repeat(3,minmax(0,1fr)); gap:clamp(16px,3vw,40px); }
.gh-parallax--ventanas .gh-px__layer { border-radius:50% 50% 24px 24px / 38% 38% 24px 24px; height:520px; }
.gh-parallax--ventanas .gh-px__layer::after { content:""; position:absolute; inset:10px; border:1px solid #eade9860; border-radius:inherit; pointer-events:none; }
.gh-parallax--ventanas .gh-px__layer figcaption { text-align:center; padding-bottom:28px; }
.gh-parallax--ventanas .gh-px__layer figcaption strong { font-size:clamp(1.7rem,3vw,3.5rem); }
/* Organic orbit, tall central card, capsule and satellite. */
.gh-parallax--orbitas { color:var(--gh-cream); background:var(--gh-forest); }
.gh-parallax--orbitas .gh-px__eyebrow, .gh-parallax--orbitas .gh-px__outro em { color:var(--gh-lime); }
.gh-parallax--orbitas .gh-px__outro small { color:#ffffffb3; }
.gh-parallax--orbitas .gh-px__meter { background:#ffffff30; }
.gh-parallax--orbitas .gh-px__meter i { background:var(--gh-lime); }
.gh-parallax--orbitas .gh-px__toggle { border-color:#ffffff45; }
.gh-parallax--orbitas .gh-px__toggle:hover { color:var(--gh-forest); }
.gh-parallax--orbitas .gh-px__visual { grid-template-columns:1fr 1.2fr 1fr; }
.gh-parallax--orbitas .gh-px__layer { height:250px; box-shadow:none; background:transparent; overflow:visible; display:flex; flex-direction:column; }
.gh-parallax--orbitas .gh-px__card--1 { grid-column:1; grid-row:1 / 3; height:auto; min-height:430px; justify-content:center; }
.gh-parallax--orbitas .gh-px__card--2 { grid-column:2; grid-row:1 / 3; height:auto; min-height:430px; }
.gh-parallax--orbitas .gh-px__photo { position:relative; inset:auto; min-height:0; flex:1; border-radius:var(--gh-px-radius,28px); }
.gh-parallax--orbitas .gh-px__card--1 .gh-px__photo { flex:none; aspect-ratio:1; height:auto; max-height:calc(100% - 90px); border-radius:50%; }
.gh-parallax--orbitas .gh-px__card--3 .gh-px__photo { border-radius:80px 24px 80px 24px; }
.gh-parallax--orbitas .gh-px__card--4 .gh-px__photo { border-radius:24px 80px 24px 80px; }
.gh-parallax--orbitas .gh-px__layer figcaption { position:relative; inset:auto; padding:12px 4px 4px; background:none; flex-shrink:0; }
.gh-parallax--orbitas .gh-px__layer figcaption strong { font-size:clamp(1.25rem,1.8vw,2rem); }
.gh-parallax--orbitas.is-enhanced .gh-px__visual { grid-template-rows:repeat(2,minmax(0,1fr)); }
.gh-parallax--orbitas.is-enhanced .gh-px__layer { min-height:0; }
/* Wide ribbons, counter motion without a horizontal page scroller. */
.gh-parallax--bandas .gh-px__visual { grid-template-columns:1.15fr 1fr; }
.gh-parallax--bandas .gh-px__layer { height:260px; border-radius:80px 24px 80px 24px; }
.gh-parallax--bandas .gh-px__layer:nth-child(even) { border-radius:24px 80px 24px 80px; }
.gh-parallax--bandas .gh-px__layer figcaption { padding:3rem 36px 24px; }
.gh-parallax--bandas.is-enhanced .gh-px__visual { grid-template-rows:repeat(2,minmax(0,1fr)); }
/* Catalog previews reproduce each layout instead of showing the same cover. */
.gh-px-catalog__image--cards { background:var(--gh-cream); padding:16px 16px 60px; }
.gh-px-catalog__preview { display:grid; height:100%; gap:10px; grid-template-columns:repeat(3,minmax(0,1fr)); }
.gh-px-catalog__preview img { display:block; min-width:0; min-height:0; border-radius:12px; }
.gh-px-catalog__preview--mosaico { grid-template-columns:repeat(4,minmax(0,1fr)); grid-template-rows:repeat(2,minmax(0,1fr)); }
.gh-px-catalog__preview--mosaico img:first-child { grid-column:span 2; grid-row:span 2; }
.gh-px-catalog__preview--postales img { border:8px solid var(--gh-white); border-bottom-width:24px; border-radius:4px; }
.gh-px-catalog__preview--ventanas img { border-radius:50% 50% 12px 12px / 40% 40% 12px 12px; }
.gh-px-catalog__preview--orbitas { grid-template-columns:1fr 1.2fr 1fr; grid-template-rows:repeat(2,minmax(0,1fr)); }
.gh-px-catalog__preview--orbitas img:first-child, .gh-px-catalog__preview--orbitas img:nth-child(2) { grid-row:span 2; }
.gh-px-catalog__preview--orbitas img:first-child { border-radius:50%; align-self:center; aspect-ratio:1; height:auto; }
.gh-px-catalog__preview--bandas { grid-template-columns:repeat(2,minmax(0,1fr)); grid-template-rows:repeat(2,minmax(0,1fr)); }
.gh-px-catalog__preview--bandas img { border-radius:36px 12px 36px 12px; }
@media (max-width:767px) {
  .gh-parallax--cards .gh-px__visual, .gh-parallax--cards.is-enhanced .gh-px__visual { gap:var(--gh-px-gap,12px); }
  .gh-parallax--cards .gh-px__heading p { max-width:260px; margin-inline:auto; }
  .gh-parallax--cards .gh-px__layer figcaption { padding:2rem 12px 12px; }
  .gh-parallax--cards .gh-px__layer figcaption strong { font-size:clamp(1.15rem,4.6vw,1.55rem); }
  .gh-parallax--cards .gh-px__layer figcaption span { font-size:.56rem; letter-spacing:.08em; }
  .gh-parallax--mosaico .gh-px__visual { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .gh-parallax--mosaico .gh-px__card--1 { grid-column:1 / -1; grid-row:1; min-height:240px; }
  .gh-parallax--mosaico.is-enhanced .gh-px__visual { grid-template-rows:1.2fr 1fr 1fr; }
  .gh-parallax--mosaico.is-enhanced .gh-px__card--1 { min-height:0; }
  .gh-parallax--mosaico .gh-px__card--1 figcaption strong { font-size:1.7rem; }
  .gh-parallax--postales .gh-px__visual { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .gh-parallax--postales .gh-px__card--1 { grid-column:1 / -1; }
  .gh-parallax--postales .gh-px__layer { height:340px; padding:8px; }
  .gh-parallax--postales.is-enhanced .gh-px__visual { grid-template-rows:1.1fr 1fr; padding:0; }
  .gh-parallax--postales .gh-px__layer figcaption { padding:10px 4px 4px; }
  .gh-parallax--postales .gh-px__layer:not(.gh-px__card--1) figcaption strong { font-size:1.16rem; }
  .gh-parallax--postales .gh-px__layer figcaption span { font-size:.5rem; }
  .gh-parallax--ventanas .gh-px__visual { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .gh-parallax--ventanas .gh-px__card--1 { grid-column:1 / -1; border-radius:50% 50% 24px 24px / 60% 60% 24px 24px; height:340px; }
  .gh-parallax--ventanas .gh-px__layer { height:280px; }
  .gh-parallax--ventanas.is-enhanced .gh-px__visual { grid-template-rows:1.1fr 1fr; }
  .gh-parallax--ventanas .gh-px__layer figcaption { padding:2rem 12px 20px; }
  .gh-parallax--ventanas .gh-px__layer::after { inset:7px; }
  .gh-parallax--orbitas .gh-px__visual { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .gh-parallax--orbitas .gh-px__card--1, .gh-parallax--orbitas .gh-px__card--2 { grid-column:auto; grid-row:auto; min-height:0; height:300px; }
  .gh-parallax--orbitas .gh-px__layer { height:260px; }
  .gh-parallax--orbitas .gh-px__card--1 .gh-px__photo { max-height:calc(100% - 80px); }
  .gh-parallax--orbitas .gh-px__layer figcaption { padding:10px 2px 2px; }
  .gh-parallax--orbitas .gh-px__layer figcaption strong { font-size:1.2rem; }
  .gh-parallax--orbitas .gh-px__layer figcaption span { font-size:.5rem; }
  .gh-parallax--bandas .gh-px__visual { grid-template-columns:1fr; }
  .gh-parallax--bandas.is-enhanced .gh-px__visual { grid-template-rows:repeat(4,minmax(0,1fr)); }
  .gh-parallax--bandas .gh-px__layer { height:200px; border-radius:44px 16px 44px 16px; }
  .gh-parallax--bandas .gh-px__layer:nth-child(even) { border-radius:16px 44px 16px 44px; }
  .gh-parallax--bandas .gh-px__layer figcaption { padding:2rem 20px 14px; }
  .gh-px-catalog__image--cards { aspect-ratio:1.4; padding:12px 12px 56px; }
  .gh-px-catalog__preview { gap:6px; }
}
