/* ============================================================
   颐乐云 · 基于 Web 的智慧养生养老平台
   Visual system: warm paper / jade / cinnabar / brass
   ============================================================ */

:root {
  --paper: #f6f1e6;
  --paper-deep: #efe7d6;
  --surface: #fffdf7;
  --surface-soft: #faf6ec;
  --ink: #173a31;
  --ink-2: #40564e;
  --muted: #5f7068;
  --line: rgba(23, 58, 49, .14);
  --line-strong: rgba(23, 58, 49, .24);
  --jade: #104d3f;
  --jade-dark: #0a3a30;
  --jade-2: #2e6b57;
  --jade-3: #6f9381;
  --mint: #dfece4;
  --mint-soft: #edf4ee;
  --clay: #a95233;
  --clay-dark: #853f29;
  --clay-soft: #f0d7c8;
  --gold: #b18e54;
  --gold-soft: #e9dcc1;
  --danger: #b74535;
  --cream: #fbf5e8;
  --white: #fffefa;

  --shadow-sm: 0 1px 2px rgba(16, 52, 43, .04), 0 8px 22px -18px rgba(16, 52, 43, .35);
  --shadow-md: 0 2px 4px rgba(16, 52, 43, .04), 0 22px 44px -30px rgba(16, 52, 43, .5);
  --shadow-lg: 0 30px 70px -38px rgba(10, 45, 37, .55);

  --r-sm: 12px;
  --r-md: 20px;
  --r-lg: 30px;
  --r-xl: 42px;
  --wrap: 1240px;
  --gutter: clamp(1.15rem, 4vw, 2.5rem);
  --font-display: "Songti SC", "STSong", "Noto Serif SC", "SimSun", "Source Han Serif SC", Georgia, serif;
  --font-body: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", system-ui, sans-serif;
  color-scheme: light;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: 6.4rem;
  -webkit-text-size-adjust: 100%;
}

html.elder { font-size: 18.5px; }

html.elder body { letter-spacing: .01em; }

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  -webkit-tap-highlight-color: transparent;
  background: var(--paper);
  background-image:
    radial-gradient(52rem 38rem at 102% -6%, rgba(188, 98, 65, .10), transparent 62%),
    radial-gradient(46rem 38rem at -8% 18%, rgba(46, 107, 87, .09), transparent 60%),
    radial-gradient(50rem 44rem at 50% 112%, rgba(177, 142, 84, .08), transparent 64%);
  background-attachment: fixed;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  overflow-x: hidden;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  opacity: .026;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.78' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}

body.menu-open { overflow: hidden; }

h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -.012em;
}
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
table { border-collapse: collapse; width: 100%; }
dialog { color: var(--ink); }
::selection { background: var(--clay-soft); color: var(--ink); }

:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 3px solid var(--clay);
  outline-offset: 3px;
  border-radius: 6px;
}

main:focus { outline: none; }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 9999;
  padding: .75rem 1.2rem;
  border-radius: 999px;
  background: var(--jade);
  color: var(--cream);
  font-weight: 700;
  transition: top .2s ease;
}
.skip-link:focus { top: 1rem; }

.wrap {
  width: min(var(--wrap), 100%);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding: clamp(4.6rem, 8vw, 8rem) 0; }
.section[id],
main[id] { scroll-margin-top: 1rem; }
.section--tight { padding: clamp(2.6rem, 5vw, 4.2rem) 0; }
.section--paper { background: var(--paper-deep); }
.section--mint { background: var(--mint-soft); }

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  color: var(--clay);
  font-family: var(--font-body);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .17em;
  line-height: 1.4;
}
.eyebrow::before,
.section-kicker::before {
  content: "";
  width: 1.8rem;
  height: 1px;
  background: currentColor;
  opacity: .75;
}
.eyebrow--light { color: #e3c48e; }

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.4rem 3rem;
  margin-bottom: clamp(2rem, 4vw, 3.4rem);
}
.section-head-main { max-width: 45rem; }
.section-head h2,
.section-title {
  margin-top: .75rem;
  font-size: clamp(2rem, 1.4rem + 2vw, 3.5rem);
  line-height: 1.18;
  letter-spacing: -.03em;
}
.section-head h2 em,
.section-title em { font-style: normal; color: var(--clay); }
.section-head-side {
  max-width: 25rem;
  color: var(--muted);
  font-size: .97rem;
  line-height: 1.9;
}
.section-head-side strong { color: var(--ink); font-weight: 700; }

.lede { color: var(--ink-2); font-size: 1.06rem; line-height: 1.9; }
.muted { color: var(--muted); }
.text-clay { color: var(--clay); }
.text-jade { color: var(--jade); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-weight: 700;
  font-size: .92rem;
  color: var(--jade);
}
.link-arrow svg { width: 1rem; height: 1rem; transition: transform .2s ease; }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------------- Buttons ---------------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  min-height: 3.25rem;
  padding: .75rem 1.45rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font-size: .94rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 1.1rem; height: 1.1rem; flex: none; }
.btn-primary { background: var(--jade); color: var(--cream); box-shadow: 0 14px 28px -20px var(--jade-dark); }
.btn-primary:hover { background: var(--jade-dark); box-shadow: 0 18px 32px -20px var(--jade-dark); }
.btn-clay { background: var(--clay); color: var(--white); box-shadow: 0 14px 28px -20px var(--clay-dark); }
.btn-clay:hover { background: var(--clay-dark); }
.btn-outline { border-color: var(--line-strong); background: rgba(255, 253, 247, .46); color: var(--ink); }
.btn-outline:hover { border-color: var(--jade); background: var(--surface); }
.btn-ghost { color: var(--jade); padding-inline: .35rem; border-radius: .4rem; }
.btn-ghost:hover { color: var(--clay); transform: none; }
.btn-light { background: var(--cream); color: var(--jade-dark); }
.btn-light:hover { background: #fff; }
.btn-sm { min-height: 2.55rem; padding: .55rem 1.05rem; font-size: .84rem; }
.btn-lg { min-height: 3.7rem; padding-inline: 1.8rem; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-arrow {
  display: grid;
  place-items: center;
  width: 1.8rem;
  height: 1.8rem;
  margin-right: -.6rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, .16);
  transition: transform .2s ease, background .2s ease;
}
.btn:hover .btn-arrow { transform: translateX(3px); background: rgba(255, 255, 255, .24); }
.btn-outline .btn-arrow { background: var(--mint); color: var(--jade); }
.btn .btn-arrow svg { width: .9rem; height: .9rem; }

/* ---------------- Top bar ---------------- */
.topbar {
  position: relative;
  z-index: 95;
  background: var(--jade-dark);
  color: rgba(251, 245, 232, .82);
  font-size: .74rem;
  letter-spacing: .02em;
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 2.35rem;
}
.topbar-note,
.topbar-links { display: flex; align-items: center; gap: .45rem; }
.topbar-short { display: none; }
.topbar-phone-label { font-weight: 600; }
.topbar-links { gap: 1.2rem; }
.topbar a { color: var(--cream); font-weight: 700; }
.topbar a:hover { color: #f1d7a7; }
.live-dot {
  position: relative;
  width: .45rem;
  height: .45rem;
  border-radius: 50%;
  background: #8fd0a9;
  box-shadow: 0 0 0 4px rgba(143, 208, 169, .13);
}
.live-dot::after {
  content: "";
  position: absolute;
  inset: -.25rem;
  border-radius: 50%;
  border: 1px solid rgba(143, 208, 169, .45);
  animation: livePulse 2.6s ease-out infinite;
}
@keyframes livePulse {
  0% { transform: scale(.7); opacity: .9; }
  70%, 100% { transform: scale(1.55); opacity: 0; }
}
.topbar-mode {
  border: 0;
  border-bottom: 1px dashed rgba(251, 245, 232, .45);
  padding: 0 0 .12rem;
  background: none;
  color: rgba(251, 245, 232, .9);
  font-size: .74rem;
}
.topbar-mode:hover { color: #f1d7a7; }

/* ---------------- Header ---------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  border-bottom: 1px solid transparent;
  background: rgba(246, 241, 230, .86);
  backdrop-filter: saturate(1.25) blur(18px);
  transition: border-color .25s ease, box-shadow .25s ease, background .25s ease;
}
body.is-scrolled .site-header {
  border-bottom-color: var(--line);
  background: rgba(246, 241, 230, .95);
  box-shadow: 0 12px 30px -28px rgba(16, 52, 43, .5);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.8rem);
  min-height: 5rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .78rem;
  flex: none;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 2.95rem;
  height: 2.95rem;
  border-radius: 50%;
  background: var(--jade);
  color: var(--cream);
  font-family: var(--font-display);
  font-size: 1.6rem;
  line-height: 1;
  box-shadow: inset 0 0 0 3px rgba(251, 245, 232, .2), 0 8px 20px -14px var(--jade-dark);
}
.brand-name { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name strong {
  font-family: var(--font-display);
  font-size: 1.22rem;
  letter-spacing: .12em;
}
.brand-name small {
  margin-top: .2rem;
  color: var(--muted);
  font-size: .52rem;
  font-weight: 700;
  letter-spacing: .2em;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: .2rem;
  margin-left: auto;
}
.main-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 2.5rem;
  padding: .45rem .72rem;
  border-radius: 999px;
  color: var(--ink-2);
  font-size: .9rem;
  font-weight: 600;
  white-space: nowrap;
  transition: color .18s ease, background .18s ease;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: .1rem;
  width: .28rem;
  height: .28rem;
  border-radius: 50%;
  background: var(--clay);
  opacity: 0;
  transform: translateX(-50%) scale(.4);
  transition: opacity .18s ease, transform .18s ease;
}
.main-nav a:hover { color: var(--jade); background: rgba(223, 236, 228, .55); }
.main-nav a.is-active { color: var(--jade); font-weight: 700; }
.main-nav a.is-active::after { opacity: 1; transform: translateX(-50%) scale(1); }
.header-actions {
  display: flex;
  align-items: center;
  gap: .65rem;
  flex: none;
}
.elder-btn {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  min-height: 2.35rem;
  padding: .35rem .72rem;
  border: 1px dashed var(--line-strong);
  border-radius: 999px;
  background: transparent;
  color: var(--ink-2);
  font-size: .75rem;
  font-weight: 700;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.elder-btn b {
  display: grid;
  place-items: center;
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 50%;
  background: var(--mint);
  color: var(--jade);
  font-size: .66rem;
  line-height: 1;
}
.elder-btn:hover { border-color: var(--jade); color: var(--jade); }
.elder-btn.is-on { background: var(--jade); border-style: solid; border-color: var(--jade); color: var(--cream); }
.elder-btn.is-on b { background: rgba(255, 255, 255, .2); color: var(--cream); }
.login-link {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  min-height: 2.35rem;
  padding: .35rem .3rem;
  border: 0;
  background: none;
  color: var(--ink-2);
  font-size: .8rem;
  font-weight: 600;
}
.login-link svg { width: 1.05rem; height: 1.05rem; fill: none; stroke: currentColor; stroke-width: 1.6; }
.login-link:hover { color: var(--jade); }
.login-link.is-logged-in { color: var(--jade); }
.menu-toggle {
  display: none;
  place-items: center;
  width: 2.7rem;
  height: 2.7rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
}
.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
  content: "";
  display: block;
  width: 1.1rem;
  height: 1.5px;
  background: var(--ink);
  transition: transform .2s ease, opacity .2s ease;
}
.menu-toggle span { margin: .24rem 0; }
.menu-toggle[aria-expanded="true"] span { opacity: 0; }
.menu-toggle[aria-expanded="true"]::before { transform: translateY(.4rem) rotate(45deg); }
.menu-toggle[aria-expanded="true"]::after { transform: translateY(-.4rem) rotate(-45deg); }

.mobile-panel {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  padding: 1.3rem var(--gutter) 2rem;
  background: var(--paper);
  background-image: radial-gradient(30rem 26rem at 90% 0%, rgba(188, 98, 65, .14), transparent 60%);
  transform: translateX(102%);
  visibility: hidden;
  transition: transform .32s cubic-bezier(.22, .8, .24, 1), visibility .32s;
  overflow-y: auto;
}
.mobile-panel.is-open { transform: none; visibility: visible; }
.mobile-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}
.mobile-panel-close {
  display: grid;
  place-items: center;
  width: 2.7rem;
  height: 2.7rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  font-size: 1.3rem;
}
.mobile-nav { display: flex; flex-direction: column; margin-top: 1.4rem; }
.mobile-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .95rem 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 1.55rem;
  line-height: 1.3;
}
.mobile-nav a span { font-family: var(--font-body); font-size: .65rem; color: var(--muted); letter-spacing: .16em; }
.mobile-nav a.is-active { color: var(--clay); }
.mobile-panel-actions { display: grid; gap: .7rem; margin-top: auto; padding-top: 2rem; }
.mobile-panel-note { margin-top: 1.2rem; color: var(--muted); font-size: .78rem; text-align: center; }

/* ---------------- Footer ---------------- */
.site-footer {
  position: relative;
  margin-top: 0;
  padding: clamp(3.2rem, 6vw, 5rem) 0 1.5rem;
  overflow: hidden;
  background: #0e2f28;
  color: rgba(251, 245, 232, .7);
}
.site-footer::before {
  content: "";
  position: absolute;
  width: 26rem;
  height: 26rem;
  right: -8rem;
  top: -12rem;
  border: 1px solid rgba(251, 245, 232, .1);
  border-radius: 50%;
  box-shadow: 0 0 0 3rem rgba(251, 245, 232, .022), 0 0 0 6rem rgba(251, 245, 232, .018);
}
.footer-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(15rem, 1.6fr) 1fr 1fr 1.15fr;
  gap: 2.5rem;
  padding-bottom: 2.8rem;
  border-bottom: 1px solid rgba(251, 245, 232, .13);
}
.footer-brand .brand { margin-bottom: 1rem; }
.footer-brand .brand-mark { background: rgba(251, 245, 232, .1); box-shadow: inset 0 0 0 1px rgba(251, 245, 232, .22); }
.footer-brand .brand-name strong { color: var(--cream); }
.footer-brand .brand-name small { color: rgba(251, 245, 232, .45); }
.footer-brand p { max-width: 19rem; font-size: .85rem; line-height: 1.9; color: rgba(251, 245, 232, .64); }
.footer-hotline {
  display: inline-flex;
  flex-direction: column;
  margin-top: 1.3rem;
  padding-left: .9rem;
  border-left: 2px solid var(--clay);
}
.footer-hotline span { font-size: .65rem; letter-spacing: .14em; color: rgba(251, 245, 232, .45); }
.footer-hotline a { font-family: var(--font-display); font-size: 1.25rem; color: var(--cream); letter-spacing: .04em; }
.footer-col h3 {
  margin-bottom: 1.1rem;
  color: rgba(251, 245, 232, .9);
  font-family: var(--font-body);
  font-size: .76rem;
  letter-spacing: .14em;
}
.footer-col ul { display: grid; gap: .6rem; }
.footer-col a,
.footer-col li { font-size: .82rem; color: rgba(251, 245, 232, .64); }
.footer-col a:hover { color: var(--cream); }
.footer-contact li { display: flex; gap: .55rem; line-height: 1.75; }
.footer-contact svg { width: 1rem; height: 1rem; flex: none; margin-top: .25rem; fill: none; stroke: var(--gold); stroke-width: 1.5; }
.footer-bottom {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .8rem 1.5rem;
  padding-top: 1.35rem;
  font-size: .7rem;
  color: rgba(251, 245, 232, .52);
}
.footer-bottom-links { display: flex; flex-wrap: wrap; gap: 1.1rem; }
.footer-bottom a:hover { color: rgba(251, 245, 232, .75); }
.footer-disclaimer { max-width: 52rem; margin-top: .45rem; font-size: .66rem; line-height: 1.7; }

/* ---------------- Reveal ---------------- */
.js .reveal {
  opacity: 0;
  transform: translateY(1.5rem);
  transition: opacity .8s cubic-bezier(.22, .7, .24, 1), transform .8s cubic-bezier(.22, .7, .24, 1);
}
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal-d1 { transition-delay: .08s; }
.js .reveal-d2 { transition-delay: .16s; }
.js .reveal-d3 { transition-delay: .24s; }

/* ---------------- SOS floating button ---------------- */
.sos-fab {
  position: fixed;
  right: 1.35rem;
  bottom: 1.5rem;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4.1rem;
  height: 4.1rem;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 50%;
  background: var(--clay);
  color: #fff;
  box-shadow: 0 14px 30px -14px rgba(116, 43, 25, .65), inset 0 0 0 1px rgba(255, 255, 255, .1);
  transition: transform .2s ease, background .2s ease;
}
.sos-fab:hover { transform: translateY(-3px); background: var(--clay-dark); }
.sos-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: transparent;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .04em;
}
.sos-icon::after {
  content: "";
  position: absolute;
  inset: .18rem;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .35);
  animation: sosPulse 2.4s ease-out infinite;
}
@keyframes sosPulse {
  0% { transform: scale(.75); opacity: .9; }
  75%, 100% { transform: scale(1.3); opacity: 0; }
}
.sos-copy {
  position: absolute;
  right: calc(100% + .7rem);
  bottom: 50%;
  display: flex;
  flex-direction: column;
  min-width: 8.5rem;
  padding: .55rem .8rem;
  border-radius: .65rem;
  background: var(--jade-dark);
  color: var(--cream);
  line-height: 1.35;
  text-align: left;
  white-space: nowrap;
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transform: translateY(50%);
  transition: opacity .2s ease;
}
.sos-copy::after {
  content: "";
  position: absolute;
  right: -.32rem;
  top: 50%;
  width: .6rem;
  height: .6rem;
  background: var(--jade-dark);
  transform: translateY(-50%) rotate(45deg);
}
.sos-fab:hover .sos-copy,
.sos-fab:focus-visible .sos-copy { opacity: 1; }
.sos-copy strong { font-size: .75rem; }
.sos-copy small { font-size: .55rem; color: rgba(251, 245, 232, .6); }

/* ---------------- Dialogs & forms ---------------- */
dialog.modal {
  width: min(60rem, calc(100vw - 2rem));
  max-width: none;
  max-height: calc(100vh - 2rem);
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: var(--r-lg);
  background: transparent;
  overflow: visible;
}
dialog.modal::backdrop {
  background: rgba(8, 31, 26, .56);
  backdrop-filter: blur(7px);
}
dialog.modal[open] { animation: modalIn .26s ease both; }
@keyframes modalIn {
  from { opacity: 0; transform: translateY(10px) scale(.985); }
  to { opacity: 1; transform: none; }
}
dialog.modal--sos { width: min(36rem, calc(100vw - 2rem)); }
.modal-shell {
  position: relative;
  display: grid;
  grid-template-columns: .84fr 1.16fr;
  max-height: calc(100vh - 2rem);
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: 0 40px 100px -30px rgba(4, 25, 20, .6);
  overflow: auto;
}
.modal-aside {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: clamp(1.8rem, 4vw, 2.8rem);
  background: var(--jade);
  color: var(--cream);
  overflow: hidden;
}
.modal-aside::before {
  content: "";
  position: absolute;
  width: 18rem;
  height: 18rem;
  right: -7rem;
  bottom: -7rem;
  border: 1px solid rgba(251, 245, 232, .16);
  border-radius: 50%;
  box-shadow: 0 0 0 2.6rem rgba(251, 245, 232, .035), 0 0 0 5.2rem rgba(251, 245, 232, .025);
}
.modal-aside h2 {
  position: relative;
  margin-top: .35rem;
  font-size: clamp(1.65rem, 3vw, 2.2rem);
  line-height: 1.3;
}
.modal-aside p { position: relative; color: rgba(251, 245, 232, .7); font-size: .88rem; line-height: 1.8; }
.modal-aside-list { position: relative; display: grid; gap: .7rem; margin-top: .5rem; }
.modal-aside-list li {
  display: flex;
  align-items: flex-start;
  gap: .55rem;
  font-size: .8rem;
  color: rgba(251, 245, 232, .78);
}
.modal-aside-list svg { width: 1rem; height: 1rem; flex: none; margin-top: .18rem; stroke: #e3c48e; fill: none; stroke-width: 1.8; }
.modal-aside-phone {
  position: relative;
  margin-top: auto;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(251, 245, 232, .15);
}
.modal-aside-phone span { display: block; font-size: .65rem; letter-spacing: .14em; color: rgba(251, 245, 232, .5); }
.modal-aside-phone a { font-family: var(--font-display); font-size: 1.4rem; color: var(--cream); letter-spacing: .04em; }
.modal-close {
  position: absolute;
  right: .9rem;
  top: .9rem;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  color: var(--ink-2);
  font-size: 1.15rem;
  line-height: 1;
  transition: transform .2s ease, background .2s ease;
}
.modal-close:hover { transform: rotate(90deg); background: var(--mint); }
.modal-body { padding: clamp(1.8rem, 4vw, 2.8rem); }
.modal-body h2 { margin-bottom: .35rem; font-size: 1.8rem; }
.modal-body > p { margin-bottom: 1.3rem; color: var(--muted); font-size: .85rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
.field { display: flex; flex-direction: column; gap: .38rem; }
.field--full { grid-column: 1 / -1; }
.field > span { font-size: .74rem; font-weight: 700; color: var(--ink-2); letter-spacing: .03em; }
.field > span em { color: var(--clay); font-style: normal; }
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 3rem;
  padding: .65rem .85rem;
  border: 1px solid var(--line);
  border-radius: .7rem;
  background: var(--white);
  color: var(--ink);
  font-size: .88rem;
  line-height: 1.5;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.field textarea { min-height: 5.2rem; resize: vertical; }
.field input::placeholder,
.field textarea::placeholder { color: #a2aca6; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--jade-2);
  box-shadow: 0 0 0 3px rgba(46, 107, 87, .13);
}
.form-note { margin-top: .8rem; color: var(--muted); font-size: .68rem; line-height: 1.7; text-align: center; }
.form-actions { margin-top: 1.1rem; }
.form-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 21rem;
  text-align: center;
}
.form-success-mark {
  display: grid;
  place-items: center;
  width: 4.4rem;
  height: 4.4rem;
  margin-bottom: 1.1rem;
  border-radius: 50%;
  background: var(--mint);
  color: var(--jade);
  font-size: 2rem;
}
.form-success h3 { font-size: 1.6rem; }
.form-success p { max-width: 20rem; margin-top: .5rem; color: var(--muted); font-size: .85rem; }
[hidden] { display: none !important; }

/* SOS modal */
.sos-shell {
  position: relative;
  max-height: calc(100vh - 2rem);
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  overflow: auto;
}
.sos-head {
  position: relative;
  padding: 2rem 2rem 1.7rem;
  background: var(--clay);
  color: #fff;
  overflow: hidden;
}
.sos-head::after {
  content: "SOS";
  position: absolute;
  right: -1rem;
  bottom: -2.1rem;
  font-family: var(--font-display);
  font-size: 7rem;
  font-weight: 700;
  line-height: 1;
  color: rgba(255, 255, 255, .1);
  letter-spacing: -.05em;
}
.sos-head .eyebrow { color: rgba(255, 255, 255, .7); }
.sos-head .eyebrow::before { background: currentColor; }
.sos-head h2 { position: relative; z-index: 1; margin: .65rem 0 .4rem; font-size: 1.9rem; }
.sos-head p { position: relative; z-index: 1; max-width: 24rem; color: rgba(255, 255, 255, .78); font-size: .83rem; line-height: 1.7; }
.sos-body { padding: 1.6rem 2rem 2rem; }
.sos-primary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.15rem;
  border-radius: 1rem;
  background: #fdf1ed;
  border: 1px solid #f0c9bd;
}
.sos-primary-copy { display: flex; align-items: center; gap: .85rem; }
.sos-primary-icon {
  display: grid;
  place-items: center;
  width: 2.9rem;
  height: 2.9rem;
  border-radius: 50%;
  background: var(--danger);
  color: #fff;
  font-size: .72rem;
  font-weight: 800;
}
.sos-primary b { display: block; font-size: .92rem; }
.sos-primary small { color: #9a5a4d; font-size: .7rem; }
.sos-options { display: grid; gap: .55rem; margin-top: .8rem; }
.sos-option {
  display: flex;
  align-items: center;
  gap: .8rem;
  width: 100%;
  padding: .85rem 1rem;
  border: 1px solid var(--line);
  border-radius: .9rem;
  background: var(--surface);
  text-align: left;
  transition: background .18s ease, border-color .18s ease;
}
.sos-option:hover { background: var(--mint-soft); border-color: var(--jade-3); }
.sos-option-icon {
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  flex: none;
  border-radius: 50%;
  background: var(--mint);
  color: var(--jade);
}
.sos-option-icon svg { width: 1.1rem; height: 1.1rem; fill: none; stroke: currentColor; stroke-width: 1.6; }
.sos-option b { display: block; font-size: .86rem; }
.sos-option small { color: var(--muted); font-size: .7rem; }
.sos-option .link-arrow { margin-left: auto; font-size: .76rem; }
.sos-foot { margin-top: 1rem; color: var(--muted); font-size: .68rem; line-height: 1.7; text-align: center; }

/* Login modal */
.login-shell {
  position: relative;
  width: min(27rem, calc(100vw - 2rem));
  max-height: calc(100vh - 2rem);
  margin: auto;
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  overflow: auto;
}
.login-body { padding: 2.2rem 2rem 2rem; }
.login-body h2 { font-size: 1.7rem; }
.login-body > p { margin-top: .4rem; color: var(--muted); font-size: .82rem; line-height: 1.7; }
.login-form { display: grid; gap: .8rem; margin-top: 1.3rem; }
.code-row { display: grid; grid-template-columns: 1fr auto; gap: .5rem; }
.code-btn {
  padding: 0 .8rem;
  border: 1px solid var(--line);
  border-radius: .7rem;
  background: var(--surface-soft);
  color: var(--jade);
  font-size: .72rem;
  font-weight: 700;
  white-space: nowrap;
}
.code-btn:disabled { color: var(--muted); cursor: default; }
.login-legal { margin-top: .7rem; color: var(--muted); font-size: .62rem; line-height: 1.6; }
.login-user { display: grid; gap: 1rem; margin-top: 1.2rem; }
.login-user-card {
  display: flex;
  align-items: center;
  gap: .9rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: var(--mint-soft);
}
.login-avatar {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--jade);
  color: var(--cream);
  font-family: var(--font-display);
  font-size: 1.3rem;
}
.login-user-card b { display: block; font-size: .95rem; }
.login-user-card small { color: var(--muted); font-size: .74rem; }
.login-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; }
.login-stats div {
  padding: .7rem .5rem;
  border: 1px solid var(--line);
  border-radius: .75rem;
  background: var(--surface-soft);
  text-align: center;
}
.login-stats b { display: block; color: var(--jade); font-family: var(--font-display); font-size: 1.35rem; line-height: 1.2; }
.login-stats span { color: var(--muted); font-size: .6rem; }
.login-links { display: grid; gap: .1rem; }
.login-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .5rem 0;
  border-top: 1px solid var(--line);
  color: var(--ink-2);
  font-size: .74rem;
}
.login-links a:hover { color: var(--clay); }
.login-links span { color: var(--muted); }
.login-sync-note {
  margin-top: .8rem;
  padding: .65rem .75rem;
  border-radius: .7rem;
  background: var(--mint-soft);
  color: var(--jade-2);
  font-size: .68rem;
  line-height: 1.7;
}
.login-error {
  margin-top: .7rem;
  padding: .55rem .7rem;
  border: 1px solid #edc9bd;
  border-radius: .6rem;
  background: #fdf2ee;
  color: #8a3e2d;
  font-size: .72rem;
  line-height: 1.6;
}
.sync-row {
  display: flex;
  align-items: center;
  gap: .55rem;
  padding: .7rem .8rem;
  border: 1px solid var(--line);
  border-radius: .8rem;
  background: var(--surface-soft);
}
.sync-row[hidden] { display: none !important; }
.sync-dot {
  width: .55rem;
  height: .55rem;
  flex: none;
  border-radius: 50%;
  background: var(--muted);
  box-shadow: 0 0 0 4px rgba(95, 112, 104, .1);
}
.sync-copy { min-width: 0; line-height: 1.35; }
.sync-copy b { display: block; font-size: .72rem; }
.sync-copy small { display: block; color: var(--muted); font-size: .6rem; }
.sync-row .btn {
  min-height: 2rem;
  margin-left: auto;
  padding: .25rem .65rem;
  font-size: .62rem;
  flex: none;
}
.sync-row[data-status="synced"] { border-color: #bcd8c8; background: #f0f8f3; }
.sync-row[data-status="synced"] .sync-dot { background: #3f8c66; box-shadow: 0 0 0 4px rgba(63, 140, 102, .12); }
.sync-row[data-status="syncing"] .sync-dot {
  background: var(--gold);
  animation: syncPulse 1.2s ease-in-out infinite;
}
.sync-row[data-status="error"],
.sync-row[data-status="offline"] { border-color: #edc9bd; background: #fdf4f0; }
.sync-row[data-status="error"] .sync-dot,
.sync-row[data-status="offline"] .sync-dot { background: var(--clay); }
@keyframes syncPulse {
  0%, 100% { transform: scale(.85); opacity: .6; }
  50% { transform: scale(1.15); opacity: 1; }
}
.login-link.is-synced::after {
  content: "";
  width: .38rem;
  height: .38rem;
  flex: none;
  border-radius: 50%;
  background: #3f8c66;
  box-shadow: 0 0 0 3px rgba(63, 140, 102, .12);
}
.login-link.sync-error::after {
  content: "";
  width: .38rem;
  height: .38rem;
  flex: none;
  border-radius: 50%;
  background: var(--clay);
  box-shadow: 0 0 0 3px rgba(169, 82, 51, .1);
}

/* Toast */
.toast {
  position: fixed;
  left: 50%;
  bottom: 2rem;
  z-index: 200;
  display: flex;
  align-items: center;
  gap: .55rem;
  max-width: min(30rem, calc(100vw - 2rem));
  padding: .8rem 1.15rem;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  background: var(--jade-dark);
  color: var(--cream);
  box-shadow: var(--shadow-lg);
  font-size: .8rem;
  line-height: 1.4;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 12px);
  transition: opacity .24s ease, transform .24s ease;
}
.toast::before {
  content: "";
  width: .45rem;
  height: .45rem;
  border-radius: 50%;
  background: #8fd0a9;
  flex: none;
}
.toast.is-show { opacity: 1; transform: translate(-50%, 0); }

/* ---------------- Home hero ---------------- */
.hero {
  position: relative;
  padding: clamp(2.8rem, 6vw, 5.4rem) 0 0;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  width: min(54rem, 90vw);
  height: min(54rem, 90vw);
  right: -20rem;
  top: -24rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(188, 98, 65, .16), rgba(188, 98, 65, 0) 68%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  width: 32rem;
  height: 32rem;
  left: -18rem;
  bottom: -10rem;
  border: 1px solid rgba(23, 58, 49, .08);
  border-radius: 50%;
  box-shadow: 0 0 0 4rem rgba(23, 58, 49, .02), 0 0 0 8rem rgba(23, 58, 49, .015);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
}
.hero-copy { padding-bottom: 2.4rem; }
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .38rem .85rem .38rem .55rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 253, 247, .58);
  color: var(--ink-2);
  font-size: .71rem;
  font-weight: 600;
  letter-spacing: .06em;
}
.hero-kicker .mini-seal {
  display: grid;
  place-items: center;
  width: 1.3rem;
  height: 1.3rem;
  border-radius: 50%;
  background: var(--clay);
  color: var(--white);
  font-family: var(--font-display);
  font-size: .7rem;
}
.hero h1 {
  max-width: none;
  margin: 1.3rem 0 1.2rem;
  font-size: clamp(2.35rem, 1.35rem + 3.4vw, 4.45rem);
  line-height: 1.12;
  letter-spacing: -.045em;
}
.hero h1 .h1-line { display: block; white-space: nowrap; }
.hero h1 .accent {
  position: relative;
  display: inline-block;
  color: var(--clay);
  white-space: nowrap;
}
.hero h1 .accent::after {
  content: "";
  position: absolute;
  left: -3%;
  right: -3%;
  bottom: .03em;
  height: .16em;
  border-radius: 50%;
  background: var(--clay-soft);
  z-index: -1;
  transform: rotate(-1.5deg);
}
.hero-lede {
  max-width: 32rem;
  color: var(--ink-2);
  font-size: clamp(1rem, .95rem + .2vw, 1.13rem);
  line-height: 1.95;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .8rem;
  margin-top: 1.9rem;
}
.hero-trust {
  display: flex;
  align-items: center;
  gap: .8rem;
  margin-top: 2rem;
}
.avatar-stack { display: flex; padding-left: .55rem; }
.avatar-stack span {
  display: grid;
  place-items: center;
  width: 2.15rem;
  height: 2.15rem;
  margin-left: -.55rem;
  border: 2px solid var(--paper);
  border-radius: 50%;
  background: var(--jade);
  color: var(--cream);
  font-family: var(--font-display);
  font-size: .8rem;
  box-shadow: 0 3px 8px -5px rgba(10, 45, 37, .6);
}
.avatar-stack span:nth-child(2) { background: var(--clay); }
.avatar-stack span:nth-child(3) { background: var(--gold); }
.avatar-stack span:nth-child(4) { background: var(--jade-3); }
.hero-trust p { color: var(--muted); font-size: .72rem; line-height: 1.6; }
.hero-trust strong { display: block; color: var(--ink); font-size: .9rem; }

.hero-visual { position: relative; padding: .5rem 0 1rem; }
.hero-vertical {
  position: absolute;
  right: -1.3rem;
  top: 2.6rem;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: .65rem;
  writing-mode: vertical-rl;
  color: var(--jade-2);
  font-family: var(--font-display);
  font-size: .72rem;
  letter-spacing: .28em;
  opacity: .75;
}
.hero-vertical::before { content: ""; width: 1px; height: 2.8rem; background: var(--line-strong); }
.hero-arch {
  position: relative;
  width: min(100%, 31rem);
  margin-left: auto;
  aspect-ratio: .82;
  border: 1px solid rgba(255, 255, 255, .55);
  border-radius: 48% 48% 1.7rem 1.7rem / 35% 35% 1.7rem 1.7rem;
  background: var(--paper-deep);
  box-shadow: 0 40px 80px -48px rgba(45, 50, 35, .7), inset 0 0 0 7px rgba(255, 253, 247, .35);
  overflow: hidden;
}
.hero-arch img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.015); }
.hero-arch::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(14, 47, 40, .28), transparent 32%);
  pointer-events: none;
}
.hero-stamp {
  position: absolute;
  right: 1.4rem;
  bottom: 1.3rem;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 3.7rem;
  height: 3.7rem;
  border: 1px solid rgba(251, 245, 232, .7);
  border-radius: .45rem;
  background: rgba(188, 98, 65, .9);
  color: var(--cream);
  font-family: var(--font-display);
  font-size: .78rem;
  line-height: 1.3;
  letter-spacing: .08em;
  transform: rotate(-3deg);
  box-shadow: 0 6px 18px -10px rgba(80, 28, 15, .6);
}
.float-card {
  position: absolute;
  z-index: 4;
  border: 1px solid rgba(255, 255, 255, .65);
  border-radius: 1.15rem;
  background: rgba(255, 253, 247, .9);
  box-shadow: 0 20px 45px -24px rgba(10, 45, 37, .55);
  backdrop-filter: blur(14px);
  animation: floatCard 7s ease-in-out infinite;
}
@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.float-health { left: clamp(-2.8rem, -2vw, -.6rem); top: 12%; width: 14rem; padding: .9rem 1rem; }
.float-head { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-bottom: .55rem; }
.float-head span { color: var(--muted); font-size: .6rem; letter-spacing: .08em; }
.float-head b { display: inline-flex; align-items: center; gap: .3rem; color: var(--jade); font-size: .64rem; }
.float-head b::before { content: ""; width: .38rem; height: .38rem; border-radius: 50%; background: #67a986; }
.float-row { display: flex; align-items: flex-end; gap: .85rem; }
.float-heart { color: var(--clay); }
.float-heart strong { font-family: var(--font-display); font-size: 1.75rem; line-height: 1; }
.float-heart small { margin-left: .18rem; color: var(--muted); font-size: .58rem; }
.float-wave { flex: 1; min-width: 0; height: 2.2rem; }
.float-wave svg { width: 100%; height: 100%; }
.float-caption { margin-top: .45rem; color: var(--muted); font-size: .58rem; }
.float-guard { right: -2rem; bottom: 12%; width: 14.2rem; padding: .95rem 1rem; animation-delay: -3.2s; }
.float-guard-top { display: flex; align-items: center; gap: .55rem; }
.float-guard-icon {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--mint);
  color: var(--jade);
}
.float-guard-icon svg { width: 1.05rem; height: 1.05rem; fill: none; stroke: currentColor; stroke-width: 1.7; }
.float-guard-top b { display: block; font-size: .72rem; }
.float-guard-top small { display: block; color: #5c8c72; font-size: .58rem; }
.float-guard-line { height: .28rem; margin-top: .7rem; border-radius: 999px; background: var(--mint); overflow: hidden; }
.float-guard-line::after { content: ""; display: block; width: 78%; height: 100%; border-radius: inherit; background: var(--jade-2); }
.float-guard-foot { display: flex; justify-content: space-between; margin-top: .4rem; color: var(--muted); font-size: .56rem; }
.hero-deco-dot {
  position: absolute;
  left: -1.6rem;
  bottom: 3rem;
  width: 4.6rem;
  height: 4.6rem;
  border-radius: 50%;
  border: 1px dashed rgba(23, 58, 49, .28);
  animation: spinSlow 26s linear infinite;
}
.hero-deco-dot::before,
.hero-deco-dot::after {
  content: "";
  position: absolute;
  width: .35rem;
  height: .35rem;
  border-radius: 50%;
  background: var(--clay);
}
.hero-deco-dot::before { left: .4rem; top: 1.1rem; }
.hero-deco-dot::after { right: .5rem; bottom: 1rem; background: var(--gold); }
@keyframes spinSlow { to { transform: rotate(360deg); } }

.hero-metrics {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: clamp(1.8rem, 4vw, 3.2rem);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.hero-metric {
  position: relative;
  padding: 1.35rem clamp(.6rem, 2vw, 1.8rem);
  border-left: 1px solid var(--line);
}
.hero-metric:first-child { border-left: 0; padding-left: 0; }
.hero-metric strong {
  display: block;
  color: var(--jade);
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 1.2rem + .8vw, 2rem);
  line-height: 1.15;
  letter-spacing: -.02em;
}
.hero-metric strong small { margin-left: .1rem; font-family: var(--font-body); font-size: .62rem; color: var(--muted); font-weight: 600; letter-spacing: 0; }
.hero-metric span { display: block; margin-top: .2rem; color: var(--muted); font-size: .72rem; }

/* ---------------- Home services ---------------- */
.services-section { position: relative; }
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}
.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 22rem;
  padding: 1.7rem 1.5rem 1.35rem;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: rgba(255, 253, 247, .7);
  overflow: hidden;
  transition: transform .28s cubic-bezier(.22, .7, .24, 1), box-shadow .28s ease, background .28s ease, border-color .28s ease;
}
.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 1.5rem;
  width: 2.3rem;
  height: 2px;
  background: var(--clay);
  transition: width .3s ease;
}
.service-card:hover {
  transform: translateY(-7px);
  border-color: rgba(23, 58, 49, .23);
  background: var(--surface);
  box-shadow: var(--shadow-md);
}
.service-card:hover::before { width: calc(100% - 3rem); }
.service-card--featured {
  border-color: var(--jade);
  background: var(--jade);
  color: var(--cream);
}
.service-card--featured::before { background: var(--gold); }
.service-card--featured:hover { background: var(--jade-dark); border-color: var(--jade-dark); }
.service-no {
  position: absolute;
  top: 1.1rem;
  right: 1.2rem;
  color: rgba(23, 58, 49, .15);
  font-family: var(--font-display);
  font-size: 2.6rem;
  line-height: 1;
}
.service-card--featured .service-no { color: rgba(251, 245, 232, .18); }
.service-icon {
  display: grid;
  place-items: center;
  width: 3.3rem;
  height: 3.3rem;
  margin-bottom: 1.7rem;
  border-radius: 50%;
  background: var(--mint);
  color: var(--jade);
  transition: transform .28s ease, background .28s ease;
}
.service-card:hover .service-icon { transform: rotate(-6deg) scale(1.04); }
.service-card--featured .service-icon { background: rgba(251, 245, 232, .12); color: #e8d0a1; }
.service-icon svg { width: 1.55rem; height: 1.55rem; fill: none; stroke: currentColor; stroke-width: 1.45; stroke-linecap: round; stroke-linejoin: round; }
.service-card h3 { font-size: 1.38rem; letter-spacing: -.02em; }
.service-desc { margin-top: .55rem; color: var(--ink-2); font-size: .82rem; line-height: 1.8; }
.service-card--featured .service-desc { color: rgba(251, 245, 232, .68); }
.mini-tags { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .9rem; }
.mini-tags li {
  padding: .2rem .55rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: .62rem;
  line-height: 1.5;
}
.service-card--featured .mini-tags li { border-color: rgba(251, 245, 232, .18); color: rgba(251, 245, 232, .62); }
.service-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--jade);
  font-size: .76rem;
  font-weight: 700;
}
.service-card--featured .service-link { border-top-color: rgba(251, 245, 232, .16); color: #eed6a7; }
.service-link svg { width: .95rem; height: .95rem; transition: transform .2s ease; }
.service-card:hover .service-link svg { transform: translateX(4px); }

/* ---------------- Guard section ---------------- */
.guard-section {
  position: relative;
  padding: clamp(4.6rem, 8vw, 7.5rem) 0;
  background: var(--jade-dark);
  color: var(--cream);
  overflow: hidden;
}
.guard-section::before {
  content: "";
  position: absolute;
  width: 44rem;
  height: 44rem;
  right: -18rem;
  top: -20rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(177, 142, 84, .16), transparent 66%);
}
.guard-section::after {
  content: "";
  position: absolute;
  left: -12rem;
  bottom: -22rem;
  width: 40rem;
  height: 40rem;
  border: 1px solid rgba(251, 245, 232, .08);
  border-radius: 50%;
  box-shadow: 0 0 0 5rem rgba(251, 245, 232, .018), 0 0 0 10rem rgba(251, 245, 232, .012);
}
.guard-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(2.5rem, 6vw, 6rem);
}
.guard-copy h2 {
  max-width: 8em;
  margin-top: .8rem;
  font-size: clamp(2.1rem, 1.4rem + 2.4vw, 3.9rem);
  line-height: 1.16;
  color: var(--cream);
}
.guard-copy h2 em { font-style: normal; color: #e6c48f; }
.guard-lede {
  max-width: 25rem;
  margin-top: 1.2rem;
  color: rgba(251, 245, 232, .63);
  font-size: .95rem;
  line-height: 1.9;
}
.guard-list { display: grid; margin-top: 2rem; }
.guard-item {
  display: flex;
  gap: 1rem;
  padding: 1rem 0;
  border-top: 1px solid rgba(251, 245, 232, .12);
}
.guard-item-icon {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  flex: none;
  border: 1px solid rgba(251, 245, 232, .18);
  border-radius: 50%;
  color: #e6c48f;
}
.guard-item-icon svg { width: 1.1rem; height: 1.1rem; fill: none; stroke: currentColor; stroke-width: 1.55; }
.guard-item b { display: block; font-size: .88rem; color: rgba(251, 245, 232, .9); }
.guard-item p { margin-top: .12rem; color: rgba(251, 245, 232, .62); font-size: .74rem; line-height: 1.65; }
.guard-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 1.8rem; }
.guard-actions .btn-ghost { color: #e6c48f; }
.guard-actions .btn-ghost:hover { color: var(--cream); }

.guard-visual { position: relative; min-width: 0; }
.guard-hud {
  position: relative;
  padding: 1.25rem;
  border: 1px solid rgba(251, 245, 232, .14);
  border-radius: 1.7rem;
  background: linear-gradient(145deg, rgba(251, 245, 232, .09), rgba(251, 245, 232, .035));
  box-shadow: 0 30px 70px -38px rgba(0, 0, 0, .8);
  backdrop-filter: blur(18px);
}
.hud-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .2rem .3rem 1rem;
}
.hud-head b { display: flex; align-items: center; gap: .5rem; font-size: .76rem; letter-spacing: .04em; }
.hud-head b::before { content: ""; width: .42rem; height: .42rem; border-radius: 50%; background: #89cea5; box-shadow: 0 0 0 4px rgba(137, 206, 165, .12); }
.hud-head span { color: rgba(251, 245, 232, .58); font-size: .62rem; letter-spacing: .08em; }
.hud-body { display: grid; grid-template-columns: minmax(12rem, .9fr) 1.1fr; gap: 1rem; align-items: center; }
.radar {
  position: relative;
  aspect-ratio: 1;
  border: 1px solid rgba(251, 245, 232, .14);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(137, 206, 165, .16) 0 11%, transparent 12%),
    repeating-radial-gradient(circle, transparent 0 24%, rgba(251, 245, 232, .09) 25% 25.5%, transparent 26%);
  overflow: hidden;
}
.radar::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0 74%, rgba(137, 206, 165, .28) 92%, rgba(137, 206, 165, .5) 100%);
  animation: radarSweep 6s linear infinite;
}
.radar::after {
  content: "";
  position: absolute;
  inset: 12%;
  border: 1px dashed rgba(251, 245, 232, .13);
  border-radius: 50%;
}
@keyframes radarSweep { to { transform: rotate(360deg); } }
.radar-center {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 3.6rem;
  height: 3.6rem;
  border: 1px solid rgba(251, 245, 232, .3);
  border-radius: 50%;
  background: rgba(14, 58, 49, .85);
  color: #e6c48f;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 8px rgba(137, 206, 165, .06), 0 0 28px rgba(137, 206, 165, .25);
}
.radar-center svg { width: 1.5rem; height: 1.5rem; fill: none; stroke: currentColor; stroke-width: 1.6; }
.radar-point {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: .35rem;
  padding: .28rem .55rem;
  border: 1px solid rgba(251, 245, 232, .16);
  border-radius: 999px;
  background: rgba(9, 43, 36, .72);
  color: rgba(251, 245, 232, .75);
  font-size: .56rem;
  white-space: nowrap;
  backdrop-filter: blur(8px);
}
.radar-point::before { content: ""; width: .35rem; height: .35rem; border-radius: 50%; background: #8fd0a9; box-shadow: 0 0 0 3px rgba(143, 208, 169, .12); }
.radar-point.p1 { left: 5%; top: 20%; }
.radar-point.p2 { right: 1%; top: 42%; }
.radar-point.p3 { left: 22%; bottom: 8%; }
.hud-events { display: grid; gap: .5rem; }
.hud-event {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .62rem .7rem;
  border: 1px solid rgba(251, 245, 232, .09);
  border-radius: .75rem;
  background: rgba(251, 245, 232, .045);
}
.hud-event-icon {
  display: grid;
  place-items: center;
  width: 1.8rem;
  height: 1.8rem;
  flex: none;
  border-radius: 50%;
  background: rgba(137, 206, 165, .12);
  color: #9ed8b8;
}
.hud-event-icon svg { width: .82rem; height: .82rem; fill: none; stroke: currentColor; stroke-width: 1.7; }
.hud-event b { display: block; font-size: .65rem; color: rgba(251, 245, 232, .85); }
.hud-event small { display: block; color: rgba(251, 245, 232, .55); font-size: .55rem; }
.hud-event time { margin-left: auto; color: rgba(251, 245, 232, .48); font-size: .52rem; }
.guard-watch {
  position: absolute;
  right: -1.8rem;
  bottom: -2rem;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: .65rem;
  width: 12.8rem;
  padding: .8rem;
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 1.1rem;
  background: rgba(8, 38, 32, .9);
  box-shadow: 0 20px 40px -22px rgba(0, 0, 0, .8);
  backdrop-filter: blur(12px);
  animation: floatCard 7s ease-in-out infinite;
  animation-delay: -1.8s;
}
.watch-face {
  position: relative;
  display: grid;
  place-items: center;
  width: 3.15rem;
  height: 3.15rem;
  flex: none;
  border: 2px solid rgba(251, 245, 232, .22);
  border-radius: 50%;
  background: #123f35;
  color: #9ed8b8;
}
.watch-face::before {
  content: "";
  position: absolute;
  inset: .32rem;
  border: 1px solid rgba(251, 245, 232, .12);
  border-radius: 50%;
}
.watch-face b { font-family: var(--font-display); font-size: .9rem; line-height: 1; }
.watch-face small { margin-top: -.35rem; color: rgba(251, 245, 232, .34); font-size: .36rem; }
.guard-watch p { font-size: .61rem; color: rgba(251, 245, 232, .62); line-height: 1.5; }
.guard-watch strong { display: block; font-size: .7rem; color: rgba(251, 245, 232, .86); }

/* ---------------- Health preview ---------------- */
.health-preview { background: var(--mint-soft); }
.health-split {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  align-items: center;
  gap: clamp(2.2rem, 6vw, 6rem);
}
.health-visual { position: relative; min-width: 0; }
.health-copy h2 {
  margin-top: .8rem;
  font-size: clamp(1.9rem, 1.35rem + 1.8vw, 3rem);
  line-height: 1.2;
}
.health-copy h2 .h2-line { display: block; }
.health-copy h2 em { font-style: normal; color: var(--clay); }
.health-copy > p { max-width: 27rem; margin-top: 1rem; color: var(--ink-2); font-size: .96rem; line-height: 1.9; }
.health-feature-list { display: grid; margin-top: 1.7rem; }
.health-feature {
  display: flex;
  gap: 1rem;
  padding: 1rem 0;
  border-top: 1px solid var(--line);
}
.health-feature-no {
  display: grid;
  place-items: center;
  width: 2.1rem;
  height: 2.1rem;
  flex: none;
  border-radius: 50%;
  background: var(--surface);
  color: var(--clay);
  font-family: var(--font-display);
  font-size: .8rem;
  box-shadow: var(--shadow-sm);
}
.health-feature b { display: block; font-size: .9rem; }
.health-feature p { color: var(--muted); font-size: .76rem; line-height: 1.7; }
.health-copy .btn { margin-top: 1.4rem; }

.dash-card {
  position: relative;
  padding: 1.3rem;
  border: 1px solid rgba(255, 255, 255, .85);
  border-radius: 1.8rem;
  background: var(--surface);
  box-shadow: 0 34px 70px -44px rgba(16, 52, 43, .65), 0 0 0 8px rgba(255, 253, 247, .25);
}
.dash-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .2rem .2rem 1rem; }
.dash-greet { display: flex; align-items: center; gap: .6rem; }
.dash-avatar {
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  background: var(--clay-soft);
  color: var(--clay-dark);
  font-family: var(--font-display);
  font-size: .9rem;
}
.dash-greet b { display: block; font-size: .84rem; }
.dash-greet small { display: block; color: var(--muted); font-size: .58rem; }
.dash-date { padding: .25rem .55rem; border-radius: 999px; background: var(--mint-soft); color: var(--jade-2); font-size: .58rem; white-space: nowrap; }
.dash-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: .55rem; }
.dash-stat { padding: .75rem; border: 1px solid var(--line); border-radius: .8rem; background: var(--surface-soft); }
.dash-stat span { display: flex; align-items: center; gap: .25rem; color: var(--muted); font-size: .55rem; }
.dash-stat span::before { content: ""; width: .32rem; height: .32rem; border-radius: 50%; background: var(--jade-3); }
.dash-stat:nth-child(2) span::before { background: var(--clay); }
.dash-stat:nth-child(3) span::before { background: var(--gold); }
.dash-stat strong { display: block; margin-top: .18rem; font-family: var(--font-display); font-size: 1.25rem; line-height: 1.3; }
.dash-stat strong small { margin-left: .12rem; font-family: var(--font-body); font-size: .5rem; color: var(--muted); font-weight: 400; }
.dash-chart { margin-top: .65rem; padding: .9rem .8rem .4rem; border: 1px solid var(--line); border-radius: .9rem; background: var(--surface); }
.dash-chart-head { display: flex; justify-content: space-between; align-items: center; gap: .5rem; }
.dash-chart-head b { font-size: .68rem; }
.dash-chart-head span { color: var(--jade-2); font-size: .55rem; }
.dash-chart svg { width: 100%; height: 7.2rem; margin-top: .3rem; overflow: visible; }
.dash-tip {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-top: .65rem;
  padding: .7rem .8rem;
  border-radius: .8rem;
  background: var(--mint-soft);
}
.dash-tip-icon {
  display: grid;
  place-items: center;
  width: 1.7rem;
  height: 1.7rem;
  flex: none;
  border-radius: 50%;
  background: var(--surface);
  color: var(--jade);
  font-size: .75rem;
}
.dash-tip p { font-size: .58rem; color: var(--jade-2); line-height: 1.55; }
.dash-tip strong { color: var(--jade-dark); }
.dash-float {
  position: absolute;
  left: -2.7rem;
  bottom: -1.2rem;
  display: flex;
  align-items: center;
  gap: .55rem;
  padding: .7rem .85rem;
  border: 1px solid rgba(255, 255, 255, .8);
  border-radius: .9rem;
  background: rgba(255, 253, 247, .94);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(12px);
  animation: floatCard 7s ease-in-out infinite;
  animation-delay: -2.4s;
}
.dash-float-ring {
  display: grid;
  place-items: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  background: conic-gradient(var(--jade) 0 86%, var(--mint) 86% 100%);
}
.dash-float-ring span {
  display: grid;
  place-items: center;
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 50%;
  background: var(--surface);
  color: var(--jade);
  font-size: .56rem;
  font-weight: 800;
}
.dash-float b { display: block; font-size: .68rem; }
.dash-float small { display: block; color: var(--muted); font-size: .52rem; }

/* ---------------- Activities preview ---------------- */
.activity-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.3rem;
}
.activity-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.activity-art {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--r-md);
  overflow: hidden;
  isolation: isolate;
  transition: transform .3s cubic-bezier(.22, .7, .24, 1), box-shadow .3s ease;
}
.activity-card:hover .activity-art { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.art-jade { background: linear-gradient(145deg, #2f705b 0%, #174b3e 100%); }
.art-clay { background: linear-gradient(145deg, #c87854 0%, #93442e 100%); }
.art-ink { background: linear-gradient(145deg, #4f5b54 0%, #242f2b 100%); }
.art-gold { background: linear-gradient(145deg, #c4a061 0%, #7f6330 100%); }
.art-mint { background: linear-gradient(145deg, #82a58e 0%, #416b58 100%); }
.art-plum { background: linear-gradient(145deg, #8d5f64 0%, #56323a 100%); }
.activity-art::before {
  content: "";
  position: absolute;
  width: 12rem;
  height: 12rem;
  right: -4rem;
  top: -5rem;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 50%;
  box-shadow: 0 0 0 2rem rgba(255, 255, 255, .035), 0 0 0 4rem rgba(255, 255, 255, .02);
}
.activity-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8, 28, 23, .5), transparent 55%);
  z-index: 1;
}
.art-char {
  position: absolute;
  right: 1.1rem;
  bottom: -1.7rem;
  z-index: 2;
  color: rgba(255, 255, 255, .16);
  font-family: var(--font-display);
  font-size: clamp(6rem, 10vw, 10.5rem);
  font-weight: 700;
  line-height: 1;
  pointer-events: none;
}
.art-sun {
  position: absolute;
  left: 1.4rem;
  top: 1.3rem;
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 50%;
  background: rgba(255, 228, 180, .65);
  box-shadow: 0 0 0 .7rem rgba(255, 228, 180, .08);
}
.art-line {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 20%;
  height: 1px;
  background: rgba(255, 255, 255, .2);
}
.art-line::before,
.art-line::after {
  content: "";
  position: absolute;
  bottom: 0;
  width: 45%;
  height: 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, .13);
  border-radius: 50% 50% 0 0;
}
.art-line::before { left: -4%; transform: rotate(-3deg); }
.art-line::after { right: -6%; transform: rotate(4deg); }
.art-label {
  position: absolute;
  left: 1.2rem;
  bottom: 1rem;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .22rem .55rem;
  border: 1px solid rgba(255, 255, 255, .26);
  border-radius: 999px;
  background: rgba(255, 255, 255, .1);
  color: rgba(255, 255, 255, .8);
  font-size: .56rem;
  letter-spacing: .1em;
  backdrop-filter: blur(6px);
}
.art-label::before { content: ""; width: .32rem; height: .32rem; border-radius: 50%; background: #f2d59a; }
.art-date {
  position: absolute;
  left: 1.2rem;
  top: 1.2rem;
  z-index: 3;
  display: flex;
  align-items: baseline;
  gap: .25rem;
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.8rem;
  line-height: 1;
}
.art-date small { font-family: var(--font-body); font-size: .55rem; letter-spacing: .1em; opacity: .7; }
.activity-body { padding: 1rem .2rem 0; }
.activity-body h3 { font-size: 1.25rem; }
.activity-body h3 a:hover { color: var(--clay); }
.activity-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem .8rem;
  margin-top: .45rem;
  color: var(--muted);
  font-size: .68rem;
}
.activity-meta span { display: inline-flex; align-items: center; gap: .28rem; }
.activity-meta svg { width: .75rem; height: .75rem; fill: none; stroke: currentColor; stroke-width: 1.7; }
.activity-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: .9rem;
  padding-top: .7rem;
  border-top: 1px solid var(--line);
  font-size: .7rem;
}
.activity-foot .spots { color: var(--muted); }
.activity-foot .link-arrow { font-size: .72rem; }
.activity-foot button.link-arrow {
  min-height: 2rem;
  padding: .25rem .65rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--jade);
  font-size: .66rem;
}
.activity-foot button.link-arrow:hover { border-color: var(--jade-3); background: var(--mint-soft); }

/* ---------------- Stories ---------------- */
.story-section { background: var(--paper-deep); }
.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: 1.3rem;
  align-items: stretch;
}
.quote-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(1.8rem, 4vw, 3rem);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  overflow: hidden;
}
.quote-card::before {
  content: "“";
  position: absolute;
  right: 1.6rem;
  top: -1.8rem;
  color: var(--clay-soft);
  font-family: var(--font-display);
  font-size: 12rem;
  line-height: 1;
}
.quote-card blockquote {
  position: relative;
  z-index: 1;
  max-width: 36rem;
  margin-top: 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 1.05rem + .8vw, 1.75rem);
  line-height: 1.75;
  letter-spacing: -.01em;
}
.quote-card blockquote em { font-style: normal; color: var(--clay); }
.quote-person { display: flex; align-items: center; gap: .75rem; margin-top: 2rem; }
.quote-avatar {
  display: grid;
  place-items: center;
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 50%;
  background: var(--jade);
  color: var(--cream);
  font-family: var(--font-display);
  font-size: 1.1rem;
}
.quote-person b { display: block; font-size: .82rem; }
.quote-person small { color: var(--muted); font-size: .66rem; }
.quote-stars { margin-left: auto; color: var(--gold); font-size: .8rem; letter-spacing: .12em; }
.story-side { display: grid; grid-template-rows: 1fr 1fr; gap: 1.3rem; }
.story-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 11rem;
  padding: 1.5rem;
  border-radius: var(--r-lg);
  overflow: hidden;
}
.story-tile--jade { background: var(--jade); color: var(--cream); }
.story-tile--clay { background: var(--clay-soft); color: var(--ink); }
.story-tile::after {
  content: "";
  position: absolute;
  width: 11rem;
  height: 11rem;
  right: -4rem;
  bottom: -5rem;
  border: 1px solid currentColor;
  border-radius: 50%;
  opacity: .15;
  box-shadow: 0 0 0 2rem currentColor;
}
.story-tile .tile-label { font-size: .66rem; letter-spacing: .13em; opacity: .65; }
.story-tile strong {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-size: clamp(2rem, 1.4rem + 2vw, 3.2rem);
  line-height: 1;
}
.story-tile strong small { margin-left: .25rem; font-family: var(--font-body); font-size: .7rem; opacity: .65; }
.story-tile p { position: relative; z-index: 1; margin-top: .5rem; font-size: .74rem; opacity: .7; line-height: 1.7; }
.story-tile--clay .tile-label { color: var(--clay-dark); opacity: .8; }
.story-tile--clay p { color: var(--clay-dark); }

/* ---------------- CTA ---------------- */
.cta-section { padding: clamp(3rem, 6vw, 5.5rem) 0 clamp(4rem, 8vw, 7rem); }
.cta-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 2rem;
  padding: clamp(2.2rem, 5vw, 4rem);
  border-radius: var(--r-xl);
  background: var(--jade);
  color: var(--cream);
  overflow: hidden;
}
.cta-panel::before {
  content: "";
  position: absolute;
  width: 26rem;
  height: 26rem;
  right: -7rem;
  top: -12rem;
  border: 1px solid rgba(251, 245, 232, .15);
  border-radius: 50%;
  box-shadow: 0 0 0 3rem rgba(251, 245, 232, .035), 0 0 0 6rem rgba(251, 245, 232, .02);
}
.cta-panel::after {
  content: "颐";
  position: absolute;
  right: 5%;
  bottom: -3rem;
  color: rgba(251, 245, 232, .05);
  font-family: var(--font-display);
  font-size: 17rem;
  line-height: 1;
  pointer-events: none;
}
.cta-copy { position: relative; z-index: 1; }
.cta-copy .eyebrow { color: #e6c48f; }
.cta-copy h2 { max-width: 12em; margin-top: .7rem; color: var(--cream); font-size: clamp(2rem, 1.4rem + 2.3vw, 3.5rem); line-height: 1.2; }
.cta-copy p { max-width: 30rem; margin-top: .8rem; color: rgba(251, 245, 232, .6); font-size: .9rem; line-height: 1.8; }
.cta-actions { position: relative; z-index: 1; display: flex; flex-direction: column; gap: .7rem; min-width: 13rem; }
.cta-actions .btn { width: 100%; }

/* ---------------- Page hero ---------------- */
.page-hero {
  position: relative;
  padding: clamp(2.2rem, 4vw, 3.4rem) 0 clamp(2.4rem, 4vw, 3.6rem);
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  width: 38rem;
  height: 38rem;
  right: -12rem;
  top: -20rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(188, 98, 65, .12), transparent 68%);
}
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .45rem;
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
  color: var(--muted);
  font-size: .68rem;
}
.breadcrumb a:hover { color: var(--clay); }
.breadcrumb span { opacity: .5; }
.page-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
}
.page-hero-copy h1 {
  max-width: none;
  margin: .75rem 0 1rem;
  font-size: clamp(2.25rem, 1.4rem + 2.55vw, 3.5rem);
  line-height: 1.15;
  letter-spacing: -.04em;
}
.page-hero-copy h1 .h1-line { display: block; white-space: nowrap; }
.page-hero-copy h1 em { font-style: normal; color: var(--clay); }
.page-hero-copy > p { max-width: 34rem; color: var(--ink-2); font-size: 1rem; line-height: 1.9; }
.page-hero-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.6rem; }
.page-hero-stats { display: flex; flex-wrap: wrap; gap: 1.6rem 2.4rem; margin-top: 2rem; padding-top: 1.4rem; border-top: 1px solid var(--line); }
.page-hero-stat strong { display: block; color: var(--jade); font-family: var(--font-display); font-size: 1.55rem; line-height: 1.2; }
.page-hero-stat span { color: var(--muted); font-size: .68rem; }
.page-seal {
  position: relative;
  display: grid;
  place-items: center;
  width: min(27rem, 100%);
  aspect-ratio: 1;
  margin-left: auto;
  border: 1px solid var(--line);
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, rgba(255, 253, 247, .9), transparent 45%),
    linear-gradient(145deg, var(--mint), var(--paper-deep));
  box-shadow: 0 30px 70px -48px rgba(16, 52, 43, .65), inset 0 0 0 12px rgba(255, 253, 247, .35);
  overflow: hidden;
}
.page-seal::before {
  content: "";
  position: absolute;
  inset: 12%;
  border: 1px dashed rgba(23, 58, 49, .18);
  border-radius: 50%;
  animation: spinSlow 34s linear infinite;
}
.page-seal::after {
  content: "";
  position: absolute;
  width: 60%;
  height: 60%;
  right: -18%;
  bottom: -16%;
  border-radius: 50%;
  background: rgba(188, 98, 65, .14);
  filter: blur(2px);
}
.page-seal-char {
  position: relative;
  z-index: 1;
  color: var(--jade);
  font-family: var(--font-display);
  font-size: clamp(7rem, 16vw, 13rem);
  line-height: 1;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .5);
}
.page-seal-label {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 12%;
  color: var(--clay);
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .35em;
  text-align: center;
  text-transform: uppercase;
}
.page-seal--clay { background: radial-gradient(circle at 35% 30%, rgba(255, 253, 247, .9), transparent 45%), linear-gradient(145deg, var(--clay-soft), var(--paper-deep)); }
.page-seal--clay .page-seal-char { color: var(--clay-dark); }
.page-seal--ink { background: radial-gradient(circle at 35% 30%, rgba(255, 253, 247, .55), transparent 45%), linear-gradient(145deg, #51635a, #203f35); }
.page-seal--ink .page-seal-char { color: rgba(251, 245, 232, .9); }
.page-seal--ink .page-seal-label { color: var(--gold-soft); }
.page-hero-note {
  position: absolute;
  right: 8%;
  bottom: 18%;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .45rem .75rem;
  border: 1px solid rgba(255, 255, 255, .5);
  border-radius: 999px;
  background: rgba(255, 253, 247, .85);
  color: var(--jade);
  font-size: .62rem;
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(8px);
}
.page-hero-note::before { content: ""; width: .38rem; height: .38rem; border-radius: 50%; background: var(--clay); }

/* ---------------- Services page ---------------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
  width: fit-content;
  max-width: 100%;
  margin-bottom: 2rem;
  padding: .35rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 253, 247, .62);
}
.filter-btn {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  min-height: 2.5rem;
  padding: .45rem 1rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink-2);
  font-size: .78rem;
  font-weight: 600;
  white-space: nowrap;
  transition: background .2s ease, color .2s ease;
}
.filter-btn span { color: var(--muted); font-size: .6rem; font-variant-numeric: tabular-nums; }
.filter-btn:hover { background: var(--mint-soft); color: var(--jade); }
.filter-btn.is-active { background: var(--jade); color: var(--cream); }
.filter-btn.is-active span { color: rgba(251, 245, 232, .55); }
.service-list { display: grid; gap: .8rem; }
.service-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.2rem);
  padding: clamp(1.2rem, 3vw, 1.8rem);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: rgba(255, 253, 247, .66);
  transition: border-color .25s ease, background .25s ease, box-shadow .25s ease, transform .25s ease;
}
.service-item:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.service-item.is-hidden { display: none; }
.service-item-icon {
  display: grid;
  place-items: center;
  width: 4.4rem;
  height: 4.4rem;
  flex: none;
  border-radius: 50%;
  background: var(--mint);
  color: var(--jade);
}
.service-item:nth-child(3n + 2) .service-item-icon { background: var(--clay-soft); color: var(--clay-dark); }
.service-item:nth-child(3n + 3) .service-item-icon { background: var(--gold-soft); color: #7e622f; }
.service-item-icon svg { width: 2rem; height: 2rem; fill: none; stroke: currentColor; stroke-width: 1.35; stroke-linecap: round; stroke-linejoin: round; }
.service-item-main { min-width: 0; }
.service-item-title { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.service-item-title h3 { font-size: 1.35rem; }
.badge {
  display: inline-flex;
  align-items: center;
  padding: .16rem .5rem;
  border-radius: 999px;
  background: var(--clay);
  color: var(--white);
  font-size: .56rem;
  font-weight: 700;
  letter-spacing: .04em;
}
.badge--soft { background: var(--mint); color: var(--jade); }
.service-item-desc { max-width: 40rem; margin-top: .4rem; color: var(--muted); font-size: .8rem; line-height: 1.75; }
.service-item-tags { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .65rem; }
.service-item-tags span {
  padding: .16rem .5rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-2);
  font-size: .6rem;
  line-height: 1.5;
}
.service-item-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: .45rem;
  min-width: 8rem;
}
.price { color: var(--clay); font-family: var(--font-display); font-size: 1.6rem; line-height: 1.1; white-space: nowrap; }
.price small { margin: 0 .08rem; font-family: var(--font-body); font-size: .55rem; font-weight: 600; }
.price small:first-child { font-size: .72rem; }
.price-unit { color: var(--muted); font-size: .6rem; }
.service-item-side .btn { margin-top: .3rem; }
.empty-state {
  padding: 3rem;
  border: 1px dashed var(--line-strong);
  border-radius: var(--r-md);
  color: var(--muted);
  font-size: .85rem;
  text-align: center;
}

.service-note {
  display: flex;
  align-items: flex-start;
  gap: .8rem;
  margin-top: 1.2rem;
  padding: 1rem 1.2rem;
  border-left: 2px solid var(--gold);
  background: rgba(233, 220, 193, .25);
  color: var(--muted);
  font-size: .7rem;
  line-height: 1.75;
}
.service-note svg { width: 1.1rem; height: 1.1rem; flex: none; margin-top: .15rem; fill: none; stroke: var(--gold); stroke-width: 1.7; }

/* Process */
.process-section { background: var(--jade-dark); color: var(--cream); }
.process-section .section-kicker { color: #e6c48f; }
.process-section .section-head h2 { color: var(--cream); }
.process-section .text-clay { color: #e6c48f; }
.process-section .section-head-side { color: rgba(251, 245, 232, .55); }
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid rgba(251, 245, 232, .15);
}
.process-step {
  position: relative;
  padding: 1.7rem 1.6rem 1.7rem 0;
  border-right: 1px solid rgba(251, 245, 232, .15);
}
.process-step:last-child { border-right: 0; }
.process-step + .process-step { padding-left: 1.6rem; }
.process-no {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2.2rem;
  color: #e6c48f;
  font-family: var(--font-display);
  font-size: 1.8rem;
  line-height: 1;
}
.process-no::after { content: "→"; font-family: var(--font-body); font-size: 1rem; color: rgba(251, 245, 232, .25); }
.process-step:last-child .process-no::after { content: "·"; }
.process-step h3 { color: var(--cream); font-size: 1.16rem; }
.process-step p { margin-top: .45rem; color: rgba(251, 245, 232, .62); font-size: .76rem; line-height: 1.75; }

/* Packages */
.package-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: stretch;
  gap: 1rem;
}
.package-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.8rem;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  overflow: hidden;
}
.package-card--featured {
  border-color: var(--jade);
  background: var(--jade);
  color: var(--cream);
  box-shadow: var(--shadow-lg);
}
.package-ribbon {
  position: absolute;
  right: 1.2rem;
  top: 1.1rem;
  padding: .2rem .55rem;
  border: 1px solid rgba(251, 245, 232, .2);
  border-radius: 999px;
  color: #e6c48f;
  font-size: .58rem;
  letter-spacing: .08em;
}
.package-name { display: flex; align-items: center; gap: .5rem; color: var(--clay); font-size: .7rem; font-weight: 700; letter-spacing: .12em; }
.package-card--featured .package-name { color: #e6c48f; }
.package-card h3 { margin-top: .7rem; font-size: 1.7rem; }
.package-desc { min-height: 3.1rem; margin-top: .55rem; color: var(--muted); font-size: .76rem; line-height: 1.75; }
.package-card--featured .package-desc { color: rgba(251, 245, 232, .56); }
.package-price { display: flex; align-items: baseline; gap: .2rem; margin: 1.3rem 0 .4rem; }
.package-price small { color: var(--muted); font-size: .64rem; }
.package-price strong { color: var(--clay); font-family: var(--font-display); font-size: 2.6rem; line-height: 1; letter-spacing: -.03em; }
.package-card--featured .package-price strong { color: #f0d5a3; }
.package-card--featured .package-price small { color: rgba(251, 245, 232, .45); }
.package-features { display: grid; gap: .55rem; margin: 1rem 0 1.5rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.package-card--featured .package-features { border-top-color: rgba(251, 245, 232, .14); }
.package-features li { display: flex; align-items: flex-start; gap: .45rem; color: var(--ink-2); font-size: .75rem; line-height: 1.6; }
.package-card--featured .package-features li { color: rgba(251, 245, 232, .66); }
.package-features svg { width: .9rem; height: .9rem; flex: none; margin-top: .18rem; fill: none; stroke: var(--jade-2); stroke-width: 2; }
.package-card--featured .package-features svg { stroke: #e6c48f; }
.package-card .btn { margin-top: auto; }
.package-note { margin-top: 1rem; color: var(--muted); font-size: .65rem; line-height: 1.7; text-align: center; }

/* FAQ */
.faq-wrap {
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}
.faq-intro { position: sticky; top: 7rem; }
.faq-intro h2 { margin-top: .7rem; font-size: clamp(2rem, 1.4rem + 2vw, 3.2rem); }
.faq-intro p { margin-top: 1rem; color: var(--muted); font-size: .85rem; line-height: 1.9; }
.faq-intro .btn { margin-top: 1.4rem; }
.faq-list { display: grid; gap: .55rem; }
.faq-item {
  border: 1px solid var(--line);
  border-radius: .9rem;
  background: rgba(255, 253, 247, .62);
  overflow: hidden;
}
.faq-item[open] { border-color: var(--line-strong); background: var(--surface); }
.faq-item summary {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.2rem;
  cursor: pointer;
  list-style: none;
  font-size: .86rem;
  font-weight: 700;
  line-height: 1.6;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  display: grid;
  place-items: center;
  width: 1.5rem;
  height: 1.5rem;
  flex: none;
  margin-left: auto;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--jade);
  font-size: 1rem;
  font-weight: 400;
  transition: transform .2s ease, background .2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); background: var(--mint); }
.faq-answer { padding: 0 3.2rem 1.15rem 1.2rem; color: var(--muted); font-size: .8rem; line-height: 1.85; }

/* ---------------- Health page ---------------- */
.health-page-hero { padding-bottom: clamp(2rem, 4vw, 3rem); }
.health-shell {
  display: grid;
  grid-template-columns: 17.5rem minmax(0, 1fr);
  align-items: start;
  gap: 1.2rem;
}
.health-aside { position: sticky; top: 6.3rem; display: grid; gap: 1rem; }
.profile-card {
  position: relative;
  padding: 1.5rem;
  border-radius: var(--r-lg);
  background: var(--jade);
  color: var(--cream);
  overflow: hidden;
}
.profile-card::before {
  content: "";
  position: absolute;
  width: 11rem;
  height: 11rem;
  right: -4rem;
  top: -5rem;
  border: 1px solid rgba(251, 245, 232, .16);
  border-radius: 50%;
  box-shadow: 0 0 0 2rem rgba(251, 245, 232, .03);
}
.profile-top { position: relative; display: flex; align-items: center; gap: .8rem; }
.profile-avatar {
  display: grid;
  place-items: center;
  width: 3.4rem;
  height: 3.4rem;
  flex: none;
  border: 1px solid rgba(251, 245, 232, .22);
  border-radius: 50%;
  background: rgba(251, 245, 232, .12);
  color: #f0d5a3;
  font-family: var(--font-display);
  font-size: 1.4rem;
}
.profile-top b { display: block; font-size: 1rem; }
.profile-top small { color: rgba(251, 245, 232, .5); font-size: .62rem; }
.profile-card > p { position: relative; margin-top: 1rem; color: rgba(251, 245, 232, .55); font-size: .7rem; line-height: 1.7; }
.profile-score {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.2rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(251, 245, 232, .15);
}
.profile-score span { color: rgba(251, 245, 232, .5); font-size: .62rem; }
.profile-score strong { display: block; margin-top: .2rem; color: #f0d5a3; font-family: var(--font-display); font-size: 1.4rem; line-height: 1; }
.profile-score strong b { color: inherit; font: inherit; }
.score-ring {
  display: grid;
  place-items: center;
  width: 3.7rem;
  height: 3.7rem;
  flex: none;
  border-radius: 50%;
  background: conic-gradient(#e6c48f 0 86%, rgba(251, 245, 232, .15) 86% 100%);
}
.score-ring span {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--jade);
  color: var(--cream);
  font-size: .7rem;
  font-weight: 800;
}
.aside-card {
  padding: 1.2rem;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: rgba(255, 253, 247, .72);
}
.aside-card h3 { font-family: var(--font-body); font-size: .78rem; letter-spacing: .04em; }
.aside-card > p { margin-top: .25rem; color: var(--muted); font-size: .65rem; line-height: 1.6; }
.aside-card .btn { margin-top: .8rem; }
.health-aside-links { display: grid; gap: .15rem; margin-top: .7rem; }
.health-aside-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .45rem 0;
  border-top: 1px solid var(--line);
  color: var(--ink-2);
  font-size: .72rem;
}
.health-aside-links a:hover { color: var(--clay); }
.health-aside-links span { color: var(--muted); font-size: .58rem; }
.emergency-mini {
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: .85rem;
  border: 1px solid #edc9bd;
  border-radius: .85rem;
  background: #fdf2ee;
}
.emergency-mini-icon {
  display: grid;
  place-items: center;
  width: 2.2rem;
  height: 2.2rem;
  flex: none;
  border-radius: 50%;
  background: var(--danger);
  color: #fff;
  font-size: .56rem;
  font-weight: 800;
}
.emergency-mini b { display: block; font-size: .72rem; color: #7d3f31; }
.emergency-mini small { color: #a46e60; font-size: .58rem; }
.emergency-mini .btn { margin-left: auto; min-height: 2rem; padding: .3rem .6rem; font-size: .6rem; }

.health-main { min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; }
.health-main > * { min-width: 0; }
.health-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.health-toolbar h2 { font-size: 1.75rem; }
.health-toolbar p { margin-top: .2rem; color: var(--muted); font-size: .74rem; }
.health-toolbar-actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.health-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .75rem;
}
.metric-card {
  position: relative;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface);
  overflow: hidden;
}
.metric-card::after {
  content: "";
  position: absolute;
  right: -1.3rem;
  bottom: -1.8rem;
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 50%;
  background: var(--mint-soft);
}
.metric-card:nth-child(2)::after { background: var(--clay-soft); }
.metric-card:nth-child(3)::after { background: var(--gold-soft); }
.metric-card:nth-child(4)::after { background: var(--mint); }
.metric-head { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: .3rem; }
.metric-head span { color: var(--muted); font-size: .64rem; }
.metric-head i {
  display: inline-flex;
  align-items: center;
  gap: .15rem;
  padding: .1rem .35rem;
  border-radius: 999px;
  background: var(--mint-soft);
  color: var(--jade-2);
  font-size: .5rem;
  font-style: normal;
  white-space: nowrap;
}
.metric-head i.down { background: #fdf0ec; color: var(--clay); }
.metric-value { position: relative; z-index: 1; display: flex; align-items: baseline; gap: .2rem; margin-top: .5rem; }
.metric-value strong { font-family: var(--font-display); font-size: 1.85rem; line-height: 1; letter-spacing: -.02em; }
.metric-value small { color: var(--muted); font-size: .55rem; }
.metric-foot { position: relative; z-index: 1; margin-top: .45rem; color: var(--muted); font-size: .55rem; }
.metric-spark { position: relative; z-index: 1; width: 100%; height: 1.7rem; margin-top: .35rem; }

.panel {
  padding: 1.2rem;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: rgba(255, 253, 247, .8);
}
.panel-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .6rem; margin-bottom: .9rem; }
.panel-head h2 { font-size: 1.15rem; }
.panel-head p { color: var(--muted); font-size: .65rem; }
.segmented {
  display: inline-flex;
  gap: .15rem;
  padding: .18rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-soft);
}
.segmented button {
  min-height: 1.8rem;
  padding: .2rem .65rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: .58rem;
  font-weight: 700;
}
.segmented button.is-active { background: var(--jade); color: var(--cream); }
.chart-wrap { position: relative; }
.chart-wrap svg { width: 100%; height: auto; min-height: 13rem; overflow: visible; }
.chart-legend { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: .4rem; color: var(--muted); font-size: .6rem; }
.chart-legend span { display: inline-flex; align-items: center; gap: .3rem; }
.chart-legend i { width: .75rem; height: 2px; border-radius: 2px; background: var(--jade); }
.chart-legend i.dia { background: var(--clay); }
.chart-legend i.range { height: .45rem; background: var(--mint); }
.chart-empty { display: grid; place-items: center; min-height: 13rem; color: var(--muted); font-size: .8rem; text-align: center; }
.health-two-col { display: grid; grid-template-columns: 1.08fr .92fr; gap: 1rem; align-items: stretch; }
.med-list { display: grid; gap: .15rem; }
.med-item {
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: .65rem 0;
  border-top: 1px solid var(--line);
}
.med-item:first-child { border-top: 0; }
.med-check {
  position: relative;
  width: 1.25rem;
  height: 1.25rem;
  flex: none;
  appearance: none;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: var(--surface);
  cursor: pointer;
}
.med-check:checked { background: var(--jade); border-color: var(--jade); }
.med-check:checked::after {
  content: "";
  position: absolute;
  left: .37rem;
  top: .2rem;
  width: .28rem;
  height: .55rem;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(42deg);
}
.med-time {
  display: grid;
  place-items: center;
  width: 2.8rem;
  height: 2.1rem;
  flex: none;
  border-radius: .5rem;
  background: var(--mint-soft);
  color: var(--jade);
  font-size: .58rem;
  font-weight: 800;
}
.med-info { min-width: 0; }
.med-info b { display: block; font-size: .74rem; }
.med-info small { color: var(--muted); font-size: .58rem; }
.med-item.is-done .med-info b { color: var(--muted); text-decoration: line-through; }
.med-item .tag { margin-left: auto; }
.med-progress { margin-top: .8rem; padding-top: .8rem; border-top: 1px solid var(--line); }
.med-progress-bar { height: .35rem; border-radius: 999px; background: var(--mint-soft); overflow: hidden; }
.med-progress-bar span { display: block; height: 100%; border-radius: inherit; background: var(--jade-2); transition: width .3s ease; }
.med-progress p { margin-top: .35rem; color: var(--muted); font-size: .58rem; }
.tip-list { display: grid; gap: .5rem; }
.tip-item {
  display: flex;
  gap: .6rem;
  padding: .7rem;
  border-radius: .75rem;
  background: var(--surface-soft);
}
.tip-icon {
  display: grid;
  place-items: center;
  width: 1.7rem;
  height: 1.7rem;
  flex: none;
  border-radius: 50%;
  background: var(--surface);
  color: var(--clay);
  font-size: .75rem;
}
.tip-item b { display: block; font-size: .68rem; }
.tip-item p { color: var(--muted); font-size: .6rem; line-height: 1.65; }
.tip-item .link-arrow { margin-top: .3rem; font-size: .58rem; }
.dashboard-footnote { color: var(--muted); font-size: .58rem; line-height: 1.7; text-align: right; }

.checkin-card { position: relative; overflow: hidden; }
.checkin-head { display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.checkin-head h2 { font-size: 1.05rem; }
.checkin-ring {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  flex: none;
  border-radius: 50%;
  background: conic-gradient(var(--jade) 0 0, var(--mint) 0 100%);
}
.checkin-ring span {
  display: grid;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 50%;
  background: var(--surface);
  color: var(--jade);
  font-size: .55rem;
  font-weight: 800;
}
.checkin-list { display: grid; gap: .1rem; margin-top: .5rem; }
.checkin-hint { margin-top: .55rem; color: var(--muted); font-size: .58rem; line-height: 1.6; }
.checkin-item { display: flex; align-items: center; gap: .55rem; padding: .55rem 0; border-top: 1px solid var(--line); cursor: pointer; }
.checkin-item input { accent-color: var(--jade); width: 1rem; height: 1rem; flex: none; }
.checkin-item span { font-size: .7rem; }
.checkin-item input:checked + span { color: var(--muted); text-decoration: line-through; }

.records-section { margin-top: 0; overflow: hidden; }
.records-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .7rem; margin-bottom: .8rem; }
.records-head h2 { font-size: 1.2rem; }
.records-head p { color: var(--muted); font-size: .62rem; }
.table-scroll { overflow-x: auto; }
.records-table { min-width: 34rem; font-size: .68rem; }
.records-table th,
.records-table td { padding: .6rem .5rem; border-bottom: 1px solid var(--line); text-align: left; white-space: nowrap; }
.records-table th { color: var(--muted); font-size: .58rem; font-weight: 600; letter-spacing: .03em; }
.records-table td { color: var(--ink-2); }
.records-table td:first-child { color: var(--ink); font-weight: 700; }
.records-table tr:last-child td { border-bottom: 0; }
.records-table .state { display: inline-flex; align-items: center; gap: .25rem; padding: .1rem .4rem; border-radius: 999px; background: var(--mint-soft); color: var(--jade-2); font-size: .54rem; }
.records-table .state.warn { background: #fdf0ec; color: var(--clay); }
.row-delete {
  display: grid;
  place-items: center;
  width: 1.5rem;
  height: 1.5rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
  font-size: .7rem;
}
.row-delete:hover { border-color: var(--danger); color: var(--danger); }

/* Health record modal */
dialog.modal--record { width: min(40rem, calc(100vw - 2rem)); }
.record-shell {
  position: relative;
  max-height: calc(100vh - 2rem);
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  overflow: auto;
}
.record-head { padding: 1.7rem 1.8rem 0; }
.record-head h2 { font-size: 1.65rem; }
.record-head p { margin-top: .3rem; color: var(--muted); font-size: .76rem; }
.record-form { padding: 1.3rem 1.8rem 1.8rem; }

/* ---------------- Activities page ---------------- */
.week-strip {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: .45rem;
  padding: .55rem;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: rgba(255, 253, 247, .56);
}
.week-day {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .1rem;
  padding: .6rem .3rem;
  border: 1px solid transparent;
  border-radius: .8rem;
  background: transparent;
  color: var(--ink-2);
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.week-day span { color: var(--muted); font-size: .58rem; }
.week-day strong { font-family: var(--font-display); font-size: 1.2rem; line-height: 1.2; font-weight: 700; }
.week-day small { color: var(--muted); font-size: .52rem; }
.week-day:hover { background: var(--surface); border-color: var(--line); }
.week-day.is-active { background: var(--jade); border-color: var(--jade); color: var(--cream); }
.week-day.is-active span,
.week-day.is-active small { color: rgba(251, 245, 232, .6); }
.week-day.has-event::after { content: ""; width: .25rem; height: .25rem; border-radius: 50%; background: var(--clay); }
.week-day.is-active.has-event::after { background: #f0d5a3; }
.activity-page-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.6rem 1.3rem;
  margin-top: 1.8rem;
}
.activity-page-grid .activity-art { aspect-ratio: 16 / 11; }
.activity-page-grid .activity-card.is-hidden { display: none; }
.activity-page-grid .activity-card:nth-child(2) .art-char,
.activity-page-grid .activity-card:nth-child(5) .art-char { font-size: 11rem; }
.activity-intro {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.2rem;
  margin-bottom: 1.6rem;
}
.activity-intro h2 { margin-top: .55rem; font-size: clamp(2rem, 1.4rem + 2vw, 3.1rem); }
.activity-intro p { max-width: 26rem; color: var(--muted); font-size: .83rem; line-height: 1.8; }
.activity-highlight {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--jade);
  color: var(--cream);
}
.activity-highlight-copy { padding: clamp(2rem, 5vw, 3.5rem); }
.activity-highlight-copy .eyebrow { color: #e6c48f; }
.activity-highlight-copy h2 { max-width: 11em; margin-top: .7rem; color: var(--cream); font-size: clamp(1.8rem, 1.4rem + 1.5vw, 2.8rem); line-height: 1.3; }
.activity-highlight-copy p { max-width: 28rem; margin-top: .8rem; color: rgba(251, 245, 232, .6); font-size: .82rem; line-height: 1.85; }
.activity-highlight-art {
  position: relative;
  min-height: 17rem;
  background: linear-gradient(145deg, #e7c58f, #b37b46);
  overflow: hidden;
}
.activity-highlight-art::before {
  content: "乐";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  color: rgba(255, 253, 247, .2);
  font-family: var(--font-display);
  font-size: 14rem;
  line-height: 1;
}
.activity-highlight-art::after {
  content: "";
  position: absolute;
  width: 12rem;
  height: 12rem;
  left: 50%;
  top: 50%;
  border: 1px solid rgba(255, 253, 247, .45);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 2.5rem rgba(255, 253, 247, .07), 0 0 0 5rem rgba(255, 253, 247, .04);
}
.gallery-mosaic {
  display: grid;
  grid-template-columns: 1.2fr .8fr .8fr;
  grid-template-rows: 10rem 10rem;
  gap: .7rem;
}
.gallery-tile {
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 1.1rem;
  border-radius: var(--r-md);
  overflow: hidden;
}
.gallery-tile:first-child { grid-row: span 2; }
.gallery-tile:nth-child(2) { background: var(--jade-2); }
.gallery-tile:nth-child(3) { background: var(--clay); }
.gallery-tile:nth-child(4) { background: #8a7352; }
.gallery-tile:nth-child(5) { background: #6b7d6e; }
.gallery-tile::before {
  content: "";
  position: absolute;
  right: -2rem;
  top: -2rem;
  width: 8rem;
  height: 8rem;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 50%;
}
.gallery-tile::after {
  content: attr(data-char);
  position: absolute;
  right: .7rem;
  bottom: -1.8rem;
  z-index: 0;
  color: rgba(255, 255, 255, .12);
  font-family: var(--font-display);
  font-size: 8rem;
  line-height: 1;
  pointer-events: none;
}
.gallery-tile span { position: relative; z-index: 1; color: rgba(255, 255, 255, .9); font-family: var(--font-display); font-size: 1.2rem; }

/* ---------------- About page ---------------- */
.about-story {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  align-items: center;
  gap: clamp(2rem, 6vw, 6rem);
}
.about-art {
  position: relative;
  aspect-ratio: 1 / 1.1;
  border-radius: 46% 46% 1.8rem 1.8rem / 33% 33% 1.8rem 1.8rem;
  background: linear-gradient(160deg, #d9c5aa, #b99064);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-art::before {
  content: "颐";
  position: absolute;
  left: 50%;
  top: 47%;
  transform: translate(-50%, -50%);
  color: rgba(255, 253, 247, .18);
  font-family: var(--font-display);
  font-size: 18rem;
  line-height: 1;
}
.about-art::after {
  content: "";
  position: absolute;
  width: 13rem;
  height: 13rem;
  left: 50%;
  top: 47%;
  border: 1px solid rgba(255, 253, 247, .4);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 3rem rgba(255, 253, 247, .05), 0 0 0 6rem rgba(255, 253, 247, .03);
}
.about-art-caption {
  position: absolute;
  left: 1.5rem;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 1;
  padding: 1rem 1.2rem;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: .9rem;
  background: rgba(255, 253, 247, .12);
  color: #fff;
  font-size: .72rem;
  line-height: 1.75;
  backdrop-filter: blur(9px);
}
.about-copy h2 { margin-top: .8rem; font-size: clamp(1.9rem, 1.3rem + 1.8vw, 3rem); line-height: 1.25; }
.about-copy h2 .h2-line { display: block; }
.about-copy h2 em { font-style: normal; color: var(--clay); }
.about-copy > p { margin-top: 1rem; color: var(--ink-2); font-size: .92rem; line-height: 1.95; }
.about-quote {
  margin-top: 1.4rem;
  padding: 1rem 0 1rem 1.2rem;
  border-left: 2px solid var(--clay);
  color: var(--jade);
  font-family: var(--font-display);
  font-size: 1.15rem;
  line-height: 1.8;
}
.about-sign { display: flex; align-items: center; gap: .7rem; margin-top: 1.5rem; }
.about-sign-seal {
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: .35rem;
  background: var(--clay);
  color: var(--cream);
  font-family: var(--font-display);
  font-size: 1rem;
}
.about-sign b { display: block; font-size: .78rem; }
.about-sign small { color: var(--muted); font-size: .62rem; }

.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.value-card {
  padding: 1.7rem;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: rgba(255, 253, 247, .6);
}
.value-no { color: var(--clay); font-family: var(--font-display); font-size: .85rem; letter-spacing: .1em; }
.value-card h3 { margin-top: 1.7rem; font-size: 1.35rem; }
.value-card p { margin-top: .5rem; color: var(--muted); font-size: .78rem; line-height: 1.8; }
.value-card:nth-child(2) { background: var(--jade); color: var(--cream); border-color: var(--jade); }
.value-card:nth-child(2) .value-no { color: #e6c48f; }
.value-card:nth-child(2) p { color: rgba(251, 245, 232, .55); }

.timeline { position: relative; display: grid; gap: 0; margin-top: 1rem; }
.timeline::before { content: ""; position: absolute; left: 5.6rem; top: .5rem; bottom: .5rem; width: 1px; background: var(--line); }
.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 4.6rem 1fr;
  gap: 2rem;
  padding: 1.2rem 0;
}
.timeline-year { color: var(--clay); font-family: var(--font-display); font-size: 1.2rem; line-height: 1.5; }
.timeline-item::before {
  content: "";
  position: absolute;
  left: 5.2rem;
  top: 1.75rem;
  width: .75rem;
  height: .75rem;
  border: 2px solid var(--paper-deep);
  border-radius: 50%;
  background: var(--jade);
  box-shadow: 0 0 0 1px var(--jade);
}
.timeline-content { padding-bottom: .4rem; border-bottom: 1px solid var(--line); }
.timeline-content h3 { font-size: 1.15rem; }
.timeline-content p { max-width: 36rem; margin-top: .35rem; color: var(--muted); font-size: .78rem; line-height: 1.8; }
.timeline-item:last-child .timeline-content { border-bottom: 0; }

.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.team-card {
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: rgba(255, 253, 247, .62);
}
.team-avatar {
  display: grid;
  place-items: center;
  width: 4.2rem;
  height: 4.2rem;
  border-radius: 50%;
  background: var(--mint);
  color: var(--jade);
  font-family: var(--font-display);
  font-size: 1.5rem;
}
.team-card:nth-child(2) .team-avatar { background: var(--clay-soft); color: var(--clay-dark); }
.team-card:nth-child(3) .team-avatar { background: var(--gold-soft); color: #7e622f; }
.team-card:nth-child(4) .team-avatar { background: #d9e2da; color: #3c5c4e; }
.team-card h3 { margin-top: 1rem; font-size: 1.1rem; }
.team-role { color: var(--clay); font-size: .64rem; letter-spacing: .05em; }
.team-card p { margin-top: .5rem; color: var(--muted); font-size: .7rem; line-height: 1.75; }

.tech-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.tech-card {
  position: relative;
  padding: 1.6rem;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: rgba(255, 253, 247, .62);
  overflow: hidden;
}
.tech-icon {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--mint);
  color: var(--jade);
}
.tech-icon svg { width: 1.4rem; height: 1.4rem; fill: none; stroke: currentColor; stroke-width: 1.5; }
.tech-card h3 { margin-top: 1.3rem; font-size: 1.15rem; }
.tech-card p { margin-top: .4rem; color: var(--muted); font-size: .74rem; line-height: 1.8; }
.tech-card small { display: block; margin-top: 1rem; padding-top: .7rem; border-top: 1px solid var(--line); color: var(--clay); font-size: .58rem; letter-spacing: .04em; }

.network-panel {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  padding: clamp(1.8rem, 4vw, 3rem);
  border-radius: var(--r-lg);
  background: var(--jade-dark);
  color: var(--cream);
  overflow: hidden;
}
.network-copy h2 { color: var(--cream); font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.5rem); }
.network-copy p { margin-top: .7rem; color: rgba(251, 245, 232, .55); font-size: .8rem; line-height: 1.8; }
.network-stats { display: flex; flex-wrap: wrap; gap: 1.4rem; margin-top: 1.4rem; }
.network-stats strong { display: block; color: #f0d5a3; font-family: var(--font-display); font-size: 1.5rem; line-height: 1.2; }
.network-stats span { color: rgba(251, 245, 232, .42); font-size: .6rem; }
.network-map { position: relative; aspect-ratio: 1.25; border: 1px solid rgba(251, 245, 232, .14); border-radius: 50%; }
.network-map::before,
.network-map::after { content: ""; position: absolute; inset: 15%; border: 1px dashed rgba(251, 245, 232, .12); border-radius: 50%; }
.network-map::after { inset: 32%; }
.network-dot {
  position: absolute;
  display: flex;
  align-items: center;
  gap: .35rem;
  color: rgba(251, 245, 232, .66);
  font-size: .58rem;
  white-space: nowrap;
}
.network-dot::before { content: ""; width: .42rem; height: .42rem; border-radius: 50%; background: #8fd0a9; box-shadow: 0 0 0 5px rgba(143, 208, 169, .13); }
.network-dot.d1 { left: 30%; top: 20%; }
.network-dot.d2 { right: 16%; top: 35%; }
.network-dot.d3 { left: 20%; bottom: 30%; }
.network-dot.d4 { right: 28%; bottom: 18%; }
.network-dot.d5 { left: 46%; top: 50%; }

.contact-grid {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}
.contact-info h2 { margin-top: .7rem; font-size: clamp(2rem, 1.4rem + 2vw, 3.2rem); }
.contact-info > p { margin-top: .8rem; color: var(--muted); font-size: .82rem; line-height: 1.85; }
.contact-list { display: grid; gap: .85rem; margin-top: 1.8rem; }
.contact-row { display: flex; align-items: flex-start; gap: .7rem; }
.contact-row-icon {
  display: grid;
  place-items: center;
  width: 2.2rem;
  height: 2.2rem;
  flex: none;
  border-radius: 50%;
  background: var(--mint);
  color: var(--jade);
}
.contact-row-icon svg { width: 1rem; height: 1rem; fill: none; stroke: currentColor; stroke-width: 1.6; }
.contact-row b { display: block; font-size: .75rem; }
.contact-row span { color: var(--muted); font-size: .7rem; line-height: 1.6; }
.contact-form-card {
  padding: clamp(1.5rem, 3vw, 2.2rem);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.contact-form-card h2 { font-size: 1.35rem; }
.contact-form-card > p { margin-top: .25rem; color: var(--muted); font-size: .74rem; }
.contact-form-card form { margin-top: 1.2rem; }

/* ---------------- Readability refinements ---------------- */
.mini-tags li,
.service-item-tags span { font-size: .68rem; }
.hud-head span { font-size: .66rem; }
.radar-point { font-size: .62rem; }
.hud-event b { font-size: .7rem; }
.hud-event small { font-size: .6rem; }
.hud-event time { font-size: .56rem; }
.watch-face small { font-size: .42rem; }
.guard-watch p { font-size: .65rem; }
.dash-stat span,
.dash-greet small,
.dash-date,
.dash-chart-head span,
.dash-tip p { font-size: .64rem; }
.dash-float small,
.float-caption,
.float-head span,
.float-head b { font-size: .64rem; }
.activity-meta { font-size: .72rem; }
.activity-foot .spots { font-size: .7rem; }
.metric-head span { font-size: .68rem; }
.metric-foot { font-size: .62rem; }
.profile-top small,
.profile-card > p { font-size: .7rem; }
.checkin-hint { font-size: .64rem; }
.aside-card > p { font-size: .67rem; }
.health-aside-links a { font-size: .76rem; }
.chart-legend { font-size: .66rem; }
.med-info small,
.med-time,
.med-progress p { font-size: .64rem; }
.tip-item p { font-size: .66rem; }
.records-table { font-size: .72rem; }
.records-table th { font-size: .62rem; }
.activity-art-label,
.art-label { font-size: .62rem; }
.network-dot { font-size: .64rem; }
.team-card p { font-size: .74rem; }

/* ---------------- Responsive ---------------- */
@media (max-width: 1180px) {
  .main-nav { gap: 0; }
  .main-nav a { padding-inline: .55rem; font-size: .84rem; }
  .header-actions { gap: .4rem; }
  .login-link span { display: none; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card { min-height: 19rem; }
  .service-card--featured { grid-row: auto; }
  .health-shell { grid-template-columns: 15.5rem minmax(0, 1fr); }
  .health-metrics { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1020px) {
  .topbar-inner { min-height: 2.1rem; }
  .header-inner { min-height: 4.5rem; }
  .main-nav,
  .header-actions .login-link,
  .header-actions .elder-btn,
  .header-actions .btn-book { display: none; }
  .menu-toggle { display: grid; }
  .header-actions { margin-left: auto; }
  .hero-grid { grid-template-columns: 1fr; gap: 1rem; }
  .hero-copy { padding-bottom: 0; }
  .hero h1 { max-width: 12em; }
  .hero-visual { width: min(34rem, 100%); margin: 1.5rem auto 0; }
  .hero-arch { width: 100%; }
  .hero-vertical { right: -1rem; }
  .float-health { left: -1rem; }
  .float-guard { right: -1rem; }
  .hero-metrics { margin-top: 2rem; }
  .guard-grid { grid-template-columns: 1fr; gap: 2.8rem; }
  .guard-copy h2 { max-width: 12em; }
  .guard-visual { width: min(36rem, 100%); margin: 0 auto; }
  .health-split { grid-template-columns: 1fr; }
  .health-copy { max-width: 38rem; }
  .dash-card { width: min(34rem, 100%); margin: 0 auto; }
  .dash-float { left: -1rem; }
  .story-grid { grid-template-columns: 1fr; }
  .story-side { grid-template-columns: 1fr 1fr; grid-template-rows: none; }
  .page-hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .page-seal { width: min(22rem, 80%); margin: 0 auto; }
  .page-seal-char { font-size: 9rem; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .process-step:nth-child(2) { border-right: 0; }
  .process-step:nth-child(n + 3) { border-top: 1px solid rgba(251, 245, 232, .15); }
  .package-grid { grid-template-columns: 1fr; max-width: 36rem; margin-inline: auto; }
  .package-desc { min-height: 0; }
  .faq-wrap { grid-template-columns: 1fr; }
  .faq-intro { position: static; max-width: 38rem; }
  .health-shell { grid-template-columns: 1fr; }
  .health-aside { position: static; grid-template-columns: 1fr 1fr; }
  .profile-card { grid-column: 1 / -1; }
  .health-toolbar { margin-top: .3rem; }
  .health-two-col { grid-template-columns: 1fr; }
  .activity-page-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .activity-highlight { grid-template-columns: 1fr; }
  .activity-highlight-art { min-height: 13rem; }
  .gallery-mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: 9rem 9rem 9rem; }
  .gallery-tile:first-child { grid-row: span 1; grid-column: span 2; }
  .about-story { grid-template-columns: 1fr; }
  .about-art { width: min(27rem, 100%); margin: 0 auto; }
  .value-grid { grid-template-columns: 1fr; }
  .value-card { display: grid; grid-template-columns: auto 1fr; gap: 0 1.5rem; align-items: start; }
  .value-card h3 { margin-top: 0; }
  .value-card p { grid-column: 2; }
  .value-card .value-no { grid-row: span 2; }
  .tech-grid { grid-template-columns: 1fr; }
  .network-panel { grid-template-columns: 1fr; }
  .network-map { width: min(24rem, 100%); margin: 0 auto; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .topbar-short { display: inline; }
  .topbar-long { display: none; }
  .topbar-note { font-size: .62rem; white-space: nowrap; }
  .topbar-links a { font-size: .62rem; white-space: nowrap; }
  .topbar-phone-label { display: none; }
  .topbar-links { gap: .6rem; }
  .topbar-links .topbar-mode { display: none; }
  .header-inner { min-height: 4.1rem; }
  .brand-mark { width: 2.55rem; height: 2.55rem; font-size: 1.35rem; }
  .brand-name strong { font-size: 1.05rem; }
  .brand-name small { font-size: .45rem; }
  .hero { padding-top: 2rem; }
  .hero h1 { font-size: clamp(2.45rem, 10.5vw, 3.4rem); margin-top: 1rem; }
  .hero-lede { font-size: .96rem; }
  .hero-actions { gap: .5rem; }
  .hero-actions .btn { flex: 1 1 auto; }
  .hero-trust { margin-top: 1.4rem; }
  .hero-visual { margin-top: 1.2rem; }
  .hero-vertical { display: none; }
  .float-health { left: -.4rem; top: 6%; width: 12.5rem; padding: .75rem .8rem; }
  .float-guard { right: -.4rem; bottom: 8%; width: 12.4rem; padding: .75rem .8rem; }
  .float-heart strong { font-size: 1.45rem; }
  .float-card { border-radius: .9rem; }
  .hero-deco-dot { display: none; }
  .hero-metrics { grid-template-columns: repeat(2, 1fr); }
  .hero-metric { padding: .95rem .9rem; }
  .hero-metric:nth-child(3) { border-left: 0; padding-left: 0; }
  .hero-metric:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .hero-metric strong { font-size: 1.5rem; }
  .section-head { margin-bottom: 1.6rem; }
  .section-head-side { font-size: .86rem; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 0; padding: 1.4rem; }
  .service-icon { margin-bottom: 1.1rem; }
  .service-link { margin-top: 1.2rem; }
  .guard-hud { padding: .9rem; }
  .hud-body { grid-template-columns: 1fr; }
  .radar { width: min(15rem, 80%); margin: 0 auto; }
  .hud-events { grid-template-columns: 1fr; }
  .guard-watch { right: -.4rem; bottom: -1.2rem; width: 11rem; }
  .dash-stats { gap: .4rem; }
  .dash-stat { padding: .6rem; }
  .dash-stat strong { font-size: 1.05rem; }
  .dash-float { display: none; }
  .activity-grid { grid-template-columns: 1fr; gap: 1.7rem; }
  .activity-art { aspect-ratio: 16 / 10; }
  .story-side { grid-template-columns: 1fr; }
  .story-tile { min-height: 9rem; }
  .cta-panel { grid-template-columns: 1fr; }
  .cta-actions { min-width: 0; flex-direction: row; flex-wrap: wrap; }
  .cta-actions .btn { width: auto; flex: 1 1 10rem; }
  .page-hero { padding-top: 1.6rem; }
  .page-hero-copy h1 { font-size: clamp(2.2rem, 9vw, 3.2rem); }
  .page-hero-copy > p { font-size: .92rem; }
  .page-seal { width: min(18rem, 78%); }
  .page-seal-char { font-size: 7rem; }
  .filter-bar { width: 100%; border-radius: .9rem; }
  .filter-btn { flex: 1 1 auto; justify-content: center; }
  .service-item { grid-template-columns: auto 1fr; align-items: start; gap: 1rem; }
  .service-item-side { grid-column: 2; flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; min-width: 0; padding-top: .2rem; }
  .service-item-side .btn { margin-top: 0; }
  .process-grid { grid-template-columns: 1fr; }
  .process-step { border-right: 0; border-top: 1px solid rgba(251, 245, 232, .15); padding: 1.2rem 0; }
  .process-step + .process-step { padding-left: 0; }
  .process-step:first-child { border-top: 0; }
  .process-no { margin-bottom: .8rem; }
  .faq-item summary { font-size: .8rem; }
  .faq-answer { padding-right: 1.2rem; }
  .health-aside { grid-template-columns: 1fr; }
  .profile-card { grid-column: auto; }
  .health-toolbar h2 { font-size: 1.45rem; }
  .health-metrics { grid-template-columns: 1fr 1fr; gap: .55rem; }
  .metric-card { padding: .85rem; }
  .metric-value strong { font-size: 1.55rem; }
  .records-table { min-width: 0; width: 100%; font-size: .62rem; }
  .records-table th,
  .records-table td { padding: .5rem .3rem; white-space: nowrap; }
  .records-table th:nth-child(3),
  .records-table td:nth-child(3),
  .records-table th:nth-child(4),
  .records-table td:nth-child(4),
  .records-table th:nth-child(5),
  .records-table td:nth-child(5) { display: none; }
  .records-table small { display: none; }
  .panel { padding: 1rem; }
  .week-strip { gap: .15rem; padding: .35rem; }
  .week-day { padding: .45rem .1rem; }
  .week-day strong { font-size: 1rem; }
  .week-day small { display: none; }
  .activity-page-grid { grid-template-columns: 1fr; }
  .activity-intro { align-items: flex-start; }
  .activity-highlight-art { min-height: 11rem; }
  .gallery-mosaic { grid-template-rows: 8rem 8rem; }
  .about-art { aspect-ratio: 1 / 1; }
  .timeline::before { left: 4rem; }
  .timeline-item { grid-template-columns: 3.2rem 1fr; gap: 1.5rem; }
  .timeline-item::before { left: 3.65rem; top: 1.55rem; }
  .timeline-year { font-size: 1rem; }
  .team-grid { grid-template-columns: 1fr 1fr; gap: .6rem; }
  .team-card { padding: 1rem; }
  .team-avatar { width: 3.4rem; height: 3.4rem; font-size: 1.2rem; }
  .network-stats { gap: 1rem; }
  .contact-form-card { padding: 1.2rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 1.8rem; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
  .sos-fab { right: .8rem; bottom: .9rem; width: 3.4rem; height: 3.4rem; padding: 0; border-radius: 50%; justify-content: center; }
  .sos-icon { width: 100%; height: 100%; background: transparent; font-size: .62rem; }
  .sos-copy { display: none; }
  .toast { bottom: 5.5rem; font-size: .74rem; }
  .modal-shell { grid-template-columns: 1fr; }
  .modal-aside { padding: 1.5rem; }
  .modal-aside-list { display: none; }
  .modal-aside-phone { padding-top: .8rem; }
  .modal-body { padding: 1.4rem; }
  .form-grid { grid-template-columns: 1fr; }
  .field--full { grid-column: auto; }
  .sos-head, .sos-body { padding-inline: 1.3rem; }
  .toast { bottom: 5.5rem; font-size: .74rem; }
}

@media (max-width: 440px) {
  .hero-kicker { font-size: .64rem; }
  .hero-trust p { font-size: .64rem; }
  .hero-trust strong { font-size: .8rem; }
  .float-health { width: 11rem; }
  .float-guard { width: 11rem; }
  .float-head span { font-size: .5rem; }
  .float-heart strong { font-size: 1.25rem; }
  .float-guard-top b { font-size: .64rem; }
  .dash-card { padding: .8rem; }
  .dash-date { display: none; }
  .dash-chart svg { height: 6rem; }
  .cta-panel { padding: 1.6rem; }
  .page-hero-stats { gap: 1rem 1.4rem; }
  .health-metrics { grid-template-columns: 1fr 1fr; }
  .metric-head span { font-size: .56rem; }
  .metric-head i { font-size: .44rem; }
  .team-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .week-day span { font-size: .5rem; }
}

/* ---------------- Motion / contrast preferences ---------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}
html.reduce-motion *, html.reduce-motion *::before, html.reduce-motion *::after {
  animation-duration: .001ms !important;
  animation-iteration-count: 1 !important;
  transition-duration: .001ms !important;
}
html.reduce-motion .js .reveal { opacity: 1; transform: none; }
