/* v55: scoped audit fixes, preserving the existing visual identity. */
.hero-price-link {
  margin-top: 16px;
  display: inline-flex;
}
.hero-photo figcaption span.hero-price-link {
  display: block;
  margin-top: 12px;
}
.price-options .variant-price {
  display: block;
  margin-top: 14px;
  font-size: 20px;
  line-height: 1.4;
  font-weight: 650;
  letter-spacing: -0.02em;
}
.price-options .variant-price small {
  display: block;
  margin: 2px 0 0;
  font-size: 13px;
  font-weight: 450;
}
.offer-facts {
  margin-top: 28px;
  border-top: 1px solid var(--line);
  padding-top: 22px;
  display: grid;
  gap: 18px;
}
.offer-facts p {
  font-size: 15px !important;
  line-height: 1.65 !important;
  margin: 0;
}
.offer-facts strong {
  display: block;
  margin-bottom: 3px;
  font-size: 16px;
  color: var(--ink);
}
.offer-facts a,
.measurement-note a,
.visit-note a {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.process .steps .measurement-note {
  font-size: 14px;
  line-height: 1.65;
  margin-top: 14px;
}
.project-meta h3 {
  flex-wrap: wrap;
  row-gap: 6px;
  min-width: 0;
}
.project-meta h3 span {
  white-space: normal;
  overflow-wrap: anywhere;
  max-width: 100%;
}
.contact-form-section .contact-heading > p {
  margin-top: 16px;
  line-height: 1.65;
}
#inquiry-form .details-toggle {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  text-align: left;
  background: transparent;
  color: #f2f5ef;
  border: 1px solid #899799;
  padding: 16px;
  margin: 12px 0 22px;
  font-size: 16px;
  line-height: 1.5;
}
#inquiry-form .details-toggle:hover {
  background: #344145;
}
#inquiry-form .details-toggle span {
  font-size: 24px;
}
#inquiry-form .response-note {
  font-size: 15px;
  line-height: 1.65;
  margin: 20px 0;
  color: #d4dcd7;
}
#inquiry-form .upload-label .field-help {
  margin-bottom: 10px;
}
#inquiry-form .contact-basics {
  margin-top: 0;
}
.receipt {
  max-width: 1000px;
  margin: 0 auto;
  min-height: 55vh;
  padding-top: 80px;
  padding-bottom: 80px;
}
.receipt h1 {
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.12;
  letter-spacing: -0.03em;
  max-width: 18ch;
  margin-bottom: 28px;
}
.receipt p {
  max-width: 65ch;
  margin: 14px 0;
  line-height: 1.7;
}
.receipt > .primary {
  margin-top: 28px;
  white-space: normal;
}
.receipt .inquiry-number {
  font-weight: 650;
}
@media (max-width: 760px) {
  .contact-form-section {
    padding-top: 32px;
    gap: 24px;
    scroll-margin-top: 16px;
  }
  .contact-form-section .contact-heading h2 {
    font-size: 28px;
    line-height: 1.15;
  }
  .contact-form-section .contact-heading > p {
    font-size: 16px;
    margin-top: 12px;
    line-height: 1.55;
  }
  .contact-form-section .contact-heading {
    margin-bottom: 0;
  }
  #inquiry-form .contact-basics legend {
    font-size: 18px;
  }
  #inquiry-form .contact-basics > .field-help {
    font-size: 13px;
    line-height: 1.5;
  }
  .price-options .variant-price {
    font-size: 18px;
  }
  .receipt {
    padding-top: 42px;
    padding-bottom: 48px;
  }
}

.price-options button[aria-selected="true"] > span:last-child {
  color: #796021;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 20px;
}
.hero-actions .hero-price-link {
  margin: 0;
  min-height: 44px;
  text-decoration: none;
}

/* v60: final prices in the existing hero, without additional cards. */
.hero-prices {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0 0 18px;}
.hero-lead .hero-prices p {margin:0;color:var(--ink);font-size:16px;line-height:1.45;}
.hero-prices span {display:block;font-size:12px;color:var(--muted);margin-bottom:3px;}
.hero-prices strong {font-weight:600;white-space:nowrap;letter-spacing:-0.02em;}
.hero-prices small {font-size:12px;font-weight:450;letter-spacing:0;}
.price-options .variant-price small {display:inline;font-size:14px;margin:0;}
#cena {scroll-margin-top:0;}
@media(max-width:760px){
 .hero-lead .hero-prices p {font-size:17px;}
 .hero-prices {margin-bottom:16px;gap:16px;}
 .hero-lead > p {margin-bottom:14px;}
}

@media(max-width:360px){
 .hero-actions {gap:12px;}
 .hero-actions .primary {font-size:12px;gap:12px;padding-inline:14px;}
 .hero-actions .hero-price-link {font-size:12px;gap:10px;}
}
.price-panel .price-assurance + .price-exclusion {margin:18px 0 22px;padding-top:16px;}

/* v61: a single caption after removing the duplicate hero price. */
.hero-photo figcaption .hero-caption {
  display: block;
  text-align: left;
}

/* v65: give prices a full row in the intermediate hero layout. */
@media (min-width:761px) and (max-width:900px) {
 .hero-lead {display:grid;grid-template-columns:1fr;gap:16px;align-items:start;}
 .hero-lead .hero-prices {grid-template-columns:repeat(2,minmax(0,1fr));width:100%;margin:0;}
 .hero-lead > p {margin:0;}
}
