﻿:root {
  --bg: #f7f1e7;
  --bg-deep: #eee4d3;
  --surface: #fffaf2;
  --surface-soft: #f8f1e5;
  --ink: #1c2422;
  --muted: #65736d;
  --line: #d7c9b6;
  --brand: #0f5a51;
  --brand-strong: #0b443d;
  --accent: #be7b3d;
  --accent-soft: #f3e0c8;
  --footer: #234a8a;
  --footer-accent: #ffb23d;
  --shadow: 0 22px 54px rgba(25, 31, 28, 0.08);
  --radius: 28px;
  --radius-sm: 18px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(circle at top right, rgba(190, 123, 61, 0.08), transparent 22%),
    radial-gradient(circle at left top, rgba(15, 90, 81, 0.08), transparent 20%),
    linear-gradient(180deg, var(--bg) 0%, #f7f3ea 48%, var(--bg-deep) 100%);
  color: var(--ink);
  font-family: "PingFang SC", "Noto Sans CJK SC", "Microsoft YaHei", sans-serif;
  line-height: 1.7;
}
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
.site-shell { min-height: 100vh; }
.topbar {
  position: sticky; top: 0; z-index: 20; backdrop-filter: blur(12px);
  background: rgba(247, 241, 231, 0.92); border-bottom: 1px solid rgba(215, 201, 182, 0.82);
}
.topbar-inner, .page, .footer-inner { width: min(var(--max), calc(100% - 32px)); margin: 0 auto; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 14px 0; }
.brand-mark { display: flex; flex-direction: column; gap: 4px; }
.brand-kicker { color: var(--muted); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; }
.brand-name { font-family: "Source Han Serif SC", "Songti SC", serif; font-size: 20px; font-weight: 700; }
.nav-links { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.nav-link { padding: 10px 14px; border-radius: 999px; color: var(--muted); transition: .22s ease; }
.nav-link:hover { background: rgba(15, 90, 81, 0.08); color: var(--brand); }
.nav-link-cta { background: var(--brand); color: #fff7ef; }
.nav-link-cta:hover { background: var(--brand-strong); color: #fff; }
.nav-link-admin { border: 1px solid rgba(15, 90, 81, 0.18); }
.page { padding: 30px 0 72px; }
.section { margin-top: 34px; }
.section-card, .form-panel { background: linear-gradient(180deg, rgba(255, 250, 242, 0.98), rgba(248, 241, 229, 0.98)); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.section-card { padding: 30px; }
.hero-grid, .team-grid, .business-grid { display: grid; gap: 22px; }
.hero-grid { grid-template-columns: minmax(0, 1fr) 430px; align-items: start; }
.eyebrow { display: inline-flex; align-items: center; padding: 6px 12px; border-radius: 999px; background: rgba(15, 90, 81, 0.08); color: var(--brand); font-size: 13px; }
h1, h2, h3 { margin: 0 0 12px; font-family: "Source Han Serif SC", "Songti SC", serif; line-height: 1.18; }
h1 { font-size: clamp(38px, 5vw, 64px); letter-spacing: -0.03em; }
h2 { font-size: clamp(28px, 3vw, 42px); }
h3 { font-size: 22px; }
p { margin: 0 0 14px; }
.lead { font-size: 18px; color: var(--muted); max-width: 760px; }
.hero-points { margin: 18px 0 0; padding-left: 18px; color: var(--muted); }
.hero-points li + li { margin-top: 8px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.button, .button-ghost, .button-soft { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 18px; border-radius: 999px; border: 1px solid transparent; font-weight: 600; }
.button { background: var(--brand); color: #fff7ef; }
.button:hover { background: var(--brand-strong); }
.button-ghost, .button-soft { background: transparent; border-color: rgba(15, 90, 81, 0.2); color: var(--brand); }
.button-ghost:hover, .button-soft:hover { background: rgba(15, 90, 81, 0.05); }
.button-full { width: 100%; }
.form-panel { padding: 26px; }
.form-heading p, .section-header p, .card-scene, .form-note, .form-status, .muted { color: var(--muted); }
.line-switch { margin: 0 0 16px; padding: 0; border: 0; }
.line-switch legend { margin-bottom: 10px; font-weight: 600; }
.line-pill, .tab-button { border: 1px solid rgba(15, 90, 81, 0.16); background: transparent; color: var(--muted); border-radius: 999px; padding: 10px 14px; }
.line-pill.is-active, .tab-button.is-active { background: var(--brand); color: #fff7ef; border-color: var(--brand); }
.field { display: block; margin-top: 14px; }
.field span { display: block; margin-bottom: 8px; font-weight: 600; }
.field input, .field textarea, .search-row input, .search-row select, .admin-table-wrap details { width: 100%; border: 1px solid rgba(15, 90, 81, 0.14); border-radius: 18px; background: rgba(255, 255, 255, 0.82); color: var(--ink); }
.field input, .field textarea { padding: 14px 16px; }
.field textarea { min-height: 160px; resize: vertical; }
.form-actions { margin-top: 18px; }
.form-status { min-height: 22px; margin-top: 12px; }
.form-status.is-error { color: #8b3f31; }
.form-status.is-success { color: #1c6b50; }
.section-header { margin-bottom: 20px; }
.team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.team-card, .business-card, .card, .price-card { background: rgba(255, 255, 255, 0.75); border: 1px solid rgba(215, 201, 182, 0.8); border-radius: var(--radius-sm); padding: 22px; }
.team-card ul, .business-card ul, .check-list { margin: 12px 0 0; padding-left: 18px; }
.tab-bar { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.business-panel[hidden] { display: none; }
.business-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.footer { background: var(--footer); color: #fff; margin-top: 48px; }
.footer-classic { padding: 28px 20px; text-align: center; }
.footer-brandline { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; font-size: 18px; font-weight: 700; }
.footer-brand { color: var(--footer-accent); }
.footer-contact { margin-top: 10px; }
.footer-divider { opacity: 0.7; }
.admin-summary { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 24px 0 32px; }
.admin-summary .card { padding: 20px; }
.admin-summary strong { display: block; font-size: 28px; margin-top: 8px; }
.admin-toolbar { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin: 24px 0; }
.admin-table-wrap { overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; min-width: 980px; }
.admin-table th, .admin-table td { padding: 14px 12px; border-bottom: 1px solid rgba(15, 90, 81, 0.08); vertical-align: top; text-align: left; }
.admin-table th { font-size: 13px; letter-spacing: .04em; text-transform: uppercase; color: rgba(28, 36, 34, 0.72); }
.admin-table td { font-size: 14px; }
.pill { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 999px; background: rgba(15, 90, 81, 0.08); font-size: 12px; white-space: nowrap; }
.pill.success { background: rgba(86, 201, 134, .16); color: #1c6b50; }
.pill.warn { background: rgba(255, 196, 61, .16); color: #926100; }
.pill.info { background: rgba(98, 161, 255, .16); color: #376bb6; }
.muted.small { font-size: 12px; line-height: 1.5; }
.search-row { display: grid; grid-template-columns: 1fr 220px 220px; gap: 12px; margin-bottom: 16px; }
.search-row input, .search-row select { padding: 12px 14px; }
.detail { display: grid; gap: 8px; }
.detail code { white-space: pre-wrap; word-break: break-word; }
@media (max-width: 980px) {
  .hero-grid, .team-grid, .business-grid, .admin-summary, .search-row { grid-template-columns: 1fr; }
  .topbar-inner { align-items: flex-start; flex-direction: column; }
  .nav-links { justify-content: flex-start; }
}
@media (max-width: 640px) {
  .topbar-inner, .page, .footer-inner { width: min(var(--max), calc(100% - 20px)); }
  .page { padding-top: 18px; }
  .section-card, .form-panel { padding: 22px 18px; }
  h1 { font-size: 40px; }
  .hero-actions, .tab-bar, .nav-links { gap: 8px; }
  .nav-link, .line-pill, .tab-button, .button, .button-ghost, .button-soft { width: 100%; justify-content: center; }
}
