:root {
  --navy: #092c5c;
  --navy-2: #0e3a75;
  --navy-3: #12447f;
  --yellow: #ffcc00;
  --yellow-2: #ffd633;
  --blue: #1b3a9b;
  --ink: #0f1b2d;
  --muted: #55627a;
  --line: #e2e7ef;
  --bg: #ffffff;
  --tint: #f4f6fa;
  --radius: 14px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
html[lang="ar"] { --font: "Cairo", "Segoe UI", Tahoma, sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.6; font-size: 16px; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.2; margin: 0; }
p { margin: 0; }

.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 28px; } }
.ico { width: 24px; height: 24px; flex: none; }

.skip { position: absolute; inset-inline-start: 12px; top: -60px; background: var(--yellow); color: var(--navy); padding: 8px 14px; border-radius: 8px; z-index: 100; font-weight: 700; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 22px;
  border-radius: 10px; font-weight: 700; font-size: 15px; text-decoration: none; border: 2px solid transparent; cursor: pointer;
  font-family: inherit; transition: background .15s, color .15s, border-color .15s, transform .15s; }
.btn:active { transform: translateY(1px); }
.btn-y { background: var(--yellow); color: var(--navy); }
.btn-y:hover { background: var(--yellow-2); }
.btn-ghost { border-color: rgba(255,255,255,.35); color: #fff; }
.btn-ghost:hover { border-color: #fff; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-2); }
.btn[disabled] { opacity: .6; cursor: progress; }

/* header */
.top { position: sticky; top: 0; z-index: 50; background: rgba(9,44,92,.97); backdrop-filter: blur(8px); color: #fff; }
.top-in { display: flex; align-items: center; gap: 18px; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 20px; letter-spacing: -.01em; }
.logo img { width: 40px; height: 40px; border-radius: 8px; }
.logo b { color: #fff; }
.logo i { font-style: normal; color: var(--yellow); font-size: 15px; }
html[dir="rtl"] .logo span { direction: ltr; }
.nav { display: flex; gap: 4px; margin-inline-start: auto; }
.nav a { text-decoration: none; padding: 8px 12px; border-radius: 8px; font-weight: 500; font-size: 15px; color: rgba(255,255,255,.85); }
.nav a:hover { color: #fff; background: rgba(255,255,255,.08); }
.lang { display: flex; gap: 2px; background: rgba(255,255,255,.08); padding: 3px; border-radius: 9px; }
.lang a { text-decoration: none; font-size: 13px; font-weight: 700; padding: 4px 9px; border-radius: 7px; color: rgba(255,255,255,.75); min-width: 30px; text-align: center; }
.lang a[aria-current] { background: var(--yellow); color: var(--navy); }
.top-cta { min-height: 40px; padding: 0 16px; font-size: 14px; }
.menu { display: none; background: none; border: 0; color: #fff; padding: 8px; margin-inline-start: 4px; cursor: pointer; border-radius: 8px; }

@media (max-width: 920px) {
  .top-cta { display: none; }
}
@media (max-width: 760px) {
  .menu { display: inline-flex; }
  .nav { position: absolute; top: 64px; inset-inline: 0; flex-direction: column; background: var(--navy); padding: 8px 16px 16px;
    display: none; box-shadow: 0 12px 24px rgba(0,0,0,.2); }
  .nav.open { display: flex; }
  .nav a { padding: 12px; font-size: 16px; }
  .lang { margin-inline-start: auto; }
}

/* hero */
.hero { background: radial-gradient(1200px 500px at 85% -10%, #1a4f96 0%, transparent 60%), var(--navy); color: #fff; overflow: hidden; }
.hero-in { display: grid; gap: 40px; padding-top: 64px; padding-bottom: 72px; align-items: center; }
@media (min-width: 900px) { .hero-in { grid-template-columns: 1.35fr 1fr; padding-top: 96px; padding-bottom: 104px; } }
.kicker { color: var(--yellow); font-weight: 700; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 16px; }
html[lang="ar"] .kicker { letter-spacing: 0; font-size: 16px; }
.hero h1 { font-size: clamp(32px, 5.2vw, 54px); font-weight: 800; letter-spacing: -.02em; }
html[lang="ar"] .hero h1 { letter-spacing: 0; line-height: 1.35; }
.hero h1 span { color: var(--yellow); }
.lead { margin-top: 20px; font-size: 18px; color: rgba(255,255,255,.82); max-width: 560px; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: 18px; padding: 28px; }
.hero-card-k { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--yellow); font-size: 14px; text-transform: uppercase; letter-spacing: .06em; }
html[lang="ar"] .hero-card-k { letter-spacing: 0; font-size: 16px; }
.hero-card-logos { display: flex; align-items: center; gap: 24px; margin-top: 22px; flex-wrap: wrap; }
.hero-card-logos img { height: 34px; width: auto; }
.sep { width: 1px; height: 40px; background: rgba(255,255,255,.2); }
.mono-w { filter: brightness(0) invert(1); }
.dell-word { display: inline-flex; flex-direction: column; font-weight: 800; font-size: 30px; letter-spacing: .14em; line-height: 1; direction: ltr; font-family: "Inter", sans-serif; }
.dell-word small { font-size: 10px; letter-spacing: .2em; font-weight: 600; margin-top: 4px; opacity: .8; }

/* sections */
.sec { padding: 72px 0; }
@media (min-width: 900px) { .sec { padding: 96px 0; } }
.sec-tint { background: var(--tint); }
.sec-navy { background: var(--navy); color: #fff; }
.sec-h { max-width: 640px; margin-bottom: 40px; }
.sec-h h2 { font-size: clamp(26px, 3.6vw, 38px); font-weight: 800; letter-spacing: -.015em; }
html[lang="ar"] .sec-h h2 { letter-spacing: 0; }
.sec-h h2::after { content: ""; display: block; width: 48px; height: 4px; background: var(--yellow); border-radius: 2px; margin-top: 14px; }
.sec-h p { margin-top: 14px; color: var(--muted); font-size: 17px; }
.sec-navy .sec-h p { color: rgba(255,255,255,.78); }

.grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) {
  .grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  /* 10 services: the last one spans the row, laid out sideways */
  .svc:last-child:nth-child(3n + 1) { grid-column: 1 / -1; display: grid; grid-template-columns: auto 1fr 1.2fr; column-gap: 20px; align-items: start; }
  .svc:last-child:nth-child(3n + 1) .svc-ico { grid-row: span 2; margin: 0; }
  .svc:last-child:nth-child(3n + 1) .chips { grid-column: 3; grid-row: 1 / span 2; align-self: center; margin: 0; padding: 0; }
}
.svc { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; background: #fff; display: flex; flex-direction: column; gap: 10px;
  transition: border-color .15s, box-shadow .15s, transform .15s; }
.svc:hover { border-color: #c9d3e3; box-shadow: 0 10px 30px rgba(9,44,92,.08); transform: translateY(-2px); }
.svc-ico { width: 48px; height: 48px; border-radius: 12px; background: var(--navy); color: var(--yellow); display: grid; place-items: center; margin-bottom: 6px; }
.svc h3 { font-size: 19px; font-weight: 700; }
.svc p { color: var(--muted); font-size: 15px; }
.chips { list-style: none; padding: 0; margin: auto 0 0; display: flex; flex-wrap: wrap; gap: 6px; padding-top: 8px; }
.chips li { font-size: 12.5px; font-weight: 600; color: var(--blue); background: #edf1fb; border-radius: 999px; padding: 3px 10px; direction: ltr; }

/* reseller */
.resell { display: grid; gap: 16px; }
@media (min-width: 760px) { .resell { grid-template-columns: 1fr 1fr; gap: 20px; } }
.resell article { border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.05); border-radius: var(--radius); padding: 28px; }
.r-logo { height: 38px; width: auto; margin-bottom: 20px; }
.resell h3 { font-size: 20px; color: var(--yellow); }
.resell p { margin-top: 8px; color: rgba(255,255,255,.8); }

/* steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; counter-reset: s; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li { border-top: 3px solid var(--navy); padding-top: 18px; }
.step-n { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--yellow); color: var(--navy); font-weight: 800; margin-bottom: 12px; }
.steps h3 { font-size: 18px; }
.steps p { color: var(--muted); margin-top: 6px; font-size: 15px; }

/* contact */
.contact { display: grid; gap: 40px; }
@media (min-width: 900px) { .contact { grid-template-columns: 1fr 1.15fr; gap: 64px; } }
.contact h2 { font-size: clamp(26px, 3.6vw, 38px); font-weight: 800; }
.lead-d { color: var(--muted); font-size: 17px; margin-top: 12px; }
.ways { display: grid; gap: 10px; margin-top: 28px; }
.way { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 12px; background: #fff; border: 1px solid var(--line); text-decoration: none; }
.way:hover { border-color: var(--navy); }
.way .ico { color: var(--navy); width: 26px; height: 26px; }
.way small { display: block; color: var(--muted); font-size: 13px; }
.way b { font-size: 16px; overflow-wrap: anywhere; }
html[dir="rtl"] .way b { text-align: right; display: block; }
.form { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 24px; display: grid; gap: 14px; box-shadow: 0 10px 40px rgba(9,44,92,.06); }
@media (min-width: 720px) { .form { padding: 32px; } }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: 14px; }
.form input, .form select, .form textarea { font: inherit; font-weight: 400; font-size: 16px; padding: 11px 13px; border: 1px solid #cfd7e4; border-radius: 10px; background: #fff; color: var(--ink); width: 100%; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(9,44,92,.12); }
.form textarea { resize: vertical; min-height: 120px; }
.two { display: grid; gap: 14px; }
@media (min-width: 560px) { .two { grid-template-columns: 1fr 1fr; } }
html[dir="rtl"] .form input[dir="ltr"] { text-align: right; }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.form { position: relative; }
.form-msg { font-size: 15px; min-height: 1.2em; }
.form-msg.ok { color: #0d7a3f; font-weight: 600; }
.form-msg.err { color: #b42318; font-weight: 600; }

/* brands strip */
.brands { padding: 56px 0 64px; border-top: 1px solid var(--line); }
.brands h2 { text-align: center; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 700; margin-bottom: 28px; }
html[lang="ar"] .brands h2 { letter-spacing: 0; font-size: 17px; }
.brand-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.brand { display: flex; align-items: center; justify-content: center; height: 84px; padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; transition: border-color .15s, box-shadow .15s; }
.brand img { max-height: 34px; max-width: 100%; width: auto; height: auto; object-fit: contain; filter: grayscale(1); opacity: .62; transition: filter .2s, opacity .2s; }
.brand:hover { border-color: #c9d3e3; box-shadow: 0 6px 18px rgba(9,44,92,.07); }
.brand:hover img { filter: none; opacity: 1; }

/* footer */
.foot { background: var(--navy); color: rgba(255,255,255,.75); font-size: 14px; }
.foot-in { padding-top: 28px; padding-bottom: 28px; display: grid; gap: 6px; }
.foot b { color: #fff; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .svc, .btn { transition: none; }
  .svc:hover { transform: none; }
}
