:root {
  --ink: #17212f;
  --muted: #5a6675;
  --line: #dbe3ec;
  --bg: #f5f7fa;
  --panel: #ffffff;
  --blue: #1758a8;
  --blue-dark: #123f78;
  --teal: #16756f;
  --orange: #b86121;
  --shadow: 0 14px 34px rgba(23, 33, 47, 0.10);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  line-height: 1.65;
  overflow-x: hidden;
}

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

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

.mobile-title {
  display: none;
}

.topbar {
  background: #0f243d;
  color: #e8eef6;
  font-size: 14px;
}

.topbar-inner,
.nav-inner,
.section-inner,
.footer-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0;
}

.topbar a,
.topbar span {
  overflow-wrap: anywhere;
}

.topbar-contacts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 2px 14px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
}

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

.brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.brand strong {
  display: block;
  font-size: 18px;
  line-height: 1.25;
}

.brand span {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  padding: 10px 12px;
  border-radius: 6px;
  color: #243247;
  font-size: 15px;
}

.nav-links a:hover,
.nav-links a.active {
  background: #eef4fb;
  color: var(--blue);
}

.nav-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 10px 16px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: var(--blue);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

.btn.secondary {
  background: #fff;
  color: var(--blue);
  border-color: #b9cce4;
}

.btn.dark {
  background: #0f243d;
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  border-radius: 6px;
  width: 42px;
  height: 42px;
  font-size: 22px;
  line-height: 1;
  flex: 0 0 42px;
}

.hero {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(10, 25, 44, 0.88), rgba(10, 25, 44, 0.58), rgba(10, 25, 44, 0.22)),
    url("assets/hero-datacenter.jpg") center / cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 86px;
  background: linear-gradient(180deg, rgba(245, 247, 250, 0), var(--bg));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 84px 0 116px;
}

.eyebrow {
  color: #91d9d3;
  font-weight: 700;
  margin: 0 0 12px;
}

h1,
h2,
h3 {
  line-height: 1.25;
  margin: 0;
}

h1 {
  max-width: 820px;
  font-size: 52px;
  overflow-wrap: anywhere;
}

.hero p {
  max-width: 760px;
  margin: 20px 0 0;
  font-size: 19px;
  color: #e8eef6;
}

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

.quick-facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  width: min(1180px, calc(100% - 32px));
  margin: -64px auto 0;
  position: relative;
  z-index: 3;
}

.fact {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  box-shadow: var(--shadow);
}

.fact strong {
  display: block;
  font-size: 24px;
  color: var(--blue-dark);
}

.fact span {
  color: var(--muted);
  font-size: 14px;
}

.section {
  padding: 78px 0;
}

.section.white {
  background: #fff;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 30px;
}

.section-head p {
  max-width: 660px;
  margin: 10px 0 0;
  color: var(--muted);
}

.section h2 {
  font-size: 34px;
}

.grid {
  display: grid;
  gap: 18px;
}

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

.grid.cols-2 {
  grid-template-columns: repeat(2, 1fr);
}

.item {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
}

.item h3 {
  font-size: 21px;
  margin-bottom: 10px;
}

.item h2 a,
.item h3 a {
  color: inherit;
}

.item h2 a:hover,
.item h3 a:hover {
  color: var(--blue);
}

.item p {
  color: var(--muted);
  margin: 0;
}

.item ul,
.plain-list {
  margin: 14px 0 0;
  padding-left: 18px;
  color: var(--muted);
}

.band {
  background: #102947;
  color: #fff;
}

.band .item {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.18);
}

.band .item p,
.band .item ul,
.band .section-head p {
  color: #d9e5f0;
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
  align-items: center;
}

.split-media {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.process {
  counter-reset: step;
}

.process .item {
  position: relative;
  padding-left: 72px;
}

.process .item::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 22px;
  top: 24px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #e8f3f2;
  color: var(--teal);
  font-weight: 800;
}

.case-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0;
}

.case-summary {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.case-summary > div {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
  box-shadow: var(--shadow);
}

.case-summary strong {
  display: block;
  color: var(--blue-dark);
  font-size: 28px;
  line-height: 1.1;
}

.case-summary span {
  color: var(--muted);
  font-size: 14px;
}

.case-list {
  display: grid;
  gap: 22px;
}

.case-card {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.case-card > img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

.case-card.sensitive {
  grid-template-columns: 1fr;
  border-left: 4px solid var(--orange);
}

.case-body {
  padding: 26px;
}

.case-body h2 {
  font-size: 26px;
  margin-top: 10px;
}

.case-body p {
  color: var(--muted);
}

.case-kicker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #eef4fb;
  color: var(--blue-dark);
  font-size: 13px;
}

.status {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #fff7ef;
  color: #8a4b18;
  font-size: 13px;
  font-weight: 700;
}

.status.public {
  background: #edf8f4;
  color: #166650;
}

.status.risk {
  background: #fff0f0;
  color: #9a2f2f;
}

.case-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 18px 0;
}

.case-detail-grid > div {
  background: #f6f9fc;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
}

.case-detail-grid h3 {
  font-size: 17px;
  margin-bottom: 8px;
}

.case-detail-grid ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.case-value {
  border-left: 4px solid var(--teal);
  background: #f0f8f7;
  border-radius: 6px;
  padding: 12px 14px;
  margin: 0;
}

.qualification-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.qualification-table {
  width: 100%;
  min-width: 860px;
  border-collapse: collapse;
}

.qualification-table th,
.qualification-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.qualification-table th {
  background: #eef4fb;
  color: var(--blue-dark);
  font-weight: 800;
}

.qualification-table td {
  color: var(--muted);
}

.qualification-table td:first-child {
  color: var(--ink);
  font-weight: 700;
}

.qualification-table tr:last-child td {
  border-bottom: 0;
}

.notice {
  border-left: 4px solid var(--orange);
  background: #fff7ef;
  padding: 16px 18px;
  border-radius: 6px;
  color: #603b1f;
}

.contact-strip {
  background: #123f78;
  color: #fff;
  padding: 34px 0;
}

.contact-strip .section-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.contact-strip p {
  margin: 6px 0 0;
  color: #dbe8f6;
}

.form {
  display: grid;
  gap: 12px;
}

.form label {
  display: grid;
  gap: 6px;
  color: #243247;
  font-weight: 700;
}

.form input,
.form textarea,
.form select {
  width: 100%;
  border: 1px solid #bfccd9;
  border-radius: 6px;
  min-height: 44px;
  padding: 10px 12px;
  font: inherit;
  background: #fff;
}

.form textarea {
  min-height: 128px;
  resize: vertical;
}

.site-footer {
  background: #0b1828;
  color: #d9e5f0;
  padding: 48px 0 18px;
}

.footer-inner {
  display: grid;
  gap: 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 28px;
}

.site-footer h3 {
  font-size: 18px;
  margin-bottom: 12px;
}

.site-footer p,
.site-footer li {
  color: #b9c8d8;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 18px;
  color: #9fb0c2;
  font-size: 14px;
}

.page-hero {
  background: #102947;
  color: #fff;
  padding: 74px 0;
}

.page-hero p {
  max-width: 760px;
  color: #d9e5f0;
}

@media (max-width: 900px) {
  .topbar-inner {
    flex-direction: column;
    gap: 4px;
  }

  .menu-toggle {
    display: none;
  }

  .nav-links {
    position: static;
    order: 3;
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 100%;
    overflow-x: auto;
    background: #fff;
    border: 0;
    border-top: 1px solid var(--line);
    border-radius: 0;
    padding: 8px 0;
    box-shadow: none;
    scrollbar-width: none;
  }

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

  .nav-links::-webkit-scrollbar {
    display: none;
  }

  .nav-links a {
    flex: 0 0 auto;
    padding: 8px 10px;
  }

  .nav-inner {
    flex-wrap: wrap;
    min-height: 86px;
  }

  .nav-cta {
    display: none;
  }

  h1 {
    font-size: 36px;
  }

  .hero {
    min-height: 520px;
  }

  .hero p {
    font-size: 17px;
  }

  .quick-facts,
  .case-summary,
  .grid.cols-3,
  .grid.cols-2,
  .case-card,
  .case-detail-grid,
  .split,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .case-card > img {
    min-height: 220px;
    max-height: 300px;
  }

  .section-head,
  .contact-strip .section-inner {
    align-items: start;
    flex-direction: column;
  }

  .section-head > div,
  .case-card,
  .case-body,
  .case-detail-grid,
  .case-detail-grid > div,
  .case-value,
  .item {
    min-width: 0;
    max-width: 100%;
  }
}

@media (max-width: 520px) {
  *,
  *::before,
  *::after {
    min-width: 0;
  }

  html,
  body {
    width: 100%;
    max-width: 100vw;
  }

  main,
  .topbar,
  .site-header,
  .hero,
  .page-hero,
  .section {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
  }

  .topbar-inner,
  .nav-inner,
  .section-inner,
  .footer-inner,
  .hero-content,
  .quick-facts {
    width: calc(100vw - 28px);
    max-width: calc(100vw - 28px);
    padding-left: 14px;
    padding-right: 14px;
  }

  .topbar {
    font-size: 12px;
  }

  .topbar-inner {
    align-items: flex-start;
    gap: 0;
    padding: 7px 0;
    line-height: 1.55;
  }

  .topbar-inner > span:first-child {
    display: none;
  }

  .topbar-inner > .topbar-contacts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    gap: 3px 10px;
    text-align: left;
    font-size: 11px;
  }

  .topbar-contacts > a {
    font-size: 11px;
  }

  .topbar-contacts .office-hours {
    grid-column: 1 / -1;
    text-align: center;
    font-size: 11px;
  }

  .topbar-contacts .topbar-email {
    display: none;
  }

  .site-header {
    position: static;
  }

  .nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-height: 0;
    padding-top: 12px;
    padding-bottom: 10px;
    position: relative;
  }

  .brand {
    justify-content: flex-start;
    min-width: 0;
    gap: 8px;
  }

  .brand img {
    display: none;
  }

  .brand strong {
    font-size: 16px;
  }

  .brand > span > span {
    display: none;
  }

  .menu-toggle {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    position: absolute;
    left: 96px;
    top: 10px;
    width: 54px;
    height: 38px;
    margin-left: auto;
    border: 1px solid var(--blue);
    border-radius: 6px;
    background: var(--blue);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    z-index: 40;
  }

  .nav-links {
    display: none;
    position: absolute;
    left: 14px;
    right: 14px;
    top: calc(100% - 2px);
    z-index: 30;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    width: auto;
    max-width: 100%;
    overflow: visible;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 10px;
    box-shadow: var(--shadow);
  }

  .nav-links.open {
    display: grid;
  }

  .nav-links a {
    min-width: 0;
    padding: 8px 6px;
    text-align: center;
    font-size: 13px;
    white-space: nowrap;
  }

  .hero {
    min-height: 430px;
    align-items: flex-start;
    background:
      linear-gradient(180deg, rgba(10, 25, 44, 0.74), rgba(10, 25, 44, 0.58)),
      url("assets/hero-datacenter.jpg") center / cover no-repeat;
  }

  .hero-content {
    padding-top: 38px;
    padding-bottom: 72px;
  }

  h1 {
    max-width: 100%;
    font-size: 27px;
    line-height: 1.22;
    word-break: break-all;
  }

  .desktop-title {
    display: none;
  }

  .mobile-title {
    display: inline;
  }

  .hero p {
    max-width: 100%;
    margin-top: 14px;
    font-size: 14px;
    line-height: 1.7;
    overflow-wrap: anywhere;
    word-break: break-all;
  }

  .eyebrow {
    font-size: 13px;
    margin-bottom: 8px;
  }

  .hero-actions,
  .section-actions {
    gap: 10px;
    margin-top: 20px;
  }

  .btn {
    min-height: 40px;
    padding: 9px 12px;
    font-size: 14px;
  }

  .section h2 {
    font-size: 20px;
    overflow-wrap: anywhere;
    word-break: break-all;
  }

  p,
  li,
  h1,
  h2,
  h3,
  .case-body h2,
  .case-body p,
  .case-value,
  .section-head p {
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-all;
  }

  .section {
    padding: 48px 0;
  }

  .quick-facts {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: -42px;
    box-sizing: border-box;
  }

  .fact {
    padding: 14px;
  }

  .fact strong {
    font-size: 22px;
  }

  .fact span {
    font-size: 12px;
  }

  .item {
    padding: 18px;
  }

  .case-body {
    padding: 18px;
  }

  .case-body h2 {
    font-size: 20px;
    overflow-wrap: anywhere;
    word-break: break-all;
  }

  .process .item {
    padding-left: 60px;
  }

  .process .item::before {
    left: 18px;
    top: 20px;
  }
}
