/* ==========================================================================
   山西鼎彩发饰贸易有限公司 · 官网样式
   风格：简约大气 / 明亮克制 / 大量留白 / 细线分隔 / 品牌红点缀（LOGO 主色 #cb302b）
   ========================================================================== */

:root {
  /* 色板 */
  --ink: #17171a;
  --ink-2: #3d3d42;
  --ink-3: #6b6b72;
  --muted: #9a9aa2;
  --line: #e9e7e2;
  --line-soft: #f2f0ec;
  --bg: #ffffff;
  --bg-2: #faf9f6;
  --bg-3: #f4f2ee;

  --gold: #b7342b;
  --gold-2: #d9574a;
  --gold-soft: #f9efec;

  --danger: #c0392b;
  --ok: #2e7d5b;

  /* 排版 */
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;

  /* 尺寸 */
  --wrap: 1200px;
  --nav-h: 72px;
  --r-sm: 6px;
  --r: 12px;
  --r-lg: 20px;

  --shadow-sm: 0 1px 2px rgba(23, 23, 26, 0.04);
  --shadow: 0 8px 30px rgba(23, 23, 26, 0.06);
  --shadow-lg: 0 20px 60px rgba(23, 23, 26, 0.1);
}

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

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--ink);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(30px, 4.6vw, 54px);
  letter-spacing: -0.025em;
}
h2 {
  font-size: clamp(24px, 3vw, 36px);
  letter-spacing: -0.02em;
}
h3 {
  font-size: 19px;
}
h4 {
  font-size: 16px;
}

p {
  margin: 0;
}

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

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

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

/* 焦点可见性（无障碍） */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
  border-radius: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- 布局 ---------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 96px 0;
}
.section--soft {
  background: var(--bg-2);
}
.section--line {
  border-top: 1px solid var(--line);
}
.section--tight {
  padding: 64px 0;
}

.section-head {
  max-width: 720px;
  margin-bottom: 56px;
}
.section-head--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.section-head p {
  margin-top: 16px;
  font-size: 16.5px;
  color: var(--ink-3);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--gold-2);
}

/* ---------- 导航 ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-h);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}

.nav__inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 40px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
}

.brand__mark {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  background: #fff;
  overflow: hidden;
  display: grid;
  place-items: center;
}
.brand__mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.brand__name {
  font-size: 15.5px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.01em;
}
.brand__sub {
  font-size: 10.5px;
  letter-spacing: 0.14em;
  color: var(--muted);
  text-transform: uppercase;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 34px;
  margin-left: auto;
}

.nav__link {
  position: relative;
  font-size: 15px;
  color: var(--ink-2);
  padding: 6px 0;
  transition: color 0.18s ease;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 1.5px;
  background: var(--gold);
  transition: right 0.24s ease;
}
.nav__link:hover {
  color: var(--ink);
}
.nav__link:hover::after,
.nav__link.is-active::after {
  right: 0;
}
.nav__link.is-active {
  color: var(--ink);
  font-weight: 500;
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.nav__toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: #fff;
  cursor: pointer;
  place-items: center;
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  background: none;
}

.btn--primary {
  background: var(--gold);
  color: #fff;
  border-color: var(--gold);
}
.btn--primary:hover {
  background: #a02820;
  border-color: #a02820;
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn--ghost:hover {
  border-color: var(--ink);
  background: var(--bg-2);
}

.btn--gold {
  background: var(--gold);
  color: #fff;
  border-color: var(--gold);
}
.btn--gold:hover {
  background: #a02820;
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.btn--sm {
  padding: 8px 18px;
  font-size: 14px;
}
.btn--block {
  width: 100%;
}
.btn[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none !important;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  padding-bottom: 2px;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.text-link:hover {
  color: var(--gold);
  border-color: var(--gold-2);
}

/* ---------- 首屏 ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #fff 0%, var(--bg-2) 100%);
  padding: 88px 0 96px;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 0.86fr;
  gap: 64px;
  align-items: start;
}

.hero h1 {
  margin-bottom: 24px;
}
.hero h1 em {
  font-style: normal;
  color: var(--gold);
}

.hero__lead {
  font-size: 17.5px;
  color: var(--ink-3);
  max-width: 34em;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 40px;
}
.hero__meta div {
  display: flex;
  flex-direction: column;
  padding: 2px 34px;
  border-left: 1px solid var(--line);
}
.hero__meta div:first-child {
  padding-left: 0;
  border-left: 0;
}
.hero__meta strong {
  font-size: 22px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.hero__meta span {
  font-size: 13px;
  color: var(--muted);
  margin-top: 3px;
}

.hero__art {
  position: relative;
}
.hero__art svg {
  width: 100%;
  height: auto;
}
.hero__art img {
  width: 100%;
  aspect-ratio: 13 / 12;
  object-fit: cover;
  border-radius: 26px;
  display: block;
  box-shadow: var(--shadow);
}
.hero__art--line img {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: fill;
  display: block;
  border-radius: 26px;
  border: 1px solid #f0e0d3;
  box-shadow: var(--shadow);
}

/* ---------- 工艺与原料 ---------- */
.craft-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.craft {
  margin: 0;
}
.craft img {
  width: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  border-radius: var(--r);
  display: block;
  box-shadow: var(--shadow-sm);
}
.craft figcaption {
  margin-top: 14px;
}
.craft strong {
  display: block;
  color: var(--ink);
  font-size: 16px;
  font-weight: 600;
}
.craft span {
  display: block;
  margin-top: 6px;
  color: var(--ink-3);
  font-size: 14.5px;
  line-height: 1.7;
}

/* ---------- 卡片网格 ---------- */
.grid {
  display: grid;
  gap: 26px;
}
.grid--2 {
  grid-template-columns: repeat(2, 1fr);
}
.grid--3 {
  grid-template-columns: repeat(3, 1fr);
}
.grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

/* ---------- 实力条 ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.stat {
  background: var(--bg);
  padding: 32px 28px;
}
.stat--poster {
  padding: 0;
  margin: 0;
}
.stat--poster img {
  display: block;
  width: 100%;
  height: auto;
}
.brand-banner {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.process-illustration {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 40px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.stat strong {
  display: block;
  font-size: 25px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.stat span {
  display: block;
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--ink-3);
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 32px 28px;
  transition: all 0.24s ease;
}
.card:hover {
  border-color: #dcd8d0;
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}
.card h3 {
  margin-bottom: 10px;
}
.card p {
  font-size: 15px;
  color: var(--ink-3);
}

.card__icon {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  background: var(--gold-soft);
  color: var(--gold);
  display: grid;
  place-items: center;
  margin-bottom: 20px;
}

.card--plain {
  background: transparent;
  border: none;
  border-top: 1px solid var(--line);
  border-radius: 0;
  padding: 26px 0 0;
}
.card--plain:hover {
  transform: none;
  box-shadow: none;
  border-color: var(--gold-2);
}

/* ---------- 流程 ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
  counter-reset: step;
}
.step {
  position: relative;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  position: absolute;
  top: 30px;
  right: 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--gold-2);
  letter-spacing: 0.08em;
}
.step h4 {
  margin-bottom: 8px;
}
.step p {
  font-size: 14.5px;
  color: var(--ink-3);
}

/* ---------- 分类切换 ---------- */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}
.chip {
  padding: 9px 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-size: 14.5px;
  color: var(--ink-2);
  cursor: pointer;
  transition: all 0.18s ease;
}
.chip:hover {
  border-color: var(--ink-3);
  color: var(--ink);
}
.chip.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

/* ---------- 产品卡 ---------- */
.product {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  transition: all 0.24s ease;
}
.product:hover {
  border-color: #dcd8d0;
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.product__media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--bg-3);
  overflow: hidden;
  display: grid;
  place-items: center;
}
.product__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.product__media .ph {
  color: var(--gold-2);
  opacity: 0.9;
}

.product__tag {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 5px 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: 0.02em;
  backdrop-filter: blur(6px);
}

.product__body {
  padding: 22px 22px 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.product__body h3 {
  font-size: 17px;
  margin-bottom: 8px;
}
.product__body p {
  font-size: 14.5px;
  color: var(--ink-3);
  flex: 1;
}
.product__foot {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line-soft);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.product__foot:has(> a:only-child) {
  justify-content: flex-end;
}
.product__price {
  font-size: 16px;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: -0.01em;
}
.product__price small {
  font-size: 12.5px;
  font-weight: 400;
  color: var(--muted);
  margin-left: 3px;
}

/* ---------- 文字块 ---------- */
.prose {
  max-width: 72ch;
}
.prose p + p {
  margin-top: 20px;
}
.prose h3 {
  margin: 40px 0 14px;
}

.pull {
  padding: 30px 0 30px 28px;
  border-left: 2px solid var(--gold-2);
  font-size: 19px;
  line-height: 1.7;
  color: var(--ink);
  font-weight: 500;
}

/* ---------- 时间线 ---------- */
.timeline {
  position: relative;
  padding-left: 30px;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: var(--line);
}
.timeline__item {
  position: relative;
  padding-bottom: 36px;
}
.timeline__item:last-child {
  padding-bottom: 0;
}
.timeline__item::before {
  content: "";
  position: absolute;
  left: -30px;
  top: 9px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--gold-2);
}
.timeline__year {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 6px;
}
.timeline__item h4 {
  margin-bottom: 6px;
}
.timeline__item p {
  font-size: 15px;
  color: var(--ink-3);
}

/* ---------- 表格化信息 ---------- */
.info-list {
  border-top: 1px solid var(--line);
}
.info-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.info-row dt {
  font-size: 14px;
  color: var(--muted);
  letter-spacing: 0.02em;
}
.info-row dd {
  margin: 0;
  font-size: 16px;
  color: var(--ink);
}

/* ---------- 表单 ---------- */
.form {
  display: grid;
  gap: 20px;
}
.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.field > label {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-2);
  letter-spacing: 0.01em;
}
.field .hint {
  font-size: 12.5px;
  color: var(--muted);
}

.input,
.textarea,
.select {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: #fff;
  font-size: 15px;
  color: var(--ink);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.input::placeholder,
.textarea::placeholder {
  color: #b5b5bb;
}
.input:focus,
.textarea:focus,
.select:focus {
  outline: none;
  border-color: var(--gold-2);
  box-shadow: 0 0 0 3px rgba(201, 168, 101, 0.16);
}
.textarea {
  min-height: 132px;
  resize: vertical;
  line-height: 1.7;
}
.select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%236b6b72' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

.field.has-error .input,
.field.has-error .textarea,
.field.has-error .select {
  border-color: var(--danger);
}
.field-error {
  font-size: 12.5px;
  color: var(--danger);
  min-height: 0;
}

.input-group {
  display: flex;
  gap: 10px;
}
.input-group .input {
  flex: 1;
  min-width: 0;
}
.input-group .btn {
  flex-shrink: 0;
}

/* ---------- 提示条 ---------- */
.alert {
  display: none;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 15px;
  border-radius: var(--r-sm);
  font-size: 14px;
  line-height: 1.6;
}
.alert.is-show {
  display: flex;
}
.alert--error {
  background: #fdf4f3;
  border: 1px solid #f2d7d3;
  color: #a2372a;
}
.alert--ok {
  background: #f2f8f4;
  border: 1px solid #d3e8dc;
  color: #22694c;
}
.alert--info {
  background: var(--bg-2);
  border: 1px solid var(--line);
  color: var(--ink-3);
}

/* ---------- 状态块 ---------- */
.empty {
  padding: 64px 24px;
  text-align: center;
  border: 1px dashed var(--line);
  border-radius: var(--r);
  color: var(--muted);
  font-size: 15px;
  background: var(--bg-2);
}

.skeleton {
  border-radius: var(--r);
  background: linear-gradient(90deg, #f4f2ee 25%, #ecebe7 37%, #f4f2ee 63%);
  background-size: 400% 100%;
  animation: sk 1.3s ease infinite;
}
@keyframes sk {
  0% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0 50%;
  }
}
.skeleton--card {
  height: 330px;
}

/* ---------- 页脚 ---------- */
.footer {
  border-top: 1px solid var(--line);
  background: var(--bg-2);
  padding: 64px 0 32px;
  margin-top: 0;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 44px;
  padding-bottom: 44px;
}
.footer h4 {
  font-size: 13.5px;
  letter-spacing: 0.06em;
  color: var(--ink);
  margin-bottom: 18px;
  text-transform: uppercase;
}
.footer__links {
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.footer__links a,
.footer__links span {
  font-size: 14.5px;
  color: var(--ink-3);
  transition: color 0.18s ease;
}
.footer__links a:hover {
  color: var(--gold);
}
.footer__about {
  font-size: 14.5px;
  color: var(--ink-3);
  max-width: 34ch;
  margin-top: 16px;
}
.footer__bottom {
  border-top: 1px solid var(--line);
  padding-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  font-size: 13px;
  color: var(--muted);
}

/* ---------- 模态框 ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal.is-open {
  display: flex;
}
.modal__mask {
  position: absolute;
  inset: 0;
  background: rgba(23, 23, 26, 0.42);
  backdrop-filter: blur(3px);
}
.modal__panel {
  position: relative;
  width: 100%;
  max-width: 452px;
  max-height: calc(100dvh - 48px);
  overflow-y: auto;
  background: #fff;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  padding: 34px 32px 30px;
  animation: pop 0.22s ease;
}
@keyframes pop {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.985);
  }
}
.modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 34px;
  height: 34px;
  border: none;
  background: none;
  border-radius: 50%;
  cursor: pointer;
  color: var(--muted);
  display: grid;
  place-items: center;
}
.modal__close:hover {
  background: var(--bg-3);
  color: var(--ink);
}
.modal__head {
  margin-bottom: 24px;
}
.modal__head h3 {
  font-size: 22px;
  margin-bottom: 8px;
}
.modal__head p {
  font-size: 14.5px;
  color: var(--ink-3);
}

/* 登录方式切换 */
.tabs {
  display: flex;
  gap: 4px;
  padding: 4px;
  background: var(--bg-3);
  border-radius: 999px;
  margin-bottom: 22px;
}
.tab {
  flex: 1;
  padding: 9px 12px;
  border: none;
  background: none;
  border-radius: 999px;
  font-size: 14.5px;
  color: var(--ink-3);
  cursor: pointer;
  transition: all 0.18s ease;
}
.tab.is-active {
  background: #fff;
  color: var(--ink);
  font-weight: 500;
  box-shadow: var(--shadow-sm);
}

.divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 22px 0;
  font-size: 12.5px;
  color: var(--muted);
}
.divider::before,
.divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

.wechat-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-size: 15px;
  color: var(--ink);
  cursor: pointer;
  transition: all 0.18s ease;
}
.wechat-btn:hover {
  border-color: #07c160;
  color: #07c160;
  background: #f6fdf9;
}

.form__foot {
  margin-top: 18px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 13.5px;
}
.form__foot button {
  border: none;
  background: none;
  color: var(--gold);
  cursor: pointer;
  padding: 0;
  font-size: 13.5px;
}
.form__foot button:hover {
  text-decoration: underline;
}

/* ---------- 用户头像按钮 ---------- */
.user-chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 5px 14px 5px 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  cursor: pointer;
  transition: all 0.18s ease;
  font-size: 14.5px;
  color: var(--ink);
}
.user-chip:hover {
  border-color: var(--gold-2);
}
.user-chip__avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--gold-soft);
  color: var(--gold);
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 600;
  overflow: hidden;
  flex-shrink: 0;
}
.user-chip__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- 上传区 ---------- */
.uploader {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  border: 1px dashed var(--line);
  border-radius: var(--r);
  background: var(--bg-2);
}
.uploader__preview {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--muted);
  overflow: hidden;
  flex-shrink: 0;
}
.uploader__preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.attach-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: #fff;
  font-size: 14px;
}
.attach-item__name {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--ink);
}
.attach-item__size {
  font-size: 12.5px;
  color: var(--muted);
  flex-shrink: 0;
}
.attach-item__del {
  border: none;
  background: none;
  color: var(--muted);
  cursor: pointer;
  padding: 2px;
  border-radius: 4px;
  display: grid;
  place-items: center;
}
.attach-item__del:hover {
  color: var(--danger);
  background: #fdf4f3;
}

/* ---------- 个人中心 ---------- */
.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 32px;
}
.panel + .panel {
  margin-top: 26px;
}
.panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.panel__head h3 {
  font-size: 18px;
}

.record {
  padding: 18px 0;
  border-bottom: 1px solid var(--line-soft);
}
.record:last-child {
  border-bottom: none;
}
.record__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  font-size: 12.5px;
  color: var(--muted);
  margin-bottom: 8px;
}
.record__text {
  font-size: 15px;
  color: var(--ink-2);
  white-space: pre-wrap;
  word-break: break-word;
}

.page-head {
  padding: 64px 0 56px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
}
.page-head h1 {
  font-size: clamp(28px, 3.6vw, 42px);
}
.page-head p {
  margin-top: 16px;
  max-width: 60ch;
  color: var(--ink-3);
  font-size: 16.5px;
}

.crumb {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 18px;
}
.crumb a:hover {
  color: var(--gold);
}
.crumb span {
  margin: 0 8px;
  color: var(--line);
}

/* ---------- CTA ---------- */
.cta {
  background: var(--gold-soft);
  border: 1px solid #e9dfc9;
  border-radius: var(--r-lg);
  padding: 60px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.cta p {
  color: var(--ink-3);
  margin-top: 14px;
  max-width: 46ch;
}

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .hero__grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .hero__art {
    max-width: 520px;
  }
  .grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .craft-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 860px) {
  .nav__links {
    display: none;
  }
  .craft-grid {
    grid-template-columns: 1fr;
  }
  .nav__links.is-open {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    margin: 0;
    padding: 14px 24px 20px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  .nav__links.is-open .nav__link {
    width: 100%;
    padding: 11px 0;
    font-size: 16px;
  }
  .nav__toggle {
    display: grid;
    order: 3;
  }
  .nav__inner {
    gap: 14px;
  }
  .grid--3,
  .grid--2 {
    grid-template-columns: 1fr;
  }
  .section {
    padding: 68px 0;
  }
  .cta {
    padding: 44px 30px;
  }
  .page-head {
    padding: 44px 0 40px;
  }
  .form__row {
    grid-template-columns: 1fr;
  }
  .info-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

@media (max-width: 560px) {
  .wrap {
    padding: 0 18px;
  }
  .grid--4,
  .steps,
  .stats {
    grid-template-columns: 1fr;
  }
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .hero {
    padding: 56px 0 66px;
  }
  .hero__meta div {
    padding: 2px 18px;
  }
  .panel,
  .card {
    padding: 24px 20px;
  }
  .modal__panel {
    padding: 28px 22px 24px;
  }
  .brand__sub {
    display: none;
  }
  .user-chip span {
    display: none;
  }
  .user-chip {
    padding: 5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ============ 男士专区案例对比 ============ */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.case {
  margin: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.case img {
  display: block;
  width: 100%;
  height: auto;
}
.case__cap {
  padding: 10px 14px;
  font-size: 13px;
  color: var(--ink-3, #6b7280);
  border-top: 1px solid var(--line, #eee);
  background: #fcfcfb;
  text-align: center;
}
.filters--sub {
  margin-bottom: 24px;
}
.filters--sub .chip {
  padding: 6px 14px;
  font-size: 13px;
}
@media (max-width: 760px) {
  .cases-grid { grid-template-columns: 1fr; gap: 16px; }
}

/* ---------- 假发定做三卡 ---------- */
.custom-card { padding: 20px 20px 28px; }
.custom-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 14px;
  margin-bottom: 22px;
}
.custom-card h3 { margin-bottom: 10px; }

/* ---------- 服务内容四卡（带图） ---------- */
.service-card { padding: 20px 20px 28px; }
.service-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 14px;
  margin-bottom: 18px;
}
.service-card h3 { margin-bottom: 8px; }
.service-card p { font-size: 14px; }

/* ---------- 价值观三卡（带图） ---------- */
.value-card { padding: 20px 20px 28px; }
.value-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 14px;
  margin-bottom: 18px;
}
.value-card h3 { margin-bottom: 8px; }

/* ---------- 发展历程三阶段卡 ---------- */
.mile-card { padding: 18px 18px 28px; }
.mile-card__media {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 20px;
  background: var(--soft);
}
.mile-card__media img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}
.mile-card__badge {
  position: absolute;
  left: 14px;
  top: 14px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--gold);
  color: #fff;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  box-shadow: 0 4px 12px rgba(0,0,0,.12);
}
.mile-card h4 { margin-bottom: 8px; }

/* ---------- 定制流程步骤配图 ---------- */
.step__img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
}

/* ---------- 服务三卡（带图 4:3） ---------- */
.serve-card { padding: 18px 18px 28px; }
.serve-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 14px;
  margin-bottom: 20px;
}
.serve-card h3 { margin-bottom: 8px; }

/* ---------- 移动端底部浮条（一键拨号/留言） ---------- */
#mBar {
  display: none;
}
@media (max-width: 760px) {
  #mBar {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 999;
    display: flex;
    gap: 10px;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255,255,255,.96);
    border-top: 1px solid var(--line, #eee);
    box-shadow: 0 -4px 16px rgba(0,0,0,.06);
  }
  .mbar__btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 0;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
  }
  .mbar__btn--ghost {
    border: 1px solid var(--line, #ddd);
    color: var(--ink, #222);
    background: #fff;
  }
  .mbar__btn--call {
    background: var(--brand, #cb302b);
    color: #fff;
  }
  body.has-mbar .footer { padding-bottom: 84px; }
}

/* ---------- 联系电话链接 ---------- */
.footer__links a[href^="tel:"],
.info-row dd a[href^="tel:"] {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color .2s, border-color .2s;
}
.footer__links a[href^="tel:"]:hover,
.info-row dd a[href^="tel:"]:hover {
  color: var(--brand, #cb302b);
  border-bottom-color: currentColor;
}
.info-row dd a[href^="tel:"] {
  font-variant-numeric: tabular-nums;
}

/* ---------- 门店实景相册 ---------- */
.store-grid {
  column-count: 3;
  column-gap: 18px;
}
.store-item {
  margin: 0 0 18px;
  break-inside: avoid;
  background: #fff;
  border: 1px solid var(--line, #eee);
  border-radius: var(--r, 10px);
  overflow: hidden;
  box-shadow: var(--shadow-sm, 0 2px 8px rgba(0,0,0,.04));
}
.store-item img {
  display: block;
  width: 100%;
  height: auto;
}
.store-item figcaption {
  padding: 8px 12px;
  font-size: 13px;
  color: var(--ink-3, #6b7280);
  text-align: center;
  border-top: 1px solid var(--line, #eee);
}
@media (max-width: 900px) {
  .store-grid { column-count: 2; column-gap: 12px; }
  .store-item { margin-bottom: 12px; }
}
