/* umark.ir — v3: clean light layout, glossy 3D, scroll-driven motion */
@font-face { font-family: 'Vazirmatn'; src: url('/fonts/Vazirmatn.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Space Grotesk'; src: url('/fonts/SpaceGrotesk.woff2') format('woff2'); font-weight: 300 700; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212; }

:root {
  --bg: #f6f9f6; --card: #ffffff; --soft: #eff6ec; --soft2: #ecf4fd;
  --line: #e1e9e2; --line2: #d0dbd2;
  --tx: #0d1a14; --tx2: #4a5a52; --tx3: #85938b;
  --green: #3faf2a; --green-tx: #2a8a1c; --lime: #b5ef5a; --blue: #1f7bff; --blue-tx: #1565d8;
  --btn: #0f2219; --btn-tx: #ffffff;
  --hl: linear-gradient(var(--hld), #2b9a1e 0%, #4fbf2c 55%, #1f7bff 120%);
  --sh1: 0 1px 2px rgba(16, 40, 28, .04), 0 10px 26px -14px rgba(16, 40, 28, .14);
  --sh2: 0 28px 60px -28px rgba(16, 40, 28, .3);
  --disc: radial-gradient(circle at 34% 30%, #f1fbe9 0%, #d3f2bd 42%, #a6e183 100%);
  --mk-us: #0a0f16; --mk-ms: #0a4aa8; --mk-bs: #2c7f22;
  --r: 24px; --hdr: 78px; --hld: 100deg;
  color-scheme: light;
}
:root[dir="rtl"] { --hld: 260deg; }
:root[data-theme="dark"] {
  --bg: #070d0b; --card: #0e1814; --soft: #13221b; --soft2: #0f1b24;
  --line: rgba(255, 255, 255, .08); --line2: rgba(255, 255, 255, .14);
  --tx: #ecf3ee; --tx2: #a3b3ab; --tx3: #6f8077;
  --green: #5cc935; --green-tx: #84dc56; --blue: #3d8fff; --blue-tx: #6aa9ff;
  --btn: #eaf6e4; --btn-tx: #0d1a14;
  --hl: linear-gradient(var(--hld), #8ee35e 0%, #5cc935 50%, #58a8ff 110%);
  --sh1: 0 1px 0 rgba(255, 255, 255, .03) inset, 0 12px 30px -16px rgba(0, 0, 0, .7);
  --sh2: 0 30px 70px -30px rgba(0, 0, 0, .85);
  --disc: radial-gradient(circle at 34% 30%, rgba(120, 220, 80, .34) 0%, rgba(60, 160, 60, .16) 45%, rgba(40, 120, 255, .08) 70%, transparent 72%);
  --mk-us: #8b95a2;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--bg); color: var(--tx); font: 16px/1.85 'Vazirmatn', system-ui, sans-serif; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; transition: background-color .3s, color .3s; }
html[lang="en"] body { font-family: 'Space Grotesk', 'Vazirmatn', system-ui, sans-serif; line-height: 1.65; }
main { overflow-x: clip; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 800; letter-spacing: -.005em; }
html[lang="en"] h1, html[lang="en"] h2, html[lang="en"] h3 { font-weight: 700; letter-spacing: -.03em; }
p { margin: 0; }
::selection { background: var(--green); color: #fff; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 10px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip { position: fixed; inset-inline-start: 12px; top: -60px; z-index: 100; background: var(--btn); color: var(--btn-tx); padding: 8px 14px; border-radius: 10px; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: 24px; }
.ic { width: 20px; height: 20px; flex: none; }
[dir="rtl"] .flip { transform: scaleX(-1); }
.hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* soft background light */
.bg { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.bl { position: absolute; border-radius: 50%; }
.b1 { width: 70vw; height: 70vw; top: -30vw; inset-inline-end: -22vw; background: radial-gradient(circle, rgba(120, 214, 72, .22), transparent 62%); transform: translateY(calc(var(--gp, 0) * 40vh)); }
.b2 { width: 60vw; height: 60vw; top: 35vh; inset-inline-start: -30vw; background: radial-gradient(circle, rgba(31, 123, 255, .12), transparent 62%); transform: translateY(calc(var(--gp, 0) * -50vh)); }
.b3 { width: 50vw; height: 50vw; bottom: -25vw; inset-inline-end: 10vw; background: radial-gradient(circle, rgba(181, 239, 90, .16), transparent 62%); }
[data-theme="dark"] .b1 { background: radial-gradient(circle, rgba(92, 201, 53, .16), transparent 62%); }
[data-theme="dark"] .b2 { background: radial-gradient(circle, rgba(61, 143, 255, .13), transparent 62%); }

/* ---------- buttons */
.btn { display: inline-flex; align-items: center; justify-content: space-between; gap: 14px; height: 56px; padding-inline: 26px 7px; border-radius: 999px; border: 1px solid transparent; font-weight: 700; font-size: 15.5px; white-space: nowrap; cursor: pointer; transition: transform .25s, box-shadow .25s, background-color .25s, border-color .25s; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.ba { width: 42px; height: 42px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--green); color: #fff; transition: transform .3s cubic-bezier(.3, .7, .3, 1.4); }
.ba .ic { width: 18px; height: 18px; }
.btn:hover .ba, .svc:hover .ba, .other:hover .ba { transform: translateX(4px); }
[dir="rtl"] .btn:hover .ba, [dir="rtl"] .svc:hover .ba, [dir="rtl"] .other:hover .ba { transform: translateX(-4px); }
.btn.dark { background: var(--btn); color: var(--btn-tx); box-shadow: 0 16px 30px -18px rgba(13, 34, 24, .7); }
.btn.dark .ba { background: var(--lime); color: #0d1a14; }
[data-theme="dark"] .btn.dark .ba { background: var(--green); color: #fff; }
.btn.line { background: var(--card); border-color: var(--line2); color: var(--tx); }
.btn.line:hover { border-color: var(--green); }
.ba.o { background: transparent; border: 1.5px solid var(--green); color: var(--green-tx); }
.btn.lime { background: var(--lime); color: #0d1a14; box-shadow: 0 14px 34px -14px rgba(181, 239, 90, .55); }
.btn.lime .ba { background: #0d1a14; color: var(--lime); }
.btn.sm { height: 46px; padding-inline: 20px 5px; font-size: 14.5px; gap: 10px; }
.btn.sm .ba { width: 36px; height: 36px; }
.btn:disabled { opacity: .6; cursor: default; transform: none; }

/* ---------- header */
.hdr { position: sticky; top: 0; z-index: 50; transition: background-color .3s, box-shadow .3s, transform .4s cubic-bezier(.3, .7, .2, 1); }
.hdr.scrolled { background: color-mix(in srgb, var(--bg) 84%, transparent); -webkit-backdrop-filter: blur(16px) saturate(1.5); backdrop-filter: blur(16px) saturate(1.5); box-shadow: 0 1px 0 var(--line); }
.hdr.hide { transform: translateY(-100%); }
.hdr-in { display: flex; align-items: center; gap: 22px; height: var(--hdr); }
.logo { display: flex; align-items: center; gap: 10px; flex: none; }
.mk { width: 40px; height: 40px; overflow: visible; }
.u-s { fill: var(--mk-us); } .m-s { fill: var(--mk-ms); } .b-s { fill: var(--mk-bs); }
.u-f { fill: url(#gUl); } .m-f { fill: url(#gM); } .b-f { fill: url(#gB); }
[data-theme="dark"] .u-f { fill: url(#gU); }
.wm { display: flex; flex-direction: column; font: 700 24px/1 'Space Grotesk', sans-serif; letter-spacing: -.04em; direction: ltr; text-align: start; }
.wm small { font: 600 11px/1 'Vazirmatn', sans-serif; letter-spacing: 0; color: var(--tx3); margin-top: 4px; }
[dir="rtl"] .wm { text-align: right; }
.nav { display: flex; align-items: center; gap: 2px; margin-inline: auto; }
.nav > a, .dd-t { display: inline-flex; align-items: center; gap: 4px; padding: 8px 15px; border-radius: 999px; font-weight: 600; font-size: 15px; color: var(--tx2); transition: color .2s, background-color .2s; }
.nav > a:hover, .dd-t:hover, .dd:focus-within .dd-t { color: var(--tx); background: var(--soft); }
.chev { width: 16px; height: 16px; transition: transform .25s; }
.dd { position: relative; }
.dd::after { content: ''; position: absolute; top: 100%; left: 0; right: 0; height: 16px; }
.dd:hover .chev { transform: rotate(180deg); }
.dd-m { position: absolute; top: calc(100% + 12px); left: 50%; transform: translate(-50%, 10px); width: 580px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin: 0; padding: 10px; list-style: none; background: var(--card); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--sh2); opacity: 0; visibility: hidden; transition: opacity .25s, transform .25s, visibility .25s; }
.dd:hover .dd-m, .dd:focus-within .dd-m { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.dd-m a, .nav-svc a { display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-radius: 14px; font-size: 14.5px; font-weight: 600; color: var(--tx2); transition: background-color .2s, color .2s; }
.dd-m a:hover, .nav-svc a:hover { background: var(--soft); color: var(--tx); }
.mi { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; flex: none; background: var(--soft); color: var(--green-tx); }
.mi .ic { width: 19px; height: 19px; }
.nav-svc { display: none; }
.hdr-act { display: flex; align-items: center; gap: 8px; }
.ib { height: 44px; min-width: 44px; padding-inline: 11px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); display: inline-flex; align-items: center; justify-content: center; gap: 6px; color: var(--tx2); font-weight: 700; font-size: 13px; cursor: pointer; transition: color .2s, border-color .2s; }
.ib:hover { color: var(--tx); border-color: var(--green); }
.ib .ic { width: 19px; height: 19px; }
.theme .i-moon, [data-theme="dark"] .theme .i-sun { display: none; }
[data-theme="dark"] .theme .i-moon { display: block; }
.burger { display: none; }

/* ---------- common section bits */
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 15px 6px 13px; border-radius: 999px; background: color-mix(in srgb, var(--green) 11%, var(--card)); border: 1px solid color-mix(in srgb, var(--green) 24%, transparent); color: var(--green-tx); font-weight: 700; font-size: 13.5px; }
html[lang="en"] .pill, html[lang="en"] .kick { text-transform: uppercase; letter-spacing: .08em; font-size: 12px; }
.pill .ic { width: 17px; height: 17px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); animation: pulse 2.2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--green) 50%, transparent); } 70%, 100% { box-shadow: 0 0 0 9px transparent; } }
.kick { display: inline-block; margin-bottom: 14px; padding: 4px 13px; border-radius: 999px; background: color-mix(in srgb, var(--green) 11%, transparent); color: var(--green-tx); font-weight: 800; font-size: 13px; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.6rem); line-height: 1.35; }
html[lang="en"] h2 { line-height: 1.12; }
.lead { color: var(--tx2); font-size: 17px; line-height: 1.95; }
html[lang="en"] .lead { line-height: 1.65; }
.sh { max-width: 720px; margin-bottom: 48px; }
.sh .lead { margin-top: 14px; }
.sh.center { margin-inline: auto; text-align: center; }
.sh.split { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; }
.sh.split .lead { max-width: 400px; margin: 0; font-size: 15.5px; }
section { position: relative; }
.svcs, .why, .proc, .pains, .feats, .faq, .contact, .others { padding: 96px 0; }

/* scroll entrance (only once JS is running) */
.js [data-e] { opacity: var(--e, 0); translate: 0 calc((1 - var(--e, 0)) * 44px); }
.js .svc[data-e], .js .feat[data-e], .js .pain[data-e] { rotate: x calc((1 - var(--e, 0)) * 28deg); transform-origin: 50% 100%; }

/* ---------- hero */
.hero { padding: 26px 0 56px; }
.hero-in { display: grid; grid-template-columns: 1.04fr 1fr; align-items: center; gap: 36px; min-height: min(780px, calc(100svh - var(--hdr) - 40px)); }
.hero-txt { position: relative; z-index: 4; translate: 0 calc(var(--h, 0) * -70px); opacity: calc(1 - var(--h, 0) * .7); }
.hero-txt > * { animation: up .9s cubic-bezier(.2, .7, .2, 1) both; }
.hero-txt > :nth-child(2) { animation-delay: .08s; } .hero-txt > :nth-child(3) { animation-delay: .16s; } .hero-txt > :nth-child(4) { animation-delay: .24s; } .hero-txt > :nth-child(5) { animation-delay: .32s; } .hero-txt > :nth-child(6) { animation-delay: .4s; }
@keyframes up { from { opacity: 0; transform: translateY(26px); } }
h1 { margin-top: 22px; font-size: clamp(2.6rem, 5.6vw, 4.7rem); line-height: 1.22; }
html[lang="en"] h1 { line-height: 1.02; letter-spacing: -.045em; }
h1 > span { display: block; }
h1.h-svc { font-size: clamp(2.1rem, 4.2vw, 3.55rem); line-height: 1.3; }
html[lang="en"] h1.h-svc { line-height: 1.06; }
h1.h-svc .hl { display: inline-block; }
.hl { position: relative; display: inline-block; color: var(--green-tx); background: var(--hl); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; padding-bottom: .08em; }
.swoosh { position: absolute; inset-inline: 0; bottom: -.16em; width: 100%; height: .3em; overflow: visible; fill: none; stroke: var(--green); stroke-width: 5; stroke-linecap: round; pointer-events: none; }
[dir="rtl"] .swoosh { transform: scaleX(-1); }
.swoosh path { stroke-dasharray: 330; stroke-dashoffset: 330; animation: draw 1.1s .55s cubic-bezier(.6, 0, .2, 1) forwards; }
.swoosh .s2 { stroke-width: 3; opacity: .45; animation-delay: .85s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.hero .lead { margin-top: 22px; max-width: 560px; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.badges { display: flex; flex-wrap: wrap; gap: 10px; margin: 34px 0 0; padding: 0; list-style: none; }
.badges li { display: flex; align-items: center; gap: 9px; padding: 7px 14px 7px 7px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--sh1); font-size: 13.5px; font-weight: 700; }
[dir="rtl"] .badges li { padding: 7px 7px 7px 14px; }
.bi { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: var(--soft); color: var(--green-tx); }
.bi .ic { width: 17px; height: 17px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; font-size: 13.5px; color: var(--tx3); }
.crumbs a:hover { color: var(--green-tx); }

/* hero visual */
.hv { position: relative; width: 100%; max-width: 580px; aspect-ratio: 1; justify-self: center; }
.hv-disc { position: absolute; inset: 13%; border-radius: 50%; background: var(--disc); box-shadow: inset 0 -20px 60px rgba(255, 255, 255, .5); scale: calc(1 + var(--h, 0) * .12); animation: discIn 1.2s cubic-bezier(.2, .7, .2, 1) both; }
[data-theme="dark"] .hv-disc { box-shadow: none; }
@keyframes discIn { from { opacity: 0; transform: scale(.7); } }
.hv-ring { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; fill: none; stroke: color-mix(in srgb, var(--green) 45%, transparent); stroke-width: 1.4; stroke-dasharray: 2 8; stroke-linecap: round; rotate: calc(var(--h, 0) * 70deg); }
.hv-ring circle { transform-origin: 50% 50%; animation: spin 90s linear infinite; }
.hv-ring .r2 { stroke-dasharray: none; stroke: color-mix(in srgb, var(--green) 18%, transparent); animation: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.stage3d { pointer-events: none; }
.stage3d canvas { display: block; width: 100%; height: 100%; opacity: 0; transition: opacity .8s; }
.stage3d canvas.on { opacity: 1; }
.hv-3d { position: absolute; inset: -22% -8% -6%; z-index: 2; }
.fcard { position: absolute; z-index: 3; padding: 13px 15px; border-radius: 18px; background: color-mix(in srgb, var(--card) 86%, transparent); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid var(--line); box-shadow: var(--sh2); font-size: 13px; }
.fcard b { font-weight: 800; }
.fa { width: 44%; top: 9%; inset-inline-start: -4%; translate: 0 calc(var(--h, 0) * -110px); animation: bob 6s ease-in-out infinite; }
.fa p { display: flex; align-items: center; gap: 9px; margin-bottom: 8px; line-height: 1.4; }
.fi { width: 32px; height: 32px; flex: none; border-radius: 10px; display: grid; place-items: center; background: color-mix(in srgb, var(--blue) 13%, transparent); color: var(--blue-tx); }
.fi .ic { width: 17px; height: 17px; }
.fi.g { background: color-mix(in srgb, var(--green) 15%, transparent); color: var(--green-tx); }
.spark { width: 100%; height: 54px; overflow: visible; }
.spark .ar { fill: color-mix(in srgb, var(--green) 16%, transparent); }
.spark .ln { fill: none; stroke: var(--green); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 260; stroke-dashoffset: 260; animation: draw 1.6s .9s ease forwards; }
.fb { bottom: 2%; inset-inline-start: 6%; display: flex; align-items: center; gap: 11px; translate: 0 calc(var(--h, 0) * -40px); animation: bob 7s -2s ease-in-out infinite; }
.fb > div { display: grid; gap: 6px; line-height: 1.3; }
.mb { display: flex; align-items: flex-end; gap: 4px; height: 22px; }
.mb i { width: 8px; border-radius: 3px; background: linear-gradient(var(--green), color-mix(in srgb, var(--green) 50%, transparent)); transform-origin: bottom; animation: grow 1s cubic-bezier(.2, .7, .2, 1) both; }
.mb i:nth-child(1) { height: 30%; animation-delay: 1s; } .mb i:nth-child(2) { height: 48%; animation-delay: 1.08s; } .mb i:nth-child(3) { height: 42%; animation-delay: 1.16s; } .mb i:nth-child(4) { height: 72%; animation-delay: 1.24s; } .mb i:nth-child(5) { height: 100%; animation-delay: 1.32s; background: var(--blue); }
@keyframes grow { from { transform: scaleY(0); } }
@keyframes bob { 50% { transform: translateY(-10px); } }
.orbit { position: absolute; inset: 0; z-index: 3; margin: 0; padding: 0; list-style: none; pointer-events: none; }
.orbit li { position: absolute; display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 700; white-space: nowrap; animation: chipIn .8s cubic-bezier(.2, .7, .2, 1.3) both; }
.orbit li > * { animation: bob 5s ease-in-out infinite; }
.oc { width: 54px; height: 54px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--card); color: var(--tx); box-shadow: var(--sh2), inset 0 0 0 1px var(--line); }
.oc .ic { width: 22px; height: 22px; }
.orbit b { padding: 3px 10px; border-radius: 10px; background: color-mix(in srgb, var(--card) 70%, transparent); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.o0 { top: 5%; inset-inline-end: 8%; translate: calc(var(--h, 0) * 30px * var(--sd, 1)) calc(var(--h, 0) * -60px); animation-delay: .5s; }
.o1 { top: 28%; inset-inline-end: -5%; translate: calc(var(--h, 0) * 50px * var(--sd, 1)) calc(var(--h, 0) * -30px); animation-delay: .62s; }
.o2 { top: 53%; inset-inline-end: -6%; translate: calc(var(--h, 0) * 50px * var(--sd, 1)) calc(var(--h, 0) * 10px); animation-delay: .74s; }
.o3 { top: 77%; inset-inline-end: 4%; translate: calc(var(--h, 0) * 30px * var(--sd, 1)) calc(var(--h, 0) * 40px); animation-delay: .86s; }
[dir="rtl"] .orbit { --sd: -1; }
.o1 .oc { background: linear-gradient(145deg, #a2ec6c, #3faf2a); color: #fff; box-shadow: 0 16px 30px -12px rgba(63, 175, 42, .6); }
.o2 .oc { background: #0f2219; color: var(--lime); }
.o3 .oc { color: var(--green-tx); }
.o1 > *, .o3 > * { animation-delay: -2.5s; }
@keyframes chipIn { from { opacity: 0; scale: .6; } }

/* ---------- tools marquee */
.tools-sec { padding: 6px 0 20px; }
.tools { display: flex; align-items: center; gap: 26px; padding: 20px 26px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); box-shadow: var(--sh1); }
.tools-t { flex: none; max-width: 190px; padding-inline-end: 26px; border-inline-end: 1px solid var(--line); color: var(--tx2); font-size: 13.5px; font-weight: 700; line-height: 1.7; }
.mq { flex: 1; min-width: 0; overflow: hidden; direction: ltr; -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); }
.mshift { translate: var(--mx, 0) 0; }
.mtrack { display: flex; align-items: center; gap: 30px; width: max-content; animation: mq 60s linear infinite; }
.mtrack span { font: 700 21px/1 'Space Grotesk', sans-serif; letter-spacing: -.03em; color: var(--tx); opacity: .7; white-space: nowrap; }
.mtrack i { font-style: normal; font-size: 12px; color: var(--green); }
@keyframes mq { to { transform: translateX(-50%); } }

/* ---------- services */
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; perspective: 1400px; }
.svc { position: relative; display: flex; flex-direction: column; padding: 22px 22px 20px; border-radius: var(--r); background: linear-gradient(170deg, var(--soft) 0%, var(--card) 58%); border: 1px solid var(--line); box-shadow: var(--sh1); transform: perspective(900px) rotateX(var(--tlx, 0deg)) rotateY(var(--tly, 0deg)); transition: transform .3s, box-shadow .35s, border-color .35s, translate .2s, opacity .2s; }
.svc:nth-child(4n+2), .svc:nth-child(4n+4) { background: linear-gradient(170deg, var(--soft2) 0%, var(--card) 58%); }
.svc:hover { box-shadow: var(--sh2); border-color: color-mix(in srgb, var(--green) 40%, var(--line)); }
.svc-ic { display: block; width: 108px; height: 108px; margin: -6px 0 6px -6px; translate: 0 calc((var(--e, 1) - 1) * -26px); transition: transform .5s cubic-bezier(.2, .8, .2, 1.3); }
[dir="rtl"] .svc-ic { margin: -6px -6px 6px 0; }
.svc:hover .svc-ic { transform: translateY(-8px) rotate(-5deg) scale(1.06); }
.clay { width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 12px 14px rgba(30, 80, 40, .16)); }
[data-theme="dark"] .clay { filter: drop-shadow(0 12px 16px rgba(0, 0, 0, .55)); }
.csh { fill: rgba(20, 60, 30, .1); }
[data-theme="dark"] .csh { fill: rgba(0, 0, 0, .35); }
.svc h3 { font-size: 18px; line-height: 1.5; margin-bottom: 8px; }
.svc p { flex: 1; margin-bottom: 18px; color: var(--tx2); font-size: 14.2px; line-height: 1.85; }
.more { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-weight: 700; font-size: 14.5px; }
.ba.g { width: 36px; height: 36px; }

/* ---------- CTA band */
.band-sec { padding: 24px 0; }
.band { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; min-height: 330px; overflow: hidden; isolation: isolate; border-radius: 32px; color: #fff; background: radial-gradient(120% 140% at 80% 50%, #22622f 0%, #10301f 42%, #0a1812 100%); box-shadow: 0 40px 80px -40px rgba(10, 40, 20, .55); }
[dir="rtl"] .band { background: radial-gradient(120% 140% at 20% 50%, #22622f 0%, #10301f 42%, #0a1812 100%); }
[data-theme="dark"] .band { border: 1px solid rgba(255, 255, 255, .08); }
.band-grid { position: absolute; inset: 20% -20% -30%; z-index: -1; background-image: linear-gradient(rgba(181, 239, 90, .13) 1px, transparent 1px), linear-gradient(90deg, rgba(181, 239, 90, .13) 1px, transparent 1px); background-size: 48px 48px; background-position: 0 calc(var(--p, 0) * 160px); transform: perspective(420px) rotateX(58deg); transform-origin: 50% 100%; -webkit-mask-image: linear-gradient(to top, #000 10%, transparent 80%); mask-image: linear-gradient(to top, #000 10%, transparent 80%); }
.band-dot { position: absolute; z-index: -1; width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 16px 2px rgba(181, 239, 90, .8); animation: bob 4s ease-in-out infinite; }
.d1 { top: 18%; inset-inline-start: 46%; } .d2 { top: 74%; inset-inline-start: 38%; animation-delay: -1.5s; } .d3 { top: 30%; inset-inline-end: 6%; animation-delay: -3s; width: 6px; height: 6px; }
.band-txt { position: relative; z-index: 2; padding: 54px 56px; }
.band h2 { font-size: clamp(1.6rem, 2.8vw, 2.35rem); color: #fff; }
.band p { margin: 14px 0 28px; max-width: 470px; color: rgba(255, 255, 255, .72); font-size: 16px; }
.band-3d { position: relative; align-self: stretch; min-height: 330px; }

/* ---------- why */
.why-band { display: grid; grid-template-columns: repeat(4, 1fr); padding: 12px; border-radius: 30px; background: #0f2219; color: #fff; box-shadow: var(--sh2); }
[data-theme="dark"] .why-band { background: linear-gradient(135deg, #10201a, #0b1520); border: 1px solid var(--line); }
.why-band article { position: relative; padding: 30px 26px; }
.why-band article + article::before { content: ''; position: absolute; inset-inline-start: 0; top: 30px; bottom: 30px; width: 1px; background: rgba(255, 255, 255, .12); }
.wi { width: 52px; height: 52px; margin-bottom: 18px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(145deg, #c4f77d, #5cc935); color: #0d1a14; box-shadow: 0 14px 26px -12px rgba(140, 230, 80, .6); }
.why-band article:nth-child(even) .wi { background: linear-gradient(145deg, #8cc6ff, #1f7bff); color: #fff; box-shadow: 0 14px 26px -12px rgba(31, 123, 255, .6); }
.why-band h3 { margin-bottom: 10px; color: var(--lime); font-size: 19px; line-height: 1.5; }
.why-band p { color: rgba(255, 255, 255, .7); font-size: 14.3px; line-height: 1.9; }

/* ---------- process */
.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.steps-line { position: absolute; top: 34px; inset-inline: 12.5%; height: 3px; border-radius: 3px; background: var(--line); overflow: hidden; }
.steps-line i { position: absolute; inset: 0; background: linear-gradient(90deg, var(--green), var(--blue)); transform: scaleX(var(--sp, 0)); transform-origin: left; }
[dir="rtl"] .steps-line i { transform-origin: right; background: linear-gradient(270deg, var(--green), var(--blue)); }
.step { position: relative; padding: 0 8px; text-align: center; transition: opacity .5s, translate .5s; }
.js .step:not(.on) { opacity: .5; translate: 0 10px; }
.step-n { position: relative; z-index: 1; width: 70px; height: 70px; margin: 0 auto 20px; border-radius: 50%; display: grid; place-content: center; background: var(--card); border: 2px solid var(--line2); font-size: 21px; font-weight: 800; line-height: 1.05; transition: background-color .45s, border-color .45s, color .45s, box-shadow .45s, transform .45s; }
.step-n small { display: block; font-size: 9.5px; font-weight: 700; color: var(--tx3); transition: color .45s; }
.step.on .step-n { background: var(--green); border-color: var(--green); color: #fff; transform: scale(1.06); box-shadow: 0 0 0 8px color-mix(in srgb, var(--green) 14%, transparent), 0 16px 30px -12px var(--green); }
.step.on .step-n small { color: rgba(255, 255, 255, .8); }
.step h3 { margin-bottom: 8px; font-size: 18px; line-height: 1.5; }
.step p { color: var(--tx2); font-size: 14.3px; line-height: 1.85; }

/* ---------- contact */
.contact-in { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.contact-txt .lead { margin-top: 14px; }
.csteps { display: grid; gap: 14px; margin: 30px 0 0; padding: 0; list-style: none; }
.csteps li { display: flex; align-items: center; gap: 14px; font-weight: 600; }
.csteps b { width: 42px; height: 42px; flex: none; border-radius: 13px; display: grid; place-items: center; background: var(--soft); color: var(--green-tx); font-size: 14px; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 32px; border-radius: 30px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--sh2); }
.form label { display: grid; gap: 7px; font-size: 13.5px; font-weight: 700; color: var(--tx2); }
.full { grid-column: 1 / -1; }
input, select, textarea { width: 100%; padding: 13px 15px; border-radius: 14px; border: 1px solid var(--line2); background: var(--bg); color: var(--tx); outline: none; transition: border-color .2s, box-shadow .2s; }
input:focus, select:focus, textarea:focus { border-color: var(--green); box-shadow: 0 0 0 4px color-mix(in srgb, var(--green) 16%, transparent); }
select option { background: var(--card); }
textarea { min-height: 128px; resize: vertical; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.form-msg { font-size: 14px; font-weight: 600; }
.form-msg.ok { color: var(--green-tx); } .form-msg.err { color: #e5484d; }

/* ---------- final strip */
.final-sec { padding: 0 0 96px; }
.final { display: flex; align-items: center; gap: 22px; padding: 22px 26px; border-radius: 28px; background: linear-gradient(100deg, color-mix(in srgb, var(--green) 13%, var(--card)), var(--card) 70%); border: 1px solid color-mix(in srgb, var(--green) 24%, var(--line)); }
.final-ic { width: 66px; height: 66px; flex: none; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(145deg, #a2ec6c, #3faf2a); color: #fff; box-shadow: 0 16px 30px -12px rgba(63, 175, 42, .6); }
.final-ic .ic { width: 30px; height: 30px; }
.final-t { flex: 1; }
.final h2 { font-size: 21px; line-height: 1.5; }
.final p { margin-top: 3px; color: var(--tx2); font-size: 14.5px; }

/* ---------- footer */
.ftr { padding: 64px 0 26px; background: var(--card); border-top: 1px solid var(--line); }
.ftr-top { display: grid; grid-template-columns: 1.3fr 1fr .8fr 1fr; gap: 40px; }
.ftr-brand p { max-width: 330px; margin-top: 18px; color: var(--tx2); font-size: 14px; line-height: 1.95; }
.ftr h3 { margin-bottom: 16px; font-size: 15px; }
.ftr ul { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; }
.ftr ul a { color: var(--tx2); font-size: 14px; transition: color .2s; }
.ftr ul a:hover { color: var(--green-tx); }
.ftr-cta p { margin-bottom: 18px; color: var(--tx2); font-size: 14px; }
.ftr-bot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 46px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--tx3); font-size: 13px; }
.ftr-tag { font-family: 'Space Grotesk', sans-serif; font-weight: 700; direction: ltr; }

/* ---------- service landing */
.pain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; perspective: 1400px; }
.pain, .feat { position: relative; padding: 28px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); box-shadow: var(--sh1); transform: perspective(900px) rotateX(var(--tlx, 0deg)) rotateY(var(--tly, 0deg)); transition: transform .3s, box-shadow .35s, border-color .35s; }
.pain:hover, .feat:hover { box-shadow: var(--sh2); }
.pain-ic { width: 50px; height: 50px; margin-bottom: 18px; border-radius: 15px; display: grid; place-items: center; background: #fff0eb; color: #e5582f; }
[data-theme="dark"] .pain-ic { background: rgba(229, 88, 47, .13); color: #ff8a65; }
.pain-n { position: absolute; top: 18px; inset-inline-end: 24px; font-size: 56px; font-weight: 800; line-height: 1; color: var(--line); }
.pain h3, .feat h3 { margin-bottom: 8px; font-size: 18px; line-height: 1.5; }
.pain p, .feat p { color: var(--tx2); font-size: 14.5px; line-height: 1.85; }
.feats { background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--green) 5%, transparent) 30%, transparent); }
.feats-head { display: flex; flex-direction: column; align-items: center; }
.feats-ic { width: 120px; height: 120px; margin-bottom: 4px; animation: bob 5s ease-in-out infinite; }
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; perspective: 1400px; }
.feat:hover { border-color: color-mix(in srgb, var(--green) 40%, var(--line)); }
.feat-ic { width: 54px; height: 54px; margin-bottom: 18px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--green) 14%, var(--card)); color: var(--green-tx); box-shadow: 0 0 0 7px color-mix(in srgb, var(--green) 6%, transparent); }
.feat-n { position: absolute; top: 26px; inset-inline-end: 26px; color: var(--tx3); font-size: 13px; font-weight: 800; }
.faq-in { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: start; }
.faq .sh { position: sticky; top: 110px; margin: 0; }
.faq .sh .btn { margin-top: 26px; }
.faq-list { display: grid; gap: 12px; }
details { border-radius: 20px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--sh1); overflow: hidden; transition: border-color .3s; }
details[open] { border-color: color-mix(in srgb, var(--green) 40%, var(--line)); }
summary { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 18px 22px; cursor: pointer; list-style: none; font-weight: 700; font-size: 16px; line-height: 1.6; }
summary::-webkit-details-marker { display: none; }
.fq { width: 36px; height: 36px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--soft); color: var(--green-tx); transition: transform .3s, background-color .3s, color .3s; }
.fq .ic { width: 18px; height: 18px; }
details[open] .fq { transform: rotate(45deg); background: var(--green); color: #fff; }
details p { padding: 0 22px 20px; color: var(--tx2); line-height: 1.95; }
.others-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 14px; }
.other { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 22px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--sh1); transition: transform .3s, box-shadow .3s, border-color .3s, translate .2s, opacity .2s; }
.other:hover { transform: translateY(-4px); box-shadow: var(--sh2); border-color: color-mix(in srgb, var(--green) 40%, var(--line)); }
.other-ic { width: 62px; height: 62px; flex: none; }
.other-t { flex: 1; min-width: 0; }
.other-t strong { display: block; font-size: 15px; line-height: 1.5; }
.other-t span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: var(--tx2); font-size: 12.5px; line-height: 1.7; }
.other .ba { width: 34px; height: 34px; }
.nf .hero-in { min-height: 70vh; }

/* ---------- responsive */
@media (max-width: 1100px) {
  .nav > a, .dd-t { padding: 8px 11px; font-size: 14.5px; }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .ftr-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 980px) {
  :root { --hdr: 68px; }
  .burger { display: inline-flex; }
  .nav { position: fixed; top: calc(var(--hdr) + 6px); inset-inline: 12px; max-height: calc(100svh - var(--hdr) - 20px); overflow: auto; display: none; flex-direction: column; align-items: stretch; gap: 2px; padding: 12px; border-radius: 22px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--sh2); }
  .nav.open { display: flex; }
  .nav .dd { display: none; }
  .nav > a { padding: 12px 14px; border-radius: 14px; }
  .nav-svc { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; margin: 6px 0 0; padding: 8px 0 0; border-top: 1px solid var(--line); list-style: none; order: -1; }
  .nav-svc a { font-size: 13.5px; padding: 8px; }
  .nav-svc .mi { width: 34px; height: 34px; }
  .hero { padding-top: 10px; }
  .hero-in { grid-template-columns: 1fr; min-height: 0; gap: 10px; }
  .hv { max-width: 520px; width: 92%; margin-top: 10px; }
  .band { grid-template-columns: 1fr; }
  .band-3d { order: -1; min-height: 260px; height: 260px; }
  .band-txt { padding: 0 32px 40px; text-align: center; }
  .band p { margin-inline: auto; }
  .why-band { grid-template-columns: 1fr 1fr; }
  .why-band article:nth-child(3)::before { display: none; }
  .sh.split { flex-direction: column; align-items: flex-start; gap: 14px; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .steps-line { display: none; }
  .contact-in, .faq-in { grid-template-columns: 1fr; gap: 36px; }
  .faq .sh { position: static; }
  .feat-grid { grid-template-columns: 1fr 1fr; }
  .pain-grid { grid-template-columns: 1fr; max-width: 640px; margin-inline: auto; }
  .svcs, .why, .proc, .pains, .feats, .faq, .contact, .others { padding: 72px 0; }
}
@media (max-width: 640px) {
  .wrap { padding-inline: 16px; }
  .hdr-cta, .lang span { display: none; }
  .wm small { display: none; }
  .ib { height: 42px; min-width: 42px; }
  h1 { font-size: clamp(2.3rem, 10vw, 2.9rem); }
  h1.h-svc { font-size: clamp(1.85rem, 8vw, 2.4rem); }
  .lead { font-size: 16px; }
  .btns .btn { flex: 1 1 100%; }
  .badges li { flex: 1 1 calc(50% - 10px); font-size: 12.5px; }
  .hv { width: 100%; }
  .orbit li { font-size: 12px; gap: 6px; }
  .orbit b { display: none; }
  .oc { width: 44px; height: 44px; }
  .o1, .o2 { inset-inline-end: 0; }
  .fa { width: 52%; inset-inline-start: 0; }
  .fb { inset-inline-start: 2%; }
  .fcard { font-size: 12px; padding: 10px 12px; }
  .tools { flex-direction: column; align-items: stretch; gap: 14px; padding: 18px; }
  .tools-t { max-width: none; padding: 0; border: 0; text-align: center; }
  .svc-grid { grid-template-columns: 1fr; gap: 14px; }
  .svc { display: grid; grid-template-columns: 84px 1fr; column-gap: 14px; padding: 16px; }
  .svc-ic { grid-row: span 3; width: 84px; height: 84px; margin: 0; }
  [dir="rtl"] .svc-ic { margin: 0; }
  .svc p { margin-bottom: 10px; }
  .band-txt { padding: 0 22px 34px; }
  .band-3d { min-height: 220px; height: 220px; }
  .why-band { grid-template-columns: 1fr; }
  .why-band article + article::before { inset-inline: 26px; top: 0; bottom: auto; width: auto; height: 1px; display: block; }
  .steps { grid-template-columns: 1fr; }
  .form { grid-template-columns: 1fr; padding: 22px; border-radius: 24px; }
  .form-foot .btn { width: 100%; }
  .final { flex-direction: column; text-align: center; padding: 26px 20px; }
  .feat-grid { grid-template-columns: 1fr; }
  .ftr-top { grid-template-columns: 1fr; gap: 30px; }
  .others-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js [data-e] { opacity: 1; translate: none; rotate: none; }
  .hero-txt { translate: none; opacity: 1; }
}
