/* ROASfinity global polish (06.11, w1). Loaded on every page after the page CSS.
   Rollback: disable wp-content/novamira-sandbox/rf-polish.php (or delete this file). */
:root{--rf-ease:cubic-bezier(.22,1,.36,1);--rf-dur:.5s;--rf-brand:linear-gradient(90deg,#22c3ff,#2f6bff,#7b3dff)}

/* 1. Motion: off-screen / over-budget decorative loops are removed by rf-polish.js (class rf-off) */
.rf-off,.rf-off::before,.rf-off::after{animation:none!important}
.mq:hover .mq-tr,.mq:focus-within .mq-tr,.mq-tr:hover{animation-play-state:paused!important}
.kc,.kw,.kw2,.kt{filter:none!important}
h1,h2{overflow-wrap:break-word}
@media(prefers-reduced-motion:reduce){
  *,*::before,*::after{animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important;scroll-behavior:auto!important}
  .rf-off,.rf-off::before,.rf-off::after{animation:none!important}
}

/* 3. Header: solid, not see-through, on phones and after the first scroll */
.nav{background:rgb(13 18 30/.94)}
html.rf-scrolled .nav{background:rgb(13 18 30/.98);box-shadow:0 10px 30px -18px rgb(0 0 0/.8)}
html.rf-scrolled .nav-pill{background:#0d121e}
@media(max-width:700px){.nav,.nav-pill{background:#0d121e!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}}
/* hero buttons on phones: primary full width, the others share a row (no lone button) */
@media(max-width:520px){
  .ctas{display:grid;grid-template-columns:1fr 1fr;gap:10px}
  .ctas>.btn{justify-content:center;width:100%;margin:0}
  .ctas>.btn:first-child,.ctas>.btn:nth-child(2):last-child{grid-column:1/-1}
}

/* 4. Footer column titles are no longer headings but look the same */
.foot .fh{margin:0 0 12px;font-size:13px;color:var(--t,#f3f5fa);font-weight:600;line-height:1.3;display:block}

/* 5. One progress indicator: brand gradient, 3px */
.progress,.fx-progress,html .progress,html .fx-progress{background:var(--rf-brand)!important;height:3px}
.loop-progress i{background:var(--rf-brand)!important}
#cos-ld .ld-bar i{background:var(--rf-brand)!important}
/* 4b. Footer (cols layout) titles: same look as the former h3 */
.foot-cols .foot-h{font-size:13px;font-weight:600;text-transform:uppercase;letter-spacing:.12em;color:var(--text-3);margin:0;display:flex;align-items:center;min-height:44px;line-height:1.6}
.foot-cols .foot-h a{color:inherit;text-decoration:none;display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0;font-size:inherit}
.foot-cols .foot-h a:hover{color:var(--text)}
.foot-cols .foot-h i{width:8px;height:8px;border-radius:2px;background:var(--hue,#2f6bff);box-shadow:0 0 10px var(--hue,#2f6bff)}

/* rf 2026-11-11: footer second grid has 5 columns after Compare removal */
.foot-cols.foot-cols-2{grid-template-columns:repeat(5,minmax(0,1fr))}
@media (max-width:1100px){.foot-cols.foot-cols-2{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:560px){.foot-cols.foot-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.foot-cols.foot-cols-2>:last-child{grid-column:1/-1}}
