/* Refuerzo visual y de espaciado en las tarjetas de servicios. */
.service-card {
  display: flex;
  flex-direction: column;
  padding-bottom: 30px;
}

.service-card .service-icon {
  align-items: center;
  background: #e7f5ea;
  border: 1px solid #b7e1c8;
  border-radius: 14px;
  box-shadow: 0 6px 16px rgba(18, 107, 152, 0.08);
  display: flex;
  height: 58px;
  justify-content: center;
  margin: 30px 0 20px;
  width: 58px;
}

.service-card:nth-child(2) .service-icon {
  background: #dceef7;
  border-color: #8fc3da;
  color: #126b98;
}

.service-card:nth-child(2) {
  background: linear-gradient(145deg, #e3f1f8 0%, #f7fbfd 100%);
  border-top: 6px solid #126b98;
}

.service-card:nth-child(3) .service-icon {
  background: #fff1df;
  border-color: #f7c78e;
  color: #d86218;
}

.service-card:nth-child(3) {
  background: linear-gradient(145deg, #fff1cc 0%, #fffaf0 100%);
  border-top: 6px solid #f47721;
}

.service-card:nth-child(4) .service-icon {
  background: #fff8cf;
  border-color: #f3db71;
  color: #2d895d;
}

.service-card:nth-child(4) {
  background: linear-gradient(145deg, #e3f1f8 0%, #f7fbfd 100%);
  border-top: 6px solid #126b98;
}

.service-card .warehouse-icon,
.service-card .logistics-icon {
  font-size: 0;
}

.service-card .warehouse-icon::after {
  content: "≈";
  font-family: Arial, sans-serif;
  font-size: 38px;
  font-weight: 700;
  letter-spacing: -8px;
  line-height: 1;
  transform: translateX(-3px);
}

.service-card .logistics-icon::after {
  content: "↗";
  font-size: 31px;
  font-weight: 700;
  line-height: 1;
}

.service-card p {
  margin: 0 0 22px;
}

.service-card a {
  align-items: center;
  align-self: flex-start;
  background: #eaf7ee;
  border: 1px solid #b7e1c8;
  border-radius: 999px;
  display: inline-flex;
  gap: 7px;
  line-height: 1.1;
  bottom: auto;
  margin-top: auto;
  padding: 10px 13px;
  position: relative;
  text-decoration: none;
}

.service-card a span {
  font-size: 14px;
  line-height: 1;
  padding-left: 0;
}

.service-card:first-child .service-icon {
  background: #fff1df;
  border-color: #f7c78e;
  color: #d86218;
  margin: 30px 0 20px;
}

.service-card:first-child {
  background: linear-gradient(145deg, #fff1cc 0%, #fffaf0 100%);
  border-top: 6px solid #f47721;
}

.service-card:first-child .service-number {
  color: #d86218;
}

.service-card:first-child p {
  color: #4a6d68;
}

.service-card:first-child a {
  background: #fff;
  border-color: #f0be63;
  color: #b95114;
}

.service-card:nth-child(2) a {
  background: #fff;
  border-color: #8fc3da;
  color: #126b98;
}

.service-card:nth-child(3) a {
  background: #fff;
  border-color: #f0be63;
  color: #b95114;
}

.service-card:nth-child(4) a {
  background: #fff;
  border-color: #8fc3da;
  color: #126b98;
}

@media (max-width: 560px) {
  .service-card {
    min-height: 302px;
    padding: 28px 24px 26px;
  }

  .service-card:first-child {
    min-height: 340px;
  }

  .service-card .service-icon,
  .service-card:first-child .service-icon {
    margin: 18px 0 20px;
  }

  .service-card p {
    margin-bottom: 24px;
  }

  .service-card a {
    margin-top: auto;
  }
}
