/* =====================================================================
   JOUHAR EXPERTISE BUREAU — style.css  (v6, 08-10-2026)
   Handcrafted design system, no build step. Fonts are self-hosted (fonts.css).
   Typography:  Inter (variable, Google Fonts build, self-hosted) for NL/EN · Alyamama for the Arabic version
   Colours:     Midnight #06182B · Signature Navy #0B2545 · Heritage Gold #C89B3C
                Champagne #F0D58A · Warm Ivory #F8F4EA
   Layout:      white canvas, large bold headings, left-aligned copy, generous
                whitespace, photos with an offset colour block, square cards,
                pill buttons, triangle list markers, dark footer.
   ===================================================================== */

/* ---------- 1. Tokens ------------------------------------------------ */
:root {
  --midnight: #06182b;
  --navy: #0b2545;
  --navy-2: #123461;
  --navy-3: #1b4680;
  --gold: #c89b3c;
  --gold-2: #d6ae55;
  --gold-3: #f0d58a;
  --gold-deep: #8a6722;       /* AA text-safe gold on white and ivory (≥ 4.7:1) */
  --gold-rgb: 200, 155, 60;

  --bg: #ffffff;
  --soft: #f8f4ea;              /* Warm Ivory — soft sections and cards */
  --soft-2: #f1ebdc;
  --paper: #ffffff;
  --ink: #06182b;
  --ink-2: #334259;
  --ink-3: #5f6e84;
  --line: rgba(6, 24, 43, 0.12);
  --line-strong: rgba(6, 24, 43, 0.22);
  --ivory: #f8f4ea;

  --font-body: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-display: var(--font-body);
  --font-mono: var(--font-body);

  --text-body: 1rem;            /* 16 px */
  --text-h1: clamp(2.125rem, 4.2vw, 3.125rem);
  --text-h2: clamp(1.625rem, 3vw, 2.25rem);
  --text-h3: 1.3rem;
  --text-h4: 1.05rem;
  --text-lead: 1.125rem;
  --lh-body: 1.8; /* 20-10-2026: 1.7 → 1.8 for airier running text */

  --r-sm: 0;
  --r-md: 0;
  --r-lg: 0;
  --r-xl: 0;
  --r-pill: 999px;

  --container: 75rem;
  --container-narrow: 62rem;
  --container-text: 46rem;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --section-y: clamp(4rem, 8vw, 7rem);
  --header-h: 6rem;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-card: 0 10px 30px -18px rgba(6, 24, 43, 0.25);
  --shadow-pop: 0 24px 50px -24px rgba(6, 24, 43, 0.35);
}

/* Arabic version: Alyamama everywhere (400 for text, 600 for headings) */
html[lang='ar'] {
  --font-body: 'Alyamama', serif;
  --font-display: 'Alyamama', serif;
  --font-mono: 'Alyamama', serif;
  --text-h1: clamp(2.1rem, 4vw, 3rem);
  --text-h2: clamp(1.6rem, 2.9vw, 2.2rem);
  --lh-body: 1.9; /* 20-10-2026: 1.85 → 1.9 */
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: var(--lh-body);
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

img {
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

p {
  margin: 0 0 1.25em;
}

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

address {
  font-style: normal;
}

[hidden] {
  display: none !important;
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

::selection {
  background: var(--gold-3);
  color: var(--midnight);
}

.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 1000;
  padding: 0.75rem 1.25rem;
  background: var(--navy);
  color: #fff;
  font-weight: 700;
}

.skip-link:focus {
  top: 1rem;
}

/* ---------- 3. Typography ------------------------------------------- */
h1,
h2,
h3,
h4 {
  margin: 0 0 0.5em;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.15;
  letter-spacing: -0.01em;
  overflow-wrap: break-word;
}

h1 {
  font-size: var(--text-h1);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

h2 {
  font-size: var(--text-h2);
  line-height: 1.15;
}

h3,
.h3 {
  font-size: var(--text-h3);
}

h4 {
  font-size: var(--text-h4);
}

html[lang='ar'] h1,
html[lang='ar'] h2,
html[lang='ar'] h3,
html[lang='ar'] h4,
html[lang='ar'] strong,
html[lang='ar'] .btn {
  font-weight: 600;
  letter-spacing: 0;
}

.lead {
  font-size: var(--text-lead);
  line-height: 1.75;
  color: var(--ink-2);
  max-width: 44rem;
}

.lead-light {
  color: rgba(248, 244, 234, 0.85);
}

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

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

.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 1rem;
}

html[lang='ar'] .eyebrow {
  letter-spacing: 0;
  font-size: 0.9rem;
}

.eyebrow-light {
  color: var(--gold-3);
}

.eyebrow-muted {
  color: var(--ink-3);
}

.section-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.section-label .eyebrow {
  margin-bottom: 0;
}

.section-label-line {
  width: 2.5rem;
  height: 3px;
  background: var(--gold);
  flex: none;
}

.mono-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  color: var(--navy);
  border-bottom: 2px solid var(--gold);
  padding-bottom: 0.1rem;
  transition: color 0.2s, border-color 0.2s;
}

.text-link:hover {
  color: var(--gold-deep);
  border-color: var(--navy);
}

.text-link .ic-dir {
  transition: transform 0.25s var(--ease-out);
}

.text-link:hover .ic-dir {
  transform: translateX(3px);
}

[dir='rtl'] .text-link:hover .ic-dir {
  transform: translateX(-3px) scaleX(-1);
}

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

.container.narrow {
  max-width: var(--container-narrow);
}

.container.text {
  max-width: var(--container-text);
}

/* Single-column grids: never let an unbreakable string (e-mail address, long word) widen the track beyond its container */
.check-list,
.consent-list,
.contact-info,
.contact-lines,
.expertise-list,
.footer-col ul,
.footer-office-list,
.footer-office-list li,
.jeb-form,
.legal-section ul,
.legal-sections,
.legal-toc ol,
.office-meta,
.package-meta,
.soon-list,
.step-list,
.feature-split,
.detail-grid,
.expertise-grid,
.office-grid,
.about-blocks,
.faq-grid,
.contact-grid,
.thanks-grid,
.tri-list,
.card-grid,
.consent-banner-inner,
.cta-inner,
.feature-list,
.footer-grid,
.form-picker,
.form-row,
.hero-grid,
.member-grid,
.method-steps,
.package-grid,
.price-cats,
.service-header-grid,
.situation-grid,
.split-head,
.usp-row {
  grid-template-columns: minmax(0, 1fr);
}

.faq-grid > *,
.thanks-grid > *,
.contact-grid > *,
.detail-grid > *,
.feature-split > *,
.legal-sections > *,
.service-header-grid > *,
.hero-grid > *,
.cta-inner > *,
.split-head > *,
.footer-grid > *,
.member-grid > *,
.situation-grid > *,
.form-row > * {
  min-width: 0;
}

/* Long words and addresses may break only when a line cannot hold them */
body {
  overflow-wrap: break-word;
}

a[href^="mailto:"] {
  overflow-wrap: anywhere;
}

.container.center {
  text-align: center;
}

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

.section-surface {
  background: var(--bg);
}

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

.section-head {
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
  max-width: 48rem;
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.section-head.center .section-label {
  justify-content: center;
}

.section-head.narrow {
  max-width: 40rem;
}

.split-head {
  display: grid;
  gap: 1.25rem clamp(2rem, 5vw, 5rem);
  align-items: end;
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

@media (min-width: 64rem) {
  .split-head {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  }
}

.split-head h2 {
  margin-bottom: 0;
}

.split-head .lead {
  margin: 0;
}

.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-10 { margin-top: 2.5rem; }
.mt-12 { margin-top: 3rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mx-auto { margin-inline: auto; }
.center { text-align: center; }

.gold-rule {
  width: 3.5rem;
  height: 3px;
  background: var(--gold);
  margin: 1.5rem 0;
}

/* ---------- 5. Icons ------------------------------------------------ */
.ic {
  width: 1.25rem;
  height: 1.25rem;
  flex: none;
  stroke-width: 1.75;
}

.ic-xs { width: 0.85rem; height: 0.85rem; }
.ic-sm { width: 1.05rem; height: 1.05rem; }
.ic-md { width: 1.5rem; height: 1.5rem; }
.ic-lg { width: 2rem; height: 2rem; }

[dir='rtl'] .ic-dir {
  transform: scaleX(-1);
}

.icon-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  background: var(--navy);
  color: var(--gold-3);
  flex: none;
}

.icon-box-lg {
  width: 4rem;
  height: 4rem;
}

.icon-box-gold {
  background: var(--gold);
  color: var(--midnight);
}

.icon-box-gold-outline {
  background: #fff;
  color: var(--navy);
  border: 2px solid var(--gold);
}

.tri {
  display: inline-flex;
  color: var(--gold);
  flex: none;
  margin-top: 0.45em;
}

.tri .ic {
  fill: currentColor;
  stroke: none;
}

[dir='rtl'] .tri .ic {
  transform: scaleX(-1);
}

/* ---------- 6. Buttons (pills) ------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 2rem;
  border-radius: var(--r-pill);
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.2;
  border: 2px solid transparent;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.2s var(--ease-out), box-shadow 0.2s;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn .ic-dir {
  transition: transform 0.25s var(--ease-out);
}

.btn:hover .ic-dir {
  transform: translateX(3px);
}

[dir='rtl'] .btn:hover .ic-dir {
  transform: translateX(-3px) scaleX(-1);
}

.btn-gold {
  background: var(--gold);
  color: var(--midnight);
  border-color: var(--gold);
  box-shadow: 0 10px 22px -12px rgba(var(--gold-rgb), 0.7);
}

.btn-gold:hover {
  background: var(--gold-2);
  border-color: var(--gold-2);
}

.btn-outline-dark {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}

.btn-outline-dark:hover {
  background: var(--navy);
  color: #fff;
}

.btn-outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.65);
}

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

.btn-ghost {
  background: transparent;
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 0.2em;
  padding-inline: 1rem;
}

.btn-sm {
  padding: 0.7rem 1.4rem;
  font-size: 0.875rem;
}

.btn-block {
  width: 100%;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem 1rem;
  align-items: center;
}

.btn-row.center {
  justify-content: center;
}

/* ---------- 7. Reveal on scroll ------------------------------------- */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
  transition-delay: var(--d, 0s);
}

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

@media (prefers-reduced-motion: reduce) {
  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  html {
    scroll-behavior: auto;
  }
}

/* ---------- 8. Header ----------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.25s;
}

.site-header.is-scrolled {
  box-shadow: 0 10px 30px -20px rgba(6, 24, 43, 0.35);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: var(--header-h);
  max-width: 92rem; /* the header spans wider than the content column */
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: none;
}

.brand-lockup {
  width: 235px;
  height: auto;
}

.nav-desktop {
  display: none;
}

.nav-desktop ul {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 1.8vw, 2rem);
}

.nav-desktop li {
  position: relative;
}

.nav-desktop li > a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 0;
  white-space: nowrap;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
  border-bottom: 3px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.nav-desktop li > a:hover,
.nav-desktop li > a.is-active {
  color: var(--navy);
  border-bottom-color: var(--gold);
}

.nav-caret {
  color: var(--gold);
  fill: currentColor;
  stroke: none;
  transition: transform 0.2s;
}

.has-sub:hover .nav-caret,
.has-sub.is-open .nav-caret,
.has-sub:focus-within .nav-caret {
  transform: rotate(90deg);
}

.sub-toggle {
  position: absolute;
  inset-inline-end: -1.1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1.6rem;
  height: 1.6rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-3);
}

.sub-toggle:not(:focus-visible) {
  opacity: 0;
  pointer-events: none;
}

.sub-menu {
  position: absolute;
  top: calc(100% + 0.25rem);
  inset-inline-start: -1.5rem;
  min-width: 24rem;
  background: #fff;
  border-top: 4px solid var(--gold);
  box-shadow: var(--shadow-pop);
  padding: 1rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s, transform 0.2s var(--ease-out), visibility 0.2s;
}

.has-sub:hover .sub-menu,
.has-sub.is-open .sub-menu,
.has-sub:focus-within .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.sub-menu ul {
  display: block;
}

.sub-menu li > a {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.55rem 1.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  border: 0;
  color: var(--ink);
}

.sub-menu li > a:hover,
.sub-menu li > a.is-active {
  background: var(--soft);
  color: var(--navy);
}

.sub-menu .tri {
  margin-top: 0.4em;
}

.sub-menu .sub-all {
  margin-top: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--line);
}

.sub-menu .sub-all a {
  color: var(--gold-deep);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.lang-switch {
  position: relative;
}

.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 0.8rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-pill);
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--navy);
  background: #fff;
}

.lang-chevron {
  transition: transform 0.2s;
}

.lang-switch.is-open .lang-chevron {
  transform: rotate(180deg);
}

.lang-menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  inset-inline-end: 0;
  min-width: 11rem;
  background: #fff;
  border-top: 4px solid var(--gold);
  box-shadow: var(--shadow-pop);
  padding: 0.5rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s, transform 0.2s var(--ease-out), visibility 0.2s;
  z-index: 20;
}

.lang-switch.is-open .lang-menu {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.lang-menu a {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  padding: 0.55rem 1rem;
  font-size: 0.875rem;
}

.lang-menu a:hover,
.lang-menu a.is-active {
  background: var(--soft);
}

.lang-code {
  font-weight: 700;
  color: var(--gold-deep);
  min-width: 2.4rem;
}

.lang-menu a[lang='ar'] .lang-name {
  font-family: 'Alyamama', serif;
}

.header-cta {
  display: none;
}

.nav-toggle {
  position: relative;
  width: 2.75rem;
  height: 2.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
}

.nav-toggle .ic {
  width: 1.75rem;
  height: 1.75rem;
}

.nav-toggle .ic-close,
.menu-open .nav-toggle .ic-open {
  display: none;
}

.menu-open .nav-toggle .ic-close {
  display: block;
}

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  z-index: 90;
  background: #fff;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.25s, transform 0.25s var(--ease-out), visibility 0.25s;
}

.menu-open .mobile-menu {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.mobile-menu-inner {
  padding: 1.5rem var(--gutter) 3rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.mobile-nav > li > a {
  display: block;
  padding: 0.75rem 0;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  border-bottom: 1px solid var(--line);
}

.mobile-nav > li > a.is-active {
  color: var(--gold-deep);
}

.mobile-sub {
  padding: 0.5rem 0 0.75rem 0.25rem;
  border-bottom: 1px solid var(--line);
}

.mobile-sub a {
  display: flex;
  gap: 0.6rem;
  padding: 0.4rem 0;
  font-size: 0.925rem;
  font-weight: 600;
  color: var(--ink-2);
}

.mobile-sub a.is-active {
  color: var(--gold-deep);
}

.mobile-langs {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.mobile-langs a {
  font-weight: 600;
  color: var(--ink-2);
  padding: 0.4rem 0.9rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-pill);
}

.mobile-langs a.is-active {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

.mobile-langs a[lang='ar'] {
  font-family: 'Alyamama', serif;
}

.mobile-menu-brand {
  margin-top: 1rem;
  opacity: 0.8;
}

@media (min-width: 72rem) {
  .nav-desktop {
    display: block;
  }

  .nav-toggle,
  .mobile-menu {
    display: none;
  }

  .header-cta {
    display: inline-flex;
  }
}

@media (min-width: 72rem) and (max-width: 85rem) {
  .brand-lockup {
    width: 190px;
  }

  .nav-desktop ul {
    gap: 1.1rem;
  }

  .nav-desktop li > a {
    font-size: 0.84rem;
  }

  .header-cta span {
    display: none;
  }

  .header-cta {
    padding-inline: 0.9rem;
  }
}

@media (max-width: 71.99rem) {
  .header-cta {
    display: inline-flex;
    padding: 0.6rem 0.8rem;
  }

  .header-cta span {
    display: none;
  }
}

@media (max-width: 40rem) {
  :root {
    --header-h: 4.75rem;
  }

  .brand-lockup {
    width: 170px;
  }

  .lang-toggle span {
    display: none;
  }

  .lang-toggle {
    padding: 0.5rem 0.6rem;
  }
}

/* Very small phones (≤ 375 px): keep logo, language, call button and menu on one line without overlap */
@media (max-width: 23.5rem) {
  :root {
    --header-h: 4.25rem;
    --gutter: 1rem;
  }

  .header-inner {
    gap: 0.5rem;
  }

  .brand-lockup {
    width: 138px;
  }

  .header-actions {
    gap: 0.4rem;
  }

  .lang-toggle {
    padding: 0.45rem 0.5rem;
  }

  .lang-toggle .lang-chevron {
    display: none;
  }

  .header-cta {
    padding: 0.5rem 0.65rem;
    min-height: 2.5rem;
  }

  .lang-toggle {
    min-height: 2.5rem;
  }

  .nav-toggle {
    width: 2.5rem;
    height: 2.5rem;
  }
}

/* ---------- 9. Hero ------------------------------------------------- */
.hero {
  padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(2rem, 5vw, 4rem);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

.hero-title {
  margin-bottom: 1.25rem;
}

.hero-sub {
  font-size: var(--text-lead);
  color: var(--ink-2);
  max-width: 36rem;
  margin-bottom: 2rem;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.75rem;
  margin-top: 2rem;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--ink-3);
}

.hero-trust li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.hero-trust .ic {
  color: var(--gold-deep);
}

.hero-visual {
  position: relative;
  padding: 2.5rem 0 3.5rem 2.5rem;
}

.hero-media {
  position: relative;
  z-index: 2;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  box-shadow: var(--shadow-pop);
}

.hero-media picture,
.media-frame picture {
  display: block;
  height: 100%;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-block {
  position: absolute;
  top: 0;
  bottom: 3rem;
  inset-inline-start: 22%;
  inset-inline-end: calc(-1 * var(--gutter));
  background: var(--navy);
  z-index: 1;
}

.hero-block::after {
  content: '';
  position: absolute;
  inset-inline-start: 0;
  top: 0;
  bottom: 0;
  width: 6px;
  background: var(--gold);
}

.hero-caption {
  position: absolute;
  bottom: 0;
  inset-inline-start: 2.5rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--ink-2);
}

.hero-caption .ic {
  color: var(--gold-deep);
}

[dir='rtl'] .hero-visual {
  padding: 2.5rem 2.5rem 3.5rem 0;
}

@media (min-width: 64rem) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: clamp(2rem, 5vw, 5rem);
  }

  .hero {
    padding-bottom: clamp(3rem, 6vw, 5rem);
  }
}

/* Stats band */
.stats-band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem 2rem;
  padding: 2rem 0;
}

.stat-value {
  font-size: clamp(1.7rem, 2.6vw, 2.2rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
  letter-spacing: -0.02em;
}

.stat-label {
  margin-top: 0.4rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

html[lang='ar'] .stat-label {
  letter-spacing: 0;
  font-size: 0.9rem;
}

@media (min-width: 48rem) {
  .hero-stats {
    grid-template-columns: repeat(5, 1fr);
  }

  .stat {
    padding-inline-start: 1.25rem;
    border-inline-start: 3px solid var(--gold);
  }
}

@media (max-width: 47.99rem) {
  .stat {
    padding-inline-start: 1rem;
    border-inline-start: 3px solid var(--gold);
  }
}

/* ---------- 10. Software strip & section --------------------------- */
.software-strip {
  background: var(--soft);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.software-strip-inner {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: 1.5rem 0 1.75rem;
}

.software-strip-label {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: none;
}

.software-strip-label p {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink-2);
  max-width: 16rem;
  line-height: 1.4;
}

.software-strip-label a {
  color: var(--navy);
  font-weight: 700;
  border-bottom: 2px solid var(--gold);
}

.strip-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  background: var(--gold);
  color: var(--midnight);
  flex: none;
}

.strip-mark .ic {
  fill: currentColor;
}

/* Endless band: two identical tracks, each shifted by its own width (+ one gap) → seamless loop.
   Speed ≈ 55 px/s regardless of screen size (the track width is identical on every screen). */
.software-marquee {
  --logo-gap: 3rem;
  --logo-h: 2.25rem;
  --logo-max-w: 8.5rem;
  --logo-max-w-wide: 10rem;
  --marquee-duration: 80s; /* calm band (≈ 22 px/s); static under prefers-reduced-motion */
  display: flex;
  width: 100%;
  overflow: hidden;
  padding: 0.25rem 0;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}

.software-track {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  gap: var(--logo-gap);
  padding-inline-end: var(--logo-gap);
  margin: 0;
  list-style: none;
  animation: software-marquee var(--marquee-duration) linear infinite;
  will-change: transform;
}

.software-logo {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.software-logo img {
  display: block;
  height: calc(var(--logo-h) * var(--scale, 1));
  width: auto;
  max-width: calc(var(--logo-max-w) * var(--scale, 1));
  object-fit: contain;
  object-position: center;
}

.software-logo.is-wide img {
  max-width: calc(var(--logo-max-w-wide) * var(--scale, 1));
}

@keyframes software-marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-100%);
  }
}

@media (hover: hover) {
  .software-marquee:hover .software-track {
    animation-play-state: paused;
  }
}

@media (min-width: 48rem) {
  .software-marquee {
    --logo-gap: 4rem;
    --logo-h: 2.6rem;
    --logo-max-w: 10rem;
    --logo-max-w-wide: 12.5rem;
    --marquee-duration: 100s;
  }
}

@media (min-width: 64rem) {
  .software-strip-inner {
    gap: 1.5rem;
    padding: 1.75rem 0 2rem;
  }

  .software-marquee {
    --logo-gap: 5rem;
    --logo-h: 2.85rem;
    --logo-max-w: 11rem;
    --logo-max-w-wide: 14rem;
    --marquee-duration: 115s;
  }
}

@media (prefers-reduced-motion: reduce) {
  .software-marquee {
    -webkit-mask-image: none;
    mask-image: none;
    padding-inline: var(--gutter);
  }

  .software-track {
    animation: none;
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 1.25rem;
    width: 100%;
    padding-inline-end: 0;
  }

  .software-track[aria-hidden='true'] {
    display: none;
  }
}

.software-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(13rem, 1fr));
  gap: 1rem;
}

.software-tile {
  background: #fff;
  border: 1px solid var(--line);
  padding: 1.25rem 1.25rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-height: 6.5rem;
  justify-content: center;
  transition: border-color 0.2s, transform 0.2s var(--ease-out);
}

.software-tile:hover {
  border-color: var(--navy);
  transform: translateY(-2px);
}

.software-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.25;
}

.software-cat {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

html[lang='ar'] .software-cat {
  letter-spacing: 0;
  font-size: 0.86rem;
}

.software-note {
  margin-top: 1.5rem;
  font-size: 0.84rem;
  color: var(--ink-3);
  max-width: 52rem;
}

/* ---------- 11. Services -------------------------------------------- */
.service-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.25rem;
}

.service-grid > *,
.expertise-grid > *,
.office-grid > *,
.package-grid > *,
.card-grid > *,
.about-blocks > *,
.software-grid > * {
  min-width: 0;
}

@media (min-width: 40rem) {
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 64rem) {
  .service-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
  }
}

.service-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  padding: 2rem 1.75rem 1.9rem;
  background: var(--soft);
  border-top: 4px solid transparent;
  transition: background-color 0.25s, border-color 0.25s, transform 0.25s var(--ease-out), box-shadow 0.25s;
}

.service-tile:hover {
  background: #fff;
  border-top-color: var(--gold);
  box-shadow: var(--shadow-card);
  transform: translateY(-3px);
}

.service-tile-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.service-index {
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold-deep); /* audit 14-10-2026: was rgba(gold, .55) = 1.55:1; large text now ≥ 3:1 (AA) */
  opacity: 0.8;
  line-height: 1;
  letter-spacing: -0.03em;
}

.service-tile-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.25;
  overflow-wrap: break-word;
}

.service-tile-desc {
  color: var(--ink-2);
  font-size: 0.925rem;
  flex: 1;
}

.service-tile .text-link {
  align-self: flex-start;
  font-size: 0.875rem;
}

.services-lead {
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

/* Triangle lists */
.tri-list {
  display: grid;
  gap: 0.6rem;
}

.tri-list li {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  color: var(--ink);
  font-weight: 600;
}

.tri-list.compact li {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink-2);
}

@media (min-width: 48rem) {
  .tri-list.two-col {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem 2rem;
  }
}

/* ---------- 12. Feature split (image + colour block) --------------- */
.feature-split {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 64rem) {
  .feature-split {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: clamp(3rem, 6vw, 6rem);
  }

  .feature-split.media-first .feature-media {
    order: -1;
  }
}

.feature-media {
  position: relative;
  padding: 0 0 2.5rem 2.5rem;
}

[dir='rtl'] .feature-media {
  padding: 0 2.5rem 2.5rem 0;
}

.media-frame {
  position: relative;
  z-index: 2;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  box-shadow: var(--shadow-pop);
}

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-block {
  position: absolute;
  inset-inline-start: 0;
  bottom: 0;
  width: 70%;
  height: 70%;
  background: var(--navy);
  z-index: 1;
}

.media-block::after {
  content: '';
  position: absolute;
  inset-inline-start: 0;
  right: 0;
  bottom: 0;
  height: 6px;
  width: 100%;
  background: var(--gold);
}

.feature-list {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 48rem) {
  .feature-list {
    grid-template-columns: 1fr 1fr;
    gap: 1.75rem 2rem;
  }
}

.feature-list li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.feature-list h3 {
  margin-bottom: 0.3rem;
  font-size: var(--text-h4);
}

.feature-list p {
  font-size: 0.9rem;
  color: var(--ink-2);
}

/* ---------- 13. Method (navy band + light card, numbered) --------- */
.method {
  position: relative;
  padding: var(--section-y) 0;
  overflow: hidden;
}

.method-band {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 42%;
  background: var(--navy);
}

.method-card {
  position: relative;
  background: var(--soft);
  padding: clamp(2rem, 5vw, 4rem);
  box-shadow: var(--shadow-pop);
}

.method-head {
  max-width: 44rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.method-steps {
  display: grid;
  gap: 2rem;
  counter-reset: none;
}

@media (min-width: 48rem) {
  .method-steps {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem 3rem;
  }
}

.method-step {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.method-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3.25rem;
  height: 3.25rem;
  background: #fff;
  color: var(--gold-deep);
  font-size: 1.35rem;
  font-weight: 700;
  flex: none;
  box-shadow: var(--shadow-card);
}

.method-step h3 {
  margin-bottom: 0.4rem;
}

.method-step p {
  color: var(--ink-2);
  font-size: 0.925rem;
}

/* ---------- 14. CTA band -------------------------------------------- */
.cta {
  background: var(--navy);
  color: #fff;
  padding: clamp(3rem, 6vw, 5rem) 0;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 6px;
  background: var(--gold);
}

.cta-inner {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 64rem) {
  .cta-inner {
    grid-template-columns: minmax(0, 1.4fr) auto;
    gap: 3rem;
  }

  .cta-inner .btn-row {
    justify-content: flex-end;
  }
}

.cta h2 {
  color: #fff;
}

.cta .lead {
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 0;
}

/* ---------- 15. Page header (light) -------------------------------- */
.page-header {
  padding: clamp(2.5rem, 5vw, 4.5rem) 0 clamp(2rem, 4vw, 3.5rem);
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.page-header-bg {
  display: none;
}

.page-header-content {
  max-width: var(--container);
}

.page-header h1 {
  margin-bottom: 1rem;
  max-width: 20ch;
}

.page-header .lead {
  max-width: 46rem;
}

.page-header.is-center {
  text-align: center;
}

.page-header.is-center h1,
.page-header.is-center .lead {
  margin-inline: auto;
}

.page-header .eyebrow-light {
  color: var(--gold-deep);
}

.page-header .lead-light {
  color: var(--ink-2);
}

.page-header .btn-outline-light {
  color: var(--navy);
  border-color: var(--navy);
}

.page-header .btn-outline-light:hover {
  background: var(--navy);
  color: #fff;
}

.fact-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.75rem;
  margin-bottom: 1.25rem;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--ink-2);
}

.fact-row li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.fact-row .ic {
  color: var(--gold-deep);
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 1.5rem; /* ≥ 24 px tap target */
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--ink-3);
  margin-bottom: 1.25rem;
}

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

/* Service header with media */
.service-header {
  padding-bottom: 0;
  border-bottom: 0;
}

.service-header-grid {
  display: grid;
  gap: 2.5rem;
  align-items: start;
  padding-bottom: clamp(2rem, 4vw, 3rem);
  border-bottom: 1px solid var(--line);
}

@media (min-width: 64rem) {
  .service-header-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    gap: clamp(2.5rem, 5vw, 5rem);
  }
}

.service-header-media {
  position: relative;
  padding: 2rem 0 0 2.5rem;
}

[dir='rtl'] .service-header-media {
  padding: 2rem 2.5rem 0 0;
}

.service-header-media .media-block {
  top: 0;
  bottom: auto;
  height: 60%;
  width: 60%;
  inset-inline-start: 0;
}

.service-header-media .media-block::after {
  bottom: auto;
  top: 0;
}

.service-intro-label {
  margin: 1.75rem 0 0.9rem;
  font-weight: 700;
  color: var(--navy);
}

/* ---------- 16. Cards & panels ------------------------------------- */
.card {
  background: #fff;
  border: 1px solid var(--line);
  padding: 2rem;
}

.card-topline {
  display: none;
}

.card-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 48rem) {
  .card-grid.cols-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 64rem) {
  .card-grid.cols-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card-link {
  display: block;
  transition: border-color 0.2s, transform 0.2s var(--ease-out), box-shadow 0.2s;
}

.card-link:hover {
  border-color: var(--navy);
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}

.card-accent {
  background: var(--navy);
  color: #fff;
  border: 0;
}

.card-accent h3 {
  color: #fff;
}

.card-more {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  color: var(--gold-deep);
}

.panel {
  padding: 1.75rem;
  margin-bottom: 1.25rem;
}

.panel-navy {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.9);
}

.panel-white {
  background: #fff;
  border: 1px solid var(--line);
}

.panel-accent {
  background: var(--soft);
  border-inline-start: 4px solid var(--gold);
}

.panel-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-3);
  margin-bottom: 0.75rem;
}

.panel-white .panel-label,
.panel-label.gold {
  color: var(--gold-deep);
}

html[lang='ar'] .panel-label {
  letter-spacing: 0;
  font-size: 0.9rem;
}

.panel-title {
  margin-bottom: 1rem;
  font-size: var(--text-h4);
}

.panel-languages {
  font-weight: 700;
  color: var(--navy);
}

.panel .text-link {
  display: inline-flex;
}

.side-sticky {
  position: sticky;
  top: calc(var(--header-h) + 1.5rem);
}

.contact-side .side-sticky {
  position: static; /* the contact card is taller than most viewports */
}

/* ---------- 17. Service detail ------------------------------------- */
.detail-grid {
  display: grid;
  gap: 3rem;
}

@media (min-width: 64rem) {
  .detail-grid {
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
    gap: clamp(3rem, 5vw, 5rem);
    align-items: start;
  }
}

.detail-main .h3 {
  margin-bottom: 0.75rem;
}

.check-list {
  display: grid;
  gap: 0.75rem;
}

.check-list li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.check-list .ic {
  color: var(--gold-deep);
  margin-top: 0.3em;
}

.check-list.compact {
  gap: 0.55rem;
  font-size: 0.875rem;
}

.situation-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 48rem) {
  .situation-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.situation {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  padding: 1.25rem 1.5rem;
  background: var(--soft);
  font-weight: 600;
  color: var(--ink);
  font-size: 0.925rem;
}

.situation-num {
  color: var(--gold-deep);
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 1.2;
  flex: none;
}

.next-service {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-top: clamp(3rem, 5vw, 5rem);
  padding: 1.75rem 2rem;
  background: var(--soft);
  border-inline-start: 4px solid var(--gold);
  transition: background-color 0.2s;
}

.next-service:hover {
  background: var(--soft-2);
}

.next-service > span {
  min-width: 0;
  flex: 1 1 auto;
}

.next-service > .ic {
  flex: 0 0 auto;
}

.next-service-title {
  display: block;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
}

@media (max-width: 23.5rem) {
  .next-service {
    gap: 1rem;
    padding: 1.5rem 1.25rem;
  }

  .next-service-title {
    font-size: 1.05rem;
  }
}

.next-service .ic {
  color: var(--gold-deep);
}

/* ---------- 18. Team ------------------------------------------------ */
.expertise-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 48rem) {
  .expertise-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 64rem) {
  .expertise-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

.expertise-card {
  background: #fff;
  border: 1px solid var(--line);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.expertise-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.9rem;
}

.expertise-head h3 {
  font-size: 1.025rem;
  margin: 0;
}

.expertise-list {
  display: grid;
  gap: 0.6rem;
  flex: 1;
}

.expertise-list li {
  display: flex;
  gap: 0.75rem;
  align-items: baseline;
  font-size: 0.9rem;
  color: var(--ink-2);
}

.expertise-num {
  font-weight: 700;
  color: var(--gold-deep);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  flex: none;
}

.expertise-card .text-link {
  align-self: flex-start;
  font-size: 0.875rem;
}

.team-tier {
  margin-top: clamp(2rem, 4vw, 3rem);
}

.tier-label {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 1.25rem;
}

html[lang='ar'] .tier-label {
  letter-spacing: 0;
  font-size: 0.95rem;
}

.member-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 40rem) {
  .member-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 64rem) {
  .member-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.member-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: var(--soft);
  border-inline-start: 4px solid var(--navy);
  transition: border-color 0.2s, background-color 0.2s;
}

.member-card:hover {
  border-inline-start-color: var(--gold);
  background: #fff;
  box-shadow: var(--shadow-card);
}

.member-text h4 {
  margin-bottom: 0.15rem;
  font-size: 0.95rem;
}

.role {
  margin: 0;
  font-size: 0.84rem;
  color: var(--ink-3);
  font-weight: 600;
}

.team-cta {
  margin-top: clamp(3rem, 5vw, 4rem);
  padding: 2rem;
  background: var(--soft);
  border-inline-start: 4px solid var(--gold);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.team-cta-text {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
}

/* ---------- 19. Locations ------------------------------------------ */
.office-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 48rem) {
  .office-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

.office-card {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 4px solid var(--navy);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.office-city {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
}

.office-city .ic {
  color: var(--gold-deep);
}

.office-card address {
  font-size: 0.95rem;
  color: var(--ink);
  line-height: 1.5;
}

.office-meta {
  display: grid;
  gap: 0.4rem;
  align-content: start; /* keeps the lines together when a neighbouring card is taller (e.g. with a photo) */
  font-size: 0.84rem;
  color: var(--ink-3);
  flex: 1;
}

.office-meta li {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.office-meta a {
  display: inline-flex;
  align-items: center;
  min-height: 1.5rem; /* ≥ 24 px tap target (WCAG 2.5.8) */
}

.office-meta .ic {
  color: var(--gold-deep);
}

.office-meta a {
  color: var(--navy);
  font-weight: 600;
  overflow-wrap: anywhere;
}

.office-meta a:hover {
  color: var(--gold-deep);
}

.office-card .text-link {
  align-self: flex-start;
  font-size: 0.875rem;
}

.office-card-soon {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.88);
  border-color: var(--navy);
  border-top-color: var(--gold);
}

.office-card-soon h3 {
  color: #fff;
  font-size: 1.1rem;
  margin: 0;
}

.office-card-soon p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.78);
}

.soon-badge {
  align-self: flex-start;
  background: var(--gold);
  color: var(--midnight);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
}

html[lang='ar'] .soon-badge {
  letter-spacing: 0;
  font-size: 0.86rem;
}

.soon-list {
  display: grid;
  gap: 0.4rem;
}

.soon-list li {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-weight: 700;
  color: #fff;
  font-size: 0.95rem;
}

.soon-list .tri {
  color: var(--gold-3);
}

/* ---------- 20. About ---------------------------------------------- */
.about-blocks {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 48rem) {
  .about-blocks {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

.about-block {
  background: #fff;
  border: 1px solid var(--line);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.about-block header {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.about-block h3 {
  font-size: 1.05rem;
  margin: 0;
}

.about-block p {
  color: var(--ink-2);
  font-size: 0.925rem;
  flex: 1;
}

.about-block .text-link {
  align-self: flex-start;
  font-size: 0.875rem;
}

.banner {
  position: relative;
  max-height: 32rem;
  overflow: hidden;
}

.banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 3 / 1;
}

.banner-overlay {
  display: none;
}

/* ---------- 21. FAQ ------------------------------------------------- */
.faq-grid {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 64rem) {
  .faq-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 2.4fr);
    gap: 4rem;
    align-items: start;
  }
}

.faq-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

@media (min-width: 64rem) {
  .faq-tabs {
    flex-direction: column;
    gap: 0.25rem;
  }
}

.faq-tab {
  display: block;
  padding: 0.7rem 1rem;
  font-weight: 700;
  color: var(--ink-2);
  border-inline-start: 4px solid transparent;
  background: var(--soft);
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}

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

.faq-tab.is-active {
  background: #fff;
  color: var(--navy);
  border-inline-start-color: var(--gold);
  box-shadow: var(--shadow-card);
}

.faq-panel {
  display: none;
}

.faq-panel.is-active {
  display: block;
}

.faq-panel-title {
  font-size: var(--text-h3);
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
  cursor: pointer;
  font-weight: 700;
  color: var(--navy);
}

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

.faq-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  background: var(--soft);
  color: var(--gold-deep);
  flex: none;
  transition: transform 0.25s var(--ease-out), background-color 0.2s;
}

.faq-item[open] .faq-toggle {
  transform: rotate(180deg);
  background: var(--gold);
  color: var(--midnight);
}

.faq-a {
  padding: 0 0 1.25rem;
  color: var(--ink-2);
  max-width: 60ch;
}

.faq-cta {
  margin-top: 2rem;
}

.faq-cta-text {
  margin: 0 0 0.35rem;
  font-weight: 700;
  color: var(--navy);
  font-size: var(--text-h3);
}

.faq-cta-lead {
  margin: 0 0 1.75rem;
  color: var(--ink-2);
}

.faq-cta .faq-cta-flow {
  margin-bottom: 2rem;
}

/* ---------- 22. Contact & forms ------------------------------------ */
.contact-grid {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 64rem) {
  .contact-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.8fr);
    gap: 4rem;
    align-items: start;
  }
}

.contact-card {
  padding: 2rem;
}

.contact-emblem {
  width: 72px;
  height: auto;
  margin-bottom: 1.5rem;
}

.contact-card-intro {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 1.5rem;
}

.contact-block {
  padding: 1.25rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.contact-block:last-child {
  padding-bottom: 0;
}

.contact-block-title {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-3);
  margin-bottom: 0.6rem;
}

html[lang='ar'] .contact-block-title {
  letter-spacing: 0;
  font-size: 0.9rem;
}

.contact-block-sub {
  color: rgba(255, 255, 255, 0.6);
  font-weight: 600;
}

.contact-block-text {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0.75rem;
}

.contact-lines {
  display: grid;
  gap: 0.45rem;
}

.contact-lines a,
.contact-lines li > span {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.6rem;
  color: #fff;
  font-weight: 600;
  line-height: 1.45;
  font-size: 0.9rem;
  overflow-wrap: anywhere;
  min-height: 1.5rem;
  padding: 0.1rem 0;
}

.contact-lines .ic {
  color: var(--gold-3);
  margin-top: 0.2em;
}

.contact-lines a:hover {
  color: var(--gold-3);
}

.contact-info {
  margin: 0;
  display: grid;
  gap: 1.1rem;
}

.contact-info dt {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-3);
  margin-bottom: 0.25rem;
}

html[lang='ar'] .contact-info dt {
  letter-spacing: 0;
  font-size: 0.86rem;
}

.contact-info dd {
  margin: 0;
}

.contact-info dd a,
.contact-info dd > span {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.6rem;
  color: #fff;
  font-weight: 600;
  line-height: 1.45;
}

.contact-info dd .ic {
  color: var(--gold-3);
  margin-top: 0.2em;
}

.contact-info dd a:hover {
  color: var(--gold-3);
}

.form-status {
  padding: 1.5rem 2rem;
  margin-bottom: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  border: 1px solid var(--line);
}

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

.form-status.is-success {
  background: #eef7ef;
  border-color: #bfdcc4;
}

.form-status.is-success .icon-ok {
  display: inline-flex;
  color: #2f7d3b;
}

.form-status.is-error {
  background: #fbefee;
  border-color: #efc4c0;
}

.form-status.is-error .icon-err {
  display: inline-flex;
  color: #b23a2f;
}

.status-text {
  flex: 1;
  margin: 0;
  font-size: 1rem;
}

.form-picker {
  display: grid;
  gap: 1rem;
}

@media (min-width: 40rem) {
  .form-picker {
    grid-template-columns: 1fr 1fr;
  }
}

.form-picker.is-hidden {
  display: none;
}

.picker-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.75rem;
  background: var(--soft);
  border: 1px solid transparent;
}

.picker-card:hover {
  background: #fff;
}

.picker-card h3 {
  margin: 0;
  font-size: var(--text-h4);
}

.picker-card p {
  margin: 0;
  color: var(--ink-2);
  font-size: 0.9rem;
}

.picker-cta {
  margin-top: auto;
  padding-top: 0.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--gold-deep);
}

.picker-card:hover .picker-cta {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.form-wrap {
  display: none;
}

.form-wrap.is-active {
  display: block;
}

.form-back {
  margin-bottom: 1rem;
}

.back-link.dark {
  color: var(--ink-2);
}

.form-card-head {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.form-card-head h2 {
  margin: 0;
  font-size: var(--text-h3);
}

.jeb-form {
  display: grid;
  gap: 1.1rem;
}

.form-row {
  display: grid;
  gap: 1.1rem;
}

@media (min-width: 40rem) {
  .form-row.two {
    grid-template-columns: 1fr 1fr;
  }
}

.field label {
  display: block;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.4rem;
}

.field label em {
  font-style: normal;
  color: var(--gold-deep);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  padding: 0.8rem 1rem;
  border: 1px solid var(--line-strong);
  background: #fff;
  color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.field textarea {
  min-height: 9rem;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(var(--gold-rgb), 0.35);
}

.field input.is-invalid,
.field select.is-invalid,
.field textarea.is-invalid {
  border-color: #b23a2f;
  box-shadow: 0 0 0 3px rgba(178, 58, 47, 0.15);
}

.form-invalid-msg {
  display: none;
  padding: 0.9rem 1rem;
  background: #fbefee;
  border-inline-start: 4px solid #b23a2f;
  color: #7a251d;
  font-size: 0.875rem;
}

.form-invalid-msg.is-visible,
.form-invalid-msg:not([hidden]).show {
  display: block;
}

.radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.25rem;
}

.radio {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.925rem;
  cursor: pointer;
}

.radio input {
  accent-color: var(--navy);
  width: 1.1rem;
  height: 1.1rem;
}

.form-note {
  font-size: 0.8125rem;
  color: var(--ink-3);
  margin: 0;
}

.form-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.5rem;
}

.hp {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
}

.btn.is-loading {
  opacity: 0.7;
  pointer-events: none;
}

.chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.field label.chip,
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 2.5rem;
  margin: 0;
  padding: 0.4rem 0.9rem 0.4rem 0.7rem;
  background: var(--soft);
  border: 1px solid transparent;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
}

.chip input {
  width: 1.1rem;
  height: 1.1rem;
  margin: 0;
  flex: none;
  accent-color: var(--navy);
  cursor: pointer;
}

.chip:has(input:checked) {
  background: var(--gold-3);
}

.chip:has(input:focus-visible) {
  border-color: var(--navy);
}

/* ---------- 23. Legal pages ---------------------------------------- */
.legal-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
}

.legal-meta .eyebrow {
  margin: 0;
}

.legal-intro {
  font-size: var(--text-lead);
  color: var(--ink-2);
  margin-bottom: 2rem;
}

.legal-toc {
  background: var(--soft);
  border-inline-start: 4px solid var(--gold);
  padding: 1.5rem 1.75rem;
  margin-bottom: 3rem;
}

.legal-toc ol {
  list-style: decimal;
  padding-inline-start: 1.25rem;
  display: grid;
  gap: 0.35rem;
  columns: auto;
}

.legal-toc a {
  display: inline-block;
  padding-block: 0.15rem; /* ≥ 24 px tap target */
  font-weight: 600;
  color: var(--navy);
}

.legal-toc a:hover {
  color: var(--gold-deep);
}

.legal-sections {
  display: grid;
  gap: 2.5rem;
}

.legal-section h2 {
  font-size: 1.15rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 1rem;
}

.legal-section h2 .num {
  color: var(--gold-deep);
  margin-inline-end: 0.35rem;
}

.legal-section p,
.legal-section li {
  color: var(--ink-2);
}

.legal-section ul {
  list-style: disc;
  padding-inline-start: 1.5rem;
  margin: 0 0 1.25em;
  display: grid;
  gap: 0.5rem;
}

/* ---------- 24. Footer (dark) -------------------------------------- */
.site-footer {
  background: var(--midnight);
  color: rgba(248, 244, 234, 0.78);
  font-size: 0.875rem;
}

.footer-cta {
  background: var(--navy);
  border-top: 6px solid var(--gold);
  padding: clamp(2.5rem, 5vw, 4rem) 0;
}

.footer-cta-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 3rem;
}

.footer-cta-title {
  color: #fff;
  margin-bottom: 0.4rem;
  font-size: 1.45rem;
}

.footer-cta-text {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
}

.footer-main {
  padding-block: clamp(3rem, 6vw, 4.5rem) clamp(2.5rem, 4vw, 3.5rem);
}

/* Brand row: logo plate + registration facts, closed off by a hairline */
.footer-brand-row {
  display: grid;
  gap: 2rem;
  align-items: center;
  padding-bottom: clamp(2rem, 4vw, 2.75rem);
  margin-bottom: clamp(2.25rem, 4vw, 3rem);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 80rem) {
  .footer-brand-row {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 3.5rem;
  }
}

.footer-brand-lockup {
  display: inline-block;
  justify-self: start;
  padding: 1rem 1.25rem;
}

.footer-logo {
  display: block;
  width: 240px;
  height: auto;
}

.footer-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem 2rem;
  margin: 0;
}

@media (min-width: 48rem) {
  .footer-facts {
    grid-template-columns: repeat(4, minmax(0, auto));
    justify-content: start;
    gap: 1.25rem 3rem;
  }
}

@media (min-width: 80rem) {
  .footer-facts {
    justify-content: end;
  }
}

.footer-fact {
  display: grid;
  gap: 0.3rem;
  padding-inline-start: 1rem;
  border-inline-start: 1px solid rgba(var(--gold-rgb), 0.45);
}

.footer-fact dt {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-3);
}

html[lang='ar'] .footer-fact dt {
  letter-spacing: 0;
  font-size: 0.86rem;
}

.footer-fact dd {
  margin: 0;
  color: #fff;
  font-weight: 600;
  font-size: 0.84rem;
  line-height: 1.5;
}

@media (min-width: 48rem) {
  .footer-fact dd[dir='ltr'] {
    white-space: nowrap;
  }

  .footer-fact:first-child dd {
    max-width: 16rem;
  }

  html[lang='ar'] .footer-fact:first-child dd {
    max-width: 19rem;
  }
}

/* Link columns */
.footer-grid {
  display: grid;
  gap: 2.5rem 2rem;
}

@media (min-width: 40rem) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 40rem) {
  .footer-grid {
    gap: 2.75rem 3rem;
  }
}

@media (min-width: 80rem) {
  .footer-grid {
    grid-template-columns: 1.1fr 1.1fr 1fr 1fr;
    gap: 2.5rem 3.5rem;
  }
}

.footer-col h3 {
  position: relative;
  color: var(--gold-3);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 1.4rem;
  padding-bottom: 0.75rem;
}

.footer-col h3::after {
  content: '';
  position: absolute;
  inset-inline-start: 0;
  bottom: 0;
  width: 1.75rem;
  height: 2px;
  background: var(--gold);
}

html[lang='ar'] .footer-col h3 {
  letter-spacing: 0;
  font-size: 0.9rem;
}

.footer-col ul {
  display: grid;
  gap: 0.55rem;
}

/* Touch targets: text links in the footer bottom row and strip label get a ≥ 24 px tall box */
.footer-langs a,
.consent-text a,
.software-strip-label a,
.form-note a {
  display: inline-block;
  padding: 0.2rem 0;
}

.footer-links a,
.footer-link-btn {
  display: inline-block;
  color: rgba(248, 244, 234, 0.8);
  text-align: start;
  line-height: 1.5;
  padding: 0.1rem 0;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 0.3em;
  text-decoration-thickness: 1px;
  transition: color 0.2s, text-decoration-color 0.2s;
}

.footer-links a:hover,
.footer-link-btn:hover {
  color: #fff;
  text-decoration-color: var(--gold);
}

.pdf-tag {
  display: inline-block;
  margin-inline-start: 0.35rem;
  padding: 0.3rem 0.3rem; /* ≥ 24 px target although the label is small */
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1;
  color: var(--gold-3);
  vertical-align: 0.1em;
  white-space: nowrap;
  text-decoration: none;
  border-radius: 3px;
  transition: color 0.2s, background-color 0.2s;
}

.footer-links a.pdf-tag {
  color: var(--gold-3);
  text-decoration: none;
  padding: 0.35rem 0.3rem;
}

.footer-links a.pdf-tag:hover,
.footer-links a.pdf-tag:focus-visible {
  color: var(--navy);
  background: var(--gold-3);
}

.footer-nav-legal {
  display: grid;
  gap: 2.25rem;
}

@media (min-width: 22.5rem) and (max-width: 79.99rem) {
  .footer-nav-legal {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem 1.5rem;
    align-content: start;
  }
}

/* Office and contact blocks */
.footer-office-list {
  display: grid;
  gap: 1.35rem;
}

.footer-office-list li {
  display: grid;
  gap: 0.15rem;
  justify-items: start;
}

.footer-office-list strong {
  color: #fff;
  font-weight: 700;
  margin-bottom: 0.1rem;
}

.footer-address {
  color: rgba(248, 244, 234, 0.72);
  font-size: 0.84rem;
}

.footer-office-list a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(248, 244, 234, 0.86);
  font-size: 0.84rem;
  font-weight: 600;
  line-height: 1.5;
  padding: 0.15rem 0; /* ≥ 24 px touch target */
  overflow-wrap: anywhere;
  transition: color 0.2s;
}

.footer-office-list a .ic {
  color: var(--gold);
  flex: none;
}

.footer-office-list a:hover {
  color: var(--gold-3);
}

.footer-soon {
  padding-top: 0.25rem;
}

.footer-soon strong {
  color: var(--gold-3);
}

.footer-soon span {
  color: rgba(248, 244, 234, 0.72);
  font-size: 0.84rem;
}

/* Bottom bar */
.footer-bottom-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 2rem;
  padding-block: 1.35rem;
  font-size: 0.72rem;
  color: rgba(248, 244, 234, 0.6);
}

/* Bottom row: © at the start, the language links at the opposite end (mirrored automatically in RTL) */
@media (min-width: 64rem) {
  .footer-bottom {
    padding-inline-end: 4.5rem; /* keeps the "to top" button clear of the links */
  }
}

.footer-bottom p {
  margin: 0;
}

.footer-langs {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  margin-inline-start: auto;
}

.footer-langs a {
  color: rgba(248, 244, 234, 0.72);
}

.footer-langs a:hover {
  color: #fff;
}

.footer-langs a.is-active {
  color: var(--gold-3);
  font-weight: 700;
}

.footer-langs a[lang='ar'] {
  font-family: 'Alyamama', serif;
}

.to-top {
  position: fixed;
  inset-inline-end: 1.25rem;
  bottom: 1.25rem;
  width: 2.75rem;
  height: 2.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  color: #fff;
  border-radius: 50%;
  box-shadow: var(--shadow-card);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.25s, transform 0.25s var(--ease-out), visibility 0.25s;
  z-index: 60;
}

.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}

/* ---------- 25. Error pages ---------------------------------------- */
.not-found {
  padding-block: clamp(4rem, 10vw, 8rem);
  border-bottom: 0;
}

/* ---------- 26. Pricing -------------------------------------------- */
.currency-note {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: var(--soft);
  border-inline-start: 4px solid var(--gold);
}

.currency-note p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--ink-2);
}

.currency-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3.25rem;
  height: 2.25rem;
  padding-inline: 0.6rem;
  background: var(--navy);
  color: var(--gold-3);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  flex: none;
}

.package-grid {
  display: grid;
  gap: 1.25rem;
  align-items: stretch;
}

@media (min-width: 48rem) {
  .package-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 80rem) {
  .package-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
  }
}

.package .btn {
  white-space: normal;
  padding-inline: 1.25rem;
}

.package {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 4px solid var(--navy);
  padding: 2rem 1.6rem 1.75rem;
}

.package.is-popular {
  border-color: var(--navy);
  border-top-color: var(--gold);
  box-shadow: var(--shadow-pop);
}

.package.is-quote {
  background: var(--soft);
}

.package-badge {
  position: absolute;
  top: -0.9rem;
  inset-inline-start: 1.5rem;
  background: var(--gold);
  color: var(--midnight);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
}

html[lang='ar'] .package-badge {
  letter-spacing: 0;
  font-size: 0.86rem;
}

.package h3 {
  margin: 0;
  font-size: 1.2rem;
}

.package-price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
}

.package-price .price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.02em;
  line-height: 1;
}

.package-price .price-from {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--gold-deep);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

html[lang='ar'] .package-price .price-from {
  letter-spacing: 0;
}

.package-price .price-unit {
  font-size: 0.875rem;
  color: var(--ink-3);
  font-weight: 600;
}

.package-price .price-quote {
  font-size: 1.45rem;
}

.package-excl {
  margin: -0.25rem 0 0;
  font-size: 0.8rem;
  color: var(--ink-3);
  font-weight: 600;
}

.package-meta {
  margin: 0.25rem 0 0;
  display: grid;
  gap: 0.2rem;
  padding: 1rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.package-meta dt {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

html[lang='ar'] .package-meta dt {
  letter-spacing: 0;
  font-size: 0.86rem;
}

.package-meta dd {
  margin: 0 0 0.6rem;
  font-size: 0.85rem;
  color: var(--ink-2);
}

.package-meta dd:last-child {
  margin-bottom: 0;
}

.package-included {
  margin: 0.25rem 0 0;
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
}

html[lang='ar'] .package-included {
  letter-spacing: 0;
  font-size: 0.95rem;
}

.package .check-list {
  flex: 1;
  align-content: start;
}

.package-exclnote {
  margin: 0.25rem 0 0.5rem;
  font-size: 0.8rem;
  color: var(--ink-3);
}

.package-exclnote strong {
  color: var(--ink-2);
}

.quote-note {
  margin-top: 2rem;
  padding: 1.75rem 2rem;
  background: var(--soft);
  border-inline-start: 4px solid var(--navy);
}

.quote-note h3 {
  font-size: 1.025rem;
  margin-bottom: 0.5rem;
}

.quote-note p {
  margin: 0;
  color: var(--ink-2);
  font-size: 0.925rem;
}

.usp-row {
  display: grid;
  gap: 0.75rem 2rem;
  margin-top: 2rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink-2);
}

@media (min-width: 48rem) {
  .usp-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 64rem) {
  .usp-row {
    grid-template-columns: repeat(4, 1fr);
  }
}

.usp-row li {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
}

.usp-row .ic {
  color: var(--gold-deep);
  margin-top: 0.3em;
}

.pricing-block {
  margin-top: clamp(3.5rem, 6vw, 5.5rem);
}

.price-table {
  padding: 0.5rem 1.75rem;
}

.price-cat {
  font-size: 1.025rem;
  padding: 1.1rem 0 0.6rem;
  margin: 0;
  color: var(--navy);
  border-bottom: 2px solid var(--gold);
}

.price-row {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}

.price-row:last-child {
  border-bottom: 0;
}

@media (max-width: 40rem) {
  .price-row {
    flex-direction: column;
    gap: 0.25rem;
    align-items: flex-start;
  }

  .price-cell {
    justify-content: flex-start;
    text-align: start;
  }
}

.price-label {
  color: var(--ink);
  font-size: 0.925rem;
}

.price-cell {
  text-align: end;
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.25rem 0.4rem;
  align-items: baseline;
}

.price-cell .price {
  font-weight: 700;
  color: var(--navy);
  font-size: 1rem;
}

.price-cell .price-unit,
.price-cell .price-min {
  font-size: 0.8rem;
  color: var(--ink-3);
}

.price-from,
.price-plus {
  font-size: 0.8rem;
  color: var(--gold-deep);
  font-weight: 700;
}

.price-free {
  color: #2f7d3b;
}

.price-quote {
  color: var(--gold-deep);
}

.price-cats {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 64rem) {
  .price-cats {
    grid-template-columns: 1fr 1fr;
  }
}

.pricing-cta {
  margin-top: clamp(3rem, 5vw, 4rem);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 2rem;
}

.pricing-cta h3 {
  margin-bottom: 0.3rem;
}

.pricing-cta p {
  margin: 0;
  color: var(--ink-2);
}

.pricing-footnote {
  margin-top: 2rem;
  font-size: 0.8125rem;
  color: var(--ink-3);
}

/* ---------- 27. Thank-you page ------------------------------------- */
.thanks-header .thanks-icon {
  display: inline-flex;
  color: #2f7d3b;
  margin-bottom: 1rem;
}

.thanks-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 64rem) {
  .thanks-grid {
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
    align-items: start;
  }
}

.thanks-steps-title {
  font-size: 1.15rem;
  margin-bottom: 1.25rem;
}

.step-list {
  display: grid;
  gap: 1rem;
}

.step-list li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.step-list p {
  margin: 0;
  color: var(--ink-2);
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  background: var(--navy);
  color: var(--gold-3);
  font-weight: 700;
  flex: none;
}

.thanks-note {
  margin-top: 1.5rem;
  font-size: 0.84rem;
  color: var(--ink-3);
}

.thanks-phone,
.thanks-mail,
.thanks-hours {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: #fff;
  margin: 0 0 0.75rem;
}

.thanks-phone {
  font-size: 1.2rem;
  font-weight: 700;
}

.thanks-office {
  margin: 1rem 0 0.35rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-3);
}

html[lang='ar'] .thanks-office {
  letter-spacing: 0;
  font-size: 0.9rem;
}

.thanks-office:first-of-type {
  margin-top: 0;
}

.thanks-contact .ic {
  color: var(--gold-3);
}

/* ---------- 28. Cookie consent ------------------------------------- */
.consent-banner {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 200;
  padding: 1rem var(--gutter) 1.25rem;
  pointer-events: none;
}

.consent-banner[hidden] {
  display: none;
}

.consent-banner-inner {
  pointer-events: auto;
  max-width: 64rem;
  margin-inline: auto;
  background: #fff;
  border-top: 5px solid var(--gold);
  box-shadow: 0 30px 60px -20px rgba(6, 24, 43, 0.45);
  padding: 1.5rem 1.75rem;
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 64rem) {
  .consent-banner-inner {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 2rem;
  }
}

.consent-text .consent-heading {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.15;
  font-size: 1rem;
  margin: 0 0 0.4rem;
}

.consent-text .consent-heading .ic {
  color: var(--gold-deep);
}

.consent-text p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--ink-2);
}

.consent-text a {
  font-weight: 700;
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.consent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
}

.consent-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.consent-modal[hidden] {
  display: none;
}

.consent-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 24, 43, 0.6);
}

.consent-panel {
  position: relative;
  width: 100%;
  max-width: 36rem;
  max-height: calc(100vh - 2rem);
  overflow-y: auto;
  background: #fff;
  border-top: 5px solid var(--gold);
  padding: 1.75rem;
  box-shadow: var(--shadow-pop);
}

.consent-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.consent-panel-head h2 {
  font-size: 1.15rem;
  margin: 0;
}

.consent-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  background: var(--soft);
  color: var(--navy);
}

.consent-panel-intro {
  color: var(--ink-2);
  font-size: 0.875rem;
}

.consent-list {
  display: grid;
  gap: 0.75rem;
  margin: 1.25rem 0;
}

.consent-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--soft);
}

.consent-item-text strong {
  display: block;
  color: var(--navy);
}

.consent-item-text p {
  margin: 0.2rem 0 0;
  font-size: 0.84rem;
  color: var(--ink-2);
}

.consent-always {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-deep);
  white-space: nowrap;
}

.switch {
  position: relative;
  display: inline-flex;
  flex: none;
}

.switch input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.switch-track {
  width: 2.75rem;
  height: 1.5rem;
  background: var(--line-strong);
  border-radius: var(--r-pill);
  position: relative;
  transition: background-color 0.2s;
}

.switch-track::after {
  content: '';
  position: absolute;
  top: 0.2rem;
  inset-inline-start: 0.2rem;
  width: 1.1rem;
  height: 1.1rem;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.2s var(--ease-out);
}

.switch input:checked + .switch-track {
  background: var(--navy);
}

.switch input:checked + .switch-track::after {
  transform: translateX(1.25rem);
}

[dir='rtl'] .switch input:checked + .switch-track::after {
  transform: translateX(-1.25rem);
}

.switch input:focus-visible + .switch-track {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

.consent-note,
.consent-saved {
  font-size: 0.8125rem;
  color: var(--ink-3);
}

.consent-panel-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1rem;
  align-items: center;
  margin-top: 1rem;
}

.consent-policy-link {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

body.consent-open {
  overflow: hidden;
}

/* ---------- 29. Arabic typography (Alyamama) ----------------------- */
html[lang='ar'] body {
  font-size: 1.1rem;
}

html[lang='ar'] .btn,
html[lang='ar'] .nav-desktop li > a {
  font-size: 1rem;
}

html[lang='ar'] .lead {
  line-height: 1.9;
}

html[lang='ar'] .software-name,
html[lang='ar'] .contact-info dd span[dir='ltr'],
html[lang='ar'] address {
  font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
}

[dir='rtl'] .price-cell {
  text-align: start;
}

[dir='rtl'] .hero-block {
  inset-inline-start: 22%;
}

/* ---------- 29b. Audit 14-10-2026: package matrix, VAT labels, notices, form hints ----- */
.price,
.price-cell,
.package-price,
.stat-value {
  font-variant-numeric: tabular-nums; /* tabular price figures (typography brief) */
}

.price-cell .price-vat,
.package-price .price-vat {
  flex-basis: 100%;
  font-size: 0.76rem;
  line-height: 1.4;
  color: var(--ink-3);
  font-weight: 600;
}

.price-cell .price-vat-incl,
.package-price .price-vat-incl {
  color: var(--gold-deep);
  font-weight: 700;
}

.package-price .price-vat {
  margin-top: -0.15rem;
}

.pricing-unit-note {
  margin: 1rem 0 0;
  max-width: 60rem;
  font-size: 0.8125rem;
  color: var(--ink-3);
}

.price-table .pricing-unit-note {
  padding: 0 1.25rem 1.25rem;
}

.matrix-block {
  margin-top: clamp(3rem, 6vw, 4.5rem);
}

.matrix-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.package-matrix {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid var(--line);
  font-size: 0.875rem;
}

.package-matrix th,
.package-matrix td {
  padding: 0.8rem 1rem;
  border-bottom: 1px solid var(--line);
  text-align: start;
  vertical-align: top;
}

.package-matrix thead th {
  background: var(--navy);
  color: #fff;
  font-weight: 700;
  font-size: 0.84rem;
  letter-spacing: 0.04em;
}

html[lang='ar'] .package-matrix thead th {
  letter-spacing: 0;
}

.package-matrix thead th:first-child {
  background: var(--midnight);
}

.package-matrix tbody th {
  font-weight: 600;
  color: var(--ink);
  min-width: 14rem;
}

.package-matrix tbody td {
  text-align: center;
}

.package-matrix tbody tr:nth-child(even) {
  background: var(--soft);
}

.mx {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  font-size: 0.8rem;
}

.mx-yes {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: rgba(var(--gold-rgb), 0.18);
  color: var(--navy);
}

.mx-yes .ic {
  width: 1rem;
  height: 1rem;
}

.mx-extra {
  color: var(--gold-deep);
  font-weight: 700;
}

.mx-no {
  color: var(--ink-3);
  font-weight: 700;
}

.mx-na {
  color: var(--ink-3);
  font-style: italic;
}

.mx-text {
  font-size: 0.84rem;
  text-align: start;
}

.matrix-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  margin-top: 1rem;
  font-size: 0.8125rem;
  color: var(--ink-2);
}

.matrix-legend li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

@media (max-width: 47.99rem) {
  /* Phones: the matrix stacks, every cell carries its column name */
  .package-matrix thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
  }

  .package-matrix,
  .package-matrix tbody,
  .package-matrix tr,
  .package-matrix th,
  .package-matrix td {
    display: block;
  }

  .package-matrix tr {
    padding: 0.5rem 0;
    border-bottom: 2px solid var(--line-strong);
  }

  .package-matrix tbody th {
    min-width: 0;
    padding-bottom: 0.25rem;
    border-bottom: 0;
  }

  .package-matrix tbody td {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.3rem 1rem;
    border-bottom: 0;
    text-align: end;
  }

  .package-matrix tbody td::before {
    content: attr(data-label);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--ink-2);
  }

  .package-matrix tbody tr:nth-child(even) {
    background: transparent;
  }
}

.service-notice {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  margin: 1.5rem 0 0;
  padding: 1.1rem 1.25rem;
  background: var(--soft);
  border-inline-start: 4px solid var(--gold);
}

.service-notice .ic {
  flex: none;
  margin-top: 0.2rem;
  color: var(--gold-deep);
}

.service-notice p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--ink-2);
}

.form-hint {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  margin: 0 0 1rem;
  padding: 0.75rem 1rem;
  font-size: 0.8125rem;
  color: var(--ink-2);
  background: var(--soft);
}

.form-hint .ic {
  flex: none;
  margin-top: 0.15rem;
  color: var(--gold-deep);
}

.form-chosen {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
  margin: 0 0 1.25rem;
  padding: 0.6rem 0.9rem;
  font-size: 0.84rem;
  background: var(--soft);
  border-inline-start: 4px solid var(--gold);
}

.form-chosen .ic {
  color: var(--gold-deep);
}

.form-chosen-change {
  margin-inline-start: auto;
  font-weight: 700;
  color: var(--navy);
  border-bottom: 2px solid var(--gold);
}

.form-invalid-msg:focus {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.mt-3 {
  margin-top: 0.75rem;
}


/* Audit 14-10-2026: hero secondary action, reference-date note, deliver/receive grid, values, team details */
.hero-actions {
  align-items: center;
}

.hero-secondary {
  font-size: 0.925rem;
}

.stats-note {
  margin: 1.25rem 0 0;
  font-size: 0.76rem;
  line-height: 1.5;
  color: var(--ink-3); /* 5.2:1 on white */
}

.exchange-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 48rem) {
  .exchange-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.5rem;
  }
}

.exchange-col .tri-list li,
.exchange-col .check-list li {
  font-size: 0.925rem;
}

.values-grid {
  margin-top: 0;
}

.member-langs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0.4rem 0 0;
}

.member-langs li {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 0.1rem 0.5rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-pill);
  color: var(--ink-2);
}

.member-bio {
  margin: 0.5rem 0 0;
  font-size: 0.84rem;
  color: var(--ink-2);
}

/* ---------- 29c. Round 15-10-2026: Inter, reduced type scale, footer, software tiles ----- */
/* Body 16 px (was 18), lead 18, h1 34–50, h2 26–36, h3 20.8, h4 16.8 — see tokens in :root; component sizes
   were reduced proportionally (large ≈ −10 %, small ≈ −5 %). Form controls stay 16 px (no zoom on iOS). */

/* Service pages: the back link gets its own line above the eyebrow */
.service-header-copy .back-link {
  display: flex;
  width: fit-content;
  margin-bottom: 1.4rem;
}

/* Footnote under the statistics stays readable at the smaller scale */
.stats-note {
  font-size: 0.78rem;
}

/* Software strip: packages without an official logo file are shown as a neutral name tile (Inter, navy) */
.software-logo.is-text {
  height: calc(var(--logo-h) * 1.05);
  padding: 0 0.9rem;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
}

.software-wordmark {
  font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
  font-size: calc(var(--logo-h) * 0.52);
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--navy);
  white-space: nowrap;
  line-height: 1;
}

/* ---------- 31. Round 15-10-2026 (content round): explanatory diagrams and page components ----- */
/* All diagrams are HTML + CSS (real text, translatable, RTL-safe, responsive) with inline SVG icons.
   Brand tokens only: navy nodes, gold connectors, ivory surfaces, Inter / Alyamama. */

body {
  font-synthesis: none; /* never fake bold/italic: the variable fonts carry the real weights */
}

/* -- Process flow: numbered nodes on one gold line (desktop) → vertical timeline (phone) -- */
.flow {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.5rem 2rem;
  counter-reset: flow;
}

.flow-step {
  position: relative;
  display: grid;
  grid-template-columns: 3.25rem minmax(0, 1fr);
  gap: 0 1rem;
  align-content: start; /* stretched steps must not spread their rows: titles stay level across the row */
  counter-increment: flow;
}

.flow-node {
  position: relative;
  z-index: 1;
  grid-row: 1 / span 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  background: var(--navy);
  color: var(--gold-3);
  font-weight: 700;
  font-size: 1.05rem;
  box-shadow: var(--shadow-card);
}

.flow-node .ic {
  width: 1.4rem;
  height: 1.4rem;
}

.flow-node::after {
  content: counter(flow);
}

.flow-node.has-icon::after {
  content: none;
}

.flow-title {
  margin: 0.55rem 0 0.25rem;
  font-size: 1.025rem;
  line-height: 1.3;
}

.flow-text {
  margin: 0;
  font-size: 0.9rem;
  color: var(--ink-2);
  grid-column: 2;
}

/* vertical connector between the nodes on narrow screens */
.flow-step:not(:last-child)::before {
  content: '';
  position: absolute;
  inset-inline-start: calc(1.625rem - 1px);
  top: 3.25rem;
  bottom: -1.5rem;
  width: 2px;
  background: var(--gold);
}

@media (min-width: 48rem) {
  .flow {
    grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr));
    gap: 2rem 1.5rem;
  }

  .flow-step {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .flow-node {
    grid-row: auto;
    margin-bottom: 1rem;
  }

  .flow-text {
    grid-column: auto;
  }

  /* horizontal connector from this node to the next */
  .flow-step:not(:last-child)::before {
    inset-inline-start: 3.25rem;
    inset-inline-end: -1.5rem;
    top: calc(1.625rem - 1px);
    bottom: auto;
    width: auto;
    height: 2px;
  }
}

.hub-node span:last-child,
.org-node > span:last-of-type {
  overflow-wrap: anywhere; /* last resort; the long Dutch compounds carry soft hyphens (shy()) */
  hyphens: manual;
}

.flow.is-light .flow-title {
  color: #fff;
}

.flow.is-light .flow-text {
  color: rgba(248, 244, 234, 0.78);
}

/* -- Brand name in headings: one line on wide screens, free wrapping on phones -- */
@media (min-width: 48rem) {
  .nobr-wide {
    white-space: nowrap;
  }
}

/* -- Diagram block: title, short explanation and the diagram itself, with a caption -- */
.diagram-block {
  margin-top: 2.5rem;
  container-type: inline-size;
}

/* In a narrow column (service pages beside the sidebar) a four-step flow becomes two rows of two */
@media (min-width: 48rem) {
  @container (max-width: 44rem) {
    .flow {
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 2rem 2rem;
    }

    .flow-step:nth-child(even)::before {
      display: none;
    }
  }
}

.diagram-caption {
  margin: 1.25rem 0 0;
  font-size: 0.84rem;
  color: var(--ink-3);
}

/* -- Hub: six service lines around one point of contact (home) -- */
.hub {
  display: grid;
  gap: 1rem;
}

.hub-side {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.hub-node {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.9rem 1rem;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--navy);
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.3;
  transition: border-color 0.2s, transform 0.2s var(--ease-out);
}

.hub-node:hover {
  border-color: var(--navy);
  transform: translateY(-2px);
}

.hub-node .icon-box {
  width: 2.6rem;
  height: 2.6rem;
}

.hub-node .ic {
  width: 1.2rem;
  height: 1.2rem;
}

.hub-center {
  display: flex;
  justify-content: center;
  order: -1;
}

.hub-core {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.35rem;
  width: 100%;
  max-width: 17rem;
  min-height: 11rem;
  padding: 1.5rem 1.25rem;
  background: var(--navy);
  color: #fff;
  border: 3px solid var(--gold);
  box-shadow: var(--shadow-pop);
}

.hub-core .ic {
  width: 1.75rem;
  height: 1.75rem;
  color: var(--gold-3);
}

.hub-core strong {
  font-size: 1.05rem;
  line-height: 1.25;
}

.hub-core span {
  font-size: 0.84rem;
  color: rgba(248, 244, 234, 0.8);
}

/* tablets: the point of contact on top, the two groups of three side by side underneath */
@media (min-width: 48rem) and (max-width: 63.99rem) {
  .hub {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 1.25rem;
  }

  .hub-center {
    grid-column: 1 / -1;
  }
}

@media (min-width: 64rem) {
  .hub {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    column-gap: 3.5rem;
  }

  .hub-center {
    order: 0;
  }

  .hub-side {
    gap: 1.25rem;
  }

  /* gold connectors from each node towards the centre */
  .hub-node::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 3.5rem;
    height: 2px;
    background: var(--gold);
  }

  .hub-side-a .hub-node::after {
    inset-inline-start: 100%;
  }

  .hub-side-b .hub-node::after {
    inset-inline-end: 100%;
  }
}

/* -- Question → service guide (services overview) -- */
.guide {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.guide-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.5rem;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  padding: 1rem 1.25rem;
}

.guide-q {
  margin: 0;
  color: var(--ink-2);
  font-size: 0.95rem;
}

.guide-q::before {
  content: '»';
  color: var(--gold-deep);
  font-weight: 700;
  margin-inline-end: 0.5rem;
}

.guide-arrow {
  display: none;
  color: var(--gold-deep);
}

.guide-service {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  color: var(--navy);
  font-size: 0.95rem;
}

.guide-service .icon-box {
  width: 2.2rem;
  height: 2.2rem;
}

.guide-service .ic {
  width: 1.1rem;
  height: 1.1rem;
}

.guide-service:hover {
  color: var(--gold-deep);
}

@media (min-width: 48rem) {
  .guide-row {
    grid-template-columns: minmax(0, 1.3fr) 2.5rem minmax(0, 1fr);
    gap: 0 1rem;
  }

  .guide-arrow {
    display: inline-flex;
    justify-content: center;
  }
}

/* -- Timeline (history, tax year) -- */
.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
}

.tl-item {
  position: relative;
  display: grid;
  grid-template-columns: 7.5rem minmax(0, 1fr);
  gap: 0 1.25rem;
  padding-inline-start: 1.75rem;
}

.tl-item::before {
  content: '';
  position: absolute;
  inset-inline-start: 0.55rem;
  top: 0.45rem;
  width: 0.75rem;
  height: 0.75rem;
  background: var(--gold);
  box-shadow: 0 0 0 3px #fff, 0 0 0 4px var(--gold);
}

.tl-item:not(:last-child)::after {
  content: '';
  position: absolute;
  inset-inline-start: calc(0.925rem - 1px);
  top: 1.5rem;
  bottom: -1.25rem;
  width: 2px;
  background: var(--line-strong);
}

.tl-when {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-deep);
  padding-top: 0.2rem;
}

.tl-body h3 {
  font-size: 1.025rem;
  margin-bottom: 0.3rem;
}

.tl-body p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--ink-2);
}

@media (max-width: 35.99rem) {
  .tl-item {
    grid-template-columns: minmax(0, 1fr);
  }

  .tl-when {
    margin-bottom: 0.25rem;
  }
}

/* soft surface variant used inside the navy method card etc. */
.timeline.on-soft .tl-item::before {
  box-shadow: 0 0 0 3px var(--soft), 0 0 0 4px var(--gold);
}

/* -- Comparison cards (translation: regular / sworn / legalisation) -- */
.compare-cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.compare-card {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 4px solid var(--navy);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.compare-card.is-ours {
  border-top-color: var(--gold);
}

.compare-card h3 {
  font-size: 1.05rem;
  margin: 0;
}

.compare-card dl {
  margin: 0;
  display: grid;
  gap: 0.6rem;
}

.compare-card dt {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.compare-card dd {
  margin: 0.15rem 0 0;
  font-size: 0.9rem;
  color: var(--ink-2);
}

.compare-card .tag {
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.6rem;
  background: var(--soft);
  color: var(--navy);
}

.compare-card.is-ours .tag {
  background: var(--gold-3);
}

/* tablets: stacked cards with a two-column definition list */
@media (min-width: 48rem) and (max-width: 63.99rem) {
  .compare-card dl {
    grid-template-columns: 8.5rem minmax(0, 1fr);
    gap: 0.5rem 1rem;
    align-items: baseline;
  }

  .compare-card dd {
    margin: 0;
  }
}

@media (min-width: 64rem) {
  .compare-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
  }

  /* beside the sidebar (container ≤ 44rem) the three cards stack, each with a two-column definition list */
  @container (max-width: 44rem) {
    .compare-cards {
      grid-template-columns: minmax(0, 1fr);
    }

    .compare-card dl {
      grid-template-columns: 8.5rem minmax(0, 1fr);
      gap: 0.5rem 1rem;
      align-items: baseline;
    }

    .compare-card dd {
      margin: 0;
    }
  }
}

/* -- Price build-up: package + factors = quote (pricing page) -- */
.price-build {
  display: grid;
  gap: 2.25rem;
  position: relative;
}

.pb-box {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.pb-box h3 {
  font-size: 1.025rem;
  margin: 0;
}

.pb-box p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--ink-2);
}

.pb-box ul {
  margin: 0.25rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.4rem;
  font-size: 0.9rem;
  color: var(--ink-2);
}

.pb-box li {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
}

.pb-box li .ic {
  width: 1rem;
  height: 1rem;
  color: var(--gold-deep);
  flex: none;
  margin-top: 0.2rem;
}

.pb-box.is-result {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

.pb-box.is-result h3 {
  color: #fff;
}

.pb-box.is-result p {
  color: rgba(248, 244, 234, 0.8);
}

.pb-op {
  position: absolute;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  background: var(--gold);
  color: var(--midnight);
  font-weight: 700;
  font-size: 1.1rem;
  inset-inline-start: 50%;
  bottom: -2.25rem;
  transform: translateX(-50%);
}

[dir='rtl'] .pb-op {
  transform: translateX(50%);
}

.pb-box:last-child .pb-op {
  display: none;
}

@media (min-width: 64rem) {
  .price-build {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr) minmax(0, 1fr);
    gap: 3rem;
  }

  .pb-op {
    inset-inline-start: auto;
    inset-inline-end: -2.6rem;
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
  }

  [dir='rtl'] .pb-op {
    transform: translateY(-50%);
  }
}

/* -- Organisation chart (team) -- */
.org {
  display: grid;
  gap: 0;
}

.org-top,
.org-base {
  justify-self: center;
  text-align: center;
  padding: 0.9rem 1.5rem;
  background: var(--navy);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  max-width: 28rem;
}

.org-base {
  background: var(--soft);
  color: var(--navy);
  border: 1px solid var(--line-strong);
  justify-self: stretch;
  max-width: none;
  font-weight: 600;
}

.org-base small {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink-3);
  margin-top: 0.15rem;
}

.org-link {
  justify-self: center;
  width: 2px;
  height: 1.75rem;
  background: var(--gold);
}

.org-lines {
  list-style: none;
  margin: 0;
  padding: 1.75rem 0 0;
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.org-lines::before {
  content: '';
  position: absolute;
  top: 0;
  left: 8.33%;
  right: 8.33%;
  height: 2px;
  background: var(--gold);
}

.org-node {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.5rem;
  padding: 1rem 0.75rem;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--navy);
  font-weight: 700;
  font-size: 0.84rem;
  line-height: 1.3;
}

.org-node .icon-box {
  width: 2.4rem;
  height: 2.4rem;
}

.org-node .ic {
  width: 1.1rem;
  height: 1.1rem;
}

.org-node small {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--ink-3);
}

.org-node::before {
  content: '';
  position: absolute;
  top: -1.75rem;
  left: 50%;
  width: 2px;
  height: 1.75rem;
  background: var(--gold);
  display: none;
}

.org-link.is-bottom {
  margin-top: 0;
}

@media (min-width: 48rem) {
  .org-lines {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 64rem) {
  .org-lines {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 0.75rem;
  }

  .org-node::before {
    display: block;
  }
}

@media (max-width: 63.99rem) {
  .org-lines::before {
    display: none;
  }

  .org-lines {
    padding-top: 0;
    margin-top: 0.75rem;
  }
}

/* -- Legal pages: "In short" summary with icons -- */
.legal-summary {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 3px solid var(--navy);
  padding: 1.5rem 1.75rem;
  margin-bottom: 2.5rem;
}

.legal-summary h2 {
  font-size: 1.05rem;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--line);
}

.legal-summary ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.9rem 1.5rem;
}

.legal-summary li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  font-size: 0.9rem;
  color: var(--ink-2);
}

.legal-summary .icon-box {
  width: 2.2rem;
  height: 2.2rem;
}

.legal-summary .ic {
  width: 1.05rem;
  height: 1.05rem;
}

.legal-summary p {
  margin: 0;
}

.legal-summary strong {
  display: block;
  color: var(--navy);
}

@media (min-width: 48rem) {
  .legal-summary ul {
    grid-template-columns: 1fr 1fr;
  }
}

/* -- Section intro paired with a diagram (two columns on wide screens) -- */
.diagram-split {
  display: grid;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 64rem) {
  .diagram-split {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 3.5rem;
  }
}

/* -- Error pages: illustration + quick links -- */
.error-art {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 5.5rem;
  height: 5.5rem;
  margin: 0 auto 1.25rem;
  background: var(--soft);
  border: 2px solid var(--gold);
  color: var(--navy);
}

.error-art .ic {
  width: 2.6rem;
  height: 2.6rem;
}

.error-links {
  list-style: none;
  margin: 2rem auto 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
  max-width: 40rem;
}

.error-links a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--navy);
  font-weight: 600;
  font-size: 0.95rem;
  text-align: start;
  box-shadow: var(--shadow-card);
}

.error-links a:hover,
.error-links a:focus-visible {
  border-color: var(--gold);
  color: var(--gold-deep);
}

.error-links .ic {
  width: 1.1rem;
  height: 1.1rem;
  color: var(--gold-deep);
  flex: none;
}

@media (min-width: 48rem) {
  .error-links {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* -- Form helpers -- */
.form-required-note {
  margin: -0.25rem 0 1.25rem;
  font-size: 0.84rem;
  color: var(--ink-3);
}

/* -- Contact: request flow sits under the forms as a calm info block -- */
.contact-flow {
  margin-top: 3rem;
  padding: 2rem;
  background: #fff;
  border: 1px solid var(--line);
}

.contact-flow h2 {
  font-size: 1.15rem;
  margin-bottom: 1.5rem;
}

/* -- About: mission & vision as two columns with a gold rule -- */
.mv-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
}

.mv-item {
  padding-inline-start: 1.25rem;
  border-inline-start: 3px solid var(--gold);
}

.mv-item h3 {
  font-size: 1.025rem;
  margin-bottom: 0.4rem;
}

.mv-item p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--ink-2);
}

@media (min-width: 48rem) {
  .mv-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

/* ---------- 32. Round 15-10-2026 b: team roster (monogram cards) ------------------------- */
/* The roster shows confirmed names and roles only. Each person gets a hexagonal monogram that echoes
   the brand emblem (navy shield, gold frame); the director card is featured, management sits in a row
   of four, specialists and support in rows of three. Facts only — no portraits, biographies or titles
   that were not confirmed. */

.tier-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--line);
}

.tier-head .tier-label {
  margin-bottom: 0;
}

.tier-count {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink-3);
  white-space: nowrap;
}

.member-grid {
  gap: 1.25rem;
}

.member-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.6rem 1.75rem;
  background: #fff;
  border: 1px solid var(--line);
  border-inline-start: 0;
  box-shadow: 0 1px 2px rgba(6, 24, 43, 0.04);
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s, border-color 0.25s;
}

.member-card::before {
  /* gold top accent, grows on hover */
  content: '';
  position: absolute;
  top: -1px;
  inset-inline-start: 2rem;
  width: 2.5rem;
  height: 3px;
  background: var(--gold);
  transition: width 0.3s var(--ease-out);
}

.member-card:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-pop);
  background: #fff;
}

.member-card:hover::before {
  width: calc(100% - 4rem);
}

/* hexagonal monogram: gold frame (outer) + navy shield (inner) */
.monogram {
  --mono: 3.75rem;
  position: relative;
  flex: none;
  width: var(--mono);
  height: calc(var(--mono) * 1.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, var(--gold-3), var(--gold) 55%, var(--gold-deep));
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}

.monogram::before {
  content: '';
  position: absolute;
  inset: 2px;
  background: linear-gradient(165deg, var(--navy-3), var(--navy) 60%, #071a33);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}

.monogram > span {
  position: relative;
  color: var(--gold-3);
  font-weight: 700;
  font-size: calc(var(--mono) * 0.3);
  letter-spacing: 0.06em;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.35);
}

.member-text {
  min-width: 0;
  align-self: stretch;
}

.member-text h4 {
  margin-bottom: 0.35rem;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}

.member-card .role {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-deep);
  line-height: 1.45;
}

html[lang='ar'] .member-card .role {
  letter-spacing: 0;
  text-transform: none;
  font-size: 0.92rem;
}

/* featured card for the director: larger monogram, larger name, watermark hexagon */
.member-grid.is-featured {
  grid-template-columns: minmax(0, 1fr);
}

.member-grid.is-featured .member-card {
  gap: 2rem;
  padding: 2.25rem 2.5rem;
  background: linear-gradient(135deg, #fff 0%, var(--soft) 100%);
  overflow: hidden;
}

.member-grid.is-featured .member-card::after {
  /* faint emblem watermark */
  content: '';
  position: absolute;
  inset-inline-end: -2.5rem;
  top: 50%;
  width: 11rem;
  height: 12.3rem;
  transform: translateY(-50%);
  background: var(--navy);
  opacity: 0.045;
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  pointer-events: none;
}

.member-grid.is-featured .monogram {
  --mono: 5.5rem;
}

.member-grid.is-featured .member-text h4 {
  font-size: var(--text-h3);
}

.member-grid.is-featured .member-card .role {
  font-size: 0.86rem;
}

@media (min-width: 48rem) {
  .member-grid:not(.is-featured) .member-card {
    flex-direction: column;
    align-items: flex-start;
    text-align: start;
    gap: 1.25rem;
    padding: 2.25rem 2rem 2rem;
  }

  .member-grid:not(.is-featured) .member-text h4 {
    padding-top: 0.7rem;
    border-top: 1px solid var(--line);
    margin-top: 0.25rem;
  }

  .member-grid.is-featured .member-card {
    padding: 3rem 3.5rem;
  }
}

@media (min-width: 64rem) {
  .member-grid.is-four {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  .member-card,
  .member-card::before {
    transition: none;
  }

  .member-card:hover {
    transform: none;
  }
}

/* ---------- 33. Round 20-10-2026: SiteLock seal, WhatsApp, office photos, content blocks -------- */
/* Bottom footer row: © text and the SiteLock Trust Seal side by side (the seal image is served live by
   SiteLock; width/height attributes reserve its box so the row never jumps). RTL-safe: logical gaps only. */
.footer-rights-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem 1.25rem;
}

.sitelock-seal {
  display: inline-flex;
  align-items: center;
  flex: none;
  padding: 0.2rem 0.25rem;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.06);
  line-height: 0;
  transition: background 0.2s ease, transform 0.2s ease;
}

.sitelock-seal:hover,
.sitelock-seal:focus-visible {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-1px);
}

.sitelock-seal img {
  display: block;
  width: auto;
  height: 2.75rem; /* 44 px: comfortable tap target, scaled from the 98×56 original */
  aspect-ratio: 98 / 56;
  border-radius: 3px;
  background: #fff;
}

/* WhatsApp Business (official glyph in WhatsApp green/white only — see includes/icons.php → brand_icon()). */
.ic-brand {
  fill: currentColor;
  stroke: none;
}

/* White button with navy text (AA contrast) and the glyph in WhatsApp green — the brand colour is used for the
   glyph only; white on WhatsApp green would fail the contrast requirement for 14 px text. */
.btn-whatsapp {
  background: #fff;
  color: var(--navy);
  border-color: #fff;
  box-shadow: 0 10px 22px -12px rgba(0, 0, 0, 0.45);
}

.btn-whatsapp:hover,
.btn-whatsapp:focus-visible {
  background: var(--soft);
  border-color: var(--soft);
  color: var(--navy);
}

.contact-block-whatsapp .btn {
  margin-top: 0.9rem;
}

.contact-block-whatsapp .btn .ic-brand {
  width: 1.1rem;
  height: 1.1rem;
}

.footer-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #fff;
  min-height: 1.5rem;
}

.footer-whatsapp:hover {
  color: var(--gold-3);
}

.footer-pobox {
  opacity: 0.85;
}

/* About page, round 4: practice cards, numbered challenges + outlook panel, optional office photos/gallery. */
.practice-grid {
  margin-top: 0.5rem;
}

.outlook-grid {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}

@media (min-width: 64rem) {
  .outlook-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 4rem;
  }
}

.challenge-list {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
}

.challenge-list li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1.1rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
}

.challenge-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.challenge-num {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1;
  color: var(--gold-deep);
  padding-top: 0.2rem;
  min-width: 2.2rem;
}

.challenge-list h3 {
  font-size: var(--text-h4);
  margin: 0 0 0.4rem;
}

.challenge-list p {
  margin: 0;
  color: var(--ink-2);
}

.future-panel {
  position: sticky;
  top: calc(var(--header-h) + 1.5rem);
  padding: 2.25rem 2rem 2rem;
  margin: 0;
  border-top: 4px solid var(--gold);
}

.future-panel h2 {
  color: #fff;
  font-size: clamp(1.4rem, 2.4vw, 1.75rem);
  margin: 0 0 0.75rem;
}

.future-intro {
  color: rgba(248, 244, 234, 0.82);
  margin-bottom: 1.5rem;
}

.future-list {
  display: grid;
  gap: 1.25rem;
}

.future-list li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.9rem;
  align-items: start;
}

.future-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 50%;
  background: var(--gold);
  color: var(--midnight);
  flex: none;
  margin-top: 0.15rem;
}

.future-list h3 {
  color: #fff;
  font-size: 1.02rem;
  margin: 0 0 0.3rem;
}

.future-list p {
  margin: 0;
  color: rgba(248, 244, 234, 0.8);
  font-size: 0.95rem;
}

.future-note {
  margin: 1.75rem 0 0;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.82rem;
  color: rgba(248, 244, 234, 0.62);
}

@media (max-width: 63.99rem) {
  .future-panel {
    position: static;
  }
}

/* Office cards: year badge, optional photo, P.O. box line */
.office-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.6rem;
}

.office-since {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-deep);
  border: 1px solid var(--gold);
  padding: 0.22rem 0.6rem;
  white-space: nowrap;
}

.office-photo {
  margin: -1.75rem -1.75rem 0.5rem; /* bleeds to the card edge, above the navy top border's content */
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--bg-soft);
}

.office-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-grid {
  display: grid;
  gap: 1.25rem;
  margin-top: 0.5rem;
}

@media (min-width: 40rem) {
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 64rem) {
  .gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
  }
}

.gallery-item figure {
  margin: 0;
  background: #fff;
  border: 1px solid var(--line);
}

.gallery-item img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.gallery-item figcaption {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.75rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
}

.gallery-item figcaption .ic {
  color: var(--gold-deep);
}

/* Home: about-the-firm band (round 4) */
.about-teaser-grid {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}

@media (min-width: 64rem) {
  .about-teaser-grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 4rem;
  }
}

.about-teaser-copy .btn {
  margin-top: 1.5rem;
}

.about-teaser-links {
  display: grid;
  gap: 1rem;
}

@media (min-width: 40rem) {
  .about-teaser-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.teaser-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  height: 100%;
  color: var(--ink);
}

.teaser-card .icon-box {
  flex: none;
}

.teaser-text {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  flex: 1;
  min-width: 0;
}

.teaser-text strong {
  color: var(--navy);
  font-size: 1.02rem;
}

.teaser-text span {
  color: var(--ink-2);
  font-size: 0.9rem;
}

.teaser-arrow {
  flex: none;
  margin-top: 0.3rem;
  color: var(--gold-deep);
  transition: transform 0.2s var(--ease-out);
}

.teaser-card:hover .teaser-arrow {
  transform: translateX(3px);
}

[dir='rtl'] .teaser-card:hover .teaser-arrow {
  transform: translateX(-3px);
}

/* Price tables keep compact rows whatever the body line-height (NL 1.8, AR 1.9). */
.price-cell .price {
  line-height: 1.5;
}

/* ---------- 34. Round 20-10-2026 b: social media icons, footer hours ------------------------ */
/* Round house-style buttons (gold hairline on navy) around the official platform glyphs, which stay white —
   the platforms allow their glyphs in white or black only; the button, not the glyph, carries the house style. */
.social-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  border: 1px solid rgba(var(--gold-rgb), 0.55);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  transition: border-color 0.2s, background 0.2s, transform 0.2s var(--ease-out);
}

.social-link .ic-brand {
  width: 1.25rem;
  height: 1.25rem;
}

/* optical balance: the Facebook circle and the Instagram square read heavier than the other glyphs */
.social-facebook .ic-brand,
.social-instagram .ic-brand {
  width: 1.15rem;
  height: 1.15rem;
}

.social-link:hover,
.social-link:focus-visible {
  border-color: var(--gold);
  background: rgba(var(--gold-rgb), 0.16);
  transform: translateY(-2px);
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  padding-inline: 1.25rem;
}

.footer-social-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-3);
}

.contact-block-social .social-links {
  margin-top: 0.9rem;
}

.contact-block-social .social-link {
  border-color: rgba(var(--gold-rgb), 0.5);
}

.footer-hours {
  white-space: normal;
}

/* ---------- 30. Print ---------------------------------------------- */
@media print {
  .site-header,
  .mobile-menu,
  .to-top,
  .consent-banner,
  .consent-modal,
  .cta,
  .footer-cta,
  .software-strip {
    display: none !important;
  }

  body {
    color: #000;
    background: #fff;
    font-size: 11pt;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }

  a[href^='http']::after {
    content: ' (' attr(href) ')';
    font-size: 0.8em;
  }

  .site-footer {
    background: #fff;
    color: #000;
  }
}
