:root {
  --bg: #f6f8fb;
  --bg-soft: #eff3f8;
  --surface: rgba(255, 255, 255, 0.84);
  --surface-solid: #ffffff;
  --text: #142033;
  --muted: #5b6678;
  --line: rgba(12, 30, 58, 0.12);
  --primary: #0d3b8a;
  --primary-hover: #0a2f6f;
  --secondary: #0f6f7e;
  --shadow: 0 18px 45px rgba(13, 36, 73, 0.14);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  position: relative;
  font-family: "MiSans", "Source Han Sans SC", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 10% 0%, #d9e8ff 0%, transparent 36%),
    radial-gradient(circle at 92% 10%, #d6f2ee 0%, transparent 32%),
    var(--bg);
  line-height: 1.7;
  overflow-x: hidden;
}

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

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

.container {
  width: min(1160px, 92vw);
  margin: 0 auto;
}

.section {
  padding: clamp(4rem, 7vw, 6.5rem) 0;
}

.section-soft {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.78));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.bg-glow {
  position: fixed;
  inset: auto;
  pointer-events: none;
  z-index: -1;
  filter: blur(80px);
  opacity: 0.45;
}

.bg-glow-a {
  width: 420px;
  height: 420px;
  background: #bad2ff;
  top: -160px;
  left: -120px;
}

.bg-glow-b {
  width: 390px;
  height: 390px;
  background: #b7ebe4;
  right: -130px;
  bottom: -120px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(1.2) blur(14px);
  background: rgba(246, 248, 251, 0.78);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
}

.brand {
  font-size: 1.18rem;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.35rem;
}

.site-nav a {
  font-size: 0.97rem;
  color: var(--muted);
  transition: color 0.25s ease;
}

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

.site-nav .nav-cta {
  color: #fff;
  background: var(--primary);
  border-radius: 999px;
  padding: 0.5rem 1rem;
}

.site-nav .nav-cta:hover,
.site-nav .nav-cta:focus-visible {
  color: #fff;
  background: var(--primary-hover);
}

.hero-grid {
  display: grid;
  gap: clamp(1.6rem, 3vw, 3rem);
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  align-items: center;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 0.65rem;
  padding: 0.18rem 0.72rem;
  border-radius: 999px;
  color: var(--secondary);
  background: rgba(15, 111, 126, 0.12);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  font-size: clamp(2rem, 4.6vw, 3.6rem);
  letter-spacing: 0.01em;
}

h2 {
  font-size: clamp(1.6rem, 3.2vw, 2.5rem);
}

h3 {
  font-size: 1.16rem;
}

p {
  margin: 0;
}

.lead {
  margin-top: 1.1rem;
  font-size: 1.06rem;
  color: var(--muted);
  max-width: 38em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8rem;
  margin-top: 1.45rem;
}

.btn {
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 700;
  padding: 0.72rem 1.2rem;
  font-size: 0.95rem;
  transition: transform 0.24s ease, box-shadow 0.24s ease, background-color 0.24s ease;
}

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

.btn-primary {
  color: #fff;
  background: var(--primary);
  box-shadow: 0 10px 24px rgba(13, 59, 138, 0.28);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--primary-hover);
}

.btn-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(14, 36, 65, 0.2);
}

.hero-points {
  margin: 1.3rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.45rem;
}

.hero-points li {
  color: var(--muted);
  padding-left: 1.18rem;
  position: relative;
}

.hero-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 0.46rem;
  height: 0.46rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
}

.hero-visual {
  position: relative;
  border-radius: 1.4rem;
  overflow: hidden;
  box-shadow: var(--shadow);
  min-height: 460px;
}

.hero-visual img {
  height: 100%;
  object-fit: cover;
}

.hero-badge {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  background: rgba(13, 25, 42, 0.78);
  color: #eef4ff;
  padding: 0.95rem 1.1rem;
  border-radius: 0.9rem;
}

.hero-badge p {
  color: rgba(233, 240, 255, 0.84);
  font-size: 0.88rem;
}

.hero-badge strong {
  font-size: 1rem;
}

.section-head {
  max-width: 680px;
  margin-bottom: 1.7rem;
}

.section-head h2 {
  margin-top: 0.3rem;
}

.section-head p:last-child {
  margin-top: 0.8rem;
  color: var(--muted);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.card {
  border: 1px solid var(--line);
  border-radius: 1.05rem;
  background: var(--surface);
  backdrop-filter: blur(8px);
  box-shadow: 0 10px 30px rgba(11, 42, 83, 0.06);
  padding: 1.25rem;
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(13, 59, 138, 0.26);
}

.card-index {
  display: inline-block;
  font-size: 0.83rem;
  font-weight: 700;
  color: var(--secondary);
  background: rgba(15, 111, 126, 0.1);
  border-radius: 999px;
  padding: 0.18rem 0.55rem;
}

.card h3 {
  margin-top: 0.62rem;
}

.card p {
  margin-top: 0.6rem;
  color: var(--muted);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(0, 1.04fr);
  gap: 1.4rem;
  align-items: center;
}

.about-image {
  border-radius: 1.2rem;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.about-image img {
  min-height: 360px;
  object-fit: cover;
}

.about-copy p {
  color: var(--muted);
  margin-top: 0.9rem;
}

.about-tags {
  margin-top: 1.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.about-tags span {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(13, 59, 138, 0.24);
  color: var(--primary);
  background: rgba(13, 59, 138, 0.07);
  border-radius: 999px;
  padding: 0.28rem 0.72rem;
  font-size: 0.87rem;
  font-weight: 700;
}

.process-grid {
  margin-top: 1.2rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.process-item {
  position: relative;
  border-radius: 1rem;
  padding: 1.05rem;
  border: 1px solid var(--line);
  background: var(--surface-solid);
}

.process-item::after {
  content: "";
  position: absolute;
  left: 1.05rem;
  right: 1.05rem;
  bottom: 0;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.process-item p {
  margin-top: 0.65rem;
  color: var(--muted);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
  gap: 1.2rem;
  align-items: center;
}

.contact address {
  margin-top: 1.05rem;
  color: var(--text);
  font-style: normal;
  font-size: 1.04rem;
  font-weight: 600;
}

.copy-tip {
  min-height: 1.35em;
  margin-top: 0.7rem;
  color: var(--secondary);
  font-weight: 600;
}

.contact-image {
  border-radius: 1.2rem;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.contact-image img {
  min-height: 320px;
  object-fit: cover;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.74);
}

.footer-inner {
  min-height: 68px;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.2rem;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-inner a {
  color: var(--primary);
  font-weight: 700;
}

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

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .hero-visual {
    min-height: 420px;
  }
}

@media (max-width: 800px) {
  .header-inner {
    min-height: 66px;
    flex-direction: column;
    justify-content: center;
    gap: 0.55rem;
    padding: 0.75rem 0;
  }

  .site-nav {
    gap: 0.85rem;
    flex-wrap: wrap;
    justify-content: center;
  }

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

  .hero-visual,
  .about-image img,
  .contact-image img {
    min-height: 260px;
  }

  .section {
    padding: 3.6rem 0;
  }
}

@media (max-width: 620px) {
  .services-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .btn {
    width: 100%;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
