.faqBlock {
  background: #171717;
  padding: 91px 80px;
  color: #fff;
  font-family:
    "Inter",
    system-ui,
    -apple-system,
    sans-serif;
}

.faqBlock__container {
  max-width: 1220px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.faqBlock__top-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 80px;
  align-items: start;
}

.faqBlock__top-title {
  margin: 0;
  color: #fff;
  font-size: 58px;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.58px;
}

.faqBlock__top-content-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
}

.faqBlock__top-text,
.faqBlock__top-text p {
  margin: 0;
  color: #fff;
  font-size: 20px;
  font-weight: 300;
  line-height: 28px;
}

.faqBlock__outline-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border: 1px solid #fff;
  border-radius: 3px;
  background: transparent;
  color: #fff;
  text-decoration: none;
  font-family:
    "Roboto",
    "Inter",
    system-ui,
    -apple-system,
    sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  transition:
    background-color var(--templateTheme-dur-sm) var(--templateTheme-ease-soft),
    color var(--templateTheme-dur-sm) var(--templateTheme-ease-soft),
    transform var(--templateTheme-dur-md) var(--templateTheme-ease-out),
    box-shadow var(--templateTheme-dur-md) var(--templateTheme-ease-out);
  box-sizing: border-box;
}

.faqBlock__outline-button:hover,
.faqBlock__outline-button:focus-visible {
  background: #fff;
  color: #171717;
}

.faqBlock__button-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.faqBlock__accordion {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.faqBlock__item {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(0, 569px) 19px;
  column-gap: 64px;
  align-items: start;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.faqBlock__trigger {
  border: 0;
  border: 0;
  background: transparent;
  color: #fff;
  text-align: left;
  cursor: pointer;
}

.faqBlock__trigger--question {
  grid-column: 1 / 2;
  width: 100%;
  padding: 31px 0 31px 30px;
}

.faqBlock__question {
  display: block;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.2;
}

.faqBlock__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 19px;
  height: 19px;
  color: #fff;
  align-self: center;
}

.faqBlock__trigger--icon {
  grid-column: 3 / 4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 19px;
  height: 19px;
  margin-top: 34px;
  padding: 0;
}

.faqBlock__chevron {
  display: block;
  width: 19px;
  height: 19px;
  transform: rotate(0deg);
  transform-origin: 50% 50%;
  transition: transform var(--templateTheme-dur-md) var(--templateTheme-ease-out);
}

.faqBlock__item.is-open .faqBlock__chevron {
  transform: rotate(180deg);
}

.faqBlock__panel {
  display: none;
  grid-column: 2 / 3;
  padding: 31px 0 33px;
}

.faqBlock__item.is-open .faqBlock__panel {
  display: block;
}

.faqBlock__panel-inner {
  display: block;
}

.faqBlock__panel-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
}

.faqBlock__answer,
.faqBlock__answer p {
  margin: 0;
  color: #fff;
  font-size: 18px;
  font-weight: 300;
  line-height: 1.3;
}

.faqBlock__answer p + p {
  margin-top: 1em;
}

.faqBlock__inline-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.2;
}

.faqBlock__inline-link-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.faqBlock__bottom {
  display: flex;
  justify-content: center;
}

.faqBlock__bottom-content {
  width: 356px;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}

.faqBlock__bottom-title {
  margin: 0;
  color: #fff;
  font-size: 32px;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.32px;
}

.faqBlock__bottom-text,
.faqBlock__bottom-text p {
  margin: 0;
  color: #fff;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.5;
}

@media (min-width: 1800px) {
  .faqBlock {
    padding: var(--templateTheme-section-padding-y) var(--templateTheme-section-padding-x);
  }

  .faqBlock__container {
    max-width: 1360px;
    gap: 48px;
  }

  .faqBlock__top-grid {
    gap: 104px;
  }

  .faqBlock__top-title {
    font-size: 68px;
  }

  .faqBlock__top-text,
  .faqBlock__top-text p,
  .faqBlock__bottom-text,
  .faqBlock__bottom-text p {
    font-size: 22px;
    line-height: 1.5;
  }

  .faqBlock__item {
    grid-template-columns: minmax(280px, 1fr) minmax(0, 680px) 24px;
    column-gap: 88px;
  }
}

@media (max-width: 1024px) {
  .faqBlock {
    padding: 72px 40px;
  }

  .faqBlock__top-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .faqBlock__item {
    grid-template-columns: minmax(0, 1fr) 19px;
    column-gap: 24px;
  }

  .faqBlock__panel {
    grid-column: 1 / -1;
    padding-left: 30px;
    padding-top: 0;
  }

  .faqBlock__top-title {
    font-size: clamp(42px, 6vw, 58px);
  }
}

@media (max-width: 767px) {
  .faqBlock {
    padding: 56px 20px;
  }

  .faqBlock__container {
    gap: 32px;
  }

  .faqBlock__top-grid {
    gap: 24px;
  }

  .faqBlock__top-title {
    font-size: 40px;
  }

  .faqBlock__top-text,
  .faqBlock__top-text p,
  .faqBlock__bottom-text,
  .faqBlock__bottom-text p {
    font-size: 18px;
    line-height: 1.4;
  }

  .faqBlock__trigger {
    gap: 16px;
  }

  .faqBlock__question {
    font-size: 20px;
  }

  .faqBlock__trigger--question {
    padding: 22px 0;
  }

  .faqBlock__trigger--icon {
    margin-top: 24px;
  }

  .faqBlock__panel {
    padding: 0 0 24px;
    padding-left: 0;
  }

  .faqBlock__answer,
  .faqBlock__answer p {
    font-size: 16px;
  }

  .faqBlock__bottom-title {
    font-size: 28px;
  }
}
