#tipos .type-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

#tipos .type-eyebrow {
  align-items: center;
  background: var(--red);
  border-radius: 999px;
  color: #fff !important;
  display: inline-flex;
  font-size: clamp(14px, 1.2vw, 16px) !important;
  font-style: normal;
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 19px !important;
  padding: 7px 12px;
}

#tipos .type-card {
  background: var(--card);
  border: 1px solid color-mix(in srgb, var(--line) 86%, var(--red));
  border-radius: 18px;
  box-shadow: 0 14px 30px rgba(18, 18, 18, .07);
  overflow: hidden;
  padding: 0 0 25px;
}

#tipos .type-card-image {
  background-position: center;
  background-size: cover;
  height: 178px;
  margin-bottom: 23px;
  position: relative;
}

#tipos .type-card-image::after {
  background: linear-gradient(180deg, transparent 45%, rgba(12, 12, 12, .62));
  content: '';
  inset: 0;
  position: absolute;
}

#tipos .type-heavy {
  background-image: url('assets/fleet-type-heavy.png');
}

#tipos .type-agriculture { background-image: url('assets/fleet-type-agriculture.png'); }
#tipos .type-construction { background-image: url('assets/fleet-type-construction.png'); }
#tipos .type-specialized { background-image: url('assets/fleet-type-specialized.png'); }

#tipos .type-card > span,
#tipos .type-card > h3,
#tipos .type-card > p {
  display: block;
  margin-left: 25px;
  margin-right: 25px;
}

#tipos .type-card > span {
  color: var(--red);
}

#tipos .type-card > h3 {
  margin-bottom: 10px;
  margin-top: 10px;
}

#tipos .type-card > p {
  margin-bottom: 0;
}

#tipos .type-card:hover {
  border-color: var(--red);
  box-shadow: 0 20px 38px rgba(25, 118, 210, .16);
  transform: translateY(-7px);
}

#tipos .type-card:hover .type-card-image {
  transform: scale(1.03);
}

@media (max-width: 850px) {
  #tipos .type-grid { grid-template-columns: 1fr; }
  #tipos .type-card-image {
    height: 200px;
  }
}
