/* ==========================================================================
   四川艾蓝环保设备有限公司 · 官网样式表
   设计基调：简约大气 / 商务可信 / 蓝绿双色环保识别
   ========================================================================== */

:root {
  --ink: #0a1f33;
  --navy: #0e3a5c;
  --navy-deep: #08243d;
  --blue: #1466a5;
  --blue-dark: #0d4e80;
  --blue-soft: #eaf2f9;
  --green: #17a673;
  --green-dark: #10835a;
  --green-soft: #e8f7f1;
  --amber: #e08a1e;
  --amber-soft: #fdf3e3;
  --bg: #ffffff;
  --bg-soft: #f5f8fb;
  --bg-mist: #eef3f8;
  --line: #e4ebf2;
  --line-strong: #cfdce7;
  --text: #16283a;
  --text-soft: #3d556b;
  --muted: #6b8296;
  --white: #ffffff;

  --shadow-sm: 0 1px 2px rgba(14, 58, 92, 0.06), 0 2px 8px rgba(14, 58, 92, 0.05);
  --shadow-md: 0 4px 12px rgba(14, 58, 92, 0.07), 0 12px 32px rgba(14, 58, 92, 0.07);
  --shadow-lg: 0 18px 48px rgba(14, 58, 92, 0.12);

  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;

  --maxw: 1200px;
  --header-h: 72px;

  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC",
    "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink);
  letter-spacing: -0.01em;
}

h1 {
  font-size: 40px;
}
h2 {
  font-size: 30px;
}
h3 {
  font-size: 19px;
}
h4 {
  font-size: 16px;
}

p {
  margin: 0 0 1em;
}

a {
  color: var(--blue);
  text-decoration: none;
  transition: color 0.18s ease;
}

a:hover {
  color: var(--green);
}

img {
  max-width: 100%;
  display: block;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

li {
  list-style: none;
}

svg {
  display: block;
}

::selection {
  background: var(--green);
  color: #fff;
}

/* ------------------------------ 布局 ------------------------------ */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 84px 0;
}

.section--soft {
  background: var(--bg-soft);
}

.section--mist {
  background: var(--bg-mist);
}

.section--deep {
  background: linear-gradient(145deg, var(--navy-deep), var(--navy) 55%, #123f63);
  color: rgba(255, 255, 255, 0.82);
}

.section--deep h2,
.section--deep h3 {
  color: #fff;
}

.section--tight {
  padding: 60px 0;
}

/* ------------------------------ 标题组 ------------------------------ */
.sec-head {
  max-width: 720px;
  margin-bottom: 48px;
}

.sec-head--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 14px;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--green);
  border-radius: 2px;
}

.sec-head--center .eyebrow::after {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--green);
  border-radius: 2px;
}

.sec-head p {
  margin: 14px 0 0;
  font-size: 16px;
  color: var(--muted);
  line-height: 1.85;
}

.section--deep .sec-head p {
  color: rgba(255, 255, 255, 0.7);
}

/* ------------------------------ 按钮 ------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: var(--r-sm);
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  text-decoration: none;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 6px 18px rgba(20, 102, 165, 0.25);
}

.btn-primary:hover {
  background: var(--blue-dark);
  color: #fff;
  box-shadow: 0 10px 26px rgba(20, 102, 165, 0.32);
}

.btn-green {
  background: var(--green);
  color: #fff;
  box-shadow: 0 6px 18px rgba(23, 166, 115, 0.25);
}

.btn-green:hover {
  background: var(--green-dark);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}

.btn-ghost:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: var(--blue-soft);
}

.btn-light {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.34);
  backdrop-filter: blur(6px);
}

.btn-light:hover {
  background: #fff;
  color: var(--navy);
}

.btn-sm {
  height: 36px;
  padding: 0 16px;
  font-size: 14px;
}

.btn-block {
  width: 100%;
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* ------------------------------ 顶部信息条 ------------------------------ */
.topbar {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  height: 38px;
  display: flex;
  align-items: center;
}

.topbar .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.topbar-list {
  display: flex;
  gap: 24px;
  align-items: center;
}

.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.topbar-item svg {
  width: 14px;
  height: 14px;
  opacity: 0.72;
}

.topbar-item strong {
  color: #fff;
  font-weight: 600;
}

.topbar a {
  color: rgba(255, 255, 255, 0.72);
}

.topbar a:hover {
  color: #fff;
}

/* ------------------------------ 页头 ------------------------------ */
/* 页头：与首屏同款藏青渐变（--navy-deep → --navy），白色 logo 与文字 */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-header.is-scrolled {
  box-shadow: var(--shadow-sm);
}

.site-header .wrap {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand:hover {
  color: inherit;
}

.brand-mark {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 9px;
  box-shadow: 0 1px 3px rgba(11, 42, 84, 0.18);
}

.brand-text b {
  display: block;
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.01em;
  line-height: 1.25;
}

.brand-text span {
  display: block;
  font-size: 10.5px;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.68);
  text-transform: uppercase;
  line-height: 1.5;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav a {
  position: relative;
  padding: 10px 16px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.85);
  border-radius: var(--r-sm);
  font-weight: 500;
}

/* 「项目案例」宽屏由页头按钮承担，避免与导航重复；窄屏在汉堡菜单中显示 */
.nav a[data-nav-case] {
  display: none;
}

.nav a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.nav a.is-active {
  color: #fff;
  font-weight: 600;
}

.nav a.is-active::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 2px;
  height: 2px;
  background: var(--green);
  border-radius: 2px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* 深色页头上的「项目案例」描边按钮与用户胶囊适配 */
.site-header .btn-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.42);
}

.site-header .btn-ghost:hover {
  border-color: #fff;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: transparent;
  border-radius: var(--r-sm);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: #fff;
  position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: #fff;
}

.nav-toggle span::before {
  top: -6px;
}
.nav-toggle span::after {
  top: 6px;
}

/* 用户下拉 */
.user-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 12px 0 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--text);
  font-size: 14px;
  cursor: pointer;
}

.user-chip:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--green));
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  min-width: 178px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
  padding: 6px;
  display: none;
}

.dropdown.is-open .dropdown-menu {
  display: block;
}

.dropdown-menu a,
.dropdown-menu button {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  padding: 9px 12px;
  font-size: 14px;
  color: var(--text-soft);
  border: 0;
  background: none;
  border-radius: var(--r-sm);
  cursor: pointer;
  text-align: left;
  font-family: inherit;
}

.dropdown-menu a:hover,
.dropdown-menu button:hover {
  background: var(--bg-soft);
  color: var(--blue);
}

.dropdown-menu hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 5px 0;
}

/* ------------------------------ 首屏 ------------------------------ */
.hero {
  position: relative;
  background: linear-gradient(135deg, #08243d 0%, #0e3a5c 48%, #12557f 100%);
  color: #fff;
  overflow: hidden;
  padding: 96px 0 88px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("/img/hero.svg");
  background-size: cover;
  background-position: center right;
  opacity: 0.34;
  mix-blend-mode: luminosity;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(8, 36, 61, 0.96) 0%, rgba(8, 36, 61, 0.86) 42%, rgba(8, 36, 61, 0.42) 100%);
}

.hero .wrap {
  position: relative;
  z-index: 2;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 56px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 15px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 999px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(6px);
  margin-bottom: 24px;
}

.hero-badge i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #38d39f;
  box-shadow: 0 0 0 4px rgba(56, 211, 159, 0.22);
}

.hero h1 {
  font-size: 48px;
  line-height: 1.22;
  color: #fff;
  margin-bottom: 22px;
  letter-spacing: -0.015em;
}

.hero h1 em {
  font-style: normal;
  color: #45d6a4;
}

.hero-lead {
  font-size: 16.5px;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.76);
  max-width: 540px;
  margin-bottom: 34px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-metrics {
  display: flex;
  gap: 44px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-metric b {
  display: block;
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}

.hero-metric span {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.62);
}

/* 首屏右侧能力卡 */
.hero-panel {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--r-lg);
  padding: 26px;
  backdrop-filter: blur(14px);
}

.hero-panel-title {
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 18px;
}

.hero-panel-list li {
  display: flex;
  gap: 14px;
  padding: 15px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-panel-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.hero-panel-list .idx {
  font-size: 12px;
  font-weight: 700;
  color: #45d6a4;
  padding-top: 3px;
  letter-spacing: 0.06em;
}

.hero-panel-list b {
  display: block;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 3px;
}

.hero-panel-list p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.6);
}

/* ------------------------------ 通用卡片 ------------------------------ */
.grid {
  display: grid;
  gap: 26px;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 30px;
  transition: all 0.24s ease;
}

.card--hover:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

/* 业务板块卡 */
.biz-card {
  position: relative;
  display: block;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  transition: all 0.28s ease;
}

.biz-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.biz-thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  background: linear-gradient(140deg, var(--navy), var(--blue));
  overflow: hidden;
}

.biz-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.biz-card:hover .biz-thumb img {
  transform: scale(1.06);
}

.biz-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 36, 61, 0) 40%, rgba(8, 36, 61, 0.62));
}

.biz-tag {
  position: absolute;
  left: 18px;
  bottom: 16px;
  z-index: 2;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: #fff;
  background: rgba(23, 166, 115, 0.92);
  padding: 5px 12px;
  border-radius: 999px;
}

.biz-body {
  padding: 24px 26px 28px;
}

.biz-body h3 {
  margin-bottom: 10px;
  color: var(--ink);
}

.biz-body p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.8;
}

.biz-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  font-weight: 600;
  color: var(--blue);
}

.biz-card:hover .biz-link {
  color: var(--green);
}

.biz-link svg {
  width: 15px;
  height: 15px;
  transition: transform 0.24s ease;
}

.biz-card:hover .biz-link svg {
  transform: translateX(4px);
}

/* 优势卡 */
.feature {
  padding: 30px 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  transition: all 0.24s ease;
}

.feature:hover {
  border-color: var(--green);
  box-shadow: var(--shadow-md);
}

.feature-ico {
  width: 48px;
  height: 48px;
  border-radius: var(--r-sm);
  background: var(--green-soft);
  color: var(--green-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-ico svg {
  width: 24px;
  height: 24px;
}

.feature h3 {
  font-size: 17px;
  margin-bottom: 10px;
}

.feature p {
  margin: 0;
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.85;
}

/* 数字统计 */
.stat-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
}

.stat-cell {
  background: #fff;
  padding: 34px 24px;
  text-align: center;
}

.stat-cell b {
  display: block;
  font-size: 36px;
  font-weight: 700;
  color: var(--blue);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.stat-cell span {
  display: block;
  margin-top: 6px;
  font-size: 14px;
  color: var(--muted);
}

.section--deep .stat-band {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.14);
}

.section--deep .stat-cell {
  background: transparent;
}

.section--deep .stat-cell b {
  color: #45d6a4;
}

.section--deep .stat-cell span {
  color: rgba(255, 255, 255, 0.62);
}

/* ------------------------------ 产品卡 ------------------------------ */
.product-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: all 0.26s ease;
  height: 100%;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.product-thumb {
  aspect-ratio: 16 / 10;
  background: var(--bg-mist);
  overflow: hidden;
  position: relative;
}

.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.product-card:hover .product-thumb img {
  transform: scale(1.05);
}

/* 照片/渲染图完整呈现：contain + 白底，不裁切设备 */
.product-thumb--fit,
.detail-media--fit {
  background: #fff;
}

.product-thumb--fit img,
.detail-media--fit img {
  object-fit: contain;
}

.product-body {
  padding: 22px 24px 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-cat {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--green-dark);
  background: var(--green-soft);
  padding: 3px 10px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 12px;
  align-self: flex-start;
}

.product-body h3 {
  font-size: 17px;
  margin-bottom: 10px;
  line-height: 1.5;
}

.product-body p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.8;
  margin: 0 0 18px;
  flex: 1;
}

.product-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.product-foot .more {
  font-size: 14px;
  font-weight: 600;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.product-foot .more svg {
  width: 14px;
  height: 14px;
}

/* 筛选 */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 34px;
}

.chip {
  height: 40px;
  padding: 0 20px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: #fff;
  color: var(--text-soft);
  font-size: 14.5px;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.18s ease;
}

.chip:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.chip.is-active {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
  font-weight: 500;
}

.search-box {
  margin-left: auto;
  position: relative;
}

.search-box input {
  height: 40px;
  width: 240px;
  padding: 0 14px 0 38px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-family: inherit;
  font-size: 14.5px;
  color: var(--text);
  background: #fff;
  outline: none;
  transition: all 0.18s ease;
}

.search-box input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(20, 102, 165, 0.12);
}

.search-box svg {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: var(--muted);
}

/* ------------------------------ 时间轴 ------------------------------ */
.timeline {
  position: relative;
  padding-left: 34px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, var(--green), var(--line));
}

.timeline li {
  position: relative;
  padding-bottom: 30px;
}

.timeline li:last-child {
  padding-bottom: 0;
}

.timeline li::before {
  content: "";
  position: absolute;
  left: -34px;
  top: 7px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--green);
  box-shadow: 0 0 0 4px var(--green-soft);
}

.timeline .yr {
  display: block;
  font-size: 17px;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 5px;
  letter-spacing: 0.01em;
}

.timeline p {
  margin: 0;
  color: var(--text-soft);
  font-size: 14.5px;
  line-height: 1.85;
}

/* ------------------------------ 图文分栏 ------------------------------ */
.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 64px;
  align-items: center;
}

.split--reverse .split-media {
  order: 2;
}

.split-media {
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3;
  background: var(--bg-mist);
}

.split-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.split h2 {
  margin-bottom: 20px;
}

.split p {
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.95;
}

.check-list {
  margin-top: 26px;
  display: grid;
  gap: 13px;
}

.check-list li {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  font-size: 15px;
  color: var(--text-soft);
}

.check-list svg {
  width: 19px;
  height: 19px;
  flex-shrink: 0;
  margin-top: 4px;
  color: var(--green);
}

/* ------------------------------ 资质 ------------------------------ */
.qual-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.qual-item {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  font-size: 14.5px;
  color: var(--text-soft);
}

.qual-item svg {
  width: 20px;
  height: 20px;
  color: var(--amber);
  flex-shrink: 0;
}

/* ------------------------------ 表单 ------------------------------ */
.form-grid {
  display: grid;
  gap: 18px;
}

.form-row-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.field label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-soft);
  margin-bottom: 8px;
}

.field label .req {
  color: #d9534f;
  margin-left: 3px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  font-family: inherit;
  font-size: 14.5px;
  color: var(--text);
  background: #fff;
  outline: none;
  transition: all 0.18s ease;
}

.field textarea {
  min-height: 130px;
  resize: vertical;
  line-height: 1.75;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(20, 102, 165, 0.12);
}

.field .hint {
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 6px;
}

/* ------------------------------ 提示 ------------------------------ */
.alert {
  padding: 12px 16px;
  border-radius: var(--r-sm);
  font-size: 14px;
  margin-bottom: 18px;
  display: none;
}

.alert.is-show {
  display: block;
}

.alert-error {
  background: #fdecec;
  color: #b3261e;
  border: 1px solid #f7c9c6;
}

.alert-success {
  background: var(--green-soft);
  color: var(--green-dark);
  border: 1px solid #b9e5d3;
}

.alert-info {
  background: var(--blue-soft);
  color: var(--blue-dark);
  border: 1px solid #c3dcf0;
}

/* ------------------------------ 联系页 ------------------------------ */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 56px;
  align-items: start;
}

.contact-item {
  display: flex;
  gap: 16px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.contact-item:last-child {
  border-bottom: 0;
}

.contact-ico {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: var(--r-sm);
  background: var(--blue-soft);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-ico svg {
  width: 20px;
  height: 20px;
}

.contact-item h4 {
  font-size: 14px;
  color: var(--muted);
  font-weight: 500;
  margin-bottom: 4px;
}

.contact-item b {
  font-size: 16px;
  color: var(--ink);
  font-weight: 600;
  line-height: 1.6;
}

.map-embed {
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-mist);
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
  padding: 24px;
}

/* ------------------------------ 认证页 ------------------------------ */
.auth-wrap {
  min-height: calc(100vh - var(--header-h));
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  background: var(--bg-soft);
}

.auth-aside {
  position: relative;
  background: linear-gradient(150deg, #08243d, #0e3a5c 55%, #11567f);
  color: #fff;
  padding: 64px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

.auth-aside::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("/img/hero.svg");
  background-size: cover;
  background-position: center;
  opacity: 0.28;
  mix-blend-mode: luminosity;
}

.auth-aside > * {
  position: relative;
  z-index: 2;
}

.auth-aside h2 {
  color: #fff;
  font-size: 32px;
  line-height: 1.35;
  margin-bottom: 18px;
}

.auth-aside p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 15.5px;
  line-height: 1.9;
  max-width: 420px;
}

.auth-aside ul {
  margin-top: 34px;
  display: grid;
  gap: 14px;
}

.auth-aside li {
  display: flex;
  gap: 11px;
  align-items: center;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.85);
}

.auth-aside li svg {
  width: 18px;
  height: 18px;
  color: #45d6a4;
  flex-shrink: 0;
}

.auth-main {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 56px 24px;
}

.auth-card {
  width: 100%;
  max-width: 420px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
}

.auth-card h1 {
  font-size: 26px;
  margin-bottom: 8px;
}

.auth-card > p {
  color: var(--muted);
  font-size: 14.5px;
  margin-bottom: 28px;
}

.tab-switch {
  display: flex;
  gap: 4px;
  background: var(--bg-soft);
  border-radius: var(--r-sm);
  padding: 4px;
  margin-bottom: 26px;
}

.tab-switch button {
  flex: 1;
  height: 38px;
  border: 0;
  background: transparent;
  border-radius: var(--r-sm);
  font-family: inherit;
  font-size: 14.5px;
  color: var(--text-soft);
  cursor: pointer;
  transition: all 0.18s ease;
}

.tab-switch button.is-active {
  background: #fff;
  color: var(--blue);
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}

.auth-switch {
  margin-top: 22px;
  text-align: center;
  font-size: 14px;
  color: var(--muted);
}

.demo-note {
  margin-top: 22px;
  padding: 13px 15px;
  border-radius: var(--r-sm);
  background: var(--amber-soft);
  border: 1px solid #f0dcb6;
  font-size: 13px;
  color: #8a5d12;
  line-height: 1.7;
}

/* ------------------------------ 会员 / 后台 ------------------------------ */
.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 28px 30px;
}

.panel + .panel {
  margin-top: 24px;
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.panel-head h3 {
  font-size: 18px;
}

.panel-head p {
  margin: 5px 0 0;
  font-size: 13.5px;
  color: var(--muted);
}

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 22px;
}

.kpi {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 22px 24px;
}

.kpi span {
  display: block;
  font-size: 13.5px;
  color: var(--muted);
  margin-bottom: 8px;
}

.kpi b {
  font-size: 30px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
}

.kpi b.is-green {
  color: var(--green);
}
.kpi b.is-blue {
  color: var(--blue);
}
.kpi b.is-amber {
  color: var(--amber);
}

table.data {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

table.data th {
  text-align: left;
  font-weight: 600;
  font-size: 13px;
  color: var(--muted);
  padding: 11px 14px;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

table.data th:first-child {
  border-top-left-radius: var(--r-sm);
}
table.data th:last-child {
  border-top-right-radius: var(--r-sm);
}

table.data td {
  padding: 14px;
  border-bottom: 1px solid var(--line);
  color: var(--text-soft);
  vertical-align: middle;
}

table.data tr:last-child td {
  border-bottom: 0;
}

table.data td strong {
  color: var(--ink);
  font-weight: 600;
}

.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
}

.badge-new {
  background: #fdecec;
  color: #b3261e;
}
.badge-processing {
  background: var(--amber-soft);
  color: #8a5d12;
}
.badge-done {
  background: var(--green-soft);
  color: var(--green-dark);
}
.badge-on {
  background: var(--green-soft);
  color: var(--green-dark);
}
.badge-off {
  background: var(--bg-mist);
  color: var(--muted);
}

.row-actions {
  display: flex;
  gap: 8px;
  white-space: nowrap;
}

.link-btn {
  background: none;
  border: 0;
  padding: 0;
  font-family: inherit;
  font-size: 14px;
  color: var(--blue);
  cursor: pointer;
}

.link-btn:hover {
  color: var(--green);
  text-decoration: underline;
}

.link-btn.danger {
  color: #c0392b;
}

.link-btn.danger:hover {
  color: #922b21;
}

.tabs {
  display: flex;
  gap: 6px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 26px;
  overflow-x: auto;
}

.tabs button {
  position: relative;
  padding: 12px 18px;
  border: 0;
  background: none;
  font-family: inherit;
  font-size: 15px;
  color: var(--muted);
  cursor: pointer;
  white-space: nowrap;
}

.tabs button.is-active {
  color: var(--blue);
  font-weight: 600;
}

.tabs button.is-active::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: -1px;
  height: 2px;
  background: var(--blue);
  border-radius: 2px;
}

.tab-panel {
  display: none;
}

.tab-panel.is-active {
  display: block;
}

/* 空状态 / 骨架 */
.empty {
  padding: 56px 20px;
  text-align: center;
  color: var(--muted);
  font-size: 14.5px;
}

.empty svg {
  width: 44px;
  height: 44px;
  margin: 0 auto 14px;
  opacity: 0.4;
}

.skeleton {
  background: linear-gradient(90deg, var(--bg-mist) 25%, #e6edf4 37%, var(--bg-mist) 63%);
  background-size: 400% 100%;
  animation: sk 1.3s ease infinite;
  border-radius: var(--r-md);
}

@keyframes sk {
  0% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0 50%;
  }
}

/* 弹层 */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(10, 31, 51, 0.5);
  backdrop-filter: blur(3px);
}

.modal.is-open {
  display: flex;
}

.modal-box {
  width: 100%;
  max-width: 760px;
  max-height: 88vh;
  overflow-y: auto;
  background: #fff;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  padding: 32px 34px 34px;
}

.modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.modal-head h3 {
  font-size: 20px;
}

.close-x {
  width: 34px;
  height: 34px;
  border: 0;
  background: var(--bg-soft);
  border-radius: var(--r-sm);
  color: var(--muted);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  flex-shrink: 0;
}

.close-x:hover {
  background: var(--bg-mist);
  color: var(--ink);
}

/* 规格行编辑 */
.spec-row {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr) 36px;
  gap: 10px;
  margin-bottom: 10px;
}

.spec-row input {
  width: 100%;
  padding: 9px 12px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  font-family: inherit;
  font-size: 14px;
  outline: none;
}

.spec-row input:focus {
  border-color: var(--blue);
}

.icon-btn {
  width: 36px;
  height: 36px;
  border: 1px solid var(--line-strong);
  background: #fff;
  border-radius: var(--r-sm);
  color: var(--muted);
  cursor: pointer;
  font-size: 17px;
  line-height: 1;
}

.icon-btn:hover {
  border-color: #e6a5a0;
  color: #c0392b;
}

.upload-strip {
  display: flex;
  gap: 14px;
  align-items: center;
}

.upload-preview {
  width: 108px;
  height: 76px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line-strong);
  background: var(--bg-mist);
  object-fit: cover;
  flex-shrink: 0;
}

/* ------------------------------ 页脚 ------------------------------ */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.62);
  font-size: 14px;
  padding: 62px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 42px;
  padding-bottom: 46px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.footer-brand b {
  color: #fff;
  font-size: 16.5px;
  font-weight: 700;
}

.site-footer p {
  line-height: 1.9;
  margin-bottom: 14px;
}

.site-footer h4 {
  color: #fff;
  font-size: 15px;
  margin-bottom: 18px;
  font-weight: 600;
}

.site-footer li {
  margin-bottom: 11px;
  line-height: 1.7;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.62);
}

.site-footer a:hover {
  color: #45d6a4;
}

.footer-contact li {
  display: flex;
  gap: 10px;
}

.footer-contact svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  margin-top: 5px;
  opacity: 0.6;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.11);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
  flex-wrap: wrap;
}

/* 回到顶部 */
.to-top {
  position: fixed;
  right: 26px;
  bottom: 26px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 0;
  background: var(--blue);
  color: #fff;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: all 0.24s ease;
  z-index: 80;
}

.to-top.is-show {
  opacity: 1;
  pointer-events: auto;
}

.to-top:hover {
  background: var(--blue-dark);
  transform: translateY(-3px);
}

/* 面包屑 / 详情页 */
.crumb {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.crumb a {
  color: rgba(255, 255, 255, 0.6);
}

.crumb a:hover {
  color: #fff;
}

.page-hero {
  position: relative;
  background: linear-gradient(135deg, #08243d, #0e3a5c 60%, #12557f);
  color: #fff;
  padding: 62px 0 66px;
  overflow: hidden;
}

.page-hero::after {
  content: "";
  position: absolute;
  right: -120px;
  top: -120px;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(23, 166, 115, 0.28), transparent 68%);
}

.page-hero .wrap {
  position: relative;
  z-index: 2;
}

.page-hero h1 {
  color: #fff;
  font-size: 36px;
  margin-bottom: 14px;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 16px;
  max-width: 660px;
  margin: 0;
  line-height: 1.9;
}

.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 56px;
  align-items: start;
}

.detail-media {
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 16 / 10;
  background: var(--bg-mist);
  margin-bottom: 34px;
}

.detail-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.spec-table {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
}

.spec-table li {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  border-bottom: 1px solid var(--line);
  font-size: 14.5px;
}

.spec-table li:last-child {
  border-bottom: 0;
}

.spec-table li:nth-child(odd) {
  background: var(--bg-soft);
}

.spec-table .k {
  padding: 13px 18px;
  color: var(--muted);
  border-right: 1px solid var(--line);
}

.spec-table .v {
  padding: 13px 18px;
  color: var(--ink);
  font-weight: 500;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 8px;
}

.tag-list li {
  padding: 6px 14px;
  background: var(--blue-soft);
  color: var(--blue-dark);
  border-radius: 999px;
  font-size: 13.5px;
}

.side-cta {
  position: sticky;
  top: calc(var(--header-h) + 24px);
}

.prose {
  font-size: 15.5px;
  line-height: 2;
  color: var(--text-soft);
}

.prose h2 {
  margin: 34px 0 16px;
  font-size: 22px;
}

.prose h3 {
  margin: 26px 0 12px;
}

.prose ul {
  margin: 0 0 18px;
  padding-left: 2px;
}

.prose ul li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
}

.prose ul li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 12px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
}

/* 提示 tip */
.tip {
  padding: 14px 18px;
  border-left: 3px solid var(--green);
  background: var(--green-soft);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  font-size: 14px;
  color: var(--green-dark);
  line-height: 1.8;
}

/* ------------------------------ 响应式 ------------------------------ */
@media (max-width: 1080px) {
  .hero h1 {
    font-size: 40px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }
  .hero-panel {
    max-width: 560px;
  }
  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 34px;
  }
  .qual-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 24px 20px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    display: none;
  }
  .nav.is-open {
    display: flex;
  }
  .nav a {
    padding: 13px 8px;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
  }
  .nav a.is-active::after {
    display: none;
  }
  .nav-toggle {
    display: flex;
  }
  .split,
  .detail-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }
  .split--reverse .split-media {
    order: 0;
  }
  .stat-band {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .auth-wrap {
    grid-template-columns: 1fr;
  }
  .auth-aside {
    display: none;
  }
  .search-box {
    margin-left: 0;
    width: 100%;
  }
  .search-box input {
    width: 100%;
  }
  .side-cta {
    position: static;
  }
  .topbar-list .hide-sm {
    display: none;
  }
}

@media (max-width: 680px) {
  body {
    font-size: 14.5px;
  }
  .section {
    padding: 58px 0;
  }
  .wrap {
    padding: 0 18px;
  }
  /* 页头在窄屏下收缩，避免横向溢出把汉堡菜单挤出屏 */
  .site-header .wrap {
    gap: 12px;
  }
  .brand {
    gap: 9px;
    min-width: 0;
  }
  .brand-mark {
    width: 34px;
    height: 34px;
  }
  .brand-text b {
    font-size: 14.5px;
    white-space: nowrap;
  }
  .brand-text span {
    display: none;
  }
  .header-actions {
    gap: 7px;
  }
  /* 「项目案例」宽屏由页头按钮承担；窄屏页头只保留主按钮，案例入口移入汉堡菜单 */
  .nav a[data-nav-case] {
    display: block;
  }
  .header-actions [data-auth-area] .btn-ghost {
    display: none;
  }
  .header-actions [data-auth-area] .btn-primary {
    height: 34px;
    padding: 0 13px;
    font-size: 13.5px;
  }
  .nav-toggle {
    width: 38px;
    height: 38px;
    flex-shrink: 0;
  }
  .hero {
    padding: 64px 0 60px;
  }
  .hero h1 {
    font-size: 31px;
  }
  .hero-metrics {
    gap: 26px;
    flex-wrap: wrap;
  }
  .hero-metric b {
    font-size: 23px;
  }
  h2 {
    font-size: 24px;
  }
  .page-hero h1 {
    font-size: 27px;
  }
  .grid-2,
  .grid-3,
  .grid-4,
  .kpi-grid,
  .qual-list,
  .stat-band,
  .form-row-2,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .topbar {
    height: auto;
    padding: 9px 0;
  }
  .topbar .wrap {
    flex-direction: column;
    align-items: center;
    gap: 5px;
    font-size: 12.5px;
  }
  .topbar-list {
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 100%;
  }
  .topbar-item {
    white-space: nowrap;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 6px;
  }
  .auth-card,
  .panel,
  .card {
    padding: 24px 20px;
  }
  .modal-box {
    padding: 24px 20px;
  }
  .spec-table li {
    grid-template-columns: 1fr;
  }
  .spec-table .k {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding-bottom: 6px;
  }
  table.data {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
  .to-top {
    right: 16px;
    bottom: 16px;
  }
}

/* ==========================================================================
   项目案例页
   ========================================================================== */
.case-card {
  display: flex;
  flex-direction: column;
}
.case-card h3 {
  margin: 12px 0 10px;
  font-size: 18px;
}
.case-scene {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.85;
  color: var(--text-soft);
}
.case-flow {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: caseflow;
}
.case-flow li {
  position: relative;
  margin-bottom: 9px;
  padding-left: 26px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-soft);
  counter-increment: caseflow;
}
.case-flow li::before {
  content: counter(caseflow);
  position: absolute;
  left: 0;
  top: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green-dark);
  font-size: 11px;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
}
.case-equip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 18px 0 0;
  padding-top: 16px;
  border-top: 1px dashed var(--line-strong);
}
.case-equip > span {
  font-size: 12.5px;
  color: var(--muted);
}
.case-equip a {
  padding: 3px 10px;
  font-size: 12.5px;
  color: var(--blue);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  text-decoration: none;
  transition: all 0.18s ease;
}
.case-equip a:hover {
  color: var(--blue-dark);
  border-color: var(--blue);
  background: var(--blue-soft);
}
@media (max-width: 680px) {
  .case-card {
    padding: 22px 20px;
  }
}

/* 首页底部 CTA 卡片：桌面双列，窄屏收成单列 */
.cta-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding: 38px 40px;
  border-left: 3px solid var(--green);
}

@media (max-width: 680px) {
  .cta-card {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 26px 22px;
  }
}

/* 关注艾蓝环保（二维码板块）：居中标题 + 横排二维码卡片 */
.follow-section {
  padding: 56px 0 48px;
  background: #fff;
  border-top: 1px solid var(--line, #e8ecf1);
}
.follow-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 26px;
  font-weight: 700;
  color: var(--ink, #0b2240);
  margin-bottom: 34px;
}
.follow-title img { width: 34px; height: 34px; border-radius: 8px; }
.follow-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  max-width: 900px;
  margin: 0 auto;
}
.follow-card { text-align: center; }
.follow-card .follow-img {
  height: 210px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f6f8fa;
  border-radius: 12px;
  overflow: hidden;
  padding: 12px;
}
.follow-card .follow-img img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 6px;
}
.follow-card p {
  margin-top: 12px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink, #0b2240);
}
@media (max-width: 900px) {
  .follow-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .follow-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .follow-card .follow-img { height: 150px; }
  .follow-title { font-size: 21px; }
}

/* ------------------------------ 服务承诺（售前/售中/售后） ------------------------------ */
.promise-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 30px 28px 26px;
  position: relative;
  overflow: hidden;
  transition: transform 0.45s var(--ease-out, ease), box-shadow 0.45s var(--ease-out, ease),
    border-color 0.4s ease;
}

.promise-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green), var(--blue));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.6s var(--ease-out, ease);
}

.promise-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--line-strong);
}

.promise-card:hover::before {
  transform: scaleX(1);
}

.promise-stage {
  display: flex;
  align-items: baseline;
  gap: 14px;
}

.promise-stage b {
  font-size: 36px;
  font-weight: 700;
  line-height: 1;
  color: var(--green);
  opacity: 0.85;
  font-variant-numeric: tabular-nums;
}

.promise-stage h3 {
  font-size: 19px;
}

.promise-line {
  height: 1px;
  background: var(--line);
  margin: 16px 0 6px;
}

.promise-list {
  counter-reset: promise;
}

.promise-list li {
  counter-increment: promise;
  display: flex;
  gap: 12px;
  padding: 9px 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-soft);
}

.promise-list li::before {
  content: counter(promise, decimal-leading-zero);
  flex-shrink: 0;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--muted);
  padding-top: 3px;
  font-variant-numeric: tabular-nums;
  transition: color 0.25s ease;
}

.promise-card:hover .promise-list li::before {
  color: var(--green-dark);
}

.promise-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  flex-wrap: wrap;
  margin: 30px 0 0;
  font-size: 14.5px;
  color: var(--muted);
  text-align: center;
}

.promise-note svg {
  width: 17px;
  height: 17px;
  color: var(--green);
  flex-shrink: 0;
}

.promise-note strong {
  color: var(--ink);
}

/* ------------------------------ 语言切换（导航栏下拉） ------------------------------ */
.lang-switch { position: relative; }

.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 36px;
  padding: 0 12px;
  border: 1px solid var(--line-strong, #d8e2ec);
  border-radius: 8px;
  background: #fff;
  color: var(--ink, #0b2240);
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.lang-btn:hover {
  border-color: var(--blue, #0d5c9e);
  box-shadow: 0 4px 14px rgba(13, 92, 158, 0.12);
}

.lang-btn svg { flex-shrink: 0; }
.lang-btn .lang-globe { width: 15px; height: 15px; color: var(--blue, #0d5c9e); }
.lang-btn .lang-caret { width: 11px; height: 11px; color: var(--muted, #7a8b9c); transition: transform 0.25s ease; }
.lang-switch.is-open .lang-btn { border-color: var(--blue, #0d5c9e); }
.lang-switch.is-open .lang-caret { transform: rotate(180deg); }

.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 60;
  min-width: 148px;
  padding: 6px;
  background: #fff;
  border: 1px solid var(--line, #eaeef2);
  border-radius: 10px;
  box-shadow: 0 18px 44px rgba(10, 30, 60, 0.16);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}

.lang-switch.is-open .lang-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 7px;
  font-size: 14px;
  color: var(--ink, #0b2240);
  transition: background 0.2s ease, color 0.2s ease;
}

.lang-item:hover { background: rgba(13, 92, 158, 0.07); color: var(--blue, #0d5c9e); }
.lang-item.is-current { color: var(--green-dark, #14734a); font-weight: 600; }
.lang-item.is-current::after { content: "✓"; font-size: 12px; }

@media (max-width: 720px) {
  .lang-btn { padding: 0 9px; gap: 5px; font-size: 12px; }
  .lang-btn .lang-globe { width: 14px; height: 14px; }
  .lang-menu { min-width: 124px; }
}

@media (max-width: 520px) {
  .lang-btn #langText, .lang-btn .lang-caret { display: none; }
  .lang-btn { padding: 0 8px; height: 34px; }
}

/* 英文公司名较长：窄屏允许换行缩小 */
@media (max-width: 620px) {
  .brand-text b { font-size: 15px; }
}
@media (max-width: 480px) {
  .brand { max-width: calc(100% - 196px); min-width: 0; }
  .brand-text { white-space: nowrap; overflow: hidden; min-width: 0; }
  .brand-text b { font-size: 13px; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .brand-text span { display: none; }
  .header-actions .btn { padding-left: 12px; padding-right: 12px; }
}

/* ------------------------------ 英文版页头压缩 ------------------------------ */
/* 英文文案更长，页头总宽会超出 1200px 容器导致右侧溢出、与正文边界不齐；仅宽屏生效 */
@media (min-width: 901px) {
  html[lang="en"] .site-header .wrap { gap: 14px; }
  html[lang="en"] .brand { gap: 10px; }
  html[lang="en"] .brand-mark { width: 38px; height: 38px; }
  html[lang="en"] .brand-text b { font-size: 14.5px; letter-spacing: 0; }
  html[lang="en"] .brand-text span { font-size: 9.5px; letter-spacing: 0.14em; }
  html[lang="en"] .nav a { padding: 10px 9px; font-size: 14px; }
  html[lang="en"] .header-actions { gap: 8px; }
  html[lang="en"] .lang-btn { padding: 0 10px; gap: 6px; font-size: 12.5px; }
  html[lang="en"] .header-actions [data-auth-area] { gap: 8px; }
  html[lang="en"] .header-actions [data-auth-area] .btn { padding: 0 12px; font-size: 13.5px; }
}
