.hero {
  position: relative;
  padding-top: 80px;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: 106px;
  z-index: -111;
  width: 100%;
  height: 48px;
  background: url("../assets/media/images/icons/decor-large-icon.svg") repeat-x;
}

.hero-inner {
  display: flex;
  align-items: center;
  gap: 28px;
}

.hero h1 {
  font-family: Oswald, sans-serif;
  font-weight: 600;
  font-size: 62px;
  line-height: 115%;
  margin-bottom: 40px;
  text-transform: uppercase;
  color: #2c332f;
}

.hero h1 strong {
  font-weight: 600;
  color: #3596ed;
}

.hero-info .text {
  max-width: 440px;
  margin-bottom: 140px;
}

.hero-images {
  position: relative;
  display: flex;
}

.hero-choose {
  position: absolute;
  top: 40px;
  left: 50%;
  transform: translateX(-50%);
  max-width: 161px;
  padding: 22px;
  background: rgb(255 255 255 / 0.9);
  border: 1px solid #535755;
  text-align: center;
}

.news-list {
  display: flex;
  gap: 28px;
}

.news-card {
  display: flex;
  flex-direction: column;
  max-width: 284px;
  background-color: #fff;
  border: 1px solid #d3cbd9;
  overflow: hidden;
}

.news-card img {
  display: block;
}

.news-info {
  padding: 20px 20px 0;
  margin-bottom: 12px;
}

.news-date {
  display: inline-block;
  margin-bottom: 8px;
}

.news-card footer {
  padding: 0 20px 20px;
  margin-top: auto;
}

.news-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 400;
  font-size: 16px;
  line-height: 130%;
  color: #3596ed;
}

.news-link::after {
  content: "";
  display: inline-block;
  width: 22px;
  height: 9px;
  background-image: url("../assets/media/images/icons/arrow-right-icon.svg");
  transition: transform 0.3s;
}

.news-link:hover::after {
  transform: translateX(5px);
}

.faq {
  position: relative;
}

.faq::before {
  content: "";
  position: absolute;
  top: 215px;
  z-index: -9999;
  width: calc(
    50% - 250px
  ); /* для динамического расчета ширины декоративного элемента в блоке .faq */
  height: 48px;
  background: url("../assets/media/images/icons/decor-large-icon.svg") repeat-x;
}

.faq-wrapper {
  display: flex;
  gap: 28px;
}

details {
  margin-bottom: 20px;
  border-block: 1px solid #d3cbd9; /* сокращенная запись для верхней и нижней границ одновременно */
}

details[open] summary::after {
  transform: rotate(180deg);
}

/* анимация то срабатывает, то нет почему-то */
details[open] p {
  animation: fade 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes fade {
  0% {
    opacity: 0;
    transform: translateY(-30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

details > p {
  padding: 0 20px 20px;
}

summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  list-style: none;
  padding: 20px;
  cursor: pointer;
}

summary::-webkit-details-marker {
  /* префикс для Safari и старых браузеров Chrome/Edge */
  display: none;
}

summary::after {
  content: "";
  display: inline-block;
  width: 17px;
  height: 22px;
  background: url("../assets/media/images/icons/arrow-down-icon.svg") no-repeat
    center / cover;
}
