/* ============================================================
   潮派街美食 · 鼎诺投资（江阴）有限公司  官方站点样式
   ============================================================ */

@import url("https://fonts.googleapis.com/css2?family=Noto+Serif+SC:wght@500;700;900&family=Noto+Sans+SC:wght@300;400;500;700&display=swap");

:root {
  --ink: #221b16;
  --ink-soft: #4a4038;
  --muted: #8a7c6d;
  --paper: #faf5ec;
  --paper-2: #fffdf9;
  --line: rgba(34, 27, 22, 0.12);
  --line-soft: rgba(34, 27, 22, 0.07);
  --brand: #e0401d;
  --brand-deep: #b32d10;
  --amber: #f0a83a;
  --radius: 18px;
  --maxw: 1120px;
  --font-serif: "Noto Serif SC", "Songti SC", "STSong", "SimSun", Georgia, serif;
  --font-sans: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", -apple-system, sans-serif;
  --shadow-sm: 0 2px 10px rgba(34, 27, 22, 0.06);
  --shadow-md: 0 18px 44px -22px rgba(34, 27, 22, 0.35);
  --shadow-lg: 0 40px 80px -40px rgba(34, 27, 22, 0.45);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background-color: var(--paper);
  background-image:
    radial-gradient(1200px 620px at 82% -8%, rgba(240, 168, 58, 0.20), transparent 62%),
    radial-gradient(900px 520px at -6% 8%, rgba(224, 64, 29, 0.10), transparent 60%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  line-height: 1.7;
}

/* 细颗粒噪点叠层 */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.28'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.wrap { width: min(100% - 44px, var(--maxw)); margin-inline: auto; }

/* ---------------- 顶部导航 ---------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(150%) blur(14px);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  background: rgba(250, 245, 236, 0.82);
  border-bottom: 1px solid var(--line-soft);
}

.site-header .bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 0;
}

.brand { display: flex; align-items: center; gap: 14px; min-width: 0; }

.brand-logo {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid var(--line);
  background: #fff;
  flex: none;
}

.brand-text { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.brand-text strong {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.brand-text span { font-size: 12px; color: var(--muted); letter-spacing: 0.16em; }

.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
  font-size: 14.5px;
  padding: 9px 14px;
  border-radius: 999px;
  color: var(--ink-soft);
  transition: background 0.25s, color 0.25s;
}
.nav a:hover { background: rgba(224, 64, 29, 0.09); color: var(--brand-deep); }

/* ---------------- 首页 Hero ---------------- */
.hero { position: relative; z-index: 1; padding: 76px 0 84px; }

.hero .grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 64px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 12.5px;
  letter-spacing: 0.22em;
  color: var(--brand-deep);
  text-transform: uppercase;
  margin: 0 0 20px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1.5px;
  background: var(--brand);
}

.hero h1 {
  font-family: var(--font-serif);
  font-weight: 900;
  font-size: clamp(38px, 5.6vw, 68px);
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 0 0 24px;
}
.hero h1 em {
  font-style: normal;
  color: var(--brand);
  position: relative;
  white-space: nowrap;
}
.hero h1 em::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0.06em;
  height: 0.32em;
  background: linear-gradient(90deg, rgba(240, 168, 58, 0.55), rgba(240, 168, 58, 0));
  z-index: -1;
  border-radius: 4px;
}

.lede {
  font-size: 17px;
  color: var(--ink-soft);
  max-width: 34em;
  margin: 0 0 32px;
}

.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 14px 26px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.3, 1), box-shadow 0.25s, background 0.25s;
}
.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 14px 30px -14px rgba(224, 64, 29, 0.85);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 20px 38px -14px rgba(224, 64, 29, 0.9); }
.btn-ghost {
  border: 1px solid var(--line);
  background: rgba(255, 253, 249, 0.7);
  color: var(--ink);
}
.btn-ghost:hover { transform: translateY(-2px); background: #fff; box-shadow: var(--shadow-sm); }

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 14px;
  color: var(--ink-soft);
}
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points li::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 4px rgba(240, 168, 58, 0.18);
}

/* QR 卡片（票据造型） */
.qr-wrap { display: flex; justify-content: center; }
.qr-card {
  position: relative;
  width: min(340px, 100%);
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 30px 30px 26px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  transform: rotate(-2deg);
  animation: floaty 6s ease-in-out infinite;
}
.qr-card::before,
.qr-card::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 26px; height: 26px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 50%;
  transform: translateY(-50%);
}
.qr-card::before { left: -14px; }
.qr-card::after { right: -14px; }

@keyframes floaty {
  0%, 100% { transform: rotate(-2deg) translateY(0); }
  50% { transform: rotate(-2deg) translateY(-10px); }
}

.qr-badge {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.18em;
  color: #fff;
  background: var(--ink);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
}
.qr-card img {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--line-soft);
  background: #fff;
  padding: 8px;
}
.qr-dash { height: 1px; margin: 20px 0 16px; background: repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 16px); }
.qr-card p { margin: 0; font-size: 14px; color: var(--ink-soft); }
.qr-card p strong { color: var(--brand-deep); font-weight: 700; }

/* ---------------- 跑马灯 ---------------- */
.marquee {
  position: relative;
  z-index: 1;
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
  padding: 16px 0;
  border-block: 1px solid rgba(250, 245, 236, 0.12);
}
.marquee-track {
  display: flex;
  width: max-content;
  gap: 46px;
  animation: scroll-x 26s linear infinite;
  font-family: var(--font-serif);
  font-size: 15px;
  letter-spacing: 0.16em;
}
.marquee-track span { display: inline-flex; align-items: center; gap: 46px; white-space: nowrap; }
.marquee-track span::after { content: "✦"; color: var(--amber); font-size: 12px; }
@keyframes scroll-x {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------------- 通用区块 ---------------- */
.section { position: relative; z-index: 1; padding: 84px 0; }
.section-head { max-width: 640px; margin-bottom: 44px; }
.section-head h2 {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(28px, 3.6vw, 40px);
  line-height: 1.2;
  margin: 0 0 14px;
}
.section-head p { margin: 0; color: var(--ink-soft); }

/* 特色卡 */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feature {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  transition: transform 0.3s, box-shadow 0.3s;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.feature .ico {
  width: 42px; height: 42px;
  border-radius: 12px;
  display: grid; place-items: center;
  background: rgba(224, 64, 29, 0.10);
  color: var(--brand-deep);
  margin-bottom: 16px;
}
.feature h3 { font-family: var(--font-serif); font-size: 18px; margin: 0 0 8px; font-weight: 700; }
.feature p { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.65; }

/* ---------------- 制度中心 ---------------- */
.policies-section { background: rgba(255, 253, 249, 0.55); border-block: 1px solid var(--line-soft); }

.policy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 18px;
}

.policy-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px 26px 24px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.3, 1), box-shadow 0.3s, border-color 0.3s;
}
.policy-card::after {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--brand);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.3, 1);
}
.policy-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(224, 64, 29, 0.35);
}
.policy-card:hover::after { transform: scaleY(1); }

.policy-card .num {
  font-family: var(--font-serif);
  font-weight: 900;
  font-size: 30px;
  line-height: 1;
  color: rgba(224, 64, 29, 0.28);
  letter-spacing: 0.02em;
}
.policy-card h3 {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 19px;
  line-height: 1.4;
  margin: 0;
}
.policy-card p { margin: 0; font-size: 13.5px; color: var(--muted); line-height: 1.65; flex: 1; }
.policy-card .more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--brand-deep);
}
.policy-card .more .arrow { transition: transform 0.3s; }
.policy-card:hover .more .arrow { transform: translateX(4px); }

/* ---------------- 联系 / 页脚 ---------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: start;
}
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.contact-list li {
  display: flex;
  gap: 16px;
  padding: 18px 22px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 14px;
}
.contact-list .k { flex: none; width: 84px; color: var(--muted); font-size: 13.5px; }
.contact-list .v { font-weight: 500; }

.site-footer {
  position: relative;
  z-index: 1;
  background: var(--ink);
  color: rgba(250, 245, 236, 0.72);
  padding: 46px 0 34px;
  font-size: 13.5px;
}
.site-footer .top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 30px;
  flex-wrap: wrap;
  padding-bottom: 26px;
  border-bottom: 1px solid rgba(250, 245, 236, 0.13);
  margin-bottom: 22px;
}
.site-footer .f-brand { display: flex; align-items: center; gap: 14px; }
.site-footer .f-brand img { width: 44px; height: 44px; border-radius: 11px; object-fit: cover; }
.site-footer .f-brand strong { display: block; color: #fff; font-family: var(--font-serif); font-size: 16px; letter-spacing: 0.02em; }
.site-footer .f-brand span { font-size: 12px; letter-spacing: 0.14em; color: rgba(250, 245, 236, 0.6); }
.site-footer .f-links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.site-footer .f-links a { transition: color 0.25s; }
.site-footer .f-links a:hover { color: var(--amber); }
.site-footer .bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px 24px; }
.site-footer .icp { color: rgba(250, 245, 236, 0.72); }
.site-footer .icp a:hover { color: var(--amber); }

/* ============================================================
   制度详情页
   ============================================================ */
.doc-page { padding: 54px 0 90px; position: relative; z-index: 1; }

.doc { width: min(100% - 44px, 880px); margin-inline: auto; }

.crumb { font-size: 13px; color: var(--muted); margin-bottom: 26px; display: flex; gap: 8px; align-items: center; }
.crumb a:hover { color: var(--brand-deep); }
.crumb .sep { opacity: 0.5; }

.doc-head { padding-bottom: 26px; border-bottom: 2px solid var(--ink); margin-bottom: 34px; }
.doc-head h1 {
  font-family: var(--font-serif);
  font-weight: 900;
  font-size: clamp(26px, 3.6vw, 38px);
  line-height: 1.3;
  margin: 0 0 16px;
}
.doc-head .meta { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 13px; color: var(--muted); }
.doc-head .meta .tag {
  background: rgba(224, 64, 29, 0.10);
  color: var(--brand-deep);
  padding: 3px 12px;
  border-radius: 999px;
  font-weight: 500;
}

.doc-body { font-size: 16px; color: var(--ink-soft); }
.doc-body p { margin: 0 0 18px; }

.clause { position: relative; }
.clause .art {
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--ink);
  margin-right: 6px;
}

.chapter {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 20px;
  color: var(--ink);
  margin: 40px 0 20px;
  padding-left: 16px;
  border-left: 4px solid var(--brand);
  line-height: 1.4;
}

.doc-body .sub {
  font-weight: 700;
  color: var(--ink);
  margin: 24px 0 12px;
}

.doc-body ol, .doc-body ul { margin: 0 0 18px; padding-left: 1.4em; }
.doc-body li { margin-bottom: 8px; }
.doc-body li::marker { color: var(--brand); font-weight: 600; }

.note {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-left: 4px solid var(--amber);
  border-radius: 12px;
  padding: 16px 20px;
  font-size: 14.5px;
  margin: 0 0 20px;
}

.doc-foot {
  margin-top: 46px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  text-align: right;
  font-family: var(--font-serif);
  color: var(--ink);
  font-size: 15px;
}

.doc-actions { margin-top: 40px; display: flex; gap: 14px; flex-wrap: wrap; }

/* 组织构架图 */
.org { margin: 8px 0 30px; }
.org-top { display: flex; justify-content: center; }
.org-node {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px 26px;
  text-align: center;
  min-width: 220px;
  box-shadow: var(--shadow-sm);
}
.org-node.lead {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.org-node .role { font-size: 13px; letter-spacing: 0.12em; opacity: 0.75; margin-bottom: 6px; }
.org-node .name {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 20px;
}
.org-node .tel { font-size: 13px; margin-top: 6px; opacity: 0.85; }
.org-node.lead .name { color: #fff; }

.org-line { width: 1.5px; height: 30px; background: var(--line); margin: 0 auto; }
.org-branch { height: 1.5px; background: var(--line); margin: 0 16.6%; }
.org-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 0; }
.org-row .org-node { width: 100%; min-width: 0; }

@media (max-width: 620px) {
  .org-row { grid-template-columns: 1fr; }
  .org-branch { display: none; }
  .org-line { height: 22px; }
}

/* ---------------- 入场动画 ---------------- */
.reveal { opacity: 0; transform: translateY(18px); animation: reveal 0.75s cubic-bezier(0.2, 0.8, 0.3, 1) forwards; }
.d1 { animation-delay: 0.06s; }
.d2 { animation-delay: 0.16s; }
.d3 { animation-delay: 0.26s; }
.d4 { animation-delay: 0.36s; }
.d5 { animation-delay: 0.46s; }
@keyframes reveal { to { opacity: 1; transform: translateY(0); } }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

/* ---------------- 响应式 ---------------- */
@media (max-width: 980px) {
  .hero .grid { grid-template-columns: 1fr; gap: 48px; }
  .qr-wrap { order: -1; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .nav { display: none; }
  .hero { padding: 52px 0 60px; }
  .section { padding: 60px 0; }
  .features { grid-template-columns: 1fr; }
}
