.qp-faq-sc{
  position: relative;
  padding: 80px 0;
  --qp-section-bg: var(--color-surface, #001220);
  --qp-faq-accent: var(--color-primary, #FF6F61);
  --qp-faq-accent-2: var(--color-secondary, #c72482);
  background: var(--qp-section-bg);
  color: #fff;
  overflow: visible;
}

.qp-faq-sc__layout{
  display: grid;
  grid-template-columns: minmax(0, 0.4fr) minmax(0, 0.6fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}

.qp-faq-sc__header{
  min-width: 0;
}

.qp-faq-sc__title{
  margin: 0 0 14px;
  text-align: left;
  font-size: clamp(28px, 3.2vw, 48px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: white;
}

.qp-faq-sc__description{
  line-height: 1.6;
  margin: 0;
  text-align: left;
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
}

.qp-faq-sc__list{
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 0;
  border: 1px solid rgba(255, 111, 97, 0.18);
  background: rgba(255, 255, 255, 0.02);
}

.qp-faq-sc__item{
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background-color 0.25s ease;
}

.qp-faq-sc__item:last-child{
  border-bottom: 0;
}

.qp-faq-sc__item.is-open{
  background: rgba(255, 111, 97, 0.06);
}

.qp-faq-sc__question{
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 22px;
  background: transparent;
  color: #fff;
  border: 0;
  border-radius: 0;
  cursor: pointer;
  text-align: left;
  font-weight: 700;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.qp-faq-sc__question:focus,
.qp-faq-sc__question:focus-visible{
  outline: none;
  background-color: rgba(255, 111, 97, 0.08) !important;
}

.qp-faq-sc__question:hover{
  background-color: rgba(255, 255, 255, 0.04);
}

.qp-faq-sc__qtext{
  font-size: 16px;
  line-height: 1.4;
  font-weight: 600;
}

.qp-faq-sc__icon{
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  position: relative;
  display: block;
  border: 1px solid rgba(255, 111, 97, 0.35);
  background: rgba(255, 111, 97, 0.07);
  color: var(--qp-faq-accent);
  transition: border-color 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}

.qp-faq-sc__icon::before{
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 10px;
  border-right: 3px solid currentColor;
  border-bottom: 3px solid currentColor;
  transform: translate(-50%, calc(-50% - 2px)) rotate(45deg);
  transform-origin: center center;
  transition: transform 0.3s ease, color 0.25s ease;
}

.qp-faq-sc__question[aria-expanded="true"] .qp-faq-sc__icon{
  border-color: rgba(199, 36, 130, 0.45);
  background: rgba(199, 36, 130, 0.1);
  color: var(--qp-faq-accent-2);
}

.qp-faq-sc__question[aria-expanded="true"] .qp-faq-sc__icon::before{
  transform: translate(-50%, calc(-50% + 2px)) rotate(-135deg);
}

.qp-faq-sc__question[aria-expanded="false"]:hover .qp-faq-sc__icon{
  border-color: rgba(255, 111, 97, 0.55);
  background: rgba(255, 111, 97, 0.12);
}

.qp-faq-sc__answer{
  padding: 0 22px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.65;
  font-size: 14px;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease, opacity 0.3s ease;
  max-height: 0;
  opacity: 0;
}

.qp-faq-sc__question[aria-expanded="true"] + .qp-faq-sc__answer,
.qp-faq-sc__item.is-open .qp-faq-sc__answer{
  max-height: 480px;
  opacity: 1;
  padding: 16px 20px;
}

.qp-faq-sc__answer[aria-hidden="true"]{
  max-height: 0;
  opacity: 0;
  padding: 0 22px;
}

.qp-faq-sc__answer p{
  margin: 0.6em 0 0;
}

.qp-faq-sc__answer p:first-child{
  margin-top: 0;
}

@media (max-width: 991px){
  .qp-faq-sc__layout{
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 767px){
  .qp-faq-sc__question{
    padding: 16px 18px;
  }

  .qp-faq-sc__item.is-open .qp-faq-sc__answer{
    padding: 16px 20px;
  }
}
