/* 河北方诺企业官网样式 */
:root {
  --color-primary: #c8102e;
  --color-primary-dark: #9e0c24;
  --color-primary-soft: rgba(200, 16, 46, 0.08);
  --color-dark: #141414;
  --color-dark-soft: #2a2a2a;
  --color-text: #2c2c2c;
  --color-text-muted: #5c5c5c;
  --color-bg: #f0f2f5;
  --color-surface: #ffffff;
  --color-white: #fff;
  --color-accent: #1e9bd7;
  --font-sans: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --header-h: 64px;
  --radius: 12px;
  --radius-lg: 16px;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.12);
  --max-w: 1160px;
  --section-y: 72px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.container {
  width: min(100% - 40px, var(--max-w));
  margin-inline: auto;
}

/* 顶栏 */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(20, 20, 20, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: background 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}

.site-header.is-scrolled {
  background: rgba(20, 20, 20, 0.96);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.18);
}

.header-inner {
  width: min(100% - 32px, var(--max-w));
  margin-inline: auto;
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-logo {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  object-fit: contain;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.brand-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-white);
  letter-spacing: 0.02em;
}

.brand-tagline {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.06em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.site-nav a {
  position: relative;
  padding: 8px 14px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.78);
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 4px;
  height: 2px;
  border-radius: 1px;
  background: var(--color-primary);
  transform: scaleX(0);
  transition: transform 0.25s var(--ease-out);
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.is-active {
  color: #fff;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-nav a.is-active::after {
  transform: scaleX(1);
}

.header-cta {
  flex-shrink: 0;
  padding: 8px 18px;
  border-radius: 999px;
  background: var(--color-primary);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 14px rgba(200, 16, 46, 0.35);
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}

.header-cta:hover {
  background: var(--color-primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(200, 16, 46, 0.4);
}

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.nav-toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  background: #fff;
  border-radius: 1px;
  transition: transform 0.25s, opacity 0.25s;
}

/* 首屏 */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: min(88vh, 720px);
  padding: calc(var(--header-h) + 48px) 20px 56px;
  overflow: hidden;
  color: #fff;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(135deg, rgba(20, 20, 20, 0.92) 0%, rgba(139, 10, 31, 0.75) 42%, rgba(200, 16, 46, 0.88) 100%),
    url("/assets/hero-pattern.png") center / cover no-repeat;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 80% 20%, rgba(255, 255, 255, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse 50% 40% at 10% 90%, rgba(0, 0, 0, 0.2) 0%, transparent 55%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(100%, var(--max-w));
  margin-inline: auto;
  max-width: 720px;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-title {
  font-size: clamp(28px, 5.5vw, 46px);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 12px;
  letter-spacing: 0.01em;
}

.hero-subtitle {
  font-size: clamp(15px, 2.2vw, 18px);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 16px;
  letter-spacing: 0.12em;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.hero-badges li {
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.86);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
}

.hero-desc {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 28px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 128px;
  padding: 12px 28px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  transition: transform 0.2s var(--ease-out), background 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.btn-primary {
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 4px 16px rgba(200, 16, 46, 0.4);
}

.btn-primary:hover {
  background: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(200, 16, 46, 0.45);
}

.btn-outline {
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  color: #fff;
  backdrop-filter: blur(4px);
}

.btn-outline:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.hero-stats li {
  padding: 18px 16px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  transition: background 0.25s, border-color 0.25s;
}

.hero-stats li:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.2);
}

.hero-stats strong {
  display: block;
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 800;
  color: #fff;
  margin-bottom: 4px;
  letter-spacing: -0.02em;
}

.hero-stats span {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.4;
}

/* 通用区块 */
.section {
  padding: var(--section-y) 0;
  scroll-margin-top: calc(var(--header-h) + 16px);
}

.section-head {
  text-align: center;
  margin-bottom: 40px;
}

.section-head--light .section-title,
.section-head--light .section-desc {
  color: #fff;
}

.section-head--light .section-label {
  color: rgba(255, 255, 255, 0.6);
}

.section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--color-primary);
  margin-bottom: 10px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--color-primary-soft);
}

.section-head--light .section-label {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.75);
}

.section-title {
  font-size: clamp(24px, 3.5vw, 32px);
  font-weight: 800;
  color: var(--color-dark);
  letter-spacing: 0.02em;
}

.section-desc {
  margin-top: 12px;
  color: var(--color-text-muted);
  font-size: 15px;
  max-width: 520px;
  margin-inline: auto;
  line-height: 1.7;
}

/* 公司简介 */
.about {
  background: var(--color-surface);
}

.about-layout {
  display: grid;
  gap: 32px;
}

.about-intro {
  text-align: center;
}

.about-lead {
  font-size: 16px;
  color: var(--color-text-muted);
  line-height: 1.85;
  max-width: 780px;
  margin-inline: auto;
}

.mission-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.mission-card {
  padding: 24px 26px;
  border-radius: var(--radius-lg);
  background: var(--color-bg);
  border: 1px solid rgba(0, 0, 0, 0.04);
  border-left: 4px solid var(--color-primary);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s;
}

.mission-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.mission-card h3 {
  font-size: 17px;
  margin-bottom: 10px;
  color: var(--color-dark);
  font-weight: 700;
}

.mission-card p {
  font-size: 14px;
  margin: 0;
  line-height: 1.75;
  color: var(--color-text-muted);
}

@media (min-width: 900px) {
  .about-layout {
    grid-template-columns: 1fr 1.1fr;
    gap: 40px;
    align-items: start;
  }

  .about-intro {
    text-align: left;
    padding-top: 8px;
  }

  .about-lead {
    margin-inline: 0;
    font-size: 15px;
  }

  .mission-cards {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* 核心业务 */
.services {
  position: relative;
  overflow: hidden;
  background: #0f0f0f;
  padding-top: calc(var(--section-y) - 8px);
  padding-bottom: var(--section-y);
}

.services .container {
  position: relative;
  z-index: 1;
}

.services-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 55% at 50% -10%, rgba(200, 16, 46, 0.14) 0%, transparent 55%),
    linear-gradient(180deg, #181818 0%, #0a0a0a 100%);
  pointer-events: none;
}

.services .section-head {
  margin-bottom: 36px;
}

.services .section-desc {
  color: rgba(255, 255, 255, 0.65);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(165deg, #262626 0%, #1c1c1c 100%);
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.25);
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.5s var(--ease-out),
    transform 0.5s var(--ease-out),
    border-color 0.3s,
    box-shadow 0.3s;
}

.service-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.service-card.is-visible:nth-child(1) { transition-delay: 0.06s; }
.service-card.is-visible:nth-child(2) { transition-delay: 0.12s; }
.service-card.is-visible:nth-child(3) { transition-delay: 0.18s; }
.service-card.is-visible:nth-child(4) { transition-delay: 0.24s; }

.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.service-card.is-visible:hover {
  border-color: rgba(200, 16, 46, 0.45);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(200, 16, 46, 0.15);
  transform: translateY(-4px);
}

.service-card-index {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.7);
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.service-card-media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  flex-shrink: 0;
}

.service-card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(15, 15, 15, 0.9) 100%);
  pointer-events: none;
}

.service-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.55s var(--ease-out);
}

.service-card-media picture {
  display: block;
  width: 100%;
  height: 100%;
}

.service-card-media picture img {
  width: 100%;
  height: 100%;
}

.service-card:nth-child(2) .service-card-media img {
  object-position: center 42%;
}

.service-card:nth-child(4) .service-card-media img {
  object-position: center 48%;
}

.service-card:hover .service-card-media img {
  transform: scale(1.06);
}

.service-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 18px 18px;
}

.service-card-title {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  line-height: 1.35;
}

.service-card-lead {
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.65);
  margin: 0;
}

.service-card-points {
  margin-top: 4px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.service-card-points li {
  position: relative;
  padding-left: 14px;
  font-size: 12px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.52);
}

.service-card-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-primary);
  transform: translateY(-50%);
}

/* 企业特色 */
.features {
  background: var(--color-surface);
}

.feature-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 32px;
  padding: 6px;
  max-width: 640px;
  margin-inline: auto;
  background: var(--color-bg);
  border-radius: 999px;
}

.feature-tab {
  padding: 10px 20px;
  border: none;
  border-radius: 999px;
  background: transparent;
  font-size: 14px;
  font-family: inherit;
  cursor: pointer;
  color: var(--color-text-muted);
  font-weight: 500;
  transition: all 0.25s var(--ease-out);
}

.feature-tab.is-active,
.feature-tab:hover {
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 4px 12px rgba(200, 16, 46, 0.3);
}

.feature-panels {
  position: relative;
}

.feature-panel {
  display: none;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
  padding: 32px;
  border-radius: var(--radius-lg);
  background: var(--color-bg);
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: var(--shadow-sm);
  animation: fadeIn 0.4s var(--ease-out);
}

.feature-panel.is-active {
  display: grid;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.feature-panel-text h3 {
  font-size: 20px;
  color: var(--color-dark);
  margin-bottom: 16px;
  font-weight: 700;
  line-height: 1.35;
}

.feature-panel-text ul {
  list-style: none;
  padding: 0;
}

.feature-panel-text li {
  position: relative;
  padding-left: 20px;
  font-size: 14px;
  color: var(--color-text-muted);
  margin-bottom: 12px;
  line-height: 1.7;
}

.feature-panel-text li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: var(--color-primary);
  transform: translateY(-50%) rotate(45deg);
}

.feature-panel-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  padding: 12px;
}

.feature-panel-img {
  width: 100%;
  max-height: 280px;
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  object-fit: contain;
  object-position: center;
  background: var(--color-surface);
}

/* 结语 */
.closing {
  background: linear-gradient(180deg, var(--color-bg) 0%, #e8eaed 100%);
}

.closing-inner {
  margin: 0;
  padding: 40px 48px;
  text-align: center;
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: var(--shadow);
  border-left: 4px solid var(--color-primary);
}

.closing-title {
  font-size: clamp(20px, 2.8vw, 26px);
  color: var(--color-dark);
  margin-bottom: 16px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.closing-inner p {
  max-width: 720px;
  margin-inline: auto;
  font-size: 15px;
  color: var(--color-text-muted);
  line-height: 1.85;
}

/* 联系我们 */
.contact {
  background: linear-gradient(160deg, #1a1a1a 0%, #0d0d0d 100%);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.contact-card {
  padding: 28px 20px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  color: #fff;
  transition: background 0.25s, border-color 0.25s, transform 0.25s var(--ease-out);
}

.contact-card:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(200, 16, 46, 0.35);
  transform: translateY(-3px);
}

.contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 14px;
  font-size: 22px;
  border-radius: 12px;
  background: rgba(200, 16, 46, 0.15);
  border: 1px solid rgba(200, 16, 46, 0.25);
}

.contact-card h3 {
  font-size: 13px;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 500;
  letter-spacing: 0.04em;
}

.contact-card p {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
}

.contact-card a {
  transition: color 0.2s;
}

.contact-card a:hover {
  color: var(--color-accent);
}

/* 页脚 */
.site-footer {
  padding: 28px 0;
  background: #080808;
  color: rgba(255, 255, 255, 0.55);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-logo {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}

.footer-copy p {
  font-size: 13px;
  line-height: 1.6;
}

.footer-domain a {
  color: rgba(255, 255, 255, 0.45);
  transition: color 0.2s;
}

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

/* 宽屏：核心业务四列 */
@media (min-width: 1024px) {
  .service-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
  }

  .service-card-media {
    aspect-ratio: 16 / 9;
  }

  .service-card-body {
    padding: 14px 14px 16px;
    gap: 6px;
  }

  .service-card-title {
    font-size: 15px;
  }

  .service-card-lead {
    font-size: 12px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
  }

  .service-card-points li:nth-child(n + 3) {
    display: none;
  }

  .service-card-points {
    padding-top: 10px;
    gap: 4px;
  }

  .service-card-points li {
    font-size: 11px;
  }
}

/* 响应式 */
@media (max-width: 1024px) {
  :root {
    --section-y: 56px;
  }

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

  .hero-inner {
    max-width: none;
  }
}

@media (max-width: 768px) {
  :root {
    --section-y: 48px;
    --header-h: 56px;
  }

  .container {
    width: min(100% - 32px, var(--max-w));
  }

  .nav-toggle {
    display: flex;
  }

  .header-cta {
    display: none;
  }

  .site-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    padding: 12px 16px 20px;
    gap: 4px;
    margin-left: 0;
    background: rgba(20, 20, 20, 0.98);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s var(--ease-out), opacity 0.3s;
  }

  .site-nav a {
    padding: 12px 16px;
    border-radius: 10px;
  }

  .site-nav a::after {
    display: none;
  }

  .site-nav a:hover,
  .site-nav a.is-active {
    background: rgba(255, 255, 255, 0.06);
  }

  .site-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-toggle.is-open .nav-toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle.is-open .nav-toggle-bar:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.is-open .nav-toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .hero {
    min-height: auto;
    padding: calc(var(--header-h) + 32px) 16px 40px;
  }

  .about-layout {
    grid-template-columns: 1fr;
  }

  .mission-cards {
    grid-template-columns: 1fr;
  }

  .service-grid {
    grid-template-columns: 1fr;
    max-width: none;
    margin-inline: 0;
  }

  .feature-tabs {
    border-radius: var(--radius);
    padding: 8px;
    gap: 8px;
  }

  .feature-tab {
    flex: 1 1 calc(50% - 8px);
    padding: 10px 12px;
    font-size: 13px;
  }

  .feature-panel.is-active {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 24px 20px;
  }

  .feature-panel-visual {
    order: -1;
    padding: 0;
  }

  .feature-panel-img {
    max-height: 200px;
  }

  .closing-inner {
    padding: 28px 24px;
  }

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

  .footer-inner {
    flex-direction: column;
    text-align: center;
    justify-content: center;
  }

  .hero-stats {
    gap: 10px;
  }

  .hero-stats li {
    padding: 14px 12px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-stats {
    grid-template-columns: 1fr;
  }

  .hero-actions .btn {
    flex: 1 1 100%;
    min-width: 0;
  }
}

/* 404 页 */
.page-not-found {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg);
}

.not-found-main {
  text-align: center;
  padding: 40px 24px;
  max-width: 420px;
}

.not-found-code {
  font-size: 64px;
  font-weight: 800;
  line-height: 1;
  color: var(--color-primary);
  margin-bottom: 12px;
}

.not-found-main h1 {
  font-size: 22px;
  color: var(--color-dark);
  margin-bottom: 12px;
}

.not-found-desc {
  color: var(--color-text-muted);
  margin-bottom: 28px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .service-card,
  .service-card-media img,
  .mission-card,
  .contact-card,
  .btn {
    transition: none;
  }

  .service-card {
    opacity: 1;
    transform: none;
  }

  .feature-panel {
    animation: none;
  }
}
