.ch-faq,
.ch-faq * {
  box-sizing: border-box;
}

.ch-faq {
  --ch-faq-primary: #4054e8;
  --ch-faq-primary-soft: #eef1ff;
  --ch-faq-text: #11172a;
  --ch-faq-muted: #667085;
  --ch-faq-border: #e3e7ef;
  display: grid;
  grid-template-columns: minmax(240px, .7fr) minmax(0, 1.3fr);
  gap: clamp(34px, 7vw, 90px);
  align-items: start;
  width: 100%;
  font-family: inherit;
}

.ch-faq-header .ch-contact-badge {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 12px;
  border: 1px solid #d9dfff;
  border-radius: 999px;
  background: #fff;
  color: var(--ch-faq-primary);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
}

.ch-faq-header h2 {
  margin: 16px 0 10px;
  color: var(--ch-faq-text);
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1.12;
}

.ch-faq-header p {
  margin: 0;
  color: var(--ch-faq-muted);
  font-size: 16px;
  line-height: 1.65;
}

.ch-faq-list {
  display: grid;
  gap: 12px;
}

.ch-faq-item {
  overflow: hidden;
  border: 1px solid var(--ch-faq-border);
  border-radius: 10px;
  background: #fff;
  transition: border-color .18s ease, box-shadow .18s ease;
}

.ch-faq-item.is-open {
  border-color: #c8d0ff;
  box-shadow: 0 12px 30px rgba(50, 64, 175, .08);
}

.ch-faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  min-height: 68px;
  margin: 0;
  padding: 20px 22px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--ch-faq-text);
  font-family: inherit;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.45;
  text-align: left;
  cursor: pointer;
}

.ch-faq-icon {
  display: grid;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  place-items: center;
  border-radius: 9px;
  background: var(--ch-faq-primary-soft);
  color: var(--ch-faq-primary);
}

.ch-faq-icon svg {
  width: 21px;
  height: 21px;
  fill: currentColor;
  transition: transform .2s ease;
}

.ch-faq-item.is-open .ch-faq-icon svg {
  transform: rotate(180deg);
}

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

.ch-faq-answer {
  color: var(--ch-faq-muted);
  font-size: 16px;
  line-height: 1.7;
}

.ch-faq-answer > div {
  padding: 0 22px 22px;
}

.ch-faq-answer p {
  margin: 0 0 10px;
}

.ch-faq-answer p:last-child {
  margin-bottom: 0;
}

@media (max-width: 900px) {
  .ch-faq {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 600px) {
  .ch-faq-header h2 {
    font-size: 30px;
  }

  .ch-faq-question {
    min-height: 60px;
    padding: 17px 16px;
    font-size: 16px;
  }

  .ch-faq-answer {
    font-size: 14px;
  }

  .ch-faq-answer > div {
    padding: 0 16px 17px;
  }

  .ch-faq-icon {
    width: 30px;
    height: 30px;
    flex-basis: 30px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ch-faq-item,
  .ch-faq-icon svg {
    transition: none;
  }
}
