/* =============================================================
   DR. ALVI CLINIC — design system
   Navy identity · teal/cyan medical accents · gold premium details
   ============================================================= */

:root {
  /* Brand */
  --navy:        #09294B;
  --navy-900:    #061B34;
  --navy-700:    #0d3560;
  --teal:        #0D9F9B;
  --teal-700:    #0a807d;
  --cyan:        #10B8D5;
  --gold:        #D7A33A;
  --gold-600:    #bd8a26;
  --white:       #FFFFFF;
  --bg:          #F4F8FC;

  /* Neutrals derived from navy */
  --ink:         #10243c;
  --body:        #3d5266;
  --muted:       #6b7f92;
  --line:        #e2ebf3;
  --line-strong: #cfdcea;
  --card:        #ffffff;
  --tint:        #eef5fb;   /* very light navy tint */
  --teal-tint:   #e6f6f5;
  --gold-tint:   #f8f0dc;

  /* Typography */
  --font-display: "Fraunces", "Georgia", "Times New Roman", serif;
  --font-sans:    "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-urdu:    "Noto Nastaliq Urdu", "Jameel Noori Nastaleeq", serif;

  /* Radius */
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --pill: 999px;

  /* Shadow */
  --sh-sm: 0 1px 2px rgba(6,27,52,.06), 0 1px 3px rgba(6,27,52,.05);
  --sh:    0 8px 24px -12px rgba(6,27,52,.22), 0 2px 6px rgba(6,27,52,.05);
  --sh-lg: 0 30px 70px -28px rgba(6,27,52,.38);

  /* Layout */
  --container: 1180px;
  --gutter: 22px;
  --section: clamp(3.5rem, 6.5vw, 6rem);
}

/* ---------- reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font-sans);
  color: var(--body);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
/* Global icon size — prevents any inline SVG from rendering oversized.
   Context-specific rules below override this as needed. */
.icon { width: 20px; height: 20px; flex: none; }
a { color: var(--teal-700); text-decoration: none; }
a:hover { color: var(--teal); }
ul { list-style: none; padding: 0; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; border-radius: 4px; }

/* ---------- typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.3rem, 5.2vw, 3.6rem); }
h2 { font-size: clamp(1.85rem, 3.6vw, 2.7rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); }
h4 { font-size: 1.12rem; font-weight: 600; }
p  { color: var(--body); }
strong { color: var(--ink); font-weight: 600; }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: var(--body); }

/* ---------- layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section--tint { background: linear-gradient(180deg, var(--white), var(--bg)); }
.section--white { background: var(--white); }
.narrow { max-width: 760px; }
.center { text-align: center; }
.mt-1 { margin-top: .5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.75rem; }

/* section heading block */
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--font-sans);
  font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold-600);
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--gold); border-radius: 2px; }
.eyebrow--center::after { content: ""; width: 26px; height: 2px; background: var(--gold); border-radius: 2px; }
.sec-head { margin-bottom: 2.5rem; }
.sec-head .eyebrow { margin-bottom: .9rem; }
.sec-head p { margin-top: .8rem; max-width: 620px; }
.sec-head.center p { margin-inline: auto; }
.sec-head.center .eyebrow { justify-content: center; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 50px; padding: 0 1.5rem;
  font-family: var(--font-sans); font-weight: 600; font-size: 1rem;
  border-radius: var(--r-sm); border: 1.5px solid transparent;
  transition: transform .18s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap; text-align: center;
}
.btn .icon { width: 20px; height: 20px; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--navy); color: #fff; box-shadow: var(--sh); }
.btn--primary:hover { background: var(--navy-700); color: #fff; }
.btn--teal { background: var(--teal); color: #fff; box-shadow: 0 8px 22px -10px rgba(13,159,155,.7); }
.btn--teal:hover { background: var(--teal-700); color: #fff; }
.btn--gold { background: var(--gold); color: var(--navy-900); box-shadow: 0 8px 22px -10px rgba(215,163,58,.75); }
.btn--gold:hover { background: var(--gold-600); color: var(--navy-900); }
.btn--ghost { background: #fff; color: var(--navy); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--navy); color: var(--navy); box-shadow: var(--sh-sm); }
.btn--outline-light { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.35); }
.btn--outline-light:hover { background: rgba(255,255,255,.16); color: #fff; }
.btn--block { width: 100%; }
.btn--sm { min-height: 42px; padding: 0 1.1rem; font-size: .92rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; }

/* ---------- header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.9);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s ease, background .25s ease;
}
.site-header.is-scrolled { box-shadow: 0 6px 24px -14px rgba(6,27,52,.28); background: rgba(255,255,255,.97); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 74px; }

/* logo / wordmark */
.brand { display: flex; align-items: center; gap: .7rem; color: var(--navy); }
.brand__mark {
  width: 44px; height: 44px; border-radius: 12px; flex: none;
  display: grid; place-items: center;
  background: linear-gradient(150deg, var(--navy), var(--navy-900));
  color: #fff; border: 1.5px solid rgba(215,163,58,.55);
  box-shadow: inset 0 0 0 3px rgba(255,255,255,.04);
}
.brand__mark .icon { width: 24px; height: 24px; color: var(--gold); }
.brand__text { line-height: 1.05; }
.brand__name { font-family: var(--font-display); font-weight: 600; font-size: 1.16rem; color: var(--navy); letter-spacing: -.01em; white-space: nowrap; }
.brand__tag { display: block; font-size: .62rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-600); font-weight: 700; margin-top: 2px; }

.nav__links { display: flex; align-items: center; gap: .35rem; }
.nav__links a {
  font-weight: 600; font-size: .95rem; color: var(--ink);
  padding: .55rem .8rem; border-radius: var(--r-sm); position: relative;
}
.nav__links a:hover { background: var(--tint); color: var(--navy); }
.nav__links a[aria-current="page"] { color: var(--teal-700); }
.nav__links a[aria-current="page"]::after {
  content: ""; position: absolute; left: .8rem; right: .8rem; bottom: .28rem; height: 2px;
  background: var(--gold); border-radius: 2px;
}
.nav__cta { display: flex; align-items: center; gap: .6rem; }
.nav__toggle {
  display: none; width: 46px; height: 46px; border-radius: 12px;
  border: 1px solid var(--line-strong); background: #fff; color: var(--navy);
  align-items: center; justify-content: center;
}
.nav__toggle .icon { width: 24px; height: 24px; }

/* ---------- hero ---------- */
.hero {
  position: relative; color: #eaf2fb; overflow: hidden;
  background: var(--navy-900);
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 85% 0%, rgba(16,184,213,.20), transparent 55%),
    radial-gradient(90% 80% at 0% 100%, rgba(13,159,155,.18), transparent 55%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; opacity: .5;
  background-image: radial-gradient(rgba(255,255,255,.045) 1px, transparent 1.4px);
  background-size: 26px 26px; mask-image: linear-gradient(180deg, #000, transparent 80%);
}
.hero__inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center; padding-block: clamp(3rem, 6vw, 5.5rem);
}
.hero__eyebrow { color: var(--gold); }
.hero__eyebrow::before { background: var(--gold); }
.hero h1 { color: #fff; margin-top: 1rem; }
.hero h1 .accent { color: var(--gold); }
.hero__sub { font-family: var(--font-display); font-size: clamp(1.15rem,2vw,1.5rem); color: #cfe0f1; font-weight: 500; margin-top: .5rem; }
.hero__lead { color: #b9cde1; margin-top: 1.2rem; max-width: 34rem; }
.hero .btn-row { margin-top: 1.9rem; }

/* hero facts strip */
.hero__facts { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1.8rem; }
.fact {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14);
  padding: .5rem .85rem; border-radius: var(--pill); font-size: .86rem; color: #dceafa; font-weight: 500;
}
.fact .icon { width: 17px; height: 17px; color: var(--cyan); }
.fact strong { color: #fff; }

/* hero side card (duty widget lives here on home) */
.hero__aside { position: relative; z-index: 1; }

/* ---------- duty doctor card ---------- */
.duty {
  background: #fff; border-radius: var(--r-lg); padding: 1.5rem;
  box-shadow: var(--sh-lg); border: 1px solid rgba(255,255,255,.5);
}
.duty__head { display: flex; align-items: center; gap: .6rem; color: var(--gold-600); font-weight: 700; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; }
.duty__head .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--teal); position: relative; }
.duty__head .dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid rgba(13,159,155,.5); animation: pulse 2s ease-out infinite; }
@keyframes pulse { 0% { transform: scale(.7); opacity: 1; } 100% { transform: scale(1.7); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .duty__head .dot::after { animation: none; } }
.duty__body { display: flex; align-items: center; gap: 1rem; margin-top: 1.1rem; }
.duty__name { font-family: var(--font-display); font-size: 1.5rem; color: var(--navy); line-height: 1.1; }
.duty__spec { color: var(--teal-700); font-weight: 600; font-size: .95rem; margin-top: .15rem; }
.duty__status { display: inline-flex; align-items: center; gap: .4rem; margin-top: .7rem; font-size: .85rem; font-weight: 600; color: var(--teal-700); background: var(--teal-tint); padding: .3rem .7rem; border-radius: var(--pill); }
.duty__fallback { color: var(--body); margin-top: .8rem; font-size: .96rem; }
.duty__cta { margin-top: 1.2rem; }

/* ---------- avatar ---------- */
.avatar {
  width: 68px; height: 68px; flex: none; border-radius: 50%; overflow: hidden;
  display: grid; place-items: center; background: var(--navy);
  box-shadow: 0 0 0 3px #fff, 0 0 0 5px rgba(215,163,58,.6);
}
.doctor-photo__img { width: 100%; height: 100%; object-fit: cover; }
.doctor-photo__initials { font-family: var(--font-display); font-weight: 600; color: #fff; font-size: 1.5rem; letter-spacing: .02em; }

/* ---------- 24/7 trust bar ---------- */
.trustbar { margin-top: -3.2rem; position: relative; z-index: 5; }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.trust-card {
  background: #fff; border-radius: var(--r-lg); padding: 1.5rem 1.5rem 1.4rem;
  border: 1px solid var(--line); box-shadow: var(--sh); border-top: 3px solid var(--teal);
  display: flex; gap: 1rem; align-items: flex-start;
}
.trust-card:nth-child(2) { border-top-color: var(--gold); }
.trust-card:nth-child(3) { border-top-color: var(--cyan); }
.trust-card__icon { width: 52px; height: 52px; flex: none; border-radius: 14px; display: grid; place-items: center; background: var(--teal-tint); color: var(--teal-700); }
.trust-card:nth-child(2) .trust-card__icon { background: var(--gold-tint); color: var(--gold-600); }
.trust-card:nth-child(3) .trust-card__icon { background: #e4f7fb; color: #0b93ab; }
.trust-card__icon .icon { width: 27px; height: 27px; }
.trust-card h3 { font-size: 1.15rem; }
.trust-card .big { font-family: var(--font-display); font-size: 1.35rem; color: var(--navy); font-weight: 600; line-height: 1.1; }
.trust-card .sub { font-size: .9rem; color: var(--muted); margin-top: .15rem; }

/* ---------- about ---------- */
.about-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem,4vw,3.5rem); align-items: center; }
.about-points { display: grid; gap: .9rem; margin-top: 1.6rem; }
.about-point { display: flex; gap: .8rem; align-items: flex-start; }
.about-point .tick { width: 26px; height: 26px; flex: none; border-radius: 50%; background: var(--teal-tint); color: var(--teal-700); display: grid; place-items: center; }
.about-point .tick .icon { width: 16px; height: 16px; }
.about-point b { color: var(--ink); }
.about-visual {
  border-radius: var(--r-xl); padding: 2.2rem; color: #eaf2fb;
  background: linear-gradient(155deg, var(--navy), var(--navy-900));
  position: relative; overflow: hidden; box-shadow: var(--sh-lg);
}
.about-visual::after { content:""; position:absolute; inset:0; background: radial-gradient(80% 60% at 100% 0, rgba(16,184,213,.22), transparent 60%); }
.about-visual .icon-lg { color: var(--gold); position: relative; display: inline-flex; }
.about-visual .icon-lg .icon { width: 48px; height: 48px; }
.about-visual h3 { color: #fff; margin-top: 1rem; position: relative; }
.about-visual .stat-line { position: relative; display: grid; gap: .8rem; margin-top: 1.4rem; }
.about-visual .stat-line div { display: flex; align-items: center; gap: .7rem; font-size: .98rem; color: #cfe0f1; }
.about-visual .stat-line .icon { width: 20px; height: 20px; color: var(--cyan); flex: none; }

/* ---------- cards grid ---------- */
.grid { display: grid; gap: 1.25rem; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 1.6rem; box-shadow: var(--sh-sm); transition: transform .2s ease, box-shadow .25s ease, border-color .25s ease;
  height: 100%;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--sh); border-color: var(--line-strong); }

/* service card */
.svc__icon { width: 56px; height: 56px; border-radius: 15px; display: grid; place-items: center; background: var(--tint); color: var(--navy); transition: background .25s ease, color .25s ease; }
.svc__icon .icon { width: 29px; height: 29px; }
.card:hover .svc__icon { background: var(--navy); color: var(--gold); }
.svc h3 { margin-top: 1.1rem; font-size: 1.28rem; }
.svc p { margin-top: .5rem; font-size: .97rem; }
.svc__list { margin-top: .9rem; display: grid; gap: .4rem; }
.svc__list li { position: relative; padding-left: 1.3rem; font-size: .92rem; color: var(--body); }
.svc__list li::before { content: ""; position: absolute; left: 0; top: .55em; width: 7px; height: 7px; border-radius: 50%; background: var(--teal); }
.svc__link { margin-top: 1rem; display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; font-size: .93rem; color: var(--teal-700); }
.svc__link .icon { width: 17px; height: 17px; transition: transform .2s ease; }
.card:hover .svc__link .icon { transform: translateX(3px); }

/* diagnostics (larger) */
.diag { display: flex; flex-direction: column; }
.diag__top { display: flex; align-items: center; gap: 1rem; }
.diag__icon { width: 60px; height: 60px; border-radius: 16px; flex: none; display: grid; place-items: center; background: linear-gradient(150deg, var(--teal), var(--teal-700)); color: #fff; }
.diag--gold .diag__icon { background: linear-gradient(150deg, var(--gold), var(--gold-600)); color: var(--navy-900); }
.diag--cyan .diag__icon { background: linear-gradient(150deg, var(--cyan), #0b93ab); color: #fff; }
.diag__icon .icon { width: 30px; height: 30px; }
.diag h3 { font-size: 1.3rem; }
.diag .muted { color: var(--muted); font-size: .9rem; }
.diag ul { margin-top: 1rem; display: grid; gap: .4rem; }
.diag li { padding-left: 1.3rem; position: relative; font-size: .93rem; }
.diag li::before { content: ""; position: absolute; left: 0; top: .55em; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.diag .btn { margin-top: 1.3rem; }

/* ---------- doctors ---------- */
.doc-card { text-align: center; display: flex; flex-direction: column; align-items: center; }
.doc-card__photo {
  width: 96px; height: 96px; border-radius: 50%; overflow: hidden; background: linear-gradient(155deg, var(--navy), var(--navy-900));
  display: grid; place-items: center; box-shadow: 0 0 0 4px #fff, 0 0 0 6px rgba(215,163,58,.55), var(--sh);
}
.doc-card__photo .doctor-photo__initials { font-size: 2rem; }
.doc-card__photo .doctor-photo__img { width: 100%; height: 100%; object-fit: cover; }
.doc-card h3 { margin-top: 1.1rem; font-size: 1.28rem; }
.doc-card .spec { color: var(--teal-700); font-weight: 600; font-size: .95rem; margin-top: .2rem; }
.doc-card .qual { color: var(--muted); font-size: .87rem; margin-top: .45rem; min-height: 2.4em; }
.doc-card .avail { display: inline-flex; align-items: center; gap: .4rem; margin-top: .8rem; font-size: .8rem; font-weight: 600; color: var(--gold-600); background: var(--gold-tint); padding: .28rem .7rem; border-radius: var(--pill); }
.doc-card__foot { margin-top: 1.15rem; display: flex; gap: .55rem; width: 100%; }
.doc-card__foot .btn { flex: 1; }
.doc-card__divider { width: 40px; height: 2px; background: var(--gold); border-radius: 2px; margin: .9rem auto 0; opacity: .7; }

/* ---------- portals ---------- */
.portal {
  color: #eaf2fb; border-radius: var(--r-lg); padding: 1.7rem; position: relative; overflow: hidden;
  background: linear-gradient(155deg, var(--navy), var(--navy-900)); box-shadow: var(--sh);
  display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .25s ease;
}
.portal:hover { transform: translateY(-4px); box-shadow: var(--sh-lg); }
.portal::after { content:""; position:absolute; right:-30%; top:-40%; width:70%; height:120%; background: radial-gradient(circle, rgba(16,184,213,.28), transparent 60%); }
.portal__icon { width: 54px; height: 54px; border-radius: 14px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.16); display: grid; place-items: center; color: var(--gold); position: relative; }
.portal__icon .icon { width: 28px; height: 28px; }
.portal h3 { color: #fff; margin-top: 1rem; position: relative; }
.portal p { color: #b9cde1; font-size: .93rem; margin-top: .35rem; position: relative; }
.portal__meta { position: relative; margin-top: .8rem; display: grid; gap: .35rem; font-size: .9rem; color: #cfe0f1; }
.portal__meta span { display: inline-flex; align-items: center; gap: .45rem; }
.portal__meta .icon { width: 16px; height: 16px; color: var(--gold); }
.portal__meta a { color: #eaf2fb; font-weight: 600; }
.portal .btn { margin-top: 1.3rem; position: relative; }

/* ---------- gynae callout ---------- */
.callout {
  background: linear-gradient(150deg, #0d3560, var(--navy-900));
  color: #eaf2fb; border-radius: var(--r-xl); padding: clamp(2rem, 4vw, 3rem);
  position: relative; overflow: hidden; box-shadow: var(--sh-lg);
  display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: center;
}
.callout::before { content:""; position:absolute; inset:0; background: radial-gradient(70% 90% at 100% 0, rgba(215,163,58,.22), transparent 55%); }
.callout__body { position: relative; }
.callout .eyebrow { color: var(--gold); } .callout .eyebrow::before { background: var(--gold); }
.callout h2 { color: #fff; margin-top: .8rem; }
.callout p { color: #cfe0f1; margin-top: .6rem; max-width: 40rem; }
.callout__cta { position: relative; display: flex; flex-direction: column; gap: .7rem; }

/* ---------- facilities ---------- */
.fac-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .9rem; }
.fac {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.15rem;
  display: flex; align-items: center; gap: .8rem; transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.fac:hover { border-color: var(--line-strong); box-shadow: var(--sh-sm); transform: translateY(-2px); }
.fac__icon { width: 44px; height: 44px; flex: none; border-radius: 12px; background: var(--tint); color: var(--navy); display: grid; place-items: center; }
.fac__icon .icon { width: 23px; height: 23px; }
.fac__name { font-weight: 600; color: var(--ink); font-size: .98rem; line-height: 1.2; }
.fac__note { font-size: .8rem; color: var(--muted); }

/* ---------- announcements ---------- */
.notice {
  display: flex; align-items: center; gap: .8rem; flex-wrap: wrap;
  background: var(--gold-tint); border: 1px solid #ecd9a8; border-left: 4px solid var(--gold);
  border-radius: var(--r-md); padding: .9rem 1.2rem; color: #7a5a12;
}
.notice .icon { width: 20px; height: 20px; color: var(--gold-600); flex: none; }
.notice strong { color: #6b4e0d; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.contact-card { text-align: center; }
.contact-card__icon { width: 56px; height: 56px; margin: 0 auto; border-radius: 15px; display: grid; place-items: center; background: var(--teal-tint); color: var(--teal-700); }
.contact-card__icon .icon { width: 28px; height: 28px; }
.contact-card h3 { margin-top: 1rem; font-size: 1.18rem; }
.contact-card .num { font-family: var(--font-display); font-size: 1.35rem; color: var(--navy); margin-top: .3rem; direction: ltr; }
.contact-card .btn { margin-top: 1rem; }
.contact-address {
  margin-top: 1.2rem; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 1.5rem; display: flex; gap: 1rem; align-items: center; justify-content: space-between; flex-wrap: wrap;
  box-shadow: var(--sh-sm);
}
.contact-address__text { display: flex; gap: .9rem; align-items: center; }
.contact-address__icon { width: 50px; height: 50px; flex: none; border-radius: 13px; background: var(--gold-tint); color: var(--gold-600); display: grid; place-items: center; }

/* ---------- footer ---------- */
.site-footer { background: var(--navy-900); color: #a9c1d8; padding-block: 3.5rem 1.6rem; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 2rem; }
.footer-brand .brand__name { color: #fff; } .footer-brand .brand__mark { border-color: rgba(215,163,58,.6); }
.footer-brand p { color: #93aec7; margin-top: 1rem; font-size: .93rem; max-width: 22rem; }
.footer h4 { color: #fff; font-family: var(--font-sans); font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1rem; }
.footer ul { display: grid; gap: .6rem; }
.footer a { color: #a9c1d8; font-size: .94rem; }
.footer a:hover { color: #fff; }
.footer__contact li { display: flex; gap: .6rem; align-items: flex-start; font-size: .94rem; }
.footer__contact .icon { width: 18px; height: 18px; color: var(--gold); flex: none; margin-top: .2rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 2.6rem; padding-top: 1.4rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .85rem; color: #7f9ab4; }
.footer-bottom a { color: #a9c1d8; }

/* ---------- Urdu / RTL ---------- */
.urdu { font-family: var(--font-urdu); direction: rtl; line-height: 2.4; unicode-bidi: plaintext; }
.urdu-line { font-family: var(--font-urdu); direction: rtl; font-size: 1.15rem; line-height: 2.2; }
/* Bilingual heading subtitle (Nastaliq under an English heading) */
.urdu-sub { font-family: var(--font-urdu); direction: rtl; color: var(--muted); font-size: 1.05rem; line-height: 2.1; margin-top: .5rem; }
.sec-head.center .urdu-sub { text-align: center; }
.page-hero .urdu-sub, .hero .urdu-sub { color: #cbdcf0; margin-top: .6rem; text-align: left; }
.callout .urdu-sub { color: #e7d3a4; }
.fee-badge {
  display: inline-flex; align-items: center; gap: .6rem; background: #fff; color: var(--navy);
  border: 1.5px solid var(--gold); border-radius: var(--pill); padding: .5rem 1.1rem; font-weight: 600;
}
.fee-badge .amt { color: var(--gold-600); font-family: var(--font-display); font-size: 1.15rem; }

/* ---------- page hero (interior) ---------- */
.page-hero { background: var(--navy-900); color: #eaf2fb; position: relative; overflow: hidden; padding-block: clamp(2.6rem,5vw,4rem); }
.page-hero::before { content:""; position:absolute; inset:0; background: radial-gradient(90% 80% at 90% 0, rgba(16,184,213,.18), transparent 55%); }
.page-hero__inner { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; }
.page-hero p { color: #b9cde1; margin-top: .7rem; max-width: 42rem; }
.breadcrumb { position: relative; z-index: 1; display: flex; gap: .5rem; align-items: center; font-size: .85rem; color: #93aec7; margin-bottom: .9rem; }
.breadcrumb a { color: #cfe0f1; } .breadcrumb .icon { width: 15px; height: 15px; }

/* ---------- doctor profile ---------- */
.profile { display: grid; grid-template-columns: 320px 1fr; gap: 2.2rem; align-items: start; }
.profile__side { position: sticky; top: 92px; }
.profile__card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.8rem; box-shadow: var(--sh); text-align: center; }
.profile__photo { width: 150px; height: 150px; margin: 0 auto; border-radius: 50%; overflow: hidden; background: linear-gradient(155deg, var(--navy), var(--navy-900)); display: grid; place-items: center; box-shadow: 0 0 0 5px #fff, 0 0 0 7px rgba(215,163,58,.55), var(--sh); }
.profile__photo .doctor-photo__initials { font-size: 3rem; }
.profile__photo .doctor-photo__img { width:100%; height:100%; object-fit: cover; }
.profile__card h1 { font-size: 1.7rem; margin-top: 1.1rem; }
.profile__card .spec { color: var(--teal-700); font-weight: 600; margin-top: .3rem; }
.profile__actions { display: grid; gap: .6rem; margin-top: 1.3rem; }
.profile__block { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.7rem; box-shadow: var(--sh-sm); }
.profile__block + .profile__block { margin-top: 1.2rem; }
.profile__block h2 { font-size: 1.35rem; display: flex; align-items: center; gap: .6rem; }
.profile__block h2 .icon { width: 22px; height: 22px; color: var(--teal-700); }
.info-list { display: grid; gap: .7rem; margin-top: 1rem; }
.info-list li { display: flex; gap: .7rem; align-items: flex-start; }
.info-list .icon { width: 18px; height: 18px; color: var(--gold-600); flex: none; margin-top: .3rem; }
.chip-list { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1rem; }
.chip { background: var(--tint); color: var(--navy); border: 1px solid var(--line); border-radius: var(--pill); padding: .4rem .9rem; font-size: .9rem; font-weight: 500; }

/* ---------- entrance (CSS-only; content is ALWAYS visible, even with JS off) ---------- */
.reveal { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  .reveal { animation: fadeUp .7s cubic-bezier(.2,.7,.2,1) both; }
  @keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
}

/* =============================================================
   RESPONSIVE
   ============================================================= */
@media (max-width: 1024px) {
  .grid--4 { grid-template-columns: repeat(3, 1fr); }
  .fac-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .nav__links, .nav__cta .btn--ghost { display: none; }
  .nav__toggle { display: inline-flex; }
  .brand__tag { display: none; }
  .nav { height: 66px; }
  .brand__mark { width: 40px; height: 40px; border-radius: 11px; }
  .brand__name { font-size: 1.08rem; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__aside { order: -1; max-width: 460px; }
  .about-grid { grid-template-columns: 1fr; }
  .callout { grid-template-columns: 1fr; }
  .profile { grid-template-columns: 1fr; }
  .profile__side { position: static; }
}

@media (max-width: 720px) {
  :root { --gutter: 18px; }
  .grid--3, .grid--4, .grid--2, .trust-grid, .contact-grid { grid-template-columns: 1fr; }
  .fac-grid { grid-template-columns: repeat(2, 1fr); }
  .trustbar { margin-top: -2rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { justify-content: center; text-align: center; }
  h1 { font-size: clamp(2rem, 8vw, 2.6rem); }
  .btn { width: 100%; } .btn-row .btn { width: auto; flex: 1 1 auto; }
  .duty__body { flex-direction: row; }
}

@media (max-width: 460px) {
  .fac-grid { grid-template-columns: 1fr; }
  .btn-row { flex-direction: column; } .btn-row .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .nav__cta { gap: .5rem; }
  .nav__cta .btn--gold span { display: none; }
  .nav__cta .btn--gold { width: 48px; padding: 0; }
  .nav__cta .btn--gold .icon { margin: 0; }
}

/* ---------- mobile drawer ---------- */
.drawer { position: fixed; inset: 0; z-index: 200; visibility: hidden; }
.drawer[aria-hidden="false"] { visibility: visible; }
.drawer__scrim { position: absolute; inset: 0; background: rgba(6,27,52,.5); opacity: 0; transition: opacity .3s ease; }
.drawer[aria-hidden="false"] .drawer__scrim { opacity: 1; }
.drawer__panel {
  position: absolute; right: 0; top: 0; height: 100%; width: min(84vw, 340px);
  background: #fff; box-shadow: var(--sh-lg); padding: 1.3rem; transform: translateX(100%);
  transition: transform .3s ease; display: flex; flex-direction: column; overflow-y: auto;
}
.drawer[aria-hidden="false"] .drawer__panel { transform: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.drawer__close { width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-strong); background: #fff; color: var(--navy); display: grid; place-items: center; }
.drawer__links { display: grid; gap: .2rem; margin-top: .5rem; }
.drawer__links a { padding: .85rem .7rem; border-radius: var(--r-sm); font-weight: 600; color: var(--ink); border-bottom: 1px solid var(--line); }
.drawer__links a:hover, .drawer__links a[aria-current="page"] { background: var(--tint); color: var(--navy); }
.drawer__cta { margin-top: 1.2rem; display: grid; gap: .6rem; }
body.no-scroll { overflow: hidden; }
