:root {
  color-scheme: light;
  --portal-ink: #18304a;
  --portal-muted: #52687b;
  --portal-navy: #123456;
  --portal-dark: #102941;
  --portal-blue: #16678a;
  --portal-teal: #25858f;
  --portal-pale: #f3f7fa;
  --portal-rule: #dce6ed;
  --portal-white: #fff;
  --portal-wrap: 82rem;
  --portal-gutter: clamp(1rem, 4vw, 2.5rem);
  --portal-font: system-ui, "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: var(--portal-ink);
  background: var(--portal-white);
  font: 16px/1.65 var(--portal-font);
}
main { flex: 1; }
a { color: var(--portal-blue); text-underline-offset: .23em; }
a:hover { color: var(--portal-dark); }
button { font: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { line-height: 1.3; overflow-wrap: anywhere; }
:focus-visible { outline: 2px solid #21829c; outline-offset: 4px; }
.portal-wrap { width: min(100%, var(--portal-wrap)); margin-inline: auto; padding-inline: var(--portal-gutter); }
.portal-skip {
  position: fixed;
  z-index: 5;
  top: 1rem;
  left: 1rem;
  padding: .5rem .75rem;
  color: var(--portal-dark);
  background: var(--portal-white);
}
.portal-skip:not(:focus) { clip-path: inset(50%); }
.portal-brand-row {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.portal-brand {
  display: flex;
  align-items: center;
  gap: .8rem;
  min-width: 0;
  padding-block: .7rem;
  color: var(--portal-ink);
  font-size: clamp(1.125rem, 2vw, 1.45rem);
  font-weight: 750;
  line-height: 1.25;
  text-decoration: none;
}
.portal-brand span:last-child { overflow-wrap: anywhere; }
.portal-logo { width: 46px; height: 46px; flex: 0 0 auto; object-fit: contain; }
.portal-mark {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  align-content: center;
  gap: 4px;
  justify-items: center;
  border-radius: 7px;
  background: var(--portal-navy);
}
.portal-mark i { width: 23px; height: 3px; border-radius: 4px; background: #fff; transform: skewX(-28deg); }
.portal-mark i:nth-child(2) { width: 18px; margin-left: 5px; background: #a6dfde; }
.portal-mark i:nth-child(3) { width: 12px; margin-left: 11px; background: #70c7ca; }
.header-phone { flex: 0 0 auto; color: var(--portal-navy); font-size: .9375rem; font-weight: 650; text-decoration: none; }
.portal-menu-toggle {
  display: none;
  border: 1px solid #cddce7;
  border-radius: 5px;
  color: var(--portal-navy);
  background: var(--portal-white);
  padding: .35rem .7rem;
  cursor: pointer;
  font-size: .875rem;
  font-weight: 650;
  flex: 0 0 auto;
}
.portal-navigation { background: var(--portal-navy); }
.portal-nav-inner { display: flex; align-items: stretch; gap: .5rem; }
.portal-nav-inner a {
  display: flex;
  min-height: 55px;
  align-items: center;
  justify-content: center;
  flex: 1 1 auto;
  padding: .6rem .9rem;
  border-bottom: 3px solid transparent;
  color: #eaf4fb;
  font-weight: 620;
  text-decoration: none;
  white-space: nowrap;
}
.portal-nav-inner a:hover, .portal-nav-inner a[aria-current] {
  color: var(--portal-white);
  border-color: #6fc1c5;
  background: #204866;
}
.portal-nav-inner a:focus-visible, .portal-footer a:focus-visible, .portal-hero a:focus-visible {
  outline-color: #8ce0e2;
  outline-offset: -3px;
}
.portal-hero {
  position: relative;
  isolation: isolate;
  min-height: clamp(295px, 30vw, 445px);
  display: grid;
  align-items: center;
  overflow: hidden;
  background: #193c59;
  color: var(--portal-white);
}
.hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 53%; z-index: -2; }
.portal-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgb(11 32 52 / 95%) 0%, rgb(16 46 69 / 83%) 27%, rgb(14 42 64 / 35%) 66%, rgb(14 38 58 / 10%) 100%);
}
.hero-inner { padding-block: clamp(2.65rem, 7vw, 5rem); }
.hero-inner h1 { max-width: 17em; font-size: clamp(2.35rem, 4.5vw, 4rem); font-weight: 750; letter-spacing: -.02em; line-height: 1.15; }
.hero-inner p { margin-top: .85rem; max-width: 35em; color: #e9f3f7; font-size: clamp(1rem, 1.7vw, 1.18rem); }
.portal-button {
  display: inline-flex;
  min-height: 43px;
  align-items: center;
  justify-content: center;
  padding: .55rem 1.1rem;
  border: 1px solid var(--portal-navy);
  border-radius: 5px;
  background: var(--portal-navy);
  color: var(--portal-white);
  font-weight: 650;
  text-decoration: none;
}
.portal-button:hover { background: var(--portal-blue); border-color: var(--portal-blue); color: #fff; }
.portal-button-light { background: #f5faff; border-color: #f5faff; color: var(--portal-navy); }
.portal-button-light:hover { background: #dceff4; border-color: #dceff4; color: var(--portal-dark); }
.hero-inner .portal-button { margin-top: 1.65rem; }
.portal-headline {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  min-height: 85px;
  margin-top: 1.65rem;
  padding: 1rem 1.2rem;
  border: 1px solid var(--portal-rule);
  border-radius: 6px;
  background: var(--portal-pale);
}
.headline-label {
  flex: 0 0 auto;
  background: #ae3437;
  border-radius: 4px;
  color: #fff;
  font-weight: 700;
  padding: .25rem .62rem;
}
.headline-text { flex: 1; min-width: 0; }
.headline-text h2 { font-size: clamp(1.1rem, 2vw, 1.35rem); }
.headline-text h2 a { color: var(--portal-ink); text-decoration: none; }
.headline-text h2 a:hover { text-decoration: underline; }
.headline-text p { margin-top: .25rem; color: var(--portal-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.portal-headline time { color: var(--portal-muted); font-size: .875rem; white-space: nowrap; font-variant-numeric: tabular-nums; }
.home-section { padding-block: clamp(2.1rem, 5vw, 3.8rem); }
.portal-home-main .home-section { padding-top: clamp(1.9rem, 4vw, 3.2rem); }
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: .8rem;
  margin-bottom: 1.22rem;
}
.section-heading h2 { color: var(--portal-ink); font-size: clamp(1.4rem, 2.5vw, 1.85rem); font-weight: 740; }
.section-heading h2::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: .85em;
  border-radius: 3px;
  margin-inline-end: .6rem;
  background: var(--portal-teal);
  vertical-align: -.02em;
}
.section-heading > a { flex: 0 0 auto; font-weight: 650; font-size: .875rem; text-decoration: none; }
.section-heading > a:hover { text-decoration: underline; }
.home-news-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.17fr) minmax(0, 1fr);
  gap: clamp(1rem, 3.3vw, 2rem);
}
.featured-news, .feature-placeholder {
  position: relative;
  min-width: 0;
  min-height: 300px;
  border-radius: 7px;
  background: #1b4162;
  overflow: hidden;
}
.feature-stage, .feature-stage a { display: block; min-height: 300px; height: 100%; }
.feature-stage a { position: relative; color: #fff; text-decoration: none; }
.feature-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.feature-caption {
  position: absolute;
  inset: auto 0 0;
  padding: 2.8rem 1.25rem 1rem;
  background: linear-gradient(transparent, rgb(12 32 51 / 96%));
  color: #fff;
}
.feature-caption time { display: block; font-size: .875rem; color: #dbeef6; margin-bottom: .15rem; }
.feature-caption strong { display: block; font-size: clamp(1.05rem, 2vw, 1.2rem); overflow-wrap: anywhere; }
.featured-news:has(.feature-controls:not([hidden])) .feature-caption { padding-bottom: 3.55rem; }
.feature-controls {
  position: absolute;
  inset: auto 1.25rem .75rem auto;
  display: flex;
  align-items: center;
  gap: .5rem;
  color: #f3f9fd;
  font-size: .875rem;
}
.feature-controls button {
  padding: .3rem .55rem;
  border: 1px solid rgb(255 255 255 / 45%);
  border-radius: 4px;
  background: rgb(13 37 57 / 70%);
  color: #fff;
  cursor: pointer;
}
.feature-controls button:hover { background: #246381; }
.feature-placeholder {
  display: grid;
  align-items: end;
  color: var(--portal-white);
  padding: clamp(1.3rem, 3.8vw, 2rem);
  background: linear-gradient(145deg,#1a4969 0%, #153956 47%, #122d48 100%);
}
.feature-placeholder h3 { font-size: 1.4rem; }
.feature-placeholder p { margin: .4rem 0 1rem; color: #dfeef6; }
.feature-placeholder .portal-button { min-height: 38px; font-size: .875rem; }
.news-board { min-width: 0; display: flex; flex-direction: column; border: 1px solid var(--portal-rule); border-radius: 7px; }
.news-tabs { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); border-bottom: 1px solid var(--portal-rule); }
.news-tabs a {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 49px;
  padding: .5rem .2rem;
  border-top: 3px solid transparent;
  color: var(--portal-muted);
  text-decoration: none;
  font-weight: 620;
  text-align: center;
}
.news-tabs a:first-child { border-radius: 6px 0 0; }
.news-tabs a:last-child { border-radius: 0 6px 0 0; }
.news-tabs a.is-active { background: var(--portal-pale); color: var(--portal-blue); border-color: var(--portal-teal); }
.news-tabs a:not(.is-active):hover { color: var(--portal-blue); background: #f6f9fb; }
.news-panel { flex: 1; min-height: 190px; display: flex; flex-direction: column; padding: .45rem 1rem .85rem; }
.news-panel ul { list-style: none; margin: 0; padding: 0; }
.news-panel li { display: flex; align-items: center; justify-content: space-between; gap: .7rem; min-height: 36px; border-bottom: 1px solid #e8eff4; padding-block: .4rem; }
.news-panel li a { color: var(--portal-ink); text-decoration: none; overflow-wrap: anywhere; }
.news-panel li a:hover { color: var(--portal-blue); text-decoration: underline; }
.news-panel li time { flex: 0 0 auto; color: var(--portal-muted); font-variant-numeric: tabular-nums; font-size: .875rem; }
.news-more { align-self: flex-end; margin-top: .75rem; font-size: .875rem; font-weight: 650; }
.news-panel-empty { margin: auto; color: var(--portal-muted); padding: 1rem; }
.alternate-section { background: var(--portal-pale); }
.qualification-grid, .service-grid, .project-grid { display: grid; gap: clamp(.85rem, 2vw, 1.25rem); }
.qualification-grid { grid-template-columns: repeat(4, minmax(0,1fr)); }
.service-grid, .project-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
.certificate-card, .project-card, .service-card {
  display: block;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--portal-rule);
  border-radius: 7px;
  color: var(--portal-ink);
  background: #fff;
  text-decoration: none;
}
.certificate-card:hover, .project-card:hover, .service-card:hover { color: var(--portal-blue); border-color: #9dbdce; }
.portal-card-text, .service-card { padding: 1.05rem; }
.portal-card-text h3, .service-card h3 { font-size: 1.06rem; }
.portal-card-text p, .portal-card-text span, .service-card p {
  display: block;
  margin-top: .35rem;
  color: var(--portal-muted);
  font-size: .9rem;
  overflow-wrap: anywhere;
}
.certificate-image { aspect-ratio: 4/3; background: #f6f8fa; padding: .7rem; }
.certificate-image img { width: 100%; height: 100%; object-fit: contain; }
.project-card > img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.service-card { border-top: 3px solid #31828c; }
.home-projects { border-top: 1px solid var(--portal-rule); padding-top: clamp(1.6rem,3vw,2.4rem); }
.portal-empty-inline { color: var(--portal-muted); border: 1px solid var(--portal-rule); background: #f9fbfd; padding: 1rem 1.15rem; border-radius: 6px; }
.portal-section-band { padding-block: 1.35rem 1.65rem; background: #edf4f8; border-bottom: 1px solid var(--portal-rule); }
.portal-section-band h1 { margin-top: .65rem; font-size: clamp(1.75rem,4vw,2.45rem); }
.portal-crumb { display: flex; gap: .55rem; flex-wrap: wrap; color: var(--portal-muted); font-size: .875rem; }
.portal-crumb a { text-decoration: none; font-weight: 625; }
.portal-list-main { padding-block: 1.65rem 3.75rem; }
.portal-filters { display: flex; gap: .45rem; flex-wrap: wrap; margin-bottom: 1.2rem; }
.portal-filters a, .portal-pagination a {
  padding: .42rem .85rem;
  text-decoration: none;
  border: 1px solid var(--portal-rule);
  border-radius: 5px;
  color: var(--portal-navy);
}
.portal-filters a[aria-current], .portal-filters a:hover, .portal-pagination a:hover {
  background: #e9f3f7;
  border-color: #a0c7d7;
}
.portal-news-list { border-top: 1px solid var(--portal-rule); }
.portal-news-item { display: grid; grid-template-columns: 7.2rem 1fr; gap: .95rem; padding: 1.15rem 0; border-bottom: 1px solid var(--portal-rule); }
.list-date { display: flex; flex-direction: column; gap: .15rem; color: var(--portal-muted); font-size: .875rem; }
.list-date time { font-size: 1rem; font-weight: 700; color: var(--portal-blue); font-variant-numeric: tabular-nums; }
.portal-news-item h2 { font-size: 1.13rem; }
.portal-news-item h2 a { color: var(--portal-ink); text-decoration: none; }
.portal-news-item h2 a:hover { color: var(--portal-blue); text-decoration: underline; }
.portal-news-item p { margin-top: .35rem; color: var(--portal-muted); }
.portal-pagination { margin-top: 1.3rem; display: flex; align-items: center; flex-wrap: wrap; gap: .75rem; }
.article-band { padding-block: 1rem; }
.portal-article { max-width: 62rem; padding-block: clamp(1.85rem,5vw,3.4rem) 3.75rem; }
.article-header { padding-bottom: 1.15rem; border-bottom: 1px solid var(--portal-rule); }
.article-header h1 { font-size: clamp(1.75rem,4vw,2.7rem); }
.article-category { margin-bottom: .42rem; color: var(--portal-blue); font-weight: 650; }
.article-meta { display: flex; flex-wrap: wrap; gap: .4rem 1rem; margin-top: .65rem; color: var(--portal-muted); font-size: .9375rem; }
.article-meta:empty { display: none; }
.article-summary { margin-top: .85rem; color: var(--portal-muted); }
.portal-article-cover { margin-top: 1.25rem; }
.portal-article-cover img { width: 100%; max-height: 560px; object-fit: cover; border-radius: 6px; }
.portal-article-cover.is-certificate img { width: auto; max-width: 100%; height: auto; object-fit: contain; margin-inline: auto; }
.portal-prose { margin-top: 1.3rem; line-height: 1.8; overflow-wrap: anywhere; }
.portal-prose p, .portal-prose ol, .portal-prose ul { margin: 0 0 .85em; }
.portal-prose h1, .portal-prose h2, .portal-prose h3, .portal-prose h4 { margin: 1.05em 0 .5em; }
.portal-prose img { max-width: 100%; height: auto; border-radius: 5px; }
.portal-prose table, .portal-prose pre { display: block; overflow-x: auto; }
.portal-prose table { border-collapse: collapse; margin-block: 1rem; }
.portal-prose td, .portal-prose th { padding: .45rem .65rem; border: 1px solid var(--portal-rule); }
.portal-prose th { background: var(--portal-pale); }
.portal-prose blockquote { margin: 1rem 0; padding: .6rem 1rem; border-left: 3px solid #7fb0bf; background: var(--portal-pale); }
.article-attachments, .article-related { margin-top: 1.55rem; padding-top: 1.05rem; border-top: 1px solid var(--portal-rule); }
.article-attachments h2 { margin-bottom: .65rem; font-size: 1.21rem; }
.article-attachments ul { list-style: none; margin: 0; padding: 0; }
.article-attachments li { display: flex; justify-content: space-between; gap: .7rem; padding: .5rem 0; overflow-wrap: anywhere; }
.article-attachments li span { color: var(--portal-muted); font-size: .875rem; white-space: nowrap; }
.article-gallery { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,165px),1fr)); gap: .8rem; }
.article-gallery img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 6px; }
.portal-contact-body { max-width: 60rem; margin-top: 0; }
.portal-contact-body > :first-child { margin-top: 0; }
.portal-list-main:has(.portal-contact-body):has(+ .portal-message) { padding-bottom: 1.5rem; }
.portal-message { padding-bottom: clamp(2rem, 5vw, 4rem); scroll-margin-top: 1rem; }
.portal-message-card {
  display: grid;
  gap: 1.1rem;
  max-width: 60rem;
  padding: clamp(1rem, 3vw, 1.75rem);
  border: 1px solid var(--portal-rule);
  border-radius: 8px;
  background: var(--portal-pale);
}
.portal-message-card h2 { font-size: 1.45rem; }
.portal-message-card header p { margin-top: .35rem; color: var(--portal-muted); }
.portal-message-fields { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%, 15rem),1fr)); gap: 1.1rem; }
.portal-message-field { display: block; font-weight: 650; }
.portal-message-field span { color: var(--portal-muted); font-size: .875rem; font-weight: 400; }
.portal-message-field input, .portal-message-field textarea {
  display: block;
  width: 100%;
  margin-top: .38rem;
  padding: .6rem .75rem;
  color: var(--portal-ink);
  border: 1px solid #bfceda;
  border-radius: 5px;
  background: var(--portal-white);
  font: inherit;
  font-weight: 400;
}
.portal-message-field textarea { resize: vertical; }
.portal-message-actions button { cursor: pointer; }
.portal-message-feedback { padding: .7rem .9rem; border-radius: 5px; font-weight: 600; }
.portal-message-feedback.is-success { background: #e4f3eb; color: #185637; }
.portal-message-feedback.is-error { background: #f9e9e8; color: #8e2b24; }
.portal-not-found { padding-block: 3rem; }
.not-found-code { color: var(--portal-blue); font-size: 1.2rem; font-weight: 700; }
.portal-not-found p { margin: .7rem 0; }
.portal-not-found .portal-button { margin-top: .5rem; }
.portal-footer { background: var(--portal-dark); color: #e0edf4; }
.portal-footer a { color: #e8f4f9; text-decoration: none; }
.portal-footer a:hover { color: #fff; text-decoration: underline; }
.footer-friends { padding: 1.35rem 0; border-bottom: 1px solid #355166; }
.footer-friends h2 { margin-bottom: .65rem; font-size: 1rem; }
.footer-friends ul { display: flex; flex-wrap: wrap; gap: .55rem .75rem; list-style: none; margin: 0; padding: 0; }
.footer-friends a { display: flex; align-items: center; gap: .5rem; min-height: 39px; border: 1px solid #3c5c73; border-radius: 5px; padding: .3rem .65rem; }
.footer-friends img { width: 32px; height: 24px; object-fit: contain; background: #fff; border-radius: 3px; }
.footer-main { padding-block: 1.55rem 1.2rem; display: flex; justify-content: space-between; align-items: flex-start; gap: 1.25rem; }
.footer-brand { font-size: 1.12rem; font-weight: 730; }
.footer-identity p { margin-top: .35rem; }
.footer-identity > a:last-child { display: block; }
.footer-nav { display: flex; flex-wrap: wrap; gap: .55rem 1.15rem; font-size: .9375rem; }
.footer-copyright { display: flex; gap: .55rem 1rem; flex-wrap: wrap; padding-block: .8rem 1rem; border-top: 1px solid #355166; color: #c2d5e1; font-size: .875rem; }

@media (max-width: 850px) {
  .qualification-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .service-grid, .project-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 720px) {
  .portal-brand-row { min-height: 61px; }
  .portal-logo, .portal-mark { width: 38px; height: 38px; }
  .header-phone { display: none; }
  .portal-menu-toggle { display: block; }
  .site-js .portal-navigation:not(.is-open) { display: none; }
  .portal-nav-inner { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0; }
  .portal-nav-inner a { min-height: 43px; padding: .4rem .35rem; }
  .portal-hero::after { background: linear-gradient(90deg, rgb(11 32 52 / 96%), rgb(13 45 66 / 50%)); }
  .hero-image { object-position: 66% center; }
  .portal-headline { gap: .65rem; padding: .7rem .75rem; margin-top: 1rem; align-items: flex-start; }
  .portal-headline time { display: none; }
  .headline-text p { white-space: normal; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
  .home-news-grid { grid-template-columns: minmax(0,1fr); }
  .featured-news, .feature-stage, .feature-stage a, .feature-placeholder { min-height: 228px; }
  .news-panel { min-height: 160px; }
  .portal-news-item { grid-template-columns: 5.7rem 1fr; }
  .footer-main { flex-direction: column; }
}
@media (max-width: 390px) {
  .service-grid, .project-grid { grid-template-columns: minmax(0,1fr); }
}

