:root {
  --sct-navy: #06121e;
  --sct-navy-soft: #0c2235;
  --sct-blue: #086eb7;
  --sct-cyan: #18a5dc;
  --sct-gold: #f5b301;
  --sct-text: #112234;
  --sct-muted: #657486;
  --sct-line: #e1e8ee;
  --sct-surface: #f5f8fa;
}

/* HEADER */

.sct-header-enterprise {
  min-height: 82px !important;
}

.sct-header-logo-wrap {
  display: flex !important;
  align-items: center !important;
}

.sct-header-logo-enterprise {
  display: block !important;
  width: auto !important;
  height: 62px !important;
  max-width: 280px !important;
  object-fit: contain !important;
  object-position: left center !important;
}

/* HERO */

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

.sct-enterprise-hero-v5 h1 {
  max-width: 980px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  letter-spacing: -.045em !important;
  line-height: 1.04 !important;
}

.sct-hero-intro-v5 {
  max-width: 900px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  line-height: 1.72 !important;
}

.sct-enterprise-strap-v5 {
  font-weight: 850 !important;
}

/* SAFECONTRACTOR DIRECTLY BELOW HERO HEADING */

#sct-hero-safecontractor {
  width: fit-content;
  max-width: calc(100% - 28px);
  margin: 22px auto 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.sct-hero-sc-link {
  display: inline-flex;
  flex: 0 0 auto;
  text-decoration: none;
}

.sct-hero-sc-badge {
  display: block;
  width: 104px;
  height: 104px;
  object-fit: contain;
  border-radius: 50%;
  filter:
    drop-shadow(0 8px 18px rgba(0,0,0,.16));
}

.sct-hero-sc-copy {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.sct-hero-sc-copy strong {
  color: inherit;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.25;
}

.sct-hero-sc-copy span {
  margin-top: 4px;
  color: inherit;
  opacity: .72;
  font-size: 11px;
  font-weight: 750;
}

/* CONTRACTOR CAPABILITY BAND */

#sct-contractor-band-v5 {
  padding: 27px 24px;
  background:
    linear-gradient(
      135deg,
      #06121e,
      #0b2032
    );
  border-top:
    1px solid rgba(255,255,255,.07);
  border-bottom:
    1px solid rgba(255,255,255,.07);
  color: #fff;
}

.sct-contractor-band-shell {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns:
    repeat(4,minmax(0,1fr));
  gap: 0;
}

.sct-contractor-band-shell article {
  min-width: 0;
  padding: 10px 23px;
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  border-right:
    1px solid rgba(255,255,255,.11);
}

.sct-contractor-band-shell article:first-child {
  padding-left: 0;
}

.sct-contractor-band-shell article:last-child {
  padding-right: 0;
  border-right: 0;
}

.sct-contractor-band-shell article > span {
  color: var(--sct-cyan);
  font-size: 10px;
  font-weight: 950;
  line-height: 1.4;
}

.sct-contractor-band-shell strong {
  display: block;
  margin-bottom: 5px;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.3;
}

.sct-contractor-band-shell p {
  margin: 0;
  color: #bfcdda;
  font-size: 11.5px;
  line-height: 1.55;
}

/* EXISTING ENTERPRISE SECTIONS */

.sct-enterprise-services-v5,
.sct-enterprise-why-v5,
.sct-enterprise-about-v5 {
  scroll-margin-top: 100px;
}

/* HEAD OFFICE */

body #contact.sct-final-contact-cta-v3
#sct-office-card-v5.sct-contact-card {
  display: block !important;
  padding: 19px 22px !important;
  border-radius: 22px !important;
  background:
    rgba(255,255,255,.055) !important;
  border:
    1px solid rgba(245,179,1,.30) !important;
  box-shadow:
    0 18px 38px rgba(0,0,0,.30) !important;
}

body #contact.sct-final-contact-cta-v3
#sct-office-card-v5 span {
  display: block !important;
  margin-bottom: 8px !important;
  color: #f5b301 !important;
  font-size: 12px !important;
  font-weight: 950 !important;
  letter-spacing: .15em !important;
  text-transform: uppercase !important;
}

body #contact.sct-final-contact-cta-v3
#sct-office-card-v5 b {
  display: block !important;
  color: #fff !important;
  font-size: 16px !important;
  font-weight: 850 !important;
  line-height: 1.5 !important;
}

/* FOOTER */

#sct-legal-v5 {
  margin-top: 15px;
  padding-top: 13px;
  display: flex;
  justify-content: center;
  gap: 9px;
  flex-wrap: wrap;
  border-top:
    1px solid rgba(255,255,255,.10);
  font-size: 11px;
}

#sct-legal-v5 a,
#sct-legal-v5 button {
  appearance: none;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: 700;
  opacity: .80;
  cursor: pointer;
  text-decoration: none;
}

#sct-legal-v5 a:hover,
#sct-legal-v5 button:hover {
  opacity: 1;
  text-decoration: underline;
}

/* COOKIE BANNER */

#sct-cookie-banner-v5 {
  position: fixed;
  z-index: 2147483000;
  left: 16px;
  right: 16px;
  bottom: 16px;
  width: min(820px,calc(100% - 32px));
  margin: 0 auto;
  padding: 16px 17px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border: 1px solid #dce4ea;
  border-radius: 14px;
  background: rgba(255,255,255,.985);
  color: var(--sct-text);
  box-shadow:
    0 22px 65px rgba(6,18,30,.20);
  backdrop-filter: blur(16px);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}

.sct-cookie-copy-v5 {
  min-width: 0;
}

.sct-cookie-copy-v5 strong {
  display: block;
  margin-bottom: 4px;
  font-size: 14px;
  font-weight: 900;
}

.sct-cookie-copy-v5 p {
  margin: 0;
  color: var(--sct-muted);
  font-size: 12px;
  line-height: 1.5;
}

.sct-cookie-copy-v5 a {
  color: var(--sct-blue);
  font-weight: 800;
}

.sct-cookie-actions-v5 {
  flex: 0 0 auto;
  display: flex;
  gap: 8px;
}

.sct-cookie-actions-v5 button {
  min-height: 38px;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 850;
  cursor: pointer;
}

.sct-cookie-continue-v5 {
  border: 1px solid var(--sct-blue);
  background: var(--sct-blue);
  color: #fff;
}

.sct-cookie-settings-v5 {
  border: 1px solid #d3dde5;
  background: #fff;
  color: var(--sct-text);
}

/* COOKIE SETTINGS */

#sct-cookie-modal-v5 {
  position: fixed;
  z-index: 2147483001;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(4,11,18,.66);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}

#sct-cookie-modal-v5[hidden] {
  display: none !important;
}

.sct-cookie-panel-v5 {
  width: min(560px,100%);
  max-height: 90vh;
  overflow: auto;
  padding: 26px;
  border-radius: 18px;
  background: #fff;
  color: var(--sct-text);
  box-shadow:
    0 32px 100px rgba(0,0,0,.34);
}

.sct-cookie-modal-head-v5 {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.sct-cookie-modal-head-v5 span {
  display: block;
  margin-bottom: 4px;
  color: var(--sct-blue);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .10em;
  text-transform: uppercase;
}

.sct-cookie-modal-head-v5 h2 {
  margin: 0;
  font-size: 25px;
}

.sct-cookie-modal-head-v5 > button {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 9px;
  background: #eff3f6;
  color: var(--sct-text);
  font-size: 23px;
  cursor: pointer;
}

.sct-cookie-modal-intro-v5 {
  margin: 14px 0 18px;
  color: var(--sct-muted);
  line-height: 1.6;
}

.sct-cookie-row-v5 {
  padding: 16px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  border-top:
    1px solid var(--sct-line);
}

.sct-cookie-row-v5 strong,
.sct-cookie-row-v5 small {
  display: block;
}

.sct-cookie-row-v5 small {
  margin-top: 4px;
  color: var(--sct-muted);
  line-height: 1.45;
}

.sct-cookie-on-v5,
.sct-cookie-off-v5 {
  flex: 0 0 auto;
  padding: 6px 9px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 850;
  white-space: nowrap;
}

.sct-cookie-on-v5 {
  background: #e8f6ed;
  color: #217244;
}

.sct-cookie-off-v5 {
  background: #eef2f5;
  color: #657486;
}

.sct-cookie-save-v5 {
  width: 100%;
  min-height: 44px;
  margin-top: 19px;
  border: 0;
  border-radius: 9px;
  background: var(--sct-blue);
  color: #fff;
  font-weight: 850;
  cursor: pointer;
}

/* POLICY PAGES */

.sct-policy-page {
  margin: 0;
  background: #f5f8fa;
  color: var(--sct-text);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}

.sct-policy-shell {
  max-width: 900px;
  margin: 0 auto;
  padding: 56px 20px 80px;
}

.sct-policy-shell h1 {
  margin: 0 0 12px;
  font-size: clamp(36px,6vw,54px);
  letter-spacing: -.04em;
}

.sct-policy-shell h2 {
  margin-top: 34px;
}

.sct-policy-shell p,
.sct-policy-shell li {
  line-height: 1.75;
}

.sct-policy-shell a {
  color: var(--sct-blue);
  font-weight: 750;
}

.sct-policy-card {
  margin: 24px 0;
  padding: 20px;
  border: 1px solid var(--sct-line);
  border-radius: 14px;
  background: #fff;
}

/* TABLET */

@media (max-width: 900px) {
  .sct-contractor-band-shell {
    grid-template-columns:
      repeat(2,minmax(0,1fr));
  }

  .sct-contractor-band-shell article {
    padding: 16px;
    border-right: 0;
    border-bottom:
      1px solid rgba(255,255,255,.10);
  }
}

/* MOBILE */

@media (max-width: 620px) {
  .sct-header-enterprise {
    min-height: 68px !important;
  }

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

  .sct-enterprise-hero-v5 h1 {
    font-size: clamp(
      34px,
      10.5vw,
      48px
    ) !important;
  }

  #sct-hero-safecontractor {
    margin-top: 18px;
    margin-bottom: 18px;
    gap: 11px;
  }

  .sct-hero-sc-badge {
    width: 78px;
    height: 78px;
  }

  .sct-hero-sc-copy strong {
    font-size: 12.5px;
  }

  .sct-hero-sc-copy span {
    font-size: 10px;
  }

  #sct-contractor-band-v5 {
    padding: 20px 14px;
  }

  .sct-contractor-band-shell {
    grid-template-columns: 1fr;
  }

  .sct-contractor-band-shell article {
    padding: 17px 0;
  }

  #sct-cookie-banner-v5 {
    left: 10px;
    right: 10px;
    bottom: 10px;
    width: calc(100% - 20px);
    display: block;
  }

  .sct-cookie-actions-v5 {
    margin-top: 13px;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}

/* ==========================================================
   SCT ENTERPRISE VISUAL POLISH V5.1
   ========================================================== */

/* Header: make the real company crest visible, not tiny */

.sct-header-enterprise {
  min-height: 94px !important;
}

.sct-header-logo-wrap {
  overflow: visible !important;
}

.sct-header-logo-enterprise {
  width: 72px !important;
  height: 72px !important;
  min-width: 72px !important;
  max-width: 72px !important;
  object-fit: contain !important;
  object-position: center !important;
  flex: 0 0 72px !important;
  filter:
    drop-shadow(0 5px 10px rgba(0,0,0,.22));
}

/* Give header navigation a stronger corporate scale */

.sct-header-enterprise nav a {
  font-size: 15px !important;
  font-weight: 750 !important;
}

/* Hero: remove the unnecessary empty vertical space */

.sct-enterprise-hero-v5 {
  min-height: auto !important;
  padding-top: 82px !important;
  padding-bottom: 74px !important;
}

.sct-enterprise-strap-v5 {
  width: fit-content !important;
  max-width: calc(100% - 28px) !important;
  margin:
    0 auto 34px !important;
  padding:
    9px 17px !important;
  font-size: 12px !important;
  letter-spacing: .01em !important;
}

/* Main enterprise headline */

.sct-enterprise-hero-v5 h1 {
  max-width: 900px !important;
  margin:
    0 auto !important;
  font-size:
    clamp(46px, 5vw, 66px) !important;
  line-height: 1.035 !important;
  letter-spacing: -.045em !important;
}

/* Official SafeContractor seal:
   centred on its own line immediately below the H1 */

#sct-hero-safecontractor {
  width: auto !important;
  margin:
    22px auto 24px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 7px !important;
}

.sct-hero-sc-link {
  display: block !important;
}

.sct-hero-sc-badge {
  width: 92px !important;
  height: 92px !important;
  border-radius: 50% !important;
  object-fit: contain !important;
  background: transparent !important;
  filter:
    drop-shadow(0 8px 16px rgba(0,0,0,.22)) !important;
}

.sct-hero-sc-copy {
  text-align: center !important;
  align-items: center !important;
}

.sct-hero-sc-copy strong {
  font-size: 12.5px !important;
  line-height: 1.25 !important;
  font-weight: 850 !important;
}

.sct-hero-sc-copy span {
  margin-top: 2px !important;
  font-size: 10px !important;
  opacity: .76 !important;
}

/* Strong, shorter supporting copy */

.sct-hero-intro-v5 {
  max-width: 820px !important;
  margin:
    0 auto !important;
  font-size: 16.5px !important;
  line-height: 1.65 !important;
}

/* Keep CTA area close to the message */

.sct-enterprise-hero-v5
a,
.sct-enterprise-hero-v5
button {
  transition:
    transform .18s ease,
    box-shadow .18s ease,
    background .18s ease;
}

.sct-enterprise-hero-v5
a:hover,
.sct-enterprise-hero-v5
button:hover {
  transform: translateY(-1px);
}

/* Cleaner contractor capability bar */

#sct-contractor-band-v5 {
  padding:
    30px 24px !important;
  background:
    linear-gradient(
      135deg,
      #06121e 0%,
      #0a2032 58%,
      #0b2940 100%
    ) !important;
}

.sct-contractor-band-shell {
  max-width: 1180px !important;
}

/* Cookie notice: compact enterprise treatment */

#sct-cookie-banner-v5 {
  width:
    min(860px, calc(100% - 32px)) !important;
  padding:
    17px 18px !important;
  border-radius:
    12px !important;
}

.sct-cookie-continue-v5 {
  min-width: 118px !important;
}

@media (max-width: 760px) {

  .sct-header-enterprise {
    min-height: 76px !important;
  }

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

  .sct-enterprise-hero-v5 {
    padding-top: 62px !important;
    padding-bottom: 56px !important;
  }

  .sct-enterprise-strap-v5 {
    margin-bottom: 26px !important;
    padding: 8px 12px !important;
    font-size: 10.5px !important;
  }

  .sct-enterprise-hero-v5 h1 {
    max-width: 94% !important;
    font-size:
      clamp(36px, 9vw, 50px) !important;
  }

  .sct-hero-sc-badge {
    width: 78px !important;
    height: 78px !important;
  }

  .sct-hero-intro-v5 {
    max-width: 92% !important;
    font-size: 15px !important;
    line-height: 1.62 !important;
  }
}

@media (max-width: 480px) {

  .sct-enterprise-hero-v5 {
    padding-top: 48px !important;
  }

  .sct-enterprise-hero-v5 h1 {
    font-size:
      clamp(32px, 9.5vw, 43px) !important;
  }

  #sct-hero-safecontractor {
    margin:
      17px auto 20px !important;
  }

  .sct-hero-sc-badge {
    width: 72px !important;
    height: 72px !important;
  }
}
