/* Carelixer — medical weight loss. One stylesheet, no external requests. */
:root {
  --cream: #faf6ef;
  --sand: #f1e8da;
  --sand-deep: #e6d9c4;
  --ink: #16302c;
  --muted: #4f6a65;
  --teal: #13867b;
  --teal-deep: #0c5e56;
  --teal-soft: #d9efe9;
  --apricot: #e08a4f;
  --white: #ffffff;
  --line: rgba(22, 48, 44, 0.12);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(22, 48, 44, 0.06), 0 12px 32px rgba(22, 48, 44, 0.08);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 17px/1.6 var(--sans);
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--teal-deep); text-underline-offset: 3px; }
a:hover { color: var(--teal); }
:focus-visible { outline: 3px solid var(--apricot); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(1120px, 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--white); padding: 8px 14px; border-radius: 8px; z-index: 20; }
.skip:focus { left: 12px; }

h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.12; letter-spacing: -0.01em; text-wrap: balance; margin: 0; }
h1 { font-size: clamp(2.4rem, 5.6vw, 4.1rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); }
h3 { font-size: 1.3rem; }
p { margin: 0; }
.eyebrow {
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--teal-deep);
}

/* Header */
.site-head { position: sticky; top: 0; z-index: 10; background: rgba(250, 246, 239, 0.92); backdrop-filter: saturate(140%) blur(10px); border-bottom: 1px solid var(--line); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand svg { width: 34px; height: 34px; }
.brand span { font-family: var(--serif); font-size: 1.45rem; font-weight: 600; letter-spacing: 0.01em; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { color: var(--ink); text-decoration: none; font-size: 0.95rem; }
.nav a:hover { color: var(--teal-deep); }
.nav .call { white-space: nowrap; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 22px; border-radius: 999px; font-weight: 600; font-size: 1rem; text-decoration: none;
  border: 2px solid transparent; transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn-primary { background: var(--teal-deep); color: var(--white); }
.btn-primary:hover { background: var(--ink); color: var(--white); }
.btn-ghost { border-color: var(--teal-deep); color: var(--teal-deep); background: transparent; }
.btn-ghost:hover { background: var(--teal-soft); color: var(--teal-deep); }
.btn-small { padding: 9px 16px; font-size: 0.92rem; }
.btn svg { width: 18px; height: 18px; }

/* Hero */
.hero { position: relative; overflow: hidden; padding-block: clamp(56px, 9vw, 112px) clamp(56px, 8vw, 96px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.9fr); gap: clamp(32px, 6vw, 72px); align-items: center; }
.hero h1 { margin-top: 18px; }
.hero .lead { margin-top: 22px; font-size: 1.2rem; color: var(--muted); max-width: 34em; }
.hero .actions { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero-art { position: absolute; inset: auto -120px -160px auto; width: 560px; opacity: 0.55; pointer-events: none; z-index: 0; }
.hero-grid > * { position: relative; z-index: 1; }

.price-card {
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 30px 30px 26px;
  border: 1px solid var(--line);
}
.price-card .label { font-size: 0.85rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.price-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-block: 16px; border-bottom: 1px dashed var(--line); }
.price-row:last-of-type { border-bottom: 0; }
.price-row .what { font-size: 1.02rem; }
.price-row .what small { display: block; color: var(--muted); font-size: 0.88rem; }
.price-row .amount { font-family: var(--serif); font-size: 2.2rem; font-weight: 600; color: var(--teal-deep); font-variant-numeric: tabular-nums; }
.price-total { margin-top: 6px; background: var(--teal-soft); border-radius: 12px; padding: 14px 16px; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.price-total span { min-width: 0; }
.price-total strong { font-family: var(--serif); font-size: 1.45rem; color: var(--teal-deep); font-variant-numeric: tabular-nums; white-space: nowrap; }
.price-note { margin-top: 14px; color: var(--muted); font-size: 0.92rem; }

/* Sections */
section { scroll-margin-top: 80px; }
.band { padding-block: clamp(64px, 9vw, 112px); }
.band-sand { background: var(--sand); }
.section-head { max-width: 40em; }
.section-head p { margin-top: 14px; color: var(--muted); font-size: 1.1rem; }

.steps { margin-top: 44px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; counter-reset: step; list-style: none; padding: 0; }
.step { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px 30px; }
.band-sand .step { background: var(--white); }
.step::before {
  counter-increment: step; content: counter(step);
  display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  background: var(--teal-deep); color: var(--white); font-family: var(--serif); font-size: 1.25rem; font-weight: 600;
}
.step h3 { margin-top: 18px; }
.step p { margin-top: 10px; color: var(--muted); }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.points { margin: 28px 0 0; padding: 0; list-style: none; display: grid; gap: 18px; }
.points li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 14px; align-items: start; }
.points svg { width: 26px; height: 26px; color: var(--teal); margin-top: 2px; }
.points strong { display: block; }
.points span { color: var(--muted); }

.quote-card { background: var(--teal-deep); color: var(--white); border-radius: var(--radius); padding: clamp(28px, 4vw, 44px); box-shadow: var(--shadow); }
.quote-card .eyebrow { color: #bfe6de; }
.quote-card h3 { margin-top: 14px; font-size: 1.8rem; }
.quote-card p { margin-top: 14px; color: #e3f3ef; }
.quote-card .fine { margin-top: 22px; font-size: 0.9rem; color: #bfe6de; border-top: 1px solid rgba(255,255,255,0.18); padding-top: 16px; }

/* FAQ */
.faq { margin-top: 36px; display: grid; gap: 12px; max-width: 820px; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 0 22px; }
.faq summary { cursor: pointer; list-style: none; padding: 20px 0; font-weight: 600; font-size: 1.05rem; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--serif); font-size: 1.5rem; line-height: 1; color: var(--teal-deep); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 20px; color: var(--muted); max-width: 44em; }

/* Visit */
.visit { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.visit address { font-style: normal; margin-top: 18px; font-size: 1.15rem; }
.visit .actions { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 12px; }
.hours { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 26px; }
.hours h3 { font-size: 1.15rem; }
.hours table { width: 100%; border-collapse: collapse; margin-top: 12px; font-variant-numeric: tabular-nums; }
.hours td { padding: 8px 0; border-bottom: 1px solid var(--line); }
.hours tr:last-child td { border-bottom: 0; }
.hours td:last-child { text-align: right; color: var(--muted); }

/* Footer */
.site-foot { background: var(--ink); color: #c9d8d4; padding-block: 48px 36px; font-size: 0.92rem; }
.site-foot .wrap { display: grid; gap: 22px; }
.site-foot .brand { color: var(--white); }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 28px; }
.site-foot a { color: var(--white); }
.site-foot .fine { color: #9fb5b0; font-size: 0.85rem; line-height: 1.55; }

/* Plain pages */
.page { padding-block: clamp(48px, 8vw, 96px); }
.page .prose { max-width: 42em; }
.page .prose h1 { font-size: clamp(2rem, 4.4vw, 3rem); }
.page .prose h2 { font-size: 1.5rem; margin-top: 34px; }
.page .prose p, .page .prose li { color: var(--muted); }
.page .prose p { margin-top: 14px; }

/* Responsive */
@media (max-width: 900px) {
  .hero-grid, .split, .visit, .foot-grid { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .nav a:not(.call):not(.lang) { display: none; }
  .hero-art { width: 420px; inset: auto -140px -120px auto; opacity: 0.4; }
}
@media (max-width: 420px) {
  body { font-size: 16px; }
  .wrap { width: min(1120px, 100% - 32px); }
  .brand span { font-size: 1.3rem; }
  .nav .call .num { display: none; }
  .price-card { padding: 24px 20px 22px; }
  .price-row .amount { font-size: 1.9rem; }
}
/* Chinese pages */
html[lang^="zh"] {
  --serif: "Songti SC", "STSong", "Noto Serif SC", "Source Han Serif SC", "SimSun", Georgia, serif;
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, -apple-system, sans-serif;
}
html[lang^="zh"] body { line-height: 1.8; }
html[lang^="zh"] h1, html[lang^="zh"] h2, html[lang^="zh"] h3 { letter-spacing: 0; line-height: 1.3; }
html[lang^="zh"] .eyebrow { letter-spacing: 0.06em; }
.nav .lang { font-weight: 600; color: var(--teal-deep); }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
