/* ============================================================================
   MAA-Tech — Design System
   Built from MAA-Tech-Brand-Kit.html v1.0 (2025). Every colour, size, radius
   and spacing step below traces to a documented token in that kit.

   Sections
     01  Tokens
     02  Reset & base
     03  Typography & script switching (Latin / Arabic / Urdu)
     04  Layout & grid
     05  Section eyebrow  (the signature device)
     06  Buttons
     07  Badges
     08  Cards
     09  Icons
     10  Stats
     11  Header & mega-menu
     12  Language switcher
     13  Offcanvas
     14  Hero
     15  Forms
     16  Footer
     17  Utilities & motion
     18  RTL adjustments
     19  Responsive
   ========================================================================== */

/* ── 01 · TOKENS ─────────────────────────────────────────────────────────── */
:root {
  /* Brand palette — verbatim from the kit's colour section */
  --navy:      #07172E;   /* Deep Navy   · primary brand      */
  --navy-2:    #0F2D5A;   /* dark-blue gradient stop          */
  --blue:      #0F52BA;   /* Brand Blue  · headings / CTA     */
  --blue-l:    #1A6EE8;   /* Light Blue  · hover / accent     */
  --cyan:      #00C2D4;   /* Cyan        · key accent         */
  --gold:      #C9943A;   /* Gold        · highlight          */
  --gold-l:    #E8B455;   /* Light Gold  · gradient end       */
  --cream:     #F7F4EF;   /* Cream       · page background    */
  --gray-1:    #F0EDE8;
  --gray-2:    #DDD9D0;   /* borders                          */
  --gray-4:    #9E9890;   /* muted / meta text                */
  --gray-6:    #5C5850;   /* body text — the AA-safe default  */
  --white:     #FFFFFF;
  --canvas:    #EDEBE6;   /* the kit's own body canvas        */
  --danger:    #C62828;
  --danger-bg: #FFF5F5;
  --danger-bd: #FFCDD2;
  --success:   #1B7F5A;

  /* Gradients — all 135deg, exactly as specified */
  --grad-primary: linear-gradient(135deg, #00C2D4, #0F52BA);
  --grad-dark:    linear-gradient(135deg, #07172E, #0F2D5A);
  --grad-strip:   linear-gradient(135deg, #0F52BA, #07172E);
  --grad-gold:    linear-gradient(135deg, #C9943A, #E8B455);

  /* Tint recipes */
  --cyan-tint:   rgba(0, 194, 212, 0.10);
  --cyan-tint-2: rgba(0, 194, 212, 0.12);
  --cyan-line:   rgba(0, 194, 212, 0.25);
  --cyan-line-2: rgba(0, 194, 212, 0.30);
  --gold-tint:   rgba(201, 148, 58, 0.12);
  --gold-line:   rgba(201, 148, 58, 0.30);
  --on-navy-2:   rgba(255, 255, 255, 0.40);
  --on-navy-3:   rgba(255, 255, 255, 0.35);
  --hairline:    rgba(255, 255, 255, 0.07);

  /* The kit documents exactly one shadow. */
  --shadow:    0 2px 12px rgba(0, 0, 0, 0.10);
  --shadow-lg: 0 12px 32px rgba(7, 23, 46, 0.14);

  /* Type families */
  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body:    "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono:    "Space Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Type scale — the kit's six documented steps */
  --fs-display: 72px;
  --fs-h1:      48px;
  --fs-h2:      32px;
  --fs-h3:      20px;
  --fs-body:    15px;
  --fs-label:   11px;
  --fs-small:   13px;
  --fs-micro:   9px;

  /* Spacing — base 4px, ten steps */
  --sp-xs:  4px;
  --sp-sm:  8px;
  --sp-sm2: 12px;
  --sp-md:  16px;
  --sp-lg:  24px;
  --sp-xl:  32px;
  --sp-2xl: 48px;
  --sp-3xl: 60px;
  --sp-4xl: 80px;
  --sp-sec: 100px;

  /* Radius — documented 4/8/12/50%, plus the pill and card values in use */
  --r-xs:   4px;
  --r-sm:   6px;
  --r-md:   8px;
  --r-lg:   12px;
  --r-xl:   14px;
  --r-2xl:  20px;
  --r-pill: 100px;

  /* Grid */
  --container: 1200px;
  --gutter:    24px;

  --header-h: 78px;
  --ease:     cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* ── 02 · RESET & BASE ───────────────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.65;
  color: var(--gray-6);
  background: var(--cream);
  overflow-x: hidden;
}

img, svg, video { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--blue-l); }
ul, ol { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }

/* Keyboard focus — cyan is legible as a ring even though it fails AA as text. */
:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: var(--r-xs);
}

::selection { background: var(--cyan); color: var(--navy); }

.skip-link {
  position: absolute; inset-inline-start: -9999px; top: 0; z-index: 999;
  background: var(--navy); color: #fff; padding: 12px 20px;
  border-radius: 0 0 var(--r-md) 0; font-family: var(--font-mono); font-size: var(--fs-label);
}
.skip-link:focus { inset-inline-start: 0; color: #fff; }

/* ── 03 · TYPOGRAPHY & SCRIPT SWITCHING ──────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--navy);
  font-weight: 600;
  line-height: 1.15;
}

h1 { font-size: var(--fs-h1); line-height: 1; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); font-family: var(--font-body); font-weight: 600; line-height: 1.4; }
h4 { font-size: 17px; font-family: var(--font-body); font-weight: 600; line-height: 1.4; }

/* The kit's rule: every section title carries one word in italic Brand Blue. */
h1 em, h2 em, h3 em, .display em, .accent-em {
  font-style: italic;
  color: var(--blue);
  font-weight: inherit;
}

.display { font-family: var(--font-display); font-size: var(--fs-display); font-weight: 300; line-height: 1; }
.lead    { font-size: 17px; line-height: 1.7; color: var(--gray-6); }
.muted   { color: var(--gray-4); }
.small   { font-size: var(--fs-small); }

.mono {
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* Arabic — Amiri carries the editorial serif weight that Cormorant does in Latin. */
.script-arabic {
  --font-display: "Amiri", "Times New Roman", serif;
  --font-body:    "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif;
  --font-mono:    "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif;
  line-height: 1.9;
}
.script-arabic .mono { letter-spacing: 0; text-transform: none; }

/* Urdu — Nastaliq needs far more leading and a larger optical size to stay legible. */
.script-urdu {
  --font-display: "Noto Nastaliq Urdu", "Jameel Noori Nastaleeq", serif;
  --font-body:    "Noto Nastaliq Urdu", "Jameel Noori Nastaleeq", serif;
  --font-mono:    "Noto Nastaliq Urdu", serif;
  font-size: 16px;
  line-height: 2.35;
}
.script-urdu h1, .script-urdu h2, .script-urdu h3,
.script-urdu h4, .script-urdu .display { line-height: 1.9; }
.script-urdu .mono { letter-spacing: 0; text-transform: none; font-size: 12px; }
.script-urdu .btn  { line-height: 2; }

/* ── 04 · LAYOUT & GRID ──────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--sp-lg);
}
.container-narrow { max-width: 860px; }

.section        { padding-block: var(--sp-sec); }
.section-sm     { padding-block: var(--sp-4xl); }
.section-cream  { background: var(--cream); }
.section-white  { background: var(--white); }
.section-gray   { background: var(--gray-1); }

.section-dark {
  background: var(--grad-dark);
  color: rgba(255, 255, 255, 0.82);
  position: relative;
  overflow: hidden;
}
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 { color: #fff; }
.section-dark .lead { color: var(--on-navy-2); }
.section-dark em { color: var(--cyan); }

/* The kit's blueprint grid + ambient cyan orb, for navy sections.
   Both are absolutely positioned, which would otherwise paint them ABOVE the
   section's non-positioned children — the grid would show through cards. The
   decorations sit at z-index 0 and direct children are lifted above them. */
.blueprint, .glow { position: relative; }

.blueprint::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image:
    linear-gradient(rgba(15, 82, 186, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 82, 186, 0.12) 1px, transparent 1px);
  background-size: 48px 48px;
}
.glow::after {
  content: ""; position: absolute; pointer-events: none; z-index: 0;
  width: 400px; height: 400px; border-radius: 50%;
  top: -30%; inset-inline-end: -5%;
  background: radial-gradient(circle, rgba(0, 194, 212, 0.18) 0%, transparent 70%);
}

.blueprint > *, .glow > * { position: relative; z-index: 1; }

.grid { display: grid; gap: var(--gutter); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-auto { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-2xl); align-items: center; }

.divider { height: 1px; background: var(--gray-2); margin-block: var(--sp-lg); border: 0; }
.section-dark .divider { background: var(--hairline); }

/* ── 05 · SECTION EYEBROW (signature device) ─────────────────────────────── */
.eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }

.eyebrow-num {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--cyan);
  background: var(--cyan-tint);
  padding: 3px 9px;
  border-radius: var(--r-xs);
  border: 1px solid var(--cyan-line);
  flex-shrink: 0;
}
.eyebrow-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gray-6);
}
.section-dark .eyebrow-label { color: var(--on-navy-2); }

.section-head { margin-bottom: var(--sp-xl); }
.section-head .lead { margin-top: var(--sp-sm2); max-width: 68ch; }
.section-head.center { text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head.center .lead { margin-inline: auto; }

/* ── 06 · BUTTONS ────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  padding: 12px 24px;
  border-radius: var(--r-pill);
  border: 1.5px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: background .25s var(--ease), color .25s var(--ease),
              border-color .25s var(--ease), transform .2s var(--ease), box-shadow .25s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn .mi { font-size: 18px; }

.btn-primary { background: var(--grad-primary); color: #fff; border-color: transparent; }
.btn-primary:hover { background: var(--blue-l); color: #fff; box-shadow: 0 6px 18px rgba(15, 82, 186, .30); }

.btn-secondary { color: var(--navy); border-color: var(--navy); background: transparent; }
.btn-secondary:hover { background: var(--navy); color: #fff; }

.btn-ghost { color: var(--cyan); border-color: rgba(0, 194, 212, 0.4); background: transparent; font-weight: 400; }
.btn-ghost:hover { border-color: var(--cyan); background: var(--cyan-tint); color: var(--cyan); }

/* Anywhere the ground is navy, the outline button has to invert or it is navy-on-navy. */
.section-dark .btn-secondary,
.hero .btn-secondary,
.page-hero .btn-secondary,
.cta-panel .btn-secondary,
.strip .btn-secondary { color: #fff; border-color: rgba(255, 255, 255, .5); }

.section-dark .btn-secondary:hover,
.hero .btn-secondary:hover,
.page-hero .btn-secondary:hover,
.cta-panel .btn-secondary:hover,
.strip .btn-secondary:hover { background: #fff; color: var(--navy); border-color: #fff; }

.btn-lg { padding: 15px 32px; font-size: 14px; }
.btn-sm { padding: 9px 18px; font-size: 12px; }
.btn-block { width: 100%; }
.btn[disabled], .btn.is-busy { opacity: .55; pointer-events: none; }

/* The kit's primary sample is "Get Started →" — the arrow nudges on hover. */
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

/* ── 07 · BADGES ─────────────────────────────────────────────────────────── */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  letter-spacing: .5px;
  padding: 5px 12px;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  white-space: nowrap;
}
.badge-cyan    { background: var(--cyan-tint-2); color: var(--cyan);   border-color: var(--cyan-line-2); }
.badge-navy    { background: var(--navy);        color: #fff;          border-color: var(--navy); }
.badge-gold    { background: var(--gold-tint);   color: var(--gold);   border-color: var(--gold-line); }
.badge-outline { background: transparent;        color: var(--gray-6); border-color: var(--gray-2); }
.badge-row { display: flex; flex-wrap: wrap; gap: 8px; }

/* ── 08 · CARDS ──────────────────────────────────────────────────────────── */
.card {
  background: var(--white);
  border: 1px solid var(--gray-2);
  border-radius: var(--r-xl);
  padding: var(--sp-lg);
  box-shadow: var(--shadow);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.card-hover:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--cyan-line); }
.card-lg { padding: 24px 28px; }

.card-kicker {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gray-4);
  margin-bottom: var(--sp-sm2);
}
.card h3, .card h4 { color: var(--navy); margin-bottom: var(--sp-sm); }
.card p { font-size: 14px; line-height: 1.6; }

/* Highlight card — cyan rule on the leading edge, flipped automatically in RTL. */
.highlight-card {
  border-inline-start: 3px solid var(--cyan);
  padding: 14px 18px;
  background: var(--cream);
  border-radius: 0 var(--r-md) var(--r-md) 0;
}
.highlight-card h4 { font-family: var(--font-display); font-size: 16px; font-weight: 600; color: var(--navy); }
.highlight-card p  { font-size: 13px; color: var(--gray-6); line-height: 1.5; margin-top: 2px; }

.card-dark {
  background: var(--navy);
  border-color: var(--hairline);
  color: rgba(255, 255, 255, .8);
}
.card-dark h3, .card-dark h4 { color: #fff; }

/* Service card — the workhorse of the services grid. */
.service-card { display: flex; flex-direction: column; gap: var(--sp-sm2); height: 100%; }
.service-card .service-title { font-family: var(--font-display); font-size: 21px; font-weight: 600; color: var(--navy); }
.service-card p { flex: 1; }
.service-card .more {
  font-family: var(--font-mono); font-size: var(--fs-label); letter-spacing: 1px;
  text-transform: uppercase; color: var(--blue); display: inline-flex; align-items: center; gap: 6px;
}
.service-card:hover .more .arrow { transform: translateX(3px); }

/* ── 09 · ICONS ──────────────────────────────────────────────────────────── */
/* Google Material Symbols, Filled, cyan — per the kit's icon spec. */
.mi {
  font-family: "Material Symbols Rounded", "Material Icons";
  font-weight: normal; font-style: normal;
  font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24;
  font-size: 24px; line-height: 1;
  display: inline-block; vertical-align: middle;
  letter-spacing: normal; text-transform: none; white-space: nowrap;
  direction: ltr; -webkit-font-feature-settings: 'liga'; font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
}

.icon-cell {
  width: 48px; height: 48px; flex: 0 0 48px;
  border-radius: 10px;
  background: var(--cyan-tint);
  border: 1px solid rgba(0, 194, 212, 0.2);
  display: flex; align-items: center; justify-content: center;
  color: var(--cyan);
}
.icon-cell .mi { font-size: 22px; }
.icon-cell-gold { background: var(--gold-tint); border-color: var(--gold-line); color: var(--gold); }
.icon-cell-lg { width: 60px; height: 60px; flex-basis: 60px; border-radius: var(--r-lg); }

/* ── 10 · STATS ──────────────────────────────────────────────────────────── */
.stat-row { display: flex; gap: var(--sp-sm2); flex-wrap: wrap; }
.stat {
  flex: 1; min-width: 120px; text-align: center;
  background: var(--navy);
  border-radius: var(--r-md);
  padding: 18px 10px;
}
.stat-num {
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  font-weight: 700;
  color: #fff;
  line-height: 1;
}
/* The kit alternates the "+" between cyan and gold down the row. */
.stat:nth-child(odd)  .stat-num span { color: var(--cyan); }
.stat:nth-child(even) .stat-num span { color: var(--gold); }
.stat-label {
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--on-navy-2);
  margin-top: 6px;
}

/* ── 11 · HEADER & MEGA-MENU ─────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 200;
  background: rgba(7, 23, 46, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--hairline);
  transition: background .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.is-scrolled { background: var(--navy); box-shadow: 0 4px 24px rgba(0, 0, 0, .28); }

.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--sp-lg); min-height: var(--header-h);
}

/* Brand lockup — mark + wordmark, hyphen in cyan (kit rule). */
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand img {
  width: 44px; height: 44px; object-fit: contain;
  mix-blend-mode: screen;              /* supplied PNGs have an opaque navy field */
  filter: drop-shadow(0 0 10px rgba(0, 194, 212, 0.3));
}
.brand-word {
  display: block;
  font-family: var(--font-mono); font-weight: 700; font-size: 20px;
  letter-spacing: 3px; color: #fff; line-height: 1;
}
.brand-word span { color: var(--cyan); }
.brand-sub {
  display: block;
  font-family: var(--font-mono); font-size: var(--fs-micro);
  letter-spacing: 1.5px; color: var(--on-navy-2); margin-top: 4px; text-transform: uppercase;
}

.nav { display: flex; align-items: center; gap: 4px; }
.nav-link {
  position: relative;
  display: block;
  font-family: var(--font-body); font-size: 13px; font-weight: 500;
  letter-spacing: .3px; color: rgba(255, 255, 255, .86);
  padding: 10px 14px; border-radius: var(--r-pill);
  transition: color .2s var(--ease), background .2s var(--ease);
}
.nav-link:hover, .nav-item:hover > .nav-link { color: #fff; background: rgba(255, 255, 255, .06); }
.nav-link.is-active { color: var(--cyan); }
.nav-link.is-active::after {
  content: ""; position: absolute; inset-inline: 14px; bottom: 4px;
  height: 2px; background: var(--cyan); border-radius: 2px;
}

/* Full-bleed mega-menu, opened on hover (desktop) or click (touch/keyboard). */
.nav-item { position: static; }
.mega {
  position: absolute; inset-inline: 0; top: 100%;
  background: var(--white);
  border-top: 3px solid var(--cyan);
  box-shadow: 0 24px 48px rgba(7, 23, 46, .22);
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .28s var(--ease), transform .28s var(--ease), visibility .28s;
  max-height: calc(100vh - var(--header-h)); overflow-y: auto;
}
.nav-item:hover > .mega,
.nav-item.is-open > .mega { opacity: 1; visibility: visible; transform: translateY(0); }

.mega-inner {
  max-width: var(--container); margin-inline: auto;
  padding: var(--sp-xl) var(--sp-lg);
  display: grid; grid-template-columns: 280px 1fr; gap: var(--sp-xl);
}
.mega-products { border-inline-end: 1px solid var(--gray-2); padding-inline-end: var(--sp-xl); }
.mega-heading {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--gray-4); margin-bottom: var(--sp-md);
}
.product-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.product-card {
  display: flex; align-items: center; justify-content: center;
  background: var(--white); border: 1px solid var(--gray-2); border-radius: var(--r-md);
  padding: 12px 10px; min-height: 84px;
  transition: border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.product-card:hover { border-color: var(--cyan); transform: translateY(-2px); box-shadow: var(--shadow); }
/* Product marks are stacked (symbol over wordmark), so they need height, not width. */
.product-card img { max-height: 56px; max-width: 100%; width: auto; object-fit: contain; }
.product-card .product-name {
  font-family: var(--font-mono); font-size: 13px; font-weight: 700;
  color: var(--navy); letter-spacing: .5px; text-align: center;
}

.mega-services { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-lg) var(--sp-xl); }
.mega-col .mega-col-title {
  font-family: var(--font-body); font-size: 13px; font-weight: 600; color: var(--navy);
  padding-bottom: 8px; margin-bottom: 10px; border-bottom: 1px solid var(--gray-2);
  display: flex; align-items: center; gap: 8px;
}
.mega-col-title .mi { font-size: 18px; color: var(--cyan); }
.mega-col a {
  display: flex; align-items: center; gap: 8px;
  font-size: 13.5px; color: var(--gray-6); padding: 6px 0;
  transition: color .2s var(--ease), padding-inline-start .2s var(--ease);
}
.mega-col a::before {
  content: ""; width: 4px; height: 4px; border-radius: 50%;
  background: var(--gray-2); flex-shrink: 0; transition: background .2s var(--ease);
}
.mega-col a:hover { color: var(--blue); padding-inline-start: 4px; }
.mega-col a:hover::before { background: var(--cyan); }

.header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

.nav-toggle {
  display: none; background: transparent; border: 0; color: #fff;
  padding: 8px; cursor: pointer; border-radius: var(--r-xs);
}
.nav-toggle .mi { font-size: 28px; }

/* ── 12 · LANGUAGE SWITCHER ──────────────────────────────────────────────── */
.lang { position: relative; }
.lang-btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid var(--hairline);
  color: #fff; cursor: pointer;
  font-family: var(--font-mono); font-size: var(--fs-label); letter-spacing: 1px;
  padding: 8px 12px; border-radius: var(--r-pill);
  transition: background .2s var(--ease), border-color .2s var(--ease);
}
.lang-btn:hover { background: rgba(255, 255, 255, .12); border-color: var(--cyan-line); }
.lang-btn .mi { font-size: 17px; color: var(--cyan); }
.lang-btn .chev { font-size: 16px; transition: transform .25s var(--ease); }
.lang.is-open .lang-btn .chev { transform: rotate(180deg); }

.lang-menu {
  position: absolute; top: calc(100% + 8px); inset-inline-end: 0; z-index: 320;
  min-width: 190px;
  background: var(--white);
  border: 1px solid var(--gray-2); border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  padding: 6px;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
}
.lang.is-open .lang-menu { opacity: 1; visibility: visible; transform: translateY(0); }

.lang-menu a {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 9px 12px; border-radius: var(--r-md);
  color: var(--gray-6); font-size: 14px;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.lang-menu a:hover { background: var(--cream); color: var(--navy); }
.lang-menu a.is-current { background: var(--cyan-tint); color: var(--blue); font-weight: 600; }
.lang-native { font-size: 15px; }
.lang-code {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 1px;
  color: var(--gray-4); text-transform: uppercase;
}
/* Each option previews its own script, whatever the page language. */
.lang-menu a[hreflang="ar"] .lang-native { font-family: "IBM Plex Sans Arabic", Tahoma, sans-serif; }
.lang-menu a[hreflang="ur"] .lang-native { font-family: "Noto Nastaliq Urdu", serif; line-height: 2; }

/* ── 13 · OFFCANVAS (mobile nav + quick contact) ─────────────────────────── */
.offcanvas-backdrop {
  position: fixed; inset: 0; z-index: 290;
  background: rgba(7, 23, 46, .6); backdrop-filter: blur(2px);
  opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility .3s;
}
.offcanvas-backdrop.is-open { opacity: 1; visibility: visible; }

.offcanvas {
  position: fixed; top: 0; inset-inline-end: 0; z-index: 300;
  width: min(380px, 88vw); height: 100dvh;
  background: var(--grad-dark);
  border-inline-start: 1px solid var(--hairline);
  transform: translateX(100%);
  transition: transform .35s var(--ease);
  display: flex; flex-direction: column;
  overflow-y: auto;
}
[dir="rtl"] .offcanvas { transform: translateX(-100%); }
.offcanvas.is-open { transform: translateX(0); }

.offcanvas-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: var(--sp-lg); border-bottom: 1px solid var(--hairline);
}
.offcanvas-title {
  font-family: var(--font-mono); font-size: var(--fs-label);
  letter-spacing: 2px; text-transform: uppercase; color: var(--cyan);
}
.offcanvas-close {
  background: transparent; border: 0; color: #fff; cursor: pointer;
  display: flex; padding: 4px; border-radius: var(--r-xs);
}
.offcanvas-body { padding: var(--sp-lg); flex: 1; }

.oc-nav { display: flex; flex-direction: column; gap: 2px; margin-bottom: var(--sp-lg); }
.oc-nav > a, .oc-acc-btn {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  width: 100%; text-align: start;
  background: transparent; border: 0; cursor: pointer;
  font-family: var(--font-body); font-size: 15px; color: rgba(255, 255, 255, .88);
  padding: 12px 14px; border-radius: var(--r-md);
  transition: background .2s var(--ease), color .2s var(--ease);
}
.oc-nav > a:hover, .oc-acc-btn:hover { background: rgba(255, 255, 255, .07); color: #fff; }
.oc-acc-btn .chev { transition: transform .25s var(--ease); font-size: 20px; }
.oc-acc.is-open .oc-acc-btn .chev { transform: rotate(180deg); }
.oc-acc.is-open .oc-acc-btn { color: var(--cyan); }

.oc-acc-panel {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows .3s var(--ease);
}
.oc-acc.is-open .oc-acc-panel { grid-template-rows: 1fr; }
.oc-acc-panel > div { overflow: hidden; }
.oc-acc-panel a {
  display: block; padding: 9px 14px; padding-inline-start: 28px;
  font-size: 14px; color: var(--on-navy-2);
  border-inline-start: 1px solid var(--hairline); margin-inline-start: 14px;
}
.oc-acc-panel a:hover { color: var(--cyan); border-inline-start-color: var(--cyan); }

.oc-contact { border-top: 1px solid var(--hairline); padding-top: var(--sp-lg); }
.oc-contact-item { display: flex; gap: 12px; align-items: flex-start; margin-bottom: var(--sp-md); }
.oc-contact-item .icon-cell { width: 38px; height: 38px; flex-basis: 38px; border-radius: var(--r-md); }
.oc-contact-item .mi { font-size: 18px; }
.oc-contact-label {
  font-family: var(--font-mono); font-size: var(--fs-micro); letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--on-navy-3); margin-bottom: 2px;
}
.oc-contact-value { color: #fff; font-size: 14px; line-height: 1.55; }
.oc-contact-value a { color: #fff; }
.oc-contact-value a:hover { color: var(--cyan); }

/* ── 14 · HERO ───────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: min(88vh, 780px);
  display: flex; align-items: center;
  background: var(--grad-dark);
  overflow: hidden;
  color: #fff;
}
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media img, .hero-media video { width: 100%; height: 100%; object-fit: cover; }
/* The source footage carries its own burnt-in wording, so the scrim has to be heavy
   enough that the headline wins. Kept as a gradient so the video still reads as motion. */
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(7,23,46,.92) 0%, rgba(7,23,46,.84) 45%, rgba(7,23,46,.97) 100%),
    linear-gradient(90deg, rgba(7,23,46,.85) 0%, rgba(7,23,46,.55) 60%, rgba(7,23,46,.75) 100%);
}
.hero .container { position: relative; z-index: 2; }
.hero-inner { max-width: 780px; padding-block: var(--sp-4xl); }

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(38px, 6vw, var(--fs-display));
  font-weight: 300; line-height: 1.04; color: #fff;
  margin-bottom: var(--sp-md);
}
.hero h1 strong { font-weight: 700; font-style: italic; color: var(--cyan); }
.hero h1 em { color: var(--cyan); }
.hero-sub { font-size: 17px; line-height: 1.75; color: var(--on-navy-2); max-width: 62ch; margin-bottom: var(--sp-lg); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: var(--sp-lg); }
.hero .stat-row { margin-top: var(--sp-2xl); max-width: 560px; }
.hero .stat { background: rgba(255, 255, 255, .06); border: 1px solid var(--hairline); backdrop-filter: blur(6px); }

/* Compact hero for interior pages. */
.page-hero { position: relative; background: var(--grad-dark); color: #fff; padding-block: var(--sp-3xl) var(--sp-4xl); overflow: hidden; }
.page-hero h1 { color: #fff; font-size: clamp(30px, 5vw, var(--fs-h1)); margin-bottom: var(--sp-sm2); }
.page-hero .lead { color: var(--on-navy-2); max-width: 70ch; }
.page-hero .container { position: relative; z-index: 2; }

.breadcrumb {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--on-navy-3); margin-bottom: var(--sp-md);
}
.breadcrumb a { color: var(--on-navy-2); }
.breadcrumb a:hover { color: var(--cyan); }
.breadcrumb .sep { color: var(--cyan); }

/* ── 15 · FORMS ──────────────────────────────────────────────────────────── */
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-md); }
.field { display: flex; flex-direction: column; gap: 6px; }
.field-full { grid-column: 1 / -1; }

.label {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--gray-4);
}
.label .req { color: var(--danger); margin-inline-start: 3px; }

.input, .textarea, .select {
  width: 100%;
  font-family: var(--font-body); font-size: 14px; color: var(--navy);
  background: var(--white);
  border: 1px solid var(--gray-2);
  border-radius: var(--r-md);
  padding: 12px 14px;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.input::placeholder, .textarea::placeholder { color: var(--gray-4); }
.input:focus, .textarea:focus, .select:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0, 194, 212, .16);
}
.textarea { min-height: 150px; resize: vertical; line-height: 1.6; }
.input.is-invalid, .textarea.is-invalid { border-color: var(--danger); }

.field-error { font-size: 12px; color: var(--danger); }

/* Honeypot — off-screen rather than display:none so bots still fill it. */
.hp { position: absolute !important; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }

.file-drop {
  display: flex; align-items: center; gap: 12px;
  border: 1.5px dashed var(--gray-2); border-radius: var(--r-md);
  padding: 14px; background: var(--white); cursor: pointer;
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.file-drop:hover, .file-drop.is-dragover { border-color: var(--cyan); background: var(--cyan-tint); }
.file-drop .mi { color: var(--cyan); }
.file-drop-text { font-size: 13px; color: var(--gray-6); }
.file-drop-hint { font-size: 11px; color: var(--gray-4); }

.alert {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 14px 16px; border-radius: var(--r-md);
  font-size: 14px; border: 1px solid transparent; margin-bottom: var(--sp-md);
}
.alert .mi { font-size: 20px; flex-shrink: 0; }
.alert-success { background: rgba(27, 127, 90, .08); border-color: rgba(27, 127, 90, .3); color: var(--success); }
.alert-error   { background: var(--danger-bg); border-color: var(--danger-bd); color: var(--danger); }

/* ── 16 · FOOTER ─────────────────────────────────────────────────────────── */
.site-footer { background: var(--navy); color: rgba(255, 255, 255, .74); position: relative; overflow: hidden; }
.footer-top { padding-block: var(--sp-4xl) var(--sp-2xl); position: relative; z-index: 2; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr 1.4fr; gap: var(--sp-xl); }
.footer-col h4 {
  font-family: var(--font-mono); font-size: var(--fs-label); letter-spacing: 2px;
  text-transform: uppercase; color: var(--cyan); margin-bottom: var(--sp-md); font-weight: 400;
}
.footer-about { font-size: 13.5px; line-height: 1.75; color: var(--on-navy-2); margin-bottom: var(--sp-md); }

.footer-links { display: flex; flex-direction: column; gap: 9px; }
.footer-links a { font-size: 13.5px; color: rgba(255, 255, 255, .74); }
.footer-links a:hover { color: var(--cyan); }


.footer-contact-item { display: flex; gap: 10px; margin-bottom: 14px; align-items: flex-start; }
.footer-contact-item .mi { font-size: 18px; color: var(--cyan); flex-shrink: 0; margin-top: 2px; }
.footer-contact-item div { font-size: 13.5px; line-height: 1.6; }
.footer-contact-item a { color: rgba(255, 255, 255, .82); }
.footer-contact-item a:hover { color: var(--cyan); }

.footer-bottom {
  border-top: 1px solid var(--hairline);
  padding-block: var(--sp-lg);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--sp-md);
  position: relative; z-index: 2;
}
.footer-legal {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 1px;
  text-transform: uppercase; color: var(--on-navy-3); line-height: 1.9;
}
.footer-legal strong { color: var(--on-navy-2); font-weight: 400; }
.footer-social { display: flex; gap: 8px; }
.footer-social a {
  width: 34px; height: 34px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, .06); border: 1px solid var(--hairline); color: #fff;
  transition: background .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.footer-social a:hover { background: var(--cyan-tint); border-color: var(--cyan); color: var(--cyan); transform: translateY(-2px); }

/* Floating WhatsApp action — hidden until a number is configured. */
.wa-float {
  position: fixed; inset-inline-end: 20px; bottom: 20px; z-index: 180;
  width: 52px; height: 52px; border-radius: 50%;
  background: #25D366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 20px rgba(37, 211, 102, .4);
  transition: transform .25s var(--ease);
}
.wa-float:hover { transform: scale(1.07); color: #fff; }

.to-top {
  position: fixed; inset-inline-end: 20px; bottom: 84px; z-index: 180;
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--navy); color: #fff; border: 1px solid var(--cyan-line);
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  opacity: 0; visibility: hidden;
  transition: opacity .3s var(--ease), visibility .3s, transform .25s var(--ease);
}
.to-top.is-visible { opacity: 1; visibility: visible; }
.to-top:hover { transform: translateY(-2px); background: var(--blue); }

/* ── 17 · UTILITIES & MOTION ─────────────────────────────────────────────── */
.text-center { text-align: center; }
.text-start  { text-align: start; }
.flex        { display: flex; }
.items-center{ align-items: center; }
.justify-between { justify-content: space-between; }
.gap-sm { gap: var(--sp-sm); }  .gap-md { gap: var(--sp-md); }  .gap-lg { gap: var(--sp-lg); }
.mt-sm { margin-top: var(--sp-sm); }   .mt-md { margin-top: var(--sp-md); }
.mt-lg { margin-top: var(--sp-lg); }   .mt-xl { margin-top: var(--sp-xl); }
.mb-sm { margin-bottom: var(--sp-sm); } .mb-md { margin-bottom: var(--sp-md); }
.mb-lg { margin-bottom: var(--sp-lg); } .mb-xl { margin-bottom: var(--sp-xl); }
.w-full { width: 100%; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* Commitment strip — the kit's blue→navy gradient panel. */
.strip { background: var(--grad-strip); color: #fff; padding-block: var(--sp-2xl); position: relative; overflow: hidden; }
.strip h2 { color: #fff; }
.strip em { color: var(--cyan); }

.cta-panel {
  background: var(--grad-dark); color: #fff;
  border-radius: var(--r-2xl); padding: var(--sp-2xl);
  position: relative; overflow: hidden;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--sp-lg);
}
.cta-panel h2 { color: #fff; }
.cta-panel em { color: var(--cyan); }
.cta-panel p { color: var(--on-navy-2); margin-top: var(--sp-sm); }
.cta-panel > * { position: relative; z-index: 2; }

/* Scroll-reveal. Gated behind .js, which the layout sets on <html> before first paint:
   without scripting the content must stay visible rather than sitting at opacity 0 forever. */
.js [data-reveal] {
  opacity: 0; transform: translateY(18px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important; scroll-behavior: auto !important;
  }
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* ── 18 · RTL ────────────────────────────────────────────────────────────── */
/* Layout uses logical properties throughout, so RTL needs only these fixes:
   glyph-based icons that would otherwise point the wrong way, and the
   transform-driven arrow nudge. */
[dir="rtl"] .btn .arrow,
[dir="rtl"] .service-card .more .arrow { transform: scaleX(-1); }
[dir="rtl"] .btn:hover .arrow,
[dir="rtl"] .service-card:hover .more .arrow { transform: scaleX(-1) translateX(3px); }
[dir="rtl"] .glow::after { inset-inline-end: auto; inset-inline-start: -5%; }
[dir="rtl"] .breadcrumb .mi { transform: scaleX(-1); }
[dir="rtl"] .mi.flip { transform: scaleX(-1); }

/* ── 19 · RESPONSIVE ─────────────────────────────────────────────────────── */
/* The kit's breakpoints: mobile < 480, tablet 480–900, desktop > 900.
   A 1100px tier is added for the mega-menu, which cannot fit below it. */

@media (max-width: 1100px) {
  .mega-inner { grid-template-columns: 1fr; }
  .mega-products { border-inline-end: 0; border-bottom: 1px solid var(--gray-2);
                   padding-inline-end: 0; padding-bottom: var(--sp-lg); }
  .mega-services { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  :root { --fs-display: 46px; --fs-h1: 34px; --fs-h2: 26px; --sp-sec: 64px; --sp-4xl: 56px; }

  .nav { display: none; }
  .nav-toggle { display: flex; }
  .header-actions .btn-contact { display: none; }

  .split, .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .grid-auto { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
  .form-grid { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .hero-inner { padding-block: var(--sp-3xl); }
  .cta-panel { padding: var(--sp-xl); flex-direction: column; align-items: flex-start; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 640px) {
  .footer-grid { grid-template-columns: 1fr; gap: var(--sp-lg); }
  .grid-auto { grid-template-columns: 1fr; }
  .stat-row { gap: var(--sp-sm); }
  .stat { min-width: calc(50% - var(--sp-sm)); }
}

@media (max-width: 480px) {
  :root { --fs-display: 36px; --fs-h1: 28px; --fs-h2: 23px; --sp-sec: 52px; --gutter: 16px; }
  .container { padding-inline: var(--sp-md); }
  .brand-sub { display: none; }
  .brand img { width: 38px; height: 38px; }
  .brand-word { font-size: 17px; letter-spacing: 2px; }
  .btn { padding: 11px 20px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .card { padding: var(--sp-md); }
  .lang-btn .lang-code-full { display: none; }
}

@media print {
  .site-header, .offcanvas, .offcanvas-backdrop, .wa-float, .to-top, .nav-toggle { display: none !important; }
  body { background: #fff; color: #000; }
  .section-dark, .site-footer, .hero { background: #fff !important; color: #000 !important; }
}


/* ── 20 · FAQ (AEO) ──────────────────────────────────────────────────────── */
/* Answers stay in the DOM even when collapsed, so crawlers and answer engines
   can read them without executing anything. */
.faq-list { display: flex; flex-direction: column; gap: 10px; }

.faq-item {
  background: var(--white);
  border: 1px solid var(--gray-2);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.faq-item[open] { border-color: var(--cyan-line); box-shadow: var(--shadow); }

.faq-q {
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-md);
  padding: 16px 20px;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-body);
  font-size: 15px; font-weight: 600; color: var(--navy);
  transition: background .2s var(--ease), color .2s var(--ease);
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q:hover { background: var(--cream); }
.faq-item[open] .faq-q { color: var(--blue); }

.faq-chev { color: var(--cyan); flex-shrink: 0; transition: transform .25s var(--ease); }
.faq-item[open] .faq-chev { transform: rotate(180deg); }

.faq-a { padding: 0 20px 18px; }
.faq-a p { font-size: 14.5px; line-height: 1.7; color: var(--gray-6); }

.script-urdu .faq-q { font-size: 16px; line-height: 2; }
.script-urdu .faq-a p { line-height: 2.3; }

/* Build credit — quieter than the legal line above it, still legible on navy. */
.powered-by { display: inline-block; margin-top: 8px; color: var(--on-navy-3); }
.powered-by a { color: var(--cyan); }
.powered-by a:hover { color: #fff; text-decoration: underline; }

/* Feature bullet list on service detail pages. The tick is a pseudo-element so the
   markup stays a plain <ul>, which screen readers announce as a list. */
.check-list { display: flex; flex-direction: column; gap: 6px; }
.check-list li {
  position: relative;
  padding-inline-start: 20px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--gray-6);
}
.check-list li::before {
  content: "";
  position: absolute;
  inset-inline-start: 2px;
  top: 7px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--cyan);
}
.card-dark .check-list li { color: var(--on-navy-2); }
.script-urdu .check-list li { font-size: 14px; line-height: 2; }
.script-urdu .check-list li::before { top: 12px; }

/* ── 21 · PRODUCT FEATURE CARDS & TECH STACK ─────────────────────────────── */
/* Flagship platforms, shown large at the top of the services page. */
.product-feature { display: flex; flex-direction: column; text-align: center; height: 100%; }
.product-feature-logo {
  display: flex; align-items: center; justify-content: center;
  height: 90px; margin-bottom: var(--sp-md);
  background: var(--white); border-radius: var(--r-md);
}
.product-feature-logo img { max-height: 70px; max-width: 90%; width: auto; object-fit: contain; }
.product-feature h4 { color: var(--navy); }
.product-feature p { flex: 1; }
.product-feature-more { color: var(--blue); margin-top: var(--sp-sm); }

/* On navy the card body inverts, but the logo tile stays white so vendor
   marks keep their own colours. */
.section-dark .product-feature { background: rgba(255,255,255,.05); border-color: var(--hairline); }
.section-dark .product-feature h4 { color: #fff; }
.section-dark .product-feature p { color: var(--on-navy-2); }
.section-dark .product-feature-more { color: var(--cyan); }

.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
}
.tech-card {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  padding: 18px 10px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  transition: border-color .25s var(--ease), background .25s var(--ease), transform .25s var(--ease);
}
.tech-card:hover {
  border-color: var(--cyan-line);
  background: rgba(0, 194, 212, .08);
  transform: translateY(-3px);
}
.tech-card img { width: 40px; height: 40px; object-fit: contain; }
.tech-name {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .5px;
  color: var(--on-navy-2); text-align: center; line-height: 1.3;
}
.script-urdu .tech-name { font-size: 11px; letter-spacing: 0; }

@media (max-width: 640px) {
  .tech-grid { grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 8px; }
  .tech-card { padding: 14px 8px; }
  .tech-card img { width: 32px; height: 32px; }
  .product-feature-logo { height: 72px; }
}

/* ── 22 · PRICING & INLINE CTA ───────────────────────────────────────────── */
.pricing-card { display: flex; flex-direction: column; text-align: center; }
.pricing-price {
  font-family: var(--font-display);
  font-size: 40px; font-weight: 700; color: var(--navy); line-height: 1.1;
  margin-block: var(--sp-sm);
}
.pricing-period {
  display: block;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--gray-4); margin-top: 4px;
}
.pricing-card .check-list { flex: 1; text-align: start; }
.pricing-card .btn { align-self: center; }

.cta-inline { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* ── 23 · PHOTO CARDS & SECTION IMAGERY ──────────────────────────────────── */
/* Card with a photo header. The icon sits over the lower edge of the image so the
   card still carries the brand's icon language once photography is added. */
.photo-card { padding: 0; overflow: hidden; }

.photo-card-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.photo-card-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s var(--ease);
}
.photo-card:hover .photo-card-media img { transform: scale(1.05); }
.photo-card-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(7,23,46,0) 40%, rgba(7,23,46,.55) 100%);
}
.photo-card-media .icon-cell {
  position: absolute; inset-inline-start: 16px; bottom: -20px; z-index: 2;
  background: var(--white); border-color: var(--gray-2);
  box-shadow: var(--shadow);
}

.photo-card-body { padding: var(--sp-lg); padding-top: var(--sp-xl); }
.photo-card-body h4 { margin-bottom: var(--sp-sm); }

/* Framed image beside a block of copy. */
.section-figure {
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--gray-2);
  box-shadow: var(--shadow);
}
.section-figure img { width: 100%; height: 100%; object-fit: cover; display: block; }
.section-figure.tall { aspect-ratio: 4 / 5; }
.section-figure.wide { aspect-ratio: 16 / 9; }

@media (max-width: 640px) {
  .photo-card-media { aspect-ratio: 16 / 9; }
}
