/* ECE 1919678 | Desktop premium home, inspired by approved mobile 1919677.
   ONLY min-width 981px, ONLY .ece78-desktop-home, all original brand/theme controls untouched. */
@media screen and (min-width:981px) {
  html:root body main .ece-approved-hero19191.ece78-desktop-home,
  html:root[data-theme] body main .ece-approved-hero19191.ece78-desktop-home {
    position:relative!important; padding:0 0 62px!important; margin:0!important;
    min-height:0!important; overflow:hidden!important; background:#061d43!important;
    color:#fff!important;
  }
  html:root body main .ece-approved-hero19191.ece78-desktop-home::before,
  html:root body main .ece-approved-hero19191.ece78-desktop-home::after {
    content:none!important;display:none!important;
  }
  html:root body main .ece-approved-hero19191.ece78-desktop-home > .container,
  html:root[data-theme] body main .ece-approved-hero19191.ece78-desktop-home > .container {
    max-width:none!important;width:100%!important;margin:0!important;padding:0!important;
  }
  html:root body main .ece-approved-hero19191.ece78-desktop-home .ece-approved-layout,
  html:root[data-theme] body main .ece-approved-hero19191.ece78-desktop-home .ece-approved-layout {
    position:relative!important; isolation:isolate!important; display:grid!important;
    grid-template-columns:minmax(0,1fr)!important;align-items:center!important;
    box-sizing:border-box!important;overflow:hidden!important;
    width:100%!important;min-height:clamp(490px,59vh,690px)!important;
    margin:0!important;gap:0!important;
    padding:clamp(72px,7.2vw,114px) max(40px,calc((100vw - 1340px)/2 + 44px)) 82px!important;
    border-bottom:1px solid rgba(151,183,236,.23)!important;
    background:#031a3c!important;
  }
  html:root body main .ece-approved-hero19191.ece78-desktop-home .ece-approved-layout::before {
    content:""!important;position:absolute!important;display:block!important;inset:0 0 0 27%!important;
    background:url('/ece77-hero.webp') center 52% / cover no-repeat!important;
    z-index:-2!important;pointer-events:none!important;
  }
  html:root body main .ece-approved-hero19191.ece78-desktop-home .ece-approved-layout::after {
    content:""!important;position:absolute!important;display:block!important;inset:0!important;
    background:linear-gradient(90deg,#031a3c 0%,rgba(3,26,60,.99) 24%,rgba(3,26,60,.87) 41%,rgba(3,26,60,.24) 74%,rgba(3,26,60,.06) 100%),linear-gradient(0deg,rgba(1,13,34,.48),transparent 24%)!important;
    z-index:-1!important;pointer-events:none!important;
  }
  html:root body main .ece-approved-hero19191.ece78-desktop-home .ece-approved-illustration {
    display:none!important;
  }
  html:root body main .ece-approved-hero19191.ece78-desktop-home .ece-approved-copy {
    position:relative!important;z-index:1!important;min-width:0!important;
    max-width:min(60vw,760px)!important;
  }
  html:root body main .ece-approved-hero19191.ece78-desktop-home .ece-approved-copy .eyebrow {
    display:none!important;
  }
  html:root body main .ece-approved-hero19191.ece78-desktop-home .ece-approved-copy h1,
  html:root[data-theme] body main .ece-approved-hero19191.ece78-desktop-home .ece-approved-copy h1 {
    display:block!important;max-width:690px!important;margin:0 0 24px!important;
    font:800 clamp(48px,5.05vw,78px)/1.085 Manrope,Arial,sans-serif!important;
    letter-spacing:-.046em!important;color:#fff!important;
    text-wrap:balance!important;overflow-wrap:normal!important;word-break:normal!important;
    text-shadow:0 3px 30px rgba(3,12,30,.2)!important;
  }
  html:root body main .ece-approved-hero19191.ece78-desktop-home .ece-approved-copy > p,
  html:root[data-theme] body main .ece-approved-hero19191.ece78-desktop-home .ece-approved-copy > p {
    max-width:570px!important;margin:0!important;
    font:500 clamp(17px,1.43vw,21px)/1.66 Manrope,Arial,sans-serif!important;
    color:#c6d9f5!important;letter-spacing:0!important;
  }
  html:root body main .ece-approved-hero19191.ece78-desktop-home .ece-approved-actions {
    display:flex!important;flex-wrap:wrap!important;align-items:center!important;
    gap:14px!important;margin:34px 0 0!important;
  }
  html:root body main .ece-approved-hero19191.ece78-desktop-home .ece-approved-actions > a {
    min-height:56px!important;padding:14px 29px!important;
    font:800 16px/1.25 Manrope,Arial,sans-serif!important;
    border-radius:12px!important;letter-spacing:0!important;gap:0!important;
    text-decoration:none!important;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease!important;
  }
  /* Swap visual priority WITHOUT altering either real URL or link. */
  html:root body main .ece-approved-hero19191.ece78-desktop-home .ece-approved-actions > .ece-approved-secondary {
    order:1!important;background:linear-gradient(120deg,#ff9d2b,#ff7718)!important;
    border:1px solid #ff9231!important;color:#fff!important;
    box-shadow:0 10px 28px rgba(0,7,28,.22)!important;
  }
  html:root body main .ece-approved-hero19191.ece78-desktop-home .ece-approved-actions > .ece-approved-primary {
    order:2!important;background:rgba(8,40,87,.36)!important;
    border:1px solid #77a5f4!important;color:#fff!important;
    box-shadow:none!important;
  }
  html:root body main .ece-approved-hero19191.ece78-desktop-home .ece-approved-actions > a > span[aria-hidden] {
    display:none!important;
  }
  html:root body main .ece-approved-hero19191.ece78-desktop-home .ece-approved-actions > a:is(:hover,:focus-visible) {
    transform:translateY(-2px)!important;box-shadow:0 13px 30px rgba(0,7,28,.34)!important;
  }
  html:root body main .ece-approved-hero19191.ece78-desktop-home .ece-approved-actions > a:focus-visible,
  html:root body main .ece-approved-hero19191.ece78-desktop-home .ece-approved-directions > a:focus-visible {
    outline:3px solid #ffad57!important;outline-offset:3px!important;
  }
  html:root body main .ece-approved-hero19191.ece78-desktop-home .ece78-directions-intro {
    display:block!important;max-width:1320px!important;
    box-sizing:border-box!important;margin:0 auto!important;
    padding:56px 40px 22px!important;
  }
  html:root body main .ece-approved-hero19191.ece78-desktop-home .ece78-directions-intro h2,
  html:root[data-theme] body main .ece-approved-hero19191.ece78-desktop-home .ece78-directions-intro h2 {
    font:800 clamp(32px,3.5vw,45px)/1.2 Manrope,Arial,sans-serif!important;
    letter-spacing:-.038em!important;color:#fff!important;margin:0 0 10px!important;
  }
  html:root body main .ece-approved-hero19191.ece78-desktop-home .ece78-directions-intro p {
    margin:0!important;color:#b7d0f0!important;
    font:500 16px/1.55 Manrope,Arial,sans-serif!important;
  }
  html:root body main .ece-approved-hero19191.ece78-desktop-home .ece-approved-directions,
  html:root[data-theme] body main .ece-approved-hero19191.ece78-desktop-home .ece-approved-directions {
    display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;
    box-sizing:border-box!important;max-width:1320px!important;
    padding:0 40px!important;margin:0 auto!important;gap:15px!important;
  }
  html:root body main .ece-approved-hero19191.ece78-desktop-home .ece-approved-directions > a.ece-hero-direction,
  html:root[data-theme] body main .ece-approved-hero19191.ece78-desktop-home .ece-approved-directions > a.ece-hero-direction {
    position:relative!important;isolation:isolate!important;overflow:hidden!important;
    display:flex!important;flex-direction:column!important;align-items:flex-start!important;
    box-sizing:border-box!important;min-width:0!important;min-height:216px!important;
    padding:23px!important;gap:14px!important;
    border:1px solid rgba(102,160,247,.6)!important;border-radius:15px!important;
    background:#092959!important;color:#fff!important;
    text-decoration:none!important;box-shadow:none!important;
    transition:transform .18s ease,border-color .18s ease!important;
  }
  html:root body main .ece-approved-hero19191.ece78-desktop-home .ece-approved-directions > a.ece-hero-direction::before {
    content:""!important;display:block!important;position:absolute!important;inset:0!important;
    background-image:var(--ece78-card-photo)!important;background-size:cover!important;
    background-position:center!important;z-index:-2!important;pointer-events:none!important;
  }
  html:root body main .ece-approved-hero19191.ece78-desktop-home .ece-approved-directions > a.ece-hero-direction::after {
    content:""!important;display:block!important;position:absolute!important;inset:0!important;
    background:linear-gradient(0deg,rgba(1,20,55,.93) 0%,rgba(1,20,55,.45) 57%,rgba(1,20,55,.12) 100%),linear-gradient(90deg,rgba(1,21,55,.26),transparent)!important;
    z-index:-1!important;pointer-events:none!important;
  }
  html:root body main .ece-approved-hero19191.ece78-desktop-home .ece-approved-directions > a.ece-hero-direction:nth-child(1) {--ece78-card-photo:url('/ece77-cogeneration.webp');}
  html:root body main .ece-approved-hero19191.ece78-desktop-home .ece-approved-directions > a.ece-hero-direction:nth-child(2) {--ece78-card-photo:url('/ece77-electrical.webp');}
  html:root body main .ece-approved-hero19191.ece78-desktop-home .ece-approved-directions > a.ece-hero-direction:nth-child(3) {--ece78-card-photo:url('/ece77-automation.webp');}
  html:root body main .ece-approved-hero19191.ece78-desktop-home .ece-approved-directions > a.ece-hero-direction:nth-child(4) {--ece78-card-photo:url('/ece77-maintenance.webp');}
  html:root body main .ece-approved-hero19191.ece78-desktop-home .ece-approved-directions > a.ece-hero-direction > svg {
    display:block!important;width:51px!important;height:51px!important;min-width:51px!important;
    flex:0 0 51px!important;box-sizing:border-box!important;padding:11px!important;
    border:1px solid rgba(101,162,255,.7)!important;border-radius:13px!important;
    background:rgba(7,46,105,.74)!important;stroke:#ffa635!important;
  }
  html:root body main .ece-approved-hero19191.ece78-desktop-home .ece-approved-directions > a.ece-hero-direction > span {
    position:relative!important;z-index:1!important;display:block!important;min-width:0!important;
    margin-top:auto!important;
  }
  html:root body main .ece-approved-hero19191.ece78-desktop-home .ece-approved-directions > a.ece-hero-direction strong,
  html:root[data-theme] body main .ece-approved-hero19191.ece78-desktop-home .ece-approved-directions > a.ece-hero-direction strong {
    display:block!important;color:#fff!important;
    font:800 clamp(15px,1.25vw,19px)/1.3 Manrope,Arial,sans-serif!important;
    text-shadow:0 2px 12px #061d43!important;
  }
  html:root body main .ece-approved-hero19191.ece78-desktop-home .ece-approved-directions > a.ece-hero-direction small,
  html:root[data-theme] body main .ece-approved-hero19191.ece78-desktop-home .ece-approved-directions > a.ece-hero-direction small {
    display:block!important;margin:6px 0 0!important;color:#d5e6ff!important;
    font:500 12px/1.5 Manrope,Arial,sans-serif!important;
    display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;
    overflow:hidden!important;
  }
  html:root body main .ece-approved-hero19191.ece78-desktop-home .ece-approved-directions > a.ece-hero-direction > i {
    display:none!important;
  }
  html:root body main .ece-approved-hero19191.ece78-desktop-home .ece-approved-directions > a.ece-hero-direction:is(:hover,:focus-visible) {
    transform:translateY(-4px)!important;border-color:#ffa635!important;
  }
  /* Keep published news visible and interactive; do not layer the photo over them. */
  html:root body main .ece-approved-hero19191.ece78-desktop-home.ece-news-hero191934 .ece-news-carousel191934,
  html:root body main .ece-approved-hero19191.ece78-desktop-home.ece-news-hero191934 .ece-news-static191934 {
    position:relative!important;z-index:3!important;
  }
}
@media screen and (min-width:981px) and (max-width:1199px) {
  html:root body main .ece-approved-hero19191.ece78-desktop-home .ece-approved-layout {
    min-height:495px!important;padding:65px 44px!important;
  }
  html:root body main .ece-approved-hero19191.ece78-desktop-home .ece-approved-copy {max-width:66vw!important;}
  html:root body main .ece-approved-hero19191.ece78-desktop-home .ece-approved-copy h1 {font-size:clamp(40px,4.6vw,59px)!important;}
  html:root body main .ece-approved-hero19191.ece78-desktop-home .ece-approved-directions {grid-template-columns:repeat(2,minmax(0,1fr))!important;}
  html:root body main .ece-approved-hero19191.ece78-desktop-home .ece-approved-directions > a.ece-hero-direction {min-height:180px!important;}
}
@media screen and (min-width:981px) and (prefers-reduced-motion:reduce) {
  html:root body main .ece-approved-hero19191.ece78-desktop-home :is(.ece-approved-actions a,.ece-approved-directions>a) {
    transition:none!important;transform:none!important;
  }
}

/* ECE 1919679 — one clear primary action on desktop home.
   Only the original /services link remains; the /contacts CTA is removed
   by the PHP renderer on all viewport sizes. */
@media screen and (min-width:981px) {
 html:root body main .ece-approved-hero19191.ece78-desktop-home .ece-approved-actions > .ece-approved-primary,
 html:root[data-theme] body main .ece-approved-hero19191.ece78-desktop-home .ece-approved-actions > .ece-approved-primary {
  display:none!important;
 }
 html:root body main .ece-approved-hero19191.ece78-desktop-home .ece-approved-actions > a.ece-approved-secondary,
 html:root[data-theme] body main .ece-approved-hero19191.ece78-desktop-home .ece-approved-actions > a.ece-approved-secondary {
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  order:1!important;
  box-sizing:border-box!important;
  min-height:66px!important;
  width:min(100%,322px)!important;
  padding:17px 35px!important;
  border:1px solid #ff9534!important;
  border-radius:14px!important;
  background:linear-gradient(115deg,#ffaf43 0%,#ff8d24 42%,#ff751a 100%)!important;
  color:#fff!important;
  font:800 19px/1.3 Manrope,Arial,sans-serif!important;
  text-shadow:0 1px 1px rgba(65,26,2,.15)!important;
  box-shadow:0 12px 32px rgba(255,128,24,.23)!important;
 }
 html:root body main .ece-approved-hero19191.ece78-desktop-home .ece-approved-actions > a.ece-approved-secondary:is(:hover,:focus-visible) {
  background:linear-gradient(110deg,#ffb652,#ff811f)!important;
  box-shadow:0 16px 36px rgba(255,128,24,.35)!important;
 }
}
