:root {
  --ink: #1f2933;
  --muted: #5f6f7a;
  --line: #d9e2e8;
  --paper: #ffffff;
  --mist: #eef6f4;
  --blue: #285a6e;
  --green: #3d7a68;
  --rose: #b66a6f;
  --sun: #d09b45;
  --shadow: 0 20px 50px rgba(31, 41, 51, 0.12);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #f8fbfa;
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  line-height: 1.7;
}

a {
  color: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 12px clamp(18px, 4vw, 56px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 210px;
  color: var(--ink);
  text-decoration: none;
}

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

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 18px;
  line-height: 1.2;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
}

.site-nav a {
  min-height: 40px;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--muted);
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--ink);
  background: var(--mist);
}

.nav-toggle {
  display: none;
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  background: #fff;
}

.section-band {
  width: 100%;
  padding: clamp(48px, 8vw, 96px) clamp(18px, 4vw, 56px);
  background:
    linear-gradient(120deg, rgba(238, 246, 244, 0.95), rgba(255, 255, 255, 0.88)),
    radial-gradient(circle at 80% 20%, rgba(208, 155, 69, 0.18), transparent 34%);
}

.section-band.soft {
  background: #ecf5f2;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.9fr);
  align-items: center;
  gap: clamp(28px, 5vw, 64px);
  min-height: calc(100vh - 72px);
}

.hero-copy {
  max-width: 720px;
}

.eyebrow,
.card-kicker {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 14px;
  font-weight: 700;
}

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

h1 {
  margin-bottom: 18px;
  font-size: clamp(42px, 8vw, 92px);
  line-height: 1.02;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(26px, 4vw, 44px);
  line-height: 1.16;
}

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

.hero-lead {
  max-width: 640px;
  color: #364750;
  font-size: clamp(18px, 2.2vw, 24px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 16px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 18px;
  border: 1px solid var(--blue);
  border-radius: var(--radius);
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

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

.button.secondary {
  color: var(--blue);
  background: #fff;
}

.boundary-note {
  max-width: 620px;
  color: var(--muted);
  font-size: 14px;
}

.hero-media {
  align-self: stretch;
  display: grid;
  min-height: 420px;
  padding: clamp(18px, 3vw, 36px);
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(217, 226, 232, 0.85);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.text-panel {
  align-content: center;
}

.hero-points {
  display: grid;
  gap: 18px;
  margin: 0;
  padding-left: 22px;
}

.hero-points li {
  color: #31414a;
  font-size: 17px;
}

.hero-points strong {
  color: var(--ink);
}

.keyword-section h2 {
  max-width: 900px;
}

.keyword-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0 14px;
}

.keyword-list span {
  padding: 8px 12px;
  border: 1px solid rgba(40, 90, 110, 0.24);
  border-radius: var(--radius);
  color: var(--blue);
  background: #fff;
  font-weight: 700;
}

.geo-matrix-section {
  padding-top: 0;
}

.matrix-intro {
  max-width: 960px;
  color: var(--muted);
  font-size: 18px;
}

.geo-matrix {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

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

.geo-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 12px 32px rgba(31, 41, 51, 0.07);
}

.geo-card p {
  color: var(--muted);
}

.phrase-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.phrase-cloud span {
  padding: 6px 9px;
  border-radius: var(--radius);
  color: #285a6e;
  background: #eef6f4;
  font-size: 13px;
  font-weight: 700;
}

.advertorial-section {
  padding-top: 0;
}

.soft-story {
  display: grid;
  gap: 14px;
  max-width: 980px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 12px 32px rgba(31, 41, 51, 0.07);
}

.soft-story p {
  margin: 0;
  color: #31414a;
  font-size: 17px;
}

.content-wrap {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(44px, 7vw, 86px) 0;
}

.compact-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(320px, 1fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: start;
}

.text-block {
  color: #31414a;
  font-size: 18px;
}

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

.feature-card,
.contact-card,
.appointment-form,
.caution-panel,
.record-panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 32px rgba(31, 41, 51, 0.08);
}

.feature-card {
  padding: 24px;
}

.feature-card p,
.caution-panel p,
.record-panel p,
.source-note,
.privacy-note {
  color: var(--muted);
}

.split {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.split > div {
  max-width: 760px;
}

.page-main {
  min-height: 70vh;
}

.page-hero {
  padding: clamp(48px, 7vw, 92px) clamp(18px, 4vw, 56px);
  background:
    linear-gradient(135deg, rgba(40, 90, 110, 0.12), rgba(61, 122, 104, 0.12)),
    #ffffff;
  border-bottom: 1px solid var(--line);
}

.page-hero > * {
  width: min(980px, 100%);
  margin-left: auto;
  margin-right: auto;
}

.page-hero h1 {
  font-size: clamp(34px, 6vw, 64px);
}

.page-hero p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
}

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

.service-list article,
.faq-list article {
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.service-list h2,
.faq-list h2 {
  font-size: 24px;
}

.service-list p,
.faq-list p {
  color: var(--muted);
}

.caution-panel {
  margin-bottom: 70px;
  padding: 28px;
  border-color: rgba(182, 106, 111, 0.45);
}

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

.step {
  min-height: 150px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.step span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 22px;
  color: #fff;
  background: var(--rose);
  border-radius: 50%;
  font-weight: 800;
}

.step p {
  margin: 0;
  font-weight: 700;
  line-height: 1.4;
}

.faq-list {
  padding-top: 12px;
}

.table-section {
  overflow-x: auto;
}

.record-section {
  padding-top: 0;
}

.record-panel {
  padding: 28px;
}

.record-panel h2 {
  max-width: 780px;
  font-size: clamp(26px, 4vw, 38px);
}

.record-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 24px;
  margin: 24px 0 10px;
}

.record-list div {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.record-list dt {
  color: var(--muted);
  font-size: 13px;
}

.record-list dd {
  margin: 3px 0 0;
  font-weight: 700;
}

.source-note,
.privacy-note {
  font-size: 14px;
}

table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

th,
td {
  padding: 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

th {
  color: var(--blue);
  background: var(--mist);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(280px, 0.72fr);
  gap: 22px;
}

.appointment-form,
.contact-card {
  padding: 28px;
}

.appointment-form {
  display: grid;
  gap: 16px;
}

.appointment-form label {
  display: grid;
  gap: 8px;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  background: #fff;
  font: inherit;
}

textarea {
  resize: vertical;
}

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

.contact-card dl {
  display: grid;
  gap: 14px;
  margin: 0 0 18px;
}

.contact-card div {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.contact-card dt {
  color: var(--muted);
  font-size: 13px;
}

.contact-card dd {
  margin: 2px 0 0;
  font-weight: 700;
}

.site-footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 28px clamp(18px, 4vw, 56px);
  color: #dbe8ec;
  background: #243f4a;
}

.site-footer p {
  margin: 4px 0 0;
  color: #b9ccd2;
}

.site-footer a {
  color: #dbe8ec;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 920px) {
  .site-header {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
  }

  .site-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    padding-top: 8px;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    border-radius: var(--radius);
  }

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

  .hero {
    min-height: auto;
  }

  .hero-media {
    min-height: 300px;
  }

  .feature-grid,
  .service-list,
  .record-list,
  .geo-matrix,
  .geo-matrix.three {
    grid-template-columns: 1fr;
  }

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

  .split,
  .site-footer {
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .brand {
    min-width: 0;
  }

  .brand small {
    display: none;
  }

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

  .button {
    width: 100%;
  }

  .process-steps {
    grid-template-columns: 1fr;
  }

  .appointment-form,
  .contact-card,
  .feature-card {
    padding: 20px;
  }
}
