@import url("https://fonts.googleapis.com/css2?family=Rubik:wght@400;500;600;700;800;900&display=swap");

:root {
  --sky: #72d8ff;
  --sky-dark: #2f91c7;
  --orange: #f57c00;
  --ink: #263047;
  --ink-deep: #101827;
  --muted: #647184;
  --line: #dceaf5;
  --soft: #f8fcff;
  --soft-warm: #fff5ed;
  --white: #ffffff;
  --page-gradient:
    linear-gradient(90deg, rgba(227, 240, 255, 0.72), rgba(255, 239, 227, 0.72)),
    var(--soft);
  --shadow: 0 18px 50px rgba(16, 24, 39, 0.14);
  --radius: 8px;
  --container: 1180px;
  --header-container: 1424px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  direction: rtl;
  overflow-x: hidden;
}

html[dir="ltr"] {
  direction: ltr;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--page-gradient);
  font-family: "Rubik", "Segoe UI", Arial, sans-serif;
  letter-spacing: 0;
  line-height: 1.6;
  overflow-x: hidden;
  direction: rtl;
  text-rendering: geometricPrecision;
}

html[dir="ltr"] body {
  direction: ltr;
}

body.menu-open {
  overflow: hidden;
}

body.modal-open {
  overflow: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
  letter-spacing: 0;
}

button {
  color: inherit;
}

.container {
  width: calc(100% - 40px);
  max-width: var(--container);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  right: 12px;
  z-index: 1000;
  transform: translateY(-140%);
  padding: 10px 14px;
  color: var(--white);
  background: var(--ink-deep);
  border-radius: var(--radius);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: absolute;
  inset: 0 0 auto;
  padding-top: 22px;
  z-index: 50;
  color: var(--white);
  pointer-events: none;
  transition: color 200ms ease;
}

.site-header.is-scrolled,
.site-header.menu-active {
  color: var(--ink);
}

.top-line {
  border-bottom: 0;
  background: transparent;
  pointer-events: auto;
}

.site-header.is-scrolled .top-line,
.site-header.menu-active .top-line {
  background: transparent;
  color: var(--white);
}

.top-line__inner {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(16, 24, 39, 0.38);
  box-shadow: 0 12px 34px rgba(16, 24, 39, 0.12);
  backdrop-filter: blur(16px);
  font-size: 14px;
  font-weight: 700;
  transition: background 200ms ease, border-color 200ms ease, box-shadow 200ms ease, color 200ms ease;
}

.site-header.is-scrolled .top-line__inner,
.site-header.menu-active .top-line__inner {
  color: var(--ink);
  border-color: rgba(220, 234, 245, 0.82);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 14px 38px rgba(16, 24, 39, 0.12);
}

.top-line a {
  color: var(--sky);
}

.site-header.is-scrolled .top-line a,
.site-header.menu-active .top-line a {
  color: var(--sky-dark);
}

.nav {
  position: relative;
  width: calc(100% - 16px);
  max-width: var(--header-container);
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 0 auto;
  padding: 12px 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 26px 26px 18px 18px;
  background: rgba(16, 24, 39, 0.2);
  box-shadow: 0 18px 48px rgba(16, 24, 39, 0.12);
  backdrop-filter: blur(16px);
  pointer-events: auto;
  transition: background 200ms ease, border-color 200ms ease, box-shadow 200ms ease, color 200ms ease;
}

.site-header.is-scrolled .nav,
.site-header.menu-active .nav {
  border-color: rgba(220, 234, 245, 0.92);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 46px rgba(16, 24, 39, 0.12);
}

.nav__info {
  position: absolute;
  inset: calc(100% - 1px) -1px auto;
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 6px 22px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-top: 0;
  border-radius: 0 0 20px 20px;
  background: rgba(16, 24, 39, 0.34);
  box-shadow: 0 16px 38px rgba(16, 24, 39, 0.1);
  backdrop-filter: blur(16px);
  color: rgba(255, 255, 255, 0.86);
  font-size: 13px;
  font-weight: 850;
  line-height: 1.2;
  white-space: nowrap;
}

.nav__info a {
  color: var(--sky);
}

.site-header.is-scrolled .nav__info,
.site-header.menu-active .nav__info {
  border-color: rgba(220, 234, 245, 0.9);
  background: rgba(255, 255, 255, 0.8);
  color: rgba(38, 48, 71, 0.82);
}

.site-header.is-scrolled .nav__info a,
.site-header.menu-active .nav__info a {
  color: var(--sky-dark);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 21px;
  font-weight: 900;
}

.brand span {
  white-space: nowrap;
}

.brand img {
  width: 50px;
  height: 54px;
  object-fit: contain;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.18));
}

.brand--en,
.brand--wide-logo {
  gap: 10px;
  flex: 0 0 auto;
}

.brand--en img,
.brand--wide-logo img {
  width: 118px;
  height: 56px;
  padding: 0;
  object-fit: contain;
  border-radius: 0;
  background: transparent;
}

.brand--en span,
.brand--wide-logo span {
  display: block;
  max-width: 122px;
  color: var(--sky);
  font-size: 11px;
  line-height: 1.08;
  font-weight: 950;
  white-space: normal;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(13px, 1.35vw, 22px);
  font-size: 14.5px;
  font-weight: 800;
}

.nav-links a,
.nav-links button {
  position: relative;
  display: inline-flex;
  align-items: center;
  border: 0;
  color: inherit;
  background: transparent;
  padding-block: 10px;
  font-weight: inherit;
  cursor: pointer;
  white-space: nowrap;
}

.nav-links a::after,
.nav-links button::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 3px;
  width: 0;
  height: 2px;
  background: var(--orange);
  transition: width 180ms ease;
}

html[dir="ltr"] .nav-links a::after,
html[dir="ltr"] .nav-links button::after {
  right: auto;
  left: 0;
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after,
.nav-links button:hover::after,
.nav-links button:focus-visible::after {
  width: 100%;
}

.nav-cta {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 9px 16px;
  color: var(--white);
  background: var(--orange);
  border-radius: 14px;
  font-size: 15px;
  font-weight: 900;
  white-space: nowrap;
  box-shadow: 0 12px 26px rgba(245, 124, 0, 0.24);
  flex: 0 0 auto;
}

.language-switch {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 6px;
  margin-inline: 0;
  padding: 5px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
}

.site-header.is-scrolled .language-switch,
.site-header.menu-active .language-switch {
  border-color: var(--line);
  background: var(--white);
  box-shadow: 0 10px 24px rgba(16, 24, 39, 0.08);
}

.language-switch__item {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 18px;
  line-height: 1;
  opacity: 0.72;
  transition: transform 180ms ease, opacity 180ms ease, background 180ms ease;
}

.language-switch__item:hover,
.language-switch__item:focus-visible,
.language-switch__item.is-active {
  opacity: 1;
  background: rgba(114, 216, 255, 0.2);
  transform: translateY(-1px) scale(1.06);
}

.flag {
  position: relative;
  width: 22px;
  height: 15px;
  display: block;
  overflow: hidden;
  border-radius: 2px;
  background: var(--white);
  box-shadow: 0 0 0 1px rgba(16, 24, 39, 0.16);
}

.flag--il {
  background:
    linear-gradient(180deg, transparent 0 18%, #1672c6 18% 32%, transparent 32% 68%, #1672c6 68% 82%, transparent 82% 100%),
    var(--white);
}

.flag--il::before {
  content: "✡";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #1672c6;
  font-size: 8px;
  line-height: 1;
}

.flag--us {
  background:
    repeating-linear-gradient(180deg, #b22234 0 1.15px, var(--white) 1.15px 2.3px);
}

.flag--us::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 44%;
  height: 54%;
  background: #3c3b6e;
}

.nav-cta svg,
.btn svg,
.text-link svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.site-header.is-scrolled .nav-toggle,
.site-header.menu-active .nav-toggle {
  border-color: var(--line);
  background: var(--soft);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
  border-radius: 2px;
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-active .nav-toggle span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-active .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.menu-active .nav-toggle span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 88vh;
  overflow: hidden;
  isolation: isolate;
  color: var(--white);
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -3;
}

.hero__slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 1200ms ease, transform 6800ms ease;
}

.hero__slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.hero__shade {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(16, 24, 39, 0.9), rgba(16, 24, 39, 0.62) 43%, rgba(47, 145, 199, 0.12)),
    linear-gradient(180deg, rgba(16, 24, 39, 0.72), rgba(16, 24, 39, 0.15) 50%, rgba(16, 24, 39, 0.74));
}

.hero__grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.16;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.22) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.22) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(90deg, #000 0%, transparent 72%);
}

.hero__content {
  min-height: 88vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  padding-top: 128px;
  padding-bottom: 88px;
  text-align: right;
}

html[dir="ltr"] .hero__content {
  text-align: left;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 14px;
  color: var(--sky);
  font-size: 15px;
  font-weight: 900;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 3px;
  background: var(--orange);
  border-radius: 3px;
}

.eyebrow--light {
  color: var(--sky-dark);
}

.hero h1 {
  width: 100%;
  max-width: 850px;
  margin: 0;
  font-size: 58px;
  line-height: 1.06;
  font-weight: 950;
  letter-spacing: 0;
  overflow-wrap: break-word;
}

.hero__lead {
  width: 100%;
  max-width: 720px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 21px;
  font-weight: 600;
  overflow-wrap: break-word;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
  max-width: 720px;
}

.btn {
  position: relative;
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 16px;
  font-weight: 900;
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.btn > * {
  position: relative;
  z-index: 1;
}

.btn::before {
  content: "";
  position: absolute;
  inset: -120% auto -120% -46%;
  width: 38%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.38), transparent);
  transform: rotate(18deg) translateX(-180%);
  transition: transform 580ms ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px) scale(1.02);
}

.btn:hover::before,
.btn:focus-visible::before {
  transform: rotate(18deg) translateX(360%);
}

.btn--primary {
  color: var(--white);
  background: var(--orange);
  box-shadow: 0 16px 32px rgba(245, 124, 0, 0.28);
}

.btn--ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.46);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
}

.trust-strip {
  position: relative;
  z-index: 4;
  margin-top: -46px;
}

.trust-strip__inner {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--line);
  box-shadow: var(--shadow);
}

.trust-strip article {
  min-height: 112px;
  padding: 22px;
  background: var(--white);
}

.trust-strip strong {
  display: block;
  color: var(--sky-dark);
  font-size: 33px;
  line-height: 1;
  font-weight: 950;
}

html[dir="ltr"] .trust-strip strong {
  font-size: 24px;
}

.trust-strip span {
  display: block;
  margin-top: 9px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 750;
}

.section {
  padding: 104px 0;
}

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

.section-heading--center {
  margin-inline: auto;
  text-align: center;
}

.section-heading--center .eyebrow {
  justify-content: center;
}

.section-heading--split {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 34px;
}

.section-heading h2 {
  margin: 0;
  color: var(--ink-deep);
  font-size: 40px;
  line-height: 1.18;
  font-weight: 950;
}

.section-heading p:not(.eyebrow) {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.intro {
  padding-top: 98px;
  background: transparent;
}

.intro__grid {
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  gap: 70px;
  align-items: start;
}

.intro__text {
  padding-top: 44px;
  color: var(--muted);
  font-size: 18px;
  font-weight: 600;
}

.intro__text p {
  margin: 0;
}

.intro__text p + p {
  margin-top: 18px;
}

.services {
  background: transparent;
}

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

.service-card {
  position: relative;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--white), var(--soft));
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.service-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 4px;
  background: linear-gradient(90deg, var(--orange), var(--sky));
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms ease;
}

html[dir="ltr"] .service-card::after {
  transform-origin: left;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: rgba(114, 216, 255, 0.66);
  box-shadow: 0 18px 36px rgba(16, 24, 39, 0.1);
}

.service-card:hover::after {
  transform: scaleX(1);
}

.service-card__media {
  height: 160px;
  overflow: hidden;
  background: var(--ink-deep);
}

.service-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 560ms ease, filter 220ms ease;
}

.service-card:hover .service-card__media img {
  filter: saturate(1.08) contrast(1.04);
  transform: scale(1.08);
}

.service-card__body {
  flex: 1;
  padding: 24px;
}

.service-card__icon {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--orange);
  background: var(--soft-warm);
  border: 1px solid rgba(245, 124, 0, 0.22);
  border-radius: var(--radius);
  font-weight: 950;
}

.service-card h3 {
  margin: 22px 0 10px;
  color: var(--ink-deep);
  font-size: 22px;
  line-height: 1.25;
  font-weight: 950;
}

.service-card p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  font-weight: 650;
}

.shine-card,
.trust-strip article,
.contact-tile,
.client-logo-item {
  position: relative;
  overflow: hidden;
}

.shine-card > *,
.trust-strip article > *,
.contact-tile > *,
.client-logo-item > * {
  position: relative;
  z-index: 1;
}

.shine-card::before,
.trust-strip article::before,
.contact-tile::before,
.client-logo-item::before {
  content: "";
  position: absolute;
  inset: -120% auto -120% -58%;
  z-index: 2;
  width: 42%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.48), transparent);
  opacity: 0;
  transform: rotate(20deg) translateX(-180%);
  transition: transform 680ms ease, opacity 220ms ease;
  pointer-events: none;
}

.shine-card:hover::before,
.shine-card:focus-within::before,
.trust-strip article:hover::before,
.contact-tile:hover::before,
.contact-tile:focus-visible::before,
.client-logo-item:hover::before {
  opacity: 1;
  transform: rotate(20deg) translateX(390%);
}

.trust-strip article {
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.trust-strip article:hover {
  z-index: 1;
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 16px 32px rgba(16, 24, 39, 0.12);
}

.proof-band {
  padding: 32px 0;
  background: var(--ink-deep);
  color: var(--white);
  overflow: hidden;
}

.proof-band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
}

.proof-band p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
  font-weight: 850;
}

.client-marquee {
  position: relative;
  flex: 1;
  min-width: 0;
  height: 82px;
  overflow: hidden;
}

.client-track {
  --client-logo-gap: 14px;
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 0;
  direction: ltr;
  transform: translate3d(0, 0, 0);
  will-change: transform;
}

.client-logo-set {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-inline: 7px;
  flex: 0 0 auto;
  direction: rtl;
}

html[dir="ltr"] .client-logo-set {
  direction: ltr;
}

.client-logo-item {
  --hover-y: 0px;
  --hover-scale: 1;
  width: 158px;
  height: 68px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
  transition: box-shadow 180ms ease;
}

.client-logo-set .client-logo-item {
  transform: translateY(var(--hover-y)) scale(var(--hover-scale));
}

.client-track > .client-logo-item--marquee {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translate3d(var(--marquee-x, 0px), calc(-50% + var(--hover-y)), 0) scale(var(--hover-scale));
  will-change: transform;
}

.client-track > .client-logo-item--marquee.is-measuring {
  visibility: hidden;
  transform: translate3d(0, -50%, 0);
}

.client-logo-item--wide {
  width: 190px;
}

.client-logo-item--eapc img {
  transform: scale(1.72);
}

.client-logo-item:hover {
  --hover-y: -3px;
  --hover-scale: 1.04;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.24);
}

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

.client-logo-text {
  color: var(--ink-deep);
  font-size: 16px;
  font-weight: 950;
  line-height: 1.2;
  text-align: center;
}

.process {
  background: transparent;
}

.process__content {
  display: grid;
  gap: 36px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.step {
  min-width: 0;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
  text-align: right;
  border: 1px solid rgba(47, 145, 199, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(12px);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

html[dir="ltr"] .step {
  text-align: left;
}

.step:hover {
  transform: translateY(-5px) scale(1.02);
  border-color: rgba(245, 124, 0, 0.26);
  box-shadow: 0 18px 36px rgba(16, 24, 39, 0.1);
}

.step__media {
  width: 100%;
  height: 142px;
  overflow: hidden;
  background: var(--ink-deep);
}

.step__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 560ms ease, filter 220ms ease;
}

.step:hover .step__media img {
  filter: saturate(1.06) contrast(1.03);
  transform: scale(1.07);
}

.step__body {
  display: grid;
  gap: 12px;
  padding: 20px;
}

.step span {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  background: var(--sky-dark);
  border-radius: var(--radius);
  font-weight: 950;
}

.step h3 {
  margin: 0;
  color: var(--ink-deep);
  font-size: 20px;
  line-height: 1.2;
  font-weight: 950;
}

.step p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  font-weight: 650;
}

.projects {
  background: transparent;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--sky-dark);
  font-weight: 950;
  white-space: nowrap;
}

.project-gallery {
  display: grid;
  grid-template-columns: 1.22fr 0.78fr;
  grid-template-rows: repeat(2, 260px);
  gap: 18px;
}

.project-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--ink-deep);
  isolation: isolate;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.project-card--large {
  grid-row: span 2;
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 420ms ease;
}

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

.project-card:hover {
  transform: translateY(-5px) scale(1.01);
  box-shadow: 0 22px 40px rgba(16, 24, 39, 0.16);
}

.project-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 38%, rgba(16, 24, 39, 0.92));
}

.project-card div {
  position: absolute;
  inset: auto 0 0;
  z-index: 2;
  padding: 24px;
  color: var(--white);
}

.project-card h3 {
  margin: 0 0 6px;
  font-size: 23px;
  line-height: 1.2;
  font-weight: 950;
}

.project-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
  font-weight: 700;
}

.standards {
  background: transparent;
}

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

.standards-panel {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 18px 46px rgba(16, 24, 39, 0.11);
}

.standards-panel img {
  width: 100%;
  height: 330px;
  object-fit: cover;
}

.standards-panel ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 24px 28px 28px;
  list-style: none;
}

.standards-panel li {
  position: relative;
  padding-right: 22px;
  color: var(--ink);
  font-weight: 800;
}

html[dir="ltr"] .standards-panel li {
  padding-right: 0;
  padding-left: 22px;
}

.standards-panel li::before {
  content: "";
  position: absolute;
  top: 12px;
  right: 0;
  width: 8px;
  height: 8px;
  background: var(--orange);
  border-radius: 50%;
}

html[dir="ltr"] .standards-panel li::before {
  right: auto;
  left: 0;
}

.cta-section {
  position: relative;
  overflow: hidden;
  padding: 94px 0;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(16, 24, 39, 0.95), rgba(47, 145, 199, 0.84)),
    url("assets/project-2024-wide-01.webp") center / cover;
}

.cta-section__inner {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.cta-section h2 {
  margin: 0;
  max-width: 760px;
  font-size: 42px;
  line-height: 1.16;
  font-weight: 950;
}

.cta-section p:not(.eyebrow) {
  max-width: 680px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 18px;
  font-weight: 650;
}

.contact-actions {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.contact-tile {
  min-height: 118px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(14px);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.contact-tile:hover,
.contact-tile:focus-visible {
  transform: translateY(-4px) scale(1.02);
  border-color: rgba(114, 216, 255, 0.52);
  background: rgba(255, 255, 255, 0.16);
}

.contact-tile span {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  font-weight: 850;
}

.contact-tile strong {
  display: block;
  margin-top: 10px;
  color: var(--white);
  font-size: 20px;
  line-height: 1.2;
  font-weight: 950;
  overflow-wrap: anywhere;
}

.contact-tile--urgent {
  background: rgba(245, 124, 0, 0.86);
  border-color: rgba(245, 124, 0, 0.95);
}

.footer {
  padding: 34px 0;
  background: #070b13;
  color: rgba(255, 255, 255, 0.7);
}

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

.footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  font-weight: 950;
}

.footer__brand img {
  width: 44px;
  height: 46px;
  object-fit: contain;
}

.footer__brand--en img,
.footer__brand--wide-logo img {
  width: 108px;
  height: 46px;
  padding: 0;
  border-radius: 0;
  background: transparent;
}

.footer__brand--en span,
.footer__brand--wide-logo span {
  display: grid;
  gap: 3px;
}

.footer__brand--en strong,
.footer__brand--en small,
.footer__brand--wide-logo strong,
.footer__brand--wide-logo small {
  display: block;
  line-height: 1;
}

.footer__brand--en strong,
.footer__brand--wide-logo strong {
  color: var(--white);
  font-size: 18px;
}

.footer__brand--en small,
.footer__brand--wide-logo small {
  color: var(--sky);
  font-size: 11px;
  font-weight: 900;
}

.footer p {
  max-width: 620px;
  margin: 0;
  font-size: 14px;
  font-weight: 650;
}

.footer__legal {
  display: flex;
  justify-content: flex-end;
}

.footer__legal button {
  min-height: 42px;
  padding: 9px 14px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  font-size: 14px;
  font-weight: 850;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.footer__legal button:hover,
.footer__legal button:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(114, 216, 255, 0.55);
  background: rgba(114, 216, 255, 0.16);
}

.legal-modal[hidden] {
  display: none;
}

.legal-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 24px;
}

.legal-modal__backdrop {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(16, 24, 39, 0.84), rgba(47, 145, 199, 0.32)),
    rgba(16, 24, 39, 0.48);
  backdrop-filter: blur(18px);
}

.legal-modal__panel {
  position: relative;
  width: min(840px, 100%);
  max-height: min(760px, calc(100svh - 42px));
  overflow: hidden;
  display: grid;
  grid-template-rows: auto auto 1fr;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(248, 252, 255, 0.9)),
    var(--white);
  box-shadow: 0 34px 90px rgba(16, 24, 39, 0.28);
  direction: rtl;
}

html[dir="ltr"] .legal-modal__panel {
  direction: ltr;
}

.legal-modal__close {
  position: absolute;
  top: 18px;
  left: 18px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  color: var(--ink);
  background: rgba(220, 234, 245, 0.78);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

html[dir="ltr"] .legal-modal__close {
  left: auto;
  right: 18px;
}

.legal-modal__eyebrow {
  margin: 0 0 8px;
  color: var(--sky-dark);
  font-size: 13px;
  font-weight: 950;
}

.legal-modal h2 {
  margin: 0 0 12px;
  color: var(--ink-deep);
  font-size: 34px;
  line-height: 1.1;
}

.legal-modal h3 {
  margin: 24px 0 8px;
  color: var(--ink-deep);
  font-size: 18px;
}

.legal-modal p,
.legal-modal li {
  color: var(--muted);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.75;
}

.legal-modal ul {
  margin: 0;
  padding-inline-start: 22px;
}

.legal-modal__content {
  min-height: 0;
  overflow: auto;
  padding-inline-end: 8px;
}

.legal-modal__updated {
  margin-top: 24px;
  color: var(--sky-dark);
  font-weight: 850;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

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

  .reveal {
    opacity: 1;
    transform: none;
  }

  .hero__slide,
  .hero__slide.is-active,
  .client-track {
    transform: none;
  }

  .shine-card::before,
  .trust-strip article::before,
  .contact-tile::before,
  .client-logo-item::before,
  .btn::before {
    display: none;
  }
}

@media (min-width: 1021px) and (max-width: 1180px) {
  .nav {
    gap: 12px;
    padding-inline: 14px;
  }

  .nav-links {
    gap: 10px;
    font-size: 13.5px;
  }

  .nav-cta {
    padding-inline: 12px;
    font-size: 14px;
  }

  html[dir="ltr"] .nav {
    gap: 10px;
    padding-inline: 12px;
  }

  html[dir="ltr"] .brand--en img,
  html[dir="ltr"] .brand--wide-logo img {
    width: 108px;
    height: 52px;
  }

  html[dir="ltr"] .brand--en span,
  html[dir="ltr"] .brand--wide-logo span {
    max-width: 96px;
    font-size: 9.8px;
  }
}

@media (min-width: 1021px) {
  html[dir="ltr"] .nav {
    width: calc(100% - 4px);
    max-width: 1500px;
    gap: clamp(12px, 1vw, 18px);
    padding-inline: 14px 8px;
  }

  html[dir="ltr"] .nav-links {
    gap: clamp(10px, 0.95vw, 18px);
    font-size: 14px;
  }

  html[dir="ltr"] .nav-cta {
    margin-inline-start: 4px;
  }

  html[dir="ltr"] .language-switch {
    position: static;
    z-index: 3;
    margin-inline-start: 8px;
    margin-inline-end: 0;
    transform: none;
  }
}

@media (max-width: 1020px) {
  .nav-toggle {
    display: inline-block;
  }

  .nav-links {
    position: fixed;
    top: 132px;
    right: 20px;
    left: 20px;
    display: grid;
    justify-items: center;
    gap: 0;
    padding: 10px;
    color: var(--ink);
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(220, 234, 245, 0.95);
    border-radius: 18px;
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
    transform: translateY(-14px);
    opacity: 0;
    pointer-events: none;
    transition: transform 180ms ease, opacity 180ms ease;
    text-align: center;
    direction: rtl;
  }

  html[dir="ltr"] .nav-links {
    direction: ltr;
  }

  .menu-active .nav-links {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links a,
  .nav-links button {
    width: 100%;
    justify-content: center;
    padding: 16px;
    border-radius: var(--radius);
  }

  .nav-links a:hover,
  .nav-links a:focus-visible,
  .nav-links button:hover,
  .nav-links button:focus-visible {
    background: var(--soft);
  }

  .nav-links a::after,
  .nav-links button::after {
    display: none;
  }

  .nav-cta {
    margin-right: auto;
  }

  .language-switch {
    margin-inline: 0;
  }

  .hero h1 {
    max-width: 760px;
    font-size: 48px;
  }

  .trust-strip__inner,
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .intro__grid,
  .standards__grid,
  .cta-section__inner {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .intro__text {
    padding-top: 0;
  }

  .project-gallery {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }

  .project-card,
  .project-card--large {
    min-height: 320px;
    grid-row: auto;
  }
}

@media (max-width: 720px) {
  .site-header {
    padding-top: 10px;
  }

  .container {
    width: calc(100% - 28px);
    max-width: var(--container);
  }

  .top-line__inner {
    width: calc(100% - 24px);
    min-height: 66px;
    align-items: center;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 5px;
    padding: 7px 10px;
    border-radius: 18px;
    font-size: 11.5px;
    line-height: 1.15;
    text-align: center;
  }

  .top-line__inner > span,
  .top-line__inner > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 26px;
    max-width: 100%;
    padding: 4px 9px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    white-space: nowrap;
  }

  .site-header.is-scrolled .top-line__inner > span,
  .site-header.is-scrolled .top-line__inner > a,
  .site-header.menu-active .top-line__inner > span,
  .site-header.menu-active .top-line__inner > a {
    background: rgba(114, 216, 255, 0.12);
  }

  .nav {
    position: relative;
    width: calc(100% - 6px);
    max-width: none;
    margin: 8px auto 0;
    padding: 9px 14px 10px;
    min-height: 112px;
    display: grid;
    grid-template-columns: minmax(102px, 1fr) 62px minmax(102px, 1fr);
    grid-template-areas:
      "lang menu brand"
      "info info info";
    grid-template-rows: auto auto;
    align-items: center;
    justify-content: stretch;
    gap: 8px 10px;
    border-radius: 22px;
    direction: ltr;
    overflow: visible;
  }

  .nav__info {
    position: static;
    grid-area: info;
    width: 100%;
    min-height: 0;
    display: grid;
    justify-items: center;
    justify-content: center;
    align-content: center;
    gap: 4px;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    text-align: center;
    font-size: 10.7px;
    line-height: 1.15;
    white-space: normal;
    transform: none;
  }

  .nav__info > span,
  .nav__info > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    padding: 3px 9px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .site-header.is-scrolled .nav__info > span,
  .site-header.is-scrolled .nav__info > a,
  .site-header.menu-active .nav__info > span,
  .site-header.menu-active .nav__info > a {
    background: rgba(114, 216, 255, 0.12);
  }

  html[dir="ltr"] .nav {
    direction: ltr;
    grid-template-areas:
      "brand menu lang"
      "info info info";
  }

  html[dir="ltr"] .nav__info {
    display: grid;
  }

  .brand {
    position: static;
    grid-area: brand;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    width: auto;
    flex-direction: row;
    justify-content: center;
    gap: 7px;
    font-size: 12px;
    line-height: 1.12;
    direction: rtl;
    justify-self: end;
    align-self: center;
    transform: none;
    min-width: 0;
  }

  html[dir="ltr"] .brand {
    right: auto;
    left: 8px;
    direction: ltr;
    justify-self: start;
  }

  .brand span {
    display: block;
    max-width: none;
    white-space: nowrap;
    direction: rtl;
  }

  html[dir="ltr"] .brand span {
    direction: ltr;
  }

  .brand img {
    width: 36px;
    height: 40px;
  }

  .brand--en,
  .brand--wide-logo {
    gap: 0;
  }

  .brand--en img,
  .brand--wide-logo img {
    width: clamp(96px, 28vw, 118px);
    height: 52px;
    padding: 0;
    background: transparent;
  }

  .brand--en span,
  .brand--wide-logo span {
    display: none;
  }

  .nav-toggle {
    position: static;
    grid-area: menu;
    right: auto;
    top: auto;
    bottom: auto;
    width: 56px;
    height: 44px;
    z-index: 2;
    align-self: center;
    justify-self: center;
    transform: none;
    min-width: 0;
    border-radius: 16px;
  }

  .nav-toggle span {
    width: 24px;
    height: 2.5px;
    margin-block: 4.5px;
  }

  html[dir="ltr"] .nav-toggle {
    right: auto;
    left: 94px;
    justify-self: center;
  }

  .nav-cta {
    display: none;
  }

  html[dir="ltr"] .nav-cta {
    left: auto;
    right: auto;
  }

  .language-switch {
    position: static;
    grid-area: lang;
    top: auto;
    bottom: auto;
    left: 8px;
    padding: 4px;
    align-self: center;
    justify-self: start;
    transform: none;
    min-width: 0;
    max-width: 100%;
    margin-inline: 0;
  }

  html[dir="ltr"] .language-switch {
    left: auto;
    right: 8px;
    justify-self: end;
  }

  .language-switch__item {
    width: 29px;
    height: 29px;
    font-size: 16px;
  }

  .flag {
    width: 22px;
    height: 15px;
  }

  .nav-cta span {
    display: none;
  }

  .nav-cta svg {
    width: 16px;
    height: 16px;
  }

  .nav-links {
    top: 136px;
  }

  .hero {
    min-height: 92svh;
  }

  .hero__slide {
    object-position: 57% center;
  }

  .hero__shade {
    background:
      linear-gradient(180deg, rgba(16, 24, 39, 0.88), rgba(16, 24, 39, 0.58) 46%, rgba(16, 24, 39, 0.84)),
      rgba(16, 24, 39, 0.2);
  }

  .hero__content {
    min-height: 92svh;
    align-items: center;
    padding-top: 158px;
    padding-bottom: 86px;
    text-align: center;
  }

  html[dir="ltr"] .hero__content {
    align-items: flex-start;
    text-align: left;
  }

  .eyebrow {
    justify-content: center;
    font-size: 12px;
  }

  html[dir="ltr"] .eyebrow {
    justify-content: flex-start;
    max-width: 310px;
    flex-wrap: wrap;
    line-height: 1.25;
  }

  .hero h1 {
    max-width: min(312px, calc(100vw - 44px));
    margin-inline: auto;
    font-size: 21px;
    line-height: 1.2;
    text-wrap: balance;
    overflow-wrap: anywhere;
  }

  html[dir="ltr"] .hero h1 {
    max-width: 305px;
    margin-inline: 0;
    font-size: 23px;
  }

  .hero__lead {
    max-width: 336px;
    margin-top: 18px;
    font-size: 15.5px;
    line-height: 1.55;
  }

  html[dir="ltr"] .hero__lead {
    max-width: 330px;
    font-size: 16px;
  }

  .hero__actions,
  .btn {
    max-width: 100%;
    width: 100%;
  }

  .trust-strip {
    margin-top: 0;
  }

  .trust-strip__inner,
  .service-grid,
  .steps,
  .contact-actions {
    grid-template-columns: 1fr;
  }

  .trust-strip article {
    min-height: 94px;
    text-align: center;
  }

  .section {
    padding: 72px 0;
  }

  .section-heading h2,
  .cta-section h2 {
    font-size: 31px;
  }

  .section-heading--split {
    display: block;
  }

  .text-link {
    margin-top: 16px;
  }

  .proof-band__inner {
    display: grid;
    width: 100%;
    max-width: none;
    gap: 16px;
  }

  .client-marquee {
    width: calc(100vw + 240px);
    margin-inline: calc(50% - 50vw - 120px);
    height: 78px;
    overflow: hidden;
  }

  .client-logo-item {
    width: 136px;
    height: 62px;
  }

  .step {
    min-height: auto;
  }

  .project-card,
  .project-card--large {
    min-height: 320px;
  }

  .standards-panel img {
    height: 260px;
  }

  .footer__inner {
    display: grid;
  }

  .footer__legal {
    justify-content: flex-start;
  }

  .legal-modal {
    padding: 12px;
  }

  .legal-modal__panel {
    max-height: calc(100svh - 24px);
    padding: 22px 18px;
    border-radius: 18px;
  }

  .legal-modal h2 {
    font-size: 28px;
    padding-inline-end: 42px;
  }

  .legal-modal p,
  .legal-modal li {
    font-size: 14px;
    line-height: 1.7;
  }
}

@media (max-width: 420px) {
  .brand {
    width: auto;
  }

  .brand img {
    width: 32px;
    height: 36px;
  }

  .brand--en img,
  .brand--wide-logo img {
    width: 96px;
    height: 46px;
  }

  .brand span {
    max-width: none;
    font-size: 11px;
  }

  .brand--en span,
  .brand--wide-logo span {
    max-width: 86px;
    font-size: 8px;
    white-space: normal;
  }

  .nav-cta {
    width: 38px;
    min-height: 36px;
    padding: 7px 8px;
    font-size: 12px;
  }

  .top-line__inner {
    width: calc(100% - 18px);
    min-height: 66px;
    gap: 5px;
    padding: 7px 8px;
    font-size: 11px;
  }

  .nav {
    width: calc(100% - 4px);
    margin-inline: auto;
    padding-inline: 10px;
    grid-template-columns: minmax(96px, 1fr) 58px minmax(96px, 1fr);
    gap: 7px 6px;
  }

  .nav__info {
    font-size: 10.2px;
  }

  .nav-toggle {
    width: 54px;
    height: 42px;
    border-radius: 15px;
  }

  .hero h1 {
    max-width: min(300px, calc(100vw - 46px));
    font-size: 20.5px;
  }

  .hero__lead {
    max-width: 318px;
    font-size: 15px;
  }

  .section-heading h2,
  .cta-section h2 {
    font-size: 28px;
  }

  .contact-tile strong {
    font-size: 18px;
  }
}
