:root {
  --default-font: "Noto Sans SC", "Microsoft YaHei", "PingFang SC", sans-serif;
  --accent-font: var(--default-font);
  --ink: var(--primary-color);
  --line: #e1e7ed;
  --accent: var(--accent-color);
}

html { scroll-behavior: smooth; scroll-padding-top: 28px; }
body { line-height: 1.6; }
[hidden] { display: none !important; }
h1, h2, h3, h4 { letter-spacing: .012em; }
img { max-width: 100%; height: auto; }
:focus-visible { outline: 2px solid #6386ff !important; outline-offset: 5px; }
.icon-white, .finsta-white-icon { filter: brightness(0) invert(1); }
.skip-link {
  position: fixed;
  z-index: 1000;
  inset: 12px auto auto 12px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  background: #fff;
  color: var(--primary-color);
}
.skip-link:focus { width: auto; height: auto; padding: 10px 16px; clip-path: none; }

.main-header .navbar > .container { display: flex; flex-wrap: nowrap; align-items: center; justify-content: space-between; gap: 24px; }
.juxing-brand { display: inline-flex; align-items: center; gap: 12px; margin: 0; color: white; font-size: 25px; font-weight: 650; white-space: nowrap; }
.juxing-brand:hover, .juxing-brand:focus { color: white; }
.juxing-mark { display: block; position: relative; width: 47px; height: 47px; overflow: hidden; border-radius: 50%; background: #052147; }
.juxing-mark img { position: absolute; top: -5px; left: -12px; width: 167px; height: auto; max-width: none; }
.juxing-nav { display: flex; flex: 1; align-items: center; justify-content: space-between; gap: 20px; }
.juxing-nav .navbar-nav { flex-direction: row; justify-content: center; flex: 1; gap: clamp(15px, 2.1vw, 33px); }
.main-menu.juxing-nav ul li { margin: 0; }
.main-menu.juxing-nav ul li a.nav-link { padding: 8px 0; white-space: nowrap; color: #fff; }
.main-menu.juxing-nav ul li a:hover { color: #afc1ff; }
.main-menu.juxing-nav ul li a[aria-current="page"] { color: #c9d7ff; box-shadow: inset 0 -2px #7494ff; }
.juxing-nav .header-btn { margin: 0; white-space: nowrap; }
.juxing-menu-toggle { display: none; }

.hero {
  height: auto;
  min-height: max(740px, calc(100svh - 15px));
  display: grid;
  align-items: end;
  background: var(--primary-color);
}
.hero-photograph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 55% center; }
.hero::before {
  background: linear-gradient(0deg, #021623e8 2%, #02162338 55%, #02162345 100%),
    linear-gradient(90deg, #021623bb 0%, #0216235a 45%, #02162312 80%);
}
.hero-content .section-title h1 { line-height: 1.17; font-size: clamp(54px, 5.35vw, 82px); font-weight: 650; }
.hero-content .section-title p { max-width: 33em; line-height: 1.75; }
.hero-support-box { background: #10233150; }
.hero-support-box-content ul li a:hover { text-decoration: underline; }

.section-title .section-sub-title::before {
  content: "";
  width: 16px;
  height: 16px;
  background: url("../svg/asterisk.svg") center / contain no-repeat;
}
.dark-section .section-title .section-sub-title::before { background-image: url("../svg/asterisk-white.svg"); }
.section-title h2 { line-height: 1.26; }
.about-us .brand-values { margin: 0; font-size: 15px; letter-spacing: .09em; }
.about-us-counter-body h2 { font-size: clamp(36px, 4vw, 57px); }
.about-circle-link { display: grid; place-items: center; width: 82px; height: 82px; border: 7px solid #fff; border-radius: 50%; background: var(--accent-color); }
.about-circle-link img { width: 24px; }
.our-services { background-image: url("../svg/orbit.svg"); background-size: cover; background-position: center; }
.service-item-slider .swiper-wrapper { align-items: stretch; }
.service-item-slider .swiper-slide { height: auto; }
.service-item { height: 100%; display: flex; flex-direction: column; }
.service-item-image { margin-top: auto; }
.service-item-image figure img { width: 100%; object-fit: cover; }
.service-item .service-item-title h2 { font-size: clamp(19px, 1.55vw, 24px); }
.service-pagination { display: flex; justify-content: center; }
.section-footer-text a { margin-inline-start: 8px; }
.project-item, .project-item a { cursor: pointer; }
.project-item-image a { cursor: pointer; }
.service-item, .project-item, .post-item { position: relative; }
.service-item-title a::after,
.project-item-content h2 a::after,
.post-item-content h2 a::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
}
.post-item-btn { position: relative; z-index: 3; }
.service-item:focus-within,
.project-item:focus-within,
.post-item:focus-within { outline: 2px solid #6386ff; outline-offset: 4px; }
.main-footer .footer-links a { line-height: 1.7; }
.cta-box .contact-form .form-select { appearance: auto; color-scheme: dark; }
.cta-box .contact-form label { line-height: 1.5; }
.cta-box .contact-form .form-control option { background: var(--primary-color); color: #fff; }
.cta-box .inquiry-result { color: #fff; margin-top: 28px; }
.cta-box .inquiry-result textarea { width: 100%; resize: vertical; }
.cta-box .inquiry-result button { margin: 5px 8px 0 0; }
.cta-box .inquiry-result p, .cta-box .inquiry-result h3 { color: #fff; }
.cta-box .contact-intro { color: #d8e1eb; margin-bottom: 20px; }
.cta-box .contact-form .form-text { opacity: .85; }

.contact-page { --pink: #e6edff; --serif: var(--default-font); background: var(--bg-color); }
.contact-page .main-header { position: relative; margin: 15px 15px 0; inset: auto; background: var(--primary-color); border-radius: 20px; }
.contact-page .shell { width: min(1260px, calc(100% - 48px)); margin-inline: auto; }
.contact-page .contact-hero { padding-block: clamp(45px, 6vw, 90px); }
.contact-page .contact-card { border-radius: 20px; }
.contact-page .contact-card :is(input, select, textarea) { padding-inline: 14px; border: 1px solid #d3dbe6; border-radius: 8px; }
.contact-page .contact-footer { background: var(--primary-color); color: white; border: 0; }
.contact-page .button { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 11px 18px; border-radius: 100px; }
.contact-page .button--primary { color: #fff; background: var(--accent-color); border: 0; }
.contact-page .button--outline { border: 1px solid #acb8cf; }

.column-page .main-header {
  position: relative;
  inset: auto;
  margin: 15px 15px 0;
  background: var(--primary-color);
  border-radius: 20px 20px 0 0;
}

.column-hero {
  margin: 0 15px;
  padding-block: clamp(40px, 6vw, 88px) clamp(50px, 7vw, 96px);
  border-radius: 0 0 20px 20px;
  background: radial-gradient(ellipse at 92% 8%, #164079, transparent 67%), var(--primary-color);
  color: #fff;
}
.column-breadcrumb { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 19px; color: #c3d1e1; font-size: 14px; }
.column-breadcrumb a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.column-hero h1 { color: #fff; font-size: clamp(38px, 5.5vw, 76px); font-weight: 650; }
.column-hero p { max-width: 42rem; margin: 18px 0 0; color: #d8e4f3; font-size: clamp(15px, 1.4vw, 19px); }
.column-jump { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.column-jump a { padding: 8px 14px; border: 1px solid #b9cef060; border-radius: 99px; color: #fff; font-size: 14px; }
.column-jump a:hover { background: #ffffff16; }
.column-content { padding-block: clamp(38px, 6vw, 88px); }
.column-content > * + * { margin-top: 22px; }
.column-section:not(:has(.column-card)), .column-card {
  min-width: 0;
  padding: clamp(21px, 3.1vw, 40px);
  border: 1px solid #e0e7ef;
  border-radius: 18px;
  background: #fff;
}
.column-content :is(.column-section, .column-card) > :last-child { margin-bottom: 0; }
.column-content h2 { margin-bottom: 14px; font-size: clamp(23px, 2.8vw, 36px); font-weight: 620; }
.column-content h3 { margin-block: 17px 9px; font-size: clamp(17px, 2vw, 21px); font-weight: 600; }
.column-content p { max-width: 65rem; margin-bottom: 15px; }
.column-content li + li { margin-top: 6px; }
.column-content a:not(.btn-default):not(.accordion-button) { color: #1944ae; text-decoration: underline; text-underline-offset: 3px; }
.column-content .btn-default { margin-top: 8px; }
.column-content .our-faqs { padding-block: 0; }
.column-content .our-faqs > .container { padding-inline: 0; }
.column-content .column-section:not(:has(.column-card)):target,
.column-content .column-section:target > .column-card,
.column-content .column-card:target { border-color: #6886df; }

@media (max-width: 1199px) {
  .hero .row { align-items: flex-start !important; }
  .hero-support-box { margin-left: 0; margin-top: 35px; }
  .hero { padding-bottom: 60px; }
}

@media (max-width: 991px) {
  .main-header .navbar > .container { position: relative; }
  .juxing-menu-toggle {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    background: var(--accent-color);
    border: 0;
    border-radius: 7px;
  }
  .juxing-menu-toggle img { filter: brightness(0) invert(1); }
  .juxing-nav.main-menu {
    display: none;
    position: absolute;
    z-index: 10;
    top: calc(100% + 10px);
    inset-inline: 15px;
    padding: 16px 21px;
    background: #0a2536;
    border: 1px solid #ffffff24;
    border-radius: 14px;
  }
  .juxing-nav.main-menu.is-open { display: grid; }
  .juxing-nav .navbar-nav { flex-direction: column; gap: 5px; }
  .juxing-nav .header-btn { display: block; }
  .hero { padding-top: 140px; min-height: 710px; }
  .hero-photograph { object-position: 65% center; }
  .hero-content .section-title h1 { font-size: clamp(39px, 7.8vw, 59px); }
  .contact-page .main-header { margin: 0; border-radius: 0; }
  .column-page .main-header { margin: 0; border-radius: 0; }
  .column-hero { margin: 0; border-radius: 0; }
}

@media (max-width: 575px) {
  .juxing-brand { font-size: 21px; gap: 8px; }
  .juxing-mark { width: 39px; height: 39px; }
  .juxing-mark img { width: 140px; left: -10px; }
  .hero { margin: 0; min-height: 735px; padding: 175px 0 58px; border-radius: 0; }
  .hero-photograph { object-position: 63% center; }
  .hero-content .section-title p { font-size: 16px; }
  .hero-support-box { max-width: none; margin-top: 30px; }
  .hero-support-box-content h2 br { display: none; }
  .about-circle-link { width: 63px; height: 63px; border-width: 5px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
