:root {
  --bg: #0f1419;
  --surface: #1a2332;
  --text: #e8eef4;
  --muted: #8b9cb3;
  --accent: #3b82f6;
  --accent-soft: #1e3a5f;
  --border: #2a3544;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

header {
  border-bottom: 1px solid var(--border);
  background: rgba(15, 20, 25, 0.95);
  position: sticky;
  top: 0;
  z-index: 10;
}

.nav {
  max-width: 1080px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text);
}

.brand span {
  color: var(--accent);
}

.nav-links {
  display: flex;
  gap: 1.25rem;
  list-style: none;
}

.nav-links a {
  color: var(--muted);
  font-size: 0.95rem;
}

.nav-links a.active,
.nav-links a:hover {
  color: var(--text);
  text-decoration: none;
}

main {
  max-width: 1080px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 4rem;
}

.hero {
  padding: 3rem 0 2rem;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.hero p {
  color: var(--muted);
  max-width: 640px;
  font-size: 1.05rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
}

.card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.05rem;
}

.card p {
  color: var(--muted);
  font-size: 0.95rem;
}

.section-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.content-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.75rem;
  margin-bottom: 1.25rem;
}

.content-block p,
.content-block li {
  color: var(--muted);
}

.content-block ul {
  margin: 1rem 0 0 1.25rem;
}

.contact-list {
  list-style: none;
  margin-top: 1rem;
}

.contact-list li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
}

.contact-list li:last-child {
  border-bottom: none;
}

footer {
  border-top: 1px solid var(--border);
  padding: 1.5rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
}

@media (max-width: 640px) {
  .nav {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links {
    flex-wrap: wrap;
  }
}
