:root {
  --color-primary: #1387cf;
  --color-primary-deep: #0f5e9f;
  --color-accent: #ef9e56;
  --color-ink: #223045;
  --color-muted: #6d7684;
  --color-line: rgba(255, 255, 255, 0.22);
  --color-surface: #ffffff;
  --color-surface-soft: #f5f8fb;
  --color-footer: #1687c7;
  --nsw-mobile-menu-bg:#2D91C9;
  --shadow-soft: 0 18px 40px rgba(26, 61, 94, 0.12);
  --container: 1680px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--color-ink);
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  background: #fff;
}

button,
[role="button"] {
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s ease, opacity 0.25s ease, transform 0.25s ease;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

.section-spacing {
  padding: 72px 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 156px;
  padding: 18px 60px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: linear-gradient(135deg, #348cc8, #1d6db2);
  color: #fff;
  font-size: 18px;
  letter-spacing: 0.12em;
  cursor: pointer;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease, background 0.28s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(22, 97, 157, 0.2);
}

.button--ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.5);
}

.button--outline {
  background: transparent;
  color: var(--color-primary-deep);
  border-color: rgba(19, 135, 207, 0.4);
}

.text-link {
  color: var(--color-primary-deep);
  font-weight: 600;
}

.text-link:hover,
.text-link:focus-visible {
  color: var(--color-primary);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  isolation: isolate;
  overflow: hidden;
  padding: 12px 0 8px;
  background-color: transparent;
  transition: background-color 0.28s ease, box-shadow 0.28s ease, backdrop-filter 0.28s ease;
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: var(--nsw-header-bg-image, none);
  background-size: cover;
  background-position: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}

body.home .site-header,
body.front-page .site-header {
  position: fixed;
  left: 0;
  right: 0;
}

body.admin-bar .site-header,
body.admin-bar.home .site-header,
body.admin-bar.front-page .site-header {
  top: 32px;
}

.site-header--transparent::before {
  opacity: 1;
}

.site-header--banner {
  position: relative;
  aspect-ratio: var(--nsw-header-bg-aspect-ratio, auto);
  min-height: 0;
}

.site-header--banner.site-header--has-banner-title {
  min-height: clamp(220px, 22.8vw, 438px);
}

.site-header--banner-image {
  position: relative;
  aspect-ratio: auto;
  min-height: 0;
  padding: 0;
}

.site-header--banner-image::before {
  display: none;
}

.site-header--banner-image > .site-header__banner-image {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
}

.site-header--banner-image.site-header--has-banner-title > .site-header__banner-image {
  min-height: clamp(220px, 22.8vw, 438px);
  object-fit: cover;
}

.site-header.site-header--banner-image > .container.site-header__inner {
  position: absolute;
  top: 12px;
  left: 50%;
  right: auto;
  width: min(1380px, calc(100% - 20px));
  transform: translateX(-50%);
  z-index: 6;
}

.site-header.site-header--banner .site-header__banner-title {
  position: absolute;
  top: 12px;
  bottom: 0;
  left: 50%;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(1380px, calc(100% - 20px));
  padding: 0;
  transform: translateX(-50%);
  pointer-events: none;
}

.site-header__section-title {
  width: 100%;
  gap: 62px;
}

.site-header__section-title .nsw-section-title__icon {
  width: 112px;
}

.site-header__section-title .nsw-section-title__text {
  font-size: 63px;
  color: #ffffff;
  text-shadow: 0 2px 12px rgba(0, 36, 72, 0.24);
}

body.admin-bar .site-header--banner {
  top: 0;
}

.site-header--banner .site-header__inner {
  min-height: 64px;
}

.site-header.is-scrolled {
  background-color: var(--nsw-header-scrolled-bg, #fff);
  backdrop-filter: blur(14px);
}

.site-header.is-scrolled::before {
  opacity: 0;
}

.site-header.site-header--banner.is-scrolled {
  background-color: transparent;
  backdrop-filter: none;
}

.site-header.site-header--banner.is-scrolled::before {
  opacity: 1;
}

.site-header.site-header--banner.is-scrolled::after {
  content: "";
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 30;
  height: 92px;
  background-color: var(--nsw-header-scrolled-bg, #fff);
  backdrop-filter: blur(14px);
  pointer-events: none;
}

body.admin-bar .site-header.site-header--banner.is-scrolled::after {
  top: 32px;
}

.site-header.site-header--banner.is-scrolled .site-header__inner {
  position: fixed;
  top: 0;
  right: auto;
  left: 50%;
  z-index: 31;
  width: min(1380px, calc(100% - 20px));
  min-height: 92px;
  transform: translateX(-50%);
  background-color: transparent;
}

body.admin-bar .site-header.site-header--banner.is-scrolled .site-header__inner {
  top: 32px;
}

.site-header.is-scrolled .site-nav a,
.site-header.is-scrolled .mobile-nav a {
  color: var(--nsw-header-scrolled-color, #018CBC);
}

.site-header.is-scrolled .nav-toggle span {
  background: var(--nsw-header-scrolled-color, #018CBC);
}

@media screen and (max-width: 782px) {
  body.admin-bar .site-header,
  body.admin-bar.home .site-header,
  body.admin-bar.front-page .site-header {
    top: 46px;
  }

  .site-header--banner {
    min-height: 176px;
  }

  .site-header--banner.site-header--banner-image {
    min-height: 0;
  }

  body.admin-bar .site-header.site-header--banner.is-scrolled::after,
  body.admin-bar .site-header.site-header--banner.is-scrolled .site-header__inner {
    top: 46px;
  }
}

.site-header .container {
  position: relative;
  z-index: 1;
  width: min(1380px, calc(100% - 20px));
}

.mobile-panel {
  position: relative;
  z-index: 7;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  transition: transform 0.28s ease, opacity 0.28s ease;
}

.site-brand:hover,
.site-brand:focus-visible {
  transform: translateY(-2px);
}

.site-brand img {
  width: clamp(116px, 12vw, 178px);
  height: auto;
}

.site-brand__logo--scrolled {
  display: none;
}

.site-header.is-scrolled .site-brand__logo--default {
  display: none;
}

.site-header.is-scrolled .site-brand__logo--scrolled {
  display: block;
}

.site-nav .menu,
.mobile-nav .menu {
  display: flex;
  align-items: center;
  gap: 42px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a,
.mobile-nav a {
  position: relative;
  color: var(--nsw-header-initial-color, #fff);
  font-size: clamp(13px, 0.95vw, 16px);
  font-weight: 600;
  letter-spacing: 0.08em;
  transition: color 0.28s ease;
}

.site-nav a::after,
.mobile-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.25s ease;
}

.site-nav a::after {
  bottom: -18px;
  height: 5px;
}

.mobile-nav a::after {
  bottom: -6px;
  height: 2px;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-nav .current-menu-item > a::after,
.site-nav .current_page_item > a::after,
.site-nav .current-menu-ancestor > a::after,
.mobile-nav a:hover::after,
.mobile-nav a:focus-visible::after,
.mobile-nav .current-menu-item > a::after,
.mobile-nav .current_page_item > a::after,
.mobile-nav .current-menu-ancestor > a::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 4px auto;
  background: var(--nsw-header-initial-color, #fff);
  transition: background 0.28s ease;
}

.mobile-panel {
  display: none;
}

.home-page {
  padding-top: 0;
}

.section-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-bottom: 42px;
  text-align: center;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 500;
  color: #47413e;
}

.section-heading span {
  width: 84px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #8f8064, transparent);
}

.section-heading--dark h2 {
  color: #2a3038;
}

.nsw-section-title {
  display: flex;
  align-items: end;
  justify-content: center;
  gap: 30px;
  text-align: center;
}

.nsw-section-title__icon {
  width: 90px;
  height: auto;
  flex: 0 0 auto;
}

.nsw-section-title__text {
  display: inline-block;
  margin: 0;
  margin-right: -10px;
  font-size: 58px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 10px;
  color: #4d4d4d;
}

.nsw-section-title--dark .nsw-section-title__text {
  color: #4d4d4d;
}

.nsw-section-title--white .nsw-section-title__text {
  color: #ffffff;
}

.site-footer {
  position: relative;
  color: #fff;
  background:
          linear-gradient(180deg, rgba(32, 146, 207, 0.9) 0%, rgba(15, 125, 188, 0.9) 100%),
          url("../images/footer-bg@3x.png") center / cover no-repeat;
  overflow: hidden;
}

.site-footer__waves {
  position: absolute;
  inset: 80px -30px auto;
  height: 180px;
  background:
          radial-gradient(120% 72px at 78% 40px, transparent 58px, rgba(255, 255, 255, 0.2) 60px, transparent 62px),
          radial-gradient(120% 72px at 68% 92px, transparent 58px, rgba(255, 255, 255, 0.14) 60px, transparent 62px),
          radial-gradient(120% 72px at 13% 120px, transparent 58px, rgba(255, 255, 255, 0.12) 60px, transparent 62px);
  opacity: 0.75;
  pointer-events: none;
}

.site-footer__main {
  position: relative;
  z-index: 1;
  padding: 60px 0 18px;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 32px;
}

.site-footer__column {
  min-width: 0;
}

.site-footer h3 {
  margin: 0 0 12px;
  font-size: 22px;
  line-height: 1.15;
  font-weight: 700;
}

.site-footer h3 a {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding-bottom: 10px;
  color: rgba(255, 255, 255, 0.96);
  font-size: 22px;
  cursor: pointer;
  letter-spacing: 2px;
}

.site-footer__submenu-toggle {
  display: none;
}

.site-footer h3 a::after,
.site-footer li a::after,
.site-footer__brandmark::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.25s ease;
}

.site-footer h3 a::after {
  transform: scaleX(1);
  opacity: 0.8;
}

.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer li + li {
  margin-top: 7px;
}

.site-footer li a,
.site-footer__links a,
.site-footer__copyright {
  position: relative;
  display: inline-flex;
  color: #ffffff;
  font-size: 18px;
  line-height: 1.35;
  letter-spacing: 2px;
}

.site-footer li a,
.site-footer__links a,
.site-footer h3 a,
.site-footer__brandmark {
  transition: color 0.25s ease, opacity 0.25s ease, transform 0.25s ease;
}

.site-footer li a,
.site-footer__links a,
.site-footer h3 a,
.site-footer__brandmark,
.site-footer__brandmark img {
  cursor: pointer;
}

.site-footer li a::after,
.site-footer__links a::after {
  bottom: -4px;
}

.site-footer__column--transport li a {
  letter-spacing: 0.16em;
}

.site-footer__divider {
  margin-top: 52px;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
}

.site-footer__bottom {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 72px;
  padding-top: 18px;
}

.site-footer__links {
  display: flex;
  align-items: center;
  gap: 34px;
}

.site-footer__links a,
.site-footer__copyright {
  font-size: 16px;
  line-height: 1.3;
}

.site-footer__copyright {
  margin-left: auto;
  text-align: center;
  white-space: nowrap;
}

.site-footer__brandmark {
  position: relative;
}

.site-footer__brandmark::after {
  bottom: -3px;
}

.site-footer__brandmark img {
  width: 132px;
  height: auto;
  opacity: 0.96;
}

.site-footer h3 a:hover,
.site-footer h3 a:focus-visible,
.site-footer li a:hover,
.site-footer li a:focus-visible,
.site-footer__links a:hover,
.site-footer__links a:focus-visible,
.site-footer__brandmark:hover,
.site-footer__brandmark:focus-visible {
  color: #fff;
  transform: translateY(-1px);
}

.site-footer li a:hover::after,
.site-footer li a:focus-visible::after,
.site-footer__links a:hover::after,
.site-footer__links a:focus-visible::after,
.site-footer__brandmark:hover::after,
.site-footer__brandmark:focus-visible::after {
  transform: scaleX(1);
}

.site-footer__brandmark:hover img,
.site-footer__brandmark:focus-visible img {
  opacity: 1;
}

@media (min-width: 1200px) {
  .site-brand img {
    height: 68px;
    width: auto;
  }
}

@media (min-width: 768px) and (max-width: 1199px) {


  .site-footer__main {
    padding: 50px 0 16px;
  }

  .site-footer__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px 30px;
  }

  .site-footer h3,
  .site-footer h3 a {
    font-size: 16px;
  }

  .site-footer li a,
  .site-footer__links a,
  .site-footer__copyright {
    font-size: 16px;
  }

  .site-footer__divider {
    margin-top: 40px;
  }

  .site-footer__bottom {
    flex-wrap: wrap;
    gap: 16px;
  }

  .site-footer__copyright {
    margin-left: auto;
    white-space: normal;
    text-align: right;
  }

  .site-footer__brandmark img {
    width: 108px;
  }
}

@media (min-width: 768px) and (max-width: 1199px) {
  .site-nav a::after {
    bottom: -12px;
    height: 3px;
  }

  .site-header.site-header--banner .site-header__banner-title {
    top: 8px;
  }

  .site-header__section-title {
    gap: 34px;
  }

  .site-header__section-title .nsw-section-title__icon {
    width: 72px;
  }

  .site-header__section-title .nsw-section-title__text {
    font-size: 42px;
  }

  .nsw-section-title__text {
    font-size: 36px;
  }
}

@media (max-width: 820px) {
  .site-header {
    overflow: visible;
  }

  .mobile-nav a::after {
    bottom: -5px;
    height: 2px;
  }

  .site-nav {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .mobile-panel {
    position: absolute;
    top: 72px;
    right: 0;
    left: 0;
    width: 100%;
  }

  .mobile-panel.is-open {
    display: block;
    padding: 18px 20px 20px;
    background: var(--nsw-mobile-menu-bg);
    box-shadow: 0 18px 36px rgba(0, 30, 60, 0.22);
    backdrop-filter: blur(18px);
  }

  .mobile-nav .menu {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .site-header.is-scrolled .mobile-panel .mobile-nav a {
    color: #fff;
  }

}

@media (max-width: 767px) {
  .site-header.site-header--banner .site-header__banner-title {
    top: 6px;
    width: calc(100% - 28px);
  }

  .site-header__section-title {
    gap: 14px;
  }

  .site-header__section-title .nsw-section-title__icon {
    width: 40px;
  }

  .site-header__section-title .nsw-section-title__text {
    font-size: 28px;
  }

  .site-footer__waves {
    inset: 66px -40px auto;
    height: 150px;
    opacity: 0.6;
  }

  .site-footer__main {
    padding: 28px 0 14px;
  }

  .site-footer__grid {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .site-footer__column {
    border-bottom: 1px solid rgba(255, 255, 255, 0.28);
  }

  .site-footer h3 {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 52px;
    margin: 0;
    font-size: 17px;
  }

  .site-footer h3 a {
    flex: 1;
    padding: 16px 0;
    margin: 0;
    font-size: 14px;
  }

  .site-footer h3 a::after {
    display: none;
  }

  .site-footer__submenu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 52px;
    padding: 0;
    border: 0;
    color: #fff;
    background: transparent;
    cursor: pointer;
  }

  .site-footer__submenu-toggle::before,
  .site-footer__column--link h3::after {
    content: "";
    width: 8px;
    height: 8px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform 0.25s ease;
  }

  .site-footer__column--has-submenu.is-open .site-footer__submenu-toggle::before {
    transform: rotate(135deg);
  }

  .site-footer__column--link h3::after {
    position: absolute;
    right: 16px;
    color: rgba(255, 255, 255, 0.96);
  }

  .site-footer__column--link h3 a {
    padding-right: 42px;
  }

  .site-footer__column ul {
    padding: 0 0 14px;
  }

  .site-footer--accordion-ready .site-footer__column--has-submenu ul {
    max-height: 0;
    padding-bottom: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transition: max-height 0.3s ease, opacity 0.2s ease, padding-bottom 0.3s ease;
  }

  .site-footer--accordion-ready .site-footer__column--has-submenu.is-open ul {
    max-height: 220px;
    padding-bottom: 14px;
    opacity: 1;
    pointer-events: auto;
  }

  .site-footer li + li {
    margin-top: 8px;
  }

  .site-footer li a {
    padding-left: 12px;
    font-size: 14px;
    opacity: 0.92;
  }

  .site-footer__column--transport li a {
    letter-spacing: 0.08em;
  }

  .site-footer__links a,
  .site-footer__copyright {
    font-size: 14px;
  }

  .site-footer__divider {
    margin-top: 28px;
  }

  .site-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding-top: 14px;
  }

  .site-footer__links {
    flex-wrap: wrap;
    gap: 10px 16px;
  }

  .site-footer__copyright {
    margin-left: 0;
    white-space: normal;
    text-align: left;
    line-height: 1.35;
  }

  .site-footer__brandmark img {
    width: 96px;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(var(--container), calc(100% - 28px));
  }

  .section-spacing {
    padding: 56px 0;
  }

  .section-heading {
    gap: 10px;
    margin-bottom: 28px;
  }

  .section-heading span {
    width: 36px;
  }

  .nsw-section-title {
    gap: 10px;
  }

  .nsw-section-title__icon {
    width: 28px;
  }

  .nsw-section-title__text {
    font-size: 30px;
  }

  .site-brand img {
    width: 116px;
  }
}
