/* =====================
   CSS VARIABLES
   ===================== */
:root {
  --green: #4a9e5c;
  --green-dark: #3a7d49;
  --green-light: #edf7ef;
  --green-pale: #f2f8f3;
  --text: #333333;
  --text-light: #666666;
  --text-muted: #999999;
  --white: #ffffff;
  --border: #e5e5e5;
  --shadow: 0 2px 12px rgba(0,0,0,0.08);
  --shadow-hover: 0 8px 28px rgba(0,0,0,0.14);
  --radius: 8px;
  --font-body: 'Lato', sans-serif;
  --font-display: 'Playfair Display', serif;
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb { background: #4a9e5c; border-radius: 3px; }

/* =====================
   RESET & BASE
   ===================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--text); background: var(--white); line-height: 1.6; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: 100%; display: block; width: -webkit-fill-available; object-fit: cover;}
ul { list-style: none; }

/* =====================
   TOP BAR
   ===================== */
.topbar {
  background: var(--green);
  color: var(--white);
  font-size: 14px;
  padding: 6px 0;
}
.topbar .topbar-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
@media (max-width: 768px) {
      .topbar .topbar-container {
      padding: 0 0;
    }
}
.topbar-left { display: flex; gap: 20px; align-items: center; }
.topbar-left svg { margin-right: 4px; vertical-align: middle; }
.topbar-right { display: flex; gap: 10px; align-items: center; }
.topbar-right a { color: var(--white); opacity: 0.85; transition: opacity 0.2s; display: flex; align-items: center; }
.topbar-right a:hover { opacity: 1; }

/* =====================
   HEADER - Navigation (reference 导航/nav.html)
   ===================== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid #e8e8e8;
  box-shadow: 0 1px 8px rgba(0,0,0,0.06);
}
.headerbox {
  max-width: 1350px;
  width: 94%;
  margin: 0 auto;
  height: 70px;
  display: flex;
  align-items: center;
}
.logo {
  width: 178px;
  flex-shrink: 0;
}
.logo img {
  width: 100%;
  display: block;
}
.ksbjbtn {
  display: block;
  text-align: center;
  color: #fff;
  background: var(--green);
  width: 102px;
  line-height: 32px;
  border-radius: 16px;
  font-size: 14px;
  transition: all 0.4s ease-in-out;
  text-decoration: none;
  margin-left: auto;
  flex-shrink: 0;
}
.ksbjbtn:hover {
  background: var(--green-dark);
  color: #fff;
}

/* Search toggle button */
.ssbtn {
  width: 24px;
  height: 24px;
  cursor: pointer;
  margin: 0 12px 0 12px;
  flex-shrink: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3C/svg%3E") no-repeat center;
  background-size: 22px;
  transition: background 0.3s;
}
.ssbtn:hover,
.ssbtn.on {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234a9e5c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3C/svg%3E");
}

/* Search panel overlay */
.ssbox {
  position: absolute;
  width: 100%;
  top: 100%;
  left: 0;
  background: rgba(255, 255, 255, 0.93);
  overflow: hidden;
  display: none;
  z-index: 99;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}
.ssbox_nr {
  max-width: 1350px;
  width: 94%;
  margin: 0 auto;
  overflow: hidden;
}
.ssknr_left {
  padding: 30px 0;
  float: left;
  width: calc(100% - 500px);
}
.ssknr_left h3 {
  font-weight: bold;
  font-size: 22px;
  color: var(--green);
  margin-bottom: 18px;
}
.snr {
  position: relative;
}
.wby1 {
  width: calc(100% - 46px);
  height: 42px;
  line-height: 42px;
  padding: 0 15px;
  border: 1px solid #ddd;
  border-radius: 4px 0 0 4px;
  box-sizing: border-box;
  vertical-align: top;
}
.snr form {
  display: flex;
  max-width: 500px;
}
.btn2 {
  width: 46px;
  height: 42px;
  border: none;
  cursor: pointer;
  vertical-align: top;
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3C/svg%3E") no-repeat center;
  background-size: 18px;
  transition: background 0.3s;
  flex-shrink: 0;
}
.btn2:hover {
  background-color: var(--green-dark);
}
.ssknr_left ul {
  overflow: hidden;
  padding-top: 20px;
  list-style: none;
  margin: 0;
}
.ssknr_left li {
  float: left;
  line-height: 1.6;
  font-size: 15px;
  color: #666;
}
.ssknr_left li a {
  display: block;
  color: #333;
  padding-left: 12px;
  font-size: 15px;
  text-decoration: none;
}
.ssknr_left li a:hover {
  color: var(--green);
}
.ssknr_right {
  float: right;
  width: 300px;
  padding: 30px;
  background: var(--green-dark);
  box-sizing: border-box;
}
.ssknr_right h3 {
  color: #fff;
  font-weight: bold;
  font-size: 22px;
  margin-bottom: 18px;
}
.ssknr_right ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.ssknr_right li {
  padding-bottom: 8px;
}
.ssknr_right li a {
  color: #fff;
  font-size: 15px;
  text-decoration: none;
}
.ssknr_right li a:hover {
  text-decoration: underline;
}
.ssknr_right p {
  font-size: 14px;
  line-height: 1.6;
  color: #fff;
  margin: 4px 0;
}

/* Language Switcher */
.lang-container {
  position: relative;
  margin: 0 6px;
  flex-shrink: 0;
}
.lang-btn {
  height: 38px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 10px;
  cursor: pointer;
  border-radius: 6px;
  color: #555;
  transition: background 0.3s, color 0.3s;
}
.lang-btn:hover {
  background: #eaf6ec;
  color: var(--green);
}
.lang-current-name {
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  line-height: 1;
}
.lang-arrow {
  color: #999;
  transition: transform 0.25s;
  flex-shrink: 0;
}
.lang-container:hover .lang-arrow {
  transform: rotate(180deg);
}
.lang-current-flag {
  width: 20px;
  height: 14px;
  border-radius: 2px;
  object-fit: cover;
  vertical-align: middle;
  box-shadow: 0 0 2px rgba(0,0,0,0.15);
}
.lang-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
  min-width: 100px;
  padding: 6px 0;
  z-index: 110;
}
.lang-container:hover .lang-dropdown,
.lang-dropdown.open {
  display: block;
}
.lang-dropdown a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  color: #333;
  font-size: 14px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}
.lang-dropdown a:hover {
  background: #f5f5f5;
  color: var(--green);
}
.lang-dropdown a.active {
  color: var(--green);
  font-weight: 700;
}
.language-icon {
  width: 18px;
  height: 14px;
  border-radius: 2px;
  object-fit: cover;
  box-shadow: 0 0 2px rgba(0,0,0,0.15);
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .lang-container {
    margin: 0 4px;
  }
  .lang-dropdown {
    min-width: 80px;
  }
  .lang-dropdown a {
    padding: 10px 14px;
    font-size: 14px;
  }
}

/* Hamburger (mobile toggle) */
.dhbtn {
  display: none;
  width: 28px;
  height: 24px;
  cursor: pointer;
  margin-left: 14px;
  flex-direction: column;
  justify-content: space-between;
  padding: 2px 0;
}
.dhbtn span {
  display: block;
  height: 3px;
  background: #333;
  border-radius: 2px;
  transition: all 0.3s;
}
.dhbtn.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.dhbtn.open span:nth-child(2) {
  opacity: 0;
}
.dhbtn.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Main navigation */
.nav {
  display: flex;
  align-items: center;
  margin-left: 0;
  flex: 1;
}
.nav ul {
  list-style: none;
  margin: 0 0 0 auto;
  padding: 0;
  display: flex;
}
.nav li.m {
  position: static;
  padding: 0 20px;
}
.nav li.m .nav-title {
  margin: 0;
  font-size: inherit;
  font-weight: inherit;
  display: block;
}
.nav li.m .nav-title a {
  display: block;
  line-height: 40px;
  font-size: 16px;
  color: #111;
  font-weight: 600;
  text-decoration: none;
  position: relative;
}
.nav li.m .nav-title a:before {
  position: absolute;
  content: "";
  border-bottom: 2px solid var(--green);
  bottom: 0;
  width: 0;
  left: 50%;
  transform: translateX(-50%);
  transition: all 0.4s ease-in-out;
}
.nav li.m:hover .nav-title a:before,
.nav li.m.on .nav-title a:before {
  width: 100%;
}
.nav li.m.on > .nav-title a {
  color: var(--green);
}
.nav li.m .nav-title b {
  display: none;
}
.nav-close-btn {
  display: none;
}

/* Submenu - dropdown */
.sub {
  position: absolute;
  width: 100%;
  background: rgba(255,255,255,0.93);
  left: 0;
  top: 70px;
  display: none;
  z-index: 10;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  border-top: 1px solid #e8e8e8;
}

/* Submenu - Product grid */
.subbox_b {
  max-width: 1350px;
  width: 94%;
  margin: 0 auto;
  overflow: hidden;
  padding: 36px 0 32px;
}
.sub_cp {
  float: left;
  width: 25%;
  border-right: 1px solid #e8e8e8;
  padding: 0 16px;
  box-sizing: border-box;
}
.sub_cp:last-child {
  border-right: none;
}
.sub_cptop {
  text-align: center;
  /* 图片容器，保证统一尺寸 */
}
.sub_cptop .nav-subtitle {
  font-weight: 600;
  text-align: center;
  color: #111;
  font-size: 16px;
  margin: 14px 0 12px;
  display: block;
}
.sub_cptop .nav-subtitle a {
  color: inherit;
  text-decoration: none;
}
.sub_cptop .nav-subtitle a:hover {
  color: #2B7A4B;
}
.subbox_b dl {
  overflow: hidden;
  margin: 0;
}
.subbox_b dt {
  width: 50%;
  float: left;
  line-height: 28px;
  font-size: 14px;
}
.subbox_b dt a {
  color: #555;
  text-decoration: none;
}
.subbox_b dt a:hover {
  color: var(--green);
}

/* Submenu - Simple list for other nav items (窄下拉，竖排) */
.nav li.m-list {
  position: relative;
}
.nav li.m-list > .sub {
  width: auto;
  min-width: 180px;
  left: 0;
  top: 100%;
  border-radius: 0 0 6px 6px;
}
.subbox_list {
  display: block;
  padding: 8px 0;
  width: 100%;
  max-width: none;
  margin: 0;
  overflow: hidden;
}
.sub-list-item {
  display: block;
  width: 100%;
  padding: 8px 24px;
  color: #444;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  line-height: 1.6;
  white-space: nowrap;
  box-sizing: border-box;
  transition: color 0.2s, background 0.2s;
}
.sub-list-item:hover {
  color: var(--green);
  background: rgba(74, 158, 92, 0.06);
}

/* =====================
   SOLUTION DROPDOWN - Tabbed layout (参考 导航/nav.html)
   ===================== */
.sub-solution .subbox {
  max-width: 1350px;
  width: 94%;
  margin: 0 auto;
  overflow: hidden;
  display: flex;
  min-height: 360px;
}
.sub-solution .sub_left {
  width: 240px;
  flex-shrink: 0;
  background: var(--green-light);
  padding: 36px 0;
}
.sub-solution .sub_left .nav-subtitle {
  font-size: 22px;
  color: #111;
  font-weight: 700;
  padding: 0 28px 24px;
  margin-bottom: 4px;
  position: relative;
  display: block;
}
.sub-solution .sub_left .nav-subtitle::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 28px;
  width: 36px;
  border-bottom: 3px solid var(--green);
}
.sub-solution .sub_left dt a {
  display: block;
  padding: 10px 28px;
  font-size: 15px;
  color: #444;
  text-decoration: none;
  transition: all 0.2s;
  border-left: 3px solid transparent;
}
.sub-solution .sub_left dt.cur a,
.sub-solution .sub_left dt a:hover {
  background: #fff;
  color: var(--green);
  border-left-color: var(--green);
  font-weight: 600;
}
.sub-solution .sub_right {
  flex: 1;
  padding: 36px 44px;
  background: transparent;
}
.sub-solution .sub_rightbox {
  display: none;
  animation: solFadeIn 0.25s ease;
}
.sub-solution .sub_rightbox.cur {
  display: block;
}
.sub-solution .sr_left {
  float: left;
  width: 50%;
}
.sub-solution .sr_left .nav-subtitle {
  font-size: 19px;
  font-weight: 700;
  color: #222;
  margin-bottom: 16px;
  padding-bottom: 10px;
  position: relative;
  display: block;
}
.sub-solution .sr_left .nav-subtitle::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  border-bottom: 3px solid var(--green);
}
.sub-solution .sr_left dt {
  line-height: 32px;
  font-size: 15px;
}
.sub-solution .sr_left dt a {
  color: #555;
  text-decoration: none;
  transition: color 0.2s;
}
.sub-solution .sr_left dt a:hover {
  color: var(--green);
}
.sub-solution .sr_right {
  float: right;
  width: 49%;
  display: flex;
}
.sub-solution .sr_right img {
  width: 100%;
  height: 100%;
  border-radius: 6px;
  object-fit: cover;
  background: transparent;
}
.sub-solution .sr-tertiary-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 20px;
}
.sub-solution .sr-tertiary-item a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 12px;
  border-radius: 6px;
  color: #444;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s;
}
.sub-solution .sr-tertiary-item a:hover {
  background: var(--green-light);
  color: var(--green);
}
.sub-solution .sr-tertiary-item a img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  border-radius: 4px;
  flex-shrink: 0;
  background: transparent;
}
.sub-solution .sr-tertiary-item a span {
  line-height: 1.3;
}

@keyframes solFadeIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Desktop: hover dropdown (消除闪烁 — 用 CSS 替代 JS) */
@media (min-width: 769px) {
  .nav li.m {
    padding-top: 15px;
    padding-bottom: 15px;
  }
  .nav li.m:hover > .sub {
    display: block;
    animation: navDropdownIn 0.25s ease;
  }
  /* 移动端导航底部只在移动端显示 */
  .nav-mb-footer {
    display: none;
  }
  .sub_cptop a {
    display: block;
    width: 100%;
    overflow: hidden;
    border-radius: 4px;
  }
  .sub_cptop a img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
  }
}
.sub_cptop a img {
    width: 60%;
    margin: 0 auto;
}
@keyframes navDropdownIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Mobile & responsive */
@media (max-width: 1024px) {
  .nav li.m {
    padding: 0 12px;
  }
}

@media (max-width: 768px) {
  .headerbox {
    height: 60px;
  }
  .logo {
    width: 120px;
  }
  .ksbjbtn {
    display: block;
    width: auto;
    padding: 0 14px;
    line-height: 30px;
    font-size: 12px;
    margin: 0 0 0 auto;
    border-radius: 15px;
  }

  /* 搜索图标：右对齐，在 Get a Quote 之后、汉堡之前 */
  .ssbtn {
    margin: 0 4px;
	margin-left: 14px;
  }
  .dhbtn {
    display: flex;
  }
  /* 移动端隐藏顶部语言切换器（已移至导航面板内） */
  .lang-container {
    display: none;
  }

  /* 搜索面板 */
  .ssbox {
    top: 100%;
  }
  .ssbox_nr {
    padding: 20px;
  }
  .ssknr_left {
    float: none;
    width: 100%;
    padding: 0;
  }
  .ssknr_right {
    float: none;
    width: 100%;
    margin-top: 20px;
  }
  .ssknr_right ul {
    display: flex;
    flex-wrap: wrap;
  }
  .ssknr_right li {
    width: 50%;
    box-sizing: border-box;
    padding-right: 10px;
  }

  /* ========== 移动端导航面板 ========== */
  .nav {
    position: fixed;
    top: 0px;
    left: 0;
    width: 300px;
    max-width: 80%;
    height: calc(110vh - 80px);
    background: #fff;
    z-index: 200;
    overflow-y: auto;
    margin-left: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    box-shadow: 4px 0 24px rgba(0,0,0,0.12);
    transform: translateX(-100%);
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  }
  .nav.open {
    transform: translateX(0);
  }

  /* 导航头部：关闭按钮 */
  .nav::before {
    content: '';
    display: block;
    height: 0;
  }
  .nav-close-btn {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 14px 20px 6px;
    border-bottom: 1px solid #f0f0f0;
  }
  .nav-close-btn img{max-width: 60%;margin: auto;}
  .nav-close-btn .close-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 22px;
    color: #888;
    transition: all 0.2s;
  }
  .nav-close-btn .close-icon:active {
    background: #f0f0f0;
    color: #333;
  }

  .nav ul {
    flex-direction: column;
    width: 100%;
    padding: 0;
  }

  /* 一级菜单项 */
  .nav li.m {
    padding: 0;
    position: relative;
  }
  .nav li.m > .nav-title {
    display: flex;
    align-items: center;
  }
  .nav li.m > .nav-title a {
    flex: 1;
    line-height: 50px;
    padding: 0 20px;
    font-size: 16px;
    font-weight: 600;
    color: #222;
    border-bottom: 1px solid #f5f5f5;
  }
  .nav li.m > .nav-title b {
    display: flex !important;
    position: absolute;
    right: 16px;
    top: 0;
    width: 40px;
    height: 50px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
  }
  .nav li.m > .nav-title b::after {
    content: '';
    display: block;
    width: 8px;
    height: 8px;
    border: solid #999;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    transition: transform 0.3s;
  }
  .nav li.m.on > .nav-title b::after,
  .nav li.m.active > .nav-title b::after {
    transform: rotate(-135deg);
  }
  .nav li.m > .nav-title a:before {
    display: none;
  }

  /* 二级菜单 — 默认隐藏，点击展开 */
  .sub {
    display: none;
    position: static;
    width: 100%;
    top: auto;
    box-shadow: none;
    border-top: none;
    border-bottom: 1px solid #eee;
    background: #f7f9fc;
  }
  /* 移动端：Solution 下拉叠化为普通列表样式 */
  .sub-solution .subbox {
    flex-direction: column;
    min-height: auto;
    width: 100%;
  }
  .sub-solution .sub_left {
    width: 100%;
    padding: 12px 0;
    background: transparent;
  }
  .sub-solution .sub_left .nav-subtitle {
    display: none;
  }
  /* ========== 移动端 Solution Tab 切换 ========== */
  .sub-solution .sub_left dl {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 14px 12px 4px;
    margin: 0;
    background: #f5f8f5;
    border-bottom: 1px solid #e8ede8;
  }
  .sub-solution .sub_left dt {
    width: auto;
    flex: 1 1 calc(50% - 4px);
    min-width: 0;
    margin: 0;
    border-radius: 8px;
    overflow: hidden;
  }
  .sub-solution .sub_left dt a {
    display: block;
    padding: 10px 8px;
    font-size: 13px;
    font-weight: 500;
    text-align: center;
    color: #555;
    background: #eef3ee;
    border-left: none;
    border-radius: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: all 0.25s ease;
  }
  .sub-solution .sub_left dt a:active {
    transform: scale(0.96);
  }
  .sub-solution .sub_left dt.cur a {
    background: var(--green);
    color: #fff;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(74,158,92,0.3);
  }
  .sub-solution .sub_right {
    padding: 0 12px 12px;
  }
  .sub-solution .sub_rightbox {
    display: none;
    padding: 0;
    animation: solTabIn 0.3s ease;
  }
  .sub-solution .sub_rightbox.cur {
    display: block;
  }
  @keyframes solTabIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
  }
  .sub-solution .sr_left {
    float: none;
    text-align: left;
    width: 100%;
  }
  .sub-solution .sr_left .nav-subtitle {
    font-size: 15px;
    margin: 10px 0 4px;
    padding-bottom: 6px;
    color: #444;
    font-weight: 700;
  }
  .sub-solution .sr_left .nav-subtitle::after {
    width: 24px;
    border-bottom-width: 2px;
  }
  .sub-solution .sr_left dt {
    line-height: 28px;
    font-size: 14px;
  }
  .sub-solution .sr-tertiary-grid {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .sub-solution .sr-tertiary-item a {
    padding: 5px 8px;
    font-size: 13px;
    gap: 8px;
  }
  .sub-solution .sr-tertiary-item a img {
    width: 22px;
    height: 22px;
  }
  .sub-solution .sr_right {
    display: none;
  }
  .subbox_b {
    padding: 8px 0;
  }
  .sub_cp {
    float: none;
    width: 100%;
    border-right: none;
    padding: 6px 20px;
  }
  .sub_cptop {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 4px 0;
  }
  .sub_cptop a {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
  }
  .sub_cptop img {
    width: 40px;
    max-height: 40px;
    border-radius: 4px;
    padding: 2px;
    border: 1px solid #eee;
  }
  .sub_cptop .nav-subtitle {
    margin: 0;
    font-size: 14px;
    text-align: left;
    color: #333;
    font-weight: 600;
  }
  .subbox_b dl {
    text-align: left;
    margin: 0;
  }
  .subbox_b dt {
    width: 100%;
    float: none;
    line-height: 32px;
  }
  .subbox_b dt a {
    font-size: 13px;
    color: #666;
  }
  .subbox_b dt a:active {
    color: var(--green);
  }

  /* 移动端遮罩背景 */
  body.nav-open {
    overflow: hidden;
  }
  .nav-overlay {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    height: calc(100vh - 60px);
    background: rgba(0,0,0,0.35);
    z-index: 199;
  }
  .nav-overlay.visible {
    display: block;
    height: 100%;
  }
  /* 修复 headerbox 相对定位以便 overlay 覆盖 */
  .headerbox {
    z-index: 0;
  }

  /* ========== 移动端导航底部按钮 & 社交（自适应） ========== */
  .nav-mb-footer {
    margin-top: auto;
    padding: 20px 16px 16px;
    border-top: 1px solid #eee;
    flex-shrink: 0;
  }
  .nav-mb-btns {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 16px;
  }
  .nav-mb-btn {
    display: block;
    text-align: center;
    padding: 11px 0;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
  }
  .nav-mb-btn-primary {
    background: var(--green);
    color: #fff;
  }
  .nav-mb-btn-primary:active {
    background: var(--green-dark);
  }
  .nav-mb-btn-outline {
    background: transparent;
    color: var(--green);
    border: 2px solid var(--green);
  }
  .nav-mb-btn-outline:active {
    background: var(--green);
    color: #fff;
  }

  /* 移动端导航语言切换（下拉） */
  .nav-mb-lang {
    position: relative;
    padding: 0 0 12px;
    border-bottom: 1px solid #eee;
    margin-bottom: 14px;
  }
  .nav-mb-lang-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    background: #f5f5f5;
    border-radius: 8px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    color: #333;
    user-select: none;
    transition: background 0.2s;
  }
  .nav-mb-lang-label:active {
    background: #e8e8e8;
  }
  .mb-lang-arrow {
    transition: transform 0.25s;
    color: #999;
  }
  .nav-mb-lang-label.open .mb-lang-arrow {
    transform: rotate(180deg);
  }
  .mb-lang-current {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
    color: var(--green);
  }
  .nav-mb-lang-dropdown {
    display: none;
    position: absolute;
    bottom: 100%;
    left: 0;
    right: 0;
    margin-bottom: 6px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #ddd;
    background: #fff;
    box-shadow: 0 -4px 16px rgba(0,0,0,0.1);
    z-index: 20;
  }
  .nav-mb-lang-dropdown.open {
    display: block;
  }
  .nav-mb-lang-dropdown a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    font-size: 13px;
    color: #333;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
    border-bottom: 1px solid #f5f5f5;
  }
  .nav-mb-lang-dropdown a:last-child {
    border-bottom: none;
  }
  .nav-mb-lang-dropdown a:active {
    background: #eaf6ec;
    color: var(--green);
  }
  .nav-mb-lang-dropdown a.active {
    color: var(--green);
    font-weight: 700;
    background: #f0faf2;
  }
  .nav-mb-lang-dropdown .language-icon {
    width: 16px;
    height: 12px;
  }

  .nav-mb-socials {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }
  .nav-mb-socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f5f5f5;
    color: #555;
    font-size: 16px;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
  }
  .nav-mb-socials a:active {
    background: var(--green);
    color: #fff;
  }
  /* 移动端：其他导航列表样式 */
  .subbox_list {
    display: block;
    padding: 4px 0;
    width: 100%;
  }
  .sub-list-item {
    width: 100%;
    padding: 10px 20px;
    font-size: 15px;
    border-bottom: 1px solid #f0f0f0;
  }

  /* --- 自适应细分：小屏手机（<420px）缩小间距和图标 --- */
  @media (max-width: 419px) {
    .nav-mb-footer {
      padding: 14px 12px 30px;
    }
    .nav-mb-btns {
      gap: 8px;
      margin-bottom: 12px;
    }
    .nav-mb-btn {
      font-size: 13px;
      padding: 9px 0;
    }
    .nav-mb-socials {
      gap: 6px;
    }
    .nav-mb-socials a {
      width: 30px;
      height: 30px;
      font-size: 13px;
    }
  }

  /* --- 自适应细分：宽屏移动设备（≥480px）按钮可并排 --- */
  @media (min-width: 480px) {
    .nav-mb-btns {
      flex-direction: row;
    }
    .nav-mb-btn {
      flex: 1;
    }
  }
}
/* =====================
   右侧悬浮按钮组
   ===================== */
.float-buttons {
  position: fixed;
  right: 20px;
  bottom: 240px;
  z-index: 99;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.float-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  transition: all 0.3s ease;
  font-size: 20px;
  text-decoration: none;
  border: none;
  position: relative;
}
.float-btn:hover {
  background: var(--green-dark);
  transform: scale(1.08);
}
.float-btn .tooltip {
  position: absolute;
  right: 60px;
  background: #333;
  color: #fff;
  padding: 5px 10px;
  border-radius: 6px;
  font-size: 12px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s;
  pointer-events: none;
}
.float-btn:hover .tooltip {
  opacity: 1;
  visibility: visible;
}
.float-btn .wechat-tooltip {
  padding: 8px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
  white-space: normal;
  width: 166px;
  text-align: center;
}
.float-btn .wechat-tooltip img {
  display: block;
  margin: 0 auto;
}

/* 返回顶部按钮默认隐藏，滚动到底部时显示 */
#backToTop {
  display: none;
}
/* 移动端调整大小 */
@media (max-width: 768px) {
  .float-buttons { right: 12px; bottom: 210px; gap: 8px; }
  .float-btn { width: 40px; height: 40px; font-size: 18px; }
  .float-btn .tooltip { display: none; }
  .float-btn[href*="wa.me"], #wechatFloatBtn { display: none; }
}

/* =====================
   HERO SLIDER
   ===================== */
.hero {
  position: relative;
  height: 700px;
  overflow: hidden;
}
.hero-wap {
  display: none;
  position: relative;
  overflow: hidden;
}
@media (max-width: 768px) {
  .hero { display: none; }
  .hero-wap { display: block; height: 220px; }
}
.slider { position: relative; height: 100%; }
.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.7s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.slide.active { opacity: 1; z-index: 1; background:linear-gradient(135deg,#e8f5e9 0%,#c8e6c9 50%,#a5d6a7 100%);}
.slide-bg { position: absolute; inset: 0; }
.slide-img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}
.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.15) 60%, transparent 100%);
}
.slide-content {
  position: relative;
  z-index: 2;
  color: #fff;
  max-width: 560px;
  padding: 0 60px;
  text-align: left;
  align-self: center;
  margin-right: auto;
}
.slide-content h2 {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 14px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.slide-content p {
  font-size: 17px;
  margin-bottom: 24px;
  opacity: 0.92;
}
.btn-hero {
  display: inline-block;
  background: var(--green);
  color: #fff;
  padding: 12px 30px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: background 0.2s, transform 0.2s;
}
.btn-hero:hover { background: var(--green-dark); transform: translateY(-2px); }

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(255,255,255,0.2);
  border: 1px solid rgba(255,255,255,0.4);
  color: #fff;
  width: 40px; height: 40px;
  border-radius: 50%;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.2s;
  display: flex; align-items: center; justify-content: center;
}
.slider-btn:hover { background: rgba(255,255,255,0.4); }
.slider-btn.prev { left: 16px; }
.slider-btn.next { right: 16px; }

.slider-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 8px;
}
.dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.dot.active { background: #fff; transform: scale(1.3); }

/* =====================
   SECTIONS COMMON
   ===================== */
.section { padding: 72px 0; }
.container { max-width: 1200px; margin: 0 auto; }
.section-title {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  text-align: center;
  color: var(--text);
  margin-bottom: 10px;
}
.section-sub {
  text-align: center;
  color: var(--text-light);
  font-size: 14px;
  margin-bottom: 40px;
}
.center-btn { text-align: center; margin-top: 36px; }
@media (max-width: 768px) {
  .center-btn { font-size: 16px; }
}

/* =====================
   BUTTONS
   ===================== */
.btn-primary {
  display: inline-block;
  background: var(--green);
  border-color: var(--green);
  color: #fff;
  padding: 12px 32px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background 0.2s, transform 0.2s;
}
.btn-primary:hover { background: var(--green-dark); border-color: var(--green-dark); transform: translateY(-2px); }

.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--green);
  border: 2px solid var(--green);
  padding: 10px 26px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.04em;
  transition: background 0.2s, color 0.2s;
}
.btn-outline:hover { background: var(--green); color: #fff; }

/* =====================
   FEATURED PRODUCTS
   ===================== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.product-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.25s, transform 0.25s;
  cursor: pointer;
}
.product-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}
.product-img {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.product-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.product-card:hover .product-img img { transform: scale(1.06); }
.product-card:hover .nc-overlay { opacity: 1; }
.product-name {
  font-size: 13px;
  text-align: center;
  padding: 10px 8px;
  color: var(--text);
  font-weight: 500;
}

/* =====================
   POPULAR PRODUCTS CAROUSEL
   ===================== */
.popular-carousel {
  position: relative;
  overflow: hidden;
  margin: 0 -10px;
}
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.92);
  border: 1px solid var(--border);
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  line-height: 1;
  color: var(--text);
  transition: all 0.25s;
  padding: 0;
  -webkit-appearance: none;
  appearance: none;
}
.carousel-arrow:hover {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
  box-shadow: 0 4px 14px rgba(74,158,92,0.35);
}
.carousel-prev { left: 8px; }
.carousel-next { right: 8px; }
@media (max-width: 480px) {
  .carousel-arrow { width: 32px; height: 32px; font-size: 16px; }
  .carousel-prev { left: 4px; }
  .carousel-next { right: 4px; }
}
.carousel-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}
.carousel-item {
  flex: 0 0 33.333%;
  padding: 0 10px;
  box-sizing: border-box;
  min-width: 0;
}
@media (max-width: 768px) {
  .carousel-item { flex: 0 0 50%; }
}
@media (max-width: 480px) {
  .carousel-item { flex: 0 0 50%; padding: 0 6px; }
  .carousel-dots { gap: 6px; margin-top: 18px; }
  .carousel-dot { width: 8px; height: 8px; }
}
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
  flex-wrap: wrap;
}
.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ccc;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.3s, transform 0.3s;
}
.carousel-dot:hover {
  background: #999;
}
.carousel-dot.active {
  background: var(--green);
  transform: scale(1.3);
}

/* =====================
   PRODUCT TYPE CARDS
   ===================== */
.product-type-section { background: #fff; padding:60px 0 0 0;}
.popular-products-section { background: #fff; }
.ptype-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 10px;
}
.ptype-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 24px 16px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.ptype-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.1);
  border-color: var(--green);
}
.ptype-img {
  width: 100%;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  overflow: hidden;
  border-radius: 6px;
  background: var(--green-pale);
}
.ptype-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.ptype-card:hover .ptype-img img {
  transform: scale(1.06);
}
.ptype-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
}

/* Product image overlay (同 solution nc-overlay) */
.nc-overlay {
  position: absolute;
  inset: 0;
  background: rgba(74,158,92,0.7);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s;
}
.nc-overlay .nc-desc {
  color: #fff;
  font-size: 13px;
  line-height: 1.5;
  text-align: center;
  padding: 0 12px;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.nc-overlay span {
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 2px solid #fff;
  padding: 7px 18px;
  border-radius: 3px;
}

/* =====================
   PRODUCT CATEGORIES
   ===================== */
.product-categories { background: #ecf5ee; }
.categories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.cat-card {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: box-shadow 0.25s, transform 0.25s;
}
.cat-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}
.cat-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
  transition: transform 0.4s;
}
.cat-card:hover img { transform: scale(1.06); }
.cat-card p {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.6));
  color: #fff;
  padding: 28px 12px 12px;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
}

/* ── Machinery Range flip card ── */
#machineryGrid .cat-card {
  perspective: 1000px;
  overflow: visible;
}
#machineryGrid .cat-card:hover {
  box-shadow: none;
  transform: none;
}
.flip-inner {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 100%;
  transition: transform 0.6s ease;
  transform-style: preserve-3d;
}
#machineryGrid .cat-card:hover .flip-inner {
  transform: rotateY(180deg);
}
.flip-front,
.flip-back {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: var(--radius);
  overflow: hidden;
}
.flip-front {
  z-index: 2;
}
.flip-front img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.flip-front-title {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.65));
  color: #fff;
  padding: 40px 12px 14px;
  font-size: 15px;
  font-weight: 700;
  text-align: center;
  line-height: 1.3;
  margin: 0;
  pointer-events: none;
}
.flip-back {
  transform: rotateY(180deg);
  background: linear-gradient(135deg, #3a7d49, #4a9e5c, #6abf7a);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 10px 12px 14px;
  z-index: 1;
}
#machineryGrid .flip-back-title {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  text-align: center;
  line-height: 1.3;
  background: none;
}
.flip-back-desc {
  font-size: 12px;
  color: rgba(255,255,255,0.9);
  text-align: center;
  line-height: 1.5;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  width: 100%;
}
.flip-back-btn {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 2px solid #fff;
  padding: 6px 18px;
  border-radius: 4px;
  transition: background 0.2s;
}
#machineryGrid .cat-card:hover .flip-back-btn {
  background: #fff;
  color: var(--green);
}

/* =====================
   ABOUT US
   ===================== */
.about { background: #fff; }
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  margin-bottom: 52px;
}
.about-img { border-radius: var(--radius); overflow: hidden; }
.about-img img { width: 100%; height: 340px; object-fit: cover; }
.about-text h3 {
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--green);
  margin-bottom: 16px;
}
.about-text p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.75;
  margin-bottom: 16px;
}
.about-text .btn-outline { margin-top: 8px; }

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  background: var(--green-pale);
  border-radius: var(--radius);
  padding: 32px;
}
.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.stat-num {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  color: var(--green);
}
.stat-label {
  font-size: 13px;
  color: var(--text-light);
  text-align: center;
}

/* =====================
   TESTIMONIALS
   ===================== */
.testimonials { background: var(--green-pale); }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  transition: box-shadow 0.25s, transform 0.25s;
  text-decoration: none;
  color: inherit;
  display: block;
}
.testimonial-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}
.quote-icon {
  font-size: 36px;
  text-align: left;
  color: var(--green);
  line-height: 1;
  display: block;
  margin-bottom: 12px;
}
.testimonial-card p {
  font-size: 13.5px;
  text-align: left;
  color: var(--text-light);
  line-height: 1.75;
  margin-bottom: 20px;
}
.reviewer {
  display: flex;
  align-items: center;
  gap: 12px;
}
.reviewer div{text-align: left;}
.reviewer img {
  width: 44px; height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--green-light);
}
.reviewer strong { display: block; font-size: 14px; color: var(--text); }
.reviewer span { font-size: 12px; color: var(--text-muted); }

/* =====================
   TESTIMONIAL DETAIL PAGE
   ===================== */
.testimonial-avatar {
  width: 80px; height: 80px;
  margin: 0 auto 16px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--green-light);
}
.testimonial-avatar img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.testimonial-quote {
  max-width: 720px;
  margin: 0 auto 36px;
  text-align: center;
  padding: 32px 36px;
  background: var(--green-pale);
  border-radius: var(--radius);
  position: relative;
}
.testimonial-quote .quote-icon {
  font-size: 48px;
  margin-bottom: 12px;
}
.testimonial-quote p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-light);
  font-style: italic;
}
@media (max-width: 580px) {
  .testimonial-quote { padding: 24px 18px; }
  .testimonial-quote p { font-size: 14px; }
}

/* =====================
   COMPANY NEWS
   ===================== */
.news { background: #fff; }
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.news-card {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: box-shadow 0.25s, transform 0.25s;
  cursor: pointer;
}
.news-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}
.news-img {
  position: relative;
  height: 200px;
  overflow: hidden;
}
.news-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.news-card:hover .news-img img { transform: scale(1.05); }
.news-date {
  position: absolute;
  bottom: 12px; left: 12px;
  background: var(--green);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 3px;
}
.news-body {
  padding: 16px;
  background: #fff;
}
.news-body h4 {
  font-size: 14px;
  text-align: center;
  font-weight: 700;
  color: var(--text);
  line-height: 1.5;
}
.news-body p{
  font-size: 12.5px;
  color: var(--text-light);
  margin-top: 8px;
  line-height: 1.6;
  text-align: left;
}
/* =====================
   COMMENTS SECTION — Local CMS
   ===================== */
.news-page { padding: 30px 0; }
.news-list-page { padding: 60px 0; background: #fff; }
.comments-section {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.comments-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.comments-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, var(--green-light), transparent);
}
.comments-intro {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 24px;
}

/* ── Comment Form ── */
.comment-form-wrap {
  background: #f9fafb;
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 32px;
  border: 1px solid var(--border);
}
.comment-form { display: flex; flex-direction: column; gap: 14px; }
.cf-row { display: flex; flex-direction: column; }
.cf-input,
.cf-textarea {
  width: 100%;
  padding: 10px 14px;
  font-size: 14px;
  font-family: var(--font-body);
  border: 1px solid var(--border);
  border-radius: 6px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
  background: #fff;
}
.cf-input:focus,
.cf-textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(74,158,92,0.1);
}
.cf-textarea { resize: vertical; min-height: 90px; }
.cf-actions {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.cf-reply-info {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--green);
  background: #e8f5e9;
  padding: 6px 12px;
  border-radius: 6px;
}
.cf-cancel-reply {
  color: #e53935;
  font-weight: 600;
  text-decoration: none;
  margin-left: 4px;
}
.cf-cancel-reply:hover { text-decoration: underline; }
.btn-submit-comment {
  background: var(--green);
  color: #fff;
  border: none;
  padding: 10px 28px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  font-family: var(--font-body);
  white-space: nowrap;
}
.btn-submit-comment:hover {
  background: var(--green-dark);
  transform: translateY(-1px);
}

/* ── Comment List ── */
.comment-list-wrap {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 24px;
}
.comment-list-wrap .comment-item--reply {
  margin-bottom: 0;
}
.comment-item {
  display: flex;
  gap: 14px;
  padding: 16px 18px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: box-shadow 0.2s;
}
.comment-item:hover {
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.comment-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  flex-shrink: 0;
  line-height: 1;
}
.comment-body { flex: 1; min-width: 0; }
.comment-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 4px;
}
.comment-author {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}
.comment-date {
  font-size: 12px;
  color: var(--text-muted);
}
.comment-reply-to {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.comment-reply-to strong { color: var(--green); }
.comment-content {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 8px;
  word-break: break-word;
}
.comment-control {
  display: flex;
  gap: 16px;
  margin-top: 4px;
}
.comment-action {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12.5px;
  color: var(--text-muted);
  cursor: pointer;
  text-decoration: none;
  transition: color 0.2s;
  background: none;
  border: none;
  padding: 2px 0;
}
.comment-action:hover { color: var(--green); }
.comment-action svg { stroke: currentColor; }

/* ── Threaded / Nested Comments (盖楼) ── */
.comment-item--reply {
  margin-left: 48px;
  border-top: 1px solid var(--border);
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  border-left: 3px solid var(--green-light);
  border-radius: 0 var(--radius) var(--radius) 0;
  position: relative;
  background: #fafcfa;
}
.comment-item--reply .comment-item--reply {
  margin-left: 40px;
}
.comment-replies {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 12px;
}
.comment-replies > .comment-item--reply:last-child {
  margin-bottom: 0;
}
.comment-replies > .comment-item--reply {
  margin-left: 0 !important;
}
.comment-reply-context {
  display: flex;
  gap: 8px;
  padding: 8px 10px;
  margin-bottom: 10px;
  background: #f0fdf4;
  border-radius: 6px;
  font-size: 13px;
  border-left: 3px solid var(--green);
}
.crc-arrow {
  flex-shrink: 0;
  color: var(--green);
  margin-top: 2px;
  line-height: 1;
}
.crc-body { flex: 1; min-width: 0; }
.crc-author {
  font-weight: 600;
  color: var(--green-dark);
  font-size: 12px;
  display: block;
  margin-bottom: 2px;
}
.crc-content {
  color: var(--text-muted);
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 1.4;
  font-size: 12.5px;
}

/* Empty state */
.comment-empty {
  text-align: center;
  padding: 40px 20px;
  color: var(--text-muted);
}
.comment-empty p { font-size: 14px; margin-top: 12px; }
.comment-empty svg { opacity: 0.4; }

/* ── Pagination ── */
.comment-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding-top: 8px;
}
.cp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: #fff;
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.cp-btn:hover {
  border-color: var(--green);
  color: var(--green);
  background: #f0fdf4;
}
.cp-btn.active {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}
.cp-btn svg { stroke: currentColor; display: block; }

/* ── Mobile Responsive ── */
@media (max-width: 768px) {
  .comments-section { margin-top: 30px; padding-top: 24px; }
  .comments-title { font-size: 18px; }
  .comment-form-wrap { padding: 18px; }
  .cf-actions { flex-direction: column; align-items: stretch; }
  .cf-reply-info { justify-content: center; }
  .btn-submit-comment { width: 100%; }
  .comment-item { padding: 12px 14px; gap: 10px; }
  .comment-item--reply { margin-left: 24px; }
  .comment-item--reply .comment-item--reply { margin-left: 20px; }
  .comment-reply-context { padding: 6px 8px; font-size: 12px; }
  .comment-replies { gap: 8px; margin-top: 8px; }
  .comment-pagination { gap: 4px; }
  .cp-btn { width: 32px; height: 32px; font-size: 12px; }
}

/* ── Case Studies + Latest News merged row ── */
/* =====================
   CASE DETAIL — description, video, etc.
   ===================== */
.case-desc {
  position: relative;
  font-size: 15px;
  color: var(--text);
  line-height: 1.8;
  padding: 24px 24px 20px;
  margin: 0 0 24px;
  background: var(--green-pale);
  border-radius: 10px;
  font-style: italic;
}
.case-desc::before {
  content: "\201C";
  position: absolute;
  top: -6px;
  left: 12px;
  font-size: 48px;
  color: var(--green);
  font-style: normal;
  line-height: 1;
  font-weight: 700;
  opacity: 0.5;
}
.case-desc::after {
  content: "\201D";
  position: absolute;
  bottom: -18px;
  right: 12px;
  font-size: 48px;
  color: var(--green);
  font-style: normal;
  line-height: 1;
  font-weight: 700;
  opacity: 0.5;
}
.case-video-wrap { margin-bottom: 24px; }
.case-video-inner {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 8px;
  background: #000;
}
.case-video-inner iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}
.detail-content video {
  width: 100%;
  max-width: 800px;
  height: auto;
  max-height: 68vh;
  border-radius: 8px;
  display: block;
  margin: 24px auto;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  background: #000;
}
.detail-content video::-webkit-media-controls-enclosure {
  border-radius: 0 0 8px 8px;
}
.detail-content .video-logo-wrap {
  position: relative;
  max-width: 800px;
  width: 100%;
  margin: 24px auto;
  border-radius: 8px;
  overflow: hidden;
}
.detail-content .video-logo-wrap video {
  margin: 0;
}
.video-logo-overlay {
  position: absolute;
  top: 12px;
  left: 12px;
  width: 130px;
  height: auto;
  opacity: 0.7;
  pointer-events: none;
  z-index: 2;
}
.detail-content .video-play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1;
  border-radius: 8px;
  transition: background 0.2s;
}
.detail-content .video-play-overlay svg {
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.4));
  transition: transform 0.2s;
  opacity: 0.9;
}
.detail-content .video-play-overlay:hover svg {
  transform: scale(1.1);
}

/* =====================
   CASE STUDIES + LATEST NEWS — Refined
   ===================== */
.case-news-section {
  background: #f8faf8;
  padding: 70px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.case-news-row {
  display: flex;
  gap: 40px;
}
.case-news-col {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.case-news-col .center-btn {
  margin-top: auto;
}

/* -- Section Title with underline accent -- */
.case-news-col .section-title {
  margin-bottom: 8px;
}
.st-underline {
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
}
.st-underline::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--green);
  border-radius: 2px;
}
.case-news-col .section-sub {
  margin-bottom: 24px;
  color: var(--text-muted);
  font-size: 14px;
}

/* -- Grid -- */
.case-news-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}

/* ==========================
   COMMON CARD BASE
   ========================== */
.cn-card {
  display: flex;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  text-decoration: none;
  transition: transform 0.35s cubic-bezier(.25,.8,.25,1), box-shadow 0.35s ease;
}
.cn-card:hover {
  transform: translateY(-4px);
}
.cn-card-featured {
  grid-column: 1 / -1;
}

/* ==========================
   IMAGE
   ========================== */
.cn-img {
  flex-shrink: 0;
  overflow: hidden;
  position: relative;
}
.cn-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.cn-card:hover .cn-img img {
  transform: scale(1.06);
}

/* -- Badge -- */
.cn-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 3;
  display: inline-block;
  padding: 4px 14px;
  background: var(--green);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.4px;
  border-radius: 4px;
  text-transform: uppercase;
  line-height: 1.4;
  pointer-events: none;
}

/* ==========================
   BODY
   ========================== */
.cn-body {
  flex: 1;
  padding: 14px 16px;
  background: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}
.cn-body h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.45;
  text-align: left;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.cn-desc {
  font-size: 12.5px;
  color: var(--text-light);
  margin-top: 6px;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-align: left;
}

/* ==========================
   CASE STUDIES – Featured (full-width image)
   ========================== */
.cn-feat-case {
  flex-direction: column;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  border-radius: 10px;
}
.cn-feat-case:hover {
  box-shadow: 0 8px 28px rgba(0,0,0,0.12);
}
.cn-feat-case .cn-img {
  width: 100%;
  height: 340px;
  position: relative;
}
.cn-feat-case .cn-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.1) 50%, transparent 100%);
  pointer-events: none;
  z-index: 1;
}
.cn-img-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px 22px;
  z-index: 2;
  pointer-events: none;
}
.cn-img-overlay h4 {
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  line-height: 1.45;
  text-align: left;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

/* ==========================
   CASE STUDIES – Plain (group)
   ========================== */
.cn-group {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 1px 6px rgba(0,0,0,0.06);
  border: 1px solid var(--border);
}
.cn-card-plain {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border-radius: 0;
  box-shadow: none !important;
  background: #fff;
  text-decoration: none;
  transition: background 0.25s ease, border-color 0.25s ease;
  border-left: 3px solid transparent;
}
.cn-card-plain + .cn-card-plain {
  border-top: 1px solid var(--border);
}
.cn-card-plain:hover {
  background: #f3f9f3;
  border-left-color: var(--green);
  transform: none;
}
.cn-plain-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--green-pale);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.25s, color 0.25s;
}
.cn-card-plain:hover .cn-plain-icon {
  background: var(--green);
  color: #fff;
}
.cn-card-plain .cn-body {
  padding: 0;
  background: transparent;
}
.cn-card-plain .cn-body h4 {
  font-size: 13.5px;
  font-weight: 600;
  -webkit-line-clamp: 2;
}

/* ==========================
   LATEST NEWS – Featured (image left + text right)
   ========================== */
.cn-feat-news {
  flex-direction: row;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  border-radius: 10px;
}
.cn-feat-news:hover {
  box-shadow: 0 8px 28px rgba(0,0,0,0.12);
}
.cn-feat-news .cn-img {
  width: 44%;
  min-height: 180px;
  aspect-ratio: 4/3;
  position: relative;
}
.cn-feat-news .cn-body {
  padding: 20px 22px;
}
.cn-feat-news .cn-body h4 {
  font-size: 16px;
  -webkit-line-clamp: 3;
  overflow: visible;
  display: block;
}
.cn-feat-news .cn-desc {
  display: block;
  font-size: 13px;
  -webkit-line-clamp: 3;
  margin-top: 8px;
}

/* ==========================
   NEWS – Plain card (thumbnail left)
   ========================== */
.cn-card-plain .cn-thumb {
  width: 70px;
  height: 70px;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
}
.cn-card-plain .cn-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cn-card-plain .cn-body .cn-desc {
  font-size: 11.5px;
  -webkit-line-clamp: 1;
  margin-top: 3px;
}

/* =====================
   FEATURES BAR
   ===================== */
.features-bar {
  background: var(--green-pale);
  padding: 26px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.feature {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.feature-icon { font-size: 30px; flex-shrink: 0; }
.feature-icon i{font-size: 65px;}
.feature strong {
  display: block;
  font-size: 14px;
  color: var(--text);
  font-weight: 700;
  margin-bottom: 3px;
}
.feature p {
  font-size: 12.5px;
  color: var(--text-light);
  text-align: left;
}

/* =====================
   WHY CHOOSE US & APPLIANCE
   ===================== */
.why-choose { background: var(--green-pale); }
.appliance-section { background: #fff; }

/* Machinery list layout */
.machinery-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.machinery-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  transition: box-shadow 0.25s, border-color 0.25s;
}
.machinery-item:hover {
  border-color: var(--green);
  box-shadow: var(--shadow-hover);
}
.machinery-icon {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--green-pale);
  border-radius: 8px;
}
.machinery-icon img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  display: block;
}
.machinery-name {
  flex: 1;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
}
.machinery-arrow {
  flex-shrink: 0;
  color: var(--text-muted);
  font-size: 14px;
  transition: transform 0.2s, color 0.2s;
}
.machinery-item:hover .machinery-arrow {
  color: var(--green);
  transform: translateX(4px);
}
@media (max-width: 768px) {
  .machinery-list { grid-template-columns: 1fr; gap: 10px; }
  .machinery-item { padding: 14px 16px; }
  .machinery-icon { width: 44px; height: 44px; }
  .machinery-icon img { width: 26px; height: 26px; }
  .machinery-name { font-size: 14px; }
}
@media (max-width: 480px) {
  .machinery-list { gap: 8px; }
  .machinery-item { padding: 12px 14px; }
  .machinery-icon { width: 38px; height: 38px; }
  .machinery-icon img { width: 22px; height: 22px; }
  .machinery-name { font-size: 13px; }
}
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.advantage-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  transition: box-shadow 0.25s, transform 0.25s;
}
.advantage-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}
.advantage-icon {
  font-size: 36px;
  color: var(--green);
  margin-bottom: 16px;
}
.advantage-card h3 {
  font-family: var(--font-display);
  font-size: 17px;
  color: var(--text);
  margin-bottom: 10px;
}
.advantage-card p {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.6;
}
@media (max-width: 900px) {
  .advantages-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .advantage-card { padding: 24px 18px; }
  .advantage-icon { font-size: 30px; }
  .advantage-card h3 { font-size: 15px; }
}
@media (max-width: 480px) {
  .advantages-grid { gap: 12px; }
  .advantage-card { padding: 20px 16px; }
  .advantage-icon { font-size: 26px; margin-bottom: 10px; }
  .advantage-card h3 { font-size: 14px; }
  .advantage-card p { font-size: 12px; }
}

/* =====================
   FOOTER
   ===================== */
.footer {
  /*background: #fff;*/
  background: url(../img/map.png);
  background-size: 100% 100%;
  padding-top: 56px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
}
.footer-col h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.footer-col ul li {
  margin-bottom: 10px;
}
.footer-col ul a {
  font-size: 13px;
  color: var(--text-light);
  transition: color 0.2s;
}
.footer-col ul a:hover { color: var(--green); }
.contact-col p {
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 8px;
  line-height: 1.6;
}

.footer-bottom {
  background: #f7f7f7;
  padding: 18px 0;
}
.footer-bottom-inner {
  /*display: flex;*/
  justify-content: space-between;
  align-items: center;
}
.footer-bottom p {
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}
.trustedsite {
  display: inline-block;
  max-width: 100%;
  width: 70px;
  height: auto;
  vertical-align: middle;
}
.privacy-icon {
    display: inline-block;
    width: 30px;
    height: 15px;
    background-image: url("data:image/svg+xml;base64,PHN2ZyBlbmFibGUtYmFja2dyb3VuZD0ibmV3IDAgMCAzMCAxNCIgdmVyc2lvbj0iMS4xIiB2aWV3Qm94PSIwIDAgMzAgMTQiIHhtbDpzcGFjZT0icHJlc2VydmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxzdHlsZSB0eXBlPSJ0ZXh0L2NzcyI+Cgkuc3Qwe2ZpbGwtcnVsZTpldmVub2RkO2NsaXAtcnVsZTpldmVub2RkO2ZpbGw6I0ZGRkZGRjt9Cgkuc3Qxe2ZpbGwtcnVsZTpldmVub2RkO2NsaXAtcnVsZTpldmVub2RkO2ZpbGw6IzAwNjZGRjt9Cgkuc3Qye2ZpbGw6I0ZGRkZGRjt9Cgkuc3Qze2ZpbGw6IzAwNjZGRjt9Cjwvc3R5bGU+CgkJPGcgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTEyNzUgLTIwMCkiPgoJCQk8ZyB0cmFuc2Zvcm09InRyYW5zbGF0ZSgxMjc1IDIwMCkiPgoJCQkJPHBhdGggY2xhc3M9InN0MCIgZD0ibTcuNCAxMi44aDYuOGwzLjEtMTEuNmgtOS45Yy0zLjIgMC01LjggMi42LTUuOCA1LjhzMi42IDUuOCA1LjggNS44eiIvPgoJCQk8L2c+CgkJPC9nPgoJCTxnIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0xMjc1IC0yMDApIj4KCQkJPGcgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMTI3NSAyMDApIj4KCQkJCTxwYXRoIGNsYXNzPSJzdDEiIGQ9Im0yMi42IDBoLTE1LjJjLTMuOSAwLTcgMy4xLTcgN3MzLjEgNyA3IDdoMTUuMmMzLjkgMCA3LTMuMSA3LTdzLTMuMi03LTctN3ptLTIxIDdjMC0zLjIgMi42LTUuOCA1LjgtNS44aDkuOWwtMy4xIDExLjZoLTYuOGMtMy4yIDAtNS44LTIuNi01LjgtNS44eiIvPgoJCQkJPHBhdGggY2xhc3M9InN0MiIgZD0ibTI0LjYgNGMwLjIgMC4yIDAuMiAwLjYgMCAwLjhsLTIuMSAyLjIgMi4yIDIuMmMwLjIgMC4yIDAuMiAwLjYgMCAwLjhzLTAuNiAwLjItMC44IDBsLTIuMi0yLjItMi4yIDIuMmMtMC4yIDAuMi0wLjYgMC4yLTAuOCAwcy0wLjItMC42IDAtMC44bDIuMS0yLjItMi4yLTIuMmMtMC4yLTAuMi0wLjItMC42IDAtMC44czAuNi0wLjIgMC44IDBsMi4yIDIuMiAyLjItMi4yYzAuMi0wLjIgMC42LTAuMiAwLjggMHoiLz4KCQkJCTxwYXRoIGNsYXNzPSJzdDMiIGQ9Im0xMi43IDQuMWMwLjIgMC4yIDAuMyAwLjYgMC4xIDAuOGwtNC4yIDQuOWMtMC4xIDAuMS0wLjIgMC4yLTAuMyAwLjItMC4yIDAuMS0wLjUgMC4xLTAuNy0wLjFsLTIuMi0yLjJjLTAuMi0wLjItMC4yLTAuNiAwLTAuOHMwLjYtMC4yIDAuOCAwbDEuOCAxLjcgMy44LTQuNWMwLjItMC4yIDAuNi0wLjIgMC45IDB6Ii8+CgkJCTwvZz4KCQk8L2c+Cjwvc3ZnPg==");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    vertical-align: middle;
}
.footer-socials {
  display: flex;
  gap: 12px;
  font-size: 28px;
}
.footer-socials a {
  transition: transform 0.2s;
  display: block;
}
.footer-socials a:hover { transform: scale(1.2); }
.subscribe-col h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.subscribe-desc {
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 20px;
  line-height: 1.6;
}

.subscribe-form {
  /*margin-bottom: 20px;*/
}

.subscribe-input-group {
  display: flex;
  /*margin-bottom: 12px;*/
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  transition: box-shadow 0.2s;
}

.subscribe-input-group:focus-within {
  box-shadow: 0 2px 10px rgba(74, 158, 92, 0.2);
}

.subscribe-input-group input {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-right: none;
  font-size: 13px;
  font-family: var(--font-body);
  outline: none;
  transition: border-color 0.2s;
  background: var(--white);
}

.subscribe-input-group input:focus {
  border-color: var(--green);
}

.subscribe-input-group input::placeholder {
  color: var(--text-muted);
  font-size: 12.5px;
}

.subscribe-btn {
  background: var(--green);
  color: var(--white);
  border: 1px solid var(--green);
  padding: 0 20px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
  white-space: nowrap;
}

.subscribe-btn:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
}

.subscribe-btn svg {
  stroke-width: 3px;
}

.btn-text {
  display: inline-block;
}

.form-message {
  /*font-size: 12px;
  padding: 4px 0;
  min-height: 20px;
  transition: opacity 0.3s;*/
}

.form-message.error {
  color: #e74c3c;
}

.form-message.success {
  color: var(--green);
}

.privacy-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 11px;
  color: var(--text-light);
  margin-top: 12px;
  line-height: 1.4;
}

.privacy-note input[type="checkbox"] {
  margin-top: 2px;
  accent-color: var(--green);
  transform: scale(0.9);
}

.privacy-link {
  color: var(--green);
  text-decoration: underline;
  transition: color 0.2s;
}

.privacy-link:hover {
  color: var(--green-dark);
}

/* 订阅成功状态 */
.subscribe-success {
  background: var(--green-light);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
  border: 1px solid rgba(74, 158, 92, 0.2);
  animation: fadeIn 0.5s ease;
}

.subscribe-success .success-icon {
  color: var(--green);
  margin-bottom: 10px;
}

.subscribe-success h5 {
  font-size: 14px;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 6px;
}

.subscribe-success p {
  font-size: 12px;
  color: var(--text-light);
  line-height: 1.5;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* 响应式调整 */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr; /* 平板：2列 */
  }
  
  .subscribe-col {
    grid-column: span 2; /* 订阅列占满2列宽度 */
  }
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr; /* 手机：Site Nav & Navigation 并排 */
    gap: 28px;
  }
  
  .contact-col,
  .subscribe-col {
    grid-column: 1 / -1; /* Contact & 订阅列独占一行 */
  }
  
  .subscribe-btn .btn-text {
    display: none; /* 手机隐藏文字，只显示图标 */
  }
  
  .subscribe-btn {
    padding: 0 16px;
  }
}
/* =====================
   INQUIRY FORM
   ===================== */
.inquiry-section {
  /*background: var(--green-pale);*/
  background: url(../img/section4_bg-1.png)no-repeat;
  background-size: 100% 100%; 
}
.inquiry-wrapper {
  max-width: 860px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow);
}
.inquiry-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-group {
  display: flex;
  flex-direction: column;
}
.form-group.full-width {
  grid-column: span 2;
}
.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
  text-align: left;
}
.form-group label .required {
  color: #e4393c;
}
.form-group input,
.form-group textarea {
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px;
  font-family: var(--font-body);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  background: var(--white);
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(74, 158, 92, 0.12);
}
.form-group textarea {
  resize: vertical;
  min-height: 100px;
}
.form-submit {
  margin-top: 24px;
  text-align: center;
}
.btn-submit {
  padding: 14px 48px;
  font-size: 14px;
}
.cf-input { width:100%; border:1px solid #e0e0e0; border-radius:4px; padding:11px 14px; font-size:13.5px; font-family:var(--font-body); color:var(--text); background:#fafafa; outline:none; transition:border-color 0.2s,background 0.2s,box-shadow 0.2s; resize:none; }
.cf-input::placeholder { color:#bbb; }
.cf-input:focus { border-color:var(--green); background:#fff; box-shadow:0 0 0 3px rgba(74,158,92,0.1); }
.inquiry-success {
  text-align: center;
  padding: 40px 20px;
  animation: fadeIn 0.5s ease;
}
.inquiry-success .success-icon {
  margin-bottom: 12px;
}
.inquiry-success h4 {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--green);
  margin-bottom: 8px;
}
.inquiry-success p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.6;
}

/* Inquiry form responsive */
@media (max-width: 768px) {
  .inquiry-wrapper {
    padding: 24px 20px;
  }
  .inquiry-form-grid {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }
  .form-group.full-width {
    grid-column: span 2;
  }
}

/* =====================
   GENERIC PAGE LAYOUT (search, tag, list pages with sidebar)
   ===================== */
.page .page-item {
  display: flex;
  gap: 28px;
  padding: 40px 0;
  align-items: flex-start;
}
.page .page-content {
  flex: 1;
  min-width: 0;
}

.single-content-title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--green-light);
}
.single-content-title span {
  color: var(--green);
}

.list-blog-ul {
  list-style: none;
}
.list-blog-ul li {
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.list-blog-ul li h3 {
  font-size: 16px;
  margin-bottom: 6px;
}
.list-blog-ul li h3 a {
  color: var(--text);
  transition: color 0.2s;
}
.list-blog-ul li h3 a:hover { color: var(--green); }
.list-blog-ul li p {
  font-size: 13.5px;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 8px;
}
.list-blog-ul li .more {
  font-size: 13px;
  font-weight: 600;
  color: var(--green);
  transition: color 0.2s;
}
.list-blog-ul li .more:hover { color: var(--green-dark); }

.page .news-sidebar {
  width: 300px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: sticky;
  top: 80px;
}

/* Pagination (generic) */
.pagination-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-top: 32px;
}
.pagination-wrap a,
.pagination-wrap span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  transition: all 0.2s;
}
.pagination-wrap a:hover {
  border-color: var(--green);
  color: var(--green);
}
.pagination-wrap .active {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}

/* =====================
   RESPONSIVE
   ===================== */
@media (max-width: 1024px) {
  .products-grid { grid-template-columns: repeat(3, 1fr); }
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
  .about-inner { grid-template-columns: 1fr; }
  .about-img img { height: 260px; }
  .stats-row { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  /* Sidebar layout: stack on tablet */
  .page .page-item { flex-direction: column; }
  .page .news-sidebar { width: 100%; position: static; }
}

@media (max-width: 768px) {
  .topbar { padding: 6px 16px; }
  .topbar .topbar-container { padding: 0 16px; }
  .topbar-left { gap: 10px; font-size: 12px; }
  .topbar-right { gap: 6px; /*display: none;*/}
  .container { padding: 0 16px; font-size: 16px; text-align: left;}
  .hero { height: 360px; }
  .slide-content h2 { font-size: 32px; }
  .slide-content p { font-size: 15px; }
  .slide-content { padding: 0 40px; }
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .ptype-grid { grid-template-columns: repeat(4, 1fr); gap: 12px; }
  .categories-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; gap: 16px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer-bottom-inner { flex-direction: column; gap: 12px; text-align: center; }
  .footer-bottom p { justify-content: center; }
  .section { padding: 48px 0; }
  .section-title { font-size: 24px; }
  .section-sub { font-size: 13px; }
  .stats-row { grid-template-columns: repeat(2, 1fr); padding: 20px; gap: 16px; }
  .stat-num { font-size: 26px; }
  /* Page layout: stack */
  .page .page-item { flex-direction: column; gap: 24px; padding: 24px 0; }
  .page .news-sidebar { width: 100%; position: static; }
  .single-content-title { font-size: 20px; }
  .case-news-row {
    flex-direction: column;
    gap: 24px;
  }
  .case-news-section {
    padding: 40px 0;
  }
  .case-news-col .center-btn {
    margin-bottom: 24px;
  }
  .cn-feat-case .cn-img {
    height: 180px;
  }
  .cn-feat-news .cn-img {
    width: 38%;
    min-height: 120px;
  }
  .cn-feat-news .cn-body {
    padding: 14px 16px;
  }
  .cn-feat-news .cn-body h4 {
    font-size: 14px;
  }
  .cn-feat-case .cn-img-overlay {
    padding: 14px 16px;
  }
  .cn-feat-case .cn-img-overlay h4 {
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  .topbar-left { /*flex-direction: column;*/ gap: 20px; align-items: flex-start; }
  .topbar .topbar-container { flex-direction: column; gap: 4px; /*align-items: flex-start;*/ }
  .topbar-right { gap: 6px; display: none;}
  .hero { height: 220px; }
  .slide-content h2 { font-size: 22px; margin-bottom: 8px; }
  .slide-content p { font-size: 13px; margin-bottom: 14px; }
  .slide-content { margin: 50px 120px 0 0; max-width: 100%; }
  .btn-hero { padding: 8px 18px; font-size: 11px; }
  .slider-btn { width: 28px; height: 28px; font-size: 11px; }
  .products-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .ptype-grid { grid-template-columns: repeat(4, 1fr); gap: 8px; }
  .ptype-card { padding: 10px 6px; }
  .ptype-img { margin-bottom: 8px; }
  .ptype-name { font-size: 13px; }
  .categories-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .section { padding: 36px 0; }
  .section-title { font-size: 20px; }
  .stats-row { grid-template-columns: repeat(2, 1fr); padding: 16px; gap: 12px; }
  .stat-num { font-size: 22px; }
  .stat-label { font-size: 11px; }
  .product-name { font-size: 12px; padding: 8px 4px; }
  .cat-card p { font-size: 12px; padding: 20px 8px 8px; }
  .features-bar { padding: 24px 0; }
  .feature strong { font-size: 13px;text-align: left; }
  .feature p { font-size: 11.5px;text-align: left; }
  .feature-icon { font-size: 24px; }
  .feature-icon i{font-size: 24px;}
  .footer { padding-top: 40px; text-align: left;}
  .footer-grid { font-size: 16px; gap: 20px; }
  .footer-col h4 { font-size: 13px; }
  .footer-col ul li { margin-bottom: 8px; }
  .footer-col ul a { font-size: 12px; }
  .contact-col p { font-size: 12px; }
  .flip-front-title { font-size: 12px; padding: 30px 8px 10px; }
  #machineryGrid .flip-back-title { font-size: 12px; margin-bottom: 4px; }
  .cn-feat-case .cn-img { height: 130px; }
  .cn-thumb { width: 60px; height: 60px; }
  .cn-feat-news .cn-img { width: 100%; min-height: auto; aspect-ratio: 16/9; }
  .cn-feat-news { flex-direction: column; }
  .flip-back-desc { font-size: 11px; margin-bottom: 10px; -webkit-line-clamp: 2; }
  .flip-back-btn { font-size: 10px; padding: 5px 14px; }
}

/* 移动端导航遮罩层 */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 99;
  pointer-events: none;
}
.nav-overlay.show {
  display: block;
}

/* =====================
   REVEAL ANIMATION (shared)
   ===================== */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =====================
   MOBILE BOTTOM NAV
   ===================== */
.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--green);;
  border-top: 1px solid var(--border);
  z-index: 99;
  justify-content: space-around;
  align-items: center;
  padding: 6px 0 env(safe-area-inset-bottom, 6px) 0;
  box-shadow: 0 -2px 12px rgba(0,0,0,0.06);
}
.mb-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 4px 8px;
  text-decoration: none;
  color: #fff;
  font-size: 10px;
  transition: color 0.2s;
}
.mb-nav-item i {
  font-size: 18px;
  transition: color 0.2s;
}
.mb-nav-item:hover,
.mb-nav-item.active {
  color: #fff;
}
.mb-nav-item:hover i,
.mb-nav-item.active i {
  color: #fff;
}
@media (max-width: 768px) {
  .mobile-bottom-nav { display: flex; }
  body { padding-bottom: 56px; text-align: center;}
}

/* =====================
   SERVICE SUPPORT BANNER
   ===================== */
.ss-banner {
  position: relative;
  height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.ss-banner .banner-bg { position: absolute; inset: 0; }
.ss-banner .banner-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; display: block; }
.ss-banner .banner-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.54); }
.ss-banner .banner-title {
  position: relative;
  z-index: 2;
  color: #fff;
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 12px rgba(0,0,0,0.35);
}

/* =====================
   SECTION HEADER (shared)
   ===================== */
.ss-header {
  text-align: center;
  margin-bottom: 52px;
}
.ss-line {
  width: 36px;
  height: 3px;
  background: var(--green);
  margin: 0 auto 18px;
  border-radius: 2px;
}
.ss-title {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}
.ss-sub {
  font-size: 14px;
  color: var(--text-light);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.7;
}

/* =====================
   SERVICE PILLARS
   ===================== */
.ss-pillars {
  padding: 72px 0;
}
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.pillar-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 36px 24px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: box-shadow 0.25s, transform 0.25s;
}
.pillar-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-5px);
}
.pillar-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--green-pale);
  border-radius: 50%;
}
.pillar-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
}
.pillar-desc {
  font-size: 13.5px;
  color: var(--text-light);
  line-height: 1.75;
}

/* =====================
   SERVICE SCOPE
   ===================== */
.ss-scope {
  padding: 72px 0;
  background: var(--green-pale);
}
.scope-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.scope-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.25s, transform 0.25s;
}
.scope-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}
.scope-card-inner {
  display: flex;
  gap: 18px;
  padding: 28px 24px;
  align-items: flex-start;
}
.scope-icon {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(74,158,92,0.12);
}
.scope-content {
  flex: 1;
  min-width: 0;
}
.scope-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--green);
  display: inline-block;
}
.scope-desc {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.85;
  margin: 0;
  text-align: justify;
}

/* =====================
   SERVICE PROCESS TIMELINE
   ===================== */
.ss-process {
  padding: 72px 0;
  background: #fff;
}
.process-timeline {
  max-width: 780px;
  margin: 0 auto;
  position: relative;
}
.process-timeline::before {
  content: '';
  position: absolute;
  left: 34px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, var(--green-light) 0%, var(--green) 50%, var(--green-light) 100%);
  border-radius: 2px;
}
.process-step {
  display: flex;
  gap: 28px;
  margin-bottom: 36px;
  position: relative;
}
.process-step:last-child { margin-bottom: 0; }
.step-num {
  flex-shrink: 0;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  box-shadow: 0 4px 14px rgba(74,158,92,0.3);
}
.step-content {
  padding-top: 10px;
  flex: 1;
}
.step-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}
.step-desc {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.8;
}

/* =====================
   SERVICE FEATURES
   ===================== */
.ss-features {
  padding: 72px 0;
  background: var(--green-pale);
}
.feature-item {
  background: #fff;
  border-radius: var(--radius);
  padding: 28px 24px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  box-shadow: var(--shadow);
  transition: box-shadow 0.25s, transform 0.25s;
}
.feature-item:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}
.feature-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--green-pale);
  border-radius: 12px;
}
.feature-text h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}
.feature-text p {
  font-size: 13.5px;
  color: var(--text-light);
  line-height: 1.7;
  margin: 0;
}

/* =====================
   SUPPORT CONTACT
   ===================== */
.ss-contact {
  padding: 72px 0;
  background: #fff;
}
.ss-contact-inner {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}
.ss-contact-title {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}
.ss-contact-sub {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 40px;
  line-height: 1.7;
}
.ss-contact-info {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  text-align: left;
}
.ss-contact-item {
  background: var(--green-pale);
  border-radius: var(--radius);
  padding: 24px 20px;
  display: flex;
  gap: 16px;
  align-items: center;
  transition: box-shadow 0.25s, transform 0.25s;
}
.ss-contact-item:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}
.ss-ci-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 50%;
  color: var(--green);
}
.ss-ci-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.ss-ci-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.ss-ci-text a,
.ss-ci-text span {
  font-size: 14px;
  color: var(--text);
  text-decoration: none;
  transition: color 0.2s;
}
.ss-ci-text a:hover {
  color: var(--green);
}

/* =====================
   CONTACT CTA
   ===================== */
.ss-cta {
  position: relative;
  padding: 100px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.ss-cta .cta-bg { position: absolute; inset: 0; }
.ss-cta .cta-img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; display: block; }
.ss-cta .cta-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.58); }
.ss-cta .cta-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
}
.ss-cta .cta-title {
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 700;
  margin-bottom: 12px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.35);
}
.ss-cta .cta-sub {
  font-size: 16px;
  opacity: 0.9;
  margin-bottom: 28px;
}
.ss-cta .cta-btn {
  display: inline-block;
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
  padding: 12px 34px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
.ss-cta .cta-btn:hover {
  background: #fff;
  color: var(--green-dark);
  transform: translateY(-2px);
}

/* =====================
   REVEAL ANIMATION
   ===================== */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =====================
   RESPONSIVE
   ===================== */
@media (max-width: 1024px) {
  .pillars-grid { grid-template-columns: repeat(2, 1fr); }
  .scope-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .ss-contact-info { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .ss-banner { height: 220px; }
  .ss-banner .banner-title { font-size: 28px; }
  .ss-title { font-size: 26px; }
  .ss-pillars,
  .ss-process,
  .ss-features,
  .ss-scope,
  .ss-contact { padding: 48px 0; }
  .pillars-grid { grid-template-columns: 1fr; }
  .scope-grid { grid-template-columns: 1fr; }
  .scope-card-inner { flex-direction: column; gap: 14px; }
  .process-timeline::before { left: 24px; }
  .step-num { width: 50px; height: 50px; font-size: 16px; }
  .process-step { gap: 16px; margin-bottom: 28px; }
  .features-grid { grid-template-columns: 1fr; }
  .ss-contact-info { grid-template-columns: 1fr; }
  .ss-cta { padding: 64px 0; }
  .ss-cta .cta-title { font-size: 28px; }
}
@media (max-width: 480px) {
  .ss-banner { height: 160px; }
  .ss-banner .banner-title { font-size: 22px; }
  .ss-header { margin-bottom: 32px; }
  .ss-title { font-size: 22px; }
  .pillar-card { padding: 28px 20px; }
  .scope-card-inner { padding: 20px 16px; }
  .scope-icon { width: 52px; height: 52px; }
  .scope-title { font-size: 16px; }
  .feature-item { padding: 20px 16px; flex-direction: column; gap: 12px; }
  .ss-contact-item { padding: 18px 16px; }
}


/*Cookies协议*/
#cookies_agreement { background-color: #fff; border-radius: 4px; -moz-border-radius: 4px; -webkit-border-radius: 4px; padding: 20px; position: fixed; bottom: 20px; left: 20px; z-index: 100001; box-shadow: 0 0 5px rgba(0,0,0,.3); transition: opacity 300ms ease-in-out; display: flex; flex-wrap: wrap; opacity: 1; max-width: 374px; width: 94%; justify-content: space-between; box-sizing: border-box; margin: auto;display: none;}
#cookies_agreement>.content { line-height: 26px; color: #333; width: 100%; font-size: 16px;}
#cookies_agreement>.content a{ color: inherit; }
#cookies_agreement>.button { line-height: 20px; font-size: 14px; width: 45%;margin-top: 10px;padding: 8px 20px;cursor: pointer;border-radius: 4px;color:#ffffff;border-color:#00000000;}
#cookies_agreement #acceptCookies{background-color:#000000;}
#cookies_agreement #rejectCookies{background-color:#e4393c;margin-left: 15px;}
#cookies_agreement>.button.reject {background-color: #fff;color: #2e2e2e;border: 1px solid #2e2e2e;float: left;}
#cookies_agreement>.button.reject{background-color: #fff;color: #2e2e2e;border: 1px solid #2e2e2e;float: left;}
#cookies_agreement .center{ bottom: unset; padding: 47px 70px 57px; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 36.46%; max-width: 100%; font-size: 20px; line-height: 32px; }
#cookies_agreement .center>a{ text-decoration: underline; }
@media screen and (min-width: 1000px) {
	#cookies_agreement .bottom{ padding: 30px 15%; width: 100%;bottom: 0;left: 0; border-radius: 0; align-items: center; justify-content: space-between; flex-wrap: wrap; max-width: none; }
	#cookies_agreement .bottom>.content{ flex: 1; margin-right: 20px;}
	#cookies_agreement .bottom>.button{ width: auto;padding: 10px 60px; margin-left: 20px;margin-top: 0;}
	#cookies_agreement .center>.content{ margin-bottom: 30px; font-size: 20px; line-height: 32px; }
	#cookies_agreement .center .button{ font-size: 16px; line-height: 22px; border-radius: 4px; }
}
@media screen and (max-width: 1000px) {
	#cookies_agreement .center{ min-width: 92%; padding: 20px 15px; }
	#cookies_agreement .bottom{ padding: 20px; left: 0;right: 0;bottom: 15px;}
	#cookies_agreement .bottom>.content{ width: 100%;flex: none; }
	#cookies_agreement .bottom>.button{ margin-top: 15px; }
}
@media screen and (max-width: 678px) {
    #cookies_agreement { max-width: 240px;}
}

/* =====================
   GLOBAL INQUIRY POPUP
   ===================== */
.inquiry-popup-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 99999;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.inquiry-popup-overlay.open {
  display: flex;
}
.inquiry-popup {
  background: #fff;
  border-radius: 12px;
  width: 100%;
  max-width: 720px;
  position: relative;
  box-shadow: 0 24px 60px rgba(0,0,0,0.2);
  animation: popFadeIn 0.3s ease;
  max-height: 90vh;
  overflow-y: auto;
}
.inquiry-popup-inner {
  display: flex;
  min-height: 400px;
}
.inquiry-popup-img {
  width: 38%;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 12px 0 0 12px;
  background: var(--green-pale);
}
.inquiry-popup-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.inquiry-popup-content {
  flex: 1;
  padding: 32px 32px 28px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
@keyframes popFadeIn {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.inquiry-popup-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  font-size: 26px;
  cursor: pointer;
  color: #aaa;
  line-height: 1;
  padding: 0;
}
.inquiry-popup-close:hover { color: #333; }
.inquiry-popup-icon {
  text-align: center;
  font-size: 32px;
  color: var(--green);
  margin-bottom: 6px;
}
.inquiry-popup h3 {
  text-align: center;
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--text);
  margin-bottom: 4px;
}
.inquiry-popup-sub {
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.inquiry-popup .pop-form { display:flex; flex-direction:column; gap:12px; }
.inquiry-popup .pop-row { display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.inquiry-popup .pop-input {
  width:100%; padding:10px 12px;
  border:1px solid var(--border); border-radius:6px;
  font-size:13.5px; font-family:var(--font-body);
  color:var(--text); outline:none; transition:border-color 0.2s;
  box-sizing:border-box;
}
.inquiry-popup .pop-input:focus { border-color:var(--green); box-shadow:0 0 0 3px rgba(74,158,92,0.12); }
.inquiry-popup .pop-input::placeholder { color:#aaa; }
.inquiry-popup .pop-textarea { resize:vertical; min-height:70px; }
.inquiry-popup .pop-submit {
  display:flex; align-items:center; justify-content:center; gap:8px;
  width:100%; padding:12px;
  background:var(--green); color:#fff; border:none; border-radius:6px;
  font-size:14px; font-weight:700; cursor:pointer;
  font-family:var(--font-body); transition:background 0.2s;
}
.inquiry-popup .pop-submit:hover { background:var(--green-dark); }
.inquiry-popup .pop-dismiss {
  display:flex; align-items:center; justify-content:center; gap:6px;
  margin-top:10px; font-size:12px; color:var(--text-muted);
}
.inquiry-popup .pop-dismiss input[type="checkbox"] { accent-color:var(--green); margin:0; }
.inquiry-popup .pop-dismiss label { cursor:pointer; user-select:none; }
@media (max-width: 768px) {
  .inquiry-popup-inner { flex-direction: column; min-height: auto; }
  .inquiry-popup-img { display: grid; width: 100%; height: 180px; border-radius: 12px 12px 0 0; }
  .inquiry-popup-content { padding: 24px 20px 20px; }
}
@media (max-width:480px) {
  .inquiry-popup { max-width: 100%;}
  .inquiry-popup-content { padding: 20px 14px 16px; }
  .inquiry-popup h3 { font-size:17px; }
  .inquiry-popup .pop-row { grid-template-columns: 1fr 1fr; }
  .form-group input, .form-group textarea{width: 100%;}
}
/* =============================================
   MERGED FROM blogs、solution、case
   ============================================= */
/* =====================
   BREADCRUMB
   ===================== */
.breadcrumb-bar {
  background: #fafafa;
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
}
.breadcrumb a { color: var(--text-light); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--green); }
.breadcrumb .sep { color: #ccc; }
.breadcrumb .current { color: var(--text); font-weight: 500; }

.blogs-banner {
  position: relative;
  height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.blogs-bg { position: absolute; inset: 0; }
.blogs-img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; display: block; }
.blogs-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.54); }
.blogs-title {
  position: relative;
  z-index: 2;
  color: #fff;
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 12px rgba(0,0,0,0.35);
}
.news-list-page { padding: 60px 0; background: #fff; }
.page-banner-sm {
  background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
  padding: 48px 0;
  text-align: center;
  margin-bottom: 40px;
}
.page-banner-sm h1 {
  font-family: var(--font-display);
  font-size: 36px;
  color: var(--green-dark);
}
.news-layout {
  display: grid;
  grid-template-columns: 2.5fr 1fr;
  gap: 40px;
}
.news-list-main .news-item {
  display: flex;
  gap: 24px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 28px;
  margin-bottom: 28px;
}
.news-list-img {
  flex-shrink: 0;
  width: 200px;
  height: 140px;
  overflow: hidden;
  border-radius: var(--radius);
}
.news-list-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.news-list-img:hover img { transform: scale(1.05); }
.news-list-content h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}
.news-list-content h3 a { color: var(--text); transition: color 0.2s; }
.news-list-content h3 a:hover { color: var(--green); }
.news-meta {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 10px;
  display: flex;
  gap: 16px;
}
.news-excerpt {
  font-size: 13.5px;
  color: var(--text-light);
  line-height: 1.6;
}
.sidebar-news h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--green-light);
}
.sidebar-news ul li {
  margin-bottom: 15px;
  font-size: 13.5px;
}
.sidebar-news ul li a { color: var(--text-light); transition: color 0.2s; }
.sidebar-news ul li a:hover { color: var(--green); }
.pagination { margin-top: 40px; justify-content: center; display: flex; gap: 8px; }
.sd-hero {
  padding-top: 60px;
  background: #fff;
}
.sd-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}
.sd-hero-text h1 {
  font-family: var(--font-display);
  font-size: 32px;
  color: var(--text);
  margin-bottom: 16px;
  line-height: 1.25;
}
.sd-hero-text p {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 20px;
}
/* Detail actions buttons */
.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}
.btn-detail {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  font-size: 14px;
  font-weight: 700;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  font-family: var(--font-body);
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}
.btn-detail:hover {
  transform: translateY(-2px);
}
.btn-detail-wa {
  background: var(--green);
  color: #fff;
}
.btn-detail-wa:hover {
  background: var(--green-dark);
  box-shadow: 0 4px 14px rgba(74,158,92,0.4);
}
.btn-detail-quote {
  background: transparent;
  color: var(--green);
  border: 2px solid var(--green);
}
.btn-detail-quote:hover {
  background: var(--green);
  color: #fff;
  box-shadow: 0 4px 14px rgba(74,158,92,0.3);
}
.btn-detail i {
  font-size: 18px;
}
.sd-hero-text .sd-hero-meta {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--text-muted);
}
.sd-hero-text .sd-hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.sd-hero-img {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}
.sd-hero-img {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}
.sd-hero-img img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}
.sd-hero-img:hover img {
  transform: scale(1.06);
}

@media (max-width: 768px) {
  .news-layout { grid-template-columns: 1fr; }
  .news-list-img { width: 120px; height: 100px; }
  .news-item { flex-direction: column; }
  .news-list-img { width: 100%; height: 180px; }
  .sd-hero { padding: 40px 0; }
  .sd-hero-inner { grid-template-columns: 1fr; gap: 28px; }
  .sd-hero-text h1 { font-size: 24px; }
  .sd-hero-img img { height: 240px; }
  .detail-actions { flex-direction: column; }
  .btn-detail { width: 100%; justify-content: center; padding: 12px 20px; }
}

/* Section title with bottom line */
.section-title-line {
  font-family: var(--font-display);
  font-size: 24px;
  text-align: left;
  color: var(--text);
  margin-bottom: 24px;
  padding-bottom: 12px;
  /*display: inline-block;*/
  position: relative;
}
.section-title-line::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(to right, var(--green) 20px, transparent 100%);
}

/* ===== Guide Text ===== */
.sd-guide {
  padding: 48px 0 0;
  background: #fff;
}
.sd-guide-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  gap: 24px;
}
.sd-guide-item {
  text-align: center;
  padding: 28px 20px;
  background: var(--green-pale);
  border-radius: 10px;
  transition: box-shadow 0.25s, transform 0.25s;
}
.sd-guide-item:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  transform: translateY(-3px);
}
.sd-guide-item p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.7;
  margin: 0;
}
@media (max-width: 768px) {
  .sd-guide { padding: 32px 0 0; }
  .sd-guide-inner { grid-template-columns: 1fr; gap: 14px; padding: 0 10px 0 10px;}
  .sd-guide-item { padding: 20px 16px; }
}

.news-detail-page { padding: 60px 0; }
.detail-header { text-align: center; margin-bottom: 40px; }
.detail-header h1 { font-family: var(--font-display); font-size: 38px; margin-bottom: 16px; }
.detail-meta { color: var(--text-muted); font-size: 13px; display: flex; justify-content: center; gap: 20px; }
.detail-featured-img { border-radius: var(--radius); overflow: hidden; margin-bottom: 30px; }
.detail-featured-img img { width: 100%; max-height: 450px; object-fit: cover; }
.detail-content { /*max-width: 800px;*/ margin: 0 auto; font-size: 16px; line-height: 1.8; color: var(--text-light); }
.detail-content h2 { font-family: var(--font-display); margin: 30px 0 15px; color: var(--text); }
.detail-content p { margin-bottom: 20px; }
.share-links { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--border); display: flex; gap: 16px; }
.related-news { margin-top: 60px; }
.related-news h3 { font-size: 24px; margin-bottom: 24px; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
/* =====================
   ARTICLE MAIN
   ===================== */
.article-main {
  background: #fff;
  border-radius: var(--radius);
  padding: 36px 40px 32px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.article-title {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.35;
  margin-bottom: 14px;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 22px;
}
.meta-date,
.meta-author {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--green);
  font-weight: 500;
}
.meta-date svg,
.meta-author svg { flex-shrink: 0; stroke: var(--green); }

/* =====================
   ARTICLE TAGS
   ===================== */
.article-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 24px 0 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.tags-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  margin-right: 4px;
}
.tag-link {
  display: inline-block;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 500;
  color: var(--green);
  background: rgba(74,158,92,0.08);
  border: 1px solid rgba(74,158,92,0.2);
  border-radius: 20px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.tag-link:hover {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}

/* =====================
   SIDEBAR
   ===================== */
.news-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: sticky;
  top: 80px;
}

/* Widget box */
.sidebar-widget {
  background: #fff;
  border-radius: var(--radius);
  padding: 22px 20px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.widget-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--green-light);
}
.widget-title svg { stroke: var(--green); flex-shrink: 0; }

/* Category list */
.cat-widget-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.cat-widget-list li a {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: var(--text-light);
  padding: 7px 6px;
  border-radius: 4px;
  transition: color 0.2s, background 0.2s, padding-left 0.2s;
}
.cat-widget-list li a:hover {
  color: var(--green);
  background: var(--green-pale);
  padding-left: 12px;
}
.cat-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
  display: inline-block;
}

/* Recommended Products */
.rec-product-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 18px;
}
.rec-product-item {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  padding: 4px;
  border-radius: 6px;
  transition: background 0.2s;
  text-decoration: none;
}
.rec-product-item:hover { background: var(--green-pale); }

.rp-img {
  width: 56px; height: 56px;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid var(--border);
}
.rp-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s;
}
.rec-product-item:hover .rp-img img { transform: scale(1.08); }

.rp-name {
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  line-height: 1.4;
  transition: color 0.2s;
}
.rec-product-item:hover .rp-name { color: var(--green); }
/* PAGINATION */
.news-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}
.pg-btn {
  width: 38px; height: 38px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-body);
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
}
.pg-btn:hover { border-color: var(--green); color: var(--green); transform: translateY(-1px); }
.pg-btn.active { background: var(--green); color: #fff; border-color: var(--green); }
.pg-next { font-size: 20px; }
/* View All Link */
.view-all-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--green);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: gap 0.2s;
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
}
.view-all-link:hover {
  gap: 10px;
  border-bottom-color: var(--green);
}
@media (max-width: 768px) { .related-grid { grid-template-columns: 1fr; } .detail-header h1 { font-size: 28px; } .article-body{font-size: 16px;}.news-detail-page { padding: 0; }.related-news {margin: 20px 0;}}
@media (max-width: 480px) {
  .news-list-page { padding: 32px 0; }
  .blogs-title { font-size: 22px; text-align: center;}
  .blogs-banner { height: 140px; }
  .news-list-content h3 { font-size: 15px; }
  .news-excerpt { font-size: 13px; }
  .detail-header h1 { font-size: 22px; }
  .detail-featured-img img { max-height: 200px; }
  .breadcrumb-bar{font-size: 16px;}
  .news-layout{font-size: 16px;}
  .article-body{font-size: 16px;}
  .sd-hero-text h1 { font-size: 20px; }
  .news-detail-page { padding: 0; }
  .related-news {margin: 20px 0;}
}

/* =====================
   TIMED POPUP
   ===================== */
.timed-popup-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 999;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.timed-popup-overlay.open {
  display: flex;
}
.timed-popup {
  background: #fff;
  border-radius: 12px;
  width: 100%;
  max-width: 420px;
  padding: 40px 32px 32px;
  position: relative;
  box-shadow: 0 24px 60px rgba(0,0,0,0.2);
  animation: popupFadeIn 0.3s ease;
  text-align: center;
}
@keyframes popupFadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.timed-popup-close {
  position: absolute;
  top: 14px;
  right: 18px;
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: #aaa;
  line-height: 1;
  padding: 0;
}
.timed-popup-close:hover {
  color: #333;
}
.timed-popup-icon {
  text-align: center;
  font-size: 40px;
  color: var(--green);
  margin-bottom: 12px;
}
.timed-popup h3 {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--text);
  margin-bottom: 8px;
}
.timed-popup-sub {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.6;
}
.timed-popup-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px;
  background: var(--green);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  font-family: var(--font-body);
  transition: background 0.2s, transform 0.2s;
  box-sizing: border-box;
}
.timed-popup-btn:hover {
  background: var(--green-dark);
  transform: translateY(-1px);
}
.timed-popup-ignore {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: 12.5px;
  color: var(--text-muted);
  cursor: pointer;
}
.timed-popup-ignore input {
  margin: 0;
  accent-color: var(--green);
}
@media (max-width: 480px) {
  .timed-popup { padding: 28px 20px; }
  .timed-popup h3 { font-size: 18px; }
  .timed-popup-icon { font-size: 32px; }
  .timed-popup-btn { font-size: 14px; padding: 12px; }
}
/* =====================
   FRIEND LINKS
   ===================== */
.friend-links {
  background: #f7f7f7;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.friend-links .container {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 12px;
  font-size: 13px;
}
.friend-links-label {
  color: var(--text);
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
}
.friend-links-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 16px;
}
.friend-links-list a {
  color: var(--text-light);
  text-decoration: none;
  transition: color 0.2s;
  white-space: nowrap;
}
.friend-links-list a:hover {
  color: var(--green);
}

/* =====================
   TRUSTSITE MODAL
   ===================== */
.trust-modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.55);
  z-index: 99999;
  align-items: center;
  justify-content: center;
}
.trust-modal-overlay.active {
  display: flex;
}
.trust-modal {
  position: relative;
  width: 90vw;
  max-width: 560px;
  height: 80vh;
  max-height: 600px;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
}
.trust-modal-close {
  position: absolute;
  top: 8px;
  right: 12px;
  z-index: 10;
  background: none;
  border: none;
  font-size: 28px;
  color: #333;
  cursor: pointer;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.2s;
}
.trust-modal-close:hover {
  background: rgba(0,0,0,0.08);
}
.trust-modal-iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* =====================
   MARKDOWN / RICH CONTENT RENDERING
   ===================== */
.markdown-body {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-light);
  word-wrap: break-word;
}
.markdown-body > *:first-child { margin-top: 0; }
.markdown-body > *:last-child { margin-bottom: 0; }

/* Headings */
.markdown-body h1,
.markdown-body h2,
.markdown-body h3,
.markdown-body h4,
.markdown-body h5,
.markdown-body h6 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--text);
  margin: 1.6em 0 0.6em;
  line-height: 1.35;
}
.markdown-body h1 { font-size: 26px; margin-top: 0.8em; padding-bottom: 10px; border-bottom: 1px solid var(--border); color: var(--text); }
.markdown-body h2 { font-size: 21px; margin-top: 1.6em; padding: 2px 0 2px 14px; border-left: 3px solid var(--green); color: var(--text); }
.markdown-body h3 { font-size: 18px; margin-top: 1.4em; color: var(--text); }
.markdown-body h4 { font-size: 16px; color: var(--text-light); margin-top: 1.2em; }
.markdown-body h5 { font-size: 15px; color: var(--text-muted); margin-top: 1em; }
.markdown-body h6 { font-size: 14px; color: var(--text-muted); font-weight: 400; margin-top: 0.8em; }

/* Paragraphs */
.markdown-body p {
  margin: 0 0 1em;
  line-height: 1.8;
}

/* Bold & Italic */
.markdown-body strong { font-weight: 700; color: var(--text); }
.markdown-body em { font-style: italic; }

/* Links */
.markdown-body a {
  color: var(--green);
  text-decoration: none;
  transition: color 0.2s, border-color 0.2s;
  border-bottom: 1px solid transparent;
}
.markdown-body a:hover {
  color: var(--green-dark);
  border-bottom-color: var(--green-dark);
}

/* Unordered & Ordered Lists */
.markdown-body ul,
.markdown-body ol {
  margin: 0 0 1em;
  padding-left: 1.8em;
}
.markdown-body ul { list-style: disc; }
.markdown-body ul ul { list-style: circle; }
.markdown-body ul ul ul { list-style: square; }
.markdown-body ol { list-style: decimal; }
.markdown-body ol ol { list-style: lower-alpha; }
.markdown-body ol ol ol { list-style: lower-roman; }
.markdown-body li {
  margin: 0.35em 0;
  line-height: 1.7;
}
.markdown-body li > p {
  margin: 0.3em 0;
}

/* Task Lists (Checkbox) */
.markdown-body ul.task-list {
  list-style: none;
  padding-left: 0;
}
.markdown-body .task-list-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0.4em 0;
}
.markdown-body .task-list-item input[type="checkbox"] {
  margin-top: 0.35em;
  accent-color: var(--green);
  flex-shrink: 0;
  width: 15px;
  height: 15px;
}

/* Blockquotes */
.markdown-body blockquote {
  margin: 1.2em 0;
  padding: 12px 20px;
  border-left: 4px solid var(--green);
  background: var(--green-pale);
  border-radius: 0 8px 8px 0;
  color: var(--text);
}
.markdown-body blockquote p:last-child { margin-bottom: 0; }
.markdown-body blockquote blockquote {
  margin: 0.6em 0;
  background: #fff;
  border-left-color: var(--green-light);
}
.markdown-body blockquote blockquote blockquote {
  border-left-color: #ddd;
}

/* Inline Code */
.markdown-body code {
  font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
  font-size: 0.88em;
  padding: 2px 6px;
  background: #f5f5f5;
  border: 1px solid #e8e8e8;
  border-radius: 4px;
  color: #d63384;
}

/* Code Blocks */
.markdown-body pre {
  margin: 1.2em 0;
  padding: 16px 20px;
  background: #1e1e1e;
  border-radius: 8px;
  overflow-x: auto;
  line-height: 1.55;
  font-size: 13.5px;
}
.markdown-body pre code {
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  color: #e0e0e0;
  font-size: inherit;
  line-height: inherit;
  white-space: pre;
}

/* Tables */
.markdown-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.2em 0;
  font-size: 14px;
  overflow: hidden;
  border-radius: 8px;
}
.markdown-body table thead {
  background: var(--green);
  color: #fff;
}
.markdown-body table th {
  font-weight: 700;
  text-align: center;
  padding: 10px 14px;
  white-space: nowrap;
  border: 1px solid rgba(255,255,255,0.15);
}
.markdown-body table td {
  padding: 9px 14px;
  border: 1px solid var(--border);
  color: var(--text-light);
  text-align: center;
}
.markdown-body table tbody tr {
  transition: background 0.15s;
  text-align: center;
}
.markdown-body table tbody tr:nth-child(even) {
  background: var(--green-pale);
}
.markdown-body table tbody tr:hover {
  background: var(--green-light);
}

.markdown-body img[align="left"] { margin-right: 1em; }
.markdown-body img[align="right"] { margin-left: 1em; }

/* Image captions via <em> as last child in <p> with img */
.markdown-body p:has(> img:only-child) {
  text-align: center;
}

/* Horizontal Rules */
.markdown-body hr {
  margin: 1.8em 0;
  border: none;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border), transparent);
}

/* Inline media elements */
.markdown-body iframe,
.markdown-body video {
  max-width: 100%;
  display: block;
  margin: 1.2em auto;
  border-radius: 8px;
}

/* Sub/Sup */
.markdown-body sub,
.markdown-body sup {
  font-size: 0.75em;
}

/* Definition Lists (rare but nice) */
.markdown-body dl {
  margin: 1em 0;
}
.markdown-body dt {
  font-weight: 700;
  color: var(--text);
  margin-top: 0.6em;
}
.markdown-body dd {
  margin-left: 1.5em;
  color: var(--text-light);
}

/* Responsive */
@media (max-width: 768px) {
  .markdown-body { font-size: 14px; }
  .markdown-body h1 { font-size: 22px; }
  .markdown-body h2 { font-size: 19px; }
  .markdown-body h3 { font-size: 16px; }
  .markdown-body pre { padding: 12px 14px; font-size: 12.5px; }
  .markdown-body table { font-size: 13px; }
  .markdown-body table th,
  .markdown-body table td { padding: 7px 10px; }
  .markdown-body blockquote { padding: 10px 14px; }
}
