/* ==========================================================================
   Dr. Mahmud Hasan — Knee, Shoulder & Hip Clinic
   Simple · Elegant · Crystal glass
   Typography: Open Sans throughout (as on thejoint.com.au) — UPPERCASE headings,
               regular weight with a bold lead phrase; Hind Siliguri for Bangla
   ========================================================================== */

:root {
  --navy: #0f2a44;
  --navy-2: #1c3d5e;
  --teal: #13867f;
  --teal-2: #1aa39a;
  --sky: #d9ecf2;
  --ink: #16283a;
  --muted: #5a6b7b;
  --line: rgba(15, 42, 68, .10);
  --bg: #f4f8fa;

  /* Glass */
  --glass: rgba(255, 255, 255, .52);
  --glass-strong: rgba(255, 255, 255, .64);
  --glass-edge: rgba(255, 255, 255, .78);
  --glass-shadow: 0 1px 0 rgba(255,255,255,.9) inset, 0 -1px 0 rgba(255,255,255,.25) inset, 0 10px 40px -12px rgba(15, 42, 68, .18);
  --blur: saturate(170%) blur(18px);
  --blur-strong: saturate(190%) blur(28px);

  --r: 22px;
  --r-sm: 14px;
  --wrap: 1200px;

  --f-display: "Open Sans", "Hind Siliguri", system-ui, sans-serif;
  --f-body: "Open Sans", "Hind Siliguri", system-ui, sans-serif;
  --f-bn: "Hind Siliguri", "Mulish", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.6;
  color: #333;
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video, iframe { max-width: 100%; display: block; }
a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--navy); }
.bn { font-family: var(--f-bn); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: #fff; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }

/* Soft colour field behind everything so the glass has something to refract */
.bg-aura { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.bg-aura span { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55; }
.bg-aura span:nth-child(1) { width: 620px; height: 620px; background: #bfe3e6; top: -180px; right: -120px; }
.bg-aura span:nth-child(2) { width: 520px; height: 520px; background: #d7e3f5; top: 40%; left: -200px; }
.bg-aura span:nth-child(3) { width: 460px; height: 460px; background: #e8efe6; bottom: -160px; right: 10%; }

/* ---------- Typography (The Joint style: bold lead + light remainder) ---------- */
h1, h2, h3, h4 { font-family: var(--f-display); color: #333; margin: 0 0 .5em; line-height: 1.2; letter-spacing: .01em; }
h1, h2 { font-weight: 400; text-transform: uppercase; }
h1 strong, h2 strong, h3 strong { font-weight: 700; color: var(--navy); }
.display { font-size: clamp(2rem, 4.2vw, 3.3rem); line-height: 1.14; letter-spacing: .005em; }
.display strong { display: block; color: var(--navy); }
.display--page { font-size: clamp(1.75rem, 3.4vw, 2.6rem); }
.display--page strong { display: inline; }
h2 { font-size: clamp(1.55rem, 2.6vw, 2.1rem); }
h3, .h3 { font-size: 1.12rem; font-weight: 600; text-transform: uppercase; letter-spacing: .02em; }
.h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); font-weight: 400; }
.caps { text-transform: uppercase; letter-spacing: .02em; }
.eyebrow { font-family: var(--f-display); font-size: .78rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--teal); margin: 0 0 1rem; }
.lead { font-size: 1.08rem; color: #555; max-width: 60ch; }
p { margin: 0 0 1em; }

.prose { color: #333; }
.prose h2 { font-size: 1.35rem; margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.05rem; margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li { margin-bottom: .35em; }
.prose li::marker { color: var(--teal); }
.prose strong { color: var(--navy); }
.prose--lg { font-size: 1.06rem; }
.prose--narrow { max-width: 780px; margin: 0 auto 2.5rem; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Glass primitives ---------- */
.glass {
  background: var(--glass);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
  border: 1px solid var(--glass-edge);
  border-radius: var(--r);
  box-shadow: var(--glass-shadow);
}
.glass-deep {
  background: linear-gradient(135deg, rgba(15, 42, 68, .92), rgba(19, 134, 127, .86));
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: calc(var(--r) + 6px);
  box-shadow: 0 1px 0 rgba(255,255,255,.25) inset, 0 30px 60px -25px rgba(15,42,68,.55);
  color: #fff;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font-family: var(--f-display); font-weight: 600; font-size: .82rem; letter-spacing: .09em; text-transform: uppercase;
  padding: 1.05em 1.7em; border-radius: 999px; border: 1px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s;
  cursor: pointer; white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn--sm { font-size: .74rem; padding: .75em 1.2em; }
.btn--block { width: 100%; }
.btn--solid { background: var(--navy); color: #fff; box-shadow: 0 10px 24px -10px rgba(15,42,68,.6); }
.btn--solid:hover { background: var(--teal); color: #fff; }
.btn--glass { background: rgba(255,255,255,.55); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); border-color: var(--glass-edge); color: var(--navy); box-shadow: 0 1px 0 #fff inset, 0 6px 18px -10px rgba(15,42,68,.3); }
.btn--glass:hover { background: rgba(255,255,255,.85); color: var(--navy); }
.btn--light { background: #fff; color: var(--navy); }
.btn--light:hover { color: var(--teal); }
.btn--outline-light { border-color: rgba(255,255,255,.55); color: #fff; background: rgba(255,255,255,.08); }
.btn--outline-light:hover { background: rgba(255,255,255,.18); color: #fff; }
.btns { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem; }
.more, .link { display: inline-flex; align-items: center; gap: .4em; font-family: var(--f-display); font-weight: 700; font-size: .78rem; letter-spacing: .09em; text-transform: uppercase; color: var(--teal); }
.more .ic, .link .ic { transition: transform .2s; }
a:hover > .more .ic, .more:hover .ic, .link:hover .ic { transform: translateX(4px); }

/* ---------- Top bar ---------- */
.topbar { font-size: .82rem; color: var(--muted); padding: .55rem 0; }
.topbar__in { display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
.topbar__name { margin: 0; }
.topbar__lines { display: flex; gap: 1.4rem; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.topbar__lines a { font-weight: 700; color: var(--navy); }

/* ---------- Navigation: extra glass ---------- */
.nav { position: sticky; top: 10px; z-index: 50; padding: 0 20px; }
.nav__glass {
  max-width: var(--wrap); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .55rem .6rem .55rem 1.1rem;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255,255,255,.72), rgba(255,255,255,.46));
  -webkit-backdrop-filter: var(--blur-strong);
  backdrop-filter: var(--blur-strong);
  border: 1px solid rgba(255,255,255,.9);
  box-shadow:
    0 1px 0 rgba(255,255,255,1) inset,
    0 -1px 0 rgba(15,42,68,.04) inset,
    0 0 0 1px rgba(15,42,68,.04),
    0 18px 50px -18px rgba(15,42,68,.28);
  transition: box-shadow .3s, background .3s;
  position: relative;
}
.nav__glass::before { /* specular highlight */
  content: ""; position: absolute; inset: 1px 30% auto 8%; height: 45%;
  border-radius: 999px; pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,.75), rgba(255,255,255,0));
  opacity: .6;
}
.nav.is-scrolled .nav__glass { background: linear-gradient(180deg, rgba(255,255,255,.82), rgba(255,255,255,.6)); box-shadow: 0 1px 0 #fff inset, 0 0 0 1px rgba(15,42,68,.05), 0 22px 60px -20px rgba(15,42,68,.35); }

.brand { display: flex; align-items: center; gap: .7rem; color: var(--navy); position: relative; }
.brand__mark { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: linear-gradient(140deg, var(--navy), var(--teal)); box-shadow: 0 6px 16px -6px rgba(19,134,127,.7); flex: none; }
.brand__txt { display: flex; flex-direction: column; line-height: 1.1; }
.brand__txt strong { font-family: var(--f-display); font-weight: 700; font-size: 1.02rem; text-transform: uppercase; letter-spacing: .03em; }
.brand__txt small { font-family: var(--f-display); font-weight: 400; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

.menu { display: flex; align-items: center; gap: 1rem; position: relative; }
.menu > ul { display: flex; list-style: none; margin: 0; padding: 0; gap: .15rem; }
.menu > ul > li > a { display: flex; align-items: center; gap: .35em; font-family: var(--f-display); font-weight: 600; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--navy); padding: .55rem .9rem; border-radius: 999px; transition: background .2s; }
.menu > ul > li > a:hover, .menu > ul > li.is-active > a { background: rgba(255,255,255,.75); box-shadow: 0 1px 0 #fff inset, 0 2px 8px -4px rgba(15,42,68,.2); }
.menu > ul > li.is-active > a { color: var(--teal); }
.chev { opacity: .6; transition: transform .2s; }

.has-drop { position: relative; }
.drop {
  position: absolute; top: calc(100% + 14px); left: 50%; transform: translate(-50%, 6px);
  display: grid; grid-auto-flow: column; gap: 1.6rem; padding: 1.4rem 1.6rem;
  min-width: 560px; border-radius: var(--r);
  background: linear-gradient(180deg, rgba(255,255,255,.9), rgba(255,255,255,.8));
  -webkit-backdrop-filter: var(--blur-strong); backdrop-filter: var(--blur-strong);
  border: 1px solid rgba(255,255,255,.9);
  box-shadow: 0 1px 0 #fff inset, 0 30px 60px -20px rgba(15,42,68,.35);
  opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s;
}
.drop::before { content: ""; position: absolute; inset: -16px 0 auto; height: 16px; }
.has-drop:hover .drop, .has-drop:focus-within .drop { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.has-drop:hover .chev { transform: rotate(180deg); }
.drop__h { font-family: var(--f-display); font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--teal); font-weight: 600; margin: 0 0 .5rem; }
.drop a { display: block; color: var(--navy); font-size: .93rem; padding: .3rem 0; white-space: nowrap; }
.drop a:hover { color: var(--teal); }

.nav__toggle { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.9); background: rgba(255,255,255,.6); color: var(--navy); cursor: pointer; place-items: center; }
.nav__toggle .i-close { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(3rem, 8vw, 6.5rem) 0 clamp(3rem, 7vw, 5.5rem); }
.hero--img { color: var(--ink); }
.hero__bg { position: absolute; inset: -90px 0 0; z-index: -1; overflow: hidden; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(244,248,250,.94) 0%, rgba(244,248,250,.78) 45%, rgba(244,248,250,.25) 100%); }
.hero__grid { display: grid; grid-template-columns: 1.25fr .85fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.chips { list-style: none; padding: 0; margin: 2rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.chips li { display: inline-flex; align-items: center; gap: .4em; font-size: .85rem; padding: .35em .85em; border-radius: 999px; background: rgba(255,255,255,.55); border: 1px solid var(--glass-edge); color: var(--navy); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); }
.chips .ic { color: var(--teal); }

.doc-card { padding: 1.8rem; background: var(--glass-strong); }
.doc-card__top { display: flex; gap: 1rem; align-items: center; padding-bottom: 1.1rem; border-bottom: 1px solid var(--line); margin-bottom: 1.1rem; }
.doc-card__photo, .doc-card__mono { width: 76px; height: 76px; border-radius: 50%; object-fit: cover; flex: none; border: 3px solid #fff; box-shadow: 0 8px 20px -8px rgba(15,42,68,.4); }
.doc-card__mono { display: grid; place-items: center; font-family: var(--f-display); font-size: 1.5rem; font-weight: 500; color: #fff; background: linear-gradient(140deg, var(--navy), var(--teal)); }
.doc-card__name { font-family: var(--f-display); font-size: 1.35rem; font-weight: 600; color: var(--navy); margin: 0; }
.doc-card__bn { margin: 0; color: var(--muted); }
.doc-card__list { list-style: none; margin: 0 0 1rem; padding: 0; font-size: .95rem; line-height: 1.6; color: #2a3b4c; }
.doc-card__list li { padding: .18rem 0 .18rem 1.1rem; position: relative; }
.doc-card__list li::before { content: ""; position: absolute; left: 0; top: .78em; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); }
.doc-card__bmdc { font-size: .82rem; color: var(--muted); margin: 0 0 1rem; }
.doc-card__hot { display: flex; justify-content: space-between; align-items: center; padding: .9rem 1.2rem; border-radius: var(--r-sm); background: var(--navy); color: #fff; }
.doc-card__hot strong { font-family: var(--f-display); font-size: 1.35rem; font-weight: 600; letter-spacing: .02em; }
.doc-card__hot:hover { background: var(--teal); color: #fff; }

/* ---------- Sections ---------- */
.section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section--top0 { padding-top: 0; }
.section--tint { background: linear-gradient(180deg, rgba(217,236,242,.35), rgba(217,236,242,.1)); }
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; margin-bottom: 3rem; }
.head-row { display: flex; justify-content: space-between; align-items: end; gap: 1.5rem; margin-bottom: 2.4rem; flex-wrap: wrap; }
.head-row h2 { margin: 0; }

.areas { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.2rem; }
.area { padding: 1.8rem; color: var(--ink); transition: transform .25s, box-shadow .25s, background .25s; display: flex; flex-direction: column; }
.area:hover { transform: translateY(-4px); background: rgba(255,255,255,.72); color: var(--ink); }
.area__ic, .card__ic { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; color: var(--teal); background: rgba(255,255,255,.8); box-shadow: 0 1px 0 #fff inset, 0 8px 20px -10px rgba(19,134,127,.45); margin-bottom: 1.2rem; }
.area p { color: var(--muted); font-size: .95rem; flex: 1; }

.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.3rem; }
.card { padding: 1.7rem; display: flex; flex-direction: column; transition: transform .25s, background .25s; }
.card:hover { transform: translateY(-4px); background: rgba(255,255,255,.72); }
.card h3 { margin-bottom: .3rem; font-size: 1.02rem; }
.card h3 a { color: var(--navy); }
.card h3 a:hover { color: var(--teal); }
.card__cat { font-family: var(--f-display); font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--teal); font-weight: 600; margin: 0 0 .4rem; }
.card__bn { color: var(--muted); font-size: .92rem; margin-bottom: .7rem; }
.card > p:not(.card__cat):not(.card__bn) { color: var(--muted); font-size: .96rem; flex: 1; }
.card__img { display: block; margin: -1.7rem -1.7rem 1.3rem; border-radius: var(--r) var(--r) 0 0; overflow: hidden; aspect-ratio: 16/10; }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .card__img img { transform: scale(1.04); }

.about-teaser { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.about-teaser__media { position: relative; }
.about-teaser__media img, .photo-ph { border-radius: calc(var(--r) + 8px); aspect-ratio: 4/5; object-fit: cover; width: 100%; }
.photo-ph { display: grid; place-content: center; justify-items: center; gap: .8rem; color: var(--teal); background: linear-gradient(160deg, rgba(255,255,255,.7), rgba(217,236,242,.8)); border: 1px solid var(--glass-edge); font-size: .85rem; }
.photo-ph span { color: var(--muted); }
.badge { position: absolute; right: -14px; bottom: 28px; display: flex; gap: .7rem; align-items: center; padding: .9rem 1.1rem; font-size: .9rem; max-width: 240px; color: var(--navy); background: rgba(255,255,255,.7); }
.badge .ic { color: var(--teal); flex: none; }
.ticks { list-style: none; padding: 0; margin: 1.2rem 0 1.8rem; }
.ticks li { display: flex; gap: .6rem; align-items: flex-start; padding: .35rem 0; }
.ticks .ic { color: var(--teal); margin-top: .35em; flex: none; }
.ticks--cols { columns: 2; column-gap: 2rem; }
.ticks--cols li { break-inside: avoid; }

.chambers { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 1.3rem; }
.chamber { padding: 1.8rem; display: flex; flex-direction: column; height: 100%; }
.chamber__city { display: flex; align-items: center; gap: .4rem; font-family: var(--f-display); text-transform: uppercase; letter-spacing: .18em; font-size: .75rem; font-weight: 600; color: var(--teal); margin-bottom: .6rem; }
.chamber h3 { margin-bottom: .15rem; }
.chamber__bn { color: var(--muted); margin-bottom: 1rem; }
.chamber__meta { list-style: none; padding: 0; margin: 0 0 1rem; }
.chamber__meta li { display: flex; gap: .6rem; padding: .3rem 0; color: #2a3b4c; }
.chamber__meta .ic { color: var(--teal); margin-top: .35em; flex: none; }
.chamber__note { font-size: .9rem; color: var(--muted); }
.chamber__foot { margin-top: auto; display: flex; gap: .6rem; flex-wrap: wrap; padding-top: .6rem; }
.chambers--page > div { display: flex; flex-direction: column; gap: 1rem; }

.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.faq { display: grid; gap: .8rem; }
.faq--page { max-width: 860px; }
.faq__item { padding: 0; border-radius: var(--r-sm); overflow: hidden; }
.faq__item summary { list-style: none; cursor: pointer; padding: 1.15rem 3.2rem 1.15rem 1.4rem; font-family: var(--f-display); font-weight: 600; font-size: 1rem; color: var(--navy); position: relative; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; position: absolute; right: 1.3rem; top: 50%; transform: translateY(-50%); font-size: 1.5rem; font-weight: 300; color: var(--teal); transition: transform .25s; }
.faq__item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq__item .prose { padding: 0 1.4rem 1.2rem; color: var(--muted); }
.faq__item[open] { background: rgba(255,255,255,.7); }

.cta { display: flex; justify-content: space-between; align-items: center; gap: 2rem; padding: clamp(2rem, 5vw, 3.5rem); flex-wrap: wrap; position: relative; overflow: hidden; }
.cta::after { content: ""; position: absolute; width: 380px; height: 380px; border-radius: 50%; right: -120px; top: -160px; background: radial-gradient(circle, rgba(255,255,255,.22), rgba(255,255,255,0) 70%); pointer-events: none; }
.cta h2 { color: #fff; margin-bottom: .4rem; }
.cta p { color: rgba(255,255,255,.82); margin: 0; max-width: 52ch; }
.cta__btns { display: flex; gap: .8rem; flex-wrap: wrap; position: relative; z-index: 1; }

/* ---------- Inner pages ---------- */
.page-hero { padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(2rem, 4vw, 3rem); }
.page-hero .lead { margin-bottom: 0; }
.page-hero__bn { font-size: 1.15rem; color: var(--teal); margin: -.2rem 0 .8rem; }
.crumbs { font-size: .85rem; color: var(--muted); margin-bottom: 1.2rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--teal); }
.crumbs .sep { opacity: .5; }

.about { display: grid; grid-template-columns: 380px 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.about__side { display: grid; gap: 1.2rem; position: sticky; top: 110px; }
.about__photo { padding: 10px; }
.about__photo img, .about__photo .photo-ph { border-radius: calc(var(--r) - 6px); aspect-ratio: 4/5; object-fit: cover; width: 100%; }
.credentials { padding: 1.5rem; }
.credentials__h, .side__h { font-family: var(--f-display); font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 600; color: var(--teal); margin-bottom: .8rem; }
.credentials ul { list-style: none; padding: 0; margin: 0; font-size: .95rem; line-height: 1.6; }
.credentials li { padding: .3rem 0; border-bottom: 1px solid var(--line); }
.credentials li:last-child { border: 0; }
.credentials__bmdc { font-family: var(--f-bn); font-size: .9rem; color: var(--muted); margin: .8rem 0 0; }

.group { margin-bottom: 3.5rem; scroll-margin-top: 110px; }
.group__h { font-size: clamp(1.6rem, 2.6vw, 2.1rem); padding-bottom: .8rem; border-bottom: 1px solid var(--line); margin-bottom: 1.6rem; }

.article { display: grid; grid-template-columns: 1fr 340px; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.article__img { border-radius: var(--r); margin-bottom: 2rem; width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.article__side { display: grid; gap: 1.2rem; position: sticky; top: 110px; }
.side { padding: 1.5rem; }
.side__ch { padding: .75rem 0; border-bottom: 1px solid var(--line); display: grid; gap: .1rem; font-size: .93rem; }
.side__ch strong { font-family: var(--f-display); font-weight: 500; color: var(--navy); font-size: 1rem; }
.side__ch span { color: var(--muted); }
.side__ch a { display: inline-flex; align-items: center; gap: .4em; font-weight: 700; }
.side .btn { margin-top: 1rem; }
.side__links { list-style: none; padding: 0; margin: 0; }
.side__links a { display: flex; justify-content: space-between; align-items: center; padding: .55rem 0; border-bottom: 1px solid var(--line); color: var(--navy); font-size: .95rem; }
.side__links a:hover { color: var(--teal); }
.disclaimer { font-size: .88rem; color: var(--muted); border-left: 3px solid var(--teal); padding: .6rem 1rem; background: rgba(255,255,255,.5); border-radius: 0 10px 10px 0; margin-top: 2rem; }
.video { padding: 8px; margin: 2rem 0; }
.video iframe, .video video { width: 100%; aspect-ratio: 16/9; border: 0; border-radius: calc(var(--r) - 8px); }

.hotlines { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; margin-bottom: 2.2rem; }
.hotlines--stack { grid-template-columns: 1fr; margin-bottom: 1.2rem; }
.hotline { display: flex; gap: 1rem; align-items: center; padding: 1.1rem 1.3rem; color: var(--ink); transition: transform .2s, background .2s; }
.hotline:hover { transform: translateY(-2px); background: rgba(255,255,255,.75); color: var(--ink); }
.hotline__ic { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.85); color: var(--teal); flex: none; }
.hotline small { display: block; font-size: .8rem; color: var(--muted); }
.hotline strong { display: block; font-family: var(--f-display); font-size: 1.35rem; font-weight: 600; color: var(--navy); letter-spacing: .02em; }
.hotline em { display: block; font-style: normal; font-size: .82rem; color: var(--muted); }
.hotline--main { background: linear-gradient(135deg, rgba(15,42,68,.94), rgba(19,134,127,.9)); border-color: rgba(255,255,255,.3); }
.hotline--main small, .hotline--main em { color: rgba(255,255,255,.75); }
.hotline--main strong { color: #fff; }
.hotline--main:hover { background: linear-gradient(135deg, rgba(15,42,68,1), rgba(19,134,127,1)); }
.map { padding: 6px; overflow: hidden; }
.map iframe { width: 100%; height: 300px; border: 0; border-radius: calc(var(--r) - 6px); }

.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
.form { padding: clamp(1.5rem, 4vw, 2.4rem); display: grid; gap: 1rem; scroll-margin-top: 110px; }
.form h2 { margin-bottom: 0; }
.form__hint, .form__privacy { color: var(--muted); font-size: .92rem; margin: 0; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form label { display: grid; gap: .35rem; font-size: .88rem; font-weight: 600; color: var(--navy); }
.form input, .form select, .form textarea {
  font: inherit; font-weight: 400; font-size: 1rem; color: var(--ink);
  padding: .8rem 1rem; border-radius: 12px; border: 1px solid rgba(15,42,68,.14);
  background: rgba(255,255,255,.75); transition: border-color .2s, box-shadow .2s; width: 100%;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(19,134,127,.14); }
.form .btn { justify-self: start; }
.hp { position: absolute; left: -9999px; }
.alert { padding: .8rem 1rem; border-radius: 12px; font-size: .95rem; margin: 0; }
.alert--ok { background: rgba(19,134,127,.12); color: #0b5e59; }
.alert--err { background: rgba(200,60,60,.1); color: #9b2c2c; }

.notfound__box { padding: clamp(2rem, 6vw, 4rem); text-align: center; max-width: 720px; margin: 0 auto; }
.notfound__box .lead { margin-inline: auto; }
.notfound__box .btns { justify-content: center; }

/* ---------- Footer ---------- */
.footer { padding: 2rem 0 6rem; }
.footer__glass { padding: clamp(1.8rem, 4vw, 3rem); border-radius: calc(var(--r) + 8px); background: rgba(255,255,255,.5); -webkit-backdrop-filter: var(--blur-strong); backdrop-filter: var(--blur-strong); border: 1px solid var(--glass-edge); box-shadow: var(--glass-shadow); }
.footer__grid { display: grid; grid-template-columns: 1.2fr 1fr 1.1fr 1fr; gap: 2rem; }
.footer__h { font-family: var(--f-display); font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 600; color: var(--teal); margin-bottom: 1rem; }
.footer__doc { margin: 1.2rem 0 .4rem; color: var(--navy); line-height: 1.4; }
.footer__doc strong { font-family: var(--f-display); font-weight: 600; font-size: 1.1rem; }
.footer__small { font-size: .85rem; color: var(--muted); margin-bottom: .4rem; line-height: 1.5; }
.footer__links, .footer__chambers { list-style: none; padding: 0; margin: 0; font-size: .93rem; }
.footer__links li { padding: .22rem 0; }
.footer__links a { color: #2a3b4c; }
.footer__links a:hover { color: var(--teal); }
.footer__chambers li { display: grid; padding: .5rem 0; border-bottom: 1px solid var(--line); line-height: 1.45; }
.footer__chambers strong { color: var(--navy); font-weight: 600; }
.footer__chambers span { color: var(--muted); font-size: .88rem; }
.footer__chambers a { font-weight: 700; font-size: .9rem; }
.footer__emg { display: flex; align-items: center; gap: .4rem; margin-top: 1rem; font-size: .92rem; color: var(--navy); }
.footer__emg a { font-weight: 700; }
.social { display: flex; gap: .5rem; margin-top: 1rem; }
.social a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.7); border: 1px solid var(--glass-edge); color: var(--navy); transition: background .2s, color .2s; }
.social a:hover { background: var(--navy); color: #fff; }
.review__card { padding: 1.2rem; border-radius: var(--r-sm); background: rgba(255,255,255,.7); border: 1px solid var(--glass-edge); text-align: center; }
.review__qr { display: inline-block; padding: 8px; background: #fff; border-radius: 12px; box-shadow: 0 8px 20px -10px rgba(15,42,68,.35); margin-bottom: .8rem; }
.review__qr img { width: 120px; height: 120px; image-rendering: pixelated; }
.review__card p { font-size: .85rem; color: var(--muted); margin-bottom: .8rem; line-height: 1.5; }
.stars { display: flex; justify-content: center; gap: 2px; color: #f4b400; margin-bottom: .3rem; }
.stars .ic { fill: currentColor; }
.footer__bar { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: 2.2rem; padding-top: 1.2rem; border-top: 1px solid var(--line); font-size: .82rem; color: var(--muted); }
.footer__bar p { margin: 0; }
.footer__bar a { color: var(--navy); font-weight: 600; }

/* Mobile quick-contact dock */
.dock { position: fixed; bottom: 14px; left: 50%; transform: translateX(-50%); z-index: 40; display: none; gap: .4rem; padding: .4rem; border-radius: 999px; background: rgba(255,255,255,.65); -webkit-backdrop-filter: var(--blur-strong); backdrop-filter: var(--blur-strong); border: 1px solid rgba(255,255,255,.9); box-shadow: 0 1px 0 #fff inset, 0 18px 40px -14px rgba(15,42,68,.4); }
.dock__btn { display: flex; align-items: center; gap: .45rem; padding: .7rem 1.1rem; border-radius: 999px; background: var(--navy); color: #fff; font-family: var(--f-display); font-weight: 500; font-size: .92rem; white-space: nowrap; }
.dock__btn--alt { background: rgba(255,255,255,.85); color: var(--navy); }
.dock__btn:hover { color: #fff; }
.dock__btn--alt:hover { color: var(--teal); }

/* Reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* Fallback when backdrop-filter isn't supported */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass, .nav__glass, .drop, .footer__glass, .dock { background: rgba(255,255,255,.93); }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .menu > ul > li > a { padding: .5rem .6rem; font-size: .93rem; }
  .menu__cta { display: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .topbar__name { display: none; }
  .topbar__in { justify-content: center; }
  .nav__toggle { display: grid; }
  .menu {
    position: absolute; top: calc(100% + 10px); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: .5rem;
    padding: 1rem; border-radius: var(--r);
    background: linear-gradient(180deg, rgba(255,255,255,.93), rgba(255,255,255,.86));
    -webkit-backdrop-filter: var(--blur-strong); backdrop-filter: var(--blur-strong);
    border: 1px solid rgba(255,255,255,.95);
    box-shadow: 0 1px 0 #fff inset, 0 30px 60px -20px rgba(15,42,68,.4);
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: .25s;
    max-height: calc(100vh - 120px); overflow: auto;
  }
  .nav.is-open .menu { opacity: 1; visibility: visible; transform: none; }
  .nav.is-open .i-open { display: none; }
  .nav.is-open .i-close { display: block; }
  .menu > ul { flex-direction: column; }
  .menu > ul > li > a { padding: .75rem 1rem; font-size: 1.05rem; }
  .menu__cta { display: inline-flex; }
  .drop { position: static; transform: none; min-width: 0; opacity: 1; visibility: visible; display: none; grid-auto-flow: row; gap: 1rem; box-shadow: none; background: rgba(255,255,255,.5); margin: .3rem 0 .5rem; padding: 1rem 1.2rem; }
  .has-drop.is-open .drop { display: grid; }
  .has-drop:hover .drop { transform: none; }
  .drop a { white-space: normal; }

  .hero__grid, .split, .about-teaser, .faq-wrap, .about, .article, .contact { grid-template-columns: 1fr; }
  .about__side, .article__side { position: static; }
  .about__side { grid-template-columns: 1fr; max-width: 480px; }
  .badge { right: 12px; }
  .hero__bg::after { background: linear-gradient(180deg, rgba(244,248,250,.85), rgba(244,248,250,.95)); }
  .dock { display: flex; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .wrap { width: calc(100% - 32px); }
  .nav { padding: 0 10px; }
  .brand__txt small { display: none; }
  .topbar__lines { gap: .2rem 1rem; justify-content: center; font-size: .78rem; }
  .form__row, .footer__grid { grid-template-columns: 1fr; }
  .ticks--cols { columns: 1; }
  .cards, .chambers { grid-template-columns: 1fr; }
  .btns .btn { width: 100%; }
  .cta__btns, .cta__btns .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
@media (max-width: 600px) {
  .topbar__lines li:not(:first-child) { display: none; }
}

.nav.is-open ~ .dock { opacity: 0; pointer-events: none; }
.dock { transition: opacity .2s; }

/* ---------- Hero portrait ---------- */
.hero-portrait { position: relative; justify-self: center; width: min(460px, 100%); padding: 0 0 2.5rem; }
.hero-portrait__frame { position: relative; border-radius: 28px; overflow: hidden; aspect-ratio: 900 / 920; background: linear-gradient(180deg, #eef9fc, #dff1f4); border: 1px solid rgba(255,255,255,.9); box-shadow: 0 1px 0 #fff inset, 0 40px 80px -40px rgba(15,42,68,.45); }
.hero-portrait__frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255,255,255,0) 62%, rgba(15,42,68,.12)); pointer-events: none; }
.hero-portrait__frame img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.hero-portrait__card { position: absolute; left: -2.2rem; bottom: 0; width: min(300px, 78%); padding: 1.1rem 1.2rem; background: rgba(255,255,255,.68); }
.hero-portrait__name { margin: 0; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; color: var(--navy); font-size: 1.02rem; }
.hero-portrait__bn { margin: 0 0 .35rem; color: var(--teal); }
.hero-portrait__deg { font-size: .78rem; color: #555; margin: 0 0 .8rem; line-height: 1.45; }
.hero-portrait__hot { display: flex; justify-content: space-between; align-items: center; padding: .6rem .9rem; border-radius: 12px; background: var(--navy); color: #fff; }
.hero-portrait__hot strong { font-size: 1.1rem; letter-spacing: .03em; }
.hero-portrait__hot:hover { background: var(--teal); color: #fff; }
.hero-portrait__badge { position: absolute; right: -1.4rem; top: 16%; display: flex; gap: .6rem; align-items: center; padding: .75rem 1rem; font-size: .78rem; line-height: 1.35; max-width: 210px; color: var(--navy); background: rgba(255,255,255,.66); }
.hero-portrait__badge .ic { color: var(--teal); flex: none; }
.about-teaser__media img { object-fit: cover; aspect-ratio: 1; background: #fff; }

/* ---------- Poster gallery ---------- */
.head-row__note { color: var(--muted); font-size: .9rem; margin: 0; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1.3rem; }
.gallery__item { margin: 0; padding: 10px; display: flex; flex-direction: column; transition: transform .25s, background .25s; }
.gallery__item:hover { transform: translateY(-4px); background: rgba(255,255,255,.72); }
.gallery__img { display: block; border-radius: calc(var(--r) - 8px); overflow: hidden; aspect-ratio: 6 / 6.8; background: #fff; cursor: zoom-in; }
.gallery__img img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .5s; }
.gallery__item:hover .gallery__img img { transform: scale(1.03); }
.gallery__item figcaption { padding: .9rem .5rem .4rem; display: grid; gap: .2rem; flex: 1; }
.gallery__item figcaption strong { font-size: .86rem; text-transform: uppercase; letter-spacing: .03em; color: var(--navy); }
.gallery__item figcaption .bn { font-size: .88rem; color: var(--muted); }
.gallery__item .more { margin-top: auto; padding-top: .4rem; }

/* ---------- Videos ---------- */
.videos { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.3rem; }
.videos--inline { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); margin-top: 1rem; }
.vid { margin: 0; padding: 8px; }
.vid__play, .vid iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: calc(var(--r) - 8px); overflow: hidden; position: relative; padding: 0; cursor: pointer; background: #0f2a44; }
.vid__play img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s, opacity .3s; opacity: .92; }
.vid__play:hover img { transform: scale(1.04); opacity: 1; }
.vid__btn { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; color: var(--navy); background: rgba(255,255,255,.72); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); border: 1px solid rgba(255,255,255,.9); box-shadow: 0 10px 30px -8px rgba(0,0,0,.45); transition: transform .2s; }
.vid__play:hover .vid__btn { transform: translate(-50%, -50%) scale(1.08); }
.vid figcaption { padding: .8rem .5rem .4rem; font-size: .92rem; color: #333; line-height: 1.5; }

/* ---------- Treatment posters ---------- */
.article__poster { float: right; width: min(44%, 380px); margin: 0 0 1.4rem 2rem; padding: 8px; }
.article__poster a { display: block; border-radius: calc(var(--r) - 8px); overflow: hidden; cursor: zoom-in; }
.article__poster img { width: 100%; height: auto; }
.article__poster figcaption { text-align: center; font-size: .85rem; color: var(--muted); padding: .5rem .3rem .2rem; }
.article__body::after { content: ""; display: block; clear: both; }
.article__gallery { clear: both; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1rem; margin: 2rem 0 0; }
.article__gallery a { display: block; padding: 6px; cursor: zoom-in; }
.article__gallery img { border-radius: calc(var(--r) - 8px); width: 100%; aspect-ratio: 6/6.8; object-fit: cover; object-position: top; }
.article__vh { clear: both; margin-top: 2.2rem; }
.wide-img { margin: 0 0 2rem; padding: 8px; clear: both; }
.wide-img a { display: block; border-radius: calc(var(--r) - 8px); overflow: hidden; cursor: zoom-in; }
.wide-img img { width: 100%; height: auto; }
.about .wide-img { margin-top: 2.2rem; }

/* ---------- Lightbox ---------- */
.lb { position: fixed; inset: 0; z-index: 100; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1rem; padding: 1.5rem; background: rgba(10, 24, 38, .72); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.lb[hidden] { display: none; }
.lb__fig { margin: 0; display: grid; justify-items: center; gap: .8rem; max-height: 100%; }
.lb__fig img { max-width: 100%; max-height: calc(100vh - 6rem); border-radius: 14px; box-shadow: 0 30px 80px -20px rgba(0,0,0,.6); }
.lb__fig figcaption { color: #fff; font-size: .95rem; text-align: center; }
.lb__x, .lb__nav { width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.4); background: rgba(255,255,255,.14); color: #fff; font-size: 1.8rem; line-height: 1; cursor: pointer; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.lb__x { position: absolute; top: 1rem; right: 1rem; }
.lb__x:hover, .lb__nav:hover { background: rgba(255,255,255,.28); }
.lb--single .lb__nav { visibility: hidden; }

@media (max-width: 900px) {
  .hero-portrait { margin-top: 1rem; }
  .hero-portrait__card { left: 0; }
  .hero-portrait__badge { right: 0; }
  .article__poster { float: none; width: min(100%, 440px); margin: 0 auto 1.6rem; }
}
@media (max-width: 600px) {
  .lb { grid-template-columns: 1fr; padding: 1rem; }
  .lb__nav { display: none; }
  .gallery { grid-template-columns: 1fr 1fr; gap: .8rem; }
  .gallery__item figcaption .more { display: none; }
}

/* intrinsic width/height attributes must not fix the rendered height */
.about-teaser__media img, .article__gallery img, .card__img img, .wide-img img, .about__photo img { height: auto; }
.cta h2 strong { color: #fff; }
.article__gallery { grid-template-columns: repeat(auto-fill, minmax(240px, 300px)); }
