.site-header .brand img {
  display: block;
  width: 205px;
  height: 70px;
  object-fit: contain;
  object-position: left center;
}

.footer-brand {
  width: 270px;
  height: 115px;
  background: url("../images/energy-performance-specialists-logo.png") left center / contain no-repeat;
}

.footer-brand > * {
  display: none !important;
}

.solutions .service-grid .service-card:last-child {
  grid-column: auto;
}

.solutions .service-grid {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: inline mandatory;
  scrollbar-width: none;
  padding: 5px 2px 22px;
}

.solutions .service-card {
  min-height: 365px;
  flex: 0 0 calc((100% - 40px) / 3);
  scroll-snap-align: start;
}

.solutions .service-grid::-webkit-scrollbar { display: none; }

.solutions-intro { width: min(500px, 42vw); }
.solutions-intro p { color: #62716d; margin-bottom: 22px; }
.slider-controls { display: flex; justify-content: flex-end; gap: 9px; }
.slider-controls button { width: 45px; height: 45px; border: 1px solid #d9e0dc; border-radius: 50%; background: #fff; color: #132d2a; font-size: 19px; cursor: pointer; transition: .2s ease; }
.slider-controls button:hover { color: #fff; border-color: #146b60; background: #146b60; }

.checker .compact-options button { min-height: 58px; }

.nav-dropdown { position: static; }
.solutions-trigger { padding: 0; border: 0; background: none; color: #132d2a; font: 600 14px "DM Sans",sans-serif; cursor: pointer; }
.solutions-trigger span { display: inline-block; margin-left: 4px; color: #146b60; transition: transform .2s ease; }
.solutions-menu { position: absolute; z-index: 30; top: calc(100% - 5px); left: 50%; width: min(1120px,calc(100vw - 48px)); padding: 28px; border: 1px solid #e1e7e4; border-radius: 18px; background: #fff; box-shadow: 0 25px 70px rgba(8,34,31,.2); display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 26px; opacity: 0; visibility: hidden; transform: translate(-50%,10px); transition: .2s ease; }
.solutions-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -18px; height: 20px; }
.nav-dropdown:hover .solutions-menu,.nav-dropdown:focus-within .solutions-menu { opacity: 1; visibility: visible; transform: translate(-50%,0); }
.mega-heading { grid-column: 1/3; padding-bottom: 18px; border-bottom: 1px solid #e1e7e4; }
.mega-heading span { display: block; color: #132d2a; font: 800 21px "Manrope",sans-serif; }
.mega-heading p { margin: 3px 0 0; color: #62716d; font-size: 13px; }
.mega-column h3 { margin: 0 0 10px; color: #62716d; font: 800 10px "Manrope",sans-serif; letter-spacing: 1.4px; text-transform: uppercase; }
.mega-column a { display: flex; align-items: center; gap: 11px; padding: 8px; border-radius: 10px; }
.mega-column a:hover,.mega-column a:focus { background: #eef8f4; }
.mega-column a i { flex: 0 0 35px; width: 35px; height: 35px; display: grid; place-items: center; border-radius: 9px; background: #e8f5f0; color: #146b60; font-style: normal; font-size: 16px; }
.mega-column a span,.mega-column a b,.mega-column a small { display: block; }
.mega-column a b { color: #132d2a; font: 700 13px "Manrope",sans-serif; }
.mega-column a small { color: #74827f; font-size: 11px; font-weight: 400; }
.mega-feature { grid-column: 3; grid-row: 1/3; padding: 30px; border-radius: 14px; background: linear-gradient(145deg,#146b60,#0b302c); color: #fff; display: flex; flex-direction: column; justify-content: center; }
.mega-feature h3 { margin: 14px 0 10px; color: #fff; font-size: 25px; line-height: 1.15; }
.mega-feature p { color: #c8ded9; font-size: 13px; }
.mega-feature .mega-cta { margin-top: 8px; padding: 13px 16px; border-radius: 8px; background: #dafa72; color: #132d2a; font-weight: 800; }
.mega-feature .mega-cta span { float: right; }
.mega-feature .mega-phone { margin-top: 18px; color: #c8ded9; font-size: 11px; }
.mega-feature .mega-phone b { display: block; color: #fff; font-size: 14px; }

@media (max-width: 1050px) {
  .solutions .service-card { flex-basis: calc((100% - 20px) / 2); }
  .main-nav.open { max-height: calc(100vh - 95px); overflow-y: auto; }
  .solutions-trigger { width: 100%; padding: 4px 0; display: flex; align-items: center; justify-content: space-between; text-align: left; }
  .nav-dropdown:hover .solutions-menu,.nav-dropdown:focus-within .solutions-menu { opacity: 0; visibility: hidden; }
  .main-nav.open .nav-dropdown.mobile-expanded .solutions-menu { position: static; width: 100%; max-height: none; overflow: visible; margin-top: 10px; padding: 14px; box-shadow: none; transform: none; visibility: visible; opacity: 1; grid-template-columns: 1fr; gap: 14px; }
  .nav-dropdown.mobile-expanded .solutions-trigger span { transform: rotate(180deg); }
  .main-nav.open .mega-heading { grid-column: auto; }
  .main-nav.open .mega-feature { grid-column: auto; grid-row: auto; }
}

.solutions .solar-card {
  background: #dafa72;
}

.solutions .service-icon {
  font-family: "DM Sans", sans-serif;
}

.confidence .stats article {
  min-height: 275px;
  padding: 34px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: linear-gradient(145deg, rgba(255,255,255,.025), transparent 70%);
  transition: background .25s ease, transform .25s ease;
}

.confidence .stats article:hover {
  background: #19443e;
}

.confidence .stats article > i {
  position: absolute;
  top: 25px;
  right: 28px;
  color: rgba(255,255,255,.3);
  font: 700 11px "Manrope", sans-serif;
  font-style: normal;
  letter-spacing: 1px;
}

.confidence .stat-icon {
  width: 50px;
  height: 50px;
  margin-bottom: 35px;
  border: 1px solid rgba(218,250,114,.42);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #dafa72;
  font-size: 21px;
}

.confidence .stats strong {
  margin-bottom: 11px;
  color: #fff;
  font-size: 20px;
}

.confidence .stats span {
  max-width: 250px;
  line-height: 1.55;
  color: #b8cbc7;
}

@media (max-width: 700px) {
  .main-nav.open {
    left: 10px;
    right: 10px;
    padding: 20px;
    gap: 18px;
    border: 1px solid #e1e7e4;
    border-radius: 14px;
  }

  .main-nav.open > a,
  .solutions-trigger {
    min-height: 42px;
    display: flex;
    align-items: center;
  }

  .main-nav.open .solutions-menu {
    padding: 10px;
    background: #f6f8f6;
  }

  .mega-heading {
    display: none;
  }

  .mega-column h3 {
    margin-top: 4px;
  }

  .mega-column a {
    min-height: 56px;
    padding: 8px 6px;
  }

  .mega-feature {
    padding: 22px;
  }

  .mega-feature h3 {
    font-size: 21px;
  }

  .confidence .stats article {
    min-height: 235px;
  }

  .solutions .service-grid {
    display: flex;
  }

  .solutions .service-card { flex-basis: 86%; }
  .solutions-intro { width: 100%; margin-top: 22px; }
  .slider-controls { justify-content: flex-start; }

  .site-header .brand img {
    width: 155px;
    height: 58px;
  }

  .footer-brand {
    width: 240px;
    height: 105px;
  }

  .footer-main a {
    overflow-wrap: anywhere;
  }
}
