/* v30: a restrained visual language for interactive explanations and motion. */
:root{--studio-ease:cubic-bezier(.18,.78,.2,1);--studio-blue:#70b3ff;--studio-edge:#9cc8ff35}
.studio-figure,.studio-brief{position:relative;border:1px solid var(--studio-edge);border-radius:16px;padding:20px;margin:18px 0;background:radial-gradient(ellipse at 0 0,#244c7450,transparent 65%),#0c1725;box-shadow:inset 0 1px #d1e6ff16,0 7px 20px #0003;isolation:isolate;color:#eaf3ff}
.studio-figure:before{content:'';position:absolute;inset:18px auto auto 0;width:3px;height:34px;background:#3988ff;border-radius:2px;box-shadow:0 0 10px #3988ff55}
[dir=rtl] .studio-figure:before{left:auto;right:0}
.studio-kicker{display:block;font:700 10px/1.5 Inter,sans-serif;letter-spacing:.13em;color:#9dc6f8;margin-bottom:8px}
.figure-heading h3,.studio-brief h3{font:800 23px/1.25 Inter,sans-serif;color:#fff;margin:0 0 8px;letter-spacing:-.025em}
.figure-heading p{font:400 14px/1.6 Inter,sans-serif;color:#d3e2f4;margin:0;max-width:58ch}
.diagram-canvas{direction:ltr;position:relative;margin:16px 0 12px;border-radius:12px;background:linear-gradient(#a8c9ff08 1px,transparent 1px),linear-gradient(90deg,#a8c9ff08 1px,transparent 1px),radial-gradient(ellipse,#25548733,transparent 70%);background-size:24px 24px,24px 24px,auto;overflow:hidden}
.diagram-svg{display:block;width:100%;height:auto;max-height:210px;overflow:visible}
.diagram-svg text{fill:#f0f7ff;font:700 13px Inter,sans-serif;text-anchor:middle;stroke:none}
.diagram-wire{fill:none;stroke:#86baff55;stroke-width:2;stroke-linecap:round}
.diagram-core,.diagram-surface{fill:#142b43;stroke:#8cc3ff;stroke-width:1.4}
.diagram-ink{fill:none;stroke:#a9d2ff;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round}
.diagram-orbit{fill:none;stroke:#7cafff55;stroke-width:1;stroke-dasharray:3 5}
.diagram-piece,.diagram-bar,.diagram-node>circle:first-child{fill:#18314d;stroke:#83b8fc66;stroke-width:1.4;transition:fill .4s,stroke .4s,y .55s var(--studio-ease),height .55s var(--studio-ease)}
.diagram-piece.is-current,.diagram-bar.is-current,.diagram-node.is-current>circle:first-child{fill:#2465b8;stroke:#c5e2ff}
.node-halo{fill:none;stroke:#80baff;stroke-width:1;opacity:0}
.diagram-node.is-current .node-halo{opacity:.35}
.diagram-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
.diagram-tabs button{display:flex;align-items:center;gap:8px;min-height:46px;text-align:start;background:#0a1320;border:1px solid #9ec7ff2b;border-radius:9px;padding:8px 10px;color:#dbeaff;font:650 12px/1.4 Inter,sans-serif;transition:border-color .2s,background-color .2s,transform .2s}
.diagram-tabs button>span{display:grid;place-items:center;flex:0 0 22px;height:22px;border:1px solid #93bcf33b;border-radius:6px;font:700 11px Inter,sans-serif;color:#bbd9ff}
.diagram-tabs button[aria-pressed=true]{background:#163960;border-color:#93c7ffb0;color:#fff;box-shadow:inset 0 1px #d0e9ff16}
.diagram-tabs button:active{transform:translateY(1px)}
.diagram-detail{font:400 14px/1.65 Inter,sans-serif!important;margin:13px 0 9px!important;min-height:4.95em;color:#f0f5fc!important;text-shadow:none!important}
.diagram-controls{display:flex;justify-content:space-between;gap:10px;border-top:1px solid #a5caff25;padding-top:9px}
.diagram-controls button{min-height:44px;padding:8px 12px;border-radius:9px;border:1px solid #9ac3ff35;background:#122943;color:#c8e0ff;font:650 12px Inter,sans-serif}
.diagram-controls [data-play]{background:#214d82;color:#fff;border-color:#9ec9ff55}
.is-playing.in-view .diagram-wire{stroke:#91c6ff;stroke-dasharray:7 8;animation:flow-wire 1.1s linear infinite}
.is-playing.in-view .node-halo{animation:node-signal 1.5s ease-out infinite}
@keyframes flow-wire{to{stroke-dashoffset:-30}}
@keyframes node-signal{0%{stroke-width:2;opacity:.5}100%{stroke-width:0;opacity:0}}
.estimator label,.studio-brief label{display:block;font:650 13px/1.5 Inter,sans-serif;color:#e3efff;margin:16px 0}
.estimator label>span{display:flex;gap:12px;align-items:center;margin-top:8px;direction:ltr}
.estimator input{accent-color:#72b5ff;width:100%;min-width:0;height:34px}
.estimator output{font:800 17px Inter,sans-serif;min-width:40px;text-align:end}
.estimate-bars{height:27px;display:grid;gap:5px;margin:15px 0;direction:ltr}
.estimate-bars i{display:block;width:calc(var(--estimate-width,40%) / 2);background:linear-gradient(90deg,#235995,#80c0ff);border-radius:3px;transition:width .45s var(--studio-ease)}
.estimate-bars i+ i{width:var(--estimate-width,40%)}
.estimate-result{display:flex;flex-wrap:wrap;align-items:baseline;gap:10px;color:#bbdcff}
.estimate-result strong{font:850 32px/1.3 Inter,sans-serif;color:#fff;letter-spacing:-.04em}
.estimate-note,.privacy-note{font:400 12px/1.65 Inter,sans-serif;color:#bdcfe5;margin-bottom:0}
.studio-brief input,.studio-brief select,.studio-brief textarea{display:block;margin-top:7px;border:1px solid #a6caff4d;border-radius:9px;background:#071322;color:#f5f8ff;padding:11px 12px;width:100%;box-sizing:border-box;min-height:46px;font:400 14px/1.5 Inter,sans-serif;resize:vertical}
.studio-brief input::placeholder,.studio-brief textarea::placeholder{color:#94acc9}
.studio-brief :is(input,select,textarea):focus-visible{outline:2px solid #91caff;outline-offset:3px}
.brief-preview{border-inline-start:3px solid #3988ff;padding:4px 12px;margin:20px 0}
.brief-preview>span{display:block;font-size:12px;color:#adcefa;margin-bottom:4px}
.brief-preview strong{display:block;font-size:18px;color:white}
.brief-preview p{font-size:14px;line-height:1.6;margin-bottom:0}
.brief-send{white-space:normal;text-align:center;width:100%;font-size:14px!important;line-height:1.5}
.panel-symbol{width:64px;height:64px;display:grid;place-items:center;border:1px solid #8fc2ff66;border-radius:16px;color:#e6f2ff;background:linear-gradient(130deg,#245389,#102338);grid-row:1/3;box-shadow:0 7px 18px #0005,inset 0 1px #d9eaff22}
.panel-symbol .service-symbol{width:42px;height:42px}
.service-intro:has(.panel-symbol){grid-template-columns:64px minmax(0,1fr);column-gap:16px;min-height:64px}
.service-intro:has(.panel-symbol) .dialog-title{font-size:29px}
.goal-card[aria-pressed=true]{border-color:#91c4ff;background:linear-gradient(110deg,#23578e,#112742);box-shadow:inset 3px 0 #75b9ff,0 4px 14px #0005}
.goal-feedback{padding:2px 12px 6px;border-inline-start:2px solid #3988ff;margin-top:12px;font-size:13px;line-height:1.6;color:#e1edfc}
.goal-feedback p{margin:0 0 4px}.goal-feedback a{display:inline-flex;align-items:center;min-height:44px;color:#9fd0ff;text-underline-offset:4px}
.goal-card .service-symbol{width:24px;height:24px}
.process-ribbon{grid-column:1/-1;display:grid;grid-template-columns:1fr auto;gap:8px;text-align:start;padding:12px 0 15px;margin-bottom:5px;width:100%;background:transparent;border:0;border-bottom:1px solid #9ac8ff33;color:#e4efff;position:relative}
.process-ribbon>span:first-child{font:650 12px Inter,sans-serif;color:#aecdf6}.process-ribbon>span:last-child{grid-column:2;grid-row:1/3;align-self:center;color:#91c5ff;font-size:25px}
.ribbon-stages{display:flex;gap:8px;flex-wrap:wrap;align-items:center;font:650 12px/1.5 Inter,sans-serif}.ribbon-stages i{color:#6dafff;font-style:normal}
.service-card{backdrop-filter:none;-webkit-backdrop-filter:none;transform-style:flat}
.service-card:before{content:'';position:absolute;inset:0;border-radius:inherit;pointer-events:none;box-shadow:inset 0 1px #c9e3ff14, inset 1px 0 #c9e3ff0a;transition:box-shadow .35s}
.service-card:focus-visible:before,.service-card:hover:before{box-shadow:inset 0 1px #dff0ff70,inset 1px 0 #8cc5ff45}
.service-card:after{background:linear-gradient(110deg,transparent 25%,#b7d8ff12 50%,transparent 75%)}
.service-card:focus-visible .service-symbol,.service-card:hover .service-symbol{animation:symbol-ready .55s var(--studio-ease)}
.service-card[data-service=conversion]:is(:hover,:focus-visible) .icon-accent{animation:symbol-rise .6s var(--studio-ease)}
.service-card[data-service=cybersecurity]:is(:hover,:focus-visible) .icon-accent,.service-card[data-service=infrastructure]:is(:hover,:focus-visible) .icon-accent{stroke-dasharray:60;animation:symbol-draw .8s var(--studio-ease)}
.service-card[data-service=data]:is(:hover,:focus-visible) .icon-accent{animation:symbol-rise .6s var(--studio-ease)}
.service-card[data-service=ai]:is(:hover,:focus-visible) .icon-accent{animation:symbol-signal .6s ease}
@keyframes symbol-ready{0%{opacity:.6;transform:translateY(2px)}100%{opacity:1;transform:none}}
@keyframes symbol-rise{from{transform:translateY(3px);opacity:.25}to{transform:none;opacity:1}}
@keyframes symbol-draw{from{stroke-dashoffset:60}to{stroke-dashoffset:0}}
@keyframes symbol-signal{50%{stroke:#fff}100%{stroke:#78b8ff}}
@media(hover:hover) and (pointer:fine){.service-card:hover{transform:perspective(800px) rotateX(var(--tilt-x,0deg)) rotateY(var(--tilt-y,0deg)) translateY(-2px);box-shadow:0 7px 20px #0005,0 2px 6px #21456b33}}
.service-card:active,.route-card:active{transform:translateY(1px) scale(.993);box-shadow:inset 0 2px 5px #0004;transition-duration:100ms}
.service-filters{position:relative;isolation:isolate}
.filter-indicator{position:absolute;left:var(--indicator-x,0);top:var(--indicator-y,0);width:var(--indicator-width,0);height:var(--indicator-height,0);border-radius:8px;background:#214a7e;box-shadow:inset 0 -2px #89c4ff;z-index:-1;transition:left .4s var(--studio-ease),width .4s var(--studio-ease),height .4s var(--studio-ease)}
.service-filters:has(.filter-indicator) button[aria-pressed=true]{background:transparent;box-shadow:none}
.hero-copy{view-transition-name:hero-copy}
::view-transition-group(*){animation-duration:420ms;animation-timing-function:cubic-bezier(.18,.78,.2,1)}
::view-transition-old(root),::view-transition-new(root){animation:none;mix-blend-mode:normal}
html[data-transition=language]::view-transition-old(hero-copy){animation:studio-fade-out .18s ease both}
html[data-transition=language]::view-transition-new(hero-copy){animation:studio-fade-in .32s ease both}
@keyframes studio-fade-out{to{opacity:0}}@keyframes studio-fade-in{from{opacity:0}to{opacity:1}}
html[data-motion=on] .hero-copy{animation:hero-arrival .8s var(--studio-ease) both}
@keyframes hero-arrival{from{opacity:.25;clip-path:inset(0 0 12% 0);translate:0 10px}to{opacity:1;clip-path:inset(0);translate:0 0}}
.scene-engraving{position:absolute;inset:0;width:100%;height:100%;fill:none;stroke:#bddcff;stroke-width:.6;opacity:.055;pointer-events:none}
html[data-motion=on] .scene-engraving{animation:engraving-light 7s ease-out 1}
@keyframes engraving-light{0%,100%{opacity:.055}40%{opacity:.16}}
.hero-actions [data-contact-save]:before,.hero-actions [data-contact-save]:after{display:none!important}
.save-orbit{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;overflow:visible;border-radius:inherit}
.save-orbit rect{width:calc(100% - 2px);height:calc(100% - 2px);fill:none;stroke:#c4e5ff;stroke-width:1.3;stroke-dasharray:9 91;stroke-linecap:round;animation:save-trace 2.6s linear infinite;animation-play-state:paused}
.motion-visible .save-orbit rect{animation-play-state:running}
@keyframes save-trace{to{stroke-dashoffset:-100}}
footer.motion-visible .footer-profile,footer.motion-visible .contact-details{animation:footer-settle .7s var(--studio-ease) backwards}
footer.motion-visible .contact-details{animation-delay:90ms}
@keyframes footer-settle{from{opacity:.3;translate:0 7px}to{opacity:1;translate:0 0}}
.process-ribbon:after{content:'';position:absolute;bottom:0;inset-inline-start:0;width:35%;height:1px;background:linear-gradient(90deg,#3988ff,#b4ddff,transparent);transform-origin:left}
footer.motion-visible .process-ribbon:after{animation:signature-line 1s var(--studio-ease) both}
@keyframes signature-line{from{transform:scaleX(0)}to{transform:scaleX(1)}}
dialog[data-panel=qr] .qr-image{animation:none!important;transform:none!important;filter:none!important}
html[lang=fa] .studio-kicker{font:700 17px/1.4 'B Nazanin',serif;letter-spacing:0}
html[lang=fa] :is(.figure-heading h3,.studio-brief h3){font:700 28px/1.35 'B Nazanin',serif;letter-spacing:0}
html[lang=fa] .figure-heading p,html[lang=fa] .diagram-detail{font:400 21px/1.6 'B Nazanin',serif!important}
html[lang=fa] .diagram-detail{min-height:4.8em}
html[lang=fa] .diagram-tabs button{font:700 20px/1.35 'B Nazanin',serif}
html[lang=fa] .diagram-controls button{font:700 20px/1.4 'B Nazanin',serif}
html[lang=fa] :is(.estimator label,.studio-brief label,.studio-brief input,.studio-brief textarea,.studio-brief select){font:400 21px/1.5 'B Nazanin',serif}
html[lang=fa] :is(.estimate-note,.privacy-note,.brief-preview p,.goal-feedback){font:400 19px/1.6 'B Nazanin',serif}
html[lang=fa] .brief-send{font:700 21px/1.5 'B Nazanin',serif!important}
html[lang=fa] .brief-preview strong{font:700 25px/1.4 'B Nazanin',serif}
html[lang=fa] .process-ribbon>span:first-child{font:400 18px/1.4 'B Nazanin',serif}
html[lang=fa] .ribbon-stages{font:700 19px/1.4 'B Nazanin',serif}
html[lang=fa] .service-intro:has(.panel-symbol) .dialog-title{font-size:30px}
@media(max-width:600px){.studio-figure,.studio-brief{padding:15px;margin:15px 0}.figure-heading h3,.studio-brief h3{font-size:21px}.diagram-tabs{gap:6px}.diagram-tabs button{padding:7px;font-size:11px;gap:6px}.diagram-canvas{margin:12px 0}.diagram-detail{font-size:13px!important}.service-intro:has(.panel-symbol){grid-template-columns:52px minmax(0,1fr);gap:12px}.panel-symbol{width:52px;height:52px;border-radius:12px}.panel-symbol .service-symbol{width:34px;height:34px}.service-intro:has(.panel-symbol) .dialog-title{font-size:25px}.ribbon-stages{font-size:11px;gap:6px}.studio-figure:before{height:27px}html[lang=fa] .diagram-tabs button{font-size:18px}html[lang=fa] .figure-heading h3{font-size:26px}}
html[data-hidden=true] *,html[data-hidden=true] *:before,html[data-hidden=true] *:after{animation-play-state:paused!important}
html[data-quality=lite] .service-card{transform:none!important;backdrop-filter:none}
html[data-quality=lite] .scene-engraving{animation:none}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}::view-transition-group(*){animation:none!important}.hero-copy{clip-path:none!important;translate:none!important}.save-orbit rect{stroke-dasharray:100 0;opacity:.35}}
/* Coordinated entrances and individual icon narratives. */
html[data-motion=on] .hero-copy{animation:none}
html[data-motion=on] .hero .eyebrow{animation:hero-line .55s var(--studio-ease) both}
html[data-motion=on] .hero h1{animation:hero-arrival .7s var(--studio-ease) .08s backwards}
html[data-motion=on] .hero-body{animation:footer-settle .55s var(--studio-ease) .19s backwards}
html[data-motion=on] .hero-actions{animation:footer-settle .55s var(--studio-ease) .27s backwards}
@keyframes hero-line{from{opacity:.25;translate:0 5px}to{opacity:1;translate:0 0}}
.goal-branches{position:relative}
.goal-branches:before{content:'';position:absolute;top:25px;bottom:25px;inset-inline-start:26px;width:1px;background:linear-gradient(#80b8ff22,#80b8ff66,#80b8ff22);pointer-events:none}
.journey{position:relative;display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}
.journey-step{position:relative;isolation:isolate;min-height:82px}
.journey-step:before{content:'';position:absolute;inset:0;background:radial-gradient(ellipse at 20% 0,#3988ff30,transparent 75%);opacity:0;transition:opacity .3s;z-index:-1}
.journey-step:is(:hover,:focus-visible):before{opacity:1}
.journey-step strong{font-size:12px}
.journey-step>span:last-child{color:#91c5ff;font-size:16px}
.service-card[data-service=visibility]:is(:hover,:focus-visible) .icon-accent{transform-origin:13.5px 13.5px;animation:search-focus .7s var(--studio-ease)}
.service-card[data-service=leads]:is(:hover,:focus-visible) .icon-accent{transform-origin:25px 16px;animation:search-focus .7s var(--studio-ease)}
.service-card[data-service=software]:is(:hover,:focus-visible) .icon-accent{animation:symbol-rise .7s var(--studio-ease)}
.service-card[data-service=design]:is(:hover,:focus-visible) .icon-accent{animation:symbol-draw .8s var(--studio-ease);stroke-dasharray:30}
.service-card[data-service=strategy]:is(:hover,:focus-visible) .icon-accent{animation:symbol-draw .8s var(--studio-ease);stroke-dasharray:60}
@keyframes search-focus{from{opacity:.3;transform:scale(.6)}to{opacity:1;transform:scale(1)}}
html[lang=fa] .journey-step strong{font:700 19px/1.4 'B Nazanin',serif}
@media(max-width:600px){.journey-step{padding-inline:6px;min-height:80px}.journey-step strong{font-size:11px;line-height:1.45}.journey{gap:0}html[lang=fa] .journey-step strong{font-size:17px}}
@media(prefers-reduced-motion:reduce){html[data-motion=on] :is(.hero .eyebrow,.hero h1,.hero-body,.hero-actions){animation:none!important}}
/* Place the symbol and title explicitly; legacy intro rules used the opposite grid. */
.service-intro:has(.panel-symbol) .panel-symbol{grid-column:1;grid-row:1/3}
.service-intro:has(.panel-symbol) .dialog-eyebrow{grid-column:2;grid-row:1}
.service-intro:has(.panel-symbol) .dialog-title{grid-column:2;grid-row:2}
.service-card.is-recommended{border-color:#8dc5ff9c;box-shadow:inset 3px 0 #69afff,0 5px 14px #0004}
[dir=rtl] .service-card.is-recommended{box-shadow:inset -3px 0 #69afff,0 5px 14px #0004}
::view-transition{pointer-events:none}
.card-edge{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;overflow:visible}
.card-edge rect{width:calc(100% - 2px);height:calc(100% - 2px);fill:none;stroke:#b9dfff;stroke-width:1;stroke-dasharray:10 90;opacity:0}
.service-card:is(:hover,:focus-visible) .card-edge rect{animation:edge-trace 1s var(--studio-ease) 1}
@keyframes edge-trace{0%{stroke-dashoffset:20;opacity:0}20%,70%{opacity:.8}100%{stroke-dashoffset:-80;opacity:0}}
.event-token{animation:message-arrives .35s ease-out}
@keyframes message-arrives{from{opacity:0;translate:-12px 0}to{opacity:1;translate:0 0}}
.journey-step:after{content:'';position:absolute;bottom:2px;inset-inline-start:8px;width:5px;height:2px;border-radius:2px;background:#a8d7ff;opacity:0;box-shadow:0 0 5px #3988ff}
.journey-step:is(:hover,:focus-visible):after{animation:journey-signal 1.1s ease-out 1}
@keyframes journey-signal{0%{opacity:0;inset-inline-start:8px}25%{opacity:1}100%{opacity:0;inset-inline-start:calc(100% - 8px)}}
@media(prefers-reduced-motion:reduce){.card-edge rect,.event-token,.journey-step:after{animation:none!important}}
