:root {
  --navy: #03101d;
  --navy-2: #061d33;
  --blue: #0796f6;
  --blue-dark: #0567bd;
  --orange: #ff650d;
  --red: #e3192b;
  --white: #ffffff;
  --muted: #b9c9d8;
  --line: rgba(39, 163, 255, .42);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--white);
  background: #020a12;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.45;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
.wrap { width: min(1400px, calc(100% - 40px)); margin-inline: auto; }

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  background: rgba(2, 8, 15, .97);
  border-bottom: 2px solid #12446d;
  box-shadow: 0 8px 30px rgba(0,0,0,.35);
}
.header-inner { min-height: 104px; display: flex; align-items: center; gap: 30px; }
.brand { min-width: 330px; text-decoration: none; text-transform: uppercase; font-weight: 900; line-height: .9; }
.brand-top { display: block; color: #56b8ff; font-size: 2rem; font-style: italic; letter-spacing: 1px; text-shadow: 0 2px 0 #004c88; }
.brand-main { display: block; color: #fff; font-size: 1.18rem; letter-spacing: .5px; }
.brand-sub { display: block; color: #d7e4ec; font-size: .68rem; letter-spacing: 2.2px; margin-top: 8px; }
.brand::before { content: ""; display: block; height: 5px; width: 230px; margin: 0 auto 6px; background: linear-gradient(100deg, transparent 3%, var(--blue) 20% 62%, var(--red) 65% 92%, transparent); transform: skewX(-22deg); }
.main-nav { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.main-nav a, .dropbtn { padding: 12px 14px; border-radius: 4px; text-decoration: none; text-transform: uppercase; font-weight: 800; font-size: .83rem; letter-spacing: .3px; background: transparent; color: #fff; border: 0; cursor: pointer; }
.main-nav a:hover, .main-nav a:focus, .dropbtn:hover, .dropbtn:focus, .main-nav a.active { background: var(--blue-dark); outline: none; }
.dropdown { position: relative; }
.dropdown-menu { display: none; position: absolute; left: 0; top: calc(100% + 6px); min-width: 250px; background: #071624; border: 1px solid #1c6ea6; padding: 7px; box-shadow: 0 16px 35px rgba(0,0,0,.5); }
.dropdown:hover .dropdown-menu, .dropdown:focus-within .dropdown-menu, .dropdown.open .dropdown-menu { display: block; }
.dropdown-menu a { display: block; padding: 10px 12px; text-transform: none; }
.emergency { min-width: 218px; display: grid; grid-template-columns: 44px 1fr; align-items: center; column-gap: 10px; }
.emergency-icon { grid-row: 1 / span 2; color: var(--red); font-size: 2.1rem; }
.emergency strong { font-size: 1.2rem; line-height: 1.05; }
.emergency small { color: #dce7f0; border-top: 1px solid var(--red); padding-top: 5px; }
.menu-toggle { display: none; margin-left: auto; background: var(--blue-dark); color: white; border: 0; border-radius: 4px; padding: 10px 12px; font-size: 1.2rem; }

.hero {
  min-height: 520px;
  display: flex;
  align-items: center;
  background-image: linear-gradient(90deg, rgba(0,8,15,.96) 0%, rgba(0,10,18,.78) 34%, rgba(0,0,0,.1) 69%), url('images/hero-hvac.png');
  background-position: center;
  background-size: cover;
  border-bottom: 1px solid var(--line);
}
.hero-copy { width: min(720px, 58%); padding: 64px 0; }
.eyebrow { color: #9dd8ff; font-weight: 800; text-transform: uppercase; letter-spacing: 2px; }
h1 { margin: 8px 0 12px; font-size: clamp(3rem, 5.2vw, 5.6rem); line-height: .88; text-transform: uppercase; letter-spacing: -2px; }
h1 span { display: block; color: var(--blue); }
.hero-services { margin: 0 0 16px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; }
.hero p { max-width: 650px; font-size: 1.05rem; color: #f0f5f8; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 25px; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 48px; padding: 11px 22px; border-radius: 5px; text-decoration: none; text-align: center; font-weight: 900; border: 2px solid #fff; transition: transform .15s, background .15s; }
.button:hover, .button:focus { transform: translateY(-2px); }
.button-orange { border-color: var(--orange); background: var(--orange); }
.button-blue { border-color: var(--blue); background: var(--blue-dark); }

.trust-strip { background: #061523; border-bottom: 1px solid var(--line); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 17px 10px; text-transform: uppercase; font-weight: 800; font-size: .84rem; border-right: 1px solid rgba(255,255,255,.12); }
.trust-item:last-child { border-right: 0; }
.trust-icon { color: var(--blue); font-size: 1.55rem; }

.section { padding: 62px 0; }
.section-dark { background: linear-gradient(180deg, #03111e, #020810); }
.section-title { margin: 0 0 10px; font-size: clamp(2rem, 3.5vw, 3.4rem); line-height: 1; text-transform: uppercase; }
.section-title span { color: var(--blue); }
.section-lead { margin: 0 0 30px; max-width: 760px; color: var(--muted); }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; }
.service-card { position: relative; min-height: 240px; padding: 28px 23px; overflow: hidden; border: 1px solid var(--blue); border-radius: 9px; background: linear-gradient(145deg, #06427a, #03121e 72%); text-decoration: none; }
.service-card:nth-child(even) { border-color: var(--orange); background: linear-gradient(145deg, #7d2905, #17100b 72%); }
.service-card:hover { box-shadow: 0 0 0 2px rgba(7,150,246,.25), 0 14px 35px rgba(0,0,0,.35); transform: translateY(-3px); }
.service-symbol { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 10px; background: var(--blue); font-size: 2rem; }
.service-card:nth-child(even) .service-symbol { background: var(--orange); }
.service-card h3 { margin: 22px 0 7px; font-size: 1.45rem; text-transform: uppercase; }
.service-card p { margin: 0; color: #d8e3eb; }
.arrow { position: absolute; right: 18px; bottom: 16px; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: white; color: #0966ac; font-size: 1.4rem; font-weight: 900; }

.tune-banner { background: radial-gradient(circle at 10% 50%, #14577b 0, transparent 25%), linear-gradient(90deg, #082338, #030c15); border-block: 1px solid var(--line); }
.tune-inner { display: grid; grid-template-columns: 1.1fr 2fr 1.15fr; gap: 28px; align-items: center; padding-block: 26px; }
.tune-title { font-size: 2rem; line-height: .95; text-transform: uppercase; font-weight: 900; }
.tune-title span { color: var(--blue); display: block; }
.feature-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.mini-feature { text-align: center; font-size: .72rem; font-weight: 800; text-transform: uppercase; }
.mini-feature b { display: grid; place-items: center; width: 45px; height: 45px; margin: 0 auto 7px; border: 2px solid var(--blue); border-radius: 50%; color: #70c8ff; font-size: 1.25rem; }
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 34px; align-items: center; }
.panel { padding: 30px; border: 1px solid var(--line); border-radius: 9px; background: rgba(4,24,40,.85); }
.panel h2, .panel h3 { margin-top: 0; text-transform: uppercase; }
.checklist { padding: 0; list-style: none; }
.checklist li { position: relative; padding: 9px 0 9px 30px; border-bottom: 1px solid rgba(255,255,255,.08); }
.checklist li::before { content: "✓"; position: absolute; left: 0; color: var(--blue); font-weight: 900; }

.page-hero { padding: 90px 0 65px; background: linear-gradient(120deg, rgba(2,10,18,.98), rgba(5,53,88,.82)), url('images/hero-hvac.png') center/cover; border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(2.7rem, 5vw, 5rem); }
.page-hero p { max-width: 760px; font-size: 1.15rem; color: #d8e6ef; }
.service-detail { scroll-margin-top: 120px; margin-bottom: 18px; }
.service-detail h2 { color: #63beff; }

.contact-band { background: #082643; border-top: 1px solid var(--line); }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding-block: 24px; }
.contact-grid a, .contact-grid div { text-align: center; text-decoration: none; font-weight: 800; }
.site-footer { padding: 18px 0; background: #02070c; color: #a9bdcb; text-align: center; font-size: .88rem; }

@media (max-width: 1050px) {
  .header-inner { min-height: 82px; }
  .brand { min-width: 265px; }
  .brand-top { font-size: 1.55rem; }
  .brand-main { font-size: .95rem; }
  .emergency { display: none; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .tune-inner { grid-template-columns: 1fr; }
}
@media (max-width: 780px) {
  .wrap { width: min(100% - 28px, 1400px); }
  .menu-toggle { display: block; }
  .main-nav { display: none; position: absolute; top: 82px; left: 0; right: 0; flex-direction: column; align-items: stretch; padding: 12px 16px 18px; background: #020a12; }
  .main-nav.open { display: flex; }
  .main-nav a, .dropbtn { width: 100%; display: block; text-align: left; }
  .dropdown-menu { position: static; box-shadow: none; margin-top: 4px; }
  .hero { min-height: 650px; align-items: flex-end; background-image: linear-gradient(0deg, rgba(0,8,15,.98) 0%, rgba(0,8,15,.75) 55%, rgba(0,0,0,.05) 100%), url('images/hero-hvac.png'); background-position: 63% center; }
  .hero-copy { width: 100%; padding: 230px 0 42px; }
  h1 { font-size: clamp(2.6rem, 13vw, 4.2rem); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(2) { border-right: 0; }
  .service-grid, .split, .contact-grid { grid-template-columns: 1fr; }
  .feature-row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .brand { min-width: 0; }
  .brand-top { font-size: 1.25rem; }
  .brand-main { font-size: .78rem; }
  .brand-sub { display: none; }
  .brand::before { width: 170px; }
  .service-grid { grid-template-columns: 1fr; }
}
.energy-audit-link {
  display: block;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.energy-audit-link:hover {
  transform: translateY(-3px);
  border-color: #168ee5;
}

.energy-audit-link .button {
  display: inline-block;
  margin-top: 12px;
}
.button-audit {
  background: #138b72;
  border-color: #138b72;
  color: #ffffff;
}

.button-audit:hover {
  background: #19a98a;
  border-color: #19a98a;
}
.button-audit {
  background: #087dce;
  border: 2px solid #087dce;
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(8, 125, 206, 0.3);
}

.button-audit:hover {
  background: #1099f5;
  border-color: #1099f5;
  color: #ffffff;
}
.hero-action-layout {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.hero-action-top {
  display: flex;
  gap: 14px;
}

.energy-audit-button {
  align-self: center;
}

@media (max-width: 650px) {
  .hero-action-top {
    flex-direction: column;
    width: 100%;
  }

  .energy-audit-button {
    align-self: flex-start;
  }
}
/* Allow every Services dropdown link to appear */
.dropdown-menu {
  max-height: none !important;
  height: auto !important;
  overflow: visible !important;
  z-index: 9999 !important;
}
















