/* =========================================================
   Arba Information Technology Solutions — site styles (LTR + RTL)
   ========================================================= */
:root {
  --navy: #0B2545;
  --navy-2: #13315C;
  --teal: #13A89E;
  --teal-d: #0E8A82;
  --gold: #E0A526;
  --ink: #142235;
  --muted: #5B6B7F;
  --line: #E3E8EF;
  --bg: #FFFFFF;
  --bg-soft: #F4F7FA;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(11, 37, 69, .08);
  --shadow-lg: 0 24px 60px rgba(11, 37, 69, .18);
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}
.lang-ar { --font: "Cairo", "Segoe UI", Tahoma, sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth; scroll-padding-top: 84px;
  /* Always reserve the scrollbar's space so short and long pages have the same width
     (stops the layout jumping sideways when moving between pages) */
  overflow-y: scroll;
  scrollbar-gutter: stable;
}
body {
  margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg);
  font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased;
}
.lang-ar body, body.lang-ar { line-height: 1.8; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .6em; color: var(--navy); }
h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); font-weight: 800; letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 800; letter-spacing: -.015em; }
h3 { font-size: 1.15rem; font-weight: 700; }
.lang-ar h1, .lang-ar h2 { letter-spacing: 0; line-height: 1.4; }
p { margin: 0 0 1em; }
.lead { font-size: 1.1rem; color: var(--muted); }
.container { width: min(1180px, 100% - 32px); margin-inline: auto; }
.ico { flex-shrink: 0; }
[dir="rtl"] .btn .ico, [dir="rtl"] .more .ico { transform: scaleX(-1); }

.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--teal); margin-bottom: .8rem;
}
.lang-ar .eyebrow { letter-spacing: 0; font-size: .95rem; }
.eyebrow.light { color: var(--gold); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem; justify-content: center;
  padding: .85rem 1.4rem; border-radius: 999px; font-weight: 700; font-size: .98rem;
  border: 2px solid transparent; cursor: pointer; transition: .2s ease; font-family: inherit;
}
.btn-sm { padding: .55rem 1.1rem; font-size: .9rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--teal); }
.btn-accent { background: var(--gold); color: var(--navy); }
.btn-accent:hover { background: #F0B83A; transform: translateY(-2px); }
.btn-ghost { border-color: rgba(255,255,255,.35); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.1); border-color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: .2s;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 4px 20px rgba(11,37,69,.06); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand img { height: 46px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 1.6rem; font-weight: 600; font-size: .95rem; }
.nav-links > a:not(.btn) { color: var(--ink); position: relative; }
.nav-links > a:not(.btn):hover { color: var(--teal); }
.lang-switch { display: inline-flex; align-items: center; gap: .35rem; color: var(--teal) !important; }
.lang-en .lang-switch { font-family: "Cairo", sans-serif; }
.lang-ar .lang-switch { font-family: "Plus Jakarta Sans", sans-serif; }
.nav-toggle { display: none; background: none; border: 0; color: var(--navy); cursor: pointer; padding: 8px; }

/* ---------- Hero ---------- */
.hero, .page-hero { position: relative; color: #fff; overflow: hidden; background: var(--navy); }
.hero { padding: 80px 0 0; }
.hero-bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(600px 400px at 85% 10%, rgba(19,168,158,.35), transparent 60%),
    radial-gradient(500px 300px at 0% 100%, rgba(224,165,38,.18), transparent 60%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%);
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0; opacity: .08;
  background-image:
    linear-gradient(45deg, #fff 1px, transparent 1px),
    linear-gradient(-45deg, #fff 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, #000, transparent 85%);
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 85%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; }
.hero h1 { color: #fff; }
.hero h1 span { color: var(--gold); }
.hero .lead { color: rgba(255,255,255,.8); max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }

.hero-visual { position: relative; height: 380px; }
.panel {
  position: absolute; background: #fff; color: var(--ink); border-radius: 18px; box-shadow: var(--shadow-lg);
}
.panel-main { inset: 20px 0 30px 30px; padding: 18px 20px; }
[dir="rtl"] .panel-main { inset: 20px 30px 30px 0; }
.panel-head { display: flex; gap: 6px; margin-bottom: 16px; }
.panel-head span { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.panel-head span:first-child { background: var(--gold); }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.kpi { background: var(--bg-soft); border-radius: 12px; padding: 12px; display: grid; gap: 2px; }
.kpi .ico { color: var(--teal); }
.kpi b { font-size: 1.25rem; color: var(--navy); }
.kpi small { color: var(--muted); font-size: .75rem; }
.bars { display: flex; align-items: flex-end; gap: 10px; height: 150px; margin-top: 18px; padding: 0 4px; border-bottom: 2px solid var(--line); }
.bars i { flex: 1; height: var(--h); border-radius: 6px 6px 0 0; background: linear-gradient(to top, var(--teal), #5FD3C9); animation: grow 1.2s cubic-bezier(.2,.8,.2,1) both; transform-origin: bottom; }
.bars i:nth-child(6) { background: linear-gradient(to top, #C98E16, var(--gold)); }
@keyframes grow { from { transform: scaleY(0); } }
.panel-float { display: flex; align-items: center; gap: .6rem; padding: .7rem 1rem; font-weight: 600; font-size: .9rem; animation: floaty 5s ease-in-out infinite; }
.panel-float .ico { color: var(--teal); }
.panel-a { top: 0; inset-inline-end: -10px; }
.panel-b { bottom: 0; inset-inline-start: 0; animation-delay: -2.5s; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: #22C55E; box-shadow: 0 0 0 4px rgba(34,197,94,.2); }
@keyframes floaty { 50% { transform: translateY(-8px); } }

.stats {
  position: relative; display: grid; grid-template-columns: repeat(3, 1fr);
  margin-top: 64px; border-top: 1px solid rgba(255,255,255,.15);
}
.stat { padding: 26px 24px; display: flex; align-items: center; gap: 1rem; }
.stat + .stat { border-inline-start: 1px solid rgba(255,255,255,.15); }
.stat b { font-size: 1.6rem; color: var(--gold); white-space: nowrap; }
.stat span { color: rgba(255,255,255,.8); font-size: .92rem; line-height: 1.4; }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-tight { padding: 0 0 72px; }
.section-head { max-width: 720px; margin: 0 auto 3rem; text-align: center; }
.h-small { font-size: 1.4rem; margin-bottom: 1.2rem; }

.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service-card {
  display: flex; flex-direction: column; padding: 28px 24px; border-radius: var(--radius);
  border: 1px solid var(--line); background: #fff; transition: .25s ease; position: relative; overflow: hidden;
}
.service-card::before {
  content: ""; position: absolute; inset-inline-start: 0; top: 0; width: 100%; height: 4px;
  background: linear-gradient(90deg, var(--teal), var(--gold)); transform: scaleX(0); transform-origin: left; transition: .3s;
}
[dir="rtl"] .service-card::before { transform-origin: right; }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.service-card:hover::before { transform: scaleX(1); }
.service-card p { color: var(--muted); font-size: .95rem; flex: 1; }
.service-icon {
  width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 1.2rem;
  background: rgba(19,168,158,.1); color: var(--teal); transition: .25s;
}
.service-card:hover .service-icon { background: var(--navy); color: var(--gold); }
.service-icon.big { width: 76px; height: 76px; border-radius: 20px; background: rgba(255,255,255,.12); color: var(--gold); margin: 0; }
.more { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; color: var(--teal); font-size: .9rem; }
.service-card.is-soon { cursor: default; background: var(--bg-soft); border-style: dashed; }
.service-card.is-soon:hover { transform: none; box-shadow: none; border-color: var(--line); }
.service-card.is-soon:hover::before { transform: scaleX(0); }
.service-card.is-soon .service-icon { background: rgba(224,165,38,.14); color: #B07D10; }
.service-card.is-soon:hover .service-icon { background: rgba(224,165,38,.14); color: #B07D10; }
.service-card.is-soon h3, .service-card.is-soon p { opacity: .75; }
.soon-badge {
  position: absolute; top: 18px; inset-inline-end: 18px; padding: .2rem .7rem; border-radius: 999px;
  background: var(--gold); color: var(--navy); font-size: .75rem; font-weight: 800; letter-spacing: .02em;
}
.services-grid.compact { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.services-grid.compact .service-card { flex-direction: row; align-items: center; gap: 1rem; padding: 18px; }
.services-grid.compact .service-icon { margin: 0; width: 44px; height: 44px; }
.services-grid.compact h3 { margin: 0; font-size: 1rem; }

/* About / pillars */
.about { background: var(--bg-soft); }
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 4rem; align-items: center; }
.about-mark { color: var(--navy); margin-top: 2rem; opacity: .95; }
.pillars { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.pillar { background: #fff; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); position: relative; }
.pillar:nth-child(1) { border-top: 4px solid var(--gold); }
.pillar:nth-child(2), .pillar:nth-child(3) { border-top: 4px solid var(--teal); }
.pillar:nth-child(4) { border-top: 4px solid var(--navy); }
.pillar-num { position: absolute; top: 18px; inset-inline-end: 22px; font-weight: 800; font-size: 1.8rem; color: var(--line); }
.pillar-icon { color: var(--teal); display: block; margin-bottom: .8rem; }
.pillar p { color: var(--muted); font-size: .95rem; margin: 0; }

/* Process */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: s; position: relative; }
.steps::before { content: ""; position: absolute; top: 26px; inset-inline: 12% 12%; height: 2px; background: repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 14px); }
.step { text-align: center; position: relative; }
.step-num {
  width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 1rem;
  background: var(--navy); color: #fff; font-weight: 800; font-size: 1.2rem; position: relative; box-shadow: 0 0 0 8px #fff;
}
.step:nth-child(1) .step-num { background: var(--gold); color: var(--navy); }
.step p { color: var(--muted); font-size: .95rem; }

/* CTA */
.cta-band { padding: 0 0 96px; }
.cta-inner {
  background: linear-gradient(120deg, var(--teal-d), var(--teal)); color: #fff; border-radius: 24px;
  padding: 48px 56px; display: flex; align-items: center; justify-content: space-between; gap: 2rem;
  position: relative; overflow: hidden;
}
.cta-inner::after {
  content: ""; position: absolute; width: 260px; height: 260px; inset-inline-end: -60px; top: -80px;
  background: rgba(255,255,255,.08); transform: rotate(45deg); border-radius: 30px;
}
.cta-inner h2 { color: #fff; margin-bottom: .3rem; }
.cta-inner p { margin: 0; opacity: .9; }
.cta-inner .btn { position: relative; z-index: 1; flex-shrink: 0; }

/* Contact */
.contact { background: var(--bg-soft); }
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 4rem; align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 1.1rem; }
.contact-list li { display: flex; gap: 1rem; align-items: center; }
.contact-list small { display: block; color: var(--muted); font-size: .8rem; }
.contact-list a, .contact-list span:not(.ci) { font-weight: 700; color: var(--navy); }
.ci { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: #fff; color: var(--teal); box-shadow: var(--shadow); }
.card { background: #fff; border-radius: 20px; padding: 32px; box-shadow: var(--shadow); }
.contact-form { display: grid; gap: 1rem; }
.contact-form label { display: grid; gap: .35rem; font-weight: 600; font-size: .9rem; color: var(--navy); }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
input, select, textarea {
  width: 100%; font: inherit; font-weight: 400; color: var(--ink); background: var(--bg-soft);
  border: 1.5px solid var(--line); border-radius: 12px; padding: .75rem .9rem; transition: .15s;
}
[dir="rtl"] input[dir="ltr"] { text-align: right; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--teal); background: #fff; box-shadow: 0 0 0 4px rgba(19,168,158,.12); }
textarea { resize: vertical; }
.hp { position: absolute !important; width: 1px; height: 1px; padding: 0; border: 0; overflow: hidden; clip-path: inset(50%); opacity: 0; pointer-events: none; }
.contact-form { position: relative; }
.alert { padding: .9rem 1.1rem; border-radius: 12px; font-weight: 600; font-size: .95rem; }
.alert-success { background: #E7F7EF; color: #12643B; border: 1px solid #B9E6CC; }
.alert-error { background: #FDECEC; color: #9B1C1C; border: 1px solid #F5C2C2; }

/* Field validation */
.req { color: #D92D20; font-weight: 700; }
form label { align-content: start; }
input.is-invalid, select.is-invalid, textarea.is-invalid {
  border-color: #D92D20; background: #FFF6F5;
}
input.is-invalid:focus, select.is-invalid:focus, textarea.is-invalid:focus {
  border-color: #D92D20; box-shadow: 0 0 0 4px rgba(217, 45, 32, .12);
}
.field-error {
  display: flex; align-items: center; gap: .35rem; color: #B42318; font-size: .82rem; font-weight: 600;
  animation: errIn .2s ease;
}
.field-error::before {
  content: "!"; display: inline-grid; place-items: center; width: 16px; height: 16px; border-radius: 50%;
  background: #D92D20; color: #fff; font-size: .7rem; font-weight: 800; flex-shrink: 0;
}
@keyframes errIn { from { opacity: 0; transform: translateY(-3px); } }

/* Password strength meter */
.pw-meter { --pw: #CBD3DD; display: grid; gap: .45rem; margin-top: .15rem; font-weight: 400; }
.pw-meter.is-weak    { --pw: #D92D20; }
.pw-meter.is-medium  { --pw: #E0A526; }
.pw-meter.is-strong  { --pw: #13A89E; }
.pw-meter.is-vstrong { --pw: #0E8A5F; }
.pw-bar { height: 8px; border-radius: 999px; background: #E6EBF1; overflow: hidden; }
.pw-bar span { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--pw); transition: width .3s ease, background-color .3s ease; }
.pw-label { display: flex; justify-content: space-between; font-size: .8rem; }
.pw-level { font-weight: 800; color: var(--pw); }
.pw-meter:not([class*="is-"]) .pw-level { color: var(--muted); font-weight: 600; }
.pw-rules { list-style: none; margin: 0; padding: 0; display: grid; gap: .25rem; font-size: .8rem; color: var(--muted); }
.pw-rules li { display: flex; align-items: center; gap: .45rem; transition: color .2s; }
.pw-rules li::before {
  content: ""; width: 14px; height: 14px; border-radius: 50%; flex-shrink: 0;
  border: 1.5px solid #B8C2CE; background: #fff center / 9px no-repeat;
}
.pw-rules li.ok { color: #0E7A55; }
.pw-rules li.ok::before {
  border-color: #13A89E; background-color: #13A89E;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E");
}

/* Service detail */
.page-hero { padding: 56px 0 64px; }
.page-hero .container { position: relative; }
.page-hero h1 { color: #fff; margin-bottom: .3rem; }
.page-hero .lead { color: rgba(255,255,255,.8); margin: 0; }
.page-hero-row { display: flex; gap: 1.6rem; align-items: center; }
.crumb { display: inline-flex; align-items: center; gap: .4rem; color: rgba(255,255,255,.75); font-weight: 600; font-size: .9rem; margin-bottom: 1.6rem; }
.crumb .ico { transform: scaleX(-1); }
[dir="rtl"] .crumb .ico { transform: none; }
.crumb:hover { color: var(--gold); }
.detail-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 3rem; align-items: start; }
.detail-text { font-size: 1.12rem; color: var(--ink); margin-bottom: 2rem; }
.features { list-style: none; padding: 0; margin: 0; display: grid; gap: .8rem; }
.features li { display: flex; gap: .7rem; align-items: flex-start; }
.features li span { width: 26px; height: 26px; border-radius: 50%; background: rgba(19,168,158,.12); color: var(--teal); display: grid; place-items: center; flex-shrink: 0; margin-top: 1px; }
.features-card { border-top: 4px solid var(--gold); }

/* Footer */
.site-footer { background: var(--navy); color: rgba(255,255,255,.75); padding: 72px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1.3fr; gap: 2.5rem; }
.site-footer img { height: 52px; width: auto; }
.footer-about { margin-top: 1.2rem; font-size: .95rem; max-width: 320px; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; font-size: .95rem; }
.site-footer a:hover { color: var(--gold); }
.footer-contact li { display: flex; gap: .6rem; align-items: center; }
.footer-contact .ico { color: var(--teal); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 56px; padding: 22px 0; font-size: .88rem; }

.wa-float {
  position: fixed; bottom: 22px; inset-inline-end: 22px; z-index: 60; width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 25px rgba(37,211,102,.4); transition: .2s;
}
.wa-float:hover { transform: scale(1.08); }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; transition-delay: var(--d, 0ms); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .bars i, .panel-float { animation: none; }
  html { scroll-behavior: auto; }
}
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1060px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { gap: 1.1rem; }
}
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 76px; inset-inline: 0; background: #fff; flex-direction: column; align-items: stretch;
    gap: 0; padding: .5rem 16px 1rem; border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px rgba(11,37,69,.08);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links > a { padding: .85rem 0; border-bottom: 1px solid var(--line); }
  .nav-links > a.btn { margin-top: .8rem; border: 0; }
  .hero-grid, .about-grid, .contact-grid, .detail-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-visual { height: 340px; }
  .stats { grid-template-columns: 1fr; margin-top: 40px; }
  .stat + .stat { border-inline-start: 0; border-top: 1px solid rgba(255,255,255,.15); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 2.5rem; }
  .steps::before { display: none; }
  .cta-inner { flex-direction: column; align-items: flex-start; padding: 36px 28px; }
  .about-mark { display: none; }
}
@media (max-width: 600px) {
  .section { padding: 72px 0; }
  .services-grid, .pillars, .row-2, .footer-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .brand img { height: 38px; }
  .hero { padding-top: 48px; }
  .hero-visual { height: 300px; }
  .panel-main { inset: 30px 0 34px 0 !important; padding: 14px; }
  .kpi { padding: 8px; }
  .kpi b { font-size: 1rem; }
  .bars { height: 80px; margin-top: 12px; }
  .card { padding: 22px; }
  .page-hero-row { flex-direction: column; align-items: flex-start; }
}

/* =========================================================
   Cookie banner, preferences window, Privacy Policy page
   ========================================================= */
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .6rem 1.5rem; }
.legal-links { display: flex; gap: 1.4rem; flex-wrap: wrap; }
.legal-links a { color: rgba(255,255,255,.8); text-decoration: underline; text-underline-offset: 3px; }
.legal-links a:hover { color: var(--gold); }

.ck-banner {
  position: fixed; inset-inline: 16px; bottom: 16px; z-index: 80; margin-inline: auto; max-width: 1040px;
  background: rgba(11, 37, 69, .94); color: #fff; border-radius: 20px; box-shadow: 0 24px 60px rgba(0,0,0,.35);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid rgba(255,255,255,.08);
  animation: ckUp .45s cubic-bezier(.2,.8,.2,1) both;
}
@keyframes ckUp { from { transform: translateY(30px); opacity: 0; } }
.ck-banner.is-hiding { animation: ckDown .3s ease forwards; }
@keyframes ckDown { to { transform: translateY(30px); opacity: 0; } }
.ck-inner { padding: 28px 34px 26px; }
.ck-banner h2 { color: #fff; font-size: 1.4rem; margin: 0 0 .7rem; }
.ck-banner p { color: rgba(255,255,255,.85); font-size: .97rem; margin: 0 0 1.4rem; max-width: 900px; }
.ck-banner p a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.ck-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.ck-btn {
  min-width: 200px; padding: .9rem 1.6rem; border-radius: 999px; border: 0; cursor: pointer; font: inherit; font-weight: 700;
  background: rgba(255,255,255,.16); color: #fff; transition: .2s;
}
.ck-btn:hover { background: rgba(255,255,255,.26); }
.ck-btn[value="accept"] { background: var(--gold); color: var(--navy); }
.ck-btn[value="accept"]:hover { background: #F0B83A; }
.ck-manage { margin-inline-start: auto; color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.ck-manage:hover { color: var(--gold); }
body.has-ck-banner .wa-float { bottom: 200px; }

.ck-dialog {
  width: min(520px, calc(100% - 32px)); border: 0; border-radius: 20px; padding: 26px 28px 28px;
  box-shadow: 0 30px 80px rgba(0,0,0,.35); color: var(--ink);
}
.ck-dialog::backdrop { background: rgba(11, 37, 69, .55); backdrop-filter: blur(3px); }
.ck-dialog-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.ck-dialog h2 { font-size: 1.3rem; margin: 0; }
.ck-x { background: var(--bg-soft); border: 0; width: 36px; height: 36px; border-radius: 50%; font-size: 1.4rem; line-height: 1; cursor: pointer; color: var(--navy); }
.ck-x:hover { background: var(--line); }
.ck-dialog-text { color: var(--muted); font-size: .92rem; margin: .6rem 0 1.2rem; }
.ck-prefs { display: grid; gap: 12px; }
.ck-cat { border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; }
.ck-cat-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; color: var(--navy); }
.ck-cat p { margin: .35rem 0 0; color: var(--muted); font-size: .88rem; }
.ck-always { font-size: .78rem; font-weight: 800; color: var(--teal-d); background: rgba(19,168,158,.12); padding: .2rem .65rem; border-radius: 999px; }
.ck-toggle-row { cursor: pointer; }
.ck-switch { position: relative; width: 46px; height: 26px; flex-shrink: 0; }
.ck-switch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; z-index: 1; }
.ck-switch span { position: absolute; inset: 0; border-radius: 999px; background: #CBD3DD; transition: .2s; }
.ck-switch span::after { content: ""; position: absolute; top: 3px; inset-inline-start: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: .2s; }
.ck-switch input:checked + span { background: var(--teal); }
.ck-switch input:checked + span::after { transform: translateX(20px); }
[dir="rtl"] .ck-switch input:checked + span::after { transform: translateX(-20px); }
.ck-switch input:focus-visible + span { box-shadow: 0 0 0 4px rgba(19,168,158,.25); }
.ck-prefs .btn { justify-self: start; margin-top: 4px; }

.ck-toast {
  position: fixed; bottom: 24px; left: 50%; transform: translate(-50%, 20px); z-index: 90; opacity: 0; pointer-events: none;
  background: var(--navy); color: #fff; padding: .8rem 1.3rem; border-radius: 999px; font-weight: 600; font-size: .92rem;
  box-shadow: 0 12px 30px rgba(0,0,0,.25); transition: .3s;
}
.ck-toast.show { opacity: 1; transform: translate(-50%, 0); }

/* Privacy Policy page */
.page-hero .container > h1 { margin-top: .2rem; }
.policy-grid { display: grid; grid-template-columns: 260px 1fr; gap: 3.5rem; align-items: start; }
.policy-toc { position: sticky; top: 100px; }
.policy-toc ol { margin: 0; padding-inline-start: 1.2rem; display: grid; gap: .55rem; color: var(--muted); font-size: .92rem; font-weight: 600; }
.policy-toc a:hover { color: var(--teal); }
.policy-body { max-width: 760px; }
.policy-body h2 { font-size: 1.35rem; margin: 2.2rem 0 .7rem; scroll-margin-top: 100px; }
.policy-body p, .policy-body li { color: #33445A; }
.policy-body ul { padding-inline-start: 1.2rem; display: grid; gap: .35rem; }
.policy-body a { color: var(--teal-d); text-decoration: underline; }
.policy-table { width: 100%; border-collapse: collapse; margin: .6rem 0 1rem; font-size: .9rem; }
.policy-table th, .policy-table td { border-bottom: 1px solid var(--line); padding: .65rem .7rem; text-align: start; vertical-align: top; }
.policy-table th { background: var(--bg-soft); color: var(--navy); font-size: .82rem; }
.policy-choices { margin-top: 2.5rem; scroll-margin-top: 100px; }
.policy-choices h2 { margin-top: 0; }

@media (max-width: 900px) {
  .policy-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .policy-toc { position: static; }
  .policy-table { display: block; overflow-x: auto; }
}
@media (max-width: 600px) {
  .ck-inner { padding: 22px 20px 20px; }
  .ck-banner h2 { font-size: 1.2rem; }
  .ck-banner p { font-size: .9rem; margin-bottom: 1rem; }
  .ck-btn { min-width: 0; flex: 1; padding: .8rem 1rem; }
  .ck-manage { margin: .2rem auto 0; width: 100%; text-align: center; }
  body.has-ck-banner .wa-float { display: none; }
}

/* =========================================================
   Maintenance mode — lightbox for visitors, reminder bar for the team
   ========================================================= */
.mt-bar {
  position: relative; z-index: 70; display: flex; justify-content: center; align-items: center; gap: .4rem 1.2rem; flex-wrap: wrap;
  background: #FFF4DB; color: #6B4700; border-bottom: 1px solid #F2D58E; padding: .55rem 16px; font-size: .88rem; font-weight: 600; text-align: center;
}
.mt-bar span { display: inline-flex; align-items: center; gap: .45rem; }
.mt-bar a { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; font-weight: 700; }
/* (the maintenance popup's own styles live inside maintenance.php) */

/* ---------- Country selector (header) + country field (contact form) ---------- */
.flag { flex: none; border-radius: 3px; box-shadow: 0 0 0 1px rgba(11, 37, 69, .14); display: block; }
.country-pick { position: relative; }
.country-pick summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: .45rem; padding: .4rem .7rem; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); font-weight: 600; font-size: .9rem; background: #fff; transition: border-color .15s; }
.country-pick summary::-webkit-details-marker { display: none; }
.country-pick summary:hover, .country-pick[open] summary { border-color: var(--teal); }
.country-pick .chev { transition: transform .2s; color: var(--muted); }
.country-pick[open] .chev { transform: rotate(180deg); }
.country-menu { position: absolute; top: calc(100% + 8px); inset-inline-end: 0; z-index: 60; min-width: 230px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); padding: .5rem; display: grid; gap: .2rem; }
.country-menu small { color: var(--muted); font-weight: 600; padding: .3rem .6rem .4rem; font-size: .78rem; }
.country-menu a { display: flex; align-items: center; gap: .65rem; padding: .6rem .65rem; border-radius: 10px; color: var(--ink); font-weight: 600; }
.country-menu a:hover { background: var(--bg-soft); }
.country-menu a.on { background: #E6F6F5; color: var(--teal-d); }
.country-menu a em { margin-inline-start: auto; font-style: normal; color: var(--muted); font-size: .82rem; font-weight: 500; }
.country-field { border: 0; padding: 0; margin: 0 0 1rem; min-width: 0; }
.country-field legend { padding: 0; margin-bottom: .45rem; font-weight: 600; font-size: .92rem; color: var(--navy); }
.country-opts { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
.country-opt { position: relative; cursor: pointer; margin: 0 !important; }
.country-opt input { position: absolute; opacity: 0; pointer-events: none; }
.country-opt > span { display: flex; align-items: center; gap: .6rem; padding: .75rem .9rem; border: 1.5px solid var(--line); border-radius: 12px; background: var(--bg-soft); transition: border-color .15s, background .15s, box-shadow .15s; }
.country-opt b { color: var(--ink); font-weight: 700; }
.country-opt em { margin-inline-start: auto; font-style: normal; color: var(--muted); font-size: .82rem; }
.country-opt:hover > span { border-color: var(--teal); }
.country-opt input:checked + span { border-color: var(--teal); background: #E6F6F5; box-shadow: 0 0 0 3px rgba(19, 168, 158, .15); }
.country-opt input:focus-visible + span { outline: 3px solid var(--teal); outline-offset: 2px; }
@media (max-width: 900px) {
  .country-pick { padding: .7rem 0; border-bottom: 1px solid var(--line); }
  .country-menu { position: static; box-shadow: none; margin-top: .6rem; min-width: 0; }
}
@media (max-width: 420px) { .country-opts { grid-template-columns: 1fr; } }

/* ---------- Who we are (independent IT solutions provider) ---------- */
.intro-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 4rem; align-items: center; }
.intro-copy h2 { margin-bottom: 1rem; }
.intro-copy p:not(.lead) { color: var(--muted); }
.intro-tags { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1.4rem; }
.intro-tags span { display: inline-flex; align-items: center; gap: .4rem; padding: .4rem .85rem; border-radius: 999px; background: #E6F6F5; color: var(--teal-d); font-weight: 700; font-size: .85rem; }
.intro-points { list-style: none; margin: 0; padding: 28px; display: grid; gap: 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.intro-points li { display: flex; gap: .9rem; align-items: flex-start; }
.intro-points li + li { padding-top: 18px; border-top: 1px solid var(--line); }
.intro-check { flex: none; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--navy); color: #fff; }
.intro-points b { display: block; color: var(--navy); font-size: 1.02rem; }
.intro-points p { margin: .15rem 0 0; color: var(--muted); font-size: .93rem; }
@media (max-width: 900px) { .intro-grid { grid-template-columns: 1fr; gap: 2rem; } }

/* =========================================================
   v31 — professional polish (top bar, industries, plans, FAQ, footer)
   ========================================================= */
.section { padding: 88px 0; }
.section-soft { background: var(--bg-soft); }
.intro { padding-bottom: 72px; }
.section-head { margin-bottom: 2.6rem; }
.section-head .lead { max-width: 640px; margin-inline: auto; }
.eyebrow { display: inline-flex; align-items: center; gap: .55rem; }
.eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: currentColor; opacity: .7; }
.section-head .eyebrow::after { content: ""; width: 22px; height: 2px; border-radius: 2px; background: currentColor; opacity: .7; }
.lead { color: var(--muted); }

/* ---- top info bar ---- */
.topbar-info { background: #081C36; color: rgba(255,255,255,.78); font-size: .82rem; }
.tb-inner { display: flex; align-items: center; gap: 1.6rem; min-height: 38px; flex-wrap: wrap; }
.tb-item { display: inline-flex; align-items: center; gap: .45rem; white-space: nowrap; }
.tb-item svg { color: var(--teal); }
a.tb-item:hover { color: #fff; }
.tb-serve { margin-inline-start: auto; gap: .7rem; }
.tb-flag { display: inline-flex; align-items: center; gap: .35rem; font-weight: 600; color: #fff; }
.tb-flag .flag { box-shadow: none; }

/* ---- header ---- */
.nav-links > a:not(.btn)::after { content: ""; position: absolute; inset-inline: 0; bottom: -6px; height: 2px; border-radius: 2px; background: var(--teal); transform: scaleX(0); transition: transform .2s; }
.nav-links > a:not(.btn):hover::after { transform: scaleX(1); }
.nav-links { gap: 1.35rem; }

/* ---- hero ---- */
.hero-trust { list-style: none; padding: 0; margin: 1.6rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; }
.hero-trust li { display: inline-flex; align-items: center; gap: .45rem; color: rgba(255,255,255,.82); font-size: .9rem; font-weight: 500; }
.hero-trust svg { color: var(--gold); flex: none; }
.panel-head { align-items: center; }
.panel-title { margin-inline-start: .6rem; font-size: .82rem; color: var(--navy); font-weight: 700; }
.panel-chip { margin-inline-start: auto; font-style: normal; font-size: .72rem; font-weight: 700; color: var(--teal-d); background: rgba(19,168,158,.1); padding: .2rem .55rem; border-radius: 999px; }
.panel-head span { flex: none; }

/* ---- service cards ---- */
.services-grid { gap: 18px; }
.service-card { box-shadow: 0 1px 2px rgba(16,24,40,.04); }
.section-soft .service-card { background: #fff; }
.service-icon { background: linear-gradient(135deg, rgba(19,168,158,.14), rgba(19,168,158,.06)); }

/* ---- industries ---- */
.ind-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.ind-card { display: flex; gap: 1rem; align-items: flex-start; padding: 22px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: .25s; }
.ind-card:hover { border-color: rgba(19,168,158,.4); box-shadow: var(--shadow); transform: translateY(-3px); }
.ind-icon { flex: none; width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--navy); color: var(--gold); }
.ind-card h3 { font-size: 1.02rem; margin: .1rem 0 .3rem; }
.ind-card p { margin: 0; color: var(--muted); font-size: .92rem; line-height: 1.55; }

/* ---- plans ---- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 30px 28px; border-radius: 20px; background: #fff; border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(16,24,40,.04); }
.plan.is-featured { background: linear-gradient(165deg, #0B2545, #12406E); border-color: transparent; color: rgba(255,255,255,.82); box-shadow: var(--shadow-lg); transform: translateY(-8px); }
.plan.is-featured h3 { color: #fff; }
.plan-tag { align-self: flex-start; font-size: .74rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--teal-d); background: rgba(19,168,158,.1); padding: .28rem .7rem; border-radius: 999px; margin-bottom: 1.2rem; }
.plan.is-featured .plan-tag { background: var(--gold); color: var(--navy); }
.plan-icon { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: rgba(19,168,158,.1); color: var(--teal); margin-bottom: 1rem; }
.plan.is-featured .plan-icon { background: rgba(255,255,255,.1); color: var(--gold); }
.plan h3 { font-size: 1.35rem; margin-bottom: .4rem; }
.plan > p { margin: 0 0 1.2rem; color: var(--muted); font-size: .95rem; }
.plan.is-featured > p { color: rgba(255,255,255,.75); }
.plan ul { list-style: none; padding: 1.1rem 0 0; margin: 0 0 1.6rem; display: grid; gap: .7rem; border-top: 1px solid var(--line); flex: 1; }
.plan.is-featured ul { border-color: rgba(255,255,255,.14); }
.plan li { display: flex; gap: .6rem; align-items: flex-start; font-size: .93rem; }
.plan li svg { flex: none; margin-top: .25rem; color: var(--teal); }
.plan.is-featured li svg { color: var(--gold); }
.btn-outline { background: transparent; border: 1.5px solid var(--navy); color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }

/* ---- FAQ ---- */
.faq-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 4rem; align-items: start; }
.faq-head { position: sticky; top: 110px; }
.faq-more { margin-top: 1.6rem; padding: 22px; border-radius: var(--radius); background: var(--bg-soft); display: grid; gap: .8rem; justify-items: start; }
.faq-more b { color: var(--navy); }
.faq-more .btn { display: inline-flex; align-items: center; gap: .5rem; }
.faq-list { display: grid; gap: 12px; }
.faq { border: 1px solid var(--line); border-radius: 14px; background: #fff; transition: border-color .2s, box-shadow .2s; }
.faq[open] { border-color: rgba(19,168,158,.45); box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 18px 22px; font-weight: 700; color: var(--navy); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-soft); color: var(--teal-d); transition: transform .25s, background .2s; }
.faq[open] summary i { transform: rotate(45deg); background: var(--teal); color: #fff; }
.faq p { margin: 0; padding: 0 22px 20px; color: var(--muted); font-size: .96rem; }

/* ---- contact ---- */
.contact-badge { display: inline-flex; align-items: center; gap: .5rem; margin: -.4rem 0 1.4rem; padding: .35rem .8rem; border-radius: 999px; background: #E7F7EF; color: #12643B; font-weight: 700; font-size: .84rem; }
.contact-badge i { width: 8px; height: 8px; border-radius: 50%; background: #22C55E; box-shadow: 0 0 0 4px rgba(34,197,94,.2); }

/* ---- footer ---- */
.site-footer { background: linear-gradient(180deg, #0B2545, #081C36); }
.footer-regions { margin-top: 1.4rem; display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .9rem; }
.footer-regions small { width: 100%; color: rgba(255,255,255,.55); font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; }
.footer-regions span { display: inline-flex; align-items: center; gap: .45rem; font-weight: 600; color: #fff; }
.footer-cta { margin-top: 1.2rem; display: inline-flex; gap: .4rem; align-items: center; }
.site-footer .footer-cta:hover { color: var(--navy); }
.footer-bottom { align-items: center; }
.to-top { display: inline-flex; align-items: center; gap: .35rem; font-size: .85rem; color: rgba(255,255,255,.7); margin-inline-start: auto; margin-inline-end: 1.4rem; }
.to-top:hover { color: var(--gold); }

@media (max-width: 1060px) {
  .ind-grid { grid-template-columns: repeat(2, 1fr); }
  .tb-item:nth-child(3) { display: none; }
}
@media (max-width: 900px) {
  .topbar-info { display: none; }
  .plans { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .plan.is-featured { transform: none; }
  .faq-grid { grid-template-columns: 1fr; gap: 2rem; }
  .faq-head { position: static; }
  .nav-links > a:not(.btn)::after { display: none; }
}
@media (max-width: 600px) {
  .section { padding: 64px 0; }
  .ind-grid { grid-template-columns: 1fr; }
  .faq summary { padding: 16px 18px; }
  .faq p { padding: 0 18px 18px; }
  .to-top { margin-inline-start: 0; }
}

/* ============ v41: solutions catalogue (app-store style) ============ */
.apps { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 28px; align-items: start; }
.apps-side { position: sticky; top: 96px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 14px; }
.apps-group + .apps-group { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.apps-group h4 { display: flex; align-items: center; gap: .45rem; margin: 0 0 .55rem; padding: 0 .55rem; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: var(--navy); }
[dir="rtl"] .apps-group h4 { letter-spacing: 0; }
.apps-filter {
  display: flex; align-items: center; gap: .55rem; width: 100%; padding: .48rem .6rem; margin: 1px 0; border: 0; border-radius: 8px;
  background: none; color: var(--text, #334155); font: inherit; font-size: .9rem; text-align: start; cursor: pointer; transition: .15s;
}
.apps-filter span { margin-inline-start: auto; font-size: .78rem; color: var(--muted); font-weight: 600; }
.apps-filter i { width: 10px; height: 10px; border-radius: 3px; background: var(--c); flex: none; }
.apps-filter:hover { background: var(--bg-soft); }
.apps-filter.is-active { background: rgba(19,168,158,.12); color: var(--navy); font-weight: 700; }
.apps-filter.is-active span { color: var(--teal); }
.apps-bar { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.apps-search { flex: 1; display: flex; align-items: center; gap: .6rem; padding: 0 14px; height: 46px; background: #fff; border: 1px solid var(--line); border-radius: 12px; color: var(--muted); transition: .15s; }
.apps-search:focus-within { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(19,168,158,.15); }
.apps-search input { flex: 1; border: 0; outline: 0; background: none; font: inherit; font-size: .95rem; color: var(--navy); min-width: 0; padding: 0; height: auto; box-shadow: none; }
.apps-count { font-size: .88rem; color: var(--muted); white-space: nowrap; }
.apps-count b { color: var(--navy); }
.apps-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(255px, 100%), 1fr)); gap: 14px; }
.app-card {
  display: grid; grid-template-columns: 56px 1fr; grid-template-rows: 1fr auto; column-gap: 14px; row-gap: 12px;
  padding: 16px; background: #fff; border: 1px solid var(--line); border-radius: 14px; color: inherit; transition: .2s ease;
  box-shadow: 0 1px 2px rgba(16,24,40,.04);
}
.app-card[hidden] { display: none; }
a.app-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.app-icon {
  width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; color: #fff;
  background: linear-gradient(140deg, color-mix(in srgb, var(--c) 78%, #fff) 0%, var(--c) 55%, color-mix(in srgb, var(--c) 80%, #000) 100%);
  box-shadow: 0 6px 14px -6px var(--c), inset 0 1px 0 rgba(255,255,255,.35);
}
.app-body { min-width: 0; }
.app-cat { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); margin-bottom: .15rem; }
[dir="rtl"] .app-cat { letter-spacing: 0; }
.app-card h3 { font-size: 1.02rem; margin: 0 0 .3rem; color: var(--navy); line-height: 1.3; }
.app-card p { font-size: .86rem; color: var(--muted); margin: 0; line-height: 1.5; }
.app-foot { grid-column: 1 / -1; display: flex; justify-content: flex-end; padding-top: 12px; border-top: 1px solid var(--line); }
.app-btn { display: inline-flex; align-items: center; gap: .35rem; padding: .38rem .85rem; border-radius: 8px; background: var(--bg-soft); color: var(--navy); font-size: .82rem; font-weight: 700; transition: .15s; }
[dir="rtl"] .app-btn svg { transform: scaleX(-1); }
a.app-card:hover .app-btn { background: var(--teal); color: #fff; }
.app-btn.soon { background: rgba(224,165,38,.16); color: #9A6B07; }
.app-card.is-soon { background: #FCFCFD; }
.app-card.is-soon .app-icon { filter: saturate(.55); opacity: .85; }
.apps-empty { padding: 40px 20px; text-align: center; color: var(--muted); background: #fff; border: 1px dashed var(--line); border-radius: 14px; }
@media (max-width: 900px) {
  .apps { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .apps-side, .apps-main { min-width: 0; }
  .apps-side { position: static; padding: 10px; display: flex; flex-direction: column; gap: 8px; }
  .apps-group + .apps-group { margin-top: 0; padding-top: 8px; }
  .apps-group { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; align-items: center; }
  .apps-group::-webkit-scrollbar { display: none; }
  .apps-group h4 { display: none; }
  .apps-filter { width: auto; flex: none; white-space: nowrap; border: 1px solid var(--line); border-radius: 999px; padding: .4rem .8rem; margin: 0; }
  .apps-filter span { margin-inline-start: .2rem; }
}
@media (max-width: 520px) {
  .apps-bar { flex-direction: column; align-items: stretch; gap: 8px; }
  .apps-search { flex: none; }
  .apps-count { text-align: end; }
}

/* ============ v42: service page sample screens ("See it in action") ============ */
.demo-section .section-head { margin-bottom: 28px; }
.demo { --dm-line: #E6EAF0; --dm-soft: #F6F8FB; --dm-ink: #1B2A3D; }
.demo-tabs { display: flex; justify-content: center; gap: 8px; margin-bottom: 18px; flex-wrap: wrap; }
.demo-tabs button {
  border: 1px solid var(--line); background: #fff; color: var(--navy); font: inherit; font-weight: 700; font-size: .92rem;
  padding: .55rem 1.15rem; border-radius: 999px; cursor: pointer; transition: .15s;
}
.demo-tabs button:hover { border-color: var(--teal); }
.demo-tabs button[aria-selected="true"] { background: var(--navy); border-color: var(--navy); color: #fff; box-shadow: 0 6px 16px -6px rgba(11,37,69,.5); }
.demo-window { background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-lg); }
.demo-top { display: flex; align-items: center; gap: 14px; padding: 10px 14px; background: #EEF2F6; border-bottom: 1px solid var(--line); }
.demo-dots { display: flex; gap: 6px; }
.demo-dots i { width: 11px; height: 11px; border-radius: 50%; background: #F26B5B; }
.demo-dots i:nth-child(2) { background: #F5BE4F; }
.demo-dots i:nth-child(3) { background: #3DC779; }
.demo-url { flex: 1; max-width: 420px; margin-inline: auto; display: flex; align-items: center; justify-content: center; gap: .4rem; background: #fff; border-radius: 8px; padding: .25rem .8rem; font-size: .78rem; color: var(--muted); direction: ltr; }
.demo-url svg { color: #16A36A; }
.demo-flag { font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: #9A6B07; background: rgba(224,165,38,.18); padding: .2rem .55rem; border-radius: 6px; }
.demo-app { display: grid; grid-template-columns: 200px minmax(0, 1fr); min-height: 520px; }
.demo-nav { background: var(--navy); color: rgba(255,255,255,.72); padding: 16px 10px; display: flex; flex-direction: column; gap: 2px; font-size: .85rem; }
.demo-brand { display: flex; align-items: center; gap: .55rem; color: #fff; font-weight: 800; padding: 4px 8px 14px; margin-bottom: 6px; border-bottom: 1px solid rgba(255,255,255,.1); }
.demo-brand span { width: 28px; height: 28px; border-radius: 8px; background: var(--teal); display: grid; place-items: center; color: #fff; }
.demo-nav-i { padding: .5rem .7rem; border-radius: 8px; cursor: pointer; }
.demo-nav-i:hover { background: rgba(255,255,255,.06); color: #fff; }
.demo-nav-i.on { background: rgba(19,168,158,.22); color: #fff; font-weight: 700; }
.demo-nav-i.off { cursor: default; opacity: .55; }
.demo-nav-i.off:hover { background: none; color: inherit; }
.demo-user { margin-top: auto; display: flex; align-items: center; gap: .5rem; padding: 12px 8px 0; border-top: 1px solid rgba(255,255,255,.1); font-size: .76rem; }
.demo-user i { width: 26px; height: 26px; border-radius: 50%; background: var(--gold); color: var(--navy); display: grid; place-items: center; font-style: normal; font-weight: 800; flex: none; }
.demo-main { background: var(--dm-soft); padding: 20px; min-width: 0; color: var(--dm-ink); font-size: .86rem; line-height: 1.5; }
.demo-pane[hidden] { display: none; }
.demo-pane { animation: dmIn .25s ease; }
@keyframes dmIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.demo-note { text-align: center; color: var(--muted); font-size: .82rem; margin: 16px 0 0; }

.dm-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.dm-head h4 { margin: 0; font-size: 1.05rem; color: var(--navy); }
.dm-head > div { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.dm-btn { display: inline-flex; align-items: center; padding: .36rem .8rem; border-radius: 7px; background: #fff; border: 1px solid var(--dm-line); font-weight: 700; font-size: .78rem; color: var(--navy); white-space: nowrap; }
.dm-btn.primary { background: var(--teal); border-color: var(--teal); color: #fff; }
.dm-btn.sm { padding: .2rem .55rem; font-size: .72rem; margin-inline-end: 4px; }
.dm-badge { display: inline-block; padding: .15rem .55rem; border-radius: 999px; font-size: .72rem; font-weight: 700; white-space: nowrap; background: #E8F0FE; color: #2456C7; }
.dm-badge.ok { background: #E3F6EC; color: #11804F; }
.dm-badge.warn { background: #FFF2DB; color: #A3640A; }
.dm-badge.bad { background: #FDE7E7; color: #B42323; }
.dm-badge.muted { background: #EEF1F5; color: #5B6B7F; }
.dm-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 14px; }
.dm-kpi { background: #fff; border: 1px solid var(--dm-line); border-radius: 12px; padding: 12px 14px; min-width: 0; }
.dm-kpi span { display: block; font-size: .74rem; color: var(--muted); font-weight: 600; }
.dm-kpi b { display: block; font-size: 1.15rem; color: var(--navy); margin: .1rem 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dm-kpi small { font-size: .72rem; color: var(--muted); }
.dm-kpi small.up, .dm-kpi small.ok { color: #11804F; }
.dm-kpi small.warn { color: #A3640A; }
.dm-kpi small.bad { color: #B42323; }
.dm-grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 12px; }
.dm-grid2.tight { margin-top: 0; gap: 18px; align-items: start; }
.dm-card { background: #fff; border: 1px solid var(--dm-line); border-radius: 12px; padding: 14px; min-width: 0; }
.dm-card-h { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.dm-card h5 { margin: 0; font-size: .86rem; color: var(--navy); }
.dm-scroll { overflow-x: auto; background: #fff; border: 1px solid var(--dm-line); border-radius: 12px; }
.dm-card .dm-scroll { border: 0; border-radius: 0; }
.dm-table { width: 100%; border-collapse: collapse; font-size: .8rem; }
.dm-table th { text-align: start; font-size: .7rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); font-weight: 700; padding: .65rem .75rem; border-bottom: 1px solid var(--dm-line); background: #FAFBFC; white-space: nowrap; }
[dir="rtl"] .dm-table th { letter-spacing: 0; }
.dm-table td { padding: .6rem .75rem; border-bottom: 1px solid var(--dm-line); white-space: nowrap; }
.dm-table tbody tr:last-child td { border-bottom: 0; }
.dm-table tbody tr:hover td { background: #FAFCFE; }
.dm-table .n { text-align: end; font-variant-numeric: tabular-nums; }
.dm-table tfoot td { font-weight: 800; color: var(--navy); background: #FAFBFC; border-top: 1px solid var(--dm-line); border-bottom: 0; }
.dm-table code { font-size: .74rem; color: var(--muted); background: none; }
.dm-table.slim th { background: none; padding: .45rem 0; }
.dm-table.slim td { padding: .42rem 0; white-space: normal; }
.dm-table.slim tfoot td { background: none; }
.dm-table.dash td { border-bottom: 1px dashed var(--dm-line); }
.dm-person { display: inline-flex; align-items: center; gap: .5rem; }
.dm-person i { width: 24px; height: 24px; border-radius: 50%; background: #E0F3F1; color: var(--teal-d); display: grid; place-items: center; font-style: normal; font-weight: 800; font-size: .7rem; flex: none; }
.dm-person.sm { font-size: .74rem; color: var(--muted); }
.dm-person.sm i { width: 20px; height: 20px; font-size: .62rem; }
.dm-list { list-style: none; margin: 0; padding: 0; }
.dm-list li { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: .5rem 0; border-bottom: 1px solid var(--dm-line); }
.dm-list li:last-child { border-bottom: 0; }
.dm-bars { display: flex; align-items: flex-end; gap: 8px; height: 150px; padding-top: 6px; }
.dm-bars > div { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 6px; min-width: 0; }
.dm-bars i { width: 100%; max-width: 34px; height: var(--h); border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, var(--teal), #0B7F78); }
.dm-bars > div:last-child i { background: linear-gradient(180deg, var(--gold), #C78D15); }
.dm-bars span { font-size: .68rem; color: var(--muted); white-space: nowrap; }
.dm-prog { margin-bottom: 10px; }
.dm-prog > div { display: flex; justify-content: space-between; font-size: .78rem; margin-bottom: 4px; gap: 8px; }
.dm-prog b { color: var(--navy); font-weight: 700; }
.dm-prog i { display: block; height: 7px; background: #EDF1F5; border-radius: 99px; overflow: hidden; }
.dm-prog em { display: block; height: 100%; width: var(--p); background: var(--teal); border-radius: 99px; }
.dm-prog.ok em { background: #16A36A; }
.dm-prog.bad em { background: #D64545; }
.dm-prog.muted em { background: #C2CBD6; }
.dm-mini { display: inline-block; width: 70px; height: 6px; background: #EDF1F5; border-radius: 99px; overflow: hidden; vertical-align: middle; }
.dm-mini em { display: block; height: 100%; width: var(--p); background: var(--teal); }
.dm-note { display: flex; align-items: center; gap: .45rem; margin-top: 12px; font-size: .8rem; color: #11804F; }
/* documents: payslip, receipt, invoice, purchase order */
.dm-doc { position: relative; max-width: 640px; margin: 0 auto; background: #fff; border: 1px solid var(--dm-line); border-radius: 10px; padding: 24px 26px; box-shadow: 0 8px 24px -12px rgba(11,37,69,.25); overflow: hidden; }
.dm-doc > * { position: relative; }
.dm-wm { position: absolute !important; inset: 0; display: grid; place-items: center; font-size: 5.5rem; font-weight: 900; color: rgba(11,37,69,.045); transform: rotate(-18deg); pointer-events: none; letter-spacing: .1em; }
.dm-doc-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding-bottom: 14px; margin-bottom: 14px; border-bottom: 2px solid var(--navy); }
.dm-doc-top b { display: block; font-size: 1rem; color: var(--navy); }
.dm-doc-top small, .dm-center small { display: block; color: var(--muted); font-size: .76rem; }
.dm-doc-no { font-size: .76rem; font-weight: 800; color: var(--teal-d); background: #E0F3F1; padding: .25rem .6rem; border-radius: 6px; direction: ltr; }
.dm-meta { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 16px; margin-bottom: 16px; }
.dm-meta span { display: block; font-size: .68rem; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
[dir="rtl"] .dm-meta span { letter-spacing: 0; }
.dm-meta b { font-size: .82rem; color: var(--navy); }
.dm-net { display: flex; justify-content: space-between; align-items: center; margin-top: 16px; padding: 12px 16px; border-radius: 10px; background: var(--navy); color: #fff; }
.dm-net b { font-size: 1.2rem; color: var(--gold); }
.dm-fine { margin: 10px 0 0; font-size: .7rem; color: var(--muted); text-align: center; }
.dm-tot > div { display: flex; justify-content: space-between; padding: .3rem 0; font-size: .82rem; }
.dm-tot .big { font-weight: 800; font-size: 1rem; color: var(--navy); border-top: 1px solid var(--dm-line); margin-top: .3rem; padding-top: .55rem; }
.dm-tot.narrow { max-width: 280px; margin-inline-start: auto; margin-top: 10px; }
.dm-doc.receipt { max-width: 330px; padding: 20px; font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; font-size: .78rem; }
.lang-ar .dm-doc.receipt { font-family: var(--font); }
.dm-doc.receipt .dm-wm { font-size: 3.5rem; }
.dm-center { text-align: center; margin: 4px 0 10px; }
.dm-center b { display: block; color: var(--navy); }
.dm-barcode { height: 34px; margin: 12px auto 6px; width: 80%; background: repeating-linear-gradient(90deg, #1B2A3D 0 2px, transparent 2px 4px, #1B2A3D 4px 5px, transparent 5px 8px, #1B2A3D 8px 11px, transparent 11px 12px); }
/* POS */
.dm-pos { display: grid; grid-template-columns: minmax(0, 1fr) 270px; gap: 14px; }
.dm-search { background: #fff; border: 1px solid var(--dm-line); border-radius: 10px; padding: .6rem .8rem; color: var(--muted); margin-bottom: 12px; }
.dm-products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.dm-prod { background: #fff; border: 1px solid var(--dm-line); border-radius: 12px; padding: 12px; text-align: center; }
.dm-prod i { width: 44px; height: 44px; margin: 0 auto 8px; border-radius: 12px; display: grid; place-items: center; font-style: normal; font-weight: 800; color: #fff; background: var(--c); }
.dm-prod b { display: block; font-size: .8rem; color: var(--navy); line-height: 1.3; }
.dm-prod span { font-size: .76rem; color: var(--teal-d); font-weight: 700; }
.dm-cart { background: #fff; border: 1px solid var(--dm-line); border-radius: 12px; padding: 14px; display: flex; flex-direction: column; }
.dm-cart h5 { margin: 0 0 6px; color: var(--navy); font-size: .88rem; }
.dm-cart .dm-tot { margin-top: auto; padding-top: 10px; }
.dm-pay { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 10px; }
.dm-pay .dm-btn { justify-content: center; }
/* website preview */
.dm-site { background: #fff; border: 1px solid var(--dm-line); border-radius: 12px; overflow: hidden; }
.dm-site-nav { display: flex; gap: 18px; align-items: center; padding: 12px 18px; border-bottom: 1px solid var(--dm-line); font-size: .78rem; color: var(--muted); flex-wrap: wrap; }
.dm-site-nav b { color: var(--navy); margin-inline-end: auto; font-size: .88rem; }
.dm-site-hero { display: grid; grid-template-columns: 1.3fr 1fr; gap: 20px; align-items: center; padding: 26px 22px; background: linear-gradient(120deg, #EAF6F5, #FFF7E6); }
.dm-site-hero small { color: var(--teal-d); font-weight: 700; }
.dm-site-hero h6 { font-size: 1.35rem; margin: .3rem 0 1rem; color: var(--navy); line-height: 1.25; }
.dm-site-hero .dm-btn { margin-inline-end: 6px; }
.dm-site-hero i { height: 150px; border-radius: 14px; background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.6), transparent 40%), linear-gradient(135deg, var(--teal), var(--navy)); }
.dm-site-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 16px 18px 20px; }
.dm-site-cards div { border: 1px solid var(--dm-line); border-radius: 10px; padding: 12px; display: flex; align-items: center; gap: 10px; }
.dm-site-cards i { width: 30px; height: 30px; border-radius: 8px; background: var(--c); opacity: .9; flex: none; }
.dm-site-cards b { font-size: .8rem; color: var(--navy); }
/* roadmap timeline, alerts, recommendations, kanban */
.dm-timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.dm-timeline li { display: flex; gap: 14px; background: #fff; border: 1px solid var(--dm-line); border-radius: 12px; padding: 12px 14px; }
.dm-timeline li > i { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-weight: 800; background: #EEF1F5; color: var(--muted); flex: none; }
.dm-timeline li.done > i { background: #16A36A; color: #fff; }
.dm-timeline li.now > i { background: var(--teal); color: #fff; box-shadow: 0 0 0 4px rgba(19,168,158,.2); }
.dm-timeline li > div { flex: 1; min-width: 0; }
.dm-timeline b { display: block; color: var(--navy); }
.dm-timeline span { font-size: .78rem; color: var(--muted); }
.dm-timeline .dm-prog { margin: 6px 0 0; }
.dm-timeline .dm-prog > div { justify-content: flex-end; }
.dm-alerts { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.dm-alerts li { background: #fff; border: 1px solid var(--dm-line); border-inline-start: 4px solid #2F6FEB; border-radius: 10px; padding: 12px 14px; }
.dm-alerts li.bad { border-inline-start-color: #D64545; }
.dm-alerts li.warn { border-inline-start-color: #E0A526; }
.dm-alerts li.ok { border-inline-start-color: #16A36A; }
.dm-alerts b { display: block; color: var(--navy); }
.dm-alerts span { font-size: .76rem; color: var(--muted); }
.dm-rec { margin: 0; padding-inline-start: 1.2rem; display: grid; gap: .45rem; font-size: .82rem; }
.dm-kanban { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.dm-kanban > div { background: #EDF1F5; border-radius: 12px; padding: 10px; display: grid; gap: 8px; align-content: start; }
.dm-kanban h6 { margin: 2px 4px 4px; font-size: .8rem; color: var(--navy); display: flex; justify-content: space-between; }
.dm-kanban h6 span { color: var(--muted); }
.dm-task { background: #fff; border-radius: 10px; padding: 10px; display: grid; gap: 6px; box-shadow: 0 1px 2px rgba(16,24,40,.06); }
.dm-task b { font-size: .8rem; color: var(--navy); }
.dm-task .dm-badge { justify-self: start; }
@media (max-width: 1000px) {
  .demo-app { grid-template-columns: minmax(0, 1fr); }
  .demo-nav { display: none; }
  .dm-pos { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 700px) {
  .demo-main { padding: 12px; }
  .demo-app { min-height: 0; }
  .demo-tabs { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
  .demo-tabs button { flex: none; }
  .demo-url { display: none; }
  .demo-flag { margin-inline-start: auto; }
  .dm-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dm-grid2, .dm-grid2.tight, .dm-kanban { grid-template-columns: minmax(0, 1fr); }
  .dm-meta { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dm-products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dm-site-hero { grid-template-columns: 1fr; }
  .dm-site-hero i { display: none; }
  .dm-site-cards { grid-template-columns: 1fr; }
  .dm-doc { padding: 18px 16px; }
}
.dm-fine.start { text-align: start; }

/* v49: simple route map in the trucking demo */
.dm-map { position: relative; height: 150px; margin-bottom: 12px; border-radius: 12px; border: 1px solid var(--dm-line); overflow: hidden;
  background: linear-gradient(160deg, #EAF2EC 0%, #F3F0E6 55%, #E4EEF6 100%); }
.dm-map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.dm-map polyline { fill: none; stroke: var(--teal); stroke-width: 3; stroke-dasharray: 8 6; vector-effect: non-scaling-stroke; stroke-linecap: round; }
.dm-map i { position: absolute; left: var(--x); top: var(--y); width: 14px; height: 14px; margin: -7px; border-radius: 50%; background: var(--navy); box-shadow: 0 0 0 4px rgba(11,37,69,.15); }
.dm-map i.go { background: var(--teal); box-shadow: 0 0 0 5px rgba(19,168,158,.25); }
.dm-map i.warn { background: #E0A526; box-shadow: 0 0 0 5px rgba(224,165,38,.25); }
.dm-map span { position: absolute; left: var(--x); top: var(--y); font-size: .72rem; font-weight: 700; color: var(--navy); background: rgba(255,255,255,.85); padding: 1px 6px; border-radius: 6px; }

/* v56: thin loading bar shown while the next page loads (Turbo) */
.turbo-progress-bar { height: 3px; background: linear-gradient(90deg, var(--teal), var(--gold)); }

/* v57: "Worldwide" next to the country flags in the top bar */
.tb-world svg { color: var(--gold); }

/* v58: "All services" link at the end of a long footer list */
.footer-more { font-weight: 700; color: var(--gold) !important; }
.foot-world svg { color: var(--gold); }
