.highlight-text {
  color: var(--brand-color);
}

.glow-line {
  background-color: var(--brand-color);
  box-shadow: 0 0 15px var(--brand-glow);
}






.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 215, 0, 0.1);
  border-radius: 16px; 
  padding: 30px 20px; 
  display: flex;
  flex-direction: column;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.glow-hover:hover {
  transform: translateY(-5px);
  border-color: var(--s-color);
  background: #151515;
}

.glow-hover {
    transition: 0.3s ease;
}

.service-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #fff;
}

.service-card p {
  font-size: 14px; 
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: auto;
}

.service-card p strong {
  color: #fff;
  font-weight: 600;
}

.service-image {
  margin-top: 25px;
  text-align: center;
  height: 80px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  transition: 0.6s;
}

.service-card:hover .service-image {
  transform: scale(1.1);
}

.service-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  opacity: 0.9; 
}

/* АДАПТИВНОСТЬ */
@media (max-width: 1100px) {
  .services-grid {
    
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }
}

@media (max-width: 768px) {
  .section-title h2 {
    font-size: 30px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    padding: 25px 20px;
  }
}


.service-card a:after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 10;
}