/* Harpenden Taxis — customer review cards. Isolated from the rest of the theme. */
.ht-reviews {
  padding-block: clamp(68px, 6vw, 102px) clamp(72px, 6vw, 106px);
  background: #f4f6fb;
  color: #171c42;
  overflow: clip;
}
.ht-reviews__intro { display: flex; justify-content: space-between; align-items: end; gap: 20px 40px; margin-bottom: clamp(24px, 3vw, 36px); }
.ht-reviews__intro-copy { min-width: 0; }
.ht-reviews__eyebrow { display: flex; align-items: center; gap: 11px; margin: 0 0 13px; font-size: 11px; font-weight: 700; letter-spacing: .14em; color: #2c3077; }
.ht-reviews__eyebrow > span { width: 28px; height: 2px; flex: 0 0 28px; background: #be2039; }
.ht-reviews .ht-reviews__heading { margin: 0; color: #171c42; font-family: Manrope, sans-serif; font-size: clamp(34px, 3.5vw, 56px); font-weight: 800; line-height: 1.13; letter-spacing: -.054em; }
.ht-reviews__heading span { color: #be2039; }
.ht-reviews__intro-text { max-width: 350px; margin: 0 0 3px; font-size: clamp(14px, 1.15vw, 16px); line-height: 1.7; color: #626a7e; }

.ht-reviews__slider { position: relative; }
.ht-reviews__viewport {
  overflow-x: auto; overflow-y: hidden; scrollbar-width: none; -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: 24px;
}
.ht-reviews__viewport::-webkit-scrollbar { display: none; }
.ht-reviews__viewport:focus-visible { outline: 2px solid #2c3077; outline-offset: 2px; }
.ht-reviews__track {
  --ht-reviews-gap: 22px;
  --ht-reviews-card-width: calc((100% - var(--ht-reviews-gap) * 2) / 3);
  display: flex; align-items: stretch; gap: var(--ht-reviews-gap); padding: 26px 24px 52px;
  position: relative;
}
.ht-reviews__card {
  position: relative; flex: 0 0 var(--ht-reviews-card-width); min-width: 0;
  display: flex; flex-direction: column; min-height: 360px; margin: 0;
  padding: clamp(24px, 2.3vw, 34px); border-radius: 19px;
  border: 1px solid #dce1ec; background: #fff;
  box-shadow: 0 6px 16px rgba(23,28,66,.07); scroll-snap-align: start;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.ht-reviews__card:hover { transform: translateY(-5px); border-color: #b4bdd5; box-shadow: 0 17px 31px rgba(23,28,66,.15); }
.ht-reviews__quote-symbol { display: inline-flex; color: #be2039; margin-bottom: 15px; }
.ht-reviews__quote-symbol svg { display: block; }
.ht-reviews__quote { flex: 1; margin: 0; padding: 0; border: 0; }
.ht-reviews__quote p { margin: 0; color: #424a61; font-size: 15px; line-height: 1.7; overflow-wrap: anywhere; }
.ht-reviews__author {
  display: flex; align-items: center; gap: 12px; padding-top: 22px; margin-top: 26px;
  border-top: 1px solid #e8ebf3; min-height: 70px;
}
.ht-reviews__avatar { display: grid; place-items: center; width: 46px; height: 46px; flex: 0 0 46px; border: 1px solid #d3d8eb; border-radius: 50%; color: #2c3077; background: #eef0fa; font-size: 12px; font-weight: 800; letter-spacing: .035em; }
.ht-reviews__author-copy { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.ht-reviews__author-copy strong { color: #171c42; font-family: Manrope, sans-serif; font-weight: 800; font-size: 14px; line-height: 1.4; overflow-wrap: anywhere; }
.ht-reviews__author-copy span { color: #60697c; font-size: 12px; }
.ht-reviews__arrow {
  position: absolute; z-index: 3; top: calc(50% - 16px); transform: translateY(-50%);
  display: grid; place-items: center; width: 56px; height: 56px; padding: 0;
  border-radius: 50%; border: 1px solid #d3dae8; background: #fff; color: #171c42;
  box-shadow: 0 8px 22px rgba(23,28,66,.13); cursor: pointer;
  transition: color .2s ease, background-color .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.ht-reviews__arrow--prev { left: -12px; }
.ht-reviews__arrow--next { right: -12px; }
.ht-reviews__arrow:hover, .ht-reviews__arrow:focus-visible { color: #fff; background: #be2039; border-color: #be2039; box-shadow: 0 12px 26px rgba(190,32,57,.19); }
.ht-reviews__arrow:focus-visible { outline: 2px solid #171c42; outline-offset: 3px; }
.ht-reviews__bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; color: #60697c; margin-top: 0; font-size: 12px; }
.ht-reviews__position { display: flex; align-items: center; gap: 15px; font-weight: 700; }
.ht-reviews__position > span:first-child { color: #171c42; }
.ht-reviews__progress { display: block; width: 110px; height: 3px; background: #d1d7e4; border-radius: 999px; overflow: hidden; }
.ht-reviews__progress > span { display: block; background: #be2039; height: 100%; width: 16.667%; transition: width .2s ease; }
@media (max-width: 1120px) {
  .ht-reviews__track { --ht-reviews-gap: 18px; --ht-reviews-card-width: calc((100% - var(--ht-reviews-gap)) / 2); }
  .ht-reviews__intro-text { max-width: 295px; }
}
@media (max-width: 700px) {
  .ht-reviews { padding-block: 66px 74px; }
  .ht-reviews__intro { display: block; margin-bottom: 22px; }
  .ht-reviews__intro-text { max-width: 520px; margin-top: 13px; }
  .ht-reviews__track { --ht-reviews-gap: 14px; --ht-reviews-card-width: 100%; padding-block: 19px 35px; }
  .ht-reviews__card { min-height: 330px; padding: 23px; }
  .ht-reviews__quote p { font-size: 14px; }
  .ht-reviews__slider { padding-bottom: 70px; }
  .ht-reviews__arrow { top: auto; bottom: 4px; width: 48px; height: 48px; transform: none; }
  .ht-reviews__arrow--prev { left: 14px; }
  .ht-reviews__arrow--next { right: 14px; }
  .ht-reviews__bottom { justify-content: center; margin-top: -57px; height: 49px; pointer-events: none; }
  .ht-reviews__bottom-hint { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .ht-reviews__viewport { scroll-behavior: auto !important; }
  .ht-reviews__card, .ht-reviews__arrow, .ht-reviews__progress > span { transition: none !important; }
  .ht-reviews__card:hover { transform: none; }
}
