.service-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  padding: 20px;
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 20px;
}

.over-tunetop {
	padding-right: 15px;
    padding-left: 15px;
}

.mtunetop {
    font-size: 20px;
    margin-bottom: 10px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e0e0e0;
}

@supports (display: grid) {
  .service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    justify-content: center;
    justify-items: center;
    align-items: start;
  }
}

.service-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 7px;
  padding: 24px;
  width: 260px;
  height: 200px;
  text-decoration: none;
  color: #000;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.3s ease, transform 0.2s ease;
  box-sizing: border-box;
  margin: 10px;
}

.service-card:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  transform: translateY(-4px);
}

.service-card .icon {
  font-size: 36px;
  margin-bottom: 16px;
  color: #333;
}

.service-card .title {
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 10px;
}

.service-card .desc {
  font-size: 14px;
  color: #666;
  line-height: 1.4;
}
                
                /* Планшети (до 992px) */
@media (max-width: 991px) {
  .service-card {
    width: 240px;
    height: 210px;
    padding: 20px;
  }

  .service-card .icon {
    font-size: 32px;
  }

  .service-card .title {
    font-size: 16px;
  }

  .service-card .desc {
    font-size: 13.5px;
  }
}

/* Мобілки (до 576px) */
@media (max-width: 575px) {
  .service-card {
    width: 90%;
    height: auto;
    padding: 16px;
  }

  .service-card .icon {
    font-size: 30px;
    margin-bottom: 12px;
  }

  .service-card .title {
    font-size: 15px;
  }

  .service-card .desc {
    font-size: 13px;
  }
}