/* XMS v1.4.08 — restore the approved metallic-silver button backgrounds
   shown on the Get in Touch call-to-action. Keep page/section backgrounds,
   uploaded service-card images, and the inquiry form panel untouched. */
:root {
  --xms-restored-silver:linear-gradient(180deg,#fbfbfb 0%,#f5f5f5 18%,#e7e7e7 48%,#d0d0d0 76%,#bcbcbc 100%);
  --xms-restored-silver-hover:linear-gradient(180deg,#fff 0%,#f8f8f8 18%,#ebebeb 48%,#d8d8d8 76%,#c6c6c6 100%);
  --xms-restored-silver-shadow:inset 0 1px 0 rgba(255,255,255,.98),inset 0 8px 10px rgba(255,255,255,.55),inset 0 -4px 8px rgba(109,114,118,.18),0 2px 0 #8f9498,0 6px 14px rgba(77,82,86,.18);
}
/* Applies to the hero, CTA, inner-page, and native inquiry buttons, as well
   as WPForms submit buttons. Carefully scoped: NOT card/panel backgrounds. */
body.xms-theme .xms-main .xms-study-button,
body.xms-theme .xms-main .xms-button,
body.xms-theme .xms-main .xms-inquiry-submit,
body.xms-theme .xms-header-cta,
body.xms-theme.xms-contact-page .wpforms-container button.wpforms-submit,
body.xms-theme.xms-contact-page .wpforms-container .wpforms-submit {
  background:var(--xms-restored-silver) !important;
  background-image:var(--xms-restored-silver) !important;
  background-color:#e7e7e7 !important;
  color:#5f6468 !important;
  border:1px solid #8f9498 !important;
  border-radius:10px !important;
  box-shadow:var(--xms-restored-silver-shadow) !important;
  text-shadow:0 1px 0 rgba(255,255,255,.92) !important;
  font-weight:700 !important;
}
body.xms-theme .xms-main .xms-study-button:hover,
body.xms-theme .xms-main .xms-study-button:focus-visible,
body.xms-theme .xms-main .xms-button:hover,
body.xms-theme .xms-main .xms-button:focus-visible,
body.xms-theme .xms-main .xms-inquiry-submit:hover,
body.xms-theme .xms-header-cta:hover,
body.xms-theme.xms-contact-page .wpforms-container button.wpforms-submit:hover,
body.xms-theme.xms-contact-page .wpforms-container .wpforms-submit:hover {
  background:var(--xms-restored-silver-hover) !important;
  background-image:var(--xms-restored-silver-hover) !important;
  color:#555b60 !important;
  filter:none !important;
}
body.xms-theme .xms-main .xms-study-button.is-outline,
body.xms-theme .xms-main .xms-button.xms-button-outline {
  background:linear-gradient(180deg,#fcfcfc 0%,#f6f6f6 28%,#ececec 58%,#d8d8d8 100%) !important;
  background-image:linear-gradient(180deg,#fcfcfc 0%,#f6f6f6 28%,#ececec 58%,#d8d8d8 100%) !important;
}
/* The v1.4.06 white-hero rule has four class selectors, so these more
   specific selectors explicitly supersede it on both desktop and mobile. */
body.xms-theme.xms-home-study .xms-main > .xms-section-study_hero .xms-study-button,
body.xms-theme.xms-inner-study .xms-main .xms-inner-hero-actions .xms-study-button,
body.xms-theme.xms-home-study .xms-main > .xms-section-study_contact .xms-study-contact-copy .xms-study-button {
  background:var(--xms-restored-silver) !important;
  background-image:var(--xms-restored-silver) !important;
  color:#5f6468 !important;
  border:1px solid #8f9498 !important;
  box-shadow:var(--xms-restored-silver-shadow) !important;
}
body.xms-theme.xms-home-study .xms-main > .xms-section-study_hero .xms-study-button.is-outline,
body.xms-theme.xms-inner-study .xms-main .xms-inner-hero-actions .xms-study-button.is-outline {
  background:linear-gradient(180deg,#fcfcfc 0%,#f6f6f6 28%,#ececec 58%,#d8d8d8 100%) !important;
  background-image:linear-gradient(180deg,#fcfcfc 0%,#f6f6f6 28%,#ececec 58%,#d8d8d8 100%) !important;
}
body.xms-theme.xms-home-study .xms-main > .xms-section-study_hero .xms-study-button:hover,
body.xms-theme.xms-inner-study .xms-main .xms-inner-hero-actions .xms-study-button:hover,
body.xms-theme.xms-home-study .xms-main > .xms-section-study_contact .xms-study-contact-copy .xms-study-button:hover {
  background:var(--xms-restored-silver-hover) !important;
  background-image:var(--xms-restored-silver-hover) !important;
}
body.xms-theme .xms-main .xms-study-button :is(svg,span),
body.xms-theme .xms-main .xms-button :is(svg,span){color:inherit}
@media(prefers-reduced-motion:reduce){
  body.xms-theme .xms-main :is(.xms-study-button,.xms-button,.xms-inquiry-submit){transition:none !important}
}
