/* Scoped to the services page so legacy subpage rules cannot alter the deck. */
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: #fff; color: #111; font-family: "Inter", "Segoe UI", Arial, sans-serif; }
html[lang="ar"] body { font-family: "Tajawal", "Segoe UI", Arial, sans-serif; }
#servicesPage {
  --service-font: "Inter", "Segoe UI", Arial, sans-serif;
  --service-heading: "Space Grotesk", "Inter", Arial, sans-serif;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 152px 0 64px;
  font-family: var(--service-font);
}
html[lang="ar"] #servicesPage {
  --service-font: "Tajawal", "Segoe UI", Arial, sans-serif;
  --service-heading: "Tajawal", "Segoe UI", Arial, sans-serif;
}
#servicesPage > .shell {
  display: block;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}
#servicesPage .hero-grid { display: block; margin-bottom: 54px; }
#servicesPage .intro > :not(h1), #servicesPage .services-head { display: none; }
#servicesPage .accent-word { color: #e30613; }
#servicesPage .intro { display: block; padding: 0; text-align: center; }
#servicesPage .intro h1 {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  color: #111;
  font-family: var(--service-heading);
  font-size: 64px;
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: 0;
  text-align: center;
  text-wrap: balance;
}
#servicesPage .services {
  display: block;
  position: relative;
  margin: 0 auto;
  padding: 0 0 40px;
  max-width: 1080px;
  border: 0;
  border-radius: 0;
  overflow: visible;
  background: transparent;
  box-shadow: none;
}
#servicesPage .services .service-card {
  position: sticky;
  top: 118px;
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
  min-height: 535px;
  margin: 0 0 22vh;
  padding: 42px 48px;
  border: 1px solid #dedee1;
  border-radius: 28px;
  background: #fff;
  color: #111;
  box-shadow: 0 22px 54px rgb(17 17 17 / 8%);
  font-family: var(--service-font);
  text-align: start;
  opacity: 1;
  transform: translateY(var(--stack-y, 0px)) scale(var(--stack-scale, 1));
  transform-origin: 50% 8%;
  filter: brightness(var(--stack-brightness, 1));
  transition: none;
}
#servicesPage .services .service-card:last-child { margin-bottom: 0; }
#servicesPage .service-card-head {
  display: flex;
  gap: 18px;
  align-items: center;
  padding-bottom: 24px;
  border-bottom: 1px solid #e9e9eb;
}
#servicesPage .service-icon {
  display: grid;
  place-items: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  color: #e30613;
}
#servicesPage .service-icon svg { width: 36px; height: 36px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
#servicesPage .service-card h3 {
  flex: 1;
  min-width: 0;
  width: auto;
  max-width: none;
  margin: 0;
  font-family: var(--service-heading);
  font-size: 30px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0;
  color: #111;
  text-align: start;
  text-wrap: balance;
}
#servicesPage .service-stage {
  display: block;
  flex: none;
  position: static;
  color: #e30613;
  font-family: var(--service-font);
  font-size: 14px;
  font-weight: 600;
  opacity: .55;
}
#servicesPage .service-card > p {
  margin: 30px 0 24px;
  max-width: 850px;
  font-family: var(--service-font);
  font-size: 18px;
  line-height: 1.65;
  color: #65666b;
  text-align: start;
}
#servicesPage .service-points { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
#servicesPage .service-points li {
  position: relative;
  margin: 0;
  padding: 0;
  padding-inline-end: 30px;
  color: #4f5055;
  font-family: var(--service-font);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.6;
  text-align: start;
}
#servicesPage .service-points li::before {
  content: "\2713";
  position: absolute;
  top: 0;
  inset-inline-start: auto;
  inset-inline-end: 0;
  color: #e30613;
  font-size: 19px;
}
#servicesPage .service-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
  padding-top: 24px;
}
#servicesPage .service-card-foot a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  padding: 10px 20px;
  border-radius: 8px;
  background: #111;
  color: #fff;
  font: 600 14px/1.4 var(--service-font);
  text-decoration: none;
}
#servicesPage .service-card-foot a:hover { background: #e30613; }
#servicesPage .service-card-foot a:focus-visible { outline: 2px solid #e30613; outline-offset: 4px; }
#servicesPage .service-card-foot svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; }
html[lang="ar"] #servicesPage .service-card-foot svg { transform: scaleX(-1); }
#servicesPage .service-card-foot span { color: #8b8c92; font: 500 13px/1.4 var(--service-font); }
#servicesPage .services.is-static .service-card { position: relative; top: auto; margin-bottom: 24px; transform: none; filter: none; }
@media (max-width: 700px) {
  #servicesPage { width: calc(100% - 28px); padding: 120px 0 40px; }
  #servicesPage .hero-grid { margin-bottom: 32px; }
  #servicesPage .intro h1 { font-size: 36px; line-height: 1.25; }
  #servicesPage .services .service-card {
    top: 100px;
    min-height: 610px;
    padding: 27px 23px;
    border-radius: 24px;
    margin-bottom: 18vh;
  }
  #servicesPage .service-card-head { gap: 12px; padding-bottom: 22px; }
  #servicesPage .service-card h3 { font-size: 21px; line-height: 1.35; }
  #servicesPage .service-icon { flex-basis: 36px; width: 36px; height: 36px; }
  #servicesPage .service-icon svg { width: 30px; height: 30px; }
  #servicesPage .service-stage { font-size: 12px; }
  #servicesPage .service-card > p { font-size: 16px; margin: 26px 0 22px; }
  #servicesPage .service-points li { font-size: 15px; line-height: 1.6; }
  #servicesPage .service-card-foot { margin-top: auto; padding-top: 24px; }
  #servicesPage .service-card-foot a { font-size: 13px; padding-inline: 16px; }
  #servicesPage .services.is-static .service-card { min-height: 0; }
}
