/* ============================================================
   全站统一样式 — DJI 风格科技产品官网
   设计语言：极简 / 满幅大图 / 强留白 / 科技克制感
   配色：浅色为主 #ffffff / #f5f5f7，深色 #1d1d1f，强调蓝 #0071e3
   ============================================================ */

/* ---------- 基础与重置 ---------- */
:root {
  --color-bg: #ffffff;
  --color-bg-soft: #f5f5f7;
  --color-bg-dark: #1d1d1f;
  --color-text: #1d1d1f;
  --color-text-secondary: #6e6e73;
  --color-accent: #0071e3;
  --color-border: #e8e8ed;
  --font-sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --max-width: 1200px;
  --pad-desktop: 80px;
  --pad-mobile: 48px;
  --nav-height: 64px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  /* 关键：clip 根滚动容器，拦截移动端抽屉菜单（离屏 fixed）造成的横向滚动白边。
     body 的 overflow-x 管不住 fixed 离屏元素，必须由 html（ICB）来裁。 */
  overflow-x: hidden;
}

body {
  font-family: var(--font-sans);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  /* 兜底：拦截移动端横向 overscroll 橡皮筋；
     真正的横向溢出由 html 的 overflow-x:hidden 收敛（body 管不住离屏 fixed 抽屉） */
  overflow-x: hidden;
  overscroll-behavior-x: none;
}

/* 关于页各板块锚点：点击页脚「关于」链接跳转时，避开 fixed 顶栏遮挡 */
#about-intro, #about-values, #about-team {
  scroll-margin-top: calc(var(--nav-height) + 16px);
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: var(--pad-desktop) 0;
}

.section--soft {
  background: var(--color-bg-soft);
}

.section--white {
  background: #fff;
}

.section--dark {
  background: var(--color-bg-dark);
  color: #f5f5f7;
}

/* ---------- 排版 ---------- */
.eyebrow {
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-secondary);
  margin-bottom: 16px;
  font-weight: 500;
}

.section--dark .eyebrow {
  color: #a1a1a6;
}

.section-title {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.section-lead {
  font-size: 17px;
  color: var(--color-text-secondary);
  max-width: 640px;
  margin-bottom: 48px;
}

.section--dark .section-lead {
  color: #a1a1a6;
}

/* ---------- 顶部导航 ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 1000;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: saturate(180%) blur(8px);
  -webkit-backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid transparent;
  transition: background var(--transition), border-color var(--transition);
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.82);
  border-bottom-color: var(--color-border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
}

.nav__logo {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
  /* 移动端空间紧张：允许收缩并按宽度截断，保证右侧「中文」与汉堡按钮不被挤没 */
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* 后台上传了 Logo 时显示图片：
   高度锁在顶栏高度内、宽度自适应，透明背景 PNG 不会有裁切问题。
   注意 .nav__logo 上面有 overflow:hidden，所以图片必须先限制自身高度。 */
.nav__logo-img {
  display: block;
  max-height: 34px;
  width: auto;
  object-fit: contain;
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav__link {
  font-size: 14px;
  color: var(--color-text);
  position: relative;
  padding: 6px 0;
  transition: color var(--transition);
}

.nav__link:hover {
  color: var(--color-accent);
}

.nav__link.is-active {
  color: var(--color-accent);
}

.nav__link.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--color-accent);
}

/* 语言切换：英文公司名很长时会把这一格挤扁导致「中文」折成两行，
   所以必须 nowrap + 禁止收缩，并给它一点左间距与 logo 拉开距离。 */
.nav__lang {
  margin-left: 20px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-secondary);
  white-space: nowrap;
  flex-shrink: 0;
  transition: color var(--transition);
}

.nav__lang:hover {
  color: var(--color-accent);
}

/* 汉堡按钮 */
.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav__toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--color-text);
  transition: transform var(--transition), opacity var(--transition);
}

.nav__toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav__toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav__toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* 移动端抽屉 */
.drawer-mask {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition);
}

.drawer-mask.is-open {
  opacity: 1;
  visibility: visible;
}

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 300px;
  max-width: 82vw;
  background: var(--color-bg);
  z-index: 1001;
  padding: 80px 32px 40px;
  transform: translateX(100%);
  transition: transform var(--transition);
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: -20px 0 40px rgba(0, 0, 0, 0.12);
}

.drawer.is-open {
  transform: translateX(0);
}

.drawer__link {
  font-size: 18px;
  padding: 12px 0;
  border-bottom: 1px solid var(--color-border);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  height: 100dvh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: var(--color-bg-dark);
  color: #f5f5f7;
}

.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
}

.hero__content {
  position: relative;
  z-index: 2;
  padding: 24px;
  max-width: 800px;
}

.hero__title {
  font-size: 60px;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.hero__desc {
  font-size: 20px;
  color: #d2d2d7;
  margin-bottom: 36px;
}

/* ---------- Hero 轮播（多张大图自动切换 + 控制点） ---------- */
.hero__slides {
  position: absolute;
  inset: 0;
}
.hero__slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}
.hero__slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

/* 切换效果：左右滑动（默认效果为淡入淡出，见上方 opacity 过渡） */
.hero[data-effect="slide"] .hero__slide {
  opacity: 1;
  visibility: visible;
  transform: translateX(100%);
  transition: transform 0.8s ease;
}
.hero[data-effect="slide"] .hero__slide.is-prev {
  transform: translateX(-100%);
}
.hero[data-effect="slide"] .hero__slide.is-active {
  transform: translateX(0);
}

/* 轮播控制点 */
.hero__dots {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 10px;
}
.hero__dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}
.hero__dot:hover {
  background: rgba(255, 255, 255, 0.75);
}
.hero__dot.is-active {
  background: #fff;
  transform: scale(1.3);
}
.hero__dot:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

/* 尊重系统「减少动态效果」偏好：关闭轮播动画，直接切换 */
@media (prefers-reduced-motion: reduce) {
  .hero__slide,
  .hero[data-effect="slide"] .hero__slide {
    transition: none;
  }
}
@media (max-width: 767px) {
  .hero__dots { bottom: 18px; gap: 8px; }
  .hero__dot { width: 8px; height: 8px; }
}

/* 按钮 */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 980px;
  font-size: 15px;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), transform var(--transition);
}

.btn--primary {
  background: var(--color-accent);
  color: #fff;
}

.btn--primary:hover {
  background: #0077ed;
  transform: scale(1.03);
}

.btn--ghost {
  background: transparent;
  color: var(--color-accent);
  border: 1px solid var(--color-accent);
}

.btn--ghost:hover {
  background: rgba(0, 113, 227, 0.08);
}

.btn--light {
  background: #fff;
  color: var(--color-text);
}

.btn--light:hover {
  transform: scale(1.03);
}

/* ---------- 产品网格 ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.product-card {
  background: var(--color-bg-soft);
  border-radius: 18px;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  cursor: pointer;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.product-card__media {
  aspect-ratio: 1 / 1;
  width: 100%;
  overflow: hidden;
}

.product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-card__media img {
  transform: scale(1.04);
}

.product-card__body {
  padding: 22px 22px 26px;
}

.product-card__name {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

.product-card__tagline {
  font-size: 14px;
  color: var(--color-text-secondary);
}

/* ---------- 技术亮点三栏 ---------- */
.feature-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.feature-item {
  text-align: center;
  padding: 20px 12px;
}

.feature-item__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  color: var(--color-accent);
}

.feature-item h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
}

.feature-item p {
  font-size: 15px;
  color: var(--color-text-secondary);
}

/* ---------- 大图区 ---------- */
.banner-section {
  position: relative;
  /* 高度按上传图片的实际比例自适应（--cta-ratio 由 PHP 读图宽高注入）；
     读不到比例时回退 16/9。同时用 min/max 夹住，避免极端比例下板块失控。 */
  aspect-ratio: var(--cta-ratio, 16 / 9);
  min-height: 320px;
  max-height: 86vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.banner-section img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.banner-section__content {
  position: relative;
  z-index: 2;
  color: #f5f5f7;
  max-width: 560px;
}

.banner-section__content h2 {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
}

.banner-section__content p {
  font-size: 17px;
  color: #d2d2d7;
  margin-bottom: 28px;
}

/* ---------- 快捷入口 ---------- */
.quick-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.quick-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 32px;
  background: var(--color-bg-soft);
  border-radius: 16px;
  transition: transform var(--transition), box-shadow var(--transition);
}

.quick-link:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

.quick-link h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 6px;
}

.quick-link p {
  font-size: 14px;
  color: var(--color-text-secondary);
}

.quick-link__arrow {
  color: var(--color-accent);
  font-size: 24px;
}

/* ---------- 页脚 ---------- */
.site-footer {
  background: var(--color-bg-soft);
  border-top: 1px solid var(--color-border);
  padding: 64px 0 40px;
}

.footer-grid {
  display: grid;
  /* 5 栏：产品 / 关于 / 新闻 / 案例 / 联系，与顶部导航顺序一致 */
  grid-template-columns: repeat(5, 1fr);
  gap: 32px;
  margin-bottom: 48px;
}

.footer-col h4 {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  font-size: 14px;
  color: var(--color-text-secondary);
  padding: 6px 0;
  transition: color var(--transition);
}

.footer-col a:hover {
  color: var(--color-accent);
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-bottom: 32px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--color-bg);
  color: var(--color-text-secondary);
  transition: color var(--transition), background var(--transition);
}

.footer-social a:hover {
  color: #fff;
  background: var(--color-accent);
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
  font-size: 13px;
  color: var(--color-text-secondary);
}

/* ---------- 页面通用头部（内页 hero） ---------- */
.page-hero {
  padding: calc(var(--nav-height) + var(--pad-desktop)) 0 var(--pad-desktop);
  background: var(--color-bg-soft);
  text-align: center;
}

.page-hero h1 {
  font-size: 48px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.page-hero p {
  font-size: 17px;
  color: var(--color-text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* 页面顶部配了背景图时：大图 + 文字叠加（product/news/cases/about/contact 通用） */
.page-hero--bg {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 46vh;
  padding: calc(var(--nav-height) + 64px) 0 72px;
  background: var(--hero-img) center / cover no-repeat;
  text-align: left;
  isolation: isolate;
}

/* 压暗层：保证白色文字在浅色图片上也读得清 */
.page-hero--bg::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, .62) 0%, rgba(0, 0, 0, .42) 55%, rgba(0, 0, 0, .28) 100%);
}

.page-hero--bg .container {
  position: relative;
  z-index: 1;
}

.page-hero--bg h1,
.page-hero--bg .eyebrow,
.page-hero--bg p {
  color: #fff;
}

.page-hero--bg .eyebrow {
  color: rgba(255, 255, 255, .78);
}

.page-hero--bg p {
  margin-left: 0;
  color: rgba(255, 255, 255, .88);
}

/* ---------- 产品分类标签 ---------- */
.filter-bar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 48px;
}

.filter-chip {
  padding: 10px 22px;
  border-radius: 980px;
  border: 1px solid var(--color-border);
  background: var(--color-bg);
  font-size: 14px;
  cursor: pointer;
  transition: all var(--transition);
}

.filter-chip:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.filter-chip.is-active {
  background: var(--color-text);
  color: #fff;
  border-color: var(--color-text);
}

/* ---------- 产品详情 ---------- */
.product-detail {
  padding: calc(var(--nav-height) + 40px) 0 var(--pad-desktop);
}

.pd-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: start;
  margin-bottom: 80px;
}

/* 首页「关于」区块：图文垂直居中，图片列略宽，避免文字下方大片留白 */
.pd-grid--about {
  grid-template-columns: 1fr 1.1fr;
  align-items: center;
  margin-bottom: 0;
}

/* 「了解我们」按钮下移一点，别紧贴上方正文 */
.home-about__btn {
  margin-top: 28px;
}

.gallery {
  position: relative;
}

/* 产品详情：图集下移一点，让大图上边缘与右侧产品名称（h1）的文字上边缘视觉对齐。
   h1 是 36px 字号，字形上方有行距留白，所以图集要相应下沉才能"看起来"齐平。 */
.pd-grid > .gallery {
  margin-top: 14px;
}

.gallery__main {
  border-radius: 18px;
  overflow: hidden;
  background: var(--color-bg-soft);
  aspect-ratio: 4 / 3;
  /* 左右切换按钮的垂直居中基准：必须是图片容器本身，
     否则按钮会以「图片+缩略图」整体为基准，看起来偏下 */
  position: relative;
}

.gallery__main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery__thumbs {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.gallery__thumb {
  width: 80px;
  height: 80px;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  opacity: 0.6;
  border: 2px solid transparent;
  transition: opacity var(--transition), border-color var(--transition);
}

.gallery__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery__thumb.is-active {
  opacity: 1;
  border-color: var(--color-accent);
}

.gallery__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  /* 50% 透明：默认半透，鼠标悬停时才完全实心，避免遮挡图片 */
  background: #fff;
  opacity: .5;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.22);
  color: #1a1a1a;
  border: none;
  cursor: pointer;
  font-size: 20px;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease;
}

.gallery__arrow:hover {
  transform: translateY(-50%) scale(1.06);
  opacity: 1;
  box-shadow: 0 3px 14px rgba(0, 0, 0, 0.28);
}

.gallery__arrow--prev {
  left: 16px;
}

.gallery__arrow--next {
  right: 16px;
}

.pd-info h1 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.pd-info__tagline {
  font-size: 18px;
  color: var(--color-text-secondary);
  margin-bottom: 28px;
}

.pd-params {
  width: 100%;
  border-collapse: collapse;
  margin: 28px 0;
}

.pd-params th,
.pd-params td {
  text-align: left;
  padding: 14px 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 15px;
}

.pd-params th {
  font-weight: 500;
  color: var(--color-text-secondary);
  width: 40%;
}

.pd-params td {
  font-weight: 600;
}

/* 特性图文交替 */
.feature-blocks {
  margin-top: 48px;
}

.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  padding: 40px 0;
}

.feature-block:nth-child(even) .feature-block__media {
  order: 2;
}

.feature-block__media {
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

.feature-block__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-block__text h3 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 14px;
}

.feature-block__text p {
  font-size: 16px;
  color: var(--color-text-secondary);
}

/* ---------- 关于页：价值观 / 时间线 ---------- */
.timeline {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  padding-left: 32px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--color-border);
}

.timeline__item {
  position: relative;
  padding: 0 0 48px 32px;
}

.timeline__item::before {
  content: "";
  position: absolute;
  left: -29px;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--color-accent);
  border: 3px solid #fff;
}

.timeline__year {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 6px;
}

.timeline__title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 6px;
}

.timeline__desc {
  font-size: 15px;
  color: var(--color-text-secondary);
}

/* ---------- 新闻 ---------- */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.news-card {
  background: var(--color-bg-soft);
  border-radius: 18px;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}

.news-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.1);
}

.news-card__media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.news-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-card__body {
  padding: 22px;
}

.news-card__date {
  font-size: 13px;
  color: var(--color-text-secondary);
  margin-bottom: 8px;
}

.news-card__title {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 8px;
}

.news-card__excerpt {
  font-size: 14px;
  color: var(--color-text-secondary);
}

/* 新闻详情文章排版 */
.article {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px;
}

.article__title {
  font-size: 40px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.article__meta {
  font-size: 14px;
  color: var(--color-text-secondary);
  margin-bottom: 40px;
}

.article__body p {
  font-size: 17px;
  line-height: 1.8;
  margin-bottom: 24px;
}

.article__body h2 {
  font-size: 26px;
  font-weight: 700;
  margin: 40px 0 16px;
}

.article__body ul {
  margin: 0 0 24px 0;
  padding-left: 24px;
}

.article__body ul li {
  font-size: 17px;
  line-height: 1.8;
  list-style: disc;
  margin-bottom: 8px;
}

.article__body blockquote {
  border-left: 4px solid var(--color-accent);
  padding: 16px 24px;
  margin: 32px 0;
  background: var(--color-bg-soft);
  font-style: italic;
  color: var(--color-text-secondary);
}

.article__body img {
  border-radius: 14px;
  margin: 32px 0;
}

/* ---------- FAQ ---------- */
.faq-search {
  max-width: 560px;
  margin: 0 auto 48px;
  position: relative;
}

.faq-search input {
  width: 100%;
  padding: 16px 20px 16px 48px;
  border-radius: 14px;
  border: 1px solid var(--color-border);
  background: var(--color-bg-soft);
  font-size: 16px;
  font-family: inherit;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.faq-search input:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.12);
}

.faq-search__icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-text-secondary);
  width: 20px;
  height: 20px;
}

.faq-groups {
  max-width: 760px;
  margin: 0 auto;
}

.faq-group__title {
  font-size: 20px;
  font-weight: 600;
  margin: 40px 0 16px;
}

.faq-item {
  border-bottom: 1px solid var(--color-border);
}

.faq-item details > summary {
  padding: 20px 0;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
}

.faq-item details > summary::-webkit-details-marker {
  display: none;
}

.faq-item details > summary::after {
  content: "+";
  font-size: 22px;
  color: var(--color-text-secondary);
  transition: transform var(--transition);
}

.faq-item details[open] > summary::after {
  transform: rotate(45deg);
}

.faq-item__answer {
  padding: 0 0 20px;
  font-size: 15px;
  color: var(--color-text-secondary);
}

/* ---------- 联系我们 ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 56px;
  align-items: start;
}

.contact-info h3 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 20px;
}

.contact-info__item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 24px;
}

.contact-info__item svg {
  width: 22px;
  height: 22px;
  color: var(--color-accent);
  flex-shrink: 0;
  margin-top: 4px;
}

.contact-info__item p {
  font-size: 15px;
  color: var(--color-text-secondary);
}

/* 联系方式下方的微信 / WhatsApp 二维码 */
.contact-qr {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 8px;
  padding-top: 24px;
  border-top: 1px solid var(--color-border, rgba(0, 0, 0, .08));
}
.contact-qr__item {
  margin: 0;
  text-align: center;
}
.contact-qr__item img {
  display: block;
  width: 132px;
  height: 132px;
  object-fit: contain;
  background: #fff;
  border: 1px solid var(--color-border, rgba(0, 0, 0, .08));
  border-radius: 12px;
  padding: 6px;
}
.contact-qr__item figcaption {
  margin-top: 10px;
  font-size: 13px;
  color: var(--color-text-secondary);
}

.contact-form {
  background: var(--color-bg-soft);
  border-radius: 18px;
  padding: 40px;
  /* 蜜罐字段用 absolute 移出视口，需要一个定位父级兜住，
     否则它会相对整页定位，滚动时可能出现位置跳动。 */
  position: relative;
}

/* ---------- 蜜罐字段（反机器人） ----------
   真人看不见、也 Tab 不到；填了就说明是脚本，后台静默丢弃。
   注意：不能用 display:none —— 部分爬虫会跳过隐藏字段，
   移出视口（left:-9999px）既能骗过人眼，又能真实参与表单提交。 */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  top: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.form-field {
  margin-bottom: 22px;
}

.form-field label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 8px;
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  font-size: 15px;
  font-family: inherit;
  background: var(--color-bg);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.12);
}

.form-field .error-msg {
  color: #e0245e;
  font-size: 13px;
  margin-top: 6px;
  display: none;
}

.form-field.has-error input,
.form-field.has-error textarea {
  border-color: #e0245e;
}

.form-field.has-error .error-msg {
  display: block;
}

.form-success {
  text-align: center;
  padding: 40px 20px;
  display: none;
}

.form-success__icon {
  width: 56px;
  height: 56px;
  color: #34c759;
  margin: 0 auto 16px;
}

.form-success h3 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 8px;
}

.form-success p {
  color: var(--color-text-secondary);
}

/* ---------- 滚动渐入动画 ----------
   隐患：.reveal 默认 opacity:0，靠 JS 加 .is-visible 才显示。
   万一 JS 被拦截 / 加载失败 / 用户禁用脚本，整页内容会永久看不见，
   对 SEO 与可用性都是致命的。
   对策：默认（无 JS）直接显示；只有 html.js（脚本已就绪）时才启用动画。
   模板在 <head> 里加一行脚本给 <html> 挂 .js 类，无需额外依赖。 */
html.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

html.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- 响应式 ---------- */
@media (max-width: 1023px) {
  .product-grid,
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .feature-row {
    grid-template-columns: 1fr 1fr;
  }
  .pd-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .section {
    padding: var(--pad-mobile) 0;
  }
  .section-title {
    font-size: 28px;
  }
  .hero__title {
    font-size: 40px;
  }
  .hero__desc {
    font-size: 17px;
  }
  .nav__menu {
    display: none;
  }
  .nav__toggle {
    display: flex;
  }
  /* 移动端顶栏：logo 缩小一点，给右侧「中文」和汉堡按钮留足空间 */
  .nav__logo {
    font-size: 15px;
  }
  .nav__logo-img {
    max-height: 28px;
  }
  .nav__lang {
    /* 移动端顶栏：用 auto 把语言按钮推到最右侧，紧贴汉堡按钮，方便单手点按 */
    margin-left: auto;
    font-size: 13px;
  }

  /* 移动端筛选标签：改成一行横向滑动。
     原来用 justify-content:center + flex-wrap，换行后会排成 2+2+1 的错位锯齿，
     视觉上很乱；横向滑动保持单行、左右对齐，最清爽。 */
  .filter-bar {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin-inline: -20px;
    padding-inline: 20px;
    /* 让首个标签与左侧文字边缘对齐，末个留出滚动余量 */
  }
  .filter-bar::-webkit-scrollbar {
    display: none;
  }
  .filter-chip {
    flex-shrink: 0;
    padding: 9px 18px;
  }
  .product-grid,
  .news-grid,
  .feature-row,
  .quick-links,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .feature-block {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 32px 0;
  }
  .feature-block:nth-child(even) .feature-block__media {
    order: 0;
  }
  .banner-section {
    /* 移动端改为由内容撑高：取消 aspect-ratio 约束，避免长文案/按钮被
       max-height 压扁、被 overflow:hidden 裁掉（"展示不全"）。
       min-height 保底定高，不再设上限。 */
    aspect-ratio: auto;
    min-height: 420px;
    max-height: none;
    padding: 56px 0;
  }
  .banner-section__content h2 { font-size: 28px; margin-bottom: 12px; }
  .banner-section__content p  { font-size: 15px; margin-bottom: 22px; }
  .contact-form {
    padding: 28px 22px;
  }
  .page-hero h1 {
    font-size: 36px;
  }
  .page-hero {
    padding: calc(var(--nav-height) + 48px) 0 48px;
  }
  .page-hero--bg {
    min-height: 38vh;
    padding: calc(var(--nav-height) + 44px) 0 52px;
  }
  .page-hero--bg h1 {
    font-size: 32px;
  }
}

/* ---------- 减少动效偏好 ---------- */
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}
