/* ============================================================
   takween — modern redesign
   ============================================================ */

:root {
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Manrope', sans-serif;
  --font-ar: 'Tajawal', system-ui, sans-serif;   /* Arabic (modern, clean) */
  --hue: 263;                 /* Takween brand blue (#0053FF) */

  /* Light theme = Takween's dominant identity: neutral grays + vivid blue */
  --bg:       oklch(0.95 0.003 var(--hue));   /* ~#EDEDED neutral light gray */
  --bg-2:     oklch(0.925 0.004 var(--hue));
  --surface:  #ffffff;
  --text:     oklch(0.20 0.015 var(--hue));   /* near-black navy */
  --muted:    oklch(0.50 0.018 var(--hue));
  --faint:    oklch(0.64 0.015 var(--hue));
  --border:   oklch(0.885 0.005 var(--hue));
  --border-2: oklch(0.82 0.008 var(--hue));
  --primary:  oklch(0.53 0.255 var(--hue));   /* #0053FF — vivid electric blue */
  --primary-2:oklch(0.47 0.235 var(--hue));   /* deeper blue for gradients/hover */
  --primary-soft: oklch(0.93 0.05 var(--hue));
  --on-primary: #ffffff;
  --glow:     oklch(0.55 0.25 var(--hue));
  --chip:     oklch(0.93 0.012 var(--hue));
  --shadow:   0 1px 2px rgba(8,16,42,.05), 0 12px 32px -12px rgba(6,28,96,.16);
  --shadow-lg:0 2px 6px rgba(8,16,42,.06), 0 30px 60px -22px rgba(6,28,96,.24);
}

[data-theme="dark"] {
  /* Dark theme = Takween's dramatic look: near-black + vivid blue + white */
  --bg:       oklch(0.155 0.008 var(--hue));   /* near-black, faint cool */
  --bg-2:     oklch(0.195 0.012 var(--hue));
  --surface:  oklch(0.215 0.015 var(--hue));
  --text:     oklch(0.97 0.005 var(--hue));
  --muted:    oklch(0.72 0.02 var(--hue));
  --faint:    oklch(0.56 0.02 var(--hue));
  --border:   oklch(0.30 0.02 var(--hue));
  --border-2: oklch(0.38 0.025 var(--hue));
  --primary:  oklch(0.58 0.255 var(--hue));   /* vivid #0053FF-family, lifted for dark bg */
  --primary-2:oklch(0.50 0.245 var(--hue));
  --primary-soft: oklch(0.30 0.10 var(--hue));
  --on-primary: #ffffff;
  --glow:     oklch(0.55 0.27 var(--hue));
  --chip:     oklch(0.255 0.02 var(--hue));
  --shadow:   0 1px 2px rgba(0,0,0,.4), 0 14px 34px -14px rgba(0,0,0,.6);
  --shadow-lg:0 2px 6px rgba(0,0,0,.45), 0 34px 70px -24px rgba(0,0,0,.78);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 96px; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  transition: background .4s ease, color .4s ease;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--primary); color: var(--on-primary); }

.wrap { width: min(1180px, 92vw); margin-inline: auto; }

.eyebrow {
  font-family: var(--font-body);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: .6rem;
}
.eyebrow .ar { font-size: 1.05rem; letter-spacing: 0; font-weight: 600; opacity: .9; }
.eyebrow::before {
  content: "";
  width: 26px; height: 1.5px;
  background: var(--primary);
  display: inline-block;
}

h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.04; letter-spacing: -0.02em; color: var(--text); }

.display {
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  font-weight: 500;
  letter-spacing: -0.035em;
}
.section-title { font-size: clamp(2rem, 4vw, 3.1rem); font-weight: 500; letter-spacing: -0.03em; }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--muted); max-width: 56ch; }

.btn {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--font-body); font-weight: 600; font-size: .98rem;
  padding: .92rem 1.5rem; border-radius: 100px; border: 1px solid transparent;
  cursor: pointer; transition: transform .25s cubic-bezier(.2,.8,.2,1), background .25s, box-shadow .25s, color .25s; white-space: nowrap;
}
.btn .arrow { transition: transform .3s cubic-bezier(.2,.8,.2,1); }
.btn:hover .arrow { transform: translateX(4px); }
.btn-primary { background: var(--primary); color: var(--on-primary); box-shadow: 0 8px 22px -10px var(--glow); }
.btn-primary:hover { background: var(--primary-2); transform: translateY(-2px); box-shadow: 0 14px 30px -12px var(--glow); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border-2); }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); }
.btn-light { background: var(--surface); color: var(--text); }
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow); }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  display: flex; align-items: center; justify-content: center;
  padding: 14px 0;
  transition: padding .35s ease;
}
.nav-inner {
  width: min(1180px, 92vw);
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 12px 10px 22px;
  border-radius: 100px;
  border: 1px solid transparent;
  transition: background .35s ease, border-color .35s ease, box-shadow .35s ease, backdrop-filter .35s;
}
.nav.scrolled .nav-inner {
  background: color-mix(in oklab, var(--bg) 72%, transparent);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
  border-color: var(--border);
  box-shadow: var(--shadow);
}
.brand { display: flex; align-items: center; gap: .5rem; font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; letter-spacing: -0.03em; color: var(--text); }
.brand .dot { color: var(--primary); }
.brand .ar { font-family: var(--font-body); font-size: .95rem; font-weight: 600; color: var(--muted); transform: translateY(-1px); }
/* Real Takween logo — blue on light theme, white on dark theme */
.brand-logo { height: 30px; width: auto; display: block; }
.brand-logo--dark { display: none; }
[data-theme="dark"] .brand-logo--light { display: none; }
[data-theme="dark"] .brand-logo--dark { display: block; }
.footer-brand .brand-logo { height: 40px; }
.nav-cta { display: flex; align-items: center; gap: .55rem; }
.icon-btn {
  width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--border-2);
  background: transparent; color: var(--text); cursor: pointer; display: grid; place-items: center;
  transition: border-color .2s, color .2s, transform .2s;
}
.icon-btn:hover { border-color: var(--primary); color: var(--primary); }

/* Inline nav links (desktop + tablet) */
.nav-links { display: flex; align-items: center; gap: clamp(.85rem, 1.7vw, 1.8rem); }
.nav-links a { font-size: .95rem; font-weight: 500; color: var(--muted); transition: color .2s; white-space: nowrap; }
.nav-links a:hover { color: var(--text); }
.nav-start { white-space: nowrap; }

/* Language switcher */
.lang-switch {
  display: inline-flex; align-items: center; gap: .1rem;
  border: 1px solid var(--border-2); border-radius: 999px; padding: .22rem .3rem;
  font-family: var(--font-display); font-size: .8rem; font-weight: 600;
}
.lang-switch a { color: var(--muted); padding: .22rem .55rem; border-radius: 999px; line-height: 1; transition: background .2s, color .2s; }
.lang-switch a.is-active { background: var(--primary); color: var(--on-primary); }
.lang-switch a:not(.is-active):hover { color: var(--text); }
.lang-switch .sep { color: var(--border-2); }

/* Hamburger menu (mobile only — shown via media query below) */
.nav-toggle { display: none; }
.nav-toggle .i-close { display: none; }
.nav.open .nav-toggle .i-burger { display: none; }
.nav.open .nav-toggle .i-close { display: block; }
.nav-menu {
  position: absolute; top: calc(100% - 4px);
  inset-inline-end: calc((100vw - min(1180px, 92vw)) / 2);
  display: flex; flex-direction: column; gap: .15rem;
  min-width: 250px; max-width: min(340px, 92vw); padding: .7rem;
  background: color-mix(in oklab, var(--surface) 97%, transparent);
  -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid var(--border); border-radius: 20px; box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(-10px);
  transition: opacity .22s ease, transform .22s ease, visibility .22s;
}
.nav.open .nav-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-menu a { padding: .72rem .9rem; border-radius: 12px; color: var(--text); font-weight: 500; font-size: 1rem; transition: background .15s, color .15s; }
.nav-menu a:hover { background: var(--bg-2); color: var(--primary); }
.nav-menu-cta { margin-top: .45rem; justify-content: center; text-align: center; }
.nav-menu-cta:hover { color: var(--on-primary); }
/* Inline navbar on desktop + tablet; hamburger + dropdown on mobile only */
@media (min-width: 769px) { .nav-menu { display: none; } }
@media (max-width: 999px) { .nav-start { display: none; } }
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-toggle { display: grid; }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding: 168px 0 90px; overflow: hidden; }
.hero-glow {
  position: absolute; z-index: 0; pointer-events: none;
  width: 760px; height: 760px; inset-inline-end: -180px; top: -200px;
  background: radial-gradient(circle, var(--glow) 0%, transparent 62%);
  opacity: .22; filter: blur(20px);
}
[data-theme="dark"] .hero-glow { opacity: .35; }
.hero-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 4rem; align-items: center;
}
.hero h1 { margin: 1.4rem 0 1.6rem; }
.hero h1 .line2 { color: var(--primary); }
.hero-cta { display: flex; align-items: center; gap: 1.2rem; margin-top: 2.2rem; flex-wrap: wrap; }
.hero-social { display: flex; align-items: center; gap: .9rem; color: var(--faint); font-size: .85rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.hero-social .socials { display: flex; gap: .55rem; }
.hero-social .soc {
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  border: 1.5px solid var(--border-2); color: var(--muted);
  transition: background .2s, border-color .2s, color .2s, transform .2s;
}
.hero-social .soc:hover { background: var(--primary); border-color: var(--primary); color: var(--on-primary); transform: translateY(-2px); }
.hero-social .soc svg { width: 16px; height: 16px; }

.hero-visual { position: relative; }
.hero-visual .frame {
  background: transparent; border: none; box-shadow: none;
  border-radius: 0; overflow: visible;
}
.hero-visual .frame img { width: 100%; height: auto; object-fit: contain; display: block; filter: drop-shadow(0 30px 50px rgba(6,28,96,.14)); }
.hero-badge {
  position: absolute; inset-inline-start: -28px; bottom: 34px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 18px;
  padding: 1rem 1.2rem; box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: .9rem;
  max-width: 230px;
}
.hero-badge .num { font-family: var(--font-display); font-size: 2.1rem; font-weight: 600; color: var(--primary); line-height: 1; }
.hero-badge small { font-size: .82rem; color: var(--muted); line-height: 1.3; display: block; }

/* ---------- Marquee strip ---------- */
.strip { border-block: 1px solid var(--border); padding: 1.3rem 0; background: var(--bg-2); overflow: hidden; }
.strip-track { display: flex; gap: 3.5rem; white-space: nowrap; width: max-content; animation: marquee 26s linear infinite; }
.strip-item { font-family: var(--font-display); font-size: 1.15rem; font-weight: 500; color: var(--muted); display: inline-flex; align-items: center; gap: 3.5rem; }
.strip-item::after { content: "✳"; color: var(--primary); font-size: .9rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Section scaffolding ---------- */
section { position: relative; }
.block { padding: 100px 0; }
.head { display: flex; flex-direction: column; gap: 1.1rem; max-width: 60ch; }
.head.center { align-items: center; text-align: center; margin-inline: auto; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 4rem; align-items: center; }
.about-media { position: relative; }
.about-media img { width: 100%; height: auto; object-fit: contain; display: block; }
.about-stat { position: absolute; inset-inline-end: 18px; bottom: 24px; background: var(--primary); color: var(--on-primary); border-radius: 16px; padding: .9rem 1.1rem; box-shadow: var(--shadow); }
.about-stat .y { font-family: var(--font-display); font-size: 1.7rem; font-weight: 600; line-height: 1; }
.about-stat small { font-size: .76rem; opacity: .85; }

/* Achievements / stats band */
.stats-band { padding: 44px 0 4px; }
.stats-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.stat { background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 1.9rem 1.4rem; text-align: center; box-shadow: var(--shadow); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.stat:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--border-2); }
.stat-n { display: block; font-family: var(--font-display); font-weight: 700; font-size: clamp(2.2rem, 4.2vw, 3.1rem); line-height: 1; color: var(--primary); letter-spacing: -.02em; }
.stat-n .plus { font-size: .7em; vertical-align: top; margin-inline-start: .04em; }
.stat-l { display: block; margin-top: .65rem; color: var(--muted); font-size: .96rem; }
@media (max-width: 700px) { .stats-row { grid-template-columns: 1fr; } }

/* Award / recognition */
.award-panel {
  display: grid; grid-template-columns: auto 1fr; align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
  background: linear-gradient(135deg, oklch(0.22 0.03 263), oklch(0.145 0.018 263));
  border: 1px solid oklch(0.42 0.05 263);
  border-radius: 30px; padding: clamp(2rem, 5vw, 3.6rem);
  box-shadow: var(--shadow-lg);
}
.award-badge { display: grid; place-items: center; }
.award-badge img { width: clamp(150px, 20vw, 210px); height: auto; filter: drop-shadow(0 18px 34px rgba(0,0,0,.55)); }
.award-body .eyebrow { color: oklch(0.78 0.14 263); }
.award-body .section-title { color: #fff; }
.award-body .section-title .hl { color: oklch(0.72 0.17 263); }
.award-body .lead { color: rgba(255,255,255,.74); margin-top: 1.1rem; }
.award-meta { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem 1.8rem; margin-top: 1.9rem; }
.award-meta li { display: flex; flex-direction: column; gap: .2rem; border-top: 1px solid rgba(255,255,255,.15); padding-top: .7rem; }
.award-meta span { font-size: .74rem; text-transform: uppercase; letter-spacing: .12em; color: rgba(255,255,255,.5); }
.award-meta b { font-size: 1.02rem; font-weight: 600; color: #fff; }
@media (max-width: 760px) {
  .award-panel { grid-template-columns: 1fr; gap: 2rem; text-align: center; }
  .award-meta { text-align: left; max-width: 420px; margin-inline: auto; }
}
.feature-list { display: grid; gap: 1.1rem; margin-top: 2rem; }
.feature {
  display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: start;
  padding: 1.1rem 1.2rem; border-radius: 16px; border: 1px solid var(--border);
  background: var(--surface); transition: transform .25s, border-color .25s, box-shadow .25s;
}
.feature:hover { transform: translateY(-3px); border-color: var(--border-2); box-shadow: var(--shadow); }
.feature .tick { width: 34px; height: 34px; border-radius: 50%; background: var(--primary-soft); color: var(--primary); display: grid; place-items: center; flex: none; }
.feature p { font-size: .98rem; color: var(--muted); }
.feature p b { color: var(--text); font-weight: 600; }

/* ---------- Steps ---------- */
.steps-section { background: var(--bg-2); border-block: 1px solid var(--border); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; margin-top: 3rem; }
.step {
  position: relative; padding: 2.2rem 2rem 2.4rem; border-radius: 22px;
  background: var(--surface); border: 1px solid var(--border); overflow: hidden;
  transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s, border-color .3s;
}
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--border-2); }
.step .n { font-family: var(--font-display); font-size: 3.4rem; font-weight: 600; color: var(--primary); opacity: .25; line-height: 1; letter-spacing: -0.04em; }
.step h3 { font-size: 1.45rem; margin: 1rem 0 .7rem; text-transform: capitalize; }
.step p { color: var(--muted); font-size: .96rem; }
.step .bar { position: absolute; left: 0; top: 0; width: 0; height: 4px; background: var(--primary); transition: width .4s ease; }
.step:hover .bar { width: 100%; }

/* ---------- Services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; margin-top: 3rem; }
.svc {
  position: relative; padding: 2rem; border-radius: 22px; border: 1px solid var(--border);
  background: var(--surface); transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s, border-color .3s;
  display: flex; flex-direction: column; gap: 1.4rem; min-height: 220px;
}
.svc:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--primary); }
.svc-icon { width: 60px; height: 60px; border-radius: 16px; background: var(--primary-soft); display: grid; place-items: center; }
.svc-icon img { width: 30px; height: 30px; }
[data-theme="dark"] .svc-icon { background: oklch(0.96 0.03 var(--hue)); }
.svc h3 { font-size: 1.35rem; margin-top: auto; }
.svc .go { position: absolute; right: 1.6rem; top: 1.6rem; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--border); display: grid; place-items: center; color: var(--muted); transition: background .25s, color .25s, border-color .25s, transform .25s; }
.svc:hover .go { background: var(--primary); color: var(--on-primary); border-color: var(--primary); transform: rotate(-45deg); }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 4rem; align-items: start; }
.faq-list { display: flex; flex-direction: column; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-q { width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: 1.5rem 0; font-family: var(--font-display); font-size: 1.18rem; font-weight: 500; color: var(--text); letter-spacing: -0.01em; }
.faq-q .pm { flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--border-2); display: grid; place-items: center; position: relative; transition: background .25s, border-color .25s, color .25s; }
.faq-q .pm::before, .faq-q .pm::after { content: ""; position: absolute; background: currentColor; border-radius: 2px; }
.faq-q .pm::before { width: 13px; height: 2px; }
.faq-q .pm::after { width: 2px; height: 13px; transition: transform .3s ease; }
.faq-item.open .pm { background: var(--primary); color: var(--on-primary); border-color: var(--primary); }
.faq-item.open .pm::after { transform: scaleY(0); }
.faq-a { overflow: hidden; max-height: 0; transition: max-height .4s cubic-bezier(.4,0,.2,1); }
.faq-a-inner { padding: 0 0 1.6rem; color: var(--muted); font-size: 1rem; max-width: 60ch; white-space: pre-line; }

/* ---------- Clients (logo marquee) ---------- */
.clients-band {
  background: linear-gradient(180deg, oklch(0.17 0.015 263), oklch(0.13 0.012 263));
  border-block: 1px solid oklch(0.32 0.03 263);
  padding: 72px 0 80px; overflow: hidden;
}
.clients-band .eyebrow { color: oklch(0.78 0.14 263); }
.clients-band .section-title { color: #fff; }
.clients-band .lead { color: rgba(255,255,255,.66); }
.clients-marquee {
  margin-top: 2.8rem; position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.clients-track {
  display: flex; align-items: center; gap: clamp(2.4rem, 5vw, 4rem);
  width: max-content; animation: clients-scroll 60s linear infinite;
}
.clients-marquee:hover .clients-track { animation-play-state: paused; }
.client-logo {
  height: 46px; width: auto; flex: none; opacity: .85;
  transition: opacity .25s ease, transform .25s ease;
}
.client-logo:hover { opacity: 1; transform: scale(1.08); }
@keyframes clients-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .clients-track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; row-gap: 2rem; }
  .clients-marquee { -webkit-mask-image: none; mask-image: none; }
}

/* ---------- CTA band ---------- */
.cta-band { padding: 100px 0; }
.cta-inner {
  position: relative; overflow: hidden; border-radius: 30px; padding: clamp(2.5rem, 6vw, 5rem);
  background: linear-gradient(135deg, var(--primary-2), var(--primary));
  color: var(--on-primary); display: grid; grid-template-columns: 1.2fr auto; gap: 2rem; align-items: center;
}
.cta-inner .ar-mark { position: absolute; inset-inline-end: -2.2rem; bottom: -3.4rem; font-family: var(--font-ar); font-weight: 900; font-size: 17rem; color: transparent; -webkit-text-stroke: 2px rgba(255,255,255,.6); text-stroke: 2px rgba(255,255,255,.6); opacity: .2; line-height: 1; pointer-events: none; }
.cta-inner h2 { color: #fff; font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 500; max-width: 18ch; position: relative; z-index: 1; }
.cta-inner p { color: rgba(255,255,255,.85); margin-top: 1rem; max-width: 46ch; position: relative; z-index: 1; }
.cta-inner .btn { position: relative; z-index: 1; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 4rem; align-items: start; }
.contact-cards { display: grid; gap: 1.2rem; margin-top: 2.2rem; }
.contact-card { display: flex; align-items: center; gap: 1.2rem; padding: 1.4rem 1.5rem; border: 1px solid var(--border); border-radius: 18px; background: var(--surface); transition: transform .25s, border-color .25s, box-shadow .25s; }
.contact-card:hover { transform: translateY(-3px); border-color: var(--primary); box-shadow: var(--shadow); }
.contact-card .ic { width: 50px; height: 50px; border-radius: 14px; background: var(--primary-soft); color: var(--primary); display: grid; place-items: center; flex: none; }
.contact-card small { color: var(--faint); font-size: .8rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.contact-card .v { font-family: var(--font-display); font-size: 1.25rem; font-weight: 500; color: var(--text); }

.form { background: var(--surface); border: 1px solid var(--border); border-radius: 24px; padding: clamp(1.6rem, 3vw, 2.6rem); box-shadow: var(--shadow); }
.field { margin-bottom: 1.2rem; }
.field label { display: block; font-size: .82rem; font-weight: 600; color: var(--muted); margin-bottom: .5rem; letter-spacing: .02em; }
.field input, .field textarea {
  width: 100%; font-family: var(--font-body); font-size: 1rem; color: var(--text);
  background: var(--bg); border: 1px solid var(--border); border-radius: 12px; padding: .9rem 1rem;
  transition: border-color .2s, box-shadow .2s; resize: vertical;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-soft); }
.field input::placeholder, .field textarea::placeholder { color: var(--faint); }
.form .btn-primary { width: 100%; justify-content: center; margin-top: .4rem; }

/* ---------- Footer ---------- */
.footer { background: var(--bg-2); border-top: 1px solid var(--border); padding: 72px 0 32px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.5rem; }
.footer h4 { font-family: var(--font-body); font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); margin-bottom: 1.2rem; }
.footer-brand .brand { font-size: 1.7rem; margin-bottom: 1rem; }
.footer-brand p { color: var(--muted); font-size: .95rem; max-width: 32ch; }
.footer ul { list-style: none; display: grid; gap: .7rem; }
.footer ul a, .footer ul li { color: var(--muted); font-size: .96rem; transition: color .2s; }
.footer ul a:hover { color: var(--primary); }
.sub { display: flex; gap: .5rem; margin-top: 1rem; }
.sub input { flex: 1; min-width: 0; background: var(--surface); border: 1px solid var(--border); border-radius: 100px; padding: .8rem 1.1rem; font-family: var(--font-body); font-size: .92rem; color: var(--text); }
.sub input:focus { outline: none; border-color: var(--primary); }
.sub button { flex: none; }
.footer-bottom { margin-top: 3.5rem; padding-top: 1.6rem; border-top: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; color: var(--faint); font-size: .9rem; }
.footer-bottom .socials { display: flex; gap: .7rem; }

/* ---------- Reveal (opt-in: hides only when html.reveal-on is set by JS in a visible tab) ---------- */
html.reveal-on [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
html.reveal-on [data-reveal].in { opacity: 1; transform: none; }
html.reveal-on [data-reveal][data-delay="1"] { transition-delay: .08s; }
html.reveal-on [data-reveal][data-delay="2"] { transition-delay: .16s; }
html.reveal-on [data-reveal][data-delay="3"] { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) { html.reveal-on [data-reveal] { opacity: 1; transform: none; transition: none; } .strip-track { animation: none; } }

/* ---------- Corner rounding tweak ---------- */
[data-corners="sharp"] .step,
[data-corners="sharp"] .svc,
[data-corners="sharp"] .feature,
[data-corners="sharp"] .partner,
[data-corners="sharp"] .contact-card,
[data-corners="sharp"] .hero-visual .frame,
[data-corners="sharp"] .hero-badge,
[data-corners="sharp"] .about-media,
[data-corners="sharp"] .form,
[data-corners="sharp"] .cta-inner,
[data-corners="sharp"] .svc-icon,
[data-corners="sharp"] .contact-card .ic { border-radius: 6px; }

[data-corners="round"] .step,
[data-corners="round"] .svc,
[data-corners="round"] .feature,
[data-corners="round"] .partner,
[data-corners="round"] .contact-card,
[data-corners="round"] .hero-visual .frame,
[data-corners="round"] .about-media,
[data-corners="round"] .form { border-radius: 30px; }
[data-corners="round"] .hero-badge,
[data-corners="round"] .svc-icon,
[data-corners="round"] .contact-card .ic { border-radius: 22px; }
[data-corners="round"] .cta-inner { border-radius: 38px; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid, .about-grid, .faq-grid, .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-visual { max-width: 460px; margin-inline: auto; }
  .steps, .services-grid { grid-template-columns: 1fr 1fr; }
  .cta-inner { grid-template-columns: 1fr; text-align: center; }
  .cta-inner .btn-light { justify-self: center; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 600px) {
  .block { padding: 72px 0; }
  .hero { padding: 124px 0 56px; }
  .steps, .services-grid, .footer-top { grid-template-columns: 1fr; }
  .hero-badge { inset-inline-start: 0; }
  .nav-inner { padding: 8px 10px 8px 16px; }
  .hero-cta { width: 100%; }
  .hero-cta .btn { flex: 1; justify-content: center; }
}

/* Request-a-project section */
.request-panel {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1.15fr .85fr;
  gap: clamp(2rem, 5vw, 4rem); align-items: center;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 30px; padding: clamp(2rem, 5vw, 3.6rem);
  box-shadow: var(--shadow-lg);
}
.request-mark {
  position: absolute; inset-inline-start: -1.75rem; bottom: -3rem;
  font-family: var(--font-ar); font-weight: 900; font-size: 13.5rem;
  color: transparent; -webkit-text-stroke: 2px var(--primary); text-stroke: 2px var(--primary);
  opacity: .14; line-height: 1;
  pointer-events: none; user-select: none;
}
.request-main { position: relative; z-index: 1; }
.request-cta {
  display: flex; flex-direction: column; align-items: flex-start; gap: .9rem;
  margin-top: 2.2rem;
}
.request-note { color: var(--muted); font-size: .9rem; letter-spacing: .01em; }
.request-steps { list-style: none; display: grid; gap: 1.1rem; }
.request-steps li {
  display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: start;
  padding: 1.1rem 1.2rem; border-radius: 16px;
  border: 1px solid var(--border); background: var(--bg-2);
}
.rs-n {
  flex: none; width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700;
  background: var(--primary-soft); color: var(--primary);
}
.rs-body { display: flex; flex-direction: column; gap: .2rem; }
.rs-body b { font-size: 1.02rem; font-weight: 600; color: var(--text); }
.rs-body span { color: var(--muted); font-size: .92rem; line-height: 1.5; }
@media (max-width: 860px) {
  .request-panel { grid-template-columns: 1fr; gap: 2rem; }
}

/* ============================================================
   RTL / Arabic
   ============================================================ */
/* Arabic uses Tajawal everywhere. --font-display needs !important to beat the
   Tweaks runtime's inline --font-display (Space Grotesk) on <html>. */
html[lang="ar"] { --font-display: 'Tajawal', sans-serif !important; --font-body: 'Tajawal', sans-serif; }
html[lang="ar"] body { line-height: 1.75; }
[dir="rtl"] .arrow { display: inline-block; transform: scaleX(-1); }
/* keep the lang switch and stat numbers in Latin/LTR shaping */
.lang-switch, .stat-n, .num, .n { direction: ltr; unicode-bidi: isolate; }
[dir="rtl"] .award-meta b[dir], [dir="rtl"] [dir="ltr"] { unicode-bidi: isolate; }
