/* 酱尊商贸 · 静态官网样式
   设计基调：深墨底 + 宣纸色 + 暗金细线，排版靠字距与留白建立层级，不依赖图片与阴影。 */

:root {
  --ink: #171310;
  --ink-2: #221c17;
  --ink-3: #2e2721;
  --paper: #f5efe5;
  --paper-2: #ebe3d5;
  --brass: #a98652;
  --brass-dim: #8a6c41;
  --wine: #6e1f2b;
  --text: #1f1a16;
  --text-2: #4a4139;
  --muted: #7d7164;
  --line: rgba(31, 26, 22, 0.14);
  --line-dark: rgba(245, 239, 229, 0.16);

  --serif: "Songti SC", "STSong", "Noto Serif SC", "Source Han Serif SC",
    "SimSun", "Georgia", serif;
  --sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Source Han Sans SC", "Noto Sans SC", "Helvetica Neue",
    Arial, sans-serif;

  --pad: clamp(20px, 5vw, 72px);
  --max: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
svg {
  display: block;
  max-width: 100%;
}

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

::selection {
  background: var(--brass);
  color: #fff;
}

/* ── 通用容器与编号标签 ─────────────────────────────── */

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  letter-spacing: 0.32em;
  text-indent: 0.32em;
  color: var(--brass-dim);
  font-weight: 600;
  text-transform: uppercase;
}

.eyebrow::after {
  content: "";
  flex: 1;
  height: 1px;
  background: currentColor;
  opacity: 0.28;
}

.section-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(26px, 3.4vw, 38px);
  line-height: 1.4;
  letter-spacing: 0.04em;
  margin: 0;
}

/* ── 顶部导航 ───────────────────────────────────────── */

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(23, 19, 16, 0.92);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line-dark);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 64px;
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 10px;
  color: var(--paper);
}

.brand-name {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: 0.18em;
}

.brand-sub {
  font-size: 10px;
  letter-spacing: 0.28em;
  color: var(--brass);
  opacity: 0.9;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.4vw, 32px);
  font-size: 13px;
  letter-spacing: 0.12em;
  color: rgba(245, 239, 229, 0.72);
}

.nav a {
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: color 0.25s, border-color 0.25s;
}

.nav a:hover {
  color: var(--paper);
  border-bottom-color: var(--brass);
}

.nav-tel {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  border: 1px solid rgba(169, 134, 82, 0.5);
  border-radius: 2px;
  color: var(--paper);
  letter-spacing: 0.06em;
  font-variant-numeric: tabular-nums;
  transition: background 0.25s, border-color 0.25s;
  white-space: nowrap;
}

.nav-tel:hover {
  background: rgba(169, 134, 82, 0.16);
  border-color: var(--brass);
}

.nav-tel svg {
  width: 14px;
  height: 14px;
  stroke: var(--brass);
}

@media (max-width: 760px) {
  /* 移动端收起文字导航，但保留电话入口——官网没有可见联系方式等于没有联系方式 */
  .nav > a:not(.nav-tel) {
    display: none;
  }
  .nav {
    gap: 0;
  }
  .nav-tel {
    padding: 8px 12px;
    font-size: 13px;
  }
  .brand-sub {
    display: none;
  }
}

/* ── 首屏 ───────────────────────────────────────────── */

.hero {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--paper);
  padding: clamp(64px, 11vw, 128px) 0 clamp(56px, 9vw, 104px);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 80% at 82% 12%, rgba(169, 134, 82, 0.16), transparent 62%),
    radial-gradient(80% 60% at 12% 96%, rgba(110, 31, 43, 0.24), transparent 68%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(28px, 5vw, 72px);
  align-items: end;
}

.hero-kicker {
  font-size: 12px;
  letter-spacing: 0.36em;
  color: var(--brass);
  margin: 0 0 26px;
}

.hero-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(46px, 9vw, 96px);
  line-height: 1.06;
  letter-spacing: 0.06em;
  margin: 0;
}

.hero-title .thin {
  display: block;
  font-size: clamp(15px, 1.8vw, 20px);
  font-weight: 400;
  letter-spacing: 0.5em;
  color: rgba(245, 239, 229, 0.62);
  margin-top: 20px;
}

.hero-lede {
  max-width: 44ch;
  margin: clamp(26px, 4vw, 40px) 0 0;
  color: rgba(245, 239, 229, 0.74);
  font-size: 15px;
  line-height: 2;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 34px;
  margin-top: clamp(30px, 4vw, 46px);
  padding-top: 22px;
  border-top: 1px solid var(--line-dark);
  font-size: 12.5px;
  letter-spacing: 0.1em;
  color: rgba(245, 239, 229, 0.55);
}

.hero-meta b {
  display: block;
  color: var(--paper);
  font-weight: 500;
  letter-spacing: 0.06em;
  margin-top: 4px;
  font-variant-numeric: tabular-nums;
}

.hero-seal {
  writing-mode: vertical-rl;
  font-family: var(--serif);
  font-size: clamp(15px, 1.6vw, 18px);
  letter-spacing: 0.62em;
  color: rgba(245, 239, 229, 0.42);
  border-left: 1px solid rgba(169, 134, 82, 0.35);
  padding-left: clamp(14px, 2vw, 26px);
  line-height: 1;
  align-self: stretch;
  max-height: 320px;
}

@media (max-width: 860px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-seal {
    display: none;
  }
}

/* ── 章节通用 ───────────────────────────────────────── */

.section {
  padding: clamp(64px, 9vw, 116px) 0;
}

.section + .section {
  border-top: 1px solid var(--line);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(20px, 5vw, 72px);
  align-items: start;
  margin-bottom: clamp(36px, 5vw, 60px);
}

.section-head .lead {
  margin: 0;
  color: var(--text-2);
  font-size: 15.5px;
  line-height: 2.05;
}

@media (max-width: 860px) {
  .section-head {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* ── 关于 ───────────────────────────────────────────── */

.about-body {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.about-text p {
  margin: 0 0 1.4em;
  color: var(--text-2);
  line-height: 2.05;
}

.about-text p:last-child {
  margin-bottom: 0;
}

.about-text strong {
  color: var(--text);
  font-weight: 600;
}

.facts {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.facts li {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 16px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  align-items: baseline;
}

.facts dt,
.facts .k {
  color: var(--muted);
  font-size: 12.5px;
  letter-spacing: 0.14em;
}

.facts .v {
  color: var(--text);
  font-variant-numeric: tabular-nums;
  line-height: 1.7;
}

@media (max-width: 860px) {
  .about-body {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

/* ── 业务 ───────────────────────────────────────────── */

.biz {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.biz-item {
  background: var(--paper);
  padding: clamp(26px, 3.4vw, 40px);
  transition: background 0.3s;
}

.biz-item:hover {
  background: #fbf7f0;
}

.biz-num {
  font-family: var(--serif);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--brass-dim);
  display: block;
  margin-bottom: 22px;
}

.biz-icon {
  width: 26px;
  height: 26px;
  stroke: var(--wine);
  stroke-width: 1.5;
  fill: none;
  margin-bottom: 18px;
}

.biz-item h3 {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: 0.08em;
  margin: 0 0 10px;
}

.biz-item p {
  margin: 0;
  color: var(--text-2);
  font-size: 14px;
  line-height: 1.95;
}

.biz-note {
  margin: clamp(28px, 4vw, 40px) 0 0;
  padding: 18px 22px;
  background: var(--paper-2);
  border-left: 2px solid var(--brass);
  color: var(--text-2);
  font-size: 13.5px;
  line-height: 1.95;
}

.biz-note b {
  color: var(--text);
  font-weight: 600;
}

/* ── 资质 ───────────────────────────────────────────── */

.cert {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(64px, 9vw, 116px) 0;
}

.cert .eyebrow {
  color: var(--brass);
}

.cert .section-title {
  color: var(--paper);
}

.cert .lead {
  color: rgba(245, 239, 229, 0.68);
}

.license {
  margin: 0;
  border-top: 1px solid var(--line-dark);
}

.license > div {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: clamp(16px, 3vw, 40px);
  padding: 18px 0;
  border-bottom: 1px solid var(--line-dark);
  align-items: baseline;
}

.license dt {
  margin: 0;
  font-size: 12.5px;
  letter-spacing: 0.18em;
  color: rgba(245, 239, 229, 0.5);
}

.license dd {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.85;
  color: rgba(245, 239, 229, 0.94);
  font-variant-numeric: tabular-nums;
}

.license dd .code {
  font-family: "SF Mono", "Menlo", "Consolas", monospace;
  letter-spacing: 0.06em;
  font-size: 14px;
}

.license dd .scope {
  color: rgba(245, 239, 229, 0.78);
  font-size: 13.5px;
  line-height: 2;
}

.cert-foot {
  margin: clamp(26px, 4vw, 38px) 0 0;
  font-size: 12.5px;
  color: rgba(245, 239, 229, 0.42);
  letter-spacing: 0.06em;
  line-height: 1.9;
}

@media (max-width: 720px) {
  .license > div {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

/* ── 联系 ───────────────────────────────────────────── */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

.contact-card {
  border: 1px solid var(--line);
  background: #fbf7f0;
  padding: clamp(28px, 4vw, 44px);
}

.contact-label {
  font-size: 12px;
  letter-spacing: 0.26em;
  color: var(--muted);
  margin: 0 0 14px;
}

.contact-tel {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  font-family: var(--serif);
  font-size: clamp(30px, 4.6vw, 44px);
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--wine);
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
  transition: opacity 0.25s;
}

.contact-tel:hover {
  opacity: 0.78;
}

.contact-tel svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 1.6;
  fill: none;
  flex: none;
  transform: translateY(2px);
}

.contact-hours {
  margin: 16px 0 0;
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.contact-addr {
  margin: 0;
  font-size: 15px;
  line-height: 2;
  color: var(--text-2);
}

.contact-addr b {
  display: block;
  color: var(--text);
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 6px;
  letter-spacing: 0.04em;
}

.contact-hint {
  margin: 22px 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
  line-height: 1.9;
}

@media (max-width: 780px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* ── 页脚 ───────────────────────────────────────────── */

.footer {
  background: var(--ink-2);
  color: rgba(245, 239, 229, 0.5);
  padding: clamp(34px, 5vw, 52px) 0;
  font-size: 12.5px;
  letter-spacing: 0.06em;
  line-height: 1.9;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 18px 40px;
}

.footer-name {
  font-family: var(--serif);
  font-size: 16px;
  color: rgba(245, 239, 229, 0.9);
  letter-spacing: 0.16em;
  margin: 0 0 6px;
}

.footer p {
  margin: 0;
}

.footer-right {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

@media (max-width: 640px) {
  .footer-right {
    text-align: left;
  }
}

/* ── 可访问性 ───────────────────────────────────────── */

:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition: none !important;
  }
}
