.transport-types__item {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  flex: 1;
  padding: 20px 24px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-main);
  transition: color var(--transition);
}

.transport-types__item:last-child {
  border-right: none;
}

.transport-types__item:hover {
  color: var(--yellow);
}

.transport-types__icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}

.transport-types__label {
  line-height: 1.3;
}

.transport-types__title {
  margin-bottom: 40px;
}

.transport-types__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 30px var(--slider-gap);
  border-radius: 12px;
  overflow: hidden;
  margin: -30px calc(var(--slider-gap) * -1);
}

.transport-types__grid > .transport-card:last-child:nth-child(3n + 1) {
  grid-column: 2 / 3;
}

.transport-card {
  background: var(--bg-white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.transport-card__img-wrap {
  overflow: hidden;
  aspect-ratio: 3 / 2;
}

.transport-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.transport-card:hover .transport-card__img {
  transform: scale(1.04);
}

.transport-card__img-placeholder {
  width: 100%;
  height: 100%;
  background: var(--bg-light);
}

.transport-card__body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.transport-card__title {
  font-size: 35px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
}

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

.transport-card--cta {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 16px;
  padding: 32px 24px;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}

.transport-card__cta-text {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.6;
}

.transport-card__btn {
  gap: 15px;
  color: var(--text-muted);
}

.transport-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) {
  .transport-types__grid {
    flex-wrap: wrap;
  }

  .transport-types__item {
    flex: 1 1 45%;
    border-right: none;
    border-bottom: 1px solid var(--border);
    font-size: 12px;
    padding: 14px 16px;
  }

  .transport-types__item:nth-child(odd) {
    border-right: 1px solid var(--border);
  }

  .transport-types__item:last-child {
    border-bottom: none;
  }

  .transport-types__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .transport-types__grid > .transport-card:last-child:nth-child(3n + 1) {
    grid-column: auto;
  }

  .transport-types__grid > .transport-card:last-child:nth-child(odd) {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  .transport-types {
    padding: 40px 0;
  }

  .transport-types__grid {
    grid-template-columns: 1fr;
    padding: 12px;
    margin: -12px;
  }

  .transport-types__grid > .transport-card:last-child:nth-child(odd) {
    grid-column: auto;
  }

  .transport-card__title {
    font-size: 24px;
  }

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