/* =====================================================
   菌鲜制冷 · meshiot 风格（Tailwind 色板 · 蓝白清爽风）
   ===================================================== */
:root {
  /* 灰阶 */
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-400: #9ca3af;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  /* 蓝色 */
  --blue-50: #eff6ff;
  --blue-100: #dbeafe;
  --blue-600: #2563eb;
  --blue-800: #1e40af;
  /* 绿 / 紫 / 橙 */
  --green-50: #f0fdf4;  --green-100: #dcfce7;  --green-500: #22c55e;  --green-600: #16a34a;
  --purple-50: #faf5ff; --purple-100: #f3e8ff; --purple-500: #a855f7;
  --orange-50: #fff7ed; --orange-100: #ffedd5; --orange-500: #f97316;
  --radius-xl: 12px;
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,.1), 0 2px 4px -2px rgba(0,0,0,.1);
  --shadow-sm: 0 1px 3px rgba(0,0,0,.1), 0 1px 2px -1px rgba(0,0,0,.1);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,.1), 0 4px 6px -4px rgba(0,0,0,.1);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  background: var(--gray-50);
  color: var(--gray-900);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
.wrap { width: min(80rem, 100% - 2rem); margin: 0 auto; }
@media (min-width: 640px) { .wrap { width: min(80rem, 100% - 3rem); } }

/* ===== 顶部导航（meshiot 同款） ===== */
.site-nav {
  position: fixed; top: 0; right: 0; left: 0; z-index: 50;
  background: #fff; box-shadow: var(--shadow-md);
}
.nav-inner {
  width: min(80rem, 100% - 2rem); margin: 0 auto;
  min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
@media (min-width: 640px) { .nav-inner { width: min(80rem, 100% - 3rem); } }
.brand { display: flex; align-items: center; gap: .6rem; font-size: 1.1rem; font-weight: 700; color: var(--gray-700); }
.brand-logo {
  width: 30px; height: 30px; object-fit: contain; flex: none;
}
.brand-text small {
  display: block; font-size: 10px; font-weight: 500;
  letter-spacing: .08em; color: var(--gray-400); line-height: 1.2;
}
/* 桌面端：横向链接 + 悬停下拉 */
.nav-desktop { display: none; align-items: center; gap: 1.5rem; }
@media (min-width: 1024px) { .nav-desktop { display: flex; } }
.nav-item {
  display: inline-flex; align-items: center; gap: .25rem;
  color: var(--gray-700); font-size: 15px; background: none; border: 0;
  font: inherit; cursor: pointer; padding: 0; white-space: nowrap;
}
.nav-item-blue { color: var(--blue-600); font-weight: 600; }
.nav-item:hover { color: var(--blue-600); }
.nav-item svg { width: .8em; height: .8em; fill: currentColor; }
.nav-drop { position: relative; padding-bottom: 8px; }
.dropdown {
  position: absolute; top: 100%; left: 0; display: none;
  width: 12rem; background: #fff; border-radius: 8px;
  box-shadow: var(--shadow-lg); padding: .5rem 0; z-index: 60;
}
.nav-drop:hover .dropdown,
.nav-drop:focus-within .dropdown { display: block; }
.dropdown a {
  display: flex; align-items: center; gap: .45rem;
  padding: .5rem 1rem; font-size: 14px; color: var(--gray-700); white-space: nowrap;
}
.dropdown a:hover { background: var(--blue-50); color: var(--blue-600); }
/* 移动端：details 折叠面板 */
.nav-details { position: static; }
@media (min-width: 1024px) { .nav-details { display: none; } }
.nav-summary {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; cursor: pointer; list-style: none;
  color: var(--gray-700); font-size: 24px;
}
.nav-summary::-webkit-details-marker { display: none; }
.nav-summary svg { width: 1em; height: 1em; fill: currentColor; }
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.nav-panel {
  position: fixed; top: 64px; left: 0; right: 0;
  max-height: 80vh; overflow-y: auto;
  background: #fff; border-top: 1px solid var(--gray-100);
  box-shadow: var(--shadow-lg);
}
.nav-panel-inner { display: grid; gap: .5rem; padding: .75rem 1rem; }
.np-title { font-weight: 600; color: var(--gray-700); font-size: 15px; }
.np-list { padding-left: 1rem; }
.np-list a {
  display: flex; align-items: center; gap: .45rem;
  padding: .25rem 0; color: var(--gray-600); font-size: 14.5px;
}
.np-link { display: block; padding: .5rem 0; color: var(--gray-700); font-size: 15px; }
.np-link-blue { font-weight: 600; color: var(--blue-600); }
.np-ico { width: 1.15em; text-align: center; font-size: .95em; flex: none; }
.np-ico.blue { color: var(--blue-600); }
.np-ico.green { color: var(--green-600); }
.np-ico.purple { color: var(--purple-500); }
.np-ico.orange { color: var(--orange-500); }

/* ===== Hero：蓝色渐变居中 ===== */
.hero {
  background: linear-gradient(135deg, var(--blue-600), var(--blue-800));
  color: #fff; text-align: center;
  padding: 6rem 1.5rem 5rem;
  margin-top: 64px;
}

/* ===== Hero 轮播（首页） ===== */
.hero-carousel { position: relative; padding: 0; overflow: hidden; }
.hero-slides { display: grid; }
.hero-slide {
  grid-area: 1 / 1;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .6s ease, visibility .6s;
}
.hero-slide.active { opacity: 1; visibility: visible; pointer-events: auto; }
.hero-slide-text { padding: 6rem 1.5rem 5rem; }
.hero-slide-img { display: flex; }
.hero-slide-img img {
  display: block; width: 100%; height: 100%; object-fit: cover; object-position: center;
}
.hero-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 2.75rem; height: 2.75rem; border: none; border-radius: 999px;
  display: grid; place-items: center; cursor: pointer;
  background: rgba(255,255,255,.85); color: var(--gray-700);
  box-shadow: var(--shadow-md); transition: background .2s, transform .2s;
  z-index: 2;
}
.hero-arrow:hover { background: #fff; }
.hero-arrow svg { width: 1.5rem; height: 1.5rem; }
.hero-prev { left: .75rem; }
.hero-next { right: .75rem; }
.hero-dots {
  position: absolute; left: 0; right: 0; bottom: 1.25rem;
  display: flex; justify-content: center; gap: .6rem; z-index: 2;
}
.hero-dot {
  width: .65rem; height: .65rem; border: none; border-radius: 999px;
  background: rgba(255,255,255,.5); cursor: pointer; padding: 0;
  transition: background .2s, width .2s;
}
.hero-dot.active { background: #fff; width: 1.5rem; }
@media (max-width: 640px) {
  .hero-arrow { width: 2.25rem; height: 2.25rem; }
  .hero-arrow svg { width: 1.15rem; height: 1.15rem; }
  /* 手机端：图片裁切显示中间主体，充满 hero 区域 */
  .hero-slide-img img { height: 100%; object-fit: cover; object-position: center; }
  .hero-slide-text { padding: 4rem 1.25rem 3.5rem; }
}
.hero-inner { max-width: 60rem; margin: 0 auto; }
.hero h1 {
  font-size: clamp(1.5rem, 4.2vw, 3.4rem);
  font-weight: 700; line-height: 1.2; margin-bottom: 1.5rem;
}
.hero-sub {
  font-size: clamp(1rem, 2.2vw, 1.4rem);
  color: var(--blue-100); font-weight: 700; margin-bottom: 1rem;
}
.hero-actions {
  display: flex; flex-direction: column; justify-content: center; gap: 1rem;
  margin-top: 2rem;
}
@media (min-width: 640px) { .hero-actions { flex-direction: row; } }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .75rem 2rem; border-radius: 8px; font-weight: 600; transition: .2s;
}
.btn-white { background: #fff; color: var(--blue-600); }
.btn-white:hover { background: var(--gray-100); }
.btn-outline { border: 2px solid #fff; color: #fff; }
.btn-outline:hover { background: #fff; color: var(--blue-600); }

/* ===== 分区通用 ===== */
.sec { padding: 2.5rem 0 3.5rem; }
@media (min-width: 768px) { .sec { padding: 2.5rem 0 4rem; } }
.sec-white { background: #fff; }
.sec-gray { background: var(--gray-50); }
.sec-inner { width: min(80rem, 100% - 2rem); margin: 0 auto; padding-top: 2rem; }
@media (min-width: 640px) { .sec-inner { width: min(80rem, 100% - 3rem); } }
.sec-head { text-align: center; margin-bottom: 3rem; }
.sec-head h2 {
  font-size: clamp(1.4rem, 3vw, 2.2rem); font-weight: 700;
  color: var(--gray-900); margin-bottom: 1rem;
}
.sec-sub { font-size: clamp(1rem, 2vw, 1.2rem); color: var(--gray-600); font-weight: 700; }

/* 绿色引导胶囊按钮（meshiot 风格） */
.sec-pill-wrap { display: flex; justify-content: center; margin-top: 2rem; }
.sec-pill {
  display: inline-flex; align-items: center; gap: .4rem;
  background: #fff; border: 1px solid var(--green-100);
  box-shadow: var(--shadow-md); border-radius: 12px;
  padding: 1rem 2rem; transition: .2s;
}
.sec-pill:hover { border-color: var(--green-600); box-shadow: var(--shadow-lg); }
.sec-pill span { font-weight: 700; color: var(--green-600); font-size: 1.05rem; }
.sec-pill svg { width: 1em; height: 1em; fill: var(--green-600); }

/* ===== 卡片（产品等） ===== */
.card-grid {
  display: grid; grid-template-columns: 1fr; gap: 2rem;
}

/* ===== 客户案例（图片组） ===== */
.case-group { margin-top: 3rem; }
.case-group:first-of-type { margin-top: 0; }
.case-group-title {
  font-size: 1.35rem; font-weight: 700; color: var(--gray-800);
  display: flex; align-items: center; gap: .75rem;
}
.case-group-title::before {
  content: ""; width: 6px; height: 1.5rem; border-radius: 3px; flex: none;
  background: linear-gradient(180deg, var(--blue-600), var(--blue-800));
}
.case-group-sub { margin-top: .5rem; color: var(--gray-600); line-height: 1.7; }
.case-photo-grid {
  margin-top: 1.25rem;
  display: grid; grid-template-columns: 1fr; gap: 1.25rem;
}
@media (min-width: 640px) { .case-photo-grid { grid-template-columns: repeat(3, 1fr); } }
.case-photo {
  background: var(--gray-50); border-radius: var(--radius-xl); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: box-shadow .25s, transform .25s;
}
.case-photo:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.case-photo img {
  display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
}
.case-photo figcaption {
  padding: .75rem 1rem; font-size: .9rem; color: var(--gray-600); text-align: center;
}
@media (min-width: 768px) { .card-grid { grid-template-columns: repeat(3, 1fr); } }
.card {
  background: var(--gray-50); border-radius: var(--radius-xl);
  overflow: hidden; transition: box-shadow .25s;
  display: flex; flex-direction: column;
}
.card:hover { box-shadow: var(--shadow-lg); }
.card-banner {
  display: flex; height: 12rem; align-items: center; justify-content: center;
  font-size: 4rem; color: #fff;
}
.card-banner.card-banner-img {
  background: #fff;
  padding: 1rem;
}
.card-banner img {
  width: 100%; height: 100%; object-fit: contain; display: block;
}
.card-banner.from-green { background: linear-gradient(135deg, #4ade80, var(--green-600)); }
.card-banner.from-blue { background: linear-gradient(135deg, #60a5fa, var(--blue-600)); }
.card-banner.from-purple { background: linear-gradient(135deg, #c084fc, var(--purple-500)); }
.card-banner.from-orange { background: linear-gradient(135deg, #fb923c, var(--orange-500)); }
.card-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.card-body h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: .75rem; }
.card-body h3 a:hover { color: var(--blue-600); text-decoration: underline; }
.card-body p { color: var(--gray-600); margin-bottom: 1rem; flex: 1; }
.card-more { font-weight: 600; color: var(--blue-600); }
.card-more:hover { text-decoration: underline; }

/* ===== 渐变功能卡（圆形彩图标） ===== */
.feature-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 768px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .feature-grid { grid-template-columns: repeat(4, 1fr); } }
.feature-card { border-radius: var(--radius-xl); padding: 1.5rem; transition: .25s; }
.feature-card:hover { box-shadow: var(--shadow-lg); }
.feature-card.tint-green { background: linear-gradient(135deg, var(--green-50), var(--green-100)); }
.feature-card.tint-blue { background: linear-gradient(135deg, var(--blue-50), var(--blue-100)); }
.feature-card.tint-purple { background: linear-gradient(135deg, var(--purple-50), var(--purple-100)); }
.feature-card.tint-orange { background: linear-gradient(135deg, var(--orange-50), var(--orange-100)); }
.feature-icon {
  display: flex; width: 4rem; height: 4rem; align-items: center;
  justify-content: center; border-radius: 9999px;
  color: #fff; font-size: 1.6rem; margin-bottom: 1rem;
}
.feature-icon.bg-green { background: var(--green-500); }
.feature-icon.bg-blue { background: var(--blue-600); }
.feature-icon.bg-purple { background: var(--purple-500); }
.feature-icon.bg-orange { background: var(--orange-500); }
.feature-card h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: .75rem; }
.feature-card p { color: var(--gray-600); font-size: .95rem; }

/* ===== 圆形图标网格（优势/流程） ===== */
.icon-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 768px) { .icon-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .icon-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .icon-grid.icon-grid-5 { grid-template-columns: repeat(5, 1fr); } }
.icon-item { text-align: center; }
.icon-circle {
  display: flex; width: 5rem; height: 5rem; margin: 0 auto 1rem;
  align-items: center; justify-content: center;
  border-radius: 9999px; background: var(--blue-100);
  color: var(--blue-600); font-size: 1.9rem; font-weight: 700;
}
.icon-item h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: .75rem; }
.icon-item p { color: var(--gray-600); font-size: .95rem; }

/* ===== 参数表 ===== */
.filter-bar { display: flex; justify-content: center; gap: .75rem; margin-bottom: 1.75rem; flex-wrap: wrap; }
.filter-btn {
  padding: .5rem 1.25rem; border-radius: 8px; cursor: pointer;
  border: 1px solid var(--gray-100); background: #fff;
  color: var(--gray-700); font-size: 14.5px; transition: .2s;
}
.filter-btn:hover { color: var(--blue-600); border-color: var(--blue-100); }
.filter-btn.active { background: var(--blue-600); border-color: var(--blue-600); color: #fff; }
.table-wrap {
  overflow-x: auto; background: #fff; border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  -webkit-overflow-scrolling: touch; /* iOS 顺滑滚动 */
}
.spec-table { width: 100%; border-collapse: collapse; min-width: 720px; font-size: 14.5px; white-space: nowrap; }
.spec-table th {
  background: var(--blue-600); color: #fff; text-align: left;
  padding: .85rem 1.1rem; font-weight: 600; letter-spacing: .5px;
}
.spec-table td { padding: .75rem 1.1rem; border-bottom: 1px solid var(--gray-100); color: var(--gray-700); }
/* 手机端：表格不再横向滚动，列头/单元格自动换行压缩显示；次要列隐藏 */
@media (max-width: 767px) {
  .spec-table { min-width: 0; white-space: normal; font-size: 12.5px; }
  .spec-table th, .spec-table td {
    padding: .5rem .4rem;
    white-space: normal;
    word-break: break-word;
  }
  .spec-table .hide-sm { display: none; }
}
.spec-table tbody tr:nth-child(even) { background: var(--gray-50); }
.spec-table tbody tr:hover { background: var(--blue-50); }
.spec-table td:first-child { font-weight: 600; color: var(--gray-900); }
.tag { display: inline-block; font-size: 12px; padding: 2px 10px; border-radius: 999px; }
.tag.hot { background: var(--orange-100); color: #c2410c; }
.tag.cold { background: var(--blue-100); color: var(--blue-600); }
.table-empty { text-align: center; color: var(--gray-600); padding: 2.5rem 0; }
.card-tags { font-size: .85rem; color: var(--gray-400); }
.table-note { text-align: center; color: var(--gray-600); font-size: 13.5px; margin-top: 1rem; }

/* ===== 图片展示区（客户现场） ===== */
.gallery-grid {
  display: grid; grid-template-columns: 1fr; gap: 1.25rem;
}
@media (min-width: 640px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
.gallery-item {
  background: var(--gray-50); border-radius: var(--radius-xl); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: box-shadow .25s, transform .25s;
}
.gallery-item:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.gallery-item img {
  display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
}
.gallery-item figcaption {
  padding: .7rem 1rem; font-size: .9rem; color: var(--gray-600); text-align: center;
}

/* ===== CTA 蓝色横幅 ===== */
.cta-band { background: var(--blue-600); color: #fff; padding: 4rem 1.5rem; text-align: center; }
.cta-inner h2 { font-size: clamp(1.4rem, 3vw, 2.2rem); font-weight: 700; margin-bottom: 1rem; }
.cta-inner p { font-size: 1.2rem; color: var(--blue-100); margin-bottom: 2rem; }
.cta-inner a {
  display: inline-block; background: #fff; color: var(--blue-600);
  border-radius: 8px; padding: .75rem 2rem; font-weight: 600; transition: .2s;
}
.cta-inner a:hover { background: var(--gray-100); }

/* ===== 页脚 ===== */
.site-footer { background: var(--gray-900); color: #fff; padding: 3rem 0 0; margin-top: 4rem; }
.footer-inner {
  width: min(80rem, 100% - 2rem); margin: 0 auto;
  display: grid; grid-template-columns: 1fr; gap: 2rem;
}
@media (min-width: 640px) { .footer-inner { width: min(80rem, 100% - 3rem); } }
@media (min-width: 768px) { .footer-inner { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-inner { grid-template-columns: repeat(4, 1fr); } }
.site-footer h4 { font-size: 1.1rem; font-weight: 700; margin-bottom: 1rem; }
.site-footer p, .site-footer li { color: var(--gray-400); font-size: .9rem; margin-bottom: .5rem; }
.site-footer a:hover { color: #fff; }
.footer-bottom {
  margin-top: 2rem; border-top: 1px solid var(--gray-800);
  padding: 2rem 1.5rem; text-align: center; color: var(--gray-400); font-size: .85rem;
}

/* ===== 方舱页专属 ===== */
.cabin-hero {
  background: linear-gradient(135deg, var(--blue-600), var(--blue-800));
  color: #fff; text-align: center; padding: 5rem 1.5rem 4.5rem; margin-top: 64px;
}
.cabin-hero h1 { font-size: clamp(1.6rem, 4vw, 3rem); font-weight: 700; margin-bottom: 1rem; }
.cabin-hero .eyebrow {
  display: inline-block; border: 1px solid rgba(255,255,255,.4);
  border-radius: 999px; padding: .4rem 1rem; font-size: .85rem; font-weight: 600;
  color: var(--blue-100); margin-bottom: 1.25rem;
}
.cabin-hero .hero-sub { font-weight: 400; }
.hub-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-top: 2.5rem; }
@media (min-width: 768px) { .hub-grid { grid-template-columns: repeat(4, 1fr); } }
.hub-item {
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2);
  border-radius: 12px; padding: 1.25rem 1rem;
}
.hub-item b { display: block; font-size: 1.05rem; margin-bottom: .35rem; }
.hub-item span { font-size: .85rem; color: var(--blue-100); }
.text-panel-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 768px) { .text-panel-grid { grid-template-columns: 1fr 1fr; } }
.text-panel {
  background: var(--gray-50); border-radius: var(--radius-xl);
  padding: 1.75rem; transition: .25s;
}
.text-panel:hover { box-shadow: var(--shadow-lg); }
.text-panel h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: .75rem; }
.text-panel p { color: var(--gray-600); font-size: .95rem; margin-bottom: .75rem; }
.text-panel ul { padding-left: 1.25rem; list-style: disc; }
.text-panel li { color: var(--gray-600); font-size: .95rem; margin: .5rem 0; }
.faq-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 768px) { .faq-grid { grid-template-columns: repeat(2, 1fr); } }
.faq-card {
  background: var(--gray-50); border-radius: var(--radius-xl);
  padding: 1.5rem; transition: .25s;
}
.faq-card:hover { box-shadow: var(--shadow-lg); }
.faq-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: .6rem; }
.faq-card p { color: var(--gray-600); font-size: .95rem; }
