/* The document provides the scroll distance. Only the Services stage is pinned. */
html:has(#page-services.active), body:has(#page-services.active) { overflow-x: clip; }
#page-services { animation: none; }
#services-tour {
  --tour-top: 82px;
  --tour-height: calc(100svh - var(--tour-top));
  --tour-travel: 1000vh;
  --tour-gutter: clamp(20px, 5.2vw, 100px);
  --tour-display: var(--font-display);
  color: white;
  background: var(--navy-900);
}
html[dir="rtl"] #services-tour { --tour-display: var(--font-arabic); }
#services-tour :is(h1, h2, h3, p) { margin: 0; }
#services-tour :is(a, button, summary):focus-visible { outline: 3px solid var(--cyan-300); outline-offset: -4px; }
.services-stage { position: relative; isolation: isolate; background: var(--navy-900); }
.services-viewport { position: relative; min-height: 0; }
.services-overview {
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 4.4vh, 58px) var(--tour-gutter) clamp(14px, 2.4vh, 32px);
  gap: clamp(14px, 3.5vh, 44px);
  background: radial-gradient(ellipse at 96% 4%, #103d63 0, transparent 49%), var(--navy-900);
}
.services-intro { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(230px, .8fr); gap: 5vw; align-items: end; }
.services-crumb { display: flex; align-items: center; gap: 12px; color: #a5c7dc; margin-bottom: clamp(8px, 1.8vh, 24px); font-size: 12px; }
.services-crumb > span:last-child { color: white; }
.services-crumb > span[aria-hidden] { color: var(--cyan-400); }
.services-crumb a:hover { color: white; text-decoration: underline; }
.services-intro h1 {
  font: 400 clamp(48px, 5.7vw, 94px)/1.02 var(--tour-display);
  letter-spacing: -.035em;
  text-wrap: balance;
}
.services-intro h1 em { color: var(--cyan-300); font-weight: inherit; }
.services-intro > p { color: #c7daea; font-size: clamp(14px, 1.1vw, 18px); line-height: 1.6; max-width: 51ch; }
.services-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(7px, 1vw, 18px); min-height: 0; }
.services-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 280px;
  display: flex;
  align-items: flex-end;
  padding: clamp(12px, 1.5vw, 25px);
  color: white;
  border-radius: var(--r-md);
  background: #10416a;
  box-shadow: inset 0 0 0 1px #ffffff24;
}
.services-card img { width: 100%; height: 100%; object-fit: cover; }
.services-card img { position: absolute; inset: 0; z-index: -2; transition: transform .65s var(--ease-out); }
.services-card::after {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: linear-gradient(180deg, #03132355, transparent 28%, #0013290a 42%, #00152bf2 100%);
  box-shadow: inset 0 0 0 1px #ffffff29;
}
.services-card-index, .services-card-arrow { position: absolute; top: clamp(12px, 1.45vw, 24px); }
.services-card-index { inset-inline-start: clamp(12px, 1.5vw, 25px); font: 500 13px/1 var(--font-mono); letter-spacing: .1em; text-shadow: 0 1px 5px #001325; }
.services-card-arrow {
  inset-inline-end: clamp(10px, 1.2vw, 20px);
  display: grid; place-items: center; width: 34px; height: 34px;
  background: #08274188; border: 1px solid #ffffff80; border-radius: 50%;
}
.tour-icon { display: block; width: 19px; height: 19px; flex: none; }
.services-card-title { max-width: 15ch; font: 400 clamp(24px, 2.35vw, 42px)/1.06 var(--tour-display); letter-spacing: -.02em; text-wrap: balance; }
@media (hover: hover) {
  .services-card:hover img { transform: scale(1.055); }
  .services-card:hover .services-card-arrow { color: var(--navy-900); background: var(--cyan-300); border-color: var(--cyan-300); }
}
.services-guide { display: flex; gap: 9px; align-items: center; color: #c3d8e8; font-size: 13px; }
.services-guide svg { width: 20px; height: 20px; color: var(--cyan-300); flex: none; }
.services-nav { display: none; position: relative; z-index: 4; background: #071e36; border-top: 1px solid #81bad143; }
.services-nav-inner { display: flex; align-items: center; gap: clamp(12px, 3.5vw, 56px); padding: 7px var(--tour-gutter); min-height: 61px; }
.services-nav button { color: #c2d6e5; font-size: 13px; }
.services-nav button[aria-current]:not([aria-current="false"]) { color: #fff; }
.tour-overview-button { display: flex; align-items: center; gap: 9px; padding: 10px 0; }
.tour-overview-button .tour-icon { width: 17px; color: var(--cyan-300); }
.services-rail { display: flex; flex: 1; gap: clamp(8px, 2vw, 32px); justify-content: center; }
.services-rail button { display: flex; align-items: center; justify-content: center; gap: 7px; padding: 10px 4px; position: relative; }
.tour-nav-number { color: #84abc0; font: 400 10px/1.2 var(--font-mono); }
.services-rail [aria-current]:not([aria-current="false"])::after { content: ""; position: absolute; inset-inline: 3px; bottom: 2px; height: 2px; background: var(--cyan-400); }
.services-arrows { display: flex; gap: 7px; }
.services-arrows button { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid #849eb4; border-radius: 50%; }
.services-arrows button:not(:disabled):hover { background: #193c58; border-color: var(--cyan-300); }
.services-arrows button:disabled { opacity: .34; cursor: default; }
.services-arrows [data-tour-step="-1"] .tour-icon, html[dir="rtl"] .services-arrows [data-tour-step="1"] .tour-icon { transform: rotate(180deg); }
html[dir="rtl"] .services-arrows [data-tour-step="-1"] .tour-icon { transform: none; }
html[dir="rtl"] .services-card-arrow svg { transform: scaleX(-1); }
.tour-sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; white-space: nowrap; clip-path: inset(50%); }
.services-enquiry { padding-block: clamp(38px, 6vw, 80px); }
.services-credit { color: var(--slate-500); font-size: 12px; margin: 12px 0 0; }


.services-scene {
  padding: clamp(30px, 6vh, 70px) var(--tour-gutter);
  background: #e9f2f4;
  color: #092e49;
  scroll-margin-top: var(--tour-top);
}
.services-sector-heading { text-align: center; max-width: 74ch; margin: 0 auto 24px; }
#services-tour .services-sector-heading h2 {
  display: inline-block; padding: 6px 19px; border-radius: 999px;
  color: #f6ffff; background: #0d4359; font: 600 clamp(15px,1.4vw,20px)/1.35 var(--font-sans);
}
#services-tour .services-description { max-width: 68ch; margin: 8px auto 0; color: #2d5364; font-size: clamp(13px,1.15vw,16px); line-height: 1.42; }
.services-stops { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; max-width: 1020px; margin-inline: auto; }
.services-stop {
  position: relative; overflow: hidden; color: white; border-radius: 16px;
  background: #073952; border: 1px solid #8fced8; box-shadow: 0 12px 34px #0d42521f;
}
.services-stop > img { display: block; width: 100%; height: clamp(120px,21vh,214px); object-fit: cover; }
.services-stop-copy { padding: 14px clamp(17px,2vw,27px) 21px; }
.services-card-label { display: grid; gap: 6px; min-width: 0; }
.services-photo-caption { font-size: clamp(10px, .84vw, 12px); font-weight: 500; line-height: 1.4; letter-spacing: 0; color: #d9edf1; }
.services-card .services-photo-caption { color: #f1f8fa; text-shadow: 0 1px 3px #03182a; }
.services-photo-caption [lang="ar"], html[lang="ar"] .services-photo-caption [lang="en"] { display: none; }
html[lang="ar"] .services-photo-caption [lang="ar"] { display: inline; }
.services-stop-meta { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.services-stop-meta .services-stop-index { flex: none; }
.services-stop-meta .services-photo-caption { text-align: end; }
.services-stop-index { display: block; font: 500 11px/1.5 var(--font-mono); letter-spacing: .09em; color: #a4ebef; }
#services-tour .services-stop h3 { margin: 4px 0 7px; color: #fff; font: 400 clamp(24px,2.45vw,39px)/1.08 var(--tour-display); }
#services-tour .services-stop p { color: #e6f2f5; font-size: clamp(14px,1.1vw,16px); line-height: 1.46; }
html[dir="rtl"] #services-tour .services-stop h3 { line-height: 1.26; font-weight: 550; }
.services-path { display: none; }

#services-tour.is-enhanced { height: calc(var(--tour-height) + var(--tour-travel)); }
.is-enhanced .services-stage { position: sticky; top: var(--tour-top); height: var(--tour-height); display: flex; flex-direction: column; overflow: hidden; }
.is-enhanced .services-nav { display: block; flex: none; }
.is-enhanced .services-viewport {
  flex: 1; overflow: hidden; perspective: 1050px; perspective-origin: 50% 55%;
  background: radial-gradient(ellipse at 50% 51%, #f7fcfb 0%, #dcebef 53%, #bdced4 100%);
}
.is-enhanced .services-path {
  display: block; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse at 45% 125%, transparent 51%, #78a0a51c 51.3%, transparent 51.7%),
              radial-gradient(ellipse at 75% 5%, transparent 64%, #78a0a522 64.3%, transparent 64.7%);
}
.is-enhanced .services-path::before {
  content: ""; position: absolute; inset-block: 0; width: 5px; left: 50%; transform: translateX(-50%);
  background: radial-gradient(circle at center, #13b2c4 1.8px, transparent 2.2px) center var(--path-offset,0px) / 5px 36px repeat-y,
              linear-gradient(90deg,transparent 30%,#72c3ce 50%,transparent 70%);
  box-shadow: 0 0 18px #2dadb523;
}
.is-enhanced .services-overview { position: absolute; inset: 0; z-index: 80; visibility: hidden; opacity: var(--overview-opacity,1); }
.is-enhanced .services-overview.is-current { visibility: visible; }
.is-enhanced .services-cards { flex: 1; }
.is-enhanced .services-card { min-height: 0; }
.is-enhanced .services-scene, .is-enhanced .services-stops { display: contents; }
.is-enhanced .services-sector-heading {
  visibility: hidden; position: absolute; z-index: 70; top: clamp(10px,2.8vh,30px); left: 5%; right: 5%;
  max-width: 72ch; margin: 0 auto; pointer-events: none;
}
.is-enhanced .services-scene.is-active .services-sector-heading { visibility: visible; }
.is-enhanced .services-stop {
  visibility: hidden; position: absolute; left: 50%; top: 57%; width: min(32vw,460px);
  min-width: 300px; max-height: 74%; overflow-y: auto;
  transform: translate(-50%,-50%) translate3d(var(--stop-x,0px),var(--stop-y,0px),var(--stop-z,0px)) scale(var(--stop-scale,1));
  opacity: var(--stop-opacity,0); filter: blur(var(--stop-blur,0px)); pointer-events: none;
}
.is-enhanced .services-stop.is-current { visibility: visible; }
.is-enhanced .services-stop.is-active { pointer-events: auto; border-color: #16d9df; box-shadow: 0 0 0 1px #16d9df,0 12px 43px #009eae39; }
.is-enhanced .services-stop:focus-visible { outline: 3px solid #007e8e; outline-offset: 3px; }
@media (max-width: 635px) {
  .is-enhanced .services-stop { min-width: 0; width: 75%; }
  .services-stop > img { height: clamp(96px,18vh,145px); }
  .services-stop-copy { padding: 11px 14px 16px; }
  #services-tour .services-stop h3 { font-size: 23px; }
  .is-enhanced .services-sector-heading { top: 10px; }
  #services-tour .services-description { font-size: 12px; }
}
@media (max-height: 650px) {
  .is-enhanced .services-stop > img { height: 76px; }
  .is-enhanced .services-stop-copy { padding: 10px 14px 12px; }
  #services-tour.is-enhanced .services-stop h3 { font-size: 22px; }
  #services-tour.is-enhanced .services-stop p { font-size: 13px; }
  .is-enhanced .services-sector-heading { top: 7px; }
}
html[dir="rtl"] .services-intro h1 { letter-spacing: 0; line-height: 1.22; font-weight: 550; }
html[dir="rtl"] .services-intro h1 em { font-style: normal; }
html[dir="rtl"] .services-card-title { letter-spacing: 0; line-height: 1.3; font-size: clamp(20px, 2.05vw, 32px); }

@media (max-width: 850px) {
  #services-tour { --tour-gutter: clamp(16px, 3.8vw, 32px); }
  .services-intro { grid-template-columns: 1fr; gap: 8px; }
  .services-intro h1 { font-size: clamp(40px, 6vw, 56px); }
  .services-intro > p { max-width: 84ch; }
  .services-rail { gap: 8px; }
}
@media (max-width: 635px) {
  .services-overview { padding-block: 16px 12px; gap: clamp(10px, 1.8vh, 18px); }
  .services-intro h1 { font-size: clamp(34px, 9.5vw, 49px); }
  .services-crumb { margin-bottom: 6px; }
  .services-intro > p { font-size: 13px; line-height: 1.42; }
  .services-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: 1fr 1fr; gap: 7px; }
  .services-card { min-height: 148px; padding: 12px; }
  .services-card-title { font-size: clamp(21px, 5.6vw, 30px); }
  .services-card-index { top: 11px; font-size: 11px; }
  .services-card-arrow { top: 8px; width: 25px; height: 25px; }
  .services-card-arrow svg { width: 14px; height: 14px; }
  .services-guide { font-size: 12px; }
  .services-guide svg { width: 16px; height: 16px; }
  .services-nav-inner { min-height: 52px; gap: 7px; padding: 4px 12px; }
  .services-rail { gap: 0; }
  .services-rail button { min-width: 30px; min-height: 40px; }
  .services-rail .tour-nav-number { font-size: 11px; }
  .services-rail button span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .tour-overview-button { gap: 5px; }
  .services-arrows { gap: 4px; }
  .services-arrows button { width: 34px; height: 34px; }
  .services-stops { grid-template-columns: 1fr; }
}
@media (max-height: 690px) and (min-height: 500px) {
  .services-overview { gap: 10px; padding-block: 12px; }
  .services-crumb { margin-bottom: 4px; }
  .services-intro h1 { font-size: clamp(28px, 4.2vw, 48px); }
  .services-intro > p { font-size: 13px; }
  .services-card-title { font-size: clamp(20px, 2vw, 32px); }
}
@media (max-height: 640px) and (max-width: 635px) {
  .services-card-index, .services-card-arrow { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  #services-tour *, #services-tour *::after { transition: none !important; }
  .services-card:hover img { transform: none; }
}
