:root {
  --bg: #050814;
  --ink: #f4f7fb;
  --muted: #9aa6bd;
  --line: rgba(255, 255, 255, 0.1);
  --cyan: #3ad4e0;
  --cyan-2: #8ef6ff;
  --coral: #ff5d6c;
  --card: #10141f;
  --max: 1180px;
  --header: 76px;
  --font: "IBM Plex Sans Arabic", Manrope, "Segoe UI", sans-serif;
  --display: Manrope, "IBM Plex Sans Arabic", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background-color: var(--bg);
  background-image:
    radial-gradient(880px 480px at 88% -8%, rgba(58, 212, 224, 0.16), transparent 58%),
    radial-gradient(640px 380px at -8% 12%, rgba(77, 124, 255, 0.14), transparent 52%);
  color: var(--ink);
  color-scheme: dark;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
}
html[lang="en"] body { font-family: Manrope, "IBM Plex Sans Arabic", sans-serif; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::placeholder { color: #6e7a90; }
::selection { background: rgba(58, 212, 224, 0.28); color: #fff; }
.skip {
  position: absolute;
  inset-inline-start: 12px;
  top: -48px;
  background: var(--cyan);
  color: #041316;
  padding: 8px 12px;
  z-index: 40;
  border-radius: 8px;
}
.skip:focus { top: 12px; }
.wrap { width: min(var(--max), calc(100% - 48px)); margin-inline: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  height: var(--header);
  display: flex;
  align-items: center;
  background: rgba(5, 8, 20, 0.72);
  backdrop-filter: blur(18px);
}
.site-header::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(58, 212, 224, 0.7), rgba(255, 93, 108, 0.55), transparent);
}
.site-header.is-stuck { background: rgba(5, 8, 20, 0.92); }
.header-inner {
  position: relative;
  width: min(var(--max), calc(100% - 48px));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.header-end { display: flex; align-items: center; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; letter-spacing: 0; }
.brand span { white-space: nowrap; }
.brand img {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  object-fit: cover;
  object-position: center 30%;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.nav { display: flex; align-items: center; gap: 22px; }
.nav > a:not(.btn) { color: var(--muted); font-size: 15px; font-weight: 500; position: relative; }
.nav > a:not(.btn):hover { color: var(--ink); }
.nav > a:not(.btn)::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: -6px;
  height: 1px;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}
.nav > a:not(.btn):hover::after { transform: scaleX(1); }
.nav a.nav-cta { display: none; }
.nav-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px;
  cursor: pointer;
}
.lang { display: flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; background: rgba(255, 255, 255, 0.03); }
.lang button {
  border: 0;
  background: transparent;
  color: var(--muted);
  border-radius: 999px;
  padding: 5px 11px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
}
.lang button[aria-pressed="true"] { background: var(--ink); color: #10141c; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: filter 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.btn-primary {
  background: linear-gradient(180deg, #9af8ff 0%, #2ad4e2 100%);
  color: #041316;
  box-shadow: 0 10px 28px rgba(42, 212, 226, 0.22);
}
.btn-primary:hover { filter: brightness(1.06); }
.btn-ghost {
  border-color: rgba(255, 255, 255, 0.16);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.03);
}
.btn-ghost:hover { border-color: rgba(58, 212, 224, 0.6); background: rgba(58, 212, 224, 0.06); }
.nav a.btn-primary, .header-cta { color: #041316; }

.hero { position: relative; padding: 64px 0 8px; overflow: hidden; }
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse at center, #000 12%, transparent 72%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: 42px;
  align-items: center;
}
.eyebrow {
  margin: 0 0 14px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
html[lang="ar"] .eyebrow { letter-spacing: 0; text-transform: none; font-size: 14px; }
h1, h2, h3 { margin: 0; font-weight: 600; }
h1 { font-size: clamp(40px, 4.3vw, 60px); line-height: 1.12; max-width: 11em; }
h1 span { display: block; }
html[lang="ar"] h1 { line-height: 1.38; letter-spacing: 0; max-width: 12em; }
html[lang="en"] h1 { font-family: var(--display); font-weight: 800; letter-spacing: -0.045em; line-height: 1.02; }
.grad { color: #8ef6ff; }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .grad {
    background: linear-gradient(105deg, #e7fdff 0%, #3ad4e0 34%, #8eb0ff 70%, #ff8b96 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
}
html[lang="ar"] h1 .grad { line-height: 1.45; padding-bottom: 0.06em; }
.lead { margin: 18px 0 0; max-width: 38rem; color: var(--muted); font-size: 18px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.proof {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 22px 0 0;
  color: #d5deea;
  font-size: 14px;
  font-weight: 600;
}
.proof::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 5px rgba(58, 212, 224, 0.14);
  flex: none;
}

.stage-visual { display: flex; flex-direction: column; align-items: stretch; }
.window {
  position: relative;
  z-index: 1;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #0b101c;
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.45),
    0 0 80px rgba(58, 212, 224, 0.08);
  overflow: hidden;
}
.window-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 44px;
  padding: 0 14px;
  background: #101726;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.window-bar > span { width: 8px; height: 8px; border-radius: 50%; background: #2a3548; display: block; }
.window-bar > span:nth-child(1) { background: var(--coral); }
.window-bar > span:nth-child(2) { background: #e2b15a; }
.window-bar > span:nth-child(3) { background: var(--cyan); }
.window-bar em {
  margin-inline-start: 8px;
  font-style: normal;
  font-size: 12px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
  border-radius: 999px;
  padding: 4px 10px;
}
.window-body { display: grid; grid-template-columns: 148px 1fr; min-height: 372px; }
.side {
  padding: 16px 12px;
  background: #090d16;
  border-inline-end: 1px solid rgba(255, 255, 255, 0.06);
}
.side-brand { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; font-size: 12px; font-weight: 700; }
.side-brand img {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  object-fit: cover;
  object-position: center 28%;
}
.side-nav { display: flex; flex-direction: column; gap: 4px; }
.side-nav span {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 9px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}
.side-nav i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: 0.45; display: block; }
.side-nav .is-on { background: rgba(58, 212, 224, 0.12); color: var(--ink); }
.side-nav .is-on i { opacity: 1; background: var(--cyan); }
.main-pane { padding: 16px 16px 18px; }
.main-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.main-top small { display: block; color: var(--cyan); font-size: 11px; font-weight: 700; }
.main-top strong { font-size: 16px; }
.live { display: inline-flex; align-items: center; gap: 6px; color: #c8fff4; font-size: 12px; font-weight: 700; }
.live i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 4px rgba(58, 212, 224, 0.15);
  display: block;
  animation: pulse 1.8s ease infinite;
}
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 14px; }
.kpis div {
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.kpis strong { display: block; font-family: var(--display); font-size: 22px; font-weight: 700; letter-spacing: -0.04em; line-height: 1.1; }
.kpis span { color: var(--muted); font-size: 12px; }
.appt { margin-top: 8px; }
.appt div {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  gap: 8px;
  align-items: center;
  padding: 9px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 13px;
}
.appt time { color: var(--muted); font-variant-numeric: tabular-nums; }
.st { font-style: normal; font-size: 11px; font-weight: 700; border-radius: 999px; padding: 3px 8px; }
.st-ok { color: #042126; background: var(--cyan); }
.st-wait { color: #fff; background: rgba(255, 93, 108, 0.9); }
.st-done { color: #d5deea; background: rgba(255, 255, 255, 0.08); }
.spark { display: flex; align-items: flex-end; gap: 6px; height: 46px; margin-top: 12px; }
.spark i { flex: 1; display: block; border-radius: 5px 5px 2px 2px; background: linear-gradient(180deg, #9af8ff, #147f8a); }
.spark i:nth-child(3), .spark i:nth-child(7) { background: linear-gradient(180deg, #ffb0b8, var(--coral)); }
.spark i:nth-child(1) { height: 35%; }
.spark i:nth-child(2) { height: 55%; }
.spark i:nth-child(3) { height: 42%; }
.spark i:nth-child(4) { height: 72%; }
.spark i:nth-child(5) { height: 48%; }
.spark i:nth-child(6) { height: 86%; }
.spark i:nth-child(7) { height: 60%; }
.spark i:nth-child(8) { height: 94%; }
.float-card {
  position: relative;
  z-index: 2;
  align-self: end;
  width: 250px;
  margin-top: 12px;
  padding: 14px;
  border-radius: 16px;
  background: rgba(8, 12, 22, 0.84);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(16px);
}
.float-card p { margin: 0; color: var(--cyan); font-size: 12px; font-weight: 700; }
.float-card strong {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
  min-height: 42px;
  border-radius: 999px;
  background: linear-gradient(180deg, #9af8ff, #2ad4e2);
  color: #041316;
  font-size: 14px;
}
.float-card span { display: block; margin-top: 8px; color: var(--muted); font-size: 12px; line-height: 1.55; }
.stage-note { margin: 12px 0 0; color: var(--muted); font-size: 13px; }

.trust {
  position: relative;
  display: grid;
  grid-template-columns: max-content 1fr;
  align-items: center;
  gap: 28px;
  margin-top: 36px;
  padding: 16px 0;
  border-block: 1px solid var(--line);
}
.trust > p { margin: 0; color: var(--muted); font-size: 13px; font-weight: 700; white-space: nowrap; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee ul { display: flex; margin: 0; padding: 0; list-style: none; }
.marquee li {
  color: #e6edf7;
  font-weight: 600;
  font-size: 15px;
  white-space: nowrap;
  padding-inline: 8px 26px;
}
.marquee li::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-inline-end: 18px;
  border-radius: 50%;
  background: var(--cyan);
  transform: translateY(-2px);
}
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes pulse { 50% { opacity: 0.35; } }

section { padding: 108px 0; scroll-margin-top: 88px; }
section.hero { padding: 64px 0 8px; }
section.sectors { padding: 28px 0 0; }
.section-head { max-width: 680px; margin-bottom: 28px; }
.section-head h2 { font-size: clamp(32px, 4vw, 50px); line-height: 1.25; }
html[lang="en"] .section-head h2 { font-family: var(--display); letter-spacing: -0.04em; line-height: 1.08; }
html[lang="ar"] .section-head h2 { letter-spacing: 0; }
.section-head p:not(.eyebrow) { margin: 12px 0 0; color: var(--muted); }

.sector-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.sector-row article, .svc, .system, .case {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--line);
  border-radius: 18px;
}
.sector-row article { padding: 20px 18px 18px; transition: border-color 0.2s ease, transform 0.2s ease; }
.sector-row article:hover, .svc:hover, .system:hover, .case:hover {
  border-color: rgba(58, 212, 224, 0.45);
  transform: translateY(-2px);
}
.ico {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: var(--cyan);
  background: rgba(58, 212, 224, 0.1);
  border: 1px solid rgba(58, 212, 224, 0.2);
}
.ico svg { width: 22px; height: 22px; }
.sector-row span { display: block; margin-top: 16px; color: var(--cyan); font-size: 12px; font-weight: 700; }
.sector-row strong { display: block; margin-top: 6px; font-size: 17px; }
.sector-row em { display: block; margin-top: 4px; color: var(--muted); font-style: normal; font-size: 14px; }

.service-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.svc { min-height: 250px; padding: 24px; display: flex; flex-direction: column; }
.svc-accent {
  background:
    radial-gradient(280px 140px at 100% 0%, rgba(58, 212, 224, 0.14), transparent 70%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02));
}
.svc-top { display: flex; align-items: center; justify-content: space-between; }
.svc-top b { color: rgba(255, 255, 255, 0.35); font-size: 13px; letter-spacing: 0.08em; }
.svc h3 { margin-top: 22px; font-size: 26px; }
.svc p { margin: 8px 0 0; color: var(--muted); }
.text-link { margin-top: auto; padding-top: 18px; color: var(--cyan); font-weight: 700; font-size: 14px; }
.text-link::after { content: " ←"; }
html[dir="ltr"] .text-link::after { content: " →"; }
.text-link:hover { color: var(--cyan-2); }

.systems { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.system { display: flex; flex-direction: column; min-height: 250px; padding: 22px; }
.system-feature {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  padding: 0;
  overflow: hidden;
  min-height: 320px;
}
.system-copy { display: flex; flex-direction: column; flex: 1; }
.system-feature .system-copy { padding: 32px; }
.system .who { margin: 0; color: var(--cyan); font-size: 13px; font-weight: 700; }
.system h3 { margin: 8px 0 0; font-size: 26px; }
.system ul { margin: 16px 0 0; padding: 0; list-style: none; flex: 1; }
.system li {
  position: relative;
  padding: 5px 0;
  padding-inline-start: 16px;
  color: #d5deea;
  font-size: 15px;
}
.system li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  position: absolute;
  inset-inline-start: 0;
  top: 0.78em;
}
.more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 18px;
  min-height: 40px;
  padding: 0 14px;
  width: fit-content;
  border-radius: 999px;
  border: 1px solid rgba(58, 212, 224, 0.4);
  color: var(--cyan);
  font-weight: 700;
  font-size: 14px;
}
.more:hover { background: rgba(58, 212, 224, 0.12); }
.system-shot { position: relative; min-height: 100%; background: #090d16; }
.system-shot img { width: 100%; height: 100%; min-height: 280px; object-fit: cover; }
.system-shot::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to left, transparent 18%, var(--card) 96%);
  pointer-events: none;
}
html[dir="rtl"] .system-shot::after {
  background: linear-gradient(to right, transparent 18%, var(--card) 96%);
}

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.filters button {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  padding: 8px 14px;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
}
.filters button[aria-pressed="true"] { background: var(--ink); color: #10141c; border-color: transparent; }
.work-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.case {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 210px;
  padding: 22px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.case[hidden] { display: none !important; }
.case::after {
  content: attr(data-letter);
  position: absolute;
  z-index: 0;
  inset-inline-end: 8px;
  bottom: -28px;
  font-family: var(--display);
  font-size: 128px;
  font-weight: 800;
  line-height: 1;
  color: rgba(255, 255, 255, 0.045);
  pointer-events: none;
}
.case > * { position: relative; z-index: 1; }
.case-lead {
  grid-column: span 2;
  min-height: 250px;
  background:
    radial-gradient(420px 180px at 100% 0%, rgba(58, 212, 224, 0.16), transparent 62%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
}
.case-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.case .meta { margin: 0; color: var(--cyan); font-size: 13px; font-weight: 700; }
.case h3 { margin-top: auto; font-size: 22px; }
.case-lead h3 { font-size: 32px; }
.case p { margin: 0; color: var(--muted); }
.case-link { color: var(--ink); font-weight: 700; white-space: nowrap; }
.case-link:hover { color: var(--cyan); }
.case-link.out::after { content: " ↗"; }

.method-panel {
  padding: 42px 40px 28px;
  border-radius: 28px;
  border: 1px solid var(--line);
  background:
    radial-gradient(520px 200px at 100% 0%, rgba(58, 212, 224, 0.12), transparent 60%),
    rgba(255, 255, 255, 0.025);
}
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.steps article { position: relative; padding-top: 20px; border-top: 1px solid var(--line); }
.steps article::before {
  content: "";
  position: absolute;
  top: -1px;
  inset-inline-start: 0;
  width: 36px;
  height: 2px;
  background: var(--cyan);
}
.steps b { display: block; color: var(--cyan); font-family: var(--display); font-size: 13px; font-weight: 800; letter-spacing: 0.12em; }
.steps h3 { margin: 12px 0 0; font-size: 20px; }
.steps p { margin: 8px 0 0; color: var(--muted); font-size: 15px; }

#contact {
  background: radial-gradient(520px 240px at 0% 0%, rgba(58, 212, 224, 0.1), transparent 70%);
}
.contact-grid { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: 48px; align-items: start; }
.contact-grid h2 { font-size: clamp(32px, 4vw, 50px); line-height: 1.25; }
html[lang="en"] .contact-grid h2 { letter-spacing: -0.04em; line-height: 1.08; }
.mail {
  display: inline-block;
  margin-top: 26px;
  color: var(--ink);
  font-size: clamp(22px, 2.4vw, 32px);
  font-weight: 600;
}
.mail:hover { color: var(--cyan); }
.form-shell {
  padding: 1px;
  border-radius: 24px;
  background: linear-gradient(140deg, rgba(58, 212, 224, 0.75), rgba(255, 255, 255, 0.12) 42%, rgba(255, 93, 108, 0.55));
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
}
form {
  padding: 26px;
  background: #0d121c;
  border-radius: 23px;
}
label { display: block; margin-bottom: 14px; font-weight: 600; }
label span { display: block; margin-bottom: 6px; font-size: 14px; color: #d5deea; }
input, select, textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #090d16;
  border-radius: 12px;
  padding: 12px 14px;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: rgba(58, 212, 224, 0.75);
  box-shadow: 0 0 0 4px rgba(58, 212, 224, 0.12);
}
textarea { min-height: 120px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-note { margin: 0 0 14px; padding: 12px 14px; border-radius: 12px; background: rgba(58, 212, 224, 0.1); color: #d9fff8; }
form .btn { width: 100%; }

.site-footer { border-top: 1px solid var(--line); padding: 36px 0 42px; }
.footer-inner {
  width: min(var(--max), calc(100% - 48px));
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr auto;
  gap: 28px;
  align-items: start;
}
.footer-brand p { margin: 12px 0 0; max-width: 36ch; color: var(--muted); font-size: 14px; }
.footer-nav { display: flex; flex-direction: column; gap: 8px; }
.footer-nav a, .footer-contact p { color: var(--muted); }
.footer-nav a:hover, .footer-contact a:hover { color: var(--ink); }
.footer-contact { text-align: end; }
.footer-contact a { font-weight: 700; }
.footer-contact p { margin: 8px 0 0; font-size: 13px; }

:focus-visible { outline: 2px solid var(--cyan-2); outline-offset: 3px; }

@media (max-width: 980px) {
  .nav-toggle { display: inline-flex; }
  .header-cta { display: none; }
  .nav a.nav-cta { display: inline-flex; width: 100%; }
  .nav {
    display: none;
    position: absolute;
    z-index: 25;
    inset-inline: 0;
    top: calc(100% + 10px);
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 16px;
    background: #101622;
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
  }
  .nav.open { display: flex; }
  .nav > a:not(.btn) { color: var(--ink); font-size: 17px; padding: 6px 0; }
  .hero-grid, .service-grid, .contact-grid, .system-feature { grid-template-columns: 1fr; }
  .systems { grid-template-columns: 1fr 1fr; }
  .work-list { grid-template-columns: 1fr 1fr; }
  .case-lead { grid-column: span 2; }
  .steps { grid-template-columns: 1fr 1fr; }
  .sector-row { grid-template-columns: 1fr 1fr; }
  .float-card { align-self: stretch; width: 100%; }
  .system-shot img { min-height: 200px; height: 200px; }
  .system-shot::after, html[dir="rtl"] .system-shot::after {
    background: linear-gradient(to top, transparent 30%, var(--card) 96%);
  }
  .method-panel { padding: 28px 20px 12px; }
}
@media (max-width: 760px) {
  .wrap, .header-inner, .footer-inner { width: min(var(--max), calc(100% - 32px)); }
  .hero { padding-top: 36px; }
  h1 { font-size: 36px; }
  .window-body { grid-template-columns: 1fr; }
  .side { display: none; }
  .trust, .systems, .steps, .sector-row, .form-row, .work-list, .footer-inner { grid-template-columns: 1fr; }
  .case-lead { grid-column: auto; }
  .case-lead h3 { font-size: 26px; }
  .footer-contact { text-align: start; }
  section { padding: 76px 0; }
  section.hero { padding: 36px 0 8px; }
  .kpis strong { font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track, .live i { animation: none; }
  .sector-row article:hover, .svc:hover, .system:hover, .case:hover { transform: none; }
}
