/* ============================================================
   XINTIANMA Railings — style based on haofadecor.com layout
   Theme: green #0f790b / #629c45 · Fonts: Montserrat / Roboto
   动效体系：AOS式滚动入场 / hero KenBurns+文字逐行 / 产品轮播 /
   按钮扫光 / 卡片遮罩扫过 / 词块跑马灯 / 回顶进度环
   ============================================================ */
:root {
  --theme: #0f790b;
  --theme-2: #629c45;
  --theme-dark: #0b5c09;
  --dark: #212529;
  --body: #333333;
  --muted: #666;
  --light: #f2f6f8;
  --border: #dee2e6;
  --white: #fff;
  --shadow: 0 10px 30px rgba(0, 0, 0, .08);
  --radius: 8px;
  --ease: cubic-bezier(.215, .61, .355, 1);
  --font-h: 'Montserrat', 'Noto Sans SC', sans-serif;
  --font-b: 'Roboto', 'Noto Sans SC', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-b);
  color: var(--body);
  font-size: 16px;
  line-height: 1.7;
  background: var(--white);
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }

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

.layout {
  width: 88%;
  max-width: 1400px;
  margin: 0 auto;
}

.d-flex { display: flex; }
.justify-content-between { justify-content: space-between; }
.align-items-center { align-items: center; }

h1, h2, h3, h4 { font-family: var(--font-h); color: var(--dark); line-height: 1.3; }

/* ============================================================
   AOS 式滚动入场动画
   ============================================================ */
[data-animate] {
  opacity: 0;
  transition:
    opacity .95s var(--ease) var(--d, 0s),
    transform .95s var(--ease) var(--d, 0s);
  will-change: opacity, transform;
}
[data-animate="fade-up"]   { transform: translateY(52px); }
[data-animate="fade-down"] { transform: translateY(-52px); }
[data-animate="fade-left"] { transform: translateX(-64px); }
[data-animate="fade-right"]{ transform: translateX(64px); }
[data-animate="zoom-in"]   { transform: scale(.82); }
[data-animate="flip-up"]   { transform: perspective(900px) rotateX(28deg); transform-origin: bottom; }
[data-animate].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  [data-animate] { opacity: 1 !important; transform: none !important; transition: none; }
  * { animation-duration: .01ms !important; }
}

/* ============================================================
   按钮（扫光动效）
   ============================================================ */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: .65rem 2rem;
  font-size: 1rem;
  font-family: var(--font-h);
  font-weight: 600;
  border: 2px solid transparent;
  border-radius: 4px;
  cursor: pointer;
  transition: color .35s, background .35s, border-color .35s, box-shadow .35s, transform .35s;
  overflow: hidden;
  z-index: 1;
}
.btn::before {
  content: "";
  position: absolute; left: 0; top: 0; z-index: -1;
  width: 100%; height: 100%;
  transform: translateX(-105%) skewX(-18deg);
  transition: transform .45s var(--ease);
}
.btn:hover::before { transform: translateX(0) skewX(-18deg); }
.btn:hover { transform: translateY(-2px); }

.btn-primary { background: var(--theme); color: var(--white); }
.btn-primary::before { background: var(--theme-dark); }
.btn-primary:hover { box-shadow: 0 12px 26px rgba(15, 121, 11, .35); }

.btn-light { background: var(--white); color: var(--theme); }
.btn-light::before { background: var(--theme); }
.btn-light:hover { color: var(--white); box-shadow: 0 12px 26px rgba(0,0,0,.18); }

.btn-light-o { background: rgba(255,255,255,.1); color: var(--white); border-color: rgba(255,255,255,.7); backdrop-filter: blur(4px); }
.btn-light-o::before { background: var(--white); }
.btn-light-o:hover { color: var(--theme); border-color: var(--white); }

/* ============================================================
   区块标题
   ============================================================ */
.title-bar { margin-bottom: 2.8rem; }
.title-bar.center { text-align: center; }
.sub-title {
  display: inline-block;
  font-family: var(--font-h);
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--theme-2);
  margin-bottom: .6rem;
  position: relative;
}
.title-bar.center .sub-title::before,
.title-bar.center .sub-title::after {
  content: "";
  display: inline-block;
  width: 34px; height: 2px;
  background: var(--theme-2);
  vertical-align: middle;
  margin: 0 12px;
}
/* 标题下划线生长 */
.sec-title { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 700; position: relative; display: inline-block; padding-bottom: .55rem; }
.sec-title::after {
  content: "";
  position: absolute; left: 50%; bottom: 0;
  width: 0; height: 3px; border-radius: 2px;
  background: linear-gradient(90deg, var(--theme), var(--theme-2));
  transition: width .8s var(--ease) .35s, left .8s var(--ease) .35s;
}
.title-bar:not(.center) .sec-title::after { left: 0; }
.is-in .sec-title::after, .title-bar.is-in .sec-title::after { width: 64px; left: 0; }
.title-bar.center.is-in .sec-title::after { left: calc(50% - 32px); }

section { padding: 5rem 0; }
section.alt, .product-sec.alt { background: var(--light); }

/* ============================================================
   顶栏
   ============================================================ */
.top-bar {
  background: var(--dark);
  color: #ddd;
  font-size: .85rem;
  padding: .45rem 0;
  animation: topDown .6s var(--ease) both;
}
@keyframes topDown { from { transform: translateY(-100%); } }
.top-contact { display: flex; gap: 2rem; }
.top-contact a { display: inline-flex; align-items: center; gap: .5rem; color: #ddd; transition: color .3s; }
.top-contact a:hover { color: var(--white); }
.top-contact svg { width: 14px; height: 14px; fill: currentColor; }

/* 社交图标（官方品牌色，加大） */
.top-sns { display: flex; gap: .9rem; align-items: center; }
.top-sns a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,.12); color: #ccc; transition: all .3s;
}
.top-sns a svg { width: 20px; height: 20px; fill: currentColor; }
.top-sns a:hover { color: var(--white); transform: translateY(-3px) scale(1.08); }
.top-sns a.fb-link {
  background: #1877F2; color: #fff;
  box-shadow: 0 3px 12px rgba(24, 119, 242, .4);
}
.top-sns a.fb-link:hover { background: #1264d1; }
.top-sns a.wa-link {
  background: #25D366; color: #fff;
  box-shadow: 0 3px 12px rgba(37, 211, 102, .4);
}
.top-sns a.wa-link:hover { background: #1eb757; }
.top-sns a.tt-link {
  background: #000; color: #fff;
  border: 1px solid rgba(255, 255, 255, .28);
  box-shadow: 0 3px 12px rgba(255, 255, 255, .12);
}
.top-sns a.tt-link:hover { background: #1a1a1a; border-color: #25F4EE; }
.top-sns a.tt-link svg { width: 18px; height: 18px; }

/* ============================================================
   头部（滚动收缩）
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--white);
  box-shadow: 0 2px 14px rgba(0,0,0,.06);
  padding: .8rem 0;
  transition: padding .35s var(--ease), box-shadow .35s;
  animation: headDown .7s var(--ease) .1s both;
}
@keyframes headDown { from { transform: translateY(-110%); opacity: 0; } }
.site-header.is-stuck { box-shadow: 0 4px 20px rgba(0,0,0,.12); padding: .45rem 0; }
.logo { display: flex; align-items: center; gap: .8rem; }
.logo img { width: 52px; height: 52px; object-fit: contain; transition: transform .5s var(--ease); }
.logo:hover img { transform: rotate(-8deg) scale(1.08); }
.logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.logo-text strong { font-family: var(--font-h); font-size: 1.35rem; letter-spacing: 2px; color: var(--dark); }
.logo-text em { font-style: normal; font-size: .72rem; letter-spacing: 1px; color: var(--theme); }

.main-nav > ul { gap: 1.8rem; }
.main-nav > ul > li > a {
  font-family: var(--font-h);
  font-weight: 600;
  font-size: .95rem;
  color: var(--dark);
  padding: .5rem 0;
  position: relative;
  transition: color .3s;
}
.main-nav > ul > li > a::after {
  content: "";
  position: absolute; left: 50%; bottom: 0;
  width: 0; height: 3px; border-radius: 2px;
  background: var(--theme);
  transform: translateX(-50%);
  transition: width .35s var(--ease);
}
.main-nav > ul > li > a:hover,
.main-nav > ul > li > a.active { color: var(--theme); }
.main-nav > ul > li > a:hover::after,
.main-nav > ul > li > a.active::after { width: 100%; }

.has-sub { position: relative; }
.sub-menu {
  position: absolute; top: 100%; left: 50%;
  transform: translateX(-50%) translateY(12px);
  min-width: 210px;
  background: var(--white);
  border-top: 3px solid var(--theme);
  box-shadow: var(--shadow);
  border-radius: 0 0 var(--radius) var(--radius);
  opacity: 0; visibility: hidden;
  transition: all .32s var(--ease);
  padding: .5rem 0;
  text-align: left;
}
.has-sub:hover .sub-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.sub-menu li {
  transform: translateX(-8px); opacity: 0;
  transition: transform .3s var(--ease), opacity .3s;
  transition-delay: calc(var(--i, 0) * 55ms);
}
.has-sub:hover .sub-menu li { transform: translateX(0); opacity: 1; }
.sub-menu li:nth-child(1) { --i: 1; } .sub-menu li:nth-child(2) { --i: 2; }
.sub-menu li:nth-child(3) { --i: 3; } .sub-menu li:nth-child(4) { --i: 4; }
.sub-menu li a {
  display: block;
  padding: .55rem 1.4rem;
  font-size: .9rem;
  color: var(--body);
  transition: all .25s;
}
.sub-menu li a:hover { background: var(--light); color: var(--theme); padding-left: 1.8rem; }

.nav-btn .btn { padding: .5rem 1.6rem; font-size: .9rem; }

.menu-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; padding: 6px; z-index: 101; }
.menu-toggle span { width: 26px; height: 3px; border-radius: 2px; background: var(--dark); transition: all .3s; }

/* ============================================================
   Hero（KenBurns + 文字逐行入场 + 进度条）
   ============================================================ */
.hero { position: relative; padding: 0; height: min(78vh, 720px); min-height: 480px; overflow: hidden; background: #111; }
.hero-slide {
  position: absolute; inset: 0;
  opacity: 0; visibility: hidden;
  transition: opacity 1.2s ease, visibility 1.2s;
}
.hero-slide.is-active { opacity: 1; visibility: visible; }
.hero-slide img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1);
}
.hero-slide.is-active img { animation: kenburns 7.5s ease-out forwards; }
@keyframes kenburns {
  from { transform: scale(1) translate(0, 0); }
  to   { transform: scale(1.14) translate(-1.2%, -1%); }
}
.hero-slide::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.6) 0%, rgba(0,0,0,.25) 55%, rgba(0,0,0,.05) 100%);
}
.hero-caption { position: absolute; inset: 0; z-index: 2; display: flex; align-items: center; }
.hero-caption h2 {
  color: var(--white);
  font-size: clamp(2rem, 4.5vw, 3.6rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}
.hero-caption p {
  color: rgba(255,255,255,.92);
  font-size: clamp(.95rem, 1.4vw, 1.15rem);
  max-width: 560px;
  margin-bottom: 1.8rem;
}
/* 文字逐行入场（切页时由 JS 重新触发） */
.sl-anim { opacity: 0; }
.sl-anim.play { animation: slIn .9s var(--ease) both; }
.sl-a1.play { animation-delay: .25s; }
.sl-a2.play { animation-delay: .45s; }
.sl-a3.play { animation-delay: .65s; }
@keyframes slIn {
  from { opacity: 0; transform: translateY(42px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-control {
  position: absolute; z-index: 3;
  left: 0; right: 0; bottom: 26px;
  display: flex; align-items: center; justify-content: center; gap: 1.6rem;
}
.hero-arrow {
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.6);
  background: rgba(0,0,0,.2);
  color: var(--white); font-size: 15px;
  transition: all .3s;
  opacity: .75;
}
.hero-arrow:hover { background: var(--theme); border-color: var(--theme); opacity: 1; transform: scale(1.1); }
.hero-pagination { display: flex; gap: 1.1rem; }
.hero-pagination span {
  font-family: var(--font-h); font-weight: 700; font-size: .85rem;
  color: rgba(255,255,255,.55);
  cursor: pointer; transition: color .3s;
  position: relative; padding-bottom: 4px;
}
.hero-pagination span::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 2px; background: transparent; transition: background .3s;
}
.hero-pagination span.is-active { color: var(--white); }
.hero-pagination span.is-active::after { background: var(--theme-2); }

/* 播放进度条 */
.hero-progress {
  position: absolute; z-index: 3;
  left: 0; right: 0; bottom: 0;
  height: 3px; background: rgba(255,255,255,.18);
}
.hero-progress span {
  display: block; height: 100%; width: 0;
  background: linear-gradient(90deg, var(--theme), var(--theme-2));
}
.hero-progress span.run { animation: progressRun 5s linear both; }
@keyframes progressRun { from { width: 0; } to { width: 100%; } }

/* Scroll 提示 */
.hero-scroll {
  position: absolute; z-index: 3; right: 38px; bottom: 30px;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(255,255,255,.75); font-size: .72rem; letter-spacing: 2px;
  writing-mode: vertical-rl;
}
.hero-scroll span {
  width: 1px; height: 44px; background: rgba(255,255,255,.35);
  position: relative; overflow: hidden;
}
.hero-scroll span::after {
  content: ""; position: absolute; left: 0; top: -50%;
  width: 100%; height: 50%;
  background: var(--white);
  animation: scrollHint 1.8s ease-in-out infinite;
}
@keyframes scrollHint {
  0% { top: -50%; } 70%, 100% { top: 110%; }
}

/* ============================================================
   三大系列卡片
   ============================================================ */
.category-sec { padding: 4rem 0; }
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.cat-card {
  position: relative; border-radius: var(--radius);
  overflow: hidden; aspect-ratio: 4 / 3;
  box-shadow: var(--shadow);
}
.cat-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.cat-card:hover img { transform: scale(1.12) rotate(1deg); }
.cat-overlay {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end;
  padding: 1.6rem;
  background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,.68) 100%);
}
.cat-overlay h3 { color: var(--white); font-size: 1.5rem; font-weight: 700; transition: transform .45s var(--ease); }
.cat-card:hover .cat-overlay h3 { transform: translateY(-6px); }
.cat-line {
  display: block; width: 34px; height: 3px; border-radius: 2px;
  background: var(--theme-2); margin-top: .6rem;
  transition: width .45s var(--ease);
}
.cat-card:hover .cat-line { width: 76px; }

/* ============================================================
   About
   ============================================================ */
.about-sec { background: var(--white); }
.about-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3.5rem; align-items: center; }
.about-text .sec-title { font-size: clamp(1.4rem, 2.4vw, 2rem); margin-bottom: 1.4rem; }
.about-text p { margin-bottom: 1.1rem; color: var(--muted); }
.about-text strong { color: var(--theme); }
.about-img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); position: relative; }
.about-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.about-img:hover img { transform: scale(1.06); }

.about-feature {
  margin-top: 3.2rem;
  display: flex; gap: 1.6rem; align-items: flex-start;
  background: var(--light);
  border-left: 4px solid var(--theme);
  border-radius: var(--radius);
  padding: 1.8rem 2rem;
  transition: transform .4s var(--ease), box-shadow .4s;
}
.about-feature:hover { transform: translateX(10px); box-shadow: var(--shadow); }
.feature-num { font-family: var(--font-h); font-weight: 800; font-size: 2.2rem; color: var(--theme-2); opacity: .85; line-height: 1; }
.feature-body h3 { font-size: 1.2rem; margin-bottom: .5rem; }
.feature-body p { color: var(--muted); font-size: .95rem; }

/* ============================================================
   应用场景
   ============================================================ */
.scenario-sec { background: var(--light); }
.scene-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.scene-card {
  position: relative; border-radius: var(--radius);
  overflow: hidden; background: var(--white);
  box-shadow: var(--shadow);
  transition: transform .4s var(--ease), box-shadow .4s;
}
.scene-card:hover { transform: translateY(-10px); box-shadow: 0 20px 44px rgba(0,0,0,.15); }
.scene-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .7s var(--ease); }
.scene-card:hover img { transform: scale(1.1); }
.scene-card h3 {
  font-size: 1rem; font-weight: 600;
  padding: .9rem 1.1rem 1.1rem;
  transition: color .3s;
}
.scene-card:hover h3 { color: var(--theme); }
.item-order {
  position: absolute; top: 10px; left: 12px; z-index: 2;
  font-family: var(--font-h); font-weight: 800; font-size: 1.15rem;
  color: var(--white);
  background: var(--theme);
  border-radius: 4px;
  padding: 2px 10px;
  transition: transform .4s var(--ease), background .3s;
}
.scene-card:hover .item-order,
.prod-card:hover .item-order,
.news-card:hover .item-order {
  transform: scale(1.14) rotate(-4deg);
  background: var(--theme-2);
}

/* ============================================================
   Why Choose Us
   ============================================================ */
.why-sec { background: var(--white); }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.why-card {
  background: var(--light);
  border-radius: var(--radius);
  padding: 2.2rem 1.8rem;
  text-align: center;
  transition: transform .4s var(--ease), background .4s, box-shadow .4s;
}
.why-card:hover { background: var(--white); box-shadow: 0 18px 40px rgba(0,0,0,.13); transform: translateY(-8px); }
.why-ico {
  width: 74px; height: 74px; margin: 0 auto 1.2rem;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(98, 156, 69, .14);
  transition: background .4s, transform .45s var(--ease);
}
.why-card:hover .why-ico { background: var(--theme); transform: rotate(360deg) scale(1.06); transition: transform .6s var(--ease); }
.why-ico svg { width: 34px; height: 34px; fill: var(--theme); transition: fill .4s; }
.why-card:hover .why-ico svg { fill: var(--white); }
.why-card h3 { font-size: 1.1rem; margin-bottom: .6rem; }
.why-card p { font-size: .92rem; color: var(--muted); }

/* ============================================================
   产品优势
   ============================================================ */
.adv-sec { background: var(--light); }
.adv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.adv-item {
  display: flex; gap: 1.2rem; align-items: flex-start;
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem;
  box-shadow: 0 4px 14px rgba(0,0,0,.05);
  transition: box-shadow .35s, transform .35s var(--ease);
  position: relative; overflow: hidden;
}
.adv-item::after {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0;
  width: 3px; background: var(--theme);
  transform: scaleY(0); transform-origin: top;
  transition: transform .4s var(--ease);
}
.adv-item:hover { box-shadow: var(--shadow); transform: translateX(6px); }
.adv-item:hover::after { transform: scaleY(1); }
.adv-ico {
  flex: 0 0 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 12px;
  background: var(--theme);
  transition: transform .4s var(--ease), border-radius .4s;
}
.adv-item:hover .adv-ico { transform: rotate(-8deg) scale(1.08); border-radius: 50%; }
.adv-ico svg { width: 26px; height: 26px; fill: var(--white); }
.adv-item h3 { font-size: 1.02rem; margin-bottom: .35rem; }
.adv-item p { font-size: .88rem; color: var(--muted); }

/* ============================================================
   询盘横幅
   ============================================================ */
.newsletter-sec { padding: 0; }
.news-band {
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
  background: linear-gradient(100deg, var(--theme) 0%, var(--theme-2) 100%);
  background-size: 200% 100%;
  border-radius: var(--radius);
  padding: 2.6rem 3rem;
  color: var(--white);
  margin: 3.5rem 0;
  animation: bandShift 8s ease-in-out infinite alternate;
  box-shadow: 0 18px 40px rgba(15, 121, 11, .25);
}
@keyframes bandShift { from { background-position: 0% 0; } to { background-position: 100% 0; } }
.news-band h2 { color: var(--white); font-size: clamp(1.3rem, 2.4vw, 1.9rem); margin-bottom: .3rem; }
.news-band p { color: rgba(255,255,255,.88); }

/* ============================================================
   Global Markets 点阵世界地图
   ============================================================ */
.map-sec {
  background:
    radial-gradient(ellipse at 20% 30%, rgba(98,156,69,.1), transparent 45%),
    radial-gradient(ellipse at 80% 70%, rgba(15,121,11,.12), transparent 45%),
    linear-gradient(160deg, #0d1420 0%, #101b16 100%);
  position: relative;
  overflow: hidden;
}
.map-sec::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 46px 46px;
  pointer-events: none;
}
.map-sec .sub-title { color: #8fae74; }
.map-sec .title-bar.center .sub-title::before,
.map-sec .title-bar.center .sub-title::after { background: #8fae74; }
.map-sec .sec-title { color: #fff; }
.map-lead {
  color: rgba(255,255,255,.62);
  max-width: 640px;
  margin: .4rem auto 0;
  font-size: .98rem;
}
.map-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 119 / 59;
  max-width: 1020px;
  margin: 0 auto;
  border-radius: 14px;
  background:
    radial-gradient(ellipse at 50% 45%, rgba(98,156,69,.07), transparent 60%),
    rgba(255,255,255,.018);
  border: 1px solid rgba(140, 205, 105,.1);
  box-shadow: inset 0 0 60px rgba(0,0,0,.35), 0 24px 60px rgba(0,0,0,.4);
}
#worldCanvas { position: absolute; inset: 0; width: 100%; }

/* 航线 */
.map-arcs { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.map-arcs path {
  fill: none;
  stroke: #8ccd69;
  stroke-width: .45;
  stroke-linecap: round;
  stroke-dasharray: 2 1.4;
  opacity: 0;
}
.map-arcs.is-live path {
  animation: arcIn .9s var(--ease) both, arcFlow 1.3s linear infinite;
}
@keyframes arcIn { from { opacity: 0; } to { opacity: .55; } }
@keyframes arcFlow { to { stroke-dashoffset: -3.4; } }

/* 定位点 */
.pins { position: absolute; inset: 0; }
.pin { position: absolute; transform: translate(-50%, -50%); cursor: default; }
.pin-dot {
  display: block; width: 9px; height: 9px; border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--theme-2);
  box-shadow: 0 0 10px rgba(140,205,105,.9);
  transition: transform .3s var(--ease), background .3s;
}
.pin-ring {
  position: absolute; left: 50%; top: 50%;
  width: 9px; height: 9px; border-radius: 50%;
  transform: translate(-50%, -50%);
  border: 1.5px solid rgba(140,205,105,.75);
  opacity: 0;
}
.pins.is-live .pin-ring { animation: pinPulse 2.2s ease-out infinite; }
@keyframes pinPulse {
  0% { transform: translate(-50%,-50%) scale(.7); opacity: .9; }
  100% { transform: translate(-50%,-50%) scale(4.4); opacity: 0; }
}
.pin-label {
  position: absolute; left: 50%; bottom: calc(100% + 8px);
  transform: translateX(-50%) translateY(6px);
  white-space: nowrap;
  font-size: .72rem; font-weight: 600; letter-spacing: .4px;
  color: #dfe9d5;
  background: rgba(13, 20, 32, .82);
  border: 1px solid rgba(140,205,105,.28);
  border-radius: 4px;
  padding: 2px 8px;
  opacity: 0;
  transition: opacity .3s, transform .3s var(--ease);
  pointer-events: none;
}
.pin:hover .pin-label,
.pin.hot .pin-label { opacity: 1; transform: translateX(-50%) translateY(0); }
.pin:hover .pin-dot,
.pin.hot .pin-dot { transform: scale(1.5); background: #b7e394; }

/* 总部大定位点 */
.pin-hq .pin-dot {
  width: 13px; height: 13px;
  background: var(--theme-2);
  border-color: #fff;
  box-shadow: 0 0 18px rgba(140,205,105,1);
}
.pin-hq .pin-label {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  color: #0d1420;
  background: #8ccd69;
  border-color: #8ccd69;
  font-weight: 700;
}
.pin-hq:hover .pin-dot { background: #a5dd82; }

/* 地区标签（逐个飞入，联动定位点） */
.region-chips {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: .8rem 1rem;
  margin-top: 2.4rem;
}
.region-chips li {
  opacity: 0;
  transform: translateY(18px);
}
.region-chips.is-in li {
  animation: chipIn .6s var(--ease) both;
  animation-delay: calc(var(--i) * 90ms);
}
@keyframes chipIn {
  from { opacity: 0; transform: translateY(18px) scale(.9); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.region-chips li span {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .5rem 1.2rem;
  border-radius: 30px;
  font-size: .88rem; font-weight: 500;
  color: rgba(255,255,255,.78);
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(140,205,105,.22);
  cursor: pointer;
  transition: all .3s var(--ease);
}
.region-chips li span::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--theme-2);
  box-shadow: 0 0 8px rgba(140,205,105,.8);
}
.region-chips li span:hover {
  color: #fff;
  background: rgba(98,156,69,.22);
  border-color: rgba(140,205,105,.6);
  transform: translateY(-4px);
  box-shadow: 0 10px 22px rgba(0,0,0,.3);
}

/* ============================================================
   代表工程（跑马灯词块）
   ============================================================ */
.partner-sec { background: var(--white); }
.partner-map {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 3rem;
  align-items: center;
  background:
    radial-gradient(circle at 30% 40%, rgba(98,156,69,.08), transparent 55%),
    var(--light);
  border-radius: var(--radius);
  padding: 3rem;
}
.partner-marquee { overflow: hidden; position: relative; }
.marquee { position: relative; --gap: .8rem; }
.marquee-track {
  display: flex; gap: var(--gap);
  width: max-content;
  animation: marquee 36s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.partner-list { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); margin-right: var(--gap); }
.partner-list li {
  display: flex; align-items: flex-start; gap: .6rem;
  font-size: .92rem; color: var(--body);
  background: var(--white);
  border-radius: 6px;
  padding: .55rem .9rem;
  box-shadow: 0 2px 8px rgba(0,0,0,.05);
  white-space: nowrap;
  transition: transform .3s var(--ease), color .3s, border-color .3s;
  border: 1px solid transparent;
}
.partner-list li:hover {
  transform: translateY(-4px);
  color: var(--theme);
  border-color: rgba(98,156,69,.4);
}
.dot {
  flex: 0 0 9px; width: 9px; height: 9px; margin-top: .5rem;
  border-radius: 50%;
  background: var(--theme);
  position: relative;
}
.dot::after {
  content: ""; position: absolute; inset: -4px;
  border-radius: 50%;
  border: 1px solid var(--theme);
  opacity: 0;
  animation: dotPulse 2.4s ease-out infinite;
}
@keyframes dotPulse {
  0% { transform: scale(.5); opacity: .8; }
  100% { transform: scale(1.5); opacity: 0; }
}
.partner-copy h3 { font-size: 1.5rem; margin-bottom: 1rem; }
.partner-copy p { color: var(--muted); margin-bottom: 1.4rem; }
.partner-copy strong { color: var(--theme); }

/* ============================================================
   数字统计
   ============================================================ */
.stats-sec {
  background: linear-gradient(100deg, var(--dark) 0%, #2c3440 100%);
  padding: 3.6rem 0;
  position: relative; overflow: hidden;
}
.stats-sec::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(98,156,69,.16), transparent 40%),
    radial-gradient(circle at 85% 80%, rgba(15,121,11,.2), transparent 40%);
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; text-align: center; position: relative; }
.stat-item { position: relative; }
.stat-item::after {
  content: ""; position: absolute; right: 0; top: 15%; bottom: 15%;
  width: 1px; background: rgba(255,255,255,.12);
}
.stat-item:last-child::after { display: none; }
.stat-num {
  display: block;
  font-family: var(--font-h); font-weight: 800;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  color: var(--white);
  line-height: 1.1;
  text-shadow: 0 6px 24px rgba(0,0,0,.35);
}
.stat-num::after { content: attr(data-suffix); color: var(--theme-2); }
.stat-item.is-in .stat-num { animation: numPop .7s var(--ease) both .2s; }
@keyframes numPop { 0% { transform: scale(.6); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }
.stat-label {
  display: block; margin-top: .5rem;
  color: rgba(255,255,255,.7);
  font-size: .9rem; letter-spacing: 1px; text-transform: uppercase;
}

/* ============================================================
   产品轮播
   ============================================================ */
.product-sec { background: var(--white); }
.product-sec.alt { background: var(--light); }
.carousel { position: relative; }
.car-viewport { overflow: hidden; padding: 6px 4px 10px; margin: -6px -4px 0; }
.car-track {
  display: flex; gap: 1.8rem;
  transition: transform .65s var(--ease);
  cursor: grab;
  touch-action: pan-y;
}
.car-track.is-dragging { transition: none; cursor: grabbing; }
.car-slide { flex: 0 0 calc((100% - 2 * 1.8rem) / 3); display: flex; }

.prod-card {
  width: 100%;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s;
  display: flex; flex-direction: column;
}
.prod-card:hover { transform: translateY(-8px); box-shadow: 0 22px 46px rgba(0,0,0,.14); }
.prod-img { position: relative; overflow: hidden; }
.prod-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .7s var(--ease); }
.prod-card:hover .prod-img img { transform: scale(1.09); }

/* 遮罩扫过（参考站 mask-ani） */
.mask {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(15,121,11,0) 30%, rgba(15,121,11,.55) 100%);
  opacity: 0;
  transform: translateY(46%);
  transition: transform .5s var(--ease), opacity .5s;
}
.prod-card:hover .mask,
.news-card:hover .mask { opacity: 1; transform: translateY(0); }

.prod-card h3 { font-size: 1.05rem; font-weight: 600; padding: 1.1rem 1.3rem .4rem; }
.prod-attr {
  padding: 0 1.3rem 1rem;
  font-size: .86rem; color: var(--muted);
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.item-more {
  display: inline-flex; align-items: center; gap: .5rem;
  margin: 0 1.3rem 1.3rem;
  font-family: var(--font-h); font-size: .85rem; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase;
  color: var(--theme);
}
.item-more span {
  display: inline-flex;
  transition: transform .35s var(--ease);
}
.item-more:hover span { transform: translateX(8px); animation: arrowNudge .7s ease-in-out infinite alternate; }
@keyframes arrowNudge { from { margin-left: 0; } to { margin-left: 5px; } }

/* 轮播控制（悬停浮现，参考站同款） */
.car-controls {
  display: flex; align-items: center; justify-content: center; gap: 1.4rem;
  margin-top: 1.6rem;
}
.car-arrow {
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--dark); font-size: 15px;
  box-shadow: 0 4px 14px rgba(0,0,0,.08);
  opacity: 0; transform: translateX(var(--sx, 0)) scale(.85);
  transition: all .35s var(--ease);
}
.car-prev { --sx: -14px; }
.car-next { --sx: 14px; }
.carousel:hover .car-arrow,
.car-arrow:focus-visible { opacity: 1; transform: translateX(0) scale(1); }
.car-arrow:hover { background: var(--theme); border-color: var(--theme); color: var(--white); }
.car-dots { display: flex; gap: .55rem; }
.car-dots button {
  width: 9px; height: 9px; border-radius: 5px; border: 0;
  background: #c4ccd2;
  transition: all .4s var(--ease);
  padding: 0;
}
.car-dots button.is-active { width: 30px; background: var(--theme); }
.car-dots button:hover { background: var(--theme-2); }

/* ============================================================
   News
   ============================================================ */
.news-sec { background: var(--white); }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.8rem; }
.news-card {
  background: var(--light);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s;
  display: flex; flex-direction: column;
}
.news-card:hover { transform: translateY(-8px); box-shadow: 0 20px 44px rgba(0,0,0,.13); }
.news-img { position: relative; overflow: hidden; }
.news-img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .7s var(--ease); }
.news-card:hover .news-img img { transform: scale(1.09); }
.news-card h3 { font-size: 1.02rem; font-weight: 600; padding: 1.2rem 1.3rem .6rem; }
.news-card > p {
  padding: 0 1.3rem;
  font-size: .9rem; color: var(--muted);
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-date {
  display: block;
  padding: .8rem 1.3rem 0;
  font-size: .82rem; color: var(--theme-2); font-weight: 500;
}
.news-card .item-more { margin-bottom: 1.3rem; }

/* ============================================================
   Footer
   ============================================================ */
.site-footer { background: #1a1f26; color: #aab4bf; padding: 4.5rem 0 0; }
.foot-grid { display: grid; grid-template-columns: 1.3fr .8fr .8fr 1.2fr; gap: 2.5rem; padding-bottom: 3rem; }
.foot-title {
  color: var(--white); font-size: 1.05rem; margin-bottom: 1.4rem; padding-bottom: .7rem;
  position: relative; text-transform: uppercase; letter-spacing: 1px;
}
.foot-title::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 42px; height: 3px; border-radius: 2px;
  background: var(--theme-2);
  transition: width .5s var(--ease);
}
.foot-col:hover .foot-title::after { width: 84px; }
.foot-contacts li { display: flex; gap: .9rem; margin-bottom: 1rem; }
.foot-ico svg { width: 15px; height: 15px; fill: var(--theme-2); margin-top: 4px; }
.foot-val { font-size: .9rem; }
.foot-val a { transition: color .3s; }
.foot-val a:hover { color: var(--theme-2); }
.site-footer .top-sns { margin-top: 1.2rem; }
.foot-links li { margin-bottom: .7rem; }
.foot-links a {
  font-size: .9rem; color: #aab4bf;
  display: inline-flex; align-items: center; gap: .5rem;
  transition: color .3s, gap .3s;
}
.foot-links a::before { content: "\203A"; color: var(--theme-2); font-weight: 700; }
.foot-links a:hover { color: var(--white); gap: .8rem; }
.foot-form input, .foot-form textarea {
  width: 100%;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 6px;
  color: var(--white);
  padding: .65rem .9rem;
  font-family: inherit; font-size: .9rem;
  margin-bottom: .8rem;
  transition: border-color .3s, background .3s;
}
.foot-form input::placeholder, .foot-form textarea::placeholder { color: #77828d; }
.foot-form input:focus, .foot-form textarea:focus { outline: none; border-color: var(--theme-2); background: rgba(255,255,255,.1); }
.foot-form .btn { width: 100%; }
.copyright { border-top: 1px solid rgba(255,255,255,.09); padding: 1.2rem 0; font-size: .82rem; text-align: center; }

/* ============================================================
   浮动按钮
   ============================================================ */
.float-wa {
  position: fixed; left: 18px; top: 50%;
  transform: translateY(-50%);
  z-index: 90;
  width: 54px; height: 54px;
  border-radius: 50%;
  background: #25d366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, .45);
  transition: transform .35s var(--ease);
}
.float-wa::before {
  content: ""; position: absolute; inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, .6);
  animation: waPulse 1.9s ease-out infinite;
}
@keyframes waPulse {
  0% { transform: scale(.8); opacity: 1; }
  100% { transform: scale(1.45); opacity: 0; }
}
.float-wa:hover { transform: translateY(-50%) scale(1.12); }
.float-wa svg { width: 28px; height: 28px; fill: var(--white); }

/* 回到顶部（滚动进度环） */
.back-top {
  position: fixed; right: 20px; bottom: 26px; z-index: 90;
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 0; background: transparent; padding: 0;
  color: var(--white);
  opacity: 0; visibility: hidden; transform: translateY(16px);
  transition: opacity .35s, visibility .35s, transform .35s var(--ease);
}
.back-top.is-show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-top svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.back-top .ring-bg { fill: none; stroke: rgba(15,121,11,.25); stroke-width: 3; }
.back-top .ring {
  fill: none; stroke: var(--theme); stroke-width: 3; stroke-linecap: round;
  stroke-dasharray: 100.53; stroke-dashoffset: 100.53;
  transition: stroke-dashoffset .15s linear;
}
.back-top span {
  position: relative; display: flex; align-items: center; justify-content: center;
  width: 100%; height: 100%;
  background: var(--theme); border-radius: 50%;
  font-size: 15px; rotate: -90deg;
  transition: background .3s, transform .3s var(--ease);
}
.back-top:hover span { background: var(--theme-dark); transform: scale(1.08); }

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 1200px) {
  .scene-grid { grid-template-columns: repeat(3, 1fr); }
  .main-nav > ul { gap: 1.2rem; }
  .car-slide { flex-basis: calc((100% - 1.8rem) / 2.6); }
}

@media (max-width: 992px) {
  section { padding: 3.6rem 0; }
  .about-grid, .partner-map { grid-template-columns: 1fr; gap: 2rem; }
  .why-grid, .adv-grid, .news-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .news-band { flex-direction: column; text-align: center; }
  .float-wa { top: auto; bottom: 90px; transform: none; }
  .float-wa:hover { transform: scale(1.1); }
  .car-slide { flex-basis: calc((100% - 1.8rem) / 2); }
  .partner-list { grid-template-columns: 1fr; }
  .hero-scroll { display: none; }

  .menu-toggle { display: flex; }
  .main-nav {
    position: fixed; top: 0; right: -320px;
    width: 300px; height: 100vh;
    background: var(--white);
    box-shadow: -8px 0 30px rgba(0,0,0,.15);
    padding: 5.5rem 1.6rem 2rem;
    transition: right .4s var(--ease);
    z-index: 99;
    overflow-y: auto;
  }
  .main-nav.is-open { right: 0; }
  .main-nav > ul { flex-direction: column; align-items: flex-start; gap: .4rem; }
  .main-nav > ul > li { width: 100%; }
  .main-nav > ul > li > a { display: block; padding: .7rem 0; border-bottom: 1px solid var(--border); }
  .main-nav > ul > li > a::after { display: none; }
  .sub-menu {
    position: static; opacity: 1; visibility: visible;
    transform: none; box-shadow: none; border-top: 0;
    border-left: 3px solid var(--theme);
    border-radius: 0;
    display: none;
  }
  .has-sub.is-open .sub-menu { display: block; }
  .sub-menu li { opacity: 1; transform: none; }
  .nav-btn { margin-top: 1.2rem; }
  .site-header.is-menu-open .menu-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .site-header.is-menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
  .site-header.is-menu-open .menu-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}

@media (max-width: 640px) {
  .cat-grid, .scene-grid, .why-grid, .adv-grid, .news-grid { grid-template-columns: 1fr; }
  .partner-list { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-item:nth-child(2)::after { display: none; }
  .foot-grid { grid-template-columns: 1fr; }
  .top-contact { flex-direction: column; gap: .3rem; }
  .top-bar .layout { flex-direction: column; gap: .5rem; }
  .hero { min-height: 420px; }
  .partner-map { padding: 1.6rem; }
  .about-feature { flex-direction: column; }
  .car-slide { flex-basis: 100%; }
}
