/* ============================================================
   Cheers Machinery 主样式
   来源：设计稿 Index.html，已按 WordPress 调整：
   - 图片不再用 CSS 变量，全部由后台上传
   - 增加管理员工具条偏移、产品角标、翻页、询盘表单插件适配
   ============================================================ */

/* ===== 基础 ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --navy: #001d77;
  --navy-dark: #001238;
  --blue: #009dfd;
  --blue-hover: #0089e0;
  --blue-soft: #e6f5ff;
  --white: #ffffff;
  --gray-bg: #f8f9fa;
  --gray-line: #e5e7eb;
  --text: #333333;
  --text-soft: #666666;
  --font: "Segoe UI", system-ui, -apple-system, "Microsoft YaHei", Roboto, "Helvetica Neue", Arial, sans-serif;
  --container: 1400px;
  --gutter: clamp(16px, 4vw, 40px);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}
html { scroll-behavior: smooth; scroll-padding-top: 120px; }
body {
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; line-height: 1.2; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
.screen-reader-text {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* ============================================================
   ✨ 滚动进入动画
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
  will-change: opacity, transform;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .12s; }
.reveal-delay-2 { transition-delay: .24s; }
.reveal-delay-3 { transition-delay: .36s; }
.reveal-delay-4 { transition-delay: .48s; }

/* ============================================================
   📞 顶部信息条
   ============================================================ */
.top-bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 101;
  height: 40px;
  background: var(--navy-dark);
  color: rgba(255,255,255,.85);
  font-size: .8125rem;
  display: flex;
  align-items: center;
}
.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 100%;
}
.top-bar-left { display: flex; align-items: center; gap: 14px; }
.top-bar a {
  display: inline-flex; align-items: center; gap: 6px;
  transition: color .2s;
}
.top-bar a:hover { color: var(--blue); }
.top-bar .sep { width: 1px; height: 12px; background: rgba(255,255,255,.25); }
.top-bar svg { stroke: currentColor; width: 14px; height: 14px; opacity: .8; }
.top-bar-right { color: rgba(255,255,255,.9); font-weight: 500; white-space: nowrap; }

/* ============================================================
   🧭 导航
   ============================================================ */
.site-nav {
  position: fixed; top: 40px; left: 0; right: 0; z-index: 100;
  background: #ffffff;
  border-bottom: 1px solid var(--gray-line);
  transition: box-shadow .25s ease, background .25s ease;
}
.site-nav.is-scrolled {
  box-shadow: 0 2px 16px rgba(10, 22, 51, .08);
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px; height: 76px;
}
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-logo {
  height: 42px; width: auto;
  transition: transform .35s var(--ease-out);
}
.brand:hover .brand-logo { transform: scale(1.06) rotate(-2deg); }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text strong { font-size: 1.1rem; color: var(--navy); font-weight: 700; }
.brand-text em { font-style: normal; font-size: .75rem; color: var(--text-soft); }

.nav-links {
  display: flex;
  justify-content: center;
  gap: clamp(28px, 4.5vw, 64px);
  flex: 1;
}
.nav-links > a,
.nav-links .has-dropdown > a {
  position: relative;
  padding: 8px 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  transition: color .2s;
  display: inline-flex;
  align-items: center;
}
.nav-links > a::after,
.nav-links .has-dropdown > a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .28s var(--ease-out);
}
.nav-links > a:hover,
.nav-links .has-dropdown > a:hover { color: var(--blue); }
.nav-links > a:hover::after,
.nav-links .has-dropdown > a:hover::after { transform: scaleX(1); }
.nav-links > a.active,
.nav-links .has-dropdown > a.active { color: var(--navy); }
.nav-links > a.active::after,
.nav-links .has-dropdown > a.active::after {
  transform: scaleX(1);
  background: var(--blue);
}

.has-dropdown > a .arrow-icon {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-left: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  opacity: .55;
  transition: transform .25s var(--ease-out), opacity .2s;
  flex-shrink: 0;
}
.has-dropdown:hover > a .arrow-icon {
  transform: rotate(45deg) translateY(1px) translateX(1px);
  opacity: 1;
}

/* ============================================================
   🗂️ Mega Menu
   ============================================================ */
.has-dropdown { position: static; }
.mega-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: #fff;
  border-top: 1px solid var(--gray-line);
  border-bottom: 1px solid var(--gray-line);
  box-shadow: 0 24px 48px rgba(10, 22, 51, .1);
  padding: 32px 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s ease, visibility .2s ease;
  z-index: 99;
}
.mega-menu::before {
  content: "";
  position: absolute;
  top: -16px;
  left: 0;
  right: 0;
  height: 16px;
  background: transparent;
}
.has-dropdown:hover .mega-menu {
  opacity: 1;
  visibility: visible;
}
.mega-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px 40px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
}
.mega-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--gray-line);
  font-size: .9rem;
  font-weight: 500;
  color: var(--text);
  transition: color .2s, border-color .2s, padding-left .25s var(--ease-out);
}
.mega-item:hover {
  color: var(--blue);
  border-color: var(--blue-soft);
  padding-left: 6px;
}
.mega-icon {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--gray-bg);
  color: var(--text-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, color .2s, transform .3s var(--ease-out);
}
.mega-icon::after {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  transform: rotate(45deg) translateX(1px);
}
.mega-item:hover .mega-icon {
  background: var(--blue);
  color: #fff;
  transform: rotate(360deg);
}
.mega-text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ============================================================
   搜索框 & 菜单按钮
   ============================================================ */
.nav-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.menu-btn { display: none; background: none; border: 0; color: var(--navy); }
.nav-search-wrap { position: relative; }
.nav-search {
  display: flex; align-items: center; gap: 8px;
  height: 38px; width: clamp(160px, 15vw, 230px);
  padding: 0 14px;
  background: var(--white);
  border: 1px solid var(--gray-line);
  border-radius: 6px;
  transition: border-color .2s, box-shadow .2s, width .3s var(--ease-out);
}
.nav-search:hover { border-color: #c8d3e3; }
.nav-search:focus-within {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0, 157, 253, .12);
}
.nav-search svg {
  flex-shrink: 0; stroke: var(--text-soft); width: 16px; height: 16px;
  transition: stroke .2s;
}
.nav-search:focus-within svg { stroke: var(--blue); }
.nav-search input {
  flex: 1; min-width: 0; border: 0; outline: 0; background: transparent;
  font-family: inherit; font-size: .875rem; color: var(--text);
  -webkit-appearance: none; appearance: none;
}
.nav-search input::-webkit-search-cancel-button { display: none; }
.nav-search input::placeholder { color: #9aa9b9; }

/* ============================================================
   🖼️ Banner
   ============================================================ */
.banner {
  position: relative;
  width: 100%;
  height: 850px;
  margin-top: 116px;
  overflow: hidden;
  background: #0a1633;
}
.banner-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.04);
}
.banner-slide.active {
  opacity: 1;
  transform: scale(1);
  transition: opacity 1.2s ease, transform 6s ease-out;
  z-index: 1;
}
.banner-link { position: absolute; inset: 0; z-index: 2; }
.banner-dots {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 10px; z-index: 3;
}
.banner-dots .dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(255,255,255,.5);
  border: 0; padding: 0; cursor: pointer;
  transition: background .2s, transform .25s var(--ease-out), width .25s var(--ease-out);
}
.banner-dots .dot:hover { background: rgba(255,255,255,.8); transform: scale(1.2); }
.banner-dots .dot.active { background: var(--blue); width: 28px; border-radius: 5px; }
.banner-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 46px; height: 46px; border-radius: 50%;
  border: 0; background: rgba(0,0,0,.3); color: #fff;
  font-size: 18px; cursor: pointer; z-index: 3;
  display: flex; align-items: center; justify-content: center;
  transition: background .25s, transform .3s var(--ease-out);
  backdrop-filter: blur(4px);
}
.banner-arrow:hover {
  background: var(--blue);
  transform: translateY(-50%) scale(1.1);
}
.banner-arrow.prev { left: 30px; }
.banner-arrow.next { right: 100px; }

/* ============================================================
   📦 通用 Section
   ============================================================ */
.section-padding { padding: 90px 0; }
.section-title { text-align: center; margin-bottom: 54px; }
.section-title p {
  font-size: .875rem; color: var(--blue);
  text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 10px;
}
.section-title h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--navy); font-weight: 700;
  position: relative;
  display: inline-block;
}
.section-title h2::after {
  content: "";
  display: block;
  width: 48px; height: 3px;
  background: var(--blue);
  margin: 16px auto 0;
  border-radius: 3px;
  transition: width .4s var(--ease-out);
}
.section-title:hover h2::after { width: 90px; }

/* ============================================================
   🧩 Products — 1:1 白底产品图
   ============================================================ */
.products-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 24px; max-width: 1400px; margin: 0 auto;
  padding-left: var(--gutter); padding-right: var(--gutter);
}
.product-card {
  background: #fff;
  border: 1px solid var(--gray-line);
  border-radius: 6px;
  overflow: hidden;
  transition: border-color .3s, box-shadow .4s var(--ease-out), transform .4s var(--ease-out), opacity .9s var(--ease-out);
  display: flex; flex-direction: column;
}
.product-card:hover {
  border-color: var(--blue);
  box-shadow: 0 16px 40px rgba(0, 157, 253, .16);
  transform: translateY(-8px);
}
.product-img {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #ffffff;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  border-bottom: 1px solid var(--gray-line);
  transition: background-size .5s var(--ease-out), background-color .3s;
}
.product-card:hover .product-img { background-size: 88%; }

/* 产品角标：热卖 / 新品 / 促销 */
.product-badge {
  position: absolute; top: 12px; left: 12px; z-index: 1;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: .72rem; font-weight: 700; letter-spacing: .04em;
  text-transform: uppercase; line-height: 1.3;
  color: #fff; background: var(--navy);
}
.product-badge--hot-sale    { background: #e53935; }
.product-badge--new-arrival { background: var(--blue); }
.product-badge--promotion   { background: #f59e0b; }

.product-info {
  padding: 18px 20px 22px;
  text-align: left;
  flex-grow: 1;
  display: flex; flex-direction: column;
}
.product-info h3 {
  font-size: 1rem; color: var(--navy); font-weight: 600;
  margin-bottom: 10px;
  transition: color .25s;
}
.product-card:hover .product-info h3 { color: var(--blue); }
.inquire-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: auto;
  color: var(--blue); font-weight: 600; font-size: .875rem;
  transition: color .2s, gap .25s var(--ease-out);
  align-self: flex-start;
}
.inquire-btn::after {
  content: '→';
  transition: transform .25s var(--ease-out);
}
.inquire-btn:hover { color: var(--navy); }
.inquire-btn:hover::after { transform: translateX(4px); }

/* ============================================================
   👥 About
   ============================================================ */
.about-section {
  background: var(--gray-bg);
  padding: 90px 0;
}
.about-container {
  max-width: 1400px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px;
  align-items: start;
}
.about-container.no-media { grid-template-columns: 1fr; max-width: 900px; }
.company-carousel {
  position: relative; border-radius: 6px; overflow: hidden;
  background: #eef1f5;
  box-shadow: 0 4px 16px rgba(10, 22, 51, .06);
  transition: box-shadow .4s var(--ease-out), opacity .9s var(--ease-out), transform .9s var(--ease-out);
}
.company-carousel:hover { box-shadow: 0 16px 40px rgba(10, 22, 51, .12); }
.c-item { display: none; }
.c-item.active { display: block; }
.c-item img {
  width: 100%; height: auto; display: block;
  transition: transform .8s var(--ease-out);
}
.company-carousel:hover .c-item.active img { transform: scale(1.03); }
.c-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 36px; height: 36px; border-radius: 50%;
  border: 0; background: rgba(0,0,0,.35); color: #fff;
  font-size: 16px; cursor: pointer; z-index: 2;
  display: flex; align-items: center; justify-content: center;
  transition: background .25s, transform .3s var(--ease-out), opacity .25s;
  opacity: 0;
}
.company-carousel:hover .c-arrow { opacity: 1; }
.c-arrow:hover { background: var(--blue); transform: translateY(-50%) scale(1.1); }
.c-arrow.prev { left: 10px; }
.c-arrow.next { right: 10px; }
.c-dots {
  position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 8px; z-index: 2;
}
.c-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,.6); border: 0; padding: 0; cursor: pointer;
  transition: background .2s, width .25s var(--ease-out), border-radius .25s;
}
.c-dot.active { background: var(--blue); width: 22px; border-radius: 4px; }

.about-copy h2 {
  font-size: clamp(1.9rem, 3vw, 2.4rem);
  color: var(--navy); margin-bottom: 22px; font-weight: 700;
}
.about-copy .eyebrow {
  font-size: .8rem; color: var(--blue);
  text-transform: uppercase; letter-spacing: 1.6px;
  margin-bottom: 12px; font-weight: 600;
}
.about-scroll {
  max-height: 340px;
  overflow-y: auto;
  padding-right: 18px;
  scrollbar-width: thin;
  scrollbar-color: var(--blue) rgba(0, 29, 119, .1);
}
.about-scroll::-webkit-scrollbar { width: 6px; }
.about-scroll::-webkit-scrollbar-track {
  background: rgba(0, 29, 119, .08);
  border-radius: 999px;
}
.about-scroll::-webkit-scrollbar-thumb {
  background: var(--blue);
  border-radius: 999px;
  transition: background .2s;
}
.about-scroll::-webkit-scrollbar-thumb:hover { background: var(--blue-hover); }
.about-para {
  margin-bottom: 16px;
  color: var(--text-soft);
  font-size: .95rem;
  line-height: 1.75;
  transition: color .25s;
}
.about-para:hover { color: var(--text); }
.about-para:last-child { margin-bottom: 0; }

.about-copy .btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  padding: 13px 28px;
  background: var(--navy);
  color: #fff;
  font-size: .9rem; font-weight: 600;
  border: 1px solid var(--navy);
  border-radius: 4px;
  transition: background .3s, color .3s, border-color .3s, transform .3s var(--ease-out), box-shadow .3s;
  position: relative;
  overflow: hidden;
}
.about-copy .btn:hover {
  background: var(--blue);
  border-color: var(--blue);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 157, 253, .3);
}

.data-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 24px; margin-top: 64px;
  max-width: 1400px; margin-left: auto; margin-right: auto;
  padding-top: 48px;
  border-top: 1px solid var(--gray-line);
}
.data-card {
  text-align: center;
  padding: 16px;
  border-radius: 6px;
  transition: background .3s, transform .3s var(--ease-out), box-shadow .3s, opacity .9s var(--ease-out);
}
.data-card:hover {
  background: #fff;
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(10, 22, 51, .06);
}
.data-card .number {
  font-size: 2.2rem; font-weight: 700;
  color: var(--navy); margin-bottom: 6px;
  transition: color .3s, transform .3s var(--ease-out);
}
.data-card:hover .number { color: var(--blue); transform: scale(1.08); }
.data-card .label { font-size: .875rem; color: var(--text-soft); }

/* ============================================================
   🎬 Video — 全屏宽度
   ============================================================ */
.video-section { padding: 90px 0; background: var(--white); }
.video-container {
  width: 100%;
  border-radius: 0;
  overflow: hidden;
  background: #000;
  aspect-ratio: 16 / 9;
  position: relative;
}
.video-cover {
  width: 100%; height: 100%;
  background-size: cover; background-position: center;
  display: flex; align-items: center; justify-content: center;
  transition: transform .9s var(--ease-out);
}
.video-container:hover .video-cover { transform: scale(1.02); }
.play-btn {
  width: 80px; height: 80px; border-radius: 50%;
  background: var(--blue); border: 0;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background .3s, transform .3s var(--ease-out), box-shadow .4s;
  box-shadow: 0 0 0 20px rgba(0, 157, 253, .18);
  position: relative;
}
.play-btn::before {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px solid rgba(0, 157, 253, .3);
  animation: pulse 2s ease-out infinite;
}
@keyframes pulse {
  0% { transform: scale(1); opacity: .8; }
  100% { transform: scale(1.5); opacity: 0; }
}
.play-btn:hover {
  background: var(--navy);
  transform: scale(1.1);
  box-shadow: 0 0 0 30px rgba(0, 29, 119, .15);
}
.play-btn::after {
  content: ''; width: 0; height: 0;
  border-style: solid; border-width: 13px 0 13px 22px;
  border-color: transparent transparent transparent #fff;
  margin-left: 5px;
}

/* ============================================================
   📰 News — 图片 3:2 比例
   ============================================================ */
.news-container {
  max-width: 1400px; margin: 0 auto;
  padding-left: var(--gutter); padding-right: var(--gutter);
}
.news-list {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}
.news-item {
  position: relative; background: #fff;
  border: 1px solid var(--gray-line); border-radius: 8px;
  overflow: hidden; display: flex; flex-direction: column;
  transition: border-color .3s, box-shadow .4s var(--ease-out), transform .4s var(--ease-out), opacity .9s var(--ease-out);
}
.news-item:hover {
  border-color: var(--blue);
  box-shadow: 0 16px 40px rgba(0, 157, 253, .14);
  transform: translateY(-6px);
}
.news-item-content { display: flex; flex-direction: column; flex: 1; padding: 0 22px 24px; }
.news-item-content .thumb-wrap {
  width: calc(100% + 44px);
  aspect-ratio: 3 / 2;
  margin: 0 -22px 20px;
  overflow: hidden;
  flex-shrink: 0;
  position: relative;
}
.news-item-content .thumb-wrap a { display: block; width: 100%; height: 100%; }
.news-item-content .thumb-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 29, 119, 0);
  transition: background .35s;
  pointer-events: none;
}
.news-item:hover .thumb-wrap::after { background: rgba(0, 29, 119, .08); }
.news-item-content .thumb-wrap img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s var(--ease-out);
}
.news-item:hover .thumb-wrap img { transform: scale(1.06); }
.news-item-content h4 {
  font-size: 1.05rem; line-height: 1.4; color: var(--navy);
  margin-bottom: 10px; font-weight: 600;
  transition: color .25s;
}
.news-item-content:not(:has(.thumb-wrap)) { padding-top: 24px; }
.news-item:hover .news-item-content h4 { color: var(--blue); }
.news-item-content p {
  font-size: .875rem; line-height: 1.7; color: var(--text-soft);
  margin-bottom: 18px;
}
.news-date-badge {
  position: absolute; top: 14px; right: 14px; z-index: 1;
  min-width: 48px; text-align: center;
  background: #fff; padding: 8px 10px; border-radius: 6px;
  color: var(--navy); font-weight: 700; font-size: .8rem;
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
  transition: background .3s, color .3s, transform .3s var(--ease-out);
}
.news-item:hover .news-date-badge {
  background: var(--blue);
  color: #fff;
  transform: translateY(-2px) scale(1.05);
}
.news-date-badge span { font-size: 1.1rem; }
.news-date-badge small { font-size: .7rem; color: var(--text-soft); }
.news-item:hover .news-date-badge small { color: rgba(255,255,255,.85); }
.news-btn {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: auto; align-self: flex-start;
  padding: 9px 20px;
  font-size: .875rem; font-weight: 600;
  border-radius: 4px;
  border: 1px solid var(--navy);
  background: var(--navy); color: #fff;
  transition: background .3s, border-color .3s, transform .25s var(--ease-out), box-shadow .3s;
}
.news-btn:hover {
  background: var(--blue); border-color: var(--blue);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 157, 253, .3);
}
.news-btn svg { stroke: currentColor; transition: transform .25s var(--ease-out); }
.news-btn:hover svg { transform: translateX(3px); }

/* ============================================================
   📄 列表翻页（AJAX 翻页共用）
   ============================================================ */
.cheers-pagination {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px;
  margin-top: 48px;
}
.cheers-pagination .page-numbers {
  min-width: 42px; height: 42px; padding: 0 12px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--gray-line); border-radius: 4px;
  background: #fff; color: var(--text);
  font-size: .9rem; font-weight: 600;
  transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease-out);
}
.cheers-pagination a.page-numbers:hover {
  border-color: var(--blue); color: var(--blue); transform: translateY(-2px);
}
.cheers-pagination .page-numbers.current {
  background: var(--navy); border-color: var(--navy); color: #fff;
}
.cheers-pagination .page-numbers.dots { border-color: transparent; background: transparent; }
[data-ajax-list] [data-ajax-items] { transition: opacity .25s; }
[data-ajax-list].is-loading [data-ajax-items] { opacity: .45; pointer-events: none; }
.no-results { grid-column: 1 / -1; text-align: center; color: var(--text-soft); padding: 60px 0; }

/* ============================================================
   📮 联系表单
   ============================================================ */
.contact-section {
  background: var(--navy);
  color: #fff;
  padding: 90px 0;
  position: relative;
  overflow: hidden;
}
.contact-section::before {
  content: "";
  position: absolute;
  top: -50%; right: -20%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(0, 157, 253, .12) 0%, transparent 70%);
  pointer-events: none;
}
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.contact-info .eyebrow {
  font-size: .8rem; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--blue);
  margin-bottom: 12px; font-weight: 600;
}
.contact-info h2 {
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  margin-bottom: 18px; color: #fff;
  line-height: 1.25; font-weight: 700;
}
.contact-info > p {
  color: rgba(255,255,255,.72);
  font-size: .95rem; margin-bottom: 36px; line-height: 1.7;
}
.contact-info ul { display: flex; flex-direction: column; gap: 20px; }
.contact-info li {
  display: flex; flex-direction: column; gap: 2px;
  border-left: 2px solid var(--blue); padding-left: 18px;
  transition: transform .3s var(--ease-out), border-color .3s;
}
.contact-info li:hover {
  transform: translateX(6px);
  border-color: #33b1ff;
}
.contact-info li strong {
  font-size: .72rem; text-transform: uppercase;
  letter-spacing: .12em; color: rgba(255,255,255,.55); font-weight: 600;
}
.contact-info li a,
.contact-info li span { font-size: .95rem; color: #fff; transition: color .2s; }
.contact-info li a:hover { color: var(--blue); }

.contact-form { display: flex; flex-direction: column; gap: 20px; }
.contact-form form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.contact-form label {
  display: flex; flex-direction: column; gap: 8px;
  font-size: .72rem; text-transform: uppercase;
  letter-spacing: .1em; color: rgba(255,255,255,.65); font-weight: 600;
}
.contact-form input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]),
.contact-form select,
.contact-form textarea {
  font-family: inherit; font-size: .95rem;
  padding: 13px 14px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 4px;
  color: #fff; outline: none;
  transition: border-color .25s, background .25s, box-shadow .25s;
  width: 100%;
}
.contact-form select option { color: #333; }
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: rgba(255,255,255,.35); }
.contact-form input:hover,
.contact-form select:hover,
.contact-form textarea:hover { border-color: rgba(255,255,255,.35); }
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--blue);
  background: rgba(255,255,255,.08);
  box-shadow: 0 0 0 3px rgba(0, 157, 253, .15);
}
.contact-form textarea { resize: vertical; min-height: 110px; }
.submit-btn,
.contact-form input[type="submit"],
.contact-form button[type="submit"] {
  align-self: flex-start;
  padding: 14px 40px;
  background: var(--blue); color: #fff;
  border: 0; border-radius: 4px;
  font-family: inherit; font-size: .95rem; font-weight: 600;
  cursor: pointer;
  transition: background .25s, transform .25s var(--ease-out), box-shadow .3s;
  margin-top: 4px;
}
.submit-btn:hover,
.contact-form input[type="submit"]:hover,
.contact-form button[type="submit"]:hover {
  background: var(--blue-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 157, 253, .35);
}
.submit-btn:active,
.contact-form input[type="submit"]:active { transform: translateY(0); }

/* Contact Form 7 适配 */
.contact-form .wpcf7 p { margin: 0 0 20px; }
.contact-form .wpcf7 br { display: none; }
.contact-form .wpcf7-form-control-wrap { display: block; }
.contact-form .wpcf7-not-valid-tip { color: #ff8a8a; font-size: .8rem; margin-top: 6px; }
.contact-form .wpcf7-response-output {
  margin: 8px 0 0 !important; padding: 12px 16px !important;
  border: 1px solid rgba(255,255,255,.3) !important; border-radius: 4px;
  font-size: .9rem; color: #fff;
}
.contact-form .wpcf7-spinner { display: none; }

/* ============================================================
   📌 Footer
   ============================================================ */
.site-footer { background: var(--navy-dark); color: rgba(255,255,255,.8); }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1.4fr 1.2fr;
  gap: 48px; padding-top: 64px; padding-bottom: 48px;
}
.footer-logo {
  height: 48px; width: auto; margin-bottom: 16px;
  transition: transform .35s var(--ease-out), filter .35s;
}
.footer-brand:hover .footer-logo { transform: scale(1.05); filter: brightness(1.15); }
.footer-brand p { font-size: .875rem; color: rgba(255,255,255,.65); }
.footer-addr { margin-top: 10px; }
.footer-col h4 {
  font-size: .8rem; text-transform: uppercase; letter-spacing: .08em;
  color: var(--blue); margin-bottom: 18px; font-weight: 600;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
  font-size: .875rem; color: rgba(255,255,255,.75);
  display: inline-flex; align-items: center; gap: 8px;
  transition: color .2s, transform .25s var(--ease-out);
}
.footer-col a:hover { color: var(--blue); transform: translateX(4px); }
.footer-social { display: flex; gap: 12px; margin-bottom: 24px; }
.footer-social a {
  width: 38px; height: 38px; border: 1px solid rgba(255,255,255,.15);
  border-radius: 4px; display: inline-flex; align-items: center; justify-content: center;
  transition: border-color .3s, color .3s, background .3s, transform .3s var(--ease-out);
}
.footer-social a:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: rgba(0, 157, 253, .12);
  transform: translateY(-3px) rotate(-6deg);
}
.footer-social svg { width: 18px; height: 18px; }
.footer-qr { display: flex; gap: 16px; }
.qr-item { text-align: center; }
.qr-item img {
  width: 110px; height: 110px; background: #fff;
  padding: 6px; border-radius: 4px; object-fit: contain;
  transition: transform .35s var(--ease-out), box-shadow .35s;
}
.qr-item img:hover {
  transform: scale(1.06);
  box-shadow: 0 10px 26px rgba(0, 157, 253, .25);
}
.qr-item span {
  display: block; margin-top: 8px; font-size: .7rem; color: rgba(255,255,255,.6);
}
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0; }
.footer-bottom .container {
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px; flex-wrap: wrap;
}
.footer-bottom p { font-size: .75rem; color: rgba(255,255,255,.5); }
.footer-email a { color: rgba(255,255,255,.7); transition: color .2s; }
.footer-email a:hover { color: var(--blue); }

/* ============================================================
   💬 右侧悬浮按钮
   ============================================================ */
.float-buttons {
  position: fixed;
  right: 24px;
  bottom: 120px;
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.float-btn {
  width: 54px; height: 54px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; box-shadow: 0 4px 14px rgba(0, 0, 0, .18);
  transition: transform .3s var(--ease-out), box-shadow .3s, background .25s;
  position: relative;
}
.float-btn svg { width: 22px; height: 22px; stroke: currentColor; fill: none; }
.float-btn:hover {
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .25);
}
.float-btn::after {
  content: "";
  position: absolute;
  right: 66px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--navy-dark);
  color: #fff;
  font-size: .75rem;
  padding: 6px 12px;
  border-radius: 4px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s, transform .25s var(--ease-out);
}
.float-btn.whatsapp::after { content: "WhatsApp"; }
.float-btn.email::after { content: "Email"; }
.float-btn.phone::after { content: "Call"; }
.float-btn:hover::after {
  opacity: 1;
  transform: translateY(-50%) translateX(-4px);
}
.float-btn.whatsapp { background: #25d366; }
.float-btn.whatsapp:hover { background: #1ebe5b; }
.float-btn.email { background: var(--navy); }
.float-btn.email:hover { background: var(--blue); }
.float-btn.phone { background: var(--navy); }
.float-btn.phone:hover { background: var(--blue); }

/* ============================================================
   ⬆ 返回顶部
   ============================================================ */
.back-top {
  position: fixed;
  right: 24px;
  bottom: 32px;
  z-index: 91;
  width: 44px;
  height: 44px;
  background: var(--navy);
  color: #fff;
  border: 0;
  border-radius: 50%;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .18);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity .3s, transform .3s var(--ease-out), background .25s;
}
.back-top.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.back-top:hover {
  background: var(--blue);
  transform: translateY(-3px) scale(1.08);
  box-shadow: 0 10px 24px rgba(0, 157, 253, .4);
}

/* ============================================================
   📱 移动端抽屉
   ============================================================ */
.drawer {
  position: fixed; top: 0; left: 0; bottom: 0; z-index: 200;
  width: 280px; max-width: 80vw;
  background: #fff; box-shadow: 4px 0 24px rgba(0,0,0,.12);
  transform: translateX(-100%); transition: transform .35s var(--ease-out);
  padding: 24px; display: flex; flex-direction: column;
}
.drawer.open { transform: translateX(0); }
.drawer-close {
  align-self: flex-end; background: none; border: 0;
  font-size: 20px; color: var(--navy); margin-bottom: 20px;
  transition: transform .3s var(--ease-out);
}
.drawer-close:hover { transform: rotate(90deg); }
.drawer nav { display: flex; flex-direction: column; gap: 4px; }
.drawer nav a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 0; font-size: .95rem; font-weight: 600;
  color: var(--text); border-bottom: 1px solid var(--gray-line);
  transition: color .2s, padding-left .25s var(--ease-out);
}
.drawer nav a:hover { color: var(--blue); padding-left: 6px; }
.drawer nav a.active { color: var(--blue); }
.drawer-contact {
  margin-top: auto; padding-top: 24px;
  display: flex; flex-direction: column; gap: 8px;
  font-size: .85rem; color: var(--text-soft);
}
.drawer-contact a { transition: color .2s; }
.drawer-contact a:hover { color: var(--blue); }
.drawer-overlay {
  position: fixed; inset: 0;
  background: rgba(0, 18, 56, .4);
  z-index: 199;
  opacity: 0; pointer-events: none;
  transition: opacity .3s;
}
.drawer-overlay.show { opacity: 1; pointer-events: auto; }

/* ============================================================
   📱 响应式
   ============================================================ */
@media (max-width: 1200px) {
  .float-buttons { right: 16px; bottom: 100px; }
  .float-btn { width: 48px; height: 48px; }
  .float-btn svg { width: 20px; height: 20px; }
  .float-btn::after { display: none; }
  .banner { height: 680px; }
  .banner-arrow.next { right: 80px; }
  .back-top { right: 16px; }
}
@media (max-width: 1024px) {
  .nav-links { display: none; }
  .menu-btn { display: inline-flex; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .products-grid { grid-template-columns: repeat(3, 1fr); }
  .about-container { grid-template-columns: 1fr; gap: 40px; }
  .news-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .data-grid { grid-template-columns: repeat(2, 1fr); }
  .banner { height: 520px; }
  .contact-inner { grid-template-columns: 1fr; gap: 44px; }
}
@media (max-width: 768px) {
  .top-bar { display: none; }
  .site-nav { top: 0; }
  .banner { margin-top: 64px; height: 420px; }
  .section-padding { padding: 60px 0; }
  .about-section { padding: 60px 0; }
  .video-section { padding: 60px 0; }
  .contact-section { padding: 60px 0; }
  .nav-inner { height: 64px; }
  .brand-logo { height: 36px; }
  .brand-text strong { font-size: 1rem; }
  .banner-arrow { width: 36px; height: 36px; font-size: 14px; }
  .banner-arrow.prev { left: 10px; }
  .banner-arrow.next { right: 10px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; padding-top: 48px; }
  .footer-bottom .container { flex-direction: column; align-items: flex-start; }
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .data-grid { grid-template-columns: 1fr 1fr; gap: 16px; padding-top: 32px; margin-top: 48px; }
  .news-list { grid-template-columns: 1fr; gap: 20px; }
  .news-btn { width: 100%; justify-content: center; }
  .nav-search { width: 140px; padding: 0 10px; }
  .form-row { grid-template-columns: 1fr; }
  .submit-btn,
  .contact-form input[type="submit"] { width: 100%; }
  .about-scroll { max-height: 280px; }
  .float-buttons { right: 14px; bottom: 24px; gap: 10px; }
  .float-btn { width: 46px; height: 46px; }
  .back-top { right: 14px; bottom: 90px; width: 40px; height: 40px; font-size: 16px; }
}
@media (max-width: 480px) {
  .products-grid { grid-template-columns: 1fr; }
  .data-grid { grid-template-columns: 1fr; }
  .brand-text em { display: none; }
  .section-title h2 { font-size: 1.6rem; }
  .section-title { margin-bottom: 36px; }
  .nav-search { width: 120px; padding: 0 8px; }
  .nav-search input::placeholder { font-size: 12px; }
  .float-buttons { display: none; }
}

/* ============================================================
   🔧 登录后台时的管理员工具条偏移（必须放在响应式之后）
   桌面工具条高 32px，≤782px 高 46px
   ============================================================ */
.admin-bar .top-bar { top: 32px; }
.admin-bar .site-nav { top: 72px; }
.admin-bar .drawer { top: 32px; }
.admin-bar { scroll-padding-top: 152px; }
/* 工具条变高（46px）的屏幕 */
@media (max-width: 782px) {
  .admin-bar .top-bar { top: 46px; }
  .admin-bar .site-nav { top: 86px; }
  .admin-bar .drawer { top: 46px; }
}
/* 手机：顶部信息条隐藏，导航直接贴工具条 */
@media (max-width: 768px) {
  .admin-bar .site-nav { top: 46px; }
}

/* 无障碍：减少动画偏好 */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
