.hero.hero-gallery{isolation:isolate;padding:58px 0 88px;min-height:760px;background:#f4efe7;display:flex;align-items:center}
.hero-gallery .hero-grid{display:block;width:var(--container);position:relative;z-index:2;pointer-events:none}
.hero-gallery .hero-copy{width:39%;max-width:540px;padding:0;pointer-events:auto}
.hero-gallery .hero-copy h1{font-size:clamp(2.6rem,3.8vw,4.2rem);max-width:15ch;line-height:1.02}
.hero-gallery .hero-copy .lead{margin-top:22px}
.hero-gallery .hero-copy p{font-size:14px;line-height:1.7}
.hero-gallery .hero-copy .eyebrow{font-size:10px}
.hero-gallery .hero-subtitle{margin-top:24px}
.hero-gallery::before{z-index:1;background:linear-gradient(90deg,rgba(244,239,231,.97),rgba(244,239,231,.91) 29%,rgba(244,239,231,.65) 38%,transparent 49%)}
.gallery-stage{position:absolute;inset:0;overflow:hidden;z-index:0}
.gallery-slide{position:absolute;inset:0;opacity:0;transition:opacity 1.5s ease;will-change:opacity}
.gallery-slide.is-active{opacity:1}
.gallery-slide img{width:100%;height:100%;object-fit:cover;object-position:62% center;transform-origin:74% 55%;animation:gallery-breathe 18s ease-in-out infinite alternate;animation-play-state:paused}
.hero-gallery.is-playing .gallery-slide.is-active img{animation-play-state:running}
@keyframes gallery-breathe{from{transform:scale(1)}to{transform:scale(1.035)}}
.gallery-controls{position:absolute;right:4%;bottom:22px;z-index:3;display:flex;gap:6px;padding:7px;border:1px solid #ffffff85;background:#f6f0e7df;backdrop-filter:blur(14px);border-radius:5px;box-shadow:0 6px 25px #38291a0d}
.gallery-controls button{background:transparent;border:0;color:#66564a;min-height:44px;padding:10px 13px;cursor:pointer;font:500 10px/1.3 Arial,sans-serif;letter-spacing:.06em;border-radius:3px;transition:background .3s,color .3s}
.gallery-choice span{margin-left:7px}
.gallery-controls .gallery-choice[aria-pressed=true]{background:#825335;color:#fff}
.gallery-controls button:focus-visible{outline:2px solid #825335;outline-offset:3px}
.gallery-controls .gallery-pause{font-size:16px;min-width:44px}
@media(min-width:1700px){.hero.hero-gallery{min-height:850px}}
@media(max-width:1050px){.hero-gallery .hero-copy{width:44%}.hero-gallery .hero-copy h1{font-size:2.7rem}.hero-gallery::before{background:linear-gradient(90deg,#f4efe7 0%,#f4efe7ee 31%,#f4efe7b0 40%,transparent 53%)}.gallery-slide img{object-position:58% center}}
@media(max-width:760px){.hero.hero-gallery{display:block;min-height:0;padding:38px 0 390px}.hero-gallery .hero-copy{width:100%;max-width:none}.hero-gallery .hero-copy h1,html[lang=es] .hero-gallery .hero-copy h1{font-size:clamp(2.4rem,9vw,3.3rem);max-width:17ch}.hero-gallery .hero-copy p{font-size:14px}.hero-gallery .hero-grid{width:calc(100% - 40px)}.gallery-stage{top:auto;height:370px;bottom:0}.gallery-slide img{object-position:right center;object-fit:cover;width:100%;height:100%}.hero-gallery::before{inset:auto 0 300px;height:90px;background:linear-gradient(#f4efe7,transparent)}.gallery-controls{left:12px;right:12px;bottom:12px;justify-content:center;padding:4px}.gallery-controls button{padding:9px 8px;font-size:9px}.hero-gallery .hero-actions{flex-direction:row}.hero-gallery .hero-actions a{flex:1;text-align:center;padding:13px 12px}.hero-gallery .hero-subtitle{margin-top:22px}.hero-gallery .hero-categories{margin-top:16px}}
@media(prefers-reduced-motion:reduce){.gallery-slide{transition:none}.gallery-slide img{animation:none}}
