* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --navy: #061b3a;
  --navy2: #07162e;
  --red: #e21b22;
  --blue: #1580df;
  --white: #ffffff;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background: #ffffff;
  color: var(--navy2);
}

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  width: calc(100% - 70px);
}

/* HEADER */
.header {
  background: white;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 18px rgba(0,0,0,.06);
}

.header-row {
  height: 126px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
}

.logo {
  width: 260px;
  display: block;
}

nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

nav a {
  text-decoration: none;
  color: var(--navy2);
  text-transform: uppercase;
  font-weight: 900;
  font-size: 14px;
  padding: 12px 0;
}

nav a.active {
  color: var(--red);
  border-bottom: 3px solid var(--red);
}

.call-top {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: white;
  background: var(--red);
  border-radius: 8px;
  padding: 14px 22px;
  text-transform: uppercase;
  font-weight: 900;
  line-height: 1.1;
}

.phone-icon {
  font-size: 30px;
}

.call-top b {
  font-size: 17px;
}

/* HERO */
.hero {
  height: 690px;
  background-image: url("hero-fixed-wide.jpg");
  background-size: cover;
  background-position: center center;
  position: relative;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(4,17,39,.18) 0%, rgba(4,17,39,.08) 38%, rgba(4,17,39,0) 70%);
}

.hero-text {
  position: relative;
  z-index: 2;
  width: min(520px, calc(100% - 60px));
  margin-left: calc((100vw - 1120px) / 2);
  padding-top: 112px;
  color: white;
  text-transform: uppercase;
}

.hero h1 {
  font-size: 64px;
  line-height: 1.05;
  letter-spacing: -1px;
  font-weight: 1000;
  text-shadow: 0 4px 18px rgba(0,0,0,.25);
}

.hero h1 span {
  color: var(--red);
}

.blue-line {
  width: 370px;
  height: 4px;
  background: var(--blue);
  margin: 22px 0;
}

.hero-text p {
  font-size: 25px;
  line-height: 1.35;
  font-weight: 900;
  margin-bottom: 30px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: #031226; /* First Call blue */
}

.btn {
  color: white;
  text-decoration: none;
  padding: 17px 24px;
  border-radius: 7px;
  font-size: 18px;
  font-weight: 900;
}

.btn.red {
  background: var(--red);
}

.trust-row {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 34px;
}

.google-block,
.insured-block {
  display: flex;
  align-items: center;
  gap: 13px;
}

.google-g {
  font-size: 50px;
  font-weight: 900;
  color: white;
}

.stars {
  color: #ffd827;
  letter-spacing: 1px;
}

.trust-row strong {
  font-size: 13px;
  line-height: 1.25;
}

.divider {
  width: 1px;
  height: 56px;
  background: rgba(255,255,255,.42);
}

.shield {
  font-size: 48px;
}

/* SERVICES */
.services {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 34px 0 26px;
}

.service-card {
  background: white;
  border-radius: 10px;
  box-shadow: 0 8px 28px rgba(7,22,46,.12);
  text-align: center;
  padding: 33px 22px 29px;
}

.service-icon {
  font-size: 58px;
  line-height: 1;
  margin-bottom: 16px;
}

.snow {
  color: #064ba5;
}

.heat {
  color: var(--red);
}

.service-card h3 {
  text-transform: uppercase;
  font-size: 22px;
  font-weight: 1000;
}

.red-small-line {
  width: 32px;
  height: 3px;
  background: var(--red);
  margin: 12px auto 13px;
}

.service-card p {
  font-size: 17px;
  line-height: 1.45;
  color: #0f172a;
}

/* MIDDLE */
.mid-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 26px;
  padding-bottom: 26px;
}

.maintenance-card {
  min-height: 360px;
  border-radius: 11px;
  box-shadow: 0 8px 28px rgba(7,22,46,.12);
  padding: 34px 32px 26px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255,255,255,1) 0%, rgba(255,255,255,.96) 51%, rgba(255,255,255,.66) 68%, rgba(255,255,255,.05) 100%),
    url("hero-tech.png");
  background-size: cover;
  background-position: center right;
}

.blue-line.small {
  margin: 0 0 13px;
  height: 3px;
}

.maintenance-card h2,
.pricing-card h2 {
  font-size: 34px;
  text-transform: uppercase;
  font-weight: 1000;
}

.maintenance-card h4 {
  color: var(--red);
  font-size: 22px;
  font-style: italic;
  margin: 5px 0 21px;
}

.maintenance-card ul {
  list-style: none;
  display: grid;
  gap: 10px;
  margin-bottom: 26px;
}

.maintenance-card li {
  font-size: 16px;
  font-weight: 700;
}

.maintenance-card li::before {
  content: "✓";
  display: inline-grid;
  place-items: center;
  width: 21px;
  height: 21px;
  margin-right: 9px;
  border-radius: 50%;
  background: #064ba5;
  color: white;
  font-size: 13px;
  font-weight: 900;
}

.maintenance-btn {
  display: inline-block;
  color: white;
  text-decoration: none;
  background: #064ba5;
  border-radius: 6px;
  padding: 15px 24px;
  text-transform: uppercase;
  font-weight: 1000;
}

.pricing-card {
  border-radius: 11px;
  background: var(--red);
  color: white;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(7,22,46,.12);
}

.pricing-card h2 {
  padding: 31px 32px 0;
}

.price-line {
  margin: 10px 32px 0;
  height: 3px;
}

.price-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 26px;
  align-items: center;
  padding: 10px 32px 24px;
  border-bottom: 1px solid rgba(255,255,255,.35);
}

.price {
  font-size: 82px;
  line-height: 1;
  font-weight: 1000;
}

.price-label {
  font-size: 29px;
  line-height: 1.08;
  font-weight: 1000;
}

.price-note {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 16px;
  align-items: center;
  padding: 23px 32px 25px;
}

.price-note span {
  width: 38px;
  height: 38px;
  border: 3px solid white;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 900;
}

.price-note p {
  font-size: 18px;
  line-height: 1.4;
  font-weight: 700;
}

.after-hours {
  background: var(--navy);
  display: grid;
  grid-template-columns: 46px 1fr;
  align-items: center;
  gap: 18px;
  padding: 24px 32px;
  text-transform: uppercase;
}

.after-hours span {
  width: 44px;
  height: 44px;
  border: 3px solid white;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 26px;
}

.after-hours strong {
  font-size: 19px;
  line-height: 1.25;
}

/* BOTTOM */
.bottom-section {
  background: var(--navy);
  color: white;
  margin-top: 0;
}

.bottom-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr .9fr;
}

.bottom-card {
  min-height: 270px;
  padding: 31px 28px;
  border-right: 1px solid rgba(255,255,255,.2);
}

.bottom-card:last-child {
  border-right: none;
}

.bottom-card h3 {
  text-transform: uppercase;
  font-size: 23px;
  font-weight: 1000;
}

.blue-line.tiny {
  width: 34px;
  height: 3px;
  margin: 10px 0 18px;
}

.location {
  font-size: 18px;
  line-height: 1.45;
  margin-bottom: 18px;
}

.area-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 11px 28px;
  font-weight: 800;
}

.area-list span {
  color: white;
}

.area-list span::first-letter {
  color: var(--red);
}

.review {
  margin-bottom: 13px;
}

.review p {
  line-height: 1.35;
  margin: 4px 0;
}

.review span {
  color: #cbd5e1;
}

.insured {
  text-align: left;
}

.big-shield {
  font-size: 78px;
  margin: 12px 0 5px;
}

.insured p {
  color: #45a3ff;
  font-size: 20px;
  line-height: 1.25;
  text-transform: uppercase;
  font-weight: 1000;
}

.insured img {
  width: 210px;
  margin-top: 22px;
  filter: brightness(1.08);
  background: white;
  border-radius: 7px;
  padding: 6px;
}

/* BOOKING */
.booking-wrap {
  display: none;
}

.booking {
  max-width: 620px;
  margin: 32px auto;
  background: var(--navy);
  color: white;
  border-radius: 10px;
  padding: 34px;
}

.booking h2 {
  text-align: center;
  font-size: 34px;
  text-transform: uppercase;
}

.booking p {
  text-align: center;
  margin: 9px 0 22px;
}

form {
  display: grid;
  gap: 13px;
}

.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
}

input,
select,
textarea {
  width: 100%;
  border: none;
  border-radius: 7px;
  padding: 15px;
  font-size: 16px;
}

textarea {
  min-height: 110px;
}

button {
  border: none;
  border-radius: 7px;
  padding: 18px;
  background: var(--red);
  color: white;
  font-size: 20px;
  text-transform: uppercase;
  font-weight: 1000;
  cursor: pointer;
}

/* FOOTER RED CTA */
.footer {
  background: var(--red);
  color: white;
}

.footer-call {
  max-width: 1120px;
  height: 56px;
  margin: auto;
  display: flex;
  align-items: center;
  gap: 24px;
  text-transform: uppercase;
  font-weight: 1000;
}

.footer-call a {
  color: white;
  text-decoration: none;
}

.footer-call span {
  width: 1px;
  height: 26px;
  background: rgba(255,255,255,.55);
}

/* RESPONSIVE */
@media (max-width: 980px) {
  .wrap {
    width: calc(100% - 34px);
  }

  .header-row {
    height: auto;
    padding: 18px 0;
    flex-direction: column;
  }

  nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 18px;
  }

  .hero {
    height: 640px;
    background-position: center;
  }

  .hero-overlay {
    background: rgba(4,17,39,.68);
  }

  .hero-text {
    margin-left: 24px;
    padding-top: 80px;
  }

  .hero h1 {
    font-size: 44px;
  }

  .services,
  .mid-grid,
  .bottom-grid,
  .two {
    grid-template-columns: 1fr;
  }

  .bottom-card {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,.2);
  }

  .bottom-card:last-child {
    border-bottom: none;
  }

  .booking-wrap {
    display: block;
  }

  .footer-call {
    height: auto;
    padding: 18px;
    flex-direction: column;
  }

  .footer-call span {
    display: none;
  }
  
  /* FIX 1: Make the header stop taking up the whole screen */
  header, .header {
    position: relative !important; 
    padding: 10px !important;       
  }

  /* FIX 2: Shrink the logo down so it fits */
  /* This targets both the image with the class, AND an image inside a logo container */
  img.logo, .logo, .logo img {
    max-width: 150px !important;    
    height: auto !important;
    display: block !important;
    margin: 0 auto !important; /* Centers it nicely on mobile */
  }

  /* FIX 3: Shrink ALL navigation links, not just the active one */
  /* This targets any link text inside your header */
  header a, .header a {
    font-size: 13px !important;     /* Makes all text smaller */
    margin: 0 5px !important;       /* Brings links closer together side-by-side */
    display: inline-block !important;
  }

  /* FIX 4: Shrink the massive red Call button */
  .call-top {
    padding: 10px 15px !important;  
    font-size: 16px !important;     
    width: 90% !important;          /* Keeps it wide but centered on mobile */
    margin: 10px auto !important;
    display: block !important;
  }
}
