.elementor-kit-9{--e-global-color-primary:#6EC1E4;--e-global-color-secondary:#54595F;--e-global-color-text:#7A7A7A;--e-global-color-accent:#61CE70;--e-global-typography-primary-font-family:"Roboto";--e-global-typography-primary-font-weight:600;--e-global-typography-secondary-font-family:"Roboto Slab";--e-global-typography-secondary-font-weight:400;--e-global-typography-text-font-family:"Roboto";--e-global-typography-text-font-weight:400;--e-global-typography-accent-font-family:"Roboto";--e-global-typography-accent-font-weight:500;}.elementor-kit-9 e-page-transition{background-color:#FFBC7D;}.elementor-section.elementor-section-boxed > .elementor-container{max-width:1140px;}.e-con{--container-max-width:1140px;}.elementor-widget:not(:last-child){--kit-widget-spacing:20px;}.elementor-element{--widgets-spacing:20px 20px;--widgets-spacing-row:20px;--widgets-spacing-column:20px;}{}h1.entry-title{display:var(--page-title-display);}.site-header .site-branding{flex-direction:column;align-items:stretch;}.site-header{padding-inline-end:0px;padding-inline-start:0px;}.site-footer .site-branding{flex-direction:column;align-items:stretch;}@media(max-width:1024px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:1024px;}.e-con{--container-max-width:1024px;}}@media(max-width:767px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:767px;}.e-con{--container-max-width:767px;}}
/* Start custom CSS *//* ============================================================
   H&L ELECTRIC — HEADER + GLOBAL FOUNDATIONS
   Version: 1.0 — 2026-07-22
   ============================================================ */

/* --- Design tokens (CSS custom properties for whole site) --- */
:root {
  --hl-navy: #0F2540;
  --hl-navy-dark: #081A30;
  --hl-navy-light: #1F3D5C;
  --hl-amber: #D4A547;
  --hl-amber-dark: #A8822F;
  --hl-amber-light: #E8C172;
  --hl-charcoal: #2A2F36;
  --hl-slate: #525B66;
  --hl-fog: #8C95A1;
  --hl-mist: #E8EBEF;
  --hl-cloud: #F6F8FA;
  --hl-white: #FFFFFF;

  --hl-font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --hl-header-height: 88px;
  --hl-header-height-mobile: 64px;
  --hl-content-max: 1280px;

  --hl-shadow-sm: 0 2px 8px rgba(15, 37, 64, 0.08);
  --hl-shadow-md: 0 4px 12px rgba(15, 37, 64, 0.10);
  --hl-transition: 200ms ease;
}

/* Load Inter from Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* --- Global accessibility utilities --- */
.hl-skip-link {
  position: absolute;
  top: -100px;
  left: 8px;
  z-index: 9999;
  padding: 12px 20px;
  background: var(--hl-navy);
  color: var(--hl-white);
  font-family: var(--hl-font-sans);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  border-radius: 4px;
  transition: top 150ms ease;
}
.hl-skip-link:focus {
  top: 8px;
  outline: 2px solid var(--hl-amber);
  outline-offset: 2px;
}

*:focus-visible {
  outline: 2px solid var(--hl-amber);
  outline-offset: 2px;
}

/* --- Header shell --- */
.hl-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  height: var(--hl-header-height);
  background: var(--hl-white);
  border-bottom: 1px solid var(--hl-mist);
  transition: box-shadow var(--hl-transition);
  font-family: var(--hl-font-sans);
}
.hl-header.is-sticky {
  box-shadow: var(--hl-shadow-sm);
}
.hl-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--hl-content-max);
  height: 100%;
  margin: 0 auto;
  padding: 0 32px;
  gap: 32px;
}

/* --- Logo --- */
.hl-header__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}
.hl-header__logo img {
  height: 44px;
  width: auto;
  display: block;
}

/* --- Desktop navigation --- */
.hl-header__nav {
  flex: 1;
  display: flex;
  justify-content: center;
}
.hl-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.hl-nav__item {
  position: relative;
}
.hl-nav__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 0;
  font-family: var(--hl-font-sans);
  font-weight: 500;
  font-size: 15px;
  color: var(--hl-charcoal);
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  transition: color var(--hl-transition);
}
.hl-nav__link:hover,
.hl-nav__link:focus-visible {
  color: var(--hl-amber);
}
.hl-nav__link.is-active {
  color: var(--hl-navy);
  font-weight: 600;
}
.hl-nav__trigger[aria-expanded="true"] {
  color: var(--hl-navy);
}
.hl-nav__caret {
  transition: transform var(--hl-transition);
}
.hl-nav__trigger[aria-expanded="true"] .hl-nav__caret {
  transform: rotate(180deg);
}

/* --- Dropdowns --- */
.hl-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 260px;
  padding: 8px 0;
  background: var(--hl-white);
  border: 1px solid var(--hl-mist);
  border-radius: 6px;
  box-shadow: var(--hl-shadow-md);
  list-style: none;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(-4px);
  transition: opacity var(--hl-transition), transform var(--hl-transition), visibility var(--hl-transition);
}
.hl-dropdown.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.hl-dropdown__link {
  display: block;
  padding: 10px 20px;
  font-family: var(--hl-font-sans);
  font-weight: 400;
  font-size: 14px;
  color: var(--hl-charcoal);
  text-decoration: none;
  transition: background var(--hl-transition), color var(--hl-transition);
}
.hl-dropdown__link:hover,
.hl-dropdown__link:focus-visible {
  background: var(--hl-cloud);
  color: var(--hl-navy);
}

/* --- Phone CTA --- */
.hl-header__phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  padding: 8px 12px;
  font-family: var(--hl-font-sans);
  font-weight: 600;
  font-size: 16px;
  color: var(--hl-navy);
  text-decoration: none;
  border-radius: 4px;
  transition: background var(--hl-transition);
}
.hl-header__phone:hover,
.hl-header__phone:focus-visible {
  background: var(--hl-cloud);
}
.hl-header__phone-icon {
  color: var(--hl-amber);
  flex-shrink: 0;
}

/* --- Hamburger button (mobile only) --- */
.hl-header__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
}
.hl-header__hamburger-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--hl-navy);
  transition: transform var(--hl-transition), opacity var(--hl-transition);
  transform-origin: center;
}
.hl-header__hamburger[aria-expanded="true"] .hl-header__hamburger-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hl-header__hamburger[aria-expanded="true"] .hl-header__hamburger-bar:nth-child(2) {
  opacity: 0;
}
.hl-header__hamburger[aria-expanded="true"] .hl-header__hamburger-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* --- Mobile menu overlay --- */
.hl-mobile-menu {
  position: fixed;
  top: var(--hl-header-height-mobile);
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999;
  background: var(--hl-white);
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 250ms ease;
  visibility: hidden;
}
.hl-mobile-menu.is-open {
  transform: translateX(0);
  visibility: visible;
}
.hl-mobile-menu__nav {
  display: flex;
  flex-direction: column;
  padding: 24px;
  gap: 4px;
}
.hl-mobile-menu__link {
  display: block;
  padding: 16px 8px;
  font-family: var(--hl-font-sans);
  font-weight: 600;
  font-size: 18px;
  color: var(--hl-navy);
  text-decoration: none;
  border-bottom: 1px solid var(--hl-mist);
}
.hl-mobile-menu__group {
  padding: 16px 0;
  border-bottom: 1px solid var(--hl-mist);
}
.hl-mobile-menu__group-label {
  padding: 0 8px 12px;
  font-family: var(--hl-font-sans);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--hl-amber);
}
.hl-mobile-menu__sublink {
  display: block;
  padding: 12px 8px 12px 16px;
  font-family: var(--hl-font-sans);
  font-weight: 500;
  font-size: 16px;
  color: var(--hl-charcoal);
  text-decoration: none;
}
.hl-mobile-menu__cta {
  display: block;
  margin-top: 16px;
  padding: 16px;
  background: var(--hl-amber);
  color: var(--hl-navy);
  font-family: var(--hl-font-sans);
  font-weight: 700;
  font-size: 18px;
  text-align: center;
  text-decoration: none;
  border-radius: 4px;
}

/* Prevent body scroll when mobile menu is open */
body.hl-menu-open {
  overflow: hidden;
}

/* --- Responsive breakpoints --- */
@media (max-width: 1024px) {
  .hl-header__inner {
    padding: 0 24px;
    gap: 20px;
  }
  .hl-nav {
    gap: 24px;
  }
  .hl-nav__link {
    font-size: 14px;
  }
}

@media (max-width: 900px) {
  .hl-header {
    height: var(--hl-header-height-mobile);
  }
  .hl-header__logo img {
    height: 32px;
  }
  .hl-header__nav {
    display: none;
  }
  .hl-header__phone-text {
    display: none;
  }
  .hl-header__phone {
    padding: 8px;
  }
  .hl-header__hamburger {
    display: flex;
  }
}

/* ============================================================
   OVERRIDE ELEMENTOR DEFAULT BUTTON STYLING IN HEADER
   Elementor Pro applies pink/magenta to <button> elements
   globally. Reset for our custom nav triggers.
   ============================================================ */
.hl-header button.hl-nav__trigger,
.hl-header button.hl-nav__trigger:hover,
.hl-header button.hl-nav__trigger:focus,
.hl-header button.hl-nav__trigger:active,
.hl-header .hl-header__hamburger,
.hl-header .hl-header__hamburger:hover,
.hl-header .hl-header__hamburger:focus,
.hl-header .hl-header__hamburger:active {
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
  color: var(--hl-charcoal) !important;
  padding: 8px 0 !important;
  font-family: var(--hl-font-sans) !important;
  font-weight: 500 !important;
  font-size: 15px !important;
  text-transform: none !important;
  letter-spacing: normal !important;
  border-radius: 0 !important;
}

.hl-header button.hl-nav__trigger:hover,
.hl-header button.hl-nav__trigger:focus-visible {
  color: var(--hl-amber) !important;
  background: transparent !important;
}

.hl-header button.hl-nav__trigger[aria-expanded="true"] {
  color: var(--hl-navy) !important;
}

/* Hamburger stays clean */
.hl-header .hl-header__hamburger {
  padding: 0 !important;
  width: 40px !important;
  height: 40px !important;
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}

/* Also normalize any button in mobile menu just in case */
.hl-mobile-menu button {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
}

/* ============================================================
   H&L ELECTRIC — PROJECT TILE PHOTO FILL
   ============================================================ */
.hl-project-tile__image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--hl-mist);
}
.hl-project-tile__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: absolute;
  inset: 0;
}/* End custom CSS */