/* RuGo HOME v077 R5: same-height commercial cards, unchanged v076 navigation. */
/* Passive photograph: original image frame, no control surfaces or new gestures. */
.site-state[data-state-name="cover"] .rugo-r4__frame{position:relative!important;overflow:hidden!important;}
.site-state[data-state-name="cover"] .rugo-r4__frame img{pointer-events:none!important;object-fit:cover!important;}
.site-state[data-state-name="cover"] .rugo-r4__commercial{
 display:flex!important;flex-direction:column!important;align-items:flex-start!important;
 justify-content:center!important;gap:1px!important;margin:0!important;
 color:var(--launch-red,#e1261c)!important;text-align:left!important;white-space:nowrap!important;
 height:100%!important;min-height:0!important;max-height:100%!important;
}
.site-state[data-state-name="cover"] .rugo-r4__micro{
 display:block!important;font-family:var(--launch-font,Arial,sans-serif)!important;
 font-size:clamp(11px,1.1vw,14px)!important;font-weight:800!important;
 line-height:1.1!important;letter-spacing:.045em!important;color:inherit!important;
}
.site-state[data-state-name="cover"] .rugo-r4__value{
 display:block!important;font-family:var(--launch-font,Arial,sans-serif)!important;
 color:inherit!important;font-size:clamp(29px,2.7vw,39px)!important;
 line-height:1.04!important;font-weight:850!important;letter-spacing:-.035em!important;
 font-variant-numeric:tabular-nums!important;
}
.site-state[data-state-name="cover"] .rugo-r4__caption{
 display:block!important;margin:0!important;padding:0!important;
 text-align:left!important;height:var(--r4-commercial-h)!important;
 min-height:var(--r4-commercial-h)!important;max-height:var(--r4-commercial-h)!important;
 overflow:visible!important;
}
/* Desktop: fixed title and price slots; original DESKTOP CTA and panels remain. */
@media(min-width:861px){
 .site-state[data-state-name="cover"] .home-v030__offer.rugo-r4__card{
   --r4-commercial-h:clamp(52px,5.9vh,68px);
   display:flex!important;flex-direction:column!important;align-items:flex-start!important;
   justify-content:flex-start!important;min-height:0!important;padding-bottom:0!important;
 }
 .site-state[data-state-name="cover"] .home-v030__offers:has(> .rugo-r4__card){
   display:grid!important;grid-template-rows:repeat(2,minmax(0,1fr))!important;
   align-items:stretch!important;
 }
 .site-state[data-state-name="cover"] .rugo-r4__card .home-v030__title{
   min-height:clamp(72px,8.1vw,125px)!important;
 }
 .site-state[data-state-name="cover"] .rugo-r4__card .home-v030__cta{
   margin-top:clamp(7px,.8vw,12px)!important;
   align-self:flex-start!important;
 }
}
/* Mobile: two structurally identical content blocks, regardless of slide/copy length. */
@media(max-width:860px){
 .site-state[data-state-name="cover"] .rugo-v035__offer-card.rugo-r4__card{
   --r4-title-h:clamp(53px,13vw,62px);
   --r4-commercial-h:64px;
   --r4-cta-h:44px;
   height:auto!important;min-height:0!important;padding:0!important;
   grid-template-rows:auto auto!important;
 }
 .site-state[data-state-name="cover"] .rugo-r4__card .rugo-v035__offer-meta{
   display:grid!important;grid-template-columns:minmax(0,1fr)!important;
   grid-template-rows:var(--r4-title-h) var(--r4-commercial-h) var(--r4-cta-h)!important;
   gap:5px!important;padding:11px 14px 12px!important;
   align-content:start!important;min-height:0!important;
 }
 .site-state[data-state-name="cover"] .rugo-r4__card .rugo-v035__offer-title{
   display:block!important;align-self:start!important;margin:0!important;
   min-height:var(--r4-title-h)!important;max-height:var(--r4-title-h)!important;
   overflow:visible!important;
 }
 .site-state[data-state-name="cover"] .rugo-r4__card .rugo-v035__offer-caption{
   height:var(--r4-commercial-h)!important;min-height:var(--r4-commercial-h)!important;
   max-height:var(--r4-commercial-h)!important;overflow:visible!important;
 }
 .site-state[data-state-name="cover"] .rugo-r4__card .rugo-v048__explore-button{
   align-self:start!important;justify-self:start!important;display:inline-flex!important;
   align-items:center!important;min-height:var(--r4-cta-h)!important;
   height:var(--r4-cta-h)!important;margin:0!important;padding:0!important;
 }
 .site-state[data-state-name="cover"] .rugo-r4__value{
   font-size:clamp(29px,8vw,38px)!important;
 }
 .site-state[data-state-name="cover"] .rugo-r4__micro{font-size:12px!important;}
}
@media(max-width:355px){
 .site-state[data-state-name="cover"] .rugo-v035__offer-card.rugo-r4__card{
   --r4-title-h:76px;
 }
}

/* R5: second pool title line mirrors DE COCINAS within the same fixed title slot.
   Keep font, weight, line height, and red commercial typography unchanged. */
.site-state[data-state-name="cover"] .rugo-r5__pool-subline{
 display:block!important;
 font:inherit!important;
 font-size:inherit!important;
 font-weight:inherit!important;
 letter-spacing:inherit!important;
 line-height:inherit!important;
 text-transform:inherit!important;
 color:inherit!important;
}

/* RUGO-SABANERA-V028-HOME-RENDER
 * Stop inherited GPU layer promotion for the HOME pool photo ONLY.
 * The CSS from v089 declared will-change:opacity,transform; desktop offers
 * override transform but leave the will-change compositing hint active.
 * Preserve object-fit, framing, gallery, and JS INTERVAL_MS=2000 unchanged.
 */
.site-state[data-state-name="cover"] .home-v030__media-panel[data-v030-media="terrace-pool"] img.home-v089__image,
.site-state[data-state-name="cover"] .rugo-v035__offer-card[data-v035-offer="terrace-pool"] .rugo-v035__offer-image img {
  will-change: auto !important;
  image-rendering: auto !important;
  backface-visibility: visible !important;
  transform: none !important;
  filter: none !important;
}