/* The existing stacked hero composition starts at 58rem. Desktop is untouched. */
@media (max-width:58rem) {
 .rf-hero-stage{padding:clamp(6.75rem,11svh,8rem) var(--rf-edge) 4.5rem;min-height:100svh}
 .rf-hero-stage:before{background:none}
 .rf-hero .rf-hero-video{position:absolute;inset:0;width:100%;height:100%;max-height:none}
 .rf-hero-video video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:48% center}
 .rf-hero-grid{gap:clamp(11rem,24svh,17rem);min-height:0}
 .rf-hero-copy{position:relative;isolation:isolate;max-width:37rem}
 .rf-hero-copy:before{content:'';position:absolute;z-index:-1;inset:-2rem calc(-1 * var(--rf-edge)) -1.5rem;background:linear-gradient(90deg,#f6f7f3f5,#f6f7f3eb 64%,#f6f7f3c7);mask-image:linear-gradient(180deg,transparent,#000 1.5rem,#000 calc(100% - 2rem),transparent);pointer-events:none}
 .rf-hero-copy>.rf-label{margin-bottom:.8rem}
 .rf-hero-title{font-size:clamp(2rem,calc(1.2rem + 3.9vw),3.25rem);line-height:1.04;max-width:18ch}
 .rf-hero-subcopy{font-size:clamp(.94rem,calc(.85rem + .35vw),1.05rem);line-height:1.45;margin-top:1rem;max-width:33rem}
 .rf-hero-actions{margin-top:1.1rem;gap:.35rem}
 .rf-hero .rf-buttons,.rf-hero .rf-whatsapp{width:min(100%,26rem)}
 .rf-hero .rf-whatsapp .wp-block-button__link{min-height:58px}
 .rf-hero .rf-secondary{margin:0}
 .rf-hero .rf-secondary a{padding-block:.8rem}
 .rf-hero .rf-quick-stack{position:relative;isolation:isolate;width:min(100%,27rem);max-width:none;justify-self:end;margin:0}
 .rf-quick-stack:before{content:'';position:absolute;z-index:-1;inset:-3rem calc(-1 * var(--rf-edge)) -2rem;background:radial-gradient(ellipse at center,#f6f7f3f5 30%,#f6f7f3e6 65%,#f6f7f300 100%);mask-image:linear-gradient(180deg,transparent,#000 3rem,#000 calc(100% - 2rem),transparent);pointer-events:none}
 .rf-hero .rf-quick .kear-form-grid{grid-template-columns:1fr;gap:.65rem}
 .rf-hero .rf-quick .kear-field input{height:46px;min-height:46px}
 .rf-hero .rf-quick .kear-field textarea{height:76px;min-height:76px}
 .rf-hero .rf-quick .kear-submit{min-height:48px}
 .rf-hero .rf-video-toggle{top:auto;bottom:1rem;right:var(--rf-edge)}
 .rf-hero-meta .rf-micro{color:#142e3b;text-shadow:0 1px 3px #fff}
 .editor-styles-wrapper .rf-hero .rf-hero-video{height:100%!important}
}
@media (min-width:35.01rem) and (max-width:58rem) {
 .rf-hero-copy:before{right:-8rem;background:linear-gradient(90deg,#f6f7f3f5,#f6f7f3eb 65%,#f6f7f300)}
}
/* A narrow text measure needs a full-width CTA and a calmer single column. */
@media (max-width:35rem) {
 .rf-hero .rf-buttons,.rf-hero .rf-whatsapp{width:100%}
 .rf-hero-title{font-size:clamp(1.9rem,calc(1.2rem + 3.9vw),2.6rem)}
 .rf-hero-video video{object-position:60% center}
 .rf-hero .rf-quick-stack{width:100%}
 .rf-hero-grid{gap:clamp(10rem,23svh,14rem)}
}
@media (max-width:35rem) and (max-height:38rem) {
 .rf-hero-stage{padding-top:6rem}
 .rf-hero-copy>.rf-label{margin-bottom:.6rem}
 .rf-hero-subcopy{margin-top:.75rem}
 .rf-hero-actions{margin-top:.8rem}
}
