.services {
  position: relative;
  padding: 80px 24px;
  background: var(--background);
  overflow: visible;
}

.services .services-shape {
  position: absolute;
  border-radius: 999px;
}

.services .services-shape-left {
  top: 20px;
  left: -20px;
  width: 220px;
  height: 220px;
  background: rgba(212, 181, 160, 0.15);
}

.services .services-shape-right {
  bottom: 0px;
  right: -20px;
  width: 160px;
  height: 160px;
  border-radius: 28px;
  background: rgba(168, 181, 163, 0.2);
}

.services .services-container {
  max-width: 1600px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.services .services-header {
  margin-bottom: 64px;
}

.services .services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  margin-bottom: 32px;
}

.services .services-footer {
  text-align: center;
}

.services .services-footer .button {
  height: 40px;
  padding: 0 24px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
}

@media (max-width: 1710px) {
  .services .services-container {
    max-width: 1200px;
  }
}

@media (max-width: 1090px) {
  .services {
    padding: 24px 16px;
  }
  .services .services-container {
    max-width: 100%;
  }
  .services .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .services .services-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .services-shape.services-shape-right {
    right: 0;
  }
  .services.services-shape-left {
    left: 0;
  }
}

@media (max-width: 320px) {
  .services .services-shape-right {
    right: 0px;
  }
}
