.faq-hero {
  background:
    radial-gradient(circle at 85% 15%, rgba(115, 148, 231, 0.36), transparent 32rem),
    linear-gradient(135deg, #142b6f 0%, #1d3b90 58%, #2f5cc4 100%);
  color: #fff;
  padding: clamp(3.5rem, 8vw, 6.5rem) 0;
}

.faq-hero h1 {
  max-width: 18ch;
  margin: 1rem 0;
  font-size: clamp(2.25rem, 6vw, 4.5rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
}

.faq-intro {
  max-width: 76ch;
  margin: 0;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.9);
}

.faq-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.92rem;
}

.faq-breadcrumb li + li::before {
  content: "/";
  margin-right: 0.5rem;
  color: rgba(255, 255, 255, 0.6);
}

.faq-breadcrumb a {
  color: #fff;
}

.faq-main {
  padding-top: clamp(2.5rem, 6vw, 5rem);
  padding-bottom: clamp(3rem, 7vw, 6rem);
}

.faq-list {
  max-width: 920px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 1rem;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--brand-primary) 18%, transparent);
  border-radius: 1rem;
  background: var(--surface-1);
  box-shadow: 0 0.75rem 2rem rgba(20, 43, 111, 0.07);
}

.faq-item h2 {
  margin: 0;
  font-size: inherit;
}

.faq-question {
  display: flex;
  width: 100%;
  min-height: 4.5rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.4rem;
  border: 0;
  background: transparent;
  color: var(--text-color);
  font: inherit;
  font-size: clamp(1.02rem, 2vw, 1.16rem);
  font-weight: 700;
  line-height: 1.4;
  text-align: left;
  cursor: pointer;
}

.faq-question:hover {
  color: var(--brand-primary);
}

.faq-question:focus-visible {
  outline: 3px solid var(--brand-accent);
  outline-offset: -4px;
}

.faq-icon {
  position: relative;
  flex: 0 0 1.5rem;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: rgba(47, 92, 196, 0.1);
}

.faq-icon::before,
.faq-icon::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0.75rem;
  height: 2px;
  background: var(--brand-primary);
  content: "";
  transform: translate(-50%, -50%);
}

.faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  transition: transform 0.18s ease;
}

.faq-question[aria-expanded="true"] .faq-icon::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.faq-answer {
  padding: 0 1.4rem 1.35rem;
}

.faq-answer p {
  max-width: 76ch;
  margin: 0;
  line-height: 1.75;
}

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

.faq-cta {
  max-width: 920px;
  margin: clamp(2.5rem, 6vw, 4.5rem) auto 0;
  padding: clamp(1.5rem, 5vw, 3rem);
  border-radius: 1.25rem;
  background: linear-gradient(135deg, #eef3ff, #fff);
  text-align: center;
}

.faq-cta h2 {
  margin: 0 0 0.5rem;
  color: var(--brand-primary);
}

.faq-cta p {
  margin: 0 auto 1.25rem;
}

.faq-cta .btn-primary {
  background: var(--brand-primary);
  color: #fff;
  text-decoration: none;
}

.faq-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
}

@media (max-width: 767.98px) {
  .faq-hero h1 {
    max-width: none;
  }

  .faq-question {
    padding: 1rem;
  }

  .faq-answer {
    padding: 0 1rem 1.1rem;
  }

  .faq-footer {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  .faq-icon::after {
    transition: none;
  }
}
