/* Homepage review navigation */
.tdc-home .client-stories-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-bottom: 16px;
}
.tdc-home .client-stories-heading h2 { margin: 0; }
.tdc-home .client-stories-controls { margin: 0; }
.tdc-home .client-stories-controls > div {
  display: flex;
  gap: 0;
  border: 1px solid #a4baae;
  border-radius: 12px;
  background: #faf8f2;
}
.tdc-home .client-stories-controls button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 11px 0 0 11px;
  background: transparent;
  color: #183d35;
}
.tdc-home .client-stories-controls button + button {
  border-inline-start: 1px solid #a4baae;
  border-radius: 0 11px 11px 0;
}
.tdc-home .client-stories-controls button:hover { background: #dce9df; }
.tdc-home .client-stories-controls button:focus-visible { z-index: 1; outline-offset: 1px; }
.tdc-review-chevron {
  width: 9px;
  height: 9px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: translateX(-2px) rotate(45deg);
}
[data-client-direction="-1"] .tdc-review-chevron {
  transform: translateX(2px) rotate(-135deg);
}

/* Closing estimate section */
.tdc-home .final-cta {
  box-sizing: border-box;
  min-height: 0;
  padding: clamp(42px, 7vw, 88px) clamp(20px, 5vw, 72px);
}
.tdc-home .final-cta > div {
  display: grid;
  justify-items: center;
  gap: 14px;
  width: 100%;
  max-width: 42rem;
}
.tdc-home .final-cta h2,
.tdc-home .final-cta > div > p,
.tdc-home .final-cta .tdc-estimate-button { margin: 0; }
.tdc-home .final-cta > div > p { max-width: 42ch; text-wrap: pretty; }
.tdc-home .final-cta .tdc-estimate-action { justify-items: center; gap: 9px; margin-top: 4px; }
.tdc-home .final-cta .tdc-estimate-action p.tdc-estimate-trust {
  max-width: 46ch;
  font-size: .875rem;
  line-height: 1.45;
  text-wrap: pretty;
}

@media (max-width: 370px) {
  .tdc-home .final-cta h2 { font-size: clamp(27px, 8.5vw, 32px); line-height: 1.12; }
  .tdc-home .final-cta > div > p { font-size: 16px; line-height: 1.55; }
}

/* Compact homepage reviews and booking steps. */
.tdc-home #reviews { padding: clamp(13px, 2vw, 25px); }
.tdc-home #reviews .client-stories-heading { margin-bottom: 8px; }
.tdc-home #reviews .client-stories-track { padding-block: 4px 9px; }
.tdc-home #reviews .client-photo-card figure { height: clamp(92px, 11vw, 144px); }
.tdc-home #reviews .client-card-copy { padding: 10px 13px; }
.tdc-home #reviews .client-card-copy blockquote { font-size: 15px; line-height: 1.4; margin: 3px 0 8px; }
.tdc-home #reviews .tdc-icon-quote { display: none; }
@media (max-width: 760px) {
  .tdc-home .city-process { padding-block: clamp(16px, 2.75vw, 32px); }
  .tdc-home .city-process > h2 { margin: 0 0 12px; font-size: clamp(25px, 3.4vw, 38px); line-height: 1.12; }
  .tdc-home .city-process .city-steps { margin: 0; gap: 8px; }
  .tdc-home .city-process .city-steps > li {
    display: grid;
    grid-template-columns: 26px minmax(0, 1fr);
    align-content: start;
    align-items: center;
    gap: 3px 9px;
    padding: 9px 11px;
  }
  .tdc-home .city-process .city-step-top { grid-row: 1 / span 2; margin: 0; align-self: start; }
  .tdc-home .city-process .city-step-icon { display: grid; place-items: center; width: 26px; height: 26px; }
  .tdc-home .city-process .city-step-icon svg { width: 20px; height: 20px; }
  .tdc-home .city-process .city-steps h3 { margin: 0; font-size: 16px; line-height: 1.2; letter-spacing: 0; }
  .tdc-home .city-process .city-steps p { margin: 0; font-size: 14px; line-height: 1.4; }
}
@media (max-width: 760px) {
  .tdc-home #reviews .client-photo-card {
    display: grid;
    grid-template-columns: 74px minmax(0, 1fr);
    grid-template-rows: auto auto 1fr;
    align-content: start;
    gap: 4px 10px;
    padding: 10px;
    background: #f8f5ed;
  }
  .tdc-home #reviews .client-photo-card figure {
    grid-row: 1 / span 2;
    align-self: start;
    height: auto;
    border-radius: 7px;
    background: transparent;
  }
  .tdc-home #reviews .client-photo-card img { height: 51px; object-fit: cover; border-radius: 6px; }
  .tdc-home #reviews .client-photo-card figcaption {
    position: static;
    padding: 2px 0 0;
    background: transparent;
    font-size: 8px;
    line-height: 1.15;
    letter-spacing: 0;
  }
  .tdc-home #reviews .client-card-copy { display: contents; }
  .tdc-home #reviews .client-card-stars { grid-column: 2; grid-row: 1; align-self: end; font-size: 14px; line-height: 1.1; }
  .tdc-home #reviews .client-card-name { grid-column: 2; grid-row: 2; align-self: start; margin: 0; font-size: 15px; line-height: 1.25; }
  .tdc-home #reviews .client-card-name span { font-size: 11px; }
  .tdc-home #reviews .client-card-copy blockquote { grid-column: 1 / -1; grid-row: 3; margin: 3px 0 0; font-size: 14px; line-height: 1.4; }
}
