*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: "Source Han Sans CN", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-weight: 400;
  color: #000;
  background: #d7eef9;
  line-height: normal;
  min-width: 320px;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

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

ul {
  list-style: none;
}

button {
  border: 0;
  background: none;
  cursor: pointer;
  font: inherit;
}

:root {
  --content-w: 1250px;
  --blue: #016bb6;
  --blue-dark: #014a84;
  --title-blue: #125995;
  --red: #cc0000;
  --page-bg: #d7eef9;
}

.page {
  width: 100%;
  overflow-x: hidden;
  background: var(--page-bg);
}

.site-header__title a,
.hero__title a,
.footer__name a {
  color: inherit;
  text-decoration: none;
}

.site-header__title a:hover,
.hero__title a:hover,
.footer__name a:hover {
  opacity: 0.9;
}

/* 锚点跳转时避开顶部导航遮挡 */
.svc-card[id],
#contact {
  scroll-margin-top: 70px;
}

/* Header with logo + subtitle */
.site-header {
  position: relative;
  width: 100%;
  height: 212px;
  overflow: hidden;
}

.site-header__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 261px;
  overflow: hidden;
  pointer-events: none;
}

.site-header__bg img {
  position: absolute;
  left: 0;
  top: -26.14%;
  width: 100%;
  height: 161.1%;
  max-width: none;
  object-fit: cover;
}

.site-header__bg.is-cover img {
  inset: 0;
  top: 0;
  height: 100%;
  width: 100%;
}

.site-header__inner {
  position: relative;
  z-index: 1;
  width: min(var(--content-w), 100%);
  margin: 0 auto;
  padding: 46px 0 0;
  text-align: center;
}

.site-header__title {
  font-size: 54px;
  font-weight: 700;
  color: var(--title-blue);
  letter-spacing: 1.08px;
  text-shadow: 3px 2px 4px #fff;
  white-space: nowrap;
}

.site-header__subtitle {
  margin-top: 14px;
  font-size: 23px;
  color: var(--title-blue);
  letter-spacing: 1.84px;
  white-space: nowrap;
}

.site-header--single .site-header__inner {
  padding-top: 73px;
}

.site-header--single .site-header__title {
  margin: 0;
}

/* Nav */
.nav {
  position: relative;
  z-index: 20;
  height: 50px;
}

.nav__inner {
  width: min(var(--content-w), 100%);
  margin: 0 auto;
  height: 100%;
  background: var(--blue);
  position: relative;
}

.nav__toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  margin-left: 12px;
  color: #fff;
  font-size: 24px;
  line-height: 1;
}

.nav__list {
  display: flex;
  height: 100%;
  align-items: stretch;
}

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

.nav__list li {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
}

.nav__list li:first-child {
  flex: 0 0 137px;
}

.nav__list li + li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 47px;
  background: #d9d9d9;
  opacity: 0.2;
}

.nav__link {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
}

.nav__link.is-active,
.nav__link:hover {
  background: var(--red);
}

/* Shell */
.shell {
  width: min(var(--content-w), 100%);
  margin: 0 auto;
  background: #fff;
}

/* Footer */
.footer {
  width: min(var(--content-w), 100%);
  margin: 0 auto;
  background: var(--blue);
  color: #fff;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.3fr auto;
  gap: 24px;
  padding: 23px 44px 18px;
  align-items: start;
  min-height: 160px;
}

.footer__name {
  font-size: 34px;
  font-weight: 700;
  white-space: nowrap;
}

.footer__en {
  margin-top: 12px;
  font-size: 14px;
  letter-spacing: 1.12px;
  white-space: nowrap;
}

.footer__links {
  display: flex;
  gap: 40px;
  padding-top: 4px;
}

/* 订房页等仅有一个 ul 时拆成两列（与默认双 ul 布局一致） */
.footer__links > ul:only-child {
  columns: 2;
  column-gap: 48px;
}

.footer__links ul li {
  line-height: 30px;
  font-size: 14px;
}

.footer__links a:hover {
  text-decoration: underline;
}

.footer__contact {
  padding-top: 4px;
  font-size: 14px;
}

.footer__contact p:not(.footer__contact-title) {
  opacity: 0.6;
  line-height: 26px;
}

.footer__qr {
  width: 88px;
  height: 88px;
  background: #fff;
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 28px;
  flex-shrink: 0;
}

.footer__qr img {
  width: 84px;
  height: 83px;
  object-fit: cover;
  pointer-events: none;
}

.footer__copy {
  height: 55px;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer__copy p {
  font-size: 14px;
  color: #fff;
  opacity: 0.4;
  text-align: center;
}

@media (max-width: 1280px) {
  :root {
    --content-w: 100%;
  }

  .site-header__title {
    font-size: clamp(28px, 4vw, 54px);
    white-space: normal;
  }

  .site-header__subtitle {
    font-size: clamp(14px, 1.8vw, 23px);
    white-space: normal;
  }

  .site-header__inner {
    padding-left: 16px;
    padding-right: 16px;
  }

  .footer__inner {
    padding-left: 24px;
    padding-right: 24px;
  }
}

@media (max-width: 768px) {
  .nav {
    height: auto;
    min-height: 0;
  }

  .nav__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    width: 100%;
    background: var(--blue);
  }

  .nav-mobile-bar {
    display: flex;
    flex: 0 0 100%;
    width: 100%;
    align-items: stretch;
    background: var(--blue);
  }

  .nav__toggle {
    display: flex;
    flex: 0 0 44px;
    width: 44px;
    max-width: 44px;
    min-height: 76px;
    margin-left: 0;
    padding: 0;
    border-right: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 0;
  }

  .nav-mobile-quick {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-width: 0;
    padding: 0 4px 0 0;
    background: var(--blue);
  }

  .nav-mobile-quick-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
  }

  .nav-mobile-quick-row--first {
    border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  }

  .nav-mobile-quick-row--second .nav-mobile-quick-more {
    grid-column: 4;
    grid-row: 1;
    border-left: 1px solid rgba(255, 255, 255, 0.22);
  }

  .nav-mobile-quick-row > a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 38px;
    height: auto;
    padding: 5px 2px;
    font-size: clamp(10px, 2.8vw, 13px);
    font-weight: 500;
    line-height: 1.2;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    border-left: 1px solid rgba(255, 255, 255, 0.22);
    background: transparent;
  }

  .nav-mobile-quick-row > a:first-child {
    border-left: none;
  }

  .nav-mobile-quick-more {
    cursor: pointer;
    user-select: none;
    color: #fff;
  }

  .nav-mobile-quick-row > a.is-active,
  .nav-mobile-quick-more.is-active {
    background: var(--red);
  }

  .nav-mobile-quick-row > a:active,
  .nav-mobile-quick-more:active {
    background: rgba(0, 0, 0, 0.12);
  }

  .nav__list--desktop {
    display: none !important;
  }

  .nav-mobile-menu {
    display: none !important;
    flex: 0 0 100%;
    width: 100%;
    padding: 6px 4px 8px;
    box-sizing: border-box;
    background: var(--blue-dark);
  }

  .nav-mobile-menu.is-open,
  .nav-mobile-menu.open {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
  }

  .nav-mobile-menu .nav__link {
    justify-content: center;
    min-height: 38px;
    height: auto;
    padding: 6px 2px;
    font-size: clamp(10px, 2.6vw, 13px);
    font-weight: 500;
    line-height: 1.2;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    border-right: 1px solid rgba(255, 255, 255, 0.12);
    background: transparent;
  }

  .nav-mobile-menu .nav__link.is-active,
  .nav-mobile-menu .nav__link:hover {
    background: var(--red);
  }

  .nav-mobile-menu .nav__link:nth-child(4n) {
    border-right: none;
  }

  .footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }

  .footer__name,
  .footer__en {
    white-space: normal;
  }

  .footer__qr {
    margin-top: 0;
  }
}

@media (max-width: 768px) {
  .site-header {
    height: auto;
    min-height: 140px;
  }

  .site-header__bg {
    height: 100%;
  }

  .site-header__inner {
    padding: 28px 16px 24px;
  }

  .site-header__title {
    font-size: 26px;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    padding: 24px 16px 20px;
    gap: 20px;
  }

  .footer__links {
    gap: 48px;
  }

  .footer__links > ul:only-child {
    columns: 1;
  }

  .footer__name {
    font-size: 26px;
  }

  .footer__copy {
    height: auto;
    min-height: 48px;
    padding: 12px 16px;
  }

  .footer__copy p {
    font-size: 12px;
  }
}
