:root {
  --black: #050505;
  --black-2: #0b0b0b;
  --red: #ef1d25;
  --red-dark: #b90f16;
  --white: #ffffff;
  --muted: #bdbdbd;
  --line: #292929;
  --max: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: #151515;
  background: var(--white);
  font-family: Inter, Arial, sans-serif;
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }

.site-header {
  position: absolute;
  z-index: 20;
  top: 0; left: 0; right: 0;
  min-height: 112px;
  padding: 20px 4vw;
  display: flex;
  align-items: center;
  gap: 34px;
  color: var(--white);
  background: linear-gradient(180deg, rgba(0,0,0,.86), rgba(0,0,0,0));
}
.brand { display: grid; line-height: 1; min-width: 260px; }
.brand-cpr, .footer .brand-cpr {
  color: var(--red);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 58px;
  font-weight: 800;
  letter-spacing: -1px;
}
.brand-name {
  color: var(--white);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -.5px;
}
.brand-tag {
  margin-top: 6px;
  color: #d8d8d8;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .4px;
}
.nav { display: flex; align-items: center; justify-content: center; gap: 28px; margin-left: auto; }
.nav a {
  position: relative;
  padding: 12px 0;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 800;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%; bottom: 4px;
  height: 2px;
  background: var(--red);
  transition: .25s ease;
}
.nav a:hover::after, .nav a.active::after { right: 0; }
.header-phone {
  white-space: nowrap;
  font-weight: 800;
  font-size: 16px;
}
.phone-icon {
  display: inline-grid;
  place-items: center;
  width: 38px; height: 38px;
  margin-right: 7px;
  border: 1px solid var(--red);
  border-radius: 50%;
  color: var(--red);
}
.menu-toggle { display: none; background: none; border: 0; color: white; font-size: 28px; }

.hero {
  min-height: 760px;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background: var(--black);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url("hero-hvac.jpg");
  background-size: cover;
  background-position: 72% center;
  filter: brightness(.82) saturate(.95);
  transform: scale(1.02);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.97) 0%, rgba(0,0,0,.78) 30%, rgba(0,0,0,.18) 66%, rgba(0,0,0,.35) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  width: min(760px, 92vw);
  margin: 110px 0 0 7vw;
}
.eyebrow, .section-kicker {
  color: var(--red);
  font-weight: 800;
  letter-spacing: 1.3px;
  font-size: 13px;
}
.hero h1 {
  margin: 12px 0 18px;
  display: grid;
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(64px, 8vw, 112px);
  line-height: .83;
  letter-spacing: -1px;
}
.hero h1 strong { color: var(--red); }
.slogan {
  margin: 18px 0 8px;
  font-size: clamp(22px, 2.3vw, 34px);
  font-weight: 800;
}
.hero-copy { max-width: 560px; color: #d5d5d5; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 28px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 25px;
  border-radius: 5px;
  border: 1px solid transparent;
  text-transform: uppercase;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: .3px;
  cursor: pointer;
  transition: transform .2s, background .2s, color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-red { background: var(--red); color: white; }
.btn-red:hover { background: #ff3037; }
.btn-outline { border-color: white; color: white; background: rgba(0,0,0,.15); }
.btn-outline:hover { background: white; color: black; }
.btn.large { min-width: 230px; }

.heartbeat {
  position: relative;
  height: 38px;
  overflow: hidden;
}
.heartbeat span {
  display: block;
  position: absolute;
  left: -2%;
  top: 50%;
  width: 104%;
  height: 100%;
  transform: translateY(-50%);
  background: linear-gradient(90deg, transparent 0 7%, var(--red) 7% 7.3%, transparent 7.3% 18%, var(--red) 18% 18.4%, transparent 18.4% 42%, var(--red) 42% 42.3%, transparent 42.3% 100%);
  clip-path: polygon(0 49%, 16% 49%, 17% 47%, 18% 51%, 19% 49%, 28% 49%, 29% 45%, 30% 52%, 31% 49%, 38% 49%, 40% 49%, 41% 10%, 42% 88%, 43% 49%, 45% 49%, 46% 35%, 47% 62%, 48% 49%, 58% 49%, 60% 49%, 61% 43%, 62% 53%, 63% 49%, 76% 49%, 78% 49%, 79% 15%, 80% 83%, 81% 49%, 100% 49%, 100% 55%, 0 55%);
  filter: drop-shadow(0 0 6px rgba(239,29,37,.85));
}
.heartbeat-hero { max-width: 700px; margin: 10px 0 -3px; }

.promise-strip {
  position: relative;
  z-index: 3;
  margin-top: -1px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--black);
  color: white;
  border-top: 3px solid var(--red);
}
.promise-strip article {
  min-height: 175px;
  padding: 28px 22px;
  text-align: center;
  border-right: 1px solid var(--line);
}
.promise-strip article:last-child { border-right: 0; }
.feature-icon { color: var(--red); font-size: 40px; font-weight: 700; line-height: 1; }
.promise-strip h3 { margin: 12px 0 4px; text-transform: uppercase; font-size: 14px; }
.promise-strip p { margin: 0 auto; max-width: 210px; color: #bbb; font-size: 12px; }

.section { padding: 92px max(5vw, 24px); }
.about {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 70px;
  align-items: center;
}
.section-kicker { margin: 0 0 7px; }
.about h2, .reviews h2, .contact h2 {
  margin: 0;
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(48px, 5vw, 70px);
  line-height: .9;
}
.about-copy > p:not(.section-kicker) { max-width: 530px; }
.small-heartbeat { width: 100%; max-width: 530px; margin: 10px 0 20px; }
.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 18px; }
.service-card {
  min-height: 210px;
  padding: 28px;
  background: white;
  border: 1px solid #e8e8e8;
  box-shadow: 0 10px 30px rgba(0,0,0,.06);
  border-radius: 7px;
  text-align: center;
  transition: transform .2s, box-shadow .2s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 15px 36px rgba(0,0,0,.1); }
.service-symbol { color: var(--red); font-size: 38px; }
.service-card h3 { margin: 10px 0 5px; text-transform: uppercase; font-size: 15px; }
.service-card p { margin: 0; color: #666; font-size: 13px; }

.reviews { background: var(--black); color: white; text-align: center; }
.reviews-inner { max-width: var(--max); margin: auto; }
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 38px; }
.review-grid blockquote {
  margin: 0;
  padding: 30px;
  border: 1px solid #292929;
  background: #0d0d0d;
  border-radius: 6px;
}
.stars { color: var(--red); letter-spacing: 3px; }
.review-grid p { color: #ddd; }
.review-grid cite { color: #aaa; font-size: 12px; font-style: normal; }

.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: start;
  background: #f7f7f7;
}
.contact-copy { padding-top: 18px; }
.contact-form {
  padding: 34px;
  background: white;
  border-top: 4px solid var(--red);
  box-shadow: 0 12px 35px rgba(0,0,0,.08);
}
.contact-form h3 { margin-top: 0; font-size: 24px; text-transform: uppercase; }
.contact-form label { display: block; margin: 13px 0; font-size: 12px; font-weight: 800; text-transform: uppercase; }
.contact-form input, .contact-form select, .contact-form textarea {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 13px;
  border: 1px solid #ddd;
  border-radius: 4px;
  outline: none;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--red); }
.form-note { min-height: 20px; color: var(--red-dark); font-size: 12px; font-weight: 700; }

.footer {
  position: relative;
  padding: 55px 24px 25px;
  text-align: center;
  background: #050505;
  color: white;
  overflow: hidden;
}
.footer-heartbeat { opacity: .8; }
.footer-brand .brand-cpr { font-size: 48px; }
.footer-brand .brand-name { font-size: 18px; }
.footer-slogan { color: #ddd; font-weight: 800; letter-spacing: .6px; }
.footer-phone {
  display: inline-block;
  margin: 8px 0 20px;
  padding: 12px 22px;
  background: var(--red);
  border-radius: 5px;
  font-weight: 800;
}
.copyright { color: #777; font-size: 11px; margin: 0; }

@media (max-width: 1000px) {
  .site-header { gap: 16px; }
  .brand { min-width: 210px; }
  .brand-cpr { font-size: 48px; }
  .nav { gap: 15px; }
  .header-phone { font-size: 13px; }
  .phone-icon { width: 30px; height: 30px; }
  .about, .contact { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .site-header {
    min-height: 86px;
    padding: 14px 20px;
    align-items: flex-start;
  }
  .brand { min-width: 0; }
  .brand-cpr { font-size: 43px; }
  .brand-name { font-size: 16px; }
  .brand-tag { font-size: 7px; }
  .header-phone { display: none; }
  .menu-toggle { display: block; margin-left: auto; }
  .nav {
    display: none;
    position: absolute;
    top: 78px; left: 15px; right: 15px;
    padding: 18px;
    flex-direction: column;
    align-items: stretch;
    background: #080808;
    border: 1px solid #222;
  }
  .nav.open { display: flex; }
  .nav a { padding: 10px; }
  .hero { min-height: 750px; }
  .hero-bg { background-position: 70% center; }
  .hero-overlay { background: linear-gradient(90deg, rgba(0,0,0,.96) 0%, rgba(0,0,0,.72) 58%, rgba(0,0,0,.46) 100%); }
  .hero-content { margin: 100px auto 0; padding: 0 22px; }
  .hero h1 { font-size: clamp(54px, 16vw, 86px); }
  .promise-strip { grid-template-columns: 1fr 1fr; }
  .promise-strip article { min-height: 155px; }
  .section { padding: 70px 22px; }
  .service-grid, .review-grid { grid-template-columns: 1fr; }
  .contact { gap: 35px; }
}
@media (max-width: 450px) {
  .hero { min-height: 720px; }
  .hero-actions .btn { width: 100%; }
  .promise-strip { grid-template-columns: 1fr; }
  .promise-strip article { border-right: 0; border-bottom: 1px solid var(--line); }
}


.contact-details {
  display: grid;
  gap: 12px;
  margin: 25px 0;
  max-width: 560px;
}
.contact-details div {
  display: grid;
  gap: 2px;
  padding-left: 15px;
  border-left: 3px solid var(--red);
}
.contact-details strong {
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: .8px;
}
.contact-details span {
  color: #555;
  font-size: 13px;
}
.footer-service-area {
  margin: 4px 0;
  color: #ddd;
  font-size: 12px;
  font-weight: 700;
}
.footer-address {
  margin: 0 0 8px;
  color: #777;
  font-size: 11px;
}


.credentials {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
  background: var(--red);
  color: white;
  text-align: center;
}
.credentials span {
  padding: 13px 24px;
  font-size: 11px;
  letter-spacing: .5px;
  border-right: 1px solid rgba(255,255,255,.35);
}
.credentials span:last-child { border-right: 0; }
.emergency-card {
  border-color: rgba(239,29,37,.35);
}
.emergency-card .service-symbol {
  font-weight: 900;
}
@media (max-width: 760px) {
  .credentials { display: grid; }
  .credentials span {
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,.35);
  }
  .credentials span:last-child { border-bottom: 0; }
}


.emergency-cta {
  display: flex;
  align-items: center;
  gap: 15px;
  width: min(610px, 100%);
  margin-top: 18px;
  padding: 13px 16px;
  color: white;
  background: rgba(239,29,37,.12);
  border: 1px solid rgba(239,29,37,.65);
  border-radius: 5px;
  box-shadow: 0 0 22px rgba(239,29,37,.12);
  transition: .2s ease;
}
.emergency-cta:hover {
  background: rgba(239,29,37,.22);
  border-color: var(--red);
  transform: translateY(-2px);
}
.emergency-badge {
  display: grid;
  place-items: center;
  flex: 0 0 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--red);
  color: white;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 22px;
  font-weight: 800;
}
.emergency-cta b {
  display: block;
  color: white;
  font-size: 12px;
  letter-spacing: .8px;
}
.emergency-cta small {
  display: block;
  margin-top: 2px;
  color: #d7d7d7;
  font-size: 11px;
}
.emergency-arrow {
  margin-left: auto;
  color: var(--red);
  font-size: 26px;
  font-weight: 700;
}
@media (max-width: 520px) {
  .emergency-cta { gap: 10px; }
  .emergency-cta small { font-size: 10px; }
  .emergency-arrow { display: none; }
}


.site-header .brand {
  display: block;
  min-width: 210px;
}
.site-header .brand img {
  display: block;
  width: 210px;
  height: 82px;
  object-fit: contain;
  object-position: left center;
  border-radius: 3px;
  background: white;
}
.footer-brand img {
  display: block;
  width: 150px;
  height: 150px;
  margin: 0 auto;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid var(--red);
}
@media (max-width: 760px) {
  .site-header .brand img {
    width: 155px;
    height: 62px;
  }
}

.hidden-bot-field {
  position: absolute;
  overflow: hidden;
  clip: rect(0 0 0 0);
  height: 1px;
  width: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
}

/* Updated CPR logo treatment */
.site-header .brand {
  display: block;
  min-width: 245px;
  padding: 0;
  background: #000;
}
.site-header .brand img {
  display: block;
  width: 245px;
  height: 98px;
  object-fit: contain;
  object-position: center;
  background: #000;
}
.footer-brand img {
  display: block;
  width: 180px;
  height: 180px;
  margin: 0 auto;
  object-fit: contain;
  background: #000;
  border: 0;
}
@media (max-width: 760px) {
  .site-header .brand {
    min-width: 185px;
  }
  .site-header .brand img {
    width: 185px;
    height: 78px;
  }
}
