/* ========================================
   HTOIOT - 鸿拓物联 官网样式
   ======================================== */

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

:root {
  --primary: #1A73E8;
  --primary-dark: #0D47A1;
  --primary-light: #00B4D8;
  --dark: #1a1a2e;
  --text: #333333;
  --text-light: #666666;
  --bg-gray: #F5F7FA;
  --white: #FFFFFF;
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
  --radius: 12px;
  --radius-sm: 8px;
  --max-width: 1200px;
  --nav-height: 70px;
  --font: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--text); line-height: 1.6; background: var(--white); overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

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

/* ========================================
   Header / Navigation
   ======================================== */
.ht-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-height);
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  z-index: 1000;
  transition: box-shadow 0.3s;
}
.ht-header.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.1); }
.ht-header .ht-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.ht-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.ht-logo-icon {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 800;
  letter-spacing: -1px;
}
.ht-logo-text { line-height: 1.2; }
.ht-logo-title { font-size: 18px; font-weight: 700; color: var(--dark); display: block; }
.ht-logo-sub { font-size: 11px; color: var(--text-light); letter-spacing: 2px; }

.ht-nav { display: flex; gap: 32px; align-items: center; }
.ht-nav a {
  font-size: 15px; font-weight: 500; color: var(--text);
  position: relative; padding: 4px 0;
  transition: color 0.3s;
}
.ht-nav a::after {
  content: '';
  position: absolute; bottom: -2px; left: 0; width: 0; height: 2px;
  background: var(--primary); transition: width 0.3s;
}
.ht-nav a:hover,
.ht-nav a.active { color: var(--primary); }
.ht-nav a:hover::after,
.ht-nav a.active::after { width: 100%; }

/* Mobile Toggle */
.ht-mobile-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer;
  padding: 8px;
}
.ht-mobile-toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--text); border-radius: 2px;
  transition: all 0.3s;
}

/* ========================================
   Hero Section
   ======================================== */
.ht-hero {
  min-height: 100vh;
  display: flex; align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--nav-height);
}
.ht-hero-bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #0a192f 0%, #0D47A1 50%, #1a1a2e 100%);
  z-index: 0;
}
.ht-hero-bg::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(26,115,232,0.15) 0%, transparent 50%),
              radial-gradient(circle at 70% 30%, rgba(0,180,216,0.1) 0%, transparent 50%);
}
.ht-hero .ht-container {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center;
}
.ht-hero-content { color: var(--white); }
.ht-hero-content h1 {
  font-size: 48px; font-weight: 800; line-height: 1.2;
  margin-bottom: 20px;
}
.ht-hero-sub {
  font-size: 18px; color: rgba(255,255,255,0.7);
  margin-bottom: 24px;
}
.ht-hero-tags {
  display: flex; gap: 10px; flex-wrap: wrap;
  margin-bottom: 32px;
}
.ht-hero-tags span {
  padding: 6px 16px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 20px;
  font-size: 13px; color: rgba(255,255,255,0.8);
}
.ht-hero-actions { display: flex; gap: 16px; }

.ht-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px; border-radius: 8px;
  font-size: 15px; font-weight: 600;
  transition: all 0.3s; cursor: pointer;
}
.ht-btn-primary {
  background: var(--primary); color: white;
  border: 2px solid var(--primary);
}
.ht-btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(26,115,232,0.3); }
.ht-btn-outline {
  background: transparent; color: white;
  border: 2px solid rgba(255,255,255,0.3);
}
.ht-btn-outline:hover { border-color: white; transform: translateY(-2px); }
.ht-btn-lg { padding: 16px 40px; font-size: 17px; }

/* Hero Device Mockup */
.ht-hero-image { display: flex; justify-content: center; }
.ht-hero-device {
  width: 280px;
}
.ht-device-screen {
  width: 100%; aspect-ratio: 16/9;
  background: linear-gradient(135deg, #1a3a6b, #0d2137);
  border-radius: 16px;
  border: 3px solid rgba(255,255,255,0.1);
  padding: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.ht-screen-content { display: flex; flex-direction: column; gap: 12px; height: 100%; }
.ht-screen-bar {
  height: 6px; width: 60%;
  background: rgba(255,255,255,0.1);
  border-radius: 3px;
}
.ht-screen-chart {
  display: flex; align-items: flex-end; gap: 8px;
  flex: 1; padding-top: 8px;
}
.ht-chart-bar {
  flex: 1; background: linear-gradient(to top, var(--primary), var(--primary-light));
  border-radius: 4px 4px 0 0;
  min-height: 20px;
}
.ht-device-label {
  text-align: center; margin-top: 16px;
  color: rgba(255,255,255,0.5); font-size: 13px;
}

/* Hero Carousel (全屏轮播 Banner) */
.ht-hero-carousel { display: block; position: relative; min-height: 100vh; }
.ht-slide {
  position: absolute; inset: 0;
  padding-top: var(--nav-height);
  display: flex; align-items: center;
  min-height: 100vh;
  opacity: 0; visibility: hidden;
  transition: opacity 0.8s ease, visibility 0.8s;
  z-index: 1;
}
.ht-slide.active { opacity: 1; visibility: visible; z-index: 2; position: relative; }
.ht-slide-inner {
  display: grid; grid-template-columns: 1.05fr 1fr;
  gap: 50px; align-items: center;
  width: 100%;
}
.ht-slide-text { color: var(--white); }
.ht-slide-kicker {
  display: inline-block;
  padding: 6px 18px; margin-bottom: 20px;
  background: rgba(230,81,0,0.18);
  border: 1px solid rgba(255,152,0,0.5);
  border-radius: 20px;
  color: #ffb74d; font-size: 14px; font-weight: 600;
}
.ht-slide-text h1 {
  font-size: 50px; font-weight: 800; line-height: 1.18;
  margin-bottom: 20px;
}
.ht-5g {
  background: linear-gradient(90deg, #4fc3f7, #00e5ff);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 64px; font-weight: 900;
}
.ht-slide-sub {
  font-size: 17px; line-height: 1.8;
  color: rgba(255,255,255,0.75);
  margin-bottom: 24px;
}
.ht-slide-text .ht-hero-tags { margin-bottom: 32px; }
.ht-slide-text .ht-hero-tags span {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.25);
  font-size: 14px; font-weight: 500;
}
.ht-slide-img {
  display: flex; justify-content: center; align-items: center;
  position: relative;
}
/* 背后光晕 */
.ht-slide-img::before {
  content: '';
  position: absolute; width: 75%; aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,180,255,0.28) 0%, rgba(26,115,232,0.12) 45%, transparent 70%);
  filter: blur(30px);
}
/* 地面投影 */
.ht-slide-img::after {
  content: '';
  position: absolute; bottom: -14px; left: 50%;
  transform: translateX(-50%);
  width: 55%; height: 28px; border-radius: 50%;
  background: radial-gradient(ellipse, rgba(0,0,0,0.5) 0%, transparent 70%);
  filter: blur(10px);
  animation: heroShadow 4s ease-in-out infinite;
}
.ht-slide-img img {
  position: relative; z-index: 1;
  width: auto; max-width: 100%;
  max-height: min(560px, 66vh);
  object-fit: contain;
  filter: drop-shadow(0 35px 45px rgba(0,0,0,0.55)) drop-shadow(0 0 25px rgba(0,180,255,0.15));
  animation: heroFloat 4s ease-in-out infinite;
}
@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}
@keyframes heroShadow {
  0%, 100% { width: 55%; opacity: 1; }
  50% { width: 46%; opacity: 0.7; }
}

/* 轮播控制 */
.ht-carousel-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 5;
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff; font-size: 30px; line-height: 1;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.3s;
}
.ht-carousel-arrow:hover { background: var(--primary); border-color: var(--primary); }
.ht-arrow-prev { left: 24px; }
.ht-arrow-next { right: 24px; }
.ht-carousel-dots {
  position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%);
  z-index: 5;
  display: flex; gap: 12px;
}
.ht-carousel-dots span {
  width: 36px; height: 5px; border-radius: 3px;
  background: rgba(255,255,255,0.3);
  cursor: pointer;
  transition: all 0.3s;
}
.ht-carousel-dots span.active { background: #fff; width: 52px; }

/* ========================================
   Section Common
   ======================================== */
.ht-section { padding: 100px 0; }
.ht-section-gray { background: var(--bg-gray); }
.ht-section-header {
  text-align: center; margin-bottom: 60px;
}
.ht-section-header h2 {
  font-size: 36px; font-weight: 700; color: var(--dark);
  margin-bottom: 12px;
}
.ht-section-header p {
  font-size: 16px; color: var(--text-light);
  max-width: 600px; margin: 0 auto;
}

/* ========================================
   Categories
   ======================================== */
.ht-categories { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ht-category-card {
  background: var(--white); border-radius: var(--radius);
  padding: 40px 32px;
  box-shadow: var(--shadow);
  transition: all 0.3s;
  text-align: center;
}
.ht-category-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.ht-category-icon {
  width: 64px; height: 64px; margin: 0 auto 20px;
  border-radius: 16px; display: flex; align-items: center; justify-content: center;
}
.ht-category-icon svg { width: 32px; height: 32px; }
.ht-icon-windows { background: #e3f2fd; color: var(--primary); }
.ht-icon-kylin { background: #e8f5e9; color: #2e7d32; }
.ht-icon-custom { background: #fff3e0; color: #e65100; }
.ht-category-card h3 { font-size: 20px; margin-bottom: 12px; }
.ht-category-card p { font-size: 14px; color: var(--text-light); margin-bottom: 16px; line-height: 1.7; }

.ht-link {
  color: var(--primary); font-weight: 600; font-size: 14px;
  transition: gap 0.3s; display: inline-flex; align-items: center; gap: 4px;
}
.ht-link:hover { gap: 8px; }

/* ========================================
   Features
   ======================================== */
.ht-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.ht-feature-card {
  text-align: center; padding: 40px 24px;
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow); transition: all 0.3s;
}
.ht-feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.ht-feature-icon {
  width: 56px; height: 56px; margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 14px; display: flex; align-items: center; justify-content: center;
  color: white;
}
.ht-feature-icon svg { width: 26px; height: 26px; }
.ht-feature-card h3 { font-size: 18px; margin-bottom: 10px; }
.ht-feature-card p { font-size: 14px; color: var(--text-light); line-height: 1.7; }

/* ========================================
   Product Cards
   ======================================== */
.ht-products-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.ht-product-card {
  background: var(--white); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow);
  transition: all 0.3s;
}
.ht-product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.ht-product-img { height: 200px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.ht-product-svg { width: 100%; height: 100%; object-fit: cover; }
.ht-product-photo { width: 100%; height: 100%; object-fit: contain; padding: 14px; background: #fff; }
.ht-product-info { padding: 20px; }
.ht-product-tag {
  display: inline-block; padding: 3px 10px; border-radius: 4px;
  font-size: 12px; font-weight: 600;
  background: #e3f2fd; color: var(--primary);
  margin-bottom: 8px;
}
.ht-tag-kylin { background: #e8f5e9; color: #2e7d32; }
.ht-product-info h3 { font-size: 20px; margin-bottom: 4px; }
.ht-product-desc { font-size: 13px; color: var(--text-light); margin-bottom: 12px; }
.ht-product-specs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }
.ht-product-specs span {
  padding: 3px 10px; border-radius: 4px;
  font-size: 12px; background: var(--bg-gray); color: var(--text-light);
}

/* ========================================
   Scenes / Application
   ======================================== */
.ht-scenes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.ht-scene-card {
  text-align: center; padding: 36px 20px;
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow); transition: all 0.3s;
}
.ht-scene-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.ht-scene-icon {
  width: 52px; height: 52px; margin: 0 auto 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex; align-items: center; justify-content: center;
  color: white;
}
.ht-scene-icon svg { width: 24px; height: 24px; }
.ht-scene-card h3 { font-size: 17px; margin-bottom: 8px; }
.ht-scene-card p { font-size: 13px; color: var(--text-light); margin-bottom: 12px; line-height: 1.6; }

/* ========================================
   CTA Section
   ======================================== */
.ht-cta {
  padding: 80px 0;
  background: linear-gradient(135deg, #0a192f, #0D47A1);
  text-align: center; color: white;
}
.ht-cta h2 { font-size: 36px; font-weight: 700; margin-bottom: 12px; }
.ht-cta p { font-size: 16px; color: rgba(255,255,255,0.7); margin-bottom: 32px; }

/* ========================================
   Footer
   ======================================== */
.ht-footer {
  background: #0a1628; color: rgba(255,255,255,0.7);
  padding: 60px 0 0;
}
.ht-footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px; padding-bottom: 40px;
}
.ht-footer-logo {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 16px;
}
.ht-footer-logo .ht-logo-icon { width: 32px; height: 32px; font-size: 16px; }
.ht-footer-logo span:last-child { font-size: 18px; font-weight: 700; color: white; }
.ht-footer-col p { font-size: 14px; line-height: 1.7; }
.ht-footer-col h4 { color: white; font-size: 15px; margin-bottom: 16px; }
.ht-footer-col a {
  display: block; font-size: 14px; margin-bottom: 10px;
  transition: color 0.3s;
}
.ht-footer-col a:hover { color: var(--primary-light); }
.ht-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
  text-align: center; font-size: 13px; color: rgba(255,255,255,0.4);
}

/* ========================================
   Products Page
   ======================================== */
.ht-page-hero {
  padding: 140px 0 60px;
  background: linear-gradient(135deg, #0a192f, #0D47A1);
  text-align: center; color: white;
}
.ht-page-hero h1 { font-size: 40px; font-weight: 700; margin-bottom: 10px; }
.ht-page-hero p { font-size: 16px; color: rgba(255,255,255,0.7); max-width: 600px; margin: 0 auto; }

.ht-product-detail {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 50px; align-items: start;
  padding: 40px 0;
}
.ht-product-detail-header { margin-bottom: 30px; }
.ht-product-detail-header .ht-product-tag { margin-bottom: 10px; }
.ht-product-detail-header h2 { font-size: 32px; margin-bottom: 6px; }
.ht-product-detail-header p { color: var(--text-light); font-size: 15px; }
.ht-specs-table { width: 100%; border-collapse: collapse; }
.ht-specs-table td {
  padding: 10px 16px; border-bottom: 1px solid #eee;
  font-size: 14px;
}
.ht-specs-table td:first-child { font-weight: 600; color: var(--text); width: 30%; background: var(--bg-gray); }

/* ========================================
   Contact Page
   ======================================== */
.ht-contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; padding: 60px 0; }
.ht-contact-info { display: flex; flex-direction: column; gap: 30px; }
.ht-contact-item { display: flex; gap: 16px; align-items: flex-start; }
.ht-contact-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  background: var(--bg-gray); border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--primary); font-size: 20px;
}
.ht-contact-item h4 { font-size: 15px; margin-bottom: 4px; }
.ht-contact-item p { font-size: 14px; color: var(--text-light); }

.ht-form { display: flex; flex-direction: column; gap: 16px; }
.ht-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ht-form input,
.ht-form select,
.ht-form textarea {
  width: 100%; padding: 12px 16px;
  border: 1px solid #ddd; border-radius: var(--radius-sm);
  font-size: 14px; font-family: inherit;
  transition: border-color 0.3s;
}
.ht-form input:focus,
.ht-form select:focus,
.ht-form textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(26,115,232,0.1); }
.ht-form textarea { min-height: 120px; resize: vertical; }
.ht-form .ht-btn { align-self: flex-start; }

/* ========================================
   Product Image Gallery
   ======================================== */
.ht-gallery { max-width: 380px; }
.ht-gallery-main {
  width: 100%; height: 300px; border-radius: 12px;
  overflow: hidden; background: #fff;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid #eef0f4; cursor: pointer; margin-bottom: 10px;
  padding: 10px; box-sizing: border-box;
}
.ht-gallery-main img { max-width: 100%; max-height: 100%; object-fit: contain; }
.ht-gallery-thumbs { display: flex; gap: 8px; flex-wrap: wrap; }
.ht-thumb {
  width: 64px; height: 64px; border-radius: 8px; cursor: pointer;
  object-fit: contain; border: 2px solid transparent;
  background: #fff; transition: all 0.2s;
  padding: 3px; box-sizing: border-box;
}
.ht-thumb:hover { border-color: var(--primary); opacity: 0.8; }
.ht-thumb.active { border-color: var(--primary); box-shadow: 0 0 0 2px rgba(26,115,232,0.2); }
.ht-lightbox {
  display: none; position: fixed; z-index: 9999;
  left: 0; top: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.9);
  align-items: center; justify-content: center;
}
.ht-lightbox.open { display: flex; }
.ht-lightbox img { max-width: 90%; max-height: 85%; object-fit: contain; border-radius: 8px; }
.ht-lightbox-close {
  position: absolute; top: 20px; right: 30px;
  color: white; font-size: 40px; cursor: pointer; font-weight: bold;
  transition: 0.3s; line-height: 1;
}
.ht-lightbox-close:hover { color: #ccc; }
.ht-lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  color: white; font-size: 48px; cursor: pointer; padding: 10px 20px;
  transition: 0.3s; user-select: none; line-height: 1;
}
.ht-lightbox-nav:hover { color: var(--primary); }
.ht-lightbox-prev { left: 20px; }
.ht-lightbox-next { right: 20px; }

/* ========================================
   Solutions Page
   ======================================== */
.ht-solution-block {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 50px; align-items: center;
  padding: 60px 0;
}
.ht-solution-block:nth-child(even) { direction: rtl; }
.ht-solution-block:nth-child(even) > * { direction: ltr; }
.ht-solution-content h3 {
  font-size: 28px; font-weight: 700; color: var(--dark);
  margin-bottom: 16px;
}
.ht-solution-content p { color: var(--text-light); line-height: 1.8; margin-bottom: 16px; }
.ht-solution-highlights { display: flex; flex-direction: column; gap: 10px; }
.ht-solution-highlights li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14px; color: var(--text);
}
.ht-solution-highlights li::before {
  content: '◆'; color: var(--primary); font-size: 12px; margin-top: 3px;
}
.ht-solution-visual {
  height: 300px; border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; font-weight: 700; color: white;
  overflow: hidden; position: relative;
}
.ht-solution-visual img {
  max-width: 82%; max-height: 82%; object-fit: contain;
  background: #fff; border-radius: 12px; padding: 12px;
  box-sizing: border-box;
  box-shadow: 0 16px 40px rgba(0,0,0,0.25);
  position: relative; z-index: 1;
}
.ht-solution-visual .ht-visual-tag {
  position: absolute; bottom: 14px; right: 16px; z-index: 2;
  font-size: 13px; font-weight: 600; color: rgba(255,255,255,0.85);
  background: rgba(0,0,0,0.25); padding: 4px 12px; border-radius: 12px;
}
.ht-solution-visual.mfg { background: linear-gradient(135deg, #1a3a6b, #2d5aa0); }
.ht-solution-visual.log { background: linear-gradient(135deg, #1b5e20, #388e3c); }
.ht-solution-visual.med { background: linear-gradient(135deg, #4a148c, #7b1fa2); }
.ht-solution-visual.out { background: linear-gradient(135deg, #e65100, #f57c00); }
.ht-solution-visual.ret { background: linear-gradient(135deg, #880e4f, #c2185b); }

/* ========================================
   Cases Page
   ======================================== */
.ht-cases-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding: 60px 0; }
.ht-case-card {
  background: var(--white); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow);
  transition: all 0.3s;
}
.ht-case-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.ht-case-card .ht-product-img {
  height: 180px; font-size: 36px;
}
.ht-case-body { padding: 24px; }
.ht-case-tag {
  display: inline-block; padding: 3px 10px; border-radius: 4px;
  font-size: 12px; font-weight: 600; margin-bottom: 8px;
}
.ht-case-tag.mfg { background: #e3f2fd; color: var(--primary); }
.ht-case-tag.log { background: #e8f5e9; color: #2e7d32; }
.ht-case-tag.sec { background: #fce4ec; color: #c62828; }
.ht-case-tag.ret { background: #fff3e0; color: #e65100; }
.ht-case-photo {
  height: 180px; background: #fff;
  display: flex; align-items: center; justify-content: center;
  border-bottom: 1px solid #eef0f4; padding: 14px; box-sizing: border-box;
}
.ht-case-photo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.ht-case-body h3 { font-size: 17px; margin-bottom: 10px; }
.ht-case-body p { font-size: 13px; color: var(--text-light); line-height: 1.7; }

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 968px) {
  .ht-hero .ht-container { grid-template-columns: 1fr; text-align: center; }
  .ht-hero-content h1 { font-size: 36px; }
  .ht-hero-tags { justify-content: center; }
  .ht-hero-actions { justify-content: center; }
  .ht-hero-image { display: none; }
  .ht-slide-inner { grid-template-columns: 1fr; text-align: center; gap: 28px; padding-top: 20px; }
  .ht-slide-text h1 { font-size: 34px; }
  .ht-5g { font-size: 44px; }
  .ht-slide-sub { font-size: 15px; }
  .ht-slide-text .ht-hero-tags { justify-content: center; }
  .ht-slide-img img { max-height: 300px; }
  .ht-carousel-arrow { display: none; }
  .ht-categories { grid-template-columns: 1fr; }
  .ht-features { grid-template-columns: 1fr; }
  .ht-products-grid { grid-template-columns: 1fr; }
  .ht-scenes { grid-template-columns: repeat(2, 1fr); }
  .ht-footer-grid { grid-template-columns: 1fr 1fr; }
  .ht-product-detail { grid-template-columns: 1fr; }
  .ht-contact-grid { grid-template-columns: 1fr; }
  .ht-solution-block { grid-template-columns: 1fr; }
  .ht-solution-block:nth-child(even) { direction: ltr; }
  .ht-cases-list { grid-template-columns: 1fr; }
  .ht-section { padding: 60px 0; }
  .ht-section-header h2 { font-size: 28px; }
  .ht-nav { display: none; }
  .ht-nav.open { display: flex; flex-direction: column; position: absolute; top: var(--nav-height); left: 0; right: 0; background: white; padding: 20px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); gap: 16px; }
  .ht-mobile-toggle { display: flex; }
  .ht-gallery { max-width: 100%; }
  .ht-gallery-main { height: 250px; }
}

@media (max-width: 576px) {
  .ht-scenes { grid-template-columns: 1fr; }
  .ht-footer-grid { grid-template-columns: 1fr; }
  .ht-form-row { grid-template-columns: 1fr; }
  .ht-hero-content h1 { font-size: 28px; }
  .ht-cta h2 { font-size: 26px; }
  .ht-page-hero h1 { font-size: 30px; }
}



/* ==================== 悬浮获客CTA ==================== */
.ht-float-cta{position:fixed;right:20px;bottom:30px;z-index:998;display:flex;flex-direction:column;gap:10px;align-items:flex-end;}
.ht-float-cta a{display:flex;align-items:center;gap:8px;padding:12px 20px;border-radius:30px;font-size:14px;font-weight:600;text-decoration:none;box-shadow:0 4px 16px rgba(13,71,161,.25);transition:transform .2s,box-shadow .2s;}
.ht-float-cta a:hover{transform:translateY(-2px);box-shadow:0 8px 24px rgba(13,71,161,.35);}
.ht-float-cta .ht-cta-quote{background:linear-gradient(135deg,#1565c0,#0d47a1);color:#fff;}
.ht-float-cta .ht-cta-tel{background:#fff;color:#0d47a1;border:2px solid #0d47a1;}
@media(max-width:768px){.ht-float-cta{right:12px;bottom:16px;}.ht-float-cta a{padding:10px 16px;font-size:13px;}}

/* 微信咨询悬浮按钮 */
.ht-cta-wechat-wrap{position:relative;}
.ht-float-cta .ht-cta-wechat{background:#07c160;color:#fff;cursor:pointer;}
.ht-qr-pop{position:absolute;right:0;bottom:calc(100% + 12px);background:#fff;border-radius:12px;padding:12px;box-shadow:0 8px 30px rgba(0,0,0,.18);display:none;text-align:center;width:180px;z-index:999;}
.ht-qr-pop img{width:156px;height:156px;display:block;margin:0 auto;}
.ht-qr-pop p{font-size:12px;color:#555;margin:8px 0 0;line-height:1.4;}
.ht-cta-wechat-wrap:hover .ht-qr-pop,.ht-cta-wechat-wrap.open .ht-qr-pop{display:block;}
