.elementor-widget-boyce-cta,
.elementor-widget-boyce-form,
.elementor-widget-boyce-carousel,
.elementor-widget-boyce-nav-menu,
.elementor-widget-boyce-reviews,
.elementor-widget-boyce-site-logo {
  width: 100%;
}

/* Keep CookieAdmin's re-consent control recognizable after the domain migration. */
button.cookieadmin_re_consent {
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0 !important;
  box-shadow: 0 4px 14px rgb(0 0 0 / 28%);
}

button.cookieadmin_re_consent .cookieadmin_reconsent_img {
  display: none !important;
}

button.cookieadmin_re_consent::before {
  content: "🍪";
  display: block;
  width: 50px;
  height: 50px;
  font-family: "Segoe UI Emoji", "Apple Color Emoji", sans-serif;
  font-size: 29px;
  line-height: 50px;
  text-align: center;
}

button.cookieadmin_re_consent::after {
  content: attr(aria-label);
  position: absolute;
  left: 60px;
  bottom: 50%;
  width: max-content;
  max-width: 180px;
  padding: 7px 10px;
  border-radius: 6px;
  background: #101828;
  color: #fff;
  font: 600 13px/1.2 Arial, sans-serif;
  opacity: 0;
  pointer-events: none;
  transform: translateY(50%);
  transition: opacity 150ms ease;
}

button.cookieadmin_re_consent:hover::after,
button.cookieadmin_re_consent:focus-visible::after {
  opacity: 1;
}

.boyce-cta {
  position: relative;
  display: flex;
  width: 100%;
  overflow: hidden;
}

.boyce-cta__background,
.boyce-cta__overlay {
  position: absolute;
  inset: 0;
}

.boyce-cta__background {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.boyce-cta__overlay {
  background: color-mix(in srgb, var(--boyce-cta-overlay, #000) 55%, transparent);
}

.boyce-cta__content {
  position: relative;
  z-index: 1;
  width: 100%;
}

.boyce-cta--classic {
  text-align: center;
}

.boyce-cta--classic .boyce-cta__content {
  padding: 0;
}

.boyce-cta--cover {
  min-height: var(--boyce-cta-height, 600px);
  align-items: flex-end;
  color: #fff;
}

.boyce-cta--cover .boyce-cta__content {
  padding: 10%;
}

.boyce-cta__title {
  margin: 0 0 0.45em;
  color: inherit;
  font-size: var(--boyce-cta-title, 30px);
  line-height: 1.08;
}

.boyce-cta__description {
  font-size: var(--boyce-cta-copy, 18px);
  line-height: 1.45;
}

.boyce-cta__description p:last-child {
  margin-bottom: 0;
}

.boyce-cta__button {
  display: inline-block;
  margin-top: 1.3rem;
}

.boyce-form {
  width: 100%;
}

.boyce-form .elementor-form-fields-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.boyce-form .elementor-field-group {
  width: 100%;
}

.boyce-form .elementor-field {
  width: 100%;
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid #b8c1c7;
  border-radius: 0;
  background: #fff;
  color: #111;
  font: inherit;
}

.boyce-form textarea.elementor-field {
  min-height: 105px;
  resize: vertical;
}

.boyce-form .elementor-button {
  border: 0;
  border-radius: 999px;
  background: #ed1c24;
  color: #fff;
  cursor: pointer;
  font-weight: 700;
  text-transform: uppercase;
}

.boyce-form__html {
  width: 100%;
  color: #111;
}

.boyce-form__trap {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.boyce-form__notice {
  margin-bottom: 12px;
  padding: 12px 14px;
  border-left: 4px solid;
  background: #fff;
}

.boyce-form__notice--success {
  border-color: #16833b;
}

.boyce-form__notice--error {
  border-color: #c1121f;
}

.boyce-carousel {
  position: relative;
  width: 100%;
  padding: 0 34px 32px;
}

.boyce-carousel__track {
  display: grid;
  grid-auto-columns: calc((100% - 40px) / var(--boyce-slides, 5));
  grid-auto-flow: column;
  gap: 10px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.boyce-carousel__track::-webkit-scrollbar {
  display: none;
}

.boyce-carousel__slide {
  aspect-ratio: 1.25 / 1;
  margin: 0;
  overflow: hidden;
  scroll-snap-align: start;
}

.boyce-carousel__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.boyce-carousel__arrow {
  position: absolute;
  z-index: 2;
  top: calc(50% - 20px);
  width: 32px;
  height: 44px;
  border: 0;
  background: transparent;
  color: currentColor;
  cursor: pointer;
  font-size: 40px;
  line-height: 1;
}

.boyce-carousel__arrow--previous {
  left: 0;
}

.boyce-carousel__arrow--next {
  right: 0;
}

.boyce-carousel__dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 20px;
}

.boyce-carousel__dots span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #999;
  opacity: 0.45;
}

.boyce-carousel__dots span.is-active {
  opacity: 1;
}

.boyce-navigation {
  position: relative;
  width: 100%;
}

.boyce-navigation__toggle {
  display: none !important;
  box-sizing: border-box;
  width: 48px !important;
  min-width: 48px !important;
  height: 48px !important;
  margin-left: auto;
  padding: 9px !important;
  border: 2px solid #ed1c24 !important;
  border-radius: 6px !important;
  background: #ed1c24 !important;
  cursor: pointer;
}

.boyce-navigation__toggle span {
  display: block;
  width: 100%;
  height: 3px;
  margin: 3px 0;
  border-radius: 999px;
  background: #fff;
}

.boyce-navigation__list,
.boyce-navigation__list .sub-menu {
  margin: 0;
  padding: 0;
  list-style: none;
}

.boyce-navigation__list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.boyce-navigation__list a {
  display: block;
  color: #fff;
  font-family: "Bebas Neue", sans-serif;
  font-size: 30px;
  text-decoration: none;
}

.boyce-navigation__list a:hover,
.boyce-navigation__list .current-menu-item > a {
  color: #ed1c24;
}

.boyce-navigation__list .menu-item-has-children {
  position: relative;
}

.boyce-navigation__list .menu-item-has-children > a::after {
  content: "▾";
  margin-left: 0.35em;
  font-size: 0.65em;
}

.boyce-navigation__list .sub-menu {
  position: absolute;
  z-index: 20;
  top: 100%;
  left: 0;
  display: none;
  min-width: 230px;
  padding: 8px 0;
  background: #fff;
  box-shadow: 0 10px 28px rgb(0 0 0 / 18%);
}

.boyce-navigation__list .sub-menu a {
  padding: 8px 16px;
  color: #111;
  font-size: 22px;
}

.boyce-navigation__list .menu-item-has-children:hover > .sub-menu,
.boyce-navigation__list .menu-item-has-children:focus-within > .sub-menu {
  display: block;
}

.boyce-reviews {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.boyce-review {
  margin: 0;
  padding: 24px;
  background: #fff;
  box-shadow: 0 8px 24px rgb(0 0 0 / 8%);
}

.boyce-review__stars {
  color: #f5a623;
  letter-spacing: 2px;
}

.boyce-review cite {
  font-style: normal;
  font-weight: 700;
}

.boyce-site-logo {
  display: inline-block;
}

.boyce-site-logo img {
  display: block;
  width: min(100%, var(--boyce-logo-width, 140px));
  height: auto;
  transition: width 0.35s ease;
}

.elementor-element-522fbdd0 {
  position: sticky;
  z-index: 999;
  top: 0;
  background: #c4bc98f2 !important;
}

body.boyce-header-scrolled .elementor-element-522fbdd0 .boyce-site-logo img {
  width: min(100%, 120px);
}

.elementor-133 .elementor-invisible {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

.elementor-133 .elementor-element-272e11e3,
.elementor-133 .elementor-element-71b4e1 {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: 100% !important;
}

.elementor-133 .elementor-element-272e11e3 > .e-con,
.elementor-133 .elementor-element-71b4e1 > .e-con {
  position: relative !important;
  inset: auto !important;
  width: auto !important;
  min-width: 0 !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  animation: none !important;
}

.elementor-27 .elementor-element-79cac236 {
  display: grid !important;
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
  align-items: center !important;
  gap: clamp(36px, 6vw, 96px) !important;
}

.elementor-27 .elementor-element-79cac236 > .elementor-widget-boyce-site-logo {
  width: 100% !important;
  max-width: 280px;
}

.elementor-27 .elementor-element-5de90f18 {
  width: 100% !important;
  min-width: 0 !important;
}

.elementor-27 .elementor-element-779c6148 {
  display: grid !important;
  grid-template-columns: minmax(240px, 1.5fr) repeat(3, minmax(130px, 1fr));
  width: 100% !important;
  gap: clamp(20px, 2.5vw, 40px) !important;
}

.elementor-27 .elementor-element-779c6148 > .e-con {
  width: auto !important;
  min-width: 0 !important;
}

.elementor-27 .elementor-element-3f622957 a {
  overflow-wrap: anywhere;
  word-break: normal;
}

.elementor-133 .elementor-element-25c46690 .elementor-element-6fe77361 .elementor-heading-title {
  text-transform: uppercase;
}

.elementor-133 .elementor-element-25c46690 {
  padding: clamp(56px, 7vw, 96px) clamp(20px, 5vw, 72px) !important;
  background-color: #101010 !important;
  background-image:
    linear-gradient(rgb(0 0 0 / 28%), rgb(0 0 0 / 28%)),
    url("https://boyceseptictx.com/wp-content/uploads/2025/09/texture-bg-1920w.webp") !important;
  background-position: center !important;
  background-repeat: repeat !important;
  background-size: auto !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.elementor-133 .elementor-element-25c46690 > .elementor-element,
.elementor-133 .elementor-element-25c46690 .elementor-element-6fe77361 {
  opacity: 1 !important;
  visibility: visible !important;
  filter: none !important;
  mix-blend-mode: normal !important;
}

.elementor-133 .elementor-element-25c46690 .elementor-heading-title,
.elementor-133 .elementor-element-25c46690 .elementor-widget-text-editor,
.elementor-133 .elementor-element-25c46690 .elementor-widget-text-editor * {
  color: #fff !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.elementor-133 .elementor-element-25c46690 .elementor-element-6fe77361 .elementor-heading-title {
  color: #ff3b30 !important;
  text-shadow: 0 2px 3px #000;
}

.elementor-133 .elementor-element-1c6732db {
  display: grid !important;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  align-items: start !important;
  gap: 28px !important;
}

.elementor-133 .elementor-element-1c6732db > .elementor-widget-image-box {
  width: auto !important;
  min-width: 0 !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

.elementor-133 .elementor-element-1c6732db .elementor-image-box-img {
  display: none !important;
}

.elementor-133 .elementor-element-1c6732db .elementor-image-box-wrapper::before {
  display: grid;
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  place-items: center;
  border: 3px solid #ed1c24;
  border-radius: 50%;
  background: #fff;
  color: #0b2740;
  content: "";
  font-size: 18px;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 8px 20px rgb(0 0 0 / 22%);
}

.elementor-133 .elementor-element-2c578b4b .elementor-image-box-wrapper::before {
  content: "5G";
}

.elementor-133 .elementor-element-692511d3 .elementor-image-box-wrapper::before {
  content: "2D";
}

.elementor-133 .elementor-element-6d772495 .elementor-image-box-wrapper::before {
  content: "ETX";
}

.elementor-133 .elementor-element-936d1ee .elementor-image-box-wrapper::before {
  content: "60+";
}

.elementor-133 .elementor-element-5cabe81 .elementor-image-box-wrapper::before {
  content: "911";
}

.elementor-133 .elementor-element-747119a .elementor-image-box-wrapper::before {
  content: "TECH";
  font-size: 14px;
}

@media (max-width: 1100px) {
  .elementor-27 .elementor-element-79cac236 {
    grid-template-columns: minmax(0, 1fr);
    flex-direction: column !important;
    align-items: center !important;
    height: auto !important;
    padding: 44px 24px !important;
    gap: 28px !important;
  }

  .elementor-133 .elementor-element-3b991974 {
    min-height: 560px !important;
    justify-content: center !important;
    padding: 56px 32px !important;
    background-color: #132f45 !important;
    background-image:
      linear-gradient(rgb(0 0 0 / 54%), rgb(0 0 0 / 54%)),
      url("https://boyceseptictx.com/wp-content/uploads/2025/09/hero-1536x864-1.jpg") !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;
    text-align: center;
  }

  .elementor-133 .elementor-element-7f7b3a59 .elementor-heading-title {
    color: #ed1c24 !important;
    font-size: clamp(28px, 4vw, 38px) !important;
    font-weight: 800 !important;
    line-height: 1.1 !important;
    text-transform: uppercase;
    text-shadow:
      -1px -1px 0 #fff,
      1px -1px 0 #fff,
      -1px 1px 0 #fff,
      1px 1px 0 #fff;
  }

  .elementor-133 .elementor-element-19996ca6 .elementor-heading-title {
    color: #fff !important;
    font-size: clamp(34px, 5.2vw, 50px) !important;
    font-weight: 800 !important;
    line-height: 1.08 !important;
    text-transform: uppercase;
  }

  .elementor-133 .elementor-element-1542cfc2 .elementor-heading-title,
  .elementor-133 .elementor-element-1542cfc2 .elementor-heading-title a,
  .elementor-133 .elementor-element-85bf241 .elementor-heading-title {
    color: #fff !important;
  }

  .elementor-133 .elementor-element-1c6732db {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .elementor-27 .elementor-element-79cac236 > .elementor-widget-boyce-site-logo {
    width: 100% !important;
    max-width: 220px;
    align-self: center;
  }

  .elementor-27 .elementor-element-79cac236 > .elementor-widget-boyce-site-logo img {
    width: min(100%, 180px) !important;
    margin-inline: auto;
  }

  .elementor-27 .elementor-element-5de90f18 {
    width: min(100%, 760px) !important;
    max-width: 760px !important;
    height: auto !important;
    align-self: center;
    box-sizing: border-box;
    padding: 24px !important;
    border: 1px solid rgb(255 255 255 / 18%);
    background: #102f4d !important;
    box-shadow: 0 14px 34px rgb(0 0 0 / 20%);
  }

  .elementor-27 .elementor-element-779c6148 {
    display: grid !important;
    grid-template-columns: minmax(230px, 1.4fr) repeat(3, minmax(110px, 1fr));
    width: 100% !important;
    height: auto !important;
    padding: 10px 0 !important;
    gap: 24px !important;
  }

  .elementor-27 .elementor-element-779c6148 > .e-con {
    width: auto !important;
    min-width: 0 !important;
    height: auto !important;
  }

  .elementor-27 .elementor-element-79cac236 .elementor-heading-title {
    color: #fff !important;
    font-size: 18px !important;
    line-height: 1.25 !important;
  }

  .elementor-27 .elementor-element-3f622957 .elementor-heading-title,
  .elementor-27 .elementor-element-7babd5cc .elementor-heading-title,
  .elementor-27 .elementor-element-12f0d27d .elementor-heading-title,
  .elementor-27 .elementor-element-1993c586 .elementor-heading-title {
    color: #ff3b30 !important;
  }

  .elementor-27 .elementor-element-79cac236 .elementor-widget-text-editor,
  .elementor-27 .elementor-element-79cac236 .elementor-widget-text-editor *,
  .elementor-27 .elementor-element-79cac236 .elementor-icon-list-text,
  .elementor-27 .elementor-element-79cac236 .elementor-icon-list-text * {
    color: #fff !important;
    font-size: 16px !important;
    line-height: 1.45 !important;
  }

  .elementor-27 .elementor-element-79cac236 a {
    color: #fff !important;
    overflow-wrap: anywhere;
  }

  .boyce-carousel__track {
    grid-auto-columns: calc((100% - 20px) / 3);
  }
}

@media (min-width: 901px) and (max-width: 1100px) {
  .elementor-31 .elementor-element-522fbdd0 .boyce-site-logo img {
    width: min(100%, 130px) !important;
  }

  .boyce-navigation__menu {
    position: static !important;
    display: block !important;
    width: 100% !important;
    padding: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  .boyce-navigation__list {
    align-items: center !important;
    flex-direction: row !important;
    justify-content: center !important;
    gap: 14px !important;
  }

  .elementor-31 .elementor-element-b97157a .boyce-navigation__list > li > a {
    font-size: 24px !important;
    line-height: 1.25 !important;
    padding: 0 !important;
    text-align: left !important;
  }

  .boyce-navigation__list .sub-menu {
    position: absolute !important;
    display: none !important;
    padding: 8px 0 !important;
    background: #fff !important;
    box-shadow: 0 10px 28px rgb(0 0 0 / 18%) !important;
  }

  .boyce-navigation__list .menu-item-has-children:hover > .sub-menu,
  .boyce-navigation__list .menu-item-has-children:focus-within > .sub-menu {
    display: block !important;
  }
}

@media (max-width: 900px) {
  .elementor-31 .elementor-element-522fbdd0,
  .elementor-31 .elementor-element-522fbdd0 > .e-con-inner {
    min-height: 0 !important;
  }

  .elementor-31 .elementor-element-522fbdd0 > .e-con-inner {
    align-items: center !important;
    padding-block: 8px !important;
  }

  .elementor-31 .elementor-element-522fbdd0 .boyce-site-logo img {
    width: min(100%, 90px) !important;
  }

  .boyce-navigation__toggle {
    display: flex !important;
    flex-direction: column;
    justify-content: center;
  }

  .boyce-navigation__menu {
    position: absolute;
    z-index: 1000;
    top: calc(100% + 6px);
    right: 0;
    display: none;
    width: min(90vw, 420px);
    padding: 16px;
    background: #c4bc98;
    box-shadow: 0 12px 32px rgb(0 0 0 / 18%);
  }

  .boyce-navigation.is-open .boyce-navigation__menu {
    display: block;
  }

  .boyce-navigation__list {
    align-items: stretch;
    flex-direction: column;
    gap: 0;
  }

  .boyce-navigation__list a {
    padding: 10px;
    text-align: center;
  }

  .boyce-navigation__list .sub-menu {
    position: static;
    display: block;
    padding: 0;
    background: transparent;
    box-shadow: none;
  }

  .boyce-navigation__list .sub-menu a {
    color: #111;
    font-size: 20px;
  }

}

@media (max-width: 767px) {
  .elementor-133 .elementor-element-272e11e3,
  .elementor-133 .elementor-element-71b4e1 {
    grid-template-columns: minmax(0, 1fr);
  }

  .elementor-133 .elementor-element-3b991974 {
    min-height: 520px !important;
    padding: 44px 20px !important;
  }

  .elementor-133 .elementor-element-19996ca6 .elementor-heading-title {
    font-size: clamp(30px, 10vw, 40px) !important;
  }

  .elementor-133 .elementor-element-1c6732db {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 18px !important;
  }

  .elementor-31 .elementor-element-522fbdd0 > .e-con-inner {
    flex-wrap: nowrap !important;
  }

  .elementor-31 .elementor-element-522fbdd0 > .e-con-inner > .elementor-element.elementor-element-7594ad02 {
    flex: 0 0 90px !important;
    width: 90px !important;
    max-width: 90px !important;
  }

  .elementor-31 .elementor-element-522fbdd0 > .e-con-inner > .elementor-element.elementor-element-b97157a {
    flex: 0 0 48px !important;
    width: 48px !important;
    max-width: 48px !important;
    margin-left: auto !important;
  }

  .elementor-27 .elementor-element-79cac236 {
    padding: 36px 20px !important;
  }

  .elementor-27 .elementor-element-779c6148 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 20px !important;
  }

  .elementor-27 .elementor-element-3f622957,
  .elementor-27 .elementor-element-1993c586 {
    grid-column: 1 / -1;
  }

  .boyce-cta--cover {
    min-height: var(--boyce-cta-mobile-height, 500px);
    text-align: center;
  }

  .boyce-cta__title {
    font-size: var(--boyce-cta-title-mobile, 28px);
  }

  .boyce-cta__description {
    font-size: var(--boyce-cta-copy-mobile, 16px);
  }

  .boyce-carousel__track {
    grid-auto-columns: 100%;
  }

  .boyce-reviews {
    grid-template-columns: 1fr;
  }
}
