
.az-compositefaq-section {
  width: 100%;
  padding: 30px 20px;
  font-family: Arial, Helvetica, sans-serif;
  box-sizing: border-box;
}

.az-compositefaq-section *,
.az-compositefaq-section *::before,
.az-compositefaq-section *::after {
  box-sizing: border-box;
}

.az-compositefaq-container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
}

.az-compositefaq-heading {
  max-width: 960px;
  margin: 0 auto 42px;
  text-align: center;
}

.az-compositefaq-heading > span {
  display: inline-block;
  margin-bottom: 12px;
  color: #162a9f;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 2px;
}

.az-compositefaq-heading h2 {
  margin: 0;
  color: #0d164e;
  font-size: clamp(28px, 3.7vw, 48px);
  font-weight: 800;
  line-height: 1.15;
  text-transform: uppercase;
}

.az-compositefaq-list {
  display: grid;
  gap: 14px;
}

.az-compositefaq-item {
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(22, 42, 159, 0.15);
  border-radius: 18px;
  box-shadow: 0 10px 25px rgba(13, 22, 78, 0.06);
  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease,
    transform 0.3s ease;
}

.az-compositefaq-item:hover {
  border-color: rgba(22, 42, 159, 0.34);
  box-shadow: 0 17px 36px rgba(13, 22, 78, 0.11);
  transform: translateY(-2px);
}

.az-compositefaq-item[open] {
  border-color: rgba(22, 42, 159, 0.42);
  box-shadow: 0 20px 44px rgba(13, 22, 78, 0.13);
}

.az-compositefaq-question {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 38px;
  gap: 18px;
  align-items: center;
  min-height: 84px;
  margin: 0;
  padding: 17px 22px;
  color: #0d164e;
  background: #fff;
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition:
    color 0.3s ease,
    background 0.3s ease;
}

.az-compositefaq-question::-webkit-details-marker {
  display: none;
}

.az-compositefaq-question::marker {
  content: "";
}

.az-compositefaq-question:hover {
  background: #f7faff;
}

.az-compositefaq-item[open] .az-compositefaq-question {
  color: #fff;
  background:
    radial-gradient(
      circle at top right,
      rgba(77, 109, 255, 0.58),
      transparent 34%
    ),
    linear-gradient(135deg, #0d164e, #162a9f);
}

.az-compositefaq-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  color: #fff;
  background: linear-gradient(135deg, #4d6dff, #162a9f);
  border-radius: 14px;
  box-shadow: 0 9px 18px rgba(22, 42, 159, 0.22);
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  transition:
    color 0.3s ease,
    background 0.3s ease,
    border-radius 0.3s ease,
    transform 0.3s ease;
}

.az-compositefaq-item[open] .az-compositefaq-number {
  color: #162a9f;
  background: #fff;
  border-radius: 50%;
  transform: rotate(-6deg);
}

.az-compositefaq-question-text {
  min-width: 0;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.45;
}

.az-compositefaq-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: #edf5fa;
  border: 1px solid #ccdced;
  border-radius: 50%;
  transition:
    background 0.3s ease,
    border-color 0.3s ease,
    transform 0.3s ease;
}

.az-compositefaq-toggle::before,
.az-compositefaq-toggle::after {
  content: "";
  position: absolute;
  background: #162a9f;
  border-radius: 3px;
  transition:
    background-color 0.3s ease,
    opacity 0.3s ease,
    transform 0.3s ease;
}

.az-compositefaq-toggle::before {
  width: 15px;
  height: 2px;
}

.az-compositefaq-toggle::after {
  width: 2px;
  height: 15px;
}

.az-compositefaq-item[open] .az-compositefaq-toggle {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.35);
  transform: rotate(180deg);
}

.az-compositefaq-item[open] .az-compositefaq-toggle::before,
.az-compositefaq-item[open] .az-compositefaq-toggle::after {
  background: #fff;
}

.az-compositefaq-item[open] .az-compositefaq-toggle::after {
  opacity: 0;
  transform: rotate(90deg);
}

.az-compositefaq-answer-wrap {
  display: grid;
  grid-template-rows: 0fr;
  background:
    radial-gradient(
      circle at bottom right,
      rgba(22, 42, 159, 0.06),
      transparent 35%
    ),
    #fff;
  transition: grid-template-rows 0.4s ease;
}

.az-compositefaq-item[open] .az-compositefaq-answer-wrap {
  grid-template-rows: 1fr;
}

.az-compositefaq-answer {
  min-height: 0;
  overflow: hidden;
}

.az-compositefaq-answer p {
  position: relative;
  margin: 0;
  padding: 25px 78px 28px 88px;
  color: #5b6684;
  font-size: 15px;
  line-height: 1.8;
}

.az-compositefaq-answer p::before {
  content: "";
  position: absolute;
  top: 27px;
  bottom: 29px;
  left: 48px;
  width: 4px;
  background: linear-gradient(to bottom, #4d6dff, #162a9f);
  border-radius: 999px;
}

.az-compositefaq-question:focus {
  outline: none;
}

.az-compositefaq-question:focus-visible {
  outline: 3px solid rgba(77, 109, 255, 0.5);
  outline-offset: -3px;
}

@media (max-width: 680px) {
  .az-compositefaq-section {
    padding: 40px 16px;
  }

  .az-compositefaq-heading {
    margin-bottom: 31px;
  }

  .az-compositefaq-heading h2 {
    font-size: 27px;
  }

  .az-compositefaq-list {
    gap: 11px;
  }

  .az-compositefaq-item {
    border-radius: 15px;
  }

  .az-compositefaq-question {
    grid-template-columns: 38px minmax(0, 1fr) 30px;
    gap: 11px;
    min-height: 72px;
    padding: 15px 14px;
  }

  .az-compositefaq-number {
    width: 38px;
    height: 38px;
    border-radius: 11px;
    font-size: 10px;
  }

  .az-compositefaq-question-text {
    font-size: 14px;
  }

  .az-compositefaq-toggle {
    width: 30px;
    height: 30px;
  }

  .az-compositefaq-toggle::before {
    width: 12px;
  }

  .az-compositefaq-toggle::after {
    height: 12px;
  }

  .az-compositefaq-answer p {
    padding: 20px 18px 22px 49px;
    font-size: 13.5px;
    line-height: 1.75;
  }

  .az-compositefaq-answer p::before {
    top: 22px;
    bottom: 23px;
    left: 25px;
    width: 3px;
  }

  .az-compositefaq-item:hover {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .az-compositefaq-item,
  .az-compositefaq-question,
  .az-compositefaq-number,
  .az-compositefaq-toggle,
  .az-compositefaq-toggle::before,
  .az-compositefaq-toggle::after,
  .az-compositefaq-answer-wrap {
    transition: none;
  }
}
