/* ==========================================================================
   iBusinessBox — "Modern UAE Corporate Concierge" design system
   --------------------------------------------------------------------------
   1. Fonts & tokens          8. Process timeline
   2. Base & typography       9. Locations (photo section)
   3. Layout                 10. FAQ accordion & CTA panel
   4. Buttons & links        11. Inner pages (hero, services, about, solutions)
   5. Header & navigation    12. Contact & forms
   6. Home hero & scope      13. Footer
   7. Editorial components   14. Utilities, motion, print
   ========================================================================== */

/* 1. Fonts & tokens ------------------------------------------------------- */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/inter-latin-var.woff2") format("woff2");
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 600 800;
  font-display: swap;
  src: url("../fonts/manrope-latin-var.woff2") format("woff2");
}

:root {
  /* Colour */
  --ink: #0d1b30;            /* deep midnight navy — dark sections, footer */
  --navy: #10233f;           /* primary brand navy — headings, dark buttons */
  --navy-700: #1a3459;
  --blue: #2155a6;           /* interaction colour */
  --blue-700: #1a4588;
  --blue-50: #edf2fa;
  --gold: #c6a66b;           /* champagne accent — use sparingly */
  --gold-soft: #e8dcc4;
  --gold-text: #7a5f2c;      /* gold-toned text on light backgrounds (AA) */
  --white: #ffffff;
  --paper: #faf8f4;          /* warm white */
  --sand: #f3efe7;           /* soft neutral */
  --text: #1b2433;
  --muted: #5a6677;
  --line: #e5e0d6;
  --line-strong: #cdc6b8;
  --line-cool: #dfe4ec;
  --on-dark: rgba(255, 255, 255, 0.92);
  --on-dark-muted: rgba(255, 255, 255, 0.72);
  --line-dark: rgba(255, 255, 255, 0.14);
  --success: #17663a;
  --success-bg: #e9f5ee;
  --error: #b42318;
  --error-bg: #fdeceb;

  /* Typography */
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Manrope", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --t-display: clamp(2.55rem, 1.55rem + 4.1vw, 4.6rem);
  --t-h1: clamp(2.25rem, 1.55rem + 2.9vw, 3.6rem);
  --t-h2: clamp(1.8rem, 1.38rem + 1.8vw, 2.7rem);
  --t-h3: clamp(1.15rem, 1.08rem + 0.35vw, 1.35rem);
  --t-lead: clamp(1.08rem, 1rem + 0.35vw, 1.28rem);
  --t-body: 1.0625rem;
  --t-sm: 0.9375rem;
  --t-xs: 0.8125rem;
  --t-label: 0.75rem;
  --measure: 62ch;

  /* Spacing scale */
  --s-1: 0.25rem;
  --s-2: 0.5rem;
  --s-3: 0.75rem;
  --s-4: 1rem;
  --s-5: 1.5rem;
  --s-6: 2rem;
  --s-7: 3rem;
  --s-8: 4rem;
  --s-9: 6rem;
  --section: clamp(4.5rem, 3rem + 5vw, 8rem);
  --section-sm: clamp(3rem, 2.25rem + 3vw, 5rem);

  /* Shape & depth */
  --r-1: 4px;
  --r-2: 6px;
  --r-3: 10px;
  --shadow-1: 0 1px 2px rgba(13, 27, 48, 0.06);
  --shadow-2: 0 1px 2px rgba(13, 27, 48, 0.05), 0 12px 32px -14px rgba(13, 27, 48, 0.22);
  --shadow-3: 0 2px 6px rgba(13, 27, 48, 0.06), 0 32px 64px -28px rgba(13, 27, 48, 0.4);

  /* Layout */
  --container: 1240px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --header-h: 76px;
  --sticky-offset: var(--header-h);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --focus-ring: 0 0 0 2px var(--white), 0 0 0 4px var(--blue);
}

/* 2. Base & typography ---------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--sticky-offset) + 1.25rem);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--t-body);
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

html.nav-open body {
  overflow: hidden;
}

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

img {
  height: auto;
}

svg {
  flex-shrink: 0;
}

figure {
  margin: 0;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 0.55em;
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -0.022em;
  color: var(--navy);
  text-wrap: balance;
}

h1 {
  font-size: var(--t-h1);
  font-weight: 800;
  letter-spacing: -0.032em;
  line-height: 1.06;
}

h2 {
  font-size: var(--t-h2);
  letter-spacing: -0.028em;
}

h3 {
  font-size: var(--t-h3);
  letter-spacing: -0.012em;
}

p {
  margin: 0 0 1em;
}

p:last-child {
  margin-bottom: 0;
}

ul,
ol {
  margin: 0 0 1em;
  padding-left: 1.2rem;
}

a {
  color: var(--blue);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--blue-700);
}

strong {
  font-weight: 650;
  color: var(--navy);
}

:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
  border-radius: var(--r-1);
}

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

.lead {
  max-width: var(--measure);
  font-size: var(--t-lead);
  line-height: 1.6;
  color: var(--muted);
}

/* Kicker: small editorial label with optional index number */
.kicker {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 var(--s-5);
  font-family: var(--font-body);
  font-size: var(--t-label);
  font-weight: 650;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--navy);
}

.kicker::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gold);
}

.kicker-index {
  order: -1;
  font-variant-numeric: tabular-nums;
  color: var(--gold-text);
}

.section--dark .kicker,
.page-hero--dark .kicker {
  color: var(--on-dark);
}

.section--dark .kicker-index {
  color: var(--gold);
}

.text-muted {
  color: var(--muted);
}

/* 3. Layout --------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: var(--section);
}

.section--sm {
  padding-block: var(--section-sm);
}

.section--paper {
  background: var(--paper);
}

.section--sand {
  background: var(--sand);
}

.section--dark {
  color: var(--on-dark-muted);
  background: var(--ink);
}

.section--dark h2,
.section--dark h3 {
  color: var(--white);
}

.section--flush-top {
  padding-top: 0;
}

/* Section header: heading left, supporting copy right */
.section-header {
  display: grid;
  gap: var(--s-5) var(--s-8);
  margin-bottom: clamp(2.5rem, 2rem + 2vw, 4rem);
}

.section-header h2 {
  margin: 0;
  max-width: 18ch;
}

.section-header p {
  max-width: 52ch;
  color: var(--muted);
}

.section--dark .section-header p {
  color: var(--on-dark-muted);
}

@media (min-width: 900px) {
  .section-header {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: end;
  }
}

.split {
  display: grid;
  gap: clamp(2.5rem, 1.5rem + 4vw, 6rem);
  align-items: center;
}

@media (min-width: 960px) {
  .split {
    grid-template-columns: 1fr 1fr;
  }

  .split--5-7 {
    grid-template-columns: 5fr 7fr;
  }

  .split--7-5 {
    grid-template-columns: 7fr 5fr;
  }

  .split--top {
    align-items: start;
  }
}

.rule {
  height: 1px;
  margin: 0;
  border: 0;
  background: var(--line);
}

/* 4. Buttons & links ------------------------------------------------------ */
.btn {
  --btn-bg: var(--blue);
  --btn-fg: var(--white);
  --btn-bd: var(--blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 50px;
  padding: 0.8rem 1.45rem;
  font-family: var(--font-body);
  font-size: 0.975rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.005em;
  text-align: center;
  text-decoration: none;
  color: var(--btn-fg);
  background: var(--btn-bg);
  border: 1px solid var(--btn-bd);
  border-radius: var(--r-2);
  cursor: pointer;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease),
    box-shadow 0.2s var(--ease), transform 0.2s var(--ease);
}

.btn svg {
  width: 18px;
  height: 18px;
  transition: transform 0.2s var(--ease);
}

.btn:hover {
  --btn-bg: var(--blue-700);
  --btn-bd: var(--blue-700);
  color: var(--btn-fg);
  box-shadow: 0 10px 22px -14px rgba(33, 85, 166, 0.9);
}

.btn:hover svg {
  transform: translateX(3px);
}

.btn:active {
  transform: translateY(1px);
  box-shadow: none;
}

.btn:disabled,
.btn[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: 0.6;
  box-shadow: none;
}

.btn--dark {
  --btn-bg: var(--navy);
  --btn-bd: var(--navy);
}

.btn--dark:hover {
  --btn-bg: var(--navy-700);
  --btn-bd: var(--navy-700);
  box-shadow: 0 10px 22px -14px rgba(13, 27, 48, 0.9);
}

.btn--outline {
  --btn-bg: transparent;
  --btn-fg: var(--navy);
  --btn-bd: var(--line-strong);
}

.btn--outline:hover {
  --btn-bg: var(--white);
  --btn-fg: var(--navy);
  --btn-bd: var(--navy);
  box-shadow: none;
}

.btn--light {
  --btn-bg: var(--white);
  --btn-fg: var(--navy);
  --btn-bd: var(--white);
}

.btn--light:hover {
  --btn-bg: var(--gold-soft);
  --btn-fg: var(--navy);
  --btn-bd: var(--gold-soft);
  box-shadow: none;
}

.btn--ghost-light {
  --btn-bg: transparent;
  --btn-fg: var(--white);
  --btn-bd: rgba(255, 255, 255, 0.4);
}

.btn--ghost-light:hover {
  --btn-bg: rgba(255, 255, 255, 0.08);
  --btn-fg: var(--white);
  --btn-bd: var(--white);
  box-shadow: none;
}

.btn--sm {
  min-height: 42px;
  padding: 0.55rem 1.05rem;
  font-size: var(--t-sm);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-4) var(--s-5);
}

/* Text link with arrow — the quiet secondary action */
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  font-weight: 600;
  text-decoration: none;
  color: var(--navy);
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0% 1px;
  background-position: 0 calc(100% - 10px);
  background-repeat: no-repeat;
  transition: background-size 0.25s var(--ease), color 0.2s var(--ease);
}

.text-link svg {
  width: 16px;
  height: 16px;
  color: var(--gold-text);
  transition: transform 0.2s var(--ease);
}

.text-link:hover {
  color: var(--blue);
  background-size: calc(100% - 24px) 1px;
}

.text-link:hover svg {
  transform: translateX(4px);
  color: var(--blue);
}

.text-link--light {
  color: var(--white);
}

.text-link--light svg {
  color: var(--gold);
}

.text-link--light:hover {
  color: var(--white);
}

.text-link--light:hover svg {
  color: var(--white);
}

/* 5. Header & navigation -------------------------------------------------- */
.skip-link {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 300;
  padding: 0.7rem 1rem;
  font-weight: 600;
  color: var(--white);
  background: var(--navy);
  border-radius: var(--r-2);
  transform: translateY(-160%);
  transition: transform 0.2s var(--ease);
}

.skip-link:focus {
  color: var(--white);
  transform: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.25s var(--ease), background-color 0.25s var(--ease);
}

@supports (backdrop-filter: blur(10px)) {
  .site-header {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: saturate(180%) blur(10px);
  }
}

.site-header.is-scrolled {
  box-shadow: 0 10px 30px -24px rgba(13, 27, 48, 0.55);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  flex: none;
  text-decoration: none;
  color: var(--navy);
}

.brand:hover {
  color: var(--navy);
}

/* Client-supplied logo (assets/images/brand). Height drives the size; width follows the aspect ratio. */
.brand-logo {
  width: auto;
  height: 40px;
}

@media (max-width: 479.98px) {
  .site-header .brand-logo {
    height: 32px;
  }
}

.nav-toggle {
  display: none;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: var(--s-6);
}

.nav-list {
  display: flex;
  align-items: center;
  gap: var(--s-1);
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-list a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.5rem 0.85rem;
  font-size: 0.95rem;
  font-weight: 550;
  text-decoration: none;
  color: var(--text);
}

.nav-list a::after {
  content: "";
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  bottom: 6px;
  height: 1.5px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}

.nav-list a:hover {
  color: var(--navy);
}

.nav-list a:hover::after,
.nav-list a[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav-list a[aria-current="page"] {
  font-weight: 650;
  color: var(--navy);
}

@media (max-width: 1079.98px) {
  /* backdrop-filter would become the containing block of the fixed menu panel */
  .site-header {
    background: var(--white);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .js .nav-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    min-height: 44px;
    padding: 0.5rem 0.9rem;
    font: 600 0.92rem/1 var(--font-body);
    color: var(--navy);
    background: transparent;
    border: 1px solid var(--line-strong);
    border-radius: var(--r-2);
    cursor: pointer;
  }

  .nav-toggle-icon {
    position: relative;
    width: 18px;
    height: 12px;
  }

  .nav-toggle-icon span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 1.5px;
    background: currentColor;
    transition: transform 0.25s var(--ease), opacity 0.2s var(--ease), top 0.25s var(--ease);
  }

  .nav-toggle-icon span:nth-child(1) { top: 0; }
  .nav-toggle-icon span:nth-child(2) { top: 5px; }
  .nav-toggle-icon span:nth-child(3) { top: 10px; }

  .nav-toggle[aria-expanded="true"] .nav-toggle-icon span:nth-child(1) {
    top: 5px;
    transform: rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle-icon span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle-icon span:nth-child(3) {
    top: 5px;
    transform: rotate(-45deg);
  }

  /* Full-height mobile panel */
  .js .primary-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    flex-direction: column;
    align-items: stretch;
    justify-content: space-between;
    gap: var(--s-6);
    padding: var(--s-5) var(--gutter) max(var(--s-6), env(safe-area-inset-bottom));
    overflow-y: auto;
    background: var(--white);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.22s var(--ease), transform 0.22s var(--ease), visibility 0s linear 0.22s;
  }

  .js .primary-nav.is-open {
    visibility: visible;
    opacity: 1;
    transform: none;
    transition: opacity 0.22s var(--ease), transform 0.22s var(--ease), visibility 0s;
  }

  .js .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .js .nav-list a {
    display: flex;
    min-height: 60px;
    padding: 0.9rem 0;
    font-family: var(--font-display);
    font-size: 1.45rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--navy);
    border-bottom: 1px solid var(--line);
  }

  .js .nav-list a::after {
    left: 0;
    right: auto;
    width: 36px;
    bottom: 12px;
  }

  .js .nav-cta {
    width: 100%;
    min-height: 54px;
  }

  html:not(.js) .header-inner {
    flex-wrap: wrap;
    padding-block: var(--s-3);
  }

  html:not(.js) .primary-nav,
  html:not(.js) .nav-list {
    flex-wrap: wrap;
  }
}

/* 6. Home hero & scope strip --------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(2.75rem, 1.5rem + 5vw, 6rem) clamp(3.5rem, 2.5rem + 4vw, 6rem);
  background: var(--paper);
}

/* Editorial column lines */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  width: min(100%, calc(var(--container) + var(--gutter) * 2));
  margin-inline: auto;
  background-image: repeating-linear-gradient(90deg, transparent 0 calc(25% - 1px), rgba(16, 35, 63, 0.055) calc(25% - 1px) 25%);
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 92%);
  mask-image: linear-gradient(180deg, #000, transparent 92%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  gap: clamp(2.5rem, 1.5rem + 4vw, 5rem);
  align-items: center;
}

@media (min-width: 960px) {
  .hero-grid {
    grid-template-columns: 7fr 5fr;
  }
}

.hero h1 {
  max-width: 13ch;
  margin-bottom: var(--s-5);
  font-size: var(--t-display);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.hero h1 .accent {
  color: var(--blue);
}

.hero .lead {
  max-width: 54ch;
  margin-bottom: var(--s-6);
}

.hero-figure {
  position: relative;
  max-width: 500px;
  width: 100%;
  margin: 0 auto;
  isolation: isolate;
}

@media (min-width: 960px) {
  .hero-figure {
    margin-right: 0;
  }
}

.media-frame {
  position: relative;
  isolation: isolate;
}

.media-frame::before {
  content: "";
  position: absolute;
  inset: 22px -22px -22px 22px;
  z-index: -1;
  border: 1px solid var(--gold);
  border-radius: var(--r-3);
}

.media-frame img {
  width: 100%;
  border-radius: var(--r-3);
  box-shadow: var(--shadow-3);
}

.media-frame--left::before {
  inset: 22px 22px -22px -22px;
}

.figure-plate {
  position: absolute;
  left: clamp(-1.5rem, -2vw, -0.5rem);
  bottom: 2rem;
  display: grid;
  gap: 0.15rem;
  max-width: 240px;
  padding: 0.95rem 1.15rem;
  font-size: var(--t-sm);
  line-height: 1.4;
  color: var(--muted);
  background: var(--white);
  border-left: 2px solid var(--gold);
  border-radius: 0 var(--r-2) var(--r-2) 0;
  box-shadow: var(--shadow-2);
}

.figure-plate strong {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--navy);
}

.figure-caption {
  margin-top: var(--s-4);
  font-size: var(--t-xs);
  color: var(--muted);
}

@media (max-width: 599.98px) {
  .figure-plate {
    position: relative;
    left: auto;
    bottom: auto;
    max-width: none;
    margin-top: -1.5rem;
    margin-inline: var(--s-4);
  }

  .media-frame::before {
    inset: 14px -10px -14px 14px;
  }
}

/* Scope strip */
.scope-strip {
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.scope-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 900px) {
  .scope-list {
    grid-template-columns: repeat(4, 1fr);
  }
}

.scope-list li {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  padding: var(--s-5) var(--s-5) var(--s-5) 0;
  font-size: var(--t-sm);
  line-height: 1.45;
  color: var(--muted);
}

.scope-list li + li {
  padding-left: var(--s-5);
  border-left: 1px solid var(--line);
}

@media (max-width: 899.98px) {
  .scope-list li:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }

  .scope-list li:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 479.98px) {
  .scope-list {
    grid-template-columns: 1fr;
  }

  .scope-list li,
  .scope-list li + li {
    padding: var(--s-4) 0;
    border-left: 0;
  }

  .scope-list li + li {
    border-top: 1px solid var(--line);
  }
}

.scope-list svg {
  width: 22px;
  height: 22px;
  margin-top: 0.1rem;
  color: var(--gold-text);
}

.scope-list strong {
  display: block;
  font-size: 0.975rem;
  color: var(--navy);
}

/* 7. Editorial components ------------------------------------------------- */
.statement {
  max-width: 20ch;
  font-size: clamp(1.85rem, 1.35rem + 2.1vw, 3rem);
  line-height: 1.12;
}

.prose p {
  max-width: var(--measure);
  color: var(--muted);
}

.prose .lead {
  color: var(--text);
}

/* Compact audience list with hairlines */
.who-list {
  display: grid;
  margin: var(--s-6) 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

@media (min-width: 640px) {
  .who-list {
    grid-template-columns: 1fr 1fr;
    column-gap: var(--s-6);
  }
}

.who-list li {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 0.75rem;
  padding: var(--s-4) 0;
  font-size: var(--t-sm);
  border-bottom: 1px solid var(--line);
}

.who-list li::before {
  content: "";
  width: 18px;
  height: 18px;
  margin-top: 0.2rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237A5F2C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='m8 12.3 2.8 2.7L16 9.5'/%3E%3C/svg%3E") center / contain no-repeat;
}

.who-list strong {
  display: block;
}

/* Service index — numbered rows */
.service-index {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line-strong);
}

.index-row {
  position: relative;
  display: grid;
  gap: var(--s-3) var(--s-6);
  padding: var(--s-6) var(--s-4) var(--s-6) 0;
  border-bottom: 1px solid var(--line);
  transition: background-color 0.25s var(--ease), padding 0.3s var(--ease);
}

@media (min-width: 900px) {
  .index-row {
    grid-template-columns: 64px minmax(0, 1.25fr) minmax(0, 1fr) 40px;
    align-items: center;
    padding-block: var(--s-6);
  }
}

.index-row::before {
  content: "";
  position: absolute;
  left: 0;
  top: -1px;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.35s var(--ease);
}

.index-row:hover,
.index-row:focus-within {
  background: var(--paper);
}

@media (min-width: 900px) {
  .index-row:hover,
  .index-row:focus-within {
    padding-left: var(--s-4);
  }
}

.index-row:hover::before,
.index-row:focus-within::before {
  width: 100%;
}

.index-num {
  font-family: var(--font-display);
  font-size: var(--t-sm);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--gold-text);
}

.index-main {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.35rem 1rem;
  align-items: start;
}

.index-main svg {
  grid-row: span 2;
  width: 28px;
  height: 28px;
  margin-top: 0.15rem;
  color: var(--blue);
}

.index-main h3 {
  margin: 0;
  font-size: clamp(1.2rem, 1.05rem + 0.6vw, 1.55rem);
}

.index-main p {
  margin: 0;
  font-size: var(--t-sm);
  color: var(--muted);
}

.index-link {
  text-decoration: none;
  color: inherit;
}

.index-link::after {
  content: "";
  position: absolute;
  inset: 0;
}

.index-link:hover {
  color: var(--navy);
}

.index-link:focus-visible {
  box-shadow: none;
}

/* The stretched ::after covers the whole row, so it carries the focus ring */
.index-link:focus-visible::after {
  box-shadow: inset 0 0 0 2px var(--blue);
}

.index-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (max-width: 899.98px) {
  .index-tags {
    padding-left: calc(28px + 1rem);
  }
}

.index-tags li {
  padding: 0.25rem 0.65rem;
  font-size: var(--t-xs);
  font-weight: 550;
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.index-arrow {
  display: none;
  place-items: center;
  width: 40px;
  height: 40px;
  color: var(--navy);
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}

@media (min-width: 900px) {
  .index-arrow {
    display: grid;
  }
}

.index-arrow svg {
  width: 16px;
  height: 16px;
}

.index-row:hover .index-arrow,
.index-row:focus-within .index-arrow {
  color: var(--white);
  background: var(--navy);
  border-color: var(--navy);
}

.index-footer {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-4);
  justify-content: space-between;
  align-items: center;
  margin-top: var(--s-6);
  font-size: var(--t-sm);
  color: var(--muted);
}

/* Numbered point list */
.point-list {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: point;
  border-top: 1px solid var(--line);
}

.point-list li {
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  gap: var(--s-4);
  padding: var(--s-5) 0;
  border-bottom: 1px solid var(--line);
  counter-increment: point;
}

.point-list li::before {
  content: counter(point, decimal-leading-zero);
  font-family: var(--font-display);
  font-size: var(--t-sm);
  font-weight: 700;
  line-height: 1.9;
  color: var(--gold-text);
}

.point-list h3 {
  margin-bottom: 0.3rem;
  font-size: 1.1rem;
}

.point-list p {
  font-size: var(--t-sm);
  color: var(--muted);
}

/* Image reveal (decorative, never applied to the LCP hero image) */
.js .reveal-media img {
  clip-path: inset(0 0 12% 0 round var(--r-3));
  transform: scale(1.035);
  transition: clip-path 0.9s var(--ease), transform 1.1s var(--ease);
}

.js .reveal-media.is-visible img {
  clip-path: inset(0 0 0 0 round var(--r-3));
  transform: none;
}

/* Notice */
.notice {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  margin: 0;
  padding: var(--s-4) var(--s-5);
  font-size: var(--t-sm);
  line-height: 1.55;
  color: var(--text);
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 2px solid var(--gold);
  border-radius: 0 var(--r-2) var(--r-2) 0;
}

.notice svg {
  width: 20px;
  height: 20px;
  margin-top: 0.1rem;
  color: var(--gold-text);
}

.notice--dark {
  color: var(--on-dark-muted);
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line-dark);
  border-left-color: var(--gold);
}

.notice--dark svg {
  color: var(--gold);
}

.icon-tile {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: var(--blue);
  background: var(--blue-50);
  border-radius: var(--r-2);
}

.icon-tile svg {
  width: 24px;
  height: 24px;
}

.icon-tile--navy {
  color: var(--gold);
  background: var(--navy);
}

/* 8. Process timeline ----------------------------------------------------- */
.timeline {
  position: relative;
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.timeline-step {
  position: relative;
  padding: 0 0 var(--s-6) 4.25rem;
  counter-increment: step;
}

.timeline-step::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  font-family: var(--font-display);
  font-size: var(--t-sm);
  font-weight: 800;
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--gold);
  border-radius: 50%;
}

.timeline-step::after {
  content: "";
  position: absolute;
  left: 23px;
  top: 46px;
  bottom: 0;
  width: 1px;
  background: var(--line-strong);
}

.timeline-step:last-child {
  padding-bottom: 0;
}

.timeline-step:last-child::after {
  display: none;
}

.timeline-step h3 {
  margin-bottom: 0.4rem;
  padding-top: 0.6rem;
  font-size: 1.15rem;
}

.timeline-step p {
  max-width: 34ch;
  font-size: var(--t-sm);
  color: var(--muted);
}

@media (min-width: 900px) {
  .timeline {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--s-6);
  }

  .timeline-step {
    padding: 4.5rem 0 0;
  }

  .timeline-step::after {
    left: 58px;
    right: calc(-1 * var(--s-6) + 12px);
    top: 23px;
    bottom: auto;
    width: auto;
    height: 1px;
  }

  .timeline-step:last-child::after {
    display: none;
  }

  .timeline-step h3 {
    padding-top: 0;
  }
}

.timeline--dark .timeline-step::before {
  color: var(--gold);
  background: var(--ink);
}

.timeline--dark .timeline-step::after {
  background: var(--line-dark);
}

.timeline--dark .timeline-step h3 {
  color: var(--white);
}

.timeline--dark .timeline-step p {
  color: var(--on-dark-muted);
}

/* 9. Locations (photo section) ------------------------------------------- */
.photo-section {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.photo-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.photo-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 70%;
}

.photo-section::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(100deg, rgba(13, 27, 48, 0.96) 0%, rgba(13, 27, 48, 0.88) 45%, rgba(13, 27, 48, 0.55) 100%);
}

.emirate-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line-dark);
}

.emirate-list li {
  display: grid;
  gap: 0.2rem var(--s-5);
  padding: var(--s-5) 0;
  border-bottom: 1px solid var(--line-dark);
}

@media (min-width: 640px) {
  .emirate-list li {
    grid-template-columns: 9rem 1fr;
    align-items: baseline;
  }
}

.emirate-name {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--white);
}

.emirate-list span:last-child {
  font-size: var(--t-sm);
  color: var(--on-dark-muted);
}

/* 10. FAQ accordion & CTA panel ------------------------------------------ */
.faq-layout {
  display: grid;
  gap: var(--s-7);
}

@media (min-width: 960px) {
  .faq-layout {
    grid-template-columns: 4fr 7fr;
    gap: var(--s-9);
    align-items: start;
  }

  .faq-intro {
    position: sticky;
    top: calc(var(--sticky-offset) + 2rem);
  }
}

.faq-intro h2 {
  max-width: 14ch;
}

.faq-intro p {
  color: var(--muted);
}

.accordion {
  border-top: 1px solid var(--line-strong);
}

.accordion details {
  border-bottom: 1px solid var(--line);
}

.accordion summary {
  position: relative;
  display: block;
  padding: var(--s-5) 3.5rem var(--s-5) 0;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1rem + 0.25vw, 1.18rem);
  font-weight: 700;
  line-height: 1.35;
  color: var(--navy);
  cursor: pointer;
  list-style: none;
  transition: color 0.2s var(--ease);
}

.accordion summary::-webkit-details-marker {
  display: none;
}

.accordion summary::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 32px;
  height: 32px;
  margin-top: -16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2310233F' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 16px no-repeat;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  transition: transform 0.3s var(--ease), background-color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.accordion summary:hover {
  color: var(--blue);
}

.accordion summary:hover::after {
  border-color: var(--navy);
}

.accordion details[open] summary::after {
  transform: rotate(45deg);
  background-color: var(--paper);
}

.accordion summary:focus-visible {
  box-shadow: none;
  outline: 2px solid var(--blue);
  outline-offset: 4px;
}

.accordion-body {
  max-width: var(--measure);
  padding: 0 3.5rem var(--s-5) 0;
  color: var(--muted);
}

.accordion details[open] .accordion-body {
  animation: fade-in 0.3s var(--ease);
}

@keyframes fade-in {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
}

/* CTA panel */
.cta-panel {
  position: relative;
  display: grid;
  gap: var(--s-6);
  padding-top: var(--s-7);
  border-top: 1px solid var(--line-strong);
}

.cta-panel::before {
  content: "";
  position: absolute;
  top: -1.5px;
  left: 0;
  width: 64px;
  height: 2px;
  background: var(--gold);
}

@media (min-width: 960px) {
  .cta-panel {
    grid-template-columns: 7fr 5fr;
    gap: var(--s-8);
    align-items: end;
  }
}

.cta-panel h2 {
  max-width: 20ch;
  margin: 0;
  font-size: clamp(1.9rem, 1.4rem + 2vw, 3rem);
}

.cta-panel p {
  margin-bottom: var(--s-5);
  color: var(--muted);
}

/* 11. Inner pages ---------------------------------------------------------- */
.page-hero {
  position: relative;
  padding-block: clamp(2.25rem, 1.5rem + 3vw, 4rem) clamp(3rem, 2rem + 4vw, 5.5rem);
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.page-hero--with-band {
  padding-bottom: 0;
  border-bottom: 0;
  background: linear-gradient(180deg, var(--paper) 0 72%, var(--white) 72%);
}

.page-hero-grid {
  display: grid;
  gap: var(--s-5) var(--s-8);
}

@media (min-width: 960px) {
  .page-hero-grid {
    grid-template-columns: 7fr 5fr;
    align-items: end;
  }
}

.page-hero h1 {
  max-width: 16ch;
  margin: 0;
}

.page-hero .lead {
  margin: 0;
}

.page-hero .btn-row {
  margin-top: var(--s-5);
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0 0 clamp(1.75rem, 1.25rem + 2vw, 3rem);
  padding: 0;
  list-style: none;
  font-size: var(--t-xs);
  font-weight: 550;
  letter-spacing: 0.02em;
}

.breadcrumb li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--muted);
}

.breadcrumb li + li::before {
  content: "";
  width: 14px;
  height: 1px;
  background: var(--line-strong);
}

.breadcrumb a {
  color: var(--navy);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--blue);
  text-decoration: underline;
}

.image-band {
  position: relative;
  margin: clamp(2.5rem, 2rem + 2vw, 4rem) 0 0;
}

.image-band img {
  width: 100%;
  height: clamp(220px, 34vw, 500px);
  object-fit: cover;
  border-radius: var(--r-3);
}

.image-band figcaption {
  position: absolute;
  right: var(--s-4);
  bottom: var(--s-4);
  padding: 0.3rem 0.65rem;
  font-size: var(--t-xs);
  color: var(--white);
  background: rgba(13, 27, 48, 0.72);
  border-radius: var(--r-1);
}

/* Services: category index in hero */
.category-index {
  display: grid;
  margin: clamp(2.5rem, 2rem + 2vw, 3.5rem) 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line-strong);
}

@media (min-width: 720px) {
  .category-index {
    grid-template-columns: repeat(2, 1fr);
    column-gap: var(--s-6);
  }
}

@media (min-width: 1080px) {
  .category-index {
    grid-template-columns: repeat(5, 1fr);
    column-gap: 0;
  }

  .category-index li + li a {
    padding-left: var(--s-5);
    border-left: 1px solid var(--line);
  }
}

.category-index a {
  display: grid;
  gap: 0.2rem;
  height: 100%;
  padding: var(--s-5) var(--s-4) var(--s-5) 0;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  transition: background-color 0.2s var(--ease);
}

.category-index a:hover {
  background: var(--white);
}

.category-index .ci-num {
  font-size: var(--t-xs);
  font-weight: 700;
  color: var(--gold-text);
}

.category-index .ci-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--navy);
}

.category-index .ci-count {
  font-size: var(--t-xs);
  color: var(--muted);
}

/* Sticky category tabs */
.category-tabs {
  position: sticky;
  top: var(--header-h);
  z-index: 100;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--line);
}

.category-tabs ul {
  display: flex;
  gap: var(--s-5);
  margin: 0;
  padding: 0;
  list-style: none;
  overflow-x: auto;
  scrollbar-width: none;
}

.category-tabs ul::-webkit-scrollbar {
  display: none;
}

.category-tabs a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 56px;
  font-size: var(--t-sm);
  font-weight: 600;
  white-space: nowrap;
  text-decoration: none;
  color: var(--muted);
}

.category-tabs a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--navy);
  transform: scaleX(0);
  transition: transform 0.25s var(--ease);
}

.category-tabs a:hover,
.category-tabs a.is-active {
  color: var(--navy);
}

.category-tabs a.is-active::after {
  transform: scaleX(1);
}

.category-tabs .tab-num {
  font-size: var(--t-xs);
  color: var(--gold-text);
}

.has-tabs {
  --sticky-offset: calc(var(--header-h) + 56px);
}

/* Catalogue sections */
.catalogue {
  padding-block: clamp(3.5rem, 2.5rem + 4vw, 6.5rem);
  border-bottom: 1px solid var(--line);
  scroll-margin-top: calc(var(--header-h) + 56px);
}

.catalogue--paper {
  background: var(--paper);
}

.catalogue-grid {
  display: grid;
  gap: var(--s-6);
}

@media (min-width: 1024px) {
  .catalogue-grid {
    grid-template-columns: 4fr 8fr;
    gap: var(--s-8);
    align-items: start;
  }

  .catalogue-head {
    position: sticky;
    top: calc(var(--header-h) + 56px + 2rem);
  }
}

.catalogue-head .catalogue-num {
  display: block;
  margin-bottom: var(--s-4);
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 2rem + 2.5vw, 4rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--gold);
}

/* Decorative numeral rendered as generated content (not page text) */
.catalogue-head .catalogue-num::before {
  content: attr(data-num);
}

@supports not (-webkit-text-stroke: 1px black) {
  .catalogue-head .catalogue-num {
    color: var(--gold-soft);
  }
}

.catalogue-head h2 {
  font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.2rem);
}

.catalogue-head p {
  color: var(--muted);
}

.catalogue-meta {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  margin-top: var(--s-5);
  font-size: var(--t-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.catalogue-meta svg {
  width: 20px;
  height: 20px;
  color: var(--blue);
}

.service-list {
  border-top: 1px solid var(--line-strong);
}

.service-row {
  display: grid;
  gap: var(--s-4);
  padding: var(--s-6) 0;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: calc(var(--header-h) + 56px + 1rem);
}

.service-row h3 {
  margin: 0;
  font-size: clamp(1.2rem, 1.1rem + 0.45vw, 1.45rem);
}

.service-row > p {
  max-width: var(--measure);
  margin: 0;
  color: var(--muted);
}

.service-meta {
  display: grid;
  gap: var(--s-4);
  margin: 0;
  padding: var(--s-4) var(--s-5);
  font-size: var(--t-sm);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-2);
}

.catalogue:not(.catalogue--paper) .service-meta {
  background: var(--paper);
}

@media (min-width: 720px) {
  .service-meta {
    grid-template-columns: 1fr 1fr;
    gap: var(--s-6);
  }
}

.service-meta dt {
  margin-bottom: 0.2rem;
  font-size: var(--t-label);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-text);
}

.service-meta dd {
  margin: 0;
  color: var(--text);
}

.service-row .text-link {
  justify-self: start;
  margin-top: calc(-1 * var(--s-2));
}

/* About */
.values {
  display: grid;
  gap: 0 var(--s-6);
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: value;
}

@media (min-width: 640px) {
  .values {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .values {
    grid-template-columns: repeat(4, 1fr);
  }
}

.values li {
  padding: var(--s-5) 0 var(--s-6);
  border-top: 1px solid var(--line-strong);
  counter-increment: value;
}

.values li::before {
  content: counter(value, decimal-leading-zero);
  display: block;
  margin-bottom: var(--s-6);
  font-size: var(--t-xs);
  font-weight: 700;
  color: var(--gold-text);
}

.values h3 {
  margin-bottom: 0.4rem;
}

.values p {
  font-size: var(--t-sm);
  color: var(--muted);
}

.audience {
  display: grid;
  gap: var(--s-5);
  margin: var(--s-5) 0 0;
  padding: 0;
  list-style: none;
}

.audience li {
  padding-left: var(--s-5);
  border-left: 2px solid var(--gold);
}

.audience strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.1rem;
}

.audience span {
  font-size: var(--t-sm);
  color: var(--muted);
}

/* Business solutions */
.role-compare {
  display: grid;
  gap: var(--s-5);
}

@media (min-width: 900px) {
  .role-compare {
    grid-template-columns: 1fr 1fr;
    gap: 0;
  }
}

.role-card {
  padding: clamp(1.75rem, 1.25rem + 2vw, 2.75rem);
  border: 1px solid var(--line);
  border-radius: var(--r-3);
}

.role-card h3 {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  margin-bottom: var(--s-5);
}

.role-card h3 svg {
  width: 26px;
  height: 26px;
}

.role-card--us {
  background: var(--white);
}

.role-card--us h3 svg {
  color: var(--blue);
}

.role-card--authority {
  color: var(--on-dark-muted);
  background: var(--ink);
  border-color: var(--ink);
}

.role-card--authority h3 {
  color: var(--white);
}

.role-card--authority h3 svg {
  color: var(--gold);
}

@media (min-width: 900px) {
  .role-card--us {
    border-radius: var(--r-3) 0 0 var(--r-3);
    border-right: 0;
  }

  .role-card--authority {
    border-radius: 0 var(--r-3) var(--r-3) 0;
  }
}

.tick-list,
.dash-list {
  display: grid;
  gap: var(--s-3);
  margin: 0;
  padding: 0;
  list-style: none;
}

.tick-list li,
.dash-list li {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 0.75rem;
}

.tick-list li::before {
  content: "";
  width: 18px;
  height: 18px;
  margin-top: 0.25rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232155A6' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat;
}

.dash-list li::before {
  content: "";
  width: 14px;
  height: 1px;
  margin-top: 0.8rem;
  background: var(--gold);
}

.solutions-layout {
  display: grid;
  gap: var(--s-7);
}

@media (min-width: 1080px) {
  .solutions-layout {
    grid-template-columns: 260px 1fr;
    gap: var(--s-8);
    align-items: start;
  }
}

.toc {
  padding-top: var(--s-4);
  border-top: 2px solid var(--navy);
}

@media (min-width: 1080px) {
  .toc {
    position: sticky;
    top: calc(var(--header-h) + 2rem);
  }
}

.toc h2 {
  margin-bottom: var(--s-3);
  font-family: var(--font-body);
  font-size: var(--t-label);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.toc ol {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: toc;
}

.toc a {
  display: grid;
  grid-template-columns: 1.75rem 1fr;
  padding: 0.55rem 0;
  font-size: var(--t-sm);
  font-weight: 550;
  line-height: 1.4;
  text-decoration: none;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  counter-increment: toc;
  transition: color 0.2s var(--ease);
}

.toc a::before {
  content: counter(toc, decimal-leading-zero);
  font-size: var(--t-xs);
  font-weight: 700;
  line-height: 1.75;
  color: var(--gold-text);
}

.toc a:hover,
.toc a.is-active {
  color: var(--navy);
}

.toc a.is-active {
  font-weight: 650;
}

@media (max-width: 1079.98px) {
  .toc ol {
    display: grid;
    column-gap: var(--s-6);
  }
}

@media (min-width: 640px) and (max-width: 1079.98px) {
  .toc ol {
    grid-template-columns: 1fr 1fr;
  }
}

.solution {
  padding-bottom: clamp(3rem, 2.5rem + 2vw, 4.5rem);
  margin-bottom: clamp(3rem, 2.5rem + 2vw, 4.5rem);
  border-bottom: 1px solid var(--line);
  scroll-margin-top: calc(var(--header-h) + 1.5rem);
}

.solution:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}

.solution-head {
  display: flex;
  gap: var(--s-4);
  align-items: center;
  margin-bottom: var(--s-5);
}

.solution-head h2 {
  margin: 0;
  font-size: clamp(1.5rem, 1.25rem + 1vw, 2.05rem);
}

.solution > p {
  max-width: var(--measure);
  color: var(--muted);
}

.solution-grid {
  display: grid;
  margin-top: var(--s-6);
  border-top: 1px solid var(--line-strong);
}

@media (min-width: 720px) {
  .solution-grid {
    grid-template-columns: 1fr 1fr;
  }

  .solution-cell:nth-child(odd) {
    padding-right: var(--s-6);
  }

  .solution-cell:nth-child(even) {
    padding-left: var(--s-6);
    border-left: 1px solid var(--line);
  }
}

.solution-cell {
  padding: var(--s-5) 0;
  border-bottom: 1px solid var(--line);
}

.solution-cell h3 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: var(--s-3);
  font-family: var(--font-body);
  font-size: var(--t-label);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-text);
}

.solution-cell p,
.solution-cell ul {
  font-size: var(--t-sm);
  color: var(--text);
}

.solution-cell ul {
  margin: 0;
  padding-left: 1.1rem;
}

.solution-cell li + li {
  margin-top: 0.3rem;
}

.solution-cell li::marker {
  color: var(--gold);
}

.solution-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3) var(--s-6);
  align-items: center;
  margin-top: var(--s-6);
}

/* 12. Contact & forms ---------------------------------------------------- */
.contact-layout {
  display: grid;
  gap: var(--s-6);
}

@media (min-width: 1080px) {
  .contact-layout {
    grid-template-columns: 7.5fr 4.5fr;
    gap: var(--s-7);
    align-items: start;
  }
}

.form-card {
  padding: clamp(1.5rem, 1rem + 2.5vw, 3rem);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-3);
  box-shadow: var(--shadow-2);
}

.form-card h2 {
  margin-bottom: var(--s-2);
  font-size: clamp(1.5rem, 1.3rem + 0.8vw, 1.95rem);
}

.form-intro {
  max-width: 60ch;
  margin-bottom: var(--s-6);
  font-size: var(--t-sm);
  color: var(--muted);
}

.form-grid {
  display: grid;
  gap: var(--s-5);
}

@media (min-width: 640px) {
  .form-grid {
    grid-template-columns: 1fr 1fr;
  }

  .field--full {
    grid-column: 1 / -1;
  }
}

.form-section-label {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: var(--s-3);
  margin: var(--s-2) 0 calc(-1 * var(--s-2));
  font-size: var(--t-label);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-text);
}

.form-section-label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

.field label {
  display: block;
  margin-bottom: 0.45rem;
  font-size: var(--t-sm);
  font-weight: 650;
  color: var(--navy);
}

.field .req {
  color: var(--error);
}

.req {
  color: var(--error);
  font-weight: 700;
}

.field .optional {
  font-weight: 450;
  color: var(--muted);
}

.field input,
.field select,
.field textarea {
  display: block;
  width: 100%;
  min-height: 52px;
  padding: 0.8rem 1rem;
  font: inherit;
  font-size: 1rem;
  color: var(--text);
  background: var(--white);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-2);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), background-color 0.2s var(--ease);
  -webkit-appearance: none;
  appearance: none;
}

.field select {
  padding-right: 2.75rem;
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2310233F' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 0.95rem center / 18px no-repeat;
}

.field textarea {
  min-height: 160px;
  resize: vertical;
}

.field input:hover,
.field select:hover,
.field textarea:hover {
  border-color: #a99f8c;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(33, 85, 166, 0.18);
}

.field [aria-invalid="true"] {
  border-color: var(--error);
  background-color: #fffafa;
}

.field [aria-invalid="true"]:focus {
  box-shadow: 0 0 0 3px rgba(180, 35, 24, 0.15);
}

.field-hint {
  margin: 0.4rem 0 0;
  font-size: var(--t-xs);
  color: var(--muted);
}

.field-error {
  display: flex;
  gap: 0.4rem;
  align-items: center;
  margin: 0.45rem 0 0;
  font-size: var(--t-xs);
  font-weight: 600;
  color: var(--error);
}

.field-error:empty {
  display: none;
}

.field-error::before {
  content: "!";
  display: inline-grid;
  place-items: center;
  width: 16px;
  height: 16px;
  flex: none;
  font-size: 11px;
  font-weight: 800;
  color: var(--white);
  background: var(--error);
  border-radius: 50%;
}

.field-check {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 0.8rem;
  align-items: start;
  padding: var(--s-4);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-2);
}

.field-check input {
  width: 20px;
  height: 20px;
  min-height: 0;
  margin: 0.15rem 0 0;
  padding: 0;
  accent-color: var(--blue);
  -webkit-appearance: auto;
  appearance: auto;
}

.field-check label {
  margin: 0;
  font-size: var(--t-sm);
  font-weight: 450;
  color: var(--text);
}

.field-check .field-error {
  grid-column: 2;
}

.hp-field {
  position: absolute !important;
  left: -10000px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-footer {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-4) var(--s-5);
  align-items: center;
  margin-top: var(--s-2);
}

.form-footer .btn {
  min-width: 210px;
}

.form-footer p {
  margin: 0;
  font-size: var(--t-xs);
  color: var(--muted);
}

@media (max-width: 479.98px) {
  .form-footer .btn {
    width: 100%;
  }
}

.btn[aria-busy="true"] {
  cursor: progress;
  opacity: 0.85;
}

.spinner {
  display: none;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.btn[aria-busy="true"] .spinner {
  display: inline-block;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.form-status {
  margin-top: var(--s-5);
}

.form-status:empty {
  display: none;
}

.form-status:focus {
  outline: none;
}

.status-msg {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  padding: var(--s-4) var(--s-5);
  font-size: var(--t-sm);
  border: 1px solid;
  border-left-width: 3px;
  border-radius: var(--r-2);
}

.status-msg strong {
  display: block;
  margin-bottom: 0.15rem;
  color: inherit;
}

.status-msg svg {
  width: 20px;
  height: 20px;
  margin-top: 0.1rem;
}

.status-msg--success {
  color: var(--success);
  background: var(--success-bg);
  border-color: #b9dfc8;
  border-left-color: var(--success);
}

.status-msg--error {
  color: var(--error);
  background: var(--error-bg);
  border-color: #f2c4bf;
  border-left-color: var(--error);
}

.status-msg a {
  color: inherit;
  font-weight: 650;
}

.contact-aside {
  display: grid;
  gap: var(--s-5);
}

@media (min-width: 1080px) {
  .contact-aside {
    position: sticky;
    top: calc(var(--header-h) + 1.5rem);
  }
}

.aside-card {
  padding: var(--s-6);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-3);
}

.aside-card h2 {
  margin-bottom: var(--s-4);
  font-size: 1.2rem;
}

.aside-card--dark {
  color: var(--on-dark-muted);
  background: var(--ink);
  border-color: var(--ink);
}

.aside-card--dark h2 {
  color: var(--white);
}

.contact-list {
  display: grid;
  gap: var(--s-4);
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact-list li {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 0.85rem;
  align-items: center;
}

.contact-list .icon-tile {
  width: 40px;
  height: 40px;
}

.contact-list .icon-tile svg {
  width: 20px;
  height: 20px;
}

.contact-list .label {
  display: block;
  font-size: var(--t-label);
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-list a,
.contact-list .value-text {
  font-weight: 600;
  text-decoration: none;
  color: var(--navy);
  word-break: break-word;
}

.contact-list a:hover {
  color: var(--blue);
  text-decoration: underline;
}

.mini-steps {
  display: grid;
  gap: var(--s-4);
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: mini;
}

.mini-steps li {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 0.85rem;
  font-size: var(--t-sm);
  counter-increment: mini;
}

.mini-steps li::before {
  content: counter(mini);
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  font-size: var(--t-xs);
  font-weight: 700;
  color: var(--gold);
  border: 1px solid rgba(198, 166, 107, 0.6);
  border-radius: 50%;
}

.mini-steps strong {
  display: block;
  color: var(--white);
}

.plain-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
  margin: var(--s-3) 0 var(--s-4);
  padding: 0;
  list-style: none;
}

.plain-list li {
  padding: 0.3rem 0.8rem;
  font-size: var(--t-sm);
  font-weight: 600;
  color: var(--navy);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.privacy-note {
  max-width: 820px;
  font-size: var(--t-sm);
  color: var(--muted);
  scroll-margin-top: calc(var(--header-h) + 1.5rem);
}

.privacy-note h2 {
  font-size: 1.3rem;
}

/* Floating WhatsApp button (rendered only when configured) */
.float-contact {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  z-index: 150;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 52px;
  padding: 0.75rem 1.15rem;
  font-size: var(--t-sm);
  font-weight: 600;
  text-decoration: none;
  color: var(--white);
  background: #146c43;
  border-radius: 999px;
  box-shadow: var(--shadow-3);
}

.float-contact:hover {
  color: var(--white);
  background: #0f5434;
}

.float-contact svg {
  width: 22px;
  height: 22px;
}

/* 13. Footer -------------------------------------------------------------- */
.site-footer {
  color: var(--on-dark-muted);
  background: var(--ink);
  font-size: var(--t-sm);
}

.footer-top {
  display: grid;
  gap: var(--s-5) var(--s-8);
  padding-block: clamp(3.5rem, 3rem + 2vw, 5rem) var(--s-7);
  border-bottom: 1px solid var(--line-dark);
}

@media (min-width: 900px) {
  .footer-top {
    grid-template-columns: 1fr auto;
    align-items: end;
  }
}

.footer-statement {
  max-width: 22ch;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 1.2rem + 1.3vw, 2.2rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: var(--white);
}

.footer-grid {
  display: grid;
  gap: var(--s-6);
  padding-block: var(--s-7);
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1.5fr 0.8fr 1.1fr 1fr;
    gap: var(--s-7);
  }
}

.site-footer .brand {
  color: var(--white);
}

.footer-about p {
  max-width: 34ch;
  margin-top: var(--s-4);
}

.site-footer h2 {
  margin-bottom: var(--s-4);
  font-family: var(--font-body);
  font-size: var(--t-label);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

.footer-links {
  display: grid;
  gap: 0.1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  text-decoration: none;
  color: var(--on-dark);
}

.footer-links a:hover {
  color: var(--white);
  text-decoration: underline;
}

.site-footer .contact-list {
  margin-bottom: var(--s-4);
}

.site-footer .contact-list a,
.site-footer .contact-list .value-text {
  color: var(--white);
}

.site-footer .contact-list .label {
  color: var(--on-dark-muted);
}

.site-footer .icon-tile {
  color: var(--gold);
  background: rgba(255, 255, 255, 0.06);
}

.site-footer :focus-visible {
  box-shadow: 0 0 0 2px var(--ink), 0 0 0 4px var(--gold);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3) var(--s-6);
  justify-content: space-between;
  padding-block: var(--s-5) var(--s-6);
  font-size: var(--t-xs);
  border-top: 1px solid var(--line-dark);
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom a {
  color: var(--on-dark);
}

.footer-bottom a:hover {
  color: var(--white);
}

.footer-disclaimer {
  max-width: 70ch;
  color: var(--on-dark-muted);
}

/* 404 */
.error-page {
  min-height: 62vh;
  display: grid;
  align-items: center;
  padding-block: var(--section);
}

.error-code {
  display: block;
  margin-bottom: var(--s-4);
  font-family: var(--font-display);
  font-size: clamp(4rem, 3rem + 6vw, 7.5rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.05em;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--gold);
}

.error-code::before {
  content: attr(data-num);
}

.error-page .btn-row {
  margin-top: var(--s-6);
}

/* 14. Utilities, motion & print ------------------------------------------ */
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

[hidden] {
  display: none !important;
}

.mt-0 { margin-top: 0; }
.mt-4 { margin-top: var(--s-4); }
.mt-5 { margin-top: var(--s-5); }
.mt-6 { margin-top: var(--s-6); }
.mt-7 { margin-top: var(--s-7); }

.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 479.98px) {
  .hero .btn-row .btn,
  .page-hero .btn-row .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .js .reveal,
  .js .reveal-media img {
    opacity: 1;
    transform: none;
    clip-path: none;
  }
}

@media print {
  .site-header,
  .category-tabs,
  .float-contact,
  .skip-link,
  .photo-bg,
  .footer-top {
    display: none !important;
  }

  .section--dark,
  .site-footer,
  .role-card--authority {
    color: #000;
    background: none;
  }

  .section--dark h2,
  .section--dark h3,
  .emirate-name {
    color: #000;
  }
}
