/* FAQs / How Can We Help You? — Figma frame 1019:977 (1729px canvas). */

/* Page background: white until the FAQ list, then fades to baby blue behind CTA + footer */
body.page-faqs {
  background: linear-gradient(to bottom, #fff 0, #fff 1525.75px, var(--baby-blue) 4040.9px);
}
.page-faqs .site-footer { background: transparent; }

/* ---------- Header (overlay nav over navy hero) ---------- */
.page-faqs .site-header--overlay .nav {
  background: rgba(255, 255, 255, 0.75);
  padding: 0 27.2px 0 28.05px;
}
.page-faqs .nav__logo img { width: 202.3px; height: 34px; }
.page-faqs .site-header--overlay .nav { justify-content: flex-start; }
.page-faqs .nav__links { gap: 21.99px; margin-left: 49.3px; }
.page-faqs .nav__cta { margin-left: auto; }
.page-faqs .nav__links a {
  font-size: 13.22px;
  line-height: 18.51px;
  padding: 0 4.71px 3.15px;
}
.page-faqs .nav__cta {
  height: 36.27px;
  width: 187.38px;
  padding: 0 4.67px 0 19.55px;
  gap: 0;
  justify-content: space-between;
  border-radius: 8.5px;
  font-size: 13.49px;
  line-height: 18.89px;
}
.page-faqs .nav__cta img { width: 35.07px; height: 26.84px; }

/* ---------- Hero ---------- */
.faq-hero {
  position: relative;
  overflow: hidden;
  padding: 195.5px 0 0;
  background:
    linear-gradient(131.83deg, #061230 13.11%, var(--navy) 51.86%) -244.48px -243.81px / 1773.64px 1600.48px no-repeat,
    var(--navy);
}
/* white rounded panel that the contact cards straddle (Rectangle 23520, y=724 = card top + 188) */
.contact-cards::before {
  content: '';
  position: absolute;
  top: 159.8px;
  bottom: 0;
  left: calc(50% - 50vw);
  width: 100vw;
  background: #fff;
  border-radius: 42.5px 42.5px 0 0;
  z-index: -1;
}
.faq-hero__circles {
  position: absolute;
  top: -581.4px;
  left: 50%;
  width: 1832.8px;
  height: 1780.05px;
  max-width: none;
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 0;
}
.faq-hero__head,
.contact-cards { position: relative; z-index: 1; }

.faq-hero__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: #fff;
}
.faq-hero__eyebrow {
  font-weight: 600;
  font-size: 16.72px;
  line-height: 24.99px;
  letter-spacing: 1.7px;
  text-transform: uppercase;
}
.faq-hero__title {
  margin-top: 12.75px;
  font-weight: 700;
  font-size: 39.42px;
  line-height: 1;
  color: var(--yellow);
}
.faq-hero__sub {
  margin-top: 28.9px;
  max-width: 626.45px;
  font-weight: 500;
  font-size: 18.98px;
  line-height: 28.47px;
}

/* ---------- Contact cards ---------- */
.contact-cards {
  margin-top: 77.35px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22.52px;
}
.contact-card {
  display: flex;
  flex-direction: column;
  min-height: 372.3px;
  padding: 32.3px 30.6px 29.75px 32.3px;
  background: #fff;
  border-radius: 8.5px;
  box-shadow: 0 3.64px 17px rgba(0, 0, 0, 0.15);
}
.contact-card__icon {
  height: 85px;
  display: flex;
  align-items: center;
}
.contact-card__icon img { height: auto; }
.contact-card:nth-child(1) .contact-card__icon img { margin-left: -3.4px; }
.contact-card:nth-child(2) .contact-card__text { max-width: 217.6px; }
.contact-card__title {
  margin-top: 34.85px;
  font-weight: 700;
  font-size: 21.9px;
  line-height: 1.2;
  color: var(--navy);
}
.contact-card__text {
  margin-top: 11.05px;
  font-weight: 500;
  font-size: 16.79px;
  line-height: 25.55px;
  color: #101828;
}
.contact-card__btn {
  margin-top: auto;
  width: 100%;
  max-width: 260.1px;
  height: 52.77px;
  padding: 8.5px 13.6px;
  font-weight: 600;
  font-size: 17.9px;
  color: var(--navy);
  text-transform: none;
}

/* ---------- Topics + accordion ---------- */
.faq-topics { padding-top: 79.9px; }
.faq-topics__title {
  text-align: center;
  font-weight: 600;
  font-size: 23.36px;
  line-height: 35.04px;
  color: #263379;
}
.faq-tabs {
  margin-top: 29.75px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20.4px 22.95px;
}
.faq-tab {
  width: 318.75px;
  height: 63.75px;
  border: 0;
  border-radius: 8.5px;
  background: #d9d9d9;
  font-weight: 600;
  font-size: 19.69px;
  line-height: 26.37px;
  color: #646e82;
  cursor: pointer;
  transition: background .15s ease, color .15s ease;
}
.faq-tab:hover { background: #cfcfcf; }
.faq-tab.is-active { background: var(--yellow); color: var(--navy); font-weight: 700; }

.faq-panels { margin-top: 53.55px; }
.faq-list { gap: 20.4px; }
.faq-list[hidden] { display: none; }

.faq-item {
  position: relative;
  background: rgba(221, 236, 252, 0.2);
  border-radius: 11.47px;
  box-shadow: 0 4.58px 4.58px rgba(0, 0, 0, 0.25);
}
.faq-item .accordion__q {
  min-height: 98.25px;
  padding: 34px 119px 34px 53.55px;
  font-weight: 700;
  font-size: 19.69px;
  line-height: 26.37px;
  color: var(--navy);
}
.faq-item .accordion__icon {
  position: absolute;
  top: 23.32px;
  right: 33.15px;
  width: 51.33px;
  height: 51.33px;
  border-radius: 10.92px;
  background: var(--yellow);
  transform: none;
}
.faq-item .accordion__icon img { max-width: none; }
.faq-item .icon-minus { display: none; }
.faq-item.is-open .icon-plus { display: none; }
.faq-item.is-open .icon-minus { display: block; }
.faq-item.is-open .accordion__icon {
  top: 19.71px;
  right: 29.24px;
  width: 59.1px;
  height: 59.1px;
  border-radius: 18.96px;
  background: #d9d9d9;
  transform: none;
}
.faq-item.is-open .accordion__q { min-height: 0; padding: 27.2px 119px 13.6px 53.55px; }
.faq-item .accordion__a {
  padding: 0 53.55px 32.3px;
  font-size: 17.72px;
  line-height: 26.57px;
  color: var(--ink-65);
}
.faq-item .accordion__a p { max-width: 798.15px; }

/* ---------- CTA banner (shared .cta-banner from base.css, adjusted to this frame: 5-car line-up) ---------- */
.faq-cta { padding: 90.1px 0 34px; }
.faq-cta .cta-banner {
  align-items: flex-start;
  padding: 41.65px 57.8px 57.8px;
  background-image: url(../assets/faqs/cta-bg.svg);
  background-size: 100% 100%;
  box-shadow: var(--shadow);
}
.faq-cta .cta-banner__copy { gap: 0; width: 391px; }
.faq-cta .cta-banner__eyebrow { line-height: 28.9px; }
.faq-cta .cta-banner__title { margin-top: 14.45px; }
.faq-cta .cta-banner__text { margin: 6.8px 0 0 2.55px; }
.faq-cta .cta-banner__actions { margin: 39.95px 0 0 2.55px; gap: 6.97px; width: 365.23px; }
.faq-cta .cta-banner__actions .btn {
  height: 43.5px;
  padding: 8.5px 17px;
  gap: 19.55px;
  border-radius: 7.51px;
  font-weight: 600;
  font-size: 17.45px;
}
.faq-cta .cta-banner__actions .btn img { height: 19.03px; }

.faq-cta__cars {
  position: absolute;
  left: 465.51px;
  top: 166.6px;
  width: 494.7px;
  height: 109.2px;
}
.faq-cta__lineup { position: absolute; left: 0; top: 0; width: 494.7px; height: 103.32px; }
.faq-cta__shadow { position: absolute; left: 2.76px; top: 71.14px; width: 491.94px; height: 50.6px; opacity: .85; }

/* ---------- Responsive ---------- */
@media (max-width: 1054px) {
  .page-faqs .site-header--overlay .nav { padding: 0 13.6px; }
  .page-faqs .nav__links { margin-left: 13.6px; gap: 11.9px; }
  .faq-tab { width: calc((100% - 45.9px) / 3); }
  .contact-card { padding: 27.2px 23.8px; }
  .contact-card__text { font-size: 15.8px; line-height: 23.7px; }
  .contact-card__btn { font-size: 17.3px; }
  .faq-cta__cars { left: auto; right: 20.4px; width: 46%; }
  .faq-cta__lineup, .faq-cta__shadow { width: 100%; height: auto; }
  .faq-cta__shadow { left: 0; top: 57%; }
}

@media (max-width: 935px) {
  .faq-hero { padding-top: 161.5px; }
  .contact-cards::before { top: 102px; }
  .faq-hero__title { font-size: 32.12px; }
  .faq-hero__sub { font-size: 16.17px; line-height: 1.5; margin-top: 20.4px; }
  .contact-cards { margin-top: 51px; grid-template-columns: 1fr; max-width: 442px; gap: 17px; }
  .contact-card { min-height: 0; }
  .contact-card__btn { margin-top: 23.8px; max-width: none; }
  .faq-topics { padding-top: 61.2px; }
  .faq-tab { width: calc((100% - 22.95px) / 2); height: 54.4px; font-size: 15.8px; }
  .faq-item .accordion__q { font-size: 16.17px; line-height: 1.4; padding: 25.5px 93.5px 25.5px 27.2px; min-height: 81.6px; }
  .faq-item.is-open .accordion__q { padding: 23.8px 93.5px 10.2px 27.2px; }
  .faq-item .accordion__icon { top: 15.3px; right: 20.4px; }
  .faq-item.is-open .accordion__icon { top: 13.6px; right: 17px; }
  .faq-item .accordion__a { padding: 0 27.2px 23.8px; font-size: 14.94px; line-height: 1.55; }
  .faq-cta { padding-top: 61.2px; }
  .faq-cta .cta-banner { padding: 34px 30.6px 0; align-items: stretch; gap: 0; background-size: auto 100%; background-position: 73% center; }
  .faq-cta .cta-banner__copy { width: auto; }
  .faq-cta__cars { position: relative; left: auto; right: auto; top: auto; width: 100%; max-width: 494.7px; height: auto; margin: 13.6px auto 20.4px; }
  .faq-cta__lineup { position: relative; }
  .faq-cta__shadow { top: 57%; }
}

@media (max-width: 640px) {
  .page-faqs .nav__logo img { width: 162px; height: auto; }
  .page-faqs .site-header--overlay { padding-top: 21.6px; }
  .page-faqs .site-header--overlay .nav { height: 57.6px; padding: 0 14.4px; justify-content: space-between; }
  .page-faqs .nav__toggle { flex: none; }
  .faq-hero { padding-top: 118.8px; }
  .contact-cards::before { top: 81px; border-radius: 28.8px 28.8px 0 0; }
  .faq-hero__eyebrow { font-size: 14px; line-height: 1.5; }
  .faq-hero__title { font-size: 28.8px; margin-top: 9px; }
  .faq-hero__sub { font-size: 15.3px; }
  .contact-cards { margin-top: 36px; }
  .contact-card { padding: 21.6px 19.8px; }
  .contact-card__icon { height: 64.8px; }
  .contact-card__icon img { transform: scale(.8); transform-origin: left center; }
  .contact-card__title { margin-top: 16.2px; font-size: 22.5px; }
  .contact-card__text { font-size: 15.3px; line-height: 1.5; }
  .contact-card__btn { height: 54px; font-size: 18px; }
  .faq-topics__title { font-size: 21.6px; line-height: 1.4; }
  .faq-tabs { gap: 9px; margin-top: 21.6px; }
  .faq-tab { width: calc((100% - 9px) / 2); height: 46.8px; font-size: 14px; line-height: 1.2; padding: 0 7.2px; }
  .faq-tab.is-active { font-weight: 700; }
  .faq-panels { margin-top: 32.4px; }
  .faq-list { gap: 14.4px; }
  .faq-item .accordion__q { font-size: 15.3px; padding: 19.8px 72px 19.8px 18px; min-height: 72px; }
  .faq-item.is-open .accordion__q { padding: 18px 72px 9px 18px; }
  .faq-item .accordion__icon { width: 39.6px; height: 39.6px; border-radius: 9px; top: 16.2px; right: 14.4px; }
  .faq-item.is-open .accordion__icon { width: 43.2px; height: 43.2px; border-radius: 14.4px; top: 14.4px; right: 12.6px; }
  .faq-item .accordion__icon img { transform: scale(.7); }
  .faq-item .accordion__a { padding: 0 18px 19.8px; font-size: 14.4px; }
  .faq-cta { padding: 50.4px 0 21.6px; }
  .faq-cta .cta-banner { padding: 28.8px 18px 0; }
  .faq-cta .cta-banner__eyebrow { font-size: 14px; line-height: 1.5; }
  .faq-cta .cta-banner__title { font-size: 27px; margin-top: 9px; }
  .faq-cta .cta-banner__text { font-size: 14.4px; margin-left: 0; }
  .faq-cta .cta-banner__actions { margin: 25.2px 0 0; width: 100%; }
  .faq-cta .cta-banner__actions .btn { height: 50.4px; font-size: 15.3px; gap: 12.6px; padding: 9px 12.6px; }
}
