/* Jeevan Sparsh OS: shared styles for the client pages (book, thank-you, intake, check-in, portal, consent, review).
   Palette is taken from the approved logo. Gold is decorative only: never use it for text on cream (contrast). */
:root {
  --green: #2E7D4F;
  --green-deep: #22603C;
  --green-wash: #EAF3EC;
  --gold: #C9A227;
  --gold-ink: #75590B;
  --gold-wash: #F6EED3;
  --cream: #FBF8F1;
  --paper: #FFFFFF;
  --ink: #1F3B2D;
  --muted: #53675B;
  --line: #E5DDCB;
  --line-strong: #CFC4AA;
  --danger: #9E3324;
  --danger-wash: #FBECE8;
  --focus: #1F3B2D;

  --serif: "Cormorant Garamond", "Noto Serif", Georgia, "Times New Roman", serif;
  --sans: "Figtree", "Noto Sans Gujarati", "Noto Sans Devanagari", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --script-gu: "Noto Sans Gujarati", "Figtree", system-ui, sans-serif;
  --script-hi: "Noto Sans Devanagari", "Figtree", system-ui, sans-serif;

  --r-sm: 10px;
  --r: 14px;
  --r-lg: 22px;
  --gutter: 16px;
  --tap: 48px;
  --shadow: 0 1px 2px rgba(31, 59, 45, .06), 0 8px 24px -12px rgba(31, 59, 45, .18);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 16px; scroll-padding-bottom: 104px; }
@media (min-width: 640px) { html { scroll-padding-bottom: 24px; } }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
html[lang="gu"] body { font-family: var(--script-gu); }
html[lang="hi"] body { font-family: var(--script-hi); }
img, svg { max-width: 100%; }
a { color: var(--green-deep); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 6px; }
[tabindex="-1"]:focus { outline: none; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 8px; top: -60px; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; z-index: 50; }
.skip:focus { top: 8px; color: #fff; }

/* ---------- Headings ---------- */
h1, h2, h3 { font-family: var(--serif); font-weight: 600; color: var(--ink); margin: 0 0 .4em; line-height: 1.15; letter-spacing: -.005em; font-variant-numeric: lining-nums; }
h1 { font-size: 2.15rem; }
h2 { font-size: 1.6rem; }
h3 { font-size: 1.3rem; }
html[lang="gu"] h1, html[lang="gu"] h2, html[lang="gu"] h3 { font-family: var(--script-gu); font-weight: 600; letter-spacing: 0; line-height: 1.35; }
html[lang="hi"] h1, html[lang="hi"] h2, html[lang="hi"] h3 { font-family: var(--script-hi); font-weight: 600; letter-spacing: 0; line-height: 1.35; }
html[lang="gu"] h1, html[lang="hi"] h1 { font-size: 1.75rem; }
html[lang="gu"] h2, html[lang="hi"] h2 { font-size: 1.3rem; }
html[lang="gu"] h3, html[lang="hi"] h3 { font-size: 1.1rem; }
p { margin: 0 0 1em; }
.lede { color: var(--muted); font-size: 1.05rem; max-width: 36em; }
.muted { color: var(--muted); }
.small { font-size: .92rem; }

/* ---------- Header / footer ---------- */
.site-header {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: nowrap;
  padding: 12px var(--gutter);
  max-width: 1080px; width: 100%; margin: 0 auto;
}
.brand { display: inline-flex; align-items: center; min-height: var(--tap); min-width: 0; flex: 0 1 auto; text-decoration: none; color: var(--ink); }
.brand img { height: auto; max-height: 46px; width: auto; max-width: 100%; display: block; }
.brand .brand-text { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; }
.lang-switch { display: inline-flex; flex: 0 0 auto; border: 1px solid var(--line-strong); border-radius: 999px; padding: 3px; background: var(--paper); }
@media (max-width: 400px) { .lang-switch button { padding: 0 9px; font-size: .9rem; } }
.lang-switch button {
  appearance: none; border: 0; background: transparent; color: var(--ink);
  font: 500 .95rem/1 var(--sans); padding: 0 12px; min-height: 40px; min-width: 44px; border-radius: 999px; cursor: pointer;
}
.lang-switch button[lang="gu"] { font-family: var(--script-gu); }
.lang-switch button[lang="hi"] { font-family: var(--script-hi); }
.lang-switch button[aria-pressed="true"] { background: var(--green); color: #fff; }
.site-footer {
  margin-top: auto; padding: 28px var(--gutter) 36px; text-align: center; color: var(--muted); font-size: .9rem;
  border-top: 1px solid var(--line);
}
.site-footer p { max-width: 40em; margin: 0 auto .4em; }
.site-footer .foot-links a { color: var(--muted); }

/* ---------- Layout ---------- */
main { width: 100%; overflow-x: clip; }
.wrap { max-width: 680px; margin: 0 auto; padding: 8px var(--gutter) 48px; }
.wrap-wide { max-width: 1080px; margin: 0 auto; padding: 8px var(--gutter) 48px; }
.page-head { position: relative; padding: 18px 0 14px; }
.page-head h1 { position: relative; z-index: 1; }
.page-head p { position: relative; z-index: 1; }
/* The ripple: three gold rings, the one recurring brand gesture ("sparsh" = touch). */
.ripple { position: absolute; z-index: 0; right: -64px; top: -44px; width: 190px; height: 190px; pointer-events: none; opacity: .4; }
.ripple circle { fill: none; stroke: var(--gold); stroke-width: 1; }
.stack > * + * { margin-top: 16px; }
.row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.between { justify-content: space-between; }
.grid-2 { display: grid; gap: 16px; }
@media (min-width: 900px) {
  .grid-2 { grid-template-columns: 1.1fr .9fr; align-items: start; }
  h1 { font-size: 2.7rem; }
  html[lang="gu"] h1, html[lang="hi"] h1 { font-size: 2.1rem; }
  .ripple { right: 0; width: 280px; height: 280px; top: -60px; }
}

/* ---------- Surfaces ---------- */
.panel { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px; box-shadow: var(--shadow); }
.panel + .panel { margin-top: 16px; }
.panel h2 { margin-bottom: .5em; }
.panel-quiet { background: transparent; border: 1px dashed var(--line-strong); border-radius: var(--r); padding: 16px; }
.section-title { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 28px 0 12px; }
.section-title h2 { margin: 0; }

/* ---------- Buttons ---------- */
.btn {
  appearance: none; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 24px; border-radius: 999px; border: 1.5px solid var(--green);
  background: var(--green); color: #fff; font-family: inherit; font-weight: 600; font-size: 1.02rem; line-height: 1.2;
  text-decoration: none; cursor: pointer; text-align: center; transition: background .15s, border-color .15s, color .15s;
}
.btn:hover { background: var(--green-deep); border-color: var(--green-deep); color: #fff; }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; }
.btn-secondary { background: var(--paper); color: var(--green-deep); }
.btn-secondary:hover { background: var(--green-wash); color: var(--ink); }
.btn-quiet { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-quiet:hover { background: var(--paper); color: var(--ink); border-color: var(--ink); }
.btn-danger { background: var(--danger); border-color: var(--danger); }
.btn-danger:hover { background: #7f2619; border-color: #7f2619; }
.btn-block { width: 100%; }
.btn-sm { min-height: 44px; padding: 0 16px; font-size: .95rem; }
.link-btn { appearance: none; background: none; border: 0; padding: 8px 2px; min-height: 44px; color: var(--green-deep); font: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.btn .spin { width: 18px; height: 18px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 20px; }
.actions .btn { flex: 1 1 auto; }
@media (min-width: 560px) { .actions .btn { flex: 0 0 auto; } }

/* ---------- Forms ---------- */
.field { margin-bottom: 18px; }
.field > label, .field > .label, fieldset > legend { display: block; font-weight: 600; margin-bottom: 6px; }
.field .hint { display: block; color: var(--muted); font-size: .92rem; margin: -2px 0 8px; font-weight: 400; }
.req { color: var(--danger); font-weight: 600; }
.opt { color: var(--muted); font-weight: 400; font-size: .88rem; margin-left: 8px; }
input[type="text"], input[type="tel"], input[type="email"], input[type="date"], input[type="time"], input[type="number"], select, textarea {
  width: 100%; min-height: var(--tap); padding: 11px 14px; font: inherit; color: var(--ink);
  background: var(--paper); border: 1.5px solid var(--line-strong); border-radius: var(--r-sm);
}
textarea { min-height: 104px; resize: vertical; line-height: 1.5; }
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
input:focus, select:focus, textarea:focus { border-color: var(--green); outline: 3px solid rgba(46, 125, 79, .25); outline-offset: 0; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--danger); }
.field-error { display: block; color: var(--danger); font-size: .92rem; margin-top: 6px; font-weight: 500; }
fieldset { border: 0; padding: 0; margin: 0 0 18px; min-width: 0; }
.two { display: grid; gap: 0 14px; }
@media (min-width: 560px) { .two { grid-template-columns: 1fr 1fr; } }

/* Big checkbox rows (consents, red flags) */
.check { display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: var(--r); background: var(--paper); cursor: pointer; margin-bottom: 10px; }
.check input { appearance: none; flex: 0 0 26px; width: 26px; height: 26px; margin: 1px 0 0; border: 2px solid var(--line-strong); border-radius: 7px; background: var(--paper); cursor: pointer; display: grid; place-content: center; }
.check input::after { content: ""; width: 12px; height: 7px; border-left: 3px solid #fff; border-bottom: 3px solid #fff; transform: rotate(-45deg) translate(1px, -1px); opacity: 0; }
.check input:checked { background: var(--green); border-color: var(--green); }
.check input:checked::after { opacity: 1; }
.check:has(input:checked) { border-color: var(--green); background: var(--green-wash); }
.check.flag:has(input:checked) { border-color: var(--danger); background: var(--danger-wash); }
.check.flag input:checked { background: var(--danger); border-color: var(--danger); }
.check .check-text { flex: 1; }
.check .check-text strong { display: block; }
.check .check-text .hint { color: var(--muted); font-size: .92rem; }

/* Radio cards (for myself / someone else, yes/no) */
.choice-row { display: grid; gap: 10px; grid-template-columns: 1fr 1fr; }
.choice { position: relative; display: flex; align-items: center; gap: 10px; min-height: 56px; padding: 12px 14px; border: 1.5px solid var(--line-strong); border-radius: var(--r); background: var(--paper); cursor: pointer; font-weight: 500; }
.choice input { appearance: none; flex: 0 0 22px; width: 22px; height: 22px; border: 2px solid var(--line-strong); border-radius: 50%; margin: 0; display: grid; place-content: center; }
.choice input::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--green); opacity: 0; }
.choice input:checked { border-color: var(--green); }
.choice input:checked::after { opacity: 1; }
.choice:has(input:checked) { border-color: var(--green); background: var(--green-wash); }

/* Chips (multi-select words) */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--line-strong); background: var(--paper); cursor: pointer; font: inherit; font-size: .98rem; color: var(--ink); }
.chip[aria-pressed="true"], .chip:has(input:checked) { background: var(--green); color: #fff; border-color: var(--green); }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }

/* 1-10 tap scale */
.scale { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.scale.five { grid-template-columns: repeat(5, 1fr); }
@media (min-width: 560px) { .scale.ten { grid-template-columns: repeat(10, 1fr); gap: 6px; } }
.scale button {
  appearance: none; min-height: 52px; border-radius: 12px; border: 1.5px solid var(--line-strong); background: var(--paper);
  font: 600 1.15rem/1 var(--sans); color: var(--ink); cursor: pointer; font-variant-numeric: tabular-nums;
}
.scale button:hover { border-color: var(--green); }
.scale button[aria-checked="true"] { background: var(--green); border-color: var(--green); color: #fff; box-shadow: 0 0 0 3px var(--green-wash); }
.scale-ends { display: flex; justify-content: space-between; gap: 12px; color: var(--muted); font-size: .88rem; margin-top: 6px; }
.scale-ends span:last-child { text-align: right; }
.q { padding: 18px 0; border-top: 1px solid var(--line); }
.q:first-child { border-top: 0; padding-top: 4px; }
.q > .label { font-weight: 600; margin-bottom: 10px; display: block; }
.q.invalid > .label { color: var(--danger); }

/* Range slider */
.range-row { display: grid; grid-template-columns: 1fr auto; gap: 4px 14px; align-items: center; }
.range-row output { min-width: 2.6em; text-align: center; font-weight: 700; font-size: 1.15rem; color: var(--green-deep); background: var(--green-wash); border-radius: 10px; padding: 6px 0; font-variant-numeric: tabular-nums; }
input[type="range"] { width: 100%; height: 44px; background: transparent; accent-color: var(--green); appearance: none; -webkit-appearance: none; }
input[type="range"]::-webkit-slider-runnable-track { height: 8px; border-radius: 8px; background: linear-gradient(90deg, var(--green) var(--pct, 50%), var(--line) var(--pct, 50%)); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 30px; height: 30px; margin-top: -11px; border-radius: 50%; background: var(--paper); border: 3px solid var(--green); box-shadow: 0 2px 6px rgba(31, 59, 45, .25); }
input[type="range"]::-moz-range-track { height: 8px; border-radius: 8px; background: var(--line); }
input[type="range"]::-moz-range-progress { height: 8px; border-radius: 8px; background: var(--green); }
input[type="range"]::-moz-range-thumb { width: 26px; height: 26px; border-radius: 50%; background: var(--paper); border: 3px solid var(--green); }

/* Switch */
.switch-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.switch-row:first-child { border-top: 0; }
.switch-row .switch-text strong { display: block; font-weight: 600; }
.switch-row .switch-text span { color: var(--muted); font-size: .92rem; }
.switch { position: relative; flex: 0 0 56px; width: 56px; height: 32px; }
.switch input { appearance: none; position: absolute; inset: 0; margin: 0; width: 100%; height: 100%; border-radius: 999px; background: var(--line-strong); cursor: pointer; transition: background .15s; }
.switch input::after { content: ""; position: absolute; top: 4px; left: 4px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: transform .15s; }
.switch input:checked { background: var(--green); }
.switch input:checked::after { transform: translateX(24px); }
.switch input:disabled { opacity: .6; }

/* ---------- Notices ---------- */
.note { display: flex; gap: 12px; padding: 14px 16px; border-radius: var(--r); background: var(--green-wash); color: var(--ink); border: 1px solid #CFE3D5; }
.note.gold { background: var(--gold-wash); border-color: #E8D9A6; }
.note.warn { background: var(--danger-wash); border-color: #F0CBC3; }
.note p:last-child { margin-bottom: 0; }
.note .ico { flex: 0 0 22px; margin-top: 2px; }
.safety { border: 2px solid var(--danger); background: var(--danger-wash); border-radius: var(--r-lg); padding: 20px; margin: 0 0 20px; }
.safety h2 { color: var(--danger); font-size: 1.5rem; }
.safety p { white-space: pre-line; font-size: 1.05rem; }
.safety .help-lines { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.safety .help-lines a { background: var(--danger); color: #fff; text-decoration: none; padding: 12px 18px; border-radius: 999px; font-weight: 600; min-height: 48px; display: inline-flex; align-items: center; }

/* ---------- States ---------- */
.state { text-align: center; padding: 40px 16px; color: var(--muted); }
.state h2 { color: var(--ink); }
.loader { display: inline-block; width: 44px; height: 44px; position: relative; }
.loader::before, .loader::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid var(--gold); animation: breathe 2.4s ease-in-out infinite; }
.loader::after { animation-delay: 1.2s; }
@keyframes breathe { 0% { transform: scale(.4); opacity: 1; } 100% { transform: scale(1.3); opacity: 0; } }
.skeleton { background: linear-gradient(90deg, #F1ECDF 0%, #F8F4EA 50%, #F1ECDF 100%); background-size: 200% 100%; animation: shimmer 1.4s infinite; border-radius: var(--r); }
@keyframes shimmer { to { background-position: -200% 0; } }

/* Toasts */
.toasts { position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%); width: min(560px, calc(100% - 32px)); z-index: 60; display: grid; gap: 8px; pointer-events: none; }
.toast { pointer-events: auto; background: var(--ink); color: #fff; padding: 14px 18px; border-radius: var(--r); box-shadow: var(--shadow); font-weight: 500; animation: toastIn .2s ease-out; }
.toast.error { background: var(--danger); }
@keyframes toastIn { from { transform: translateY(8px); opacity: 0; } }

/* Dialog */
dialog { border: 0; border-radius: var(--r-lg); padding: 0; width: min(620px, calc(100% - 24px)); max-height: calc(100vh - 48px); background: var(--paper); color: var(--ink); box-shadow: 0 20px 60px -20px rgba(31, 59, 45, .5); }
dialog::backdrop { background: rgba(31, 59, 45, .45); }
.dlg-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: var(--paper); }
.dlg-head h2 { margin: 0; font-size: 1.4rem; }
.dlg-body { padding: 16px 20px 20px; }
.dlg-body h3 { margin-top: 1em; font-size: 1.15rem; }
.icon-btn { appearance: none; border: 0; background: transparent; width: 44px; height: 44px; border-radius: 50%; font-size: 1.6rem; line-height: 1; cursor: pointer; color: var(--ink); }
.icon-btn:hover { background: var(--green-wash); }

/* ---------- Stepper (booking, intake) ---------- */
.stepper { list-style: none; display: flex; gap: 6px; padding: 0; margin: 4px 0 18px; counter-reset: s; }
.stepper li { flex: 1; min-width: 0; }
.stepper .bar { height: 4px; border-radius: 4px; background: var(--line); }
.stepper li.is-done .bar, .stepper li.is-current .bar { background: var(--green); }
.stepper .lbl { display: none; font-size: .82rem; color: var(--muted); margin-top: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stepper li.is-current .lbl { color: var(--ink); font-weight: 600; }
@media (min-width: 640px) { .stepper .lbl { display: block; } }
.step-count { font-size: .92rem; color: var(--muted); margin: 0 0 4px; }

/* ---------- Service choices ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 16px; }
.svc-list { display: grid; gap: 14px; }
@media (min-width: 760px) { .svc-list { grid-template-columns: 1fr 1fr; } }
.svc {
  position: relative; background: var(--paper); border: 1.5px solid var(--line); border-radius: var(--r-lg); padding: 20px;
  display: flex; flex-direction: column; gap: 10px; box-shadow: var(--shadow);
}
.svc.selected { border-color: var(--green); box-shadow: 0 0 0 3px var(--green-wash), var(--shadow); }
.svc h3 { margin: 0; font-size: 1.5rem; }
html[lang="gu"] .svc h3, html[lang="hi"] .svc h3 { font-size: 1.15rem; }
.svc .desc { margin: 0; color: var(--muted); }
.svc .facts { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 0; padding: 0; list-style: none; font-size: .95rem; }
.svc .facts li { display: inline-flex; align-items: center; gap: 6px; }
.svc .facts svg { width: 16px; height: 16px; flex: 0 0 16px; stroke: var(--gold-ink); fill: none; stroke-width: 1.6; }
.svc .foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 4px; padding-top: 14px; border-top: 1px solid var(--line); }
.price { font-family: var(--serif); font-weight: 700; font-size: 1.75rem; color: var(--ink); line-height: 1; font-variant-numeric: lining-nums; }
html[lang="gu"] .price, html[lang="hi"] .price { font-family: var(--sans); font-size: 1.4rem; }
.price small { font-family: var(--sans); font-size: .85rem; font-weight: 500; color: var(--muted); margin-left: 4px; }
.svc details { border-radius: var(--r-sm); }
.svc summary { cursor: pointer; color: var(--green-deep); font-weight: 600; min-height: 44px; display: flex; align-items: center; list-style: none; }
.svc summary::-webkit-details-marker { display: none; }
.svc summary::before { content: "+"; display: inline-grid; place-content: center; width: 22px; height: 22px; margin-right: 8px; border: 1.5px solid currentColor; border-radius: 50%; font-size: .95rem; line-height: 1; }
.svc details[open] summary::before { content: "\2212"; }
.svc details .more { padding: 2px 0 6px; }
.svc details .more h4 { margin: 10px 0 2px; font-size: .95rem; }
.svc details .more p { margin: 0 0 6px; color: var(--muted); }
.price.price-hidden, html[lang="gu"] .price.price-hidden, html[lang="hi"] .price.price-hidden { font-family: var(--sans); font-size: .98rem; font-weight: 600; color: var(--muted); line-height: 1.35; max-width: 16em; }
.tag { display: inline-block; font-size: .8rem; font-weight: 600; color: var(--gold-ink); background: var(--gold-wash); padding: 3px 10px; border-radius: 999px; }

/* Selected-service bar at the top of later steps */
.picked { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border-radius: var(--r); background: var(--paper); border: 1px solid var(--line); margin-bottom: 16px; }
.picked strong { display: block; font-family: var(--serif); font-size: 1.2rem; line-height: 1.2; }
html[lang="gu"] .picked strong, html[lang="hi"] .picked strong { font-family: inherit; font-size: 1rem; }

/* ---------- Slot picker ---------- */
.tz-line { display: flex; align-items: flex-start; gap: 10px; padding: 10px 14px; border-radius: var(--r); background: var(--green-wash); margin-bottom: 14px; font-size: .96rem; }
.tz-line .ico { margin-top: 3px; flex: 0 0 22px; }
.tz-line .tz-text { flex: 1; min-width: 0; }
.tz-line strong { font-weight: 600; }
.tz-line .link-btn { min-height: 32px; padding: 0 0 0 6px; }
.tz-line select { margin-top: 6px; }
.week-nav { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.week-nav .range { font-weight: 600; text-align: center; }
.week-nav button { min-width: 48px; }
.days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; margin-bottom: 16px; }
.day {
  appearance: none; border: 1.5px solid var(--line-strong); background: var(--paper); border-radius: 12px; padding: 8px 2px; min-height: 72px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; cursor: pointer; color: var(--ink); font: inherit; min-width: 0;
}
.day .dw { font-size: .78rem; color: var(--muted); }
.day .dn { font-size: 1.3rem; font-weight: 700; line-height: 1.1; font-variant-numeric: tabular-nums; }
.day .dc { font-size: .72rem; color: var(--green-deep); font-weight: 600; }
.day:disabled { opacity: .45; cursor: default; background: transparent; }
.day:disabled .dc { color: var(--muted); }
.day[aria-pressed="true"] { background: var(--green); border-color: var(--green); color: #fff; }
.day[aria-pressed="true"] .dw, .day[aria-pressed="true"] .dc { color: #fff; }
.slot-group { margin-bottom: 14px; }
.slot-group h4 { margin: 0 0 8px; font-size: .9rem; color: var(--muted); font-weight: 600; }
.slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
@media (min-width: 560px) { .slots { grid-template-columns: repeat(4, 1fr); } }
.slot { appearance: none; min-height: 50px; border-radius: 12px; border: 1.5px solid var(--line-strong); background: var(--paper); font-family: inherit; font-weight: 600; font-size: 1rem; line-height: 1.1; color: var(--ink); cursor: pointer; font-variant-numeric: tabular-nums; }
.slot:hover { border-color: var(--green); }
.slot[aria-pressed="true"] { background: var(--green); color: #fff; border-color: var(--green); }
.slot small { display: block; font-weight: 500; font-size: .74rem; opacity: .85; margin-top: 2px; }

/* Sticky continue bar on mobile */
.sticky-cta { position: sticky; bottom: 0; z-index: 5; margin: 20px calc(var(--gutter) * -1) 0; padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom)); background: rgba(251, 248, 241, .94); backdrop-filter: blur(6px); border-top: 1px solid var(--line); display: flex; gap: 10px; }
.sticky-cta .btn { flex: 1; }
.sticky-cta .btn-quiet { flex: 0 0 auto; }
@media (min-width: 640px) { .sticky-cta { position: static; background: transparent; border: 0; margin: 24px 0 0; padding: 0; backdrop-filter: none; } .sticky-cta .btn { flex: 0 0 auto; } }

/* ---------- Summary list ---------- */
.summary { margin: 0; }
.summary > div { display: grid; grid-template-columns: 1fr auto; column-gap: 12px; row-gap: 2px; padding: 12px 0; border-top: 1px solid var(--line); align-items: start; }
.summary dt, .summary dd { grid-column: 1; }
.summary .sum-edit { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
.summary > div:first-child { border-top: 0; padding-top: 0; }
.summary dt { color: var(--muted); font-size: .9rem; }
.summary dd { margin: 0; font-weight: 600; }
.summary dd .sub { display: block; font-weight: 400; color: var(--muted); font-size: .93rem; }
@media (min-width: 560px) { .summary > div { grid-template-columns: 9.5em 1fr auto; } .summary dt { grid-column: 1; } .summary dd { grid-column: 2; grid-row: 1; } .summary .sum-edit { grid-column: 3; grid-row: 1; } }
.total { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 16px 0 4px; margin-top: 8px; border-top: 2px solid var(--ink); }
.total span:first-child { font-weight: 600; }
.offer-row { display: flex; gap: 8px; }
.offer-row input { flex: 1; text-transform: uppercase; }
.countdown { font-variant-numeric: tabular-nums; font-weight: 700; font-size: 1.6rem; color: var(--green-deep); }

/* ---------- Portal ---------- */
.session { display: grid; gap: 10px; padding: 16px 0; border-top: 1px solid var(--line); }
.session:first-child { border-top: 0; padding-top: 0; }
.session .when { font-weight: 700; font-size: 1.1rem; }
.session .what { color: var(--ink); }
.session .mode { display: block; color: var(--muted); font-size: .93rem; }
.session .acts { display: flex; flex-wrap: wrap; gap: 8px; }
.drawer { margin-top: 8px; padding: 16px; background: var(--cream); border: 1px solid var(--line); border-radius: var(--r); }
.meter { height: 10px; border-radius: 10px; background: var(--line); overflow: hidden; margin: 8px 0 6px; }
.meter span { display: block; height: 100%; background: var(--green); border-radius: 10px; }
.pkg { padding: 14px 0; border-top: 1px solid var(--line); }
.pkg:first-child { border-top: 0; padding-top: 0; }
.pkg .nums { display: flex; justify-content: space-between; gap: 12px; font-size: .95rem; color: var(--muted); flex-wrap: wrap; }
.wallet { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.wallet .amt { font-family: var(--serif); font-size: 2.2rem; font-weight: 700; font-variant-numeric: lining-nums; }
html[lang="gu"] .wallet .amt, html[lang="hi"] .wallet .amt { font-family: var(--sans); font-size: 1.8rem; }
.bill { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); flex-wrap: wrap; }
.bill:first-child { border-top: 0; padding-top: 0; }
.bill .meta { color: var(--muted); font-size: .92rem; }
.chart-card { padding: 14px 0 6px; border-top: 1px solid var(--line); }
.chart-card:first-of-type { border-top: 0; padding-top: 0; }
.chart-card h3 { font-size: 1.2rem; margin-bottom: 2px; }
.chart-card .delta { color: var(--muted); font-size: .95rem; margin-bottom: 4px; }
.chart { max-width: 520px; }
.chart svg { display: block; width: 100%; height: auto; overflow: visible; }
.chart .axis { stroke: var(--line); stroke-width: 1; }
.chart .grid { stroke: var(--line); stroke-width: 1; stroke-dasharray: 2 4; }
.chart .line { fill: none; stroke: var(--green); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.chart .area { fill: var(--green-wash); }
.chart .base { stroke: var(--gold-ink); stroke-width: 1.5; stroke-dasharray: 5 5; }
.chart text { font: 500 11px var(--sans); fill: var(--muted); }
.chart .lbl-strong { font-weight: 700; fill: var(--ink); font-size: 12px; }
.chart .pt { fill: var(--paper); stroke: var(--green); stroke-width: 2; }
.chart .pt-last { fill: var(--green); stroke: var(--paper); stroke-width: 2.5; }
.legend { display: flex; gap: 16px; flex-wrap: wrap; font-size: .85rem; color: var(--muted); margin-top: 6px; }
.legend i { display: inline-block; width: 18px; height: 0; border-top: 2.5px solid var(--green); vertical-align: middle; margin-right: 6px; }
.legend i.b { border-top: 1.5px dashed var(--gold-ink); }

/* ---------- Intake section card ---------- */
.concern { border: 1.5px solid var(--line); border-radius: var(--r); padding: 16px; margin-bottom: 14px; background: var(--cream); }
.concern-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 8px; }
.concern-head h3 { margin: 0; font-size: 1.2rem; }
.photo-preview { display: flex; gap: 14px; align-items: center; margin-top: 10px; }
.photo-preview img { width: 96px; height: 96px; object-fit: cover; border-radius: 12px; border: 1px solid var(--line); }
.drop { display: grid; place-items: center; text-align: center; gap: 6px; padding: 24px 16px; border: 2px dashed var(--line-strong); border-radius: var(--r); background: var(--paper); cursor: pointer; }
.drop input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.drop:focus-within { outline: 3px solid var(--focus); outline-offset: 2px; }

/* ---------- Stars ---------- */
.stars { display: flex; gap: 6px; }
.stars label { cursor: pointer; }
.stars input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.stars span { display: grid; place-content: center; width: 52px; height: 52px; border-radius: 12px; border: 1.5px solid var(--line-strong); background: var(--paper); font-size: 1.6rem; color: var(--line-strong); }
.stars input:checked + span, .stars label.on span { color: var(--gold); border-color: var(--gold); background: var(--gold-wash); }
.stars input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }

/* Done / confirmation */
.done { text-align: center; padding: 28px 8px 8px; }
.done .seal { width: 88px; height: 88px; margin: 0 auto 14px; display: block; }
.done .seal circle { fill: none; stroke: var(--gold); }
.done .seal path { fill: none; stroke: var(--green); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.done p { max-width: 30em; margin-left: auto; margin-right: auto; }

/* Thank-you breathing ring (the single motion moment) */
.breath { width: 120px; height: 120px; margin: 8px auto 18px; position: relative; }
.breath span { position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid var(--gold); animation: breathe 3.6s ease-out infinite; }
.breath span:nth-child(2) { animation-delay: 1.2s; }
.breath span:nth-child(3) { animation-delay: 2.4s; }
.breath i { position: absolute; inset: 42px; border-radius: 50%; background: var(--green); opacity: .85; }

/* ---------- WhatsApp button, discovery gate ---------- */
.btn-wa { background: var(--paper); color: var(--green-deep); border-color: var(--green); gap: 8px; }
.btn-wa:hover { background: var(--green-wash); color: var(--ink); border-color: var(--green-deep); }
.btn-wa .ico { flex: 0 0 20px; }
.gate { text-align: center; padding: 28px 20px; }
.gate .seal { width: 72px; height: 72px; margin: 0 auto 12px; display: block; }
.gate .seal circle { fill: none; stroke: var(--gold); }
.gate .seal path { fill: none; stroke: var(--green); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.gate h2 { max-width: 22em; margin-left: auto; margin-right: auto; }
.gate p { max-width: 32em; margin-left: auto; margin-right: auto; }
.gate .actions { justify-content: center; }
.gate .actions .btn { flex: 0 1 auto; }
.gate-client { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.gate-client h3 { margin-bottom: .3em; }
.free-badge { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; font-weight: 600; color: var(--green-deep); background: var(--green-wash); border: 1px solid #CFE3D5; border-radius: 999px; padding: 6px 14px; font-size: .95rem; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .breath span { opacity: .6; transform: none; }
}
@media print {
  .site-header .lang-switch, .sticky-cta, .toasts { display: none; }
}
