:root {
  --blue-900: #06184a;
  --blue-800: #082b76;
  --blue-700: #073fae;
  --blue-600: #064ed0;
  --blue-100: #eaf2ff;
  --blue-050: #f5f9ff;
  --line: #d9e4f5;
  --text: #10224a;
  --muted: #5b6a85;
  --white: #ffffff;
  --shadow: 0 10px 28px rgba(9, 42, 104, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  background: #fff;
  letter-spacing: 0;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  height: 94px;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid #edf2f9;
  box-shadow: 0 3px 18px rgba(9, 38, 87, 0.08);
}

.header-inner {
  max-width: 1480px;
  height: 100%;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.brand {
  width: 305px;
  flex: 0 0 305px;
}

.brand img {
  width: 300px;
  height: auto;
}

.nav {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(24px, 3vw, 54px);
  font-size: 16px;
  color: #06153a;
  white-space: nowrap;
}

.nav a {
  position: relative;
  padding: 36px 0 31px;
  transition: color 180ms ease, transform 180ms ease;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--blue-600);
}

.nav a:active {
  transform: translateY(1px);
}

.nav a.active {
  color: var(--blue-600);
  font-weight: 700;
}

.nav a.active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 20px;
  width: 36px;
  height: 3px;
  border-radius: 999px;
  background: var(--blue-600);
  transform: translateX(-50%);
}

.header-phone {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 195px;
  color: var(--blue-700);
}

.phone-icon {
  width: 32px;
  height: 32px;
  border: 3px solid currentColor;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 19px;
  line-height: 1;
}

.phone-number {
  font-size: 20px;
  font-weight: 800;
  line-height: 1.1;
}

.phone-note {
  margin-top: 3px;
  color: #778196;
  font-size: 13px;
}

.page {
  max-width: 1460px;
  margin: 0 auto;
  padding: 34px 24px 28px;
}

.section-title {
  margin: 0 0 22px;
  color: var(--blue-700);
  font-size: 26px;
  font-weight: 800;
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 4px 14px rgba(17, 68, 145, 0.03);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 30px;
  border: 0;
  border-radius: 5px;
  background: linear-gradient(180deg, #0755d8, #033eb8);
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(3, 62, 184, 0.18);
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.button:hover,
.button:focus-visible {
  filter: brightness(1.06);
  box-shadow: 0 11px 24px rgba(3, 62, 184, 0.25);
}

.button:active {
  transform: translateY(1px);
  box-shadow: 0 5px 12px rgba(3, 62, 184, 0.2);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(7, 85, 216, 0.34);
  outline-offset: 3px;
}

.site-footer {
  margin-top: 0;
  background: linear-gradient(90deg, #061844, #073d9d);
  color: #fff;
  font-size: 14px;
}

.footer-inner {
  max-width: 1460px;
  min-height: 70px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 20px;
}

/* Contact */
.contact-hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, #f9fbff 0%, #edf5ff 48%, rgba(237, 245, 255, 0.2) 100%),
    #eef6ff;
  min-height: 246px;
}

.contact-hero .hero-lab {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: 45%;
  object-fit: cover;
}

.contact-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1460px;
  margin: 0 auto;
  padding: 43px 28px 28px;
}

.contact-hero h1 {
  margin: 0 0 16px;
  color: var(--blue-900);
  font-size: 46px;
  line-height: 1.12;
}

.contact-hero p {
  margin: 0;
  color: #26375f;
  font-size: 18px;
}

.hero-features {
  margin-top: 38px;
  display: flex;
  gap: clamp(32px, 5vw, 72px);
  flex-wrap: wrap;
}

.hero-feature {
  display: flex;
  align-items: center;
  gap: 12px;
}

.feature-icon,
.line-icon {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border: 3px solid var(--blue-600);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--blue-600);
  font-size: 22px;
  font-weight: 800;
}

.feature-icon.square {
  border-radius: 8px;
}

.hero-feature strong {
  display: block;
  margin-bottom: 4px;
  color: #10224a;
  font-size: 16px;
}

.hero-feature span {
  color: #4c5a74;
  font-size: 14px;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(420px, 1.1fr) minmax(360px, 0.95fr);
  gap: 24px;
  align-items: start;
}

.panel {
  padding: 18px;
}

.panel-title {
  position: relative;
  margin: 0 0 18px;
  padding-left: 16px;
  color: #102b67;
  font-size: 22px;
  font-weight: 800;
}

.panel-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 5px;
  height: 22px;
  border-radius: 2px;
  background: var(--blue-600);
}

.contact-list {
  border-top: 1px solid #e8eef8;
}

.contact-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid #e8eef8;
}

.contact-item .line-icon {
  width: 35px;
  height: 35px;
  background: var(--blue-600);
  color: #fff;
  border: 0;
  font-size: 18px;
}

.contact-item strong {
  display: block;
  margin-bottom: 4px;
  color: #15295a;
}

.contact-item p {
  margin: 0;
  color: #334360;
  line-height: 1.45;
}

.consult-card {
  margin-top: 14px;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  gap: 24px;
  background: linear-gradient(135deg, #f7fbff, #eef4ff);
}

.consult-card .line-icon {
  width: 56px;
  height: 56px;
}

.consult-card h3 {
  margin: 0 0 8px;
  color: var(--blue-700);
}

.consult-card p {
  margin: 0 0 10px;
  color: #334360;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 20px;
}

.form-field.full {
  grid-column: 1 / -1;
}

label {
  display: block;
  margin-bottom: 8px;
  color: #24365f;
  font-weight: 600;
}

.required {
  color: #d72f44;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #d6e0ef;
  border-radius: 5px;
  background: #fff;
  color: #1c2d4d;
  font: inherit;
  outline: none;
}

input,
select {
  height: 42px;
  padding: 0 14px;
}

textarea {
  min-height: 106px;
  padding: 12px 14px;
  resize: vertical;
}

::placeholder {
  color: #a3b0c5;
}

.counter {
  margin-top: -25px;
  padding-right: 10px;
  color: #8b97aa;
  font-size: 13px;
  text-align: right;
  pointer-events: none;
}

.form-submit {
  width: 100%;
  margin-top: 18px;
}

.map-panel {
  padding: 16px;
}

.map-call {
  margin: 0 0 14px;
  color: #334360;
  text-align: right;
}

.map-call strong {
  color: var(--blue-700);
}

.map-image {
  overflow: hidden;
  border: 1px solid #dce7f5;
  border-radius: 8px;
}

.map-image img {
  width: 100%;
  height: 309px;
  object-fit: cover;
}

.map-address {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 16px 0 12px;
  color: #21335a;
  font-weight: 600;
}

.route-button {
  width: 100%;
  height: 42px;
  border: 1px solid #d7e2f1;
  border-radius: 5px;
  background: #fff;
  color: var(--blue-700);
  font-weight: 800;
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.route-button:hover,
.route-button:focus-visible {
  border-color: #95baf0;
  background: #f2f7ff;
  box-shadow: 0 8px 18px rgba(15, 75, 162, 0.1);
}

.route-button:active {
  transform: translateY(1px);
}

.why-strip {
  margin-top: 20px;
  padding: 22px 28px;
  display: grid;
  grid-template-columns: 260px repeat(5, 1fr);
  gap: 18px;
  align-items: center;
  background: linear-gradient(90deg, #f4f8ff, #eef5ff);
}

.why-title {
  color: var(--blue-700);
  font-size: 26px;
  font-weight: 900;
}

.why-item {
  min-height: 64px;
  padding-left: 22px;
  display: flex;
  align-items: center;
  gap: 14px;
  border-left: 1px solid #d5e1f2;
}

.why-item .line-icon {
  width: 44px;
  height: 44px;
}

.why-item strong {
  display: block;
  color: var(--blue-700);
}

.why-item span {
  color: #4f5f7b;
  font-size: 14px;
  line-height: 1.5;
}

/* Service detail pages */
.service-page {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 38px;
  padding-top: 28px;
}

.side-menu {
  position: sticky;
  top: 116px;
  align-self: start;
  overflow: hidden;
  border: 1px solid #dbe5f3;
  border-radius: 4px;
  background: #fff;
}

.side-menu-title {
  padding: 17px 18px;
  background: linear-gradient(180deg, #0859d8, #03399f);
  color: #fff;
  font-size: 18px;
  font-weight: 800;
}

.side-menu a {
  height: 52px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #e5edf8;
  color: #1c2b4f;
  font-size: 14px;
}

.side-menu a.active {
  background: #edf4ff;
  color: var(--blue-700);
  font-weight: 800;
}

.sub-links {
  padding: 7px 0;
  border-bottom: 1px solid #e5edf8;
}

.sub-links a {
  height: 38px;
  padding-left: 30px;
  border-bottom: 0;
  color: #334360;
  font-size: 13px;
}

.content-title {
  margin: 6px 0 8px;
  color: #071a4f;
  font-size: 31px;
  line-height: 1.25;
}

.content-lead {
  margin: 0 0 18px;
  color: #26375f;
  font-size: 15px;
  line-height: 1.7;
}

.topic-hero {
  overflow: hidden;
  margin-bottom: 40px;
  border-radius: 5px;
  box-shadow: var(--shadow);
}

.topic-hero-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.topic-points {
  min-height: 90px;
  padding: 17px 28px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  background: linear-gradient(90deg, #0c3b8d, #0b4bb9);
  color: #fff;
}

.topic-point {
  display: flex;
  align-items: center;
  gap: 16px;
}

.topic-point .line-icon {
  width: 48px;
  height: 48px;
  color: #fff;
  border-color: #fff;
}

.topic-point strong {
  display: block;
  margin-bottom: 5px;
  font-size: 16px;
}

.topic-point span {
  font-size: 13px;
  line-height: 1.5;
}

.service-section {
  margin-bottom: 42px;
}

.service-cards {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.service-card {
  min-height: 195px;
  padding: 22px 18px 18px;
  display: flex;
  flex-direction: column;
}

.service-card h3 {
  margin: 0 0 14px;
  color: var(--blue-700);
  font-size: 17px;
  line-height: 1.45;
}

.service-card p {
  margin: 0;
  color: #334360;
  font-size: 13px;
  line-height: 1.7;
}

.service-card .line-icon {
  margin: auto auto 0;
  width: 54px;
  height: 54px;
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.platform-card {
  overflow: hidden;
  min-height: 182px;
  text-align: center;
}

.platform-card img {
  width: 100%;
  height: 75px;
  object-fit: cover;
}

.platform-card h3 {
  margin: 11px 10px 8px;
  color: var(--blue-700);
  font-size: 15px;
  line-height: 1.35;
}

.platform-card p {
  margin: 0 12px 14px;
  color: #2d3c5b;
  font-size: 13px;
  line-height: 1.55;
}

.flow-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 26px;
}

.flow-step {
  position: relative;
  min-height: 128px;
  padding: 16px 10px 12px;
  text-align: center;
}

.flow-step:not(:last-child)::after {
  content: "›";
  position: absolute;
  right: -19px;
  top: 50%;
  color: var(--blue-700);
  font-size: 32px;
  transform: translateY(-50%);
}

.flow-step .line-icon {
  width: 42px;
  height: 42px;
  margin: 0 auto 10px;
  border-radius: 4px;
}

.flow-step strong {
  display: block;
  color: #182b57;
}

.flow-step span {
  display: block;
  margin-top: 8px;
  color: #415170;
  font-size: 13px;
}

.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 18px;
  margin-bottom: 20px;
}

.info-card {
  padding: 20px 24px;
}

.info-card h3 {
  margin: 0 0 14px;
  color: var(--blue-700);
  font-size: 20px;
}

.check-list,
.plain-list {
  margin: 0;
  padding: 0;
  list-style: none;
  color: #26375f;
  font-size: 14px;
  line-height: 2;
}

.plain-list li::before,
.check-list li::before {
  color: var(--blue-700);
  font-weight: 800;
}

.check-list li::before {
  content: "✓ ";
}

.plain-list li::before {
  content: "• ";
}

.domain-icons {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  text-align: center;
}

.domain-icons .line-icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 8px;
  border-radius: 8px;
}

.domain-icons span {
  color: #26375f;
  font-size: 13px;
}

.price-cta-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(280px, 1fr);
  gap: 20px;
  margin-bottom: 24px;
}

.price-card {
  padding: 18px 20px;
}

.price-card h3 {
  margin: 0 0 14px;
  color: var(--blue-700);
  font-size: 23px;
}

.quote-link {
  float: right;
  margin-top: 5px;
  color: var(--blue-700);
  font-size: 14px;
  font-weight: 800;
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  text-align: center;
}

.price-table th,
.price-table td {
  padding: 10px 8px;
  border: 1px solid #dbe6f4;
}

.price-table th {
  background: #eef5ff;
  color: var(--blue-700);
}

.quote-card {
  padding: 34px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-style: dashed;
}

.quote-card .line-icon {
  width: 68px;
  height: 68px;
  margin-bottom: 18px;
  border-radius: 8px;
  font-size: 30px;
}

.quote-card h3 {
  margin: 0 0 10px;
  color: var(--blue-700);
  font-size: 22px;
}

.quote-card p {
  margin: 0 0 24px;
  color: #415170;
  line-height: 1.6;
}

.bottom-cta {
  margin-top: 20px;
  padding: 18px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: linear-gradient(90deg, #f4f8ff, #eef5ff);
}

.bottom-cta .line-icon {
  border-radius: 4px;
}

.bottom-cta strong {
  color: var(--blue-700);
}

@media (max-width: 1200px) {
  .header-inner {
    gap: 18px;
  }

  .brand {
    width: 250px;
    flex-basis: 250px;
  }

  .brand img {
    width: 250px;
  }

  .nav {
    gap: 20px;
    font-size: 14px;
  }

  .contact-layout {
    grid-template-columns: 360px 1fr;
  }

  .map-panel {
    grid-column: 1 / -1;
  }

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

  .why-title {
    grid-column: 1 / -1;
  }

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

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

@media (max-width: 900px) {
  .site-header {
    height: auto;
    position: static;
  }

  .header-inner {
    padding: 14px 18px;
    flex-wrap: wrap;
  }

  .brand,
  .brand img {
    width: 230px;
    flex-basis: 230px;
  }

  .nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
  }

  .nav a {
    padding: 12px 0 14px;
  }

  .nav a.active::after {
    bottom: 4px;
  }

  .header-phone {
    margin-left: auto;
  }

  .contact-hero .hero-lab {
    opacity: 0.2;
    width: 100%;
  }

  .contact-layout,
  .service-page,
  .price-cta-grid,
  .info-grid {
    grid-template-columns: 1fr;
  }

  .side-menu {
    position: static;
  }

  .service-cards,
  .platform-grid,
  .flow-grid,
  .why-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .flow-step:not(:last-child)::after {
    content: none;
  }

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

@media (max-width: 620px) {
  .page {
    padding: 24px 14px;
  }

  .contact-hero h1,
  .content-title {
    font-size: 30px;
  }

  .hero-features,
  .bottom-cta,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .form-grid,
  .service-cards,
  .platform-grid,
  .flow-grid,
  .topic-points,
  .why-strip {
    grid-template-columns: 1fr;
  }

  .header-phone {
    width: 100%;
  }
}
