/* Shared, conversion-led quote CTA on location and price-guide pages. */
.sitewide-quote-promo {
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
  border-radius: 27px;
  background: linear-gradient(145deg, #10283d, #0e2337);
  color: #fff;
  box-shadow: 0 26px 62px rgba(16, 36, 58, .13);
  padding: 28px 30px;
}
.sitewide-quote-promo::after {
  content: "";
  position: absolute;
  z-index: 0;
  width: 210px;
  height: 210px;
  right: -60px;
  top: -83px;
  border-radius: 50%;
  background: rgba(98, 175, 233, .16);
  pointer-events: none;
}
.sitewide-quote-promo > *,
.sitewide-quote-promo .sitewide-quote-copy > * {
  position: relative;
  z-index: 1;
}
.sitewide-quote-promo small {
  display: block;
  margin: 0;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: #9ccfe9;
}
.sitewide-quote-promo strong {
  display: block;
  margin: 13px 0 12px;
  font-size: clamp(26px, 2.55vw, 35px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.035em;
  color: #fff;
}
.sitewide-quote-promo p {
  margin: 0;
  font-size: 15px;
  line-height: 1.58;
  color: #d1e2ee;
}
.sitewide-quote-promo .sitewide-quote-button {
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 15px 17px;
  width: 100%;
  border-radius: 12px;
  background: #1885cd;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
  transition: background-color .15s ease;
}
.sitewide-quote-promo .sitewide-quote-button:hover,
.sitewide-quote-promo .sitewide-quote-button:focus-visible {
  background: #0875bf;
}
.sitewide-quote-promo .sitewide-quote-note {
  display: block;
  margin-top: 12px;
  font-size: 11px;
  line-height: 1.4;
  text-align: center;
  color: #b6cede;
}
.sitewide-quote-promo--card .sitewide-quote-button {
  margin-top: 21px;
}
.sitewide-quote-promo--band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 310px);
  align-items: center;
  gap: 30px;
  width: 100%;
  margin: 0 0 43px;
}
.sitewide-quote-promo--band strong {
  font-size: clamp(25px, 2.2vw, 31px);
}
.sitewide-quote-promo--band p {
  max-width: 730px;
}
.sitewide-quote-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
}
.sitewide-price-answer {
  margin: 20px 0 28px;
  border-left: 4px solid #1885cd;
  border-radius: 0 12px 12px 0;
  padding: 14px 19px;
  background: #edf5fc;
  color: #18374f;
}
.sitewide-price-answer strong {
  display: block;
  font-size: 17px;
  line-height: 1.4;
}
.sitewide-price-answer p {
  margin: 6px 0 0;
  font-size: 14px;
  line-height: 1.6;
}
.sitewide-relocated-price-answer {
  margin: 14px 0 18px;
  padding: 13px 17px;
  border-radius: 12px;
  background: #f0f6fb;
  color: #2a4a62;
  font-size: 16px;
  line-height: 1.65;
}
@media (max-width: 860px) {
  .sitewide-quote-promo--band {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }
}
@media (max-width: 620px) {
  .sitewide-quote-promo {
    padding: 25px 22px;
    border-radius: 22px;
  }
  .sitewide-quote-promo strong {
    font-size: 28px;
  }
  .sitewide-quote-promo--band {
    gap: 17px;
    margin-bottom: 34px;
  }
  .sitewide-quote-promo p {
    font-size: 15px;
  }
  .sitewide-quote-promo .sitewide-quote-button {
    font-size: 15px;
  }
}

/* Pass 51: preserve the real image, but keep the calculator CTA near the top. */
@media (min-width: 901px) {
  .location-photo-hero {
    gap: 26px;
    align-items: center;
    padding-top: 34px;
    padding-bottom: 12px;
  }
  .location-photo-hero h1 {
    font-size: clamp(2.5rem, 3.6vw, 3.35rem);
    line-height: 1.05;
    margin: 10px 0 17px;
  }
  .location-photo-hero p {
    font-size: 17px;
    line-height: 1.54;
  }
  .location-photo-hero .location-meta {
    margin-top: 18px;
  }
  .location-photo-hero .location-hero-photo img {
    max-height: 315px;
  }
}
@media (min-width: 881px) {
  .v40-guide .v40-hero {
    gap: 24px;
    align-items: center;
    padding-top: 33px;
    padding-bottom: 20px;
  }
  .v40-guide .v40-hero h1 {
    font-size: clamp(2.6rem, 3.9vw, 3.55rem);
    line-height: 1.03;
    margin: 10px 0 17px;
  }
  .v40-guide .guide-media-hero img {
    height: 325px;
    min-height: 0;
    max-height: 325px;
    object-fit: cover;
  }
}
@media (max-width: 900px) {
  .location-photo-hero {
    gap: 14px;
    padding-top: 28px;
    padding-bottom: 10px;
  }
  .location-photo-hero .location-hero-photo img {
    max-height: 220px;
  }
  .location-photo-hero h1 {
    margin: 11px 0 14px;
    font-size: clamp(2.1rem, 7vw, 2.75rem);
  }
  .location-photo-hero .location-meta {
    margin-top: 16px;
  }
  .v40-guide .v40-hero {
    gap: 16px;
    padding-top: 29px;
    padding-bottom: 14px;
  }
  .v40-guide .guide-media-hero img {
    max-height: 240px;
  }
  .v40-guide .v40-hero h1 {
    font-size: clamp(2.1rem, 7vw, 2.8rem);
    line-height: 1.06;
    margin: 12px 0 14px;
  }
}
@media (max-width: 620px) {
  .location-photo-hero .location-hero-photo img {
    max-height: 195px;
  }
  .location-photo-hero h1 {
    font-size: clamp(2rem, 8vw, 2.5rem);
  }
  /* These badges repeat information in the calculator CTA and price table. */
  .location-photo-hero .location-meta,
  .v40-guide .v40-hero .guide-meta {
    display: none;
  }
  .v40-guide .guide-media-hero img {
    max-height: 200px;
  }
  .sitewide-quote-promo--band {
    margin-top: 10px;
  }
}
