/* mirror_flow:p6_ai_generated */
/* ========================================
   南京重霸起重设备有限公司 - 主样式表
   Site ID: 224
   模板来源适配
   ======================================== */

/* ---------- CSS 自定义属性 ---------- */
:root {
  /* 品牌色板 */
  --color-primary: #1a5ca8;
  --color-primary-dark: #13427a;
  --color-primary-light: #e8f1fb;
  --color-accent: #e65100;
  --color-accent-hover: #bf4400;

  /* 中性色 */
  --color-text: #333333;
  --color-text-secondary: #666666;
  --color-text-muted: #999999;
  --color-border: #e0e0e0;
  --color-bg: #f5f5f5;
  --color-bg-white: #ffffff;
  --color-bg-footer: #1a1f25;
  --color-bg-dark: #2c333a;

  /* 功能色 */
  --color-success: #2e7d32;
  --color-warning: #f57c00;
  --color-danger: #c62828;

  /* 排版 */
  --font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Helvetica Neue", Arial, sans-serif;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 0.9375rem;
  --font-size-md: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.375rem;
  --font-size-2xl: 1.75rem;
  --font-size-3xl: 2.25rem;
  --line-height: 1.7;

  /* 间距 */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;

  /* 圆角 */
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 10px;
  --radius-round: 50%;

  /* 阴影 */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);
  --shadow-hover: 0 6px 20px rgba(26, 92, 168, 0.15);

  /* 过渡 */
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;

  /* 容器 */
  --container-max: 1260px;
  --container-padding: 1rem;

  /* 断点参考 (用于媒体查询) */
  --bp-xs: 480px;
  --bp-sm: 640px;
  --bp-md: 768px;
  --bp-lg: 992px;
  --bp-xl: 1200px;
  --bp-2xl: 1400px;
}

/* ---------- 全局重置 ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  line-height: var(--line-height);
  color: var(--color-text);
  background-color: var(--color-bg-white);
  min-width: 320px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

article, aside, details, figcaption, figure, footer, header, hgroup, main, nav, section {
  display: block;
}

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

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

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

a:active,
a:focus {
  outline: thin dotted;
  outline-offset: 2px;
}

ul, ol {
  list-style: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
  width: 100%;
}

input, select, textarea, button {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: transparent;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.3;
  color: var(--color-text);
}

/* ---------- 容器与布局 ---------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
}

.container-full {
  width: 100%;
  max-width: 100%;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin-left: -0.75rem;
  margin-right: -0.75rem;
}

[class*="col-"] {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  flex: 0 0 auto;
}

.col-12 { flex: 0 0 100%; max-width: 100%; }
.col-11 { flex: 0 0 91.666667%; max-width: 91.666667%; }
.col-10 { flex: 0 0 83.333333%; max-width: 83.333333%; }
.col-9  { flex: 0 0 75%; max-width: 75%; }
.col-8  { flex: 0 0 66.666667%; max-width: 66.666667%; }
.col-7  { flex: 0 0 58.333333%; max-width: 58.333333%; }
.col-6  { flex: 0 0 50%; max-width: 50%; }
.col-5  { flex: 0 0 41.666667%; max-width: 41.666667%; }
.col-4  { flex: 0 0 33.333333%; max-width: 33.333333%; }
.col-3  { flex: 0 0 25%; max-width: 25%; }
.col-2  { flex: 0 0 16.666667%; max-width: 16.666667%; }

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

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

.flex-column {
  display: flex;
  flex-direction: column;
}

.gap-xs { gap: var(--space-xs); }
.gap-sm { gap: var(--space-sm); }
.gap-md { gap: var(--space-md); }
.gap-lg { gap: var(--space-lg); }
.gap-xl { gap: var(--space-xl); }

/* ---------- 间距工具类 ---------- */
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }
.mt-2xl { margin-top: var(--space-2xl); }
.mt-3xl { margin-top: var(--space-3xl); }

.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }
.mb-2xl { margin-bottom: var(--space-2xl); }
.mb-3xl { margin-bottom: var(--space-3xl); }

.pt-xl { padding-top: var(--space-xl); }
.pt-2xl { padding-top: var(--space-2xl); }
.pt-3xl { padding-top: var(--space-3xl); }
.pb-xl { padding-bottom: var(--space-xl); }
.pb-2xl { padding-bottom: var(--space-2xl); }
.pb-3xl { padding-bottom: var(--space-3xl); }

.section-padding {
  padding-top: var(--space-3xl);
  padding-bottom: var(--space-3xl);
}

/* ---------- 文本排版 ---------- */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.text-primary { color: var(--color-primary); }
.text-accent { color: var(--color-accent); }
.text-muted { color: var(--color-text-muted); }
.text-white { color: #ffffff; }

.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.font-medium { font-weight: 500; }

.text-xs { font-size: var(--font-size-xs); }
.text-sm { font-size: var(--font-size-sm); }
.text-md { font-size: var(--font-size-md); }
.text-lg { font-size: var(--font-size-lg); }
.text-xl { font-size: var(--font-size-xl); }

/* ---------- 板块标题 ---------- */
.section-title {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.section-title h2 {
  font-size: var(--font-size-2xl);
  color: var(--color-text);
  position: relative;
  display: inline-block;
  padding-bottom: var(--space-md);
  margin-bottom: var(--space-sm);
}

.section-title h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background: var(--color-primary);
  border-radius: 2px;
}

.section-title p {
  color: var(--color-text-secondary);
  font-size: var(--font-size-sm);
  margin-top: var(--space-sm);
}

/* 左侧对齐标题变体 */
.section-title-left {
  text-align: left;
}

.section-title-left h2::after {
  left: 0;
  transform: none;
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  padding: 0.625rem 1.5rem;
  font-size: var(--font-size-sm);
  font-weight: 500;
  line-height: 1.5;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  cursor: pointer;
  text-align: center;
  white-space: nowrap;
  border: 1px solid transparent;
  user-select: none;
}

.btn:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.btn-primary {
  background-color: var(--color-primary);
  color: #ffffff;
  border-color: var(--color-primary);
}

.btn-primary:hover {
  background-color: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  color: #ffffff;
}

.btn-accent {
  background-color: var(--color-accent);
  color: #ffffff;
  border-color: var(--color-accent);
}

.btn-accent:hover {
  background-color: var(--color-accent-hover);
  border-color: var(--color-accent-hover);
  color: #ffffff;
}

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

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

.btn-outline-white {
  background-color: transparent;
  color: #ffffff;
  border-color: #ffffff;
}

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

.btn-sm {
  padding: 0.375rem 1rem;
  font-size: var(--font-size-xs);
}

.btn-lg {
  padding: 0.75rem 2rem;
  font-size: var(--font-size-md);
}

.btn-block {
  display: flex;
  width: 100%;
}

/* ---------- 顶部栏 ---------- */
.top-bar {
  background-color: var(--color-bg-dark);
  color: #cccccc;
  font-size: var(--font-size-xs);
  padding: 0.5rem 0;
  line-height: 1.5;
}

.top-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.top-bar a {
  color: #cccccc;
  transition: color var(--transition-fast);
}

.top-bar a:hover {
  color: #ffffff;
}

.top-bar .contact-info {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  flex-wrap: wrap;
}

.top-bar .contact-info span {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.top-bar .contact-info .icon {
  color: var(--color-accent);
}

/* ---------- 主导航 / 头部 ---------- */
.site-header {
  background-color: var(--color-bg-white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  transition: box-shadow var(--transition-base);
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.site-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.site-logo img {
  max-height: 48px;
  width: auto;
}

.site-logo .logo-text {
  font-size: var(--font-size-lg);
  font-weight: 700;
  color: var(--color-text);
  margin-left: var(--space-sm);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 0;
  height: 100%;
}

.main-nav > li {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

.main-nav > li > a {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 1.125rem;
  font-size: var(--font-size-md);
  font-weight: 500;
  color: var(--color-text);
  white-space: nowrap;
  transition: color var(--transition-fast);
  position: relative;
}

.main-nav > li > a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background-color: var(--color-primary);
  transition: width var(--transition-base);
}

.main-nav > li > a:hover,
.main-nav > li.active > a {
  color: var(--color-primary);
}

.main-nav > li > a:hover::after,
.main-nav > li.active > a::after {
  width: 60%;
}

/* 下拉菜单 */
.main-nav .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 180px;
  background-color: var(--color-bg-white);
  box-shadow: var(--shadow-lg);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all var(--transition-base);
  z-index: 999;
  padding: var(--space-sm) 0;
}

.main-nav > li:hover > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.sub-menu li a {
  display: block;
  padding: 0.5rem 1.25rem;
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
  transition: all var(--transition-fast);
}

.sub-menu li a:hover {
  color: var(--color-primary
