/* ============================================================
   创木集 CHOMJOY（信业家具旗下高端定制品牌）- 品牌官网样式表
   设计理念：高定轻奢 · 图森式极简
   配色：深炭黑 #0F0F0F · 暖米白 #F5F3EF · 深棕 #6B4A2E
   ============================================================ */

/* ---------- CSS 变量 ---------- */
:root {
  /* 主色系 */
  --color-dark: #0F0F0F;            /* 导航、底部、主标题 */
  --color-dark-2: #1C1C1C;          /* 次级深色 */
  --color-accent: #6B4A2E;          /* 深棕：咨询表单、CTA */
  --color-accent-hover: #54391F;    /* 深棕悬停 */
  --color-accent-light: #F0E9E0;    /* 浅棕背景 */

  /* 中性色 */
  --color-bg: #F5F3EF;              /* 暖米白背景 */
  --color-bg-alt: #FFFFFF;          /* 纯白卡片背景 */
  --color-cream-dark: #EAE6DF;      /* 深奶油色 */
  --color-text: #1C1C1C;
  --color-muted: #6B6B6B;
  --color-muted-light: #999999;
  --color-border: #E5E2DD;
  --color-white: #FFFFFF;

  /* 兼容旧引用 */
  --color-primary: var(--color-accent);
  --color-primary-dark: var(--color-accent-hover);
  --color-cream: var(--color-bg);
  --color-light-grey: var(--color-border);
  --color-gold: var(--color-accent);
  --color-wood: var(--color-dark);
  --color-primary-text: var(--color-text);

  /* 字体 */
  --font-serif: "Noto Serif SC", "Songti SC", "SimSun", serif;
  --font-sans: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;

  --container-max: 1440px;
  --container-narrow: 1140px;
  --nav-height: 84px;

  /* 阴影 - 极轻微 */
  --shadow-sm: 0 2px 12px rgba(15, 15, 15, 0.04);
  --shadow-md: 0 8px 30px rgba(15, 15, 15, 0.07);
  --shadow-lg: 0 20px 60px rgba(15, 15, 15, 0.1);

  --transition: 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
  --transition-slow: 0.6s cubic-bezier(0.25, 0.1, 0.25, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.3;
  color: var(--color-dark);
  letter-spacing: 0.02em;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition);
}

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

ul, ol {
  list-style: none;
}

::selection {
  background: var(--color-accent);
  color: #fff;
}

/* ---------- 通用容器 ---------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 60px;
}

.container-narrow {
  max-width: var(--container-narrow);
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  border: 1px solid transparent;
  border-radius: 4px;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--color-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(107, 74, 46, 0.3);
}

.btn-dark {
  background: var(--color-dark);
  color: #fff;
}

.btn-dark:hover {
  background: #2a2a2a;
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  border-color: var(--color-dark);
  color: var(--color-dark);
}

.btn-outline:hover {
  background: var(--color-dark);
  color: #fff;
}

.btn-outline-light {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}

.btn-outline-light:hover {
  background: #fff;
  color: var(--color-dark);
}

.btn-sm {
  padding: 10px 24px;
  font-size: 0.8rem;
}

.btn-lg {
  padding: 18px 42px;
  font-size: 0.95rem;
}

/* ---------- 表单 ---------- */
.form-group {
  margin-bottom: 18px;
}

.form-label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.82rem;
  color: var(--color-muted);
  letter-spacing: 0.05em;
}

.form-control {
  width: 100%;
  padding: 14px 16px;
  font-size: 0.95rem;
  font-family: var(--font-sans);
  color: var(--color-text);
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-control::placeholder {
  color: var(--color-muted-light);
}

.form-control:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(107, 74, 46, 0.12);
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

/* ---------- 导航栏 ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  z-index: 1000;
  background: transparent;
  transition: background var(--transition), box-shadow var(--transition);
}

.navbar.scrolled,
.navbar.light {
  background: var(--color-dark);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.12);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 60px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
}

.logo-mark {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  font-family: "Microsoft YaHei", "微软雅黑", sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  transition: all var(--transition);
}

.nav-logo:hover .logo-mark {
  background: #fff;
  color: var(--color-dark);
  border-color: #fff;
}

.logo-text {
  display: flex;
  flex-direction: column;
  font-family: "Microsoft YaHei", "微软雅黑", sans-serif;
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.2;
}

.logo-text small {
  font-family: var(--font-sans);
  font-size: 0.55rem;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.65);
  font-weight: 400;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 48px;
}

.nav-menu a {
  position: relative;
  font-size: 0.88rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.85);
  padding: 8px 0;
}

.nav-menu a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: #fff;
  transition: width var(--transition);
}

.nav-menu a:hover,
.nav-menu a.active {
  color: #fff;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
  width: 100%;
}

.nav-cta {
  padding: 12px 26px;
  font-size: 0.8rem;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}

.nav-cta:hover {
  background: #fff;
  color: var(--color-dark);
  border-color: #fff;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 32px;
  height: 32px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1002;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: #fff;
  transition: all 0.3s ease;
}

.nav-toggle.active span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

.nav-mobile-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 360px;
  height: 100vh;
  background: var(--color-dark);
  z-index: 1001;
  padding: 120px 50px 50px;
  transform: translateX(100%);
  transition: transform 0.45s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.nav-mobile-panel.active {
  transform: translateX(0);
}

.nav-mobile-panel ul {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.nav-mobile-panel a {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 0.05em;
}

.nav-mobile-panel a:hover,
.nav-mobile-panel a.active {
  color: #fff;
}

/* ---------- 章节通用 ---------- */
.section {
  padding: 120px 0;
  position: relative;
}

.section-alt {
  background: var(--color-bg-alt);
}

.section-header {
  text-align: center;
  margin-bottom: 70px;
}

.section-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--color-muted);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-title {
  font-size: 2.4rem;
  font-weight: 500;
  margin-bottom: 18px;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--color-muted);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.8;
}

.section-line {
  width: 40px;
  height: 1px;
  background: var(--color-dark);
  margin: 24px auto 0;
}

.section-header-left {
  text-align: left;
}

.section-header-left .section-line {
  margin: 24px 0 0;
}

.section-header-left .section-subtitle {
  margin: 0;
}

.section-cta {
  margin-top: 60px;
  text-align: center;
}

/* ---------- Hero 首页 ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--color-dark);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15, 15, 15, 0.72) 0%, rgba(15, 15, 15, 0.35) 55%, rgba(15, 15, 15, 0.2) 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 140px 60px 100px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: center;
}

.hero-content {
  color: #fff;
}

.hero-label {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 24px;
  text-transform: uppercase;
}

.hero h1 {
  font-size: 3.4rem;
  font-weight: 500;
  color: #fff;
  line-height: 1.25;
  margin-bottom: 28px;
}

.hero h1 .accent {
  color: var(--color-accent);
  display: inline-block;
  white-space: nowrap;
}

.hero-text {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.9;
  margin-bottom: 40px;
  max-width: 520px;
}

.hero-buttons {
  display: flex;
  gap: 18px;
  margin-bottom: 60px;
}

.hero-stats {
  display: flex;
  gap: 60px;
}

.hero-stat .num {
  font-family: var(--font-serif);
  font-size: 2.6rem;
  font-weight: 500;
  color: #fff;
  line-height: 1;
  margin-bottom: 8px;
}

.hero-stat .num small {
  font-size: 1.2rem;
  margin-left: 2px;
}

.hero-stat .label {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.08em;
}

/* Hero 咨询表单 */
.hero-form {
  background: var(--color-accent);
  padding: 42px;
  border-radius: 8px;
  color: #fff;
  box-shadow: var(--shadow-lg);
}

.hero-form-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 10px;
}

.hero-form-subtitle {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 28px;
  line-height: 1.7;
}

.hero-form .form-control {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  color: #fff;
}

.hero-form .form-control::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.hero-form .form-control:focus {
  border-color: #fff;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.15);
}

.hero-form .form-label {
  color: rgba(255, 255, 255, 0.85);
}

.hero-form .btn-primary {
  width: 100%;
  background: #fff;
  color: var(--color-accent);
  font-weight: 600;
}

.hero-form .btn-primary:hover {
  background: rgba(255, 255, 255, 0.95);
  color: var(--color-accent-hover);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 60px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
}

.hero-scroll .line {
  width: 1px;
  height: 50px;
  background: rgba(255, 255, 255, 0.3);
  position: relative;
  overflow: hidden;
}

.hero-scroll .line::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 18px;
  background: #fff;
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(300%); }
}

/* ---------- 品牌宣言区 ---------- */
.brand-statement {
  padding: 100px 0;
  text-align: center;
  background: var(--color-bg);
}

.brand-statement .logo-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 36px;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: var(--color-dark);
}

.brand-statement h2 {
  font-size: 2rem;
  font-weight: 500;
  margin-bottom: 24px;
}

.brand-statement p {
  color: var(--color-muted);
  max-width: 720px;
  margin: 0 auto;
  line-height: 2;
}

/* ---------- 项目/案例网格 ---------- */
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.case-card {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 4px;
  cursor: pointer;
}

.case-card.tall {
  aspect-ratio: 3 / 4;
}

.case-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.case-card:hover img {
  transform: scale(1.06);
}

.case-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 15, 15, 0.65) 0%, transparent 55%);
  transition: background var(--transition);
}

.case-card:hover::after {
  background: linear-gradient(to top, rgba(15, 15, 15, 0.75) 0%, rgba(15, 15, 15, 0.1) 100%);
}

.case-info {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 32px;
  z-index: 2;
  color: #fff;
  transform: translateY(10px);
  opacity: 0.9;
  transition: all var(--transition);
}

.case-card:hover .case-info {
  transform: translateY(0);
  opacity: 1;
}

.case-tag {
  display: inline-block;
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 10px;
}

.case-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 500;
  color: #fff;
  margin-bottom: 6px;
}

.case-location {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
}

/* ---------- 产品/服务系列 ---------- */
.service-section {
  background: var(--color-bg-alt);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.service-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--color-bg);
  border-radius: 4px;
  overflow: hidden;
  min-height: 320px;
  transition: transform var(--transition), box-shadow var(--transition);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.service-card:nth-child(even) {
  direction: rtl;
}

.service-card:nth-child(even) > * {
  direction: ltr;
}

.service-card-image {
  position: relative;
  overflow: hidden;
}

.service-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.service-card:hover .service-card-image img {
  transform: scale(1.05);
}

.service-card-content {
  padding: 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.service-card-num {
  font-family: var(--font-serif);
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  color: var(--color-muted-light);
  margin-bottom: 16px;
}

.service-card-title {
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.service-card-desc {
  font-size: 0.92rem;
  color: var(--color-muted);
  line-height: 1.9;
  margin-bottom: 28px;
}

.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  color: var(--color-dark);
  font-weight: 500;
  transition: gap var(--transition);
}

.service-card-link:hover {
  gap: 16px;
  color: var(--color-accent);
}

/* ---------- 优势/数据区 ---------- */
.why-section {
  background: var(--color-dark);
  color: #fff;
}

.why-section .section-label,
.why-section .section-subtitle {
  color: rgba(255, 255, 255, 0.55);
}

.why-section .section-title {
  color: #fff;
}

.why-section .section-line {
  background: rgba(255, 255, 255, 0.4);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.why-item {
  text-align: center;
  padding: 20px;
}

.why-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 24px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: all var(--transition);
}

.why-item:hover .why-icon {
  background: var(--color-accent);
  border-color: var(--color-accent);
}

.why-icon svg {
  width: 26px;
  height: 26px;
}

.why-item h3 {
  font-size: 1.15rem;
  color: #fff;
  margin-bottom: 12px;
}

.why-item p {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.8;
}

/* ---------- 新闻/动态 ---------- */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.news-card {
  background: var(--color-bg-alt);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

.news-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.news-image {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.news-card:hover .news-image img {
  transform: scale(1.05);
}

.news-content {
  padding: 28px;
}

.news-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--color-muted-light);
}

.news-tag {
  color: var(--color-accent);
  font-weight: 500;
}

.news-title {
  font-size: 1.1rem;
  line-height: 1.55;
  margin-bottom: 14px;
  color: var(--color-dark);
  transition: color var(--transition);
}

.news-card:hover .news-title {
  color: var(--color-accent);
}

.news-excerpt {
  font-size: 0.88rem;
  color: var(--color-muted);
  line-height: 1.8;
}

/* ---------- 关于我们页 ---------- */
.about-hero {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--color-dark);
  position: relative;
  overflow: hidden;
}

.about-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.55;
}

.about-hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(15, 15, 15, 0.45);
}

.about-hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  max-width: 800px;
  padding: 0 40px;
}

.about-hero-content h1 {
  font-size: 3.2rem;
  color: #fff;
  margin-bottom: 24px;
}

.about-hero-content p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 2;
}

.story-section {
  background: var(--color-bg);
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.story-image {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
}

.story-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.story-content h2 {
  font-size: 2.2rem;
  margin-bottom: 28px;
}

.story-content p {
  color: var(--color-muted);
  line-height: 2;
  margin-bottom: 20px;
}

.story-quote {
  margin-top: 36px;
  padding: 28px 32px;
  border-left: 2px solid var(--color-accent);
  background: var(--color-bg-alt);
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--color-dark);
  line-height: 1.9;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.value-card {
  padding: 48px 36px;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: 4px;
  text-align: center;
  transition: all var(--transition);
}

.value-card:hover {
  border-color: var(--color-accent);
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.value-card h3 {
  font-size: 1.25rem;
  margin-bottom: 16px;
}

.value-card p {
  font-size: 0.9rem;
  color: var(--color-muted);
  line-height: 1.9;
}

/* 时间线 */
.timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: var(--color-border);
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  width: 50%;
  padding: 0 60px 60px 0;
  text-align: right;
}

.timeline-item:nth-child(even) {
  margin-left: 50%;
  padding: 0 0 60px 60px;
  text-align: left;
}

.timeline-dot {
  position: absolute;
  top: 4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--color-bg);
  border: 2px solid var(--color-accent);
  right: -7px;
}

.timeline-item:nth-child(even) .timeline-dot {
  right: auto;
  left: -7px;
}

.timeline-year {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--color-accent);
  margin-bottom: 8px;
}

.timeline-title {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.timeline-desc {
  font-size: 0.9rem;
  color: var(--color-muted);
  line-height: 1.8;
}

/* ---------- 产品服务页 ---------- */
.products-hero {
  min-height: 60vh;
  display: flex;
  align-items: center;
  background: var(--color-dark);
  position: relative;
  overflow: hidden;
}

.products-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.5;
}

.products-hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(15, 15, 15, 0.5);
}

.products-hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 140px 60px 80px;
  color: #fff;
  width: 100%;
}

.products-hero-content h1 {
  font-size: 3rem;
  color: #fff;
  margin-bottom: 20px;
}

.products-hero-content p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.75);
  max-width: 560px;
  line-height: 1.9;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-bottom: 50px;
}

.filter-btn {
  padding: 12px 28px;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  color: var(--color-muted);
  background: transparent;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  cursor: pointer;
  transition: all var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--color-dark);
  border-color: var(--color-dark);
  color: #fff;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.product-card {
  position: relative;
  background: var(--color-bg-alt);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.product-image {
  aspect-ratio: 4 / 5;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.product-card:hover .product-image img {
  transform: scale(1.06);
}

.product-info {
  padding: 26px;
}

.product-category {
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  color: var(--color-accent);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.product-title {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.product-desc {
  font-size: 0.85rem;
  color: var(--color-muted);
  line-height: 1.7;
}

/* 服务流程 */
.process-section {
  background: var(--color-bg-alt);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  counter-reset: step;
}

.process-step {
  position: relative;
  text-align: center;
  padding: 40px 20px;
  background: var(--color-bg);
  border-radius: 4px;
}

.process-step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  display: block;
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--color-accent);
  margin-bottom: 16px;
}

.process-step h4 {
  font-size: 1rem;
  margin-bottom: 10px;
}

.process-step p {
  font-size: 0.82rem;
  color: var(--color-muted);
  line-height: 1.7;
}

/* ---------- 联系我们页 ---------- */
.contact-hero {
  min-height: 55vh;
  display: flex;
  align-items: center;
  background: var(--color-dark);
  position: relative;
  overflow: hidden;
}

.contact-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.45;
}

.contact-hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(15, 15, 15, 0.5);
}

.contact-hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 140px 60px 70px;
  color: #fff;
  width: 100%;
}

.contact-hero-content h1 {
  font-size: 2.8rem;
  color: #fff;
  margin-bottom: 18px;
}

.contact-hero-content p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.75);
  max-width: 520px;
  line-height: 1.9;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: start;
}

.contact-info-card {
  background: var(--color-bg-alt);
  padding: 48px;
  border-radius: 4px;
  box-shadow: var(--shadow-sm);
}

.contact-info-card h3 {
  font-size: 1.4rem;
  margin-bottom: 36px;
}

.contact-item {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
}

.contact-item-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
}

.contact-item-icon svg {
  width: 20px;
  height: 20px;
}

.contact-item h4 {
  font-size: 0.95rem;
  margin-bottom: 6px;
}

.contact-item p,
.contact-item a {
  font-size: 0.9rem;
  color: var(--color-muted);
  line-height: 1.7;
}

.contact-item a:hover {
  color: var(--color-accent);
}

.contact-form-card {
  background: var(--color-bg-alt);
  padding: 48px;
  border-radius: 4px;
  box-shadow: var(--shadow-sm);
}

.contact-form-card h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.contact-form-card > p {
  color: var(--color-muted);
  margin-bottom: 32px;
  font-size: 0.92rem;
}

.map-section {
  background: var(--color-bg-alt);
  padding-bottom: 0;
}

.map-placeholder {
  width: 100%;
  height: 420px;
  background: var(--color-cream-dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--color-muted);
  gap: 16px;
  border-top: 1px solid var(--color-border);
}

.map-placeholder svg {
  width: 48px;
  height: 48px;
  color: var(--color-accent);
}

.map-placeholder h3 {
  font-size: 1.2rem;
  color: var(--color-dark);
}

.map-placeholder p {
  font-size: 0.9rem;
}

/* ---------- 底部 ---------- */
.footer {
  background: var(--color-dark);
  color: #fff;
  padding: 100px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 60px;
  padding-bottom: 80px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .logo-text {
  color: #fff;
  font-size: 1.3rem;
  margin-bottom: 24px;
}

.footer-brand p {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.9;
  margin-bottom: 24px;
}

.footer-title {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  margin-bottom: 24px;
}

.footer-links li {
  margin-bottom: 14px;
}

.footer-links a {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.65);
  transition: color var(--transition);
}

.footer-links a:hover {
  color: #fff;
}

.footer-contact .phone {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: #fff;
  margin-bottom: 8px;
  display: block;
}

.footer-contact .phone:hover {
  color: var(--color-accent);
}

.footer-contact p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 6px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 0;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.4);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.55);
}

.footer-bottom a:hover {
  color: #fff;
}

/* ---------- 工具类 ---------- */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.1, 0.25, 1), transform 0.8s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.text-center {
  text-align: center;
}

.mt-4 {
  margin-top: 24px;
}

/* ---------- 响应式 ---------- */
@media (max-width: 1200px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .hero-form {
    max-width: 480px;
    margin: 0 auto;
  }

  .case-grid,
  .product-grid,
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-steps {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 992px) {
  :root {
    --nav-height: 72px;
  }

  .container,
  .navbar-inner,
  .hero-inner,
  .products-hero-content,
  .contact-hero-content,
  .about-hero-content {
    padding-left: 40px;
    padding-right: 40px;
  }

  .hero h1,
  .about-hero-content h1,
  .products-hero-content h1 {
    font-size: 2.6rem;
  }

  .section {
    padding: 90px 0;
  }

  .section-title {
    font-size: 2rem;
  }

  .story-grid,
  .service-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .service-card {
    grid-template-columns: 1fr;
  }

  .service-card-image {
    aspect-ratio: 16 / 9;
  }

  .service-card:nth-child(even) {
    direction: ltr;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }

  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .timeline::before {
    left: 20px;
  }

  .timeline-item,
  .timeline-item:nth-child(even) {
    width: 100%;
    margin-left: 0;
    padding-left: 60px;
    padding-right: 0;
    text-align: left;
  }

  .timeline-dot,
  .timeline-item:nth-child(even) .timeline-dot {
    left: 14px;
    right: auto;
  }
}

@media (max-width: 768px) {
  .nav-menu,
  .nav-cta {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner {
    padding-top: 120px;
    padding-bottom: 80px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero-text {
    font-size: 0.95rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .hero-stats {
    gap: 30px;
    flex-wrap: wrap;
  }

  .hero-form {
    padding: 30px;
  }

  .case-grid,
  .product-grid,
  .news-grid,
  .why-grid,
  .process-steps {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .hero-scroll {
    display: none;
  }
}
