:root {
  --brand: #d73524;
  --brand-dark: #a92118;
  --accent: #ee8b15;
  --ink: #1f2328;
  --muted: #5c6670;
  --line: #e8eaed;
  --paper: #ffffff;
  --soft: #f6f7f9;
  --footer: #a6251c;
}

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

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font: 14px/1.7 "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", Arial, sans-serif;
}

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

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

li {
  list-style: none;
}

.wrapper {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(232, 234, 237, 0.9);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  width: 210px;
  flex: 0 0 auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
  color: #424850;
  font-size: 15px;
}

.nav a {
  position: relative;
  padding: 24px 0;
  white-space: nowrap;
}

.nav a::after {
  position: absolute;
  right: 0;
  bottom: 18px;
  left: 0;
  height: 2px;
  background: var(--brand);
  content: "";
  opacity: 0;
  transform: scaleX(0.4);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.nav a:hover,
.nav .active {
  color: var(--brand);
}

.nav a:hover::after,
.nav .active::after {
  opacity: 1;
  transform: scaleX(1);
}

.eyebrow {
  color: var(--brand);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  line-height: 1.25;
  font-weight: 700;
  overflow-wrap: break-word;
}

p {
  overflow-wrap: break-word;
}

.section {
  padding: 92px 0;
}

.muted-section {
  background: var(--soft);
}

.footer {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #8f1f19 0%, var(--footer) 48%, #d8581f 100%);
  color: #d9dde2;
}

.footer::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 52%;
  background: linear-gradient(90deg, #ffffff 0%, rgba(255, 255, 255, 0.9) 38%, rgba(255, 255, 255, 0) 100%);
  content: "";
}

.footer-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 40px;
  padding: 50px 0 42px;
}

.footer-brand img {
  width: 210px;
  margin-bottom: 18px;
}

.footer-brand p {
  color: var(--ink);
  font-size: 16px;
  font-weight: 700;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 300px;
  max-width: 360px;
}

.footer-contact {
  display: grid;
  gap: 8px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.8;
}

.base-statement {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  padding: 14px 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
}

.copyright {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 18px;
  text-align: center;
}

.copyright a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.beian-icon {
  display: inline-block;
  width: 12px;
  height: 13px;
  background: url("../images/beian.png") center / contain no-repeat;
}

@media (max-width: 900px) {
  .header-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    padding: 14px 0;
  }

  .brand {
    width: 190px;
  }

  .nav {
    width: 100%;
    gap: 20px;
    overflow-x: auto;
    padding-bottom: 2px;
    font-size: 14px;
  }

  .nav a {
    padding: 4px 0 12px;
  }

  .nav a::after {
    bottom: 6px;
  }

  .section {
    padding: 64px 0;
  }

  .footer-inner {
    flex-direction: column;
  }

  .footer::before {
    width: 100%;
    background: linear-gradient(180deg, #ffffff 0%, rgba(255, 255, 255, 0.82) 42%, rgba(255, 255, 255, 0) 100%);
  }
}

@media (max-width: 560px) {
  .wrapper {
    width: min(100% - 28px, 1180px);
  }

  .brand {
    width: 170px;
  }

  .nav {
    gap: 18px;
  }
}
