/* =========================================================
   普赛斯（北京）工程技术有限公司 - 首页样式
   品牌色取自产品样本：黄绿 → 蓝绿渐变
   ========================================================= */
:root {
  --green: #6cb33f;
  --green-d: #4e9a2a;
  --lime: #9cc823;
  --teal: #1f9e94;
  --grad: linear-gradient(120deg, #9cc823 0%, #5fb246 45%, #1f9e94 100%);
  --ink: #1d2a24;
  --text: #4a5550;
  --muted: #8a948f;
  --line: #e5ebe7;
  --bg-soft: #f4f8f3;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(30, 60, 40, .08);
  --header-h: 78px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); overflow-x: clip; }
body {
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Source Han Sans SC", "Noto Sans SC", sans-serif;
  color: var(--text);
  line-height: 1.75;
  font-size: 15px;
  background: #fff;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; }

.container { width: min(1280px, 92%); margin: 0 auto; }
.section { padding: 92px 0; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 48px; padding: 0 32px; border-radius: 30px;
  font-size: 15px; letter-spacing: 1px; transition: .3s;
}
.btn--primary { background: var(--grad); color: #fff; box-shadow: 0 8px 22px rgba(95, 178, 70, .35); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(95, 178, 70, .45); }
.btn--ghost { border: 1px solid rgba(255,255,255,.7); color: #fff; }
.btn--ghost:hover { background: #fff; color: var(--green-d); }
.btn--video { border: 1px solid rgba(255,255,255,.45); background: rgba(255,255,255,.14); color: #fff; backdrop-filter: blur(6px); gap: 8px; }
.btn--video:hover { background: rgba(255,255,255,.26); border-color: #fff; transform: translateY(-2px); }
.ico-play { display: inline-block; width: 0; height: 0; border-style: solid; border-width: 6px 0 6px 10px; border-color: transparent transparent transparent #c8eb4f; }
.btn--outline { border: 1px solid var(--green); color: var(--green-d); }
.btn--outline:hover { background: var(--green); color: #fff; }

/* ---------- 区块标题 ---------- */
.sec-head { text-align: center; margin-bottom: 52px; }
.sec-head__en {
  display: block; font-family: "Bahnschrift", "DIN Alternate", "Arial Narrow", Arial, sans-serif;
  font-size: 14px; letter-spacing: 4px; font-weight: 600;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.sec-head h2 { font-size: 36px; color: var(--ink); font-weight: 700; margin-top: 6px; position: relative; }
.sec-head h2::after {
  content: ""; display: block; width: 46px; height: 4px; border-radius: 2px;
  background: var(--grad); margin: 16px auto 0;
}
.sec-head__sub { margin-top: 16px; color: var(--muted); font-size: 15px; }
.sec-head--left { text-align: left; }
.sec-head--left h2::after { margin-left: 0; }

/* ---------- 头部 ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h);
  transition: background .3s, box-shadow .3s;
}
.header__inner { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; position: relative; }
.brand__logo { height: 46px; width: auto; }
.brand__logo--dark { display: none; }
.brand__text strong { display: block; color: #fff; font-size: 16px; letter-spacing: 1px; line-height: 1.3; }
.brand__text em { display: block; font-style: normal; color: rgba(255,255,255,.75); font-size: 10px; letter-spacing: .2px; }
.nav { display: flex; gap: 6px; margin-left: auto; }
.nav a {
  color: rgba(255,255,255,.92); padding: 8px 14px; font-size: 18px; position: relative; white-space: nowrap;
}
.nav a::after {
  content: ""; position: absolute; left: 50%; bottom: 0; width: 0; height: 2px; background: var(--lime);
  transition: .3s; transform: translateX(-50%);
}
.nav a:hover::after, .nav a.active::after { width: 22px; }
.header__tel { color: #fff; font-family: Bahnschrift, Arial, sans-serif; font-size: 17px; display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.ico-phone { width: 30px; height: 30px; border-radius: 50%; background: var(--grad); display: inline-block; position: relative; }
.ico-phone::before {
  content: ""; position: absolute; inset: 8px;
  background: #fff;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8a15.1 15.1 0 006.6 6.6l2.2-2.2a1 1 0 011-.25 11.4 11.4 0 003.6.57 1 1 0 011 1V20a1 1 0 01-1 1A17 17 0 013 4a1 1 0 011-1h3.5a1 1 0 011 1c0 1.25.2 2.45.57 3.57a1 1 0 01-.25 1z'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8a15.1 15.1 0 006.6 6.6l2.2-2.2a1 1 0 011-.25 11.4 11.4 0 003.6.57 1 1 0 011 1V20a1 1 0 01-1 1A17 17 0 013 4a1 1 0 011-1h3.5a1 1 0 011 1c0 1.25.2 2.45.57 3.57a1 1 0 01-.25 1z'/%3E%3C/svg%3E") center/contain no-repeat;
}
.header.scrolled { background: rgba(255,255,255,.97); box-shadow: 0 4px 20px rgba(0,0,0,.06); backdrop-filter: blur(8px); }
.header.scrolled .brand__logo--dark { display: block; }
.header.scrolled .brand__logo--light { display: none; }
.header.scrolled .brand__text strong { color: var(--ink); }
.header.scrolled .brand__text em { color: var(--muted); }
.header.scrolled .nav a { color: var(--ink); }
.header.scrolled .nav a.active { color: var(--green-d); }
.header.scrolled .header__tel { color: var(--green-d); }
.nav-toggle { display: none; width: 40px; height: 40px; flex-direction: column; justify-content: center; gap: 6px; margin-left: auto; }
.nav-toggle span { display: block; height: 2px; background: #fff; border-radius: 2px; transition: .3s; }
.header.scrolled .nav-toggle span { background: var(--ink); }

/* ---------- 首屏 ---------- */
.hero { position: relative; height: 100vh; min-height: 680px; max-height: 1100px; color: #fff; overflow: hidden; display: flex; flex-direction: column; }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero__mask {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(10,30,22,.78) 0%, rgba(10,30,22,.45) 50%, rgba(10,30,22,.15) 100%),
              linear-gradient(0deg, rgba(10,30,22,.65) 0%, transparent 35%);
}
.hero__content { position: relative; margin-top: auto; padding-top: var(--header-h); }
.hero__eyebrow { display: inline-block; padding: 6px 16px; border-left: 3px solid var(--lime); background: rgba(255,255,255,.08); letter-spacing: 3px; font-size: 14px; }
.hero__title { font-size: clamp(40px, 5.6vw, 76px); line-height: 1.2; font-weight: 700; letter-spacing: 6px; margin: 26px 0 18px; }
.hero__title span { background: linear-gradient(90deg, #c8eb4f, #5fd0a5); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__slogan { font-size: 18px; letter-spacing: 3px; opacity: .9; }
.hero__btns { display: flex; gap: 16px; margin-top: 38px; flex-wrap: wrap; }
.hero__stats {
  position: relative; margin-top: auto; margin-bottom: 94px; padding-top: 38px;
  display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255,255,255,.18);
}
.hero__stats div { padding: 24px 0 0; }
.hero__stats div + div { padding-left: 30px; border-left: 1px solid rgba(255,255,255,.12); }
.hero__stats b { display: block; font-family: Bahnschrift, "DIN Alternate", Arial, sans-serif; font-size: 40px; line-height: 1; font-weight: 600; }
.hero__stats span { font-size: 14px; opacity: .8; margin-top: 8px; display: block; }
.hero__scroll { position: absolute; left: 50%; bottom: 52px; width: 24px; height: 36px; border: 2px solid rgba(255,255,255,.55); border-radius: 14px; transform: translateX(-50%); z-index: 1; }
.hero__scroll span { position: absolute; left: 50%; top: 7px; width: 4px; height: 8px; background: #fff; border-radius: 2px; transform: translateX(-50%); animation: scroll 1.6s infinite; }
@keyframes scroll { 0% { opacity: 1; top: 7px; } 100% { opacity: 0; top: 20px; } }

/* ---------- 四大业务 ---------- */
.services { position: relative; z-index: 2; margin-top: -1px; background: var(--bg-soft); }
.services__grid { display: grid; grid-template-columns: repeat(4, 1fr); transform: translateY(-40px); background: #fff; box-shadow: var(--shadow); border-radius: var(--radius); overflow: hidden; }
.service { padding: 40px 28px; text-align: center; transition: .35s; position: relative; }
.service + .service { border-left: 1px solid var(--line); }
.service__ico { display: inline-flex; width: 72px; height: 72px; border-radius: 50%; align-items: center; justify-content: center; background: var(--bg-soft); color: var(--green); transition: .35s; }
.service__ico svg { width: 38px; height: 38px; }
.service h3 { font-size: 20px; color: var(--ink); margin: 20px 0 10px; }
.service p { font-size: 14px; color: var(--muted); }
.service:hover { background: var(--grad); }
.service:hover h3, .service:hover p { color: #fff; }
.service:hover .service__ico { background: rgba(255,255,255,.2); color: #fff; }

/* ---------- 关于普赛斯（简介 + Tab 切换） ---------- */
.about { background: var(--bg-soft); padding-top: 52px; }
.about__grid { display: grid; grid-template-columns: 1fr 1.08fr; gap: 68px; align-items: center; }
.about__media { position: relative; z-index: 0; }
.about__video-wrap { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: #0f1e17; aspect-ratio: 16/10; }
.about__video { width: 100%; height: 100%; object-fit: cover; display: block; }
.about__play {
  position: absolute; inset: 0; width: 100%; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  background: linear-gradient(180deg, rgba(10,30,22,.18) 0%, rgba(10,30,22,.52) 100%);
  color: #fff; transition: opacity .3s, visibility .3s, background .3s;
}
.about__play:hover { background: linear-gradient(180deg, rgba(10,30,22,.12) 0%, rgba(10,30,22,.42) 100%); }
.about__play-ring {
  width: 74px; height: 74px; border-radius: 50%; background: var(--grad);
  display: grid; place-items: center;
  box-shadow: 0 10px 28px rgba(31,158,148,.45), 0 0 0 10px rgba(255,255,255,.18);
  transition: transform .3s;
}
.about__play-ring i {
  display: block; width: 0; height: 0; margin-left: 5px;
  border-style: solid; border-width: 12px 0 12px 20px;
  border-color: transparent transparent transparent #fff;
}
.about__play:hover .about__play-ring { transform: scale(1.08); }
.about__play em { font-style: normal; font-size: 14px; letter-spacing: 2px; background: rgba(0,0,0,.35); padding: 4px 14px; border-radius: 20px; backdrop-filter: blur(4px); }
.about__media.playing .about__play,
.about__media.playing .about__badge { opacity: 0; visibility: hidden; pointer-events: none; }
.about__media::before { content: ""; position: absolute; left: -22px; top: -22px; width: 55%; height: 55%; border: 3px solid var(--lime); border-radius: var(--radius); z-index: -1; }
.about__badge {
  position: absolute; right: -24px; bottom: 28px; background: var(--grad); color: #fff;
  padding: 20px 24px; border-radius: var(--radius); box-shadow: 0 12px 30px rgba(31,158,148,.35);
  transition: opacity .3s, visibility .3s;
}
.about__badge b { font-family: Bahnschrift, Arial, sans-serif; font-size: 42px; line-height: 1; display: block; }
.about__badge span { font-size: 13px; line-height: 1.6; display: block; margin-top: 8px; }
.about__text .sec-head { margin-bottom: 24px; }
.lead { font-size: 17px; color: var(--ink); margin-bottom: 14px; font-weight: 500; }
.about__kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 28px; }
.about__kpis li {
  background: #fff; border-radius: var(--radius); padding: 18px 12px;
  border-bottom: 3px solid var(--green); text-align: center;
  box-shadow: 0 4px 14px rgba(30,60,40,.04); transition: .3s;
}
.about__kpis li:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.about__kpis b { display: block; font-family: Bahnschrift, "DIN Alternate", Arial, sans-serif; font-size: 26px; line-height: 1.15; color: var(--green-d); }
.about__kpis span { display: block; font-size: 12.5px; color: var(--muted); margin-top: 6px; }

/* 紧凑 Tab */
.about-tabs { margin-top: 68px; }
.about-tabs__nav {
  width: fit-content; max-width: 100%; margin: 0 auto 32px;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 6px;
  background: #fff; padding: 6px; border-radius: 36px; box-shadow: var(--shadow);
}
.about-tabs__nav button {
  padding: 10px 28px; border-radius: 26px; font-size: 15px; font-weight: 500;
  color: var(--text); transition: .25s; white-space: nowrap;
}
.about-tabs__nav button:hover { color: var(--green-d); }
.about-tabs__nav button.active { background: var(--grad); color: #fff; box-shadow: 0 4px 12px rgba(95, 178, 70, .3); }
.about-tabs__panel { display: none; }
.about-tabs__panel.active { display: block; animation: tabFade .35s ease; }
@keyframes tabFade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* 旗下公司 */
.subs__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.sub { background: #fff; border-radius: var(--radius); padding: 26px 28px; transition: .3s; position: relative; overflow: hidden; box-shadow: 0 4px 16px rgba(30,60,40,.04); }
.sub::before { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 0; background: var(--grad); transition: .4s; }
.sub:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.sub:hover::before { width: 100%; }
.sub h4 { color: var(--ink); font-size: 16px; margin-bottom: 8px; }
.sub p { font-size: 14px; color: var(--muted); }

/* 企业资质 */
.certs__row { display: grid; grid-template-columns: 1.4fr 1.4fr 1fr 1fr 1fr 1fr; gap: 20px; align-items: end; }
.certs__row figure { background: #fff; padding: 12px; border-radius: 8px; box-shadow: var(--shadow); transition: .3s; cursor: zoom-in; }
.certs__row figure:hover { transform: translateY(-6px); }
.certs__row img { width: 100%; aspect-ratio: 1.41; object-fit: cover; border: 1px solid var(--line); }
.certs__row figure.tall img { aspect-ratio: .71; }
.certs__row figcaption { text-align: center; font-size: 13px; margin-top: 10px; color: var(--ink); }

/* 发展历程 */
.timeline {
  position: relative; display: grid; grid-template-columns: repeat(7, 1fr); gap: 14px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbf6 100%);
  border: 1px solid var(--line); border-radius: 16px; padding: 48px 30px 40px;
  box-shadow: 0 12px 34px rgba(30, 60, 40, .06);
}
.timeline__track {
  position: absolute; left: 52px; right: 52px; top: 107px; height: 4px;
  background: linear-gradient(90deg, #d7e8cf 0%, var(--lime) 30%, var(--green) 68%, var(--teal) 100%);
  border-radius: 4px;
}
.tl { position: relative; text-align: center; display: flex; flex-direction: column; align-items: center; }
.tl b {
  order: 1; font-family: Bahnschrift, "DIN Alternate", Arial, sans-serif;
  font-size: 32px; font-weight: 700; line-height: 1; height: 38px; letter-spacing: .5px;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.tl::before {
  order: 2; content: ""; display: block; width: 16px; height: 16px; border-radius: 50%;
  background: var(--green); border: 3px solid #fff;
  box-shadow: 0 0 0 3px rgba(108, 179, 63, .28), 0 4px 10px rgba(78, 154, 42, .25);
  margin: 15px auto 0; position: relative; z-index: 2; transition: .3s;
}
.tl::after {
  order: 3; content: ""; display: block; width: 1px; height: 22px;
  background: linear-gradient(180deg, rgba(108, 179, 63, .55), rgba(108, 179, 63, .08));
}
.tl p {
  order: 4; width: 100%; flex: 1; display: flex; align-items: center; justify-content: center;
  background: #fff; border: 1px solid #e5efe1; border-top: 3px solid rgba(108, 179, 63, .4);
  border-radius: 10px; padding: 16px 10px; font-size: 13.5px; line-height: 1.65;
  color: var(--ink); font-weight: 500;
  box-shadow: 0 4px 14px rgba(30, 60, 40, .04); transition: .3s;
}
.tl:last-child p {
  background: linear-gradient(180deg, #f0f9ec 0%, #ffffff 100%);
  border-top-color: var(--teal);
}
.tl:hover::before {
  background: var(--teal); transform: scale(1.22);
  box-shadow: 0 0 0 5px rgba(31, 158, 148, .22), 0 4px 12px rgba(31, 158, 148, .3);
}
.tl:hover p {
  border-color: var(--green); border-top-color: var(--green);
  transform: translateY(-4px); box-shadow: 0 10px 24px rgba(30, 60, 40, .1);
  color: var(--green-d);
}

/* ---------- 核心业务：EPC/运营 + 核心设备 ---------- */
.solutions { background: #fff; }
.cap-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; margin-bottom: 56px; }
.cap-card {
  position: relative; border-radius: 14px; overflow: hidden;
  padding: 38px 36px 32px; color: #fff;
  display: flex; flex-direction: column; min-height: 276px;
  box-shadow: var(--shadow); transition: .35s;
}
.cap-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(20,60,40,.18); }
.cap-card--epc {
  background: linear-gradient(125deg, rgba(16,54,34,.92) 0%, rgba(34,116,66,.84) 58%, rgba(31,158,148,.68) 100%),
              url("../assets/img/epc-bg.jpg") center/cover;
}
.cap-card--ops {
  background: linear-gradient(125deg, rgba(14,50,56,.92) 0%, rgba(24,112,108,.84) 58%, rgba(78,154,42,.68) 100%),
              url("../assets/img/ops-control.jpg") center/cover;
}
.cap-card__tag {
  align-self: flex-start; padding: 4px 14px; border-radius: 20px;
  background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.32);
  font-size: 13px; letter-spacing: 1px; backdrop-filter: blur(4px);
}
.cap-card h3 { font-size: 24px; font-weight: 700; margin: 18px 0 12px; line-height: 1.35; }
.cap-card p { font-size: 14.5px; line-height: 1.8; opacity: .92; flex: 1; }
.cap-card__foot {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  margin-top: 26px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.22);
}
.cap-card__foot b {
  font-family: Bahnschrift, "DIN Alternate", Arial, sans-serif;
  font-size: 20px; font-weight: 600; color: #d8f573; letter-spacing: .5px;
}
.link-btn {
  color: #fff; font-size: 14px; font-weight: 500;
  padding: 7px 18px; border-radius: 20px;
  background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.35);
  transition: .25s;
}
.link-btn:hover { background: #fff; color: var(--green-d); border-color: #fff; }

.equip-block { background: var(--bg-soft); border-radius: 16px; padding: 36px 34px 38px; }
.equip-block__head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  margin-bottom: 26px; flex-wrap: wrap;
}
.equip-block__head h3 { font-size: 22px; color: var(--ink); padding-left: 14px; border-left: 4px solid var(--green); line-height: 1.25; }
.equip-block__head span { font-size: 14px; color: var(--muted); }
.equip__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.eq { background: #fff; border-radius: var(--radius); padding: 24px 20px 22px; text-align: center; transition: .35s; border: 1px solid transparent; }
.eq__img { height: 146px; display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.eq__img img { max-height: 136px; max-width: 85%; object-fit: contain; mix-blend-mode: multiply; transition: .4s; }
.eq h4 { color: var(--ink); font-size: 16px; font-weight: 600; }
.eq:hover { border-color: var(--green); box-shadow: var(--shadow); transform: translateY(-4px); }
.eq:hover .eq__img img { transform: scale(1.08); }

/* ---------- 代表性工程案例 ---------- */
.cases { background: var(--bg-soft); }
.case-feature { position: relative; border-radius: 14px; overflow: hidden; margin-bottom: 36px; box-shadow: var(--shadow); }
.case-feature img { width: 100%; aspect-ratio: 2.4; object-fit: cover; object-position: center 60%; }
.case-feature__info {
  position: absolute; left: 30px; bottom: 30px; width: min(470px, 62%); background: rgba(255,255,255,.95);
  border-radius: var(--radius); padding: 26px 28px; backdrop-filter: blur(6px);
}
.tag-green { display: inline-block; background: var(--grad); color: #fff; padding: 2px 12px; border-radius: 3px; font-size: 13px; }
.case-feature__info h3 { color: var(--ink); font-size: 22px; margin: 10px 0 10px; }
.case-feature__info p { font-size: 14px; color: var(--text); line-height: 1.75; }
.case-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.case { background: #fff; border-radius: var(--radius); overflow: hidden; transition: .35s; }
.case__img { position: relative; overflow: hidden; }
.case__img img { width: 100%; aspect-ratio: 16/10; object-fit: cover; transition: .6s; }
.case__img span { position: absolute; left: 12px; top: 12px; background: rgba(78,154,42,.92); color: #fff; font-size: 12px; padding: 2px 10px; border-radius: 3px; font-family: Bahnschrift, Arial, sans-serif; letter-spacing: .5px; }
.case__body { padding: 18px 20px 22px; }
.case__body h4 { color: var(--ink); font-size: 16px; margin-bottom: 6px; }
.case__body p { font-size: 13px; color: var(--muted); line-height: 1.7; }
.case:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.case:hover .case__img img { transform: scale(1.08); }
.cases__note { text-align: center; margin-top: 40px; }

/* ---------- 普赛斯新闻 ---------- */
.news { background: #fff; }
.news__top { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 40px; gap: 20px; flex-wrap: wrap; }
.news__top .sec-head { margin-bottom: 0; }
.news__tabs { display: flex; gap: 6px; background: var(--bg-soft); padding: 6px; border-radius: 30px; }
.news__tabs button { padding: 8px 22px; border-radius: 22px; color: var(--text); font-size: 14px; transition: .3s; }
.news__tabs button.active, .news__tabs button:hover { background: var(--grad); color: #fff; }
.news__grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 28px; }
.news-feature { background: var(--bg-soft); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: .35s; cursor: pointer; }
.news-feature:hover { box-shadow: var(--shadow); }
.news-feature__img { overflow: hidden; display: block; }
.news-feature__img img { width: 100%; aspect-ratio: 16/8.6; object-fit: cover; transition: .6s; }
.news-feature:hover .news-feature__img img { transform: scale(1.05); }
.news-feature__body { padding: 26px 30px 30px; }
.news__cat { display: inline-block; font-size: 12px; color: var(--green-d); background: #e3f2da; padding: 1px 10px; border-radius: 3px; margin-right: 10px; }
.news-feature time, .news-item time { font-family: Bahnschrift, Arial, sans-serif; color: var(--muted); font-size: 14px; }
.news-feature h3 { font-size: 21px; color: var(--ink); margin: 12px 0 10px; line-height: 1.5; }
.news-feature h3 a:hover, .news-item h4 a:hover { color: var(--green-d); }
.news-feature p { font-size: 14px; color: var(--muted); }
.more { display: inline-flex; gap: 6px; margin-top: 18px; color: var(--green-d); font-size: 14px; font-weight: 500; }
.more i { font-style: normal; transition: .3s; }
.more:hover i { transform: translateX(4px); }
.news__list { display: grid; gap: 16px; align-content: start; }
.news-item { display: grid; grid-template-columns: 168px 1fr; gap: 18px; background: var(--bg-soft); border-radius: var(--radius); padding: 14px; align-items: center; transition: .35s; cursor: pointer; }
.news-item__img { overflow: hidden; border-radius: 6px; display: block; }
.news-item__img img { width: 100%; aspect-ratio: 16/10.5; object-fit: cover; transition: .6s; }
.news-item h4 { font-size: 16px; color: var(--ink); margin-top: 8px; line-height: 1.55; }
.news-item:hover { transform: translateX(6px); background: #fff; box-shadow: var(--shadow); }
.news-item:hover img { transform: scale(1.08); }
.news [data-cat].hidden { display: none; }
.news__grid.only-list { grid-template-columns: 1fr; }
.news__grid.only-list .news__list { grid-template-columns: repeat(2, 1fr); }

/* ---------- 合作伙伴 ---------- */
.partners { background: var(--bg-soft); padding: 84px 0 92px; }
.partners__head { text-align: center; margin-bottom: 44px; }
.partners__head h2 { font-size: 32px; color: var(--ink); font-weight: 600; letter-spacing: 1px; }
.partners__head p { margin-top: 10px; font-size: 15px; color: var(--muted); }
.partners__head b { color: var(--green-d); font-weight: 600; }
.partners__wall { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.partners__row { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; }
.partner-card {
  width: 188px; height: 98px; padding: 12px 18px;
  background: #fff; border-radius: 26px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(24, 48, 36, .06), 0 2px 6px rgba(24, 48, 36, .03);
  transition: transform .3s ease, box-shadow .3s ease;
}
.partner-card img { max-width: 100%; max-height: 100%; object-fit: contain; transition: transform .3s ease; }
.partner-card:hover { transform: translateY(-4px); box-shadow: 0 14px 32px rgba(24, 48, 36, .11), 0 4px 10px rgba(24, 48, 36, .05); }
.partner-card:hover img { transform: scale(1.04); }

/* ---------- 展望未来 ---------- */
.future {
  padding: 96px 0; color: #fff; text-align: center; position: relative; overflow: hidden;
  background: linear-gradient(120deg, rgba(20,60,35,.9), rgba(31,158,148,.82)), url("../assets/img/coal.jpg") center/cover;
}
.future h2 { font-size: clamp(24px, 2.8vw, 36px); margin-bottom: 18px; letter-spacing: 2px; }
.future p { max-width: 720px; margin: 0 auto 34px; opacity: .92; font-size: 16px; }
.future .btn--primary { background: #fff; color: var(--green-d); box-shadow: 0 10px 26px rgba(0,0,0,.18); }
.future .btn--primary:hover { background: #e8f8c8; color: var(--ink); }

/* ---------- 页脚 ---------- */
.footer { background: #13221b; color: rgba(255,255,255,.7); padding-top: 68px; }
.footer__grid { display: grid; grid-template-columns: 1.7fr .9fr 1.3fr; gap: 48px; padding-bottom: 48px; }
.footer__brand { display: flex; gap: 18px; align-items: flex-start; }
.footer__logo { height: 60px; width: auto; flex-shrink: 0; }
.footer__brand h3 { color: #fff; font-size: 18px; }
.footer__brand .en { font-size: 12px; margin-top: 2px; }
.footer__brand .slogan { margin-top: 14px; color: var(--lime); font-size: 14px; }
.footer__col h4 { color: #fff; font-size: 16px; margin-bottom: 18px; position: relative; padding-bottom: 10px; }
.footer__col h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 24px; height: 2px; background: var(--green); }
.footer__col a { display: block; font-size: 14px; padding: 4px 0; transition: .3s; }
.footer__col a:hover { color: var(--lime); padding-left: 4px; }
.footer__contact p { font-size: 14px; margin-bottom: 10px; }
.footer__contact i { font-style: normal; display: inline-block; padding: 0 8px; margin-right: 10px; border-radius: 3px; background: rgba(108,179,63,.2); color: var(--lime); font-size: 12px; }
.footer__contact a { display: inline; padding: 0; color: #fff; font-family: Bahnschrift, Arial, sans-serif; font-size: 18px; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 20px 0; font-size: 13px; text-align: center; }

.to-top {
  position: fixed; right: 26px; bottom: 30px; width: 46px; height: 46px; border-radius: 50%; background: var(--grad);
  color: #fff; display: grid; place-items: center; font-size: 20px; box-shadow: var(--shadow); opacity: 0; pointer-events: none; transition: .3s; z-index: 90;
}
.to-top.show { opacity: 1; pointer-events: auto; }

/* ---------- 弹窗 ---------- */
.modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 20px; opacity: 0; pointer-events: none; transition: .25s; }
.modal.open { opacity: 1; pointer-events: auto; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(12, 24, 18, .75); backdrop-filter: blur(4px); }
.modal__box { position: relative; z-index: 1; background: #fff; border-radius: 12px; max-height: 90vh; overflow: hidden; box-shadow: 0 24px 60px rgba(0,0,0,.35); width: 100%; }
.modal__close { position: absolute; right: 14px; top: 14px; z-index: 3; width: 36px; height: 36px; border-radius: 50%; background: rgba(0,0,0,.55); color: #fff; font-size: 22px; line-height: 36px; transition: .2s; }
.modal__close:hover { background: var(--green-d); }
.modal__box--video { max-width: 960px; background: #000; }
.modal__box--video video { width: 100%; max-height: 82vh; display: block; }
.modal__box--article { max-width: 760px; overflow-y: auto; padding: 36px 40px; }
.modal__box--article .art-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; color: var(--muted); font-size: 14px; }
.modal__box--article h3 { font-size: 24px; color: var(--ink); line-height: 1.4; margin-bottom: 18px; }
.modal__box--article img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 8px; margin-bottom: 20px; }
.modal__box--article p { margin-bottom: 14px; color: var(--text); font-size: 15px; line-height: 1.85; }
.modal__box--article .art-tip { font-size: 12px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 12px; margin-top: 20px; }
.modal__box--table { max-width: 920px; display: flex; flex-direction: column; }
.perf-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 64px 18px 28px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.perf-head h3 { color: var(--ink); font-size: 20px; }
.perf-tabs { display: flex; gap: 8px; }
.perf-tabs button { padding: 6px 18px; border-radius: 20px; font-size: 14px; background: var(--bg-soft); color: var(--text); transition: .2s; }
.perf-tabs button.active { background: var(--grad); color: #fff; }
.perf-scroll { overflow-y: auto; max-height: 68vh; padding: 0 28px 24px; }
.perf-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.perf-table th, .perf-table td { padding: 11px 12px; border-bottom: 1px solid var(--line); text-align: left; }
.perf-table th { position: sticky; top: 0; background: #fff; color: var(--ink); font-weight: 600; border-bottom: 2px solid var(--green); }
.perf-table tbody tr:hover { background: var(--bg-soft); }
.modal__box--img { max-width: 640px; padding: 20px; text-align: center; }
.modal__box--img img { max-height: 76vh; margin: 0 auto; object-fit: contain; }
.modal__box--img p { margin-top: 12px; color: var(--ink); font-size: 15px; }

/* ---------- 动效 ---------- */
.reveal:not(.in) { opacity: 0; }
.reveal.in { animation: rise .8s cubic-bezier(.2,.7,.3,1) both; }
@keyframes rise { from { opacity: 0; translate: 0 30px; } to { opacity: 1; translate: 0 0; } }
@media (prefers-reduced-motion: reduce) {
  .reveal:not(.in) { opacity: 1; }
  .reveal.in { animation: none; }
  .marquee__track { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 1280px) {
  .header__tel { display: none; }
  .nav a { padding: 8px 10px; font-size: 16px; }
  .brand__text em { display: none; }
}
@media (max-width: 1080px) {
  .nav-toggle { display: flex; }
  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; flex-direction: column; gap: 0; background: #fff;
    padding: 10px 4%; box-shadow: 0 10px 20px rgba(0,0,0,.08); transform: translateY(-10px); opacity: 0; pointer-events: none; transition: .3s;
  }
  .nav.open { opacity: 1; transform: none; pointer-events: auto; }
  .nav a { color: var(--ink); padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav a::after { display: none; }
  .services__grid, .equip__grid, .case-grid { grid-template-columns: repeat(2, 1fr); }
  .service:nth-child(3) { border-left: 0; }
  .service:nth-child(n+3) { border-top: 1px solid var(--line); }
  .about__grid, .news__grid, .cap-cards { grid-template-columns: 1fr; }
  .about__badge { right: 16px; }
  .subs__grid { grid-template-columns: repeat(2, 1fr); }
  .certs__row { grid-template-columns: repeat(3, 1fr); }
  .timeline {
    display: flex; flex-direction: column; gap: 14px;
    padding: 28px 22px 28px 48px;
  }
  .timeline__track {
    left: 22px; right: auto; top: 34px; bottom: 34px; width: 3px; height: auto;
    background: linear-gradient(180deg, #d7e8cf 0%, var(--lime) 25%, var(--green) 65%, var(--teal) 100%);
  }
  .tl {
    flex-direction: row; align-items: center; text-align: left; gap: 14px;
    background: #fff; border: 1px solid #e5efe1; border-radius: 12px;
    padding: 15px 18px; box-shadow: 0 4px 14px rgba(30, 60, 40, .04);
  }
  .tl::before {
    position: absolute; left: -32px; top: 50%; transform: translateY(-50%);
    margin: 0; width: 14px; height: 14px;
  }
  .tl:hover::before { transform: translateY(-50%) scale(1.2); }
  .tl::after { display: none; }
  .tl b {
    font-size: 24px; height: auto; flex-shrink: 0; min-width: 66px;
    padding-right: 14px; border-right: 1px solid var(--line);
  }
  .tl p {
    background: none; border: 0; box-shadow: none; padding: 0;
    justify-content: flex-start; text-align: left; font-size: 14px; line-height: 1.55;
  }
  .tl:last-child { background: linear-gradient(90deg, #f2faef 0%, #ffffff 100%); border-color: rgba(31, 158, 148, .35); }
  .tl:last-child p { background: none; }
  .tl:hover p { transform: none; box-shadow: none; }
  .tl p br { display: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 680px) {
  :root { --header-h: 64px; }
  .section { padding: 68px 0; }
  .sec-head { margin-bottom: 36px; }
  .sec-head h2 { font-size: 28px; }
  .header__inner { gap: 12px; }
  .brand { min-width: 0; }
  .brand__text strong { font-size: 14px; white-space: nowrap; }
  .brand__logo { height: 34px; }
  .hero { height: auto; min-height: 620px; max-height: none; padding-bottom: 24px; }
  .hero__content { padding-top: calc(var(--header-h) + 32px); }
  .hero__btns { gap: 10px; }
  .hero__btns .btn { height: 42px; padding: 0 20px; font-size: 14px; }
  .hero__stats { grid-template-columns: repeat(2, 1fr); margin-top: 40px; margin-bottom: 50px; padding-top: 20px; gap: 16px; }
  .hero__stats div { padding-top: 8px; }
  .hero__stats div + div { padding-left: 0; border-left: 0; }
  .hero__stats b { font-size: 30px; }
  .hero__scroll { display: none; }
  .hero__title { letter-spacing: 2px; }
  .hero__slogan { font-size: 14px; letter-spacing: 1px; }
  .about__media::before { display: none; }
  .about__badge { right: 12px; bottom: 12px; padding: 14px 18px; }
  .about__badge b { font-size: 32px; }
  .about__kpis { grid-template-columns: repeat(2, 1fr); }
  .about-tabs { margin-top: 48px; }
  .about-tabs__nav button { padding: 8px 18px; font-size: 14px; }
  .cap-card { padding: 28px 24px 24px; min-height: auto; }
  .cap-card h3 { font-size: 20px; }
  .equip-block { padding: 26px 18px; }
  .news-item { grid-template-columns: 110px 1fr; gap: 12px; }
  .news-feature__body { padding: 20px; }
  .footer__brand { flex-direction: column; gap: 12px; }
  .footer__col:not(.footer__contact) { display: none; }
  .case-grid, .subs__grid, .footer__grid, .news__grid.only-list .news__list { grid-template-columns: 1fr; }
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .service { padding: 24px 14px; }
  .service__ico { width: 54px; height: 54px; }
  .service__ico svg { width: 28px; height: 28px; }
  .service h3 { font-size: 16px; margin: 14px 0 6px; }
  .service p { font-size: 12.5px; line-height: 1.5; }
  .equip__grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .eq { padding: 18px 12px 16px; }
  .eq__img { height: 110px; }
  .certs__row { grid-template-columns: repeat(2, 1fr); }
  .timeline { padding: 22px 16px 22px 42px; }
  .timeline__track { left: 19px; }
  .tl { padding: 13px 14px; gap: 12px; }
  .tl::before { left: -29px; }
  .tl b { font-size: 21px; min-width: 58px; padding-right: 10px; }
  .tl p { font-size: 13.5px; }
  .case-feature img { aspect-ratio: 1.5; }
  .case-feature__info { position: static; width: auto; }
  .news__tabs { overflow-x: auto; max-width: 100%; }
  .news__tabs button { padding: 8px 14px; white-space: nowrap; }
  .partners__wall, .partners__row { gap: 12px; }
  .partner-card { width: calc(50% - 6px); max-width: 170px; height: 82px; border-radius: 20px; padding: 10px 12px; }
  .modal__box--article { padding: 24px 20px; }
}
