/* Victory: small-screen layout and scroll choreography.
 * Keep desktop styles unchanged; motion never changes the mobile layout box. */
@media(max-width:1199px) {
  /* A stacked pricing intro cannot also be a fixed desktop sidebar. */
  #packages .elementor-element-27e976c {position:relative!important;inset:auto!important;width:100%!important;max-width:100%;height:auto!important;}
  #packages .elementor-sticky__spacer {display:none!important;}
  #packages .elementor-element-5e0c6f2 {min-width:0;max-width:100%;}
}
@media(max-width:1024px){
  html {overscroll-behavior-x:none;scroll-padding-top:16px;}
  body {overscroll-behavior-x:none;}
  /* Preserve entrance motion, but keep it contained and avoid 100px
     lateral offsets and oversized bounce transforms on narrow screens. */
  .elementor .animated:is(.opal-move-left,.opal-move-right,.opal-move-up,.bounceIn,.zoomIn) {
    animation-name:victory-mobile-enter!important;
    animation-duration:.50s!important;animation-timing-function:cubic-bezier(.2,.7,.3,1)!important;
    animation-delay:0ms!important;
  }
  @keyframes victory-mobile-enter {from{opacity:.35;transform:translate3d(0,12px,0)}to{opacity:1;transform:translate3d(0,0,0)}}
  :is(#about,#services,#solutions,#process,#expertise,#benefits,#packages,#faq,#insights) {isolation:isolate;max-width:100%;overflow:clip;}
  #expertise .elementor-element-1fd83ea {overflow:clip;}
  :is(#solutions,#process,#insights) .swiper {touch-action:pan-y pinch-zoom;overflow:hidden!important;}
  #benefits .swiper, #benefits .swiper-wrapper {touch-action:pan-y pinch-zoom!important;}
  #benefits .digitak-testimonial-images-side-wrapper {pointer-events:none;}
  :is(#process,#benefits) .elementor-swiper-button {touch-action:manipulation;z-index:4;}
  #expertise .team-item-title .item-title-inner {cursor:pointer;touch-action:manipulation;}
  #expertise .team-item-title .item-title-inner:focus-visible {outline:2px solid #bc9555;outline-offset:4px;}
  #expertise .victory-mobile-expertise-photo {display:none;}
}
/* The inline accordion is built from the same four images on desktop as
   the original slider; desktop keeps the original hover animation. */
.victory-mobile-expertise-photo {display:none;}
@media(max-width:767px){
  :root{--victory-gutter:clamp(14px,4.5vw,22px);}
  #home.victory-cinema {min-height:min(360px,100svh);height:100svh;}
  #home .victory-cinema-copy {bottom:max(78px,calc(env(safe-area-inset-bottom,0px) + 67px));}
  #home .victory-cinema-copy h1 {font-size:clamp(27px,8.2vw,44px)!important;}
  #home :is(.victory-cinema-scroll,.victory-cinema-toggle) {bottom:max(18px,env(safe-area-inset-bottom,0px));}
  /* RTL on content rather than on the third-party slider's coordinate system. */
  :is(#about,#services,#process,#packages,#faq,#insights) .elementor-heading-wrapper-inner {direction:rtl;text-align:right!important;}
  :is(#about,#services,#process,#packages,#faq,#insights) .elementor-heading-title {text-align:right!important;margin-inline:0!important;max-width:100%;overflow-wrap:break-word;}
  :is(#about,#services,#process,#packages,#faq,#insights) .elementor-sub-title {text-align:right!important;}
  :is(#about,#packages,#faq,#insights) .e-con-inner {--gap:clamp(14px,4vw,24px);gap:var(--gap);}
  /* Service cards retain their reversible scroll animation and natural height. */
  #service-details .service-information {direction:rtl;text-align:right;}
  #service-details .service-header {display:flex!important;flex-direction:column;align-items:flex-start!important;gap:8px!important;text-align:right;}
  #service-details .service-index-item {position:relative!important;inset:auto!important;margin:0!important;direction:ltr;}
  #service-details :is(.object-loop-title,.object-loop-title a,.object-loop-exerpt,.object-loop-exerpt p) {text-align:right!important;}
  #service-details .service-content {padding:0!important;min-width:0;}
  #service-details .service-include-features {direction:rtl;gap:9px!important;}
  #service-details .service-include-features .item-feature {display:flex;align-items:flex-start;gap:10px;padding:0!important;text-align:right!important;}
  #service-details .item-feature::before {position:static!important;transform:none!important;flex:0 0 14px;margin-top:.35em;}
  #service-details .service-image {align-self:stretch;}
  /* Put the process number, image, title and narrative in one card column. */
  #process .elementor-digitak-process-wrapper .number-index {margin:0 0 12px!important;text-align:right;direction:ltr;}
  #process .digitak-inner-process {min-width:0;}
  #process .digitak-top-process,#process .process-inner-content-wap {min-width:0;}
  #process .process-title,#process .digitak-top-process .content p{text-align:right!important;direction:rtl;}
  #process .digitak-process-image img {transform:none!important;}
  /* Pricing buttons and their selected content share a single flow. */
  #packages .elementor-element-27e976c,#packages .elementor-element-5e0c6f2 {align-items:stretch!important;}
  #packages .elementor-element-9061d97 {width:100%!important;text-align:right!important;}
  #packages .elementor-element-9061d97 p {text-align:right!important;}
  #packages .elementor-tabs-target-wrapper {display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px!important;direction:rtl;width:100%;}
  #packages .elementor-tabs-target-item {margin:0!important;min-width:0;width:100%;}
  #packages .tab-target-link {width:100%!important;display:flex!important;align-items:center;justify-content:center;font-size:14px!important;padding:10px 9px!important;}
  #packages .elementor-price-table {display:flex!important;flex-direction:column!important;width:100%;min-width:0;gap:0!important;}
  #packages .elementor-price-table-top {width:100%!important;flex:auto!important;min-width:0;}
  #packages .elementor-price-table-top .elementor-price-table-image {width:100%;height:auto!important;}
  #packages .elementor-price-table-top img {width:100%!important;height:auto!important;aspect-ratio:16/9;object-fit:cover;border-radius:12px;}
  #packages .elementor-price-table-deco {width:100%!important;min-width:0;padding:clamp(16px,5vw,24px)!important;box-sizing:border-box;direction:rtl;text-align:right;}
  #packages .elementor-price-table__feature-inner {direction:rtl!important;justify-content:flex-start!important;align-items:flex-start!important;gap:9px!important;text-align:right;}
  #packages .elementor-price-table__feature-inner span {text-align:right!important;flex:1;min-width:0;}
  #packages .elementor-price-table__feature-inner i {flex:0 0 18px;line-height:1.65;}
  #packages .elementor-price-table__button {width:100%;}
  #faq .e-n-accordion-item-title {display:flex!important;direction:rtl;align-items:center!important;justify-content:space-between;gap:12px!important;text-align:right;}
  #faq .e-n-accordion-item-title-text {flex:1;min-width:0;}
  #faq .e-n-accordion-item-title-icon {flex:0 0 26px;display:grid!important;place-items:center;}
  #faq .e-n-accordion-item-title-icon > span {line-height:1!important;}
  #faq .e-n-accordion-item p {direction:rtl;text-align:right;}
  /* Footer content and carousel controls keep their own readable area. */
  #colophon .victory-footer-content {overflow:clip;}
}
@media(max-width:1024px) and (prefers-reduced-motion:reduce) {
  .elementor .animated {animation-duration:.01ms!important;}
  #expertise .victory-mobile-expertise-photo {transition:none!important;}
}
/* The theme moved carousel controls to negative offsets on phones.
   Reserve actual space below the cards, not an off-screen hit target. */
@media(max-width:1024px){
  #process .elementor-digitak-process-wrapper,
  #benefits .elementor-testimonial-item-wrapper {position:relative!important;padding-bottom:64px!important;overflow:hidden!important;}
  :is(#process,#benefits) .elementor-swiper-button {position:absolute!important;top:auto!important;bottom:0!important;left:auto!important;right:0!important;transform:none!important;width:48px!important;height:48px!important;}
  :is(#process,#benefits) .elementor-swiper-button-prev {right:58px!important;}
  :is(#process,#benefits) .elementor-swiper-button-next {right:0!important;}
}
@media(max-width:767px){
  #about {--margin-bottom:16px!important;margin-bottom:16px!important;}
  .elementor-element-617dd35 {--margin-bottom:30px!important;margin-bottom:30px!important;}
  #process .digitak-inner-process {display:flex!important;flex-direction:column!important;gap:16px!important;padding:15px!important;}
  #process .digitak-process-image {display:block!important;width:100%!important;height:auto!important;aspect-ratio:16/10;max-height:240px;opacity:1!important;visibility:visible!important;margin:0!important;position:relative!important;}
  #process .digitak-process-image img {display:block!important;position:static!important;width:100%!important;height:100%!important;object-fit:cover!important;opacity:1!important;visibility:visible!important;}
  #process .process-content-wap {width:100%!important;min-width:0;flex:none!important;}
  #process .process-title {margin:5px 0 12px!important;}
  #process .digitak-top-process .content {margin:0!important;}
  #benefits .digitak-elementor-testimonial-box {--images-side-width:148px!important;--images-side-height:148px!important;align-items:center;}
  #benefits .digitak-testimonial-images-side-wrapper {width:148px!important;height:148px!important;overflow:hidden!important;margin-inline:auto;}
  #benefits .digitak-testimonial-image img,#benefits .elementor-testimonial-image img {width:148px!important;height:148px!important;object-fit:contain!important;}
  #benefits .testimonial-content-text .icon {margin:12px 0 12px!important;}
  #benefits .testimonial-content-text .content {display:block!important;overflow:visible!important;-webkit-line-clamp:unset!important;font-size:clamp(19px,5.8vw,25px)!important;line-height:1.75!important;margin:0 0 18px!important;}
  #benefits .testimonial-caption {margin-bottom:6px;}
  #packages .elementor-price-table-top .elementor-price-table-image {display:block!important;}
  #packages .elementor-price-table-top {padding:10px 10px 0!important;}
  #packages .elementor-price-table__button {display:flex!important;align-items:center;justify-content:center;text-align:center!important;}
}
/* Laptops without a wide gutter retain the original left/right direction,
   with travel limited to the available space instead of a fixed 100px. */
@media(min-width:1025px) and (max-width:1439px){
  .elementor .animated.opal-move-left {animation-name:victory-compact-left!important;animation-duration:.55s!important;}
  .elementor .animated.opal-move-right {animation-name:victory-compact-right!important;animation-duration:.55s!important;}
  @keyframes victory-compact-left {from{opacity:.35;transform:translateX(10px)}to{opacity:1;transform:translateX(0)}}
  @keyframes victory-compact-right {from{opacity:.35;transform:translateX(-10px)}to{opacity:1;transform:translateX(0)}}
}
@media(min-width:1025px) and (max-width:1439px) and (prefers-reduced-motion:reduce){
  .elementor .animated {animation-duration:.01ms!important;}
}

/* V12: the about / expertise layouts adapt independently of the theme's
   tablet / desktop settings, including phones requesting a wide viewport. */
@media(max-width:1199px), (hover:none) and (pointer:coarse) and (max-width:1439px) {
  #about,#expertise,.elementor-element-617dd35 {max-width:100%;min-width:0;isolation:isolate;}
  #about > .e-con-inner {display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:clamp(12px,2vw,24px)!important;}
  #about .elementor-element-a74e3be {width:100%!important;max-width:100%;}
  #about .elementor-heading-wrapper-inner {direction:rtl;text-align:right!important;}
  #about .elementor-heading-title,#about .elementor-sub-title {text-align:right!important;margin-inline:0!important;width:100%;overflow-wrap:break-word;}
  #about .elementor-element-be3151f {width:100%!important;max-width:100%;flex-wrap:nowrap!important;padding:12px 0!important;border-top:1px solid #e5e5e5;min-height:0;}
  #about .elementor-element-81871fc {border:0!important;padding:0!important;margin:0!important;}
  #about .elementor-element-5dede4d {border:0!important;padding:0!important;margin:0!important;}
  #about {--margin-bottom:12px!important;margin-bottom:12px!important;}
  .elementor-element-617dd35 {--margin-bottom:30px!important;margin-bottom:30px!important;}
  #about .elementor-element-be3151f {display:flex!important;flex-direction:row!important;direction:rtl;align-items:center!important;justify-content:flex-start!important;gap:16px!important;}
  #about .elementor-element-81871fc {flex:0 0 auto!important;width:auto!important;max-width:32%;}
  #about .elementor-counter-number-wrapper {font-size:clamp(48px,13vw,74px)!important;}
  #about .elementor-element-5dede4d {flex:1 1 0!important;min-width:0;width:auto!important;}
  #about .elementor-icon-box-content,#about .elementor-icon-box-content :is(h3,p) {text-align:right!important;margin-block:0;line-height:1.65!important;}
  /* Group each icon, value and caption in one row. */
  .elementor-element-617dd35 .elementor-element-aac4e2d {grid-template-columns:1fr!important;gap:0!important;width:100%;}
  .elementor-element-617dd35 .elementor-element-aac4e2d > .e-con {
    display:grid!important;grid-template-columns:48px minmax(0,1fr);grid-template-areas:"icon metric" "line line";direction:rtl;
    align-items:center!important;column-gap:14px!important;row-gap:0!important;padding:12px 0!important;min-height:0!important;
  }
  .elementor-element-617dd35 .elementor-element-aac4e2d > .e-con .elementor-widget-icon {grid-area:icon;width:auto!important;align-self:center;margin:0!important;order:0!important;}
  .elementor-element-617dd35 .elementor-icon-wrapper {display:flex;align-items:center;justify-content:center;text-align:center;}
  .elementor-element-617dd35 .elementor-icon {display:grid;place-items:center;font-size:30px!important;line-height:1!important;}
  .elementor-element-617dd35 .elementor-widget-counter {grid-area:metric;width:100%!important;order:0!important;}
  .elementor-element-617dd35 .elementor-counter {display:flex!important;flex-direction:row!important;direction:rtl;justify-content:flex-start!important;align-items:center!important;gap:12px!important;}
  .elementor-element-617dd35 .elementor-counter-number-wrapper {font-size:clamp(32px,9vw,49px)!important;direction:ltr;flex:none;order:0!important;}
  .elementor-element-617dd35 .elementor-counter-title {text-align:right!important;flex:1 1 0!important;min-width:0;order:1!important;font-size:15px!important;}
  .elementor-element-617dd35 .elementor-widget-divider {grid-area:line;width:100%!important;margin:0!important;order:0!important;}
  .elementor-element-617dd35 .elementor-divider {padding-block:10px 0!important;}
  /* Compact the same two-heading composition into a readable RTL title. */
  #expertise .elementor-element-1fd83ea {gap:4px!important;}
  #expertise :is(.elementor-element-705531f,.elementor-element-d318c10) .elementor-heading-title {font-size:clamp(36px,10vw,52px)!important;text-align:right!important;line-height:1.3!important;}
  #expertise .elementor-element-d133dad {width:100%!important;text-align:right!important;}
  #expertise .elementor-element-d133dad p {text-align:right!important;line-height:1.8!important;}
  #expertise .elementor-element-f94355c {align-self:flex-end;}
  #expertise .digitak-team-side-titles {width:100%!important;max-width:100%;margin:0!important;padding:0!important;}
  #expertise .digitak-team-list-titles {list-style:none;padding:0!important;margin:0!important;width:100%;}
  #expertise .team-item-title {width:100%!important;padding:0!important;margin:0!important;min-width:0;border-top:1px solid #dedede;}
  #expertise .team-item-title .item-title-inner {display:grid;grid-template-columns:minmax(0,1fr) 28px;grid-template-areas:"job arrow" "name arrow";align-items:center;direction:rtl;padding:17px 3px;gap:3px 10px;}
  #expertise .team-job {grid-area:job;color:#666!important;text-align:right!important;font-size:14px!important;}
  #expertise .team-name {grid-area:name;color:#343434!important;text-align:right!important;font-size:clamp(21px,6.3vw,28px)!important;}
  #expertise .team-item-title .item-title-inner::after {content:"";grid-area:arrow;width:21px;height:21px;background:#a87c40;mask:url('/brand/icons/plus.svg') center/contain no-repeat;transition:transform .25s ease;}
  #expertise .team-item-title.show .item-title-inner::after {transform:rotate(45deg);}
  #expertise .team-item-title.show .team-name {color:#171717!important;}
  #expertise .digitak-team-side-titles[data-mobile-accordion] ~ .digitak-team-side-images {display:none!important;}
  #expertise .victory-mobile-expertise-photo {display:grid;grid-template-rows:0fr;opacity:0;transition:grid-template-rows .42s cubic-bezier(.2,.7,.3,1),opacity .35s ease;}
  #expertise .team-item-title.show .victory-mobile-expertise-photo {grid-template-rows:1fr;opacity:1;}
  #expertise .victory-mobile-expertise-photo > div {min-height:0;overflow:hidden;}
  #expertise .victory-mobile-expertise-photo img {width:100%;display:block;aspect-ratio:4/3;height:auto;object-fit:cover;border-radius:16px;margin:0 0 15px;}
  #expertise .elementor-element-227e2ff,#expertise .elementor-element-492caf8 {opacity:.13;}

  /* Clear the theme's opposing title alignments and place the two animated
     title words together, followed by the copy and action. */
  #expertise > .e-con-inner {align-items:stretch!important;gap:0!important;min-width:0;}
  #expertise .elementor-element-1fd83ea {display:flex!important;flex-direction:row!important;flex-wrap:wrap!important;direction:rtl;align-items:baseline!important;justify-content:flex-start!important;column-gap:10px!important;row-gap:14px!important;margin:0 0 26px!important;width:100%;max-width:100%;}
  #expertise :is(.elementor-element-705531f,.elementor-element-d318c10) {flex:0 0 auto!important;width:auto!important;max-width:100%;margin:0!important;}
  #expertise :is(.elementor-element-705531f,.elementor-element-d318c10) .elementor-heading-title {font-size:clamp(30px,6.2vw,62px)!important;line-height:1.35!important;margin:0!important;text-align:right!important;}
  #expertise .elementor-element-d133dad {direction:rtl;flex:0 0 100%!important;width:100%!important;max-width:100%;margin:0!important;font-size:clamp(15px,1.8vw,19px)!important;line-height:1.85!important;}
  #expertise .elementor-element-f94355c {flex:0 0 100%!important;width:100%!important;text-align:right!important;align-self:flex-start!important;margin:0!important;}
  #expertise .elementor-element-f94355c a {display:inline-flex!important;align-items:center;justify-content:center;min-height:44px;}
  #expertise .elementor-element-24f9060,#expertise .elementor-element-24f9060 > .elementor-widget-container {display:block!important;width:100%!important;max-width:100%;min-width:0;}
  #expertise .digitak-team-side-titles {float:none!important;position:relative!important;}
  #expertise .team-item-title {display:block!important;}
  #expertise .team-item-title .item-title-inner {width:100%;min-height:70px;grid-template-rows:auto auto;row-gap:3px!important;}
  #expertise .team-item-title :is(.team-job,.team-name) {margin:0!important;padding:0!important;}
  #expertise .team-job {line-height:1.5!important;}
  #expertise .victory-mobile-expertise-photo img {max-width:100%;object-position:center;max-height:360px;}
  #expertise .victory-note {width:100%;text-align:center;margin:12px 0 0!important;}
  #expertise {--margin-bottom:48px!important;margin-bottom:48px!important;overflow:clip;}
}
@media(min-width:768px) and (max-width:1199px), (min-width:768px) and (hover:none) and (pointer:coarse) and (max-width:1439px) {
  /* All three supplemental metrics stay in one balanced row on wider phones
     and tablets. The icon, value and caption share an aligned compact card. */
  .elementor-element-617dd35 .elementor-element-aac4e2d {grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:clamp(10px,2vw,24px)!important;direction:rtl;}
  .elementor-element-617dd35 .elementor-element-aac4e2d > .e-con {grid-template-columns:1fr;grid-template-areas:"icon" "metric" "line";align-content:start;justify-items:center;text-align:center;padding:18px 8px!important;gap:10px!important;background:#fafafa;border:1px solid #e9e9e9;border-radius:14px;}
  .elementor-element-617dd35 .elementor-counter {flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:7px!important;}
  .elementor-element-617dd35 .elementor-counter-number-wrapper {font-size:clamp(38px,4.2vw,54px)!important;}
  .elementor-element-617dd35 .elementor-counter-title {flex:none!important;text-align:center!important;line-height:1.6!important;min-height:2.8em;font-size:clamp(14px,1.6vw,17px)!important;}
  .elementor-element-617dd35 .elementor-widget-divider {align-self:end;}
  .elementor-element-617dd35 .elementor-divider {padding:0!important;}
  #about .elementor-counter-number-wrapper {font-size:clamp(48px,7vw,72px)!important;}
  #about .elementor-icon-box-content h3 {font-size:clamp(20px,2.8vw,27px)!important;}
  #expertise .team-item-title .item-title-inner {padding:15px 8px!important;}
  #expertise .team-name {font-size:clamp(25px,3.2vw,36px)!important;line-height:1.45!important;}
  #expertise .victory-mobile-expertise-photo img {aspect-ratio:16/8;max-height:360px;object-fit:cover;}
}
@media(prefers-reduced-motion:reduce){
  #expertise .victory-mobile-expertise-photo {transition:none!important;}
}
