.service-item a {
  color: white;
}

.services-content {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 32px;
  margin-bottom: 32px;
}

.service-item {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.service-item:hover {
  transform: translateY(-4px);
  border-color: var(--thirty);
  background-color: rgba(255, 255, 255, 0.07);
}

.service-photo {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 10px;
}

.service-title {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: none;
  line-height: 1.3;
}

.service-description {
  margin: 0;
  font-size: 0.9rem;
  opacity: 0.8;
}

.service-price {
  align-self: flex-start;
  background-color: var(--thirty);
  color: white;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 4px 12px;
  border-radius: 20px;
}

.service-contact {
  margin-top: 4px;
  font-size: 0.8rem;
  opacity: 0.7;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.service-contact address {
  font-style: normal;
}

.add-service-btn-row {
  display: flex;
  justify-content: flex-end;
  margin-top: 8px;
}

.add-service-btn {
  height: 30px;
  padding: 0 14px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.service-modal-form {
  width: 380px;
}

.service-modal-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.service-modal-form label {
  font-size: 0.75rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  opacity: 0.6;
}

.service-modal-form input,
.service-modal-form textarea {
  border: 1px solid rgba(var(--sixty-rgb), 0.25);
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--sixty);
  box-sizing: border-box;
  transition: border-color 0.2s ease;
}

.service-modal-form input[type="text"] {
  height: 38px;
}

.service-modal-form input:focus,
.service-modal-form textarea:focus {
  outline: none;
  border-color: var(--thirty);
}

.service-modal-photo-preview {
  margin-top: 8px;
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 10px;
}

.service-modal-submit-btn {
  border: 0;
  color: white;
  background-color: var(--thirty);
  height: 40px;
  font-size: 16px;
  font-weight: bold;
  border-radius: 32px;
  cursor: pointer;
  transition: 0.2s ease;
}

.service-modal-submit-btn:hover {
  opacity: 0.9;
}

.hidden {
  display: none;
}

@media (max-width: 560px) {
	.services-content {
    grid-template-columns: auto;
  }

  .service-item {
    width: 100%;
  }

  .service-photo {
    width: 100%;
  }
}
