:root {
  --ink: #172033;
  --muted: #647086;
  --line: #dfe5f0;
  --brand: #375dad;
  --brand-2: #5d7fd0;
  --soft: #f4f7fc;
  --paper: #ffffff;
  --gold: #b98b2f;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.62;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.topline {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 8px max(24px, calc((100vw - 1180px) / 2));
  background: #20345f;
  color: #eef3ff;
  font-size: 14px;
}
.nav-wrap {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 18px max(24px, calc((100vw - 1180px) / 2));
  background: rgba(255,255,255,.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}
.brand { display: flex; align-items: center; gap: 12px; min-width: 250px; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  background: var(--brand);
  color: #fff;
  font-weight: 800;
}
.brand-mark.has-logo-image { background: transparent; color: inherit; }
.brand-mark img { width: 100%; height: 100%; object-fit: cover; }
.brand strong { display: block; font-size: 19px; line-height: 1.2; }
.brand em { display: block; color: var(--muted); font-style: normal; font-size: 12px; }
.nav-menu { display: flex; align-items: center; gap: 4px; }
.nav-menu a { padding: 10px 13px; color: #24324f; font-size: 15px; }
.nav-menu a:hover { color: var(--brand); }
.nav-toggle { display: none; border: 0; background: var(--soft); padding: 9px 12px; font-size: 18px; }
.hero {
  position: relative;
  aspect-ratio: 630 / 226;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  background: #f3f6fb;
}
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: contain; background: #f3f6fb; }
.hero-copy { position: relative; max-width: 760px; color: #fff; }
.hero-copy p { margin: 0 0 10px; color: var(--gold); font-weight: 700; text-transform: uppercase; letter-spacing: 0; }
.hero-copy h1 { margin: 0 0 18px; font-size: clamp(38px, 7vw, 76px); line-height: 1.04; letter-spacing: 0; }
.hero-copy div { max-width: 620px; font-size: 19px; color: #edf3ff; }
.hero-actions { display: flex; gap: 12px; margin-top: 28px; }
.hero-actions a, .button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid rgba(255,255,255,.6);
  background: var(--brand);
  color: #fff;
  font-weight: 700;
}
.hero-actions a + a { background: rgba(255,255,255,.12); }
.notice-strip {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 8px max(24px, calc((100vw - 1180px) / 2));
  background: var(--brand);
  color: #fff;
  border-bottom: 0;
}
.notice-strip strong { flex: 0 0 auto; white-space: nowrap; position: relative; z-index: 1; }
.notice-window { flex: 1 1 auto; min-width: 0; overflow: hidden; }
.notice-track { display: inline-flex; min-width: max-content; gap: 36px; white-space: nowrap; animation: ticker 28s linear infinite; }
.notice-track span { flex: 0 0 auto; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.seo-crawl-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  clip-path: inset(50%) !important;
  white-space: normal !important;
  border: 0 !important;
}
.home-quick {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 24px 17px;
}
.quick-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.quick-tile {
  position: relative;
  min-height: 156px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 14px 32px rgba(33, 50, 86, .06);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.quick-tile:hover {
  transform: translateY(-3px);
  border-color: rgba(55, 93, 173, .38);
  box-shadow: 0 18px 44px rgba(33, 50, 86, .12);
}
.quick-tile img {
  width: min(170px, 100%);
  height: auto;
  object-fit: contain;
}
.quick-tile strong { font-size: 20px; color: var(--brand); }
.split-section, .home-about, .content-section, .listing-layout, .contact-grid, .map-panel, .detail-page {
  max-width: 1180px;
  margin: 0 auto;
  padding: 21px 24px;
}
.split-section { display: grid; grid-template-columns: 1.4fr .8fr; gap: 48px; align-items: center; }
.home-about { padding-top: 10px; padding-bottom: 17px; }
h2 { margin: 0 0 14px; font-size: 18px; line-height: 1.25; letter-spacing: 0; }
.prose {
  color: #344158;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.prose * {
  max-width: 100% !important;
  box-sizing: border-box;
}
.prose p,
.prose div,
.prose span,
.prose strong,
.prose b,
.prose em,
.prose li,
.prose h1,
.prose h2,
.prose h3,
.prose h4,
.prose h5,
.prose h6 {
  white-space: normal !important;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.prose img { width: auto; max-width: 100% !important; height: auto; margin: 18px auto; }
.prose iframe, .prose video { display: block; width: 100%; max-width: 100%; min-height: 420px; margin: 18px auto; border: 0; }
.prose table {
  display: block;
  width: 100% !important;
  overflow-x: auto;
  border-collapse: collapse;
}
.text-link { color: var(--brand); font-weight: 800; }
.section-head.center { justify-content: center; text-align: center; }
.home-about-visual { padding-top: 8px; }
.about-static-image {
  display: block;
  overflow: hidden;
  background: var(--brand);
}
.about-static-image img {
  width: 100%;
  height: auto;
}
.about-text-only {
  max-width: 900px;
  margin: 0 auto;
  padding: 22px 28px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--brand);
  background: #fff;
}
.about-text-only p { margin: 0 0 10px; color: #344158; }
.about-text-only em {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-style: normal;
}
.contact-card {
  border-left: 4px solid var(--brand);
  padding: 24px;
  background: var(--soft);
}
.contact-card a { display: block; margin-top: 14px; font-size: 28px; font-weight: 900; color: var(--brand); }
.content-section.soft { max-width: none; background: var(--soft); }
.content-section.soft > * { max-width: 1180px; margin-left: auto; margin-right: auto; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 16px; }
.section-head h2 { margin-bottom: 0; }
.section-head a { color: var(--brand); font-weight: 800; }
.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.article-card, .list-item, .case-card {
  background: #fff;
  border: 1px solid var(--line);
  overflow: hidden;
}
.article-card { display: flex; flex-direction: column; min-height: 100%; }
.card-media { display: block; background: var(--soft); }
.card-media img, .media-placeholder, .list-item img, .case-card img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; object-position: center; background: var(--soft); }
.media-placeholder {
  display: grid;
  place-items: center;
  color: var(--brand);
  font-size: 32px;
  font-weight: 900;
  background: linear-gradient(135deg, #edf3ff, #f8fafc);
}
.article-card .article-copy { flex: 1; padding: 12px 14px 14px; }
time, .case-card span, .list-item p, .article-card p { color: var(--muted); font-size: 14px; }
.article-card h3, .list-item h2 { margin: 0; line-height: 1.35; }
.article-card h3, .list-item h2, .case-card strong {
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
}
.list-item h2 { font-size: 14px; }
.article-card h3 {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.article-card p, .list-item p {
  margin: 0;
}
.list-item p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}
.article-card p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}
.case-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.case-grid.wide { grid-template-columns: repeat(3, 1fr); }
.case-card { display: flex; flex-direction: column; min-height: 100%; }
.case-card strong, .case-card span { display: block; padding: 0 12px 10px; }
.case-card span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.case-card strong {
  padding-top: 12px;
  line-height: 1.4;
  text-align: center;
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.knowledge-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); }
.knowledge-list a { display: flex; justify-content: space-between; gap: 20px; padding: 16px; background: #fff; }
.listing-layout, .contact-grid, .detail-page { padding-top: 30px; }
.listing-layout { display: grid; grid-template-columns: 210px 1fr; gap: 34px; align-items: start; }
.listing-layout.content-only { grid-template-columns: 1fr; }
.listing-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.listing-head h1 {
  margin: 0;
  font-size: 18px;
  line-height: 1.3;
}
.list-search {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 1 360px;
}
.list-search input[type="search"] {
  width: 100%;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  font: inherit;
  outline: none;
  background: #fff;
}
.list-search input[type="search"]:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(55, 93, 173, .12);
}
.list-search button {
  flex: 0 0 auto;
  min-height: 42px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}
.list-stack { display: grid; gap: 12px; }
.list-item { display: grid; grid-template-columns: 260px 1fr; gap: 14px; padding: 10px; align-items: center; }
.list-item img { aspect-ratio: 2 / 1; }
.list-empty {
  grid-column: 1 / -1;
  margin: 0;
  padding: 28px;
  color: var(--muted);
  text-align: center;
  border: 1px solid var(--line);
  background: #fff;
}
.lazy-status {
  min-height: 28px;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}
.pager { grid-column: 1 / -1; display: flex; gap: 8px; margin-top: 20px; }
.pager a { min-width: 38px; padding: 7px 12px; text-align: center; border: 1px solid var(--line); }
.pager a.active { background: var(--brand); color: #fff; border-color: var(--brand); }
.breadcrumb { display: flex; gap: 8px; color: var(--muted); margin-bottom: 18px; }
.detail-head { max-width: 860px; margin: 0 auto 28px; text-align: center; }
.detail-head p { margin: 0 0 8px; color: var(--brand); font-weight: 800; }
.detail-head h1 { margin: 0 0 14px; font-size: clamp(30px, 5vw, 46px); line-height: 1.18; letter-spacing: 0; }
.detail-head div { display: flex; justify-content: center; gap: 18px; color: var(--muted); }
.detail-content {
  max-width: 900px;
  margin: 0 auto;
  font-size: 17px;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.detail-cover { width: min(900px, 100%); margin: 0 auto 26px; max-height: 560px; object-fit: cover; }
.video-embed { width: min(900px, 100%); margin: 0 auto 28px; }
.video-embed iframe, .video-embed video { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; background: #000; }
.contact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.contact-item {
  min-height: 130px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px;
  border: 1px solid var(--line);
}
.contact-item img { width: 48px; height: 48px; object-fit: contain; flex: 0 0 auto; }
.contact-copy, .contact-copy strong, .contact-copy em { display: block; }
.contact-copy strong { margin-bottom: 6px; font-size: 17px; }
.contact-copy em { font-style: normal; font-size: 14px; }
.map-panel { padding-top: 10px; }
.footer-map-section {
  padding: 18px max(18px, calc((100vw - 1180px) / 2)) 0;
  background: #fff;
}
.footer-map-box {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #eef3ff;
}
.footer-map-canvas {
  display: block;
  width: 100%;
  height: 380px;
  min-height: 380px;
}
.footer-map-embed {
  height: 380px;
  overflow: hidden;
  background: #eef3ff;
}
.footer-map-embed iframe {
  display: block;
  width: 100%;
  height: 760px;
  border: 0;
  transform: translateY(-330px);
  transform-origin: 0 0;
}
.footer-map-pin {
  position: absolute;
  left: 50%;
  top: 48%;
  z-index: 2;
  width: 20px;
  height: 20px;
  background: #ef3636;
  border: 2px solid #fff;
  border-radius: 50% 50% 50% 0;
  box-shadow: 0 8px 18px rgba(23,32,51,.22);
  transform: translate(-50%, -50%) rotate(-45deg);
}
.footer-map-pin::after {
  position: absolute;
  inset: 5px;
  content: "";
  background: #fff;
  border-radius: 50%;
}
.footer-map-info {
  position: absolute;
  left: 50%;
  bottom: 22px;
  z-index: 3;
  width: min(640px, calc(100% - 40px));
  padding: 16px 22px;
  transform: translateX(-50%);
  text-align: center;
  color: var(--ink);
  background: rgba(255,255,255,.94);
  border: 1px solid rgba(23,32,51,.12);
  border-radius: 8px;
  box-shadow: 0 18px 40px rgba(23,32,51,.18);
}
.footer-map-info strong {
  display: block;
  margin-bottom: 8px;
  font-size: 18px;
  line-height: 1.35;
}
.footer-map-info p {
  margin: 3px 0;
  color: #26334a;
  font-size: 16px;
  line-height: 1.55;
}
.footer-map-info a {
  color: var(--brand);
  font-weight: 800;
}
.footer-map-box.map-ready .footer-map-info {
  display: none;
}
.site-footer {
  background: var(--brand);
  color: #eef3ff;
  padding: 24px max(18px, calc((100vw - 1180px) / 2));
  text-align: center;
}
.footer-info { max-width: 760px; margin: 0 auto; }
.footer-info strong {
  display: block;
  margin-bottom: 4px;
  font-size: 18px;
}
.footer-info p {
  margin: 2px 0;
  line-height: 1.55;
  font-size: 15px;
}
.footer-info a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.security-line {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.security-line img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}
.footer-badge {
  width: 86px;
  height: auto;
  margin: 8px auto 0;
}
.float-bar {
  position: fixed;
  right: 16px;
  bottom: 24px;
  display: grid;
  gap: 8px;
  z-index: 30;
}
.float-bar a, .float-bar div {
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 180px;
  padding: 9px 11px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 12px 30px rgba(0,0,0,.12);
}
.float-bar span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  background: var(--brand);
  color: #fff;
  font-weight: 800;
}
.float-bar em { font-size: 13px; font-style: normal; color: var(--ink); }
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav-menu {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 81px;
    padding: 12px 24px 20px;
    background: #fff;
    border-bottom: 1px solid var(--line);
  }
  .nav-open .nav-menu { display: grid; }
  .hero { aspect-ratio: 630 / 226; }
  .article-grid, .case-grid, .case-grid.wide, .knowledge-list, .contact-grid, .footer-grid { grid-template-columns: 1fr 1fr; }
  .quick-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
  .quick-tile { min-height: 132px; padding: 12px; }
  .quick-tile img { width: min(118px, 100%); }
  .split-section, .listing-layout { grid-template-columns: 1fr; }
  .list-item { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .topline { display: none; }
  .nav-wrap { padding: 14px 16px; }
  .brand em { display: none; }
  .home-quick, .split-section, .home-about, .content-section, .listing-layout, .contact-grid, .map-panel, .detail-page { padding-left: 16px; padding-right: 16px; }
  .home-quick { padding-top: 11px; padding-bottom: 12px; }
  .home-about, .content-section { padding-top: 12px; padding-bottom: 14px; }
  .article-grid, .case-grid.wide, .knowledge-list, .contact-grid, .footer-grid { grid-template-columns: 1fr; }
  .article-grid, .case-grid { gap: 12px; }
  .case-grid { grid-template-columns: 1fr 1fr; }
  .listing-head {
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
  }
  .list-search {
    flex-basis: auto;
    width: 100%;
  }
  .quick-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
  .quick-tile {
    min-height: 0;
    padding: 4px;
    border: 0;
    box-shadow: none;
    background: transparent;
  }
  .quick-tile:hover {
    transform: none;
    box-shadow: none;
  }
  .quick-tile img { width: 100%; max-width: 86px; }
  .hero { aspect-ratio: 630 / 226; }
  .about-text-only { padding: 16px; }
  h2 { font-size: 18px; }
  .list-item h2 { font-size: 14px; }
  .footer-map-section { padding: 10px 12px 0; }
  .footer-map-canvas { height: 330px; min-height: 330px; }
  .footer-map-embed { height: 330px; }
  .footer-map-embed iframe {
    width: 760px;
    height: 430px;
    transform: translateY(-70px);
  }
  .footer-map-info {
    bottom: 12px;
    width: calc(100% - 24px);
    padding: 12px 14px;
  }
  .footer-map-info strong { font-size: 16px; }
  .footer-map-info p { font-size: 14px; }
  .float-bar { display: none; }
  .prose iframe, .prose video { min-height: 240px; }
}
