
@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap");

.services-section {
  width: 100%;
  padding: 30px 0;
  box-sizing: border-box;
  font-family: "Roboto", sans-serif;
}

.dark .service-card{
    background: #ffffff1c;
  border: none;
}

.dark .service-card h3{
    color: #fff!important;
}

.dark .service-icon svg{
    color:#fff!important
}

.dark .services-content h2{
    color:#fff!important
}

.services-wrapper {
  width: 80%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(290px, 1fr) minmax(330px, 1fr);
  gap: 46px;
  align-items: center;
}

.services-content h2 {
  margin: 0;
  font-size: 56px;
  line-height: 1.1;
  font-weight: 700;
  color: #1b1f1e;
}

.services-content p {
  margin: 18px 0 24px;
  max-width: 470px;
  font-size: 16px;
  line-height: 1.7;
  font-weight: 400;
  color: #6b6f73;
}

.services-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 124px;
  height: 48px;
  border-radius: 999px;
  text-decoration: none;
  background: var(--bg-primary);
  color: #ffffff;
  font-size: 18px;
  font-weight: 500;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background-color 0.22s ease;
}

.services-button:hover {
  transform: translateY(-2px);
  background: #2a5844;
  box-shadow: 0 10px 22px rgba(50, 102, 79, 0.32);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.service-card {
  padding: 22px 20px 20px;
  background: #ffffff;
  border: 1px solid #edf0ee;
  border-radius: 2px;
  box-shadow: 0 10px 26px rgba(21, 23, 29, 0.08);
}

.service-icon {
  width: 42px;
  height: 42px;
  color: #293230;
}

.service-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.service-card h3 {
  margin: 10px 0 7px;
  font-size: 22px;
  line-height: 1.2;
  font-weight: 500;
  color: #1e2125;
}

.service-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  color: #9a9ea3;
}

@media (max-width: 980px) {
  .services-wrapper {
    grid-template-columns: 1fr;
    gap: 30px;
  }

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

  .services-content p {
    margin: 16px auto 22px;
  }

  .services-content h2 {
    font-size: 44px;
  }
}

@media (max-width: 620px) {
  .services-section {
    padding: 30px 14px;
  }

  .services-content h2 {
    font-size: 35px;
  }

  .services-content p {
    font-size: 15px;
  }

  .services-button {
    min-width: 114px;
    height: 44px;
    font-size: 16px;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .service-card {
    padding: 18px;
  }

  .service-card h3 {
    font-size: 20px;
  }
}
