:root {
  --ink: #172421;
  --muted: #52635e;
  --line: #d8e2dc;
  --paper: #f7faf7;
  --white: #ffffff;
  --teal: #0f3d3e;
  --green: #56a968;
  --gold: #d9a441;
  --soft: #eaf3ed;
  --shadow: 0 18px 50px rgba(22, 42, 35, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

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: 76px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(247, 250, 247, 0.92);
  border-bottom: 1px solid rgba(216, 226, 220, 0.9);
  backdrop-filter: blur(14px);
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: white;
  font-weight: 800;
  background: var(--teal);
  border-radius: 6px;
}

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

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

.nav {
  display: flex;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
}

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

.header-call,
.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 6px;
  font-weight: 700;
  white-space: nowrap;
}

.header-call,
.primary-button {
  color: white;
  background: var(--green);
  box-shadow: 0 10px 22px rgba(86, 169, 104, 0.25);
}

.secondary-button {
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.55);
}

.hero {
  position: relative;
  min-height: 690px;
  display: grid;
  align-items: center;
  overflow: hidden;
  background: var(--teal);
}

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

.hero-media {
  background-image: url("./assets/hero-rehab.jpg");
  background-size: cover;
  background-position: center right;
  filter: saturate(0.96);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(15, 38, 35, 0.92) 0%, rgba(15, 38, 35, 0.72) 42%, rgba(15, 38, 35, 0.1) 100%),
    linear-gradient(0deg, rgba(15, 38, 35, 0.55), rgba(15, 38, 35, 0.04));
}

.hero-content {
  position: relative;
  width: min(720px, calc(100% - 36px));
  margin-left: clamp(18px, 7vw, 92px);
  padding: 88px 0;
  color: white;
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 680px;
  margin-bottom: 22px;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 1.05;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 620px;
  margin-bottom: 32px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 38px;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 620px;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
}

.trust-strip div {
  padding: 18px;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
}

.trust-strip div:last-child {
  border-right: 0;
}

.trust-strip dt {
  font-size: 22px;
  font-weight: 800;
}

.trust-strip dd {
  margin: 2px 0 0;
  color: rgba(255, 255, 255, 0.74);
}

.section {
  padding: clamp(64px, 8vw, 110px) clamp(18px, 5vw, 72px);
}

.service-nav-band {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}

.service-nav-band a {
  display: grid;
  place-items: center;
  min-height: 72px;
  padding: 12px;
  color: var(--teal);
  font-weight: 800;
  background: var(--white);
}

.service-nav-band a:hover {
  background: var(--soft);
}

.local-signal {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}

.local-signal div {
  min-height: 92px;
  padding: 20px clamp(18px, 3vw, 34px);
  background: #fffaf0;
}

.local-signal strong,
.local-signal span,
.local-signal a {
  display: block;
}

.local-signal strong {
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 13px;
}

.local-signal span,
.local-signal a {
  color: var(--teal);
  font-weight: 800;
}

.intro {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) 1.35fr;
  gap: 42px;
  background: var(--white);
}

h2 {
  max-width: 900px;
  margin-bottom: 28px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.15;
  letter-spacing: 0;
}

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

.intro-grid article,
.service-card,
.fact-panel,
.contact-box,
details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.intro-grid article {
  padding: 24px;
}

.intro-grid h3,
.service-card h3,
.contact-box h3,
.fact-panel h3 {
  margin-bottom: 10px;
}

.intro-grid p,
.service-card p,
.proof-copy p,
.location p,
details p,
.footer p {
  color: var(--muted);
}

.services {
  background: var(--soft);
}

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

.service-card {
  min-height: 310px;
  padding: 26px;
  box-shadow: var(--shadow);
}

.service-card span {
  display: inline-flex;
  margin-bottom: 28px;
  color: var(--green);
  font-size: 14px;
  font-weight: 800;
}

.service-card a {
  display: inline-block;
  margin-top: 12px;
  color: var(--teal);
  font-weight: 800;
}

.search-intents {
  background: var(--white);
}

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

.intent-grid a {
  min-height: 170px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.intent-grid a:hover {
  border-color: rgba(15, 61, 62, 0.32);
  background: var(--soft);
}

.intent-grid strong,
.intent-grid span {
  display: block;
}

.intent-grid strong {
  margin-bottom: 10px;
  color: var(--teal);
  font-size: 18px;
}

.intent-grid span {
  color: var(--muted);
}

.process {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 56px;
  background: var(--white);
}

.steps {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  position: relative;
  min-height: 92px;
  padding: 22px 24px 22px 84px;
  border-left: 4px solid var(--green);
  background: var(--paper);
}

.steps li::before {
  position: absolute;
  left: 24px;
  top: 23px;
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  color: var(--green);
  font-weight: 800;
}

.steps strong,
.steps span {
  display: block;
}

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

.proof {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 42px;
  align-items: center;
  background: var(--teal);
  color: white;
}

.proof .section-kicker,
.proof-copy p {
  color: rgba(255, 255, 255, 0.72);
}

.fact-panel {
  padding: 28px;
  color: var(--ink);
  background: white;
}

.fact-panel ul {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.fact-panel li + li {
  margin-top: 10px;
}

.location {
  display: grid;
  grid-template-columns: 1fr 390px;
  gap: 32px;
  align-items: start;
  background: var(--white);
}

.address {
  font-size: 20px;
  font-weight: 700;
}

.contact-box {
  padding: 28px;
  background: var(--soft);
}

.platform-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0;
}

.platform-links span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 800;
  border: 1px solid rgba(15, 61, 62, 0.22);
  border-radius: 999px;
  background: var(--white);
}

.dark {
  width: 100%;
  margin: 8px 0 12px;
  background: var(--teal);
}

.dark-outline {
  width: 100%;
  color: var(--teal);
  border-color: rgba(15, 61, 62, 0.32);
}

.faq {
  background: var(--paper);
}

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

details {
  padding: 22px 24px;
}

summary {
  cursor: pointer;
  font-weight: 800;
}

details p {
  margin: 14px 0 0;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 32px clamp(18px, 5vw, 72px);
  color: white;
  background: #101816;
}

.footer p {
  margin-bottom: 4px;
  color: rgba(255, 255, 255, 0.68);
}

.subpage-hero {
  padding: clamp(76px, 9vw, 128px) clamp(18px, 6vw, 84px);
  color: white;
  background:
    linear-gradient(90deg, rgba(15, 61, 62, 0.94), rgba(15, 61, 62, 0.64)),
    url("./assets/service-rehab.jpg") center / cover;
}

.subpage-hero h1 {
  max-width: 920px;
  margin-bottom: 20px;
}

.subpage-hero p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
}

.content-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 32px;
  align-items: start;
  background: var(--white);
}

.content-main h2 {
  margin-top: 8px;
}

.content-main ul,
.side-panel ul {
  margin-top: 0;
  color: var(--muted);
}

.content-main li + li,
.side-panel li + li {
  margin-top: 10px;
}

.side-panel {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.back-link {
  display: inline-flex;
  margin-bottom: 22px;
  color: var(--gold);
  font-weight: 800;
}

@media (max-width: 980px) {
  .nav {
    display: none;
  }

  .intro,
  .process,
  .proof,
  .location,
  .content-grid {
    grid-template-columns: 1fr;
  }

  .intro-grid,
  .service-list,
  .local-signal,
  .intent-grid,
  .faq-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-nav-band {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero {
    min-height: 650px;
  }
}

@media (max-width: 680px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .header-call {
    width: 100%;
  }

  .hero-content {
    margin-left: 18px;
    padding: 72px 0;
  }

  h1 {
    font-size: 40px;
  }

  .hero-copy {
    font-size: 16px;
  }

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

  .primary-button,
  .secondary-button {
    width: 100%;
  }

  .trust-strip,
  .intro-grid,
  .service-list,
  .local-signal,
  .intent-grid,
  .faq-grid,
  .service-nav-band {
    grid-template-columns: 1fr;
  }

  .trust-strip div {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  }

  .trust-strip div:last-child {
    border-bottom: 0;
  }
}
