/* FAQ Accordion — matches site theme (#106eea, 8px radius, Roboto/Poppins) */
.faq-accordion {
  max-width: 920px;
  margin: 0 auto;
  padding: 0 15px 10px;
}
.faq-accordion .faq-heading,
.faq-section-title {
  text-align: center;
  margin-bottom: 28px;
}
.faq-item {
  background: #ffffff;
  border: 1px solid #e7f1fd;
  border-radius: 8px;
  box-shadow: 0 0 29px 0 rgba(68, 88, 144, 0.08);
  margin-bottom: 14px;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.faq-item.is-open {
  border-color: #106eea;
  box-shadow: 0px 6px 15px rgba(16, 110, 234, 0.12);
}
.faq-q {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  font-family: "Roboto", "Poppins", sans-serif;
}
.faq-q button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 48px;
  padding: 18px 20px;
  margin: 0;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
  color: #222222;
  font: inherit;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.4;
  gap: 12px;
}
.faq-q button:hover {
  color: #106eea;
}
.faq-q button:focus {
  outline: none;
}
.faq-q button:focus-visible {
  outline: 2px solid #106eea;
  outline-offset: -2px;
  border-radius: 8px;
}
.faq-item.is-open .faq-q button {
  color: #106eea;
}
.faq-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  position: relative;
  display: inline-block;
}
.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  background: currentColor;
  transition: transform 0.25s ease, opacity 0.25s ease;
  left: 50%;
  top: 50%;
}
.faq-icon::before {
  width: 14px;
  height: 2px;
  transform: translate(-50%, -50%);
}
.faq-icon::after {
  width: 2px;
  height: 14px;
  transform: translate(-50%, -50%);
}
.faq-item.is-open .faq-icon::after {
  transform: translate(-50%, -50%) scaleY(0);
  opacity: 0;
}
.faq-a {
  overflow: hidden;
  max-height: none; /* no-JS: fully visible */
  opacity: 1;
  padding: 0 20px 18px;
  transition: max-height 0.25s ease, opacity 0.25s ease, padding 0.25s ease;
}
.faq-a p {
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
  color: #555555;
  font-family: "Open Sans", sans-serif;
}
/* JS-enabled: collapse closed panels */
.faq-js .faq-item:not(.is-open) .faq-a {
  max-height: 0 !important;
  opacity: 0;
  padding-top: 0;
  padding-bottom: 0;
}
@media (max-width: 575px) {
  .faq-q button {
    font-size: 15px;
    padding: 16px 16px;
  }
  .faq-a {
    padding-left: 16px;
    padding-right: 16px;
  }
  .faq-a p {
    font-size: 15px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .faq-item,
  .faq-icon::before,
  .faq-icon::after,
  .faq-a {
    transition: none !important;
  }
}