/* Dacsaap — design tokens (shared family look with Tuppi Kasyo, shifted one step) ── */
:root {
  --font: "Roboto", "Mukta", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Lora", "Mukta", Georgia, "Times New Roman", serif;
  --font-ne: "Mukta", "Roboto", system-ui, sans-serif;
  --bg: #f2f5f9; --surface: #ffffff; --surface-2: #ebeff4; --fg: #12233a; --muted: #566474; --faint: #95a0ad;
  --line: #c3cad4; --hairline: #e2e7ee;
  --brand: #84182b; --brand-2: #6f1223; --brand-fg: #ffffff; --brand-soft: #fbe7eb; --brand-ink: #8c1d31; --brand-icon: #d23a52;
  --ink-btn: #1a2438; --ink-btn-fg: #ffffff;
  --hero: #112a44; --hero-fg: #ffffff; --hero-muted: #c8d3e0;
  --accent: #f2ad38; --accent-soft: #fff0d4;
  --danger: #c43d22; --danger-soft: #fde8e2; --danger-ink: #8a2a12; --danger-line: #f2b6a4;
  --warn: #9a5a00; --warn-soft: #fcf0db; --warn-ink: #6a3a08; --ok: #1b7f50; --ok-soft: #e2f3ea;
  --t-doc: #8c1d31; --t-doc-bg: #fbe7eb; --t-hos: #1f4b7a; --t-hos-bg: #e3ebf5; --t-home: #1b7f50; --t-home-bg: #e2f3ea; --t-med: #9a5a00; --t-med-bg: #fff0d4;
  --lvl-self: #566474; --lvl-primary: #1b7f50; --lvl-secondary: #9a5a00; --lvl-tertiary: #5b3fa6; --lvl-emergency: #c43d22;
  --radius: 20px; --radius-sm: 10px; --radius-hero: 28px;
  --shadow: 0 2px 3px rgba(16, 24, 40, .14), 0 1px 1px rgba(16, 24, 40, .04);
  --wrap: 1080px;
  /* legacy aliases used by staff pages */
  --card: var(--surface); --me: var(--brand-soft);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0e1422; --surface: #171f31; --surface-2: #1f2942; --fg: #e9e8ec; --muted: #9ca6ba; --faint: #6d778c;
    --line: #27324d; --hairline: #242e46;
    --brand: #e47a93; --brand-2: #f08ea5; --brand-fg: #1a0b10; --brand-soft: #3b1b28; --brand-ink: #f3c9d3; --brand-icon: #f08aa1;
    --ink-btn: #ece8e5; --ink-btn-fg: #0e1422;
    --hero: #1a2640; --hero-muted: #aab6c8;
    --accent: #f2b24b; --accent-soft: #3a2d12;
    --danger: #f0845a; --danger-soft: #3a1a12; --danger-ink: #ffd2c2; --danger-line: #6a2e1e;
    --warn: #e0a040; --warn-soft: #33270f; --warn-ink: #f6d9a4; --ok: #3dbe87; --ok-soft: #12301f;
    --t-doc: #f08aa1; --t-doc-bg: #3b1b28; --t-hos: #8fb5e6; --t-hos-bg: #1c2b45; --t-home: #5fcf9c; --t-home-bg: #13301f; --t-med: #f2b24b; --t-med-bg: #3a2d12;
    --lvl-self: #9ca6ba; --lvl-primary: #3dbe87; --lvl-secondary: #e0a040; --lvl-tertiary: #a888e6; --lvl-emergency: #f0845a;
    --shadow: 0 2px 3px rgba(0, 0, 0, .45);
  }
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }

/* phone app feel: smooth page changes, instant taps, no accidental zoom */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .18s; }
html { scroll-behavior: smooth; -webkit-tap-highlight-color: transparent; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
a, button, summary, label, .chip, .tap { touch-action: manipulation; }
a, button, .tap, .tile, .card.link, .chip, .speak, .sosrow, .place { transition: transform .12s ease, background-color .15s ease, border-color .15s ease, opacity .15s ease; }
a:active, button:active, .tap:active, .tile:active, .chip:active, .speak:active, .sosrow:active { transform: scale(.97); }
input, select, textarea { font-size: max(16px, 1em); }
.standalone .sosbar { padding-top: calc(7px + env(safe-area-inset-top)); }
.standalone .site-header { top: 0; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } ::view-transition-old(root), ::view-transition-new(root) { animation: none; } }
.installbar { position: fixed; left: 12px; right: 12px; bottom: calc(80px + env(safe-area-inset-bottom)); z-index: 900; display: flex; align-items: center; gap: 12px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 12px 10px 12px 12px; box-shadow: 0 10px 30px rgba(16, 24, 40, .18); animation: rise .25s ease-out; }
.installbar img { border-radius: 10px; flex: none; }
.installbar .txt { flex: 1; min-width: 0; line-height: 1.3; } .installbar .txt strong { display: block; font-size: .95rem; } .installbar .txt span { font-size: .82rem; color: var(--muted); }
.installbar .x { border: 0; background: transparent; color: var(--muted); width: 36px; height: 36px; display: grid; place-items: center; cursor: pointer; }
@media (min-width: 1000px) { .installbar { left: auto; right: 24px; bottom: 24px; width: 380px; } }
@keyframes rise { from { transform: translateY(16px); opacity: 0; } }
html { -webkit-text-size-adjust: 100%; }
html, body { margin: 0; }
body { background: var(--bg); color: var(--fg); font: 16px/1.6 var(--font); }
:lang(ne) body, body:lang(ne) { line-height: 1.7; font-family: var(--font-ne); }
a { color: inherit; }
img, svg { max-width: 100%; }
svg.i { width: 1.15em; height: 1.15em; flex: none; vertical-align: -0.2em; }
h1, h2 { font-family: var(--font-display); font-weight: 600; line-height: 1.15; letter-spacing: -.01em; }
h3 { font-weight: 600; line-height: 1.3; }
h1 { font-size: clamp(2rem, 4.6vw, 3.1rem); margin: 0 0 14px; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); margin: 0 0 10px; }
h3 { font-size: 1.05rem; margin: 0 0 6px; }
p { margin: 0 0 12px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.muted, .hint { color: var(--muted); } .hint { font-size: .9rem; }
.eyebrow { display: inline-flex; align-items: center; gap: 7px; font-size: .8rem; font-weight: 500; color: var(--brand-ink); margin-bottom: 10px; }
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--brand-icon); }
.lead { font-size: 1.08rem; line-height: 1.65; color: var(--muted); max-width: 60ch; }
.ne-line { font-family: var(--font-ne); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--brand-icon); outline-offset: 2px; border-radius: 6px; }

/* header */
.sosbar { display: block; background: var(--danger); color: #fff; text-align: center; padding: 7px 16px; font-weight: 600; font-size: .9rem; text-decoration: none; }
.site-header { position: sticky; top: 0; z-index: 800; background: color-mix(in srgb, var(--surface) 95%, transparent); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--hairline); }
.site-header .wrap { display: flex; align-items: center; gap: 18px; height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-size: 1.2rem; letter-spacing: -.02em; color: var(--fg); }
.logo svg { width: 28px; height: 28px; flex: none; }
.logo b { color: var(--brand-ink); font-weight: 700; }
.logo small { display: block; font-size: .66rem; font-weight: 400; color: var(--muted); letter-spacing: 0; line-height: 1.2; }
.mainnav { display: none; gap: 2px; margin-left: 8px; }
.mainnav a { text-decoration: none; padding: 8px 14px; border-radius: 999px; color: var(--muted); font-size: .9rem; }
.mainnav a:hover, .mainnav a.on { color: var(--fg); background: var(--surface-2); }
.mainnav a.sos { color: var(--danger); }
.header-tools { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.lang { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; background: var(--surface); box-shadow: var(--shadow); }
.lang button { border: 0; background: transparent; padding: 5px 11px; border-radius: 999px; font: 500 .82rem var(--font); color: var(--muted); cursor: pointer; }
.lang button[data-l="ne"] { font-family: var(--font-ne); font-size: .9rem; }
.lang button.on { background: var(--ink-btn); color: var(--ink-btn-fg); }
.region-chip { display: inline-flex; align-items: center; gap: 5px; border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 7px 12px; cursor: pointer; font: 500 .82rem var(--font); color: var(--fg); white-space: nowrap; max-width: 46vw; overflow: hidden; text-overflow: ellipsis; box-shadow: var(--shadow); }
.region-chip svg { color: var(--brand-icon); }
.cta-book { display: none; }
@media (min-width: 1000px) { .mainnav { display: flex; } .cta-book { display: inline-flex; } }
.bottomnav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 800; background: var(--surface); border-top: 1px solid var(--hairline);
             display: flex; padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); }
.bottomnav a { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; text-decoration: none; color: var(--muted); font-size: .72rem; font-weight: 500; padding: 3px 2px; }
.bottomnav a .ic { display: grid; place-items: center; width: 44px; height: 28px; border-radius: 999px; }
.bottomnav a .ic svg { width: 21px; height: 21px; }
.bottomnav a.on { color: var(--brand-ink); } .bottomnav a.on .ic { background: var(--brand-soft); }
.bottomnav a.sos { color: var(--danger); }
@media (min-width: 1000px) { .bottomnav { display: none; } }
body { padding-bottom: 76px; } @media (min-width: 1000px) { body { padding-bottom: 0; } }

/* buttons, chips, badges */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid var(--line); background: var(--surface); color: var(--fg);
       border-radius: 999px; padding: 0 20px; min-height: 42px; font: 500 .95rem var(--font); text-decoration: none; cursor: pointer; line-height: 1.2; box-shadow: var(--shadow); }
.btn:hover { border-color: var(--faint); }
.btn.solid { background: var(--brand); border-color: var(--brand); color: var(--brand-fg); box-shadow: none; } .btn.solid:hover { background: var(--brand-2); border-color: var(--brand-2); }
.btn.ink { background: var(--ink-btn); border-color: var(--ink-btn); color: var(--ink-btn-fg); border-radius: var(--radius-sm); font-weight: 700; box-shadow: none; }
.btn.red { background: var(--danger); border-color: var(--danger); color: #fff; box-shadow: none; font-weight: 600; }
.btn.ghost { background: transparent; box-shadow: none; }
.btn.big { min-height: 50px; padding: 0 26px; font-size: 1.02rem; }
.btn.sm { min-height: 34px; padding: 0 13px; font-size: .86rem; }
.btn:disabled { opacity: .55; cursor: default; }
.row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin: 10px 0; }
.chip { border: 1px solid var(--line); background: var(--surface); border-radius: 18px; padding: 7px 14px; cursor: pointer; font: 500 .88rem var(--font); color: var(--fg); box-shadow: var(--shadow); }
.chip.on { background: var(--ink-btn); color: var(--ink-btn-fg); border-color: var(--ink-btn); }
.badge { display: inline-block; font-size: .74rem; font-weight: 600; padding: 3px 10px; border-radius: 999px; border: 1px solid currentColor; white-space: nowrap; }
.badge.solid { background: var(--brand-soft); border-color: transparent; color: var(--brand-ink); }
.lvl-self_care { color: var(--lvl-self); } .lvl-primary { color: var(--lvl-primary); } .lvl-secondary, .lvl-hospital { color: var(--lvl-secondary); }
.lvl-tertiary { color: var(--lvl-tertiary); } .lvl-emergency { color: var(--lvl-emergency); }
.badge.er { color: var(--danger); } .badge.ok { color: var(--ok); } .badge.quiet { color: var(--muted); } .badge.warn { color: var(--warn); }

/* sections */
.section { padding: 72px 0 0; } .section.tight { padding: 40px 0 0; } .section.alt { }
main > .section:last-child { padding-bottom: 72px; }
.section-head { max-width: 640px; margin-bottom: 26px; }
.hero { padding: 24px 0 0; }
.grid { display: grid; gap: 14px; }
.g2 { grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); }
.g3 { grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); }
.g5 { grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.card.flat { box-shadow: none; }
.card .ic { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand-ink); margin-bottom: 12px; }
.card .ic svg { width: 21px; height: 21px; }
.card.link { text-decoration: none; display: block; transition: transform .15s, border-color .15s; } .card.link:hover { transform: translateY(-2px); border-color: var(--faint); }
.card ul { padding-left: 18px; margin: 8px 0 0; } .card li { margin: 4px 0; }
.card .more { display: inline-flex; align-items: center; gap: 4px; margin-top: 10px; font-weight: 600; color: var(--brand-ink); text-decoration: none; }
.tile { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 18px 16px 20px; box-shadow: var(--shadow); text-decoration: none; display: flex; flex-direction: column; gap: 6px; }
.tile h3 { display: flex; align-items: center; gap: 8px; font-size: .98rem; font-weight: 700; margin: 0; }
.tile h3 svg { color: var(--brand-icon); width: 17px; height: 17px; }
.tile p { margin: 0; font-size: .86rem; line-height: 1.55; color: var(--muted); }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; margin: 12px 0; box-shadow: var(--shadow); }
.panel.sos { border: 1px solid var(--danger-line); background: var(--danger-soft); color: var(--danger-ink); }
.panel.warn { background: var(--warn-soft); border-color: transparent; color: var(--warn-ink); box-shadow: none; }
.panel.brand { background: var(--hero); color: var(--hero-fg); border-color: var(--hero); } .panel.brand .muted, .panel.brand .hint { color: var(--hero-muted); }
.steps { counter-reset: s; display: grid; gap: 0; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); padding: 0; list-style: none; margin: 0; border-top: 1px solid var(--line); }
.steps li { counter-increment: s; padding: 22px 24px 0 0; }
.steps li::before { content: counter(s); display: block; font-family: var(--font-display); font-size: 2.1rem; font-weight: 500; line-height: 1; color: var(--brand-ink); margin-bottom: 12px; }
.steps h3 { font-size: 1rem; }
.band { position: relative; overflow: hidden; background: var(--hero); color: var(--hero-fg); border-radius: var(--radius-hero); padding: 48px; }
.band h2 { max-width: 20ch; }
.band .eyebrow { color: var(--hero-muted); } .band .eyebrow::before { background: var(--accent); }
.band .lead, .band .hint { color: var(--hero-muted); } .band .btn { border-color: rgba(255,255,255,.25); background: rgba(255,255,255,.05); color: #fff; box-shadow: none; }
.band .btn.solid { background: var(--brand); border-color: var(--brand); color: var(--brand-fg); }
details.faq { border-bottom: 1px solid var(--hairline); padding: 16px 0; } details.faq summary { cursor: pointer; font-weight: 600; } details.faq p { margin: 10px 0 0; color: var(--muted); }
details.acc { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 13px 16px; margin: 8px 0; box-shadow: var(--shadow); }
details.acc summary { cursor: pointer; font-weight: 600; } details.acc ul { margin: 8px 0 0; padding-left: 20px; } details.acc li { margin: 4px 0; }
.warnline { margin-top: 8px; padding: 9px 12px; border-radius: 10px; background: var(--danger-soft); color: var(--danger-ink); font-size: .94rem; }

/* home: greeting hero with tap tiles (simple, eSewa-style) */
.home-hero { position: relative; overflow: hidden; background: var(--hero); color: var(--hero-fg); border-radius: var(--radius-hero); padding: 40px;
             display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); align-items: stretch; }
.home-hero .lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.home-hero .greet { position: relative; display: flex; flex-direction: column; justify-content: center; gap: 16px; }
.home-hero h1 { margin: 0; font-size: clamp(2rem, 4.2vw, 2.8rem); color: #fff; }
.home-hero .ne-q { margin: 0; font-family: var(--font-ne); font-size: clamp(1.2rem, 2.4vw, 1.5rem); line-height: 1.4; color: var(--hero-muted); }
.pill-note { align-self: flex-start; display: inline-flex; align-items: center; gap: 7px; background: rgba(255,255,255,.1); color: rgba(255,255,255,.92); font-size: .8rem; padding: 6px 12px; border-radius: 999px; }
.pill-note::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #d23a52; }
.speak { align-self: flex-start; display: inline-flex; align-items: center; gap: 16px; margin-top: 6px; background: var(--brand); color: #fff; text-decoration: none; border-radius: 999px; padding: 10px 28px 10px 10px; }
.speak:hover { background: var(--brand-2); }
.speak .mic { width: 56px; height: 56px; border-radius: 50%; background: #fff; color: #8c1d31; display: grid; place-items: center; flex: none; }
.speak .mic svg { width: 26px; height: 26px; }
.speak strong { display: block; font-size: 1.15rem; font-weight: 600; line-height: 1.25; }
.speak span.ne { display: block; font-family: var(--font-ne); font-size: 1.05rem; line-height: 1.25; opacity: .88; }
.free-note { display: inline-flex; align-items: center; gap: 7px; margin: 0; font-size: .88rem; color: var(--hero-muted); }
.free-note::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.need { position: relative; background: var(--surface); color: var(--fg); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 18px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 16px; }
.need-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 0 4px; }
.need-head strong { font-size: 1.05rem; font-weight: 600; } .need-head span { font-family: var(--font-ne); color: var(--muted); }
.tapgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px 4px; }
.tap { display: flex; flex-direction: column; align-items: center; gap: 6px; text-decoration: none; color: var(--fg); padding: 8px 2px; border-radius: 14px; text-align: center; }
.tap:hover { background: var(--surface-2); }
.tap .c { width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; }
.tap .c svg { width: 26px; height: 26px; }
.tap b { font-size: .86rem; font-weight: 600; line-height: 1.2; } .tap small { font-family: var(--font-ne); font-size: .86rem; line-height: 1.15; color: var(--muted); }
.tap.doc .c { background: var(--t-doc-bg); color: var(--t-doc); } .tap.hos .c { background: var(--t-hos-bg); color: var(--t-hos); }
.tap.home .c { background: var(--t-home-bg); color: var(--t-home); } .tap.med .c { background: var(--t-med-bg); color: var(--t-med); }
@media (max-width: 420px) { .home-hero { padding: 26px 18px; border-radius: 22px; } .need { padding: 18px 10px; } .tap .c { width: 54px; height: 54px; } .speak { padding-right: 20px; } }
.sosrow { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 14px; background: var(--danger-soft); border: 1px solid var(--danger-line); border-radius: var(--radius); padding: 14px 14px 14px 22px; text-decoration: none; color: var(--danger-ink); box-shadow: var(--shadow); }
.sosrow > span:first-child svg { width: 28px; height: 28px; }
.sosrow .call svg { width: 20px; height: 20px; }
html[lang="ne"] :is(.home-hero .ne-q, .speak span.ne, .need-head span, .tap small, .sosrow .txt > span) { display: none; }
.sosrow .txt { flex: 1; min-width: 210px; line-height: 1.3; } .sosrow .txt strong { display: block; font-size: 1.05rem; } .sosrow .txt span { font-family: var(--font-ne); }
.sosrow .call { display: inline-flex; align-items: center; gap: 10px; background: var(--danger); color: #fff; border-radius: 999px; min-height: 52px; padding: 0 26px; font-size: 1.1rem; font-weight: 700; }
.lines-list { display: flex; flex-direction: column; }
.lines-list a { display: flex; gap: 14px; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid var(--hairline); text-decoration: none; color: var(--fg); }
.lines-list a:last-child { border-bottom: 0; padding-bottom: 4px; }
.lines-list .n { flex: none; width: 24px; font-family: var(--font-display); font-style: italic; color: var(--brand-ink); }
.lines-list .b { flex: 1; display: flex; flex-direction: column; gap: 2px; } .lines-list .b strong { font-weight: 600; } .lines-list .b span { font-size: .9rem; color: var(--muted); }
.lines-list .arr { color: var(--faint); margin-top: 3px; }
.split-panel { display: grid; gap: 40px; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); padding: 40px 36px; }
.band-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 28px; }

/* forms */
.field { display: flex; flex-direction: column; gap: 5px; margin: 12px 0; }
.field label, .label { font-weight: 500; font-size: .92rem; }
.field input, .field select, .field textarea { font: inherit; color: var(--fg); padding: 12px 13px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); width: 100%; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--brand-icon); outline-offset: 0; border-color: transparent; }
.field textarea { min-height: 96px; resize: vertical; }
.cols { display: grid; gap: 0 14px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.err { color: var(--danger); font-weight: 600; }
.check { display: flex; gap: 10px; align-items: flex-start; margin: 12px 0; } .check input { margin-top: 5px; width: 18px; height: 18px; flex: none; accent-color: var(--brand); }
.stepper { display: flex; gap: 6px; margin: 0 0 18px; padding: 0; list-style: none; }
.stepper li { flex: 1; height: 4px; border-radius: 99px; background: var(--surface-2); } .stepper li.on { background: var(--brand); }
.svc-pick { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.svc-pick label { display: block; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 16px; cursor: pointer; background: var(--surface); box-shadow: var(--shadow); }
.svc-pick input { position: absolute; opacity: 0; } .svc-pick label:has(input:checked) { border: 2px solid var(--brand); background: var(--brand-soft); }
.svc-pick label:has(input:focus-visible) { outline: 3px solid var(--brand-icon); }

/* timeline (order) */
.timeline { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--hairline); }
.timeline li { position: relative; padding: 0 0 16px 18px; } .timeline li::before { content: ""; position: absolute; left: -7px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--brand); }
.timeline li.todo::before { background: var(--line); } .timeline li.todo { color: var(--muted); }
.amount { font-family: var(--font-display); font-size: 2.1rem; font-weight: 600; letter-spacing: -.01em; }

/* map + places */
.split { display: grid; gap: 16px; } @media (min-width: 900px) { .split { grid-template-columns: 1.1fr 1fr; align-items: start; } .split .sticky { position: sticky; top: 84px; } }
#map { height: 320px; border-radius: var(--radius); border: 1px solid var(--line); z-index: 1; } @media (min-width: 900px) { #map { height: 560px; } }
.list { display: flex; flex-direction: column; gap: 10px; }
.place { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 15px 16px; box-shadow: var(--shadow); }
.place .top2 { display: flex; justify-content: space-between; gap: 8px; align-items: flex-start; }
.place .meta { color: var(--muted); font-size: .88rem; margin: 4px 0 8px; } .place.focus { outline: 2px solid var(--brand); }
.levels { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 14px; }
.sheet { position: fixed; inset: 0; z-index: 1000; background: rgba(10, 16, 28, .5); display: flex; align-items: flex-end; justify-content: center; }
.sheet .panel { width: 100%; max-width: 520px; margin: 0; border-radius: 20px 20px 0 0; max-height: 82vh; overflow: auto; }
@media (min-width: 700px) { .sheet { align-items: center; } .sheet .panel { border-radius: 20px; } }
.drawer { position: fixed; inset: 0; z-index: 1000; background: rgba(10, 16, 28, .5); }
.drawer nav { position: absolute; right: 0; top: 0; bottom: 0; width: min(320px, 86vw); background: var(--surface); padding: 20px; display: flex; flex-direction: column; gap: 4px; }
.drawer nav a { text-decoration: none; padding: 12px 14px; border-radius: 12px; font-weight: 500; } .drawer nav a:hover { background: var(--surface-2); }
.menu-btn { display: grid; place-items: center; border: 1px solid var(--line); background: var(--surface); border-radius: 50%; width: 40px; height: 40px; cursor: pointer; color: var(--fg); box-shadow: var(--shadow); }
.menu-btn svg { width: 18px; height: 18px; }
@media (min-width: 1000px) { .menu-btn { display: none; } }

/* footer */
.site-footer { border-top: 1px solid var(--hairline); margin-top: 72px; padding: 40px 0 28px; font-size: .9rem; }
.site-footer .cols4 { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.site-footer h4 { margin: 0 0 8px; font-size: .88rem; font-weight: 600; } .site-footer a { display: block; text-decoration: none; color: var(--muted); padding: 3px 0; } .site-footer a:hover { color: var(--fg); }
.site-footer .logo { display: inline-flex; }
.site-footer .legal { color: var(--muted); font-size: .82rem; margin-top: 22px; border-top: 1px solid var(--hairline); padding-top: 16px; }

/* AI call page */
.call-card { text-align: center; padding: 32px 18px; }
.orb { width: 128px; height: 128px; border-radius: 50%; margin: 8px auto 16px; background: var(--brand); display: grid; place-items: center; color: #fff;
       box-shadow: 0 0 0 14px var(--brand-soft); transition: transform .2s; }
.orb::after { content: ""; width: 44px; height: 44px; background: currentColor; -webkit-mask: var(--mic) center/contain no-repeat; mask: var(--mic) center/contain no-repeat; }
:root { --mic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='9' y='2' width='6' height='12' rx='3'/%3E%3Cpath d='M5 10v1a7 7 0 0 0 14 0v-1M12 18v4'/%3E%3C/svg%3E"); }
.orb.listening { animation: breathe 2.4s ease-in-out infinite; } .orb.thinking { animation: pulse 1s ease-in-out infinite; background: var(--hero); }
.orb.speaking { animation: talk .5s ease-in-out infinite alternate; }
@keyframes breathe { 50% { transform: scale(1.05); box-shadow: 0 0 0 22px var(--brand-soft); } } @keyframes pulse { 50% { opacity: .7; } } @keyframes talk { to { transform: scale(1.1); } }
@media (prefers-reduced-motion: reduce) { .orb { animation: none !important; } .card.link { transition: none; } }
.state { color: var(--muted); min-height: 1.4em; }
.call-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 14px; }
.btn-big { display: inline-flex; align-items: center; gap: 8px; background: var(--brand); color: var(--brand-fg); border: 0; border-radius: 999px; min-height: 52px; padding: 0 28px; font: 600 1.05rem var(--font); cursor: pointer; }
.btn-big svg { width: 20px; height: 20px; }
.btn-end { background: var(--danger); color: #fff; } .btn-mute { background: var(--ink-btn); color: var(--ink-btn-fg); } .btn-mute.on { background: var(--warn); color: #fff; }
.msg { margin: 10px 0; padding: 12px 14px; border-radius: 16px; white-space: pre-wrap; word-wrap: break-word; max-width: 92%; }
.msg.me { background: var(--surface-2); margin-left: auto; border-bottom-right-radius: 4px; }
.msg.bot { background: var(--surface); border: 1px solid var(--line); border-bottom-left-radius: 4px; box-shadow: var(--shadow); font-family: var(--font-display); }
:lang(ne) .msg.bot { font-family: var(--font-ne); }
.bigcall { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; background: var(--danger); color: #fff; padding: 10px 18px; border-radius: 999px; font-weight: 700; text-decoration: none; }
form.ask { position: fixed; left: 0; right: 0; bottom: 70px; z-index: 700; background: var(--bg); border-top: 1px solid var(--hairline); padding: 10px 16px; }
@media (min-width: 1000px) { form.ask { bottom: 0; padding-bottom: calc(10px + env(safe-area-inset-bottom)); } }
form.ask .row { max-width: 760px; margin: 0 auto; flex-wrap: nowrap; }
form.ask textarea { flex: 1; resize: none; border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; background: var(--surface); min-height: 48px; max-height: 140px; font: inherit; color: var(--fg); }
.send { background: var(--ink-btn); color: var(--ink-btn-fg); border: 0; border-radius: var(--radius-sm); padding: 0 18px; font: 700 .95rem var(--font); cursor: pointer; min-width: 64px; }
.care-card { text-align: left; margin-top: 14px; }

/* staff pages (legacy layout) */
.top { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 16px; max-width: 1120px; margin: 0 auto; }
.brand { font-weight: 700; font-size: 1.2rem; color: var(--brand-ink); text-decoration: none; }
.tools { display: flex; gap: 8px; align-items: center; }
.ghost { background: transparent; border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; cursor: pointer; color: var(--fg); font: inherit; }
.center { max-width: 420px; margin: 10vh auto; padding: 0 16px; }
.center input { width: 100%; padding: 12px; border: 1px solid var(--line); border-radius: 10px; margin: 10px 0; background: var(--surface); font: inherit; color: var(--fg); }
.center button { width: 100%; padding: 12px; }
ul.consent { padding-left: 20px; } ul.consent li { margin: 8px 0; }
table.data { width: 100%; border-collapse: collapse; font-size: .92rem; } table.data th, table.data td { text-align: left; padding: 8px 6px; border-bottom: 1px solid var(--hairline); vertical-align: top; }
.notice { max-width: 760px; margin: 0 auto; padding: 0 16px; color: var(--muted); font-size: .9rem; }
.shell { max-width: var(--wrap); margin: 0 auto; padding: 18px 24px 40px; }

/* header fit on small screens */
.site-header .cta-book { display: none; }
@media (min-width: 1000px) { .site-header .cta-book { display: inline-flex; } }
.site-header .wrap { min-width: 0; }
.logo { min-width: 0; flex: none; }
.header-tools { min-width: 0; flex: 0 1 auto; }
@media (max-width: 640px) {
  .site-header .wrap { gap: 8px; padding: 0 12px; height: 62px; }
  .logo small { display: none; }
  .region-chip { max-width: 28vw; padding: 6px 9px; }
  .lang button { padding: 5px 8px; }
  .header-tools { gap: 6px; }
}
@media (max-width: 380px) { .region-chip { display: none; } }
.mainnav a, .site-header .btn, .lang button { white-space: nowrap; }
@media (min-width: 1000px) and (max-width: 1340px) { .logo small { display: none; } .mainnav a { padding: 8px 10px; } .region-chip { max-width: 140px; } }
@media (min-width: 1000px) { .region-chip { flex: 0 0 auto; max-width: 170px; } .mainnav { flex: 1 1 auto; min-width: 0; } }
