* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --primary: #1a2b4a;
  --primary-light: #2d4470;
  --accent: #e8a838;
  --accent-light: #f0c060;
  --text: #1a1a1a;
  --muted: #6b7280;
  --bg: #ffffff;
  --bg-alt: #f5f7fa;
  --border: #e5e7eb;
  --max-width: 1200px;
}
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img, svg { display: block; max-width: 100%; }
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; width: 100%; }

/* ---------- Header ---------- */
.site-header {
  background: var(--primary);
  color: #fff;
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo {
  display: flex; align-items: center; gap: 12px;
  color: #fff; text-decoration: none; font-weight: 700; font-size: 20px;
  letter-spacing: 0.3px;
}
.logo-icon { width: 36px; height: 36px; flex-shrink: 0; }
.main-nav ul { display: flex; list-style: none; gap: 28px; }
.main-nav a {
  color: #fff; text-decoration: none; font-size: 15px;
  opacity: 0.85; transition: opacity .2s, color .2s;
  padding: 6px 0; position: relative;
}
.main-nav a:hover, .main-nav a.active { opacity: 1; color: var(--accent); }

/* ---------- Main ---------- */
main { flex: 1; padding: 60px 0; }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 60%, #3a5a90 100%);
  color: #fff;
  padding: 80px 56px;
  border-radius: 20px;
  margin-bottom: 60px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  right: -80px; top: -80px;
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(232,168,56,0.25) 0%, transparent 70%);
  border-radius: 50%;
}
.hero h1 { font-size: 48px; margin-bottom: 20px; line-height: 1.15; position: relative; }
.hero .lead { font-size: 19px; opacity: 0.92; margin-bottom: 32px; max-width: 640px; position: relative; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; position: relative; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 14px 28px;
  background: var(--accent);
  color: var(--primary);
  text-decoration: none;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  transition: transform .2s, box-shadow .2s;
  border: 2px solid transparent;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(232,168,56,0.35); }
.btn-outline { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.7); }
.btn-outline:hover { background: rgba(255,255,255,0.1); box-shadow: none; transform: none; }
.btn-dark { background: var(--primary); color: #fff; }
.btn-dark:hover { box-shadow: 0 8px 20px rgba(26,43,74,0.3); }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { color: var(--primary); line-height: 1.3; font-weight: 700; }
h1 { font-size: 36px; margin-bottom: 20px; }
h2 { font-size: 28px; margin: 40px 0 20px; }
h3 { font-size: 20px; margin-bottom: 12px; }
p { margin-bottom: 16px; }
.lead-text { font-size: 18px; color: var(--muted); margin-bottom: 32px; }

/* ---------- Sections ---------- */
.section { margin-bottom: 60px; }
.section-head { text-align: center; margin-bottom: 40px; }
.section-head p { color: var(--muted); max-width: 640px; margin: 12px auto 0; }

/* ---------- Grids ---------- */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- Cards ---------- */
.card {
  background: var(--bg-alt);
  padding: 28px;
  border-radius: 14px;
  border: 1px solid var(--border);
  transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(26,43,74,0.08); }
.card-icon {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  color: var(--primary);
}
.card-icon svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 15px; margin-bottom: 0; }

/* ---------- Stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin: 40px 0;
}
.stat {
  text-align: center;
  padding: 28px 16px;
  background: var(--bg-alt);
  border-radius: 14px;
  border: 1px solid var(--border);
}
.stat-num {
  font-size: 40px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label { color: var(--muted); font-size: 14px; }

/* ---------- Team ---------- */
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.team-member { text-align: center; }
.avatar {
  width: 128px; height: 128px;
  border-radius: 50%;
  margin: 0 auto 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 40px; font-weight: 700; color: #fff;
}
.avatar-1 { background: linear-gradient(135deg, #1a2b4a, #3a5a90); }
.avatar-2 { background: linear-gradient(135deg, #e8a838, #f0c060); color: var(--primary); }
.avatar-3 { background: linear-gradient(135deg, #2d9cdb, #60b8e8); }
.avatar-4 { background: linear-gradient(135deg, #7c3aed, #a78bfa); }
.team-member h4 { font-size: 17px; margin-bottom: 4px; }
.team-member .role { color: var(--muted); font-size: 14px; }

/* ---------- Contacts ---------- */
.contact-info { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contact-item { display: flex; gap: 16px; margin-bottom: 24px; align-items: flex-start; }
.contact-icon {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  border-radius: 10px;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  color: var(--primary);
}
.contact-icon svg { width: 22px; height: 22px; }
.contact-item h4 { font-size: 14px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 4px; }
.contact-item p { margin-bottom: 0; font-size: 16px; color: var(--text); }
.map-placeholder {
  background: linear-gradient(135deg, #e5e7eb 0%, #d1d5db 100%);
  border-radius: 14px;
  aspect-ratio: 16/10;
  display: flex; align-items: center; justify-content: center;
  color: var(--muted);
  position: relative;
  overflow: hidden;
}
.map-placeholder::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(26,43,74,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26,43,74,0.08) 1px, transparent 1px);
  background-size: 40px 40px;
}
.map-pin {
  width: 40px; height: 40px;
  background: var(--accent);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  position: relative;
  z-index: 1;
  box-shadow: 0 6px 16px rgba(232,168,56,0.4);
}
.map-pin::after {
  content: "";
  position: absolute;
  top: 10px; left: 10px;
  width: 20px; height: 20px;
  background: #fff;
  border-radius: 50%;
}

/* ---------- Blog ---------- */
.blog-list { display: grid; gap: 24px; }
.blog-item {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 28px;
  padding: 24px;
  background: var(--bg-alt);
  border-radius: 14px;
  text-decoration: none;
  color: inherit;
  transition: transform .2s, box-shadow .2s;
  border: 1px solid var(--border);
  align-items: center;
}
.blog-item:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(26,43,74,0.1); }
.blog-thumb {
  border-radius: 10px;
  aspect-ratio: 16/10;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 48px; font-weight: 800;
}
.thumb-1 { background: linear-gradient(135deg, #1a2b4a, #e8a838); }
.thumb-2 { background: linear-gradient(135deg, #2d9cdb, #1a2b4a); }
.thumb-3 { background: linear-gradient(135deg, #7c3aed, #e8a838); }
.blog-item h3 { margin-bottom: 8px; font-size: 22px; }
.blog-item .excerpt { color: var(--muted); font-size: 15px; margin-bottom: 12px; }
.blog-meta { font-size: 13px; color: var(--muted); }

/* ---------- Article ---------- */
.breadcrumbs { font-size: 14px; color: var(--muted); margin-bottom: 24px; }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--primary); }
.breadcrumbs span { margin: 0 8px; opacity: 0.6; }
.article-wrap { max-width: 780px; }
.article-meta { color: var(--muted); font-size: 14px; margin-bottom: 28px; display: flex; gap: 16px; flex-wrap: wrap; }
.article-meta .tag {
  background: var(--bg-alt);
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid var(--border);
}
.article-content h2 { margin-top: 36px; font-size: 24px; }
.article-content h3 { margin-top: 28px; }
.article-content p { font-size: 16px; line-height: 1.75; }
.article-content ul, .article-content ol { margin: 16px 0 16px 24px; }
.article-content li { margin-bottom: 8px; line-height: 1.7; }
.article-content blockquote {
  border-left: 4px solid var(--accent);
  padding: 12px 20px;
  margin: 24px 0;
  background: var(--bg-alt);
  border-radius: 0 10px 10px 0;
  font-style: italic;
  color: var(--muted);
}
.article-content .highlight-box {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  padding: 24px 28px;
  border-radius: 14px;
  margin: 28px 0;
}
.article-content .highlight-box h3 { color: var(--accent); margin-bottom: 10px; }
.article-content .highlight-box p { color: rgba(255,255,255,0.92); margin-bottom: 0; }

/* ---------- Privacy ---------- */
.privacy-content { max-width: 820px; }
.privacy-content h2 { margin-top: 32px; font-size: 22px; }
.privacy-content ul { padding-left: 24px; margin: 12px 0 16px; }
.privacy-content li { margin-bottom: 6px; }
.privacy-content .updated { color: var(--muted); font-size: 14px; margin-bottom: 32px; }

/* ---------- 404 ---------- */
.not-found { text-align: center; padding: 80px 0; }
.not-found h1 { font-size: 140px; color: var(--accent); margin-bottom: 0; line-height: 1; }
.not-found .code-label { font-size: 18px; color: var(--muted); letter-spacing: 4px; text-transform: uppercase; margin-bottom: 24px; }
.not-found p { font-size: 18px; color: var(--muted); margin-bottom: 32px; max-width: 480px; margin-left: auto; margin-right: auto; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--primary);
  color: #fff;
  padding: 56px 0 24px;
  margin-top: auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 36px;
}
.footer-about p { color: rgba(255,255,255,0.7); font-size: 14px; margin-top: 16px; max-width: 320px; }
.site-footer h4 {
  font-size: 14px;
  margin-bottom: 18px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.site-footer ul { list-style: none; }
.site-footer a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  display: block;
  padding: 5px 0;
  font-size: 14px;
  transition: color .2s;
}
.site-footer a:hover { color: var(--accent); }
.copyright {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,0.6);
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .grid-3, .grid-4, .team, .stats, .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-item { grid-template-columns: 1fr; }
  .blog-thumb { max-width: 100%; }
  .hero { padding: 56px 32px; }
  .hero h1 { font-size: 36px; }
  .contact-info { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .grid-3, .grid-2, .grid-4, .team, .stats, .footer-grid { grid-template-columns: 1fr; }
  .main-nav ul { gap: 14px; font-size: 13px; }
  .logo { font-size: 17px; }
  .logo-icon { width: 30px; height: 30px; }
  .hero { padding: 44px 24px; border-radius: 14px; }
  .hero h1 { font-size: 28px; }
  .hero .lead { font-size: 16px; }
  main { padding: 36px 0; }
  h1 { font-size: 28px; }
  h2 { font-size: 22px; }
  .not-found h1 { font-size: 96px; }
  .stat-num { font-size: 32px; }
  .card { padding: 22px; }
}
