/* أوروك للتطبيقات والمواقع — public site */
:root {
  --paper: #F4F6F9;
  --surface: #FFFFFF;
  --ink: #0F1729;
  --ink-2: #2A3347;
  --muted: #5A6577;
  --line: #DEE3EA;
  --teal: #1BA7B5;
  --saffron: #F2A007;
  --saffron-ink: #8A5A00;
  --saffron-soft: #FDF1D8;
  --clinics: #7C4DDB;
  --accounting: #0EA5E9;
  --display: 'Alexandria', 'Noto Sans Arabic', system-ui, sans-serif;
  --body: 'Noto Sans Arabic', 'Noto Sans', system-ui, sans-serif;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
.lang-en { --body: 'Noto Sans', system-ui, sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1rem/1.75 var(--body); overflow-x: clip; }
.lang-en body, body.lang-en { line-height: 1.6; }
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; line-height: 1.3; margin: 0; letter-spacing: 0; }
.lang-en h1, .lang-en h2, .lang-en h3 { letter-spacing: -.01em; line-height: 1.15; }
p { margin: 0; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--saffron); outline-offset: 2px; border-radius: 6px; }
.ico { width: 1.25em; height: 1.25em; flex: none; }
[dir="rtl"] .ico-dir { transform: scaleX(-1); }
[dir="ltr"] .crumb .ico-dir { transform: scaleX(-1); }
[dir="rtl"] .crumb .ico-dir { transform: none; }
.nw { white-space: nowrap; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--r-sm); z-index: 100; }
.skip:focus { top: 12px; }
.wrap { width: min(var(--wrap), 100% - var(--gutter) * 2); margin-inline: auto; }
.wrap-narrow { width: min(760px, 100% - var(--gutter) * 2); }

/* ---------- buttons & badges ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 48px; padding: 0 22px; border-radius: 12px; border: 1.5px solid transparent; font-family: var(--display); font-weight: 600; font-size: 1rem; cursor: pointer; transition: background-color .2s, border-color .2s, transform .2s var(--ease); white-space: nowrap; }
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--saffron); color: var(--ink); }
.btn-primary:hover { background: #FFB21F; }
.btn-line { border-color: var(--ink); color: var(--ink); }
.btn-line:hover { background: var(--ink); color: #fff; }
.btn-wa { background: var(--ink); color: #fff; }
.btn-wa .ico { color: #25D366; }
.btn-wa:hover { background: var(--ink-2); }
.btn-sm { min-height: 40px; padding: 0 14px; font-size: .9rem; border-radius: 10px; }
.btn-block { width: 100%; }

.badges { display: flex; flex-wrap: wrap; gap: 8px; }
.badge { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 6px 14px 6px 12px; border-radius: 10px; background: var(--ink); color: #fff; font: 600 .95rem/1.1 var(--display); transition: background-color .2s; }
.badge:hover { background: var(--ink-2); }
.badge .ico { width: 22px; height: 22px; }
.badge span { display: flex; flex-direction: column; }
.badge small { font: 400 .68rem/1.2 var(--body); opacity: .8; }
.more { display: inline-flex; align-items: center; gap: 4px; font-family: var(--display); font-weight: 600; color: var(--ink); font-size: .95rem; }
.more:hover { color: var(--saffron-ink); }
.more .ico { width: 1em; height: 1em; }
.kind { display: inline-block; font-size: .8rem; font-weight: 600; color: var(--saffron-ink); background: var(--saffron-soft); padding: 2px 10px; border-radius: 99px; }

/* ---------- header ---------- */
.top { position: sticky; top: 0; z-index: 40; background: rgba(244, 246, 249, .86); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s, background-color .2s; }
.top.is-scrolled { border-bottom-color: var(--line); background: rgba(255, 255, 255, .92); }
.top-in { display: flex; align-items: center; gap: 24px; height: 68px; }
.logo { display: inline-flex; align-items: center; flex: none; padding: 4px 0; }
/* Uruk wordmark (same lockup as Uruk Clinic) tinted with the branch saffron. */
.logo-mark { display: block; height: 42px; aspect-ratio: 549 / 347; background: linear-gradient(105deg, #D9730B 0%, #F2A007 70%, #F7B528 100%); -webkit-mask: url(/img/uruk-apps-mask.png) center / contain no-repeat; mask: url(/img/uruk-apps-mask.png) center / contain no-repeat; }
.nav { display: flex; align-items: center; gap: 26px; margin-inline-start: auto; font-family: var(--display); font-weight: 500; font-size: .95rem; color: var(--ink-2); }
.nav a { padding: 6px 0; position: relative; }
.nav a:hover { color: var(--ink); }
.nav a::after { content: ''; position: absolute; inset-inline: 0; bottom: 0; height: 2px; background: var(--saffron); transform: scaleX(0); transition: transform .25s var(--ease); }
.nav a:hover::after { transform: scaleX(1); }
.nav .nav-lang { display: none; }
.top-actions { display: flex; align-items: center; gap: 10px; }
.lang { font: 600 .9rem var(--display); padding: 8px 10px; border-radius: 8px; color: var(--ink-2); }
.lang:hover { background: var(--line); }
.menu-btn { display: none; width: 44px; height: 44px; border: 0; background: transparent; border-radius: 10px; cursor: pointer; place-items: center; }
.menu-btn .ico { width: 26px; height: 26px; }

/* ---------- hero ---------- */
.hero { padding: clamp(32px, 6vw, 72px) 0 clamp(48px, 7vw, 96px); }
.hero-in { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { font-size: clamp(2rem, 4.4vw, 3.5rem); font-weight: 800; line-height: 1.25; max-width: 16em; }
.lang-en .hero h1 { font-size: clamp(2rem, 4.2vw, 3.3rem); line-height: 1.1; }
.hero .lead { margin-top: 22px; font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--ink-2); max-width: 34em; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.proof { margin-top: 28px; color: var(--muted); font-size: .95rem; padding-inline-start: 14px; border-inline-start: 3px solid var(--saffron); max-width: 30em; }

.stage { --stage-accent: #6E3C96; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(20px, 3vw, 36px); align-items: center; }
.stage-screen { position: relative; width: clamp(220px, 21vw, 290px); aspect-ratio: 600 / 1300; }
.stage-back { position: absolute; inset: 7% -10% -5% 10%; border-radius: 32px; background: var(--stage-accent); transition: background-color .6s var(--ease); }
[dir="rtl"] .stage-back { inset: 7% 10% -5% -10%; }
.stage-shot { position: absolute; inset: 0; margin: 0; border-radius: 26px; overflow: hidden; box-shadow: 0 24px 48px -16px rgba(15, 23, 41, .45); opacity: 0; visibility: hidden; }
.stage-shot.is-on { opacity: 1; visibility: visible; z-index: 2; }
.stage-shot.is-leaving { visibility: visible; z-index: 1; }
.stage-shot img { width: 100%; height: 100%; object-fit: cover; }
.stage-side { position: relative; z-index: 3; display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.stage-caps { position: relative; min-height: 64px; }
.stage-cap { position: absolute; inset: 0; display: flex; align-items: center; gap: 12px; opacity: 0; visibility: hidden; transition: opacity .35s; }
.stage-cap.is-on { opacity: 1; visibility: visible; }
.stage-cap img { width: 44px; height: 44px; border-radius: 11px; }
.stage-cap span { display: flex; flex-direction: column; min-width: 0; }
.stage-cap b { font: 700 1.1rem/1.3 var(--display); }
.stage-cap small { color: var(--muted); font-size: .88rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stage-cap .ico { width: 18px; height: 18px; color: var(--muted); }
.stage-cap:hover b { color: var(--saffron-ink); }
.stage-icons { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(10px, 1.4vw, 16px); max-width: 320px; }
.stage-icon { width: 100%; aspect-ratio: 1; padding: 0; border: 0; background: none; cursor: pointer; border-radius: 22%; position: relative; transition: transform .25s var(--ease); }
.stage-icon img { width: 100%; height: 100%; border-radius: 22%; box-shadow: 0 0 0 1px rgba(15, 23, 41, .08), 0 6px 14px -6px rgba(15, 23, 41, .3); }
.stage-icon:hover { transform: translateY(-3px); }
.stage-icon[aria-pressed="true"]::after { content: ''; position: absolute; inset: -5px; border-radius: 26%; border: 2.5px solid var(--accent); }
.stage-hint { font-size: .85rem; color: var(--muted); }

/* ---------- sections ---------- */
.sec { padding: clamp(56px, 8vw, 104px) 0; }
.sec-head { max-width: 40em; margin-bottom: clamp(28px, 4vw, 44px); }
.sec-head h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); font-weight: 800; }
.sec-head p { margin-top: 12px; color: var(--muted); font-size: 1.08rem; }
.sec-head-row { display: flex; align-items: end; justify-content: space-between; gap: 16px; max-width: none; }

/* apps */
.sec-apps { background: var(--surface); border-block: 1px solid var(--line); }
.apps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.app { display: flex; flex-direction: column; gap: 18px; padding: 20px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); transition: border-color .2s; }
.app:hover { border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); }
.app-head { display: flex; gap: 16px; align-items: center; }
.app-icon { width: 72px; height: 72px; border-radius: 22%; box-shadow: 0 0 0 1px rgba(15, 23, 41, .08); flex: none; }
.app-meta { display: flex; flex-direction: column; min-width: 0; }
.app-meta h3 { font-size: 1.2rem; }
.app-meta span { color: var(--ink-2); font-size: .95rem; }
.app-meta small { color: var(--muted); font-size: .8rem; }
.app-head:hover h3 { color: var(--saffron-ink); }
.app-shots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; padding: 14px; border-radius: var(--r-md); background: color-mix(in srgb, var(--accent) 9%, var(--paper)); }
.app-shots img { width: 100%; aspect-ratio: 600 / 860; object-fit: cover; object-position: top; border-radius: 10px; }
.app-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: auto; }

/* sites */
.sites { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 24px; }
.site { display: flex; flex-direction: column; gap: 18px; }
.site-wide { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); align-items: center; gap: clamp(24px, 4vw, 56px); }
.site-visual { position: relative; display: block; padding-bottom: 6%; padding-inline-end: 9%; }
.browser { border-radius: 14px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 18px 40px -22px rgba(15, 23, 41, .35); }
.browser-bar { display: flex; align-items: center; gap: 6px; height: 32px; padding-inline: 12px; background: #EEF1F5; border-bottom: 1px solid var(--line); }
.browser-bar i { width: 9px; height: 9px; border-radius: 50%; background: #CBD2DC; }
.browser-bar span { margin-inline-start: 10px; flex: 1; font-size: .75rem; color: var(--muted); background: #fff; border-radius: 6px; padding: 2px 10px; text-align: center; max-width: 260px; margin-inline-end: auto; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-family: 'Noto Sans', sans-serif; }
.browser img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.browser-empty { aspect-ratio: 16 / 10; display: grid; place-items: center; font: 700 1.6rem var(--display); color: var(--accent); background: color-mix(in srgb, var(--accent) 8%, #fff); }
.mini-phone { position: absolute; inset-inline-end: 0; bottom: 0; width: 24%; aspect-ratio: 390 / 844; border: 5px solid var(--ink); border-radius: 22px; overflow: hidden; background: #fff; box-shadow: 0 16px 30px -12px rgba(15, 23, 41, .45); }
.mini-phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.site-body { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.site-body h3 { font-size: 1.3rem; }
.site-wide .site-body h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.site-body h3 a:hover { color: var(--saffron-ink); }
.site-body p { color: var(--muted); }
.visit { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-weight: 600; font-size: .92rem; color: var(--ink); border-bottom: 1.5px solid var(--saffron); padding-bottom: 2px; font-family: 'Noto Sans', var(--body); }
.visit:hover { color: var(--saffron-ink); }

/* services */
.sec-services { background: var(--surface); border-block: 1px solid var(--line); }
.svc { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
.svc-list { display: flex; flex-direction: column; gap: 4px; }
.svc-tab { display: flex; flex-direction: column; align-items: flex-start; text-align: start; gap: 2px; padding: 16px 18px; border: 0; border-inline-start: 3px solid var(--line); background: transparent; cursor: pointer; border-radius: 0 12px 12px 0; transition: background-color .2s, border-color .2s; }
[dir="rtl"] .svc-tab { border-radius: 12px 0 0 12px; }
.svc-tab b { font: 700 1.1rem/1.4 var(--display); }
.svc-tab span { color: var(--muted); font-size: .92rem; }
.svc-tab:hover { background: var(--paper); }
.svc-tab[aria-selected="true"] { border-inline-start-color: var(--saffron); background: var(--saffron-soft); }
.svc-panel { padding: clamp(22px, 3vw, 36px); border-radius: var(--r-lg); background: var(--paper); border: 1px solid var(--line); }
.svc-panel h3 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); }
.svc-suits { margin-top: 8px; color: var(--ink-2); }
.svc-suits span { color: var(--muted); }
.svc-panel h4 { margin-top: 24px; font-size: 1rem; color: var(--muted); font-weight: 600; }
.svc-panel .btn { margin-top: 28px; }
.svc-panel:not([hidden]) { animation: panel-in .35s var(--ease); }
@keyframes panel-in { from { opacity: 0; transform: translateY(6px); } }
.ticks { list-style: none; margin: 12px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 24px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks .ico { color: var(--teal); margin-top: .3em; width: 1.1em; height: 1.1em; }

/* reels */
.reels { list-style: none; margin: 0; display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px max(var(--gutter), (100vw - var(--wrap)) / 2) 16px; scrollbar-width: thin; }
.reels li { flex: none; scroll-snap-align: start; }
.reel { position: relative; display: block; width: clamp(180px, 22vw, 240px); aspect-ratio: 9 / 16; border: 0; padding: 0; border-radius: 20px; overflow: hidden; background: var(--ink); cursor: pointer; }
.reel video { width: 100%; height: 100%; object-fit: cover; }
.reel::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(15, 23, 41, .85), transparent 45%); pointer-events: none; }
.reel-play { position: absolute; top: 14px; inset-inline-end: 14px; width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--ink); display: grid; place-items: center; z-index: 2; transition: transform .2s var(--ease); }
.reel:hover .reel-play { transform: scale(1.08); }
.reel-cap { position: absolute; inset-inline: 14px; bottom: 14px; z-index: 2; display: flex; align-items: center; gap: 8px; color: #fff; text-align: start; font: 600 .95rem/1.35 var(--display); }
.reel-cap img { width: 28px; height: 28px; border-radius: 8px; flex: none; }

/* process */
.sec-process { background: var(--ink); color: #fff; }
.sec-process .sec-head h2 { max-width: 18em; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; counter-reset: step; }
.steps li { counter-increment: step; position: relative; padding-top: 74px; }
.steps li::before { content: counter(step); position: absolute; top: 0; inset-inline-start: 0; font: 800 3rem/1 var(--display); color: var(--saffron); }
.steps li::after { content: ''; position: absolute; top: 24px; inset-inline: 52px 0; height: 1px; background: rgba(255, 255, 255, .18); }
.steps li:last-child::after { display: none; }
.steps h3 { font-size: 1.15rem; }
.steps p { margin-top: 8px; color: rgba(255, 255, 255, .72); font-size: .95rem; }

/* news */
.news { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.post-card { display: flex; flex-direction: column; gap: 8px; padding: 22px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); }
.post-card img { border-radius: 10px; aspect-ratio: 16 / 9; object-fit: cover; margin-bottom: 6px; }
.post-card time { color: var(--muted); font-size: .85rem; }
.post-card h3 { font-size: 1.15rem; }
.post-card h3 a:hover { color: var(--saffron-ink); }
.post-card p { color: var(--ink-2); font-size: .95rem; }

/* family */
.sec-family { padding-top: 0; }
.fam { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: clamp(24px, 4vw, 56px); align-items: center; padding: clamp(24px, 4vw, 44px); border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.fam-copy h2 { font-size: clamp(1.4rem, 2.6vw, 2rem); }
.fam-copy p { margin-top: 10px; color: var(--muted); }
.fam-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.fam-list a, .fam-list div { display: grid; grid-template-columns: auto 1fr auto; grid-template-rows: auto auto; column-gap: 14px; align-items: center; padding: 14px 18px; border-radius: 14px; border: 1px solid var(--line); }
.fam-list a:hover { border-color: var(--ink); }
.fam-dot { grid-row: 1 / 3; width: 14px; height: 14px; border-radius: 50%; }
.fam-list b { font-family: var(--display); }
.fam-list span:not(.fam-dot) { grid-column: 2; color: var(--muted); font-size: .9rem; }
.fam-list em { grid-row: 1 / 3; grid-column: 3; font-style: normal; font-size: .8rem; font-weight: 600; color: var(--saffron-ink); background: var(--saffron-soft); padding: 2px 10px; border-radius: 99px; }
.fam-clinics .fam-dot { background: var(--clinics); }
.fam-accounting .fam-dot { background: var(--accounting); }
.fam-apps .fam-dot { background: var(--saffron); }
.fam-list .is-here div { border-color: var(--saffron); background: color-mix(in srgb, var(--saffron) 6%, #fff); }

/* contact */
.sec-contact { background: var(--surface); border-top: 1px solid var(--line); }
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.contact-copy h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); font-weight: 800; }
.contact-copy > p { margin-top: 12px; color: var(--muted); font-size: 1.08rem; }
.contact-list { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list .ico { width: 22px; height: 22px; color: var(--teal); margin-top: 4px; }
.contact-list a, .contact-list div { display: flex; flex-direction: column; }
.contact-list small { color: var(--muted); font-size: .82rem; }
.contact-list a span { font-weight: 600; }
.contact-list a:hover span { color: var(--saffron-ink); }
.lead-form { display: grid; gap: 16px; padding: clamp(20px, 3vw, 32px); border-radius: var(--r-lg); background: var(--paper); border: 1px solid var(--line); }
.field { display: grid; gap: 6px; border: 0; margin: 0; padding: 0; min-width: 0; }
.field label, .field legend { font: 600 .92rem var(--display); padding: 0; margin-bottom: 6px; }
.field input, .field textarea { width: 100%; font: inherit; font-size: 1rem; padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); transition: border-color .2s; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); }
.field input[aria-invalid="true"] { border-color: #C62828; }
.field textarea { resize: vertical; min-height: 110px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; pointer-events: none; }
.chip span { display: inline-block; padding: 8px 14px; border-radius: 99px; border: 1.5px solid var(--line); background: #fff; font-size: .9rem; cursor: pointer; transition: all .15s; }
.chip input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip input:focus-visible + span { outline: 3px solid var(--saffron); outline-offset: 2px; }
.hp { position: absolute; inset-inline-start: 0; top: 0; width: 1px !important; height: 1px; padding: 0 !important; border: 0 !important; overflow: hidden; clip-path: inset(50%); opacity: 0; }
.lead-form { position: relative; }
.form-msg { min-height: 1.5em; font-weight: 600; }
.form-msg.ok { color: #1B7F4B; }
.form-msg.err { color: #C62828; }

/* footer */
.foot { background: var(--ink); color: rgba(255, 255, 255, .78); padding: 56px 0 24px; }
.foot-in { display: grid; grid-template-columns: 2fr 1fr 1.4fr; gap: 32px; }
.foot-brand p { margin-top: 14px; max-width: 26em; font-size: .95rem; }
.logo-foot .logo-mark { height: 64px; }
.foot-col { display: flex; flex-direction: column; gap: 10px; font-size: .95rem; }
.foot-col a:hover { color: #fff; }
.socials { display: flex; gap: 8px; margin-top: 18px; }
.social { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; background: rgba(255, 255, 255, .08); color: #fff; }
.social:hover { background: rgba(255, 255, 255, .16); }
.foot-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .85rem; }

/* mobile dock */
.dock { display: none; }

/* ---------- project page ---------- */
.proj-hero { padding: clamp(24px, 4vw, 40px) 0 clamp(32px, 5vw, 56px); background: color-mix(in srgb, var(--accent) 8%, var(--paper)); }
.crumb { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: .92rem; margin-bottom: 24px; }
.crumb:hover { color: var(--ink); }
.crumb .ico { width: 1em; height: 1em; }
.proj-id { display: flex; gap: clamp(18px, 3vw, 32px); align-items: flex-start; }
.proj-icon { width: clamp(84px, 10vw, 112px); height: auto; aspect-ratio: 1; border-radius: 22%; box-shadow: 0 0 0 1px rgba(15, 23, 41, .08), 0 14px 28px -14px rgba(15, 23, 41, .4); flex: none; }
.proj-id h1 { font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 800; margin-top: 8px; }
.proj-id .lead { margin-top: 6px; font-size: 1.15rem; color: var(--ink-2); }
.proj-id .badges { margin-top: 20px; }
.proj-media { padding-top: clamp(28px, 4vw, 44px); }
.gallery { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 14px; scrollbar-width: thin; }
.gallery img { height: clamp(380px, 52vw, 560px); width: auto; aspect-ratio: 600 / 1300; object-fit: cover; border-radius: 18px; scroll-snap-align: start; flex: none; box-shadow: 0 0 0 1px rgba(15, 23, 41, .06); }
.proj-site { position: relative; padding-inline-end: 8%; padding-bottom: 5%; max-width: 1000px; }
.proj-site .mini-phone { width: 22%; }
.proj-body { padding-top: clamp(40px, 6vw, 64px); }
.proj-cols { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); }
.proj-cols h2 { font-size: 1.4rem; margin-bottom: 14px; }
.prose p { margin-bottom: 1em; color: var(--ink-2); max-width: 40em; }
.facts { display: flex; gap: 32px; flex-wrap: wrap; margin: 12px 0 0; }
.facts dt { color: var(--muted); font-size: .85rem; }
.facts dd { margin: 0; font-weight: 600; }
.proj-features .ticks { grid-template-columns: 1fr; }
.proj-cta { padding-top: 0; }
.cta-band { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: clamp(24px, 4vw, 40px); border-radius: var(--r-lg); background: var(--ink); color: #fff; }
.cta-band h2 { font-size: clamp(1.4rem, 2.6vw, 2rem); }
.cta-band p { margin-top: 6px; color: rgba(255, 255, 255, .75); }
.proj-more { padding-top: 0; }
.proj-more h2 { font-size: 1.4rem; margin-bottom: 18px; }
.more-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.more-grid a { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); }
.more-grid a:hover { border-color: var(--accent); }
.more-grid img { width: 48px; height: 48px; border-radius: 22%; flex: none; }
.more-glyph { width: 48px; height: 48px; border-radius: 22%; display: grid; place-items: center; background: var(--accent); color: #fff; font: 700 1.3rem var(--display); flex: none; }
.more-grid span { display: flex; flex-direction: column; min-width: 0; }
.more-grid b { font-family: var(--display); font-size: .95rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.more-grid small { color: var(--muted); font-size: .8rem; }

/* news + article */
.page-head { padding: clamp(40px, 6vw, 72px) 0 0; }
.page-head h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; }
.page-head.nf { padding-bottom: 96px; }
.page-head.nf .lead { margin: 14px 0 28px; color: var(--muted); font-size: 1.1rem; }
.news-all { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.empty { color: var(--muted); }
.article { padding: clamp(32px, 5vw, 56px) 0 clamp(56px, 8vw, 96px); }
.article time { display: block; color: var(--muted); font-size: .9rem; }
.article h1 { font-size: clamp(1.8rem, 4vw, 2.7rem); font-weight: 800; margin: 8px 0 24px; }
.article-cover { border-radius: var(--r-md); margin-bottom: 28px; }
.article .prose p { font-size: 1.1rem; }
.article .btn { margin-top: 16px; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 36px; }
  .steps li:nth-child(3)::after { display: none; }
  .more-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 960px) {
  .nav { position: fixed; inset: 68px 0 auto; flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 20px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px -20px rgba(15, 23, 41, .3); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: all .25s var(--ease); margin: 0; font-size: 1.05rem; }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav a::after { display: none; }
  .nav .nav-lang { display: block; border-bottom: 0; color: var(--saffron-ink); }
  .top-actions { margin-inline-start: auto; }
  .top-actions .lang { display: none; }
  .menu-btn { display: grid; }
  .hero-in { grid-template-columns: 1fr; }
  .stage { justify-content: center; }
  .svc { grid-template-columns: 1fr; }
  .svc-list { flex-direction: row; overflow-x: auto; gap: 8px; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
  .svc-tab { flex: none; border-inline-start: 0; border: 1.5px solid var(--line); border-radius: 12px !important; padding: 10px 16px; }
  .svc-tab span { display: none; }
  .svc-tab[aria-selected="true"] { border-color: var(--saffron); }
  .contact, .fam, .proj-cols { grid-template-columns: 1fr; }
  .site-wide { grid-template-columns: 1fr; }
  .foot-in { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
  .news, .news-all { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .top-in { height: 60px; gap: 12px; }
  .nav { inset: 60px 0 auto; }
  .logo-mark { height: 38px; }
  .top-actions .btn-wa span { display: none; }
  .top-actions .btn-wa { width: 40px; padding: 0; }
  .hero { padding-top: 24px; }
  .cta .btn { flex: 1 1 100%; }
  .stage { grid-template-columns: 1fr; justify-items: center; gap: 22px; }
  .stage-screen { width: min(62vw, 270px); }
  .stage-side { width: 100%; align-items: center; }
  .stage-caps { width: 100%; max-width: 360px; }
  .stage-cap { justify-content: center; }
  .stage-icons { grid-template-columns: repeat(8, 44px); max-width: none; width: 100%; justify-content: start; overflow-x: auto; padding: 6px 4px; scrollbar-width: none; }
  .stage-icons::-webkit-scrollbar { display: none; }
  .stage-hint { text-align: center; }
  .apps, .sites, .news, .news-all { grid-template-columns: 1fr; }
  .app { padding: 16px; }
  .app-shots { gap: 8px; padding: 10px; }
  .ticks { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 0; }
  .steps li { padding: 0 0 28px; padding-inline-start: 64px; }
  .steps li::before { font-size: 2.2rem; }
  .steps li::after { display: block !important; top: 46px; bottom: 8px; inset-inline: 16px auto; width: 1px; height: auto; }
  .steps li:last-child::after { display: none !important; }
  .fam-list a, .fam-list div { grid-template-columns: auto 1fr; }
  .fam-list em { grid-row: auto; grid-column: 2; justify-self: start; margin-top: 6px; }
  .proj-id { flex-direction: column; }
  .more-grid { grid-template-columns: 1fr 1fr; }
  .foot { padding-bottom: 96px; }
  .foot-in { grid-template-columns: 1fr; }
  .dock { display: grid; grid-template-columns: 1fr 1.4fr; gap: 8px; position: fixed; inset-inline: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 45; transform: translateY(140%); transition: transform .3s var(--ease); }
  .dock.is-on { transform: none; }
  .dock a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; border-radius: 14px; font: 600 1rem var(--display); box-shadow: 0 10px 24px -8px rgba(15, 23, 41, .45); }
  .dock-call { background: #fff; color: var(--ink); border: 1px solid var(--line); }
  .dock-wa { background: var(--ink); color: #fff; }
  .dock-wa .ico { color: #25D366; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ---------- external reels, map, floating WhatsApp ---------- */
.reel-embed { cursor: default; background: #000; }
.reel-embed::after { display: none; }
.reel-embed iframe { width: 100%; height: 100%; border: 0; display: block; }
.map-card { position: relative; display: block; margin-top: 24px; height: 220px; border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--line); background: var(--paper); }
.map-card iframe { width: 100%; height: 100%; border: 0; pointer-events: none; filter: saturate(.85); }
.map-cta { position: absolute; inset-inline-start: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 10px; background: var(--ink); color: #fff; font: 600 .9rem var(--display); }
.map-cta .ico { color: var(--saffron); }
.map-card:hover .map-cta { background: var(--ink-2); }
.foot-map { display: inline-flex; gap: 8px; align-items: flex-start; }
.foot-map .ico { color: var(--saffron); margin-top: 3px; }
.fab-wa { position: fixed; inset-inline-start: 24px; bottom: 24px; z-index: 44; width: 58px; height: 58px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: 0 12px 28px -8px rgba(15, 23, 41, .45); transition: transform .2s var(--ease); }
[dir="rtl"] .fab-wa { inset-inline-start: auto; inset-inline-end: 24px; }
.fab-wa .ico { width: 30px; height: 30px; }
.fab-wa:hover { transform: scale(1.06); }
@media (max-width: 720px) {
  .fab-wa { display: none; }
  .dock { grid-template-columns: 1fr 1fr 1.4fr; }
  .dock-map { background: #fff; color: var(--ink); border: 1px solid var(--line); }
  .dock-map .ico { color: var(--saffron-ink); }
}

/* ---------- reel viewer (full screen, swipe between reels) ---------- */
.reel-embed iframe { pointer-events: none; }
.rv { position: fixed; inset: 0; z-index: 90; background: #05070C; }
.rv[hidden] { display: none; }
.rv-track { height: 100%; overflow-y: auto; scroll-snap-type: y mandatory; overscroll-behavior: contain; scrollbar-width: none; outline: none; }
.rv-track::-webkit-scrollbar { display: none; }
.rv-slide { position: relative; height: 100dvh; scroll-snap-align: start; scroll-snap-stop: always; display: grid; place-items: center; }
.rv-media { position: relative; height: 100%; max-height: 100dvh; aspect-ratio: 9 / 16; max-width: 100vw; background: #000; }
.rv-media video, .rv-media iframe { width: 100%; height: 100%; object-fit: cover; border: 0; display: block; }
.rv-embed .rv-media { aspect-ratio: 9 / 16; }
.rv-info { position: absolute; inset-inline: 0; bottom: 0; margin-inline: auto; width: min(100vw, calc(100dvh * 9 / 16)); padding: 80px 18px calc(22px + env(safe-area-inset-bottom)); background: linear-gradient(to top, rgba(5, 7, 12, .9), transparent); color: #fff; pointer-events: none; }
.rv-embed .rv-info { padding-top: 24px; background: linear-gradient(to top, rgba(5, 7, 12, .95), rgba(5, 7, 12, .6)); }
.rv-info a, .rv-info button { pointer-events: auto; }
.rv-title { display: flex; align-items: center; gap: 10px; font: 700 1.1rem/1.4 var(--display); }
.rv-title img { width: 36px; height: 36px; border-radius: 10px; flex: none; }
.rv-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.btn-glass { background: rgba(255, 255, 255, .14); color: #fff; border-color: rgba(255, 255, 255, .25); backdrop-filter: blur(8px); }
.btn-glass:hover { background: rgba(255, 255, 255, .24); }
.rv-close { position: fixed; top: calc(14px + env(safe-area-inset-top)); inset-inline-end: 14px; z-index: 2; width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .16); color: #fff; display: grid; place-items: center; cursor: pointer; backdrop-filter: blur(8px); }
.rv-close:hover { background: rgba(255, 255, 255, .28); }
.rv-sound { position: absolute; top: 14px; inset-inline-start: 14px; width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(0, 0, 0, .45); color: #fff; display: grid; place-items: center; cursor: pointer; }
.rv-sound .snd-on { display: none; }
.rv-sound[aria-pressed="true"] .snd-on { display: inline; }
.rv-sound[aria-pressed="true"] .snd-off { display: none; }
.rv-nav { position: fixed; inset-inline-end: 22px; top: 50%; transform: translateY(-50%); display: grid; gap: 10px; z-index: 2; }
.rv-nav button { width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .14); color: #fff; display: grid; place-items: center; cursor: pointer; }
.rv-nav button:hover { background: rgba(255, 255, 255, .26); }
.rv-nav button:disabled { opacity: .3; cursor: default; }
body.rv-open { overflow: hidden; }
@media (max-width: 720px) {
  .rv-nav { display: none; }
  .rv-media { width: 100vw; aspect-ratio: auto; }
}

/* ---------- builder blocks ---------- */
.text-block { display: grid; gap: clamp(24px, 4vw, 56px); align-items: center; }
.text-block.has-img { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
.text-copy h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; margin-bottom: 14px; }
.text-copy .btn { margin-top: 10px; }
.text-img { width: 100%; border-radius: var(--r-lg); }
.sec-ctab { padding-top: 0; }
.faq { display: grid; gap: 10px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 4px 20px; }
.faq summary { cursor: pointer; padding: 14px 0; font: 700 1.05rem var(--display); list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 1.4rem; line-height: 1; color: var(--saffron-ink); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .prose { padding-bottom: 14px; }
@media (max-width: 720px) { .text-block.has-img { grid-template-columns: 1fr; } }
.rv-progress { position: absolute; top: 0; inset-inline: 0; height: 3px; background: rgba(255, 255, 255, .25); z-index: 2; }
.rv-progress i { display: block; height: 100%; width: 0; background: var(--saffron); transition: width .25s linear; }
[dir="rtl"] .rv-progress i { margin-inline-start: 0; }
.rv-paused { position: absolute; inset: 0; margin: auto; width: 76px; height: 76px; border-radius: 50%; background: rgba(0, 0, 0, .45); color: #fff; display: grid; place-items: center; opacity: 0; transform: scale(.85); transition: opacity .2s, transform .2s; pointer-events: none; }
.rv-paused .ico { width: 34px; height: 34px; }
.is-paused .rv-paused { opacity: 1; transform: none; }
.rv-sound { top: 16px; }

/* ---------- dashboard live preview ---------- */
.is-builder [data-sec] { position: relative; cursor: pointer; }
.is-builder [data-sec]::after { content: ''; position: absolute; inset: 4px; border: 2px dashed transparent; border-radius: 14px; pointer-events: none; transition: border-color .15s, background-color .15s; z-index: 30; }
.is-builder [data-sec]:hover::after { border-color: var(--saffron); background: rgba(242, 160, 7, .05); }
.is-builder [data-sec].is-flash::after { animation: sec-flash 1.4s ease-out; }
@keyframes sec-flash { 0%, 40% { border-color: var(--saffron); background: rgba(242, 160, 7, .12); } 100% { border-color: transparent; background: transparent; } }
.is-builder .fab-wa, .is-builder .dock { display: none !important; }
.form-note { margin-top: -6px; font-size: .85rem; color: var(--muted); text-align: center; }
.form-wa { display: inline-flex; margin-top: 6px; padding: 6px 14px; border-radius: 10px; background: #25D366; color: #fff; font-weight: 700; }
