/* =========================================================
   TitteriSoft — main stylesheet
   Fonts: GE SS Two (Arabic, self-hosted) · Poppins (Latin)
   Brand: Navy #06172E · Electric Blue #1685F8 · Cyan #00C9F2 · White #F2F6FB
   ========================================================= */

/* ---------- GE SS Two (Arabic letters only — Latin letters and 0-9 digits use Poppins) ---------- */
@font-face { font-family: "GE SS Two"; src: url("/assets/fonts/ge-ss-two-light.woff") format("woff"); font-weight: 100 399; font-style: normal; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF, U+200C-200F; }
@font-face { font-family: "GE SS Two"; src: url("/assets/fonts/ge-ss-two-medium.woff") format("woff"); font-weight: 400 599; font-style: normal; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF, U+200C-200F; }
@font-face { font-family: "GE SS Two"; src: url("/assets/fonts/ge-ss-two-bold.woff") format("woff"); font-weight: 600 900; font-style: normal; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF, U+200C-200F; }

:root {
  --navy: #06172E;
  --navy-2: #0A2244;
  --navy-3: #10305C;
  --blue: #1685F8;
  --cyan: #00C9F2;
  --white: #F2F6FB;
  --pure: #FFFFFF;

  --ink: #06172E;
  --ink-soft: #3B4E69;
  --muted: #6B7C95;
  --line: #DCE5F0;
  --line-dark: rgba(0, 201, 242, .18);

  --grad: linear-gradient(135deg, var(--cyan) 0%, var(--blue) 100%);
  --glow: 0 0 0 1px rgba(0, 201, 242, .22), 0 18px 50px -18px rgba(22, 133, 248, .55);

  --font-ar: "GE SS Two", "Poppins", system-ui, -apple-system, "Segoe UI", Tahoma, sans-serif;
  --font-lat: "Poppins", "GE SS Two", system-ui, sans-serif;

  --radius: 18px;
  --radius-sm: 12px;
  --container: 1200px;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-ar);
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.9;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.3; margin: 0 0 .6em; font-weight: 700; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
[lang="fr"], [lang="en"], .lat { font-family: var(--font-lat); }

.container { width: min(100% - 32px, var(--container)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; inset-inline-start: 16px; top: -60px; z-index: 100; background: var(--cyan); color: var(--navy); padding: 8px 14px; border-radius: 8px; font-weight: 700; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

.icon { width: 1.2em; height: 1.2em; flex: none; }
/* Arrow icons point "forward" — in RTL that's left, which is how the symbol is drawn. */
[dir="ltr"] .icon-flip { transform: scaleX(-1); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  padding: .85em 1.5em; border-radius: 999px; border: 1px solid transparent;
  font: 600 1rem/1.2 var(--font-ar); cursor: pointer; text-decoration: none !important;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--grad); color: var(--pure); box-shadow: 0 10px 30px -10px rgba(22, 133, 248, .7); }
.btn--primary:hover { box-shadow: 0 14px 34px -10px rgba(0, 201, 242, .8); }
.btn--ghost { color: var(--white); border-color: rgba(242, 246, 251, .3); background: rgba(242, 246, 251, .04); }
.btn--ghost:hover { border-color: var(--cyan); background: rgba(0, 201, 242, .08); }
.btn--light { background: var(--pure); color: var(--navy); }
.btn--sm { padding: .6em 1.2em; font-size: .95rem; }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }

/* Latin lines inside RTL layout stay aligned with the Arabic text */
.hero__fr, .site-footer__fr, .cta__fr { text-align: right; }
.cta__box .cta__fr { text-align: inherit; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(6, 23, 46, .82);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background-color .3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line-dark); background: rgba(6, 23, 46, .95); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); }
.brand { display: block; flex: none; }
.brand__logo { width: 172px; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav__list { display: flex; gap: 4px; }
.nav__link {
  display: block; padding: 8px 14px; border-radius: 999px;
  color: rgba(242, 246, 251, .78); font-weight: 500; font-size: .98rem; text-decoration: none !important;
  transition: color .2s, background-color .2s;
}
.nav__link:hover { color: var(--pure); background: rgba(242, 246, 251, .06); }
.nav__link[aria-current="page"] { color: var(--cyan); background: rgba(0, 201, 242, .1); }

.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line-dark); background: transparent; border-radius: 12px; cursor: pointer; padding: 0; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.nav-toggle__bar { width: 20px; height: 2px; background: var(--white); border-radius: 2px; transition: transform .25s, opacity .25s; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(4) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 980px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 16px;
    padding: 20px 16px 28px; background: var(--navy);
    border-bottom: 1px solid var(--line-dark);
    transform: translateY(-12px); opacity: 0; visibility: hidden;
    transition: transform .25s ease, opacity .25s ease, visibility .25s;
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav__list { flex-direction: column; }
  .nav__link { padding: 12px 16px; font-size: 1.05rem; border-radius: 12px; }
  .nav__cta { align-self: stretch; }
  .brand__logo { width: 150px; }
}

/* ---------- Dark sections / hero ---------- */
.dark { background: var(--navy); color: var(--white); position: relative; overflow: hidden; isolation: isolate; }
.dark::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(800px 420px at 85% 0%, rgba(22, 133, 248, .28), transparent 60%),
    radial-gradient(600px 380px at 0% 100%, rgba(0, 201, 242, .16), transparent 60%);
}
.dark .muted { color: rgba(242, 246, 251, .7); }

/* signature light-sweep, inspired by the brand banners */
.sweep { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.sweep svg { position: absolute; width: 140%; height: 100%; inset-inline-start: -20%; bottom: -10%; opacity: .55; }

.hero { padding: clamp(56px, 9vw, 120px) 0 clamp(64px, 9vw, 110px); }
.hero__grid { display: grid; grid-template-columns: .95fr 1.05fr; align-items: center; gap: clamp(32px, 5vw, 64px); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 .78rem/1 var(--font-lat); letter-spacing: .22em; text-transform: uppercase;
  color: var(--cyan); margin-bottom: 22px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--grad); border-radius: 2px; }
.hero h1 { font-size: clamp(2.3rem, 5.4vw, 4rem); font-weight: 700; letter-spacing: -.01em; margin-bottom: .35em; line-height: 1.2; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: rgba(242, 246, 251, .78); max-width: 34em; }
.hero__fr { font: 500 1rem var(--font-lat); color: rgba(242, 246, 251, .55); letter-spacing: .02em; margin-top: -.3em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* Device mockup — illustrative UI only, no real data */
.mock { position: relative; }
.mock__screen {
  position: relative; border-radius: 20px; padding: 14px;
  background: linear-gradient(160deg, rgba(16, 48, 92, .9), rgba(6, 23, 46, .95));
  border: 1px solid rgba(0, 201, 242, .25); box-shadow: var(--glow), 0 40px 80px -30px rgba(0, 0, 0, .6);
}
.mock__bar { display: flex; gap: 6px; padding: 2px 4px 12px; }
.mock__bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(242, 246, 251, .18); }
.mock__body { display: grid; grid-template-columns: 30% 1fr; gap: 12px; }
.mock__side { background: rgba(6, 23, 46, .7); border-radius: 12px; padding: 14px 10px; display: grid; gap: 8px; align-content: start; }
.mock__side img { width: 28px; margin: 0 4px 8px; }
.mock__item { height: 26px; border-radius: 8px; background: rgba(242, 246, 251, .06); display: flex; align-items: center; gap: 8px; padding: 0 8px; }
.mock__item::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: rgba(0, 201, 242, .5); flex: none; }
.mock__item::after { content: ""; height: 5px; border-radius: 3px; background: rgba(242, 246, 251, .2); flex: 1; }
.mock__item.is-active { background: var(--grad); }
.mock__item.is-active::before, .mock__item.is-active::after { background: rgba(255, 255, 255, .85); }
.mock__main { display: grid; gap: 12px; }
.mock__kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mock__kpi { background: rgba(242, 246, 251, .06); border-radius: 10px; padding: 12px; display: grid; gap: 8px; }
.mock__kpi span { height: 6px; border-radius: 3px; background: rgba(242, 246, 251, .2); width: 60%; }
.mock__kpi b { height: 12px; border-radius: 4px; background: var(--grad); width: 80%; }
.mock__chart { background: rgba(242, 246, 251, .06); border-radius: 12px; padding: 14px; }
.mock__chart svg { width: 100%; height: 130px; }
.mock__phone {
  position: absolute; right: -28px; bottom: -36px; width: 30%; min-width: 120px;
  border-radius: 24px; padding: 10px; background: var(--navy);
  border: 1px solid rgba(0, 201, 242, .35); box-shadow: var(--glow);
  display: grid; gap: 8px;
}
.mock__phone img { width: 46%; margin: 10px auto 6px; }
.mock__phone .mock__item { height: 24px; }

/* value strip (Innovation / Performance / Fiabilité / Proximité) */
.values { background: var(--pure); border-bottom: 1px solid var(--line); }
.values__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.value { display: flex; align-items: center; gap: 14px; padding: 26px 20px; }
.value + .value { border-inline-start: 1px solid var(--line); }
.value .icon { width: 40px; height: 40px; color: var(--blue); }
.value h3 { font: 700 .95rem/1.2 var(--font-lat); letter-spacing: .04em; margin: 0 0 4px; color: var(--navy); }
.value p { margin: 0; font-size: .92rem; color: var(--muted); line-height: 1.5; }
.value__ar { display: block; font-family: var(--font-ar); color: var(--ink-soft); font-size: .92rem; }

/* ---------- Generic sections ---------- */
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section--alt { background: var(--pure); }
.section__head { max-width: 720px; margin: 0 auto clamp(36px, 5vw, 56px); text-align: center; }
.section__head--start { margin-inline: 0; text-align: start; }
.section__head h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
.section__head p { color: var(--ink-soft); font-size: 1.08rem; }
.dark .section__head p { color: rgba(242, 246, 251, .72); }
.kicker { display: inline-block; font: 600 .8rem/1 var(--font-lat); letter-spacing: .2em; text-transform: uppercase; color: var(--blue); margin-bottom: 14px; }
.dark .kicker { color: var(--cyan); }

/* page hero (inner pages) */
.page-hero { padding: clamp(56px, 8vw, 96px) 0 clamp(48px, 7vw, 80px); }
.page-hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.3rem); margin-bottom: .3em; }
.page-hero p { font-size: 1.15rem; color: rgba(242, 246, 251, .75); max-width: 40em; margin: 0; }
.crumbs { display: flex; gap: 8px; font-size: .9rem; color: rgba(242, 246, 251, .55); margin-bottom: 18px; }
.crumbs a { color: rgba(242, 246, 251, .75); }

/* cards */
.grid { display: grid; gap: 20px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  position: relative; background: var(--pure); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; transition: transform .25s ease, box-shadow .25s ease, border-color .25s;
}
.card:hover { transform: translateY(-4px); border-color: rgba(22, 133, 248, .35); box-shadow: 0 24px 50px -28px rgba(6, 23, 46, .35); }
.card h3 { font-size: 1.22rem; margin-bottom: .45em; }
.card p { color: var(--ink-soft); margin: 0; font-size: 1rem; }
.card__icon {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 20px;
  background: linear-gradient(145deg, var(--navy-3), var(--navy)); color: var(--cyan);
  box-shadow: inset 0 0 0 1px rgba(0, 201, 242, .3);
}
.card__icon .icon { width: 28px; height: 28px; }
.card__fr { display: block; font: 500 .82rem var(--font-lat); color: var(--muted); letter-spacing: .08em; text-transform: uppercase; margin-top: -2px; margin-bottom: 10px; }
.card__list { margin-top: 16px; display: grid; gap: 8px; }
.card__list li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-soft); font-size: .97rem; line-height: 1.6; }
.card__list .icon { color: var(--blue); width: 18px; height: 18px; margin-top: 4px; }

/* glass cards on dark backgrounds (echoing the brand posters) */
.dark .card {
  background: linear-gradient(160deg, rgba(16, 48, 92, .55), rgba(6, 23, 46, .55));
  border-color: rgba(0, 201, 242, .2); color: var(--white);
}
.dark .card:hover { border-color: rgba(0, 201, 242, .5); box-shadow: var(--glow); }
.dark .card p, .dark .card__list li { color: rgba(242, 246, 251, .72); }
.dark .card__icon { background: rgba(0, 201, 242, .08); }

/* sectors */
.sectors { display: grid; grid-template-columns: repeat(7, 1fr); gap: 14px; }
.sector {
  display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center;
  padding: 22px 12px; border-radius: var(--radius-sm); background: var(--pure); border: 1px solid var(--line);
  font-weight: 600; font-size: .98rem; line-height: 1.4;
}
.sector .icon { width: 34px; height: 34px; color: var(--blue); }
.sector small { display: block; font: 500 .76rem var(--font-lat); color: var(--muted); margin-top: 2px; }

/* process steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step { position: relative; padding: 28px 24px; border-radius: var(--radius); border: 1px solid rgba(0, 201, 242, .2); background: rgba(16, 48, 92, .35); }
.step::before {
  counter-increment: step; content: "0" counter(step);
  display: block; font: 800 2.2rem/1 var(--font-lat); margin-bottom: 18px;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.step h3 { font-size: 1.15rem; }
.step p { color: rgba(242, 246, 251, .7); margin: 0; font-size: .98rem; }

/* split layout */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.checklist { display: grid; gap: 14px; margin-top: 24px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist .icon { width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: var(--grad); color: var(--pure); margin-top: 4px; }
.brand-panel {
  border-radius: 28px; padding: clamp(32px, 5vw, 56px); text-align: center;
  background: radial-gradient(circle at 50% 30%, rgba(22, 133, 248, .35), transparent 65%), var(--navy);
  color: var(--white); box-shadow: 0 30px 60px -30px rgba(6, 23, 46, .6);
}
.brand-panel img { width: min(260px, 70%); margin: 0 auto 24px; filter: drop-shadow(0 0 40px rgba(0, 201, 242, .35)); }
.brand-panel p { margin: 0; color: rgba(242, 246, 251, .75); }
.brand-panel .lat { letter-spacing: .25em; font-size: .78rem; margin-top: 10px; color: var(--cyan); }

/* notice (honest "coming soon" blocks) */
.notice {
  display: flex; gap: 16px; align-items: flex-start; padding: 22px 24px; border-radius: var(--radius);
  background: rgba(22, 133, 248, .06); border: 1px dashed rgba(22, 133, 248, .4); color: var(--ink-soft);
}
.notice .icon { color: var(--blue); width: 26px; height: 26px; margin-top: 2px; }
.notice p { margin: 0; }
.notice strong { color: var(--navy); }

/* project-type tiles */
.ptype { overflow: hidden; padding: 0; }
.ptype__visual {
  height: 150px; position: relative; display: grid; place-items: center;
  background: linear-gradient(150deg, var(--navy-3), var(--navy)); color: var(--cyan);
}
.ptype__visual::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 70% 20%, rgba(0, 201, 242, .25), transparent 55%); }
.ptype__visual .icon { width: 56px; height: 56px; position: relative; z-index: 1; }
.ptype__body { padding: 24px 26px 28px; }
.tag { display: inline-block; font: 600 .75rem/1 var(--font-lat); letter-spacing: .08em; padding: 6px 10px; border-radius: 999px; background: rgba(0, 201, 242, .12); color: #0378A6; margin-bottom: 12px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 28px; align-items: start; }
.form { display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; }
.field label { font-weight: 600; font-size: .95rem; }
.field label .req { color: var(--blue); }
.field input, .field select, .field textarea {
  width: 100%; font: 400 1rem/1.5 var(--font-ar); color: var(--ink);
  padding: 13px 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--white);
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(22, 133, 248, .15); background: var(--pure); }
.field [aria-invalid="true"] { border-color: #D93A4A; }
.field__err { color: #C02B3B; font-size: .88rem; }
.field__err:empty { display: none; }
.hp { position: absolute; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__status { padding: 14px 18px; border-radius: 12px; font-size: .97rem; display: none; }
.form__status.is-visible { display: block; }
.form__status--ok { background: rgba(0, 201, 242, .1); color: #035E80; border: 1px solid rgba(0, 201, 242, .4); }
.form__status--err { background: rgba(217, 58, 74, .08); color: #9C1F2D; border: 1px solid rgba(217, 58, 74, .3); }
.form__note { font-size: .88rem; color: var(--muted); margin: 0; }

.info-card { background: var(--navy); color: var(--white); border-radius: var(--radius); padding: 30px; position: sticky; top: calc(var(--header-h) + 20px); }
.info-card h2 { font-size: 1.3rem; }
.info-card ul { display: grid; gap: 14px; margin: 18px 0 0; }
.info-card li { display: grid; gap: 2px; }
.info-card li span:first-child { font-size: .85rem; color: rgba(242, 246, 251, .55); }
.info-card a { color: var(--cyan); }
.info-card p { color: rgba(242, 246, 251, .72); }

/* ---------- CTA ---------- */
.cta { padding: 0 0 clamp(64px, 8vw, 100px); }
.section--alt + .cta, .section + .cta { padding-top: 0; }
.cta__box {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 28px;
  padding: clamp(28px, 4vw, 44px); border-radius: 28px; color: var(--white);
  background:
    radial-gradient(500px 240px at 10% 120%, rgba(0, 201, 242, .35), transparent 60%),
    linear-gradient(120deg, var(--navy) 0%, var(--navy-3) 60%, #0E4FA8 100%);
  box-shadow: 0 30px 70px -35px rgba(6, 23, 46, .8);
}
.cta__mark { width: 84px; filter: drop-shadow(0 0 24px rgba(0, 201, 242, .45)); }
.cta h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin-bottom: .3em; }
.cta p { margin: 0; color: rgba(242, 246, 251, .78); }
.cta__fr { font-size: .92rem; color: rgba(242, 246, 251, .5) !important; margin-top: 4px !important; }

/* ---------- Footer ---------- */
.site-footer { background: #041125; color: rgba(242, 246, 251, .75); padding: 44px 0 0; font-size: .97rem; border-top: 1px solid var(--line-dark); }
.site-footer__row { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 32px; padding-bottom: 32px; }
.site-footer__brand img { width: 180px; margin-bottom: 8px; }
.site-footer__tagline { color: var(--white); font-weight: 500; margin: 0; }
.site-footer__nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 28px; }
.footer__link, .site-footer a { color: rgba(242, 246, 251, .75); }
.footer__link:hover, .site-footer a:hover { color: var(--cyan); text-decoration: none; }
.footer__link[aria-current="page"] { color: var(--cyan); }
.site-footer__contact { display: grid; gap: 6px; font-size: .9rem; }
.site-footer__contact li { display: grid; }
.site-footer__contact li span:first-child { font-size: .78rem; color: rgba(242, 246, 251, .5); }
.site-footer__end { display: grid; gap: 18px; justify-items: end; }

/* Social links — «تابع TitteriSoft» */
.social { display: grid; gap: 12px; justify-items: end; }
.social__title { margin: 0; font-size: .95rem; font-weight: 500; color: var(--white); display: inline-flex; align-items: center; gap: 10px; }
.social__title::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--grad); }
.social__list { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.social__link {
  --brand: var(--blue);
  position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px;
  color: rgba(242, 246, 251, .82); background: rgba(242, 246, 251, .04);
  border: 1px solid rgba(0, 201, 242, .22); overflow: hidden; isolation: isolate;
  transition: color .25s ease, border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}
.social__link::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--brand);
  opacity: 0; transform: translateY(100%); transition: opacity .25s ease, transform .3s cubic-bezier(.2, .8, .2, 1);
}
.social__icon { width: 20px; height: 20px; transition: transform .25s ease; }
.site-footer .social__link:hover, .site-footer .social__link:focus-visible {
  color: #fff; border-color: transparent; transform: translateY(-3px);
  box-shadow: 0 10px 24px -10px var(--brand), 0 0 0 1px rgba(255, 255, 255, .08);
}
.social__link:hover::before, .social__link:focus-visible::before { opacity: 1; transform: none; }
.social__link:hover .social__icon { transform: scale(1.08); }
.social__link:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }
.social__link--facebook  { --brand: #0866FF; }
.social__link--instagram { --brand: linear-gradient(45deg, #F58529 0%, #DD2A7B 45%, #8134AF 75%, #515BD4 100%); }
.social__link--instagram:hover, .social__link--instagram:focus-visible { box-shadow: 0 10px 24px -10px #DD2A7B, 0 0 0 1px rgba(255, 255, 255, .08); }
.social__link--linkedin  { --brand: #0A66C2; }
.social__link--youtube   { --brand: #FF0000; }
.social__link--tiktok    { --brand: #000000; }
.social__link--tiktok:hover .social__icon, .social__link--tiktok:focus-visible .social__icon { filter: drop-shadow(-1.5px -1px 0 #25F4EE) drop-shadow(1.5px 1px 0 #FE2C55); }
.social__link--tiktok:hover, .social__link--tiktok:focus-visible { box-shadow: 0 10px 24px -10px #25F4EE, 0 0 0 1px rgba(255, 255, 255, .12); }
.social__link--whatsapp  { --brand: #25D366; }
.social__link--x         { --brand: #000000; }
.social__link--x:hover, .social__link--x:focus-visible { box-shadow: 0 10px 24px -10px rgba(242, 246, 251, .5), 0 0 0 1px rgba(255, 255, 255, .25); }
@media (max-width: 420px) {
  .social__list { gap: 6px; }
  .site-footer .social__link { width: 44px; height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  .social__link, .social__link::before, .social__icon { transition: none; }
  .site-footer .social__link:hover { transform: none; }
}
.site-footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  border-top: 1px solid var(--line-dark); padding: 18px 0; font-size: .88rem;
}
.site-footer__bottom p { margin: 0; }
.site-footer__en { font: 500 .78rem var(--font-lat); letter-spacing: .22em; color: rgba(242, 246, 251, .45); }
@media (max-width: 860px) {
  .site-footer__row { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .site-footer__end, .social { justify-items: center; }
  .social__list { justify-content: center; }
  .social__link { width: 46px; height: 46px; }
}

/* ---------- 404 ---------- */
.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; }
.notfound img { width: 120px; margin: 0 auto 24px; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .card { transition: none; }
}
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .sectors { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 980px) {
  .hero__grid, .split, .contact-grid { grid-template-columns: 1fr; }
  .mock { max-width: 560px; margin: 24px auto 40px; width: 100%; }
  .grid--3, .grid--4, .steps { grid-template-columns: repeat(2, 1fr); }
  .values__grid { grid-template-columns: repeat(2, 1fr); }
  .value:nth-child(3) { border-inline-start: 0; }
  .value:nth-child(n+3) { border-top: 1px solid var(--line); }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .site-footer__brand { grid-column: 1 / -1; }
  .info-card { position: static; }
  .cta__box { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .cta__box .cta__fr { text-align: center; }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .grid--2, .grid--3, .grid--4, .steps, .form__row { grid-template-columns: 1fr; }
  .sectors { grid-template-columns: repeat(2, 1fr); }
  .values__grid { grid-template-columns: 1fr; }
  .value + .value { border-inline-start: 0; border-top: 1px solid var(--line); }
  .site-footer__grid { grid-template-columns: 1fr; }
  .hero__actions .btn { flex: 1 1 100%; }
  .mock__phone { right: -8px; bottom: -28px; }
  .mock__kpis { grid-template-columns: repeat(2, 1fr); }
  .mock__kpi:nth-child(3) { display: none; }
}


/* =========================================================
   Home page v2 — sections from the reference design
   ========================================================= */
.btn--outline { color: var(--blue); border-color: rgba(22, 133, 248, .45); background: transparent; }
.btn--outline:hover { background: rgba(22, 133, 248, .08); border-color: var(--blue); }
.btn--block { width: 100%; }
.btn--sm .icon { width: 1em; height: 1em; }
.opt { font-weight: 300; color: var(--muted); font-size: .85em; }
.section--tight { padding: clamp(56px, 7vw, 88px) 0; }
.kicker--line { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-ar); letter-spacing: 0; text-transform: none; font-size: .95rem; font-weight: 500; }
.kicker--line::before, .kicker--line::after { content: ""; width: 34px; height: 2px; border-radius: 2px; background: var(--grad); }
.section__head h2 { font-weight: 700; }

/* hero art */
.hero { padding: clamp(40px, 6vw, 72px) 0 clamp(48px, 6vw, 80px); }
.hero__art { position: relative; }
.hero__art img { width: 100%; max-width: 680px; margin-inline: auto; filter: drop-shadow(0 30px 60px rgba(0, 0, 0, .35)); animation: float 7s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@media (prefers-reduced-motion: reduce) { .hero__art img { animation: none; } }

/* features strip */
.features { background: var(--pure); border-bottom: 1px solid var(--line); box-shadow: 0 12px 30px -24px rgba(6, 23, 46, .35); position: relative; z-index: 1; }
.features__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.feature { display: flex; align-items: center; gap: 16px; padding: 24px 22px; }
.feature + .feature { border-inline-start: 1px solid var(--line); }
.feature__icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: rgba(22, 133, 248, .08); color: var(--blue); flex: none; }
.feature__icon .icon { width: 28px; height: 28px; }
.feature h3 { font-size: 1.05rem; margin: 0 0 2px; }
.feature p { margin: 0; color: var(--muted); font-size: .92rem; line-height: 1.5; }

/* services */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service {
  display: flex; align-items: center; gap: 20px; padding: 24px; border-radius: var(--radius);
  background: var(--pure); border: 1px solid var(--line); height: 100%;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s;
}
.service:hover { transform: translateY(-4px); border-color: rgba(22, 133, 248, .35); box-shadow: 0 24px 50px -28px rgba(6, 23, 46, .4); }
.service__art {
  width: 104px; height: 104px; flex: none; border-radius: 22px; display: grid; place-items: center; position: relative; overflow: hidden;
  background: radial-gradient(circle at 30% 25%, rgba(0, 201, 242, .45), transparent 60%), linear-gradient(150deg, var(--navy-3), var(--navy));
  color: var(--white); box-shadow: inset 0 0 0 1px rgba(0, 201, 242, .35), 0 14px 30px -14px rgba(22, 133, 248, .7);
}
.service__art::after { content: ""; position: absolute; inset: auto 12% 10% 12%; height: 3px; border-radius: 3px; background: var(--grad); opacity: .8; filter: blur(.5px); }
.service__art .icon { width: 48px; height: 48px; color: var(--cyan); filter: drop-shadow(0 0 10px rgba(0, 201, 242, .6)); }
.service__body { flex: 1; min-width: 0; }
.service h3 { font-size: 1.12rem; margin-bottom: .3em; }
.service p { color: var(--ink-soft); margin: 0 0 12px; font-size: .96rem; line-height: 1.7; }
.service__link { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; font-size: .93rem; color: var(--blue); }
.service__link .icon { width: 1em; height: 1em; transition: transform .2s; }
.service__link:hover { text-decoration: none; color: #0F6FD6; }
.service__link:hover .icon { transform: translateX(-4px); }

/* projects */
.projects { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.project {
  display: grid; grid-template-columns: 130px 1fr 92px; align-items: center; gap: 22px;
  padding: 22px 24px; border-radius: 22px; position: relative; overflow: hidden;
  background: linear-gradient(150deg, rgba(16, 48, 92, .7), rgba(6, 23, 46, .7));
  border: 1px solid rgba(0, 201, 242, .25); transition: border-color .25s, box-shadow .25s;
}
.project:hover { border-color: rgba(0, 201, 242, .55); box-shadow: var(--glow); }
.project__name { font-family: var(--font-lat), var(--font-ar); font-size: 1.5rem; margin-bottom: .3em; }
.project p { color: rgba(242, 246, 251, .72); margin: 0 0 10px; font-size: .98rem; }
.project__link { display: inline-flex; align-items: center; gap: 6px; color: var(--cyan); font-weight: 500; }
.project__side { display: grid; justify-items: center; gap: 14px; }
.project__icon { width: 72px; height: 72px; display: grid; place-items: center; color: var(--cyan); }
.project__icon .icon { width: 64px; height: 64px; filter: drop-shadow(0 0 16px rgba(0, 201, 242, .6)); }
.status { font-size: .8rem; padding: 5px 12px; border-radius: 999px; white-space: nowrap; border: 1px solid rgba(242, 246, 251, .25); color: rgba(242, 246, 251, .85); background: rgba(242, 246, 251, .06); }
.status--in-development { border-color: rgba(0, 201, 242, .5); color: var(--cyan); }
.status--released { border-color: rgba(34, 197, 140, .6); color: #5EE0B0; }

/* illustrative phone */
.project__phone { display: grid; place-items: center; }
.pm {
  width: 112px; height: 210px; border-radius: 20px; padding: 10px 9px; display: grid; align-content: start; gap: 7px;
  background: linear-gradient(170deg, #0E2A52, #061733); border: 2px solid #1B3D6B;
  box-shadow: 0 0 0 1px rgba(0, 201, 242, .3), 0 20px 40px -18px rgba(0, 201, 242, .6);
  transform: rotate(-6deg);
}
.pm__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2px; }
.pm__top span { width: 26px; height: 5px; border-radius: 3px; background: rgba(242, 246, 251, .35); }
.pm__top b { width: 12px; height: 12px; border-radius: 50%; background: var(--grad); }
.pm__search { height: 16px; border-radius: 8px; background: rgba(242, 246, 251, .1); }
.pm__row { display: flex; align-items: center; gap: 6px; padding: 6px; border-radius: 8px; background: rgba(242, 246, 251, .07); }
.pm__row i { width: 18px; height: 18px; border-radius: 50%; background: var(--grad); flex: none; }
.pm__row span { display: grid; gap: 4px; flex: 1; }
.pm__row b { height: 4px; border-radius: 2px; background: rgba(242, 246, 251, .5); width: 80%; }
.pm__row em { height: 3px; border-radius: 2px; background: rgba(242, 246, 251, .2); width: 55%; }
.pm__row u { width: 14px; height: 8px; border-radius: 4px; background: rgba(0, 201, 242, .55); }
.pm__btn { height: 18px; border-radius: 9px; background: var(--grad); margin-top: 4px; }
.pm__btn--round { width: 40px; height: 40px; border-radius: 50%; justify-self: center; box-shadow: 0 0 20px rgba(0, 201, 242, .6); }
.pm__noura { display: grid; justify-items: center; gap: 12px; padding-top: 14px; }
.pm__noura .icon { width: 46px; height: 46px; color: var(--cyan); filter: drop-shadow(0 0 10px rgba(0, 201, 242, .7)); }
.pm__wave { display: flex; align-items: center; gap: 4px; height: 34px; }
.pm__wave i { width: 5px; border-radius: 3px; background: var(--grad); }
.pm__wave i:nth-child(1), .pm__wave i:nth-child(7) { height: 30%; }
.pm__wave i:nth-child(2), .pm__wave i:nth-child(6) { height: 60%; }
.pm__wave i:nth-child(3), .pm__wave i:nth-child(5) { height: 85%; }
.pm__wave i:nth-child(4) { height: 100%; }

/* about */
.about { display: grid; grid-template-columns: 1.15fr .55fr 1fr; gap: clamp(24px, 4vw, 48px); align-items: center; }
.about h2 { font-size: clamp(1.7rem, 3.2vw, 2.3rem); }
.about__copy p { color: var(--ink-soft); }
.about__points { display: grid; gap: 18px; }
.about__points li { display: flex; align-items: center; gap: 12px; font-weight: 500; }
.about__points span { width: 42px; height: 42px; flex: none; border-radius: 12px; display: grid; place-items: center; background: rgba(22, 133, 248, .08); color: var(--blue); }
.about__points .icon { width: 22px; height: 22px; }
.about__art {
  position: relative; aspect-ratio: 4 / 3; border-radius: 24px; overflow: hidden; display: grid; place-items: center;
  background: radial-gradient(circle at 50% 40%, rgba(22, 133, 248, .45), transparent 60%), linear-gradient(160deg, var(--navy-3), var(--navy));
  box-shadow: 0 30px 60px -30px rgba(6, 23, 46, .7);
}
.about__grid { position: absolute; inset: 0; opacity: .25;
  background-image: linear-gradient(rgba(0, 201, 242, .35) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 201, 242, .35) 1px, transparent 1px);
  background-size: 32px 32px; mask-image: radial-gradient(circle at 50% 50%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 30%, transparent 75%); }
.about__art img { width: 72%; position: relative; filter: drop-shadow(0 0 30px rgba(0, 201, 242, .35)); }
.about__chips { position: absolute; inset-inline: 0; bottom: 18px; display: flex; justify-content: center; gap: 10px; }
.about__chips span { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: rgba(6, 23, 46, .7); border: 1px solid rgba(0, 201, 242, .35); color: var(--cyan); }
.about__chips .icon { width: 20px; height: 20px; }

/* process */
.process { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.process__step {
  position: relative; display: flex; align-items: center; gap: 14px; padding: 20px 18px;
  background: var(--pure); border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .25s, box-shadow .25s;
}
.process__step:hover { border-color: rgba(22, 133, 248, .35); box-shadow: 0 20px 40px -26px rgba(6, 23, 46, .35); }
.process__step:not(:last-child)::after {
  content: ""; position: absolute; top: 50%; inset-inline-end: -26px; width: 24px; height: 2px; background: var(--grad);
}
.process__step:not(:last-child)::before {
  content: ""; position: absolute; top: calc(50% - 4px); inset-inline-end: -28px; width: 8px; height: 8px;
  border-top: 2px solid var(--blue); border-left: 2px solid var(--blue); transform: rotate(-45deg);
}
.process__icon { width: 54px; height: 54px; flex: none; border-radius: 50%; display: grid; place-items: center; background: rgba(22, 133, 248, .08); color: var(--blue); box-shadow: inset 0 0 0 1px rgba(22, 133, 248, .2); }
.process__icon .icon { width: 26px; height: 26px; }
.process__step h3 { font-size: 1rem; margin: 0 0 4px; display: flex; align-items: baseline; gap: 6px; }
.process__num { font: 700 .95rem var(--font-lat); color: var(--blue); }
.process__step p { margin: 0; color: var(--ink-soft); font-size: .9rem; line-height: 1.6; }

/* contact CTA */
.contact-cta { padding: clamp(56px, 7vw, 88px) 0; }
.contact-cta__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.contact-cta__copy { position: relative; }
.contact-cta__copy h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); }
.contact-cta__copy p { color: rgba(242, 246, 251, .75); font-size: 1.08rem; max-width: 26em; }
.contact-cta__plane { display: inline-grid; place-items: center; width: 64px; height: 64px; margin-bottom: 18px; color: var(--white); }
.contact-cta__plane .icon { width: 56px; height: 56px; filter: drop-shadow(0 0 14px rgba(0, 201, 242, .6)); }
.form--dark {
  padding: clamp(22px, 3vw, 32px); border-radius: 22px;
  background: linear-gradient(160deg, rgba(16, 48, 92, .55), rgba(6, 23, 46, .6)); border: 1px solid rgba(0, 201, 242, .22);
}
.form--dark .field label { color: rgba(242, 246, 251, .9); font-weight: 500; }
.form--dark .field input, .form--dark .field select, .form--dark .field textarea {
  background: rgba(4, 17, 37, .7); border-color: rgba(0, 201, 242, .2); color: var(--white);
}
.form--dark .field input::placeholder, .form--dark .field textarea::placeholder { color: rgba(242, 246, 251, .35); }
.form--dark .field input:focus, .form--dark .field select:focus, .form--dark .field textarea:focus { background: rgba(4, 17, 37, .9); border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(0, 201, 242, .15); }
.form--dark .field select option { color: var(--ink); background: var(--pure); }
.form--dark .field__err { color: #FF8B97; }
.form--dark .opt { color: rgba(242, 246, 251, .45); }
.form--dark .form__status--ok { background: rgba(0, 201, 242, .12); color: #9BEBFF; border-color: rgba(0, 201, 242, .45); }
.form--dark .form__status--err { background: rgba(255, 139, 151, .1); color: #FFC2C9; border-color: rgba(255, 139, 151, .35); }
.form--dark textarea { min-height: 120px; }

/* responsive (v2) */
@media (max-width: 1100px) {
  .services { grid-template-columns: repeat(2, 1fr); }
  .project { grid-template-columns: 110px 1fr; }
  .project__side { grid-column: 1 / -1; grid-auto-flow: column; justify-content: start; align-items: center; }
  .project__icon { width: 44px; height: 44px; } .project__icon .icon { width: 36px; height: 36px; }
  .about { grid-template-columns: 1fr 1fr; }
  .about__art { grid-column: 1 / -1; aspect-ratio: 16 / 7; }
  .process { grid-template-columns: repeat(2, 1fr); }
  .process__step::after, .process__step::before { display: none; }
}
@media (max-width: 980px) {
  .features__grid { grid-template-columns: repeat(2, 1fr); }
  .feature:nth-child(3) { border-inline-start: 0; }
  .feature:nth-child(n+3) { border-top: 1px solid var(--line); }
  .projects { grid-template-columns: 1fr; }
  .project { grid-template-columns: 130px 1fr 110px; }
  .project__side { grid-column: auto; grid-auto-flow: row; justify-content: center; }
  .project__icon { width: 72px; height: 72px; } .project__icon .icon { width: 56px; height: 56px; }
  .contact-cta__grid { grid-template-columns: 1fr; }
  .contact-cta__copy { order: -1; text-align: center; }
  .contact-cta__copy p { margin-inline: auto; }
  .hero__art { order: 2; }
}
@media (max-width: 640px) {
  .features__grid, .services, .process, .about { grid-template-columns: 1fr; }
  .feature + .feature { border-inline-start: 0; border-top: 1px solid var(--line); }
  .service { padding: 18px; gap: 16px; }
  .service__art { width: 80px; height: 80px; border-radius: 18px; }
  .service__art .icon { width: 38px; height: 38px; }
  .project { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .project__side { grid-auto-flow: column; justify-content: center; align-items: center; }
  .project__icon { width: 44px; height: 44px; } .project__icon .icon { width: 34px; height: 34px; }
  .about__art { aspect-ratio: 4 / 3; }
  .about__points { grid-template-columns: 1fr 1fr; }
  .about__points li { font-size: .95rem; }
}
