/* Pérgolas: same Movana palette and type, with the structure as the subject. */
.pergola-hero{position:relative;isolation:isolate;color:var(--paper);min-height:720px;height:90svh;max-height:1100px;overflow:hidden;background:#27352a}
.pergola-hero>img{position:absolute;inset:0;height:100%;z-index:-2;object-position:center}
.pergola-hero:after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#0d1915cc 0%,#0d19158c 48%,#0d191508 85%)}
.pergola-hero-copy{position:absolute;left:7%;top:28%;right:7%}.pergola-hero h1{font-size:clamp(62px,7.5vw,112px);line-height:1.02;max-width:850px}.pergola-hero-copy>p:not(.eyebrow){font-size:19px;margin:28px 0 32px}
.pergola-drawing{background:#e0e4d7}.pergola-drawing figure{margin:0}.pergola-drawing figure img{aspect-ratio:16/9;height:auto}.pergola-drawing>div{display:grid;grid-template-columns:1.15fr 1fr;gap:24px 8%}.pergola-drawing .eyebrow{grid-column:1/-1;margin-bottom:0}.pergola-drawing h2{grid-row:2/4}.pergola-drawing p:not(.eyebrow){font-size:16px;color:var(--muted)}
.pergola-options-list{border-top:1px solid var(--line)}.pergola-options-list article{display:grid;grid-template-columns:1fr 1.2fr;gap:8%;padding:35px 0;border-bottom:1px solid var(--line)}.pergola-options-list h3{font-size:32px}.pergola-options-list p{color:var(--muted)}
.pergola-future{background:var(--ink);color:var(--paper);display:grid;grid-template-columns:1.15fr 1fr;gap:9%}.pergola-future h2{font-size:clamp(36px,4vw,58px)}.pergola-future p:not(.eyebrow){color:#cbd5c4;margin-top:28px}.pergola-future dl{margin:0}.pergola-future dl>div{padding:22px 0;border-top:1px solid #ffffff36}.pergola-future dt{font-size:21px}.pergola-future dd{margin:12px 0 0;font-size:14px;color:#cbd5c4}
.pergola-questions{display:grid;grid-template-columns:1fr 1.1fr;gap:9%}.pergola-questions h2{font-size:clamp(36px,4vw,58px)}.pergola-questions details{border-bottom:1px solid var(--line)}.pergola-questions details:first-child{border-top:1px solid var(--line)}
.pergola-contact{background:var(--ink);color:var(--paper);display:flex;align-items:center;justify-content:space-between;gap:40px}.pergola-contact p:not(.eyebrow){margin-top:25px;color:#cbd5c4}.pergola-contact .button{background:var(--paper);color:var(--ink);flex-shrink:0}.pergola-contact .button:hover{background:#dfd9c9}.pergola-page .site-footer{border-top:1px solid var(--line)}
@media(max-width:900px){.pergola-hero{min-height:680px}.pergola-hero>img{object-position:58% center}.pergola-future,.pergola-questions{gap:6%}}
@media(max-width:600px){.pergola-hero{min-height:680px;height:90svh;max-height:900px}.pergola-hero-copy{top:29%}.pergola-hero h1{font-size:clamp(53px,14vw,78px)}.pergola-hero-copy>p:not(.eyebrow){font-size:16px}.pergola-hero>img{object-position:46% center}.pergola-drawing figure{overflow:hidden}.pergola-drawing figure img{width:100%;aspect-ratio:4/3;object-fit:cover;object-position:center}.pergola-drawing>div,.pergola-future,.pergola-questions{display:block}.pergola-drawing .eyebrow{margin-bottom:24px}.pergola-drawing p:not(.eyebrow){margin-top:24px;font-size:15px}.pergola-options-list article{grid-template-columns:1fr;gap:18px;padding:28px 0}.pergola-options-list h3{font-size:28px}.pergola-options-list p{font-size:15px}.pergola-future dl,.pergola-questions>div{margin-top:35px}.pergola-contact{display:block}.pergola-contact .button{margin-top:30px}.pergola-questions summary{font-size:18px}}

/* Match the home page surfaces: paper, sage and forest contact. */
.pergola-page #posibilidades,.pergola-questions{background:var(--paper);color:var(--ink)}
.pergola-options{background:#e6e9df;color:var(--ink)}
.pergola-contact .eyebrow:before{background:#dbc7a5}

/* Video shares the existing hero framing; its image remains the fallback. */
.pergola-hero-video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;z-index:-2;opacity:0;pointer-events:none}
.pergola-hero-video.is-ready{opacity:1}
.pergola-glass-image{margin:0;background:var(--paper);height:clamp(180px,42vw,600px);overflow:hidden}
.pergola-glass-image img{width:100%;height:100%;object-fit:cover;object-position:center 30%}
@media(max-width:900px){.pergola-hero-video{object-position:58% center}}
@media(max-width:600px){.pergola-hero-video{object-position:46% center}}
@media(prefers-reduced-motion:reduce){.pergola-hero-video{display:none}}
