:root {
  --ink: #1c252e;
  --muted: #78838d;
  --line: #e6ebee;
  --blue: #10b9ec;
  --blue-dark: #0079b6;
  --paper: #ffffff;
  --soft: #f5f8fa;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif; font-size: 15px; line-height: 1.75; }
button, a { font: inherit; }
a { color: inherit; text-decoration: none; }
.container, .nav-shell { width: min(1170px, calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 20; top: -4rem; left: 1rem; background: var(--ink); color: #fff; padding: .5rem .8rem; }
.skip-link:focus { top: 1rem; }

.site-header { background: #fff; }
.nav-shell { min-height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { color: #ed1d24; font-weight: 700; font-size: 20px; white-space: nowrap; }
nav { align-self: stretch; display: flex; align-items: stretch; }
nav a { position: relative; display: grid; place-items: center; min-width: 82px; padding: 0 12px; color: #111; transition: color .2s ease; }
nav a::after { position: absolute; right: 12px; bottom: 0; left: 12px; height: 3px; background: var(--blue); content: ""; transform: scaleX(0); transition: transform .2s ease; }
nav a:hover, nav a:focus-visible, nav a.is-active { color: var(--blue-dark); }
nav a:hover::after, nav a:focus-visible::after, nav a.is-active::after { transform: scaleX(1); }
.menu-toggle { display: none; width: 44px; height: 40px; padding: 9px; border: 1px solid var(--line); background: #fff; cursor: pointer; }
.menu-toggle span { display: block; height: 2px; margin: 4px 0; background: var(--ink); }

.hero { position: relative; height: 460px; overflow: hidden; background: #dfe5e8; }
.hero-track, .hero-slide { position: absolute; inset: 0; }
.hero-slide { visibility: hidden; opacity: 0; }
.hero-slide.is-current { visibility: visible; opacity: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255,255,255,.62) 0%, rgba(255,255,255,.2) 47%, rgba(0,0,0,0) 70%); }
.hero-content { position: relative; z-index: 1; width: min(1170px, calc(100% - 40px)); margin: 0 auto; padding-top: 154px; color: #282b30; }
.hero-content p { margin: 0; font-size: 18px; font-weight: 700; }
.hero-content h1 { max-width: 500px; margin: 0 0 5px; font-size: 34px; line-height: 1.3; letter-spacing: 0; }
.hero-content strong { display: inline-block; padding: 1px 15px; color: #fff; background: #58504c; font-size: 19px; }
.hero-content span { display: block; max-width: 350px; margin-top: 10px; font-size: 11px; letter-spacing: .3px; }
.hero-dots { position: absolute; z-index: 2; bottom: 26px; left: 50%; display: flex; gap: 12px; transform: translateX(-50%); }
.hero-dots button { width: 13px; height: 13px; padding: 0; border: 2px solid #fff; border-radius: 50%; background: rgba(255,255,255,.5); cursor: pointer; }
.hero-dots button.is-current { background: #fff; }

.section { padding: 29px 0 14px; }
.section-heading { display: flex; align-items: baseline; gap: 12px; padding-bottom: 4px; border-bottom: 1px solid var(--line); }
.section-heading h2 { margin: 0; font-size: 23px; line-height: 1.5; letter-spacing: 0; }
.section-heading span { color: var(--blue-dark); font-family: Arial, sans-serif; font-size: 12px; }
.about-layout { display: grid; grid-template-columns: 350px 1fr; gap: 25px; align-items: center; padding: 19px 0 18px; }
.about-layout img { width: 100%; display: block; }
.about-layout p { margin: 0 0 10px; color: #6d7985; font-size: 16px; line-height: 2; text-align: justify; }
.text-link { display: inline-block; margin-top: 4px; padding: 2px 10px; color: #006bc1; border: 1px solid #006bc1; font-size: 13px; line-height: 1.7; transition: color .2s ease, background .2s ease; }
.text-link:hover, .text-link:focus-visible { color: #fff; background: #006bc1; }

.products { padding-top: 10px; }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 31px; padding: 34px 0 24px; }
.product-grid article { min-width: 0; text-align: center; }
.product-grid img { display: block; width: 100%; aspect-ratio: 1.44; border: 1px solid #d7dde0; padding: 4px; object-fit: cover; background: #fff; transition: transform .2s ease, box-shadow .2s ease; }
.product-grid article:hover img { transform: translateY(-4px); box-shadow: 0 8px 20px rgba(18,54,72,.16); }
.product-grid h3 { overflow: hidden; margin: 12px 0 0; color: #667482; font-size: 14px; font-weight: 400; white-space: nowrap; text-overflow: ellipsis; }

.information { padding-top: 10px; background: var(--soft); }
.information-layout { display: grid; grid-template-columns: 1.25fr .75fr; gap: 60px; padding-bottom: 28px; }
.news-list { margin: 17px 0 0; padding: 0; list-style: none; }
.news-list li { display: flex; justify-content: space-between; gap: 1rem; padding: 9px 0; border-bottom: 1px dashed #ccd5db; color: #54616d; }
.news-list time { color: #8b969e; font-family: Arial, sans-serif; font-size: 13px; }
.contact-panel p { margin: 10px 0 0; color: #61707c; }
.contact-panel .contact-company { color: var(--ink); font-size: 16px; font-weight: 700; }
.contact-panel .contact-note { font-size: 13px; color: #88939c; }
.site-footer { padding: 22px 0; background: #30383d; color: #dfe6e9; text-align: center; }
.site-footer p { margin: 0; font-size: 13px; }

@media (max-width: 860px) {
  .nav-shell { min-height: 66px; gap: 1rem; }
  .brand { max-width: calc(100% - 65px); font-size: 17px; overflow: hidden; text-overflow: ellipsis; }
  .menu-toggle { display: block; }
  nav { position: absolute; z-index: 10; top: 66px; right: 0; left: 0; display: none; flex-direction: column; padding: 8px 20px 14px; background: #fff; box-shadow: 0 8px 18px rgba(0,0,0,.13); }
  nav.is-open { display: flex; }
  nav a { display: block; min-width: 0; padding: 10px 0; border-bottom: 1px solid var(--line); }
  nav a::after { right: auto; left: 0; width: 42px; }
  .hero { height: 390px; }
  .hero-content { padding-top: 132px; }
  .hero-content h1 { max-width: 380px; font-size: 29px; }
  .hero-content p { font-size: 16px; }
  .about-layout { grid-template-columns: 250px 1fr; gap: 20px; }
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 19px; }
  .information-layout { gap: 34px; }
}

@media (max-width: 600px) {
  .container, .nav-shell, .hero-content { width: min(100% - 32px, 1170px); }
  .hero { height: 315px; }
  .hero-slide img { object-position: 60% center; }
  .hero-overlay { background: linear-gradient(90deg, rgba(255,255,255,.75), rgba(255,255,255,.1)); }
  .hero-content { padding-top: 99px; }
  .hero-content p { font-size: 14px; }
  .hero-content h1 { max-width: 285px; font-size: 25px; }
  .hero-content strong { font-size: 15px; }
  .hero-content span { font-size: 9px; }
  .section { padding-top: 24px; }
  .section-heading h2 { font-size: 20px; }
  .about-layout { grid-template-columns: 1fr; gap: 15px; }
  .about-layout img { max-height: 220px; object-fit: cover; }
  .about-layout p { font-size: 14px; line-height: 1.9; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 19px 12px; padding: 24px 0 12px; }
  .product-grid h3 { margin-top: 7px; font-size: 13px; }
  .information-layout { grid-template-columns: 1fr; gap: 25px; }
}

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; } }
