/* Minimal presentation maintenance on the existing KEAR composition. */
.rf-header .rf-logo,.rf-header.is-scrolled .rf-logo {
 --rf-logo-width:clamp(110px,9vw,132px);width:var(--rf-logo-width);height:calc(var(--rf-logo-width)*.3);
}
.rf-hero-copy{display:flex;flex-direction:column;align-items:flex-start}
.rf-hero-copy>.rf-hero-title{order:0}
.rf-hero-copy>.rf-hero-subcopy{order:1}
.rf-hero-copy>.rf-hero-actions{order:2}
.rf-hero-copy>.rf-label.rf-hero-audience{
 order:3;margin:1rem 0 0;max-width:100%;font-size:clamp(.64rem,.76vw,.76rem);line-height:1.5;letter-spacing:.035em;color:#344a55;
}
.rf-footer-copy{min-width:0}
.rf-footer-copy>p:last-child{max-width:36ch;text-wrap:balance;line-height:1.6}
/* The provided intervention file is already cropped; focus on the control rows. */
.rf-work-main .rf-work-image img{object-position:50% 28%}
#nueva-instalacion .rf-need-image img,.rf-stage-image[data-need="0"] img{object-position:50% 48%}
#mantenimiento-electrico .rf-need-image img,.rf-stage-image[data-need="3"] img{object-position:50% 45%}
@media(max-width:47rem){
 .rf-hero-copy>.rf-label.rf-hero-audience{order:2;margin:.8rem 0 0;font-size:.66rem;color:#344a55}
 .rf-hero-copy>.rf-hero-actions{order:3}
 .rf-work-main .rf-work-image img{object-position:50% 28%}
}

/* Preserve the approved CTA width inside the reordered hero copy. */
.rf-hero-copy>.rf-hero-actions{align-self:stretch}

/* Let the longer institutional claim use the available mobile width. */
@media(max-width:47rem){
 .rf-footer{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:1.25rem 1rem;align-items:center}
 .rf-footer>.rf-logo{grid-column:1;grid-row:1}
 .rf-footer>.rf-footer-copy{grid-column:1/-1;grid-row:2;width:100%;min-width:0}
 .rf-footer>.wp-block-social-links{grid-column:2;grid-row:1;margin:0}
 .rf-footer>p{grid-column:1/-1;grid-row:3;margin:0}
 .rf-footer-copy>p:last-child{max-width:36ch}
}

/* Approved final heading before the existing A/B/C/D group. */
.rf-solutions .rf-strengths-title{font-size:clamp(1.35rem,2.1vw,2rem);font-weight:500;line-height:1.2;letter-spacing:-.025em;margin-top:clamp(2rem,4vw,3rem);margin-bottom:0}
.rf-solutions .rf-strengths-title+.rf-families{margin-top:clamp(1rem,2vw,1.5rem)}

/* Final mobile-only breathing room below the existing hero CTA. */
@media (max-width:47rem){
 .rf-hero .rf-hero-actions{margin-bottom:1rem}
}
