.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  width: 100%;
  background: #fff;
}

.header-topbar {
  height: var(--header-topbar-height);
  background: var(--color-bg-topbar);
  font-family: var(--font-en);
  font-size: 16px;
  font-weight: 300;
  color: var(--color-text-muted);
}

.header-topbar-inner {
  width: calc(100% - 2 * var(--header-padding-x));
  margin-inline: auto;
  display: flex;
  align-items: center;
  height: 100%;
  position: relative;
}

.header-contact-list {
  position: relative;
  width: 100%;
  height: 100%;
}

.header-topbar-item {
  position: absolute;
  top: 50%;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: inherit;
  text-decoration: none;
  transform: translateY(-50%);
  white-space: nowrap;
}

.header-topbar-item:first-child {
  left: 0;
}

.header-topbar-item:nth-child(2) {
  left: clamp(260px, 16vw, 330px);
}

.header-topbar-icon {
  width: 16px;
  height: 16px;
  fill: var(--color-topbar-icon);
  flex: 0 0 auto;
}

.header-main {
  position: relative;
  height: var(--header-main-height);
  background: var(--color-bg-page);
}

.header-main-inner {
  width: calc(100% - 2 * var(--header-padding-x));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

@media (min-width: 901px) {
  .header-main {
    height: 100px;
    min-height: 100px;
    max-height: 100px;
    padding-block: 0;
  }

  .header-main-inner {
    height: 100%;
    padding-block: 0;
  }
}

.header-nav {
  display: flex;
  align-items: center;
  gap: var(--header-nav-gap);
}

.header-nav a,
.header-mobile-menu a {
  font-family: var(--font-serif-cn);
  font-size: 20px;
  line-height: 1.2;
  font-weight: 700;
  color: var(--color-text-main);
  text-decoration: none;
}

.header-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
}

.header-nav a:hover,
.header-mobile-menu a:hover,
.footer-nav-list a:hover,
.footer-contact-info a:hover,
.footer-legal a:hover {
  color: var(--color-gold);
}

.header-contact-btn {
  width: var(--header-contact-width);
  height: var(--header-contact-height);
  padding: 0 18px;
  background: var(--color-button-gold);
  color: #ffffff !important;
  justify-content: center;
}

.header-contact-btn:hover {
  background: var(--color-gold);
}

.header-logo {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.header-logo img {
  display: block;
  width: var(--header-logo-width);
  height: auto;
  object-fit: contain;
}

.contact-section {
  position: relative;
  width: 100%;
  height: 390px;
  margin-top: 40px;
  background: #ffffff;
  overflow: hidden;
}

.page-before-contact {
  padding-bottom: 32px !important;
  margin-bottom: 0 !important;
}

.page-before-contact + .contact-section {
  margin-top: 40px;
}

.contact-inner {
  position: relative;
  width: 100%;
  height: 100%;
}

.contact-aside {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 2;
  width: min(1000px, 58vw);
  height: 100%;
  background: #ffffff;
}

.contact-heading {
  position: absolute;
  left: var(--header-padding-x);
  top: 80px;
  z-index: 3;
}

.contact-title {
  margin: 0;
  font-family: var(--font-serif-cn);
  font-size: 26px;
  line-height: 1.35;
  font-weight: 700;
  letter-spacing: 0;
  color: var(--color-text-main);
}

.contact-options {
  display: grid;
  row-gap: 18px;
  margin-top: 48px;
  font-family: var(--font-sans-cn-regular);
  font-size: 17px;
  line-height: 1.4;
  font-weight: 400;
  color: #000000;
}

.contact-options label {
  position: relative;
  display: block;
  padding-left: 60px;
}

.contact-options input {
  appearance: none;
  position: absolute;
  left: 0;
  top: 50%;
  display: inline-grid;
  place-items: center;
  width: 16px;
  height: 16px;
  margin: 0;
  border: 1px solid #a6a6a6;
  border-radius: 0;
  background: #ffffff;
  transform: translateY(-50%);
}

.contact-options input:checked {
  border-color: var(--color-gold);
  background: var(--color-gold);
}

.contact-options input:checked::after {
  content: "";
  width: 7px;
  height: 4px;
  border-left: 1px solid #ffffff;
  border-bottom: 1px solid #ffffff;
  transform: rotate(-45deg) translate(1px, -1px);
}

.contact-form {
  position: absolute;
  left: clamp(300px, 18vw, 390px);
  top: 80px;
  z-index: 4;
  display: grid;
  row-gap: 14px;
  width: clamp(440px, 25vw, 500px);
  align-content: start;
}

.contact-form-row {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  column-gap: 12px;
}

.contact-form input[type="text"],
.contact-form textarea {
  box-sizing: border-box;
  width: 100%;
  border: 1px solid #595959;
  border-radius: 0;
  background: #ffffff;
  padding-inline: 12px;
  font-family: var(--font-sans-cn-regular);
  font-size: 14px;
  line-height: 1.4;
  font-weight: 400;
  color: #000000;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  font-size: 13px;
  color: #777777;
  opacity: 1;
}

.contact-form input[type="text"] {
  height: 42px;
}

.contact-form textarea {
  display: block;
  height: 75px;
  padding-block: 12px;
  resize: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 1px solid var(--color-gold);
  outline-offset: 1px;
}

.contact-form button {
  width: 100%;
  height: 42px;
  border: 0;
  cursor: pointer;
  background: var(--color-button-gold);
  color: #ffffff;
  font-family: var(--font-sans-cn-regular);
  font-size: 15px;
  line-height: 42px;
  font-weight: 400;
}

.contact-media {
  position: absolute;
  right: 0;
  top: 50%;
  z-index: 1;
  width: min(1080px, 56vw);
  height: 360px;
  transform: translateY(-50%);
  pointer-events: none;
}

.contact-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center right;
}

@media (max-width: 1200px) {
  .contact-section {
    height: auto;
    overflow: visible;
  }

  .contact-inner,
  .contact-aside,
  .contact-heading,
  .contact-form,
  .contact-media {
    position: static;
    inset: auto;
    transform: none;
  }

  .contact-inner {
    display: grid;
    background: #ffffff;
  }

  .contact-aside {
    width: auto;
    padding: 48px 24px 34px;
  }

  .contact-heading,
  .contact-form {
    width: min(100%, 640px);
    margin-inline: auto;
  }

  .contact-form {
    margin-top: 28px;
  }

  .contact-media {
    width: 100%;
    height: auto;
  }

  .contact-media img {
    height: auto;
  }
}

@media (max-width: 640px) {
  .contact-form-row {
    grid-template-columns: 1fr;
  }

  .contact-form {
    width: 100%;
  }
}

@media (min-width: 901px) {
  .header-logo img {
    width: var(--header-logo-width);
    height: auto;
    max-height: none;
    object-fit: contain;
    display: block;
  }
}

.header-mobile-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.header-mobile-toggle-line {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--color-text-main);
}

.header-mobile-menu {
  display: none;
  background: var(--color-bg-page);
  border-bottom: 1px solid var(--color-line);
  padding: 20px var(--page-padding) 24px;
}

.site-footer {
  min-height: var(--footer-height);
  background: var(--color-bg-footer);
  color: var(--color-text-main);
  font-family: var(--font-sans-cn-light);
  font-weight: 300;
}

.footer-main {
  height: var(--footer-main-height);
  border-bottom: 1px solid var(--color-line-footer);
}

.footer-main-inner {
  max-width: var(--footer-content-max);
  margin-inline: auto;
  height: var(--footer-main-height);
  position: relative;
}

.footer-brand {
  position: absolute;
  top: 60px;
  left: 0;
}

.footer-logo {
  display: inline-flex;
}

.site-footer .footer-logo img {
  display: block;
  width: var(--footer-logo-width);
  height: auto;
  max-height: none;
  object-fit: contain;
}

.footer-contact {
  margin-top: 24px;
}

.footer-label {
  font-family: var(--font-sans-cn-light);
  font-size: 16px;
  line-height: 24px;
  font-weight: 300;
  color: var(--color-text-muted);
  letter-spacing: 0;
}

.footer-social {
  position: absolute;
  left: var(--footer-social-left);
  top: 246px;
  display: flex;
  align-items: center;
  gap: 26px;
}

.footer-social a,
.footer-social-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: 23px;
  padding: 0;
  cursor: pointer;
  text-decoration: none;
}

.footer-social-icon {
  display: block;
  height: auto;
  object-fit: contain;
  max-width: none;
  max-height: none;
  transform: none;
}

.footer-social-icon--linkedin {
  width: 20px;
}

.footer-social-icon--facebook {
  width: 11px;
}

.footer-social-icon--youtube {
  width: 20px;
}

.footer-social-icon--instagram {
  width: 20px;
}

.footer-social-icon--wechat {
  width: 23px;
}

.footer-contact-info {
  margin-top: 0;
  display: grid;
  row-gap: 0;
  font-style: normal;
  font-family: var(--font-sans-cn-light);
  font-size: 13px;
  line-height: 18px;
  font-weight: 300;
  color: var(--color-text-muted);
}

.footer-contact-info strong {
  font-family: var(--font-sans-cn-light);
  font-size: 13px;
  line-height: 18px;
  font-weight: 600;
  color: var(--color-text-muted);
}

.footer-contact-info a {
  font-family: var(--font-sans-cn-light);
  font-size: 13px;
  font-weight: 300;
  line-height: 18px;
  color: inherit;
  text-decoration: none;
}

.footer-contact-heading {
  margin-top: 12px;
}

.footer-contact-row {
  display: grid;
  grid-template-columns: 132px max-content;
  column-gap: 12px;
  align-items: center;
}

.footer-contact-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans-cn-light);
  color: var(--color-text-muted);
  white-space: nowrap;
}

.footer-contact-icon {
  width: 15px;
  height: 15px;
  fill: var(--color-text-muted);
  flex: 0 0 auto;
  opacity: 0.9;
}

.footer-contact-value {
  white-space: nowrap;
}

.footer-wechat-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
  place-items: center;
  background: rgba(17, 17, 17, 0.35);
  padding: 24px;
}

.footer-wechat-modal.is-open {
  display: grid;
}

.footer-wechat-panel {
  position: relative;
  width: min(260px, 80vw);
  padding: 24px;
  background: #ffffff;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
}

.footer-wechat-panel img {
  display: block;
  width: 100%;
  height: auto;
}

.footer-wechat-close {
  position: absolute;
  top: 8px;
  right: 10px;
  width: 24px;
  height: 24px;
  cursor: pointer;
  font-family: var(--font-en);
  font-size: 20px;
  line-height: 24px;
  color: var(--color-text-muted);
}

.footer-nav {
  position: absolute;
  left: var(--footer-nav-left);
  top: var(--footer-nav-top);
  padding-top: 0;
  display: grid;
  grid-template-columns: 190px 190px 240px;
  column-gap: var(--footer-nav-column-gap);
  justify-content: start;
}

.footer-nav-column {
  min-width: 0;
}

.footer-nav-title {
  margin-bottom: 18px;
  font-family: var(--font-serif-cn);
  font-size: 18px;
  line-height: 28px;
  font-weight: 700;
  color: var(--color-text-main);
  white-space: nowrap;
}

.footer-nav-list {
  display: grid;
  row-gap: 0;
}

.footer-nav-list a {
  font-family: var(--font-sans-cn-light);
  font-size: 15px;
  line-height: 30px;
  font-weight: 300;
  color: var(--color-text-subtle);
  text-decoration: none;
  white-space: nowrap;
}

@media (max-width: 1500px) {
  .footer-main-inner {
    width: calc(100% - 96px);
  }

  .footer-nav {
    left: min(var(--footer-nav-left), 44vw);
    grid-template-columns: 170px 170px 220px;
    column-gap: clamp(48px, 7vw, var(--footer-nav-column-gap));
  }

  .footer-social {
    left: min(var(--footer-social-left), 44vw);
  }
}

.footer-bottom {
  height: var(--footer-bottom-height);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 var(--footer-padding-x);
  text-align: center;
}

.footer-bottom p,
.footer-bottom a {
  font-family: var(--font-sans-cn-light);
  font-size: 12px;
  line-height: 16px;
  font-weight: 300;
  color: var(--color-text-muted);
}

.footer-copyright {
  white-space: nowrap;
}

.footer-legal {
  margin-top: 1px;
}

.footer-legal a {
  text-decoration: none;
}

.footer-legal span {
  margin-inline: 6px;
  color: var(--color-line);
}

@media (max-width: 1100px) {
  .footer-main {
    height: auto;
    min-height: auto;
  }

  .footer-main-inner {
    width: auto;
    height: auto;
    position: static;
    padding: 48px 24px 40px;
  }

  .footer-brand,
  .footer-nav {
    position: static;
  }

  .footer-brand {
    margin-bottom: 44px;
  }

  .footer-nav {
    grid-template-columns: repeat(3, minmax(150px, 1fr));
    gap: 32px 40px;
  }

  .footer-social {
    position: static;
    margin-top: 36px;
  }
}

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

  .header-main {
    height: 68px;
  }

  .header-nav {
    display: none;
  }

  .header-mobile-toggle {
    display: inline-flex;
  }

  .header-logo img {
    width: 132px;
  }

  .header-mobile-menu.is-open {
    display: grid;
    row-gap: 18px;
  }

  .footer-main {
    height: auto;
  }

  .footer-logo {
    margin-top: 0;
  }

  .site-footer .footer-logo img {
    width: var(--footer-logo-width);
    height: auto;
  }

  .footer-nav {
    grid-template-columns: 1fr 1fr;
    gap: 32px 40px;
  }
}

@media (max-width: 640px) {
  .footer-nav {
    grid-template-columns: 1fr;
  }

  .site-footer .footer-logo img {
    width: var(--footer-logo-width);
    height: auto;
  }

  .footer-contact-info {
    max-width: 260px;
  }

  .footer-contact-row {
    grid-template-columns: 1fr;
    row-gap: 0;
  }

  .footer-contact-value {
    padding-left: 23px;
  }

  .footer-copyright {
    white-space: normal;
  }
}
