:root {
  --primary: #30489d;
  --primary-2: #3c4ea0;
  --primary-dark: #172b68;
  --ink: #14234d;
  --muted: #67718c;
  --line: #dfe4f2;
  --paper: #f5f7fc;
  --white: #ffffff;
  --shadow: 0 22px 70px rgba(31, 49, 111, 0.12);
  --radius: 26px;
}

/* WordPress theme integration. */
.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.screen-reader-text:focus {
  z-index: 9999;
  top: 10px;
  right: 10px;
  width: auto;
  height: auto;
  padding: 10px 14px;
  clip: auto;
  color: var(--ink);
  background: var(--white);
}

body {
  overflow-x: hidden;
}

a {
  transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.4s ease, opacity 0.3s ease;
}

.header-top {
  color: rgba(255, 255, 255, 0.9);
  background: var(--primary-dark);
  font-size: 13px;
}

.header-top .container {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.header-top .container > div {
  display: flex;
  align-items: center;
  gap: 24px;
}

.primary-nav {
  margin-inline-start: auto;
}

.primary-nav .menu {
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
}

.primary-nav .menu > li > a {
  position: relative;
  min-height: 84px;
  display: flex;
  align-items: center;
  color: var(--ink);
  font-size: 13px;
  font-weight: 680;
  transition: color 0.3s ease;
}

.primary-nav .menu > li > a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  background: var(--primary);
  transform: scaleX(0);
  transition: transform 0.25s ease;
}

.primary-nav .menu > li > a:hover::after,
.primary-nav .current-menu-item > a::after,
.primary-nav .current_page_item > a::after,
.primary-nav .current-menu-parent > a::after,
.primary-nav .current-menu-ancestor > a::after,
.primary-nav .is-active-menu-item > a::after,
.primary-nav .menu > li > a[aria-current="page"]::after {
  transform: scaleX(1);
}

.menu-toggle {
  width: 46px;
  height: 44px;
  padding: 11px;
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  cursor: pointer;
}

.menu-toggle span {
  width: 100%;
  height: 2px;
  display: block;
  background: var(--ink);
  transition: 0.25s ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

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

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.button svg,
.text-link svg,
.service-card b svg,
.whatsapp-link svg,
.scope-list svg,
.include-card svg,
.hero-points svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}

.icon-mark,
.feature-icon,
.why-grid b,
.values-grid b,
.contact-cards i,
.project-meta i,
.support-strip > .container > b,
.sectors-page-grid b {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  color: var(--primary);
  background: rgba(48, 72, 157, 0.09);
  border-radius: 12px;
  font-size: 13px;
  font-style: normal;
  font-weight: 800;
}

.service-image:empty,
.project-card > .project-overlay:first-child {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
}

.service-description {
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 14px;
}

.service-description p:last-child {
  margin-bottom: 0;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.button-block {
  width: 100%;
  justify-content: center;
}

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

.form-message {
  padding: 13px 15px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 650;
}

.form-success {
  color: #0c7145;
  border: 1px solid #b7e5cf;
  background: #ecfaf3;
}

.form-error {
  color: #9b2c2c;
  border: 1px solid #f0c0c0;
  background: #fff2f2;
}

.form-note {
  margin: -8px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.content-entry,
.legal-shell {
  max-width: 840px;
}

.content-entry {
  font-size: 15px;
}

.legal-shell article {
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.legal-shell article h2 {
  margin: 0 0 10px;
  font-size: 21px;
}

.legal-shell article p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.legal-updated {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 13px;
}

.not-found-shell {
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
}

.not-found-shell > span {
  color: rgba(48, 72, 157, 0.18);
  font-size: 96px;
  line-height: 1;
  font-weight: 850;
}

.not-found-shell h1 {
  margin: 20px 0 8px;
  font-size: 44px;
}

.not-found-shell p {
  max-width: 560px;
  margin: 0 0 28px;
  color: var(--muted);
}

.not-found-shell > div {
  display: flex;
  gap: 10px;
}

.site-footer .brand {
  width: max-content;
  height: auto;
  margin-bottom: 18px;
}

.site-footer .brand img {
  width: 48px;
  height: 52px;
  margin: 0;
}

.footer-grid h2 {
  margin: 0 0 17px;
  color: var(--white);
  font-size: 14px;
}

.footer-grid ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-grid li {
  padding: 4px 0;
  font-size: 13px;
}

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

.whatsapp-link {
  width: max-content;
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
}

.footer-grid a,
.whatsapp-link {
  transition: color 0.3s ease, opacity 0.3s ease, transform 0.35s ease;
}

.footer-contact > a,
.footer-contact > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
  font-size: 13px;
}

.footer-contact span {
  color: rgba(255, 255, 255, 0.52);
  font-size: 13px;
}

.footer-contact strong {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
}

.navigation.pagination {
  margin-top: 40px;
}

.nav-links {
  display: flex;
  gap: 8px;
}

.page-numbers {
  min-width: 40px;
  min-height: 40px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.page-numbers.current {
  color: var(--white);
  border-color: var(--primary);
  background: var(--primary);
}

.admin-bar .site-header {
  top: 32px;
}

@media (max-width: 1050px) {
  .primary-nav,
  .nav-cta {
    display: none;
  }

  .menu-toggle {
    margin-inline-start: auto;
    display: flex;
  }

  .primary-nav.is-open {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: block;
    padding: 14px 20px 24px;
    border-top: 1px solid var(--line);
    background: var(--white);
    box-shadow: 0 26px 50px rgba(20, 35, 77, 0.12);
  }

  .primary-nav.is-open .menu {
    width: min(1180px, 100%);
    margin: 0 auto;
    display: grid;
    gap: 0;
  }

  .primary-nav .menu > li > a {
    min-height: 48px;
    border-bottom: 1px solid var(--line);
  }

  .primary-nav .menu > li > a::after {
    display: none;
  }
}

@media (max-width: 782px) {
  .admin-bar .site-header {
    top: 46px;
  }
}

@media (max-width: 620px) {
  .header-top .container > span {
    display: none;
  }

  .header-top .container {
    justify-content: center;
  }

  .header-top .container > div {
    width: 100%;
    justify-content: space-between;
    gap: 8px;
    font-size: 13px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .not-found-shell h1 {
    font-size: 34px;
  }

  .not-found-shell > div {
    width: 100%;
    flex-direction: column;
  }

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

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Cairo Variable", "Cairo", Tahoma, Arial, sans-serif;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.section {
  padding: 110px 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(48, 72, 157, 0.1);
  backdrop-filter: blur(18px);
}

.nav-shell {
  min-height: 84px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  min-width: 178px;
  height: 64px;
  overflow: hidden;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 9px;
}

.brand img {
  width: 43px;
  height: 46px;
  object-fit: contain;
}

.header-brand-logo {
  width: 64px;
  min-width: 64px;
  height: 64px;
  justify-content: center;
  gap: 0;
}

.header-brand-logo img {
  width: 58px;
  height: 58px;
  margin: 0;
}

.button {
  min-height: 48px;
  padding: 0 21px;
  border-radius: 12px;
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-size: 13px;
  font-weight: 750;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 14px 28px rgba(48, 72, 157, 0.22);
}

.button-primary:hover {
  background: var(--primary-dark);
}

.button-ghost {
  background: rgba(255, 255, 255, 0.8);
  border-color: var(--line);
}

.button-outline {
  border-color: rgba(48, 72, 157, 0.28);
  color: var(--primary);
  background: transparent;
}

.button-light {
  background: var(--white);
  color: var(--primary-dark);
}

.button-on-dark {
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--white);
}

.nav-cta {
  min-height: 44px;
  margin-inline-start: 6px;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 58px 0 66px;
  background:
    radial-gradient(circle at 15% 20%, rgba(60, 78, 160, 0.13), transparent 30%),
    linear-gradient(120deg, #f8f9fd 0%, #eef1f9 100%);
}

.hero-grid {
  min-height: 660px;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: 72px;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--primary);
  font-size: 13px;
  font-weight: 750;
}

.eyebrow > span {
  width: 28px;
  height: 2px;
  background: var(--primary);
}

.hero h1 {
  margin: 22px 0 22px;
  color: var(--ink);
  font-size: clamp(48px, 6vw, 76px);
  line-height: 1.25;
  letter-spacing: -2.5px;
  font-weight: 500;
}

.hero h1 strong {
  color: var(--primary);
  font-weight: 800;
}

.hero-copy > p {
  max-width: 630px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 2;
}

.hero-actions {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-points {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 650;
}

.hero-points span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero-points svg {
  color: var(--primary);
}

.hero-media {
  position: relative;
  height: 650px;
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: 30px -24px -20px 30px;
  border: 1px solid rgba(48, 72, 157, 0.18);
  border-radius: 34px;
}

.hero-media > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 42%;
  border-radius: 32px 8px 32px 32px;
  box-shadow: var(--shadow);
  position: relative;
}

.hero-media-card {
  position: absolute;
  right: -28px;
  bottom: 34px;
  min-width: 245px;
  padding: 18px 20px;
  color: var(--white);
  background: rgba(23, 43, 104, 0.92);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
}

.hero-media-card span {
  font-size: 13px;
  opacity: 0.72;
}

.hero-media-card strong {
  font-size: 16px;
}

.trust-strip {
  background: var(--white);
  border-block: 1px solid var(--line);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.trust-grid > div {
  min-height: 125px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-inline-start: 1px solid var(--line);
}

.trust-grid > div:last-child {
  border-inline-start: 0;
}

.trust-grid strong {
  color: var(--primary);
  font-size: 28px;
}

.trust-grid span {
  color: var(--muted);
  font-size: 12px;
}

.section-heading {
  max-width: 670px;
}

.section-heading > span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
}

.section-heading > span::before {
  content: "";
  width: 26px;
  height: 2px;
  background: currentColor;
}

.section-heading h2 {
  margin: 12px 0 16px;
  font-size: clamp(32px, 4vw, 50px);
  line-height: 1.35;
  letter-spacing: -1.4px;
}

.section-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 2;
}

.section-heading-light > span,
.section-heading-light h2 {
  color: var(--white);
}

.section-heading-light p {
  color: rgba(255, 255, 255, 0.72);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  align-items: center;
  gap: 80px;
}

.about-visual {
  position: relative;
}

.about-visual > img {
  width: 100%;
  aspect-ratio: 4 / 4.4;
  object-fit: cover;
  border-radius: 28px 28px 8px 28px;
  box-shadow: var(--shadow);
}

.visual-badge {
  position: absolute;
  left: -25px;
  bottom: 36px;
  min-width: 270px;
  padding: 17px;
  display: flex;
  align-items: center;
  gap: 13px;
  background: var(--white);
  border-radius: 15px;
  box-shadow: var(--shadow);
  color: var(--primary);
}

.visual-badge div {
  display: flex;
  flex-direction: column;
}

.visual-badge strong {
  color: var(--ink);
  font-size: 14px;
}

.visual-badge span {
  color: var(--muted);
  font-size: 13px;
}

.feature-list {
  margin: 34px 0 24px;
  display: grid;
  gap: 18px;
}

.feature-list article {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.feature-list article > svg {
  width: 42px;
  height: 42px;
  padding: 10px;
  border-radius: 11px;
  background: rgba(48, 72, 157, 0.1);
  color: var(--primary);
  flex: 0 0 auto;
}

.feature-list h3 {
  margin: 0;
  font-size: 15px;
}

.feature-list p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--primary);
  font-size: 13px;
  font-weight: 800;
}

.heading-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 46px;
}

.services-section {
  background: var(--white);
}

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

.service-card {
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  background: var(--white);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow);
}

.service-image {
  height: 220px;
  overflow: hidden;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.service-card:hover img {
  transform: scale(1.04);
}

.service-card-body {
  padding: 23px;
}

.service-card-body > span {
  color: var(--primary);
  font-size: 13px;
  font-weight: 750;
}

.service-card-body h3 {
  margin: 8px 0 9px;
  font-size: 19px;
}

.service-card-body p {
  min-height: 72px;
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 12px;
}

.service-card-body b {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-size: 13px;
}

.why-section {
  padding-top: 0;
  background: var(--white);
}

.why-shell {
  padding: 62px;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 60px;
  background:
    linear-gradient(115deg, rgba(16, 37, 99, 0.98), rgba(48, 72, 157, 0.95)),
    url("../images/site/work-collage.jpg") center / cover;
  border-radius: 30px 30px 8px 30px;
  box-shadow: var(--shadow);
}

/* Version 2: RTL, readable type, editable content cards and calm motion. */
html {
  direction: rtl;
}

body {
  font-size: 16px;
}

main:focus {
  outline: 0;
}

.site-header.is-scrolled {
  box-shadow: 0 12px 35px rgba(20, 35, 77, 0.08);
}

.header-top {
  font-size: 13px;
}

.primary-nav .menu > li > a {
  font-size: 15px;
}

.primary-nav .current-menu-item > a,
.primary-nav .current_page_item > a,
.primary-nav .current-menu-parent > a,
.primary-nav .current-menu-ancestor > a,
.primary-nav .is-active-menu-item > a,
.primary-nav a[aria-current="page"] {
  color: var(--primary);
}

.button {
  font-size: 15px;
  transition: transform 0.35s cubic-bezier(.2,.7,.2,1), background-color 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

:where(a, button, input, select, textarea):focus-visible {
  outline: 3px solid rgba(48, 72, 157, 0.32);
  outline-offset: 3px;
}

.hero-points,
.trust-grid span,
.section-heading > span,
.section-kicker,
.inner-heading > span,
.cta-shell span {
  font-size: 14px;
}

.feature-list h3 {
  font-size: 17px;
}

.feature-list p,
.why-grid p,
.process-grid p,
.service-card-body p,
.vision-grid p,
.values-grid p,
.inner-heading p,
.company-data p,
.include-card li,
.suitable-grid span,
.scope-list span,
.sectors-page-grid p,
.solution-columns p,
.support-strip p {
  font-size: 14px;
}

.service-card-body > span,
.project-overlay span,
.process-grid span,
.vision-grid span,
.company-data dt,
.project-meta span,
.support-strip span {
  font-size: 13px;
}

.service-card-body b,
.project-overlay p,
.project-meta strong,
.company-data dd {
  font-size: 14px;
}

.breadcrumbs {
  font-size: 13px;
}

.breadcrumbs ol {
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  list-style: none;
}

.breadcrumbs li {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.breadcrumbs a {
  transition: color 0.25s ease;
}

.breadcrumbs a:hover {
  color: var(--primary);
}

.long-copy p,
.service-overview p,
.project-summary p,
.contact-copy > p,
.content-entry,
.legal-shell article p {
  font-size: 16px;
}

.page-hero-grid > div:first-child > span {
  font-size: 14px;
}

.page-hero:not(.page-hero-with-image) .page-hero-grid {
  min-height: 250px;
}

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

.sector-card {
  min-height: 150px;
  padding: 24px;
  display: flex;
  align-items: flex-start;
  gap: 17px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  transition: transform 0.4s cubic-bezier(.2,.7,.2,1), border-color 0.35s ease, box-shadow 0.4s ease, background-color 0.35s ease;
}

.sector-card-icon,
.contact-card-icon,
.sectors-page-grid .sector-card-icon {
  width: 48px;
  height: 48px;
  padding: 11px;
  flex: 0 0 auto;
  color: var(--primary);
  border-radius: 14px;
  background: rgba(48, 72, 157, 0.09);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sector-card h3 {
  margin: 0 0 7px;
  font-size: 17px;
}

.sector-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

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

.clients-shell {
  padding: 54px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--white);
}

.clients-copy {
  margin-bottom: 38px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}



.clients-card-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.client-card {
  min-width: 0;
  min-height: 180px;
  padding: 20px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 15px;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: #fbfcff;
  transition: transform 0.4s cubic-bezier(.2,.7,.2,1), border-color 0.35s ease, box-shadow 0.4s ease;
}

.client-logo {
  width: 100%;
  height: 78px;
  display: grid;
  place-items: center;
}

.client-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.client-logo span {
  width: 66px;
  height: 66px;
  display: grid;
  place-items: center;
  color: var(--primary);
  border-radius: 18px;
  background: rgba(48, 72, 157, 0.09);
  font-size: 28px;
  font-weight: 800;
}

.client-card h3 {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
}

.client-card p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
}



.sectors-page-grid article,
.vision-grid article,
.values-grid article,
.process-grid article,
.contact-cards > a,
.contact-cards > div,
.solution-columns article {
  transition: transform 0.4s cubic-bezier(.2,.7,.2,1), box-shadow 0.4s ease, border-color 0.35s ease;
}

.sectors-page-grid article > .sector-card-icon {
  position: relative;
  z-index: 1;
}

.sectors-page-grid h2 {
  margin-top: 24px;
  font-size: 19px;
}

.project-filter button {
  min-height: 42px;
  font-size: 14px;
  transition: color 0.25s ease, background-color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.quote-form label > span {
  font-size: 14px;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  font-size: 16px;
  text-align: right;
}

.quote-form select {
  padding-inline: 14px 46px;
  direction: rtl;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%2314234d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left 15px center;
  background-size: 17px;
}

.quote-form .phone-field {
  direction: rtl;
  text-align: right;
  unicode-bidi: plaintext;
}

.quote-form .email-field {
  direction: ltr;
  text-align: left;
}

.form-message {
  font-size: 14px;
}

.form-note {
  font-size: 12px;
}

.contact-card-icon {
  width: 44px;
  height: 44px;
}

.contact-cards span {
  font-size: 13px;
}

.contact-cards strong {
  font-size: 15px;
}

.site-footer .brand-logo-only {
  width: 78px;
  min-width: 78px;
  height: 78px;
  margin-bottom: 22px;
}

.site-footer .brand-logo-only img {
  width: 78px;
  height: 78px;
  margin: 0;
  object-fit: contain;
}

.footer-brand p {
  font-size: 15px;
}

.footer-grid h2 {
  font-size: 17px;
}

.footer-grid li,
.footer-contact > a,
.footer-contact > div,
.whatsapp-link {
  font-size: 14px;
}

.footer-contact {
  direction: rtl;
  text-align: right;
}

.footer-contact > a,
.footer-contact > div {
  align-items: flex-start;
}

.footer-contact span {
  font-size: 13px;
}

.footer-contact strong {
  max-width: 100%;
  font-size: 14px;
  overflow-wrap: anywhere;
}

.footer-bottom {
  font-size: 13px;
}

@media (hover: hover) {
  .sector-card:hover,
  .client-card:hover,
  .sectors-page-grid article:hover,
  .vision-grid article:hover,
  .values-grid article:hover,
  .process-grid article:hover,
  .contact-cards > a:hover,
  .solution-columns article:hover {
    transform: translateY(-5px);
    border-color: rgba(48, 72, 157, 0.25);
    box-shadow: 0 18px 44px rgba(31, 49, 111, 0.11);
  }

  .sector-card:hover {
    background: var(--white);
  }

  .project-filter button:hover {
    transform: translateY(-2px);
    border-color: rgba(48, 72, 157, 0.4);
    color: var(--primary);
  }

  .project-filter button.is-active:hover {
    color: var(--white);
  }

  .footer-grid a:hover,
  .whatsapp-link:hover {
    color: var(--white);
  }
}

.sop-motion-ready :where(.sop-reveal) {
  opacity: 0;
  transform: translate3d(0, 22px, 0);
  transition:
    opacity 0.75s ease var(--sop-reveal-delay, 0ms),
    transform 0.8s cubic-bezier(.2,.7,.2,1) var(--sop-reveal-delay, 0ms),
    box-shadow 0.4s ease,
    border-color 0.35s ease,
    background-color 0.35s ease,
    color 0.3s ease,
    filter 0.4s ease;
}

.sop-motion-ready :where(.sop-reveal.is-visible) {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

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

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

@media (max-width: 1050px) {
  .primary-nav .current-menu-item > a,
  .primary-nav .current_page_item > a,
  .primary-nav .current-menu-parent > a,
  .primary-nav .current-menu-ancestor > a,
  .primary-nav .is-active-menu-item > a,
  .primary-nav a[aria-current="page"] {
    padding-inline: 12px;
    border-inline-start: 3px solid var(--primary);
    background: rgba(48, 72, 157, 0.06);
  }

  .clients-card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .sector-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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


}

@media (max-width: 560px) {
  .header-top {
    font-size: 13px;
  }

  .header-top .container > div {
    font-size: 13px;
  }

  .hero h1,
  .page-hero h1 {
    font-size: clamp(38px, 12vw, 48px);
  }

  .sector-card-grid,
  .clients-card-grid {
    grid-template-columns: 1fr;
  }

  .sector-card {
    min-height: 0;
  }

  .clients-shell {
    padding: 30px 20px;
  }

  .client-card {
    min-height: 155px;
  }

  .footer-grid h2 {
    margin-top: 8px;
  }
}

.why-copy .button {
  margin-top: 26px;
}

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

.why-grid article {
  min-height: 175px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 16px;
  color: var(--white);
}

.why-grid svg {
  color: #cad4ff;
}

.why-grid h3 {
  margin: 12px 0 5px;
  font-size: 15px;
}

.why-grid p {
  margin: 0;
  color: rgba(255, 255, 255, 0.65);
  font-size: 13px;
}

.process-section {
  background: linear-gradient(180deg, var(--paper), #edf0f8);
}

.process-grid {
  margin-top: 50px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.process-grid article {
  position: relative;
  min-height: 190px;
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
}

.process-grid article::after {
  content: "";
  position: absolute;
  left: -34px;
  bottom: -34px;
  width: 90px;
  height: 90px;
  background: rgba(48, 72, 157, 0.06);
  transform: rotate(45deg);
}

.process-grid span {
  color: var(--primary);
  font-size: 13px;
  font-weight: 800;
}

.process-grid h3 {
  margin: 14px 0 8px;
  font-size: 17px;
}

.process-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.projects-section {
  background: var(--white);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 330px;
  gap: 18px;
}

.project-card {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  background: var(--primary-dark);
}

.project-card-wide {
  grid-column: span 2;
}

.project-card > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(10, 21, 60, 0.88));
}

.project-card:hover > img {
  transform: scale(1.04);
}

.project-overlay {
  position: absolute;
  z-index: 1;
  right: 25px;
  left: 25px;
  bottom: 22px;
  color: var(--white);
}

.project-overlay span {
  font-size: 13px;
  color: #d7deff;
}

.project-overlay h3 {
  margin: 4px 0 3px;
  font-size: 18px;
}

.project-overlay p {
  margin: 0;
  font-size: 13px;
  opacity: 0.7;
}

.cta-section {
  padding: 0 0 110px;
}

.cta-shell {
  padding: 48px 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  border-radius: 26px 26px 8px 26px;
  color: var(--white);
  background: linear-gradient(115deg, var(--primary-dark), var(--primary));
  box-shadow: var(--shadow);
}

.cta-shell span {
  color: #cbd4ff;
  font-size: 12px;
  font-weight: 750;
}

.cta-shell h2 {
  max-width: 700px;
  margin: 7px 0 0;
  font-size: 30px;
  line-height: 1.5;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.site-footer {
  padding: 74px 0 20px;
  color: rgba(255, 255, 255, 0.76);
  background: #101f50;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.9fr 1.2fr;
  gap: 52px;
}

.footer-brand img {
  width: 165px;
  margin-bottom: 18px;
}

.footer-brand p {
  max-width: 260px;
  margin: 0;
  font-size: 12px;
}

.footer-grid h3 {
  margin: 0 0 17px;
  color: var(--white);
  font-size: 14px;
}

.footer-grid > div:not(.footer-brand) > a {
  display: block;
  padding: 4px 0;
  font-size: 13px;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-contact span,
.footer-contact a {
  display: flex !important;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}

.footer-bottom {
  margin-top: 54px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 13px;
}

.footer-bottom > div {
  display: flex;
  gap: 18px;
}

@media (max-width: 1050px) {
  .nav-cta {
    display: none;
  }

  .hero-grid {
    gap: 40px;
  }

  .hero-media {
    height: 560px;
  }

  .about-grid {
    gap: 48px;
  }

  .why-shell {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .section {
    padding: 78px 0;
  }

  .nav-shell {
    min-height: 74px;
  }

  .hero {
    padding-top: 40px;
  }

  .hero-grid,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    min-height: auto;
  }

  .hero-media {
    height: 540px;
  }

  .hero-media-card {
    right: 18px;
  }

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

  .trust-grid > div {
    border-bottom: 1px solid var(--line);
  }

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

  .process-grid,
  .why-grid {
    grid-template-columns: 1fr 1fr;
  }

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

  .project-card-wide {
    grid-column: span 2;
  }

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

@media (max-width: 560px) {
  .container {
    width: min(100% - 28px, 1180px);
  }

  .header-brand-logo {
    width: 58px;
    min-width: 58px;
    height: 58px;
  }

  .header-brand-logo img {
    width: 52px;
    height: 52px;
  }

  .hero h1 {
    font-size: 48px;
    letter-spacing: -1.5px;
  }

  .hero-copy > p {
    font-size: 15px;
  }

  .hero-actions .button {
    flex: 1 1 100%;
  }

  .hero-media {
    height: 470px;
  }

  .hero-media::before {
    display: none;
  }

  .hero-media-card {
    right: 14px;
    left: 14px;
    bottom: 14px;
  }

  .trust-grid strong {
    font-size: 24px;
  }

  .trust-grid span {
    font-size: 13px;
  }

  .about-grid {
    gap: 48px;
  }

  .visual-badge {
    left: 14px;
    right: 14px;
    min-width: 0;
  }

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

  .services-grid,
  .process-grid,
  .why-grid,
  .projects-grid {
    grid-template-columns: 1fr;
  }

  .why-shell {
    padding: 38px 24px;
  }

  .project-card-wide {
    grid-column: auto;
  }

  .projects-grid {
    grid-auto-rows: 300px;
  }

  .cta-shell {
    padding: 38px 24px;
    align-items: flex-start;
    flex-direction: column;
  }

  .cta-shell h2 {
    font-size: 24px;
  }

  .cta-actions {
    width: 100%;
  }

  .cta-actions .button {
    flex: 1 1 100%;
  }

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

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

}

/* Inner pages */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: 82px 0;
  background:
    radial-gradient(circle at 12% 25%, rgba(60, 78, 160, 0.14), transparent 30%),
    linear-gradient(120deg, #f9faff, #edf1fa);
  border-bottom: 1px solid var(--line);
}

.page-hero-grid {
  position: relative;
  z-index: 1;
  min-height: 330px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 70px;
}

.page-hero:not(.page-hero-with-image) .page-hero-grid {
  grid-template-columns: minmax(0, 760px);
  justify-content: center;
  text-align: center;
}

.page-hero-grid > div:first-child > span {
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
}

.page-hero h1 {
  margin: 12px 0 16px;
  font-size: clamp(46px, 6vw, 72px);
  line-height: 1.22;
  letter-spacing: -2px;
}

.page-hero p {
  max-width: 700px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 2;
}

.page-hero:not(.page-hero-with-image) p {
  margin-inline: auto;
}

.page-hero-image {
  height: 390px;
  overflow: hidden;
  border-radius: 28px 8px 28px 28px;
  box-shadow: var(--shadow);
}

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

.breadcrumbs {
  margin-top: 25px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
}

.page-hero:not(.page-hero-with-image) .breadcrumbs {
  justify-content: center;
}

.breadcrumbs b {
  color: var(--primary);
}

.prose-grid {
  display: grid;
  grid-template-columns: 0.34fr 1fr;
  gap: 90px;
}

.section-kicker {
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
}

.long-copy {
  max-width: 790px;
}

.long-copy h2,
.service-overview h2,
.project-summary h2,
.contact-copy h2 {
  margin: 0 0 20px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.4;
}

.long-copy p,
.service-overview p,
.project-summary p,
.contact-copy > p {
  color: var(--muted);
  font-size: 14px;
  line-height: 2.1;
}

.long-copy blockquote {
  margin: 34px 0 0;
  padding: 24px 28px;
  border-right: 4px solid var(--primary);
  background: var(--white);
  border-radius: 14px 0 0 14px;
  color: var(--primary-dark);
  font-size: 18px;
  font-weight: 700;
}

.vision-section {
  background: var(--white);
}

.vision-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.vision-grid article {
  min-height: 350px;
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(145deg, #fff, #f4f6fc);
}

.vision-grid svg {
  width: 46px;
  height: 46px;
  padding: 11px;
  color: var(--primary);
  background: rgba(48, 72, 157, 0.1);
  border-radius: 13px;
}

.vision-grid span {
  display: block;
  margin-top: 30px;
  color: var(--primary);
  font-size: 13px;
  font-weight: 800;
}

.vision-grid h2 {
  margin: 8px 0 14px;
  font-size: 26px;
}

.vision-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.inner-heading {
  max-width: 690px;
  margin-bottom: 44px;
}

.inner-heading > span {
  color: var(--primary);
  font-size: 13px;
  font-weight: 800;
}

.inner-heading h2 {
  margin: 8px 0 10px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.45;
}

.inner-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.values-grid article {
  min-height: 235px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
}

.values-grid svg {
  color: var(--primary);
}

.values-grid h3 {
  margin: 26px 0 8px;
  font-size: 16px;
}

.values-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.data-section {
  background: var(--white);
}

.company-data {
  padding: 52px;
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 60px;
  color: var(--white);
  background: linear-gradient(115deg, var(--primary-dark), var(--primary));
  border-radius: 28px 28px 8px 28px;
}

.company-data > div > span {
  color: #cbd4ff;
  font-size: 13px;
}

.company-data h2 {
  margin: 10px 0;
  font-size: 30px;
}

.company-data p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
}

.company-data dl {
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  overflow: hidden;
}

.company-data dl div {
  padding: 15px 18px;
  display: grid;
  grid-template-columns: 0.55fr 1.45fr;
  gap: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.company-data dl div:last-child {
  border-bottom: 0;
}

.company-data dt {
  color: #cbd4ff;
  font-size: 13px;
}

.company-data dd {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
}

.inner-cta {
  padding-top: 0;
}

.service-group:nth-of-type(even) {
  background: var(--white);
}

.services-grid-all {
  grid-template-columns: repeat(3, 1fr);
}

.service-overview-grid {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  align-items: center;
  gap: 70px;
}

.service-overview .button {
  margin-top: 20px;
}

.include-card {
  padding: 34px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.include-card h3 {
  margin: 0 0 19px;
  font-size: 19px;
}

.include-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.include-card li {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 12px;
}

.include-card li svg {
  width: 17px;
  color: var(--primary);
}

.suitable-section {
  background: var(--white);
}

.suitable-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.suitable-grid div {
  min-height: 145px;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 13px;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 16px;
}

.suitable-grid svg {
  color: var(--primary);
}

.suitable-grid span {
  font-size: 12px;
  font-weight: 700;
}

.related-projects {
  grid-template-columns: repeat(3, 1fr);
}

.project-filter {
  margin-bottom: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.project-filter span,
.project-filter button {
  padding: 9px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--muted);
  font-size: 13px;
  cursor: pointer;
}

.project-filter span:first-child,
.project-filter button.is-active {
  color: var(--white);
  background: var(--primary);
  border-color: var(--primary);
}

.project-card[hidden] {
  display: none;
}

.projects-grid-all {
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 340px;
}

.project-summary-grid {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  align-items: center;
  gap: 80px;
}

.project-meta {
  display: grid;
  gap: 10px;
}

.project-meta > div {
  padding: 16px;
  display: grid;
  grid-template-columns: auto 0.55fr 1fr;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 13px;
}

.project-meta svg {
  color: var(--primary);
}

.project-meta span {
  color: var(--muted);
  font-size: 13px;
}

.project-meta strong {
  font-size: 13px;
}

.scope-list {
  margin-top: 42px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.scope-list span {
  padding: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 11px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.7);
  font-size: 13px;
}

.scope-list svg {
  width: 16px;
  color: var(--primary);
}

.gallery-section {
  background: var(--white);
}

.project-gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 230px;
  gap: 14px;
}

.project-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}

.project-gallery img:nth-child(6n + 1),
.project-gallery img:nth-child(6n + 4) {
  grid-column: span 7;
}

.project-gallery img:nth-child(6n + 2),
.project-gallery img:nth-child(6n + 3),
.project-gallery img:nth-child(6n + 5),
.project-gallery img:nth-child(6n + 6) {
  grid-column: span 5;
}

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

.sectors-page-grid article {
  min-height: 230px;
  padding: 27px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
}

.sectors-page-grid article > svg {
  color: var(--primary);
}

.sectors-page-grid article > span {
  position: absolute;
  left: 20px;
  top: 14px;
  color: rgba(48, 72, 157, 0.12);
  font-size: 42px;
  font-weight: 800;
}

.sectors-page-grid h2 {
  margin: 38px 0 9px;
  font-size: 17px;
}

.sectors-page-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.sector-solutions {
  padding-top: 0;
}

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

.solution-columns article {
  padding: 30px;
  color: var(--white);
  background: linear-gradient(145deg, var(--primary-dark), var(--primary));
  border-radius: 20px;
}

.solution-columns h3 {
  margin: 0 0 10px;
  font-size: 18px;
}

.solution-columns p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: start;
  gap: 70px;
}

.contact-cards {
  margin-top: 34px;
  display: grid;
  gap: 10px;
}

.contact-cards > a,
.contact-cards > div {
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--white);
}

.contact-cards svg {
  color: var(--primary);
}

.contact-cards div div,
.contact-cards a div {
  display: flex;
  flex-direction: column;
}

.contact-cards span {
  color: var(--muted);
  font-size: 13px;
}

.contact-cards strong {
  font-size: 12px;
}

.quote-form {
  padding: 34px;
  display: grid;
  gap: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.quote-form label {
  display: grid;
  gap: 7px;
}

.quote-form label > span {
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fafbfe;
  color: var(--ink);
  outline: 0;
}

.quote-form input,
.quote-form select {
  height: 48px;
  padding: 0 13px;
}

.quote-form textarea {
  padding: 12px 13px;
  resize: vertical;
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(48, 72, 157, 0.1);
}

.quote-form .button {
  justify-self: start;
}

.support-strip {
  padding-top: 0;
}

.support-strip .container {
  padding: 36px;
  display: grid;
  grid-template-columns: auto 1fr 1fr;
  align-items: center;
  gap: 24px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--white);
}

.support-strip svg {
  width: 54px;
  height: 54px;
  padding: 15px;
  color: var(--primary);
  background: rgba(48, 72, 157, 0.1);
  border-radius: 15px;
}

.support-strip span {
  color: var(--primary);
  font-size: 13px;
}

.support-strip h2 {
  margin: 3px 0 0;
  font-size: 22px;
}

.support-strip p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 900px) {
  .page-hero-grid,
  .prose-grid,
  .service-overview-grid,
  .project-summary-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .page-hero-image {
    height: 330px;
  }

  .prose-grid {
    gap: 25px;
  }

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

  .company-data {
    grid-template-columns: 1fr;
  }

  .suitable-grid,
  .scope-list {
    grid-template-columns: 1fr 1fr;
  }

  .sectors-page-grid {
    grid-template-columns: 1fr 1fr;
  }

  .support-strip .container {
    grid-template-columns: auto 1fr;
  }

  .support-strip p {
    grid-column: span 2;
  }
}

@media (max-width: 620px) {
  .page-hero {
    padding: 56px 0;
  }

  .page-hero-grid {
    min-height: 0;
    gap: 38px;
  }

  .page-hero h1 {
    font-size: 44px;
  }

  .page-hero p {
    font-size: 14px;
  }

  .page-hero-image {
    height: 280px;
  }

  .vision-grid,
  .values-grid,
  .services-grid-all,
  .related-projects,
  .projects-grid-all,
  .sectors-page-grid,
  .solution-columns {
    grid-template-columns: 1fr;
  }

  .vision-grid article {
    padding: 30px 24px;
  }

  .company-data {
    padding: 34px 22px;
  }

  .company-data dl div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .suitable-grid,
  .scope-list {
    grid-template-columns: 1fr;
  }

  .project-gallery {
    grid-template-columns: 1fr;
    grid-auto-rows: 240px;
  }

  .project-gallery img:nth-child(n) {
    grid-column: auto;
  }

  .quote-form {
    padding: 26px 20px;
  }

  .quote-form .button {
    width: 100%;
  }

  .support-strip .container {
    grid-template-columns: 1fr;
  }

  .support-strip p {
    grid-column: auto;
  }
}

/* Final cascade corrections after legacy inner-page rules. */
.header-top { font-size: 13px; }
.primary-nav .menu > li > a { font-size: 15px; }
.button { font-size: 15px; }
.hero-points,
.trust-grid span,
.section-heading > span,
.section-kicker,
.inner-heading > span,
.cta-shell span { font-size: 14px; }
.feature-list h3 { font-size: 17px; }
.feature-list p,
.why-grid p,
.process-grid p,
.service-card-body p,
.vision-grid p,
.values-grid p,
.inner-heading p,
.company-data p,
.include-card li,
.suitable-grid span,
.scope-list span,
.sectors-page-grid p,
.solution-columns p,
.support-strip p { font-size: 14px; }
.service-card-body > span,
.project-overlay span,
.process-grid span,
.vision-grid span,
.company-data dt,
.project-meta span,
.support-strip span { font-size: 13px; }
.service-card-body b,
.project-overlay p,
.project-meta strong,
.company-data dd { font-size: 14px; }
.breadcrumbs { font-size: 13px; }
.long-copy p,
.service-overview p,
.project-summary p,
.contact-copy > p,
.content-entry,
.legal-shell article p { font-size: 16px; }
.page-hero-grid > div:first-child > span { font-size: 14px; }
.page-hero:not(.page-hero-with-image) .page-hero-grid { min-height: 250px; }
.clients-section { padding-top: 0; }

.sectors-page-grid h2 { margin-top: 24px; font-size: 19px; }
.project-filter button { min-height: 42px; font-size: 14px; }
.quote-form label > span { font-size: 14px; }
.quote-form input,
.quote-form select,
.quote-form textarea { font-size: 16px; text-align: right; }
.quote-form select {
  padding-inline: 14px 46px;
  direction: rtl;
  appearance: none;
  -webkit-appearance: none;
  background-color: #fafbfe;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%2314234d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left 15px center;
  background-size: 17px;
}
.quote-form .phone-field { direction: rtl; text-align: right; unicode-bidi: plaintext; }
.quote-form .email-field { direction: ltr; text-align: left; }
.form-message { font-size: 14px; }
.form-note { font-size: 12px; }
.contact-cards span { font-size: 13px; }
.contact-cards strong { font-size: 15px; }
.site-footer .brand-logo-only { width: 78px; min-width: 78px; height: 78px; margin-bottom: 22px; }
.site-footer .brand-logo-only img { width: 78px; height: 78px; margin: 0; object-fit: contain; }
.footer-brand p { font-size: 15px; }
.footer-grid h2 { font-size: 17px; }
.footer-grid li,
.footer-contact > a,
.footer-contact > div,
.whatsapp-link { font-size: 14px; }
.footer-contact { direction: rtl; text-align: right; }
.footer-contact > a,
.footer-contact > div { align-items: flex-start; }
.footer-contact span { font-size: 13px; }
.footer-contact strong { max-width: 100%; font-size: 14px; overflow-wrap: anywhere; }
.footer-bottom { font-size: 13px; }

.page-editor-section {
  padding-bottom: 0;
}

.page-editor-section .content-entry {
  max-width: 920px;
  padding: 38px 42px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--white);
}

.page-editor-section .content-entry > :first-child { margin-top: 0; }
.page-editor-section .content-entry > :last-child { margin-bottom: 0; }
.hero-media-card span,
.visual-badge span,
.legal-updated { font-size: 13px; }
.text-link { font-size: 14px; }

@media (max-width: 560px) {
	.header-top,
	.header-top .container > div { font-size: 13px; }
	.hero h1,
	.page-hero h1 { font-size: clamp(38px, 12vw, 48px); }
	.page-editor-section .content-entry { padding: 26px 22px; }
}


/* Version 2.6.1: stable Customizer controls, content-aware mobile sliders and tablet polish. */
.trust-grid > div:last-child,
.trust-grid > div:first-child {
  border-inline-start: 1px solid var(--line);
}

.trust-grid strong {
  min-width: 2ch;
  font-variant-numeric: tabular-nums;
}

.sop-layout-grid {
  grid-template-columns: repeat(var(--sop-cols-desktop, 3), minmax(0, 1fr)) !important;
}

.sop-layout-grid > * {
  min-width: 0;
}



.contact-section,
.contact-grid,
.contact-grid > *,
.contact-copy,
.contact-cards,
.contact-cards > *,
.contact-cards > * > div,
.quote-form,
.quote-form label,
.form-row,
.form-row > * {
  min-width: 0;
  max-width: 100%;
}

.quote-form {
  width: 100%;
}

.contact-cards strong,
.contact-cards bdi,
.footer-contact strong,
.footer-contact bdi {
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.button {
  white-space: nowrap;
}

@media (min-width: 621px) and (max-width: 900px) {
  .sop-layout-grid {
    grid-template-columns: repeat(var(--sop-cols-tablet, 2), minmax(0, 1fr)) !important;
  }

  .visual-badge {
    left: 18px;
    right: auto;
    width: min(270px, calc(100% - 36px));
    min-width: 0;
  }

  .heading-row > .button {
    flex: 0 0 auto;
    min-width: max-content;
  }

  .cta-actions {
    flex: 0 0 176px;
    width: 176px;
  }

  .cta-actions .button {
    width: 176px;
    min-width: 176px;
  }
}

@media (max-width: 620px) {
  html,
  body {
    max-width: 100%;
    overflow-x: clip;
  }

  .section {
    padding-block: 64px;
  }

  .contact-section {
    overflow: clip;
  }

  .contact-grid {
    width: min(100% - 28px, 1180px);
    gap: 42px;
  }

  .quote-form {
    padding: 24px 16px;
    overflow: hidden;
  }

  .form-row {
    width: 100%;
  }

  .quote-form input,
  .quote-form select,
  .quote-form textarea {
    min-width: 0;
    max-width: 100%;
  }

  .sop-layout-grid {
    grid-template-columns: repeat(var(--sop-cols-mobile, 1), minmax(0, 1fr)) !important;
  }

  .sop-mobile-carousel {
    width: 100%;
    max-width: 100%;
    padding: 4px 2px 18px;
    display: grid !important;
    grid-template-columns: none !important;
    grid-template-rows: repeat(var(--sop-mobile-rows, 1), minmax(0, auto));
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 36px) / var(--sop-cols-mobile, 1));
    grid-auto-rows: unset !important;
    gap: 14px;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-inline: contain;
    scroll-behavior: smooth;
    scroll-snap-type: inline mandatory;
    scroll-padding-inline: 2px;
    scrollbar-width: none;
    cursor: grab;
    -webkit-overflow-scrolling: touch;
  }

  .sop-mobile-carousel:active {
    cursor: grabbing;
  }

  .sop-mobile-carousel::-webkit-scrollbar {
    display: none;
  }

  .sop-mobile-carousel > * {
    width: auto;
    min-width: 0;
    grid-column: auto !important;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }

  .projects-grid.sop-mobile-carousel {
    grid-template-rows: repeat(var(--sop-mobile-rows, 1), 300px);
  }

  .clients-card-grid.sop-mobile-carousel {
    grid-template-rows: repeat(var(--sop-mobile-rows, 1), minmax(155px, auto));
  }

  .contact-cards.sop-mobile-carousel {
    margin-inline: 0;
    grid-template-rows: repeat(var(--sop-mobile-rows, 1), minmax(92px, auto));
  }


  .site-footer {
    text-align: center;
  }

  .footer-grid {
    justify-items: center;
    text-align: center;
  }

  .footer-grid > div,
  .footer-brand,
  .footer-contact {
    width: 100%;
    display: flex;
    align-items: center;
    flex-direction: column;
    text-align: center;
  }

  .site-footer .brand-logo-only,
  .footer-brand p,
  .whatsapp-link {
    margin-inline: auto;
  }

  .footer-grid ul {
    width: 100%;
    text-align: center;
  }

  .footer-contact > a,
  .footer-contact > div {
    width: 100%;
    align-items: center !important;
    text-align: center;
  }

  .footer-bottom {
    align-items: center !important;
    text-align: center;
  }

  .footer-bottom > div {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }
}




.sop-row-hidden {
  display: none !important;
}

.sop-grid-more {
  min-height: 44px;
  margin: 24px auto 0;
  padding: 10px 24px;
  display: block;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--primary);
  background: var(--white);
  font: inherit;
  font-size: 14px;
  font-weight: 750;
  cursor: pointer;
  transition: transform 0.35s cubic-bezier(.2,.7,.2,1), border-color 0.3s ease, box-shadow 0.35s ease, background-color 0.3s ease;
}

.sop-grid-more[hidden] {
  display: none;
}

@media (max-width: 620px) {
  .sop-grid-more {
    display: none;
  }
}

@media (hover: hover) {
  .sop-grid-more:hover {
    transform: translateY(-2px);
    border-color: rgba(48, 72, 157, 0.35);
    background: #f8f9ff;
    box-shadow: 0 12px 28px rgba(31, 49, 111, 0.11);
  }
}

/* Version 2.7.0 — unified section system, clearer cards, process flow and lightbox. */

/* Section eyebrow is a component everywhere except page heroes. */
.section-heading > span,
.section-kicker,
.inner-heading > span,
.vision-grid .section-kicker,
.company-data .section-kicker,
.support-strip .section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 0;
  font-weight: 800;
}

.section-kicker,
.inner-heading > span,
.vision-grid .section-kicker,
.support-strip .section-kicker { color: var(--primary); }

.section-heading > span::before,
.section-kicker::before,
.inner-heading > span::before {
  content: "";
  width: 26px;
  height: 2px;
  flex: 0 0 26px;
  background: currentColor;
  border-radius: 999px;
}

.company-data .section-kicker { color: #dfe5ff; }

/* Home hero outline remains optional without touching image geometry. */
.hero-media-no-outline::before { display: none !important; }

/* Heroes enter immediately on page load; later sections keep scroll reveal. */
@keyframes sopHeroEnter {
  from { opacity: 0; transform: translate3d(0, 22px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}

.sop-motion-enabled .hero-copy,
.sop-motion-enabled .page-hero-grid > * {
  animation: sopHeroEnter .72s cubic-bezier(.2,.72,.2,1) both;
}
.sop-motion-enabled .hero-media,
.sop-motion-enabled .page-hero-grid > *:nth-child(2) {
  animation: sopHeroEnter .82s .11s cubic-bezier(.2,.72,.2,1) both;
}

/* Home feature icons. */
.feature-icon.feature-icon-svg { padding: 9px; }
.feature-icon.feature-icon-svg svg { width: 22px; height: 22px; }

/* Services: more image, less dead vertical space. */
.service-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}
.service-image { height: 265px; flex: 0 0 265px; }
.service-card-body {
  padding: 20px 22px 21px;
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
}
.service-card-body h3 { margin: 6px 0 7px; }
.service-card-body p { min-height: 52px; margin-bottom: 10px; line-height: 1.85; }
.service-card-body b { margin-top: auto; }

/* Why: values are meanings, not sequence numbers. */
.why-grid article { min-height: 178px; }
.why-icon {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,.19);
  border-radius: 12px;
  background: rgba(255,255,255,.12);
  color: #fff;
}
.why-icon svg { width: 22px; height: 22px; color: #fff; }
.why-grid h3 { margin-top: 13px; }

/* Process: number + icon + title + description with a visual sequence. */
.process-grid { position: relative; }
.process-grid article {
  min-height: 192px;
  padding: 24px;
  overflow: visible;
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}
.process-grid article::after { display: none; }
.process-grid article:hover {
  transform: translateY(-4px);
  border-color: rgba(48,72,157,.28);
  box-shadow: 0 18px 44px rgba(20,35,77,.08);
}
.process-grid article::before { display: none; }
.process-step-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.process-step-icon {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 13px;
  background: rgba(48,72,157,.09);
  color: var(--primary);
}
.process-step-icon svg { width: 22px; height: 22px; }
.process-step-meta { display: inline-flex; align-items: center; gap: 9px; }
.process-step-head b {
  color: var(--primary);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}
.process-flow-mark { color: rgba(48,72,157,.58); font-size: 18px; font-style: normal; line-height: 1; }
.process-grid h3 { margin: 15px 0 7px; }

/* About values: icon and title form one compact heading. */
.values-grid article { min-height: 205px; padding: 22px; }
.value-card-head { display: flex; align-items: center; gap: 12px; }
.value-icon {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border-radius: 12px;
  color: var(--primary);
  background: rgba(48,72,157,.09);
}
.value-icon svg { width: 22px; height: 22px; }
.values-grid .value-card-head h3 { margin: 0; }
.values-grid article > p { margin-top: 16px; line-height: 1.9; }

/* Six sector families instead of a long flat database-like list. */
.sector-family-grid article { min-height: 270px; padding: 28px; }
.sector-family-grid article > span { position: static; }
.sector-family-grid h2 { margin: 22px 0 9px; }
.sector-tags { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 7px; }
.sector-tags span {
  padding: 6px 9px;
  position: static !important;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--muted) !important;
  font-size: 11px !important;
  font-weight: 650 !important;
}

/* Service detail suitable-sector cards. */
.suitable-grid div { min-height: 135px; padding: 22px 18px; }
.suitable-grid .sector-card-icon { width: 42px; height: 42px; padding: 9px; border-radius: 12px; background: rgba(48,72,157,.09); }
.suitable-grid span { font-size: 14px; font-weight: 750; }
.related-projects-single { grid-template-columns: 1fr !important; }
.related-projects-single .project-card { min-height: 430px; }

/* Project facts are metadata, not steps. */
.project-meta > div { grid-template-columns: 42px .55fr 1fr; }
.project-meta-icon {
  width: 40px;
  height: 40px;
  padding: 9px;
  border-radius: 11px;
  background: rgba(48,72,157,.09);
}

/* Gallery now supports linked images/lightbox while keeping the collage. */
.project-gallery > .project-gallery-item,
.project-gallery > img {
  min-width: 0;
  overflow: hidden;
  border-radius: 16px;
}
.project-gallery > .project-gallery-item { display: block; position: relative; cursor: zoom-in; }
.project-gallery > .project-gallery-item img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 0; transition: transform .35s ease; }
.project-gallery > .project-gallery-item:hover img { transform: scale(1.025); }
.project-gallery > :nth-child(6n + 1),
.project-gallery > :nth-child(6n + 4) { grid-column: span 7; }
.project-gallery > :nth-child(6n + 2),
.project-gallery > :nth-child(6n + 3),
.project-gallery > :nth-child(6n + 5),
.project-gallery > :nth-child(6n + 6) { grid-column: span 5; }

.related-service-card {
  min-height: 112px;
  padding: 24px 26px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.related-service-card:hover { transform: translateY(-3px); border-color: rgba(48,72,157,.25); box-shadow: var(--shadow); }
.related-service-icon { width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: rgba(48,72,157,.09); color: var(--primary); }
.related-service-card div { display: grid; gap: 4px; }
.related-service-card div span { color: var(--muted); font-size: 12px; }
.related-service-card div strong { font-size: 18px; }
.related-service-card > svg { width: 22px; color: var(--primary); }

/* Support statement: compact hierarchy instead of a wide empty banner. */
.support-strip .support-card {
  grid-template-columns: auto minmax(280px,.95fr) minmax(280px,1.05fr);
  gap: 20px 28px;
  padding: 30px 32px;
}
.support-icon {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 15px;
  background: rgba(48,72,157,.09);
  color: var(--primary);
}
.support-icon svg { width: 26px; height: 26px; padding: 0; background: transparent; }
.support-copy h2 { margin-top: 5px; line-height: 1.55; }
.support-strip .support-card > p { max-width: 540px; line-height: 2; }

/* Native select is kept for mobile/accessibility; style everything browsers allow. */
.quote-form select { background-color: #fff; color: var(--ink); border-color: var(--line); cursor: pointer; }
.quote-form select:hover { border-color: rgba(48,72,157,.34); }
.quote-form select option { background: #fff; color: var(--ink); padding: 10px; }
.quote-form select option:checked { color: #fff; background: var(--primary); }

/* Full-screen accessible image viewer. */
body.sop-lightbox-open { overflow: hidden; }
.sop-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100000;
  opacity: 0;
  transition: opacity .18s ease;
}
.sop-lightbox.is-open { opacity: 1; }
.sop-lightbox-backdrop { position: absolute; inset: 0; background: rgba(5,10,28,.94); }
.sop-lightbox-stage { position: relative; width: 100%; height: 100%; display: grid; grid-template-columns: 70px minmax(0,1fr) 70px; align-items: center; padding: 64px 26px 24px; }
.sop-lightbox figure { width: 100%; height: 100%; margin: 0; display: grid; grid-template-rows: minmax(0,1fr) auto; place-items: center; gap: 12px; }
.sop-lightbox figure img { max-width: 100%; max-height: calc(100vh - 116px); object-fit: contain; border-radius: 8px; transition: transform .22s ease; cursor: zoom-in; }
.sop-lightbox.is-zoomed figure { overflow: auto; place-items: start center; }
.sop-lightbox.is-zoomed figure img { max-width: none; max-height: none; width: auto; min-width: min(150vw, 1800px); cursor: zoom-out; }
.sop-lightbox figcaption { min-height: 32px; display: flex; align-items: center; justify-content: center; gap: 18px; color: #fff; font-size: 13px; }
.sop-lightbox button { border: 0; color: #fff; background: rgba(255,255,255,.11); cursor: pointer; }
.sop-lightbox button:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.sop-lightbox-close { position: absolute; top: 18px; inset-inline-end: 22px; z-index: 2; width: 44px; height: 44px; border-radius: 50%; font-size: 30px; line-height: 1; }
.sop-lightbox-nav { width: 48px; height: 48px; justify-self: center; border-radius: 50%; font-size: 34px; line-height: 1; }
.sop-lightbox-zoom { padding: 7px 12px; border-radius: 999px; font: inherit; }

@media (max-width: 900px) {
  .service-image { height: 245px; flex-basis: 245px; }
  .support-strip .support-card { grid-template-columns: auto 1fr; }
  .support-strip .support-card > p { grid-column: 1 / -1; }
  .project-gallery > :nth-child(n) { grid-column: auto; }
}

@media (max-width: 620px) {
  /* The default process experience is a true vertical timeline. */
  .process-grid:not(.sop-mobile-carousel) { grid-template-columns: 1fr !important; gap: 14px; padding-inline-start: 18px; }
  .process-grid:not(.sop-mobile-carousel)::before { content: ""; position: absolute; inset-inline-start: 0; top: 24px; bottom: 24px; width: 1px; background: rgba(48,72,157,.2); }
  .process-grid:not(.sop-mobile-carousel) article { min-height: 0; }
  .process-grid:not(.sop-mobile-carousel) article::before { display: none; }
  .process-grid:not(.sop-mobile-carousel) article::after { content: ""; display: block; position: absolute; inset-inline-start: -23px; top: 36px; width: 10px; height: 10px; border: 3px solid var(--paper); border-radius: 50%; background: var(--primary); transform: none; }
  .process-grid:not(.sop-mobile-carousel) .process-flow-mark { display: none; }
  .service-image { height: 225px; flex-basis: 225px; }
  .service-card-body { padding: 18px; }
  .service-card-body p { min-height: 0; }
  .values-grid article { min-height: 0; }
  .sector-family-grid article { min-height: 0; }
  .support-strip .support-card { grid-template-columns: 1fr; padding: 24px 20px; }
  .support-strip .support-card > p { grid-column: auto; }
  .sop-lightbox-stage { grid-template-columns: 44px minmax(0,1fr) 44px; padding: 60px 8px 16px; }
  .sop-lightbox-nav { width: 38px; height: 38px; font-size: 28px; }
  .sop-lightbox-close { top: 12px; inset-inline-end: 12px; width: 40px; height: 40px; }
  .related-service-card { grid-template-columns: auto 1fr; padding: 20px; }
  .related-service-card > svg { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .sop-motion-enabled .hero-copy,
  .sop-motion-enabled .hero-media,
  .sop-motion-enabled .page-hero-grid > * { animation: none !important; }
  .sop-lightbox { transition: none; }
}

@media (max-width: 620px) {
  .project-gallery.sop-gallery-responsive:not(.sop-mobile-carousel) {
    grid-template-columns: repeat(var(--sop-cols-mobile, 1), minmax(0,1fr)) !important;
    grid-auto-rows: 220px;
  }
  .project-gallery.sop-gallery-responsive.sop-mobile-carousel {
    grid-template-rows: 280px;
    grid-auto-columns: calc((100% - 36px) / var(--sop-cols-mobile, 1));
  }
}

/* Fully branded quote-form dropdown. The native select remains the submitted field. */
.quote-form label { position: relative; }
.quote-form select.sop-native-select {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.sop-custom-select { position: relative; width: 100%; direction: rtl; }
.sop-custom-select-trigger {
  width: 100%;
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 15px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink);
  background: #fff;
  font: inherit;
  text-align: right;
  cursor: pointer;
  transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.sop-custom-select-trigger:hover { border-color: rgba(48,72,157,.36); }
.sop-custom-select.is-open .sop-custom-select-trigger,
.sop-custom-select-trigger:focus-visible {
  border-color: var(--primary);
  outline: 0;
  box-shadow: 0 0 0 3px rgba(48,72,157,.10);
}
.sop-custom-select-arrow {
  width: 9px;
  height: 9px;
  flex: 0 0 9px;
  border-inline-end: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform .2s ease;
}
.sop-custom-select.is-open .sop-custom-select-arrow { transform: rotate(225deg) translate(-1px,-1px); }
.sop-custom-select-list {
  position: absolute;
  inset-inline: 0;
  top: calc(100% + 7px);
  z-index: 50;
  max-height: 290px;
  padding: 6px;
  overflow-y: auto;
  border: 1px solid rgba(48,72,157,.18);
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 20px 48px rgba(20,35,77,.16);
}
.sop-custom-select-list[hidden] { display: none !important; }
.sop-custom-select-option {
  min-height: 42px;
  display: flex;
  align-items: center;
  padding: 9px 11px;
  border-radius: 9px;
  color: var(--ink);
  background: #fff;
  outline: 0;
  cursor: pointer;
  transition: color .15s ease, background-color .15s ease;
}
.sop-custom-select-option:hover,
.sop-custom-select-option:focus-visible { background: #f0f3ff; color: var(--primary); }
.sop-custom-select-option.is-selected { background: var(--primary); color: #fff; font-weight: 750; }
.sop-custom-select-option.is-selected:hover,
.sop-custom-select-option.is-selected:focus-visible { background: var(--primary-dark); color: #fff; }
.sop-custom-select.has-placeholder .sop-custom-select-trigger { color: var(--muted); }
.sop-custom-select-option.is-placeholder { color: var(--muted); }
.sop-custom-select-option.is-disabled { opacity: .48; cursor: not-allowed; }
.sop-custom-select-option.is-disabled:hover,
.sop-custom-select-option.is-disabled:focus-visible { color: var(--muted); background: #fff; }

/* Version 2.7.1 — visual QA pass: spacing, icon language, RTL controls and lightbox. */

/* Global rhythm: the 2.7.0 build was too vertically loose on inner pages. */
.section { padding-block: 82px; }
.heading-row { margin-bottom: 34px; align-items: center; }
.inner-heading { margin-bottom: 32px; }
.section-heading h2 { margin-block: 10px 13px; }
.section-heading p { line-height: 1.9; }

.page-hero { padding-block: 64px; }
.page-hero-grid { min-height: 280px; gap: 56px; }
.page-hero:not(.page-hero-with-image) .page-hero-grid { min-height: 225px; }
.page-hero-image { height: 360px; }
.page-hero h1 { margin-block: 10px 13px; }
.breadcrumbs { margin-top: 20px; }

/* One coherent outlined icon language across the site. */
.feature-icon svg,
.why-icon svg,
.value-icon svg,
.process-step-icon svg,
.sector-card-icon,
.project-meta-icon,
.related-service-icon,
.contact-card-icon,
.support-icon svg,
.suitable-grid svg {
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 1.8 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
}

/* Home / About introduction. */
.about-grid { gap: 62px; }
.about-visual > img {
  aspect-ratio: 4 / 4.15;
  border-radius: 24px 24px 8px 24px;
}
.visual-badge {
  left: -18px;
  bottom: 26px;
  min-width: 248px;
  padding: 14px 16px;
  gap: 11px;
  border: 1px solid rgba(48,72,157,.10);
  box-shadow: 0 14px 34px rgba(20,35,77,.12);
}
.icon-mark { width: 38px; height: 38px; }
.feature-list { margin-block: 26px 20px; gap: 14px; }
.feature-list article { gap: 13px; }
.feature-icon.feature-icon-svg {
  width: 44px;
  height: 44px;
  padding: 10px;
  color: var(--primary);
  background: #edf1fb;
  border: 1px solid rgba(48,72,157,.08);
  border-radius: 13px;
}
.feature-icon.feature-icon-svg svg { width: 22px; height: 22px; }
.feature-list h3 { font-size: 16px; }
.feature-list p { margin-top: 2px; font-size: 13px; line-height: 1.8; }

/* Service cards: stronger image-to-copy proportion without growing the whole card. */
.service-image { height: 282px; flex-basis: 282px; }
.service-card-body { padding: 18px 20px 19px; }
.service-card-body > span { font-size: 12px; }
.service-card-body h3 { margin: 5px 0 6px; }
.service-card-body p { min-height: 46px; margin-bottom: 8px; line-height: 1.75; }

/* Why section: cleaner glass cards and brighter, branded icons. */
.why-shell { padding: 52px; gap: 46px; }
.why-grid { gap: 12px; }
.why-grid article {
  min-height: 158px;
  padding: 19px;
  border-color: rgba(255,255,255,.18);
  background: rgba(255,255,255,.105);
}
.why-icon {
  width: 40px;
  height: 40px;
  color: #e7ecff;
  background: rgba(255,255,255,.14);
  border-color: rgba(255,255,255,.20);
}
.why-icon svg { width: 20px; height: 20px; color: currentColor; }
.why-grid h3 { margin: 10px 0 4px; font-size: 15px; }
.why-grid p { color: rgba(255,255,255,.74); line-height: 1.75; }

/* Process cards: icon + number + title belong to one header. Remove decorative arrows. */
.process-grid { margin-top: 34px; gap: 16px; }
.process-grid article {
  min-height: 166px;
  padding: 21px 22px;
  overflow: hidden;
}
.process-step-head {
  justify-content: flex-start;
  align-items: center;
  gap: 12px;
}
.process-step-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border: 1px solid rgba(48,72,157,.08);
  border-radius: 12px;
  background: #eef1fa;
}
.process-step-icon svg { width: 20px; height: 20px; }
.process-step-title {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}
.process-step-title b {
  min-width: 32px;
  height: 26px;
  padding-inline: 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border-radius: 999px;
  color: var(--primary);
  background: rgba(48,72,157,.075);
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}
.process-step-title h3 { margin: 0; font-size: 17px; line-height: 1.5; }
.process-grid article > p { margin: 13px 54px 0 0; line-height: 1.8; }
.process-flow-mark,
.process-step-meta { display: none !important; }

/* About page: tighten prose and values so they read as one system. */
.prose-section { padding-block: 76px; }
.prose-grid {
  grid-template-columns: 170px minmax(0,1fr);
  align-items: start;
  gap: 44px;
}
.long-copy { max-width: 820px; }
.long-copy h2 { margin-bottom: 14px; }
.long-copy p { margin-block: 0 12px; }
.long-copy blockquote {
  margin-top: 24px;
  padding: 20px 24px;
  font-size: 17px;
  line-height: 1.8;
}
.values-grid { gap: 12px; }
.values-grid article { min-height: 176px; padding: 20px; }
.value-card-head { gap: 10px; }
.value-icon {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(48,72,157,.08);
  background: #eef1fa;
}
.value-icon svg { width: 20px; height: 20px; }
.values-grid .value-card-head h3 { font-size: 16px; }
.values-grid article > p { margin-top: 12px; line-height: 1.8; }

/* Home sector cards. */
.sector-card-grid { gap: 14px; }
.sector-card { min-height: 138px; padding: 20px; gap: 14px; }
.sector-card-icon,
.sectors-page-grid .sector-card-icon {
  width: 44px;
  height: 44px;
  padding: 10px;
  border-radius: 12px;
  background: #eef1fa;
}
.sector-card h3 { margin-bottom: 5px; }
.sector-card p { line-height: 1.7; }

/* Sector catalogue: less database-like, less dense. */
.sector-family-grid { gap: 18px; }
.sector-family-grid article { min-height: 238px; padding: 24px; }
.sector-family-grid h2 { margin: 16px 0 7px; font-size: 20px; line-height: 1.55; }
.sector-family-grid p { line-height: 1.8; }
.sector-tags { margin-top: 14px; gap: 6px; }
.sector-tags span { padding: 5px 8px; background: #f8f9fd; }
.sector-solutions { padding-top: 18px; }
.solution-columns { gap: 14px; }
.solution-columns article { padding: 24px; }

/* Service detail: strengthen the first content block and eliminate empty sectors space. */
.service-overview-grid {
  grid-template-columns: minmax(0,1.05fr) minmax(320px,.95fr);
  gap: 54px;
}
.include-card { padding: 28px; box-shadow: 0 12px 32px rgba(20,35,77,.08); }
.include-card ul { gap: 10px; }
.suitable-section { padding-block: 72px; }
.suitable-section .inner-heading { margin-bottom: 28px; }
.suitable-grid {
  width: min(960px, 100%);
  margin-inline: auto;
  grid-template-columns: repeat(auto-fit, minmax(220px,1fr));
  gap: 14px;
}
.suitable-grid div {
  min-height: 112px;
  padding: 18px 20px;
  flex-direction: row;
  justify-content: flex-start;
  gap: 12px;
  text-align: right;
  background: var(--white);
}
.suitable-grid .sector-card-icon { width: 42px; height: 42px; flex: 0 0 42px; }
.suitable-grid span { font-size: 15px; }

/* Related project: featured when it is alone, but not an oversized billboard. */
.related-projects-single {
  width: min(920px,100%);
  margin-inline: auto;
}
.related-projects-single .project-card { min-height: 360px; max-height: 390px; }
.projects-section .heading-row .inner-heading { margin-bottom: 0; }

/* Project detail metadata / gallery. */
.project-summary-grid { gap: 56px; }
.project-meta > div { padding: 14px 16px; border: 1px solid rgba(48,72,157,.08); box-shadow: 0 9px 24px rgba(20,35,77,.055); }
.gallery-section .inner-heading { margin-bottom: 28px; }
.project-gallery { gap: 10px; }

/* Contact form: cleaner fields and a correct down-chevron. */
.contact-grid { grid-template-columns: minmax(0,.92fr) minmax(0,1.08fr); gap: 54px; }
.quote-form { padding: 30px; gap: 18px; box-shadow: 0 14px 38px rgba(20,35,77,.08); }
.quote-form input,
.quote-form textarea,
.sop-custom-select-trigger { background: #fff; }
.quote-form textarea { min-height: 150px; }
.sop-custom-select-trigger { min-height: 50px; }
.sop-custom-select-arrow {
  border: 0;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translate(-2px,-2px);
}
.sop-custom-select.is-open .sop-custom-select-arrow { transform: rotate(225deg) translate(-1px,-1px); }
.sop-custom-select-list { z-index: 120; }

/* Support / maintenance: keep the sentence together and remove the dead middle gap. */
.support-strip .support-card {
  grid-template-columns: 52px minmax(0,1fr) minmax(260px,.85fr);
  gap: 18px 22px;
  padding: 26px 28px;
}
.support-icon { width: 48px; height: 48px; border-radius: 13px; background: #eef1fa; }
.support-icon svg { width: 23px; height: 23px; }
.support-copy h2 { margin-top: 3px; font-size: 21px; line-height: 1.55; }
.support-strip .support-card > p { max-width: 460px; line-height: 1.85; }

/* Lightbox: physical LTR controls, fixed top-right close, fit by default, hidden scrollbars when zoomed. */
body.sop-lightbox-open { overflow: hidden !important; }
.sop-lightbox { z-index: 2147483000; }
.sop-lightbox-backdrop { background: rgba(6,12,31,.965); }
.sop-lightbox-stage {
  position: relative;
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: 62px minmax(0,1fr) 62px;
  align-items: center;
  gap: 12px;
  padding: 64px 22px 22px;
  direction: ltr;
}
.sop-lightbox figure {
  min-width: 0;
  min-height: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  display: grid;
  grid-template-rows: minmax(0,1fr) 38px;
  gap: 10px;
  direction: rtl;
}
.sop-lightbox-media {
  min-width: 0;
  min-height: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 10px;
  scrollbar-width: none;
  overscroll-behavior: contain;
}
.sop-lightbox-media::-webkit-scrollbar { display: none; }
.sop-lightbox figure img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 8px;
  cursor: zoom-in;
  transition: width .2s ease, max-width .2s ease, max-height .2s ease;
}
.sop-lightbox.is-zoomed .sop-lightbox-media {
  display: block;
  overflow: auto;
  text-align: center;
}
.sop-lightbox.is-zoomed figure img {
  width: 160%;
  max-width: none;
  max-height: none;
  margin-inline: auto;
  cursor: zoom-out;
}
.sop-lightbox figcaption {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: #fff;
}
.sop-lightbox-count {
  min-width: 48px;
  direction: ltr;
  unicode-bidi: isolate;
  text-align: center;
  font-variant-numeric: tabular-nums;
}
.sop-lightbox-close {
  top: 16px;
  right: 18px !important;
  left: auto !important;
  inset-inline: auto !important;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.14);
  font-size: 28px;
}
.sop-lightbox-nav {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.14);
  font-size: 30px;
}
.sop-lightbox-prev { grid-column: 1; }
.sop-lightbox figure { grid-column: 2; }
.sop-lightbox-next { grid-column: 3; }
.sop-lightbox-zoom {
  min-width: 70px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.13);
}

@media (max-width: 900px) {
  .section { padding-block: 68px; }
  .page-hero { padding-block: 54px; }
  .page-hero-grid { min-height: 0; gap: 34px; }
  .page-hero-image { height: 320px; }
  .about-grid { gap: 42px; }
  .why-shell { padding: 38px; gap: 34px; }
  .prose-grid { grid-template-columns: 1fr; gap: 14px; }
  .service-overview-grid { grid-template-columns: 1fr; gap: 32px; }
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .support-strip .support-card { grid-template-columns: 48px 1fr; }
  .support-strip .support-card > p { grid-column: 1 / -1; max-width: none; margin-top: 2px; }
}

@media (max-width: 620px) {
  .section { padding-block: 54px; }
  .heading-row { margin-bottom: 26px; }
  .inner-heading { margin-bottom: 24px; }
  .page-hero { padding-block: 44px; }
  .page-hero-image { height: 270px; }
  .visual-badge { left: 12px; right: 12px; bottom: 14px; min-width: 0; width: auto; }
  .service-image { height: 230px; flex-basis: 230px; }
  .why-shell { padding: 28px 20px; border-radius: 22px 22px 8px 22px; }
  .process-grid article { padding: 18px; }
  .process-grid article > p { margin: 11px 52px 0 0; }
  .process-step-title { gap: 7px; }
  .process-step-title h3 { font-size: 16px; }
  .values-grid article { padding: 18px; }
  .sector-family-grid article { padding: 20px; }
  .suitable-grid { grid-template-columns: 1fr; }
  .suitable-grid div { min-height: 92px; }
  .quote-form { padding: 22px 16px; }
  .support-strip .support-card { grid-template-columns: 44px 1fr; padding: 22px 18px; }
  .support-icon { width: 44px; height: 44px; }
  .sop-lightbox-stage { grid-template-columns: 42px minmax(0,1fr) 42px; gap: 5px; padding: 58px 6px 12px; }
  .sop-lightbox-nav { width: 36px; height: 36px; font-size: 25px; }
  .sop-lightbox-close { top: 10px; right: 10px !important; width: 38px; height: 38px; }
  .sop-lightbox figure { grid-template-rows: minmax(0,1fr) 36px; }
  .sop-lightbox.is-zoomed figure img { width: 220%; }
}

/* Neutralize legacy zoom rules from 2.7.0. */
.sop-lightbox.is-zoomed figure { overflow: hidden; place-items: initial; }
.sop-lightbox.is-zoomed figure img { min-width: 0; }

/* Version 2.7.2 — screenshot QA corrections. */

/* Tighter, consistent vertical rhythm across real page captures. */
.section { padding-block: 68px; }
.section-heading { max-width: 800px; }
.inner-heading { max-width: 900px; margin-bottom: 26px; }
.section-heading h2,
.inner-heading h2 { font-size: clamp(30px, 3.65vw, 46px); }
.section-heading p { max-width: 760px; }

/* The dark "Why" panel should not sit inside a second large white top gap. */
.why-section { padding-top: 0; padding-bottom: 58px; }
.why-shell { padding: 46px 48px; gap: 38px; }
.why-grid article { min-height: 146px; padding: 17px 18px; }
.why-grid h3 { margin: 8px 0 3px; }
.why-copy .button { margin-top: 20px; }

/* About intro: use the actual site container width instead of a narrow article column. */
.prose-section { padding-block: 62px; }
.prose-grid {
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 34px;
}
.long-copy { width: 100%; max-width: none; }
.long-copy h2 { max-width: 960px; }
.long-copy p { max-width: none; font-size: 15px; line-height: 2; }
.long-copy blockquote { width: 100%; margin-top: 20px; padding: 18px 22px; }

/* Values: remove the large dead zone and keep the five-card row compact. */
.values-section { padding-block: 62px; }
.values-section .inner-heading { margin-bottom: 24px; }
.values-grid article { min-height: 158px; padding: 18px; }
.values-grid article > p { margin-top: 9px; line-height: 1.75; }
.value-icon { width: 38px; height: 38px; }
.value-icon svg { width: 19px; height: 19px; }

/* Process sections were receiving both heading margin and grid margin. Keep only one gap. */
.process-section { padding-block: 62px; }
.process-section .inner-heading + .process-grid { margin-top: 0; }
.process-grid { margin-top: 26px; gap: 14px; }
.process-grid article { min-height: 146px; padding: 19px 21px; }
.process-step-head { gap: 9px; }
.process-step-icon { width: 40px; height: 40px; flex-basis: 40px; }
.process-step-icon svg { width: 19px; height: 19px; }
.process-step-title { gap: 8px; }
.process-step-title b { min-width: 30px; height: 24px; font-size: 10px; }
.process-step-title h3 { font-size: 16px; }
.process-grid article > p { margin: 9px 49px 0 0; line-height: 1.7; }
.process-section .inner-heading h2 { max-width: 820px; }

/* Service detail: compact section-to-section rhythm. */
.single-sop_service .suitable-section,
.single-sop_service .process-section,
.single-sop_service .projects-section { padding-block: 62px; }
.single-sop_service .suitable-section .inner-heading { margin-bottom: 24px; }
.single-sop_service .suitable-grid { width: min(1020px, 100%); }
.single-sop_service .suitable-grid div { min-height: 98px; }

/* Project related service: heading and card are one composed block, not two full-width rows. */
.project-related-service { padding-block: 62px; }
.project-related-service .container {
  display: grid;
  grid-template-columns: minmax(300px, .9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: 42px;
}
.project-related-service .inner-heading { margin: 0; max-width: 560px; }
.project-related-service .inner-heading h2 {
  margin-bottom: 0;
  font-size: clamp(28px, 3.25vw, 40px);
  line-height: 1.45;
}
.related-service-card {
  min-height: 116px;
  padding: 22px 24px;
  grid-template-columns: 48px minmax(0,1fr) 26px;
  gap: 15px;
}
.related-service-card > .related-service-icon {
  width: 46px !important;
  height: 46px !important;
  padding: 10px;
  color: var(--primary);
  background: #eef1fa;
  border-radius: 13px;
}
.related-service-card div { gap: 3px; }
.related-service-card div strong { font-size: 18px; line-height: 1.55; }
.related-service-card > svg:not(.related-service-icon) {
  width: 22px;
  height: 22px;
  color: var(--primary);
  fill: none;
  stroke: currentColor;
}

/* Lightbox: physical controls, fixed top-right close, explicit zoom out / fit / zoom in. */
.sop-lightbox-close {
  position: fixed !important;
  top: 16px !important;
  right: 18px !important;
  left: auto !important;
  inset-inline: auto !important;
  z-index: 2147483646 !important;
}
.sop-lightbox-stage {
  grid-template-columns: 58px minmax(0,1fr) 58px;
  gap: 10px;
  padding: 58px 20px 16px;
}
.sop-lightbox figure { grid-template-rows: minmax(0,1fr) 42px; gap: 8px; }
.sop-lightbox-media {
  overflow: hidden !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
.sop-lightbox-media.is-pannable {
  overflow: auto !important;
  display: block !important;
  text-align: center;
}
.sop-lightbox-media img {
  margin-inline: auto;
  transition: width .18s ease, max-width .18s ease, max-height .18s ease;
}
.sop-lightbox-tools {
  display: inline-flex;
  direction: ltr;
  align-items: center;
  gap: 5px;
  padding: 3px;
  border-radius: 999px;
  background: rgba(255,255,255,.07);
}
.sop-lightbox-tools button {
  min-width: 34px;
  height: 30px;
  padding: 0 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font: inherit;
  font-size: 14px;
}
.sop-lightbox-zoom-reset { min-width: 64px !important; font-size: 12px !important; }
.sop-lightbox-tools button.is-active { background: rgba(255,255,255,.2); }
.sop-lightbox-tools button:disabled { opacity: .35; cursor: default; }
.sop-lightbox figcaption { gap: 12px; }
.sop-lightbox-count { min-width: 46px; }
.sop-lightbox-prev { grid-column: 1 !important; }
.sop-lightbox figure { grid-column: 2 !important; }
.sop-lightbox-next { grid-column: 3 !important; }

/* Quote dropdown: calm selection state, readable placeholder, consistent brand scroll bar. */
.sop-custom-select-list {
  max-height: 272px;
  padding: 6px;
  scrollbar-width: thin;
  scrollbar-color: rgba(48,72,157,.42) transparent;
}
.sop-custom-select-list::-webkit-scrollbar { width: 7px; }
.sop-custom-select-list::-webkit-scrollbar-thumb { background: rgba(48,72,157,.36); border-radius: 999px; }
.sop-custom-select-option { min-height: 43px; padding: 9px 12px; }
.sop-custom-select-option.is-selected {
  position: relative;
  padding-inline-end: 38px;
  color: var(--primary-dark);
  background: #eef2ff;
  box-shadow: inset 0 0 0 1px rgba(48,72,157,.12);
  font-weight: 800;
}
.sop-custom-select-option.is-selected::after {
  content: "✓";
  position: absolute;
  inset-inline-end: 13px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--primary);
  font-size: 13px;
}
.sop-custom-select-option.is-selected:hover,
.sop-custom-select-option.is-selected:focus-visible {
  color: var(--primary-dark);
  background: #e7edff;
}
.sop-custom-select-option.is-placeholder.is-selected {
  padding-inline-end: 12px;
  color: var(--muted);
  background: #f7f8fb;
  box-shadow: none;
  font-weight: 650;
}
.sop-custom-select-option.is-placeholder.is-selected::after { display: none; }

@media (max-width: 900px) {
  .section { padding-block: 58px; }
  .why-section { padding-top: 0; padding-bottom: 48px; }
  .prose-grid { grid-template-columns: 1fr; gap: 12px; }
  .project-related-service .container { grid-template-columns: 1fr; gap: 24px; }
  .project-related-service .inner-heading { max-width: 760px; }
}

@media (max-width: 620px) {
  .section { padding-block: 46px; }
  .why-section { padding-top: 0; padding-bottom: 42px; }
  .why-shell { padding: 24px 18px; gap: 24px; }
  .process-grid article { padding: 17px; }
  .process-grid article > p { margin: 8px 47px 0 0; }
  .values-grid article { padding: 17px; }
  .related-service-card { min-height: 104px; padding: 18px; }
  .sop-lightbox-stage { grid-template-columns: 38px minmax(0,1fr) 38px; padding: 54px 4px 10px; }
  .sop-lightbox-close { top: 9px !important; right: 9px !important; }
  .sop-lightbox-nav { width: 34px; height: 34px; font-size: 24px; }
  .sop-lightbox figcaption { gap: 7px; }
  .sop-lightbox-tools { gap: 3px; }
  .sop-lightbox-tools button { min-width: 30px; height: 28px; padding-inline: 7px; }
  .sop-lightbox-zoom-reset { min-width: 55px !important; }
}

/* Version 2.7.3 — icon cleanup, numbered steps, and sector alignment fixes. */
.why-grid article,
.values-grid article,
.sector-card,
.sector-family-grid article,
.suitable-grid div {
  box-shadow: none;
}

.why-icon,
.value-icon,
.sector-card-icon,
.suitable-grid .sector-card-icon,
.related-service-icon,
.project-meta-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.why-icon {
  width: 42px;
  height: 42px;
  border-radius: 13px;
}
.why-icon svg { width: 21px; height: 21px; }
.why-grid h3 { margin: 10px 0 6px; }

.value-icon,
.sector-card-icon,
.sectors-page-grid .sector-card-icon,
.suitable-grid .sector-card-icon {
  width: 44px;
  height: 44px;
  padding: 10px;
  border-radius: 13px;
}
.value-icon svg,
.sector-card-icon,
.sectors-page-grid .sector-card-icon,
.suitable-grid .sector-card-icon { stroke-width: 1.8; }

.process-grid article {
  min-height: 154px;
  padding: 20px 21px;
}
.process-step-head {
  gap: 12px;
}
.process-step-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 12px;
  border: 1px solid rgba(48,72,157,.08);
  background: rgba(48,72,157,.09);
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.process-step-icon svg,
.process-step-title b {
  display: none !important;
}
.process-step-title {
  display: block;
}
.process-step-title h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.5;
}
.process-grid article > p {
  margin: 12px 54px 0 0;
  line-height: 1.8;
}

.sector-card {
  align-items: flex-start;
  gap: 16px;
}
.sector-card > div {
  min-width: 0;
}
.sector-card h3 {
  margin: 2px 0 6px;
  line-height: 1.5;
}

.single-sop_service .suitable-grid {
  width: 100%;
  margin-inline: 0;
  grid-template-columns: repeat(auto-fit, minmax(220px, 260px));
  justify-content: start;
}
.single-sop_service .suitable-grid div {
  min-height: 96px;
}
.single-sop_service .suitable-section .inner-heading {
  margin-bottom: 24px;
}

.sector-family-grid {
  gap: 20px;
}
.sector-family-grid article {
  min-height: 0;
  padding: 24px;
}
.sector-family-head {
  display: flex;
  align-items: center;
  gap: 14px;
}
.sector-family-head .sector-card-icon {
  flex: 0 0 44px;
}
.sector-family-grid h2 {
  margin: 0;
  font-size: 20px;
  line-height: 1.55;
}
.sector-family-grid p {
  margin: 14px 0 0;
  line-height: 1.8;
}
.sector-tags {
  margin-top: 16px;
}

@media (max-width: 980px) {
  .single-sop_service .suitable-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .process-grid article > p {
    margin-top: 10px;
    margin-right: 52px;
  }
  .sector-family-head {
    align-items: flex-start;
  }
}

/* Version 2.7.5 — section-owned SVG/PNG icon rendering. */
.sop-custom-icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  object-fit: contain;
  object-position: center;
  flex: 0 0 auto;
}

.feature-icon .sop-custom-icon,
.why-icon .sop-custom-icon,
.value-icon .sop-custom-icon,
.support-icon .sop-custom-icon {
  width: 100%;
  height: 100%;
  padding: 1px;
}

.sector-card-icon.sop-custom-icon,
.contact-card-icon.sop-custom-icon,
.project-meta-icon.sop-custom-icon,
.related-service-icon.sop-custom-icon {
  object-fit: contain;
}

.button .sop-custom-icon,
.text-link .sop-custom-icon,
.whatsapp-link .sop-custom-icon,
.service-card .sop-custom-icon,
.scope-list .sop-custom-icon,
.include-card .sop-custom-icon {
  width: 18px;
  height: 18px;
}

.sop-lightbox-control-icon {
  display: block;
  width: 22px;
  height: 22px;
  object-fit: contain;
  pointer-events: none;
}
.sop-lightbox-close .sop-lightbox-control-icon {
  width: 20px;
  height: 20px;
}
.sop-lightbox-zoom-reset .sop-lightbox-control-icon {
  width: 18px;
  height: 18px;
}

/* Match uploaded icon artwork to the same visual footprint as built-in SVGs. */
.feature-icon .sop-custom-icon { width: 22px; height: 22px; padding: 0; }
.why-icon .sop-custom-icon { width: 21px; height: 21px; padding: 0; }
.value-icon .sop-custom-icon { width: 20px; height: 20px; padding: 0; }
.support-icon .sop-custom-icon { width: 22px; height: 22px; padding: 0; }

/* Version 2.7.7 — Lucide fallback icons and card alignment polish. */
.sop-lucide-icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  flex: 0 0 auto;
}

/* Why cards: icon + title together, description starts at the card edge below them. */
.why-grid article {
  padding: 20px;
  min-height: 154px;
}
.why-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
}
.why-card-head .why-icon {
  flex: 0 0 42px;
}
.why-card-head h3 {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
}
.why-grid article > p {
  margin: 12px 0 0;
  line-height: 1.75;
}

/* Values: keep title beside the icon and align copy to the icon/card edge. */
.values-grid article {
  padding: 20px;
}
.value-card-head {
  gap: 12px;
}
.values-grid article > p {
  margin: 12px 0 0;
  line-height: 1.75;
}

/* Work steps: number is the visual marker; body copy starts directly below it. */
.process-grid {
  gap: 14px;
}
.process-grid article {
  min-height: 148px;
  padding: 20px 22px;
}
.process-step-head {
  gap: 12px;
}
.process-step-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  font-size: 12px;
  border-radius: 12px;
}
.process-step-title h3 {
  font-size: 18px;
  line-height: 1.5;
}
.process-grid article > p {
  margin: 12px 0 0;
  line-height: 1.75;
}

/* Home sector cards: icon + title share one row; description begins under the icon. */
.sector-card {
  display: block;
  min-height: 138px;
  padding: 20px 22px;
}
.sector-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
}
.sector-card-head .sector-card-icon {
  flex: 0 0 44px;
}
.sector-card-head h3 {
  margin: 0;
  line-height: 1.5;
}
.sector-card > p {
  margin: 11px 0 0;
  line-height: 1.75;
}

/* Sector catalogue: same card logic as Home. */
.sector-family-grid article {
  padding: 22px 24px;
}
.sector-family-head {
  gap: 12px;
}
.sector-family-grid p {
  margin: 12px 0 0;
  line-height: 1.75;
}
.sector-tags {
  margin-top: 14px;
}

/* Vision / mission cards: remove oversized empty padding. */
.vision-grid article {
  min-height: 270px;
  padding: 30px 32px;
}
.vision-grid .section-kicker {
  margin-top: 0;
}
.vision-grid h2 {
  margin: 12px 0 12px;
}
.vision-grid p {
  line-height: 1.8;
}

/* Service detail uses the same numbered process alignment. */
.single-sop_service .process-grid article {
  min-height: 148px;
  padding: 20px 22px;
}
.single-sop_service .process-grid article > p {
  margin: 12px 0 0;
}

/* Suitable sector cards stay aligned with the section content edge. */
.single-sop_service .suitable-grid {
  width: 100%;
  margin: 0;
  grid-template-columns: repeat(auto-fit, minmax(220px, 260px));
  justify-content: start;
}

@media (max-width: 768px) {
  .why-grid article,
  .values-grid article,
  .process-grid article,
  .sector-card,
  .sector-family-grid article,
  .vision-grid article {
    padding: 18px;
  }
  .process-grid article > p,
  .single-sop_service .process-grid article > p {
    margin-right: 0;
  }
}

/* Version 2.7.8 — compact card rhythm and fully local Lucide SVG fallbacks. */
.sop-lucide-icon {
  display: block;
  flex: 0 0 auto;
}

/* Remove artificial card height: keep equal rows where Grid requires it, without empty bottoms. */
.why-grid article {
  min-height: 0;
  padding: 18px 19px 17px;
}
.why-grid article > p {
  margin-top: 10px;
}

.values-grid article {
  min-height: 0;
  padding: 18px 18px 16px;
}
.values-grid article > p {
  margin-top: 10px;
  line-height: 1.72;
}

.process-grid article,
.single-sop_service .process-grid article {
  min-height: 0;
  padding: 18px 20px 17px;
}
.process-grid article > p,
.single-sop_service .process-grid article > p {
  margin: 10px 0 0;
  line-height: 1.7;
}
.process-step-head {
  align-items: center;
}

.sector-card {
  min-height: 0;
  padding: 18px 20px 17px;
}
.sector-card > p {
  margin-top: 9px;
  line-height: 1.7;
}

.vision-grid article {
  min-height: 0;
  padding: 26px 30px 24px;
}
.vision-grid h2 {
  margin: 10px 0 10px;
}
.vision-grid p {
  margin-bottom: 0;
  line-height: 1.75;
}

/* Project/contact icon containers now hold real inline SVGs, not empty JS placeholders. */
.project-meta-icon,
.contact-card-icon,
.sector-card-icon,
.value-icon > .sop-lucide-icon,
.why-icon > .sop-lucide-icon {
  color: var(--primary);
}
.project-meta-icon,
.contact-card-icon {
  width: 42px;
  height: 42px;
}

.contact-cards > a,
.contact-cards > div {
  padding-block: 16px;
}

@media (max-width: 768px) {
  .why-grid article,
  .values-grid article,
  .process-grid article,
  .single-sop_service .process-grid article,
  .sector-card,
  .vision-grid article {
    padding: 17px;
  }
}

/* Version 2.7.9 — why-card icon contrast and robust sector icon wrappers. */
.why-icon,
.why-icon > .sop-lucide-icon,
.why-icon > .sop-custom-icon {
  color: #fff !important;
  stroke: currentColor;
}
.why-icon {
  background: rgba(255,255,255,.14);
  border-color: rgba(255,255,255,.28);
}
.why-icon > .sop-lucide-icon {
  width: 21px;
  height: 21px;
}

/* The wrapper owns size/background; SVG/PNG stays a clean glyph inside it. */
.sector-card-icon,
.sectors-page-grid .sector-card-icon,
.suitable-grid .sector-card-icon {
  width: 44px;
  height: 44px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 44px;
  border-radius: 13px;
  color: var(--primary);
  background: rgba(48,72,157,.09);
}
.sector-card-icon > .sector-card-glyph,
.sector-card-icon > .sop-lucide-icon,
.sector-card-icon > .sop-custom-icon {
  width: 21px !important;
  height: 21px !important;
  padding: 0 !important;
  margin: 0;
  display: block;
  object-fit: contain;
  color: var(--primary);
  stroke: currentColor;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
}
.sector-card-head .sector-card-icon,
.sector-family-head .sector-card-icon {
  flex: 0 0 44px;
}

/* Version 2.7.10 — mobile carousel peek, RTL alignment, compact process cards and page-specific QA. */
@media (max-width: 620px) {
  /* Every mobile carousel exposes part of the next column as an affordance. */
  .sop-mobile-carousel {
    width: 100%;
    max-width: 100%;
    padding: 2px 0 12px !important;
    grid-auto-columns: calc(88% / var(--sop-cols-mobile, 1)) !important;
    gap: 12px !important;
    scroll-padding-inline: 0 !important;
  }

  .sop-mobile-carousel > * {
    width: 100% !important;
    min-width: 0 !important;
  }

  /* Mobile section header actions belong to the RTL content edge, not the centre/left. */
  .heading-row {
    width: 100%;
    align-items: stretch !important;
    text-align: right;
  }
  .heading-row > .section-heading,
  .heading-row > .inner-heading,
  .heading-row > div:first-child {
    width: 100%;
    text-align: right;
  }
  .heading-row > .button {
    align-self: flex-start !important;
    margin-left: auto !important;
    margin-right: 0 !important;
  }

  /* Numbered process cards are full-width cards on mobile — no decorative timeline rail. */
  .process-grid:not(.sop-mobile-carousel) {
    width: 100% !important;
    padding-inline-start: 0 !important;
    padding-inline-end: 0 !important;
    gap: 14px !important;
  }
  .process-grid:not(.sop-mobile-carousel)::before,
  .process-grid:not(.sop-mobile-carousel) article::after,
  .process-grid:not(.sop-mobile-carousel) article::before {
    display: none !important;
    content: none !important;
  }
  .process-grid:not(.sop-mobile-carousel) article {
    width: 100% !important;
    min-height: 0 !important;
  }

  /* Home/inner heading buttons: explicit physical right alignment in the Arabic layout. */
  .home .services-section .heading-row > .button,
  .home .projects-section .heading-row > .button,
  .home .sectors-section .heading-row > .button,
  .single-sop_service .projects-section .heading-row > .button {
    margin-left: auto !important;
    margin-right: 0 !important;
  }

  /* Service overview primary action is easier to tap as a full-width mobile CTA. */
  .single-sop_service .service-overview .button {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  /* Related-project heading copy stays aligned with the right content edge. */
  .single-sop_service .projects-section .heading-row,
  .single-sop_service .projects-section .inner-heading {
    text-align: right;
  }

  /* Related service card: use the available width instead of squeezing copy into a narrow column. */
  .single-sop_project .project-related-service .container {
    width: min(100% - 28px, 1180px);
    gap: 18px;
  }
  .single-sop_project .project-related-service .inner-heading {
    width: 100%;
    max-width: none;
    text-align: right;
  }
  .single-sop_project .related-service-card {
    width: 100%;
    min-height: 0;
    padding: 18px;
    grid-template-columns: 42px minmax(0, 1fr) 20px !important;
    gap: 12px;
  }
  .single-sop_project .related-service-card > .related-service-icon {
    width: 42px !important;
    height: 42px !important;
    padding: 9px;
  }
  .single-sop_project .related-service-card > div {
    width: 100%;
    min-width: 0;
  }
  .single-sop_project .related-service-card div span,
  .single-sop_project .related-service-card div strong {
    display: block;
    width: 100%;
    max-width: none;
    text-align: right;
    overflow-wrap: normal;
    word-break: normal;
  }

  /* Contact data fields are LTR content inside an RTL form. */
  .quote-form .phone-field,
  .quote-form .email-field {
    direction: ltr;
    text-align: left;
    unicode-bidi: plaintext;
  }
  .quote-form .phone-field::placeholder,
  .quote-form .email-field::placeholder {
    direction: ltr;
    text-align: left;
    opacity: .72;
  }
}

/* Sectors archive/page hero follows the compact inner-page hierarchy. */
.sectors-page-hero {
  padding-block: 54px;
}
.sectors-page-hero .page-hero-grid {
  min-height: 210px !important;
}
.sectors-page-hero h1 {
  max-width: 760px;
  margin-inline: auto;
  font-size: clamp(44px, 5vw, 60px);
  line-height: 1.24;
  letter-spacing: -1.5px;
}
.sectors-page-hero p {
  max-width: 680px;
}

@media (max-width: 620px) {
  .sectors-page-hero {
    padding-block: 38px;
  }
  .sectors-page-hero .page-hero-grid {
    min-height: 0 !important;
  }
  .sectors-page-hero h1 {
    font-size: clamp(36px, 11vw, 46px);
    letter-spacing: -1px;
  }
}

@media (max-width: 620px) {
  .single-sop_project .related-service-card > .related-service-icon,
  .single-sop_project .related-service-card > svg:not(.related-service-icon) {
    display: block !important;
  }
  .single-sop_project .related-service-card > img.related-service-icon {
    display: block !important;
  }
}

/* Phone numbers and email addresses are LTR data even inside the Arabic form. */
.quote-form .phone-field,
.quote-form .email-field {
  direction: ltr !important;
  text-align: left !important;
  unicode-bidi: plaintext;
}
.quote-form .phone-field::placeholder,
.quote-form .email-field::placeholder {
  direction: ltr;
  text-align: left;
  opacity: .72;
}

/* Version 2.7.11 — mobile card-head alignment, safe carousel ending and top-aligned contact icons. */
@media (max-width: 620px) {
  /* Any card heading made of an icon/number + title stays vertically centred. */
  .why-card-head,
  .value-card-head,
  .sector-card-head,
  .sector-family-head,
  .process-step-head {
    align-items: center !important;
    min-height: 44px;
  }

  .why-card-head h3,
  .value-card-head h3,
  .sector-card-head h3,
  .sector-family-head h2,
  .process-step-title,
  .process-step-title h3 {
    min-height: 44px;
    margin-block: 0 !important;
    display: flex;
    align-items: center;
    line-height: 1.45;
  }

  .why-card-head .why-icon,
  .value-card-head .value-icon,
  .sector-card-head .sector-card-icon,
  .sector-family-head .sector-card-icon,
  .process-step-icon {
    align-self: center !important;
  }

  /* Keep the affordance peek, but reserve a real trailing gutter so the final card is never clipped. */
  .sop-mobile-carousel {
    --sop-mobile-peek: 12%;
    box-sizing: border-box !important;
    padding-top: 2px !important;
    padding-bottom: 12px !important;
    padding-inline-start: 0 !important;
    padding-inline-end: var(--sop-mobile-peek) !important;
    grid-auto-columns: calc(100% / var(--sop-cols-mobile, 1)) !important;
    scroll-padding-inline-start: 0 !important;
    scroll-padding-inline-end: var(--sop-mobile-peek) !important;
  }

  .sop-mobile-carousel > * {
    box-sizing: border-box;
    max-width: 100% !important;
  }

  /* Contact/support icons belong to the top edge of their mobile cards. */
  .contact-cards > a,
  .contact-cards > div {
    align-items: flex-start !important;
  }

  .contact-cards .contact-card-icon,
  .support-strip .support-icon {
    align-self: flex-start !important;
    margin-top: 0 !important;
  }

  .support-strip .support-card {
    align-items: start !important;
  }
}

/* Version 2.7.12 — client logo containment and card isolation. */
.client-card {
  display: grid;
  grid-template-rows: 88px auto;
  align-content: start;
  justify-items: stretch;
  gap: 12px;
  overflow: hidden;
}

.client-logo {
  width: 100%;
  height: 88px;
  padding: 6px 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  contain: layout paint;
}

.client-logo img {
  display: block;
  width: auto !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: 100% !important;
  margin: 0 auto;
  object-fit: contain;
  object-position: center;
  flex: 0 1 auto;
}

.client-card-copy {
  min-width: 0;
  width: 100%;
  position: relative;
  z-index: 1;
  text-align: center;
}

.client-card-copy h3,
.client-card-copy p {
  overflow-wrap: anywhere;
}

@media (max-width: 768px) {
  .client-card {
    grid-template-rows: 82px auto;
    gap: 10px;
  }
  .client-logo {
    height: 82px;
    padding: 6px;
  }
}
