/* Shahbaz Steel & Iron Works, Landhi 89
   Mobile first: base styles are for 360px, then 576 / 768 / 992 / 1200 */

:root {
  /* Colours */
  --red: #c0392b;
  --red-dark: #9e2c20;
  --blue: #3b2f8f;
  --blue-dark: #2f2575;
  --yellow: #f2c200;
  --yellow-dark: #dcb000;
  --green: #25d366;
  --green-dark: #1fbd5a;
  --ink: #222;
  --muted: #55504a;
  --paper: #f7f5f0;
  --plate: #e7e2d6;
  --line: #d9d3c5;
  --white: #fff;

  /* Fonts */
  --en: "Poppins", sans-serif;
  --urdu: "Noto Nastaliq Urdu", serif;

  /* Spacing */
  --s1: 4px;
  --s2: 8px;
  --s3: 12px;
  --s4: 16px;
  --s5: 24px;
  --s6: 32px;
  --s7: 48px;
  --gutter: 16px;
  --section: 48px;

  /* Shape */
  --radius: 12px;
  --radius-btn: 10px;
  --shadow: 0 2px 12px rgba(34, 34, 34, .09);
  --shadow-lg: 0 8px 24px rgba(34, 34, 34, .18);

  /* Header: bar + 6px stripe */
  --header-h: 72px;
  --stripe: 6px;
}

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--ink);
  color: var(--ink);
  font-family: var(--en);
  font-size: clamp(.9375rem, .9rem + .2vw, 1rem);
  font-weight: 400;
  line-height: 1.6;
}
body.lb-open { overflow: hidden; }

main { background: var(--paper); }
img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; }
h1, h2, h3 { font-weight: 700; line-height: 1.25; text-wrap: balance; }
h1 { font-size: clamp(1.6rem, 6vw, 3rem); line-height: 1.2; }
h2 { font-size: clamp(1.35rem, 4.5vw, 2.2rem); }
h3 { font-size: 1.1rem; font-weight: 600; }

.wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: var(--gutter); }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.ur { font-family: var(--urdu); line-height: 2; direction: rtl; text-align: right; }

.icon {
  width: 1.25em; height: 1.25em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
}
.icon--fill { fill: currentColor; stroke: none; }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.hero :focus-visible, .footer :focus-visible, .contact :focus-visible,
.topbar :focus-visible, .lightbox :focus-visible { outline-color: var(--yellow); }
.plate :focus-visible { outline-color: var(--blue); }

/* Sections get focus after a nav click; no outline needed on them */
[tabindex="-1"]:focus { outline: none; }

.skip {
  position: absolute; left: var(--s3); top: -80px; z-index: 300;
  padding: var(--s3) var(--s4); border-radius: var(--radius-btn);
  background: var(--yellow); font-weight: 600;
}
.skip:focus { top: var(--s3); }

/* Three board colours, under the header and above the footer */
.stripe {
  height: var(--stripe);
  background: linear-gradient(90deg, var(--red) 0 60%, var(--yellow) 60% 80%, var(--blue) 80%);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 10px 22px;
  border-radius: var(--radius-btn); box-shadow: var(--shadow);
  font-weight: 600; text-decoration: none; white-space: nowrap;
  transition: background-color .18s ease, transform .12s ease, box-shadow .18s ease;
}
.btn:active { transform: scale(.97); box-shadow: none; }
.btn--red { background: var(--red); color: var(--white); }
.btn--red:active { background: var(--red-dark); }
.btn--yellow { background: var(--yellow); color: var(--ink); }
.btn--yellow:active { background: var(--yellow-dark); }
.btn--wa { background: var(--green); color: #0c2415; }
.btn--wa:active { background: var(--green-dark); }

/* ---------- Top bar ---------- */

.topbar { background: var(--blue); color: var(--white); font-size: .875rem; }
.topbar__in { display: flex; justify-content: space-between; align-items: center; gap: var(--s4); }
.topbar__phones { display: flex; align-items: center; gap: var(--s2) var(--s4); min-width: 0; }
.topbar__place { display: none; }
.topbar a {
  display: inline-flex; align-items: center; min-height: 44px;
  font-weight: 600; text-decoration: none; white-space: nowrap;
}
.topbar a:active { color: var(--yellow); }
.topbar__phones .topbar__second, .topbar__phones .topbar__land { display: none; }
.topbar__wa { justify-content: center; width: 44px; margin-right: -10px; font-size: 1.1rem; }

/* ---------- Header ---------- */

.header { position: sticky; top: 0; z-index: 100; transition: box-shadow .2s ease; }
.header.is-stuck { box-shadow: 0 2px 12px rgba(0, 0, 0, .18); }
.header__in {
  display: flex; align-items: center; gap: var(--s2);
  height: calc(var(--header-h) - var(--stripe));
}
/* Layers inside the header: white bar (-1), menu panel (-2), dark layer (-3) */
.header::after { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--white); }

.brand { display: flex; flex-direction: column; justify-content: center; min-height: 44px; min-width: 0; margin-right: auto; text-decoration: none; }
.brand__en { display: block; color: var(--red); font-weight: 700; font-size: clamp(.82rem, 4.05vw, 1.3rem); line-height: 1.2; text-wrap: balance; }
.brand__ur { display: none; color: var(--blue); font-size: .8rem; font-weight: 600; text-align: left; white-space: nowrap; }

.header__call { width: 44px; min-height: 44px; padding: 0; flex: none; box-shadow: none; }
.header__call span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }

.burger {
  display: grid; place-items: center; flex: none; width: 46px; height: 46px; padding: 0;
  background: none; border: 2px solid var(--ink); border-radius: var(--radius-btn);
  color: var(--ink); font-size: 1.2rem; cursor: pointer;
  transition: background-color .18s ease, transform .12s ease;
}
.burger:active { background: var(--plate); transform: scale(.95); }
.icon--close { display: none; }
.burger[aria-expanded="true"] .icon--open { display: none; }
.burger[aria-expanded="true"] .icon--close { display: block; }

/* Menu panel: slides down from under the header, full width */
.nav {
  position: absolute; z-index: -2; top: 100%; left: 0; right: 0;
  max-height: calc(100vh - var(--header-h)); max-height: calc(100svh - var(--header-h)); overflow-y: auto;
  background: var(--white); border-bottom: 4px solid var(--yellow); box-shadow: var(--shadow-lg);
  visibility: hidden; clip-path: inset(0 0 100% 0);
  transition: clip-path .28s ease, visibility 0s linear .28s;
}
.nav.is-open { visibility: visible; clip-path: inset(0 0 -40px 0); transition: clip-path .28s ease, visibility 0s; }
.nav ul { padding: var(--s2) var(--gutter) var(--s3); }
.nav li + li { border-top: 1px solid var(--line); }
.nav a {
  display: flex; align-items: center; min-height: 52px; padding: 0 var(--s3);
  border-left: 4px solid transparent; font-weight: 500; font-size: 1.05rem; text-decoration: none;
  transition: background-color .18s ease, color .18s ease;
}
.nav a.is-active { color: var(--red); border-left-color: var(--yellow); font-weight: 600; }
.nav a:active { background: var(--paper); }

/* Dark layer behind the open menu; tapping it closes the menu */
.header::before {
  content: ""; position: fixed; inset: 0; z-index: -3;
  background: rgba(18, 16, 20, .55); opacity: 0; pointer-events: none; transition: opacity .25s ease;
}
.header.menu-open::before { opacity: 1; pointer-events: auto; }

/* ---------- Hero ---------- */

.hero { position: relative; isolation: isolate; background: #17151a; color: var(--white); }
.hero__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(16, 14, 18, .76); }
.hero__in {
  display: grid; grid-template-rows: 1fr auto;
  min-height: 80vh; min-height: 80svh;
}
.hero__text { align-self: center; width: 100%; padding-block: var(--s6); text-align: center; }
.hero__ur { margin-top: var(--s3); color: var(--yellow); font-size: clamp(1.15rem, 5vw, 1.8rem); text-align: center; }
.hero__lead { margin-top: var(--s2); font-size: 1.05rem; text-wrap: balance; }
.hero__btns { display: grid; gap: 12px; margin-top: var(--s5); }

/* Number plate, like the phone strip on a shop board */
.plate {
  margin-inline: calc(var(--gutter) * -1); padding: var(--s4) var(--gutter) var(--s5);
  background: var(--yellow); color: var(--ink); border-top: 6px solid var(--red); text-align: center;
}
.plate__label { font-weight: 500; }
.plate__num {
  display: flex; align-items: center; justify-content: center; min-height: 48px;
  font-weight: 700; font-size: clamp(1.6rem, 7.5vw, 2.2rem); line-height: 1.2;
  text-decoration: none; white-space: nowrap; transition: color .18s ease;
}
.plate__num--2 { font-size: clamp(1.3rem, 6vw, 1.7rem); }
.plate__num:active { color: var(--red-dark); }
.plate__addr { margin-top: var(--s2); padding-top: var(--s2); border-top: 2px solid rgba(34, 34, 34, .25); font-size: .95rem; line-height: 1.45; text-wrap: balance; }

/* ---------- Sections ---------- */

.section { padding-block: var(--section); }
.section--white { background: var(--white); }
.head {
  display: grid; grid-template-columns: 1fr auto; align-items: center; column-gap: var(--s4);
  padding-bottom: var(--s3); margin-bottom: var(--s5); border-bottom: 2px solid var(--ink);
}
.head__ur { font-size: 1.15rem; color: var(--blue); }
.head__note { grid-column: 1 / -1; margin-top: var(--s1); color: var(--muted); text-wrap: pretty; }

/* ---------- Services ---------- */

.cards { display: grid; grid-template-columns: minmax(0, 1fr); grid-auto-rows: 1fr; gap: var(--s4); }
.card {
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow);
  border-bottom: 4px solid var(--red);
}
.card:nth-child(3n + 2) { border-bottom-color: var(--blue); }
.card:nth-child(3n) { border-bottom-color: var(--yellow); }
.card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.card__body { flex: 1; padding: var(--s4); }
.card h3 small { display: block; margin-top: 2px; font-size: .85rem; font-weight: 400; color: var(--muted); }
.card__ur { font-size: 1.1rem; color: var(--blue); }
.card__body > p:last-child { margin-top: var(--s2); font-size: .95rem; }
.ask { margin-top: var(--s5); font-size: 1.02rem; }
.ask a { display: inline-block; padding-block: 10px; font-weight: 700; color: var(--red); white-space: nowrap; }
.ask a:active { color: var(--red-dark); }

/* ---------- Gallery ---------- */

.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-flow: dense; gap: var(--s2); }
.tile { aspect-ratio: 4 / 3; }
.tile--wide { grid-column: span 2; aspect-ratio: 16 / 9; }
.tile a {
  position: relative; display: block; width: 100%; height: 100%; overflow: hidden;
  border-radius: var(--radius-btn); box-shadow: var(--shadow); background: var(--plate); cursor: zoom-in;
  transition: transform .12s ease;
}
.tile a:active { transform: scale(.98); }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .2s ease; }
.tile a:active img { opacity: .85; }
.tile__cap {
  position: absolute; left: 0; bottom: 0; max-width: 100%; padding: 3px 10px;
  border-top-right-radius: var(--s2);
  background: var(--ink); color: var(--white); font-size: .75rem; font-weight: 500;
}

/* ---------- How we work ---------- */

.how { background: var(--paper); }
.how__in { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s6); }
.how .head { border-bottom: 0; margin-bottom: 0; padding-bottom: var(--s2); }
.how__img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }

/* Measuring tape over the steps */
.tape {
  height: 32px; border: 2px solid var(--ink); border-radius: var(--s1);
  background:
    repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 60px) 0 0 / 100% 20px no-repeat,
    repeating-linear-gradient(90deg, var(--ink) 0 1px, transparent 1px 12px) 0 0 / 100% 10px no-repeat,
    var(--yellow);
}
.steps { margin-top: var(--s5); counter-reset: s; }
.steps li { position: relative; min-height: 44px; padding: 0 0 var(--s5) 60px; counter-increment: s; }
.steps li:last-child { padding-bottom: 0; }
.steps li::before {
  content: counter(s); position: absolute; z-index: 1; left: 0; top: 0; width: 44px; height: 44px;
  display: grid; place-items: center; border-radius: 50%;
  background: var(--red); color: var(--white); font-weight: 700; font-size: 1.15rem;
}
.steps li:not(:last-child)::after { content: ""; position: absolute; left: 21px; top: 44px; bottom: 0; width: 2px; background: var(--red); opacity: .45; }
.steps h3 { padding-top: 2px; }
.steps h3 small { font-size: .85rem; font-weight: 400; }
.steps p { margin-top: 2px; text-wrap: pretty; }

/* ---------- About ---------- */

.about { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s6); }
.vcard { order: -1; padding: var(--s3); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.vcard img { width: 100%; border-radius: var(--s2); }
.vcard figcaption { padding-top: var(--s2); font-size: .9rem; color: var(--muted); }
.missing {
  display: grid; place-items: center; aspect-ratio: 5 / 3; padding: var(--s4);
  border: 2px dashed #8d8676; border-radius: var(--s2); background: var(--plate);
  color: var(--muted); text-align: center; overflow-wrap: anywhere;
}
.about__text > p { margin-top: var(--s3); max-width: 60ch; }
.about__ur { padding: var(--s2) var(--s4) var(--s3); border-right: 5px solid var(--yellow); border-radius: var(--s2) 0 0 var(--s2); background: var(--paper); font-size: 1.05rem; text-wrap: balance; }
.timing { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2); }
.timing strong { font-weight: 600; }

/* ---------- Contact ---------- */

.contact { background: var(--blue); color: var(--white); }
.contact__in { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s6); }
.contact__ur { margin-bottom: var(--s3); color: var(--yellow); font-size: 1.2rem; text-align: left; }

.numbers { display: grid; gap: 12px; }
.num {
  display: flex; align-items: center; gap: var(--s4); min-height: 68px; padding: 10px 18px;
  border-radius: var(--radius-btn); box-shadow: var(--shadow);
  background: var(--white); color: var(--ink); text-decoration: none;
  transition: background-color .18s ease, transform .12s ease;
}
.num .icon { width: 26px; height: 26px; color: var(--red); }
.num__text { min-width: 0; }
.num__label { display: block; font-size: .85rem; font-weight: 500; line-height: 1.4; color: var(--muted); }
.num__no { display: block; font-weight: 700; font-size: 1.4rem; line-height: 1.25; white-space: nowrap; }
.num:active { background: var(--plate); transform: scale(.98); }
.numbers li:first-child .num { background: var(--yellow); }
.numbers li:first-child .num__label, .numbers li:first-child .num .icon { color: var(--ink); }
.numbers li:first-child .num:active { background: var(--yellow-dark); }

.details { display: grid; gap: var(--s2); margin-top: var(--s5); }
.details li { display: flex; gap: var(--s3); padding-block: 10px; }
.details .icon { margin-top: 2px; color: var(--yellow); }
.details address { min-width: 0; font-style: normal; text-wrap: balance; }
.details address .ur { display: block; margin-top: var(--s1); text-align: left; }
.details a { margin-block: -10px; padding-block: 10px; overflow-wrap: anywhere; }
.details a:active { color: var(--yellow); }
.contact__btns { display: grid; gap: 12px; margin-top: var(--s4); }
.map { width: 100%; height: 300px; border: 0; border-radius: var(--radius); box-shadow: var(--shadow); background: var(--plate); }

/* ---------- Footer ---------- */

.footer { padding-bottom: 90px; padding-bottom: calc(90px + env(safe-area-inset-bottom)); background: var(--ink); color: #e9e5db; text-align: center; font-size: .95rem; }
.footer__in { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s6); padding-block: var(--s7) var(--s5); }
.footer__name { font-weight: 700; font-size: 1.15rem; color: var(--white); }
.footer__ur { margin-bottom: var(--s2); font-size: 1.05rem; color: var(--yellow); text-align: center; }
.footer__head { margin-bottom: var(--s1); font-weight: 600; color: var(--yellow); }
.footer a { display: inline-flex; align-items: center; min-width: 44px; min-height: 44px; padding-inline: var(--s3); text-decoration: none; }
.footer a:active { color: var(--yellow); }
.footer__links { display: flex; flex-wrap: wrap; justify-content: center; }
.footer__copy { padding-block: var(--s4); border-top: 1px solid #444; font-size: .9rem; }

/* ---------- Floating WhatsApp button ---------- */

.wa-float {
  position: fixed; z-index: 900; right: 16px; bottom: 16px; bottom: calc(16px + env(safe-area-inset-bottom));
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--green); color: #0c2415; font-weight: 600; text-decoration: none;
  box-shadow: 0 3px 12px rgba(0, 0, 0, .3);
  animation: wa-pulse 2.8s ease-out infinite;
  transition: background-color .18s ease, transform .12s ease;
}
.wa-float:active { background: var(--green-dark); transform: scale(.94); }
.wa-float .icon { width: 30px; height: 30px; color: var(--white); }
.wa-float span { display: none; }
.wa-float:focus-visible { outline-color: var(--ink); box-shadow: 0 0 0 6px var(--white); animation: none; }
@keyframes wa-pulse {
  0% { box-shadow: 0 3px 12px rgba(0, 0, 0, .3), 0 0 0 0 rgba(37, 211, 102, .5); }
  60%, 100% { box-shadow: 0 3px 12px rgba(0, 0, 0, .3), 0 0 0 14px rgba(37, 211, 102, 0); }
}

/* ---------- Lightbox: full screen ---------- */

.lightbox {
  position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0; overflow: hidden; background: #0e0d0f; color: var(--white);
  overscroll-behavior: contain;
}
.lightbox[open] { display: block; }
.lightbox::backdrop { background: #0e0d0f; }
.lightbox figure {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  height: 100%; padding: 80px 0 96px; text-align: center; touch-action: pan-y pinch-zoom;
}
.lightbox__img { width: auto; height: auto; min-height: 0; max-width: 100%; max-height: 100%; object-fit: contain; user-select: none; -webkit-user-drag: none; }
.lightbox__cap { flex: none; padding: var(--s3) var(--s4) 0; font-weight: 500; }
.lightbox__btn {
  position: absolute; display: grid; place-items: center; width: 52px; height: 52px; padding: 0;
  border: 0; border-radius: var(--radius-btn); background: #333; color: var(--white); font-size: 1.4rem; cursor: pointer;
  transition: background-color .18s ease, transform .12s ease;
}
.lightbox__btn:active { background: var(--red); transform: scale(.95); }
.lightbox__close { top: 12px; right: 12px; width: 56px; height: 56px; background: var(--red); font-size: 1.6rem; }
.lightbox__close:active { background: var(--red-dark); }
.lightbox__prev, .lightbox__next { bottom: 24px; bottom: calc(24px + env(safe-area-inset-bottom)); }
.lightbox__prev { left: calc(50% - 64px); }
.lightbox__next { right: calc(50% - 64px); }

/* ---------- Gentle fade-in, only when JS is running ---------- */

.js .fade { opacity: 0; transition: opacity .6s ease; }
.js .fade.is-in { opacity: 1; }

/* ---------- 360px: room for the Urdu name in the header ---------- */

@media (min-width: 360px) {
  .brand__ur { display: block; }
}

/* ---------- 576px: large phones ---------- */

@media (min-width: 576px) {
  .topbar__phones .topbar__second { display: inline-flex; }
  .topbar__place { display: flex; align-items: center; gap: 6px; white-space: nowrap; }
  .topbar a.topbar__wa { display: none; }

  .brand__ur { font-size: .95rem; }
  .header__in { gap: var(--s3); }

  .hero__btns { grid-template-columns: repeat(2, minmax(0, 240px)); justify-content: center; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact__btns { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .wa-float { width: auto; padding: 0 22px 0 18px; border-radius: 28px; }
  .wa-float span { display: inline; }
}

/* ---------- 768px: tablet ---------- */

@media (min-width: 768px) {
  :root { --gutter: 24px; --section: 64px; --header-h: 84px; }

  .topbar__phones .topbar__land { display: inline-flex; }
  .header__call { width: auto; min-height: 48px; padding: 10px 20px; }
  .header__call span { position: static; width: auto; height: auto; clip-path: none; }

  .hero__in { min-height: 64vh; min-height: 64svh; }
  .hero__lead { font-size: 1.1rem; }
  .head__ur { font-size: 1.4rem; }

  .cards { gap: 20px; }

  .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s3); }
  .tile--wide { aspect-ratio: auto; }
  .tile__cap { font-size: .82rem; padding: 4px 12px; }

  .how__in { grid-template-columns: minmax(0, 1fr) 260px; align-items: stretch; }
  .how__img { height: 100%; aspect-ratio: auto; }

  .about { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: center; }
  .vcard { order: 0; }

  .numbers { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .num { padding: 10px 14px; gap: var(--s3); }
  .num__no { font-size: 1.15rem; }
  .map { height: 380px; }

  .footer { text-align: left; }
  .footer__in { grid-template-columns: 2fr 1fr 1fr; gap: var(--s6); }
  .footer__ur { text-align: left; }
  .footer a { padding-inline: 0; }
  .footer__links { display: block; }

  .lightbox figure { padding: 80px 84px 24px; }
  .lightbox__img { max-width: min(1100px, 100%); border-radius: var(--s2); }
  .lightbox__prev, .lightbox__next { bottom: auto; top: calc(50% - 26px); }
  .lightbox__prev { left: 16px; }
  .lightbox__next { right: 16px; }
}

/* ---------- 992px: desktop ---------- */

@media (min-width: 992px) {
  :root { --section: 80px; --header-h: 92px; }

  .header__in { gap: var(--s5); }
  .brand__ur { font-size: 1rem; }
  .burger, .header::before { display: none; }
  .nav {
    position: static; z-index: auto; margin: 0; max-height: none; overflow: visible;
    background: none; border: 0; box-shadow: none; visibility: visible; clip-path: none; transition: none;
  }
  .nav ul { display: flex; gap: var(--s1); padding: 0; }
  .nav li + li { border: 0; }
  .nav a { min-height: 44px; border-left: 0; border-bottom: 3px solid transparent; font-size: .97rem; }
  .nav a.is-active { border-bottom-color: var(--yellow); font-weight: 500; }
  .nav a:active { background: none; }

  .hero__in {
    grid-template: auto / minmax(0, 1.5fr) minmax(0, 1fr); align-items: end; gap: 40px;
    min-height: min(620px, 78vh); min-height: min(620px, 78svh);
  }
  .hero__text { align-self: end; padding-block: 72px 64px; text-align: left; }
  .hero h1 { max-width: 12em; }
  .hero__ur { text-align: left; }
  .hero__btns { display: flex; flex-wrap: wrap; justify-content: flex-start; }
  .hero::after { background: rgba(16, 14, 18, .68); }
  .plate { margin: 0; padding: 18px 26px 40px; border-top-width: 8px; border-radius: var(--radius) var(--radius) 0 0; text-align: left; }
  .plate__num { justify-content: flex-start; min-height: 44px; }

  .cards { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); }

  .how__in { grid-template-columns: minmax(0, 1fr) 220px; }
  .steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .steps li, .steps li:last-child { padding: 60px var(--s4) 0 0; }
  .steps li:not(:last-child)::after { left: 44px; right: 0; top: 21px; bottom: auto; width: auto; height: 2px; }

  .about { gap: 56px; }
  .contact__in { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: var(--s7); align-items: stretch; }
  .numbers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .numbers li:first-child { grid-column: 1 / -1; }
  .numbers li:first-child .num__no { font-size: 1.7rem; }
  .contact__btns { display: flex; flex-wrap: wrap; }
  .map { height: 100%; min-height: 420px; }
}

/* ---------- 1200px: wide desktop ---------- */

@media (min-width: 1200px) {
  .how__in { grid-template-columns: minmax(0, 1fr) 280px; gap: 40px; }
  .num { padding: 12px 20px; gap: var(--s4); }
  .num__no { font-size: 1.35rem; }
  .card__body { padding: var(--s4) 18px 20px; }
}

/* ---------- Below 768px only: everything centred ---------- */

@media (max-width: 767px) {
  /* Section headings: English over Urdu */
  .head { grid-template-columns: minmax(0, 1fr); text-align: center; }
  .head__ur { margin-top: var(--s1); text-align: center; }
  .head__note { margin-top: var(--s2); }

  /* Services */
  .card__body, .ask { text-align: center; }
  .card__ur { margin-top: var(--s2); text-align: center; }

  /* How we work: circle on top, line between the steps */
  .steps li, .steps li:last-child { display: flex; flex-direction: column; align-items: center; padding: 0; text-align: center; }
  .steps li::before { position: static; flex: none; margin-bottom: var(--s2); }
  .steps li:not(:last-child)::after { position: static; flex: none; width: 2px; height: 32px; margin-block: var(--s3); }

  /* About */
  .about__text, .vcard figcaption { text-align: center; }
  .about__text > p { margin-inline: auto; }
  .about__ur { border-right: 0; border-top: 4px solid var(--yellow); border-radius: 0 0 var(--s2) var(--s2); text-align: center; }
  .timing { justify-content: center; }
  .timing .icon { flex-basis: 100%; }

  /* Contact */
  .contact__info { text-align: center; }
  .contact__ur { display: block; width: 100%; text-align: center; }
  .num { flex-direction: column; justify-content: center; gap: 6px; padding-block: 14px; text-align: center; }
  .details { justify-items: center; }
  .details li { flex-direction: column; align-items: center; gap: 6px; max-width: 100%; text-align: center; }
  .details .icon { margin-top: 0; }
  .details address .ur { width: 100%; text-align: center; }
  .contact__btns { grid-template-columns: minmax(0, 1fr); }
  .map { margin-inline: auto; }
}

/* ---------- Hover, only on devices that have it ---------- */

@media (hover: hover) and (pointer: fine) {
  .btn:hover { box-shadow: var(--shadow-lg); }
  .btn--red:hover { background: var(--red-dark); }
  .btn--yellow:hover { background: #ffd633; }
  .btn--wa:hover, .wa-float:hover { background: #3be07a; }
  .topbar a:hover, .footer a:hover { text-decoration: underline; }
  .nav a:hover { color: var(--red); }
  .plate__num:hover { color: var(--blue); }
  .num:hover { background: var(--paper); }
  .numbers li:first-child .num:hover { background: #ffd633; }
  .tile a:hover img { opacity: .88; }
  .ask a:hover { color: var(--red-dark); }
  .details a:hover { color: var(--yellow); }
  .lightbox__btn:hover { background: var(--red); }
  .lightbox__close:hover { background: var(--red-dark); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .fade { opacity: 1; }
}
