/*  */
/* intro-hero */
/*  */
.intro-hero-block {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: 1.5rem;

  @media (width < 1100px) {
    grid-template-columns: minmax(0, 1fr);
  }
  .title_block + & {
    margin-top: 2rem;
  }
  @media (width < 768px) {
    gap: 0;
    &.section {
      padding-top: 0;
    }
  }
}

/* intro-hero-banner */
.intro-hero-banner {
  --swiper-theme-color: #fff;
  --swiper-navigation-size: 32px;
  --swiper-pagination-bullet-size: 12px;
  height: 100%;

  .swiper-button-next {
    right: 20px;
  }

  .swiper-button-prev {
    left: 20px;
  }

  @media (width < 1100px) {
    .banner-slider-wrapper {
      height: auto;
    }
  }

  @media (width < 768px) {
    margin: 0 -1rem;
    width: auto;
    border-radius: 0;

    .swiper-pagination {
      display: none;
    }
  }
}

/*  */
/* meteor */
/*  */
.about__container {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  .about__media {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }
  .about__block {
    height: 20rem;
    & ~ & {
      margin-top: 1.5rem;
    }
    img {
      border-radius: 1.5rem;
      overflow: clip;
    }
  }
  .transport-card {
    aspect-ratio: auto;
    height: 20rem;
  }
  .about__scheme {
    height: 20rem;
    object-fit: contain;
    background-color: #f6f7fb;
  }
  .ico-link {
    margin-top: 1.75rem;
  }
  @media (width >= 768px) {
    [data-dropdown-content] {
      display: block !important;
    }
    [data-dropdown-link] {
      display: none !important;
    }
  }
  @media (width < 768px) {
    grid-template-columns: minmax(0, 1fr);
    .swiper-button-prev,
    .swiper-button-next {
      display: none;
    }
    [data-dropdown-link].active {
      display: none !important;
    }
  }
  @media (width < 480px) {
    .about__block,
    .transport-card,
    .about__scheme {
      height: 10rem;
      width: 100%;
    }
  }
}

/*  */
/* advantages */
/*  */
.advantages {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
  .advantages__item {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background-color: var(--light-gray-bg);
    border-radius: 1.5rem;
    overflow: clip;
  }
  .advantages__text {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1.5rem;
  }
  .advantages__name {
    color: var(--black);
  }
  .advantages__desc {
    color: var(--black-sec);
    font-size: 0.875rem;
    line-height: 1.428571428571;
  }
  .advantages__img {
    margin-top: auto;
    width: 100%;
    transition: scale 0.6s ease;
  }
  .advantages__item.--active {
    background-color: var(--blue);
    .advantages__name,
    .advantages__desc {
      color: #fff;
    }
  }
  .advantages__item:hover .advantages__img {
    scale: 1.05;
  }
  @media (width < 1024px) {
    overflow: auto;
    display: flex;
    .advantages__item {
      width: 300px;
      flex-shrink: 0;
    }
  }
  @media (width < 768px) {
    gap: 1rem;
    margin-inline: -1rem;
    padding-inline: 1rem;
  }
}

/*  */
/* useful-info */
/*  */
.useful-info__container {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  @media (width < 991px) {
    grid-template-columns: minmax(0, 1fr);
  }
  @media (width < 768px) {
    gap: 1rem;
  }
}
.useful-info__block {
  display: flex;
  align-items: center;
  gap: 1rem;
  border-radius: 1.5rem;
  padding: 1.5rem;
  box-shadow: var(--shadow);
  .useful-info__ico {
    display: flex;
    width: 3.5rem;
    height: 3.5rem;
    flex-shrink: 0;
    border-radius: 3.5rem;
    background-color: var(--orange);
    color: #fff;
    img,
    svg {
      margin: auto;
      width: 2rem;
      height: 2rem;
    }
    img {
      filter: brightness(2) grayscale(1);
    }
  }
  .useful-info__text {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }
  .useful-info__name {
    color: var(--black);
    transition: color 0.2s ease;
  }
  .useful-info__desc {
    font-size: 0.875rem;
    line-height: 1.4285714285714286;
    color: var(--black-sec);
  }
  .useful-info__arrow {
    flex-shrink: 0;
    margin-left: auto;
    transition: color 0.2s ease;
  }
  @media (width < 768px) {
    .useful-info__ico {
      img,
      svg {
        width: 1.5rem;
        height: 1.5rem;
      }
    }
    .useful-info__name {
      font-size: 0.875rem;
      line-height: 1.4285714285714286;
    }
  }
  @media (width < 640px) {
    padding: 1rem;
    .useful-info__desc {
      display: none;
    }
  }
}
a.useful-info__block {
  &:hover {
    .useful-info__name,
    .useful-info__arrow {
      color: var(--orange-dark);
    }
  }
}

/*  */
/* FAQ */
/*  */
.faq-sidebar-wrapper {
  display: grid;
  grid-template-columns: 20.75rem minmax(0, 1fr);
  align-items: flex-start;
  grid-gap: 1.5rem;
  .faq-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
    .faq-sidebar__item {
      color: var(--black);
      font-weight: 600;
      &.active {
        color: var(--orange);
      }
    }
    .gd-select {
      width: 100%;
      display: none;
    }
  }
  @media (width < 768px) {
    grid-template-columns: minmax(0, 1fr);
    .faq-sidebar {
      padding: 0;
      box-shadow: none;
      .faq-sidebar__item {
        display: none;
      }
      .gd-select {
        display: block;
      }
    }
  }
}
.faq-container {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  @media (width < 768px) {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.5rem;
  }
}
.faq-column {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  @media (width < 768px) {
    gap: 0.5rem;
  }
}
.faq-block {
  padding: 1.5rem;
  border-radius: 1.5rem;
  background: var(--light-gray-bg);
  .faq-block__header {
    display: flex;
    gap: 1rem;
    .faq-block__arrow {
      margin-left: auto;
      flex-shrink: 0;
      transition: rotate 0.2s ease;
      cursor: pointer;
      .active & {
        rotate: 135deg;
      }
    }
  }
  .faq-block__content {
    padding-top: 1.5rem;
  }
  @media (width < 768px) {
    gap: 0.5rem;
  }
}
