:root {
  --primary: #1a3a6b;
  --primary-light: #2d5aa0;
  --accent: #f5a623;
  --bg: #f4f6fa;
  --card: #ffffff;
  --text: #222;
  --muted: #666;
  --radius: 14px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Prompt', 'Noto Sans SC', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

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

.container { max-width: 1140px; margin: 0 auto; padding: 0 16px; }

/* Header */
.site-header {
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
  position: sticky; top: 0; z-index: 10;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo {
  width: 44px; height: 44px; border-radius: 10px;
  background: var(--primary); color: #fff;
  display: grid; place-items: center; font-weight: 600;
}
.brand-text strong { display: block; color: var(--primary); font-size: 1.05rem; }
.brand-text small { color: var(--muted); font-size: .8rem; }

.main-nav { display: flex; gap: 24px; margin-left: auto; }
.main-nav a { color: var(--muted); font-weight: 500; padding: 6px 0; border-bottom: 2px solid transparent; white-space: nowrap; }
.main-nav a:hover, .main-nav a.active { color: var(--primary); border-color: var(--accent); }
.nav-toggle { display: none; background: none; border: 0; font-size: 1.6rem; cursor: pointer; }

.lang-switch {
  display: flex; margin-left: 24px;
  border: 1px solid #dde3ee; border-radius: 999px; overflow: hidden;
}
.lang-switch button {
  font: inherit; font-size: .8rem; padding: 4px 10px; cursor: pointer;
  border: 0; background: #fff; color: var(--muted);
}
.lang-switch button + button { border-left: 1px solid #dde3ee; }
.lang-switch button.active { background: var(--primary); color: #fff; }

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff; text-align: center; padding: 64px 0 80px;
}
.hero h1 { font-size: 2.2rem; font-weight: 600; }
.hero p { opacity: .9; margin-top: 8px; }
.search-box { max-width: 520px; margin: 28px auto 0; }
.search-box input {
  width: 100%; padding: 14px 20px; border-radius: 999px; border: 0;
  font: inherit; font-size: 1rem; outline: none;
  box-shadow: 0 6px 20px rgba(0,0,0,.15);
}

/* Filters */
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: -22px 0 32px; }
.chip {
  font: inherit; padding: 8px 20px; border-radius: 999px; cursor: pointer;
  border: 1px solid #dde3ee; background: #fff; color: var(--muted);
  box-shadow: 0 2px 6px rgba(0,0,0,.05);
}
.chip.active, .chip:hover { background: var(--accent); border-color: var(--accent); color: #fff; }

/* Cards */
.service-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
.card {
  background: var(--card); border-radius: var(--radius); padding: 24px;
  box-shadow: 0 2px 10px rgba(0,0,0,.05);
  transition: transform .2s, box-shadow .2s;
  border-top: 4px solid transparent;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 10px 24px rgba(0,0,0,.1); border-top-color: var(--accent); }
.card-icon {
  width: 52px; height: 52px; border-radius: 12px; background: #eaf0fb;
  display: grid; place-items: center; font-size: 1.6rem; margin-bottom: 14px;
}
.card h3 { font-size: 1.05rem; color: var(--primary); font-weight: 500; }
.card p { color: var(--muted); font-size: .9rem; margin-top: 4px; }
.empty { text-align: center; color: var(--muted); padding: 40px 0; }

/* News */
.news { margin: 56px 0; background: #fff; border-radius: var(--radius); padding: 28px; box-shadow: 0 2px 10px rgba(0,0,0,.05); }
.news h2 { color: var(--primary); font-weight: 600; margin-bottom: 12px; }
.news ul { list-style: none; }
.news li { padding: 12px 0; border-bottom: 1px solid #eef1f6; }
.news li:last-child { border-bottom: 0; }
.news .date {
  display: inline-block; background: #eaf0fb; color: var(--primary);
  font-size: .8rem; padding: 2px 10px; border-radius: 6px; margin-right: 10px;
}

/* Footer */
.site-footer { background: var(--primary); color: #dce4f2; padding: 28px 0; font-size: .9rem; }
.footer-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.site-footer strong { color: #fff; }

/* Mobile */
@media (max-width: 900px) {
  .nav-toggle { display: block; margin-left: 12px; }
  .lang-switch { margin-left: auto; }
  .main-nav {
    display: none; position: absolute; top: 70px; left: 0; right: 0;
    flex-direction: column; gap: 0; background: #fff; box-shadow: 0 6px 12px rgba(0,0,0,.08);
  }
  .main-nav a { padding: 14px 16px; border-bottom: 1px solid #eee; }
  .nav-open .main-nav { display: flex; }
  .hero h1 { font-size: 1.6rem; }
  .brand-text small { display: none; }
}
