/* ================= Reset & Base ================= */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --primary: #174187;
  --primary-dark: #0e2e68;
  --primary-light: #2a57a8;
  --gold: #c9a364;
  --gold-light: #d8b77c;
  --text-dark: #222;
  --text-base: #444;
  --text-gray: #666;
  --text-light: #999;
  --bg-page: #fff;
  --bg-light: #f7f9fc;
  --border: #e5e9f0;
  --border-light: #eef1f6;
  --container: 1200px;
}

html { scroll-behavior: smooth; }

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--text-base);
  font-size: 14px;
  line-height: 1.7;
  background: var(--bg-page);
  -webkit-font-smoothing: antialiased;
}
ul, li { list-style: none; }
a { text-decoration: none; color: inherit; transition: all .25s ease; }
img { max-width: 100%; display: block; border: 0; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; outline: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}
.section { padding: 80px 0; position: relative; }
.text-center { text-align: center; }

/* ================= Buttons ================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 32px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all .25s ease;
  white-space: nowrap;
  letter-spacing: .5px;
}
.btn-outline-blue {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--primary);
  padding: 10px 30px;
}
.btn-outline-blue:hover { background: var(--primary); color: #fff; }

.btn-fill-blue {
  background: var(--primary);
  color: #fff;
  padding: 12px 36px;
}
.btn-fill-blue:hover { background: var(--primary-dark); }

.btn-fill-gold {
  background: var(--gold);
  color: #fff;
  padding: 12px 40px;
  font-weight: 600;
}
.btn-fill-gold:hover { background: var(--gold-light); }

/* ================= Header (初始吸顶透明，滚动渐变白底) ================= */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(255,255,255,0);
  transition: background .15s linear, box-shadow .25s ease;
}
.header-topbar {
  width: 100%;
  height: 4px;
  background: var(--primary);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .3s ease;
}
.header.has-bg .header-topbar {
  transform: scaleY(1);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 92px;
}
.logo img { height: 46px; object-fit: contain; }

/* 右侧整体（导航 + 操作区），两者挨近靠右 */
.header-right {
  display: flex;
  align-items: center;
  gap: 20px;
}
.nav-list { display: flex; gap: 32px; }
.nav-link {
  font-size: 15px;
  color: #1a2744;
  font-weight: 500;
  padding: 8px 0;
  position: relative;
}
.nav-link:hover { color: var(--primary); }
.nav-link.active {
  color: var(--primary);
  font-weight: 600;
}
.nav-link.active::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -2px;
  transform: translateX(-50%);
  width: 26px;
  height: 2px;
  background: var(--primary);
  border-radius: 1px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.header-search {
  width: 38px; height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1a2744;
  border-radius: 50%;
  transition: all .25s ease;
}
.header-search:hover {
  background: rgba(23, 65, 135, .1);
  color: var(--primary);
}
/* ================= 自定义多语言下拉：ul/li 样式（替换原生 select） ================= */
.lang-switch {
  position: relative;
  min-width: 124px;
  z-index: 20;
}

/* 触发按钮：浅灰圆角白框 + 文字 + 下拉箭头（与设计稿按钮一致） */
.lang-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 9px 14px 9px 16px;
  border: 1px solid #e2e2e2;
  border-radius: 6px;
  color: #333;
  background: #fff;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all .2s ease;
  box-sizing: border-box;
}
.lang-trigger:hover {
  border-color: #cfcfcf;
}
.lang-trigger:focus {
  outline: none;
  border-color: #c4c4c4;
}
.lang-current {
  flex: 1 1 auto;
  text-align: left;
  line-height: 1.4;
}
.lang-trigger .caret {
  color: #333;
  opacity: 1;
  flex-shrink: 0;
  transition: transform .25s ease;
}
.lang-switch.open .lang-trigger .caret {
  transform: rotate(180deg); /* 展开时 ▼ → ▲（设计稿展开态是上箭头） */
}

/* 下拉面板：ul 结构，圆角白框 + 轻微阴影 + 分隔线 */
.lang-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  min-width: 100%;
  list-style: none;
  margin: 0;
  padding: 6px 0;
  background: #fff;
  border: 1px solid #e2e2e2;
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(0,0,0,.08);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: all .22s ease;
  overflow: hidden;
}
.lang-switch.open .lang-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* 每个 li：行高 + 左右 padding，顶部一条浅分隔线（除首行） */
.lang-option {
  padding: 11px 20px;
  color: #444;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  cursor: pointer;
  transition: background .18s ease, color .18s ease;
  border-top: 1px solid #f0f0f0;
  white-space: nowrap;
}
.lang-option:first-child {
  border-top: none;
}
.lang-option:hover {
  background: #f6f8fb;
  color: var(--primary);
}
.lang-option.active {
  color: #111;
  font-weight: 600;
  background: transparent;
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.mobile-menu-btn span {
  width: 24px; height: 2px; background: #1a2744;
  transition: all .3s ease;
}
.mobile-menu-btn.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-menu-btn.active span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ================= Banner（Swiper 多图轮播） ================= */
.banner {
  position: relative;
  width: 100%;
  height: 760px;
  overflow: hidden;
}
.banner-swiper { width: 100%; height: 100%; }
.banner-swiper .swiper-wrapper { width: 100%; height: 100%; }
.banner-slide { width: 100%; height: 100%; }
.banner-slide img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.banner-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,.6);
  color: #1a2744;
  display: flex; align-items: center; justify-content: center;
  z-index: 10;
  transition: all .25s ease;
  backdrop-filter: blur(4px);
  background-image: none;
  margin: 0;
  cursor: pointer;
}
.banner-arrow:hover {
  background: var(--primary);
  color: #fff;
}
.banner-arrow.swiper-button-disabled {
  opacity: .35;
  pointer-events: none;
}
.banner-prev { left: 30px; }
.banner-next { right: 30px; }

/* 分页点：改成长横条，覆盖 Swiper 默认（用 left/right 0 + justify-content:center 强制居中） */
.banner-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 28px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  z-index: 10;
  width: 100% !important;
  padding: 0 !important;
  transform: none !important;
}
.banner-dots .swiper-pagination-bullet {
  width: 34px;
  height: 4px;
  border-radius: 2px;
  background: rgba(255,255,255,.55);
  opacity: 1;
  transition: all .3s ease;
  cursor: pointer;
}
.banner-dots .swiper-pagination-bullet:hover { background: rgba(255,255,255,.85); }
.banner-dots .swiper-pagination-bullet-active {
  background: var(--primary);
  width: 54px;
  opacity: 1;
}

/* ================= Section Header (Deco style) ================= */

/* 走进广东炜珀 / 新闻资讯 / 合作伙伴 三个区块 间距调小（比通用 section 少 ~24px） */
.section.about,
.section.news,
.section.partners {
  padding: 30px 0;
}

.section-header-deco {
  display: flex;
  gap: 18px;
  margin-bottom: 40px;
  align-items: flex-start;
}
.deco-block {
  flex-shrink: 0;
  display: inline-block;
  width: 6px;
  height: 28px;
  background: var(--primary);
  margin-top: 10px;
}
.section-title {
  font-size: 36px;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.2;
  margin: 0 0 14px;
  position: static;
  padding: 0;
}
.section-title::after { display: none; }

.section-subtitle {
  font-size: 14px;
  color: var(--text-gray);
  line-height: 1.9;
  max-width: 900px;
}

.title-line {
  display: flex;
  gap: 0;
  margin-top: 14px;
  height: 3px;
  overflow: hidden;
}
.line-blue {
  width: 36px;
  background: var(--primary);
  height: 3px;
  display: inline-block;
}
.line-gold {
  width: 18px;
  background: var(--gold);
  height: 3px;
  display: inline-block;
}

.title-line-center {
  display: flex;
  justify-content: center;
  margin-top: 16px;
  height: 3px;
  gap: 0;
}
.center-title { margin-bottom: 0; }

/* Generic centered section header (for partners) */
.section-header.text-center {
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 50px;
}
.light-title { color: #fff; margin-bottom: 10px; }
.section-header.light .section-subtitle {
  color: rgba(255,255,255,.8);
  margin: 0 auto;
}

/* ================= Hot Products ================= */
.hot-products { background: #fff; }

/* 热卖推荐区块标题整体居中 */
.hot-products .section-header-deco {
  justify-content: center;
}
.hot-products .section-header-deco > div {
  text-align: center;
}

.products-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 28px;
  flex-wrap: wrap;
  align-items: center;
  /* justify-content: center; */
  padding-left: 10px;
}
.tab-btn {
  position: relative;
  padding: 10px 22px;
  font-size: 14px;
  color: #555;
  font-weight: 500;
  transition: all .25s ease;
  border: 1px solid #e0e0e0;
  background: #fff;
  border-radius: 0;
  white-space: nowrap;
}
.tab-btn:hover { color: var(--primary); border-color: var(--primary); }
.tab-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  font-weight: 600;
}
.tab-accent { display: none; }

/* Tab 面板 & 分页面板切换 */
.tab-panels { width: 100%; }
.tab-panel { display: none; }
.tab-panel.active { display: block; }
.page-panels { width: 100%; }
.page-panel { display: none; }
.page-panel.active { display: block; animation: fadeInUp .4s ease both; }
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* 产品网格 */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px 40px;
  margin-bottom: 30px;
  padding: 0 10px;
}

/* 产品卡片：上图+两行型号+小查看按钮（设计稿样式） */
.product-card {
  background: #fff;
  text-align: center;
  transition: border-color .25s ease;
  border: 1px solid #d9d9d9;
}
.product-card:hover {
  border-color: var(--primary);
}
.product-img {
  background: #f7f8fa;
  border: none;
  border-radius: 0;
  padding: 10px;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: all .3s ease;
}
.product-card:hover .product-img {
  background: #f2f6fc;
}
.product-img img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.product-info {
  padding: 14px 4px 0;
}
.product-name {
  font-size: 16px;
  font-weight: 700;
  color: #222;
  line-height: 1.4;
  margin-bottom: 6px;
}
.product-model {
  font-size: 16px;
  font-weight: 700;
  color: #333;
  line-height: 1.4;
  margin-bottom: 4px;
}
.product-spec {
  font-size: 14px;
  color: #777;
  margin-bottom: 12px;
}
.product-detail-btn {
  display: inline-block;
  padding: 5px 14px;
  font-size: 12px;
  color: #666;
  background: #f5f5f5;
  /* border: 1px solid #d0d0d0; */
  border-radius: 2px;
  transition: all .25s ease;
  margin-bottom: 20px;
}
.product-card:hover .product-detail-btn,
.product-detail-btn:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* ================= Pagination (dots for 热卖 4 页) ================= */
.pagination.dots.page-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding-bottom: 10px;
}
.pagination.dots.page-dots .page-btn { display: none; }
.page-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #d0d5de;
  padding: 0;
  transition: all .25s ease;
  cursor: pointer;
  border: none;
}
.page-dot:hover { background: #a0a8b8; }
.page-dot.active {
  background: var(--primary);
  width: 26px;
  border-radius: 5px;
  transform: scale(1);
}

/* ================= Solutions（背景 banner_1.png + 5步流程卡片） ================= */
.solutions {
  position: relative;
  padding: 80px 0 100px;
  overflow: hidden;
}
.solutions-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.solutions-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}
.solutions-mask {
  position: absolute;
  inset: 0;
  background: rgba(30,40,56,.32);
  z-index: 1;
}
.solutions .container { position: relative; z-index: 2; }

.solutions .section-header .light-title {
  color: #fff;
  font-size: 34px;
  text-align: center;
  margin-bottom: 12px;
  letter-spacing: 1px;
}
.solutions .section-header .light-subtitle {
  color: rgba(255,255,255,.9);
  text-align: center;
  font-size: 14px;
  max-width: 720px;
  margin: 0 auto;
}

/* 5 步流程：卡片 + 箭头横排（一排不换行，卡片等高） */
.solutions-steps {
  display: flex;
  align-items: stretch;
  justify-content: center;
  margin-top: 42px;
  flex-wrap: nowrap;
  overflow-x: auto;
  padding-bottom: 8px;
}
.step-card {
  flex: 1 1 0;
  background: #fff;
  padding: 30px 24px 28px;
  text-align: center;
  box-shadow: 0 6px 22px rgba(0,0,0,.12);
  transition: all .3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
}
.step-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 32px rgba(0,0,0,.18);
}
.step-icon {
  width: 76px;
  height: 76px;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}
.step-icon svg {
  width: 64px; height: 64px;
}
.step-icon img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.step-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
  text-align: center;
  flex: 0 0 auto;
}
.step-desc {
  font-size: 12.5px;
  color: #666;
  line-height: 1.85;
  text-align: left;
  flex: 1 1 auto;        /* 让描述文字填满剩余空间，保证 5 卡高度一致 */
  margin-bottom: 0;
}
.step-arrow {
  flex: 0 0 auto;
  width: 22px;
  height: 19px;
  margin: auto 24px;     /* 与左右卡片之间预留 24px 间距，垂直居中 */
  display: flex;
  align-items: center;
  justify-content: center;
}
.step-arrow img {
  width: 22px;
  height: 19px;
  display: block;
}

/* ================= About（走进广东炜珀：居中标题 + 按钮 + 工厂图Swiper） ================= */
.about { background: #fff; }

.about-header {
  max-width: 900px;
  margin: 0 auto 40px;
  text-align: center;
}
.about-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--primary);
  text-align: center;
  margin-bottom: 18px;
}
.about-subtitle {
  font-size: 16px;
  color: #333;
  line-height: 1.9;
  text-align: center;
  margin-bottom: 24px;
}
.about-btn {
  display: inline-block;
  padding: 7px 26px;
  font-size: 13px;
  color: var(--primary);
  background: #fff;
  border: 1px solid var(--primary);
  border-radius: 2px;
  transition: all .25s ease;
}
.about-btn:hover {
  background: var(--primary);
  color: #fff;
}

/* 轮播图 */
.about-gallery {
  position: relative;
  width: 100%;
}
.about-swiper {
  width: 100%;
}
.about-slide {
  width: 100%;
}
.about-slide img {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 7;
  object-fit: cover;
}

/* 左右圆形箭头（设计稿：左深蓝 右白） */
.about-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all .25s ease;
  z-index: 5;
  padding: 0;
}
.about-prev {
  left: 24px;
  background: var(--primary);
  color: #fff;
  opacity: .9;
}
.about-prev:hover { opacity: 1; background: #0f2f66; }
.about-next {
  right: 24px;
  background: rgba(255,255,255,.9);
  color: #86909c;
}
.about-next:hover { background: #fff; color: var(--primary); }
.about-nav::after { display: none; }

/* 底部横条分页点（胶囊） */
.about-dots {
  position: absolute;
  left: 0; right: 0;
  bottom: 18px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  z-index: 5;
}
.about-dots .swiper-pagination-bullet {
  width: 8px; height: 8px;
  border-radius: 99px;
  background: rgba(255,255,255,.6);
  opacity: 1;
  transition: all .3s ease;
}
.about-dots .swiper-pagination-bullet-active {
  width: 26px;
  background: var(--primary);
}

/* ================= News（新闻资讯：4列横排产品新闻卡） ================= */
.news { background: #fff; }

.news-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 36px;
}
.news-header-left {
  text-align: left;
}
.news-title {
  font-size: 36px;
  font-weight: 700;
  color: var(--primary);
  margin: 0 0 8px 0;
  text-align: left;
}
.news-subtitle {
  font-size: 14px;
  color: #666;
  margin: 0;
}
.news-header-btn {
  display: inline-block;
  padding: 8px 22px;
  font-size: 13px;
  color: #555;
  background: #fff;
  border: 1px solid #d6d8dc;
  transition: all .25s ease;
  flex-shrink: 0;
  margin-left: 20px;
}
.news-header-btn:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* 4 列卡片网格 */
.news-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.news-card {
  background: #fff;
  transition: all .3s ease;
  position: relative;
  z-index: 1;
}
.news-card::before {
  content: '';
  position: absolute;
  inset: -8px;
  /* background: #fbf1d8; */
  z-index: -1;
  opacity: 0;
  transition: opacity .3s ease;
  pointer-events: none;
}
.news-card:hover {
  transform: translateY(-4px);
  /* box-shadow: 0 20px 38px rgba(234,203,134,.25); */
}
.news-card:hover::before {
  opacity: 1;
}

.news-card-img {
  width: 100%;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #fff;
}
.news-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
  display: block;
}
.news-card:hover .news-card-img img { transform: scale(1.05); }

.news-card-body {
  padding: 18px 10px 0 10px;
}
.news-card-date {
  font-size: 24px;
  font-weight: 700;
  color: #ccc;
  line-height: 1;
  margin-bottom: 4px;
  letter-spacing: 0.5px;
}
.news-card:hover .news-card-date,.news-card:hover .news-card-cat { color: var(--primary); }
.news-card-cat {
  font-size: 17px;
  font-weight: 700;
  color: #1f2329;
  margin: 0 0 12px 0;
}
.news-card-desc {
  font-size: 12.5px;
  color: #86909c;
  line-height: 1.85;
  margin: 0;
  /* 超过 3 行显示省略号 */
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-all;
}
.news-card-more {
  color: var(--primary);
  font-size: 12px;
  font-weight: 500;
  display: inline;
  margin-left: 2px;
  white-space: nowrap;
}
.news-card-more:hover { text-decoration: underline; }

/* ================= Partners（合作伙伴：Swiper横排5张logo卡） ================= */
.partners { background: #fff; }

.partners-header {
  text-align: center;
  margin-bottom: 36px;
}
.partners-title {
  font-size: 36px;
  font-weight: 700;
  color: var(--primary);
  margin: 0 0 8px 0;
  text-align: center;
}
.partners-subtitle {
  font-size: 14px;
  color: #666;
  margin: 0;
  text-align: center;
}

/* 舞台：左箭头 + Swiper + 右箭头 横向布局 */
.partners-stage {
  position: relative;
  display: flex;
  align-items: stretch;
  gap: 12px;
}
.partners-swiper {
  flex: 1 1 auto;
}
.partners-nav {
  flex-shrink: 0;
  width: 42px;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .25s ease;
  padding: 0;
  align-self: center;          /* 居中对齐图片高度 */
  height: 100px;               /* 与 partner-logo-box 等高，箭头垂直居中 */
  background: #e7e7e7;
  color: #86909c;
}
.partners-nav:hover {
  background: #0f2f66;
  color: #fff;
}

/* 单张合作卡片 */
.partner-slide {
  display: flex;
  flex-direction: column;
}
.partner-logo-box {
  border: 1px solid #e5e6eb;
  background: #fff;
  padding: 10px;
  min-height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .25s ease;
}
.partner-slide:hover .partner-logo-box {
  border-color: var(--primary);
  border-width: 2px;
  padding: 17px 9px;
  box-shadow: 0 10px 24px rgba(23,65,135,.12);
}
.partner-name {
  text-align: center;
  font-size: 14px;
  color: var(--primary);
  font-weight: 500;
  margin-top: 16px;
  line-height: 1.4;
  padding: 0 8px;
  /* 超过 1 行显示省略号 */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

/* —— 5 家公司 Logo 样式（内联模拟） —— */
.plogo { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; flex-direction: column; }
/* 卡迪娜 KADINA：红色 C 圆 + KADINA 文字 */
.plogo-kadina { gap: 4px; }
.plogo-kadina .kadina-txt { color: #e21918; font-weight: 800; letter-spacing: 1px; font-size: 15px; }
/* 真丽斯 GENLESE */
.plogo-genlese { gap: 4px; }
.genlese-logo-mark {
  width: 28px; height: 28px; border-radius: 50%;
  background: #32b36a; color: #fff; font-weight: 700; font-size: 16px;
  display: inline-flex; align-items: center; justify-content: center;
  margin-right: 8px;
}
.genlese-txt { font-size: 18px; color: #555; font-weight: 700; letter-spacing: 0.3px; }
.genlese-txt .gl-g { color: #32b36a; font-weight: 800; }
/* 雍加·国际 UKE 红底 */
.plogo-yongjia {
  background: #e21918;
  color: #fff;
  padding: 10px 16px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.yj-top { display: flex; align-items: baseline; gap: 6px; }
.yj-uke { font-size: 24px; font-weight: 800; letter-spacing: 1px; }
.yj-1998 { font-size: 12px; font-weight: 700; }
.yj-cn { font-size: 13px; letter-spacing: 2px; border-top: 1px solid #fff; padding-top: 4px; margin-top: 2px; }
/* 李时珍·本草纲目 */
.plogo-lishizhen { gap: 2px; }
.lsz-arch { font-size: 10px; letter-spacing: 1.5px; color: #333; font-weight: 700; text-transform: uppercase; }
.lsz-badge {
  width: 52px; height: 46px;
  background: #fff;
  border: 2px solid #17733e;
  border-radius: 3px;
  display: flex; align-items: center; justify-content: center;
}
.lsz-leaf { color: #17733e; font-size: 28px; }
.lsz-bar { background: #17733e; color: #fff; font-size: 12px; padding: 2px 8px; font-weight: 700; }
/* 康利达包装 KLD */
.plogo-kanglida { gap: 4px; flex-direction: column; }
.kld-top { color: #174187; font-weight: 800; letter-spacing: 1px; }
.kld-ii { font-size: 20px; }
.kld-kld { font-size: 24px; }
.kld-cn { color: #174187; font-size: 15px; font-weight: 700; letter-spacing: 2px; }

/* ================= CTA Section（留言板：lyb_bg.jpg 背景 + 表单） ================= */
.cta-section {
  position: relative;
  padding: 80px 0;
  overflow: hidden;
}
.cta-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.cta-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.12) 0%, rgba(0,0,0,.16) 100%);
  z-index: 1;
}
.cta-inner { position: relative; z-index: 2; }

.cta-top { max-width: 920px; margin: 0 auto 40px; }
.cta-title {
  font-size: 34px;
  font-weight: 700;
  color: #fff;
  text-align: center;
  margin-bottom: 16px;
  letter-spacing: 1px;
}
.cta-desc {
  font-size: 14px;
  color: rgba(255,255,255,.85);
  line-height: 1.9;
  text-align: center;
  margin: 0;
}

/* 表单 */
.cta-form { max-width: 100%; }
.cta-form-3col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 16px;
}
.cta-input, .cta-textarea {
  width: 100%;
  background: #fff;
  border: 1px solid transparent;
  font-size: 13px;
  color: #333;
  padding: 12px 16px;
  outline: none;
  transition: all .25s ease;
  font-family: inherit;
  line-height: 1.5;
}
.cta-input { height: 46px; }
.cta-textarea {
  resize: vertical;
  min-height: 86px;
  display: block;
}
.cta-input::placeholder, .cta-textarea::placeholder { color: #a0a4ac; }
.cta-input:focus, .cta-textarea:focus {
  border-color: rgba(23,65,135,.35);
  box-shadow: 0 0 0 3px rgba(23,65,135,.08);
}
.cta-submit-wrap {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}
.cta-submit-btn {
  min-width: 260px;
  height: 46px;
  padding: 0 40px;
  background: var(--primary);
  color: #fff;
  border: none;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: all .25s ease;
  letter-spacing: 2px;
}
.cta-submit-btn:hover {
  background: #0f2f66;
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(15,47,102,.3);
}

/* ================= Footer（深灰三栏布局 + 深黑版权条） ================= */
.footer {
  background: #3a3a3a;
  color: #e3e3e3;
  padding-top: 64px;
}
.footer-main {
  display: grid;
  grid-template-columns: 1.1fr 1.6fr 1.3fr;
  gap: 44px;
  padding-bottom: 56px;
}

/* —— 左：品牌Logo + 标语 + 社交图标 —— */
.footer-logo { margin-bottom: 20px; }
.footer-logo img {
  max-height: 86px;
  height: auto;
  width: auto;
  object-fit: contain;
  display: block;
}
.footer-slogan {
  color: rgba(255,255,255,.85);
  font-size: 14px;
  line-height: 1.6;
  margin: 0 0 26px 0;
}
.footer-socials {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.social {
  width: 30px; height: 30px;
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  transition: all .25s ease;
}
.social:hover { transform: translateY(-2px); opacity: .9; }
.social-fb { background: #4064ac; }
.social-x  { background: #4a4a4a; font-size: 14px; }
.social-in { background: #0e76a8; font-size: 13px; }
.social-ig { background: linear-gradient(45deg,#f09433,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%); font-size: 13px; }
.social-yt { background: #ff0000; font-size: 12px; }
.social-pt { background: #bd081c; font-size: 14px; }

/* —— 通用栏目标题：白色文字 + 下方白色短横线 —— */
.footer-col-title {
  font-size: 18px;
  color: #fff;
  font-weight: 700;
  margin-bottom: 24px;
  padding-bottom: 10px;
  position: relative;
  letter-spacing: 0.5px;
}
.footer-col-title::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 32px; height: 2px;
  background: #fff;
}

/* —— 中：快捷导航（3列） —— */
.footer-nav-3col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px 20px;
}
.footer-nav-col { list-style: none; padding: 0; margin: 0; }
.footer-nav-col li { padding: 5px 0; }
.footer-nav-col a {
  color: rgba(255,255,255,.82);
  font-size: 14px;
  line-height: 1.6;
  display: inline-block;
  transition: all .2s ease;
}
.footer-nav-col a:hover { color: #fff; padding-left: 2px; }
.footer-nav-col .nav-arrow {
  display: inline-block;
  color: rgba(255,255,255,.82);
  margin-right: 4px;
  font-size: 13px;
  line-height: 1;
}

/* —— 右：联系我们 —— */
.footer-contact-list { list-style: none; padding: 0; margin: 0; }
.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 9px 0;
  color: rgba(255,255,255,.88);
  font-size: 14px;
  line-height: 1.7;
}
.fci-icon {
  width: 32px; height: 32px;
  background: #2a2a2a;
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 14px;
  flex-shrink: 0;
}
.fci-icon img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  display: block;
}
.fci-text { flex: 1 1 auto; }

/* —— 底部深黑版权条 —— */
.footer-bottom {
  background: #1a1a1a;
  padding: 18px 0;
}
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12.5px;
  color: rgba(255,255,255,.6);
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { margin: 0; }
.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 14px;
}
.footer-bottom-links a {
  color: rgba(255,255,255,.6);
  font-size: 12.5px;
  transition: color .2s ease;
}
.footer-bottom-links a:hover { color: #fff; }
.footer-bottom-links .privacy-link {
  text-decoration: underline;
  text-underline-offset: 4px;
  color: rgba(255,255,255,.85);
}

/* ================= Responsive ================= */
@media (max-width: 1024px) {
  .section { padding: 60px 0; }
  .section.about,
  .section.news,
  .section.partners { padding: 30px 0; }
  .nav-list { gap: 18px; }
  .nav-link { font-size: 14px; }
  .header-actions .header-search { display: none; }
  .banner { height: 540px; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .about-title { font-size: 26px; }
  .about-subtitle { font-size: 14px; }
  .about-slide img { aspect-ratio: 16 / 9; }
  .news-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .partners-nav { height: 130px; width: 38px; }
  .cta-form-3col { grid-template-columns: 1fr 1fr; gap: 14px; }
  .cta-form-3col .cta-input:nth-child(3) { grid-column: span 2; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-main .footer-brand { grid-column: 1 / -1; }
  .solutions { padding: 60px 0; }
  .cta-section { padding: 60px 0; }
}

@media (max-width: 768px) {
  .section { padding: 48px 0; }
  .section.about,
  .section.news,
  .section.partners { padding: 20px 0; }
  .header-inner { height: 72px; }
  .logo img { height: 36px; }
  .mobile-menu-btn { display: flex; }
  /* 移动端首屏显示多语言：只隐藏搜索按钮 */
  .header-actions { display: flex; gap: 6px; }
  .header-actions .header-search { display: none; }
  .nav {
    position: fixed;
    top: 72px;
    left: 0;
    width: 100%;
    background: #fff;
    box-shadow: 0 8px 24px rgba(0,0,0,.1);
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
    z-index: 99;
  }
  .header.has-bg .nav { top: 76px; }
  .nav.active { max-height: 500px; }
  .nav-list { flex-direction: column; gap: 0; padding: 12px 0; }
  .nav-list li { border-bottom: 1px solid var(--border-light); }
  .nav-link { display: block; padding: 16px 24px; font-size: 15px; color: #2a2a2a !important; }
  .nav-link.active::after { display: none; }

  .banner { height: 420px; background: #0f2859; }
  .banner-slide { background: #0f2859; width: 100%; height: 100%; overflow: hidden; }
  .banner-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
  }

  .section-title { font-size: 24px; }
  .deco-block { height: 22px; margin-top: 7px; }
  .section-header-deco { margin-bottom: 30px; }

  .products-tabs { gap: 4px; }
  .tab-btn { padding: 10px 16px; font-size: 13px; }
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .product-img { padding: 10px; }
  .product-img img { max-height: 100%; max-width: 100%; object-fit: cover; }
  .product-info { padding: 16px; }
  .product-name { font-size: 16px; }

  /* 解决方案：移动端 5 步卡片纵向排列，占满 100% 宽度，文字自动换行 */
  .solutions-steps {
    margin-top: 28px;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: stretch;
    overflow-x: hidden;
    padding: 0 8px 8px;
    gap: 0;
  }
  .solutions-steps .step-card {
    min-width: 0;
    width: 100%;
    flex: 1 1 auto;
    padding: 28px 22px;
  }
  .solutions-steps .step-arrow {
    margin: 4px auto;
    transform: rotate(90deg); /* 右箭头 → 下箭头 */
  }

  .news-header { flex-direction: column; align-items: flex-start; gap: 16px; }
  .news-title { font-size: 28px; }
  .news-header-btn { margin-left: 0; }
  .news-grid { grid-template-columns: 1fr; gap: 16px; }

  .partners-stage { gap: 8px; }
  .partners-nav { height: 130px; width: 34px; }
  .partner-logo-box { min-height: 130px; padding: 14px 8px; }

  .cta-title { font-size: 28px; }
  .cta-form-3col { grid-template-columns: 1fr; gap: 12px; }
  .cta-form-3col .cta-input:nth-child(3) { grid-column: span 1; }

  .footer { padding-top: 48px; }
  .footer-main { grid-template-columns: 1fr; gap: 36px; padding-bottom: 40px; }
  .footer-main .footer-brand { grid-column: auto; }
  .footer-nav-3col { grid-template-columns: repeat(3, 1fr); }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .banner { height: 300px; background: #0f2859; }
  .banner-slide { background: #0f2859; width: 100%; height: 100%; overflow: hidden; }
  .banner-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
  }
  .section-title { font-size: 22px; }
  .products-grid { grid-template-columns: 1fr; }
  .products-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 2px;
  }
  .tab-btn { flex-shrink: 0; }
  .footer-nav-3col { grid-template-columns: 1fr 1fr; }
  .footer-col:nth-child(3) { grid-column: span 1; }
}

/* ===== 首页询盘提交顶部弹框 ===== */
.cta-toast {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1090;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 26px;
  border-radius: 6px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  font-size: 15px;
  color: #fff;
  animation: cta-toast-in 0.35s ease;
}
.cta-toast-success { background: #174187; }
.cta-toast-error { background: #c0392b; }
.cta-toast-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  line-height: 1;
}
.cta-toast-hide {
  opacity: 0;
  transform: translate(-50%, -12px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
@keyframes cta-toast-in {
  from { opacity: 0; transform: translate(-50%, -16px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}
.cta-submit-btn:disabled { opacity: 0.7; cursor: not-allowed; }
