/* Quote page only. Do not style the shared estimate widget here. */
body.quote-page .quote-home-main {
  display: grid;
  gap: 28px;
}

body.quote-page .quote-page-hero {
  width: min(var(--site-max), calc(100% - 40px));
  margin: 34px auto 26px;
  padding: 46px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 390px);
  gap: 36px;
  align-items: center;
  border: 1px solid var(--site-line);
  border-radius: var(--site-radius);
  background: linear-gradient(135deg, rgba(255,255,255,.96), rgba(224,246,255,.88));
  box-shadow: var(--site-shadow);
  overflow: hidden;
}

body.quote-page .quote-page-hero-copy > span {
  width: max-content;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  padding: 0 15px;
  border-radius: 999px;
  background: rgba(214,245,255,.95);
  color: var(--site-blue-dark);
  font-size: 14px;
  font-weight: 900;
}

body.quote-page .quote-page-hero-copy h1 {
  margin: 0 0 20px;
  color: var(--site-navy);
  font-size: clamp(38px, 4vw, 56px);
  line-height: 1.14;
  letter-spacing: 0;
  font-weight: 950;
}

body.quote-page .quote-page-hero-text {
  display: grid;
  gap: 14px;
  width: 100%;
  max-width: 680px;
  color: var(--site-muted);
  font-size: 15px;
  line-height: 1.72;
  letter-spacing: 0;
  word-break: keep-all;
  overflow-wrap: normal;
}

body.quote-page .quote-page-hero-text p {
  margin: 0;
  max-width: 100%;
  text-align: left;
}

body.quote-page .quote-page-hero-visual {
  min-height: 300px;
  display: grid;
  place-items: center;
  position: relative;
  border-radius: 26px;
  background: linear-gradient(135deg, #f8fdff, #def4ff);
  overflow: hidden;
}

body.quote-page .quote-page-hero-visual img {
  width: min(330px, 86%);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 22px 24px rgba(25,98,151,.14));
}

body.quote-page .quote-hero-float {
  position: absolute;
  top: 26px;
  right: 24px;
  max-width: 175px;
  display: grid;
  gap: 7px;
  padding: 16px 18px;
  border: 1px solid rgba(142,219,248,.9);
  border-radius: 18px;
  background: rgba(255,255,255,.88);
  box-shadow: 0 16px 36px rgba(27,128,189,.14);
  color: var(--site-navy);
  line-height: 1.3;
}

body.quote-page .quote-hero-float span {
  color: #7890aa;
  font-size: 12px;
  font-weight: 800;
}

body.quote-page .quote-hero-float strong {
  color: var(--site-blue-dark);
  font-size: 20px;
  font-weight: 950;
}

body.quote-page #service { margin-top: 0; }

body.quote-page #service .home-fixed-mileage {
  margin-top: 8px;
}

@media (max-width: 900px) {
  body.quote-page .quote-page-hero {
    grid-template-columns: 1fr;
    padding: 30px 24px;
  }
  body.quote-page .quote-page-hero-visual { min-height: 240px; }

  body.quote-page .quote-page-hero-text {
    max-width: none;
    font-size: 14px;
    line-height: 1.68;
  }
}
