/* Only homepage appointment and price previews; shared page styles are untouched. */
.home-first-visit {
  width: min(1180px, calc(100% - 48px));
  margin: 40px auto 24px;
  padding: 28px;
  color: var(--text);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 24px;
}
.home-first-visit__head { display: flex; align-items: center; gap: 28px; }
.home-first-visit__head > div { flex: 1; min-width: 0; }
.home-first-visit h2 { margin: 0 0 12px; font-size: clamp(23px, 2.3vw, 30px); line-height: 1.2; color: var(--text-dark); }
.home-first-visit__head p { margin: 0; line-height: 1.55; color: var(--text-muted); }
.home-first-visit__head .btn-brand { flex: 0 0 auto; white-space: normal; text-align: center; }
.home-first-visit__prices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 22px 0 16px; }
.home-first-visit__card { padding: 18px; border-radius: 16px; background: var(--brand-wash-soft); }
.home-first-visit h3 { margin: 0 0 12px; color: var(--text-dark); font-size: 16px; line-height: 1.35; }
.home-first-visit__price { display: block; font-size: 27px; line-height: 1.2; color: var(--brand-deep); }
.home-first-visit__caption { display: block; margin-top: 5px; color: var(--text-muted); font-size: 13px; }
.home-first-visit__split { margin: 0; font-size: 13px; }
.home-first-visit__split > div { display: flex; justify-content: space-between; gap: 12px; margin-top: 6px; }
.home-first-visit__split dd { margin: 0; font-weight: 600; text-align: right; }
.home-first-visit__extended { margin: 16px 0 10px; font-size: 14px; line-height: 1.55; }
.home-first-visit__note, .home-price-preview__note { margin: 10px 0 0; font-size: 13px; line-height: 1.5; color: var(--text-muted); }
.home-first-visit a:not(.btn-brand), .home-price-preview a { color: var(--brand-deep); text-decoration: underline; text-underline-offset: 3px; }
.home-first-visit a:focus-visible, .home-price-preview a:focus-visible { outline: 2px solid var(--brand-dark); outline-offset: 4px; }
.home-first-visit__links { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--border); font-size: 14px; }
.home-price-preview .price-row__name { min-width: 0; }
.home-price-preview .price-row { display: grid; grid-template-columns: minmax(0, 1fr) max-content; }
.home-price-preview .price-row__val { flex-shrink: 0; }
.home-price-preview__note { display: block; font-weight: 400; }
@media (max-width: 900px) {
  .home-first-visit__head { display: block; }
  .home-first-visit__head .btn-brand { margin-top: 18px; }
}
@media (max-width: 600px) {
  .home-first-visit { width: calc(100% - 24px); margin-top: 24px; padding: 18px; border-radius: 18px; }
  .home-first-visit__head .btn-brand { display: flex; width: 100%; }
  .home-first-visit__prices { grid-template-columns: 1fr; gap: 8px; margin-top: 18px; }
  .home-first-visit__card { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 14px; padding: 14px; }
  .home-first-visit h3 { margin: 0; grid-row: span 2; align-self: center; font-size: 15px; }
  .home-first-visit__price { text-align: right; font-size: 23px; }
  .home-first-visit__caption { text-align: right; margin: 0; font-size: 12px; }
  .home-first-visit__split { grid-column: 1 / -1; }
  .home-first-visit__links { gap: 10px 18px; }
  .home-price-preview .price-row { align-items: flex-start; }
}
