:root {
  color-scheme: dark;
  --bg: #090b0c;
  --bg-2: #0f1314;
  --panel: #151b1c;
  --panel-2: #101516;
  --text: #f3f1eb;
  --muted: #a8aaa4;
  --line: rgba(243, 241, 235, 0.14);
  --line-strong: rgba(243, 241, 235, 0.24);
  --teal: #4fb5aa;
  --teal-dark: #193f3d;
  --amber: #c89b4a;
  --steel: #6f7f82;
  --max: 1180px;
  --font-body:
    Aptos, "Segoe UI Variable Text", "Segoe UI", ui-sans-serif, system-ui,
    sans-serif;
  --font-display:
    Bahnschrift, "Aptos Display", "Segoe UI Variable Display", "Arial Narrow",
    Arial, sans-serif;
  font-family:
    var(--font-body);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 70% 10%, rgba(79, 181, 170, 0.12), transparent 34rem),
    linear-gradient(180deg, #090b0c 0%, #101314 58%, #090b0c 100%);
  color: var(--text);
}

body[dir="rtl"] {
  font-family:
    Arial, "Noto Sans Hebrew", "Segoe UI", sans-serif;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 28px;
  align-items: center;
  width: 100%;
  padding: 18px max(22px, calc((100vw - var(--max)) / 2));
  border-bottom: 1px solid transparent;
  background: rgba(9, 11, 12, 0.74);
  backdrop-filter: blur(18px);
}

.site-header[data-elevated="true"] {
  border-bottom-color: var(--line);
}

.brand img {
  width: 196px;
  height: auto;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: 24px;
  color: var(--muted);
  font-family: var(--font-display);
  font-size: 0.84rem;
  font-weight: 600;
  text-transform: uppercase;
}

.main-nav a {
  transition:
    color 180ms ease,
    transform 180ms ease;
}

.main-nav a:hover {
  color: var(--text);
  transform: translateY(-1px);
}

.language-switcher {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.lang-button {
  width: 42px;
  min-height: 34px;
  border: 0;
  border-inline-end: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
}

.lang-button:last-child {
  border-inline-end: 0;
}

.lang-button.is-active {
  background: var(--text);
  color: var(--bg);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 44px;
  align-items: center;
  min-height: calc(100svh - 76px);
  padding: 78px max(22px, calc((100vw - var(--max)) / 2)) 88px;
  overflow: hidden;
}

.hero::after {
  position: absolute;
  inset-inline: max(22px, calc((100vw - var(--max)) / 2));
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong), transparent);
  content: "";
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 660px;
}

.eyebrow,
.section-label,
.signal-panel span {
  margin: 0 0 18px;
  color: var(--amber);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 8px;
  font-family: var(--font-display);
  font-size: clamp(3.8rem, 9.4vw, 8rem);
  font-weight: 650;
  line-height: 0.9;
  letter-spacing: 0.018em;
  text-transform: uppercase;
}

.tagline {
  max-width: 620px;
  margin-bottom: 24px;
  color: var(--teal);
  font-size: clamp(1.25rem, 2.4vw, 2rem);
  font-family: var(--font-display);
  font-weight: 500;
}

.hero-text {
  max-width: 610px;
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.16rem);
  line-height: 1.75;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid var(--line-strong);
  border-radius: 3px;
  font-weight: 700;
  transition:
    border-color 180ms ease,
    background 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

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

.button.primary {
  border-color: var(--teal);
  background: var(--teal);
  color: #07100f;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
}

.hero-visual {
  position: relative;
  min-height: 520px;
  isolation: isolate;
}

.hero-visual img {
  width: min(760px, 58vw);
  margin-inline-start: auto;
  filter: drop-shadow(0 34px 90px rgba(0, 0, 0, 0.55));
}

.section {
  width: 100%;
  padding: 92px max(22px, calc((100vw - var(--max)) / 2));
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(300px, 1.15fr);
  gap: 64px;
}

h2 {
  max-width: 780px;
  margin-bottom: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.2vw, 4.4rem);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: 0;
}

.rich-text {
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.78;
}

.rich-text p:last-child {
  margin-bottom: 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(300px, 1fr) minmax(260px, 420px);
  gap: 44px;
  align-items: end;
  margin-bottom: 38px;
}

.section-heading.compact {
  align-items: start;
}

.section-heading p {
  color: var(--muted);
  line-height: 1.7;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.service-card {
  min-height: 284px;
  padding: 26px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012));
}

.service-index {
  display: block;
  margin-bottom: 72px;
  color: var(--steel);
  font-family: var(--font-display);
  font-weight: 700;
}

.service-card h3 {
  margin-bottom: 14px;
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 600;
}

.service-card p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.62;
}

.signal-section {
  padding-top: 46px;
  padding-bottom: 46px;
}

.signal-panel {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(260px, 0.7fr);
  gap: 36px;
  align-items: end;
  padding: 42px;
  border: 1px solid var(--line-strong);
  background:
    linear-gradient(110deg, rgba(79, 181, 170, 0.14), transparent 38%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
}

.signal-panel h2 {
  max-width: 780px;
  font-size: clamp(1.8rem, 3.6vw, 3.7rem);
}

.signal-panel p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.7;
}

.partner-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.partner-logo-cell {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 112px;
  padding: 28px 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.012);
}

.partner-logo {
  width: auto;
  max-width: min(150px, 74%);
  max-height: 52px;
  opacity: 0.9;
}

.partner-logo-wide {
  max-width: min(176px, 82%);
}

.partner-logo-tall {
  max-width: min(132px, 66%);
  max-height: 74px;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(300px, 0.7fr);
  gap: 58px;
  align-items: start;
  border-top: 1px solid var(--line);
}

.contact-copy p {
  max-width: 540px;
  color: var(--muted);
  line-height: 1.7;
}

.contact-email {
  display: inline-block;
  margin-top: 22px;
  color: var(--teal);
  font-weight: 700;
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: 28px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.035);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.9rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: rgba(4, 7, 7, 0.82);
  color: var(--text);
  font: inherit;
  line-height: 1.5;
}

.contact-form input {
  min-height: 44px;
  padding: 0 12px;
}

.contact-form textarea {
  resize: vertical;
  min-height: 150px;
  padding: 12px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(79, 181, 170, 0.42);
  outline-offset: 2px;
}

.submit-button {
  width: 100%;
  cursor: pointer;
  font: inherit;
}

.form-note {
  margin-bottom: 0;
  color: var(--steel);
  font-size: 0.86rem;
  line-height: 1.5;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 32px;
  align-items: center;
  justify-content: space-between;
  padding: 30px max(22px, calc((100vw - var(--max)) / 2));
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer img {
  width: 154px;
}

.site-footer p {
  margin-bottom: 0;
}

@media (max-width: 920px) {
  .site-header {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .main-nav {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .language-switcher {
    width: min(100%, 360px);
  }

  .hero,
  .section-grid,
  .section-heading,
  .signal-panel,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 64px;
  }

  .hero-visual {
    min-height: 310px;
  }

  .hero-visual img {
    width: min(100%, 620px);
    margin-inline: auto;
  }

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

  .partner-strip {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 620px) {
  .brand img {
    width: 166px;
  }

  .main-nav {
    gap: 16px;
    font-size: 0.84rem;
  }

  .hero {
    padding-top: 48px;
    padding-bottom: 64px;
  }

  h1 {
    font-size: clamp(3.05rem, 16.6vw, 4.85rem);
    letter-spacing: 0.01em;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .section {
    padding-top: 66px;
    padding-bottom: 66px;
  }

  .service-grid,
  .partner-strip {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 238px;
  }

  .service-index {
    margin-bottom: 48px;
  }

  .signal-panel,
  .contact-form {
    padding: 22px;
  }
}
