:root {
  --ink: #17322f;
  --muted: #5d6d68;
  --green: #2f745d;
  --green-dark: #205443;
  --lime: #dbe97d;
  --cream: #f6f3e9;
  --white: #fffefb;
  --line: rgba(23, 50, 47, .14);
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: "PingFang SC", "Microsoft YaHei", system-ui, sans-serif; line-height: 1.7; }
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; }

.site-header { position: fixed; inset: 0 0 auto; z-index: 20; height: 82px; display: flex; align-items: center; justify-content: space-between; padding: 0 clamp(24px, 5vw, 76px); color: white; background: linear-gradient(to bottom, rgba(9, 31, 27, .76), transparent); }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--lime); color: var(--green-dark); font-family: "Songti SC", serif; font-size: 22px; font-weight: 700; }
.brand strong, .brand small { display: block; }
.brand strong { letter-spacing: .08em; }
.brand small { margin-top: -3px; font-size: 9px; letter-spacing: .17em; opacity: .78; }
nav { display: flex; align-items: center; gap: 34px; font-size: 14px; }
nav a { opacity: .88; }
nav a:hover { opacity: 1; }
.nav-cta { padding: 9px 18px; border: 1px solid rgba(255,255,255,.6); border-radius: 999px; }
.menu-button { display: none; color: white; background: transparent; border: 1px solid rgba(255,255,255,.5); border-radius: 999px; padding: 8px 14px; }

.hero { position: relative; min-height: 92vh; display: flex; align-items: center; overflow: hidden; color: white; }
.hero-image, .hero-overlay { position: absolute; inset: 0; }
.hero-image { background: url("assets/clinic-exterior.jpg") center/cover no-repeat; transform: scale(1.02); }
.hero-overlay { background: linear-gradient(90deg, rgba(10,37,31,.9) 0%, rgba(10,37,31,.54) 48%, rgba(10,37,31,.08) 80%), linear-gradient(0deg, rgba(10,37,31,.36), transparent 44%); }
.hero-content { position: relative; z-index: 2; width: min(760px, 88vw); margin-left: clamp(24px, 9vw, 145px); padding-top: 72px; }
.eyebrow { margin: 0 0 16px; color: var(--lime); font-size: 13px; font-weight: 700; letter-spacing: .23em; text-transform: uppercase; }
.eyebrow.dark { color: var(--green); }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 26px; font-family: "Songti SC", "STSong", serif; font-size: clamp(48px, 6.2vw, 88px); font-weight: 500; line-height: 1.13; letter-spacing: -.04em; }
.hero-content > p:not(.eyebrow) { max-width: 580px; font-size: clamp(16px, 1.7vw, 20px); color: rgba(255,255,255,.88); }
.hero-actions { display: flex; gap: 14px; margin-top: 36px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 26px; border-radius: 999px; font-weight: 700; transition: transform .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button.primary { color: var(--green-dark); background: var(--lime); }
.button.ghost { border: 1px solid rgba(255,255,255,.6); color: white; }
.button.light { color: var(--green-dark); background: white; }
.scroll-cue { position: absolute; z-index: 2; right: clamp(24px, 5vw, 76px); bottom: 34px; font-size: 13px; letter-spacing: .1em; }
.scroll-cue span { margin-left: 8px; font-size: 18px; }

.section { padding: clamp(74px, 9vw, 132px) clamp(24px, 8vw, 128px); }
.intro { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 8vw, 140px); background: var(--cream); }
h2 { margin-bottom: 20px; font-family: "Songti SC", "STSong", serif; font-size: clamp(36px, 4vw, 58px); font-weight: 500; line-height: 1.25; letter-spacing: -.03em; }
.intro-copy { max-width: 600px; font-size: 18px; color: var(--muted); }
.note { padding-top: 18px; border-top: 1px solid var(--line); font-size: 14px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 52px; }
.section-heading > p { max-width: 430px; color: var(--muted); }
.section-heading.compact { margin-bottom: 32px; }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.service-grid article { min-height: 285px; padding: 28px 28px 36px; border-right: 1px solid var(--line); }
.service-grid article:last-child { border-right: 0; }
.service-grid span { color: var(--green); font-size: 13px; font-weight: 700; }
.service-grid h3 { margin: 58px 0 12px; font-size: 24px; }
.service-grid p { color: var(--muted); font-size: 15px; }

.environment { background: #edf2eb; }
.gallery { display: grid; grid-template-columns: 1.25fr .75fr; grid-template-rows: 1fr 1fr; gap: 18px; }
.gallery figure { position: relative; margin: 0; min-height: 260px; overflow: hidden; border-radius: var(--radius); }
.gallery-large { grid-row: 1 / 3; }
.gallery img { height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery figure:hover img { transform: scale(1.025); }
.gallery figcaption { position: absolute; inset: auto 16px 16px; width: fit-content; padding: 8px 13px; border-radius: 999px; color: white; background: rgba(15,42,36,.72); backdrop-filter: blur(8px); font-size: 12px; }

.location-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.location-list article { display: flex; flex-direction: column; padding: 34px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--cream); }
.location-list span { display: inline-block; padding: 5px 10px; border-radius: 999px; color: var(--green-dark); background: rgba(219,233,125,.7); font-size: 12px; font-weight: 700; }
.location-list h3 { margin: 36px 0 2px; font-size: 25px; }
.location-list p { color: var(--muted); }
.location-list .clinic-type { margin-bottom: 18px; color: var(--green); font-size: 13px; font-weight: 700; }
.phone { width: fit-content; margin: 4px 0 10px; color: var(--green-dark); font-size: 22px; font-weight: 800; letter-spacing: .02em; }
.hours { padding: 12px 0 18px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.qr { display: flex; align-items: center; gap: 16px; margin-top: auto; padding-top: 24px; }
.qr img { width: 92px; height: 92px; padding: 5px; border: 1px solid var(--line); border-radius: 12px; background: white; object-fit: contain; }
.qr p { margin: 0; color: var(--ink); font-weight: 700; }
.qr small { color: var(--muted); font-weight: 400; }

.contact { display: flex; align-items: center; justify-content: space-between; gap: 40px; color: white; background: var(--green-dark); }
.contact > div { max-width: 760px; }
.contact h2 { margin-bottom: 12px; }
.contact p:last-child { color: rgba(255,255,255,.72); }
footer { display: grid; grid-template-columns: 1fr 1.5fr auto; align-items: center; gap: 32px; padding: 34px clamp(24px, 5vw, 76px); color: var(--muted); background: #102e29; font-size: 12px; }
.footer-brand { color: white; }
footer p { margin: 0; }

@media (max-width: 900px) {
  nav { display: none; position: absolute; top: 72px; right: 20px; flex-direction: column; align-items: stretch; gap: 0; width: 210px; padding: 12px; border-radius: 18px; color: var(--ink); background: white; box-shadow: 0 20px 50px rgba(0,0,0,.2); }
  nav.open { display: flex; }
  nav a { padding: 12px 14px; }
  .nav-cta { border-color: var(--line); }
  .menu-button { display: block; }
  .intro { grid-template-columns: 1fr; }
  .section-heading { display: block; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .service-grid article:nth-child(2) { border-right: 0; }
  .service-grid article { border-bottom: 1px solid var(--line); }
  .gallery { grid-template-columns: 1fr; grid-template-rows: auto; }
  .gallery-large { grid-row: auto; }
  .gallery figure { min-height: 340px; }
  .location-list { grid-template-columns: 1fr; }
  .contact { align-items: flex-start; flex-direction: column; }
  footer { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .site-header { height: 70px; }
  .hero { min-height: 820px; }
  .hero-overlay { background: linear-gradient(90deg, rgba(10,37,31,.92), rgba(10,37,31,.42)), linear-gradient(0deg, rgba(10,37,31,.5), transparent); }
  .hero-content { margin-left: 24px; }
  h1 { font-size: 46px; }
  .hero-actions { align-items: stretch; flex-direction: column; width: min(310px, 100%); }
  .scroll-cue { display: none; }
  .service-grid { grid-template-columns: 1fr; }
  .service-grid article { min-height: 220px; border-right: 0; }
  .service-grid h3 { margin-top: 32px; }
  .gallery figure { min-height: 230px; }
}
