/* ==========================================================================
   金得铝业 · 站点主样式
   ------------------------------------------------------------------------
   目录
   01. 设计变量
   02. 基础重置
   03. 通用布局 / 工具类
   04. 按钮
   05. 头部与导航
   06. 首页 Hero
   07. 数据条
   08. 区块标题
   09. 产品卡片网格
   10. 优势 / 流程
   11. 规格表格
   12. CTA 区
   13. 页脚
   14. 内页页头
   15. 关于页：简介 / 历程 / 资质
   16. 联系页：信息卡 / 表单 / 地图
   17. 404
   18. 滚动进场动画
   19. 响应式
   ========================================================================== */

/* ---------- 01. 设计变量 ---------- */
:root {
  --navy: #0A1F33;
  --navy-soft: #123A5A;
  --brand: #17527F;
  --accent: #E07B39;
  --accent-dark: #C6652A;
  --ink: #0F1B2A;
  --muted: #5B6B7C;
  --line: #E3E8EF;
  --surface: #F5F7FA;
  --white: #ffffff;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;

  --shadow-sm: 0 1px 2px rgba(10, 31, 51, .06);
  --shadow: 0 8px 24px rgba(10, 31, 51, .08);
  --shadow-lg: 0 18px 48px rgba(10, 31, 51, .14);

  --container: 1200px;
  --header-h: 72px;

  --font: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
          "Microsoft YaHei", "Noto Sans SC", "Segoe UI", Roboto, sans-serif;
  --font-num: "DIN Alternate", "Helvetica Neue", Arial, sans-serif;
}

/* ---------- 02. 基础重置 ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }

h1, h2, h3, h4 {
  margin: 0 0 .6em;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--ink);
}

p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }

a { color: var(--brand); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--accent-dark); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: rgba(224, 123, 57, .22); }

/* ---------- 03. 通用布局 ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

.section { padding: 96px 0; }
.section--surface { background: var(--surface); }
.section--tight { padding: 64px 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--accent);
}

.lead {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: var(--muted);
  max-width: 60ch;
}

.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- 04. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition: transform .18s ease, background .2s ease, box-shadow .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--navy);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}
.btn--primary:hover { background: var(--brand); color: var(--white); box-shadow: var(--shadow); }

.btn--accent {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 6px 18px rgba(224, 123, 57, .28);
}
.btn--accent:hover { background: var(--accent-dark); color: #fff; box-shadow: 0 10px 26px rgba(224, 123, 57, .34); }

.btn--ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, .35);
  color: #fff;
}
.btn--ghost:hover { background: rgba(255, 255, 255, .1); color: #fff; border-color: #fff; }

.btn--outline {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}
.btn--outline:hover { border-color: var(--brand); color: var(--brand); }

.btn--sm { padding: 10px 18px; font-size: 14px; }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 14px;
  color: var(--brand);
}
.link-arrow::after { content: "→"; transition: transform .2s ease; }
.link-arrow:hover::after { transform: translateX(4px); }

/* ---------- 05. 头部与导航 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, .86);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 4px 20px rgba(10, 31, 51, .06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand__mark { width: 88px; height: auto; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__text strong { font-size: 16px; letter-spacing: .04em; }
.brand__text small {
  font-size: 10px;
  letter-spacing: .18em;
  color: var(--muted);
  font-weight: 500;
}

.nav { display: flex; align-items: center; gap: 6px; }
.nav__link {
  position: relative;
  padding: 10px 14px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  border-radius: 8px;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 4px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .22s ease;
}
.nav__link:hover { color: var(--brand); }
.nav__link:hover::after,
.nav__link.is-active::after { transform: scaleX(1); }
.nav__link.is-active { color: var(--brand); font-weight: 600; }

.nav__cta { margin-left: 12px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  padding: 10px;
  background: none;
  border: 0;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 06. 首页 Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  color: #E8EEF4;
  padding: 96px 0 104px;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 70% at 60% 30%, #000 30%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 60% 30%, #000 30%, transparent 78%);
}
.hero__bg::after {
  content: "";
  position: absolute;
  right: -12%;
  top: -18%;
  width: 720px; height: 720px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(23, 82, 127, .85), transparent 62%);
  filter: blur(10px);
}

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 64px;
  align-items: center;
}

.hero h1 {
  color: #fff;
  font-size: clamp(2.1rem, 4.4vw, 3.5rem);
  line-height: 1.16;
  margin-bottom: 22px;
}
.hero h1 .accent { color: var(--accent); }

.hero .lead { color: #A9BACB; max-width: 46ch; }

.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

.hero__points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: 14px;
  color: #93A6B8;
}
.hero__points li { position: relative; padding-left: 18px; }
.hero__points li::before {
  content: "";
  position: absolute;
  left: 0; top: .62em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

/* 右侧规格卡 */
.spec-card {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius-lg);
  padding: 28px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.spec-card__title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  font-size: 13px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #8FA3B6;
}
.spec-card__title span:last-child { color: var(--accent); font-weight: 600; }

.spec-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-top: 1px solid rgba(255, 255, 255, .09);
  font-size: 14px;
}
.spec-row:first-of-type { border-top: 0; }
.spec-row dt { color: #fff; font-weight: 600; font-family: var(--font-num); letter-spacing: .03em; }
.spec-row dd { margin: 0; color: #93A6B8; text-align: right; font-size: 13px; }

/* ---------- 07. 数据条 ---------- */
.stats {
  border-bottom: 1px solid var(--line);
  background: var(--white);
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat {
  padding: 34px 24px;
  text-align: center;
  border-left: 1px solid var(--line);
}
.stat:first-child { border-left: 0; }
.stat__num {
  font-family: var(--font-num);
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  font-weight: 700;
  line-height: 1;
  color: var(--navy);
  font-variant-numeric: tabular-nums;
}
.stat__num em { font-style: normal; font-size: .5em; color: var(--accent); margin-left: 2px; }
.stat__label { margin-top: 10px; font-size: 13px; color: var(--muted); letter-spacing: .04em; }

/* ---------- 08. 区块标题 ---------- */
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head h2 {
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  margin-bottom: 14px;
}
.section-head p { color: var(--muted); margin: 0; }

/* ---------- 09. 产品卡片 ---------- */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  overflow: hidden;
}
.product-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), transparent);
  opacity: 0;
  transition: opacity .25s ease;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.product-card:hover::before { opacity: 1; }

.product-card__icon {
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  margin-bottom: 20px;
  border-radius: 12px;
  background: var(--surface);
  color: var(--brand);
  transition: background .25s ease, color .25s ease;
}
.product-card:hover .product-card__icon { background: var(--navy); color: var(--accent); }

.product-card h3 { font-size: 19px; margin-bottom: 8px; }
.product-card p { font-size: 14px; color: var(--muted); margin-bottom: 18px; flex: 1; }

.product-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 18px;
}
.tag {
  display: inline-block;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 500;
  color: var(--brand);
  background: rgba(23, 82, 127, .07);
  border-radius: 999px;
}

/* 产品页筛选 */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}
.filter-btn {
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  transition: all .2s ease;
}
.filter-btn:hover { color: var(--brand); border-color: var(--brand); }
.filter-btn.is-active {
  color: #fff;
  background: var(--navy);
  border-color: var(--navy);
}
.product-item.is-hidden { display: none; }

/* ---------- 10. 优势 / 流程 ---------- */
.feature {
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.feature__icon {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  margin-bottom: 18px;
  border-radius: 10px;
  background: rgba(224, 123, 57, .1);
  color: var(--accent);
}
.feature h3 { font-size: 17px; margin-bottom: 8px; }
.feature p { font-size: 14px; color: var(--muted); margin: 0; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.step { position: relative; padding: 28px 24px 0 0; }
.step__num {
  font-family: var(--font-num);
  font-size: 42px;
  font-weight: 700;
  line-height: 1;
  color: rgba(10, 31, 51, .08);
  margin-bottom: 12px;
}
.step h3 { font-size: 17px; margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--muted); margin: 0; }
.step::before {
  content: "";
  position: absolute;
  left: 0; top: 0;
  width: 40px; height: 2px;
  background: var(--accent);
}

/* ---------- 11. 规格表格 ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); }

.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  min-width: 640px;
  background: var(--white);
}
.spec-table thead th {
  padding: 14px 18px;
  font-size: 13px;
  font-weight: 600;
  text-align: left;
  color: #fff;
  background: var(--navy);
  white-space: nowrap;
}
.spec-table tbody td {
  padding: 14px 18px;
  border-top: 1px solid var(--line);
  color: var(--ink);
  vertical-align: top;
}
.spec-table tbody tr:nth-child(even) { background: #FAFBFC; }
.spec-table tbody tr:hover { background: rgba(224, 123, 57, .05); }
.spec-table td:first-child { font-weight: 600; font-family: var(--font-num); }
.spec-table .num { font-family: var(--font-num); font-variant-numeric: tabular-nums; }

/* ---------- 12. CTA 区 ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  background: var(--navy-soft);
  color: #fff;
  padding: 72px 0;
}
.cta-band::before {
  content: "";
  position: absolute;
  left: -8%; bottom: -120%;
  width: 560px; height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(224, 123, 57, .5), transparent 60%);
  filter: blur(20px);
}
.cta-band__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.cta-band h2 { color: #fff; font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 8px; }
.cta-band p { color: #B7C7D6; margin: 0; font-size: 15px; }
.cta-band__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- 13. 页脚 ---------- */
.site-footer {
  background: var(--navy);
  color: #8FA3B6;
  padding: 64px 0 28px;
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.site-footer .brand { color: #fff; margin-bottom: 16px; }
.site-footer .brand__text small { color: #7A8FA3; }
.site-footer p { color: #8FA3B6; max-width: 34ch; margin: 0; }

.footer-col h4 {
  color: #fff;
  font-size: 14px;
  letter-spacing: .08em;
  margin-bottom: 16px;
}
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: #8FA3B6; }
.footer-col a:hover { color: var(--accent); }
.footer-col address { font-style: normal; line-height: 1.9; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 24px;
  font-size: 13px;
  color: #6E8397;
}
.footer-bottom a { color: #6E8397; }
.footer-bottom a:hover { color: var(--accent); }

/* ---------- 14. 内页页头 ---------- */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: 76px 0 64px;
  background: var(--navy);
  color: #fff;
}
.page-hero::after {
  content: "";
  position: absolute;
  right: -6%; top: -40%;
  width: 520px; height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(23, 82, 127, .9), transparent 62%);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin-bottom: 12px; }
.page-hero p { color: #A9BACB; max-width: 62ch; margin: 0; }

.breadcrumb {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
  font-size: 13px;
  color: #7A8FA3;
}
.breadcrumb a { color: #A9BACB; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span[aria-current] { color: var(--accent); }

/* ---------- 15. 关于页 ---------- */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.media-placeholder {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 380px;
  border-radius: var(--radius-lg);
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, .04) 0 12px, transparent 12px 24px),
    linear-gradient(150deg, var(--navy-soft), var(--navy));
  color: #6E8397;
  font-size: 13px;
  letter-spacing: .1em;
  overflow: hidden;
}
.media-placeholder::after {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px dashed rgba(255, 255, 255, .18);
  border-radius: 12px;
}
.media-placeholder--light {
  background:
    repeating-linear-gradient(135deg, rgba(10, 31, 51, .04) 0 12px, transparent 12px 24px),
    var(--surface);
  color: #9AA9B8;
  border: 1px solid var(--line);
}
.media-placeholder--light::after { border-color: rgba(10, 31, 51, .12); }

.timeline { position: relative; padding-left: 28px; }
.timeline::before {
  content: "";
  position: absolute;
  left: 5px; top: 6px; bottom: 6px;
  width: 2px;
  background: var(--line);
}
.timeline li { position: relative; padding-bottom: 34px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: "";
  position: absolute;
  left: -28px; top: 8px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--accent);
}
.timeline__year {
  font-family: var(--font-num);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--accent);
}
.timeline h3 { font-size: 18px; margin: 4px 0 6px; }
.timeline p { font-size: 14px; color: var(--muted); margin: 0; }

/* ---------- 16. 联系页 ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 56px;
  align-items: start;
}

.contact-card {
  display: flex;
  gap: 16px;
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 14px;
}
.contact-card__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 42px; height: 42px;
  border-radius: 10px;
  background: rgba(23, 82, 127, .08);
  color: var(--brand);
}
.contact-card h3 { font-size: 15px; margin-bottom: 4px; }
.contact-card p { margin: 0; font-size: 14px; color: var(--muted); }
.contact-card a { font-size: 15px; font-weight: 600; }

.form {
  padding: 36px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label {
  display: block;
  margin-bottom: 7px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}
.field label .req { color: var(--accent); }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  font: inherit;
  font-size: 14px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(23, 82, 127, .12);
}
.field input::placeholder,
.field textarea::placeholder { color: #A8B4C1; }

.form-note { margin: 14px 0 0; font-size: 12px; color: var(--muted); }

.form-message {
  display: none;
  margin-top: 16px;
  padding: 12px 16px;
  font-size: 14px;
  border-radius: var(--radius-sm);
  background: rgba(224, 123, 57, .1);
  color: var(--accent-dark);
  border: 1px solid rgba(224, 123, 57, .3);
}
.form-message.is-visible { display: block; }

.map-placeholder {
  display: grid;
  place-items: center;
  min-height: 300px;
  border-radius: var(--radius);
  background:
    linear-gradient(rgba(23, 82, 127, .06) 1px, transparent 1px) 0 0 / 40px 40px,
    linear-gradient(90deg, rgba(23, 82, 127, .06) 1px, transparent 1px) 0 0 / 40px 40px,
    var(--surface);
  border: 1px solid var(--line);
  color: #9AA9B8;
  font-size: 13px;
  letter-spacing: .08em;
}

/* ---------- 17. 404 ---------- */
.error-page {
  display: grid;
  place-items: center;
  min-height: 72vh;
  padding: 80px 24px;
  text-align: center;
}
.error-page__code {
  font-family: var(--font-num);
  font-size: clamp(5rem, 16vw, 11rem);
  font-weight: 700;
  line-height: .9;
  color: rgba(10, 31, 51, .08);
  letter-spacing: -.04em;
}
.error-page h1 { font-size: clamp(1.4rem, 3vw, 2rem); margin-top: -8px; }
.error-page p { color: var(--muted); margin-bottom: 28px; }

/* ---------- 18. 滚动进场动画 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s cubic-bezier(.22, 1, .36, 1),
              transform .6s cubic-bezier(.22, 1, .36, 1);
  will-change: opacity, transform;
}
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover, .product-card:hover { transform: none; }
}

/* ---------- 19. 响应式 ---------- */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; gap: 48px; }
  .spec-card { max-width: 560px; }
  .about-split { grid-template-columns: 1fr; gap: 40px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .nav-toggle { display: flex; }

  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 20px 24px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .22s ease, transform .22s ease, visibility .22s;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }

  .nav__link { padding: 14px 6px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav__link::after { display: none; }
  .nav__cta { margin: 18px 0 0; justify-content: center; }
}

/* ---------- 19.1 业务详情列表 ---------- */
.detail-list {
  margin: 18px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.detail-list li {
  position: relative;
  padding-left: 16px;
  margin-bottom: 7px;
  font-size: 14px;
  color: var(--muted);
}
.detail-list li:last-child { margin-bottom: 0; }
.detail-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .68em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

/* ---------- 20. 工程案例卡片 ---------- */
.case-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform .25s ease, box-shadow .25s ease;
}
.case-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.case-card__media {
  position: relative;
  display: grid;
  place-items: center;
  height: 210px;
  font-size: 12px;
  letter-spacing: .1em;
  color: #93A6B8;
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, .05) 0 14px, transparent 14px 28px),
    linear-gradient(150deg, #21445F, var(--navy));
}
.case-card__media::after {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px dashed rgba(255, 255, 255, .2);
  border-radius: 8px;
}
.case-card__body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.case-card__meta {
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  color: var(--accent);
}
.case-card h3 { font-size: 18px; margin-bottom: 8px; }
.case-card p { font-size: 14px; color: var(--muted); flex: 1; margin-bottom: 16px; }

/* ==========================================================================
   21~28. 集团官网版式组件（参照长飞光纤首页结构）
   21. 顶部工具条   22. 导航下拉   23. 全屏轮播
   24. 新闻列表     25. 资质荣誉   26. 案例四列
   27. 五列页脚     28. 联系条
   ========================================================================== */

/* ---------- 21. 顶部工具条 ---------- */
.topbar {
  background: var(--navy);
  color: #93A6B8;
  font-size: 13px;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 38px;
}
.topbar a { color: #A9BACB; }
.topbar a:hover { color: #fff; }
.topbar__links { display: flex; align-items: center; gap: 22px; }
.topbar__hot { display: flex; align-items: center; gap: 8px; }
.topbar__hot strong {
  font-family: var(--font-num);
  font-size: 15px;
  color: #fff;
  letter-spacing: .04em;
}

/* ---------- 22. 导航下拉 ---------- */
.nav__item { position: relative; }
.nav__item > .nav__link { display: inline-flex; align-items: center; gap: 5px; }
.nav__item > .nav__link::before {
  content: "";
  order: 2;
  width: 0; height: 0;
  margin-top: 2px;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid currentColor;
  opacity: .45;
  display: none;
}
.nav__item:has(> .submenu) > .nav__link::before { display: block; }
.submenu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 190px;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
  z-index: 20;
}
.nav__item:hover > .submenu,
.nav__item:focus-within > .submenu { opacity: 1; visibility: visible; transform: none; }
.submenu a {
  display: block;
  padding: 9px 14px;
  font-size: 14px;
  color: var(--ink);
  border-radius: 7px;
  white-space: nowrap;
}
.submenu a:hover { background: var(--surface); color: var(--brand); }

/* ---------- 23. 全屏轮播 ---------- */
.banner {
  position: relative;
  height: min(76vh, 620px);
  min-height: 460px;
  overflow: hidden;
  background: var(--navy);
}
.banner__slide {
  position: absolute;
  inset: 0;
  display: grid;
  align-items: center;
  opacity: 0;
  transition: opacity .9s ease;
  pointer-events: none;
}
.banner__slide.is-active { opacity: 1; pointer-events: auto; }

.banner__slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(105deg, transparent 30%, #000 70%);
  -webkit-mask-image: linear-gradient(105deg, transparent 30%, #000 70%);
}
.banner__slide--1 {
  background:
    radial-gradient(circle at 78% 22%, rgba(23, 82, 127, .95), transparent 55%),
    linear-gradient(115deg, #071726, #0A1F33 60%, #123A5A);
}
.banner__slide--2 {
  background:
    repeating-linear-gradient(118deg, rgba(255, 255, 255, .035) 0 2px, transparent 2px 26px),
    linear-gradient(115deg, #08192a, #14324a 55%, #1c4260);
}
.banner__slide--3 {
  background:
    radial-gradient(circle at 20% 80%, rgba(224, 123, 57, .35), transparent 52%),
    linear-gradient(115deg, #0A1F33, #16283a 60%, #1d2f40);
}

.banner__content { position: relative; z-index: 2; max-width: 660px; padding: 0 0 40px; }
.banner__content .eyebrow { color: var(--accent); }
.banner h1 {
  color: #fff;
  font-size: clamp(1.9rem, 3.4vw, 3rem);
  line-height: 1.22;
  margin-bottom: 18px;
}
.banner p { color: #A9BACB; max-width: 52ch; margin-bottom: 28px; }
.banner__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.banner__dots {
  position: absolute;
  left: 0; right: 0; bottom: 26px;
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: 10px;
}
.banner__dot {
  width: 34px; height: 3px;
  padding: 0;
  border: 0;
  border-radius: 2px;
  background: rgba(255, 255, 255, .28);
  cursor: pointer;
  transition: background .25s ease, width .25s ease;
}
.banner__dot:hover { background: rgba(255, 255, 255, .55); }
.banner__dot.is-active { width: 52px; background: var(--accent); }

.banner__arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  margin-top: -23px;
  color: #fff;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 50%;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease;
}
.banner__arrow:hover { background: rgba(255, 255, 255, .18); border-color: rgba(255, 255, 255, .45); }
.banner__arrow--prev { left: 24px; }
.banner__arrow--next { right: 24px; }

/* ---------- 24. 新闻列表 ---------- */
.news-list { border-top: 1px solid var(--line); }
.news-item {
  display: grid;
  grid-template-columns: 96px 1fr 110px;
  gap: 28px;
  align-items: start;
  padding: 26px 4px;
  border-bottom: 1px solid var(--line);
  transition: background .2s ease;
}
.news-item:hover { background: rgba(23, 82, 127, .025); }
.news-item__date {
  padding-top: 2px;
  font-family: var(--font-num);
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  color: var(--navy);
  letter-spacing: -.01em;
}
.news-item__date span {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: .06em;
}
.news-item h3 { font-size: 17px; margin: 0 0 8px; }
.news-item p { margin: 0; font-size: 14px; color: var(--muted); }
.news-item__tag {
  justify-self: end;
  padding: 4px 10px;
  font-size: 12px;
  color: var(--brand);
  background: rgba(23, 82, 127, .07);
  border-radius: 999px;
  white-space: nowrap;
}

/* ---------- 25. 资质荣誉 ---------- */
.honor-card {
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-align: center;
  transition: box-shadow .25s ease, transform .25s ease;
}
.honor-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.honor-card__img {
  display: grid;
  place-items: center;
  height: 132px;
  margin-bottom: 16px;
  border-radius: 10px;
  background:
    repeating-linear-gradient(135deg, rgba(10, 31, 51, .035) 0 10px, transparent 10px 20px),
    var(--surface);
  color: #9AA9B8;
  font-size: 12px;
  letter-spacing: .06em;
}
.honor-card h3 { font-size: 14px; margin: 0; }

/* ---------- 26. 案例四列 ---------- */
.case-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.case-grid .case-card__media { height: 180px; }
.case-grid .case-card__body { padding: 20px; }
.case-grid .case-card h3 { font-size: 16px; }

/* 页脚品牌：白底完整组合 */
.brand--plate {
  display: inline-block;
  padding: 10px 14px;
  background: #fff;
  border-radius: 10px;
  line-height: 0;
  transition: box-shadow .25s ease;
}
.brand--plate:hover { box-shadow: 0 10px 26px rgba(0, 0, 0, .22); }
.brand--plate img { display: block; width: 168px; height: auto; }

/* ---------- 27. 五列页脚 ---------- */.footer-grid--5 { grid-template-columns: 1.5fr .9fr .9fr .9fr 1fr; }
.footer-qr { display: flex; gap: 14px; align-items: flex-start; }
.qr-box {
  display: grid;
  place-items: center;
  flex: none;
  width: 92px; height: 92px;
  background: #fff;
  border-radius: 8px;
  color: #5B6B7C;
  font-size: 11px;
  text-align: center;
  line-height: 1.3;
  padding: 6px;
}
.footer-qr p { font-size: 12px; margin: 0; line-height: 1.7; color: #8FA3B6; }

.footer-legal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: 13px;
  color: #6E8397;
}
.footer-legal__links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-legal a { color: #6E8397; }
.footer-legal a:hover { color: var(--accent); }

/* ---------- 28. 内页联系条 ---------- */
.contact-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.contact-strip > * { background: #fff; padding: 26px 28px; }
.contact-strip h3 { font-size: 13px; color: var(--muted); font-weight: 500; margin-bottom: 6px; letter-spacing: .04em; }
.contact-strip strong { font-size: 18px; color: var(--navy); font-family: var(--font-num); }
.contact-strip p { margin: 0; }

@media (max-width: 1024px) {
  .footer-grid--5 { grid-template-columns: 1fr 1fr; }
  .case-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-strip { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .submenu {
    position: static;
    display: none;
    padding: 0 0 0 14px;
    border: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    min-width: 0;
  }
  .nav__item.is-open > .submenu { display: block; }
  .nav__item:has(> .submenu) > .nav__link::before { transition: transform .2s ease; }
  .nav__item.is-open > .nav__link::before { transform: rotate(180deg); }
  .banner { height: auto; min-height: 520px; }
  .banner__arrow { display: none; }
  .news-item { grid-template-columns: 78px 1fr; gap: 18px; }
  .news-item__tag { display: none; }
  .topbar__links { gap: 14px; }
}

@media (max-width: 720px) {
  :root { --header-h: 64px; }

  .section { padding: 64px 0; }
  .section--tight { padding: 48px 0; }
  .container { padding-inline: 20px; }

  .hero { padding: 64px 0 72px; }
  .hero__points { font-size: 13px; gap: 10px 18px; }

  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat { padding: 26px 16px; border-left: 0; border-top: 1px solid var(--line); }
  .stat:nth-child(-n+2) { border-top: 0; }
  .stat:nth-child(even) { border-left: 1px solid var(--line); }

  .product-grid { grid-template-columns: 1fr; }
  .grid--2, .grid--3, .grid--4, .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .form { padding: 24px; }
  .form__row { grid-template-columns: 1fr; gap: 0; }
  .cta-band__inner { flex-direction: column; align-items: flex-start; }
}

/* ---------- 29. 超小屏收尾（顶栏只留电话） ---------- */
@media (max-width: 720px) {
  .topbar__links { display: none; }
  .topbar__inner { justify-content: center; height: 34px; }
  .topbar__hot span { display: none; }
  .topbar__hot strong { font-size: 14px; }
  .news-item__date { font-size: 19px; }
}

/* ---------- 30. 实拍配图与客户条 ---------- */
.media-photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.case-card__media { padding: 0; }
.case-card__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.case-card__media:has(img)::after { display: none; }

.client-strip {
  display: flex;
  align-items: center;
  gap: 12px 28px;
  flex-wrap: wrap;
  margin-top: 44px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.client-strip__label {
  font-size: 13px;
  letter-spacing: .08em;
  color: var(--muted);
}
.client-strip ul { display: flex; flex-wrap: wrap; gap: 10px 26px; }
.client-strip li {
  position: relative;
  padding-left: 14px;
  font-size: 14px;
  color: var(--ink);
}
.client-strip li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}
