/* ==========================================================================
   SPARTA Technology Solutions — premium enterprise theme
   Palette: Deep Navy #061B30 · Steel Blue #103452 · Electric Blue #2F94EA · Ice White #F5F9FD · White
   Type:    Tajawal (AR) · IBM Plex Sans (EN) · IBM Plex Mono (labels/numbers)
   ========================================================================== */

/* ---------- tokens ---------- */
:root{
  --navy:#061B30; --steel:#103452; --blue:#2F94EA; --ice:#F5F9FD; --white:#FFFFFF;

  /* dark (default) surface set */
  --bg:#061B30; --bg-soft:#0A2440; --bg-navy:#103452;
  --surface:#0B2742; --surface-2:#103452;
  --line:rgba(255,255,255,.11); --line-strong:rgba(255,255,255,.28);
  --ink:#F2F7FC; --ink-dim:#B2C4D6; --ink-faint:#8CA3BA;
  --blue-deep:#7FC8FF;                       /* accent TEXT colour on dark */
  --blue-tint:rgba(47,148,234,.16);
  --card-shadow:inset 0 1px 0 rgba(255,255,255,.05), 0 18px 40px -26px rgba(0,0,0,.7);
  --card-hover:0 0 0 1px rgba(47,148,234,.55), 0 22px 48px -22px rgba(47,148,234,.45);

  --radius:18px; --radius-sm:12px; --radius-xs:8px;
  --font-ar:'Tajawal','Noto Sans Arabic','Segoe UI',Tahoma,Arial,sans-serif;
  --font-en:'IBM Plex Sans','Segoe UI',system-ui,-apple-system,Roboto,'Helvetica Neue',Arial,sans-serif;
  --font-mono:'IBM Plex Mono',ui-monospace,'SFMono-Regular',Consolas,monospace;
  --font-body:var(--font-ar); --font-head:var(--font-ar);
  --header-h:88px;
}
html[lang="en"]{ --font-body:var(--font-en); --font-head:var(--font-en); }

/* light section set (white + ice) */
.sec-light, .sec-ice{
  --surface:#FFFFFF; --surface-2:#EAF2FA; --bg-soft:#EDF4FB;
  --line:rgba(16,52,82,.12); --line-strong:rgba(16,52,82,.30);
  --ink:#0A2036; --ink-dim:#41566B; --ink-faint:#5A6F84;
  --blue-deep:#17609E; --blue-tint:rgba(47,148,234,.11);
  --card-shadow:0 1px 2px rgba(16,52,82,.06), 0 18px 36px -22px rgba(16,52,82,.28);
  --card-hover:0 0 0 1px rgba(47,148,234,.55), 0 22px 44px -22px rgba(47,148,234,.38);
  color:var(--ink);
}
.sec-light{ background:#FFFFFF; }
.sec-ice{ background:var(--ice); }

/* ---------- base ---------- */
*{ box-sizing:border-box; margin:0; padding:0; }
html{ scroll-behavior:smooth; }
body{
  background:var(--bg); color:var(--ink); font-family:var(--font-body); font-weight:400;
  line-height:1.7; overflow-x:hidden; -webkit-font-smoothing:antialiased; text-rendering:optimizeLegibility;
}
html[lang="ar"] body{ line-height:1.85; }
h1,h2,h3{ font-family:var(--font-head); font-weight:600; line-height:1.22; letter-spacing:-.012em; color:var(--ink); }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3{ line-height:1.4; letter-spacing:0; font-weight:700; }
a{ color:inherit; text-decoration:none; }
img, svg{ display:block; max-width:100%; }
ul{ list-style:none; }
.wrap{ max-width:1200px; margin:0 auto; padding:0 32px; }
::selection{ background:var(--blue); color:#04162A; }
[hidden]{ display:none !important; }
.sr-only{ position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.skip-link{ position:absolute; top:-60px; inset-inline-start:16px; z-index:100; background:var(--blue); color:#04162A; padding:10px 18px; border-radius:8px; font-weight:600; }
.skip-link:focus{ top:12px; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible{
  outline:2px solid var(--blue); outline-offset:3px; border-radius:6px;
}

/* ---------- layout rhythm ---------- */
.sec{ position:relative; isolation:isolate; padding:104px 0; scroll-margin-top:calc(var(--header-h) - 8px); }
.sec-dark{
  background:radial-gradient(900px 420px at 82% -6%, rgba(47,148,234,.17), transparent 62%), linear-gradient(180deg,#061B30 0%,#07213A 100%);
}
.sec-dark::before, .pat-arch::before{
  content:''; position:absolute; top:0; left:0; right:0; bottom:0; z-index:-1; pointer-events:none;
  background-repeat:no-repeat; background-position:center; background-size:cover;
}
.sec-dark::before{ background-image:url("../assets/images/pathways.svg"); opacity:.9; }
.pat-arch::before{ background-image:url("../assets/images/architecture.svg"); }
html[dir="rtl"] .pat-arch::before{ transform:scaleX(-1); }

.section-head{ max-width:680px; margin-bottom:56px; }
.section-head.center{ margin-inline:auto; text-align:center; }
.section-head h2{ font-size:clamp(28px,3.1vw,40px); margin-bottom:16px; }
.section-head p{ color:var(--ink-dim); font-size:16.5px; }
.tag{
  display:inline-flex; align-items:center; gap:8px; margin-bottom:18px; padding:6px 15px; border-radius:999px;
  font-family:var(--font-body); font-size:12.5px; font-weight:600; letter-spacing:.06em;
  color:var(--blue-deep); background:var(--blue-tint); border:1px solid rgba(47,148,234,.28);
}
html[lang="ar"] .tag, html[lang="ar"] .line-badge{ letter-spacing:0; }
.tag.alt{ background:rgba(255,255,255,.07); border-color:rgba(255,255,255,.16); color:#9AD4FF; }

/* ---------- buttons ---------- */
.cta-btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px; min-height:48px; padding:12px 30px;
  border-radius:999px; border:1px solid var(--blue); background:var(--blue); color:#04162A;
  font-family:var(--font-body); font-weight:600; font-size:15px; line-height:1.3; text-align:center; cursor:pointer;
  box-shadow:0 10px 28px -12px rgba(47,148,234,.9); transition:transform .18s, box-shadow .18s, background .18s, border-color .18s;
}
.cta-btn:hover{ background:#5BB1F6; border-color:#5BB1F6; transform:translateY(-1px); box-shadow:0 14px 34px -12px rgba(47,148,234,1); }
.cta-btn.ghost{ background:transparent; color:var(--ink); border-color:var(--line-strong); box-shadow:none; }
.cta-btn.ghost:hover{ background:var(--blue-tint); border-color:var(--blue); transform:translateY(-1px); }

/* ---------- header / navigation ---------- */
header{
  position:sticky; top:0; z-index:50; background:rgba(6,27,48,.84); -webkit-backdrop-filter:blur(16px); backdrop-filter:blur(16px);
  border-bottom:1px solid rgba(255,255,255,.08);
}
.nav{ display:flex; align-items:center; justify-content:space-between; gap:24px; height:var(--header-h); }
/* logo: the PNG has a large transparent margin; the display box is cropped to the artwork (file untouched) */
.logo-crop{ display:block; position:relative; overflow:hidden; width:196px; aspect-ratio:327 / 91; flex:none; }
.logo-crop img{ position:absolute; max-width:none; height:auto; width:152.9052%; left:-24.159%; top:-141.7582%; }

nav.links{ display:flex; align-items:center; gap:34px; white-space:nowrap; }
nav.links > a, .dd-toggle{
  position:relative; display:inline-flex; align-items:center; gap:7px; padding:8px 2px; background:none; border:0; cursor:pointer;
  font-family:inherit; font-size:15px; font-weight:500; color:var(--ink-dim); transition:color .2s;
}
nav.links > a:hover, .dd-toggle:hover, .dropdown.open .dd-toggle, nav.links [aria-current="true"]{ color:#fff; }
nav.links [aria-current="true"]::after{ content:''; position:absolute; left:0; right:0; bottom:-3px; height:2px; background:var(--blue); border-radius:2px; box-shadow:0 0 12px rgba(47,148,234,.9); }
.dd-caret{ width:14px; height:14px; transition:transform .2s; }
.dropdown{ position:relative; }
.dropdown.open .dd-caret{ transform:rotate(180deg); }
.dd-menu{
  display:none; position:absolute; top:100%; inset-inline-start:-12px; z-index:70; min-width:430px; padding:8px; margin-top:6px;
  background:#0A2440; border:1px solid rgba(255,255,255,.14); border-radius:16px; box-shadow:0 30px 60px -24px rgba(0,0,0,.8);
}
.dropdown.open .dd-menu{ display:block; }
nav.links .dd-menu a{ display:flex; align-items:center; gap:14px; padding:13px 14px; border-radius:10px; color:#E8F1FA; font-size:14.5px; font-weight:500; white-space:normal; line-height:1.45; }
nav.links .dd-menu a:hover{ background:rgba(47,148,234,.16); color:#fff; }

.nav-right{ display:flex; align-items:center; gap:14px; }
.lang-switch{ display:flex; direction:ltr; border:1px solid rgba(255,255,255,.18); border-radius:999px; overflow:hidden; background:rgba(255,255,255,.04); }
.lang-switch button{ background:transparent; border:0; color:var(--ink-dim); padding:8px 16px; cursor:pointer; font-family:var(--font-en); font-size:13px; font-weight:600; transition:background .15s,color .15s; }
.lang-switch button.active{ background:var(--blue); color:#04162A; }
.lang-switch button:not(.active):hover{ color:#fff; }
.menu-toggle{ display:none; flex-direction:column; justify-content:center; align-items:center; gap:5px; width:42px; height:42px; background:transparent; border:1px solid rgba(255,255,255,.2); border-radius:10px; cursor:pointer; flex:none; padding:0; }
.menu-toggle span{ display:block; width:18px; height:2px; background:#fff; border-radius:2px; transition:transform .2s, opacity .2s; }
.menu-toggle.active span:nth-child(1){ transform:translateY(7px) rotate(45deg); }
.menu-toggle.active span:nth-child(2){ opacity:0; }
.menu-toggle.active span:nth-child(3){ transform:translateY(-7px) rotate(-45deg); }

/* ---------- hero: Global Perspective ---------- */
.hero{
  position:relative; isolation:isolate; display:flex; flex-direction:column; overflow:hidden; background:#061B30;
  min-height:clamp(700px, calc(100vh - var(--header-h)), 880px); text-align:center;
}
.hero > .wrap{ width:100%; }
.hero-media{ position:absolute; top:0; left:0; right:0; bottom:0; z-index:-2; }
.hero-media img{ width:100%; height:100%; object-fit:cover; object-position:50% 100%; }
.hero::after{
  content:''; position:absolute; top:0; left:0; right:0; bottom:0; z-index:-1; pointer-events:none;
  background:linear-gradient(180deg, rgba(3,12,28,.35) 0%, rgba(3,12,28,0) 22%), linear-gradient(180deg, rgba(3,12,28,0) 0%, rgba(3,12,28,0) 66%, rgba(3,12,28,.5) 82%, rgba(3,12,28,.86) 100%);
}
.hero-content{ padding:clamp(44px,7vh,84px) 0 40px; max-width:980px; margin-inline:auto; }
.eyebrow{
  display:inline-flex; align-items:center; gap:10px; margin-bottom:30px; padding:7px 16px; border-radius:999px;
  font-family:var(--font-en); font-size:12px; font-weight:600; letter-spacing:.14em; direction:ltr; unicode-bidi:isolate;
  color:#9AD4FF; background:rgba(47,148,234,.14); border:1px solid rgba(127,200,255,.3);
}
html[dir="rtl"] .hero h1{ line-height:1.38; font-size:clamp(30px,3.3vw,46px); }
html[dir="rtl"] .eyebrow{ letter-spacing:0; direction:rtl; font-family:var(--font-ar); font-size:14px; }
.hero h1{ font-size:clamp(32px,3.7vw,52px); line-height:1.2; letter-spacing:-.012em; text-wrap:balance; max-width:880px; margin-inline:auto; font-weight:600; margin-bottom:22px; color:#fff; }
.hero h1 span{
  display:block; color:#7FC8FF;
  background:linear-gradient(90deg,#B4DEFF 0%,#4FA9F0 100%); -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent;
}
.hero .lead{ color:#CFDCEA; font-size:clamp(16px,1.35vw,19px); max-width:620px; margin:0 auto 38px; line-height:1.7; text-shadow:0 1px 18px rgba(3,12,28,.9); }
.hero-ctas{ display:flex; gap:14px; flex-wrap:wrap; justify-content:center; }
.hero .cta-btn.ghost{ background:rgba(6,27,48,.55); border-color:rgba(255,255,255,.4); -webkit-backdrop-filter:blur(6px); backdrop-filter:blur(6px); color:#fff; }
.hero-foot{ margin-top:auto; padding-bottom:40px; }
.hero-lines{ position:relative; display:grid; grid-template-columns:repeat(3,1fr); gap:0 40px; padding-top:34px; }
.hero-lines::before{ content:''; position:absolute; top:4px; left:0; right:0; height:1px; background:linear-gradient(90deg,rgba(127,200,255,0),rgba(127,200,255,.6) 15%,rgba(127,200,255,.6) 85%,rgba(127,200,255,0)); }
.hl-item{ position:relative; display:flex; flex-direction:column; align-items:center; text-align:center; gap:5px; color:#fff; padding-top:4px; }
.hl-item::before{
  content:''; position:absolute; top:-34px; left:50%; margin-left:-4.5px; width:9px; height:9px; border-radius:50%; background:#BFE0FF;
  box-shadow:0 0 0 4px rgba(47,148,234,.28), 0 0 20px 3px rgba(47,148,234,.85); animation:nodePulse 3.4s ease-in-out infinite;
}
.hl-item:nth-child(2)::before{ animation-delay:.6s; } .hl-item:nth-child(3)::before{ animation-delay:1.2s; }
@keyframes nodePulse{ 0%,100%{ box-shadow:0 0 0 4px rgba(47,148,234,.28), 0 0 20px 3px rgba(47,148,234,.85); } 50%{ box-shadow:0 0 0 8px rgba(47,148,234,.10), 0 0 28px 6px rgba(47,148,234,.55); } }
.hl-name{ font-size:clamp(18px,1.5vw,21px); font-weight:700; line-height:1.3; letter-spacing:-.005em; text-shadow:0 1px 3px rgba(3,12,28,.9), 0 2px 22px rgba(3,12,28,.95); }
.hl-sub{ font-size:14.5px; color:#E3EEF8; line-height:1.55; text-shadow:0 1px 3px rgba(3,12,28,.9), 0 2px 18px rgba(3,12,28,.95); }
.hl-item:hover .hl-name{ color:#7FC8FF; }

/* ---------- business-line overview (cards) ---------- */
.lines-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.line-card, .contact-block{ display:flex; flex-direction:column; }
.line-card{
  background:var(--surface); border:1px solid var(--line); border-radius:var(--radius); padding:18px 18px 28px;
  box-shadow:var(--card-shadow); transition:transform .22s, box-shadow .22s;
}
.line-card:hover{ transform:translateY(-4px); box-shadow:var(--card-hover); }
.line-media{ aspect-ratio:16/10; border-radius:var(--radius-sm); overflow:hidden; margin-bottom:24px; background:#061B30; }
.line-media img{ width:100%; height:100%; object-fit:cover; }
.line-card > :not(.line-media){ margin-inline:10px; }
.line-badge{ align-self:flex-start; display:inline-block; margin-bottom:14px; padding:5px 13px; border-radius:999px; font-family:var(--font-body); font-size:11.5px; font-weight:600; letter-spacing:.06em; background:var(--blue-tint); color:var(--blue-deep); }
.line-card h3{ font-size:22px; margin-bottom:10px; }
.line-card p{ color:var(--ink-dim); font-size:15px; margin-bottom:18px; }
.li-list{ display:flex; flex-wrap:wrap; gap:8px; margin-bottom:26px; }
.li-list span{ font-size:12.5px; font-weight:500; color:var(--ink-dim); background:var(--bg-soft); border:1px solid var(--line); padding:5px 12px; border-radius:999px; }
.line-card .cta-btn{ margin-top:auto; width:calc(100% - 20px); }

/* ---------- business-line detail sections (one template x3) ---------- */
.bl-grid{ display:grid; grid-template-columns:1.02fr .98fr; gap:64px; align-items:center; margin-bottom:60px; }
.bl-copy .tag{ margin-bottom:20px; }
.bl-copy h2{ font-size:clamp(30px,3.4vw,46px); margin-bottom:18px; line-height:1.28; }
html[lang="ar"] .bl-copy h2{ line-height:1.4; }
.bl-position{ font-size:clamp(17px,1.5vw,20px); font-weight:500; line-height:1.6; color:var(--blue-deep); margin-bottom:16px; }
.bl-intro{ font-size:16px; line-height:1.85; color:var(--ink-dim); }
.bl-visual{
  margin:0; aspect-ratio:16/10; border-radius:24px; overflow:hidden; background:#061B30;
  border:1px solid rgba(47,148,234,.28); box-shadow:0 36px 70px -34px rgba(6,27,48,.75), 0 0 60px -20px rgba(47,148,234,.35);
}
.bl-visual img{ width:100%; height:100%; object-fit:cover; }

.svc-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:20px; }
.svc-card{
  position:relative; background:var(--surface); border:1px solid var(--line); border-radius:var(--radius); padding:28px 24px 30px;
  box-shadow:var(--card-shadow); transition:transform .22s, box-shadow .22s; overflow:hidden;
}
.svc-card::before{ content:''; position:absolute; top:0; left:0; right:0; height:2px; background:linear-gradient(90deg,var(--blue),rgba(47,148,234,0)); opacity:.85; }
html[dir="rtl"] .svc-card::before{ background:linear-gradient(270deg,var(--blue),rgba(47,148,234,0)); }
.svc-card:hover{ transform:translateY(-4px); box-shadow:var(--card-hover); }
.icon-badge{ width:50px; height:50px; border-radius:14px; display:flex; align-items:center; justify-content:center; margin-bottom:22px; background:var(--blue-tint); color:var(--blue-deep); border:1px solid rgba(47,148,234,.25); }
.icon-badge svg{ width:25px; height:25px; }
.svc-card h3{ font-size:17.5px; line-height:1.4; margin-bottom:10px; min-height:2.8em; }
.svc-card p{ color:var(--ink-dim); font-size:14.5px; line-height:1.75; }

.check-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:16px; margin-top:24px; }
.check-item{ display:flex; align-items:flex-start; gap:14px; padding:18px 20px; background:var(--surface); border:1px solid var(--line); border-radius:var(--radius-sm); box-shadow:var(--card-shadow); }
.ci-icon{ width:28px; height:28px; border-radius:50%; flex:none; display:flex; align-items:center; justify-content:center; background:var(--blue); color:#04162A; }
.ci-icon svg{ width:15px; height:15px; }
.check-item p{ font-size:15px; font-weight:500; line-height:1.6; color:var(--ink); }
.bl-cta{ text-align:center; margin-top:40px; }

/* ---------- why SPARTA (Modern Architecture, light) ---------- */
.why-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
.why-card{ position:relative; background:var(--surface); border:1px solid var(--line); border-radius:var(--radius); padding:32px 30px; box-shadow:var(--card-shadow); transition:transform .22s, box-shadow .22s; }
.why-card:hover{ transform:translateY(-4px); box-shadow:var(--card-hover); }
.why-icon{ width:44px; height:44px; padding:8px; border-radius:12px; margin-bottom:20px; color:var(--blue); background:rgba(47,148,234,.12); border:1px solid rgba(127,200,255,.28); }
.why-icon svg{ display:block; width:100%; height:100%; }
.why-card h3{ font-size:19px; margin:0 0 10px; }
.why-card p{ font-size:14.5px; color:var(--ink-dim); line-height:1.75; }

/* ---------- approach ---------- */
.approach-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
.approach-item{ position:relative; background:var(--surface); border:1px solid var(--line); border-radius:var(--radius); padding:32px 28px; box-shadow:var(--card-shadow); }
.approach-item .step-icon{ width:44px; height:44px; padding:10px; border-radius:12px; margin-bottom:20px; background:var(--blue); color:#04162A; }
.approach-item .step-icon svg{ display:block; width:100%; height:100%; }
/* connectors between process steps (replace numbering) */
.approach-item:not(:last-child)::after{ content:''; position:absolute; top:54px; inset-inline-start:100%; width:22px; height:2px; background:linear-gradient(90deg,var(--blue),rgba(47,148,234,.35)); }
html[dir="rtl"] .approach-item:not(:last-child)::after{ background:linear-gradient(270deg,var(--blue),rgba(47,148,234,.35)); }
.approach-item h3{ font-size:19px; margin-bottom:14px; }
.approach-item ul li{ position:relative; padding-inline-start:16px; margin-bottom:9px; font-size:14.5px; color:var(--ink-dim); }
.approach-item ul li::before{ content:''; position:absolute; inset-inline-start:0; top:.72em; width:5px; height:5px; border-radius:50%; background:var(--blue); }

/* ---------- industries ---------- */
.sector-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:16px; }
.sector-pill{ display:flex; align-items:center; gap:14px; padding:20px 18px; background:var(--surface); border:1px solid var(--line); border-radius:var(--radius-sm); font-size:14.5px; font-weight:500; color:var(--ink); box-shadow:var(--card-shadow); }
.sp-icon{ width:38px; height:38px; border-radius:10px; flex:none; display:flex; align-items:center; justify-content:center; background:var(--blue-tint); color:var(--blue-deep); }
.sp-icon svg{ width:19px; height:19px; }

/* ---------- brands ---------- */
.brand-strip{ display:flex; flex-wrap:wrap; justify-content:center; gap:14px; }
.brand-chip{ padding:15px 32px; background:var(--surface); border:1px solid var(--line); border-radius:999px; font-family:var(--font-en); font-weight:600; font-size:16.5px; letter-spacing:.02em; color:var(--ink); box-shadow:var(--card-shadow); }

/* ---------- team ---------- */
.team-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
.team-card{ text-align:center; background:var(--surface); border:1px solid var(--line); border-radius:var(--radius); padding:34px 28px; box-shadow:var(--card-shadow); }
.tc-icon{ width:58px; height:58px; margin:0 auto 20px; border-radius:16px; display:flex; align-items:center; justify-content:center; background:var(--blue-tint); color:var(--blue-deep); border:1px solid rgba(47,148,234,.25); }
.tc-icon svg{ width:27px; height:27px; }
.team-card h3{ font-size:18px; margin-bottom:10px; }
.team-card p{ font-size:14.5px; color:var(--ink-dim); }

/* ---------- about ---------- */
.about-grid{ display:grid; grid-template-columns:1.05fr .95fr; gap:64px; align-items:start; }
.about-grid > div:first-child h2{ font-size:clamp(28px,3.1vw,40px); margin-bottom:18px; }
.about-grid > div:first-child p{ color:var(--ink-dim); font-size:16px; margin-bottom:18px; }
.about-grid > div:first-child h3{ font-size:17px; margin:28px 0 10px; }
.values{ display:flex; flex-wrap:wrap; gap:10px; margin-top:22px; }
.value-chip{ padding:9px 17px; border-radius:999px; font-size:13.5px; font-weight:500; color:var(--blue-deep); background:var(--blue-tint); border:1px solid rgba(47,148,234,.22); }
.about-panel{ overflow:hidden; border-radius:24px; background:linear-gradient(170deg,#103452 0%,#082440 100%); color:#fff; border:1px solid rgba(255,255,255,.1); box-shadow:0 36px 70px -34px rgba(6,27,48,.8); }
.ap-img{ width:100%; aspect-ratio:800/420; object-fit:cover; }
.about-panel > :not(.ap-img){ margin-inline:32px; }
.about-panel .ap-title{ margin-top:28px; margin-bottom:12px; font-family:var(--font-en); font-size:12px; font-weight:600; letter-spacing:.14em; color:#9AD4FF; unicode-bidi:isolate; text-align:start; }
.about-panel p{ color:rgba(255,255,255,.78); font-size:14.5px; margin-bottom:16px; }
.ap-line{ display:flex; justify-content:space-between; gap:16px; padding:14px 0; border-bottom:1px solid rgba(255,255,255,.12); font-size:14px; }
.ap-line:last-child{ border-bottom:0; margin-bottom:18px; }
.ap-line span{ color:rgba(255,255,255,.62); }
.ap-line b{ font-weight:600; text-align:end; }

/* ---------- contact ---------- */
.contact-block{ background:var(--surface); border:1px solid var(--line); border-radius:var(--radius); padding:30px 28px; box-shadow:var(--card-shadow); }
.cb-icon{ width:48px; height:48px; border-radius:14px; margin-bottom:18px; display:flex; align-items:center; justify-content:center; background:var(--blue); color:#04162A; }
.cb-icon svg{ width:24px; height:24px; }
.contact-block h3{ font-size:19px; margin-bottom:8px; }
.contact-block > p{ color:var(--ink-dim); font-size:14.5px; margin-bottom:22px; }
.cb-items{ margin-bottom:26px; }
.cb-items .item{ margin-bottom:14px; }
.cb-items .item:last-child{ margin-bottom:0; }
.cb-items .label{ display:block; margin-bottom:3px; font-family:var(--font-en); font-size:11.5px; font-weight:600; letter-spacing:.12em; color:var(--blue-deep); unicode-bidi:isolate; text-align:start; }
.cb-items .value{ font-size:15.5px; font-weight:500; color:var(--ink); }
.cb-items .value.dim{ color:var(--ink-dim); }
.contact-block .cta-btn{ margin-top:auto; width:100%; }

.contact-form{ background:var(--surface); border:1px solid var(--line); border-radius:24px; padding:34px; box-shadow:var(--card-shadow); }
form{ display:flex; flex-direction:column; gap:14px; }
form input, form textarea, form select{
  width:100%; padding:14px 18px; border-radius:var(--radius-sm); border:1px solid var(--line-strong); background:rgba(255,255,255,.05);
  color:var(--ink); font-family:var(--font-body); font-size:15.5px;
}
form select{
  appearance:none; -webkit-appearance:none;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B2C4D6' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat:no-repeat; background-position:left 16px center; background-size:16px;
}
html[dir="rtl"] form select{ background-position:right 16px center; }
form select option{ background:#0A2440; color:#fff; }
form input::placeholder, form textarea::placeholder{ color:var(--ink-faint); }
form input:focus, form textarea:focus, form select:focus{ outline:none; border-color:var(--blue); background:rgba(47,148,234,.08); box-shadow:0 0 0 3px rgba(47,148,234,.25); }
form textarea{ resize:vertical; min-height:120px; }
form button[type="submit"]{
  min-height:50px; border:0; border-radius:999px; background:var(--blue); color:#04162A; font-family:var(--font-body); font-weight:600; font-size:15.5px; cursor:pointer;
  box-shadow:0 10px 28px -12px rgba(47,148,234,.9); transition:background .18s, transform .18s;
}
form button[type="submit"]:hover{ background:#5BB1F6; transform:translateY(-1px); }
.form-hint{ font-size:13px; line-height:1.7; color:var(--ink-faint); }
form .note{ font-size:14px; font-weight:500; color:#9AD4FF; }
form .note.error{ color:#FFA9A2; }
/* contact form: states + spam trap */
.hp-field{ position:absolute; width:1px; height:1px; margin:-1px; padding:0; overflow:hidden; clip:rect(0 0 0 0); clip-path:inset(50%); white-space:nowrap; pointer-events:none; }
form input[aria-invalid="true"], form textarea[aria-invalid="true"], form select[aria-invalid="true"]{ border-color:#FF8A80; box-shadow:0 0 0 3px rgba(255,138,128,.22); }
form button[type="submit"][disabled]{ opacity:.7; cursor:progress; transform:none; }
form button[type="submit"].is-sending::before{ content:''; display:inline-block; width:14px; height:14px; margin-inline-end:10px; vertical-align:-2px; border:2px solid rgba(4,22,42,.35); border-top-color:#04162A; border-radius:50%; animation:spin .8s linear infinite; }
form .note.success{ color:#8BE3B1; }
@keyframes spin{ to{ transform:rotate(360deg); } }

/* ---------- footer ---------- */
footer{ position:relative; background:#041325; color:rgba(255,255,255,.78); padding:72px 0 26px; }
footer::before{ content:''; position:absolute; top:0; left:0; right:0; height:1px; background:linear-gradient(90deg,transparent,rgba(47,148,234,.7),transparent); }
.foot-top{ display:grid; grid-template-columns:1.45fr 1fr 1fr 1.4fr; gap:48px; align-items:start; padding-bottom:52px; }
.foot-col{ min-width:0; }
.foot-col h3{ margin:0 0 20px; font-size:14.5px; font-weight:600; line-height:1.3; color:#fff; letter-spacing:0; }
.foot-logo{ width:176px; margin:0 0 20px; }
.foot-brand p{ max-width:340px; font-size:14.5px; line-height:1.85; color:rgba(255,255,255,.72); }
.foot-links{ display:flex; flex-direction:column; gap:13px; }
.foot-links a, .foot-links .foot-contact{ font-size:14.5px; line-height:1.5; color:rgba(255,255,255,.8); transition:color .15s; }
.foot-links a:hover{ color:#7FC8FF; }
.foot-contact{ display:flex; align-items:flex-start; gap:12px; }
.foot-contact .fi{ flex:none; width:18px; height:18px; margin-top:2px; color:#7FC8FF; }
.foot-contact .ct-text{ min-width:0; overflow-wrap:anywhere; }
.foot-bottom{ display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:10px 24px; padding-top:24px; border-top:1px solid rgba(255,255,255,.14); font-size:13px; color:rgba(255,255,255,.66); }

/* ---------- responsive ---------- */
@media (max-width:1100px){
  .svc-grid{ grid-template-columns:repeat(2,1fr); }
  .bl-grid{ gap:44px; }
  nav.links{ gap:26px; }
}
@media (max-width:980px){
  :root{ --header-h:76px; }
  .sec{ padding:84px 0; }
  .menu-toggle{ display:flex; }
  .logo-crop{ width:168px; }
  nav.links{
    display:none; position:absolute; top:100%; left:0; right:0; z-index:60; flex-direction:column; align-items:stretch; gap:0; white-space:normal;
    padding:8px 32px 18px; background:#061B30; border-bottom:1px solid rgba(255,255,255,.12); box-shadow:0 30px 50px -20px rgba(0,0,0,.7);
  }
  nav.links.open{ display:flex; }
  nav.links > a, .dd-toggle{ width:100%; justify-content:space-between; padding:15px 4px; font-size:16px; border-bottom:1px solid rgba(255,255,255,.08); }
  nav.links [aria-current="true"]{ color:#7FC8FF; } nav.links [aria-current="true"]::after{ display:none; }
  .dropdown{ width:100%; }
  .dd-menu{ position:static; min-width:0; margin:0; padding:0 0 6px; background:transparent; border:0; box-shadow:none; }
  nav.links .dd-menu a{ padding:13px 10px; }
  .hero-lines{ grid-template-columns:1fr; gap:26px; padding-top:30px; }
  .hero-lines::before{ top:4px; }
  .hl-item{ padding-inline-start:26px; padding-top:0; align-items:flex-start; text-align:start; }
  .hl-item::before{ top:6px; left:auto; margin-left:0; inset-inline-start:0; }
  .hero-lines::before{ left:4px; right:auto; top:8px; bottom:8px; width:1px; height:auto; background:linear-gradient(180deg,rgba(127,200,255,0),rgba(127,200,255,.55) 12%,rgba(127,200,255,.55) 88%,rgba(127,200,255,0)); }
  html[dir="rtl"] .hero-lines::before{ left:auto; right:4px; }
  .lines-grid, .why-grid, .approach-grid, .team-grid{ grid-template-columns:1fr; }
  .approach-item:not(:last-child)::after, html[dir="rtl"] .approach-item:not(:last-child)::after{ top:100%; inset-inline-start:50px; width:2px; height:22px; background:linear-gradient(180deg,var(--blue),rgba(47,148,234,.35)); }
  .bl-grid, .about-grid{ grid-template-columns:1fr; gap:36px; }
  .check-grid{ grid-template-columns:1fr; }
  .sector-grid{ grid-template-columns:repeat(2,1fr); }
  .foot-top{ grid-template-columns:repeat(3, minmax(0,1fr)); gap:38px 28px; padding-bottom:40px; }
  .foot-brand{ grid-column:1 / -1; padding-bottom:30px; border-bottom:1px solid rgba(255,255,255,.12); }
  .foot-logo{ width:156px; }
  .foot-brand p{ max-width:520px; }
}
@media (max-width:699px){
  .foot-top{ grid-template-columns:repeat(2, minmax(0,1fr)); }
  .foot-top > .foot-col:last-child{ grid-column:1 / -1; }
  .svc-grid{ grid-template-columns:1fr; }
  .svc-card h3{ min-height:0; }
}
@media (max-width:560px){
  :root{ --header-h:68px; }
  .wrap{ padding:0 20px; }
  .sec{ padding:68px 0; }
  nav.links{ padding-inline:20px; }
  .logo-crop{ width:144px; }
  .hero{ min-height:0; }
  .hero-content{ padding-top:44px; }
  .hero h1{ font-size:clamp(30px,8.6vw,38px); }
  .cta-btn{ width:100%; }
  .hero-ctas{ flex-direction:column; }
  .line-card .cta-btn{ width:calc(100% - 20px); }
  .section-head{ margin-bottom:40px; }
  .contact-form{ padding:24px 20px; }
  .contact-block{ padding:26px 22px; }
  .sector-grid{ grid-template-columns:1fr; }
  .foot-top{ grid-template-columns:minmax(0,1fr); gap:34px; }
  footer{ padding:52px 0 24px; }
  .foot-bottom{ flex-direction:column; align-items:flex-start; gap:8px; }
}

/* ---------- motion preferences ---------- */
@media (max-width:374px){
  /* very narrow phones: slightly tighter header so logo, language switch and menu button fit without horizontal scroll */
  .nav{ gap:10px; }
  .logo-crop{ width:118px; }
  .nav-right{ gap:8px; }
  .lang-switch button{ padding:8px 11px; font-size:12.5px; }
  .menu-toggle{ width:40px; height:40px; }
}
@media (prefers-reduced-motion:reduce){
  html{ scroll-behavior:auto; }
  *, *::before, *::after{ animation:none !important; transition:none !important; }
}
