@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css");

:root {
  --green: #458c47;
  --green-dark: #2f6f37;
  --green-soft: #eaf3ea;
  --charcoal: #1d262a;
  --charcoal-soft: #29353a;
  --white: #ffffff;
  --mist: #f4f7f4;
  --line: #dce5dd;
  --muted: #647176;
  --shadow: 0 22px 60px rgba(29, 38, 42, 0.12);
  --radius: 22px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body {
  margin: 0;
  color: var(--charcoal);
  background: var(--white);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
html[dir="rtl"] body {
  font-family: "Tajawal", Tahoma, sans-serif;
  font-size: 18px;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.container { width: min(var(--container), calc(100% - 40px)); margin-inline: auto; }
.section { padding: 104px 0; }
.section-tight { padding: 64px 0; }
.section-muted { background: var(--mist); }
.section-dark { color: var(--white); background: var(--charcoal); }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  color: var(--green);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.3;
  text-transform: uppercase;
}
html[dir="rtl"] .eyebrow { font-size: 0.9rem; letter-spacing: 0; }
.eyebrow::before { width: 30px; height: 2px; content: ""; background: currentColor; }
.section-dark .eyebrow { color: #93c995; }
h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3, h4 { line-height: 1.15; }
h1 { margin-bottom: 24px; font-size: clamp(2.7rem, 6vw, 5.4rem); letter-spacing: -0.055em; }
h2 { margin-bottom: 20px; font-size: clamp(2rem, 4vw, 3.35rem); letter-spacing: -0.035em; }
h3 { margin-bottom: 12px; font-size: 1.2rem; }
html[dir="rtl"] h1,
html[dir="rtl"] h2,
html[dir="rtl"] h3,
html[dir="rtl"] h4 {
  font-family: "Cairo", "Tajawal", Tahoma, sans-serif;
  letter-spacing: 0;
}
.section-intro { max-width: 760px; margin-bottom: 48px; color: var(--muted); font-size: 1.08rem; }
.section-dark .section-intro { color: #c2cccf; }
.accent { color: var(--green); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.btn {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { color: var(--white); background: var(--green); }
.btn-primary:hover { background: var(--green-dark); }
.btn-secondary { color: var(--charcoal); border-color: #b8c3bd; background: var(--white); }
.btn-secondary:hover { border-color: var(--green); }
.btn-light { color: var(--charcoal); background: var(--white); }
.text-link { color: var(--green); font-weight: 800; text-decoration: none; }
.text-link:hover { text-decoration: underline; }

/* Header */
.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid rgba(29, 38, 42, 0.08);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
}
.nav-wrap { display: flex; min-height: 82px; align-items: center; gap: 30px; }
.brand { display: inline-flex; flex: 0 0 auto; align-items: center; text-decoration: none; }
.brand img { width: 178px; height: 58px; object-fit: cover; object-position: center; }
.site-nav { display: flex; align-items: center; gap: 24px; margin-inline-start: auto; }
.site-nav a { font-size: 0.78rem; font-weight: 700; text-decoration: none; }
.site-nav a:hover { color: var(--green); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.lang-switch { color: var(--green); font-weight: 800; text-decoration: none; }
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  cursor: pointer;
}
.menu-toggle span { display: block; width: 100%; height: 2px; margin: 5px 0; background: var(--charcoal); }

/* Hero */
.hero {
  position: relative;
  isolation: isolate;
  min-height: 720px;
  overflow: hidden;
  color: var(--white);
  background: linear-gradient(135deg, #11191c 0%, var(--charcoal) 58%, #26363a 100%);
}
html[dir="rtl"] .hero {
  background: linear-gradient(225deg, #11191c 0%, var(--charcoal) 58%, #26363a 100%);
}
.hero::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  opacity: 0.22;
  background-image: linear-gradient(rgba(255,255,255,.13) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.13) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: linear-gradient(to bottom, transparent, black 30%, transparent);
}
.hero-inner { display: grid; min-height: 720px; grid-template-columns: minmax(0,.9fr) minmax(480px,1.1fr); gap: clamp(40px,6vw,88px); align-items: center; }
.hero-copy { max-width: 700px; padding: 92px 0 120px; }
.hero .eyebrow { color: #9cd09d; }
.hero h1 { font-size: clamp(2.7rem,5vw,4.9rem); }
.hero h1 span { display: block; }
.hero p { max-width: 720px; margin-bottom: 34px; color: #d7dfe1; font-size: clamp(1.05rem, 2vw, 1.25rem); }
.hero-note { display: flex; align-items: center; gap: 12px; margin-top: 34px; color: #c5d0d2; font-size: 0.8rem; font-weight: 700; }
.hero-note::before { width: 8px; height: 8px; border-radius: 50%; content: ""; background: #82bf84; box-shadow: 0 0 0 7px rgba(69,140,71,.24); }
.hero-factory { position: relative; width: 100%; padding: 28px 0; }
.hero-factory-media { position: relative; min-height: 530px; overflow: hidden; border: 1px solid rgba(255,255,255,.16); border-radius: 30px; background: linear-gradient(180deg,rgba(17,25,28,.08),rgba(17,25,28,.66)), url("assets/smart-factory.jpg") 58% center/cover; box-shadow: 0 34px 90px rgba(0,0,0,.38); }
.hero-factory-media::before { position: absolute; inset: 0; content: ""; background: linear-gradient(90deg,rgba(17,25,28,.52),transparent 46%), linear-gradient(180deg,transparent 50%,rgba(17,25,28,.55)); }
html[dir="rtl"] .hero-factory-media::before { background: linear-gradient(270deg,rgba(17,25,28,.52),transparent 46%), linear-gradient(180deg,transparent 50%,rgba(17,25,28,.55)); }
.hero-network { position: absolute; z-index: 1; inset: 0; width: 100%; height: 100%; filter: drop-shadow(0 0 7px rgba(122,200,125,.5)); }
.network-line { fill: none; stroke: rgba(151,219,153,.75); stroke-width: 2.2; stroke-linecap: round; stroke-dasharray: .08 .045; }
.hero-factory.visible .network-line { animation: network-flow 4.2s linear infinite; }
.hero-factory.visible .network-line-2 { animation-delay: -1.35s; }
.hero-factory.visible .network-line-3 { animation-delay: -2.7s; }
.network-node { fill: #a0dba2; stroke: rgba(255,255,255,.9); stroke-width: 2; transform-box: fill-box; transform-origin: center; }
.hero-factory.visible .network-node { animation: network-pulse 2.4s ease-in-out infinite; }
.hero-factory.visible .node-2, .hero-factory.visible .node-5 { animation-delay: -.8s; }
.hero-factory.visible .node-3, .hero-factory.visible .node-6 { animation-delay: -1.6s; }
.factory-status { position: absolute; z-index: 3; top: 28px; inset-inline-start: 28px; display: grid; grid-template-columns: 11px 1fr; column-gap: 10px; min-width: 210px; padding: 14px 16px; border: 1px solid rgba(255,255,255,.2); border-radius: 15px; color: var(--white); background: rgba(17,25,28,.76); box-shadow: 0 12px 35px rgba(0,0,0,.25); backdrop-filter: blur(12px); }
.factory-status strong { font-size: .78rem; line-height: 1.2; }
.factory-status small { grid-column: 2; color: #a8c8aa; font-size: .61rem; font-weight: 700; }
.status-pulse { width: 9px; height: 9px; margin-top: 2px; border-radius: 50%; background: #8cd18f; box-shadow: 0 0 0 6px rgba(112,195,116,.14); }
.hero-factory.visible .status-pulse { animation: status-pulse 1.8s ease-out infinite; }
.factory-signal { position: absolute; z-index: 3; display: flex; align-items: center; gap: 8px; padding: 8px 11px; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; color: #eef5ef; background: rgba(17,25,28,.78); font-size: .64rem; font-weight: 800; backdrop-filter: blur(10px); }
.factory-signal span { display: grid; width: 23px; height: 23px; place-items: center; border-radius: 50%; color: #dff1e0; background: var(--green); font-size: .56rem; }
.signal-equipment { bottom: 26px; inset-inline-start: 24px; }
.signal-insight { top: 44%; inset-inline-end: 20px; }
.signal-action { right: 19%; bottom: 24px; }
html[dir="rtl"] .signal-action { right: auto; left: 19%; }
@keyframes network-flow { to { stroke-dashoffset: -1; } }
@keyframes network-pulse { 0%,100% { opacity:.65; transform:scale(.82); } 50% { opacity:1; transform:scale(1.2); } }
@keyframes status-pulse { 0% { box-shadow:0 0 0 0 rgba(140,209,143,.45); } 70%,100% { box-shadow:0 0 0 10px rgba(140,209,143,0); } }

/* Trust */
.trust-bar { position: relative; z-index: 5; margin-top: -48px; }
.trust-grid { display: grid; grid-template-columns: repeat(5, 1fr); overflow: hidden; border-radius: 18px; box-shadow: var(--shadow); background: var(--white); }
.trust-item { min-height: 112px; padding: 24px 20px; border-inline-end: 1px solid var(--line); }
.trust-item:last-child { border-inline-end: 0; }
.trust-item strong { display: block; margin-bottom: 4px; color: var(--green); font-size: 1.05rem; }
.trust-item span { display: block; color: var(--muted); font-size: 0.74rem; font-weight: 700; line-height: 1.45; }

/* Cards and grids */
.challenge-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.challenge-card, .case-card, .credential-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}
.challenge-card { min-height: 270px; padding: 30px; transition: transform 180ms ease, box-shadow 180ms ease; }
.challenge-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.challenge-card::after { position: absolute; right: -34px; bottom: -34px; width: 110px; height: 110px; border-radius: 50%; content: ""; background: var(--green-soft); }
html[dir="rtl"] .challenge-card::after { right: auto; left: -34px; }
.card-icon { display: grid; width: 48px; height: 48px; margin-bottom: 48px; place-items: center; border-radius: 14px; color: var(--green); background: var(--green-soft); font-weight: 900; }
.challenge-card p { margin: 0; color: var(--muted); font-size: 0.9rem; }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.process-step { position: relative; padding: 30px 34px 30px 0; border-top: 2px solid #415055; }
html[dir="rtl"] .process-step { padding: 30px 0 30px 34px; }
.process-step::before { position: absolute; top: -7px; left: 0; width: 12px; height: 12px; border-radius: 50%; content: ""; background: var(--green); }
html[dir="rtl"] .process-step::before { right: 0; left: auto; }
.process-step .step-no { color: #88c38a; font-size: 0.78rem; font-weight: 900; }
.process-step h3 { margin-top: 22px; }
.process-step p { margin: 0; color: #b7c2c5; font-size: 0.86rem; }
.transformation-map { position: relative; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 18px; padding-top: 34px; }
.transformation-line { position: absolute; top: 68px; right: 11%; left: 11%; height: 2px; overflow: hidden; background: #435257; }
.transformation-line span { display: block; width: 0; height: 100%; background: linear-gradient(90deg,#76b978,#b8e0b9); box-shadow: 0 0 16px rgba(118,185,120,.6); }
.transformation-map.visible .transformation-line span { animation: journey-line 5.6s ease-in-out infinite; }
.transformation-stage { position: relative; z-index: 1; min-height: 300px; padding: 0 24px 28px; border: 1px solid #3b494e; border-radius: 22px; background: linear-gradient(155deg,#28353a,#202b2f); box-shadow: 0 18px 45px rgba(0,0,0,.16); }
.stage-marker { display: grid; width: 68px; height: 68px; margin: -34px 0 30px; place-items: center; border: 1px solid #536267; border-radius: 50%; color: #9bcf9d; background: var(--charcoal); box-shadow: 0 0 0 8px var(--charcoal); transition: border-color 250ms ease, background 250ms ease, box-shadow 250ms ease; }
html[dir="rtl"] .stage-marker { margin-right: 0; margin-left: 0; }
.stage-marker span { position: absolute; opacity: 0; font-size: .64rem; font-weight: 900; }
.stage-marker svg { width: 34px; height: 34px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.transformation-map.visible .stage-marker { animation: stage-focus 5.6s ease-in-out infinite; animation-delay: calc(var(--stage) * 1.4s); }
.transformation-stage .step-no { color: #8fca91; font-size: .72rem; font-weight: 900; letter-spacing: .1em; }
html[dir="rtl"] .transformation-stage .step-no { letter-spacing: 0; }
.transformation-stage h3 { margin-top: 19px; }
.transformation-stage p { margin: 0; color: #b7c2c5; font-size: .82rem; }
@keyframes journey-line { 0% { width:0; } 64%,82% { width:100%; } 100% { width:0; transform:translateX(100%); } }
@keyframes stage-focus { 0%,18%,100% { border-color:#536267; background:var(--charcoal); box-shadow:0 0 0 8px var(--charcoal); } 7%,13% { border-color:#a7d7a9; background:var(--green); box-shadow:0 0 0 8px var(--charcoal),0 0 24px rgba(118,185,120,.62); color:#fff; } }
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.case-card { min-height: 370px; padding: 34px; }
.case-card::before { display: block; width: 56px; height: 5px; margin-bottom: 58px; content: ""; border-radius: 9px; background: var(--green); }
.case-location { margin-bottom: 12px; color: var(--green); font-size: 0.74rem; font-weight: 900; letter-spacing: 0.08em; text-transform: uppercase; }
.case-card p { color: var(--muted); }
.case-card-linked { display: flex; flex-direction: column; transition: transform 180ms ease, box-shadow 180ms ease; }
.case-card-linked:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.case-card-linked .tags { margin-top: auto; padding-top: 24px; }
.case-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--charcoal); font-size: .76rem; font-weight: 900; text-decoration: none; }
.case-link span { color: var(--green); font-size: 1.15rem; }
.section-action { margin-top: 34px; }
.btn-outline { border: 1px solid var(--green); color: var(--green-dark); background: transparent; }
.btn-outline:hover { color: var(--white); background: var(--green); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.tag { padding: 6px 10px; border-radius: 999px; color: var(--charcoal-soft); background: var(--green-soft); font-size: 0.7rem; font-weight: 800; }

/* Feature and neutrality */
.feature-panel { display: grid; grid-template-columns: 0.95fr 1.05fr; overflow: hidden; border-radius: 30px; background: var(--charcoal); box-shadow: var(--shadow); }
.feature-visual { position: relative; min-height: 560px; padding: 46px; background: linear-gradient(145deg, #2c3a3f, #182024); }
.feature-visual::before { position: absolute; inset: 32px; border: 1px solid rgba(255,255,255,.12); border-radius: 22px; content: ""; }
.orbit { position: absolute; top: 50%; left: 50%; width: 330px; height: 330px; border: 1px solid rgba(147,201,149,.35); border-radius: 50%; transform: translate(-50%, -50%); }
.orbit::before, .orbit::after { position: absolute; border: 1px solid rgba(147,201,149,.22); border-radius: 50%; content: ""; inset: 48px; }
.orbit::after { inset: 96px; background: rgba(69,140,71,.16); }
.factory-core { position: absolute; z-index: 2; top: 50%; left: 50%; text-align: center; transform: translate(-50%, -50%); }
.factory-core strong { display: block; color: var(--white); font-size: 2rem; }
.factory-core span { color: #9cd09d; font-size: 0.76rem; font-weight: 800; }
.feature-copy { padding: 70px 64px; color: var(--white); }
.feature-copy p { color: #c2cccf; }
.check-list { padding: 0; margin: 30px 0 34px; list-style: none; }
.check-list li { position: relative; margin: 13px 0; padding-inline-start: 28px; color: #e2e7e8; font-size: 0.9rem; }
.check-list li::before { position: absolute; top: 0.45em; inset-inline-start: 0; width: 8px; height: 8px; border-radius: 50%; content: ""; background: #83c085; }
.neutrality-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 70px; align-items: center; }
.neutrality-statement { padding-inline-start: 28px; border-inline-start: 4px solid var(--green); }
.neutrality-statement strong { display: block; font-size: clamp(1.65rem, 3vw, 2.7rem); line-height: 1.2; }
.neutrality-flow { display: grid; grid-template-columns: repeat(5, 1fr); align-items: center; }
.flow-node { min-height: 124px; display: grid; padding: 16px; place-items: center; border: 1px solid var(--line); border-radius: 16px; text-align: center; background: var(--white); font-size: 0.75rem; font-weight: 800; }
.flow-arrow { color: var(--green); text-align: center; font-size: 1.3rem; }
.tech-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.tech-pills span { padding: 7px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); background: var(--white); font-size: 0.72rem; font-weight: 800; }
.architecture-section { overflow: hidden; }
.architecture-intro { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px,7vw,88px); align-items: end; margin-bottom: 48px; }
.architecture-intro > p { max-width: 650px; margin: 0; color: var(--muted); }
.factory-architecture { overflow: hidden; border: 1px solid var(--line); border-radius: 28px; background: var(--white); box-shadow: var(--shadow); }
.architecture-head { display: grid; grid-template-columns: 190px 1fr auto; gap: 28px; align-items: center; padding: 24px 28px; border-bottom: 1px solid var(--line); background: var(--white); }
.architecture-head img { width: 168px; height: 63px; object-fit: cover; object-position: center; }
.architecture-head div { padding-inline-start: 28px; border-inline-start: 1px solid var(--line); }
.architecture-head div span { display: block; font-size: 1.08rem; font-weight: 900; }
.architecture-head div small { display: block; color: var(--muted); font-size: .7rem; font-weight: 600; }
.architecture-head > strong { display: inline-flex; align-items: center; gap: 10px; color: var(--green-dark); font-size: .65rem; letter-spacing: .08em; }
html[dir="rtl"] .architecture-head > strong { letter-spacing: 0; }
.architecture-head > strong i { width: 8px; height: 8px; border-radius: 50%; background: #70b773; box-shadow: 0 0 0 6px rgba(69,140,71,.13); }
.factory-architecture.visible .architecture-head > strong i { animation: status-pulse 1.8s ease-out infinite; }
.architecture-body { position: relative; padding: 34px 118px 34px 34px; background: linear-gradient(135deg,#f8faf8,#eef3ef); }
html[dir="rtl"] .architecture-body { padding: 34px 34px 34px 118px; }
.architecture-stack { display: grid; gap: 10px; }
.architecture-layer { display: grid; min-height: 94px; grid-template-columns: 48px minmax(220px,1fr) auto; gap: 20px; align-items: center; padding: 17px 20px; border: 1px solid #d7e1d8; border-inline-start: 5px solid #829487; border-radius: 15px; background: rgba(255,255,255,.94); box-shadow: 0 8px 24px rgba(29,38,42,.06); opacity: .76; transform: translateY(8px); }
.factory-architecture.visible .architecture-layer { animation: layer-online 6s ease-in-out infinite; animation-delay: calc((4 - var(--layer)) * .55s); }
.architecture-layer.layer-intelligence { border-inline-start-color: var(--green); background: linear-gradient(90deg,#f1f8f1,#fff 42%); }
html[dir="rtl"] .architecture-layer.layer-intelligence { background: linear-gradient(270deg,#f1f8f1,#fff 42%); }
.architecture-layer.layer-assets { border-inline-start-color: var(--charcoal); }
.layer-index { display: grid; width: 43px; height: 43px; place-items: center; border-radius: 12px; color: var(--green-dark); background: var(--green-soft); font-size: .72rem; font-weight: 900; }
.architecture-layer div strong { display: block; margin-bottom: 3px; font-size: .88rem; }
.architecture-layer div small { display: block; color: var(--muted); font-size: .67rem; line-height: 1.45; }
.architecture-layer ul { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 7px; max-width: 285px; padding: 0; margin: 0; list-style: none; }
html[dir="rtl"] .architecture-layer ul { justify-content: flex-start; }
.architecture-layer li { padding: 5px 9px; border: 1px solid #dbe4dc; border-radius: 999px; color: #52605a; background: #f8faf8; font-size: .59rem; font-weight: 800; }
.architecture-rail { position: absolute; top: 55px; right: 32px; bottom: 55px; width: 60px; }
html[dir="rtl"] .architecture-rail { right: auto; left: 32px; }
.rail-line { position: absolute; top: 38px; bottom: 38px; width: 2px; background: #b7c8b8; }
.rail-up { left: 18px; }
.rail-down { right: 18px; }
.rail-line::before { position: absolute; width: 8px; height: 8px; border-style: solid; content: ""; transform: rotate(45deg); }
.rail-up::before { top: -1px; left: -3px; border-width: 2px 0 0 2px; border-color: var(--green); }
.rail-down::before { right: -3px; bottom: -1px; border-width: 0 2px 2px 0; border-color: var(--charcoal); }
.rail-label { position: absolute; left: 50%; color: var(--muted); font-size: .51rem; font-weight: 900; letter-spacing: .08em; transform: translateX(-50%); }
.rail-data { top: 0; }
.rail-action { bottom: 0; }
.data-packet, .action-packet { position: absolute; width: 8px; height: 8px; border-radius: 50%; }
.data-packet { right: 38px; bottom: 38px; background: var(--green); box-shadow: 0 0 0 5px rgba(69,140,71,.12); }
.action-packet { top: 38px; right: 14px; background: var(--charcoal); box-shadow: 0 0 0 5px rgba(29,38,42,.1); }
.factory-architecture.visible .data-packet { animation: data-up 3.7s linear infinite; }
.factory-architecture.visible .packet-2 { animation-delay: -1.85s; }
.factory-architecture.visible .action-packet { animation: action-down 4.3s linear infinite; animation-delay: -1.1s; }
.architecture-foot { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 18px; align-items: center; padding: 20px 28px; border-top: 1px solid var(--line); text-align: center; background: var(--white); }
.architecture-foot span { color: var(--charcoal-soft); font-size: .68rem; font-weight: 800; }
.architecture-foot i { color: var(--green); font-style: normal; font-size: 1rem; }
@keyframes layer-online { 0%,8%,100% { opacity:.76; transform:translateY(8px); } 16%,72% { opacity:1; transform:none; border-color:#a8caaa; box-shadow:0 10px 28px rgba(69,140,71,.11); } }
@keyframes data-up { from { transform:translateY(0); } to { transform:translateY(calc(-100% - 410px)); } }
@keyframes action-down { from { transform:translateY(0); } to { transform:translateY(calc(100% + 410px)); } }

/* Journey */
.journey { position: relative; }
.journey::before { position: absolute; top: 33px; bottom: 33px; inset-inline-start: 26px; width: 1px; content: ""; background: #3d4c51; }
.journey-step { position: relative; display: grid; grid-template-columns: 54px 190px 1fr; gap: 26px; align-items: start; padding: 22px 0; }
.journey-no { z-index: 1; display: grid; width: 54px; height: 54px; place-items: center; border: 1px solid #5b6a6e; border-radius: 50%; color: #9cd09d; background: var(--charcoal); font-weight: 900; }
.journey-step h3 { margin: 14px 0 0; }
.journey-step p { margin: 10px 0 0; color: #b7c2c5; }

/* Industries and credentials */
.industry-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-inline-start: 1px solid var(--line); }
.industry-item { min-height: 140px; padding: 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
html[dir="rtl"] .industry-item { border-right: 0; border-left: 1px solid var(--line); }
.industry-item span { display: block; margin-bottom: 20px; color: var(--green); font-size: 0.75rem; font-weight: 900; }
.industry-item strong { display: block; font-size: 0.94rem; }
.credential-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.credential-card { padding: 32px; }
.iso-mark { margin-bottom: 38px; color: var(--green); font-size: 1.7rem; font-weight: 900; letter-spacing: -0.04em; }
.credential-card p { color: var(--muted); font-size: 0.86rem; }
.credential-meta { padding-top: 16px; border-top: 1px solid var(--line); font-size: 0.7rem; }

/* CTA and footer */
.cta { position: relative; overflow: hidden; color: var(--white); background: var(--green); }
.cta::after { position: absolute; right: -140px; bottom: -250px; width: 560px; height: 560px; border: 1px solid rgba(255,255,255,.22); border-radius: 50%; content: ""; box-shadow: 0 0 0 70px rgba(255,255,255,.04), 0 0 0 140px rgba(255,255,255,.035); }
html[dir="rtl"] .cta::after { right: auto; left: -140px; }
.cta-inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 50px; }
.cta h2 { max-width: 680px; margin-bottom: 12px; }
.cta p { max-width: 680px; margin: 0; color: #e8f3e8; }
.site-footer { padding: 64px 0 28px; color: #d6dede; background: #151c1f; }
.footer-grid { display: grid; grid-template-columns: 1.35fr 0.8fr 1fr; gap: 70px; padding-bottom: 48px; }
.footer-logo { width: 190px; margin-bottom: 20px; border-radius: 8px; }
.footer-copy { max-width: 430px; color: #98a6aa; font-size: 0.86rem; }
.footer-title { margin-bottom: 18px; color: var(--white); font-size: 0.78rem; font-weight: 900; letter-spacing: 0.08em; text-transform: uppercase; }
.footer-links { display: grid; gap: 10px; }
.footer-links a { color: #b7c2c5; font-size: 0.83rem; text-decoration: none; }
.footer-links a:hover { color: #92c994; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 24px; border-top: 1px solid #2e393d; color: #79868a; font-size: 0.72rem; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 600ms ease, transform 600ms ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .challenge-card { transition: none; }
  .hero-factory .network-line, .hero-factory .network-node, .status-pulse,
  .transformation-line span, .transformation-stage .stage-marker,
  .architecture-head > strong i, .architecture-layer, .data-packet, .action-packet { animation: none !important; }
  .transformation-line span { width: 100%; }
  .architecture-layer { opacity: 1; transform: none; }
}

@media (max-width: 1050px) {
  .site-nav { gap: 16px; }
  .site-nav a { font-size: 0.7rem; }
  .nav-actions .btn { display: none; }
  .trust-grid { grid-template-columns: repeat(3, 1fr); }
  .trust-item:nth-child(3) { border-inline-end: 0; }
  .trust-item:nth-child(n+4) { border-top: 1px solid var(--line); }
  .challenge-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-panel { grid-template-columns: 1fr; }
  .feature-visual { min-height: 430px; }
  .neutrality-grid { grid-template-columns: 1fr; gap: 42px; }
  .hero-inner { grid-template-columns: minmax(0,1fr) minmax(390px,1fr); gap: 34px; }
  .hero-factory-media { min-height: 470px; }
  .transformation-stage { padding-inline: 18px; }
  .architecture-layer { grid-template-columns: 48px minmax(190px,1fr); }
  .architecture-layer ul { grid-column: 2; justify-content: flex-start; max-width: none; }
}

@media (max-width: 780px) {
  .section { padding: 76px 0; }
  .container { width: min(100% - 28px, var(--container)); }
  .nav-wrap { min-height: 72px; }
  .brand img { width: 150px; height: 48px; }
  .menu-toggle { display: block; margin-inline-start: auto; }
  .site-nav {
    position: absolute;
    top: 72px;
    right: 14px;
    left: 14px;
    display: none;
    align-items: stretch;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow);
    background: var(--white);
  }
  .site-nav.open { display: grid; }
  .site-nav a { padding: 10px; font-size: 0.82rem; }
  .nav-actions { margin-inline-start: 0; }
  .hero, .hero-inner { min-height: auto; }
  .hero-inner { grid-template-columns: 1fr; gap: 0; }
  .hero-copy { max-width: 720px; padding: 76px 0 34px; }
  .hero-factory { padding: 0 0 110px; }
  .hero-factory-media { min-height: 460px; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .trust-item, .trust-item:nth-child(3) { border-inline-end: 1px solid var(--line); border-top: 1px solid var(--line); }
  .trust-item:nth-child(odd) { border-inline-end: 1px solid var(--line); }
  .trust-item:nth-child(even) { border-inline-end: 0; }
  .trust-item:first-child, .trust-item:nth-child(2) { border-top: 0; }
  .trust-item:last-child { grid-column: 1 / -1; border-inline-end: 0; }
  .process-grid, .case-grid, .credential-grid, .transformation-map { grid-template-columns: 1fr; gap: 18px; }
  .process-step { padding-inline-end: 0; }
  .transformation-map { padding-top: 0; padding-inline-start: 32px; }
  .transformation-line { top: 34px; bottom: 34px; inset-inline-start: 0; right: auto; left: auto; width: 2px; height: auto; overflow: visible; background: #435257; }
  .transformation-line span { width: 100%; height: 100%; animation: none !important; background: #76b978; }
  .transformation-stage { min-height: 0; padding: 24px; }
  .stage-marker { position: absolute; top: 26px; inset-inline-start: -65px; width: 52px; height: 52px; margin: 0; box-shadow: 0 0 0 6px var(--charcoal); }
  .stage-marker svg { width: 27px; height: 27px; }
  .transformation-map.visible .stage-marker { animation: none; }
  .feature-copy { padding: 48px 28px; }
  .neutrality-flow { grid-template-columns: 1fr; gap: 8px; }
  .flow-arrow { transform: rotate(90deg); }
  html[dir="rtl"] .flow-arrow { transform: rotate(-90deg); }
  .journey-step { grid-template-columns: 54px 1fr; gap: 18px; }
  .journey-step p { grid-column: 2; }
  .industry-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-inner { align-items: flex-start; flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; gap: 38px; }
  .footer-bottom { flex-direction: column; }
  .architecture-intro { grid-template-columns: 1fr; gap: 30px; }
  .architecture-head { grid-template-columns: 170px 1fr; }
  .architecture-head > strong { grid-column: 1 / -1; }
  .architecture-body { padding: 26px 88px 26px 26px; }
  html[dir="rtl"] .architecture-body { padding: 26px 26px 26px 88px; }
  .architecture-rail { right: 20px; }
  html[dir="rtl"] .architecture-rail { right: auto; left: 20px; }
  .hero-factory .network-line, .hero-factory .network-node, .hero-factory .status-pulse,
  .factory-architecture .data-packet, .factory-architecture .action-packet, .factory-architecture .architecture-layer { animation: none !important; }
  .architecture-layer { opacity: 1; transform: none; }
}

@media (max-width: 500px) {
  h1 { font-size: 2.75rem; }
  .challenge-grid, .industry-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-item, .trust-item:nth-child(n) { grid-column: auto; border-top: 1px solid var(--line); border-inline-end: 0; }
  .trust-item:first-child { border-top: 0; }
  .feature-visual { min-height: 340px; }
  .orbit { width: 250px; height: 250px; }
  .hero-factory-media { min-height: 390px; border-radius: 22px; }
  .factory-status { top: 18px; inset-inline-start: 18px; min-width: 185px; }
  .factory-signal { font-size: .58rem; }
  .signal-insight { top: auto; right: auto; bottom: 65px; inset-inline-end: 16px; }
  .signal-action { display: none; }
  .architecture-head { grid-template-columns: 1fr; gap: 15px; padding: 22px; }
  .architecture-head div { padding: 15px 0 0; border-top: 1px solid var(--line); border-inline-start: 0; }
  .architecture-body { padding: 18px 58px 18px 14px; }
  html[dir="rtl"] .architecture-body { padding: 18px 14px 18px 58px; }
  .architecture-rail { right: 4px; }
  html[dir="rtl"] .architecture-rail { right: auto; left: 4px; }
  .architecture-layer { grid-template-columns: 42px 1fr; gap: 12px; padding: 14px; }
  .architecture-layer ul { grid-column: 1 / -1; }
  .architecture-layer div small { font-size: .64rem; }
  .architecture-foot { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 13px; padding: 18px; }
}

/* Experience and case studies */
.experience-hero { position: relative; isolation: isolate; overflow: hidden; padding: 126px 0 110px; color: var(--white); background: var(--charcoal); }
.experience-hero::before { position: absolute; z-index: -1; inset: 0; content: ""; opacity: .28; background-image: linear-gradient(rgba(255,255,255,.12) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.12) 1px, transparent 1px); background-size: 82px 82px; mask-image: linear-gradient(90deg, black, transparent 82%); }
.experience-hero-copy { max-width: 900px; }
.experience-hero h1 { max-width: 860px; font-size: clamp(3rem, 6.4vw, 5.4rem); }
.experience-hero-copy > p:not(.eyebrow) { max-width: 760px; color: #c7d1d3; font-size: 1.08rem; }
.experience-note { margin-top: 30px; padding-inline-start: 20px; border-inline-start: 3px solid var(--green); color: #aebbbf; font-size: .78rem; }
.experience-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; }
.experience-card { overflow: hidden; border: 1px solid var(--line); border-radius: 24px; background: var(--white); transition: transform 180ms ease, box-shadow 180ms ease; }
.experience-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.experience-card img { width: 100%; height: 250px; object-fit: cover; }
.experience-card-body { padding: 30px; }
.experience-card-body p { color: var(--muted); font-size: .88rem; }
.experience-card .case-link { margin-top: 28px; }
.proof-principles { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.proof-principle { padding: 30px; border: 1px solid #3c494e; border-radius: 18px; background: var(--charcoal-soft); }
.proof-principle span { display: grid; width: 44px; height: 44px; margin-bottom: 30px; place-items: center; border-radius: 13px; color: #9cd09d; background: rgba(69,140,71,.16); }
.fa-solid { font-style: normal; font-weight: 900; }
.fa-check::before { content: "✓"; }
.fa-bullseye::before { content: "◎"; }
.fa-user-shield::before { content: "◆"; }
.fa-circle-info::before { content: "i"; }
.proof-principle p { margin: 0; color: #bac5c7; font-size: .86rem; }
.case-study-hero { position: relative; isolation: isolate; min-height: 650px; display: flex; align-items: end; overflow: hidden; padding: 150px 0 86px; color: var(--white); background-position: center; background-size: cover; }
.case-study-hero::before { position: absolute; z-index: -1; inset: 0; content: ""; background: linear-gradient(90deg, rgba(14,20,23,.96) 0%, rgba(14,20,23,.86) 48%, rgba(14,20,23,.25) 100%); }
html[dir="rtl"] .case-study-hero::before { background: linear-gradient(270deg, rgba(14,20,23,.96) 0%, rgba(14,20,23,.86) 48%, rgba(14,20,23,.25) 100%); }
.case-study-hero.pharmaceutical { background-image: url("assets/case-pharmaceutical.jpg"); }
.case-study-hero.cleaning-products { background-image: url("assets/case-cleaning-products.jpg"); }
.case-study-hero.wood-products { background-image: url("assets/case-wood-products.jpg"); }
html[dir="rtl"] .case-study-hero.pharmaceutical { background-image: url("../assets/case-pharmaceutical.jpg"); }
html[dir="rtl"] .case-study-hero.cleaning-products { background-image: url("../assets/case-cleaning-products.jpg"); }
html[dir="rtl"] .case-study-hero.wood-products { background-image: url("../assets/case-wood-products.jpg"); }
.case-study-copy { max-width: 830px; }
.case-study-copy h1 { max-width: 800px; font-size: clamp(3rem, 6.2vw, 5.4rem); }
.case-study-copy > p:not(.eyebrow) { max-width: 720px; color: #d3dcde; font-size: 1.06rem; }
.anonymous-label { display: inline-flex; align-items: center; gap: 10px; margin-top: 26px; color: #aebbbf; font-size: .72rem; font-weight: 800; }
.anonymous-label::before { width: 8px; height: 8px; border-radius: 50%; content: ""; background: #8ac68c; box-shadow: 0 0 0 6px rgba(69,140,71,.2); }
.case-meta { position: relative; z-index: 4; margin-top: -34px; }
.case-meta-grid { display: grid; grid-template-columns: repeat(3,1fr); overflow: hidden; border-radius: 18px; box-shadow: var(--shadow); background: var(--white); }
.case-meta-item { min-height: 118px; padding: 25px; border-inline-end: 1px solid var(--line); }
.case-meta-item:last-child { border-inline-end: 0; }
.case-meta-item span { display: block; margin-bottom: 8px; color: var(--green); font-size: .68rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.case-meta-item strong { font-size: .85rem; }
.case-challenge-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 80px; align-items: start; }
.case-challenge-copy { position: sticky; top: 120px; }
.case-challenge-copy p:last-child { color: var(--muted); }
.evidence-list { display: grid; gap: 14px; }
.evidence-item { display: grid; grid-template-columns: 52px 1fr; gap: 20px; padding: 25px; border: 1px solid var(--line); border-radius: 18px; background: var(--white); }
.evidence-item span { display: grid; width: 46px; height: 46px; place-items: center; border-radius: 13px; color: var(--green); background: var(--green-soft); font-size: .75rem; font-weight: 900; }
.evidence-item h3 { margin: 0 0 7px; font-size: 1rem; }
.evidence-item p { margin: 0; color: var(--muted); font-size: .84rem; }
.engagement-map { display: grid; grid-template-columns: repeat(4,1fr); overflow: hidden; border: 1px solid #3c494e; border-radius: 22px; background: var(--charcoal-soft); }
.engagement-stage { min-height: 235px; padding: 30px; border-inline-end: 1px solid #3c494e; }
.engagement-stage:last-child { border-inline-end: 0; }
.engagement-stage span { display: block; margin-bottom: 50px; color: #8fca91; font-size: .72rem; font-weight: 900; }
.engagement-stage p { margin: 0; color: #bac5c7; font-size: .84rem; }
.verified-outcomes { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.verified-card { min-height: 230px; padding: 30px; border: 1px solid var(--line); border-radius: 18px; background: var(--white); }
.verified-card::before { display: block; width: 36px; height: 4px; margin-bottom: 38px; border-radius: 999px; content: ""; background: var(--green); }
.verified-card p { margin: 0; color: var(--muted); font-size: .85rem; }
.case-disclaimer { display: flex; align-items: flex-start; gap: 16px; margin-top: 28px; padding: 22px 24px; border: 1px solid #cee0cf; border-radius: 15px; color: #47604a; background: #f2f8f2; font-size: .78rem; }
.case-disclaimer i { margin-top: 3px; color: var(--green); }
.related-cases { display: grid; grid-template-columns: repeat(2,1fr); gap: 18px; }
.related-case { padding: 28px; border: 1px solid var(--line); border-radius: 18px; color: var(--charcoal); background: var(--white); text-decoration: none; }
.related-case span { display: block; margin-bottom: 10px; color: var(--green); font-size: .7rem; font-weight: 900; text-transform: uppercase; }
.related-case strong { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
@media (max-width: 900px) {
  .experience-grid, .proof-principles, .verified-outcomes { grid-template-columns: 1fr; }
  .case-challenge-grid { grid-template-columns: 1fr; gap: 42px; }
  .case-challenge-copy { position: static; }
  .engagement-map { grid-template-columns: repeat(2,1fr); }
  .engagement-stage:nth-child(2) { border-inline-end: 0; }
  .engagement-stage:nth-child(n+3) { border-top: 1px solid #3c494e; }
}
@media (max-width: 650px) {
  .experience-hero { padding: 90px 0 80px; }
  .case-study-hero { min-height: 600px; padding: 110px 0 70px; background-position: 62% center; }
  html[dir="rtl"] .case-study-hero { background-position: 38% center; }
  .case-meta-grid, .engagement-map, .related-cases { grid-template-columns: 1fr; }
  .case-meta-item { border-top: 1px solid var(--line); border-inline-end: 0; }
  .case-meta-item:first-child { border-top: 0; }
  .engagement-stage, .engagement-stage:nth-child(n) { border-top: 1px solid #3c494e; border-inline-end: 0; }
  .engagement-stage:first-child { border-top: 0; }
  .evidence-item { grid-template-columns: 1fr; }
}

/* Lead generation */
.contact-hero { position: relative; isolation: isolate; overflow: hidden; padding: 96px 0 110px; color: var(--white); background: var(--charcoal); }
.contact-hero::before { position: absolute; z-index: -1; inset: 0; content: ""; opacity: .24; background-image: linear-gradient(rgba(255,255,255,.11) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.11) 1px, transparent 1px); background-size: 76px 76px; mask-image: linear-gradient(90deg, black, transparent 76%); }
html[dir="rtl"] .contact-hero::before { mask-image: linear-gradient(270deg, black, transparent 76%); }
.contact-layout { display: grid; grid-template-columns: .82fr 1.18fr; gap: 74px; align-items: start; }
.contact-intro { position: sticky; top: 120px; padding-top: 38px; }
.contact-intro h1 { font-size: clamp(3rem,5vw,4.7rem); }
.contact-intro > p:not(.eyebrow) { max-width: 630px; color: #c8d2d4; }
.contact-trust { display: grid; margin-top: 42px; overflow: hidden; border: 1px solid #3b484d; border-radius: 18px; background: rgba(255,255,255,.035); }
.contact-trust div { padding: 19px 22px; border-bottom: 1px solid #3b484d; }
.contact-trust div:last-child { border-bottom: 0; }
.contact-trust span { display: block; margin-bottom: 4px; color: #8fc891; font-size: .66rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.contact-trust strong { font-size: .82rem; }
.direct-contact { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 30px; }
.direct-contact p { width: 100%; margin: 0; color: #aebbbf; font-size: .75rem; }
.direct-contact a { color: var(--white); font-size: .8rem; font-weight: 800; text-decoration: none; }
.enquiry-panel { padding: 42px; border: 1px solid rgba(255,255,255,.12); border-radius: 28px; color: var(--charcoal); background: var(--white); box-shadow: 0 28px 80px rgba(0,0,0,.3); }
.form-heading { margin-bottom: 32px; }
.form-heading h2 { margin-bottom: 10px; font-size: clamp(1.8rem,3vw,2.6rem); }
.form-heading > p:last-child { margin: 0; color: var(--muted); font-size: .78rem; }
.form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
.field { min-width: 0; }
.field-wide { grid-column: 1 / -1; }
.field label, .choice-field legend { display: block; margin-bottom: 8px; color: var(--charcoal); font-size: .73rem; font-weight: 800; }
.field input, .field select, .field textarea { width: 100%; border: 1px solid #cfd9d1; border-radius: 12px; outline: 0; color: var(--charcoal); background: #fbfcfb; font: inherit; font-size: .82rem; transition: border-color 150ms ease, box-shadow 150ms ease, background 150ms ease; }
.field input, .field select { min-height: 49px; padding: 10px 13px; }
.field textarea { min-height: 132px; padding: 13px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--green); background: var(--white); box-shadow: 0 0 0 4px rgba(69,140,71,.12); }
.field input[aria-invalid="true"], .field select[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #b43c3c; box-shadow: 0 0 0 3px rgba(180,60,60,.09); }
.field small { display: block; margin-top: 5px; color: var(--muted); text-align: end; font-size: .65rem; }
.choice-field { min-width: 0; margin: 0; padding: 0; border: 0; }
.choice-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.choice-grid label { position: relative; margin: 0; }
.choice-grid input { position: absolute; opacity: 0; }
.choice-grid span { display: flex; min-height: 58px; align-items: center; padding: 11px 14px; border: 1px solid #d6dfd7; border-radius: 12px; color: var(--muted); background: #fbfcfb; font-size: .72rem; font-weight: 700; cursor: pointer; }
.choice-grid input:checked + span { border-color: var(--green); color: var(--green-dark); background: var(--green-soft); box-shadow: inset 0 0 0 1px var(--green); }
.choice-grid input:focus-visible + span { outline: 3px solid rgba(69,140,71,.22); outline-offset: 2px; }
.consent { display: grid; grid-template-columns: 20px 1fr; gap: 11px; align-items: start; color: var(--muted); font-size: .7rem; cursor: pointer; }
.consent input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--green); }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 27px; }
.form-actions .btn { border-radius: 12px; }
.form-actions button { cursor: pointer; }
.form-actions button:disabled { cursor: wait; opacity: .62; transform: none; }
.btn-whatsapp { border-color: #1e9b54; color: #167b42; background: #effaf3; }
.btn-whatsapp:hover { color: var(--white); background: #1e9b54; }
.form-status { display: none; margin-top: 22px; padding: 14px 16px; border-radius: 11px; font-size: .75rem; font-weight: 700; }
.form-status.visible { display: block; }
.form-status.success { border: 1px solid #b8d9ba; color: #2e6835; background: #edf7ee; }
.form-status.error { border: 1px solid #e2b7b7; color: #8c2e2e; background: #fff1f1; }
.form-security { margin: 18px 0 0; color: var(--muted); font-size: .65rem; }
.form-security span { display: inline-grid; width: 18px; height: 18px; margin-inline-end: 6px; place-items: center; border-radius: 50%; color: var(--green); background: var(--green-soft); font-weight: 900; }
.website-field { position: absolute !important; inset-inline-start: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.next-step-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.next-step-grid article { min-height: 230px; padding: 30px; border: 1px solid var(--line); border-radius: 18px; background: var(--white); }
.next-step-grid article > span { display: inline-grid; width: 42px; height: 42px; margin-bottom: 35px; place-items: center; border-radius: 12px; color: var(--green); background: var(--green-soft); font-size: .72rem; font-weight: 900; }
.next-step-grid p { margin: 0; color: var(--muted); font-size: .84rem; }
@media (max-width: 900px) {
  .contact-layout { grid-template-columns: 1fr; gap: 48px; }
  .contact-intro { position: static; padding-top: 0; }
  .next-step-grid { grid-template-columns: 1fr; }
}
@media (max-width: 650px) {
  .contact-hero { padding: 72px 0 80px; }
  .enquiry-panel { padding: 28px 20px; border-radius: 20px; }
  .form-grid, .choice-grid { grid-template-columns: 1fr; }
  .field { grid-column: 1 / -1; }
  .form-actions .btn { width: 100%; }
}

/* Service pages */
.service-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 118px 0 104px;
  color: var(--white);
  background: var(--charcoal);
}
.service-hero::before {
  position: absolute;
  z-index: -1;
  top: -250px;
  inset-inline-end: -180px;
  width: 680px;
  height: 680px;
  border: 1px solid rgba(147, 201, 149, 0.22);
  border-radius: 50%;
  content: "";
  box-shadow: 0 0 0 90px rgba(69,140,71,.06), 0 0 0 180px rgba(69,140,71,.035);
}
.service-hero-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 80px; align-items: end; }
.service-hero h1 { max-width: 850px; font-size: clamp(2.65rem, 5.4vw, 4.8rem); }
.service-hero-copy > p:not(.eyebrow) { max-width: 760px; color: #cbd5d7; font-size: 1.08rem; }
.service-hero-aside { overflow: hidden; padding: 0; border: 1px solid rgba(255,255,255,.13); border-radius: 22px; background: rgba(255,255,255,.045); box-shadow: 0 22px 55px rgba(0,0,0,.24); }
.service-hero-aside::before { display: block; height: 270px; content: ""; background-position: center; background-size: cover; }
html:has(link[rel="canonical"][href$="future-factories.html"]) .service-hero-aside::before,
html:has(link[rel="canonical"][href$="siri-assessment.html"]) .service-hero-aside::before { background-image: linear-gradient(180deg, transparent 62%, rgba(29,38,42,.72)), url("assets/smart-factory.jpg"); }
html[dir="rtl"]:has(link[rel="canonical"][href$="future-factories.html"]) .service-hero-aside::before,
html[dir="rtl"]:has(link[rel="canonical"][href$="siri-assessment.html"]) .service-hero-aside::before { background-image: linear-gradient(180deg, transparent 62%, rgba(29,38,42,.72)), url("assets/smart-factory.jpg"); }
html:has(link[rel="canonical"][href$="aimri-assessment.html"]) .service-hero-aside::before,
html:has(link[rel="canonical"][href$="transformation-pmo.html"]) .service-hero-aside::before { background-image: linear-gradient(180deg, transparent 62%, rgba(29,38,42,.72)), url("assets/ai-transformation.jpg"); }
html[dir="rtl"]:has(link[rel="canonical"][href$="aimri-assessment.html"]) .service-hero-aside::before,
html[dir="rtl"]:has(link[rel="canonical"][href$="transformation-pmo.html"]) .service-hero-aside::before { background-image: linear-gradient(180deg, transparent 62%, rgba(29,38,42,.72)), url("assets/ai-transformation.jpg"); }
html:has(link[rel="canonical"][href$="feasibility-studies.html"]) .service-hero-aside::before,
html:has(link[rel="canonical"][href$="reliability-asset-management.html"]) .service-hero-aside::before { background-image: linear-gradient(180deg, transparent 62%, rgba(29,38,42,.72)), url("assets/reliability-planning.jpg"); }
html[dir="rtl"]:has(link[rel="canonical"][href$="feasibility-studies.html"]) .service-hero-aside::before,
html[dir="rtl"]:has(link[rel="canonical"][href$="reliability-asset-management.html"]) .service-hero-aside::before { background-image: linear-gradient(180deg, transparent 62%, rgba(29,38,42,.72)), url("assets/reliability-planning.jpg"); }
.service-photo { width: 100%; height: 270px; object-fit: cover; }
.service-aside-content { padding: 26px 30px 30px; }
.service-hero-aside strong { display: block; margin: 26px 30px 14px; color: #9cd09d; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }
.service-hero-aside p { margin: 0 30px 30px; color: #e0e6e7; font-size: .9rem; }
.service-aside-content strong { margin: 0 0 14px; }
.service-aside-content p { margin: 0; }
.service-nav { padding: 18px 0; border-bottom: 1px solid var(--line); background: var(--white); }
.service-nav-inner { display: flex; flex-wrap: wrap; gap: 10px; }
.service-nav a { padding: 7px 11px; border-radius: 999px; color: var(--muted); font-size: .7rem; font-weight: 800; text-decoration: none; }
.service-nav a:hover, .service-nav a[aria-current="page"] { color: var(--white); background: var(--green); }
.split { display: grid; grid-template-columns: .86fr 1.14fr; gap: 84px; align-items: start; }
.split-copy { position: sticky; top: 120px; }
.split-copy p:last-child { color: var(--muted); }
.detail-stack { display: grid; gap: 16px; }
.detail-card { padding: 28px; border: 1px solid var(--line); border-radius: 18px; background: var(--white); }
.detail-card span { display: block; margin-bottom: 16px; color: var(--green); font-size: .72rem; font-weight: 900; }
.detail-card span i { margin-inline-end: 8px; }
.detail-card p { margin: 0; color: var(--muted); font-size: .88rem; }
.deliverable-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.deliverable-card { min-height: 235px; padding: 28px; border: 1px solid #3c494e; border-radius: 18px; background: var(--charcoal-soft); }
.deliverable-card span { display: grid; width: 42px; height: 42px; margin-bottom: 34px; place-items: center; border-radius: 12px; color: #9cd09d; background: rgba(69,140,71,.16); font-weight: 900; }
.deliverable-card span i { font-size: .9rem; }
.deliverable-card p { margin: 0; color: #b8c4c7; font-size: .84rem; }
.outcome-strip { display: grid; grid-template-columns: repeat(4, 1fr); overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: var(--white); }
.outcome-item { min-height: 160px; padding: 28px; border-inline-end: 1px solid var(--line); }
.outcome-item:last-child { border-inline-end: 0; }
.outcome-item span { display: block; margin-bottom: 22px; color: var(--green); font-size: .75rem; font-weight: 900; }
.outcome-item strong { display: block; font-size: .92rem; }
.service-proof { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: 34px 40px; border: 1px solid var(--line); border-radius: 22px; background: var(--green-soft); }
.service-proof p { max-width: 750px; margin: 0; color: var(--charcoal-soft); }
.service-proof strong { color: var(--green-dark); }
.visual-artifact { overflow: hidden; border: 1px solid var(--line); border-radius: 26px; box-shadow: var(--shadow); background: var(--white); }
.artifact-head { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 28px 32px; color: var(--white); background: var(--charcoal); }
.artifact-head p { margin: 0; color: #aebbbf; font-size: .8rem; }
.artifact-head strong { font-size: 1rem; }
.artifact-status { display: inline-flex; align-items: center; gap: 8px; color: #9cd09d; font-size: .7rem; font-weight: 900; }
.artifact-status::before { width: 8px; height: 8px; border-radius: 50%; content: ""; background: #7fbd81; box-shadow: 0 0 0 6px rgba(69,140,71,.18); }
.artifact-grid { display: grid; grid-template-columns: repeat(4,1fr); }
.artifact-item { min-height: 170px; padding: 28px; border-inline-end: 1px solid var(--line); }
.artifact-item:last-child { border-inline-end: 0; }
.artifact-icon { display: grid; width: 44px; height: 44px; margin-bottom: 28px; place-items: center; border-radius: 13px; color: var(--green); background: var(--green-soft); font-size: 1rem; }
.artifact-item span { display: block; margin-bottom: 8px; color: var(--muted); font-size: .66rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.artifact-item strong { display: block; font-size: .86rem; }
.artifact-track { height: 5px; margin-top: 18px; overflow: hidden; border-radius: 999px; background: #e3e9e4; }
.artifact-track i { display: block; height: 100%; border-radius: inherit; background: var(--green); }
.service-footer-links { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 9px 18px; }
.service-footer-links a { color: #b7c2c5; font-size: .78rem; text-decoration: none; }
.service-footer-links a:hover { color: #92c994; }
@media (max-width: 900px) {
  .service-hero-grid, .split { grid-template-columns: 1fr; gap: 44px; }
  .split-copy { position: static; }
  .deliverable-grid { grid-template-columns: repeat(2,1fr); }
  .outcome-strip { grid-template-columns: repeat(2,1fr); }
  .outcome-item:nth-child(2) { border-inline-end: 0; }
  .outcome-item:nth-child(n+3) { border-top: 1px solid var(--line); }
  .artifact-grid { grid-template-columns: repeat(2,1fr); }
  .artifact-item:nth-child(2) { border-inline-end: 0; }
  .artifact-item:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 600px) {
  .service-hero { padding: 82px 0 76px; }
  .deliverable-grid, .outcome-strip { grid-template-columns: 1fr; }
  .outcome-item, .outcome-item:nth-child(n) { border-top: 1px solid var(--line); border-inline-end: 0; }
  .outcome-item:first-child { border-top: 0; }
  .service-proof { align-items: flex-start; flex-direction: column; padding: 28px; }
  .service-photo { height: 220px; }
  .artifact-head { align-items: flex-start; flex-direction: column; }
  .artifact-grid { grid-template-columns: 1fr; }
  .artifact-item, .artifact-item:nth-child(n) { border-top: 1px solid var(--line); border-inline-end: 0; }
  .artifact-item:first-child { border-top: 0; }
}
