﻿:root {
  --bg: #f4f7fb;
  --bg-soft: #e9f0f8;
  --panel: #ffffff;
  --panel-soft: #f8fbff;
  --text: #1d2d3f;
  --muted: #5f7288;
  --line: #d4dfeb;
  --accent: #ea8a2f;
  --accent-soft: #fff2e5;
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 20% 10%, rgba(234, 138, 47, 0.12), transparent 40%),
    radial-gradient(circle at 85% 0%, rgba(56, 123, 194, 0.12), transparent 35%),
    linear-gradient(145deg, var(--bg), var(--bg-soft));
  min-height: 100vh;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(90deg, transparent 0 52px, rgba(56, 123, 194, 0.03) 52px 53px),
    repeating-linear-gradient(0deg, transparent 0 52px, rgba(56, 123, 194, 0.02) 52px 53px);
}

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

.container {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

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

.nav-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 70px;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand strong {
  font-size: 18px;
  letter-spacing: 0.3px;
}

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

.nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav a {
  color: #2b4562;
  padding: 8px 10px;
  border-radius: 8px;
  transition: 0.2s;
}

.nav a:hover,
.nav a.active {
  background: #e8f1fb;
  color: #16375d;
}

.hero {
  padding: 88px 0 72px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
  align-items: stretch;
}

.hero-card,
.panel {
  background: linear-gradient(160deg, #ffffff, #f5f9fe);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 10px 26px rgba(30, 56, 82, 0.08);
}

.hero-card {
  padding: 34px;
}

.kicker {
  display: inline-block;
  font-size: 13px;
  color: #9c5716;
  letter-spacing: 1px;
  border: 1px solid #f1c89e;
  background: var(--accent-soft);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}

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

h1 {
  font-size: clamp(30px, 4.1vw, 46px);
}

h2 {
  font-size: clamp(24px, 3.2vw, 34px);
  margin-bottom: 10px;
}

h3 {
  font-size: 20px;
}

.lead {
  margin-top: 14px;
  color: #425a72;
  line-height: 1.75;
}

.hero-tags {
  margin-top: 18px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.hero-tags span {
  font-size: 13px;
  color: #264f78;
  background: #eaf3ff;
  border: 1px solid #c5dffb;
  border-radius: 999px;
  padding: 5px 10px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  padding: 26px;
}

.hero-visual {
  grid-column: 1 / -1;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: #f3f8ff;
  min-height: 170px;
}

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

.metric {
  background: #f9fcff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
}

.metric strong {
  display: block;
  font-size: 28px;
  color: #183b60;
}

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

.section {
  padding: 56px 0;
}

.section-head {
  margin-bottom: 18px;
}

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

.grid-3,
.grid-2 {
  display: grid;
  gap: 16px;
}

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

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

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

.image-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 22px rgba(30, 56, 82, 0.06);
}

.image-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}

.image-caption {
  padding: 12px 14px;
  color: #3c556f;
  font-size: 14px;
}

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px;
}

.card p {
  margin: 10px 0 0;
  color: #49607a;
  line-height: 1.7;
}

.icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #fff2e5;
  border: 1px solid #f0c79f;
  display: grid;
  place-items: center;
  margin-bottom: 10px;
  color: #a85f1d;
  font-weight: 700;
}

.cta {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.btn {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-weight: 600;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(120deg, #f3a153, #e68323);
  color: #1a1a1a;
}

.btn-secondary {
  border-color: #b3c7de;
  color: #264f78;
  background: #f5faff;
}

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

.step {
  background: #fbfdff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
}

.step b {
  display: inline-block;
  margin-bottom: 8px;
  color: #b2651f;
}

.page-title {
  padding: 64px 0 26px;
}

.page-title p {
  color: var(--muted);
  margin-top: 10px;
  max-width: 780px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

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

label {
  font-size: 14px;
  color: #29455f;
}

input,
textarea {
  width: 100%;
  padding: 11px 12px;
  border-radius: 10px;
  border: 1px solid #bfd1e3;
  background: #ffffff;
  color: #1f3349;
}

textarea {
  min-height: 130px;
  resize: vertical;
}

.map {
  min-height: 280px;
  display: grid;
  place-items: center;
  color: #47617b;
  background:
    linear-gradient(45deg, rgba(233, 242, 251, 0.95), rgba(245, 249, 255, 0.95)),
    repeating-linear-gradient(0deg, transparent 0 24px, rgba(234, 138, 47, 0.08) 24px 25px),
    repeating-linear-gradient(90deg, transparent 0 24px, rgba(234, 138, 47, 0.08) 24px 25px);
}

.footer {
  border-top: 1px solid var(--line);
  margin-top: 44px;
  padding: 20px 0 30px;
  color: #607a95;
}

.footer-line {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

@media (max-width: 960px) {
  .hero-grid,
  .grid-3,
  .grid-2,
  .image-grid,
  .steps,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 54px;
  }

  .hero-metrics {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .nav-wrap {
    padding: 10px 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    width: 100%;
    justify-content: flex-start;
  }

  .hero-card,
  .panel,
  .card,
  .step {
    border-radius: 12px;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }
}
