/* Homepage — блок «RiverSales» + преимущества (Figma Frame 2131331117) */

.homepage-brand-intro {
  display: flex;
  flex-direction: column;
  gap: 2.4rem;
}

.homepage-brand-intro__intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16.7rem;
}

.homepage-brand-intro__title {
  flex: 0 1 50.5rem;
  margin: 0;
  font-size: 3.2rem;
  line-height: 1.2;
  font-weight: 600;
  color: #031119;
}

.homepage-brand-intro__title-accent {
  color: #009ec7;
}

.homepage-brand-intro__about {
  flex: 0 1 43.6rem;
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
  min-width: 0;
}

.homepage-brand-intro__text {
  margin: 0;
  font-size: 1.4rem;
  line-height: 1.4;
  font-weight: 400;
  color: rgba(3, 17, 25, 0.7);
}

.homepage-brand-intro__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  align-self: flex-start;
  padding: 0.4rem 0;
  font-size: 1.4rem;
  line-height: 1;
  font-weight: 600;
  color: #031119;
  text-decoration: none;
}

.homepage-brand-intro__link-icon {
  display: block;
  flex-shrink: 0;
}

.homepage-brand-intro__cards {
  display: flex;
  flex-wrap: nowrap;
  gap: 2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.homepage-brand-intro__card {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 1.6rem;
  min-height: 9.8rem;
  padding: 2rem;
  border-radius: 2rem;
  background: #f0faff;
  box-sizing: border-box;
}

.homepage-brand-intro__card-icon {
  display: block;
  flex-shrink: 0;
  width: auto;
  height: 5.8rem;
  max-width: 6rem;
  object-fit: contain;
}

.homepage-brand-intro__card-text {
  font-size: 1.6rem;
  line-height: 1.15;
  font-weight: 500;
  color: #031119;
}

/* 768 */
@media only screen and (max-width: 1172px) {
  .homepage-brand-intro {
    gap: 2.4rem;
  }

  .homepage-brand-intro__intro {
    flex-direction: column;
    align-items: flex-start;
    gap: 2.4rem;
  }

  .homepage-brand-intro__title {
    flex: none;
    width: 100%;
    max-width: none;
  }

  .homepage-brand-intro__about {
    flex: none;
    width: 100%;
    max-width: none;
  }

  .homepage-brand-intro__cards {
    flex-wrap: wrap;
    gap: 1.2rem;
  }

  .homepage-brand-intro__card {
    flex: 0 0 calc((100% - 1.2rem) / 2);
    width: calc((100% - 1.2rem) / 2);
    max-width: none;
  }
}

/* 390 */
@media only screen and (max-width: 650px) {
  .homepage-brand-intro {
    gap: 2rem;
  }

  .homepage-brand-intro__intro {
    gap: 1.6rem;
  }

  .homepage-brand-intro__title {
    font-size: 2.4rem;
  }

  .homepage-brand-intro__about {
    gap: 1.2rem;
  }

  .homepage-brand-intro__cards {
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 1.2rem;
  }

  .homepage-brand-intro__card {
    flex: none;
    width: 100%;
  }
}
