.upgraded-home-hero,
.service-hero .service-estimate-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(300px, .88fr);
  align-items: start;
  gap: 28px 44px;
}
.upgraded-home-hero { min-height: 0; padding-block: 42px; }
.upgraded-home-hero .hero-copy { width: auto; max-width: none; }
.upgraded-home-hero h1,
.service-hero .service-estimate-hero h1,
.estimate-intro h1 {
  font-size: clamp(40px, 5vw, 78px);
  line-height: 1.04;
}
.upgraded-home-hero h1 span,
.service-estimate-hero h1 span { display: block; white-space: normal; }
.service-estimate-hero h1 span { color: #fff; font-size: .67em; margin-top: .16em; }
.upgraded-home-hero .hero-description,
.service-estimate-hero .service-hero-intro { margin-top: 14px; line-height: 1.55; }
.service-estimate-hero .breadcrumb { margin: 0 0 12px; }
.service-estimate-hero .compact-estimate { grid-column: 2; grid-row: 1 / span 2; }
.service-detail-page .service-estimate-hero .detail-hero-photo { grid-column: 1; justify-self: start; margin: 0; }
.estimate-trust { margin: 16px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .875rem; }
.estimate-trust li::before { content: "✓"; color: var(--gold); margin-right: .4rem; }
.compact-estimate { background: #fff; color: #102638; padding: 20px; border-radius: 12px; min-width: 0; }
.compact-estimate h2 { margin: 0 0 12px; color: #102638; font-size: clamp(25px, 3vw, 43px); line-height: 1; }
.compact-estimate fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.compact-estimate .estimate-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.compact-estimate-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px 10px; }
.compact-estimate-fields .wide-field { grid-column: 1 / -1; }
.compact-estimate label { display: block; font-size: .875rem; font-weight: 700; min-width: 0; }
.compact-estimate :is(input, select, textarea) {
  display: block;
  box-sizing: border-box;
  width: 100%;
  min-height: 40px;
  margin-top: 3px;
  padding: 7px 9px;
  color: #102638;
  background: #fff;
  border: 1px solid #637585;
  border-radius: 5px;
  font: inherit;
  font-size: 1rem;
}
.compact-estimate textarea { resize: vertical; }
.compact-estimate .estimate-submit { margin-top: 10px; width: 100%; }
.compact-estimate .estimate-notice { margin: 5px 0 9px; }
.compact-estimate :disabled { cursor: not-allowed; }
#estimate-form { scroll-margin-top: 110px; }
.estimate-secondary a { display: inline-block; margin-right: 1rem; }
.related-service-links { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-wrap: wrap; gap: 10px 18px; }
.related-service-links a { display: inline-block; padding: 8px 0; color: var(--ink); text-underline-offset: 3px; }
.faq-estimate { display: inline-block; margin-top: 8px; }
.final-estimate { background: var(--ink); color: #fff; padding: clamp(24px, 5vw, 64px) 0; }
.final-estimate .container { display: flex; gap: 18px; flex-wrap: wrap; justify-content: space-between; align-items: center; }
.final-estimate h2 { font-size: clamp(29px, 4vw, 54px); }
.footer-hours, .footer-coverage { color: #e1e8ee; margin-block: 8px; }
@media (max-width: 780px) {
  .upgraded-home-hero,
  .service-hero .service-estimate-hero { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .upgraded-home-hero { padding-block: 18px; }
  .service-hero { padding-top: 16px; }
  .upgraded-home-hero h1,
  .service-hero .service-estimate-hero h1,
  .estimate-intro h1 { font-size: clamp(32px, 8vw, 49px); }
  .upgraded-home-hero .hero-description,
  .service-estimate-hero .service-hero-intro { font-size: .875rem; margin-top: 8px; }
  .estimate-trust { margin-top: 8px; font-size: .8125rem; line-height: 1.35; }
  .service-estimate-hero .compact-estimate,
  .service-detail-page .service-estimate-hero .detail-hero-photo { grid-column: auto; grid-row: auto; }
  .compact-estimate { padding: 14px; }
  .mobile-contact { grid-template-columns: 1fr 1fr; gap: 8px; }
  .mobile-contact a:nth-child(2) { color: var(--ink); background: var(--gold); border-color: var(--gold); }
  .mobile-contact a { white-space: nowrap; padding-inline: 3px; font-size: clamp(11px, 3.2vw, 14px); }
}
.feature-photo picture[data-job-photo] img,
.job-grid picture[data-job-photo] img {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  background: none;
  border-radius: 0;
}
.hero-shell:has(.upgraded-home-hero) {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}
.hero-shell:has(.upgraded-home-hero) .hero-shade { display: none; }
.hero-shell:has(.upgraded-home-hero) > picture[data-home-original] {
  display: block;
  order: 2;
  width: min(100%, 1160px);
  margin-inline: auto;
}
.hero-shell:has(.upgraded-home-hero) .hero-photo,
.service-media picture[data-home-original] img {
  display: block;
  position: static;
  width: 100%;
  height: auto;
  max-height: none;
  aspect-ratio: auto;
  object-fit: contain;
  margin: 0;
}
.hero-shell:has(.upgraded-home-hero) .hero-caption {
  order: 3;
  position: static;
  margin: 0;
  padding: 8px max(18px, calc((100% - 1160px) / 2));
  background: none;
}
.hero-shell > .upgraded-home-hero { order: 1; }
@media (max-width: 780px) {
  .hero-shell > .upgraded-home-hero { padding-block: 18px; }
}
