.faq-groups {
  position: relative;
  z-index: 2;
  padding: clamp(3.5rem, 7vw, 6rem) 5vw;
  background: #f7f8fa;
}

.main-wrapper > .faq_component {
  display: none;
}

.faq-groups_inner {
  width: min(76rem, 100%);
  margin: 0 auto;
}

.faq-groups h2 {
  margin: 0 0 0.6rem;
  color: #171b2c;
  font-size: clamp(2.4rem, 5vw, 4.5rem);
}

.faq-groups_intro {
  margin: 0 0 2.5rem;
  color: #596174;
  font-size: 1.05rem;
}

.faq-groups_tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 2rem;
  border-bottom: 1px solid #cfd5e1;
}

.faq-groups_tab {
  min-height: 4.5rem;
  padding: 1rem;
  border: 0;
  border-bottom: 4px solid transparent;
  background: transparent;
  color: #53608a;
  font: inherit;
  font-size: clamp(1rem, 2vw, 1.35rem);
  font-weight: 700;
  cursor: pointer;
}

.faq-groups_tab:hover,
.faq-groups_tab:focus-visible,
.faq-groups_tab.is-active {
  border-bottom-color: #315bc4;
  color: #203f9e;
}

.faq-groups_panel {
  min-height: 24rem;
}

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

.faq-groups_panel details {
  border-bottom: 1px solid #d8dde7;
}

.faq-groups_panel summary {
  display: flex;
  gap: 1rem;
  align-items: center;
  padding: 1.4rem 0;
  list-style: none;
  cursor: pointer;
}

.faq-groups_panel summary::-webkit-details-marker { display: none; }

.faq-groups_panel summary::before {
  content: "⌄";
  flex: 0 0 auto;
  color: #315bc4;
  font-size: 1.5rem;
  transition: transform 180ms ease;
}

.faq-groups_panel details[open] summary::before {
  transform: rotate(180deg);
}

.faq-groups_panel h3 {
  margin: 0;
  color: #171b2c;
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  line-height: 1.35;
}

.faq-groups_panel details > p {
  max-width: 60rem;
  margin: -0.2rem 0 0;
  padding: 0 0 1.5rem 2.5rem;
  color: #525b6d;
  line-height: 1.7;
}

@media (max-width: 700px) {
  .faq-groups_tabs {
    grid-template-columns: 1fr;
    border-bottom: 0;
  }

  .faq-groups_tab {
    min-height: 3.5rem;
    border-bottom: 1px solid #cfd5e1;
    text-align: left;
  }

  .faq-groups_tab.is-active {
    border-left: 4px solid #315bc4;
  }
}

.faq-contact-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: clamp(3rem, 7vw, 5rem) max(5vw, calc((100vw - 76rem) / 2));
  background: #0d285e;
  color: #fff;
}

.faq-contact-cta h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.8rem, 4vw, 3rem);
}

.faq-contact-cta_button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 10rem;
  min-height: 3.75rem;
  padding: 0.9rem 1.6rem;
  border: 2px solid #fff;
  color: #0d285e;
  background: #fff;
  font-weight: 800;
  text-decoration: none;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.faq-contact-cta_button:hover,
.faq-contact-cta_button:focus-visible {
  background: transparent;
  color: #fff;
  transform: translateY(-2px);
}

@media (max-width: 700px) {
  .faq-contact-cta {
    align-items: stretch;
    flex-direction: column;
  }

  .faq-contact-cta_button { width: 100%; box-sizing: border-box; }
}
