/* ==========================================================================
   深圳吉祥华服文化传播有限公司 · 官方网站全局样式
   风格：新中式国风（朱砂红 · 鎏金 · 宣纸米白 · 墨色）
   说明：语义化排版，支持响应式与无障碍访问
   ========================================================================== */

/* ---------- 设计变量（Design Tokens） ---------- */
:root {
  /* 品牌主色 */
  --cinnabar: #9E2B25;        /* 朱砂红 */
  --cinnabar-deep: #7E211C;   /* 深朱砂 */
  --gold: #C9A063;            /* 鎏金 */
  --gold-light: #E3D0A8;      /* 浅金 */

  /* 中性色 */
  --paper: #F7F1E8;           /* 宣纸米白 */
  --paper-deep: #EFE5D6;      /* 深宣纸 */
  --ink: #2B2420;             /* 墨色 */
  --ink-light: #6B5D52;       /* 淡墨 */
  --line: #E0D3BD;            /* 描边金褐 */

  /* 功能色 */
  --white: #FFFFFF;

  /* 字体 */
  --font-serif: "Songti SC", "Noto Serif SC", "SimSun", "STSong", Georgia, serif;
  --font-sans: "PingFang SC", "Microsoft YaHei", "Source Han Sans SC", "Helvetica Neue", Arial, sans-serif;

  /* 间距与圆角 */
  --radius: 10px;
  --radius-lg: 18px;
  --container: 1120px;
  --shadow: 0 6px 24px rgba(43, 36, 32, 0.08);
}

/* ---------- 基础重置 ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.8;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

/* ---------- 排版 ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.4;
  color: var(--ink);
  letter-spacing: 0.02em;
}

h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); }
h2 { font-size: clamp(1.5rem, 3vw, 1.9rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.05rem; }

p { margin-bottom: 1rem; }

a {
  color: var(--cinnabar);
  text-decoration: none;
  transition: color 0.2s ease;
}
a:hover { color: var(--cinnabar-deep); }

ul, ol { padding-left: 1.5rem; margin-bottom: 1rem; }
li { margin-bottom: 0.4rem; }

strong { color: var(--cinnabar-deep); }

img { max-width: 100%; height: auto; display: block; }

/* ---------- 布局容器 ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 64px 0;
}

.section--alt {
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

/* 章节标题 */
.section-head {
  text-align: center;
  margin-bottom: 40px;
}

.section-head .kicker {
  display: inline-block;
  font-family: var(--font-serif);
  color: var(--gold);
  font-size: 0.9rem;
  letter-spacing: 0.3em;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.section-head h2 {
  position: relative;
  padding-bottom: 16px;
}

.section-head h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 56px;
  height: 2px;
  background: var(--gold);
}

.section-head p {
  color: var(--ink-light);
  max-width: 720px;
  margin: 16px auto 0;
}

/* ---------- 顶部导航 ---------- */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand .seal {
  width: 38px;
  height: 38px;
  background: var(--cinnabar);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  border-radius: 6px;
}

.brand-name {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--ink);
  line-height: 1.2;
}

.brand-name small {
  display: block;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 0.7rem;
  color: var(--ink-light);
  letter-spacing: 0.08em;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 6px;
  width: 40px;
  height: 36px;
  cursor: pointer;
  font-size: 1.2rem;
  color: var(--ink);
}

.main-nav ul {
  display: flex;
  gap: 26px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav a {
  color: var(--ink);
  font-size: 0.95rem;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: var(--cinnabar);
  border-bottom-color: var(--gold);
}

/* ---------- 面包屑 ---------- */
.breadcrumb {
  font-size: 0.85rem;
  color: var(--ink-light);
  padding: 16px 0;
  border-bottom: 1px dashed var(--line);
}

.breadcrumb ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
}

.breadcrumb li + li::before {
  content: "/";
  margin-right: 6px;
  color: var(--gold);
}

.breadcrumb a { color: var(--ink-light); }
.breadcrumb a:hover { color: var(--cinnabar); }
.breadcrumb [aria-current="page"] { color: var(--cinnabar); }

/* ---------- Hero 主视觉 ---------- */
.hero {
  position: relative;
  background:
    linear-gradient(160deg, rgba(158, 43, 37, 0.95) 0%, rgba(126, 33, 28, 0.92) 60%, rgba(43, 36, 32, 0.9) 100%);
  color: var(--white);
  padding: 96px 0;
  text-align: center;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(201, 160, 99, 0.25) 0, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(201, 160, 99, 0.18) 0, transparent 45%);
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero .kicker {
  font-family: var(--font-serif);
  color: var(--gold-light);
  letter-spacing: 0.35em;
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2.2rem, 5.5vw, 3.4rem);
  margin-bottom: 20px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}

.hero p {
  font-size: 1.1rem;
  max-width: 680px;
  margin: 0 auto 32px;
  color: rgba(255, 255, 255, 0.9);
}

.hero .actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 30px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  transition: all 0.25s ease;
  cursor: pointer;
  border: 1px solid transparent;
}

.btn--primary {
  background: var(--gold);
  color: var(--ink);
}
.btn--primary:hover {
  background: var(--gold-light);
  color: var(--ink);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(201, 160, 99, 0.35);
}

.btn--ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.6);
}
.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  transform: translateY(-2px);
}

.btn--outline {
  background: transparent;
  color: var(--cinnabar);
  border-color: var(--cinnabar);
}
.btn--outline:hover {
  background: var(--cinnabar);
  color: var(--white);
}

/* ---------- 定位条 ---------- */
.positioning {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.pos-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 22px;
  text-align: center;
  box-shadow: var(--shadow);
}

.pos-card .icon {
  font-size: 2rem;
  margin-bottom: 10px;
}

.pos-card h3 {
  color: var(--cinnabar);
  margin-bottom: 8px;
}

.pos-card p {
  color: var(--ink-light);
  font-size: 0.92rem;
  margin: 0;
}

/* ---------- 卡片网格 ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(43, 36, 32, 0.12);
}

.card h3 {
  color: var(--cinnabar);
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.card p {
  color: var(--ink-light);
  font-size: 0.95rem;
  margin-bottom: 0;
}

.card .tag {
  display: inline-block;
  background: var(--paper-deep);
  color: var(--cinnabar-deep);
  font-size: 0.78rem;
  padding: 3px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
}

/* ---------- 列表呈现 ---------- */
.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.feature-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 14px;
  color: var(--ink-light);
}

.feature-list li::before {
  content: "◆";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 0.8rem;
  top: 2px;
}

/* ---------- 数据展示 ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 20px;
  text-align: center;
  margin-top: 40px;
}

.stat .num {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--cinnabar);
}

.stat .label {
  color: var(--ink-light);
  font-size: 0.9rem;
}

/* ---------- FAQ ---------- */
.faq-list details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 14px;
  overflow: hidden;
}

.faq-list summary {
  padding: 18px 22px;
  cursor: pointer;
  font-weight: 600;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--ink);
  position: relative;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-list summary::-webkit-details-marker { display: none; }

.faq-list summary::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--gold);
  line-height: 1;
  transition: transform 0.2s ease;
}

.faq-list details[open] summary::after {
  transform: rotate(45deg);
}

.faq-list .faq-a {
  padding: 0 22px 20px;
  color: var(--ink-light);
  border-top: 1px dashed var(--line);
  padding-top: 14px;
}

/* ---------- 表格 ---------- */
.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

th, td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

th {
  background: var(--cinnabar);
  color: var(--white);
  font-family: var(--font-serif);
  font-weight: 600;
}

tr:last-child td { border-bottom: none; }
tbody tr:hover { background: var(--paper); }

/* ---------- 联系方式 ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.contact-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}

.contact-card h3 {
  color: var(--cinnabar);
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.contact-card p {
  color: var(--ink-light);
  margin: 0;
  font-size: 0.95rem;
}

.contact-card .big {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--ink);
}

/* ---------- 页脚 ---------- */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.75);
  padding: 48px 0 24px;
  margin-top: 40px;
}

.site-footer a {
  color: var(--gold-light);
}

.site-footer a:hover { color: var(--white); }

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 28px;
  margin-bottom: 28px;
}

.site-footer h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 14px;
  letter-spacing: 0.06em;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer li {
  margin-bottom: 8px;
  font-size: 0.9rem;
}

.site-footer .copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 20px;
  text-align: center;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ---------- 响应式 ---------- */
@media (max-width: 768px) {
  .section { padding: 44px 0; }

  .nav-toggle { display: block; }

  .main-nav {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
  }

  .main-nav.open { display: block; }

  .main-nav ul {
    flex-direction: column;
    gap: 0;
    padding: 10px 20px;
  }

  .main-nav a {
    display: block;
    padding: 12px 0;
    border-bottom: 1px dashed var(--line);
  }

  .hero { padding: 64px 0; }
  .hero .actions { flex-direction: column; }
}

/* ==========================================================================
   客片作品集 · 图片版式（2026-09 新增）
   ========================================================================== */

/* 图片通用 */
img { max-width: 100%; height: auto; }

/* 图墙 */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 18px;
  margin-top: 32px;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  background: var(--paper-deep);
  margin: 0;
}
.gallery-item img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 16px;
  color: #fff;
  font-size: 0.88rem;
  line-height: 1.5;
  background: linear-gradient(180deg, transparent, rgba(43, 36, 32, 0.8));
}
.gallery-item figcaption strong {
  display: block;
  color: #fff;
  font-family: var(--font-serif);
  font-size: 0.98rem;
  margin-bottom: 2px;
}
/* 双列大图 */
.gallery-grid--wide { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
.gallery-grid--wide .gallery-item img { aspect-ratio: 4 / 5; }

/* 风格分组标题 */
.style-block { margin-top: 56px; }
.style-block > h3 {
  font-size: 1.35rem;
  color: var(--cinnabar);
  padding-left: 14px;
  border-left: 4px solid var(--gold);
  margin-bottom: 6px;
}
.style-block > .style-desc {
  color: var(--ink-light);
  font-size: 0.95rem;
  margin: 0 0 4px;
  padding-left: 14px;
}

/* 图文左右分栏 */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
}
.split img { border-radius: var(--radius-lg); box-shadow: var(--shadow); width: 100%; }
.split .split-text h3 { color: var(--cinnabar); margin-bottom: 12px; }
@media (max-width: 768px) { .split { grid-template-columns: 1fr; gap: 20px; } }

/* 正文插图 */
.content-figure { margin: 26px 0; }
.content-figure img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }
.content-figure figcaption {
  font-size: 0.85rem;
  color: var(--ink-light);
  text-align: center;
  margin-top: 10px;
}

/* 二维码卡片 */
.qr-card {
  display: inline-block;
  text-align: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow);
}
.qr-card img { width: 180px; height: 180px; object-fit: contain; margin: 0 auto 12px; border-radius: 8px; }
.qr-card p { font-size: 0.85rem; color: var(--ink-light); margin: 0; }

/* 品牌 logo */
.brand-logo { height: 72px; width: auto; border-radius: 8px; box-shadow: var(--shadow); }

/* 辅助类 ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-2 { margin-bottom: 2rem; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
