/* =========================================================
   Dr. Nowroj Ahmed Rayhan — Stylesheet
   Design system: soft medical blue + mint accent, calm motion,
   "breath wave" signature motif (slow sine wave, not a sharp EKG).
   ========================================================= */

:root {
  /* Color tokens */
  --c-primary: #2E6F95;
  --c-primary-dark: #1B4C6B;
  --c-accent: #4FBFA8;
  --c-accent-soft: #E4F5F1;
  --c-bg: #F7FAFB;
  --c-surface: #FFFFFF;
  --c-text: #1F2A33;
  --c-text-soft: #5B6B75;
  --c-border: #E1EAEE;
  --c-success: #3FA66C;

  /* Type */
  --f-bn: 'Hind Siliguri', 'Noto Sans Bengali', sans-serif;
  --f-heading-en: 'Poppins', sans-serif;
  --f-body-en: 'Inter', sans-serif;

  /* Rhythm */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 10px rgba(27, 76, 107, 0.06);
  --shadow-md: 0 8px 30px rgba(27, 76, 107, 0.10);
  --shadow-lg: 0 16px 50px rgba(27, 76, 107, 0.14);
  --container: 1200px;
  --header-h: 76px;
}

/* ---------- Reset ---------- */
* , *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-text);
  font-family: var(--f-body-en);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
html.lang-bn body { font-family: var(--f-bn); }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; font-size: 1rem; }
h1, h2, h3, h4 {
  font-family: var(--f-heading-en);
  font-weight: 600;
  line-height: 1.25;
  margin: 0 0 .5em;
  letter-spacing: -0.01em;
}
html.lang-bn h1, html.lang-bn h2, html.lang-bn h3, html.lang-bn h4 {
  font-family: var(--f-bn);
  font-weight: 700;
  letter-spacing: 0;
}
p { margin: 0 0 1em; color: var(--c-text-soft); }

/* Language visibility — default Bangla */
[data-en], [data-bn] { }
html.lang-bn [data-en-only] { display: none !important; }
html.lang-en [data-bn-only] { display: none !important; }

:focus-visible {
  outline: 3px solid var(--c-accent);
  outline-offset: 2px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--f-heading-en);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: 12px;
}
html.lang-bn .eyebrow { font-family: var(--f-bn); text-transform: none; letter-spacing: 0.02em; }
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--c-accent);
  display: inline-block;
  border-radius: 2px;
}

.section { padding: 88px 0; }
.section--tight { padding: 56px 0; }
.section--surface { background: var(--c-surface); }
.section-head { max-width: 640px; margin: 0 0 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); color: var(--c-primary-dark); }
.section-head p { font-size: 1.05rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 100px;
  font-family: var(--f-heading-en);
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease, color 180ms ease;
  white-space: nowrap;
}
html.lang-bn .btn { font-family: var(--f-bn); }
.btn-primary {
  background: var(--c-accent);
  color: #073B33;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { transform: translateY(-2px) scale(1.02); box-shadow: var(--shadow-md); background: #45ad98; }
.btn-outline {
  background: transparent;
  color: var(--c-primary-dark);
  border: 1.5px solid var(--c-border);
}
.btn-outline:hover { border-color: var(--c-primary); color: var(--c-primary); transform: translateY(-2px); background: var(--c-surface); }
.btn-ghost-light {
  background: rgba(255,255,255,0.14);
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.5);
}
.btn-ghost-light:hover { background: #fff; color: var(--c-primary-dark); transform: translateY(-2px); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: not-allowed; transform: none !important; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(247, 250, 251, 0.82);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border-bottom: 1px solid var(--c-border);
  transition: box-shadow 200ms ease, background-color 200ms ease;
}
.site-header.scrolled { box-shadow: 0 4px 24px rgba(27,76,107,0.08); background: rgba(247, 250, 251, 0.96); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; }

.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 42px; height: 42px; border-radius: 12px;
  background: linear-gradient(145deg, var(--c-primary), var(--c-primary-dark));
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(27,76,107,0.25);
}
.brand-mark svg { width: 24px; height: 24px; }
.brand-text { line-height: 1.15; }
.brand-name { font-family: var(--f-heading-en); font-weight: 700; font-size: 1.02rem; color: var(--c-primary-dark); }
html.lang-bn .brand-name { font-family: var(--f-bn); font-size: 1.08rem; }
.brand-sub { font-size: 0.72rem; color: var(--c-text-soft); font-weight: 500; letter-spacing: .02em; }

.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  position: relative;
  padding: 10px 16px;
  border-radius: 100px;
  font-family: var(--f-heading-en);
  font-weight: 500;
  font-size: 0.94rem;
  color: var(--c-text);
  transition: color 180ms ease, background-color 180ms ease;
}
html.lang-bn .main-nav a { font-family: var(--f-bn); }
.main-nav a:hover { color: var(--c-primary-dark); background: rgba(46,111,149,0.08); }
.main-nav a.active { color: var(--c-primary-dark); background: var(--c-accent-soft); }

.header-actions { display: flex; align-items: center; gap: 10px; }

.lang-switch {
  display: inline-flex;
  background: var(--c-surface);
  border: 1.5px solid var(--c-border);
  border-radius: 100px;
  padding: 3px;
  position: relative;
}
.lang-switch button {
  border: none; background: transparent; padding: 6px 14px;
  font-family: var(--f-heading-en); font-weight: 600; font-size: 0.82rem;
  border-radius: 100px; color: var(--c-text-soft);
  position: relative; z-index: 1;
  transition: color 180ms ease;
}
.lang-switch button.is-active { color: #fff; }
.lang-switch-thumb {
  position: absolute; top: 3px; left: 3px; bottom: 3px;
  width: calc(50% - 3px);
  background: var(--c-primary);
  border-radius: 100px;
  transition: transform 220ms cubic-bezier(.4,0,.2,1);
}
html.lang-en .lang-switch-thumb { transform: translateX(100%); }

.hamburger {
  display: none;
  width: 42px; height: 42px;
  border: 1.5px solid var(--c-border);
  border-radius: 10px;
  background: var(--c-surface);
  align-items: center; justify-content: center;
  flex-shrink: 0;
}
.hamburger span { position: relative; width: 18px; height: 2px; background: var(--c-primary-dark); display: block; }
.hamburger span::before, .hamburger span::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: var(--c-primary-dark); transition: transform 200ms ease; }
.hamburger span::before { top: -6px; }
.hamburger span::after { top: 6px; }
.hamburger.is-open span { background: transparent; }
.hamburger.is-open span::before { transform: translateY(6px) rotate(45deg); }
.hamburger.is-open span::after { transform: translateY(-6px) rotate(-45deg); }

.mobile-drawer {
  position: fixed; inset: var(--header-h) 0 0 0;
  background: var(--c-surface);
  z-index: 99;
  padding: 28px 24px;
  transform: translateY(-12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease, transform 220ms ease;
  overflow-y: auto;
}
.mobile-drawer.is-open { opacity: 1; transform: translateY(0); pointer-events: auto; }
.mobile-drawer a {
  display: block; padding: 16px 4px; font-size: 1.15rem; font-weight: 600;
  font-family: var(--f-heading-en); color: var(--c-text);
  border-bottom: 1px solid var(--c-border);
}
html.lang-bn .mobile-drawer a { font-family: var(--f-bn); }
.mobile-drawer .btn { margin-top: 20px; }
.mobile-lang-row { display: none; margin-top: 24px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 64px 0 40px;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 40px;
}
.hero-copy h1 {
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  color: var(--c-primary-dark);
  margin-bottom: 14px;
}
.hero-role {
  font-size: 1.08rem;
  color: var(--c-primary);
  font-weight: 600;
  font-family: var(--f-heading-en);
  margin-bottom: 16px;
}
html.lang-bn .hero-role { font-family: var(--f-bn); }
.hero-sub { font-size: 1.08rem; max-width: 52ch; margin-bottom: 30px; }
.hero-ctas { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.hero-call {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 600; color: var(--c-text);
  font-family: var(--f-heading-en); font-size: .92rem;
}
html.lang-bn .hero-call { font-family: var(--f-bn); }
.hero-call svg { width: 18px; height: 18px; color: var(--c-accent); }

.hero-media { position: relative; display: flex; justify-content: center; }
.hero-photo-frame {
  position: relative;
  width: min(400px, 86%);
  border-radius: 32px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 5;
  isolation: isolate;
}
.hero-photo-frame img { width: 100%; height: 100%; object-fit: cover; object-position: center 14%; }
.hero-photo-frame::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(190deg, rgba(27,76,107,0) 55%, rgba(15,45,64,0.55) 100%);
}
.hero-badge {
  position: absolute;
  bottom: 20px; left: 20px; right: 20px;
  z-index: 2;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(6px);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  display: flex; align-items: center; gap: 12px;
  box-shadow: var(--shadow-md);
}
.hero-badge .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--c-success); flex-shrink: 0; box-shadow: 0 0 0 4px rgba(63,166,108,0.18); }
.hero-badge strong { display: block; font-size: .86rem; color: var(--c-primary-dark); font-family: var(--f-heading-en); }
html.lang-bn .hero-badge strong { font-family: var(--f-bn); }
.hero-badge span { font-size: .78rem; color: var(--c-text-soft); }

.hero-orbit {
  position: absolute;
  width: min(480px, 100%);
  aspect-ratio: 1;
  border: 1.5px dashed rgba(46,111,149,0.22);
  border-radius: 50%;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  z-index: -1;
  animation: spin-slow 60s linear infinite;
}
@keyframes spin-slow { to { transform: translate(-50%,-50%) rotate(360deg); } }

.breath-wave-wrap { width: 100%; overflow: hidden; line-height: 0; position: relative; }
.breath-wave-wrap svg { width: 200%; height: auto; display: block; animation: wave-drift 16s linear infinite; }
@keyframes wave-drift { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Credentials strip ---------- */
.cred-strip { background: var(--c-primary-dark); overflow: hidden; padding: 22px 0; position: relative; }
.cred-track {
  display: flex; gap: 48px; width: max-content;
  animation: ticker 32s linear infinite;
}
.cred-strip:hover .cred-track { animation-play-state: paused; }
.cred-item {
  display: flex; align-items: center; gap: 10px;
  color: #fff; font-family: var(--f-heading-en); font-weight: 500; font-size: 0.92rem;
  white-space: nowrap; opacity: 0.92;
}
html.lang-bn .cred-item { font-family: var(--f-bn); }
.cred-item svg { width: 16px; height: 16px; color: var(--c-accent); flex-shrink: 0; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Specialties grid ---------- */
.spec-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.spec-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  padding: 26px 22px;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}
.spec-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.spec-icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--c-accent-soft);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  transition: background-color 220ms ease, transform 220ms ease;
}
.spec-card:hover .spec-icon { background: var(--c-accent); transform: scale(1.06) rotate(-4deg); }
.spec-icon svg { width: 26px; height: 26px; color: var(--c-primary-dark); }
.spec-card:hover .spec-icon svg { color: #fff; }
.spec-card h3 { font-size: 1rem; color: var(--c-text); margin-bottom: 4px; }
.spec-card p { font-size: .86rem; margin: 0; }

/* ---------- Chambers ---------- */
.chamber-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.chamber-card {
  background: var(--c-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--c-border);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 220ms ease, transform 220ms ease;
}
.chamber-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.chamber-top {
  padding: 26px 26px 20px;
  background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-primary-dark) 100%);
  color: #fff;
  position: relative;
}
.chamber-top::after {
  content: "";
  position: absolute; right: -20px; top: -20px;
  width: 100px; height: 100px; border-radius: 50%;
  background: rgba(255,255,255,0.08);
}
.chamber-tag { font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; opacity: .85; font-family: var(--f-heading-en); }
html.lang-bn .chamber-tag { font-family: var(--f-bn); text-transform: none; }
.chamber-top h3 { color: #fff; margin: 6px 0 2px; font-size: 1.2rem; }
.chamber-body { padding: 22px 26px 26px; }
.chamber-row { display: flex; gap: 12px; margin-bottom: 14px; font-size: .92rem; color: var(--c-text-soft); }
.chamber-row svg { width: 18px; height: 18px; color: var(--c-accent); flex-shrink: 0; margin-top: 2px; }
.chamber-row a { color: var(--c-text); font-weight: 600; }
.chamber-row a:hover { color: var(--c-primary); }
.chamber-body .btn { margin-top: 8px; }

/* ---------- CTA banner ---------- */
.cta-banner {
  position: relative;
  background: linear-gradient(120deg, var(--c-primary-dark), var(--c-primary) 60%, #2a8a83);
  border-radius: var(--radius-lg);
  padding: 56px 40px;
  margin: 0 24px;
  max-width: calc(var(--container) - 48px);
  margin-inline: auto;
  text-align: center;
  overflow: hidden;
  color: #fff;
}
.cta-banner h2 { color: #fff; font-size: clamp(1.4rem, 3vw, 2rem); max-width: 640px; margin: 0 auto 26px; }
.cta-banner .breath-wave-wrap { position: absolute; bottom: -10px; left: 0; opacity: .25; }

/* ---------- Footer ---------- */
.site-footer { background: var(--c-primary-dark); color: rgba(255,255,255,0.82); padding: 72px 0 0; margin-top: 96px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 0.8fr 1fr 1fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.12); }
.footer-brand { display: flex; gap: 12px; margin-bottom: 14px; }
.footer-brand .brand-name { color: #fff; }
.footer-brand .brand-sub { color: rgba(255,255,255,0.6); }
.footer-col h4 { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; font-family: var(--f-heading-en); margin-bottom: 18px; opacity: .8; }
html.lang-bn .footer-col h4 { font-family: var(--f-bn); text-transform: none; }
.footer-col p, .footer-tagline { font-size: .9rem; color: rgba(255,255,255,0.68); }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul a { font-size: .92rem; color: rgba(255,255,255,0.82); transition: color 160ms ease, padding-left 160ms ease; }
.footer-col ul a:hover { color: var(--c-accent); padding-left: 4px; }
.footer-address { font-style: normal; font-size: .88rem; color: rgba(255,255,255,0.7); margin-bottom: 12px; line-height: 1.6; }
.footer-meta-row { display: flex; gap: 8px; font-size: .86rem; color: rgba(255,255,255,0.85); margin-bottom: 8px; align-items: flex-start; }
.footer-meta-row svg { width: 15px; height: 15px; color: var(--c-accent); flex-shrink: 0; margin-top: 3px; }
.footer-meta-row a:hover { color: var(--c-accent); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding: 22px 0; font-size: .82rem; color: rgba(255,255,255,0.55); flex-wrap: wrap; gap: 8px; }

/* ---------- Cards / generic ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--c-accent-soft); color: var(--c-primary-dark);
  font-size: .74rem; font-weight: 700; padding: 5px 12px; border-radius: 100px;
  font-family: var(--f-heading-en);
}
html.lang-bn .badge { font-family: var(--f-bn); font-weight: 600; }

/* ---------- About page ---------- */
.about-hero { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 48px; align-items: center; }
.about-photo-frame { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 3/4; }
.about-photo-frame img { width: 100%; height: 100%; object-fit: cover; object-position: center 12%; }

.timeline { position: relative; margin-top: 8px; }
.timeline::before { content: ""; position: absolute; left: 15px; top: 6px; bottom: 6px; width: 2px; background: var(--c-border); }
.timeline-item { position: relative; padding: 0 0 32px 46px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot {
  position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 50%;
  background: var(--c-surface); border: 2px solid var(--c-accent);
  display: flex; align-items: center; justify-content: center;
}
.timeline-dot svg { width: 15px; height: 15px; color: var(--c-primary-dark); }
.timeline-item.is-current .timeline-dot { background: var(--c-accent); }
.timeline-item.is-current .timeline-dot svg { color: #fff; }
.timeline-item h4 { margin-bottom: 2px; font-size: 1.02rem; color: var(--c-text); }
.timeline-item p { margin: 0; font-size: .9rem; }

.condition-groups { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.condition-card { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--radius-md); padding: 26px; }
.condition-card h3 { display: flex; align-items: center; gap: 10px; font-size: 1.05rem; color: var(--c-primary-dark); margin-bottom: 16px; }
.condition-card h3 svg { width: 22px; height: 22px; color: var(--c-accent); }
.condition-card ul li {
  font-size: .9rem; color: var(--c-text-soft); padding: 8px 0 8px 20px; position: relative;
  border-bottom: 1px dashed var(--c-border);
}
.condition-card ul li:last-child { border-bottom: none; }
.condition-card ul li::before { content: ""; position: absolute; left: 0; top: 15px; width: 7px; height: 7px; border-radius: 50%; background: var(--c-accent); }

/* ---------- Contact page ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 56px; }
.contact-form-wrap { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow-sm); }
.urgent-note {
  display: flex; align-items: center; gap: 14px; justify-content: center; flex-wrap: wrap;
  background: var(--c-accent-soft); border-radius: var(--radius-md);
  padding: 20px 26px; text-align: center; font-weight: 600; color: var(--c-primary-dark);
  font-family: var(--f-heading-en);
}
html.lang-bn .urgent-note { font-family: var(--f-bn); }
.urgent-note a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Forms ---------- */
.form-row { margin-bottom: 20px; }
.form-row label {
  display: block; font-size: .86rem; font-weight: 600; margin-bottom: 8px;
  color: var(--c-text); font-family: var(--f-heading-en);
}
html.lang-bn .form-row label { font-family: var(--f-bn); }
.form-row input, .form-row select, .form-row textarea {
  width: 100%; padding: 13px 16px; border: 1.5px solid var(--c-border); border-radius: var(--radius-sm);
  background: var(--c-bg); color: var(--c-text); transition: border-color 160ms ease, box-shadow 160ms ease;
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  outline: none; border-color: var(--c-primary); box-shadow: 0 0 0 4px rgba(46,111,149,0.12);
}
.form-row textarea { resize: vertical; min-height: 110px; }
.form-two { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-hint { font-size: .82rem; color: var(--c-accent); margin-top: 8px; font-weight: 600; min-height: 1.2em; }
.field-error { font-size: .78rem; color: #C0392B; margin-top: 6px; display: none; }
.form-row.has-error input, .form-row.has-error select { border-color: #C0392B; }
.form-row.has-error .field-error { display: block; }

.form-success {
  display: none; text-align: center; padding: 50px 20px;
}
.form-success.is-visible { display: block; }
.form-success svg { width: 72px; height: 72px; margin: 0 auto 20px; }
.form-success h3 { color: var(--c-primary-dark); font-size: 1.3rem; }
.check-circle { stroke: var(--c-success); }
.check-mark {
  stroke: var(--c-success); stroke-width: 4; fill: none;
  stroke-dasharray: 48; stroke-dashoffset: 48;
  animation: draw-check 500ms ease forwards 300ms;
}
@keyframes draw-check { to { stroke-dashoffset: 0; } }
.check-circle-anim {
  stroke-dasharray: 166; stroke-dashoffset: 166; stroke-width: 3; fill: rgba(63,166,108,0.08);
  animation: draw-circle 500ms ease forwards;
}
@keyframes draw-circle { to { stroke-dashoffset: 0; } }

.disclaimer-note { font-size: .82rem; color: var(--c-text-soft); text-align: center; margin-top: 18px; }

/* ---------- Appointment page ---------- */
.appointment-wrap { display: grid; grid-template-columns: 1fr 1.3fr; gap: 40px; align-items: start; }
.appointment-side { position: sticky; top: calc(var(--header-h) + 24px); }
.side-card { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--radius-lg); padding: 28px; margin-bottom: 20px; }
.side-card h4 { color: var(--c-primary-dark); font-size: .95rem; margin-bottom: 14px; }
.side-step { display: flex; gap: 12px; margin-bottom: 16px; }
.side-step-num {
  width: 26px; height: 26px; border-radius: 50%; background: var(--c-accent-soft); color: var(--c-primary-dark);
  display: flex; align-items: center; justify-content: center; font-size: .78rem; font-weight: 700; flex-shrink: 0;
  font-family: var(--f-heading-en);
}
.side-step p { margin: 0; font-size: .88rem; }

/* ---------- Blog ---------- */
.filter-bar { display: flex; gap: 10px; margin-bottom: 40px; flex-wrap: wrap; }
.filter-btn {
  padding: 10px 20px; border-radius: 100px; border: 1.5px solid var(--c-border); background: var(--c-surface);
  font-family: var(--f-heading-en); font-weight: 600; font-size: .88rem; color: var(--c-text-soft);
  transition: all 180ms ease;
}
html.lang-bn .filter-btn { font-family: var(--f-bn); }
.filter-btn.is-active { background: var(--c-primary-dark); border-color: var(--c-primary-dark); color: #fff; }
.filter-btn:hover:not(.is-active) { border-color: var(--c-primary); color: var(--c-primary); }

.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.blog-card {
  background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--radius-md);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform 220ms ease, box-shadow 220ms ease;
}
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.blog-thumb { position: relative; aspect-ratio: 16/10; background: linear-gradient(135deg, var(--c-accent-soft), #dcecf3); display: flex; align-items: center; justify-content: center; }
.blog-thumb svg { width: 40px; height: 40px; color: var(--c-primary); opacity: .55; }
.blog-type-badge {
  position: absolute; top: 12px; left: 12px; background: rgba(255,255,255,0.94);
  padding: 5px 12px; border-radius: 100px; font-size: .72rem; font-weight: 700;
  font-family: var(--f-heading-en); color: var(--c-primary-dark); display: flex; align-items: center; gap: 5px;
}
html.lang-bn .blog-type-badge { font-family: var(--f-bn); }
.blog-body { padding: 20px 22px 24px; flex: 1; display: flex; flex-direction: column; }
.blog-date { font-size: .78rem; color: var(--c-text-soft); margin-bottom: 8px; }
.blog-body h3 { font-size: 1.05rem; margin-bottom: 10px; color: var(--c-text); }
.blog-excerpt { font-size: .88rem; flex: 1; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.blog-full { font-size: .88rem; display: none; margin: 8px 0 0; }
.blog-card.is-expanded .blog-full { display: block; }
.blog-card.is-expanded .blog-excerpt { display: none; }
.blog-action { margin-top: 14px; font-family: var(--f-heading-en); font-weight: 700; font-size: .86rem; color: var(--c-primary); display: inline-flex; align-items: center; gap: 6px; }
html.lang-bn .blog-action { font-family: var(--f-bn); }
.blog-action svg { width: 14px; height: 14px; transition: transform 180ms ease; }
.blog-card:hover .blog-action svg { transform: translateX(3px); }
.blog-video-embed { margin-top: 14px; border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 16/9; display: none; }
.blog-card.is-playing .blog-video-embed { display: block; }
.blog-card.is-playing .blog-thumb { display: none; }
.blog-video-embed iframe { width: 100%; height: 100%; border: 0; }
.source-tag { font-size: .72rem; color: var(--c-text-soft); margin-top: 8px; display: inline-block; }

.empty-state { text-align: center; padding: 80px 20px; display: none; }
.empty-state.is-visible { display: block; }
.empty-state svg { width: 56px; height: 56px; color: var(--c-border); margin: 0 auto 18px; }
.empty-state p { font-size: 1rem; }

/* ---------- Page hero (interior pages) ---------- */
.page-hero { padding: 56px 0 40px; text-align: center; }
.page-hero h1 { color: var(--c-primary-dark); font-size: clamp(1.8rem, 4vw, 2.6rem); }
.page-hero p { max-width: 560px; margin: 0 auto; font-size: 1.05rem; }

/* ---------- AOS-lite fallback (works even w/o AOS.js) ---------- */
[data-aos] { opacity: 1; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { order: -1; margin-bottom: 12px; }
  .hero-photo-frame { width: min(340px, 70%); }
  .spec-grid { grid-template-columns: repeat(2, 1fr); }
  .condition-groups { grid-template-columns: 1fr; }
  .about-hero { grid-template-columns: 1fr; }
  .about-photo-frame { max-width: 360px; margin: 0 auto; }
  .appointment-wrap { grid-template-columns: 1fr; }
  .appointment-side { position: static; }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .main-nav { display: none; }
  .hamburger { display: flex; }
  .section { padding: 64px 0; }
  .chamber-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-two { grid-template-columns: 1fr; }
  .cta-banner { padding: 40px 24px; margin: 0 16px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 480px) {
  .container { padding: 0 18px; }
  .spec-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .spec-card { padding: 20px 16px; }
  .blog-grid { grid-template-columns: 1fr; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { width: 100%; }
  .brand-sub { display: none; }
}

@media (max-width: 400px) {
  .header-actions .lang-switch { display: none; }
  .mobile-lang-row { display: block; }
}
