/*
Theme Name: Colors Design Child
Theme URI: https://cd-sa.com
Description: Child theme of Twenty Twenty-Five for COLORS DESIGN (ألوان التصميم) — RTL Arabic agency site.
Author: OpenCode
Template: twentytwentyfive
Version: 1.0.0
Text Domain: colors-design-child
*/
/* =========================================================
   COLORS DESIGN — ألوان التصميم
   Static preview stylesheet — monochrome / editorial
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
  --ink: #0b1c33;
  --ink-2: #10263f;
  --ink-3: #16324f;
  --navy: #123a66;
  --navy-2: #1b4b80;
  --navy-soft: #eef3fb;
  --paper: #ffffff;
  --paper-2: #f2f6fc;
  --paper-3: #e6edf8;
  --line: #e4e9f2;
  --line-dark: rgba(255, 255, 255, 0.14);

  --text: #141c2b;
  --muted: #64708a;
  --muted-2: #98a3b8;
  --on-dark: #eef3fb;
  --on-dark-muted: #a9b8d0;

  --accent: #2f6bff;
  --accent-ink: #1e50d6;

  --radius: 10px;
  --radius-lg: 16px;
  --radius-sm: 6px;

  --shadow-sm: 0 4px 18px -10px rgba(0, 0, 0, 0.25);
  --shadow: 0 30px 60px -40px rgba(0, 0, 0, 0.45);

  --container: 1220px;
  --gutter: clamp(20px, 4vw, 48px);
  --header-h: 84px;

  --font: "IBM Plex Sans Arabic", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  direction: rtl;
  text-align: right;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.8;
  color: var(--text);
  background: var(--paper);
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, h4, h5 {
  font-family: var(--font);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 0.5em;
  letter-spacing: -0.015em;
  color: var(--ink);
}
h1 { font-size: clamp(2.2rem, 5vw, 3.9rem); line-height: 1.08; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.4rem); }
p { margin: 0 0 1em; }
::selection { background: var(--ink); color: #fff; }

/* ---------- Layout ---------- */
.container { width: min(calc(100% - (var(--gutter) * 2)), var(--container)); margin-inline: auto; }
.section { padding-block: clamp(64px, 8vw, 120px); position: relative; }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }
.section--paper { background: var(--paper); }
.section--soft { background: var(--paper-2); }
.section--dark { background: var(--ink); color: var(--on-dark); }
.section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }

.grid { display: grid; gap: clamp(20px, 3vw, 34px); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-auto { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.center { text-align: center; }

/* ---------- Section heads ---------- */
.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}
.section--dark .eyebrow { color: var(--accent); }

.section-head { max-width: 680px; margin-bottom: clamp(36px, 4.5vw, 56px); }
.section-head.center { margin-inline: auto; }
.section-head p { color: var(--muted); font-size: 1.04rem; margin-bottom: 0; }
.section--dark .section-head p { color: var(--on-dark-muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font); font-weight: 600; font-size: 0.98rem;
  padding: 14px 26px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: var(--accent); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-ink); }
.btn-outline { background: transparent; color: var(--ink); border-color: #cfcfca; }
.btn-outline:hover { border-color: var(--ink); background: var(--ink); color: #fff; }
.btn-ghost { background: transparent; color: #fff; border-color: var(--line-dark); }
.btn-ghost:hover { border-color: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--paper-3); }
.btn-wa { background: #22c15e; color: #05300f; }
.btn-wa:hover { background: #1ba851; }
.btn-lg { padding: 16px 32px; font-size: 1.02rem; }
.btn-block { width: 100%; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* text link with arrow */
.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; color: var(--ink);
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}
.link-arrow:hover { color: var(--accent); border-color: var(--accent); }
.link-arrow svg { width: 17px; height: 17px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset-inline: 0; top: 0;
  z-index: 100;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-bottom-color: var(--line);
}
.navbar { display: flex; align-items: center; justify-content: space-between; gap: 28px; min-height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-logo { height: 42px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text b { font-size: 1.12rem; font-weight: 700; color: var(--ink); }
.brand-text span { font-size: 0.62rem; letter-spacing: 0.24em; color: var(--muted-2); text-transform: uppercase; }

.nav-menu { display: flex; align-items: center; gap: 30px; }
.nav-menu a {
  position: relative;
  font-weight: 500;
  font-size: 0.99rem;
  color: #4a4a4a;
  padding: 6px 0;
  background: none;
  border: 0;
  transition: color 0.2s var(--ease);
}
.nav-menu a::after {
  content: "";
  position: absolute;
  inset-inline-start: 0; bottom: 0;
  width: 0; height: 1.5px;
  background: var(--ink);
  transition: width 0.25s var(--ease);
}
.nav-menu a:hover { color: var(--ink); }
.nav-menu a:hover::after { width: 100%; }
.nav-menu a.active { color: var(--ink); }
.nav-menu a.active::after { width: 100%; background: var(--accent); }

.nav-actions { display: flex; align-items: center; gap: 14px; }
.nav-actions .btn { padding: 11px 22px; font-size: 0.94rem; }

.nav-toggle {
  display: none; width: 44px; height: 44px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: transparent; color: var(--ink);
  place-items: center;
}
.nav-toggle svg { width: 22px; height: 22px; }

/* ---------- Hero ---------- */
.hero { background: var(--paper); padding-top: calc(var(--header-h) + clamp(40px, 6vw, 78px)); padding-bottom: clamp(56px, 7vw, 104px); }
.hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 72px); align-items: center; }
.hero h1 { margin-bottom: 22px; }
.hero .lead { font-size: clamp(1.05rem, 1.5vw, 1.22rem); color: var(--muted); max-width: 540px; margin-bottom: 32px; }
.hero .btn-row { margin-bottom: 40px; }

.hero-meta { display: flex; flex-wrap: wrap; gap: 32px; border-top: 1px solid var(--line); padding-top: 26px; }
.hero-meta div { display: flex; flex-direction: column; }
.hero-meta b { font-size: 1.5rem; font-weight: 700; line-height: 1; color: var(--ink); }
.hero-meta span { font-size: 0.86rem; color: var(--muted-2); margin-top: 6px; }

.hero-media { position: relative; }
.hero-media img { width: 100%; height: clamp(360px, 44vw, 560px); object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.hero-media .tag {
  position: absolute; bottom: 18px; inset-inline-start: 18px;
  background: #fff; color: var(--ink);
  font-size: 0.82rem; font-weight: 600;
  padding: 9px 15px; border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}

/* marquee-ish client strip */
.marquee { background: var(--ink); }
.marquee .container { padding-block: 26px; display: flex; align-items: center; gap: 40px; flex-wrap: wrap; justify-content: space-between; }
.marquee span { font-weight: 600; color: #c7d5ec; letter-spacing: 0.04em; }

/* ---------- Split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.split.reverse .split-media { order: 2; }
.split-media { border-radius: var(--radius-lg); overflow: hidden; min-height: 340px; background: var(--paper-3); }
.split-media img { width: 100%; height: 100%; min-height: 340px; object-fit: cover; }

.checkline { display: grid; gap: 14px; margin-top: 24px; }
.checkline div { display: flex; gap: 12px; align-items: flex-start; }
.checkline > div > span:first-child { flex: none; margin-top: 3px; }
.checkline svg { width: 20px; height: 20px; color: var(--accent); }

/* ---------- Cards ---------- */
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); border-color: #d9d9d4; }

/* ---------- Services editorial index ---------- */
/* ---------- Services tabs showcase ---------- */
.svc-tabs {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
}
.svc-tablist { display: flex; flex-direction: column; gap: 8px; }
.svc-tab {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  text-align: start;
  width: 100%;
  padding: 17px 20px;
  font-family: inherit;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.3s var(--ease), color 0.3s var(--ease),
    border-color 0.3s var(--ease), box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}
.svc-tab:hover:not(.is-active) { border-color: #c9d4e8; box-shadow: var(--shadow-sm); transform: translateX(-4px); }
.svc-tab:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.svc-tab-num {
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  color: var(--accent);
  transition: color 0.3s var(--ease);
}
.svc-tab-title { font-size: clamp(1.02rem, 1.5vw, 1.18rem); font-weight: 700; line-height: 1.5; }
.svc-tab-go {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  flex: none;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.svc-tab-go svg { width: 15px; height: 15px; }
.svc-tab.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
  box-shadow: var(--shadow);
}
.svc-tab.is-active .svc-tab-num { color: #fff; }
.svc-tab.is-active .svc-tab-go { background: var(--accent); border-color: var(--accent); color: #fff; }

.svc-stage { display: grid; }
.svc-panel {
  grid-area: 1 / 1;
  position: relative;
  isolation: isolate;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease), visibility 0s linear 0.45s;
}
.svc-panel.is-active {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
}
.svc-panel-media { position: relative; margin: 0; }
.svc-panel-media::before {
  content: "";
  position: absolute;
  inset: 0;
  transform: translate(16px, 16px);
  border: 2px solid var(--accent);
  border-radius: var(--radius-lg);
  opacity: 0.45;
  z-index: -1;
}
.svc-panel-media img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.svc-panel-ghost {
  position: absolute;
  inset-inline-start: 20px;
  bottom: 6px;
  font-size: clamp(3.5rem, 6vw, 5.5rem);
  font-weight: 800;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 2px rgba(255, 255, 255, 0.9);
  filter: drop-shadow(0 3px 12px rgba(0, 0, 0, 0.4));
  pointer-events: none;
}
.svc-panel-body { padding-top: 26px; }
.svc-panel-body h3 { font-size: clamp(1.35rem, 2vw, 1.7rem); margin-bottom: 8px; }
.svc-panel-body p {
  color: var(--muted);
  line-height: 1.9;
  margin-bottom: 18px;
  max-width: 56ch;
}

/* feature list */
.feature-list li { position: relative; padding-inline-start: 30px; margin-bottom: 14px; color: var(--muted); }
.feature-list li::before {
  content: ""; position: absolute; inset-inline-start: 0; top: 12px;
  width: 14px; height: 2px; background: var(--accent);
}
.section--dark .feature-list li { color: var(--on-dark-muted); }

/* ---------- Work / portfolio ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 44px; }
.chip {
  font-weight: 500; font-size: 0.92rem;
  padding: 9px 18px; border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent; color: var(--muted);
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.chip:hover { color: var(--ink); border-color: var(--ink); }
.chip.active { background: var(--ink); color: #fff; border-color: var(--ink); }

.work-card { display: block; }
.work-thumb {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper-3);
}
.work-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.work-card:hover .work-thumb img { transform: scale(1.05); }
.work-thumb .overlay {
  position: absolute; inset: 0;
  background: rgba(14, 14, 15, 0.28);
  opacity: 0; transition: opacity 0.3s var(--ease);
  display: grid; place-items: center;
}
.work-card:hover .work-thumb .overlay { opacity: 1; }
.work-thumb .overlay span {
  width: 52px; height: 52px; border-radius: 50%;
  background: #fff; color: var(--ink);
  display: grid; place-items: center;
}
.work-thumb .overlay svg { width: 22px; height: 22px; }
.work-body { padding: 20px 2px 0; display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.work-body h3 { font-size: 1.12rem; margin-bottom: 4px; }
.work-body p { color: var(--muted); margin: 0; font-size: 0.92rem; }
.work-body .go { color: var(--muted-2); transition: color 0.2s, transform 0.2s; }
.work-card:hover .work-body .go { color: var(--accent); transform: translateX(-4px); }
html[dir="rtl"] .work-body .go { transform: none; }
html[dir="rtl"] .work-card:hover .work-body .go { transform: translateX(4px); }

/* ---------- Clients ---------- */
.logo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.logo-tile { background: #fff; min-height: 120px; display: grid; place-items: center; padding: 24px; border-inline-end: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background 0.25s; }
.logo-tile:hover { background: var(--paper-2); }
.logo-tile span { font-weight: 700; font-size: 1.1rem; color: var(--muted-2); letter-spacing: 0.02em; filter: grayscale(1); transition: color 0.25s, filter 0.25s; }
.logo-tile:hover span { color: var(--ink); filter: none; }
.section--dark .logo-grid { border-color: var(--line-dark); }
.section--dark .logo-tile { background: var(--ink-2); border-color: var(--line-dark); }
.section--dark .logo-tile span { color: var(--on-dark-muted); }
.section--dark .logo-tile:hover span { color: #fff; }

/* ---------- Steps ---------- */
.steps { display: grid; gap: 0; border-top: 1px solid var(--line); }
.step { display: grid; grid-template-columns: 90px 1fr; gap: 28px; align-items: start; padding: 30px 0; border-bottom: 1px solid var(--line); }
.step-num { font-weight: 700; font-size: 1.5rem; color: var(--accent); line-height: 1; }
.step h3 { margin-bottom: 4px; font-size: 1.2rem; }
.step p { margin: 0; color: var(--muted); font-size: 0.97rem; }
.section--dark .steps, .section--dark .step { border-color: var(--line-dark); }
.section--dark .step p { color: var(--on-dark-muted); }

/* ---------- CTA ---------- */
.cta {
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(40px, 6vw, 76px);
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: center;
}
.cta h2 { color: #fff; margin-bottom: 10px; }
.cta p { color: var(--on-dark-muted); margin: 0; }
.cta .btn-row { justify-content: flex-start; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.info-card { display: flex; gap: 16px; align-items: flex-start; padding: 20px 0; border-bottom: 1px solid var(--line); }
.info-card .ico { width: 44px; height: 44px; border: 1px solid var(--line); border-radius: var(--radius-sm); color: var(--ink); display: grid; place-items: center; flex: none; }
.info-card .ico svg { width: 20px; height: 20px; }
.info-card h4 { margin: 2px 0 2px; font-size: 1rem; }
.info-card p { margin: 0; color: var(--muted); font-size: 0.94rem; }

.form-panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(26px, 4vw, 42px); }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 8px; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 0.96rem; color: var(--text);
  padding: 13px 15px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: #fbfbfa;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--ink); background: #fff;
  box-shadow: 0 0 0 3px rgba(14, 14, 15, 0.07);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-note { font-size: 0.85rem; color: var(--muted-2); margin: 14px 0 0; }
.form-success { display: none; background: #edf7f0; border: 1px solid #bfe3c9; color: #1c7a3c; border-radius: var(--radius-sm); padding: 13px 16px; margin-bottom: 20px; font-size: 0.94rem; }
.form-success.show { display: block; }
.map-embed { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); min-height: 240px; margin-top: 24px; background: var(--paper-2); display: grid; place-items: center; gap: 10px; color: var(--muted-2); }
.map-embed svg { width: 38px; height: 38px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--on-dark-muted); padding-top: clamp(52px, 7vw, 84px); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: clamp(28px, 4vw, 48px); padding-bottom: 48px; }
.footer-brand .brand { margin-bottom: 18px; }
.footer-brand .brand-logo { filter: invert(1) brightness(1.6); }
.footer-brand .brand-text b { color: #fff; }
.footer-brand .brand-text span { color: var(--on-dark-muted); }
.footer-brand p { max-width: 320px; font-size: 0.94rem; }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a { width: 40px; height: 40px; border-radius: var(--radius-sm); border: 1px solid var(--line-dark); display: grid; place-items: center; transition: background 0.25s, border-color 0.25s; }
.footer-social a:hover { background: var(--accent); border-color: var(--accent); }
.footer-social svg { width: 18px; height: 18px; color: #fff; }
.footer-col h4 { color: #fff; font-size: 1rem; margin-bottom: 18px; }
.footer-col a, .footer-col li { display: block; color: var(--on-dark-muted); font-size: 0.93rem; margin-bottom: 11px; transition: color 0.2s; }
.footer-col a:hover { color: #fff; }
.footer-col .contact-line { display: flex; gap: 10px; align-items: center; }
.footer-col .contact-line svg { width: 16px; height: 16px; color: var(--on-dark-muted); flex: none; }
.footer-bottom { border-top: 1px solid var(--line-dark); padding-block: 22px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 0.85rem; }
.footer-bottom a:hover { color: #fff; }

/* ---------- WhatsApp float ---------- */
.wa-float { position: fixed; inset-inline-start: 24px; bottom: 24px; width: 56px; height: 56px; border-radius: 50%; background: #22c15e; display: grid; place-items: center; box-shadow: 0 12px 28px -10px rgba(34, 193, 94, 0.6); z-index: 120; transition: transform 0.25s var(--ease); }
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 28px; height: 28px; color: #fff; }

/* ---------- Page hero ---------- */
.page-hero { background: var(--paper-2); padding-top: calc(var(--header-h) + clamp(36px, 5vw, 64px)); padding-bottom: clamp(40px, 5vw, 70px); border-bottom: 1px solid var(--line); }
.page-hero h1 { margin-bottom: 14px; }
.page-hero p { color: var(--muted); max-width: 640px; margin: 0; font-size: 1.06rem; }
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: 0.86rem; color: var(--muted-2); margin-bottom: 16px; }
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb span { color: var(--muted-2); }

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

/* ---------- Service blocks (services page) ---------- */
.service-block { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: clamp(26px, 4vw, 60px); align-items: center; padding-block: clamp(34px, 5vw, 64px); border-bottom: 1px solid var(--line); }
.service-block:last-child { border-bottom: 0; }
.service-block:nth-child(even) .service-media { order: 2; }
.service-media { border-radius: var(--radius-lg); overflow: hidden; min-height: 300px; background: var(--paper-3); }
.service-media img { width: 100%; height: 100%; min-height: 300px; object-fit: cover; }
.service-block .tag { display: inline-block; color: var(--accent); font-weight: 600; font-size: 0.88rem; margin-bottom: 10px; letter-spacing: 0.02em; }
.service-block h2 { margin-bottom: 14px; }
.service-block p { color: var(--muted); margin-bottom: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-media { max-width: 560px; }
}
@media (max-width: 900px) {
  .nav-toggle { display: grid; }
  .nav-menu {
    position: fixed; inset-block: 0; inset-inline-end: 0;
    width: min(84vw, 330px);
    background: var(--ink-2);
    border-inline-start: 1px solid var(--line-dark);
    flex-direction: column; align-items: stretch; gap: 2px;
    padding: 100px 24px 30px;
    transform: translateX(110%);
    transition: transform 0.35s var(--ease);
    z-index: 200; overflow-y: auto;
  }
  html[dir="rtl"] .nav-menu { transform: translateX(-110%); }
  .nav-menu.open { transform: translateX(0) !important; }
  .nav-menu a { color: var(--on-dark); padding: 14px 6px; font-size: 1.06rem; border-bottom: 1px solid var(--line-dark); }
  .nav-menu a::after { display: none; }
  .nav-menu a.active { color: var(--accent); }
  .nav-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.5); opacity: 0; visibility: hidden; transition: opacity 0.3s; z-index: 150; }
  .nav-overlay.open { opacity: 1; visibility: visible; }

  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .split, .contact-grid, .service-block, .cta { grid-template-columns: 1fr; }
  .service-block:nth-child(even) .service-media { order: 0; }
  .cta .btn-row { justify-content: flex-start; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .grid-2, .grid-3, .grid-4, .grid-auto { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-meta { gap: 22px; }
  .step { grid-template-columns: 56px 1fr; gap: 16px; }
  .btn { width: 100%; }
  .btn-row .link-arrow { width: auto; }
}

/* =========================================================
   HOME REDESIGN — dark hero, timeline, strip, showcase
   ========================================================= */

/* ---------- Pill ---------- */
.btn-pill { border-radius: 50px; }
.btn[disabled] { opacity: 0.5; }

/* ---------- Dark header (over dark hero) ---------- */
.site-header--dark:not(.scrolled) .brand-logo { filter: invert(1) brightness(1.7); }
.site-header--dark:not(.scrolled) .brand-text b { color: #fff; }
.site-header--dark:not(.scrolled) .brand-text span { color: var(--on-dark-muted); }
.site-header--dark:not(.scrolled) .nav-menu a { color: rgba(255, 255, 255, 0.82); }
.site-header--dark:not(.scrolled) .nav-menu a:hover,
.site-header--dark:not(.scrolled) .nav-menu a.active { color: #fff; }
.site-header--dark:not(.scrolled) .nav-menu a::after { background: #fff; }
.site-header--dark:not(.scrolled) .nav-menu a.active::after { background: var(--accent); }
.site-header--dark:not(.scrolled) .nav-toggle { color: #fff; border-color: var(--line-dark); }
.site-header--dark:not(.scrolled) .nav-actions .btn-primary { background: #fff; color: var(--ink); }
.site-header--dark:not(.scrolled) .nav-actions .btn-primary:hover { background: var(--accent); color: #fff; }

/* ---------- Dark hero ---------- */
.hero--dark {
  position: relative;
  background: var(--ink);
  color: #fff;
  text-align: center;
  padding-top: calc(var(--header-h) + clamp(56px, 8vw, 110px));
  padding-bottom: clamp(120px, 16vw, 210px);
  overflow: hidden;
}
.hero--dark .hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background-size: cover; background-position: center;
  opacity: 0.5;
}
.hero--dark .hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: var(--ink);
  opacity: 0.78;
}
.hero-content { position: relative; z-index: 3; max-width: 920px; margin-inline: auto; }
.hero-subtitle {
  display: inline-block;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.3em;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 24px;
}
.hero-title {
  color: #fff;
  font-size: clamp(2.2rem, 5.6vw, 4.3rem);
  font-weight: 700; letter-spacing: -0.02em; line-height: 1.14;
  margin-bottom: 22px;
}
.hero-lead {
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.02rem, 1.6vw, 1.22rem);
  max-width: 660px; margin: 0 auto 36px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.hero-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 4;
  width: 54px; height: 54px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.07); color: #fff;
  display: grid; place-items: center;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease);
}
.hero-arrow:hover { background: var(--accent); border-color: var(--accent); }
.hero-arrow svg { width: 22px; height: 22px; }
.hero-arrow--next { inset-inline-end: clamp(16px, 4vw, 44px); }
.hero-arrow--prev { inset-inline-start: clamp(16px, 4vw, 44px); }
.hero-wave { position: absolute; inset-inline: 0; bottom: -1px; z-index: 2; line-height: 0; }
.hero-wave svg { display: block; width: 100%; height: clamp(48px, 7vw, 96px); }

/* ---------- Metrics bar ---------- */
.metrics-bar { background: var(--paper); border-bottom: 1px solid var(--line); }
.metrics-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.metric {
  padding: 40px 26px 38px;
  border-top: 3px solid var(--accent);
  border-inline-end: 1px solid var(--line);
  text-align: start;
}
.metric:last-child { border-inline-end: 0; }
.metric:nth-child(2) { border-top-color: #ff4d9d; }
.metric:nth-child(3) { border-top-color: #38d39f; }
.metric:nth-child(4) { border-top-color: #ff8a3d; }
.metric .metric-ico { width: 40px; height: 40px; color: var(--navy); margin-bottom: 16px; }
.metric .metric-ico svg { width: 30px; height: 30px; }
.metric b { display: block; font-size: 2rem; font-weight: 700; line-height: 1; color: var(--ink); margin-bottom: 8px; }
.metric span { font-size: 0.92rem; color: var(--muted); }

/* ---------- Workflow (zigzag process) ---------- */
.workflow {
  position: relative;
  background: var(--ink);
  color: var(--on-dark);
  padding-block: clamp(96px, 13vw, 160px);
  clip-path: polygon(0 3%, 100% 0, 100% 97%, 0 100%);
}
.workflow .section-head p { color: var(--on-dark-muted); }

.pz-line {
  width: 2px;
  height: clamp(56px, 7vw, 96px);
  margin: 0 auto clamp(36px, 5vw, 64px);
  background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,0.5) 40%, rgba(255,255,255,0.5) 70%, rgba(255,255,255,0));
}

.process-z {
  max-width: 1140px;
  margin-inline: auto;
  display: grid;
  gap: clamp(52px, 7vw, 104px);
}
.pz-row {
  display: grid;
  grid-template-columns: 1.05fr 0.8fr 1.05fr;
  gap: clamp(18px, 3vw, 52px);
  align-items: center;
}
.pz-row > * { grid-row: 1; }
.pz-row .pz-head  { grid-column: 1; }
.pz-row .pz-media { grid-column: 2; }
.pz-row .pz-text  { grid-column: 3; }
.pz-row--flip .pz-head { grid-column: 3; }
.pz-row--flip .pz-text { grid-column: 1; }

.pz-head { display: grid; align-self: center; }
.pz-num {
  grid-area: 1 / 1;
  align-self: start;
  font-size: clamp(5rem, 11.5vw, 10.5rem);
  font-weight: 700;
  line-height: 0.82;
  letter-spacing: -0.03em;
  color: var(--accent);
}
.pz-title {
  grid-area: 1 / 1;
  align-self: end;
  z-index: 1;
  margin: 0;
  color: #fff;
  font-size: clamp(1.3rem, 2.4vw, 1.95rem);
  font-weight: 700;
  line-height: 1.45;
  text-shadow: 0 3px 16px rgba(11, 28, 51, 0.9), 0 1px 3px rgba(11, 28, 51, 0.7);
}

.pz-media { position: relative; }
.pz-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line-dark);
  background: var(--ink-3);
}
.pz-frame img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform 0.55s var(--ease);
}
.pz-media:hover .pz-frame img { transform: scale(1.05); }

.pz-arrow {
  position: absolute;
  top: -40px;
  inset-inline-start: -16px;
  width: 30px;
  color: var(--accent);
  pointer-events: none;
}
.pz-arrow svg { display: block; width: 100%; height: auto; }
.pz-row--flip .pz-arrow { inset-inline-start: auto; inset-inline-end: -16px; }
/* arrows on the right side (RTL start) mirror so the curve bows outward */
.pz-row:not(.pz-row--flip) .pz-arrow { transform: scaleX(-1); }

.pz-text { align-self: center; }
.pz-text p {
  margin: 0;
  color: var(--on-dark-muted);
  font-size: 1.02rem;
  line-height: 1.95;
}

/* light variant (soft sections) */
.section--soft .pz-title { color: var(--ink); text-shadow: none; }
.section--soft .pz-text p { color: var(--muted); }
.section--soft .pz-frame { border-color: var(--line); background: var(--paper-3); }

/* ---------- Portfolio strip ---------- */
.portfolio-strip { position: relative; }
.strip-track {
  display: flex; gap: 20px; overflow-x: auto;
  padding: 6px var(--gutter) 6px;
  scroll-behavior: smooth; scrollbar-width: none;
}
.strip-track::-webkit-scrollbar { display: none; }
.strip-card {
  flex: 0 0 clamp(250px, 30vw, 380px);
  position: relative; aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg); overflow: hidden; background: var(--paper-3);
}
.strip-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.strip-card:hover img { transform: scale(1.06); }
.strip-card .strip-cap {
  position: absolute; inset-inline: 0; bottom: 0; padding: 40px 20px 18px;
  background: rgba(11, 28, 51, 0.72); color: #fff;
  font-weight: 600; font-size: 0.95rem;
}
.strip-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 6;
  width: 50px; height: 50px; border-radius: 50%;
  background: #fff; border: 1px solid var(--line); color: var(--ink);
  display: grid; place-items: center; box-shadow: var(--shadow-sm);
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}
.strip-arrow:hover { background: var(--ink); color: #fff; }
.strip-arrow svg { width: 20px; height: 20px; }
.strip-arrow--next { inset-inline-end: clamp(10px, 3vw, 30px); }
.strip-arrow--prev { inset-inline-start: clamp(10px, 3vw, 30px); }

/* ---------- Testimonial / statement ---------- */
.testi { display: flex; flex-direction: column; align-items: center; text-align: center; max-width: 860px; margin-inline: auto; }
.testi-avatar {
  width: 92px; height: 92px; border-radius: 50%;
  background: #fff; display: grid; place-items: center;
  padding: 16px; margin-bottom: 20px; box-shadow: var(--shadow);
}
.testi-name { color: var(--accent); font-weight: 600; letter-spacing: 0.02em; }
.testi-quote {
  color: #fff; font-size: clamp(1.25rem, 2.6vw, 1.85rem);
  font-weight: 600; line-height: 1.7; margin: 14px 0 0; max-width: 780px;
}

/* ---------- CTA banner ---------- */
.cta-banner { background: var(--paper); padding-block: clamp(64px, 8vw, 116px); text-align: center; }
.cta-banner h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); margin-bottom: 18px; }
.cta-banner hr { border: 0; height: 3px; width: 74px; background: var(--accent); margin: 0 auto 24px; }
.cta-banner p { color: var(--muted); max-width: 560px; margin: 0 auto 32px; }
.cta-banner .hero-actions { justify-content: center; }

/* ---------- Footer features bar ---------- */
.footer-features { background: var(--paper-2); border-top: 1px solid var(--line); }
.footer-features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding-block: 34px; }
.footer-features-grid > div { display: flex; align-items: center; gap: 14px; }
.ff-ico {
  width: 48px; height: 48px; flex: none; border-radius: 12px;
  background: #fff; border: 1px solid var(--line); color: var(--accent);
  display: grid; place-items: center;
}
.ff-ico svg { width: 22px; height: 22px; }
.footer-features-grid b { display: block; color: var(--ink); font-size: 1rem; }
.footer-features-grid span { color: var(--muted); font-size: 0.9rem; }

.site-footer { position: relative; }
.site-footer::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 5px; background: var(--accent); }

/* ---------- Home responsive ---------- */
@media (max-width: 900px) {
  .metrics-grid { grid-template-columns: repeat(2, 1fr); }
  .metric:nth-child(2) { border-inline-end: 0; }
  .footer-features-grid { grid-template-columns: 1fr; gap: 18px; }

  .pz-row { grid-template-columns: 1fr; gap: 24px; }
  .pz-row > * { grid-row: auto; }
  .pz-row .pz-head,
  .pz-row .pz-media,
  .pz-row .pz-text { grid-column: 1; }
  .pz-arrow { display: none; }
  .pz-media { max-width: 440px; margin-inline: auto; width: 100%; }
  .pz-text { text-align: center; }
  .pz-head { justify-items: center; }
  .process-z { gap: clamp(44px, 9vw, 76px); }

  .svc-tabs { display: block; }
  .svc-tablist { display: none; }
  .svc-stage { display: block; }
  .svc-panel {
    opacity: 1;
    visibility: visible;
    transform: none;
    position: relative;
    padding-bottom: 36px;
    margin-bottom: 36px;
    border-bottom: 1px solid var(--line);
  }
  .svc-panel:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
  .svc-panel-media::before { transform: translate(10px, 10px); }
  .svc-panel-body { padding-top: 22px; }
}
@media (max-width: 700px) {
  .hero-arrow { display: none; }
  .metric { padding: 30px 18px; }
}



/* ---------- WP / Gutenberg compatibility ---------- */
h6, button, input, textarea, select, optgroup {
  font-family: "IBM Plex Sans Arabic", system-ui, -apple-system, "Segoe UI", sans-serif;
}
input, textarea, select { font-size: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; color: inherit; }
