:root {
  --ink: #11151c;
  --muted: #65707f;
  --line: #dfe5eb;
  --paper: #ffffff;
  --soft: #f5f7f8;
  --deep: #172332;
  --accent: #b51f2f;
  --accent-dark: #8f1825;
  --green: #2f6f5e;
}

* {
  box-sizing: border-box;
  outline: 0 !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

a:hover,
a:focus,
a:active {
  text-decoration: none;
}

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

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

.navbar-sticky {
  position: fixed;
  z-index: 1000;
  top: 0;
  right: 0;
  left: 0;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(17, 21, 28, 0.08);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-weight: 800;
  letter-spacing: 0;
}

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  color: #293241;
  font-size: 14px;
  font-weight: 650;
}

.nav-links a {
  transition: color 160ms ease, transform 160ms ease;
}

.nav-links a:hover {
  color: var(--accent);
  transform: translateY(-1px);
}

.nav-cta {
  color: #fff !important;
  background: var(--accent);
  padding: 8px 16px;
  border-radius: 999px;
}

.nav-cta:hover {
  background: var(--accent-dark);
}

.hero {
  position: relative;
  min-height: auto;
  color: var(--ink);
  background: linear-gradient(180deg, #f8fafc 0%, #eef3f6 100%);
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  right: -120px;
  top: 110px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: rgba(181, 31, 47, 0.06);
}

.hero-shade {
  display: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(420px, 0.95fr) minmax(460px, 1.05fr);
  grid-template-areas: "text visual";
  gap: 52px;
  align-items: stretch;
  width: min(1320px, calc(100% - 56px));
  min-height: 640px;
  padding-top: 104px;
  padding-bottom: 64px;
  text-align: left;
}

.hero-text {
  grid-area: text;
  grid-column: 1;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  justify-self: start;
  height: 100%;
  padding: 8px 0;
}

.hero-brand {
  display: inline-flex;
  align-items: center;
  width: 110px;
  margin-bottom: 28px;
  filter: none;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.hero .eyebrow {
  color: var(--accent);
}

.hero h1 {
  max-width: 640px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(34px, 4.2vw, 54px);
  line-height: 1.16;
  font-weight: 850;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 620px;
  margin: 22px 0 0;
  color: #4d5968;
  font-size: 18px;
  line-height: 1.85;
}

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

.hero-actions {
  justify-content: flex-start;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 750;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #fff;
  background: var(--accent);
  border-color: var(--accent);
}

.btn-primary:hover {
  color: #fff;
  background: var(--accent-dark);
  border-color: var(--accent-dark);
}

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

.btn-secondary:hover {
  color: var(--accent);
  background: #fff;
  border-color: rgba(181, 31, 47, 0.35);
}

.btn-outline {
  color: var(--accent);
  background: transparent;
  border-color: rgba(181, 31, 47, 0.35);
}

.btn-outline:hover {
  color: #fff;
  background: var(--accent);
  border-color: var(--accent);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: min(100%, 680px);
  margin: 38px 0 0;
  background: var(--line);
  border: 1px solid var(--line);
  box-shadow: 0 14px 34px rgba(30, 43, 58, 0.08);
}

.hero-metrics div {
  padding: 16px 18px;
  background: #fff;
}

.hero-metrics dt {
  margin: 0 0 4px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 850;
}

.hero-metrics dd {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.hero-visual {
  grid-area: visual;
  grid-column: 2;
  grid-row: 1;
  position: relative;
  width: 100%;
  min-height: 100%;
  margin: 0;
  justify-self: stretch;
  background: #e9eef2;
  overflow: hidden;
  box-shadow: -18px 26px 70px rgba(30, 43, 58, 0.12);
}

.hero-visual::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background:
    linear-gradient(90deg, #f8fafc 0%, rgba(248, 250, 252, 0.88) 16%, rgba(248, 250, 252, 0.20) 42%, rgba(248, 250, 252, 0) 68%),
    linear-gradient(180deg, rgba(181, 31, 47, 0.10), rgba(47, 111, 94, 0.10));
  pointer-events: none;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  min-height: 472px;
  object-fit: cover;
  object-position: center right;
}

.section {
  padding: 96px 0;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 46px;
}

.section h2,
.contact-section h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.18;
  font-weight: 850;
  letter-spacing: 0;
}

.section-heading p:last-child,
.intro-copy p,
.policy-content p,
.advantage-grid > div > p,
.contact-section p {
  color: var(--muted);
}

.intro-section {
  background: var(--paper);
}

.policy-grid,
.advantage-grid,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 70px;
  align-items: start;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.92fr) minmax(360px, 1.08fr);
  grid-template-areas: "title copy";
  gap: 56px;
  align-items: center;
}

.intro-title {
  grid-area: title;
  min-width: 0;
}

.intro-copy {
  grid-area: copy;
  min-width: 0;
}

.intro-copy {
  display: grid;
  gap: 20px;
  padding: 6px 0 6px 42px;
  border-left: 1px solid var(--line);
}

.intro-copy p {
  margin: 0;
  font-size: 17px;
}

.services-section,
.process-section,
.newsletter-wrapper {
  background: var(--soft);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.service-item {
  min-height: 480px;
  padding: 34px 28px;
  background: #fff;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.service-item:hover {
  position: relative;
  z-index: 1;
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(18, 33, 48, 0.12);
}

.service-item img {
  width: 48px;
  height: 48px;
  margin-bottom: 28px;
}

.service-item h3,
.process-list h3,
.advantage-list h3,
.wechat-box h3 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 21px;
  line-height: 1.3;
  font-weight: 820;
}

.service-item p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.service-item ul {
  display: grid;
  gap: 8px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  color: #2b3745;
  font-size: 14px;
  font-weight: 650;
}

.service-item li::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 10px;
  border-radius: 50%;
  background: var(--green);
  vertical-align: middle;
}

.policy-section {
  background: #fff;
  color: var(--ink);
}

.policy-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: stretch;
  min-height: 520px;
  overflow: hidden;
  background: #f8fafc;
  box-shadow: 0 20px 54px rgba(23, 35, 50, 0.10);
}

.policy-grid::before {
  content: "";
  position: absolute;
  z-index: 1;
  top: 0;
  bottom: 0;
  left: 43%;
  width: 22%;
  background: linear-gradient(90deg, #f8fafc 0%, rgba(248, 250, 252, 0.86) 28%, rgba(248, 250, 252, 0.16) 78%, rgba(248, 250, 252, 0) 100%);
  pointer-events: none;
}

.policy-visual {
  position: relative;
  z-index: 0;
  grid-column: 2;
  width: 100%;
  height: 100%;
  margin: 0;
  border: 0;
  background: #edf2f5;
  overflow: hidden;
}

.policy-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.policy-content {
  position: relative;
  z-index: 2;
  grid-column: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  padding: 64px 54px 64px 66px;
  text-align: left;
}

.policy-content h2 {
  color: var(--ink);
}

.policy-content p {
  margin: 22px 0 0;
  max-width: 640px;
  color: var(--muted);
  font-size: 17px;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 10px;
  margin-top: 34px;
}

.tag-list span {
  padding: 8px 12px;
  border: 1px solid var(--line);
  color: #314052;
  background: #fff;
  font-size: 14px;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
  counter-reset: step;
}

.policies-section {
  background: var(--paper);
}

.policy-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: -18px 0 32px;
}

.policy-filter button {
  padding: 9px 14px;
  border: 1px solid var(--line);
  color: #314052;
  background: #fff;
  font-weight: 700;
  cursor: pointer;
}

.policy-filter button.is-active,
.policy-filter button:hover {
  color: #fff;
  border-color: var(--accent);
  background: var(--accent);
}

.policy-list {
  display: grid;
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.policy-card {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) auto;
  gap: 24px;
  align-items: start;
  padding: 24px 26px;
  background: #fff;
  transition: background 160ms ease;
}

.policy-card:hover {
  background: #fbfcfd;
}

.policy-meta {
  color: var(--muted);
  font-size: 14px;
}

.policy-category {
  display: inline-block;
  margin-bottom: 10px;
  padding: 4px 8px;
  color: var(--accent);
  background: rgba(181, 31, 47, 0.08);
  font-size: 13px;
  font-weight: 800;
}

.policy-card h3 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.35;
}

.policy-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.policy-card a {
  color: var(--accent);
  font-weight: 800;
  white-space: nowrap;
}

.policy-empty {
  margin: 0;
  padding: 28px;
  color: var(--muted);
  background: #fff;
}

.process-list article {
  position: relative;
  padding-top: 28px;
  border-top: 2px solid var(--line);
}

.process-list span {
  display: block;
  margin-bottom: 22px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 850;
}

.process-list p,
.advantage-list p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.advantage-section {
  background: #fff;
}

.advantage-grid {
  display: block;
}

.advantage-heading {
  max-width: 820px;
  margin: 0 auto 46px;
  text-align: center;
}

.advantage-heading p:last-child {
  margin: 18px auto 0;
  max-width: 760px;
  color: var(--muted);
}

.advantage-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  counter-reset: advantage;
}

.advantage-item {
  position: relative;
  min-height: 220px;
  padding: 34px 26px 28px;
  border: 1px solid var(--line);
  background: #f8fafc;
}

.advantage-item::before {
  counter-increment: advantage;
  content: "0" counter(advantage);
  display: block;
  margin-bottom: 26px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 850;
  letter-spacing: 0.06em;
}

.advantage-item h3 {
  margin-bottom: 14px;
}

.results-section {
  background: var(--soft);
  overflow: hidden;
}

.result-carousel {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 18px 48px rgba(30, 43, 58, 0.08);
}

.result-track {
  position: relative;
  height: 520px;
}

.result-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 320ms ease, visibility 320ms ease;
}

.result-slide.is-active {
  opacity: 1;
  visibility: visible;
}

.result-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  background: #fff;
}

.result-nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  color: #fff;
  background: rgba(17, 21, 28, 0.42);
  font-size: 32px;
  line-height: 1;
  transform: translateY(-50%);
  cursor: pointer;
  transition: background 160ms ease, transform 160ms ease;
}

.result-nav:hover {
  background: rgba(181, 31, 47, 0.86);
  transform: translateY(-50%) scale(1.04);
}

.result-prev {
  left: 18px;
}

.result-next {
  right: 18px;
}

.result-dots {
  position: absolute;
  right: 22px;
  bottom: 18px;
  z-index: 2;
  display: flex;
  gap: 8px;
}

.result-dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.58);
  cursor: pointer;
}

.result-dots button.is-active {
  width: 28px;
  border-radius: 999px;
  background: #fff;
}

.contact-section {
  padding: 86px 0;
  color: var(--ink);
  background: #f5f7f8;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  grid-template-areas: "content panel";
  gap: 72px;
  align-items: center;
}

.contact-content {
  grid-area: content;
  max-width: 720px;
}

.contact-section h2 {
  color: var(--ink);
}

.contact-section p {
  max-width: 680px;
  color: var(--muted);
  font-size: 17px;
}

.contact-section .section-kicker {
  color: var(--accent);
}

.contact-panel {
  grid-area: panel;
  display: grid;
  gap: 18px;
  justify-self: end;
  width: 100%;
}

.wechat-box {
  width: 100%;
  padding: 30px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 16px 36px rgba(30, 43, 58, 0.08);
}

.wechat-box img {
  width: 220px;
  height: 220px;
  margin: 0 auto 22px;
  object-fit: contain;
}

.wechat-box h3,
.wechat-box p {
  text-align: center;
}

.wechat-box p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.wechat-box .contact-name {
  margin-top: 10px;
  color: var(--accent);
  font-weight: 750;
}

.page-footer {
  padding: 36px 0;
  text-align: center;
  background: #0f141b;
}

.page-footer p {
  margin: 4px 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 14px;
}

.page-footer a {
  color: rgba(255, 255, 255, 0.82);
}

@media (max-width: 1080px) {
  .service-grid,
  .process-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .intro-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "content"
      "panel";
    gap: 42px;
  }

  .intro-grid {
    grid-template-areas:
      "title"
      "copy";
  }

  .advantage-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .intro-grid {
    align-items: start;
  }

  .intro-copy {
    padding: 0;
    border-left: 0;
  }

  .policy-grid {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .policy-card {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .policy-content {
    width: 100%;
    grid-column: 1;
    display: block;
    padding: 52px 28px 36px;
  }

  .policy-visual {
    grid-column: 1;
    height: 320px;
  }

  .policy-grid::before {
    display: none;
  }

  .contact-panel {
    justify-self: start;
    width: min(100%, 360px);
  }
}

@media (max-width: 900px) {
  .hero-content {
    grid-template-columns: 1fr;
    grid-template-areas:
      "text"
      "visual";
    gap: 34px;
    min-height: auto;
  }

  .hero-text,
  .hero-visual {
    grid-column: auto;
    grid-row: auto;
  }

  .hero-visual {
    width: 100%;
    min-height: 360px;
    margin: 0;
    justify-self: stretch;
  }

  .hero-visual img {
    height: 360px;
    min-height: 360px;
  }

  .hero-visual::before {
    background:
      linear-gradient(180deg, #f8fafc 0%, rgba(248, 250, 252, 0.18) 28%, rgba(248, 250, 252, 0) 62%),
      linear-gradient(180deg, rgba(181, 31, 47, 0.08), rgba(47, 111, 94, 0.10));
  }
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 28px, 1160px);
  }

  .nav-inner {
    min-height: 64px;
  }

  .brand span {
    display: none;
  }

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

  .nav-links a:not(.nav-cta):nth-child(2),
  .nav-links a:not(.nav-cta):nth-child(3) {
    display: none;
  }

  .nav-cta {
    padding: 8px 12px;
  }

  .hero {
    background: linear-gradient(180deg, #f8fafc 0%, #eef3f6 100%);
  }

  .hero::after {
    display: none;
  }

  .hero-content {
    padding-top: 92px;
    text-align: left;
    align-items: start;
  }

  .hero-brand {
    width: 96px;
    margin-bottom: 26px;
  }

  .hero-copy {
    font-size: 16px;
  }

  .hero-actions,
  .contact-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
    margin-top: 46px;
  }

  .hero-visual,
  .hero-visual img,
  .contact-photo {
    height: 220px;
    min-height: 220px;
  }

  .policy-visual img {
    object-position: center;
  }

  .section,
  .contact-section {
    padding: 68px 0;
  }

  .service-grid,
  .process-list,
  .advantage-list {
    grid-template-columns: 1fr;
  }

  .service-item {
    min-height: auto;
  }

  .result-track {
    height: 330px;
  }

  .result-nav {
    width: 40px;
    height: 40px;
    font-size: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
