/* =========================================================
   dotweb — performance agency
   ========================================================= */

/* ---------- Fonts (self-hosted, OFL) ---------- */
@font-face {
  font-family: "Schibsted Grotesk";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("../fonts/schibsted-grotesk-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Schibsted Grotesk";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("../fonts/schibsted-grotesk-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Cairo";
  font-style: normal;
  font-weight: 200 1000;
  font-display: swap;
  src: url("../fonts/cairo-arabic.woff2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}

@font-face {
  font-family: "Cairo";
  font-style: normal;
  font-weight: 200 1000;
  font-display: swap;
  src: url("../fonts/cairo-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* only the letters of "العربية", for the language link on English pages */
@font-face {
  font-family: "Cairo Label";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/cairo-label.woff2") format("woff2");
}


:root {
  --navy: #132251;
  --navy-900: #0a1434;
  --navy-700: #1b2d66;
  --orange: #fd6301;
  /* orange for text on light grounds: 4.6:1 on --bg, 5:1 on white */
  --orange-ink: #bd4b00;
  --orange-100: #fdeee3;

  --ink: #0f1a3d;
  --muted: #4f5878;
  --bg: #f7f6f3;
  --surface: #ffffff;
  --line: rgba(19, 34, 81, 0.12);
  --line-strong: rgba(19, 34, 81, 0.28);

  --font: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;

  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 14px;

  --shadow: 0 18px 40px -24px rgba(19, 34, 81, 0.35);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  --container: 1280px;
  --header-h: 80px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  -webkit-text-size-adjust: 100%;
  scrollbar-color: var(--navy) var(--bg);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  caret-color: var(--orange-ink);
}

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

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

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

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--navy);
  text-wrap: balance;
}

p {
  margin: 0;
  text-wrap: pretty;
}

figure {
  margin: 0;
}

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

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

:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
  border-radius: 2px;
}

em {
  font-style: normal;
  color: var(--orange-ink);
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

.section {
  padding: clamp(80px, 10vw, 140px) 0;
}

/* ---------- Scroll progress ---------- */
.scroll-progress {
  position: fixed;
  inset: 0 0 auto 0;
  height: 2px;
  z-index: 200;
  background: var(--orange);
  transform-origin: 0 50%;
  transform: scaleX(0);
}

/* ---------- Buttons ---------- */
.btn {
  --pad-y: 14px;
  --pad-x: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: var(--pad-y) var(--pad-x);
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.005em;
  transition: background-color .25s, color .25s, border-color .25s;
  white-space: nowrap;
}

.btn svg {
  transition: transform .3s var(--ease);
}

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

.btn--sm {
  --pad-y: 10px;
  --pad-x: 16px;
  font-size: 15px;
}


.btn--block {
  width: 100%;
}

/* navy on orange: 5.2:1 */
.btn--primary {
  background: var(--orange);
  color: #fff;
}

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

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

.btn--ghost {
  color: var(--navy);
  border: 1.5px solid var(--line-strong);
  background: transparent;
}

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

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--navy);
  text-decoration: underline;
  text-decoration-color: var(--orange);
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}

.link-arrow span {
  transition: transform .3s var(--ease);
}

.link-arrow:hover span {
  transform: translateX(4px);
}

/* ---------- Header ---------- */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: transform .45s var(--ease), background-color .3s, box-shadow .3s, height .3s var(--ease);
}

.header.is-scrolled {
  --header-h: 68px;
  background: var(--bg);
  box-shadow: 0 1px 0 var(--line);
}

.header.is-hidden {
  transform: translateY(-100%);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.header__logo img {
  height: 44px;
  width: auto;
  transition: height .3s var(--ease);
}

.header.is-scrolled .header__logo img {
  height: 38px;
}

.nav__list {
  display: flex;
  gap: 32px;
}

.nav__link {
  display: block;
  padding: 6px 0;
  font-size: 15px;
  font-weight: 500;
  color: var(--navy);
  border-bottom: 2px solid transparent;
  transition: border-color .25s;
}

.nav__link:hover {
  border-color: var(--line-strong);
}

.nav__link.is-active {
  border-color: var(--orange);
}

.header__cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.burger {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--navy);
  position: relative;
}

.burger span {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 2px;
  background: #fff;
  transition: transform .35s var(--ease), top .35s var(--ease);
}

.burger span:first-child {
  top: 17px;
}

.burger span:last-child {
  top: 25px;
}

.burger[aria-expanded="true"] span:first-child {
  top: 21px;
  transform: rotate(45deg);
}

.burger[aria-expanded="true"] span:last-child {
  top: 21px;
  transform: rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: var(--navy);
  display: flex;
  align-items: center;
  padding: 100px 24px 40px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s var(--ease), visibility .35s;
}

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

.mobile-menu ul {
  display: grid;
  gap: 4px;
  width: 100%;
}

.mobile-menu a {
  display: block;
  font-weight: 700;
  font-size: clamp(30px, 8vw, 44px);
  color: #fff;
  letter-spacing: -0.025em;
  padding: 4px 0;
}

.mobile-menu a:hover {
  color: var(--orange);
}

.mobile-menu__cta {
  color: var(--orange) !important;
}

body.menu-open .header {
  background: transparent;
  box-shadow: none;
}

body.menu-open .header__logo img {
  filter: brightness(0) invert(1);
}

body.menu-open .header .btn {
  opacity: 0;
  pointer-events: none;
}

body.menu-open .burger {
  background: var(--orange);
}

/* ---------- Section titles ---------- */
.section-title {
  font-size: clamp(30px, 3.8vw, 48px);
  font-weight: 800;
  max-width: 17ch;
}

.section-title--center {
  text-align: center;
  margin: 0 auto;
  max-width: 22ch;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}

.section-head__aside {
  max-width: 380px;
  color: var(--muted);
  font-size: 16px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  padding: calc(var(--header-h) + 56px) 0 88px;
  display: flex;
  align-items: center;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero__title {
  font-size: clamp(40px, 4.6vw, 68px);
  font-weight: 500;
  line-height: .96;
  letter-spacing: -0.035em;
  margin-bottom: 28px;
}

.hero__title em {
  color: inherit;
  font-weight: 900;
}

.hero__title .line {
  display: block;
  overflow: hidden;
  padding-bottom: .06em;
}

.hero__lead {
  font-size: 16px;
  color: var(--muted);
  max-width: 34em;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 0;
  margin-top: 40px;
  font-size: 14px;
  color: var(--muted);
}

.hero__facts li:not(:last-child)::after {
  content: "/";
  margin: 0 12px;
  color: var(--line-strong);
}

.hero__image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 4.6;
  background: var(--navy);
}

.hero__image picture,
.process__img picture {
  display: block;
  height: 100%;
}

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

.hero__caption {
  display: flex;
  gap: 12px;
  align-items: baseline;
  margin-top: 14px;
  font-size: 14px;
  color: var(--muted);
}

.hero__caption::before {
  content: "";
  flex: none;
  width: 24px;
  height: 2px;
  background: var(--orange);
  transform: translateY(-4px);
}

/* hero entrance: the page's one authored motion. Content stays visible without JS. */
.js .hero-anim {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
  transition-delay: calc(var(--d, 0) * 80ms + 120ms);
}

.js .hero-word {
  display: inline-block;
  transform: translateY(105%);
  transition: transform .9s var(--ease);
  transition-delay: calc(var(--d, 0) * 70ms + 120ms);
}

.js.is-loaded .hero-anim {
  opacity: 1;
  transform: none;
}

.js.is-loaded .hero-word {
  transform: none;
}

/* the hero image is the largest element on screen: it rises in but never fades,
   so it paints as soon as it has loaded */
.js .hero__visual.hero-anim {
  opacity: 1;
}

/* ---------- Services ---------- */
.services {
  background: var(--surface);
  padding: clamp(56px, 6vw, 88px) 0;
}

.svc {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.svc h3 {
  font-weight: 700;
  margin-bottom: 12px;
}

.svc p {
  font-size: 15px;
}

/* main services: same size, same structure */
.svc__main {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 48px;
  min-height: 320px;
  padding: 40px;
  border-radius: var(--radius-lg);
  color: #fff;
}

.svc__main h3 {
  color: #fff;
  font-size: clamp(24px, 2.3vw, 32px);
}

.svc__main p {
  max-width: 46ch;
  color: rgba(255, 255, 255, .85);
}

.svc__main--web {
  background: var(--navy);
}

.svc__main--perf {
  background: var(--orange);
}

.svc__main--perf p {
  color: #fff;
}

.svc__head {
  display: flex;
  gap: 20px;
}

.svc__main .svc__icon {
  stroke: #fff;
}

.svc__list {
  margin-inline-start: 48px;
  max-width: none !important;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .25);
  font-size: 14px !important;
  font-weight: 500;
}

/* secondary services: compact, icon beside text */
.svc__item {
  display: flex;
  gap: 20px;
  padding: 32px 40px;
  border-radius: var(--radius-lg);
  background: var(--bg);
  border: 1px solid var(--line);
}

.svc__item h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

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

.svc__icon {
  flex: none;
  width: 28px;
  height: 28px;
  margin-top: 2px;
  fill: none;
  stroke: var(--orange-ink);
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.svc__cta {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 32px 40px;
  border-radius: var(--radius-lg);
  background: var(--orange-100);
  border: 1px solid rgba(189, 75, 0, .2);
}

.svc__cta h3 {
  font-size: 22px;
  margin-bottom: 6px;
}

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

.svc__cta .btn {
  flex: none;
}

/* ---------- Stats ---------- */
.stats {
  background: var(--navy);
  color: #fff;
  padding: 44px 0;
}

.stats__inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.stat {
  border-inline-start: 1px solid rgba(255, 255, 255, .18);
  padding-inline-start: 64px;
}

.stat:first-child {
  border-inline-start: 0;
  padding-inline-start: 0;
}

.stat__num {
  font-weight: 800;
  font-size: clamp(36px, 4vw, 56px);
  letter-spacing: -0.035em;
  line-height: 1;
}

.stat:nth-child(odd) .stat__num {
  color: var(--orange);
}

.stat p {
  margin-top: 12px;
  color: rgba(255, 255, 255, .72);
  font-size: 15px;
}

/* ---------- Process ---------- */
.process__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.process__sticky {
  position: sticky;
  top: 110px;
}

.process__lead {
  color: var(--muted);
  font-size: 16px;
  margin-top: 24px;
  max-width: 460px;
}

.process__img {
  margin-top: 40px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

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

.steps {
  display: grid;
}

.step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 24px;
  padding: 32px 0;
  border-top: 1px solid var(--line);
}

.step:last-child {
  border-bottom: 1px solid var(--line);
}

.step__num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1.5px solid var(--line-strong);
  font-weight: 800;
  font-size: 18px;
  color: var(--navy);
  transition: background-color .4s, border-color .4s;
}

.step.is-current .step__num {
  background: var(--orange);
  border-color: var(--orange);
    color: #fff;

}

.step h3 {
  font-size: 22px;
  font-weight: 700;
  margin: 12px 0 10px;
}

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

.step__meta {
  display: inline-block;
  margin-top: 14px;
  font-size: 14px;
  font-weight: 700;
  color: var(--orange-ink);
}

/* ---------- Work ---------- */
.work {
  background: var(--surface);
}

.work__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 56px 28px;
}

.case__media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: block;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--line);
  background: var(--bg);
}

.case__media picture {
  display: block;
  height: 100%;
}

.case__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease);
}

.case:hover .case__media img {
  transform: scale(1.03);
}

.case__info {
  padding-top: 22px;
}

.case__metric {
  font-size: 15px;
  color: var(--muted);
}

.case__metric strong {
  font-size: 19px;
  font-weight: 800;
  color: var(--orange-ink);
  margin-inline-end: 4px;
}

.case h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 6px 0 8px;
}

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

.case__tags {
  margin-top: 12px;
  font-size: 14px;
}

/* ---------- Testimonials ---------- */
.slider {
  max-width: 860px;
  margin: 56px auto 0;
  text-align: center;
}

.slider__track {
  display: grid;
}

.quote {
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
  transition: opacity .5s var(--ease), visibility .5s;
}

.quote.is-active {
  opacity: 1;
  visibility: visible;
}

.quote blockquote {
  margin: 0;
  font-size: clamp(18px, 1.8vw, 22px);
  font-weight: 500;
  line-height: 1.32;
  letter-spacing: -0.015em;
  color: var(--navy);
}

.quote figcaption {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 32px;
  text-align: start;
}

.quote__avatar {
  flex: none;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--navy);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .02em;
}

.quote figcaption strong {
  display: block;
  color: var(--navy);
}

.quote figcaption span {
  font-size: 14px;
  color: var(--muted);
}

.slider__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

.slider__btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1.5px solid var(--line-strong);
  display: grid;
  place-items: center;
  color: var(--navy);
  transition: background-color .25s, color .25s, border-color .25s;
}

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

.slider__count {
  min-width: 4ch;
  font-size: 15px;
  font-weight: 600;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.platforms {
  margin: 88px auto 0;
  padding-top: 36px;
  border-top: 1px solid var(--line);
  max-width: 860px;
  text-align: center;
  color: var(--muted);
  font-size: 15px;
}

.platforms span {
  color: var(--navy);
  font-weight: 700;
}

/* ---------- FAQ ---------- */
.faq {
  background: var(--surface);
}

.faq__inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}

.faq__lead {
  color: var(--muted);
  margin-top: 24px;
  font-size: 16px;
  max-width: 360px;
}

.faq__lead a {
  color: var(--orange-ink);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 4px;
}

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

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

.acc summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 24px 0;
  font-size: 17px;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -0.01em;
}

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

.acc summary:hover {
  color: var(--navy-700);
}

.acc__icon {
  flex: none;
  position: relative;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1.5px solid var(--line-strong);
  transition: background-color .3s, border-color .3s;
}

.acc__icon::before,
.acc__icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 11px;
  height: 2px;
  margin: -1px 0 0 -5.5px;
  background: var(--navy);
  transition: transform .35s var(--ease);
}

.acc__icon::after {
  transform: rotate(90deg);
}

.acc[open] .acc__icon {
  background: var(--orange);
  border-color: var(--orange);
}

.acc[open] .acc__icon::after {
  transform: rotate(0);
}

.acc__body {
  padding: 0 0 26px;
  padding-inline-end: 48px;
  color: var(--muted);
}

/* ---------- Contact ---------- */
.contact {
  background: var(--navy);
  color: #fff;
  padding: clamp(90px, 10vw, 140px) 0;
}

.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 80px;
  align-items: start;
}

.contact__title {
  color: #fff;
  font-size: clamp(34px, 4.2vw, 56px);
  font-weight: 800;
  letter-spacing: -0.035em;
}

.contact__title em {
  color: var(--orange);
}

.contact__lead {
  color: rgba(255, 255, 255, .78);
  font-size: 16px;
  margin-top: 24px;
  max-width: 460px;
}

.contact__list {
  margin-top: 40px;
  display: grid;
  gap: 14px;
}

.contact__list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
}

.contact__list a {
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, .35);
  text-underline-offset: 5px;
}

.contact__list a:hover {
  text-decoration-color: var(--orange);
}

.contact__icon {
  flex: none;
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--orange);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.form {
  background: var(--surface);
  color: var(--ink);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3.5vw, 40px);
  display: grid;
  gap: 18px;
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.field {
  display: grid;
  gap: 8px;
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
}

.field>span,
.field legend {
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  padding: 0;
}

.field legend {
  margin-bottom: 8px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  font-size: 16px;
  color: var(--ink);
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  border: 1.5px solid #d9dce6;
  background: var(--surface);
  transition: border-color .2s, box-shadow .2s;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #6b7390;
}

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

.field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%23132251' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
  padding-right: 44px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(253, 99, 1, .35);
}

.field input.is-invalid {
  border-color: #c4253d;
}

.choice-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.choice {
  position: relative;
}

.choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.choice span {
  display: inline-block;
  padding: 7px 12px;
  border-radius: var(--radius-sm);
  border: 1.5px solid #d9dce6;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color .2s, border-color .2s, color .2s;
}

.choice span:hover {
  border-color: var(--navy);
}

.choice input:checked+span {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

.choice input:focus-visible+span {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}

/* honeypot: invisible to people, filled in by spam bots */
.form__trap {
  display: none;
}

.form button[type="submit"]:disabled {
  opacity: .6;
  cursor: progress;
}

.form__status {
  font-size: 15px;
  font-weight: 500;
  text-align: center;
  min-height: 1.4em;
}

.form__status.is-success {
  color: #0b7a45;
}

.form__status.is-error {
  color: #c4253d;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--navy-900);
  color: rgba(255, 255, 255, .72);
  padding: 64px 0 32px;
  font-size: 15px;
}

.footer__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  flex-wrap: wrap;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.footer__logo {
  display: inline-block;
}

.footer__brand img {
  width: 170px;
  height: auto;
}

.footer__brand p {
  margin-top: 16px;
}

.footer__nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 32px;
}

.footer__nav a {
  color: #fff;
  font-weight: 500;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px 28px;
  flex-wrap: wrap;
  padding-top: 24px;
  font-size: 14px;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 28px;
}

/* at least 24px tall, so they're easy to tap */
.footer__links a {
  padding-block: 4px;
}

.footer__social {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer__social svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
}

.footer__nav a:hover,
.footer__links a:hover {
  color: #fff;
  text-decoration: underline;
  text-decoration-color: var(--orange);
  text-underline-offset: 5px;
}

/* ---------- Privacy policy ---------- */
.legal {
  padding: calc(var(--header-h) + 56px) 0 96px;
}

.legal__inner {
  max-width: 760px;
}

.legal__back {
  margin-bottom: 32px;
  font-size: 15px;
}

.legal h1 {
  font-size: clamp(34px, 4.2vw, 52px);
  font-weight: 800;
}

.legal__updated {
  margin-top: 12px;
  font-size: 14px;
  color: var(--muted);
}

.legal__intro {
  margin-top: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
  font-size: 16px;
  color: var(--ink);
}

.legal h2 {
  margin: 40px 0 12px;
  font-size: 21px;
  font-weight: 700;
}

.legal p,
.legal li {
  font-size: 16px;
  color: var(--muted);
}

.legal p + p {
  margin-top: 12px;
}

.legal ul {
  display: grid;
  gap: 8px;
  margin: 12px 0;
  padding-inline-start: 20px;
  list-style: disc;
}

.legal li::marker {
  color: var(--orange-ink);
}

.legal strong {
  color: var(--navy);
}

.legal a:not(.link-arrow) {
  color: var(--navy);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--orange);
  text-underline-offset: 4px;
}

.footer__bottom--solo {
  padding-top: 0;
}

.form__note {
  font-size: 13px;
  color: var(--muted);
  text-align: center;
}

.form__note a {
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer__privacy:hover {
  color: #fff;
}

/* ---------- Blog ---------- */
.blog,
.article {
  padding-top: calc(var(--header-h) + 56px);
}

.blog {
  padding-bottom: 120px;
}

.blog__head {
  padding-bottom: 48px;
  border-bottom: 1px solid var(--line);
}

.blog__title {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 800;
  max-width: 16ch;
}

.blog__intro {
  margin-top: 20px;
  max-width: 52ch;
  font-size: 18px;
  color: var(--muted);
}

.blog__empty {
  padding: 48px 0;
  color: var(--muted);
}

/* category filter + search, same pill and field styles as the contact form */
.blog-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.blog-tools[hidden],
.post-card[hidden] {
  display: none;
}

.blog-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.blog-filter__btn {
  padding: 7px 14px;
  border: 1.5px solid #d9dce6;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--navy);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color .2s, border-color .2s, color .2s;
}

.blog-filter__btn:hover {
  border-color: var(--navy);
}

.blog-filter__btn[aria-pressed="true"] {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

.blog-search {
  position: relative;
  display: flex;
  align-items: center;
  flex: 0 1 300px;
  color: var(--muted);
}

.blog-search svg {
  position: absolute;
  inset-inline-start: 12px;
  pointer-events: none;
}

.blog-search input {
  width: 100%;
  padding: 10px 12px;
  padding-inline-start: 40px;
  border: 1.5px solid #d9dce6;
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-size: 16px;
}

.blog-search input::placeholder {
  color: #6b7390;
}

.blog-search input:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(253, 99, 1, .35);
}

.post-card__category,
.article__category {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--orange-ink);
}

.article__category {
  display: inline-block;
  margin-bottom: 12px;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 4px;
  transition: text-decoration-color .2s;
}

.article__category:hover {
  text-decoration-color: currentColor;
}

/* one row per article: optional cover | category, date, title, excerpt */
.post-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: 16px 40px;
  padding: 40px 0;
  border-bottom: 1px solid var(--line);
}

.post-card--cover {
  grid-template-columns: 320px minmax(0, 1fr);
}

.post-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 10px;
  font-size: 14px;
  color: var(--muted);
}

/* "Branding · 22 October 2026 · 4 min read" */
.post-card__meta > :not(:first-child)::before {
  content: "·";
  margin-inline: 8px;
  color: var(--line-strong);
}

.post-card__title {
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 800;
  line-height: 1.15;
}

/* the whole row is clickable through the title link */
.post-card__title a::after {
  content: "";
  position: absolute;
  inset: 0;
}

.post-card:hover .post-card__title a {
  text-decoration: underline;
  text-decoration-color: var(--orange);
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}

.post-card__desc {
  margin-top: 12px;
  color: var(--muted);
}

.post-card .link-arrow {
  margin-top: 20px;
}

.post-card:hover .link-arrow span {
  transform: translateX(4px);
}

.post-card__media {
  display: block;
}

.post-card__cover {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--radius);
}

.article__inner {
  max-width: 760px;
}

.article__back {
  margin-bottom: 32px;
  font-size: 15px;
}

.article__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--muted);
}

.article__title {
  margin-top: 12px;
  font-size: clamp(34px, 4.6vw, 56px);
  font-weight: 800;
}

.article__lead {
  margin-top: 20px;
  font-size: 19px;
  color: var(--muted);
}

.article__translation {
  margin-top: 16px;
  font-size: 15px;
}

.article__translation a {
  color: var(--navy);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--orange);
  text-underline-offset: 4px;
}

.article__translation a:lang(ar) {
  font-family: "Cairo", Tahoma, sans-serif;
}

.article__translation a:lang(en) {
  font-family: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
}

.article__cover {
  margin: 40px 0 0;
}

.article__cover img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
}

.article__credit {
  margin-top: 8px;
  font-size: 13px;
  color: var(--muted);
}

/* article body, written in Markdown */
.prose {
  margin-top: 40px;
  padding: 40px 0 96px;
  border-top: 1px solid var(--line);
  font-size: 18px;
  line-height: 1.7;
}

.prose > * + * {
  margin-top: 20px;
}

.prose h2 {
  margin-top: 56px;
  font-size: clamp(24px, 2.6vw, 30px);
  font-weight: 800;
  line-height: 1.15;
}

.prose h3 {
  margin-top: 40px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.25;
}

.prose h2 + *,
.prose h3 + * {
  margin-top: 12px;
}

.prose ul,
.prose ol {
  display: grid;
  gap: 8px;
  padding-inline-start: 24px;
}

.prose ul {
  list-style: disc;
}

.prose ol {
  list-style: decimal;
}

.prose li::marker {
  color: var(--orange-ink);
}

.prose a {
  color: var(--navy);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--orange);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.prose a:hover {
  text-decoration-color: var(--navy);
}

.prose strong {
  color: var(--navy);
}

/* pull quote: a large opening quotation mark above the text */
.prose blockquote {
  position: relative;
  margin: 48px 0 40px;
  padding-top: 30px;
  font-size: clamp(20px, 2.2vw, 24px);
  font-weight: 700;
  line-height: 1.4;
  color: var(--navy);
  text-wrap: balance;
}

.prose blockquote::before {
  content: "\201C";
  position: absolute;
  top: -12px;
  inset-inline-start: -4px;
  font-size: 80px;
  font-weight: 800;
  line-height: 1;
  color: var(--orange);
}

[dir="rtl"] .prose blockquote::before {
  content: "\00AB";
  top: -4px;
  font-size: 60px;
}

.prose img {
  height: auto;
  margin: 32px 0;
  border-radius: var(--radius);
}

.prose hr {
  margin: 48px 0;
  border: 0;
  border-top: 1px solid var(--line);
}

.prose code {
  padding: 2px 6px;
  border-radius: 4px;
  background: var(--orange-100);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .85em;
}

.prose pre {
  padding: 20px;
  border-radius: var(--radius);
  overflow-x: auto;
  font-size: 15px;
}

.prose pre code {
  padding: 0;
  background: none;
  font-size: inherit;
}

.prose table {
  display: block;
  overflow-x: auto;
  border-collapse: collapse;
  font-size: 16px;
}

.prose th,
.prose td {
  padding: 10px 16px 10px 0;
  border-bottom: 1px solid var(--line);
  text-align: start;
}

.prose th {
  color: var(--navy);
}

.article-cta {
  padding: clamp(64px, 8vw, 104px) 0;
  background: var(--navy);
  color: rgba(255, 255, 255, .8);
}

.article-cta__inner {
  max-width: 760px;
}

.article-cta__title {
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 800;
  color: #fff;
}

.article-cta__lead {
  margin-top: 16px;
  max-width: 52ch;
}

.article-cta .btn {
  margin-top: 32px;
}

.article-cta .btn--primary:hover {
  background: #fff;
  color: var(--navy);
}

[dir="rtl"] .prose {
  line-height: 1.9;
}

[dir="rtl"] .prose th,
[dir="rtl"] .prose td {
  padding: 10px 0 10px 16px;
}

[dir="rtl"] .post-card:hover .link-arrow span {
  transform: scaleX(-1) translateX(4px);
}

@media (max-width: 760px) {
  /* photo on top, text below */
  .post-card,
  .post-card--cover {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    padding: 32px 0;
  }

  .blog-search {
    flex-basis: 100%;
  }

  .prose {
    font-size: 17px;
  }
}

/* ---------- 404 ---------- */
.notfound {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
}

.notfound__inner {
  padding-top: 48px;
  padding-bottom: 48px;
}

.notfound__logo img {
  height: 40px;
  width: auto;
}

.notfound__code {
  margin: 48px 0 8px;
  font-size: clamp(96px, 16vw, 200px);
  font-weight: 900;
  line-height: .9;
  letter-spacing: -0.04em;
  color: var(--navy);
}

.notfound__langs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.notfound__msg h1,
.notfound__msg h2 {
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 800;
  margin-bottom: 12px;
}

.notfound__msg p {
  color: var(--muted);
  margin-bottom: 24px;
  max-width: 40ch;
}

@media (max-width: 760px) {
  .notfound__langs {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* ---------- Language switch ---------- */
.lang-switch {
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  padding: 6px 4px;
  border-bottom: 2px solid transparent;
  transition: border-color .25s;
}

.lang-switch:hover {
  border-color: var(--orange);
}

/* each language link is set in its own script's face */
.lang-switch:lang(ar),
.mobile-menu__lang:lang(ar),
.footer__lang:lang(ar) {
  font-family: "Cairo Label", "Cairo", Tahoma, sans-serif;
}

.lang-switch:lang(en),
.mobile-menu__lang:lang(en),
.footer__lang:lang(en) {
  font-family: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
}

.mobile-menu__lang {
  font-size: clamp(20px, 5vw, 26px) !important;
  font-weight: 500 !important;
  color: rgba(255, 255, 255, .72) !important;
  margin-top: 16px;
}

/* ---------- Arabic / right-to-left ---------- */
[dir="rtl"] {
  --font: "Cairo", "Schibsted Grotesk", Tahoma, sans-serif;
}

/* Arabic letters join, so tracking must stay at zero everywhere */
[dir="rtl"] *,
[dir="rtl"] h1,
[dir="rtl"] h2,
[dir="rtl"] h3 {
  letter-spacing: 0 !important;
}

[dir="rtl"] body {
  line-height: 1.8;
}

[dir="rtl"] h1,
[dir="rtl"] h2,
[dir="rtl"] h3 {
  line-height: 1.3;
}

[dir="rtl"] .hero__title {
  line-height: 1.25;
}

/* arrows point the reading direction */
[dir="rtl"] .btn svg,
[dir="rtl"] .slider__btn svg,
[dir="rtl"] .link-arrow span {
  transform: scaleX(-1);
}

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

[dir="rtl"] .link-arrow:hover span {
  transform: scaleX(-1) translateX(4px);
}

[dir="rtl"] .scroll-progress {
  transform-origin: 100% 50%;
}

/* latin-only fields stay left-to-right but sit on the reading side */
[dir="rtl"] input[dir="ltr"] {
  text-align: right;
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  :root {
    --header-h: 72px;
  }

  .nav {
    display: none;
  }

  .burger {
    display: block;
  }

  .header__logo img {
    height: 38px;
  }

  .hero {
    min-height: 0;
    padding-top: calc(var(--header-h) + 40px);
  }

  .hero__inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero__visual {
    max-width: 560px;
  }

  .hero__image {
    aspect-ratio: 4 / 3;
  }

  .stats__inner {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 48px;
  }

  .process__inner,
  .faq__inner,
  .contact__inner {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .process__sticky {
    position: static;
  }

  .work__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .footer__top {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer__nav ul {
    gap: 12px 24px;
  }

  .footer__bottom {
    flex-direction: column-reverse;
    align-items: flex-start;
  }

  .svc {
    grid-template-columns: 1fr;
  }

  .svc__main {
    min-height: 0;
    padding: 28px 24px;
  }

  .svc__item,
  .svc__cta {
    padding: 24px;
  }

  .svc__cta {
    flex-direction: column;
    align-items: flex-start;
  }

  body {
    font-size: 15px;
  }

  .container {
    padding: 0 16px;
  }

  .header__cta .btn {
    display: none;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .hero__facts {
    flex-direction: column;
  }

  .hero__facts li:not(:last-child)::after {
    content: none;
  }

  .stats__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .stat {
    border-inline-start: 0;
    padding-inline-start: 0;
  }

  .step {
    grid-template-columns: 44px 1fr;
    gap: 16px;
    padding: 24px 0;
  }

  .step__num {
    width: 44px;
    height: 44px;
    font-size: 16px;
  }

  .step h3 {
    font-size: 20px;
    margin-top: 8px;
  }

  .form__row {
    grid-template-columns: 1fr;
  }

  .acc summary {
    font-size: 16px;
  }

  .acc__body {
    padding-inline-end: 0;
  }

  .section-head {
    margin-bottom: 40px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    transition-delay: 0s !important;
  }

  .js .hero-anim,
  .js .hero-word {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Cookie consent ---------- */
.consent {
  position: fixed;
  inset-inline-start: 24px;
  bottom: 24px;
  z-index: 150;
  width: min(420px, calc(100% - 32px));
  padding: 22px 24px;
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow), 0 2px 8px rgba(19, 34, 81, 0.08);
  animation: consent-in .5s var(--ease) both;
}

.consent__title {
  font-weight: 800;
  font-size: 17px;
  color: var(--navy);
  margin-bottom: 6px;
}

.consent__body {
  font-size: 15px;
  line-height: 1.5;
  color: var(--muted);
  margin-bottom: 18px;
}

.consent__body a {
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.consent__actions {
  display: flex;
  gap: 10px;
}

.consent__actions .btn {
  flex: 1;
}

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

@media (max-width: 560px) {
  .consent {
    inset-inline-start: 16px;
    bottom: 16px;
    padding: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .consent { animation: none; }
}

/* ---------- Screen readers and keyboard ---------- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 12px;
  inset-inline-start: 12px;
  z-index: 300;
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  background: var(--navy);
  color: #fff;
  font-weight: 700;
  transform: translateY(-200%);
}

.skip-link:focus {
  transform: none;
}

/* live PageSpeed proof under the stats */
.stats__proof {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .18);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  font-size: 15px;
  color: rgba(255, 255, 255, .72);
}

.stats__proof strong {
  color: #fff;
}

.stats__proof a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-block: 4px;
  font-weight: 700;
  color: #fff;
  text-decoration: underline;
  text-decoration-color: var(--orange);
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}

.stats__proof a:hover {
  color: var(--orange);
}

[dir="rtl"] .stats__proof svg {
  transform: scaleX(-1);
}

.stats__proof bdi {
  white-space: nowrap;
}

/* ---------- Homepage: link from the two main service cards to their pages ---------- */
.svc__more {
  align-self: flex-start;
  margin: -28px 0 0;
  margin-inline-start: 48px;
  padding: 6px 0;
  color: #fff;
  font-size: 15px;
  text-decoration-color: rgba(255, 255, 255, .6);
}

.svc__more:hover {
  text-decoration-color: #fff;
}

/* ---------- Service pages and services hub ---------- */
.svcp {
  padding-top: calc(var(--header-h) + 56px);
}

.svcp__head {
  padding-bottom: clamp(56px, 7vw, 96px);
}

.svcp__back {
  margin-bottom: 32px;
  font-size: 15px;
}

.svcp__title {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 800;
  max-width: 18ch;
  letter-spacing: -0.02em;
}

.svcp__lead {
  margin-top: 24px;
  max-width: 60ch;
  font-size: clamp(17px, 1.5vw, 19px);
  color: var(--muted);
}

.svcp__h2 {
  font-size: clamp(26px, 2.8vw, 36px);
  font-weight: 800;
  letter-spacing: -0.015em;
  color: var(--navy);
}

.svcp__intro {
  margin-top: 16px;
  color: var(--muted);
  max-width: 56ch;
}

.svcp__more {
  margin-top: 28px;
}

/* hub: service cards */
.svcp__included {
  background: var(--surface);
}

.svcp__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.svcp__grid--hub {
  margin-top: 48px;
}

.svcp__card {
  position: relative;
  padding: 32px;
  border-radius: var(--radius-lg);
  background: var(--bg);
  border: 1px solid var(--line);
}

.svcp__card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}

.svcp__card p {
  color: var(--muted);
  font-size: 15px;
}

/* the whole card is clickable when the service has its own page */
.svcp__card--link h3 a::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
}

.svcp__card--link {
  transition: border-color .3s, box-shadow .3s;
}

.svcp__card--link:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
}

.svcp__card--link:hover .link-arrow span {
  transform: translateX(4px);
}

[dir="rtl"] .svcp__card--link:hover .link-arrow span {
  transform: scaleX(-1) translateX(4px);
}

.svcp__card .link-arrow {
  margin-top: 20px;
  font-size: 15px;
}

.svcp__tags {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 13px !important;
  font-weight: 600;
  color: var(--navy) !important;
}

.svcp__split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

/* ---------- Service page (sx-) ---------- */
.sx-eyebrow {
  margin-bottom: 16px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--orange-ink);
}

[dir="rtl"] .sx-eyebrow {
  letter-spacing: 0;
  font-size: 15px;
}

/* intro: text + navy "at a glance" card */
.sx-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: end;
  padding-bottom: clamp(64px, 8vw, 112px);
}

.sx-glance {
  position: relative;
  overflow: hidden;
  padding: 40px;
  border-radius: var(--radius-lg);
  background: var(--navy);
  color: rgba(255, 255, 255, .86);
}

/* a quiet nod to the logo's dot */
.sx-glance::before {
  content: "";
  position: absolute;
  inset-inline-end: -60px;
  top: -60px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  border: 28px solid var(--orange);
  opacity: .9;
}

.sx-glance__label {
  position: relative;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .6);
}

[dir="rtl"] .sx-glance__label {
  letter-spacing: 0;
}

.sx-glance__facts {
  position: relative;
  display: grid;
  gap: 14px;
  margin: 20px 0 36px;
  font-size: 17px;
  font-weight: 600;
  color: #fff;
}

.sx-glance__facts li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.sx-tick {
  flex: none;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  margin-top: 1px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
}

.sx-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.sx-chips li {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .28);
  font-size: 14px;
  font-weight: 600;
  color: #fff;
}

/* what's included: numbered editorial list */
.sx-included {
  background: var(--surface);
}

.sx-included__head {
  max-width: 760px;
  margin-bottom: 56px;
}

.sx-numbered {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 80px;
}

.sx-numbered li {
  display: grid;
  grid-template-columns: 64px 1fr;
  column-gap: 16px;
  padding: 32px 0;
  border-top: 1px solid var(--line);
}

.sx-numbered__num {
  grid-row: span 2;
  font-size: 34px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--orange);
  font-variant-numeric: tabular-nums;
}

.sx-numbered h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.sx-numbered p {
  color: var(--muted);
}

.sx-platforms {
  margin-top: 40px;
  padding: 20px 24px;
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--muted);
  font-size: 15px;
}

.sx-platforms strong {
  color: var(--navy);
}

/* process: horizontal timeline */
.sx-process__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 64px;
}

.sx-timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

/* the line behind the numbered dots */
.sx-timeline::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: 58px;
  height: 2px;
  background: linear-gradient(to right, var(--orange) 0 25%, var(--line-strong) 25% 100%);
}

[dir="rtl"] .sx-timeline::before {
  background: linear-gradient(to left, var(--orange) 0 25%, var(--line-strong) 25% 100%);
}

.sx-timeline li {
  position: relative;
}

.sx-timeline__meta {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--orange-100);
  font-size: 13px;
  font-weight: 700;
  color: var(--orange-ink);
}

.sx-timeline__dot {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin: 14px 0 24px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--navy);
  font-weight: 800;
  color: var(--navy);
}

.sx-timeline li:first-child .sx-timeline__dot {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
}

.sx-timeline h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}

.sx-timeline p {
  color: var(--muted);
  font-size: 15px;
}

/* cost factors + audit checklist card */
.sx-audit {
  background: var(--surface);
}

.sx-audit__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}

.sx-cost {
  position: sticky;
  top: 110px;
}

.sx-cost__list {
  margin-top: 24px;
  display: grid;
  gap: 14px;
}

.sx-cost__list li {
  position: relative;
  padding-inline-start: 24px;
}

.sx-cost__list li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: .62em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
}

.sx-cost__note {
  margin-top: 28px;
  padding-inline-start: 20px;
  border-inline-start: 3px solid var(--orange);
  color: var(--ink);
  font-weight: 500;
}

.sx-sheet {
  padding: clamp(28px, 4vw, 48px);
  border-radius: var(--radius-lg);
  background: var(--bg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.sx-sheet__tag {
  display: inline-block;
  margin-bottom: 20px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--navy);
  font-size: 13px;
  font-weight: 700;
  color: #fff;
}

.sx-sheet__list {
  display: grid;
  margin: 28px 0 32px;
}

.sx-sheet__list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 0;
  border-top: 1px dashed var(--line-strong);
}

.sx-box {
  flex: none;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  margin-top: 1px;
  border-radius: 6px;
  border: 2px solid var(--orange);
  color: var(--orange-ink);
}

/* proof */
.sx-proof__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}

/* no testimonial: one wide statement */
.sx-proof:not(.sx-proof--quote) .sx-proof__inner {
  grid-template-columns: 1fr;
}

.sx-proof:not(.sx-proof--quote) .sx-proof__text {
  max-width: 820px;
  padding-inline-start: clamp(20px, 3vw, 40px);
  border-inline-start: 4px solid var(--orange);
}

.sx-proof:not(.sx-proof--quote) .svcp__h2 {
  font-size: clamp(30px, 3.6vw, 46px);
}

.sx-proof:not(.sx-proof--quote) .svcp__intro {
  font-size: 18px;
  max-width: 64ch;
}

.sx-quote {
  margin: 0;
  padding: clamp(28px, 4vw, 48px);
  border-radius: var(--radius-lg);
  background: var(--navy);
  color: #fff;
}

.sx-quote blockquote {
  margin: 0;
  font-size: clamp(18px, 1.8vw, 22px);
  font-weight: 500;
  line-height: 1.4;
}

.sx-quote figcaption {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
}

.sx-quote .quote__avatar {
  background: var(--orange);
}

.sx-quote strong {
  display: block;
}

.sx-quote figcaption span:not(.quote__avatar) {
  font-size: 14px;
  color: rgba(255, 255, 255, .7);
}

/* questions: all visible, two columns */
.sx-faq {
  background: var(--surface);
}

.sx-qa {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 80px;
}

.sx-qa__item {
  padding: 28px 0;
  border-top: 1px solid var(--line);
}

.sx-qa__item h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}

.sx-qa__item p {
  color: var(--muted);
}

/* related articles with cover photos */
.sx-related__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
}

.sx-post {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  transition: border-color .3s, box-shadow .3s;
}

.sx-post:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
}

.sx-post__media {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--navy);
}

.sx-post__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}

.sx-post:hover .sx-post__img {
  transform: scale(1.04);
}

.sx-post__body {
  padding: 24px;
}

.sx-post__cat {
  font-size: 13px;
  font-weight: 700;
  color: var(--orange-ink);
}

.sx-post h3 {
  margin: 8px 0 10px;
  font-size: 19px;
  line-height: 1.3;
  font-weight: 700;
  color: var(--navy);
}

/* the whole card is the link */
.sx-post h3 a::after {
  content: "";
  position: absolute;
  inset: 0;
}

.sx-post p {
  font-size: 15px;
  color: var(--muted);
}

/* closing call to action: text and button side by side */
.sx-cta {
  padding: clamp(64px, 8vw, 104px) 0;
  background: var(--navy);
  color: rgba(255, 255, 255, .8);
}

.sx-cta__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.sx-cta__inner > div {
  max-width: 640px;
}

.sx-cta .btn--primary:hover {
  background: #fff;
  color: var(--navy);
}

@media (max-width: 960px) {
  .svcp__grid,
  .sx-related__list {
    grid-template-columns: 1fr 1fr;
  }

  .svcp__split,
  .sx-hero,
  .sx-audit__inner,
  .sx-proof__inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .sx-cost {
    position: static;
  }

  .sx-numbered,
  .sx-qa {
    grid-template-columns: 1fr;
  }

  /* timeline turns vertical */
  .sx-timeline {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .sx-timeline::before,
  [dir="rtl"] .sx-timeline::before {
    inset-inline: auto;
    inset-inline-start: 21px;
    top: 0;
    bottom: 0;
    width: 2px;
    height: auto;
    background: var(--line-strong);
  }

  .sx-timeline li {
    display: grid;
    grid-template-columns: 44px 1fr;
    column-gap: 20px;
    padding-bottom: 32px;
  }

  .sx-timeline__dot {
    grid-row: 1 / span 3;
    margin: 0;
  }

  .sx-timeline__meta {
    justify-self: start;
    margin-bottom: 10px;
  }
}

@media (max-width: 640px) {
  .svcp__grid,
  .sx-related__list {
    grid-template-columns: 1fr;
  }

  .svcp__card,
  .sx-glance {
    padding: 24px;
  }

  .sx-numbered li {
    grid-template-columns: 48px 1fr;
  }

  .sx-numbered__num {
    font-size: 26px;
  }

}

/* wide photo under the intro (service pages) */
.sx-feature {
  margin: 0 auto;
  padding-bottom: clamp(56px, 7vw, 96px);
}

.sx-feature picture,
.sx-feature img {
  display: block;
  width: 100%;
}

.sx-feature img {
  height: auto;
  aspect-ratio: 21 / 8;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.sx-hero + .sx-feature {
  margin-top: calc(clamp(64px, 8vw, 112px) * -0.5);
}

@media (max-width: 960px) {
  .sx-feature img {
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 640px) {
  .sx-feature img {
    aspect-ratio: 4 / 3;
  }
}

/* homepage: the smaller service cards link to their pages (whole card clickable) */
.svc__item {
  position: relative;
  transition: border-color .3s, box-shadow .3s;
}

.svc__item h3 a::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
}

.svc__item:has(a):hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
}

.svc__item h3 a {
  text-decoration: underline;
  text-decoration-color: var(--orange);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

/* hub: four services sit in two columns */
.svcp__grid--hub {
  grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 640px) {
  .svcp__grid--hub {
    grid-template-columns: 1fr;
  }
}

/* blog post: link to the service the article supports, and a second button in the closing banner */
.article__service {
  margin-top: 20px;
  padding: 14px 18px;
  border-radius: var(--radius);
  background: var(--orange-100);
  font-size: 15px;
  color: var(--ink);
}

.article__service .link-arrow {
  margin-inline-start: 4px;
}

.article-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.article-cta__actions .btn {
  margin-top: 0;
}

.article-cta__ghost {
  border-color: rgba(255, 255, 255, .4);
  color: #fff;
}

.article-cta__ghost:hover {
  border-color: #fff;
  background: #fff;
  color: var(--navy);
}

/* About page: the quality statement beside the visibility card */
.sx-standard {
  position: sticky;
  top: 110px;
  padding-inline-start: clamp(20px, 3vw, 36px);
  border-inline-start: 4px solid var(--orange);
}

.sx-standard .svcp__h2 {
  font-size: clamp(30px, 3.6vw, 46px);
}

.sx-standard .svcp__intro {
  font-size: 18px;
}

/* About page: links to the country pages */
.sx-where {
  margin-top: 0;
}

@media (max-width: 960px) {
  .sx-standard {
    position: static;
  }
}

.svcp__links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  margin-top: 28px;
}

/* ---------- Country pages (mk-) ---------- */
/* intro: photo as the background of a full-width band, text centered on top */
.mk {
  padding-top: 0;
}

.mk-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  /* exactly one screen tall, never taller */
  height: 100vh;
  height: 100svh;
  max-height: 100svh;
  padding-block: calc(var(--header-h) + 16px) 32px;
  overflow: hidden;
  background: var(--navy-900);
  text-align: center;
  color: #fff;
}

.mk-hero__bg,
.mk-hero picture {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
}

.mk-hero__bg {
  object-fit: cover;
}

/* navy veil so white text reads on any photo */
.mk-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(10, 20, 52, .55) 0%, rgba(10, 20, 52, .72) 55%, rgba(10, 20, 52, .9) 100%);
}

.mk-hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 900px;
}

.mk-hero__back {
  margin-bottom: clamp(12px, 3vh, 28px);
  font-size: 15px;
  color: #fff;
}

.mk-hero .sx-eyebrow {
  color: #ffb48a;
}

.mk-hero__title {
  /* scales with the screen's height too, so the whole intro fits */
  font-size: clamp(30px, min(4.2vw, 6vh), 56px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: #fff;
  /* wide enough that the headline stays on three lines at most */
  max-width: 22ch;
}

.mk-hero__lead {
  margin-top: clamp(12px, 2.5vh, 24px);
  max-width: 62ch;
  font-size: clamp(17px, 1.5vw, 19px);
  color: rgba(255, 255, 255, .86);
}

.mk-hero__actions {
  justify-content: center;
}

.mk-hero__ghost {
  border-color: rgba(255, 255, 255, .5);
  color: #fff;
}

.mk-hero__ghost:hover {
  border-color: #fff;
  background: #fff;
  color: var(--navy);
}

.mk-hero__facts {
  justify-content: center;
  color: rgba(255, 255, 255, .78);
}

.mk-hero__facts li:not(:last-child)::after {
  color: rgba(255, 255, 255, .4);
}

/* where buyers are: a light band of platform chips */
.mk-reach {
  border-block: 1px solid var(--line);
  background: var(--surface);
}

.mk-reach__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
  padding-block: 24px;
}

.mk-reach__label {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
}

.mk-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.mk-chips li {
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--bg);
  border: 1px solid var(--line-strong);
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
}

/* what's different: sticky heading, points beside it */
.mk-split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}

.mk-split__head {
  position: sticky;
  top: 110px;
}

.mk-points li {
  padding: 28px 0;
  border-top: 1px solid var(--line);
}

.mk-points li:last-child {
  border-bottom: 1px solid var(--line);
}

.mk-points h3 {
  position: relative;
  padding-inline-start: 22px;
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.mk-points h3::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: .45em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--orange);
}

.mk-points p {
  padding-inline-start: 22px;
  color: var(--muted);
}

/* services: full-width rows */
.mk-rows {
  border-top: 1px solid var(--line-strong);
}

.mk-row {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) 40px;
  gap: 32px;
  align-items: center;
  padding: 28px 8px;
  border-bottom: 1px solid var(--line-strong);
  transition: background-color .3s;
}

.mk-row:hover {
  background: var(--surface);
}

.mk-row h3 {
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 800;
  color: var(--navy);
}

/* the whole row is the link */
.mk-row h3 a::after {
  content: "";
  position: absolute;
  inset: 0;
}

.mk-row p {
  color: var(--muted);
}

.mk-row__arrow {
  justify-self: end;
  font-size: 22px;
  font-weight: 700;
  color: var(--orange-ink);
  transition: transform .3s var(--ease);
}

.mk-row:hover .mk-row__arrow {
  transform: translateX(6px);
}

[dir="rtl"] .mk-row__arrow {
  transform: scaleX(-1);
}

[dir="rtl"] .mk-row:hover .mk-row__arrow {
  transform: scaleX(-1) translateX(6px);
}

/* how we work: four plain points */
.mk-ways {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.mk-ways li {
  padding-top: 20px;
  border-top: 3px solid var(--orange);
}

.mk-ways h3 {
  font-size: 19px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}

.mk-ways p {
  font-size: 15px;
  color: var(--muted);
}

@media (max-width: 960px) {
  .mk-split {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .mk-split__head {
    position: static;
  }

  .mk-ways {
    grid-template-columns: 1fr 1fr;
  }

  .mk-row {
    grid-template-columns: minmax(0, 1fr) 32px;
    gap: 8px 16px;
  }

  .mk-row p {
    grid-column: 1;
  }

  .mk-row__arrow {
    grid-row: 1 / span 2;
    grid-column: 2;
  }
}

@media (max-width: 640px) {
  .mk-ways {
    grid-template-columns: 1fr;
  }
}

/* header over a full-width photo: see-through and white until the page scrolls */
.header--overlay:not(.is-scrolled) .header__logo img {
  filter: brightness(0) invert(1);
}

.header--overlay:not(.is-scrolled) .nav__link,
.header--overlay:not(.is-scrolled) .lang-switch {
  color: #fff;
}

.header--overlay:not(.is-scrolled) .nav__link:hover {
  border-color: rgba(255, 255, 255, .6);
}

.header--overlay:not(.is-scrolled) .burger {
  background: rgba(255, 255, 255, .16);
}

/* very short screens (small laptops in landscape, phones on their side): let the intro grow instead of cutting text */
@media (max-height: 600px) {
  .mk-hero {
    height: auto;
    max-height: none;
    padding-block: calc(var(--header-h) + 24px) 40px;
  }
}

.mk-hero__actions {
  margin-top: clamp(20px, 4vh, 36px);
}

.mk-hero__facts {
  margin-top: clamp(16px, 4vh, 40px);
}

/* ---------- Services hub: where we work (country tiles) + how we work ---------- */
.hw-where {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}

.hw-where__about {
  margin-top: 28px;
}

.hw-tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.hw-tile {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  aspect-ratio: 4 / 5;
  padding: 24px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  color: #fff;
}

.hw-tile__img,
.hw-tile picture {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
}

.hw-tile__img {
  object-fit: cover;
  transition: transform .6s var(--ease);
}

/* navy fade at the bottom so the name reads on any photo */
.hw-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(10, 20, 52, 0) 35%, rgba(10, 20, 52, .88) 100%);
}

.hw-tile:hover .hw-tile__img {
  transform: scale(1.05);
}

.hw-tile h3 {
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 800;
  color: #fff;
}

/* the whole tile is the link */
.hw-tile h3 a::after {
  content: "";
  position: absolute;
  inset: 0;
}

.hw-tile p {
  margin-top: 4px;
  font-size: 14px;
  color: rgba(255, 255, 255, .8);
}

.hw-tile__arrow {
  position: absolute;
  top: 20px;
  inset-inline-end: 20px;
  color: #fff;
  transition: transform .35s var(--ease);
}

.hw-tile:hover .hw-tile__arrow {
  transform: translate(3px, -3px);
}

[dir="rtl"] .hw-tile__arrow {
  transform: scaleX(-1);
}

[dir="rtl"] .hw-tile:hover .hw-tile__arrow {
  transform: scaleX(-1) translate(3px, -3px);
}

@media (max-width: 960px) {
  .hw-where {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hw-tiles {
    grid-template-columns: 1fr;
  }

  .hw-tile {
    aspect-ratio: 4 / 3;
  }
}

/* ---------- Header dropdowns (Services, Where we work) ---------- */
.nav__item {
  position: relative;
}

.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.nav__chevron {
  display: inline-flex;
  transition: transform .25s var(--ease);
}

.nav__item--sub:hover .nav__chevron,
.nav__item--sub:focus-within .nav__chevron {
  transform: rotate(180deg);
}

.nav__sub {
  position: absolute;
  top: calc(100% + 10px);
  inset-inline-start: -14px;
  z-index: 10;
  min-width: 250px;
  padding: 8px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity .2s, visibility .2s, transform .25s var(--ease);
}

/* invisible bridge so the menu stays open while the pointer moves down to it */
.nav__sub::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: -12px;
  height: 12px;
}

.nav__item--sub:hover .nav__sub,
.nav__item--sub:focus-within .nav__sub {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.nav__sub a {
  display: block;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 500;
  color: var(--navy);
  white-space: nowrap;
  transition: background-color .2s;
}

.nav__sub a:hover,
.nav__sub a:focus-visible {
  background: var(--bg);
}

/* the last link of a dropdown ("All services") reads as a footer link */
.nav__sub li:last-child:not(:first-child) a {
  margin-top: 4px;
  border-top: 1px solid var(--line);
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  color: var(--orange-ink);
  font-weight: 600;
}

/* mobile menu: sub-links under each heading */
.mobile-menu__sub {
  display: grid;
  gap: 2px;
  margin: 2px 0 14px;
  padding-inline-start: 18px;
  border-inline-start: 2px solid rgba(255, 255, 255, .18);
}

.mobile-menu .mobile-menu__sub a {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0;
  color: rgba(255, 255, 255, .78);
}

.mobile-menu {
  overflow-y: auto;
  align-items: flex-start;
}

/* ---------- Footer (columns) ---------- */
.footer {
  padding-top: clamp(64px, 8vw, 96px);
}

.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, .9fr) minmax(0, 1.2fr);
  gap: 40px 32px;
  padding-bottom: clamp(40px, 5vw, 56px);
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.footer__tagline {
  margin-top: 18px;
  font-size: 17px;
  font-weight: 700;
  color: #fff;
}

.footer__blurb {
  margin-top: 10px;
  max-width: 34ch;
  line-height: 1.6;
}

.footer__socials {
  display: flex;
  gap: 10px;
  margin-top: 24px;
}

.footer__socials a {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .22);
  color: #fff;
  transition: background-color .25s, border-color .25s;
}

.footer__socials a:hover {
  background: var(--orange);
  border-color: var(--orange);
}

.footer svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer__heading {
  margin-bottom: 18px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #fff;
}

[dir="rtl"] .footer__heading {
  letter-spacing: 0;
  font-size: 15px;
}

.footer__heading a {
  display: inline;
  padding: 0;
  color: inherit;
}

.footer__col ul {
  display: grid;
  gap: 10px;
}

.footer__col a {
  display: inline-block;
  padding-block: 3px;
  color: rgba(255, 255, 255, .78);
  transition: color .2s;
}

.footer__col a:hover,
.footer__heading a:hover {
  color: #fff;
  text-decoration: underline;
  text-decoration-color: var(--orange);
  text-underline-offset: 5px;
}

.footer__contact-link {
  display: inline-flex !important;
  align-items: center;
  gap: 10px;
  overflow-wrap: anywhere;
}

.footer__contact-link svg {
  flex: none;
  color: var(--orange);
}

.footer__cta {
  margin-top: 22px;
}

.footer__cta:hover {
  background: #fff;
  color: var(--navy);
}

@media (max-width: 1100px) {
  .footer__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px 24px;
  }
}

/* phones: brand text full width, Services + Quick links side by side, Contact on its own full row */
@media (max-width: 760px) {
  .footer__blurb {
    max-width: none;
  }

  .footer__contact {
    grid-column: 1 / -1;
  }

  .footer__contact-link {
    overflow-wrap: normal;
  }
}

/* the Services heading is also a link: keep it looking like the other headings */
.footer__col .footer__heading a {
  display: inline;
  padding: 0;
  color: #fff;
}

/* "Claim a free audit": a text link, not a filled button */
.footer__audit {
  display: inline-block;
  margin-top: 22px;
  padding-block: 4px;
  font-weight: 700;
  color: #fff;
  text-decoration: underline;
  text-decoration-color: var(--orange);
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
  transition: color .2s;
}

.footer__audit:hover {
  color: var(--orange);
}

.footer__contact .footer__socials {
  margin-top: 22px;
}

/* socials inside the Contact column: a row of round icons */
.footer__col .footer__socials {
  display: flex;
  gap: 10px;
}

.footer__col .footer__socials a {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  color: #fff;
}

.footer__col .footer__socials a:hover {
  text-decoration: none;
}

/* ---------- Contact page ---------- */
.contact-page {
  padding-top: var(--header-h);
}

.mk-ways--three {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 960px) {
  .mk-ways--three {
    grid-template-columns: 1fr;
  }
}

/* The handset inside the WhatsApp icon is a filled shape: keep it orange like the outline. */
.contact__icon [fill="currentColor"] {
  fill: var(--orange);
}

/* Homepage hero, phones: the three promises as a small ticked list */
@media (max-width: 640px) {
  .hero__facts:not(.mk-hero__facts) {
    display: grid;
    gap: 0;
    margin-top: 32px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    font-size: 15px;
    font-weight: 500;
    color: var(--ink);
  }

  .hero__facts:not(.mk-hero__facts) li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
  }

  .hero__facts:not(.mk-hero__facts) li + li {
    border-top: 1px solid var(--line);
  }

  .hero__facts:not(.mk-hero__facts) li::before {
    content: "";
    flex: none;
    width: 18px;
    height: 18px;
    background: var(--orange);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat;
  }
}

/* ---------- Closing call to action (split card) ---------- */
.cta-band {
  padding: clamp(64px, 8vw, 104px) 0;
  background: var(--navy);
}

.cta-band__card {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  background: var(--surface);
  border-radius: var(--radius-lg);
  border-top: 4px solid var(--orange);
}

.cta-band__main,
.cta-band__side {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: clamp(28px, 4vw, 56px);
}

.cta-band__side {
  position: relative;
  background: #fff4ec;
  border-start-end-radius: var(--radius-lg);
  border-end-end-radius: var(--radius-lg);
}

.cta-band__title {
  font-size: clamp(28px, 3.4vw, 44px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -.02em;
  color: var(--navy);
}

.cta-band__lead {
  max-width: 48ch;
  margin-bottom: 16px;
  color: var(--muted);
}

.cta-band__kicker {
  font-size: 20px;
  font-weight: 800;
  color: var(--navy);
}

.cta-band__list {
  display: grid;
  gap: 12px;
  margin-bottom: 16px;
  font-weight: 600;
  color: var(--ink);
}

.cta-band__list li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cta-band__tick {
  display: grid;
  place-items: center;
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
}

.cta-band__btn {
  width: 100%;
  margin-top: auto;
  justify-content: center;
}

.cta-band__wa {
  gap: 10px;
  border: 1.5px solid var(--navy);
  background: transparent;
  color: var(--navy);
}

.cta-band__wa:hover {
  background: var(--navy);
  color: #fff;
}

/* the "or" badge sits on the seam, level with the two buttons */
.cta-band__or {
  position: absolute;
  inset-inline-start: -20px;
  bottom: calc(clamp(28px, 4vw, 56px) + 6px);
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
}

@media (max-width: 860px) {
  .cta-band__card {
    grid-template-columns: 1fr;
  }

  .cta-band__side {
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  }

  .cta-band__or {
    inset-inline-start: 50%;
    top: -20px;
    bottom: auto;
    transform: translateX(-50%);
  }

  [dir="rtl"] .cta-band__or {
    transform: translateX(50%);
  }
}

.cta-band__link {
  /* plain inline text, so a long label wraps like a sentence and the arrow stays on the last line */
  display: inline;
  align-self: flex-start;
  margin: -8px 0 16px;
  font-size: 15px;
  line-height: 1.6;
}

.cta-band__link span {
  display: inline-block;
  margin-inline-start: 6px;
}

/* Homepage service cards: the whole card is clickable (the card's link stretches over it) */
.svc__main,
.svc__item {
  position: relative;
  transition: transform .2s ease, box-shadow .2s ease;
}

.svc__main .svc__more::after,
.svc__item .svc__more::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
}

.svc__main:hover,
.svc__item:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(19, 34, 81, .12);
}

.svc__main:hover .svc__more span,
.svc__item:hover .svc__more span {
  transform: translateX(4px);
}

.svc__more span {
  transition: transform .2s ease;
}

.svc__main:focus-within,
.svc__item:focus-within {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}

.svc__main .svc__more:focus-visible,
.svc__item .svc__more:focus-visible {
  outline: none;
}

/* the two smaller cards: link under the text, on the light background */
.svc__more--light {
  display: inline-flex;
  margin: 14px 0 0;
  padding: 0;
  color: var(--navy);
  text-decoration-color: var(--orange);
}

.svc__more--light:hover {
  text-decoration-color: var(--navy);
}

[dir="rtl"] .svc__main:hover .svc__more span,
[dir="rtl"] .svc__item:hover .svc__more span {
  transform: scaleX(-1) translateX(4px);
}

@media (prefers-reduced-motion: reduce) {
  .svc__main,
  .svc__item,
  .svc__more span {
    transition: none;
  }

  .svc__main:hover,
  .svc__item:hover {
    transform: none;
  }
}

/* Photo intro on phones: at least one screen tall, but free to grow so nothing is squeezed or cut */
@media (max-width: 640px) {
  .mk-hero {
    height: auto;
    max-height: none;
    min-height: 100svh;
    padding-block: calc(var(--header-h) + 32px) 48px;
  }

  .mk-hero__title {
    max-width: none;
    font-size: clamp(30px, 8.5vw, 38px);
  }

  .mk-hero__lead {
    font-size: 16px;
  }
}

/* Arabic headlines need taller lines and no negative letter spacing */
[dir="rtl"] .mk-hero__title {
  line-height: 1.35;
  letter-spacing: 0;
}
