:root {
  --bg: #f5f2eb;
  --panel: #fffdf9;
  --line: rgba(104, 91, 75, 0.14);
  --text: #2f2a24;
  --muted: #766c5f;
  --accent: #b58f5a;
  --accent-2: #8a7b68;
  --shadow: 0 18px 42px rgba(73, 55, 31, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, "Noto Sans SC", "PingFang SC", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(181, 143, 90, 0.1), transparent 28%),
    linear-gradient(180deg, #faf7f2 0%, #f4efe6 100%);
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(1200px, calc(100% - 40px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(247, 243, 235, 0.82);
  border-bottom: 1px solid rgba(104, 91, 75, 0.08);
}
.header-inner {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand { display: flex; align-items: center; gap: 14px; }
.brand-logo { width: 44px; height: 44px; }
.brand-text { display: grid; gap: 2px; }
.brand-text strong { font-size: 18px; letter-spacing: .04em; }
.brand-text small { color: var(--muted); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }

.site-nav { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.nav-item { position: relative; }
.nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  color: var(--text);
  font-weight: 600;
}
.nav-link.is-active, .nav-link:hover { background: rgba(181, 143, 90, 0.12); color: var(--accent); }
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  padding: 10px;
  margin-top: 10px;
  display: none;
  grid-template-columns: 1fr;
  gap: 6px;
  background: rgba(255, 253, 249, 0.98);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
}
.nav-item:hover .nav-dropdown { display: grid; }
.nav-sublink {
  padding: 10px 12px;
  border-radius: 12px;
  color: var(--muted);
}
.nav-sublink:hover, .nav-sublink.is-active { background: rgba(181, 143, 90, 0.1); color: var(--text); }

.site-footer {
  background: #f1ebe0;
  border-top: 1px solid rgba(104, 91, 75, 0.12);
  margin-top: 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 24px;
  padding: 64px 0 36px;
}
.footer-brand { font-size: 22px; font-weight: 800; margin-bottom: 12px; }
.footer-grid p, .footer-contact, .footer-links { color: var(--muted); line-height: 1.9; margin: 0; padding: 0; list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-sub-links { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 6px; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 0 28px;
  border-top: 1px solid rgba(104, 91, 75, 0.12);
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 768px) {
  .container { width: min(100% - 24px, 100%); }
  .header-inner, .footer-bottom { flex-direction: column; align-items: flex-start; }
  .site-nav { gap: 4px; }
  .nav-dropdown { position: static; display: grid; margin-top: 8px; box-shadow: none; }
}
