﻿/* ============================================================
   九澄奇楠（上海）实业有限公司 · 企业官网
   设计语言：东方极简 / 简约大气 / 沉香质感
   ============================================================ */

:root {
  --ink: #1a140e;
  --ink-2: #241c13;
  --brown: #4a3a26;
  --gold: #b08d57;
  --gold-light: #c9a97a;
  --gold-soft: rgba(176, 141, 87, 0.28);
  --sand: #f6f1e7;
  --sand-2: #efe7d6;
  --paper: #fffdf8;
  --text: #3b3428;
  --muted: #93876f;
  --line: rgba(26, 20, 14, 0.1);
  --serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", SimSun, serif;
  --sans: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --container: 1180px;
  --shadow-card: 0 20px 50px rgba(26, 20, 14, 0.08);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.8;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }

::selection { background: var(--gold); color: #fff; }

.container {
  width: min(var(--container), calc(100% - 48px));
  margin: 0 auto;
}

/* ------------------------------------------------------------
   通用文字元素
   ------------------------------------------------------------ */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}
.section-tag::before {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--gold);
}

h1, h2, h3, .serif {
  font-family: var(--serif);
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.06em;
}

.section-title {
  font-size: clamp(26px, 3.4vw, 40px);
  line-height: 1.35;
  margin: 14px 0 0;
}

.head-line {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 22px 0 0;
}
.head-line::before {
  content: "";
  width: 56px;
  height: 1px;
  background: var(--gold);
}
.head-line::after {
  content: "";
  width: 7px;
  height: 7px;
  border: 1px solid var(--gold);
  transform: rotate(45deg);
}

.section-desc {
  color: var(--muted);
  max-width: 640px;
  margin-top: 16px;
}

.section { padding: 104px 0; }
.section--sand { background: var(--sand); }
.section--ink { background: var(--ink); }

/* 竖排装饰文字 */
.v-text {
  writing-mode: vertical-rl;
  font-family: var(--serif);
  letter-spacing: 0.55em;
  color: var(--gold);
}

/* ------------------------------------------------------------
   按钮
   ------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 42px;
  font-size: 15px;
  letter-spacing: 0.2em;
  border: 1px solid transparent;
  transition: all 0.35s var(--ease);
  position: relative;
}
.btn::after {
  content: "→";
  transition: transform 0.35s var(--ease);
}
.btn:hover::after { transform: translateX(6px); }

.btn--primary {
  background: var(--ink);
  color: var(--sand);
  border-color: var(--ink);
}
.btn--primary:hover { background: var(--gold); border-color: var(--gold); color: #fff; }

.btn--ghost {
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
  background: transparent;
}
.btn--ghost:hover { background: rgba(255, 255, 255, 0.12); border-color: #fff; }

.btn--line {
  border-color: var(--gold);
  color: var(--gold);
  background: transparent;
}
.btn--line:hover { background: var(--gold); color: #fff; }

/* ------------------------------------------------------------
   顶部导航
   ------------------------------------------------------------ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 22px 0;
  transition: all 0.4s var(--ease);
}
.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header.scrolled {
  background: rgba(255, 253, 248, 0.94);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line), 0 12px 34px rgba(26, 20, 14, 0.06);
  padding: 14px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 13px;
}
.logo-mark {
  width: 44px;
  height: 44px;
  border: 1px solid var(--gold);
  background: rgba(26, 20, 14, 0.82);
  display: grid;
  place-items: center;
  flex: none;
}
.logo-mark span {
  writing-mode: vertical-rl;
  font-family: var(--serif);
  font-size: 15px;
  letter-spacing: 0.18em;
  color: var(--gold-light);
  font-weight: 600;
  transform: translateY(1px);
}
.logo-text .cn {
  display: block;
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #fff;
  line-height: 1.3;
  transition: color 0.4s;
}
.logo-text .en {
  display: block;
  font-size: 10px;
  letter-spacing: 0.28em;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  margin-top: 2px;
  transition: color 0.4s;
}
.header.scrolled .logo-text .cn { color: var(--ink); }
.header.scrolled .logo-text .en { color: var(--muted); }

.nav {
  display: flex;
  align-items: center;
  gap: 44px;
}
.nav a {
  position: relative;
  font-size: 15px;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.85);
  padding: 6px 0;
  transition: color 0.3s;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -4px;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: all 0.35s var(--ease);
  transform: translateX(-50%);
}
.nav a:hover, .nav a.active { color: #fff; }
.header.scrolled .nav a, .header.scrolled .nav a:hover, .header.scrolled .nav a.active { color: var(--ink); }
.nav a:hover::after, .nav a.active::after { width: 100%; }
.nav a.active { color: var(--gold-light); }
.header.scrolled .nav a.active { color: var(--gold); }

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.4);
  position: relative;
  z-index: 130;
}
.nav-toggle span {
  position: absolute;
  left: 11px;
  width: 18px;
  height: 1px;
  background: #fff;
  transition: all 0.3s var(--ease);
}
.nav-toggle span:nth-child(1) { top: 16px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 26px; }
.header.scrolled .nav-toggle { border-color: var(--gold); }
.header.scrolled .nav-toggle span { background: var(--ink); }

body.menu-open .nav-toggle span:nth-child(1) { top: 21px; transform: rotate(45deg); }
body.menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.menu-open .nav-toggle span:nth-child(3) { top: 21px; transform: rotate(-45deg); }
body.menu-open .nav-toggle span { background: #fff !important; }

/* ------------------------------------------------------------
   Hero（首页全屏 / 内页 banner）
   ------------------------------------------------------------ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: var(--ink);
}
.hero-bg {
  position: absolute;
  top: 0;  right: 0;  bottom: 0;  left: 0;
  background-size: cover;
  background-position: center;
  animation: heroZoom 26s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes heroZoom {
  from { transform: scale(1.22) translate(1.6%, 1.4%); }
  to { transform: scale(1.06) translate(-1.4%, -1%); }
}
.hero-video {
  position: absolute;
  top: 0;  right: 0;  bottom: 0;  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.6s ease;
}
.hero-video.is-ready { opacity: 1; }
.hero::after {
  content: "";
  position: absolute;
  top: 0;  right: 0;  bottom: 0;  left: 0;
  background: linear-gradient(180deg, rgba(15, 11, 7, 0.55) 0%, rgba(15, 11, 7, 0.38) 45%, rgba(15, 11, 7, 0.72) 100%);
}
.hero .container { position: relative; z-index: 2; }

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--gold-light);
  font-size: 13px;
  letter-spacing: 0.5em;
  text-indent: 0.5em;
  margin-bottom: 30px;
}
.hero-tag::before, .hero-tag::after {
  content: "";
  width: 40px;
  height: 1px;
  background: var(--gold-soft);
}

.hero h1 {
  color: #fff;
  font-size: clamp(44px, 8.4vw, 96px);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-indent: 0.18em;
  line-height: 1.25;
  text-shadow: 0 6px 40px rgba(0, 0, 0, 0.45);
}

.hero-sub {
  margin-top: 26px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(15px, 1.6vw, 18px);
  letter-spacing: 0.32em;
  text-indent: 0.32em;
  font-weight: 300;
}

.hero-actions {
  display: flex;
  gap: 18px;
  justify-content: center;
  margin-top: 52px;
  flex-wrap: wrap;
}

.hero-side {
  position: absolute;
  right: 52px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.hero-side .v-text { color: rgba(255, 255, 255, 0.72); font-size: 17px; }
.hero-side .side-line { width: 1px; height: 88px; background: linear-gradient(180deg, var(--gold), transparent); }

.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 34px;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 11px;
  letter-spacing: 0.4em;
  text-indent: 0.4em;
}
.scroll-hint::after {
  content: "";
  width: 1px;
  height: 44px;
  background: linear-gradient(180deg, var(--gold), transparent);
  animation: hintDrop 2s ease-in-out infinite;
}
@keyframes hintDrop {
  0% { transform: scaleY(0); transform-origin: top; }
  55% { transform: scaleY(1); transform-origin: top; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* 内页 banner */
.page-hero {
  position: relative;
  height: 58vh;
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--ink);
}
.page-hero::after {
  content: "";
  position: absolute;
  top: 0;  right: 0;  bottom: 0;  left: 0;
  background: linear-gradient(180deg, rgba(15, 11, 7, 0.42), rgba(15, 11, 7, 0.78));
}
.page-hero .container {
  position: relative;
  z-index: 2;
  padding-bottom: 74px;
}
.page-hero .section-tag { color: var(--gold-light); }
.page-hero h1 {
  color: #fff;
  font-size: clamp(34px, 5vw, 56px);
  letter-spacing: 0.2em;
  margin-top: 14px;
}
.breadcrumb {
  margin-top: 18px;
  font-size: 13px;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.62);
}
.breadcrumb a { color: rgba(255, 255, 255, 0.62); transition: color 0.3s; }
.breadcrumb a:hover { color: var(--gold-light); }
.breadcrumb em { font-style: normal; color: var(--gold-light); margin: 0 10px; }

/* ------------------------------------------------------------
   简介 / 关于板块
   ------------------------------------------------------------ */
.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 72px;
  align-items: center;
}
.about-media { position: relative; }
.about-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.about-media::before {
  content: "";
  position: absolute;
  top: 22px;
  right: -22px;
  bottom: -22px;
  left: 22px;
  border: 1px solid var(--gold-soft);
  z-index: -1;
}
.about-media .media-note {
  position: absolute;
  left: -1px;
  bottom: -1px;
  background: var(--ink);
  color: var(--gold-light);
  padding: 16px 26px;
  font-size: 13px;
  letter-spacing: 0.3em;
}

.about-copy p { color: var(--muted); margin-top: 18px; text-align: justify; }
.about-copy p strong { color: var(--brown); font-weight: 600; }

.about-more { margin-top: 34px; }

/* 数据 */
.stats {
  margin-top: 88px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  background: var(--paper);
}
.stat {
  padding: 40px 20px 34px;
  text-align: center;
  position: relative;
}
.stat + .stat { border-left: 1px solid var(--line); }
.stat .num {
  font-family: var(--serif);
  font-size: 46px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1;
}
.stat .num i { font-style: normal; font-size: 18px; color: var(--gold); margin-left: 6px; }
.stat .label {
  margin-top: 12px;
  font-size: 14px;
  letter-spacing: 0.22em;
  color: var(--muted);
}
.stat::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 34px;
  height: 2px;
  background: var(--gold);
}

/* ------------------------------------------------------------
   业务板块卡片（首页）
   ------------------------------------------------------------ */
.biz-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 64px;
}
.biz-card {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 38px 30px 34px;
  position: relative;
  overflow: hidden;
  transition: all 0.45s var(--ease);
}
.biz-card::before {
  content: attr(data-num);
  position: absolute;
  top: 14px;
  right: 18px;
  font-family: var(--serif);
  font-size: 64px;
  font-weight: 600;
  color: rgba(176, 141, 87, 0.12);
  line-height: 1;
  transition: all 0.45s var(--ease);
}
.biz-card:hover {
  background: var(--ink);
  border-color: var(--ink);
  transform: translateY(-8px);
  box-shadow: 0 26px 56px rgba(26, 20, 14, 0.22);
}
.biz-card:hover::before { color: rgba(201, 169, 122, 0.16); }
.biz-icon {
  width: 52px;
  height: 52px;
  border: 1px solid var(--gold-soft);
  display: grid;
  place-items: center;
  margin-bottom: 26px;
}
.biz-icon svg { width: 24px; height: 24px; stroke: var(--gold); fill: none; stroke-width: 1.4; }
.biz-card h3 { font-size: 20px; letter-spacing: 0.1em; }
.biz-card .en {
  display: block;
  font-size: 11px;
  letter-spacing: 0.24em;
  color: var(--gold);
  margin: 6px 0 14px;
  text-transform: uppercase;
}
.biz-card p { font-size: 14.5px; color: var(--muted); line-height: 1.9; }
.biz-card:hover h3 { color: #fff; }
.biz-card:hover p { color: rgba(255, 255, 255, 0.66); }
.biz-card .card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  font-size: 13px;
  letter-spacing: 0.18em;
  color: var(--gold);
  opacity: 0;
  transform: translateX(-8px);
  transition: all 0.4s var(--ease);
}
.biz-card:hover .card-link { opacity: 1; transform: translateX(0); }

/* ------------------------------------------------------------
   时间轴
   ------------------------------------------------------------ */
.timeline {
  position: relative;
  max-width: 860px;
  margin: 70px auto 0;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 6px;
  bottom: 6px;
  width: 1px;
  background: linear-gradient(180deg, var(--gold-soft), var(--gold), var(--gold-soft));
}
.tl-item {
  position: relative;
  width: 50%;
  padding: 0 48px 64px;
}
.tl-item:nth-child(odd) { left: 0; text-align: right; }
.tl-item:nth-child(even) { left: 50%; }
.tl-item::before {
  content: "";
  position: absolute;
  top: 10px;
  width: 11px;
  height: 11px;
  background: var(--paper);
  border: 1px solid var(--gold);
  transform: rotate(45deg);
}
.tl-item:nth-child(odd)::before { right: -6px; }
.tl-item:nth-child(even)::before { left: -6px; }
.tl-item .date {
  font-family: var(--serif);
  font-size: 30px;
  color: var(--gold);
  letter-spacing: 0.06em;
}
.tl-item h3 { font-size: 20px; margin-top: 12px; letter-spacing: 0.12em; }
.tl-item p { color: var(--muted); font-size: 14.5px; margin-top: 10px; }

/* ------------------------------------------------------------
   文化引用带
   ------------------------------------------------------------ */
.quote-band {
  position: relative;
  padding: 130px 0;
  text-align: center;
  overflow: hidden;
  background: var(--ink);
}
.quote-band .bg {
  position: absolute;
  top: 0;  right: 0;  bottom: 0;  left: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.4;
}
.quote-band .container { position: relative; z-index: 2; }
.quote-mark {
  font-family: var(--serif);
  font-size: 64px;
  color: var(--gold);
  line-height: 1;
}
.quote-band blockquote {
  font-family: var(--serif);
  font-size: clamp(22px, 3.2vw, 34px);
  color: #fff;
  letter-spacing: 0.22em;
  line-height: 2;
  max-width: 820px;
  margin: 20px auto 0;
}
.quote-band cite {
  display: block;
  margin-top: 30px;
  font-style: normal;
  color: var(--gold-light);
  font-size: 14px;
  letter-spacing: 0.4em;
}

/* ------------------------------------------------------------
   CTA 带
   ------------------------------------------------------------ */
.cta-band {
  background: linear-gradient(120deg, var(--ink) 0%, var(--ink-2) 60%, #2e2315 100%);
  padding: 88px 0;
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.cta-inner h2 {
  color: #fff;
  font-size: clamp(24px, 3vw, 34px);
  letter-spacing: 0.16em;
}
.cta-inner h2 span { color: var(--gold-light); }
.cta-inner p {
  color: rgba(255, 255, 255, 0.6);
  margin-top: 10px;
  letter-spacing: 0.14em;
  font-size: 15px;
}

/* ------------------------------------------------------------
   业务详情（产品服务页）
   ------------------------------------------------------------ */
.service-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.service-row + .service-row { margin-top: 110px; }
.service-row .media { position: relative; }
.service-row .media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.service-row .media:hover img { transform: scale(1.03); }
.service-row .media::after {
  content: attr(data-num);
  position: absolute;
  top: -34px;
  left: -14px;
  font-family: var(--serif);
  font-size: 96px;
  font-weight: 600;
  color: rgba(176, 141, 87, 0.2);
  line-height: 1;
}
.service-row.flip .media { order: 2; }
.service-row .body .sec-en {
  font-size: 12px;
  letter-spacing: 0.36em;
  color: var(--gold);
  text-transform: uppercase;
}
.service-row .body h3 {
  font-size: clamp(24px, 2.6vw, 32px);
  margin-top: 12px;
  letter-spacing: 0.12em;
}
.service-row .body p { color: var(--muted); margin-top: 18px; text-align: justify; }
.service-list { margin-top: 24px; }
.service-list li {
  position: relative;
  padding: 10px 0 10px 26px;
  border-bottom: 1px dashed var(--line);
  font-size: 15px;
  letter-spacing: 0.06em;
  color: var(--brown);
}
.service-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 21px;
  width: 6px;
  height: 6px;
  background: var(--gold);
  transform: rotate(45deg);
}

/* 创始人横幅照片 + 荣誉列表 */
.founder-row {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  align-items: center;
  gap: 48px;
  margin: 40px 0 0; /* 与上下内容同宽，左对齐 */
  text-align: left;
}
.founder-media {
  margin: 0;
  padding: 10px 10px 0;
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: 0 18px 40px rgba(26, 20, 14, 0.12);
}
.founder-media img { display: block; width: 100%; height: auto; }
.founder-media figcaption {
  padding: 12px 0 14px;
  text-align: center;
  font-size: 13px;
  letter-spacing: 0.16em;
  color: var(--gold);
  font-family: "Noto Serif SC", serif;
}
.founder-row .service-list { margin-top: 0; }
@media (max-width: 720px) {
  .founder-row { grid-template-columns: 1fr; gap: 24px; }
}

/* 产品系列横向滚动 */
.prod-marquee {
  margin-top: 56px;
  padding: 8px 0 24px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.prod-track {
  display: flex;
  gap: 26px;
  width: max-content;
  animation: prod-scroll 45s linear infinite;
}
.prod-marquee:hover .prod-track { animation-play-state: paused; }
@keyframes prod-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-50% - 13px)); }
}
.prod-track .prod-card { flex: 0 0 300px; width: 300px; }
.prod-card {
  background: var(--paper);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: all 0.45s var(--ease);
}
.prod-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-card);
}
.prod-card .pic { overflow: hidden; }
.prod-card .pic img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.prod-card:hover .pic img { transform: scale(1.06); }
.prod-card .info { padding: 28px 26px 30px; text-align: center; }
.prod-card h3 { font-size: 20px; letter-spacing: 0.16em; }
.prod-card .info p { color: var(--muted); font-size: 14px; margin-top: 10px; }

/* 服务流程 */
.flow-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 64px;
  counter-reset: flow;
}
.flow-step {
  position: relative;
  padding: 36px 28px;
  background: var(--paper);
  border: 1px solid var(--line);
  text-align: center;
  transition: all 0.4s var(--ease);
}
.flow-step:hover { border-color: var(--gold); transform: translateY(-6px); }
.flow-step .step-no {
  font-family: var(--serif);
  font-size: 15px;
  color: var(--gold);
  letter-spacing: 0.3em;
}
.flow-step h3 { font-size: 19px; margin-top: 14px; letter-spacing: 0.14em; }
.flow-step p { font-size: 14px; color: var(--muted); margin-top: 12px; }
.flow-step::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -23px;
  width: 24px;
  height: 1px;
  background: var(--gold-soft);
}
.flow-step:last-child::after { display: none; }

/* ------------------------------------------------------------
   企业架构图
   ------------------------------------------------------------ */
.org-chart {
  margin-top: 70px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.org-box {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--gold-soft);
  padding: 30px 54px;
  text-align: center;
  transition: all 0.4s var(--ease);
}
.org-box:hover { box-shadow: var(--shadow-card); transform: translateY(-4px); }
.org-box .role {
  font-size: 12px;
  letter-spacing: 0.36em;
  color: var(--gold);
  text-transform: uppercase;
}
.org-box h3 { font-size: 22px; margin-top: 10px; letter-spacing: 0.1em; }
.org-box p { font-size: 13.5px; color: var(--muted); margin-top: 8px; letter-spacing: 0.08em; }
.org-box--root { background: var(--ink); border-color: var(--ink); }
.org-box--root h3 { color: #fff; }
.org-box--root p { color: rgba(255, 255, 255, 0.55); }
.org-box--root .role { color: var(--gold-light); }
.org-link {
  width: 1px;
  height: 56px;
  background: var(--gold);
  position: relative;
}
.org-link::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 8px;
  height: 8px;
  border-right: 1px solid var(--gold);
  border-bottom: 1px solid var(--gold);
}
.org-percent {
  position: absolute;
  left: calc(100% + 18px);
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--serif);
  color: var(--gold);
  font-size: 15px;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

/* ------------------------------------------------------------
   理念卡片
   ------------------------------------------------------------ */
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 64px;
}
.value-card {
  padding: 46px 36px;
  border: 1px solid var(--line);
  background: var(--paper);
  text-align: center;
  transition: all 0.45s var(--ease);
}
.value-card:hover {
  background: var(--ink);
  border-color: var(--ink);
  transform: translateY(-8px);
}
.value-card .zi {
  font-family: var(--serif);
  font-size: 44px;
  color: var(--gold);
  letter-spacing: 0.2em;
}
.value-card h3 { font-size: 20px; margin-top: 18px; letter-spacing: 0.2em; }
.value-card p { color: var(--muted); font-size: 14.5px; margin-top: 14px; }
.value-card:hover h3 { color: #fff; }
.value-card:hover p { color: rgba(255, 255, 255, 0.66); }

/* ------------------------------------------------------------
   联系页
   ------------------------------------------------------------ */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 60px;
}
.contact-card {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 38px 28px;
  text-align: center;
  transition: all 0.4s var(--ease);
}
.contact-card:hover {
  border-color: var(--gold);
  transform: translateY(-6px);
  box-shadow: var(--shadow-card);
}
.contact-card .icon {
  width: 54px;
  height: 54px;
  margin: 0 auto 22px;
  border: 1px solid var(--gold-soft);
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.contact-card .icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.4;
}
.contact-card h3 { font-size: 17px; letter-spacing: 0.22em; }
.contact-card p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14.5px;
  letter-spacing: 0.04em;
  word-break: break-all;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 60px;
  margin-top: 70px;
  align-items: start;
}

.form-panel {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 46px 44px;
}
.form-panel h3 {
  font-size: 24px;
  letter-spacing: 0.14em;
}
.form-panel .form-sub { color: var(--muted); font-size: 14px; margin-top: 8px; }

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 32px;
}
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label {
  font-size: 13px;
  letter-spacing: 0.18em;
  color: var(--brown);
}
.field label i { color: var(--gold); font-style: normal; margin-left: 2px; }
.field input, .field select, .field textarea {
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  background: var(--sand);
  border: 1px solid transparent;
  padding: 13px 16px;
  outline: none;
  transition: all 0.3s;
  border-radius: 0;
  appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23b08d57' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--gold);
  background: #fff;
}
.field input::placeholder, .field textarea::placeholder { color: #b3a78f; }

.form-submit { margin-top: 26px; width: 100%; }
.form-tip {
  display: none;
  margin-top: 18px;
  padding: 13px 18px;
  background: rgba(176, 141, 87, 0.12);
  border: 1px solid var(--gold-soft);
  color: var(--brown);
  font-size: 14px;
  letter-spacing: 0.06em;
}
.form-tip.show { display: block; }
.form-tip.error {
  background: rgba(158, 62, 42, 0.1);
  border-color: rgba(158, 62, 42, 0.45);
  color: #9e3e2a;
}

/* 到访指引 */
.visit-card {
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 38px 34px;
  position: relative;
  overflow: hidden;
}
.visit-card + .visit-card { margin-top: 22px; }
.visit-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: var(--gold);
}
.visit-card .role {
  font-size: 12px;
  letter-spacing: 0.3em;
  color: var(--gold);
}
.visit-card h3 { font-size: 20px; margin-top: 10px; letter-spacing: 0.1em; }
.visit-card p { color: var(--muted); font-size: 14.5px; margin-top: 10px; }

/* ------------------------------------------------------------
   页脚
   ------------------------------------------------------------ */
.footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.62);
  padding: 84px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.8fr 0.9fr 1.1fr;
  gap: 48px;
  padding-bottom: 60px;
}
.footer .logo-text .cn { color: #fff; }
.footer .logo-text .en { color: rgba(255, 255, 255, 0.45); }
.footer-brand p {
  margin-top: 24px;
  font-size: 14px;
  line-height: 2;
  letter-spacing: 0.06em;
}
.footer h4 {
  font-family: var(--serif);
  color: #fff;
  font-size: 17px;
  letter-spacing: 0.24em;
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 14px;
}
.footer h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 26px;
  height: 1px;
  background: var(--gold);
}
.footer-links li { margin-bottom: 13px; }
.footer-links a {
  font-size: 14px;
  letter-spacing: 0.12em;
  transition: all 0.3s;
  position: relative;
  padding-left: 16px;
}
.footer-links a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 5px;
  height: 5px;
  border: 1px solid var(--gold);
  transition: background 0.3s;
}
.footer-links a:hover { color: var(--gold-light); padding-left: 20px; }
.footer-contact li {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 14px;
  letter-spacing: 0.06em;
  line-height: 1.8;
}
.footer-contact .fi { color: var(--gold); flex: none; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 26px 0;
}
.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.4);
}
.footer-bottom a { color: rgba(255, 255, 255, 0.4); transition: color 0.3s; }
.footer-bottom a:hover { color: var(--gold-light); }

/* 回到顶部 */
.back-top {
  position: fixed;
  right: 30px;
  bottom: 30px;
  z-index: 90;
  width: 46px;
  height: 46px;
  border: 1px solid var(--gold-soft);
  background: rgba(255, 253, 248, 0.9);
  backdrop-filter: blur(8px);
  display: grid;
  place-items: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all 0.4s var(--ease);
}
.back-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-top:hover { background: var(--ink); }
.back-top svg { width: 18px; height: 18px; stroke: var(--gold); fill: none; stroke-width: 1.6; }
.back-top:hover svg { stroke: var(--gold-light); }

/* ------------------------------------------------------------
   品牌视频（关于我们页）
   ------------------------------------------------------------ */
.video-band { padding: 76px 0 6px; background: var(--paper); }
.video-card {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 6px;
  overflow: hidden;
  background: var(--ink);
  box-shadow: 0 30px 60px -30px rgba(15, 11, 7, 0.45);
}
.video-el,
.video-frame {
  position: absolute;
  top: 0;  right: 0;  bottom: 0;  left: 0;
  width: 100%;
  height: 100%;
}
.video-el {
  object-fit: contain;
  display: block;
  transition: transform 1.2s var(--ease);
}
.video-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.video-card:not(.playing):hover .video-el { transform: scale(1.04); }
.video-overlay {
  position: absolute;
  top: 0;  right: 0;  bottom: 0;  left: 0;
  z-index: 2;
  cursor: pointer;
  transition: opacity 0.45s var(--ease), visibility 0.45s;
}
.video-card.playing .video-overlay {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.video-shade {
  position: absolute;
  top: 0;  right: 0;  bottom: 0;  left: 0;
  background: linear-gradient(180deg, rgba(15, 11, 7, 0.15) 0%, rgba(15, 11, 7, 0.55) 100%);
}
.video-tag {
  position: absolute;
  top: 22px;
  left: 24px;
  color: var(--gold-light);
  font-size: 12px;
  letter-spacing: 0.35em;
}
.video-title {
  position: absolute;
  left: 24px;
  bottom: 20px;
  color: #fff;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.08em;
}
.video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 84px;
  height: 84px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(15, 11, 7, 0.35);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.video-play svg { width: 30px; height: 30px; fill: #fff; margin-left: 4px; }
.video-card:hover .video-play {
  background: var(--gold);
  border-color: var(--gold);
  transform: translate(-50%, -50%) scale(1.06);
}
.video-play::after {
  content: "";
  position: absolute;
  top: -12px;
  right: -12px;
  bottom: -12px;
  left: -12px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  animation: playPulse 2.4s ease-out infinite;
}
@keyframes playPulse {
  0% { transform: scale(0.82); opacity: 1; }
  100% { transform: scale(1.25); opacity: 0; }
}

/* 全屏按钮 */
.video-fs {
  position: absolute;
  right: 18px;
  bottom: 16px;
  z-index: 3;
  width: 40px;
  height: 40px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(15, 11, 7, 0.45);
  backdrop-filter: blur(4px);
  display: grid;
  place-items: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), opacity 0.3s var(--ease), visibility 0.3s;
}
.video-fs svg { width: 18px; height: 18px; stroke: #fff; fill: none; stroke-width: 1.8; }
.video-card.playing .video-fs { opacity: 1; visibility: visible; }
.video-fs:hover { background: var(--gold); border-color: var(--gold); }

@media (max-width: 820px) {
  .video-band { padding: 56px 0 0; }
  .video-card { aspect-ratio: 16 / 9; }
  .video-tag { font-size: 10px; top: 16px; left: 16px; }
  .video-title { font-size: 17px; left: 16px; bottom: 14px; }
  .video-play { width: 62px; height: 62px; }
  .video-play svg { width: 24px; height: 24px; }
  .video-fs { width: 34px; height: 34px; right: 12px; bottom: 12px; }
  .video-fs svg { width: 15px; height: 15px; }
}

/* ------------------------------------------------------------
   滚动显现动画
   ------------------------------------------------------------ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--d, 0s);
}
.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-bg { animation: none; }
  .hero-video { display: none; }
}

/* ------------------------------------------------------------
   响应式
   ------------------------------------------------------------ */
@media (max-width: 1024px) {
  .section { padding: 84px 0; }
  .biz-grid { grid-template-columns: repeat(2, 1fr); }
  .flow-grid { grid-template-columns: repeat(2, 1fr); }
  .flow-step::after { display: none; }
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .prod-track .prod-card { flex-basis: 270px; width: 270px; }
  .hero-side { display: none; }
}

@media (max-width: 820px) {
  .nav {
    position: fixed;
    top: 0;    right: 0;    bottom: 0;    left: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    z-index: 1000;
    background: rgba(20, 15, 9, 0.72);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    flex-direction: column;
    justify-content: center;
    gap: 34px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s var(--ease), visibility 0.4s var(--ease);
  }
  body.menu-open .nav { opacity: 1; visibility: visible; }
  body.menu-open .nav-toggle { z-index: 1001; border-color: rgba(255, 255, 255, 0.65); }
  body.menu-open { overflow: hidden; }
  .nav a { font-size: 20px; color: #fff !important; letter-spacing: 0.3em; }
  .nav-toggle { display: block; }

  .about-grid, .service-row, .contact-layout { grid-template-columns: 1fr; gap: 44px; }
  .service-row.flip .media { order: 0; }
  .service-row + .service-row { margin-top: 84px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: none; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .value-grid { grid-template-columns: 1fr; }
  .timeline::before { left: 8px; }
  .tl-item { width: 100%; padding: 0 0 52px 42px; text-align: left !important; }
  .tl-item:nth-child(odd) { left: 0; }
  .tl-item:nth-child(even) { left: 0; }
  .tl-item::before { left: 3px !important; right: auto !important; }
  .form-panel { padding: 34px 24px; }
  .cta-inner { justify-content: center; text-align: center; }
  .org-percent { display: none; }
  .org-box { padding: 26px 30px; }
}

@media (max-width: 560px) {
  .biz-grid, .contact-grid, .flow-grid { grid-template-columns: 1fr; }
  .prod-track .prod-card { flex-basis: 250px; width: 250px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .form-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; max-width: 300px; }
  .section { padding: 68px 0; }
  .quote-band { padding: 90px 0; }
  .back-top { right: 18px; bottom: 18px; }
}
