:root {
  color-scheme: light;
  --navy: #0e3a66;
  --blue: #155a96;
  --teal: #2e9e8f;
  --teal-dark: #1f7a6e;
  --ink: #16283c;
  --body: #51637a;
  --muted: #8194a9;
  --line: #e3eaf1;
  --soft: #f4f8fb;
  --mint: #e8f4f2;
  --white: #ffffff;
  --gutter: clamp(24px, 4.445vw, 64px);
  --section-space: 72px;
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.45;
}

*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, p, dl, dd, ul { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }

:focus-visible { outline: 2px solid var(--teal); outline-offset: 4px; }

.container {
  width: min(calc(100% - 2 * var(--gutter)), 1312px);
  margin-inline: auto;
}

.section { padding-block: var(--section-space); }
.soft-section { background: var(--soft); }
.icon { width: 1em; height: 1em; flex: none; fill: currentColor; vertical-align: middle; }
.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.header-inner {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  min-height: 81px;
  padding-block: 18px;
}

.brand { flex: none; display: flex; gap: 12px; align-items: center; }
.brand img { width: 44px; height: 44px; }
.brand strong { display: block; font-size: 22px; color: var(--navy); }
.brand small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 1.1px;
  line-height: 11px;
}

.main-nav { display: flex; align-items: center; gap: clamp(16px, 2.5vw, 36px); }
.main-nav a { font-size: 15px; white-space: nowrap; }
.main-nav a:hover, .main-nav [aria-current="page"] { color: var(--blue); }
.main-nav [aria-current="page"] { font-weight: 700; }
.menu-toggle { display: none; }

.button {
  display: inline-flex;
  width: fit-content;
  min-height: 51px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 32px;
  border: 1px solid transparent;
  border-radius: 29px;
  background: var(--teal);
  color: var(--white);
  font-size: 16px;
  font-weight: 500;
  white-space: nowrap;
}

.button:hover { background: var(--teal-dark); }
.button .icon { font-size: 18px; }
.button-small { min-height: 40px; padding: 8px 21px; font-size: 14px; }
.button-outline { min-height: 49px; padding-inline: 29px; border-color: #7fa8c9; background: transparent; color: #dceaf5; font-weight: 400; }
.button-outline:hover { background: rgb(255 255 255 / 12%); }
.button-white { background: var(--white); color: var(--blue); font-weight: 700; }
.button-white:hover { background: var(--mint); }

.hero, .page-banner {
  background: linear-gradient(245deg, var(--navy), var(--blue) 55%, var(--teal-dark));
  color: var(--white);
}

.hero-inner {
  display: grid;
  grid-template-columns: 660fr 604fr;
  gap: clamp(24px, 3.34vw, 48px);
  align-items: center;
  padding-block: 72px;
}

.hero-copy { display: grid; gap: 24px; }
.hero h1 { font-size: clamp(30px, 2.92vw, 42px); line-height: 1.35; }
.hero-topics { display: flex; flex-wrap: wrap; gap: 4px 8px; color: #c6dcec; font-size: 18px; }
.hero-topics span:not(:last-child)::after { content: "|"; margin-inline-start: 8px; }
.hero-description { color: #a9c4da; font-size: 15px; line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.hero img { width: 100%; height: auto; }

.eyebrow {
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  line-height: 16px;
}

.section-title { display: grid; gap: 10px; }
.section-title h2, .home-about h2 { font-size: 32px; }
.section-intro { color: var(--body); font-size: 15px; }
.section-heading { display: flex; gap: 20px; align-items: end; justify-content: space-between; }
.heading-centered { text-align: center; }
.inline-link { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--body); }
.inline-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.inline-link .icon { font-size: 16px; }

.service-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.service-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 27px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
}

.service-icon {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 12px;
  background: var(--mint);
  color: var(--teal-dark);
  font-size: 23px;
}

.service-card h3 { font-size: 19px; }
.service-card p { color: var(--body); font-size: 13.5px; line-height: 1.7; }
.service-card .inline-link { margin-top: auto; color: var(--teal-dark); font-size: 13px; font-weight: 500; }
.service-card .inline-link .icon { font-size: 14px; }

.home-about { padding-block: 80px; }
.home-about-inner { display: grid; grid-template-columns: 520fr 728fr; gap: clamp(32px, 4.45vw, 64px); align-items: center; }
.photo { width: 100%; height: auto; object-fit: cover; border-radius: 14px; }
.home-about-copy, .about-text { display: grid; gap: 20px; }
.home-about-copy > p:not(.eyebrow), .about-text > p:not(.eyebrow) { color: var(--body); font-size: 15px; line-height: 1.8; }
.check-list { display: grid; gap: 12px; }
.check-list li, .service-points li { display: flex; align-items: center; gap: 10px; }
.check-list li { font-size: 14.5px; }
.check-list .icon, .service-points .icon { color: var(--teal); font-size: 17px; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding-top: 20px; }
.stats div { display: flex; flex-direction: column-reverse; align-items: center; gap: 4px; text-align: center; }
.stats div:not(:last-child) { border-right: 1px solid var(--line); }
.stats dt { color: var(--muted); font-size: 13px; }
.stats dd { color: var(--blue); font-size: 32px; font-weight: 700; line-height: 1.22; }

.home-jobs { background: var(--navy); color: var(--white); }
.home-jobs .eyebrow, .home-jobs .job-salary { color: #5fd0c0; }
.home-jobs .inline-link { color: #9fc3de; }
.home-jobs .job-list { margin-top: 36px; }
.job-list { display: grid; gap: 14px; }
.job-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 90px;
  padding: 19px 27px;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.home-jobs .job-row { border-color: transparent; background: #14477d; }
.job-copy { width: min(38%, 420px); }
.job-copy h3 { font-size: 17px; }
.job-meta { margin-top: 6px; color: var(--muted); font-size: 13px; }
.home-jobs .job-meta { color: #8fb4d4; }
.job-salary { color: var(--teal-dark); font-size: 18px; font-weight: 700; white-space: nowrap; }
.job-apply {
  flex: none;
  padding: 8px 21px;
  border: 1px solid var(--blue);
  border-radius: 22px;
  color: var(--blue);
  font-size: 13px;
  white-space: nowrap;
}
.job-apply:hover { background: var(--soft); }
.home-jobs .job-apply { border-color: #3e6e9e; color: #dceaf5; }
.home-jobs .job-apply:hover { background: var(--navy); }
.job-note {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 20px 28px;
  border-radius: 10px;
  background: var(--mint);
  color: var(--teal-dark);
  font-size: 14px;
}
.job-note .icon { font-size: 18px; }
.job-note a:hover { text-decoration: underline; }

.news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.home-news .news-grid { margin-top: 36px; }
.news-card { min-width: 0; }
.news-card-button {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  width: 100%;
  height: 100%;
  min-height: 181px;
  padding: 28px;
  border: 0;
  border-radius: 12px;
  background: var(--soft);
  color: inherit;
  text-align: start;
}
.news-card-button:hover { background: #ebf3f8; }
.news-card-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.news-tag, .scenario-tag { padding: 4px 10px; border-radius: 4px; background: var(--mint); color: var(--teal-dark); font-size: 12px; font-weight: 500; }
.news-date { color: var(--muted); font-size: 12px; }
.news-card-title { font-size: 17px; font-weight: 700; line-height: 1.5; }
.news-card-summary { color: var(--body); font-size: 13.5px; line-height: 1.7; }
.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; padding-top: 12px; }
.pagination :is(button, a) {
  padding: 7px 13px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  color: var(--body);
  font-size: 13px;
}
.pagination [aria-current="page"] { border-color: var(--blue); background: var(--blue); color: var(--white); }
.news-dialog { width: min(540px, calc(100% - 40px)); padding: 30px; border: 1px solid var(--line); border-radius: 14px; color: var(--ink); }
.news-dialog::backdrop { background: rgb(10 42 74 / 56%); }
.news-dialog h2 { margin-block: 16px 12px; font-size: 24px; }
.news-dialog p:last-child { color: var(--body); line-height: 1.7; }
.dialog-close { float: right; padding: 4px 10px; border: 0; border-radius: 8px; background: var(--soft); color: var(--ink); font-size: 22px; line-height: 1; }

.consult-banner { padding-block: 48px; background: linear-gradient(270deg, var(--blue), var(--teal-dark)); color: var(--white); }
.consult-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.consult-inner h2 { font-size: 26px; }
.consult-inner p { margin-top: 8px; color: #c6dcec; font-size: 14px; }

.site-footer { padding-block: 56px 32px; background: #0a2a4a; color: #8fb4d4; font-size: 13px; }
.footer-main { display: flex; align-items: start; justify-content: space-between; gap: 36px; }
.footer-brand { max-width: 420px; }
.footer-brand h2 { margin-bottom: 14px; color: var(--white); font-size: 20px; }
.footer-brand p { line-height: 1.8; }
.footer-links { display: flex; gap: clamp(28px, 5.56vw, 80px); flex: none; }
.footer-links h3 { color: var(--white); font-size: 15px; }
.footer-links ul { display: grid; gap: 12px; margin-top: 12px; }
.footer-contact li { display: flex; align-items: center; gap: 8px; }
.footer-contact .icon { font-size: 15px; }
.footer-links a:hover { color: var(--white); }
.footer-legal {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid #1c4468;
  color: #5e82a3;
  font-size: 12px;
}

.page-banner { padding-block: 56px; }
.page-banner h1 { margin-bottom: 12px; font-size: 36px; }
.breadcrumbs { color: #a9c4da; font-size: 13px; }
.breadcrumbs a:hover { color: var(--white); }

.about-overview { display: grid; grid-template-columns: 748fr 500fr; align-items: center; gap: clamp(32px, 4.45vw, 64px); }
.about-text h2, .about-section-title { font-size: 30px; }
.about-stats { padding-block: 40px; }
.about-stats .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 0; }
.about-stats dt { font-size: 14px; }
.about-stats dd { font-size: 36px; }
.about-stats .stats div { gap: 6px; }
.about-stats .stats div:not(:last-child) { border: 0; }
.history-grid, .culture-grid { display: grid; gap: 24px; align-items: start; }
.history-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 40px; }
.history-grid article { display: grid; gap: 12px; padding: 24px; border-radius: 12px; background: var(--soft); }
.history-grid strong { color: var(--blue); font-size: 28px; line-height: 1.22; }
.history-grid h3 { font-size: 17px; }
.history-grid p, .culture-grid p { color: var(--body); font-size: 13.5px; line-height: 1.7; }
.culture { padding-bottom: var(--section-space); }
.culture-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 32px; }
.culture-grid article { display: grid; gap: 12px; padding: 27px; border: 1px solid var(--line); border-radius: 12px; }
.culture-grid .icon { font-size: 27px; color: var(--teal); }
.culture-grid h3 { font-size: 18px; }

.services-page { display: grid; gap: 32px; padding-block: 64px; }
.service-detail {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 32px;
  align-items: center;
  padding: 31px;
  border: 1px solid var(--line);
  border-radius: 14px;
  scroll-margin-block: 20px;
}
.service-detail:nth-child(even) { background: var(--soft); }
.service-panel {
  display: grid;
  aspect-ratio: 1;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(225deg, var(--blue), var(--teal-dark));
  color: var(--white);
  font-size: 56px;
}
.service-detail-copy { display: grid; gap: 14px; }
.service-detail-copy h2 { font-size: 22px; }
.service-detail-copy > p { color: var(--body); font-size: 14.5px; line-height: 1.7; }
.service-points, .service-scenarios { display: flex; flex-wrap: wrap; }
.service-points { gap: 8px 28px; font-size: 13px; }
.service-points .icon { font-size: 14px; }
.service-scenarios { align-items: center; gap: 8px; color: var(--muted); font-size: 12px; }
.scenario-tag { padding-block: 3px; }

.list-page { display: grid; align-content: start; gap: 28px; padding-block: 56px; }
.news-page { min-height: 635px; }
.filters { display: flex; flex-wrap: wrap; gap: 12px; }
.filter-button { padding: 9px 20px; border: 0; border-radius: 20px; background: var(--soft); color: var(--body); font-size: 14px; }
.filter-button:hover { background: var(--mint); }
.filter-button:is([aria-pressed="true"], [aria-current="page"]) { background: var(--blue); color: var(--white); }

.contact { display: grid; gap: 40px; padding-block: 56px; }
.contact-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.contact-card { display: grid; align-content: start; gap: 10px; min-height: 169px; padding: 26px; border-radius: 12px; background: var(--soft); }
.contact-card .icon { color: var(--teal-dark); font-size: 23px; }
.contact-card h2 { font-size: 17px; }
.contact-card-primary { color: var(--blue); font-size: 15px; font-weight: 600; overflow-wrap: anywhere; }
.contact-card-small { color: var(--muted); font-size: 13px; }
.contact-card a:hover { text-decoration: underline; }
.contact-main { display: grid; grid-template-columns: 712fr 560fr; gap: 40px; }
.contact-form { display: grid; gap: 18px; align-content: start; }
.contact-form h2 { font-size: 24px; }
.form-description { color: var(--body); font-size: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%;
  min-height: 46px;
  padding: 12px 15px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
  color: var(--ink);
  font-size: 14px;
}
.contact-form select { padding-right: 34px; }
.contact-form input::placeholder, .contact-form textarea::placeholder, .contact-form select:invalid { color: #667b91; opacity: 1; }
.contact-form textarea { min-height: 120px; resize: vertical; }
.contact-form .button { min-height: 48px; padding-inline: 35px; font-size: 15px; }
.form-status { color: var(--teal-dark); font-size: 14px; }
.contact-map { width: 100%; height: auto; aspect-ratio: 7 / 5; object-fit: cover; border-radius: 14px; }

@media (max-width: 1120px) {
  .service-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .service-card { padding: 23px; }
  .footer-links { gap: 28px; }
}

@media (max-width: 900px) {
  .header-inner { gap: 16px; }
  .menu-toggle {
    display: inline-grid;
    gap: 5px;
    place-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--white);
    color: var(--navy);
  }
  .menu-toggle span { width: 17px; height: 2px; background: currentColor; }
  .header-consult { margin-left: auto; }
  .main-nav {
    display: none;
    position: absolute;
    z-index: 1;
    inset: 100% 0 auto;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--white);
    box-shadow: 0 12px 28px rgb(14 58 102 / 12%);
  }
  .main-nav.is-open { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
  .main-nav a { padding: 10px; }
  .hero-inner { padding-block: 56px; }
  .hero h1 { font-size: clamp(24px, 3.6vw, 32px); }
  .hero-topics { font-size: 15px; }
  .history-grid, .contact-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-main { flex-wrap: wrap; }
  .footer-links { flex: 1 1 100%; justify-content: space-between; }
}

@media (max-width: 680px) {
  :root { --section-space: 48px; }
  .hero-inner, .home-about-inner, .about-overview, .contact-main { grid-template-columns: 1fr; }
  .hero-inner { gap: 24px; padding-block: 44px; }
  .hero-copy { gap: 18px; }
  .hero img { max-width: 420px; margin-inline: auto; }
  .hero h1 { font-size: clamp(22px, 5.4vw, 32px); }
  .hero-actions { gap: 10px; }
  .hero-actions .button, .consult-inner .button { min-height: 44px; padding-inline: 16px; font-size: 14px; }
  .section-title h2, .home-about h2, .about-text h2, .about-section-title { font-size: 26px; }
  .service-grid, .news-grid, .culture-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .service-grid { margin-top: 26px; }
  .service-card, .news-card-button, .culture-grid article { padding: 16px; }
  .section-heading { align-items: end; }
  .section-heading .inline-link { flex: none; }
  .home-about { padding-block: 48px; }
  .stats dd, .about-stats dd { font-size: 25px; }
  .stats dt, .about-stats dt { font-size: 12px; }
  .job-row { padding: 15px; gap: 8px 14px; flex-wrap: wrap; }
  .job-copy { width: 100%; }
  .job-apply { font-size: 12px; padding-inline: 15px; }
  .job-salary { font-size: 16px; }
  .job-note { align-items: start; padding: 16px; }
  .consult-inner { flex-direction: column; align-items: start; }
  .consult-inner h2 { font-size: 22px; }
  .page-banner { padding-block: 36px; }
  .page-banner h1 { font-size: 30px; }
  .services-page { padding-block: 40px; gap: 18px; }
  .service-detail { grid-template-columns: 64px minmax(0, 1fr); align-items: start; gap: 14px; padding: 16px; }
  .service-panel { border-radius: 10px; font-size: 28px; }
  .service-detail-copy h2 { font-size: 19px; }
  .list-page, .contact { padding-block: 40px; }
  .news-page { min-height: auto; }
  .contact-card { padding: 16px; }
  .contact-main { gap: 24px; }
  .footer-legal { flex-direction: column; }
}

@media (max-width: 410px) {
  :root { --gutter: 18px; }
  .header-inner { gap: 8px; }
  .brand { gap: 6px; }
  .brand img { width: 36px; height: 36px; }
  .brand strong { font-size: 19px; }
  .brand small { font-size: 8px; letter-spacing: .35px; }
  .header-consult { min-height: 36px; padding-inline: 11px; font-size: 13px; }
  .news-grid, .culture-grid { grid-template-columns: 1fr; }
  .footer-links { flex-wrap: wrap; }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.line-breaks { white-space: pre-line; }
.dialog-body { white-space: pre-wrap; }
.news-dialog .dialog-summary, .news-dialog .dialog-body { color: var(--body); line-height: 1.7; }
.news-dialog .dialog-body { margin-top: 14px; overflow-wrap: anywhere; }
.news-dialog { max-height: calc(100dvh - 40px); overflow-y: auto; }
.empty-list { color: var(--body); }
.stats { grid-template-columns: repeat(var(--stat-columns, 3), minmax(0, 1fr)); }
.about-stats .stats { grid-template-columns: repeat(var(--stat-columns, 4), minmax(0, 1fr)); }
main :is(h1, h2, h3, p), .brand, .footer-links { overflow-wrap: anywhere; }
@media (max-width: 680px) {
  .stats { grid-template-columns: repeat(min(3, var(--stat-columns, 3)), minmax(0, 1fr)); }
}
