:root {
  --ink: #171313;
  --muted: #6a5d58;
  --soft: #f8f4ed;
  --paper: #fffdf8;
  --line: #e3d6c8;
  --brand: #8f1111;
  --brand-dark: #5f0a0a;
  --teal: #12645f;
  --gold: #b58b2a;
  --shadow: 0 18px 45px rgba(65, 38, 26, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #fbf7f0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", "PingFang SC", sans-serif;
  line-height: 1.72;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { width: min(1160px, calc(100% - 32px)); margin: 0 auto; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 12px; }
.skip:focus { left: 8px; z-index: 100; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 253, 248, .94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 190px;
  font-weight: 900;
}
.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: conic-gradient(from 90deg, var(--brand), var(--brand-dark), var(--teal), var(--brand));
  box-shadow: 0 12px 28px rgba(143, 17, 17, .18);
}
.brand small { display: block; margin-top: -4px; color: var(--muted); font-weight: 650; }
.nav-links { display: flex; align-items: center; justify-content: flex-end; gap: 6px; flex-wrap: wrap; }
.nav-links a {
  padding: 8px 10px;
  border-radius: 8px;
  color: #473b36;
  font-weight: 750;
  font-size: 14px;
}
.nav-links a:hover { background: #f1e7d9; color: var(--brand); }
.nav-links .nav-cta { background: var(--brand); color: #fff; }
.nav-links .nav-cta:hover { background: var(--brand-dark); color: #fff; }

.hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(115deg, rgba(143, 17, 17, .10), rgba(18, 100, 95, .08) 38%, rgba(255, 253, 248, .96)),
    linear-gradient(180deg, #fffdf8, #f7efe6);
  border-bottom: 1px solid var(--line);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(143,17,17,.055) 1px, transparent 1px), linear-gradient(90deg, rgba(18,100,95,.05) 1px, transparent 1px);
  background-size: 42px 42px;
  pointer-events: none;
}
.hero-grid {
  position: relative;
  z-index: 1;
  min-height: 650px;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 44px;
  padding: 70px 0 54px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--teal);
  font-weight: 850;
  letter-spacing: 0;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--teal);
}
h1, h2, h3 { line-height: 1.18; letter-spacing: 0; }
h1 {
  margin: 14px 0 18px;
  font-size: clamp(36px, 7vw, 70px);
  max-width: 820px;
}
.hero-lead {
  max-width: 720px;
  color: #4c403b;
  font-size: 18px;
}
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 850;
  background: #fff;
  color: var(--ink);
}
.btn.primary { border-color: var(--brand); background: var(--brand); color: #fff; }
.btn.primary:hover { background: var(--brand-dark); }
.btn.secondary { border-color: rgba(18,100,95,.32); color: var(--teal); }
.btn.ghost { background: transparent; }
.proof-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 34px;
}
.proof {
  border: 1px solid var(--line);
  background: rgba(255,255,255,.72);
  padding: 14px;
  border-radius: 8px;
}
.proof strong { display: block; color: var(--brand); font-size: 20px; line-height: 1.2; }
.proof span { color: var(--muted); font-size: 13px; }

.visual-panel {
  position: relative;
  min-height: 500px;
  display: grid;
  place-items: center;
}
.consult-diagram {
  width: min(430px, 100%);
  aspect-ratio: 1;
  border: 1px solid rgba(181,139,42,.32);
  border-radius: 50%;
  background:
    radial-gradient(circle at center, #fffdf8 0 24%, transparent 25%),
    conic-gradient(from 90deg, var(--brand) 0 25%, #b77519 25% 50%, var(--teal) 50% 75%, var(--brand-dark) 75% 100%);
  box-shadow: var(--shadow);
  display: grid;
  place-items: center;
  color: #fff;
}
.consult-diagram .center {
  width: 42%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #fffdf8;
  display: grid;
  place-items: center;
  color: var(--brand);
  text-align: center;
  border: 1px solid rgba(143,17,17,.14);
}
.center b { font-size: 48px; display: block; line-height: 1; }
.center span { display: block; color: #6d5148; font-size: 13px; font-weight: 800; margin-top: 6px; }
.float-note {
  position: absolute;
  width: 190px;
  background: rgba(255,255,255,.92);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  box-shadow: 0 12px 30px rgba(53, 34, 25, .10);
}
.float-note b { display: block; color: var(--ink); }
.float-note span { display: block; color: var(--muted); font-size: 13px; margin-top: 2px; }
.note-a { left: 0; top: 42px; }
.note-b { right: 0; top: 115px; }
.note-c { left: 30px; bottom: 70px; }
.note-d { right: 12px; bottom: 34px; }

.section { padding: 72px 0; }
.section.alt { background: #fffdf8; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 780px; margin-bottom: 32px; }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-kicker { color: var(--teal); font-weight: 900; }
.section h2 { margin: 8px 0 12px; font-size: clamp(28px, 4vw, 44px); }
.section p { color: var(--muted); }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  box-shadow: 0 8px 24px rgba(65, 38, 26, .06);
}
.card h3 { margin: 0 0 10px; font-size: 22px; }
.card p { margin: 0 0 14px; }
.card .price { color: var(--brand); font-size: 24px; font-weight: 900; margin: 10px 0; }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.tag {
  border: 1px solid rgba(18,100,95,.22);
  background: rgba(18,100,95,.07);
  color: var(--teal);
  padding: 4px 8px;
  border-radius: 8px;
  font-weight: 750;
  font-size: 13px;
}
.list { padding-left: 18px; margin: 12px 0 0; color: #4e413c; }
.list li { margin: 6px 0; }

.service-card { display: flex; flex-direction: column; min-height: 100%; }
.service-card .btn { margin-top: auto; width: fit-content; }
.flow { counter-reset: step; display: grid; gap: 12px; }
.flow-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  align-items: start;
  padding: 18px;
  border: 1px solid var(--line);
  background: #fffdf8;
  border-radius: 8px;
}
.flow-item::before {
  counter-increment: step;
  content: counter(step);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--brand);
  color: #fff;
  font-weight: 900;
}
.flow-item b { display: block; margin-bottom: 4px; }
.flow-item span { color: var(--muted); }

.notice {
  border-left: 4px solid var(--teal);
  background: rgba(18,100,95,.07);
  padding: 16px 18px;
  border-radius: 8px;
  color: #3e3430;
}
.cta-band {
  background: linear-gradient(135deg, var(--brand-dark), var(--brand) 46%, var(--teal));
  color: #fff;
  padding: 38px;
  border-radius: 8px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 22px;
  align-items: center;
}
.cta-band p { color: rgba(255,255,255,.82); margin: 8px 0 0; }
.cta-band .btn { border-color: rgba(255,255,255,.5); }

.page-hero {
  padding: 74px 0 58px;
  background:
    linear-gradient(135deg, rgba(143,17,17,.11), rgba(18,100,95,.08)),
    #fffdf8;
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { font-size: clamp(34px, 5vw, 58px); }
.page-hero p { max-width: 780px; color: var(--muted); font-size: 18px; }
.breadcrumb { color: var(--teal); font-weight: 800; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 6px; }
label { font-weight: 850; }
input, select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 13px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}
textarea { min-height: 130px; resize: vertical; }
.form-full { grid-column: 1 / -1; }
.form-message { min-height: 26px; margin-top: 10px; font-weight: 800; color: var(--brand); }
.form-message.ok { color: var(--teal); }

.footer {
  background: #181211;
  color: rgba(255,255,255,.78);
  padding: 36px 0;
}
.footer a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 24px; }
.footer small { color: rgba(255,255,255,.58); display: block; margin-top: 14px; }

@media (max-width: 920px) {
  .nav { align-items: flex-start; flex-direction: column; padding: 12px 0; }
  .nav-links { justify-content: flex-start; }
  .hero-grid { grid-template-columns: 1fr; min-height: auto; padding-top: 48px; }
  .visual-panel { min-height: 380px; }
  .proof-row, .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr 1fr; }
  .cta-band { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .wrap { width: min(100% - 24px, 1160px); }
  .nav-links a { font-size: 13px; padding: 7px 8px; }
  .hero-grid { gap: 24px; padding-bottom: 38px; }
  .hero-lead { font-size: 16px; }
  .proof-row, .grid-4, .grid-3, .grid-2, .form-grid { grid-template-columns: 1fr; }
  .visual-panel { min-height: 310px; }
  .consult-diagram { width: min(280px, 92%); }
  .center b { font-size: 34px; }
  .float-note { position: static; width: 100%; margin-top: 8px; }
  .visual-panel { display: block; }
  .section { padding: 52px 0; }
  .cta-band { padding: 24px; }
  .footer-grid { grid-template-columns: 1fr; }
}

