/* ============================================================
   Shah Nawaz Memorial Healthcare Center — Design System
   Palette drawn from the SMHC emblem: deep navy + rose gold
   ============================================================ */

:root {
  /* Brand */
  --navy-900: #101b33;
  --navy-800: #16213e;
  --navy-700: #1b2a4a;
  --navy-600: #24355c;
  --navy-500: #33466f;

  --rose-600: #9d5747; /* deepened for WCAG AA text contrast on cream/paper */
  --rose-500: #c98c7f;
  --rose-400: #dba392;
  --rose-300: #eec3b8;
  --rose-200: #f6ded7;
  --rose-100: #fbeeea;

  --cream: #faf6f2;
  --paper: #fffdfb;
  --ink: #1d2739;
  --muted: #5d6b83;
  --line: #ecdfd8;

  --gold-grad: linear-gradient(135deg, #d9a08c 0%, #eec3b8 45%, #c98c7f 100%);
  --navy-grad: linear-gradient(150deg, #1b2a4a 0%, #16213e 55%, #101b33 100%);

  /* Type */
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Figtree", "Segoe UI", system-ui, sans-serif;
  --font-urdu: "Noto Nastaliq Urdu", serif;

  /* Rhythm */
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --shadow-soft: 0 18px 50px -18px rgba(22, 33, 62, 0.22);
  --shadow-card: 0 10px 34px -14px rgba(22, 33, 62, 0.18);
  --shadow-rose: 0 16px 40px -16px rgba(176, 106, 92, 0.45);

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; overflow-x: clip; }

body {
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

button { font-family: inherit; cursor: pointer; }

::selection { background: var(--rose-300); color: var(--navy-900); }

h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  color: var(--navy-800);
  letter-spacing: 0.2px;
}

.urdu {
  font-family: var(--font-urdu);
  direction: rtl;
  line-height: 2.1;
  color: var(--rose-600);
}

.container { width: min(1180px, 92%); margin-inline: auto; }

section { position: relative; }

.section { padding: clamp(72px, 9vw, 120px) 0; }

.section--tight { padding: clamp(48px, 6vw, 80px) 0; }

/* Focus visibility */
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--rose-600);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Eyebrow / section headers ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: var(--rose-600);
}
.eyebrow::before, .eyebrow--lined::after {
  content: "";
  width: 34px; height: 1.5px;
  background: var(--gold-grad);
}

.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow::after {
  content: ""; width: 34px; height: 1.5px; background: var(--gold-grad);
}
.section-head h2 { font-size: clamp(30px, 4.4vw, 48px); margin: 14px 0 14px; }
.section-head p { color: var(--muted); font-size: 17px; }

.title-flourish {
  display: block;
  width: 74px; height: 12px;
  margin-top: 18px;
  color: var(--rose-500);
}
.section-head.center .title-flourish { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15.5px;
  letter-spacing: 0.3px;
  border: 1.5px solid transparent;
  transition: transform 0.25s var(--ease-spring), box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
  overflow: hidden;
  isolation: isolate;
}
.btn svg { width: 18px; height: 18px; flex: none; transition: transform 0.25s var(--ease-out); }
.btn:hover svg { transform: translateX(4px); }

/* Navy text on the rose-gold gradient (like the emblem) — passes WCAG AA;
   white text on this gradient measured only ~2.2:1 */
.btn--rose { background: var(--gold-grad); color: var(--navy-900); box-shadow: var(--shadow-rose); }
.btn--rose::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(135deg, #c98c7f, #dba392);
  opacity: 0; transition: opacity 0.3s ease;
}
.btn--rose:hover { transform: translateY(-3px); box-shadow: 0 22px 44px -14px rgba(176, 106, 92, 0.55); }
.btn--rose:hover::after { opacity: 1; }

.btn--navy { background: var(--navy-grad); color: #fff; box-shadow: var(--shadow-soft); }
.btn--navy:hover { transform: translateY(-3px); }

.btn--ghost { border-color: rgba(255,255,255,0.55); color: #fff; backdrop-filter: blur(4px); }
.btn--ghost:hover { background: rgba(255,255,255,0.12); transform: translateY(-3px); }

.btn--outline { border-color: var(--rose-500); color: var(--rose-600); }
.btn--outline:hover { background: var(--rose-100); transform: translateY(-3px); }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--navy-900);
  color: #cfd6e4;
  font-size: 13.5px;
  padding: 8px 0;
  position: relative;
  z-index: 60;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.topbar a { color: var(--rose-300); font-weight: 600; }
.topbar a:hover { color: #fff; }
.topbar-item { display: inline-flex; align-items: center; gap: 8px; }
.topbar-item svg { width: 15px; height: 15px; color: var(--rose-400); }
.topbar .urdu { color: var(--rose-300); font-size: 13px; line-height: 1.6; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 246, 242, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.35s ease, border-color 0.35s ease, background 0.35s ease;
}
.site-header.scrolled {
  background: rgba(255, 253, 251, 0.94);
  border-color: var(--line);
  box-shadow: 0 12px 34px -22px rgba(22, 33, 62, 0.35);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; }

.brand { display: flex; align-items: center; gap: 14px; }
.brand img {
  width: 58px; height: 58px;
  border-radius: 50%;
  box-shadow: 0 6px 18px -6px rgba(22, 33, 62, 0.35);
  transition: transform 0.4s var(--ease-spring);
}
.brand:hover img { transform: rotate(-6deg) scale(1.05); }
.brand-name { display: flex; flex-direction: column; line-height: 1.16; }
.brand-name strong {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--navy-800);
  letter-spacing: 0.4px;
}
.brand-name span {
  font-size: 10.5px;
  letter-spacing: 3.2px;
  text-transform: uppercase;
  color: var(--rose-600);
  font-weight: 700;
}

.nav-links { display: flex; align-items: center; gap: 6px; list-style: none; }
.nav-links a {
  position: relative;
  display: block;
  padding: 10px 15px;
  font-size: 15px;
  font-weight: 600;
  color: var(--navy-700);
  border-radius: 10px;
  transition: color 0.2s ease, background 0.2s ease;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 15px; right: 15px; bottom: 5px;
  height: 2px;
  background: var(--gold-grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease-out);
  border-radius: 2px;
}
.nav-links a:hover { color: var(--rose-600); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-links a.active { color: var(--rose-600); }

.nav-cta { margin-left: 10px; padding: 12px 22px; font-size: 14.5px; }

.nav-toggle {
  display: none;
  width: 46px; height: 46px;
  border: 1.5px solid var(--line);
  background: #fff;
  border-radius: 12px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block; width: 20px; height: 2px;
  background: var(--navy-800); border-radius: 2px;
  transition: transform 0.3s var(--ease-out), opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 520px at 88% -10%, rgba(238, 195, 184, 0.5), transparent 65%),
    radial-gradient(700px 500px at -10% 108%, rgba(27, 42, 74, 0.10), transparent 60%),
    var(--cream);
}
.hero .container {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: clamp(36px, 6vw, 80px);
  align-items: center;
  padding-top: clamp(56px, 8vw, 110px);
  padding-bottom: clamp(64px, 9vw, 130px);
}
.hero h1 {
  font-size: clamp(38px, 5.6vw, 66px);
  font-weight: 600;
  margin: 20px 0 8px;
}
.hero h1 em {
  font-style: italic;
  background: linear-gradient(120deg, #9d5747, #b06a5c 60%, #9d5747);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero .urdu-tagline {
  font-size: clamp(17px, 2.2vw, 21px);
  margin: 6px 0 18px;
}
.hero-lede { color: var(--muted); font-size: 17.5px; max-width: 54ch; margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 38px; }

.hero-trust { display: flex; flex-wrap: wrap; gap: 26px; }
.trust-item { display: flex; align-items: center; gap: 11px; }
.trust-item .dot {
  width: 42px; height: 42px; flex: none;
  border-radius: 50%;
  display: grid; place-items: center;
  background: #fff;
  box-shadow: var(--shadow-card);
  color: var(--rose-600);
}
.trust-item .dot svg { width: 20px; height: 20px; }
.trust-item small { display: block; font-size: 12.5px; color: var(--muted); }
.trust-item strong { font-size: 14.5px; color: var(--navy-800); }

/* Hero visual */
.hero-visual { position: relative; display: grid; place-items: center; }
.hero-emblem {
  position: relative;
  width: min(430px, 84vw);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}
.hero-emblem img {
  width: 78%;
  border-radius: 50%;
  box-shadow: 0 40px 90px -30px rgba(22, 33, 62, 0.45);
  animation: emblem-float 7s ease-in-out infinite;
  position: relative;
  z-index: 2;
}
.orbit {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px dashed rgba(176, 106, 92, 0.4);
  animation: spin 40s linear infinite;
}
.orbit--inner { inset: 7%; border-style: solid; border-color: rgba(22, 33, 62, 0.12); animation-duration: 55s; animation-direction: reverse; }
.orbit .planet {
  position: absolute;
  top: -23px; left: calc(50% - 23px);
  width: 46px; height: 46px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: #fff;
  box-shadow: var(--shadow-card);
  color: var(--rose-600);
  animation: spin 40s linear infinite reverse;
}
.orbit--inner .planet { animation-duration: 55s; animation-direction: normal; }
.orbit .planet svg { width: 22px; height: 22px; }
.orbit .planet--navy { color: var(--navy-700); }

.hero-chip {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-card);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--navy-800);
  animation: chip-float 6s ease-in-out infinite;
}
.hero-chip svg { width: 20px; height: 20px; color: var(--rose-600); flex: none; }
.hero-chip small { display: block; font-weight: 500; color: var(--muted); font-size: 12px; }
.chip--tl { top: 6%; left: -4%; animation-delay: 0.6s; }
.chip--br { bottom: 8%; right: -6%; animation-delay: 1.8s; }

@keyframes emblem-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}
@keyframes chip-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Ribbon under hero */
.ribbon {
  background: var(--navy-grad);
  color: #e8ddd7;
  overflow: hidden;
  padding: 16px 0;
  position: relative;
}
.marquee { display: flex; gap: 56px; width: max-content; animation: marquee 30s linear infinite; }
.marquee-item { display: inline-flex; align-items: center; gap: 12px; font-size: 14.5px; letter-spacing: 1.5px; text-transform: uppercase; font-weight: 600; white-space: nowrap; }
.marquee-item svg { width: 16px; height: 16px; color: var(--rose-400); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Cards / departments ---------- */
.grid { display: grid; gap: 26px; }
.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 {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 34px 30px;
  box-shadow: 0 4px 18px -12px rgba(22, 33, 62, 0.12);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s ease, border-color 0.35s ease;
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gold-grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease-out);
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-soft); border-color: var(--rose-300); }
.card:hover::before { transform: scaleX(1); }

.card-icon {
  width: 62px; height: 62px;
  border-radius: 18px;
  display: grid; place-items: center;
  background: var(--rose-100);
  color: var(--rose-600);
  margin-bottom: 22px;
  transition: transform 0.4s var(--ease-spring), background 0.3s ease, color 0.3s ease;
}
.card-icon svg { width: 30px; height: 30px; }
.card:hover .card-icon { transform: rotate(-8deg) scale(1.08); background: var(--navy-800); color: var(--rose-300); }

.card h3 { font-size: 23px; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 15.5px; }
.card-link {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 8px;
  padding: 10px 2px; /* comfortable touch target */
  font-weight: 700; font-size: 14px;
  color: var(--rose-600);
  letter-spacing: 0.4px;
}
.card-link svg { width: 16px; height: 16px; transition: transform 0.25s var(--ease-out); }
.card-link:hover svg { transform: translateX(5px); }

.card--flagship {
  background: var(--navy-grad);
  border: none;
  color: #dfe5f0;
}
.card--flagship h3 { color: #fff; }
.card--flagship p { color: #b9c3d6; }
.card--flagship .card-icon { background: rgba(238, 195, 184, 0.16); color: var(--rose-300); }
.card--flagship:hover .card-icon { background: var(--rose-300); color: var(--navy-800); }
.card--flagship .card-link { color: var(--rose-300); }
.flag-badge {
  position: absolute; top: 20px; right: 20px;
  font-size: 10.5px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--gold-grad);
  color: var(--navy-900);
}

/* ---------- Split feature (gyne spotlight) ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 84px);
  align-items: center;
}
.split-media { position: relative; }
.split-media .media-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--navy-grad);
  aspect-ratio: 4 / 4.6;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-soft);
}
.media-frame::before {
  content: "";
  position: absolute; inset: 14px;
  border: 1px solid rgba(238, 195, 184, 0.35);
  border-radius: calc(var(--radius-lg) - 10px);
  pointer-events: none;
}
.media-frame img { width: 62%; border-radius: 50%; box-shadow: 0 30px 70px -20px rgba(0,0,0,0.5); }
.media-frame .glow {
  position: absolute;
  width: 70%; aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(238,195,184,0.35), transparent 65%);
  animation: pulse-glow 5s ease-in-out infinite;
}
@keyframes pulse-glow {
  0%, 100% { transform: scale(1); opacity: 0.75; }
  50% { transform: scale(1.15); opacity: 1; }
}
.floating-stat {
  position: absolute;
  bottom: -26px; right: -18px;
  background: #fff;
  border-radius: 20px;
  box-shadow: var(--shadow-soft);
  padding: 20px 26px;
  text-align: center;
  animation: chip-float 6.5s ease-in-out infinite;
}
.floating-stat strong { font-family: var(--font-display); font-size: 34px; color: var(--rose-600); display: block; line-height: 1; }
.floating-stat span { font-size: 12.5px; color: var(--muted); font-weight: 600; letter-spacing: 1px; text-transform: uppercase; }

.split-body h2 { font-size: clamp(30px, 4vw, 46px); margin: 14px 0 18px; }
.split-body > p { color: var(--muted); margin-bottom: 26px; }

.feature-list { list-style: none; display: grid; gap: 16px; margin-bottom: 32px; }
.feature-list li { display: flex; gap: 14px; align-items: flex-start; }
.feature-list .tick {
  flex: none;
  width: 26px; height: 26px;
  margin-top: 2px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--rose-100);
  color: var(--rose-600);
}
.feature-list .tick svg { width: 14px; height: 14px; }
.feature-list strong { color: var(--navy-800); }
.feature-list p { font-size: 14.5px; color: var(--muted); }

/* ---------- Stats band ---------- */
.stats-band {
  background: var(--navy-grad);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(44px, 6vw, 70px) clamp(28px, 5vw, 64px);
  position: relative;
  overflow: hidden;
}
.stats-band::before, .stats-band::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
}
.stats-band::before {
  width: 340px; height: 340px;
  right: -120px; top: -140px;
  background: radial-gradient(circle, rgba(238,195,184,0.22), transparent 70%);
}
.stats-band::after {
  width: 300px; height: 300px;
  left: -110px; bottom: -140px;
  background: radial-gradient(circle, rgba(238,195,184,0.14), transparent 70%);
}
.stats-grid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.stat { text-align: center; padding: 0 10px; }
.stat + .stat { border-left: 1px solid rgba(255,255,255,0.14); }
.stat .num {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 58px);
  font-weight: 700;
  background: linear-gradient(120deg, #eec3b8, #fff 60%, #eec3b8);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.05;
}
.stat .label { margin-top: 8px; color: #aeb9cd; font-size: 14px; letter-spacing: 1.2px; text-transform: uppercase; font-weight: 600; }

/* ---------- Doctors ---------- */
.doctor-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s ease;
}
.doctor-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-soft); }
.doctor-photo {
  position: relative;
  aspect-ratio: 1 / 0.92;
  background:
    radial-gradient(circle at 50% 30%, rgba(238,195,184,0.55), transparent 70%),
    linear-gradient(160deg, #f6ece7, #efdcd4);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.doctor-photo svg.silhouette { width: 55%; height: auto; color: var(--navy-700); opacity: 0.85; transition: transform 0.4s var(--ease-out); }
.doctor-card:hover .doctor-photo svg.silhouette { transform: scale(1.06); }
.doctor-photo .badge {
  position: absolute;
  bottom: 14px; left: 14px;
  padding: 6px 14px;
  font-size: 11.5px; font-weight: 700;
  letter-spacing: 1.4px; text-transform: uppercase;
  border-radius: 999px;
  background: rgba(255,255,255,0.92);
  color: var(--rose-600);
  box-shadow: var(--shadow-card);
}
.doctor-info { padding: 24px 24px 28px; }
.doctor-info h3 { font-size: 22px; }
.doctor-info .spec { color: var(--rose-600); font-weight: 700; font-size: 13.5px; letter-spacing: 1px; text-transform: uppercase; margin: 6px 0 10px; }
.doctor-info p { color: var(--muted); font-size: 14.5px; }
.doctor-meta { display: flex; gap: 16px; margin-top: 16px; padding-top: 16px; border-top: 1px dashed var(--line); font-size: 13.5px; color: var(--muted); }
.doctor-meta span { display: inline-flex; align-items: center; gap: 7px; }
.doctor-meta svg { width: 15px; height: 15px; color: var(--rose-500); }

/* ---------- Testimonials ---------- */
.testimonials-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(320px, 420px);
  gap: 26px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 10px 4px 26px;
  scrollbar-width: thin;
  scrollbar-color: var(--rose-400) transparent;
}
.testimonial {
  scroll-snap-align: start;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 32px 30px;
  position: relative;
  box-shadow: 0 4px 18px -12px rgba(22,33,62,0.12);
}
.testimonial .quote-mark {
  font-family: var(--font-display);
  font-size: 84px;
  line-height: 0.6;
  color: var(--rose-300);
  display: block;
  margin-bottom: 18px;
}
.testimonial p { color: var(--muted); font-size: 15.5px; font-style: italic; }
.testimonial footer { margin-top: 22px; display: flex; align-items: center; gap: 13px; }
.testimonial .avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--navy-800);
  color: var(--rose-300);
  font-weight: 700;
  font-size: 15px;
  font-family: var(--font-display);
}
.testimonial footer strong { display: block; font-size: 15px; color: var(--navy-800); }
.testimonial footer small { color: var(--muted); }
.stars { color: #d9a08c; letter-spacing: 2px; font-size: 14px; margin-bottom: 12px; display: block; }

/* ---------- CTA panel ---------- */
.cta-panel {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--navy-grad);
  color: #fff;
  padding: clamp(48px, 7vw, 88px) clamp(26px, 6vw, 80px);
  text-align: center;
}
.cta-panel::before {
  content: "";
  position: absolute; inset: 16px;
  border: 1px solid rgba(238, 195, 184, 0.3);
  border-radius: calc(var(--radius-lg) - 10px);
  pointer-events: none;
}
.cta-panel h2 { color: #fff; font-size: clamp(30px, 4.4vw, 50px); margin-bottom: 14px; }
.cta-panel .urdu { color: var(--rose-300); font-size: 18px; margin-bottom: 12px; }
.cta-panel p { color: #b9c3d6; max-width: 60ch; margin: 0 auto 32px; }
.cta-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 16px; }
.cta-phone {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 6px 4px; /* keeps the tap target ≥ 44px */
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  color: var(--rose-300);
}
.cta-phone svg { width: 26px; height: 26px; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative;
  overflow: hidden;
  background: var(--navy-grad);
  color: #fff;
  padding: clamp(64px, 9vw, 110px) 0 clamp(56px, 7vw, 90px);
  text-align: center;
}
.page-hero::before {
  content: "";
  position: absolute;
  width: 520px; height: 520px;
  border-radius: 50%;
  right: -160px; top: -220px;
  background: radial-gradient(circle, rgba(238,195,184,0.25), transparent 68%);
}
.page-hero::after {
  content: "";
  position: absolute;
  width: 420px; height: 420px;
  border-radius: 50%;
  left: -150px; bottom: -220px;
  background: radial-gradient(circle, rgba(238,195,184,0.16), transparent 68%);
}
.page-hero .eyebrow { color: var(--rose-300); justify-content: center; }
.page-hero h1 { color: #fff; font-size: clamp(36px, 5.4vw, 60px); margin: 16px 0 12px; }
.page-hero p { color: #b9c3d6; max-width: 62ch; margin-inline: auto; }
.page-hero .urdu { color: var(--rose-300); margin-top: 10px; font-size: 17px; }
.breadcrumb {
  position: relative;
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 26px;
  font-size: 13.5px;
  color: #9fabc2;
  background: rgba(255,255,255,0.07);
  padding: 9px 20px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.1);
}
.breadcrumb a { color: var(--rose-300); font-weight: 600; }
.breadcrumb a:hover { color: #fff; }

/* ---------- Timeline (about) ---------- */
.timeline { position: relative; max-width: 780px; margin-inline: auto; }
.timeline::before {
  content: "";
  position: absolute;
  left: 26px; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(var(--rose-400), var(--navy-700));
}
.tl-item { position: relative; padding: 0 0 44px 84px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item .tl-dot {
  position: absolute;
  left: 13px; top: 2px;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--rose-500);
  display: grid; place-items: center;
  box-shadow: 0 0 0 6px rgba(238, 195, 184, 0.28);
}
.tl-item .tl-dot::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--rose-500); }
.tl-item h3 { font-size: 22px; margin-bottom: 6px; }
.tl-item .tl-year { font-size: 13px; font-weight: 700; letter-spacing: 2px; color: var(--rose-600); text-transform: uppercase; }
.tl-item p { color: var(--muted); font-size: 15.5px; margin-top: 6px; }

/* ---------- Values ---------- */
.value-tile {
  text-align: center;
  padding: 38px 26px;
}
.value-tile .card-icon { margin-inline: auto; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin-inline: auto; display: grid; gap: 14px; }
.faq-item {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}
.faq-item[open] { box-shadow: var(--shadow-card); border-color: var(--rose-300); }
.faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 20px 24px;
  font-weight: 600;
  font-size: 16.5px;
  color: var(--navy-800);
  cursor: pointer;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .chev {
  flex: none;
  width: 30px; height: 30px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--rose-100);
  color: var(--rose-600);
  transition: transform 0.3s var(--ease-out), background 0.3s, color 0.3s;
}
.faq-item summary .chev svg { width: 15px; height: 15px; }
.faq-item[open] summary .chev { transform: rotate(180deg); background: var(--navy-800); color: var(--rose-300); }
.faq-item .faq-body { padding: 0 24px 22px; color: var(--muted); font-size: 15.5px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 5vw, 60px); align-items: start; }

.info-card {
  background: var(--navy-grad);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(32px, 4vw, 46px);
  position: relative;
  overflow: hidden;
}
.info-card::before {
  content: "";
  position: absolute;
  width: 260px; height: 260px;
  border-radius: 50%;
  right: -90px; top: -90px;
  background: radial-gradient(circle, rgba(238,195,184,0.22), transparent 70%);
}
.info-card h3 { color: #fff; font-size: 27px; margin-bottom: 8px; }
.info-card > p { color: #b9c3d6; margin-bottom: 26px; font-size: 15px; }
.info-row { position: relative; display: flex; gap: 16px; padding: 16px 0; border-top: 1px solid rgba(255,255,255,0.1); }
.info-row .ic {
  flex: none;
  width: 46px; height: 46px;
  border-radius: 14px;
  display: grid; place-items: center;
  background: rgba(238, 195, 184, 0.14);
  color: var(--rose-300);
}
.info-row .ic svg { width: 21px; height: 21px; }
.info-row strong { display: block; font-size: 15.5px; color: #fff; }
.info-row span, .info-row a { color: #b9c3d6; font-size: 14.5px; }
.info-row a:hover { color: var(--rose-300); }

.form-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(30px, 4vw, 46px);
  box-shadow: var(--shadow-card);
}
.form-card h3 { font-size: 27px; margin-bottom: 6px; }
.form-card > p { color: var(--muted); font-size: 15px; margin-bottom: 26px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { display: flex; flex-direction: column; gap: 7px; }
.form-field--full { grid-column: 1 / -1; }
.form-field label { font-size: 13.5px; font-weight: 700; color: var(--navy-800); letter-spacing: 0.4px; }
.form-field input, .form-field select, .form-field textarea {
  font-family: inherit;
  font-size: 15.5px;
  color: var(--ink);
  padding: 14px 16px;
  border-radius: 12px;
  border: 1.5px solid var(--line);
  background: var(--cream);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  width: 100%;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none;
  border-color: var(--rose-500);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(201, 140, 127, 0.18);
}
.form-field textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: 13px; color: var(--muted); margin-top: 14px; }
.form-success {
  display: none;
  margin-top: 18px;
  padding: 16px 20px;
  border-radius: 12px;
  background: #eef7ef;
  border: 1px solid #bfe0c3;
  color: #2c6e38;
  font-weight: 600;
  font-size: 15px;
}
.form-success.show { display: block; animation: fade-up 0.5s var(--ease-out); }

.map-frame {
  margin-top: clamp(40px, 6vw, 64px);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
  background: linear-gradient(160deg, #f2e9e4, #e9dbd3);
  min-height: 300px;
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--muted);
  padding: 40px;
}
.map-frame svg { width: 54px; height: 54px; color: var(--rose-500); margin-inline: auto; margin-bottom: 14px; }

/* ---------- Hours table ---------- */
.hours-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.hours-table td { padding: 11px 0; border-top: 1px solid rgba(255,255,255,0.1); color: #b9c3d6; }
.hours-table td:last-child { text-align: right; color: #fff; font-weight: 600; }
.hours-table .today td { color: var(--rose-300); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-900);
  color: #a7b1c6;
  padding: clamp(56px, 7vw, 84px) 0 0;
  position: relative;
  overflow: hidden;
}
.site-footer::before {
  content: "";
  position: absolute;
  width: 480px; height: 480px;
  border-radius: 50%;
  right: -180px; top: -240px;
  background: radial-gradient(circle, rgba(238,195,184,0.12), transparent 70%);
}
.footer-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.9fr 1.1fr;
  gap: 44px;
  padding-bottom: 50px;
}
.footer-brand img { width: 76px; border-radius: 50%; margin-bottom: 18px; box-shadow: 0 10px 26px -8px rgba(0,0,0,0.5); }
.footer-brand h3 { color: #fff; font-size: 22px; margin-bottom: 8px; }
.footer-brand p { font-size: 14.5px; max-width: 34ch; }
.footer-brand .urdu { margin-top: 12px; font-size: 15px; color: var(--rose-300); }

.site-footer h4 {
  color: #fff;
  font-size: 15px;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  margin-bottom: 20px;
  font-weight: 700;
}
.footer-links { list-style: none; display: grid; gap: 11px; font-size: 14.5px; }
.footer-links a { display: inline-flex; align-items: center; gap: 9px; transition: color 0.2s ease, transform 0.2s ease; }
.footer-links a::before { content: "—"; color: var(--rose-500); font-weight: 700; transition: transform 0.25s var(--ease-out); }
.footer-links a:hover { color: var(--rose-300); }
.footer-links a:hover::before { transform: translateX(4px); }

.footer-contact { list-style: none; display: grid; gap: 15px; font-size: 14.5px; }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; }
.footer-contact svg { width: 17px; height: 17px; color: var(--rose-400); flex: none; margin-top: 3px; }
.footer-contact a:hover { color: var(--rose-300); }

.footer-bottom {
  position: relative;
  border-top: 1px solid rgba(255,255,255,0.09);
  padding: 22px 0;
  font-size: 13.5px;
}
.footer-bottom .container { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; }
.footer-bottom a { color: var(--rose-300); }

/* ---------- Emergency float ---------- */
.float-call {
  position: fixed;
  right: 22px; bottom: 22px;
  z-index: 70;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  background: var(--gold-grad);
  color: var(--navy-900);
  font-weight: 700;
  font-size: 15px;
  box-shadow: 0 18px 40px -12px rgba(176, 106, 92, 0.6);
  transition: transform 0.25s var(--ease-spring), box-shadow 0.25s ease;
}
.float-call:hover { transform: translateY(-4px) scale(1.03); }
.float-call svg { width: 19px; height: 19px; }
.float-call .pulse {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  animation: call-pulse 2.4s ease-out infinite;
  border: 2px solid rgba(217, 160, 140, 0.9);
  pointer-events: none;
}
@keyframes call-pulse {
  0% { transform: scale(1); opacity: 0.9; }
  100% { transform: scale(1.25); opacity: 0; }
}

/* ---------- Scroll reveal ---------- */
.reveal, .reveal-left, .reveal-right, .reveal-scale {
  opacity: 0;
  transition: opacity 0.85s var(--ease-out), transform 0.85s var(--ease-out);
  will-change: opacity, transform;
}
.reveal { transform: translateY(38px); }
.reveal-left { transform: translateX(-46px); }
.reveal-right { transform: translateX(46px); }
.reveal-scale { transform: scale(0.9); }
.in-view { opacity: 1; transform: none; }

/* Stagger children */
.stagger > * {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.stagger.in-view > * { opacity: 1; transform: none; }
.stagger.in-view > *:nth-child(1) { transition-delay: 0.05s; }
.stagger.in-view > *:nth-child(2) { transition-delay: 0.15s; }
.stagger.in-view > *:nth-child(3) { transition-delay: 0.25s; }
.stagger.in-view > *:nth-child(4) { transition-delay: 0.35s; }
.stagger.in-view > *:nth-child(5) { transition-delay: 0.45s; }
.stagger.in-view > *:nth-child(6) { transition-delay: 0.55s; }
.stagger.in-view > *:nth-child(7) { transition-delay: 0.65s; }
.stagger.in-view > *:nth-child(8) { transition-delay: 0.75s; }

@keyframes fade-up {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

/* Hero entrance (on load) */
.hero-copy > * { opacity: 0; animation: fade-up 0.9s var(--ease-out) forwards; }
.hero-copy > *:nth-child(1) { animation-delay: 0.1s; }
.hero-copy > *:nth-child(2) { animation-delay: 0.22s; }
.hero-copy > *:nth-child(3) { animation-delay: 0.34s; }
.hero-copy > *:nth-child(4) { animation-delay: 0.46s; }
.hero-copy > *:nth-child(5) { animation-delay: 0.58s; }
.hero-copy > *:nth-child(6) { animation-delay: 0.7s; }
.hero-visual { opacity: 0; animation: fade-up 1.1s var(--ease-out) 0.35s forwards; }

/* ---------- Back to top progress ---------- */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: var(--gold-grad);
  z-index: 90;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 38px; }
  .stat + .stat { border-left: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 880px) {
  .hero .container { grid-template-columns: 1fr; text-align: center; }
  .hero-lede { margin-inline: auto; }
  .hero-actions, .hero-trust { justify-content: center; }
  .hero-visual { order: -1; margin-top: 10px; }
  .hero-emblem { width: min(330px, 76vw); }
  .chip--tl { left: 0; }
  .chip--br { right: 0; }
  .split { grid-template-columns: 1fr; }
  .split-media { max-width: 460px; margin-inline: auto; }
  .contact-grid { grid-template-columns: 1fr; }

  .nav-toggle { display: inline-flex; }
  /* Note: the sticky header's backdrop-filter creates a containing block,
     so the drawer is positioned absolutely below the header instead of fixed. */
  .nav-links {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--paper);
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 18px 22px 26px;
    border-top: 1px solid var(--line);
    box-shadow: 0 40px 60px -30px rgba(22, 33, 62, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: transform 0.35s var(--ease-out), opacity 0.3s ease, visibility 0.3s;
    max-height: calc(100vh - 90px);
    overflow-y: auto;
    z-index: 55;
  }
  .nav-links.open { opacity: 1; visibility: visible; transform: translateY(0); }
  .nav-links a { font-size: 17px; padding: 14px 16px; }
  .nav-cta { margin: 14px 0 0; justify-content: center; }
  .nav-toggle { position: relative; z-index: 60; }
  .topbar .topbar-hide-sm { display: none; }
}

@media (max-width: 880px) {
  /* Comfortable touch targets on touch devices */
  .footer-links a, .footer-contact a { padding: 9px 0; display: inline-flex; }
  .topbar a { padding: 10px 4px; display: inline-block; }
  .breadcrumb a { padding: 8px 2px; display: inline-block; }
}

@media (max-width: 620px) {
  .grid--3, .grid--4, .grid--2, .form-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .floating-stat { right: 0; bottom: -20px; padding: 15px 20px; }
  .float-call span.txt { display: none; }
  .float-call { padding: 16px; }
  .testimonials-track { grid-auto-columns: 86%; }
  .topbar .container { justify-content: center; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
  }
  .reveal, .reveal-left, .reveal-right, .reveal-scale, .stagger > *, .hero-copy > *, .hero-visual { opacity: 1; transform: none; }
}

/* ---------- WhatsApp ---------- */
.btn--wa { background: linear-gradient(135deg, #2bd268, #1ebe5d); color: #fff; box-shadow: 0 18px 40px -14px rgba(30, 190, 93, 0.55); }
.btn--wa:hover { transform: translateY(-3px); box-shadow: 0 22px 44px -14px rgba(30, 190, 93, 0.6); }
.btn--wa svg { fill: currentColor; }
.float-wa {
  position: fixed;
  right: 22px; bottom: 92px;
  z-index: 70;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, #2bd268, #1ebe5d);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  box-shadow: 0 18px 40px -12px rgba(30, 190, 93, 0.5);
  transition: transform 0.25s var(--ease-spring), box-shadow 0.25s ease;
}
.float-wa:hover { transform: translateY(-4px) scale(1.03); color: #fff; }
.float-wa svg { width: 20px; height: 20px; fill: currentColor; }
@media (max-width: 720px) {
  .float-wa span.txt { display: none; }
  .float-wa { padding: 16px; bottom: 88px; }
}
