/* =========================================================
   NUGHANNIK — styles
   Brand: deep navy, gold for key actions, silver for secondary.
   ========================================================= */
:root {
  --navy-950: #041330;
  --navy-900: #071d45;
  --navy: #0b2a5e;
  --navy-600: #1a4592;
  --gold: #d4a233;
  --gold-600: #b8862a;
  --gold-100: #f8eed6;
  --silver: #8793a4;
  --silver-300: #cbd2dc;
  --silver-100: #eef1f5;
  --wa: #1fa855;

  --bg: #f6f8fb;
  --surface: #ffffff;
  --surface-2: #eef2f7;
  --ink: #0b1c38;
  --ink-2: #4a5870;
  --line: #dde3eb;
  --glass: rgba(255, 255, 255, 0.72);
  --glass-line: rgba(255, 255, 255, 0.7);
  --media-bg: #f2f4f7;
  --shadow: 0 1px 2px rgba(7, 29, 69, 0.06), 0 8px 24px -12px rgba(7, 29, 69, 0.18);
  --road: #1c2a44;

  --r-lg: 28px;
  --r-md: 18px;
  --r-sm: 12px;
  --maxw: 1200px;
  --font: 'Readex Pro', 'IBM Plex Sans Arabic', 'Segoe UI', Tahoma, system-ui, sans-serif;
  --font-ur: 'Noto Nastaliq Urdu', 'Jameel Noori Nastaleeq', 'Readex Pro', Tahoma, serif;

  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    --bg: #051431;
    --surface: #0b1f45;
    --surface-2: #0f2653;
    --ink: #eaf0f8;
    --ink-2: #a9b6ca;
    --line: rgba(255, 255, 255, 0.1);
    --glass: rgba(9, 27, 61, 0.72);
    --glass-line: rgba(255, 255, 255, 0.1);
    --media-bg: #eef1f5;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 10px 30px -14px rgba(0, 0, 0, 0.6);
    --silver-100: #13295a;
    color-scheme: dark;
  }
}
:root[data-theme='dark'] {
  --bg: #051431;
  --surface: #0b1f45;
  --surface-2: #0f2653;
  --ink: #eaf0f8;
  --ink-2: #a9b6ca;
  --line: rgba(255, 255, 255, 0.1);
  --glass: rgba(9, 27, 61, 0.72);
  --glass-line: rgba(255, 255, 255, 0.1);
  --media-bg: #eef1f5;
  --silver-100: #13295a;
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: inherit;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(env(safe-area-inset-top, 0px) + 84px);
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
html[data-lang='en'] body {
  line-height: 1.6;
}
html[data-lang='ur'] body {
  font-family: var(--font-ur);
  font-size: 1rem;
  line-height: 2.15;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: inherit;
}
h1,
h2,
h3,
h4 {
  margin: 0;
  line-height: 1.3;
  font-weight: 700;
}
html[data-lang='ur'] :is(h1, h2, h3, h4) {
  line-height: 1.9;
  font-weight: 700;
}
p {
  margin: 0;
}
button {
  font: inherit;
  color: inherit;
}
:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 8px;
}
.sr {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.skip {
  position: absolute;
  inset-inline-start: 12px;
  top: -60px;
  z-index: 100;
  background: var(--navy);
  color: #fff;
  padding: 10px 16px;
  border-radius: 10px;
}
.skip:focus {
  top: calc(env(safe-area-inset-top, 0px) + 10px);
}
.ic {
  width: 1.35em;
  height: 1.35em;
  flex: none;
}
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 20px;
}
.narrow {
  max-width: 860px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 10px 22px;
  border-radius: 14px;
  border: 1.5px solid transparent;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  text-align: center;
  line-height: 1.3;
  transition:
    background-color 0.2s,
    border-color 0.2s,
    color 0.2s,
    transform 0.15s;
}
.btn:active {
  transform: translateY(1px);
}
.btn-sm {
  min-height: 42px;
  padding: 8px 16px;
  font-size: 0.95rem;
  border-radius: 12px;
}
.btn-lg {
  min-height: 56px;
  padding: 12px 28px;
  font-size: 1.05rem;
}
.btn-block {
  width: 100%;
}
.btn-gold {
  background: var(--gold);
  color: var(--navy-950);
  box-shadow: 0 6px 18px -8px rgba(184, 134, 42, 0.8);
}
.btn-gold:hover {
  background: #e0b245;
}
.btn-navy {
  background: var(--navy);
  color: #fff;
}
.btn-navy:hover {
  background: var(--navy-600);
}
.btn-outline {
  border-color: var(--silver-300);
  background: var(--surface);
  color: var(--ink);
}
.btn-outline:hover {
  border-color: var(--gold);
}
html[data-lang='ur'] .btn {
  line-height: 1.8;
  padding-block: 6px;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0;
  inset-inline: 0;
  z-index: 50;
  padding-top: env(safe-area-inset-top, 0px);
  background: var(--glass);
  -webkit-backdrop-filter: saturate(1.4) blur(16px);
  backdrop-filter: saturate(1.4) blur(16px);
  border-bottom: 1px solid transparent;
  transition:
    transform 0.3s ease,
    border-color 0.3s,
    box-shadow 0.3s;
}
.site-header.scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px -18px rgba(7, 29, 69, 0.5);
}
.site-header.hidden-up {
  transform: translateY(-110%);
}
html.drawer-open .site-header {
  background: var(--surface);
}
.bar {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 72px;
}
.brand {
  display: inline-flex;
  align-items: center;
  flex: none;
  border-radius: 12px;
}
.brand img {
  height: 46px;
  width: auto;
}
.nav-main {
  display: none;
  gap: 4px;
  margin-inline: auto;
}
.nav-main a {
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 10px;
  color: var(--ink-2);
  font-weight: 500;
  font-size: 0.95rem;
  white-space: nowrap;
}
.nav-main a:hover {
  color: var(--ink);
  background: var(--silver-100);
}
.bar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-inline-start: auto;
}
.lang-switch {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border-radius: 12px;
  background: var(--silver-100);
  border: 1px solid var(--line);
}
.lang-globe {
  width: 18px;
  height: 18px;
  color: var(--silver);
  margin-inline: 6px 2px;
  display: none;
}
.lang-btn {
  min-width: 40px;
  height: 34px;
  padding: 0 10px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  cursor: pointer;
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ink-2);
}
.lang-btn[lang='ur'] {
  font-family: var(--font-ur);
  font-size: 0.85rem;
  line-height: 1;
}
.lang-btn[aria-pressed='true'] {
  background: var(--navy);
  color: #fff;
}
.menu-toggle {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--surface);
  display: grid;
  place-items: center;
  cursor: pointer;
}
.drawer {
  border-top: 1px solid var(--line);
  background: var(--surface);
  max-height: calc(100dvh - 72px);
  overflow: auto;
}
.drawer nav {
  display: flex;
  flex-direction: column;
  padding-block: 12px 20px;
}
.drawer nav > a {
  padding: 14px 4px;
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid var(--line);
}
.drawer-cta {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}
.hide-mobile {
  display: none;
}
@media (min-width: 720px) {
  .hide-mobile {
    display: inline-flex;
  }
  .lang-globe {
    display: block;
  }
}
@media (min-width: 1080px) {
  .nav-main {
    display: flex;
  }
  .menu-toggle,
  .drawer {
    display: none !important;
  }
}
@media (max-width: 380px) {
  .brand img {
    height: 38px;
  }
  .lang-btn {
    min-width: 34px;
    padding: 0 7px;
  }
}

/* ---------- Hero ---------- */
.hero {
  padding-top: calc(env(safe-area-inset-top, 0px) + 96px);
  padding-bottom: 24px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(900px 400px at 85% -10%, rgba(26, 69, 146, 0.12), transparent 60%),
    radial-gradient(700px 360px at 0% 30%, rgba(212, 162, 51, 0.1), transparent 60%);
}
.hero-grid {
  display: grid;
  gap: 28px;
  align-items: center;
}
.hero-chips {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.hero-chips li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--ink-2);
  font-size: 0.9rem;
  font-weight: 500;
}
.hero-chips .ic {
  color: var(--gold-600);
  width: 18px;
  height: 18px;
}
.hero-title {
  font-size: clamp(2.3rem, 7.4vw, 4.6rem);
  line-height: 1.12;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.01em;
  max-width: 14ch;
  text-wrap: balance;
}
html[data-lang='en'] .hero-title {
  letter-spacing: -0.03em;
  max-width: 16ch;
}
html[data-lang='ur'] .hero-title {
  font-size: clamp(1.9rem, 5.6vw, 3.4rem);
  line-height: 1.9;
  max-width: 18ch;
}
.hero-sub {
  margin-top: 18px;
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  color: var(--ink-2);
  max-width: 56ch;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.hero-cta .btn {
  flex: 1 1 220px;
}
.hero-brand {
  display: none;
}
.hero-photo {
  margin: 36px auto 0;
  position: relative;
}
.hero-photo picture,
.hero-photo > picture img {
  display: block;
}
.hero-photo img {
  width: 100%;
  height: clamp(190px, 30vw, 370px);
  object-fit: cover;
  object-position: center 75%;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
}
.hero-note {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: -34px;
  margin-inline: 14px;
  position: relative;
  padding: 14px 18px;
  border-radius: var(--r-md);
  background: var(--glass);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border: 1px solid var(--glass-line);
  box-shadow: var(--shadow);
  font-weight: 600;
  color: var(--ink);
}
.hero-note .ic {
  color: var(--gold-600);
  width: 28px;
  height: 28px;
}
@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1.35fr 1fr;
  }
  .hero-cta .btn {
    flex: 0 0 auto;
  }
  .hero-brand {
    display: block;
    padding: 28px;
    border-radius: var(--r-lg);
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  .hero-brand img {
    width: 100%;
  }
  .hero-note {
    position: absolute;
    inset-inline-start: 44px;
    bottom: -26px;
    margin: 0;
    max-width: 460px;
  }
  .hero {
    padding-bottom: 60px;
  }
}
/* the one orchestrated load moment */
.hero-title,
.hero-sub,
.hero-cta,
.hero-photo img,
.hero-note {
  animation: rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
.hero-sub {
  animation-delay: 0.08s;
}
.hero-cta {
  animation-delay: 0.16s;
}
.hero-photo img {
  animation-delay: 0.22s;
}
.hero-note {
  animation-delay: 0.4s;
}
html.ready .hero * {
  animation: none;
}
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Sections ---------- */
.section {
  padding-block: clamp(64px, 9vw, 112px);
}
.sec-head {
  max-width: 720px;
  margin-bottom: 36px;
}
.sec-head h2 {
  font-size: clamp(1.75rem, 4vw, 2.6rem);
  color: var(--navy);
  letter-spacing: -0.01em;
  text-wrap: balance;
}
html[data-lang='ur'] .sec-head h2 {
  font-size: clamp(1.5rem, 3.4vw, 2.1rem);
}
.sec-head p {
  margin-top: 12px;
  color: var(--ink-2);
  font-size: 1.08rem;
}
.sec-head h2::after {
  content: '';
  display: block;
  width: 56px;
  height: 4px;
  border-radius: 4px;
  background: var(--gold);
  margin-top: 14px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) :is(.sec-head h2, .hero-title) {
    color: #fff;
  }
}
:root[data-theme='dark'] :is(.sec-head h2, .hero-title) {
  color: #fff;
}

/* ---------- Services ---------- */
/* `flex-wrap` instead of a fixed column count: the catalogue's category
   count is read from the database (fetch-catalog.mjs) and isn't a constant
   3 or 9 the layout can be tuned around. */
.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 6px;
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.tab {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex: 1 1 108px;
  min-height: 52px;
  padding: 8px 10px;
  border: 0;
  border-radius: 13px;
  background: transparent;
  cursor: pointer;
  font-weight: 600;
  color: var(--ink-2);
  font-size: 0.95rem;
  line-height: 1.3;
}
.tab .ic {
  color: var(--silver);
}
.tab-emoji {
  font-size: 1.15em;
  line-height: 1;
}
.tab[aria-selected='true'] {
  background: var(--navy);
  color: #fff;
}
.tab[aria-selected='true'] .ic {
  color: var(--gold);
}
@media (max-width: 520px) {
  .tab {
    flex-direction: column;
    gap: 2px;
    font-size: 0.85rem;
    min-height: 64px;
    flex-basis: 30%;
  }
}
html[data-lang='ur'] .tab {
  line-height: 1.7;
}
.tab-panel {
  margin-top: 30px;
}
.panel-title {
  font-size: 1.35rem;
  color: var(--ink);
}
.panel-desc {
  color: var(--ink-2);
  margin-top: 4px;
}
.svc-grid {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (min-width: 760px) {
  .svc-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
  }
}
@media (min-width: 1080px) {
  .svc-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
.svc-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.svc-media {
  aspect-ratio: 3 / 2;
  background: var(--media-bg);
  display: grid;
  place-items: center;
  padding: 10px;
}
.svc-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.svc-media--icon {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-600) 100%);
  color: var(--gold);
}
.svc-media--icon .ic {
  width: 56px;
  height: 56px;
  stroke-width: 1.4;
}
/* The catalogue's own icon_key (set per type from /admin/catalog) is an emoji,
   not one of the hand-drawn SVGs above — most active types have no photo yet
   (see TYPE_PHOTOS in render.js) and fall back to this instead. */
.type-emoji {
  font-size: 2.75rem;
  line-height: 1;
}
.svc-body {
  padding: 14px 16px 18px;
}
.svc-body h4 {
  font-size: 1.05rem;
  color: var(--ink);
}
.svc-body p {
  margin-top: 6px;
  font-size: 0.93rem;
  color: var(--ink-2);
  line-height: 1.6;
}
html[data-lang='ur'] .svc-body p {
  line-height: 2;
}
@media (max-width: 420px) {
  .svc-body {
    padding: 12px;
  }
  .svc-body p {
    font-size: 0.88rem;
  }
}
.catalog {
  margin-top: 32px;
  width: 100%;
  display: grid;
  gap: 0;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--navy);
  color: #fff;
  cursor: zoom-in;
  text-align: start;
}
.catalog img {
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
  object-position: top;
  background: #fff;
}
.catalog-text {
  display: grid;
  gap: 4px;
  padding: 20px 22px;
}
.catalog-text strong {
  font-size: 1.15rem;
}
.catalog-text span {
  color: #c9d3e3;
}
.catalog-open {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  color: var(--gold) !important;
  font-weight: 600;
  margin-top: 6px;
}
@media (min-width: 900px) {
  .catalog {
    grid-template-columns: 1.6fr 1fr;
    align-items: center;
  }
  .catalog img {
    aspect-ratio: 16 / 8;
    height: 100%;
  }
  .catalog-text {
    padding: 28px 32px;
  }
}

/* ---------- Road timeline (signature element) ---------- */
.road {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
  --progress: 0;
  --rx: 22px;
}
.road::before,
.road::after {
  content: '';
  position: absolute;
  top: 8px;
  bottom: 8px;
  inset-inline-start: var(--rx);
  border-radius: 14px;
}
.road::before {
  width: 16px;
  background-color: var(--road);
  background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.85) 55%, transparent 55%);
  background-size: 2px 22px;
  background-repeat: repeat-y;
  background-position: center top;
}
.road::after {
  width: 16px;
  background: linear-gradient(to bottom, var(--gold), #f0c860);
  opacity: 0.95;
  bottom: auto;
  height: calc((100% - 16px) * var(--progress));
  transition: height 0.15s linear;
}
.stop {
  position: relative;
  padding-inline-start: 66px;
}
.stop + .stop {
  margin-top: 14px;
}
.stop-pin {
  position: absolute;
  inset-inline-start: calc(var(--rx) - 12px);
  top: 14px;
  z-index: 1;
  width: 40px;
  height: 40px;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  background: var(--surface);
  border: 2.5px solid var(--silver-300);
  display: grid;
  place-items: center;
  transition:
    background-color 0.3s,
    border-color 0.3s;
}
.stop-pin b {
  transform: rotate(45deg);
  font-family: 'Readex Pro', system-ui, sans-serif;
  font-size: 0.95rem;
  color: var(--navy);
  line-height: 1;
}
.stop.reached .stop-pin {
  background: var(--gold);
  border-color: var(--gold-600);
}
.stop.reached .stop-pin b {
  color: var(--navy-950);
}
.stop-card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 18px;
  border-radius: var(--r-md);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.stop-ic {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--silver-100);
  color: var(--navy);
}
html[data-lang='ur'] .road {
  --card-h: 150px;
}
.stop-card h3 {
  font-size: 1.05rem;
  color: var(--ink);
}
.stop-card p {
  margin-top: 4px;
  color: var(--ink-2);
  font-size: 0.95rem;
  line-height: 1.6;
}
html[data-lang='ur'] .stop-card p {
  line-height: 2;
}
@media (min-width: 900px) {
  .road {
    --rx: calc(50% - 8px);
  }
  .stop {
    width: 50%;
    padding-inline-start: 0;
    padding-inline-end: 58px;
  }
  .stop:nth-child(even) {
    margin-inline-start: 50%;
    padding-inline-start: 58px;
    padding-inline-end: 0;
  }
  .road {
    --card-h: 112px;
  }
  .stop-card {
    min-height: var(--card-h);
    align-items: center;
  }
  .stop-pin {
    top: calc(var(--card-h) / 2 - 20px);
  }
  .stop + .stop {
    margin-top: calc(var(--card-h) * -0.34);
  }
  .stop:nth-child(odd) .stop-pin {
    inset-inline-start: auto;
    inset-inline-end: -20px;
  }
  .stop:nth-child(even) .stop-pin {
    inset-inline-start: -20px;
  }
  .stop:nth-child(odd) .stop-card {
    flex-direction: row-reverse;
    text-align: end;
  }
}
/* provider variant: dark band */
.road-sec--provider {
  background: var(--navy-900);
  color: #fff;
  --road: #26406e;
  position: relative;
  overflow: hidden;
}
.road-sec--provider::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(700px 360px at 90% 0%, rgba(212, 162, 51, 0.14), transparent 60%);
  pointer-events: none;
}
.road-sec--provider .container {
  position: relative;
}
.road-sec--provider .sec-head h2 {
  color: #fff;
}
.road-sec--provider .sec-head p {
  color: #b9c5d8;
}
.road-sec--provider .stop-card {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: none;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.road-sec--provider .stop-card h3 {
  color: #fff;
}
.road-sec--provider .stop-card p {
  color: #b9c5d8;
}
.road-sec--provider .stop-ic {
  background: rgba(212, 162, 51, 0.14);
  color: var(--gold);
}
.road-sec--provider .stop-pin {
  background: var(--navy-900);
  border-color: #3a5487;
}
.road-sec--provider .stop-pin b {
  color: #fff;
}
.road-sec--provider .stop.reached .stop-pin {
  background: var(--gold);
  border-color: var(--gold-600);
}
.road-sec--provider .stop.reached .stop-pin b {
  color: var(--navy-950);
}

/* ---------- Order types ---------- */
.otypes {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}
@media (max-width: 400px) {
  .otypes {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .otype {
    padding: 16px 14px;
  }
  .otype p {
    font-size: 0.88rem;
  }
}
.otype {
  padding: 20px;
  border-radius: var(--r-md);
  background: var(--surface);
  border: 1px solid var(--line);
}
.otype-ic {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--gold-100);
  color: var(--gold-600);
  margin-bottom: 12px;
}
.otype h3 {
  font-size: 1.05rem;
}
.otype p {
  color: var(--ink-2);
  font-size: 0.95rem;
  margin-top: 6px;
  line-height: 1.6;
}
html[data-lang='ur'] .otype p {
  line-height: 2;
}
.example {
  margin-top: 22px;
  display: grid;
  gap: 24px;
  padding: 24px;
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.example h3 {
  font-size: 1.2rem;
  color: var(--navy);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .example h3 {
    color: var(--gold);
  }
}
.example p {
  color: var(--ink-2);
  margin-top: 8px;
}
.example-diagram {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.ex-col {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  padding: 14px;
  border-radius: var(--r-md);
  background: var(--surface-2);
  border: 1px dashed var(--silver-300);
}
.ex-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--ink);
}
.ex-label .ic {
  color: var(--gold-600);
}
.ex-box {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: 0.86rem;
  color: var(--ink-2);
}
.ex-box .ic {
  width: 18px;
  height: 18px;
  color: var(--navy-600);
}
.ex-box--one {
  flex-direction: column;
  align-items: stretch;
  border: 2px solid var(--gold);
}
.ex-box--one span {
  display: flex;
  align-items: center;
  gap: 6px;
}
.ex-split {
  display: grid;
  gap: 8px;
}
.ex-arrow {
  align-self: center;
  width: 2px;
  height: 18px;
  background: var(--silver);
  position: relative;
}
.ex-arrow::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: -4px;
  border: 5px solid transparent;
  border-top-color: var(--silver);
  border-bottom: 0;
}
.ex-prov {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px;
  border-radius: 10px;
  background: var(--navy);
  color: #fff;
  font-size: 0.86rem;
  font-weight: 600;
  text-align: center;
  line-height: 1.4;
}
.ex-prov .ic {
  color: var(--gold);
  width: 18px;
  height: 18px;
}
@media (min-width: 900px) {
  .example {
    grid-template-columns: 1fr 1.1fr;
    align-items: center;
    padding: 32px;
  }
}

/* ---------- Why ---------- */
.why-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--line);
}
.why-grid li {
  display: flex;
  gap: 16px;
  padding: 22px 4px;
  border-bottom: 1px solid var(--line);
}
.why-ic {
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--navy);
  color: var(--gold);
}
.why-grid h3 {
  font-size: 1.05rem;
}
.why-grid p {
  color: var(--ink-2);
  font-size: 0.95rem;
  margin-top: 2px;
}
@media (min-width: 700px) {
  .why-grid {
    grid-template-columns: 1fr 1fr;
    column-gap: 40px;
  }
}
@media (min-width: 1080px) {
  .why-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ---------- Audience ---------- */
.audience {
  background: var(--surface-2);
}
.aud-groups {
  display: grid;
  gap: 28px;
}
@media (min-width: 900px) {
  .aud-groups {
    grid-template-columns: 2fr 1fr;
    gap: 36px;
  }
}
.aud-h {
  font-size: 1rem;
  color: var(--ink-2);
  font-weight: 600;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.aud-h::before {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--navy-600);
}
.aud-h--gold::before {
  background: var(--gold);
}
.aud-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (min-width: 700px) {
  .aud-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (min-width: 900px) {
  .aud-list--prov {
    grid-template-columns: 1fr;
  }
}
.aud-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border-radius: var(--r-md);
  background: var(--surface);
  border: 1px solid var(--line);
  font-weight: 600;
}
.aud-list li .ic {
  color: var(--navy-600);
  width: 26px;
  height: 26px;
}
.aud-list--prov li {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}
.aud-list--prov li .ic {
  color: var(--gold);
}

/* ---------- Provider CTA ---------- */
.pcta {
  display: grid;
  gap: 28px;
  align-items: center;
  padding: clamp(26px, 5vw, 56px);
  border-radius: var(--r-lg);
  background: linear-gradient(135deg, var(--navy-950) 0%, var(--navy) 60%, var(--navy-600) 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.pcta::after {
  content: '';
  position: absolute;
  inset-inline-end: -80px;
  top: -60px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  border: 18px solid rgba(212, 162, 51, 0.18);
  pointer-events: none;
  display: none;
}
@media (min-width: 900px) {
  .pcta::after {
    display: block;
  }
}
.pcta h2 {
  font-size: clamp(1.6rem, 4vw, 2.5rem);
  text-wrap: balance;
}
html[data-lang='ur'] .pcta h2 {
  font-size: clamp(1.4rem, 3.4vw, 2rem);
}
.pcta-copy > p {
  margin-top: 12px;
  color: #cdd7e7;
  font-size: 1.1rem;
  max-width: 52ch;
}
.pcta-points {
  list-style: none;
  padding: 0;
  margin: 22px 0 28px;
  display: grid;
  gap: 10px;
}
.pcta-points li {
  display: flex;
  align-items: center;
  gap: 10px;
}
.pcta-points .ic {
  color: var(--gold);
}
.pcta-url {
  display: block;
  margin-top: 14px;
  color: #cdd7e7;
  font-size: 0.95rem;
  width: fit-content;
}
.pcta-qr {
  margin: 0;
  justify-self: center;
  background: #fff;
  padding: 16px;
  border-radius: 22px;
  border: 3px solid var(--gold);
  text-align: center;
  position: relative;
  z-index: 1;
}
.pcta-qr img {
  width: 180px;
  height: 180px;
}
.pcta-qr figcaption {
  color: var(--navy);
  font-weight: 700;
  margin-top: 6px;
  font-size: 0.95rem;
}
@media (min-width: 900px) {
  .pcta {
    grid-template-columns: 1fr auto;
  }
  .pcta-qr img {
    width: 210px;
    height: 210px;
  }
}
@media (max-width: 520px) {
  .pcta .btn {
    width: 100%;
  }
}

/* ---------- FAQ ---------- */
.faq {
  display: grid;
  gap: 10px;
}
.faq details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
}
.faq details[open] {
  border-color: var(--gold);
}
.faq summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.03rem;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq-ic {
  color: var(--gold-600);
  transition: transform 0.25s;
}
.faq details[open] .faq-ic {
  transform: rotate(45deg);
}
.faq-a {
  padding: 0 20px 20px;
  color: var(--ink-2);
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  gap: 18px;
}
@media (min-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr 1.2fr;
  }
}
.contact-info {
  display: grid;
  gap: 12px;
}
.cinfo {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  border-radius: var(--r-md);
  background: var(--surface);
  border: 1px solid var(--line);
  text-decoration: none;
}
.cinfo > .ic {
  width: 48px;
  height: 48px;
  padding: 12px;
  border-radius: 14px;
  background: var(--navy);
  color: var(--gold);
}
.cinfo small {
  display: block;
  color: var(--ink-2);
  font-size: 0.9rem;
}
.cinfo > span {
  min-width: 0;
}
.cinfo b {
  display: block;
  font-size: clamp(0.98rem, 4.2vw, 1.15rem);
  font-family: 'Readex Pro', system-ui, sans-serif;
  overflow-wrap: anywhere;
}
.contact-actions {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr 1fr;
}
.cbtn {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  min-height: 120px;
  padding: 18px;
  border-radius: var(--r-md);
  text-decoration: none;
  font-weight: 600;
  line-height: 1.4;
  background: var(--surface);
  border: 1px solid var(--line);
  transition:
    border-color 0.2s,
    transform 0.15s;
}
.cbtn:hover {
  border-color: var(--navy-600);
}
.cbtn .ic {
  width: 30px;
  height: 30px;
  color: var(--navy-600);
}
.cbtn-wa {
  background: var(--wa);
  color: #fff;
  border-color: var(--wa);
}
.cbtn-wa .ic {
  color: #fff;
}
.cbtn-gold {
  background: var(--gold);
  color: var(--navy-950);
  border-color: var(--gold);
}
.cbtn-gold .ic {
  color: var(--navy-950);
}
html[data-lang='ur'] .cbtn {
  line-height: 1.9;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-950);
  color: #c3cde0;
  padding-top: 56px;
}
.foot-grid {
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr 1fr;
}
.foot-brand {
  grid-column: 1 / -1;
}
.foot-logo {
  display: inline-block;
  background: #fff;
  padding: 10px 14px;
  border-radius: 14px;
}
.foot-logo img {
  height: 54px;
  width: auto;
}
.foot-brand p {
  margin-top: 14px;
  max-width: 46ch;
  font-size: 0.95rem;
}
.site-footer h3 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 12px;
}
.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.site-footer a {
  color: #c3cde0;
  text-decoration: none;
  font-size: 0.95rem;
}
.site-footer a:hover {
  color: var(--gold);
}
.flangs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}
.flang {
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  color: #fff;
  padding: 6px 14px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.9rem;
}
.flang[lang='ur'] {
  font-family: var(--font-ur);
}
.flang[lang='en'],
.flang[lang='ar'] {
  font-family: var(--font);
}
.flang[aria-pressed='true'] {
  background: var(--gold);
  color: var(--navy-950);
  border-color: var(--gold);
}
.foot-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
  margin-top: 44px;
  padding-block: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.88rem;
}
.legal-links {
  display: flex;
  gap: 18px;
}
@media (min-width: 900px) {
  .foot-grid {
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
  }
  .foot-brand {
    grid-column: auto;
  }
}

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed;
  z-index: 40;
  inset-inline-end: 18px;
  bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--wa);
  color: #fff;
  box-shadow: 0 10px 24px -8px rgba(31, 168, 85, 0.7);
}
.wa-float .ic {
  width: 30px;
  height: 30px;
}
html.dlg-open .wa-float,
html.drawer-open .wa-float {
  display: none;
}

/* ---------- Dialogs ---------- */
.dlg {
  border: 0;
  padding: 0;
  border-radius: 24px;
  width: min(560px, calc(100vw - 24px));
  max-height: calc(100dvh - 24px);
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.5);
}
.dlg::backdrop {
  background: rgba(4, 19, 48, 0.55);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.dlg[open] {
  animation: pop 0.22s ease-out;
}
@keyframes pop {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.dlg-inner {
  padding: 22px;
  display: grid;
  gap: 14px;
}
.dlg-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.dlg-head h2 {
  font-size: 1.35rem;
  color: var(--navy);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .dlg-head h2 {
    color: #fff;
  }
}
.icon-btn {
  width: 42px;
  height: 42px;
  flex: none;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--surface-2);
  display: grid;
  place-items: center;
  cursor: pointer;
}
.legal-body {
  display: grid;
  gap: 12px;
  color: var(--ink-2);
}
.legal-body h3 {
  color: var(--navy);
  font-size: 1.05rem;
  margin-top: 8px;
}
.legal-body h3:first-child {
  margin-top: 0;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .legal-body h3 {
    color: #fff;
  }
}
:root[data-theme='dark'] .legal-body h3 {
  color: #fff;
}
.dlg-lightbox {
  width: min(1400px, calc(100vw - 16px));
  background: #fff;
  padding: 0;
}
.lb-scroll {
  overflow: auto;
  max-height: calc(100dvh - 24px);
}
.lb-scroll img {
  width: 100%;
  min-width: 820px;
}
.lb-close {
  position: sticky;
  float: inline-end;
  top: 8px;
  margin: 8px;
  z-index: 2;
  background: #fff;
  color: #0b1c38;
}
