:root {
  --blue: #1679b8;
  --blue-dark: #126aa4;
  --ink: #333;
  --muted: #777;
  --line: #e4e4e4;
  --container: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: Arial, "Microsoft YaHei", sans-serif;
  font-size: 14px;
  line-height: 1.6;
}

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

a:hover {
  color: var(--blue);
}

img {
  max-width: 100%;
}

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

.topbar {
  min-height: 115px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: block;
  width: 220px;
}

.logo img {
  display: block;
  width: 100%;
}

.top-right {
  display: grid;
  justify-items: end;
  gap: 12px;
}

.utility-links {
  color: #9b9b9b;
  font-size: 12px;
}

.utility-links a {
  margin: 0 7px;
}

.hotline {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #747474;
  font-size: 14px;
}

.hotline strong {
  color: #4a4a4a;
  font-size: 20px;
}

.phone-symbol {
  display: inline-grid;
  width: 31px;
  height: 31px;
  place-items: center;
  border-radius: 50%;
  background: var(--blue);
  color: white;
  font-size: 17px;
}

.main-nav {
  background: var(--blue);
}

.main-nav>.container {
  display: flex;
}

.main-nav a {
  position: relative;
  min-width: 128px;
  padding: 15px 20px;
  color: white;
  text-align: center;
  font-size: 15px;
}

.main-nav>.container>a,
.nav-dropdown>a {
  display: block;
}

.main-nav>.container>a:hover,
.main-nav>.container>a.current,
.nav-dropdown:hover>a {
  background: var(--blue-dark);
  color: white;
}

.nav-dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  z-index: 5;
  top: 100%;
  left: 0;
  display: none;
  width: 184px;
  padding: 6px 0;
  background: white;
  border: 1px solid #d8e1e7;
  box-shadow: 0 6px 12px rgb(0 0 0 / 12%);
}

.nav-dropdown:hover .dropdown-menu {
  display: grid;
}

.dropdown-menu a {
  min-width: 0;
  padding: 8px 15px;
  color: #666;
  text-align: left;
  font-size: 13px;
}

.dropdown-menu a:hover {
  background: #f4f8fa;
  color: var(--blue);
}

.menu-toggle,
.mobile-nav {
  display: none;
}

.banner {
  height: 405px;
  overflow: hidden;
  background: #f4f4f4;
}

.banner img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.banner-slideshow {
  position: relative;
}

.banner-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 420ms ease, transform 420ms ease;
  animation: banner-crossfade 20s infinite;
}

.banner-slide a {
  display: block;
  width: 100%;
  height: 100%;
}

.banner-slide:nth-child(1) {
  animation-delay: 0s;
}

.banner-slide:nth-child(2) {
  animation-delay: 5s;
}

.banner-slide:nth-child(3) {
  animation-delay: 10s;
}

.banner-slide:nth-child(4) {
  animation-delay: 15s;
}

.banner-slide:nth-child(n+2) img {
  object-position: center 55%;
}

.banner-slide:nth-child(3) img {
  object-position: center 50%;
}

.banner-controls {
  position: absolute;
  z-index: 2;
  inset: 0;
  pointer-events: none;
}

.banner-arrow {
  position: absolute;
  top: 50%;
  display: grid;
  width: 42px;
  height: 58px;
  padding: 0;
  place-items: center;
  border: 0;
  color: white;
  background: rgb(12 58 83 / 52%);
  font-size: 44px;
  line-height: 1;
  cursor: pointer;
  opacity: 0;
  pointer-events: auto;
  transform: translateY(-50%);
  transition: opacity 180ms ease, background 180ms ease;
}

.banner-arrow:hover {
  background: rgb(7 128 180 / 88%);
}

.banner-arrow-prev {
  left: 30px;
}

.banner-arrow-next {
  right: 30px;
}

.banner-slideshow:hover .banner-arrow,
.banner-slideshow:focus-within .banner-arrow {
  opacity: 1;
}

.banner-dots {
  position: absolute;
  right: 0;
  bottom: 18px;
  left: 0;
  display: flex;
  justify-content: center;
  gap: 9px;
  pointer-events: auto;
}

.banner-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 1px solid white;
  border-radius: 50%;
  background: rgb(255 255 255 / 55%);
  box-shadow: 0 1px 4px rgb(0 0 0 / 24%);
  cursor: pointer;
  animation: banner-dot-active 20s infinite;
}

.banner-dot:nth-child(1) {
  animation-delay: 0s;
}

.banner-dot:nth-child(2) {
  animation-delay: 5s;
}

.banner-dot:nth-child(3) {
  animation-delay: 10s;
}

.banner-dot:nth-child(4) {
  animation-delay: 15s;
}

.banner-dot.is-current {
  background: var(--blue);
  border-color: var(--blue);
}

@keyframes banner-crossfade {
  0% {
    opacity: 0;
    pointer-events: none;
    transform: scale(1.015);
  }

  4%,
  23% {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
  }

  27%,
  100% {
    opacity: 0;
    pointer-events: none;
    transform: scale(1.015);
  }
}

@keyframes banner-dot-active {

  0%,
  3% {
    background: var(--blue);
    border-color: var(--blue);
  }

  27%,
  100% {
    background: rgb(255 255 255 / 55%);
    border-color: white;
  }
}

.banner-slideshow.is-manual .banner-slide {
  animation: none;
  opacity: 0;
  pointer-events: none;
  transform: scale(1.015);
}

.banner-slideshow.is-manual .banner-slide.is-current {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}

.banner-slideshow.is-manual .banner-dot {
  animation: none;
  background: rgb(255 255 255 / 55%);
  border-color: white;
}

.banner-slideshow.is-manual .banner-dot.is-current {
  background: var(--blue);
  border-color: var(--blue);
}

.announcement {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 74px;
  border-bottom: 1px solid var(--line);
}

.notice {
  display: flex;
  align-items: center;
  gap: 16px;
  color: #999;
  font-size: 13px;
}

.notice strong {
  color: var(--blue);
  font-size: 15px;
}

.site-search {
  display: flex;
  width: 300px;
  height: 34px;
}

.site-search input {
  min-width: 0;
  flex: 1;
  padding: 0 10px;
  border: 1px solid #ddd;
  border-right: 0;
  outline: none;
  color: #555;
}

.site-search input:focus {
  border-color: var(--blue);
}

.site-search button {
  width: 74px;
  border: 0;
  color: white;
  background: var(--blue);
  cursor: pointer;
}

.site-search button:hover {
  background: var(--blue-dark);
}

.promo,
.new-products,
.company-section {
  padding-top: 42px;
}

.section-title,
.general-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  border-bottom: 2px solid var(--blue);
}

.section-title h1,
.general-title h2 {
  margin: 0;
  color: #555;
  font-size: 20px;
  font-weight: normal;
  line-height: 48px;
}

.section-title h1 {
  color: white;
  padding: 0 24px;
  background: var(--blue);
}

.section-title a,
.general-title a {
  color: #888;
  font-size: 12px;
}

.promo-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  padding-top: 28px;
}

.promo-item {
  min-width: 0;
}

.promo-item img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border: 1px solid #eee;
}

.promo-item h2 {
  height: 45px;
  margin: 10px 0 5px;
  overflow: hidden;
  color: #555;
  font-size: 13px;
  font-weight: normal;
  line-height: 1.7;
}

.promo-item p {
  height: 39px;
  margin: 0;
  overflow: hidden;
  color: #999;
  font-size: 12px;
  line-height: 1.65;
}

.promo-item>a {
  display: inline-block;
  margin-top: 4px;
  color: var(--blue);
  font-size: 12px;
}

.promo-item.is-hidden {
  display: none;
}

.search-status {
  min-height: 20px;
  margin: 15px 0 0;
  color: #888;
  font-size: 12px;
}

.new-products {
  padding-top: 38px;
}

.general-title {
  min-height: 44px;
  border-color: var(--line);
}

.general-title h2 {
  color: #4b4b4b;
  font-weight: bold;
  font-size: 19px;
  line-height: 44px;
}

.new-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  padding-top: 24px;
}

.new-grid a {
  display: block;
  color: #555;
  text-align: center;
  font-size: 12px;
}

.new-grid img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  margin-bottom: 10px;
  object-fit: cover;
  border: 1px solid #eee;
}

.new-grid span {
  display: -webkit-box;
  min-height: 39px;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-height: 1.6;
}

.company-section {
  padding-bottom: 50px;
}

.company-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 38px;
  padding-top: 25px;
}

.company-columns>*>h2 {
  margin: 0 0 18px;
  padding-left: 12px;
  border-left: 4px solid var(--blue);
  color: #555;
  font-size: 18px;
  font-weight: normal;
}

.company-profile p {
  margin: 0 0 11px;
  color: #777;
  font-size: 13px;
  text-align: justify;
}

.company-profile>a {
  color: var(--blue);
  font-size: 13px;
}

.company-news article {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 15px;
}

.company-news time {
  display: grid;
  height: 57px;
  place-content: center;
  background: var(--blue);
  color: white;
  text-align: center;
  line-height: 1.1;
}

.company-news time b {
  font-size: 24px;
}

.company-news time span {
  margin-top: 3px;
  font-size: 11px;
}

.company-news article a {
  color: #555;
  font-size: 14px;
}

.company-news article p {
  margin: 5px 0 0;
  color: #999;
  font-size: 12px;
}

.quick-links {
  padding: 16px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: #888;
  font-size: 12px;
}

.quick-links .container {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.quick-links a {
  color: #777;
}

.footer-nav {
  padding: 22px;
  color: #777;
  background: #f5f5f5;
  text-align: center;
  font-size: 13px;
}

.footer-nav a,
.footer-nav span {
  margin: 0 9px;
}

.copyright {
  padding: 18px 0;
  color: #999;
  background: #444;
  font-size: 12px;
}

.copyright .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.copyright p {
  margin: 0;
}

.copyright-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.copyright a {
  color: #d4e7f2;
}

@media (max-width: 800px) {
  .topbar {
    min-height: 76px;
  }

  .logo {
    width: 140px;
  }

  .top-right,
  .main-nav {
    display: none;
  }

  .menu-toggle {
    position: relative;
    z-index: 61;
    display: block;
    width: 42px;
    padding: 9px;
    border: 1px solid #ddd;
    background: white;
  }

  .menu-toggle span {
    display: block;
    height: 2px;
    margin: 5px 0;
    background: var(--blue);
  }

  .mobile-nav {
    position: fixed;
    z-index: 60;
    top: 0;
    right: 0;
    bottom: 0;
    display: block;
    width: min(82vw, 330px);
    padding: 78px 22px 24px;
    border: 0;
    background: white;
    box-shadow: -10px 0 30px rgb(0 0 0 / 16%);
    opacity: 0;
    visibility: hidden;
    transform: translateX(104%);
    transition: transform 280ms ease, opacity 220ms ease, visibility 0s linear 280ms;
  }

  .mobile-nav:not([hidden]) {
    display: block;
  }

  .mobile-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    transition: transform 280ms ease, opacity 220ms ease;
  }

  .mobile-nav a {
    display: block;
    padding: 13px 4px;
    border-bottom: 1px solid #e6e6e6;
    color: #48555d;
    font-size: 15px;
  }

  .mobile-nav a:hover {
    color: var(--blue);
  }

  .mobile-menu-overlay {
    position: fixed;
    z-index: 50;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    background: rgb(0 0 0 / 52%);
    opacity: 0;
    cursor: pointer;
    transition: opacity 280ms ease;
  }

  .mobile-menu-overlay[hidden] {
    display: none;
  }

  .mobile-menu-overlay.is-visible {
    opacity: 1;
  }

  body.mobile-menu-open {
    overflow: hidden;
  }

  .banner {
    height: 265px;
  }

  .announcement {
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
    padding: 15px 0;
  }

  .notice {
    display: block;
  }

  .notice span {
    display: block;
    margin-top: 4px;
  }

  .site-search {
    width: 100%;
  }

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

  .promo-item:nth-child(n+4) {
    margin-top: 12px;
  }
}

@media (max-width: 800px) {
  .topbar {
    min-height: 76px;
  }

  .logo {
    width: 140px;
  }

  .top-right,
  .main-nav {
    display: none;
  }

  .menu-toggle {
    position: relative;
    z-index: 61;
    display: block;
    width: 42px;
    padding: 9px;
    border: 1px solid #ddd;
    background: white;
  }

  .menu-toggle span {
    display: block;
    height: 2px;
    margin: 5px 0;
    background: var(--blue);
  }

  .mobile-nav {
    position: fixed;
    z-index: 60;
    top: 0;
    right: 0;
    bottom: 0;
    display: block;
    width: min(82vw, 330px);
    padding: 78px 22px 24px;
    border: 0;
    background: white;
    box-shadow: -10px 0 30px rgb(0 0 0 / 16%);
    opacity: 0;
    visibility: hidden;
    transform: translateX(104%);
    transition: transform 280ms ease, opacity 220ms ease, visibility 0s linear 280ms;
  }

  .mobile-nav:not([hidden]) {
    display: block;
  }

  .mobile-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    transition: transform 280ms ease, opacity 220ms ease;
  }

  .mobile-nav a {
    display: block;
    padding: 13px 4px;
    border-bottom: 1px solid #e6e6e6;
    color: #48555d;
    font-size: 15px;
  }

  .mobile-nav a:hover {
    color: var(--blue);
  }

  .mobile-menu-overlay {
    position: fixed;
    z-index: 50;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    background: rgb(0 0 0 / 52%);
    opacity: 0;
    cursor: pointer;
    transition: opacity 280ms ease;
  }

  .mobile-menu-overlay[hidden] {
    display: none;
  }

  .mobile-menu-overlay.is-visible {
    opacity: 1;
  }

  body.mobile-menu-open {
    overflow: hidden;
  }

  .banner {
    height: 265px;
  }

  .banner-arrow {
    width: 34px;
    height: 46px;
    font-size: 36px;
    opacity: 1;
  }

  .banner-arrow-prev {
    left: 12px;
  }

  .banner-arrow-next {
    right: 12px;
  }

  .banner-dots {
    bottom: 11px;
  }

  .banner-dot {
    width: 8px;
    height: 8px;
  }

  .announcement {
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
    padding: 15px 0;
  }

  .notice {
    display: block;
  }

  .notice span {
    display: block;
    margin-top: 4px;
  }

  .site-search {
    width: 100%;
  }

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

  .promo-item:nth-child(n+4) {
    margin-top: 12px;
  }
}

@media (max-width: 520px) {
  .container {
    width: min(100% - 28px, var(--container));
  }

  .banner {
    height: 175px;
  }

  .promo,
  .new-products,
  .company-section {
    padding-top: 30px;
  }

  .promo-list,
  .new-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px 12px;
  }

  .section-title h1 {
    padding: 0 14px;
    font-size: 17px;
  }

  .section-title h1,
  .general-title h2 {
    font-size: 17px;
  }

  .company-columns {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .quick-links .container {
    display: grid;
    gap: 6px;
  }

  .footer-nav {
    padding: 16px 6px;
    line-height: 2.2;
  }

  .copyright .container {
    display: block;
    text-align: center;
  }

  .copyright-left {
    justify-content: center;
  }

  .copyright a {
    display: block;
    margin-top: 5px;
  }

  .copyright-left a {
    margin-top: 0;
  }
}
