
/* SAFETY CHECK TEST LTD - ENTERPRISE V6 PREVIEW */

.sct-enterprise-hero-v5 {
  position: relative !important;
  isolation: isolate;
  overflow: hidden;
  background-color: #06121e !important;
  background-image: none !important;
}

.sct-v6-slideshow {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.sct-v6-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.035);
  transition: opacity 1.4s ease, transform 8s ease;
}

.sct-v6-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.sct-v6-slideshow::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(3, 12, 22, .91),
      rgba(4, 18, 32, .69),
      rgba(4, 18, 32, .55)
    );
}

.sct-enterprise-hero-v5 h1 {
  color: #fff !important;
  text-shadow: 0 4px 25px rgba(0,0,0,.35);
}

.sct-v6-menu-button {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 16px;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 8px;
  background: #f5b301;
  color: #06121e;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.sct-v6-portal-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sct-v6-portal-links a {
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 750;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 7px;
  padding: 10px 12px;
}

.sct-v6-portal-links a:hover,
.sct-v6-portal-links a:focus-visible {
  background: #f5b301;
  color: #06121e;
}

@media (max-width: 900px) {
  .sct-v6-menu-button {
    display: inline-flex;
  }

  .sct-header-enterprise {
    position: relative;
  }

  .sct-header-enterprise nav.sct-v6-nav {
    display: none !important;
    flex-basis: 100%;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    padding: 15px;
    background: #0c2235;
    border-radius: 10px;
  }

  .sct-header-enterprise nav.sct-v6-nav.is-open {
    display: flex !important;
  }

  .sct-v6-portal-links {
    flex-basis: 100%;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sct-v6-slide {
    transition: none !important;
    transform: none !important;
  }
}


/* ENTERPRISE V6 - UNIFIED HAMBURGER NAVIGATION */

.sct-header-enterprise {
  position: relative !important;
}

.sct-header-enterprise .sct-v6-menu-button {
  display: inline-flex !important;
  margin-left: auto;
  background: #f5b301;
  color: #06121e;
  position: relative;
  z-index: 1002;
}

.sct-header-enterprise nav.sct-v6-nav {
  display: none !important;
  position: absolute !important;
  top: 100%;
  right: 16px;
  left: auto;
  width: min(360px, calc(100vw - 32px));
  max-height: 75vh;
  overflow-y: auto;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 0 !important;
  padding: 12px !important;
  background: #0c2235 !important;
  border: 1px solid rgba(245,179,1,.3);
  border-radius: 12px;
  box-shadow: 0 20px 45px rgba(0,0,0,.3);
  z-index: 1001;
}

.sct-header-enterprise nav.sct-v6-nav.is-open {
  display: flex !important;
}

.sct-header-enterprise nav.sct-v6-nav a {
  display: block;
  padding: 13px 16px !important;
  color: #fff !important;
  text-decoration: none;
  border-radius: 7px;
  font-weight: 650;
}

.sct-header-enterprise nav.sct-v6-nav a:hover,
.sct-header-enterprise nav.sct-v6-nav a:focus-visible {
  background: #f5b301 !important;
  color: #06121e !important;
  outline-offset: 2px;
}

.sct-header-enterprise .sct-v6-portal-links {
  display: none !important;
}

@media (max-width: 900px) {
  .sct-header-enterprise nav.sct-v6-nav {
    flex-basis: auto !important;
    width: min(360px, calc(100vw - 32px)) !important;
  }
}


/* ENTERPRISE V6 - SAFECONTRACTOR ACCREDITATION */

.sct-v6-accreditation {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 22px;
  margin-top: 28px;
  border: 1px solid rgba(245,179,1,.35);
  border-radius: 12px;
  background: #0c2235;
  color: #fff;
}

.sct-v6-accreditation img {
  display: block;
  width: 92px;
  height: 92px;
  object-fit: contain;
  flex-shrink: 0;
}

.sct-v6-accreditation-copy {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sct-v6-accreditation-copy strong {
  font-size: 17px;
  font-weight: 800;
  color: #f5b301;
}

.sct-v6-accreditation-copy span {
  font-size: 13px;
  color: #fff;
}

.sct-v6-footer-accreditation {
  margin: 20px auto;
  padding: 12px 16px;
  max-width: 390px;
}

.sct-v6-footer-accreditation img {
  width: 68px;
  height: 68px;
}

@media (max-width: 600px) {
  .sct-v6-accreditation {
    gap: 12px;
    padding: 14px;
  }

  .sct-v6-accreditation img {
    width: 70px;
    height: 70px;
  }

  .sct-v6-footer-accreditation img {
    width: 58px;
    height: 58px;
  }

  .sct-v6-accreditation-copy strong {
    font-size: 14px;
  }
}


/* TASK 28A - CENTRED SAFECONTRACTOR BADGES */

.sct-v6-accreditation {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  gap: 10px !important;
}

.sct-v6-accreditation img {
  display: block !important;
  margin-left: auto !important;
  margin-right: auto !important;
  object-fit: contain !important;
}

.sct-v6-accreditation-copy {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
  gap: 5px !important;
}

.sct-v6-accreditation-copy strong,
.sct-v6-accreditation-copy span {
  display: block !important;
  text-align: center !important;
}

.sct-v6-footer-accreditation {
  margin-left: auto !important;
  margin-right: auto !important;
}



/* TASK 35 - COMPACT PREMIUM HAMBURGER HEADER */

.sct-header-enterprise {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: nowrap !important;
  gap: 12px !important;
}

.sct-header-enterprise .sct-v6-menu-button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 44px !important;
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  min-height: 44px !important;
  padding: 0 !important;
  margin: 0 0 0 auto !important;
  border-radius: 10px !important;
  background: #e5b33b !important;
  color: #0b2238 !important;
  font-size: 0 !important;
  line-height: 1 !important;
  box-shadow: none !important;
}

.sct-header-enterprise .sct-v6-menu-button::before {
  content: "\\2630";
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
}

.sct-header-enterprise .sct-v6-menu-button:hover,
.sct-header-enterprise .sct-v6-menu-button:focus-visible {
  background: #f5c95c !important;
}

.sct-header-enterprise nav.sct-v6-nav {
  position: absolute !important;
  top: 100% !important;
  right: 12px !important;
  left: auto !important;
  width: min(300px, calc(100vw - 24px)) !important;
  z-index: 9999 !important;
}

@media (max-width: 767px) {
  .sct-header-enterprise {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: nowrap !important;
    gap: 8px !important;
  }

  .sct-header-enterprise .sct-v6-menu-button {
    flex: 0 0 42px !important;
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    min-height: 42px !important;
    margin-left: auto !important;
  }

  .sct-header-enterprise nav.sct-v6-nav {
    right: 10px !important;
    width: min(290px, calc(100vw - 20px)) !important;
  }
}

/* TASK 35A - PURE CSS HAMBURGER ICON */

.sct-header-enterprise .sct-v6-menu-button {
  position: relative !important;
  font-size: 0 !important;
  overflow: hidden !important;
}

.sct-header-enterprise .sct-v6-menu-button::before {
  content: "" !important;
  display: block !important;
  width: 21px !important;
  height: 16px !important;
  background:
    linear-gradient(#0b2238, #0b2238) center top / 21px 2px no-repeat,
    linear-gradient(#0b2238, #0b2238) center center / 21px 2px no-repeat,
    linear-gradient(#0b2238, #0b2238) center bottom / 21px 2px no-repeat !important;
}

.sct-header-enterprise .sct-v6-menu-button::after {
  content: none !important;
}

/* TASK 40 - RESPONSIVE ENTERPRISE HEADER */

.sct-header-enterprise {
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 100% !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: nowrap !important;
  gap: 12px !important;
}

.sct-header-enterprise > div:first-child {
  display: flex !important;
  flex: 1 1 auto !important;
  min-width: 0 !important;
  max-width: calc(100% - 58px) !important;
  align-items: center !important;
  overflow: hidden !important;
}

.sct-header-enterprise > div:first-child > div {
  min-width: 0 !important;
}

.sct-header-enterprise .sct-header-logo-enterprise {
  flex: 0 0 auto !important;
  object-fit: contain !important;
}

.sct-header-enterprise .sct-v6-menu-button {
  flex: 0 0 44px !important;
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  min-height: 44px !important;
  margin-left: auto !important;
  padding: 0 !important;
  font-size: 0 !important;
  overflow: hidden !important;
}

.sct-header-enterprise .sct-v6-menu-button::before {
  content: "" !important;
  display: block !important;
  width: 21px !important;
  height: 16px !important;
  background:
    linear-gradient(#0b2238,#0b2238) center top / 21px 2px no-repeat,
    linear-gradient(#0b2238,#0b2238) center center / 21px 2px no-repeat,
    linear-gradient(#0b2238,#0b2238) center bottom / 21px 2px no-repeat !important;
}

@media (max-width: 767px) {
  .sct-header-enterprise {
    min-height: 74px !important;
    padding: 12px 14px !important;
    gap: 8px !important;
  }

  .sct-header-enterprise > div:first-child {
    max-width: calc(100% - 50px) !important;
    gap: 8px !important;
  }

  .sct-header-enterprise .sct-header-logo-enterprise {
    height: 46px !important;
    width: auto !important;
    max-width: 66px !important;
  }

  .sct-header-enterprise .sct-v6-menu-button {
    flex-basis: 42px !important;
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    min-height: 42px !important;
  }
}

@media (max-width: 390px) {
  .sct-header-enterprise {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  .sct-header-enterprise .sct-header-logo-enterprise {
    height: 40px !important;
    max-width: 56px !important;
  }

  .sct-header-enterprise > div:first-child {
    max-width: calc(100% - 48px) !important;
  }
}


/* TASK 41 - FINAL MOBILE HEADER CORRECTION */

.sct-header-enterprise {
  position: relative !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: nowrap !important;
  box-sizing: border-box !important;
  max-width: 100% !important;
}

.sct-header-enterprise > div:first-child {
  display: flex !important;
  flex: 1 1 0% !important;
  min-width: 0 !important;
  max-width: calc(100% - 56px) !important;
  align-items: center !important;
}

.sct-header-enterprise > div:first-child > div {
  min-width: 0 !important;
  flex: 1 1 auto !important;
}

.sct-header-enterprise .sct-v6-menu-button {
  display: inline-flex !important;
  flex: 0 0 44px !important;
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  min-height: 44px !important;
  padding: 0 !important;
  margin: 0 0 0 auto !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 0 !important;
  line-height: 0 !important;
  color: transparent !important;
  background: #e5b33b !important;
  border-radius: 10px !important;
  overflow: hidden !important;
  white-space: nowrap !important;
}

.sct-header-enterprise .sct-v6-menu-button::before {
  content: "" !important;
  display: block !important;
  flex: 0 0 21px !important;
  width: 21px !important;
  height: 16px !important;
  background:
    linear-gradient(#0b2238,#0b2238) center top / 21px 2px no-repeat,
    linear-gradient(#0b2238,#0b2238) center center / 21px 2px no-repeat,
    linear-gradient(#0b2238,#0b2238) center bottom / 21px 2px no-repeat !important;
}

.sct-header-enterprise .sct-v6-menu-button::after {
  content: none !important;
}

@media (max-width: 767px) {
  .sct-header-enterprise {
    padding: 10px 12px !important;
    gap: 8px !important;
  }

  .sct-header-enterprise > div:first-child {
    max-width: calc(100% - 52px) !important;
    overflow: hidden !important;
  }

  .sct-header-enterprise .sct-header-logo-enterprise {
    height: 42px !important;
    max-width: 58px !important;
  }

  .sct-header-enterprise .sct-v6-menu-button {
    flex-basis: 44px !important;
  }

  .sct-header-enterprise nav.sct-v6-nav {
    right: 10px !important;
    width: min(300px, calc(100vw - 20px)) !important;
  }
}

@media (max-width: 375px) {
  .sct-header-enterprise {
    padding-left: 8px !important;
    padding-right: 8px !important;
  }

  .sct-header-enterprise .sct-header-logo-enterprise {
    height: 36px !important;
    max-width: 48px !important;
  }
}


/* SCT TASK56B HEADING CONTRAST FIX */
@media (max-width: 767px) {
  #services.sct-enterprise-services-v5 h2,
  #quote-wizard h2,
  #about.sct-enterprise-about-v5 h2 {
    color: #0f172a !important;
    -webkit-text-fill-color: #0f172a !important;
    background-image: none !important;
    background-clip: border-box !important;
    -webkit-background-clip: border-box !important;
    opacity: 1 !important;
    filter: none !important;
    text-shadow: none !important;
  }
}
/* END SCT TASK56B HEADING CONTRAST FIX */
