.cargo-types__header {
  margin-bottom: 36px;
}

.cargo-types__title {
  margin-bottom: 12px;
}

.cargo-types__desc {
  font-size: var(--text-md);
  color: var(--text-muted);
  max-width: 680px;
  line-height: 1.6;
}

.cargo-types__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.cargo-card {
  background: var(--bg-white);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.cargo-card__img-wrap {
  line-height: 0;
  overflow: hidden;
}

.cargo-card__img {
  display: block;
  width: 100%;
  height: 180px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.cargo-card__img-placeholder {
  width: 100%;
  height: 180px;
  background: #d9d9d9;
}

.cargo-card__body {
  padding: 20px 20px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 10px;
}

.cargo-card__title {
  font-size: 25px;
  font-weight: 800;
  color: var(--dark);
  line-height: 1.2;
}

.cargo-card__desc {
  font-size: 18px;
  color: var(--text-main);
  line-height: 1.6;
  flex: 1;
}

.cargo-card__btn {
  width: 100%;
  justify-content: center;
  margin-top: 4px;
  gap: 15px;
  color: var(--text-muted);
}

.cargo-card__btn::before {
  content: '';
  display: inline-block;
  width: 21px;
  height: 21px;
  flex: 0 0 21px;
  background: currentColor;
  mask: url('../../assets/img/icons/ui/arrow-redo.svg') center / contain no-repeat;
  -webkit-mask: url('../../assets/img/icons/ui/arrow-redo.svg') center / contain no-repeat;
}

@media (max-width: 1024px) {
  .cargo-types__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .cargo-types__grid {
    grid-template-columns: 1fr;
  }

  .cargo-types {
    padding: 40px 0;
  }

  .cargo-card__title {
    font-size: 20px;
  }

  .cargo-card__desc {
    font-size: 15px;
  }
}

@media (hover: hover) {
  .cargo-card:hover .cargo-card__img {
    transform: scale(1.05);
  }
}
