/* =====================================================================================================
   مركز الدقة — site.css (based on the MIRAS site engine)
   Dark-first: the logo black + gold & brushed silver. Arabic RTL first, English LTR supported.
   ===================================================================================================== */
:root {
  --bg: #0d0f13;
  --bg-deep: #07080b;
  --bg-soft: #171a21;
  --surface: rgba(24, 27, 34, .52);
  --surface-2: rgba(30, 33, 41, .72);
  --line: rgba(240, 189, 69, .14);
  --line-2: rgba(255, 255, 255, .08);
  --text: #f1f2f4;
  --muted: #a3a7ae;
  --dim: #6e737c;
  --gold: #f0bd45;
  --gold-deep: #b8851f;
  --gold-hi: #ffd877;
  --blue: #c9ced6;
  --blue-deep: #8b929d;
  --gold-grad: linear-gradient(135deg, #8a5f12 0%, #f0bd45 45%, #ffd877 55%, #b8851f 100%);
  --radius: 22px;
  --radius-lg: 32px;
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.76, 0, .24, 1);
  --hdr-h: 76px;
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --bg: #0d0f13; } }
:root[data-theme="dark"] { --bg: #0d0f13; }

*, *::before, *::after { box-sizing: border-box; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hdr-h) + 20px); }
body {
  margin: 0; min-height: 100vh; background: var(--bg); color: var(--text);
  font-family: var(--font); font-size: 17px; line-height: 1.75; overflow-x: hidden;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
html[lang="en"] body { line-height: 1.65; }
img, video, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
::selection { background: rgba(240, 189, 69, .35); color: #fff; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 8px; }
.ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
em { font-style: normal; }
.ic { width: 1.25em; height: 1.25em; flex: none; }
.flip { transform-box: fill-box; transform-origin: center; }
html[dir="ltr"] .flip { transform: scaleX(-1); }

/* ---------------------------------------------------------------- page background layers */
.bg { position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(60% 50% at 80% 0%, rgba(200, 206, 214, .16), transparent 70%),
    radial-gradient(50% 45% at 10% 30%, rgba(240, 189, 69, .08), transparent 70%),
    radial-gradient(120% 90% at 50% 20%, #171a21 0%, #0d0f13 55%, #07080b 100%);
}
.bg::after { /* grain */
  content: ''; position: absolute; inset: -50%; opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain { 0% { transform: translate(0, 0); } 20% { transform: translate(-4%, 3%); } 40% { transform: translate(3%, -5%); } 60% { transform: translate(-6%, -2%); } 80% { transform: translate(5%, 4%); } 100% { transform: translate(0, 0); } }
.field { position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: 0; transition: opacity 1.6s var(--ease); }
.is-ready .field { opacity: 1; }
.vignette { position: fixed; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(120% 100% at 50% 50%, transparent 55%, rgba(7, 8, 11, .75) 100%); }

/* ---------------------------------------------------------------- loader */
.loader { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; background: var(--bg-deep); color: var(--text); transition: clip-path 1s var(--ease-io); clip-path: inset(0 0 0 0); }
.loader.is-done { clip-path: inset(0 0 100% 0); }
.loader__in { display: grid; justify-items: center; gap: 22px; }
.loader__mark { width: 88px; height: 88px; border-radius: 24px; box-shadow: 0 0 0 1px rgba(240, 189, 69, .3), 0 20px 60px rgba(240, 189, 69, .18); animation: breathe 2.4s var(--ease) infinite; }
@keyframes breathe { 50% { box-shadow: 0 0 0 1px rgba(240, 189, 69, .55), 0 20px 80px rgba(240, 189, 69, .32); } }
.loader .wordmark { color: var(--gold); font-size: 1.05rem; }
.loader__bar { width: min(260px, 60vw); height: 2px; background: rgba(255, 255, 255, .08); border-radius: 2px; overflow: hidden; }
.loader__bar i { display: block; height: 100%; background: var(--gold-grad); transform: scaleX(0); transform-origin: left; }
html[dir="rtl"] .loader__bar i { transform-origin: right; }
.loader__num { font: 600 .8rem/1 var(--font); letter-spacing: .3em; color: var(--muted); direction: ltr; }
.loader.is-done .loader__in { opacity: 0; transform: translateY(-30px); transition: .6s var(--ease); }

/* ---------------------------------------------------------------- page-transition veil */
.veil { position: fixed; inset: 0; z-index: 190; pointer-events: none; display: grid; place-items: center; visibility: hidden; }
.veil::before { content: ''; position: absolute; inset: 0; background: radial-gradient(120% 90% at 50% 30%, #171a21, #07080b); clip-path: circle(0 at var(--vx, 50%) var(--vy, 50%)); }
.veil::after { content: ''; position: absolute; inset: 0; border: 0; background: var(--gold-grad); opacity: .9; clip-path: circle(0 at var(--vx, 50%) var(--vy, 50%)); }
.veil__mark { position: relative; width: 72px; height: 72px; border-radius: 20px; opacity: 0; transform: scale(.7) rotate(-8deg); }
.veil.is-in, .veil.is-cover, .veil.is-out { visibility: visible; pointer-events: auto; }
.veil.is-in::after { animation: veilIn .7s var(--ease-io) forwards; }
.veil.is-in::before { animation: veilIn .8s .08s var(--ease-io) forwards; }
.veil.is-in .veil__mark { animation: markIn .5s .4s var(--ease) forwards; }
.veil.is-cover::before { clip-path: circle(150% at 50% 50%); }
.veil.is-cover .veil__mark { opacity: 1; transform: none; }
.veil.is-out::before { clip-path: circle(150% at 50% 50%); animation: veilOut 1s .1s var(--ease-io) forwards; }
.veil.is-out .veil__mark { opacity: 1; transform: none; animation: markOut .45s var(--ease) forwards; }
@keyframes veilIn { to { clip-path: circle(150% at var(--vx, 50%) var(--vy, 50%)); } }
@keyframes veilOut { to { clip-path: inset(0 0 100% 0); } }
@keyframes markIn { to { opacity: 1; transform: none; } }
@keyframes markOut { to { opacity: 0; transform: translateY(-20px) scale(.9); } }
html:not(.js) .veil { display: none; }

/* ---------------------------------------------------------------- cursor */
.has-cursor, .has-cursor a, .has-cursor button { cursor: none; }
.has-cursor input, .has-cursor textarea { cursor: text; }
.cursor { position: fixed; inset: 0 auto auto 0; z-index: 300; pointer-events: none; opacity: 0; transition: opacity .3s; }
.cursor.is-on { opacity: 1; }
.cursor__dot, .cursor__ring, .cursor__label { position: fixed; top: 0; left: 0; will-change: transform; }
.cursor__dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: var(--gold); }
.cursor__ring { width: 38px; height: 38px; margin: -19px 0 0 -19px; border-radius: 50%; border: 1px solid rgba(240, 189, 69, .55); transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background .35s, border-color .35s; }
.cursor.is-hover .cursor__ring { width: 64px; height: 64px; margin: -32px 0 0 -32px; background: rgba(240, 189, 69, .1); border-color: rgba(240, 189, 69, .8); }
.cursor.has-label .cursor__ring { width: 96px; height: 96px; margin: -48px 0 0 -48px; background: var(--gold-grad); border-color: transparent; }
.cursor__label { width: 96px; height: 96px; margin: -48px 0 0 -48px; display: grid; place-items: center; text-align: center; font-weight: 700; font-size: .78rem; color: #1b1305; opacity: 0; transition: opacity .25s; }
.cursor.has-label .cursor__label { opacity: 1; }
.cursor.is-down .cursor__ring { transform-origin: center; scale: .85; }

/* ---------------------------------------------------------------- header */
.progress { position: fixed; top: 0; inset-inline: 0; height: 2px; z-index: 120; pointer-events: none; }
.progress i { display: block; height: 100%; background: var(--gold-grad); transform: scaleX(0); transform-origin: left; }
html[dir="rtl"] .progress i { transform-origin: right; }
.hdr { position: fixed; top: 0; inset-inline: 0; z-index: 100; height: var(--hdr-h); transition: transform .5s var(--ease), background .4s, box-shadow .4s; }
.hdr.is-scrolled { background: rgba(13, 15, 19, .62); backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3); box-shadow: 0 1px 0 var(--line); }
.hdr.is-hidden { transform: translateY(-100%); }
.hdr .wrap { height: 100%; display: flex; align-items: center; gap: 18px; }
.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.brand img { width: 42px; height: 42px; border-radius: 12px; box-shadow: 0 0 0 1px rgba(240, 189, 69, .25); }
.brand .wordmark { color: var(--gold); font-size: .92rem; }
.nav { margin-inline-start: auto; display: flex; gap: 4px; }
.nav a { position: relative; padding: 8px 14px; font-weight: 600; font-size: .93rem; color: rgba(241, 242, 244, .78); border-radius: 999px; transition: color .3s, background .3s; }
.nav a:hover { color: #fff; background: rgba(255, 255, 255, .05); }
.nav a::after { content: ''; position: absolute; inset-inline: 14px; bottom: 4px; height: 1px; background: var(--gold); transform: scaleX(0); transition: transform .4s var(--ease); }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); }
.hdr__tools { display: flex; align-items: center; gap: 10px; }
.nav + .hdr__tools { margin-inline-start: 8px; }
.lang-btn { min-width: 42px; height: 42px; padding: 0 12px; border-radius: 999px; font-weight: 700; font-size: .85rem; letter-spacing: .04em; box-shadow: inset 0 0 0 1px var(--line-2); transition: background .3s, box-shadow .3s; }
.lang-btn:hover { background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px var(--line); }
.burger { display: none; width: 44px; height: 44px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line-2); position: relative; }
.burger i { position: absolute; left: 13px; right: 13px; height: 1.5px; background: currentColor; transition: transform .45s var(--ease), top .45s var(--ease); }
.burger i:nth-child(1) { top: 17px; } .burger i:nth-child(2) { top: 25px; }
.menu-open .burger i:nth-child(1) { top: 21px; transform: rotate(45deg); }
.menu-open .burger i:nth-child(2) { top: 21px; transform: rotate(-45deg); }

/* mobile menu */
.menu { position: fixed; inset: 0; z-index: 90; background: rgba(7, 8, 11, .96); backdrop-filter: blur(10px); display: flex; flex-direction: column; justify-content: center; padding: calc(var(--hdr-h) + 20px) var(--gutter) 40px; gap: 6px; clip-path: circle(0 at calc(100% - 40px) 38px); transition: clip-path .8s var(--ease-io); visibility: hidden; }
html[dir="rtl"] .menu { clip-path: circle(0 at 40px 38px); }
.menu-open .menu { clip-path: circle(160% at 50% 0); visibility: visible; }
.menu a { font-size: clamp(1.8rem, 8vw, 2.6rem); font-weight: 700; line-height: 1.3; opacity: 0; transform: translateY(30px); transition: opacity .5s, transform .6s var(--ease), color .3s; }
.menu a:hover { color: var(--gold); }
.menu-open .menu a { opacity: 1; transform: none; }
.menu-open .menu a:nth-child(2) { transition-delay: .06s; } .menu-open .menu a:nth-child(3) { transition-delay: .12s; }
.menu-open .menu a:nth-child(4) { transition-delay: .18s; } .menu-open .menu a:nth-child(5) { transition-delay: .24s; } .menu-open .menu a:nth-child(6) { transition-delay: .3s; }
.menu__foot { margin-top: 30px; color: var(--muted); font-size: .9rem; }
body.menu-open { overflow: hidden; }

/* ---------------------------------------------------------------- buttons */
.btn { position: relative; display: inline-flex; align-items: center; gap: 10px; height: 54px; padding: 0 26px; border-radius: 999px; font-weight: 700; font-size: 1rem; white-space: nowrap; overflow: hidden; isolation: isolate; transition: transform .45s var(--ease), box-shadow .4s; }
.btn .ic { width: 20px; height: 20px; transition: transform .45s var(--ease); }
.btn:hover .ic { transform: translateX(-4px); }
html[dir="ltr"] .btn:hover .ic { transform: translateX(4px); }
.btn--gold { background: var(--gold-grad); color: #1b1305; box-shadow: 0 14px 40px rgba(184, 133, 31, .35), inset 0 1px 0 rgba(255, 255, 255, .35); }
.btn--gold::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .55) 50%, transparent 70%); transform: translateX(-120%); transition: transform .9s var(--ease); }
.btn--gold:hover::before { transform: translateX(120%); }
.btn--ghost { color: #fff; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16); backdrop-filter: blur(8px); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1px rgba(240, 189, 69, .55); }
.btn--sm { height: 44px; padding: 0 18px; font-size: .92rem; }
.btn--accent { background: var(--p-accent, var(--gold)); color: #1b1305; box-shadow: 0 14px 40px color-mix(in srgb, var(--p-accent, var(--gold)) 35%, transparent); }

/* ---------------------------------------------------------------- reveal & split text */
[data-reveal] { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1.2s var(--ease); transition-delay: var(--d, 0s); }
[data-reveal="fade"] { transform: none; }
[data-reveal="scale"] { transform: scale(.94); }
[data-reveal].in { opacity: 1; transform: none; }
[data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding-block: .12em; margin-block: -.12em; }
[data-split] .wi { display: inline-block; transform: translateY(110%) rotate(4deg); transition: transform 1.1s var(--ease); transition-delay: calc(var(--i, 0) * 45ms + var(--d, 0s)); }
html[dir="rtl"] [data-split] .wi { transform: translateY(110%) rotate(-4deg); }
html[dir] [data-split].in .wi { transform: none; }
html:not(.js) [data-reveal] { opacity: 1; transform: none; }
html:not(.js) [data-split] .wi { transform: none; }

/* ---------------------------------------------------------------- section shell */
.sec { position: relative; padding-block: clamp(90px, 14vh, 160px); }
.kicker { display: inline-flex; align-items: center; gap: 12px; font-size: .82rem; font-weight: 700; letter-spacing: .14em; color: var(--gold); text-transform: uppercase; }
.kicker::before { content: ''; width: 34px; height: 1px; background: var(--gold); }
.h2 { font-size: clamp(2rem, 4.6vw, 3.6rem); line-height: 1.2; margin: 14px 0 16px; font-weight: 700; letter-spacing: -.01em; }
html[lang="en"] .h2 { letter-spacing: -.025em; line-height: 1.08; }
.h2 em, .hero__title em { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { color: var(--muted); font-size: clamp(1.02rem, 1.4vw, 1.18rem); max-width: 40em; margin: 0; }
.sec__head { margin-bottom: clamp(40px, 6vw, 70px); }

/* ---------------------------------------------------------------- hero */
.hero { min-height: 100svh; display: grid; align-items: center; padding: calc(var(--hdr-h) + 40px) 0 90px; position: relative; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 40px; align-items: center; }
.hero__copy { position: relative; z-index: 2; }
.hero__kicker { display: inline-flex; align-items: center; gap: 12px; padding: 7px 16px 7px 8px; border-radius: 999px; background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px var(--line); backdrop-filter: blur(6px); }
html[dir="rtl"] .hero__kicker { padding: 7px 8px 7px 16px; }
.hero__kicker img { width: 28px; height: 28px; border-radius: 8px; }
.hero__kicker .wordmark { font-size: .72rem; letter-spacing: .32em; margin-inline-end: -.32em; }
.hero__title { font-size: clamp(2.6rem, 6.6vw, 5.8rem); line-height: 1.12; margin: 26px 0 22px; font-weight: 700; letter-spacing: -.01em; }
html[lang="en"] .hero__title { letter-spacing: -.035em; line-height: 1.02; font-size: clamp(2.4rem, 5.2vw, 4.6rem); }
html[lang="en"] .hero__title .ln { display: inline; }
html[lang="en"] .hero__title .ln::after { content: " "; }
.hero__title .ln { display: block; }
.hero__p { font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: var(--muted); max-width: 32em; margin: 0 0 34px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 40px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; font-size: .88rem; font-weight: 600; color: rgba(241, 242, 244, .85); background: rgba(255, 255, 255, .035); box-shadow: inset 0 0 0 1px var(--line-2); }
.chip .ic { width: 17px; height: 17px; color: var(--gold); }
.hero__visual { position: relative; aspect-ratio: 1; display: grid; place-items: center; }
.badge { position: absolute; inset-inline-end: 6%; bottom: 6%; width: 132px; height: 132px; display: grid; place-items: center; }
.badge svg { direction: ltr; unicode-bidi: isolate; position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 18s linear infinite; }
.badge text { fill: var(--gold); font: 700 9.4px var(--font); letter-spacing: .38em; }
.badge img { width: 54px; height: 54px; border-radius: 14px; }
@keyframes spin { to { transform: rotate(360deg); } }
.scroll-cue { position: absolute; bottom: 28px; inset-inline-start: 50%; translate: -50% 0; display: grid; justify-items: center; gap: 10px; font-size: .75rem; letter-spacing: .2em; color: var(--muted); }
html[dir="rtl"] .scroll-cue { translate: 50% 0; }
.scroll-cue i { width: 1px; height: 48px; background: linear-gradient(var(--gold), transparent); position: relative; overflow: hidden; }
.scroll-cue i::after { content: ''; position: absolute; inset: 0; background: linear-gradient(transparent, #fff, transparent); animation: drip 2s var(--ease) infinite; }
@keyframes drip { from { transform: translateY(-100%); } to { transform: translateY(100%); } }
/* hero intro choreography (after loader) */
.hero [data-intro] { opacity: 0; transform: translateY(30px); }
.is-ready .hero [data-intro] { opacity: 1; transform: none; transition: opacity 1s var(--ease), transform 1.2s var(--ease); transition-delay: var(--d, 0s); }

/* ---------------------------------------------------------------- marquee */
.marquee { position: relative; padding-block: 28px; overflow: hidden; border-block: 1px solid var(--line); background: rgba(7, 8, 11, .35); backdrop-filter: blur(6px); }
.marquee__track { display: flex; width: max-content; gap: 0; will-change: transform; }
.marquee__item { display: inline-flex; align-items: center; gap: 36px; padding-inline-end: 36px; font-size: clamp(2rem, 5vw, 4rem); font-weight: 700; line-height: 1.2; white-space: nowrap; color: transparent; -webkit-text-stroke: 1px rgba(240, 189, 69, .55); }
.marquee__item:nth-child(even) { color: var(--text); -webkit-text-stroke: 0; }
.marquee__item svg { width: .5em; height: .5em; color: var(--gold); -webkit-text-stroke: 0; }

/* ---------------------------------------------------------------- services (stacking cards) */
.stack { display: grid; gap: 28px; }
.svc { position: sticky; top: calc(var(--hdr-h) + 24px + var(--n, 0) * 22px); min-height: min(560px, 74vh); display: grid; grid-template-columns: 1fr 1.05fr; border-radius: var(--radius-lg); overflow: hidden; background: linear-gradient(160deg, #1c1f27, #0c0e12); box-shadow: 0 0 0 1px var(--line), 0 -20px 60px rgba(0, 0, 0, .35); transform-origin: center top; will-change: transform; }
.svc__body { padding: clamp(28px, 4vw, 56px); display: flex; flex-direction: column; gap: 16px; }
.svc__num { font-size: .85rem; font-weight: 700; letter-spacing: .2em; color: var(--gold); direction: ltr; text-align: start; }
.svc h3 { font-size: clamp(1.7rem, 3.2vw, 2.6rem); line-height: 1.2; margin: 0; }
.svc p { color: var(--muted); margin: 0; font-size: 1.08rem; max-width: 28em; }
.svc__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.svc__icon { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; background: rgba(240, 189, 69, .1); color: var(--gold); box-shadow: inset 0 0 0 1px var(--line); }
.svc__icon .ic { width: 30px; height: 30px; }
.svc__art { position: relative; overflow: hidden; background: radial-gradient(90% 80% at 50% 40%, rgba(200, 206, 214, .25), transparent 70%); display: grid; place-items: center; padding: 30px; }
.svc__art .media { width: 100%; }
.device-frame { border-radius: 14px; overflow: hidden; box-shadow: 0 0 0 1px rgba(255, 255, 255, .1), 0 30px 80px rgba(0, 0, 0, .5); transform: perspective(1200px) rotateY(-14deg) rotateX(6deg); transition: transform 1s var(--ease); }
html[dir="ltr"] .device-frame { transform: perspective(1200px) rotateY(14deg) rotateX(6deg); }
.svc:hover .device-frame { transform: perspective(1200px) rotateY(0) rotateX(0); }
.device-frame--phone { width: min(240px, 60%); border-radius: 30px; border: 6px solid #15171c; }
.browser { width: 100%; border-radius: 14px; overflow: hidden; background: #121419; box-shadow: 0 0 0 1px rgba(255, 255, 255, .1), 0 30px 80px rgba(0, 0, 0, .5); }
.browser__bar { display: flex; gap: 6px; padding: 12px 14px; background: rgba(255, 255, 255, .04); }
.browser__bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, .18); }
.browser__body { padding: 22px; display: grid; gap: 12px; }
.browser__hero { height: 120px; border-radius: 10px; background: linear-gradient(120deg, rgba(240, 189, 69, .35), rgba(200, 206, 214, .35)); position: relative; overflow: hidden; }
.browser__hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .25) 50%, transparent 70%); animation: sheen 3.5s var(--ease) infinite; }
@keyframes sheen { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
.browser__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.browser__row span { height: 64px; border-radius: 10px; background: rgba(255, 255, 255, .06); }
.browser__line { height: 10px; border-radius: 6px; background: rgba(255, 255, 255, .08); }
.browser__line.s { width: 60%; }

/* ---------------------------------------------------------------- media (lazy, blurred LQIP) */
.media { position: relative; overflow: hidden; background-size: cover; background-position: center; }
.media::before { content: ''; position: absolute; inset: 0; background: inherit; filter: blur(14px); transform: scale(1.1); transition: opacity .8s; }
.media img { position: relative; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .9s var(--ease); }
.media.is-loaded img { opacity: 1; }
.media.is-loaded::before { opacity: 0; }

/* ---------------------------------------------------------------- products */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.filter { height: 42px; padding: 0 18px; border-radius: 999px; font-weight: 600; font-size: .92rem; color: var(--muted); box-shadow: inset 0 0 0 1px var(--line-2); transition: .35s var(--ease); }
.filter:hover { color: #fff; }
.filter.is-on { color: #1b1305; background: var(--gold-grad); box-shadow: none; }
.grid-p { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 360px), 1fr)); gap: 26px; }
.pcard { --rx: 0deg; --ry: 0deg; position: relative; display: flex; flex-direction: column; border-radius: var(--radius-lg); background: linear-gradient(170deg, rgba(30, 33, 41, .85), rgba(13, 15, 19, .92)); box-shadow: 0 0 0 1px var(--line); transform: perspective(1100px) rotateX(var(--rx)) rotateY(var(--ry)); transform-style: preserve-3d; transition: transform .8s var(--ease), box-shadow .5s, opacity .6s, scale .6s var(--ease); isolation: isolate; }
.pcard.is-tilting { transition: transform .12s linear, box-shadow .5s; }
.pcard:hover { box-shadow: 0 0 0 1px color-mix(in srgb, var(--p-primary, var(--gold)) 60%, transparent), 0 40px 90px rgba(0, 0, 0, .45), 0 0 80px color-mix(in srgb, var(--p-primary, var(--gold)) 18%, transparent); }
.pcard::after { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 3; background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 255, 255, .1), transparent 45%); opacity: 0; transition: opacity .4s; }
.pcard:hover::after { opacity: 1; }
.pcard__art { position: relative; aspect-ratio: 16 / 10.5; border-radius: var(--radius-lg) var(--radius-lg) 0 0; overflow: hidden; background: var(--p-art, var(--bg-soft)); display: grid; place-items: center; transform-style: preserve-3d; }
.pcard__art::before { content: ''; position: absolute; inset: -40%; background: conic-gradient(from 0deg, transparent, color-mix(in srgb, var(--p-accent, #fff) 30%, transparent), transparent 30%); animation: spin 9s linear infinite; opacity: .35; }
.pcard__icon { position: relative; width: 38%; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .45)); transform: translateZ(60px); transition: transform 1s var(--ease); }
.pcard:hover .pcard__icon { transform: translateZ(90px) translateY(-6px) rotate(-3deg); }
.pcard__shot { position: absolute; inset-inline-end: -8%; bottom: -14%; width: 62%; border-radius: 12px; overflow: hidden; box-shadow: 0 30px 60px rgba(0, 0, 0, .5); transform: rotate(-8deg) translateZ(20px); opacity: .55; transition: transform 1s var(--ease), opacity .6s; }
html[dir="rtl"] .pcard__shot { transform: rotate(8deg) translateZ(20px); }
.pcard:hover .pcard__shot { opacity: .85; transform: rotate(-4deg) translate(-4%, -6%) translateZ(30px); }
html[dir="rtl"] .pcard:hover .pcard__shot { transform: rotate(4deg) translate(4%, -6%) translateZ(30px); }
.pcard__body { padding: 26px 28px 28px; display: flex; flex-direction: column; gap: 10px; flex: 1; transform: translateZ(30px); }
.pcard__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px; font-size: .78rem; font-weight: 700; color: var(--p-primary, var(--gold)); background: color-mix(in srgb, var(--p-primary, var(--gold)) 14%, transparent); }
.status { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; color: var(--muted); }
.status::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #25d366; box-shadow: 0 0 0 4px rgba(37, 211, 102, .15); }
.pcard h3 { margin: 4px 0 0; font-size: 1.7rem; line-height: 1.2; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.pcard h3 small { font-size: .95rem; color: var(--muted); font-weight: 600; letter-spacing: .12em; }
.pcard p { margin: 0; color: var(--muted); }
.pcard__foot { margin-top: auto; padding-top: 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line-2); }
.plats { display: flex; gap: 8px; }
.plat { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: rgba(255, 255, 255, .05); color: var(--muted); }
.plat .ic { width: 17px; height: 17px; }
.go { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--p-accent, var(--gold)); }
.go .ic { transition: transform .5s var(--ease); }
.pcard:hover .go .ic { transform: translateX(-6px); }
html[dir="ltr"] .pcard:hover .go .ic { transform: translateX(6px); }
.pcard__link { position: absolute; inset: 0; z-index: 4; border-radius: inherit; }
.pcard.is-filtered { opacity: .12; scale: .96; pointer-events: none; }
.pcard--soon { background: transparent; box-shadow: none; border: 1.5px dashed rgba(240, 189, 69, .28); justify-content: center; align-items: center; text-align: center; min-height: 380px; padding: 30px; gap: 14px; }
.pcard--soon .orb { width: 92px; height: 92px; border-radius: 50%; background: radial-gradient(circle at 30% 30%, #ffd877, #b8851f 45%, #8b929d 100%); filter: blur(.3px); animation: morph 8s ease-in-out infinite; box-shadow: 0 0 60px rgba(240, 189, 69, .3); }
@keyframes morph { 0%, 100% { border-radius: 50%; transform: rotate(0); } 25% { border-radius: 58% 42% 50% 50% / 45% 55% 45% 55%; } 50% { border-radius: 40% 60% 62% 38% / 55% 40% 60% 45%; transform: rotate(180deg); } 75% { border-radius: 55% 45% 40% 60% / 40% 60% 40% 60%; } }

/* ---------------------------------------------------------------- why (bento with spotlight) */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cell { position: relative; padding: 30px; border-radius: var(--radius); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line-2); backdrop-filter: blur(10px); overflow: hidden; min-height: 210px; display: flex; flex-direction: column; gap: 10px; transition: transform .6s var(--ease), box-shadow .5s; }
.cell::before { content: ''; position: absolute; inset: 0; background: radial-gradient(360px circle at var(--sx, -100px) var(--sy, -100px), rgba(240, 189, 69, .14), transparent 60%); pointer-events: none; }
.cell:hover { transform: translateY(-6px); box-shadow: inset 0 0 0 1px var(--line), 0 30px 60px rgba(0, 0, 0, .3); }
.cell__ic { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; color: var(--gold); background: rgba(240, 189, 69, .08); box-shadow: inset 0 0 0 1px var(--line); margin-bottom: 8px; }
.cell__ic .ic { width: 26px; height: 26px; }
.cell h3 { margin: 0; font-size: 1.3rem; }
.cell p { margin: 0; color: var(--muted); }
.cell--wide { grid-column: span 2; }
.cell__deco { position: absolute; inset-inline-end: -30px; bottom: -40px; width: 220px; height: 220px; color: var(--gold); opacity: .07; pointer-events: none; animation: floaty 9s ease-in-out infinite; }
.cell__deco .ic { width: 100%; height: 100%; stroke-width: .9; }
@keyframes floaty { 50% { transform: translateY(-14px) rotate(-6deg); } }
.cell--wide .cell__ic { position: relative; }
.cell__ring { position: absolute; inset-inline-end: 12%; top: 50%; width: 150px; height: 150px; margin-top: -75px; border-radius: 50%; border: 1px dashed rgba(240, 189, 69, .3); animation: spin 24s linear infinite; pointer-events: none; }
.cell__ring::after { content: ''; position: absolute; top: -5px; left: 50%; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 20px var(--gold); }
@media (max-width: 640px) { .cell__ring { display: none; } }
.cell--tall { grid-row: span 2; }
.cell__big { margin-top: auto; font-size: clamp(3rem, 7vw, 5.5rem); font-weight: 700; line-height: 1; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; direction: ltr; text-align: start; }

/* ---------------------------------------------------------------- process (horizontal pinned) */
.process { position: relative; }
.process__pin { position: sticky; top: 0; height: 100svh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
.process__track { display: flex; gap: 26px; padding-inline: var(--gutter); will-change: transform; margin-top: 34px; }
.step { flex: none; width: min(420px, 78vw); min-height: 340px; padding: 34px; border-radius: var(--radius-lg); background: linear-gradient(160deg, rgba(30, 33, 41, .82), rgba(13, 15, 19, .9)); box-shadow: inset 0 0 0 1px var(--line); display: flex; flex-direction: column; gap: 14px; position: relative; overflow: hidden; }
.step__n { font-size: 5.5rem; font-weight: 700; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(240, 189, 69, .5); direction: ltr; text-align: start; }
.step h3 { margin: auto 0 0; font-size: 1.7rem; }
.step p { margin: 0; color: var(--muted); }
.step::after { content: ''; position: absolute; inset-inline-end: -60px; top: -60px; width: 180px; height: 180px; border-radius: 50%; background: radial-gradient(circle, rgba(200, 206, 214, .35), transparent 70%); }
.process__bar { margin: 40px var(--gutter) 0; height: 2px; background: rgba(255, 255, 255, .08); border-radius: 2px; overflow: hidden; }
.process__bar i { display: block; height: 100%; background: var(--gold-grad); transform: scaleX(0); transform-origin: left; }
html[dir="rtl"] .process__bar i { transform-origin: right; }

/* ---------------------------------------------------------------- contact */
.contact { text-align: center; }
.contact__title { font-size: clamp(2.4rem, 6.4vw, 5.6rem); line-height: 1.15; margin: 18px auto 22px; max-width: 14em; }
html[lang="en"] .contact__title { letter-spacing: -.035em; line-height: 1.04; }
.contact__title em { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.contact .lead { margin-inline: auto; }
.clinks { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 14px; margin: 50px auto 0; max-width: 820px; text-align: start; }
.clink { position: relative; display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 20px; background: var(--surface); backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px var(--line-2); transition: box-shadow .4s, background .4s, transform .5s var(--ease); overflow: hidden; }
.clink:hover { box-shadow: inset 0 0 0 1px var(--line); background: var(--surface-2); }
.clink__ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; color: #fff; flex: none; }
.clink__ic .ic { width: 22px; height: 22px; }
.clink--whatsapp .clink__ic { background: #25d366; }
.clink--mail .clink__ic { background: var(--gold-grad); color: #1b1305; }
.clink--instagram .clink__ic { background: linear-gradient(45deg, #f09433, #dc2743 50%, #bc1888); }
.clink--facebook .clink__ic { background: #1877f2; }
.clink__txt { display: grid; min-width: 0; line-height: 1.4; }
.clink__txt small { color: var(--muted); font-size: .8rem; }
.clink__txt b { font-weight: 600; font-size: .95rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
.clink__go { margin-inline-start: auto; color: var(--dim); transition: color .3s, transform .4s var(--ease); }
html[dir="rtl"] .clink__go { transform: scaleX(-1); }
.clink:hover .clink__go { color: var(--gold); }
.logo-frame { width: min(300px, 70vw); margin: 70px auto 0; border-radius: 34px; overflow: hidden; background: var(--bg); box-shadow: 0 0 0 1px rgba(240, 189, 69, .25), 0 50px 120px rgba(0, 0, 0, .55), 0 0 120px rgba(240, 189, 69, .12); }
.logo-frame img { width: 100%; height: auto; aspect-ratio: 937 / 860; }

/* ---------------------------------------------------------------- footer */
.foot { position: relative; padding: 70px 0 34px; margin-top: 40px; border-top: 1px solid var(--line); background: linear-gradient(to bottom, rgba(7, 8, 11, .2), rgba(7, 8, 11, .85)); }
.foot__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 44px; }
.foot__nav { display: flex; flex-wrap: wrap; gap: 6px 22px; color: var(--muted); font-size: .95rem; }
.foot__nav a:hover { color: var(--gold); }
.to-top { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; color: var(--muted); }
.to-top span { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line); transition: .4s var(--ease); }
.to-top:hover span { background: var(--gold-grad); color: #1b1305; transform: translateY(-4px); }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1080px) {
  .nav { display: none; }
  .hdr__tools { margin-inline-start: auto; }
  .burger { display: block; }
  .hdr__tools .btn { display: none; }
  .bento { grid-template-columns: 1fr 1fr; }
  .p-features { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  body { font-size: 16px; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { position: absolute; inset: 0; z-index: -1; aspect-ratio: auto; pointer-events: none; }
  .badge { display: none; }
  .hero { text-align: start; align-items: end; padding-top: calc(var(--hdr-h) + 34vh); }
  .hero__copy { text-shadow: 0 2px 24px rgba(7, 8, 11, .9); }
  .svc { grid-template-columns: 1fr; position: relative; top: 0; min-height: 0; }
  .svc__art { min-height: 260px; order: -1; }
  .p-hero__grid { grid-template-columns: 1fr; }
  .stage { order: -1; aspect-ratio: 1.05; margin-top: -10px; }
  .p-overview { grid-template-columns: 1fr; }
  .spec { grid-template-columns: 1fr; gap: 4px; padding: 16px 20px; }
}
@media (max-width: 640px) {
  .bento { grid-template-columns: 1fr; }
  .cell--wide { grid-column: auto; }
  .p-features { grid-template-columns: 1fr; }
  .hero__cta .btn { flex: 1 1 auto; justify-content: center; }
  .btn { height: 50px; padding: 0 20px; }
  .brand .wordmark { font-size: .8rem; }
  .foot__top { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .svc { position: relative; top: 0; }
}

/* =====================================================================================================
   مركز الدقة — additions
   ===================================================================================================== */
:root { --silver: #c9ced6; }
.h2 strong, .hero__title strong, .contact__title strong { font-weight: 700; background: var(--silver-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.bg { background:
    radial-gradient(55% 45% at 85% 0%, rgba(200, 206, 214, .09), transparent 70%),
    radial-gradient(50% 45% at 8% 35%, rgba(240, 189, 69, .08), transparent 70%),
    radial-gradient(120% 90% at 50% 20%, #171a21 0%, #0d0f13 55%, #07080b 100%); }

/* brand in header / loader */
.brand img { border-radius: 50%; background: #0d0f13; }
.brand__txt { display: grid; line-height: 1.15; }
.brand__txt b { font-size: 1.02rem; font-weight: 700; }
.brand__txt small { font-size: .62rem; letter-spacing: .26em; color: var(--muted); direction: ltr; text-align: start; }
.loader__mark { border-radius: 50%; width: 120px; height: 120px; }
.loader__t { font-size: 1.15rem; font-weight: 700; background: var(--silver-grad); -webkit-background-clip: text; background-clip: text; color: transparent; letter-spacing: .02em; }
.veil__mark { border-radius: 50%; width: 84px; height: 84px; }
.hero__kicker img { border-radius: 50%; }
.badge img { border-radius: 50%; }

/* hero phone stage */
.hero__visual { aspect-ratio: .95; }
.phone-stage { position: absolute; inset: -6% -4%; }
.phone-stage canvas { width: 100%; height: 100%; }
.phone-stage::before { content: ''; position: absolute; inset: 18%; border-radius: 50%; background: radial-gradient(circle, rgba(240, 189, 69, .22), rgba(200, 206, 214, .06) 45%, transparent 70%); filter: blur(30px); }
.phone-fallback { position: absolute; inset: 0; display: none; place-items: center; }
.phone-fallback img { width: 64%; border-radius: 50%; box-shadow: 0 40px 100px rgba(0, 0, 0, .6); }
.no-webgl .phone-fallback { display: grid; }
.teardown-label { position: absolute; inset-inline-start: 4%; top: 8%; display: inline-flex; align-items: center; gap: 10px; font-size: .78rem; font-weight: 700; letter-spacing: .12em; color: var(--muted); opacity: 0; transform: translateY(10px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.teardown-label::before { content: ''; width: 26px; height: 1px; background: var(--gold); }
.teardown-label.is-on { opacity: 1; transform: none; }
.part-tags { position: absolute; inset: 0; pointer-events: none; }
.part-tag { position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border-radius: 999px; font-size: .74rem; font-weight: 700; white-space: nowrap; color: #f1f2f4; background: rgba(13, 15, 19, .72); box-shadow: inset 0 0 0 1px rgba(240, 189, 69, .35); backdrop-filter: blur(6px); opacity: 0; transform: translate(-50%, -50%) scale(.9); transition: opacity .5s, transform .5s var(--ease); }
.part-tag i { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 10px var(--gold); }
.part-tag.is-on { opacity: 1; transform: translate(-50%, -50%) scale(1); }

/* marquee: brands */
.marquee__item { -webkit-text-stroke: 1px rgba(200, 206, 214, .45); }
.marquee__item:nth-child(even) { color: transparent; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-stroke: 0; }
.marquee__item svg { color: var(--silver); }

/* specialty cards — art */
.svc { background: linear-gradient(160deg, #1c1f27, #0c0e12); }
.svc__art { background: radial-gradient(90% 80% at 50% 45%, rgba(240, 189, 69, .14), transparent 70%), #0a0b0e; }
.svc__en { font-size: .78rem; font-weight: 700; letter-spacing: .28em; color: var(--silver-deep, #7d848f); direction: ltr; text-align: start; }
html[lang="en"] .svc__en { direction: rtl; letter-spacing: 0; font-size: .9rem; }
.art { width: min(100%, 440px); aspect-ratio: 1; overflow: visible; }
.art .trace { fill: none; stroke: rgba(200, 206, 214, .18); stroke-width: 1.4; }
.art .trace-gold { fill: none; stroke: var(--gold); stroke-width: 1.6; stroke-dasharray: 6 260; stroke-linecap: round; animation: flow 3.2s linear infinite; filter: drop-shadow(0 0 4px var(--gold)); }
.art .trace-gold:nth-of-type(2n) { animation-delay: -1.2s; } .art .trace-gold:nth-of-type(3n) { animation-delay: -2.1s; }
@keyframes flow { to { stroke-dashoffset: -266; } }
.art .pkg { fill: #15171c; stroke: rgba(200, 206, 214, .35); stroke-width: 1.5; }
.art .die { fill: url(#dieGrad); stroke: rgba(255, 255, 255, .25); }
.art .ball { fill: var(--gold); opacity: 0; transform-box: fill-box; transform-origin: center; animation: ballIn 4.8s var(--ease) infinite; animation-delay: calc(var(--k) * 18ms); }
@keyframes ballIn { 0%, 8% { opacity: 0; transform: scale(.2) translateY(-10px); } 22%, 78% { opacity: 1; transform: none; } 92%, 100% { opacity: 0; transform: scale(.6); } }
.art .lift { animation: lift 4.8s var(--ease) infinite; transform-box: fill-box; transform-origin: center; }
@keyframes lift { 0%, 5% { transform: translateY(-46px) rotate(-4deg); opacity: .0; } 18% { opacity: 1; } 30%, 80% { transform: none; opacity: 1; } 95%, 100% { transform: translateY(-46px) rotate(-4deg); opacity: 0; } }
.art .heat { fill: url(#heatGrad); opacity: 0; animation: heat 4.8s ease-in-out infinite; }
@keyframes heat { 25%, 45% { opacity: .9; } 0%, 15%, 60%, 100% { opacity: 0; } }
.art .lens { fill: none; stroke: var(--silver); stroke-width: 2; }
.art .lens-ring { fill: none; stroke: rgba(200, 206, 214, .25); stroke-width: 10; }
.art .tip { animation: tipMove 5s ease-in-out infinite; }
@keyframes tipMove { 0%, 100% { transform: translate(0, 0); } 30% { transform: translate(-38px, 26px); } 60% { transform: translate(30px, 8px); } }
.art .spark { fill: #ffd877; filter: drop-shadow(0 0 8px #ffb21a) drop-shadow(0 0 18px #ff9900); animation: spark .5s ease-in-out infinite alternate; }
@keyframes spark { to { opacity: .45; r: 4; } }
.art .smd { fill: #2a2d35; stroke: rgba(200, 206, 214, .35); }
.art .smd-end { fill: var(--silver); }
.art .pulse { fill: var(--gold); animation: pulseDot 2.2s ease-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes pulseDot { 0% { transform: scale(.4); opacity: 1; } 100% { transform: scale(3.2); opacity: 0; } }
.art .hot { fill: url(#hotGrad); animation: hot 2.6s ease-in-out infinite; }
@keyframes hot { 50% { opacity: .35; } }
.art text { font: 700 11px var(--font); fill: var(--muted); letter-spacing: .12em; }
.art .scan { fill: url(#scanGrad); animation: scan 3.6s var(--ease) infinite; }
@keyframes scan { from { transform: translateY(-40px); } to { transform: translateY(330px); } }

/* services */
.srv-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 26px; }
.srv-tools .filters { margin-top: 0; }
.filter { display: inline-flex; align-items: center; gap: 8px; }
.filter b { font-size: .72rem; min-width: 22px; height: 20px; padding: 0 6px; border-radius: 999px; display: inline-grid; place-items: center; background: rgba(255, 255, 255, .07); font-weight: 700; }
.filter.is-on b { background: rgba(27, 19, 5, .18); }
.srv-search { position: relative; flex: 1 1 260px; max-width: 420px; margin-inline-start: auto; }
.srv-search input { width: 100%; height: 46px; border-radius: 999px; border: 0; padding-inline: 46px 18px; font: 500 .95rem var(--font); color: var(--text); background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px var(--line-2); outline: none; transition: box-shadow .3s, background .3s; }
.srv-search input::placeholder { color: var(--dim); }
.srv-search input:focus { box-shadow: inset 0 0 0 1px rgba(240, 189, 69, .6); background: rgba(255, 255, 255, .06); }
.srv-search .ic { position: absolute; inset-inline-start: 16px; top: 50%; translate: 0 -50%; width: 18px; height: 18px; color: var(--muted); pointer-events: none; }
.srv-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 16px; }
.srv { --rx: 0deg; --ry: 0deg; position: relative; display: flex; flex-direction: column; gap: 10px; padding: 24px 24px 20px; border-radius: var(--radius); background: linear-gradient(165deg, rgba(30, 33, 41, .78), rgba(13, 15, 19, .9)); box-shadow: inset 0 0 0 1px var(--line-2); overflow: hidden; isolation: isolate; transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry)); transition: transform .7s var(--ease), box-shadow .45s, opacity .5s, scale .5s var(--ease); }
.srv.is-tilting { transition: transform .12s linear, box-shadow .45s; }
.srv::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(300px circle at var(--sx, -100px) var(--sy, -100px), rgba(240, 189, 69, .13), transparent 60%); }
.srv::after { content: ''; position: absolute; inset-inline-start: 0; top: 0; width: 100%; height: 2px; background: var(--gold-grad); transform: scaleX(0); transform-origin: right; transition: transform .7s var(--ease); }
html[dir="ltr"] .srv::after { transform-origin: left; }
.srv:hover { box-shadow: inset 0 0 0 1px rgba(240, 189, 69, .32), 0 30px 60px rgba(0, 0, 0, .35); }
.srv:hover::after { transform: scaleX(1); }
.srv__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.srv__ic { width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center; color: var(--gold); background: linear-gradient(145deg, rgba(240, 189, 69, .16), rgba(240, 189, 69, .03)); box-shadow: inset 0 0 0 1px rgba(240, 189, 69, .2); transition: transform .6s var(--ease); }
.srv__ic .ic { width: 25px; height: 25px; }
.srv:hover .srv__ic { transform: rotate(-8deg) scale(1.06); }
.srv--parts .srv__ic, .srv--software .srv__ic, .srv--care .srv__ic { color: var(--silver-hi, #eef1f5); background: linear-gradient(145deg, rgba(200, 206, 214, .14), rgba(200, 206, 214, .02)); box-shadow: inset 0 0 0 1px rgba(200, 206, 214, .18); }
.srv__pro { font-size: .7rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; color: #1b1305; background: var(--gold-grad); white-space: nowrap; }
.srv__n { font-size: .74rem; font-weight: 700; color: var(--dim); direction: ltr; }
.srv h3 { margin: 4px 0 0; font-size: 1.14rem; line-height: 1.35; }
.srv p { margin: 0; color: var(--muted); font-size: .93rem; line-height: 1.75; }
.srv__ask { margin-top: auto; padding-top: 12px; display: inline-flex; align-items: center; gap: 8px; font-size: .85rem; font-weight: 700; color: var(--gold); opacity: .75; transition: opacity .3s, gap .4s var(--ease); }
.srv__ask .ic { width: 16px; height: 16px; }
.srv:hover .srv__ask { opacity: 1; gap: 12px; }
.srv.is-hidden { display: none; }
.srv.is-enter { animation: srvIn .6s var(--ease) both; animation-delay: var(--sd, 0s); }
@keyframes srvIn { from { opacity: 0; transform: translateY(24px) scale(.97); } }
.srv-empty { display: none; padding: 40px; text-align: center; color: var(--muted); border-radius: var(--radius); border: 1.5px dashed rgba(240, 189, 69, .25); }
.srv-empty.is-on { display: block; }

/* why */
.cell__ic { color: var(--gold); }
.cell:nth-child(even) .cell__ic { color: var(--silver); background: rgba(200, 206, 214, .07); }

/* process: 5 steps */
.step::after { background: radial-gradient(circle, rgba(240, 189, 69, .22), transparent 70%); }
.step__ic { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; color: var(--gold); background: rgba(240, 189, 69, .08); box-shadow: inset 0 0 0 1px var(--line); }
.step__ic .ic { width: 26px; height: 26px; }
.step__top { display: flex; justify-content: space-between; align-items: flex-start; }

/* faq */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(30px, 6vw, 80px); align-items: start; }
.faq__list { display: grid; gap: 12px; }
.qa { border-radius: 20px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line-2); backdrop-filter: blur(10px); transition: box-shadow .4s, background .4s; }
.qa[open] { box-shadow: inset 0 0 0 1px var(--line); background: var(--surface-2); }
.qa summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; font-weight: 700; font-size: 1.05rem; cursor: pointer; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary i { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: var(--gold); box-shadow: inset 0 0 0 1px var(--line); transition: transform .5s var(--ease), background .3s, color .3s; }
.qa summary i .ic { width: 16px; height: 16px; }
.qa[open] summary i { transform: rotate(135deg); background: var(--gold-grad); color: #1b1305; }
.qa__a { overflow: hidden; display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.qa[open] .qa__a { grid-template-rows: 1fr; }
.qa__a > div { min-height: 0; }
.qa__a p { margin: 0; padding: 0 22px 22px; color: var(--muted); }

/* contact */
.clinks { max-width: 980px; }
.clink--call .clink__ic { background: var(--silver-grad); color: #111; }
.clink--map .clink__ic { background: var(--gold-grad); color: #1b1305; }
.clink--tiktok .clink__ic { background: #111; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2); }
.clink__txt b { white-space: normal; }
.hours { margin: 18px auto 0; max-width: 980px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 24px; padding: 16px 22px; border-radius: 20px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line-2); text-align: start; }
.hours__t { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--gold); }
.hours__t .ic { width: 20px; height: 20px; }
.hours__row { display: inline-flex; gap: 10px; color: var(--muted); }
.hours__row b { color: var(--text); font-weight: 600; }
.logo-frame { width: min(360px, 76vw); border-radius: 50%; background: #0d0f13; box-shadow: 0 0 0 1px rgba(240, 189, 69, .25), 0 50px 120px rgba(0, 0, 0, .6), 0 0 120px rgba(240, 189, 69, .12); position: relative; }
.logo-frame img { aspect-ratio: 1; transform: scale(1.02); }
.logo-frame--sq { border-radius: 34px; width: min(420px, 82vw); }

/* footer */
.foot__brand { display: grid; justify-items: center; gap: 10px; text-align: center; padding-bottom: 30px; margin-bottom: 26px; border-bottom: 1px solid var(--line-2); }
.foot__brand img { width: 74px; height: 74px; border-radius: 50%; box-shadow: 0 0 0 1px rgba(240, 189, 69, .3); }
.foot__brand b { font-size: 1.2rem; }
.foot__brand small { color: var(--muted); font-size: .85rem; }
.foot__dev { display: grid; justify-items: center; gap: 10px; text-align: center; }
.foot__dev img { width: min(60%, 220px); height: auto; opacity: .9; }
.foot__dev a { display: block; }
.foot__copy { margin: 0; font-size: .8rem; color: var(--muted); direction: ltr; }

/* floating whatsapp */
.fab { position: fixed; inset-inline-end: 20px; bottom: 20px; z-index: 85; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: #25d366; box-shadow: 0 14px 40px rgba(37, 211, 102, .35); transform: scale(0); transition: transform .6s var(--ease); }
.fab .ic { width: 28px; height: 28px; }
.fab::before { content: ''; position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 0 rgba(37, 211, 102, .5); animation: pulse 2.4s infinite; }
.is-ready .fab { transform: scale(1); transition-delay: 1.4s; }

@media (max-width: 860px) {
  .faq { grid-template-columns: 1fr; }
  .hero { padding-top: calc(var(--hdr-h) + 46vh); }
  .phone-stage { inset: 0 0 auto 0; height: 58vh; top: var(--hdr-h); }
  .part-tags, .teardown-label { display: none; }
}
@media (max-width: 640px) {
  .srv-search { max-width: none; margin-inline-start: 0; }
  .brand__txt small { display: none; }
  .fab { width: 52px; height: 52px; }
}
.srv.in { transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry)); }

/* footer socials + legal link */
.socials { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 6px; }
.soc { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; color: var(--text); background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px var(--line-2); transition: background .35s, color .35s, box-shadow .35s, transform .45s var(--ease); }
.soc .ic { width: 20px; height: 20px; }
.soc:hover { color: #1b1305; background: var(--gold-grad); box-shadow: none; }
.soc--whatsapp:hover { background: #25d366; color: #fff; }
.soc--facebook:hover { background: #1877f2; color: #fff; }
.soc--tiktok:hover { background: #111; color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3), -2px 0 0 #25f4ee, 2px 0 0 #fe2c55; }
.foot__legal { display: inline-flex; align-items: center; gap: 8px; font-size: .88rem; color: var(--muted); padding: 6px 14px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-2); transition: color .3s, box-shadow .3s; }
.foot__legal:hover { color: var(--gold); box-shadow: inset 0 0 0 1px var(--line); }
.foot__legal .ic { width: 16px; height: 16px; }

/* legal page */
.lg-hero { padding: calc(var(--hdr-h) + clamp(60px, 12vh, 120px)) 0 30px; position: relative; }
.lg-hero h1 { font-size: clamp(2.3rem, 5.4vw, 4.4rem); line-height: 1.15; margin: 16px 0 18px; max-width: 14em; }
.lg-hero h1 em { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lg-hero h1 strong { background: var(--silver-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lg-upd { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; font-size: .85rem; color: var(--muted); padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, .03); box-shadow: inset 0 0 0 1px var(--line-2); }
.lg-upd .ic { width: 16px; height: 16px; color: var(--gold); }
.lg-wrap { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: clamp(26px, 4vw, 56px); align-items: start; }
.lg-toc { position: sticky; top: calc(var(--hdr-h) + 20px); display: grid; gap: 4px; padding: 18px; border-radius: var(--radius); background: var(--surface); backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px var(--line-2); }
.lg-toc b { font-size: .8rem; letter-spacing: .1em; color: var(--gold); margin: 8px 6px 4px; }
.lg-toc b:first-child { margin-top: 0; }
.lg-toc a { padding: 6px 10px; border-radius: 10px; font-size: .9rem; color: var(--muted); transition: color .3s, background .3s; }
.lg-toc a:hover { color: var(--text); background: rgba(255, 255, 255, .04); }
.lg-part { margin-bottom: 70px; }
.lg-part__t { display: flex; align-items: center; gap: 14px; font-size: clamp(1.6rem, 3vw, 2.3rem); margin: 0 0 22px; }
.lg-part__t i { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; color: #1b1305; background: var(--gold-grad); flex: none; }
.lg-part__t i .ic { width: 26px; height: 26px; }
.lg-part--terms .lg-part__t i { background: var(--silver-grad); color: #111; }
.lg-list { display: grid; gap: 14px; }
.lg { position: relative; padding: 24px 26px; border-radius: var(--radius); background: linear-gradient(165deg, rgba(30, 33, 41, .78), rgba(13, 15, 19, .9)); box-shadow: inset 0 0 0 1px var(--line-2); overflow: hidden; scroll-margin-top: calc(var(--hdr-h) + 20px); }
.lg::before { content: ''; position: absolute; inset: 0; background: radial-gradient(320px circle at var(--sx, -100px) var(--sy, -100px), rgba(240, 189, 69, .1), transparent 60%); pointer-events: none; }
.lg__head { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.lg__ic { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; color: var(--gold); background: rgba(240, 189, 69, .08); box-shadow: inset 0 0 0 1px var(--line); flex: none; }
.lg__ic .ic { width: 22px; height: 22px; }
.lg-part--terms .lg__ic { color: var(--silver); background: rgba(200, 206, 214, .06); }
.lg__n { font-size: .78rem; font-weight: 700; color: var(--dim); direction: ltr; }
.lg h3 { margin: 0; font-size: 1.2rem; }
.lg ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.lg li { position: relative; padding-inline-start: 22px; color: rgba(241, 242, 244, .82); line-height: 1.85; }
.lg li::before { content: ''; position: absolute; inset-inline-start: 2px; top: .8em; width: 7px; height: 7px; border-radius: 2px; transform: rotate(45deg); background: var(--gold); }
.lg-part--terms .lg li::before { background: var(--silver); }
.lg-cta { text-align: center; padding: 50px 24px; border-radius: var(--radius-lg); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.lg-cta h2 { margin: 0 0 8px; font-size: clamp(1.6rem, 3vw, 2.3rem); }
.lg-cta p { margin: 0 auto 24px; color: var(--muted); }
.lg-cta .btns { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }
@media (max-width: 960px) { .lg-wrap { grid-template-columns: 1fr; } .lg-toc { position: relative; top: 0; } }
.foot__dev .foot__legal { display: inline-flex; }
.foot__copy { direction: inherit; }
@media (max-width: 960px) { .lg-toc { display: none; } }
