/* ===========================================================
   DigitalMeta — Demo styles
   Tokens, layout, components.
   Logical properties used throughout for RTL.
=========================================================== */



:root {
  --primary: #0A2A5E;
  --primary-2: #061f47;
  --accent: #00BFEF;
  --accent-2: #1E90FF;
  --ink: #0a1628;
  --ink-2: #2a3a52;
  --muted: #6b7a92;
  --line: #e3e8ef;
  --line-2: #c8d1de;
  --bg: #ffffff;
  --bg-2: #f5f7fa;
  --bg-3: #eceff5;
  --shadow-sm: 0 1px 2px rgba(10, 42, 94, 0.06);
  --shadow-md: 0 8px 32px rgba(10, 42, 94, 0.10);
  --shadow-lg: 0 24px 60px rgba(10, 42, 94, 0.14);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;
  --container: 1240px;
  --header-h: 76px;
  --display: "Inter Tight", system-ui, -apple-system, sans-serif;
  --body: "Inter Tight", system-ui, -apple-system, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --arabic: "IBM Plex Sans Arabic", "Noto Sans Arabic", "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--body);
  color: var(--ink);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
html[dir="rtl"] body { font-family: var(--arabic); font-size: 16px; line-height: 1.7; }
html[dir="rtl"] h1, html[dir="rtl"] h2, html[dir="rtl"] h3, html[dir="rtl"] h4 { font-family: var(--arabic); font-weight: 700; letter-spacing: 0; }
html[dir="rtl"] .dm-h1 { font-size: clamp(34px, 5vw, 68px); }
html[dir="rtl"] .dm-lede { font-family: var(--arabic); font-size: clamp(16px, 1.8vw, 19px); }
html[dir="rtl"] .dm-dir { transform: scaleX(-1); }

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

.dm-container {
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: 32px;
}
@media (max-width: 720px) { .dm-container { padding-inline: 20px; } }

/* ─── Type ─────────────────────────────────────────────── */
.dm-h1 {
  font-family: var(--display);
  font-size: clamp(36px, 5.4vw, 64px);
  line-height: 1.04;
  letter-spacing: -0.025em;
  font-weight: 600;
  margin: 0 0 20px;
  color: var(--ink);
  text-wrap: balance;
}
.dm-h2 {
  font-family: var(--display);
  font-size: clamp(28px, 3.5vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 600;
  margin: 0 0 16px;
  color: var(--ink);
  text-wrap: balance;
}
.dm-h2-light { color: white; }
.dm-lede {
  font-size: clamp(16px, 1.3vw, 18px);
  line-height: 1.6;
  color: var(--ink-2);
  margin: 0 0 24px;
  max-width: 60ch;
  text-wrap: pretty;
}
.dm-lede-light { color: rgba(255,255,255,0.85); }

.dm-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 18px;
}
html[dir="rtl"] .dm-eyebrow { font-family: var(--arabic); letter-spacing: 0; text-transform: none; font-size: 13px; font-weight: 500; }
.dm-eyebrow-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-block;
}
.dm-eyebrow-light { color: var(--accent); }

/* ─── Buttons ──────────────────────────────────────────── */
.dm-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: var(--radius-pill);
  font-weight: 500;
  font-size: 15px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, color .18s ease, border .18s ease, box-shadow .18s ease;
  white-space: nowrap;
  font-family: inherit;
}
.dm-btn-sm { padding: 10px 16px; font-size: 14px; }
.dm-btn-primary {
  background: var(--primary);
  color: white;
}
.dm-btn-primary:hover {
  background: var(--primary-2);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.dm-btn-accent {
  background: var(--accent);
  color: var(--primary);
}
.dm-btn-accent:hover {
  background: #00d4ff;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(0, 191, 239, 0.4);
}
.dm-btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-2);
}
.dm-btn-ghost:hover {
  border-color: var(--ink);
  background: var(--bg-2);
}
.dm-btn-ghost-light {
  background: transparent;
  color: white;
  border-color: rgba(255,255,255,0.3);
}
.dm-btn-ghost-light:hover { border-color: white; background: rgba(255,255,255,0.08); }

/* ─── Header ───────────────────────────────────────────── */
.dm-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.85);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, background .2s ease;
}
.dm-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(255,255,255,0.92);
}
.dm-header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  height: var(--header-h);
}
.dm-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-size: 18px;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.dm-logo-word b { font-weight: 700; color: var(--primary); }
html[dir="rtl"] .dm-logo-word { font-family: var(--arabic); }

.dm-nav {
  display: flex;
  gap: 28px;
  justify-content: center;
}
.dm-nav a {
  font-size: 15px;
  color: var(--ink-2);
  position: relative;
  padding: 4px 0;
  transition: color .15s ease;
}
.dm-nav a:hover { color: var(--primary); }
.dm-nav a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0; right: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .2s ease;
}
.dm-nav a:hover::after { transform: scaleX(1); }

.dm-header-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.dm-burger {
  display: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--ink);
  cursor: pointer;
  flex-shrink: 0;
  position: relative;
  z-index: 110;
}
.dm-drawer-close {
  display: inline-flex;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--ink);
  cursor: pointer;
  flex-shrink: 0;
}

@media (max-width: 1024px) {
  .dm-header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0;
  }
  .dm-nav, .dm-header-right { display: none; }
  .dm-burger { display: inline-flex; margin-inline-start: auto; }
}

/* ─── Lang switcher ────────────────────────────────────── */
.dm-lang {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 3px;
  background: var(--bg);
}
.dm-lang-btn {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  padding: 6px 10px;
  border-radius: var(--radius-pill);
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: background .15s ease, color .15s ease;
}
.dm-lang-btn:hover { color: var(--ink); }
.dm-lang-btn.is-active {
  background: var(--primary);
  color: white;
}

/* ─── Drawer ───────────────────────────────────────────── */
.dm-drawer {
  position: fixed;
  inset: 0;
  background: white;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  animation: dm-slide-in .22s ease;
}
@keyframes dm-slide-in { from { transform: translateY(-8px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.dm-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  border-bottom: 1px solid var(--line);
  background: white;
}
.dm-burger-dark { border-color: var(--ink) !important; }
.dm-drawer-nav {
  display: flex;
  flex-direction: column;
  padding: 8px 0;
  flex: 1;
}
.dm-drawer-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 28px;
  font-size: 20px;
  font-family: var(--display);
  font-weight: 600;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  transition: background .15s ease, color .15s ease;
}
.dm-drawer-nav a:hover, .dm-drawer-nav a.is-active { color: var(--primary); background: rgba(10,42,94,0.03); }
html[dir="rtl"] .dm-drawer-nav a { font-family: var(--arabic); font-size: 22px; }
.dm-drawer-foot {
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  border-top: 1px solid var(--line);
}

/* ─── Hero ─────────────────────────────────────────────── */
.dm-hero {
  position: relative;
  padding: clamp(60px, 10vh, 110px) 0 clamp(80px, 12vh, 140px);
  overflow: hidden;
  isolation: isolate;
}
.dm-hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse at top right, rgba(0,191,239,0.08), transparent 60%),
    radial-gradient(ellipse at bottom left, rgba(10,42,94,0.05), transparent 50%),
    var(--bg);
}
.dm-hero-grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(10,42,94,0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(10,42,94,0.06) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  opacity: 0.7;
}
.dm-hero-glow {
  position: absolute;
  width: 480px; height: 480px;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
}
.dm-hero-glow-a {
  background: radial-gradient(circle, var(--accent), transparent 70%);
  top: -120px;
  inset-inline-end: -120px;
}
.dm-hero-glow-b {
  background: radial-gradient(circle, var(--primary), transparent 70%);
  bottom: -160px;
  inset-inline-start: -120px;
  opacity: 0.3;
}
.dm-hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 1024px) {
  .dm-hero-inner { grid-template-columns: 1fr; gap: 48px; }
}
.dm-hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
@media (max-width: 600px) {
  .dm-hero-ctas { flex-direction: column; gap: 10px; }
  .dm-hero-ctas .dm-btn { width: 100%; justify-content: center; padding: 18px 24px; font-size: 17px; }
}

/* Hero visual */
.dm-hero-visual {
  position: relative;
  height: 460px;
}
@media (max-width: 1024px) { .dm-hero-visual { height: 300px; max-width: 420px; margin: 0 auto; } }
@media (max-width: 600px) {
  .dm-hero-visual { height: 220px; max-width: 100%; }
  .dm-hero { background: var(--primary); }
  .dm-hero-bg { display: none; }
  .dm-h1 { color: white; }
  .dm-hero .dm-lede { color: rgba(255,255,255,0.8); }
  .dm-hero .dm-eyebrow { color: var(--accent); }
  .dm-hero .dm-eyebrow-dot { background: var(--accent); }
  .dm-btn-ghost { border-color: rgba(255,255,255,0.4); color: white; }
  .dm-btn-ghost:hover { background: rgba(255,255,255,0.1); }
}
.dm-hv {
  position: relative;
  width: 100%;
  height: 100%;
}
.dm-hv-card {
  position: absolute;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 18px 20px;
  width: 280px;
  animation: dm-float 8s ease-in-out infinite;
}
@keyframes dm-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.dm-hv-card-1 {
  top: 20px;
  inset-inline-start: 0;
  animation-delay: 0s;
}
.dm-hv-card-2 {
  top: 160px;
  inset-inline-end: 0;
  animation-delay: 2s;
  width: 300px;
}
.dm-hv-card-3 {
  bottom: 30px;
  inset-inline-start: 40px;
  animation-delay: 4s;
  width: 240px;
}
.dm-hv-card-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}
.dm-hv-dot { width: 8px; height: 8px; border-radius: 50%; }
.dm-hv-dot-cyan { background: var(--accent); box-shadow: 0 0 0 4px rgba(0,191,239,0.15); }
.dm-hv-dot-navy { background: var(--primary); box-shadow: 0 0 0 4px rgba(10,42,94,0.15); }
.dm-hv-tag {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.dm-hv-bars { display: flex; flex-direction: column; gap: 8px; }
.dm-hv-bars div {
  height: 8px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}
.dm-hv-bars div:nth-child(2) { background: var(--bg-3); }
.dm-hv-bars div:nth-child(3) { background: var(--bg-3); }
.dm-hv-chart { width: 100%; height: 70px; }
.dm-hv-pills { display: flex; gap: 8px; }
.dm-hv-pills span {
  font-family: var(--mono);
  font-size: 11px;
  padding: 5px 10px;
  border-radius: var(--radius-pill);
  background: var(--bg-2);
  color: var(--primary);
  font-weight: 500;
}
.dm-hv-pills span:first-child { background: var(--primary); color: white; }
.dm-hv-orbit {
  position: absolute;
  width: 380px; height: 380px;
  border: 1.5px dashed rgba(10,42,94,0.12);
  border-radius: 50%;
  top: 50%;
  inset-inline-start: 50%;
  transform: translate(-50%, -50%);
  animation: dm-spin 60s linear infinite;
  z-index: -1;
}
html[dir="rtl"] .dm-hv-orbit { animation-direction: reverse; }
@keyframes dm-spin { to { transform: translate(-50%, -50%) rotate(360deg); } }

/* ─── Sections common ──────────────────────────────────── */
.dm-section { padding: clamp(72px, 10vh, 120px) 0; }
.dm-section-services { background: var(--bg-2); }
.dm-section-why { background: white; }
.dm-section-ms {
  background:
    linear-gradient(180deg, var(--bg-2) 0%, white 100%);
}

.dm-section-intro {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}

/* Grids */
.dm-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.dm-grid-2-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px 48px;
}
@media (max-width: 980px) { .dm-grid-3 { grid-template-columns: 1fr; } .dm-grid-2-2 { grid-template-columns: 1fr; } }

/* ─── Service cards ────────────────────────────────────── */
.dm-service-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  position: relative;
  overflow: hidden;
}
.dm-service-card::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0;
  width: 3px;
  height: 0;
  background: linear-gradient(180deg, var(--accent), var(--primary));
  transition: height .3s ease;
}
.dm-service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.dm-service-card:hover::before { height: 100%; }
.dm-service-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.dm-service-icon {
  display: inline-flex;
  width: 56px; height: 56px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(0,191,239,0.12), rgba(10,42,94,0.04));
  color: var(--primary);
  align-items: center;
  justify-content: center;
}
.dm-service-tag {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.1em;
}
.dm-service-title {
  font-family: var(--display);
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -0.01em;
  font-weight: 600;
  margin: 0;
  color: var(--ink);
}
html[dir="rtl"] .dm-service-title { font-family: var(--arabic); }
.dm-service-desc {
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
  flex: 1;
}
.dm-service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-weight: 500;
  font-size: 14px;
  margin-top: 4px;
}

/* ─── Why ─────────────────────────────────────────────── */
.dm-why-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.dm-why-icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: var(--radius-sm);
  background: var(--primary);
  color: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.dm-why-title {
  font-family: var(--display);
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 6px;
  color: var(--ink);
  letter-spacing: -0.01em;
}
html[dir="rtl"] .dm-why-title { font-family: var(--arabic); }
.dm-why-desc {
  color: var(--ink-2);
  font-size: 15px;
  margin: 0;
  line-height: 1.6;
}

/* ─── Microsoft block ──────────────────────────────────── */
.dm-ms-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 980px) { .dm-ms-grid { grid-template-columns: 1fr; gap: 32px; } }
.dm-ms-products {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.dm-ms-product {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 18px 22px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  transition: border-color .2s ease, transform .2s ease;
}
.dm-ms-product:hover {
  border-color: var(--accent);
  transform: translateX(4px);
}
html[dir="rtl"] .dm-ms-product:hover { transform: translateX(-4px); }
.dm-ms-product-icon {
  width: 40px; height: 40px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--primary), #143a7e);
  color: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.dm-ms-product-name {
  font-family: var(--display);
  font-size: 16px;
  font-weight: 600;
  margin: 0;
  color: var(--ink);
}
.dm-ms-product-desc {
  font-size: 13px;
  color: var(--muted);
  margin: 2px 0 0;
}
.dm-ms-product-arrow {
  color: var(--muted);
  display: inline-flex;
}

/* ─── Stats ────────────────────────────────────────────── */
.dm-section-stats {
  background: var(--primary);
  color: white;
  padding: 64px 0;
  position: relative;
  overflow: hidden;
}
.dm-section-stats::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(0,191,239,0.15), transparent 60%);
  pointer-events: none;
}
.dm-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}
@media (max-width: 760px) { .dm-stats-grid { grid-template-columns: repeat(2, 1fr); } }
.dm-stat { text-align: center; }
.dm-stat-value {
  font-family: var(--display);
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--accent);
  margin-bottom: 8px;
}
.dm-stat-label {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.02em;
}

/* ─── Final CTA band ──────────────────────────────────── */
.dm-section-cta { padding: 80px 0; }
.dm-cta-band {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 72px 48px;
  overflow: hidden;
  isolation: isolate;
  text-align: center;
}
.dm-cta-band-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, var(--primary) 0%, #143a7e 50%, #00BFEF 130%);
  z-index: -1;
}
.dm-cta-band-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
}
.dm-cta-band-inner {
  max-width: 640px;
  margin: 0 auto;
}
.dm-cta-band-ctas {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 28px;
}

/* ─── Footer ───────────────────────────────────────────── */
.dm-footer {
  background: var(--primary);
  color: rgba(255,255,255,0.65);
  padding: 72px 0 32px;
}

/* CTA top */
.dm-footer-cta {
  padding-bottom: 56px;
}
.dm-footer-cta-title {
  font-family: var(--display);
  font-size: clamp(22px, 3.5vw, 40px);
  font-weight: 600;
  color: white;
  line-height: 1.2;
  max-width: 28ch;
  margin: 0 0 16px;
  letter-spacing: -0.02em;
}
html[dir="rtl"] .dm-footer-cta-title { font-family: var(--arabic); letter-spacing: 0; }
.dm-footer-cta-link {
  font-family: var(--display);
  font-size: clamp(22px, 3.5vw, 40px);
  font-weight: 600;
  color: var(--accent);
  letter-spacing: -0.02em;
  line-height: 1.2;
  display: block;
  margin-bottom: 32px;
  transition: opacity .2s ease;
}
.dm-footer-cta-link:hover { opacity: 0.75; }
.dm-footer-contacts {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
}
.dm-footer-email {
  font-size: 15px;
  color: rgba(255,255,255,0.55);
  transition: color .2s ease;
}
.dm-footer-email:hover { color: white; }
.dm-footer-wa {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  color: rgba(255,255,255,0.55);
  transition: color .2s ease;
}
.dm-footer-wa:hover { color: #25d366; }

/* Divider */
.dm-footer-divider {
  height: 1px;
  background: rgba(255,255,255,0.08);
  margin: 0 0 48px;
}

/* Two-column links */
.dm-footer-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}
@media (max-width: 560px) { .dm-footer-cols { grid-template-columns: 1fr 1fr; gap: 32px; } }

.dm-footer-col-rule {
  width: 48px;
  height: 2px;
  background: rgba(255,255,255,0.15);
  margin-bottom: 20px;
}
.dm-footer-col h5 {
  font-family: var(--display);
  color: white;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 20px;
}
html[dir="rtl"] .dm-footer-col h5 { font-family: var(--arabic); text-transform: none; letter-spacing: 0; }
.dm-footer-col ul {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.dm-footer-col li a {
  font-size: 15px;
  color: rgba(255,255,255,0.55);
  transition: color .15s ease;
}
.dm-footer-col li a:hover { color: white; }

/* Bottom bar */
.dm-footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-top: 24px;
  font-size: 12px;
  color: rgba(255,255,255,0.35);
  font-family: var(--mono);
  letter-spacing: 0.04em;
  border-top: 1px solid rgba(255,255,255,0.06);
}
html[dir="rtl"] .dm-footer-bottom { font-family: var(--arabic); letter-spacing: 0; }
.dm-footer-legal { display: flex; gap: 16px; flex-wrap: wrap; }
.dm-footer-legal a { color: rgba(255,255,255,0.35); transition: color .15s ease; }
.dm-footer-legal a:hover { color: white; }
.dm-footer-langs { color: var(--accent); }

/* ─── Clients section ───────────────────────────────── */
.dm-section-clients {
  padding: 56px 0 64px;
  background: #f5f7fa;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.dm-clients-label {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 40px;
}
.dm-clients-line {
  display: block;
  width: 32px;
  height: 1.5px;
  background: var(--muted);
  flex-shrink: 0;
}
.dm-clients-label-text {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.dm-clients-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  align-items: center;
}
@media (max-width: 900px) { .dm-clients-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
@media (max-width: 480px) { .dm-clients-grid { grid-template-columns: repeat(2, 1fr); } }

.dm-client-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 20px 12px;
  border-radius: var(--radius-md);
  transition: background .2s ease;
  cursor: default;
}
.dm-client-logo:hover { background: white; box-shadow: var(--shadow-sm); }
.dm-client-abbr {
  font-family: var(--mono);
  font-size: 18px;
  font-weight: 700;
  color: #adb5bd;
  letter-spacing: 0.04em;
  transition: color .2s ease;
}
.dm-client-name {
  font-size: 11px;
  color: #c8cdd4;
  letter-spacing: 0.04em;
  font-family: var(--mono);
}
.dm-client-logo:hover .dm-client-abbr { color: var(--primary); }

/* ─── Floating WhatsApp button ──────────────────────── */
.dm-wa-float {
  position: fixed;
  bottom: 24px;
  inset-inline-end: 24px;
  z-index: 9000;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: transform .2s ease, box-shadow .2s ease;
  text-decoration: none;
}
.dm-wa-float:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(37,211,102,0.5);
}

