/* GSS – Back to top button: brand red, charcoal on hover */
#ast-scroll-top {
  background-color: #C4291E;
  color: #FFFFFF;
  border-radius: 2px;
}
#ast-scroll-top:hover,
#ast-scroll-top:focus-visible {
  background-color: #1C1F24;
  color: #FFFFFF;
}
#ast-scroll-top svg {
  fill: currentColor;
}

/* GSS – FAQ accordion: swap "+" for "−" when an item is open */
details.e-accordion-item-base[open] > summary .e-accordion-item-icon-base .e-paragraph-base {
  font-size: 0 !important;
}
details.e-accordion-item-base[open] > summary .e-accordion-item-icon-base .e-paragraph-base::after {
  content: "\2212";
  font-size: 26px;
  line-height: 1;
}

/* GSS – hero estimate form (SureForms #112): dark glass styling */
body .srfm-form-container.srfm-form-container-112 {
  --srfm-color-scheme-primary: #C4291E;
  --srfm-color-scheme-text-on-primary: #FFFFFF;
  --srfm-color-scheme-text: #FFFFFF;
  --srfm-color-input-label: #D5D9DE;
  --srfm-color-input-description: #C5CAD1;
  --srfm-color-input-placeholder: rgba(255, 255, 255, 0.8);
  --srfm-color-input-text: #FFFFFF;
  --srfm-color-input-prefix: #D5D9DE;
  --srfm-color-input-background: rgba(255, 255, 255, 0.06);
  --srfm-color-input-background-hover: rgba(255, 255, 255, 0.09);
  --srfm-color-input-border: rgba(255, 255, 255, 0.18);
  --srfm-color-input-border-hover: rgba(255, 255, 255, 0.34);
  --srfm-color-input-border-focus-glow: rgba(238, 90, 78, 0.28);
  --srfm-btn-color-hover: #A11F16;
  --srfm-bg-color: transparent;
  --srfm-row-gap-between-blocks: 6px;
  --srfm-row-gap-between-fields: 6px;
  background: transparent !important;
  font-family: inherit;
}
body .srfm-form-container-112 .srfm-block-label {
  font-family: inherit !important;
  font-size: 11px !important;
  line-height: 1.4 !important;
  font-weight: 700 !important;
  letter-spacing: 1.2px !important;
  text-transform: uppercase !important;
  color: #D5D9DE !important;
  margin-bottom: 2px !important;
}
body .srfm-form-container-112 .srfm-required { color: #EE5A4E; }
body .srfm-form-container-112 input.srfm-input-common,
body .srfm-form-container-112 textarea.srfm-input-common,
body .srfm-form-container-112 .srfm-input-common {
  font-family: inherit;
  font-size: 15px;
  color: #FFFFFF;
  background-color: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 2px;
  transition: border-color .2s ease, background-color .2s ease;
}
body .srfm-form-container-112 .srfm-input-common:hover {
  background-color: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.34);
}
body .srfm-form-container-112 .srfm-input-common:focus,
body .srfm-form-container-112 .srfm-input-common:focus-within {
  border-color: #EE5A4E;
  box-shadow: 0 0 0 3px rgba(238, 90, 78, 0.22);
  outline: none;
}
body .srfm-form-container-112 .iti__selected-dial-code,
body .srfm-form-container-112 .iti__selected-country,
body .srfm-form-container-112 .iti__arrow { color: #D5D9DE; border-color: #D5D9DE; }
body .srfm-form-container-112 .srfm-submit-container,
body .srfm-form-container-112 .srfm-submit-wrap { width: 100%; }
body .srfm-form-container-112 button.srfm-submit-button {
  width: 100%;
  justify-content: center;
  font-family: Montserrat, sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #FFFFFF;
  background-color: #C4291E;
  border: 0;
  border-radius: 2px;
  padding: 18px 30px;
  min-height: 0;
  height: auto;
}
body .srfm-form-container-112 button.srfm-submit-button:hover { background-color: #A11F16; }

/* GSS – frosted glass card behind the hero form */
.e-con:has(> .e-con > .elementor-widget-shortcode .srfm-form-container-112) {
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  backdrop-filter: blur(14px) saturate(120%);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

/* GSS – hero form on phones: one-line button, no back-to-top overlap */
@media (max-width: 544px) {
  body .srfm-form-container-112 button.srfm-submit-button {
    font-size: 13px;
    letter-spacing: 1px;
    padding: 16px 14px;
  }
}
@media (max-width: 768px) {
  #ast-scroll-top { display: none !important; }
}

/* GSS – hero form placeholders in white */
body .srfm-form-container-112 input::placeholder,
body .srfm-form-container-112 textarea::placeholder {
  color: rgba(255, 255, 255, 0.8) !important;
  opacity: 1 !important;
}


/* GSS - header dropdowns (Services, Service Areas): dark panel, desktop only. Astra free has no submenu color settings. */
@media (min-width: 922px) {
  .ast-builder-menu-1 .main-header-menu .sub-menu { background-color: #1C1F24; border-top-color: #C4291E; box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35); }
  .ast-builder-menu-1 .main-header-menu .sub-menu .menu-link { color: #FFFFFF; padding: 13px 22px; }
  .ast-builder-menu-1 .main-header-menu .sub-menu .menu-item:hover > .menu-link,
  .ast-builder-menu-1 .main-header-menu .sub-menu .menu-item.current-menu-item > .menu-link { color: #EE5A4E; background-color: #262A30; }
}


/* GSS - footer columns: titles styled like the site eyebrow labels, Montserrat text. */
.site-primary-footer-wrap { font-family: 'Montserrat', sans-serif; font-size: 15px; line-height: 1.6; }
.site-primary-footer-wrap .widget-title { color: #FFFFFF; font-family: 'Montserrat', sans-serif; font-size: 13px; font-weight: 700; letter-spacing: 2px; line-height: 1.4; text-transform: uppercase; margin-bottom: 18px; }
.site-primary-footer-wrap .menu li { margin-bottom: 10px; }
.site-primary-footer-wrap .ast-footer-html-inner p { margin-bottom: 10px; }

/* GSS - homepage services: hovering a service shows its image (desktop with a mouse only; clicking a row opens its page). */
@media (hover: hover) and (min-width: 1025px) {
  [data-id="603fe2fe"]:has([data-id="52c84442"] > [role="tab"]:nth-child(1):hover) [data-id="366b40d3"] > :not(:nth-child(1)),
  [data-id="603fe2fe"]:has([data-id="52c84442"] > [role="tab"]:nth-child(2):hover) [data-id="366b40d3"] > :not(:nth-child(2)),
  [data-id="603fe2fe"]:has([data-id="52c84442"] > [role="tab"]:nth-child(3):hover) [data-id="366b40d3"] > :not(:nth-child(3)),
  [data-id="603fe2fe"]:has([data-id="52c84442"] > [role="tab"]:nth-child(4):hover) [data-id="366b40d3"] > :not(:nth-child(4)) { display: none !important; }
  [data-id="603fe2fe"]:has([data-id="52c84442"] > [role="tab"]:nth-child(1):hover) [data-id="366b40d3"] > :nth-child(1),
  [data-id="603fe2fe"]:has([data-id="52c84442"] > [role="tab"]:nth-child(2):hover) [data-id="366b40d3"] > :nth-child(2),
  [data-id="603fe2fe"]:has([data-id="52c84442"] > [role="tab"]:nth-child(3):hover) [data-id="366b40d3"] > :nth-child(3),
  [data-id="603fe2fe"]:has([data-id="52c84442"] > [role="tab"]:nth-child(4):hover) [data-id="366b40d3"] > :nth-child(4) { display: block !important; }
}

/* GSS - homepage services: each row links to its service page. On tablet/desktop the link covers the whole row with "Explore →" at the end of the title line (takes no width); on phones it drops to its own line under the description and ::after stretches it over the row. No transform on the link: it would become the containing block and shrink the click area. */
[data-id="52c84442"] > [role="tab"] > a { white-space: nowrap; }
[data-id="52c84442"] > [role="tab"] > a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
@media (max-width: 767px) {
  body [data-id="52c84442"] > [role="tab"] { flex-wrap: wrap; row-gap: 12px; }
  body [data-id="52c84442"] > [role="tab"] > a { flex: 0 0 100%; align-self: flex-start; text-align: start; padding-inline-start: 44px; }
}
@media (min-width: 768px) {
  [data-id="52c84442"] > [role="tab"] > a { position: absolute; inset: 0; align-self: stretch; justify-self: stretch; display: flex; justify-content: flex-end; align-items: flex-start; padding-block-start: 32px; }
}
@media (hover: hover) and (min-width: 1025px) {
  [data-id="52c84442"] > [role="tab"] > a { opacity: 0; text-indent: -8px; transition: opacity .25s ease, text-indent .25s ease; }
  [data-id="52c84442"] > [role="tab"]:hover > a,
  [data-id="52c84442"] > [role="tab"]:focus-within > a { opacity: 1; text-indent: 0; }
}

/* GSS - header menu: keep all items on one line on small laptops (922-1199px). */
@media (min-width: 922px) and (max-width: 1199px) {
  .ast-builder-menu-1 .main-header-menu { flex-wrap: nowrap; }
  .ast-builder-menu-1 .main-header-menu > .menu-item > .menu-link { padding-left: 10px; padding-right: 10px; white-space: nowrap; }
}
@media (min-width: 922px) and (max-width: 1079px) {
  .ast-builder-menu-1 .main-header-menu > .menu-item > .menu-link { padding-left: 6px; padding-right: 6px; font-size: 14px; }
  .ast-header-button-1 .ast-custom-button { padding-left: 16px; padding-right: 16px; white-space: nowrap; }
}

/* Service Areas dropdown (desktop): two columns, ND core towns left, extra towns right.
   The extra towns link to /contact/#service-areas, so WP marks them current-menu-item on
   the Contact page; keep them styled like normal items there. */
@media (min-width: 922px) {
  .ast-builder-menu-1 .main-header-menu .menu-item-261 > .sub-menu {
    display: grid;
    grid-template-columns: repeat(2, 220px);
    grid-template-rows: repeat(5, auto);
    grid-auto-flow: column;
    width: 440px;
  }
  .ast-builder-menu-1 .main-header-menu .menu-item-261 > .sub-menu > .menu-item { width: auto; }
  .ast-builder-menu-1 .main-header-menu .sub-menu .menu-item.current-menu-item:not(:hover) > .menu-link[href*="#service-areas"] {
    color: #fff;
    background-color: transparent;
  }
}
