/* =========================================================
   靓家门窗 LIANGJIA · 站点样式
   设计语言：极简、留白、大图、细线分割、深墨色 + 暖铜点缀
   ========================================================= */

:root {
  --ink: #101010;
  --ink-2: #2c2c2c;
  --gray: #6f6f6f;
  --gray-2: #9a9a9a;
  --line: #e4e1da;
  --paper: #ffffff;
  --mist: #f6f5f2;
  --mist-2: #eeebe4;
  --accent: #9c7c4f;
  --accent-soft: #c8ad84;
  --max: 1440px;
  --gut: 40px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --font-sans: "Inter", "Helvetica Neue", Helvetica, Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-serif: "Cormorant Garamond", "Times New Roman", Georgia, "Songti SC", "SimSun", serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--paper);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }

::selection { background: var(--ink); color: #fff; }

/* ---------- 滚动条 ---------- */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--mist); }
::-webkit-scrollbar-thumb { background: #c9c4ba; }
::-webkit-scrollbar-thumb:hover { background: var(--ink-2); }

/* =========================================================
   通用排版
   ========================================================= */
.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gut);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 22px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--accent);
  display: block;
}
.eyebrow.center::after {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--accent);
  display: block;
}

.display {
  font-size: clamp(2.1rem, 3.6vw, 3.5rem);
  line-height: 1.18;
  letter-spacing: -0.02em;
  font-weight: 300;
  margin: 0;
}
.display strong { font-weight: 500; }

.section { padding: 130px 0; }
.section.tight { padding: 90px 0; }
.section.mist { background: var(--mist); }
.section.ink { background: var(--ink); color: #fff; }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 64px;
}
.section-head .lead {
  max-width: 420px;
  color: var(--gray);
  font-size: 15px;
  line-height: 1.9;
  margin: 0 0 6px;
}
.section-head.center {
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.section-head.center .lead { max-width: 640px; }

.lead-lg { font-size: 17px; color: var(--gray); line-height: 2; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 16px 34px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  letter-spacing: .16em;
  text-transform: uppercase;
  transition: background .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease);
}
.btn svg { width: 16px; height: 16px; transition: transform .4s var(--ease); }
.btn:hover { background: transparent; color: var(--ink); }
.btn:hover svg { transform: translateX(5px); }

.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: #fff; }

.btn.light { background: #fff; border-color: #fff; color: var(--ink); }
.btn.light:hover { background: transparent; color: #fff; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  letter-spacing: .2em;
  text-transform: uppercase;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line);
  transition: border-color .4s var(--ease), color .4s var(--ease);
}
.link-arrow svg { width: 15px; height: 15px; transition: transform .4s var(--ease); }
.link-arrow:hover { border-color: var(--ink); color: var(--accent); }
.link-arrow:hover svg { transform: translateX(6px); }

/* =========================================================
   顶部导航
   ========================================================= */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 90;
  height: 92px;
  display: flex;
  align-items: center;
  transition: height .45s var(--ease), background .45s var(--ease), box-shadow .45s var(--ease);
}
.header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 30px; }

.header::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 1px;
  background: rgba(255, 255, 255, .18);
  transition: opacity .45s var(--ease);
}
.header.solid {
  height: 76px;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.header.solid::after { opacity: 0; }

.brand { display: flex; align-items: center; gap: 14px; color: #fff; transition: color .45s var(--ease); }
.header.solid .brand { color: var(--ink); }
.brand-logo {
  /* 与右侧两行文字总高对齐（19px*1.15 + 4 + 9px*1.15 ≈ 36px） */
  width: 36px; height: 36px;
  display: block;
  object-fit: contain;
  flex: none;
}
.brand-txt { display: flex; flex-direction: column; line-height: 1.15; }
.brand-cn { font-size: 19px; letter-spacing: .38em; font-weight: 500; }
.brand-en { font-size: 9px; letter-spacing: .34em; opacity: .72; text-transform: uppercase; margin-top: 4px; }

.nav { display: flex; align-items: center; gap: 40px; }
.nav a {
  position: relative;
  font-size: 13.5px;
  letter-spacing: .12em;
  color: rgba(255, 255, 255, .84);
  padding: 6px 0;
  transition: color .35s var(--ease);
}
.header.solid .nav a { color: var(--ink-2); }
.nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: currentColor;
  transition: width .4s var(--ease);
}
.nav a:hover::after, .nav a.active::after { width: 100%; }
.nav a.active { color: #fff; }
.header.solid .nav a.active { color: var(--ink); }

.head-tools { display: flex; align-items: center; gap: 22px; }
.lang {
  display: flex; align-items: center; gap: 8px;
  font-size: 11px; letter-spacing: .18em;
  color: rgba(255, 255, 255, .8);
  border: 1px solid rgba(255, 255, 255, .3);
  padding: 7px 13px;
  transition: all .4s var(--ease);
}
.header.solid .lang { color: var(--ink-2); border-color: var(--line); }
.lang:hover { background: rgba(255, 255, 255, .14); }
.header.solid .lang:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

.head-tel {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 12.5px; letter-spacing: .08em;
  color: rgba(255, 255, 255, .9);
}
.header.solid .head-tel { color: var(--ink); }
.head-tel svg { width: 15px; height: 15px; }

.burger {
  display: none;
  width: 34px; height: 34px;
  background: none; border: 0; padding: 0;
  position: relative;
}
.burger span {
  position: absolute; left: 4px; right: 4px; height: 1px;
  background: #fff; transition: all .4s var(--ease);
}
.header.solid .burger span { background: var(--ink); }
.burger span:nth-child(1) { top: 12px; }
.burger span:nth-child(2) { top: 21px; }
body.nav-open .burger span:nth-child(1) { top: 17px; transform: rotate(45deg); }
body.nav-open .burger span:nth-child(2) { top: 17px; transform: rotate(-45deg); }

/* 移动端抽屉 */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: var(--ink);
  color: #fff;
  padding: 120px var(--gut) 50px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transform: translateY(-100%);
  transition: transform .6s var(--ease);
}
body.nav-open .drawer { transform: translateY(0); }
.drawer a {
  font-size: 26px;
  font-weight: 300;
  letter-spacing: .06em;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.drawer .drawer-foot {
  margin-top: auto;
  font-size: 13px;
  color: rgba(255, 255, 255, .6);
  line-height: 2;
}

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  color: #fff;
  overflow: hidden;
  background: #0d0d0d;
}
.hero-media {
  position: absolute; inset: 0;
  background: url("../img/banner-1-9014.webp") center 42% / cover no-repeat;
  transform: scale(1.06);
  animation: heroZoom 18s var(--ease) forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.66) 0%, rgba(0,0,0,.12) 26%, rgba(0,0,0,.46) 54%, rgba(0,0,0,.92) 100%);
}
.hero .wrap { position: relative; z-index: 2; width: 100%; padding-bottom: 96px; }

.hero-tag {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 11px; letter-spacing: .34em; text-transform: uppercase;
  color: rgba(255,255,255,.82);
  margin-bottom: 30px;
}
.hero-tag::before { content: ""; width: 40px; height: 1px; background: rgba(255,255,255,.5); }

.hero h1 {
  margin: 0;
  font-size: clamp(2.6rem, 6.2vw, 5.6rem);
  line-height: 1.06;
  font-weight: 200;
  letter-spacing: -0.02em;
  max-width: 17em;
}
.hero h1 em {
  font-style: normal;
  font-weight: 500;
  letter-spacing: 0;
}

.hero-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 60px;
  margin-top: 54px;
  padding-top: 34px;
  border-top: 1px solid rgba(255,255,255,.22);
}
.hero-bottom p {
  margin: 0;
  max-width: 380px;
  font-size: 14.5px;
  line-height: 2;
  color: rgba(255,255,255,.78);
}
.hero-actions { display: flex; align-items: center; gap: 18px; flex: none; }
.hero-scroll {
  position: absolute;
  right: var(--gut); bottom: 96px;
  z-index: 3;
  writing-mode: vertical-rl;
  font-size: 10px;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
  display: flex; align-items: center; gap: 14px;
}
.hero-scroll::after {
  content: "";
  width: 1px; height: 60px;
  background: linear-gradient(180deg, rgba(255,255,255,.7), transparent);
}

/* =========================================================
   数据条
   ========================================================= */
.stats {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.stats .wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat {
  padding: 46px 30px;
  border-left: 1px solid var(--line);
}
.stat:first-child { border-left: 0; padding-left: 0; }
.stat b {
  display: block;
  font-size: clamp(2rem, 2.6vw, 2.9rem);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.02em;
}
.stat b i { font-style: normal; font-size: .5em; color: var(--accent); margin-left: 4px; }
.stat > span {
  display: block;
  margin-top: 14px;
  font-size: 12px;
  letter-spacing: .18em;
  color: var(--gray);
  text-transform: uppercase;
}

/* =========================================================
   品类（四宫格）
   ========================================================= */
.cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; background: var(--line); }
.cat {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4.1;
  overflow: hidden;
  background: #111;
}
.cat img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease), filter .6s var(--ease);
}
.cat::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,.72) 100%);
  transition: opacity .5s var(--ease);
}
.cat:hover img { transform: scale(1.06); }
.cat-body {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  padding: 34px 30px;
  color: #fff;
}
.cat-body small {
  display: block;
  font-size: 10px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: rgba(255,255,255,.74);
  margin-bottom: 10px;
  text-shadow: 0 1px 12px rgba(0,0,0,.35);
}
.cat-body h3 {
  margin: 0;
  font-size: 25px;
  font-weight: 400;
  letter-spacing: .04em;
}
.cat-body .more {
  margin-top: 18px;
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
  display: flex; align-items: center; gap: 10px;
  opacity: 0; transform: translateY(8px);
  transition: all .5s var(--ease);
}
.cat-body .more svg { width: 14px; height: 14px; }
.cat:hover .cat-body .more { opacity: 1; transform: translateY(0); }

/* =========================================================
   品牌 / 双栏
   ========================================================= */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
}
.split.narrow { gap: 70px; }
.split-media { position: relative; }
.split-media .m1 { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.split-media .m2 {
  position: absolute;
  right: -40px; bottom: -60px;
  width: 52%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border: 8px solid #fff;
  box-shadow: 0 30px 60px rgba(0,0,0,.14);
}
.split-media .badge {
  position: absolute;
  left: -30px; top: 40px;
  background: var(--ink);
  color: #fff;
  padding: 26px 24px;
  text-align: center;
  width: 132px;
}
.split-media .badge b { display: block; font-size: 30px; font-weight: 300; line-height: 1; }
.split-media .badge span { display: block; margin-top: 8px; font-size: 10px; letter-spacing: .2em; color: rgba(255,255,255,.65); }

.split-body p { color: var(--gray); line-height: 2; margin: 0 0 20px; }
.split-body .display { margin-bottom: 26px; }

.ticks { display: grid; gap: 16px; margin: 34px 0 40px; }
.ticks li {
  display: flex; gap: 16px;
  font-size: 14.5px;
  color: var(--ink-2);
  line-height: 1.8;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.ticks li svg { width: 17px; height: 17px; color: var(--accent); flex: none; margin-top: 5px; }

/* =========================================================
   产品卡片
   ========================================================= */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; }

.pcard { display: block; }
.pcard-img {
  position: relative;
  aspect-ratio: 4/3.2;
  overflow: hidden;
  background: var(--mist);
}
.pcard-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1s var(--ease);
}
.pcard:hover .pcard-img img { transform: scale(1.05); }
.pcard-tag {
  position: absolute; top: 16px; left: 16px;
  background: rgba(255,255,255,.94);
  font-size: 10px;
  letter-spacing: .18em;
  padding: 6px 11px;
  text-transform: uppercase;
}
.pcard-go {
  position: absolute; right: 16px; bottom: 16px;
  width: 46px; height: 46px;
  background: #fff;
  display: grid; place-items: center;
  opacity: 0; transform: translateY(10px);
  transition: all .45s var(--ease);
}
.pcard-go svg { width: 17px; height: 17px; }
.pcard:hover .pcard-go { opacity: 1; transform: translateY(0); }
.pcard-body { padding: 22px 2px 0; }
.pcard-body h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: .01em;
}
.pcard-body p {
  margin: 0 0 14px;
  font-size: 13.5px;
  color: var(--gray);
  line-height: 1.9;
  min-height: 2.6em;
}
.pcard-meta {
  display: flex; flex-wrap: wrap; gap: 8px;
  font-size: 11px; color: var(--gray-2);
  letter-spacing: .06em;
}
.pcard-meta span { border: 1px solid var(--line); padding: 4px 9px; }

/* =========================================================
   优势网格
   ========================================================= */
.adv {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.adv-item {
  padding: 46px 34px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background .5s var(--ease), color .5s var(--ease);
}
.adv-item:hover { background: var(--ink); color: #fff; }
.adv-item:hover .adv-ico { color: var(--accent-soft); }
.adv-item:hover p { color: rgba(255,255,255,.66); }
.adv-ico { color: var(--accent); margin-bottom: 26px; transition: color .5s var(--ease); }
.adv-ico svg { width: 34px; height: 34px; stroke-width: 1.1; }
.adv-item h3 { margin: 0 0 12px; font-size: 16.5px; font-weight: 500; letter-spacing: .02em; }
.adv-item p { margin: 0; font-size: 13.5px; line-height: 1.95; color: var(--gray); transition: color .5s var(--ease); }

/* =========================================================
   流程
   ========================================================= */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.flow-step {
  position: relative;
  padding: 0 30px 0 0;
}
.flow-step::before {
  content: "";
  position: absolute; top: 26px; left: 0; right: 30px;
  height: 1px; background: rgba(255,255,255,.22);
}
.flow-step .num {
  position: relative;
  width: 54px; height: 54px;
  border: 1px solid rgba(255,255,255,.32);
  display: grid; place-items: center;
  font-size: 13px;
  letter-spacing: .1em;
  background: var(--ink);
  margin-bottom: 34px;
}
.flow-step h3 { margin: 0 0 12px; font-size: 18px; font-weight: 400; }
.flow-step p { margin: 0; font-size: 13.5px; line-height: 1.95; color: rgba(255,255,255,.55); }

/* =========================================================
   案例
   ========================================================= */
.cases { display: grid; grid-template-columns: repeat(12, 1fr); gap: 22px; }
.case {
  position: relative;
  overflow: hidden;
  display: block;
  background: var(--mist);
}
.case img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.case:hover img { transform: scale(1.05); }
.case::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 38%, rgba(0,0,0,.55) 72%, rgba(0,0,0,.86) 100%);
  opacity: .85;
  transition: opacity .5s var(--ease);
}
.case:hover::after { opacity: 1; }
.case-info {
  position: absolute; left: 26px; bottom: 24px; right: 26px;
  z-index: 2; color: #fff;
}
.case-info small {
  display: block; font-size: 10px; letter-spacing: .26em;
  text-transform: uppercase; color: rgba(255,255,255,.7); margin-bottom: 8px;
}
.case-info h3 { margin: 0; font-size: 17px; font-weight: 400; letter-spacing: .02em; }
.case.a { grid-column: span 7; height: 460px; }
.case.b { grid-column: span 5; height: 460px; }
.case.c { grid-column: span 4; height: 360px; }
.case.d { grid-column: span 4; height: 360px; }
.case.e { grid-column: span 4; height: 360px; }

/* =========================================================
   新闻
   ========================================================= */
.news-wrap { display: grid; grid-template-columns: 1.15fr 1fr; gap: 70px; }
.news-hero { display: block; }
.news-hero-img { overflow: hidden; aspect-ratio: 16/10; }
.news-hero-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.news-hero:hover .news-hero-img img { transform: scale(1.04); }
.news-meta {
  display: flex; align-items: center; gap: 16px;
  font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--gray-2); margin: 24px 0 14px;
}
.news-meta b { color: var(--accent); font-weight: 500; }
.news-hero h3 { margin: 0 0 14px; font-size: 24px; font-weight: 400; line-height: 1.5; }
.news-hero p { margin: 0; color: var(--gray); font-size: 14px; line-height: 2; }

.news-list { border-top: 1px solid var(--line); }
.news-item {
  display: flex; gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  transition: padding .45s var(--ease);
}
.news-item:hover { padding-left: 10px; }
.news-item time {
  flex: none;
  width: 84px;
  font-family: var(--font-serif);
  font-size: 15px;
  letter-spacing: .04em;
  color: var(--gray-2);
  padding-top: 3px;
}
.news-item h4 { margin: 0 0 8px; font-size: 15.5px; font-weight: 400; line-height: 1.65; }
.news-item p { margin: 0; font-size: 13px; color: var(--gray); line-height: 1.85; }
.news-item .go { margin-left: auto; align-self: center; color: var(--gray-2); }
.news-item .go svg { width: 17px; height: 17px; }
.news-item:hover .go { color: var(--ink); }

/* =========================================================
   联系
   ========================================================= */
.contact { display: grid; grid-template-columns: 1fr 1.05fr; gap: 90px; align-items: start; }
.contact-list { display: grid; gap: 0; margin-top: 46px; border-top: 1px solid rgba(255,255,255,.18); }
.contact-list li {
  display: flex; align-items: flex-start; gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid rgba(255,255,255,.18);
}
.contact-list svg { width: 19px; height: 19px; color: var(--accent-soft); flex: none; margin-top: 4px; }
.contact-list small { display: block; font-size: 10px; letter-spacing: .26em; text-transform: uppercase; color: rgba(255,255,255,.45); margin-bottom: 6px; }
.contact-list strong { font-weight: 400; font-size: 15px; color: #fff; line-height: 1.7; }

.form { display: grid; gap: 0; align-content: start; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.field { position: relative; margin-bottom: 0; }
.field input, .field textarea, .field select {
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(255,255,255,.22);
  background: transparent;
  color: #fff;
  font-family: inherit;
  font-size: 14.5px;
  padding: 22px 0 16px;
  outline: none;
  transition: border-color .4s var(--ease);
  border-radius: 0;
}
.field select option { color: #111; }
.field textarea { resize: vertical; min-height: 108px; }
.field input::placeholder, .field textarea::placeholder { color: rgba(255,255,255,.38); }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--accent-soft); }
.form .btn { justify-self: start; margin-top: 34px; }
.form-note { font-size: 12px; color: rgba(255,255,255,.4); margin-top: 18px; line-height: 1.9; }
.form-ok {
  display: none;
  margin-top: 20px;
  padding: 14px 18px;
  border: 1px solid rgba(200,173,132,.5);
  color: var(--accent-soft);
  font-size: 13.5px;
}
.form-ok.show { display: block; }


/* 浅色背景下的表单 */
.form.light .field input,
.form.light .field textarea,
.form.light .field select {
  color: var(--ink);
  border-bottom-color: var(--line);
}
.form.light .field input::placeholder,
.form.light .field textarea::placeholder { color: var(--gray-2); }
.form.light .field input:focus,
.form.light .field textarea:focus,
.form.light .field select:focus { border-bottom-color: var(--ink); }
.form.light .form-note { color: var(--gray-2); }
.form.light .form-ok { color: var(--accent); border-color: var(--accent-soft); }
.form.light .btn { background: var(--ink); color: #fff; border-color: var(--ink); }
.form.light .btn:hover { background: transparent; color: var(--ink); }

/* 浅色联系信息 */
.contact.light .contact-list { border-top-color: var(--line); }
.contact.light .contact-list li { border-bottom-color: var(--line); }
.contact.light .contact-list small { color: var(--gray-2); }
.contact.light .contact-list strong { color: var(--ink); }

/* =========================================================
   Footer
   ========================================================= */
.footer { background: #0b0b0b; color: rgba(255,255,255,.62); padding: 84px 0 0; }
.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  gap: 60px;
  padding-bottom: 64px;
}
.footer .brand { color: #fff; margin-bottom: 24px; }
.footer-about { font-size: 13.5px; line-height: 2; max-width: 330px; color: rgba(255,255,255,.48); }
.footer h4 {
  color: #fff;
  font-size: 12px;
  letter-spacing: .26em;
  text-transform: uppercase;
  font-weight: 500;
  margin: 0 0 26px;
}
.footer-links li { margin-bottom: 13px; }
.footer-links a { font-size: 13.5px; transition: color .3s var(--ease), padding .3s var(--ease); }
.footer-links a:hover { color: #fff; padding-left: 5px; }
.footer-contact { font-size: 13.5px; line-height: 2.1; }
.footer-contact b { color: #fff; font-weight: 400; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 26px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 12px;
  color: rgba(255,255,255,.36);
}
.footer-bottom .links { display: flex; gap: 26px; }
.footer-bottom a:hover { color: #fff; }

/* 回到顶部 */
.to-top {
  position: fixed;
  right: 26px; bottom: 26px;
  z-index: 70;
  width: 46px; height: 46px;
  background: var(--ink);
  color: #fff;
  border: 0;
  display: grid; place-items: center;
  opacity: 0; pointer-events: none;
  transform: translateY(12px);
  transition: all .45s var(--ease);
}
.to-top.show { opacity: 1; pointer-events: auto; transform: translateY(0); }
.to-top svg { width: 17px; height: 17px; }

/* =========================================================
   子页面 Page Hero
   ========================================================= */
.page-hero {
  position: relative;
  height: 54vh;
  min-height: 380px;
  display: flex;
  align-items: flex-end;
  color: #fff;
  background: #111 center/cover no-repeat;
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.55), rgba(0,0,0,.46) 40%, rgba(0,0,0,.7));
}
.page-hero .wrap { position: relative; z-index: 2; padding-bottom: 62px; }
.page-hero h1 {
  margin: 0 0 16px;
  font-size: clamp(2.2rem, 4.4vw, 3.9rem);
  font-weight: 200;
  letter-spacing: -0.01em;
}
.crumb {
  display: flex; align-items: center; gap: 12px;
  font-size: 11.5px; letter-spacing: .14em;
  color: rgba(255,255,255,.6);
}
.crumb a:hover { color: #fff; }
.crumb span { opacity: .5; }

/* 子页面介绍条 */
.page-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  padding: 90px 0;
  border-bottom: 1px solid var(--line);
}
.page-intro h2 { margin: 0; font-size: clamp(1.6rem, 2.4vw, 2.3rem); font-weight: 300; line-height: 1.45; }
.page-intro p { margin: 0; color: var(--gray); line-height: 2.05; }

/* =========================================================
   产品筛选
   ========================================================= */
.filters {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-bottom: 54px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--line);
}
.filters button,
.filters a {
  background: none;
  border: 1px solid var(--line);
  padding: 11px 24px;
  font-size: 12.5px;
  letter-spacing: .1em;
  color: var(--gray);
  transition: all .4s var(--ease);
}
.filters button:hover,
.filters a:hover { border-color: var(--ink); color: var(--ink); }
.filters button.on,
.filters a.on { background: var(--ink); border-color: var(--ink); color: #fff; }

/* =========================================================
   产品详情
   ========================================================= */
.pd {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 80px;
  padding: 80px 0 110px;
}
.pd-gallery .main {
  aspect-ratio: 4/3.4;
  background: var(--mist);
  overflow: hidden;
}
.pd-gallery .main img { width: 100%; height: 100%; object-fit: cover; }
.pd-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 12px; }
.pd-thumbs img { aspect-ratio: 1/1; object-fit: cover; border: 1px solid transparent; cursor: pointer; }
.pd-thumbs img.on { border-color: var(--ink); }

.pd-body h1 { margin: 0 0 16px; font-size: clamp(1.9rem, 3vw, 2.8rem); font-weight: 300; letter-spacing: -0.01em; }
.pd-sku { font-size: 11px; letter-spacing: .24em; color: var(--gray-2); text-transform: uppercase; }
.pd-desc { color: var(--gray); line-height: 2.05; margin: 26px 0 34px; }
.spec { border-top: 1px solid var(--line); margin-bottom: 38px; }
.spec div {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.spec dt, .spec .k { color: var(--gray-2); }
.spec .v { color: var(--ink-2); }
.pd-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* 参数表 */
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th, .table td { text-align: left; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.table th { font-weight: 500; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--gray); background: var(--mist); }
.table tr:hover td { background: #fbfaf8; }

/* =========================================================
   关于我们
   ========================================================= */
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); }
.tl { padding: 40px 30px 0 0; }
.tl b { display: block; font-family: var(--font-serif); font-size: 40px; font-weight: 400; color: var(--accent); line-height: 1; }
.tl h3 { margin: 18px 0 10px; font-size: 16px; font-weight: 500; }
.tl p { margin: 0; font-size: 13.5px; color: var(--gray); line-height: 1.95; }

.cert-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 24px; }
.cert {
  border: 1px solid var(--line);
  padding: 34px 28px;
  text-align: center;
  transition: all .45s var(--ease);
}
.cert:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.cert b { display: block; font-size: 26px; font-weight: 300; color: var(--accent); margin-bottom: 12px; }
.cert:hover b { color: var(--accent-soft); }
.cert span { font-size: 12.5px; letter-spacing: .1em; color: var(--gray); }
.cert:hover span { color: rgba(255,255,255,.7); }

/* =========================================================
   动效
   ========================================================= */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .09s; }
.reveal.d2 { transition-delay: .18s; }
.reveal.d3 { transition-delay: .27s; }
.reveal.d4 { transition-delay: .36s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* =========================================================
   响应式
   ========================================================= */
@media (max-width: 1200px) {
  :root { --gut: 30px; }
  .nav { gap: 26px; }
  .split { gap: 60px; }
  .contact { gap: 60px; }
  .news-wrap { gap: 44px; }
  .adv { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1024px) {
  .head-tel { display: none; }
  .burger { display: block; }
  .nav, .lang { display: none; }
  .cats { grid-template-columns: repeat(2, 1fr); }
  .split, .contact, .page-intro, .pd { grid-template-columns: 1fr; gap: 60px; }
  .split-media .m2 { right: 0; }
  .split-media .badge { left: 0; }
  .section { padding: 90px 0; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .adv { grid-template-columns: repeat(2, 1fr); }
  .flow { grid-template-columns: repeat(2, 1fr); gap: 48px 0; }
  .flow-step::before { display: none; }
  .tl { padding-right: 20px; }
  .timeline { grid-template-columns: repeat(2, 1fr); gap: 40px 0; }
  .cert-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 44px; }
  .news-wrap { grid-template-columns: 1fr; }
  .case.a, .case.b, .case.c, .case.d, .case.e { grid-column: span 12; height: 320px; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 20px; }
  .hero-scroll { display: none; }
}

@media (max-width: 720px) {
  :root { --gut: 20px; }
  body { font-size: 15px; }
  .header { height: 74px; }
  .hero { min-height: 92vh; }
  .hero .wrap { padding-bottom: 60px; }
  .hero-bottom { flex-direction: column; align-items: flex-start; gap: 28px; }
  .hero h1 { font-size: clamp(2.1rem, 9vw, 3rem); }
  .stats .wrap { grid-template-columns: 1fr 1fr; }
  .stat { padding: 32px 16px; border-bottom: 1px solid var(--line); }
  .stat:nth-child(odd) { border-left: 0; padding-left: 0; }
  .cats { grid-template-columns: 1fr 1fr; gap: 1px; }
  .cat { aspect-ratio: 3/4.6; }
  .cat-body { padding: 22px 18px; }
  .cat-body h3 { font-size: 18px; }
  .grid-4, .grid-3 { grid-template-columns: 1fr; gap: 34px; }
  .adv { grid-template-columns: 1fr; }
  .adv-item { padding: 32px 24px; }
  .flow { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; }
  .cert-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 40px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .section { padding: 70px 0; }
  .section-head { margin-bottom: 40px; }
  .display { font-size: clamp(1.7rem, 7vw, 2.3rem); }
  .split-media .m2 { width: 45%; bottom: -30px; border-width: 5px; }
  .form-row { grid-template-columns: 1fr; }
  .pd { padding: 50px 0 70px; }
  .spec div { grid-template-columns: 96px 1fr; }
  .page-hero { height: 46vh; min-height: 320px; }
  .pd-thumbs { grid-template-columns: repeat(4, 1fr); }
}
