@import url("../sections/period.css");
@import url("../sections/features.css");

.period-cards .image-card:last-child {
  grid-column: span 3;
}
.period-cards .image-card:last-child .image-card-cover {
  min-height: 308px;
}
.period-cards .image-card:last-child .image-card-inner p {
  max-width: 368px;
}
@media (max-width: 767px) {
  .period-cards .image-card:last-child {
    grid-column: span 1;
  }
  .period-cards .image-card:last-child .image-card-cover {
    min-height: unset;
  }
}

.why {
  width: 100%;
}
.why-block {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 96px 0 104px 96px;
  background-color: var(--slate-950);
  border-radius: 16px;
  overflow: hidden;
}
.why-block img {
  position: absolute;
  top: 50%;
  right: -156px;
  transform: translateY(-50%);
  width: 752px;
  height: auto;
}
.why-block-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  max-width: 392px;
}
.why-block-inner-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  margin-bottom: 32px;
}
.why-block-inner span {
  font-size: var(--font-size-12);
  font-weight: var(--font-weight-500);
  line-height: var(--line-height-16);
  letter-spacing: 0.48px;
  color: var(--slate-400);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.why-block-inner h3 {
  font-size: var(--font-size-24);
  font-weight: var(--font-weight-500);
  line-height: var(--line-height-32);
  color: var(--white);
  letter-spacing: -0.72px;
  margin-bottom: 12px;
  white-space: nowrap;
}
.why-block-inner p {
  font-size: var(--font-size-16);
  line-height: var(--line-height-24);
  color: var(--slate-400);
  margin-bottom: 32px;
}
.why-block-inner ul {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  margin-bottom: 32px;
}
.why-block-inner ul li {
  display: flex;
  gap: 8px;
  font-size: var(--font-size-14);
  line-height: var(--line-height-20);
  color: var(--white);
  letter-spacing: -0.084px;
  white-space: nowrap;
}
.why-block-inner ul li svg {
  width: 20px;
  min-width: 20px;
  height: 20px;
}
.why-block-inner-buttons {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

@media (max-width: 1114px) {
  .why-block img {
    right: -206px;
  }
}
@media (max-width: 1110px) {
  .why-block {
    gap: 32px;
  }
  .why-block-inner ul li,
  .why-block-inner h3 {
    white-space: normal;
  }
}
@media (max-width: 991px) {
  .why-block {
    padding: 32px;
  }
  .why-block img {
    right: -436px;
  }
}
@media (max-width: 767px) {
  .why-block img {
    display: none;
  }
  .why-block-inner {
    max-width: 100%;
  }
}

.faq {
  padding-top: 0;
}

.advantages {
  padding-top: 0;
  padding-bottom: 128px;
}
.advantages .section-title p {
  max-width: 542px;
}
