.local-consult {
  position: fixed;
  right: 18px;
  bottom: 22px;
  z-index: 9999;
  font-family: Arial, "Microsoft YaHei", sans-serif;
}

.local-consult-toggle {
  border: 0;
  width: 66px;
  height: 66px;
  border-radius: 50%;
  background: #50aeea;
  color: #fff;
  padding: 0;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(24, 111, 187, 0.3);
  font-size: 0;
  position: relative;
}

.local-consult-toggle::before {
  content: "";
  position: absolute;
  inset: 14px;
  border: 5px solid #fff;
  border-radius: 50%;
}

.local-consult-toggle::after {
  content: "";
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 18px;
  height: 5px;
  border-radius: 4px;
  background: #fff;
}

.local-consult-panel {
  display: none;
  width: 240px;
  padding: 14px;
  position: absolute;
  right: 0;
  bottom: 76px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
}

.local-consult.expanded .local-consult-panel {
  display: grid;
  gap: 8px;
}

.local-consult-panel input,
.local-consult-panel textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #ddd;
  padding: 9px;
  font-size: 14px;
}

.local-consult-panel textarea {
  min-height: 82px;
  resize: vertical;
}

.local-consult-panel button {
  border: 0;
  background: #093aa7;
  color: #fff;
  padding: 10px;
  cursor: pointer;
}

.seo-home-title {
  max-width: 1200px;
  margin: 26px auto 8px;
  padding: 0 14px;
  color: #1f2937;
  font-size: 26px;
  line-height: 1.35;
  font-weight: 700;
  text-align: center;
}

.seo-official-strip {
  margin: 0 0 18px;
  padding: 11px 0;
  background: #f5f9ff;
  border-top: 1px solid #dbeafe;
  border-bottom: 1px solid #dbeafe;
  color: #1e293b;
  font-size: 16px;
}

.seo-official-strip .wal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 14px;
}

.seo-official-strip b {
  color: #093aa7;
}

.seo-official-links {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px;
  word-break: break-word;
}

.seo-official-links a,
.seo-contact-box a,
.ft-contact a {
  color: #093aa7;
  font-weight: 700;
}

.seo-official-links span {
  color: #64748b;
}

.seo-official-phone {
  color: #334155;
}

.seo-official-action {
  display: inline-flex;
  align-items: center;
}

.contact-copy,
.contact-telegram {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  max-width: 100%;
  border: 0;
  background: transparent;
  padding: 0;
  color: #093aa7;
  font: inherit;
  font-weight: 700;
  line-height: inherit;
  text-align: left;
  text-decoration: none;
  vertical-align: baseline;
  cursor: pointer;
  word-break: break-word;
}

.contact-copy:hover,
.contact-copy:focus,
.contact-telegram:hover,
.contact-telegram:focus {
  color: #1db36e;
  outline: none;
  text-decoration: none;
}

.contact-copy::after,
.contact-telegram::after {
  flex: 0 0 auto;
  border-radius: 999px;
  background: rgba(9, 58, 167, 0.1);
  padding: 1px 6px;
  color: #093aa7;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.6;
}

.contact-copy::after {
  content: "复制";
}

.contact-telegram::after {
  content: "打开";
}

.contact-register {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  border-radius: 4px;
  background: #1db36e;
  padding: 5px 18px;
  color: #fff !important;
  font: inherit;
  font-weight: 700;
  line-height: 1.35;
  text-decoration: none;
  white-space: nowrap;
}

.contact-register:hover,
.contact-register:focus {
  background: #11965a;
  color: #fff !important;
  outline: none;
  text-decoration: none;
}

.contact-inline {
  display: inline-flex;
}

.ft-contact .contact-copy,
.ft-contact .contact-telegram,
.ewm .contact-copy,
.ewm .contact-telegram {
  color: #fff;
}

.ft-contact .contact-register,
.ewm .contact-register {
  background: #fff;
  color: #093aa7 !important;
}

.ft-contact .contact-register:hover,
.ft-contact .contact-register:focus,
.ewm .contact-register:hover,
.ewm .contact-register:focus {
  background: #e8efff;
  color: #093aa7 !important;
}

.ft-contact .contact-copy::after,
.ft-contact .contact-telegram::after,
.ewm .contact-copy::after,
.ewm .contact-telegram::after {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.contact-card .contact-copy,
.contact-card .contact-telegram {
  justify-content: center;
  width: 100%;
  font-size: 18px;
  text-align: center;
}

.contact-card .contact-register {
  min-width: 128px;
  font-size: 18px;
}

.contact-copy-toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 99999;
  max-width: min(360px, calc(100vw - 32px));
  border-radius: 6px;
  background: rgba(15, 23, 42, 0.92);
  padding: 10px 14px;
  color: #fff;
  font-size: 14px;
  line-height: 1.5;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.contact-copy-toast.visible {
  opacity: 1;
  transform: translateY(0);
}

.seo-inner-title {
  margin: 18px 0 4px;
  color: #1f2937;
  font-size: 28px;
  line-height: 1.35;
  font-weight: 700;
}

.seo-footer-links {
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: #d7e5ff;
  font-size: 14px;
}

.seo-footer-links span {
  margin-right: 8px;
  color: #fff;
  font-weight: 700;
}

.seo-footer-links a {
  display: inline-block;
  margin: 4px 14px 4px 0;
  color: #d7e5ff;
}

.seo-landing {
  line-height: 1.9;
  color: #334155;
}

.seo-landing h2 {
  margin: 20px 0 10px;
  color: #0f172a;
  font-size: 24px;
  line-height: 1.4;
}

.seo-landing p {
  margin: 10px 0;
  font-size: 16px;
}

.seo-contact-box {
  margin: 28px 0;
  padding: 18px 22px;
  border-left: 4px solid #093aa7;
  background: #f4f7ff;
}

.seo-contact-box b {
  display: block;
  margin-bottom: 8px;
  color: #093aa7;
  font-size: 18px;
}

.seo-related {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid #e5e7eb;
}

.seo-related a {
  display: inline-block;
  margin: 4px 12px 4px 0;
  color: #093aa7;
}

.foot .ft-contact a {
  color: #fff;
  font-weight: 700;
}

.foot .ft-contact a:hover {
  color: #d7e5ff;
}

.foot .ft-contact p span {
  color: #fff;
  font-size: 16px;
  padding: 0 5px;
}

@media (max-width: 640px) {
  .seo-home-title {
    font-size: 21px;
  }

  .seo-official-strip {
    font-size: 14px;
  }

  .seo-inner-title {
    font-size: 23px;
  }
}

/* Stabilize the fixed template header so page content cannot slide under it. */
:root {
  --local-header-height: 90px;
}

.main-header {
  height: var(--local-header-height);
  margin-top: 0 !important;
  position: relative;
  z-index: 995;
}

.main-menu,
.stricky-header,
.stricky-header.stricky-fixed {
  background: #fff;
}

.stricky-header {
  height: var(--local-header-height);
  box-shadow: 0 2px 16px rgba(15, 54, 126, 0.08);
}

.sticky-header-content {
  min-height: var(--local-header-height);
  background: #fff;
  border-bottom: 1px solid #e5edf8;
}

.main-menu-wrapper,
.main-menu-wrapper-inner,
.main-menu-wrapper-left {
  min-height: var(--local-header-height);
}

.main-menu-wrapper-left {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  height: auto !important;
}

.main-menu-wrapper-logo {
  flex: 0 0 auto;
  margin: 0 22px 0 0 !important;
}

.stricky-header .logo {
  display: block !important;
}

.stricky-header .logo2 {
  display: none !important;
}

.main-menu-wrapper-logo img {
  display: block;
  width: auto;
  max-height: 66px;
}

.main-menu-wrapper-main-menu {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: flex-end;
  min-width: 0;
  height: auto !important;
  line-height: 1.2 !important;
}

.main-menu .main-menu-list,
.stricky-header .main-menu-list {
  align-items: center;
  justify-content: flex-end;
  flex-wrap: nowrap;
  gap: 0 18px;
  width: 100%;
}

.main-menu .main-menu-list > li,
.stricky-header .main-menu-list > li {
  flex: 0 0 auto;
  padding: 0 !important;
}

.main-menu .main-menu-list > li > a,
.stricky-header .main-menu-list > li > a,
.stricky-header.stricky-fixed .main-menu-list > li > a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 6px 0;
  color: #1f2937;
  font-size: 16px;
  line-height: 1.35;
  white-space: nowrap;
}

.main-menu .main-menu-list > li.current > a,
.main-menu .main-menu-list > li:hover > a,
.stricky-header .main-menu-list > li.current > a,
.stricky-header .main-menu-list > li:hover > a,
.stricky-header.stricky-fixed .main-menu-list > li.current > a,
.stricky-header.stricky-fixed .main-menu-list > li:hover > a {
  color: #093aa7;
}

.seo-home-title {
  margin: 0 auto;
  padding: 14px 14px 9px;
  font-size: 24px;
}

.seo-official-strip {
  margin: 0;
}

@media (min-width: 1200px) {
  .main-menu .main-menu-list,
  .stricky-header .main-menu-list {
    display: flex;
  }
}

@media (max-width: 1199px) {
  .main-menu .main-menu-list,
  .stricky-header .main-menu-list {
    display: none !important;
  }

  .main-menu .mobile-nav-toggler {
    display: flex !important;
    align-items: center;
    justify-content: center;
    color: #1f2937;
    font-size: 24px;
    line-height: 1;
  }

  .main-menu-wrapper-main-menu {
    flex: 0 0 auto;
  }
}

@media (max-width: 990px) {
  :root {
    --local-header-height: 70px;
  }

  .main-menu-wrapper,
  .main-menu-wrapper-inner,
  .main-menu-wrapper-left {
    min-height: var(--local-header-height);
  }

  .main-menu-wrapper-logo {
    margin-left: 0 !important;
  }

  .main-menu-wrapper-logo img {
    max-height: 52px;
  }

  .seo-home-title {
    padding-top: 12px;
  }
}
