/* Driveway FAQ: a single, numbered service folio rather than a stack of cards. */
.faq.section-shell {
  position: relative;
  isolation: isolate;
  grid-template-columns: minmax(0, .72fr) minmax(0, 1.42fr);
  gap: clamp(40px, 5.2vw, 82px);
  padding-top: 116px;
  padding-bottom: 126px;
}

.faq.section-shell::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 0 auto 0 50%;
  width: calc(100vw - 15px);
  transform: translateX(-50%);
  background: linear-gradient(118deg, #f2f1eb 0%, #f8f8f5 48%, #eaf2f5 100%);
}

.faq.section-shell::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 auto 0 50%;
  width: calc(100vw - 15px);
  transform: translateX(-50%);
  background:
    linear-gradient(90deg, transparent 0, rgba(14, 73, 108, .055) 1px, transparent 1px),
    linear-gradient(0deg, transparent 0, rgba(14, 73, 108, .04) 1px, transparent 1px);
  background-size: 86px 86px;
  mask-image: linear-gradient(90deg, #000, transparent 50%);
  pointer-events: none;
}

.faq .faq-intro {
  position: sticky;
  top: 32px;
  align-self: start;
  padding: 24px 0 0 27px;
  border-left: 2px solid #c5a46c;
}

.faq .faq-intro::before {
  content: "";
  position: absolute;
  top: 0;
  left: -2px;
  width: 34px;
  height: 2px;
  background: #c5a46c;
}

.faq .faq-intro .eyebrow {
  margin-bottom: 18px;
  color: #12618e;
  font-size: 11px;
  letter-spacing: .2em;
}

.faq .faq-intro h2 {
  max-width: 350px;
  margin-bottom: 24px;
  color: #082544;
  font-size: clamp(48px, 4.4vw, 66px);
  line-height: 1.01;
  letter-spacing: -.047em;
}

.faq .faq-intro > p:nth-of-type(2) {
  max-width: 310px;
  margin-bottom: 0;
  color: #4b6172;
  font-size: 16px;
  line-height: 1.6;
}

.faq .faq-mark {
  align-items: center;
  gap: 18px;
  max-width: 312px;
  margin-top: 43px;
  padding-top: 20px;
  border-top: 1px solid #bfcbd0;
}

.faq .faq-mark span {
  color: #095581;
  font: 700 74px/.9 Libre, Georgia, serif;
  letter-spacing: -.07em;
}

.faq .faq-mark small {
  max-width: 135px;
  margin: 3px 0 0;
  color: #48667b;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: .12em;
}

.faq .faq-list {
  counter-reset: driveway-question;
  overflow: hidden;
  padding: 16px 29px 17px;
  border: 1px solid #b7c9d0;
  background: rgba(255,255,255,.92);
  box-shadow: 0 25px 55px rgba(4, 37, 65, .10), 0 2px 4px rgba(4, 37, 65, .03);
}

.faq .faq-list::before {
  content: "JCA  /  DRIVEWAY SERVICE NOTES";
  display: block;
  padding: 8px 12px 17px;
  border-bottom: 1px solid #9fb4be;
  color: #3e6981;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .18em;
}

.faq .faq-list article {
  position: relative;
  counter-increment: driveway-question;
  border-bottom: 1px solid #d4dfe3;
  transition: background-color .22s ease;
}

.faq .faq-list article:last-child { border-bottom: 0; }
.faq .faq-list article:hover { background: #f6f9fa; }
.faq .faq-list article.open { background: #f0f6f8; }
.faq .faq-list article.open::before {
  content: "";
  position: absolute;
  inset: 12px auto 12px -29px;
  width: 3px;
  background: #c4a065;
}

.faq .faq-question {
  grid-template-columns: 45px minmax(0, 1fr) 40px;
  gap: 17px;
  min-height: 84px;
  padding: 20px 12px;
  color: #0c2b47;
  font-size: 21px;
  line-height: 1.32;
  transition: color .2s ease;
}

.faq .faq-question::before {
  content: counter(driveway-question, decimal-leading-zero);
  display: block;
  align-self: start;
  padding-top: 5px;
  color: #60879a;
  font: 700 11px/1.2 DM, Arial, sans-serif;
  letter-spacing: .14em;
}

.faq .faq-question > span {
  width: 37px;
  height: 37px;
  border: 1px solid #9db6c2;
  background: #fff;
  color: #075a8a;
  font-size: 23px;
  line-height: 1;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}

.faq .faq-list article.open .faq-question > span {
  border-color: #075a8a;
  background: #075a8a;
  color: #fff;
}

.faq .faq-question:focus-visible {
  outline: 2px solid #0a6fa8;
  outline-offset: -5px;
}

.faq .faq-answer > p {
  max-width: 700px;
  padding-right: 62px;
  padding-left: 74px;
  color: #415d70;
  font-size: 15px;
  line-height: 1.68;
}

.faq .faq-list article.open .faq-answer > p { padding-bottom: 28px; }

@media (max-width: 1000px) {
  .faq.section-shell { grid-template-columns: 1fr; gap: 40px; }
  .faq .faq-intro { position: relative; top: auto; }
  .faq .faq-intro h2 { max-width: none; }
  .faq .faq-intro > p:nth-of-type(2) { max-width: 600px; }
  .faq .faq-mark { margin-top: 24px; }
}

@media (max-width: 560px) {
  .faq.section-shell { gap: 31px; padding-top: 78px; padding-bottom: 82px; }
  .faq .faq-intro { padding: 8px 0 0 20px; }
  .faq .faq-intro h2 { margin-bottom: 18px; font-size: 43px; }
  .faq .faq-intro > p:nth-of-type(2) { font-size: 14px; }
  .faq .faq-mark { gap: 14px; margin-top: 25px; padding-top: 14px; }
  .faq .faq-mark span { font-size: 55px; }
  .faq .faq-mark small { font-size: 9px; }
  .faq .faq-list { padding: 9px 12px; }
  .faq .faq-list::before { padding: 10px 7px 14px; font-size: 9px; }
  .faq .faq-list article.open::before { left: -12px; }
  .faq .faq-question {
    grid-template-columns: 27px minmax(0, 1fr) 31px;
    gap: 9px;
    min-height: 78px;
    padding: 17px 4px;
    font-size: 16px;
    line-height: 1.35;
  }
  .faq .faq-question::before { padding-top: 4px; font-size: 9px; }
  .faq .faq-question > span { width: 29px; height: 29px; font-size: 19px; }
  .faq .faq-answer > p { padding-right: 15px; padding-left: 40px; font-size: 14px; }
  .faq .faq-list article.open .faq-answer > p { padding-bottom: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  .faq .faq-list article,
  .faq .faq-question,
  .faq .faq-question > span { transition: none; }
}
