/* =============================================================
   主题：物流橙（fleet）
   取材于车队 / 物流：藏青 + 安全橙 + 雾灰。
   记忆点：首屏右侧的设备地图面板（橙色路线连着设备点，中心一圈脉冲，
   全站唯一的动效）；内页横幅底部一条物流警示斜纹。
   其余：圆角偏大、重字重标题、白卡片。
   ============================================================= */

.theme-fleet {
  --brand-900: #0f1a30;
  --brand-800: #14213d;
  --brand-700: #1d2f55;
  --brand-600: #d9560c;
  --brand-500: #f26a1b;
  --brand-400: #f68a4c;
  --brand-100: #fdeee4;
  --accent: #f26a1b;
  --accent-600: #d9560c;
  --ink: #14213d;
  --ink-2: #33415c;
  --muted: #5b6a80;
  --line: #dde2ea;
  --line-2: #e9edf2;
  --surface: #ffffff;
  --ground: #f2f4f7;
  --ground-2: #e8ecf1;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(20, 33, 61, 0.06);
  --shadow: 0 8px 24px rgba(20, 33, 61, 0.08);
  background: var(--ground);
}

/* ---------- 按钮：安全橙 ---------- */
.theme-fleet .btn {
  font-weight: 700;
}

.theme-fleet .btn-primary {
  background: var(--brand-500);
}

.theme-fleet .btn-primary:hover {
  background: var(--brand-600);
}

.theme-fleet .btn-ghost {
  border-color: var(--ink);
  color: var(--ink);
}

.theme-fleet .btn-ghost:hover {
  background: var(--ink);
  color: #fff;
}

/* ---------- 页头：白底，橙色强调 ---------- */
.theme-fleet .site-header {
  background: #fff;
  border-bottom-color: var(--line);
}

.theme-fleet .logo-mark {
  background: var(--brand-500);
  border-radius: 10px;
}

.theme-fleet .nav-link {
  color: var(--ink-2);
  font-weight: 500;
}

/* ---------- 首屏：雾灰底，左文右地图 ---------- */
.theme-fleet .hero {
  background: var(--ground);
  color: var(--ink);
}

.theme-fleet .hero::before {
  display: none;
}

.theme-fleet .hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 56px;
  padding-top: 80px;
  padding-bottom: 88px;
}

.theme-fleet .hero-eyebrow {
  border: 0;
  background: var(--brand-100);
  color: var(--brand-600);
  font-weight: 600;
}

.theme-fleet .hero-eyebrow::before {
  background: var(--brand-500);
  box-shadow: none;
}

.theme-fleet .hero h1 {
  font-size: 52px;
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.theme-fleet .hero h1 em {
  color: inherit;
}

.theme-fleet .hero-sub {
  color: var(--ink-2);
}

.theme-fleet .hero-dot {
  background: var(--line);
}

.theme-fleet .hero-dot.is-active {
  background: var(--brand-500);
}

/* 数据条并入地图面板图例 */
.theme-fleet .hero-stats {
  display: none;
}

.theme-fleet .hero.has-media {
  color: #fff;
}

.theme-fleet .hero.has-media .hero-inner {
  grid-template-columns: 1fr;
}

.theme-fleet .hero.has-media .hero-sub {
  color: rgba(255, 255, 255, 0.85);
}

.theme-fleet .hero.has-media .btn-ghost {
  border-color: #fff;
  color: #fff;
}

.theme-fleet .hero.has-media .hero-stats {
  display: block;
}

/* 地图面板 */
.theme-fleet .map-panel {
  background: var(--brand-800);
  border-radius: 20px;
  padding: 22px 22px 18px;
  color: #fff;
  box-shadow: 0 24px 48px rgba(20, 33, 61, 0.22);
}

.theme-fleet .map-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  font-size: 14px;
}

.theme-fleet .map-title {
  color: rgba(255, 255, 255, 0.72);
}

.theme-fleet .map-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #8fe3b0;
}

.theme-fleet .map-live::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}

.theme-fleet .map-canvas {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  background: var(--brand-700);
}

#map-dots circle {
  fill: rgba(255, 255, 255, 0.16);
}

.theme-fleet .map-route {
  fill: none;
  stroke: var(--brand-500);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-dasharray: 6 6;
}

.theme-fleet .map-route-2 {
  stroke: rgba(255, 255, 255, 0.45);
}

.theme-fleet .map-pins circle {
  fill: #fff;
  stroke: var(--brand-800);
  stroke-width: 2;
}

.theme-fleet .map-hub {
  fill: var(--brand-500);
  stroke: #fff;
  stroke-width: 3;
}

.theme-fleet .map-hub-pulse {
  fill: none;
  stroke: var(--brand-500);
  stroke-width: 2;
  transform-origin: 175px 104px;
  animation: fleet-pulse 2.4s ease-out infinite;
}

@keyframes fleet-pulse {
  from {
    transform: scale(1);
    opacity: 0.9;
  }
  to {
    transform: scale(3.2);
    opacity: 0;
  }
}

.theme-fleet .map-legend {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.theme-fleet .map-legend li {
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.66);
}

.theme-fleet .map-legend strong {
  display: block;
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  font-variant-numeric: tabular-nums;
  line-height: 1.3;
}

.theme-fleet .map-legend strong span {
  font-size: 14px;
  margin-left: 2px;
  color: var(--brand-400);
}

/* ---------- 板块 ---------- */
.theme-fleet .home-sections > .section {
  background: var(--ground);
}

.theme-fleet .home-sections > .section:nth-child(even),
.theme-fleet .section-alt {
  background: #fff;
}

.theme-fleet .section-eyebrow {
  display: none;
}

.theme-fleet .section-head h2 {
  font-size: 34px;
  font-weight: 900;
}

.theme-fleet .section-more {
  color: var(--brand-600);
}

.theme-fleet .feature {
  border: 0;
  box-shadow: var(--shadow-sm);
}

.theme-fleet .feature:hover {
  box-shadow: var(--shadow);
}

.theme-fleet .feature-icon {
  background: var(--brand-100);
  color: var(--brand-600);
  border-radius: 12px;
}

.theme-fleet .home-sections > .section:nth-child(even) .feature,
.theme-fleet .home-sections > .section:nth-child(even) .card,
.theme-fleet .home-sections > .section:nth-child(even) .scene {
  background: var(--ground);
  box-shadow: none;
}

.theme-fleet .card {
  border: 0;
  box-shadow: var(--shadow-sm);
}

.theme-fleet .card:hover {
  box-shadow: var(--shadow);
}

.theme-fleet .card-cover {
  display: none;
}

.theme-fleet .card-body {
  padding-top: 24px;
  border-top: 4px solid var(--brand-500);
}

.theme-fleet .card-tag {
  background: var(--brand-100);
  color: var(--brand-600);
}

/* 场景：不是先后顺序，不编号，用橙点 */
.theme-fleet .scene {
  border: 0;
  box-shadow: var(--shadow-sm);
}

.theme-fleet .scene-no {
  font-size: 0;
  width: 10px;
  height: 10px;
  margin-top: 7px;
  padding: 0;
  border-radius: 50%;
  background: var(--brand-500);
}

.theme-fleet .partner {
  border-radius: var(--radius-sm);
}

/* ---------- 留言区：藏青 ---------- */
.theme-fleet .cta {
  background: var(--brand-800);
}

.theme-fleet .cta-contact strong {
  color: var(--brand-400);
}

.theme-fleet .lead-form {
  border-radius: 18px;
}

/* ---------- 内页横幅：藏青 + 底部警示斜纹 ----------
   斜纹叠在背景层上：带头图时图片盖住背景，斜纹随之不显示，
   不能用 ::after（基础样式里带图横幅的深色遮罩就是 ::after） */
.theme-fleet .page-banner {
  background:
    repeating-linear-gradient(
        135deg,
        var(--brand-500) 0 14px,
        var(--brand-800) 14px 28px
      )
      left bottom / 100% 8px no-repeat,
    var(--brand-800);
  padding-bottom: 62px;
}

/* ---------- 页脚 ---------- */
.theme-fleet .site-footer {
  background: var(--brand-900);
}

/* ---------- 窄屏 ---------- */
@media (max-width: 1080px) {
  .theme-fleet .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 760px) {
  .theme-fleet .hero-inner {
    padding-top: 48px;
    padding-bottom: 56px;
  }

  .theme-fleet .hero h1 {
    font-size: 34px;
  }

  .theme-fleet .section-head h2 {
    font-size: 26px;
  }

  .theme-fleet .map-panel {
    padding: 16px;
  }
}

/* APP 下载页首屏是深色底：本主题把 .btn-ghost 改成了深色字，这里要改回白字 */
.theme-fleet .app-hero .btn-ghost {
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}

.theme-fleet .app-hero .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
}
