/* ==========================================================
   UOMSKY独立站 - 全站共享样式
   断点：桌面 >=992px | 平板 768~991px | 手机 <768px
   容器：居中限宽，视口 <1600px 时限宽 1200px，≥1600px 时限宽 1600px；间距基数 8px
   ========================================================== */

/* ---------- 基础 ---------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: #333;
  background: #fff;
}

a {
  text-decoration: none;
  color: inherit;
}

ul,
ol {
  list-style: none;
}

img {
  display: block;
}

button,
input,
textarea {
  font-family: inherit;
  font-size: inherit;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
}

/* 视口 ≥1600px 时容器升档为 1600px，侧栏同步加宽为 300px */
@media (min-width: 1600px) {
  .container {
    max-width: 1600px;
  }

  .sidebar-col {
    width: 300px !important;
  }

  .sidebar {
    width: 300px !important;
  }
}

/* ---------- 顶部 Header（浅色底，与下方深蓝 Hero 分层） ---------- */
.site-header {
  background: #fff;
  color: #333;
}

/* 单行布局：左侧标语块 + 居中 Logo + 右侧登录 */
.header-row {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 48px;
}

.header-slogan {
  height: 48px;
  padding: 0 32px 0 16px;
  background-color: #484478;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

/* 斜边上的浅色高光 */
.header-slogan::after {
  content: "";
  position: absolute;
  top: 0;
  right: -15px;
  width: 30px;
  height: 48px;
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 100%, 14px 100%, 0 0);
  background-color: rgb(185, 181, 230);
  pointer-events: none;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.logo-img {
  height: 26px;
  width: auto;
  flex-shrink: 0;
  display: block;
}

/* 页脚迷你 Logo */
.logo-img--mini {
  height: 32px;
}

/* Header 右侧语言切换器（下拉菜单） */
.header-lang {
  position: relative; /*下拉菜单绝对定位参照*/
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  white-space: nowrap;
}

/* 触发块：当前语言国旗 + 文案 + 箭头 */
.lang-current {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 2px 4px;
  cursor: pointer;
  color: #33333c;
}

.lang-current .lang-arrow {
  transition: transform 0.2s ease;
}

.header-lang.is-open .lang-current .lang-arrow {
  transform: rotate(180deg);
}

/* 下拉菜单：默认隐藏，.is-open 时展开 */
.lang-menu {
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  min-width: 110px;
  background: #fff;
  border: 1px solid #ececf1;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(20, 20, 50, 0.12);
  z-index: 60;
  overflow: hidden;
}

.header-lang.is-open .lang-menu {
  display: block;
}

.header-lang a {
  color: #33333c;
  text-decoration: none;
  padding: 8px 14px;
  transition: color 0.2s ease, background 0.2s ease;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 6px;
}

.header-lang a:hover {
  background: #f5f7fa;
}

.header-lang a.active {
  color: #2a9dff;
  font-weight: 600;
}

/* ---------- Hero 横幅 ---------- */
.hero {
  position: relative;
  background: linear-gradient(180deg, #0a1f3d 0%, #10294d 100%);
  color: #fff;
  overflow: hidden;
}

/* 星点效果 */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1px 1px at 12% 22%, rgba(255, 255, 255, 0.9) 50%, transparent 51%),
    radial-gradient(1px 1px at 28% 60%, rgba(255, 255, 255, 0.6) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 45% 15%, rgba(255, 255, 255, 0.8) 50%, transparent 51%),
    radial-gradient(1px 1px at 62% 40%, rgba(255, 255, 255, 0.5) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 78% 12%, rgba(255, 255, 255, 0.85) 50%, transparent 51%),
    radial-gradient(1px 1px at 90% 55%, rgba(255, 255, 255, 0.6) 50%, transparent 51%),
    radial-gradient(1px 1px at 55% 78%, rgba(255, 255, 255, 0.45) 50%, transparent 51%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding-top: 40px;
  padding-bottom: 32px;
}

.hero-copy {
  flex: 1;
  min-width: 0;
}

.hero-copy h1 {
  font-size: 40px;
  line-height: 1.25;
  color: #3ab8e0;
  font-weight: 700;
  max-width: 560px;
}

.hero-sub {
  margin-top: 8px;
  font-size: 22px;
  color: #fff;
  font-weight: 600;
}

.hero-features {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(5, minmax(150px, 1fr));
  gap: 16px;
  max-width: 900px;
}

.hero-features li {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

.hero-features .hf-icon {
  width: 34px;
  height: 34px;
  color: #3ab8e0;
}

.hero-features b {
  font-size: 13px;
  font-weight: 600;
}

.hero-features span {
  font-size: 12px;
  color: #9fb4cf;
  line-height: 1.4;
}

/* 右侧无人机装饰 */
.hero-drones {
  width: 260px;
  flex-shrink: 0;
  color: #3ab8e0;
  align-self: center;
}

/* ---------- Hero 下方能力展示带 ---------- */
.hero-band {
  background: #0a1f3d;
  color: #fff;
  padding-bottom: 40px;
}

.band-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
}

.band-group h2 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.band-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 16px;
}

.band-items li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.band-thumb {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, #33415e 0%, #1d2a44 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8fa3c4;
}

.band-items figcaption,
.band-items .band-label {
  font-size: 12px;
  color: #c6d3e8;
  line-height: 1.4;
}

/* ---------- Hero 大图幻灯片 ---------- */
.hero-slider {
  position: relative;
  background: #0a1f3d;
}

/* 首页幻灯片固定600px，非首页由内容（.hero-cat 200px）决定高度 */
.home .hero-slider {
  height: 600px;
}

.hero-slides {
  position: relative;
  height: 100%; /*继承固定高度，供内部幻灯片百分比高度参照*/
}

/* 幻灯片默认淡入叠放，仅激活项占位 */
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s ease;
}

.hero-slide.is-active {
  position: relative;
  opacity: 1;
  pointer-events: auto;
  height: 100%;
}

/* 真实大图幻灯片：铺满固定高度区域，等比居中裁剪 */
.hero-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* 大图背景：在 .hero-slide 上加 has-bg 类，并用内联样式设置 background-image，
   例如：<div class="hero-slide has-bg" style="background-image:url(images/hero-1.jpg)"> */
.hero-slide.has-bg {
  background-color: #0a1f3d;
  background-size: cover;
  background-position: center;
}

.hero-slide.has-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(6, 18, 38, 0.55);
  z-index: 0;
}

.hero-slide.has-bg > * {
  position: relative;
  z-index: 1;
}

/* 示例第二张幻灯片的变体配色 */
.hero-slide--alt .hero {
  background: linear-gradient(180deg, #1a1440 0%, #251c58 100%);
}

.hero-slide--alt .hero-band {
  background: #1a1440;
}

/* 箭头与圆点：仅多张（.is-slider）时显示 */
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 6;
  width: 38px;
  height: 38px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
}

.hero-arrow:hover {
  background: rgba(255, 255, 255, 0.3);
}

.hero-arrow-prev {
  left: 12px;
}

.hero-arrow-next {
  right: 12px;
}

.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  z-index: 6;
  display: none;
  gap: 8px;
}

.hero-slider.is-slider .hero-arrow {
  display: flex;
}

.hero-slider.is-slider .hero-dots {
  display: flex;
}

.hero-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
}

.hero-dot.active {
  background: #3ab8e0;
}

/* ---------- 分类导航条 ---------- */
.cat-nav {
  background: #4a4a78;
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 50;
}

.cat-nav .container {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 48px;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  width: 36px;
  height: 36px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.nav-all {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  padding: 7px 16px;
  border-radius: 4px;
  font-size: 14px;
  white-space: nowrap;
}

.nav-all:hover {
  background: rgba(255, 255, 255, 0.2);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  flex: 1;
  min-width: 0;
}

.nav-links a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
  padding: 12px 0;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
}

.nav-links a:hover,
.nav-links a.active,
.nav-links li.current-menu-item > a {
  color: #fff;
  border-bottom-color: #3ab8e0;
}

.nav-search {
  display: flex;
  align-items: center;
  background: #ececf2;
  border-radius: 16px;
  height: 32px;
  width: 200px;
  padding: 0 4px 0 14px;
  flex-shrink: 0;
}

.nav-search input {
  flex: 1;
  min-width: 0;
  border: none;
  outline: none;
  background: transparent;
  font-size: 13px;
  color: #333;
}

.nav-search button {
  border: none;
  background: none;
  width: 28px;
  height: 28px;
  color: #666;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------- 主内容区 ---------- */
.page-main {
  background: #f2f2f5;
  padding: 16px 0 48px;
}

.layout {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

/* 详情页侧栏更宽 */
.layout-detail .sidebar {
  width: 360px !important;
}

/* 侧栏列包裹器：桌面固定 240px（≥1600px 升档为 300px），滚动到导航条位置后吸附浮动 */
.sidebar-col {
  width: 240px;
  flex-shrink: 0;
  position: sticky;
  top: 56px;
}

.sidebar-col .sidebar {
  width: 100%;
  position: static;
  flex-shrink: unset;
}

/* 侧栏：桌面固定 240px（≥1600px 升档为 300px），滚动到导航条位置后吸附浮动 */
.sidebar {
  width: 240px;
  flex-shrink: 0;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(20, 20, 50, 0.06);
  position: sticky;
  top: 56px;
}

.sidebar-title {
  background: #4a4a78;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  padding: 12px 16px;
}

.sidebar-list li a {
  display: block;
  padding: 11px 16px;
  font-size: 14px;
  color: #444;
  border-bottom: 1px solid #f0f0f4;
}

.sidebar-list li:last-child a {
  border-bottom: none;
}

.sidebar-list li a:hover,
.sidebar-list li a.active {
  color: #2a9dff;
  background: #f5faff;
}

/* 主内容面板 */
.main-panel {
  flex: 1;
  min-width: 0;
  background: #fff;
  border-radius: 8px;
  padding: 16px;
  box-shadow: 0 1px 4px rgba(20, 20, 50, 0.06);
  position: relative;
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid #e8e8ee;
  margin-bottom: 24px;
}

/* 详情页标题滚动吸附：与侧栏同一方案，吸附在吸顶导航条下方（top同侧栏的56px） */
.layout-detail .panel-head {
  position: sticky;
  top: 56px;
  z-index: 10;
  background: #fff;
  margin-left: -16px;
  margin-right: -16px;
  padding-left: 16px;
  padding-right: 16px;
}

.panel-head h2 {
  font-size: 20px;
  font-weight: 700;
  color: #222;
}

/* ---------- 产品网格与卡片 ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.product-card {
  background: #fff;
  border: 1px solid #ececf1;
  border-radius: 8px;
  /* padding: 14px; */
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.product-card:hover {
  box-shadow: 0 6px 18px rgba(30, 40, 90, 0.12);
  transform: translateY(-2px);
}

.product-card .thumb {
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, #e2e2e8 0%, #d2d2da 100%);
  border-radius: 6px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #a2a2b0;
}

.product-card h3 {
  font-size: 15px;
  line-height: 1.4;
  font-weight: 600;
  color: #222;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  padding: 0 10px;
}

.product-card .spec {
  font-size: 13px;
  color: #888;
  line-height: 1.7;
  padding: 0 10px 10px 10px;
}

/* ---------- 分页 ---------- */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 32px;
  font-size: 14px;
  color: #555;
}

.pagination .count {
  margin-right: 12px;
  color: #888;
}

.page-btn {
  min-width: 32px;
  height: 32px;
  padding: 0 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #dcdce4;
  border-radius: 4px;
  background: #fff;
  color: #444;
  cursor: pointer;
}

.page-btn:hover {
  border-color: #2a9dff;
  color: #2a9dff;
}

.page-btn.active {
  background: #2a9dff;
  border-color: #2a9dff;
  color: #fff;
}

.pagination .jump {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 12px;
}

.pagination .jump input {
  width: 48px;
  height: 32px;
  border: 1px solid #dcdce4;
  border-radius: 4px;
  text-align: center;
  outline: none;
}

/* 详情页：侧栏拆分为独立卡片 */
.sidebar-detail {
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  overflow: visible;
}

.side-card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(20, 20, 50, 0.06);
  overflow: hidden;
}

.side-card + .side-card {
  margin-top: 16px;
}

/* 详情页：商品预览模块 */
.product-preview {
  padding: 16px;
}

.preview-main {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 6px;
  overflow: hidden;
  cursor: zoom-in;
  color: #a2a2b0;
}

.preview-img {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #e2e2e8 0%, #d2d2da 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 悬停放大展示位于右侧内容区的 .zoom-viewer，此处不再原地放大 */

.preview-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid #e5e5ec;
  background: rgba(255, 255, 255, 0.9);
  color: #666;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.preview-arrow:hover {
  color: #2a9dff;
  border-color: #2a9dff;
}

.preview-arrow.prev {
  left: 8px;
}

.preview-arrow.next {
  right: 8px;
}

/* 缩略图条：数量不限，横向滚动，两侧箭头控制 */
.preview-thumbs-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
}

.thumb-arrow {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  border: 1px solid #e5e5ec;
  border-radius: 4px;
  background: #fff;
  color: #666;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.thumb-arrow:hover {
  color: #2a9dff;
  border-color: #2a9dff;
}

.preview-thumbs {
  flex: 1;
  min-width: 0;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.preview-thumbs::-webkit-scrollbar {
  display: none;
}

.preview-thumb {
  flex: 0 0 52px;
  aspect-ratio: 1 / 1;
  background: #e2e2e8;
  border-radius: 4px;
  border: 2px solid transparent;
  cursor: pointer;
}

.preview-thumb:hover {
  border-color: #b9d9f5;
}

.preview-thumb.active {
  border-color: #2a9dff;
}

/* 大图悬停细节放大浮动层：默认不占位，悬停大图时在内容区上方浮动显示（绝对定位在 .main-panel 内，不设置 left/top，按静态位置自动对齐内容区左上角） */
.zoom-viewer {
  display: none;
  position: absolute;
  width: calc(100% - 32px);
  z-index: 40;
  aspect-ratio: 2 / 1;
  background: #fff;
  border: 1px solid #e8e8ee;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(20, 20, 50, 0.18);
}

.zoom-viewer.is-active {
  display: block;
}

.zoom-img {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #e2e2e8 0%, #d2d2da 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #a2a2b0;
  transform: scale(2);
}

/* ---------- 详情页 ---------- */
.btn-download {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #2a9dff;
  color: #fff;
  font-size: 14px;
  padding: 6px 18px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
}

.btn-download:hover {
  background: #1f8ae6;
}

/* ---------- 面包屑导航条（详情页：菜单与主体之间） ---------- */
.crumb-bar {
  padding: 10px 0;
  border-bottom: 1px solid #ececf2;
}

.crumb-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.crumb-path {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #888;
  min-width: 0;
}

.crumb-path a:hover {
  color: #2a9dff;
}

.crumb-path .sep {
  color: #c8c8d4;
}

.crumb-path .current {
  color: #333;
}

/* 返回分类链接（面包屑条右侧轻量文字链） */
.btn-back {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  color: #888;
  flex-shrink: 0;
}

.btn-back:hover {
  color: #2a9dff;
}

.detail-intro {
  font-size: 14px;
  color: #555;
  line-height: 1.9;
  margin-bottom: 24px;
}

.spec-banner {
  background: linear-gradient(90deg, #2a9dff 0%, #1668c7 100%);
  color: #fff;
  border-radius: 8px;
  padding: 28px 32px;
  font-size: 20px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 32px;
}

.spec-banner span {
  font-size: 13px;
  font-weight: 400;
  opacity: 0.85;
}

.feature-section h3 {
  font-size: 18px;
  font-weight: 700;
  color: #222;
  margin-bottom: 16px;
  padding-left: 10px;
  border-left: 4px solid #2a9dff;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.feature-item {
  background: #f7f8fb;
  border-radius: 8px;
  padding: 20px;
}

.feature-item h4 {
  font-size: 15px;
  font-weight: 600;
  color: #222;
  margin-bottom: 8px;
}

.feature-item p {
  font-size: 13px;
  color: #777;
  line-height: 1.8;
}

/* 产品咨询表单 */
.inquiry {
  padding: 16px;
}

.inquiry h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 700;
  color: #222;
  margin-bottom: 16px;
}

.inquiry h3::before {
  content: "";
  width: 4px;
  height: 16px;
  background: #2a9dff;
  border-radius: 2px;
}

.inquiry .field {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 10px;
}

.inquiry label {
  flex-shrink: 0;
  width: 70px;
  font-size: 13px;
  color: #666;
  line-height: 34px;
  text-align: right;
}

.inquiry input,
.inquiry textarea {
  flex: 1;
  min-width: 0;
  border: 1px solid #dcdce4;
  border-radius: 4px;
  padding: 8px 10px;
  font-size: 13px;
  color: #333;
  outline: none;
  background: #fbfbfd;
}

.inquiry input:focus,
.inquiry textarea:focus {
  border-color: #2a9dff;
  background: #fff;
}

.inquiry textarea {
  min-height: 90px;
  resize: vertical;
}

.inquiry .btn-submit {
  width: 100%;
  background: #2a9dff;
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 10px 0;
  font-size: 15px;
  cursor: pointer;
}

.inquiry .btn-submit:hover {
  background: #1f8ae6;
}

/* ---------- 首页公司简介区块（导航条下方全宽浅灰底） ---------- */
.intro-band {
  background: #f7f7fa;
  padding: 10px 0;
}

.intro-band p {
  font-size: 14px;
  color: #555;
  line-height: 2;
  text-indent: 2em;
}

.intro-list {
  margin-top: 4px;
}

.intro-list li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  color: #666;
  line-height: 1.9;
}

.intro-list li + li {
  margin-top: 8px;
}

.intro-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.75em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #3ab8e0;
}

.intro-list strong {
  color: #333;
}

/* ---------- 公司简介 / 关于我们 ---------- */
.company-intro {
  margin-top: 40px;
  background: #fff;
  border-radius: 8px;
  padding: 32px;
  box-shadow: 0 1px 4px rgba(20, 20, 50, 0.06);
}

.company-intro h2,
.about-title {
  font-size: 24px;
  font-weight: 700;
  color: #222;
  text-align: center;
  margin-bottom: 8px;
}

.company-intro .logo-line {
  text-align: center;
  color: #4a4a78;
  font-size: 14px;
  margin-bottom: 20px;
}

.company-intro p,
.about-text p {
  font-size: 14px;
  color: #555;
  line-height: 2;
  text-indent: 2em;
}

.about-wrap {
  display: flex;
  align-items: flex-start;
  gap: 32px;
  margin-top: 24px;
}

.about-text {
  flex: 1;
  min-width: 0;
}

.about-contact {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.about-contact li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #444;
}

.about-contact svg {
  width: 18px;
  height: 18px;
  color: #2a9dff;
  flex-shrink: 0;
}

.about-map {
  width: 35%;
  min-width: 280px;
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  background: linear-gradient(135deg, #dfe6ec 0%, #cbd6df 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8a97a5;
  flex-shrink: 0;
}

/* ---------- Footer ---------- */
.site-footer {
  background: #26264a;
  color: #c9c9de;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  padding-top: 36px;
  padding-bottom: 28px;
}

.footer-brand .logo-img {
  margin-bottom: 10px;
}

.footer-contact h3 {
  font-size: 15px;
  color: #fff;
  margin-bottom: 12px;
}

.footer-contact p {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  margin-bottom: 8px;
}

.footer-contact svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: #3ab8e0;
}

.footer-social {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.footer-social a:hover {
  background: rgba(255, 255, 255, 0.22);
}

.footer-social svg {
  width: 22px;
  height: 22px;
}

.footer-copy {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 12px;
  color: #8f8fae;
  padding: 14px 16px;
}

.footer-copyright {
  text-align: center;
  font-size: 12px;
  color: #6a6a8a;
  padding: 0 16px 14px;
}

.footer-copyright a {
  color: #8f8fae;
  text-decoration: underline;
}

.footer-copyright a:hover {
  color: #fff;
}

/* ==========================================================
   响应式：平板 768 ~ 991px
   ========================================================== */
@media (max-width: 991px) {
  /* 小屏无悬停交互，禁用产品大图细节预览浮动层 */
  .zoom-viewer {
    display: none !important;
  }

  .hero-copy h1 {
    font-size: 32px;
  }

  .hero-drones {
    width: 200px;
  }

  .hero-features {
    grid-template-columns: repeat(3, minmax(120px, 1fr));
  }

  .band-grid {
    grid-template-columns: 1fr 1fr;
  }

  /* 侧栏转为横向模块，取消吸附 */
  .layout {
    flex-direction: column;
    align-items: stretch;
  }

  .sidebar {
    width: 100%;
    position: static;
  }

  /* 详情页侧栏同样需要撑满（优先级高于桌面端的 .layout-detail .sidebar） */
  .layout-detail .sidebar {
    width: 100% !important;
  }

  .main-panel {
    width: 100%;
  }

  .sidebar-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 12px 16px;
  }

  .sidebar-list li a {
    display: inline-flex;
    align-items: center;
    height: 32px;
    padding: 0 14px;
    border: 1px solid #e0e0e8;
    border-radius: 16px;
    font-size: 13px;
  }

  /* 产品网格降为 2 列 */
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .feature-list {
    grid-template-columns: 1fr;
  }

  .about-wrap {
    flex-direction: column;
  }

  .about-map {
    width: 100%;
    max-width: 480px;
  }

  .footer-grid {
    flex-wrap: wrap;
    gap: 28px;
  }
}

/* ==================== WordPress 主题补充样式 ==================== */

/* 产品卡片缩略图 */
.product-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 6px 6px 0 0;
}

/* 无产品提示 */
.empty-tip {
  padding: 48px 0;
  color: #8a8a96;
  text-align: center;
}

/* 产品正文（编辑器HTML与短代码输出） */
.detail-content {
  color: #33333c;
  line-height: 1.8;
}

.detail-content img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
}

.detail-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
}

.detail-content table th,
.detail-content table td {
  border: 1px solid #e8e8ee;
  padding: 8px 12px;
  text-align: left;
}

.detail-content table th {
  background: #f5f7fa;
}

.detail-content p {
  margin: 12px 0;
}

.detail-content h1,
.detail-content h2,
.detail-content h3,
.detail-content h4 {
  margin: 20px 0 10px;
}

/* 普通页面富文本 */
.rich-content {
  color: #33333c;
  line-height: 1.8;
}

.rich-content img {
  max-width: 100%;
  height: auto;
}

/* 产品咨询表单提交提示：默认隐藏，有内容时显示 */
.inquiry-tip {
  display: none;
  margin: 10px 0 0;
  font-size: 13px;
}

.inquiry-tip:not(:empty) {
  display: block;
}

.inquiry-tip.is-success {
  color: #2e9e4f;
}

.inquiry-tip.is-error {
  color: #d4380d;
}

/* ---------- 公司简介（合并后的富文本） ---------- */
.intro-content p + p {
  margin-top: 8px;
}

.intro-content strong {
  color: #333;
}

/* ---------- 分类/页面 Hero（分类图标 + 标题居中） ---------- */
.hero-inner.hero-cat {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 0px;
  padding-bottom: 0px;
  height: 200px;
}

/* 分类页Hero：设置了分类图片时作为背景铺满，深色遮罩保证文字可读 */
.hero.hero-bg {
  background-size: cover;
  background-position: center;
}

.hero.hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(6, 18, 38, 0.55);
}

.hero.hero-bg .hero-inner {
  position: relative;
  z-index: 1;
}

.hero-cat-icon {
  width: 88px;
  height: 88px;
  object-fit: contain;
  padding: 10px;
  margin-bottom: 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-sizing: content-box;
}

.hero-cat h1 {
  font-size: 32px;
  line-height: 1.3;
  color: #3ab8e0;
  font-weight: 700;
}

.hero-cat .hero-sub {
  font-size: 15px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.82);
  max-width: 720px;
}

/* ---------- 页脚菜单与自定义链接图标 ---------- */
.footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.footer-menu a {
  color: #c9c9de;
  font-size: 13px;
}

.footer-menu a:hover {
  color: #fff;
}

.footer-social a img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

/* ---------- 侧栏小工具（后台配置，追加在默认内容后） ---------- */
.sidebar .widget {
  padding: 14px 16px;
  border-top: 1px solid #f0f0f4;
  font-size: 14px;
  color: #555;
  line-height: 1.8;
  word-break: break-all;
}

.sidebar .widget .sidebar-title {
  margin: -14px -16px 12px;
}

.sidebar .widget img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
}

.sidebar .widget a {
  color: #2a9dff;
}

/* ---------- 回到顶部 ---------- */
.back-top {
  position: fixed;
  right: 24px;
  bottom: 32px;
  z-index: 900;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 50%;
  background: #4a4a78;
  color: #fff;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(20, 20, 50, 0.25);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background 0.2s ease;
}

.back-top.is-show {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.back-top:hover {
  background: #2e2e55;
}

/* ---------- 详情页：产品视频卡片 ---------- */
.product-video {
  padding: 16px;
}

.video-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.product-video h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 700;
  color: #222;
  margin: 0;
}

.product-video h3::before {
  content: "";
  width: 4px;
  height: 16px;
  background: #2a9dff;
  border-radius: 2px;
}

.video-wrap {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
}

.video-wrap video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  -webkit-user-drag: none;
  user-select: none;
  -webkit-user-select: none;
}

.plyr__video-wrapper {
  overflow: unset !important;
  background: unset !important;
}

/* 卡片内隐藏音量滑块（空间有限，仅保留静音切换），弹层中恢复显示 */
.product-video .plyr__volume {
  display: none;
}

.video-modal-slot .plyr__volume {
  display: flex;
}

.btn-video-expand {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  font-size: 12px;
  color: #4a4a78;
  background: #f4f4f8;
  border: 1px solid #e5e5ec;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}

.btn-video-expand:hover {
  background: #4a4a78;
  color: #fff;
  border-color: #4a4a78;
}

/* ---------- 视频放大弹层 ---------- */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.video-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.video-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
}

.video-modal-body {
  position: relative;
  width: 90vw;
  max-width: 900px;
  border-radius: 8px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
  transform: scale(0.92);
  transition: transform 0.3s ease;
}

.video-modal.is-open .video-modal-body {
  transform: scale(1);
}

.video-modal-body video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
}

.video-modal-slot {
  width: 100%;
}

.video-modal-slot .video-wrap {
  border-radius: 0;
}

.video-modal-close {
  position: absolute;
  top: 10px;
  right: 12px;
  z-index: 2;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #fff;
  background: rgba(0, 0, 0, 0.5);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s;
  line-height: 22px;
}

.video-modal-close:hover {
  background: rgba(0, 0, 0, 0.8);
}
