/* 贵州华升钢结构有限公司官网样式
   企业蓝主题 · 纯 CSS · 无外部依赖 */

:root {
  --color-primary: #1a5fb4;
  --color-primary-dark: #0f3d75;
  --color-primary-darker: #0a2c56;
  --color-primary-light: #e8f0fa;
  --color-accent: #e8a33d;
  --color-accent-dark: #c8851f;
  --color-text: #2b2f36;
  --color-muted: #5f6673;
  --color-bg: #ffffff;
  --color-bg-alt: #f4f6f9;
  --color-border: #e2e6ec;
  --radius: 10px;
  --shadow: 0 2px 10px rgba(15, 61, 117, 0.08);
  --shadow-hover: 0 6px 20px rgba(15, 61, 117, 0.16);
  --shadow-lift: 0 14px 34px rgba(15, 61, 117, 0.20);
  --container: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text);
  background: var(--color-bg);
}

img {
  max-width: 100%;
  height: auto;
  border: 0;
}

a {
  color: var(--color-primary);
  text-decoration: none;
}

a:hover {
  color: var(--color-primary-dark);
  text-decoration: underline;
}

h1, h2, h3 {
  line-height: 1.3;
  color: var(--color-primary-darker);
}

h1 {
  font-size: 2rem;
  margin: 0 0 1rem;
}

h2 {
  font-size: 1.6rem;
  margin: 0 0 1.2rem;
  padding-bottom: 0.55rem;
  border-bottom: 3px solid var(--color-primary);
  display: inline-block;
  letter-spacing: 1px;
  position: relative;
}

h2 small {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--color-muted);
  letter-spacing: 3px;
  margin-left: 12px;
  text-transform: uppercase;
}

h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 38px;
  height: 3px;
  background: var(--color-accent);
}

h3 {
  font-size: 1.15rem;
  margin: 0 0 0.5rem;
}

p {
  margin: 0 0 1rem;
}

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

.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;
}

/* ---------- 顶部联系条 ---------- */
.topbar {
  background: linear-gradient(90deg, var(--color-primary-darker) 0%, #10355f 60%, var(--color-primary-dark) 100%);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 36px;
  padding-top: 6px;
  padding-bottom: 6px;
}

.topbar-left {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 18px;
  flex: none;
}

.topbar-phone {
  color: var(--color-accent);
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.5px;
}

.topbar-phone:hover {
  color: #f2c069;
  text-decoration: underline;
}

.topbar-slogan {
  color: rgba(255, 255, 255, 0.6);
}

/* ---------- 页头 ---------- */
.site-header {
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 2px 12px rgba(10, 44, 86, 0.06);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  min-height: 68px;
  padding-top: 6px;
  padding-bottom: 6px;
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}

.logo {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  text-decoration: none;
}

.logo:hover {
  text-decoration: none;
}

.logo-text {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 2px;
}

.logo-en {
  font-size: 0.68rem;
  color: var(--color-muted);
  letter-spacing: 4px;
}

.tagline {
  font-size: 0.85rem;
  color: var(--color-muted);
  border-left: 1px solid var(--color-border);
  padding-left: 12px;
}

.main-nav {
  margin-left: auto;
}

.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
}

.main-nav li {
  margin: 0 4px;
}

.main-nav a {
  display: block;
  padding: 10px 14px;
  color: var(--color-text);
  font-weight: 500;
  border-bottom: 3px solid transparent;
  text-decoration: none;
}

.main-nav a:hover {
  color: var(--color-primary);
  text-decoration: none;
}

.main-nav a.active {
  color: var(--color-primary);
  border-bottom-color: var(--color-primary);
  font-weight: 600;
}

/* 汉堡菜单（默认隐藏，移动端启用） */
.nav-toggle {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.nav-toggle-label {
  display: none;
  margin-left: auto;
  padding: 10px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}

.nav-toggle-label span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-primary);
  border-radius: 2px;
}

/* ---------- 面包屑 ---------- */
.breadcrumbs {
  background: var(--color-bg-alt);
  border-bottom: 1px solid var(--color-border);
  font-size: 0.88rem;
}

.breadcrumbs ol {
  list-style: none;
  margin: 0;
  padding: 10px 0;
  display: flex;
  flex-wrap: wrap;
}

.breadcrumbs li {
  color: var(--color-muted);
}

.breadcrumbs li + li::before {
  content: "/";
  margin: 0 8px;
  color: #b6bcc7;
}

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

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(10, 44, 86, 0.92) 0%, rgba(15, 61, 117, 0.62) 45%, rgba(15, 61, 117, 0.18) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 96px;
  padding-bottom: 72px;
  color: #fff;
}

.hero-title {
  color: #fff;
  font-size: 2.7rem;
  letter-spacing: 2px;
  margin: 0 0 1rem;
  text-shadow: 0 3px 14px rgba(0, 0, 0, 0.45);
  border-left: 6px solid var(--color-accent);
  padding-left: 20px;
  line-height: 1.25;
}

.hero-subtitle {
  font-size: 1.2rem;
  margin: 0 0 1.6rem;
  color: rgba(255, 255, 255, 0.94);
  max-width: 640px;
  padding-left: 26px;
}

.hero .btn {
  margin-left: 26px;
}

.hero-simple {
  min-height: 360px;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-darker) 100%);
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-block;
  padding: 11px 30px;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-decoration: none;
  border: 2px solid var(--color-primary);
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-2px);
}

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

.btn-primary {
  background: linear-gradient(135deg, #2f7fd1 0%, var(--color-primary) 55%, var(--color-primary-dark) 100%);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 6px 16px rgba(26, 95, 180, 0.35);
}

.btn-primary:hover {
  box-shadow: 0 10px 24px rgba(26, 95, 180, 0.45);
  color: #fff;
}

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

.btn-outline:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
  box-shadow: 0 8px 20px rgba(26, 95, 180, 0.30);
}

/* ---------- 区块 ---------- */
.section {
  padding: 64px 0;
}

/* 页头区（H1 + 导语）：压缩与下方内容区的空隙 */
.section-page-head {
  padding: 40px 0 0;
}

/* 紧跟页头区的内容区 */
.section-cat {
  padding: 24px 0;
  scroll-margin-top: 110px;
}

/* 深色统计带 */
.section-dark {
  background:
    radial-gradient(1200px 400px at 15% -10%, rgba(47, 127, 209, 0.35) 0%, rgba(47, 127, 209, 0) 60%),
    linear-gradient(135deg, var(--color-primary-darker) 0%, var(--color-primary-dark) 55%, #14477f 100%);
  color: #fff;
}

.section-dark h2 {
  color: #fff;
  border-bottom-color: var(--color-accent);
}

.section-dark h2 small {
  color: rgba(255, 255, 255, 0.55);
}

.section-dark .stat-card {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: none;
  backdrop-filter: blur(2px);
}

.section-dark .stat-card::before {
  background: linear-gradient(90deg, var(--color-accent) 0%, #f2c069 100%);
}

.section-dark .stat-card:hover {
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.35);
}

.section-dark .stat-value {
  color: #fff;
}

.section-dark .stat-value small {
  color: var(--color-accent);
}

.section-dark .stat-label {
  color: rgba(255, 255, 255, 0.72);
}

.section-alt {
  background: linear-gradient(180deg, #eef3fa 0%, var(--color-bg-alt) 60%, #f8fafc 100%);
}

.section-lead {
  font-size: 1.05rem;
  color: var(--color-muted);
}

.section-more {
  margin-top: 28px;
  text-align: center;
}

/* 实体定义首段 */
.entity-definition {
  font-weight: 600;
  font-size: 1.1rem;
  border-left: 5px solid var(--color-accent);
  background: linear-gradient(120deg, var(--color-primary-light) 0%, #f3f8fe 100%);
  padding: 20px 26px;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 0 0 1rem;
  box-shadow: var(--shadow);
}

/* 企业实力：大数字指标卡 */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 12px;
}

.stat-card {
  background: linear-gradient(150deg, #ffffff 0%, #f2f7fd 100%);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 26px 22px 22px;
  text-align: center;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.stat-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary) 0%, #2f7fd1 60%, var(--color-accent) 100%);
}

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

.stat-value {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-primary-dark);
  letter-spacing: 0.5px;
  line-height: 1.2;
}

.stat-value small {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-accent-dark);
  margin-left: 4px;
}

.stat-label {
  display: block;
  margin-top: 8px;
  font-size: 0.92rem;
  color: var(--color-muted);
}

.rich-body p {
  margin-bottom: 1em;
}

/* ---------- 数据面板 / 表格 ---------- */
.table-wrap {
  overflow-x: auto;
}

.data-panel,
.compare-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
}

.data-panel th,
.data-panel td,
.compare-table th,
.compare-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
}

.data-panel th[scope="row"],
.compare-table th[scope="row"] {
  width: 34%;
  color: var(--color-primary-darker);
  font-weight: 600;
  background: var(--color-primary-light);
}

.data-panel tbody tr:nth-child(even) td,
.compare-table tbody tr:nth-child(even) td,
.compare-table tbody tr:nth-child(even) th[scope="row"] {
  background: var(--color-bg-alt);
}

.compare-table thead th {
  background: var(--color-primary);
  color: #fff;
  font-weight: 600;
}

.compare-table tbody th[scope="row"] {
  background: var(--color-primary-light);
}

.data-source {
  font-size: 0.85rem;
  color: var(--color-muted);
  margin-top: 8px;
}

/* ---------- 卡片网格 ---------- */
.card-grid {
  display: grid;
  gap: 24px;
  margin-top: 8px;
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.card-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.card-link:hover {
  text-decoration: none;
}

a.card,
.card .card-link {
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

a.card:hover,
.card:has(.card-link:hover) {
  box-shadow: var(--shadow-lift);
  transform: translateY(-5px);
}

.card-img {
  aspect-ratio: 16 / 9;
  background: var(--color-bg-alt);
  overflow: hidden;
  position: relative;
}

.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

a.card:hover .card-img img,
.card:hover .card-img img {
  transform: scale(1.06);
}

.card-body {
  padding: 16px 18px 20px;
}

.card-body h3,
.card-title {
  margin: 0 0 8px;
  font-size: 1.08rem;
}

.card-body p {
  color: var(--color-muted);
  font-size: 0.95rem;
  margin: 0 0 6px;
}

.card-date {
  display: block;
  font-size: 0.85rem;
  color: var(--color-muted);
  margin-bottom: 6px;
}

.read-more {
  display: inline-block;
  margin-top: 6px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--color-primary);
}

/* 特色卡片（优势 / 文化理念） */
.feature-grid {
  counter-reset: feature-no;
}

.feature-card {
  counter-increment: feature-no;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-top: 4px solid var(--color-primary);
  border-radius: var(--radius);
  padding: 26px 22px 24px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-top-color 0.2s ease;
}

/* 大号背景编号，增强视觉层次 */
.feature-card::after {
  content: counter(feature-no, decimal-leading-zero);
  position: absolute;
  right: 10px;
  top: 2px;
  font-size: 3.2rem;
  font-weight: 800;
  color: rgba(26, 95, 180, 0.08);
  line-height: 1;
  pointer-events: none;
  transition: color 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
  border-top-color: var(--color-accent);
}

.feature-card:hover::after {
  color: rgba(232, 163, 61, 0.22);
}

.feature-card h3 {
  color: var(--color-primary);
}

.feature-card p {
  color: var(--color-muted);
  font-size: 0.95rem;
  margin: 0;
}

/* 亮点列表 */
.highlight-list {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.highlight-list li {
  background: linear-gradient(135deg, #2f7fd1 0%, var(--color-primary) 60%, var(--color-primary-dark) 100%);
  color: #fff;
  font-weight: 600;
  padding: 9px 20px;
  border-radius: 999px;
  font-size: 0.95rem;
  box-shadow: 0 4px 12px rgba(26, 95, 180, 0.30);
}

/* ---------- CTA 咨询横幅 ---------- */
.cta-band {
  background:
    radial-gradient(900px 320px at 85% -20%, rgba(232, 163, 61, 0.25) 0%, rgba(232, 163, 61, 0) 60%),
    linear-gradient(120deg, var(--color-primary-darker) 0%, var(--color-primary-dark) 55%, #14477f 100%);
  color: #fff;
  padding: 46px 0;
}

.cta-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}

.cta-band h2 {
  color: #fff;
  border-bottom-color: var(--color-accent);
  margin-bottom: 0.6rem;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
  max-width: 560px;
}

.cta-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.cta-phone {
  display: flex;
  flex-direction: column;
  color: #fff;
  text-decoration: none;
}

.cta-phone .cta-phone-label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: 2px;
}

.cta-phone .cta-phone-number {
  font-size: 1.9rem;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--color-accent);
  line-height: 1.2;
}

.cta-band .btn {
  border-color: var(--color-accent);
  background: var(--color-accent);
  color: #3d2a05;
  font-weight: 700;
}

.cta-band .btn:hover {
  background: #f2b457;
  border-color: #f2b457;
  color: #2b1d03;
}

/* 服务流程 */
.steps {
  list-style: none;
  counter-reset: step;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.steps li {
  counter-increment: step;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 14px 18px 14px 52px;
  position: relative;
  font-weight: 600;
  box-shadow: var(--shadow);
  flex: 1 1 160px;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 服务流程（箭头流程图） */
.flow-steps {
  list-style: none;
  counter-reset: flow-step;
  margin: 0;
  padding: 14px 0;
  display: flex;
  gap: 8px;
}

.flow-steps li {
  counter-increment: flow-step;
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 18px 26px;
  text-align: center;
  color: #fff;
  background: linear-gradient(
    135deg,
    #2f7fd1 0%,
    var(--color-primary) 45%,
    var(--color-primary-dark) 100%
  );
  /* 右端箭头 + 左端燕尾缺口 */
  clip-path: polygon(
    0 0,
    calc(100% - 20px) 0,
    100% 50%,
    calc(100% - 20px) 100%,
    0 100%,
    20px 50%
  );
  transition: filter 0.2s ease;
}

/* 第一个节点左端为平边 */
.flow-steps li:first-child {
  clip-path: polygon(
    0 0,
    calc(100% - 20px) 0,
    100% 50%,
    calc(100% - 20px) 100%,
    0 100%
  );
}

.flow-steps li:hover {
  filter: brightness(1.12);
}

.flow-steps li::before {
  content: counter(flow-step);
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  border: 1.5px solid rgba(255, 255, 255, 0.75);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.flow-step-label {
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.4;
}

/* 客户名单 */
.client-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.client-list li {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 14px 26px;
  font-weight: 600;
  color: var(--color-primary-darker);
  box-shadow: var(--shadow);
  flex: 0 1 auto;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.client-list li:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
  border-color: var(--color-primary);
}

/* 资质证书 */
.qualification-grid figure {
  margin: 0;
}

.qualification-item {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.qualification-item img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: contain;
  background: var(--color-bg-alt);
  display: block;
}

.qualification-item figcaption {
  padding: 10px;
  text-align: center;
  font-size: 0.9rem;
  color: var(--color-muted);
}

/* 产品卡片 */
.tier-badge {
  display: inline-block;
  background: var(--color-primary);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 2px 10px;
  border-radius: 999px;
  margin-left: 8px;
  vertical-align: middle;
}

.selling-points {
  margin: 8px 0 0;
  padding-left: 1.2em;
  color: var(--color-muted);
  font-size: 0.95rem;
}

.selling-points li {
  margin-bottom: 4px;
}

/* 产品分类锚点导航 */
.cat-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.cat-nav a {
  display: inline-block;
  padding: 8px 20px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: var(--color-bg);
  color: var(--color-primary-darker);
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: var(--shadow);
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.cat-nav a:hover {
  background: linear-gradient(135deg, #2f7fd1 0%, var(--color-primary) 60%, var(--color-primary-dark) 100%);
  border-color: transparent;
  color: #fff;
  text-decoration: none;
  transform: translateY(-2px);
}

/* ---------- 产品详情页 ---------- */
.product-detail {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 36px;
  align-items: start;
}

.product-gallery {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-hover);
  border: 1px solid var(--color-border);
  background: var(--color-bg-alt);
}

.product-gallery img {
  width: 100%;
  display: block;
}

.product-info h2 {
  margin-top: 0;
}

.selling-points-lg {
  font-size: 1.02rem;
  color: var(--color-text);
  margin-top: 14px;
}

.selling-points-lg li {
  margin-bottom: 10px;
  padding-left: 4px;
}

.selling-points-lg li::marker {
  color: var(--color-accent);
}

.product-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 26px;
}

.product-desc {
  margin-top: 40px;
  border-top: 1px solid var(--color-border);
  padding-top: 28px;
}

/* 案例详情图集 */
.case-gallery {
  margin-top: 36px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.gallery-item {
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--color-border);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gallery-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lift);
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

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

/* 案例卡片 */
.case-meta {
  margin: 0 0 6px;
}

.case-tag {
  display: inline-block;
  background: var(--color-primary-light);
  color: var(--color-primary-dark);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 2px 10px;
  border-radius: 999px;
  margin-right: 8px;
}

.case-region {
  font-size: 0.85rem;
  color: var(--color-muted);
}

/* ---------- FAQ ---------- */
.faq-group {
  margin-bottom: 32px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: box-shadow 0.2s ease;
}

.faq-item:hover {
  box-shadow: var(--shadow-hover);
}

.faq-item summary {
  cursor: pointer;
  padding: 14px 48px 14px 18px;
  font-weight: 600;
  color: var(--color-primary-darker);
  position: relative;
  list-style: none;
  transition: background 0.2s ease;
}

.faq-item summary:hover {
  background: var(--color-primary-light);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "";
  position: absolute;
  right: 18px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--color-primary);
  border-bottom: 2px solid var(--color-primary);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  transform: translateY(-30%) rotate(225deg);
}

.faq-item[open] summary {
  border-bottom: 1px solid var(--color-border);
  background: var(--color-primary-light);
}

.faq-answer {
  padding: 14px 18px;
  color: var(--color-text);
  white-space: pre-line;
}

/* ---------- 联系页 ---------- */
.visit-note {
  background: var(--color-primary-light);
  border: 1px solid #c9dbf1;
  border-left: 4px solid var(--color-primary);
  border-radius: var(--radius);
  padding: 24px 28px;
}

.visit-note h2 {
  border-bottom: 0;
  padding-bottom: 0;
  margin-bottom: 0.6rem;
}

.visit-note p {
  margin: 0;
}

/* ---------- 文章页 ---------- */
.article-meta {
  color: var(--color-muted);
  font-size: 0.92rem;
}

.article-cover {
  margin: 16px 0 24px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.article-cover img {
  width: 100%;
  display: block;
}

.article-body p {
  line-height: 1.9;
  margin-bottom: 1.1em;
}

.related-articles {
  margin-top: 40px;
  border-top: 1px solid var(--color-border);
  padding-top: 24px;
}

.related-articles ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.related-articles li {
  padding: 8px 0;
  border-bottom: 1px dashed var(--color-border);
}

.back-link {
  margin-top: 24px;
}

/* ---------- 留资表单 ---------- */
.lead-section {
  background: linear-gradient(120deg, var(--color-primary-darker) 0%, var(--color-primary-dark) 55%, #14477f 100%);
  color: #fff;
}

.lead-section h2 {
  margin-bottom: 8px;
  color: #fff;
  border-bottom-color: var(--color-accent);
}

.lead-section .section-lead {
  color: rgba(255, 255, 255, 0.82);
}

.lead-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr 2fr auto;
  gap: 12px;
  margin-top: 16px;
  align-items: center;
}

.lead-form input {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  font-size: 0.95rem;
  background: #fff;
}

.lead-form input:focus {
  outline: 2px solid var(--color-primary);
  outline-offset: 1px;
  border-color: var(--color-primary);
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

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

/* ---------- 页脚 ---------- */
.site-footer {
  background: linear-gradient(180deg, #0d3560 0%, var(--color-primary-darker) 100%);
  color: rgba(255, 255, 255, 0.85);
  border-top: 4px solid var(--color-accent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 32px;
  padding-top: 40px;
  padding-bottom: 32px;
}

.footer-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.footer-slogan {
  color: rgba(255, 255, 255, 0.65);
}

.footer-title {
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}

.footer-links ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 16px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.85);
}

.footer-links a:hover {
  color: #fff;
}

.footer-col p {
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding: 14px 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-bottom .container {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}

/* ---------- 响应式 ---------- */
@media (max-width: 1023px) {
  .grid-4,
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .flow-steps li {
    padding: 14px 18px;
    gap: 6px;
  }

  .flow-steps li::before {
    width: 26px;
    height: 26px;
    font-size: 0.85rem;
  }

  .flow-step-label {
    font-size: 0.88rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero {
    min-height: 380px;
  }

  .hero-title {
    font-size: 2rem;
  }
}

@media (max-width: 767px) {
  .topbar-inner {
    justify-content: center;
    text-align: center;
  }

  .topbar-slogan {
    display: none;
  }

  .header-inner {
    min-height: 60px;
  }

  .tagline {
    display: none;
  }

  .nav-toggle-label {
    display: flex;
  }

  .main-nav {
    display: none;
    width: 100%;
    margin-left: 0;
    border-top: 1px solid var(--color-border);
    margin-top: 6px;
  }

  .nav-toggle:checked ~ .main-nav {
    display: block;
  }

  .main-nav ul {
    flex-direction: column;
    padding: 8px 0;
  }

  .main-nav li {
    margin: 0;
  }

  .main-nav a {
    padding: 12px 6px;
    border-bottom: none;
    border-left: 3px solid transparent;
  }

  .main-nav a.active {
    border-left-color: var(--color-primary);
    background: var(--color-primary-light);
  }

  .grid-4,
  .grid-3,
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 300px;
  }

  .hero-title {
    font-size: 1.7rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .section {
    padding: 36px 0;
  }

  h1 {
    font-size: 1.6rem;
  }

  h2 {
    font-size: 1.3rem;
  }

  .steps li {
    flex: 1 1 100%;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .stat-card {
    padding: 18px 12px 16px;
  }

  .stat-value {
    font-size: 1.5rem;
  }

  /* 箭头流程图：窄屏改为纵向向下箭头 */
  .flow-steps {
    flex-direction: column;
    gap: 6px;
    padding: 0;
  }

  .flow-steps li,
  .flow-steps li:first-child {
    flex-direction: row;
    justify-content: flex-start;
    gap: 14px;
    padding: 14px 24px 28px;
    text-align: left;
    clip-path: polygon(
      0 0,
      100% 0,
      100% calc(100% - 18px),
      50% 100%,
      0 calc(100% - 18px)
    );
  }

  .flow-step-label {
    font-size: 1rem;
  }

  .data-panel th[scope="row"],
  .compare-table th[scope="row"] {
    width: 40%;
  }
}
