:root {
  --ink: #17211f;
  --muted: #5e6b67;
  --paper: #f8f6f1;
  --white: #ffffff;
  --jade: #176c64;
  --jade-dark: #0f4d48;
  --rose: #b66b74;
  --gold: #bd9252;
  --mist: #e8eef0;
  --line: rgba(23, 33, 31, 0.13);
  --shadow: 0 24px 70px rgba(31, 42, 38, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    "PingFang SC",
    "Microsoft YaHei",
    "Noto Sans CJK SC",
    system-ui,
    -apple-system,
    sans-serif;
  line-height: 1.65;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 14px clamp(20px, 5vw, 72px);
  background: rgba(248, 246, 241, 0.88);
  border-bottom: 1px solid rgba(23, 33, 31, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  flex: 0 0 40px;
  color: var(--white);
  font-weight: 700;
  background: var(--jade);
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(23, 108, 100, 0.22);
}

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

.brand strong {
  overflow: hidden;
  font-size: 16px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.25;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.6vw, 30px);
  color: #2d3b38;
  font-size: 14px;
}

.nav-links a {
  position: relative;
  padding: 8px 0;
}

.nav-links a::after {
  position: absolute;
  right: 0;
  bottom: 3px;
  left: 0;
  height: 2px;
  background: var(--rose);
  content: "";
  opacity: 0;
  transform: scaleX(0.4);
  transition: opacity 180ms ease, transform 180ms ease;
}

.nav-links a:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

.section-band {
  padding-right: clamp(20px, 5vw, 72px);
  padding-left: clamp(20px, 5vw, 72px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 1.05fr);
  align-items: center;
  gap: clamp(30px, 5vw, 76px);
  min-height: min(690px, 82svh);
  padding-top: clamp(34px, 6vh, 66px);
  padding-bottom: clamp(42px, 6vh, 72px);
  background:
    linear-gradient(90deg, rgba(248, 246, 241, 0.98), rgba(248, 246, 241, 0.82) 47%, rgba(248, 246, 241, 0.54)),
    radial-gradient(circle at 15% 12%, rgba(189, 146, 82, 0.13), transparent 26%),
    var(--paper);
}

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

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

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(40px, 5.6vw, 68px);
  line-height: 1.06;
  font-weight: 800;
}

.hero-lede {
  max-width: 620px;
  margin: 22px 0 0;
  color: #3b4a46;
  font-size: 19px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

.button.primary {
  color: var(--white);
  background: var(--jade);
  box-shadow: 0 16px 32px rgba(23, 108, 100, 0.2);
}

.button.primary:hover {
  background: var(--jade-dark);
}

.button.secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.62);
  border-color: var(--line);
}

.button.full {
  width: 100%;
  margin-top: 6px;
}

.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 26px 0 0;
  list-style: none;
}

.trust-list::-webkit-scrollbar {
  display: none;
}

.trust-list li {
  padding: 8px 12px;
  color: #33413e;
  font-size: 14px;
  background: rgba(255, 255, 255, 0.64);
  border: 1px solid var(--line);
  border-radius: 8px;
}

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

.hero-visual img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
}

.hero-visual::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 52%, rgba(14, 30, 27, 0.42));
  content: "";
}

.visual-note {
  position: absolute;
  right: 20px;
  bottom: 20px;
  z-index: 1;
  display: grid;
  min-width: 132px;
  padding: 14px 16px;
  color: var(--white);
  background: rgba(15, 29, 27, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  backdrop-filter: blur(14px);
}

.visual-note strong {
  font-size: 38px;
  line-height: 1;
}

.visual-note span {
  margin-top: 4px;
  font-size: 13px;
}

.intro,
.partners,
.doctors,
.appointment,
.service,
.process,
.contact {
  padding-top: clamp(72px, 10vw, 112px);
  padding-bottom: clamp(72px, 10vw, 112px);
}

.intro,
.service,
.doctors {
  background: var(--white);
}

.section-heading {
  max-width: 820px;
  margin-bottom: 34px;
}

.section-heading.compact {
  max-width: 680px;
}

.section-heading h2,
.contact h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.18;
}

.section-heading p:not(.eyebrow),
.contact-copy p {
  max-width: 760px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 17px;
}

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

.intro-grid article,
.service-list article,
.doctor-card,
.notice,
.contact-panel,
.appointment-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.intro-grid article {
  padding: 26px;
  min-height: 190px;
}

.intro-grid h3,
.service-list h3,
.notice h3 {
  margin: 0 0 10px;
  font-size: 21px;
  line-height: 1.3;
}

.intro-grid p,
.service-list p,
.notice p {
  margin: 0;
  color: var(--muted);
}

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

.partner-grid span,
.doctor-card {
  display: flex;
}

.partner-grid span {
  align-items: center;
  justify-content: center;
  min-height: 86px;
  padding: 16px;
  color: #20312d;
  font-size: 18px;
  font-weight: 700;
  text-align: center;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.institution-card {
  display: grid;
  gap: 8px;
  align-items: start;
  justify-content: stretch;
  min-height: 150px;
  text-align: left;
}

.institution-card strong {
  font-size: 20px;
}

.institution-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 400;
  text-align: left;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  padding: 3px 8px;
  color: #27433f;
  font-size: 12px;
  font-weight: 700;
  background: #eef6f4;
  border: 1px solid rgba(23, 108, 100, 0.14);
  border-radius: 8px;
}

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

.doctor-card {
  overflow: hidden;
  flex-direction: column;
}

.doctor-image {
  height: 210px;
  background:
    linear-gradient(135deg, rgba(23, 108, 100, 0.16), rgba(182, 107, 116, 0.12)),
    #eef4f2;
}

.doctor-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.doctor-body {
  display: grid;
  gap: 9px;
  padding: 20px;
}

.doctor-body h3 {
  margin: 0;
  font-size: 21px;
}

.doctor-meta,
.doctor-body p,
.empty-note {
  margin: 0;
  color: var(--muted);
}

.appointment {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(320px, 0.58fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: start;
  background:
    linear-gradient(180deg, rgba(23, 108, 100, 0.06), transparent 48%),
    var(--paper);
}

.appointment-copy h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.18;
}

.appointment-copy > p:not(.eyebrow) {
  max-width: 700px;
  margin: 14px 0 22px;
  color: var(--muted);
  font-size: 17px;
}

.appointment .notice {
  padding: 24px;
  background: #f3f7f7;
  border-color: rgba(23, 108, 100, 0.22);
}

.appointment-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 24px;
  box-shadow: 0 16px 44px rgba(31, 42, 38, 0.1);
}

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

.appointment-form label span {
  color: #34413e;
  font-size: 13px;
  font-weight: 700;
}

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

.appointment-form textarea {
  resize: vertical;
}

.appointment-form input:focus,
.appointment-form textarea:focus,
.appointment-form select:focus {
  border-color: rgba(23, 108, 100, 0.48);
  box-shadow: 0 0 0 3px rgba(23, 108, 100, 0.1);
}

.appointment-form .wide {
  grid-column: 1 / -1;
}

.form-message {
  grid-column: 1 / -1;
  min-height: 24px;
  margin: 0;
  color: var(--jade);
  font-weight: 700;
}

.form-message.error {
  color: #b42318;
}

.partner-grid span:nth-child(3n + 1) {
  border-top-color: rgba(23, 108, 100, 0.38);
}

.partner-grid span:nth-child(3n + 2) {
  border-top-color: rgba(182, 107, 116, 0.38);
}

.partner-grid span:nth-child(3n) {
  border-top-color: rgba(189, 146, 82, 0.44);
}

.service-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.42fr);
  gap: 22px;
  align-items: start;
}

.service-list {
  display: grid;
  gap: 14px;
}

.service-list article {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 24px;
}

.icon {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  color: var(--white);
  font-size: 14px;
  font-weight: 800;
  background: var(--rose);
  border-radius: 8px;
}

.notice {
  position: sticky;
  top: 96px;
  padding: 26px;
  background: #f3f7f7;
  border-color: rgba(23, 108, 100, 0.22);
}

.process {
  background:
    linear-gradient(180deg, rgba(23, 108, 100, 0.06), transparent 46%),
    var(--paper);
}

.process-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  padding: 0;
  margin: 0;
  counter-reset: step;
  list-style: none;
}

.process-list li {
  position: relative;
  min-height: 220px;
  padding: 78px 22px 24px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.process-list li::before {
  position: absolute;
  top: 24px;
  left: 22px;
  color: var(--gold);
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
  counter-increment: step;
  content: "0" counter(step);
}

.process-list strong,
.process-list span {
  display: block;
}

.process-list strong {
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 1.3;
}

.process-list span {
  color: var(--muted);
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
  color: var(--white);
  background:
    linear-gradient(120deg, rgba(13, 64, 59, 0.98), rgba(23, 108, 100, 0.92)),
    #114f4a;
}

.contact .eyebrow,
.contact-copy p {
  color: rgba(255, 255, 255, 0.78);
}

.contact-panel {
  display: grid;
  gap: 12px;
  padding: 24px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 26px 60px rgba(7, 37, 33, 0.24);
}

.contact-panel div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 56px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.contact-item.note {
  align-items: flex-start;
  flex-direction: column;
}

.contact-item.note strong {
  text-align: left;
}

.contact-panel span {
  color: var(--muted);
}

.contact-panel strong {
  text-align: right;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 24px clamp(20px, 5vw, 72px);
  color: var(--muted);
  font-size: 13px;
  background: #eef1ee;
}

.site-footer p {
  max-width: 980px;
  margin: 0;
}

.site-footer a {
  font-weight: 700;
}

@media (max-width: 920px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .nav-links {
    width: 100%;
    justify-content: space-between;
    overflow-x: auto;
    padding-bottom: 2px;
  }

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

  .hero {
    min-height: auto;
  }

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

  .hero-visual img {
    min-height: 360px;
  }

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

  .notice {
    position: static;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 12px 18px;
  }

  .brand {
    align-items: flex-start;
  }

  .brand small {
    display: none;
  }

  .nav-links {
    gap: 18px;
    font-size: 13px;
  }

  .section-band {
    padding-right: 18px;
    padding-left: 18px;
  }

  .hero {
    padding-top: 34px;
    padding-bottom: 28px;
  }

  h1 {
    font-size: 38px;
  }

  .hero-lede {
    font-size: 17px;
    margin-top: 18px;
  }

  .hero-actions {
    margin-top: 22px;
  }

  .trust-list {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    margin-top: 20px;
    padding-bottom: 2px;
  }

  .trust-list li {
    flex: 0 0 auto;
  }

  .button {
    width: 100%;
  }

  .hero-visual,
  .hero-visual img {
    min-height: 190px;
  }

  .hero-visual {
    margin-top: -2px;
  }

  .visual-note {
    min-width: 104px;
    padding: 10px 12px;
  }

  .visual-note strong {
    font-size: 28px;
  }

  .visual-note span {
    font-size: 12px;
  }

  .intro,
  .partners,
  .service,
  .process,
  .contact {
    padding-top: 58px;
    padding-bottom: 58px;
  }

  .intro-grid,
  .partner-grid,
  .doctor-grid,
  .process-list {
    grid-template-columns: 1fr;
  }

  .intro-grid article,
  .service-list article,
  .appointment-form,
  .notice,
  .contact-panel {
    padding: 20px;
  }

  .appointment-form {
    grid-template-columns: 1fr;
  }

  .service-list article {
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 14px;
  }

  .icon {
    width: 44px;
    height: 44px;
  }

  .process-list li {
    min-height: auto;
  }

  .visual-note {
    right: 14px;
    bottom: 14px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
