/* Language switcher, accessibility tools, focus, and on-page SEO layout helpers. */

.intro {
  height: 100vh !important;
  min-height: 520px;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 100000;
  background: #111;
  color: #fff;
  padding: 10px 14px;
  font-family: Montserrat, sans-serif;
  font-size: 14px;
  text-decoration: none;
}

.skip-link:focus {
  top: 10px;
}

.ht-lang {
  position: absolute;
  top: 14px;
  right: 16px;
  z-index: 20;
  margin: 0;
}

.ht-lang-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23222' d='M1 1l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 10px center;
  color: #1b1b1b;
  border: 1px solid rgba(0, 0, 0, 0.18);
  border-radius: 4px;
  font-family: Montserrat, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1.2;
  padding: 8px 30px 8px 12px;
  min-width: 132px;
  cursor: pointer;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
}

.ht-lang-go {
  margin-left: 6px;
  padding: 7px 10px;
  border: 0;
  background: #778899;
  color: #fff;
  font-size: 12px;
}

@media (min-width: 991px) {
  .navbar-onepage .nav.pull-right {
    margin-right: 168px;
  }
}

@media (max-width: 990px) {
  .ht-lang {
    right: 64px;
    top: 10px;
  }

  .ht-lang-select {
    min-width: 104px;
    max-width: 124px;
    padding-top: 7px;
    padding-bottom: 7px;
  }

  .navbar-center .navbar-brand {
    position: static;
    left: auto;
    float: left;
    transform: none;
    padding: 12px 0 12px 8px;
  }

  .navbar-custom .navbar-brand .logo img,
  .navbar-custom .navbar-brand .logodark img {
    max-width: 128px;
    max-height: 32px;
    width: auto;
    height: auto;
  }
}

.footer {
  padding-bottom: 88px;
}

.intro .hero-tagline {
  font-size: 36px;
  line-height: 1.15;
  margin: 0 0 6px;
}

.hero-location {
  font-family: "Open Sans", sans-serif;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.5;
  text-transform: none;
  max-width: 680px;
  margin: 12px auto 0;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

h2.section-title {
  font-size: 24px;
}

.footer h2.section-title {
  font-size: 14px;
}

#services h3,
section .col-lg-3 > h3 {
  font-size: 18px;
  line-height: 1.35;
}

.quote h2 {
  font-size: 32px;
  line-height: 1.35;
}

.industries-head {
  padding-top: 48px;
  padding-bottom: 8px;
}

.industries-intro {
  margin-bottom: 0;
}

.contact-phone {
  font-family: Montserrat, sans-serif;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 12px;
}

.contact-phone a {
  color: inherit;
}

.site-address {
  font-style: normal;
  margin-top: 8px;
}

html[lang="zh-Hans"] body,
html[lang="zh-Hans"] h2,
html[lang="zh-Hans"] h3,
html[lang="zh-Hans"] h4,
html[lang="zh-Hans"] h5,
html[lang="zh-Hans"] h6,
html[lang="zh-Hans"] .navbar-custom,
html[lang="zh-Hans"] .hero-tagline,
html[lang="zh-Hans"] .hero-location {
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
}

html[lang="zh-Hans"] .intro h1.classic {
  font-family: "Zeyada", cursive;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 3px solid #0b5fff !important;
  outline-offset: 3px !important;
}

.a11y-fab {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 10440;
  width: 56px;
  height: 56px;
  border: 0;
  border-radius: 50%;
  background: #778899;
  color: #fff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.a11y-fab:hover,
.a11y-fab:focus-visible {
  background: #5f7388;
}

.a11y-dialog {
  border: 0;
  padding: 0;
  background: transparent;
  max-width: calc(100vw - 24px);
  width: min(440px, calc(100vw - 24px));
}

.a11y-dialog::backdrop {
  background: rgba(10, 14, 20, 0.55);
}

.a11y-panel {
  background: #fff;
  color: #1b1b1b;
  border-radius: 10px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
  overflow: hidden;
}

.a11y-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: #778899;
  color: #fff;
  padding: 14px 16px;
}

.a11y-panel-head h2 {
  margin: 0;
  color: #fff;
  font-size: 16px;
  letter-spacing: 0.04em;
}

.a11y-close {
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 28px;
  line-height: 1;
  width: 36px;
  height: 36px;
  cursor: pointer;
}

.a11y-lead {
  margin: 0;
  padding: 14px 16px 0;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
  font-family: "Open Sans", sans-serif;
  line-height: 1.5;
}

.a11y-text-row,
.a11y-option,
.a11y-reset {
  font-family: Montserrat, sans-serif;
}

.a11y-text-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 14px 16px;
  padding: 10px 12px;
  border: 1px solid #e3e3e3;
  border-radius: 8px;
}

.a11y-text-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.a11y-text-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.a11y-text-controls button,
.a11y-reset {
  border: 1px solid #778899;
  background: #fff;
  color: #243140;
  border-radius: 6px;
  min-width: 36px;
  min-height: 36px;
  font-weight: 700;
  cursor: pointer;
}

.a11y-text-value {
  min-width: 48px;
  text-align: center;
  font-weight: 700;
}

.a11y-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 0 16px 8px;
}

.a11y-option {
  text-align: left;
  border: 1px solid #e3e3e3;
  background: #fafafa;
  border-radius: 8px;
  padding: 10px;
  min-height: 64px;
  cursor: pointer;
}

.a11y-option[aria-pressed="true"] {
  background: #243140;
  color: #fff;
  border-color: #243140;
}

.a11y-option-label,
.a11y-state {
  display: block;
}

.a11y-option-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.a11y-state {
  margin-top: 4px;
  font-family: "Open Sans", sans-serif;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  opacity: 0.85;
}

.a11y-reset {
  display: block;
  width: calc(100% - 32px);
  margin: 8px 16px 16px;
  padding: 10px 12px;
  background: #778899;
  color: #fff;
}

@media (max-width: 420px) {
  .a11y-options {
    grid-template-columns: 1fr;
  }
}

html.a11y-text-sm {
  zoom: 0.92;
}

html.a11y-text-lg {
  zoom: 1.12;
}

html.a11y-text-xl {
  zoom: 1.28;
}

html.a11y-contrast body,
html.a11y-contrast section,
html.a11y-contrast .bg-gray,
html.a11y-contrast .panel,
html.a11y-contrast .panel-heading,
html.a11y-contrast .panel-body,
html.a11y-contrast .footer,
html.a11y-contrast .navbar-custom,
html.a11y-contrast .navbar-custom.top-nav-collapse,
html.a11y-contrast .navbar-collapse,
html.a11y-contrast .form-control,
html.a11y-contrast .intro {
  background-color: #000 !important;
  color: #fff !important;
  border-color: #fff !important;
}

html.a11y-contrast h1,
html.a11y-contrast h2,
html.a11y-contrast h3,
html.a11y-contrast h4,
html.a11y-contrast h5,
html.a11y-contrast h6,
html.a11y-contrast p,
html.a11y-contrast li,
html.a11y-contrast label,
html.a11y-contrast .meta,
html.a11y-contrast .navbar-custom a,
html.a11y-contrast .navbar-custom.top-nav-collapse a,
html.a11y-contrast .contact-phone a {
  color: #fff !important;
}

html.a11y-contrast a:not(.btn):not(.a11y-fab):not(.navbar-brand) {
  color: #ffe14a !important;
  text-decoration: underline;
}

html.a11y-contrast .btn {
  background: #ffe14a !important;
  color: #000 !important;
  border-color: #ffe14a !important;
}

html.a11y-contrast .intro-body:before {
  background: rgba(0, 0, 0, 0.78) !important;
}

html.a11y-contrast .a11y-panel,
html.a11y-contrast .a11y-lead,
html.a11y-contrast .a11y-option {
  background: #111;
  color: #fff;
}

html.a11y-contrast .a11y-option[aria-pressed="true"] {
  background: #ffe14a !important;
  color: #000 !important;
}

html.a11y-grayscale .navbar-custom,
html.a11y-grayscale main,
html.a11y-grayscale .footer,
html.a11y-grayscale #map {
  filter: grayscale(1);
}

html.a11y-links a:not(.btn):not(.a11y-fab):not(.navbar-brand):not(.a11y-close) {
  background-color: #fff59a !important;
  color: #111 !important;
  text-decoration: underline !important;
  outline: 1px solid #111;
}

html.a11y-readable body,
html.a11y-readable h1,
html.a11y-readable h2,
html.a11y-readable h3,
html.a11y-readable h4,
html.a11y-readable h5,
html.a11y-readable h6,
html.a11y-readable p,
html.a11y-readable a,
html.a11y-readable li,
html.a11y-readable button,
html.a11y-readable input,
html.a11y-readable textarea,
html.a11y-readable .classic,
html.a11y-readable .intro h1.classic,
html.a11y-readable .navbar-custom {
  font-family: Verdana, "Segoe UI", Tahoma, Geneva, sans-serif !important;
  letter-spacing: 0.03em !important;
  line-height: 1.65 !important;
}

html.a11y-spacing p,
html.a11y-spacing li,
html.a11y-spacing .panel-body,
html.a11y-spacing .hero-location {
  line-height: 1.85 !important;
  letter-spacing: 0.08em !important;
  word-spacing: 0.12em !important;
}

html.a11y-spacing p {
  margin-bottom: 1.4em !important;
}

html.a11y-cursor,
html.a11y-cursor body,
html.a11y-cursor a,
html.a11y-cursor button,
html.a11y-cursor input,
html.a11y-cursor textarea,
html.a11y-cursor select,
html.a11y-cursor label {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 48 48'%3E%3Cpath d='M8 6 L8 38 L18 30 L24 44 L30 41 L24 27 L38 26 Z' fill='%23000' stroke='%23fff' stroke-width='2'/%3E%3C/svg%3E") 6 4, auto !important;
}

html.a11y-pause *,
html.a11y-pause *::before,
html.a11y-pause *::after {
  animation: none !important;
  transition: none !important;
  scroll-behavior: auto !important;
}

@media (prefers-reduced-motion: reduce) {
  html:not(.a11y-play) *,
  html:not(.a11y-play) *::before,
  html:not(.a11y-play) *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

.a11y-guide-bar {
  position: fixed;
  left: 0;
  right: 0;
  height: 16px;
  margin-top: -8px;
  background: rgba(255, 225, 74, 0.35);
  border-top: 2px solid #111;
  border-bottom: 2px solid #111;
  pointer-events: none;
  z-index: 100001;
}

.svc-open-hint {
  margin-bottom: 8px;
}

.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.svc-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: #243140;
  color: #fff;
  text-align: left;
  cursor: pointer;
  overflow: hidden;
  border-radius: 4px;
}

.svc-card img {
  display: block;
  width: 100%;
  height: 210px;
  object-fit: cover;
  margin: 0;
}

.svc-card-name {
  display: block;
  padding: 14px 14px 16px;
  font-family: Montserrat, sans-serif;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.02em;
  color: #fff;
}

.svc-card:hover,
.svc-card:focus-visible {
  outline: 3px solid #778899;
  outline-offset: 3px;
}

.area-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
}

.area-grid li {
  margin: 0;
  padding: 22px 16px;
  background: #f4f6f8;
  border-top: 3px solid #778899;
  text-align: center;
  font-family: Montserrat, sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
}

.faq-list {
  margin-top: 12px;
}

.faq-item {
  border-bottom: 1px solid #e3e3e3;
}

.faq-item summary {
  cursor: pointer;
  font-family: Montserrat, sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.4;
  list-style: none;
  padding: 16px 4px 16px 28px;
  position: relative;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::marker {
  content: "";
}

.faq-item summary::before {
  content: "+";
  position: absolute;
  left: 2px;
  top: 14px;
  color: #778899;
  font-size: 22px;
  line-height: 1;
}

.faq-item[open] summary::before {
  content: "\2212";
}

.faq-item p {
  margin: 0;
  padding: 0 4px 16px 28px;
}

.svc-dialog {
  border: 0;
  padding: 0;
  background: transparent;
  width: min(640px, calc(100vw - 24px));
  max-width: calc(100vw - 24px);
  max-height: calc(100vh - 24px);
}

.svc-dialog::backdrop {
  background: rgba(10, 14, 20, 0.55);
}

.svc-dialog-panel {
  background: #fff;
  color: #1b1b1b;
  border-radius: 10px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
  overflow: auto;
  max-height: calc(100vh - 24px);
}

.svc-dialog-media {
  display: block;
  width: 100%;
  height: 240px;
  object-fit: cover;
  background: #243140;
}

.svc-dialog-bodywrap {
  padding: 18px 20px 22px;
}

.svc-dialog-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.svc-dialog-head h2 {
  margin: 0;
  font-size: 22px;
  line-height: 1.3;
}

.svc-dialog-close {
  flex: 0 0 auto;
  border: 0;
  background: #778899;
  color: #fff;
  font-size: 28px;
  line-height: 1;
  width: 40px;
  height: 40px;
  border-radius: 6px;
  cursor: pointer;
}

.svc-dialog-copy {
  margin: 14px 0 18px;
  font-family: "Open Sans", sans-serif;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  line-height: 1.55;
}

.svc-dialog-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.svc-social {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 14px;
  border: 1px solid #778899;
  border-radius: 6px;
  color: #243140;
  background: #fff;
  text-decoration: none;
  font-family: Montserrat, sans-serif;
  font-weight: 700;
}

.svc-dialog-actions .btn {
  margin: 0;
}

@media (max-width: 767px) {
  .area-grid {
    grid-template-columns: 1fr;
  }

  .svc-dialog-media {
    height: 180px;
  }
}

@media (max-width: 479px) {
  .svc-grid {
    grid-template-columns: 1fr;
  }

  .svc-card img {
    height: 200px;
  }
}

html.a11y-contrast .svc-card,
html.a11y-contrast .svc-card-name,
html.a11y-contrast .svc-dialog-panel,
html.a11y-contrast .area-grid li,
html.a11y-contrast .faq-item,
html.a11y-contrast .svc-social {
  background: #000 !important;
  color: #fff !important;
  border-color: #fff !important;
}

html.a11y-contrast .svc-dialog-head h2,
html.a11y-contrast .svc-dialog-copy,
html.a11y-contrast .faq-item summary,
html.a11y-contrast .faq-item summary::before {
  color: #fff !important;
}

html.a11y-contrast .svc-social {
  color: #ffe14a !important;
}

html.a11y-grayscale .svc-dialog {
  filter: grayscale(1);
}
