:root {
  --primary-color: #e53129;
}

@font-face {
  font-family: "AlibabaPuHuiTi";
  src: url("/assets/font/AlibabaPuHuiTi-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "AlibabaPuHuiTi";
  src: url("/assets/font/AlibabaPuHuiTi-Bold.ttf") format("truetype");
  font-weight: bold;
  font-style: normal;
}

*,
::after,
::before {
  box-sizing: border-box;
}

::placeholder {
  color: #999;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  font-weight: 400;
  line-height: 1.5;
}

ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

a {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

button {
  cursor: pointer;
}

img,
video {
  max-width: 100%;
  display: block;
  object-fit: cover;
}

svg {
  display: block;
  fill: #fff;
  pointer-events: none;
}

p {
  margin: 0;
}

[v-cloak] {
  display: none;
}

.icon-menu {
  width: 40px;
  aspect-ratio: 80 / 56;
}

header {
  background-color: #000;
}

.header {
  max-width: 1300px;
  padding: 32px 0 10px;
  display: flex;
  justify-content: space-between;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.2);
  position: relative;
  color: #fff;
  margin: 0 auto;
}

.menu {
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo {
  flex-shrink: 0;
  height: inherit;
  display: flex;
  align-items: center;
  margin-right: 24px;
}

.logo>img {
  width: 228px;
  height: auto;
}

.header .right {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  position: relative;
  left: -10px;
}

.layout {
  margin: 0 auto;
  width: var(--layout);
}

.footer {
  background-color: #1b1b1b;
}

.container {
  position: relative;
}

.breadcrumb {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  padding: 0 30px;
  background-color: rgba(255, 255, 255, 0.75);
}

.breadcrumb>ul {
  height: 42px;
  display: flex;
  align-items: center;
}

.breadcrumb>ul>li {
  display: flex;
  align-items: center;
  font-size: 16px;
  color: #727171;
}

.breadcrumb>ul>li+li::before {
  content: "/";
  padding: 0 10px;
  color: #727171;
}

.breadcrumb>ul>li.active,
.breadcrumb>ul>li:hover {
  color: var(--primary-color);
}

.breadcrumb>ul>li>a {
  color: inherit;
}

/* 模态框样式 */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  backdrop-filter: blur(5px);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: white;
  border-radius: 12px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  width: 75vw;
  max-width: 1390px;
  max-height: 98vh;
  overflow-y: auto;
  transform: translateY(-20px);
  transition: transform 0.4s ease;
  position: relative;
}

.modal-overlay.active .modal {
  transform: translateY(0);
}

.modal-close {
  width: 40px;
  height: 40px;
  position: absolute;
  right: 1.5625vmin;
  top: 1.5625vmin;
  cursor: pointer;
}

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 移动端特殊适配 */
@media (max-width: 750px) {
  :root {
    --form-control-height: 13.3333vw;
  }

  .header .navbar {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 9999;
    transform: translateY(-100%);
    transition: all 0.5s;
    background-color: #000;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .header .navbar.active {
    transform: translateY(0);
  }

  .header .navbar .icon-close {
    position: absolute;
    right: 30px;
    top: 30px;
    cursor: pointer;
  }

  .header .navbar .icon-close svg {
    width: 24px;
    height: 24px;
  }

  .header .navbar>ul {
    padding-top: calc(2rem + 24px);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }

  .header .navbar>ul>li .link {
    width: fit-content;
    padding: 0 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
  }

  .header .navbar>ul>li a {
    font-size: 14px;
    color: #fff;
  }

  .header .navbar>ul>li .icon-expand {
    cursor: pointer;
    position: absolute;
    top: 6px;
    right: 0;
  }

  .header .navbar>ul>li .icon-expand svg {
    width: 12px;
    height: 12px;
    fill: none;
    stroke: currentColor;
  }

  .header .navbar>ul>li .dropdown {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.5s;
  }

  .header .navbar>ul>li.active .dropdown {
    grid-template-rows: 1fr;
  }

  .header .navbar>ul>li .dropdown .inner {
    min-height: 0;
    overflow: hidden;
    display: flex;
    justify-content: center;
  }

  .header .navbar>ul>li .dropdown .childs {
    padding-top: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }

  .header .btn-contact {
    margin-top: 24px;
    width: fit-content;
    height: 40px;
    padding: 0 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #fff;
    border-radius: 18px;
    font-size: 14px;
    color: #fff;
  }

  .header .menu {
    display: flex;
    justify-content: center;
    cursor: pointer;
  }

  .header .menu svg {
    width: 24px;
    height: 24px;
  }

  .footer {
    padding: 0 30px 2rem;
  }

  .footer .layout {
    --pad: clamp(1.5rem, 5vw, 2rem);
    padding: 5.56rem var(--pad) 3rem;
    display: flex;
    flex-direction: column;
    gap: 3.2rem;
  }

  .footer .logo {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .footer .logo img {
    width: 200px;
  }

  .footer .logo .name {
    margin-top: 1.5rem;
    font-size: 16px;
    color: #fff;
  }

  .footer .navbar .name {
    font-size: 16px;
    color: var(--primary-color);
  }

  .footer .navbar>ul {
    margin-top: 24px;
  }

  .footer .navbar>ul>li:nth-child(n + 2) {
    margin-top: 9px;
  }

  .footer .navbar>ul>li>a {
    font-size: 15px;
    color: #fff;
  }

  .footer .navbar>ul>li>a:hover {
    color: var(--primary-color);
  }

  .ivu-input {
    padding: 0 20px;
    height: var(--form-control-height);
    line-height: var(--form-control-height);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 10px;
    background: #000;
    outline: none;
    font-size: 14px;
  }

  .ivu-input-prefix {
    width: fit-content;
    padding: 0 5.3333vw;
    display: flex;
    align-items: center;
  }

  .ivu-input-suffix {
    display: flex;
    align-items: center;
  }

  .ivu-input-with-prefix {
    padding-left: 15.4667vw;
  }

  .ivu-select-single .ivu-select-selection {
    height: var(--form-control-height);
    border-radius: 10px;
  }

  .ivu-select-single .ivu-select-selection .ivu-select-placeholder,
  .ivu-select-single .ivu-select-selection .ivu-select-selected-value {
    height: var(--form-control-height);
    line-height: var(--form-control-height);
  }

  .ivu-input:hover,
  .ivu-input:focus,
  .ivu-select-selection-focused,
  .ivu-select-selection:hover,
  .ivu-select-visible .ivu-select-selection {
    border-color: var(--primary-color);
  }

  .ivu-input:focus,
  .ivu-select-selection-focused,
  .ivu-select-visible .ivu-select-selection {
    box-shadow: none;
  }
}

/* PC适配 - 媒体查询 */
@media (min-width: 751px) {
  :root {
    --form-control-height: 50px;
  }

  .header .navbar {
    display: flex;
    align-items: center;
    gap: 36px;
    flex-grow: 1;
    justify-content: center;
  }

  .header .navbar .icon-close {
    display: none;
  }

  .header .navbar>ul {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-grow: 1;
    padding: 0 118px;
  }

  .header .navbar>ul>li {
    position: relative;
  }

  .header .navbar>ul>li::before {
    content: attr(title);
  }

  .header .navbar>ul>li .link {
    width: fit-content;
    padding: 10px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
  }

  .header .navbar>ul>li a {
    transform-origin: center bottom;
    font-size: clamp(14px, 0.875rem + ((1vw - 3.2px) * 0.341), 17px);
    color: #fff;
    transition: color 220ms ease, transform 220ms ease, font-weight 220ms ease;
  }

  .header .navbar>ul>li a:hover {
    color: #d8211d !important;
    transform: scale(1.06);
  }

  .header .navbar>ul>li .btn-contact:hover {
    transform: none;
    color: #fff !important;
  }

  .header .navbar>ul>li .icon-expand {
    margin-left: 5px;
    cursor: pointer;
  }

  .header .navbar>ul>li .icon-expand svg {
    width: 12px;
    height: 12px;
    fill: none;
    stroke: currentColor;
  }

  .header .navbar>ul>li .dropdown {
    position: absolute;
    left: 0;
    top: 100%;
    min-width: 200px;
    width: fit-content;
    background-color: #000;
    z-index: 1;
    display: none;
  }

  .header .navbar>ul>li:hover .dropdown {
    display: block;
  }

  .header .navbar>ul>li .dropdown .childs .child {
    padding: 10px 20px;
    display: flex;
    align-items: center;
    font-size: 20px;
  }

  .header .btn-contact {
    width: fit-content;
    height: 50px;
    padding: 0 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #fff;
    border-radius: 18px;
    font-size: 20px;
    color: #fff;
  }

  .header .menu {
    display: flex;
    justify-content: center;
    cursor: pointer;
  }

  .footer {
    padding: 0 30px 2rem;
  }

  .footer .layout {
    margin: 0 auto;
    max-width: 1200px;
    --pad: clamp(1.5rem, 5vw, 2rem);
    padding: 5.56rem var(--pad) 3rem;
    display: flex;
    gap: 3.2rem;
  }

  .footer .logo {
    flex-basis: 35%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .footer .logo img {
    width: 200px;
  }

  .footer .logo .name {
    margin-top: 1.5rem;
    font-size: 20px;
    color: #fff;
  }

  .footer .navbar {
    flex-basis: 20%;
  }

  .footer .navbar .name {
    font-size: 20px;
    color: var(--primary-color);
  }

  .footer .navbar>ul {
    margin-top: 24px;
  }

  .footer .navbar>ul>li:nth-child(n + 2) {
    margin-top: 9px;
  }

  .footer .navbar>ul>li>a {
    font-size: 17px;
    color: #fff;
  }

  .footer .navbar>ul>li>a:hover {
    color: var(--primary-color);
  }

  .ivu-input {
    padding: 0 20px;
    height: var(--form-control-height);
    line-height: var(--form-control-height);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 20px;
    background: #000;
    outline: none;
    font-size: 14px;
  }

  .ivu-input-prefix {
    width: fit-content;
    padding: 0 20px;
    display: flex;
    align-items: center;
  }

  .ivu-input-suffix {
    display: flex;
    align-items: center;
  }

  .ivu-input-with-prefix {
    padding-left: 60px;
  }

  .ivu-select-single .ivu-select-selection {
    height: var(--form-control-height);
    line-height: var(--form-control-height);
    border-radius: 20px;
  }

  .ivu-select-single .ivu-select-selection .ivu-select-placeholder,
  .ivu-select-single .ivu-select-selection .ivu-select-selected-value {
    height: var(--form-control-height);
    line-height: var(--form-control-height);
  }

  .ivu-input:hover,
  .ivu-input:focus,
  .ivu-select-selection-focused,
  .ivu-select-selection:hover,
  .ivu-select-visible .ivu-select-selection {
    border-color: var(--primary-color);
  }

  .ivu-input:focus,
  .ivu-select-selection-focused,
  .ivu-select-visible .ivu-select-selection {
    box-shadow: none;
  }
}