:root {
  --ink: #172231;
  --text: #344150;
  --muted: #66727f;
  --line: #dfe6ee;
  --soft-line: #e8edf3;
  --paper: #f7f9fb;
  --panel: #ffffff;
  --accent: #eef4fb;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #f8fafc;
  color: var(--text);
  font-family: "Inter", "Helvetica Neue", Arial, "Microsoft YaHei", sans-serif;
  line-height: 1.75;
}

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

.service-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.service-header img {
  width: 150px;
  height: auto;
}

.service-header a:last-child {
  color: var(--muted);
  font-size: 14px;
}

.service-main {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: clamp(42px, 6vw, 78px) 0 72px;
}

.service-hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: end;
  padding: clamp(26px, 4vw, 44px);
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel);
  box-shadow: 0 22px 54px rgb(36 52 76 / 7%);
}

.service-hero h1 {
  max-width: 760px;
  margin: 0 0 14px;
  color: var(--ink);
  font-size: clamp(22px, 2.6vw, 32px);
  line-height: 1.08;
  letter-spacing: 0;
}

.service-hero p {
  max-width: 780px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.service-button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.service-button {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid #111;
  border-radius: 5px;
  background: #111;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  transition: background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.service-button.secondary {
  background: #fff;
  color: #172231;
  border-color: #bfc9d5;
}

.service-button:not(.secondary):hover {
  border-color: #252525;
  background: #252525;
  box-shadow: 0 4px 12px rgb(17 17 17 / 9%);
}

.service-button.secondary:hover {
  border-color: #aeb9c6;
  background: #f5f7f8;
  box-shadow: 0 3px 10px rgb(23 34 49 / 6%);
}

.service-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.78fr);
  gap: 28px;
  margin-top: 32px;
}

.service-card {
  padding: clamp(28px, 3.6vw, 42px);
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgb(255 255 255 / 92%);
}

.service-card h2 {
  margin: 0 0 20px;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.25;
}

.service-list {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-list li {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 9px;
  align-items: start;
  color: var(--text);
  font-size: 14px;
}

.service-list-icon {
  width: 17px;
  height: 17px;
  margin-top: 0.28em;
  color: #5e718a;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-note {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.service-aside {
  display: grid;
  gap: 28px;
}

.service-panel {
  padding: clamp(26px, 3vw, 34px);
  border: 1px solid #e7ecf2;
  border-radius: 8px;
  background: #f7f9fc;
}

.service-panel h2 {
  margin: 0 0 16px;
  color: #172235;
  font-size: 19px;
  line-height: 1.3;
}

.service-panel p {
  margin: 0;
  color: #64748b;
  font-size: 14px;
  line-height: 1.9;
}

.related-services {
  margin: 26px 0 0;
  color: #5b6672;
  font-size: 13px;
}

.service-extra {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--soft-line);
}

.service-extra h2 {
  margin: 0 0 14px;
  color: #172235;
  font-size: 15px;
  line-height: 1.35;
}

.common-demand-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px 26px;
}

.common-demand-links a {
  color: #344150;
  font-size: 13px;
  line-height: 1.65;
  transition: color 0.16s ease;
}

.common-demand-links a:hover {
  color: #111;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.related-content-list {
  display: grid;
  border-top: 1px solid var(--soft-line);
}

.related-content-list article,
.related-content-list a {
  padding: 14px 0;
  border-bottom: 1px solid var(--soft-line);
  color: inherit;
  text-decoration: none;
  transition: color 0.16s ease;
}

.related-content-list a:hover h3 {
  color: #111;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.related-content-list h3 {
  margin: 0 0 4px;
  color: #172235;
  font-size: 14px;
  line-height: 1.45;
}

.related-content-list p {
  margin: 0;
  color: #64748b;
  font-size: 13px;
  line-height: 1.75;
}

.related-services strong {
  display: block;
  margin-bottom: 8px;
  color: #172235;
  font-size: 13px;
}

.related-services a,
.related-services span {
  display: inline;
}

.related-services a {
  color: #344150;
  transition: color 0.16s ease;
}

.related-services a:hover {
  color: #111;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.related-services span {
  color: #8a94a1;
}

.service-consult {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 26px;
  align-items: center;
  margin-top: 32px;
  padding: clamp(28px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}

.service-consult h2 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 20px;
}

.service-consult p {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 860px) {
  .service-hero,
  .service-grid,
  .service-consult {
    grid-template-columns: 1fr;
  }

  .service-button-row {
    justify-content: flex-start;
  }

  .common-demand-links {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .service-header {
    width: calc(100% - 32px);
    gap: 12px;
    padding: 18px 0;
  }

  .service-header img {
    width: 120px;
  }

  .service-header a:last-child {
    flex: 0 0 auto;
    font-size: 13px;
  }

  .service-main {
    width: calc(100% - 32px);
    padding: 24px 0 44px;
  }

  .service-hero,
  .service-card,
  .service-panel,
  .service-consult {
    padding: 22px 18px;
  }

  .service-hero h1 {
    font-size: 24px;
  }

  .service-button {
    width: 100%;
  }
}
