/* Daktarkhuji public site — visual system from the approved design prototype
   (design branch: Daktarkhuji.dc.html). Brand green #0B6B3A on paper #F4F6F5.
   Display face: Instrument Sans for the wordmark and page headlines. */

:root {
  --ink: #14181A;
  --ink-2: #2B3236;
  --muted: #5B6670;
  --faint: #7A858C;
  --ghost: #8A959C;
  --mist: #9AA4AA;
  --green: #0B6B3A;
  --green-dark: #084F2B;
  --green-tint: #EDF6F0;
  --green-line: #C9E2D3;
  --paper: #F4F6F5;
  --card: #fff;
  --line: #E3E7E9;
  --line-soft: #EEF1F0;
  --hairline: #F2F4F3;
  --input-line: #C6CFD1;
  --input-line-2: #D6DCDE;
  --amber-bg: #FFF6E8;
  --amber-line: #EFD9AE;
  --amber-ink: #8A5A00;
  --amber-ink-2: #6B4A0C;
  --panel: #F9FBFA;
  --hero-bg: #F2F7F3;
  --hero-line: #DCE5DF;
  --display: "Instrument Sans", Inter, sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, "Noto Sans Bengali", system-ui, sans-serif;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--green); text-decoration: none; }
a:hover { color: var(--green-dark); text-decoration: underline; }
input, select, button { font-family: inherit; }
h1, h2, h3 { margin: 0; letter-spacing: -0.02em; }
.ico-svg { display: inline-block; vertical-align: -0.14em; flex: 0 0 auto; }

.shell { max-width: 1180px; margin: 0 auto; padding: 0 20px; }

/* ---- Header ---- */
.site-header { background: var(--card); border-bottom: 1px solid var(--line); position: relative; }
.site-header__row { height: 62px; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 9px; color: var(--ink); }
.brand:hover { text-decoration: none; color: var(--ink); }
.brand img { width: 27px; height: 27px; display: block; }
.brand b { font-family: var(--display); font-size: 19.5px; font-weight: 700; letter-spacing: -0.028em; }
.brand b em { font-style: normal; color: var(--green); }
.nav-main { display: flex; gap: 20px; font-size: 14.5px; font-weight: 500; }
.header-actions { display: flex; align-items: center; gap: 14px; font-size: 14px; }
.header-actions .lang { color: var(--muted); }
.btn-claim { padding: 7px 14px; background: var(--green); color: #fff; border-radius: 5px; font-weight: 600; font-size: 13.5px; }
.btn-claim:hover { background: var(--green-dark); color: #fff; text-decoration: none; }
.spacer { flex: 1; }
.menu-btn { display: none; border: 1px solid var(--input-line-2); background: var(--card); width: 38px; height: 38px; border-radius: 5px; cursor: pointer; color: var(--ink); align-items: center; justify-content: center; }
.mobile-menu { display: none; border-top: 1px solid var(--line-soft); padding: 12px 18px 18px; flex-direction: column; gap: 2px; font-size: 15px; background: var(--card); }
.mobile-menu.open { display: flex; }
.mobile-menu a { padding: 9px 0; border-bottom: 1px solid var(--hairline); color: var(--ink); }
.mobile-menu .group-label { font-size: 12px; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: var(--faint); padding: 14px 0 6px; }
.mobile-menu a.plain { border-bottom: 0; padding: 8px 0; color: var(--green); }

/* ---- Buttons ---- */
.btn { display: inline-block; text-align: center; border-radius: 6px; font-size: 14.5px; font-weight: 500; padding: 10px 18px; border: 1px solid var(--input-line); color: var(--ink); background: var(--card); cursor: pointer; }
.btn:hover { text-decoration: none; }
.btn--primary { background: var(--green); border-color: var(--green); color: #fff; font-weight: 600; }
.btn--primary:hover { background: var(--green-dark); border-color: var(--green-dark); color: #fff; }
.btn--lg { padding: 11px 20px; font-size: 15px; }
.btn--block { display: block; width: 100%; }

/* ---- Hero / home ---- */
.hero { position: relative; overflow: hidden; background: var(--hero-bg); border-bottom: 1px solid var(--hero-line); padding: 34px 0 30px; }
.hero-pattern { position: absolute; inset: 0; pointer-events: none; background-repeat: repeat; background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20width%3D%2734%27%20height%3D%2734%27%3E%3Cpath%20d%3D%27M17%2011.5v11M11.5%2017h11%27%20fill%3D%27none%27%20stroke%3D%27%230B6B3A%27%20stroke-opacity%3D%270.14%27%20stroke-width%3D%271.6%27%20stroke-linecap%3D%27round%27%2F%3E%3C%2Fsvg%3E"); }
.hero-glow { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(70% 130% at 74% 18%, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0) 72%); }
.hero-watermark { position: absolute; right: 2%; top: 50%; transform: translateY(-50%); height: 168%; max-height: 300px; opacity: 0.85; pointer-events: none; }
.hero .shell { position: relative; }
.hero h1 { font-family: var(--display); font-size: 40px; font-weight: 700; letter-spacing: -0.03em; line-height: 1.12; max-width: 620px; margin-bottom: 8px; text-wrap: balance; }
.hero p { margin: 0 0 20px; color: #46525A; line-height: 1.5; }
.searchbox { display: flex; align-items: center; gap: 9px; background: var(--card); border: 1px solid var(--input-line); border-radius: 6px; padding: 0 13px; height: 48px; max-width: 720px; box-shadow: 0 2px 10px rgba(11,107,58,0.06); }
.searchbox .icon { color: var(--ghost); display: flex; align-items: center; }
.searchbox input { border: 0; outline: 0; font-size: 16px; flex: 1; color: var(--ink); background: transparent; }
.hero-selects { display: grid; grid-template-columns: 1fr 1fr auto; gap: 10px; margin-top: 10px; max-width: 720px; }
.hero-selects select { height: 46px; border: 1px solid var(--input-line); border-radius: 6px; padding: 0 11px; font-size: 15px; background: var(--card); color: var(--ink); }
.hero-selects .btn--primary { height: 46px; padding: 0 22px; font-size: 15px; }

.trust-strip { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--hero-line); display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.trust-item { display: flex; gap: 11px; align-items: flex-start; }
.trust-item .tile-badge { width: 36px; height: 36px; flex: 0 0 auto; border-radius: 10px; background: var(--card); display: flex; align-items: center; justify-content: center; box-shadow: 0 1px 3px rgba(11,107,58,0.10); }
.trust-item b { font-size: 15px; font-weight: 600; letter-spacing: -0.012em; color: var(--ink); display: block; }
.trust-item span { font-size: 13.5px; color: var(--muted); line-height: 1.45; margin-top: 2px; display: block; }

.section { margin: 26px 0; }
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.section-head .lead { display: flex; align-items: center; gap: 9px; }
.section-ico { width: 28px; height: 28px; flex: 0 0 auto; border-radius: 7px; display: flex; align-items: center; justify-content: center; }
.section-head h2 { font-size: 23px; font-weight: 600; }
.tile-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.tile-grid--3 { grid-template-columns: repeat(3, 1fr); }
.tile { background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; color: var(--ink); display: flex; gap: 11px; align-items: center; }
.tile:hover { border-color: var(--green); box-shadow: 0 2px 8px rgba(11,107,58,0.07); text-decoration: none; color: var(--ink); }
.tile-ico { width: 34px; height: 34px; flex: 0 0 auto; border-radius: 8px; display: flex; align-items: center; justify-content: center; }
.tile .txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.tile b { font-size: 15px; font-weight: 500; }
.tile span { font-size: 13px; color: var(--faint); }

.cta-banner { position: relative; overflow: hidden; background: var(--green); border-radius: 10px; padding: 22px 24px; display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.cta-banner .pattern { position: absolute; inset: 0; pointer-events: none; background-repeat: repeat; background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20width%3D%2734%27%20height%3D%2734%27%3E%3Cpath%20d%3D%27M17%2011.5v11M11.5%2017h11%27%20fill%3D%27none%27%20stroke%3D%27%23ffffff%27%20stroke-opacity%3D%270.16%27%20stroke-width%3D%271.6%27%20stroke-linecap%3D%27round%27%2F%3E%3C%2Fsvg%3E"); }
.cta-banner .shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(100deg, rgba(9,84,46,0.55) 0%, rgba(9,84,46,0) 62%); }
.cta-banner .txt { position: relative; flex: 1; min-width: 240px; }
.cta-banner h3 { font-size: 19px; font-weight: 600; letter-spacing: -0.018em; color: #fff; }
.cta-banner p { font-size: 15px; color: #D6EADD; margin: 6px 0 0; line-height: 1.5; max-width: 520px; }
.cta-banner .btn-white { position: relative; background: #fff; color: var(--green); padding: 11px 20px; border-radius: 6px; font-size: 15px; font-weight: 600; }
.cta-banner .btn-white:hover { background: #F0F7F3; text-decoration: none; }

/* ---- Breadcrumbs ---- */
.crumbs { font-size: 13px; color: var(--faint); display: flex; align-items: center; gap: 6px; margin-bottom: 13px; flex-wrap: wrap; }
.crumbs a { color: var(--faint); }
.crumbs .sep { color: #B4BEC2; display: flex; align-items: center; }

/* ---- Search top bar ---- */
.search-topbar { background: var(--card); border-bottom: 1px solid var(--line); padding: 12px 0; }
.search-topbar form { display: grid; grid-template-columns: 1fr auto; gap: 8px; position: relative; }
.search-topbar .box { display: flex; align-items: center; gap: 8px; background: #F6F8F7; border: 1px solid var(--input-line-2); border-radius: 6px; padding: 0 12px; height: 42px; }
.search-topbar .box .icon { color: var(--ghost); display: flex; align-items: center; }
.search-topbar input { border: 0; outline: 0; background: transparent; font-size: 15px; flex: 1; color: var(--ink); }
.search-topbar button { height: 42px; background: var(--green); color: #fff; border: 0; border-radius: 6px; font-size: 14.5px; font-weight: 600; cursor: pointer; padding: 0 20px; }
.search-topbar .ac-panel { top: 46px; }

/* ---- Search page ---- */
.page-pad { padding: 24px 0 48px; }
.page-title { font-size: 31px; font-weight: 700; letter-spacing: -0.024em; line-height: 1.2; margin-bottom: 8px; }
.page-intro { margin: 0 0 20px; font-size: 15.5px; color: var(--muted); max-width: 740px; line-height: 1.55; text-wrap: pretty; }
.search-layout { display: grid; grid-template-columns: 244px 1fr; gap: 24px; align-items: start; }

.filters { background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 16px; font-size: 14px; }
.filters-head { display: flex; align-items: baseline; justify-content: space-between; }
.filters-head b { font-weight: 600; font-size: 15px; }
.filters-head a { font-size: 13px; }
.filter-group { padding: 14px 0 12px; border-top: 1px solid var(--line-soft); margin-top: 12px; }
.filter-group:first-of-type { border-top: 0; margin-top: 4px; }
.filter-group h4 { margin: 0 0 9px; font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: 0.07em; color: var(--muted); }
.filter-option { display: flex; align-items: center; gap: 9px; cursor: pointer; color: var(--ink-2); padding: 4px 0; }
.filter-option input { accent-color: var(--green); width: 15px; height: 15px; margin: 0; }
.filter-option .count { color: var(--mist); font-size: 12.5px; margin-left: auto; }
.filter-option span.name { flex: 1; }

.mfilter-btns { display: none; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 14px; }
.mfilter-btns .btn { height: 44px; padding: 0; font-size: 14.5px; display: flex; align-items: center; justify-content: center; }

.results-bar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; gap: 12px; font-size: 14.5px; }
.results-bar .n { font-weight: 600; }
.results-bar .muted { color: var(--muted); }

/* ---- Filter bottom sheet (mobile) ---- */
.sheet-overlay { position: fixed; inset: 0; background: rgba(15,20,18,0.42); z-index: 80; display: none; align-items: flex-end; justify-content: center; }
.sheet-overlay.open { display: flex; }
.sheet { background: var(--card); width: 420px; max-width: 100%; border-radius: 12px 12px 0 0; max-height: 84vh; overflow: auto; }
.sheet-head { position: sticky; top: 0; background: var(--card); padding: 16px 18px 12px; border-bottom: 1px solid var(--line-soft); display: flex; align-items: center; justify-content: space-between; z-index: 1; }
.sheet-head b { font-size: 17px; font-weight: 600; }
.sheet-head button { border: 0; background: transparent; cursor: pointer; color: var(--muted); line-height: 1; padding: 2px; }
.sheet-body { padding: 4px 18px 18px; font-size: 15px; }
.sheet-body .filter-group { border-top: 0; border-bottom: 1px solid var(--hairline); margin-top: 0; padding: 15px 0; }
.sheet-body .filter-option { gap: 11px; min-height: 24px; padding: 6px 0; }
.sheet-body .filter-option input { width: 19px; height: 19px; }
.sheet-foot { position: sticky; bottom: 0; background: var(--card); border-top: 1px solid var(--line-soft); padding: 12px 18px; display: grid; grid-template-columns: 1fr 2fr; gap: 10px; }
.sheet-foot .btn { height: 46px; padding: 0; font-size: 15px; display: flex; align-items: center; justify-content: center; }

/* ---- Doctor card ---- */
.doc-card { background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 16px 18px; display: grid; grid-template-columns: 88px 1fr 186px; gap: 16px; margin-bottom: 12px; }
.avatar { width: 88px; height: 88px; border-radius: 6px; background: var(--green-tint); display: flex; align-items: center; justify-content: center; font-size: 24px; font-weight: 600; color: var(--green); }
.doc-card__name { font-size: 19px; font-weight: 600; color: var(--ink); letter-spacing: -0.014em; }
.spec-chip { margin-top: 5px; display: inline-flex; align-items: center; gap: 6px; border-radius: 5px; padding: 3px 9px 3px 7px; font-size: 13.5px; font-weight: 600; }
.spec-chip--lg { gap: 7px; border-radius: 6px; padding: 4px 11px 4px 9px; font-size: 15px; margin-top: 8px; }
.doc-card__desig { margin-top: 1px; font-size: 14px; color: var(--muted); }
.doc-card__qual { margin-top: 7px; font-size: 14px; color: var(--ink-2); }
.doc-card__meta { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line-soft); display: flex; flex-direction: column; gap: 5px; font-size: 14px; color: var(--ink-2); }
.doc-card__meta .row { display: flex; gap: 8px; }
.doc-card__meta .ico { color: var(--ghost); width: 14px; }
.trust-rail { display: flex; flex-direction: column; gap: 9px; border-left: 1px solid var(--line-soft); padding-left: 18px; }
.trust-rail .grow { flex: 1; }
.trust-rail .view-link { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 14px; border: 0; }

.badge { display: inline-flex; align-self: flex-start; align-items: center; gap: 5px; border-radius: 4px; padding: 4px 8px; font-size: 12.5px; font-weight: 600; border: 1px solid; }
.badge--verified { background: var(--green-tint); color: var(--green); border-color: var(--green-line); }
.badge--pending { background: var(--paper); color: var(--muted); border-color: var(--input-line-2); }
.badge--stale { background: var(--amber-bg); color: var(--amber-ink); border-color: var(--amber-line); }
.verified-note { font-size: 12.5px; color: var(--faint); line-height: 1.45; margin-top: 6px; }
.verified-note--stale { color: var(--amber-ink); }

.no-results { background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 34px 24px; text-align: center; }
.no-results h3 { font-size: 17px; font-weight: 600; }
.no-results p { font-size: 14.5px; color: var(--muted); margin: 7px auto 0; line-height: 1.55; max-width: 420px; }

.pager { display: flex; align-items: center; gap: 6px; padding-top: 20px; font-size: 14.5px; flex-wrap: wrap; }
.pager a, .pager span { padding: 8px 13px; background: var(--card); color: var(--ink); border: 1px solid var(--line); border-radius: 6px; }
.pager .current { background: var(--green); color: #fff; border-color: var(--green); font-weight: 600; }

/* ---- SEO block ---- */
.seo-block { background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 20px 22px; margin-top: 26px; }
.seo-block h2 { font-size: 21px; font-weight: 600; margin-bottom: 8px; }
.seo-block > p { margin: 0 0 14px; font-size: 15px; color: var(--ink-2); line-height: 1.62; text-wrap: pretty; }
.seo-block h3 { font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.cond-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 18px; font-size: 14.5px; color: var(--ink-2); }
.cond-grid .dot { color: var(--green); margin-right: 8px; }
.seo-sub { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line-soft); }
.chip-row { display: flex; flex-wrap: wrap; gap: 7px; }
.chip { border: 1px solid var(--line); background: var(--panel); border-radius: 20px; padding: 6px 13px; font-size: 14px; color: var(--ink); }
.chip:hover { border-color: var(--green); text-decoration: none; color: var(--ink); }

/* ---- Profile ---- */
.profile-head { background: var(--card); border-bottom: 1px solid var(--line); padding: 24px 0; }
.profile-grid { display: grid; grid-template-columns: 120px 1fr 300px; gap: 22px; align-items: start; }
.avatar--lg { width: 120px; height: 120px; border-radius: 8px; font-size: 34px; }
.profile-grid h1 { font-size: 31px; font-weight: 700; letter-spacing: -0.024em; line-height: 1.15; }
.profile-grid .desig { margin-top: 2px; font-size: 15px; color: var(--muted); }
.profile-grid .quals { margin-top: 8px; font-size: 15px; color: var(--ink-2); }
.profile-ctas { display: flex; gap: 9px; margin-top: 16px; flex-wrap: wrap; }

.trust-card { border-radius: 8px; padding: 15px 16px; border: 1px solid var(--line); background: var(--panel); min-width: 0; }
.trust-card--pending { border-color: var(--input-line-2); background: var(--paper); }
.trust-card--stale { border-color: var(--amber-line); background: var(--amber-bg); }
.trust-card h4 { margin: 0 0 10px; font-size: 12px; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: var(--muted); }
.trust-card--stale h4 { color: var(--amber-ink); }
.trust-row { display: flex; gap: 8px; align-items: baseline; color: var(--ink-2); font-size: 13.5px; padding: 3px 0; }
.trust-row .mark { width: 14px; }
.trust-row .mark--ok { color: var(--green); }
.trust-row .mark--warn { color: #B3261E; }
.trust-row .mark--off { color: var(--mist); }
.trust-row .meta { margin-left: auto; color: var(--faint); font-size: 12.5px; }
.trust-foot { margin-top: 12px; padding-top: 11px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); line-height: 1.5; }
.trust-card--stale .trust-foot { border-color: var(--amber-line); color: var(--amber-ink); }

.profile-body { padding: 24px 0 48px; display: grid; grid-template-columns: 1fr 300px; gap: 22px; align-items: start; }
.stack { display: flex; flex-direction: column; gap: 14px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 18px 20px; }
.card h2 { font-size: 19px; font-weight: 600; letter-spacing: -0.015em; margin-bottom: 9px; }
.card .body-text { margin: 0; font-size: 15px; color: var(--ink-2); line-height: 1.65; text-wrap: pretty; }
.qual-row { display: grid; grid-template-columns: 150px 1fr 70px; gap: 4px 16px; padding: 11px 0; border-top: 1px solid var(--hairline); }
.qual-row b { font-size: 15px; font-weight: 600; }
.qual-row .inst { font-size: 14.5px; color: var(--muted); }
.qual-row .year { font-size: 14px; color: var(--faint); }

.chamber-card .tag { font-size: 12.5px; color: var(--faint); }
.chamber-card .fac-link { display: block; margin-top: 8px; font-size: 16px; font-weight: 600; }
.chamber-card .addr { font-size: 14.5px; color: var(--muted); margin-top: 3px; }
.fee-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 14px 0; }
.fee-box { background: var(--panel); border: 1px solid var(--line-soft); border-radius: 6px; padding: 10px 12px; }
.fee-box .k { font-size: 12.5px; color: var(--muted); }
.fee-box .v { font-size: 17px; font-weight: 600; margin-top: 2px; }
.hours-title { font-size: 14px; font-weight: 600; margin-bottom: 7px; }
.hours-table { border: 1px solid var(--line-soft); border-radius: 6px; overflow: hidden; }
.hours-row { display: flex; justify-content: space-between; gap: 12px; padding: 9px 12px; font-size: 14.5px; border-top: 1px solid var(--hairline); background: var(--card); }
.hours-row:first-child { border-top: 0; }
.hours-row--off { background: #FAFBFB; color: var(--mist); }
.chamber-ctas { display: flex; gap: 9px; margin-top: 14px; flex-wrap: wrap; }

/* FAQ accordion */
.faq-item { border-top: 1px solid var(--hairline); }
.faq-item summary { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; cursor: pointer; font-size: 15.5px; font-weight: 500; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .chev { color: var(--ghost); }
.faq-item[open] summary .chev { transform: rotate(180deg); }
.faq-item .answer { padding: 0 0 14px; font-size: 15px; color: var(--ink-2); line-height: 1.65; max-width: 620px; }

.side-card h4 { margin: 0 0 10px; font-size: 12px; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: var(--muted); }
.side-list a { padding: 10px 0; border-top: 1px solid var(--hairline); color: var(--ink); display: flex; flex-direction: column; gap: 2px; }
.side-list a:hover { text-decoration: none; }
.side-list a:hover b { color: var(--green); }
.side-list b { font-size: 15px; font-weight: 500; }
.side-list span { font-size: 13.5px; color: var(--faint); }
.claim-box h3 { font-size: 16px; font-weight: 600; }
.claim-box p { font-size: 14px; color: var(--muted); margin: 6px 0 0; line-height: 1.55; }
.claim-box .btn { margin-top: 12px; border-color: var(--green); color: var(--green); font-weight: 600; }
.managed-note { background: var(--green-tint); border: 1px solid var(--green-line); border-radius: 8px; padding: 14px 16px; font-size: 14px; color: var(--green); display: flex; gap: 8px; }

/* ---- Facility ---- */
.fac-head { background: var(--card); border-bottom: 1px solid var(--line); padding: 24px 0; }
.fac-head h1 { font-size: 31px; font-weight: 700; letter-spacing: -0.024em; line-height: 1.15; }
.fac-head .sub { margin-top: 5px; font-size: 16px; color: var(--muted); }
.fac-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 18px; }
.meta-box { background: var(--panel); border: 1px solid var(--line-soft); border-radius: 6px; padding: 11px 13px; }
.meta-box .k { font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--faint); }
.meta-box .v { font-size: 15px; margin-top: 4px; color: var(--ink); }
.fac-group { margin-bottom: 20px; }
.fac-group h3 { font-size: 19px; font-weight: 600; letter-spacing: -0.015em; }
.fac-group .count { font-size: 13.5px; color: var(--faint); margin-left: 9px; font-weight: 400; }
.fac-table { background: var(--card); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; margin-top: 9px; }
.fac-row { display: grid; grid-template-columns: 1.4fr 1.4fr 0.9fr 1fr 0.6fr; gap: 6px 16px; padding: 13px 16px; border-top: 1px solid var(--hairline); align-items: baseline; }
.fac-row:first-child { border-top: 0; }
.fac-row .name { font-size: 15.5px; font-weight: 600; color: var(--ink); }
.fac-row .qual { font-size: 14px; color: var(--muted); }
.fac-row .days, .fac-row .time { font-size: 14px; color: var(--ink-2); }
.fac-row .fee { font-size: 14px; font-weight: 500; }

/* ---- Footer ---- */
.site-footer { background: var(--ink); color: #B7C0C2; padding: 32px 0 26px; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px 20px; }
.footer-grid h4 { margin: 0 0 11px; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #fff; }
.footer-grid a { display: block; color: #B7C0C2; font-size: 14px; padding: 3.5px 0; }
.footer-grid a:hover { color: #fff; }
.footer-base { margin-top: 26px; padding-top: 16px; border-top: 1px solid var(--ink-2); font-size: 13px; color: var(--ghost); display: flex; gap: 14px; flex-wrap: wrap; }

/* ---- Autocomplete ---- */
.ac-wrap { position: relative; max-width: 720px; }
.ac-panel { position: absolute; left: 0; right: 0; top: 52px; background: var(--card); border: 1px solid var(--input-line-2); border-radius: 6px; box-shadow: 0 8px 24px rgba(16,24,20,0.13); z-index: 40; overflow: hidden; }
.ac-group { border-bottom: 1px solid var(--hairline); }
.ac-group h5 { margin: 0; font-size: 11.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--faint); padding: 10px 13px 5px; }
.ac-item { display: flex; justify-content: space-between; gap: 10px; padding: 8px 13px; font-size: 14.5px; color: var(--ink); cursor: pointer; }
.ac-item:hover { background: var(--paper); text-decoration: none; }
.ac-item .meta { color: var(--mist); font-size: 13px; }

/* ---- Doctor flows: join / claim / register / login ---- */
.flow-pad { padding: 34px 0 50px; }
.flow-narrow { max-width: 620px; margin: 0 auto; }
.flow-wide { max-width: 760px; margin: 0 auto; }
.flow-card { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 28px 30px; }
.flow-card h1 { font-size: 25px; font-weight: 700; letter-spacing: -0.024em; }
.flow-card .sub { margin: 9px 0 0; font-size: 15.5px; color: var(--muted); line-height: 1.55; }
.flow-note { font-size: 13.5px; color: var(--muted); text-align: center; margin-top: 14px; line-height: 1.55; }
.benefit-list { display: flex; flex-direction: column; gap: 10px; margin: 22px 0; }
.benefit-list .item { display: flex; gap: 10px; font-size: 15.5px; color: var(--ink-2); }
.benefit-list .item .mark { color: var(--green); }
.btn-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.flow-foot { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line-soft); font-size: 15px; color: var(--muted); }
.step-tag { font-size: 12px; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: var(--green); }
.flow-field { margin-top: 14px; }
.flow-field label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 6px; }
.flow-field input, .flow-field select { width: 100%; height: 46px; border: 1px solid var(--input-line); border-radius: 6px; padding: 0 13px; font-size: 15.5px; color: var(--ink); background: var(--card); }
.flow-field input.err, .flow-field select.err { border-color: #D8908C; }
.flow-field .err-text { font-size: 13px; color: #B3261E; margin-top: 5px; }
.flow-field .hint { font-size: 13px; color: var(--faint); margin-top: 5px; }
.flow-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.flow-error { background: #FDECEA; border: 1px solid #F0C4C0; color: #B3261E; border-radius: 6px; padding: 11px 13px; font-size: 14px; margin-top: 14px; }
.flow-ok { background: var(--green-tint); border: 1px solid var(--green-line); border-radius: 8px; padding: 15px 16px; color: var(--green); font-size: 15.5px; font-weight: 600; display: flex; align-items: center; gap: 7px; }
.match-card { border: 1px solid var(--line); border-radius: 8px; padding: 14px 16px; margin-top: 10px; }
.match-card b { font-size: 16.5px; font-weight: 600; display: block; }
.match-card .line { font-size: 14.5px; color: var(--muted); margin-top: 3px; }
.progress-steps { margin-top: 16px; display: flex; flex-direction: column; gap: 11px; }
.progress-steps .st { display: flex; gap: 10px; font-size: 15px; align-items: baseline; }
.progress-steps .st .mark { width: 16px; }
.stepper { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; margin-bottom: 20px; }
.stepper .st { border-top: 3px solid #DDE3E4; padding-top: 8px; }
.stepper .st .num { font-size: 11.5px; font-weight: 700; letter-spacing: 0.06em; color: #B9C3C5; }
.stepper .st .lbl { font-size: 13px; color: var(--mist); margin-top: 2px; }
.stepper .st.done, .stepper .st.on { border-top-color: var(--green); }
.stepper .st.done .num, .stepper .st.on .num { color: var(--green); }
.stepper .st.done .lbl, .stepper .st.on .lbl { color: var(--ink); }
.stepper .st.on .lbl { font-weight: 600; }
.wizard-actions { display: flex; justify-content: space-between; gap: 10px; margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line-soft); }
.qual-line { display: grid; grid-template-columns: 130px 1.3fr 1.3fr 84px auto; gap: 8px; align-items: end; margin-top: 10px; }
.qual-line .flow-field { margin-top: 0; }
.dashed-add { width: 100%; border: 1px dashed #B9C3C5; background: var(--panel); border-radius: 8px; padding: 13px 0; font-size: 15px; font-weight: 500; color: var(--green); cursor: pointer; margin-top: 12px; }
.sched-line { display: grid; grid-template-columns: 150px 1fr 1fr auto; gap: 8px; align-items: center; margin-top: 8px; }
.sched-line select, .sched-line input { height: 40px; border: 1px solid var(--input-line-2); border-radius: 6px; padding: 0 9px; font-size: 14.5px; background: var(--card); color: var(--ink); }
.review-box { border: 1px solid var(--line); border-radius: 8px; padding: 18px 20px; background: var(--panel); }
.otp-note { background: var(--panel); border: 1px solid var(--line-soft); border-radius: 6px; padding: 10px 13px; font-size: 13.5px; color: var(--muted); margin-top: 12px; }

/* ---- Booking ---- */
.book-wrap { max-width: 980px; margin: 0 auto; }
.book-grid { display: grid; grid-template-columns: 1fr 320px; gap: 14px; margin-top: 14px; align-items: start; }
.pick-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.pick-card { border: 1px solid var(--line); background: var(--card); border-radius: 8px; padding: 14px 15px; cursor: pointer; }
.pick-card.on { border-color: var(--green); background: #F3F9F5; }
.pick-card b { font-size: 15.5px; font-weight: 600; line-height: 1.35; display: block; }
.pick-card .line { font-size: 14px; color: var(--muted); margin-top: 4px; }
.pick-card .strong-line { font-size: 14.5px; font-weight: 600; margin-top: 8px; }
.date-row { display: flex; gap: 9px; margin-top: 12px; flex-wrap: wrap; }
.date-btn { border: 1px solid var(--input-line); background: var(--card); color: var(--ink); border-radius: 8px; padding: 10px 14px; cursor: pointer; text-align: left; min-width: 110px; font-size: 14.5px; }
.date-btn .sub { display: block; font-size: 12.5px; color: var(--faint); margin-top: 2px; }
.date-btn.on { background: var(--green); border-color: var(--green); color: #fff; font-weight: 600; }
.date-btn.on .sub { color: #CFE6D9; }
.date-btn:disabled { background: var(--paper); color: var(--mist); cursor: default; }
.serial-big { font-size: 40px; font-weight: 700; letter-spacing: -0.03em; }
.kv-table { border: 1px solid var(--line-soft); border-radius: 6px; margin-top: 14px; overflow: hidden; }
.kv-table .row { display: flex; justify-content: space-between; gap: 12px; padding: 10px 12px; border-top: 1px solid var(--hairline); font-size: 14.5px; }
.kv-table .row:first-child { border-top: 0; }
.kv-table .row .k { color: var(--muted); }
.kv-table .row .v { font-weight: 500; text-align: right; }
.done-big-box { border: 1px solid var(--line); border-radius: 8px; padding: 18px 20px; background: var(--panel); margin-top: 18px; }
.done-big-box .lbl { font-size: 12px; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: var(--muted); }

/* ---- Membership plans ---- */
.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; align-items: start; margin-top: 20px; }
.plan-card { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 20px; }
.plan-card.featured { border: 2px solid var(--green); }
.plan-card .tag { display: inline-block; background: var(--green-tint); color: var(--green); border: 1px solid var(--green-line); border-radius: 20px; padding: 4px 11px; font-size: 12px; font-weight: 600; margin-bottom: 10px; }
.plan-card .name { font-size: 18px; font-weight: 600; }
.plan-card .blurb { font-size: 14px; color: var(--muted); margin-top: 3px; }
.plan-card .price { display: flex; align-items: baseline; gap: 6px; margin-top: 14px; }
.plan-card .price b { font-size: 30px; font-weight: 700; letter-spacing: -0.025em; }
.plan-card .price span { font-size: 14px; color: var(--faint); }
.plan-card .cta { width: 100%; margin-top: 16px; height: 46px; border-radius: 6px; font-size: 15px; font-weight: 600; cursor: pointer; border: 1px solid var(--input-line); background: var(--card); color: var(--ink); }
.plan-card .cta--primary { background: var(--green); border-color: var(--green); color: #fff; }
.plan-card .cta--current { background: var(--paper); border-color: var(--line); color: var(--muted); cursor: default; }
.plan-card .features { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--hairline); display: flex; flex-direction: column; gap: 9px; }
.plan-card .features .f { display: flex; gap: 9px; font-size: 14.5px; color: var(--ink-2); align-items: baseline; }
.plan-card .features .f .mark { color: var(--green); }

/* ---- Appointment settings ---- */
.set-grid { display: grid; grid-template-columns: 1fr 320px; gap: 14px; margin-top: 16px; align-items: start; }
.switch-row { display: flex; justify-content: space-between; gap: 14px; align-items: center; }
.switch-ctl { display: flex; align-items: center; gap: 9px; cursor: pointer; }
.switch-ctl .lbl { font-size: 13.5px; font-weight: 600; color: var(--faint); }
.switch-ctl.on .lbl { color: var(--green); }
.switch-ctl .track { position: relative; width: 42px; height: 22px; border-radius: 11px; background: var(--input-line-2); flex: 0 0 42px; transition: background 0.15s; }
.switch-ctl.on .track { background: var(--green); }
.switch-ctl .knob { position: absolute; top: 2px; left: 2px; width: 18px; height: 18px; border-radius: 9px; background: #fff; transition: left 0.15s; }
.switch-ctl.on .knob { left: 22px; }
.mode-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 12px; }
.mode-card { border: 1px solid var(--line); background: var(--card); border-radius: 8px; padding: 14px 15px; cursor: pointer; }
.mode-card.on { border-color: var(--green); background: #F3F9F5; }
.mode-card b { font-size: 15px; font-weight: 600; }
.mode-card .blurb { font-size: 13.5px; color: var(--muted); margin-top: 6px; line-height: 1.5; }
.chip-toggle-row { display: flex; gap: 8px; margin-top: 9px; flex-wrap: wrap; }
.chip-toggle { border: 1px solid var(--input-line); background: var(--card); color: var(--ink); font-weight: 500; border-radius: 20px; padding: 9px 15px; font-size: 14px; cursor: pointer; }
.chip-toggle.on { background: var(--green); color: #fff; border-color: var(--green); font-weight: 600; }
.set-field-row { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; margin-top: 11px; }
.calc-note { font-size: 14px; color: var(--ink-2); margin-top: 12px; background: var(--panel); border: 1px solid var(--line-soft); border-radius: 6px; padding: 11px 13px; line-height: 1.55; }
.calc-note.warn { background: var(--amber-bg); border-color: var(--amber-line); color: var(--amber-ink-2); }
.notify-row { display: flex; justify-content: space-between; gap: 14px; align-items: center; padding: 13px 0; border-top: 1px solid var(--hairline); }
.notify-row b { font-size: 15px; font-weight: 500; display: block; }
.notify-row .meta { font-size: 13.5px; color: var(--faint); margin-top: 2px; }
.dayoff-chips { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.dayoff-chip { display: flex; gap: 9px; align-items: center; border: 1px solid var(--line); background: var(--panel); border-radius: 20px; padding: 7px 9px 7px 14px; font-size: 14px; }
.dayoff-chip button { border: 0; background: #EDF1EF; color: var(--muted); width: 22px; height: 22px; border-radius: 11px; cursor: pointer; font-size: 12px; line-height: 1; }

/* ---- Doctor dashboard ---- */
.dash-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.dash-head h1 { font-size: 23px; font-weight: 700; letter-spacing: -0.022em; }
.stat-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 16px; }
.stat-tiles .tile-stat { background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 15px 16px; }
.stat-tiles .tile-stat .k { font-size: 13px; color: var(--muted); }
.stat-tiles .tile-stat .v { font-size: 26px; font-weight: 600; letter-spacing: -0.02em; margin-top: 4px; }
.stat-tiles .tile-stat .d { font-size: 12.5px; color: var(--faint); margin-top: 2px; }
.dash-grid { display: grid; grid-template-columns: 1fr 320px; gap: 14px; margin-top: 14px; align-items: start; }
.appt-row { display: grid; grid-template-columns: 110px 1fr auto; gap: 12px; padding: 11px 0; border-top: 1px solid var(--hairline); align-items: baseline; font-size: 14.5px; }
.checklist { display: flex; flex-direction: column; gap: 9px; margin-top: 14px; }
.checklist .c { display: flex; gap: 10px; font-size: 14.5px; align-items: baseline; }
.checklist .c .mark { width: 14px; }
.meter { height: 8px; border-radius: 4px; background: #EDF1EF; margin-top: 10px; overflow: hidden; }
.meter > div { height: 8px; background: var(--green); }
.pending-banner { margin-top: 16px; background: var(--amber-bg); border: 1px solid var(--amber-line); border-radius: 8px; padding: 14px 16px; }
.pending-banner b { font-size: 15px; font-weight: 600; color: var(--amber-ink); display: block; }
.pending-banner p { font-size: 14.5px; color: var(--amber-ink-2); margin: 5px 0 0; line-height: 1.55; }

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .nav-main, .header-actions .lang-desktop, .header-actions .btn-claim { display: none; }
  .menu-btn { display: flex; }
  .hero { padding: 22px 0 24px; }
  .hero h1 { font-size: 28px; }
  .hero-watermark { display: none; }
  .hero-selects { grid-template-columns: 1fr; }
  .trust-strip { grid-template-columns: 1fr; gap: 12px; margin-top: 18px; padding-top: 18px; }
  .section-head h2 { font-size: 20px; }
  .page-title { font-size: 25px; }
  .profile-grid h1, .fac-head h1 { font-size: 25px; }
  .search-layout { grid-template-columns: 1fr; }
  .filters { display: none; }
  .mfilter-btns { display: grid; }
  .doc-card { grid-template-columns: 88px 1fr; }
  .trust-rail { grid-column: 1 / -1; border-left: 0; padding-left: 0; border-top: 1px solid var(--line-soft); padding-top: 12px; }
  .trust-rail .cta-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .profile-grid { grid-template-columns: 104px 1fr; }
  .avatar--lg { width: 104px; height: 104px; }
  .profile-grid .trust-card { grid-column: 1 / -1; }
  .profile-body { grid-template-columns: 1fr; }
  .tile-grid, .tile-grid--3, .fac-meta, .footer-grid { grid-template-columns: 1fr 1fr; }
  .cond-grid { grid-template-columns: 1fr; }
  .qual-row { grid-template-columns: 1fr; }
  .fac-row { grid-template-columns: 1fr; }
  .btn-pair, .flow-grid2, .pick-grid { grid-template-columns: 1fr; }
  .stepper { grid-template-columns: repeat(3, 1fr); }
  .qual-line { grid-template-columns: 1fr 1fr; }
  .sched-line { grid-template-columns: 1fr 1fr; }
  .book-grid, .dash-grid { grid-template-columns: 1fr; }
  .stat-tiles { grid-template-columns: 1fr 1fr; }
  .plan-grid, .mode-cards, .set-field-row { grid-template-columns: 1fr; }
  .set-grid { grid-template-columns: 1fr; }
}
