/* ============================================
   美居小家电 — 设计系统 CSS
   Industry: Small Home Appliances
   Style: 简约轻奢家电风
   ============================================ */

/* ---------- 设计令牌 ---------- */
:root {
  /* 主色系 */
  --primary: #0F4C81;
  --primary-light: #1A6BB5;
  --primary-dark: #0A3358;
  --accent-gold: #FFB742;
  --accent-gold-light: #FFD07A;
  --accent-green: #22C55E;
  --accent-green-light: #4ADE80;

  /* 中性色 */
  --neutral-50: #F6F8FA;
  --neutral-100: #EDF1F5;
  --neutral-300: #94A3B8;
  --neutral-500: #64748B;
  --neutral-700: #334155;
  --neutral-800: #1E293B;
  --neutral-900: #0F172A;

  /* 白色 */
  --white: #FFFFFF;

  /* 字体 */
  --font-family: 'Inter', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-heading-weight: 700;
  --font-body-weight: 400;
  --font-heading-spacing: -0.3px;

  /* 间距 */
  --container-max: 1280px;
  --section-py: 2.5rem;
  --section-py-md: 4rem;
  --container-px: 1rem;
  --container-px-md: 2rem;

  /* 圆角 */
  --radius-btn: 6px;
  --radius-card: 10px;
  --radius-tag: 4px;

  /* 阴影 */
  --shadow-card: 0 4px 24px rgba(15, 76, 129, 0.08);
  --shadow-card-hover: 0 8px 32px rgba(15, 76, 129, 0.14);
  --shadow-nav: 0 1px 12px rgba(15, 76, 129, 0.06);
  --shadow-float: 0 8px 24px rgba(0, 0, 0, 0.12);

  /* 动效时长 */
  --duration-fast: 220ms;
  --duration-base: 280ms;
  --duration-slow: 320ms;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- 全局基础 ---------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-family);
  font-size: 16px;
  line-height: 1.65;
  color: var(--neutral-800);
  background-color: var(--white);
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-out);
}

a:hover {
  color: var(--primary-light);
}

/* ---------- 容器 ---------- */
.container {
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-px);
  padding-right: var(--container-px);
}

@media (min-width: 768px) {
  .container {
    padding-left: var(--container-px-md);
    padding-right: var(--container-px-md);
  }
}

/* ---------- 区块间距 ---------- */
.section {
  padding-top: var(--section-py);
  padding-bottom: var(--section-py);
}

@media (min-width: 768px) {
  .section {
    padding-top: var(--section-py-md);
    padding-bottom: var(--section-py-md);
  }
}

/* ---------- 标题系统 ---------- */
h1, h2, h3, h4 {
  font-weight: var(--font-heading-weight);
  letter-spacing: var(--font-heading-spacing);
  color: var(--neutral-900);
  line-height: 1.3;
}

h1 { font-size: 44px; }
h2 { font-size: 36px; }
h3 { font-size: 26px; }
h4 { font-size: 22px; }

@media (max-width: 767px) {
  h1 { font-size: 32px; }
  h2 { font-size: 26px; }
  h3 { font-size: 22px; }
  h4 { font-size: 18px; }
}

/* ---------- 段落标题 ---------- */
.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  position: relative;
  display: inline-block;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 3px;
  background: var(--accent-gold);
  border-radius: 2px;
}

.section-title p {
  margin-top: 1rem;
  color: var(--neutral-500);
  font-size: 16px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 15px;
  padding: 12px 28px;
  border: none;
  border-radius: var(--radius-btn);
  cursor: pointer;
  transition: transform var(--duration-fast) var(--ease-out),
              background-color var(--duration-fast) var(--ease-out),
              box-shadow var(--duration-fast) var(--ease-out);
  line-height: 1;
  letter-spacing: 0;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(15, 76, 129, 0.2);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background-color: var(--primary);
  color: var(--white);
}

.btn-primary:hover {
  background-color: var(--primary-light);
}

.btn-gold {
  background-color: var(--accent-gold);
  color: var(--neutral-900);
}

.btn-gold:hover {
  background-color: var(--accent-gold-light);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary);
  border: 1.5px solid var(--primary);
}

.btn-outline:hover {
  background-color: var(--primary);
  color: var(--white);
}

.btn-white {
  background-color: var(--white);
  color: var(--primary);
}

.btn-white:hover {
  background-color: var(--neutral-50);
}

.btn-sm {
  font-size: 14px;
  padding: 8px 20px;
}

.btn-lg {
  font-size: 16px;
  padding: 14px 36px;
}

/* ---------- 卡片 ---------- */
.card {
  background: var(--white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: transform var(--duration-base) var(--ease-out),
              box-shadow var(--duration-base) var(--ease-out);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.card-body {
  padding: 1.5rem;
}

.card-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--neutral-900);
  margin-bottom: 0.5rem;
  letter-spacing: -0.2px;
}

.card-text {
  color: var(--neutral-500);
  font-size: 14px;
  line-height: 1.6;
}

/* ---------- 标签 ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  font-size: 13px;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: var(--radius-tag);
  line-height: 1;
}

.tag-primary {
  background-color: var(--primary);
  color: var(--white);
}

.tag-gold {
  background-color: var(--accent-gold);
  color: var(--neutral-900);
}

.tag-green {
  background-color: var(--accent-green);
  color: var(--white);
}

.tag-light {
  background-color: var(--neutral-50);
  color: var(--neutral-700);
}

/* ---------- 导航栏 ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: var(--shadow-nav);
  transition: background-color var(--duration-base) var(--ease-out),
              box-shadow var(--duration-base) var(--ease-out);
}

.navbar.scrolled {
  box-shadow: 0 2px 20px rgba(15, 76, 129, 0.10);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 20px;
  color: var(--primary);
  letter-spacing: var(--font-heading-spacing);
}

.navbar-logo .logo-icon {
  width: 36px;
  height: 36px;
  background: var(--primary);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 18px;
  font-weight: 700;
}

.navbar-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.navbar-menu a {
  font-size: 15px;
  font-weight: 500;
  color: var(--neutral-700);
  position: relative;
  padding: 4px 0;
}

.navbar-menu a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width var(--duration-base) var(--ease-out);
}

.navbar-menu a:hover::after,
.navbar-menu a.active::after {
  width: 100%;
}

.navbar-menu a:hover,
.navbar-menu a.active {
  color: var(--primary);
}

.navbar-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* 移动端菜单 */
.navbar-toggle {
  display: none;
  width: 32px;
  height: 32px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}

.navbar-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--neutral-800);
  border-radius: 2px;
  transition: transform var(--duration-fast) var(--ease-out),
              opacity var(--duration-fast) var(--ease-out);
}

.navbar-toggle.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.navbar-toggle.open span:nth-child(2) {
  opacity: 0;
}

.navbar-toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

@media (max-width: 1023px) {
  .navbar-toggle {
    display: flex;
  }

  .navbar-menu {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 2rem;
    gap: 1.5rem;
    transform: translateX(100%);
    transition: transform var(--duration-slow) var(--ease-out);
    z-index: 999;
  }

  .navbar-menu.open {
    transform: translateX(0);
  }

  .navbar-menu a {
    font-size: 18px;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--neutral-50);
  }

  .navbar-cta {
    display: none;
  }
}

/* ---------- Hero Banner ---------- */
.hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  background: var(--primary);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.2;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 3rem;
  width: 100%;
}

.hero-content {
  flex: 1;
  max-width: 580px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 183, 66, 0.2);
  color: var(--accent-gold);
  font-size: 14px;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 4px;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: 44px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  letter-spacing: -0.3px;
  margin-bottom: 1.25rem;
}

.hero-title .text-gold {
  color: var(--accent-gold);
}

.hero-desc {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-visual {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-visual .placeholder-img {
  width: 380px;
  height: 280px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-card);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.4);
  font-size: 14px;
}

@media (max-width: 767px) {
  .hero {
    min-height: 480px;
  }

  .hero-title {
    font-size: 32px;
  }

  .hero-desc {
    font-size: 16px;
  }

  .hero-visual {
    display: none;
  }
}

@media (max-width: 1023px) {
  .hero-visual {
    display: none;
  }
}

/* ---------- 数据统计条 ---------- */
.stats-bar {
  background: var(--neutral-50);
  padding: 2rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 36px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.3px;
  line-height: 1;
}

.stat-number .unit {
  font-size: 16px;
  font-weight: 500;
}

.stat-label {
  font-size: 14px;
  color: var(--neutral-500);
  margin-top: 0.5rem;
}

@media (max-width: 767px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .stat-number {
    font-size: 28px;
  }
}

/* ---------- 优势区块 ---------- */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.advantage-item {
  padding: 2rem 1.5rem;
  background: var(--white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  text-align: center;
  transition: transform var(--duration-base) var(--ease-out),
              box-shadow var(--duration-base) var(--ease-out);
}

.advantage-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.advantage-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
  background: var(--neutral-50);
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--primary);
}

.advantage-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--neutral-900);
  margin-bottom: 0.5rem;
}

.advantage-desc {
  font-size: 14px;
  color: var(--neutral-500);
  line-height: 1.6;
}

@media (max-width: 1023px) {
  .advantages-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .advantages-grid {
    grid-template-columns: 1fr;
  }
}

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

.product-card {
  background: var(--white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: transform var(--duration-base) var(--ease-out),
              box-shadow var(--duration-base) var(--ease-out);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.product-card-img {
  width: 100%;
  height: 220px;
  background: var(--neutral-50);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--neutral-300);
  font-size: 14px;
  position: relative;
  overflow: hidden;
}

.product-card-img .tag {
  position: absolute;
  top: 12px;
  left: 12px;
}

.product-card-body {
  padding: 1.25rem;
}

.product-card-name {
  font-size: 17px;
  font-weight: 600;
  color: var(--neutral-900);
  margin-bottom: 0.375rem;
  letter-spacing: -0.2px;
}

.product-card-desc {
  font-size: 14px;
  color: var(--neutral-500);
  line-height: 1.5;
  margin-bottom: 1rem;
}

.product-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

@media (max-width: 1023px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .products-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- 图文左右布局 ---------- */
.intro-section {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.intro-content {
  flex: 1;
}

.intro-visual {
  flex: 1;
}

.intro-visual .placeholder-img {
  width: 100%;
  height: 360px;
  background: var(--neutral-50);
  border-radius: var(--radius-card);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--neutral-300);
  font-size: 14px;
}

@media (max-width: 1023px) {
  .intro-section {
    flex-direction: column;
    gap: 2rem;
  }
}

/* ---------- 时间线 ---------- */
.timeline {
  position: relative;
  padding: 2rem 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--neutral-100);
  transform: translateX(-50%);
}

.timeline-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 2rem;
  position: relative;
}

.timeline-dot {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 12px;
  height: 12px;
  background: var(--primary);
  border-radius: 50%;
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--primary);
  z-index: 1;
}

.timeline-content {
  width: 45%;
  padding: 1.5rem;
  background: var(--white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
}

.timeline-item:nth-child(odd) .timeline-content {
  margin-right: auto;
  text-align: right;
}

.timeline-item:nth-child(even) .timeline-content {
  margin-left: auto;
}

.timeline-year {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-gold);
  margin-bottom: 0.5rem;
}

.timeline-title {
  font-size: 17px;
  font-weight: 600;
  color: var(--neutral-900);
  margin-bottom: 0.375rem;
}

.timeline-desc {
  font-size: 14px;
  color: var(--neutral-500);
  line-height: 1.6;
}

@media (max-width: 767px) {
  .timeline::before {
    left: 16px;
  }

  .timeline-dot {
    left: 16px;
  }

  .timeline-content {
    width: 100%;
    margin-left: 40px !important;
    margin-right: 0 !important;
    text-align: left !important;
  }
}

/* ---------- 资质认证 ---------- */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.cert-item {
  background: var(--white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: transform var(--duration-base) var(--ease-out);
}

.cert-item:hover {
  transform: translateY(-3px);
}

.cert-icon {
  width: 64px;
  height: 64px;
  margin-bottom: 1rem;
  background: var(--neutral-50);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: var(--accent-gold);
}

.cert-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--neutral-900);
  margin-bottom: 0.25rem;
}

.cert-desc {
  font-size: 13px;
  color: var(--neutral-500);
}

@media (max-width: 1023px) {
  .cert-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .cert-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- 联系表单 ---------- */
.contact-form {
  background: var(--white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 2.5rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--neutral-700);
  margin-bottom: 0.5rem;
}

.form-input {
  width: 100%;
  padding: 12px 16px;
  font-size: 15px;
  font-family: var(--font-family);
  color: var(--neutral-800);
  background: var(--neutral-50);
  border: 1.5px solid var(--neutral-100);
  border-radius: var(--radius-btn);
  transition: border-color var(--duration-fast) var(--ease-out),
              box-shadow var(--duration-fast) var(--ease-out);
  outline: none;
}

.form-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(15, 76, 129, 0.1);
}

.form-input::placeholder {
  color: var(--neutral-300);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 767px) {
  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 1.5rem;
  }
}

/* ---------- 联系信息卡片 ---------- */
.contact-info-card {
  background: var(--primary);
  border-radius: var(--radius-card);
  padding: 2.5rem;
  color: var(--white);
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-info-icon {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--accent-gold);
  flex-shrink: 0;
}

.contact-info-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 0.25rem;
}

.contact-info-value {
  font-size: 15px;
  font-weight: 500;
  color: var(--white);
  line-height: 1.5;
}

/* ---------- 页脚 ---------- */
.footer {
  background: var(--neutral-900);
  color: rgba(255, 255, 255, 0.7);
  padding-top: 3rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-brand {
  margin-bottom: 1rem;
}

.footer-brand-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.footer-brand-desc {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.5);
}

.footer-heading {
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  transition: color var(--duration-fast) var(--ease-out);
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
}

@media (max-width: 1023px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 767px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
}

/* ---------- 悬浮客服 ---------- */
.float-service {
  position: fixed;
  right: 16px;
  bottom: 80px;
  z-index: 900;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.float-item {
  width: 48px;
  height: 48px;
  background: var(--primary);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--white);
  font-size: 20px;
  transition: background-color var(--duration-fast) var(--ease-out),
              transform var(--duration-fast) var(--ease-out);
  position: relative;
}

.float-item:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
}

.float-tooltip {
  position: absolute;
  right: 56px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--white);
  border-radius: var(--radius-btn);
  box-shadow: var(--shadow-float);
  padding: 10px 16px;
  white-space: nowrap;
  font-size: 14px;
  color: var(--neutral-800);
  display: none;
  z-index: 1;
}

.float-tooltip::after {
  content: '';
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  background: var(--white);
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.06);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}

.float-item:hover .float-tooltip {
  display: block;
}

/* 微信二维码弹出 */
.float-wechat-popup {
  position: absolute;
  right: 56px;
  top: -80px;
  background: var(--white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-float);
  padding: 16px;
  width: 160px;
  display: none;
  z-index: 1;
  text-align: center;
}

.float-wechat-popup.active {
  display: block;
}

.float-wechat-popup .qr-placeholder {
  width: 128px;
  height: 128px;
  background: var(--neutral-50);
  border: 1px dashed var(--neutral-300);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  font-size: 12px;
  color: var(--neutral-500);
}

.float-wechat-popup .wechat-label {
  font-size: 13px;
  color: var(--neutral-700);
  font-weight: 500;
}

.float-back-top {
  background: var(--neutral-700);
}

.float-back-top:hover {
  background: var(--neutral-800);
}

@media (max-width: 767px) {
  .float-service {
    right: 10px;
    bottom: 60px;
  }

  .float-item {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  .float-tooltip {
    display: none !important;
  }
}

/* ---------- 滚动渐入动画 ---------- */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--duration-slow) var(--ease-out),
              transform var(--duration-slow) var(--ease-out);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-delay-1 { transition-delay: 80ms; }
.fade-in-delay-2 { transition-delay: 160ms; }
.fade-in-delay-3 { transition-delay: 240ms; }

/* ---------- 辅助类 ---------- */
.bg-primary { background-color: var(--primary); }
.bg-primary-light { background-color: var(--primary-light); }
.bg-neutral-50 { background-color: var(--neutral-50); }
.bg-neutral-100 { background-color: var(--neutral-100); }
.bg-white { background-color: var(--white); }

.text-primary { color: var(--primary); }
.text-gold { color: var(--accent-gold); }
.text-green { color: var(--accent-green); }
.text-white { color: var(--white); }
.text-neutral-500 { color: var(--neutral-500); }
.text-neutral-700 { color: var(--neutral-700); }
.text-neutral-800 { color: var(--neutral-800); }
.text-neutral-900 { color: var(--neutral-900); }

/* ---------- 分类筛选 ---------- */
.filter-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.filter-btn {
  font-size: 14px;
  font-weight: 500;
  padding: 8px 20px;
  border-radius: var(--radius-btn);
  border: 1.5px solid var(--neutral-100);
  background: var(--white);
  color: var(--neutral-700);
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-out);
  font-family: var(--font-family);
}

.filter-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.filter-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

/* ---------- 案例卡片 ---------- */
.case-card {
  background: var(--white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: transform var(--duration-base) var(--ease-out),
              box-shadow var(--duration-base) var(--ease-out);
}

.case-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.case-card-img {
  height: 200px;
  background: var(--neutral-50);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--neutral-300);
  font-size: 14px;
}

.case-card-body {
  padding: 1.5rem;
}

.case-card-brand {
  font-size: 13px;
  font-weight: 500;
  color: var(--accent-gold);
  margin-bottom: 0.5rem;
}

.case-card-title {
  font-size: 17px;
  font-weight: 600;
  color: var(--neutral-900);
  margin-bottom: 0.5rem;
}

.case-card-desc {
  font-size: 14px;
  color: var(--neutral-500);
  line-height: 1.6;
}

/* ---------- 数据亮点 ---------- */
.highlight-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.highlight-item {
  background: var(--white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 2rem;
  text-align: center;
  transition: transform var(--duration-base) var(--ease-out);
}

.highlight-item:hover {
  transform: translateY(-3px);
}

.highlight-number {
  font-size: 42px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.3px;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.highlight-number .unit {
  font-size: 18px;
  font-weight: 500;
  color: var(--accent-gold);
}

.highlight-label {
  font-size: 15px;
  color: var(--neutral-500);
}

@media (max-width: 1023px) {
  .highlight-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .highlight-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- 地图占位 ---------- */
.map-placeholder {
  width: 100%;
  height: 320px;
  background: var(--neutral-50);
  border-radius: var(--radius-card);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--neutral-300);
  font-size: 14px;
}

/* ---------- 工厂展示网格 ---------- */
.factory-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.factory-card {
  background: var(--white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: transform var(--duration-base) var(--ease-out);
}

.factory-card:hover {
  transform: translateY(-3px);
}

.factory-card-img {
  height: 260px;
  background: var(--neutral-50);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--neutral-300);
  font-size: 14px;
}

.factory-card-body {
  padding: 1.5rem;
}

.factory-card-title {
  font-size: 17px;
  font-weight: 600;
  color: var(--neutral-900);
  margin-bottom: 0.375rem;
}

.factory-card-desc {
  font-size: 14px;
  color: var(--neutral-500);
  line-height: 1.6;
}

@media (max-width: 767px) {
  .factory-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- 生产线流程 ---------- */
.process-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.5rem;
  position: relative;
  flex: 1;
  min-width: 140px;
}

.process-step-icon {
  width: 56px;
  height: 56px;
  background: var(--primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 24px;
  margin-bottom: 0.75rem;
}

.process-step-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--neutral-900);
  margin-bottom: 0.25rem;
}

.process-step-desc {
  font-size: 13px;
  color: var(--neutral-500);
}

.process-arrow {
  font-size: 20px;
  color: var(--neutral-300);
  padding: 0 0.5rem;
  align-self: center;
}

@media (max-width: 767px) {
  .process-flow {
    flex-direction: column;
    gap: 0;
  }

  .process-arrow {
    transform: rotate(90deg);
    padding: 0.5rem 0;
  }
}

/* ---------- 联系页双列布局 ---------- */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 2rem;
}

@media (max-width: 1023px) {
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* ---------- 表单选择框 ---------- */
.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2394A3B8' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

/* ---------- 页面 Hero 短版 ---------- */
.hero-page {
  padding-top: 72px;
  min-height: 340px;
}

.hero-page .hero-inner {
  justify-content: center;
}