:root {
  --blue-900: #0a4e86;
  --blue-800: #0c5d9d;
  --blue-700: #1676bc;
  --blue-100: #eaf4fb;
  --blue-050: #f6fbff;
  --ink-900: #17324a;
  --ink-700: #4f6477;
  --line: #d8e3ee;
  --white: #ffffff;
  --shadow: 0 18px 40px rgba(11, 60, 102, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink-900);
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, sans-serif;
  background: var(--blue-050);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.container {
  width: min(1200px, calc(100% - 36px));
  margin: 0 auto;
}

.topbar {
  background: var(--blue-900);
  color: rgba(255,255,255,0.95);
  font-size: 13px;
}

.topbar-inner,
.topbar-left,
.topbar-right {
  display: flex;
  align-items: center;
  gap: 18px;
}

.topbar-inner {
  min-height: 42px;
  justify-content: space-between;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.98);
  box-shadow: 0 8px 24px rgba(10, 78, 134, 0.08);
}

.masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.brand-mark {
  width: 62px;
  height: 62px;
  flex: 0 0 auto;
}

.brand-text strong {
  display: block;
  font-size: 28px;
  line-height: 1.2;
  letter-spacing: 1px;
  color: var(--blue-900);
}

.brand-text small {
  display: block;
  margin-top: 6px;
  color: var(--blue-700);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.6px;
}

.header-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 5px;
  color: var(--ink-700);
  font-size: 14px;
  white-space: nowrap;
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  padding: 9px;
  border: 0;
  background: transparent;
}

.menu-button span {
  display: block;
  height: 2px;
  margin: 5px 0;
  border-radius: 999px;
  background: var(--blue-900);
}

.nav-shell {
  background: linear-gradient(180deg, #1675bb 0%, #0d5f9f 100%);
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.site-nav a {
  padding: 15px 26px;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  border-right: 1px solid rgba(255,255,255,0.12);
}

.site-nav a:first-child {
  border-left: 1px solid rgba(255,255,255,0.12);
}

.site-nav a:hover {
  background: rgba(255,255,255,0.1);
}

.nav-phone {
  padding: 10px 18px;
  color: var(--blue-900);
  font-size: 15px;
  font-weight: 700;
  border-radius: 4px;
  background: #fff;
}

.hero {
  padding: 20px 0 10px;
  background: linear-gradient(180deg, #dfeef9 0%, #f6fbff 100%);
}

.hero-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid #bed4e7;
  border-radius: 10px;
  background: #d1e5f3;
  box-shadow: var(--shadow);
}

.hero-image {
  width: 100%;
  aspect-ratio: 1672 / 941;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 49, 86, 0.78) 0%, rgba(7, 49, 86, 0.36) 42%, rgba(7, 49, 86, 0.06) 70%);
}

.hero-panel {
  max-width: 470px;
  padding: 42px 38px;
  color: #fff;
}

.hero-kicker,
.section-kicker {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  color: #d7efff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
}

.hero-panel h1 {
  margin: 18px 0 16px;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.25;
}

.hero-panel p {
  margin: 0;
  font-size: 17px;
  color: rgba(255,255,255,0.9);
}

.hero-actions,
.contact-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}

.button.primary {
  color: #fff;
  background: var(--blue-700);
}

.button.ghost {
  color: #fff;
  border-color: rgba(255,255,255,0.45);
  background: rgba(255,255,255,0.06);
}

.button.ghost-blue {
  color: var(--blue-900);
  border-color: #a9c6de;
  background: #fff;
}

.notice-strip {
  padding: 14px 0 0;
}

.notice-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
}

.notice-inner strong {
  flex: 0 0 auto;
  color: var(--blue-900);
  font-size: 16px;
}

.notice-text {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  color: var(--ink-700);
  font-size: 15px;
}

.notice-text span::before {
  content: "•";
  margin-right: 8px;
  color: var(--blue-700);
}

.portal-overview,
.section {
  padding: 34px 0 0;
}

.overview-grid {
  display: grid;
  grid-template-columns: 1.3fr .7fr;
  gap: 22px;
}

.overview-primary,
.overview-side,
.contact-board,
.project-table,
.service-card,
.strength-card {
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 10px 28px rgba(8, 58, 100, 0.06);
}

.overview-primary,
.overview-side,
.contact-board {
  padding: 26px 28px;
}

.panel-heading,
.section-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
}

.panel-heading h2,
.section-title h2 {
  margin: 0;
  color: var(--blue-900);
  font-size: 32px;
  line-height: 1.2;
}

.panel-heading span,
.section-title p {
  color: var(--ink-700);
  font-size: 15px;
}

.section-title {
  margin-bottom: 18px;
}

.intro-card {
  margin-top: 18px;
  padding: 18px 20px;
  background: var(--blue-050);
  border-left: 4px solid var(--blue-700);
}

.intro-card p {
  margin: 0 0 14px;
  font-size: 17px;
  color: var(--ink-900);
}

.intro-card p:last-child {
  margin-bottom: 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 18px;
}

.stats-grid div {
  padding: 18px 14px;
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
}

.stats-grid strong {
  display: block;
  color: var(--blue-900);
  font-size: 24px;
}

.stats-grid span {
  display: block;
  margin-top: 6px;
  color: var(--ink-700);
  font-size: 14px;
}

.bullet-list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.bullet-list li {
  position: relative;
  padding: 0 0 14px 18px;
  color: var(--ink-900);
  font-size: 16px;
}

.bullet-list li::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue-700);
}

.service-grid,
.strength-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.service-card,
.strength-card {
  position: relative;
  padding: 24px 24px 22px;
}

.service-index {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--blue-700);
  font-size: 30px;
  font-weight: 800;
  line-height: 1;
}

.service-card h3,
.strength-card h3 {
  margin: 0 0 10px;
  font-size: 22px;
  color: var(--blue-900);
}

.service-card p,
.strength-card p {
  margin: 0;
  color: var(--ink-700);
  font-size: 16px;
}

.section-slate {
  padding-bottom: 4px;
}

.project-table {
  overflow: hidden;
}

.project-head,
.project-row {
  display: grid;
  grid-template-columns: 1.7fr .85fr 1.2fr;
  gap: 18px;
  padding: 16px 20px;
}

.project-head {
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  background: linear-gradient(180deg, #1675bb 0%, #0d5f9f 100%);
}

.project-row {
  border-top: 1px solid var(--line);
  background: #fff;
  font-size: 15px;
  color: var(--ink-700);
}

.project-row strong {
  color: var(--ink-900);
  font-size: 16px;
}

.section-process {
  padding-bottom: 4px;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.process-step {
  padding: 20px 16px;
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 8px 22px rgba(11, 60, 102, 0.05);
}

.process-step strong {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 12px;
  color: #fff;
  font-size: 22px;
  border-radius: 50%;
  background: var(--blue-700);
}

.process-step span {
  display: block;
  color: var(--blue-900);
  font-size: 18px;
  font-weight: 700;
}

.process-step small {
  display: block;
  margin-top: 8px;
  color: var(--ink-700);
  font-size: 14px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 20px;
  align-items: center;
  margin-top: 18px;
}

.contact-grid p {
  margin: 0;
  color: var(--ink-700);
  font-size: 17px;
}

.contact-meta {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.contact-meta span {
  display: block;
  color: var(--ink-700);
  font-size: 14px;
}

.contact-meta strong {
  display: block;
  margin-top: 4px;
  color: var(--blue-900);
  font-size: 24px;
}

.site-footer {
  margin-top: 36px;
  color: #d8eaff;
  background: linear-gradient(180deg, #0b4a7f 0%, #083964 100%);
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0 18px;
}

.footer-grid strong {
  display: block;
  font-size: 20px;
}

.footer-grid span,
.footer-contact a {
  display: block;
  margin-top: 6px;
  font-size: 15px;
  color: rgba(255,255,255,0.82);
}

.copyright {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0 20px;
  font-size: 13px;
  color: rgba(255,255,255,0.72);
  border-top: 1px solid rgba(255,255,255,0.12);
}

.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  padding: 12px 16px;
  color: #fff;
  font-size: 14px;
  border-radius: 4px;
  background: rgba(10, 78, 134, 0.94);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: .25s ease;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .55s ease, transform .55s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 1080px) {
  .masthead {
    flex-wrap: wrap;
  }

  .brand {
    flex: 1 1 100%;
  }

  .header-contact {
    align-items: flex-start;
  }

  .overview-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .process-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .topbar {
    display: none;
  }

  .site-header {
    position: static;
  }

  .menu-button {
    display: block;
  }

  .header-contact,
  .nav-phone {
    display: none;
  }

  .nav-row {
    position: relative;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    background: #0d5f9f;
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a,
  .site-nav a:first-child {
    border: 0;
    border-top: 1px solid rgba(255,255,255,0.12);
  }

  .hero-panel {
    max-width: 100%;
    padding: 26px 22px;
  }

  .hero-panel h1 {
    font-size: 34px;
  }

  .panel-heading,
  .section-title,
  .footer-grid,
  .copyright {
    flex-direction: column;
    align-items: flex-start;
  }

  .stats-grid,
  .service-grid,
  .strength-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .project-head,
  .project-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

@media (max-width: 520px) {
  .container {
    width: min(100% - 24px, 1200px);
  }

  .masthead {
    padding: 16px 0 14px;
  }

  .brand-mark {
    width: 48px;
    height: 48px;
  }

  .brand-text strong {
    font-size: 21px;
  }

  .brand-text small {
    font-size: 10px;
    letter-spacing: .8px;
  }

  .hero-image {
    min-height: 340px;
  }

  .hero-overlay {
    background: linear-gradient(180deg, rgba(7, 49, 86, 0.82) 0%, rgba(7, 49, 86, 0.5) 55%, rgba(7, 49, 86, 0.2) 100%);
  }

  .hero-panel h1,
  .panel-heading h2,
  .section-title h2 {
    font-size: 28px;
  }

  .contact-meta strong {
    font-size: 20px;
  }
}
