.faq-hero {
  padding: 0 0 71px;
  background:
    url("../assets/images/faq/hero_bg (1).png") center top / cover no-repeat,
    var(--bg-primary);
  overflow: hidden;
}

.faq-hero__inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 48px;
  padding-top: 128px;
  min-height: 559px;
}

/* .faq-hero__tag {
  width: 128px;
} */

.faq-hero__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
  max-width: 760px;
}

.faq-hero__title {
  margin: 0;
  font-family: 'Inter', Arial, sans-serif;
  font-weight: 700;
  font-size: 48px;
  line-height: 56px;
  color: var(--text-primary);
}

.faq-hero__subtitle {
  margin: 0;
  white-space: pre-line;
  font-size: 24px;
  line-height: 32px;
  color: var(--text-primary);
}

.faq-hero__actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.faq-hero__button {
  min-width: 190px;
}

.faq-hero__button--light {
  min-width: 206px;
}

.faq-hero__dots {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-left: 16px;
  margin-top: auto;
}

.faq-hero__dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
}

.faq-hero__frame {
  position: absolute;
  right: 52px;
  bottom: -72px;
  width: 155px;
  height: 160px;
  border: 4px solid rgba(255, 255, 255, 0.42);
  border-radius: 14px;
}

.faq-topic {
  padding: 96px 0;
}

.faq-topic__inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
}

.faq-topic__title {
  width: 100%;
}

.faq-topic__content {
  display: grid;
  grid-template-columns: 148px minmax(0, 1fr);
  gap: 56px;
  width: 100%;
  align-items: start;
}

.faq-topic__intro {
  display: flex;
  align-items: center;
  gap: 100px;
  grid-column: 1 / -1;
}

.faq-topic__intro img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  flex: 0 0 auto;
}

.faq-topic__intro p {
  margin: 0;
  max-width: 690px;
  font-size: 32px;
  line-height: 48px;
  color: var(--text-secondary);
}

.faq-topic__intro--start p {
  max-width: 760px;
}

.faq-topic__cards {
  grid-column: 2;
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  max-width: 792px;
}

.faq-card {
  padding: 24px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.faq-card h3 {
  margin: 0 0 12px;
  font-weight: 400;
  font-size: 24px;
  line-height: 32px;
  color: var(--text-primary);
}

.faq-card p {
  margin: 0;
  font-size: 16px;
  line-height: 24px;
  color: var(--text-secondary);
}

.faq-topic__closing {
  width: 100%;
  max-width: 792px;
  align-self: center;
  text-align: center;
  margin-top: 8px;
}

.faq-topic__closing-title,
.faq-topic__closing-text {
  margin: 0;
  font-size: 24px;
  line-height: 36px;
  color: var(--text-secondary);
}

.faq-topic__closing-text a {
  color: #0F53C8;
}

@media (max-width: 1023.98px) {
  .faq-topic__intro p {
    font-size: 28px;
    line-height: 40px;
  }

  .faq-topic__content {
    gap: 32px;
  }

  .faq-topic__cards {
    grid-column: 1 / -1;
    max-width: none;
  }
}

@media (max-width: 767.98px) {
  .faq-hero {
    padding: 0 0 48px;
    background:
      url("../assets/images/faq/hero_bg (2).png") center top / cover no-repeat,
      var(--bg-primary);
  }

  .faq-hero__inner {
    gap: 48px;
    padding-top: 139px;
    min-height: 598px;
  }

  .faq-hero__title {
    font-size: 30px;
    line-height: 32px;
  }

  .faq-hero__subtitle {
    font-size: 20px;
    line-height: 30px;
  }

  .faq-hero__content {
    gap: 32px;
    max-width: 100%;
  }

  .faq-hero__actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .faq-hero__button,
  .faq-hero__button--light {
    width: 100%;
    min-width: 0;
  }

  .faq-hero__frame {
    width: 110px;
    height: 116px;
    right: 18px;
    bottom: -44px;
    border-width: 3px;
  }

  .faq-hero__dots {
    gap: 16px;
    padding-left: 8px;
  }

  .faq-topic {
    padding: 48px 0;
  }

  .faq-topic__content {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }

  .faq-topic__intro {
    flex-direction: column;
    align-items: center;
    gap: 24px;
    width: 100%;
  }

  .faq-topic__intro p {
    max-width: 100%;
    font-size: 24px;
    line-height: 36px;
    text-align: center;
  }

  .faq-topic__cards {
    width: 100%;
  }

  .faq-card h3 {
    font-size: 20px;
    line-height: 30px;
  }

  .faq-topic__closing {
    margin-top: 0;
  }

  .faq-topic__closing-title,
  .faq-topic__closing-text {
    font-size: 20px;
    line-height: 30px;
  }
}
