:root {
  --bg: #f6f7f9;
  --surface: #ffffff;
  --text: #1c2430;
  --muted: #5b6675;
  --accent: #1f5f8b;
  --accent-dark: #174a6c;
  --border: #dde2e8;
}

* { box-sizing: border-box; }

html, body { margin: 0; }

body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.hero {
  background: linear-gradient(135deg, var(--accent-dark), var(--accent));
  color: #fff;
  text-align: center;
  padding: 5rem 1.5rem 4rem;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.tagline {
  margin: 0.75rem 0 0;
  font-size: 1.15rem;
  opacity: 0.9;
}

main {
  flex: 1;
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

h2 {
  font-size: 1.35rem;
  margin: 0 0 1.25rem;
}

.services {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
}

.service {
  display: block;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.25rem;
  color: inherit;
  text-decoration: none;
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}

.service:hover,
.service:focus-visible {
  border-color: var(--accent);
  box-shadow: 0 4px 14px rgba(31, 95, 139, 0.15);
  transform: translateY(-2px);
  outline: none;
}

.service-name {
  display: block;
  font-weight: 600;
  color: var(--accent);
  font-size: 1.05rem;
}

.service-desc {
  display: block;
  margin-top: 0.35rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.muted { color: var(--muted); }

footer {
  text-align: center;
  padding: 1.5rem;
  color: var(--muted);
  font-size: 0.9rem;
  border-top: 1px solid var(--border);
}

footer p { margin: 0; }
