/* components.css — every component, desktop-first. Phone shell (tab bar, sheet) lives in mobile.css.
   Layout follows the patient-facing "single doctor" pattern: sticky header, 2-col hero, facts bar,
   card grids, dark schedule band, accordion FAQ, gradient call strip + 4-col footer. */

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 48px; padding: .8rem 1.5rem; border-radius: var(--btn-r);
  font-weight: 600; font-size: 1.02rem; line-height: 1.2; text-decoration: none; text-align: center;
  border: 2px solid transparent; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn-accent { background: var(--grad); color: #fff; box-shadow: 0 8px 20px rgba(40, 34, 98, .28); }
.btn-accent:hover { color: #fff; background: var(--brand-deep); box-shadow: 0 12px 26px rgba(40, 34, 98, .36); }
.btn-ghost, .btn-outline { background: #fff; color: var(--brand); border-color: var(--brand); }
.btn-ghost:hover, .btn-outline:hover { background: var(--brand); color: #fff; }
.btn-white { background: #fff; color: var(--brand-deep); }
.btn-white:hover { color: var(--accent-deep); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: #0e6f3a; color: #fff; }
.btn-line-light { border-color: rgba(255, 255, 255, .6); color: #fff; }
.btn-line-light:hover { background: #fff; color: var(--brand-deep); }
.btn-sm { min-height: 42px; padding: .55rem 1.1rem; font-size: .95rem; }
.link-arrow { font-weight: 600; text-decoration: none; color: var(--brand); border-bottom: 2px solid var(--accent); padding-bottom: 1px; }
.link-arrow::after { content: " →"; }
.link-arrow:hover { color: var(--accent-deep); }

/* ---------- Header: white top (brand + call block), full-width teal nav bar ---------- */
.site-header { background: #fff; }
.header-in { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 116px; padding-block: .6rem; }
.brand { display: flex; align-items: center; gap: .8rem; text-decoration: none; color: var(--brand); min-width: 0; }
.brand-mark { flex: none; }
.brand-mark img { display: block; width: 78px; height: 78px; }
.brand-block { display: flex; flex-direction: column; line-height: 1.4; min-width: 0; }
.bb-name { font-size: 1.3rem; font-weight: 700; color: var(--brand); line-height: 1.3; margin-bottom: .1rem; }
.bb-short { display: none; }
.bb-line { font-size: .88rem; color: var(--ink); font-weight: 600; }
.bb-line--5 { color: var(--accent-deep); }
.call-block { display: flex; align-items: center; gap: .8rem; text-decoration: none; color: var(--brand); }
.call-ico { flex: none; width: 46px; height: 46px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; }
.call-ico svg { width: 22px; height: 22px; }
.call-txt { display: flex; flex-direction: column; line-height: 1.25; }
.call-txt small { font-size: .92rem; color: var(--ink); }
.call-txt strong { font-size: 1.65rem; font-weight: 600; color: var(--brand); letter-spacing: .3px; }
.call-block:hover { color: var(--accent-deep); }
.nav-bar { position: sticky; top: 0; z-index: 100; background: var(--accent); box-shadow: 0 3px 10px rgba(0, 60, 80, .12); }
.nav { display: flex; align-items: center; gap: clamp(1rem, 2.2vw, 2rem); min-height: var(--header-h); }
.nav a:not(.btn) { color: #fff; text-decoration: none; font-weight: 600; font-size: 1.02rem; padding: .5rem 0; border-bottom: 2px solid transparent; }
html[lang="en"] .nav a:not(.btn) { text-transform: uppercase; letter-spacing: .01em; font-size: .98rem; }
.nav a:not(.btn):hover, .nav a[aria-current="page"] { color: var(--brand); }
.lang-switch { display: inline-flex; margin-inline-start: auto; border: 1.5px solid #fff; border-radius: 999px; overflow: hidden; }
.nav .lang-switch a { padding: .28rem .85rem; border: 0; font-size: .85rem; font-weight: 700; color: #fff; text-transform: none; letter-spacing: 0; }
.nav .lang-switch a:hover { color: #fff; background: rgba(255, 255, 255, .18); }
.nav .lang-switch a.is-active { background: #fff; color: var(--accent-deep); }
.nav-toggle { display: none; background: none; border: 0; padding: .6rem; }
.nav-toggle span { display: block; width: 26px; height: 3px; background: var(--brand); margin: 5px 0; border-radius: 2px; transition: .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; padding: clamp(2.4rem, 5vw, 4.5rem) 0 clamp(3.2rem, 6vw, 5rem);
  background:
    radial-gradient(900px 500px at 88% 18%, rgba(0, 152, 183, .16), transparent 70%),
    linear-gradient(180deg, var(--brand-soft) 0%, #eef7f8 100%);
}
.hero-bg { position: absolute; inset: auto 0 0 0; height: 200px; pointer-events: none; }
.wave { width: 100%; height: 100%; }
.wave path { fill: none; stroke: var(--accent); stroke-opacity: .17; stroke-width: 3; stroke-linecap: round; stroke-dasharray: 2600; stroke-dashoffset: 2600; animation: draw 3.4s ease-out .3s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 3.5rem); align-items: center; }
.pill { display: inline-block; background: var(--accent-deep); color: #fff; font-weight: 700; font-size: 1.05rem; padding: .4rem 1.4rem; border-radius: 999px; margin: 0 0 1.1rem; line-height: 1.5; }
.hero-copy { min-width: 0; }
html[lang="en"] .hero h1 { font-size: clamp(1.1rem, .8rem + 1.5vw, 1.9rem); }
.hero h1 { font-size: clamp(1.35rem, 1rem + 1.9vw, 2.3rem); white-space: nowrap; color: var(--accent); line-height: 1.2; margin: 0 0 .5rem; letter-spacing: -.3px; }
.tagline { font-size: 1.25rem; font-weight: 600; color: var(--brand); margin: 0 0 1rem; }
.tagline strong { color: var(--accent-deep); font-weight: 700; }
.degrees { font-size: 1.25rem; font-weight: 600; margin: 0; color: var(--ink); line-height: 1.6; }
.degrees.alt { color: var(--accent-deep); }
.role { font-size: 1.25rem; font-weight: 700; color: var(--brand); margin: 0; line-height: 1.6; }
.place { font-size: 1.2rem; font-weight: 600; color: var(--brand); margin: .1rem 0 1.6rem; padding-bottom: 1.1rem; border-bottom: 3px solid var(--ink); max-width: 30em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-bottom: 1.6rem; }
.hero-visit { display: flex; gap: .9rem; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-inline-start: 6px solid var(--accent); border-radius: var(--r-md); padding: 1rem 1.3rem; max-width: 30em; box-shadow: var(--shadow-sm); }
.hero-visit p { margin: 0; font-size: 1.05rem; line-height: 1.6; }
.hero-visit strong { color: var(--brand); }
.hero-visit .today-note { display: block; font-size: 1rem; color: var(--wa); font-weight: 600; }
.hero-photo { margin: 0; position: relative; justify-self: center; padding-bottom: .4rem; }
.ring { position: relative; width: min(440px, 78vw); aspect-ratio: 1; }
.ring::before { content: ""; position: absolute; inset: -11px; border-radius: 50%; background: var(--brand); box-shadow: 0 24px 60px rgba(10, 64, 57, .35); }
.slides { position: absolute; inset: 0; z-index: 1; border-radius: 50%; overflow: hidden; background: radial-gradient(circle at 50% 36%, #ffffff 0%, var(--brand-soft) 56%, #a9d8e2 100%); }
.slides::after { content: ""; position: absolute; inset: 0; z-index: 3; border-radius: 50%; box-shadow: inset 0 0 0 6px #fff; pointer-events: none; }
.slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: 50% 100%; opacity: 0; transition: opacity 1s ease; }
.slide.is-on { opacity: 1; }
.slide-dots { display: flex; justify-content: center; gap: .1rem; margin-top: 1.7rem; }
.slide-dot { width: 30px; height: 30px; border: 0; background: none; padding: 0; display: grid; place-items: center; }
.slide-dot::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--line-strong); transition: background .2s, transform .2s; }
.slide-dot.is-on::before { background: var(--brand); transform: scale(1.25); }

/* ---------- Quick facts bar ---------- */
.facts { background: var(--brand); color: #fff; }
.facts-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.fact { padding: 1.3rem 1.2rem; display: flex; flex-direction: column; gap: .15rem; border-inline-start: 1px solid rgba(255, 255, 255, .22); }
.fact:first-child { border-inline-start: 0; }
.fact-k { font-size: .9rem; color: #c9c6ee; }
.fact-v { font-weight: 600; font-size: 1.05rem; line-height: 1.45; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 3.5rem); align-items: stretch; }
.about-copy p { max-width: 36em; }
.about-copy p:not(.lead) { text-align: justify; text-justify: inter-word; hyphens: auto; }
.quals { list-style: none; margin: 0; padding: 0; border-inline-start: 3px solid var(--brand-line); display: flex; flex-direction: column; justify-content: space-between; }
.quals li { display: flex; gap: 1rem; padding: 1rem 0 1rem 1.4rem; position: relative; }
.quals strong { display: block; font-size: 1.12rem; color: var(--ink); line-height: 1.4; }
.quals small { color: var(--muted); font-size: .98rem; line-height: 1.55; display: block; }
.q-mark { position: absolute; inset-inline-start: -10px; top: 1.5rem; width: 17px; height: 17px; border-radius: 50%; border: 4px solid var(--paper); background: var(--brand); }
.quals li:nth-child(2) .q-mark { background: var(--accent); }
.quals li:nth-child(3) .q-mark { background: var(--wa); }
.quals li:nth-child(4) .q-mark { background: var(--alert); }
.about-photo { margin: 0; display: flex; flex-direction: column; min-height: 320px; }
.about-photo img { flex: 1 1 0; height: 0; min-height: 0; width: 100%; object-fit: cover; object-position: 50% 22%; border-radius: var(--r-lg); box-shadow: var(--shadow); }
.about-photo figcaption { font-size: .88rem; color: var(--muted); margin-top: 10px; }
.pull { margin: 0 0 1.2rem; font-size: 1.25rem; font-weight: 500; line-height: 1.6; color: var(--ink); border-inline-start: 4px solid var(--accent); padding-inline-start: 1.1rem; }

/* ---------- Service cards ---------- */
.svc-grid { list-style: none; margin: 0 0 2.5rem; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.svc { --c: var(--brand); position: relative; background: #fff; border: 1px solid var(--line); border-top: 5px solid var(--c); border-radius: var(--r-md); padding: 1.4rem 1.3rem 1.5rem; color: var(--c); transition: transform .2s ease, box-shadow .2s ease; }
.svc:nth-child(even) { --c: var(--accent); }
.svc:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.svc svg { width: 46px; height: 46px; margin-bottom: .8rem; }
.svc h3 { font-size: 1.12rem; color: var(--ink); margin: 0 0 .4rem; }
html[lang="bn"] .svc h3 { font-family: "Hind Siliguri", sans-serif; font-weight: 600; }
.svc p { margin: 0; color: var(--muted); font-size: 1rem; line-height: 1.6; }
.svc a { color: inherit; text-decoration: none; }
.svc a::after { content: ""; position: absolute; inset: 0; }   /* whole card is the link */
.svc--all { --c: var(--brand); background: var(--brand); color: #fff; border-color: var(--brand); display: flex; flex-direction: column; justify-content: center; }
.svc--all h3, .svc--all p { color: #fff; }
.svc--all svg { color: var(--sun); }

/* ---------- Emergency box ---------- */
.alert { display: flex; gap: 1rem; align-items: flex-start; background: var(--alert-soft); border: 2px solid var(--alert); border-radius: var(--r-md); padding: 1.2rem 1.4rem; }
.alert svg { color: var(--alert); flex: none; margin-top: .2rem; width: 28px; height: 28px; }
.alert strong { display: block; font-size: 1.15rem; color: var(--alert); }
.alert p { margin: .2rem 0 0; color: var(--ink); }

/* ---------- Condition index ---------- */
.cond-tools { margin-bottom: 1.6rem; }
.cond-search { display: flex; align-items: center; gap: 10px; max-width: 480px; border: 2px solid var(--line-strong); background: #fff; border-radius: 999px; padding: 0 1.1rem; min-height: 52px; }
.cond-search svg { width: 20px; height: 20px; color: var(--muted); flex: none; }
.cond-search input { border: 0; outline: 0; font: inherit; flex: 1; min-width: 0; background: transparent; min-height: 46px; color: var(--ink); }
.cond-search:focus-within { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(40, 34, 98, .14); }
.cond-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem; align-items: start; }
.cond-group { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.2rem 1.3rem .8rem; }
.cond-group h3 { font-size: 1.08rem; margin: 0 0 .4rem; padding-bottom: .6rem; border-bottom: 2px solid var(--brand-line); color: var(--brand); }
.cond-list { list-style: none; }
.cond-list li { border-bottom: 1px solid var(--line); }
.cond-list li:last-child { border-bottom: 0; }
.cond-list a, .cond-list span { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: .7rem .1rem; text-decoration: none; color: var(--ink); line-height: 1.5; }
.cond-list a:hover { color: var(--accent-deep); }
.cond-list a::after { content: "→"; color: var(--accent); flex: none; }
.cond-empty { color: var(--muted); }
.cond-note { margin-top: 1.6rem; padding: 1rem 1.3rem; background: #fff; border: 1px solid var(--line); border-inline-start: 5px solid var(--accent); border-radius: var(--r-sm); font-size: .98rem; }
.cond-group[hidden], .cond-list li[hidden] { display: none; }

/* ---------- Schedule band ---------- */
.schedule { background: var(--brand); color: #fff; }
.schedule .sec-title { color: #fff; }
.sched-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 5vw, 3rem); align-items: center; }
.sched-day { font-size: clamp(1.8rem, 1.3rem + 1.6vw, 2.4rem); font-weight: 700; margin: 0; line-height: 1.25; }
.sched-time { font-size: 1.5rem; margin: .2rem 0 .8rem; color: #bfeaf3; font-weight: 600; }
.sched-place { color: #d4d1f0; margin-bottom: 1rem; }
.sched-next { display: inline-block; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .3); padding: .5rem 1rem; border-radius: 999px; margin: 0; }
.week { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .22); border-radius: var(--r-md); padding: 1.3rem; display: grid; gap: 1.2rem; }
.week-row { display: grid; grid-template-columns: repeat(7, 1fr); gap: .45rem; }
.day { display: block; text-align: center; padding: .8rem .2rem; border-radius: 12px; background: rgba(255, 255, 255, .08); color: #d4d1f0; font-size: .84rem; line-height: 1.4; text-decoration: none; overflow-wrap: anywhere; }
.day b { display: block; font-size: .92rem; color: #fff; font-weight: 600; margin-bottom: .15rem; }
.day .where { display: block; font-weight: 600; }
.day.on { background: var(--accent-deep); color: #fff; box-shadow: 0 6px 18px rgba(0, 0, 0, .28); }
.day.today { outline: 2px dashed #fff; outline-offset: 2px; }
.day.today b::after { content: attr(data-today); display: block; font-size: .7rem; font-weight: 700; color: var(--sun); }
a.day:hover { color: #fff; transform: translateY(-2px); }
/* light variant, used on the /chambers page */
.week-row--light .day { background: #fff; border: 1px solid var(--line); color: var(--muted); }
.week-row--light .day b { color: var(--ink); }
.week-row--light .day.on { background: var(--brand); border-color: var(--brand); color: #fff; box-shadow: var(--shadow-sm); }
.week-row--light .day.on b { color: #fff; }
.week-row--light .day.today { outline-color: var(--accent); }
.week-row--light .day.today b::after { color: var(--accent-deep); }
.week-row--light .day.on.today b::after { color: var(--sun); }
.week-note { margin: 1rem 0 0; font-size: .95rem; color: var(--muted); }

/* ---------- Gallery + lightbox ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 250px; grid-auto-flow: dense; gap: 1rem; }
.g-item { position: relative; padding: 0; border: 0; border-radius: var(--r-md); overflow: hidden; cursor: zoom-in; background: var(--brand-soft); height: 100%; }
.g-w3 { grid-column: span 2; } /* wide tiles chosen in gallery_grid() so every row is full; .g-w2 = wide only in the 2-column layouts */
.g-item img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; transition: transform .5s ease; }
.g-item:hover img { transform: scale(1.05); }
.g-item span { position: absolute; inset: auto 0 0 0; padding: 2.2rem 1rem .9rem; color: #fff; font-weight: 600; font-size: 1rem; line-height: 1.4; text-align: start; background: linear-gradient(to top, rgba(20, 16, 70, .88), transparent); }
.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(15, 12, 50, .94); display: flex; align-items: center; justify-content: center; padding: 1.5rem; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: min(1000px, 88vw); text-align: center; }
.lightbox img { max-height: 76vh; margin-inline: auto; border-radius: 10px; }
.lightbox figcaption { color: #fff; margin-top: .9rem; font-size: 1.05rem; }
.lb-close, .lb-nav { position: absolute; background: rgba(255, 255, 255, .14); color: #fff; border: 0; width: 52px; height: 52px; border-radius: 50%; font-size: 2rem; line-height: 1; }
.lb-close:hover, .lb-nav:hover { background: var(--accent); }
.lightbox .lb-close { top: 1rem; inset-inline-end: 1rem; }
.lb-prev { inset-inline-start: 1rem; } .lb-next { inset-inline-end: 1rem; }
.lb-nav { top: 50%; translate: 0 -50%; }

/* ---------- Video cards (grid on desktop, snap rail on phone) ---------- */
.rail { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.2rem; }
.rail--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.vcard { display: block; text-decoration: none; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; transition: transform .2s, box-shadow .2s; }
.vcard:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: var(--ink); }
.vcard-media { position: relative; display: block; aspect-ratio: 9 / 12; overflow: hidden; background: var(--brand-deep); }
.vcard-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.vcard-media .vcard-blur { position: absolute; inset: 0; filter: blur(18px) brightness(.7); transform: scale(1.15); }
.vcard-media .vcard-fit { position: absolute; inset: 0; object-fit: contain; object-position: 50% 50%; }
.vcard-play { position: absolute; inset-block-end: 12px; inset-inline-start: 12px; width: 46px; height: 46px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; box-shadow: 0 4px 12px rgba(0, 0, 0, .3); }
.vcard-play::before { content: ""; border-inline-start: 13px solid #fff; border-block: 8px solid transparent; margin-inline-start: 3px; }
.vcard-body { display: block; padding: .9rem 1rem 1.1rem; }
.vcard-kind { font-size: .82rem; color: var(--accent-deep); font-weight: 700; display: block; margin-bottom: 3px; }
.vcard-title { display: block; font-size: 1rem; line-height: 1.55; font-weight: 600; color: var(--ink); }
.vcard--plain .vcard-media { display: grid; place-items: center; }
.vcard-media--wide { aspect-ratio: 16 / 9; }
.vcard-media--wide img { object-position: 50% 50%; }

/* "যাদের কাছে শেখা": one scrollable row of YouTube videos */
.yt-wrap { position: relative; }
.yt-row { display: flex; gap: 1.1rem; overflow-x: auto; scroll-snap-type: x proximity; padding-bottom: .8rem; scrollbar-width: thin; scrollbar-color: var(--accent) transparent; -webkit-overflow-scrolling: touch; }
.yt-card { flex: 0 0 min(300px, 78vw); scroll-snap-align: start; text-decoration: none; color: var(--ink); display: block; }
.yt-thumb { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: var(--r-md); overflow: hidden; background: var(--brand-deep); }
.yt-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.yt-card:hover .yt-thumb img { transform: scale(1.04); }
.yt-title { display: block; margin-top: .55rem; font-weight: 600; font-size: .95rem; line-height: 1.4; }
.yt-card:hover .yt-title { color: var(--accent-deep); }
.yt-nav { position: absolute; top: calc(50% - 1.6rem); translate: 0 -50%; z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--brand); color: #fff; font-size: 1.7rem; line-height: 1; box-shadow: 0 4px 12px rgba(0, 0, 0, .25); }
.yt-nav[hidden] { display: none; }
.yt-prev { inset-inline-start: -10px; } .yt-next { inset-inline-end: -10px; }

/* operations page: consent card over the photo block only */
.cases-consent { background: #fff; border: 1px solid var(--line); border-inline-start: 6px solid var(--brand); border-radius: var(--r-md); padding: 1.3rem 1.5rem; max-width: 46rem; }
.cases-consent h2 { font-size: 1.25rem; margin: 0 0 .5rem; }
.cases-consent .gate-actions { margin-top: 1rem; }
.cases-consent[hidden], .cases-wrap[hidden] { display: none; }
.js .cases-wrap.is-locked { display: none; }
html:not(.js) .cases-consent { display: none; }
.subhead { font-size: 1.25rem; margin: 2.6rem 0 1rem; color: var(--brand); }
.subhead:first-of-type { margin-top: 0; }

/* video player lightbox */
.lb { position: fixed; inset: 0; background: rgba(15, 12, 50, .92); z-index: 300; display: none; align-items: center; justify-content: center; padding: 20px; }
.lb.is-open { display: flex; }
.lb-box { width: min(92vw, 560px); max-height: 92vh; position: relative; }
.lb-frame { position: relative; width: 100%; background: #000; border-radius: 10px; overflow: hidden; }
.lb-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.lb-box .lb-close { top: -56px; inset-inline-end: 0; width: 44px; height: 44px; }
.lb-fallback { color: #d4d1f0; text-align: center; margin-top: 12px; font-size: .92rem; }
.lb-fallback a { color: #fff; }

/* ---------- Appointment + form ---------- */
.appt-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 3rem); align-items: start; }
.phones-big { display: flex; flex-direction: column; gap: .2rem; margin: 1.2rem 0; }
.phones-big a { font-size: 1.65rem; font-weight: 700; color: var(--brand); text-decoration: none; line-height: 1.5; }
.phones-big a:hover { color: var(--accent-deep); }
.phones-big small { font-size: .82rem; font-weight: 500; color: var(--muted); margin-inline-start: .4rem; }
.fine { color: var(--muted); font-size: .96rem; }
.form { background: #fff; border-radius: var(--r-lg); padding: 1.7rem; box-shadow: var(--shadow); border: 1px solid var(--line); display: grid; gap: 1.1rem; }
.form label { display: flex; flex-direction: column; gap: .35rem; font-weight: 600; font-size: 1rem; color: var(--brand); }
.form input, .form select, .form textarea { font: inherit; font-weight: 400; font-size: 1.05rem; padding: .8rem 1rem; border: 2px solid var(--line-strong); border-radius: 10px; background: #fff; color: var(--ink); min-height: 48px; width: 100%; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(40, 34, 98, .15); }
.form textarea { min-height: 96px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.form-help { font-size: .9rem; color: var(--muted); margin: 0; }

/* ---------- FAQ accordion (home) + markdown-lite Q/A (articles) ---------- */
.faq-wrap .qa { max-width: 820px; }
.qa, .faq details { border-bottom: 1px solid var(--line); }
.qa summary, .faq summary { cursor: pointer; list-style: none; padding: 1.1rem 2.5rem 1.1rem 0; font-weight: 600; font-size: 1.12rem; color: var(--ink); position: relative; line-height: 1.5; }
html[dir="rtl"] .qa summary { padding: 1.1rem 0 1.1rem 2.5rem; }
.qa summary::-webkit-details-marker, .faq summary::-webkit-details-marker { display: none; }
.qa summary::after, .faq summary::after { content: "+"; position: absolute; inset-inline-end: .3rem; top: 50%; translate: 0 -50%; font-size: 1.8rem; color: var(--accent); font-weight: 400; transition: rotate .2s; }
.qa[open] summary::after, .faq details[open] summary::after { rotate: 45deg; }
.qa[open] summary, .faq details[open] summary { color: var(--brand); }
.qa p, .faq details p { margin: 0 0 1.2rem; color: var(--muted); }

/* ---------- Chambers ---------- */
.chambers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; }
.chamber { position: relative; background: #fff; border: 1px solid var(--line); border-top: 5px solid var(--brand); border-radius: var(--r-md); padding: 1.5rem 1.4rem; display: flex; flex-direction: column; gap: .8rem; box-shadow: var(--shadow-sm); }
.chamber:nth-child(3n+2) { border-top-color: var(--accent); }
.chamber:nth-child(3n+3) { border-top-color: var(--wa); }
.chamber-city { font-size: 1.7rem; line-height: 1.15; margin: 0; }
.chamber-place { margin: 0; font-weight: 600; color: var(--ink); line-height: 1.5; }
.chamber-addr { margin: 0; color: var(--muted); font-size: .96rem; }
.chamber dl { margin: 0; border-top: 1px solid var(--line); }
.chamber dl > div { display: grid; grid-template-columns: 5rem 1fr; gap: 8px; padding: .6rem 0; border-bottom: 1px solid var(--line); font-size: .96rem; line-height: 1.5; }
.chamber dt { color: var(--muted); font-size: .86rem; padding-top: .1em; }
.chamber dd { margin: 0; font-weight: 500; }
/* serial numbers as big tap targets (the thing patients come for) */
.serial-box { background: var(--brand-soft); border-radius: var(--r-sm); padding: .8rem .8rem .9rem; }
.serial-title { margin: 0 0 .55rem; font-size: .9rem; font-weight: 700; color: var(--brand); }
.serial-btns { list-style: none; display: grid; gap: .5rem; }
.serial-btns a { display: flex; align-items: center; gap: .65rem; min-height: 52px; padding: .4rem .9rem; background: #fff; border: 2px solid var(--accent); border-radius: 12px; text-decoration: none; color: var(--brand); }
.serial-btns a:hover { background: var(--accent-deep); border-color: var(--accent-deep); color: #fff; }
.serial-btns svg { width: 22px; height: 22px; flex: none; color: var(--accent-deep); }
.serial-btns a:hover svg, .serial-btns a:hover small { color: #fff; }
.serial-btns .sb-num { font-weight: 700; font-size: 1.28rem; letter-spacing: .2px; line-height: 1.2; }
.serial-btns small { margin-inline-start: auto; font-size: .8rem; color: var(--muted); text-align: end; line-height: 1.25; }
.chamber .phones { list-style: none; }
.chamber .phones a { text-decoration: none; font-weight: 700; color: var(--brand); }
.chamber .phones small { color: var(--muted); font-weight: 400; margin-inline-start: .3rem; font-size: .8rem; }
.chamber-actions { margin-top: auto; display: flex; flex-wrap: wrap; gap: .6rem; padding-top: .4rem; }
.tag { position: absolute; top: -13px; inset-inline-end: 1rem; font-size: .78rem; font-weight: 700; color: #fff; background: var(--wa); padding: .15rem .8rem; border-radius: 999px; }
.chamber-note { margin: 1.4rem 0 0; font-size: .95rem; color: var(--muted); max-width: 70ch; }
.social { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.6rem; }

/* ---------- Article cards: plain "doctor's notes", numbered, no box ---------- */
.posts { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.2rem 2.4rem; }
.post-row { display: flex; flex-direction: column; gap: .45rem; padding-top: 1rem; border-top: 4px solid var(--accent); }
.post-no { font-family: 'Montserrat', 'Hind Siliguri', sans-serif; font-size: 2.4rem; font-weight: 700; line-height: 1; color: var(--accent); opacity: .4; letter-spacing: .02em; }
.post-row h3 { margin: 0; font-size: 1.15rem; line-height: 1.45; }
.post-row h3 a { text-decoration: none; color: var(--brand); }
.post-row h3 a:hover { color: var(--accent-deep); text-decoration: underline; }
.post-row p { margin: 0; color: var(--ink); opacity: .78; font-size: .98rem; line-height: 1.65; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-row .link-arrow { align-self: flex-start; margin-top: .3rem; border-bottom: 0; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--accent); text-decoration-thickness: 2px; }
.post-row .link-arrow::after { content: ""; }

/* back button above the breadcrumb on inner pages */
.back-btn { display: inline-block; margin-bottom: .8rem; padding: .3rem .9rem; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--brand); font-size: .9rem; font-weight: 600; text-decoration: none; }
.back-btn:hover { border-color: var(--accent); color: var(--accent-deep); }

/* ---------- Inner-page head, crumbs, prose ---------- */
.page-head { padding-block: clamp(2rem, 4.5vw, 3.4rem); background: linear-gradient(180deg, var(--brand-soft), #eef7f8); border-bottom: 1px solid var(--line); }
.crumbs { font-size: .9rem; color: var(--muted); margin-bottom: 1rem; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--accent-deep); text-decoration: underline; }
.crumbs span[aria-hidden] { margin-inline: .5em; opacity: .5; }
.page-head h1 { font-size: clamp(1.9rem, 1.2rem + 2.6vw, 3rem); margin: 0 0 .4rem; max-width: 24ch; }
.page-head h1::after { content: ""; display: block; width: 70px; height: 5px; border-radius: 4px; background: var(--grad); margin-top: .7rem; }
.page-head .lead { color: var(--ink); max-width: 62ch; margin: .8rem 0 0; }
.doc { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(2rem, 5vw, 4rem); align-items: start; padding-block: clamp(2rem, 4.5vw, 3.5rem); }
.prose { max-width: 68ch; }
.prose h2 { font-size: clamp(1.35rem, 1.1rem + .9vw, 1.75rem); margin: 2em 0 .5em; }
.prose h2:first-child { margin-top: 0; }
.prose ul { list-style: none; margin: 0 0 1.2em; }
.prose ul li { position: relative; padding: .4rem 0 .4rem 1.5rem; }
.prose ul li::before { content: ""; position: absolute; inset-inline-start: 0; top: 1.05em; width: 8px; height: 8px; background: var(--accent); border-radius: 50%; }
.callout { background: var(--accent-soft); border: 1px solid #b9dfe8; border-inline-start: 5px solid var(--accent); border-radius: var(--r-sm); padding: 1.1rem 1.4rem; margin: 1.6em 0; }
.callout h3 { font-size: 1.05rem; margin: 0 0 .4em; color: var(--accent-deep); font-family: inherit !important; font-weight: 700; }
.callout p:last-child, .callout ul:last-child { margin-bottom: 0; }
.aside { position: sticky; top: calc(var(--header-h) + 20px); border: 1px solid var(--line); background: #fff; border-radius: var(--r-md); padding: 1.4rem; box-shadow: var(--shadow-sm); }
.aside h3 { font-size: 1.1rem; margin-bottom: .3em; }
.aside p { font-size: .95rem; color: var(--muted); }
.aside .btn { width: 100%; margin-top: .6rem; }
.aside ul { list-style: none; margin: .8rem 0 0; }
.aside li { border-bottom: 1px solid var(--line); font-size: .95rem; }
.aside li:last-child { border-bottom: 0; }
.aside li a { display: block; padding: .5rem 0; text-decoration: none; }
.disclaimer { font-size: .9rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 1rem; margin-top: 2em; }

/* ---------- Contact page ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2rem, 5vw, 3.5rem); align-items: start; }
.contact-list { list-style: none; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: .3rem 1.2rem; }
.contact-list li { display: grid; grid-template-columns: 7.5rem 1fr; gap: 12px; padding: .9rem 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.contact-list li:last-child { border-bottom: 0; }
.contact-list .k { color: var(--muted); font-size: .9rem; }
.contact-list a { font-weight: 600; text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }
.contact-list small { display: block; color: var(--muted); font-weight: 400; }

/* ---------- Footer ---------- */
.site-footer { background: var(--brand-deep); color: #d4d1f0; font-size: 1rem; }
.foot-cta { background: var(--accent-deep); color: #fff; }
.foot-cta-in { display: flex; align-items: center; justify-content: space-between; gap: 1.2rem 2rem; padding-block: 1.5rem; flex-wrap: wrap; }
.foot-cta strong { display: block; font-size: 1.3rem; line-height: 1.4; font-weight: 600; }
.foot-cta span { font-size: 1rem; opacity: .95; }
.foot-cta-actions { display: flex; flex-wrap: wrap; gap: .7rem; }
.foot-grid { display: grid; grid-template-columns: 1.3fr .8fr 1.3fr 1fr; gap: 2.5rem; padding-block: 3.2rem 2.6rem; }
.site-footer h3 { color: #fff; font-size: 1.1rem; margin: 0 0 1rem; padding-bottom: .6rem; position: relative; }
.site-footer h3::after { content: ""; position: absolute; inset-inline-start: 0; bottom: 0; width: 34px; height: 3px; border-radius: 2px; background: #33c0dc; }
.foot-brand-row { display: flex; align-items: center; gap: .8rem; margin: 0 0 .8rem; }
.foot-logo { flex: none; width: 62px; height: 62px; background: var(--white); border-radius: var(--r-md); display: grid; place-items: center; padding: 5px; }
.foot-logo img { display: block; width: 100%; height: 100%; }
.foot-brand { font-size: 1.3rem; color: #fff; margin: 0; line-height: 1.35; font-weight: 600; }
.site-footer p { margin: 0 0 .8rem; line-height: 1.7; }
.site-footer ul { list-style: none; display: grid; gap: .5rem; }
.site-footer a { color: #d4d1f0; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.foot-phone li:first-child a { font-size: 1.35rem; font-weight: 700; color: #fff; letter-spacing: .3px; }
.site-footer .btn-white { color: var(--brand-deep); }
.site-footer .btn-white:hover { color: var(--accent-deep); text-decoration: none; }
.site-footer .btn-line-light { color: #fff; }
.site-footer .btn-line-light:hover { color: var(--brand-deep); text-decoration: none; }
.foot-bottom { border-top: 1px solid rgba(255, 255, 255, .16); background: rgba(0, 0, 0, .18); }
.foot-bottom-in { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .6rem 1.5rem; padding-block: 1.1rem; }
.foot-bottom p { margin: 0; font-size: .92rem; color: #d4d1f0; }
.foot-note { flex: 1 1 320px; color: #b3afe0 !important; }
.to-top { color: #fff !important; font-weight: 600; padding: .35rem .9rem; border: 1px solid rgba(255, 255, 255, .4); border-radius: 999px; font-size: .92rem; }
.to-top:hover { background: #fff; color: var(--brand-deep) !important; text-decoration: none !important; }

/* ---------- Gated case library ---------- */
.gate { position: fixed; inset: 0; z-index: 250; background: var(--brand-deep); color: #fff; display: grid; place-items: center; padding: 24px; }
.gate-box { max-width: 540px; }
.gate-box h1 { color: #fff; font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.3rem); }
.gate-box p { color: #d4d1f0; }
.gate-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.gate .eyebrow { color: var(--sun); font-weight: 600; margin: 0 0 .5rem; }
.cases { display: grid; gap: 2.4rem 1.6rem; list-style: none; padding: 0; margin: 0 0 2.6rem; }
.cases:last-child { margin-bottom: 0; }
.cases--n1 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cases--n2 { grid-template-columns: minmax(0, 1fr); gap: 3rem; }
.cases--n3 { grid-template-columns: minmax(0, 1fr); }
.case { margin: 0; }
.case h3 { font-size: 1.1rem; line-height: 1.4; margin: 0 0 .7rem; color: var(--brand); }
.case-photos { display: grid; grid-template-columns: repeat(var(--n, 1), minmax(0, 1fr)); gap: 14px; }
.cases--n2 .case-photos { gap: 22px; }
.case-shot { min-width: 0; }
/* one fixed frame per photo so rows line up; clear photos are letterboxed on the dark panel (X-ray, tall shots) */
.case-media { position: relative; display: block; width: 100%; border: 0; padding: 0; background: var(--brand-deep); border-radius: var(--r-md); overflow: hidden; aspect-ratio: 4 / 3; }
.case-media img { width: 100%; height: 100%; object-fit: cover; }
.case-shot:not(.is-blur) .case-media img { object-fit: contain; }
.case-shot.is-blur .case-media img { filter: blur(26px) saturate(.6); transform: scale(1.15); transition: filter .25s, transform .25s; }
.case-shot.is-blur.is-open .case-media img { filter: none; transform: none; }
.case-cover { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; color: #fff; padding: 16px; font-weight: 600; font-size: .95rem; line-height: 1.5; background: rgba(20, 16, 70, .5); }
.case-shot.is-open .case-cover { display: none; }
.case-label { display: block; margin-top: 6px; font-size: .85rem; font-weight: 600; color: var(--brand); text-align: center; }
.case-cap { margin: .8rem 0 0; color: var(--muted); font-size: .98rem; line-height: 1.65; }
.notice { border: 1px solid var(--line); background: #fff; padding: 1.1rem 1.4rem; border-inline-start: 5px solid var(--brand); border-radius: var(--r-sm); margin-bottom: 2rem; font-size: .96rem; }
.notice p:last-child { margin: 0; }

.aside-sub { margin-top: 1.4rem; }
.section--tight { padding-block: 2.2rem; }

/* ---------- Not found ---------- */
.nf-actions { margin-top: 1.4rem; display: flex; gap: .8rem; flex-wrap: wrap; }

/* ---------- Desktop layer (after drsamiulhasan.com): centred teal titles, teal icon circles ---------- */
@media (min-width: 861px) {
  .sec-title--c { text-align: center; color: var(--accent); font-weight: 500; }
  html[lang="en"] .sec-title--c { text-transform: uppercase; letter-spacing: .02em; }
  .sec-title--c::after { display: none; }
  .sec-title--c + .sec-sub { margin-inline: auto; text-align: center; }
  .faq-wrap .qa { margin-inline: auto; }
  .more-link, .chamber-note { text-align: center; margin-inline: auto; }
  .social { justify-content: center; }
}
@media (min-width: 761px) {
  .svc-grid { grid-template-columns: repeat(4, 1fr); gap: 2.4rem 1.6rem; }
  .svc { background: none; border: 0; border-radius: 0; padding: 0; text-align: center; box-shadow: none; }
  .svc:hover { transform: none; box-shadow: none; }
  .svc svg { width: 132px; height: 132px; padding: 34px; margin: 0 auto 1rem; background: var(--accent); border-radius: 50%; color: #fff; transition: background .2s, transform .2s; }
  .svc:hover svg { background: var(--brand); transform: translateY(-4px); }
  .svc h3 { font-size: 1.2rem; color: var(--brand); }
  .svc p { color: var(--muted); font-size: .96rem; }
  .svc--all svg { background: var(--brand); color: var(--sun); }
  .svc--all h3 { color: var(--brand); }
  .svc--all p { color: var(--muted); }
  .svc--all:hover svg { background: var(--accent); }
}

/* hidden on desktop; mobile.css turns these on */
.m-actions, .tabbar, .sheet { display: none; }

/* intro block after the hero */
.section--intro { padding-bottom: 1rem; }
.intro-body { max-width: 46em; margin: 0 auto; text-align: center; font-size: 1.2rem; line-height: 1.8; color: var(--ink); }

/* serial form: age selects and date/chamber pairs stay side by side on phones too */
.form-row--keep { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-hint { margin: -.2rem 0 0; font-size: .92rem; font-weight: 400; color: var(--muted); }
.form-hint[hidden] { display: none; }

/* ---------- Photos on condition pages ---------- */
.cond-photos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem; margin: 0 0 1.8rem; }
.cond-photo--lead { grid-column: 1 / -1; }
.cond-photo--lead img { max-height: 460px; width: 100%; object-fit: contain; background: var(--brand-soft); }
.photo-credit { display: block; margin-top: .15rem; font-size: .78rem; color: var(--muted); }
.photo-credit a { color: inherit; }
.cond-photo { margin: 0; }
.cond-photo img { display: block; width: 100%; height: auto; border-radius: var(--r-md); }
.cond-photo figcaption { margin-top: .5rem; font-size: .92rem; color: var(--muted); line-height: 1.6; }
.cond-photo .case-media { aspect-ratio: auto; min-height: 220px; }
.cond-photo .case-media img { height: auto; min-height: 220px; border-radius: 0; filter: blur(26px) saturate(.6); transform: scale(1.15); transition: filter .25s, transform .25s; }
.cond-photo.is-open .case-media img { filter: none; transform: none; }
.cond-photo.is-open .case-cover { display: none; }
.photo-consent { font-size: .85rem; color: var(--muted); line-height: 1.7; margin-top: 1.2rem; }
@media (max-width: 760px) { .cond-photos { grid-template-columns: 1fr; } }
