/* RESET WORDPRESS */
html, body {
  margin: 0 !important;
  padding: 0 !important;
  overflow-x: hidden !important;
}

.wp-site-blocks,
.site,
.site-content {
  margin: 0 !important;
  padding: 0 !important;
}

.entry-title,
.wp-block-post-title,
.site-header,
header.site-header {
  display: none !important;
}

/* PAGE */
.legacy-page {
  font-family: Arial, Helvetica, sans-serif !important;
  background: #ffffff !important;
  color: #10283f !important;
  padding-bottom: 90px !important;
  overflow-x: hidden !important;
}

/* STICKY TITLE BAR */
.legacy-header {
  position: sticky !important;
  top: 0 !important;
  z-index: 99999 !important;

  height: 210px !important;
  background: #ffffff !important;

  display: flex !important;
  align-items: flex-start !important;
  justify-content: center !important;

  box-shadow: 0 6px 18px rgba(0,0,0,0.14) !important;
}

/* LOGO — BIG, CENTERED, INSIDE TITLE BAR */
.legacy-logo {
  position: absolute !important;
  top: 6px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;

  width: 86vw !important;
  max-width: 330px !important;
  text-align: center !important;
  z-index: 2 !important;
}

.legacy-logo img {
  width: 100% !important;
  height: auto !important;
  display: block !important;
  filter: drop-shadow(0 8px 16px rgba(0,0,0,.22)) !important;
}

/* REQUEST SERVICE + PHONE UNDER LOGO */
.legacy-header-actions {
  position: absolute !important;
  bottom: -22px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;

  display: flex !important;
  align-items: center !important;
  gap: 10px !important;

  z-index: 3 !important;
}

.legacy-phone {
  width: 36px !important;
  height: 36px !important;
  background: #1d86bd !important;
  color: #ffffff !important;
  border-radius: 50% !important;

  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  text-decoration: none !important;
  font-size: 18px !important;
  box-shadow: 0 5px 14px rgba(0,0,0,.18) !important;
}

.legacy-button,
.legacy-footer a {
  background: #74bf43 !important;
  color: #ffffff !important;

  padding: 10px 20px !important;
  border-radius: 999px !important;

  font-weight: 700 !important;
  text-decoration: none !important;
  white-space: nowrap !important;

  box-shadow: 0 5px 14px rgba(0,0,0,.18) !important;
}

/* HERO — STARTS BELOW HEADER, NOT UNDER LOGO */
.legacy-hero {
  position: relative !important;
  height: 330px !important;

  display: flex !important;
  align-items: center !important;

  overflow: hidden !important;
  margin-top: 0 !important;
}

.legacy-hero-img {
  position: absolute !important;
  inset: 0 !important;

  width: 100% !important;
  height: 100% !important;

  object-fit: cover !important;
  object-position: center center !important;
}

.legacy-hero-overlay {
  position: absolute !important;
  inset: 0 !important;

  background: linear-gradient(
    90deg,
    rgba(0,0,0,.78),
    rgba(0,0,0,.32)
  ) !important;
}

/* HERO TEXT — ALWAYS ABOVE IMAGE */
.legacy-hero-content {
  position: relative !important;
  z-index: 2 !important;

  padding: 46px 24px 32px !important;
  max-width: 680px !important;

  color: #ffffff !important;
}

.legacy-hero h1 {
  font-size: 34px !important;
  line-height: 1.08 !important;
  margin: 0 0 12px !important;

  color: #ffffff !important;
  font-weight: 900 !important;
  letter-spacing: .5px !important;
}

.legacy-hero p {
  font-size: 16px !important;
  line-height: 1.5 !important;
  color: #ffffff !important;
}

.legacy-tagline {
  font-weight: 700 !important;
}

/* SERVICES — DO NOT CHANGE CIRCLES */
.legacy-services {
  display: flex !important;
  flex-wrap: nowrap !important;
  justify-content: space-between !important;
  align-items: flex-start !important;
  gap: 4px !important;

  padding: 34px 8px !important;
  background: #ffffff !important;
}

.legacy-service {
  flex: 1 1 20% !important;
  min-width: 0 !important;

  text-align: center !important;
  text-decoration: none !important;
  color: #0b3354 !important;
  font-weight: 700 !important;
}

.legacy-icon {
  width: 58px !important;
  height: 58px !important;

  border: 2px solid #1d6d9e !important;
  border-radius: 50% !important;

  background: #ffffff !important;
  color: #1d6d9e !important;

  margin: 0 auto 7px !important;

  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  font-size: 20px !important;
  box-sizing: border-box !important;
}

.legacy-service div:last-child {
  font-size: 11px !important;
  line-height: 1.15 !important;
  color: #0b3354 !important;
}

/* INFO */
.legacy-info {
  padding: 24px 18px !important;
  max-width: 900px !important;
  margin: 0 auto !important;
}

.legacy-info h2 {
  font-size: 22px !important;
  line-height: 1.2 !important;
  margin: 0 0 12px !important;
  color: #0b4d7a !important;
  font-weight: 800 !important;
}

.legacy-info p {
  font-size: 15px !important;
  line-height: 1.55 !important;
  color: #10283f !important;
}

/* STICKY FOOTER */
.legacy-footer {
  position: fixed !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;

  background: #111111 !important;
  text-align: center !important;
  padding: 11px !important;

  z-index: 99999 !important;
}

/* TABLET */
@media (min-width: 769px) and (max-width: 1024px) {
  .legacy-header {
    height: 245px !important;
  }

  .legacy-logo {
    max-width: 430px !important;
  }

  .legacy-hero {
    height: 420px !important;
  }

  .legacy-hero h1 {
    font-size: 46px !important;
  }

  .legacy-hero p {
    font-size: 18px !important;
  }

  .legacy-services {
    justify-content: center !important;
    gap: 28px !important;
    padding: 48px 24px !important;
  }

  .legacy-service {
    flex: 0 1 135px !important;
  }

  .legacy-icon {
    width: 90px !important;
    height: 90px !important;
    font-size: 32px !important;
  }

  .legacy-service div:last-child {
    font-size: 15px !important;
  }
}

/* DESKTOP */
@media (min-width: 1025px) {
  .legacy-header {
    height: 275px !important;
  }

  .legacy-logo {
    max-width: 500px !important;
  }

  .legacy-header-actions {
    bottom: -25px !important;
  }

  .legacy-hero {
    height: 460px !important;
  }

  .legacy-hero-content {
    padding: 70px 8% !important;
  }

  .legacy-hero h1 {
    font-size: 58px !important;
  }

  .legacy-hero p {
    font-size: 20px !important;
  }

  .legacy-services {
    justify-content: center !important;
    gap: 42px !important;
    padding: 55px 40px !important;
  }

  .legacy-service {
    flex: 0 1 150px !important;
  }

  .legacy-icon {
    width: 105px !important;
    height: 105px !important;
    font-size: 38px !important;
  }

  .legacy-service div:last-child {
    font-size: 17px !important;
  }

  .legacy-info {
    padding: 42px 40px !important;
  }

  .legacy-info h2 {
    font-size: 32px !important;
  }

  .legacy-info p {
    font-size: 18px !important;
  }
}

/* SMALL PHONES */
@media (max-width: 430px) {
  .legacy-header {
    height: 205px !important;
  }

  .legacy-logo {
    width: 90vw !important;
    max-width: 320px !important;
  }

  .legacy-header-actions {
    bottom: -22px !important;
  }

  .legacy-phone {
    width: 36px !important;
    height: 36px !important;
  }

  .legacy-button {
    padding: 10px 17px !important;
    font-size: 13px !important;
  }

  .legacy-icon {
    width: 54px !important;
    height: 54px !important;
    font-size: 19px !important;
  }

  .legacy-service div:last-child {
    font-size: 10.5px !important;
  }
}