/* RHF Vibrant 2026 — Semantic Color System 1.3.2
   The palette is the four Zoho reference hues, but the visual identity remains RHF.
   Base values and semantic roles are safely overwritten by WordPress settings.
   No brand assets from third parties are included. */
:root {
  --rhf-brand-blue:#226DB4;
  --rhf-brand-green:#089949;
  --rhf-brand-red:#E42527;
  --rhf-brand-yellow:#F9B21D;
  --rhf-ui-heading:#142C40;
  --rhf-ui-body:#4F6175;
  --rhf-ui-page-bg:#FFFFFF;
  --rhf-ui-surface-alt:#F6F9FC;
  --rhf-ui-hero-bg:#F5F8FC;
  --rhf-ui-section-emphasis:#EAF2FC;
  --rhf-ui-header-bg:#FFFFFF;
  --rhf-ui-nav-text:#2A3C50;
  --rhf-ui-nav-active:var(--rhf-brand-blue);
  --rhf-ui-announcement-bg:#142C40;
  --rhf-ui-announcement-text:#FFFFFF;
  --rhf-ui-primary:var(--rhf-brand-blue);
  --rhf-ui-primary-text:#FFFFFF;
  --rhf-ui-link:var(--rhf-brand-blue);
  --rhf-ui-focus:var(--rhf-brand-blue);
  --rhf-ui-card-bg:#FFFFFF;
  --rhf-ui-border:#E4EAF1;
  --rhf-ui-form-bg:#FFFFFF;
  --rhf-ui-success:var(--rhf-brand-green);
  --rhf-ui-success-text:#096B35;
  --rhf-ui-danger:var(--rhf-brand-red);
  --rhf-ui-warning:var(--rhf-brand-yellow);
  --rhf-ui-warning-text:#2A2415;
  --rhf-ui-footer-bg:#142C40;
  --rhf-ui-footer-text:#E5ECF3;
  --rhf-ui-footer-accent:var(--rhf-brand-yellow);
  /* Shared aliases for the inherited parent theme, product suite and experience plugin. */
  --rhfv-blue:var(--rhf-ui-primary);
  --rhfv-mint:var(--rhf-ui-success);
  --rhfv-coral:var(--rhf-ui-danger);
  --rhfv-yellow:var(--rhf-ui-warning);
  --rhfv-ink:var(--rhf-ui-heading);
  --rhfv-body:var(--rhf-ui-body);
  --rhfv-paper:var(--rhf-ui-page-bg);
  --rhfv-line:var(--rhf-ui-border);
  --rhf-suite-navy:var(--rhf-ui-heading);
  --rhf-suite-blue:var(--rhf-ui-primary);
  --rhf-suite-green:var(--rhf-ui-success);
  --rhf-suite-rose:var(--rhf-ui-danger);
  --rhf-suite-gold:var(--rhf-ui-warning);
  --rhfec-accent:var(--rhf-ui-primary);
  --rhfec-green:var(--rhf-ui-success);
}

/* Scope presentation to this RHF theme; avoid altering wp-admin or unrelated sites. */
body.rhfv-theme{background:var(--rhf-ui-page-bg);color:var(--rhf-ui-body)}
.rhfv-theme :is(.rhf-suite-hero h1,.rhfv-hero h1,.rhfv-section-head h2,.rhfv-section-head h3,.rhfv-platform-copy h2,.rhfv-industries-grid h2,.rhfec-section-heading h2,.rhf-suite-showcase-inner>strong){color:var(--rhf-ui-heading)}
.rhfv-theme :is(.rhfv-hero-copy>p,.rhf-suite-lead,.rhfv-section-head p,.rhfv-platform-copy>p){color:var(--rhf-ui-body)}
.rhfv-theme :is(a:not(.btn):not(.rhfv-head-cta):not(.rhfv-drawer-cta):not(.rhfv-button), .rhf-suite-showcase-footer a):focus-visible,
.rhfv-theme :is(button,input,textarea,select,summary):focus-visible{outline:3px solid var(--rhf-ui-focus)!important;outline-offset:3px}
.rhfv-theme #reading-progress{background:linear-gradient(90deg,var(--rhf-brand-blue),var(--rhf-brand-green),var(--rhf-brand-yellow),var(--rhf-brand-red))!important}

/* Header, utility strip, mega menu and responsive navigation */
.rhfv-theme .rhfv-announcement{background:var(--rhf-ui-announcement-bg);color:var(--rhf-ui-announcement-text)}
.rhfv-theme .rhfv-announcement .rhfv-star{color:var(--rhf-ui-warning)}
.rhfv-theme .rhfv-announcement a{color:var(--rhf-ui-warning)}
.rhfv-theme .rhfv-header{background:var(--rhf-ui-header-bg)!important;border-bottom-color:var(--rhf-ui-border)!important}
.rhfv-theme .rhfv-brand-wrap .brand-name strong{color:var(--rhf-ui-heading)}
.rhfv-theme .rhfv-desktop-nav>a,.rhfv-theme .rhfv-menu-set>a{color:var(--rhf-ui-nav-text)}
.rhfv-theme .rhfv-desktop-nav>a:hover,.rhfv-theme .rhfv-menu-set>a:hover,.rhfv-theme .rhfv-desktop-nav>a[aria-current="page"]{
  color:var(--rhf-ui-nav-active);background:color-mix(in srgb,var(--rhf-ui-nav-active) 10%,white)
}
.rhfv-theme .rhfv-menu-set-featured>a,.rhfv-theme .rhfv-drop[aria-expanded=true]{color:var(--rhf-ui-nav-active)!important}
.rhfv-theme .rhfv-mobile-toggle{background:color-mix(in srgb,var(--rhf-ui-primary) 9%,white)!important}
.rhfv-theme .rhfv-mega-shell{background:var(--rhf-ui-header-bg);border-color:var(--rhf-ui-border)}
.rhfv-theme .rhfv-mega-feature{background:color-mix(in srgb,var(--rhf-brand-blue) 10%,white)}
.rhfv-theme .rhfv-mega-feature.purple{background:color-mix(in srgb,var(--rhf-brand-green) 8%,white)}
.rhfv-theme .rhfv-mega-feature .rhfv-kicker,.rhfv-theme .rhfv-mega-feature a,.rhfv-theme .rhfv-mega-aside a{color:var(--rhf-ui-link)}
.rhfv-theme .rhfv-mega-group>a:hover{color:var(--rhf-ui-link);background:color-mix(in srgb,var(--rhf-brand-blue) 7%,white)}
.rhfv-theme .rhfv-mobile-panel{background:var(--rhf-ui-header-bg);color:var(--rhf-ui-heading)}
.rhfv-theme .rhfv-mobile-items>a,.rhfv-theme .rhfv-mobile-items>details>summary{color:var(--rhf-ui-nav-text);border-color:var(--rhf-ui-border)}
.rhfv-theme .rhfv-mobile-items details>div{background:var(--rhf-ui-surface-alt)}
.rhfv-theme .rhf-suite-search{background:var(--rhf-ui-header-bg);border-color:var(--rhf-ui-border)}
.rhfv-theme .rhf-suite-search-toggle[aria-expanded=true]{color:var(--rhf-ui-primary)}

/* Calls to action, search and links */
.rhfv-theme :is(.rhfv-head-cta,.rhfv-drawer-cta,.btn-primary,.rhfv-button-primary,.rhf-suite-search-form button,.rhfec-card-actions button){
  background:var(--rhf-ui-primary)!important;border-color:var(--rhf-ui-primary)!important;color:var(--rhf-ui-primary-text)!important;
}
.rhfv-theme :is(.rhfv-head-cta,.rhfv-drawer-cta,.btn-primary,.rhfv-button-primary,.rhf-suite-search-form button,.rhfec-card-actions button):hover,
.rhfv-theme :is(.rhfv-head-cta,.rhfv-drawer-cta,.btn-primary,.rhfv-button-primary):focus-visible{
  background:color-mix(in srgb,var(--rhf-ui-primary) 85%,#091D31)!important;
}
.rhfv-theme :is(.rhf-suite-showcase-footer a,.rhfec-card-actions a,.rhfv-plain-link,.rhfv-mega-aside a){color:var(--rhf-ui-link)}
.rhfv-theme :is(.rhfv-hero h1 span,.rhfv-final-layout h2 span,.rhf-suite-hero h1 em){color:var(--rhf-ui-primary)}
.rhfv-theme .rhfv-hero h1 span:after{background:var(--rhf-ui-warning)}
.rhfv-theme .rhf-suite-signal.blue{background:var(--rhf-ui-primary)}
.rhfv-theme .rhf-suite-signal.green{background:var(--rhf-ui-success)}
.rhfv-theme .rhf-suite-signal.gold{background:var(--rhf-ui-warning)}

/* Hero and section surfaces */
.rhfv-theme .rhf-suite-hero{background:linear-gradient(165deg,var(--rhf-ui-page-bg) 12%,var(--rhf-ui-hero-bg) 100%)!important}
.rhfv-theme .rhfv-hero{background:var(--rhf-ui-hero-bg)}
.rhfv-theme :is(.rhfv-explorer,.rhfv-industries,.rhf-suite-valuebar){background:var(--rhf-ui-surface-alt)}
.rhfv-theme :is(.rhfv-final-cta,.rhfv-mega-aside){background:var(--rhf-ui-section-emphasis)}
.rhfv-theme .rhfv-services,.rhfv-theme .rhfv-steps{background:var(--rhf-ui-page-bg)}
.rhfv-theme .rhfv-platforms{background:var(--rhf-ui-surface-alt)}
.rhfv-theme .rhf-suite-showcase,.rhfv-theme .rhfec-product-card{background:var(--rhf-ui-card-bg);border-color:var(--rhf-ui-border)}
.rhfv-theme .rhf-suite-showcase-top{background:var(--rhf-ui-surface-alt);border-color:var(--rhf-ui-border)}
.rhfv-theme .rhf-suite-app-blue,.rhfv-theme .rhfec-product-card:nth-child(4n+1) .rhfec-product-visual{background:color-mix(in srgb,var(--rhf-brand-blue) 10%,white)}
.rhfv-theme .rhf-suite-app-green,.rhfv-theme .rhfec-product-card:nth-child(4n+2) .rhfec-product-visual{background:color-mix(in srgb,var(--rhf-brand-green) 10%,white)}
.rhfv-theme .rhf-suite-app-coral,.rhfv-theme .rhfec-product-card:nth-child(4n+3) .rhfec-product-visual{background:color-mix(in srgb,var(--rhf-brand-red) 9%,white)}
.rhfv-theme .rhf-suite-app-violet,.rhfv-theme .rhfec-product-card:nth-child(4n+4) .rhfec-product-visual{background:color-mix(in srgb,var(--rhf-brand-yellow) 13%,white)}
.rhfv-theme .rhf-suite-app-blue .rhf-suite-app-icon{color:var(--rhf-ui-primary)}
.rhfv-theme .rhf-suite-app-green .rhf-suite-app-icon{color:var(--rhf-ui-success)}
.rhfv-theme .rhf-suite-app-coral .rhf-suite-app-icon{color:var(--rhf-ui-danger)}
.rhfv-theme .rhf-suite-app-violet .rhf-suite-app-icon{color:var(--rhf-ui-warning-text)}
.rhfv-theme .rhf-suite-valuebar-inner>span:nth-child(1) b{color:var(--rhf-ui-primary);background:color-mix(in srgb,var(--rhf-brand-blue) 12%,white)}
.rhfv-theme .rhf-suite-valuebar-inner>span:nth-child(2) b{color:var(--rhf-ui-success);background:color-mix(in srgb,var(--rhf-brand-green) 12%,white)}
.rhfv-theme .rhf-suite-valuebar-inner>span:nth-child(3) b{color:var(--rhf-ui-warning-text);background:color-mix(in srgb,var(--rhf-brand-yellow) 25%,white)}
.rhfv-theme .rhf-suite-valuebar-inner>span:nth-child(4) b{color:var(--rhf-ui-danger);background:color-mix(in srgb,var(--rhf-brand-red) 10%,white)}
.rhfv-theme .rhfv-tile.tile-blue{background:color-mix(in srgb,var(--rhf-brand-blue) 12%,white)}
.rhfv-theme .rhfv-tile.tile-mint{background:color-mix(in srgb,var(--rhf-brand-green) 12%,white)}
.rhfv-theme .rhfv-tile.tile-coral{background:color-mix(in srgb,var(--rhf-brand-red) 12%,white)}
.rhfv-theme .rhfv-tile.tile-yellow,.rhfv-theme .rhfv-tile.tile-cream{background:color-mix(in srgb,var(--rhf-brand-yellow) 19%,white)}
.rhfv-theme .rhfv-tile.tile-lilac{background:var(--rhf-ui-section-emphasis)}

/* Field and focus states; do not blanket-override third-party Elementor widgets */
.rhfv-theme :is(.rhf-suite-search-form input,.rhf-suite-search-form textarea,.rhf-suite-search-form select){background:var(--rhf-ui-form-bg);border-color:var(--rhf-ui-border);color:var(--rhf-ui-heading)}
.rhfv-theme :is(.rhf-suite-search-form input,.rhf-suite-search-form textarea,.rhf-suite-search-form select):focus{border-color:var(--rhf-ui-focus)}
.rhfv-theme :is(.rhfec-stage,.rhfv-board-state){border-color:var(--rhf-ui-border)}
.rhfv-theme .rhf-suite-showcase-footer i{background:var(--rhf-ui-success)}

/* Footer: override legacy !important backgrounds without changing its layout */
.rhfv-theme .site-footer{background:var(--rhf-ui-footer-bg)!important;border-top-color:var(--rhf-ui-footer-accent)!important;color:var(--rhf-ui-footer-text)!important}
.rhfv-theme .site-footer :is(p,span,small){color:var(--rhf-ui-footer-text)}
.rhfv-theme .site-footer :is(a,.footer-col>a){color:var(--rhf-ui-footer-text)}
.rhfv-theme .site-footer a:hover{color:var(--rhf-ui-footer-accent)}
.rhfv-theme .site-footer h3,.rhfv-theme .site-footer .brand-name strong{color:var(--rhf-ui-footer-text)!important}

/* Visible statuses — secondary text uses a darker, independently editable role. */
.rhfv-theme .rhfv-ds-success{color:var(--rhf-ui-success-text);border-color:var(--rhf-ui-success)}
.rhfv-theme .rhfv-ds-warning{color:var(--rhf-ui-warning-text);background:color-mix(in srgb,var(--rhf-ui-warning) 22%,white);border-color:var(--rhf-ui-warning)}
.rhfv-theme .rhfv-ds-danger{color:var(--rhf-ui-danger);border-color:var(--rhf-ui-danger)}
@media(prefers-reduced-motion:reduce){.rhfv-theme #reading-progress{transition:none}}
