:root {
  --navy: #113163;
  --navy-deep: #103462;
  --gold: #dcb72e;
  --ink: #061832;
  --muted: #727987;
  --line: #e6e9ee;
  --paper: #ffffff;
  --soft: #f6f6f6;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: #646870;
  font-size: 16px;
  font-weight: 500;
  font-family: "Open Sans", "Noto Sans SC", "Microsoft JhengHei", sans-serif;
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

.wrap {
  width: min(1290px, calc(100% - 150px));
  margin: 0 auto;
}

.topbar {
  height: 40px;
  background: var(--navy);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
}

.topbar-inner,
.languages,
.nav-inner,
.desktop-nav,
.mobile-head,
.mobile-languages {
  display: flex;
  align-items: center;
}

.topbar-inner {
  justify-content: space-between;
  height: 40px;
}

.hotline i {
  color: rgba(255, 255, 255, 0.68);
  margin-right: 8px;
}

.languages,
.mobile-languages {
  gap: 9px;
}

.languages a,
.mobile-languages a {
  font-weight: 800;
}

.languages a:hover,
.mobile-languages a:hover {
  color: var(--gold);
}

.logo-band {
  height: 142px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.logo-band .wrap {
  height: 100%;
  display: flex;
  align-items: center;
}

.brand {
  display: block;
  width: 260px;
  position: relative;
}

.brand::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -26px;
  width: 64px;
  height: 3px;
  background: var(--gold);
}

.brand img {
  display: block;
  width: 260px;
  height: auto;
}

.nav-shell {
  height: 66px;
  background: #fff;
  border-bottom: 1px solid #f0f1f3;
  box-shadow: 0 5px 18px rgba(10, 28, 50, 0.06);
  position: relative;
  z-index: 50;
}

body.nav-stuck .site-header {
  padding-bottom: 66px;
}

body.nav-stuck .nav-shell {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
}

.nav-inner {
  height: 66px;
}

.desktop-nav {
  width: 100%;
  justify-content: space-between;
  color: #646870;
  font-size: 19px;
  font-weight: 900;
}

.desktop-nav > a,
.nav-dropdown > button {
  min-width: 190px;
  height: 66px;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  border: 0;
  border-top: 3px solid transparent;
  background: transparent;
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  cursor: pointer;
}

.desktop-nav > a:first-child {
  color: var(--ink);
}

.desktop-nav > a.active,
.desktop-nav > a:hover,
.nav-dropdown.is-current > button,
.nav-dropdown:hover > button {
  border-top-color: var(--gold);
  color: var(--ink);
}

.desktop-nav i {
  color: #b7bcc4;
  font-size: 16px;
  width: 18px;
  text-align: center;
}

.desktop-nav .active i,
.desktop-nav a:hover i,
.nav-dropdown.is-current > button i,
.nav-dropdown:hover > button i {
  color: var(--gold);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown .caret {
  margin-left: -7px;
  font-size: 10px;
}

.dropdown-menu {
  position: absolute;
  left: 0;
  top: 100%;
  width: 280px;
  background: #fff;
  border: 0;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.08);
  opacity: 0;
  pointer-events: none;
  transform: translateY(0);
  transition: 170ms ease;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown.is-open .dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.dropdown-menu a {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 0 24px;
  color: #6e7480;
  font-size: 17px;
  font-weight: 800;
  border-bottom: 0;
  transition: color 160ms ease, background-color 160ms ease;
}

.dropdown-menu a::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 50%;
  width: 3px;
  height: 22px;
  background: var(--gold);
  opacity: 0;
  transform: translateY(-50%);
  transition: opacity 160ms ease;
}

.dropdown-menu a > i {
  color: #b7bcc4;
  font-size: 13px;
  transition: color 160ms ease;
}

.dropdown-menu a:hover,
.dropdown-menu a:focus-visible {
  color: var(--ink);
  background: #f5f5f5;
  outline: none;
}

.dropdown-menu a:hover::before,
.dropdown-menu a:focus-visible::before {
  opacity: 1;
}

.dropdown-menu a:hover > i,
.dropdown-menu a:focus-visible > i {
  color: var(--gold);
}

.mobile-head,
.mobile-panel,
.menu-button,
.close-button {
  display: none;
}

.footer {
  background: var(--navy);
  color: #fff;
  font-size:15px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 260px 1fr 1fr;
  gap: 88px;
  padding: 90px 0;
}

.footer-brand img {
  width: 305px;
  max-width: 100%;
  display: block;
}

.footer h2 {
  margin: 0 0 42px;
  color: #fff;
  font-size: 20px;
  line-height: 1.2;
  font-weight: 900;
}

.contact-list {
  display: grid;
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact-list li {
  display: grid;
  grid-template-columns: 24px 1fr;
  column-gap: 16px;
  row-gap: 8px;
  align-items: start;
}

.contact-list i {
  grid-row: span 2;
  width: 24px;
  color: rgba(255, 255, 255, 0.62);
  text-align: center;
  margin-top: 2px;
}

.contact-list span {
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.2;
  font-weight: 800;
}

.contact-list strong {
  line-height: 1.5;
  font-weight: 800;
}

.footer-services a {
  display: block;
  padding: 0 0 24px;
  font-weight: 800;
}

.footer a:hover {
  color: var(--gold);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 13px;
}

.footer-bottom-inner {
  min-height: 132px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  padding: 30px 0;
}

.footer-bottom p {
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.66);
  line-height: 1.7;
  font-weight: 700;
  &:last-child{
    margin-bottom: 0;
  }
}

.footer-bottom nav {
  display: flex;
  gap: 34px;
  white-space: nowrap;
}

.footer-bottom nav a {
  color: rgba(255, 255, 255, 0.74);
  font-weight: 800;
}

.to-top {
  position: fixed;
  border-radius: 100%;
  right: 22px;
  bottom: 22px;
  z-index: 40;
  padding:0.8em;
  width: auto;
  height: auto;
  display: grid;
  place-items: center;
  background: var(--gold);
  color: var(--navy-deep);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

.page-wrapper {
  padding: 84px 0;
}

@media (max-width: 1240px) {
  .wrap {
    width: min(100% - 96px, 1290px);
  }

  .desktop-nav > a,
  .nav-dropdown > button {
    min-width: 160px;
    padding: 0 18px;
    font-size: 17px;
  }

}


@media (max-width: 780px) {
  .wrap {
    width: min(100% - 56px, 1290px);
  }

  .topbar,
  .logo-band,
  .nav-shell {
    display: none;
  }

  .mobile-head {
    display: flex;
    height: 70px;
    justify-content: space-between;
    padding: 0 20px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    position: relative;
    z-index: 30;
  }

  .mobile-brand img {
    display: block;
    width: 130px;
    height: auto;
  }

  .mobile-languages {
    color: #03152e;
    font-size: 14px;
    font-weight: 900;
  }

  .menu-button {
    width: 28px;
    height: 28px;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    border: 0;
    padding: 0;
    background: transparent;
    cursor: pointer;
  }

  .menu-button span {
    display: block;
    width: 24px;
    height: 2px;
    background: #0a2445;
  }

  .mobile-panel {
    position: fixed;
    inset: 0;
    z-index: 60;
    display: block;
    opacity: 0;
    pointer-events: none;
    background: rgba(4, 16, 31, 0.45);
    transition: opacity 180ms ease;
  }

  .mobile-panel.is-open {
    opacity: 1;
    pointer-events: auto;
  }

  .mobile-panel-inner {
    width: min(340px, 87vw);
    min-height: 100%;
    padding: 0 0 34px;
    background: #fff;
    box-shadow: 16px 0 46px rgba(0, 0, 0, 0.24);
    transform: translateX(-100%);
    transition: transform 220ms ease;
  }

  .mobile-panel.is-open .mobile-panel-inner {
    transform: translateX(0);
  }

  .drawer-head {
    height: 62px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    background: #f7f7f7;
    color: #a4a7ad;
    font-size: 18px;
    font-weight: 900;
  }

  .close-button {
    display: block;
    margin: 0;
    border: 0;
    background: transparent;
    color: #a4a7ad;
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
  }

  .mobile-panel a,
  .mobile-panel summary {
    display: block;
    padding: 15px 22px;
    color: #0a2445;
    border-bottom: 1px solid var(--line);
    font-size: 16px;
    font-weight: 900;
    list-style: none;
  }

  .mobile-panel a.active {
    border-left: 3px solid var(--gold);
    padding-left: 19px;
  }

  .mobile-panel i {
    width: 24px;
    color: var(--gold);
  }

  .mobile-panel details a {
    padding-left: 52px;
    color: #69717f;
    font-size: 15px;
  }

 

  .footer-bottom-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 42px;
    padding: 58px 0;
  }

  .footer-brand img {
    width: 230px;
  }

  .footer h2 {
    margin-bottom: 26px;
    font-size: 22px;
  }

  .contact-list {
    gap: 22px;
  }

  .footer-bottom-inner {
    padding: 30px 0;
  }

  .footer-bottom nav {
    margin-top: 0;
    gap: 18px;
    flex-wrap: wrap;
  }
}

@media (max-width: 430px) {
  .wrap {
    width: calc(100% - 60px);
  }

  .mobile-head {
    padding: 0 19px;
  }

  .mobile-brand img {
    width: 126px;
  }
}
