:root {
  --ink: #17212b;
  --muted: #64717f;
  --line: #dfe6ec;
  --paper: #ffffff;
  --soft: #f5f7f3;
  --mist: #eef5f2;
  --teal: #1c7c72;
  --teal-dark: #0f5f58;
  --coral: #c95f45;
  --gold: #b3862f;
  --shadow: 0 18px 50px rgba(23, 33, 43, 0.11);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  line-height: 1.65;
  background: var(--soft);
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(223, 230, 236, 0.9);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 750;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: var(--teal);
  font-weight: 800;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: #394654;
  font-size: 15px;
}

.nav a {
  white-space: nowrap;
}

.nav a:hover {
  color: var(--teal-dark);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-size: 22px;
}

.hero {
  position: relative;
  min-height: 640px;
  overflow: hidden;
  background: #dfe9ec;
}

.hero-media {
  position: absolute;
  inset: 0;
}

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

.hero-media::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(
    90deg,
    rgba(245, 247, 243, 0.98) 0%,
    rgba(245, 247, 243, 0.86) 38%,
    rgba(245, 247, 243, 0.18) 72%,
    rgba(245, 247, 243, 0.04) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 640px;
  align-items: center;
  padding: 72px 0 96px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--teal-dark);
  font-size: 15px;
  font-weight: 700;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 680px;
  margin-bottom: 20px;
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1.06;
  letter-spacing: 0;
}

.lead {
  max-width: 620px;
  margin-bottom: 28px;
  color: #40505f;
  font-size: 19px;
}

.hero-actions,
.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--teal);
  border-radius: 8px;
  padding: 11px 18px;
  font-weight: 700;
  line-height: 1.2;
}

.button.primary {
  color: #fff;
  background: var(--teal);
}

.button.secondary {
  color: var(--teal-dark);
  background: rgba(255, 255, 255, 0.72);
}

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

.trust-strip {
  position: relative;
  z-index: 2;
  margin-top: -48px;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
  box-shadow: var(--shadow);
}

.trust-item {
  min-height: 108px;
  padding: 22px;
  background: #fff;
}

.trust-value {
  display: block;
  color: var(--teal-dark);
  font-size: 25px;
  font-weight: 800;
  line-height: 1.1;
}

.trust-label {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
}

.section {
  padding: 88px 0;
}

.section.alt {
  background: #fff;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 34px;
}

.section-title {
  max-width: 720px;
}

.section-title h2 {
  margin-bottom: 10px;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.16;
}

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

.grid {
  display: grid;
  gap: 20px;
}

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

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

.grid.four {
  grid-template-columns: repeat(4, 1fr);
}

.card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 26px;
  background: #fff;
}

.card.highlight {
  border-color: rgba(28, 124, 114, 0.36);
  box-shadow: 0 16px 42px rgba(28, 124, 114, 0.12);
}

.service-kicker {
  display: inline-flex;
  margin-bottom: 16px;
  color: var(--coral);
  font-size: 13px;
  font-weight: 800;
}

.card h3 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.25;
}

.card p,
.legal-main p,
.legal-main li {
  color: var(--muted);
}

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

.list li {
  position: relative;
  padding-left: 22px;
}

.list li::before {
  position: absolute;
  left: 0;
  top: 0.64em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
  content: "";
}

.price {
  margin: 16px 0 10px;
  color: var(--ink);
  font-size: 30px;
  font-weight: 850;
  line-height: 1.1;
}

.process {
  counter-reset: step;
}

.process .card {
  position: relative;
  padding-top: 56px;
}

.process .card::before {
  position: absolute;
  left: 26px;
  top: 24px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  content: "0" counter(step);
  counter-increment: step;
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 44px;
  align-items: center;
}

.info-panel {
  border-left: 4px solid var(--teal);
  padding: 26px 28px;
  background: var(--mist);
}

.order-summary {
  display: grid;
  gap: 14px;
  margin-top: 26px;
}

.order-summary div {
  display: grid;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px 18px;
  background: #fff;
}

.order-summary span {
  color: var(--muted);
  font-size: 14px;
}

.contact-box {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.contact-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid rgba(100, 113, 127, 0.18);
  padding-bottom: 12px;
}

.contact-row span:first-child {
  color: var(--muted);
}

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

.form label {
  display: grid;
  gap: 7px;
  color: #394654;
  font-weight: 700;
}

.form input,
.form select,
.form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 13px;
  color: var(--ink);
  font: inherit;
  background: #fff;
}

.form textarea {
  min-height: 116px;
  resize: vertical;
}

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

.site-footer {
  border-top: 1px solid var(--line);
  padding: 38px 0;
  color: #52606d;
  background: #fff;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 28px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.legal-hero {
  padding: 72px 0 38px;
  background: #fff;
}

.legal-hero h1 {
  max-width: none;
  font-size: clamp(32px, 5vw, 50px);
}

.legal-main {
  padding: 44px 0 86px;
}

.legal-main article {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(24px, 4vw, 44px);
  background: #fff;
}

.legal-main h2 {
  margin-top: 34px;
  font-size: 24px;
}

.legal-main h2:first-child {
  margin-top: 0;
}

.legal-main ul {
  padding-left: 22px;
}

@media (max-width: 860px) {
  .menu-toggle {
    display: inline-grid;
    place-items: center;
  }

  .nav {
    position: absolute;
    inset: 72px 20px auto 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 8px;
    background: #fff;
    box-shadow: var(--shadow);
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    padding: 12px 10px;
  }

  .hero,
  .hero-content {
    min-height: 620px;
  }

  .hero-media::after {
    background: rgba(245, 247, 243, 0.88);
  }

  .trust-grid,
  .grid.three,
  .grid.four,
  .grid.two,
  .split {
    grid-template-columns: 1fr;
  }

  .section-head,
  .footer-inner,
  .contact-row {
    align-items: flex-start;
    flex-direction: column;
  }
}

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

  .header-inner {
    min-height: 66px;
  }

  .nav {
    inset-top: 66px;
  }

  .hero,
  .hero-content {
    min-height: 580px;
  }

  .hero-content {
    padding: 46px 0 82px;
  }

  .section {
    padding: 64px 0;
  }

  .hero-actions,
  .section-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }
}
