/* ============================================================
   异域舞韵 · 民族绣花舞服跨境独立站
   配色：复古藏红 / 印度金 / 暖橙 / 静谧黛绿 / 米白 / 浅棕
   ============================================================ */

:root {
  --saffron: #b5402e;     /* 复古藏红 */
  --saffron-d: #932d1f;
  --gold: #c4a14b;        /* 轻奢印度金 */
  --gold-l: #d8bd74;
  --orange: #e08a3c;      /* 温润暖橙 */
  --green: #2e5a4f;       /* 静谧黛绿 */
  --green-d: #21453c;
  --cream: #f7f1e3;       /* 米白 */
  --cream-2: #efe6d2;
  --brown: #c9b79c;       /* 浅棕 */
  --ink: #3a2e26;         /* 主文字 */
  --ink-soft: #6b5a4d;
  --paper: #fffdf7;
  --shadow: 0 18px 40px -22px rgba(58, 46, 38, .45);
  --shadow-sm: 0 8px 22px -14px rgba(58, 46, 38, .4);
  --radius: 18px;
  --maxw: 1240px;
  --serif: "Noto Serif SC", "Songti SC", Georgia, serif;
  --sans: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
  /* 蜡染肌理底纹 */
  background-image:
    radial-gradient(circle at 20% 12%, rgba(196,161,75,.10), transparent 38%),
    radial-gradient(circle at 82% 28%, rgba(181,64,46,.08), transparent 40%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Cpath d='M30 0l4 16 14-10-6 16 16 4-16 6 6 16-14-10-4 16-4-16-14 10 6-16-16-4 16-6-6-16 14 10z' fill='%23c9b79c' fill-opacity='0.05'/%3E%3C/svg%3E");
  background-attachment: fixed;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

/* ---------- 通用容器 / 标题 ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
section { padding: 84px 0; position: relative; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--serif);
  letter-spacing: .22em; text-transform: uppercase;
  font-size: 13px; color: var(--saffron);
  margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: var(--gold); }
.section-title {
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.2; margin: 0 0 10px; color: var(--ink);
}
.section-sub { color: var(--ink-soft); max-width: 640px; margin: 0 auto 48px; }

/* ---------- 语言切换按钮 ---------- */
.lang-toggle {
  display: inline-flex; align-items: center; gap: 6px;
  border: 1px solid var(--gold); border-radius: 999px;
  padding: 5px; background: var(--paper);
}
.lang-toggle button {
  border: none; background: transparent; color: var(--ink-soft);
  font-size: 13px; font-weight: 600; padding: 4px 12px; border-radius: 999px;
  transition: .25s;
}
.lang-toggle button.active { background: var(--saffron); color: #fff; }

/* ---------- 顶部导航 ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(247,241,227,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(196,161,75,.35);
  transition: .3s;
}
.nav {
  max-width: var(--maxw); margin: 0 auto; padding: 0 22px;
  height: 70px; display: flex; align-items: center; gap: 20px;
}
.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.brand .logo { width: 40px; height: 40px; }
.brand .name { font-family: var(--serif); font-weight: 700; font-size: 19px; color: var(--ink); line-height: 1; }
.brand .name small { display: block; font-size: 11px; letter-spacing: .25em; color: var(--saffron); font-weight: 600; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  padding: 8px 13px; border-radius: 10px; font-size: 14.5px; font-weight: 500;
  color: var(--ink-soft); transition: .2s; white-space: nowrap;
}
.nav-links a:hover { color: var(--saffron); background: rgba(181,64,46,.07); }
.nav-actions { display: flex; align-items: center; gap: 14px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 22px; border-radius: 999px; border: none;
  font-weight: 600; font-size: 14.5px; transition: .25s;
}
.btn-primary { background: linear-gradient(135deg, var(--saffron), var(--orange)); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover { background: var(--gold-l); }
.btn-ghost { background: transparent; border: 1.5px solid var(--saffron); color: var(--saffron); }
.btn-ghost:hover { background: var(--saffron); color: #fff; }
.hamburger { display: none; background: none; border: none; flex-direction: column; gap: 5px; padding: 8px; }
.hamburger span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: .3s; }

/* ---------- 英雄区 ---------- */
.hero {
  padding: 140px 0 90px;
  background:
    radial-gradient(ellipse at 78% 20%, rgba(224,138,60,.18), transparent 55%),
    radial-gradient(ellipse at 12% 80%, rgba(46,90,79,.14), transparent 50%),
    linear-gradient(180deg, var(--cream-2), var(--cream));
  overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 50px; align-items: center; }
.hero h1 {
  font-family: var(--serif); font-size: clamp(34px, 5.4vw, 60px);
  line-height: 1.12; margin: 14px 0 18px; color: var(--ink);
}
.hero h1 .hl { color: var(--saffron); position: relative; }
.hero p.lead { font-size: 17px; color: var(--ink-soft); max-width: 520px; margin-bottom: 30px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 34px; margin-top: 42px; flex-wrap: wrap; }
.hero-stats .num { font-family: var(--serif); font-size: 30px; color: var(--green); font-weight: 700; }
.hero-stats .lbl { font-size: 13px; color: var(--ink-soft); }
.hero-visual { position: relative; }
.mandala {
  position: absolute; inset: -40px; margin: auto; width: 460px; height: 460px;
  opacity: .5; animation: spin 60s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.hero-card {
  position: relative; z-index: 2; background: var(--paper);
  border-radius: 24px; padding: 26px; border: 1px solid rgba(196,161,75,.4);
  box-shadow: var(--shadow);
}
.hero-card .tag {
  display: inline-block; font-size: 12px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold); font-weight: 700; margin-bottom: 10px;
}
.hero-card h3 { font-family: var(--serif); font-size: 22px; margin: 0 0 6px; }
.hero-card .price { color: var(--saffron); font-weight: 700; font-size: 20px; }
.hero-card .swatches { display: flex; gap: 8px; margin-top: 16px; }
.hero-card .swatches i { width: 22px; height: 22px; border-radius: 50%; display: block; box-shadow: inset 0 0 0 2px #fff; }

/* ---------- 通用卡片 / 雕花边框 ---------- */
.carved {
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  position: relative;
  background: var(--paper);
}
.carved::before, .carved::after {
  content: ""; position: absolute; width: 26px; height: 26px;
  border: 2px solid var(--gold); opacity: .7;
}
.carved::before { top: 8px; left: 8px; border-right: none; border-bottom: none; border-top-left-radius: 8px; }
.carved::after { bottom: 8px; right: 8px; border-left: none; border-top: none; border-bottom-right-radius: 8px; }

/* ---------- 品类专区 ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.cat-card { padding: 30px 26px; text-align: center; transition: .3s; overflow: hidden; }
.cat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.cat-icon { width: 76px; height: 76px; margin: 0 auto 18px; }
.cat-card h3 { font-family: var(--serif); font-size: 22px; margin: 0 0 8px; }
.cat-card p { color: var(--ink-soft); font-size: 14.5px; margin: 0 0 16px; min-height: 64px; }
.cat-card .more { color: var(--saffron); font-weight: 600; font-size: 14px; }

/* ---------- 产品展示 ---------- */
.filter-bar { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 40px; }
.filter-bar button {
  border: 1.5px solid var(--brown); background: var(--paper); color: var(--ink-soft);
  padding: 8px 18px; border-radius: 999px; font-size: 14px; font-weight: 500; transition: .2s;
}
.filter-bar button.active, .filter-bar button:hover { background: var(--green); color: #fff; border-color: var(--green); }
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.product {
  background: var(--paper); border-radius: var(--radius); overflow: hidden;
  border: 1px solid rgba(196,161,75,.3); transition: .3s; display: flex; flex-direction: column;
}
.product:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.product .thumb { aspect-ratio: 1/1; position: relative; display: grid; place-items: center; }
.product .thumb svg { width: 100%; height: 100%; }
.product .badge {
  position: absolute; top: 12px; left: 12px; background: var(--saffron); color: #fff;
  font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 999px; letter-spacing: .05em;
}
.product .badge.gold { background: var(--gold); }
.product .badge.green { background: var(--green); }
.product .body { padding: 16px 16px 20px; display: flex; flex-direction: column; flex: 1; }
.product .cat-mini { font-size: 11px; letter-spacing: .15em; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.product h4 { font-family: var(--serif); font-size: 17px; margin: 4px 0 6px; line-height: 1.35; }
.product .desc { font-size: 13px; color: var(--ink-soft); margin: 0 0 12px; flex: 1; }
.product .foot { display: flex; align-items: center; justify-content: space-between; }
.product .price { color: var(--saffron); font-weight: 700; font-size: 17px; }
.product .price small { color: var(--ink-soft); font-weight: 400; font-size: 12px; }
.product .add { border: 1.5px solid var(--saffron); background: transparent; color: var(--saffron); border-radius: 999px; padding: 6px 14px; font-size: 13px; font-weight: 600; transition: .2s; }
.product .add:hover { background: var(--saffron); color: #fff; }

/* ---------- 核心优势 ---------- */
.adv-section { background: linear-gradient(180deg, var(--green-d), var(--green)); color: #fff; }
.adv-section .section-title, .adv-section .eyebrow { color: #fff; }
.adv-section .eyebrow { color: var(--gold-l); }
.adv-section .section-sub { color: rgba(255,255,255,.8); }
.adv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.adv-card { background: rgba(255,255,255,.07); border: 1px solid rgba(216,189,116,.3); border-radius: var(--radius); padding: 28px 22px; transition: .3s; }
.adv-card:hover { background: rgba(255,255,255,.13); transform: translateY(-4px); }
.adv-card .ic { width: 50px; height: 50px; margin-bottom: 16px; }
.adv-card h4 { font-family: var(--serif); font-size: 19px; margin: 0 0 8px; }
.adv-card p { font-size: 14px; color: rgba(255,255,255,.82); margin: 0; }

/* ---------- 关于我们 ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; align-items: center; }
.about-text h2 { font-family: var(--serif); font-size: clamp(26px, 3.4vw, 38px); margin: 8px 0 18px; }
.about-text p { color: var(--ink-soft); margin-bottom: 16px; }
.about-list { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.about-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--ink); }
.about-list .dot { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--gold); color: #fff; display: grid; place-items: center; font-size: 13px; font-weight: 700; }
.about-visual { position: relative; }
.about-visual .frame {
  border-radius: 24px; overflow: hidden; border: 2px solid var(--gold);
  box-shadow: var(--shadow); aspect-ratio: 4/5; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--saffron), var(--orange));
}
.about-visual .mandala-2 { position: absolute; inset: 0; margin: auto; width: 280px; height: 280px; opacity: .35; }

/* ---------- 询盘表单 ---------- */
.inquiry { background: linear-gradient(180deg, var(--cream), var(--cream-2)); }
.inquiry-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 50px; align-items: start; }
.inquiry-info h2 { font-family: var(--serif); font-size: clamp(26px, 3.4vw, 38px); margin: 8px 0 16px; }
.inquiry-info p { color: var(--ink-soft); margin-bottom: 22px; }
.info-row { display: flex; gap: 14px; align-items: center; margin-bottom: 16px; }
.info-row .ic { width: 42px; height: 42px; border-radius: 12px; background: var(--paper); border: 1px solid var(--gold); display: grid; place-items: center; flex: none; }
.info-row .t { font-weight: 600; }
.info-row .s { font-size: 13px; color: var(--ink-soft); }
.form-card { padding: 30px; }
.form-card h3 { font-family: var(--serif); font-size: 22px; margin: 0 0 4px; }
.form-card .hint { font-size: 13px; color: var(--ink-soft); margin: 0 0 20px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 6px; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--brown); border-radius: 12px;
  background: #fff; font-family: inherit; font-size: 14.5px; color: var(--ink); transition: .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--saffron); box-shadow: 0 0 0 3px rgba(181,64,46,.12); }
.field textarea { resize: vertical; min-height: 96px; }
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-note { font-size: 12.5px; color: var(--ink-soft); margin-top: 6px; }
.form-success { display: none; background: rgba(46,90,79,.12); border: 1px solid var(--green); color: var(--green-d); padding: 14px 16px; border-radius: 12px; margin-bottom: 16px; font-weight: 600; }

/* ---------- 后台说明 ---------- */
.admin-section { background: var(--paper); }
.admin-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.admin-card { padding: 26px 24px; }
.admin-card .ic { width: 46px; height: 46px; margin-bottom: 14px; }
.admin-card h4 { font-family: var(--serif); font-size: 18px; margin: 0 0 8px; }
.admin-card p { font-size: 14px; color: var(--ink-soft); margin: 0; }

/* ---------- 页脚 ---------- */
.footer { background: var(--ink); color: rgba(255,255,255,.78); padding: 56px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 34px; }
.footer .brand .name { color: #fff; }
.footer .brand .name small { color: var(--gold-l); }
.footer h5 { color: #fff; font-size: 15px; margin: 0 0 14px; font-family: var(--serif); }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.footer ul a { color: rgba(255,255,255,.72); font-size: 14px; transition: .2s; }
.footer ul a:hover { color: var(--gold-l); }
.footer .sub { font-size: 13.5px; color: rgba(255,255,255,.6); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 36px; padding-top: 20px; text-align: center; font-size: 13px; color: rgba(255,255,255,.55); }

/* ---------- 滚动揭示动画 ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .adv-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 920px) {
  .nav-links {
    position: fixed; top: 70px; left: 0; right: 0; background: var(--cream);
    flex-direction: column; align-items: stretch; gap: 0; padding: 10px 16px 20px;
    border-bottom: 1px solid var(--gold); transform: translateY(-130%); transition: .3s;
    box-shadow: var(--shadow);
  }
  .nav-links.open { transform: none; }
  .nav-links a { padding: 13px 14px; border-radius: 10px; }
  .hamburger { display: flex; }
  .nav-actions .btn-primary { display: none; }
  .hero-grid, .about-grid, .inquiry-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 440px; margin: 0 auto; }
  .cat-grid { grid-template-columns: 1fr; }
  .admin-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  section { padding: 60px 0; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .adv-grid { grid-template-columns: 1fr; }
  .form-grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 22px; }
}
