.about-cards {
  margin-top: 40px;
  margin-bottom: 80px;
}

.about-cards__track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.about-card {
  width: 100%;
  height: 158px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  background-color: var(--primary);
  padding: 20px;
}

.about-card .display-xl {
  color: #DCE9F4;
  display: block;
  width: 100%;
  max-width: 190px;
}

.about-card .text-l {
  width: 100%;
  max-width: 190px;
  text-align: right;
  color: var(--neutral);
}

.about-text {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
}

.about-text__left {
  display: flex;
  flex-direction: column;
  width: 100%;
  justify-content: center;
}

.about-text__content {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.about-text__content strong {
  font-size: 32px;
  line-height: 40px;
}

.about-text__right {
  position: relative;
  height: 100%;
  min-height: 565px;
  width: 100%;
  
}

.about-text__right img {
  width: calc(100% + var(--margin));
  position: absolute;
  height: 100%;
  left: 0;
  object-fit: cover;
  object-position: center;
  top: 0;
  -webkit-mask-image: linear-gradient(to left,  black 60%, transparent 80%);
  mask-image: linear-gradient(to left, black 60%, transparent 80%);
}

.about-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin: 70px 0;
}

.about-category {
  background-color: var(--primary);
  border: 1px solid var(--sand);
  box-shadow: 0px 4px 2px 0px #00000040;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.about-category:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22);
}

.about-category * {
  color: var(--neutral);
}

.about-category .btn {
  max-width: 100%;
}

.about-category__title {
  padding-bottom: 15px;
  border-bottom: 1px solid #D8C1A01A;
}

.about-category__img {
  width: 100%;
  height: 150px;
}

.about-category__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.about-advantages {
  margin-bottom: 140px;
}

.about-advantages__track {
  display: flex;
  justify-content: space-between;
}

.about-advantage {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  width: 246px;
  flex-shrink: 0;
  text-align: center;
}

.about-advantage img {
  height: 100px;
  width: auto;
  object-fit: contain;
  object-position: center;
}

.page-about-bottom {
  padding-bottom: 140px;
  display: flex;
  flex-direction: column;
  gap: 140px;
}

@media (max-width: 1080px) {
  .about-cards {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    margin-bottom: 60px;
  }

  .about-text {
    grid-template-columns: 1fr 1fr;
  }

  .about-cards__track {
    display: flex;
    gap: 20px;
  }

  .about-card {
    scroll-snap-align: start;
    width: 225px;
    flex-shrink: 0;
    height: 72px;
  }

  .about-advantages {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .about-advantages__track {
    justify-content: flex-start;
    gap: 20px;
  }

  .about-advantage img {
    height: 50px;
  }

  .about-card .text-l {
    margin-top: -12px;
  }

  .about-cards::-webkit-scrollbar {
    display: none;
  }

  .about-text__content {
    gap: 20px;
  }

  .about-text__content strong {
    font-size: 24px;
    line-height: 30px;
  }
}

@media (max-width: 768px) {
  .about-category {
    padding: 10px;
  }

  .about-text {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .about-text__right {
    min-height: 226px;
  }

  .about-text__right img {
    -webkit-mask-image: none;
  mask-image: none;
  
  }

  .page-about-bottom {
    gap: 60px;
    padding-bottom: 60px;
  }

  .about-advantages {
    margin-bottom: 60px;
  }
}