/* Bahja Designess: the original site's layout and features, restyled after the new logo:
   cream paper, black lettering with a white offset edge, warm gold glow and gold rules.
   Dark "ink" panels replace the old terminal windows. Logical properties keep Arabic and Urdu mirrored. */

:root {
  --cream-1: #F4EEE3;
  --cream-2: #EFE3CF;
  --card: #FBF7F0;
  --ink: #141414;
  --ink-2: #1D1A16;
  --ink-soft: #4A443B;
  --gold: #C9A96E;
  --gold-hi: #E2C48A;
  --gold-glow: #D9A85A;
  --gold-text: #7A5A22;           /* gold dark enough for small text on cream */
  --on-ink: #F4EEE3;
  --on-ink-dim: #BDB3A2;
  --line: rgba(20, 20, 20, 0.12);
  --field: #0F0E0C;
  --offset: 4px 4px 0 #FFFFFF;
  --glow: 0 18px 44px -22px rgba(122, 90, 34, 0.45);
  --max: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --f-head: 'Jost', 'Futura', 'Century Gothic', 'Avenir Next', system-ui, sans-serif;
  --f-body: 'Figtree', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --lh: 1.6;
  color-scheme: light;
}
html[lang="ar"] { --f-head: 'IBM Plex Sans Arabic', 'Jost', system-ui, sans-serif; --f-body: 'IBM Plex Sans Arabic', 'Figtree', system-ui, sans-serif; --lh: 1.8; }
html[lang="ur"] { --f-head: 'Noto Nastaliq Urdu', 'IBM Plex Sans Arabic', serif; --f-body: 'Noto Nastaliq Urdu', 'IBM Plex Sans Arabic', serif; --lh: 2.2; }
html[lang^="zh"] { --f-head: 'Noto Sans SC', 'Jost', 'PingFang SC', 'Microsoft YaHei', sans-serif; --f-body: 'Noto Sans SC', 'Figtree', 'PingFang SC', 'Microsoft YaHei', sans-serif; --lh: 1.75; }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--f-body); font-size: 1.0625rem; line-height: var(--lh); color: var(--ink);
  background: linear-gradient(180deg, var(--cream-1), var(--cream-2)) fixed, var(--cream-1);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
[dir="rtl"] * { letter-spacing: 0 !important; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3, h4 { font-family: var(--f-head); text-wrap: balance; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--gold-text); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: var(--max); margin-inline: auto; padding-inline: max(var(--gutter), env(safe-area-inset-left, 0px)) max(var(--gutter), env(safe-area-inset-right, 0px)); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.ic { width: 18px; height: 18px; flex: none; display: block; }
html[dir="rtl"] .flip-rtl { transform: scaleX(-1); }
.skip-link { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 10px; background: var(--ink); color: var(--on-ink); text-decoration: none; }
.skip-link:focus { top: 12px; }

/* the logo's look, for the big headings */
.display {
  font-weight: 700; line-height: 1.06; letter-spacing: -0.01em;
  text-shadow: 0.045em 0.05em 0 #FFFFFF, 0.065em 0.08em 0.05em rgba(122, 90, 34, 0.25), 0 0 0.6em rgba(217, 168, 90, 0.35);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 48px;
  padding: .75rem 1.3rem; border: 1.5px solid var(--ink); border-radius: 12px; background: transparent; color: var(--ink);
  font-family: var(--f-head); font-weight: 600; font-size: 1rem; line-height: 1.2; text-decoration: none; cursor: pointer;
  box-shadow: var(--offset); transition: transform .15s var(--ease), box-shadow .15s var(--ease), background-color .2s;
}
@media (hover: hover) { .btn:hover { transform: translate(-1px, -1px); } }
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 #FFFFFF; }
.btn--dark { background: var(--ink); color: var(--on-ink); box-shadow: var(--offset), 6px 8px 16px rgba(122, 90, 34, 0.28); }
@media (hover: hover) { .btn--ghost:hover { background: rgba(255, 255, 255, 0.6); } }
.btn--gold { background: linear-gradient(180deg, var(--gold-hi), var(--gold)); border-color: rgba(122, 90, 34, 0.55); color: var(--ink); box-shadow: var(--offset), 0 0 26px -6px rgba(217, 168, 90, 0.7); }
.btn--line { background: transparent; color: var(--on-ink); border-color: rgba(244, 238, 227, 0.4); box-shadow: none; }
@media (hover: hover) { .btn--line:hover { border-color: var(--gold); } }
.btn--sm { min-height: 42px; padding: .45rem .95rem; font-size: .93rem; }
html[lang="ur"] .btn { line-height: 1.9; padding-block: .35rem; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40; padding-top: env(safe-area-inset-top, 0px);
  background: rgba(244, 238, 227, 0.86); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 1.25rem; min-height: 72px; }
.logo { display: inline-flex; align-items: center; min-height: 44px; flex: none; text-decoration: none; border-radius: 8px; }
.logo-svg { height: 50px; width: auto; aspect-ratio: 360 / 150; overflow: visible; direction: ltr; }
.nav { display: flex; gap: 1.4rem; margin-inline-start: auto; }
.nav a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; text-decoration: none; font-family: var(--f-head); font-weight: 500; font-size: .98rem; color: var(--ink-soft); padding: .3rem 0; border-bottom: 2px solid transparent; transition: color .2s, border-color .2s; }
@media (hover: hover) { .nav a:hover { color: var(--ink); border-color: var(--gold); } }
.header-actions { display: flex; align-items: center; gap: .6rem; }
.lang { position: relative; display: flex; align-items: center; }
.lang-ic { position: absolute; inset-inline-start: 11px; width: 16px; height: 16px; color: var(--gold-text); pointer-events: none; }
.lang-select {
  appearance: none; -webkit-appearance: none; min-height: 42px; padding-block: .35rem; padding-inline: 34px 28px;
  border: 1.5px solid var(--line); border-radius: 12px; background-color: rgba(255, 255, 255, 0.6); cursor: pointer; font-weight: 500;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-size: 5px 5px; background-repeat: no-repeat; background-position: calc(100% - 15px) 52%, calc(100% - 10px) 52%;
}
html[dir="rtl"] .lang-select { background-position: 10px 52%, 15px 52%; }
.menu-btn { display: none; position: relative; width: 44px; height: 44px; border-radius: 12px; border: 1.5px solid var(--line); background: rgba(255, 255, 255, 0.6); cursor: pointer; }
.menu-bars, .menu-bars::before, .menu-bars::after { content: ""; position: absolute; left: 12px; width: 18px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .25s, background-color .2s; }
.menu-bars { top: 20px; }
.menu-bars::before { left: 0; top: -6px; }
.menu-bars::after { left: 0; top: 6px; }
.menu-btn[aria-expanded="true"] .menu-bars { background: transparent; }
.menu-btn[aria-expanded="true"] .menu-bars::before { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-bars::after { transform: translateY(-6px) rotate(-45deg); }
@media (max-width: 860px) {
  .menu-btn { display: inline-block; }
  .header-actions { margin-inline-start: auto; }
  .nav {
    display: none; position: absolute; inset-inline: 0; top: 100%; flex-direction: column; gap: 0;
    padding: .5rem var(--gutter) 1.2rem; background: var(--cream-1); border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px -28px rgba(20, 20, 20, 0.4);
  }
  /* open: the page below dims (the shadow is clipped so the header above stays clear) */
  .nav.is-open { display: flex; box-shadow: 0 24px 40px -28px rgba(20, 20, 20, 0.4), 0 0 0 100vmax rgba(26, 22, 18, 0.32); clip-path: inset(0 -100vmax -100vmax -100vmax); animation: navIn .22s ease-out both; }
  @keyframes navIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
  .nav a { padding: .8rem .2rem; font-size: 1.08rem; border-bottom: 1px solid var(--line); }
}
@media (max-width: 480px) {
  .header-wa .label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .header-wa { padding: .45rem .7rem; }
  .logo-svg { height: 42px; }
  .lang-select { padding-inline: 32px 24px; }
  .header-actions { gap: .4rem; }
}
@media (max-width: 370px) { .logo-svg { height: 36px; } .header-inner { gap: .5rem; } }
@media (max-width: 350px) { .logo-svg { height: 30px; } .header-actions { gap: .3rem; } .lang-select { padding-inline: 30px 20px; } .header-wa { padding: .45rem .6rem; } .menu-btn { width: 42px; height: 42px; } }

/* ---------- hero ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; overflow: clip; padding-block: clamp(3.5rem, 9vw, 7.5rem) clamp(2.5rem, 6vw, 4.5rem); }
.hero-glow {
  position: absolute; z-index: -1; inset-inline-start: -12%; top: -18%; width: 80%; height: 80%;
  background: radial-gradient(50% 50% at 50% 50%, rgba(217, 168, 90, 0.36), rgba(217, 168, 90, 0.1) 55%, transparent 75%);
  animation: glow 7s ease-in-out infinite alternate;
}
html[dir="rtl"] .hero-glow { inset-inline-start: auto; inset-inline-end: -12%; }
@keyframes glow { from { opacity: .75; transform: scale(.97); } to { opacity: 1; transform: scale(1.04); } }
.hero-top { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 1.5rem 3rem; align-items: end; }
.hero h1 { font-size: clamp(2.6rem, 1.1rem + 5vw, 5.2rem); }
html[lang="ar"] .hero h1 { font-size: clamp(3rem, 1.5rem + 5.6vw, 6rem); line-height: 1.15; }
html[lang="ur"] .hero h1 { font-size: clamp(2.2rem, 1.2rem + 3.6vw, 4.2rem); line-height: 1.75; }
html[lang^="zh"] .hero h1 { font-size: clamp(2.4rem, 1.2rem + 4.2vw, 4.6rem); line-height: 1.2; }
.goldline {
  width: min(520px, 100%); height: 3px; margin-top: clamp(16px, 2.4vw, 26px); border-radius: 3px;
  background: linear-gradient(90deg, var(--gold), #E9C98C 50%, rgba(201, 169, 110, 0)); box-shadow: 0 0 14px rgba(217, 168, 90, 0.7);
  transform-origin: left center; animation: drawLine 1.3s .2s var(--ease) both;
}
html[dir="rtl"] .goldline { background: linear-gradient(270deg, var(--gold), #E9C98C 50%, rgba(201, 169, 110, 0)); transform-origin: right center; }
@keyframes drawLine { from { transform: scaleX(0); opacity: 0; } to { transform: none; opacity: 1; } }
.hero-sub { font-size: clamp(1.08rem, 1rem + .35vw, 1.25rem); color: var(--ink-soft); max-width: 44ch; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 1.4rem; }
@media (max-width: 860px) { .hero-top { grid-template-columns: 1fr; } }

/* ---------- builder ---------- */
.builder { margin-top: clamp(2.2rem, 5vw, 3.5rem); display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
@media (max-width: 860px) { .builder { grid-template-columns: 1fr; } }
.try-label { display: flex; align-items: center; gap: .6rem; font-family: var(--f-head); font-size: .95rem; font-weight: 600; color: var(--gold-text); margin-bottom: .8rem; }
.try-label::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 10px var(--gold-glow); }

/* ink panel (the old terminal window) */
.panel {
  background: linear-gradient(180deg, var(--ink-2), var(--ink)); color: var(--on-ink);
  border: 1px solid rgba(201, 169, 110, 0.35); border-radius: 18px; overflow: hidden;
  box-shadow: 6px 6px 0 #FFFFFF, 0 26px 50px -24px rgba(122, 90, 34, 0.6), 0 0 44px -14px rgba(217, 168, 90, 0.4);
}
.panel-bar { display: flex; align-items: center; gap: .5rem; padding: .8rem 1.1rem; border-bottom: 1px solid rgba(201, 169, 110, 0.18); }
.panel-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--gold); }
.panel-bar i:nth-child(2) { background: var(--on-ink); }
.panel-bar i:nth-child(3) { background: rgba(201, 169, 110, 0.45); }
.panel-bar span { margin-inline-start: auto; color: var(--on-ink-dim); font-size: .8rem; direction: ltr; letter-spacing: .04em; }
.panel-body { padding: 1.2rem 1.2rem 1.4rem; display: grid; gap: 1rem; }
.p-row { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: .4rem .9rem; align-items: center; }
.p-key { color: var(--gold-hi); font-family: var(--f-head); font-weight: 600; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }
html[lang="ar"] .p-key, html[lang="ur"] .p-key, html[lang^="zh"] .p-key { text-transform: none; font-size: .95rem; }
.p-input {
  width: 100%; min-width: 0; min-height: 46px; padding: .6rem .8rem; border-radius: 10px;
  background: var(--field); border: 1px solid rgba(201, 169, 110, 0.32); color: #FFFFFF; font-size: max(16px, 1rem); caret-color: var(--gold-hi);
}
.p-input:focus { outline: none; border-color: var(--gold-hi); box-shadow: 0 0 0 3px rgba(201, 169, 110, 0.3); }
.p-input::placeholder { color: #8C8273; }
.chips { display: flex; flex-wrap: wrap; gap: .45rem; }
.chip {
  min-height: 40px; padding: .35rem .8rem; border-radius: 999px; border: 1px solid rgba(244, 238, 227, 0.22);
  background: transparent; color: var(--on-ink-dim); font-size: .9rem; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s;
}
@media (hover: hover) { .chip:hover { border-color: var(--gold); color: #FFFFFF; } }
.chip[aria-checked="true"] { background: linear-gradient(180deg, var(--gold-hi), var(--gold)); border-color: var(--gold); color: var(--ink); font-weight: 600; }
.p-log { display: grid; gap: .3rem; padding-top: .55rem; border-top: 1px dashed rgba(201, 169, 110, 0.25); }
.p-log p { display: flex; align-items: center; gap: .55rem; }
.p-log .ic { width: 16px; height: 16px; color: var(--gold-hi); }
.p-log .ready { color: var(--gold-hi); font-weight: 600; }
.cursor { display: inline-block; width: .55em; height: 1.05em; background: var(--gold-hi); vertical-align: -.15em; margin-inline-start: .2em; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.pre .p-log p { opacity: 0; }
.run .p-log p { opacity: 0; animation: logIn .35s var(--ease) forwards; animation-delay: calc(var(--n) * 260ms); }
@keyframes logIn { from { opacity: 0; transform: translateX(-6px); } to { opacity: 1; transform: none; } }
@media (max-width: 520px) {
  .p-row { grid-template-columns: 1fr; gap: .35rem; }
  .panel { box-shadow: 4px 4px 0 #FFFFFF, 0 20px 40px -24px rgba(122, 90, 34, 0.6); }
}

/* phone preview */
.phone-col { display: flex; flex-direction: column; align-items: center; gap: 1.2rem; }
.phone {
  position: relative; width: min(100%, 272px); aspect-ratio: 9 / 18.5; max-width: 100%; padding: 10px; border-radius: 36px;
  background: linear-gradient(160deg, #2A2621, var(--ink) 40%); border: 1px solid rgba(201, 169, 110, 0.45);
  box-shadow: 6px 6px 0 #FFFFFF, 0 30px 60px -26px rgba(20, 20, 20, 0.55), 0 0 50px -14px rgba(217, 168, 90, 0.5);
}
.phone::before { content: ""; position: absolute; top: 16px; left: 50%; width: 70px; height: 18px; margin-left: -35px; border-radius: 10px; background: #050505; z-index: 2; }
.screen {
  height: 100%; border-radius: 27px; overflow: hidden; background: var(--m-bg); color: var(--m-fg); display: flex; flex-direction: column;
  font-family: var(--f-body); font-size: 12px; line-height: 1.45; transition: background-color .35s var(--ease), color .35s var(--ease);
}
html[lang="ur"] .screen { line-height: 1.9; }
.m-top { display: flex; align-items: center; gap: .45rem; padding: 2.6rem .9rem .6rem; }
.m-badge { width: 26px; height: 26px; border-radius: 7px; background: var(--m-acc); color: var(--m-on); display: grid; place-items: center; font-weight: 700; font-size: 12px; flex: none; transition: background-color .35s; }
.m-name { font-weight: 700; font-size: 13px; line-height: 1.2; overflow-wrap: anywhere; }
.m-lang { margin-inline-start: auto; font-size: 10px; opacity: .6; border: 1px solid currentColor; border-radius: 4px; padding: 0 .3rem; }
.m-hero { margin: .2rem .7rem .8rem; padding: 1rem .85rem; border-radius: 12px; background: var(--m-acc); color: var(--m-on); transition: background-color .35s; }
.m-hero strong { display: block; font-size: 15px; line-height: 1.25; margin-bottom: .25rem; }
html[lang="ur"] .m-hero strong { line-height: 1.8; }
.m-hero span { font-size: 11px; opacity: .85; }
.m-sec { padding: 0 .9rem; font-size: 10.5px; font-weight: 700; opacity: .65; margin-bottom: .3rem; }
.m-list { list-style: none; margin: 0; padding: 0 .9rem; display: grid; gap: .15rem; }
.m-list li { display: flex; justify-content: space-between; gap: .5rem; padding: .4rem 0; border-bottom: 1px solid var(--m-line); }
.m-list b { font-weight: 600; }
.m-list span { white-space: nowrap; font-variant-numeric: tabular-nums; }
.m-order { margin: .9rem .9rem .5rem; padding: .6rem; border-radius: 10px; background: #1FA855; color: #fff; font-weight: 700; text-align: center; font-size: 12px; }
.m-foot { margin-top: auto; padding: .6rem .9rem 1rem; display: flex; align-items: center; gap: .35rem; font-size: 10.5px; opacity: .75; }
.m-foot .ic { width: 12px; height: 12px; }
.screen.swap { animation: swap .45s var(--ease); }
@keyframes swap { from { opacity: .35; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ---------- sections ---------- */
.section { padding-block: clamp(4rem, 8vw, 6.5rem); }
.section--flush { padding-top: 0; }
.sec-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: .8rem 2rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.sec-head h2 { font-size: clamp(1.9rem, 1.2rem + 2.6vw, 3rem); line-height: 1.1; }
html[lang="ar"] .sec-head h2 { font-size: clamp(2.2rem, 1.4rem + 3vw, 3.4rem); line-height: 1.3; }
html[lang="ur"] .sec-head h2 { font-size: clamp(1.7rem, 1.1rem + 2.2vw, 2.6rem); line-height: 1.9; }
.sec-head h2::after { content: ""; display: block; width: 72px; height: 3px; margin-top: 14px; border-radius: 3px; background: linear-gradient(90deg, var(--gold), #E9C98C); box-shadow: 0 0 12px rgba(217, 168, 90, 0.6); }
.sec-note { color: var(--ink-soft); max-width: 46ch; }

/* services: one cream panel holding the grid */
.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); background: var(--card); border: 1px solid rgba(20, 20, 20, 0.08); border-radius: 20px; overflow: hidden; box-shadow: 0 1px 0 #fff inset, var(--glow); }
.svc { padding: 1.7rem 1.6rem 1.9rem; border-inline-end: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.svc:nth-child(3n) { border-inline-end: 0; }
.svc:nth-last-child(-n+3) { border-bottom: 0; }
.svc-icon { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 1.1rem; color: var(--ink);
  background: linear-gradient(180deg, var(--gold-hi), var(--gold)); box-shadow: 3px 3px 0 #FFFFFF, 0 0 20px -6px rgba(217, 168, 90, 0.8); }
.svc-icon .ic { width: 24px; height: 24px; }
.svc h3 { font-size: 1.15rem; font-weight: 600; margin-bottom: .35rem; }
.svc p { color: var(--ink-soft); font-size: .98rem; }
@media (max-width: 900px) {
  .services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc:nth-child(3n) { border-inline-end: 1px solid var(--line); }
  .svc:nth-child(2n) { border-inline-end: 0; }
  .svc:nth-last-child(-n+3) { border-bottom: 1px solid var(--line); }
  .svc:nth-last-child(-n+2) { border-bottom: 0; }
}
@media (max-width: 560px) {
  .services { grid-template-columns: 1fr; }
  .svc, .svc:nth-child(3n) { border-inline-end: 0; }
  .svc:nth-last-child(-n+2) { border-bottom: 1px solid var(--line); }
  .svc:last-child { border-bottom: 0; }
}

/* work */
.work { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.8rem, 4vw, 3rem) clamp(1.5rem, 3vw, 2.5rem); }
@media (max-width: 760px) { .work { grid-template-columns: 1fr; } }
.proj { display: flex; flex-direction: column; gap: 1rem; min-width: 0; color: inherit; text-decoration: none; border-radius: 14px; }
.proj:focus-visible { outline-offset: 6px; }
.browser { border: 1px solid rgba(20, 20, 20, 0.16); border-radius: 16px; overflow: hidden; background: var(--card);
  box-shadow: 5px 5px 0 #FFFFFF, var(--glow); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
@media (hover: hover) { .proj:hover .browser { transform: translateY(-4px); box-shadow: 5px 5px 0 #FFFFFF, 0 26px 50px -22px rgba(122, 90, 34, 0.55), 0 0 40px -12px rgba(217, 168, 90, 0.55); } }
.browser-bar { display: flex; align-items: center; gap: .4rem; padding: .55rem .8rem; border-bottom: 1px solid rgba(20, 20, 20, 0.1); background: #F6F0E5; }
.browser-bar i { width: 9px; height: 9px; border-radius: 50%; background: #D8CDBA; }
.browser-bar i:first-child { background: var(--gold); }
.browser-bar span { margin-inline-start: .5rem; flex: 1; min-width: 0; padding: .15rem .6rem; border-radius: 6px; background: #FFFFFF; font-size: .75rem; color: var(--ink-soft); direction: ltr; text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.shot { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; max-width: 100%; object-fit: cover; object-position: top; background: #141414; }
.mock { aspect-ratio: 16 / 10; max-width: 100%; background: var(--m-bg); color: var(--m-fg); padding: 5% 6%; display: flex; flex-direction: column; gap: 6%; position: relative; overflow: hidden; font-family: 'Figtree', system-ui, sans-serif; direction: ltr; text-align: left; line-height: 1.3; }
.mk-nav { display: flex; align-items: center; gap: 4%; font-size: clamp(9px, 1.4vw, 12px); font-weight: 700; }
.mk-nav em { font-style: normal; margin-inline-start: auto; display: flex; gap: 6px; }
.mk-nav em i { width: 22px; height: 4px; border-radius: 2px; background: currentColor; opacity: .35; }
.mk-title { font-size: clamp(14px, 2.6vw, 24px); line-height: 1.1; font-weight: 700; max-width: 62%; }
.mk-lines { display: grid; gap: 5px; max-width: 55%; }
.mk-lines i { height: 5px; border-radius: 3px; background: currentColor; opacity: .25; }
.mk-lines i:nth-child(2) { width: 80%; }
.mk-btn { align-self: flex-start; padding: 5px 12px; border-radius: 6px; background: var(--m-acc); color: var(--m-on); font-size: clamp(8px, 1.2vw, 11px); font-weight: 700; }
.mk-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4%; margin-top: auto; }
.mk-tiles i { aspect-ratio: 1; border-radius: 6px; background: var(--m-acc); opacity: .9; }
.mk-tiles i:nth-child(2) { opacity: .65; } .mk-tiles i:nth-child(3) { opacity: .4; }
.mk-rows { display: grid; gap: 7px; margin-top: auto; }
.mk-rows div { display: flex; align-items: center; gap: 8px; font-size: clamp(8px, 1.2vw, 11px); }
.mk-rows div::after { content: ""; flex: 1; order: 1; border-bottom: 1.5px dotted currentColor; opacity: .4; }
.mk-rows span { order: 2; font-weight: 700; }
.mk-slots { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.mk-slots i { font-style: normal; font-size: clamp(8px, 1.2vw, 11px); padding: 4px 9px; border-radius: 5px; border: 1.5px solid currentColor; opacity: .75; }
.mk-slots i.on { background: var(--m-acc); color: var(--m-on); border-color: var(--m-acc); opacity: 1; }
.mk-ring { position: absolute; right: 7%; top: 22%; width: 30%; aspect-ratio: 1; border: 2px solid var(--m-acc); border-radius: 50%; }
.mk-ring::after { content: ""; position: absolute; inset: 18%; border: 1.5px solid var(--m-acc); transform: rotate(45deg); }
.proj-meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: .4rem .8rem; }
.proj-meta h4 { font-size: 1.25rem; font-weight: 600; }
.proj-meta .where { color: var(--ink-soft); font-size: .95rem; }
.tag { margin-inline-start: auto; font-size: .75rem; font-weight: 600; padding: .15rem .6rem; border-radius: 999px; border: 1px solid rgba(122, 90, 34, 0.55); color: var(--gold-text); }
.proj p { color: var(--ink-soft); max-width: 52ch; }
.open-site {
  align-self: flex-start; display: inline-flex; align-items: center; gap: .5rem; font-family: var(--f-head); font-weight: 600; font-size: .95rem;
  padding: .5rem 1rem; border: 1.5px solid var(--ink); border-radius: 12px; box-shadow: var(--offset); transition: transform .15s var(--ease), background-color .2s;
}
@media (hover: hover) { .proj:hover .open-site { transform: translate(-1px, -1px); background: rgba(255, 255, 255, 0.6); } }
html[lang="ur"] .open-site { line-height: 1.9; padding-block: .25rem; }

/* cities band */
.cities { position: relative; overflow: hidden; overflow: clip; background: var(--ink); color: var(--on-ink); padding-block: clamp(2.4rem, 5vw, 3.4rem); }
.cities::before { content: ""; position: absolute; inset: -60% 20% auto; height: 200%; background: radial-gradient(closest-side, rgba(217, 168, 90, 0.18), transparent); pointer-events: none; }
.cities-row { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; }
.city-list { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.4rem; font-family: var(--f-head); font-weight: 700; font-size: clamp(1.6rem, 1rem + 2.4vw, 2.7rem); line-height: 1.15;
  color: var(--gold-hi); text-shadow: 0 0 .5em rgba(217, 168, 90, 0.45); }
html[lang="ur"] .city-list { line-height: 1.8; }
.city-list i { width: 10px; height: 10px; background: var(--gold); transform: rotate(45deg); flex: none; box-shadow: 0 0 10px var(--gold-glow); }
.cities-note { color: var(--on-ink-dim); max-width: 32ch; }

/* steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 1.5rem; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }
.step { padding-top: 1.3rem; border-top: 2px solid var(--ink); }
.step-n { display: flex; align-items: baseline; gap: .4rem; font-family: 'Jost', var(--f-head); font-weight: 700; font-size: 2.2rem; line-height: 1; color: var(--gold); text-shadow: 2px 2px 0 #FFFFFF; margin-bottom: .8rem; direction: ltr; }
html[dir="rtl"] .step-n { justify-content: flex-end; }
.step-n small { font-size: .85rem; color: var(--ink-soft); text-shadow: none; }
.bar { display: flex; gap: 4px; margin-bottom: 1rem; }
.bar i { width: 18px; height: 5px; border-radius: 3px; background: var(--line); }
.bar i.on { background: var(--gold); box-shadow: 0 0 8px rgba(217, 168, 90, 0.6); }
.step h3 { font-size: 1.12rem; font-weight: 600; margin-bottom: .35rem; }
.step p { color: var(--ink-soft); font-size: .98rem; }

/* packages */
.packs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.6rem; align-items: start; }
@media (max-width: 960px) { .packs { grid-template-columns: 1fr; max-width: 560px; } }
.pack { position: relative; display: flex; flex-direction: column; gap: 1.1rem; padding: 1.7rem 1.6rem; background: var(--card); border: 1px solid rgba(20, 20, 20, 0.09); border-radius: 20px; box-shadow: 0 1px 0 #fff inset, var(--glow); }
.pack--featured { background: linear-gradient(180deg, var(--ink-2), var(--ink)); color: var(--on-ink); border-color: rgba(201, 169, 110, 0.45);
  box-shadow: 6px 6px 0 #FFFFFF, 0 26px 50px -24px rgba(122, 90, 34, 0.6), 0 0 44px -14px rgba(217, 168, 90, 0.5); }
.pack-badge { position: absolute; top: -.9rem; inset-inline-start: 1.3rem; padding: .2rem .75rem; border-radius: 999px; background: linear-gradient(180deg, var(--gold-hi), var(--gold)); color: var(--ink); font-size: .8rem; font-weight: 700; box-shadow: 0 0 16px -2px rgba(217, 168, 90, 0.7); }
.pack h4 { font-size: 1.7rem; font-weight: 700; line-height: 1.1; }
.pack:not(.pack--featured) h4 { text-shadow: .045em .05em 0 #FFFFFF; }
html[lang="ur"] .pack h4 { line-height: 1.8; }
.pack-for { color: var(--ink-soft); font-size: .98rem; }
.pack-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: .35rem; margin: -.3rem 0 0; font-variant-numeric: tabular-nums; }
.pack-price strong { font-family: 'Jost', 'Figtree', system-ui, sans-serif; font-size: 2.6rem; font-weight: 700; line-height: 1; letter-spacing: -.01em; direction: ltr; unicode-bidi: isolate; }
.pack-price span { font-weight: 600; font-size: 1.05rem; }
.pack-price small { color: var(--ink-soft); font-size: .85rem; }
.pack--featured .pack-price small { color: var(--on-ink-dim); }
.pack-addon { display: flex; align-items: center; gap: .55rem; margin: 0; padding: .6rem .8rem; border-radius: 12px; border: 1px dashed var(--gold); font-size: .92rem; font-weight: 600; }
.pack-addon .ic { flex: none; color: var(--gold); }
.pack--featured .pack-for { color: var(--on-ink-dim); }
.pack ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.pack li { display: flex; gap: .6rem; align-items: flex-start; }
.pack li .ic { width: 16px; height: 16px; margin-top: .3em; color: var(--gold-text); }
html[lang="ur"] .pack li .ic { margin-top: .7em; }
.pack--featured li .ic { color: var(--gold-hi); }
.pack .btn { margin-top: .4rem; width: 100%; }
.pack--featured .btn--gold { box-shadow: 4px 4px 0 #000000, 0 0 26px -6px rgba(217, 168, 90, 0.7); }
.packs-note { margin-top: 1.8rem; color: var(--ink-soft); max-width: 60ch; }

/* faq */
.faq { display: grid; gap: .8rem; max-width: 860px; }
.faq details { background: var(--card); border: 1px solid rgba(20, 20, 20, 0.09); border-radius: 16px; box-shadow: 0 1px 0 #fff inset, 0 12px 30px -24px rgba(122, 90, 34, 0.45); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.05rem 1.3rem; font-family: var(--f-head); font-weight: 600; font-size: 1.06rem; border-radius: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: 'Jost', sans-serif; font-weight: 500; font-size: 1.5rem; line-height: 1; color: var(--gold-text); flex: none; }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 1.3rem 1.2rem; color: var(--ink-soft); max-width: 65ch; }

/* contact */
.contact { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }
.contact-copy h2 { font-size: clamp(1.9rem, 1.2rem + 2.6vw, 3rem); line-height: 1.1; }
html[lang="ar"] .contact-copy h2 { font-size: clamp(2.2rem, 1.4rem + 3vw, 3.4rem); line-height: 1.3; }
html[lang="ur"] .contact-copy h2 { font-size: clamp(1.7rem, 1.1rem + 2.2vw, 2.6rem); line-height: 1.9; }
.contact-copy h2::after { content: ""; display: block; width: 72px; height: 3px; margin-top: 14px; border-radius: 3px; background: linear-gradient(90deg, var(--gold), #E9C98C); box-shadow: 0 0 12px rgba(217, 168, 90, 0.6); }
.contact-copy p { color: var(--ink-soft); max-width: 40ch; margin-top: 1rem; }
.direct { display: grid; gap: .7rem; margin: 1.6rem 0 0; }
.direct div { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .8rem; }
.direct dt { font-size: .85rem; font-weight: 600; color: var(--gold-text); min-width: 6.5rem; }
.direct dd { margin: 0; font-family: var(--f-head); font-weight: 600; }
.direct a { display: inline-flex; align-items: center; min-height: 44px; text-underline-offset: 4px; text-decoration-color: var(--gold); }
.form .p-row { grid-template-columns: 8.5rem minmax(0, 1fr); }
.form select.p-input {
  appearance: none; -webkit-appearance: none; padding-inline-end: 2rem;
  background-image: linear-gradient(45deg, transparent 50%, var(--gold-hi) 50%), linear-gradient(135deg, var(--gold-hi) 50%, transparent 50%);
  background-size: 5px 5px; background-repeat: no-repeat; background-position: calc(100% - 16px) 50%, calc(100% - 11px) 50%;
}
html[dir="rtl"] .form select.p-input { background-position: 11px 50%, 16px 50%; }
.form textarea.p-input { min-height: 92px; resize: vertical; line-height: 1.5; }
@media (max-width: 520px) { .form .p-row { grid-template-columns: 1fr; } }
.msg-label { font-size: .8rem; color: var(--on-ink-dim); margin-bottom: .35rem; }
.msg-preview { background: var(--field); border: 1px dashed rgba(201, 169, 110, 0.4); border-radius: 10px; padding: .8rem .95rem; color: var(--on-ink); white-space: pre-wrap; overflow-wrap: anywhere; font-size: .92rem; line-height: 1.55; }
html[lang="ur"] .msg-preview { line-height: 2; }
.form-actions { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; }
.form-actions .btn--gold { box-shadow: 4px 4px 0 #000000, 0 0 26px -6px rgba(217, 168, 90, 0.7); }
.status { font-size: .88rem; color: var(--gold-hi); min-height: 1.4em; }

/* footer */
.site-footer { border-top: 1px solid var(--line); padding-block: 2rem calc(2rem + env(safe-area-inset-bottom, 0px)); background: rgba(255, 255, 255, 0.25); }
.footer-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.site-footer .logo-svg { height: 44px; }
.site-footer p { color: var(--ink-soft); font-size: .92rem; }

/* fade-in on scroll (only with JavaScript, never with reduced motion) */
html.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s var(--ease); }
html.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .cursor, .hero-glow { animation: none; }
  html.js .reveal { opacity: 1; transform: none; }
}
@media (forced-colors: active) {
  .display, .step-n, .pack h4 { text-shadow: none; }
}

/* ---------- BahjaBot ---------- */
.site-footer { padding-bottom: calc(2rem + 76px + env(safe-area-inset-bottom, 0px)); }   /* room for the chat button */
.bb-launch {
  position: fixed; z-index: 60; inset-block-end: calc(18px + env(safe-area-inset-bottom, 0px)); inset-inline-end: max(18px, env(safe-area-inset-right, 0px));
  display: inline-flex; align-items: center; gap: .6rem; min-height: 52px; padding: 6px 18px 6px 6px; padding-inline: 6px 18px;
  border-radius: 999px; border: 1px solid rgba(201, 169, 110, 0.55); background: var(--ink); color: var(--on-ink); cursor: pointer;
  font-family: 'Jost', var(--f-head); font-weight: 600; font-size: 1rem;
  box-shadow: 4px 4px 0 #FFFFFF, 0 16px 34px -14px rgba(20, 20, 20, 0.55), 0 0 30px -8px rgba(217, 168, 90, 0.6);
  transition: transform .2s var(--ease);
}
@media (hover: hover) { .bb-launch:hover { transform: translateY(-2px); } }
.bb-avatar {
  display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(180deg, var(--gold-hi), var(--gold)); color: var(--ink);
  font-family: 'Jost', sans-serif; font-weight: 700; font-size: 1.15rem; text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.6);
}
.bb-panel {
  position: fixed; z-index: 61; inset-inline-end: max(18px, env(safe-area-inset-right, 0px)); inset-block-end: calc(84px + env(safe-area-inset-bottom, 0px));
  width: min(390px, calc(100vw - 36px)); height: min(620px, calc(100vh - 130px)); height: min(620px, calc(100dvh - 130px));
  display: flex; flex-direction: column; overflow: hidden; border-radius: 22px;
  background: var(--card); border: 1px solid rgba(122, 90, 34, 0.3);
  box-shadow: 6px 6px 0 #FFFFFF, 0 30px 70px -20px rgba(20, 20, 20, 0.5), 0 0 50px -16px rgba(217, 168, 90, 0.55);
  animation: bbIn .28s var(--ease);
}
.bb-panel[hidden] { display: none; }
@keyframes bbIn { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
.bb-head { display: flex; align-items: center; gap: .75rem; padding: .85rem .9rem .85rem 1rem; background: linear-gradient(180deg, var(--ink-2), var(--ink)); color: var(--on-ink); }
.bb-head-text { min-width: 0; flex: 1; }
.bb-title { font-family: 'Jost', var(--f-head); font-size: 1.12rem; font-weight: 700; line-height: 1.2; }
.bb-sub { font-size: .8rem; color: var(--on-ink-dim); line-height: 1.4; }
.bb-close { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; border: 1px solid rgba(244, 238, 227, 0.2); background: transparent; color: var(--on-ink); cursor: pointer; }
@media (hover: hover) { .bb-close:hover { border-color: var(--gold); } }
.bb-close .ic { width: 20px; height: 20px; }
.bb-notice { display: flex; gap: .55rem; align-items: flex-start; margin: 0; padding: .65rem 1rem; background: #F5EAD3; color: #5E4418; font-size: .82rem; line-height: 1.45; border-bottom: 1px solid rgba(122, 90, 34, 0.2); }
html[lang="ur"] .bb-notice { line-height: 1.9; }
.bb-notice .ic { width: 17px; height: 17px; flex: none; margin-top: .1em; }
.bb-log { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 1rem; display: flex; flex-direction: column; gap: .7rem; scroll-behavior: smooth; }
.bb-msg { display: flex; }
.bb-msg--user { justify-content: flex-end; }
.bb-bubble { max-width: 86%; padding: .65rem .85rem; border-radius: 16px; white-space: pre-wrap; overflow-wrap: anywhere; font-size: .95rem; line-height: 1.5; }
html[lang="ur"] .bb-bubble { line-height: 2; }
.bb-msg--bot .bb-bubble { background: #FFFFFF; border: 1px solid rgba(20, 20, 20, 0.08); border-end-start-radius: 6px; box-shadow: 0 6px 16px -12px rgba(122, 90, 34, 0.5); }
.bb-msg--user .bb-bubble { background: var(--ink); color: var(--on-ink); border-end-end-radius: 6px; }
.bb-chips { display: flex; flex-wrap: wrap; gap: .45rem; }
.bb-chip { min-height: 40px; padding: .35rem .85rem; border-radius: 999px; border: 1px solid rgba(122, 90, 34, 0.45); background: transparent; color: var(--gold-text); font-weight: 600; font-size: .88rem; cursor: pointer; text-align: start; }
@media (hover: hover) { .bb-chip:hover { background: rgba(201, 169, 110, 0.14); } }
.bb-dots { display: inline-flex; gap: 4px; padding-block: 4px; }
.bb-dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); animation: bbDot 1s ease-in-out infinite; }
.bb-dots i:nth-child(2) { animation-delay: .15s; } .bb-dots i:nth-child(3) { animation-delay: .3s; }
@keyframes bbDot { 0%, 80%, 100% { opacity: .3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
.bb-form { display: flex; align-items: flex-end; gap: .5rem; padding: .7rem .8rem; border-top: 1px solid var(--line); background: #FFFDF8; }
.bb-input { flex: 1; min-width: 0; min-height: 44px; max-height: 120px; resize: none; padding: .6rem .8rem; border-radius: 14px; border: 1.5px solid rgba(20, 20, 20, 0.16); background: #FFFFFF; font-size: max(16px, 1rem); line-height: 1.4; }
.bb-input:focus { outline: none; border-color: var(--gold-text); box-shadow: 0 0 0 3px rgba(201, 169, 110, 0.3); }
.bb-send { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(122, 90, 34, 0.5); background: linear-gradient(180deg, var(--gold-hi), var(--gold)); color: var(--ink); cursor: pointer; }
.bb-send:disabled { opacity: .5; cursor: wait; }
.bb-foot { position: relative; display: grid; gap: .25rem; padding: .55rem 1rem .75rem; background: #FFFDF8; }
.bb-human { justify-self: start; display: inline-flex; align-items: center; min-height: 40px; font-weight: 600; font-size: .9rem; color: var(--ink); text-decoration-color: var(--gold); text-underline-offset: 4px; }
.bb-privacy { font-size: .74rem; line-height: 1.45; color: var(--ink-soft); }
html[lang="ur"] .bb-privacy { line-height: 1.9; }
.bb-count { position: absolute; inset-inline-end: 1rem; top: .7rem; font-size: .75rem; color: var(--ink-soft); }
.bb-count.is-over { color: #A33A2A; font-weight: 600; }
@media (max-width: 520px) {
  .bb-launch { padding: 6px; }
  .bb-launch-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .bb-panel { inset: 0; width: auto; height: auto; border-radius: 0; border: 0; padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); }
  html.bb-open { overflow: hidden; }
  html.bb-open .bb-launch { display: none; }
}
@media (prefers-reduced-motion: reduce) { .bb-dots i, .bb-panel { animation: none; } .bb-log { scroll-behavior: auto; } }

/* ================================================================ agency (added) ===============
   The six services as big cards, each with a small picture of the work; the details window; the
   the marketing services priced on request; the free consultation bar. Same cream, ink and gold as the rest. */

/* hero: the services as a row of small links */
.hero-svcs { list-style: none; margin: 1.3rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .45rem; }
.hero-svcs a { display: inline-flex; align-items: center; min-height: 34px; padding: .25rem .8rem; border-radius: 999px; border: 1px solid rgba(122, 90, 34, 0.35);
  background: rgba(255, 255, 255, 0.55); color: var(--ink); font-size: .88rem; font-weight: 600; text-decoration: none; transition: border-color .2s, background-color .2s; }
.hero-svcs li:first-child a::before { content: ""; width: 7px; height: 7px; margin-inline-end: .45rem; border-radius: 50%; background: var(--gold); box-shadow: 0 0 8px var(--gold-glow); }
@media (hover: hover) { .hero-svcs a:hover { border-color: var(--gold); background: #FFFFFF; } }
html[lang="ur"] .hero-svcs a { line-height: 2; }

/* the six services */
.agency { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.6rem); }
@media (max-width: 1000px) { .agency { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .agency { grid-template-columns: 1fr; } .ag { min-height: 0; } .ag-art { min-height: 190px; } }
.ag {
  position: relative; display: flex; flex-direction: column; gap: 1.2rem; min-width: 0; min-height: 460px; padding: 1.7rem 1.6rem 1.5rem;
  background: var(--card); border: 1px solid rgba(20, 20, 20, 0.08); border-radius: 22px; box-shadow: 0 1px 0 #fff inset, var(--glow);
  cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
@media (hover: hover) { .ag:hover { transform: translateY(-3px); box-shadow: 0 1px 0 #fff inset, 0 26px 50px -26px rgba(122, 90, 34, 0.6), 0 0 36px -16px rgba(217, 168, 90, 0.55); } }
.ag-text h3 { font-size: clamp(1.3rem, 1.1rem + .6vw, 1.6rem); font-weight: 700; line-height: 1.15; margin-bottom: .55rem; text-shadow: .045em .05em 0 #FFFFFF; }
html[lang="ur"] .ag-text h3 { line-height: 1.9; }
.ag-text p { color: var(--ink-soft); font-size: 1rem; }
.ag-art { position: relative; flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .7rem; min-height: 210px; padding-bottom: 2.6rem; pointer-events: none; user-select: none; }
.ag-more {
  position: absolute; inset-block-end: 1.1rem; inset-inline-end: 1.1rem; width: 44px; height: 44px; display: grid; place-items: center; cursor: pointer;
  border-radius: 50%; border: 1.5px solid var(--ink); background: var(--card); color: var(--ink); box-shadow: 3px 3px 0 #FFFFFF; transition: transform .2s var(--ease), background-color .2s;
}
.ag-more .ic { width: 20px; height: 20px; }
@media (hover: hover) { .ag:hover .ag-more { background: linear-gradient(180deg, var(--gold-hi), var(--gold)); transform: translate(-1px, -1px); } }
.ag-foot { margin-top: 1.4rem; color: var(--ink-soft); font-size: .92rem; }

/* the little pictures inside the cards (vz = visual) */
.vz-card { width: min(100%, 330px); padding: .9rem 1rem; background: #FFFFFF; border: 1px solid rgba(20, 20, 20, 0.07); border-radius: 16px;
  box-shadow: 0 14px 30px -18px rgba(70, 50, 20, 0.45); font-size: .8rem; line-height: 1.45; text-align: start; }
.vz-card .ic { width: 14px; height: 14px; }
.vz-pill { display: inline-flex; align-items: center; gap: .45rem; padding: .45rem .85rem; border-radius: 999px; background: #FFFFFF; border: 1px solid rgba(20, 20, 20, 0.07);
  box-shadow: 0 10px 24px -14px rgba(70, 50, 20, 0.5); font-size: .8rem; font-weight: 600; max-width: 100%; }
.vz-pill .ic { width: 15px; height: 15px; color: var(--gold-text); }
.vz-pill b { width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; background: var(--cream-1); font-family: 'IBM Plex Sans Arabic', sans-serif; }
.vz-tag { flex: none; padding: .12rem .55rem; border-radius: 999px; background: rgba(201, 169, 110, 0.18); color: var(--gold-text); font-size: .72rem; font-weight: 700; }
.vz-tag--ok { display: inline-flex; align-items: center; gap: .25rem; background: #E7F3EA; color: #2D6B3F; }
.vz-row-head { display: flex; align-items: center; justify-content: space-between; gap: .6rem; margin-bottom: .55rem; }
.vz-row-head b { font-size: .86rem; }
.vz-site { display: flex; align-items: center; gap: .55rem; min-width: 0; }
.vz-site > b { flex: none; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: #1B2A4A; color: #E8C98D; font-family: 'Jost', sans-serif; font-size: .85rem; }
.vz-site > span { display: grid; min-width: 0; }
.vz-site em { font-style: normal; font-weight: 700; font-size: .8rem; }
.vz-site small { color: #6B6459; font-size: .72rem; }

/* SEO: a search box, a result and an AI answer */
.vz-search { width: min(100%, 330px); display: flex; align-items: center; gap: .5rem; padding: .55rem .9rem; border-radius: 999px; background: #FFFFFF; border: 1px solid rgba(20, 20, 20, 0.08); font-size: .82rem; box-shadow: 0 8px 20px -14px rgba(70, 50, 20, 0.5); }
.vz-search .ic { width: 15px; height: 15px; color: #6B6459; }
.vz-link { margin: .5rem 0 .55rem; color: #1A3FA8; font-weight: 600; font-size: .84rem; }
.vz-ai { display: flex; gap: .4rem; align-items: flex-start; padding: .5rem .6rem; border-radius: 10px; background: var(--cream-1); font-size: .76rem; }
.vz-ai .ic { color: var(--gold-text); margin-top: .15em; }

/* Ads: the platforms and a weekly report */
.vz-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem; max-width: 340px; }
.vz-chips li { display: inline-flex; align-items: center; gap: .4rem; padding: .32rem .7rem .32rem .35rem; padding-inline: .35rem .7rem; border-radius: 999px; background: #FFFFFF; border: 1px solid rgba(20, 20, 20, 0.07);
  box-shadow: 0 8px 18px -12px rgba(70, 50, 20, 0.45); font-size: .8rem; font-weight: 600; direction: ltr; }
.vz-chips i { width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; background: var(--c); color: var(--t, #FFFFFF); font-style: normal; font-family: 'Jost', sans-serif; font-size: .7rem; font-weight: 700; }
.vz-bar { display: grid; grid-template-columns: minmax(0, 1fr) 42%; align-items: center; gap: .6rem; padding-block: .22rem; color: #4A443B; }
.vz-bar i { height: 6px; border-radius: 6px; background: #EFE8DC; position: relative; overflow: hidden; }
.vz-bar i::after { content: ""; position: absolute; inset-block: 0; inset-inline-start: 0; width: var(--w); border-radius: 6px; background: var(--b, linear-gradient(90deg, var(--gold), var(--gold-hi))); }

/* Content: the calendar */
.vz-grid { display: grid; grid-template-columns: minmax(64px, auto) repeat(5, minmax(0, 1fr)); align-items: center; justify-items: center; gap: .45rem .3rem; }
.vz-grid small { color: #6B6459; font-size: .68rem; }
.vz-k { justify-self: start; display: inline-flex; align-items: center; gap: .35rem; font-weight: 600; }
.vz-k .ic { color: var(--gold-text); }
.vz-grid i { width: 18px; height: 18px; border-radius: 50%; background: #EFE8DC; }
.vz-grid i.on { background: var(--gold); box-shadow: 0 0 0 3px rgba(201, 169, 110, 0.18); }
.vz-grid i.on.b { background: var(--ink); box-shadow: 0 0 0 3px rgba(20, 20, 20, 0.08); }
.vz-grid i.on.g { background: #3E8A57; box-shadow: 0 0 0 3px rgba(62, 138, 87, 0.15); }
.vz-grid i.on::after { content: ""; display: block; width: 7px; height: 4px; margin: 6px auto 0; border: 2px solid #FFFFFF; border-top: 0; border-inline-end: 0; transform: rotate(-45deg); }
html[dir="rtl"] .vz-grid i.on::after { transform: rotate(-45deg) scaleX(-1); }

/* Web: a small browser */
.vz-web { padding: 0; overflow: hidden; }
.vz-bar-top { display: flex; align-items: center; gap: .35rem; padding: .5rem .7rem; background: var(--ink); }
.vz-bar-top i { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.vz-bar-top i:nth-child(2) { background: var(--on-ink); } .vz-bar-top i:nth-child(3) { background: rgba(201, 169, 110, .45); }
.vz-bar-top span { margin-inline-start: auto; color: var(--on-ink-dim); font-size: .68rem; }
.vz-web-body { padding: .75rem .9rem .9rem; display: grid; gap: .35rem; background: #F3E6D3; color: #3A2418; }
.vz-web-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: .2rem; }
.vz-web-head b { font-size: .9rem; }
.vz-ar { font-size: .68rem; padding: .05rem .45rem; border-radius: 999px; border: 1px solid rgba(58, 36, 24, .3); direction: ltr; }
.vz-web-line { display: flex; justify-content: space-between; gap: .5rem; padding-block: .15rem; border-bottom: 1px dotted rgba(58, 36, 24, .3); }
.vz-web-btn { display: flex; align-items: center; justify-content: center; gap: .35rem; margin-top: .35rem; padding: .45rem; border-radius: 9px; background: #6B3E26; color: #F8EEDF; font-weight: 700; }
.vz-pill--low { align-self: flex-end; margin-top: -1.6rem; margin-inline-end: 4%; }

/* Brand: a monogram, colours and type */
.vz-brand { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: .85rem; align-items: stretch; }
.vz-mono { display: grid; place-items: center; align-content: center; gap: .3rem; aspect-ratio: 1; border-radius: 14px; background: #1F1E24; color: #C9A96E; }
.vz-mono b { font-family: 'Jost', sans-serif; font-size: 2.6rem; font-weight: 500; line-height: 1; }
.vz-mono small { font-size: .6rem; letter-spacing: .12em; color: #F1ECE2; }
.vz-brand-side { display: grid; gap: .6rem; align-content: center; }
.vz-swatches { display: flex; gap: .3rem; }
.vz-swatches i { flex: 1; height: 30px; border-radius: 8px; background: var(--c); border: 1px solid rgba(20, 20, 20, .08); }
.vz-type { display: flex; flex-wrap: wrap; align-items: baseline; gap: .1rem .6rem; }
.vz-type b { font-family: 'Jost', sans-serif; font-size: 1.6rem; font-weight: 500; line-height: 1; }
.vz-type b.ar { font-family: 'IBM Plex Sans Arabic', sans-serif; }
.vz-type small { width: 100%; color: #6B6459; font-size: .68rem; }

/* Email / WhatsApp */
.vz-subject { margin: .2rem 0 .55rem; font-weight: 700; font-size: .86rem; }
.vz-mail-btn { display: inline-block; padding: .3rem .8rem; border-radius: 8px; background: var(--ink); color: var(--on-ink); font-size: .74rem; font-weight: 700; }
.vz-wa { align-self: flex-end; max-width: 250px; margin: -.3rem 6% 0 0; margin-inline: 0 6%; padding: .5rem .75rem; border-radius: 12px 12px 4px 12px; background: #DCF5C9; color: #1F2A1A;
  font-size: .78rem; box-shadow: 0 10px 22px -14px rgba(30, 60, 20, .5); display: grid; gap: .1rem; }
html[dir="rtl"] .vz-wa { border-radius: 12px 12px 12px 4px; }
.vz-wa small { justify-self: end; color: #4E7A3A; font-size: .66rem; }

/* gentle movement when a card comes into view */
@media (prefers-reduced-motion: no-preference) {
  .ag .vz-card, .ag .vz-pill, .ag .vz-search, .ag .vz-chips, .ag .vz-wa { transition: transform .6s var(--ease) .15s, opacity .6s var(--ease) .15s; }
  .ag.reveal:not(.is-in) .vz-card, .ag.reveal:not(.is-in) .vz-pill, .ag.reveal:not(.is-in) .vz-search, .ag.reveal:not(.is-in) .vz-chips, .ag.reveal:not(.is-in) .vz-wa { transform: translateY(14px); opacity: 0; }
  .ag .vz-bar i::after { transition: width 1.1s var(--ease) .35s; }
  .ag.reveal:not(.is-in) .vz-bar i::after { width: 0; }
  @media (hover: hover) { .ag:hover .vz-pill, .ag:hover .vz-wa { transform: translateY(-4px); } }
}

/* Packages: the marketing services, priced on request */
.mk-price { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 1.5rem 2.5rem; align-items: center; margin-top: 2.2rem; padding: clamp(1.5rem, 3vw, 2.2rem);
  border-radius: 22px; background: linear-gradient(180deg, var(--ink-2), var(--ink)); color: var(--on-ink); border: 1px solid rgba(201, 169, 110, .45);
  box-shadow: var(--offset), 0 26px 50px -26px rgba(20, 20, 20, .6), 0 0 40px -18px rgba(217, 168, 90, .6); }
@media (max-width: 860px) { .mk-price { grid-template-columns: 1fr; } }
.mk-price h4 { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); font-weight: 700; line-height: 1.15; margin-bottom: .5rem; }
html[lang="ur"] .mk-price h4 { line-height: 1.9; }
.mk-price-text > p { color: var(--on-ink-dim); max-width: 52ch; }
.mk-price-list { list-style: none; margin: 1.1rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .45rem; }
.mk-price-list li { display: inline-flex; align-items: center; gap: .45rem; padding: .35rem .8rem; border-radius: 999px; border: 1px solid rgba(201, 169, 110, .4); font-size: .88rem; font-weight: 600; }
.mk-price-list .ic { width: 15px; height: 15px; color: var(--gold-hi); }
.mk-price-cta { display: grid; gap: .7rem; }
.mk-price-cta .btn { width: 100%; }
.mk-price-cta p { color: var(--on-ink-dim); font-size: .88rem; text-align: center; }

/* the details window */
.sv-dialog { width: min(620px, calc(100% - 32px)); max-height: calc(100dvh - 32px); padding: 0; border: 1px solid rgba(201, 169, 110, .5); border-radius: 24px; background: var(--card); color: var(--ink);
  box-shadow: 6px 6px 0 #FFFFFF, 0 40px 90px -30px rgba(20, 20, 20, .6), 0 0 60px -20px rgba(217, 168, 90, .6); overflow: auto; }
.sv-dialog::backdrop { background: rgba(20, 16, 10, .55); }
html.sv-open { overflow: hidden; }
.sv-d-inner { position: relative; padding: clamp(1.5rem, 4vw, 2.4rem); display: grid; gap: .9rem; }
.sv-d-close { position: absolute; top: 14px; inset-inline-end: 14px; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; border: 1.5px solid var(--ink); background: transparent; cursor: pointer; }
.sv-d-icon { width: 54px; height: 54px; border-radius: 15px; display: grid; place-items: center; background: linear-gradient(180deg, var(--gold-hi), var(--gold)); box-shadow: 3px 3px 0 #FFFFFF, 0 0 20px -6px rgba(217, 168, 90, .8); }
.sv-d-icon .ic { width: 26px; height: 26px; }
.sv-dialog h2 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.2rem); padding-inline-end: 48px; }
html[lang="ur"] .sv-dialog h2 { line-height: 1.8; }
.sv-d-lead { color: var(--ink-soft); }
.sv-d-sub { font-size: 1rem; font-weight: 700; margin-top: .3rem; color: var(--gold-text); }
.sv-d-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.sv-d-list li { display: flex; gap: .6rem; align-items: flex-start; }
.sv-d-list .ic { width: 16px; height: 16px; margin-top: .3em; color: var(--gold-text); }
.sv-d-how { padding: .8rem 1rem; border-radius: 14px; border: 1px dashed var(--gold); font-size: .96rem; }
.sv-d-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: .4rem; }
@media (max-width: 480px) { .sv-d-actions .btn { width: 100%; } }

/* the free consultation bar */
.consult {
  position: fixed; z-index: 55; inset-block-end: calc(18px + env(safe-area-inset-bottom, 0px)); left: 50%; transform: translateX(-50%);
  width: min(760px, calc(100% - 470px)); display: flex; align-items: center; gap: .9rem; padding: .5rem .55rem .5rem .6rem;
  border-radius: 999px; background: linear-gradient(180deg, #FFFDF8, var(--cream-2)); border: 1px solid rgba(201, 169, 110, .6);
  box-shadow: 4px 4px 0 #FFFFFF, 0 22px 44px -18px rgba(70, 50, 20, .55), 0 0 40px -14px rgba(217, 168, 90, .7);
}
.consult.in { animation: consultIn .5s var(--ease); }
@keyframes consultIn { from { opacity: 0; transform: translate(-50%, 24px); } to { opacity: 1; transform: translate(-50%, 0); } }
.consult-mark { flex: none; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: var(--card); border: 1px solid rgba(201, 169, 110, .55); box-shadow: inset 0 0 0 3px #FFFFFF; }
.consult-mark svg { width: 44px; height: auto; }
.consult-text { flex: 1; min-width: 0; display: grid; line-height: 1.3; }
.consult-text strong { font-family: var(--f-head); font-size: 1.05rem; }
.consult-text > span { color: var(--ink-soft); font-size: .86rem; }
.cs-short { display: none; }
.consult-btn { flex: none; border-radius: 999px; }
.consult-x { flex: none; width: 36px; height: 36px; display: grid; place-items: center; border: 0; border-radius: 50%; background: transparent; color: var(--ink-soft); cursor: pointer; }
.consult-x .ic { width: 16px; height: 16px; }
@media (hover: hover) { .consult-x:hover { background: rgba(20, 20, 20, .06); color: var(--ink); } }
html.bb-open .consult, html.sv-open .consult { display: none; }
html[lang="ur"] .consult-text { line-height: 1.8; }
@media (max-width: 1100px) {
  .consult { left: auto; transform: none; width: auto; inset-inline-start: max(12px, env(safe-area-inset-left, 0px)); inset-inline-end: 232px; border-radius: 22px; }
  .consult.in { animation-name: consultInM; }
  @keyframes consultInM { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
}
@media (max-width: 860px) {
  .consult-mark { display: none; }
  .consult-text > span { display: none; }
  .consult-text strong { font-size: .92rem; }
}
@media (max-width: 520px) {
  .consult { inset-inline-end: calc(76px + env(safe-area-inset-right, 0px)); gap: .4rem; padding: .4rem; }
  .consult-btn { padding: .4rem .7rem; min-height: 38px; font-size: .86rem; }
  .consult-btn .ic { display: none; }
  .cs-long { display: none; } .cs-short { display: inline; }
}
@media (prefers-reduced-motion: reduce) { .consult.in { animation: none; } }

/* ================================================================ service pages (added) ===========
   websites.html, seo.html, ads.html, content.html, branding.html, campaigns.html (built by tools/build_pages.py) */
.svc-hero { position: relative; isolation: isolate; overflow: hidden; overflow: clip; padding-block: clamp(2rem, 5vw, 3.5rem) clamp(3rem, 7vw, 5rem); }
.svc-hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (max-width: 900px) { .svc-hero-grid { grid-template-columns: 1fr; } }
.svc-hero h1 { font-size: clamp(2.3rem, 1.2rem + 3.6vw, 4.2rem); }
html[lang="ar"] .svc-hero h1 { font-size: clamp(2.5rem, 1.4rem + 3.8vw, 4.6rem); line-height: 1.2; }
html[lang="ur"] .svc-hero h1 { font-size: clamp(2rem, 1.2rem + 2.6vw, 3.4rem); line-height: 1.8; }
.svc-hero .hero-sub { margin-top: 1.3rem; }
.crumb { display: inline-flex; align-items: center; gap: .45rem; min-height: 44px; margin-bottom: 1.1rem; color: var(--ink-soft); font-weight: 600; font-size: .95rem; text-decoration: none; }
.crumb .crumb-back { width: 16px; height: 16px; transform: scaleX(-1); }
html[dir="rtl"] .crumb .crumb-back { transform: none; }
@media (hover: hover) { .crumb:hover { color: var(--ink); } }
.eyebrow { display: flex; align-items: center; gap: .6rem; margin-bottom: .9rem; color: var(--gold-text); font-family: var(--f-head); font-weight: 700; font-size: .95rem; letter-spacing: .06em; text-transform: uppercase; }
.eyebrow-ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; color: var(--ink); background: linear-gradient(180deg, var(--gold-hi), var(--gold)); box-shadow: 3px 3px 0 #FFFFFF, 0 0 18px -6px rgba(217, 168, 90, .8); }
.eyebrow-ic .ic { width: 20px; height: 20px; }
/* the card's picture, bigger, on a soft panel */
.svc-hero-art { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .9rem; min-height: 380px; padding: clamp(1.5rem, 4vw, 2.8rem);
  border-radius: 28px; background: radial-gradient(120% 90% at 50% 0%, #FFFFFF, var(--card) 60%, var(--cream-2)); border: 1px solid rgba(20, 20, 20, .07);
  box-shadow: 0 1px 0 #fff inset, var(--glow), 0 0 60px -30px rgba(217, 168, 90, .7); pointer-events: none; user-select: none; }
.svc-hero-art .ag-art { min-height: 0; padding-bottom: 0; width: 100%; font-size: 1.12rem; }
.svc-hero-art .vz-card, .svc-hero-art .vz-search { width: min(100%, 400px); }
.svc-hero-art .vz-card { font-size: .9rem; }
.svc-hero-art .vz-chips { max-width: 420px; }
.svc-hero-art .vz-pill--low { margin-top: -1.2rem; }
@media (max-width: 520px) { .svc-hero-art { min-height: 0; } }

/* what you get */
.gets { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
@media (max-width: 700px) { .gets { grid-template-columns: 1fr; } }
.get { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: start; gap: .8rem; padding: 1.4rem 1.4rem 1.4rem 1.3rem; padding-inline: 1.3rem 4rem;
  background: var(--card); border: 1px solid rgba(20, 20, 20, .08); border-radius: 18px; box-shadow: 0 1px 0 #fff inset, var(--glow); font-size: 1.05rem; font-weight: 600; }
.get .ic { width: 22px; height: 22px; padding: 4px; margin-top: .1em; border-radius: 50%; color: var(--ink); background: linear-gradient(180deg, var(--gold-hi), var(--gold)); }
.get-n { position: absolute; inset-inline-end: 1.2rem; top: 1rem; font-family: 'Jost', sans-serif; font-size: 1.6rem; font-weight: 700; color: rgba(122, 90, 34, .3); }
.steps--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 760px) { .steps--3 { grid-template-columns: 1fr; } }

/* ads: the platforms */
.pfs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
@media (max-width: 900px) { .pfs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .pfs { grid-template-columns: 1fr; } }
.pf { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto auto; column-gap: .9rem; align-items: center; padding: 1.2rem 1.3rem;
  background: var(--card); border: 1px solid rgba(20, 20, 20, .08); border-radius: 18px; box-shadow: 0 1px 0 #fff inset, var(--glow); }
.pf i { grid-row: span 2; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: var(--c); color: var(--t); font-style: normal; font-family: 'Jost', sans-serif; font-weight: 700; }
.pf b { font-family: 'Jost', var(--f-head); font-size: 1.1rem; direction: ltr; justify-self: start; }
.pf span { color: var(--ink-soft); font-size: .95rem; }

/* good to know */
.know-note { max-width: 860px; margin-bottom: 1.2rem; padding: 1rem 1.2rem; border-radius: 16px; border: 1px dashed var(--gold); background: rgba(255, 255, 255, .45); font-size: 1.02rem; }
.pg-cta { margin-top: 0; }
.pg-cta h2 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.3rem); font-weight: 700; line-height: 1.15; margin-bottom: .5rem; }
html[lang="ur"] .pg-cta h2 { line-height: 1.9; }

/* other services */
.others { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: .8rem; }
.other { display: flex; align-items: center; gap: .7rem; min-height: 64px; padding: .7rem 1rem; border-radius: 16px; background: var(--card); border: 1px solid rgba(20, 20, 20, .08);
  box-shadow: 0 1px 0 #fff inset, 0 12px 30px -24px rgba(122, 90, 34, .45); color: var(--ink); text-decoration: none; font-family: var(--f-head); font-weight: 600; transition: transform .2s var(--ease), border-color .2s; }
.other-ic { flex: none; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--cream-1); color: var(--gold-text); }
.other-go { margin-inline-start: auto; width: 18px; height: 18px; color: var(--gold-text); }
@media (hover: hover) { .other:hover { transform: translateY(-2px); border-color: var(--gold); } }
html[lang="ur"] .other { line-height: 1.8; }

/* the GCC band: six countries instead of three cities */
.cities-row { flex-direction: column; align-items: flex-start; }
.city-list { font-size: clamp(1.35rem, .9rem + 1.7vw, 2.2rem); }
.cities-note { display: inline-flex; align-items: center; gap: .55rem; max-width: none; }

/* category headers: what kind of work, or what kind of price, follows */
.cat-head { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .8rem; margin-bottom: 1.4rem; padding-bottom: .9rem; border-bottom: 1px solid var(--line); }
.cat-head h3 { font-size: clamp(1.25rem, 1.05rem + .7vw, 1.6rem); font-weight: 700; line-height: 1.2; }
html[lang="ur"] .cat-head h3 { line-height: 1.9; }
.cat-ic { display: inline-grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 12px; background: var(--ink); color: var(--gold-hi); box-shadow: 3px 3px 0 #FFFFFF; }
.cat-meta { display: inline-flex; align-items: center; min-height: 28px; padding: .1rem .75rem; border-radius: 999px; border: 1px solid rgba(122, 90, 34, 0.35);
  background: rgba(255, 255, 255, 0.6); color: var(--gold-text); font-family: var(--f-head); font-weight: 600; font-size: .85rem; }
html[lang="ur"] .cat-meta { line-height: 2; }
.cat-head--mk { margin-top: clamp(2.6rem, 5vw, 3.6rem); }

/* small pieces shared by the top section and the GCC band */
.hero-eyebrow { display: inline-flex; align-items: center; gap: .55rem; margin-bottom: 1.2rem; padding: .3rem .9rem .3rem .75rem; border-radius: 999px;
  border: 1px solid rgba(122, 90, 34, 0.3); background: rgba(255, 255, 255, 0.55); font-family: var(--f-head); font-weight: 600; font-size: .9rem; color: var(--gold-text); }
html[lang="ur"] .hero-eyebrow { line-height: 2; }
.hq-dot { position: relative; width: 9px; height: 9px; flex: none; border-radius: 50%; background: #B9873A; box-shadow: 0 0 0 2px #FFFFFF; }
.hq-dot::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 1.5px solid rgba(217, 168, 90, 0.7); animation: hqPing 2.2s ease-out infinite; }
@keyframes hqPing { from { transform: scale(.4); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .hq-dot::after { animation: none; opacity: .5; } }

/* ---------- the top of the home page: the earth from space ----------
   Night sky for this section only. The canvas (js/globe.js) fills the whole section; the earth rises
   into the room kept free at the bottom (padding-bottom = --globe-h). */
.hero--space {
  --space-0: #03050C; --space-1: #0A1024; --space-2: #13204A; --on-space: #F4EEE3; --on-space-dim: rgba(244, 238, 227, 0.72);
  --globe-h: clamp(300px, min(34vw, 46vh), 420px);
  --globe-h: clamp(300px, min(34vw, 46svh), 420px);
  min-height: calc(100svh - 72px); display: flex; flex-direction: column;
  padding-block: clamp(2.6rem, 6vh, 5rem) var(--globe-h);
  background: radial-gradient(90% 60% at 50% 100%, var(--space-2), var(--space-1) 55%, var(--space-0) 100%), var(--space-0);
  color: var(--on-space); color-scheme: dark;
}
.space-canvas { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; display: block; pointer-events: none; }
.space-fx { position: absolute; inset-inline: 0; bottom: 0; z-index: 0; width: 100%; display: block; pointer-events: none; }
/* a few stars that twinkle, on their own layer so the browser fades them without redrawing anything */
.hero--space::before { content: ""; position: absolute; inset: 0 0 var(--globe-h) 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(1.6px 1.6px at 12% 18%, #FFFFFF 50%, transparent 100%), radial-gradient(1.4px 1.4px at 31% 64%, #FFFFFF 50%, transparent 100%),
    radial-gradient(1.8px 1.8px at 47% 9%, #FFF6E4 50%, transparent 100%), radial-gradient(1.4px 1.4px at 66% 41%, #FFFFFF 50%, transparent 100%),
    radial-gradient(1.6px 1.6px at 83% 22%, #FFFFFF 50%, transparent 100%), radial-gradient(1.4px 1.4px at 93% 70%, #FFF6E4 50%, transparent 100%),
    radial-gradient(1.4px 1.4px at 5% 78%, #FFFFFF 50%, transparent 100%), radial-gradient(1.6px 1.6px at 58% 86%, #FFFFFF 50%, transparent 100%);
  animation: twinkle 3.2s ease-in-out infinite alternate; }
@keyframes twinkle { from { opacity: .15; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .hero--space::before { animation: none; opacity: .7; } }
.space-copy { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero--space .hero-eyebrow { background: rgba(14, 20, 42, 0.85); border-color: rgba(226, 196, 138, 0.32); color: var(--gold-hi); }
.hero--space .hq-dot { background: var(--gold-hi); box-shadow: 0 0 0 2px rgba(3, 5, 12, 0.9), 0 0 10px var(--gold-glow); }
.space-h1 { font-size: clamp(2.6rem, 1rem + 5vw, 5.2rem); font-weight: 700; line-height: 1.06; letter-spacing: -0.015em; color: #FFFFFF; text-shadow: 0 0 40px rgba(110, 150, 255, 0.25); }
.space-gold { color: var(--gold-hi); text-shadow: 0 0 30px rgba(217, 168, 90, 0.45); white-space: nowrap; }
.hero--space .hero-sub { margin: 1.2rem auto 0; max-width: 54ch; color: var(--on-space-dim); }
.hero--space .hero-ctas { justify-content: center; margin-top: 1.7rem; }
.hero--space .btn--gold { box-shadow: 0 0 0 1px rgba(246, 214, 150, 0.5), 0 0 34px -6px rgba(217, 168, 90, 0.85); }
.btn--space { color: var(--on-space); border-color: rgba(244, 238, 227, 0.35); background: rgba(255, 255, 255, 0.04); box-shadow: none; }
@media (hover: hover) { .btn--space:hover { border-color: var(--gold-hi); background: rgba(255, 255, 255, 0.08); } }
.btn--space:active { box-shadow: none; }
.hero--space :focus-visible { outline-color: var(--gold-hi); }

/* the services, floating round the earth */
.space-chips { list-style: none; margin: 0; padding: 0; position: absolute; z-index: 1; inset-inline: 0; bottom: 0; height: var(--globe-h); max-width: 1320px; margin-inline: auto; pointer-events: none; }
.space-chips li { position: absolute; pointer-events: auto; animation: chipFloat 7s ease-in-out infinite alternate; }
.space-chips li:nth-child(1) { inset-inline-start: 13%; top: 0; }
.space-chips li:nth-child(2) { inset-inline-start: 6%; top: 30%; animation-delay: -2s; }
.space-chips li:nth-child(3) { inset-inline-start: 2%; top: 60%; animation-delay: -4s; }
.space-chips li:nth-child(4) { inset-inline-end: 13%; top: 0; animation-delay: -1s; }
.space-chips li:nth-child(5) { inset-inline-end: 6%; top: 30%; animation-delay: -3s; }
.space-chips li:nth-child(6) { inset-inline-end: 2%; top: 60%; animation-delay: -5s; }
@keyframes chipFloat { from { transform: translateY(-5px); } to { transform: translateY(5px); } }
.space-chips a { display: inline-flex; align-items: center; gap: .6rem; min-height: 44px; padding: .35rem 1.05rem .35rem .4rem; border-radius: 999px;
  border: 1px solid rgba(226, 196, 138, 0.3); background: rgba(8, 13, 30, 0.9);   /* no blur: it would be redone every frame over the moving globe */
  color: var(--on-space); text-decoration: none; font-family: var(--f-head); font-weight: 500; font-size: 1rem; white-space: nowrap; transition: border-color .2s, background-color .2s; }
.space-chips .ic { width: 30px; height: 30px; padding: 7px; border-radius: 50%; background: rgba(226, 196, 138, 0.16); color: var(--gold-hi); }
@media (hover: hover) { .space-chips a:hover { border-color: var(--gold-hi); background: rgba(19, 32, 74, 0.85); } }
html[lang="ur"] .space-chips a { line-height: 2; }
@media (max-width: 1100px) {
  .space-chips li:nth-child(1), .space-chips li:nth-child(4) { top: -4%; }
  .space-chips li:nth-child(2), .space-chips li:nth-child(5) { top: 26%; }
  .space-chips a { font-size: .9rem; }
}
/* phones and tablets: the services sit in a row under the buttons, the earth below them */
@media (max-width: 860px) {
  .hero--space { --globe-h: clamp(230px, min(68vw, 52vh), 340px); min-height: 0; }
  .space-chips { position: relative; inset: auto; height: auto; display: flex; flex-wrap: wrap; justify-content: center; gap: .45rem; margin-top: 1.4rem;
    padding-inline: max(var(--gutter), env(safe-area-inset-left, 0px)) max(var(--gutter), env(safe-area-inset-right, 0px)); }
  .space-chips li { position: static; animation: none; }
  .space-chips a { min-height: 38px; padding: .2rem .8rem .2rem .3rem; font-size: .85rem; gap: .4rem; }
  .space-chips .ic { width: 26px; height: 26px; padding: 6px; }
}
@media (prefers-reduced-motion: reduce) { .space-chips li { animation: none; } }
/* small phones: the six service cards follow right after, so the earth gets the room instead */
@media (max-width: 600px) {
  .hero--space .space-chips { display: none; }
  .hero--space { --globe-h: clamp(220px, min(78vw, 40vh), 330px); --globe-h: clamp(220px, min(78vw, 40svh), 330px); padding-top: 1.8rem; }
  .hero--space .hero-eyebrow { font-size: .8rem; margin-bottom: .9rem; }
  .hero--space .hero-sub { font-size: 1rem; margin-top: .9rem; }
  .hero--space .hero-ctas { margin-top: 1.2rem; gap: .5rem; }
  /* keep the words compact so the earth shows on the first screen */
  .hero--space .space-h1 { font-size: clamp(2.1rem, 1.2rem + 4vw, 2.6rem); }
  html[lang="ar"] .hero--space .space-h1 { font-size: clamp(2.3rem, 1.3rem + 4.4vw, 2.9rem); line-height: 1.2; }
  html[lang="ur"] .hero--space .space-h1 { font-size: clamp(1.8rem, 1.1rem + 3.4vw, 2.2rem); line-height: 1.75; }
  .hero--space .hero-sub { font-size: .95rem; line-height: 1.55; }
  html[lang="ur"] .hero--space .hero-sub { line-height: 2; }
  .hero--space .hero-ctas .btn { min-height: 46px; padding: .6rem .95rem; font-size: .93rem; }
}

/* questions, one group per category: the name on the side, its questions next to it */
.faq-group { display: grid; grid-template-columns: minmax(0, 250px) minmax(0, 1fr); gap: 1rem 2.5rem; align-items: start; max-width: 1080px; }
.faq-group + .faq-group { margin-top: clamp(2.2rem, 4vw, 3rem); }
.faq-group .cat-head { position: sticky; top: 96px; margin: 0; border-bottom: 0; padding: 0; }
.faq-group .faq { max-width: none; }
@media (max-width: 860px) {
  .faq-group { grid-template-columns: 1fr; }
  .faq-group .cat-head { position: static; padding-bottom: .8rem; border-bottom: 1px solid var(--line); }
}
