/* ==========================================================
   创佳全品类服饰 - 官网样式
   ========================================================== */

:root {
  --ink: #1c1915;
  --ink-soft: #4a443c;
  --muted: #7d766b;
  --bg: #faf8f4;
  --bg-soft: #f3efe7;
  --card: #ffffff;
  --gold: #c9a45c;
  --gold-deep: #a9833e;
  --line: #e8e2d7;
  --white: #ffffff;
  --shadow: 0 18px 44px rgba(28, 25, 21, 0.08);
  --shadow-lg: 0 26px 60px rgba(28, 25, 21, 0.14);
  --radius: 14px;
  --radius-lg: 22px;
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-serif: "Songti SC", "Noto Serif SC", "STSong", "SimSun", serif;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --header-h: 76px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }

.container {
  width: min(1180px, 92%);
  margin-inline: auto;
}

.section { padding: 96px 0; }

/* ---------- 通用标题 ---------- */
.section-head { margin-bottom: 52px; max-width: 640px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 {
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.02em;
  margin-bottom: 14px;
}
.section-head h2 em {
  font-style: normal;
  color: var(--gold-deep);
  font-family: var(--font-serif);
}
.section-head .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--gold-deep);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.section-head .eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--gold);
}
.section-head.center .eyebrow::after {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--gold);
}
.section-lead { color: var(--muted); font-size: 16px; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.04em;
  border: 1px solid transparent;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.btn-lg { padding: 15px 34px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-gold {
  background: linear-gradient(135deg, #d8b46e, var(--gold) 45%, var(--gold-deep));
  color: #fff;
  box-shadow: 0 10px 24px rgba(169, 131, 62, 0.35);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 16px 30px rgba(169, 131, 62, 0.42); }
.btn-ghost { border-color: rgba(255, 255, 255, 0.7); color: #fff; background: rgba(255, 255, 255, 0.06); backdrop-filter: blur(4px); }
.btn-ghost:hover { background: #fff; color: var(--ink); transform: translateY(-2px); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; transform: translateY(-2px); box-shadow: var(--shadow); }

/* ---------- 顶部导航 ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease), height 0.35s var(--ease);
}
.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  background: var(--ink);
  color: var(--gold);
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
  border-radius: 10px;
  flex-shrink: 0;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text strong {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #fff;
}
.brand-text small {
  font-size: 10px;
  letter-spacing: 0.3em;
  color: rgba(255, 255, 255, 0.72);
  text-transform: uppercase;
  white-space: nowrap;
}
.brand-light .brand-text strong { color: #fff; }
.brand-light .brand-text small { color: rgba(255, 255, 255, 0.55); }

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-link {
  position: relative;
  font-size: 15px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.04em;
  padding: 6px 0;
  transition: color 0.3s var(--ease);
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width 0.3s var(--ease);
}
.nav-link:hover, .nav-link.active { color: #fff; }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.nav-cta { padding: 10px 22px; font-size: 14px; }

/* 滚动后的导航 */
.site-header.scrolled {
  background: rgba(250, 248, 244, 0.96);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 24px rgba(28, 25, 21, 0.08);
  height: 68px;
}
.site-header.scrolled .brand-text strong { color: var(--ink); }
.site-header.scrolled .brand-text small { color: var(--muted); }
.site-header.scrolled .brand-mark { background: var(--ink); color: var(--gold); }
.site-header.scrolled .nav-link { color: var(--ink-soft); }
.site-header.scrolled .nav-link:hover,
.site-header.scrolled .nav-link.active { color: var(--ink); }

/* 汉堡菜单 */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  background: transparent;
  border: none;
  border-radius: 8px;
  z-index: 110;
}
.nav-toggle span {
  display: block;
  width: 22px; height: 2px;
  margin-inline: auto;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.site-header.scrolled .nav-toggle span { background: var(--ink); }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
  background:
    radial-gradient(110% 90% at 12% 8%, rgba(201, 164, 92, 0.15) 0%, rgba(201, 164, 92, 0) 42%),
    linear-gradient(140deg, #1e2d44 0%, #172435 48%, #101720 100%);
}
/* 牛仔斜纹质感（纯 CSS，无需图片） */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(112deg, rgba(255, 255, 255, 0.055) 0 1px, transparent 1px 4px),
    repeating-linear-gradient(22deg, rgba(255, 255, 255, 0.028) 0 1px, transparent 1px 5px);
}
/* 品牌水印 */
.hero::after {
  content: "创";
  position: absolute;
  right: 3%;
  bottom: -8%;
  font-family: var(--font-serif);
  font-size: clamp(220px, 32vw, 440px);
  line-height: 1;
  color: rgba(255, 255, 255, 0.045);
  pointer-events: none;
  user-select: none;
}
.hero-content { position: relative; z-index: 2; }
.hero-content {
  padding-top: calc(var(--header-h) + 20px);
  padding-bottom: 90px;
}
.hero-eyebrow {
  font-size: 14px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 22px;
}
.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(42px, 7vw, 76px);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: 0.06em;
  margin-bottom: 24px;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.35);
}
.hero-sub {
  font-size: clamp(15px, 2vw, 18px);
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 40px;
  max-width: 680px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; }

.hero-scroll {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  width: 26px; height: 42px;
  border: 2px solid rgba(255, 255, 255, 0.55);
  border-radius: 20px;
  display: flex;
  justify-content: center;
}
.hero-scroll span {
  width: 4px; height: 9px;
  margin-top: 7px;
  border-radius: 4px;
  background: #fff;
  animation: scroll-dot 1.8s var(--ease) infinite;
}
@keyframes scroll-dot {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(14px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* ---------- 数据条 ---------- */
.stats {
  background: #101720;
  color: #fff;
  padding: 54px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat-num {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(34px, 4.5vw, 52px);
  font-weight: 700;
  color: var(--gold);
  line-height: 1.2;
  margin-bottom: 6px;
}
.stat-text {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(26px, 3.4vw, 40px);
  font-weight: 700;
  color: var(--gold);
  line-height: 1.25;
  margin-bottom: 6px;
  letter-spacing: 0.04em;
}
.stat-label { font-size: 14px; letter-spacing: 0.12em; color: rgba(255, 255, 255, 0.72); }

/* ---------- 关于我们 ---------- */
.about { background: var(--bg); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 64px;
  align-items: center;
}
.about-media { position: relative; }
.about-media img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.about-badge {
  position: absolute;
  right: -22px;
  bottom: 34px;
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius);
  padding: 18px 22px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  min-width: 128px;
}
.about-badge strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 34px;
  color: var(--gold);
  line-height: 1.1;
}
.about-badge span { font-size: 13px; color: rgba(255, 255, 255, 0.78); letter-spacing: 0.08em; }
.about-body p { color: var(--ink-soft); margin-bottom: 18px; }
.about-list { margin: 24px 0 34px; display: grid; gap: 12px; }
.about-list li {
  position: relative;
  padding-left: 30px;
  color: var(--ink-soft);
  font-size: 15px;
}
.about-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 4px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: rgba(201, 164, 92, 0.16);
  border: 1.5px solid var(--gold);
}
.about-list li::after {
  content: "";
  position: absolute;
  left: 6px; top: 10px;
  width: 6px; height: 10px;
  border-right: 2px solid var(--gold-deep);
  border-bottom: 2px solid var(--gold-deep);
  transform: rotate(45deg);
}

/* ---------- 产品中心 ---------- */
.products { background: var(--bg-soft); }
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.product-card {
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.product-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.product-img { overflow: hidden; aspect-ratio: 4 / 3.2; }
.product-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.product-card:hover .product-img img { transform: scale(1.07); }
.product-info { padding: 24px 26px 26px; }
.product-info h3 {
  font-size: 20px;
  margin-bottom: 8px;
  letter-spacing: 0.04em;
}
.product-info p { font-size: 14px; color: var(--muted); margin-bottom: 14px; }
.product-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--gold-deep);
  letter-spacing: 0.04em;
}
.product-card:hover .product-link { color: var(--gold-deep); }
.product-link { transition: padding-left 0.3s var(--ease); }
.product-card:hover .product-link { padding-left: 6px; }

/* ---------- 品牌优势 ---------- */
.advantages { background: var(--bg); }
.advantage-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}
.advantage-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 28px;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}
.advantage-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
  box-shadow: var(--shadow);
}
.adv-icon {
  display: grid;
  place-items: center;
  width: 56px; height: 56px;
  border-radius: 14px;
  background: rgba(201, 164, 92, 0.14);
  color: var(--gold-deep);
  margin-bottom: 22px;
}
.adv-icon svg { width: 26px; height: 26px; }
.advantage-card h3 { font-size: 18px; margin-bottom: 10px; letter-spacing: 0.04em; }
.advantage-card p { font-size: 14px; color: var(--muted); }

/* ---------- 新闻资讯 ---------- */
.news { background: var(--bg-soft); }
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.news-card {
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.news-img { display: block; overflow: hidden; aspect-ratio: 16 / 10; }
.news-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.news-card:hover .news-img img { transform: scale(1.06); }
.news-body { padding: 24px 26px 28px; }
.news-body time {
  font-size: 12px;
  color: var(--gold-deep);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.news-body h3 { font-size: 17px; line-height: 1.5; margin: 8px 0 10px; }
.news-body h3 a { transition: color 0.3s var(--ease); }
.news-body h3 a:hover { color: var(--gold-deep); }
.news-body p { font-size: 14px; color: var(--muted); }

/* ---------- 联系我们 ---------- */
.contact { background: var(--bg); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 60px;
  align-items: start;
}
.contact-lead { color: var(--muted); margin-bottom: 34px; }
.contact-list { display: grid; gap: 20px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.contact-icon {
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  flex-shrink: 0;
  border-radius: 12px;
  background: rgba(201, 164, 92, 0.14);
  color: var(--gold-deep);
}
.contact-icon svg { width: 22px; height: 22px; }
.contact-list strong { display: block; font-size: 15px; margin-bottom: 2px; }
.contact-list span { font-size: 14px; color: var(--muted); }

.contact-form-wrap {
  background: var(--card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 40px;
}
.contact-form h3 { font-size: 22px; margin-bottom: 6px; }
.contact-form > p { font-size: 14px; color: var(--muted); margin-bottom: 26px; }
.form-row { margin-bottom: 18px; }
.form-row label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  margin-bottom: 7px;
  color: var(--ink-soft);
}
.form-row input,
.form-row textarea {
  width: 100%;
  padding: 13px 16px;
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  background: var(--bg);
  border: 1.5px solid var(--line);
  border-radius: 10px;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease);
  resize: vertical;
}
.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(201, 164, 92, 0.16);
}
.form-row input.invalid,
.form-row textarea.invalid { border-color: #c9503c; }
.form-tip { margin-top: 14px; font-size: 14px; min-height: 22px; }
.form-tip.ok { color: #2e7d4f; }
.form-tip.err { color: #c9503c; }

/* ---------- 页脚 ---------- */
.site-footer { background: #16130f; color: rgba(255, 255, 255, 0.72); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: 48px;
  padding: 64px 0 48px;
}
.footer-brand p { font-size: 14px; margin-top: 20px; max-width: 340px; }
.footer-col h4 {
  color: #fff;
  font-size: 16px;
  letter-spacing: 0.1em;
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 10px;
}
.footer-col h4::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 26px; height: 2px;
  background: var(--gold);
}
.footer-col ul { display: grid; gap: 10px; }
.footer-col a { transition: color 0.3s var(--ease), padding-left 0.3s var(--ease); font-size: 14px; }
.footer-col a:hover { color: var(--gold); padding-left: 6px; }
.footer-contact li { font-size: 14px; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 0;
  font-size: 13px;
}
.footer-bottom .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px;
  color: rgba(255, 255, 255, 0.5);
}

/* ---------- 滚动入场动画 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-scroll span { animation: none; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-media img { height: 440px; }
  .advantage-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid, .news-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: 44px; }
}

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    gap: 26px;
    background: rgba(23, 20, 16, 0.98);
    backdrop-filter: blur(10px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s var(--ease), visibility 0.35s;
  }
  .main-nav.open { opacity: 1; visibility: visible; }
  .nav-link { font-size: 20px; color: #fff; }
  .nav-link::after { display: none; }
  .nav-cta { margin-top: 8px; }
  .hero-title { letter-spacing: 0.04em; }
}

@media (max-width: 640px) {
  :root { --header-h: 66px; }
  .section { padding: 72px 0; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 34px 16px; }
  .product-grid, .news-grid, .advantage-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; padding: 48px 0 36px; }
  .about-media img { height: 360px; }
  .about-badge { right: 8px; bottom: 18px; }
  .contact-form-wrap { padding: 28px 22px; }
  .br-desktop { display: none; }
}

/* ---------- 语言切换（中 / EN） ---------- */
.lang-switch {
  position: relative;
  z-index: 130;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(4px);
}
.lang-btn {
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.9);
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  padding: 7px 11px;
  border-radius: 999px;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}
.lang-btn.active {
  background: var(--gold);
  color: #1c1915;
}
.site-header.scrolled .lang-switch {
  border-color: var(--line);
  background: #fff;
}
.site-header.scrolled .lang-btn { color: var(--ink-soft); }
.site-header.scrolled .lang-btn.active { background: var(--gold); color: #1c1915; }

@media (max-width: 860px) {
  .lang-switch { margin-right: 2px; }
  .lang-btn { padding: 8px 12px; font-size: 14px; }
}

/* ---------- 联系区可点击信息 ---------- */
.contact-list a {
  color: inherit;
  transition: color 0.3s var(--ease);
}
.contact-list a:hover { color: var(--gold-deep); }
.footer-contact a { transition: color 0.3s var(--ease), padding-left 0.3s var(--ease); }
