:root{
  --bg:#f9fbfc;
  --bg-2:#ffffff;
  --surface:#eff6fb;
  --elev:#d4e3f3;
  --text:#1e293b;
  --muted:#64748b;
  --primary:#0b65c2;
  --accent:#2563eb;
  --accent-2:#1e40af;
  --border:#d1d9e6;
  --ok:#22c55e;
  --radius:14px;
  --shadow:0 12px 40px rgba(37,99,235,0.3);
}

/* Global reset */
*{
  box-sizing:border-box;
}
html, body {
  height:100%;
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Helvetica, Arial;
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: var(--bg);
}

/* Site Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}
.logo {
  width: 36px;
  height: 36px;
  background: linear-gradient(180deg, var(--accent), var(--accent-2));
  border-radius: 50%;
}
.brand-text {
  letter-spacing: 0.2px;
  color: var(--text);
  font-size: 1.2rem;
}

/* Menu */
.menu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 24px;
}
.menu a {
  color: var(--text);
  text-decoration: none;
  opacity: 0.85;
  font-weight: 500;
  position: relative;
}
.menu a.active, .menu a:hover {
  opacity: 1;
}
.menu a.active::after, .menu a:hover::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  height: 2px;
  width: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 16px;
  border-radius: 12px;
  cursor: pointer;
  border: none;
  font-weight: 600;
  transition: all 0.2s ease;
}
.btn.primary {
  background: linear-gradient(180deg, var(--accent), var(--accent-2));
  color: white;
}
.btn.primary:hover {
  filter: brightness(1.15);
}
.btn.ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn.ghost:hover {
  background: var(--accent-2);
  color: white;
}

/* Containers and grid */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px;
}
.grid {
  display: grid;
  gap: 16px;
}
.cards {
  grid-template-columns: repeat(auto-fill,minmax(280px,1fr));
}

/* Forms */
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg-2);
  color: var(--text);
  font-size: 1rem;
  margin-bottom: 12px;
  font-family: inherit;
}

/* Responsive */
@media (max-width: 700px) {
  .menu {
    flex-wrap: wrap;
    gap: 12px;
  }
}
