.faq-section {
  --faq-bg: #edf3fb;
  --faq-gold: #c8a46a;
  --faq-navy: #1b3b4d;
  --faq-border: rgba(27, 59, 77, 0.12);
  --gray-bg: #f1f6ff;

  position: relative;
  overflow: hidden;
  background: var(--gray-bg);
  color: var(--faq-navy);
}

.faq-section__inner {
  display: grid;
  grid-template-columns: minmax(0, 550px) minmax(0, 710px);
  gap: 30px;
  width: min(1290px, calc(100% - 48px));
  margin: 0 auto;
  padding: 96px 0;
}

.faq-section__intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-right: 30px;
  border-right: 1px solid var(--faq-border);
}

.faq-section__eyebrow-wrap {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.faq-section__eyebrow-line {
  display: block;
  flex: 0 0 auto;
  width: 48px;
  height: 1px;
  background: var(--faq-navy);
}

.faq-section__eyebrow {
  color: var(--faq-navy);
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: var(--fw-bold);
  line-height: 1.1;
  letter-spacing: 0;
}

.faq-section__title {
  display: flex;
  flex-direction: column;
  width: min(520px, 100%);
  margin: 0 0 24px;
  color: var(--faq-navy);
  font-family: var(--font-display);
  font-size: 47px;
  font-weight: var(--fw-regular);
  line-height: 1.1;
  letter-spacing: 0;
}

.faq-section__title-highlight {
  color: var(--faq-gold);
}

.faq-section__body {
  width: min(520px, 100%);
  max-height: none;
  overflow: hidden;
  color: var(--faq-navy);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: var(--fw-regular);
  line-height: 1.7;
  letter-spacing: 0;
  transition: max-height 260ms ease;
}

.faq-section.is-collapsible:not(.is-expanded) .faq-section__body {
  max-height: 118px;
}

.faq-section__body p {
  margin: 0 0 27px;
}

.faq-section__body p:last-child {
  margin-bottom: 0;
}

.faq-section__toggle {
  display: none;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--faq-navy);
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: var(--fw-bold);
  line-height: 1.1;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.faq-section.is-collapsible .faq-section__toggle {
  display: inline-flex;
}

.faq-section__toggle svg {
  width: 16px;
  height: 16px;
  transition: transform 180ms ease;
}

.faq-section.is-expanded .faq-section__toggle svg {
  transform: rotate(180deg);
}

.faq-section__list {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
}

.faq-section__item {
  border-bottom: 1px solid var(--faq-border);
}

.faq-section__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  min-height: 92.5px;
  padding: 29px 16px;
  border: 0;
  background: transparent;
  color: var(--faq-navy);
  cursor: pointer;
  text-align: left;
}

.faq-section__question span {
  color: inherit;
  font-family: var(--font-body);
  font-size: 19px;
  font-weight: var(--fw-regular);
  line-height: 1.7;
  letter-spacing: 0;
}

.faq-section__question svg {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  color: currentColor;
  transition:
    color var(--duration-fast) var(--ease-out),
    transform var(--duration-fast) var(--ease-out);
}

.faq-section__toggle:hover,
.faq-section__toggle:focus-visible,
.faq-section__question:hover,
.faq-section__question:focus-visible,
.faq-section__question[aria-expanded="true"] {
  color: var(--faq-gold);
}

.faq-section__question:focus-visible,
.faq-section__toggle:focus-visible {
  outline: 2px solid var(--faq-gold);
  outline-offset: 4px;
}

.faq-section__question[aria-expanded="true"] svg {
  transform: rotate(45deg);
}

.faq-section__answer {
  color: var(--faq-navy);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
}

.faq-section__answer[hidden] {
  display: none;
}

.faq-section__answer-inner {
  padding: 0 56px 29px 16px;
}

.faq-section__answer-inner p {
  margin: 0 0 18px;
}

.faq-section__answer-inner p:last-child {
  margin-bottom: 0;
}

@media (max-width: 1139px) {
  .faq-section__inner {
    grid-template-columns: 1fr;
    width: calc(100% - 40px);
    padding: 72px 0;
  }

  .faq-section__intro {
    width: min(620px, 100%);
    padding-right: 0;
    border-right: 0;
  }

  .faq-section__title,
  .faq-section__body {
    width: 100%;
  }
}

@media (max-width: 767px) {
  .faq-section__inner {
    padding: 56px 0;
  }

  .faq-section__eyebrow {
    font-size: 16px;
  }

  .faq-section__title {
    font-size: 40px;
  }

  .faq-section.is-collapsible:not(.is-expanded) .faq-section__body {
    max-height: none;
  }

  .faq-section.is-collapsible .faq-section__toggle {
    display: none;
  }

  .faq-section__question {
    min-height: 84px;
    padding: 24px 0;
  }

  .faq-section__answer-inner {
    padding: 0 0 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .faq-section__body,
  .faq-section__toggle svg,
  .faq-section__question svg {
    transition: none;
  }
}
