/* Harpenden Taxis — Homepage FAQ accordion (scoped styles only). */
.ht-faq {
  --faq-navy: var(--ht-navy, #171c42);
  --faq-blue: var(--ht-blue, #2c3077);
  --faq-red: var(--ht-crimson, #be2039);
  background: #fafafc;
  padding: clamp(72px, 7vw, 118px) 0;
  color: var(--faq-navy);
}
.ht-faq__container {
  width: min(calc(100% - var(--ht-gutter, 24px) * 2), var(--ht-container-width, 1580px));
  margin: 0 auto;
}
.ht-faq__layout {
  display: grid;
  grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr);
  gap: clamp(44px, 6.1vw, 112px);
  align-items: start;
}
.ht-faq__intro { min-width: 0; padding-top: 15px; }
.ht-faq__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--faq-blue);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .15em;
  line-height: 1.5;
  margin-bottom: 23px;
}
.ht-faq__eyebrow > span {
  width: 30px;
  height: 2px;
  background: var(--faq-red);
  flex: 0 0 30px;
}
.ht-faq .ht-faq__title {
  margin: 0;
  max-width: 590px;
  color: var(--faq-navy);
  font-family: Manrope, 'IBM Plex Sans', sans-serif;
  font-size: clamp(40px, 3.6vw, 61px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.055em;
}
.ht-faq__title span { color: var(--faq-red); display: block; }
.ht-faq__intro-text {
  max-width: 450px;
  margin: 23px 0 0;
  color: #61697f;
  font-size: clamp(15px, 1.1vw, 17px);
  line-height: 1.8;
}
.ht-faq__help {
  display: flex;
  gap: 18px;
  align-items: center;
  max-width: 485px;
  margin-top: clamp(32px, 4.5vw, 65px);
  padding: 24px;
  background: linear-gradient(120deg, #ffffff 65%, #fff7f8 100%);
  border: 1px solid #d3dbea;
  border-left: 4px solid var(--faq-red);
  border-radius: 16px;
  box-shadow: 0 13px 35px rgba(23,28,66,.095), 0 3px 9px rgba(23,28,66,.035);
  transition: border-color .24s ease, box-shadow .24s ease, transform .24s ease;
}
.ht-faq__help:hover {
  border-color: #c2cce0;
  border-left-color: var(--faq-red);
  box-shadow: 0 19px 42px rgba(23,28,66,.13), 0 5px 13px rgba(23,28,66,.045);
  transform: translateY(-2px);
}
.ht-faq__help-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  flex: 0 0 56px;
  display: grid;
  place-items: center;
  color: var(--faq-red);
  background: #fff0f3;
  border: 1px solid #e9b9c4;
  box-shadow: inset 0 0 0 3px rgba(255,255,255,.8), 0 4px 10px rgba(190,32,57,.07);
}
.ht-faq__help-icon svg { display: block; width: 28px; height: 28px; }
.ht-faq__help-copy { display: flex; flex-direction: column; gap: 6px; }
.ht-faq__help-copy strong {
  font-family: Manrope, 'IBM Plex Sans', sans-serif;
  font-size: 17px;
  font-weight: 800;
}
.ht-faq__help-copy > span {
  font-size: 13px;
  line-height: 1.55;
  color: #62697c;
}
.ht-faq__help-copy a {
  display: inline-flex;
  align-items: center;
  margin-top: 3px;
  width: fit-content;
  color: var(--faq-red);
  font-size: 13.5px;
  font-weight: 800;
  text-decoration: none;
}
.ht-faq__help-copy a:hover { color: #9d1932; text-decoration: underline; }

.ht-faq__questions { display: grid; gap: 15px; min-width: 0; }
.ht-faq__item {
  min-width: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid #d6ddeb;
  border-radius: 16px;
  box-shadow: 0 9px 22px rgba(23,28,66,.07), 0 2px 5px rgba(23,28,66,.025);
  transition: transform .23s ease, border-color .23s ease, box-shadow .23s ease;
}
.ht-faq__item:hover {
  transform: translateY(-3px);
  border-color: #b2bfdc;
  box-shadow: 0 17px 36px rgba(23,28,66,.13), 0 4px 10px rgba(23,28,66,.035);
}
.ht-faq__item[open] {
  border-color: #aebcdd;
  box-shadow: 0 15px 35px rgba(23,28,66,.105), 0 3px 8px rgba(23,28,66,.035);
}
.ht-faq__question {
  display: flex;
  align-items: center;
  gap: clamp(13px, 1.5vw, 22px);
  padding: clamp(18px, 1.7vw, 25px) clamp(18px, 2vw, 28px);
  cursor: pointer;
  list-style: none;
  color: var(--faq-navy);
}
.ht-faq__question::-webkit-details-marker { display: none; }
.ht-faq__question::marker { content: ''; }
.ht-faq__question:focus-visible {
  outline: 3px solid var(--faq-blue);
  outline-offset: -5px;
  border-radius: 13px;
}
.ht-faq__number {
  display: inline-grid;
  place-items: center;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  border: 1px solid #cdd5e8;
  border-radius: 50%;
  background: #f4f6fc;
  color: var(--faq-blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .025em;
  line-height: 1;
  transition: border-color .23s ease, color .23s ease, background-color .23s ease;
}
.ht-faq__item:hover .ht-faq__number { border-color: #adbadd; background: #eef1f9; }
.ht-faq__item[open] .ht-faq__number {
  color: var(--faq-red);
  border-color: #e7b1bd;
  background: #fff0f3;
}
.ht-faq__question-text {
  flex: 1;
  min-width: 0;
  font-family: Manrope, 'IBM Plex Sans', sans-serif;
  color: var(--faq-navy);
  font-size: clamp(15px, 1.15vw, 18px);
  font-weight: 750;
  line-height: 1.45;
  letter-spacing: -.02em;
}
.ht-faq__toggle {
  display: grid;
  place-items: center;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  border: 1px solid #d6dbeb;
  border-radius: 50%;
  background: #f7f8fc;
  color: var(--faq-blue);
  position: relative;
  transition: background .22s ease, border-color .22s ease, color .22s ease;
}
.ht-faq__toggle > span {
  position: absolute;
  display: block;
  width: 13px;
  height: 2px;
  border-radius: 3px;
  background: currentColor;
  transition: transform .23s ease;
}
.ht-faq__toggle > span + span { transform: rotate(90deg); }
.ht-faq__item[open] .ht-faq__toggle { background: var(--faq-red); border-color: var(--faq-red); color: #fff; }
.ht-faq__item[open] .ht-faq__toggle > span + span { transform: rotate(0); }
.ht-faq__answer {
  border-top: 1px solid #eef0f5;
  margin: 0 clamp(18px, 2vw, 28px) 0 calc(clamp(18px, 2vw, 28px) + clamp(13px, 1.5vw, 22px) + 38px);
  padding: 17px 0 23px;
}
.ht-faq__answer p {
  max-width: 690px;
  margin: 0;
  color: #60697d;
  font-size: clamp(14px, .98vw, 15px);
  line-height: 1.78;
}
.ht-faq__answer a {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-top: 14px;
  color: var(--faq-red);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}
.ht-faq__answer a:hover { color: #95192d; text-decoration: underline; }
.ht-faq a:focus-visible { outline: 3px solid var(--faq-blue); outline-offset: 4px; }

@media (max-width: 1050px) {
  .ht-faq__layout { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 34px; }
  .ht-faq .ht-faq__title { font-size: clamp(37px, 4.7vw, 48px); }
  .ht-faq__help { padding: 19px; }
}
@media (max-width: 820px) {
  .ht-faq__layout { grid-template-columns: minmax(0, 1fr); gap: 35px; }
  .ht-faq__intro { padding-top: 0; }
  .ht-faq .ht-faq__title { max-width: none; font-size: clamp(36px, 6vw, 50px); }
  .ht-faq__title span { display: inline; }
  .ht-faq__intro-text { max-width: 620px; }
  .ht-faq__help { max-width: none; margin-top: 25px; }
}
@media (max-width: 540px) {
  .ht-faq { padding: 68px 0 74px; }
  .ht-faq__container { width: calc(100% - 32px); }
  .ht-faq__eyebrow { font-size: 10px; gap: 9px; margin-bottom: 17px; }
  .ht-faq__eyebrow > span { width: 22px; flex-basis: 22px; }
  .ht-faq .ht-faq__title { font-size: clamp(34px, 8.5vw, 43px); }
  .ht-faq__intro-text { font-size: 14px; margin-top: 16px; }
  .ht-faq__help { padding: 17px; margin-top: 23px; }
  .ht-faq__help-icon { flex-basis: 49px; width: 49px; height: 49px; }
  .ht-faq__help-icon svg { width: 25px; height: 25px; }
  .ht-faq__questions { gap: 12px; }
  .ht-faq__question { gap: 11px; padding: 16px 14px; }
  .ht-faq__number { flex-basis: 33px; width: 33px; height: 33px; font-size: 11px; }
  .ht-faq__question-text { font-size: 14px; }
  .ht-faq__toggle { width: 33px; height: 33px; flex-basis: 33px; }
  .ht-faq__answer { margin-left: 58px; margin-right: 14px; padding: 15px 0 19px; }
  .ht-faq__answer p { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .ht-faq *, .ht-faq *::before, .ht-faq *::after { transition-duration: .01ms !important; }
}
