/* ========== 蚌埠小咖科技 — 内页统一布局（白底导航 + 详情 + 四栏页脚） ========== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --text: #262626;
  --text-body: #595959;
  --text-muted: #888888;
  --bg-page: #f0f5fa;
  --border: #e8e8e8;
  --footer-bg: #001529;
  --footer-text: #aaaaaa;
  --radius-btn: 6px;
  --nav-height: 72px;
  --nav-bg: rgba(6, 14, 26, 0.92);
  --nav-border: rgba(255, 255, 255, 0.07);
  --nav-glass-border: rgba(255, 255, 255, 0.12);
  --nav-text-dim: rgba(255, 255, 255, 0.48);
}

html { scroll-behavior: auto; height: 100%; }

body.inner-page {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--text-body);
  line-height: 1.7;
  background: var(--bg-page);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding-top: var(--nav-height);
}

a { color: var(--primary); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--primary-dark); }

.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

.home-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ========== 全站统一导航（首页 + 内页，固定顶部） ========== */
.home-header,
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  background: var(--nav-bg);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--nav-border);
}

.site-header > .container {
  max-width: none;
  width: 100%;
  padding: 0;
  margin: 0;
}

.home-nav,
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.home-brand,
.site-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  text-decoration: none;
  color: inherit;
}

.home-brand-icon,
.site-brand-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
  display: block;
}

.home-brand-icon img,
.site-brand-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.home-brand-text strong,
.site-brand-text strong {
  display: block;
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
}

.home-brand-text span,
.site-brand-text span {
  font-size: 11px;
  color: var(--nav-text-dim);
  letter-spacing: 0.5px;
}

.home-menu,
.site-nav {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
  margin: 0;
  padding: 0;
}

.home-menu > li,
.site-nav > li { position: relative; }

.home-menu > li > a,
.site-nav > li > a {
  display: block;
  padding: 10px 14px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}

.home-menu > li > a:hover,
.home-menu > li.active > a,
.site-nav > li > a:hover,
.site-nav > li.active > a {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.home-menu .chevron,
.site-nav .chevron { font-size: 10px; opacity: 0.7; margin-left: 2px; }

.home-dropdown,
.site-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 180px;
  background: rgba(12, 24, 44, 0.96);
  backdrop-filter: blur(16px);
  border: 1px solid var(--nav-glass-border);
  border-radius: 10px;
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.home-menu > li:hover .home-dropdown,
.site-nav > li:hover .site-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.home-dropdown a,
.site-dropdown a {
  display: block;
  padding: 10px 18px;
  color: rgba(255, 255, 255, 0.78) !important;
  font-size: 13px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.home-dropdown a:hover,
.site-dropdown a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff !important;
}

.home-nav-cta,
.header-cta {
  flex-shrink: 0;
  padding: 10px 22px;
  background: var(--primary);
  color: #fff !important;
  font-size: 14px;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: transform 0.2s, background 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}

.home-nav-cta:hover,
.header-cta:hover {
  background: var(--primary-dark);
  transform: scale(1.04);
  color: #fff !important;
}

.home-nav-toggle,
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.home-nav-toggle span,
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  margin: 5px 0;
}

/* ========== 主内容（撑满剩余高度，页脚贴底） ========== */
.inner-main {
  flex: 1;
  padding: 32px 0 48px;
}

.breadcrumb {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 28px;
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb span { margin: 0 6px; color: #ccc; }

.page-title {
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 700;
  color: var(--text);
  line-height: 1.4;
  margin-bottom: 32px;
}

/* 规格信息表 */
.spec-list {
  border-top: 1px solid var(--border);
  margin-bottom: 36px;
}
.spec-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  line-height: 1.7;
}
.spec-row dt {
  font-weight: 600;
  color: var(--text);
}
.spec-row dd { color: var(--text-body); }
.spec-row dd a { color: var(--primary); }

.inner-desc { margin-bottom: 36px; }
.inner-desc p {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.85;
  margin-bottom: 16px;
}
.inner-desc p:last-child { margin-bottom: 0; }

.section-subtitle {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin: 8px 0 24px;
  padding-top: 8px;
  border-top: 1px solid var(--border);
}

.faq-list { margin-bottom: 36px; }
.faq-item {
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}
.faq-item:first-child { padding-top: 0; }
.faq-item:last-child { border-bottom: none; }
.faq-item dt {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 10px;
  line-height: 1.5;
}
.faq-item dd {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.85;
}

.inner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.btn {
  display: inline-block;
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 500;
  border-radius: var(--radius-btn);
  transition: all 0.2s;
  border: 1px solid transparent;
  cursor: pointer;
  line-height: 1.5;
}
.btn-primary {
  background: var(--primary);
  color: #fff !important;
  border-color: var(--primary);
}
.btn-primary:hover {
  background: var(--primary-dark);
  color: #fff !important;
  transform: scale(1.03);
}
.btn-ghost {
  background: #fff;
  color: var(--text) !important;
  border-color: #d9d9d9;
}
.btn-ghost:hover {
  border-color: var(--primary);
  color: var(--primary) !important;
}

/* 列表页卡片网格 */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 8px;
}
.list-card {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px 20px;
  transition: box-shadow 0.2s, border-color 0.2s;
  background: #fff;
}
.list-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  border-color: #d9d9d9;
}
.list-card h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 10px;
}
.list-card p {
  font-size: 13px;
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 16px;
}
.list-card .link-more {
  font-size: 13px;
  font-weight: 500;
}

/* 联系页 */
.contact-block { margin-bottom: 32px; }
.contact-block .phone-big {
  font-size: 36px;
  font-weight: 700;
  color: var(--text);
  margin: 8px 0;
}
.contact-block .phone-big a { color: var(--text); }
.contact-block .phone-big a:hover { color: var(--primary); }

/* ========== 四栏页脚（全站统一） ========== */
.site-footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  padding: 48px 0 0;
  font-size: 13px;
  flex-shrink: 0;
  width: 100%;
}
.site-footer a { color: var(--footer-text); text-decoration: none; }
.site-footer a:hover { color: #ffffff; }
.footer-cols {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px 32px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-col h4 {
  font-size: 15px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 18px;
}
.footer-col p {
  line-height: 1.85;
  margin-bottom: 8px;
  color: var(--footer-text);
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  color: var(--footer-text);
  font-size: 13px;
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: #ffffff; }
.footer-copy {
  padding: 18px 0;
  text-align: center;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
}
.footer-copy .footer-seo {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.32);
  font-size: 11px;
  line-height: 1.6;
}
.footer-copy .icp { margin-top: 4px; }

/* ========== 响应式 ========== */
@media (max-width: 992px) {
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .card-grid { grid-template-columns: 1fr 1fr; }
  .spec-row { grid-template-columns: 100px 1fr; gap: 16px; }
}
@media (max-width: 768px) {
  .home-nav-toggle,
  .nav-toggle { display: block; }
  .home-nav-cta,
  .header-cta { display: none; }
  .home-menu,
  .site-nav {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(10, 22, 40, 0.98);
    backdrop-filter: blur(16px);
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: 0.3s;
    align-items: stretch;
    z-index: 999;
  }
  .home-menu.active,
  .site-nav.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .home-menu > li > a,
  .site-nav > li > a { padding: 14px 24px; border-radius: 0; }
  .home-dropdown,
  .site-dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: rgba(0, 0, 0, 0.2);
    border: none;
    box-shadow: none;
    display: none;
    margin: 0 16px 8px;
  }
  .home-menu > li.open .home-dropdown,
  .site-nav > li.open .site-dropdown { display: block; }
  .footer-cols { grid-template-columns: 1fr; }
  .card-grid { grid-template-columns: 1fr; }
  .spec-row { grid-template-columns: 1fr; gap: 6px; }
  .inner-actions { flex-direction: column; align-items: stretch; }
  .inner-actions .btn { text-align: center; }
}


.field-note {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 8px 0 28px;
  position: relative;
  z-index: 2;
}
.field-note a,
a.ext-link {
  color: var(--primary);
  text-decoration: underline;
  pointer-events: auto;
  position: relative;
  z-index: 2;
}
.field-note a:hover,
a.ext-link:hover {
  color: var(--primary-dark);
}
