* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Arial, Helvetica, sans-serif;
  background: #f7f9fc;
  color: #172033;
}

.page {
  width: min(1120px, 92%);
  margin: 0 auto;
  padding: 48px 0 28px;
}

.hero {
  text-align: center;
}

.logo {
  display: block;
  width: min(300px, 70vw);
  height: auto;
  max-height: 150px;
  object-fit: contain;
  margin: 0 auto 28px;
}

h1 {
  margin: 0;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.intro {
  max-width: 680px;
  margin: 16px auto 0;
  font-size: clamp(15px, 2vw, 18px);
  line-height: 1.6;
  color: #5e6878;
}

.services {
  margin-top: 52px;
}

.services h2 {
  margin: 0 0 24px;
  text-align: center;
  font-size: clamp(24px, 3vw, 32px);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.service-card {
  overflow: hidden;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 5px 22px rgba(20, 35, 60, 0.09);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(20, 35, 60, 0.14);
}

.service-card img {
  display: block;
  width: 100%;
  height: 155px;
  object-fit: cover;
}

.service-card h3 {
  margin: 0;
  padding: 16px 12px 18px;
  text-align: center;
  font-size: 16px;
  line-height: 1.3;
}

.contact {
  margin-top: 54px;
  padding-top: 26px;
  border-top: 1px solid #dfe4ec;
  text-align: center;
  font-size: 16px;
  line-height: 1.7;
}

.contact p {
  margin: 5px 0;
}

.contact a {
  color: inherit;
  text-decoration: none;
}

.contact a:hover {
  text-decoration: underline;
}

.separator {
  margin: 0 8px;
  color: #a2a9b5;
}

.copyright {
  margin-top: 18px !important;
  font-size: 13px;
  color: #7a8493;
}

@media (max-width: 900px) {
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .page {
    width: 90%;
    padding-top: 30px;
  }

  .logo {
    width: min(260px, 78vw);
    margin-bottom: 22px;
  }

  .services {
    margin-top: 38px;
  }

  .service-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .service-card img {
    height: 190px;
  }

  .contact {
    margin-top: 40px;
  }
}
