:root {
  --red: #b3131b;
  --red-dark: #760d12;
  --red-soft: #fff0f1;
  --ink: #1e2329;
  --muted: #69727d;
  --line: #e4e8ed;
  --paper: #ffffff;
  --soft: #f5f6f8;
  --steel: #26313b;
  --gold: #c6a052;
  --shadow: 0 18px 45px rgba(28, 34, 40, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  line-height: 1.7;
}

body.nav-open {
  overflow: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.wrap {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 50;
  padding: 9px 14px;
  color: #fff;
  background: var(--red);
  border-radius: 6px;
}

.skip-link:focus {
  top: 16px;
}

.topbar {
  color: #fff;
  background: #2a2f35;
  font-size: 13px;
}

.topbar-inner,
.brandbar-inner,
.nav-inner,
.cta-inner,
.footer-grid {
  display: flex;
  align-items: center;
}

.topbar-inner {
  min-height: 36px;
  justify-content: space-between;
  gap: 18px;
}

.topbar-links {
  display: flex;
  gap: 20px;
  white-space: nowrap;
}

.topbar a {
  color: rgba(255, 255, 255, 0.82);
}

.topbar a:hover {
  color: #fff;
}

.brandbar {
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.brandbar-inner {
  min-height: 88px;
  gap: 28px;
}

.brand img {
  width: 403px;
  height: auto;
}

.brand-slogan {
  display: grid;
  gap: 2px;
  padding-left: 22px;
  border-left: 1px solid var(--line);
  color: var(--muted);
  min-width: 230px;
}

.brand-slogan strong {
  color: var(--red);
  font-size: 18px;
  line-height: 1.25;
}

.brand-slogan span {
  font-size: 13px;
}

.brand-contact {
  margin-left: auto;
  display: grid;
  justify-items: end;
  gap: 2px;
}

.brand-contact span {
  color: var(--muted);
  font-size: 14px;
}

.brand-contact a {
  color: var(--red);
  font-size: 28px;
  font-weight: 800;
  line-height: 1.15;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 42px;
  color: var(--red);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  cursor: pointer;
}

.nav-toggle span {
  position: absolute;
  width: 20px;
  height: 2px;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle span:nth-child(1) {
  transform: translateY(-7px);
}

.nav-toggle span:nth-child(3) {
  transform: translateY(7px);
}

.nav-toggle b {
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  position: absolute;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: rotate(-45deg);
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--red);
  box-shadow: 0 8px 24px rgba(128, 12, 18, 0.16);
}

.nav-inner {
  min-height: 48px;
  justify-content: center;
}

.nav-inner a {
  display: grid;
  place-items: center;
  min-height: 48px;
  padding: 0 18px;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
}

.nav-inner a:hover,
.nav-inner a.active {
  background: var(--red-dark);
}

.hero {
  min-height: 450px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(46, 8, 10, 0.82), rgba(82, 13, 17, 0.5) 44%, rgba(18, 21, 26, 0.1)),
    url("../images/hero.jpg") center / cover no-repeat;
}

.hero-inner {
  min-height: 450px;
  display: grid;
  align-content: center;
  max-width: 1200px;
  padding: 54px 0 74px;
}

.eyebrow {
  margin: 0 0 12px;
  color: #f4d17f;
  font-size: 16px;
  font-weight: 800;
}

.hero h1 {
  max-width: 720px;
  margin: 0;
  font-size: 44px;
  line-height: 1.18;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 660px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 18px;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 800;
  line-height: 1.3;
  text-align: center;
  overflow-wrap: anywhere;
}

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

.btn-primary:hover {
  background: var(--red-dark);
}

.btn-light {
  color: #fff;
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.48);
}

.btn-dark {
  color: #fff;
  background: var(--steel);
  border-color: var(--steel);
}

.btn-outline {
  color: var(--red);
  background: #fff;
  border-color: var(--red);
}

.quick-stats {
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  box-shadow: var(--shadow);
  transform: translateY(-34px);
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
}

.stats-grid div {
  min-height: 116px;
  padding: 24px;
  border-right: 1px solid var(--line);
}

.stats-grid div:last-child {
  border-right: 0;
}

.stats-grid strong {
  display: block;
  color: var(--red);
  font-size: 28px;
  line-height: 1.1;
}

.stats-grid span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
}

.keyword-strip {
  margin-top: -34px;
  background: var(--soft);
  border-bottom: 1px solid var(--line);
}

.keyword-inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  min-height: 56px;
  color: var(--muted);
  font-size: 14px;
}

.keyword-inner strong {
  color: var(--ink);
}

.keyword-inner a {
  padding: 4px 10px;
  color: var(--red);
  background: #fff;
  border: 1px solid rgba(179, 19, 27, 0.12);
  border-radius: 999px;
}

.section {
  padding: 78px 0;
  scroll-margin-top: 70px;
}

.section-head {
  max-width: 720px;
  margin: 0 auto 34px;
  text-align: center;
}

.section-head.align-left {
  margin-left: 0;
  text-align: left;
}

.section-head span {
  display: inline-block;
  color: var(--red);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.section-head h2 {
  margin: 6px 0 8px;
  font-size: 34px;
  line-height: 1.25;
  letter-spacing: 0;
}

.section-head p {
  margin: 0;
  color: var(--muted);
}

.products-section,
.cases-section,
.news-section {
  background: #fff;
}

.product-layout {
  display: grid;
  grid-template-columns: 290px 1fr;
  gap: 24px;
  align-items: start;
}

.category-panel {
  position: sticky;
  top: 78px;
  padding: 24px;
  background: var(--steel);
  color: #fff;
  border-radius: 8px;
}

.category-panel h3 {
  margin: 0 0 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 22px;
}

.category-block {
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.category-block h4 {
  margin: 0 0 6px;
  color: #f4d17f;
  font-size: 17px;
}

.category-block p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
}

.panel-call {
  display: grid;
  place-items: center;
  min-height: 44px;
  margin-top: 20px;
  color: #fff;
  background: var(--red);
  border-radius: 6px;
  font-weight: 800;
}

.product-grid,
.case-grid,
.news-grid,
.service-grid,
.advantage-grid {
  display: grid;
  gap: 22px;
}

.product-grid {
  grid-template-columns: repeat(3, 1fr);
}

.media-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.media-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--soft);
}

.media-card div {
  padding: 18px;
}

.media-card h3 {
  margin: 0 0 6px;
  color: var(--ink);
  font-size: 19px;
}

.media-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.cta-band {
  color: #fff;
  background:
    linear-gradient(90deg, rgba(118, 13, 18, 0.92), rgba(179, 19, 27, 0.76)),
    url("../images/mid-banner.png") center / cover no-repeat;
}

.cta-inner {
  min-height: 150px;
  gap: 32px;
}

.cta-inner div {
  min-width: 250px;
}

.cta-inner span {
  display: block;
  font-weight: 700;
}

.cta-inner strong {
  display: block;
  font-size: 36px;
  line-height: 1.2;
}

.cta-inner p {
  flex: 1;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
}

.services-section {
  color: #fff;
  background: var(--steel);
}

.light-head span {
  color: #f4d17f;
}

.light-head p {
  color: rgba(255, 255, 255, 0.74);
}

.service-grid {
  grid-template-columns: repeat(4, 1fr);
}

.service-grid article {
  min-height: 230px;
  padding: 26px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
}

.service-grid span {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  color: #fff;
  background: var(--red);
  border-radius: 50%;
  font-weight: 900;
}

.service-grid h3 {
  margin: 18px 0 8px;
  font-size: 21px;
}

.service-grid p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
}

.advantage-section {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(245, 246, 248, 0.96)),
    url("../images/advantage-bg.jpg") center / cover no-repeat;
}

.advantage-grid {
  grid-template-columns: repeat(4, 1fr);
}

.advantage-grid article {
  min-height: 180px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.9);
  border-top: 4px solid var(--red);
  border-radius: 8px;
  box-shadow: 0 12px 34px rgba(38, 49, 59, 0.08);
}

.advantage-grid h3 {
  margin: 0 0 10px;
  font-size: 20px;
}

.advantage-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.case-grid {
  grid-template-columns: repeat(4, 1fr);
}

.case-card img {
  aspect-ratio: 5 / 4;
}

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

.about-grid {
  display: grid;
  grid-template-columns: 1.03fr 0.97fr;
  gap: 46px;
  align-items: center;
}

.about-grid p {
  margin: 0 0 16px;
  color: #46515c;
}

.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.about-tags span {
  padding: 7px 12px;
  color: var(--red);
  background: #fff;
  border: 1px solid rgba(179, 19, 27, 0.16);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
}

.about-photo {
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.about-photo img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.honor-news-section {
  background: #fff;
}

.split-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 34px;
  align-items: start;
}

.honor-panel,
.faq-panel {
  padding: 28px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.honor-panel img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 6px;
  background: #fff;
}

.honor-panel img[data-honor-slider] {
  transition: opacity 0.36s ease;
}

.honor-panel img[data-honor-slider].is-fading {
  opacity: 0.28;
}

.honor-panel p {
  margin: 16px 0 0;
  color: var(--muted);
}

details {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

details:first-of-type {
  padding-top: 0;
}

details:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

summary {
  color: var(--ink);
  cursor: pointer;
  font-weight: 800;
}

details p {
  margin: 10px 0 0;
  color: var(--muted);
}

.news-grid {
  grid-template-columns: repeat(3, 1fr);
}

.news-grid article {
  min-height: 210px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.news-grid time {
  color: var(--red);
  font-size: 13px;
  font-weight: 800;
}

.news-grid h3 {
  margin: 10px 0 10px;
  font-size: 20px;
  line-height: 1.4;
}

.news-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.contact-section {
  color: #fff;
  background: linear-gradient(135deg, var(--red-dark), var(--red) 58%, #421014);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 42px;
  align-items: start;
}

.contact-section .section-head span {
  color: #f4d17f;
}

.contact-section .section-head p,
.contact-lead {
  color: rgba(255, 255, 255, 0.82);
}

.contact-lead {
  margin: 0;
  max-width: 560px;
}

.contact-list {
  padding: 28px;
  color: var(--ink);
  background: #fff;
  border-radius: 8px;
}

.contact-list dl {
  display: grid;
  gap: 0;
  margin: 0;
}

.contact-list div {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.contact-list div:first-child {
  padding-top: 0;
}

.contact-list div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.contact-list dt {
  color: var(--red);
  font-weight: 800;
}

.contact-list dd {
  margin: 0;
  color: #3d4650;
}

.contact-list a {
  color: var(--red);
}

.site-footer {
  padding: 34px 0;
  color: rgba(255, 255, 255, 0.72);
  background: #171b20;
}

.footer-grid {
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
}

.site-footer img {
  width: 240px;
  max-width: 100%;
  height: auto;
  padding: 10px 12px;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
  filter: none;
}

.site-footer p {
  max-width: 380px;
  margin: 14px 0 0;
}

.site-footer nav {
  display: grid;
  gap: 8px;
  min-width: 110px;
}

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

.footer-contact {
  display: grid;
  gap: 8px;
  max-width: 360px;
}

.footer-contact strong {
  color: #fff;
  font-size: 18px;
}

.mobile-callbar {
  display: none;
}

@media (max-width: 1120px) {
  .brand-slogan {
    display: none;
  }

  .nav-inner a {
    padding: 0 12px;
    font-size: 14px;
  }

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

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

@media (max-width: 860px) {
  .topbar {
    display: none;
  }

  .brandbar-inner {
    min-height: 72px;
    gap: 16px;
  }

  .brand img {
    width: 250px;
  }

  .brand-contact {
    display: none;
  }

  .nav-toggle {
    position: relative;
    display: inline-flex;
    margin-left: auto;
  }

  .site-nav {
    position: fixed;
    inset: 72px 0 auto;
    display: none;
    background: #fff;
    box-shadow: 0 14px 28px rgba(22, 25, 28, 0.16);
  }

  .site-nav.open {
    display: block;
  }

  .nav-inner {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    min-height: 0;
    padding: 10px 16px 16px;
  }

  .nav-inner a {
    min-height: 44px;
    color: var(--ink);
    border-bottom: 1px solid var(--line);
  }

  .nav-inner a:hover,
  .nav-inner a.active {
    color: var(--red);
    background: var(--red-soft);
  }

  .hero,
  .hero-inner {
    min-height: 390px;
  }

  .hero-inner {
    padding: 44px 0 64px;
  }

  .hero h1 {
    font-size: 34px;
  }

  .hero-copy {
    font-size: 16px;
  }

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

  .stats-grid div:nth-child(2) {
    border-right: 0;
  }

  .stats-grid div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .product-layout,
  .about-grid,
  .split-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .category-panel {
    position: static;
  }

  .cta-inner {
    display: grid;
    padding: 28px 0;
    gap: 18px;
  }

  .section {
    padding: 58px 0;
  }

  .section-head h2 {
    font-size: 28px;
  }

  .footer-grid {
    display: grid;
  }
}

@media (max-width: 620px) {
  body {
    padding-bottom: 58px;
  }

  .wrap {
    width: min(100% - 24px, 1200px);
  }

  .brand img {
    width: 218px;
  }

  .hero {
    background-position: center;
  }

  .hero h1 {
    font-size: 30px;
  }

  .eyebrow {
    font-size: 14px;
  }

  .hero-actions,
  .contact-actions {
    display: grid;
  }

  .btn {
    width: 100%;
    min-height: 46px;
  }

  .stats-grid {
    transform: translateY(-22px);
  }

  .stats-grid div {
    min-height: 116px;
    padding: 18px;
  }

  .stats-grid strong {
    font-size: 24px;
  }

  .keyword-strip {
    margin-top: -22px;
  }

  .product-grid,
  .case-grid,
  .service-grid,
  .advantage-grid,
  .news-grid {
    grid-template-columns: 1fr;
  }

  .service-grid article,
  .advantage-grid article,
  .news-grid article {
    min-height: auto;
  }

  .contact-list {
    padding: 22px;
  }

  .contact-list div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .mobile-callbar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 30;
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: #fff;
    border-top: 1px solid var(--line);
    box-shadow: 0 -10px 24px rgba(24, 29, 35, 0.14);
  }

  .mobile-callbar a {
    display: grid;
    place-items: center;
    min-height: 58px;
    color: #fff;
    background: var(--red);
    font-weight: 800;
  }

  .mobile-callbar a + a {
    color: var(--red);
    background: #fff;
  }
}
