/* Doctors Hospital Jhang - public website
   Look: warm cream paper, deep forest green, coral accents, serif headings.
   Every page is built in English (left-to-right) and Urdu (right-to-left); Urdu rules are at the end. */

:root {
  --green: #14532d;
  --green-dark: #0d3b20;
  --green-soft: #e4efe6;
  --coral: #ea7a3c;
  --coral-ink: #b4461a;   /* coral dark enough for text on cream */
  --cream: #fbf8f1;
  --paper: #ffffff;
  --sand: #f2ece0;
  --ink: #1f2a24;
  --muted: #5d6a62;
  --line: #e6e0d3;
  --wa: #1f9d55;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(20, 40, 28, .06), 0 10px 30px -12px rgba(20, 40, 28, .18);
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 17px/1.65 var(--sans); color: var(--ink); background: var(--cream); overflow-x: hidden; }
img { max-width: 100%; height: auto; }
a { color: var(--green); text-underline-offset: 3px; }
a:hover { color: var(--coral-ink); }
h1, h2, h3 { font-family: var(--serif); color: var(--green-dark); line-height: 1.15; margin: 0 0 .5em; font-weight: 600; letter-spacing: -.01em; }
h1 { font-size: clamp(2.3rem, 5.6vw, 4rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.22rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 2px; border-radius: 6px; }
[hidden] { display: none !important; }

.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.section { padding: 72px 0; }
.center { text-align: center; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; top: 8px; inset-inline-start: 8px; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { width: auto; height: auto; clip-path: none; background: #fff; padding: 8px 12px; z-index: 100; }
.kicker { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 10px; color: var(--coral-ink); font-weight: 700; font-size: .82rem; text-transform: uppercase; letter-spacing: .14em; }
.kicker::before { content: ""; width: 22px; height: 2px; background: var(--coral); border-radius: 2px; }
.center .kicker::after { content: ""; width: 22px; height: 2px; background: var(--coral); border-radius: 2px; }
.note { color: var(--muted); font-size: .92rem; }
.ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }
a[href^="tel:"]:not(.btn) { direction: ltr; unicode-bidi: isolate; display: inline-block; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: .72em 1.35em; border-radius: 999px; border: 2px solid transparent;
  font: 700 1rem/1.2 var(--sans); text-decoration: none; cursor: pointer; transition: transform .15s, background .2s, color .2s, box-shadow .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: none; }
.btn-lg { padding: .9em 1.6em; font-size: 1.04rem; }
.btn-primary { background: var(--green); color: #fff; box-shadow: 0 8px 20px -10px rgba(20, 83, 45, .7); }
.btn-primary:hover { background: var(--green-dark); color: #fff; }
.btn-outline { border-color: var(--green); color: var(--green); background: transparent; }
.btn-outline:hover { background: var(--green); color: #fff; }
.btn-light { background: var(--cream); color: var(--green-dark); }
.btn-light:hover { background: #fff; color: var(--green-dark); }
.btn-ghost { border-color: rgba(255, 255, 255, .6); color: #fff; background: transparent; }
.btn-ghost:hover { background: rgba(255, 255, 255, .14); color: #fff; }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: #17824a; color: #fff; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.arrow { display: inline-block; transition: transform .2s; }
.link-arrow { font-weight: 700; text-decoration: none; display: inline-flex; gap: 8px; align-items: center; }
.link-arrow span { display: inline-block; transition: transform .2s; }
.link-arrow:hover span, .btn:hover .arrow, .help-item:hover .arrow { transform: translateX(4px); }

/* ---------- top info bar & header ---------- */
.infobar { background: var(--green-dark); color: #dfeee3; font-size: .88rem; }
.infobar-in { display: flex; justify-content: space-between; gap: 6px 18px; flex-wrap: wrap; padding: 7px 0; }
.infobar-items { display: flex; gap: 6px 18px; flex-wrap: wrap; }
.infobar a { color: #fff; font-weight: 700; text-decoration: none; }
.infobar-sos { color: #ffd9c4; }
.header { position: sticky; top: 0; z-index: 50; background: rgba(251, 248, 241, .94); backdrop-filter: saturate(1.4) blur(10px); transition: box-shadow .2s; }
.header.scrolled { box-shadow: 0 1px 0 var(--line), 0 8px 24px -16px rgba(20, 40, 28, .35); }
.header-in { display: flex; align-items: center; gap: 18px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--green-dark); margin-inline-end: auto; }
.brand:hover { color: var(--green-dark); }
.brand-mark { width: 46px; height: 46px; border-radius: 14px; background: var(--green); display: grid; place-items: center; position: relative; flex: none; }
.brand-mark svg { width: 26px; height: 26px; fill: var(--cream); }
.brand-mark::after { content: ""; position: absolute; top: -3px; inset-inline-end: -3px; width: 12px; height: 12px; border-radius: 50%; background: var(--coral); border: 2px solid var(--cream); }
.brand-logo { width: 48px; height: 48px; object-fit: contain; border-radius: 12px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-family: var(--serif); font-size: 1.22rem; font-weight: 700; }
.brand-text small { color: var(--muted); font-size: .8rem; letter-spacing: .04em; }
.nav { display: flex; align-items: center; gap: 14px; }
.nav ul { list-style: none; display: flex; gap: 2px; margin: 0; padding: 0; }
.nav ul a { display: block; padding: 8px 12px; border-radius: 999px; color: var(--ink); text-decoration: none; font-weight: 500; font-size: .97rem; }
.nav ul a:hover { background: var(--sand); color: var(--green-dark); }
.nav ul a[aria-current="page"] { background: var(--green-soft); color: var(--green-dark); font-weight: 700; }
.lang-pill { padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; color: var(--green-dark); font-weight: 600; background: var(--paper); }
.nav-cta { padding: .6em 1.15em; }
.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: var(--paper); cursor: pointer; }
.bars, .bars::before, .bars::after { display: block; width: 20px; height: 2px; background: var(--green-dark); border-radius: 2px; position: relative; transition: transform .25s, background .25s; }
.bars::before, .bars::after { content: ""; position: absolute; left: 0; }
.bars::before { top: -6px; }
.bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1080px) {
  .header-in { position: relative; }
  .js .nav-toggle { display: grid; place-items: center; }
  .js .nav { position: absolute; top: 100%; left: -16px; right: -16px; flex-direction: column; align-items: stretch; gap: 10px; padding: 14px 16px 22px;
    background: var(--cream); border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px -20px rgba(0, 0, 0, .3); display: none; }
  .js .nav.open { display: flex; }
  .nav { flex-wrap: wrap; }
  .nav ul { flex-wrap: wrap; }
  .js .nav ul { flex-direction: column; }
  .js .nav ul a { padding: 12px 14px; border-radius: 12px; font-size: 1.05rem; }
  .lang-pill, .nav-cta { text-align: center; justify-content: center; }
  .js .lang-pill { padding: 10px; }
}

/* ---------- hero ---------- */
.hero { position: relative; padding: 56px 0 120px; overflow: hidden;
  background: radial-gradient(900px 500px at 85% 10%, rgba(234, 122, 60, .12), transparent 60%), radial-gradient(700px 500px at 0% 100%, rgba(20, 83, 45, .08), transparent 60%); }
.hero-in { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); font-weight: 600; font-size: .9rem; color: var(--green-dark); margin-bottom: 22px; }
.pulse { width: 9px; height: 9px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 0 rgba(234, 122, 60, .6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(234, 122, 60, 0); } 100% { box-shadow: 0 0 0 0 rgba(234, 122, 60, 0); } }
.hero h1 { margin-bottom: .25em; }
.hero h1 em { font-style: italic; color: var(--coral-ink); font-weight: 500; }
.hero-name { font-family: var(--serif); font-size: 1.3rem; color: var(--green); margin-bottom: .6em; font-weight: 600; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 54ch; }
.hero .actions { margin: 28px 0 26px; }
.trust { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--ink); font-weight: 500; font-size: .95rem; }
.trust li::before, .check-list li::before { content: "✓"; display: inline-grid; place-items: center; width: 22px; height: 22px; margin-inline-end: 8px; border-radius: 50%; background: var(--green-soft); color: var(--green); font: 700 .8rem/1 var(--sans); }

.hero-art { position: relative; padding: 24px 28px 34px; }
.hero-frame { position: relative; aspect-ratio: 4 / 4.6; border-radius: 200px 200px var(--radius) var(--radius); background: var(--green); overflow: hidden; box-shadow: 0 30px 60px -30px rgba(13, 59, 32, .7); }
.hero-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-pattern { width: 100%; height: 100%; display: block; }
.hero-pattern pattern path { fill: rgba(255, 255, 255, .06); }
.hero-pattern .ring1, .hero-pattern .ring2 { fill: none; stroke: rgba(251, 248, 241, .18); stroke-width: 2; stroke-dasharray: 6 10; transform-origin: 200px 230px; animation: spin 60s linear infinite; }
.hero-pattern .ring2 { animation-direction: reverse; animation-duration: 90s; }
.hero-pattern .big-cross { fill: var(--cream); }
@keyframes spin { to { transform: rotate(360deg); } }
.float-card { position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: var(--paper); border-radius: 16px; box-shadow: var(--shadow);
  color: var(--ink); text-decoration: none; max-width: 250px; animation: bob 6s ease-in-out infinite; }
.float-card > span { width: 40px; height: 40px; border-radius: 12px; background: var(--sand); display: grid; place-items: center; font-size: 1.25rem; flex: none; }
.float-card strong { display: block; font-size: .95rem; line-height: 1.25; }
.float-card small { color: var(--muted); font-size: .8rem; }
.fc-1 { top: 12%; inset-inline-start: -6px; }
.fc-2 { top: 48%; inset-inline-end: -10px; animation-delay: -2s; }
.fc-3 { bottom: 4%; inset-inline-start: 6%; animation-delay: -4s; }
a.float-card:hover { color: var(--green-dark); box-shadow: 0 16px 40px -14px rgba(20, 40, 28, .4); }
@keyframes bob { 50% { transform: translateY(-8px); } }

/* ---------- "how can we help" strip ---------- */
.help { position: relative; z-index: 2; margin-top: -72px; }
.help-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; border: 1px solid var(--line); }
.help-item { display: flex; align-items: center; gap: 14px; padding: 22px 20px; text-decoration: none; color: var(--ink); border-inline-end: 1px solid var(--line); transition: background .2s; }
.help-item:last-child { border-inline-end: 0; }
.help-item:hover { background: var(--green-soft); color: var(--ink); }
.help-item:first-child { background: var(--green); color: #fff; }
.help-item:first-child small { color: #cfe5d5; }
.help-item:first-child .help-icon { background: rgba(255, 255, 255, .14); }
.help-item:first-child:hover { background: var(--green-dark); color: #fff; }
.help-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--sand); display: grid; place-items: center; font-size: 1.3rem; flex: none; }
.help-item strong { display: block; line-height: 1.25; }
.help-item small { color: var(--muted); font-size: .85rem; }
.help-item .arrow { margin-inline-start: auto; opacity: .55; }

/* ---------- departments ---------- */
.services { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: start; }
.services-intro { position: sticky; top: 110px; }
.services-intro p { color: var(--muted); font-size: 1.08rem; }
.dept-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.dept-row { display: grid; grid-template-columns: auto auto 1fr; gap: 18px; align-items: center; padding: 20px 6px; border-bottom: 1px solid var(--line); transition: background .2s, padding .2s, opacity .7s, transform .7s; }
.dept-row:hover { background: var(--paper); padding-inline: 16px; border-radius: 12px; }
.dept-num { font-family: var(--serif); font-size: 1.05rem; color: var(--coral-ink); font-weight: 600; width: 2ch; }
.dept-row-icon { width: 52px; height: 52px; border-radius: 16px; background: var(--green-soft); display: grid; place-items: center; font-size: 1.5rem; }
.dept-row-text strong { display: block; font-family: var(--serif); font-size: 1.22rem; color: var(--green-dark); font-weight: 600; }
.dept-row-text span { color: var(--muted); font-size: .97rem; }

.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.card h3:last-child, .card p:last-child { margin-bottom: 0; }
.dept { position: relative; overflow: hidden; transition: transform .2s, box-shadow .2s, opacity .7s; }
.dept:hover { transform: translateY(-3px); box-shadow: 0 20px 40px -20px rgba(20, 40, 28, .35); }
.dept::after { content: ""; position: absolute; inset-inline-end: -40px; top: -40px; width: 110px; height: 110px; border-radius: 50%; background: var(--sand); z-index: 0; }
.dept > * { position: relative; z-index: 1; }
.dept-icon { width: 58px; height: 58px; border-radius: 18px; background: var(--green-soft); display: grid; place-items: center; font-size: 1.7rem; margin-bottom: 16px; }
.dept-diagnostic .dept-icon { background: #fde9dc; }
.dept-support .dept-icon { background: #efe9fb; }
.dept p { color: var(--muted); margin: 0; }
.group-title { display: flex; align-items: center; gap: 14px; }
.group-title::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* ---------- visit steps ---------- */
.steps-band { background: var(--green); color: #e2efe5; position: relative; overflow: hidden; }
.steps-band::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .07) 1.5px, transparent 1.5px); background-size: 26px 26px; }
.steps-band .wrap { position: relative; }
.steps-band h2 { color: #fff; }
.steps-band .kicker { color: #ffc6a5; }
.steps-band .kicker::before, .steps-band .kicker::after { background: #ffc6a5; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; margin-bottom: 30px; }
.section-head.center { display: block; }
.section-head h2 { margin: 0; }
.steps-row { list-style: none; margin: 10px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.steps-row li { position: relative; padding: 26px 22px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--radius); }
.steps-row li:not(:last-child)::after { content: ""; position: absolute; top: 46px; inset-inline-end: -20px; width: 20px; border-top: 2px dashed rgba(255, 198, 165, .6); }
.step-n { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--coral); color: #fff; font: 700 1.1rem var(--serif); margin-bottom: 16px; }
.steps-row strong { display: block; color: #fff; font-size: 1.1rem; margin-bottom: 6px; }
.steps-row p { margin: 0; font-size: .95rem; color: #c9dece; }

/* ---------- doctors ---------- */
.doctor { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.doc-media { background: linear-gradient(160deg, var(--green-soft), var(--sand)); aspect-ratio: 4 / 3.4; display: grid; place-items: center; overflow: hidden; }
.doc-photo { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; display: block; }
.doc-initials { width: 104px; height: 104px; border-radius: 50%; display: grid; place-items: center; background: var(--green); color: var(--cream); font: 600 2.2rem var(--serif); }
.doc-body { padding: 20px 22px 24px; }
.doc-body h3 { margin-bottom: .3em; }
.doc-body p { margin: 0 0 .3em; }
.qual { color: var(--muted); font-size: .92rem; }
.spec { color: var(--coral-ink); font-weight: 700; }
.time { font-size: .93rem; }
.bio { color: var(--muted); margin-top: .6em !important; }
.grid-2 .doctor { flex-direction: row; }
.grid-2 .doctor .doc-media { aspect-ratio: auto; width: 38%; min-height: 220px; flex: none; }

/* ---------- promise & tinted bands ---------- */
.promise-item { text-align: center; padding: 30px 26px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); }
.promise-item > span { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--sand); font-size: 1.7rem; margin-bottom: 14px; }
.promise-item p { color: var(--muted); margin: 0; }
.tint { background: var(--sand); }

/* ---------- posts ---------- */
.post-card { padding: 0; overflow: hidden; transition: transform .2s, opacity .7s; }
.post-card:hover { transform: translateY(-3px); }
.post-link { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; padding: 0 0 22px; }
.post-link > :not(.post-thumb) { margin-inline: 24px; }
.post-link:hover { color: inherit; }
.post-thumb { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; margin-bottom: 14px; background: var(--sand); }
.post-link h3 { margin-top: 10px; }
.post-link p { color: var(--muted); margin-top: 0; }
.post-link .more { margin-top: auto; font-weight: 700; color: var(--green); }
.post-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; color: var(--muted); font-size: .9rem; padding-top: 22px; }
.post-thumb + .post-meta { padding-top: 0; }
.post-meta.light { color: var(--muted); padding-top: 0; margin: 0 0 12px; }
.tag { display: inline-block; padding: 2px 11px; border-radius: 999px; font-size: .78rem; font-weight: 700; background: var(--green-soft); color: var(--green-dark); }
.tag-article { background: #fde9dc; color: #8a3410; }
.post-body h2 { margin-top: 1.4em; font-size: 1.6rem; }
.post-body ul { padding-inline-start: 1.4em; }
.post-body li { margin-bottom: .35em; }
.post-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.filter { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.chip { font: inherit; padding: .4em 1.1em; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--green); border-color: var(--green); color: #fff; }

/* ---------- inner page heading ---------- */
.page-head { padding: 64px 0 48px; background: linear-gradient(180deg, var(--sand), var(--cream)); border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.page-head::after { content: ""; position: absolute; inset-inline-end: -80px; top: -120px; width: 320px; height: 320px; border-radius: 50%; border: 40px solid rgba(20, 83, 45, .06); }
.page-head-in { position: relative; z-index: 1; }
.page-head h1 { font-size: clamp(2rem, 4.6vw, 3.1rem); margin-bottom: .3em; }
.page-head p { color: var(--muted); font-size: 1.12rem; max-width: 60ch; margin: 0; }
.prose { max-width: 800px; }
.prose > h2 { margin-top: 1.6em; }
.section-lead { font-size: 1.15rem; color: var(--muted); }
.steps li { margin-bottom: .7em; }
.check-list { list-style: none; padding: 0; margin: 0 0 1em; }
.check-list li { display: flex; align-items: baseline; margin-bottom: .55em; }
.check-list li::before { flex: none; transform: translateY(3px); }
.values { margin: 10px 0 20px; }
.team-photo { display: block; width: 100%; max-height: 460px; object-fit: cover; object-position: center 20%; border-radius: var(--radius); box-shadow: var(--shadow); margin: 0 0 26px; }

/* ---------- visit / map & contact ---------- */
.visit-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 24px; align-items: stretch; }
.visit-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow); }
.visit-addr { font-size: 1.1rem; font-weight: 500; }
.visit-map { width: 100%; min-height: 360px; height: 100%; border: 0; border-radius: var(--radius); box-shadow: var(--shadow); }
.visit-grid > .visit-card:only-child { grid-column: 1 / -1; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 24px; align-items: start; }
.contact-info p { margin: 0 0 1.2em; }
.contact-info strong { color: var(--green-dark); }
.contact-actions { display: flex; flex-direction: column; gap: 12px; }
.contact-actions h2 { font-size: 1.5rem; }
.contact-actions .btn { justify-content: center; }
.map iframe { width: 100%; height: 400px; border: 0; border-radius: var(--radius); margin-bottom: 64px; box-shadow: var(--shadow); }

/* ---------- call to action ---------- */
.cta { margin: 24px 0 80px; padding: 44px 48px; border-radius: 28px; color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  background: radial-gradient(circle at 100% 0%, rgba(255, 255, 255, .2), transparent 40%), linear-gradient(120deg, #c95522, #e06a2c); box-shadow: 0 30px 60px -30px rgba(180, 70, 26, .8); }
.cta h2 { color: #fff; margin: 0 0 .25em; }
.cta p { margin: 0; color: #fff4ec; font-size: 1.08rem; }
.cta .btn-light { color: #8a3410; }

/* ---------- booking form ---------- */
.book-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 26px; align-items: start; }
.book-form { padding: 32px; }
.book-form .field { margin-bottom: 16px; }
.book-form label { display: block; font-weight: 700; margin-bottom: 6px; color: var(--green-dark); font-size: .95rem; }
.book-form input, .book-form select, .book-form textarea { width: 100%; padding: 13px 15px; font: inherit; font-size: 16px; color: var(--ink);
  background: var(--cream); border: 1.5px solid var(--line); border-radius: var(--radius-sm); transition: border-color .2s, background .2s; }
.book-form input:focus, .book-form select:focus, .book-form textarea:focus { outline: none; border-color: var(--green); background: #fff; box-shadow: 0 0 0 4px rgba(20, 83, 45, .12); }
.book-form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.book-form .btn { width: 100%; margin-top: 6px; }
.book-result { margin-top: 14px; padding: 14px 16px; border-radius: 12px; line-height: 1.5; }
.book-result.ok { background: #e7f6ec; border: 1px solid #a6dcb6; color: #14532d; }
.book-result.err { background: #fdecec; border: 1px solid #f3b4b4; color: #7f1d1d; }
.book-result .btn { margin-top: 10px; }
.book-side { display: grid; gap: 18px; }
.book-side p { margin: 0 0 .6em; }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ---------- videos & gallery ---------- */
.video-card { margin: 0; }
.video-card iframe, .yt { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: var(--radius); background: #000; }
.yt { position: relative; padding: 0; cursor: pointer; overflow: hidden; box-shadow: var(--shadow); }
.yt img { width: 100%; height: 100%; object-fit: cover; opacity: .9; transition: opacity .2s; }
.yt:hover img { opacity: 1; }
.yt-play { position: absolute; inset: 0; margin: auto; width: 74px; height: 74px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 10px rgba(234, 122, 60, .3); }
.yt-play::after { content: ""; position: absolute; inset: 0; margin: auto; width: 0; height: 0; border-style: solid; border-width: 12px 0 12px 20px; border-color: transparent transparent transparent #fff; transform: translateX(3px); }
.fb { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; font: inherit; color: #fff; background: linear-gradient(135deg, #1877f2, #0b4f9c); }
.fb-logo { width: 60px; height: 60px; border-radius: 50%; background: #fff; color: #1877f2; font: 700 46px/70px Arial, sans-serif; text-align: center; overflow: hidden; transition: transform .2s; }
.fb:hover .fb-logo { transform: scale(1.08); }
.fb-label { font-weight: 600; }
.fb-link { text-decoration: none; }
.fb-reel, .video-card iframe.fb-reel { aspect-ratio: 9 / 16; max-width: 340px; margin-inline: auto; }
.fb-post { aspect-ratio: 4 / 3; }
.video-card iframe.fb-post { aspect-ratio: auto; height: 620px; max-width: 500px; margin-inline: auto; background: #fff; }
.video-card figcaption { padding: 10px 2px 0; display: flex; flex-direction: column; gap: 2px; }
.video-card figcaption span { color: var(--muted); }
.post-body .video-card { margin: 20px 0; }
.photo-grid { columns: 3 240px; column-gap: 16px; margin-top: 20px; }
.photo { margin: 0 0 16px; break-inside: avoid; background: var(--paper); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.photo img { display: block; width: 100%; height: auto; transition: transform .4s; }
.photo:hover img { transform: scale(1.03); }
.photo figcaption { padding: 10px 14px; color: var(--muted); font-size: .95rem; }

/* ---------- footer ---------- */
.footer { background: var(--green-dark); color: #c4d8c9; padding: 64px 0 0; font-size: .97rem; }
.footer a { color: #fff; text-decoration: none; }
.footer a:hover { text-decoration: underline; color: #fff; }
.footer a.btn, .footer a.btn:hover { text-decoration: none; color: var(--green-dark); }
.footer h2 { color: #fff; font: 700 .85rem var(--sans); text-transform: uppercase; letter-spacing: .14em; margin: 0 0 16px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 44px; }
.footer-name { font: 600 1.6rem var(--serif); color: #fff; margin-bottom: .4em; }
.footer-brand p { max-width: 36ch; }
.footer-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); padding: 20px 0 28px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; font-size: .86rem; color: #a9c2b0; }
.footer-bottom p { margin: 0; }
.footer-credit { width: 100%; }

/* ---------- mobile action bar ---------- */
.mobile-bar { display: none; }
@media (max-width: 760px) {
  .mobile-bar { position: fixed; z-index: 60; bottom: 0; left: 0; right: 0; display: flex; gap: 8px; padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
    background: rgba(251, 248, 241, .97); backdrop-filter: blur(8px); border-top: 1px solid var(--line); box-shadow: 0 -10px 30px -18px rgba(0, 0, 0, .35); }
  .mobile-bar a { flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px; padding: 11px 6px; border-radius: 14px; text-decoration: none;
    font-weight: 700; color: var(--green-dark); background: var(--paper); border: 1px solid var(--line); }
  .mobile-bar .mobile-book { background: var(--green); color: #fff; border-color: var(--green); flex: 1.3; }
  body { padding-bottom: 72px; }
  body.nav-open .mobile-bar { display: none; }
}

/* ---------- entrance animations ---------- */
.load-up { animation: up .7s cubic-bezier(.2, .7, .2, 1) both; animation-delay: calc(var(--i, 0) * 90ms); }
@keyframes up { from { opacity: 0; transform: translateY(18px); } }
.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(var(--i, 0) * 80ms); }
.js [data-reveal].in { opacity: 1; transform: none; }
.js .dept.in:hover, .js .post-card.in:hover { transform: translateY(-3px); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- smaller screens ---------- */
@media (max-width: 1000px) {
  .hero-in, .services, .visit-grid, .contact-grid, .book-grid { grid-template-columns: 1fr; }
  .hero { padding: 40px 0 110px; }
  .hero-art { max-width: 460px; width: 100%; margin-inline: auto; }
  .services-intro { position: static; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .steps-row { grid-template-columns: repeat(2, 1fr); }
  .steps-row li::after { display: none; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .section { padding: 52px 0; }
  .header-in { min-height: 66px; }
  .brand-mark, .brand-logo { width: 40px; height: 40px; }
  .brand-text strong { font-size: 1.05rem; }
  .grid-2, .grid-3, .grid-4, .steps-row, .footer-top { grid-template-columns: 1fr; }
  .grid-2 .doctor { flex-direction: column; }
  .grid-2 .doctor .doc-media { width: 100%; min-height: 0; aspect-ratio: 4 / 3.4; }
  .help-grid { grid-template-columns: 1fr; }
  .help-item { border-inline-end: 0; border-bottom: 1px solid var(--line); padding: 16px 18px; }
  .help-item:last-child { border-bottom: 0; }
  .hero-art { padding: 16px 8px 28px; }
  .hero-frame { aspect-ratio: 5 / 4; border-radius: 160px 160px var(--radius) var(--radius); }
  .fc-3 { display: none; }
  .float-card { padding: 9px 12px; max-width: 190px; }
  .float-card > span { width: 34px; height: 34px; font-size: 1.05rem; }
  .fc-1 { inset-inline-start: 0; }
  .fc-2 { inset-inline-end: 0; }
  .cta { padding: 32px 24px; border-radius: 22px; }
  .cta .actions, .cta .btn { width: 100%; }
  .book-form { padding: 22px; }
  .book-form .row2 { grid-template-columns: 1fr; gap: 0; }
  .visit-card { padding: 24px; }
  .dept-row { gap: 12px; }
  .dept-row-icon { width: 44px; height: 44px; font-size: 1.25rem; }
  .actions .btn-lg { flex: 1 1 auto; }
}

/* ======================================================================
   Urdu pages: Nastaleeq script, right-to-left layout
   ====================================================================== */
@font-face {
  font-family: "Jameel Noori Nastaleeq";
  /* Used only when the visitor already has it installed (most Urdu readers in Pakistan do); otherwise
     Noto Nastaliq Urdu from Google Fonts. */
  src: local("Jameel Noori Nastaleeq"), local("JameelNooriNastaleeq");
  font-display: swap;
}
:root { --urdu: "Jameel Noori Nastaleeq", "Noto Nastaliq Urdu", serif; }
[dir="rtl"] body { font-family: var(--urdu); font-size: 19px; line-height: 2.1; }
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3, [dir="rtl"] .brand-text strong, [dir="rtl"] .btn, [dir="rtl"] .hero-name,
[dir="rtl"] .dept-row-text strong, [dir="rtl"] .footer-name, [dir="rtl"] .footer h2,
[dir="rtl"] input, [dir="rtl"] select, [dir="rtl"] textarea, [dir="rtl"] button { font-family: var(--urdu); }
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3 { line-height: 1.9; font-weight: 700; }
[dir="rtl"] h1 { font-size: clamp(2.1rem, 5vw, 3.3rem); }
[dir="rtl"] .hero h1 em { font-style: normal; }
[dir="rtl"] * { letter-spacing: 0 !important; text-transform: none !important; }
[dir="rtl"] .ltr, [dir="rtl"] a[href^="tel:"]:not(.btn), [dir="rtl"] a[href^="mailto:"], [dir="rtl"] .doc-initials,
[dir="rtl"] .dept-num, [dir="rtl"] .step-n, [dir="rtl"] .lang-pill { font-family: var(--sans); }
[dir="rtl"] .brand-text { line-height: 1.6; }
[dir="rtl"] .btn { padding-top: .5em; padding-bottom: .65em; }
[dir="rtl"] .lead { max-width: 46ch; }
[dir="rtl"] .kicker { font-size: .95rem; }
[dir="rtl"] .arrow, [dir="rtl"] .link-arrow span { transform: scaleX(-1); }
[dir="rtl"] .link-arrow:hover span, [dir="rtl"] .btn:hover .arrow, [dir="rtl"] .help-item:hover .arrow { transform: scaleX(-1) translateX(4px); }
[dir="rtl"] .bars::before, [dir="rtl"] .bars::after { left: auto; right: 0; }
html[lang="en"] .lang-pill { font-family: var(--urdu); line-height: 1.7; padding-block: 2px 6px; }
