/* =========================================================
   三叠纪 LinX — Corporate Website Design System
   Minimal · Artistic typography · Bilingual (zh / en)
   Zero-Carbon architectural leadership
   ========================================================= */

/* Apple's official website uses the native SF Pro + PingFang SC system stack.
   Inter is loaded as a high-fidelity SF Pro substitute for non-Apple devices
   (Windows / Android); Chinese glyphs fall through to PingFang SC / Microsoft YaHei. */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
  /* Palette — quieter, gallery-like */
  --bg:            #ffffff;
  --bg-alt:        #f7f7f8;
  --bg-soft:       #fafafb;
  --ink:           #121212;
  --ink-2:         #5a5a60;
  --ink-3:         #86868b;
  --line:          #e5e5e7;
  --line-soft:     #f0f0f2;

  --accent:        #b9362c;   /* LinX red from logo */
  --accent-deep:   #8f2820;
  --accent-soft:   #fcedeb;
  --green:         #0b5c3e;   /* zero-carbon green */
  --green-soft:    #e7f3ee;
  --wood:          #a9804f;

  --nav-h: 64px;

  --font:          "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-display:  "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;

  --maxw: 1100px;
  --radius: 20px;
  --radius-lg: 32px;

  --shadow-sm: 0 2px 8px rgba(0,0,0,.04);
  --shadow-md: 0 18px 40px rgba(0,0,0,.08);
  --ease: cubic-bezier(.25,.1,.25,1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  font-weight: 400;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  letter-spacing: .01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  text-wrap: pretty;
  word-break: break-word;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Typography ---------- */
.display, .h1, .h2, .h3, .eyebrow {
  font-family: var(--font-display);
}

.eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
  font-family: var(--font);
}
.display {
  font-size: clamp(1.6rem, 4.2vw, 3.8rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -.02em;
  white-space: nowrap;
}
.h1 { font-size: clamp(1.5rem, 3.8vw, 3rem); font-weight: 500; line-height: 1.12; letter-spacing: -.02em; }
.h2 { font-size: clamp(1.35rem, 2.8vw, 2.2rem); font-weight: 500; line-height: 1.18; letter-spacing: -.015em; }
.h3 { font-size: clamp(1.15rem, 2.1vw, 1.5rem); font-weight: 500; line-height: 1.28; }
.lead { font-size: clamp(1rem, 1.5vw, 1.25rem); color: var(--ink-2); font-weight: 400; line-height: 1.65; }
.muted { color: var(--ink-2); }
.small { font-size: .9rem; color: var(--ink-3); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 15px; font-weight: 600; letter-spacing: .02em;
  padding: 13px 26px; border-radius: 999px;
  border: 1px solid transparent; cursor: pointer;
  transition: all .25s var(--ease); white-space: nowrap;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-deep); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-ghost { background: transparent; color: var(--accent); padding-left: 2px; padding-right: 2px; }
.btn-ghost:hover { color: var(--accent-deep); }
.btn-ghost .arw { transition: transform .25s var(--ease); }
.btn-ghost:hover .arw { transform: translateX(4px); }
.btn-light { background: rgba(255,255,255,.14); color: #fff; backdrop-filter: blur(8px); border-color: rgba(255,255,255,.25); }
.btn-light:hover { background: rgba(255,255,255,.26); }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-h);
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
.nav.scrolled { border-bottom-color: var(--line-soft); background: rgba(255,255,255,.94); }
.nav-inner {
  height: 100%; max-width: 1280px; margin: 0 auto;
  padding: 0 24px; display: flex; align-items: center; gap: 18px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 17px; letter-spacing: .02em; }
.brand .logo-img { height: 44px; width: auto; max-width: 220px; display: block; }
.brand .zh { font-size: 12px; color: var(--ink-3); font-weight: 500; letter-spacing: .08em; }

/* Global hotline (next to logo) */
.nav-hotline {
  display: inline-flex; align-items: center; gap: 7px;
  margin-left: 14px; padding: 6px 13px;
  border: 1px solid var(--line); border-radius: 999px;
  color: var(--ink); font-size: 12px; font-weight: 600; letter-spacing: .02em;
  white-space: nowrap; transition: all .2s var(--ease);
}
.nav-hotline:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }
.nav-hotline .hl-ico { width: 14px; height: 14px; flex: none; color: var(--accent); }
.nav-hotline .hl-label { color: var(--ink-2); font-weight: 600; }
.nav-hotline .hl-num { color: var(--accent); font-weight: 700; letter-spacing: .04em; }

/* Hotline inside mobile dropdown */
.mobile-menu .mm-hotline {
  display: flex; align-items: center; gap: 9px; padding: 14px 6px;
  border-bottom: 1px solid var(--line-soft); color: var(--accent); font-weight: 600;
}
.mobile-menu .mm-hotline .hl-ico { width: 17px; height: 17px; color: var(--accent); flex: none; }
.mobile-menu .mm-hotline .hl-num { color: var(--ink); font-weight: 700; letter-spacing: .03em; }

/* Persistent mobile call button (always visible on phones) */
.mobile-call-fab {
  display: none;
  position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%);
  z-index: 1000; align-items: center; gap: 8px;
  padding: 13px 22px; background: var(--accent); color: #fff;
  border-radius: 999px; font-weight: 700; font-size: 15px; letter-spacing: .03em;
  box-shadow: 0 10px 28px rgba(185,54,44,.38); text-decoration: none;
}
.mobile-call-fab .hl-ico { width: 18px; height: 18px; color: #fff; }
.mobile-call-fab:active { transform: translateX(-50%) scale(.97); }
.nav-links { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-links a {
  font-size: 13px; font-weight: 600; letter-spacing: .02em;
  color: var(--ink-2); padding: 8px 14px; border-radius: 999px;
  transition: color .2s, background .2s;
}
.nav-links a:hover { color: var(--ink); background: var(--bg-alt); }
.nav-links a.active { color: var(--accent); }
.lang-toggle {
  font-size: 12px; font-weight: 700; letter-spacing: .04em;
  color: var(--ink); border: 1px solid var(--line); border-radius: 999px;
  padding: 6px 14px; background: transparent; cursor: pointer;
  transition: all .2s; margin-left: 6px;
}
.lang-toggle:hover { border-color: var(--ink-3); background: var(--bg-alt); }
.nav-burger { display: none; margin-left: auto; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-burger span { display: block; width: 20px; height: 1.6px; background: var(--ink); margin: 4px 0; transition: .3s; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 92vh; display: flex; align-items: center;
  justify-content: center; text-align: center; overflow: hidden;
  padding: calc(var(--nav-h) + 48px) 24px 70px;
}
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,.22) 0%, rgba(255,255,255,.55) 50%, rgba(255,255,255,.9) 100%);
}
.hero-content { position: relative; z-index: 1; max-width: 900px; }
.hero .display {
  margin-bottom: 22px;
  font-size: clamp(1.1rem, 3vw, 2.2rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -.02em;
  white-space: nowrap;
}
.hero .lead { max-width: 660px; margin: 0 auto 32px; }
.hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--accent-deep); background: var(--accent-soft);
  padding: 7px 16px; border-radius: 999px; margin-bottom: 24px;
}
.hero-badge .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

/* ---------- Sections ---------- */
section { padding: clamp(72px, 10vw, 140px) 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 760px; margin: 0 auto 64px; text-align: center; }
.section-head.left { text-align: left; margin-left: 0; }
.section-head .lead { margin-top: 16px; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.stat {
  text-align: center; padding: 14px 22px; border: none; background: transparent;
  position: relative;
}
.stat + .stat::before {
  content: ""; position: absolute; left: 0; top: 14%; bottom: 14%; width: 1px;
  background: var(--line-soft);
}
.stat .num { font-size: clamp(2.2rem, 3.6vw, 3.2rem); font-weight: 500; font-family: var(--font-display); color: var(--accent); letter-spacing: -.02em; line-height: 1; }
.stat .label { margin-top: 12px; font-size: .9rem; color: var(--ink-2); font-weight: 500; }
.stat .en { font-size: .74rem; color: var(--ink-3); margin-top: 3px; }

/* ---------- Brand story quote ---------- */
.brand-quote {
  max-width: 920px; margin: 40px auto 0; padding: 0 8px;
  font-size: clamp(1.15rem, 2.2vw, 1.6rem); font-weight: 500; line-height: 1.7;
  color: var(--ink); text-align: center; letter-spacing: -.01em;
}
.brand-quote strong { color: var(--accent); font-weight: 600; }

/* ---------- Cards / Grid ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--bg); border: 1px solid var(--line-soft);
  border-radius: var(--radius); padding: 34px; transition: all .3s var(--ease);
}
.section-alt .card { background: #fff; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.card .ico {
  width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent); margin-bottom: 20px;
}
.card .ico svg { width: 24px; height: 24px; }
.card h3 { margin-bottom: 10px; font-size: 1.15rem; font-weight: 500; }
.card p { color: var(--ink-2); font-size: .95rem; }

/* Feature split */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.split.rev { grid-template-columns: .95fr 1.05fr; }
.split.rev .split-media { order: 2; }
.split-media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.split-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; }
.split-body .h2 { margin-bottom: 18px; }
.split-body .lead { margin-bottom: 24px; }

/* ESG re-typeset */
#esg .esg-head { text-align: center; max-width: 800px; margin: 0 auto 40px; }
#esg .esg-head .eyebrow { display: inline-block; }
#esg .esg-figure {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: #fff;
  padding: clamp(16px, 3vw, 36px);
  max-width: 960px;
  margin: 0 auto;
}
#esg .esg-figure img { width: 100%; height: auto; display: block; border-radius: calc(var(--radius-lg) - 6px); }
#esg .esg-lead { max-width: 800px; margin: 36px auto 0; text-align: center; }

/* ---------- Timeline ---------- */
.timeline { display: grid; gap: 0; }
.tl-item { display: grid; grid-template-columns: 120px 1fr; gap: 28px; padding: 32px 0; border-top: 1px solid var(--line-soft); }
.tl-item:first-child { border-top: none; }
.tl-phase { font-size: 1.05rem; font-weight: 700; color: var(--accent); }
.tl-phase .en { display: block; font-size: .76rem; color: var(--ink-3); font-weight: 500; margin-top: 2px; }
.tl-body h3 { margin-bottom: 8px; }
.tl-body ul { list-style: none; display: grid; gap: 8px; }
.tl-body li { position: relative; padding-left: 20px; color: var(--ink-2); }
.tl-body li::before { content: ""; position: absolute; left: 4px; top: 10px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.tl-body.plain-list li { padding-left: 0; }
.tl-body.plain-list li::before { display: none; }

/* ---------- Case cards ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 44px; }
.filter {
  font-size: 13px; font-weight: 600; color: var(--ink-2);
  border: 1px solid var(--line); border-radius: 999px; padding: 8px 18px;
  background: transparent; cursor: pointer; transition: all .2s;
}
.filter:hover { border-color: var(--ink-3); }
.filter.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.case {
  border: 1px solid var(--line-soft); border-radius: var(--radius); overflow: hidden;
  background: #fff; transition: all .3s var(--ease); display: flex; flex-direction: column;
}
.case:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.case-thumb { aspect-ratio: 16/10; background: linear-gradient(135deg, #f5f5f7, #e8e8ed); position: relative; overflow: hidden; display: grid; place-items: center; }
.case-thumb img.case-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s var(--ease); z-index: 2; }
.case:hover .case-thumb img.case-img { transform: scale(1.03); }
.case-thumb .mono { font-size: 2.4rem; font-weight: 700; letter-spacing: .04em; color: rgba(18,18,18,.14); position: absolute; z-index: 1; }
.case-thumb.cat-hq { background: linear-gradient(135deg,#f5f5f7,#e8e8ed); }
.case-thumb.cat-zero { background: linear-gradient(135deg,#e7f3ee,#cfeadd); }
.case-thumb.cat-lab { background: linear-gradient(135deg,#f0f4f9,#dbe4f0); }
.case-thumb.cat-hotel { background: linear-gradient(135deg,#f9f5f6,#f0e4e8); }
.case-thumb.cat-culture { background: linear-gradient(135deg,#f6f4f8,#e9e3f0); }
.case-thumb.cat-health { background: linear-gradient(135deg,#f4f7f1,#e7f0df); }
.case-thumb .tag {
  position: absolute; top: 12px; left: 12px; font-size: 11px; font-weight: 700;
  background: rgba(255,255,255,.92); color: var(--accent-deep); padding: 5px 11px; border-radius: 999px;
  backdrop-filter: blur(6px);
}
.case-body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.case-body .name { font-size: 1.1rem; font-weight: 500; }
.case-body .meta { font-size: .8rem; color: var(--ink-3); }
.case-body .desc { font-size: .9rem; color: var(--ink-2); margin-top: 6px; flex: 1; }
.case-body .more { margin-top: 14px; font-size: .9rem; font-weight: 600; color: var(--accent); }
.cases-foot { margin-top: 64px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.cases-foot .cf-text { font-size: .95rem; color: var(--ink-3); max-width: 640px; line-height: 1.6; }
.cases-foot .cf-link { display: inline-block; font-size: 1.05rem; font-weight: 600; color: #fff; background: linear-gradient(135deg,#b9362c,#8f2820); padding: 13px 30px; border-radius: 999px; text-decoration: none; transition: transform .25s var(--ease), box-shadow .25s var(--ease); box-shadow: 0 8px 24px rgba(185,54,44,.22); }
.cases-foot .cf-link:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(185,54,44,.3); }

/* SERVICE PILLARS (services.html) */
.service-block { padding: 64px 0; border-top: 1px solid var(--line); }
.service-block:first-of-type { border-top: 0; padding-top: 8px; }
.sb-head { display: flex; gap: 24px; align-items: flex-start; margin-bottom: 34px; }
.sb-num { font-family: var(--font-display); font-size: 2.8rem; font-weight: 700; line-height: .9; color: var(--accent); }
.sb-headtext { flex: 1; }
.sb-title { font-size: 1.85rem; font-weight: 600; letter-spacing: -.01em; }
.sb-lead { margin-top: 12px; font-size: 1rem; color: var(--ink-2); line-height: 1.7; max-width: 780px; }
.sb-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.sb-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 22px; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.sb-item:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(18,18,18,.08); }
.sb-item .sb-ico { width: 36px; height: 36px; color: var(--accent); margin-bottom: 14px; }
.sb-item h4 { font-size: 1.02rem; font-weight: 600; }
.sb-item p { margin-top: 7px; font-size: .86rem; color: var(--ink-3); line-height: 1.55; }
.sb-more { padding: 56px 0 6px; }
.sb-more-head { text-align: center; font-size: 1.15rem; font-weight: 600; color: var(--ink); margin-bottom: 26px; }
.sb-more-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.sb-item.slim { text-align: left; }
@media (max-width: 980px){ .sb-grid, .sb-more-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px){
  .sb-head { flex-direction: column; gap: 8px; }
  .sb-title { font-size: 1.5rem; }
  .sb-grid, .sb-more-grid { grid-template-columns: 1fr; }
}

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.office { padding: 24px 0; border-top: 1px solid var(--line-soft); }
.office:first-of-type { border-top: none; }
.office .city { font-weight: 600; font-size: 1.05rem; }
.office .addr { color: var(--ink-2); font-size: .92rem; margin-top: 4px; }
.office .line { color: var(--ink-3); font-size: .85rem; margin-top: 2px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: .82rem; font-weight: 600; margin-bottom: 7px; color: var(--ink); }
.field input, .field textarea, .field select {
  width: 100%; font-family: var(--font); font-size: 15px; color: var(--ink);
  padding: 13px 15px; border: 1px solid var(--line); border-radius: 14px; background: var(--bg-soft);
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft);
}
.field textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: .82rem; color: var(--ink-3); margin-top: 8px; }

/* Company info panel (注册资本 / 座机 / 400 / 微信二维码 / 地址定位) */
.company-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; margin-top: 64px; }
.company-card { background: var(--bg-alt); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 32px; }
.company-card .eyebrow { margin-bottom: 22px; }
.company-info { list-style: none; display: grid; gap: 14px; }
.company-info li { display: flex; gap: 14px; font-size: .95rem; color: var(--ink-2); line-height: 1.5; }
.company-info li span { flex: none; width: 84px; color: var(--ink-3); font-weight: 600; }
.company-info li a { color: var(--accent); }
.company-card .btn { margin-top: 22px; }
.wechat-qr {
  width: 168px; height: 168px; border-radius: 18px;
  background: repeating-linear-gradient(45deg,#f0f0f2,#f0f0f2 8px,#e8e8ed 8px,#e8e8ed 16px);
  border: 1px dashed var(--line); display: grid; place-items: center; text-align: center;
  color: var(--ink-3); font-size: .82rem; line-height: 1.5; padding: 10px;
}
.wechat-qr small { display: block; font-size: .72rem; margin-top: 4px; }
@media (max-width: 720px){ .company-grid { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.footer { background: var(--bg-alt); color: var(--ink-2); padding: 72px 0 40px; }
.footer a { color: var(--ink-2); transition: color .2s; }
.footer a:hover { color: var(--ink); }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer .brand { color: var(--ink); margin-bottom: 18px; }
.footer .brand .zh { color: var(--ink-3); }
.footer p.blurb { font-size: .9rem; color: var(--ink-2); max-width: 320px; line-height: 1.6; }
.footer h4 { font-size: .75rem; text-transform: uppercase; letter-spacing: .12em; color: var(--ink); margin-bottom: 18px; }
.footer ul { list-style: none; display: grid; gap: 10px; }
.footer ul a { font-size: .9rem; color: var(--ink-2); }
.footer-bottom {
  margin-top: 56px; padding-top: 26px; border-top: 1px solid var(--line-soft);
  display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between;
  font-size: .78rem; color: var(--ink-3);
}

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Zero-Carbon HQ page (hq.html) ---------- */
.hq-hero {
  position: relative; min-height: 72vh; display: grid; place-items: center;
  text-align: center; color: #fff; overflow: hidden;
  padding: calc(var(--nav-h) + 64px) 24px 64px;
}
.hq-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hq-hero::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(0,0,0,.30), rgba(0,0,0,.58)); }
.hq-hero-content { position: relative; z-index: 2; max-width: 920px; }
.hq-hero .eyebrow { color: rgba(255,255,255,.85); }
.hq-hero .display { color: #fff; font-size: clamp(1.5rem, 4.2vw, 3rem); line-height: 1.08; letter-spacing: -.02em; margin-bottom: 18px; white-space: nowrap; }
.hq-hero .lead { color: rgba(255,255,255,.9); max-width: 660px; margin: 0 auto; }

.chapter-nav {
  position: sticky; top: var(--nav-h); z-index: 900;
  background: rgba(255,255,255,.9);
  backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line-soft);
  display: flex; gap: 8px; flex-wrap: wrap; padding: 10px 24px; justify-content: center;
}
.chapter-nav a { font-size: .82rem; font-weight: 600; color: var(--ink-2); padding: 7px 14px; border-radius: 999px; white-space: nowrap; border: 1px solid var(--line-soft); transition: all .2s var(--ease); }
.chapter-nav a:hover { color: var(--accent); border-color: var(--accent); }

.hq-section { padding: 76px 0; scroll-margin-top: 116px; }
.hq-section.alt { background: var(--bg-alt); }

/* "所有标题统一字号、统一红色、左对齐" — 零碳总部页标题体系 */
.hq-section .section-head { text-align: left; margin-left: 0; }
.hq-section .section-head .h2 {
  color: var(--accent);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 600;
}
.hq-section .split-body h3,
.hq-section .esg-head .h2 {
  color: var(--accent);
  font-weight: 600;
}
/* 标题下的细文整体减小一号 */
.hq-section .section-head .lead,
.hq-section .split-body .lead { font-size: clamp(.92rem, 1.3vw, 1.06rem); }
/* 零碳细节分区的卡片/小标题统一标红 */
.hq-section#details .card h3,
.hq-section#details .split-body h3 { color: var(--accent); }
/* 图片保持撑满、不留白 */
.hq-section .split-media img,
.hq-section .hq-fig img,
.hq-section .hq-card-img { object-fit: cover; }

.hq-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 36px; }
.hq-stat { text-align: center; padding: 26px 18px; background: #fff; border: 1px solid var(--line-soft); border-radius: var(--radius); }
.hq-stat .num { font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 700; color: var(--accent); letter-spacing: -.02em; line-height: 1; font-family: var(--font-display); }
.hq-stat .label { margin-top: 10px; font-size: .92rem; color: var(--ink-2); }

.hq-story {
  margin-top: 64px;
  padding: clamp(28px, 5vw, 56px);
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--card);
}
.hq-story .lead { color: var(--ink); line-height: 1.8; }
.hq-story p + p { margin-top: 18px; }

.hq-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.hq-fig { margin: 0; }
.hq-fig img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--line-soft); display: block; }
.hq-fig figcaption { margin-top: 12px; font-size: .85rem; color: var(--ink-3); text-align: center; }

.hq-card-img {
  width: calc(100% + 68px);
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center center;
  border-radius: var(--radius) var(--radius) 0 0;
  margin: -34px -34px 22px -34px;
  display: block;
}

.hq-card-img.landscape {
  aspect-ratio: 4 / 3;
}

.fivezero-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.fivezero-tags span { font-size: .8rem; font-weight: 600; color: var(--accent); background: var(--accent-soft); padding: 6px 12px; border-radius: 999px; }

@media (max-width: 720px) { .hq-stats { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Inner page hero ---------- */
.page-hero { padding: calc(var(--nav-h) + 84px) 0 64px; text-align: center; background: var(--bg-alt); }
.page-hero .display { margin-bottom: 18px; white-space: nowrap; }
.page-hero .lead { max-width: 720px; margin: 0 auto; }

/* Brand page background images */
.brand-hero { position: relative; overflow: hidden; }
.brand-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.brand-hero::after { content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(255,255,255,.82); }
.brand-hero .container { position: relative; z-index: 2; }

.brand-why { position: relative; overflow: hidden; }
.brand-why-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.brand-why::after { content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(255,255,255,.86); }
.brand-why .container { position: relative; z-index: 2; }

/* ---------- Team ---------- */
.team .avatar {
  width: 76px; height: 76px; border-radius: 50%;
  background: var(--accent-soft); color: var(--accent);
  display: grid; place-items: center; font-weight: 700; font-size: 1.3rem; margin-bottom: 16px;
  object-fit: cover; border: 3px solid #fff; box-shadow: 0 4px 14px rgba(0,0,0,.12);
}
.team .role { font-size: .85rem; color: var(--accent); font-weight: 600; margin-top: 2px; }
.team .role-en { font-size: .76rem; color: var(--ink-3); }
.team p { font-size: .9rem; margin-top: 12px; }

/* ---------- Qualifications ---------- */
.quals { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.qual {
  display: flex; align-items: flex-start; gap: 12px; padding: 18px 20px;
  background: #fff; border: 1px solid var(--line-soft); border-radius: 16px;
}
.qual .ck { color: var(--accent); flex: none; margin-top: 2px; }
.qual .t { font-weight: 600; font-size: .95rem; }
.qual .s { font-size: .8rem; color: var(--ink-3); }

/* ---------- Mobile menu panel ---------- */
.mobile-menu {
  position: fixed; top: var(--nav-h); left: 0; right: 0; z-index: 999;
  background: rgba(255,255,255,.96); backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line-soft);
  transform: translateY(-110%); transition: transform .35s var(--ease);
  padding: 14px 24px 24px;
}
.mobile-menu.open { transform: translateY(0); }
.mobile-menu a { display: block; font-size: 17px; color: var(--ink); padding: 13px 6px; border-bottom: 1px solid var(--line-soft); }
.mobile-menu a.active { color: var(--accent); font-weight: 600; }
.mobile-menu .lang-toggle { margin: 16px 0 0; width: 100%; padding: 11px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .cases { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .split, .split.rev { grid-template-columns: 1fr; }
  .split.rev .split-media { order: 0; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav-burger { display: block; }
  .brand .zh { display: none; }
  .nav-hotline .hl-label { display: none; }
  .nav-hotline { margin-left: 10px; padding: 6px 10px; }
  .mobile-call-fab { display: inline-flex; }
  body { padding-bottom: 78px; }
  .display { font-size: clamp(1rem, 5.2vw, 1.7rem); }
  .hq-hero .display { font-size: clamp(1rem, 5.5vw, 1.8rem); }
  .h1 { font-size: clamp(1rem, 4.4vw, 1.5rem); }
  .h2 { font-size: clamp(.95rem, 3.6vw, 1.35rem); }
}
/* ---------- News / 企业动态 ---------- */
.news-hero {
  position: relative; margin-top: var(--nav-h);
  min-height: 44vh; display: flex; align-items: flex-end; overflow: hidden;
}
.news-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.news-hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(20,20,20,.74), rgba(20,20,20,.12) 55%, rgba(20,20,20,.34));
}
.news-hero-content { position: relative; z-index: 2; color: #fff; padding: 0 0 54px; width: 100%; }
.news-hero .eyebrow { color: rgba(255,255,255,.86); }
.news-hero .display { color: #fff; margin: 10px 0 14px; white-space: nowrap; }
.news-hero .lead { color: rgba(255,255,255,.92); max-width: 720px; }

.news-toolbar {
  display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; justify-content: space-between;
  margin: 36px 0 24px; padding-bottom: 16px; border-bottom: 1px solid var(--line-soft);
}
.news-source { font-size: .86rem; color: var(--ink-3); }
.news-updated { font-size: .82rem; color: var(--ink-3); }

.news-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.news-card {
  background: #fff; border: 1px solid var(--line-soft); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column; transition: all .3s var(--ease);
}
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--accent); }
.news-cover { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.news-body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.news-meta { font-size: .8rem; color: var(--accent); font-weight: 600; letter-spacing: .04em; }
.news-title { font-size: 1.18rem; font-weight: 600; line-height: 1.4; color: var(--ink); }
.news-sum { font-size: .95rem; color: var(--ink-2); line-height: 1.7; flex: 1; }
.news-more { margin-top: 4px; font-size: .9rem; font-weight: 600; color: var(--accent); align-self: flex-start; }
.news-more:hover { color: var(--accent-deep); }
.news-empty { text-align: center; color: var(--ink-3); padding: 60px 0; }

@media (max-width: 760px) {
  .news-list { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .grid-2, .grid-3, .grid-4, .cases { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .tl-item { grid-template-columns: 1fr; gap: 10px; }
  .footer-top { grid-template-columns: 1fr; }
  .nav-hotline { display: none; }
  .stats { grid-template-columns: 1fr; }
  .stats .stat + .stat::before { display: none; }
  .stats .stat + .stat { border-top: 1px solid var(--line-soft); margin-top: 6px; padding-top: 26px; }
  .card { padding: 24px; }
  .hq-card-img { width: calc(100% + 48px); margin: -24px -24px 18px -24px; }
}

/* ---------- News list redesign (featured + grid) ---------- */
.news-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.news-card { cursor: pointer; }
.news-card.featured {
  grid-column: 1 / -1; flex-direction: row; align-items: stretch;
}
.news-card.featured .news-cover { width: 50%; aspect-ratio: auto; min-height: 330px; }
.news-card.featured .news-body { width: 50%; padding: 40px 44px; justify-content: center; }
.news-card.featured .news-title { font-size: 1.62rem; line-height: 1.32; }
.news-card.featured .news-sum { font-size: 1.02rem; }

@media (max-width: 760px) {
  .news-list { grid-template-columns: 1fr; }
  .news-card.featured { flex-direction: column; }
  .news-card.featured .news-cover { width: 100%; min-height: 0; aspect-ratio: 16/9; }
  .news-card.featured .news-body { width: 100%; padding: 24px; }
  .news-card.featured .news-title { font-size: 1.32rem; }
}

/* ---------- Article detail view ---------- */
.article-view { display: none; }
.article-view.active { display: block; }

.article-hero {
  position: relative; margin-top: var(--nav-h);
  min-height: 56vh; display: flex; align-items: flex-end; overflow: hidden;
}
.article-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.article-hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(18,18,18,.84), rgba(18,18,18,.16) 55%, rgba(18,18,18,.42));
}
.article-hero-content { position: relative; z-index: 2; color: #fff; padding: 0 0 50px; width: 100%; }
.article-back {
  display: inline-flex; align-items: center; gap: 6px; margin-bottom: 22px;
  font-size: 14px; font-weight: 600; color: #fff;
  background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.30);
  padding: 8px 16px; border-radius: 999px; cursor: pointer; backdrop-filter: blur(8px);
  transition: background .2s, transform .2s;
}
.article-back:hover { background: rgba(255,255,255,.30); transform: translateX(-2px); }
.article-hero .eyebrow { color: rgba(255,255,255,.86); }
.article-hero .display { color: #fff; margin: 8px 0 14px; max-width: 900px; white-space: nowrap; }
.article-meta { font-size: .9rem; color: rgba(255,255,255,.92); font-weight: 500; letter-spacing: .02em; }

.article-body {
  max-width: 760px; margin: 0 auto; padding: 56px 0 8px;
  font-size: 1.06rem; line-height: 1.95; color: var(--ink);
}
.article-body section { display: block; }
.article-body p { margin: 20px 0; }
.article-body img {
  width: 100%; height: auto; display: block;
  border-radius: 16px; margin: 26px 0; box-shadow: var(--shadow-sm);
}
.article-body svg { width: 100%; height: auto; display: block; margin: 22px 0; }
.article-body h1, .article-body h2, .article-body h3, .article-body h4 {
  font-family: var(--font-display); font-weight: 600; line-height: 1.32;
  margin: 34px 0 14px; letter-spacing: -.01em; color: var(--ink);
}
.article-body h1 { font-size: 1.7rem; } .article-body h2 { font-size: 1.45rem; }
.article-body h3 { font-size: 1.2rem; } .article-body h4 { font-size: 1.05rem; }
.article-body a { color: var(--accent); text-decoration: underline; }
.article-body blockquote {
  margin: 24px 0; padding: 14px 22px; border-left: 3px solid var(--accent);
  background: var(--bg-alt); border-radius: 0 12px 12px 0; color: var(--ink-2);
}
.article-body ul, .article-body ol { margin: 18px 0; padding-left: 22px; }
.article-body li { margin: 8px 0; }

.article-foot {
  max-width: 760px; margin: 40px auto 0; padding-top: 28px;
  border-top: 1px solid var(--line-soft);
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
}
.article-foot .af-src { font-size: .85rem; color: var(--ink-3); }

@media (max-width: 760px) {
  .article-hero { min-height: 46vh; }
  .article-body { padding: 36px 0 8px; font-size: 1.02rem; }
  .article-body img { border-radius: 12px; margin: 20px 0; }
}
