:root {
  --ink: #0b1a2b;
  --ink-soft: #4a5b6e;
  --brand: #0a6fb8;
  --brand-dark: #064a7c;
  --accent: #16c2d5;
  --amber: #f6a821;
  --surface: #ffffff;
  --surface-2: #f2f7fb;
  --line: #dde7f0;
  --radius: 14px;
  --shadow: 0 18px 40px -24px rgba(6, 40, 70, 0.45);
  --max: 1180px;
  --font: "Space Grotesk", "Segoe UI", sans-serif;
  --font-ar: "Cairo", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--surface);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
html[dir="rtl"] body { font-family: var(--font-ar); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .6rem; letter-spacing: -0.02em; }
h1 { font-size: clamp(2rem, 4.4vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
p { margin: 0 0 1rem; color: var(--ink-soft); }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.center { text-align: center; }
.eyebrow {
  display: inline-block; font-size: .78rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; color: var(--brand);
  background: #e6f2fb; padding: .35rem .8rem; border-radius: 999px; margin-bottom: .9rem;
}

/* topbar */
.topbar { background: var(--brand-dark); color: #eaf4fb; font-size: .88rem; }
.topbar .wrap { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; align-items: center; justify-content: space-between; padding-top: .5rem; padding-bottom: .5rem; }
.topbar span, .topbar a { display: inline-flex; align-items: center; gap: .45rem; }

/* header */
header.site { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.93); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 72px; }
.brand { display: flex; align-items: center; gap: .6rem; font-weight: 700; font-size: 1.05rem; }
.brand .mark { width: 38px; height: 38px; border-radius: 11px; background: linear-gradient(140deg, var(--brand), var(--accent)); display: grid; place-items: center; color: #fff; font-size: 1.1rem; }
nav.main { display: flex; align-items: center; gap: 1.4rem; }
nav.main a { font-weight: 600; font-size: .95rem; padding: .3rem 0; border-bottom: 2px solid transparent; }
nav.main a:hover, nav.main a.active { color: var(--brand); border-color: var(--brand); }
.actions { display: flex; align-items: center; gap: .6rem; }
.lang-btn {
  border: 1px solid var(--line); background: var(--surface-2); color: var(--ink);
  font: inherit; font-weight: 700; font-size: .85rem; padding: .5rem .85rem;
  border-radius: 999px; cursor: pointer;
}
.lang-btn:hover { border-color: var(--brand); color: var(--brand); }
.burger { display: none; border: 1px solid var(--line); background: #fff; border-radius: 10px; padding: .45rem .6rem; font-size: 1.1rem; cursor: pointer; }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; font-size: .95rem; padding: .8rem 1.4rem; border-radius: 999px; border: 1px solid transparent; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: linear-gradient(135deg, var(--brand), var(--accent)); color: #fff; box-shadow: var(--shadow); }
.btn-ghost { border-color: rgba(255,255,255,.55); color: #fff; }
.btn-outline { border-color: var(--brand); color: var(--brand); background: #fff; }

/* hero */
.hero { position: relative; background: linear-gradient(120deg, #062b46 0%, #0a5c96 55%, #10809f 100%); color: #fff; overflow: hidden; }
.hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 80% 15%, rgba(22,194,213,.35), transparent 55%); }
.hero .wrap { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr; gap: 3rem; align-items: center; padding-top: 4.5rem; padding-bottom: 4.5rem; }
.hero p { color: rgba(233,244,251,.9); font-size: 1.05rem; }
.hero .eyebrow { background: rgba(255,255,255,.14); color: #d5f2fb; }
.hero-media { border-radius: 20px; overflow: hidden; box-shadow: 0 30px 60px -25px rgba(0,0,0,.6); border: 1px solid rgba(255,255,255,.25); }
.hero-media img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.2rem; }

/* generic sections */
section.block { padding: 4.5rem 0; }
section.tint { background: var(--surface-2); }
.grid { display: grid; gap: 1.5rem; }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; transition: transform .18s ease, box-shadow .18s ease; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card .ico { width: 46px; height: 46px; border-radius: 12px; background: #e6f2fb; color: var(--brand); display: grid; place-items: center; font-size: 1.25rem; margin-bottom: .9rem; }
.card h3 { font-size: 1.12rem; }
.card p { margin-bottom: 0; font-size: .95rem; }
.svc-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.svc-card img { height: 190px; object-fit: cover; width: 100%; }
.svc-body { padding: 1.4rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.svc-body a { font-weight: 700; color: var(--brand); margin-top: auto; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.split img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 18px; box-shadow: var(--shadow); }
ul.ticks { list-style: none; padding: 0; margin: 0 0 1rem; }
ul.ticks li { position: relative; padding-inline-start: 1.9rem; margin-bottom: .55rem; color: var(--ink-soft); }
ul.ticks li::before { content: "✓"; position: absolute; inset-inline-start: 0; color: var(--accent); font-weight: 700; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.stat { text-align: center; padding: 1.4rem 1rem; border-radius: var(--radius); background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); }
.stat b { display: block; font-size: 2rem; color: #fff; }
.stat span { font-size: .9rem; color: rgba(233,244,251,.85); }
.band { background: linear-gradient(120deg, #063554, #0a6fb8); color: #fff; }
.band h2 { color: #fff; }
.band p { color: rgba(233,244,251,.9); }

/* contact */
form.contact { display: grid; gap: 1rem; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
label { font-size: .85rem; font-weight: 700; display: block; margin-bottom: .35rem; }
input, select, textarea { width: 100%; font: inherit; padding: .8rem 1rem; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.note { font-size: .9rem; color: var(--brand); font-weight: 600; }

/* footer */
footer.site { background: #061e33; color: #cfe1ee; padding: 3.5rem 0 1.5rem; }
footer.site h4 { color: #fff; margin: 0 0 .8rem; font-size: 1rem; }
footer.site a:hover { color: var(--accent); }
footer.site .grid { gap: 2rem; }
footer.site ul { list-style: none; padding: 0; margin: 0; }
footer.site li { margin-bottom: .45rem; font-size: .93rem; }
.copy { border-top: 1px solid rgba(255,255,255,.12); margin-top: 2.5rem; padding-top: 1.2rem; font-size: .85rem; text-align: center; color: #9db6c9; }

.call-fab { position: fixed; inset-inline-end: 18px; bottom: 18px; z-index: 60; background: var(--amber); color: #14212e; font-weight: 700; padding: .85rem 1.2rem; border-radius: 999px; box-shadow: var(--shadow); }

@media (max-width: 900px) {
  .hero .wrap, .split { grid-template-columns: 1fr; }
  .g3, .g4, .g2, .stats, .row2 { grid-template-columns: 1fr 1fr; }
  nav.main { position: absolute; top: 72px; inset-inline: 0; flex-direction: column; align-items: flex-start; gap: .2rem; background: #fff; border-bottom: 1px solid var(--line); padding: 1rem 20px; display: none; }
  nav.main.open { display: flex; }
  .burger { display: block; }
}
@media (max-width: 620px) {
  .g3, .g4, .g2, .stats, .row2 { grid-template-columns: 1fr; }
}
