/* PureSAF Design — white, quiet, image-led. Logical properties keep Arabic (RTL) correct. */
:root {
  --ink: #1d1d1f; --ink2: #515154; --mute: #86868b; --line: #e3e3e6; --grey: #f5f5f7; --bg: #fff;
  --gold: #b08d57; --wrap: 1240px; --r: 14px;
  --f: 'Questrial', 'Century Gothic', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
.lang-ar { --f: 'IBM Plex Sans Arabic', 'Questrial', system-ui, sans-serif; }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font: 400 17px/1.6 var(--f); color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; font-synthesis: none; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-weight: 400; letter-spacing: -.015em; line-height: 1.15; margin: 0 0 .5em; }
.lang-ar h1, .lang-ar h2, .lang-ar h3 { letter-spacing: 0; line-height: 1.35; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 24px; }
.sr, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; inset-inline-start: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 99; }
.skip:focus { inset-inline-start: 8px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.muted { color: var(--mute); }
.small { font-size: .85rem; }
.ico { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ico.big { width: 34px; height: 34px; stroke-width: 1.3; margin-bottom: 14px; }
[dir=rtl] .arr { transform: scaleX(-1); }
.kicker { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); margin-bottom: .8em; }
.lang-ar .kicker { letter-spacing: 0; font-size: .9rem; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.35rem); color: var(--ink2); max-width: 46em; font-weight: 300; }
.h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin-bottom: 1.1em; }
.link { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); font-weight: 500; border-bottom: 1px solid currentColor; padding-bottom: 2px; font-style: normal; }
.link .ico { width: 16px; height: 16px; transition: transform .2s; }
a:hover .link .ico, .link:hover .ico { transform: translateX(3px); }
[dir=rtl] a:hover .link .ico, [dir=rtl] .link:hover .ico { transform: scaleX(-1) translateX(3px); }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border-radius: 999px; font: 500 .95rem var(--f); border: 1px solid transparent; cursor: pointer; transition: .2s; }
.btn .ico { width: 18px; height: 18px; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; }
.btn-line { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-line:hover { border-color: var(--ink); }
.btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 1.6em; }

/* group bar + header */
.grp { background: var(--grey); font-size: .78rem; color: var(--ink2); }
.grp-in { display: flex; gap: 20px; align-items: center; height: 34px; overflow-x: auto; white-space: nowrap; }
.grp-l { color: var(--mute); }
.grp a:hover, .grp a[aria-current] { color: var(--ink); }
.grp a[aria-current] { font-weight: 600; }
.top { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.86); backdrop-filter: saturate(180%) blur(18px); -webkit-backdrop-filter: saturate(180%) blur(18px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand { flex-direction: column; align-items: flex-start; gap: 5px; line-height: 1; }
.wordmark { height: 26px; width: auto; display: block; }
.wordmark .w1 { fill: var(--ink); } .wordmark .w2 { fill: #a0a2a6; }
.brand-tag { font-size: .6rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink2); white-space: nowrap; }
.lang-ar .brand-tag { letter-spacing: 0; font-size: .72rem; }
.foot .wordmark { height: 30px; }
.nav { display: flex; align-items: center; gap: 24px; font-size: .92rem; }
.nav > a:not(.btn) { color: var(--ink2); }
.nav > a:not(.btn):hover, .nav > a[aria-current] { color: var(--ink); }
.nav > a[aria-current]:not(.btn) { box-shadow: inset 0 -1px 0 var(--ink); }
.langs { display: flex; gap: 2px; }
.langs a { padding: 3px 7px; border-radius: 6px; color: var(--mute); font-size: .8rem; }
.langs a[aria-current] { color: var(--ink); background: var(--grey); }
.nav-cta { padding: 9px 16px; font-size: .88rem; }
.menu-btn { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; position: relative; }
.menu-btn span:not(.sr) { position: absolute; inset-inline: 11px; height: 1.5px; background: var(--ink); transition: .2s; }
.menu-btn span:nth-child(1) { top: 18px; } .menu-btn span:nth-child(2) { top: 25px; }
.menu-btn[aria-expanded=true] span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.menu-btn[aria-expanded=true] span:nth-child(2) { top: 21px; transform: rotate(-45deg); }
@media (max-width: 1060px) {
  .menu-btn { display: block; }
  .nav { position: fixed; top: 100%; left: 0; right: 0; height: calc(100vh - 64px); height: calc(100dvh - 64px); background: #fff; flex-direction: column; align-items: stretch; gap: 0; padding: 12px 24px 80px; display: none; overflow-y: auto; }
  .nav.open { display: flex; }
  .nav > a:not(.btn) { padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 1.3rem; color: var(--ink); }
  .nav > a[aria-current]:not(.btn) { box-shadow: none; font-weight: 600; }
  .langs { padding: 18px 0; } .langs a { font-size: 1rem; }
  .nav-cta { justify-content: center; padding: 14px; font-size: 1rem; }
}

/* sections */
.sec { padding-block: clamp(56px, 8vw, 110px); }
.sec-tight { padding-block: clamp(32px, 5vw, 60px); }
.sec-grey { background: var(--grey); }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 40px; flex-wrap: wrap; }
.sec-head h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin: 0; }
.sec-sub { color: var(--ink2); max-width: 34em; margin: 0; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; font-size: 1.12rem; color: var(--ink2); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split figure { margin: 0; border-radius: var(--r); overflow: hidden; }
.split h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
.narrow { max-width: 44em; font-size: 1.1rem; color: var(--ink2); margin-top: 40px; }
@media (max-width: 800px) { .two-col, .split { grid-template-columns: 1fr; gap: 24px; } }

/* home intro + collage */
.intro { padding-block: clamp(56px, 9vw, 120px) 32px; }
.intro h1 { font-size: clamp(2.1rem, 5.2vw, 4.2rem); max-width: 16em; font-weight: 500; }
.tabs { display: flex; gap: 6px; margin-bottom: 22px; overflow-x: auto; scrollbar-width: none; }
.tabs a { padding: 8px 16px; border-radius: 999px; color: var(--ink2); white-space: nowrap; font-size: .95rem; }
.tabs a:hover { color: var(--ink); }
.tabs a[aria-selected=true] { background: var(--ink); color: #fff; }
/* justified rows: tile width grows with its photo's ratio, height follows, so photos are shown whole */
.collage { display: flex; flex-wrap: wrap; gap: 12px; --h: 300px; }
.collage::after { content: ''; flex: 999 1 0; }
.collage[hidden] { display: none; }
.tile { position: relative; overflow: hidden; border-radius: 4px; background: var(--grey); flex: var(--r) 1 calc(var(--r) * var(--h)); aspect-ratio: var(--r); }
.tile img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); transition: transform .7s cubic-bezier(.2,.7,.2,1), filter .5s; }
.tile:hover img, .tile:focus-visible img { transform: scale(1.04); filter: none; }
.tile-c { position: absolute; inset: auto 0 0 0; padding: 40px 16px 14px; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,.6)); display: flex; flex-direction: column; opacity: 0; transform: translateY(6px); transition: .3s; }
.tile-c b { font-weight: 500; font-size: 1rem; line-height: 1.25; }
.tile-c small { opacity: .85; font-size: .8rem; }
.tile:hover .tile-c, .tile:focus-visible .tile-c { opacity: 1; transform: none; }
@media (hover: none) { .tile-c { opacity: 1; transform: none; } }
.more-row { margin-top: 28px; }
@media (max-width: 900px) { .collage { --h: 200px; gap: 8px; } }
@media (max-width: 520px) { .collage { --h: 150px; gap: 6px; } .tile-c { padding: 24px 10px 8px; } .tile-c b { font-size: .85rem; } .tile-c small { display: none; } }

/* departments */
.depts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.dept figure { margin: 0 0 20px; border-radius: var(--r); overflow: hidden; aspect-ratio: 4/3; }
.dept figure img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s; }
.dept:hover figure img { transform: scale(1.04); }
.dept .kicker { display: block; margin-bottom: 4px; }
.dept b { display: block; font-size: 1.6rem; font-weight: 500; margin-bottom: 8px; }
.dept p { color: var(--ink2); font-size: .98rem; }
@media (max-width: 860px) { .depts { grid-template-columns: 1fr; gap: 48px; } }

/* numbers */
.nums { padding-block: 56px; border-block: 1px solid var(--line); }
.nums-in { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.nums p { margin: 0; display: flex; flex-direction: column; }
.nums b { font-size: clamp(2.2rem, 4vw, 3.4rem); font-weight: 400; line-height: 1; margin-bottom: 8px; }
.nums span { color: var(--ink2); font-size: .92rem; max-width: 14em; }
@media (max-width: 700px) { .nums-in { grid-template-columns: 1fr 1fr; row-gap: 36px; } }

/* founder teaser + studio */
.founder-t blockquote { margin: 0 0 28px; max-width: 30em; }
.founder-t blockquote p { font-size: clamp(1.5rem, 3vw, 2.3rem); line-height: 1.3; font-weight: 300; letter-spacing: -.01em; }
.founder-t footer { display: flex; flex-direction: column; color: var(--ink2); font-size: .95rem; }
.founder-t footer b { color: var(--ink); font-weight: 500; }
.founder { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; }
.founder-id h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin-bottom: .2em; }
.founder-id blockquote { margin: 32px 0 0; padding-inline-start: 20px; border-inline-start: 2px solid var(--gold); font-size: 1.2rem; font-weight: 300; color: var(--ink2); }
.founder-txt p { color: var(--ink2); font-size: 1.08rem; }
.areas { list-style: none; padding: 0; margin: 28px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; }
.areas li { display: flex; gap: 10px; align-items: flex-start; }
.areas .ico { color: var(--gold); margin-top: 3px; }
.note { font-size: .85rem; color: var(--mute); border-top: 1px solid var(--line); padding-top: 16px; }
@media (max-width: 860px) { .founder { grid-template-columns: 1fr; gap: 24px; } .areas { grid-template-columns: 1fr; } }

/* group */
.group { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.g-card { display: flex; flex-direction: column; gap: 10px; padding: 28px; border: 1px solid var(--line); border-radius: var(--r); transition: .2s; }
.g-card b { font-size: 1.25rem; font-weight: 500; }
.g-card span { color: var(--ink2); font-size: .95rem; flex: 1; }
.g-card .link { align-self: flex-start; font-size: .9rem; }
.g-card:hover { border-color: var(--ink); }
.g-card.on { background: var(--grey); border-color: var(--grey); }
@media (max-width: 860px) { .group { grid-template-columns: 1fr; } }

/* clients */
.clients { padding-block: 48px 72px; }
.logos { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 28px 44px; align-items: center; }
.logos img { height: 40px; width: auto; filter: grayscale(1); opacity: .6; transition: .2s; }
.logos li:hover img { filter: none; opacity: 1; }

/* call to action */
.cta { background: var(--grey); padding-block: clamp(64px, 9vw, 120px); text-align: center; }
.cta h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
.cta p { color: var(--ink2); max-width: 36em; margin-inline: auto; }
.cta .btns { justify-content: center; }

/* page heads */
.page-head { padding-block: clamp(48px, 8vw, 100px) clamp(28px, 4vw, 48px); }
.page-head h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); }
.jump { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 28px; font-size: .92rem; }
.jump a { color: var(--ink2); border-bottom: 1px solid var(--line); }
.jump a:hover { color: var(--ink); border-color: var(--ink); }
.wide-img { margin: 0 auto; max-width: 1600px; padding-inline: 24px; }
.wide-img img { width: 100%; height: auto; max-height: 84vh; object-fit: contain; border-radius: var(--r); }
.crumbs { font-size: .88rem; color: var(--mute); }
.crumbs a:hover { color: var(--ink); }

/* features (department pages) */
.feature { display: grid; grid-template-columns: 7fr 5fr; gap: 48px; align-items: center; padding-block: 36px; }
.feature.rev { grid-template-columns: 5fr 7fr; }
.feature.rev .feature-img { order: 2; }
.feature-img { border-radius: var(--r); overflow: hidden; aspect-ratio: 3/2; }
.feature-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s; }
.feature-img:hover img { transform: scale(1.03); }
.feature h3 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.feature-txt p:not(.kicker):not(.muted) { color: var(--ink2); }
@media (max-width: 860px) { .feature, .feature.rev { grid-template-columns: 1fr; gap: 20px; } .feature.rev .feature-img { order: 0; } }

/* cards grid + filters */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px 20px; }
.card figure { margin: 0 0 12px; border-radius: 10px; overflow: hidden; aspect-ratio: 4/3; background: #e9e9ec; }
.card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.card:hover img { transform: scale(1.04); }
.card b { display: block; font-weight: 500; line-height: 1.3; }
.card small { color: var(--mute); font-size: .85rem; }
.card[hidden] { display: none; }
@media (max-width: 1000px) { .grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px) { .grid { grid-template-columns: 1fr 1fr; gap: 24px 12px; } }
.filters { margin-bottom: 32px; display: flex; flex-direction: column; gap: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font: 400 .9rem var(--f); padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink2); cursor: pointer; }
.chip i { font-style: normal; color: var(--mute); font-size: .8em; margin-inline-start: 2px; }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed=true] { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip[aria-pressed=true] i { color: #bbb; }
.chips-s .chip { font-size: .84rem; padding: 5px 12px; }

/* services / values / steps */
.svc { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 32px; }
.svc > div { border-top: 1px solid var(--line); padding-top: 20px; }
.svc .n, .steps .n { display: block; color: var(--gold); font-size: .85rem; margin-bottom: 10px; }
.svc b { display: block; font-size: 1.15rem; font-weight: 500; margin-bottom: 6px; }
.svc p { color: var(--ink2); font-size: .96rem; margin: 0; }
.svc-ico { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 860px) { .svc, .svc-ico { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .svc { grid-template-columns: 1fr; } }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 24px; counter-reset: s; }
.steps li { border-top: 2px solid var(--ink); padding-top: 18px; }
.steps b { display: block; font-weight: 500; margin-bottom: 6px; }
.steps p { color: var(--ink2); font-size: .92rem; margin: 0; }
@media (max-width: 1000px) { .steps { grid-template-columns: repeat(3, 1fr); row-gap: 36px; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr 1fr; } }

/* faq */
.faq { display: grid; grid-template-columns: 4fr 8fr; gap: 48px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 0; font-size: 1.12rem; font-weight: 500; display: flex; justify-content: space-between; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq-i { transition: transform .2s; }
.faq details[open] .faq-i { transform: rotate(45deg); }
.faq details p { color: var(--ink2); padding-bottom: 20px; margin: 0; max-width: 42em; }
@media (max-width: 860px) { .faq { grid-template-columns: 1fr; gap: 8px; } }

/* other departments */
.others { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.others a { position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 16/9; }
.others img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s; }
.others a:hover img { transform: scale(1.04); }
.others span { position: absolute; inset: auto 0 0 0; padding: 40px 24px 20px; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,.55)); display: flex; justify-content: space-between; align-items: center; }
.others b { font-size: 1.5rem; font-weight: 500; }
@media (max-width: 700px) { .others { grid-template-columns: 1fr; } }

/* design -> built */
.d2r-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.d2r { margin: 0; }
.d2r-img { position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 4/3; }
.d2r-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .8s; }
.d2r-design { opacity: 1; } .d2r.is-built .d2r-design { opacity: 0; }
.d2r figcaption { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 14px; flex-wrap: wrap; }
.d2r figcaption a { display: inline-flex; gap: 6px; align-items: center; font-weight: 500; }
.d2r-sw { display: inline-flex; background: var(--grey); border-radius: 999px; padding: 3px; }
.sec-grey .d2r-sw { background: #fff; }
.d2r-sw button { font: 400 .85rem var(--f); border: 0; background: none; padding: 6px 14px; border-radius: 999px; cursor: pointer; color: var(--ink2); }
.d2r-sw button[aria-pressed=true] { background: var(--ink); color: #fff; }
@media (max-width: 760px) { .d2r-grid { grid-template-columns: 1fr; } }

/* project page */
.proj-head h1 { font-size: clamp(2rem, 5vw, 3.8rem); }
.proj-cover a { display: block; cursor: zoom-in; }
.proj-body { display: grid; grid-template-columns: 4fr 8fr; gap: 56px; }
.facts { margin: 0; display: flex; flex-direction: column; gap: 0; }
.facts div { border-top: 1px solid var(--line); padding-block: 12px; }
.facts dt { color: var(--mute); font-size: .8rem; }
.facts dd { margin: 0; }
.facts dd a { border-bottom: 1px solid var(--line); }
.story p { font-size: 1.15rem; color: var(--ink2); line-height: 1.75; }
@media (max-width: 860px) { .proj-body { grid-template-columns: 1fr; gap: 20px; } }
.g-tabs { margin-bottom: 24px; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.g-item { position: relative; border-radius: 10px; overflow: hidden; aspect-ratio: 3/2; background: var(--grey); cursor: zoom-in; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.g-plan { background: #fff; border: 1px solid var(--line); }
.g-plan img { object-fit: contain; padding: 8px; }
.g-item:hover img { transform: scale(1.03); }
.g-kind { position: absolute; inset-block-start: 10px; inset-inline-start: 10px; background: rgba(255,255,255,.9); font-size: .72rem; padding: 3px 9px; border-radius: 999px; color: var(--ink2); }
.g-item[hidden] { display: none; }
@media (max-width: 700px) { .gallery { grid-template-columns: 1fr 1fr; gap: 8px; } }
.next a { display: block; position: relative; height: clamp(260px, 40vw, 460px); overflow: hidden; margin-top: 40px; }
.next img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s; }
.next a:hover img { transform: scale(1.03); }
.next a::after { content: ''; position: absolute; inset: 0; background: linear-gradient(transparent 30%, rgba(0,0,0,.6)); }
.next span { position: absolute; inset: auto 0 36px 0; z-index: 1; color: #fff; display: flex; flex-direction: column; }
.next small { opacity: .8; }
.next b { font-size: clamp(1.6rem, 3.6vw, 2.8rem); font-weight: 500; display: inline-flex; gap: 10px; align-items: center; }
.next b .ico { width: 28px; height: 28px; }

/* lightbox */
.lb { position: fixed; inset: 0; background: rgba(255,255,255,.97); z-index: 100; display: flex; align-items: center; justify-content: center; }
.lb[hidden] { display: none; }
.lb img { max-width: 92vw; max-height: 86vh; object-fit: contain; }
.lb button { position: absolute; background: none; border: 0; font-size: 2.4rem; color: var(--ink); cursor: pointer; width: 56px; height: 56px; }
.lb-x { top: 12px; inset-inline-end: 12px; }
.lb-p { inset-inline-start: 8px; top: 50%; transform: translateY(-50%); }
.lb-n { inset-inline-end: 8px; top: 50%; transform: translateY(-50%); }
[dir=rtl] .lb-p, [dir=rtl] .lb-n { transform: translateY(-50%) scaleX(-1); }
.lb-c { position: absolute; bottom: 14px; inset-inline: 0; text-align: center; color: var(--mute); font-size: .85rem; margin: 0; }

/* contact */
.contact { display: grid; grid-template-columns: 7fr 5fr; gap: 56px; align-items: start; }
.form { display: flex; flex-direction: column; gap: 16px; }
.form label { display: flex; flex-direction: column; gap: 6px; font-size: .88rem; color: var(--ink2); }
.form input, .form select, .form textarea { font: 400 1rem var(--f); padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); width: 100%; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--ink); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form .btn { align-self: flex-start; }
.form-msg.ok { color: #1a7f37; } .form-msg.fail { color: #b42318; }
.cinfo { display: flex; flex-direction: column; gap: 10px; }
.cbox { display: flex; gap: 14px; padding: 18px; background: var(--grey); border-radius: var(--r); }
.cbox .ico { margin-top: 2px; }
.cbox > span { display: flex; flex-direction: column; font-size: .95rem; }
.cbox:hover { background: #ececef; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } .row2 { grid-template-columns: 1fr; } }

/* footer */
.foot { border-top: 1px solid var(--line); padding-top: 64px; font-size: .9rem; color: var(--ink2); }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 40px; }
.foot-brand p { max-width: 24em; margin-top: 16px; }
.foot-h { font-size: .8rem; font-weight: 600; color: var(--ink); margin-bottom: 14px; letter-spacing: 0; }
.foot-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.foot-list a:hover { color: var(--ink); }
.social { display: flex; gap: 12px; }
.social a { color: var(--ink2); } .social a:hover { color: var(--ink); }
.foot-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid var(--line); margin-top: 48px; padding-block: 20px 28px; font-size: .78rem; color: var(--mute); }
.foot-base .langs { gap: 12px; } .foot-base .langs a { padding: 0; font-size: .78rem; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }
.wa-float { position: fixed; inset-block-end: 20px; inset-inline-end: 20px; width: 52px; height: 52px; border-radius: 50%; background: #25d366; color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 20px rgba(0,0,0,.15); z-index: 40; }
.wa-float .ico { width: 26px; height: 26px; }
.nf p { margin-top: 12px; } .nf a { border-bottom: 1px solid var(--line); }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; } }

/* Questrial: a touch of tracking for small UI text, like the brand tagline */
body:not(.lang-ar) .nav, body:not(.lang-ar) .grp, body:not(.lang-ar) .tabs, body:not(.lang-ar) .foot-list { letter-spacing: .03em; }
.wide-img figcaption { padding-top: 10px; font-size: .9rem; }
.team-lead { max-width: 40em; margin-bottom: 36px; }
.team { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 28px 32px; }
.team > div { border-top: 1px solid var(--line, #e5e5e5); padding-top: 16px; }
.team b { display: block; font-weight: 500; font-size: 1.1rem; }
.team span { display: block; color: var(--gold); font-size: .9rem; margin: 2px 0 8px; }
.team p { color: var(--ink2); font-size: .98rem; margin: 0; }
