.home-faq {
  padding: 64px 20px 72px;
  background: #f7f9fc;
}

.home-faq__inner {
  width: min(1160px, 100%);
  margin: 0 auto;
}

.home-faq__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: end;
  margin-bottom: 24px;
}

.home-faq__eyebrow {
  margin: 0 0 7px;
  color: #0866e8;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.home-faq h2 {
  margin: 0;
  color: #0f172a;
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.14;
  letter-spacing: -.025em;
}

.home-faq__lead {
  max-width: 720px;
  margin: 10px 0 0;
  color: #5c6678;
  font-size: 17px;
  line-height: 1.6;
}

.home-faq__all {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid #d5dce7;
  border-radius: 10px;
  background: #fff;
  color: #172033;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  transition: border-color .18s ease, color .18s ease, transform .18s ease;
}

.home-faq__all:hover {
  border-color: #0866e8;
  color: #0866e8;
  transform: translateY(-1px);
}

.home-faq__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.home-faq__item {
  align-self: start;
  overflow: clip;
  border: 1px solid #e0e6ee;
  border-radius: 14px;
  background: #fff;
}

.home-faq__item summary {
  position: relative;
  padding: 18px 54px 18px 20px;
  color: #172033;
  cursor: pointer;
  list-style: none;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.42;
}

.home-faq__item summary::-webkit-details-marker {
  display: none;
}

.home-faq__item summary::after {
  content: '+';
  position: absolute;
  top: 50%;
  right: 18px;
  width: 28px;
  height: 28px;
  transform: translateY(-50%);
  border-radius: 50%;
  background: #eef4ff;
  color: #0866e8;
  font-size: 21px;
  font-weight: 700;
  line-height: 27px;
  text-align: center;
}

.home-faq__item[open] summary::after {
  content: '–';
}

.home-faq__answer {
  padding: 0 20px 19px;
  color: #596477;
  font-size: 15px;
  line-height: 1.65;
}

.home-faq__answer p {
  margin: 0;
}

.home-faq__footer {
  display: none;
}

@media (max-width: 760px) {
  .home-faq {
    padding: 46px 16px 54px;
  }

  .home-faq__head {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 18px;
  }

  .home-faq__head > .home-faq__all {
    display: none;
  }

  .home-faq h2 {
    font-size: 28px;
  }

  .home-faq__lead {
    font-size: 16px;
  }

  .home-faq__list {
    grid-template-columns: 1fr;
  }

  .home-faq__item summary {
    padding: 17px 52px 17px 17px;
    font-size: 16px;
  }

  .home-faq__answer {
    padding: 0 17px 17px;
  }

  .home-faq__footer {
    display: block;
    margin-top: 16px;
  }

  .home-faq__all--mobile {
    width: 100%;
    min-height: 48px;
  }
}
