/* Retail Tech — retail-tec.com
   Brand system: aubergine + saffron on warm ivory (2026 profile identity)
   RTL-first; logical properties keep the EN mirror honest. */

:root {
  --ink: #241a3e;
  --body-c: #4a4258;
  --muted: #7a7290;
  --purple: #4b2e83;
  --deep: #342058;
  --darkest: #241546;
  --violet: #7c5cbf;
  --orange: #f5822b;
  --orange-deep: #d96a12;
  --ivory: #fcfaf7;
  --lilac: #f3eff9;
  --line: #e7e0f2;
  --white: #fff;
  --wa: #25d366;
  --radius: 18px;
  --shadow: 0 4px 24px rgba(75, 46, 131, .08);
  --shadow-lg: 0 12px 44px rgba(36, 21, 70, .16);
  --font-ar: 'IBM Plex Sans Arabic', 'Segoe UI', Tahoma, sans-serif;
  --font-en-display: 'Playfair Display', Georgia, serif;
  --font-en-body: 'Manrope', 'Segoe UI', Helvetica, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  background: var(--ivory);
  color: var(--body-c);
  font-size: 1.0625rem;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
html[lang="ar"] body { font-family: var(--font-ar); }
html[lang="en"] body { font-family: var(--font-en-body); }

h1, h2, h3, h4 { color: var(--ink); line-height: 1.3; font-weight: 700; }
html[lang="en"] h1, html[lang="en"] h2 { font-family: var(--font-en-display); font-weight: 600; }
html[lang="ar"] h1, html[lang="ar"] h2 { line-height: 1.45; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container { max-width: 1180px; margin-inline: auto; padding-inline: 24px; }

.skip-link {
  position: absolute; inset-inline-start: -999px; top: 8px; z-index: 200;
  background: var(--orange); color: #fff; padding: 10px 18px; border-radius: 8px;
}
.skip-link:focus { inset-inline-start: 8px; }

:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; border-radius: 4px; }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--darkest); color: #cfc4e6;
  font-size: .845rem; line-height: 1;
}
.topbar .container {
  display: flex; justify-content: space-between; align-items: center;
  min-height: 38px; gap: 16px; flex-wrap: wrap; padding-block: 4px;
}
.topbar a { display: inline-flex; align-items: center; gap: 7px; color: #cfc4e6; transition: color .18s; }
.topbar a:hover { color: #fff; }
.topbar .tb-contacts { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar .tb-lang { font-weight: 600; letter-spacing: .04em; color: #fff; }
.topbar svg { width: 14px; height: 14px; stroke: var(--orange); }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(252, 250, 247, .92);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s;
}
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(36, 21, 70, .09); }
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 76px; gap: 24px;
}
.brand img { height: 46px; width: auto; }
.nav-links { display: flex; gap: 6px; align-items: center; }
.nav-links a {
  padding: 10px 14px; font-weight: 600; font-size: .98rem; color: var(--ink);
  border-radius: 10px; transition: color .18s, background .18s;
  position: relative;
}
.nav-links a:hover { color: var(--purple); background: var(--lilac); }
.nav-links a[aria-current="page"] { color: var(--purple); }
.nav-links a[aria-current="page"]::after {
  content: ""; position: absolute; inset-inline: 14px; bottom: 4px; height: 3px;
  border-radius: 2px; background: var(--orange);
}
.nav-cta { display: flex; align-items: center; gap: 12px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 26px; border-radius: 12px; font-weight: 700; font-size: 1rem;
  border: 2px solid transparent; cursor: pointer; font-family: inherit;
  transition: transform .18s, box-shadow .18s, background .18s, color .18s, border-color .18s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--orange); color: #fff; box-shadow: 0 6px 20px rgba(245, 130, 43, .35); }
.btn-primary:hover { background: var(--orange-deep); }
.btn-ghost { border-color: rgba(255, 255, 255, .45); color: #fff; }
.btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }
.btn-outline { border-color: var(--purple); color: var(--purple); }
.btn-outline:hover { background: var(--purple); color: #fff; }
.btn-sm { padding: 10px 20px; font-size: .93rem; }
.btn svg { width: 18px; height: 18px; }

.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer; padding: 8px;
}
.nav-toggle svg { width: 26px; height: 26px; stroke: var(--ink); }

/* ---------- Nav dropdowns ---------- */
.has-menu { position: relative; }
.has-menu > a { display: inline-flex; align-items: center; gap: 6px; }
.has-menu > a::after {
  content: ""; width: 7px; height: 7px; border: 2px solid currentColor;
  border-top: 0; border-inline-start: 0; transform: rotate(45deg) translateY(-2px);
}
.submenu {
  position: absolute; top: calc(100% + 6px); inset-inline-start: 0; min-width: 240px;
  background: var(--white); border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow-lg); padding: 10px; display: none; z-index: 60;
}
.has-menu:hover .submenu, .has-menu:focus-within .submenu { display: block; }
.submenu a { display: block; padding: 10px 14px; border-radius: 9px; font-size: .95rem; }

/* ---------- Inner page hero ---------- */
.page-hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(900px 480px at 85% -20%, #503076 0%, transparent 60%),
    radial-gradient(700px 500px at -5% 120%, #3a2361 0%, transparent 55%),
    var(--darkest);
}
.page-hero::before {
  content: ""; position: absolute; inset-block: -20%; inset-inline-end: -120px; width: 440px;
  background: url("../img/tile-white.png") center / contain no-repeat;
  opacity: .05; transform: rotate(-8deg); pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; padding-block: 76px 84px; max-width: 860px; }
.page-hero .crumbs { font-size: .85rem; color: #b7a9d6; margin-bottom: 18px; display: flex; gap: 8px; flex-wrap: wrap; }
.page-hero .crumbs a:hover { color: #fff; }
.page-hero h1 { color: #fff; font-size: clamp(1.8rem, 3.8vw, 2.7rem); margin-bottom: 16px; }
.page-hero h1 em { font-style: normal; color: var(--orange); }
.page-hero p { color: #d9d0ec; font-size: 1.08rem; max-width: 680px; }
.page-hero .hero-ctas { margin: 30px 0 0; }
.page-hero .p-mark { position: absolute; inset-inline-end: 6%; bottom: -18px; height: 130px; width: auto; opacity: .95; }
.page-hero .p-mark-img {
  position: absolute; inset-inline-end: 5%; top: 50%; transform: translateY(-50%);
  width: 300px; height: auto; border-radius: 18px; box-shadow: var(--shadow-lg);
}

/* ---------- Numbered features (matches original site's 1..5 lists) ---------- */
.numbered { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 28px; counter-reset: feat; }
.numbered.cols-1 { grid-template-columns: 1fr; max-width: 800px; }
.numbered > li {
  counter-increment: feat; display: flex; gap: 18px; align-items: flex-start;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 26px; box-shadow: var(--shadow);
}
.numbered > li::before {
  content: counter(feat); flex: 0 0 44px; width: 44px; height: 44px; border-radius: 13px;
  background: var(--lilac); color: var(--purple); font-weight: 700; font-size: 1.15rem;
  display: grid; place-items: center;
}
.numbered h3 { font-size: 1.06rem; margin-bottom: 6px; }
.numbered p { font-size: .94rem; }

/* ---------- Chips grid (sectors, apps, tech) ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 12px; }
.chip {
  background: var(--white); border: 1px solid var(--line); border-radius: 999px;
  padding: 10px 20px; font-size: .93rem; font-weight: 600; color: var(--ink);
  box-shadow: var(--shadow);
}
.chip-lilac { background: var(--lilac); border-color: transparent; box-shadow: none; }

/* ---------- Checklist ---------- */
.checklist { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 28px; max-width: 900px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-size: .97rem; }
.checklist li::before {
  content: "✓"; flex: 0 0 22px; width: 22px; height: 22px; border-radius: 7px;
  background: var(--orange); color: #fff; font-weight: 700; font-size: .8rem;
  display: grid; place-items: center; margin-top: 3px;
}

/* ---------- Timeline (company journey) ---------- */
.timeline { position: relative; max-width: 780px; padding-inline-start: 34px; }
.timeline::before {
  content: ""; position: absolute; inset-block: 6px; inset-inline-start: 10px; width: 2px;
  background: linear-gradient(var(--violet), var(--orange));
}
.timeline li { position: relative; padding-bottom: 30px; }
.timeline li::before {
  content: ""; position: absolute; inset-inline-start: -30px; top: 6px;
  width: 14px; height: 14px; border-radius: 50%; background: var(--orange);
  box-shadow: 0 0 0 4px var(--lilac);
}
.timeline .t-year { font-weight: 700; color: var(--purple); font-size: .9rem; letter-spacing: .04em; }
.timeline h3 { font-size: 1.08rem; margin: 4px 0 6px; }
.timeline p { font-size: .94rem; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; }
.faq details {
  background: var(--white); border: 1px solid var(--line); border-radius: 14px;
  padding: 0 22px; margin-bottom: 12px; box-shadow: var(--shadow);
}
.faq summary {
  cursor: pointer; font-weight: 700; color: var(--ink); padding: 18px 0;
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 14px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; color: var(--orange-deep); font-size: 1.4rem; font-weight: 400; line-height: 1;
  transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 18px; font-size: .95rem; }

/* ---------- Integrations ---------- */
.int-logo { height: 40px; width: auto; max-width: 150px; object-fit: contain; margin-bottom: 16px; }
.int-strip { display: flex; flex-wrap: wrap; gap: 14px; margin-block: 8px 28px; }
.int-chip {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--white); border: 1px solid var(--line); border-radius: 14px;
  padding: 12px 20px; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s;
}
.int-chip:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.int-chip img { height: 30px; width: auto; max-width: 110px; object-fit: contain; }

/* ---------- Mission / vision cards ---------- */
.mvm { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.mvm .card h3 { display: flex; align-items: center; gap: 10px; }
.mvm .card h3 svg { width: 22px; height: 22px; stroke: var(--orange-deep); }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--purple), var(--darkest));
  border-radius: calc(var(--radius) + 6px); padding: 56px 48px; text-align: center;
  color: #fff; position: relative; overflow: hidden;
}
html[dir="rtl"] .cta-band { background: linear-gradient(-120deg, var(--purple), var(--darkest)); }
.cta-band::before {
  content: ""; position: absolute; inset-block: -30%; inset-inline-start: -70px; width: 320px;
  background: url("../img/tile-white.png") center / contain no-repeat; opacity: .05; transform: rotate(-10deg);
}
.cta-band h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: 12px; }
.cta-band p { color: #d9d0ec; max-width: 560px; margin: 0 auto 28px; }

@media (max-width: 860px) {
  .nav-links.open .submenu { display: block; position: static; box-shadow: none; border: 0; padding: 0 18px; min-width: 0; }
  .nav-links.open .has-menu > a::after { display: none; }
}
@media (max-width: 767px) {
  .numbered, .checklist, .mvm { grid-template-columns: 1fr; }
  .page-hero .p-mark-img { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(1100px 620px at 82% -10%, #503076 0%, transparent 62%),
    radial-gradient(900px 700px at -10% 110%, #3a2361 0%, transparent 60%),
    var(--darkest);
}
.hero::before {
  /* signature: the brand tile monogram, oversized and ghosted */
  content: ""; position: absolute; inset-block: -8%; inset-inline-end: -180px;
  width: 640px; background: url("../img/tile-white.png") center / contain no-repeat;
  opacity: .05; transform: rotate(-8deg); pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; inset-inline-start: 8%; bottom: -110px;
  width: 320px; height: 320px; border-radius: 88px;
  background: linear-gradient(135deg, rgba(124, 92, 191, .35), rgba(245, 130, 43, .12));
  transform: rotate(18deg); pointer-events: none;
}
.hero .container {
  position: relative; z-index: 1; padding-block: 96px 150px;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: center;
  text-align: start;
}
.hero-kicker {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(255, 255, 255, .09); border: 1px solid rgba(255, 255, 255, .18);
  color: #f0c9a4; padding: 8px 18px; border-radius: 999px;
  font-size: .93rem; font-weight: 600; margin-bottom: 28px;
}
.hero-kicker .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }
.hero h1 {
  color: #fff; font-size: clamp(2rem, 4.6vw, 3.4rem); margin-bottom: 22px;
}
html[lang="en"] .hero h1 { line-height: 1.18; }
.hero h1 em { font-style: normal; color: var(--orange); }
.hero-sub {
  font-size: clamp(1.02rem, 1.6vw, 1.18rem); color: #d9d0ec; max-width: 640px;
  margin-bottom: 40px;
}
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 44px; }
.hero-chips { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-chips span {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .88rem; color: #cfc4e6;
  border: 1px solid rgba(255, 255, 255, .16); border-radius: 999px; padding: 7px 16px;
}
.hero-chips svg { width: 15px; height: 15px; stroke: var(--orange); }

/* hero visual: real project mockups, floating */
.hero-visual { position: relative; height: 500px; }
.hv-main {
  position: absolute; inset-inline-end: 0; top: 6%; width: 76%; height: auto;
  border-radius: 26px; box-shadow: 0 30px 70px rgba(0, 0, 0, .45);
  animation: floaty 7s ease-in-out infinite;
}
.hv-float {
  position: absolute; inset-inline-start: 0; bottom: 0; width: 44%; height: auto;
  border-radius: 20px; border: 4px solid rgba(255, 255, 255, .16);
  box-shadow: 0 22px 55px rgba(0, 0, 0, .4);
  animation: floaty 7s ease-in-out 1.4s infinite; z-index: 1;
}
.hv-chip {
  position: absolute; inset-inline-start: 4%; top: 4%; z-index: 2;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  color: #fff; border-radius: 14px; padding: 10px 18px; font-size: .88rem;
  display: inline-flex; align-items: center; gap: 9px;
  animation: floaty 6s ease-in-out .6s infinite;
}
.hv-chip b { color: var(--orange); font-size: 1.05rem; }
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

/* ---------- Trust plaque ---------- */
.trust { margin-top: -84px; position: relative; z-index: 2; }
.trust-card {
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: 36px 40px 30px; text-align: center;
}
.trust-card p { font-weight: 700; color: var(--purple); font-size: 1rem; margin-bottom: 24px; letter-spacing: .01em; }
.trust-logos { display: flex; justify-content: center; align-items: center; gap: clamp(24px, 4.5vw, 56px); flex-wrap: wrap; }
.trust-logos img { height: 44px; width: auto; opacity: .92; filter: grayscale(12%); transition: opacity .2s, transform .2s; }
.trust-logos img:hover { opacity: 1; transform: scale(1.05); }

/* marquee of the wider client wall */
.marquee { overflow: hidden; margin-top: 30px; position: relative; }
.marquee::before, .marquee::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 70px; z-index: 1; pointer-events: none;
}
.marquee::before { inset-inline-start: 0; background: linear-gradient(to right, var(--white), transparent); }
.marquee::after { inset-inline-end: 0; background: linear-gradient(to left, var(--white), transparent); }
html[dir="rtl"] .marquee::before { background: linear-gradient(to left, var(--white), transparent); }
html[dir="rtl"] .marquee::after { background: linear-gradient(to right, var(--white), transparent); }
.marquee-track { display: flex; align-items: center; gap: 64px; width: max-content; animation: slide 36s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track img { height: 34px; width: auto; opacity: .68; }
@keyframes slide { to { transform: translateX(calc(-50% - 32px)); } }
html[dir="rtl"] .marquee-track { animation-name: slide-rtl; }
@keyframes slide-rtl { to { transform: translateX(calc(50% + 32px)); } }

/* ---------- Section scaffolding ---------- */
.section { padding-block: 96px; }
.section-alt { background: var(--lilac); }
.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head.center { margin-inline: auto; text-align: center; }
.eyebrow {
  display: inline-block; color: var(--orange-deep); font-weight: 700; font-size: .9rem;
  letter-spacing: .06em; margin-bottom: 12px;
}
html[lang="en"] .eyebrow { text-transform: uppercase; font-family: var(--font-en-body); }
.section-head h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); margin-bottom: 14px; }
.section-head .lead { font-size: 1.08rem; }

/* ---------- Services ---------- */
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: var(--white); border-radius: var(--radius); padding: 34px 30px;
  box-shadow: var(--shadow); border: 1px solid transparent; display: flex; flex-direction: column;
  transition: transform .22s, box-shadow .22s, border-color .22s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--line); }
.card-icon {
  width: 58px; height: 58px; border-radius: 16px; background: var(--lilac);
  display: grid; place-items: center; margin-bottom: 22px;
}
.card-icon svg { width: 26px; height: 26px; stroke: var(--purple); }
.card h3 { font-size: 1.22rem; margin-bottom: 10px; }
.card p { font-size: .98rem; flex: 1; }
.card-link {
  margin-top: 20px; font-weight: 700; color: var(--orange-deep); font-size: .95rem;
  display: inline-flex; align-items: center; gap: 6px;
}
.card-link svg { width: 16px; height: 16px; transition: transform .2s; }
.card:hover .card-link svg { transform: translateX(-4px); }
html[dir="ltr"] .card:hover .card-link svg { transform: translateX(4px); }

/* ---------- Products ---------- */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.product-flag {
  grid-column: 1 / -1; display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px;
  background: linear-gradient(120deg, var(--purple), var(--deep) 70%);
  color: #e6def5; border-radius: var(--radius); padding: 48px 46px; position: relative; overflow: hidden;
}
html[dir="rtl"] .product-flag { background: linear-gradient(-120deg, var(--purple), var(--deep) 70%); }
.product-flag::after {
  content: ""; position: absolute; inset-block: -20%; inset-inline-end: -70px; width: 340px;
  background: url("../img/tile-white.png") center / contain no-repeat; opacity: .06; transform: rotate(10deg);
}
.product-flag h3 { color: #fff; font-size: 1.7rem; margin-bottom: 6px; }
.product-flag .sub { color: var(--orange); font-weight: 700; margin-bottom: 16px; }
.product-flag p { font-size: 1.02rem; }
.product-flag .p-meta { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: center; gap: 18px; }
.product-flag .p-meta .best {
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 14px; padding: 16px 20px; font-size: .93rem;
}
.product-flag .p-meta .best strong { color: #fff; display: block; margin-bottom: 4px; }
.product-card { border-top: 4px solid var(--violet); }
.product-card .sub { color: var(--muted); font-size: .9rem; font-weight: 600; margin-bottom: 12px; }
.product-card .best { font-size: .88rem; color: var(--purple); background: var(--lilac); border-radius: 10px; padding: 10px 14px; margin-top: 18px; }
.product-card .best strong { display: block; }

/* ---------- Why us + stats ---------- */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px 28px; }
.why-item { display: flex; gap: 16px; align-items: flex-start; }
.why-item .w-icon {
  flex: 0 0 46px; width: 46px; height: 46px; border-radius: 13px; background: var(--white);
  box-shadow: var(--shadow); display: grid; place-items: center;
}
.why-item .w-icon svg { width: 22px; height: 22px; stroke: var(--orange-deep); }
.why-item h3 { font-size: 1.05rem; margin-bottom: 6px; }
.why-item p { font-size: .93rem; }

.stats-band {
  margin-top: 72px; background: var(--darkest); border-radius: calc(var(--radius) + 6px);
  padding: 52px 40px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px;
  position: relative; overflow: hidden;
}
.stats-band::before {
  content: ""; position: absolute; inset-block: -30%; inset-inline-start: -60px; width: 300px;
  background: url("../img/tile-white.png") center / contain no-repeat; opacity: .05; transform: rotate(-12deg);
}
.stat { text-align: center; position: relative; }
.stat + .stat::before {
  content: ""; position: absolute; inset-block: 12%; inset-inline-start: -16px; width: 1px;
  background: rgba(255, 255, 255, .14);
}
.stat b { display: block; color: #fff; font-size: clamp(2rem, 3.6vw, 2.9rem); font-weight: 700; line-height: 1.1; }
html[lang="en"] .stat b { font-family: var(--font-en-display); font-weight: 600; }
.stat b i { font-style: normal; color: var(--orange); }
.stat > span { color: #b7a9d6; font-size: .95rem; }
.stat b .num { font-size: inherit; color: inherit; }

/* ---------- Case studies ---------- */
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.work-card { overflow: hidden; padding: 0; }
.work-media {
  height: 150px; display: grid; place-items: center; background: var(--lilac);
  border-bottom: 1px solid var(--line);
}
.work-media img { max-height: 66px; max-width: 60%; width: auto; }
.work-body { padding: 26px 28px 30px; display: flex; flex-direction: column; flex: 1; }
.work-tag {
  align-self: flex-start; font-size: .78rem; font-weight: 700; color: var(--purple);
  background: var(--lilac); padding: 5px 12px; border-radius: 999px; margin-bottom: 14px;
}
.work-body h3 { font-size: 1.12rem; margin-bottom: 8px; }
.work-body p { font-size: .93rem; flex: 1; }

/* ---------- Works carousel (project mockups) ---------- */
.works-carousel { margin-top: 64px; }
.works-carousel h3 { font-size: 1.3rem; margin-bottom: 22px; }
.works-swiper { padding-bottom: 44px; }
.work-slide {
  border-radius: var(--radius); overflow: hidden; position: relative;
  box-shadow: var(--shadow); background: var(--white);
}
.work-slide img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .45s ease; }
.work-slide:hover img { transform: scale(1.045); }
.ws-label {
  position: absolute; inset-inline: 12px; bottom: 12px;
  background: rgba(36, 21, 70, .82); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  color: #fff; border-radius: 12px; padding: 10px 16px;
}
.ws-label b { display: block; font-size: .98rem; }
.ws-label span { font-size: .8rem; color: #cfc4e6; }
.works-swiper .swiper-pagination-bullet { background: var(--violet); opacity: .35; }
.works-swiper .swiper-pagination-bullet-active { background: var(--orange); opacity: 1; }

/* product logos on cards */
.p-logo { height: 30px; width: auto; max-width: 130px; object-fit: contain; margin-bottom: 14px; }
.p-logo-chip {
  display: inline-flex; align-items: center; background: #fff; border-radius: 12px;
  padding: 9px 16px; margin-bottom: 18px;
}
.p-logo-chip img { height: 30px; width: auto; }

/* ---------- Partners / certifications ---------- */
.certs { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.cert {
  display: flex; align-items: center; gap: 18px; background: var(--white);
  border: 1px solid var(--line); border-radius: 14px; padding: 18px 24px;
  box-shadow: var(--shadow); font-size: .93rem;
}
.cert img { height: 38px; width: auto; max-width: 132px; object-fit: contain; flex-shrink: 0; }
.cert b { color: var(--ink); display: block; font-size: .98rem; }
@media (max-width: 640px) {
  .cert { width: 100%; }
}

/* ---------- Contact ---------- */
.contact-wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: start; }
.contact-form {
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: 40px 38px;
}
.contact-form h3 { font-size: 1.4rem; margin-bottom: 8px; }
.contact-form > p { font-size: .95rem; margin-bottom: 26px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: .88rem; font-weight: 700; color: var(--purple); margin-bottom: 6px; }
.field label .req { color: #c62828; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 16px; font-family: inherit; font-size: 1rem;
  border: 1.5px solid var(--line); border-radius: 10px; background: var(--ivory); color: var(--ink);
  transition: border-color .18s, box-shadow .18s;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--purple); box-shadow: 0 0 0 4px rgba(75, 46, 131, .12);
}
.form-note { font-size: .84rem; color: var(--muted); margin-top: 14px; display: flex; align-items: center; gap: 8px; }
.form-note svg { width: 15px; height: 15px; stroke: var(--purple); }
.form-status { margin-top: 14px; font-weight: 600; font-size: .95rem; display: none; }
.form-status.ok { display: block; color: #2e7d32; }
.form-status.err { display: block; color: #c62828; }
.hp { position: absolute; inset-inline-start: -9999px; }

.branches { display: flex; flex-direction: column; gap: 18px; }
.branch {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 26px; box-shadow: var(--shadow);
}
.branch h3 { font-size: 1.05rem; margin-bottom: 8px; display: flex; align-items: center; gap: 9px; }
.branch h3 svg { width: 18px; height: 18px; stroke: var(--orange-deep); }
.branch p, .branch a { font-size: .92rem; display: block; }
.branch a { color: var(--purple); font-weight: 600; margin-top: 6px; direction: ltr; width: fit-content; }
html[dir="rtl"] .branch a { text-align: right; }
.branch a:hover { color: var(--orange-deep); }
.contact-quick { background: var(--darkest); color: #d9d0ec; border: 0; }
.contact-quick h3 { color: #fff; }
.contact-quick a { color: var(--orange); }

/* ---------- Footer ---------- */
.site-footer { background: var(--darkest); color: #b7a9d6; margin-top: 96px; }
.footer-main { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-block: 64px 40px; }
.footer-main .f-brand img { height: 44px; width: auto; margin-bottom: 18px; }
.footer-main .f-brand p { font-size: .92rem; max-width: 280px; }
.f-social { display: flex; gap: 12px; margin-top: 20px; }
.f-social a {
  width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center;
  background: rgba(255, 255, 255, .07); transition: background .18s;
}
.f-social a:hover { background: var(--orange); }
.f-social svg { width: 17px; height: 17px; stroke: #fff; fill: none; }
.footer-main h4 { color: #fff; font-size: .95rem; margin-bottom: 18px; letter-spacing: .04em; }
html[lang="en"] .footer-main h4 { text-transform: uppercase; font-family: var(--font-en-body); }
.footer-main li { margin-bottom: 10px; }
.footer-main li a { font-size: .92rem; transition: color .18s; }
.footer-main li a:hover { color: var(--orange); }
.footer-legal {
  border-top: 1px solid rgba(255, 255, 255, .1); padding-block: 20px;
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  font-size: .8rem; color: #8d7fb0;
}
.footer-legal bdi { unicode-bidi: isolate; }

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed; bottom: 26px; inset-inline-start: 26px; z-index: 90;
  width: 60px; height: 60px; border-radius: 50%; background: var(--wa);
  display: grid; place-items: center; box-shadow: 0 6px 20px rgba(0, 0, 0, .22);
  transition: transform .2s;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 1023px) {
  .hero .container { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { height: 380px; max-width: 540px; width: 100%; }
  .cards-grid, .work-grid, .product-grid { grid-template-columns: 1fr 1fr; }
  .product-flag { grid-column: 1 / -1; grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .stats-band { grid-template-columns: 1fr 1fr; gap: 40px 24px; }
  .stat:nth-child(3)::before { display: none; }
  .contact-wrap { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .nav-links, .nav-cta .btn-header { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open {
    display: flex; flex-direction: column; align-items: stretch;
    position: absolute; top: 100%; inset-inline: 0; background: var(--white);
    padding: 18px 24px 26px; box-shadow: var(--shadow-lg); gap: 4px;
    border-bottom: 1px solid var(--line);
  }
  .nav-links.open a { padding: 14px 16px; font-size: 1.1rem; }
  .topbar .tb-contacts { gap: 14px; }
  .topbar .tb-mail { display: none; }
}
@media (max-width: 640px) {
  .section { padding-block: 64px; }
  .hero .container { padding-block: 72px 130px; gap: 40px; }
  .hero-visual { height: 300px; }
  .hv-chip { font-size: .8rem; }
  .cards-grid, .work-grid, .product-grid, .why-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .trust-card { padding: 28px 22px 24px; }
  .trust-logos img { height: 34px; }
  .stats-band { grid-template-columns: 1fr 1fr; padding: 40px 24px; }
  .stat + .stat::before { display: none; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-legal { justify-content: center; text-align: center; }
  .wa-float { width: 54px; height: 54px; bottom: 18px; inset-inline-start: 18px; }
}
